@react-spectrum/radio 3.0.0-nightly.2912 → 3.0.0-nightly.2917
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/dist/Radio.main.js +9 -9
- package/dist/Radio.mjs +9 -9
- package/dist/Radio.module.js +9 -9
- package/dist/RadioGroup.main.js +4 -4
- package/dist/RadioGroup.mjs +4 -4
- package/dist/RadioGroup.module.js +4 -4
- package/package.json +12 -12
package/dist/Radio.main.js
CHANGED
@@ -53,25 +53,25 @@ function $e8d5518f9c1aca76$var$Radio(props, ref) {
|
|
53
53
|
...styleProps,
|
54
54
|
...hoverProps,
|
55
55
|
ref: domRef,
|
56
|
-
className: (0, $8lI9m$reactspectrumutils.classNames)((0, ($parcel$interopDefault($a8fbff4889c18df2$exports))),
|
56
|
+
className: (0, $8lI9m$reactspectrumutils.classNames)((0, ($parcel$interopDefault($a8fbff4889c18df2$exports))), 'spectrum-Radio', {
|
57
57
|
// Removing. Pending design feedback.
|
58
58
|
// 'spectrum-Radio--labelBelow': labelPosition === 'bottom',
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
59
|
+
'spectrum-Radio--quiet': !isEmphasized,
|
60
|
+
'is-disabled': isDisabled,
|
61
|
+
'is-invalid': state.isInvalid,
|
62
|
+
'is-hovered': isHovered
|
63
63
|
}, styleProps.className)
|
64
64
|
}, /*#__PURE__*/ (0, ($parcel$interopDefault($8lI9m$react))).createElement((0, $8lI9m$reactariafocus.FocusRing), {
|
65
|
-
focusRingClass: (0, $8lI9m$reactspectrumutils.classNames)((0, ($parcel$interopDefault($a8fbff4889c18df2$exports))),
|
65
|
+
focusRingClass: (0, $8lI9m$reactspectrumutils.classNames)((0, ($parcel$interopDefault($a8fbff4889c18df2$exports))), 'focus-ring'),
|
66
66
|
autoFocus: autoFocus
|
67
67
|
}, /*#__PURE__*/ (0, ($parcel$interopDefault($8lI9m$react))).createElement("input", {
|
68
68
|
...inputProps,
|
69
69
|
ref: inputRef,
|
70
|
-
className: (0, $8lI9m$reactspectrumutils.classNames)((0, ($parcel$interopDefault($a8fbff4889c18df2$exports))),
|
70
|
+
className: (0, $8lI9m$reactspectrumutils.classNames)((0, ($parcel$interopDefault($a8fbff4889c18df2$exports))), 'spectrum-Radio-input')
|
71
71
|
})), /*#__PURE__*/ (0, ($parcel$interopDefault($8lI9m$react))).createElement("span", {
|
72
|
-
className: (0, $8lI9m$reactspectrumutils.classNames)((0, ($parcel$interopDefault($a8fbff4889c18df2$exports))),
|
72
|
+
className: (0, $8lI9m$reactspectrumutils.classNames)((0, ($parcel$interopDefault($a8fbff4889c18df2$exports))), 'spectrum-Radio-button')
|
73
73
|
}), children && /*#__PURE__*/ (0, ($parcel$interopDefault($8lI9m$react))).createElement("span", {
|
74
|
-
className: (0, $8lI9m$reactspectrumutils.classNames)((0, ($parcel$interopDefault($a8fbff4889c18df2$exports))),
|
74
|
+
className: (0, $8lI9m$reactspectrumutils.classNames)((0, ($parcel$interopDefault($a8fbff4889c18df2$exports))), 'spectrum-Radio-label')
|
75
75
|
}, children));
|
76
76
|
}
|
77
77
|
/**
|
package/dist/Radio.mjs
CHANGED
@@ -47,25 +47,25 @@ function $337c5cb580c4e6ba$var$Radio(props, ref) {
|
|
47
47
|
...styleProps,
|
48
48
|
...hoverProps,
|
49
49
|
ref: domRef,
|
50
|
-
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))),
|
50
|
+
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))), 'spectrum-Radio', {
|
51
51
|
// Removing. Pending design feedback.
|
52
52
|
// 'spectrum-Radio--labelBelow': labelPosition === 'bottom',
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
53
|
+
'spectrum-Radio--quiet': !isEmphasized,
|
54
|
+
'is-disabled': isDisabled,
|
55
|
+
'is-invalid': state.isInvalid,
|
56
|
+
'is-hovered': isHovered
|
57
57
|
}, styleProps.className)
|
58
58
|
}, /*#__PURE__*/ (0, $1v8IR$react).createElement((0, $1v8IR$FocusRing), {
|
59
|
-
focusRingClass: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))),
|
59
|
+
focusRingClass: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))), 'focus-ring'),
|
60
60
|
autoFocus: autoFocus
|
61
61
|
}, /*#__PURE__*/ (0, $1v8IR$react).createElement("input", {
|
62
62
|
...inputProps,
|
63
63
|
ref: inputRef,
|
64
|
-
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))),
|
64
|
+
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))), 'spectrum-Radio-input')
|
65
65
|
})), /*#__PURE__*/ (0, $1v8IR$react).createElement("span", {
|
66
|
-
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))),
|
66
|
+
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))), 'spectrum-Radio-button')
|
67
67
|
}), children && /*#__PURE__*/ (0, $1v8IR$react).createElement("span", {
|
68
|
-
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))),
|
68
|
+
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))), 'spectrum-Radio-label')
|
69
69
|
}, children));
|
70
70
|
}
|
71
71
|
/**
|
package/dist/Radio.module.js
CHANGED
@@ -47,25 +47,25 @@ function $337c5cb580c4e6ba$var$Radio(props, ref) {
|
|
47
47
|
...styleProps,
|
48
48
|
...hoverProps,
|
49
49
|
ref: domRef,
|
50
|
-
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))),
|
50
|
+
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))), 'spectrum-Radio', {
|
51
51
|
// Removing. Pending design feedback.
|
52
52
|
// 'spectrum-Radio--labelBelow': labelPosition === 'bottom',
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
53
|
+
'spectrum-Radio--quiet': !isEmphasized,
|
54
|
+
'is-disabled': isDisabled,
|
55
|
+
'is-invalid': state.isInvalid,
|
56
|
+
'is-hovered': isHovered
|
57
57
|
}, styleProps.className)
|
58
58
|
}, /*#__PURE__*/ (0, $1v8IR$react).createElement((0, $1v8IR$FocusRing), {
|
59
|
-
focusRingClass: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))),
|
59
|
+
focusRingClass: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))), 'focus-ring'),
|
60
60
|
autoFocus: autoFocus
|
61
61
|
}, /*#__PURE__*/ (0, $1v8IR$react).createElement("input", {
|
62
62
|
...inputProps,
|
63
63
|
ref: inputRef,
|
64
|
-
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))),
|
64
|
+
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))), 'spectrum-Radio-input')
|
65
65
|
})), /*#__PURE__*/ (0, $1v8IR$react).createElement("span", {
|
66
|
-
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))),
|
66
|
+
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))), 'spectrum-Radio-button')
|
67
67
|
}), children && /*#__PURE__*/ (0, $1v8IR$react).createElement("span", {
|
68
|
-
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))),
|
68
|
+
className: (0, $1v8IR$classNames)((0, ($parcel$interopDefault($1v8IR$radio_vars_cssmodulejs))), 'spectrum-Radio-label')
|
69
69
|
}, children));
|
70
70
|
}
|
71
71
|
/**
|
package/dist/RadioGroup.main.js
CHANGED
@@ -41,7 +41,7 @@ $parcel$export(module.exports, "RadioGroup", () => $aa5529d97b69d048$export$a98f
|
|
41
41
|
function $aa5529d97b69d048$var$RadioGroup(props, ref) {
|
42
42
|
props = (0, $bzUrP$reactspectrumprovider.useProviderProps)(props);
|
43
43
|
props = (0, $bzUrP$reactspectrumform.useFormProps)(props);
|
44
|
-
let { isEmphasized: isEmphasized, children: children, orientation: orientation =
|
44
|
+
let { isEmphasized: isEmphasized, children: children, orientation: orientation = 'vertical' } = props;
|
45
45
|
let domRef = (0, $bzUrP$reactspectrumutils.useDOMRef)(ref);
|
46
46
|
let state = (0, $bzUrP$reactstatelyradio.useRadioGroupState)(props);
|
47
47
|
let { radioGroupProps: radioGroupProps, ...otherProps } = (0, $bzUrP$reactariaradio.useRadioGroup)(props, state);
|
@@ -49,12 +49,12 @@ function $aa5529d97b69d048$var$RadioGroup(props, ref) {
|
|
49
49
|
...props,
|
50
50
|
...otherProps,
|
51
51
|
ref: domRef,
|
52
|
-
wrapperClassName: (0, $bzUrP$reactspectrumutils.classNames)((0, ($parcel$interopDefault($53124a3a0fd56fca$exports))),
|
52
|
+
wrapperClassName: (0, $bzUrP$reactspectrumutils.classNames)((0, ($parcel$interopDefault($53124a3a0fd56fca$exports))), 'spectrum-FieldGroup'),
|
53
53
|
elementType: "span"
|
54
54
|
}, /*#__PURE__*/ (0, ($parcel$interopDefault($bzUrP$react))).createElement("div", {
|
55
55
|
...radioGroupProps,
|
56
|
-
className: (0, $bzUrP$reactspectrumutils.classNames)((0, ($parcel$interopDefault($53124a3a0fd56fca$exports))),
|
57
|
-
|
56
|
+
className: (0, $bzUrP$reactspectrumutils.classNames)((0, ($parcel$interopDefault($53124a3a0fd56fca$exports))), 'spectrum-FieldGroup-group', {
|
57
|
+
'spectrum-FieldGroup-group--horizontal': orientation === 'horizontal'
|
58
58
|
})
|
59
59
|
}, /*#__PURE__*/ (0, ($parcel$interopDefault($bzUrP$react))).createElement((0, $f5a8721b9af05d97$exports.RadioContext).Provider, {
|
60
60
|
value: {
|
package/dist/RadioGroup.mjs
CHANGED
@@ -35,7 +35,7 @@ function $parcel$interopDefault(a) {
|
|
35
35
|
function $ac9b96486fc4badf$var$RadioGroup(props, ref) {
|
36
36
|
props = (0, $ah3ae$useProviderProps)(props);
|
37
37
|
props = (0, $ah3ae$useFormProps)(props);
|
38
|
-
let { isEmphasized: isEmphasized, children: children, orientation: orientation =
|
38
|
+
let { isEmphasized: isEmphasized, children: children, orientation: orientation = 'vertical' } = props;
|
39
39
|
let domRef = (0, $ah3ae$useDOMRef)(ref);
|
40
40
|
let state = (0, $ah3ae$useRadioGroupState)(props);
|
41
41
|
let { radioGroupProps: radioGroupProps, ...otherProps } = (0, $ah3ae$useRadioGroup)(props, state);
|
@@ -43,12 +43,12 @@ function $ac9b96486fc4badf$var$RadioGroup(props, ref) {
|
|
43
43
|
...props,
|
44
44
|
...otherProps,
|
45
45
|
ref: domRef,
|
46
|
-
wrapperClassName: (0, $ah3ae$classNames)((0, ($parcel$interopDefault($ah3ae$fieldgroup_vars_cssmodulejs))),
|
46
|
+
wrapperClassName: (0, $ah3ae$classNames)((0, ($parcel$interopDefault($ah3ae$fieldgroup_vars_cssmodulejs))), 'spectrum-FieldGroup'),
|
47
47
|
elementType: "span"
|
48
48
|
}, /*#__PURE__*/ (0, $ah3ae$react).createElement("div", {
|
49
49
|
...radioGroupProps,
|
50
|
-
className: (0, $ah3ae$classNames)((0, ($parcel$interopDefault($ah3ae$fieldgroup_vars_cssmodulejs))),
|
51
|
-
|
50
|
+
className: (0, $ah3ae$classNames)((0, ($parcel$interopDefault($ah3ae$fieldgroup_vars_cssmodulejs))), 'spectrum-FieldGroup-group', {
|
51
|
+
'spectrum-FieldGroup-group--horizontal': orientation === 'horizontal'
|
52
52
|
})
|
53
53
|
}, /*#__PURE__*/ (0, $ah3ae$react).createElement((0, $f394bff9e10389a0$export$b118023277d4a5c3).Provider, {
|
54
54
|
value: {
|
@@ -35,7 +35,7 @@ function $parcel$interopDefault(a) {
|
|
35
35
|
function $ac9b96486fc4badf$var$RadioGroup(props, ref) {
|
36
36
|
props = (0, $ah3ae$useProviderProps)(props);
|
37
37
|
props = (0, $ah3ae$useFormProps)(props);
|
38
|
-
let { isEmphasized: isEmphasized, children: children, orientation: orientation =
|
38
|
+
let { isEmphasized: isEmphasized, children: children, orientation: orientation = 'vertical' } = props;
|
39
39
|
let domRef = (0, $ah3ae$useDOMRef)(ref);
|
40
40
|
let state = (0, $ah3ae$useRadioGroupState)(props);
|
41
41
|
let { radioGroupProps: radioGroupProps, ...otherProps } = (0, $ah3ae$useRadioGroup)(props, state);
|
@@ -43,12 +43,12 @@ function $ac9b96486fc4badf$var$RadioGroup(props, ref) {
|
|
43
43
|
...props,
|
44
44
|
...otherProps,
|
45
45
|
ref: domRef,
|
46
|
-
wrapperClassName: (0, $ah3ae$classNames)((0, ($parcel$interopDefault($ah3ae$fieldgroup_vars_cssmodulejs))),
|
46
|
+
wrapperClassName: (0, $ah3ae$classNames)((0, ($parcel$interopDefault($ah3ae$fieldgroup_vars_cssmodulejs))), 'spectrum-FieldGroup'),
|
47
47
|
elementType: "span"
|
48
48
|
}, /*#__PURE__*/ (0, $ah3ae$react).createElement("div", {
|
49
49
|
...radioGroupProps,
|
50
|
-
className: (0, $ah3ae$classNames)((0, ($parcel$interopDefault($ah3ae$fieldgroup_vars_cssmodulejs))),
|
51
|
-
|
50
|
+
className: (0, $ah3ae$classNames)((0, ($parcel$interopDefault($ah3ae$fieldgroup_vars_cssmodulejs))), 'spectrum-FieldGroup-group', {
|
51
|
+
'spectrum-FieldGroup-group--horizontal': orientation === 'horizontal'
|
52
52
|
})
|
53
53
|
}, /*#__PURE__*/ (0, $ah3ae$react).createElement((0, $f394bff9e10389a0$export$b118023277d4a5c3).Provider, {
|
54
54
|
value: {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-spectrum/radio",
|
3
|
-
"version": "3.0.0-nightly.
|
3
|
+
"version": "3.0.0-nightly.2917+c34886769",
|
4
4
|
"description": "Spectrum UI components in React",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "dist/main.js",
|
@@ -36,19 +36,19 @@
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@react-aria/focus": "3.0.0-nightly.
|
40
|
-
"@react-aria/interactions": "3.0.0-nightly.
|
41
|
-
"@react-aria/radio": "3.0.0-nightly.
|
42
|
-
"@react-spectrum/form": "3.0.0-nightly.
|
43
|
-
"@react-spectrum/label": "3.16.
|
44
|
-
"@react-spectrum/utils": "3.0.0-nightly.
|
45
|
-
"@react-stately/radio": "3.0.0-nightly.
|
46
|
-
"@react-types/radio": "3.0.0-nightly.
|
47
|
-
"@react-types/shared": "3.0.0-nightly.
|
39
|
+
"@react-aria/focus": "3.0.0-nightly.2917+c34886769",
|
40
|
+
"@react-aria/interactions": "3.0.0-nightly.2917+c34886769",
|
41
|
+
"@react-aria/radio": "3.0.0-nightly.2917+c34886769",
|
42
|
+
"@react-spectrum/form": "3.0.0-nightly.2917+c34886769",
|
43
|
+
"@react-spectrum/label": "3.16.7-nightly.4629+c34886769",
|
44
|
+
"@react-spectrum/utils": "3.0.0-nightly.2917+c34886769",
|
45
|
+
"@react-stately/radio": "3.0.0-nightly.2917+c34886769",
|
46
|
+
"@react-types/radio": "3.0.0-nightly.2917+c34886769",
|
47
|
+
"@react-types/shared": "3.0.0-nightly.2917+c34886769",
|
48
48
|
"@swc/helpers": "^0.5.0"
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
51
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
51
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.2917+c34886769"
|
52
52
|
},
|
53
53
|
"peerDependencies": {
|
54
54
|
"@react-spectrum/provider": "^3.0.0",
|
@@ -57,5 +57,5 @@
|
|
57
57
|
"publishConfig": {
|
58
58
|
"access": "public"
|
59
59
|
},
|
60
|
-
"gitHead": "
|
60
|
+
"gitHead": "c34886769d3e69bb56553a02eead6a0fd877e754"
|
61
61
|
}
|