Commit graph

1813 commits

Author SHA1 Message Date
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
metonym
052acfc2ce
Revert "fix(notification): on:close should be cancellable (#1379)" (#1381)
This reverts commit 924b6d352e.
2022-06-29 10:57:37 -07:00
metonym
5fa07ab44b v0.66.2 2022-06-29 10:18:24 -07:00
metonym
04f18ae5e9
docs(notification): add examples "Prevent default close behavior" (#1380)
Follow-up to #1379
2022-06-29 10:14:22 -07:00
tlkh40
924b6d352e
fix(notification): on:close should be cancellable (#1379)
Fixes #927
2022-06-29 07:08:51 -07:00
Eric Liu
3b3a9c9a29 v0.66.1 2022-06-27 05:51:31 -07:00
metonym
5a8bd9ca57
chore(code-snippet): preserve custom copy event type (#1375) 2022-06-27 05:44:05 -07:00
metonym
45627aad1f
docs: rename ComboBox example, do not open modal in DatePicker by default (#1374)
* docs(combo-box): "Selected id" -> " Initial selected id"

* docs(date-picker): do not open modal by default to prevent stealing focusing
2022-06-26 16:43:34 -07:00
metonym
c346b8edc0
fix(side-nav-menu): remove title attribute from menu icon (#1373) 2022-06-26 13:56:08 -07:00
metonym
d5d6294b02
refactor(code-snippet): pass required text prop to CopyButton (#1372)
This also passes the `copy` prop to `CopyButton` instead of wrapping it in another function.
2022-06-25 16:26:27 -07:00
metonym
6a3614bf55
fix(password-input): support invalid state when used in a FluidForm (#1371)
* fix(password-input): support invalid state when used in a `FluidForm`

* docs(fluid-form): add example "Invalid state"
2022-06-25 08:17:19 -07:00
metonym
83c11fd460
fix(side-nav-menu): chevron icon should not be focusable (#1369) 2022-06-23 05:55:01 -07:00
metonym
388a05c290
fix(side-nav-menu): expanded SideNavMenu should not have a max-height (#1368)
* fix(side-nav-menu): expanded `SideNavMenu` should not have a max-height (fixes #1361)

* chore(docs): remove max-height override
2022-06-23 05:52:02 -07:00
dependabot[bot]
f2a9ae4638
chore(deps): bump jsdom from 16.4.0 to 16.7.0 in /docs (#1367)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.7.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.7.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 22:37:08 -07:00
dependabot[bot]
87391022df
chore(deps): bump got from 11.8.3 to 11.8.5 in /examples/snowpack (#1366)
Bumps [got](https://github.com/sindresorhus/got) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5)

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 22:36:50 -07:00
dependabot[bot]
510629b511
chore(deps): bump shell-quote from 1.7.2 to 1.7.3 in /docs (#1365)
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases)
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md)
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 22:20:25 -07:00
metonym
9fcf9855e6
fix(composed-modal): node to focus is possibly null (#1364)
Fixes #1360
2022-06-22 06:24:02 -07:00
Eric Liu
c7be47cefb chore(changelog): include Slider example "Full width" [ci skip] 2022-06-18 13:11:28 -07:00