Détail du package

@gechiui/icons

GeChiUI524GPL-2.0-or-later6.3.0

GeChiUI Icons package, based on dashicon.

gechiui, gutenberg, icons, dashicon

readme

Icons

GeChiUI Icons Library.

Installation

Install the module:

npm install @gechiui/icons --save

This package assumes that your code will run in an ES2015+ environment. If you're using an environment that has limited or no support for such language features and APIs, you should include the polyfill shipped in @gechiui/babel-preset-default in your code.

Usage

import { Icon, check } from '@gechiui/icons';

<Icon icon={ check } />;

Props

Name Type Default Description
size integer 24 Size of icon in pixels.

Contributing to this package

This is an individual package that's part of the Gutenberg project. The project is organized as a monorepo. It's made up of multiple self-contained software packages, each with a specific purpose. The packages in this monorepo are published to npm and used by GeChiUI as well as other software projects.

To find out more about contributing to this package or Gutenberg as a whole, please read the project's main contributor guide.



Code is Poetry.

changelog

Unreleased

6.3.0 (2022-02-10)

New Features

  • Added new block icon: tip (#38424).
  • Added new query title, post terms icons, updated pagination, pagination next/prev, and pagination numbers icons: tip (#38521).

6.2.0 (2022-01-27)

6.1.0 (2021-11-07)

New Features

  • Added new block icons: commentAuthorAvatar, commentAuthorName, commentContent and commentReplyLink (#36171).

6.0.0 (2021-10-12)

Breaking Change

  • Removed the minus icon, which was only used once in the block editor, in favor of the new reset icon which offers a more refined vector.

5.0.0 (2021-07-29)

Breaking Change

  • Upgraded React components to work with v17.0 (#29118). There are no new features in React v17.0 as explained in the blog post.

4.1.0 (2021-07-21)

4.0.0 (2021-05-20)

Breaking Changes

  • Removed icons: camera, chartLine, closeCircleFilled, controlsRepeat, expand, as they all have better existing alternatives, and were unused by the block editor. Instead of camera, use capturePhoto. Instead of chartLine, use chartBar or trendingUp or trendingDown, instead of closeCircleFilled, use close, instead of controlsRepeat which was used for Reusable Blocks, consider reusableBlock, and instead of expand, use fullscreen.

3.0.0 (2021-05-14)

Breaking Changes

2.10.0 (2021-03-17)

2.0.0 (2020-05-14)

Breaking change

  • star icon removed as it is duplicative of star-filled. (#21825)

New Feature

  • Include TypeScript type declarations (#21781)

1.3.1 (2020-04-15)

Bug Fix

  • Hide TypeScript type declarations (#21613) after they were found to conflict with DefinitelyTyped provided declarations.

1.3.0 (2020-04-15)

  • Include TypeScript type declarations (#21487)

1.0.0 (2020-02-04)

Initial release.