You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- README - Instructions for running Storybook locally
12
+
- global.css is compiled during Storybook dev and deployment build from global.scss and used only for Storybook
13
+
-_index.scss uses global.scss
14
+
15
+
### BREAKING CHANGES
16
+
- .align-center, .align-left and .align-right global classes are now .text-align-center, .text-align-left and .text-align-right.
17
+
- .aligned global class is now .align-items-center
18
+
- Progress.Linear barColorProvided prop deleted
19
+
- Progress.Linear uses --progress-bar-color instead of --sil-primary-blue from the apps _theme file and falls back to --mdc-theme-primary
20
+
- TopAppBar prop bgColorIsVariant default value is now false
21
+
22
+
### Added
23
+
-$$props.class to Badge, Form, CustomCard, Tour and StaticChip so they can accept global classes
24
+
- mdc-typography class to Badge, StaticChip and Card as it was not being applied
25
+
- Badge, CustomCard, Drawer, Form, StaticChip and Tour stories to Storybook
26
+
- 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.
27
+
- align-item and align-self flex utilites to global.scss
28
+
- .text-align-start, .text-align-end, .d-inline, .d-block, .relative, .fixed and .fs-10 added to global.scss
29
+
- toggle (opens and closes Drawer when modal or dismissible), dismissible(Drawer is hidden by default) and hasTopAppBar props to Drawer
30
+
31
+
### Removed
32
+
- global.css was removed and added to .gitignore
33
+
- barColorProvided from Progress.Linear
34
+
35
+
### Fixed
36
+
- Tour was failing to replace key with value of data prop in steps content.
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Reusable Svelte components for some internal applications
5
5
To install to your Svelte project, open your project's root directory in a terminal. Type `npm i @silintl/ui-components` and press enter.
6
6
7
7
### bundler configuration
8
-
Your Svelte project will need the bundler (rollup most likely) configured to compile Sass files. If you are using rollup your plugins in your "rollup.config.js" should look something like this taking special note of postcss and svelte (it may work still without autoPreprocess):
8
+
Your Svelte project will need the bundler (rollup most likely) configured to compile Sass files. If you are using rollup your plugins in your "rollup.config.js" should look something like this taking special note of postcss and svelte:
Try out our components at https://silinternational.github.io/ui-components/
182
+
Try out our components and see examples at https://silinternational.github.io/ui-components/
183
+
or run storybook locally. Just copy this repo to your machine and run `npm install` then `npm run dev.` Storybook should open a browser window when it finishes building.
183
184
184
185
### CSS utility classes
185
-
Classes from [global.css](https://github.com/silinternational/ui-components/blob/develop/components/global.css) can be applied to all components and even components and elements from your app.
186
+
Classes from [global.scss](https://github.com/silinternational/ui-components/blob/develop/components/global.scss) can be applied to all components and even components and elements from your app.
186
187
187
188
### theming
188
189
If you are using an [MDC theme](https://material.io/develop/web/docs/theming) and [typography](https://material.io/develop/web/components/typography) then import your _index.scss file to the App.svelte file so they get applied to the ui-components.
0 commit comments