braid-design-system@32.18.0
Minor Changes
-
IconPromote: Update semantic icon from sparkles to a megaphone (#1500)
With the introduction of
IconAIrecently adopting the sparkles artwork (aligning with the industry trend), theIconPromotesemantic is now updated to use a megaphone instead of sparkles.This change will run through all semantic usages, for example
Alert,Notice, etc. -
ButtonIcon: Add
smallsize (#1496)Introduce a new
smallsize forButtonIconcomponent.
This size sits alongside the existingstandardandlargesizes.EXAMPLE USAGE:
<ButtonIcon size="small" icon={<IconEdit />} label="Small size" />
-
Add exit animation to
Dialogwhich mirrors the existing entrance animation. (#1489) -
Tag: Add
smallsize (#1497)Introduce a new
smallsize forTagcomponent.
This size sits alongside the existingstandardsize, which is the default.EXAMPLE USAGE:
<Tag size="small">Tag</Tag>
Patch Changes
-
Ensure all paths through
AutoSuggeststate updates are handled. (#1486) -
Fix minor bug which prevented the
Drawerexit animation from occurring. (#1489) -
Update Capsize dependencies (#1484)
-
Adopt
smallsizedButtonIconfor field actions (#1496)Switch over to
small(previouslystandard) sizedButtonIconfor field actions such as clear field, or toggle password visibility. -
Update Crackle CLI dependency (#1480)
-
Improve virtual touch target positioning for narrow elements (#1493)
To maintain accessibility for smaller interactive elements, Braid uses a virtual touch target to maintain the minimum hit area.
This change ensures that the virtual element is always centered to the visual target, in particular when the width of the visual target is narrower than the minimum hit area.