q# Shared Components Library
- 🌋👀 Documentation
- 🌋🤷 Need Help?
- 🌋🙏 Express Gratitude
yarn add @calderajs/forms
These are thing wrappers around Gutenberg components.
import {
RemotePost,
TextAreaField,
ToggleField,
RadioField,
FieldWrapper,
FieldSet,
SelectField,
InputField,
RichText,
MagicRichText
} from '@calderajs/components';
This package also exports fixtures for testing columns and fields.
import {factory} from "@calderajs/components";
const {
checkboxFieldset,
selectField,
checkboxField,
numberField,
textField,
emailField,
radioField,
toggleField,
textAreaField,
autoCompleteField
} = factory;
import {factory} from "@calderajs/components";
const {
formRowOne,
formRowTwo,
formRows,
notFormRow,
notFormRows
} = factory;
-
Run Unit Tests - Jest.
yarn tests
-
Run Storybooks
yarn storybook
-
Run tests once for CI
yarn test:ci
- Lint code
yarn lint
- Build Package
yarn package
- The output is stored in the
dist
folder.
White Space!