Releases: buildo/bento-design-system
v0.16.1
What’s Changed
- Allow interactive rows on Table (#512) @gabro
- Allow separate config of paddingX and paddingY for IconButton (#511) @federico-ercoles
- Allow config of cells and headers padding for Table (#508) @federico-ercoles
- Allow configuring icon position in Button (#510) @gabro
- Allow configuring actions size in Modal (#509) @gabro
🐞 Bug fixes
v0.16.0
What’s Changed
- Allow config of background color for Table's even rows (#507) @federico-ercoles
- Allow customizing open indicator icon in SelectField (#505) @gabro
- Add 12 value for borderRadius (#504) @gabro
- Add spacing token 12 (#499) @federico-ercoles
- Input background (#501) @federico-ercoles
- Make checkbox border radius configurable (#498) @federico-ercoles
- Add missing outline to DatePicker (#489) @federico-ercoles
💥 Breaking changes
- Outline icon button (#503) @federico-ercoles
- Allow Body typography for Feedback's medium title (#500) @federico-ercoles
- Allow Body typography for Chip's label (#502) @federico-ercoles
Migration guide
#503 introduces new outline tokens to the theme. This is needed to allow setting the outline of an interactive element (like Button
or IconButton
) to something different than its content color, which was previously the default. The theme needs to be updated to add these token. A most reasonable default is to use the same values from ...TransparentEnabledForeground
for their corresponding outline tokens (e.g. use the same value as primaryTransparentEnabledForeground
for outlineInteractivePrimaryEnabled
and so on)
#500 and #502 allow Feedback
and Chip
to configure their typography more flexibly. This is breaking because they now accept configurations object where they were accepting a single string previously. The update requires passing such object instead of the plain value.
🐞 Bug fixes
- Fix vertical Divider (#506) @federico-ercoles
🔧 Dependency updates
- Update dependency @floating-ui/core to v1.1.0 (#492) @renovate-bot
- Update dependency @types/react-table to v7.7.14 (#493) @renovate-bot
- Update dependency css-loader to v6.7.3 (#496) @renovate-bot
- Update dependency docusaurus-plugin-react-docgen-typescript to v1.0.2 (#497) @renovate-bot
- Update dependency @vanilla-extract/dynamic to v2.0.3 (#491) @renovate-bot
- Update dependency @types/react-dom to v18.0.10 (#490) @renovate-bot
v0.15.7
What’s Changed
- Expose Chart resources to allow creating custom charts (#486) @federico-ercoles
- Make charts Tooltip follow Card style (#482) @federico-ercoles
- Add support for units of measurement on BarChart component (#476) @federico-ercoles
🐞 Bug fixes
🔧 Dependency updates
- Update dependency @types/react-dom to v18.0.9 (#481) @renovate-bot
- Update dependency @floating-ui/dom to v1.0.12 (#480) @renovate-bot
v0.15.6
What’s Changed
🐞 Bug fixes
- Show rightAccessory in ReadOnlyField (#474) @gabro
- Add missing padding in Table and column cells (#467) @gabro
- Downgrade @react-aria/focus to fix issue with React strict mode (#466) @gabro
🔧 Dependency updates
- Update dependency @floating-ui/core to v1.0.4 (#468) @renovate-bot
- Update dependency @floating-ui/dom to v1.0.9 (#469) @renovate-bot
- Update dependency @types/react to v18.0.26 (#465) @renovate-bot
- Update dependency @floating-ui/react-dom to v1.0.1 (#464) @renovate-bot
v0.15.5
What’s Changed
🐞 Bug fixes
SelectField
required explicit type annotations to work. If you were doing that, the code won't compile anymore since we removed the second type parameter. The easiest fix is to remove the explicit type annotation.
- Allow passing Children to CheckboxField label (#461) @gabro
- Allow deselecting an option when clicking in SelectField (#460) @gabro
🔧 Dependency updates
v0.15.4
What’s Changed
- Add onChangeEnd to SliderField (#454) @gabro
- Add FileUploaderField component (#453) @gabro
- Make FieldProp name and onBlur optional (#456) @gabro
🐞 Bug fixes
🔧 Dependency updates
- Update dependency @floating-ui/dom to v1.0.7 (#458) @renovate-bot
- Update dependency @floating-ui/core to v1.0.2 (#457) @renovate-bot
v0.15.3
v0.15.2
v0.15.1
v0.15.0
What’s Changed
💥 Breaking changes
- Improve underline configuration (#434) @marcopiii
- Uniform the
color
prop of typography components (#432) @marcopiii
Migration strategy
- #432 deprecates the
"default"
color value for typography components (except forLabel
). If you were using<Body color="default" />
it's now recommended to use<Body color="primary" />
instead (which preserves the same behavior)."default"
is kept around for compatibility purposes but it will be removed in the future. - #432 also introduces a breaking change for the typography "recipes" (
bodyRecipe
,titleRecipe
, and so on). Specifically:bodyRecipe
does not accept"default"
as value forcolor
anymore (use"primary"
instead)displayRecipe
,headlineRecipe
andtitleRecipe
now require acolor
parameter (use"primary"
to preserve the previous behavior)
- #434 reduces the set of valid colors for the
Navigation
underline configuration. This has no direct replacement since the colors we removed did not make sense semantically for an underline, so we don't expect anyone was using them. If this change breaks your configuration, please open a discussion. - #434 also changes the configuration type for
Tab
'slineHeight
configuration. If you were customizing this value you now have to use an object like{ medium: 2, large: 2 }
instead of a plain value.
🐞 Bug fixes
- Fix the alignment of labels in
fill-parent
Tabs (#433) @marcopiii
🔧 Dependency updates
- Update dependency tsup to v6 (#441) @renovate-bot
- Update pnpm to v7.15.0 (#440) @renovate-bot
- Update dependency css-loader to v6.7.2 (#438) @renovate-bot
- Update dependency husky to v8.0.2 (#439) @renovate-bot
- Update dependency @types/react-dom to v18.0.8 (#429) @renovate-bot
- Update dependency @types/react to v18.0.25 (#428) @renovate-bot
- Update dependency @floating-ui/dom to v1.0.4 (#418) @renovate-bot
- Update dependency @types/react to v18.0.24 (#419) @renovate-bot
- Update dependency @floating-ui/dom to v1.0.3 (#415) @renovate-bot
- Update storybook monorepo to v6.5.13 (#416) @renovate-bot
- Update dependency postcss to v8.4.18 (#413) @renovate-bot
- Update react-aria monorepo (#414) @renovate-bot
🧹 Chores
- Add detection of circular dependencies (#426) @gabro
- Avoid including react-dom in the bundle (#420) @gabro