3.0.1 • Published 1 year ago

@gravityforms/storybooks v3.0.1

Weekly downloads
-
License
GPL-2.0-or-later
Repository
github
Last release
1 year ago

Gravity Forms Storybooks

The Gravity Forms storybook system, for both vanilla js and React components. Includes Storybooks for each type.

Installation

Install the module

npm install @gravityforms/storybooks

Note: This package requires node 16.13.0 or later, and npm 8.1.0 or later.

Overview

This storybook system is where we build both our plain JavaScript and React based components used in the Gravity Forms UI. It uses two Storybooks, one for the HTML components, and one for the React ones.

Hosting for these storybooks is coming soon. For now this is internal to our team.

It generates the published library @gravityforms/components.

Working on Storybooks (Only Gravity Forms Devs)

If you would like to dev on the Storybooks locally, you must npm install in this dir, then run npm run storybook:html in one terminal, or run npm run storybook:react. This will launch your browser with either storybook ready to develop on.

Once you complete any component work and want to use it in our main javascript bundles from the @gravityforms/components package, you must run npm run export:components in this or the root directory of the project first. Note that export task is run on both dist and release tasks as well in the gulp tasks package, and those files are ignored.

If you encounter issues with storybook and you get the error cannot GET in your browser, try running the script one time with --no-manager-cache flag.

Documentation

The documentation for this package is available at http://docs.js.gravity.com/

3.0.1

1 year ago

2.1.1

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago