Releases: buildo/bento-design-system
Releases · buildo/bento-design-system
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
📚 Documentation
v0.14.0
What’s Changed
- Deprecate IllustrationProps "style" in favor of "kind" (#411) @gabro
- Allow customizing Table column header background/foreground (#407) @gabro
- Make it easier to customize the default Navigation active element (#408) @gabro
- Add TimeField component (#391) @gabro
- Add 0 to radius allowed values (#399) @gabro
💥 Breaking changes
- Make sure Toast action Bleed matches the action button size (#406) @gabro
- Remove unused iconSize from InputConfig (#410) @gabro
⏩ Migration strategy
The breaking changes above remove two config options, specifically config.toast.smallButtonPaddingY
and config.input.iconSize
.
config.toast.smallButtonPaddingY
isn't needed anymore since we're now able to infer it from the Button
config automatically, you just need to remove it from your custom config, if you were using it.
config.input.iconSize
was simply unused, so it wasn't already having any effect and it can be safely removed. If you need to customize the size of icons inside input fields, look for more specific options like passwordIconSize
.
🐞 Bug fixes
- Make sure Toast action Bleed matches the action button size (#406) @gabro
- Add Outline/Container border to SelectField Menu (#404) @gabro
- Use sprinkles from context instead of bentoSprinkles (#396) @gabro
🔧 Dependency updates
- Update dependency postcss to v8.4.17 (#392) @renovate-bot
- Update dependency ts-jest to v28.0.8 (#393) @renovate-bot
📚 Documentation
v0.13.6
What’s Changed
🐞 Bug fixes
- Make SelectField use its own List config (#387) @gabro
- Fix bug when nesting BentoConfigProvider (#386) @gabro
- Certain navigation components don't trigger their action (#383) @federico-ercoles
🔧 Dependency updates
- Update dependency @floating-ui/dom to v1.0.2 (#384) @renovate-bot
- Update dependency @types/react to v18.0.21 (#385) @renovate-bot
🧹 Chores
📚 Documentation
v0.13.5
v0.13.4
What’s Changed
- Inline props not resolved correctly (#380) @federico-ercoles
- fix import example (#377) @marcopiii
- Menu: allow sub-menus (#359) @federico-ercoles
- Export FieldProps (#369) @federico-ercoles
🔧 Dependency updates
- Update dependency @types/jest to v28.1.8 (#372) @renovate-bot
- Update dependency @types/react to v18.0.20 (#373) @renovate-bot
- Update dependency @vanilla-extract/webpack-plugin to v2.1.12 (#374) @renovate-bot
- Update dependency date-fns to v2.29.3 (#375) @renovate-bot
v0.13.3
v0.13.2
What’s Changed
🔧 Dependency updates
- Update dependency @types/jest to v28.1.7 (#363) @renovate-bot
- Update dependency @testing-library/jest-dom to v5.16.5 (#362) @renovate-bot