@react-spectrum/illustratedmessage 3.1.5-nightly.3036 → 3.1.5-nightly.3047

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.css CHANGED
@@ -1,2 +1 @@
1
- ._spectrum-IllustratedMessage_4f897{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center}._spectrum-IllustratedMessage_4f897>*{-ms-flex-order:4;order:4}._spectrum-IllustratedMessage_4f897>svg{-ms-flex-order:1;order:1;margin-bottom:24px}._spectrum-IllustratedMessage_4f897 ._spectrum-IllustratedMessage-heading_4f897{-ms-flex-order:2;order:2;max-width:500px;margin:0;font-size:var(--spectrum-alias-heading2-text-size,var(--spectrum-global-dimension-font-size-700));font-weight:var(--spectrum-alias-heading-text-font-weight-quiet,var(--spectrum-global-font-weight-light));line-height:var(--spectrum-alias-heading-text-line-height,var(--spectrum-global-font-line-height-small));font-style:var(--spectrum-global-font-style-regular,normal);letter-spacing:var(--spectrum-global-font-letter-spacing-none,0);text-transform:none}._spectrum-IllustratedMessage_4f897 ._spectrum-IllustratedMessage-description_4f897{-ms-flex-order:3;order:3;max-width:500px;margin:4px 0 0;font-style:var(--spectrum-global-font-style-italic,italic);font-size:var(--spectrum-alias-font-size-default,var(--spectrum-global-dimension-font-size-100));font-weight:var(--spectrum-alias-body-text-font-weight,var(--spectrum-global-font-weight-regular));line-height:var(--spectrum-alias-body-text-line-height,var(--spectrum-global-font-line-height-medium));letter-spacing:var(--spectrum-global-font-letter-spacing-none,0);text-transform:none}._spectrum-IllustratedMessage--cta_4f897 ._spectrum-IllustratedMessage-description_4f897{font-style:normal}._spectrum-IllustratedMessage_4f897>svg{color:var(--spectrum-global-color-gray-500);fill:currentColor;stroke:currentColor}._spectrum-IllustratedMessage-description_4f897,._spectrum-IllustratedMessage-heading_4f897{color:var(--spectrum-global-color-gray-700)}
2
- /*# sourceMappingURL=main.css.map */
1
+ ._spectrum-IllustratedMessage_02bd98{-ms-flex-align:center;-ms-flex-pack:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;justify-content:center;text-align:center}._spectrum-IllustratedMessage_02bd98>*{-ms-flex-order:4;order:4}._spectrum-IllustratedMessage_02bd98>svg{-ms-flex-order:1;margin-bottom:24px;order:1}._spectrum-IllustratedMessage_02bd98 ._spectrum-IllustratedMessage-heading_02bd98{-ms-flex-order:2;font-size:var(--spectrum-heading-quiet-2-text-size,var(--spectrum-alias-heading2-text-size));font-style:var(--spectrum-heading-quiet-2-text-font-style,var(--spectrum-global-font-style-regular));font-weight:var(--spectrum-heading-quiet-2-text-font-weight,var(--spectrum-alias-heading-text-font-weight-quiet));letter-spacing:var(--spectrum-heading-quiet-2-text-letter-spacing,var(--spectrum-global-font-letter-spacing-none));line-height:var(--spectrum-heading-quiet-2-text-line-height,var(--spectrum-alias-heading-text-line-height));margin:0;max-width:500px;order:2;text-transform:var(--spectrum-heading-quiet-2-text-transform,none)}._spectrum-IllustratedMessage_02bd98 ._spectrum-IllustratedMessage-description_02bd98{-ms-flex-order:3;font-size:var(--spectrum-body-4-text-size,var(--spectrum-alias-font-size-default));font-style:var(--spectrum-body-4-emphasis-text-font-style,var(--spectrum-global-font-style-italic));font-weight:var(--spectrum-body-4-text-font-weight,var(--spectrum-alias-body-text-font-weight));letter-spacing:var(--spectrum-body-4-text-letter-spacing,var(--spectrum-global-font-letter-spacing-none));line-height:var(--spectrum-body-4-text-line-height,var(--spectrum-alias-body-text-line-height));margin:4px 0 0;max-width:500px;order:3;text-transform:var(--spectrum-body-4-text-transform,none)}._spectrum-IllustratedMessage--cta_02bd98 ._spectrum-IllustratedMessage-description_02bd98{font-style:normal}._spectrum-IllustratedMessage_02bd98>svg{fill:currentColor;stroke:currentColor;color:var(--spectrum-global-color-gray-500)}._spectrum-IllustratedMessage-heading_02bd98{color:var(--spectrum-heading-page-title-text-color,var(--spectrum-global-color-gray-700))}._spectrum-IllustratedMessage-description_02bd98{color:var(--spectrum-body-secondary-text-color,var(--spectrum-global-color-gray-700))}
package/dist/main.js CHANGED
@@ -1,82 +1,85 @@
1
- var _react2 = require("react");
2
-
3
- var _react = $parcel$interopDefault(_react2);
4
-
5
- var {
6
- forwardRef
7
- } = _react2;
1
+ require("./main.css");
2
+ var $jUi7Q$reactspectrumutils = require("@react-spectrum/utils");
3
+ var $jUi7Q$reactariautils = require("@react-aria/utils");
4
+ var $jUi7Q$reactspectrumlayout = require("@react-spectrum/layout");
5
+ var $jUi7Q$react = require("react");
8
6
 
