Skip to content

Releases: buildo/bento-design-system

v0.16.1

19 Jan 15:58
f92d187
Compare
Choose a tag to compare

What’s Changed

🐞 Bug fixes

  • Fix arrow position when Tooltip is auto-positioned to the left (#514) @gabro

v0.16.0

16 Jan 15:06
bb54674
Compare
Choose a tag to compare

What’s Changed

💥 Breaking changes

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

🔧 Dependency updates

v0.15.7

23 Dec 10:18
cd35719
Compare
Choose a tag to compare

What’s Changed

🐞 Bug fixes

  • ButtonLink Avoid passing "icon" to the link component (#478) @gabro

🔧 Dependency updates

v0.15.6

16 Dec 09:30
770ba95
Compare
Choose a tag to compare

What’s Changed

  • Add rightAccessory to NumberField and NumberInput (#475) @gabro

🐞 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

v0.15.5

02 Dec 11:50
a1b1921
Compare
Choose a tag to compare

What’s Changed

🐞 Bug fixes

  • Remove IsMulti type parameter from SelectField (#462) @gabro

⚠️ This fixes a bug where 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

29 Nov 13:05
a2e4c65
Compare
Choose a tag to compare

What’s Changed

🐞 Bug fixes

  • Honor bento config for MultiValue message in SelectField (#455) @gabro

🔧 Dependency updates

v0.15.3

21 Nov 10:06
3e6b1b7
Compare
Choose a tag to compare

What’s Changed

v0.15.2

18 Nov 14:24
a714046
Compare
Choose a tag to compare

What’s Changed

  • Add several customizations for tableColumn types + allow customzing Feedback size of empty tables (#447) @gabro
  • Force Tooltip position (#379) @federico-ercoles
  • Add baseline option for alignY (#446) @gabro

v0.15.1

16 Nov 17:10
5ae14f3
Compare
Choose a tag to compare

What’s Changed

🐞 Bug fixes

  • Remove stray textTransform: uppercase (#445) @gabro

v0.15.0

16 Nov 09:25
b86871b
Compare
Choose a tag to compare

What’s Changed

  • Add Title as valid typography for Feedback title (#443) @gabro

💥 Breaking changes

Migration strategy

  • #432 deprecates the "default" color value for typography components (except for Label). 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 for color anymore (use "primary" instead)
    • displayRecipe, headlineRecipe and titleRecipe now require a color 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's lineHeight 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

🔧 Dependency updates

🧹 Chores

  • Add detection of circular dependencies (#426) @gabro
  • Avoid including react-dom in the bundle (#420) @gabro

📚 Documentation