* 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`).
* 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
* fix(ToolTip): better toggling logic
* fix(ToolTip): remove redundant click handler
* fix(ToolTip): ensure at most one ToolTip is open at the same time
- a click event closes the tooltip if the target is not the tooltip or
the tooltip icon.
- the event is registered in the capture phase and a `setTimeout` is used to
deal with edge cases in which a button is used to toggle the tooltip
on or off.
* feat(types): loosen type for Carbon icons #806
* Add closeIcon option and remove stopPropagation on:click in HeaderAction (#840)
* Remove stopPropagation on:click
Remove stopPropagation on:click helps when you have more then one acction to switch between actions tabs
* fix bug for default icon
* add closeIcon attribute to HeaderAction
* feat(types): loosen type for Carbon icons #806
* chore: update TreeView, HeaderAction icon types
Co-authored-by: Daniel Miedzik <daniel.miedzik@gmail.com>
* chore(deps-dev): upgrade carbon-components to v10.35
* feat(tooltip-icon): add icon prop
This allows consumers to pass a Carbon icon as a prop instead of using the default slot.
* fix(tooltip): make screenreader description less verbose
Ref: b5f40d8fc
* feat(search): allow custom search icon
Allows consumers to render a different Carbon icon instead of the default Search16 icon.
* feat(number-input): add hideSteppers prop
Allows consumers to hide the input stepper buttons.
* feat: support expressive styles for Button, UnorderedList, OrderedList
* feat(button): support large size button
Set size to "lg" to use the large size.
* feat(button-skeleton): support xl, lg sizes
* docs(button): add "lg" size to expressive styles example
* feat(file-uploader-item): support field, small sizes
* feat(tooltip-icon): support disabled state
* 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
* fix(tooltip): close tooltip on mousedown event
- remove blur event from tooltip; stop click, mouse propagation on tooltip content
- remove tabindex from open tooltip to prevent outline ring
- refocus trigger icon or trigger text when closing
- remove useless programmatic variable
* docs(tooltip): add reactive example, hidden icon example
* refactor(search): resolve svelte file paths
* docs(Search): add reactive example
* refactor(tag): use class name directive for tag types, resolve svelte icon path
* chore(button-skeleton): deprecate small prop
* fix(breadcrumb-item): type default slot
* refactor(breadcrumb-skeleton): omit unused index
* refactor(aspect-ratio): use class name directive
* refactor(accordion): use the class name directive, resolve svelte icon paths
* refactor(code-snippet): use class name directive, resolve svelte icon paths
* fix(code-snippet-skeleton): CodeSnippetSkeleton can only be single or multi
* refactor(content-switcher): use class name directive
* docs(content-switcher): add reactive example
* docs(content-switcher): remove unused import
* docs(toggle): add reactive example
* refactor(tooltip-definition): use class name directive
* refactor(tooltip-icon): use class name directive
* refactor(tooltip): resolve svelte icon import
* fix(select): type dispatched change event
* refactor(select): resolve svelte icon import
* feat(select-item): spread rest props, avoid $ variable name
* fix(pagination-nav): type dispatched events
* refactor(pagination): resolve svelte imports
* fix(pagination): type dispatched update event
* fix(overflow-menu): type dispatched close event
* fix(number-input): type dispatched change event
* refactor(modal): use class name directive, resolve svelte imports
* refactor(inline-loading): use class name directive, resolve svelte imports
* refactor(composed-modal): resolve svelte icon imports
* refactor(combo-box): resolve svelte imports
* fix(fluid-form): rest props should not override Form class
* refactor(progress-step): resolve svelte icon imports