9
- var {
10
- Flex
11
- } = require("@react-spectrum/layout");
7
+ function $parcel$exportWildcard(dest, source) {
8
+ Object.keys(source).forEach(function(key) {
9
+ if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
10
+ return;
11
+ }
12
12
 
13
- var {
14
- filterDOMProps
15
- } = require("@react-aria/utils");
13
+ Object.defineProperty(dest, key, {
14
+ enumerable: true,
15
+ get: function get() {
16
+ return source[key];
17
+ }
18
+ });
19
+ });
16
20
 
17
- var {
18
- classNames,
19
- SlotProvider,
20
- useSlotProps,
21
- useStyleProps
22
- } = require("@react-spectrum/utils");
21
+ return dest;
22
+ }
23
+ function $parcel$interopDefault(a) {
24
+ return a && a.__esModule ? a.default : a;
25
+ }
26
+ function $parcel$export(e, n, v, s) {
27
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
28
+ }
29
+ var $0861408432a9a5b6$exports = {};
23
30
 
24
- var _babelRuntimeHelpersObjectWithoutPropertiesLoose = $parcel$interopDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
31
+ $parcel$export($0861408432a9a5b6$exports, "IllustratedMessage", () => $0861408432a9a5b6$export$406dbc84c317ece0);
25
32
 
26
- var _babelRuntimeHelpersExtends = $parcel$interopDefault(require("@babel/runtime/helpers/extends"));
27
33
 
28
- require("./main.css");
29
34
 
30
- function $parcel$interopDefault(a) {
31
- return a && a.__esModule ? a.default : a;
32
- }
33
35
 
34
- // ASSET: /home/circleci/react-spectrum/node_modules/@adobe/spectrum-css-temp/components/illustratedmessage/vars.css
35
- var $d60c55dd9275bfa835b7fd2144f842a$exports = {};
36
- $d60c55dd9275bfa835b7fd2144f842a$exports = {
37
- "spectrum-IllustratedMessage": "_spectrum-IllustratedMessage_4f897",
38
- "spectrum-IllustratedMessage-heading": "_spectrum-IllustratedMessage-heading_4f897",
39
- "spectrum-IllustratedMessage-description": "_spectrum-IllustratedMessage-description_4f897",
40
- "spectrum-IllustratedMessage--cta": "_spectrum-IllustratedMessage--cta_4f897"
41
- };
42
- var $d60c55dd9275bfa835b7fd2144f842a$$interop$default = $parcel$interopDefault($d60c55dd9275bfa835b7fd2144f842a$exports);
36
+ var $a12cd2638d4cb85c$exports = {};
43
37
 
