Features
- Persist UI Shell Header hamburger menu if
persistentHamburgerMenu
istrue
(PR #396, issue #374, rendered example) - Disable auto focus in ComposedModal if
selectorPrimaryFocus
isnull
(PR #393) - Use small size Toggle variant if
size
is"sm"
; deprecate ToggleSmall which will be removed in the next major release (PR #401)
Fixes
- Fix
currentIndex
reactivity in ProgressIndicator so that it can be programmatically updated (PR #404, issue #399)
Refactoring
- Rewrite TypeScript definitions with better type signatures for slots, dispatched events; fix IntrinsicAttributes errors (PR #385, issue #304)
- Remove useless if statement that wraps
svelte:component
in Button; by design,svelte:component
will not render falsy values (PR #402)
Documentation
- Update auto-generated Component API documentation with output from sveld
- Label reactive component props and list them first
- Replace back ticks in Component API prop descriptions with a
code
tag (PR #392, issue #390) - Simplify date sort method in "Sortable with custom display and sort methods" DataTable example (PR #382)
- Add programmatic ProgressIndicator example
- Add vertical ProgressIndicatorSkeleton example
- Add deprecation warning to the ToggleSmall component
Housekeeping
- Upgrade
carbon-icons-svelte
from version ^10.17 to ^10.21
Breaking Changes
- Internal component TypeScript interfaces are no longer exported to avoid polluting library exports
Contributors
Special thanks to @albertms10 for reviewing pull requests.