@react-spectrum/text 3.5.4-nightly.4555 → 3.5.4-nightly.4558

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.
@@ -0,0 +1,45 @@
1
+ var $eaZlr$reactariautils = require("@react-aria/utils");
2
+ var $eaZlr$react = require("react");
3
+ var $eaZlr$reactspectrumutils = require("@react-spectrum/utils");
4
+
5
+
6
+ function $parcel$interopDefault(a) {
7
+ return a && a.__esModule ? a.default : a;
8
+ }
9
+
10
+ function $parcel$export(e, n, v, s) {
11
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
12
+ }
13
+
14
+ $parcel$export(module.exports, "Heading", () => $c7c750c966e80a46$export$a8a3e93435678ff9);
15
+ /*
16
+ * Copyright 2020 Adobe. All rights reserved.
17
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
18
+ * you may not use this file except in compliance with the License. You may obtain a copy
19
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
20
+ *
21
+ * Unless required by applicable law or agreed to in writing, software distributed under
22
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
23
+ * OF ANY KIND, either express or implied. See the License for the specific language
24
+ * governing permissions and limitations under the License.
25
+ */
26
+
27
+
28
+ function $c7c750c966e80a46$var$Heading(props, ref) {
29
+ props = (0, $eaZlr$reactspectrumutils.useSlotProps)(props, "heading");
30
+ let { children: children, level: level = 3, ...otherProps } = props;
31
+ let { styleProps: styleProps } = (0, $eaZlr$reactspectrumutils.useStyleProps)(otherProps);
32
+ let domRef = (0, $eaZlr$reactspectrumutils.useDOMRef)(ref);
33
+ let HeadingTag = `h${level}`;
34
+ return /*#__PURE__*/ (0, ($parcel$interopDefault($eaZlr$react))).createElement(HeadingTag, {
35
+ ...(0, $eaZlr$reactariautils.filterDOMProps)(otherProps),
36
+ ...styleProps,
37
+ ref: domRef
38
+ }, children);
39
+ }
40
+ /**
41
+ * Heading is used to create various levels of typographic hierarchies.
42
+ */ const $c7c750c966e80a46$export$a8a3e93435678ff9 = /*#__PURE__*/ (0, $eaZlr$react.forwardRef)($c7c750c966e80a46$var$Heading);
43
+
44
+
45
+ //# sourceMappingURL=Heading.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;AAQD,SAAS,8BAAQ,KAAmB,EAAE,GAA+B;IACnE,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAE5B,IAAI,YACF,QAAQ,SACR,QAAQ,GACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IACvB,IAAI,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IAE5B,qBACE,0DAAC;QAAY,GAAG,CAAA,GAAA,oCAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OAC9D;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAW,CAAA,GAAA,uBAAS,EAAE","sources":["packages/@react-spectrum/text/src/Heading.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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {HeadingProps} from '@react-types/text';\nimport React, {ElementType, forwardRef} from 'react';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Heading(props: HeadingProps, ref: DOMRef<HTMLHeadingElement>) {\n props = useSlotProps(props, 'heading');\n\n let {\n children,\n level = 3,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n let HeadingTag = `h${level}` as ElementType;\n\n return (\n <HeadingTag {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </HeadingTag>\n );\n}\n\n/**\n * Heading is used to create various levels of typographic hierarchies.\n */\nconst _Heading = forwardRef(Heading);\nexport {_Heading as Heading};\n"],"names":[],"version":3,"file":"Heading.main.js.map"}
@@ -0,0 +1,36 @@
1
+ import {filterDOMProps as $loc5r$filterDOMProps} from "@react-aria/utils";
2
+ import $loc5r$react, {forwardRef as $loc5r$forwardRef} from "react";
3
+ import {useSlotProps as $loc5r$useSlotProps, useStyleProps as $loc5r$useStyleProps, useDOMRef as $loc5r$useDOMRef} from "@react-spectrum/utils";
4
+
5
+ /*
6
+ * Copyright 2020 Adobe. All rights reserved.
7
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License. You may obtain a copy
9
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software distributed under
12
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
13
+ * OF ANY KIND, either express or implied. See the License for the specific language
14
+ * governing permissions and limitations under the License.
15
+ */
16
+
17
+
18
+ function $c382fceb69609a50$var$Heading(props, ref) {
19
+ props = (0, $loc5r$useSlotProps)(props, "heading");
20
+ let { children: children, level: level = 3, ...otherProps } = props;
21
+ let { styleProps: styleProps } = (0, $loc5r$useStyleProps)(otherProps);
22
+ let domRef = (0, $loc5r$useDOMRef)(ref);
23
+ let HeadingTag = `h${level}`;
24
+ return /*#__PURE__*/ (0, $loc5r$react).createElement(HeadingTag, {
25
+ ...(0, $loc5r$filterDOMProps)(otherProps),
26
+ ...styleProps,
27
+ ref: domRef
28
+ }, children);
29
+ }
30
+ /**
31
+ * Heading is used to create various levels of typographic hierarchies.
32
+ */ const $c382fceb69609a50$export$a8a3e93435678ff9 = /*#__PURE__*/ (0, $loc5r$forwardRef)($c382fceb69609a50$var$Heading);
33
+
34
+
35
+ export {$c382fceb69609a50$export$a8a3e93435678ff9 as Heading};
36
+ //# sourceMappingURL=Heading.mjs.map
@@ -0,0 +1,36 @@
1
+ import {filterDOMProps as $loc5r$filterDOMProps} from "@react-aria/utils";
2
+ import $loc5r$react, {forwardRef as $loc5r$forwardRef} from "react";
3
+ import {useSlotProps as $loc5r$useSlotProps, useStyleProps as $loc5r$useStyleProps, useDOMRef as $loc5r$useDOMRef} from "@react-spectrum/utils";
4
+
5
+ /*
6
+ * Copyright 2020 Adobe. All rights reserved.
7
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License. You may obtain a copy
9
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software distributed under
12
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
13
+ * OF ANY KIND, either express or implied. See the License for the specific language
14
+ * governing permissions and limitations under the License.
15
+ */
16
+
17
+
18
+ function $c382fceb69609a50$var$Heading(props, ref) {
19
+ props = (0, $loc5r$useSlotProps)(props, "heading");
20
+ let { children: children, level: level = 3, ...otherProps } = props;
21
+ let { styleProps: styleProps } = (0, $loc5r$useStyleProps)(otherProps);
22
+ let domRef = (0, $loc5r$useDOMRef)(ref);
23
+ let HeadingTag = `h${level}`;
24
+ return /*#__PURE__*/ (0, $loc5r$react).createElement(HeadingTag, {
25
+ ...(0, $loc5r$filterDOMProps)(otherProps),
26
+ ...styleProps,
27
+ ref: domRef
28
+ }, children);
29
+ }
30
+ /**
31
+ * Heading is used to create various levels of typographic hierarchies.
32
+ */ const $c382fceb69609a50$export$a8a3e93435678ff9 = /*#__PURE__*/ (0, $loc5r$forwardRef)($c382fceb69609a50$var$Heading);
33
+
34
+
35
+ export {$c382fceb69609a50$export$a8a3e93435678ff9 as Heading};
36
+ //# sourceMappingURL=Heading.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;AAAA;;;;;;;;;;CAUC;;;AAQD,SAAS,8BAAQ,KAAmB,EAAE,GAA+B;IACnE,QAAQ,CAAA,GAAA,mBAAW,EAAE,OAAO;IAE5B,IAAI,YACF,QAAQ,SACR,QAAQ,GACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IACvB,IAAI,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IAE5B,qBACE,gCAAC;QAAY,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OAC9D;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAW,CAAA,GAAA,iBAAS,EAAE","sources":["packages/@react-spectrum/text/src/Heading.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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {HeadingProps} from '@react-types/text';\nimport React, {ElementType, forwardRef} from 'react';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Heading(props: HeadingProps, ref: DOMRef<HTMLHeadingElement>) {\n props = useSlotProps(props, 'heading');\n\n let {\n children,\n level = 3,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n let HeadingTag = `h${level}` as ElementType;\n\n return (\n <HeadingTag {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </HeadingTag>\n );\n}\n\n/**\n * Heading is used to create various levels of typographic hierarchies.\n */\nconst _Heading = forwardRef(Heading);\nexport {_Heading as Heading};\n"],"names":[],"version":3,"file":"Heading.module.js.map"}
@@ -0,0 +1,44 @@
1
+ var $53QEO$reactariautils = require("@react-aria/utils");
2
+ var $53QEO$react = require("react");
3
+ var $53QEO$reactspectrumutils = require("@react-spectrum/utils");
4
+
5
+
6
+ function $parcel$interopDefault(a) {
7
+ return a && a.__esModule ? a.default : a;
8
+ }
9
+
10
+ function $parcel$export(e, n, v, s) {
11
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
12
+ }
13
+
14
+ $parcel$export(module.exports, "Keyboard", () => $961f7ef9e414f5f0$export$16e4d70cc375e707);
15
+ /*
16
+ * Copyright 2020 Adobe. All rights reserved.
17
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
18
+ * you may not use this file except in compliance with the License. You may obtain a copy
19
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
20
+ *
21
+ * Unless required by applicable law or agreed to in writing, software distributed under
22
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
23
+ * OF ANY KIND, either express or implied. See the License for the specific language
24
+ * governing permissions and limitations under the License.
25
+ */
26
+
27
+
28
+ function $961f7ef9e414f5f0$var$Keyboard(props, ref) {
29
+ props = (0, $53QEO$reactspectrumutils.useSlotProps)(props, "keyboard");
30
+ let { children: children, ...otherProps } = props;
31
+ let { styleProps: styleProps } = (0, $53QEO$reactspectrumutils.useStyleProps)(otherProps);
32
+ let domRef = (0, $53QEO$reactspectrumutils.useDOMRef)(ref);
33
+ return /*#__PURE__*/ (0, ($parcel$interopDefault($53QEO$react))).createElement("kbd", {
34
+ ...(0, $53QEO$reactariautils.filterDOMProps)(otherProps),
35
+ ...styleProps,
36
+ ref: domRef
37
+ }, children);
38
+ }
39
+ /**
40
+ * Keyboard represents text that specifies a keyboard command.
41
+ */ const $961f7ef9e414f5f0$export$16e4d70cc375e707 = /*#__PURE__*/ (0, $53QEO$react.forwardRef)($961f7ef9e414f5f0$var$Keyboard);
42
+
43
+
44
+ //# sourceMappingURL=Keyboard.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;AAQD,SAAS,+BAAS,KAAoB,EAAE,GAAW;IACjD,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,YACF,QAAQ,EACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IAEvB,qBACE,0DAAC;QAAK,GAAG,CAAA,GAAA,oCAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OACvD;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAY,CAAA,GAAA,uBAAS,EAAE","sources":["packages/@react-spectrum/text/src/Keyboard.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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {KeyboardProps} from '@react-types/text';\nimport React, {forwardRef} from 'react';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Keyboard(props: KeyboardProps, ref: DOMRef) {\n props = useSlotProps(props, 'keyboard');\n let {\n children,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n return (\n <kbd {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </kbd>\n );\n}\n\n/**\n * Keyboard represents text that specifies a keyboard command.\n */\nconst _Keyboard = forwardRef(Keyboard);\nexport {_Keyboard as Keyboard};\n"],"names":[],"version":3,"file":"Keyboard.main.js.map"}
@@ -0,0 +1,35 @@
1
+ import {filterDOMProps as $3NMJ4$filterDOMProps} from "@react-aria/utils";
2
+ import $3NMJ4$react, {forwardRef as $3NMJ4$forwardRef} from "react";
3
+ import {useSlotProps as $3NMJ4$useSlotProps, useStyleProps as $3NMJ4$useStyleProps, useDOMRef as $3NMJ4$useDOMRef} from "@react-spectrum/utils";
4
+
5
+ /*
6
+ * Copyright 2020 Adobe. All rights reserved.
7
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License. You may obtain a copy
9
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software distributed under
12
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
13
+ * OF ANY KIND, either express or implied. See the License for the specific language
14
+ * governing permissions and limitations under the License.
15
+ */
16
+
17
+
18
+ function $a42b6b1607b36926$var$Keyboard(props, ref) {
19
+ props = (0, $3NMJ4$useSlotProps)(props, "keyboard");
20
+ let { children: children, ...otherProps } = props;
21
+ let { styleProps: styleProps } = (0, $3NMJ4$useStyleProps)(otherProps);
22
+ let domRef = (0, $3NMJ4$useDOMRef)(ref);
23
+ return /*#__PURE__*/ (0, $3NMJ4$react).createElement("kbd", {
24
+ ...(0, $3NMJ4$filterDOMProps)(otherProps),
25
+ ...styleProps,
26
+ ref: domRef
27
+ }, children);
28
+ }
29
+ /**
30
+ * Keyboard represents text that specifies a keyboard command.
31
+ */ const $a42b6b1607b36926$export$16e4d70cc375e707 = /*#__PURE__*/ (0, $3NMJ4$forwardRef)($a42b6b1607b36926$var$Keyboard);
32
+
33
+
34
+ export {$a42b6b1607b36926$export$16e4d70cc375e707 as Keyboard};
35
+ //# sourceMappingURL=Keyboard.mjs.map
@@ -0,0 +1,35 @@
1
+ import {filterDOMProps as $3NMJ4$filterDOMProps} from "@react-aria/utils";
2
+ import $3NMJ4$react, {forwardRef as $3NMJ4$forwardRef} from "react";
3
+ import {useSlotProps as $3NMJ4$useSlotProps, useStyleProps as $3NMJ4$useStyleProps, useDOMRef as $3NMJ4$useDOMRef} from "@react-spectrum/utils";
4
+
5
+ /*
6
+ * Copyright 2020 Adobe. All rights reserved.
7
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License. You may obtain a copy
9
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software distributed under
12
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
13
+ * OF ANY KIND, either express or implied. See the License for the specific language
14
+ * governing permissions and limitations under the License.
15
+ */
16
+
17
+
18
+ function $a42b6b1607b36926$var$Keyboard(props, ref) {
19
+ props = (0, $3NMJ4$useSlotProps)(props, "keyboard");
20
+ let { children: children, ...otherProps } = props;
21
+ let { styleProps: styleProps } = (0, $3NMJ4$useStyleProps)(otherProps);
22
+ let domRef = (0, $3NMJ4$useDOMRef)(ref);
23
+ return /*#__PURE__*/ (0, $3NMJ4$react).createElement("kbd", {
24
+ ...(0, $3NMJ4$filterDOMProps)(otherProps),
25
+ ...styleProps,
26
+ ref: domRef
27
+ }, children);
28
+ }
29
+ /**
30
+ * Keyboard represents text that specifies a keyboard command.
31
+ */ const $a42b6b1607b36926$export$16e4d70cc375e707 = /*#__PURE__*/ (0, $3NMJ4$forwardRef)($a42b6b1607b36926$var$Keyboard);
32
+
33
+
34
+ export {$a42b6b1607b36926$export$16e4d70cc375e707 as Keyboard};
35
+ //# sourceMappingURL=Keyboard.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;AAAA;;;;;;;;;;CAUC;;;AAQD,SAAS,+BAAS,KAAoB,EAAE,GAAW;IACjD,QAAQ,CAAA,GAAA,mBAAW,EAAE,OAAO;IAC5B,IAAI,YACF,QAAQ,EACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IAEvB,qBACE,gCAAC;QAAK,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OACvD;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAY,CAAA,GAAA,iBAAS,EAAE","sources":["packages/@react-spectrum/text/src/Keyboard.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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {KeyboardProps} from '@react-types/text';\nimport React, {forwardRef} from 'react';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Keyboard(props: KeyboardProps, ref: DOMRef) {\n props = useSlotProps(props, 'keyboard');\n let {\n children,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n return (\n <kbd {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </kbd>\n );\n}\n\n/**\n * Keyboard represents text that specifies a keyboard command.\n */\nconst _Keyboard = forwardRef(Keyboard);\nexport {_Keyboard as Keyboard};\n"],"names":[],"version":3,"file":"Keyboard.module.js.map"}
@@ -0,0 +1,44 @@
1
+ var $h7ExA$reactariautils = require("@react-aria/utils");
2
+ var $h7ExA$react = require("react");
3
+ var $h7ExA$reactspectrumutils = require("@react-spectrum/utils");
4
+
5
+
6
+ function $parcel$interopDefault(a) {
7
+ return a && a.__esModule ? a.default : a;
8
+ }
9
+
10
+ function $parcel$export(e, n, v, s) {
11
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
12
+ }
13
+
14
+ $parcel$export(module.exports, "Text", () => $1efae25dd196d679$export$5f1af8db9871e1d6);
15
+ /*
16
+ * Copyright 2020 Adobe. All rights reserved.
17
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
18
+ * you may not use this file except in compliance with the License. You may obtain a copy
19
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
20
+ *
21
+ * Unless required by applicable law or agreed to in writing, software distributed under
22
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
23
+ * OF ANY KIND, either express or implied. See the License for the specific language
24
+ * governing permissions and limitations under the License.
25
+ */
26
+
27
+
28
+ function $1efae25dd196d679$var$Text(props, ref) {
29
+ props = (0, $h7ExA$reactspectrumutils.useSlotProps)(props, "text");
30
+ let { children: children, ...otherProps } = props;
31
+ let { styleProps: styleProps } = (0, $h7ExA$reactspectrumutils.useStyleProps)(otherProps);
32
+ let domRef = (0, $h7ExA$reactspectrumutils.useDOMRef)(ref);
33
+ return /*#__PURE__*/ (0, ($parcel$interopDefault($h7ExA$react))).createElement("span", {
34
+ ...(0, $h7ExA$reactariautils.filterDOMProps)(otherProps),
35
+ ...styleProps,
36
+ ref: domRef
37
+ }, children);
38
+ }
39
+ /**
40
+ * Text represents text with no specific semantic meaning.
41
+ */ const $1efae25dd196d679$export$5f1af8db9871e1d6 = /*#__PURE__*/ (0, $h7ExA$react.forwardRef)($1efae25dd196d679$var$Text);
42
+
43
+
44
+ //# sourceMappingURL=Text.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;AAQD,SAAS,2BAAK,KAAgB,EAAE,GAAW;IACzC,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,YACF,QAAQ,EACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IAEvB,qBACE,0DAAC;QAAM,GAAG,CAAA,GAAA,oCAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OACxD;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAQ,CAAA,GAAA,uBAAS,EAAE","sources":["packages/@react-spectrum/text/src/Text.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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {forwardRef} from 'react';\nimport {TextProps} from '@react-types/text';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Text(props: TextProps, ref: DOMRef) {\n props = useSlotProps(props, 'text');\n let {\n children,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n return (\n <span {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </span>\n );\n}\n\n/**\n * Text represents text with no specific semantic meaning.\n */\nconst _Text = forwardRef(Text);\nexport {_Text as Text};\n"],"names":[],"version":3,"file":"Text.main.js.map"}
package/dist/Text.mjs ADDED
@@ -0,0 +1,35 @@
1
+ import {filterDOMProps as $8fLFW$filterDOMProps} from "@react-aria/utils";
2
+ import $8fLFW$react, {forwardRef as $8fLFW$forwardRef} from "react";
3
+ import {useSlotProps as $8fLFW$useSlotProps, useStyleProps as $8fLFW$useStyleProps, useDOMRef as $8fLFW$useDOMRef} from "@react-spectrum/utils";
4
+
5
+ /*
6
+ * Copyright 2020 Adobe. All rights reserved.
7
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License. You may obtain a copy
9
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software distributed under
12
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
13
+ * OF ANY KIND, either express or implied. See the License for the specific language
14
+ * governing permissions and limitations under the License.
15
+ */
16
+
17
+
18
+ function $cd449e8defa988f0$var$Text(props, ref) {
19
+ props = (0, $8fLFW$useSlotProps)(props, "text");
20
+ let { children: children, ...otherProps } = props;
21
+ let { styleProps: styleProps } = (0, $8fLFW$useStyleProps)(otherProps);
22
+ let domRef = (0, $8fLFW$useDOMRef)(ref);
23
+ return /*#__PURE__*/ (0, $8fLFW$react).createElement("span", {
24
+ ...(0, $8fLFW$filterDOMProps)(otherProps),
25
+ ...styleProps,
26
+ ref: domRef
27
+ }, children);
28
+ }
29
+ /**
30
+ * Text represents text with no specific semantic meaning.
31
+ */ const $cd449e8defa988f0$export$5f1af8db9871e1d6 = /*#__PURE__*/ (0, $8fLFW$forwardRef)($cd449e8defa988f0$var$Text);
32
+
33
+
34
+ export {$cd449e8defa988f0$export$5f1af8db9871e1d6 as Text};
35
+ //# sourceMappingURL=Text.mjs.map
@@ -0,0 +1,35 @@
1
+ import {filterDOMProps as $8fLFW$filterDOMProps} from "@react-aria/utils";
2
+ import $8fLFW$react, {forwardRef as $8fLFW$forwardRef} from "react";
3
+ import {useSlotProps as $8fLFW$useSlotProps, useStyleProps as $8fLFW$useStyleProps, useDOMRef as $8fLFW$useDOMRef} from "@react-spectrum/utils";
4
+
5
+ /*
6
+ * Copyright 2020 Adobe. All rights reserved.
7
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License. You may obtain a copy
9
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software distributed under
12
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
13
+ * OF ANY KIND, either express or implied. See the License for the specific language
14
+ * governing permissions and limitations under the License.
15
+ */
16
+
17
+
18
+ function $cd449e8defa988f0$var$Text(props, ref) {
19
+ props = (0, $8fLFW$useSlotProps)(props, "text");
20
+ let { children: children, ...otherProps } = props;
21
+ let { styleProps: styleProps } = (0, $8fLFW$useStyleProps)(otherProps);
22
+ let domRef = (0, $8fLFW$useDOMRef)(ref);
23
+ return /*#__PURE__*/ (0, $8fLFW$react).createElement("span", {
24
+ ...(0, $8fLFW$filterDOMProps)(otherProps),
25
+ ...styleProps,
26
+ ref: domRef
27
+ }, children);
28
+ }
29
+ /**
30
+ * Text represents text with no specific semantic meaning.
31
+ */ const $cd449e8defa988f0$export$5f1af8db9871e1d6 = /*#__PURE__*/ (0, $8fLFW$forwardRef)($cd449e8defa988f0$var$Text);
32
+
33
+
34
+ export {$cd449e8defa988f0$export$5f1af8db9871e1d6 as Text};
35
+ //# sourceMappingURL=Text.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;AAAA;;;;;;;;;;CAUC;;;AAQD,SAAS,2BAAK,KAAgB,EAAE,GAAW;IACzC,QAAQ,CAAA,GAAA,mBAAW,EAAE,OAAO;IAC5B,IAAI,YACF,QAAQ,EACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IAEvB,qBACE,gCAAC;QAAM,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OACxD;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAQ,CAAA,GAAA,iBAAS,EAAE","sources":["packages/@react-spectrum/text/src/Text.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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {forwardRef} from 'react';\nimport {TextProps} from '@react-types/text';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Text(props: TextProps, ref: DOMRef) {\n props = useSlotProps(props, 'text');\n let {\n children,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n return (\n <span {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </span>\n );\n}\n\n/**\n * Text represents text with no specific semantic meaning.\n */\nconst _Text = forwardRef(Text);\nexport {_Text as Text};\n"],"names":[],"version":3,"file":"Text.module.js.map"}
package/dist/import.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import {filterDOMProps as $3GX9J$filterDOMProps} from "@react-aria/utils";
2
- import $3GX9J$react, {forwardRef as $3GX9J$forwardRef} from "react";
3
- import {useSlotProps as $3GX9J$useSlotProps, useStyleProps as $3GX9J$useStyleProps, useDOMRef as $3GX9J$useDOMRef} from "@react-spectrum/utils";
1
+ import {Text as $cd449e8defa988f0$export$5f1af8db9871e1d6} from "./Text.mjs";
2
+ import {Heading as $c382fceb69609a50$export$a8a3e93435678ff9} from "./Heading.mjs";
3
+ import {Keyboard as $a42b6b1607b36926$export$16e4d70cc375e707} from "./Keyboard.mjs";
4
4
 
