Socket
Book a DemoInstallSign in
Socket

storybook-icon-gallery

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storybook-icon-gallery

An icon gallery for Storybook docs that support multiple icon variants.

1.2.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

build Netlify Status

An icon gallery for Storybook docs that support multiple icon variants.

Icon Gallery

Installation

Install the NPM package:

npm i -D storybook-icon-gallery

Then import the icon gallery components:

import { IconGallery } from "storybook-icon-gallery";

And configure your icons:

<IconGallery>
    <IconGallery.Variants name="add">
        <IconGallery.Variant size={24}>
            <AddIcon24 />
        </IconGallery.Variant>
    </IconGallery.Variants>
</IconGallery>

Full usage documentation available at: https://storybook-icon-gallery.netlify.com/

Maintainers

The following documentation is only for the maintainers of this repository.

Installation

Clone the repository:

git clone https://github.com/gsoft-inc/storybook-icon-gallery.git

Then, install the dependencies for all the packages with Yarn (or NPM):

yarn install

Development process

Once the project is installed you can start developping with Storybook by executing the following script:

yarn start-sb

If you want to start Storybook in --docs mode, use the following script:

yarn start-docs

At some point you might need to build a version of Storybook for production:

yarn build:sb
yarn serve-sb

yarn build:docs
yarn serve-docs

Or test the actual icon gallery component for production:

yarn build:pkg

If something is messed up and you need a clean project, use the reset script:

yarn reset

Release

Process

To ensure that the consumers understand the impact of updating this package, every release should follow semantic versioning.

Do the actual release

Before you release, make sure you have write access to the NPM package and that you are logged in to NPM.

To release, open a terminal at the root of the project and execute the following commands:

yarn release

The release flow will automatically create a new Github release for the current release.

Make sure to document all the changes contained in the current release and dont forget to publish the release.

If you updated the documentation, make sure it's deployed.

To do so:

  • Go to Netlify web app
  • Select the latest build on master
  • Click on "Publish deploy"

License

Copyright © 2019, GSoft inc. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/gsoft-inc/gsoft-license/blob/master/LICENSE.

Keywords

storybook

FAQs

Package last updated on 01 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.