Commit graph

261 commits

Author SHA1 Message Date
Eric Liu
16ac1ede6e v0.62.1 2022-03-20 07:32:04 -07:00
Eric Liu
e04d6fa33a v0.62.0 2022-03-19 13:00:33 -07:00
metonym
e4800d9627
breaking: delete Copy component (#1174)
Closes #1156
2022-03-19 12:26:01 -07:00
metonym
2df7b92269
feat(toolbar-search): support auto-filterable rows (#1179)
Closes #591
2022-03-19 12:01:03 -07:00
metonym
1462b2ee9c
feat(ui-shell): make SideNavLink text slottable (#1187) 2022-03-19 11:58:47 -07:00
metonym
e23b121143
feat: make icons slottable (#1186) 2022-03-19 11:37:20 -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
f8aecdbef1
refactor: inline Copy component (#1175) 2022-03-14 08:17:20 -07:00
metonym
ba0abe8e34
refactor(search): use native binding for value prop (#1173)
* refactor(search): use native binding for value prop

* feat(search): type the value prop as any
2022-03-13 19:02:46 -07:00
Eric Liu
f231375ea6 v0.61.1 2022-03-13 07:28:29 -07:00
Eric Liu
87c35b1c40 v0.61.0 2022-03-13 07:07:44 -07:00
metonym
95a1dfa1af
feat(data-table): support non-selectable rows (#1166)
Closes #1148
2022-03-12 19:36:02 -08:00
metonym
47866b1d51
breaking(header-action): use SlideParams to type transition prop (#1163) 2022-03-12 14:35:59 -08:00
Dominik G
9215e3b106
feat(multi-select): expose highlightedId and fix highlighting for filterable variant (#1153) 2022-03-12 13:49:10 -08:00
Daniel Power
853942f998
fix(types): correctly type validateFiles in FileUploaderDropContainer (#1149) 2022-03-08 08:40:20 -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
Eric Liu
bbd2cbe62c v0.60.0 2022-02-26 11:30:03 -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
Eric Liu
d90965c575 v0.59.0 2022-02-21 14:27:12 -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
metonym
8d3ac75170
feat(file-uploader-drop-container): rework FileUploaderDropContainer (#1125)
- convert `FileList` to `File[]` to be consistent with `FileUploader` and `FileUploaderButton`
- add `files` prop for two-way binding
- dispatch instead of forward the `change` event (detail signature: `File[]`)
2022-02-21 13:33:11 -08:00
metonym
7586b2a10f
feat(file-uploader-button): support files prop (#1120)
Closes #1116
2022-02-21 13:32:05 -08:00
Eric Liu
826b7096c8 v0.58.4 2022-02-21 09:53:17 -08:00
metonym
714f47a635
fix(types): dispatched events without a detail value should be null (#1124)
Currently, dispatched events without `e.detail` have a type of `any`.

We can be more specific as a `CustomEvent` detail value is `null`.
2022-02-21 09:42:42 -08:00
metonym
2f3cff2942
fix(file-uploader): update clearFiles accessor description (#1122)
The `clearFiles` prop description currently reads "Override the default behavior of clearing the array of uploaded files."

This is misleading as `clearFiles` is a component accessor, not a `let` prop.
2022-02-21 09:24:50 -08:00
metonym
7602731b0b
fix(file-uploader): FileUploader change detail should be File[] instead of FileList (#1117)
Fixes #1112
2022-02-21 08:34:03 -08:00
Eric Liu
fe8fd65893 v0.58.3 2022-02-20 07:32:55 -08:00
Eric Liu
67a89a1a1d v0.58.2 2022-02-12 15:50:26 -08:00
Eric Liu
c2b87d987e v0.58.1 2022-02-11 16:59:00 -08:00
Eric Liu
933cf845c8 v0.58.0 2022-02-11 07:34:06 -08:00
metonym
3b70a35df6
feat(data-table): pass row index, cell index to "cell" slot (#1086) 2022-02-11 07:13:55 -08:00
metonym
2148e1c7b6
feat(multi-select): add itemToProp to customize name, title, labelText values passed to input (#1074)
Currently, the input `name` for each item uses the same value as `itemToString(item)`.

This adds an `itemToInput` prop to allow the consumer to customize the name/title/labelText values passed to the `Checkbox` input.

The name attribute now defaults to use the `item.id` instead of `item.text`.
2022-02-10 08:32:24 -08:00
metonym
63f52b4683
fix(multi-select): non-filterable MultiSelect should dispatch a blur event (#1080)
The non-filterable `MultiSelect` is missing a `blur` event.

Implementation-wise, we have to dispatch it and include the event as the `detail`. Otherwise, the filterable variant will dispatch "blur" twice because it has both a button and input.

The filterable `MultiSelect` continues to forward the blur event to the input.
2022-02-10 08:27:09 -08:00
metonym
20e61724c1
feat(tooltip-definition): export open prop, dispatch open/close events (#1057) 2022-02-09 20:00:38 -08:00
metonym
989e0f4c65
breaking(text-input): use native bind:value, dispatch instead of forward change, input events (#1065)
Use the native `bind:value` to fix two-way reactivity. As a result, "type" is read through `$$restProps` because it cannot be dynamic when using `bind:value`.

Extend value type to include `null` for the "number" type. This is similar to how `NumberInput` works; `null` represents "no value."
2022-02-09 19:52:10 -08:00
Eric Liu
4c1277d920 v0.57.1 2022-02-01 07:28:17 -08:00
metonym
504cf09dc8
fix(tooltip): type Tooltip open, close events (#1058) 2022-02-01 07:20:43 -08:00
Eric Liu
d1a85915fe v0.57.0 2022-01-30 19:11:20 -08:00
brunnerh
099efedef1
breaking(number-input): align change, input events with native input behavior (#1053)
* Closes #1052

* Closes #1050
2022-01-30 09:01:51 -08:00
Gregor Wassmann
a8039a4d1e
feat(modal): support primaryButtonIcon prop (#1047) 2022-01-29 09:35:08 -08:00
Eric Liu
f53b5472e5 v0.56.1 2022-01-27 08:01:44 -08:00
Eric Liu
6154e8ba05 v0.56.0 2022-01-27 07:31:48 -08:00
metonym
9e915cf90a
breaking(number-input): type value as null | number (#1044)
Fixes #1039
2022-01-27 06:57:32 -08:00
metonym
3018c2b207
fix(text-area): export readonly prop (#1043)
Fixes #1009
2022-01-26 19:19:49 -08:00
metonym
048ebc7b81
fix(checkbox): fix two-way binding (#1042)
Fixes #967
2022-01-26 19:04:32 -08:00
Eric Liu
ced7a25880 v0.55.0 2022-01-22 09:16:05 -08:00
brunnerh
25ce57fd5a
Add required prop to RadioButton. (#1035)
Fixes #1034.
2022-01-22 09:05:41 -08:00
Eric Liu
493568f08d
feat(number-input): forward focus, blur events to input (#1033) 2022-01-22 08:58:59 -08:00