5
5
  /*
6
6
  * Copyright 2020 Adobe. All rights reserved.
@@ -13,92 +13,7 @@ import {useSlotProps as $3GX9J$useSlotProps, useStyleProps as $3GX9J$useStylePro
13
13
  * OF ANY KIND, either express or implied. See the License for the specific language
14
14
  * governing permissions and limitations under the License.
15
15
  */ /// <reference types="css-module-types" />
16
- /*
17
- * Copyright 2020 Adobe. All rights reserved.
18
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
19
- * you may not use this file except in compliance with the License. You may obtain a copy
20
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
21
- *
22
- * Unless required by applicable law or agreed to in writing, software distributed under
23
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
24
- * OF ANY KIND, either express or implied. See the License for the specific language
25
- * governing permissions and limitations under the License.
26
- */
27
-
28
-
29
- function $cd449e8defa988f0$var$Text(props, ref) {
30
- props = (0, $3GX9J$useSlotProps)(props, "text");
31
- let { children: children, ...otherProps } = props;
32
- let { styleProps: styleProps } = (0, $3GX9J$useStyleProps)(otherProps);
33
- let domRef = (0, $3GX9J$useDOMRef)(ref);
34
- return /*#__PURE__*/ (0, $3GX9J$react).createElement("span", {
35
- ...(0, $3GX9J$filterDOMProps)(otherProps),
36
- ...styleProps,
37
- ref: domRef
38
- }, children);
39
- }
40
- /**
41
- * Text represents text with no specific semantic meaning.
42
- */ const $cd449e8defa988f0$export$5f1af8db9871e1d6 = /*#__PURE__*/ (0, $3GX9J$forwardRef)($cd449e8defa988f0$var$Text);
43
-
44
-
45
- /*
46
- * Copyright 2020 Adobe. All rights reserved.
47
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
48
- * you may not use this file except in compliance with the License. You may obtain a copy
49
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
50
- *
51
- * Unless required by applicable law or agreed to in writing, software distributed under
52
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
53
- * OF ANY KIND, either express or implied. See the License for the specific language
54
- * governing permissions and limitations under the License.
55
- */
56
-
57
-
58
- function $c382fceb69609a50$var$Heading(props, ref) {
59
- props = (0, $3GX9J$useSlotProps)(props, "heading");
60
- let { children: children, level: level = 3, ...otherProps } = props;
61
- let { styleProps: styleProps } = (0, $3GX9J$useStyleProps)(otherProps);
62
- let domRef = (0, $3GX9J$useDOMRef)(ref);
63
- let HeadingTag = `h${level}`;
64
- return /*#__PURE__*/ (0, $3GX9J$react).createElement(HeadingTag, {
65
- ...(0, $3GX9J$filterDOMProps)(otherProps),
66
- ...styleProps,
67
- ref: domRef
68
- }, children);
69
- }
70
- /**
71
- * Heading is used to create various levels of typographic hierarchies.
72
- */ const $c382fceb69609a50$export$a8a3e93435678ff9 = /*#__PURE__*/ (0, $3GX9J$forwardRef)($c382fceb69609a50$var$Heading);
73
-
74
-
75
- /*
76
- * Copyright 2020 Adobe. All rights reserved.
77
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
78
- * you may not use this file except in compliance with the License. You may obtain a copy
79
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
80
- *
81
- * Unless required by applicable law or agreed to in writing, software distributed under
82
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
83
- * OF ANY KIND, either express or implied. See the License for the specific language
84
- * governing permissions and limitations under the License.
85
- */
86
-
87
16
 
