* chore: remove extra space in description comment
* docs(data-table): fix formatting
* docs(checkbox): fix broken link
* chore(deps-dev): bump deps
* Run "yarn build:docs"
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.
Fixes:
- move `FileUploaderDropContainer` input outside of label to fix a11y error
- prevent inadvertent text selection when clicking through flatpickr months
* chore(deps-dev): upgrade sveld to v0.13.1
* build: separate sveld into a separate build script
* docs(contributing): update guideline on re-building docs
* chore(deps-dev): upgrade carbon-components to v10.51.0
* fix(slider): input should also be labelled
* refactor(date-picker): remove hotfix logic to prevent disabled icon from being clickable
Ref: https://github.com/carbon-design-system/carbon-components-svelte/pull/860
* feat(progress-step): update icons for current, incomplete steps
* 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): 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
* 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
* 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(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
* chore(deps-dev): upgrade carbon-components to v10.33.0
* fix(clickable-tile): support disabled state for ClickableTile
* fix(aspect-ratio): add missing 3x2 ratio
* docs: update number of supported chart types
* feat(link): support link with icon
* refactor(outbound-link): use icon prop
* fix(search): wrap search icon with div
* 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
* 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
* chore(deps-dev): pin sveld dependency to v0.3.0
* docs: escape HTML in component prop descriptions
* docs(ordered-list): describe use case for using native styles
#418
* docs: update count for icons, charts packages
* docs(readme): update description, links