Themeable design system for the SEEK Group
MIT License
Bot releases are visible (Hide)
Published by seek-oss-ci 8 months ago
Text, Heading: Fix maxLines
cropping of decending characters (#1451)
Fixes a bug when using -webkit-box, where the descender on the last line of text could be cropped based on the combination of line height and font size.
Published by seek-oss-ci 8 months ago
Tab: Remove cropping of the icon slot (#1447)
Previously the icon
slot on a Tab
was cropped on the left to improve alignment with the active tab indicator.
For most icons in a Tab
, 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 a string
as children, to prevent the use of other components inside a Badge
.
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)
Published by seek-oss-ci 9 months ago
IconSocialX: Add new icon (#1438)
Add the new IconSocialX
component to the suite of social icons, enabling teams to migrate across from IconSocialTwitter
which has now been marked as deprecated.
EXAMPLE USAGE:
<IconSocialX />
MIGRATION GUIDE:
Teams should migrate from IconSocialTwitter
to IconSocialX
at their earliest convenience. The IconSocialTwitter
component will be removed in a future release.
-<IconSocialTwitter />
+<IconSocialX />
IconSort: Add new icon (#1438)
EXAMPLE USAGE:
<IconSort />
Published by seek-oss-ci 9 months ago
react-focus-lock
to avoid build warnings in Rollup and Vite (#1433)Published by seek-oss-ci 9 months ago
logoHref
prop to HeaderNavigation
, which allows you to customise the route when clicking the Logo
. (#1435)Published by seek-oss-ci 9 months ago
HeaderNavigation
component, used for showing site Logo, theme picker, and displaying the MenuButton
component on smaller screens. (#1429)Published by seek-oss-ci 9 months ago
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" />
Published by seek-oss-ci 9 months ago
Published by seek-oss-ci 9 months ago
Autosuggest: Fix aria-label and aria-labelledby features (#1420)
Fixes an issue where the aria-label
and aria-labelledby
props provided by a consumer were being overidden internally by the Autosuggest
component.
Published by seek-oss-ci 10 months ago
SideNavigationSection
component used to create groups of links in the side bar. (#1415)Published by seek-oss-ci 10 months ago
Published by seek-oss-ci 10 months ago
MenuButton
component used to show and hide the navigation sidebar on mobile devices. (#1409)Published by seek-oss-ci 11 months ago
TooltipRenderer: Fix useLayoutEffect
warnings during SSR (#1407)
Tabs: Improve positioning of the active underline (#1407)
Fixes a bug where the reset module mistakenly included all the tokens for all the themes. (#1405)
Additionally, this includes significant compilation improvements to ensure that only styles for the components being used are included — speeding up build times and reducing the overall CSS bundle size.
Published by seek-oss-ci 11 months ago
Create new package named docs-ui
. (#1401)
This package will contain components for building documentation sites with a consistent user experience to the Braid Design System website.
Currently, this package contains:
LinkableHeading
.Published by seek-oss-ci 11 months ago
Add optional tooltipPlacement
prop to ButtonIcon
(#1390)
The tooltipPlacement
prop allows you to specify the placement of the tooltip to either top
or bottom
.
The default value is top
.
EXAMPLE USAGE:
<ButtonIcon tooltipPlacement="bottom" />
Published by seek-oss-ci 12 months ago
seekJobs: Update formAccent
colour (#1387)
The formAccent
tone, used through our form fields and buttons, is being updated to a derivative of the SEEK brand blue.
As this update only relates to the seekJobs
theme, consumers of other themes will not be affected.
Published by seek-oss-ci 12 months ago
The Braid Provider contains some code to check that it's running in a browser context (otherwise a BraidTestProvider should be used). (#1382)
Part of this check was looking to see if there was a navigator
object, which was not available in Node.
If there were, it would check the userAgent
to determine if it was inside jsdom.
Node 21 has a navigator
object, but it doesn't have a userAgent
property, so this check was failing (cannot read property 'indexOf' of undefined).
The "are we in JSDom" check in the BraidProvider has now been reworked slightly to account for the potentially existing but empty navigator
object.
Published by seek-oss-ci 12 months ago
TextLink, TextLinkButton: Ensure consistent underline thickness on weak links (#1380)
A subtle bug affecting weak links was resulting in a change in underline thickness on hover.
This bug has been fixed such that weak links now always have the same underline thickness regardless of hover state.
Published by seek-oss-ci about 1 year ago