88
- function $a42b6b1607b36926$var$Keyboard(props, ref) {
89
- props = (0, $3GX9J$useSlotProps)(props, "keyboard");
90
- let { children: children, ...otherProps } = props;
91
- let { styleProps: styleProps } = (0, $3GX9J$useStyleProps)(otherProps);
92
- let domRef = (0, $3GX9J$useDOMRef)(ref);
93
- return /*#__PURE__*/ (0, $3GX9J$react).createElement("kbd", {
94
- ...(0, $3GX9J$filterDOMProps)(otherProps),
95
- ...styleProps,
96
- ref: domRef
97
- }, children);
98
- }
99
- /**
100
- * Keyboard represents text that specifies a keyboard command.
101
- */ const $a42b6b1607b36926$export$16e4d70cc375e707 = /*#__PURE__*/ (0, $3GX9J$forwardRef)($a42b6b1607b36926$var$Keyboard);
102
17
 
103
18
 
104
19
 
package/dist/main.js CHANGED
@@ -1,19 +1,15 @@
1
- var $kLXM6$reactariautils = require("@react-aria/utils");
2
- var $kLXM6$react = require("react");
3
- var $kLXM6$reactspectrumutils = require("@react-spectrum/utils");
1
+ var $1efae25dd196d679$exports = require("./Text.main.js");
2
+ var $c7c750c966e80a46$exports = require("./Heading.main.js");
3
+ var $961f7ef9e414f5f0$exports = require("./Keyboard.main.js");
4
4
 
