Commit graph

1838 commits

Author SHA1 Message Date
metonym
3f8bedd9f9 chore(changelog): fix typo 2022-08-18 07:07:34 -07:00
metonym
dbe33d5cbb
feat(toolbar-search): add filteredRowIds prop to support pagination (#1454)
Closes #1393

* feat(toolbar-search): add `filteredRowIds` prop

* Run "yarn build:docs"

* test(data-table): assert `filteredRowIds` prop

* docs(data-table): add pagination to default filterable examples
2022-08-18 06:59:14 -07:00
Eric Liu
2d99fe45c0 v0.69.0 2022-08-17 10:31:10 -07:00
metonym
f794cb5312
feat(data-table): dispatch on:click:header--select event (#1453)
* feat(data-table): dispatch `on:click:header--select` event

* Run "yarn build:docs"
2022-08-17 10:19:31 -07:00
metonym
e2a90005b9
docs: replace h3 with h2 headings (#1452) 2022-08-17 07:15:29 -07:00
metonym
b5c4501903
docs(data-table): improve example names and descriptions (#1451)
* docs(data-table): "Selectable" -> "Selectable rows (checkbox)"

* docs(data-table): "Selectable (radio)" -> "Selectable rows (radio)"

* docs(data-table): "Expandable" -> "Expandable rows"

* docs(data-table): update "Batch expansion" description

* docs(data-table): "Expandable and selectable" -> "Expandable and selectable rows"
2022-08-17 07:01:58 -07:00
naegelin
30487128b3
feat(data-table): dispatch on:click:row--select event (#1450) 2022-08-17 06:39:03 -07:00
metonym
60ce334859 v0.68.0 2022-08-15 07:28:36 -07:00
metonym
b42f9ba258
docs: add DataTable example "Batch selection with controlled toolbar" (#1447)
* docs(inline-notification): add `NotificationActionButton` to Component API

* docs(data-table): rename example "Selectable with batch actions"

* docs(data-table): add example "Batch selection with controlled toolbar"

* docs(notification): remove note on minimum Svelte version

This banner is redundant since the minimum Svelte version is displayed in the README and on the home page of the docs.
2022-08-15 06:29:58 -07:00
metonym
8fea168ffd
feat(toast-notification): add fullWidth prop (#1444)
* feat(toast-notification): add `fullWidth` prop

* Run "yarn build:docs"

* test(toast-notification): assert `fullWidth` prop

* docs(toast-notification): add "Full width" example
2022-08-14 14:56:02 -07:00
metonym
b04a281939
fix(toolbar-batch-actions): active prop should be reactive (#1445)
Follow-up to #1440
2022-08-14 14:55:38 -07:00
naegelin
06777ba803
feat(toolbar-batch-actions): dispatch cancelable on:cancel event (#1441)
Closes #1438
2022-08-14 12:09:40 -07:00
naegelin
bc58c7b029
feat(toolbar-batch-actions): add active prop to show toolbar (#1440)
Closes #1438
2022-08-12 08:01:58 -07: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
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