braid-design-system 31.11.1 → 31.12.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 +22 -0
- package/codemod/dist/wrapper.js +728 -486
- package/lib/components/Button/Button.tsx +3 -3
- package/lib/components/Dropdown/Dropdown.tsx +8 -6
- package/lib/components/MenuRenderer/testHelper.tsx +80 -81
- package/lib/components/RadioGroup/RadioGroup.docs.tsx +26 -2
- package/lib/components/RadioGroup/RadioGroup.screenshots.tsx +16 -0
- package/lib/components/RadioGroup/RadioItem.tsx +1 -2
- package/lib/components/private/Modal/modalTestSuite.tsx +38 -35
- package/lib/components/private/Snippets.ts +2 -2
- package/lib/hooks/useIcon/index.ts +2 -2
- package/lib/stories/all.stories.tsx +13 -6
- package/lib/utils/useSourceFromExample.ts +2 -14
- package/package.json +18 -19
- package/setupTests.ts +1 -0
- package/tsconfig.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# braid-design-system
|
|
2
2
|
|
|
3
|
+
## 31.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- **RadioItem:** Add `disabled` support ([#1108](https://github.com/seek-oss/braid-design-system/pull/1108))
|
|
8
|
+
|
|
9
|
+
Provide support for disabling individual `RadioItem`s within a `RadioGroup`.
|
|
10
|
+
|
|
11
|
+
**EXAMPLE USAGE:**
|
|
12
|
+
|
|
13
|
+
```jsx
|
|
14
|
+
<RadioGroup>
|
|
15
|
+
<RadioItem label="One" value="1" />
|
|
16
|
+
<RadioItem label="Two" value="2" />
|
|
17
|
+
<RadioItem label="Three" value="3" disabled={true} />
|
|
18
|
+
</RadioGroup>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- **Dropdown:** React 18 compatibility ([#1114](https://github.com/seek-oss/braid-design-system/pull/1114))
|
|
24
|
+
|
|
3
25
|
## 31.11.1
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|