v0.17.0
New Components
- AspectRatio: utility component for constraining fluid content within an aspect ratio. Supported aspect ratios include "2x1", "16x9", "4x3", "1x1", "3x4", "9x16", "1x2".
Features
- set
rel="nooopener noreferrer"
iftarget="_blank"
for anchor links (PR #321) - Search: support
Search
disabled state (PR #330) - ButtonSkeleton: add size prop consistent with Button (PR #332)
- ProgressIndicatorSkeleton: add count prop (PR #332)
- Accordion: add disabled prop for
Accordion
andAccordionItem
(PR #333) - Accordion: add "sm", "xl" size variants to
Accordion
andAccordionSkeleton
(PR #333) - ContentSwitcher: add "sm", "xl" size variants (PR #334)
- CodeSnippet: add wrapText prop for "multi" type CodeSnippet (PR #335)
- AspectRatio: add AspectRatio component (PR #336)
- Dropdown: dispatch "select" event, use window instead of body for click events (PR #339)
Fixes
- ComboBox: disabled combobox should not open (PR #329)
- InlineLoading: add wrapper class "bx--inline-loading" (PR #332)
- Breadcrumb: forward noTrailingSlash to skeleton (PR #332)
- SkeletonText: unkey paragraph rows due to high collision rate (PR #332)
- AccordionSkeleton: forward align prop (PR #333)
Refactoring
- Icon: remove old logic that inferred icon size from function name (PR #332)
Documentation
- AspectRatio (new component): demo all ratios
- Breadcrumb: use
noTrailingSlash
in skeleton example - Button: demo skeleton size variants
- CodeSnippet: add example "Wrap text"
- ComboBox: add examples "Light variant," "Filterable"
- ContentSwitcher: add examples "Extra-large size" and "Small size"
- SkeletonText: add example "Paragraph with custom line count"
- Pagination: add example "Hidden page size"
- ProgressIndicator: demo custom step count for skeleton
- Link: add example
Target _blank
- MultiSelect: add example "No alphabetical sorting"
- Accordion: add examples for "Extra-large" and "Small" size variants
- Accordion: add examples for "Disabled" and "Disabled (item)"
- AccordionSkeleton: add examples "Skeleton (chevron aligned left)" and size variants
Housekeeping
- chore(deps-dev): bump carbon-components to ^v10.22 (PR #337)
- retire Storybook by removing Storybook-related dependencies, set-up and stories (PR #331)
- use
npm-run-all
to runbuild:css
andbuild:lib
in parallel (PR #331)
Contributors