@react-spectrum/illustratedmessage 3.3.4-nightly.3598 → 3.3.4-nightly.3600

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.js CHANGED
@@ -12,7 +12,28 @@ function $parcel$interopDefault(a) {
12
12
  }
13
13
 
14
14
  $parcel$export(module.exports, "IllustratedMessage", () => $90e6e9abe7fc12ca$export$406dbc84c317ece0);
15
-
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
+ */ /// <reference types="css-module-types" />
26
+ /*
27
+ * Copyright 2020 Adobe. All rights reserved.
28
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
29
+ * you may not use this file except in compliance with the License. You may obtain a copy
30
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
31
+ *
32
+ * Unless required by applicable law or agreed to in writing, software distributed under
33
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
34
+ * OF ANY KIND, either express or implied. See the License for the specific language
35
+ * governing permissions and limitations under the License.
36
+ */
16
37
 
17
38
 
18
39
 
@@ -33,11 +54,11 @@ $e7750c05f28ceb4f$export$29744d89c9a76d50 = "spectrum-IllustratedMessage--cta_02
33
54
 
34
55
 
35
56
  function $90e6e9abe7fc12ca$var$IllustratedMessage(props, ref) {
36
- props = $6dAMz$reactspectrumutils.useSlotProps(props, 'illustration');
57
+ props = (0, $6dAMz$reactspectrumutils.useSlotProps)(props, "illustration");
37
58
  let { children: children , ...otherProps } = props;
38
- let { styleProps: styleProps } = $6dAMz$reactspectrumutils.useStyleProps(otherProps);
39
- let headingClassName = $6dAMz$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($e7750c05f28ceb4f$exports)), 'spectrum-IllustratedMessage-heading');
40
- let contentClassName = $6dAMz$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($e7750c05f28ceb4f$exports)), 'spectrum-IllustratedMessage-description');
59
+ let { styleProps: styleProps } = (0, $6dAMz$reactspectrumutils.useStyleProps)(otherProps);
60
+ let headingClassName = (0, $6dAMz$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($e7750c05f28ceb4f$exports))), "spectrum-IllustratedMessage-heading");
61
+ let contentClassName = (0, $6dAMz$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($e7750c05f28ceb4f$exports))), "spectrum-IllustratedMessage-description");
41
62
  let slots = {
42
63
  heading: {
43
64
  UNSAFE_className: headingClassName
@@ -46,20 +67,20 @@ function $90e6e9abe7fc12ca$var$IllustratedMessage(props, ref) {
46
67
  UNSAFE_className: contentClassName
47
68
  }
48
69
  };
49
- return(/*#__PURE__*/ ($parcel$interopDefault($6dAMz$react)).createElement($6dAMz$reactspectrumlayout.Flex, {
50
- ...$6dAMz$reactariautils.filterDOMProps(otherProps),
70
+ return /*#__PURE__*/ (0, ($parcel$interopDefault($6dAMz$react))).createElement((0, $6dAMz$reactspectrumlayout.Flex), {
71
+ ...(0, $6dAMz$reactariautils.filterDOMProps)(otherProps),
51
72
  UNSAFE_style: styleProps.style,
52
73
  isHidden: styleProps.hidden,
53
- UNSAFE_className: $6dAMz$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($e7750c05f28ceb4f$exports)), 'spectrum-IllustratedMessage', styleProps.className),
74
+ UNSAFE_className: (0, $6dAMz$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($e7750c05f28ceb4f$exports))), "spectrum-IllustratedMessage", styleProps.className),
54
75
  ref: ref
55
- }, /*#__PURE__*/ ($parcel$interopDefault($6dAMz$react)).createElement($6dAMz$reactspectrumutils.ClearSlots, null, /*#__PURE__*/ ($parcel$interopDefault($6dAMz$react)).createElement($6dAMz$reactspectrumutils.SlotProvider, {
76
+ }, /*#__PURE__*/ (0, ($parcel$interopDefault($6dAMz$react))).createElement((0, $6dAMz$reactspectrumutils.ClearSlots), null, /*#__PURE__*/ (0, ($parcel$interopDefault($6dAMz$react))).createElement((0, $6dAMz$reactspectrumutils.SlotProvider), {
56
77
  slots: slots
57
- }, children))));
78
+ }, children)));
58
79
  }
