Eric Liu
9c0a75f052
docs: fix icons [ci skip]
2022-04-03 12:05:33 -07:00
metonym
ba58ba8f00
refactor: use icons from carbon-icons-svelte@11
( #1227 )
...
* chore: update ignore rules, remove unused files
* refactor(icons): use icons from carbon-icons-svelte@11
* docs(time-picker): fix default value
* chore: upgrade carbon-icons-svelte to v11
* docs: update examples to use icons from carbon-icons-svelte@11
* docs: update number of icons [ci skip]
2022-04-03 11:57:28 -07:00
metonym
9143e50244
breaking(actions): move truncate
action to src/Truncate ( #1224 )
...
* breaking: move truncate action to src/Truncate
* docs: update truncate docs
2022-04-02 12:04:33 -07:00
metonym
d34f571150
docs: use all.css
for prefixed styles ( #1221 )
...
* docs: remove .bx--content override
* docs(ui-shell): add note on UI Shell theming
* docs(grid): touch up grid examples
* docs(theme): wrap localStorage in try catch
So that the site still works in Safari with all cookies blocked.
* docs: use prefixed all.css
Without vendor prefixes, some styles are lost in Safari.
* docs: remove svelte-preprocess from svelte.config.js
2022-04-02 11:45:29 -07:00
metonym
5209f329bd
build(types): copy .d.ts files from src to types ( #1218 )
2022-03-27 13:26:13 -07:00
metonym
ade0557448
feat: upgrade carbon-components to v10.56.0 ( #1213 )
...
* chore(deps-dev): upgrade carbon-components to v10.56.0
* feat(progress-bar): add kind prop
* Run "yarn build:docs"
* test(progress-bar): assert kind prop
2022-03-27 08:27:23 -07:00
metonym
21714d0e3a
breaking: remove deprecated props and components ( #1191 )
2022-03-27 08:21:58 -07:00
metonym
53fdbdf991
fix(data-table): expandable rows should work with zebra styles ( #1200 )
...
Fixes #1199
2022-03-23 08:04:08 -07:00
Eric Liu
f4b53369ff
docs(form): evaluate code in "Prevent default behavior" example [ci skip]
2022-03-19 13:24:40 -07:00
metonym
2df7b92269
feat(toolbar-search): support auto-filterable rows ( #1179 )
...
Closes #591
2022-03-19 12:01:03 -07:00
metonym
233edf3358
docs: add ClickableTile
example, notes on keyed props ( #1184 )
...
* docs(clickable-tile): add "Prevent default behavior" example
* docs: add note that `items` object requires a unique `id`
* docs: remove note on selectedId
* docs(data-table): explain how header keys work
2022-03-19 10:20:34 -07:00
metonym
1017e80198
feat(multi-select): make MultiSelect
slottable ( #1183 )
2022-03-19 09:15:58 -07:00
metonym
f5594daba6
feat(dropdown): make Dropdown
slottable ( #1182 )
2022-03-19 09:15:52 -07:00
metonym
2858776367
feat(combo-box): make ComboBox
slottable ( #1181 )
...
Closes #1176
2022-03-19 09:15:41 -07:00
metonym
ceb7abf2e9
docs: fix formatting, broken link ( #1177 )
2022-03-16 07:33:59 -07:00
metonym
ef46f350be
breaking(form): do not prevent default behavior on submit event ( #1170 )
...
* breaking(form): do not prevent default behavior on submit event
* docs(form): add "Prevent default behavior" example
2022-03-13 19:04:10 -07:00
metonym
2657ce71c2
docs: fix formatting, broken link ( #1172 )
...
* chore: remove extra space in description comment
* docs(data-table): fix formatting
* docs(checkbox): fix broken link
* chore(deps-dev): bump deps
* Run "yarn build:docs"
2022-03-13 19:03:15 -07:00
metonym
5bf16e42f7
docs: hide deprecated components, add "Disabled items" OverflowMenu example ( #1167 )
2022-03-13 06:14:30 -07:00
metonym
95a1dfa1af
feat(data-table): support non-selectable rows ( #1166 )
...
Closes #1148
2022-03-12 19:36:02 -08:00
metonym
cb014219fd
chore(deps-dev): upgrade svelte-check to v2.4.5 ( #1159 )
2022-03-12 13:50:47 -08:00
brunnerh
5de0d9a357
breaking(breakpoint): add breakpointObserver store ( #1092 )
...
* breaking: re-name event "on:match" to "on:change" in `Breakpoint.svelte`
* feat: add `breakpointObserver` read-only store
* refactor: export breakpoint constants from `breakpoints.js`
2022-03-08 08:38:58 -08:00
metonym
a3d116215d
Align v10.54 ( #1133 )
...
* chore(deps-dev): bump carbon-components to v10.54.0
* feat(progress-bar): add size prop
* docs(progress-bar): add "Small size" example
* docs(progress-bar): add descriptions
* refactor(structured-list): remove monkey patch
* feat(radio-button-group): add hideLegend prop
* docs(radio-button): add "Hidden legend" example
2022-02-26 11:26:31 -08:00
metonym
44d848c60d
docs(file-uploader): improve FileUploader
documentation ( #1126 )
...
- add `FileUploader` "Clear files" example
- document `validateFiles` prop for `FileUploaderDropContainer`
- add descriptions for `FileUploaderButton`, `FileUploader` examples
2022-02-21 14:26:02 -08:00
metonym
78072a1c66
Align v10.53 ( #1109 )
...
* chore(deps): upgrade carbon-components to v10.53.0
* feat(text-area): add maxCount prop
* docs(text-area): add maximum character count
* feat(file-uploader): add disabled prop
* docs(file-uploader): add disabled state example
2022-02-21 13:40:57 -08:00
canerakdas
cbecfd41e2
docs(skeleton-text: remove duplicate "Heading variant" example ( #1070 )
2022-02-07 09:25:50 -08:00
Gregor Wassmann
a8039a4d1e
feat(modal): support primaryButtonIcon prop ( #1047 )
2022-01-29 09:35:08 -08:00
metonym
402de56029
fix(number-input): value 0
should not be converted to null
( #1046 )
2022-01-27 08:00:32 -08:00
metonym
4e3415a4e9
docs: Checkbox, Tabs, NumberInput ( #1045 )
...
* add `Checkbox` reactive example for `bind:checked` (#967 )
* update `Checkbox` reactive example for `bind:group` to demo two-way binding
* simplify `Tabs` reactive example
* add `NumberInput` "No value" example
2022-01-27 07:27:10 -08:00
metonym
fd040b3b66
docs(clickable-tile): fix formatting
2022-01-24 13:17:35 -08:00
kwieszalka-maystreet
5da83ec869
feat(data-table): support paginated data table ( #880 )
...
Closes #702
2022-01-19 07:51:42 -08:00
Eric Liu
52705bae03
docs: add breaking change notice to ComboBox, Dropdown docs ( #1018 )
2022-01-18 19:33:33 -08:00
Koichi Kiyokawa
cde8a79fa8
feat(ComboBox): selectedIndex -> selectedId ( #1016 )
...
* feat(breaking): selectedIndex -> selectedId in ComboBox
* docs: update ComboBox
2022-01-18 06:37:55 -08:00
Koichi Kiyokawa
e11a893bee
feat(Dropdown): selectedIndex -> selectedId ( #1004 )
...
* feat(breaking): selectedIndex -> selectedId in Dropdown
* feat: omit `selectedIndex` from the `select` event
2022-01-18 06:37:32 -08:00
Eric Liu
58de79d66b
docs(radio-button): simplify reactive example ( #1012 )
...
* docs(radio-button): simplify reactive radio button example
* docs(radio-button): rename to "Reactive example"
2022-01-16 15:06:29 -08:00
Eric Liu
e5f77aa614
docs(select): add reactive example ( #1011 )
2022-01-16 14:53:22 -08:00
Eric Liu
32edfa59dd
Make Toggle
labels slottable ( #1002 )
...
* feat(toggle): support slottable labels
* yarn build:lib
* docs(toggle): add "Slottable labels" example
2022-01-12 16:43:27 -10:00
Eric Liu
37f19d2171
Add option to not re-focus ComboBox
when invoking clear()
( #1000 )
...
* feat(combo-box): add option to clear accessor to not re-focus input
Closes #994
* yarn build:lib
* test(combo-box): validate clear accessor params
* docs(combo-box): add clear without focus to "Clear selection" example
2022-01-12 16:12:43 -10:00
Eric Liu
d4dd33e28c
Update docs ( #1001 )
...
* docs(tree-view): avoid redundant copy
* docs(search): "clear" is dispatched when pressing "Escape"
* docs(search): refactor "Expandable variant" to demonstrate reactivity
2022-01-12 16:12:14 -10:00
István Pató
d31e529ca9
fix(ComboBox): programmatically set selected index ( #995 )
...
* fix(ComboBox): programmatically set selected index
* refactor(ComboBox): renaming example to Reactive example
2022-01-12 13:36:37 -10:00
metonym
483eff6c9b
docs: prefer <strong> over <code>
2022-01-10 12:32:01 -10:00
metonym
6731f944ab
docs: do not use backticks in inline notifications
2022-01-10 12:24:11 -10:00
Eric Liu
01a548fee0
Document DatePicker
usage with a Rollup set-up ( #990 )
...
* chore(example): add inlineDynamicImports: true
* docs(date-picker): add note for using DatePicker with Rollup
Closes #986
2022-01-10 12:03:14 -10:00
Eric Liu
3ca0297b5e
docs(modal): add multiple modals example ( #980 )
...
Refs: #975
2022-01-08 09:41:00 -08:00
Eric Liu
d4db64e2d1
docs(radio-tile): add reactive examples ( #979 )
...
Enabled by #971
2022-01-08 09:37:53 -08:00
brunnerh
6458c97c1a
Add required
prop to Select. ( #968 )
...
Upgrade sveld to set paths correctly on Windows.
Make Prettier script compatible with Windows and run it.
2022-01-03 10:46:12 -08:00
Eric Liu
dce2dda72a
Update docs ( #965 )
...
* chore(docs): run "npx browserslist@latest --update-db"
* chore(docs): upgrade carbon-icons-svelte to latest
* refactor(docs): re-use styles from css/all.scss
* chore(docs): add pnpm install command
* chore(docs): upgrade prettier, prettier-plugin-svelte
* docs(date-picker): improve "DatePicker in a modal" example
* fix(docs): restore "scripts-markup-styles" svelte sort order
* chore(docs): upgrade mdsvex
* chore(deps-dev): bump prettier, prettier-plugin-svelte, svelte
* refactor(docs): use svelte:fragment where applicable
* fix(docs): include missing "options" in svelteSortOrder prettier config
2022-01-01 10:58:42 -08:00
Gregor Wassmann
f0cf4e7ba5
Enhance Checkbox to use bind:group ( #947 )
...
* Enhance Checkbox to use bind:group
* Use custom logic
* Move multiple checkboxes above skeleton
* Incorprate PR feedback
* Any instead of string
2021-12-30 13:31:33 -08:00
Eric Liu
ccc733f3f7
Support custom target(s) for ContextMenu
( #916 )
...
* feat(context-menu): add target prop to selectively trigger context menu
* feat(context-menu): include clicked element in "open" event detail
* docs(context-menu): add target, multiple target examples
2021-11-18 13:32:13 -08:00
Eric Liu
27ba4350cf
Align v10.48 ( #907 )
...
* chore(deps-dev): upgrade carbon-components to v10.48.0
* feat(ui-shell): support HeaderNavMenu with current item
* refactor(tile): remove unnecessary "position: relative" style
* refactor(tile): remove unused ref
* feat(inline-notification): make title/subtitle slottable
Closes #883
* feat(toast-notification): make title/subtitle/caption slottable
* chore(notification): deprecate NotificationTextDetails
2021-11-12 16:25:02 -08:00
Eric Liu
ea6757d020
Add autoWidth prop to Tabs
( #901 )
...
* feat(tabs): support auto width tabs
Closes #899
* docs(tabs): add auto width example
2021-11-10 19:46:20 -08:00