Socket
Book a DemoInstallSign in
Socket

@gravityforms/storybooks

Package Overview
Dependencies
Maintainers
9
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@gravityforms/storybooks

UI components storybooks for Gravity Forms development. Both React and vanilla js flavors.

unpublished
latest
Source
npmnpm
Version
3.0.1
Version published
Maintainers
9
Created
Source

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/

Keywords

gravityforms

FAQs

Package last updated on 21 Apr 2023

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