Releases: silinternational/ui-components
Releases · silinternational/ui-components
Drawer improvements and bugfixes
Added
- capitalize to global.scss
- $$class.props and isFullHeightMenu property to Drawer
- button to menu array in Drawer
Changed
- update README index
Fixed
- typo in global.scss
- bug in Drawer by defaulting to modal
Revert sass version in package-lock
Fixed
- package-lock.json still had [email protected]. Excessive warnings from sass.
more Badge and StaticChip props
Added
- borderRadius, padding and bordered props to Badge
- bgColor to StaticChip
Changed
- README - updated component index
Add noPadding to Card
Added
- noPadding to card
Changed
- README - updated component index
Make Card clickable
Changed
- README - updated installation instructions, bundler configuration and component index
Added
- on:click, on:mousedown, on:mouseup, on:keypress, isClickable (prop) and tabindex to Card
Fixed
- Events in Storybook
Prop and utilities improvements
2.0.0 - 2021-07-02
Changed
- README - Instructions for running Storybook locally
- global.css is compiled during Storybook dev and deployment build from global.scss and used only for Storybook
- _index.scss uses global.scss
BREAKING CHANGES
- .align-center, .align-left and .align-right global classes are now .text-align-center, .text-align-left and .text-align-right.
- .aligned global class is now .align-items-center
- Progress.Linear barColorProvided prop deleted
- Progress.Linear uses --progress-bar-color instead of --sil-primary-blue from the apps _theme file and falls back to --mdc-theme-primary
- TopAppBar prop bgColorIsVariant default value is now false
Added
- $$props.class to Badge, Form, CustomCard, Tour and StaticChip so they can accept global classes
- mdc-typography class to Badge, StaticChip and Card as it was not being applied
- Badge, CustomCard, Drawer, Form, StaticChip and Tour stories to Storybook
- global.scss to generate full range of padding and margin from 1rem to 8rem, height and width from 0 to 100% in increments of 5, z-index from 0 to 10.
- align-item and align-self flex utilites to global.scss
- .text-align-start, .text-align-end, .d-inline, .d-block, .relative, .fixed and .fs-10 added to global.scss
- toggle (opens and closes Drawer when modal or dismissible), dismissible(Drawer is hidden by default) and hasTopAppBar props to Drawer
Removed
- global.css was removed and added to .gitignore
- barColorProvided from Progress.Linear
Fixed
- Tour was failing to replace key with value of data prop in steps content.
Storybook and improved index.js
Changed
- package.json version to 1.1.0
Added
- actions, isAboveMobile, isAboveTablet, setNotice to index.js so they can be imported directly
- $$props.class to Fab, TextArea, Select, Checkbox, Datatable, Dialog.Simple, Dialog.Alert, Tooltip, Snackbar, TabBar and List so they can accept global classes
- barColorProvided to Progress.Linear to allow bypass of bar-color class when no color is provided
- bgColorIsVariant to TopAppBar to allow bypass of bg-color-variant if no color is provided
- README: Theming, Drawer example, CSS utility classes and Storybook url.
- Storybook for showcasing components at https://silinternational.github.io/ui-components/
Fixed
- README: import from '@silintl/ui-components' not 'ui-components'
npm installation instructions
Updated installation instructions in README.
Updated package-lock.json file.
Initial release
This is the initial release of ui-components and will be published to npm as @silintl/ui-components.