5
5
 
6
6
  function $parcel$export(e, n, v, s) {
7
7
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
8
8
  }
9
9
 
10
- function $parcel$interopDefault(a) {
11
- return a && a.__esModule ? a.default : a;
12
- }
13
-
14
- $parcel$export(module.exports, "Text", () => $1efae25dd196d679$export$5f1af8db9871e1d6);
15
- $parcel$export(module.exports, "Heading", () => $c7c750c966e80a46$export$a8a3e93435678ff9);
16
- $parcel$export(module.exports, "Keyboard", () => $961f7ef9e414f5f0$export$16e4d70cc375e707);
10
+ $parcel$export(module.exports, "Text", () => $1efae25dd196d679$exports.Text);
11
+ $parcel$export(module.exports, "Heading", () => $c7c750c966e80a46$exports.Heading);
12
+ $parcel$export(module.exports, "Keyboard", () => $961f7ef9e414f5f0$exports.Keyboard);
17
13
  /*
18
14
  * Copyright 2020 Adobe. All rights reserved.
19
15
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -25,93 +21,8 @@ $parcel$export(module.exports, "Keyboard", () => $961f7ef9e414f5f0$export$16e4d7
25
21
  * OF ANY KIND, either express or implied. See the License for the specific language
26
22
  * governing permissions and limitations under the License.
27
23
  */ /// <reference types="css-module-types" />
