@react-spectrum/dialog 3.8.10 → 3.8.11

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 (53) hide show
  1. package/dist/AlertDialog.main.js +9 -9
  2. package/dist/AlertDialog.mjs +10 -10
  3. package/dist/AlertDialog.module.js +9 -9
  4. package/dist/Dialog.main.js +33 -33
  5. package/dist/Dialog.mjs +34 -34
  6. package/dist/Dialog.module.js +33 -33
  7. package/dist/DialogContainer.main.js +2 -2
  8. package/dist/DialogContainer.mjs +3 -3
  9. package/dist/DialogContainer.module.js +2 -2
  10. package/dist/DialogTrigger.main.js +15 -15
  11. package/dist/DialogTrigger.mjs +16 -16
  12. package/dist/DialogTrigger.module.js +15 -15
  13. package/dist/ar-AE.mjs +1 -1
  14. package/dist/bg-BG.mjs +1 -1
  15. package/dist/context.mjs +1 -1
  16. package/dist/cs-CZ.mjs +1 -1
  17. package/dist/da-DK.mjs +1 -1
  18. package/dist/de-DE.mjs +1 -1
  19. package/dist/dialog_vars_css.mjs +1 -1
  20. package/dist/el-GR.mjs +1 -1
  21. package/dist/en-US.mjs +1 -1
  22. package/dist/es-ES.mjs +1 -1
  23. package/dist/et-EE.mjs +1 -1
  24. package/dist/fi-FI.mjs +1 -1
  25. package/dist/fr-FR.mjs +1 -1
  26. package/dist/he-IL.mjs +1 -1
  27. package/dist/hr-HR.mjs +1 -1
  28. package/dist/hu-HU.mjs +1 -1
  29. package/dist/intlStrings.mjs +1 -1
  30. package/dist/it-IT.mjs +1 -1
  31. package/dist/ja-JP.mjs +1 -1
  32. package/dist/ko-KR.mjs +1 -1
  33. package/dist/lt-LT.mjs +1 -1
  34. package/dist/lv-LV.mjs +1 -1
  35. package/dist/nb-NO.mjs +1 -1
  36. package/dist/nl-NL.mjs +1 -1
  37. package/dist/pl-PL.mjs +1 -1
  38. package/dist/pt-BR.mjs +1 -1
  39. package/dist/pt-PT.mjs +1 -1
  40. package/dist/ro-RO.mjs +1 -1
  41. package/dist/ru-RU.mjs +1 -1
  42. package/dist/sk-SK.mjs +1 -1
  43. package/dist/sl-SI.mjs +1 -1
  44. package/dist/sr-SP.mjs +1 -1
  45. package/dist/sv-SE.mjs +1 -1
  46. package/dist/tr-TR.mjs +1 -1
  47. package/dist/uk-UA.mjs +1 -1
  48. package/dist/useDialogContainer.main.js +1 -1
  49. package/dist/useDialogContainer.mjs +2 -2
  50. package/dist/useDialogContainer.module.js +1 -1
  51. package/dist/zh-CN.mjs +1 -1
  52. package/dist/zh-TW.mjs +1 -1
  53. package/package.json +20 -20
