@react-spectrum/checkbox 3.9.5 → 3.9.7
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/Checkbox.main.js +17 -17
- package/dist/Checkbox.mjs +18 -18
- package/dist/Checkbox.module.js +17 -17
- package/dist/CheckboxGroup.main.js +4 -4
- package/dist/CheckboxGroup.mjs +5 -5
- package/dist/CheckboxGroup.module.js +4 -4
- package/dist/checkbox_vars_css.mjs +1 -1
- package/dist/context.mjs +1 -1
- package/dist/fieldgroup_vars_css.mjs +1 -1
- package/package.json +15 -15
package/dist/Checkbox.main.js
CHANGED
|
@@ -75,41 +75,41 @@ function $096ccd12d23dd6cc$var$Checkbox(props, ref) {
|
|
|
75
75
|
isDisabled: isDisabled
|
|
76
76
|
});
|
|
77
77
|
let markIcon = isIndeterminate ? /*#__PURE__*/ (0, ($parcel$interopDefault($lfSyy$react))).createElement((0, ($parcel$interopDefault($lfSyy$spectrumiconsuiDashSmall))), {
|
|
78
|
-
UNSAFE_className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))),
|
|
78
|
+
UNSAFE_className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))), 'spectrum-Checkbox-partialCheckmark')
|
|
79
79
|
}) : /*#__PURE__*/ (0, ($parcel$interopDefault($lfSyy$react))).createElement((0, ($parcel$interopDefault($lfSyy$spectrumiconsuiCheckmarkSmall))), {
|
|
80
|
-
UNSAFE_className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))),
|
|
80
|
+
UNSAFE_className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))), 'spectrum-Checkbox-checkmark')
|
|
81
81
|
});
|
|
82
82
|
if (groupState) {
|
|
83
83
|
for (let key of [
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
'isSelected',
|
|
85
|
+
'defaultSelected',
|
|
86
|
+
'isEmphasized'
|
|
87
87
|
])if (originalProps[key] != null) console.warn(`${key} is unsupported on individual <Checkbox> elements within a <CheckboxGroup>. Please apply these props to the group instead.`);
|
|
88
|
-
if (props.value == null) console.warn(
|
|
88
|
+
if (props.value == null) console.warn('A <Checkbox> element within a <CheckboxGroup> requires a `value` property.');
|
|
89
89
|
}
|
|
90
90
|
return /*#__PURE__*/ (0, ($parcel$interopDefault($lfSyy$react))).createElement("label", {
|
|
91
91
|
...styleProps,
|
|
92
92
|
...hoverProps,
|
|
93
93
|
ref: domRef,
|
|
94
|
-
className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))),
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
94
|
+
className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))), 'spectrum-Checkbox', {
|
|
95
|
+
'is-checked': inputProps.checked,
|
|
96
|
+
'is-indeterminate': isIndeterminate,
|
|
97
|
+
'spectrum-Checkbox--quiet': !isEmphasized,
|
|
98
|
+
'is-invalid': isInvalid,
|
|
99
|
+
'is-disabled': isDisabled,
|
|
100
|
+
'is-hovered': isHovered
|
|
101
101
|
}, styleProps.className)
|
|
102
102
|
}, /*#__PURE__*/ (0, ($parcel$interopDefault($lfSyy$react))).createElement((0, $lfSyy$reactariafocus.FocusRing), {
|
|
103
|
-
focusRingClass: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))),
|
|
103
|
+
focusRingClass: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))), 'focus-ring'),
|
|
104
104
|
autoFocus: autoFocus
|
|
105
105
|
}, /*#__PURE__*/ (0, ($parcel$interopDefault($lfSyy$react))).createElement("input", {
|
|
106
106
|
...inputProps,
|
|
107
107
|
ref: inputRef,
|
|
108
|
-
className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))),
|
|
108
|
+
className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))), 'spectrum-Checkbox-input')
|
|
109
109
|
})), /*#__PURE__*/ (0, ($parcel$interopDefault($lfSyy$react))).createElement("span", {
|
|
110
|
-
className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))),
|
|
110
|
+
className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))), 'spectrum-Checkbox-box')
|
|
111
111
|
}, markIcon), children && /*#__PURE__*/ (0, ($parcel$interopDefault($lfSyy$react))).createElement("span", {
|
|
112
|
-
className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))),
|
|
112
|
+
className: (0, $lfSyy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($591f3ccba6339bdb$exports))), 'spectrum-Checkbox-label')
|
|
113
113
|
}, children));
|
|
114
114
|
}
|
|
115
115
|
/**
|
package/dist/Checkbox.mjs
CHANGED
|
@@ -69,41 +69,41 @@ function $25b6292d81af2844$var$Checkbox(props, ref) {
|
|
|
69
69
|
isDisabled: isDisabled
|
|
70
70
|
});
|
|
71
71
|
let markIcon = isIndeterminate ? /*#__PURE__*/ (0, $cvQES$react).createElement((0, $cvQES$spectrumiconsuiDashSmall), {
|
|
72
|
-
UNSAFE_className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
72
|
+
UNSAFE_className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox-partialCheckmark')
|
|
73
73
|
}) : /*#__PURE__*/ (0, $cvQES$react).createElement((0, $cvQES$spectrumiconsuiCheckmarkSmall), {
|
|
74
|
-
UNSAFE_className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
74
|
+
UNSAFE_className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox-checkmark')
|
|
75
75
|
});
|
|
76
76
|
if (groupState) {
|
|
77
77
|
for (let key of [
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
'isSelected',
|
|
79
|
+
'defaultSelected',
|
|
80
|
+
'isEmphasized'
|
|
81
81
|
])if (originalProps[key] != null) console.warn(`${key} is unsupported on individual <Checkbox> elements within a <CheckboxGroup>. Please apply these props to the group instead.`);
|
|
82
|
-
if (props.value == null) console.warn(
|
|
82
|
+
if (props.value == null) console.warn('A <Checkbox> element within a <CheckboxGroup> requires a `value` property.');
|
|
83
83
|
}
|
|
84
84
|
return /*#__PURE__*/ (0, $cvQES$react).createElement("label", {
|
|
85
85
|
...styleProps,
|
|
86
86
|
...hoverProps,
|
|
87
87
|
ref: domRef,
|
|
88
|
-
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox', {
|
|
89
|
+
'is-checked': inputProps.checked,
|
|
90
|
+
'is-indeterminate': isIndeterminate,
|
|
91
|
+
'spectrum-Checkbox--quiet': !isEmphasized,
|
|
92
|
+
'is-invalid': isInvalid,
|
|
93
|
+
'is-disabled': isDisabled,
|
|
94
|
+
'is-hovered': isHovered
|
|
95
95
|
}, styleProps.className)
|
|
96
96
|
}, /*#__PURE__*/ (0, $cvQES$react).createElement((0, $cvQES$FocusRing), {
|
|
97
|
-
focusRingClass: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
97
|
+
focusRingClass: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'focus-ring'),
|
|
98
98
|
autoFocus: autoFocus
|
|
99
99
|
}, /*#__PURE__*/ (0, $cvQES$react).createElement("input", {
|
|
100
100
|
...inputProps,
|
|
101
101
|
ref: inputRef,
|
|
102
|
-
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
102
|
+
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox-input')
|
|
103
103
|
})), /*#__PURE__*/ (0, $cvQES$react).createElement("span", {
|
|
104
|
-
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
104
|
+
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox-box')
|
|
105
105
|
}, markIcon), children && /*#__PURE__*/ (0, $cvQES$react).createElement("span", {
|
|
106
|
-
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
106
|
+
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox-label')
|
|
107
107
|
}, children));
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
@@ -113,4 +113,4 @@ function $25b6292d81af2844$var$Checkbox(props, ref) {
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
export {$25b6292d81af2844$export$48513f6b9f8ce62d as Checkbox};
|
|
116
|
-
//# sourceMappingURL=Checkbox.
|
|
116
|
+
//# sourceMappingURL=Checkbox.module.js.map
|
package/dist/Checkbox.module.js
CHANGED
|
@@ -69,41 +69,41 @@ function $25b6292d81af2844$var$Checkbox(props, ref) {
|
|
|
69
69
|
isDisabled: isDisabled
|
|
70
70
|
});
|
|
71
71
|
let markIcon = isIndeterminate ? /*#__PURE__*/ (0, $cvQES$react).createElement((0, $cvQES$spectrumiconsuiDashSmall), {
|
|
72
|
-
UNSAFE_className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
72
|
+
UNSAFE_className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox-partialCheckmark')
|
|
73
73
|
}) : /*#__PURE__*/ (0, $cvQES$react).createElement((0, $cvQES$spectrumiconsuiCheckmarkSmall), {
|
|
74
|
-
UNSAFE_className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
74
|
+
UNSAFE_className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox-checkmark')
|
|
75
75
|
});
|
|
76
76
|
if (groupState) {
|
|
77
77
|
for (let key of [
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
'isSelected',
|
|
79
|
+
'defaultSelected',
|
|
80
|
+
'isEmphasized'
|
|
81
81
|
])if (originalProps[key] != null) console.warn(`${key} is unsupported on individual <Checkbox> elements within a <CheckboxGroup>. Please apply these props to the group instead.`);
|
|
82
|
-
if (props.value == null) console.warn(
|
|
82
|
+
if (props.value == null) console.warn('A <Checkbox> element within a <CheckboxGroup> requires a `value` property.');
|
|
83
83
|
}
|
|
84
84
|
return /*#__PURE__*/ (0, $cvQES$react).createElement("label", {
|
|
85
85
|
...styleProps,
|
|
86
86
|
...hoverProps,
|
|
87
87
|
ref: domRef,
|
|
88
|
-
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox', {
|
|
89
|
+
'is-checked': inputProps.checked,
|
|
90
|
+
'is-indeterminate': isIndeterminate,
|
|
91
|
+
'spectrum-Checkbox--quiet': !isEmphasized,
|
|
92
|
+
'is-invalid': isInvalid,
|
|
93
|
+
'is-disabled': isDisabled,
|
|
94
|
+
'is-hovered': isHovered
|
|
95
95
|
}, styleProps.className)
|
|
96
96
|
}, /*#__PURE__*/ (0, $cvQES$react).createElement((0, $cvQES$FocusRing), {
|
|
97
|
-
focusRingClass: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
97
|
+
focusRingClass: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'focus-ring'),
|
|
98
98
|
autoFocus: autoFocus
|
|
99
99
|
}, /*#__PURE__*/ (0, $cvQES$react).createElement("input", {
|
|
100
100
|
...inputProps,
|
|
101
101
|
ref: inputRef,
|
|
102
|
-
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
102
|
+
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox-input')
|
|
103
103
|
})), /*#__PURE__*/ (0, $cvQES$react).createElement("span", {
|
|
104
|
-
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
104
|
+
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox-box')
|
|
105
105
|
}, markIcon), children && /*#__PURE__*/ (0, $cvQES$react).createElement("span", {
|
|
106
|
-
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))),
|
|
106
|
+
className: (0, $cvQES$classNames)((0, ($parcel$interopDefault($cvQES$checkbox_vars_cssmodulejs))), 'spectrum-Checkbox-label')
|
|
107
107
|
}, children));
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
@@ -41,7 +41,7 @@ $parcel$export(module.exports, "CheckboxGroup", () => $1151290755e16c44$export$4
|
|
|
41
41
|
function $1151290755e16c44$var$CheckboxGroup(props, ref) {
|
|
42
42
|
props = (0, $5yQLk$reactspectrumprovider.useProviderProps)(props);
|
|
43
43
|
props = (0, $5yQLk$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, $5yQLk$reactspectrumutils.useDOMRef)(ref);
|
|
46
46
|
let state = (0, $5yQLk$reactstatelycheckbox.useCheckboxGroupState)(props);
|
|
47
47
|
let { groupProps: groupProps, ...otherProps } = (0, $5yQLk$reactariacheckbox.useCheckboxGroup)(props, state);
|
|
@@ -49,13 +49,13 @@ function $1151290755e16c44$var$CheckboxGroup(props, ref) {
|
|
|
49
49
|
...props,
|
|
50
50
|
...otherProps,
|
|
51
51
|
ref: domRef,
|
|
52
|
-
wrapperClassName: (0, $5yQLk$reactspectrumutils.classNames)((0, ($parcel$interopDefault($53124a3a0fd56fca$exports))),
|
|
52
|
+
wrapperClassName: (0, $5yQLk$reactspectrumutils.classNames)((0, ($parcel$interopDefault($53124a3a0fd56fca$exports))), 'spectrum-FieldGroup'),
|
|
53
53
|
elementType: "span",
|
|
54
54
|
includeNecessityIndicatorInAccessibilityName: true
|
|
55
55
|
}, /*#__PURE__*/ (0, ($parcel$interopDefault($5yQLk$react))).createElement("div", {
|
|
56
56
|
...groupProps,
|
|
57
|
-
className: (0, $5yQLk$reactspectrumutils.classNames)((0, ($parcel$interopDefault($53124a3a0fd56fca$exports))),
|
|
58
|
-
|
|
57
|
+
className: (0, $5yQLk$reactspectrumutils.classNames)((0, ($parcel$interopDefault($53124a3a0fd56fca$exports))), 'spectrum-FieldGroup-group', {
|
|
58
|
+
'spectrum-FieldGroup-group--horizontal': orientation === 'horizontal'
|
|
59
59
|
})
|
|
60
60
|
}, /*#__PURE__*/ (0, ($parcel$interopDefault($5yQLk$react))).createElement((0, $5yQLk$reactspectrumprovider.Provider), {
|
|
61
61
|
isEmphasized: isEmphasized
|
package/dist/CheckboxGroup.mjs
CHANGED
|
@@ -35,7 +35,7 @@ function $parcel$interopDefault(a) {
|
|
|
35
35
|
function $73f43ce9d441cc69$var$CheckboxGroup(props, ref) {
|
|
36
36
|
props = (0, $8sUxO$useProviderProps)(props);
|
|
37
37
|
props = (0, $8sUxO$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, $8sUxO$useDOMRef)(ref);
|
|
40
40
|
let state = (0, $8sUxO$useCheckboxGroupState)(props);
|
|
41
41
|
let { groupProps: groupProps, ...otherProps } = (0, $8sUxO$useCheckboxGroup)(props, state);
|
|
@@ -43,13 +43,13 @@ function $73f43ce9d441cc69$var$CheckboxGroup(props, ref) {
|
|
|
43
43
|
...props,
|
|
44
44
|
...otherProps,
|
|
45
45
|
ref: domRef,
|
|
46
|
-
wrapperClassName: (0, $8sUxO$classNames)((0, ($parcel$interopDefault($8sUxO$fieldgroup_vars_cssmodulejs))),
|
|
46
|
+
wrapperClassName: (0, $8sUxO$classNames)((0, ($parcel$interopDefault($8sUxO$fieldgroup_vars_cssmodulejs))), 'spectrum-FieldGroup'),
|
|
47
47
|
elementType: "span",
|
|
48
48
|
includeNecessityIndicatorInAccessibilityName: true
|
|
49
49
|
}, /*#__PURE__*/ (0, $8sUxO$react).createElement("div", {
|
|
50
50
|
...groupProps,
|
|
51
|
-
className: (0, $8sUxO$classNames)((0, ($parcel$interopDefault($8sUxO$fieldgroup_vars_cssmodulejs))),
|
|
52
|
-
|
|
51
|
+
className: (0, $8sUxO$classNames)((0, ($parcel$interopDefault($8sUxO$fieldgroup_vars_cssmodulejs))), 'spectrum-FieldGroup-group', {
|
|
52
|
+
'spectrum-FieldGroup-group--horizontal': orientation === 'horizontal'
|
|
53
53
|
})
|
|
54
54
|
}, /*#__PURE__*/ (0, $8sUxO$react).createElement((0, $8sUxO$Provider), {
|
|
55
55
|
isEmphasized: isEmphasized
|
|
@@ -63,4 +63,4 @@ function $73f43ce9d441cc69$var$CheckboxGroup(props, ref) {
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
export {$73f43ce9d441cc69$export$4aa08d5625cb8ead as CheckboxGroup};
|
|
66
|
-
//# sourceMappingURL=CheckboxGroup.
|
|
66
|
+
//# sourceMappingURL=CheckboxGroup.module.js.map
|
|
@@ -35,7 +35,7 @@ function $parcel$interopDefault(a) {
|
|
|
35
35
|
function $73f43ce9d441cc69$var$CheckboxGroup(props, ref) {
|
|
36
36
|
props = (0, $8sUxO$useProviderProps)(props);
|
|
37
37
|
props = (0, $8sUxO$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, $8sUxO$useDOMRef)(ref);
|
|
40
40
|
let state = (0, $8sUxO$useCheckboxGroupState)(props);
|
|
41
41
|
let { groupProps: groupProps, ...otherProps } = (0, $8sUxO$useCheckboxGroup)(props, state);
|
|
@@ -43,13 +43,13 @@ function $73f43ce9d441cc69$var$CheckboxGroup(props, ref) {
|
|
|
43
43
|
...props,
|
|
44
44
|
...otherProps,
|
|
45
45
|
ref: domRef,
|
|
46
|
-
wrapperClassName: (0, $8sUxO$classNames)((0, ($parcel$interopDefault($8sUxO$fieldgroup_vars_cssmodulejs))),
|
|
46
|
+
wrapperClassName: (0, $8sUxO$classNames)((0, ($parcel$interopDefault($8sUxO$fieldgroup_vars_cssmodulejs))), 'spectrum-FieldGroup'),
|
|
47
47
|
elementType: "span",
|
|
48
48
|
includeNecessityIndicatorInAccessibilityName: true
|
|
49
49
|
}, /*#__PURE__*/ (0, $8sUxO$react).createElement("div", {
|
|
50
50
|
...groupProps,
|
|
51
|
-
className: (0, $8sUxO$classNames)((0, ($parcel$interopDefault($8sUxO$fieldgroup_vars_cssmodulejs))),
|
|
52
|
-
|
|
51
|
+
className: (0, $8sUxO$classNames)((0, ($parcel$interopDefault($8sUxO$fieldgroup_vars_cssmodulejs))), 'spectrum-FieldGroup-group', {
|
|
52
|
+
'spectrum-FieldGroup-group--horizontal': orientation === 'horizontal'
|
|
53
53
|
})
|
|
54
54
|
}, /*#__PURE__*/ (0, $8sUxO$react).createElement((0, $8sUxO$Provider), {
|
|
55
55
|
isEmphasized: isEmphasized
|
package/dist/context.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/checkbox",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.7",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -36,29 +36,29 @@
|
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@react-aria/checkbox": "^3.14.
|
|
40
|
-
"@react-aria/focus": "^3.
|
|
41
|
-
"@react-aria/interactions": "^3.
|
|
42
|
-
"@react-spectrum/form": "^3.7.
|
|
43
|
-
"@react-spectrum/label": "^3.16.
|
|
44
|
-
"@react-spectrum/utils": "^3.11.
|
|
45
|
-
"@react-stately/checkbox": "^3.6.
|
|
46
|
-
"@react-stately/toggle": "^3.7.
|
|
47
|
-
"@react-types/checkbox": "^3.8.
|
|
48
|
-
"@react-types/shared": "^3.
|
|
49
|
-
"@spectrum-icons/ui": "^3.6.
|
|
39
|
+
"@react-aria/checkbox": "^3.14.4",
|
|
40
|
+
"@react-aria/focus": "^3.18.0",
|
|
41
|
+
"@react-aria/interactions": "^3.22.0",
|
|
42
|
+
"@react-spectrum/form": "^3.7.7",
|
|
43
|
+
"@react-spectrum/label": "^3.16.7",
|
|
44
|
+
"@react-spectrum/utils": "^3.11.8",
|
|
45
|
+
"@react-stately/checkbox": "^3.6.6",
|
|
46
|
+
"@react-stately/toggle": "^3.7.5",
|
|
47
|
+
"@react-types/checkbox": "^3.8.2",
|
|
48
|
+
"@react-types/shared": "^3.24.0",
|
|
49
|
+
"@spectrum-icons/ui": "^3.6.8",
|
|
50
50
|
"@swc/helpers": "^0.5.0",
|
|
51
|
-
"react-aria-components": "^1.
|
|
51
|
+
"react-aria-components": "^1.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@adobe/spectrum-css-temp": "3.0.0-alpha.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@react-spectrum/provider": "^3.0.0",
|
|
58
|
-
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
|
58
|
+
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "86d80e3216bc32e75108831cf3a5a720bc849206"
|
|
64
64
|
}
|