28
- /*
29
- * Copyright 2020 Adobe. All rights reserved.
30
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
31
- * you may not use this file except in compliance with the License. You may obtain a copy
32
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
33
- *
34
- * Unless required by applicable law or agreed to in writing, software distributed under
35
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
36
- * OF ANY KIND, either express or implied. See the License for the specific language
37
- * governing permissions and limitations under the License.
38
- */
39
-
40
-
41
- function $1efae25dd196d679$var$Text(props, ref) {
42
- props = (0, $kLXM6$reactspectrumutils.useSlotProps)(props, "text");
43
- let { children: children, ...otherProps } = props;
44
- let { styleProps: styleProps } = (0, $kLXM6$reactspectrumutils.useStyleProps)(otherProps);
45
- let domRef = (0, $kLXM6$reactspectrumutils.useDOMRef)(ref);
46
- return /*#__PURE__*/ (0, ($parcel$interopDefault($kLXM6$react))).createElement("span", {
47
- ...(0, $kLXM6$reactariautils.filterDOMProps)(otherProps),
48
- ...styleProps,
49
- ref: domRef
50
- }, children);
51
- }
52
- /**
53
- * Text represents text with no specific semantic meaning.
54
- */ const $1efae25dd196d679$export$5f1af8db9871e1d6 = /*#__PURE__*/ (0, $kLXM6$react.forwardRef)($1efae25dd196d679$var$Text);
55
-
56
-
57
- /*
58
- * Copyright 2020 Adobe. All rights reserved.
59
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
60
- * you may not use this file except in compliance with the License. You may obtain a copy
61
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
62
- *
63
- * Unless required by applicable law or agreed to in writing, software distributed under
64
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
65
- * OF ANY KIND, either express or implied. See the License for the specific language
66
- * governing permissions and limitations under the License.
67
- */
68
-
69
-
70
- function $c7c750c966e80a46$var$Heading(props, ref) {
71
- props = (0, $kLXM6$reactspectrumutils.useSlotProps)(props, "heading");
72
- let { children: children, level: level = 3, ...otherProps } = props;
73
- let { styleProps: styleProps } = (0, $kLXM6$reactspectrumutils.useStyleProps)(otherProps);
74
- let domRef = (0, $kLXM6$reactspectrumutils.useDOMRef)(ref);
75
- let HeadingTag = `h${level}`;
76
- return /*#__PURE__*/ (0, ($parcel$interopDefault($kLXM6$react))).createElement(HeadingTag, {
77
- ...(0, $kLXM6$reactariautils.filterDOMProps)(otherProps),
78
- ...styleProps,
79
- ref: domRef
80
- }, children);
81
- }
82
- /**
83
- * Heading is used to create various levels of typographic hierarchies.
84
- */ const $c7c750c966e80a46$export$a8a3e93435678ff9 = /*#__PURE__*/ (0, $kLXM6$react.forwardRef)($c7c750c966e80a46$var$Heading);
85
-
86
-
87
- /*
88
- * Copyright 2020 Adobe. All rights reserved.
89
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
90
- * you may not use this file except in compliance with the License. You may obtain a copy
91
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
92
- *
93
- * Unless required by applicable law or agreed to in writing, software distributed under
94
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
95
- * OF ANY KIND, either express or implied. See the License for the specific language
96
- * governing permissions and limitations under the License.
97
- */
98
24
 
