arena-components

A React component library for financial services.

Usage no npm install needed!

<script type="module">
  import arenaComponents from 'https://cdn.skypack.dev/arena-components';
</script>

README

arena-components

BREAKING CHANGES

1.0.2
  • [lib/components/Icon] Valid icon type is now required (no null or false)
1.0.0
  • [lib] All mixins and utils are now object keys (import {mixins, utils} from 'arena-components')
  • [lib/components/Field] props.type is now required
  • [lib/components/Field] props.validationMessage now has a UI element
  • [lib/components/Flex] No more props.horizontalSpacing or props.verticalSpacing
  • [lib/components/Icon] Valid icon type is now required (no null or false)
  • [lib/components/Submit] Button in this component now has preventDefault as true by default
  • [lib/components/Tabs] No more props.className
bugs
  • [lib/components/Field/Select] *** creatable not working with styled-components

SETUP

npm i arena-components

Recommended

npm i sanitize.css
// where the root container is passed to ReactDOM.render()
import 'sanitize.css/sanitize.css'

TESTS

Run all tests:

npm test

Watch files for changes and re-run tests related to changed files:

npm run test:watch