braid-design-system 32.17.0 → 32.18.1
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 +62 -0
- package/codemod/dist/wrapper.js +43007 -1053
- package/dist/lib/components/Accordion/AccordionItem.cjs +1 -2
- package/dist/lib/components/Accordion/AccordionItem.css.cjs +2 -1
- package/dist/lib/components/Accordion/AccordionItem.css.mjs +2 -1
- package/dist/lib/components/Accordion/AccordionItem.mjs +1 -2
- package/dist/lib/components/Alert/Alert.cjs +1 -6
- package/dist/lib/components/Alert/Alert.css.cjs +2 -1
- package/dist/lib/components/Alert/Alert.css.mjs +2 -1
- package/dist/lib/components/Alert/Alert.mjs +1 -6
- package/dist/lib/components/Autosuggest/Autosuggest.cjs +6 -3
- package/dist/lib/components/Autosuggest/Autosuggest.mjs +5 -2
- package/dist/lib/components/Autosuggest/{createAccessbilityProps.cjs → createAccessibilityProps.cjs} +2 -2
- package/dist/lib/components/Autosuggest/{createAccessbilityProps.mjs → createAccessibilityProps.mjs} +2 -2
- package/dist/lib/components/Box/BackgroundContext.cjs +1 -1
- package/dist/lib/components/Box/BackgroundContext.mjs +1 -1
- package/dist/lib/components/Button/Button.cjs +0 -2
- package/dist/lib/components/Button/Button.css.cjs +3 -2
- package/dist/lib/components/Button/Button.css.mjs +3 -2
- package/dist/lib/components/Button/Button.mjs +0 -2
- package/dist/lib/components/ButtonIcon/ButtonIcon.cjs +13 -8
- package/dist/lib/components/ButtonIcon/ButtonIcon.css.cjs +3 -2
- package/dist/lib/components/ButtonIcon/ButtonIcon.css.mjs +3 -2
- package/dist/lib/components/ButtonIcon/ButtonIcon.mjs +13 -8
- package/dist/lib/components/ButtonIcon/ButtonIcon.playroom.cjs +6 -1
- package/dist/lib/components/ButtonIcon/ButtonIcon.playroom.mjs +7 -2
- package/dist/lib/components/Tag/Tag.cjs +33 -14
- package/dist/lib/components/Tag/Tag.mjs +34 -15
- package/dist/lib/components/Tag/Tag.playroom.cjs +2 -1
- package/dist/lib/components/Tag/Tag.playroom.mjs +3 -2
- package/dist/lib/components/TextDropdown/TextDropdown.css.cjs +3 -2
- package/dist/lib/components/TextDropdown/TextDropdown.css.mjs +3 -2
- package/dist/lib/components/TextLink/TextLink.cjs +2 -2
- package/dist/lib/components/TextLink/TextLink.mjs +2 -2
- package/dist/lib/components/Toggle/Toggle.cjs +2 -2
- package/dist/lib/components/Toggle/Toggle.css.cjs +2 -2
- package/dist/lib/components/Toggle/Toggle.css.mjs +2 -2
- package/dist/lib/components/Toggle/Toggle.mjs +2 -2
- package/dist/lib/components/icons/IconPromote/IconPromoteSvg.cjs +1 -2
- package/dist/lib/components/icons/IconPromote/IconPromoteSvg.mjs +1 -2
- package/dist/lib/components/private/FieldButtonIcon/FieldButtonIcon.cjs +1 -0
- package/dist/lib/components/private/FieldButtonIcon/FieldButtonIcon.mjs +1 -0
- package/dist/lib/components/private/InlineField/InlineField.cjs +2 -2
- package/dist/lib/components/private/InlineField/InlineField.css.cjs +3 -3
- package/dist/lib/components/private/InlineField/InlineField.css.mjs +3 -3
- package/dist/lib/components/private/InlineField/InlineField.mjs +2 -2
- package/dist/lib/components/private/Modal/Modal.cjs +9 -9
- package/dist/lib/components/private/Modal/Modal.css.cjs +41 -50
- package/dist/lib/components/private/Modal/Modal.css.mjs +42 -51
- package/dist/lib/components/private/Modal/Modal.mjs +10 -10
- package/dist/lib/components/private/touchable/debugTouchable.cjs +4 -3
- package/dist/lib/components/private/touchable/debugTouchable.mjs +4 -3
- package/dist/lib/components/private/touchable/virtualTouchable.css.cjs +1 -10
- package/dist/lib/components/private/touchable/virtualTouchable.css.mjs +2 -11
- package/dist/lib/components/private/touchable/virtualTouchableRules.cjs +4 -2
- package/dist/lib/components/private/touchable/virtualTouchableRules.mjs +4 -2
- package/dist/lib/components/useToast/Toast.cjs +1 -2
- package/dist/lib/components/useToast/Toast.mjs +1 -2
- package/dist/lib/components/useToast/Toaster.cjs +1 -1
- package/dist/lib/components/useToast/Toaster.mjs +2 -2
- package/dist/lib/playroom/snippets/ButtonIcon.cjs +3 -0
- package/dist/lib/playroom/snippets/ButtonIcon.mjs +3 -0
- package/dist/lib/playroom/snippets/Tag.cjs +6 -0
- package/dist/lib/playroom/snippets/Tag.mjs +6 -0
- package/dist/lib/themes/docs/tokens.cjs +1 -2
- package/dist/lib/themes/docs/tokens.mjs +1 -2
- package/dist/lib/themes/wireframe/tokens.cjs +1 -2
- package/dist/lib/themes/wireframe/tokens.mjs +1 -2
- package/dist/wireframe.chunk.d.ts +7 -3
- package/package.json +11 -12
- package/dist/lib/components/private/touchable/virtualTouchable.cjs +0 -6
- package/dist/lib/components/private/touchable/virtualTouchable.mjs +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
# braid-design-system
|
|
2
2
|
|
|
3
|
+
## 32.18.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Dependency updates: ([#1502](https://github.com/seek-oss/braid-design-system/pull/1502))
|
|
8
|
+
- `dedent`: `^1.5.1`
|
|
9
|
+
- `clsx`: `^2.1.1`
|
|
10
|
+
- `is-mobile`: `^4.0.0`
|
|
11
|
+
|
|
12
|
+
## 32.18.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- **IconPromote:** Update semantic icon from sparkles to a megaphone ([#1500](https://github.com/seek-oss/braid-design-system/pull/1500))
|
|
17
|
+
|
|
18
|
+
With the introduction of `IconAI` recently adopting the sparkles artwork (aligning with the industry trend), the `IconPromote` semantic is now updated to use a megaphone instead of sparkles.
|
|
19
|
+
|
|
20
|
+
This change will run through all semantic usages, for example `Alert`, `Notice`, etc.
|
|
21
|
+
|
|
22
|
+
- **ButtonIcon:** Add `small` size ([#1496](https://github.com/seek-oss/braid-design-system/pull/1496))
|
|
23
|
+
|
|
24
|
+
Introduce a new `small` size for `ButtonIcon` component.
|
|
25
|
+
This size sits alongside the existing `standard` and `large` sizes.
|
|
26
|
+
|
|
27
|
+
**EXAMPLE USAGE:**
|
|
28
|
+
|
|
29
|
+
```jsx
|
|
30
|
+
<ButtonIcon size="small" icon={<IconEdit />} label="Small size" />
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
- Add exit animation to `Dialog` which mirrors the existing entrance animation. ([#1489](https://github.com/seek-oss/braid-design-system/pull/1489))
|
|
34
|
+
|
|
35
|
+
- **Tag:** Add `small` size ([#1497](https://github.com/seek-oss/braid-design-system/pull/1497))
|
|
36
|
+
|
|
37
|
+
Introduce a new `small` size for `Tag` component.
|
|
38
|
+
This size sits alongside the existing `standard` size, which is the default.
|
|
39
|
+
|
|
40
|
+
**EXAMPLE USAGE:**
|
|
41
|
+
|
|
42
|
+
```jsx
|
|
43
|
+
<Tag size="small">Tag</Tag>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- Ensure all paths through `AutoSuggest` state updates are handled. ([#1486](https://github.com/seek-oss/braid-design-system/pull/1486))
|
|
49
|
+
|
|
50
|
+
- Fix minor bug which prevented the `Drawer` exit animation from occurring. ([#1489](https://github.com/seek-oss/braid-design-system/pull/1489))
|
|
51
|
+
|
|
52
|
+
- Update Capsize dependencies ([#1484](https://github.com/seek-oss/braid-design-system/pull/1484))
|
|
53
|
+
|
|
54
|
+
- Adopt `small` sized `ButtonIcon` for field actions ([#1496](https://github.com/seek-oss/braid-design-system/pull/1496))
|
|
55
|
+
|
|
56
|
+
Switch over to `small` (previously `standard`) sized `ButtonIcon` for field actions such as clear field, or toggle password visibility.
|
|
57
|
+
|
|
58
|
+
- Update Crackle CLI dependency ([#1480](https://github.com/seek-oss/braid-design-system/pull/1480))
|
|
59
|
+
|
|
60
|
+
- Improve virtual touch target positioning for narrow elements ([#1493](https://github.com/seek-oss/braid-design-system/pull/1493))
|
|
61
|
+
|
|
62
|
+
To maintain accessibility for smaller interactive elements, Braid uses a virtual touch target to maintain the minimum hit area.
|
|
63
|
+
This change ensures that the virtual element is always centered to the visual target, in particular when the width of the visual target is narrower than the minimum hit area.
|
|
64
|
+
|
|
3
65
|
## 32.17.0
|
|
4
66
|
|
|
5
67
|
### Minor Changes
|