99
25
 
100
- function $961f7ef9e414f5f0$var$Keyboard(props, ref) {
101
- props = (0, $kLXM6$reactspectrumutils.useSlotProps)(props, "keyboard");
102
- let { children: children, ...otherProps } = props;
103
- let { styleProps: styleProps } = (0, $kLXM6$reactspectrumutils.useStyleProps)(otherProps);
104
- let domRef = (0, $kLXM6$reactspectrumutils.useDOMRef)(ref);
105
- return /*#__PURE__*/ (0, ($parcel$interopDefault($kLXM6$react))).createElement("kbd", {
106
- ...(0, $kLXM6$reactariautils.filterDOMProps)(otherProps),
107
- ...styleProps,
108
- ref: domRef
109
- }, children);
110
- }
111
- /**
112
- * Keyboard represents text that specifies a keyboard command.
113
- */ const $961f7ef9e414f5f0$export$16e4d70cc375e707 = /*#__PURE__*/ (0, $kLXM6$react.forwardRef)($961f7ef9e414f5f0$var$Keyboard);
114
-
115
26
 
116
27
 
117
28
 
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;AAQD,SAAS,2BAAK,KAAgB,EAAE,GAAW;IACzC,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,YACF,QAAQ,EACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IAEvB,qBACE,0DAAC;QAAM,GAAG,CAAA,GAAA,oCAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OACxD;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAQ,CAAA,GAAA,uBAAS,EAAE;;;ACrCzB;;;;;;;;;;CAUC;;;AAQD,SAAS,8BAAQ,KAAmB,EAAE,GAA+B;IACnE,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAE5B,IAAI,YACF,QAAQ,SACR,QAAQ,GACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IACvB,IAAI,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IAE5B,qBACE,0DAAC;QAAY,GAAG,CAAA,GAAA,oCAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OAC9D;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAW,CAAA,GAAA,uBAAS,EAAE;;;ACxC5B;;;;;;;;;;CAUC;;;AAQD,SAAS,+BAAS,KAAoB,EAAE,GAAW;IACjD,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,YACF,QAAQ,EACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IAEvB,qBACE,0DAAC;QAAK,GAAG,CAAA,GAAA,oCAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OACvD;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAY,CAAA,GAAA,uBAAS,EAAE;","sources":["packages/@react-spectrum/text/src/index.ts","packages/@react-spectrum/text/src/Text.tsx","packages/@react-spectrum/text/src/Heading.tsx","packages/@react-spectrum/text/src/Keyboard.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\n/// <reference types=\"css-module-types\" />\n\nexport {Text} from './Text';\nexport {Heading} from './Heading';\nexport {Keyboard} from './Keyboard';\nexport type {HeadingProps, KeyboardProps, TextProps} from '@react-types/text';\n","/*\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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {forwardRef} from 'react';\nimport {TextProps} from '@react-types/text';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Text(props: TextProps, ref: DOMRef) {\n props = useSlotProps(props, 'text');\n let {\n children,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n return (\n <span {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </span>\n );\n}\n\n/**\n * Text represents text with no specific semantic meaning.\n */\nconst _Text = forwardRef(Text);\nexport {_Text as Text};\n","/*\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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {HeadingProps} from '@react-types/text';\nimport React, {ElementType, forwardRef} from 'react';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Heading(props: HeadingProps, ref: DOMRef<HTMLHeadingElement>) {\n props = useSlotProps(props, 'heading');\n\n let {\n children,\n level = 3,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n let HeadingTag = `h${level}` as ElementType;\n\n return (\n <HeadingTag {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </HeadingTag>\n );\n}\n\n/**\n * Heading is used to create various levels of typographic hierarchies.\n */\nconst _Heading = forwardRef(Heading);\nexport {_Heading as Heading};\n","/*\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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {KeyboardProps} from '@react-types/text';\nimport React, {forwardRef} from 'react';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Keyboard(props: KeyboardProps, ref: DOMRef) {\n props = useSlotProps(props, 'keyboard');\n let {\n children,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n return (\n <kbd {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </kbd>\n );\n}\n\n/**\n * Keyboard represents text that specifies a keyboard command.\n */\nconst _Keyboard = forwardRef(Keyboard);\nexport {_Keyboard as Keyboard};\n"],"names":[],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/text/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 {Text} from './Text';\nexport {Heading} from './Heading';\nexport {Keyboard} from './Keyboard';\nexport type {HeadingProps, KeyboardProps, TextProps} from '@react-types/text';\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js CHANGED
@@ -1,6 +1,6 @@
1
- import {filterDOMProps as $3GX9J$filterDOMProps} from "@react-aria/utils";
2
- import $3GX9J$react, {forwardRef as $3GX9J$forwardRef} from "react";
3
- import {useSlotProps as $3GX9J$useSlotProps, useStyleProps as $3GX9J$useStyleProps, useDOMRef as $3GX9J$useDOMRef} from "@react-spectrum/utils";
1
+ import {Text as $cd449e8defa988f0$export$5f1af8db9871e1d6} from "./Text.module.js";
2
+ import {Heading as $c382fceb69609a50$export$a8a3e93435678ff9} from "./Heading.module.js";
3
+ import {Keyboard as $a42b6b1607b36926$export$16e4d70cc375e707} from "./Keyboard.module.js";
4
4
 