@@ -34,15 +34,15 @@ $parcel$export(module.exports, "DialogTrigger", () => $46e54a192dc519c9$export$2
34
34
 
35
35
 
36
36
  function $46e54a192dc519c9$var$DialogTrigger(props) {
37
- let { children: children, type: type = "modal", mobileType: mobileType = type === "popover" ? "modal" : type, hideArrow: hideArrow, targetRef: targetRef, isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, ...positionProps } = props;
38
- if (!Array.isArray(children) || children.length > 2) throw new Error("DialogTrigger must have exactly 2 children");
37
+ let { children: children, type: type = 'modal', mobileType: mobileType = type === 'popover' ? 'modal' : type, hideArrow: hideArrow, targetRef: targetRef, isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, ...positionProps } = props;
38
+ if (!Array.isArray(children) || children.length > 2) throw new Error('DialogTrigger must have exactly 2 children');
39
39
  // if a function is passed as the second child, it won't appear in toArray
40
40
  let [trigger, content] = children;
41
41
  // On small devices, show a modal or tray instead of a popover.
42
42
  let isMobile = (0, $7xftW$reactspectrumutils.useIsMobileDevice)();
43
43
  if (isMobile) {
44
44
  // handle cases where desktop popovers need a close button for the mobile modal view
45
- if (type !== "modal" && mobileType === "modal") isDismissable = true;
45
+ if (type !== 'modal' && mobileType === 'modal') isDismissable = true;
46
46
  type = mobileType;
47
47
  }
48
48
  let state = (0, $7xftW$reactstatelyoverlays.useOverlayTriggerState)(props);
@@ -58,11 +58,11 @@ function $46e54a192dc519c9$var$DialogTrigger(props) {
58
58
  // eslint-disable-next-line arrow-body-style
59
59
  (0, $7xftW$react.useEffect)(()=>{
60
60
  return ()=>{
61
- 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.");
61
+ 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.');
62
62
  };
63
63
  // eslint-disable-next-line react-hooks/exhaustive-deps
64
64
  }, []);
65
- if (type === "popover") return /*#__PURE__*/ (0, ($parcel$interopDefault($7xftW$react))).createElement($46e54a192dc519c9$var$PopoverTrigger, {
65
+ if (type === 'popover') return /*#__PURE__*/ (0, ($parcel$interopDefault($7xftW$react))).createElement($46e54a192dc519c9$var$PopoverTrigger, {
66
66
  ...positionProps,
67
67
  state: state,
68
68
  targetRef: targetRef,
@@ -73,22 +73,22 @@ function $46e54a192dc519c9$var$DialogTrigger(props) {
73
73
  });
74
74
  let renderOverlay = ()=>{
75
75
  switch(type){
76
- case "fullscreen":
77
- case "fullscreenTakeover":
78
- case "modal":
76
+ case 'fullscreen':
77
+ case 'fullscreenTakeover':
78
+ case 'modal':
79
79
  return /*#__PURE__*/ (0, ($parcel$interopDefault($7xftW$react))).createElement((0, $7xftW$reactspectrumoverlays.Modal), {
80
80
  state: state,
81
- isDismissable: type === "modal" ? isDismissable : false,
81
+ isDismissable: type === 'modal' ? isDismissable : false,
82
82
  type: type,
83
83
  isKeyboardDismissDisabled: isKeyboardDismissDisabled,
84
84
  onExiting: onExiting,
85
85
  onExited: onExited
86
- }, typeof content === "function" ? content(state.close) : content);
87
- case "tray":
86
+ }, typeof content === 'function' ? content(state.close) : content);
87
+ case 'tray':
88
88
  return /*#__PURE__*/ (0, ($parcel$interopDefault($7xftW$react))).createElement((0, $7xftW$reactspectrumoverlays.Tray), {
89
89
  state: state,
90
90
  isKeyboardDismissDisabled: isKeyboardDismissDisabled
91
- }, typeof content === "function" ? content(state.close) : content);
91
+ }, typeof content === 'function' ? content(state.close) : content);
92
92
  }
93
93
  };
94
94
  return /*#__PURE__*/ (0, ($parcel$interopDefault($7xftW$react))).createElement($46e54a192dc519c9$var$DialogTriggerBase, {
@@ -121,7 +121,7 @@ let $46e54a192dc519c9$export$2e1e1122cf0cba88 = $46e54a192dc519c9$var$DialogTrig
121
121
  function $46e54a192dc519c9$var$PopoverTrigger({ state: state, targetRef: targetRef, trigger: trigger, content: content, hideArrow: hideArrow, ...props }) {
122
122
  let triggerRef = (0, $7xftW$react.useRef)(null);
123
123
  let { triggerProps: triggerProps, overlayProps: overlayProps } = (0, $7xftW$reactariaoverlays.useOverlayTrigger)({
124
- type: "dialog"
124
+ type: 'dialog'
125
125
  }, state, triggerRef);
126
126
  let triggerPropsWithRef = {
127
127
  ...triggerProps,
@@ -132,7 +132,7 @@ function $46e54a192dc519c9$var$PopoverTrigger({ state: state, targetRef: targetR
132
132
  hideArrow: hideArrow,
133
133
  triggerRef: targetRef || triggerRef,
134
134
  state: state
135
- }, typeof content === "function" ? content(state.close) : content);
135
+ }, typeof content === 'function' ? content(state.close) : content);
136
136
  return /*#__PURE__*/ (0, ($parcel$interopDefault($7xftW$react))).createElement($46e54a192dc519c9$var$DialogTriggerBase, {
137
137
  type: "popover",
138
138
  state: state,
@@ -152,7 +152,7 @@ function $46e54a192dc519c9$var$DialogTriggerBase({ type: type, state: state, isD
152
152
  return /*#__PURE__*/ (0, ($parcel$interopDefault($7xftW$react))).createElement((0, $7xftW$react.Fragment), null, /*#__PURE__*/ (0, ($parcel$interopDefault($7xftW$react))).createElement((0, $7xftW$reactariainteractions.PressResponder), {
153
153
  ...triggerProps,
154
154
  onPress: state.toggle,
155
- isPressed: state.isOpen && type !== "modal" && type !== "fullscreen" && type !== "fullscreenTakeover"
155
+ isPressed: state.isOpen && type !== 'modal' && type !== 'fullscreen' && type !== 'fullscreenTakeover'
156
156
  }, trigger), /*#__PURE__*/ (0, ($parcel$interopDefault($7xftW$react))).createElement((0, $0eb909ad2388d989$exports.DialogContext).Provider, {
157
157
  value: context
158
158
  }, overlay));
@@ -24,15 +24,15 @@ import {useOverlayTrigger as $jYq0n$useOverlayTrigger} from "@react-aria/overlay
24
24
 
25
25
 
26
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");
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
29
  // if a function is passed as the second child, it won't appear in toArray
30
30
  let [trigger, content] = children;
31
31
  // On small devices, show a modal or tray instead of a popover.
32
32
  let isMobile = (0, $jYq0n$useIsMobileDevice)();
33
33
  if (isMobile) {
34
34
  // handle cases where desktop popovers need a close button for the mobile modal view
35
- if (type !== "modal" && mobileType === "modal") isDismissable = true;
35
+ if (type !== 'modal' && mobileType === 'modal') isDismissable = true;
36
36
  type = mobileType;
37
37
  }
38
38
  let state = (0, $jYq0n$useOverlayTriggerState)(props);
@@ -48,11 +48,11 @@ function $c412c5ea680c1e4f$var$DialogTrigger(props) {
48
48
  // eslint-disable-next-line arrow-body-style
49
49
  (0, $jYq0n$useEffect)(()=>{
50
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.");
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
52
  };
53
53
  // eslint-disable-next-line react-hooks/exhaustive-deps
54
54
  }, []);
55
- if (type === "popover") return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$PopoverTrigger, {
55
+ if (type === 'popover') return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$PopoverTrigger, {
56
56
  ...positionProps,
57
57
  state: state,
58
58
  targetRef: targetRef,
@@ -63,22 +63,22 @@ function $c412c5ea680c1e4f$var$DialogTrigger(props) {
63
63
  });
64
64
  let renderOverlay = ()=>{
65
65
  switch(type){
66
- case "fullscreen":
67
- case "fullscreenTakeover":
68
- case "modal":
66
+ case 'fullscreen':
67
+ case 'fullscreenTakeover':
68
+ case 'modal':
69
69
  return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Modal), {
70
70
  state: state,
71
- isDismissable: type === "modal" ? isDismissable : false,
71
+ isDismissable: type === 'modal' ? isDismissable : false,
72
72
  type: type,
73
73
  isKeyboardDismissDisabled: isKeyboardDismissDisabled,
74
74
  onExiting: onExiting,
75
75
  onExited: onExited
76
- }, typeof content === "function" ? content(state.close) : content);
77
- case "tray":
76
+ }, typeof content === 'function' ? content(state.close) : content);
77
+ case 'tray':
78
78
  return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Tray), {
79
79
  state: state,
80
80
  isKeyboardDismissDisabled: isKeyboardDismissDisabled
81
- }, typeof content === "function" ? content(state.close) : content);
81
+ }, typeof content === 'function' ? content(state.close) : content);
82
82
  }
83
83
  };
84
84
  return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$DialogTriggerBase, {
@@ -111,7 +111,7 @@ let $c412c5ea680c1e4f$export$2e1e1122cf0cba88 = $c412c5ea680c1e4f$var$DialogTrig
111
111
  function $c412c5ea680c1e4f$var$PopoverTrigger({ state: state, targetRef: targetRef, trigger: trigger, content: content, hideArrow: hideArrow, ...props }) {
112
112
  let triggerRef = (0, $jYq0n$useRef)(null);
113
113
  let { triggerProps: triggerProps, overlayProps: overlayProps } = (0, $jYq0n$useOverlayTrigger)({
114
- type: "dialog"
114
+ type: 'dialog'
115
115
  }, state, triggerRef);
116
116
  let triggerPropsWithRef = {
117
117
  ...triggerProps,
@@ -122,7 +122,7 @@ function $c412c5ea680c1e4f$var$PopoverTrigger({ state: state, targetRef: targetR
122
122
  hideArrow: hideArrow,
123
123
  triggerRef: targetRef || triggerRef,
124
124
  state: state
125
- }, typeof content === "function" ? content(state.close) : content);
125
+ }, typeof content === 'function' ? content(state.close) : content);
126
126
  return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$DialogTriggerBase, {
127
127
  type: "popover",
128
128
  state: state,
@@ -142,7 +142,7 @@ function $c412c5ea680c1e4f$var$DialogTriggerBase({ type: type, state: state, isD
142
142
  return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Fragment), null, /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$PressResponder), {
143
143
  ...triggerProps,
144
144
  onPress: state.toggle,
145
- isPressed: state.isOpen && type !== "modal" && type !== "fullscreen" && type !== "fullscreenTakeover"
145
+ isPressed: state.isOpen && type !== 'modal' && type !== 'fullscreen' && type !== 'fullscreenTakeover'
146
146
  }, trigger), /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $97b119e05830ea0d$export$8b93a07348a7730c).Provider, {
147
147
  value: context
148
148
  }, overlay));
