Commit graph

1421 commits

Author SHA1 Message Date
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
f8aecdbef1
refactor: inline Copy component (#1175) 2022-03-14 08:17:20 -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
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
metonym
59ecc53a89
refactor(text-area): use native binding for value prop (#1169) 2022-03-13 19:02:02 -07:00
Eric Liu
bc8903a67b chore(changelog): update v0.61.0 notes [ci skip] 2022-03-13 11:43:05 -07:00
Eric Liu
f231375ea6 v0.61.1 2022-03-13 07:28:29 -07:00
metonym
a9e26445ac
fix(css): do not generate CSS file from _popover.scss (#1168) 2022-03-13 07:24:47 -07:00
Eric Liu
87c35b1c40 v0.61.0 2022-03-13 07:07:44 -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
47866b1d51
breaking(header-action): use SlideParams to type transition prop (#1163) 2022-03-12 14:35:59 -08:00
metonym
53853cf64b
fix(header-action): audit HeaderAction text styles (#1162) 2022-03-12 14:28:44 -08:00
metonym
5d153601b3
fix(header-action-link): align icon with HeaderAction (#1161) 2022-03-12 14:14:22 -08:00
metonym
e2c980e23a
refactor: remove usage of deprecated Icon component (#1160) 2022-03-12 13:52:59 -08:00
metonym
cb014219fd
chore(deps-dev): upgrade svelte-check to v2.4.5 (#1159) 2022-03-12 13:50:47 -08:00
metonym
48348df43d
perf: use direct imports where possible (#1158) 2022-03-12 13:50:40 -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
metonym
cc7b30a620
fix(scss): inline Popover styles from carbon-components v10.47 (#1139) 2022-03-08 08:39:19 -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
metonym
faeee2b1a1
fix(date-picker): update calendar if options change (#1128)
Fixes #1127
2022-02-26 11:24:44 -08:00
dependabot[bot]
4eca1cc73c
build(deps-dev): bump prismjs from 1.21.0 to 1.27.0 in /docs (#1131)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.21.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 18:14:31 -08:00
Eric Liu
d90965c575 v0.59.0 2022-02-21 14:27:12 -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
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
cd687f0e1b
refactor(types): remove unnecessary JSDoc default type [ci skip] (#1123) 2022-02-21 09:24:37 -08:00
metonym
6a13ca1c0d
fix(file-uploader): correctly fire add/remove events (#1121)
Fixes #1119
2022-02-21 09:18:29 -08:00
metonym
25d28a9c4d
fix(file-uploader): FileUploader files should not be keyed (#1118)
Fixes #1115
2022-02-21 08:36:58 -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
metonym
dce0309bab
fix(data-table): pass header key to TableHeader (#1114)
The id is needed to update the sort icon direction accordingly.

Fixes #1113
2022-02-21 08:33:41 -08:00
Eric Liu
fe8fd65893 v0.58.3 2022-02-20 07:32:55 -08:00
metonym
df4ed9d75a
fix(types): use @component comments for deprecation notices (#1111)
The Svelte Language Server allows component-level comments through `<!-- @component ... -->` syntax.

Deprecation notices for components should be moved from the script block to the markup template.
2022-02-19 18:50:25 -08:00
metonym
7c0086d00c
fix: slottable labelText should correctly render (#1110) 2022-02-19 18:24:26 -08:00
Malte Heinzelmann
33c1543bd0
fix(password-input): do not render label if labelText is not provided (#1108) 2022-02-19 18:01:49 -08:00
metonym
6dc17dd8b3
fix(structured-list): override overfow-y to be visible (#1107)
Fixes #1106
2022-02-18 15:54:23 -08:00
metonym
73b105660c
fix(multi-select): ListBoxField should not prevent default keyboard behavior (#1101)
Fixes #938
2022-02-18 15:54:00 -08:00
Eric Liu
3baa105d63 chore(examples): bump deps [ci skip] 2022-02-18 07:07:35 -08:00
metonym
1ad2ca404a
fix(content-switcher): Switch should have type="button" (#1104)
Fixes #1103
2022-02-18 06:12:28 -08:00
Ricky de Laveaga
2f8d80f9f7
chore(examples): remove config.kit.target from sveltekit (#1105) 2022-02-17 19:20:04 -08:00