Naegelin
e6b707cfe8
Merge branch 'naegelin-1438-1' of https://github.com/naegelin/carbon-components-svelte into naegelin-1438-1
2022-08-12 18:09:37 +02:00
Naegelin
0e34a0631f
cancelable event
2022-08-12 18:08:46 +02:00
naegelin
5e630d2873
feat(ToolbarBatchActions): Override cancel button
...
Fixes #1438 .
Give the user the ability to override the functionality of the cancel button by passing in their own function. If no override is provided, the existing functionality of reseting selected row ids is preserved.
Example implementation:
```
<ToolbarBatchActions cancel={()=>{console.log("User clicked cancel!")}}>
...
</ToolbarBatchActions>
```
2022-08-12 18:08:46 +02:00
Naegelin
e5ec362b26
cancelable event
2022-08-12 10:45:45 +02:00
Eric Liu
14a8376a81
v0.67.9
2022-08-11 18:47:53 -07:00
Piper McCorkle
b6e4d133da
fix(notification-action-button): prop types should extend Button
( #1442 )
2022-08-11 18:45:41 -07:00
naegelin
87ed2b4782
feat(ToolbarBatchActions): Override cancel button
...
Fixes #1438 .
Give the user the ability to override the functionality of the cancel button by passing in their own function. If no override is provided, the existing functionality of reseting selected row ids is preserved.
Example implementation:
```
<ToolbarBatchActions cancel={()=>{console.log("User clicked cancel!")}}>
...
</ToolbarBatchActions>
```
2022-08-11 14:07:28 -04:00
metonym
ab5eff5205
v0.67.8
2022-08-10 07:54:17 -07:00
metonym
4fd08cd25c
fix(inline-checkbox): remove aria-checked="mixed"
if indeterminate ( #1436 )
...
Ref: https://github.com/carbon-design-system/carbon/pull/11908
2022-08-10 07:44:08 -07:00
metonym
b4ffed9044
fix(slider): add aria-labelledby
to slider thumb ( #1435 )
...
Ref: https://github.com/carbon-design-system/carbon/pull/11798
2022-08-10 07:42:41 -07:00
Bert B
c95e2bcc80
fix(toggle): add role="switch"
to input ( #1434 )
2022-08-10 07:05:54 -07:00
metonym
1c573e55b0
style(docs): increase max content width 56rem -> 66rem
2022-08-10 06:41:36 -07:00
Eric Liu
1494faaa65
chore(changelog): use full date [ci skip]
2022-08-07 10:19:54 -07:00
Eric Liu
21f2c7fb4c
v0.67.7
2022-08-07 10:15:08 -07:00
Eric Liu
1fc719b738
style(docs): add scroll-margin-top to anchored headings [ci skip]
2022-08-07 06:21:43 -07:00
Eric Liu
0cd46712ca
style(docs): side nav overlay should be clickable [ci skip]
2022-08-06 21:31:36 -07:00
Eric Liu
2532814801
style(docs): tighten up margins [ci skip]
2022-08-06 14:03:29 -07:00
Eric Liu
d4cf6577c9
docs: flatten table of contents hierarchy
2022-08-06 14:02:53 -07:00
Eric Liu
f1caf83103
docs: correctly render table of contents [ci skip]
2022-08-06 13:37:49 -07:00
metonym
e3978e883b
docs: flatten side nav hierarchy, remove recipes ( #1430 )
...
* style(docs): remove bottom margin in index route
* docs: flatten side nav hierarchy
* docs(accordion): move expandable accordion recipe
* docs(breadcrumb): move breadcrumb trail recipe
* docs: remove recipes
2022-08-06 13:27:02 -07:00
metonym
98974fba7e
style(docs): remove UI Shell overrides ( #1429 )
2022-08-06 12:20:40 -07:00
metonym
fd42cb3891
fix(ui-shell): remove Content
left margin if SideNav
is collapsed ( #1428 )
...
Fixes #1145
Alternative to #1406
2022-08-06 08:27:45 -07:00
metonym
df0e68a541
v0.67.6
2022-08-05 07:40:37 -07:00
metonym
45f14f160e
refactor: use class directive in TextInput
, DatePickerInput
( #1426 )
...
Dynamically-formed class names should be avoided for easier static analysis. The Svelte `class:` directive should be used instead.
2022-08-05 05:21:49 -07:00
metonym
d2cc75d883
fix(notification): avoid dynamic class names in NotificationButton
, NotificationIcon
( #1425 )
...
Fixes https://github.com/carbon-design-system/carbon-preprocess-svelte/issues/39
2022-08-05 05:20:21 -07:00
metonym
7fe9b39436
fix(number-input): forward keydown, keyup events ( #1424 )
...
Fixes #1421
`NumberInput` should forward the keydown and keyup events like other input components.
2022-08-05 04:50:40 -07:00
metonym
cae4629b98
chore(examples): remove Sapper, Snowpack examples ( #1423 )
...
* chore(examples): remove Sapper example
As of June 2022, Sapper is officially deprecated.
Ref: ef01df6f4e
* chore(examples): remove Snowpack example
As of April 2022, Snowpack is no longer maintained. Vite is the recommended alternative.
Ref: 45456aa149
2022-08-05 04:48:09 -07:00
metonym
6f9e023066
v0.67.5
2022-08-04 10:03:11 -07:00
István Pató
de81ef99af
fix(combo-box): correctly select item in a non-filterable ComboBox
( #1419 )
...
Fixes #1222
A non-filterable ComboBox will select the item that matches the typed value when pressing "Enter." An unknown (unmatched) value will select the first item.
2022-08-04 09:58:32 -07:00
dependabot[bot]
03d18ca27c
chore(deps): bump terser from 5.3.0 to 5.14.2 ( #1408 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.3.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 08:14:12 -07:00
dependabot[bot]
b571821397
chore(deps): bump glob-parent from 5.1.1 to 5.1.2 ( #1410 )
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 08:12:34 -07:00
dependabot[bot]
6f7bd9f2dd
chore(deps-dev): bump svelte from 3.46.6 to 3.49.0 ( #1394 )
...
Bumps [svelte](https://github.com/sveltejs/svelte ) from 3.46.6 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases )
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/svelte/compare/v3.46.6...v3.49.0 )
---
updated-dependencies:
- dependency-name: svelte
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-08-01 08:11:58 -07:00
dependabot[bot]
99d108c123
chore(deps-dev): bump svelte from 3.48.0 to 3.49.0 in /docs ( #1401 )
...
Bumps [svelte](https://github.com/sveltejs/svelte ) from 3.48.0 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases )
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/svelte/compare/v3.48.0...v3.49.0 )
---
updated-dependencies:
- dependency-name: svelte
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-08-01 08:11:52 -07:00
metonym
c87196c16b
v0.67.4
2022-07-26 08:20:39 -07:00
metonym
8a40191c76
fix(toggle): override margin top if hideLabel
is true ( #1417 )
...
Fixes #1413
2022-07-26 08:19:49 -07:00
metonym
de5b482b0c
v0.67.3
2022-07-26 08:04:06 -07:00
metonym
ef904567cb
Run "yarn build:docs"
2022-07-26 08:02:24 -07:00
metonym
7f7bf51f56
fix(pagination): correctly pluralize default item text ( #1416 )
...
Fixes #1412
2022-07-26 07:59:40 -07:00
metonym
a3264bd667
fix(toggle): labelText
should not be selectable ( #1415 )
...
This adds a `user-select: none` rule to avoid selecting the `Toggle` label text when rapidly clicking it.
2022-07-26 07:21:19 -07:00
metonym
f4d12b805a
fix(toggle): add missing hideLabel
prop ( #1414 )
...
* fix(toggle): add missing hideLabel prop
* Run "yarn build:docs"
* test(toggle): assert hideLabel prop
* docs(toggle): add "Hidden label text" example
2022-07-26 07:12:57 -07:00
Eric Liu
614e6eb087
v0.67.2
2022-07-23 06:17:56 -07:00
Johannes
8bd615b250
fix(combobox): value should call itemToString
with filtered item ( #1411 )
...
Fixes #1405
When using the `shouldFilterItem` prop, the `ComboBox` does not display the custom label set with `itemToString` in the input after a selection.
2022-07-23 06:15:11 -07:00
Eric Liu
e3f98cde4b
chore(examples): bump deps [ci skip]
2022-07-19 19:43:49 -07:00
Andrea N. Cardona
035c563a26
chore(carbon.yml): update library name ( #1407 )
2022-07-19 07:48:18 -07:00
Eric Liu
f8e400f2ed
v0.67.1
2022-07-12 19:45:53 -07:00
metonym
638a43714f
fix(side-nav): set high z-index
on open overlay ( #1388 )
...
Fixes #786
The UI Shell `SideNav` overlay can sometimes be superseded by other elements. This applies a `z-index` value of `6000` to the overlay when open.
2022-07-12 19:43:45 -07:00
metonym
2fedd6343f
v0.67.0
2022-06-29 11:50:25 -07:00
metonym
f59daa20a2
docs: specify minimum Svelte version requirement
2022-06-29 11:49:23 -07:00
metonym
aee7f3ba76
Revert "Revert "fix(notification): on:close
should be cancellable ( #1379 )" ( #1381 )" ( #1382 )
...
This reverts commit 052acfc2ce
.
2022-06-29 11:11:33 -07:00
metonym
f08175b6b3
v0.66.3
2022-06-29 10:59:45 -07:00