44
- function $e32162d4bddfb5035ea02d99d070645$var$IllustratedMessage(props, ref) {
45
- props = useSlotProps(props, 'illustration');
38
+ $parcel$export($a12cd2638d4cb85c$exports, "spectrum-IllustratedMessage", () => $a12cd2638d4cb85c$export$e22c6753c239ec31, (v) => $a12cd2638d4cb85c$export$e22c6753c239ec31 = v);
39
+ $parcel$export($a12cd2638d4cb85c$exports, "spectrum-IllustratedMessage-heading", () => $a12cd2638d4cb85c$export$5df23faa5ed344c4, (v) => $a12cd2638d4cb85c$export$5df23faa5ed344c4 = v);
40
+ $parcel$export($a12cd2638d4cb85c$exports, "spectrum-IllustratedMessage-description", () => $a12cd2638d4cb85c$export$cf9d959111789fe7, (v) => $a12cd2638d4cb85c$export$cf9d959111789fe7 = v);
41
+ $parcel$export($a12cd2638d4cb85c$exports, "spectrum-IllustratedMessage--cta", () => $a12cd2638d4cb85c$export$29744d89c9a76d50, (v) => $a12cd2638d4cb85c$export$29744d89c9a76d50 = v);
42
+ var $a12cd2638d4cb85c$export$e22c6753c239ec31;
43
+ var $a12cd2638d4cb85c$export$5df23faa5ed344c4;
44
+ var $a12cd2638d4cb85c$export$cf9d959111789fe7;
45
+ var $a12cd2638d4cb85c$export$29744d89c9a76d50;
46
+ $a12cd2638d4cb85c$export$e22c6753c239ec31 = "_spectrum-IllustratedMessage_02bd98";
47
+ $a12cd2638d4cb85c$export$5df23faa5ed344c4 = "_spectrum-IllustratedMessage-heading_02bd98";
48
+ $a12cd2638d4cb85c$export$cf9d959111789fe7 = "_spectrum-IllustratedMessage-description_02bd98";
49
+ $a12cd2638d4cb85c$export$29744d89c9a76d50 = "_spectrum-IllustratedMessage--cta_02bd98";
46
50
 
47
- let {
48
- children
49
- } = props,
50
- otherProps = _babelRuntimeHelpersObjectWithoutPropertiesLoose(props, ["children"]);
51
51
 
52
- let {
53
- styleProps
54
- } = useStyleProps(otherProps);
55
- let headingClassName = classNames($d60c55dd9275bfa835b7fd2144f842a$$interop$default, 'spectrum-IllustratedMessage-heading');
56
- let contentClassName = classNames($d60c55dd9275bfa835b7fd2144f842a$$interop$default, 'spectrum-IllustratedMessage-description');
57
- let slots = {
58
- heading: {
59
- UNSAFE_className: headingClassName
60
- },
61
- content: {
62
- UNSAFE_className: contentClassName
63
- }
64
- };
65
- return /*#__PURE__*/_react.createElement(Flex, _babelRuntimeHelpersExtends({}, filterDOMProps(otherProps), {
66
- UNSAFE_style: styleProps.style,
67
- isHidden: styleProps.hidden,
68
- UNSAFE_className: classNames($d60c55dd9275bfa835b7fd2144f842a$$interop$default, 'spectrum-IllustratedMessage', styleProps.className),
69
- ref: ref
70
- }), /*#__PURE__*/_react.createElement(SlotProvider, {
71
- slots: slots
72
- }, children));
52
+ function $0861408432a9a5b6$var$IllustratedMessage(props, ref) {
53
+ props = $jUi7Q$reactspectrumutils.useSlotProps(props, 'illustration');
54
+ let { children: children , ...otherProps } = props;
55
+ let { styleProps: styleProps } = $jUi7Q$reactspectrumutils.useStyleProps(otherProps);
56
+ let headingClassName = $jUi7Q$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($a12cd2638d4cb85c$exports)), 'spectrum-IllustratedMessage-heading');
57
+ let contentClassName = $jUi7Q$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($a12cd2638d4cb85c$exports)), 'spectrum-IllustratedMessage-description');
58
+ let slots = {
59
+ heading: {
60
+ UNSAFE_className: headingClassName
61
+ },
62
+ content: {
63
+ UNSAFE_className: contentClassName
64
+ }
65
+ };
66
+ return(/*#__PURE__*/ ($parcel$interopDefault($jUi7Q$react)).createElement($jUi7Q$reactspectrumlayout.Flex, {
67
+ ...$jUi7Q$reactariautils.filterDOMProps(otherProps),
68
+ UNSAFE_style: styleProps.style,
69
+ isHidden: styleProps.hidden,
70
+ UNSAFE_className: $jUi7Q$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($a12cd2638d4cb85c$exports)), 'spectrum-IllustratedMessage', styleProps.className),
71
+ ref: ref
72
+ }, /*#__PURE__*/ ($parcel$interopDefault($jUi7Q$react)).createElement($jUi7Q$reactspectrumutils.SlotProvider, {
73
+ slots: slots
74
+ }, children)));
73
75
  }
74
76
  /**
75
77
  * An IllustratedMessage displays an illustration and a message, usually
76
78
  * for an empty state or an error page.
77
- */
79
+ */ let $0861408432a9a5b6$export$406dbc84c317ece0 = /*#__PURE__*/ $jUi7Q$react.forwardRef($0861408432a9a5b6$var$IllustratedMessage);
80
+
81
+
82
+ $parcel$exportWildcard(module.exports, $0861408432a9a5b6$exports);
78
83
 
79
84
 
