@react-spectrum/divider 3.0.0-nightly-641446f65-240905

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/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @react-spectrum/divider
2
+
3
+ This package is part of [react-spectrum](https://github.com/adobe/react-spectrum). See the repo for more details.
@@ -0,0 +1,65 @@
1
+ require("./vars.4e4c96fa.css");
2
+ var $7fdcb1fd1927dca1$exports = require("./rule_vars_css.main.js");
3
+ var $40sll$reactspectrumutils = require("@react-spectrum/utils");
4
+ var $40sll$react = require("react");
5
+ var $40sll$reactariaseparator = require("@react-aria/separator");
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, "Divider", () => $a75f934b8a5939c6$export$2e0a83ec2e27ecbb);
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
+ let $a75f934b8a5939c6$var$sizeMap = {
32
+ S: 'small',
33
+ M: 'medium',
34
+ L: 'large'
35
+ };
36
+ function $a75f934b8a5939c6$var$Divider(props, ref) {
37
+ props = (0, $40sll$reactspectrumutils.useSlotProps)(props, 'divider');
38
+ let { size: size = 'L', orientation: orientation = 'horizontal', ...otherProps } = props;
39
+ let domRef = (0, $40sll$reactspectrumutils.useDOMRef)(ref);
40
+ let { styleProps: styleProps } = (0, $40sll$reactspectrumutils.useStyleProps)(otherProps);
41
+ let weight = $a75f934b8a5939c6$var$sizeMap[size];
42
+ let Element = 'hr';
43
+ if (orientation === 'vertical') Element = 'div';
44
+ let { separatorProps: separatorProps } = (0, $40sll$reactariaseparator.useSeparator)({
45
+ ...props,
46
+ elementType: Element
47
+ });
48
+ return /*#__PURE__*/ (0, ($parcel$interopDefault($40sll$react))).createElement(Element, {
49
+ ...styleProps,
50
+ className: (0, $40sll$reactspectrumutils.classNames)((0, ($parcel$interopDefault($7fdcb1fd1927dca1$exports))), 'spectrum-Rule', `spectrum-Rule--${weight}`, {
51
+ 'spectrum-Rule--vertical': orientation === 'vertical',
52
+ 'spectrum-Rule--horizontal': orientation === 'horizontal'
53
+ }, styleProps.className),
54
+ // @ts-ignore https://github.com/Microsoft/TypeScript/issues/28892
55
+ ref: domRef,
56
+ ...separatorProps
57
+ });
58
+ }
59
+ /**
60
+ * Dividers bring clarity to a layout by grouping and dividing content in close proximity.
61
+ * They can also be used to establish rhythm and hierarchy.
62
+ */ let $a75f934b8a5939c6$export$2e0a83ec2e27ecbb = /*#__PURE__*/ (0, ($parcel$interopDefault($40sll$react))).forwardRef($a75f934b8a5939c6$var$Divider);
63
+
64
+
65
+ //# sourceMappingURL=Divider.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;AASD,IAAI,gCAAU;IACZ,GAAG;IACH,GAAG;IACH,GAAG;AACL;AAEA,SAAS,8BAAQ,KAA2B,EAAE,GAAW;IACvD,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,QACF,OAAO,kBACP,cAAc,cACd,GAAG,YACJ,GAAG;IACJ,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IACvB,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,SAAS,6BAAO,CAAC,KAAK;IAE1B,IAAI,UAAuB;IAC3B,IAAI,gBAAgB,YAClB,UAAU;IAGZ,IAAI,kBAAC,cAAc,EAAC,GAAG,CAAA,GAAA,sCAAW,EAAE;QAClC,GAAG,KAAK;QACR,aAAa;IACf;IAEA,qBACE,0DAAC;QACE,GAAG,UAAU;QACd,WACE,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,mDAAK,GACL,iBACA,CAAC,eAAe,EAAE,OAAO,CAAC,EAC1B;YACE,2BAA2B,gBAAgB;YAC3C,6BAA6B,gBAAgB;QAC/C,GACA,WAAW,SAAS;QAGxB,kEAAkE;QAClE,KAAK;QACJ,GAAG,cAAc;;AAExB;AAEA;;;CAGC,GACD,IAAI,0DAAW,CAAA,GAAA,sCAAI,EAAE,UAAU,CAAC","sources":["packages/@react-spectrum/divider/src/Divider.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, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport React, {ElementType} from 'react';\nimport {SpectrumDividerProps} from '@react-types/divider';\nimport styles from '@adobe/spectrum-css-temp/components/rule/vars.css';\nimport {useSeparator} from '@react-aria/separator';\n\nlet sizeMap = {\n S: 'small',\n M: 'medium',\n L: 'large'\n};\n\nfunction Divider(props: SpectrumDividerProps, ref: DOMRef) {\n props = useSlotProps(props, 'divider');\n let {\n size = 'L',\n orientation = 'horizontal',\n ...otherProps\n } = props;\n let domRef = useDOMRef(ref);\n let {styleProps} = useStyleProps(otherProps);\n let weight = sizeMap[size];\n\n let Element: ElementType = 'hr';\n if (orientation === 'vertical') {\n Element = 'div';\n }\n\n let {separatorProps} = useSeparator({\n ...props,\n elementType: Element\n });\n\n return (\n <Element\n {...styleProps}\n className={\n classNames(\n styles,\n 'spectrum-Rule',\n `spectrum-Rule--${weight}`,\n {\n 'spectrum-Rule--vertical': orientation === 'vertical',\n 'spectrum-Rule--horizontal': orientation === 'horizontal'\n },\n styleProps.className\n )\n }\n // @ts-ignore https://github.com/Microsoft/TypeScript/issues/28892\n ref={domRef}\n {...separatorProps} />\n );\n}\n\n/**\n * Dividers bring clarity to a layout by grouping and dividing content in close proximity.\n * They can also be used to establish rhythm and hierarchy.\n */\nlet _Divider = React.forwardRef(Divider);\nexport {_Divider as Divider};\n"],"names":[],"version":3,"file":"Divider.main.js.map"}
@@ -0,0 +1,60 @@
1
+ import "./vars.4e4c96fa.css";
2
+ import $budPV$rule_vars_cssmodulejs from "./rule_vars_css.mjs";
3
+ import {useSlotProps as $budPV$useSlotProps, useDOMRef as $budPV$useDOMRef, useStyleProps as $budPV$useStyleProps, classNames as $budPV$classNames} from "@react-spectrum/utils";
4
+ import $budPV$react from "react";
5
+ import {useSeparator as $budPV$useSeparator} from "@react-aria/separator";
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
+ let $269e81ee206e9515$var$sizeMap = {
26
+ S: 'small',
27
+ M: 'medium',
28
+ L: 'large'
29
+ };
30
+ function $269e81ee206e9515$var$Divider(props, ref) {
31
+ props = (0, $budPV$useSlotProps)(props, 'divider');
32
+ let { size: size = 'L', orientation: orientation = 'horizontal', ...otherProps } = props;
33
+ let domRef = (0, $budPV$useDOMRef)(ref);
34
+ let { styleProps: styleProps } = (0, $budPV$useStyleProps)(otherProps);
35
+ let weight = $269e81ee206e9515$var$sizeMap[size];
36
+ let Element = 'hr';
37
+ if (orientation === 'vertical') Element = 'div';
38
+ let { separatorProps: separatorProps } = (0, $budPV$useSeparator)({
39
+ ...props,
40
+ elementType: Element
41
+ });
42
+ return /*#__PURE__*/ (0, $budPV$react).createElement(Element, {
43
+ ...styleProps,
44
+ className: (0, $budPV$classNames)((0, ($parcel$interopDefault($budPV$rule_vars_cssmodulejs))), 'spectrum-Rule', `spectrum-Rule--${weight}`, {
45
+ 'spectrum-Rule--vertical': orientation === 'vertical',
46
+ 'spectrum-Rule--horizontal': orientation === 'horizontal'
47
+ }, styleProps.className),
48
+ // @ts-ignore https://github.com/Microsoft/TypeScript/issues/28892
49
+ ref: domRef,
50
+ ...separatorProps
51
+ });
52
+ }
53
+ /**
54
+ * Dividers bring clarity to a layout by grouping and dividing content in close proximity.
55
+ * They can also be used to establish rhythm and hierarchy.
56
+ */ let $269e81ee206e9515$export$2e0a83ec2e27ecbb = /*#__PURE__*/ (0, $budPV$react).forwardRef($269e81ee206e9515$var$Divider);
57
+
58
+
59
+ export {$269e81ee206e9515$export$2e0a83ec2e27ecbb as Divider};
60
+ //# sourceMappingURL=Divider.module.js.map
@@ -0,0 +1,60 @@
1
+ import "./vars.4e4c96fa.css";
2
+ import $budPV$rule_vars_cssmodulejs from "./rule_vars_css.module.js";
3
+ import {useSlotProps as $budPV$useSlotProps, useDOMRef as $budPV$useDOMRef, useStyleProps as $budPV$useStyleProps, classNames as $budPV$classNames} from "@react-spectrum/utils";
4
+ import $budPV$react from "react";
5
+ import {useSeparator as $budPV$useSeparator} from "@react-aria/separator";
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
+ let $269e81ee206e9515$var$sizeMap = {
26
+ S: 'small',
27
+ M: 'medium',
28
+ L: 'large'
29
+ };
30
+ function $269e81ee206e9515$var$Divider(props, ref) {
31
+ props = (0, $budPV$useSlotProps)(props, 'divider');
32
+ let { size: size = 'L', orientation: orientation = 'horizontal', ...otherProps } = props;
33
+ let domRef = (0, $budPV$useDOMRef)(ref);
34
+ let { styleProps: styleProps } = (0, $budPV$useStyleProps)(otherProps);
35
+ let weight = $269e81ee206e9515$var$sizeMap[size];
36
+ let Element = 'hr';
37
+ if (orientation === 'vertical') Element = 'div';
38
+ let { separatorProps: separatorProps } = (0, $budPV$useSeparator)({
39
+ ...props,
40
+ elementType: Element
41
+ });
42
+ return /*#__PURE__*/ (0, $budPV$react).createElement(Element, {
43
+ ...styleProps,
44
+ className: (0, $budPV$classNames)((0, ($parcel$interopDefault($budPV$rule_vars_cssmodulejs))), 'spectrum-Rule', `spectrum-Rule--${weight}`, {
45
+ 'spectrum-Rule--vertical': orientation === 'vertical',
46
+ 'spectrum-Rule--horizontal': orientation === 'horizontal'
47
+ }, styleProps.className),
48
+ // @ts-ignore https://github.com/Microsoft/TypeScript/issues/28892
49
+ ref: domRef,
50
+ ...separatorProps
51
+ });
52
+ }
53
+ /**
54
+ * Dividers bring clarity to a layout by grouping and dividing content in close proximity.
55
+ * They can also be used to establish rhythm and hierarchy.
56
+ */ let $269e81ee206e9515$export$2e0a83ec2e27ecbb = /*#__PURE__*/ (0, $budPV$react).forwardRef($269e81ee206e9515$var$Divider);
57
+
58
+
59
+ export {$269e81ee206e9515$export$2e0a83ec2e27ecbb as Divider};
60
+ //# sourceMappingURL=Divider.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;AASD,IAAI,gCAAU;IACZ,GAAG;IACH,GAAG;IACH,GAAG;AACL;AAEA,SAAS,8BAAQ,KAA2B,EAAE,GAAW;IACvD,QAAQ,CAAA,GAAA,mBAAW,EAAE,OAAO;IAC5B,IAAI,QACF,OAAO,kBACP,cAAc,cACd,GAAG,YACJ,GAAG;IACJ,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IACvB,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,SAAS,6BAAO,CAAC,KAAK;IAE1B,IAAI,UAAuB;IAC3B,IAAI,gBAAgB,YAClB,UAAU;IAGZ,IAAI,kBAAC,cAAc,EAAC,GAAG,CAAA,GAAA,mBAAW,EAAE;QAClC,GAAG,KAAK;QACR,aAAa;IACf;IAEA,qBACE,gCAAC;QACE,GAAG,UAAU;QACd,WACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,sDAAK,GACL,iBACA,CAAC,eAAe,EAAE,OAAO,CAAC,EAC1B;YACE,2BAA2B,gBAAgB;YAC3C,6BAA6B,gBAAgB;QAC/C,GACA,WAAW,SAAS;QAGxB,kEAAkE;QAClE,KAAK;QACJ,GAAG,cAAc;;AAExB;AAEA;;;CAGC,GACD,IAAI,0DAAW,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC","sources":["packages/@react-spectrum/divider/src/Divider.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, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport React, {ElementType} from 'react';\nimport {SpectrumDividerProps} from '@react-types/divider';\nimport styles from '@adobe/spectrum-css-temp/components/rule/vars.css';\nimport {useSeparator} from '@react-aria/separator';\n\nlet sizeMap = {\n S: 'small',\n M: 'medium',\n L: 'large'\n};\n\nfunction Divider(props: SpectrumDividerProps, ref: DOMRef) {\n props = useSlotProps(props, 'divider');\n let {\n size = 'L',\n orientation = 'horizontal',\n ...otherProps\n } = props;\n let domRef = useDOMRef(ref);\n let {styleProps} = useStyleProps(otherProps);\n let weight = sizeMap[size];\n\n let Element: ElementType = 'hr';\n if (orientation === 'vertical') {\n Element = 'div';\n }\n\n let {separatorProps} = useSeparator({\n ...props,\n elementType: Element\n });\n\n return (\n <Element\n {...styleProps}\n className={\n classNames(\n styles,\n 'spectrum-Rule',\n `spectrum-Rule--${weight}`,\n {\n 'spectrum-Rule--vertical': orientation === 'vertical',\n 'spectrum-Rule--horizontal': orientation === 'horizontal'\n },\n styleProps.className\n )\n }\n // @ts-ignore https://github.com/Microsoft/TypeScript/issues/28892\n ref={domRef}\n {...separatorProps} />\n );\n}\n\n/**\n * Dividers bring clarity to a layout by grouping and dividing content in close proximity.\n * They can also be used to establish rhythm and hierarchy.\n */\nlet _Divider = React.forwardRef(Divider);\nexport {_Divider as Divider};\n"],"names":[],"version":3,"file":"Divider.module.js.map"}
@@ -0,0 +1,18 @@
1
+ import {Divider as $269e81ee206e9515$export$2e0a83ec2e27ecbb} from "./Divider.mjs";
2
+
3
+ /*
4
+ * Copyright 2020 Adobe. All rights reserved.
5
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License. You may obtain a copy
7
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software distributed under
10
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
11
+ * OF ANY KIND, either express or implied. See the License for the specific language
12
+ * governing permissions and limitations under the License.
13
+ */ /// <reference types="css-module-types" />
14
+
15
+
16
+
17
+ export {$269e81ee206e9515$export$2e0a83ec2e27ecbb as Divider};
18
+ //# sourceMappingURL=module.js.map
package/dist/main.js ADDED
@@ -0,0 +1,23 @@
1
+ var $a75f934b8a5939c6$exports = require("./Divider.main.js");
2
+
3
+
4
+ function $parcel$export(e, n, v, s) {
5
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
6
+ }
7
+
8
+ $parcel$export(module.exports, "Divider", () => $a75f934b8a5939c6$exports.Divider);
9
+ /*
10
+ * Copyright 2020 Adobe. All rights reserved.
11
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License. You may obtain a copy
13
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software distributed under
16
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
17
+ * OF ANY KIND, either express or implied. See the License for the specific language
18
+ * governing permissions and limitations under the License.
19
+ */ /// <reference types="css-module-types" />
20
+
21
+
22
+
23
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/divider/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\n/// <reference types=\"css-module-types\" />\n\nexport {Divider} from './Divider';\nexport type {SpectrumDividerProps} from '@react-types/divider';\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js ADDED
@@ -0,0 +1,18 @@
1
+ import {Divider as $269e81ee206e9515$export$2e0a83ec2e27ecbb} from "./Divider.module.js";
2
+
3
+ /*
4
+ * Copyright 2020 Adobe. All rights reserved.
5
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License. You may obtain a copy
7
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software distributed under
10
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
11
+ * OF ANY KIND, either express or implied. See the License for the specific language
12
+ * governing permissions and limitations under the License.
13
+ */ /// <reference types="css-module-types" />
14
+
15
+
16
+
17
+ export {$269e81ee206e9515$export$2e0a83ec2e27ecbb as Divider};
18
+ //# sourceMappingURL=module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/divider/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\n/// <reference types=\"css-module-types\" />\n\nexport {Divider} from './Divider';\nexport type {SpectrumDividerProps} from '@react-types/divider';\n"],"names":[],"version":3,"file":"module.js.map"}
@@ -0,0 +1,41 @@
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", () => $7fdcb1fd1927dca1$export$f39a09f249340e2a, (v) => $7fdcb1fd1927dca1$export$f39a09f249340e2a = v);
7
+ $parcel$export(module.exports, "i18nFontFamily", () => $7fdcb1fd1927dca1$export$8c4ee2c50c22c514, (v) => $7fdcb1fd1927dca1$export$8c4ee2c50c22c514 = v);
8
+ $parcel$export(module.exports, "spectrum-FocusRing-ring", () => $7fdcb1fd1927dca1$export$4109102f950813a6, (v) => $7fdcb1fd1927dca1$export$4109102f950813a6 = v);
9
+ $parcel$export(module.exports, "spectrum-FocusRing", () => $7fdcb1fd1927dca1$export$24c7f46a6e3605dd, (v) => $7fdcb1fd1927dca1$export$24c7f46a6e3605dd = v);
10
+ $parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $7fdcb1fd1927dca1$export$2927016961429360, (v) => $7fdcb1fd1927dca1$export$2927016961429360 = v);
11
+ $parcel$export(module.exports, "spectrum-Rule", () => $7fdcb1fd1927dca1$export$9ebf9cdaed6878bc, (v) => $7fdcb1fd1927dca1$export$9ebf9cdaed6878bc = v);
12
+ $parcel$export(module.exports, "spectrum-Rule--horizontal", () => $7fdcb1fd1927dca1$export$563c1b24466c05b8, (v) => $7fdcb1fd1927dca1$export$563c1b24466c05b8 = v);
13
+ $parcel$export(module.exports, "spectrum-Rule--large", () => $7fdcb1fd1927dca1$export$243baa0ec4ab58cc, (v) => $7fdcb1fd1927dca1$export$243baa0ec4ab58cc = v);
14
+ $parcel$export(module.exports, "spectrum-Rule--medium", () => $7fdcb1fd1927dca1$export$a8d73b58ca350eb9, (v) => $7fdcb1fd1927dca1$export$a8d73b58ca350eb9 = v);
15
+ $parcel$export(module.exports, "spectrum-Rule--small", () => $7fdcb1fd1927dca1$export$b4b727880cfe37d, (v) => $7fdcb1fd1927dca1$export$b4b727880cfe37d = v);
16
+ $parcel$export(module.exports, "spectrum-Rule--vertical", () => $7fdcb1fd1927dca1$export$76f93463a8fc15a8, (v) => $7fdcb1fd1927dca1$export$76f93463a8fc15a8 = v);
17
+ var $7fdcb1fd1927dca1$export$f39a09f249340e2a;
18
+ var $7fdcb1fd1927dca1$export$8c4ee2c50c22c514;
19
+ var $7fdcb1fd1927dca1$export$4109102f950813a6;
20
+ var $7fdcb1fd1927dca1$export$24c7f46a6e3605dd;
21
+ var $7fdcb1fd1927dca1$export$2927016961429360;
22
+ var $7fdcb1fd1927dca1$export$9ebf9cdaed6878bc;
23
+ var $7fdcb1fd1927dca1$export$563c1b24466c05b8;
24
+ var $7fdcb1fd1927dca1$export$243baa0ec4ab58cc;
25
+ var $7fdcb1fd1927dca1$export$a8d73b58ca350eb9;
26
+ var $7fdcb1fd1927dca1$export$b4b727880cfe37d;
27
+ var $7fdcb1fd1927dca1$export$76f93463a8fc15a8;
28
+ $7fdcb1fd1927dca1$export$f39a09f249340e2a = `cTbPrq_focus-ring`;
29
+ $7fdcb1fd1927dca1$export$8c4ee2c50c22c514 = `cTbPrq_i18nFontFamily`;
30
+ $7fdcb1fd1927dca1$export$4109102f950813a6 = `cTbPrq_spectrum-FocusRing-ring`;
31
+ $7fdcb1fd1927dca1$export$24c7f46a6e3605dd = `cTbPrq_spectrum-FocusRing ${$7fdcb1fd1927dca1$export$4109102f950813a6}`;
32
+ $7fdcb1fd1927dca1$export$2927016961429360 = `cTbPrq_spectrum-FocusRing--quiet`;
33
+ $7fdcb1fd1927dca1$export$9ebf9cdaed6878bc = `cTbPrq_spectrum-Rule`;
34
+ $7fdcb1fd1927dca1$export$563c1b24466c05b8 = `cTbPrq_spectrum-Rule--horizontal`;
35
+ $7fdcb1fd1927dca1$export$243baa0ec4ab58cc = `cTbPrq_spectrum-Rule--large`;
36
+ $7fdcb1fd1927dca1$export$a8d73b58ca350eb9 = `cTbPrq_spectrum-Rule--medium`;
37
+ $7fdcb1fd1927dca1$export$b4b727880cfe37d = `cTbPrq_spectrum-Rule--small`;
38
+ $7fdcb1fd1927dca1$export$76f93463a8fc15a8 = `cTbPrq_spectrum-Rule--vertical`;
39
+
40
+
41
+ //# sourceMappingURL=rule_vars_css.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAVA,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;AACxD,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAA0C,CAAC,4BAA4B,CAAC;AACxE,2CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAA4C,CAAC,8BAA8B,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/rule/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":"rule_vars_css.main.js.map"}
@@ -0,0 +1,43 @@
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 $7a9eac509b76fa30$exports = {};
6
+
7
+ $parcel$export($7a9eac509b76fa30$exports, "focus-ring", () => $7a9eac509b76fa30$export$f39a09f249340e2a, (v) => $7a9eac509b76fa30$export$f39a09f249340e2a = v);
8
+ $parcel$export($7a9eac509b76fa30$exports, "i18nFontFamily", () => $7a9eac509b76fa30$export$8c4ee2c50c22c514, (v) => $7a9eac509b76fa30$export$8c4ee2c50c22c514 = v);
9
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-FocusRing-ring", () => $7a9eac509b76fa30$export$4109102f950813a6, (v) => $7a9eac509b76fa30$export$4109102f950813a6 = v);
10
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-FocusRing", () => $7a9eac509b76fa30$export$24c7f46a6e3605dd, (v) => $7a9eac509b76fa30$export$24c7f46a6e3605dd = v);
11
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-FocusRing--quiet", () => $7a9eac509b76fa30$export$2927016961429360, (v) => $7a9eac509b76fa30$export$2927016961429360 = v);
12
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule", () => $7a9eac509b76fa30$export$9ebf9cdaed6878bc, (v) => $7a9eac509b76fa30$export$9ebf9cdaed6878bc = v);
13
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule--horizontal", () => $7a9eac509b76fa30$export$563c1b24466c05b8, (v) => $7a9eac509b76fa30$export$563c1b24466c05b8 = v);
14
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule--large", () => $7a9eac509b76fa30$export$243baa0ec4ab58cc, (v) => $7a9eac509b76fa30$export$243baa0ec4ab58cc = v);
15
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule--medium", () => $7a9eac509b76fa30$export$a8d73b58ca350eb9, (v) => $7a9eac509b76fa30$export$a8d73b58ca350eb9 = v);
16
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule--small", () => $7a9eac509b76fa30$export$b4b727880cfe37d, (v) => $7a9eac509b76fa30$export$b4b727880cfe37d = v);
17
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule--vertical", () => $7a9eac509b76fa30$export$76f93463a8fc15a8, (v) => $7a9eac509b76fa30$export$76f93463a8fc15a8 = v);
18
+ var $7a9eac509b76fa30$export$f39a09f249340e2a;
19
+ var $7a9eac509b76fa30$export$8c4ee2c50c22c514;
20
+ var $7a9eac509b76fa30$export$4109102f950813a6;
21
+ var $7a9eac509b76fa30$export$24c7f46a6e3605dd;
22
+ var $7a9eac509b76fa30$export$2927016961429360;
23
+ var $7a9eac509b76fa30$export$9ebf9cdaed6878bc;
24
+ var $7a9eac509b76fa30$export$563c1b24466c05b8;
25
+ var $7a9eac509b76fa30$export$243baa0ec4ab58cc;
26
+ var $7a9eac509b76fa30$export$a8d73b58ca350eb9;
27
+ var $7a9eac509b76fa30$export$b4b727880cfe37d;
28
+ var $7a9eac509b76fa30$export$76f93463a8fc15a8;
29
+ $7a9eac509b76fa30$export$f39a09f249340e2a = `cTbPrq_focus-ring`;
30
+ $7a9eac509b76fa30$export$8c4ee2c50c22c514 = `cTbPrq_i18nFontFamily`;
31
+ $7a9eac509b76fa30$export$4109102f950813a6 = `cTbPrq_spectrum-FocusRing-ring`;
32
+ $7a9eac509b76fa30$export$24c7f46a6e3605dd = `cTbPrq_spectrum-FocusRing ${$7a9eac509b76fa30$export$4109102f950813a6}`;
33
+ $7a9eac509b76fa30$export$2927016961429360 = `cTbPrq_spectrum-FocusRing--quiet`;
34
+ $7a9eac509b76fa30$export$9ebf9cdaed6878bc = `cTbPrq_spectrum-Rule`;
35
+ $7a9eac509b76fa30$export$563c1b24466c05b8 = `cTbPrq_spectrum-Rule--horizontal`;
36
+ $7a9eac509b76fa30$export$243baa0ec4ab58cc = `cTbPrq_spectrum-Rule--large`;
37
+ $7a9eac509b76fa30$export$a8d73b58ca350eb9 = `cTbPrq_spectrum-Rule--medium`;
38
+ $7a9eac509b76fa30$export$b4b727880cfe37d = `cTbPrq_spectrum-Rule--small`;
39
+ $7a9eac509b76fa30$export$76f93463a8fc15a8 = `cTbPrq_spectrum-Rule--vertical`;
40
+
41
+
42
+ export {$7a9eac509b76fa30$exports as default};
43
+ //# sourceMappingURL=rule_vars_css.module.js.map
@@ -0,0 +1,43 @@
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 $7a9eac509b76fa30$exports = {};
6
+
7
+ $parcel$export($7a9eac509b76fa30$exports, "focus-ring", () => $7a9eac509b76fa30$export$f39a09f249340e2a, (v) => $7a9eac509b76fa30$export$f39a09f249340e2a = v);
8
+ $parcel$export($7a9eac509b76fa30$exports, "i18nFontFamily", () => $7a9eac509b76fa30$export$8c4ee2c50c22c514, (v) => $7a9eac509b76fa30$export$8c4ee2c50c22c514 = v);
9
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-FocusRing-ring", () => $7a9eac509b76fa30$export$4109102f950813a6, (v) => $7a9eac509b76fa30$export$4109102f950813a6 = v);
10
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-FocusRing", () => $7a9eac509b76fa30$export$24c7f46a6e3605dd, (v) => $7a9eac509b76fa30$export$24c7f46a6e3605dd = v);
11
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-FocusRing--quiet", () => $7a9eac509b76fa30$export$2927016961429360, (v) => $7a9eac509b76fa30$export$2927016961429360 = v);
12
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule", () => $7a9eac509b76fa30$export$9ebf9cdaed6878bc, (v) => $7a9eac509b76fa30$export$9ebf9cdaed6878bc = v);
13
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule--horizontal", () => $7a9eac509b76fa30$export$563c1b24466c05b8, (v) => $7a9eac509b76fa30$export$563c1b24466c05b8 = v);
14
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule--large", () => $7a9eac509b76fa30$export$243baa0ec4ab58cc, (v) => $7a9eac509b76fa30$export$243baa0ec4ab58cc = v);
15
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule--medium", () => $7a9eac509b76fa30$export$a8d73b58ca350eb9, (v) => $7a9eac509b76fa30$export$a8d73b58ca350eb9 = v);
16
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule--small", () => $7a9eac509b76fa30$export$b4b727880cfe37d, (v) => $7a9eac509b76fa30$export$b4b727880cfe37d = v);
17
+ $parcel$export($7a9eac509b76fa30$exports, "spectrum-Rule--vertical", () => $7a9eac509b76fa30$export$76f93463a8fc15a8, (v) => $7a9eac509b76fa30$export$76f93463a8fc15a8 = v);
18
+ var $7a9eac509b76fa30$export$f39a09f249340e2a;
19
+ var $7a9eac509b76fa30$export$8c4ee2c50c22c514;
20
+ var $7a9eac509b76fa30$export$4109102f950813a6;
21
+ var $7a9eac509b76fa30$export$24c7f46a6e3605dd;
22
+ var $7a9eac509b76fa30$export$2927016961429360;
23
+ var $7a9eac509b76fa30$export$9ebf9cdaed6878bc;
24
+ var $7a9eac509b76fa30$export$563c1b24466c05b8;
25
+ var $7a9eac509b76fa30$export$243baa0ec4ab58cc;
26
+ var $7a9eac509b76fa30$export$a8d73b58ca350eb9;
27
+ var $7a9eac509b76fa30$export$b4b727880cfe37d;
28
+ var $7a9eac509b76fa30$export$76f93463a8fc15a8;
29
+ $7a9eac509b76fa30$export$f39a09f249340e2a = `cTbPrq_focus-ring`;
30
+ $7a9eac509b76fa30$export$8c4ee2c50c22c514 = `cTbPrq_i18nFontFamily`;
31
+ $7a9eac509b76fa30$export$4109102f950813a6 = `cTbPrq_spectrum-FocusRing-ring`;
32
+ $7a9eac509b76fa30$export$24c7f46a6e3605dd = `cTbPrq_spectrum-FocusRing ${$7a9eac509b76fa30$export$4109102f950813a6}`;
33
+ $7a9eac509b76fa30$export$2927016961429360 = `cTbPrq_spectrum-FocusRing--quiet`;
34
+ $7a9eac509b76fa30$export$9ebf9cdaed6878bc = `cTbPrq_spectrum-Rule`;
35
+ $7a9eac509b76fa30$export$563c1b24466c05b8 = `cTbPrq_spectrum-Rule--horizontal`;
36
+ $7a9eac509b76fa30$export$243baa0ec4ab58cc = `cTbPrq_spectrum-Rule--large`;
37
+ $7a9eac509b76fa30$export$a8d73b58ca350eb9 = `cTbPrq_spectrum-Rule--medium`;
38
+ $7a9eac509b76fa30$export$b4b727880cfe37d = `cTbPrq_spectrum-Rule--small`;
39
+ $7a9eac509b76fa30$export$76f93463a8fc15a8 = `cTbPrq_spectrum-Rule--vertical`;
40
+
41
+
42
+ export {$7a9eac509b76fa30$exports as default};
43
+ //# sourceMappingURL=rule_vars_css.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAVA,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;AACxD,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAA0C,CAAC,4BAA4B,CAAC;AACxE,2CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAA4C,CAAC,8BAA8B,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/rule/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":"rule_vars_css.module.js.map"}
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { SpectrumDividerProps } from "@react-types/divider";
3
+ import { DOMRefValue } from "@react-types/shared";
4
+ /**
5
+ * Dividers bring clarity to a layout by grouping and dividing content in close proximity.
6
+ * They can also be used to establish rhythm and hierarchy.
7
+ */
8
+ export let Divider: React.ForwardRefExoticComponent<SpectrumDividerProps & React.RefAttributes<DOMRefValue<HTMLElement>>>;
9
+ export type { SpectrumDividerProps } from '@react-types/divider';
10
+
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;AAmEA;;;GAGG;AACH,OAAA,IAAI,8GAAoC,CAAC;ACxDzC,YAAY,EAAC,oBAAoB,EAAC,MAAM,sBAAsB,CAAC","sources":["packages/@react-spectrum/divider/src/packages/@react-spectrum/divider/src/Divider.tsx","packages/@react-spectrum/divider/src/packages/@react-spectrum/divider/src/index.ts","packages/@react-spectrum/divider/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\n/// <reference types=\"css-module-types\" />\n\nexport {Divider} from './Divider';\nexport type {SpectrumDividerProps} from '@react-types/divider';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
@@ -0,0 +1,151 @@
1
+ .cTbPrq_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
+ .cTbPrq_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
+ .cTbPrq_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
+ .cTbPrq_i18nFontFamily:lang(zh) {
15
+ font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
16
+ }
17
+
18
+ .cTbPrq_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
+ .cTbPrq_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
+ .cTbPrq_i18nFontFamily:lang(zh-SG), .cTbPrq_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
+ .cTbPrq_i18nFontFamily:lang(ko) {
31
+ font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
32
+ }
33
+
34
+ .cTbPrq_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
+ .cTbPrq_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
+ .cTbPrq_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
+ .cTbPrq_spectrum-FocusRing.cTbPrq_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
+ .cTbPrq_spectrum-FocusRing--quiet:after {
63
+ border-radius: 0;
64
+ }
65
+
66
+ .cTbPrq_spectrum-FocusRing--quiet.cTbPrq_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
+ .cTbPrq_spectrum-FocusRing, .cTbPrq_spectrum-FocusRing-ring, .cTbPrq_spectrum-FocusRing--quiet {
73
+ --spectrum-high-contrast-focus-ring-color: Highlight;
74
+ }
75
+
76
+ :is(.cTbPrq_spectrum-FocusRing, .cTbPrq_spectrum-FocusRing-ring, .cTbPrq_spectrum-FocusRing--quiet):after {
77
+ forced-color-adjust: none;
78
+ }
79
+ }
80
+
81
+ .cTbPrq_spectrum-Rule {
82
+ border: none;
83
+ border-width: var(--spectrum-rule-medium-height, var(--spectrum-global-dimension-static-size-25));
84
+ border-radius: var(--spectrum-rule-medium-height, var(--spectrum-global-dimension-static-size-25));
85
+ margin: 0;
86
+ align-self: stretch;
87
+ margin-inline: 0;
88
+ overflow: visible;
89
+ }
90
+
91
+ .cTbPrq_spectrum-Rule--large {
92
+ border-radius: var(--spectrum-rule-large-border-radius, var(--spectrum-global-dimension-static-size-25));
93
+ }
94
+
95
+ .cTbPrq_spectrum-Rule--medium {
96
+ border-radius: var(--spectrum-rule-medium-border-radius, var(--spectrum-global-dimension-static-size-10));
97
+ }
98
+
99
+ .cTbPrq_spectrum-Rule--small {
100
+ border-radius: var(--spectrum-rule-small-border-radius, var(--spectrum-global-dimension-static-size-10));
101
+ }
102
+
103
+ .cTbPrq_spectrum-Rule--horizontal.cTbPrq_spectrum-Rule--large {
104
+ block-size: var(--spectrum-rule-large-height, var(--spectrum-global-dimension-static-size-50));
105
+ }
106
+
107
+ .cTbPrq_spectrum-Rule--horizontal.cTbPrq_spectrum-Rule--medium {
108
+ block-size: var(--spectrum-rule-medium-height, var(--spectrum-global-dimension-static-size-25));
109
+ }
110
+
111
+ .cTbPrq_spectrum-Rule--horizontal.cTbPrq_spectrum-Rule--small {
112
+ block-size: var(--spectrum-rule-small-height, var(--spectrum-global-dimension-static-size-10));
113
+ }
114
+
115
+ .cTbPrq_spectrum-Rule--vertical {
116
+ height: auto;
117
+ }
118
+
119
+ .cTbPrq_spectrum-Rule--vertical.cTbPrq_spectrum-Rule--large {
120
+ inline-size: var(--spectrum-rule-large-height, var(--spectrum-global-dimension-static-size-50));
121
+ }
122
+
123
+ .cTbPrq_spectrum-Rule--vertical.cTbPrq_spectrum-Rule--medium {
124
+ inline-size: var(--spectrum-rule-medium-height, var(--spectrum-global-dimension-static-size-25));
125
+ }
126
+
127
+ .cTbPrq_spectrum-Rule--vertical.cTbPrq_spectrum-Rule--small {
128
+ inline-size: var(--spectrum-rule-small-height, var(--spectrum-global-dimension-static-size-10));
129
+ }
130
+
131
+ .cTbPrq_spectrum-Rule--large {
132
+ background-color: var(--spectrum-rule-large-background-color, var(--spectrum-global-color-gray-800));
133
+ }
134
+
135
+ .cTbPrq_spectrum-Rule--medium {
136
+ background-color: var(--spectrum-rule-medium-background-color, var(--spectrum-global-color-gray-300));
137
+ }
138
+
139
+ .cTbPrq_spectrum-Rule--small {
140
+ background-color: var(--spectrum-rule-small-background-color, var(--spectrum-global-color-gray-300));
141
+ }
142
+
143
+ @media (forced-colors: active) {
144
+ .cTbPrq_spectrum-Rule {
145
+ forced-color-adjust: none;
146
+ --spectrum-rule-large-background-color: CanvasText;
147
+ --spectrum-rule-medium-background-color: CanvasText;
148
+ --spectrum-rule-small-background-color: CanvasText;
149
+ }
150
+ }
151
+ /*# sourceMappingURL=vars.4e4c96fa.css.map */
@@ -0,0 +1 @@
1
+ {"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ;;;;;;;;;;AAeA;;;;AAIA;;;;AAIA;;;;AAKE;;;;AAIA;;;;AAIA;;;;AAKF;;;;AAKE;;;;AAIA;;;;AAIA;;;;AAiBF;;;;AAIA;;;;AAIA;;;;AAIA;EACE","sources":["packages/@adobe/spectrum-css-temp/components/rule/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.4e4c96fa.css.map"}
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@react-spectrum/divider",
3
+ "version": "3.0.0-nightly-641446f65-240905",
4
+ "description": "Spectrum UI components in React",
5
+ "license": "Apache-2.0",
6
+ "main": "dist/main.js",
7
+ "module": "dist/module.js",
8
+ "exports": {
9
+ "types": "./dist/types.d.ts",
10
+ "import": "./dist/import.mjs",
11
+ "require": "./dist/main.js"
12
+ },
13
+ "types": "dist/types.d.ts",
14
+ "source": "src/index.ts",
15
+ "files": [
16
+ "dist",
17
+ "src"
18
+ ],
19
+ "sideEffects": [
20
+ "*.css"
21
+ ],
22
+ "targets": {
23
+ "main": {
24
+ "includeNodeModules": [
25
+ "@adobe/spectrum-css-temp"
26
+ ]
27
+ },
28
+ "module": {
29
+ "includeNodeModules": [
30
+ "@adobe/spectrum-css-temp"
31
+ ]
32
+ }
33
+ },
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "https://github.com/adobe/react-spectrum"
37
+ },
38
+ "dependencies": {
39
+ "@react-aria/separator": "^3.0.0-nightly-641446f65-240905",
40
+ "@react-spectrum/utils": "^3.0.0-nightly-641446f65-240905",
41
+ "@react-types/divider": "^3.0.0-nightly-641446f65-240905",
42
+ "@react-types/shared": "^3.0.0-nightly-641446f65-240905",
43
+ "@swc/helpers": "^0.5.0"
44
+ },
45
+ "devDependencies": {
46
+ "@adobe/spectrum-css-temp": "3.0.0-alpha.1"
47
+ },
48
+ "peerDependencies": {
49
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
50
+ },
51
+ "publishConfig": {
52
+ "access": "public"
53
+ },
54
+ "stableVersion": "3.5.16"
55
+ }
@@ -0,0 +1,73 @@
1
+ /*
2
+ * Copyright 2020 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+
13
+ import {classNames, useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';
14
+ import {DOMRef} from '@react-types/shared';
15
+ import React, {ElementType} from 'react';
16
+ import {SpectrumDividerProps} from '@react-types/divider';
17
+ import styles from '@adobe/spectrum-css-temp/components/rule/vars.css';
18
+ import {useSeparator} from '@react-aria/separator';
19
+
20
+ let sizeMap = {
21
+ S: 'small',
22
+ M: 'medium',
23
+ L: 'large'
24
+ };
25
+
26
+ function Divider(props: SpectrumDividerProps, ref: DOMRef) {
27
+ props = useSlotProps(props, 'divider');
28
+ let {
29
+ size = 'L',
30
+ orientation = 'horizontal',
31
+ ...otherProps
32
+ } = props;
33
+ let domRef = useDOMRef(ref);
34
+ let {styleProps} = useStyleProps(otherProps);
35
+ let weight = sizeMap[size];
36
+
37
+ let Element: ElementType = 'hr';
38
+ if (orientation === 'vertical') {
39
+ Element = 'div';
40
+ }
41
+
42
+ let {separatorProps} = useSeparator({
43
+ ...props,
44
+ elementType: Element
45
+ });
46
+
47
+ return (
48
+ <Element
49
+ {...styleProps}
50
+ className={
51
+ classNames(
52
+ styles,
53
+ 'spectrum-Rule',
54
+ `spectrum-Rule--${weight}`,
55
+ {
56
+ 'spectrum-Rule--vertical': orientation === 'vertical',
57
+ 'spectrum-Rule--horizontal': orientation === 'horizontal'
58
+ },
59
+ styleProps.className
60
+ )
61
+ }
62
+ // @ts-ignore https://github.com/Microsoft/TypeScript/issues/28892
63
+ ref={domRef}
64
+ {...separatorProps} />
65
+ );
66
+ }
67
+
68
+ /**
69
+ * Dividers bring clarity to a layout by grouping and dividing content in close proximity.
70
+ * They can also be used to establish rhythm and hierarchy.
71
+ */
72
+ let _Divider = React.forwardRef(Divider);
73
+ export {_Divider as Divider};
package/src/index.ts ADDED
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Copyright 2020 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+
13
+ /// <reference types="css-module-types" />
14
+
15
+ export {Divider} from './Divider';
16
+ export type {SpectrumDividerProps} from '@react-types/divider';