@react-spectrum/well 3.4.12 → 3.4.13
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/Well.main.js +2 -2
- package/dist/Well.mjs +3 -3
- package/dist/Well.module.js +2 -2
- package/dist/well_vars_css.mjs +1 -1
- package/package.json +6 -6
package/dist/Well.main.js
CHANGED
@@ -32,7 +32,7 @@ function $fb0fd853f763d005$var$Well(props, ref) {
|
|
32
32
|
let { children: children, role: role, ...otherProps } = props;
|
33
33
|
let domRef = (0, $44ml7$reactspectrumutils.useDOMRef)(ref);
|
34
34
|
let { styleProps: styleProps } = (0, $44ml7$reactspectrumutils.useStyleProps)(otherProps);
|
35
|
-
if (!role && (props[
|
35
|
+
if (!role && (props['aria-label'] || props['aria-labelledby'])) console.warn('A labelled Well must have a role.');
|
36
36
|
return /*#__PURE__*/ (0, ($parcel$interopDefault($44ml7$react))).createElement("div", {
|
37
37
|
...(0, $44ml7$reactariautils.filterDOMProps)(otherProps, {
|
38
38
|
labelable: !!role
|
@@ -40,7 +40,7 @@ function $fb0fd853f763d005$var$Well(props, ref) {
|
|
40
40
|
...styleProps,
|
41
41
|
role: role,
|
42
42
|
ref: domRef,
|
43
|
-
className: (0, $44ml7$reactspectrumutils.classNames)((0, ($parcel$interopDefault($b516e4acb09598d3$exports))),
|
43
|
+
className: (0, $44ml7$reactspectrumutils.classNames)((0, ($parcel$interopDefault($b516e4acb09598d3$exports))), 'spectrum-Well', styleProps.className)
|
44
44
|
}, children);
|
45
45
|
}
|
46
46
|
/**
|
package/dist/Well.mjs
CHANGED
@@ -26,7 +26,7 @@ function $126c538221395de1$var$Well(props, ref) {
|
|
26
26
|
let { children: children, role: role, ...otherProps } = props;
|
27
27
|
let domRef = (0, $8Snfj$useDOMRef)(ref);
|
28
28
|
let { styleProps: styleProps } = (0, $8Snfj$useStyleProps)(otherProps);
|
29
|
-
if (!role && (props[
|
29
|
+
if (!role && (props['aria-label'] || props['aria-labelledby'])) console.warn('A labelled Well must have a role.');
|
30
30
|
return /*#__PURE__*/ (0, $8Snfj$react).createElement("div", {
|
31
31
|
...(0, $8Snfj$filterDOMProps)(otherProps, {
|
32
32
|
labelable: !!role
|
@@ -34,7 +34,7 @@ function $126c538221395de1$var$Well(props, ref) {
|
|
34
34
|
...styleProps,
|
35
35
|
role: role,
|
36
36
|
ref: domRef,
|
37
|
-
className: (0, $8Snfj$classNames)((0, ($parcel$interopDefault($8Snfj$well_vars_cssmodulejs))),
|
37
|
+
className: (0, $8Snfj$classNames)((0, ($parcel$interopDefault($8Snfj$well_vars_cssmodulejs))), 'spectrum-Well', styleProps.className)
|
38
38
|
}, children);
|
39
39
|
}
|
40
40
|
/**
|
@@ -44,4 +44,4 @@ function $126c538221395de1$var$Well(props, ref) {
|
|
44
44
|
|
45
45
|
|
46
46
|
export {$126c538221395de1$export$d89c679ee2f73242 as Well};
|
47
|
-
//# sourceMappingURL=Well.
|
47
|
+
//# sourceMappingURL=Well.module.js.map
|
package/dist/Well.module.js
CHANGED
@@ -26,7 +26,7 @@ function $126c538221395de1$var$Well(props, ref) {
|
|
26
26
|
let { children: children, role: role, ...otherProps } = props;
|
27
27
|
let domRef = (0, $8Snfj$useDOMRef)(ref);
|
28
28
|
let { styleProps: styleProps } = (0, $8Snfj$useStyleProps)(otherProps);
|
29
|
-
if (!role && (props[
|
29
|
+
if (!role && (props['aria-label'] || props['aria-labelledby'])) console.warn('A labelled Well must have a role.');
|
30
30
|
return /*#__PURE__*/ (0, $8Snfj$react).createElement("div", {
|
31
31
|
...(0, $8Snfj$filterDOMProps)(otherProps, {
|
32
32
|
labelable: !!role
|
@@ -34,7 +34,7 @@ function $126c538221395de1$var$Well(props, ref) {
|
|
34
34
|
...styleProps,
|
35
35
|
role: role,
|
36
36
|
ref: domRef,
|
37
|
-
className: (0, $8Snfj$classNames)((0, ($parcel$interopDefault($8Snfj$well_vars_cssmodulejs))),
|
37
|
+
className: (0, $8Snfj$classNames)((0, ($parcel$interopDefault($8Snfj$well_vars_cssmodulejs))), 'spectrum-Well', styleProps.className)
|
38
38
|
}, children);
|
39
39
|
}
|
40
40
|
/**
|
package/dist/well_vars_css.mjs
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-spectrum/well",
|
3
|
-
"version": "3.4.
|
3
|
+
"version": "3.4.13",
|
4
4
|
"description": "Spectrum UI components in React",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "dist/main.js",
|
@@ -36,10 +36,10 @@
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@react-aria/utils": "^3.24.
|
40
|
-
"@react-spectrum/utils": "^3.11.
|
41
|
-
"@react-types/shared": "^3.23.
|
42
|
-
"@react-types/well": "^3.3.
|
39
|
+
"@react-aria/utils": "^3.24.1",
|
40
|
+
"@react-spectrum/utils": "^3.11.7",
|
41
|
+
"@react-types/shared": "^3.23.1",
|
42
|
+
"@react-types/well": "^3.3.9",
|
43
43
|
"@swc/helpers": "^0.5.0"
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
@@ -51,5 +51,5 @@
|
|
51
51
|
"publishConfig": {
|
52
52
|
"access": "public"
|
53
53
|
},
|
54
|
-
"gitHead": "
|
54
|
+
"gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433"
|
55
55
|
}
|