Commit graph

634 commits

Author SHA1 Message Date
Eric Liu
8797cda8b2 docs: use consistent heading for "Disabled state" 2025-04-22 20:51:59 -07:00
Nick Wing
61ea8dd82c
fix(select): falsy item text should fallback to value (#2152) 2025-04-18 10:34:12 -07:00
Nick Wing
436dea47e8
feat(combo-box): add hideLabel prop (#2153) 2025-04-18 10:27:14 -07:00
Eric Liu
7754ea3691 chore: use import attributes instead of import assertions 2025-04-18 10:25:13 -07:00
Eric Liu
f755422f81 build(deps-dev): address vulns 2025-04-12 16:03:53 -07:00
Eric Liu
1462e300d6
fix(radio-button): forward focus, blur events (#2135)
As identified in #2131, `focus` and `blur` events should be
forwarded to the underlying `RadioButton` element.
2025-03-22 13:02:28 -07:00
Eric Liu
d67b3e0a84 docs(code-snippet): remove note on compatibility 2025-03-19 13:21:14 -07:00
Eric Liu
023b49d050 docs(copy-button): remove note on compatability 2025-03-16 15:37:40 -07:00
dependabot[bot]
49f9cb00ed
build(deps-dev): bump prismjs from 1.29.0 to 1.30.0 in /docs (#2116)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.29.0 to 1.30.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.29.0...v1.30.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>
2025-03-10 15:36:51 -07:00
Eric Liu
a3d1d9f089
chore(deps-dev): upgrade dependencies (#2113) 2025-03-09 14:28:04 -07:00
Eric Liu
a4aefad0e4
docs(ui-shell): add "Header with multiple switchers" example (#2112) 2025-03-09 13:59:36 -07:00
Eric Liu
24b9cbc9c3
feat(ui-shell): HeaderAction supports tooltip (#2111)
Closes #2110
2025-03-09 13:47:34 -07:00
Eric Liu
7481b9a995
feat(data-table): allow custom inputName for radio/checkbox (#2087)
Closes #2085
2025-03-09 13:47:08 -07:00
Eric Liu
21f014d43f
chore(deps-dev): bump deps (#2101) 2025-02-24 09:42:54 -08:00
Eric Liu
dfa133d0b9
docs: update number of carbon-pictograms-svelte to 1,200+ (#2099) 2025-02-15 10:08:07 -08:00
Eric Liu
6bf72d4602
fix(types): loosen icon prop type to any (#2095)
Fixes https://github.com/carbon-design-system/carbon-icons-svelte/issues/207

`carbon-icons-svelte@13` and `carbon-pictograms-svelte@13` now  
only support TypeScript for Svelte 4/5.

The new `Component` type is incompatible with the `icon` prop in  
`carbon-components-svelte`, causing a type error with Svelte 5, as  
`typeof SvelteComponent` doesn't match the new `Component` type.

Since `Component` isn't available in Svelte 3/4, this PR changes  
the `icon` prop type to `any` for compatibility across Svelte 3, 4, and 5.
2025-02-02 19:49:53 -08:00
dependabot[bot]
4021c562e9
build(deps-dev): bump vite from 5.4.9 to 5.4.14 in /docs (#2090)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.9 to 5.4.14.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.14/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.14/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 11:10:37 -08:00
Eric Liu
107b77df6e chore(deps-dev): use culls to prune package.json (#2078) 2024-12-25 10:15:30 -08:00
dependabot[bot]
9e0731d41d
build(deps-dev): bump nanoid from 3.3.7 to 3.3.8 in /docs (#2076)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-14 11:03:07 -08:00
Eric Liu
2d407393b6 docs: bump number of charts from @carbon/charts-svelte [ci skip] 2024-12-09 12:27:38 -08:00
Eric Liu
48afd18e5e
feat: add toHierarchy utility for TreeView, RecursiveList (#2072)
Co-authored-by: Bram <bramhavers@gmail.com>
2024-12-09 12:22:36 -08:00
Eric Liu
1d24da063f
chore(prettier): exclude auto-generated COMPONENT_API.json (#2073) 2024-12-08 10:58:41 -08:00
Eric Liu
765ffc88eb chore: run lint 2024-11-30 10:47:11 -08:00
Eric Liu
e2342aa249 docs: move "Default value" below description 2024-11-24 14:10:01 -08:00
Eric Liu
69d51872a5 docs: omit Prettier from client JS 2024-11-24 13:32:50 -08:00
Eric Liu
8ad7d5967e
docs: set loading="lazy" on iframes (#2062) 2024-11-23 16:47:04 -08:00
Eric Liu
f752c96daf
docs: fix highlighting for lighter themes (#2061) 2024-11-23 16:23:14 -08:00
Eric Liu
f795bb7abc docs(component-api): async load component 2024-11-23 15:49:46 -08:00
Eric Liu
c4b09101e6 docs(component-api): required props are sorted first 2024-11-23 15:27:48 -08:00
Eric Liu
dee74d3470 docs: add syntax highlighting for component API 2024-11-23 15:26:39 -08:00
Eric Liu
2a68b2947c chore(tree-view): remove inline comment breaking formatting 2024-11-23 15:26:39 -08:00
Eric Liu
817482cc6b v0.86.1 2024-11-22 13:51:25 -08:00
Eric Liu
07d226cd87
docs(recursive-list): update mentions of renamed children prop (#2055) 2024-11-21 10:40:10 -08:00
Bram
b9b7bae24c
docs(tree-view): update mentions of renamed children prop (#2054) 2024-11-21 10:35:03 -08:00
dependabot[bot]
4739aaf0dd
build(deps): bump cross-spawn in /docs (#2053)
Bumps  and [cross-spawn](https://github.com/moxystudio/node-cross-spawn). These dependencies needed to be updated together.

Updates `cross-spawn` from 7.0.3 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

Updates `cross-spawn` from 6.0.5 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 14:51:37 -08:00
Eric Liu
5f887f59e8
chore: re-run npm run build:docs (#2051) 2024-11-12 10:27:38 -08:00
Eric Liu
e23a4d1994 build(docs): use node: prefix [ci skip] 2024-11-12 09:52:20 -08:00
Eric Liu
8e996dc683 chore: format files with Prettier 3 2024-11-11 21:35:48 -08:00
Eric Liu
dd43224119
feat(data-table): support generics (#1954)
Co-authored-by: K.Kiyokawa <koichi20110068@gmail.com>
Co-authored-by: brunnerh <brunnerh@users.noreply.github.com>
2024-11-11 21:10:45 -08:00
Eric Liu
752c46b94c
docs(style): increase preview viewer for large screens (#2049) 2024-11-11 15:54:32 -08:00
Eric Liu
9d5e7e31ef
fix(checkbox): bind indeterminate for Svelte 5 compatibility (#2044)
Fixes #2039
2024-11-10 11:50:20 -08:00
Eric Liu
817c072872 docs: use defer instead of async for analytics script 2024-11-10 11:49:16 -08:00
Eric Liu
66dc602889 docs: move IBM analytics script to _layout.svelte 2024-11-10 11:49:16 -08:00
Eric Liu
8a67a5bbf1 docs: add canonical to base index.html 2024-11-10 11:07:43 -08:00
Eric Liu
b0214ec956 docs(multi-select): items should not be reactive (#2042) 2024-11-10 10:10:41 -08:00
Eric Liu
efddbbd3cc docs(treeview): update examples 2024-11-09 14:53:02 -08:00
Eric Liu
82905ac696 feat(treeview)!: rename children prop to nodes for Svelte 5 compatibility 2024-11-09 14:53:02 -08:00
Eric Liu
d655296fcf docs(recursive-list): update examples 2024-11-09 14:50:44 -08:00
Eric Liu
242e2fcbdf feat(recursive-list): rename children prop to nodes for Svelte 5 compatibility 2024-11-09 14:50:44 -08:00
Eric Liu
9ebf6963e0 docs(multi-select): improvements [ci skip] 2024-11-09 14:02:40 -08:00