59
80
  /**
60
81
  * An IllustratedMessage displays an illustration and a message, usually
61
82
  * for an empty state or an error page.
62
- */ let $90e6e9abe7fc12ca$export$406dbc84c317ece0 = /*#__PURE__*/ $6dAMz$react.forwardRef($90e6e9abe7fc12ca$var$IllustratedMessage);
83
+ */ let $90e6e9abe7fc12ca$export$406dbc84c317ece0 = /*#__PURE__*/ (0, $6dAMz$react.forwardRef)($90e6e9abe7fc12ca$var$IllustratedMessage);
63
84
 
64
85
 
65
86
 
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AEAA,GAA6C;AAC7C,GAAqD;AACrD,GAAyD;AACzD,GAAkD;AAHlD,yCAA6C,GAAG,CAAoC;AACpF,yCAAqD,GAAG,CAA4C;AACpG,yCAAyD,GAAG,CAAgD;AAC5G,yCAAkD,GAAG,CAAyC;;;SDiBrF,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,oCAAU,2EACR,sCAAY;QAAC,KAAK,EAAE,KAAK;OACvB,QAAQ;AAKnB,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 {IllustratedMessage} from './IllustratedMessage';\nexport type {SpectrumIllustratedMessageProps} from '@react-types/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, 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","/*\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"}
1
+ {"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC,GAED;;;;;;;;;;ACZA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAHA,4CAAgD;AAChD,4CAAwD;AACxD,4CAA4D;AAC5D,4CAAqD;;;ADiBrD,SAAS,yCAAmB,KAAsC,EAAE,GAA2B,EAAE;IAC/F,QAAQ,CAAA,GAAA,sCAAY,AAAD,EAAE,OAAO;IAC5B,IAAI,YACF,SAAQ,EACR,GAAG,YACJ,GAAG;IAEJ,IAAI,cAAC,WAAU,EAAC,GAAG,CAAA,GAAA,uCAAa,AAAD,EAAE;IACjC,IAAI,mBAAmB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAM,AAAD,GAAG;IAC1C,IAAI,mBAAmB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAM,AAAD,GAAG;IAE1C,IAAI,QAAQ;QACV,SAAS;YAAC,kBAAkB;QAAgB;QAC5C,SAAS;YAAC,kBAAkB;QAAgB;IAC9C;IAEA,qBACE,0DAAC,CAAA,GAAA,+BAAI,AAAD;QACD,GAAG,CAAA,GAAA,oCAAc,AAAD,EAAE,WAAW;QAC9B,cAAc,WAAW,KAAK;QAC9B,UAAU,WAAW,MAAM;QAC3B,kBAAkB,CAAA,GAAA,oCAAS,EACzB,CAAA,GAAA,yDAAM,OAAD,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;;AD9CrC","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 {IllustratedMessage} from './IllustratedMessage';\nexport type {SpectrumIllustratedMessageProps} from '@react-types/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, 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","/*\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.mjs CHANGED
@@ -10,7 +10,28 @@ function $parcel$interopDefault(a) {
10
10
  function $parcel$export(e, n, v, s) {
11
11
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
12
12
  }
13
-
13
+ /*
14
+ * Copyright 2020 Adobe. All rights reserved.
15
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
16
+ * you may not use this file except in compliance with the License. You may obtain a copy
17
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
18
+ *
19
+ * Unless required by applicable law or agreed to in writing, software distributed under
20
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
21
+ * OF ANY KIND, either express or implied. See the License for the specific language
22
+ * governing permissions and limitations under the License.
23
+ */ /// <reference types="css-module-types" />
24
+ /*
25
+ * Copyright 2020 Adobe. All rights reserved.
26
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
27
+ * you may not use this file except in compliance with the License. You may obtain a copy
28
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
29
+ *
30
+ * Unless required by applicable law or agreed to in writing, software distributed under
31
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
32
+ * OF ANY KIND, either express or implied. See the License for the specific language
33
+ * governing permissions and limitations under the License.
34
+ */
14
35
 
15
36
 
16
37
 
@@ -31,11 +52,11 @@ $4c3e55dfb549f378$export$29744d89c9a76d50 = "spectrum-IllustratedMessage--cta_02
31
52
 
32
53
 
33
54
  function $ccaf5c86c16f58c0$var$IllustratedMessage(props, ref) {
34
- props = $RWtz0$useSlotProps(props, 'illustration');
55
+ props = (0, $RWtz0$useSlotProps)(props, "illustration");
35
56
  let { children: children , ...otherProps } = props;
36
- let { styleProps: styleProps } = $RWtz0$useStyleProps(otherProps);
37
- let headingClassName = $RWtz0$classNames((/*@__PURE__*/$parcel$interopDefault($4c3e55dfb549f378$exports)), 'spectrum-IllustratedMessage-heading');
38
- let contentClassName = $RWtz0$classNames((/*@__PURE__*/$parcel$interopDefault($4c3e55dfb549f378$exports)), 'spectrum-IllustratedMessage-description');
57
+ let { styleProps: styleProps } = (0, $RWtz0$useStyleProps)(otherProps);
58
+ let headingClassName = (0, $RWtz0$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($4c3e55dfb549f378$exports))), "spectrum-IllustratedMessage-heading");
59
+ let contentClassName = (0, $RWtz0$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($4c3e55dfb549f378$exports))), "spectrum-IllustratedMessage-description");
39
60
  let slots = {
40
61
  heading: {
41
62
  UNSAFE_className: headingClassName
@@ -44,20 +65,20 @@ function $ccaf5c86c16f58c0$var$IllustratedMessage(props, ref) {
44
65
  UNSAFE_className: contentClassName
45
66
  }
46
67
  };
47
- return(/*#__PURE__*/ $RWtz0$react.createElement($RWtz0$Flex, {
48
- ...$RWtz0$filterDOMProps(otherProps),
68
+ return /*#__PURE__*/ (0, $RWtz0$react).createElement((0, $RWtz0$Flex), {
69
+ ...(0, $RWtz0$filterDOMProps)(otherProps),
49
70
  UNSAFE_style: styleProps.style,
50
71
  isHidden: styleProps.hidden,
51
- UNSAFE_className: $RWtz0$classNames((/*@__PURE__*/$parcel$interopDefault($4c3e55dfb549f378$exports)), 'spectrum-IllustratedMessage', styleProps.className),
72
+ UNSAFE_className: (0, $RWtz0$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($4c3e55dfb549f378$exports))), "spectrum-IllustratedMessage", styleProps.className),
52
73
  ref: ref
53
- }, /*#__PURE__*/ $RWtz0$react.createElement($RWtz0$ClearSlots, null, /*#__PURE__*/ $RWtz0$react.createElement($RWtz0$SlotProvider, {
74
+ }, /*#__PURE__*/ (0, $RWtz0$react).createElement((0, $RWtz0$ClearSlots), null, /*#__PURE__*/ (0, $RWtz0$react).createElement((0, $RWtz0$SlotProvider), {
54
75
  slots: slots
55
- }, children))));
76
+ }, children)));
56
77
  }
