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`
`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.
* chore(deps-dev): upgrade svelte to 3.58
* chore(a11y): ignore false positives
Referencing the upstream Carbon React implementation, these warnings can be ignored.
* fix(list-box-menu-item): set `tabindex` to `-1`
* chore: fix `tabindex` capitalization
The Svelte Language server does not detect `tabIndex` as a valid attribute.
Note, however, that `tabIndex` is correct when using it in JavaScript (e.g., `node.tabIndex`).
* fix(list-box-menu-icon): use default translations if `translateWithId` is undefined
* fix(list-box-selection): use default translations if `translateWithId` is undefined
* chore: update ignore rules, remove unused files
* refactor(icons): use icons from carbon-icons-svelte@11
* docs(time-picker): fix default value
* chore: upgrade carbon-icons-svelte to v11
* docs: update examples to use icons from carbon-icons-svelte@11
* docs: update number of icons [ci skip]
* feat(icons): inline carbon icons used by components
* feat(icons): update svelte components to use inlined carbon icons
* breaking(deps): remove carbon-icons-svelte
* chore(deps-dev): install carbon-icons-svelte as a devDependency
* feat(toolbar): forward "clear" event in ToolbarSearch
* docs(search): add on:clear example
* fix(ui-shell): set aria-hidden in SideNav
Ref c2b4f1f00
* chore(deps-dev): upgrade carbon-components to v10.30.0
* fix(text-input): use bx--text-input class for TextInputSkeleton
* fix(radio-button): only render span if labelText is truthy
* docs(password-input): add custom tooltip example
* feat(button): add isSelected prop for icon-only, ghost buttons
* feat(radio-button): add legendText prop to RadioButtonGroup
* docs(tag): add filterable (disabled) variant
* feat(tag): add interactive prop
* chore(number-input): deprecate the mobile variant
Mobile variant styles will no longer work.
* feat(button): set aria-pressed attribute if icon-only, ghost button is selected
* fix(multi-select): type dispatched select event
* fix(button): remove redundant "button" role
* feat(icon): deprecate Icon, IconSkeleton
* feat(ui-shell): make SideNavMenuItem text slottable
* fix(list-box): update styles for ListBoxSelection
* fix(list-box): temporarily apply override styles to ListBoxMenuIcon for chevron
* fix(tag): set disabled prop on interactive tag
* docs(button): extract selected, icon-only button example
* feat(tooltip): elevate z-index of tooltip when open
* feat: forward restProps to input element
* fix(types): fix TimePicker test to pass svelte-check
* feat: add ImageLoader component
* test: add ImageLoader
* feat: add LocalStorage component
* test(local-storage): fix invalid file
* chore(docs): use green tag type