Commit graph

2012 commits

Author SHA1 Message Date
Eric Liu
8b477b12f9 test: scaffold component testing with Vitest 2024-11-23 13:36:31 -08:00
Eric Liu
89387004a3 chore(examples): bump deps 2024-11-23 12:25:16 -08:00
Eric Liu
817482cc6b v0.86.1 2024-11-22 13:51:25 -08:00
Eric Liu
e488c88371
fix(tree-view): do not flatten original nodes (#2056)
`$: nodes = traverse(nodes);` is unexpectedly mutating the original `nodes` reference used to render `TreeView`.

As a result, a tail leaf node is appended to the top-level list.

Flattening is necessary to obtain a reference to all node IDs (to programmatically show/hide nodes). This fix creates a new reference `flattenedNodes` instead of overriding the original `nodes`.
2024-11-22 13:24:43 -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
Eric Liu
128da10475 v0.86.0 2024-11-19 18:51:41 -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
cc03d3c75d chore: remove redundant format script [ci skip] 2024-11-11 21:35:48 -08:00
Eric Liu
8e996dc683 chore: format files with Prettier 3 2024-11-11 21:35:48 -08:00
Eric Liu
1dcd09bd98 chore(deps-dev): upgrade prettier to v3 2024-11-11 21:35:48 -08:00
Eric Liu
4881ff7ffd build(scripts): convert to ESM 2024-11-11 21:24:06 -08:00
Eric Liu
9234119d7b build(package)!: set type="module" 2024-11-11 21:24:06 -08:00
metonym
066fea5180 build!: remove bundled ESM/UMD support 2024-11-11 21:24:06 -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
9f1b997765
chore(deps-dev): upgrade sveld to v0.22 (#2048) 2024-11-10 15:35:29 -08:00
Eric Liu
7e173943ac
fix(toolbar-menu): remove redundant menu offset for Svelte 5 compatibility (#2047)
Fixes #2040
2024-11-10 11:50:54 -08:00
Eric Liu
99ba6f3db9
fix(inline-checkbox): bind indeterminate for Svelte 5 compatibility (#2045)
Fixes #2039
2024-11-10 11:50:41 -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
fd9d7ee943 chore(deps-dev): upgrade svelte-check to v4 (#2043) 2024-11-10 10:53:02 -08:00
Eric Liu
c7529fe3f8 build(scripts): replace glob with tinyglobby (#2041) 2024-11-10 10:10:51 -08:00
Eric Liu
b0214ec956 docs(multi-select): items should not be reactive (#2042) 2024-11-10 10:10:41 -08:00
Eric Liu
3192824322
fix(data-table): handle ToolbarSearch filtering in DataTable (#2037) 2024-11-10 09:27:27 -08:00
Paweł Malinowski
1acd713537
fix(multi-select): avoid cyclic dependency for Svelte 5 compatibility (#2034) 2024-11-09 14:53:46 -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
metonym
44486080b8 ci: run test:src-types in workflow 2024-11-09 14:46:39 -08:00
metonym
1c64f4717d chore: add script to test generated types 2024-11-09 14:46:39 -08:00
metonym
6fbd8ae6a9 fix(types): use type alias instead of interface for $$restProps 2024-11-09 14:41:28 -08:00
Eric Liu
57e99f3a4c chore(deps-dev): upgrade sveld to 0.21.0 2024-11-09 14:41:28 -08:00
Eric Liu
d8b936dc0b v0.85.4 2024-11-09 14:36:21 -08:00
Eric Liu
37c8100d52 ci: add script to prune package.json for release 2024-11-09 14:30:39 -08:00
Eric Liu
b54fda9457 ci: rename ci.yml 2024-11-09 14:30:39 -08:00
Eric Liu
02d1a8b692 build(scripts): use node: prefix 2024-11-09 14:30:39 -08:00
Eric Liu
9ebf6963e0 docs(multi-select): improvements [ci skip] 2024-11-09 14:02:40 -08:00
Eric Liu
58e4655bad chore(examples): bump deps 2024-11-09 11:29:53 -08:00
Eric Liu
7923515279 chore(docs): add meta description 2024-11-09 11:26:59 -08:00
Eric Liu
da2d28a426 chore(docs): bump deps 2024-11-09 11:26:43 -08:00
Eric Liu
f25a23dd26 test: fix type errors 2024-11-09 10:07:46 -08:00
Eric Liu
f69b2f15b5 test: use carbon-components-svelte for type imports 2024-11-09 10:07:46 -08:00
Eric Liu
31efd1fa1a build: use compilerOptions.paths to alias types 2024-11-09 10:07:46 -08:00
Eric Liu
cec7ef00cf build: enforce noUnusedLocals and noUnusedParameters 2024-11-09 10:07:46 -08:00