@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
@@ -0,0 +1,153 @@
1
+ import {DialogContext as $97b119e05830ea0d$export$8b93a07348a7730c} from "./context.mjs";
2
+ import {Modal as $jYq0n$Modal, Tray as $jYq0n$Tray, Popover as $jYq0n$Popover} from "@react-spectrum/overlays";
3
+ import {useOverlayTriggerState as $jYq0n$useOverlayTriggerState} from "@react-stately/overlays";
4
+ import {PressResponder as $jYq0n$PressResponder} from "@react-aria/interactions";
5
+ import $jYq0n$react, {useRef as $jYq0n$useRef, useEffect as $jYq0n$useEffect, Fragment as $jYq0n$Fragment} from "react";
6
+ import {useIsMobileDevice as $jYq0n$useIsMobileDevice} from "@react-spectrum/utils";
7
+ import {useOverlayTrigger as $jYq0n$useOverlayTrigger} from "@react-aria/overlays";
8
+
9
+ /*
10
+ * Copyright 2020 Adobe. All rights reserved.
11
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License. You may obtain a copy
13
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software distributed under
16
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
17
+ * OF ANY KIND, either express or implied. See the License for the specific language
18
+ * governing permissions and limitations under the License.
19
+ */
20
+
21
+
22
+
23
+
24
+
25
+
26
+ function $c412c5ea680c1e4f$var$DialogTrigger(props) {
27
+ let { children: children, type: type = "modal", mobileType: mobileType = type === "popover" ? "modal" : type, hideArrow: hideArrow, targetRef: targetRef, isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, ...positionProps } = props;
28
+ if (!Array.isArray(children) || children.length > 2) throw new Error("DialogTrigger must have exactly 2 children");
29
+ // if a function is passed as the second child, it won't appear in toArray
30
+ let [trigger, content] = children;
31
+ // On small devices, show a modal or tray instead of a popover.
32
+ let isMobile = (0, $jYq0n$useIsMobileDevice)();
33
+ if (isMobile) {
34
+ // handle cases where desktop popovers need a close button for the mobile modal view
35
+ if (type !== "modal" && mobileType === "modal") isDismissable = true;
36
+ type = mobileType;
37
+ }
38
+ let state = (0, $jYq0n$useOverlayTriggerState)(props);
39
+ let wasOpen = (0, $jYq0n$useRef)(false);
40
+ (0, $jYq0n$useEffect)(()=>{
41
+ wasOpen.current = state.isOpen;
42
+ }, [
43
+ state.isOpen
44
+ ]);
45
+ let isExiting = (0, $jYq0n$useRef)(false);
46
+ let onExiting = ()=>isExiting.current = true;
47
+ let onExited = ()=>isExiting.current = false;
48
+ // eslint-disable-next-line arrow-body-style
49
+ (0, $jYq0n$useEffect)(()=>{
50
+ return ()=>{
51
+ if ((wasOpen.current || isExiting.current) && type !== "popover" && type !== "tray") 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.");
52
+ };
53
+ // eslint-disable-next-line react-hooks/exhaustive-deps
54
+ }, []);
55
+ if (type === "popover") return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$PopoverTrigger, {
56
+ ...positionProps,
57
+ state: state,
58
+ targetRef: targetRef,
59
+ trigger: trigger,
60
+ content: content,
61
+ isKeyboardDismissDisabled: isKeyboardDismissDisabled,
62
+ hideArrow: hideArrow
63
+ });
64
+ let renderOverlay = ()=>{
65
+ switch(type){
66
+ case "fullscreen":
67
+ case "fullscreenTakeover":
68
+ case "modal":
69
+ return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Modal), {
70
+ state: state,
71
+ isDismissable: type === "modal" ? isDismissable : false,
72
+ type: type,
73
+ isKeyboardDismissDisabled: isKeyboardDismissDisabled,
74
+ onExiting: onExiting,
75
+ onExited: onExited
76
+ }, typeof content === "function" ? content(state.close) : content);
77
+ case "tray":
78
+ return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Tray), {
79
+ state: state,
80
+ isKeyboardDismissDisabled: isKeyboardDismissDisabled
81
+ }, typeof content === "function" ? content(state.close) : content);
82
+ }
83
+ };
84
+ return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$DialogTriggerBase, {
85
+ type: type,
86
+ state: state,
87
+ isDismissable: isDismissable,
88
+ trigger: trigger,
89
+ overlay: renderOverlay()
90
+ });
91
+ }
92
+ // Support DialogTrigger inside components using CollectionBuilder.
93
+ $c412c5ea680c1e4f$var$DialogTrigger.getCollectionNode = function*(props) {
94
+ // @ts-ignore - seems like types are wrong. Function children work fine.
95
+ let [trigger] = (0, $jYq0n$react).Children.toArray(props.children);
96
+ let [, content] = props.children;
97
+ yield {
98
+ element: trigger,
99
+ wrapper: (element)=>/*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$DialogTrigger, {
100
+ key: element.key,
101
+ ...props
102
+ }, element, content)
103
+ };
104
+ };
105
+ /**
106
+ * DialogTrigger serves as a wrapper around a Dialog and its associated trigger, linking the Dialog's
107
+ * open state with the trigger's press state. Additionally, it allows you to customize the type and
108
+ * positioning of the Dialog.
109
+ */ // We don't want getCollectionNode to show up in the type definition
110
+ let $c412c5ea680c1e4f$export$2e1e1122cf0cba88 = $c412c5ea680c1e4f$var$DialogTrigger;
111
+ function $c412c5ea680c1e4f$var$PopoverTrigger({ state: state, targetRef: targetRef, trigger: trigger, content: content, hideArrow: hideArrow, ...props }) {
112
+ let triggerRef = (0, $jYq0n$useRef)(null);
113
+ let { triggerProps: triggerProps, overlayProps: overlayProps } = (0, $jYq0n$useOverlayTrigger)({
114
+ type: "dialog"
115
+ }, state, triggerRef);
116
+ let triggerPropsWithRef = {
117
+ ...triggerProps,
118
+ ref: targetRef ? undefined : triggerRef
119
+ };
120
+ let overlay = /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Popover), {
121
+ ...props,
122
+ hideArrow: hideArrow,
123
+ triggerRef: targetRef || triggerRef,
124
+ state: state
125
+ }, typeof content === "function" ? content(state.close) : content);
126
+ return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$DialogTriggerBase, {
127
+ type: "popover",
128
+ state: state,
129
+ triggerProps: triggerPropsWithRef,
130
+ dialogProps: overlayProps,
131
+ trigger: trigger,
132
+ overlay: overlay
133
+ });
134
+ }
135
+ function $c412c5ea680c1e4f$var$DialogTriggerBase({ type: type, state: state, isDismissable: isDismissable, dialogProps: dialogProps = {}, triggerProps: triggerProps = {}, overlay: overlay, trigger: trigger }) {
136
+ let context = {
137
+ type: type,
138
+ onClose: state.close,
139
+ isDismissable: isDismissable,
140
+ ...dialogProps
141
+ };
142
+ return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Fragment), null, /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$PressResponder), {
143
+ ...triggerProps,
144
+ onPress: state.toggle,
145
+ isPressed: state.isOpen && type !== "modal" && type !== "fullscreen" && type !== "fullscreenTakeover"
146
+ }, trigger), /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $97b119e05830ea0d$export$8b93a07348a7730c).Provider, {
147
+ value: context
148
+ }, overlay));
149
+ }
150
+
151
+
152
+ export {$c412c5ea680c1e4f$export$2e1e1122cf0cba88 as DialogTrigger};
153
+ //# sourceMappingURL=DialogTrigger.mjs.map
@@ -0,0 +1,153 @@
1
+ import {DialogContext as $97b119e05830ea0d$export$8b93a07348a7730c} from "./context.module.js";
2
+ import {Modal as $jYq0n$Modal, Tray as $jYq0n$Tray, Popover as $jYq0n$Popover} from "@react-spectrum/overlays";
3
+ import {useOverlayTriggerState as $jYq0n$useOverlayTriggerState} from "@react-stately/overlays";
4
+ import {PressResponder as $jYq0n$PressResponder} from "@react-aria/interactions";
5
+ import $jYq0n$react, {useRef as $jYq0n$useRef, useEffect as $jYq0n$useEffect, Fragment as $jYq0n$Fragment} from "react";
6
+ import {useIsMobileDevice as $jYq0n$useIsMobileDevice} from "@react-spectrum/utils";
7
+ import {useOverlayTrigger as $jYq0n$useOverlayTrigger} from "@react-aria/overlays";
8
+
9
+ /*
10
+ * Copyright 2020 Adobe. All rights reserved.
11
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License. You may obtain a copy
13
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software distributed under
16
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
17
+ * OF ANY KIND, either express or implied. See the License for the specific language
18
+ * governing permissions and limitations under the License.
19
+ */
20
+
21
+
22
+
23
+
24
+
25
+
26
+ function $c412c5ea680c1e4f$var$DialogTrigger(props) {
27
+ let { children: children, type: type = "modal", mobileType: mobileType = type === "popover" ? "modal" : type, hideArrow: hideArrow, targetRef: targetRef, isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, ...positionProps } = props;
28
+ if (!Array.isArray(children) || children.length > 2) throw new Error("DialogTrigger must have exactly 2 children");
29
+ // if a function is passed as the second child, it won't appear in toArray
30
+ let [trigger, content] = children;
31
+ // On small devices, show a modal or tray instead of a popover.
32
+ let isMobile = (0, $jYq0n$useIsMobileDevice)();
33
+ if (isMobile) {
34
+ // handle cases where desktop popovers need a close button for the mobile modal view
35
+ if (type !== "modal" && mobileType === "modal") isDismissable = true;
36
+ type = mobileType;
37
+ }
38
+ let state = (0, $jYq0n$useOverlayTriggerState)(props);
39
+ let wasOpen = (0, $jYq0n$useRef)(false);
40
+ (0, $jYq0n$useEffect)(()=>{
41
+ wasOpen.current = state.isOpen;
42
+ }, [
43
+ state.isOpen
44
+ ]);
45
+ let isExiting = (0, $jYq0n$useRef)(false);
46
+ let onExiting = ()=>isExiting.current = true;
47
+ let onExited = ()=>isExiting.current = false;
48
+ // eslint-disable-next-line arrow-body-style
49
+ (0, $jYq0n$useEffect)(()=>{
50
+ return ()=>{
51
+ if ((wasOpen.current || isExiting.current) && type !== "popover" && type !== "tray") 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.");
52
+ };
53
+ // eslint-disable-next-line react-hooks/exhaustive-deps
54
+ }, []);
55
+ if (type === "popover") return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$PopoverTrigger, {
56
+ ...positionProps,
57
+ state: state,
58
+ targetRef: targetRef,
59
+ trigger: trigger,
60
+ content: content,
61
+ isKeyboardDismissDisabled: isKeyboardDismissDisabled,
62
+ hideArrow: hideArrow
63
+ });
64
+ let renderOverlay = ()=>{
65
+ switch(type){
66
+ case "fullscreen":
67
+ case "fullscreenTakeover":
68
+ case "modal":
69
+ return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Modal), {
70
+ state: state,
71
+ isDismissable: type === "modal" ? isDismissable : false,
72
+ type: type,
73
+ isKeyboardDismissDisabled: isKeyboardDismissDisabled,
74
+ onExiting: onExiting,
75
+ onExited: onExited
76
+ }, typeof content === "function" ? content(state.close) : content);
77
+ case "tray":
78
+ return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Tray), {
79
+ state: state,
80
+ isKeyboardDismissDisabled: isKeyboardDismissDisabled
81
+ }, typeof content === "function" ? content(state.close) : content);
82
+ }
83
+ };
84
+ return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$DialogTriggerBase, {
85
+ type: type,
86
+ state: state,
87
+ isDismissable: isDismissable,
88
+ trigger: trigger,
89
+ overlay: renderOverlay()
90
+ });
91
+ }
92
+ // Support DialogTrigger inside components using CollectionBuilder.
93
+ $c412c5ea680c1e4f$var$DialogTrigger.getCollectionNode = function*(props) {
94
+ // @ts-ignore - seems like types are wrong. Function children work fine.
95
+ let [trigger] = (0, $jYq0n$react).Children.toArray(props.children);
96
+ let [, content] = props.children;
97
+ yield {
98
+ element: trigger,
99
+ wrapper: (element)=>/*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$DialogTrigger, {
100
+ key: element.key,
101
+ ...props
102
+ }, element, content)
103
+ };
104
+ };
105
+ /**
106
+ * DialogTrigger serves as a wrapper around a Dialog and its associated trigger, linking the Dialog's
107
+ * open state with the trigger's press state. Additionally, it allows you to customize the type and
108
+ * positioning of the Dialog.
109
+ */ // We don't want getCollectionNode to show up in the type definition
110
+ let $c412c5ea680c1e4f$export$2e1e1122cf0cba88 = $c412c5ea680c1e4f$var$DialogTrigger;
111
+ function $c412c5ea680c1e4f$var$PopoverTrigger({ state: state, targetRef: targetRef, trigger: trigger, content: content, hideArrow: hideArrow, ...props }) {
112
+ let triggerRef = (0, $jYq0n$useRef)(null);
113
+ let { triggerProps: triggerProps, overlayProps: overlayProps } = (0, $jYq0n$useOverlayTrigger)({
114
+ type: "dialog"
115
+ }, state, triggerRef);
116
+ let triggerPropsWithRef = {
117
+ ...triggerProps,
118
+ ref: targetRef ? undefined : triggerRef
119
+ };
120
+ let overlay = /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Popover), {
121
+ ...props,
122
+ hideArrow: hideArrow,
123
+ triggerRef: targetRef || triggerRef,
124
+ state: state
125
+ }, typeof content === "function" ? content(state.close) : content);
126
+ return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$DialogTriggerBase, {
127
+ type: "popover",
128
+ state: state,
129
+ triggerProps: triggerPropsWithRef,
130
+ dialogProps: overlayProps,
131
+ trigger: trigger,
132
+ overlay: overlay
133
+ });
134
+ }
135
+ function $c412c5ea680c1e4f$var$DialogTriggerBase({ type: type, state: state, isDismissable: isDismissable, dialogProps: dialogProps = {}, triggerProps: triggerProps = {}, overlay: overlay, trigger: trigger }) {
136
+ let context = {
137
+ type: type,
138
+ onClose: state.close,
139
+ isDismissable: isDismissable,
140
+ ...dialogProps
141
+ };
142
+ return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Fragment), null, /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$PressResponder), {
143
+ ...triggerProps,
144
+ onPress: state.toggle,
145
+ isPressed: state.isOpen && type !== "modal" && type !== "fullscreen" && type !== "fullscreenTakeover"
146
+ }, trigger), /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $97b119e05830ea0d$export$8b93a07348a7730c).Provider, {
147
+ value: context
148
+ }, overlay));
149
+ }
150
+
151
+
152
+ export {$c412c5ea680c1e4f$export$2e1e1122cf0cba88 as DialogTrigger};
153
+ //# sourceMappingURL=DialogTrigger.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"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","sources":["packages/@react-spectrum/dialog/src/DialogTrigger.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {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"],"names":[],"version":3,"file":"DialogTrigger.module.js.map"}
package/dist/ar-AE.mjs CHANGED
@@ -6,4 +6,4 @@ $cc8cbf248c4ac933$exports = {
6
6
 
7
7
 
8
8
  export {$cc8cbf248c4ac933$exports as default};
9
- //# sourceMappingURL=ar-AE.module.js.map
9
+ //# sourceMappingURL=ar-AE.mjs.map
package/dist/bg-BG.mjs CHANGED
@@ -6,4 +6,4 @@ $c23042f930ed2466$exports = {
6
6
 
7
7
 
8
8
  export {$c23042f930ed2466$exports as default};
9
- //# sourceMappingURL=bg-BG.module.js.map
9
+ //# sourceMappingURL=bg-BG.mjs.map
@@ -0,0 +1,27 @@
1
+ var $cxWTH$react = require("react");
2
+
3
+
4
+ function $parcel$interopDefault(a) {
5
+ return a && a.__esModule ? a.default : a;
6
+ }
7
+
8
+ function $parcel$export(e, n, v, s) {
9
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
10
+ }
11
+
12
+ $parcel$export(module.exports, "DialogContext", () => $0eb909ad2388d989$export$8b93a07348a7730c);
13
+ /*
14
+ * Copyright 2020 Adobe. All rights reserved.
15
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
16
+ * you may not use this file except in compliance with the License. You may obtain a copy
17
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
18
+ *
19
+ * Unless required by applicable law or agreed to in writing, software distributed under
20
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
21
+ * OF ANY KIND, either express or implied. See the License for the specific language
22
+ * governing permissions and limitations under the License.
23
+ */
24
+ const $0eb909ad2388d989$export$8b93a07348a7730c = (0, ($parcel$interopDefault($cxWTH$react))).createContext(null);
25
+
26
+
27
+ //# sourceMappingURL=context.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;AAUM,MAAM,4CAAgB,CAAA,GAAA,sCAAI,EAAE,aAAa,CAA4B","sources":["packages/@react-spectrum/dialog/src/context.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 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"],"names":[],"version":3,"file":"context.main.js.map"}
@@ -0,0 +1,18 @@
1
+ import $45eP0$react from "react";
2
+
3
+ /*
4
+ * Copyright 2020 Adobe. All rights reserved.
5
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License. You may obtain a copy
7
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software distributed under
10
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
11
+ * OF ANY KIND, either express or implied. See the License for the specific language
12
+ * governing permissions and limitations under the License.
13
+ */
14
+ const $97b119e05830ea0d$export$8b93a07348a7730c = (0, $45eP0$react).createContext(null);
15
+
16
+
17
+ export {$97b119e05830ea0d$export$8b93a07348a7730c as DialogContext};
18
+ //# sourceMappingURL=context.mjs.map
@@ -0,0 +1,18 @@
1
+ import $45eP0$react from "react";
2
+
3
+ /*
4
+ * Copyright 2020 Adobe. All rights reserved.
5
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License. You may obtain a copy
7
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software distributed under
10
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
11
+ * OF ANY KIND, either express or implied. See the License for the specific language
12
+ * governing permissions and limitations under the License.
13
+ */
14
+ const $97b119e05830ea0d$export$8b93a07348a7730c = (0, $45eP0$react).createContext(null);
15
+
16
+
17
+ export {$97b119e05830ea0d$export$8b93a07348a7730c as DialogContext};
18
+ //# sourceMappingURL=context.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;AAAA;;;;;;;;;;CAUC;AAUM,MAAM,4CAAgB,CAAA,GAAA,YAAI,EAAE,aAAa,CAA4B","sources":["packages/@react-spectrum/dialog/src/context.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 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"],"names":[],"version":3,"file":"context.module.js.map"}
package/dist/cs-CZ.mjs CHANGED
@@ -6,4 +6,4 @@ $22339168a6e88f2f$exports = {
6
6
 
7
7
 
8
8
  export {$22339168a6e88f2f$exports as default};
9
- //# sourceMappingURL=cs-CZ.module.js.map
9
+ //# sourceMappingURL=cs-CZ.mjs.map
package/dist/da-DK.mjs CHANGED
@@ -6,4 +6,4 @@ $ec8dd13b968e5322$exports = {
6
6
 
7
7
 
8
8
  export {$ec8dd13b968e5322$exports as default};
9
- //# sourceMappingURL=da-DK.module.js.map
9
+ //# sourceMappingURL=da-DK.mjs.map
package/dist/de-DE.mjs CHANGED
@@ -6,4 +6,4 @@ $39167ee9a84b7061$exports = {
6
6
 
7
7
 
8
8
  export {$39167ee9a84b7061$exports as default};
9
- //# sourceMappingURL=de-DE.module.js.map
9
+ //# sourceMappingURL=de-DE.mjs.map
@@ -0,0 +1,161 @@
1
+
2
+ function $parcel$export(e, n, v, s) {
3
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
4
+ }
5
+
6
+ $parcel$export(module.exports, "buttonGroup", () => $a74c0984b1adb651$export$9c686a975407e95c, (v) => $a74c0984b1adb651$export$9c686a975407e95c = v);
7
+ $parcel$export(module.exports, "buttonGroup-end", () => $a74c0984b1adb651$export$92daf1b0113da0, (v) => $a74c0984b1adb651$export$92daf1b0113da0 = v);
8
+ $parcel$export(module.exports, "closeButton", () => $a74c0984b1adb651$export$efe229eab43a9869, (v) => $a74c0984b1adb651$export$efe229eab43a9869 = v);
9
+ $parcel$export(module.exports, "content", () => $a74c0984b1adb651$export$a7db06668cad9adb, (v) => $a74c0984b1adb651$export$a7db06668cad9adb = v);
10
+ $parcel$export(module.exports, "divider", () => $a74c0984b1adb651$export$e8c9778bf415dd08, (v) => $a74c0984b1adb651$export$e8c9778bf415dd08 = v);
11
+ $parcel$export(module.exports, "focus-ring", () => $a74c0984b1adb651$export$f39a09f249340e2a, (v) => $a74c0984b1adb651$export$f39a09f249340e2a = v);
12
+ $parcel$export(module.exports, "footer", () => $a74c0984b1adb651$export$adb608be33961c98, (v) => $a74c0984b1adb651$export$adb608be33961c98 = v);
13
+ $parcel$export(module.exports, "footer-start", () => $a74c0984b1adb651$export$ba5cbcdd7db6a805, (v) => $a74c0984b1adb651$export$ba5cbcdd7db6a805 = v);
14
+ $parcel$export(module.exports, "header", () => $a74c0984b1adb651$export$38e42c68cf43b5d4, (v) => $a74c0984b1adb651$export$38e42c68cf43b5d4 = v);
15
+ $parcel$export(module.exports, "header-end", () => $a74c0984b1adb651$export$9ff84a8ef5e6eb7e, (v) => $a74c0984b1adb651$export$9ff84a8ef5e6eb7e = v);
16
+ $parcel$export(module.exports, "header-start", () => $a74c0984b1adb651$export$6e2679145d8d7578, (v) => $a74c0984b1adb651$export$6e2679145d8d7578 = v);
17
+ $parcel$export(module.exports, "heading", () => $a74c0984b1adb651$export$46e4a324ac90507f, (v) => $a74c0984b1adb651$export$46e4a324ac90507f = v);
18
+ $parcel$export(module.exports, "heading-start", () => $a74c0984b1adb651$export$9f99175ea85abb45, (v) => $a74c0984b1adb651$export$9f99175ea85abb45 = v);
19
+ $parcel$export(module.exports, "hero", () => $a74c0984b1adb651$export$124049a9e3d0d4c3, (v) => $a74c0984b1adb651$export$124049a9e3d0d4c3 = v);
20
+ $parcel$export(module.exports, "i18nFontFamily", () => $a74c0984b1adb651$export$8c4ee2c50c22c514, (v) => $a74c0984b1adb651$export$8c4ee2c50c22c514 = v);
21
+ $parcel$export(module.exports, "spectrum-Button", () => $a74c0984b1adb651$export$1db4cca5b4ade39a, (v) => $a74c0984b1adb651$export$1db4cca5b4ade39a = v);
22
+ $parcel$export(module.exports, "spectrum-Dialog", () => $a74c0984b1adb651$export$4681f3bcac39b2b1, (v) => $a74c0984b1adb651$export$4681f3bcac39b2b1 = v);
23
+ $parcel$export(module.exports, "spectrum-Dialog--dismissable", () => $a74c0984b1adb651$export$9461b285d631d575, (v) => $a74c0984b1adb651$export$9461b285d631d575 = v);
24
+ $parcel$export(module.exports, "spectrum-Dialog--error", () => $a74c0984b1adb651$export$6b5beff56972a3b, (v) => $a74c0984b1adb651$export$6b5beff56972a3b = v);
25
+ $parcel$export(module.exports, "spectrum-Dialog--fullscreen", () => $a74c0984b1adb651$export$118506da5d3ee7c4, (v) => $a74c0984b1adb651$export$118506da5d3ee7c4 = v);
26
+ $parcel$export(module.exports, "spectrum-Dialog--fullscreenTakeover", () => $a74c0984b1adb651$export$5c061b2d3664fda9, (v) => $a74c0984b1adb651$export$5c061b2d3664fda9 = v);
27
+ $parcel$export(module.exports, "spectrum-Dialog--large", () => $a74c0984b1adb651$export$b73c0c2fca84be2b, (v) => $a74c0984b1adb651$export$b73c0c2fca84be2b = v);
28
+ $parcel$export(module.exports, "spectrum-Dialog--medium", () => $a74c0984b1adb651$export$b9b8ef443d0a67ca, (v) => $a74c0984b1adb651$export$b9b8ef443d0a67ca = v);
29
+ $parcel$export(module.exports, "spectrum-Dialog--noDivider", () => $a74c0984b1adb651$export$22425527a8943917, (v) => $a74c0984b1adb651$export$22425527a8943917 = v);
30
+ $parcel$export(module.exports, "spectrum-Dialog--small", () => $a74c0984b1adb651$export$5f2d9cc47409bd63, (v) => $a74c0984b1adb651$export$5f2d9cc47409bd63 = v);
31
+ $parcel$export(module.exports, "spectrum-Dialog--warning", () => $a74c0984b1adb651$export$4e66396adf61534f, (v) => $a74c0984b1adb651$export$4e66396adf61534f = v);
32
+ $parcel$export(module.exports, "spectrum-Dialog-buttonGroup", () => $a74c0984b1adb651$export$570ae852861555b7, (v) => $a74c0984b1adb651$export$570ae852861555b7 = v);
33
+ $parcel$export(module.exports, "spectrum-Dialog-buttonGroup--noFooter", () => $a74c0984b1adb651$export$39dd75369bf2e830, (v) => $a74c0984b1adb651$export$39dd75369bf2e830 = v);
34
+ $parcel$export(module.exports, "spectrum-Dialog-closeButton", () => $a74c0984b1adb651$export$a8494287d763a75d, (v) => $a74c0984b1adb651$export$a8494287d763a75d = v);
35
+ $parcel$export(module.exports, "spectrum-Dialog-content", () => $a74c0984b1adb651$export$cb8eccd0f3639238, (v) => $a74c0984b1adb651$export$cb8eccd0f3639238 = v);
36
+ $parcel$export(module.exports, "spectrum-Dialog-divider", () => $a74c0984b1adb651$export$dd7633d642d0bc1c, (v) => $a74c0984b1adb651$export$dd7633d642d0bc1c = v);
37
+ $parcel$export(module.exports, "spectrum-Dialog-footer", () => $a74c0984b1adb651$export$3ecb5025a06fe08f, (v) => $a74c0984b1adb651$export$3ecb5025a06fe08f = v);
38
+ $parcel$export(module.exports, "spectrum-Dialog-grid", () => $a74c0984b1adb651$export$c03cd5e23af67ff5, (v) => $a74c0984b1adb651$export$c03cd5e23af67ff5 = v);
39
+ $parcel$export(module.exports, "spectrum-Dialog-header", () => $a74c0984b1adb651$export$1e158eaa6363e131, (v) => $a74c0984b1adb651$export$1e158eaa6363e131 = v);
40
+ $parcel$export(module.exports, "spectrum-Dialog-header--noTypeIcon", () => $a74c0984b1adb651$export$141d8fd0950fea8b, (v) => $a74c0984b1adb651$export$141d8fd0950fea8b = v);
41
+ $parcel$export(module.exports, "spectrum-Dialog-heading", () => $a74c0984b1adb651$export$94335d73b7b209ec, (v) => $a74c0984b1adb651$export$94335d73b7b209ec = v);
42
+ $parcel$export(module.exports, "spectrum-Dialog-heading--noHeader", () => $a74c0984b1adb651$export$ade8307239736e89, (v) => $a74c0984b1adb651$export$ade8307239736e89 = v);
43
+ $parcel$export(module.exports, "spectrum-Dialog-heading--noTypeIcon", () => $a74c0984b1adb651$export$c53ac004df29b46, (v) => $a74c0984b1adb651$export$c53ac004df29b46 = v);
44
+ $parcel$export(module.exports, "spectrum-Dialog-hero", () => $a74c0984b1adb651$export$d405fb0a0231aa1a, (v) => $a74c0984b1adb651$export$d405fb0a0231aa1a = v);
45
+ $parcel$export(module.exports, "spectrum-Dialog-typeIcon", () => $a74c0984b1adb651$export$5beee9480fc6ff07, (v) => $a74c0984b1adb651$export$5beee9480fc6ff07 = v);
46
+ $parcel$export(module.exports, "spectrum-FocusRing-ring", () => $a74c0984b1adb651$export$4109102f950813a6, (v) => $a74c0984b1adb651$export$4109102f950813a6 = v);
47
+ $parcel$export(module.exports, "spectrum-FocusRing", () => $a74c0984b1adb651$export$24c7f46a6e3605dd, (v) => $a74c0984b1adb651$export$24c7f46a6e3605dd = v);
48
+ $parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $a74c0984b1adb651$export$2927016961429360, (v) => $a74c0984b1adb651$export$2927016961429360 = v);
49
+ $parcel$export(module.exports, "spectrum-overlay", () => $a74c0984b1adb651$export$39eed38e2296a1d6, (v) => $a74c0984b1adb651$export$39eed38e2296a1d6 = v);
50
+ $parcel$export(module.exports, "spectrum-overlay--bottom--open", () => $a74c0984b1adb651$export$a96755f239de61ee, (v) => $a74c0984b1adb651$export$a96755f239de61ee = v);
51
+ $parcel$export(module.exports, "spectrum-overlay--left--open", () => $a74c0984b1adb651$export$a85c0c6b6cf8598c, (v) => $a74c0984b1adb651$export$a85c0c6b6cf8598c = v);
52
+ $parcel$export(module.exports, "spectrum-overlay--open", () => $a74c0984b1adb651$export$a397eb58038aa381, (v) => $a74c0984b1adb651$export$a397eb58038aa381 = v);
53
+ $parcel$export(module.exports, "spectrum-overlay--right--open", () => $a74c0984b1adb651$export$85aaa87e65e040bf, (v) => $a74c0984b1adb651$export$85aaa87e65e040bf = v);
54
+ $parcel$export(module.exports, "spectrum-overlay--top--open", () => $a74c0984b1adb651$export$b9768db7ffc1bc2, (v) => $a74c0984b1adb651$export$b9768db7ffc1bc2 = v);
55
+ $parcel$export(module.exports, "typeIcon", () => $a74c0984b1adb651$export$7c523679e5521442, (v) => $a74c0984b1adb651$export$7c523679e5521442 = v);
56
+ $parcel$export(module.exports, "typeIcon-end", () => $a74c0984b1adb651$export$b050c62b00f90727, (v) => $a74c0984b1adb651$export$b050c62b00f90727 = v);
57
+ var $a74c0984b1adb651$export$9c686a975407e95c;
58
+ var $a74c0984b1adb651$export$92daf1b0113da0;
59
+ var $a74c0984b1adb651$export$efe229eab43a9869;
60
+ var $a74c0984b1adb651$export$a7db06668cad9adb;
61
+ var $a74c0984b1adb651$export$e8c9778bf415dd08;
62
+ var $a74c0984b1adb651$export$f39a09f249340e2a;
63
+ var $a74c0984b1adb651$export$adb608be33961c98;
64
+ var $a74c0984b1adb651$export$ba5cbcdd7db6a805;
65
+ var $a74c0984b1adb651$export$38e42c68cf43b5d4;
66
+ var $a74c0984b1adb651$export$9ff84a8ef5e6eb7e;
67
+ var $a74c0984b1adb651$export$6e2679145d8d7578;
68
+ var $a74c0984b1adb651$export$46e4a324ac90507f;
69
+ var $a74c0984b1adb651$export$9f99175ea85abb45;
70
+ var $a74c0984b1adb651$export$124049a9e3d0d4c3;
71
+ var $a74c0984b1adb651$export$8c4ee2c50c22c514;
72
+ var $a74c0984b1adb651$export$1db4cca5b4ade39a;
73
+ var $a74c0984b1adb651$export$4681f3bcac39b2b1;
74
+ var $a74c0984b1adb651$export$9461b285d631d575;
75
+ var $a74c0984b1adb651$export$6b5beff56972a3b;
76
+ var $a74c0984b1adb651$export$118506da5d3ee7c4;
77
+ var $a74c0984b1adb651$export$5c061b2d3664fda9;
78
+ var $a74c0984b1adb651$export$b73c0c2fca84be2b;
79
+ var $a74c0984b1adb651$export$b9b8ef443d0a67ca;
80
+ var $a74c0984b1adb651$export$22425527a8943917;
81
+ var $a74c0984b1adb651$export$5f2d9cc47409bd63;
82
+ var $a74c0984b1adb651$export$4e66396adf61534f;
83
+ var $a74c0984b1adb651$export$570ae852861555b7;
84
+ var $a74c0984b1adb651$export$39dd75369bf2e830;
85
+ var $a74c0984b1adb651$export$a8494287d763a75d;
86
+ var $a74c0984b1adb651$export$cb8eccd0f3639238;
87
+ var $a74c0984b1adb651$export$dd7633d642d0bc1c;
88
+ var $a74c0984b1adb651$export$3ecb5025a06fe08f;
89
+ var $a74c0984b1adb651$export$c03cd5e23af67ff5;
90
+ var $a74c0984b1adb651$export$1e158eaa6363e131;
91
+ var $a74c0984b1adb651$export$141d8fd0950fea8b;
92
+ var $a74c0984b1adb651$export$94335d73b7b209ec;
93
+ var $a74c0984b1adb651$export$ade8307239736e89;
94
+ var $a74c0984b1adb651$export$c53ac004df29b46;
95
+ var $a74c0984b1adb651$export$d405fb0a0231aa1a;
96
+ var $a74c0984b1adb651$export$5beee9480fc6ff07;
97
+ var $a74c0984b1adb651$export$4109102f950813a6;
98
+ var $a74c0984b1adb651$export$24c7f46a6e3605dd;
99
+ var $a74c0984b1adb651$export$2927016961429360;
100
+ var $a74c0984b1adb651$export$39eed38e2296a1d6;
101
+ var $a74c0984b1adb651$export$a96755f239de61ee;
102
+ var $a74c0984b1adb651$export$a85c0c6b6cf8598c;
103
+ var $a74c0984b1adb651$export$a397eb58038aa381;
104
+ var $a74c0984b1adb651$export$85aaa87e65e040bf;
105
+ var $a74c0984b1adb651$export$b9768db7ffc1bc2;
106
+ var $a74c0984b1adb651$export$7c523679e5521442;
107
+ var $a74c0984b1adb651$export$b050c62b00f90727;
108
+ $a74c0984b1adb651$export$9c686a975407e95c = `h_OVWW_buttonGroup`;
109
+ $a74c0984b1adb651$export$92daf1b0113da0 = `h_OVWW_buttonGroup-end`;
110
+ $a74c0984b1adb651$export$efe229eab43a9869 = `h_OVWW_closeButton`;
111
+ $a74c0984b1adb651$export$a7db06668cad9adb = `h_OVWW_content`;
112
+ $a74c0984b1adb651$export$e8c9778bf415dd08 = `h_OVWW_divider`;
113
+ $a74c0984b1adb651$export$f39a09f249340e2a = `h_OVWW_focus-ring`;
114
+ $a74c0984b1adb651$export$adb608be33961c98 = `h_OVWW_footer`;
115
+ $a74c0984b1adb651$export$ba5cbcdd7db6a805 = `h_OVWW_footer-start`;
116
+ $a74c0984b1adb651$export$38e42c68cf43b5d4 = `h_OVWW_header`;
117
+ $a74c0984b1adb651$export$9ff84a8ef5e6eb7e = `h_OVWW_header-end`;
118
+ $a74c0984b1adb651$export$6e2679145d8d7578 = `h_OVWW_header-start`;
119
+ $a74c0984b1adb651$export$46e4a324ac90507f = `h_OVWW_heading`;
120
+ $a74c0984b1adb651$export$9f99175ea85abb45 = `h_OVWW_heading-start`;
121
+ $a74c0984b1adb651$export$124049a9e3d0d4c3 = `h_OVWW_hero`;
122
+ $a74c0984b1adb651$export$8c4ee2c50c22c514 = `h_OVWW_i18nFontFamily`;
123
+ $a74c0984b1adb651$export$1db4cca5b4ade39a = `h_OVWW_spectrum-Button`;
124
+ $a74c0984b1adb651$export$4681f3bcac39b2b1 = `h_OVWW_spectrum-Dialog`;
125
+ $a74c0984b1adb651$export$9461b285d631d575 = `h_OVWW_spectrum-Dialog--dismissable`;
126
+ $a74c0984b1adb651$export$6b5beff56972a3b = `h_OVWW_spectrum-Dialog--error`;
127
+ $a74c0984b1adb651$export$118506da5d3ee7c4 = `h_OVWW_spectrum-Dialog--fullscreen`;
128
+ $a74c0984b1adb651$export$5c061b2d3664fda9 = `h_OVWW_spectrum-Dialog--fullscreenTakeover`;
129
+ $a74c0984b1adb651$export$b73c0c2fca84be2b = `h_OVWW_spectrum-Dialog--large`;
130
+ $a74c0984b1adb651$export$b9b8ef443d0a67ca = `h_OVWW_spectrum-Dialog--medium`;
131
+ $a74c0984b1adb651$export$22425527a8943917 = `h_OVWW_spectrum-Dialog--noDivider`;
132
+ $a74c0984b1adb651$export$5f2d9cc47409bd63 = `h_OVWW_spectrum-Dialog--small`;
133
+ $a74c0984b1adb651$export$4e66396adf61534f = `h_OVWW_spectrum-Dialog--warning`;
134
+ $a74c0984b1adb651$export$570ae852861555b7 = `h_OVWW_spectrum-Dialog-buttonGroup`;
135
+ $a74c0984b1adb651$export$39dd75369bf2e830 = `h_OVWW_spectrum-Dialog-buttonGroup--noFooter`;
136
+ $a74c0984b1adb651$export$a8494287d763a75d = `h_OVWW_spectrum-Dialog-closeButton`;
137
+ $a74c0984b1adb651$export$cb8eccd0f3639238 = `h_OVWW_spectrum-Dialog-content`;
138
+ $a74c0984b1adb651$export$dd7633d642d0bc1c = `h_OVWW_spectrum-Dialog-divider`;
139
+ $a74c0984b1adb651$export$3ecb5025a06fe08f = `h_OVWW_spectrum-Dialog-footer`;
140
+ $a74c0984b1adb651$export$c03cd5e23af67ff5 = `h_OVWW_spectrum-Dialog-grid`;
141
+ $a74c0984b1adb651$export$1e158eaa6363e131 = `h_OVWW_spectrum-Dialog-header`;
142
+ $a74c0984b1adb651$export$141d8fd0950fea8b = `h_OVWW_spectrum-Dialog-header--noTypeIcon`;
143
+ $a74c0984b1adb651$export$94335d73b7b209ec = `h_OVWW_spectrum-Dialog-heading`;
144
+ $a74c0984b1adb651$export$ade8307239736e89 = `h_OVWW_spectrum-Dialog-heading--noHeader`;
145
+ $a74c0984b1adb651$export$c53ac004df29b46 = `h_OVWW_spectrum-Dialog-heading--noTypeIcon`;
146
+ $a74c0984b1adb651$export$d405fb0a0231aa1a = `h_OVWW_spectrum-Dialog-hero`;
147
+ $a74c0984b1adb651$export$5beee9480fc6ff07 = `h_OVWW_spectrum-Dialog-typeIcon`;
148
+ $a74c0984b1adb651$export$4109102f950813a6 = `h_OVWW_spectrum-FocusRing-ring`;
149
+ $a74c0984b1adb651$export$24c7f46a6e3605dd = `h_OVWW_spectrum-FocusRing ${$a74c0984b1adb651$export$4109102f950813a6}`;
150
+ $a74c0984b1adb651$export$2927016961429360 = `h_OVWW_spectrum-FocusRing--quiet`;
151
+ $a74c0984b1adb651$export$39eed38e2296a1d6 = `h_OVWW_spectrum-overlay`;
152
+ $a74c0984b1adb651$export$a96755f239de61ee = `h_OVWW_spectrum-overlay--bottom--open`;
153
+ $a74c0984b1adb651$export$a85c0c6b6cf8598c = `h_OVWW_spectrum-overlay--left--open`;
154
+ $a74c0984b1adb651$export$a397eb58038aa381 = `h_OVWW_spectrum-overlay--open`;
155
+ $a74c0984b1adb651$export$85aaa87e65e040bf = `h_OVWW_spectrum-overlay--right--open`;
156
+ $a74c0984b1adb651$export$b9768db7ffc1bc2 = `h_OVWW_spectrum-overlay--top--open`;
157
+ $a74c0984b1adb651$export$7c523679e5521442 = `h_OVWW_typeIcon`;
158
+ $a74c0984b1adb651$export$b050c62b00f90727 = `h_OVWW_typeIcon-end`;
159
+
160
+
161
+ //# sourceMappingURL=dialog_vars_css.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"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","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":"dialog_vars_css.main.js.map"}