5
5
  /*
6
6
  * Copyright 2020 Adobe. All rights reserved.
@@ -13,92 +13,7 @@ import {useSlotProps as $3GX9J$useSlotProps, useStyleProps as $3GX9J$useStylePro
13
13
  * OF ANY KIND, either express or implied. See the License for the specific language
14
14
  * governing permissions and limitations under the License.
15
15
  */ /// <reference types="css-module-types" />
16
- /*
17
- * Copyright 2020 Adobe. All rights reserved.
18
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
19
- * you may not use this file except in compliance with the License. You may obtain a copy
20
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
21
- *
22
- * Unless required by applicable law or agreed to in writing, software distributed under
23
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
24
- * OF ANY KIND, either express or implied. See the License for the specific language
25
- * governing permissions and limitations under the License.
26
- */
27
-
28
-
29
- function $cd449e8defa988f0$var$Text(props, ref) {
30
- props = (0, $3GX9J$useSlotProps)(props, "text");
31
- let { children: children, ...otherProps } = props;
32
- let { styleProps: styleProps } = (0, $3GX9J$useStyleProps)(otherProps);
33
- let domRef = (0, $3GX9J$useDOMRef)(ref);
34
- return /*#__PURE__*/ (0, $3GX9J$react).createElement("span", {
35
- ...(0, $3GX9J$filterDOMProps)(otherProps),
36
- ...styleProps,
37
- ref: domRef
38
- }, children);
39
- }
40
- /**
41
- * Text represents text with no specific semantic meaning.
42
- */ const $cd449e8defa988f0$export$5f1af8db9871e1d6 = /*#__PURE__*/ (0, $3GX9J$forwardRef)($cd449e8defa988f0$var$Text);
43
-
44
-
45
- /*
46
- * Copyright 2020 Adobe. All rights reserved.
47
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
48
- * you may not use this file except in compliance with the License. You may obtain a copy
49
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
50
- *
51
- * Unless required by applicable law or agreed to in writing, software distributed under
52
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
53
- * OF ANY KIND, either express or implied. See the License for the specific language
54
- * governing permissions and limitations under the License.
55
- */
56
-
57
-
58
- function $c382fceb69609a50$var$Heading(props, ref) {
59
- props = (0, $3GX9J$useSlotProps)(props, "heading");
60
- let { children: children, level: level = 3, ...otherProps } = props;
61
- let { styleProps: styleProps } = (0, $3GX9J$useStyleProps)(otherProps);
62
- let domRef = (0, $3GX9J$useDOMRef)(ref);
63
- let HeadingTag = `h${level}`;
64
- return /*#__PURE__*/ (0, $3GX9J$react).createElement(HeadingTag, {
65
- ...(0, $3GX9J$filterDOMProps)(otherProps),
66
- ...styleProps,
67
- ref: domRef
68
- }, children);
69
- }
70
- /**
71
- * Heading is used to create various levels of typographic hierarchies.
72
- */ const $c382fceb69609a50$export$a8a3e93435678ff9 = /*#__PURE__*/ (0, $3GX9J$forwardRef)($c382fceb69609a50$var$Heading);
73
-
74
-
75
- /*
76
- * Copyright 2020 Adobe. All rights reserved.
77
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
78
- * you may not use this file except in compliance with the License. You may obtain a copy
79
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
80
- *
81
- * Unless required by applicable law or agreed to in writing, software distributed under
82
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
83
- * OF ANY KIND, either express or implied. See the License for the specific language
84
- * governing permissions and limitations under the License.
85
- */
86
-
87
16
 
88
- function $a42b6b1607b36926$var$Keyboard(props, ref) {
89
- props = (0, $3GX9J$useSlotProps)(props, "keyboard");
90
- let { children: children, ...otherProps } = props;
91
- let { styleProps: styleProps } = (0, $3GX9J$useStyleProps)(otherProps);
92
- let domRef = (0, $3GX9J$useDOMRef)(ref);
93
- return /*#__PURE__*/ (0, $3GX9J$react).createElement("kbd", {
94
- ...(0, $3GX9J$filterDOMProps)(otherProps),
95
- ...styleProps,
96
- ref: domRef
97
- }, children);
98
- }
99
- /**
100
- * Keyboard represents text that specifies a keyboard command.
101
- */ const $a42b6b1607b36926$export$16e4d70cc375e707 = /*#__PURE__*/ (0, $3GX9J$forwardRef)($a42b6b1607b36926$var$Keyboard);
102
17
 
103
18
 
104
19
 
