Skip to content

Commit

Permalink
Version Packages (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
seek-oss-ci authored Apr 6, 2023
1 parent 283d618 commit f0bc999
Show file tree
Hide file tree
Showing 12 changed files with 157 additions and 160 deletions.
29 changes: 0 additions & 29 deletions .changeset/five-pugs-compete.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/green-kiwis-taste.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/happy-plums-clean.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/honest-ants-sneeze.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/loud-birds-scream.md

This file was deleted.

24 changes: 0 additions & 24 deletions .changeset/mighty-apes-grow.md

This file was deleted.

22 changes: 0 additions & 22 deletions .changeset/popular-kangaroos-walk.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/quiet-comics-sin.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/tall-trees-smash.md

This file was deleted.

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

## 32.3.0

### Minor Changes

- **Box, atoms:** Add `borderBrandAccent` variants to available boxShadows ([#1274](https://github.com/seek-oss/braid-design-system/pull/1274))

Add `borderBrandAccent` and `borderBrandAccentLight` to the available boxShadows, combining the `brandAccent` and `brandAccentLight` border colours with the `standard` border width token.
Previously, `brandAccent` was only available with the `large` border width.

**EXAMPLE USAGE:**

```jsx
<Box boxShadow="borderBrandAccent" />;
{
/* or */
}
<Box boxShadow="borderBrandAccentLight" />;
```

```ts
import { atoms } from 'braid-design-system/css';

atoms({ boxShadow: 'borderBrandAccent' });
atoms({ boxShadow: 'borderBrandAccentLight' });
```

- **useToast:** Design uplift with increased page contrast ([#1269](https://github.com/seek-oss/braid-design-system/pull/1269))

As a means to increase constrast against page content, the design has been updated to be presented on inverted backgrounds based on the color mode.
The design has also be refined to remove the sidebar/keyline (consistent with `Alert`), while also applying the `tone` to the provided `message`.

- **Textarea:** Add support for disabling built-in spell checker ([#1272](https://github.com/seek-oss/braid-design-system/pull/1272))

Provide support for disabling the built-in browser spell checker using the native HTML attribute `spellCheck`.

When highlighting ranges you may choose to turn spell check off to prevent colliding highlights. This can be done be setting `spellCheck` to `false`.

**EXAMPLE USAGE:**

```jsx
<Textarea spellCheck={false} />
```

- Add support for `caution` tone to form fields ([#1271](https://github.com/seek-oss/braid-design-system/pull/1271))

Provide support for applying a `caution` tone to form fields.
Specifying this `tone` will show the `IconCaution` alongside the provided `message`.

**EXAMPLE USAGE:**

```jsx
<TextField tone="caution" message="Caution message" />
```

- **Textarea:** Add support for `caution` highlightRanges ([#1272](https://github.com/seek-oss/braid-design-system/pull/1272))

Providing a `tone` of `caution` along with a set of `highlightRanges` will now apply the `caution` tone to the text being highlighted.
To complement this feature, the design has been uplifted to work consistently across both the `critical` and `caution` tones.

**EXAMPLE USAGE:**

```jsx
<Textarea
tone="caution"
message="Caution message"
highlightRanges={...}
/>
```

- **Alert:** Design uplift ([#1269](https://github.com/seek-oss/braid-design-system/pull/1269))

Refine the design to use consistent horizontal container inset, aligning content with elements like `Card`, as well as simplifying the design by removing the sidebar/keyline (consistent with `useToast`).

### Patch Changes

- **Button, ButtonLink:** Align `ghost` border width with field border width ([#1274](https://github.com/seek-oss/braid-design-system/pull/1274))

Align the border width of `ghost` variants with the border width of fields.
This is the final re-alignment piece to ensure all components use theme scales consistently, improving the ability of Braid themes to deliver cohesive design uplift.

- **Stepper:** Reduce size of `Step` indicators ([#1275](https://github.com/seek-oss/braid-design-system/pull/1275))

Refine the design of `Step` indicators by reducing their size.

- **TooltipRenderer:** Remove custom background ([#1268](https://github.com/seek-oss/braid-design-system/pull/1268))

Use the correct semantic token for the background of tooltips.
While there is no visual change, this is just a clean up to ensure the palette usage remains consistent.

## 32.2.0

### Minor 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.2.0",
"version": "32.3.0",
"description": "Themeable design system for the SEEK Group",
"homepage": "https://seek-oss.github.io/braid-design-system/",
"bugs": {
Expand Down
67 changes: 67 additions & 0 deletions site/src/componentUpdates.json
Original file line number Diff line number Diff line change
Expand Up @@ -3160,5 +3160,72 @@
"summary": "**Dialog, Drawer:** Reduce space between title and description\n\nReducing the space between `title` and `description` to `small` to improve association of the header block content"
}
]
},
{
"version": "32.3.0",
"updates": [
{
"updated": [
"Box",
"atoms"
],
"summary": "**Box, atoms:** Add `borderBrandAccent` variants to available boxShadows\n\nAdd `borderBrandAccent` and `borderBrandAccentLight` to the available boxShadows, combining the `brandAccent` and `brandAccentLight` border colours with the `standard` border width token.\nPreviously, `brandAccent` was only available with the `large` border width.\n\n**EXAMPLE USAGE:**\n```jsx\n<Box boxShadow=\"borderBrandAccent\" />\n{/* or */}\n<Box boxShadow=\"borderBrandAccentLight\" />\n```\n\n\n```ts\nimport { atoms } from 'braid-design-system/css';\n\natoms({ boxShadow: 'borderBrandAccent' });\natoms({ boxShadow: 'borderBrandAccentLight' });\n```"
},
{
"updated": [
"Button",
"ButtonLink"
],
"summary": "**Button, ButtonLink:** Align `ghost` border width with field border width\n\nAlign the border width of `ghost` variants with the border width of fields.\nThis is the final re-alignment piece to ensure all components use theme scales consistently, improving the ability of Braid themes to deliver cohesive design uplift."
},
{
"updated": [
"Stepper"
],
"summary": "**Stepper:** Reduce size of `Step` indicators\n\nRefine the design of `Step` indicators by reducing their size."
},
{
"updated": [
"useToast"
],
"summary": "**useToast:** Design uplift with increased page contrast\n\nAs a means to increase constrast against page content, the design has been updated to be presented on inverted backgrounds based on the color mode.\nThe design has also be refined to remove the sidebar/keyline (consistent with `Alert`), while also applying the `tone` to the provided `message`."
},
{
"updated": [
"Textarea"
],
"summary": "**Textarea:** Add support for disabling built-in spell checker\n\nProvide support for disabling the built-in browser spell checker using the native HTML attribute `spellCheck`.\n\nWhen highlighting ranges you may choose to turn spell check off to prevent colliding highlights. This can be done be setting `spellCheck` to `false`.\n\n**EXAMPLE USAGE:**\n```jsx\n<Textarea spellCheck={false} />\n```"
},
{
"updated": [
"Autosuggest",
"Dropdown",
"FieldMessage",
"MonthPicker",
"PasswordField",
"Textarea",
"TextField"
],
"summary": "Add support for `caution` tone to form fields\n\nProvide support for applying a `caution` tone to form fields.\nSpecifying this `tone` will show the `IconCaution` alongside the provided `message`.\n\n**EXAMPLE USAGE:**\n```jsx\n<TextField tone=\"caution\" message=\"Caution message\" />\n```"
},
{
"updated": [
"Textarea"
],
"summary": "**Textarea:** Add support for `caution` highlightRanges\n\nProviding a `tone` of `caution` along with a set of `highlightRanges` will now apply the `caution` tone to the text being highlighted.\nTo complement this feature, the design has been uplifted to work consistently across both the `critical` and `caution` tones.\n\n**EXAMPLE USAGE:**\n```jsx\n<Textarea\n tone=\"caution\"\n message=\"Caution message\"\n highlightRanges={...}\n/>\n```"
},
{
"updated": [
"TooltipRenderer"
],
"summary": "**TooltipRenderer:** Remove custom background\n\nUse the correct semantic token for the background of tooltips.\nWhile there is no visual change, this is just a clean up to ensure the palette usage remains consistent."
},
{
"updated": [
"Alert"
],
"summary": "**Alert:** Design uplift\n\nRefine the design to use consistent horizontal container inset, aligning content with elements like `Card`, as well as simplifying the design by removing the sidebar/keyline (consistent with `useToast`)."
}
]
}
]

0 comments on commit f0bc999

Please sign in to comment.