@react-spectrum/contextualhelp 3.5.3-nightly.3943 → 3.5.3-nightly.3960

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/import.mjs CHANGED
@@ -38,20 +38,20 @@ function $parcel$export(e, n, v, s) {
38
38
 
39
39
 
40
40
 
41
- var $d69bde6495703df1$exports = {};
41
+ var $c487b1d738ebeac2$exports = {};
42
42
 
43
- $parcel$export($d69bde6495703df1$exports, "react-spectrum-ContextualHelp-button", () => $d69bde6495703df1$export$20d9583c9f1529c1, (v) => $d69bde6495703df1$export$20d9583c9f1529c1 = v);
44
- $parcel$export($d69bde6495703df1$exports, "react-spectrum-ContextualHelp-dialog", () => $d69bde6495703df1$export$ab2d873674d20d28, (v) => $d69bde6495703df1$export$ab2d873674d20d28 = v);
45
- $parcel$export($d69bde6495703df1$exports, "react-spectrum-ContextualHelp-content", () => $d69bde6495703df1$export$a1f805890cf58c4, (v) => $d69bde6495703df1$export$a1f805890cf58c4 = v);
46
- $parcel$export($d69bde6495703df1$exports, "react-spectrum-ContextualHelp-footer", () => $d69bde6495703df1$export$d901bc3fa82b87a6, (v) => $d69bde6495703df1$export$d901bc3fa82b87a6 = v);
47
- var $d69bde6495703df1$export$20d9583c9f1529c1;
48
- var $d69bde6495703df1$export$ab2d873674d20d28;
49
- var $d69bde6495703df1$export$a1f805890cf58c4;
50
- var $d69bde6495703df1$export$d901bc3fa82b87a6;
51
- $d69bde6495703df1$export$20d9583c9f1529c1 = "react-spectrum-ContextualHelp-button_d88303";
52
- $d69bde6495703df1$export$ab2d873674d20d28 = "react-spectrum-ContextualHelp-dialog_d88303";
53
- $d69bde6495703df1$export$a1f805890cf58c4 = "react-spectrum-ContextualHelp-content_d88303";
54
- $d69bde6495703df1$export$d901bc3fa82b87a6 = "react-spectrum-ContextualHelp-footer_d88303";
43
+ $parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-button", () => $c487b1d738ebeac2$export$20d9583c9f1529c1, (v) => $c487b1d738ebeac2$export$20d9583c9f1529c1 = v);
44
+ $parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-dialog", () => $c487b1d738ebeac2$export$ab2d873674d20d28, (v) => $c487b1d738ebeac2$export$ab2d873674d20d28 = v);
45
+ $parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-content", () => $c487b1d738ebeac2$export$a1f805890cf58c4, (v) => $c487b1d738ebeac2$export$a1f805890cf58c4 = v);
46
+ $parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-footer", () => $c487b1d738ebeac2$export$d901bc3fa82b87a6, (v) => $c487b1d738ebeac2$export$d901bc3fa82b87a6 = v);
47
+ var $c487b1d738ebeac2$export$20d9583c9f1529c1;
48
+ var $c487b1d738ebeac2$export$ab2d873674d20d28;
49
+ var $c487b1d738ebeac2$export$a1f805890cf58c4;
50
+ var $c487b1d738ebeac2$export$d901bc3fa82b87a6;
51
+ $c487b1d738ebeac2$export$20d9583c9f1529c1 = "react-spectrum-ContextualHelp-button_0cd31c";
52
+ $c487b1d738ebeac2$export$ab2d873674d20d28 = "react-spectrum-ContextualHelp-dialog_0cd31c";
53
+ $c487b1d738ebeac2$export$a1f805890cf58c4 = "react-spectrum-ContextualHelp-content_0cd31c";
54
+ $c487b1d738ebeac2$export$d901bc3fa82b87a6 = "react-spectrum-ContextualHelp-footer_0cd31c";
55
55
 
56
56
 
57
57
 
@@ -341,10 +341,10 @@ function $9d9069cfc9959198$var$ContextualHelp(props, ref) {
341
341
  let icon = variant === "info" ? /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$spectrumiconsworkflowInfoOutline), null) : /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$spectrumiconsworkflowHelpOutline), null);
342
342
  let slots = {
343
343
  content: {
344
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($d69bde6495703df1$exports)))["react-spectrum-ContextualHelp-content"]
344
+ UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c487b1d738ebeac2$exports)))["react-spectrum-ContextualHelp-content"]
345
345
  },
346
346
  footer: {
347
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($d69bde6495703df1$exports)))["react-spectrum-ContextualHelp-footer"]
347
+ UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c487b1d738ebeac2$exports)))["react-spectrum-ContextualHelp-footer"]
348
348
  }
349
349
  };
350
350
  let labelProps = (0, $2FtBM$useLabels)(otherProps, stringFormatter.format(variant));
@@ -358,12 +358,12 @@ function $9d9069cfc9959198$var$ContextualHelp(props, ref) {
358
358
  isDisabled: false
359
359
  }),
360
360
  ref: ref,
