The `clearFiles` prop description currently reads "Override the default behavior of clearing the array of uploaded files."
This is misleading as `clearFiles` is a component accessor, not a `let` prop.
The non-filterable `MultiSelect` is missing a `blur` event.
Implementation-wise, we have to dispatch it and include the event as the `detail`. Otherwise, the filterable variant will dispatch "blur" twice because it has both a button and input.
The filterable `MultiSelect` continues to forward the blur event to the input.
Use the native `bind:value` to fix two-way reactivity. As a result, "type" is read through `$$restProps` because it cannot be dynamic when using `bind:value`.
Extend value type to include `null` for the "number" type. This is similar to how `NumberInput` works; `null` represents "no value."
* fix(data-table): type DataTableRowId as "any" #530Fixes#530
* fix(tree-view): make first node focusable if activeId does not match selected
* fix(overflow-menu): set type="button" to prevent default submit behavior #554Fixes#554
* fix(overflow-menu): update semantic attributes in OverflowMenuItem
* fix(number-input): do not dispatch change event on initialization #561Fixes#561
* fix(tree-view): make first focusable node tabbable regardless of active/selected states
* fix(date-picker): load rangePlugin dynamically
* build(rollup): enable inlineDynamicImports
* build(rollup): remove "clipboard-copy" global
* fix(overflow-menu): do not render title if using a slot #537Fixes#537
* fix(select): forward missing focus, input events #501Fixes#501
* fix(date-picker): append calendar to date picker element #345Fixes#345
* fix(date-picker): do not import rangePlugin from esm folder
* fix(date-picker): correctly type change event for single/range types
* feat(date-picker): add valueFrom, valueTo for range datepicker
* docs(date-picker): add range type example
* docs(date-picker): extract range example to iframe
* docs(date-picker): extract single type to iframe
* fix(data-table): export useStaticWidth prop
* docs(data-table): add static width example
* fix(data-table): do not render table header if title/description not provided
* feat(modal): dispatch "click:button--primary" as an alias to "submit"
* test: update DataTable types test
* test(modal): update modal type tests
* docs(data-table): add clear reminder to key headers/rows
* chore(deps): remove clipboard-copy
* feat: add copy prop, use navigator.clipboard API
* docs: add clipboard-copy back to docsite for more browser support
* docs(component-api): use outbound link
* docs: add override/prevent copy examples
* feat(code-snippet): add copy functionality
- docs: add custom feedback copy text example
* feat(tile): support disabled state for SelectableTile, RadioTile
Closes#539
* build(rollup): add clipboard-copy to globals
* feat(copy-button): add copy functionality
* feat(content-switcher): deprecate the light prop
- docs: remove the light variant example
* fix(toolbar-search): remove outer div
* feat(search): add searchClass prop
* fix(composed-modal): set hasScrollingContent class on ModalBody
* docs(data-table): add expandable size examples
* feat(tooltip): add TooltipFooter component
* fix(time-picker): correctly display invalidText
* feat(breadcrumb): support overflow menu
* feat(multi-select): export inputRef prop
* chore(deps-dev): upgrade carbon-components to v10.32.0
* feat(form): add noMargin prop to FormGroup
* docs(tooltip): document TooltipFooter
* feat(context-menu): support danger kind for ContextMenuOption
* feat(data-table): support rendering empty table header in skeleton
* refactor(types): use shorter import path in DataTableSkeleton
* feat(data-table): allow sorting to be disabled for a specific header
* docs(data-table): update example to desort the Protocol header
As an example, it makes more sense because all the values ("http") are the same.
* fix(context-menu): set initial y offset of context menu based on window height #577
* fix(context-menu): render submenu based on viewport constraints #577
* 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
* chore: patch prettier-plugin-svelte
* docs(tag): add filterable small tag example
* feat(ui-shell): add SideNavDivider
* feat(combo-box): support warning state
* docs(combo-box): add invalid state example
* fix(progress-step): add title to warning icon
* docs(progress-indicator): add invalid step example
* docs(progress-indicator): add disabled steps example
* feat(truncate): add text truncation component and action
* docs(radio-tile): fix light variant example
* fix(side-effects): add pre-compiled CSS to library side effects
* refactor(css): use shorthand scss imports, add comments
* refactor(truncate): rename "direction" prop to "clamp"
* chore(deps-dev): bump carbon-components to v10.29.0
* feat(combo-box): add direction prop
* feat(dropdown): add direction prop
* feat(multi-select): add direction prop