@box/blueprint-web 7.2.4 → 7.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.
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type RadioGroupItemProps, type RadioGroupProps as RadixRadioGroupProps } from '@radix-ui/react-radio-group';
|
|
2
|
+
import { type ReactNode } from 'react';
|
|
2
3
|
import { type StyledText } from '../utils/commonTypes';
|
|
3
4
|
export type RadioGroupProps = RadixRadioGroupProps;
|
|
4
5
|
export interface RadioItemProps extends RadioGroupItemProps {
|
|
5
6
|
/** The value given as data when submitted with a name. */
|
|
6
7
|
value: string;
|
|
7
8
|
/** The label for the radio button. */
|
|
8
|
-
label:
|
|
9
|
+
label: ReactNode;
|
|
9
10
|
/** Additional text to aid in use. */
|
|
10
11
|
description?: StyledText;
|
|
11
12
|
/** When true, prevents the user from interacting with the radio item */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/blueprint-web",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"type-fest": "^3.2.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@box/storybook-utils": "^0.
|
|
58
|
+
"@box/storybook-utils": "^0.2.0",
|
|
59
59
|
"react-stately": "^3.31.1"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "be4d2575ba424d38f85127842fd567d915b1ef7f",
|
|
62
62
|
"module": "lib-esm/index.js",
|
|
63
63
|
"main": "lib-esm/index.js",
|
|
64
64
|
"exports": {
|