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."
* 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
* docs: update number of available Carbon icons
* docs: add svelte:head example for loading CDN styles
* chore(deps-dev): upgrade svelte to 3.40.1
* fix(a11y): disable a11y-mouse-events-have-key-events warning #760
* fix(deps): upgrade carbon-icons-svelte to v10.36.0 to avoid a11y warnings #760
* refactor(overflow-menu): remove formatStyle utility
* docs: links in paragraphs should be inline
* docs: add note on using all styles for dynamic theming
* chore(deps-dev): upgrade carbon-components to v10.38.0
* feat(text-input): support read-only variant
* docs: use consistent lingo for inline variant examples
* docs(popover): add Popover alignment example
* fix(file-uploader): adjust markup to avoid accessibility errors
Ref: 0dfde60e3
* fix(inline-loading): use error filled icon
* fix(inline-loading): render iconDescription as title in error/warning icons
Ref: 51c53c923
* fix(structured-list): update accessibility attributes
* fix(tooltip-definition): use span instead of div
Ref: cb6de3025
* fix(multi-select): close menu when blurring the last filterable option
* fix(multi-select): open/focus field for filterable multiselect #635
* fix(multi-select): unblock focus when blurring input #635
* fix(combo-box): select correct item with keys, allow input after clearing #195
* fix(combo-box): update input text if item is selected
* feat(combo-box): render checkmark icon for selected item
* fix(ui-shell): toggle SideNav rail when clicking the hamburger menu #699
* fix(context-menu): update context menu classes #684
* docs(context-menu): improve demo instructions #684
* fix(context-menu): close menu when clicking anywhere
* chore(deps-dev): upgrade carbon-components to v10.36.0
* feat(structured-list): add condensed, flush props
* fix(structured-list): deprecate the border prop
* fix(code-snippet): set min/max height for multi-line code snippet #656Fixes#656
* fix(image-loader): make SSR compatible using a window type check guard
* docs(tag): add separate disabled example for filterable/interactive tags
* docs: update number of supported chart types
* feat(side-nav): support rail variant
* feat(ui-shell): add isSelected prop to HeaderNavItem
* fix(ui-shell): default isSelected to false in SideNavMenuItem
* fix(text-area): forward missing keydown event #665Fixes#665
* feat: forward keyup event to components with inputs
* feat(checkbox): make labelText slottable #563Closes#563
* feat: make labelText slottable
Related #563
* docs(component-api): account for undefined type
* docs(ui-shell): link to correct rail source
* fix(ui-shell): default isSelected in HeaderNavItem to false
* feat(theme): add g80 theme
* docs(data-table): use link with icon variant
* feat(search): support expandable variant
* fix(file-uploaded): use semantic p element instead of strong
* feat(side-nav): dispatch open, close, click:overlay events
* refactor(ui-shell): remove usage of deprecated Icon component
* feat(ui-shell): allow custom hamburger menu icons
* feat(button): support xl size
* fix(code-snippet): wrap code element with pre
* refactor(button): use button specific tooltip class for icon-only variant
* feat(password-input): support warning, inline props
* feat(data-table): support medium size
* 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(deps-dev): bump devDependencies
* docs: update number of available carbon icons
* feat(notification): distinguish dispatched close event between click/timeout
* fix(notification): prevent class from being overriden by $$restProps
* docs(notification): improve example body copy
* fix(notification): remove notificationType prop
* refactor(notification): resolve svelte file in imports
* fix(notification): prevent class from being overridden by $$restProps
* feat(notification): update TS signature for dispatched close event
* docs: update contributing
* fix(loading): adjust spinner styles
* feat(tag): support custom icon variant
* feat(tile): add optional expand/collapse icon labels to ExpandableTile
* feat(code-snippet): support disabled state for single and multi-line types
* fix(code-snippet): remove impossible class directive
* fix(code-snippet): showMoreLess button size should be "field", not "small"
* fix(password-input): disable visibility button
- set default values for tooltipAlignment, tooltipPosition
* fix(text-input): add missing warning field wrapper class
* feat(button): infer hasIconOnly using $$slots API
- requires Svelte version >=3.25
* docs(button): add danger tertiary, icon-only example
* feat(button): set default values for tooltip alignment, position
* docs: document dynamic theming
* fix(modal): correctly set class props #482
* fix(form): forward submit event in FluidForm #487
* feat(dropdown): support warning state
* feat(multi-select): support warning state
* fix(multi-select): prevent dropdown from opening if disabled
* feat(number-input): support warning state
* chore(deps-dev): upgrade devDependencies
* docs: bump @carbon/themes, carbon-components
* refactor(data-table): co-locate DataTableSkeleton with DataTable
* docs: update number of pictograms
* fix(password-input): add missing "bx--btn" class to visibility toggle
* docs: increase z-index for component preview