@@ -1 +1 @@
1
- {"mappings":";;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;AAQD,SAAS,2BAAK,KAAgB,EAAE,GAAW;IACzC,QAAQ,CAAA,GAAA,mBAAW,EAAE,OAAO;IAC5B,IAAI,YACF,QAAQ,EACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IAEvB,qBACE,gCAAC;QAAM,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OACxD;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAQ,CAAA,GAAA,iBAAS,EAAE;;;ACrCzB;;;;;;;;;;CAUC;;;AAQD,SAAS,8BAAQ,KAAmB,EAAE,GAA+B;IACnE,QAAQ,CAAA,GAAA,mBAAW,EAAE,OAAO;IAE5B,IAAI,YACF,QAAQ,SACR,QAAQ,GACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IACvB,IAAI,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IAE5B,qBACE,gCAAC;QAAY,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OAC9D;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAW,CAAA,GAAA,iBAAS,EAAE;;;ACxC5B;;;;;;;;;;CAUC;;;AAQD,SAAS,+BAAS,KAAoB,EAAE,GAAW;IACjD,QAAQ,CAAA,GAAA,mBAAW,EAAE,OAAO;IAC5B,IAAI,YACF,QAAQ,EACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IAEvB,qBACE,gCAAC;QAAK,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;OACvD;AAGP;AAEA;;CAEC,GACD,MAAM,0DAAY,CAAA,GAAA,iBAAS,EAAE;","sources":["packages/@react-spectrum/text/src/index.ts","packages/@react-spectrum/text/src/Text.tsx","packages/@react-spectrum/text/src/Heading.tsx","packages/@react-spectrum/text/src/Keyboard.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\n/// <reference types=\"css-module-types\" />\n\nexport {Text} from './Text';\nexport {Heading} from './Heading';\nexport {Keyboard} from './Keyboard';\nexport type {HeadingProps, KeyboardProps, TextProps} from '@react-types/text';\n","/*\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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {forwardRef} from 'react';\nimport {TextProps} from '@react-types/text';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Text(props: TextProps, ref: DOMRef) {\n props = useSlotProps(props, 'text');\n let {\n children,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n return (\n <span {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </span>\n );\n}\n\n/**\n * Text represents text with no specific semantic meaning.\n */\nconst _Text = forwardRef(Text);\nexport {_Text as Text};\n","/*\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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {HeadingProps} from '@react-types/text';\nimport React, {ElementType, forwardRef} from 'react';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Heading(props: HeadingProps, ref: DOMRef<HTMLHeadingElement>) {\n props = useSlotProps(props, 'heading');\n\n let {\n children,\n level = 3,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n let HeadingTag = `h${level}` as ElementType;\n\n return (\n <HeadingTag {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </HeadingTag>\n );\n}\n\n/**\n * Heading is used to create various levels of typographic hierarchies.\n */\nconst _Heading = forwardRef(Heading);\nexport {_Heading as Heading};\n","/*\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 {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {KeyboardProps} from '@react-types/text';\nimport React, {forwardRef} from 'react';\nimport {useDOMRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\n\nfunction Keyboard(props: KeyboardProps, ref: DOMRef) {\n props = useSlotProps(props, 'keyboard');\n let {\n children,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n return (\n <kbd {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n {children}\n </kbd>\n );\n}\n\n/**\n * Keyboard represents text that specifies a keyboard command.\n */\nconst _Keyboard = forwardRef(Keyboard);\nexport {_Keyboard as Keyboard};\n"],"names":[],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/text/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 {Text} from './Text';\nexport {Heading} from './Heading';\nexport {Keyboard} from './Keyboard';\nexport type {HeadingProps, KeyboardProps, TextProps} from '@react-types/text';\n"],"names":[],"version":3,"file":"module.js.map"}
package/dist/types.d.ts CHANGED
@@ -1,17 +1,18 @@
1
1
  import React from "react";
2
2
  import { TextProps, HeadingProps, KeyboardProps } from "@react-types/text";
3
+ import { DOMRefValue } from "@react-types/shared";
3
4
  /**
4
5
  * Text represents text with no specific semantic meaning.
5
6
  */
6
- export const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<import("@react-types/shared").DOMRefValue<HTMLElement>>>;
7
+ export const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<DOMRefValue<HTMLElement>>>;
7
8
  /**
8
9
  * Heading is used to create various levels of typographic hierarchies.
9
10
  */
10
- export const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<import("@react-types/shared").DOMRefValue<HTMLHeadingElement>>>;
11
+ export const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<DOMRefValue<HTMLHeadingElement>>>;
11
12
  /**
12
13
  * Keyboard represents text that specifies a keyboard command.
13
14
  */
14
- export const Keyboard: React.ForwardRefExoticComponent<KeyboardProps & React.RefAttributes<import("@react-types/shared").DOMRefValue<HTMLElement>>>;
15
+ export const Keyboard: React.ForwardRefExoticComponent<KeyboardProps & React.RefAttributes<DOMRefValue<HTMLElement>>>;
15
16
  export type { HeadingProps, KeyboardProps, TextProps } from '@react-types/text';
16
17
 
17
18
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"mappings":";;AAkCA;;GAEG;AACH,OAAA,MAAM,8HAAwB,CAAC;ACA/B;;GAEG;AACH,OAAA,MAAM,2IAA8B,CAAC;ACNrC;;GAEG;AACH,OAAA,MAAM,sIAAgC,CAAC;ACpBvC,YAAY,EAAC,YAAY,EAAE,aAAa,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC","sources":["packages/@react-spectrum/text/src/packages/@react-spectrum/text/src/Text.tsx","packages/@react-spectrum/text/src/packages/@react-spectrum/text/src/Heading.tsx","packages/@react-spectrum/text/src/packages/@react-spectrum/text/src/Keyboard.tsx","packages/@react-spectrum/text/src/packages/@react-spectrum/text/src/index.ts","packages/@react-spectrum/text/src/index.ts"],"sourcesContent":[null,null,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 {Text} from './Text';\nexport {Heading} from './Heading';\nexport {Keyboard} from './Keyboard';\nexport type {HeadingProps, KeyboardProps, TextProps} from '@react-types/text';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";;;AAkCA;;GAEG;AACH,OAAA,MAAM,gGAAwB,CAAC;ACA/B;;GAEG;AACH,OAAA,MAAM,6GAA8B,CAAC;ACNrC;;GAEG;AACH,OAAA,MAAM,wGAAgC,CAAC;ACpBvC,YAAY,EAAC,YAAY,EAAE,aAAa,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC","sources":["packages/@react-spectrum/text/src/packages/@react-spectrum/text/src/Text.tsx","packages/@react-spectrum/text/src/packages/@react-spectrum/text/src/Heading.tsx","packages/@react-spectrum/text/src/packages/@react-spectrum/text/src/Keyboard.tsx","packages/@react-spectrum/text/src/packages/@react-spectrum/text/src/index.ts","packages/@react-spectrum/text/src/index.ts"],"sourcesContent":[null,null,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 {Text} from './Text';\nexport {Heading} from './Heading';\nexport {Keyboard} from './Keyboard';\nexport type {HeadingProps, KeyboardProps, TextProps} from '@react-types/text';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/text",
3
- "version": "3.5.4-nightly.4555+81162ea39",
3
+ "version": "3.5.4-nightly.4558+c5e4b3701",
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.2843+81162ea39",
40
- "@react-spectrum/utils": "3.0.0-nightly.2843+81162ea39",
41
- "@react-types/shared": "3.0.0-nightly.2843+81162ea39",
42
- "@react-types/text": "3.3.8-nightly.4555+81162ea39",
39
+ "@react-aria/utils": "3.0.0-nightly.2846+c5e4b3701",
40
+ "@react-spectrum/utils": "3.0.0-nightly.2846+c5e4b3701",
41
+ "@react-types/shared": "3.0.0-nightly.2846+c5e4b3701",
42
+ "@react-types/text": "3.3.8-nightly.4558+c5e4b3701",
43
43
  "@swc/helpers": "^0.5.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2843+81162ea39"
46
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.2846+c5e4b3701"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@react-spectrum/provider": "^3.0.0",
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "81162ea392926d06ec3d25c228e6f9b6b5479d59"
55
+ "gitHead": "c5e4b3701fdb89eb551f1b3697ac253f06ef68fa"
56
56
  }