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
dependabot[bot]
e827fe0a23
build(deps): bump vm2 from 3.9.5 to 3.9.7 in /examples/snowpack ( #1098 )
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.5 to 3.9.7.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.5...3.9.7 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 17:13:15 -08:00
Eric Liu
67a89a1a1d
v0.58.2
2022-02-12 15:50:26 -08:00
metonym
c32df50689
fix(tooltip): aria-label should use iconDescription if triggerText is falsy ( #1095 )
2022-02-12 15:43:58 -08:00
metonym
c7de897b89
fix(overflow-menu): keyboard navigation should skip disabled items ( #1096 )
2022-02-12 15:43:45 -08:00
metonym
16790daaa9
fix(ui-shell): use semantic hr
in HeaderPanelDivider
to render dividers ( #1093 )
2022-02-12 08:07:21 -08:00
brunnerh
05e4c282b0
fix(button): not set aria-pressed
on link buttons ( #1091 )
2022-02-12 06:47:53 -08:00
dependabot[bot]
acf8a26290
build(deps): bump follow-redirects in /examples/webpack ( #1089 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 17:04:49 -08:00
Eric Liu
c2b87d987e
v0.58.1
2022-02-11 16:59:00 -08:00
metonym
2f556cdda3
fix(code-snippet): remove whitespace from pre
tag ( #1088 )
...
Svelte v3.46.4 preserves whitespace inside `pre` tags by default; this removes whitespace from inside the `pre` tag in `CodeSnippet`.
2022-02-11 16:56:46 -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
34affd851a
fix(data-table): batch selection checkbox should be reactive ( #1085 )
2022-02-10 19:51:26 -08:00
metonym
a3c329a2e8
fix(ui-shell): prevent default behavior when pressing Space ( #1084 )
2022-02-10 19:27:59 -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
4a197fdb7f
ci: adjust run rules, use cache actions ( #1081 )
...
- adjust run rules to run on any pull request or a push to `master`
- use action to cache install folder to speed up builds
- run `build:api` and `build:lib` in parallel
2022-02-10 08:28:07 -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
1939e4328d
fix(ui-shell): fix HeaderNavMenu
accessibility, undefined context ( #1079 )
...
Fixes:
* hotfix: remove toggle accessor from HeaderNavMenu
* hotfix(ui-shell): HeaderNavMenu context is possibly undefined
* fix: apply a11y navigation menubar attributes
2022-02-10 08:11:56 -08:00
metonym
5103e13321
feat(css): upgrade carbon-components
to v10.52.0 ( #1078 )
...
Fixes:
- move `FileUploaderDropContainer` input outside of label to fix a11y error
- prevent inadvertent text selection when clicking through flatpickr months
2022-02-10 06:47:36 -08:00
metonym
18eb1e2649
fix(ui-shell): HeaderNavMenu
should close when pressing Enter ( #1073 )
...
Fixes:
- pressing "Enter" on a `HeaderNavMenuItem` should close the menu
- tab blurring the last item in an open menu should close the menu
- remove "role" to fix a11y warning
2022-02-10 06:46:11 -08:00
metonym
20e61724c1
feat(tooltip-definition): export open prop, dispatch open/close events ( #1057 )
2022-02-09 20:00:38 -08:00