Skip to content

Releases: silinternational/ui-components

Drawer improvements and bugfixes

03 Aug 16:21
a6a9045
Compare
Choose a tag to compare

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

22 Jul 17:17
c7ec17b
Compare
Choose a tag to compare

Fixed

more Badge and StaticChip props

21 Jul 21:37
0060a2f
Compare
Choose a tag to compare

Added

  • borderRadius, padding and bordered props to Badge
  • bgColor to StaticChip

Changed

  • README - updated component index

Add noPadding to Card

14 Jul 17:25
e8d43ad
Compare
Choose a tag to compare

Added

  • noPadding to card

Changed

  • README - updated component index

Make Card clickable

13 Jul 16:11
2f51ffc
Compare
Choose a tag to compare

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

02 Jul 15:39
1945669
Compare
Choose a tag to compare

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

26 May 20:54
930ef55
Compare
Choose a tag to compare

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

18 May 17:36
be41336
Compare
Choose a tag to compare

Updated installation instructions in README.
Updated package-lock.json file.

Initial release

18 May 16:41
7e6d954
Compare
Choose a tag to compare

This is the initial release of ui-components and will be published to npm as @silintl/ui-components.