361
- UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($d69bde6495703df1$exports))), "react-spectrum-ContextualHelp-button", otherProps.UNSAFE_className),
361
+ UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c487b1d738ebeac2$exports))), "react-spectrum-ContextualHelp-button", otherProps.UNSAFE_className),
362
362
  isQuiet: true
363
363
  }, icon), /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$ClearSlots), null, /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$SlotProvider), {
364
364
  slots: slots
365
365
  }, /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$Dialog), {
366
- UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($d69bde6495703df1$exports))), "react-spectrum-ContextualHelp-dialog")
366
+ UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c487b1d738ebeac2$exports))), "react-spectrum-ContextualHelp-dialog")
367
367
  }, children))));
368
368
  }
369
369
  /**
package/dist/main.css CHANGED
@@ -1 +1 @@
1
- .react-spectrum-ContextualHelp-button_d88303{--spectrum-button-primary-height:var(--spectrum-global-dimension-size-250);--spectrum-actionbutton-height:var(--spectrum-global-dimension-size-250);--spectrum-actionbutton-min-width:var(--spectrum-global-dimension-size-250);--spectrum-actionbutton-icon-padding-x:var(--spectrum-global-dimension-size-40)}.react-spectrum-ContextualHelp-button_d88303 svg{height:var(--spectrum-global-dimension-size-175);width:var(--spectrum-global-dimension-size-175)}.react-spectrum-ContextualHelp-dialog_d88303.react-spectrum-ContextualHelp-dialog_d88303{width:250px;--spectrum-dialog-padding-x:var(--spectrum-global-dimension-static-size-300,24px);--spectrum-dialog-padding-y:var(--spectrum-global-dimension-static-size-300,24px)}.react-spectrum-ContextualHelp-dialog_d88303.react-spectrum-ContextualHelp-dialog_d88303 .react-spectrum-ContextualHelp-content_d88303{margin-top:var(--spectrum-global-dimension-static-size-100,8px)}.react-spectrum-ContextualHelp-dialog_d88303.react-spectrum-ContextualHelp-dialog_d88303 .react-spectrum-ContextualHelp-footer_d88303{padding-top:var(--spectrum-global-dimension-static-size-100,8px)}
1
+ .react-spectrum-ContextualHelp-button_0cd31c{--spectrum-button-primary-height:var(--spectrum-global-dimension-size-250);--spectrum-actionbutton-height:var(--spectrum-global-dimension-size-250);--spectrum-actionbutton-min-width:var(--spectrum-global-dimension-size-250);--spectrum-actionbutton-icon-padding-x:var(--spectrum-global-dimension-size-40)}.react-spectrum-ContextualHelp-button_0cd31c svg{height:var(--spectrum-global-dimension-size-175);width:var(--spectrum-global-dimension-size-175)}.react-spectrum-ContextualHelp-dialog_0cd31c.react-spectrum-ContextualHelp-dialog_0cd31c{width:250px;--spectrum-dialog-padding-x:var(--spectrum-global-dimension-static-size-300,24px);--spectrum-dialog-padding-y:var(--spectrum-global-dimension-static-size-300,24px)}.react-spectrum-ContextualHelp-dialog_0cd31c.react-spectrum-ContextualHelp-dialog_0cd31c .react-spectrum-ContextualHelp-content_0cd31c{margin-top:var(--spectrum-global-dimension-static-size-100,8px)}.react-spectrum-ContextualHelp-dialog_0cd31c.react-spectrum-ContextualHelp-dialog_0cd31c .react-spectrum-ContextualHelp-footer_0cd31c{padding-top:var(--spectrum-global-dimension-static-size-100,8px)}
package/dist/main.js CHANGED
@@ -40,20 +40,20 @@ $parcel$export(module.exports, "ContextualHelp", () => $05e6407aa891f27c$export$
40
40
 
41
41
 
42
42
 
43
- var $c1b48b060a7ea3d2$exports = {};
43
+ var $a10e565ec42bcf96$exports = {};
44
44
 
45
- $parcel$export($c1b48b060a7ea3d2$exports, "react-spectrum-ContextualHelp-button", () => $c1b48b060a7ea3d2$export$20d9583c9f1529c1, (v) => $c1b48b060a7ea3d2$export$20d9583c9f1529c1 = v);
46
- $parcel$export($c1b48b060a7ea3d2$exports, "react-spectrum-ContextualHelp-dialog", () => $c1b48b060a7ea3d2$export$ab2d873674d20d28, (v) => $c1b48b060a7ea3d2$export$ab2d873674d20d28 = v);
47
- $parcel$export($c1b48b060a7ea3d2$exports, "react-spectrum-ContextualHelp-content", () => $c1b48b060a7ea3d2$export$a1f805890cf58c4, (v) => $c1b48b060a7ea3d2$export$a1f805890cf58c4 = v);
48
- $parcel$export($c1b48b060a7ea3d2$exports, "react-spectrum-ContextualHelp-footer", () => $c1b48b060a7ea3d2$export$d901bc3fa82b87a6, (v) => $c1b48b060a7ea3d2$export$d901bc3fa82b87a6 = v);
49
- var $c1b48b060a7ea3d2$export$20d9583c9f1529c1;
50
- var $c1b48b060a7ea3d2$export$ab2d873674d20d28;
51
- var $c1b48b060a7ea3d2$export$a1f805890cf58c4;
52
- var $c1b48b060a7ea3d2$export$d901bc3fa82b87a6;
53
- $c1b48b060a7ea3d2$export$20d9583c9f1529c1 = "react-spectrum-ContextualHelp-button_d88303";
54
- $c1b48b060a7ea3d2$export$ab2d873674d20d28 = "react-spectrum-ContextualHelp-dialog_d88303";
55
- $c1b48b060a7ea3d2$export$a1f805890cf58c4 = "react-spectrum-ContextualHelp-content_d88303";
56
- $c1b48b060a7ea3d2$export$d901bc3fa82b87a6 = "react-spectrum-ContextualHelp-footer_d88303";
45
+ $parcel$export($a10e565ec42bcf96$exports, "react-spectrum-ContextualHelp-button", () => $a10e565ec42bcf96$export$20d9583c9f1529c1, (v) => $a10e565ec42bcf96$export$20d9583c9f1529c1 = v);
46
+ $parcel$export($a10e565ec42bcf96$exports, "react-spectrum-ContextualHelp-dialog", () => $a10e565ec42bcf96$export$ab2d873674d20d28, (v) => $a10e565ec42bcf96$export$ab2d873674d20d28 = v);
47
+ $parcel$export($a10e565ec42bcf96$exports, "react-spectrum-ContextualHelp-content", () => $a10e565ec42bcf96$export$a1f805890cf58c4, (v) => $a10e565ec42bcf96$export$a1f805890cf58c4 = v);
48
+ $parcel$export($a10e565ec42bcf96$exports, "react-spectrum-ContextualHelp-footer", () => $a10e565ec42bcf96$export$d901bc3fa82b87a6, (v) => $a10e565ec42bcf96$export$d901bc3fa82b87a6 = v);
49
+ var $a10e565ec42bcf96$export$20d9583c9f1529c1;
50
+ var $a10e565ec42bcf96$export$ab2d873674d20d28;
51
+ var $a10e565ec42bcf96$export$a1f805890cf58c4;
52
+ var $a10e565ec42bcf96$export$d901bc3fa82b87a6;
53
+ $a10e565ec42bcf96$export$20d9583c9f1529c1 = "react-spectrum-ContextualHelp-button_0cd31c";
54
+ $a10e565ec42bcf96$export$ab2d873674d20d28 = "react-spectrum-ContextualHelp-dialog_0cd31c";
55
+ $a10e565ec42bcf96$export$a1f805890cf58c4 = "react-spectrum-ContextualHelp-content_0cd31c";
56
+ $a10e565ec42bcf96$export$d901bc3fa82b87a6 = "react-spectrum-ContextualHelp-footer_0cd31c";
57
57
 
58
58
 
59
59
 
@@ -343,10 +343,10 @@ function $05e6407aa891f27c$var$ContextualHelp(props, ref) {
343
343
  let icon = variant === "info" ? /*#__PURE__*/ (0, ($parcel$interopDefault($ST3N8$react))).createElement((0, ($parcel$interopDefault($ST3N8$spectrumiconsworkflowInfoOutline))), null) : /*#__PURE__*/ (0, ($parcel$interopDefault($ST3N8$react))).createElement((0, ($parcel$interopDefault($ST3N8$spectrumiconsworkflowHelpOutline))), null);
