@react-spectrum/well 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/Well.main.js +2 -2
- package/dist/Well.mjs +2 -2
- package/dist/Well.module.js +2 -2
- package/package.json +7 -7
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
|
/**
|
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-spectrum/well",
|
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,14 +36,14 @@
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@react-aria/utils": "3.0.0-nightly.
|
40
|
-
"@react-spectrum/utils": "3.0.0-nightly.
|
41
|
-
"@react-types/shared": "3.0.0-nightly.
|
42
|
-
"@react-types/well": "3.3.
|
39
|
+
"@react-aria/utils": "3.0.0-nightly.2917+c34886769",
|
40
|
+
"@react-spectrum/utils": "3.0.0-nightly.2917+c34886769",
|
41
|
+
"@react-types/shared": "3.0.0-nightly.2917+c34886769",
|
42
|
+
"@react-types/well": "3.3.10-nightly.4629+c34886769",
|
43
43
|
"@swc/helpers": "^0.5.0"
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
46
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.2917+c34886769"
|
47
47
|
},
|
48
48
|
"peerDependencies": {
|
49
49
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
@@ -51,5 +51,5 @@
|
|
51
51
|
"publishConfig": {
|
52
52
|
"access": "public"
|
53
53
|
},
|
54
|
-
"gitHead": "
|
54
|
+
"gitHead": "c34886769d3e69bb56553a02eead6a0fd877e754"
|
55
55
|
}
|