Skip to content

Commit

Permalink
Version Packages (#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
seek-oss-ci authored Jun 28, 2024
1 parent 147f0dc commit 60830a6
Show file tree
Hide file tree
Showing 10 changed files with 109 additions and 109 deletions.
17 changes: 0 additions & 17 deletions .changeset/few-planets-invite.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/popular-mails-hunt.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/purple-clocks-impress.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/sharp-bears-remember.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/silver-carpets-act.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/sixty-knives-worry.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/strong-eggs-relax.md

This file was deleted.

61 changes: 61 additions & 0 deletions packages/braid-design-system/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,66 @@
# braid-design-system

## 32.20.0

### Minor Changes

- **Toggle:** Add `togglePosition` prop ([#1509](https://github.com/seek-oss/braid-design-system/pull/1509))

Introduces the `togglePosition` prop, enabling the toggle to either be `leading` or `trailing` its label text.

**EXAMPLE USAGE:**

```jsx
<Toggle togglePosition="trailing" label="Label" />
```

- **Toggle:** Add `bleedY` prop ([#1519](https://github.com/seek-oss/braid-design-system/pull/1519))

Introduces the `bleedY` prop, enabling vertical bleed for the `Toggle` component. This removes excess vertical space created by the `Toggle` input.

**EXAMPLE USAGE:**

```jsx
<Toggle label="Label" bleedY />
```

**MIGRATION GUIDE:**

Vertical bleed will become standard for the `Toggle` component in a future version. Please use the `bleedY` prop with a value of `true` and update your layout accordingly.

- **Tag:** Introduce "addable" support ([#1521](https://github.com/seek-oss/braid-design-system/pull/1521))

Tag actions have been extended to now support being “added”.
A `Tag` will include a small add icon button when both an `onAdd` handler and `addLabel` prop are provided.

**EXAMPLE USAGE:**

```jsx
<Tag onAdd={() => {...}} addLabel="Add Tag" />
```

- **seekJobs:** Use Tahoma for Thai fallback font ([#1527](https://github.com/seek-oss/braid-design-system/pull/1527))

Currently in the `seekJobs` theme, the fallback font for the Thai character set resolves to the default system font which differs by operating system.
By choosing a deterministic fallback that is available across operating systems, we can use [Capsize] to [improve the alignment] with the SEEK Sans web font, and reduce Cumulative Layout Shift for experiences that use Thai.

Additionally, adding `sans-serif` as an ultimate fallback in the event that we ever fall all the way through the stack on an obscure operating system.

[Capsize]: https://seek-oss.github.io/capsize/
[improve the alignment]: https://github.com/seek-oss/capsize?tab=readme-ov-file#createfontstack

### Patch Changes

- **Tag**: Add missing click event parameter to `onClear` prop type ([#1516](https://github.com/seek-oss/braid-design-system/pull/1516))

- **Toggle:** Improve label text vertical alignment at `small` size ([#1518](https://github.com/seek-oss/braid-design-system/pull/1518))

- **Toggle:** Remove tick icon & fix antialias haze when selected ([#1525](https://github.com/seek-oss/braid-design-system/pull/1525))

Simplying the selected state design by removing the tick icon from the toggle thumb.

Also fixes the antialias haze that appears around the thumb when selected.

## 32.19.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/braid-design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "braid-design-system",
"version": "32.19.1",
"version": "32.20.0",
"description": "Themeable design system for the SEEK Group",
"homepage": "https://seek-oss.github.io/braid-design-system/",
"bugs": {
Expand Down
47 changes: 47 additions & 0 deletions site/src/componentUpdates.json
Original file line number Diff line number Diff line change
Expand Up @@ -3899,5 +3899,52 @@
"summary": "Move secondary ButtonIcon tone to icons\n\nFollowing the deprecation of the `secondary` tone of `ButtonIcon`, this updates all internal usages to apply the `secondary` tone directly to the icon."
}
]
},
{
"version": "32.20.0",
"updates": [
{
"updated": [
"Toggle"
],
"summary": "**Toggle:** Add `togglePosition` prop\n\nIntroduces the `togglePosition` prop, enabling the toggle to either be `leading` or `trailing` its label text.\n\n**EXAMPLE USAGE:**\n```jsx\n<Toggle togglePosition=\"trailing\" label=\"Label\" />\n```"
},
{
"updated": [
"Tag"
],
"summary": "**Tag**: Add missing click event parameter to `onClear` prop type"
},
{
"updated": [
"Toggle"
],
"summary": "**Toggle:** Add `bleedY` prop\n\nIntroduces the `bleedY` prop, enabling vertical bleed for the `Toggle` component. This removes excess vertical space created by the `Toggle` input.\n\n**EXAMPLE USAGE:**\n```jsx\n<Toggle label=\"Label\" bleedY />\n```\n\n**MIGRATION GUIDE:**\n\nVertical bleed will become standard for the `Toggle` component in a future version. Please use the `bleedY` prop with a value of `true` and update your layout accordingly."
},
{
"updated": [
"Tag"
],
"summary": "**Tag:** Introduce \"addable\" support\n\nTag actions have been extended to now support being “added”.\nA `Tag` will include a small add icon button when both an `onAdd` handler and `addLabel` prop are provided.\n\n**EXAMPLE USAGE:**\n```jsx\n<Tag onAdd={() => {...}} addLabel=\"Add Tag\" />\n```"
},
{
"updated": [
"seekJobs"
],
"summary": "**seekJobs:** Use Tahoma for Thai fallback font\n\nCurrently in the `seekJobs` theme, the fallback font for the Thai character set resolves to the default system font which differs by operating system.\nBy choosing a deterministic fallback that is available across operating systems, we can use [Capsize] to [improve the alignment] with the SEEK Sans web font, and reduce Cumulative Layout Shift for experiences that use Thai.\n\nAdditionally, adding `sans-serif` as an ultimate fallback in the event that we ever fall all the way through the stack on an obscure operating system.\n\n[Capsize]: https://seek-oss.github.io/capsize/\n[improve the alignment]: https://github.com/seek-oss/capsize?tab=readme-ov-file#createfontstack"
},
{
"updated": [
"Toggle"
],
"summary": "**Toggle:** Improve label text vertical alignment at `small` size"
},
{
"updated": [
"Toggle"
],
"summary": "**Toggle:** Remove tick icon & fix antialias haze when selected\n\nSimplying the selected state design by removing the tick icon from the toggle thumb.\n\nAlso fixes the antialias haze that appears around the thumb when selected."
}
]
}
]

0 comments on commit 60830a6

Please sign in to comment.