Package Exports
- @gravityforms/components
- @gravityforms/components/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gravityforms/components) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Gravity Forms Components
The Gravity Forms component library, for both vanilla js and React components. Includes Storybooks for each type.
Installation
Install the module
npm install @gravityforms/componentsNote: This package requires node 14.15.0 or later, and npm 6.14.8 or later.
Overview
This component library houses the JavaScript for both our plain js 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.
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, then in another terminal run npm run storybook:react. This will launch your browser with both storybooks composed together.
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.