Eric Liu
5e87bd8eb1
docs(checkbox): improve docs
2025-04-22 20:56:58 -07:00
Eric Liu
ecb8e621c8
docs(button-set): improve docs
2025-04-22 20:56:58 -07:00
Eric Liu
b5b102aff5
docs(button): improve docs
2025-04-22 20:56:58 -07:00
Eric Liu
a3a494f29f
docs(breakpoint): improve docs
2025-04-22 20:56:58 -07:00
Eric Liu
fa7096bd78
docs(breadcrumb): improve docs
2025-04-22 20:56:58 -07:00
Eric Liu
29871c2eb1
docs(aspect-ratio): improve docs
2025-04-22 20:56:58 -07:00
Eric Liu
b592515ae4
docs(accordion): improve docs
2025-04-22 20:56:58 -07:00
Eric Liu
95dcaff8be
docs: use consistent heading for "Disabled state"
2025-04-22 20:56:58 -07:00
Eric Liu
4798afa362
v0.89.1
2025-04-21 09:30:54 -07:00
Eric Liu
f8cb660c51
test(date-picker): add unit tests
2025-04-20 15:30:59 -07:00
Eric Liu
f09c2e2c31
fix(toolbar-search): re-filter rows if DataTable
rows change ( #2154 )
...
Fixes #2143
Make `ToolbarSearch` filtering reactive to `DataTable` rows.
Previously, `ToolbarSearch` did not update when `DataTable` rows
changed. Now it subscribes to the context rows and re-runs
`filterRows` in `afterUpdate` to prevent infinite loops.
2025-04-19 13:33:07 -07:00
Eric Liu
b034378277
test(data-table): add tests for DataTableSearch
2025-04-19 13:21:51 -07:00
Eric Liu
b4b055270e
test: use assert instead of casting HTMLElement
2025-04-19 12:51:58 -07:00
Eric Liu
3f09e3ff88
v0.89.0
2025-04-18 10:46:39 -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
f85edef386
ci: use Node version 22.x [ci skip]
2025-04-18 08:46:32 -07:00
dependabot[bot]
896c16a6be
build(deps-dev): bump @sveltejs/kit in /examples/sveltekit
...
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit ) from 2.20.5 to 2.20.6.
- [Release notes](https://github.com/sveltejs/kit/releases )
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.20.6/packages/kit )
---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
dependency-version: 2.20.6
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 18:15:44 -07:00
Eric Liu
f755422f81
build(deps-dev): address vulns
2025-04-12 16:03:53 -07:00
dependabot[bot]
e4bfd9fe28
build(deps-dev): bump vite from 5.4.14 to 5.4.18
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.14 to 5.4.18.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.18/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.18/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 5.4.18
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-12 16:00:29 -07:00
Eric Liu
11246f6521
test(selectable-tile): add unit tests
2025-04-12 15:59:52 -07:00
Eric Liu
892f35aef3
test: delete old test files
2025-04-12 15:59:52 -07:00
Eric Liu
dd41c977ed
perf(to-hierarchy): optimize to use single-pass approach
2025-04-12 15:59:16 -07:00
Eric Liu
a514f284e6
test(to-hierarchy): increase test coverage
2025-04-12 15:59:16 -07:00
Eric Liu
90b96a2fed
test: enable clearMocks
2025-04-12 15:35:49 -07:00
Eric Liu
f0657b1dcd
chore(deps-dev): upgrade vitest
2025-04-12 15:35:49 -07:00
Eric Liu
8ab77c99e2
test(multi-select): more unit tests
2025-04-12 14:34:11 -07:00
Eric Liu
5e8c8b983c
test(local-storage): extract shared global mock
2025-04-12 14:34:11 -07:00
Eric Liu
823a8f69dc
test(fluid-form): add unit tests
2025-04-12 14:34:11 -07:00
Eric Liu
37a1ab30cf
test(form): add unit tests
2025-04-12 14:34:11 -07:00
Eric Liu
b9de4591be
test(button-set): add unit tests
2025-04-12 14:34:11 -07:00
Eric Liu
5bff894ed7
test: delete old test files
2025-04-12 14:34:11 -07:00
Eric Liu
d4ca8b5c97
test(modal): add unit tests ( #2145 )
2025-04-12 12:55:39 -07:00
Eric Liu
da2a308d31
test(data-table): add unit tests ( #2144 )
2025-04-12 12:21:28 -07:00
Eric Liu
c57c0efb73
test(column): add unit tests
2025-04-01 08:47:29 -07:00
Eric Liu
03f3920383
test(dropdown): add more tests
2025-04-01 08:47:29 -07:00
Eric Liu
b3816606f6
test(context-menu): add unit tests
2025-04-01 08:47:29 -07:00
Eric Liu
7c916828f2
test: delete old files
2025-04-01 08:47:29 -07:00
Eric Liu
de0ff76c8f
chore(scripts): fix lints
2025-03-30 09:08:20 -07:00
Eric Liu
5d02a13525
v0.88.4
2025-03-24 09:32:35 -07:00
Eric Liu
1a5f2d8e67
fix(list-box): correct button/description translations based on selection count ( #2139 )
...
The `ListBoxSelection` component now properly handles
translations for the clear button based on the selected items:
- Fix `buttonLabel` and `description` to use the same translation logic
- Add tests for custom translations in both `ComboBox` and `MultiSelect`
2025-03-23 11:28:06 -07:00
Eric Liu
9b61af0306
fix(list-box): set aria-disabled
if disabled
( #2125 ) ( #2138 )
...
Re-apply #2125 (reverted in #2130 ) to preserve `disabled` attribute.
Carbon styles depend on the `[disabled]` attribute. However, the `disabled`
attribute is not valid markup when applied to `div role="option"`. This PR
preserves the existing `disabled` attribute while also setting `aria-disabled`
to maintain accessibility.
2025-03-23 10:46:25 -07:00
Eric Liu
43511e09ec
fix(text-area): allow visually hidden label ( #2137 )
...
This fixes an accessibility issue with `TextArea`.
Currently, if `hideLabel` is `true`, the label is not rendered at all.
The expected behavior is that it should be visually hidden while
still being available to screen readers.
2025-03-23 10:42:47 -07:00
Eric Liu
ca9beebaea
fix(radio-tile): allow standalone RadioTile
usage ( #2136 )
...
Although `RadioTile` is meant to be used inside a `TileGroup`, it feels
unpolished for standalone usage to crash due to a missing parent context.
This fixes `RadioTile` to fail open by providing a no-op `add: () => {}`
when `TileGroup` context is not found.
2025-03-22 13:03:20 -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
dd1338ffc4
fix(list-box-selection): fix aria-label
for clear button ( #2134 )
...
`ListBoxSelection`, used by `MultiSelect` and `ComboBox`, currently
applies the wrong `aria-label` for the clear selection button. It uses
the `translateId` (e.g., `"clearAll"`) instead of the user-friendly copy.
2025-03-22 12:59:16 -07:00
Eric Liu
c6c80d35a9
test: remove CSS import from set-up file
2025-03-20 17:34:20 -07:00
Eric Liu
95f6c97a57
test: remove old files
2025-03-20 17:34:20 -07:00
Eric Liu
d45409c7f3
test(grid): add unit tests
2025-03-20 17:34:20 -07:00