@react-spectrum/illustratedmessage 3.0.0-alpha.1 → 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 CHANGED
@@ -1,3 +1,3 @@
1
1
  # @react-spectrum/illustratedmessage
2
2
 
3
- This package is part of [react-spectrum](https://github.com/adobe-private/react-spectrum-v3). See the repo for more details.
3
+ This package is part of [react-spectrum](https://github.com/adobe/react-spectrum). See the repo for more details.
@@ -0,0 +1,63 @@
1
+ require("./vars.0481b406.css");
2
+ var $e7750c05f28ceb4f$exports = require("./illustratedmessage_vars_css.main.js");
3
+ var $3YIyO$reactspectrumutils = require("@react-spectrum/utils");
4
+ var $3YIyO$reactariautils = require("@react-aria/utils");
5
+ var $3YIyO$reactspectrumlayout = require("@react-spectrum/layout");
6
+ var $3YIyO$react = require("react");
7
+
8
+
9
+ function $parcel$interopDefault(a) {
10
+ return a && a.__esModule ? a.default : a;
11
+ }
12
+
13
+ function $parcel$export(e, n, v, s) {
14
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
15
+ }
16
+
17
+ $parcel$export(module.exports, "IllustratedMessage", () => $90e6e9abe7fc12ca$export$406dbc84c317ece0);
18
+ /*
19
+ * Copyright 2020 Adobe. All rights reserved.
20
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
21
+ * you may not use this file except in compliance with the License. You may obtain a copy
22
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
23
+ *
24
+ * Unless required by applicable law or agreed to in writing, software distributed under
25
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
26
+ * OF ANY KIND, either express or implied. See the License for the specific language
27
+ * governing permissions and limitations under the License.
28
+ */
29
+
30
+
31
+
32
+
33
+ function $90e6e9abe7fc12ca$var$IllustratedMessage(props, ref) {
34
+ props = (0, $3YIyO$reactspectrumutils.useSlotProps)(props, 'illustration');
35
+ let { children: children, ...otherProps } = props;
36
+ let { styleProps: styleProps } = (0, $3YIyO$reactspectrumutils.useStyleProps)(otherProps);
37
+ let headingClassName = (0, $3YIyO$reactspectrumutils.classNames)((0, ($parcel$interopDefault($e7750c05f28ceb4f$exports))), 'spectrum-IllustratedMessage-heading');
38
+ let contentClassName = (0, $3YIyO$reactspectrumutils.classNames)((0, ($parcel$interopDefault($e7750c05f28ceb4f$exports))), 'spectrum-IllustratedMessage-description');
39
+ let slots = {
40
+ heading: {
41
+ UNSAFE_className: headingClassName
42
+ },
43
+ content: {
44
+ UNSAFE_className: contentClassName
45
+ }
46
+ };
47
+ return /*#__PURE__*/ (0, ($parcel$interopDefault($3YIyO$react))).createElement((0, $3YIyO$reactspectrumlayout.Flex), {
48
+ ...(0, $3YIyO$reactariautils.filterDOMProps)(otherProps),
49
+ UNSAFE_style: styleProps.style,
50
+ isHidden: styleProps.hidden,
51
+ UNSAFE_className: (0, $3YIyO$reactspectrumutils.classNames)((0, ($parcel$interopDefault($e7750c05f28ceb4f$exports))), 'spectrum-IllustratedMessage', styleProps.className),
52
+ ref: ref
53
+ }, /*#__PURE__*/ (0, ($parcel$interopDefault($3YIyO$react))).createElement((0, $3YIyO$reactspectrumutils.ClearSlots), null, /*#__PURE__*/ (0, ($parcel$interopDefault($3YIyO$react))).createElement((0, $3YIyO$reactspectrumutils.SlotProvider), {
54
+ slots: slots
55
+ }, children)));
56
+ }
57
+ /**
58
+ * An IllustratedMessage displays an illustration and a message, usually
59
+ * for an empty state or an error page.
60
+ */ let $90e6e9abe7fc12ca$export$406dbc84c317ece0 = /*#__PURE__*/ (0, $3YIyO$react.forwardRef)($90e6e9abe7fc12ca$var$IllustratedMessage);
61
+
62
+
63
+ //# sourceMappingURL=IllustratedMessage.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAUD,SAAS,yCAAmB,KAAsC,EAAE,GAA2B;IAC7F,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,YACF,QAAQ,EACR,GAAG,YACJ,GAAG;IAEJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,mBAAmB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAK,GAAG;IAC1C,IAAI,mBAAmB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAK,GAAG;IAE1C,IAAI,QAAQ;QACV,SAAS;YAAC,kBAAkB;QAAgB;QAC5C,SAAS;YAAC,kBAAkB;QAAgB;IAC9C;IAEA,qBACE,0DAAC,CAAA,GAAA,+BAAG;QACD,GAAG,CAAA,GAAA,oCAAa,EAAE,WAAW;QAC9B,cAAc,WAAW,KAAK;QAC9B,UAAU,WAAW,MAAM;QAC3B,kBAAkB,CAAA,GAAA,oCAAS,EACzB,CAAA,GAAA,mDAAK,GACL,+BACA,WAAW,SAAS;QAEtB,KAAK;qBACL,0DAAC,CAAA,GAAA,oCAAS,uBACR,0DAAC,CAAA,GAAA,sCAAW;QAAE,OAAO;OAClB;AAKX;AAEA;;;CAGC,GACD,IAAI,0DAAsB,CAAA,GAAA,uBAAS,EAAE","sources":["packages/@react-spectrum/illustratedmessage/src/IllustratedMessage.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, ClearSlots, SlotProvider, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {Flex} from '@react-spectrum/layout';\nimport React, {forwardRef} from 'react';\nimport {SpectrumIllustratedMessageProps} from '@react-types/illustratedmessage';\nimport styles from '@adobe/spectrum-css-temp/components/illustratedmessage/vars.css';\n\nfunction IllustratedMessage(props: SpectrumIllustratedMessageProps, ref: DOMRef<HTMLDivElement>) {\n props = useSlotProps(props, 'illustration');\n let {\n children,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let headingClassName = classNames(styles, 'spectrum-IllustratedMessage-heading');\n let contentClassName = classNames(styles, 'spectrum-IllustratedMessage-description');\n\n let slots = {\n heading: {UNSAFE_className: headingClassName},\n content: {UNSAFE_className: contentClassName}\n };\n\n return (\n <Flex\n {...filterDOMProps(otherProps)}\n UNSAFE_style={styleProps.style}\n isHidden={styleProps.hidden}\n UNSAFE_className={classNames(\n styles,\n 'spectrum-IllustratedMessage',\n styleProps.className\n )}\n ref={ref}>\n <ClearSlots>\n <SlotProvider slots={slots}>\n {children}\n </SlotProvider>\n </ClearSlots>\n </Flex>\n );\n}\n\n/**\n * An IllustratedMessage displays an illustration and a message, usually\n * for an empty state or an error page.\n */\nlet _IllustratedMessage = forwardRef(IllustratedMessage);\nexport {_IllustratedMessage as IllustratedMessage};\n"],"names":[],"version":3,"file":"IllustratedMessage.main.js.map"}
@@ -0,0 +1,58 @@
1
+ import "./vars.0481b406.css";
2
+ import $i4ryj$illustratedmessage_vars_cssmodulejs from "./illustratedmessage_vars_css.mjs";
3
+ import {useSlotProps as $i4ryj$useSlotProps, useStyleProps as $i4ryj$useStyleProps, classNames as $i4ryj$classNames, ClearSlots as $i4ryj$ClearSlots, SlotProvider as $i4ryj$SlotProvider} from "@react-spectrum/utils";
4
+ import {filterDOMProps as $i4ryj$filterDOMProps} from "@react-aria/utils";
5
+ import {Flex as $i4ryj$Flex} from "@react-spectrum/layout";
6
+ import $i4ryj$react, {forwardRef as $i4ryj$forwardRef} from "react";
7
+
8
+
9
+ function $parcel$interopDefault(a) {
10
+ return a && a.__esModule ? a.default : a;
11
+ }
12
+ /*
13
+ * Copyright 2020 Adobe. All rights reserved.
14
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
15
+ * you may not use this file except in compliance with the License. You may obtain a copy
16
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software distributed under
19
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
20
+ * OF ANY KIND, either express or implied. See the License for the specific language
21
+ * governing permissions and limitations under the License.
22
+ */
23
+
24
+
25
+
26
+
27
+ function $ccaf5c86c16f58c0$var$IllustratedMessage(props, ref) {
28
+ props = (0, $i4ryj$useSlotProps)(props, 'illustration');
29
+ let { children: children, ...otherProps } = props;
30
+ let { styleProps: styleProps } = (0, $i4ryj$useStyleProps)(otherProps);
31
+ let headingClassName = (0, $i4ryj$classNames)((0, ($parcel$interopDefault($i4ryj$illustratedmessage_vars_cssmodulejs))), 'spectrum-IllustratedMessage-heading');
32
+ let contentClassName = (0, $i4ryj$classNames)((0, ($parcel$interopDefault($i4ryj$illustratedmessage_vars_cssmodulejs))), 'spectrum-IllustratedMessage-description');
33
+ let slots = {
34
+ heading: {
35
+ UNSAFE_className: headingClassName
36
+ },
37
+ content: {
38
+ UNSAFE_className: contentClassName
39
+ }
40
+ };
41
+ return /*#__PURE__*/ (0, $i4ryj$react).createElement((0, $i4ryj$Flex), {
42
+ ...(0, $i4ryj$filterDOMProps)(otherProps),
43
+ UNSAFE_style: styleProps.style,
44
+ isHidden: styleProps.hidden,
45
+ UNSAFE_className: (0, $i4ryj$classNames)((0, ($parcel$interopDefault($i4ryj$illustratedmessage_vars_cssmodulejs))), 'spectrum-IllustratedMessage', styleProps.className),
46
+ ref: ref
47
+ }, /*#__PURE__*/ (0, $i4ryj$react).createElement((0, $i4ryj$ClearSlots), null, /*#__PURE__*/ (0, $i4ryj$react).createElement((0, $i4ryj$SlotProvider), {
48
+ slots: slots
49
+ }, children)));
50
+ }
51
+ /**
52
+ * An IllustratedMessage displays an illustration and a message, usually
53
+ * for an empty state or an error page.
54
+ */ let $ccaf5c86c16f58c0$export$406dbc84c317ece0 = /*#__PURE__*/ (0, $i4ryj$forwardRef)($ccaf5c86c16f58c0$var$IllustratedMessage);
55
+
56
+
57
+ export {$ccaf5c86c16f58c0$export$406dbc84c317ece0 as IllustratedMessage};
58
+ //# sourceMappingURL=IllustratedMessage.module.js.map
@@ -0,0 +1,58 @@
1
+ import "./vars.0481b406.css";
2
+ import $i4ryj$illustratedmessage_vars_cssmodulejs from "./illustratedmessage_vars_css.module.js";
3
+ import {useSlotProps as $i4ryj$useSlotProps, useStyleProps as $i4ryj$useStyleProps, classNames as $i4ryj$classNames, ClearSlots as $i4ryj$ClearSlots, SlotProvider as $i4ryj$SlotProvider} from "@react-spectrum/utils";
4
+ import {filterDOMProps as $i4ryj$filterDOMProps} from "@react-aria/utils";
5
+ import {Flex as $i4ryj$Flex} from "@react-spectrum/layout";
6
+ import $i4ryj$react, {forwardRef as $i4ryj$forwardRef} from "react";
7
+
8
+
9
+ function $parcel$interopDefault(a) {
10
+ return a && a.__esModule ? a.default : a;
11
+ }
12
+ /*
13
+ * Copyright 2020 Adobe. All rights reserved.
14
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
15
+ * you may not use this file except in compliance with the License. You may obtain a copy
16
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software distributed under
19
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
20
+ * OF ANY KIND, either express or implied. See the License for the specific language
21
+ * governing permissions and limitations under the License.
22
+ */
23
+
24
+
25
+
26
+
27
+ function $ccaf5c86c16f58c0$var$IllustratedMessage(props, ref) {
28
+ props = (0, $i4ryj$useSlotProps)(props, 'illustration');
29
+ let { children: children, ...otherProps } = props;
30
+ let { styleProps: styleProps } = (0, $i4ryj$useStyleProps)(otherProps);
31
+ let headingClassName = (0, $i4ryj$classNames)((0, ($parcel$interopDefault($i4ryj$illustratedmessage_vars_cssmodulejs))), 'spectrum-IllustratedMessage-heading');
32
+ let contentClassName = (0, $i4ryj$classNames)((0, ($parcel$interopDefault($i4ryj$illustratedmessage_vars_cssmodulejs))), 'spectrum-IllustratedMessage-description');
33
+ let slots = {
34
+ heading: {
35
+ UNSAFE_className: headingClassName
36
+ },
37
+ content: {
38
+ UNSAFE_className: contentClassName
39
+ }
40
+ };
41
+ return /*#__PURE__*/ (0, $i4ryj$react).createElement((0, $i4ryj$Flex), {
42
+ ...(0, $i4ryj$filterDOMProps)(otherProps),
43
+ UNSAFE_style: styleProps.style,
44
+ isHidden: styleProps.hidden,
45
+ UNSAFE_className: (0, $i4ryj$classNames)((0, ($parcel$interopDefault($i4ryj$illustratedmessage_vars_cssmodulejs))), 'spectrum-IllustratedMessage', styleProps.className),
46
+ ref: ref
47
+ }, /*#__PURE__*/ (0, $i4ryj$react).createElement((0, $i4ryj$ClearSlots), null, /*#__PURE__*/ (0, $i4ryj$react).createElement((0, $i4ryj$SlotProvider), {
48
+ slots: slots
49
+ }, children)));
50
+ }
51
+ /**
52
+ * An IllustratedMessage displays an illustration and a message, usually
53
+ * for an empty state or an error page.
54
+ */ let $ccaf5c86c16f58c0$export$406dbc84c317ece0 = /*#__PURE__*/ (0, $i4ryj$forwardRef)($ccaf5c86c16f58c0$var$IllustratedMessage);
55
+
56
+
57
+ export {$ccaf5c86c16f58c0$export$406dbc84c317ece0 as IllustratedMessage};
58
+ //# sourceMappingURL=IllustratedMessage.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAUD,SAAS,yCAAmB,KAAsC,EAAE,GAA2B;IAC7F,QAAQ,CAAA,GAAA,mBAAW,EAAE,OAAO;IAC5B,IAAI,YACF,QAAQ,EACR,GAAG,YACJ,GAAG;IAEJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,mBAAmB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,oEAAK,GAAG;IAC1C,IAAI,mBAAmB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,oEAAK,GAAG;IAE1C,IAAI,QAAQ;QACV,SAAS;YAAC,kBAAkB;QAAgB;QAC5C,SAAS;YAAC,kBAAkB;QAAgB;IAC9C;IAEA,qBACE,gCAAC,CAAA,GAAA,WAAG;QACD,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAC9B,cAAc,WAAW,KAAK;QAC9B,UAAU,WAAW,MAAM;QAC3B,kBAAkB,CAAA,GAAA,iBAAS,EACzB,CAAA,GAAA,oEAAK,GACL,+BACA,WAAW,SAAS;QAEtB,KAAK;qBACL,gCAAC,CAAA,GAAA,iBAAS,uBACR,gCAAC,CAAA,GAAA,mBAAW;QAAE,OAAO;OAClB;AAKX;AAEA;;;CAGC,GACD,IAAI,0DAAsB,CAAA,GAAA,iBAAS,EAAE","sources":["packages/@react-spectrum/illustratedmessage/src/IllustratedMessage.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, ClearSlots, SlotProvider, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {Flex} from '@react-spectrum/layout';\nimport React, {forwardRef} from 'react';\nimport {SpectrumIllustratedMessageProps} from '@react-types/illustratedmessage';\nimport styles from '@adobe/spectrum-css-temp/components/illustratedmessage/vars.css';\n\nfunction IllustratedMessage(props: SpectrumIllustratedMessageProps, ref: DOMRef<HTMLDivElement>) {\n props = useSlotProps(props, 'illustration');\n let {\n children,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let headingClassName = classNames(styles, 'spectrum-IllustratedMessage-heading');\n let contentClassName = classNames(styles, 'spectrum-IllustratedMessage-description');\n\n let slots = {\n heading: {UNSAFE_className: headingClassName},\n content: {UNSAFE_className: contentClassName}\n };\n\n return (\n <Flex\n {...filterDOMProps(otherProps)}\n UNSAFE_style={styleProps.style}\n isHidden={styleProps.hidden}\n UNSAFE_className={classNames(\n styles,\n 'spectrum-IllustratedMessage',\n styleProps.className\n )}\n ref={ref}>\n <ClearSlots>\n <SlotProvider slots={slots}>\n {children}\n </SlotProvider>\n </ClearSlots>\n </Flex>\n );\n}\n\n/**\n * An IllustratedMessage displays an illustration and a message, usually\n * for an empty state or an error page.\n */\nlet _IllustratedMessage = forwardRef(IllustratedMessage);\nexport {_IllustratedMessage as IllustratedMessage};\n"],"names":[],"version":3,"file":"IllustratedMessage.module.js.map"}
@@ -0,0 +1,20 @@
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, "spectrum-IllustratedMessage", () => $e7750c05f28ceb4f$export$e22c6753c239ec31, (v) => $e7750c05f28ceb4f$export$e22c6753c239ec31 = v);
7
+ $parcel$export(module.exports, "spectrum-IllustratedMessage--cta", () => $e7750c05f28ceb4f$export$29744d89c9a76d50, (v) => $e7750c05f28ceb4f$export$29744d89c9a76d50 = v);
8
+ $parcel$export(module.exports, "spectrum-IllustratedMessage-description", () => $e7750c05f28ceb4f$export$cf9d959111789fe7, (v) => $e7750c05f28ceb4f$export$cf9d959111789fe7 = v);
9
+ $parcel$export(module.exports, "spectrum-IllustratedMessage-heading", () => $e7750c05f28ceb4f$export$5df23faa5ed344c4, (v) => $e7750c05f28ceb4f$export$5df23faa5ed344c4 = v);
10
+ var $e7750c05f28ceb4f$export$e22c6753c239ec31;
11
+ var $e7750c05f28ceb4f$export$29744d89c9a76d50;
12
+ var $e7750c05f28ceb4f$export$cf9d959111789fe7;
13
+ var $e7750c05f28ceb4f$export$5df23faa5ed344c4;
14
+ $e7750c05f28ceb4f$export$e22c6753c239ec31 = `uhJ7Ra_spectrum-IllustratedMessage`;
15
+ $e7750c05f28ceb4f$export$29744d89c9a76d50 = `uhJ7Ra_spectrum-IllustratedMessage--cta`;
16
+ $e7750c05f28ceb4f$export$cf9d959111789fe7 = `uhJ7Ra_spectrum-IllustratedMessage-description`;
17
+ $e7750c05f28ceb4f$export$5df23faa5ed344c4 = `uhJ7Ra_spectrum-IllustratedMessage-heading`;
18
+
19
+
20
+ //# sourceMappingURL=illustratedmessage_vars_css.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAHA,4CAAgD,CAAC,kCAAkC,CAAC;AACpF,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAA4D,CAAC,8CAA8C,CAAC;AAC5G,4CAAwD,CAAC,0CAA0C,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/illustratedmessage/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":"illustratedmessage_vars_css.main.js.map"}
@@ -0,0 +1,22 @@
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 $4c3e55dfb549f378$exports = {};
6
+
7
+ $parcel$export($4c3e55dfb549f378$exports, "spectrum-IllustratedMessage", () => $4c3e55dfb549f378$export$e22c6753c239ec31, (v) => $4c3e55dfb549f378$export$e22c6753c239ec31 = v);
8
+ $parcel$export($4c3e55dfb549f378$exports, "spectrum-IllustratedMessage--cta", () => $4c3e55dfb549f378$export$29744d89c9a76d50, (v) => $4c3e55dfb549f378$export$29744d89c9a76d50 = v);
9
+ $parcel$export($4c3e55dfb549f378$exports, "spectrum-IllustratedMessage-description", () => $4c3e55dfb549f378$export$cf9d959111789fe7, (v) => $4c3e55dfb549f378$export$cf9d959111789fe7 = v);
10
+ $parcel$export($4c3e55dfb549f378$exports, "spectrum-IllustratedMessage-heading", () => $4c3e55dfb549f378$export$5df23faa5ed344c4, (v) => $4c3e55dfb549f378$export$5df23faa5ed344c4 = v);
11
+ var $4c3e55dfb549f378$export$e22c6753c239ec31;
12
+ var $4c3e55dfb549f378$export$29744d89c9a76d50;
13
+ var $4c3e55dfb549f378$export$cf9d959111789fe7;
14
+ var $4c3e55dfb549f378$export$5df23faa5ed344c4;
15
+ $4c3e55dfb549f378$export$e22c6753c239ec31 = `uhJ7Ra_spectrum-IllustratedMessage`;
16
+ $4c3e55dfb549f378$export$29744d89c9a76d50 = `uhJ7Ra_spectrum-IllustratedMessage--cta`;
17
+ $4c3e55dfb549f378$export$cf9d959111789fe7 = `uhJ7Ra_spectrum-IllustratedMessage-description`;
18
+ $4c3e55dfb549f378$export$5df23faa5ed344c4 = `uhJ7Ra_spectrum-IllustratedMessage-heading`;
19
+
20
+
21
+ export {$4c3e55dfb549f378$exports as default};
22
+ //# sourceMappingURL=illustratedmessage_vars_css.module.js.map
@@ -0,0 +1,22 @@
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 $4c3e55dfb549f378$exports = {};
6
+
7
+ $parcel$export($4c3e55dfb549f378$exports, "spectrum-IllustratedMessage", () => $4c3e55dfb549f378$export$e22c6753c239ec31, (v) => $4c3e55dfb549f378$export$e22c6753c239ec31 = v);
8
+ $parcel$export($4c3e55dfb549f378$exports, "spectrum-IllustratedMessage--cta", () => $4c3e55dfb549f378$export$29744d89c9a76d50, (v) => $4c3e55dfb549f378$export$29744d89c9a76d50 = v);
9
+ $parcel$export($4c3e55dfb549f378$exports, "spectrum-IllustratedMessage-description", () => $4c3e55dfb549f378$export$cf9d959111789fe7, (v) => $4c3e55dfb549f378$export$cf9d959111789fe7 = v);
10
+ $parcel$export($4c3e55dfb549f378$exports, "spectrum-IllustratedMessage-heading", () => $4c3e55dfb549f378$export$5df23faa5ed344c4, (v) => $4c3e55dfb549f378$export$5df23faa5ed344c4 = v);
11
+ var $4c3e55dfb549f378$export$e22c6753c239ec31;
12
+ var $4c3e55dfb549f378$export$29744d89c9a76d50;
13
+ var $4c3e55dfb549f378$export$cf9d959111789fe7;
14
+ var $4c3e55dfb549f378$export$5df23faa5ed344c4;
15
+ $4c3e55dfb549f378$export$e22c6753c239ec31 = `uhJ7Ra_spectrum-IllustratedMessage`;
16
+ $4c3e55dfb549f378$export$29744d89c9a76d50 = `uhJ7Ra_spectrum-IllustratedMessage--cta`;
17
+ $4c3e55dfb549f378$export$cf9d959111789fe7 = `uhJ7Ra_spectrum-IllustratedMessage-description`;
18
+ $4c3e55dfb549f378$export$5df23faa5ed344c4 = `uhJ7Ra_spectrum-IllustratedMessage-heading`;
19
+
20
+
21
+ export {$4c3e55dfb549f378$exports as default};
22
+ //# sourceMappingURL=illustratedmessage_vars_css.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAHA,4CAAgD,CAAC,kCAAkC,CAAC;AACpF,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAA4D,CAAC,8CAA8C,CAAC;AAC5G,4CAAwD,CAAC,0CAA0C,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/illustratedmessage/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":"illustratedmessage_vars_css.module.js.map"}
@@ -0,0 +1,18 @@
1
+ import {IllustratedMessage as $ccaf5c86c16f58c0$export$406dbc84c317ece0} from "./IllustratedMessage.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 {$ccaf5c86c16f58c0$export$406dbc84c317ece0 as IllustratedMessage};
18
+ //# sourceMappingURL=module.js.map
package/dist/main.js CHANGED
@@ -1,110 +1,23 @@
1
- require("./main.css");
1
+ var $90e6e9abe7fc12ca$exports = require("./IllustratedMessage.main.js");
2
2
 
3
- var _babelRuntimeHelpersExtends = $parcel$interopDefault(require("@babel/runtime/helpers/extends"));
4
3
 
5
- var _babelRuntimeHelpersObjectWithoutProperties = $parcel$interopDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
6
-
7
- var _temp = require("@react-spectrum/utils");
8
-
9
- var classNames = _temp.classNames;
10
- var filterDOMProps = _temp.filterDOMProps;
11
- var SlotProvider = _temp.SlotProvider;
12
- var useStyleProps = _temp.useStyleProps;
13
-
14
- var Flex = require("@react-spectrum/layout").Flex;
15
-
16
- var _react2 = require("react");
17
-
18
- var _react = $parcel$interopDefault(_react2);
19
-
20
- var forwardRef = _react2.forwardRef;
21
-
22
- function $parcel$interopDefault(a) {
23
- return a && a.__esModule ? a.default : a;
4
+ function $parcel$export(e, n, v, s) {
5
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
24
6
  }
25
7
 
26
- // ASSET: /Users/govett/dev/react-spectrum/node_modules/@adobe/spectrum-css-temp/components/illustratedmessage/vars.css
27
- var $cd03412e2f012451b6296581ffd1688$exports = {};
28
- $cd03412e2f012451b6296581ffd1688$exports = {
29
- "spectrum-IllustratedMessage": "_spectrum-IllustratedMessage_8278b",
30
- "spectrum-IllustratedMessage-heading": "_spectrum-IllustratedMessage-heading_8278b",
31
- "spectrum-IllustratedMessage-description": "_spectrum-IllustratedMessage-description_8278b",
32
- "spectrum-IllustratedMessage--cta": "_spectrum-IllustratedMessage--cta_8278b"
33
- };
34
- // ASSET: /Users/govett/dev/react-spectrum/node_modules/@adobe/spectrum-css-temp/components/typography/vars.css
35
- var $d57e9cfe6cdf1fa55299e3c638b12ea$exports = {};
36
- $d57e9cfe6cdf1fa55299e3c638b12ea$exports = {
37
- "spectrum": "_spectrum_d5bb2",
38
- "spectrum-Body1": "_spectrum-Body1_d5bb2",
39
- "spectrum-Body2": "_spectrum-Body2_d5bb2",
40
- "spectrum-Body--large": "_spectrum-Body--large_d5bb2",
41
- "spectrum-Body3": "_spectrum-Body3_d5bb2",
42
- "spectrum-Body4": "_spectrum-Body4_d5bb2",
43
- "spectrum-Body--secondary": "_spectrum-Body--secondary_d5bb2",
44
- "spectrum-Body5": "_spectrum-Body5_d5bb2",
45
- "spectrum-Body--small": "_spectrum-Body--small_d5bb2",
46
- "spectrum-Heading1": "_spectrum-Heading1_d5bb2",
47
- "spectrum-Heading2": "_spectrum-Heading2_d5bb2",
48
- "spectrum-Heading3": "_spectrum-Heading3_d5bb2",
49
- "spectrum-Heading4": "_spectrum-Heading4_d5bb2",
50
- "spectrum-Heading--subtitle1": "_spectrum-Heading--subtitle1_d5bb2",
51
- "spectrum-Heading5": "_spectrum-Heading5_d5bb2",
52
- "spectrum-Heading6": "_spectrum-Heading6_d5bb2",
53
- "spectrum-Heading--subtitle2": "_spectrum-Heading--subtitle2_d5bb2",
54
- "spectrum-Subheading": "_spectrum-Subheading_d5bb2",
55
- "spectrum-Heading--subtitle3": "_spectrum-Heading--subtitle3_d5bb2",
56
- "spectrum-Detail": "_spectrum-Detail_d5bb2",
57
- "spectrum-Heading1--quiet": "_spectrum-Heading1--quiet_d5bb2",
58
- "spectrum-Heading2--quiet": "_spectrum-Heading2--quiet_d5bb2",
59
- "spectrum-Heading--pageTitle": "_spectrum-Heading--pageTitle_d5bb2",
60
- "spectrum-Heading1--strong": "_spectrum-Heading1--strong_d5bb2",
61
- "spectrum-Heading2--strong": "_spectrum-Heading2--strong_d5bb2",
62
- "spectrum-Heading1--display": "_spectrum-Heading1--display_d5bb2",
63
- "spectrum-Heading2--display": "_spectrum-Heading2--display_d5bb2",
64
- "spectrum-Heading--display": "_spectrum-Heading--display_d5bb2",
65
- "spectrum-Typography": "_spectrum-Typography_d5bb2",
66
- "spectrum-Article": "_spectrum-Article_d5bb2",
67
- "spectrum-Code1": "_spectrum-Code1_d5bb2",
68
- "spectrum-Code2": "_spectrum-Code2_d5bb2",
69
- "spectrum-Code3": "_spectrum-Code3_d5bb2",
70
- "spectrum-Code4": "_spectrum-Code4_d5bb2",
71
- "spectrum-Code5": "_spectrum-Code5_d5bb2",
72
- "spectrum-Body": "_spectrum-Body_d5bb2",
73
- "spectrum-Body--italic": "_spectrum-Body--italic_d5bb2"
74
- };
75
- var $d57e9cfe6cdf1fa55299e3c638b12ea$$interop$default = $parcel$interopDefault($d57e9cfe6cdf1fa55299e3c638b12ea$exports);
76
- var $cd03412e2f012451b6296581ffd1688$$interop$default = $parcel$interopDefault($cd03412e2f012451b6296581ffd1688$exports);
77
-
78
- function $d5ab1231494899260d1aa964ca8e3b$var$IllustratedMessage(props, ref) {
79
- var children = props.children,
80
- slots = props.slots,
81
- otherProps = _babelRuntimeHelpersObjectWithoutProperties(props, ["children", "slots"]);
82
-
83
- var _useStyleProps = useStyleProps(otherProps),
84
- styleProps = _useStyleProps.styleProps;
8
+ $parcel$export(module.exports, "IllustratedMessage", () => $90e6e9abe7fc12ca$exports.IllustratedMessage);
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" />
85
20
 
86
- var headingClassName = classNames({}, classNames($d57e9cfe6cdf1fa55299e3c638b12ea$$interop$default, 'spectrum-Heading', 'spectrum-Heading--pageTitle'), classNames($cd03412e2f012451b6296581ffd1688$$interop$default, 'spectrum-IllustratedMessage-heading'));
87
- var contentClassName = classNames({}, classNames($d57e9cfe6cdf1fa55299e3c638b12ea$$interop$default, 'spectrum-Body--secondary'), classNames($cd03412e2f012451b6296581ffd1688$$interop$default, 'spectrum-IllustratedMessage-description'));
88
21
 
89
- if (!slots) {
90
- slots = {
91
- heading: {
92
- UNSAFE_className: headingClassName
93
- },
94
- content: {
95
- UNSAFE_className: contentClassName
96
- }
97
- };
98
- }
99
-
100
- return (/*#__PURE__*/_react.createElement(Flex, _babelRuntimeHelpersExtends({}, filterDOMProps(otherProps), styleProps, {
101
- UNSAFE_className: classNames($cd03412e2f012451b6296581ffd1688$$interop$default, 'spectrum-IllustratedMessage', styleProps.className),
102
- ref: ref
103
- }), /*#__PURE__*/_react.createElement(SlotProvider, {
104
- slots: slots
105
- }, children))
106
- );
107
- }
108
22
 
109
- var IllustratedMessage = forwardRef($d5ab1231494899260d1aa964ca8e3b$var$IllustratedMessage);
110
- exports.IllustratedMessage = IllustratedMessage;
23
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/illustratedmessage/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 {IllustratedMessage} from './IllustratedMessage';\nexport type {SpectrumIllustratedMessageProps} from '@react-types/illustratedmessage';\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js CHANGED
@@ -1,97 +1,18 @@
1
- import "./main.css";
2
- import _babelRuntimeHelpersEsmExtends from "@babel/runtime/helpers/esm/extends";
3
- import _babelRuntimeHelpersEsmObjectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
- import { classNames, filterDOMProps, SlotProvider, useStyleProps } from "@react-spectrum/utils";
5
- import { Flex } from "@react-spectrum/layout";
6
- import _react, { forwardRef } from "react";
1
+ import {IllustratedMessage as $ccaf5c86c16f58c0$export$406dbc84c317ece0} from "./IllustratedMessage.module.js";
7
2
 
8
- function $parcel$interopDefault(a) {
9
- return a && a.__esModule ? a.default : a;
10
- }
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" />
11
14
 
12
- // ASSET: /Users/govett/dev/react-spectrum/node_modules/@adobe/spectrum-css-temp/components/illustratedmessage/vars.css
13
- var $e5f93fcbad62ebbc2a39dc51a2aa9537$exports = {};
14
- $e5f93fcbad62ebbc2a39dc51a2aa9537$exports = {
15
- "spectrum-IllustratedMessage": "_spectrum-IllustratedMessage_8278b",
16
- "spectrum-IllustratedMessage-heading": "_spectrum-IllustratedMessage-heading_8278b",
17
- "spectrum-IllustratedMessage-description": "_spectrum-IllustratedMessage-description_8278b",
18
- "spectrum-IllustratedMessage--cta": "_spectrum-IllustratedMessage--cta_8278b"
19
- };
20
- // ASSET: /Users/govett/dev/react-spectrum/node_modules/@adobe/spectrum-css-temp/components/typography/vars.css
21
- var $d4077b9aaa202d6a114b3f1fa690caf$exports = {};
22
- $d4077b9aaa202d6a114b3f1fa690caf$exports = {
23
- "spectrum": "_spectrum_d5bb2",
24
- "spectrum-Body1": "_spectrum-Body1_d5bb2",
25
- "spectrum-Body2": "_spectrum-Body2_d5bb2",
26
- "spectrum-Body--large": "_spectrum-Body--large_d5bb2",
27
- "spectrum-Body3": "_spectrum-Body3_d5bb2",
28
- "spectrum-Body4": "_spectrum-Body4_d5bb2",
29
- "spectrum-Body--secondary": "_spectrum-Body--secondary_d5bb2",
30
- "spectrum-Body5": "_spectrum-Body5_d5bb2",
31
- "spectrum-Body--small": "_spectrum-Body--small_d5bb2",
32
- "spectrum-Heading1": "_spectrum-Heading1_d5bb2",
33
- "spectrum-Heading2": "_spectrum-Heading2_d5bb2",
34
- "spectrum-Heading3": "_spectrum-Heading3_d5bb2",
35
- "spectrum-Heading4": "_spectrum-Heading4_d5bb2",
36
- "spectrum-Heading--subtitle1": "_spectrum-Heading--subtitle1_d5bb2",
37
- "spectrum-Heading5": "_spectrum-Heading5_d5bb2",
38
- "spectrum-Heading6": "_spectrum-Heading6_d5bb2",
39
- "spectrum-Heading--subtitle2": "_spectrum-Heading--subtitle2_d5bb2",
40
- "spectrum-Subheading": "_spectrum-Subheading_d5bb2",
41
- "spectrum-Heading--subtitle3": "_spectrum-Heading--subtitle3_d5bb2",
42
- "spectrum-Detail": "_spectrum-Detail_d5bb2",
43
- "spectrum-Heading1--quiet": "_spectrum-Heading1--quiet_d5bb2",
44
- "spectrum-Heading2--quiet": "_spectrum-Heading2--quiet_d5bb2",
45
- "spectrum-Heading--pageTitle": "_spectrum-Heading--pageTitle_d5bb2",
46
- "spectrum-Heading1--strong": "_spectrum-Heading1--strong_d5bb2",
47
- "spectrum-Heading2--strong": "_spectrum-Heading2--strong_d5bb2",
48
- "spectrum-Heading1--display": "_spectrum-Heading1--display_d5bb2",
49
- "spectrum-Heading2--display": "_spectrum-Heading2--display_d5bb2",
50
- "spectrum-Heading--display": "_spectrum-Heading--display_d5bb2",
51
- "spectrum-Typography": "_spectrum-Typography_d5bb2",
52
- "spectrum-Article": "_spectrum-Article_d5bb2",
53
- "spectrum-Code1": "_spectrum-Code1_d5bb2",
54
- "spectrum-Code2": "_spectrum-Code2_d5bb2",
55
- "spectrum-Code3": "_spectrum-Code3_d5bb2",
56
- "spectrum-Code4": "_spectrum-Code4_d5bb2",
57
- "spectrum-Code5": "_spectrum-Code5_d5bb2",
58
- "spectrum-Body": "_spectrum-Body_d5bb2",
59
- "spectrum-Body--italic": "_spectrum-Body--italic_d5bb2"
60
- };
61
- var $d4077b9aaa202d6a114b3f1fa690caf$$interop$default = $parcel$interopDefault($d4077b9aaa202d6a114b3f1fa690caf$exports);
62
- var $e5f93fcbad62ebbc2a39dc51a2aa9537$$interop$default = $parcel$interopDefault($e5f93fcbad62ebbc2a39dc51a2aa9537$exports);
63
15
 
64
- function $eccf8af9cd33ba75b6be9f39ee67f048$var$IllustratedMessage(props, ref) {
65
- let {
66
- children,
67
- slots
68
- } = props,
69
- otherProps = _babelRuntimeHelpersEsmObjectWithoutProperties(props, ["children", "slots"]);
70
16
 
71
- let {
72
- styleProps
73
- } = useStyleProps(otherProps);
74
- let headingClassName = classNames({}, classNames($d4077b9aaa202d6a114b3f1fa690caf$$interop$default, 'spectrum-Heading', 'spectrum-Heading--pageTitle'), classNames($e5f93fcbad62ebbc2a39dc51a2aa9537$$interop$default, 'spectrum-IllustratedMessage-heading'));
75
- let contentClassName = classNames({}, classNames($d4077b9aaa202d6a114b3f1fa690caf$$interop$default, 'spectrum-Body--secondary'), classNames($e5f93fcbad62ebbc2a39dc51a2aa9537$$interop$default, 'spectrum-IllustratedMessage-description'));
76
-
77
- if (!slots) {
78
- slots = {
79
- heading: {
80
- UNSAFE_className: headingClassName
81
- },
82
- content: {
83
- UNSAFE_className: contentClassName
84
- }
85
- };
86
- }
87
-
88
- return (/*#__PURE__*/_react.createElement(Flex, _babelRuntimeHelpersEsmExtends({}, filterDOMProps(otherProps), styleProps, {
89
- UNSAFE_className: classNames($e5f93fcbad62ebbc2a39dc51a2aa9537$$interop$default, 'spectrum-IllustratedMessage', styleProps.className),
90
- ref: ref
91
- }), /*#__PURE__*/_react.createElement(SlotProvider, {
92
- slots: slots
93
- }, children))
94
- );
95
- }
96
-
97
- export let IllustratedMessage = forwardRef($eccf8af9cd33ba75b6be9f39ee67f048$var$IllustratedMessage);
17
+ export {$ccaf5c86c16f58c0$export$406dbc84c317ece0 as IllustratedMessage};
18
+ //# sourceMappingURL=module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/illustratedmessage/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 {IllustratedMessage} from './IllustratedMessage';\nexport type {SpectrumIllustratedMessageProps} from '@react-types/illustratedmessage';\n"],"names":[],"version":3,"file":"module.js.map"}
package/dist/types.d.ts CHANGED
@@ -1,3 +1,11 @@
1
- export let IllustratedMessage: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<import("@react-types/shared").DOMRefValue<HTMLDivElement>>>;
1
+ import React from "react";
2
+ import { SpectrumIllustratedMessageProps } from "@react-types/illustratedmessage";
3
+ import { DOMRefValue } from "@react-types/shared";
4
+ /**
5
+ * An IllustratedMessage displays an illustration and a message, usually
6
+ * for an empty state or an error page.
7
+ */
8
+ export let IllustratedMessage: React.ForwardRefExoticComponent<SpectrumIllustratedMessageProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
9
+ export type { SpectrumIllustratedMessageProps } from '@react-types/illustratedmessage';
2
10
 
3
11
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/Users/govett/dev/react-spectrum/packages/@react-spectrum/illustratedmessage/src/packages/@react-spectrum/illustratedmessage/src/IllustratedMessage.tsx"],"names":[],"mappings":"AA+DA,OAAA,IAAI,yKAAoD,CAAC","file":"types.d.ts.map"}
1
+ {"mappings":";;;AAwDA;;;GAGG;AACH,OAAA,IAAI,uIAAoD,CAAC;AC7CzD,YAAY,EAAC,+BAA+B,EAAC,MAAM,iCAAiC,CAAC","sources":["packages/@react-spectrum/illustratedmessage/src/packages/@react-spectrum/illustratedmessage/src/IllustratedMessage.tsx","packages/@react-spectrum/illustratedmessage/src/packages/@react-spectrum/illustratedmessage/src/index.ts","packages/@react-spectrum/illustratedmessage/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 {IllustratedMessage} from './IllustratedMessage';\nexport type {SpectrumIllustratedMessageProps} from '@react-types/illustratedmessage';\n"],"names":[],"version":3,"file":"types.d.ts.map"}