Releases: buildo/bento-design-system
v0.20.4
v0.20.3
What’s Changed
- add option to virtualize Table rows (#774) @giogonzo
- Allow grouped table headers (#769) @federico-ercoles
🐞 Bug fixes
- Add retrocompatible overload for createBentoProvider (#775) @gabro
- Fix withBentoConfig utility (#776) @federico-ercoles
- Make sure we're passing aria props to InternalCheckbox (#773) @gabro
- Fix error when pressing backspace in TimeField (#768) @gabro
- Fix backgrounds and colors (#766) @federico-ercoles
- Bug: isSelected in List does not have any effect (#759) @federico-ercoles
🔧 Dependency updates
- Update dependency @storybook/testing-library to v0.2.1 (#772) @renovate-bot
- Update dependency @fontsource/lexend to v5.0.12 (#771) @renovate-bot
- Update babel monorepo (#770) @renovate-bot
- Update dependency @types/react-input-mask to v3 (#765) @renovate-bot
- Update dependency @fontsource/lexend to v5.0.11 (#762) @renovate-bot
- Update dependency @types/node to v18.17.14 (#763) @renovate-bot
- Update babel monorepo to v7.22.14 (#761) @renovate-bot
- Update dependency @testing-library/jest-dom to v6 (#756) @renovate-bot
v0.20.2
What’s Changed
- Add "use client" directive to index.ts (#758) @gabro
- Include defaultFonts.ts in sideEffects (#710) @gabro
- Add defaultElevation and defaultPadding config to Card (#682) @federico-ercoles
- Add ThemeProvider (#580) @veej
🔧 Dependency updates
- Update dependency @testing-library/react to v14 (#757) @renovate-bot
- Update dependency @testing-library/dom to v9 (#755) @renovate-bot
- Update typescript-eslint monorepo to v6.5.0 (#754) @renovate-bot
- Update dependency postcss to v8.4.29 (#753) @renovate-bot
- Update storybook monorepo to v7.4.0 (#752) @renovate-bot
- Update dependency recharts to v2.8.0 (#750) @renovate-bot
- Update dependency eslint to v8.48.0 (#748) @renovate-bot
- Update dependency chromatic to v6.24.1 (#747) @renovate-bot
- Update dependency @vanilla-extract/webpack-plugin to v2.3.0 (#746) @renovate-bot
- Update dependency @vanilla-extract/vite-plugin to v3.9.0 (#745) @renovate-bot
- Update dependency @vanilla-extract/esbuild-plugin to v2.3.0 (#744) @renovate-bot
- Update dependency @react-aria/numberfield to v3.7.0 (#743) @renovate-bot
- Update dependency vitest to v0.34.3 (#742) @renovate-bot
- Update dependency @floating-ui/react-dom to v2.0.2 (#738) @renovate-bot
- Update babel monorepo to v7.22.13 (#741) @renovate-bot
- Update dependency @types/react-table to v7.7.15 (#735) @renovate-bot
- Update dependency turbo to v1.10.13 (#736) @renovate-bot
- Update dependency @types/react to v18.2.21 (#734) @renovate-bot
- Update dependency @vanilla-extract/css to v1.13.0 (#731) @renovate-bot
- Update babel monorepo (#733) @renovate-bot
- Update dependency @types/node to v18.17.12 (#730) @renovate-bot
- Update typescript-eslint monorepo to v6.4.1 (#729) @renovate-bot
- Update dependency @types/react to v18.2.20 (#728) @renovate-bot
- Pin dependencies (#725) @renovate-bot
- Pin dependencies (#724) @renovate-bot
- Update dependency @floating-ui/react-dom to v2 (#720) @renovate-bot
- Update storybook monorepo to v7.3.2 (#718) @renovate-bot
- Update dependency @fontsource/lexend to v5 (#721) @renovate-bot
- Update actions/setup-node action to v3 (#719) @renovate-bot
- Update pnpm to v7.33.6 (#717) @renovate-bot
- Update dependency webpack to v5.88.2 (#715) @renovate-bot
- Pin dependency @floating-ui/utils to 0.1.1 (#714) @renovate-bot
- Update dependency tsup to v7.2.0 (#711) @renovate-bot
- Update dependency lint-staged to v13.3.0 (#709) @renovate-bot
- Update dependency playroom to v0.32.1 (#691) @renovate-bot
- Update dependency eslint to v8.47.0 (#708) @renovate-bot
- Update dependency @floating-ui/core to v1.4.1 (#703) @renovate-bot
- Update dependency @internationalized/date to v3.4.0 (#706) @renovate-bot
- Update dependency @vanilla-extract/recipes to v0.5.0 (#707) @renovate-bot
- Update dependency @floating-ui/dom to v1.5.1 (#705) @renovate-bot
- Update dependency @types/node to v18.17.6 (#704) @renovate-bot
- Update react-aria monorepo (#702) @renovate-bot
- Update babel monorepo to v7.22.10 (#700) @renovate-bot
- Update dependency @types/testing-library__jest-dom to v5.14.9 (#701) @renovate-bot
- Update react monorepo (#675) @renovate-bot
- Pin dependencies (#699) @renovate-bot
- Update dependency postcss to v8.4.28 (#674) @renovate-bot
- Update dependency @testing-library/jest-dom to v5.17.0 (#683) @renovate-bot
- Update dependency @types/node to v18.17.5 (#684) @renovate-bot
- Update dependency chromatic to v6.22.0 (#685) @renovate-bot
- Update dependency turbo to v1.10.12 (#687) @renovate-bot
- Update dependency typescript to v4.9.5 (#688) @renovate-bot
- Update dependency ts-loader to v9.4.4 (#686) @renovate-bot
- Update dependency vitest to ^0.34.0 (#689) @renovate-bot
- Update storybook monorepo to v7.2.1 (#690) @renovate-bot
- Update babel monorepo to v7.22.9 (#672) @renovate-bot
- Update dependency @floating-ui/dom to v1.4.5 (#673) @renovate-bot
- Update dependency eslint to v8.45.0 (#677) @renovate-bot
- Update dependency playroom to v0.32.0 (#681) @renovate-bot
- Update storybook monorepo to v7.0.27 (#676) @renovate-bot
- Update dependency eslint-plugin-sort-export-all to v1.4.1 (#678) @renovate-bot
- Update dependency lint-staged to v13.2.3 (#679) @renovate-bot
- Update dependency mini-css-extract-plugin to v2.7.6 (#680) @renovate-bot
🧹 Chores
- Use Vite builder in Storybook (#749) @veej
- Change renovate schedule (#751) @gabro
- Try fixing Chromatic flakiness by waiting a bit (#723) @gabro
- Fix chromatic pipeline (#737) @gabro
- Fix onChange arg in Storybook (#713) @gabro
- Improve renovate configuration (#698) @gabro
- Merge bento-design-system and storybook packages (#660) @gabro
📚 Documentation
⚙️ Configurator
v0.20.1
What’s Changed
- Allow config of button size for FileUploaderField (#661) @federico-ercoles
🐞 Bug fixes
- Remove Checkbox bottom padding (#671) @federico-ercoles
🔧 Dependency updates
- Update dependency @vanilla-extract/webpack-plugin to v2.2.0 (#666) @renovate-bot
- Update dependency postcss to v8.4.25 (#664) @renovate-bot
- Update dependency chromatic to v6.19.9 (#667) @renovate-bot
- Update dependency css-loader to v6.8.1 (#668) @renovate-bot
- Update dependency @vanilla-extract/recipes to v0.4.0 (#657) @renovate-bot
- Update dependency @floating-ui/dom to v1.4.4 (#663) @renovate-bot
- Update storybook monorepo to v7.0.26 (#665) @renovate-bot
- Update dependency date-fns to v2.30.0 (#669) @renovate-bot
- Update dependency esbuild-loader to v2.21.0 (#670) @renovate-bot
- Update babel monorepo (#662) @renovate-bot
v0.20.0
What’s Changed
💥 Breaking changes
- Improvements to ListItem, Navigation and Pagination (#658) @federico-ercoles
- Remove ssr option from BentoProvider (#646) @gabro
- Drop React 17 (#645) @gabro
- Remove createDefineBentoSprinkles (#642) @gabro
Migration guide
-
#658 introduces some minor changes to the DS tokens used for List items when hovered/focused. The changes make the component more consistent with the rest of Bento and do not have a retro-compatible workaround.
-
#645 drops the compatibility with React 17. This enables us to leverage some React 18 specific features more easily. React 17 may still work, but it's no longer supported or tested.
-
#646 builds on #645: we've upgraded react-aria, which now uses React 18's native
useId
hook to generate ids (for example, there are the ids generated to match a label to its field in a form). Previously, react-aria used a custom id generator which ultimately required Bento users to pass thessr={true}
prop toBentoProvider
if they were using Bento in a SSR app. Thanks to our internal use ofuseId
, this is no longer necessary, so we just dropped thessr
prop fromBentoProvider
. You can safely remove it without a change in functionality. -
#642 removes
createDefineBentoSprinkles
. This used to be the primary mechanism for extending Bento with custom tokens, but it turned out to be a TS performance foot gun: usingcreateDefineBentoSprinkles
would increase compilation time by an order of magnitude, causing even tsserver to respond very slowly. We now advise usingcreateSprinkles
from@vanilla-extract/sprinkles
directly, you can read the updated guide for more information: https://developer.bento-ds.com/Customization/atoms-augmentation. The migration fromcreateDefineBentoSprinkles
should be relatively straightforward and only require a little more boilerplate. Feel free to reach out in the Discussions on GitHub if you face issues.
🔧 Dependency updates
- Update dependency @vanilla-extract/sprinkles to v1.6.1 (#649) @renovate-bot
- Drop React 17 (#645) @gabro
- Update storybook monorepo to v7.0.25 (#650) @renovate-bot
- Update dependency @types/node to v18.16.19 (#648) @renovate-bot
- Update dependency @floating-ui/dom to v1.4.3 (#652) @renovate-bot
- Update dependency @floating-ui/core to v1.3.1 (#651) @renovate-bot
- Update dependency @floating-ui/react-dom to v1.3.0 (#653) @renovate-bot
- Update dependency @storybook/testing-library to v0.2.0 (#654) @renovate-bot
- Update dependency @types/babel__traverse to v7.20.1 (#655) @renovate-bot
- Update dependency @vanilla-extract/css to v1.12.0 (#656) @renovate-bot
v0.19.3
v0.19.2
⛔️ This release is broken, please use 0.19.3 instead
What’s Changed
🔧 Dependency updates
- Update dependency @testing-library/dom to v8.20.1 (#629) @renovate-bot
🧹 Chores
📚 Documentation
v0.19.1
What’s Changed
- Implement Pagination component (#633) @federico-ercoles
🔧 Dependency updates
- Update dependency @types/node to v18.16.18 (#634) @renovate-bot
- Update storybook monorepo to v7.0.23 (#635) @renovate-bot
- Update babel monorepo to v7.22.5 (#628) @renovate-bot
📚 Documentation
v0.19.0
What’s Changed
- Fix extra paddings in Calendar (#625) @gabro
- Allow setting different label sizes per button size (#617) @gabro
- Allow to configure border radiuses separately for each corner (#605) @veej
💥 Breaking changes
- [Navigation] Allow to configure Destination's borderRadius and activeVisualElement line width (#604) @veej
- Fix default hint icon size (#603) @veej
Migration guide
#603 and #604 introduce changes to the default config, to better align with the new default theme introduced in v0.18.0.
If you want to upgrade without noticeable changes you can reset to the previous defaults by adding
{
field: {
tip: {
iconSize: 12,
}
},
navigation: {
radius: {
medium: 0,
large: 0,
},
},
}
to the config override in BentoProvider
.
🐞 Bug fixes
🔧 Dependency updates
- Update babel monorepo to v7.22.4 (#618) @renovate-bot
- Update dependency @types/node to v18.16.16 (#619) @renovate-bot
- Update dependency @vanilla-extract/css to v1.11.1 (#620) @renovate-bot
- Update dependency @floating-ui/core to v1.2.6 (#621) @renovate-bot
- Update dependency style-loader to v3.3.3 (#612) @renovate-bot
- Update dependency postcss to v8.4.24 (#611) @renovate-bot
- Update babel monorepo (#613) @renovate-bot
🧹 Chores
- Migrate to Storybook 7 (#623) @gabro
- Patch sprinkles to export SprinklesProperties (#624) @gabro
- Switch from Algolia to local search (#614) @gabro
- Add example code for empty Playroom (#615) @gabro
- Downgrade webpack plugin to fix Playroom (#609) @gabro