Eric Liu
e0ffc97b29
Add code comment and format DataTableTypes.d.ts
2024-11-11 21:02:32 -08:00
Eric Liu
69de338796
Update value types
2024-11-11 21:02:32 -08:00
Eric Liu
bd6f52cbae
Change loosened type to string * {}
2024-11-11 21:02:32 -08:00
Eric Liu
7b464408a9
tests: revert need to specify empty header key
...
Based on 6ca28efc
2024-11-11 21:02:32 -08:00
Eric Liu
d6704ec2b5
test(data-table): update test
2024-11-11 21:02:32 -08:00
Eric Liu
df1d40257d
Loosen empty table row header key
2024-11-11 21:02:32 -08:00
Eric Liu
ed3a3956fb
test: add nested headers example
2024-11-11 21:02:32 -08:00
brunnerh
e49369ef02
Tweaks to DataTable generics ( #1968 )
...
Adjust DataTable types.
- Make key in `cell` slot prop less strict to prevent type errors in markup.
- Resolve property path names up to one level deep for header keys.
2024-11-11 21:02:32 -08:00
Eric Liu
140e8ff468
test: fix existing tests
2024-11-11 21:02:32 -08:00
Eric Liu
25274520c6
test: add DataTable
generics test
2024-11-11 21:02:32 -08:00
Eric Liu
38df04e69e
Run "yarn build:docs"
2024-11-11 21:02:32 -08:00
Eric Liu
94262c17a4
feat(data-table): update JSDocs to use generics
2024-11-11 21:02:32 -08:00
K.Kiyokawa
1827b6db3a
feat: typing for DataTable row and cell
2024-11-11 21:02:32 -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
Eric Liu
79ec465dbd
chore(deps-dev): upgrade svelte-check
2024-11-09 10:07:46 -08:00
metonym
ac38e9d353
docs: support CTRL+K to trigger docs search
2024-11-08 09:50:52 -08:00
Eric Liu
c93be373ea
style(docs): use autoWidth
for <Tabs />
2024-11-03 14:11:57 -08:00
Eric Liu
5be3da2722
docs: add Bun install command
2024-11-03 14:11:57 -08:00