carbon-components-svelte
Advanced tools
Changelog
0.18.0 - 2020-10-17
Features
Fixes
ArrayExpression
in exported props (PR 341)Breaking Changes
DataTable
in favor of named slots (PR 341)Documentation
Changelog
0.17.0 - 2020-10-16
Features
rel="nooopener noreferrer"
if target="_blank"
on link components (PR #321)Search
disabled state (PR #330)Accordion
and AccordionItem
(PR #333)Accordion
and AccordionSkeleton
(PR #333)Fixes
Refactoring
Documentation
noTrailingSlash
in skeleton exampleTarget _blank
Housekeeping
Changelog
0.16.0 - 2020-10-12
Features
pageSizeInputDisabled
prop to hide page size buttons (default is false
) (PR #292)ref
prop (PR #303)carbon-components
to version 10.21Fixes
href
prop to fix TypeScript errors (PR #301)id
prop to fix TypeScript errors (PR #303)light
prop should use the light variant (PR #303)setContext
import (PR #308)css/all.css
: default theme should be "white," not "g10" (PR #322)HeaderAction
menu should close when clicking in the window, not just the document body (PR #323)Performance
Breaking Changes
css/all.css
, set the "theme" attribute on the HTML element to "g10" in order to use the Gray 10 themeDocumentation
CONTRIBUTING.md
README.md
(PR #324, PR #325)Housekeeping
Changelog
0.15.0 - 2020-10-01
Features
DataTableSkeleton: add size
prop to support "compact", "small", "tall" row heights (PR #279, thanks @albertms10)
HeaderPanelLink: forward click event (PR #286, thanks @weaseldotro)
FluidForm: add FluidForm
component and support fluid variants for TextInput
, PasswordInput
(PR #293, thanks @josefaidt)
UI Shell: add ref
prop to interactive (i.e., anchor links, buttons) UI Shell elements (PR #297, thanks @josefaidt)
Fixes
Slider: attach mousemove/touch events to document body, not slider input (issue #288)
Slider: value
prop type should be a number
, not a string
(issue #289)
Slider: input value should not update if disabled
is true
Slider: change
event should only be dispatched if the value changes
UI Shell: correctly bind ref
prop in HeaderGlobalAction
(PR #297, thanks @josefaidt)
export DatePickerSkeleton
, FileUploaderSkeleton
components
Breaking Changes
compact
prop is removed in favor of size="compact"
Dependencies
carbon-icons-svelte
to version ^10.17.0Housekeeping
prettier: enable svelteBracketNewLine
for improved readability (PR #281, thanks @josefaidt)
git: add husky, lint-staged to development workflow (PR #295, thanks @josefaidt)
Changelog
0.14.0 - 2020-09-23
Features
Modal
, ComposedModal
: add preventCloseOnClickOutside
propModal
: add alert
prop to support alertdialog ARIA role (PR #273, thanks @josefaidt)TextInput
: add warn
prop (PR #275, thanks @josefaidt)TextInput
: add inline
prop (PR #277, thanks @josefaidt)Fixes
DataTableSkeleton
: add showHeader
, showToolbar
propsOverflowMenu
: focus menu button on escape key onlyDataTable
: fix headers
JSDoc type annotation (PR #271, thanks @albertms10)Breaking Changes
DataTableSkeleton
: showHeader
and showToolbar
are true
by defaultChangelog
0.13.0 - 2020-09-18
Features
Move helper text below form inputs in ComboBox
, Dropdown
, MultiSelect
, TextArea
, NumberInput
, TextInput
, Select
(PR #256, issue #255)
ProgressIndicator: add spaceEqual
prop and functionality (PR #263, issue #262)
Fixes
Link: remove visited styles by default (PR #259, issue #258)
TimePickerSelect: deprecate hideLabel
prop to match spec and set default value to true
(PR #261, issue #260)
Breaking Changes
hideLabel
prop is true
by defaultChangelog
0.12.1 - 2020-09-14
Fixes
page
, pageSize
values are numbers (0138910)pageSize
or page
values update (458d1b5)16
instead of 24
) (192f98d)tabindex
if disabled
is true
(3202f39)keydown
, tabindex
to input element (17d97d1)