@react-spectrum/dialog 3.8.9 → 3.8.10

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.
Files changed (85) hide show
  1. package/dist/AlertDialog.main.js +98 -0
  2. package/dist/AlertDialog.main.js.map +1 -0
  3. package/dist/AlertDialog.mjs +93 -0
  4. package/dist/AlertDialog.module.js +93 -0
  5. package/dist/AlertDialog.module.js.map +1 -0
  6. package/dist/Dialog.main.js +135 -0
  7. package/dist/Dialog.main.js.map +1 -0
  8. package/dist/Dialog.mjs +130 -0
  9. package/dist/Dialog.module.js +130 -0
  10. package/dist/Dialog.module.js.map +1 -0
  11. package/dist/DialogContainer.main.js +63 -0
  12. package/dist/DialogContainer.main.js.map +1 -0
  13. package/dist/DialogContainer.mjs +54 -0
  14. package/dist/DialogContainer.module.js +54 -0
  15. package/dist/DialogContainer.module.js.map +1 -0
  16. package/dist/DialogTrigger.main.js +162 -0
  17. package/dist/DialogTrigger.main.js.map +1 -0
  18. package/dist/DialogTrigger.mjs +153 -0
  19. package/dist/DialogTrigger.module.js +153 -0
  20. package/dist/DialogTrigger.module.js.map +1 -0
  21. package/dist/ar-AE.mjs +1 -1
  22. package/dist/bg-BG.mjs +1 -1
  23. package/dist/context.main.js +27 -0
  24. package/dist/context.main.js.map +1 -0
  25. package/dist/context.mjs +18 -0
  26. package/dist/context.module.js +18 -0
  27. package/dist/context.module.js.map +1 -0
  28. package/dist/cs-CZ.mjs +1 -1
  29. package/dist/da-DK.mjs +1 -1
  30. package/dist/de-DE.mjs +1 -1
  31. package/dist/dialog_vars_css.main.js +161 -0
  32. package/dist/dialog_vars_css.main.js.map +1 -0
  33. package/dist/dialog_vars_css.mjs +163 -0
  34. package/dist/dialog_vars_css.module.js +163 -0
  35. package/dist/dialog_vars_css.module.js.map +1 -0
  36. package/dist/el-GR.mjs +1 -1
  37. package/dist/en-US.mjs +1 -1
  38. package/dist/es-ES.mjs +1 -1
  39. package/dist/et-EE.mjs +1 -1
  40. package/dist/fi-FI.mjs +1 -1
  41. package/dist/fr-FR.mjs +1 -1
  42. package/dist/he-IL.mjs +1 -1
  43. package/dist/hr-HR.mjs +1 -1
  44. package/dist/hu-HU.mjs +1 -1
  45. package/dist/import.mjs +5 -692
  46. package/dist/intlStrings.main.js +108 -0
  47. package/dist/intlStrings.main.js.map +1 -0
  48. package/dist/intlStrings.mjs +110 -0
  49. package/dist/intlStrings.module.js +110 -0
  50. package/dist/intlStrings.module.js.map +1 -0
  51. package/dist/it-IT.mjs +1 -1
  52. package/dist/ja-JP.mjs +1 -1
  53. package/dist/ko-KR.mjs +1 -1
  54. package/dist/lt-LT.mjs +1 -1
  55. package/dist/lv-LV.mjs +1 -1
  56. package/dist/main.js +10 -693
  57. package/dist/main.js.map +1 -1
  58. package/dist/module.js +5 -692
  59. package/dist/module.js.map +1 -1
  60. package/dist/nb-NO.mjs +1 -1
  61. package/dist/nl-NL.mjs +1 -1
  62. package/dist/pl-PL.mjs +1 -1
  63. package/dist/pt-BR.mjs +1 -1
  64. package/dist/pt-PT.mjs +1 -1
  65. package/dist/ro-RO.mjs +1 -1
  66. package/dist/ru-RU.mjs +1 -1
  67. package/dist/sk-SK.mjs +1 -1
  68. package/dist/sl-SI.mjs +1 -1
  69. package/dist/sr-SP.mjs +1 -1
  70. package/dist/sv-SE.mjs +1 -1
  71. package/dist/tr-TR.mjs +1 -1
  72. package/dist/types.d.ts +3 -2
  73. package/dist/types.d.ts.map +1 -1
  74. package/dist/uk-UA.mjs +1 -1
  75. package/dist/useDialogContainer.main.js +34 -0
  76. package/dist/useDialogContainer.main.js.map +1 -0
  77. package/dist/useDialogContainer.mjs +29 -0
  78. package/dist/useDialogContainer.module.js +29 -0
  79. package/dist/useDialogContainer.module.js.map +1 -0
  80. package/dist/{main.css → vars.6a3d7df3.css} +22 -63
  81. package/dist/vars.6a3d7df3.css.map +1 -0
  82. package/dist/zh-CN.mjs +1 -1
  83. package/dist/zh-TW.mjs +1 -1
  84. package/package.json +21 -21
  85. package/dist/main.css.map +0 -1
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;ACVD;;;;;;;;;;CAUC;;;ACVD;;;;;;;;;;CAUC;AAUM,MAAM,4CAAgB,CAAA,GAAA,YAAI,EAAE,aAAa,CAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACc5E,4BAAiB;IACf,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;AACX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACrEA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IA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AAa,GAAG,CAAA,GAAA,eAAO,EAAuB;IAE9D,6EAA6E;IAC7E,0DAA0D;IAC1D,IAAI,QAAkC;IACtC,IAAI,MAAM,OAAO,CAAC,WAChB,QAAQ,SAAS,IAAI,CAAC,CAAA,GAAA,YAAI,EAAE,cAAc;SACrC,kBAAI,CAAA,GAAA,YAAI,EAAE,cAAc,CAAC,WAC9B,QAAQ;IAGV,IAAI,SAAS,UAAU,WACrB,aAAa;IAGf,IAAI,UAAU;cACZ;QACA,SAAS;uBACT;IACF;IAEA,IAAI,QAAQ,CAAA,GAAA,6BAAqB,EAAE;QACjC,QAAQ,CAAC,CAAC;QACV,cAAc,CAAA;YACZ,IAAI,CAAC,QACH;QAEJ;IACF;IAEA,qBACE,gCAAC,CAAA,GAAA,YAAI;QACH,OAAO;QACP,MAAM;QACN,eAAe;QACf,2BAA2B;qBAC3B,gCAAC,CAAA,GAAA,yCAAY,EAAE,QAAQ;QAAC,OAAO;OAC5B;AAIT;;;AC9EA;;;;;;;;;;CAUC;;AAUM,SAAS;IACd,IAAI,UAAU,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,yCAAY;IACrC,IAAI,CAAC,SACH,MAAM,IAAI,MAAM;IAGlB,OAAO;QACL,MAAM,QAAQ,IAAI;QAClB;YACE,oBAAA,8BAAA,QAAS,OAAO;QAClB;IACF;AACF;;","sources":["packages/@react-spectrum/dialog/src/index.ts","packages/@react-spectrum/dialog/src/AlertDialog.tsx","packages/@react-spectrum/dialog/src/Dialog.tsx","packages/@react-spectrum/dialog/src/context.ts","packages/@react-spectrum/dialog/src/*.js","packages/@adobe/spectrum-css-temp/components/dialog/vars.css","packages/@react-spectrum/dialog/src/DialogTrigger.tsx","packages/@react-spectrum/dialog/src/DialogContainer.tsx","packages/@react-spectrum/dialog/src/useDialogContainer.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {AlertDialog} from './AlertDialog';\nexport {Dialog} from './Dialog';\nexport {DialogTrigger} from './DialogTrigger';\nexport {DialogContainer} from './DialogContainer';\nexport {useDialogContainer} from './useDialogContainer';\n\nexport type {SpectrumAlertDialogProps, SpectrumDialogProps, SpectrumDialogContainerProps, SpectrumDialogTriggerProps} from '@react-types/dialog';\nexport type {DialogContainerValue} from './useDialogContainer';\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 AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport {Button} from '@react-spectrum/button';\nimport {ButtonGroup} from '@react-spectrum/buttongroup';\nimport {chain} from '@react-aria/utils';\nimport {classNames, useStyleProps} from '@react-spectrum/utils';\nimport {Content} from '@react-spectrum/view';\nimport {Dialog} from './Dialog';\nimport {DialogContext, DialogContextValue} from './context';\nimport {Divider} from '@react-spectrum/divider';\nimport {DOMRef} from '@react-types/shared';\nimport {Heading} from '@react-spectrum/text';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React, {forwardRef, useContext} from 'react';\nimport {SpectrumAlertDialogProps} from '@react-types/dialog';\nimport {SpectrumButtonProps} from '@react-types/button';\nimport styles from '@adobe/spectrum-css-temp/components/dialog/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\n/**\n * AlertDialogs are a specific type of Dialog. They display important information that users need to acknowledge.\n */\nfunction AlertDialog(props: SpectrumAlertDialogProps, ref: DOMRef) {\n let {\n onClose = () => {}\n } = useContext(DialogContext) || {} as DialogContextValue;\n\n let {\n variant,\n children,\n primaryActionLabel,\n secondaryActionLabel,\n cancelLabel,\n autoFocusButton,\n title,\n isPrimaryActionDisabled,\n isSecondaryActionDisabled,\n onCancel = () => {},\n onPrimaryAction = () => {},\n onSecondaryAction = () => {},\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/dialog');\n\n let confirmVariant: SpectrumButtonProps['variant'] = 'primary';\n if (variant) {\n if (variant === 'confirmation') {\n confirmVariant = 'cta';\n } else if (variant === 'destructive') {\n confirmVariant = 'negative';\n }\n }\n\n return (\n <Dialog\n UNSAFE_style={styleProps.style}\n UNSAFE_className={classNames(styles, {[`spectrum-Dialog--${variant}`]: variant}, styleProps.className)}\n isHidden={styleProps.hidden}\n size=\"M\"\n role=\"alertdialog\"\n ref={ref}>\n <Heading>{title}</Heading>\n {(variant === 'error' || variant === 'warning') &&\n <AlertMedium\n slot=\"typeIcon\"\n aria-label={stringFormatter.format('alert')} />\n }\n <Divider />\n <Content>{children}</Content>\n <ButtonGroup align=\"end\">\n {cancelLabel &&\n <Button\n variant=\"secondary\"\n onPress={() => chain(onClose(), onCancel())}\n autoFocus={autoFocusButton === 'cancel'}>\n {cancelLabel}\n </Button>\n }\n {secondaryActionLabel &&\n <Button\n variant=\"secondary\"\n onPress={() => chain(onClose(), onSecondaryAction())}\n isDisabled={isSecondaryActionDisabled}\n autoFocus={autoFocusButton === 'secondary'}>\n {secondaryActionLabel}\n </Button>\n }\n <Button\n variant={confirmVariant}\n onPress={() => chain(onClose(), onPrimaryAction())}\n isDisabled={isPrimaryActionDisabled}\n autoFocus={autoFocusButton === 'primary'}>\n {primaryActionLabel}\n </Button>\n </ButtonGroup>\n </Dialog>\n );\n}\n\n/**\n * AlertDialogs are a specific type of Dialog. They display important information that users need to acknowledge.\n */\nlet _AlertDialog = forwardRef(AlertDialog);\nexport {_AlertDialog as AlertDialog};\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 {ActionButton} from '@react-spectrum/button';\nimport {\n classNames,\n SlotProvider,\n unwrapDOMRef,\n useDOMRef,\n useHasChild,\n useSlotProps,\n useStyleProps\n} from '@react-spectrum/utils';\nimport CrossLarge from '@spectrum-icons/ui/CrossLarge';\nimport {DialogContext, DialogContextValue} from './context';\nimport {DOMRef} from '@react-types/shared';\nimport {Grid} from '@react-spectrum/layout';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {useContext, useMemo, useRef} from 'react';\nimport {SpectrumDialogProps} from '@react-types/dialog';\nimport styles from '@adobe/spectrum-css-temp/components/dialog/vars.css';\nimport {useDialog} from '@react-aria/dialog';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nlet sizeMap = {\n S: 'small',\n M: 'medium',\n L: 'large',\n fullscreen: 'fullscreen',\n fullscreenTakeover: 'fullscreenTakeover'\n};\n\nfunction Dialog(props: SpectrumDialogProps, ref: DOMRef) {\n props = useSlotProps(props, 'dialog');\n let {\n type = 'modal',\n ...contextProps\n } = useContext(DialogContext) || {} as DialogContextValue;\n let {\n children,\n isDismissable = contextProps.isDismissable,\n onDismiss = contextProps.onClose,\n size,\n ...otherProps\n } = props;\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/dialog');\n let {styleProps} = useStyleProps(otherProps);\n\n size = type === 'popover' ? (size || 'S') : (size || 'L');\n\n let domRef = useDOMRef(ref);\n let gridRef = useRef(null);\n let sizeVariant = sizeMap[type] || sizeMap[size];\n let {dialogProps, titleProps} = useDialog(mergeProps(contextProps, props), domRef);\n\n let hasHeader = useHasChild(`.${styles['spectrum-Dialog-header']}`, unwrapDOMRef(gridRef));\n let hasHeading = useHasChild(`.${styles['spectrum-Dialog-heading']}`, unwrapDOMRef(gridRef));\n let hasFooter = useHasChild(`.${styles['spectrum-Dialog-footer']}`, unwrapDOMRef(gridRef));\n let hasTypeIcon = useHasChild(`.${styles['spectrum-Dialog-typeIcon']}`, unwrapDOMRef(gridRef));\n\n let slots = useMemo(() => ({\n hero: {UNSAFE_className: styles['spectrum-Dialog-hero']},\n heading: {UNSAFE_className: classNames(styles, 'spectrum-Dialog-heading', {'spectrum-Dialog-heading--noHeader': !hasHeader, 'spectrum-Dialog-heading--noTypeIcon': !hasTypeIcon}), level: 2, ...titleProps},\n header: {UNSAFE_className: classNames(styles, 'spectrum-Dialog-header', {'spectrum-Dialog-header--noHeading': !hasHeading, 'spectrum-Dialog-header--noTypeIcon': !hasTypeIcon})},\n typeIcon: {UNSAFE_className: styles['spectrum-Dialog-typeIcon']},\n divider: {UNSAFE_className: styles['spectrum-Dialog-divider'], size: 'M'},\n content: {UNSAFE_className: styles['spectrum-Dialog-content']},\n footer: {UNSAFE_className: styles['spectrum-Dialog-footer']},\n buttonGroup: {UNSAFE_className: classNames(styles, 'spectrum-Dialog-buttonGroup', {'spectrum-Dialog-buttonGroup--noFooter': !hasFooter}), align: 'end'}\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }), [hasFooter, hasHeader, titleProps]);\n\n return (\n <section\n {...styleProps}\n {...dialogProps}\n className={classNames(\n styles,\n 'spectrum-Dialog',\n {\n [`spectrum-Dialog--${sizeVariant}`]: sizeVariant,\n 'spectrum-Dialog--dismissable': isDismissable\n },\n styleProps.className\n )}\n ref={domRef}>\n <Grid ref={gridRef} UNSAFE_className={styles['spectrum-Dialog-grid']}>\n <SlotProvider slots={slots}>\n {children}\n </SlotProvider>\n {isDismissable &&\n <ActionButton\n UNSAFE_className={styles['spectrum-Dialog-closeButton']}\n isQuiet\n aria-label={stringFormatter.format('dismiss')}\n onPress={onDismiss}>\n <CrossLarge />\n </ActionButton>\n }\n </Grid>\n </section>\n );\n}\n\n/**\n * Dialogs are windows containing contextual information, tasks, or workflows that appear over the user interface.\n * Depending on the kind of Dialog, further interactions may be blocked until the Dialog is acknowledged.\n */\nlet _Dialog = React.forwardRef(Dialog);\nexport {_Dialog as Dialog};\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 React, {HTMLAttributes} from 'react';\n\nexport interface DialogContextValue extends HTMLAttributes<HTMLElement> {\n type: 'modal' | 'popover' | 'tray' | 'fullscreen' | 'fullscreenTakeover',\n isDismissable?: boolean,\n onClose: () => void\n}\n\nexport const DialogContext = React.createContext<DialogContextValue | null>(null);\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/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 * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {DialogContext} from './context';\nimport {Modal, Popover, Tray} from '@react-spectrum/overlays';\nimport {OverlayTriggerState, useOverlayTriggerState} from '@react-stately/overlays';\nimport {PressResponder} from '@react-aria/interactions';\nimport React, {Fragment, JSX, ReactElement, useEffect, useRef} from 'react';\nimport {SpectrumDialogClose, SpectrumDialogProps, SpectrumDialogTriggerProps} from '@react-types/dialog';\nimport {useIsMobileDevice} from '@react-spectrum/utils';\nimport {useOverlayTrigger} from '@react-aria/overlays';\n\nfunction DialogTrigger(props: SpectrumDialogTriggerProps) {\n let {\n children,\n type = 'modal',\n mobileType = type === 'popover' ? 'modal' : type,\n hideArrow,\n targetRef,\n isDismissable,\n isKeyboardDismissDisabled,\n ...positionProps\n } = props;\n if (!Array.isArray(children) || children.length > 2) {\n throw new Error('DialogTrigger must have exactly 2 children');\n }\n // if a function is passed as the second child, it won't appear in toArray\n let [trigger, content] = children as [ReactElement, SpectrumDialogClose];\n\n // On small devices, show a modal or tray instead of a popover.\n let isMobile = useIsMobileDevice();\n if (isMobile) {\n // handle cases where desktop popovers need a close button for the mobile modal view\n if (type !== 'modal' && mobileType === 'modal') {\n isDismissable = true;\n }\n\n type = mobileType;\n }\n\n let state = useOverlayTriggerState(props);\n let wasOpen = useRef(false);\n useEffect(() => {\n wasOpen.current = state.isOpen;\n }, [state.isOpen]);\n\n let isExiting = useRef(false);\n let onExiting = () => isExiting.current = true;\n let onExited = () => isExiting.current = false;\n\n // eslint-disable-next-line arrow-body-style\n useEffect(() => {\n return () => {\n if ((wasOpen.current || isExiting.current) && type !== 'popover' && type !== 'tray') {\n console.warn('A DialogTrigger unmounted while open. This is likely due to being placed within a trigger that unmounts or inside a conditional. Consider using a DialogContainer instead.');\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (type === 'popover') {\n return (\n <PopoverTrigger\n {...positionProps}\n state={state}\n targetRef={targetRef}\n trigger={trigger}\n content={content}\n isKeyboardDismissDisabled={isKeyboardDismissDisabled}\n hideArrow={hideArrow} />\n );\n }\n\n let renderOverlay = () => {\n switch (type) {\n case 'fullscreen':\n case 'fullscreenTakeover':\n case 'modal':\n return (\n <Modal\n state={state}\n isDismissable={type === 'modal' ? isDismissable : false}\n type={type}\n isKeyboardDismissDisabled={isKeyboardDismissDisabled}\n onExiting={onExiting}\n onExited={onExited}>\n {typeof content === 'function' ? content(state.close) : content}\n </Modal>\n );\n case 'tray':\n return (\n <Tray\n state={state}\n isKeyboardDismissDisabled={isKeyboardDismissDisabled}>\n {typeof content === 'function' ? content(state.close) : content}\n </Tray>\n );\n }\n };\n\n return (\n <DialogTriggerBase\n type={type}\n state={state}\n isDismissable={isDismissable}\n trigger={trigger}\n overlay={renderOverlay()} />\n );\n}\n\n// Support DialogTrigger inside components using CollectionBuilder.\nDialogTrigger.getCollectionNode = function* (props: SpectrumDialogTriggerProps) {\n // @ts-ignore - seems like types are wrong. Function children work fine.\n let [trigger] = React.Children.toArray(props.children);\n let [, content] = props.children as [ReactElement, SpectrumDialogClose];\n yield {\n element: trigger,\n wrapper: (element) => (\n <DialogTrigger key={element.key} {...props}>\n {element}\n {content}\n </DialogTrigger>\n )\n };\n};\n\n/**\n * DialogTrigger serves as a wrapper around a Dialog and its associated trigger, linking the Dialog's\n * open state with the trigger's press state. Additionally, it allows you to customize the type and\n * positioning of the Dialog.\n */\n\n// We don't want getCollectionNode to show up in the type definition\nlet _DialogTrigger = DialogTrigger as (props: SpectrumDialogTriggerProps) => JSX.Element;\nexport {_DialogTrigger as DialogTrigger};\n\nfunction PopoverTrigger({state, targetRef, trigger, content, hideArrow, ...props}) {\n let triggerRef = useRef<HTMLElement>(null);\n let {triggerProps, overlayProps} = useOverlayTrigger({type: 'dialog'}, state, triggerRef);\n\n let triggerPropsWithRef = {\n ...triggerProps,\n ref: targetRef ? undefined : triggerRef\n };\n\n let overlay = (\n <Popover\n {...props}\n hideArrow={hideArrow}\n triggerRef={targetRef || triggerRef}\n state={state}>\n {typeof content === 'function' ? content(state.close) : content}\n </Popover>\n );\n\n return (\n <DialogTriggerBase\n type=\"popover\"\n state={state}\n triggerProps={triggerPropsWithRef}\n dialogProps={overlayProps}\n trigger={trigger}\n overlay={overlay} />\n );\n}\n\ninterface SpectrumDialogTriggerBase {\n type: 'modal' | 'popover' | 'tray' | 'fullscreen' | 'fullscreenTakeover',\n state: OverlayTriggerState,\n isDismissable?: boolean,\n dialogProps?: SpectrumDialogProps | {},\n triggerProps?: any,\n overlay?: ReactElement,\n trigger: ReactElement\n}\n\nfunction DialogTriggerBase({type, state, isDismissable, dialogProps = {}, triggerProps = {}, overlay, trigger}: SpectrumDialogTriggerBase) {\n let context = {\n type,\n onClose: state.close,\n isDismissable,\n ...dialogProps\n };\n\n return (\n <Fragment>\n <PressResponder\n {...triggerProps}\n onPress={state.toggle}\n isPressed={state.isOpen && type !== 'modal' && type !== 'fullscreen' && type !== 'fullscreenTakeover'}>\n {trigger}\n </PressResponder>\n <DialogContext.Provider value={context}>\n {overlay}\n </DialogContext.Provider>\n </Fragment>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {DialogContext} from './context';\nimport {Modal} from '@react-spectrum/overlays';\nimport React, {ReactElement, useState} from 'react';\nimport {SpectrumDialogContainerProps} from '@react-types/dialog';\nimport {useOverlayTriggerState} from '@react-stately/overlays';\n\n/**\n * A DialogContainer accepts a single Dialog as a child, and manages showing and hiding\n * it in a modal. Useful in cases where there is no trigger element\n * or when the trigger unmounts while the dialog is open.\n */\nexport function DialogContainer(props: SpectrumDialogContainerProps) {\n let {\n children,\n type = 'modal',\n onDismiss,\n isDismissable,\n isKeyboardDismissDisabled\n } = props;\n\n let childArray = React.Children.toArray(children);\n if (childArray.length > 1) {\n throw new Error('Only a single child can be passed to DialogContainer.');\n }\n\n let [lastChild, setLastChild] = useState<ReactElement | null>(null);\n\n // React.Children.toArray mutates the children, and we need them to be stable\n // between renders so that the lastChild comparison works.\n let child: ReactElement | undefined = undefined;\n if (Array.isArray(children)) {\n child = children.find(React.isValidElement);\n } else if (React.isValidElement(children)) {\n child = children;\n }\n\n if (child && child !== lastChild) {\n setLastChild(child);\n }\n\n let context = {\n type,\n onClose: onDismiss,\n isDismissable\n };\n\n let state = useOverlayTriggerState({\n isOpen: !!child,\n onOpenChange: isOpen => {\n if (!isOpen) {\n onDismiss();\n }\n }\n });\n\n return (\n <Modal\n state={state}\n type={type}\n isDismissable={isDismissable}\n isKeyboardDismissDisabled={isKeyboardDismissDisabled}>\n <DialogContext.Provider value={context}>\n {lastChild}\n </DialogContext.Provider>\n </Modal>\n );\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {DialogContext} from './context';\nimport {useContext} from 'react';\n\nexport interface DialogContainerValue {\n type: 'modal' | 'popover' | 'tray' | 'fullscreen' | 'fullscreenTakeover',\n dismiss(): void\n}\n\nexport function useDialogContainer(): DialogContainerValue {\n let context = useContext(DialogContext);\n if (!context) {\n throw new Error('Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.');\n }\n\n return {\n type: context.type,\n dismiss() {\n context?.onClose();\n }\n };\n}\n"],"names":[],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/dialog/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {AlertDialog} from './AlertDialog';\nexport {Dialog} from './Dialog';\nexport {DialogTrigger} from './DialogTrigger';\nexport {DialogContainer} from './DialogContainer';\nexport {useDialogContainer} from './useDialogContainer';\n\nexport type {SpectrumAlertDialogProps, SpectrumDialogProps, SpectrumDialogContainerProps, SpectrumDialogTriggerProps} from '@react-types/dialog';\nexport type {DialogContainerValue} from './useDialogContainer';\n"],"names":[],"version":3,"file":"module.js.map"}
package/dist/nb-NO.mjs CHANGED
@@ -6,4 +6,4 @@ $20889bf3c0d36a01$exports = {
6
6
 
7
7
 
8
8
  export {$20889bf3c0d36a01$exports as default};
9
- //# sourceMappingURL=nb-NO.module.js.map
9
+ //# sourceMappingURL=nb-NO.mjs.map
package/dist/nl-NL.mjs CHANGED
@@ -6,4 +6,4 @@ $f694e1ecd0344008$exports = {
6
6
 
7
7
 
8
8
  export {$f694e1ecd0344008$exports as default};
9
- //# sourceMappingURL=nl-NL.module.js.map
9
+ //# sourceMappingURL=nl-NL.mjs.map
package/dist/pl-PL.mjs CHANGED
@@ -6,4 +6,4 @@ $1b424c160db5642d$exports = {
6
6
 
7
7
 
8
8
  export {$1b424c160db5642d$exports as default};
9
- //# sourceMappingURL=pl-PL.module.js.map
9
+ //# sourceMappingURL=pl-PL.mjs.map
package/dist/pt-BR.mjs CHANGED
@@ -6,4 +6,4 @@ $5d029553257fceab$exports = {
6
6
 
7
7
 
8
8
  export {$5d029553257fceab$exports as default};
9
- //# sourceMappingURL=pt-BR.module.js.map
9
+ //# sourceMappingURL=pt-BR.mjs.map
package/dist/pt-PT.mjs CHANGED
@@ -6,4 +6,4 @@ $2bea12bc13111737$exports = {
6
6
 
7
7
 
8
8
  export {$2bea12bc13111737$exports as default};
9
- //# sourceMappingURL=pt-PT.module.js.map
9
+ //# sourceMappingURL=pt-PT.mjs.map
package/dist/ro-RO.mjs CHANGED
@@ -6,4 +6,4 @@ $12084690a0b76ac4$exports = {
6
6
 
7
7
 
8
8
  export {$12084690a0b76ac4$exports as default};
9
- //# sourceMappingURL=ro-RO.module.js.map
9
+ //# sourceMappingURL=ro-RO.mjs.map
package/dist/ru-RU.mjs CHANGED
@@ -6,4 +6,4 @@ $697f8e526692bd95$exports = {
6
6
 
7
7
 
8
8
  export {$697f8e526692bd95$exports as default};
9
- //# sourceMappingURL=ru-RU.module.js.map
9
+ //# sourceMappingURL=ru-RU.mjs.map
package/dist/sk-SK.mjs CHANGED
@@ -6,4 +6,4 @@ $0802ec67729008c5$exports = {
6
6
 
7
7
 
8
8
  export {$0802ec67729008c5$exports as default};
9
- //# sourceMappingURL=sk-SK.module.js.map
9
+ //# sourceMappingURL=sk-SK.mjs.map
package/dist/sl-SI.mjs CHANGED
@@ -6,4 +6,4 @@ $ef29867297882921$exports = {
6
6
 
7
7
 
8
8
  export {$ef29867297882921$exports as default};
9
- //# sourceMappingURL=sl-SI.module.js.map
9
+ //# sourceMappingURL=sl-SI.mjs.map
package/dist/sr-SP.mjs CHANGED
@@ -6,4 +6,4 @@ $39eb6836bb014970$exports = {
6
6
 
7
7
 
8
8
  export {$39eb6836bb014970$exports as default};
9
- //# sourceMappingURL=sr-SP.module.js.map
9
+ //# sourceMappingURL=sr-SP.mjs.map
package/dist/sv-SE.mjs CHANGED
@@ -6,4 +6,4 @@ $b4fa8198ca731e89$exports = {
6
6
 
7
7
 
8
8
  export {$b4fa8198ca731e89$exports as default};
9
- //# sourceMappingURL=sv-SE.module.js.map
9
+ //# sourceMappingURL=sv-SE.mjs.map
package/dist/tr-TR.mjs CHANGED
@@ -6,4 +6,4 @@ $862832bdcbb90256$exports = {
6
6
 
7
7
 
8
8
  export {$862832bdcbb90256$exports as default};
9
- //# sourceMappingURL=tr-TR.module.js.map
9
+ //# sourceMappingURL=tr-TR.mjs.map
package/dist/types.d.ts CHANGED
@@ -1,14 +1,15 @@
1
1
  import React, { JSX } from "react";
2
2
  import { SpectrumDialogProps, SpectrumAlertDialogProps, SpectrumDialogTriggerProps, SpectrumDialogContainerProps } from "@react-types/dialog";
3
+ import { DOMRefValue } from "@react-types/shared";
3
4
  /**
4
5
  * Dialogs are windows containing contextual information, tasks, or workflows that appear over the user interface.
5
6
  * Depending on the kind of Dialog, further interactions may be blocked until the Dialog is acknowledged.
6
7
  */
7
- export let Dialog: React.ForwardRefExoticComponent<SpectrumDialogProps & React.RefAttributes<import("@react-types/shared").DOMRefValue<HTMLElement>>>;
8
+ export let Dialog: React.ForwardRefExoticComponent<SpectrumDialogProps & React.RefAttributes<DOMRefValue<HTMLElement>>>;
8
9
  /**
9
10
  * AlertDialogs are a specific type of Dialog. They display important information that users need to acknowledge.
10
11
  */
11
- export let AlertDialog: React.ForwardRefExoticComponent<SpectrumAlertDialogProps & React.RefAttributes<import("@react-types/shared").DOMRefValue<HTMLElement>>>;
12
+ export let AlertDialog: React.ForwardRefExoticComponent<SpectrumAlertDialogProps & React.RefAttributes<DOMRefValue<HTMLElement>>>;
12
13
  /**
13
14
  * DialogTrigger serves as a wrapper around a Dialog and its associated trigger, linking the Dialog's
14
15
  * open state with the trigger's press state. Additionally, it allows you to customize the type and
@@ -1 +1 @@
1
- {"mappings":";;ACmHA;;;GAGG;AACH,OAAA,IAAI,0IAAkC,CAAC;ACPvC;;GAEG;AACH,OAAA,IAAI,oJAAsC,CAAC;ACoB3C;;;;GAIG;AAGH,OAAA,IAAI,uBAA0C,0BAA0B,KAAK,WAAW,CAAC;AC5HzF;;;;GAIG;AACH,gCAAgC,KAAK,EAAE,4BAA4B,qBAuDlE;AC/DD;IACE,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,YAAY,GAAG,oBAAoB,CAAC;IACzE,OAAO,IAAI,IAAI,CAAA;CAChB;AAED,sCAAsC,oBAAoB,CAYzD;ACZD,YAAY,EAAC,wBAAwB,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,0BAA0B,EAAC,MAAM,qBAAqB,CAAC","sources":["packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/context.ts","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/Dialog.tsx","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/AlertDialog.tsx","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/DialogTrigger.tsx","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/DialogContainer.tsx","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/useDialogContainer.ts","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/index.ts","packages/@react-spectrum/dialog/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {AlertDialog} from './AlertDialog';\nexport {Dialog} from './Dialog';\nexport {DialogTrigger} from './DialogTrigger';\nexport {DialogContainer} from './DialogContainer';\nexport {useDialogContainer} from './useDialogContainer';\n\nexport type {SpectrumAlertDialogProps, SpectrumDialogProps, SpectrumDialogContainerProps, SpectrumDialogTriggerProps} from '@react-types/dialog';\nexport type {DialogContainerValue} from './useDialogContainer';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";;;ACmHA;;;GAGG;AACH,OAAA,IAAI,4GAAkC,CAAC;ACPvC;;GAEG;AACH,OAAA,IAAI,sHAAsC,CAAC;ACoB3C;;;;GAIG;AAGH,OAAA,IAAI,uBAA0C,0BAA0B,KAAK,WAAW,CAAC;AC5HzF;;;;GAIG;AACH,gCAAgC,KAAK,EAAE,4BAA4B,qBAuDlE;AC/DD;IACE,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,YAAY,GAAG,oBAAoB,CAAC;IACzE,OAAO,IAAI,IAAI,CAAA;CAChB;AAED,sCAAsC,oBAAoB,CAYzD;ACZD,YAAY,EAAC,wBAAwB,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,0BAA0B,EAAC,MAAM,qBAAqB,CAAC","sources":["packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/context.ts","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/Dialog.tsx","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/AlertDialog.tsx","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/DialogTrigger.tsx","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/DialogContainer.tsx","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/useDialogContainer.ts","packages/@react-spectrum/dialog/src/packages/@react-spectrum/dialog/src/index.ts","packages/@react-spectrum/dialog/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {AlertDialog} from './AlertDialog';\nexport {Dialog} from './Dialog';\nexport {DialogTrigger} from './DialogTrigger';\nexport {DialogContainer} from './DialogContainer';\nexport {useDialogContainer} from './useDialogContainer';\n\nexport type {SpectrumAlertDialogProps, SpectrumDialogProps, SpectrumDialogContainerProps, SpectrumDialogTriggerProps} from '@react-types/dialog';\nexport type {DialogContainerValue} from './useDialogContainer';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
package/dist/uk-UA.mjs CHANGED
@@ -6,4 +6,4 @@ $2fa80cee796b989c$exports = {
6
6
 
7
7
 
8
8
  export {$2fa80cee796b989c$exports as default};
9
- //# sourceMappingURL=uk-UA.module.js.map
9
+ //# sourceMappingURL=uk-UA.mjs.map
@@ -0,0 +1,34 @@
1
+ var $0eb909ad2388d989$exports = require("./context.main.js");
2
+ var $9DI8Y$react = require("react");
3
+
4
+
5
+ function $parcel$export(e, n, v, s) {
6
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
7
+ }
8
+
9
+ $parcel$export(module.exports, "useDialogContainer", () => $1f05ce3abe26c4cc$export$a2f2d8fa6720dab1);
10
+ /*
11
+ * Copyright 2020 Adobe. All rights reserved.
12
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
13
+ * you may not use this file except in compliance with the License. You may obtain a copy
14
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
15
+ *
16
+ * Unless required by applicable law or agreed to in writing, software distributed under
17
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
18
+ * OF ANY KIND, either express or implied. See the License for the specific language
19
+ * governing permissions and limitations under the License.
20
+ */
21
+
22
+ function $1f05ce3abe26c4cc$export$a2f2d8fa6720dab1() {
23
+ let context = (0, $9DI8Y$react.useContext)((0, $0eb909ad2388d989$exports.DialogContext));
24
+ if (!context) throw new Error("Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.");
25
+ return {
26
+ type: context.type,
27
+ dismiss () {
28
+ context === null || context === void 0 ? void 0 : context.onClose();
29
+ }
30
+ };
31
+ }
32
+
33
+
34
+ //# sourceMappingURL=useDialogContainer.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;AAAA;;;;;;;;;;CAUC;;AAUM,SAAS;IACd,IAAI,UAAU,CAAA,GAAA,uBAAS,EAAE,CAAA,GAAA,uCAAY;IACrC,IAAI,CAAC,SACH,MAAM,IAAI,MAAM;IAGlB,OAAO;QACL,MAAM,QAAQ,IAAI;QAClB;YACE,oBAAA,8BAAA,QAAS,OAAO;QAClB;IACF;AACF","sources":["packages/@react-spectrum/dialog/src/useDialogContainer.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {DialogContext} from './context';\nimport {useContext} from 'react';\n\nexport interface DialogContainerValue {\n type: 'modal' | 'popover' | 'tray' | 'fullscreen' | 'fullscreenTakeover',\n dismiss(): void\n}\n\nexport function useDialogContainer(): DialogContainerValue {\n let context = useContext(DialogContext);\n if (!context) {\n throw new Error('Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.');\n }\n\n return {\n type: context.type,\n dismiss() {\n context?.onClose();\n }\n };\n}\n"],"names":[],"version":3,"file":"useDialogContainer.main.js.map"}
@@ -0,0 +1,29 @@
1
+ import {DialogContext as $97b119e05830ea0d$export$8b93a07348a7730c} from "./context.mjs";
2
+ import {useContext as $8u5hv$useContext} from "react";
3
+
4
+ /*
5
+ * Copyright 2020 Adobe. All rights reserved.
6
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License. You may obtain a copy
8
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software distributed under
11
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
12
+ * OF ANY KIND, either express or implied. See the License for the specific language
13
+ * governing permissions and limitations under the License.
14
+ */
15
+
16
+ function $faffee7da30e8f89$export$a2f2d8fa6720dab1() {
17
+ let context = (0, $8u5hv$useContext)((0, $97b119e05830ea0d$export$8b93a07348a7730c));
18
+ if (!context) throw new Error("Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.");
19
+ return {
20
+ type: context.type,
21
+ dismiss () {
22
+ context === null || context === void 0 ? void 0 : context.onClose();
23
+ }
24
+ };
25
+ }
26
+
27
+
28
+ export {$faffee7da30e8f89$export$a2f2d8fa6720dab1 as useDialogContainer};
29
+ //# sourceMappingURL=useDialogContainer.mjs.map
@@ -0,0 +1,29 @@
1
+ import {DialogContext as $97b119e05830ea0d$export$8b93a07348a7730c} from "./context.module.js";
2
+ import {useContext as $8u5hv$useContext} from "react";
3
+
4
+ /*
5
+ * Copyright 2020 Adobe. All rights reserved.
6
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License. You may obtain a copy
8
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software distributed under
11
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
12
+ * OF ANY KIND, either express or implied. See the License for the specific language
13
+ * governing permissions and limitations under the License.
14
+ */
15
+
16
+ function $faffee7da30e8f89$export$a2f2d8fa6720dab1() {
17
+ let context = (0, $8u5hv$useContext)((0, $97b119e05830ea0d$export$8b93a07348a7730c));
18
+ if (!context) throw new Error("Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.");
19
+ return {
20
+ type: context.type,
21
+ dismiss () {
22
+ context === null || context === void 0 ? void 0 : context.onClose();
23
+ }
24
+ };
25
+ }
26
+
27
+
28
+ export {$faffee7da30e8f89$export$a2f2d8fa6720dab1 as useDialogContainer};
29
+ //# sourceMappingURL=useDialogContainer.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;AAAA;;;;;;;;;;CAUC;;AAUM,SAAS;IACd,IAAI,UAAU,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,yCAAY;IACrC,IAAI,CAAC,SACH,MAAM,IAAI,MAAM;IAGlB,OAAO;QACL,MAAM,QAAQ,IAAI;QAClB;YACE,oBAAA,8BAAA,QAAS,OAAO;QAClB;IACF;AACF","sources":["packages/@react-spectrum/dialog/src/useDialogContainer.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {DialogContext} from './context';\nimport {useContext} from 'react';\n\nexport interface DialogContainerValue {\n type: 'modal' | 'popover' | 'tray' | 'fullscreen' | 'fullscreenTakeover',\n dismiss(): void\n}\n\nexport function useDialogContainer(): DialogContainerValue {\n let context = useContext(DialogContext);\n if (!context) {\n throw new Error('Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.');\n }\n\n return {\n type: context.type,\n dismiss() {\n context?.onClose();\n }\n };\n}\n"],"names":[],"version":3,"file":"useDialogContainer.module.js.map"}
@@ -23,11 +23,7 @@
23
23
  font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
24
24
  }
25
25
 
26
- .h_OVWW_i18nFontFamily:lang(zh-SG) {
27
- font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
28
- }
29
-
30
- .h_OVWW_i18nFontFamily:lang(zh-CN) {
26
+ .h_OVWW_i18nFontFamily:lang(zh-SG), .h_OVWW_i18nFontFamily:lang(zh-CN) {
31
27
  font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
32
28
  }
33
29
 
@@ -55,13 +51,7 @@
55
51
  transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
56
52
  display: block;
57
53
  position: absolute;
58
- top: 0;
59
- bottom: 0;
60
- left: 0;
61
- right: 0;
62
- }
63
-
64
- .h_OVWW_spectrum-FocusRing {
54
+ inset: 0;
65
55
  }
66
56
 
67
57
  .h_OVWW_spectrum-FocusRing.h_OVWW_focus-ring:after {
@@ -78,6 +68,16 @@
78
68
  box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
79
69
  }
80
70
 
71
+ @media (forced-colors: active) {
72
+ .h_OVWW_spectrum-FocusRing, .h_OVWW_spectrum-FocusRing-ring, .h_OVWW_spectrum-FocusRing--quiet {
73
+ --spectrum-high-contrast-focus-ring-color: Highlight;
74
+ }
75
+
76
+ :is(.h_OVWW_spectrum-FocusRing, .h_OVWW_spectrum-FocusRing-ring, .h_OVWW_spectrum-FocusRing--quiet):after {
77
+ forced-color-adjust: none;
78
+ }
79
+ }
80
+
81
81
  .h_OVWW_spectrum-overlay {
82
82
  visibility: hidden;
83
83
  opacity: 0;
@@ -117,7 +117,6 @@
117
117
  --spectrum-dialog-border-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
118
118
  border-radius: var(--spectrum-dialog-border-radius, var(--spectrum-global-dimension-size-50));
119
119
  outline: none;
120
- width: -moz-fit-content;
121
120
  width: fit-content;
122
121
  max-width: 100%;
123
122
  display: flex;
@@ -186,7 +185,6 @@
186
185
  grid-area: h_OVWW_header;
187
186
  justify-content: flex-end;
188
187
  align-items: center;
189
- min-width: -moz-fit-content;
190
188
  min-width: fit-content;
191
189
  display: flex;
192
190
  }
@@ -233,11 +231,7 @@
233
231
  display: flex;
234
232
  }
235
233
 
236
- .h_OVWW_spectrum-Dialog-footer > * {
237
- margin-bottom: 0;
238
- }
239
-
240
- .h_OVWW_spectrum-Dialog-footer > .h_OVWW_spectrum-Button + .h_OVWW_spectrum-Button {
234
+ .h_OVWW_spectrum-Dialog-footer > *, .h_OVWW_spectrum-Dialog-footer > .h_OVWW_spectrum-Button + .h_OVWW_spectrum-Button {
241
235
  margin-bottom: 0;
242
236
  }
243
237
 
@@ -317,12 +311,7 @@
317
311
  font-size: 28px;
318
312
  }
319
313
 
320
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader {
321
- grid-area: h_OVWW_heading-start / h_OVWW_heading-start / h_OVWW_header-end / h_OVWW_header-end;
322
- padding-inline-end: 0;
323
- }
324
-
325
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader.h_OVWW_spectrum-Dialog-heading--noTypeIcon {
314
+ :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader, :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader.h_OVWW_spectrum-Dialog-heading--noTypeIcon {
326
315
  grid-area: h_OVWW_heading-start / h_OVWW_heading-start / h_OVWW_header-end / h_OVWW_header-end;
327
316
  padding-inline-end: 0;
328
317
  }
@@ -336,23 +325,11 @@
336
325
  max-height: none;
337
326
  }
338
327
 
339
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-footer {
340
- padding-block-start: 0;
341
- }
342
-
343
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-buttonGroup {
328
+ :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-footer, :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-buttonGroup {
344
329
  padding-block-start: 0;
345
330
  }
346
331
 
347
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-footer {
348
- display: none;
349
- }
350
-
351
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-typeIcon {
352
- display: none;
353
- }
354
-
355
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-closeButton {
332
+ :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-footer, :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-typeIcon, :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-closeButton {
356
333
  display: none;
357
334
  }
358
335
 
@@ -360,7 +337,7 @@
360
337
  grid-area: h_OVWW_buttonGroup;
361
338
  }
362
339
 
363
- @media screen and (max-width: 700px) {
340
+ @media screen and (width <= 700px) {
364
341
  .h_OVWW_spectrum-Dialog {
365
342
  --spectrum-dialog-padding: var(--spectrum-global-dimension-static-size-300, 24px);
366
343
  }
@@ -408,7 +385,6 @@
408
385
  }
409
386
 
410
387
  .h_OVWW_spectrum-Dialog-footer {
411
- min-width: -moz-fit-content;
412
388
  min-width: fit-content;
413
389
  }
414
390
 
@@ -429,15 +405,7 @@
429
405
  display: grid;
430
406
  }
431
407
 
432
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader {
433
- grid-area: h_OVWW_heading;
434
- }
435
-
436
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noTypeIcon {
437
- grid-area: h_OVWW_heading;
438
- }
439
-
440
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader.h_OVWW_spectrum-Dialog-heading--noTypeIcon {
408
+ :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader, :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noTypeIcon, :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader.h_OVWW_spectrum-Dialog-heading--noTypeIcon {
441
409
  grid-area: h_OVWW_heading;
442
410
  }
443
411
 
@@ -454,7 +422,7 @@
454
422
  }
455
423
  }
456
424
 
457
- @media screen and (max-height: 400px) {
425
+ @media screen and (height <= 400px) {
458
426
  .h_OVWW_spectrum-Dialog .h_OVWW_spectrum-Dialog-grid {
459
427
  border-top-left-radius: var(--spectrum-dialog-border-radius, var(--spectrum-global-dimension-size-50));
460
428
  border-top-right-radius: var(--spectrum-dialog-border-radius, var(--spectrum-global-dimension-size-50));
@@ -498,7 +466,7 @@
498
466
  }
499
467
  }
500
468
 
501
- @media screen and (max-height: 400px) and (max-width: 700px) {
469
+ @media screen and (height <= 400px) and (width <= 700px) {
502
470
  :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover).h_OVWW_spectrum-Dialog .h_OVWW_spectrum-Dialog-grid {
503
471
  grid-template-columns: var(--spectrum-dialog-padding-x) 1fr var(--spectrum-dialog-padding-x);
504
472
  grid-template-rows: var(--spectrum-dialog-padding-y) auto auto auto 1fr auto var(--spectrum-dialog-padding-y);
@@ -512,15 +480,7 @@
512
480
  display: grid;
513
481
  }
514
482
 
515
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader {
516
- grid-area: h_OVWW_heading;
517
- }
518
-
519
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noTypeIcon {
520
- grid-area: h_OVWW_heading;
521
- }
522
-
523
- :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader.h_OVWW_spectrum-Dialog-heading--noTypeIcon {
483
+ :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader, :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noTypeIcon, :is(.h_OVWW_spectrum-Dialog--fullscreen, .h_OVWW_spectrum-Dialog--fullscreenTakeover) .h_OVWW_spectrum-Dialog-heading.h_OVWW_spectrum-Dialog-heading--noHeader.h_OVWW_spectrum-Dialog-heading--noTypeIcon {
524
484
  grid-area: h_OVWW_heading;
525
485
  }
526
486
 
@@ -556,5 +516,4 @@
556
516
  .h_OVWW_spectrum-Dialog--warning .h_OVWW_spectrum-Dialog-typeIcon {
557
517
  color: var(--spectrum-semantic-notice-color-icon, var(--spectrum-global-color-orange-600));
558
518
  }
559
-
560
- /*# sourceMappingURL=main.css.map */
519
+ /*# sourceMappingURL=vars.6a3d7df3.css.map */
@@ -0,0 +1 @@
1
+ {"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAkBJ;;;;;;;AAYA;;;;;;;AAWA;;;;AAIA;;;;AAUA;;;;AAIA;;;;AAIA;;;;;;;;;;;;;;;AAuBA;;;;AAIA;;;;AAIA;;;;AAIA;;;;;;;;;;AAYA;;;;;;;;;;;;;;AAeA;;;;;;;;;;AAaE;;;;;AAKA;;;;;AAMF;;;;;;;;;;AAYE;;;;;AAMF;;;;AAIA;;;;;;;AAQE;;;;AAKF;;;;;;;;;;;;;;AA6BA;;;;;;;;AAWE;;;;AAMF;;;;;;;;;AAWE;;;;AAKF;;;;;;;;;;;;AAYE;;;;AAGA;;;;AAKF;;;;;;;AAYA;;;;AAIA;;;;;AAKA;;;;;;;AAUA;;;;;AAKE;;;;;;;;;;;AAYA;;;;AAGE;;;;;AAYA;;;;;AAMF;;;;AAIA;;;;AAKA;;;;AAIA;;;;AAKF;EAEE;;;;EAIA;;;;;;;;;;;;;EAcE;;;;EAKA;;;;EAKA;;;;EAKF;;;;;;;;;;;;;EAcA;;;;EAIA;;;;EAIA;;;;EAOE;;;;;;;;;;;;;EAcE;;;;EAWA;;;;EAKF;;;;EAIA;;;;;AAQJ;EACE;;;;;;;;;;;;;;;;;EAoBE;;;;;EAOA;;;;;EAOA;;;;;EAMF;;;;;;EAMA;;;;;AAKF;EAII;;;;;;;;;;;;;EAcE;;;;EAWA;;;;EAKF;;;;EAIA;;;;;AAkBJ;;;;AAIA;;;;AAIA;;;;AAKE;;;;AAMA","sources":["packages/@adobe/spectrum-css-temp/components/dialog/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.6a3d7df3.css.map"}
package/dist/zh-CN.mjs CHANGED
@@ -6,4 +6,4 @@ $ecd80835333d83cc$exports = {
6
6
 
7
7
 
8
8
  export {$ecd80835333d83cc$exports as default};
9
- //# sourceMappingURL=zh-CN.module.js.map
9
+ //# sourceMappingURL=zh-CN.mjs.map
package/dist/zh-TW.mjs CHANGED
@@ -6,4 +6,4 @@ $03712eabbcfd201c$exports = {
6
6
 
7
7
 
8
8
  export {$03712eabbcfd201c$exports as default};
9
- //# sourceMappingURL=zh-TW.module.js.map
9
+ //# sourceMappingURL=zh-TW.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/dialog",
3
- "version": "3.8.9",
3
+ "version": "3.8.10",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,29 +36,29 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/dialog": "^3.5.12",
40
- "@react-aria/i18n": "^3.10.2",
41
- "@react-aria/interactions": "^3.21.1",
42
- "@react-aria/overlays": "^3.21.1",
43
- "@react-aria/utils": "^3.23.2",
44
- "@react-spectrum/button": "^3.16.2",
45
- "@react-spectrum/buttongroup": "^3.6.11",
46
- "@react-spectrum/divider": "^3.5.11",
47
- "@react-spectrum/layout": "^3.6.3",
48
- "@react-spectrum/overlays": "^5.5.5",
49
- "@react-spectrum/text": "^3.5.3",
50
- "@react-spectrum/utils": "^3.11.5",
51
- "@react-spectrum/view": "^3.6.8",
52
- "@react-stately/overlays": "^3.6.5",
53
- "@react-types/button": "^3.9.2",
54
- "@react-types/dialog": "^3.5.8",
55
- "@react-types/shared": "^3.22.1",
56
- "@spectrum-icons/ui": "^3.6.5",
39
+ "@react-aria/dialog": "^3.5.13",
40
+ "@react-aria/i18n": "^3.11.0",
41
+ "@react-aria/interactions": "^3.21.2",
42
+ "@react-aria/overlays": "^3.22.0",
43
+ "@react-aria/utils": "^3.24.0",
44
+ "@react-spectrum/button": "^3.16.3",
45
+ "@react-spectrum/buttongroup": "^3.6.12",
46
+ "@react-spectrum/divider": "^3.5.12",
47
+ "@react-spectrum/layout": "^3.6.4",
48
+ "@react-spectrum/overlays": "^5.6.0",
49
+ "@react-spectrum/text": "^3.5.4",
50
+ "@react-spectrum/utils": "^3.11.6",
51
+ "@react-spectrum/view": "^3.6.9",
52
+ "@react-stately/overlays": "^3.6.6",
53
+ "@react-types/button": "^3.9.3",
54
+ "@react-types/dialog": "^3.5.9",
55
+ "@react-types/shared": "^3.23.0",
56
+ "@spectrum-icons/ui": "^3.6.6",
57
57
  "@swc/helpers": "^0.5.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@adobe/spectrum-css-temp": "3.0.0-alpha.1",
61
- "@react-spectrum/test-utils": "3.0.0-alpha.1"
61
+ "@react-spectrum/test-utils-internal": "3.0.0-alpha.1"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@react-spectrum/provider": "^3.0.0",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "de9f84a22583fc741c29b341d14cd35ef4cca161"
71
+ "gitHead": "f645f29edc1322153fd60af4640cbcab1d992dbd"
72
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/components/dialog/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.css.map"}