@react-spectrum/well 3.0.0-nightly.2843 → 3.0.0-nightly.2848
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 +52 -0
- package/dist/Well.main.js.map +1 -0
- package/dist/Well.mjs +47 -0
- package/dist/Well.module.js +47 -0
- package/dist/Well.module.js.map +1 -0
- package/dist/import.mjs +1 -67
- package/dist/main.js +2 -64
- package/dist/main.js.map +1 -1
- package/dist/module.js +1 -67
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/{main.css → vars.f22d6188.css} +1 -1
- package/dist/{main.css.map → vars.f22d6188.css.map} +1 -1
- package/dist/well_vars_css.main.js +26 -0
- package/dist/well_vars_css.main.js.map +1 -0
- package/dist/well_vars_css.mjs +28 -0
- package/dist/well_vars_css.module.js +28 -0
- package/dist/well_vars_css.module.js.map +1 -0
- package/package.json +7 -7
- package/dist/module.css +0 -93
- package/dist/module.css.map +0 -1
@@ -0,0 +1,52 @@
|
|
1
|
+
require("./vars.f22d6188.css");
|
2
|
+
var $b516e4acb09598d3$exports = require("./well_vars_css.main.js");
|
3
|
+
var $44ml7$reactspectrumutils = require("@react-spectrum/utils");
|
4
|
+
var $44ml7$reactariautils = require("@react-aria/utils");
|
5
|
+
var $44ml7$react = require("react");
|
6
|
+
|
7
|
+
|
8
|
+
function $parcel$interopDefault(a) {
|
9
|
+
return a && a.__esModule ? a.default : a;
|
10
|
+
}
|
11
|
+
|
12
|
+
function $parcel$export(e, n, v, s) {
|
13
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
14
|
+
}
|
15
|
+
|
16
|
+
$parcel$export(module.exports, "Well", () => $fb0fd853f763d005$export$d89c679ee2f73242);
|
17
|
+
/*
|
18
|
+
* Copyright 2020 Adobe. All rights reserved.
|
19
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
20
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
21
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
22
|
+
*
|
23
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
24
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
25
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
26
|
+
* governing permissions and limitations under the License.
|
27
|
+
*/
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
function $fb0fd853f763d005$var$Well(props, ref) {
|
32
|
+
let { children: children, role: role, ...otherProps } = props;
|
33
|
+
let domRef = (0, $44ml7$reactspectrumutils.useDOMRef)(ref);
|
34
|
+
let { styleProps: styleProps } = (0, $44ml7$reactspectrumutils.useStyleProps)(otherProps);
|
35
|
+
if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled Well must have a role.");
|
36
|
+
return /*#__PURE__*/ (0, ($parcel$interopDefault($44ml7$react))).createElement("div", {
|
37
|
+
...(0, $44ml7$reactariautils.filterDOMProps)(otherProps, {
|
38
|
+
labelable: !!role
|
39
|
+
}),
|
40
|
+
...styleProps,
|
41
|
+
role: role,
|
42
|
+
ref: domRef,
|
43
|
+
className: (0, $44ml7$reactspectrumutils.classNames)((0, ($parcel$interopDefault($b516e4acb09598d3$exports))), "spectrum-Well", styleProps.className)
|
44
|
+
}, children);
|
45
|
+
}
|
46
|
+
/**
|
47
|
+
* A Well is a content container that displays non-editable content separate from other content on the screen.
|
48
|
+
* Often this is used to display preformatted text, such as code/markup examples on a documentation page.
|
49
|
+
*/ const $fb0fd853f763d005$export$d89c679ee2f73242 = /*#__PURE__*/ (0, $44ml7$react.forwardRef)($fb0fd853f763d005$var$Well);
|
50
|
+
|
51
|
+
|
52
|
+
//# sourceMappingURL=Well.main.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;AASD,SAAS,2BAAK,KAAwB,EAAE,GAA2B;IACjE,IAAI,YACF,QAAQ,QACR,IAAI,EACJ,GAAG,YACJ,GAAG;IACJ,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IACvB,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IAEjC,IAAI,CAAC,QAAS,CAAA,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,kBAAkB,AAAD,GAC1D,QAAQ,IAAI,CAAC;IAGf,qBACE,0DAAC;QACE,GAAG,CAAA,GAAA,oCAAa,EAAE,YAAY;YAAC,WAAW,CAAC,CAAC;QAAI,EAAE;QAClD,GAAG,UAAU;QACd,MAAM;QACN,KAAK;QACL,WAAW,CAAA,GAAA,oCAAS,EAClB,CAAA,GAAA,mDAAK,GACL,iBACA,WAAW,SAAS;OAErB;AAGP;AAEA;;;CAGC,GACD,MAAM,0DAAQ,CAAA,GAAA,uBAAS,EAAE","sources":["packages/@react-spectrum/well/src/Well.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {forwardRef} from 'react';\nimport {SpectrumWellProps} from '@react-types/well';\nimport styles from '@adobe/spectrum-css-temp/components/well/vars.css';\n\nfunction Well(props: SpectrumWellProps, ref: DOMRef<HTMLDivElement>) {\n let {\n children,\n role,\n ...otherProps\n } = props;\n let domRef = useDOMRef(ref);\n let {styleProps} = useStyleProps(otherProps);\n\n if (!role && (props['aria-label'] || props['aria-labelledby'])) {\n console.warn('A labelled Well must have a role.');\n }\n\n return (\n <div\n {...filterDOMProps(otherProps, {labelable: !!role})}\n {...styleProps}\n role={role}\n ref={domRef}\n className={classNames(\n styles,\n 'spectrum-Well',\n styleProps.className\n )}>\n {children}\n </div>\n );\n}\n\n/**\n * A Well is a content container that displays non-editable content separate from other content on the screen.\n * Often this is used to display preformatted text, such as code/markup examples on a documentation page.\n */\nconst _Well = forwardRef(Well);\nexport {_Well as Well};\n"],"names":[],"version":3,"file":"Well.main.js.map"}
|
package/dist/Well.mjs
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
import "./vars.f22d6188.css";
|
2
|
+
import $8Snfj$well_vars_cssmodulejs from "./well_vars_css.mjs";
|
3
|
+
import {useDOMRef as $8Snfj$useDOMRef, useStyleProps as $8Snfj$useStyleProps, classNames as $8Snfj$classNames} from "@react-spectrum/utils";
|
4
|
+
import {filterDOMProps as $8Snfj$filterDOMProps} from "@react-aria/utils";
|
5
|
+
import $8Snfj$react, {forwardRef as $8Snfj$forwardRef} from "react";
|
6
|
+
|
7
|
+
|
8
|
+
function $parcel$interopDefault(a) {
|
9
|
+
return a && a.__esModule ? a.default : a;
|
10
|
+
}
|
11
|
+
/*
|
12
|
+
* Copyright 2020 Adobe. All rights reserved.
|
13
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
14
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
15
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
16
|
+
*
|
17
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
18
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
19
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
20
|
+
* governing permissions and limitations under the License.
|
21
|
+
*/
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
function $126c538221395de1$var$Well(props, ref) {
|
26
|
+
let { children: children, role: role, ...otherProps } = props;
|
27
|
+
let domRef = (0, $8Snfj$useDOMRef)(ref);
|
28
|
+
let { styleProps: styleProps } = (0, $8Snfj$useStyleProps)(otherProps);
|
29
|
+
if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled Well must have a role.");
|
30
|
+
return /*#__PURE__*/ (0, $8Snfj$react).createElement("div", {
|
31
|
+
...(0, $8Snfj$filterDOMProps)(otherProps, {
|
32
|
+
labelable: !!role
|
33
|
+
}),
|
34
|
+
...styleProps,
|
35
|
+
role: role,
|
36
|
+
ref: domRef,
|
37
|
+
className: (0, $8Snfj$classNames)((0, ($parcel$interopDefault($8Snfj$well_vars_cssmodulejs))), "spectrum-Well", styleProps.className)
|
38
|
+
}, children);
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* A Well is a content container that displays non-editable content separate from other content on the screen.
|
42
|
+
* Often this is used to display preformatted text, such as code/markup examples on a documentation page.
|
43
|
+
*/ const $126c538221395de1$export$d89c679ee2f73242 = /*#__PURE__*/ (0, $8Snfj$forwardRef)($126c538221395de1$var$Well);
|
44
|
+
|
45
|
+
|
46
|
+
export {$126c538221395de1$export$d89c679ee2f73242 as Well};
|
47
|
+
//# sourceMappingURL=Well.mjs.map
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import "./vars.f22d6188.css";
|
2
|
+
import $8Snfj$well_vars_cssmodulejs from "./well_vars_css.module.js";
|
3
|
+
import {useDOMRef as $8Snfj$useDOMRef, useStyleProps as $8Snfj$useStyleProps, classNames as $8Snfj$classNames} from "@react-spectrum/utils";
|
4
|
+
import {filterDOMProps as $8Snfj$filterDOMProps} from "@react-aria/utils";
|
5
|
+
import $8Snfj$react, {forwardRef as $8Snfj$forwardRef} from "react";
|
6
|
+
|
7
|
+
|
8
|
+
function $parcel$interopDefault(a) {
|
9
|
+
return a && a.__esModule ? a.default : a;
|
10
|
+
}
|
11
|
+
/*
|
12
|
+
* Copyright 2020 Adobe. All rights reserved.
|
13
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
14
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
15
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
16
|
+
*
|
17
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
18
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
19
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
20
|
+
* governing permissions and limitations under the License.
|
21
|
+
*/
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
function $126c538221395de1$var$Well(props, ref) {
|
26
|
+
let { children: children, role: role, ...otherProps } = props;
|
27
|
+
let domRef = (0, $8Snfj$useDOMRef)(ref);
|
28
|
+
let { styleProps: styleProps } = (0, $8Snfj$useStyleProps)(otherProps);
|
29
|
+
if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled Well must have a role.");
|
30
|
+
return /*#__PURE__*/ (0, $8Snfj$react).createElement("div", {
|
31
|
+
...(0, $8Snfj$filterDOMProps)(otherProps, {
|
32
|
+
labelable: !!role
|
33
|
+
}),
|
34
|
+
...styleProps,
|
35
|
+
role: role,
|
36
|
+
ref: domRef,
|
37
|
+
className: (0, $8Snfj$classNames)((0, ($parcel$interopDefault($8Snfj$well_vars_cssmodulejs))), "spectrum-Well", styleProps.className)
|
38
|
+
}, children);
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* A Well is a content container that displays non-editable content separate from other content on the screen.
|
42
|
+
* Often this is used to display preformatted text, such as code/markup examples on a documentation page.
|
43
|
+
*/ const $126c538221395de1$export$d89c679ee2f73242 = /*#__PURE__*/ (0, $8Snfj$forwardRef)($126c538221395de1$var$Well);
|
44
|
+
|
45
|
+
|
46
|
+
export {$126c538221395de1$export$d89c679ee2f73242 as Well};
|
47
|
+
//# sourceMappingURL=Well.module.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"mappings":";;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;AASD,SAAS,2BAAK,KAAwB,EAAE,GAA2B;IACjE,IAAI,YACF,QAAQ,QACR,IAAI,EACJ,GAAG,YACJ,GAAG;IACJ,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IACvB,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IAEjC,IAAI,CAAC,QAAS,CAAA,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,kBAAkB,AAAD,GAC1D,QAAQ,IAAI,CAAC;IAGf,qBACE,gCAAC;QACE,GAAG,CAAA,GAAA,qBAAa,EAAE,YAAY;YAAC,WAAW,CAAC,CAAC;QAAI,EAAE;QAClD,GAAG,UAAU;QACd,MAAM;QACN,KAAK;QACL,WAAW,CAAA,GAAA,iBAAS,EAClB,CAAA,GAAA,sDAAK,GACL,iBACA,WAAW,SAAS;OAErB;AAGP;AAEA;;;CAGC,GACD,MAAM,0DAAQ,CAAA,GAAA,iBAAS,EAAE","sources":["packages/@react-spectrum/well/src/Well.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {forwardRef} from 'react';\nimport {SpectrumWellProps} from '@react-types/well';\nimport styles from '@adobe/spectrum-css-temp/components/well/vars.css';\n\nfunction Well(props: SpectrumWellProps, ref: DOMRef<HTMLDivElement>) {\n let {\n children,\n role,\n ...otherProps\n } = props;\n let domRef = useDOMRef(ref);\n let {styleProps} = useStyleProps(otherProps);\n\n if (!role && (props['aria-label'] || props['aria-labelledby'])) {\n console.warn('A labelled Well must have a role.');\n }\n\n return (\n <div\n {...filterDOMProps(otherProps, {labelable: !!role})}\n {...styleProps}\n role={role}\n ref={domRef}\n className={classNames(\n styles,\n 'spectrum-Well',\n styleProps.className\n )}>\n {children}\n </div>\n );\n}\n\n/**\n * A Well is a content container that displays non-editable content separate from other content on the screen.\n * Often this is used to display preformatted text, such as code/markup examples on a documentation page.\n */\nconst _Well = forwardRef(Well);\nexport {_Well as Well};\n"],"names":[],"version":3,"file":"Well.module.js.map"}
|
package/dist/import.mjs
CHANGED
@@ -1,16 +1,5 @@
|
|
1
|
-
import "./
|
2
|
-
import {useDOMRef as $2uC0Z$useDOMRef, useStyleProps as $2uC0Z$useStyleProps, classNames as $2uC0Z$classNames} from "@react-spectrum/utils";
|
3
|
-
import {filterDOMProps as $2uC0Z$filterDOMProps} from "@react-aria/utils";
|
4
|
-
import $2uC0Z$react, {forwardRef as $2uC0Z$forwardRef} from "react";
|
1
|
+
import {Well as $126c538221395de1$export$d89c679ee2f73242} from "./Well.mjs";
|
5
2
|
|
6
|
-
|
7
|
-
function $parcel$interopDefault(a) {
|
8
|
-
return a && a.__esModule ? a.default : a;
|
9
|
-
}
|
10
|
-
|
11
|
-
function $parcel$export(e, n, v, s) {
|
12
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
13
|
-
}
|
14
3
|
/*
|
15
4
|
* Copyright 2020 Adobe. All rights reserved.
|
16
5
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
@@ -22,61 +11,6 @@ function $parcel$export(e, n, v, s) {
|
|
22
11
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
23
12
|
* governing permissions and limitations under the License.
|
24
13
|
*/ /// <reference types="css-module-types" />
|
25
|
-
/*
|
26
|
-
* Copyright 2020 Adobe. All rights reserved.
|
27
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
28
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
29
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
30
|
-
*
|
31
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
32
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
33
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
34
|
-
* governing permissions and limitations under the License.
|
35
|
-
*/
|
36
|
-
|
37
|
-
|
38
|
-
var $f53ecf77408821c3$exports = {};
|
39
|
-
|
40
|
-
$parcel$export($f53ecf77408821c3$exports, "focus-ring", () => $f53ecf77408821c3$export$f39a09f249340e2a, (v) => $f53ecf77408821c3$export$f39a09f249340e2a = v);
|
41
|
-
$parcel$export($f53ecf77408821c3$exports, "i18nFontFamily", () => $f53ecf77408821c3$export$8c4ee2c50c22c514, (v) => $f53ecf77408821c3$export$8c4ee2c50c22c514 = v);
|
42
|
-
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing-ring", () => $f53ecf77408821c3$export$4109102f950813a6, (v) => $f53ecf77408821c3$export$4109102f950813a6 = v);
|
43
|
-
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing", () => $f53ecf77408821c3$export$24c7f46a6e3605dd, (v) => $f53ecf77408821c3$export$24c7f46a6e3605dd = v);
|
44
|
-
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing--quiet", () => $f53ecf77408821c3$export$2927016961429360, (v) => $f53ecf77408821c3$export$2927016961429360 = v);
|
45
|
-
$parcel$export($f53ecf77408821c3$exports, "spectrum-Well", () => $f53ecf77408821c3$export$98e76d3873e01aa9, (v) => $f53ecf77408821c3$export$98e76d3873e01aa9 = v);
|
46
|
-
var $f53ecf77408821c3$export$f39a09f249340e2a;
|
47
|
-
var $f53ecf77408821c3$export$8c4ee2c50c22c514;
|
48
|
-
var $f53ecf77408821c3$export$4109102f950813a6;
|
49
|
-
var $f53ecf77408821c3$export$24c7f46a6e3605dd;
|
50
|
-
var $f53ecf77408821c3$export$2927016961429360;
|
51
|
-
var $f53ecf77408821c3$export$98e76d3873e01aa9;
|
52
|
-
$f53ecf77408821c3$export$f39a09f249340e2a = `SWvLfG_focus-ring`;
|
53
|
-
$f53ecf77408821c3$export$8c4ee2c50c22c514 = `SWvLfG_i18nFontFamily`;
|
54
|
-
$f53ecf77408821c3$export$4109102f950813a6 = `SWvLfG_spectrum-FocusRing-ring`;
|
55
|
-
$f53ecf77408821c3$export$24c7f46a6e3605dd = `SWvLfG_spectrum-FocusRing ${$f53ecf77408821c3$export$4109102f950813a6}`;
|
56
|
-
$f53ecf77408821c3$export$2927016961429360 = `SWvLfG_spectrum-FocusRing--quiet`;
|
57
|
-
$f53ecf77408821c3$export$98e76d3873e01aa9 = `SWvLfG_spectrum-Well`;
|
58
|
-
|
59
|
-
|
60
|
-
function $126c538221395de1$var$Well(props, ref) {
|
61
|
-
let { children: children, role: role, ...otherProps } = props;
|
62
|
-
let domRef = (0, $2uC0Z$useDOMRef)(ref);
|
63
|
-
let { styleProps: styleProps } = (0, $2uC0Z$useStyleProps)(otherProps);
|
64
|
-
if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled Well must have a role.");
|
65
|
-
return /*#__PURE__*/ (0, $2uC0Z$react).createElement("div", {
|
66
|
-
...(0, $2uC0Z$filterDOMProps)(otherProps, {
|
67
|
-
labelable: !!role
|
68
|
-
}),
|
69
|
-
...styleProps,
|
70
|
-
role: role,
|
71
|
-
ref: domRef,
|
72
|
-
className: (0, $2uC0Z$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f53ecf77408821c3$exports))), "spectrum-Well", styleProps.className)
|
73
|
-
}, children);
|
74
|
-
}
|
75
|
-
/**
|
76
|
-
* A Well is a content container that displays non-editable content separate from other content on the screen.
|
77
|
-
* Often this is used to display preformatted text, such as code/markup examples on a documentation page.
|
78
|
-
*/ const $126c538221395de1$export$d89c679ee2f73242 = /*#__PURE__*/ (0, $2uC0Z$forwardRef)($126c538221395de1$var$Well);
|
79
|
-
|
80
14
|
|
81
15
|
|
82
16
|
|
package/dist/main.js
CHANGED
@@ -1,18 +1,11 @@
|
|
1
|
-
require("./main.
|
2
|
-
var $f5FMV$reactspectrumutils = require("@react-spectrum/utils");
|
3
|
-
var $f5FMV$reactariautils = require("@react-aria/utils");
|
4
|
-
var $f5FMV$react = require("react");
|
1
|
+
var $fb0fd853f763d005$exports = require("./Well.main.js");
|
5
2
|
|
6
3
|
|
7
4
|
function $parcel$export(e, n, v, s) {
|
8
5
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
9
6
|
}
|
10
7
|
|
11
|
-
|
12
|
-
return a && a.__esModule ? a.default : a;
|
13
|
-
}
|
14
|
-
|
15
|
-
$parcel$export(module.exports, "Well", () => $fb0fd853f763d005$export$d89c679ee2f73242);
|
8
|
+
$parcel$export(module.exports, "Well", () => $fb0fd853f763d005$exports.Well);
|
16
9
|
/*
|
17
10
|
* Copyright 2020 Adobe. All rights reserved.
|
18
11
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
@@ -24,61 +17,6 @@ $parcel$export(module.exports, "Well", () => $fb0fd853f763d005$export$d89c679ee2
|
|
24
17
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
25
18
|
* governing permissions and limitations under the License.
|
26
19
|
*/ /// <reference types="css-module-types" />
|
27
|
-
/*
|
28
|
-
* Copyright 2020 Adobe. All rights reserved.
|
29
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
30
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
31
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
32
|
-
*
|
33
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
34
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
35
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
36
|
-
* governing permissions and limitations under the License.
|
37
|
-
*/
|
38
|
-
|
39
|
-
|
40
|
-
var $b516e4acb09598d3$exports = {};
|
41
|
-
|
42
|
-
$parcel$export($b516e4acb09598d3$exports, "focus-ring", () => $b516e4acb09598d3$export$f39a09f249340e2a, (v) => $b516e4acb09598d3$export$f39a09f249340e2a = v);
|
43
|
-
$parcel$export($b516e4acb09598d3$exports, "i18nFontFamily", () => $b516e4acb09598d3$export$8c4ee2c50c22c514, (v) => $b516e4acb09598d3$export$8c4ee2c50c22c514 = v);
|
44
|
-
$parcel$export($b516e4acb09598d3$exports, "spectrum-FocusRing-ring", () => $b516e4acb09598d3$export$4109102f950813a6, (v) => $b516e4acb09598d3$export$4109102f950813a6 = v);
|
45
|
-
$parcel$export($b516e4acb09598d3$exports, "spectrum-FocusRing", () => $b516e4acb09598d3$export$24c7f46a6e3605dd, (v) => $b516e4acb09598d3$export$24c7f46a6e3605dd = v);
|
46
|
-
$parcel$export($b516e4acb09598d3$exports, "spectrum-FocusRing--quiet", () => $b516e4acb09598d3$export$2927016961429360, (v) => $b516e4acb09598d3$export$2927016961429360 = v);
|
47
|
-
$parcel$export($b516e4acb09598d3$exports, "spectrum-Well", () => $b516e4acb09598d3$export$98e76d3873e01aa9, (v) => $b516e4acb09598d3$export$98e76d3873e01aa9 = v);
|
48
|
-
var $b516e4acb09598d3$export$f39a09f249340e2a;
|
49
|
-
var $b516e4acb09598d3$export$8c4ee2c50c22c514;
|
50
|
-
var $b516e4acb09598d3$export$4109102f950813a6;
|
51
|
-
var $b516e4acb09598d3$export$24c7f46a6e3605dd;
|
52
|
-
var $b516e4acb09598d3$export$2927016961429360;
|
53
|
-
var $b516e4acb09598d3$export$98e76d3873e01aa9;
|
54
|
-
$b516e4acb09598d3$export$f39a09f249340e2a = `SWvLfG_focus-ring`;
|
55
|
-
$b516e4acb09598d3$export$8c4ee2c50c22c514 = `SWvLfG_i18nFontFamily`;
|
56
|
-
$b516e4acb09598d3$export$4109102f950813a6 = `SWvLfG_spectrum-FocusRing-ring`;
|
57
|
-
$b516e4acb09598d3$export$24c7f46a6e3605dd = `SWvLfG_spectrum-FocusRing ${$b516e4acb09598d3$export$4109102f950813a6}`;
|
58
|
-
$b516e4acb09598d3$export$2927016961429360 = `SWvLfG_spectrum-FocusRing--quiet`;
|
59
|
-
$b516e4acb09598d3$export$98e76d3873e01aa9 = `SWvLfG_spectrum-Well`;
|
60
|
-
|
61
|
-
|
62
|
-
function $fb0fd853f763d005$var$Well(props, ref) {
|
63
|
-
let { children: children, role: role, ...otherProps } = props;
|
64
|
-
let domRef = (0, $f5FMV$reactspectrumutils.useDOMRef)(ref);
|
65
|
-
let { styleProps: styleProps } = (0, $f5FMV$reactspectrumutils.useStyleProps)(otherProps);
|
66
|
-
if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled Well must have a role.");
|
67
|
-
return /*#__PURE__*/ (0, ($parcel$interopDefault($f5FMV$react))).createElement("div", {
|
68
|
-
...(0, $f5FMV$reactariautils.filterDOMProps)(otherProps, {
|
69
|
-
labelable: !!role
|
70
|
-
}),
|
71
|
-
...styleProps,
|
72
|
-
role: role,
|
73
|
-
ref: domRef,
|
74
|
-
className: (0, $f5FMV$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($b516e4acb09598d3$exports))), "spectrum-Well", styleProps.className)
|
75
|
-
}, children);
|
76
|
-
}
|
77
|
-
/**
|
78
|
-
* A Well is a content container that displays non-editable content separate from other content on the screen.
|
79
|
-
* Often this is used to display preformatted text, such as code/markup examples on a documentation page.
|
80
|
-
*/ const $fb0fd853f763d005$export$d89c679ee2f73242 = /*#__PURE__*/ (0, $f5FMV$react.forwardRef)($fb0fd853f763d005$var$Well);
|
81
|
-
|
82
20
|
|
83
21
|
|
84
22
|
|
package/dist/main.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"mappings":"
|
1
|
+
{"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GACD,0CAA0C","sources":["packages/@react-spectrum/well/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n/// <reference types=\"css-module-types\" />\nexport {Well} from './Well';\nexport type {SpectrumWellProps} from '@react-types/well';\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
@@ -1,16 +1,5 @@
|
|
1
|
-
import "./module.
|
2
|
-
import {useDOMRef as $2uC0Z$useDOMRef, useStyleProps as $2uC0Z$useStyleProps, classNames as $2uC0Z$classNames} from "@react-spectrum/utils";
|
3
|
-
import {filterDOMProps as $2uC0Z$filterDOMProps} from "@react-aria/utils";
|
4
|
-
import $2uC0Z$react, {forwardRef as $2uC0Z$forwardRef} from "react";
|
1
|
+
import {Well as $126c538221395de1$export$d89c679ee2f73242} from "./Well.module.js";
|
5
2
|
|
6
|
-
|
7
|
-
function $parcel$interopDefault(a) {
|
8
|
-
return a && a.__esModule ? a.default : a;
|
9
|
-
}
|
10
|
-
|
11
|
-
function $parcel$export(e, n, v, s) {
|
12
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
13
|
-
}
|
14
3
|
/*
|
15
4
|
* Copyright 2020 Adobe. All rights reserved.
|
16
5
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
@@ -22,61 +11,6 @@ function $parcel$export(e, n, v, s) {
|
|
22
11
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
23
12
|
* governing permissions and limitations under the License.
|
24
13
|
*/ /// <reference types="css-module-types" />
|
25
|
-
/*
|
26
|
-
* Copyright 2020 Adobe. All rights reserved.
|
27
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
28
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
29
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
30
|
-
*
|
31
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
32
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
33
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
34
|
-
* governing permissions and limitations under the License.
|
35
|
-
*/
|
36
|
-
|
37
|
-
|
38
|
-
var $f53ecf77408821c3$exports = {};
|
39
|
-
|
40
|
-
$parcel$export($f53ecf77408821c3$exports, "focus-ring", () => $f53ecf77408821c3$export$f39a09f249340e2a, (v) => $f53ecf77408821c3$export$f39a09f249340e2a = v);
|
41
|
-
$parcel$export($f53ecf77408821c3$exports, "i18nFontFamily", () => $f53ecf77408821c3$export$8c4ee2c50c22c514, (v) => $f53ecf77408821c3$export$8c4ee2c50c22c514 = v);
|
42
|
-
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing-ring", () => $f53ecf77408821c3$export$4109102f950813a6, (v) => $f53ecf77408821c3$export$4109102f950813a6 = v);
|
43
|
-
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing", () => $f53ecf77408821c3$export$24c7f46a6e3605dd, (v) => $f53ecf77408821c3$export$24c7f46a6e3605dd = v);
|
44
|
-
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing--quiet", () => $f53ecf77408821c3$export$2927016961429360, (v) => $f53ecf77408821c3$export$2927016961429360 = v);
|
45
|
-
$parcel$export($f53ecf77408821c3$exports, "spectrum-Well", () => $f53ecf77408821c3$export$98e76d3873e01aa9, (v) => $f53ecf77408821c3$export$98e76d3873e01aa9 = v);
|
46
|
-
var $f53ecf77408821c3$export$f39a09f249340e2a;
|
47
|
-
var $f53ecf77408821c3$export$8c4ee2c50c22c514;
|
48
|
-
var $f53ecf77408821c3$export$4109102f950813a6;
|
49
|
-
var $f53ecf77408821c3$export$24c7f46a6e3605dd;
|
50
|
-
var $f53ecf77408821c3$export$2927016961429360;
|
51
|
-
var $f53ecf77408821c3$export$98e76d3873e01aa9;
|
52
|
-
$f53ecf77408821c3$export$f39a09f249340e2a = `SWvLfG_focus-ring`;
|
53
|
-
$f53ecf77408821c3$export$8c4ee2c50c22c514 = `SWvLfG_i18nFontFamily`;
|
54
|
-
$f53ecf77408821c3$export$4109102f950813a6 = `SWvLfG_spectrum-FocusRing-ring`;
|
55
|
-
$f53ecf77408821c3$export$24c7f46a6e3605dd = `SWvLfG_spectrum-FocusRing ${$f53ecf77408821c3$export$4109102f950813a6}`;
|
56
|
-
$f53ecf77408821c3$export$2927016961429360 = `SWvLfG_spectrum-FocusRing--quiet`;
|
57
|
-
$f53ecf77408821c3$export$98e76d3873e01aa9 = `SWvLfG_spectrum-Well`;
|
58
|
-
|
59
|
-
|
60
|
-
function $126c538221395de1$var$Well(props, ref) {
|
61
|
-
let { children: children, role: role, ...otherProps } = props;
|
62
|
-
let domRef = (0, $2uC0Z$useDOMRef)(ref);
|
63
|
-
let { styleProps: styleProps } = (0, $2uC0Z$useStyleProps)(otherProps);
|
64
|
-
if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled Well must have a role.");
|
65
|
-
return /*#__PURE__*/ (0, $2uC0Z$react).createElement("div", {
|
66
|
-
...(0, $2uC0Z$filterDOMProps)(otherProps, {
|
67
|
-
labelable: !!role
|
68
|
-
}),
|
69
|
-
...styleProps,
|
70
|
-
role: role,
|
71
|
-
ref: domRef,
|
72
|
-
className: (0, $2uC0Z$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f53ecf77408821c3$exports))), "spectrum-Well", styleProps.className)
|
73
|
-
}, children);
|
74
|
-
}
|
75
|
-
/**
|
76
|
-
* A Well is a content container that displays non-editable content separate from other content on the screen.
|
77
|
-
* Often this is used to display preformatted text, such as code/markup examples on a documentation page.
|
78
|
-
*/ const $126c538221395de1$export$d89c679ee2f73242 = /*#__PURE__*/ (0, $2uC0Z$forwardRef)($126c538221395de1$var$Well);
|
79
|
-
|
80
14
|
|
81
15
|
|
82
16
|
|
package/dist/module.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"mappings":"
|
1
|
+
{"mappings":";;AAAA;;;;;;;;;;CAUC,GACD,0CAA0C","sources":["packages/@react-spectrum/well/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n/// <reference types=\"css-module-types\" />\nexport {Well} from './Well';\nexport type {SpectrumWellProps} from '@react-types/well';\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/dist/types.d.ts
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { SpectrumWellProps } from "@react-types/well";
|
3
|
+
import { DOMRefValue } from "@react-types/shared";
|
3
4
|
/**
|
4
5
|
* A Well is a content container that displays non-editable content separate from other content on the screen.
|
5
6
|
* Often this is used to display preformatted text, such as code/markup examples on a documentation page.
|
6
7
|
*/
|
7
|
-
export const Well: React.ForwardRefExoticComponent<SpectrumWellProps & React.RefAttributes<
|
8
|
+
export const Well: React.ForwardRefExoticComponent<SpectrumWellProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
|
8
9
|
export type { SpectrumWellProps } from '@react-types/well';
|
9
10
|
|
10
11
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"mappings":"
|
1
|
+
{"mappings":";;;AAgDA;;;GAGG;AACH,OAAA,MAAM,2GAAwB,CAAC;ACvC/B,YAAY,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC","sources":["packages/@react-spectrum/well/src/packages/@react-spectrum/well/src/Well.tsx","packages/@react-spectrum/well/src/packages/@react-spectrum/well/src/index.ts","packages/@react-spectrum/well/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n/// <reference types=\"css-module-types\" />\nexport {Well} from './Well';\nexport type {SpectrumWellProps} from '@react-types/well';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
@@ -1 +1 @@
|
|
1
|
-
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ","sources":["packages/@adobe/spectrum-css-temp/components/well/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"
|
1
|
+
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ","sources":["packages/@adobe/spectrum-css-temp/components/well/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.f22d6188.css.map"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
|
2
|
+
function $parcel$export(e, n, v, s) {
|
3
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
4
|
+
}
|
5
|
+
|
6
|
+
$parcel$export(module.exports, "focus-ring", () => $b516e4acb09598d3$export$f39a09f249340e2a, (v) => $b516e4acb09598d3$export$f39a09f249340e2a = v);
|
7
|
+
$parcel$export(module.exports, "i18nFontFamily", () => $b516e4acb09598d3$export$8c4ee2c50c22c514, (v) => $b516e4acb09598d3$export$8c4ee2c50c22c514 = v);
|
8
|
+
$parcel$export(module.exports, "spectrum-FocusRing-ring", () => $b516e4acb09598d3$export$4109102f950813a6, (v) => $b516e4acb09598d3$export$4109102f950813a6 = v);
|
9
|
+
$parcel$export(module.exports, "spectrum-FocusRing", () => $b516e4acb09598d3$export$24c7f46a6e3605dd, (v) => $b516e4acb09598d3$export$24c7f46a6e3605dd = v);
|
10
|
+
$parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $b516e4acb09598d3$export$2927016961429360, (v) => $b516e4acb09598d3$export$2927016961429360 = v);
|
11
|
+
$parcel$export(module.exports, "spectrum-Well", () => $b516e4acb09598d3$export$98e76d3873e01aa9, (v) => $b516e4acb09598d3$export$98e76d3873e01aa9 = v);
|
12
|
+
var $b516e4acb09598d3$export$f39a09f249340e2a;
|
13
|
+
var $b516e4acb09598d3$export$8c4ee2c50c22c514;
|
14
|
+
var $b516e4acb09598d3$export$4109102f950813a6;
|
15
|
+
var $b516e4acb09598d3$export$24c7f46a6e3605dd;
|
16
|
+
var $b516e4acb09598d3$export$2927016961429360;
|
17
|
+
var $b516e4acb09598d3$export$98e76d3873e01aa9;
|
18
|
+
$b516e4acb09598d3$export$f39a09f249340e2a = `SWvLfG_focus-ring`;
|
19
|
+
$b516e4acb09598d3$export$8c4ee2c50c22c514 = `SWvLfG_i18nFontFamily`;
|
20
|
+
$b516e4acb09598d3$export$4109102f950813a6 = `SWvLfG_spectrum-FocusRing-ring`;
|
21
|
+
$b516e4acb09598d3$export$24c7f46a6e3605dd = `SWvLfG_spectrum-FocusRing ${$b516e4acb09598d3$export$4109102f950813a6}`;
|
22
|
+
$b516e4acb09598d3$export$2927016961429360 = `SWvLfG_spectrum-FocusRing--quiet`;
|
23
|
+
$b516e4acb09598d3$export$98e76d3873e01aa9 = `SWvLfG_spectrum-Well`;
|
24
|
+
|
25
|
+
|
26
|
+
//# sourceMappingURL=well_vars_css.main.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"mappings":";;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AALA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAkC,CAAC,oBAAoB,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/well/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"well_vars_css.main.js.map"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
function $parcel$export(e, n, v, s) {
|
3
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
4
|
+
}
|
5
|
+
var $f53ecf77408821c3$exports = {};
|
6
|
+
|
7
|
+
$parcel$export($f53ecf77408821c3$exports, "focus-ring", () => $f53ecf77408821c3$export$f39a09f249340e2a, (v) => $f53ecf77408821c3$export$f39a09f249340e2a = v);
|
8
|
+
$parcel$export($f53ecf77408821c3$exports, "i18nFontFamily", () => $f53ecf77408821c3$export$8c4ee2c50c22c514, (v) => $f53ecf77408821c3$export$8c4ee2c50c22c514 = v);
|
9
|
+
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing-ring", () => $f53ecf77408821c3$export$4109102f950813a6, (v) => $f53ecf77408821c3$export$4109102f950813a6 = v);
|
10
|
+
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing", () => $f53ecf77408821c3$export$24c7f46a6e3605dd, (v) => $f53ecf77408821c3$export$24c7f46a6e3605dd = v);
|
11
|
+
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing--quiet", () => $f53ecf77408821c3$export$2927016961429360, (v) => $f53ecf77408821c3$export$2927016961429360 = v);
|
12
|
+
$parcel$export($f53ecf77408821c3$exports, "spectrum-Well", () => $f53ecf77408821c3$export$98e76d3873e01aa9, (v) => $f53ecf77408821c3$export$98e76d3873e01aa9 = v);
|
13
|
+
var $f53ecf77408821c3$export$f39a09f249340e2a;
|
14
|
+
var $f53ecf77408821c3$export$8c4ee2c50c22c514;
|
15
|
+
var $f53ecf77408821c3$export$4109102f950813a6;
|
16
|
+
var $f53ecf77408821c3$export$24c7f46a6e3605dd;
|
17
|
+
var $f53ecf77408821c3$export$2927016961429360;
|
18
|
+
var $f53ecf77408821c3$export$98e76d3873e01aa9;
|
19
|
+
$f53ecf77408821c3$export$f39a09f249340e2a = `SWvLfG_focus-ring`;
|
20
|
+
$f53ecf77408821c3$export$8c4ee2c50c22c514 = `SWvLfG_i18nFontFamily`;
|
21
|
+
$f53ecf77408821c3$export$4109102f950813a6 = `SWvLfG_spectrum-FocusRing-ring`;
|
22
|
+
$f53ecf77408821c3$export$24c7f46a6e3605dd = `SWvLfG_spectrum-FocusRing ${$f53ecf77408821c3$export$4109102f950813a6}`;
|
23
|
+
$f53ecf77408821c3$export$2927016961429360 = `SWvLfG_spectrum-FocusRing--quiet`;
|
24
|
+
$f53ecf77408821c3$export$98e76d3873e01aa9 = `SWvLfG_spectrum-Well`;
|
25
|
+
|
26
|
+
|
27
|
+
export {$f53ecf77408821c3$exports as default};
|
28
|
+
//# sourceMappingURL=well_vars_css.mjs.map
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
function $parcel$export(e, n, v, s) {
|
3
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
4
|
+
}
|
5
|
+
var $f53ecf77408821c3$exports = {};
|
6
|
+
|
7
|
+
$parcel$export($f53ecf77408821c3$exports, "focus-ring", () => $f53ecf77408821c3$export$f39a09f249340e2a, (v) => $f53ecf77408821c3$export$f39a09f249340e2a = v);
|
8
|
+
$parcel$export($f53ecf77408821c3$exports, "i18nFontFamily", () => $f53ecf77408821c3$export$8c4ee2c50c22c514, (v) => $f53ecf77408821c3$export$8c4ee2c50c22c514 = v);
|
9
|
+
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing-ring", () => $f53ecf77408821c3$export$4109102f950813a6, (v) => $f53ecf77408821c3$export$4109102f950813a6 = v);
|
10
|
+
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing", () => $f53ecf77408821c3$export$24c7f46a6e3605dd, (v) => $f53ecf77408821c3$export$24c7f46a6e3605dd = v);
|
11
|
+
$parcel$export($f53ecf77408821c3$exports, "spectrum-FocusRing--quiet", () => $f53ecf77408821c3$export$2927016961429360, (v) => $f53ecf77408821c3$export$2927016961429360 = v);
|
12
|
+
$parcel$export($f53ecf77408821c3$exports, "spectrum-Well", () => $f53ecf77408821c3$export$98e76d3873e01aa9, (v) => $f53ecf77408821c3$export$98e76d3873e01aa9 = v);
|
13
|
+
var $f53ecf77408821c3$export$f39a09f249340e2a;
|
14
|
+
var $f53ecf77408821c3$export$8c4ee2c50c22c514;
|
15
|
+
var $f53ecf77408821c3$export$4109102f950813a6;
|
16
|
+
var $f53ecf77408821c3$export$24c7f46a6e3605dd;
|
17
|
+
var $f53ecf77408821c3$export$2927016961429360;
|
18
|
+
var $f53ecf77408821c3$export$98e76d3873e01aa9;
|
19
|
+
$f53ecf77408821c3$export$f39a09f249340e2a = `SWvLfG_focus-ring`;
|
20
|
+
$f53ecf77408821c3$export$8c4ee2c50c22c514 = `SWvLfG_i18nFontFamily`;
|
21
|
+
$f53ecf77408821c3$export$4109102f950813a6 = `SWvLfG_spectrum-FocusRing-ring`;
|
22
|
+
$f53ecf77408821c3$export$24c7f46a6e3605dd = `SWvLfG_spectrum-FocusRing ${$f53ecf77408821c3$export$4109102f950813a6}`;
|
23
|
+
$f53ecf77408821c3$export$2927016961429360 = `SWvLfG_spectrum-FocusRing--quiet`;
|
24
|
+
$f53ecf77408821c3$export$98e76d3873e01aa9 = `SWvLfG_spectrum-Well`;
|
25
|
+
|
26
|
+
|
27
|
+
export {$f53ecf77408821c3$exports as default};
|
28
|
+
//# sourceMappingURL=well_vars_css.module.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"mappings":";;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AALA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAkC,CAAC,oBAAoB,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/well/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"well_vars_css.module.js.map"}
|
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.2848+72775d272",
|
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.8-nightly.
|
39
|
+
"@react-aria/utils": "3.0.0-nightly.2848+72775d272",
|
40
|
+
"@react-spectrum/utils": "3.0.0-nightly.2848+72775d272",
|
41
|
+
"@react-types/shared": "3.0.0-nightly.2848+72775d272",
|
42
|
+
"@react-types/well": "3.3.8-nightly.4560+72775d272",
|
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.2848+72775d272"
|
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": "72775d272be04cfa32d26ec821bc68513d92a72b"
|
55
55
|
}
|
package/dist/module.css
DELETED
@@ -1,93 +0,0 @@
|
|
1
|
-
.SWvLfG_i18nFontFamily {
|
2
|
-
font-synthesis: weight;
|
3
|
-
font-family: adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
4
|
-
}
|
5
|
-
|
6
|
-
.SWvLfG_i18nFontFamily:lang(ar) {
|
7
|
-
font-family: myriad-arabic, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
8
|
-
}
|
9
|
-
|
10
|
-
.SWvLfG_i18nFontFamily:lang(he) {
|
11
|
-
font-family: myriad-hebrew, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
12
|
-
}
|
13
|
-
|
14
|
-
.SWvLfG_i18nFontFamily:lang(zh) {
|
15
|
-
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
|
16
|
-
}
|
17
|
-
|
18
|
-
.SWvLfG_i18nFontFamily:lang(zh-Hans) {
|
19
|
-
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
20
|
-
}
|
21
|
-
|
22
|
-
.SWvLfG_i18nFontFamily:lang(zh-Hant) {
|
23
|
-
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
|
24
|
-
}
|
25
|
-
|
26
|
-
.SWvLfG_i18nFontFamily:lang(zh-SG), .SWvLfG_i18nFontFamily:lang(zh-CN) {
|
27
|
-
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
28
|
-
}
|
29
|
-
|
30
|
-
.SWvLfG_i18nFontFamily:lang(ko) {
|
31
|
-
font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
|
32
|
-
}
|
33
|
-
|
34
|
-
.SWvLfG_i18nFontFamily:lang(ja) {
|
35
|
-
font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
|
36
|
-
}
|
37
|
-
|
38
|
-
.SWvLfG_spectrum-FocusRing-ring {
|
39
|
-
--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));
|
40
|
-
--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);
|
41
|
-
--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);
|
42
|
-
--spectrum-focus-ring-border-size: 0px;
|
43
|
-
--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)));
|
44
|
-
}
|
45
|
-
|
46
|
-
.SWvLfG_spectrum-FocusRing-ring:after {
|
47
|
-
border-radius: calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));
|
48
|
-
content: "";
|
49
|
-
margin: calc(-1 * var(--spectrum-focus-ring-border-size));
|
50
|
-
pointer-events: none;
|
51
|
-
transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
|
52
|
-
display: block;
|
53
|
-
position: absolute;
|
54
|
-
inset: 0;
|
55
|
-
}
|
56
|
-
|
57
|
-
.SWvLfG_spectrum-FocusRing.SWvLfG_focus-ring:after {
|
58
|
-
margin: calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));
|
59
|
-
box-shadow: 0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color);
|
60
|
-
}
|
61
|
-
|
62
|
-
.SWvLfG_spectrum-FocusRing--quiet:after {
|
63
|
-
border-radius: 0;
|
64
|
-
}
|
65
|
-
|
66
|
-
.SWvLfG_spectrum-FocusRing--quiet.SWvLfG_focus-ring:after {
|
67
|
-
margin: 0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;
|
68
|
-
box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
|
69
|
-
}
|
70
|
-
|
71
|
-
@media (forced-colors: active) {
|
72
|
-
.SWvLfG_spectrum-FocusRing, .SWvLfG_spectrum-FocusRing-ring, .SWvLfG_spectrum-FocusRing--quiet {
|
73
|
-
--spectrum-high-contrast-focus-ring-color: Highlight;
|
74
|
-
}
|
75
|
-
|
76
|
-
:is(.SWvLfG_spectrum-FocusRing, .SWvLfG_spectrum-FocusRing-ring, .SWvLfG_spectrum-FocusRing--quiet):after {
|
77
|
-
forced-color-adjust: none;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
.SWvLfG_spectrum-Well {
|
82
|
-
text-align: start;
|
83
|
-
min-inline-size: var(--spectrum-global-dimension-size-2000);
|
84
|
-
padding: var(--spectrum-global-dimension-size-200);
|
85
|
-
margin-top: var(--spectrum-global-dimension-size-50);
|
86
|
-
border-width: var(--spectrum-alias-border-size-thin, var(--spectrum-global-dimension-static-size-10));
|
87
|
-
border-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
|
88
|
-
background-color: var(--spectrum-well-background-color);
|
89
|
-
border-style: solid;
|
90
|
-
border-color: var(--spectrum-well-border-color);
|
91
|
-
display: block;
|
92
|
-
}
|
93
|
-
/*# sourceMappingURL=module.css.map */
|
package/dist/module.css.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ","sources":["packages/@adobe/spectrum-css-temp/components/well/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.css.map"}
|