344
344
  let slots = {
345
345
  content: {
346
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c1b48b060a7ea3d2$exports)))["react-spectrum-ContextualHelp-content"]
346
+ UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($a10e565ec42bcf96$exports)))["react-spectrum-ContextualHelp-content"]
347
347
  },
348
348
  footer: {
349
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c1b48b060a7ea3d2$exports)))["react-spectrum-ContextualHelp-footer"]
349
+ UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($a10e565ec42bcf96$exports)))["react-spectrum-ContextualHelp-footer"]
350
350
  }
351
351
  };
352
352
  let labelProps = (0, $ST3N8$reactariautils.useLabels)(otherProps, stringFormatter.format(variant));
@@ -360,12 +360,12 @@ function $05e6407aa891f27c$var$ContextualHelp(props, ref) {
360
360
  isDisabled: false
361
361
  }),
362
362
  ref: ref,
363
- UNSAFE_className: (0, $ST3N8$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c1b48b060a7ea3d2$exports))), "react-spectrum-ContextualHelp-button", otherProps.UNSAFE_className),
363
+ UNSAFE_className: (0, $ST3N8$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a10e565ec42bcf96$exports))), "react-spectrum-ContextualHelp-button", otherProps.UNSAFE_className),
364
364
  isQuiet: true
365
365
  }, icon), /*#__PURE__*/ (0, ($parcel$interopDefault($ST3N8$react))).createElement((0, $ST3N8$reactspectrumutils.ClearSlots), null, /*#__PURE__*/ (0, ($parcel$interopDefault($ST3N8$react))).createElement((0, $ST3N8$reactspectrumutils.SlotProvider), {
366
366
  slots: slots
367
367
  }, /*#__PURE__*/ (0, ($parcel$interopDefault($ST3N8$react))).createElement((0, $ST3N8$reactspectrumdialog.Dialog), {
368
- UNSAFE_className: (0, $ST3N8$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c1b48b060a7ea3d2$exports))), "react-spectrum-ContextualHelp-dialog")
368
+ UNSAFE_className: (0, $ST3N8$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a10e565ec42bcf96$exports))), "react-spectrum-ContextualHelp-dialog")
369
369
  }, children))));