@@ -150,4 +150,4 @@ function $c412c5ea680c1e4f$var$DialogTriggerBase({ type: type, state: state, isD
150
150
 
151
151
 
152
152
  export {$c412c5ea680c1e4f$export$2e1e1122cf0cba88 as DialogTrigger};
153
- //# sourceMappingURL=DialogTrigger.mjs.map
153
+ //# sourceMappingURL=DialogTrigger.module.js.map
@@ -24,15 +24,15 @@ import {useOverlayTrigger as $jYq0n$useOverlayTrigger} from "@react-aria/overlay
24
24
 
25
25
 
26
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");
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
29
  // if a function is passed as the second child, it won't appear in toArray
30
30
  let [trigger, content] = children;
31
31
  // On small devices, show a modal or tray instead of a popover.
32
32
  let isMobile = (0, $jYq0n$useIsMobileDevice)();
33
33
  if (isMobile) {
34
34
  // handle cases where desktop popovers need a close button for the mobile modal view
35
- if (type !== "modal" && mobileType === "modal") isDismissable = true;
35
+ if (type !== 'modal' && mobileType === 'modal') isDismissable = true;
36
36
  type = mobileType;
37
37
  }
38
38
  let state = (0, $jYq0n$useOverlayTriggerState)(props);
@@ -48,11 +48,11 @@ function $c412c5ea680c1e4f$var$DialogTrigger(props) {
48
48
  // eslint-disable-next-line arrow-body-style
49
49
  (0, $jYq0n$useEffect)(()=>{
50
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.");
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
52
  };
53
53
  // eslint-disable-next-line react-hooks/exhaustive-deps
54
54
  }, []);
55
- if (type === "popover") return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$PopoverTrigger, {
55
+ if (type === 'popover') return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$PopoverTrigger, {
56
56
  ...positionProps,
57
57
  state: state,
58
58
  targetRef: targetRef,
@@ -63,22 +63,22 @@ function $c412c5ea680c1e4f$var$DialogTrigger(props) {
63
63
  });
64
64
  let renderOverlay = ()=>{
65
65
  switch(type){
66
- case "fullscreen":
67
- case "fullscreenTakeover":
68
- case "modal":
66
+ case 'fullscreen':
67
+ case 'fullscreenTakeover':
68
+ case 'modal':
69
69
  return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Modal), {
70
70
  state: state,
71
- isDismissable: type === "modal" ? isDismissable : false,
71
+ isDismissable: type === 'modal' ? isDismissable : false,
72
72
  type: type,
73
73
  isKeyboardDismissDisabled: isKeyboardDismissDisabled,
74
74
  onExiting: onExiting,
75
75
  onExited: onExited
76
- }, typeof content === "function" ? content(state.close) : content);
77
- case "tray":
76
+ }, typeof content === 'function' ? content(state.close) : content);
77
+ case 'tray':
78
78
  return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Tray), {
79
79
  state: state,
80
80
  isKeyboardDismissDisabled: isKeyboardDismissDisabled
81
- }, typeof content === "function" ? content(state.close) : content);
81
+ }, typeof content === 'function' ? content(state.close) : content);
82
82
  }