57
78
  /**
58
79
  * An IllustratedMessage displays an illustration and a message, usually
59
80
  * for an empty state or an error page.
60
- */ let $ccaf5c86c16f58c0$export$406dbc84c317ece0 = /*#__PURE__*/ $RWtz0$forwardRef($ccaf5c86c16f58c0$var$IllustratedMessage);
81
+ */ let $ccaf5c86c16f58c0$export$406dbc84c317ece0 = /*#__PURE__*/ (0, $RWtz0$forwardRef)($ccaf5c86c16f58c0$var$IllustratedMessage);
61
82
 
62
83
 
63
84
 
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;AEAA,GAA6C;AAC7C,GAAqD;AACrD,GAAyD;AACzD,GAAkD;AAHlD,yCAA6C,GAAG,CAAoC;AACpF,yCAAqD,GAAG,CAA4C;AACpG,yCAAyD,GAAG,CAAgD;AAC5G,yCAAkD,GAAG,CAAyC;;;SDiBrF,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,iBAAU,iDACR,mBAAY;QAAC,KAAK,EAAE,KAAK;OACvB,QAAQ;AAKnB,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 {IllustratedMessage} from './IllustratedMessage';\nexport type {SpectrumIllustratedMessageProps} from '@react-types/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, 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","/*\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.mjs.map"}
1
+ {"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC,GAED;;;;;;;;;;ACZA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAHA,4CAAgD;AAChD,4CAAwD;AACxD,4CAA4D;AAC5D,4CAAqD;;;ADiBrD,SAAS,yCAAmB,KAAsC,EAAE,GAA2B,EAAE;IAC/F,QAAQ,CAAA,GAAA,mBAAY,AAAD,EAAE,OAAO;IAC5B,IAAI,YACF,SAAQ,EACR,GAAG,YACJ,GAAG;IAEJ,IAAI,cAAC,WAAU,EAAC,GAAG,CAAA,GAAA,oBAAa,AAAD,EAAE;IACjC,IAAI,mBAAmB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAM,AAAD,GAAG;IAC1C,IAAI,mBAAmB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAM,AAAD,GAAG;IAE1C,IAAI,QAAQ;QACV,SAAS;YAAC,kBAAkB;QAAgB;QAC5C,SAAS;YAAC,kBAAkB;QAAgB;IAC9C;IAEA,qBACE,gCAAC,CAAA,GAAA,WAAI,AAAD;QACD,GAAG,CAAA,GAAA,qBAAc,AAAD,EAAE,WAAW;QAC9B,cAAc,WAAW,KAAK;QAC9B,UAAU,WAAW,MAAM;QAC3B,kBAAkB,CAAA,GAAA,iBAAS,EACzB,CAAA,GAAA,yDAAM,OAAD,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;;AD9CrC","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 {IllustratedMessage} from './IllustratedMessage';\nexport type {SpectrumIllustratedMessageProps} from '@react-types/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, 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","/*\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.mjs.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/illustratedmessage",
3
- "version": "3.3.4-nightly.3598+810579b67",
3
+ "version": "3.3.4-nightly.3600+bfce84fee",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,15 +36,15 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@babel/runtime": "^7.6.2",
40
- "@react-aria/utils": "3.0.0-nightly.1898+810579b67",
41
- "@react-spectrum/layout": "3.4.4-nightly.3598+810579b67",
42
- "@react-spectrum/utils": "3.0.0-nightly.1898+810579b67",
43
- "@react-types/illustratedmessage": "3.2.6-nightly.3598+810579b67",
44
- "@react-types/shared": "3.0.0-nightly.1898+810579b67"
39
+ "@react-aria/utils": "3.0.0-nightly.1900+bfce84fee",
40
+ "@react-spectrum/layout": "3.4.4-nightly.3600+bfce84fee",
41
+ "@react-spectrum/utils": "3.0.0-nightly.1900+bfce84fee",
42
+ "@react-types/illustratedmessage": "3.2.6-nightly.3600+bfce84fee",
43
+ "@react-types/shared": "3.0.0-nightly.1900+bfce84fee",
44
+ "@swc/helpers": "^0.4.14"
45
45
  },
46
46
  "devDependencies": {
47
- "@adobe/spectrum-css-temp": "3.0.0-nightly.1898+810579b67"
47
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.1900+bfce84fee"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@react-spectrum/provider": "^3.0.0",
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "810579b671791f1593108f62cdc1893de3a220e3"
56
+ "gitHead": "bfce84fee12a027d9cbc38b43e1747e3e4b4b169"
57
57
  }