370
370
  }
371
371
  /**
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC,GAED;;;;;;;;;;ACZA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAHA,4CAAyD;AACzD,4CAAyD;AACzD,2CAA0D;AAC1D,4CAAyD;;;;;;AEHzD,4BAAiB;IAAG,QAAQ,CAAC,MAAM,CAAC;IAClC,QAAQ,CAAC,OAAO,CAAC;AACnB;;ADFA;;AEAA,4BAAiB;IAAG,QAAQ,CAAC,KAAK,CAAC;IACjC,QAAQ,CAAC,UAAU,CAAC;AACtB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,QAAQ,CAAC;IACpC,QAAQ,CAAC,SAAS,CAAC;AACrB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,KAAK,CAAC;IACjC,QAAQ,CAAC,WAAW,CAAC;AACvB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,KAAK,CAAC;IACjC,QAAQ,CAAC,aAAa,CAAC;AACzB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,OAAO,CAAC;IACnC,QAAQ,CAAC,WAAW,CAAC;AACvB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,QAAQ,CAAC,IAAI,CAAC;AAChB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,KAAK,CAAC;IACjC,QAAQ,CAAC,WAAW,CAAC;AACvB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,OAAO,CAAC;IACnC,QAAQ,CAAC,KAAK,CAAC;AACjB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,IAAI,CAAC;IAChC,Q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C,GAED","sources":["packages/@react-spectrum/contextualhelp/src/index.ts","packages/@react-spectrum/contextualhelp/src/ContextualHelp.tsx","packages/@react-spectrum/contextualhelp/src/contextualhelp.css","packages/@react-spectrum/contextualhelp/intl/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2021 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\nexport {ContextualHelp} from './ContextualHelp';\nexport type {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\n","/*\n * Copyright 2021 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 {ActionButton} from '@react-spectrum/button';\nimport {classNames, ClearSlots, SlotProvider} from '@react-spectrum/utils';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from './contextualhelp.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useLabels} from '@react-aria/utils';\nimport React from 'react';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let labelProps = useLabels(otherProps, stringFormatter.format(variant));\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...mergeProps(otherProps, labelProps, {isDisabled: false})}\n ref={ref}\n UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-button', otherProps.UNSAFE_className)}\n isQuiet>\n {icon}\n </ActionButton>\n <ClearSlots>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-dialog')}>\n {children}\n </Dialog>\n </SlotProvider>\n </ClearSlots>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\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:root {\n --spectrum-contextualhelp-button-size: var(--spectrum-global-dimension-size-250);\n --spectrum-contextualhelp-icon-size: var(--spectrum-global-dimension-size-175);\n --spectrum-contexualhelp-dialog-width: 250px;\n --spectrum-contextualhelp-dialog-padding: var(--spectrum-global-dimension-static-size-300);\n}\n\n.react-spectrum-ContextualHelp-button {\n --spectrum-button-primary-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-min-width: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-icon-padding-x: var(--spectrum-global-dimension-size-40);\n\n svg {\n block-size: var(--spectrum-contextualhelp-icon-size);\n inline-size: var(--spectrum-contextualhelp-icon-size);\n }\n\n}\n\n.react-spectrum-ContextualHelp-dialog.react-spectrum-ContextualHelp-dialog {\n width: var(--spectrum-contexualhelp-dialog-width);\n --spectrum-dialog-padding-x: var(--spectrum-contextualhelp-dialog-padding);\n --spectrum-dialog-padding-y: var(--spectrum-contextualhelp-dialog-padding);\n\n .react-spectrum-ContextualHelp-content {\n margin-top: var(--spectrum-global-dimension-static-size-100);\n }\n\n .react-spectrum-ContextualHelp-footer {\n padding-top: var(--spectrum-global-dimension-static-size-100);\n }\n}\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version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,kBAAkB,CAAA,GAAA,gDAA0B,EAAE,CAAA,GAAA,yDAAY,OAAD;IAE7D,IAAI,OAAO,YAAY,uBAAS,0DAAC,CAAA,GAAA,iEAAW,AAAD,yBAAO,0DAAC,CAAA,GAAA,yDAAW,QAAD,QAAI;IAEjE,IAAI,QAAQ;QACV,SAAS;YAAC,kBAAkB,CAAA,GAAA,gEAAU,AAAD,CAAC,CAAC,wCAAwC;QAAA;QAC/E,QAAQ;YAAC,kBAAkB,CAAA,GAAA,gEAAU,AAAD,CAAC,CAAC,uCAAuC;QAAA;IAC/E;IAEA,IAAI,aAAa,CAAA,GAAA,+BAAQ,EAAE,YAAY,gBAAgB,MAAM,CAAC;IAE9D,qBACE,0DAAC,CAAA,GAAA,wCAAa,AAAD;QAAG,GAAG,UAAU;QAAE,MAAK;QAAU,WAAW;QAAW,WAAA,IAAS;qBAC3E,0DAAC,CAAA,GAAA,uCAAW;QACT,GAAG,CAAA,GAAA,gCAAU,AAAD,EAAE,YAAY,YAAY;YAAC,YAAY,KAAK;QAAA,EAAE;QAC3D,KAAK;QACL,kBAAkB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,yDAAU,OAAD,GAAG,wCAAwC,WAAW,gBAAgB;QAC5G,SAAA,IAAO;OACN,qBAEH,0DAAC,CAAA,GAAA,oCAAS,uBACR,0DAAC,CAAA,GAAA,sCAAW;QAAE,OAAO;qBACnB,0DAAC,CAAA,GAAA,iCAAK;QAAE,kBAAkB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAU,AAAD,GAAG;OAC9C;AAMb;AAEA;;CAEC,GACD,IAAI,0DAAkB,CAAA,GAAA,sCAAI,EAAE,UAAU,CAAC;;CD1DtC,GAED","sources":["packages/@react-spectrum/contextualhelp/src/index.ts","packages/@react-spectrum/contextualhelp/src/ContextualHelp.tsx","packages/@adobe/spectrum-css-temp/components/contextualhelp/vars.css","packages/@react-spectrum/contextualhelp/intl/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2021 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\nexport {ContextualHelp} from './ContextualHelp';\nexport type {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\n","/*\n * Copyright 2021 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 {ActionButton} from '@react-spectrum/button';\nimport {classNames, ClearSlots, SlotProvider} from '@react-spectrum/utils';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from '@adobe/spectrum-css-temp/components/contextualhelp/vars.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useLabels} from '@react-aria/utils';\nimport React from 'react';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let labelProps = useLabels(otherProps, stringFormatter.format(variant));\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...mergeProps(otherProps, labelProps, {isDisabled: false})}\n ref={ref}\n UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-button', otherProps.UNSAFE_className)}\n isQuiet>\n {icon}\n </ActionButton>\n <ClearSlots>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-dialog')}>\n {children}\n </Dialog>\n </SlotProvider>\n </ClearSlots>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\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","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js CHANGED
@@ -38,20 +38,20 @@ function $parcel$export(e, n, v, s) {
38
38
 
39
39
 
40
40
 
41
- var $d69bde6495703df1$exports = {};
41
+ var $c487b1d738ebeac2$exports = {};
42
42
 
43
- $parcel$export($d69bde6495703df1$exports, "react-spectrum-ContextualHelp-button", () => $d69bde6495703df1$export$20d9583c9f1529c1, (v) => $d69bde6495703df1$export$20d9583c9f1529c1 = v);
44
- $parcel$export($d69bde6495703df1$exports, "react-spectrum-ContextualHelp-dialog", () => $d69bde6495703df1$export$ab2d873674d20d28, (v) => $d69bde6495703df1$export$ab2d873674d20d28 = v);
45
- $parcel$export($d69bde6495703df1$exports, "react-spectrum-ContextualHelp-content", () => $d69bde6495703df1$export$a1f805890cf58c4, (v) => $d69bde6495703df1$export$a1f805890cf58c4 = v);
46
- $parcel$export($d69bde6495703df1$exports, "react-spectrum-ContextualHelp-footer", () => $d69bde6495703df1$export$d901bc3fa82b87a6, (v) => $d69bde6495703df1$export$d901bc3fa82b87a6 = v);
47
- var $d69bde6495703df1$export$20d9583c9f1529c1;
48
- var $d69bde6495703df1$export$ab2d873674d20d28;
49
- var $d69bde6495703df1$export$a1f805890cf58c4;
50
- var $d69bde6495703df1$export$d901bc3fa82b87a6;
51
- $d69bde6495703df1$export$20d9583c9f1529c1 = "react-spectrum-ContextualHelp-button_d88303";
52
- $d69bde6495703df1$export$ab2d873674d20d28 = "react-spectrum-ContextualHelp-dialog_d88303";
53
- $d69bde6495703df1$export$a1f805890cf58c4 = "react-spectrum-ContextualHelp-content_d88303";
54
- $d69bde6495703df1$export$d901bc3fa82b87a6 = "react-spectrum-ContextualHelp-footer_d88303";
43
+ $parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-button", () => $c487b1d738ebeac2$export$20d9583c9f1529c1, (v) => $c487b1d738ebeac2$export$20d9583c9f1529c1 = v);
44
+ $parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-dialog", () => $c487b1d738ebeac2$export$ab2d873674d20d28, (v) => $c487b1d738ebeac2$export$ab2d873674d20d28 = v);
45
+ $parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-content", () => $c487b1d738ebeac2$export$a1f805890cf58c4, (v) => $c487b1d738ebeac2$export$a1f805890cf58c4 = v);
46
+ $parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-footer", () => $c487b1d738ebeac2$export$d901bc3fa82b87a6, (v) => $c487b1d738ebeac2$export$d901bc3fa82b87a6 = v);
47
+ var $c487b1d738ebeac2$export$20d9583c9f1529c1;
48
+ var $c487b1d738ebeac2$export$ab2d873674d20d28;
49
+ var $c487b1d738ebeac2$export$a1f805890cf58c4;
50
+ var $c487b1d738ebeac2$export$d901bc3fa82b87a6;
51
+ $c487b1d738ebeac2$export$20d9583c9f1529c1 = "react-spectrum-ContextualHelp-button_0cd31c";
52
+ $c487b1d738ebeac2$export$ab2d873674d20d28 = "react-spectrum-ContextualHelp-dialog_0cd31c";
53
+ $c487b1d738ebeac2$export$a1f805890cf58c4 = "react-spectrum-ContextualHelp-content_0cd31c";
54
+ $c487b1d738ebeac2$export$d901bc3fa82b87a6 = "react-spectrum-ContextualHelp-footer_0cd31c";
55
55
 
56
56
 
57
57
 
@@ -341,10 +341,10 @@ function $9d9069cfc9959198$var$ContextualHelp(props, ref) {
341
341
  let icon = variant === "info" ? /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$spectrumiconsworkflowInfoOutline), null) : /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$spectrumiconsworkflowHelpOutline), null);
342
342
  let slots = {
343
343
  content: {
344
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($d69bde6495703df1$exports)))["react-spectrum-ContextualHelp-content"]
344
+ UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c487b1d738ebeac2$exports)))["react-spectrum-ContextualHelp-content"]
345
345
  },
346
346
  footer: {
347
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($d69bde6495703df1$exports)))["react-spectrum-ContextualHelp-footer"]
347
+ UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c487b1d738ebeac2$exports)))["react-spectrum-ContextualHelp-footer"]
348
348
  }
349
349
  };
350
350
  let labelProps = (0, $2FtBM$useLabels)(otherProps, stringFormatter.format(variant));
@@ -358,12 +358,12 @@ function $9d9069cfc9959198$var$ContextualHelp(props, ref) {
358
358
  isDisabled: false
359
359
  }),
360
360
  ref: ref,
361
- UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($d69bde6495703df1$exports))), "react-spectrum-ContextualHelp-button", otherProps.UNSAFE_className),
361
+ UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c487b1d738ebeac2$exports))), "react-spectrum-ContextualHelp-button", otherProps.UNSAFE_className),
362
362
  isQuiet: true
363
363
  }, icon), /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$ClearSlots), null, /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$SlotProvider), {
364
364
  slots: slots
365
365
  }, /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$Dialog), {
366
- UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($d69bde6495703df1$exports))), "react-spectrum-ContextualHelp-dialog")
366
+ UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c487b1d738ebeac2$exports))), "react-spectrum-ContextualHelp-dialog")
367
367
  }, children))));
368
368
  }
369
369
  /**
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC,GAED;;;;;;;;;;ACZA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAHA,4CAAyD;AACzD,4CAAyD;AACzD,2CAA0D;AAC1D,4CAAyD;;;;;;AEHzD,4BAAiB;IAAG,QAAQ,CAAC,MAAM,CAAC;IAClC,QAAQ,CAAC,OAAO,CAAC;AACnB;;ADFA;;AEAA,4BAAiB;IAAG,QAAQ,CAAC,KAAK,CAAC;IACjC,QAAQ,CAAC,UAAU,CAAC;AACtB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,QAAQ,CAAC;IACpC,QAAQ,CAAC,SAAS,CAAC;AACrB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,KAAK,CAAC;IACjC,QAAQ,CAAC,WAAW,CAAC;AACvB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,KAAK,CAAC;IACjC,QAAQ,CAAC,aAAa,CAAC;AACzB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,OAAO,CAAC;IACnC,QAAQ,CAAC,WAAW,CAAC;AACvB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,QAAQ,CAAC,IAAI,CAAC;AAChB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,KAAK,CAAC;IACjC,QAAQ,CAAC,WAAW,CAAC;AACvB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,OAAO,CAAC;IACnC,QAAQ,CAAC,KAAK,CAAC;AACjB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,IAAI,CAAC;IAChC,QAAQ,CAAC,MAAM,CAAC;AAClB;;;;ACFA,4BAAiB;IAAG,QAA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ContextualHelp.tsx","packages/@react-spectrum/contextualhelp/src/contextualhelp.css","packages/@react-spectrum/contextualhelp/intl/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2021 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\nexport {ContextualHelp} from './ContextualHelp';\nexport type {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\n","/*\n * Copyright 2021 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 {ActionButton} from '@react-spectrum/button';\nimport {classNames, ClearSlots, SlotProvider} from '@react-spectrum/utils';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from './contextualhelp.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useLabels} from '@react-aria/utils';\nimport React from 'react';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let labelProps = useLabels(otherProps, stringFormatter.format(variant));\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...mergeProps(otherProps, labelProps, {isDisabled: false})}\n ref={ref}\n UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-button', otherProps.UNSAFE_className)}\n isQuiet>\n {icon}\n </ActionButton>\n <ClearSlots>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-dialog')}>\n {children}\n </Dialog>\n </SlotProvider>\n </ClearSlots>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\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:root {\n --spectrum-contextualhelp-button-size: var(--spectrum-global-dimension-size-250);\n --spectrum-contextualhelp-icon-size: var(--spectrum-global-dimension-size-175);\n --spectrum-contexualhelp-dialog-width: 250px;\n --spectrum-contextualhelp-dialog-padding: var(--spectrum-global-dimension-static-size-300);\n}\n\n.react-spectrum-ContextualHelp-button {\n --spectrum-button-primary-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-height: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-min-width: var(--spectrum-contextualhelp-button-size);\n --spectrum-actionbutton-icon-padding-x: var(--spectrum-global-dimension-size-40);\n\n svg {\n block-size: var(--spectrum-contextualhelp-icon-size);\n inline-size: var(--spectrum-contextualhelp-icon-size);\n }\n\n}\n\n.react-spectrum-ContextualHelp-dialog.react-spectrum-ContextualHelp-dialog {\n width: var(--spectrum-contexualhelp-dialog-width);\n --spectrum-dialog-padding-x: var(--spectrum-contextualhelp-dialog-padding);\n --spectrum-dialog-padding-y: var(--spectrum-contextualhelp-dialog-padding);\n\n .react-spectrum-ContextualHelp-content {\n margin-top: var(--spectrum-global-dimension-static-size-100);\n }\n\n .react-spectrum-ContextualHelp-footer {\n padding-top: var(--spectrum-global-dimension-static-size-100);\n }\n}\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;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IAAI,OAAO,YAAY,uBAAS,gCAAC,CAAA,GAAA,uCAAW,AAAD,yBAAO,gCAAC,CAAA,GAAA,uCAAU,QAAI;IAEjE,IAAI,QAAQ;QACV,SAAS;YAAC,kBAAkB,CAAA,GAAA,gEAAU,AAAD,CAAC,CAAC,wCAAwC;QAAA;QAC/E,QAAQ;YAAC,kBAAkB,CAAA,GAAA,gEAAU,AAAD,CAAC,CAAC,uCAAuC;QAAA;IAC/E;IAEA,IAAI,aAAa,CAAA,GAAA,gBAAQ,EAAE,YAAY,gBAAgB,MAAM,CAAC;IAE9D,qBACE,gCAAC,CAAA,GAAA,oBAAa,AAAD;QAAG,GAAG,UAAU;QAAE,MAAK;QAAU,WAAW;QAAW,WAAA,IAAS;qBAC3E,gCAAC,CAAA,GAAA,mBAAW;QACT,GAAG,CAAA,GAAA,iBAAU,AAAD,EAAE,YAAY,YAAY;YAAC,YAAY,KAAK;QAAA,EAAE;QAC3D,KAAK;QACL,kBAAkB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,yDAAU,OAAD,GAAG,wCAAwC,WAAW,gBAAgB;QAC5G,SAAA,IAAO;OACN,qBAEH,gCAAC,CAAA,GAAA,iBAAS,uBACR,gCAAC,CAAA,GAAA,mBAAW;QAAE,OAAO;qBACnB,gCAAC,CAAA,GAAA,aAAK;QAAE,kBAAkB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAU,AAAD,GAAG;OAC9C;AAMb;AAEA;;CAEC,GACD,IAAI,0DAAkB,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;;CD1DtC,GAED","sources":["packages/@react-spectrum/contextualhelp/src/index.ts","packages/@react-spectrum/contextualhelp/src/ContextualHelp.tsx","packages/@adobe/spectrum-css-temp/components/contextualhelp/vars.css","packages/@react-spectrum/contextualhelp/intl/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2021 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\nexport {ContextualHelp} from './ContextualHelp';\nexport type {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\n","/*\n * Copyright 2021 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 {ActionButton} from '@react-spectrum/button';\nimport {classNames, ClearSlots, SlotProvider} from '@react-spectrum/utils';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from '@adobe/spectrum-css-temp/components/contextualhelp/vars.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useLabels} from '@react-aria/utils';\nimport React from 'react';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let labelProps = useLabels(otherProps, stringFormatter.format(variant));\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...mergeProps(otherProps, labelProps, {isDisabled: false})}\n ref={ref}\n UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-button', otherProps.UNSAFE_className)}\n isQuiet>\n {icon}\n </ActionButton>\n <ClearSlots>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-dialog')}>\n {children}\n </Dialog>\n </SlotProvider>\n </ClearSlots>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\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","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version":3,"file":"module.js.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/contextualhelp",
3
- "version": "3.5.3-nightly.3943+06e63d3ae",
3
+ "version": "3.5.3-nightly.3960+16f72e9fb",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,20 +36,20 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/i18n": "3.0.0-nightly.2241+06e63d3ae",
40
- "@react-aria/utils": "3.0.0-nightly.2241+06e63d3ae",
41
- "@react-spectrum/button": "3.0.0-nightly.2241+06e63d3ae",
42
- "@react-spectrum/dialog": "3.0.0-nightly.2241+06e63d3ae",
43
- "@react-spectrum/utils": "3.0.0-nightly.2241+06e63d3ae",
44
- "@react-types/contextualhelp": "3.2.3-nightly.3943+06e63d3ae",
45
- "@react-types/shared": "3.0.0-nightly.2241+06e63d3ae",
46
- "@spectrum-icons/workflow": "3.0.0-nightly.2241+06e63d3ae",
39
+ "@react-aria/i18n": "3.0.0-nightly.2258+16f72e9fb",
40
+ "@react-aria/utils": "3.0.0-nightly.2258+16f72e9fb",
41
+ "@react-spectrum/button": "3.0.0-nightly.2258+16f72e9fb",
42
+ "@react-spectrum/dialog": "3.0.0-nightly.2258+16f72e9fb",
43
+ "@react-spectrum/utils": "3.0.0-nightly.2258+16f72e9fb",
44
+ "@react-types/contextualhelp": "3.2.3-nightly.3960+16f72e9fb",
45
+ "@react-types/shared": "3.0.0-nightly.2258+16f72e9fb",
46
+ "@spectrum-icons/workflow": "3.0.0-nightly.2258+16f72e9fb",
47
47
  "@swc/helpers": "^0.4.14"
48
48
  },
49
49
  "devDependencies": {
50
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2241+06e63d3ae",
51
- "@react-spectrum/link": "3.0.0-nightly.2241+06e63d3ae",
52
- "@react-spectrum/view": "3.0.0-nightly.2241+06e63d3ae"
50
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.2258+16f72e9fb",
51
+ "@react-spectrum/link": "3.0.0-nightly.2258+16f72e9fb",
52
+ "@react-spectrum/view": "3.0.0-nightly.2258+16f72e9fb"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@react-spectrum/provider": "^3.0.0",
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "06e63d3ae7898b8cd81fdb6fa87b763faf2054bf"
61
+ "gitHead": "16f72e9fbfc28adf104c3cb7557f1d3cab617960"
62
62
  }
@@ -15,7 +15,7 @@ import {classNames, ClearSlots, SlotProvider} from '@react-spectrum/utils';
15
15
  import {Dialog, DialogTrigger} from '@react-spectrum/dialog';
16
16
  import {FocusableRef} from '@react-types/shared';
17
17
  import HelpOutline from '@spectrum-icons/workflow/HelpOutline';
18
- import helpStyles from './contextualhelp.css';
18
+ import helpStyles from '@adobe/spectrum-css-temp/components/contextualhelp/vars.css';
19
19
  import InfoOutline from '@spectrum-icons/workflow/InfoOutline';
20
20
  // @ts-ignore
21
21
  import intlMessages from '../intl/*.json';
@@ -1,45 +0,0 @@
1
- /*
2
- * Copyright 2020 Adobe. All rights reserved.
3
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- * you may not use this file except in compliance with the License. You may obtain a copy
5
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
- *
7
- * Unless required by applicable law or agreed to in writing, software distributed under
8
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- * OF ANY KIND, either express or implied. See the License for the specific language
10
- * governing permissions and limitations under the License.
11
- */
12
-
13
- :root {
14
- --spectrum-contextualhelp-button-size: var(--spectrum-global-dimension-size-250);
15
- --spectrum-contextualhelp-icon-size: var(--spectrum-global-dimension-size-175);
16
- --spectrum-contexualhelp-dialog-width: 250px;
17
- --spectrum-contextualhelp-dialog-padding: var(--spectrum-global-dimension-static-size-300);
18
- }
19
-
20
- .react-spectrum-ContextualHelp-button {
21
- --spectrum-button-primary-height: var(--spectrum-contextualhelp-button-size);
22
- --spectrum-actionbutton-height: var(--spectrum-contextualhelp-button-size);
23
- --spectrum-actionbutton-min-width: var(--spectrum-contextualhelp-button-size);
24
- --spectrum-actionbutton-icon-padding-x: var(--spectrum-global-dimension-size-40);
25
-
26
- svg {
27
- block-size: var(--spectrum-contextualhelp-icon-size);
28
- inline-size: var(--spectrum-contextualhelp-icon-size);
29
- }
30
-
31
- }
32
-
33
- .react-spectrum-ContextualHelp-dialog.react-spectrum-ContextualHelp-dialog {
34
- width: var(--spectrum-contexualhelp-dialog-width);
35
- --spectrum-dialog-padding-x: var(--spectrum-contextualhelp-dialog-padding);
36
- --spectrum-dialog-padding-y: var(--spectrum-contextualhelp-dialog-padding);
37
-
38
- .react-spectrum-ContextualHelp-content {
39
- margin-top: var(--spectrum-global-dimension-static-size-100);
40
- }
41
-
42
- .react-spectrum-ContextualHelp-footer {
43
- padding-top: var(--spectrum-global-dimension-static-size-100);
44
- }
45
- }