80
- let IllustratedMessage = /*#__PURE__*/forwardRef($e32162d4bddfb5035ea02d99d070645$var$IllustratedMessage);
81
- exports.IllustratedMessage = IllustratedMessage;
82
85
  //# sourceMappingURL=main.js.map
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAASA,sBAAT,CAAgCC,CAAhC,EAAmC;AACjC,SAAOA,CAAC,IAAIA,CAAC,CAACC,UAAP,GAAoBD,CAAC,CAACE,OAAtB,GAAgCF,CAAvC;AACD;;;;ACFD,2CAAiB;AACf,iCAA+B,oCADhB;AAEf,yCAAuC,4CAFxB;AAGf,6CAA2C,gDAH5B;AAIf,sCAAoC;AAJrB,CAAjB;;;ACoBA,SAASG,uDAAT,CAA4BC,KAA5B,EAAoEC,GAApE,EAAiG;AAC/FD,EAAAA,KAAK,GAAGE,YAAY,CAACF,KAAD,EAAQ,cAAR,CAApB;;AACA,MAAI;AACFG,IAAAA;AADE,MAGAH,KAHJ;AAAA,MAEKI,UAFL,oDAGIJ,KAHJ;;AAKA,MAAI;AAACK,IAAAA;AAAD,MAAeC,aAAa,CAACF,UAAD,CAAhC;AACA,MAAIG,gBAAgB,GAAGC,UAAU,oDAAS,qCAAT,CAAjC;AACA,MAAIC,gBAAgB,GAAGD,UAAU,oDAAS,yCAAT,CAAjC;AAEA,MAAIE,KAAK,GAAG;AACVC,IAAAA,OAAO,EAAE;AAACC,MAAAA,gBAAgB,EAAEL;AAAnB,KADC;AAEVM,IAAAA,OAAO,EAAE;AAACD,MAAAA,gBAAgB,EAAEH;AAAnB;AAFC,GAAZ;AAKA,sBACE,qBAAC,IAAD,kCACMK,cAAc,CAACV,UAAD,CADpB;AAEE,IAAA,YAAY,EAAEC,UAAU,CAACU,KAF3B;AAGE,IAAA,QAAQ,EAAEV,UAAU,CAACW,MAHvB;AAIE,IAAA,gBAAgB,EAAER,UAAU,oDAE1B,6BAF0B,EAG1BH,UAAU,CAACY,SAHe,CAJ9B;AASE,IAAA,GAAG,EAAEhB;AATP,mBAUE,qBAAC,YAAD;AAAc,IAAA,KAAK,EAAES;AAArB,KACGP,QADH,CAVF,CADF;AAgBD;AAED;;;;;;AAIA,IAAIe,kBAAmB,gBAAGC,UAAU,CAACpB,uDAAD,CAApC","sources":["./node_modules/@parcel/scope-hoisting/lib/helpers.js","./node_modules/@adobe/spectrum-css-temp/components/illustratedmessage/vars.css","./packages/@react-spectrum/illustratedmessage/src/IllustratedMessage.tsx"],"sourcesContent":["function $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\nfunction $parcel$defineInteropFlag(a) {\n Object.defineProperty(a, '__esModule', {value: true});\n}\n\nfunction $parcel$exportWildcard(dest, source) {\n Object.keys(source).forEach(function(key) {\n if (key === 'default' || key === '__esModule') {\n return;\n }\n\n Object.defineProperty(dest, key, {\n enumerable: true,\n get: function get() {\n return source[key];\n },\n });\n });\n\n return dest;\n}\n\nfunction $parcel$missingModule(name) {\n var err = new Error(\"Cannot find module '\" + name + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n}\n\nvar $parcel$global =\n typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\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\n@import './index.css';\n@import './skin.css';\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 {classNames, 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 <SlotProvider slots={slots}>\n {children}\n </SlotProvider>\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":["$parcel$interopDefault","a","__esModule","default","IllustratedMessage","props","ref","useSlotProps","children","otherProps","styleProps","useStyleProps","headingClassName","classNames","contentClassName","slots","heading","UNSAFE_className","content","filterDOMProps","style","hidden","className","_IllustratedMessage","forwardRef"],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEAA,GAA6C;AAC7C,GAAqD;AACrD,GAAyD;AACzD,GAAkD;AAHlD,yCAA6C,GAAG,CAAqC;AACrF,yCAAqD,GAAG,CAA6C;AACrG,yCAAyD,GAAG,CAAiD;AAC7G,yCAAkD,GAAG,CAA0C;;;SDiBtF,wCAAkB,CAAC,KAAsC,EAAE,GAA2B,EAAE,CAAC;IAChG,KAAK,GAAG,sCAAY,CAAC,KAAK,EAAE,CAAc;IAC1C,GAAG,CAAC,CAAC,WACH,QAAQ,MACL,UAAU,CACf,CAAC,GAAG,KAAK;IAET,GAAG,CAAC,CAAC,aAAA,UAAU,EAAA,CAAC,GAAG,uCAAa,CAAC,UAAU;IAC3C,GAAG,CAAC,gBAAgB,GAAG,oCAAU,CAAC,gEAAM,EAAE,CAAqC;IAC/E,GAAG,CAAC,gBAAgB,GAAG,oCAAU,CAAC,gEAAM,EAAE,CAAyC;IAEnF,GAAG,CAAC,KAAK,GAAG,CAAC;QACX,OAAO,EAAE,CAAC;YAAA,gBAAgB,EAAE,gBAAgB;QAAA,CAAC;QAC7C,OAAO,EAAE,CAAC;YAAA,gBAAgB,EAAE,gBAAgB;QAAA,CAAC;IAC/C,CAAC;IAED,MAAM,oEACH,+BAAI;WACC,oCAAc,CAAC,UAAU;QAC7B,YAAY,EAAE,UAAU,CAAC,KAAK;QAC9B,QAAQ,EAAE,UAAU,CAAC,MAAM;QAC3B,gBAAgB,EAAE,oCAAU,CAC1B,gEAAM,EACN,CAA6B,8BAC7B,UAAU,CAAC,SAAS;QAEtB,GAAG,EAAE,GAAG;0EACP,sCAAY;QAAC,KAAK,EAAE,KAAK;OACvB,QAAQ;AAIjB,CAAC;AAED,EAGG,AAHH;;;CAGG,AAHH,EAGG,CACH,GAAG,CAAC,yCAAmB,iBAAG,uBAAU,CAAC,wCAAkB","sources":["packages/@react-spectrum/illustratedmessage/src/index.ts","packages/@react-spectrum/illustratedmessage/src/IllustratedMessage.tsx","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/// <reference types=\"css-module-types\" />\n\nexport * from './IllustratedMessage';\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 {classNames, 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 <SlotProvider slots={slots}>\n {children}\n </SlotProvider>\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","/*\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":"main.js.map"}
package/dist/module.js CHANGED
@@ -1,60 +1,69 @@
1
- import _react, { forwardRef } from "react";
2
- import { Flex } from "@react-spectrum/layout";
3
- import { filterDOMProps } from "@react-aria/utils";
4
- import { classNames, SlotProvider, useSlotProps, useStyleProps } from "@react-spectrum/utils";
5
- import _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
6
- import _babelRuntimeHelpersEsmExtends from "@babel/runtime/helpers/esm/extends";
7
1
  import "./main.css";
2
+ import {useSlotProps as $2dotM$useSlotProps, useStyleProps as $2dotM$useStyleProps, classNames as $2dotM$classNames, SlotProvider as $2dotM$SlotProvider} from "@react-spectrum/utils";
3
+ import {filterDOMProps as $2dotM$filterDOMProps} from "@react-aria/utils";
4
+ import {Flex as $2dotM$Flex} from "@react-spectrum/layout";
5
+ import $2dotM$react, {forwardRef as $2dotM$forwardRef} from "react";
8
6
 
9
7
  function $parcel$interopDefault(a) {
10
8
  return a && a.__esModule ? a.default : a;
11
9
  }
10
+ function $parcel$export(e, n, v, s) {
11
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
12
+ }
13
+ var $db5a98d28f72f19d$exports = {};
14
+
15
+ $parcel$export($db5a98d28f72f19d$exports, "IllustratedMessage", () => $db5a98d28f72f19d$export$406dbc84c317ece0);
16
+
17
+
18
+
12
19
 
13
- // ASSET: /home/circleci/react-spectrum/node_modules/@adobe/spectrum-css-temp/components/illustratedmessage/vars.css
14
- var $ad19f21617e510127aa82f891debc5e5$exports = {};
15
- $ad19f21617e510127aa82f891debc5e5$exports = {
16
- "spectrum-IllustratedMessage": "_spectrum-IllustratedMessage_4f897",
17
- "spectrum-IllustratedMessage-heading": "_spectrum-IllustratedMessage-heading_4f897",
18
- "spectrum-IllustratedMessage-description": "_spectrum-IllustratedMessage-description_4f897",
19
- "spectrum-IllustratedMessage--cta": "_spectrum-IllustratedMessage--cta_4f897"
20
- };
21
- var $ad19f21617e510127aa82f891debc5e5$$interop$default = $parcel$interopDefault($ad19f21617e510127aa82f891debc5e5$exports);
22
-
23
- function $b21bf6f0f2cbeeeaecfa01199fa925a1$var$IllustratedMessage(props, ref) {
24
- props = useSlotProps(props, 'illustration');
25
-
26
- let {
27
- children
28
- } = props,
29
- otherProps = _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose(props, ["children"]);
30
-
31
- let {
32
- styleProps
33
- } = useStyleProps(otherProps);
34
- let headingClassName = classNames($ad19f21617e510127aa82f891debc5e5$$interop$default, 'spectrum-IllustratedMessage-heading');
35
- let contentClassName = classNames($ad19f21617e510127aa82f891debc5e5$$interop$default, 'spectrum-IllustratedMessage-description');
36
- let slots = {
37
- heading: {
38
- UNSAFE_className: headingClassName
39
- },
40
- content: {
41
- UNSAFE_className: contentClassName
42
- }
43
- };
44
- return /*#__PURE__*/_react.createElement(Flex, _babelRuntimeHelpersEsmExtends({}, filterDOMProps(otherProps), {
45
- UNSAFE_style: styleProps.style,
46
- isHidden: styleProps.hidden,
47
- UNSAFE_className: classNames($ad19f21617e510127aa82f891debc5e5$$interop$default, 'spectrum-IllustratedMessage', styleProps.className),
48
- ref: ref
49
- }), /*#__PURE__*/_react.createElement(SlotProvider, {
50
- slots: slots
51
- }, children));
20
+ var $25c887f074db8f9e$exports = {};
21
+
22
+ $parcel$export($25c887f074db8f9e$exports, "spectrum-IllustratedMessage", () => $25c887f074db8f9e$export$e22c6753c239ec31, (v) => $25c887f074db8f9e$export$e22c6753c239ec31 = v);
23
+ $parcel$export($25c887f074db8f9e$exports, "spectrum-IllustratedMessage-heading", () => $25c887f074db8f9e$export$5df23faa5ed344c4, (v) => $25c887f074db8f9e$export$5df23faa5ed344c4 = v);
24
+ $parcel$export($25c887f074db8f9e$exports, "spectrum-IllustratedMessage-description", () => $25c887f074db8f9e$export$cf9d959111789fe7, (v) => $25c887f074db8f9e$export$cf9d959111789fe7 = v);
25
+ $parcel$export($25c887f074db8f9e$exports, "spectrum-IllustratedMessage--cta", () => $25c887f074db8f9e$export$29744d89c9a76d50, (v) => $25c887f074db8f9e$export$29744d89c9a76d50 = v);
26
+ var $25c887f074db8f9e$export$e22c6753c239ec31;
27
+ var $25c887f074db8f9e$export$5df23faa5ed344c4;
28
+ var $25c887f074db8f9e$export$cf9d959111789fe7;
29
+ var $25c887f074db8f9e$export$29744d89c9a76d50;
30
+ $25c887f074db8f9e$export$e22c6753c239ec31 = "_spectrum-IllustratedMessage_02bd98";
31
+ $25c887f074db8f9e$export$5df23faa5ed344c4 = "_spectrum-IllustratedMessage-heading_02bd98";
32
+ $25c887f074db8f9e$export$cf9d959111789fe7 = "_spectrum-IllustratedMessage-description_02bd98";
33
+ $25c887f074db8f9e$export$29744d89c9a76d50 = "_spectrum-IllustratedMessage--cta_02bd98";
34
+
35
+
36
+ function $db5a98d28f72f19d$var$IllustratedMessage(props, ref) {
37
+ props = $2dotM$useSlotProps(props, 'illustration');
38
+ let { children: children , ...otherProps } = props;
39
+ let { styleProps: styleProps } = $2dotM$useStyleProps(otherProps);
40
+ let headingClassName = $2dotM$classNames((/*@__PURE__*/$parcel$interopDefault($25c887f074db8f9e$exports)), 'spectrum-IllustratedMessage-heading');
41
+ let contentClassName = $2dotM$classNames((/*@__PURE__*/$parcel$interopDefault($25c887f074db8f9e$exports)), 'spectrum-IllustratedMessage-description');
42
+ let slots = {
43
+ heading: {
44
+ UNSAFE_className: headingClassName
45
+ },
46
+ content: {
47
+ UNSAFE_className: contentClassName
48
+ }
49
+ };
50
+ return(/*#__PURE__*/ $2dotM$react.createElement($2dotM$Flex, {
51
+ ...$2dotM$filterDOMProps(otherProps),
52
+ UNSAFE_style: styleProps.style,
53
+ isHidden: styleProps.hidden,
54
+ UNSAFE_className: $2dotM$classNames((/*@__PURE__*/$parcel$interopDefault($25c887f074db8f9e$exports)), 'spectrum-IllustratedMessage', styleProps.className),
55
+ ref: ref
56
+ }, /*#__PURE__*/ $2dotM$react.createElement($2dotM$SlotProvider, {
57
+ slots: slots
58
+ }, children)));
52
59
  }
53
60
  /**
54
61
  * An IllustratedMessage displays an illustration and a message, usually
55
62
  * for an empty state or an error page.
56
- */
63
+ */ let $db5a98d28f72f19d$export$406dbc84c317ece0 = /*#__PURE__*/ $2dotM$forwardRef($db5a98d28f72f19d$var$IllustratedMessage);
64
+
65
+
57
66
 
58
67
 
59
- export let IllustratedMessage = /*#__PURE__*/forwardRef($b21bf6f0f2cbeeeaecfa01199fa925a1$var$IllustratedMessage);
68
+ export {$db5a98d28f72f19d$export$406dbc84c317ece0 as IllustratedMessage};
60
69
  //# sourceMappingURL=module.js.map
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;AAAA,SAASA,sBAAT,CAAgCC,CAAhC,EAAmC;AACjC,SAAOA,CAAC,IAAIA,CAAC,CAACC,UAAP,GAAoBD,CAAC,CAACE,OAAtB,GAAgCF,CAAvC;AACD;;;;ACFD,4CAAiB;AACf,iCAA+B,oCADhB;AAEf,yCAAuC,4CAFxB;AAGf,6CAA2C,gDAH5B;AAIf,sCAAoC;AAJrB,CAAjB;;;ACoBA,SAASG,wDAAT,CAA4BC,KAA5B,EAAoEC,GAApE,EAAiG;AAC/FD,EAAAA,KAAK,GAAGE,YAAY,CAACF,KAAD,EAAQ,cAAR,CAApB;;AACA,MAAI;AACFG,IAAAA;AADE,MAGAH,KAHJ;AAAA,MAEKI,UAFL,uDAGIJ,KAHJ;;AAKA,MAAI;AAACK,IAAAA;AAAD,MAAeC,aAAa,CAACF,UAAD,CAAhC;AACA,MAAIG,gBAAgB,GAAGC,UAAU,qDAAS,qCAAT,CAAjC;AACA,MAAIC,gBAAgB,GAAGD,UAAU,qDAAS,yCAAT,CAAjC;AAEA,MAAIE,KAAK,GAAG;AACVC,IAAAA,OAAO,EAAE;AAACC,MAAAA,gBAAgB,EAAEL;AAAnB,KADC;AAEVM,IAAAA,OAAO,EAAE;AAACD,MAAAA,gBAAgB,EAAEH;AAAnB;AAFC,GAAZ;AAKA,sBACE,qBAAC,IAAD,qCACMK,cAAc,CAACV,UAAD,CADpB;AAEE,IAAA,YAAY,EAAEC,UAAU,CAACU,KAF3B;AAGE,IAAA,QAAQ,EAAEV,UAAU,CAACW,MAHvB;AAIE,IAAA,gBAAgB,EAAER,UAAU,qDAE1B,6BAF0B,EAG1BH,UAAU,CAACY,SAHe,CAJ9B;AASE,IAAA,GAAG,EAAEhB;AATP,mBAUE,qBAAC,YAAD;AAAc,IAAA,KAAK,EAAES;AAArB,KACGP,QADH,CAVF,CADF;AAgBD;AAED;;;;;;OAIA,IAAIe,kBAAmB,gBAAGC,UAAU,CAACpB,wDAAD,CAApC","sources":["./node_modules/@parcel/scope-hoisting/lib/helpers.js","./node_modules/@adobe/spectrum-css-temp/components/illustratedmessage/vars.css","./packages/@react-spectrum/illustratedmessage/src/IllustratedMessage.tsx"],"sourcesContent":["function $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\nfunction $parcel$defineInteropFlag(a) {\n Object.defineProperty(a, '__esModule', {value: true});\n}\n\nfunction $parcel$exportWildcard(dest, source) {\n Object.keys(source).forEach(function(key) {\n if (key === 'default' || key === '__esModule') {\n return;\n }\n\n Object.defineProperty(dest, key, {\n enumerable: true,\n get: function get() {\n return source[key];\n },\n });\n });\n\n return dest;\n}\n\nfunction $parcel$missingModule(name) {\n var err = new Error(\"Cannot find module '\" + name + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n}\n\nvar $parcel$global =\n typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\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\n@import './index.css';\n@import './skin.css';\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 {classNames, 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 <SlotProvider slots={slots}>\n {children}\n </SlotProvider>\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":["$parcel$interopDefault","a","__esModule","default","IllustratedMessage","props","ref","useSlotProps","children","otherProps","styleProps","useStyleProps","headingClassName","classNames","contentClassName","slots","heading","UNSAFE_className","content","filterDOMProps","style","hidden","className","_IllustratedMessage","forwardRef"],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AEAA,GAA6C;AAC7C,GAAqD;AACrD,GAAyD;AACzD,GAAkD;AAHlD,yCAA6C,GAAG,CAAqC;AACrF,yCAAqD,GAAG,CAA6C;AACrG,yCAAyD,GAAG,CAAiD;AAC7G,yCAAkD,GAAG,CAA0C;;;SDiBtF,wCAAkB,CAAC,KAAsC,EAAE,GAA2B,EAAE,CAAC;IAChG,KAAK,GAAG,mBAAY,CAAC,KAAK,EAAE,CAAc;IAC1C,GAAG,CAAC,CAAC,WACH,QAAQ,MACL,UAAU,CACf,CAAC,GAAG,KAAK;IAET,GAAG,CAAC,CAAC,aAAA,UAAU,EAAA,CAAC,GAAG,oBAAa,CAAC,UAAU;IAC3C,GAAG,CAAC,gBAAgB,GAAG,iBAAU,CAAC,gEAAM,EAAE,CAAqC;IAC/E,GAAG,CAAC,gBAAgB,GAAG,iBAAU,CAAC,gEAAM,EAAE,CAAyC;IAEnF,GAAG,CAAC,KAAK,GAAG,CAAC;QACX,OAAO,EAAE,CAAC;YAAA,gBAAgB,EAAE,gBAAgB;QAAA,CAAC;QAC7C,OAAO,EAAE,CAAC;YAAA,gBAAgB,EAAE,gBAAgB;QAAA,CAAC;IAC/C,CAAC;IAED,MAAM,0CACH,WAAI;WACC,qBAAc,CAAC,UAAU;QAC7B,YAAY,EAAE,UAAU,CAAC,KAAK;QAC9B,QAAQ,EAAE,UAAU,CAAC,MAAM;QAC3B,gBAAgB,EAAE,iBAAU,CAC1B,gEAAM,EACN,CAA6B,8BAC7B,UAAU,CAAC,SAAS;QAEtB,GAAG,EAAE,GAAG;gDACP,mBAAY;QAAC,KAAK,EAAE,KAAK;OACvB,QAAQ;AAIjB,CAAC;AAED,EAGG,AAHH;;;CAGG,AAHH,EAGG,CACH,GAAG,CAAC,yCAAmB,iBAAG,iBAAU,CAAC,wCAAkB","sources":["packages/@react-spectrum/illustratedmessage/src/index.ts","packages/@react-spectrum/illustratedmessage/src/IllustratedMessage.tsx","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/// <reference types=\"css-module-types\" />\n\nexport * from './IllustratedMessage';\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 {classNames, 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 <SlotProvider slots={slots}>\n {children}\n </SlotProvider>\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","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
@@ -1 +1 @@
1
- {"mappings":"A;A;AAsDA;A;A;GAGG;AACH,OAAA,IAAI,qKAAoD,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"],"sourcesContent":[null,null],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";;AAsDA;;;GAGG;AACH,OAAA,IAAI,qKAAoD,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 * from './IllustratedMessage';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/illustratedmessage",
3
- "version": "3.1.5-nightly.3036+f6ce7acdd",
3
+ "version": "3.1.5-nightly.3047+87960ad25",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -32,14 +32,14 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.6.2",
35
- "@react-aria/utils": "3.0.0-nightly.1345+f6ce7acdd",
36
- "@react-spectrum/layout": "3.2.2-nightly.3036+f6ce7acdd",
37
- "@react-spectrum/utils": "3.0.0-nightly.1345+f6ce7acdd",
38
- "@react-types/illustratedmessage": "3.1.3-nightly.3036+f6ce7acdd",
39
- "@react-types/shared": "3.0.0-nightly.1345+f6ce7acdd"
35
+ "@react-aria/utils": "3.0.0-nightly.1356+87960ad25",
36
+ "@react-spectrum/layout": "3.2.2-nightly.3047+87960ad25",
37
+ "@react-spectrum/utils": "3.0.0-nightly.1356+87960ad25",
38
+ "@react-types/illustratedmessage": "3.1.3-nightly.3047+87960ad25",
39
+ "@react-types/shared": "3.0.0-nightly.1356+87960ad25"
40
40
  },
41
41
  "devDependencies": {
42
- "@adobe/spectrum-css-temp": "3.0.0-nightly.1345+f6ce7acdd"
42
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.1356+87960ad25"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@react-spectrum/provider": "^3.0.0",
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "f6ce7acdd85c9a23a3397b0e75350e3208fdd04a"
51
+ "gitHead": "87960ad25c26bc4cd6af506bb5e7e0f06621556c"
52
52
  }
package/dist/main.css.map DELETED
@@ -1 +0,0 @@
1
- {"mappings":"AAoBA,oCACE,WAAY,CAEZ,mBAAa,CAAb,YAAa,CACb,yBAAsB,CAAtB,qBAAsB,CACtB,qBAAmB,CAAnB,kBAAmB,CACnB,oBAAuB,CAAvB,sBAAuB,CAEvB,iBAqCF,CAnCE,sCACE,gBAAQ,CAAR,OACF,CAEA,wCACE,gBAAQ,CAAR,OAAQ,CACR,kBACF,CAEA,gFACE,gBAAQ,CAAR,OAAQ,CACR,eAAgE,CAChE,QAA0D,CAE1D,iGAAoD,CACpD,yGAA6D,CAC7D,wGAA6D,CAC7D,2DAA2D,CAC3D,gEAAmE,CACnE,mBACF,CAEA,oFACE,gBAAQ,CAAR,OAAQ,CACR,eAAoE,CACpE,cAA8D,CAE9D,0DAA2D,CAE3D,gGAA2C,CAC3C,kGAAoD,CACpD,sGAAoD,CACpD,gEAA0D,CAC1D,mBACF,CAIA,yFACE,iBACF,CC1DF,wCACE,2CAA4C,CAC5C,iBAAkB,CAClB,mBACF,CAMA,4FACE,2CACF","sources":["./node_modules/@adobe/spectrum-css-temp/components/illustratedmessage/index.css","./node_modules/@adobe/spectrum-css-temp/components/illustratedmessage/skin.css"],"sourcesContent":["/*\nCopyright 2019 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n:root {\n --spectrum-illustrated-message-description-max-width: 500px;\n --spectrum-illustrated-message-heading-max-width: 500px;\n --spectrum-illustrated-message-illustration-margin-bottom: 24px;\n --spectrum-illustrated-message-heading-margin: 0;\n --spectrum-illustrated-message-description-margin: 4px 0 0 0;\n}\n\n.spectrum-IllustratedMessage {\n height: 100%;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n text-align: center;\n\n > * {\n order: 4;\n }\n\n > svg {\n order: 1;\n margin-bottom: var(--spectrum-illustrated-message-illustration-margin-bottom);\n }\n\n .spectrum-IllustratedMessage-heading {\n order: 2;\n max-width: var(--spectrum-illustrated-message-heading-max-width);\n margin: var(--spectrum-illustrated-message-heading-margin);\n\n font-size: var(--spectrum-heading-quiet-2-text-size);\n font-weight: var(--spectrum-heading-quiet-2-text-font-weight);\n line-height: var(--spectrum-heading-quiet-2-text-line-height);\n font-style: var(--spectrum-heading-quiet-2-text-font-style);\n letter-spacing: var(--spectrum-heading-quiet-2-text-letter-spacing);\n text-transform: var(--spectrum-heading-quiet-2-text-transform);\n }\n\n .spectrum-IllustratedMessage-description {\n order: 3;\n max-width: var(--spectrum-illustrated-message-description-max-width);\n margin: var(--spectrum-illustrated-message-description-margin);\n\n font-style: var(--spectrum-body-4-emphasis-text-font-style);\n\n font-size: var(--spectrum-body-4-text-size);\n font-weight: var(--spectrum-body-4-text-font-weight);\n line-height: var(--spectrum-body-4-text-line-height);\n letter-spacing: var(--spectrum-body-4-text-letter-spacing);\n text-transform: var(--spectrum-body-4-text-transform);\n }\n}\n\n.spectrum-IllustratedMessage--cta {\n .spectrum-IllustratedMessage-description {\n font-style: normal;\n }\n}\n","/*\nCopyright 2019 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n.spectrum-IllustratedMessage > svg {\n color: var(--spectrum-global-color-gray-500);\n fill: currentColor;\n stroke: currentColor;\n}\n\n.spectrum-IllustratedMessage-heading {\n color: var(--spectrum-heading-page-title-text-color);\n}\n\n.spectrum-IllustratedMessage-description {\n color: var(--spectrum-body-secondary-text-color);\n}\n"],"names":[],"version":3,"file":"main.css.map"}