New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@calderajs/components

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@calderajs/components

q# Shared Components Library

latest
npmnpm
Version
0.9.14-alpha.0
Version published
Maintainers
1
Created
Source

q# Shared Components Library

  • 🌋👀 Documentation
  • 🌋🤷 Need Help?
  • 🌋🙏 Express Gratitude

Install

yarn add @calderajs/forms

Fields

These are thing wrappers around Gutenberg components.

Import With webpack

import {
	RemotePost,
	TextAreaField,
	ToggleField,
	RadioField,
	FieldWrapper,
	FieldSet,
	SelectField,
	InputField,
	RichText,
	MagicRichText
} from '@calderajs/components';

Grid Components

🌋👀Documentation

Factories

🌋👀 Documentation

Test Fixtures

This package also exports fixtures for testing columns and fields.

Field Fixtures
import {factory} from "@calderajs/components";
const {
	checkboxFieldset,
	selectField,
	checkboxField,
	numberField,
	textField,
	emailField,
	radioField,
	toggleField,
    textAreaField,
    autoCompleteField
} = factory;

Rows and Columns

import {factory} from "@calderajs/components";
const {
	formRowOne,
    	formRowTwo,
    	formRows,
    	notFormRow,
    	notFormRows
} = factory;

Testing

  • Run Unit Tests - Jest.

    • yarn tests
  • Run Storybooks

    • yarn storybook
  • Run tests once for CI

    • yarn test:ci

Other Commands

  • Lint code
    • yarn lint
  • Build Package
    • yarn package
    • The output is stored in the dist folder.

White Space!

FAQs

Package last updated on 06 Aug 2019

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