From 403e97d44a79cecf6ebce37663182266f5cf9e62 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 27 Jan 2025 22:31:25 +0000 Subject: [PATCH] Version Packages --- .changeset/big-toys-walk.md | 10 ---- .changeset/friendly-trains-explain.md | 11 ----- .changeset/green-wasps-fail.md | 22 --------- .changeset/lovely-snakes-relax.md | 25 ---------- .changeset/olive-actors-shop.md | 7 --- .changeset/purple-otters-heal.md | 17 ------- .changeset/three-wombats-travel.md | 6 --- packages/braid-design-system/CHANGELOG.md | 57 +++++++++++++++++++++++ packages/braid-design-system/package.json | 2 +- packages/docs-ui/CHANGELOG.md | 8 ++++ packages/docs-ui/package.json | 2 +- packages/source.macro/CHANGELOG.md | 6 +++ packages/source.macro/package.json | 2 +- site/src/componentUpdates.json | 36 ++++++++++++++ 14 files changed, 110 insertions(+), 101 deletions(-) delete mode 100644 .changeset/big-toys-walk.md delete mode 100644 .changeset/friendly-trains-explain.md delete mode 100644 .changeset/green-wasps-fail.md delete mode 100644 .changeset/lovely-snakes-relax.md delete mode 100644 .changeset/olive-actors-shop.md delete mode 100644 .changeset/purple-otters-heal.md delete mode 100644 .changeset/three-wombats-travel.md diff --git a/.changeset/big-toys-walk.md b/.changeset/big-toys-walk.md deleted file mode 100644 index 4d57e14576f..00000000000 --- a/.changeset/big-toys-walk.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'braid-design-system': patch ---- - ---- -updated: - - AccordionItem ---- - -**AccordionItem**: Fix issue that caused `data` props to be incorrectly parsed. diff --git a/.changeset/friendly-trains-explain.md b/.changeset/friendly-trains-explain.md deleted file mode 100644 index 846d35ac7c7..00000000000 --- a/.changeset/friendly-trains-explain.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'braid-design-system': patch ---- - ---- -updated: - - MenuRenderer - - OverflowMenu ---- - -**MenuRenderer, OverflowMenu**: Ensure the menu has a maximum height. diff --git a/.changeset/green-wasps-fail.md b/.changeset/green-wasps-fail.md deleted file mode 100644 index 2883c52330f..00000000000 --- a/.changeset/green-wasps-fail.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -'braid-design-system': minor ---- - ---- -updated: - - theme ---- - -**theme:** Expose web fonts `href` on runtime tokens - -Extend the `webFonts` runtime token to include the `href` property containing the web font URL. -This enables custom handling of web fonts beyond injecting the pre-constructed `link` tag(s). - -**EXAMPLE USAGE:** -```jsx -import seekJobs from 'braid-design-system/themes/seekJobs'; - -const webFontHrefs = seekJobs.webFonts.map(({ href }) => href); - -// => [ "https://www.seek.com.au/static/shared-web/seeksans.css" ] -``` diff --git a/.changeset/lovely-snakes-relax.md b/.changeset/lovely-snakes-relax.md deleted file mode 100644 index 7c2e625a0e9..00000000000 --- a/.changeset/lovely-snakes-relax.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -'braid-design-system': minor ---- - ---- -updated: - - Rating ---- - -**Rating:** Adopt `brandAccent` tone - -The stars in the `Rating` component now use the `brandAccent` tone rather than the `rating` token from the theme. - -As a result the `rating` variable has been deprecated and will be removed in a future release. - -**MIGRATION GUIDE:** -```diff -# styles.css.ts -import { vars } from 'braid-design-system/css'; - -export const myStyle = style({ -- color: vars.foreground.rating, -+ color: vars.foreground.brandAccent, -}); -``` diff --git a/.changeset/olive-actors-shop.md b/.changeset/olive-actors-shop.md deleted file mode 100644 index e0f51280338..00000000000 --- a/.changeset/olive-actors-shop.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'braid-design-system': patch -'@braid-design-system/source.macro': patch -'@braid-design-system/docs-ui': patch ---- - -Apply import order rules internally diff --git a/.changeset/purple-otters-heal.md b/.changeset/purple-otters-heal.md deleted file mode 100644 index c242dc62ca8..00000000000 --- a/.changeset/purple-otters-heal.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'braid-design-system': minor ---- - ---- -updated: - - Rating ---- - -**Rating:** Add `tone` support - -For usages where the `Rating` component should not be accentuated, the `tone` prop can be used to apply `neutral` tone. - -**EXAMPLE USAGE:** -```jsx - -``` diff --git a/.changeset/three-wombats-travel.md b/.changeset/three-wombats-travel.md deleted file mode 100644 index 52eaae7803c..00000000000 --- a/.changeset/three-wombats-travel.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'braid-design-system': patch -'@braid-design-system/docs-ui': patch ---- - -Remove default React import internally diff --git a/packages/braid-design-system/CHANGELOG.md b/packages/braid-design-system/CHANGELOG.md index 052f7d056ea..d7d80e04cf7 100644 --- a/packages/braid-design-system/CHANGELOG.md +++ b/packages/braid-design-system/CHANGELOG.md @@ -1,5 +1,62 @@ # braid-design-system +## 33.4.0 + +### Minor Changes + +- **theme:** Expose web fonts `href` on runtime tokens ([#1685](https://github.com/seek-oss/braid-design-system/pull/1685)) + + Extend the `webFonts` runtime token to include the `href` property containing the web font URL. + This enables custom handling of web fonts beyond injecting the pre-constructed `link` tag(s). + + **EXAMPLE USAGE:** + + ```jsx + import seekJobs from 'braid-design-system/themes/seekJobs'; + + const webFontHrefs = seekJobs.webFonts.map(({ href }) => href); + + // => [ "https://www.seek.com.au/static/shared-web/seeksans.css" ] + ``` + +- **Rating:** Adopt `brandAccent` tone ([#1693](https://github.com/seek-oss/braid-design-system/pull/1693)) + + The stars in the `Rating` component now use the `brandAccent` tone rather than the `rating` token from the theme. + + As a result the `rating` variable has been deprecated and will be removed in a future release. + + **MIGRATION GUIDE:** + + ```diff + # styles.css.ts + import { vars } from 'braid-design-system/css'; + + export const myStyle = style({ + - color: vars.foreground.rating, + + color: vars.foreground.brandAccent, + }); + ``` + +- **Rating:** Add `tone` support ([#1693](https://github.com/seek-oss/braid-design-system/pull/1693)) + + For usages where the `Rating` component should not be accentuated, the `tone` prop can be used to apply `neutral` tone. + + **EXAMPLE USAGE:** + + ```jsx + + ``` + +### Patch Changes + +- **AccordionItem**: Fix issue that caused `data` props to be incorrectly parsed. ([#1680](https://github.com/seek-oss/braid-design-system/pull/1680)) + +- **MenuRenderer, OverflowMenu**: Ensure the menu has a maximum height. ([#1679](https://github.com/seek-oss/braid-design-system/pull/1679)) + +- Apply import order rules internally ([#1689](https://github.com/seek-oss/braid-design-system/pull/1689)) + +- Remove default React import internally ([#1690](https://github.com/seek-oss/braid-design-system/pull/1690)) + ## 33.3.0 ### Minor Changes diff --git a/packages/braid-design-system/package.json b/packages/braid-design-system/package.json index f2a436bbae1..033af8f72a3 100644 --- a/packages/braid-design-system/package.json +++ b/packages/braid-design-system/package.json @@ -1,6 +1,6 @@ { "name": "braid-design-system", - "version": "33.3.0", + "version": "33.4.0", "description": "Themeable design system for the SEEK Group", "homepage": "https://seek-oss.github.io/braid-design-system/", "bugs": { diff --git a/packages/docs-ui/CHANGELOG.md b/packages/docs-ui/CHANGELOG.md index 80ff36ff1b5..69056b706f9 100644 --- a/packages/docs-ui/CHANGELOG.md +++ b/packages/docs-ui/CHANGELOG.md @@ -1,5 +1,13 @@ # @braid-design-system/docs-ui +## 3.0.1 + +### Patch Changes + +- Apply import order rules internally ([#1689](https://github.com/seek-oss/braid-design-system/pull/1689)) + +- Remove default React import internally ([#1690](https://github.com/seek-oss/braid-design-system/pull/1690)) + ## 3.0.0 ### Major Changes diff --git a/packages/docs-ui/package.json b/packages/docs-ui/package.json index a6e1886c3a6..24eb3b52929 100644 --- a/packages/docs-ui/package.json +++ b/packages/docs-ui/package.json @@ -1,6 +1,6 @@ { "name": "@braid-design-system/docs-ui", - "version": "3.0.0", + "version": "3.0.1", "license": "MIT", "author": "SEEK", "exports": { diff --git a/packages/source.macro/CHANGELOG.md b/packages/source.macro/CHANGELOG.md index 9a6d4602a35..4760036d207 100644 --- a/packages/source.macro/CHANGELOG.md +++ b/packages/source.macro/CHANGELOG.md @@ -1,5 +1,11 @@ # @braid-design-system/source.macro +## 0.1.3 + +### Patch Changes + +- Apply import order rules internally ([#1689](https://github.com/seek-oss/braid-design-system/pull/1689)) + ## 0.1.2 ### Patch Changes diff --git a/packages/source.macro/package.json b/packages/source.macro/package.json index 64ccb847d97..c5aa67244f1 100644 --- a/packages/source.macro/package.json +++ b/packages/source.macro/package.json @@ -1,6 +1,6 @@ { "name": "@braid-design-system/source.macro", - "version": "0.1.2", + "version": "0.1.3", "main": "source.macro.cjs", "types": "source.macro.d.ts", "files": [ diff --git a/site/src/componentUpdates.json b/site/src/componentUpdates.json index 74c77ce6ddf..78b0f2e8eb8 100644 --- a/site/src/componentUpdates.json +++ b/site/src/componentUpdates.json @@ -4669,5 +4669,41 @@ "summary": "**Accordion, AccordionItem**: Adjust spacing values for improved visual balance.\n\nThis change reduces the default spacing within `Accordion` and `AccordionItem` components at certain sizes, ensuring the content is better associated with the correct `AccordionItem`.\n\nWithin the `Accordion` component, the default space between `AccordionItem` components has been reduced for size `large` with dividers, and sizes `small` and `xsmall` without dividers.\nWithin the `AccordionItem` component, the space between the `label` and content has been reduced for sizes `large` and `small`." } ] + }, + { + "version": "33.4.0", + "updates": [ + { + "updated": [ + "AccordionItem" + ], + "summary": "**AccordionItem**: Fix issue that caused `data` props to be incorrectly parsed." + }, + { + "updated": [ + "MenuRenderer", + "OverflowMenu" + ], + "summary": "**MenuRenderer, OverflowMenu**: Ensure the menu has a maximum height." + }, + { + "updated": [ + "theme" + ], + "summary": "**theme:** Expose web fonts `href` on runtime tokens\n\nExtend the `webFonts` runtime token to include the `href` property containing the web font URL.\nThis enables custom handling of web fonts beyond injecting the pre-constructed `link` tag(s).\n\n**EXAMPLE USAGE:**\n```jsx\nimport seekJobs from 'braid-design-system/themes/seekJobs';\n\nconst webFontHrefs = seekJobs.webFonts.map(({ href }) => href);\n\n// => [ \"https://www.seek.com.au/static/shared-web/seeksans.css\" ]\n```" + }, + { + "updated": [ + "Rating" + ], + "summary": "**Rating:** Adopt `brandAccent` tone\n\nThe stars in the `Rating` component now use the `brandAccent` tone rather than the `rating` token from the theme.\n\nAs a result the `rating` variable has been deprecated and will be removed in a future release.\n\n**MIGRATION GUIDE:**\n```diff\n# styles.css.ts\nimport { vars } from 'braid-design-system/css';\n\nexport const myStyle = style({\n- color: vars.foreground.rating,\n+ color: vars.foreground.brandAccent,\n});\n```" + }, + { + "updated": [ + "Rating" + ], + "summary": "**Rating:** Add `tone` support\n\nFor usages where the `Rating` component should not be accentuated, the `tone` prop can be used to apply `neutral` tone.\n\n**EXAMPLE USAGE:**\n```jsx\n\n```" + } + ] } ]