83
83
  };
84
84
  return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$DialogTriggerBase, {
@@ -111,7 +111,7 @@ let $c412c5ea680c1e4f$export$2e1e1122cf0cba88 = $c412c5ea680c1e4f$var$DialogTrig
111
111
  function $c412c5ea680c1e4f$var$PopoverTrigger({ state: state, targetRef: targetRef, trigger: trigger, content: content, hideArrow: hideArrow, ...props }) {
112
112
  let triggerRef = (0, $jYq0n$useRef)(null);
113
113
  let { triggerProps: triggerProps, overlayProps: overlayProps } = (0, $jYq0n$useOverlayTrigger)({
114
- type: "dialog"
114
+ type: 'dialog'
115
115
  }, state, triggerRef);
116
116
  let triggerPropsWithRef = {
117
117
  ...triggerProps,
@@ -122,7 +122,7 @@ function $c412c5ea680c1e4f$var$PopoverTrigger({ state: state, targetRef: targetR
122
122
  hideArrow: hideArrow,
123
123
  triggerRef: targetRef || triggerRef,
124
124
  state: state
125
- }, typeof content === "function" ? content(state.close) : content);
125
+ }, typeof content === 'function' ? content(state.close) : content);
126
126
  return /*#__PURE__*/ (0, $jYq0n$react).createElement($c412c5ea680c1e4f$var$DialogTriggerBase, {
127
127
  type: "popover",
128
128
  state: state,
@@ -142,7 +142,7 @@ function $c412c5ea680c1e4f$var$DialogTriggerBase({ type: type, state: state, isD
142
142
  return /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$Fragment), null, /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $jYq0n$PressResponder), {
143
143
  ...triggerProps,
144
144
  onPress: state.toggle,
145
- isPressed: state.isOpen && type !== "modal" && type !== "fullscreen" && type !== "fullscreenTakeover"
145
+ isPressed: state.isOpen && type !== 'modal' && type !== 'fullscreen' && type !== 'fullscreenTakeover'
146
146
  }, trigger), /*#__PURE__*/ (0, $jYq0n$react).createElement((0, $97b119e05830ea0d$export$8b93a07348a7730c).Provider, {
147
147
  value: context
148
148
  }, overlay));
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.mjs.map
9
+ //# sourceMappingURL=ar-AE.module.js.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.mjs.map
9
+ //# sourceMappingURL=bg-BG.module.js.map
package/dist/context.mjs CHANGED
@@ -15,4 +15,4 @@ const $97b119e05830ea0d$export$8b93a07348a7730c = (0, $45eP0$react).createContex
15
15
 
16
16
 
17
17
  export {$97b119e05830ea0d$export$8b93a07348a7730c as DialogContext};
18
- //# sourceMappingURL=context.mjs.map
18
+ //# sourceMappingURL=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.mjs.map
9
+ //# sourceMappingURL=cs-CZ.module.js.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.mjs.map
9
+ //# sourceMappingURL=da-DK.module.js.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.mjs.map
9
+ //# sourceMappingURL=de-DE.module.js.map
@@ -160,4 +160,4 @@ $78859b019f1ff3c5$export$b050c62b00f90727 = `h_OVWW_typeIcon-end`;
160
160
 
161
161
 
162
162
  export {$78859b019f1ff3c5$exports as default};
163
- //# sourceMappingURL=dialog_vars_css.mjs.map
163
+ //# sourceMappingURL=dialog_vars_css.module.js.map
package/dist/el-GR.mjs CHANGED
@@ -6,4 +6,4 @@ $1704ee735c76afc9$exports = {
6
6
 
7
7
 
8
8
  export {$1704ee735c76afc9$exports as default};
9
- //# sourceMappingURL=el-GR.mjs.map
9
+ //# sourceMappingURL=el-GR.module.js.map
package/dist/en-US.mjs CHANGED
@@ -6,4 +6,4 @@ $0cb312c2797e7a68$exports = {
6
6
 
7
7
 
8
8
  export {$0cb312c2797e7a68$exports as default};
9
- //# sourceMappingURL=en-US.mjs.map
9
+ //# sourceMappingURL=en-US.module.js.map
package/dist/es-ES.mjs CHANGED
@@ -6,4 +6,4 @@ $95df037910b72a83$exports = {
6
6
 
7
7
 
8
8
  export {$95df037910b72a83$exports as default};
9
- //# sourceMappingURL=es-ES.mjs.map
9
+ //# sourceMappingURL=es-ES.module.js.map
package/dist/et-EE.mjs CHANGED
@@ -6,4 +6,4 @@ $9e83f2ab3a156c72$exports = {
6
6
 
7
7
 
8
8
  export {$9e83f2ab3a156c72$exports as default};
9
- //# sourceMappingURL=et-EE.mjs.map
9
+ //# sourceMappingURL=et-EE.module.js.map
package/dist/fi-FI.mjs CHANGED
@@ -6,4 +6,4 @@ $f0c4e76101f61910$exports = {
6
6
 
7
7
 
8
8
  export {$f0c4e76101f61910$exports as default};
9
- //# sourceMappingURL=fi-FI.mjs.map
9
+ //# sourceMappingURL=fi-FI.module.js.map
package/dist/fr-FR.mjs CHANGED
@@ -6,4 +6,4 @@ $0e0388177f2c7eb2$exports = {
6
6
 
7
7
 
8
8
  export {$0e0388177f2c7eb2$exports as default};
9
- //# sourceMappingURL=fr-FR.mjs.map
9
+ //# sourceMappingURL=fr-FR.module.js.map
package/dist/he-IL.mjs CHANGED
@@ -6,4 +6,4 @@ $fd928d81cf33984c$exports = {
6
6
 
7
7
 
8
8
  export {$fd928d81cf33984c$exports as default};
9
- //# sourceMappingURL=he-IL.mjs.map
9
+ //# sourceMappingURL=he-IL.module.js.map
package/dist/hr-HR.mjs CHANGED
@@ -6,4 +6,4 @@ $17a3672f010e4055$exports = {
6
6
 
7
7
 
8
8
  export {$17a3672f010e4055$exports as default};
9
- //# sourceMappingURL=hr-HR.mjs.map
9
+ //# sourceMappingURL=hr-HR.module.js.map
package/dist/hu-HU.mjs CHANGED
@@ -6,4 +6,4 @@ $43993547bd42ef6e$exports = {
6
6
 
7
7
 
8
8
  export {$43993547bd42ef6e$exports as default};
9
- //# sourceMappingURL=hu-HU.mjs.map
9
+ //# sourceMappingURL=hu-HU.module.js.map
@@ -107,4 +107,4 @@ $f3fff851f5cc5a1e$exports = {
107
107
 
108
108
 
109
109
  export {$f3fff851f5cc5a1e$exports as default};
110
- //# sourceMappingURL=intlStrings.mjs.map
110
+ //# sourceMappingURL=intlStrings.module.js.map
package/dist/it-IT.mjs CHANGED
@@ -6,4 +6,4 @@ $fca04de68cb5ade1$exports = {
6
6
 
7
7
 
8
8
  export {$fca04de68cb5ade1$exports as default};
9
- //# sourceMappingURL=it-IT.mjs.map
9
+ //# sourceMappingURL=it-IT.module.js.map
package/dist/ja-JP.mjs CHANGED
@@ -6,4 +6,4 @@ $0d47eca4edb370b0$exports = {
6
6
 
7
7
 
8
8
  export {$0d47eca4edb370b0$exports as default};
9
- //# sourceMappingURL=ja-JP.mjs.map
9
+ //# sourceMappingURL=ja-JP.module.js.map
package/dist/ko-KR.mjs CHANGED
@@ -6,4 +6,4 @@ $d791c4a431b7a587$exports = {
6
6
 
7
7
 
8
8
  export {$d791c4a431b7a587$exports as default};
9
- //# sourceMappingURL=ko-KR.mjs.map
9
+ //# sourceMappingURL=ko-KR.module.js.map
package/dist/lt-LT.mjs CHANGED
@@ -6,4 +6,4 @@ $35175b1ad320fcc1$exports = {
6
6
 
7
7
 
8
8
  export {$35175b1ad320fcc1$exports as default};
9
- //# sourceMappingURL=lt-LT.mjs.map
9
+ //# sourceMappingURL=lt-LT.module.js.map
package/dist/lv-LV.mjs CHANGED
@@ -6,4 +6,4 @@ $b9d08f9d50543ce2$exports = {
6
6
 
7
7
 
8
8
  export {$b9d08f9d50543ce2$exports as default};
9
- //# sourceMappingURL=lv-LV.mjs.map
9
+ //# sourceMappingURL=lv-LV.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.mjs.map
9
+ //# sourceMappingURL=nb-NO.module.js.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.mjs.map
9
+ //# sourceMappingURL=nl-NL.module.js.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.mjs.map
9
+ //# sourceMappingURL=pl-PL.module.js.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.mjs.map
9
+ //# sourceMappingURL=pt-BR.module.js.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.mjs.map
9
+ //# sourceMappingURL=pt-PT.module.js.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.mjs.map
9
+ //# sourceMappingURL=ro-RO.module.js.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.mjs.map
9
+ //# sourceMappingURL=ru-RU.module.js.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.mjs.map
9
+ //# sourceMappingURL=sk-SK.module.js.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.mjs.map
9
+ //# sourceMappingURL=sl-SI.module.js.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.mjs.map
9
+ //# sourceMappingURL=sr-SP.module.js.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.mjs.map
9
+ //# sourceMappingURL=sv-SE.module.js.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.mjs.map
9
+ //# sourceMappingURL=tr-TR.module.js.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.mjs.map
9
+ //# sourceMappingURL=uk-UA.module.js.map
@@ -21,7 +21,7 @@ $parcel$export(module.exports, "useDialogContainer", () => $1f05ce3abe26c4cc$exp
21
21
 
22
22
  function $1f05ce3abe26c4cc$export$a2f2d8fa6720dab1() {
23
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>.");
24
+ if (!context) throw new Error('Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.');
25
25
  return {
26
26
  type: context.type,
27
27
  dismiss () {
@@ -15,7 +15,7 @@ import {useContext as $8u5hv$useContext} from "react";
15
15
 
16
16
  function $faffee7da30e8f89$export$a2f2d8fa6720dab1() {
17
17
  let context = (0, $8u5hv$useContext)((0, $97b119e05830ea0d$export$8b93a07348a7730c));
18
- if (!context) throw new Error("Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.");
18
+ if (!context) throw new Error('Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.');
19
19
  return {
20
20
  type: context.type,
21
21
  dismiss () {
@@ -26,4 +26,4 @@ function $faffee7da30e8f89$export$a2f2d8fa6720dab1() {
26
26
 
27
27
 
28
28
  export {$faffee7da30e8f89$export$a2f2d8fa6720dab1 as useDialogContainer};
29
- //# sourceMappingURL=useDialogContainer.mjs.map
29
+ //# sourceMappingURL=useDialogContainer.module.js.map
@@ -15,7 +15,7 @@ import {useContext as $8u5hv$useContext} from "react";
15
15
 
16
16
  function $faffee7da30e8f89$export$a2f2d8fa6720dab1() {
17
17
  let context = (0, $8u5hv$useContext)((0, $97b119e05830ea0d$export$8b93a07348a7730c));
18
- if (!context) throw new Error("Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.");
18
+ if (!context) throw new Error('Cannot call useDialogContext outside a <DialogTrigger> or <DialogContainer>.');
19
19
  return {
20
20
  type: context.type,
21
21
  dismiss () {
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.mjs.map
9
+ //# sourceMappingURL=zh-CN.module.js.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.mjs.map
9
+ //# sourceMappingURL=zh-TW.module.js.map