1.2.3 • Published 2 months ago

@ecoportal/icons v1.2.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

@ecoportal/icons

NPM Package for ecoPortal React Icons in the design system. package.

Development

Adding/removing icons

The icon set is controlled by the src/icons directory. Any icons in there will be built via yarn icons. To add or remove icons just add or remove the .svg file.

Building

Clone the repository and add icons to src/icons

  1. Run yarn icons to build the icons into a src/index.ts file.
  2. Run yarn build to bundle the icons for publishing.
  3. Run yarn publish to publish the new icons to NPM.

Icon Guidelines

All icons in the src/icons directory should be in a top level Category folder e.g. Buildings/building-single.svg. The icons are served via an svg file. If an svg is made of all single color paths then they should not have a fill set to allow easy styling wherever imported.

Linking without publishing

If you wish to add icons to the package and test them somewhere else without publishing in this repo run npm link to create a global link on your machine. Then, navigate to the other project consuming @ecoportal/icons and run npm link @ecoportal/icons in that project. This will create a symlink between the local build of this package and what is consumed in the other project. Once happy publish.

1.2.3

2 months ago

1.2.2

2 months ago

1.2.1

5 months ago

1.2.0

5 months ago

1.1.1

7 months ago

1.1.0

7 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.1.6

6 months ago

1.0.7

9 months ago

1.1.4

6 months ago

1.1.3

7 months ago

1.1.2

7 months ago

1.0.10

8 months ago

1.0.6

11 months ago

1.0.5

12 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

1.0.0

1 year ago