4.26.0 • Published 9 months ago

@manychat/icons v4.26.0

Weekly downloads
122
License
ISC
Repository
github
Last release
9 months ago

ManyChat Icons Pack Generator Build Status

Generator import icons as SVG files from a corresponding Figma screen with ManyChat Icons and converts them as ready to use React components.

Generated icons pack is hosted on NPM: https://www.npmjs.com/package/@manychat/icons

Quick Start

Detailed instructions are available in Contribution Guide and Usage Guide

Publishing

  1. Install a Figma plugin for publishing a new version: https://www.figma.com/c/plugin/739395588962138807/figma-icon-automation
  2. Open ManyChat Icons Figma screen: https://www.figma.com/file/S7TzzdQzTkNTBejt43w2wHwN/MC-Icons
  3. Run installed plugin
  4. Navigate to the Settings tab:
    • Put https://github.com/manychat/icons into GitHub Repository URL field
    • Value of a Github Token for a corresponding field can be found in Contribution Guide
  5. Navigate to the Publish tab:
    • Copy value of current version into The new version field and increment last number of it by one
    • Write what was changed in a new version to What has been changed field
    • Press push to Github button
  6. Navigate to https://github.com/manychat/icons/pulls:
    • Open pull request with a new version
    • Press Merge button if you have sufficient permissions to do it or ask someone from @frontend-community in Slack to do it instead

Usage in the app

You can install a specific version of an icons pack by running env version=x.x.x npm run icons:install where x.x.x is the value of a target version. This command will install the corresponding package version, update package.json and package-lock.json and will create Git commit for these changes.

Icon components can be used as:

import { Icon, palettes } from '@manychat/manyui'

const Star = () => <Icon.Star color={palettes.semantic.accent} size={32} />

Visual testing

The latest published version can be viewed in https://design.manychat.com/components/icon

The current icon set can be exported from Figma and previewed locally:

  1. Clone this repository and navigate to the cloned directory
  2. Run npm ci to install dependencies
  3. Get Figma API Token: https://www.figma.com/developers/api#access-tokens
  4. Run env FIGMA_TOKEN=your_generated_figma_token npm run export:preview
  5. Navigate to http://localhost:10001

To preview icons locally in the app:

  1. Clone this repository and navigate to the cloned directory
  2. Run npm ci to install dependencies
  3. Get Figma API Token: https://www.figma.com/developers/api#access-tokens
  4. Run env FIGMA_TOKEN=your_generated_figma_token npm run export:pack
  5. Link current directory to global npm scope by running npm link
  6. Navigate to an app directory and link global scoped icons directory to an app directory: npm unlink --save @manychat/icons && npm link @manychat/icons
  7. Build an app and navigate to http://localhost:8080
4.26.0

9 months ago

4.25.4

10 months ago

4.25.2

10 months ago

4.25.3

10 months ago

4.25.0

12 months ago

4.24.0

12 months ago

4.25.1

12 months ago

4.23.0

1 year ago

4.23.1

1 year ago

4.22.0

1 year ago

4.21.0

1 year ago

4.20.0

1 year ago

4.19.0

1 year ago

4.18.0

1 year ago

4.17.1

1 year ago

4.17.0

1 year ago

4.16.1

1 year ago

4.9.0

2 years ago

4.4.1

2 years ago

4.4.0

2 years ago

4.10.0

2 years ago

4.8.0

2 years ago

4.7.0

2 years ago

4.13.0

2 years ago

4.6.0

2 years ago

4.12.0

2 years ago

4.5.0

2 years ago

4.11.0

2 years ago

4.3.2

2 years ago

4.3.1

2 years ago

4.3.0

2 years ago

4.2.2

2 years ago

4.2.1

2 years ago

4.2.0

2 years ago

4.1.0

2 years ago

4.0.0

2 years ago

3.0.3

3 years ago

3.1.0

2 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

1.49.0

3 years ago

1.50.0

3 years ago

1.48.3

3 years ago

1.47.3

3 years ago

1.47.2

3 years ago

1.46.0

3 years ago

1.44.2

3 years ago

1.47.1

3 years ago

1.47.0

3 years ago

1.45.2

3 years ago

1.44.1

3 years ago

1.43.1

3 years ago

1.43.0

3 years ago

1.43.2

3 years ago

1.42.0

4 years ago

1.41.1

4 years ago

1.40.2

4 years ago

1.41.0

4 years ago

1.40.1

4 years ago

1.39.1

4 years ago

1.39.0

4 years ago

1.38.1

4 years ago

1.37.1

4 years ago

1.35.4

4 years ago

1.36.4

4 years ago

1.36.3

4 years ago

1.35.3

4 years ago

1.35.2

4 years ago

1.34.2

4 years ago

1.33.1

4 years ago

1.33.0

4 years ago

1.32.0

4 years ago

1.31.5

4 years ago

1.31.2

4 years ago

1.31.1

4 years ago

1.31.0

5 years ago

1.30.0

5 years ago

1.29.0

5 years ago

1.28.1

5 years ago

1.28.0

5 years ago

1.27.0

5 years ago

1.26.0

5 years ago

1.25.1

5 years ago

1.25.0

5 years ago

1.24.0

5 years ago

1.23.0

5 years ago

1.21.0

5 years ago

1.22.1

5 years ago

1.20.0

5 years ago

1.19.0

5 years ago

1.18.0

5 years ago

1.17.0

5 years ago

1.16.1

5 years ago

1.15.4

5 years ago

1.15.3

5 years ago

1.16.0

5 years ago

1.15.2

5 years ago

1.15.1

5 years ago

1.15.0

5 years ago

1.14.0

5 years ago

1.13.0

5 years ago

1.12.0

5 years ago

1.11.0

5 years ago

1.10.0

5 years ago

1.9.0

5 years ago

1.8.0

5 years ago

1.7.4

5 years ago

1.6.4

5 years ago

1.5.4

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago