3.1.5 • Published 2 years ago

@brevio/icons v3.1.5

Weekly downloads
61
License
MIT
Repository
-
Last release
2 years ago

Brevio icons

This is the @brevio/icons library v3, consisting of the iconography elements used in our frontend components/design.

Usage

Installation

npm install @brevio/icons

Simple example

import { Icons } from "@brevio/icons";

<Icons.Hamburger size="xl" active inverted ref={myRefHook} />;

Concurrent usage with v2

Until the redesign is fully implemented, we will be using both v2 and v3 versions of the @brevio/icons package concurrently. This is achieved using npm package aliasing, for example in package.js:

"dependencies": {
  "@brevio/icons": "^2.0.0",
  "@brevio/icons-v3": "npm:@brevio/icons@^3.0.0"
}

and then

import { Icons } from "@brevio/icons";
import { Icons as IconsV3 } from "@brevio/icons-v3";

Automatic generation

Currently, due to the large amount of icons, src/icons/components is generated using the SVGR tool that turns the raw svg files in svg/icons into React components, using the template svgr/template.js.

All the SVGR processing is configured in package.js, field svgr.

This process can be run with npm run build:icons.

Publishing new version

  • Change version number in package.json
  • Run npm i to update package-lock.json
  • npm run build to build
  • git commit -am "<commit message>"
  • git tag -a v3.<minor>.<patch> -m "<release message>"
  • git push --tags origin
  • npm publish --access public
3.1.5

2 years ago

2.2.1

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.5

2 years ago

2.2.4

2 years ago

2.2.7

2 years ago

2.2.6

2 years ago

2.3.0

2 years ago

2.1.1

2 years ago

3.1.3

2 years ago

3.1.4

2 years ago

2.2.9

2 years ago

2.2.8

2 years ago

3.1.2

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

2.0.9

2 years ago

2.1.0

2 years ago

2.0.8

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.0-beta

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.3-5

3 years ago

1.1.3-4

3 years ago

1.1.3-3

3 years ago

1.1.3-2

3 years ago

1.1.3-1

3 years ago

1.1.3-0

3 years ago

1.1.2

3 years ago

1.2.0

4 years ago

1.1.2-next.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.5.1-next.7

4 years ago

0.5.1-next.6

4 years ago

0.5.1-next.5

4 years ago

0.5.1-next.4

4 years ago

0.5.1-next.3

4 years ago

0.5.1-next.1

4 years ago

0.5.1-next.2

4 years ago

0.5.1-next.0

4 years ago

0.5.0

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.11

4 years ago

0.3.10

4 years ago

0.3.9

4 years ago

0.3.8

4 years ago

0.3.7

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.0

4 years ago

0.3.1

4 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago