From f54fc3c084eb683982069d04f0d634ea65c8ba93 Mon Sep 17 00:00:00 2001 From: seek-oss-ci <34733141+seek-oss-ci@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:03:56 +1000 Subject: [PATCH] Version Packages (#1582) --- .changeset/bright-squids-ring.md | 15 --- .changeset/good-hats-remember.md | 12 -- .changeset/hungry-ads-cheer.md | 11 -- .changeset/shiny-peas-love.md | 19 --- .changeset/smart-rocks-wait.md | 13 -- .changeset/spicy-olives-travel.md | 105 ---------------- packages/braid-design-system/CHANGELOG.md | 41 ++++++- packages/braid-design-system/package.json | 2 +- site/src/componentUpdates.json | 143 ++++++++++++++++++++++ 9 files changed, 180 insertions(+), 181 deletions(-) delete mode 100644 .changeset/bright-squids-ring.md delete mode 100644 .changeset/good-hats-remember.md delete mode 100644 .changeset/hungry-ads-cheer.md delete mode 100644 .changeset/shiny-peas-love.md delete mode 100644 .changeset/smart-rocks-wait.md delete mode 100644 .changeset/spicy-olives-travel.md diff --git a/.changeset/bright-squids-ring.md b/.changeset/bright-squids-ring.md deleted file mode 100644 index a1e5b0f2431..00000000000 --- a/.changeset/bright-squids-ring.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'braid-design-system': patch ---- - ---- -updated: - - BraidTestProvider ---- - -**BraidTestProvider:** Provide `scrollIntoView` stub function for jsdom - -Fixes an issue where `scrollIntoView` is not defined in jsdom, causing tests to fail with the following error: -``` -Error: Uncaught [TypeError: highlightedItem?.scrollIntoView is not a function] -``` diff --git a/.changeset/good-hats-remember.md b/.changeset/good-hats-remember.md deleted file mode 100644 index 8e416cca71d..00000000000 --- a/.changeset/good-hats-remember.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'braid-design-system': patch ---- - ---- -updated: - - Autosuggest ---- - -**Autosuggest:** Update suggestion group heading design - -Updating the design of the suggestion group headings, moving from `formAccent` to `secondary` tone, from all caps to provided casing, and from `xsmall` to `small` size. diff --git a/.changeset/hungry-ads-cheer.md b/.changeset/hungry-ads-cheer.md deleted file mode 100644 index c3f047cade2..00000000000 --- a/.changeset/hungry-ads-cheer.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'braid-design-system': patch ---- - ---- -updated: - - Text - - Heading ---- - -**Text, Heading:** Ensure `maxLines` truncates correctly when used as the direct child of a flex container. diff --git a/.changeset/shiny-peas-love.md b/.changeset/shiny-peas-love.md deleted file mode 100644 index 5a331732d85..00000000000 --- a/.changeset/shiny-peas-love.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -'braid-design-system': patch ---- - ---- -updated: - - Autosuggest - - Dropdown - - MonthPicker - - PasswordField - - RadioGroup - - TextField - - Textarea ---- - -Validate accessible field labels in development - -Introduce development-time validation for the `label` prop on form fields to guard against blank values and guide towards the alternative labelling options that are available. -This validation helps ensure that all fields are accessible to screen readers and other assistive technologies. diff --git a/.changeset/smart-rocks-wait.md b/.changeset/smart-rocks-wait.md deleted file mode 100644 index 8425c98048b..00000000000 --- a/.changeset/smart-rocks-wait.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'braid-design-system': patch ---- - ---- -updated: - - Spread ---- - -**Spread:** Apply content width to children - -Align the behaviour of children in `Spread` to be the same as `Inline` children. -This makes their behaviour more predicatable when spreading full width elements, while also ensuring child elements are not stretched vertically. diff --git a/.changeset/spicy-olives-travel.md b/.changeset/spicy-olives-travel.md deleted file mode 100644 index 422650b6f40..00000000000 --- a/.changeset/spicy-olives-travel.md +++ /dev/null @@ -1,105 +0,0 @@ ---- -'braid-design-system': patch ---- - ---- -updated: - - IconAI - - IconAdd - - IconArrow - - IconBookmark - - IconCareer - - IconCategory - - IconCaution - - IconChevron - - IconClear - - IconCompany - - IconCompose - - IconCopy - - IconCreditCard - - IconCritical - - IconDate - - IconDelete - - IconDesktop - - IconDocument - - IconDocumentBroken - - IconDownload - - IconEdit - - IconEducation - - IconEnlarge - - IconExperience - - IconFilter - - IconFlag - - IconGift - - IconGlobe - - IconGrid - - IconHash - - IconHeart - - IconHelp - - IconHistory - - IconHome - - IconImage - - IconInfo - - IconInvoice - - IconLanguage - - IconLink - - IconLinkBroken - - IconList - - IconLocation - - IconMail - - IconMessage - - IconMinus - - IconMobile - - IconMoney - - IconNewWindow - - IconNote - - IconNotification - - IconOverflow - - IconPeople - - IconPersonAdd - - IconPersonVerified - - IconPhone - - IconPlatformAndroid - - IconPlatformApple - - IconPositive - - IconPrint - - IconProfile - - IconPromote - - IconRecommended - - IconRefresh - - IconResume - - IconRocket - - IconSearch - - IconSecurity - - IconSend - - IconSent - - IconSentiment - - IconSettings - - IconShare - - IconSkills - - IconSocialFacebook - - IconSocialGitHub - - IconSocialInstagram - - IconSocialLinkedIn - - IconSocialMedium - - IconSocialTwitter - - IconSocialX - - IconSocialYouTube - - IconSort - - IconStar - - IconStatistics - - IconSubCategory - - IconTag - - IconThumb - - IconTick - - IconTime - - IconTip - - IconUpload - - IconVideo - - IconVisibility - - IconWorkExperience - - IconZoomIn - - IconZoomOut ---- - -**Icons:** Support rendering inline as child of a flex container diff --git a/packages/braid-design-system/CHANGELOG.md b/packages/braid-design-system/CHANGELOG.md index 09da3a5525a..7edf1cbf1d0 100644 --- a/packages/braid-design-system/CHANGELOG.md +++ b/packages/braid-design-system/CHANGELOG.md @@ -1,5 +1,35 @@ # braid-design-system +## 32.24.1 + +### Patch Changes + +- **BraidTestProvider:** Provide `scrollIntoView` stub function for jsdom ([#1590](https://github.com/seek-oss/braid-design-system/pull/1590)) + + Fixes an issue where `scrollIntoView` is not defined in jsdom, causing tests to fail with the following error: + + ``` + Error: Uncaught [TypeError: highlightedItem?.scrollIntoView is not a function] + ``` + +- **Autosuggest:** Update suggestion group heading design ([#1581](https://github.com/seek-oss/braid-design-system/pull/1581)) + + Updating the design of the suggestion group headings, moving from `formAccent` to `secondary` tone, from all caps to provided casing, and from `xsmall` to `small` size. + +- **Text, Heading:** Ensure `maxLines` truncates correctly when used as the direct child of a flex container. ([#1580](https://github.com/seek-oss/braid-design-system/pull/1580)) + +- Validate accessible field labels in development ([#1591](https://github.com/seek-oss/braid-design-system/pull/1591)) + + Introduce development-time validation for the `label` prop on form fields to guard against blank values and guide towards the alternative labelling options that are available. + This validation helps ensure that all fields are accessible to screen readers and other assistive technologies. + +- **Spread:** Apply content width to children ([#1583](https://github.com/seek-oss/braid-design-system/pull/1583)) + + Align the behaviour of children in `Spread` to be the same as `Inline` children. + This makes their behaviour more predicatable when spreading full width elements, while also ensuring child elements are not stretched vertically. + +- **Icons:** Support rendering inline as child of a flex container ([#1585](https://github.com/seek-oss/braid-design-system/pull/1585)) + ## 32.24.0 ### Minor Changes @@ -2049,7 +2079,7 @@ For more detail on the specific changes in this release, please read on. ```jsx { + onClose={(closeReason) => { // ... }} /> @@ -2348,7 +2378,7 @@ For more detail on the specific changes in this release, please read on. ```jsx } + trigger={(triggerProps) => } > ... @@ -2780,8 +2810,9 @@ For more detail on the specific changes in this release, please read on. type ThemeName = 'apac' | 'catho'; - const BraidTheme = loadable.lib((props: { themeName: ThemeName }) => - import(`braid-design-system/themes/${props.themeName}`), + const BraidTheme = loadable.lib( + (props: { themeName: ThemeName }) => + import(`braid-design-system/themes/${props.themeName}`), ); interface AppProps { @@ -5440,7 +5471,7 @@ For more detail on the specific changes in this release, please read on. trackSomething(expanded)} + onToggle={(expanded) => trackSomething(expanded)} > ... diff --git a/packages/braid-design-system/package.json b/packages/braid-design-system/package.json index c5d17dd8900..9987789f012 100644 --- a/packages/braid-design-system/package.json +++ b/packages/braid-design-system/package.json @@ -1,6 +1,6 @@ { "name": "braid-design-system", - "version": "32.24.0", + "version": "32.24.1", "description": "Themeable design system for the SEEK Group", "homepage": "https://seek-oss.github.io/braid-design-system/", "bugs": { diff --git a/site/src/componentUpdates.json b/site/src/componentUpdates.json index 159e43b3266..df92274702a 100644 --- a/site/src/componentUpdates.json +++ b/site/src/componentUpdates.json @@ -4142,5 +4142,148 @@ "summary": "**Autosuggest**: Optimise automatic scrolling to selected suggestion by using native browser methods." } ] + }, + { + "version": "32.24.1", + "updates": [ + { + "updated": [ + "BraidTestProvider" + ], + "summary": "**BraidTestProvider:** Provide `scrollIntoView` stub function for jsdom\n\nFixes an issue where `scrollIntoView` is not defined in jsdom, causing tests to fail with the following error:\n```\nError: Uncaught [TypeError: highlightedItem?.scrollIntoView is not a function]\n```" + }, + { + "updated": [ + "Autosuggest" + ], + "summary": "**Autosuggest:** Update suggestion group heading design\n\nUpdating the design of the suggestion group headings, moving from `formAccent` to `secondary` tone, from all caps to provided casing, and from `xsmall` to `small` size." + }, + { + "updated": [ + "Text", + "Heading" + ], + "summary": "**Text, Heading:** Ensure `maxLines` truncates correctly when used as the direct child of a flex container." + }, + { + "updated": [ + "Autosuggest", + "Dropdown", + "MonthPicker", + "PasswordField", + "RadioGroup", + "TextField", + "Textarea" + ], + "summary": "Validate accessible field labels in development\n\nIntroduce development-time validation for the `label` prop on form fields to guard against blank values and guide towards the alternative labelling options that are available.\nThis validation helps ensure that all fields are accessible to screen readers and other assistive technologies." + }, + { + "updated": [ + "Spread" + ], + "summary": "**Spread:** Apply content width to children\n\nAlign the behaviour of children in `Spread` to be the same as `Inline` children.\nThis makes their behaviour more predicatable when spreading full width elements, while also ensuring child elements are not stretched vertically." + }, + { + "updated": [ + "IconAI", + "IconAdd", + "IconArrow", + "IconBookmark", + "IconCareer", + "IconCategory", + "IconCaution", + "IconChevron", + "IconClear", + "IconCompany", + "IconCompose", + "IconCopy", + "IconCreditCard", + "IconCritical", + "IconDate", + "IconDelete", + "IconDesktop", + "IconDocument", + "IconDocumentBroken", + "IconDownload", + "IconEdit", + "IconEducation", + "IconEnlarge", + "IconExperience", + "IconFilter", + "IconFlag", + "IconGift", + "IconGlobe", + "IconGrid", + "IconHash", + "IconHeart", + "IconHelp", + "IconHistory", + "IconHome", + "IconImage", + "IconInfo", + "IconInvoice", + "IconLanguage", + "IconLink", + "IconLinkBroken", + "IconList", + "IconLocation", + "IconMail", + "IconMessage", + "IconMinus", + "IconMobile", + "IconMoney", + "IconNewWindow", + "IconNote", + "IconNotification", + "IconOverflow", + "IconPeople", + "IconPersonAdd", + "IconPersonVerified", + "IconPhone", + "IconPlatformAndroid", + "IconPlatformApple", + "IconPositive", + "IconPrint", + "IconProfile", + "IconPromote", + "IconRecommended", + "IconRefresh", + "IconResume", + "IconRocket", + "IconSearch", + "IconSecurity", + "IconSend", + "IconSent", + "IconSentiment", + "IconSettings", + "IconShare", + "IconSkills", + "IconSocialFacebook", + "IconSocialGitHub", + "IconSocialInstagram", + "IconSocialLinkedIn", + "IconSocialMedium", + "IconSocialTwitter", + "IconSocialX", + "IconSocialYouTube", + "IconSort", + "IconStar", + "IconStatistics", + "IconSubCategory", + "IconTag", + "IconThumb", + "IconTick", + "IconTime", + "IconTip", + "IconUpload", + "IconVideo", + "IconVisibility", + "IconWorkExperience", + "IconZoomIn", + "IconZoomOut" + ], + "summary": "**Icons:** Support rendering inline as child of a flex container" + } + ] } ]