Releases: seek-oss/braid-design-system
braid-design-system@32.16.1
Patch Changes
-
Tab: Remove cropping of the icon slot (#1447)
Previously the
icon
slot on aTab
was cropped on the left to improve alignment with the active tab indicator.
For most icons in aTab
, this was subtle polish, but for others it had the undesirable side effect of clipping the side of the icon.Removing the cropping until we have a better solution for trimming whitespace around icons.
-
Badge: Allow
Badge
to take arrays of values (#1443)Previously,
Badge
only accepted astring
as children, to prevent the use of other components inside aBadge
.However, when a variable is included with text inside the
Badge
, the children property is interpreted as an array. This prevents a very reasonable use case from being allowed:<Badge>{jobs.length} Jobs</Badge> // Error: Type '{ children: string[]; }' is not assignable to type 'BadgeProps'.
This change allows
Badge
to accept a string, number, or array thereof. -
Fix circular dependencies (#1444)
braid-design-system@32.16.0
Minor Changes
-
IconSocialX: Add new icon (#1438)
Add the new
IconSocialX
component to the suite of social icons, enabling teams to migrate across fromIconSocialTwitter
which has now been marked as deprecated.EXAMPLE USAGE:
<IconSocialX />
MIGRATION GUIDE:
Teams should migrate fromIconSocialTwitter
toIconSocialX
at their earliest convenience. TheIconSocialTwitter
component will be removed in a future release.-<IconSocialTwitter /> +<IconSocialX />
-
IconSort: Add new icon (#1438)
EXAMPLE USAGE:
<IconSort />
Patch Changes
braid-design-system@32.15.1
Patch Changes
- Update
react-focus-lock
to avoid build warnings in Rollup and Vite (#1433)
braid-design-system@32.15.0
Minor Changes
-
Rating: Add
weight
support (#1430)Provide a
weight
prop to customise the weight of the text rating alongside the stars.EXAMPLE USAGE:
<Rating rating={3} weight="strong" />
@braid-design-system/docs-ui@2.1.0
Minor Changes
- Add optional
logoHref
prop toHeaderNavigation
, which allows you to customise the route when clicking theLogo
. (#1435)
@braid-design-system/docs-ui@2.0.0
Minor Changes
- Add
HeaderNavigation
component, used for showing site Logo, theme picker, and displaying theMenuButton
component on smaller screens. (#1429)
braid-design-system@32.14.4
Patch Changes
- Inline Vanilla Extract styles imported from Capsize (#1423)
braid-design-system@32.14.3
Patch Changes
-
Autosuggest: Fix aria-label and aria-labelledby features (#1420)
Fixes an issue where the
aria-label
andaria-labelledby
props provided by a consumer were being overidden internally by theAutosuggest
component.
@braid-design-system/docs-ui@1.2.0
Minor Changes
- Add
SideNavigationSection
component used to create groups of links in the side bar. (#1415)
braid-design-system@32.14.2
Patch Changes
- Provide correct types according to https://arethetypeswrong.github.io (#1413)