braid-design-system 32.2.0 → 32.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,94 @@
1
1
  # braid-design-system
2
2
 
3
+ ## 32.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - **Box, atoms:** Add `borderBrandAccent` variants to available boxShadows ([#1274](https://github.com/seek-oss/braid-design-system/pull/1274))
8
+
9
+ Add `borderBrandAccent` and `borderBrandAccentLight` to the available boxShadows, combining the `brandAccent` and `brandAccentLight` border colours with the `standard` border width token.
10
+ Previously, `brandAccent` was only available with the `large` border width.
11
+
12
+ **EXAMPLE USAGE:**
13
+
14
+ ```jsx
15
+ <Box boxShadow="borderBrandAccent" />;
16
+ {
17
+ /* or */
18
+ }
19
+ <Box boxShadow="borderBrandAccentLight" />;
20
+ ```
21
+
22
+ ```ts
23
+ import { atoms } from 'braid-design-system/css';
24
+
25
+ atoms({ boxShadow: 'borderBrandAccent' });
26
+ atoms({ boxShadow: 'borderBrandAccentLight' });
27
+ ```
28
+
29
+ - **useToast:** Design uplift with increased page contrast ([#1269](https://github.com/seek-oss/braid-design-system/pull/1269))
30
+
31
+ 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.
32
+ The design has also be refined to remove the sidebar/keyline (consistent with `Alert`), while also applying the `tone` to the provided `message`.
33
+
34
+ - **Textarea:** Add support for disabling built-in spell checker ([#1272](https://github.com/seek-oss/braid-design-system/pull/1272))
35
+
36
+ Provide support for disabling the built-in browser spell checker using the native HTML attribute `spellCheck`.
37
+
38
+ When highlighting ranges you may choose to turn spell check off to prevent colliding highlights. This can be done be setting `spellCheck` to `false`.
39
+
40
+ **EXAMPLE USAGE:**
41
+
42
+ ```jsx
43
+ <Textarea spellCheck={false} />
44
+ ```
45
+
46
+ - Add support for `caution` tone to form fields ([#1271](https://github.com/seek-oss/braid-design-system/pull/1271))
47
+
48
+ Provide support for applying a `caution` tone to form fields.
49
+ Specifying this `tone` will show the `IconCaution` alongside the provided `message`.
50
+
51
+ **EXAMPLE USAGE:**
52
+
53
+ ```jsx
54
+ <TextField tone="caution" message="Caution message" />
55
+ ```
56
+
57
+ - **Textarea:** Add support for `caution` highlightRanges ([#1272](https://github.com/seek-oss/braid-design-system/pull/1272))
58
+
59
+ Providing a `tone` of `caution` along with a set of `highlightRanges` will now apply the `caution` tone to the text being highlighted.
60
+ To complement this feature, the design has been uplifted to work consistently across both the `critical` and `caution` tones.
61
+
62
+ **EXAMPLE USAGE:**
63
+
64
+ ```jsx
65
+ <Textarea
66
+ tone="caution"
67
+ message="Caution message"
68
+ highlightRanges={...}
69
+ />
70
+ ```
71
+
72
+ - **Alert:** Design uplift ([#1269](https://github.com/seek-oss/braid-design-system/pull/1269))
73
+
74
+ 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`).
75
+
76
+ ### Patch Changes
77
+
78
+ - **Button, ButtonLink:** Align `ghost` border width with field border width ([#1274](https://github.com/seek-oss/braid-design-system/pull/1274))
79
+
80
+ Align the border width of `ghost` variants with the border width of fields.
81
+ 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.
82
+
83
+ - **Stepper:** Reduce size of `Step` indicators ([#1275](https://github.com/seek-oss/braid-design-system/pull/1275))
84
+
85
+ Refine the design of `Step` indicators by reducing their size.
86
+
87
+ - **TooltipRenderer:** Remove custom background ([#1268](https://github.com/seek-oss/braid-design-system/pull/1268))
88
+
89
+ Use the correct semantic token for the background of tooltips.
90
+ While there is no visual change, this is just a clean up to ensure the palette usage remains consistent.
91
+
3
92
  ## 32.2.0
4
93
 
5
94
  ### Minor Changes