@ariakit/react-core 0.2.5 → 0.2.7

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 (240) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/button/button/package.json +2 -1
  3. package/checkbox/checkbox/package.json +2 -1
  4. package/checkbox/checkbox-check/package.json +2 -1
  5. package/checkbox/checkbox-checked-context/package.json +2 -1
  6. package/checkbox/checkbox-store/package.json +2 -1
  7. package/cjs/__chunks/{W2HT5JVG.cjs → 5XCV5EYC.cjs} +2 -2
  8. package/cjs/__chunks/{GAXSMBTE.cjs → 7F62IPL4.cjs} +5 -5
  9. package/cjs/__chunks/{7N3VSG4A.cjs → H3K4JFZO.cjs} +3 -3
  10. package/cjs/__chunks/{COSA3K2S.cjs → IUR52EVR.cjs} +6 -4
  11. package/cjs/__chunks/JV2X54UE.cjs +96 -0
  12. package/cjs/__chunks/{ZHJT7NZK.cjs → KBAUXTTH.cjs} +26 -21
  13. package/cjs/__chunks/{4OHV3LC4.cjs → LWKIYVKL.cjs} +4 -6
  14. package/cjs/__chunks/{HNCLPSSV.cjs → NRIAM6MC.cjs} +2 -2
  15. package/cjs/__chunks/{JRMMZABK.cjs → OQ7OHY6L.cjs} +4 -2
  16. package/cjs/__chunks/{YEIYG56F.cjs → RYACMEZB.cjs} +6 -6
  17. package/cjs/__chunks/{6EZOH2LA.cjs → VGYBL6X3.cjs} +2 -2
  18. package/cjs/combobox/combobox-popover.cjs +11 -11
  19. package/cjs/composite/composite-overflow.cjs +11 -11
  20. package/cjs/dialog/dialog-backdrop.cjs +4 -4
  21. package/cjs/dialog/dialog.cjs +10 -10
  22. package/cjs/dialog/utils/disable-accessibility-tree-outside.cjs +3 -3
  23. package/cjs/dialog/utils/disable-tree-outside.cjs +4 -4
  24. package/cjs/dialog/utils/mark-tree-outside.cjs +3 -3
  25. package/cjs/dialog/utils/orchestrate.cjs +2 -2
  26. package/cjs/dialog/utils/orchestrate.d.ts +2 -2
  27. package/cjs/dialog/utils/use-hide-on-interact-outside.cjs +4 -4
  28. package/cjs/dialog/utils/use-nested-dialogs.cjs +2 -2
  29. package/cjs/dialog/utils/use-nested-dialogs.d.ts +1 -1
  30. package/cjs/dialog/utils/use-prevent-body-scroll.cjs +3 -3
  31. package/cjs/hovercard/hovercard.cjs +12 -12
  32. package/cjs/menu/menu.cjs +12 -12
  33. package/cjs/popover/popover.cjs +11 -11
  34. package/cjs/select/select-popover.cjs +11 -11
  35. package/cjs/tooltip/tooltip.cjs +12 -12
  36. package/cjs/tsconfig.build.tsbuildinfo +1 -1
  37. package/collection/collection/package.json +2 -1
  38. package/collection/collection-context/package.json +2 -1
  39. package/collection/collection-item/package.json +2 -1
  40. package/collection/collection-store/package.json +2 -1
  41. package/combobox/combobox/package.json +2 -1
  42. package/combobox/combobox-cancel/package.json +2 -1
  43. package/combobox/combobox-context/package.json +2 -1
  44. package/combobox/combobox-disclosure/package.json +2 -1
  45. package/combobox/combobox-group/package.json +2 -1
  46. package/combobox/combobox-group-label/package.json +2 -1
  47. package/combobox/combobox-item/package.json +2 -1
  48. package/combobox/combobox-item-value/package.json +2 -1
  49. package/combobox/combobox-list/package.json +2 -1
  50. package/combobox/combobox-popover/package.json +2 -1
  51. package/combobox/combobox-row/package.json +2 -1
  52. package/combobox/combobox-separator/package.json +2 -1
  53. package/combobox/combobox-store/package.json +2 -1
  54. package/command/command/package.json +2 -1
  55. package/composite/composite/package.json +2 -1
  56. package/composite/composite-container/package.json +2 -1
  57. package/composite/composite-context/package.json +2 -1
  58. package/composite/composite-group/package.json +2 -1
  59. package/composite/composite-group-label/package.json +2 -1
  60. package/composite/composite-hover/package.json +2 -1
  61. package/composite/composite-input/package.json +2 -1
  62. package/composite/composite-item/package.json +2 -1
  63. package/composite/composite-overflow/package.json +2 -1
  64. package/composite/composite-overflow-disclosure/package.json +2 -1
  65. package/composite/composite-overflow-store/package.json +2 -1
  66. package/composite/composite-row/package.json +2 -1
  67. package/composite/composite-separator/package.json +2 -1
  68. package/composite/composite-store/package.json +2 -1
  69. package/composite/composite-typeahead/package.json +2 -1
  70. package/composite/utils/package.json +2 -1
  71. package/dialog/dialog/package.json +2 -1
  72. package/dialog/dialog-backdrop/package.json +2 -1
  73. package/dialog/dialog-context/package.json +2 -1
  74. package/dialog/dialog-description/package.json +2 -1
  75. package/dialog/dialog-disclosure/package.json +2 -1
  76. package/dialog/dialog-dismiss/package.json +2 -1
  77. package/dialog/dialog-heading/package.json +2 -1
  78. package/dialog/dialog-store/package.json +2 -1
  79. package/dialog/utils/disable-accessibility-tree-outside/package.json +2 -1
  80. package/dialog/utils/disable-tree-outside/package.json +2 -1
  81. package/dialog/utils/is-backdrop/package.json +2 -1
  82. package/dialog/utils/mark-tree-outside/package.json +2 -1
  83. package/dialog/utils/orchestrate/package.json +2 -1
  84. package/dialog/utils/prepend-hidden-dismiss/package.json +2 -1
  85. package/dialog/utils/supports-inert/package.json +2 -1
  86. package/dialog/utils/use-hide-on-interact-outside/package.json +2 -1
  87. package/dialog/utils/use-nested-dialogs/package.json +2 -1
  88. package/dialog/utils/use-prevent-body-scroll/package.json +2 -1
  89. package/dialog/utils/use-previous-mouse-down-ref/package.json +2 -1
  90. package/dialog/utils/walk-tree-outside/package.json +2 -1
  91. package/disclosure/disclosure/package.json +2 -1
  92. package/disclosure/disclosure-content/package.json +2 -1
  93. package/disclosure/disclosure-store/package.json +2 -1
  94. package/esm/__chunks/{EKB2TUKR.js → 265D6T7T.js} +1 -1
  95. package/esm/__chunks/{NOIOBRWH.js → 4D3OGBNH.js} +4 -2
  96. package/esm/__chunks/{ZWS67PVZ.js → 4V6VYUH3.js} +1 -1
  97. package/esm/__chunks/{HIZJQGB5.js → 5VTQ6DZF.js} +1 -1
  98. package/esm/__chunks/{4GMZGYHX.js → CKSO3V6B.js} +2 -2
  99. package/esm/__chunks/{LMWFU6EQ.js → EMR324FL.js} +1 -3
  100. package/esm/__chunks/{4OUEWDQI.js → IZU5PNP2.js} +17 -12
  101. package/esm/__chunks/{3DWMKQHI.js → OJHPXVNR.js} +5 -3
  102. package/esm/__chunks/T6V23Y6E.js +96 -0
  103. package/esm/__chunks/{ACAQG6DN.js → TJKNVC7W.js} +1 -1
  104. package/esm/__chunks/{H2CSFGIT.js → UPKA4QN5.js} +1 -1
  105. package/esm/combobox/combobox-popover.js +10 -10
  106. package/esm/composite/composite-overflow.js +10 -10
  107. package/esm/dialog/dialog-backdrop.js +3 -3
  108. package/esm/dialog/dialog.js +9 -9
  109. package/esm/dialog/utils/disable-accessibility-tree-outside.js +2 -2
  110. package/esm/dialog/utils/disable-tree-outside.js +3 -3
  111. package/esm/dialog/utils/mark-tree-outside.js +2 -2
  112. package/esm/dialog/utils/orchestrate.d.ts +2 -2
  113. package/esm/dialog/utils/orchestrate.js +1 -1
  114. package/esm/dialog/utils/use-hide-on-interact-outside.js +3 -3
  115. package/esm/dialog/utils/use-nested-dialogs.d.ts +1 -1
  116. package/esm/dialog/utils/use-nested-dialogs.js +1 -1
  117. package/esm/dialog/utils/use-prevent-body-scroll.js +2 -2
  118. package/esm/hovercard/hovercard.js +11 -11
  119. package/esm/menu/menu.js +11 -11
  120. package/esm/popover/popover.js +10 -10
  121. package/esm/select/select-popover.js +10 -10
  122. package/esm/tooltip/tooltip.js +11 -11
  123. package/esm/tsconfig.build.tsbuildinfo +1 -1
  124. package/focus-trap/focus-trap/package.json +2 -1
  125. package/focus-trap/focus-trap-region/package.json +2 -1
  126. package/focusable/focusable/package.json +2 -1
  127. package/focusable/focusable-container/package.json +2 -1
  128. package/focusable/focusable-context/package.json +2 -1
  129. package/form/form/package.json +2 -1
  130. package/form/form-checkbox/package.json +2 -1
  131. package/form/form-context/package.json +2 -1
  132. package/form/form-description/package.json +2 -1
  133. package/form/form-error/package.json +2 -1
  134. package/form/form-field/package.json +2 -1
  135. package/form/form-group/package.json +2 -1
  136. package/form/form-group-label/package.json +2 -1
  137. package/form/form-input/package.json +2 -1
  138. package/form/form-label/package.json +2 -1
  139. package/form/form-push/package.json +2 -1
  140. package/form/form-radio/package.json +2 -1
  141. package/form/form-radio-group/package.json +2 -1
  142. package/form/form-remove/package.json +2 -1
  143. package/form/form-reset/package.json +2 -1
  144. package/form/form-store/package.json +2 -1
  145. package/form/form-submit/package.json +2 -1
  146. package/group/group/package.json +2 -1
  147. package/group/group-label/package.json +2 -1
  148. package/group/group-label-context/package.json +2 -1
  149. package/heading/heading/package.json +2 -1
  150. package/heading/heading-context/package.json +2 -1
  151. package/heading/heading-level/package.json +2 -1
  152. package/heading/utils/package.json +2 -1
  153. package/hovercard/hovercard/package.json +2 -1
  154. package/hovercard/hovercard-anchor/package.json +2 -1
  155. package/hovercard/hovercard-arrow/package.json +2 -1
  156. package/hovercard/hovercard-description/package.json +2 -1
  157. package/hovercard/hovercard-disclosure/package.json +2 -1
  158. package/hovercard/hovercard-dismiss/package.json +2 -1
  159. package/hovercard/hovercard-heading/package.json +2 -1
  160. package/hovercard/hovercard-store/package.json +2 -1
  161. package/hovercard/utils/debug-polygon/package.json +2 -1
  162. package/hovercard/utils/polygon/package.json +2 -1
  163. package/menu/menu/package.json +2 -1
  164. package/menu/menu-arrow/package.json +2 -1
  165. package/menu/menu-bar/package.json +2 -1
  166. package/menu/menu-bar-store/package.json +2 -1
  167. package/menu/menu-button/package.json +2 -1
  168. package/menu/menu-button-arrow/package.json +2 -1
  169. package/menu/menu-context/package.json +2 -1
  170. package/menu/menu-description/package.json +2 -1
  171. package/menu/menu-dismiss/package.json +2 -1
  172. package/menu/menu-group/package.json +2 -1
  173. package/menu/menu-group-label/package.json +2 -1
  174. package/menu/menu-heading/package.json +2 -1
  175. package/menu/menu-item/package.json +2 -1
  176. package/menu/menu-item-check/package.json +2 -1
  177. package/menu/menu-item-checkbox/package.json +2 -1
  178. package/menu/menu-item-radio/package.json +2 -1
  179. package/menu/menu-list/package.json +2 -1
  180. package/menu/menu-separator/package.json +2 -1
  181. package/menu/menu-store/package.json +2 -1
  182. package/menu/utils/package.json +2 -1
  183. package/package.json +2 -2
  184. package/popover/popover/package.json +2 -1
  185. package/popover/popover-anchor/package.json +2 -1
  186. package/popover/popover-arrow/package.json +2 -1
  187. package/popover/popover-arrow-path/package.json +2 -1
  188. package/popover/popover-context/package.json +2 -1
  189. package/popover/popover-description/package.json +2 -1
  190. package/popover/popover-disclosure/package.json +2 -1
  191. package/popover/popover-disclosure-arrow/package.json +2 -1
  192. package/popover/popover-dismiss/package.json +2 -1
  193. package/popover/popover-heading/package.json +2 -1
  194. package/popover/popover-store/package.json +2 -1
  195. package/portal/portal/package.json +2 -1
  196. package/portal/portal-context/package.json +2 -1
  197. package/radio/radio/package.json +2 -1
  198. package/radio/radio-context/package.json +2 -1
  199. package/radio/radio-group/package.json +2 -1
  200. package/radio/radio-store/package.json +2 -1
  201. package/role/role/package.json +2 -1
  202. package/select/select/package.json +2 -1
  203. package/select/select-arrow/package.json +2 -1
  204. package/select/select-context/package.json +2 -1
  205. package/select/select-group/package.json +2 -1
  206. package/select/select-group-label/package.json +2 -1
  207. package/select/select-item/package.json +2 -1
  208. package/select/select-item-check/package.json +2 -1
  209. package/select/select-label/package.json +2 -1
  210. package/select/select-list/package.json +2 -1
  211. package/select/select-popover/package.json +2 -1
  212. package/select/select-row/package.json +2 -1
  213. package/select/select-separator/package.json +2 -1
  214. package/select/select-store/package.json +2 -1
  215. package/separator/separator/package.json +2 -1
  216. package/tab/tab/package.json +2 -1
  217. package/tab/tab-context/package.json +2 -1
  218. package/tab/tab-list/package.json +2 -1
  219. package/tab/tab-panel/package.json +2 -1
  220. package/tab/tab-store/package.json +2 -1
  221. package/toolbar/toolbar/package.json +2 -1
  222. package/toolbar/toolbar-container/package.json +2 -1
  223. package/toolbar/toolbar-context/package.json +2 -1
  224. package/toolbar/toolbar-input/package.json +2 -1
  225. package/toolbar/toolbar-item/package.json +2 -1
  226. package/toolbar/toolbar-separator/package.json +2 -1
  227. package/toolbar/toolbar-store/package.json +2 -1
  228. package/tooltip/tooltip/package.json +2 -1
  229. package/tooltip/tooltip-anchor/package.json +2 -1
  230. package/tooltip/tooltip-arrow/package.json +2 -1
  231. package/tooltip/tooltip-context/package.json +2 -1
  232. package/tooltip/tooltip-store/package.json +2 -1
  233. package/utils/hooks/package.json +2 -1
  234. package/utils/misc/package.json +2 -1
  235. package/utils/store/package.json +2 -1
  236. package/utils/system/package.json +2 -1
  237. package/utils/types/package.json +2 -1
  238. package/visually-hidden/visually-hidden/package.json +2 -1
  239. package/cjs/__chunks/NR3SJH64.cjs +0 -90
  240. package/esm/__chunks/DJESYNLE.js +0 -90
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @ariakit/react-core
2
2
 
3
+ ## 0.2.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed deeply nested `Dialog` not removing the `inert` attribute from elements outside when closed. ([#2507](https://github.com/ariakit/ariakit/pull/2507))
8
+
9
+ ## 0.2.6
10
+
11
+ ### Patch Changes
12
+
13
+ - Added missing `types` field to proxy package.json files. ([#2489](https://github.com/ariakit/ariakit/pull/2489))
14
+
15
+ - Updated dependencies: `@ariakit/core@0.2.4`.
16
+
3
17
  ## 0.2.5
4
18
 
5
19
  ### Patch Changes
@@ -3,5 +3,6 @@
3
3
  "private": true,
4
4
  "sideEffects": false,
5
5
  "main": "../../cjs/button/button.cjs",
6
- "module": "../../esm/button/button.js"
6
+ "module": "../../esm/button/button.js",
7
+ "types": "../../cjs/button/button.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "private": true,
4
4
  "sideEffects": false,
5
5
  "main": "../../cjs/checkbox/checkbox.cjs",
6
- "module": "../../esm/checkbox/checkbox.js"
6
+ "module": "../../esm/checkbox/checkbox.js",
7
+ "types": "../../cjs/checkbox/checkbox.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "private": true,
4
4
  "sideEffects": false,
5
5
  "main": "../../cjs/checkbox/checkbox-check.cjs",
6
- "module": "../../esm/checkbox/checkbox-check.js"
6
+ "module": "../../esm/checkbox/checkbox-check.js",
7
+ "types": "../../cjs/checkbox/checkbox-check.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "private": true,
4
4
  "sideEffects": false,
5
5
  "main": "../../cjs/checkbox/checkbox-checked-context.cjs",
6
- "module": "../../esm/checkbox/checkbox-checked-context.js"
6
+ "module": "../../esm/checkbox/checkbox-checked-context.js",
7
+ "types": "../../cjs/checkbox/checkbox-checked-context.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "private": true,
4
4
  "sideEffects": false,
5
5
  "main": "../../cjs/checkbox/checkbox-store.cjs",
6
- "module": "../../esm/checkbox/checkbox-store.js"
6
+ "module": "../../esm/checkbox/checkbox-store.js",
7
+ "types": "../../cjs/checkbox/checkbox-store.d.ts"
7
8
  }
@@ -5,7 +5,7 @@
5
5
  var _OLGMV24Ucjs = require('./OLGMV24U.cjs');
6
6
 
7
7
 
8
- var _6EZOH2LAcjs = require('./6EZOH2LA.cjs');
8
+ var _VGYBL6X3cjs = require('./VGYBL6X3.cjs');
9
9
 
10
10
 
11
11
 
@@ -264,7 +264,7 @@ var useHovercard = _5U7AP6Y2cjs.createHook.call(void 0,
264
264
  });
265
265
  props = useAutoFocusOnHide(_6455U47Tcjs.__spreadValues.call(void 0, { store }, props));
266
266
  props = useAutoFocusOnShow(_6455U47Tcjs.__spreadValues.call(void 0, { store, modal }, props));
267
- props = _6EZOH2LAcjs.usePopover.call(void 0, _6455U47Tcjs.__spreadProps.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, {
267
+ props = _VGYBL6X3cjs.usePopover.call(void 0, _6455U47Tcjs.__spreadProps.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, {
268
268
  store,
269
269
  modal,
270
270
  portal
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _NR3SJH64cjs = require('./NR3SJH64.cjs');
3
+ var _JV2X54UEcjs = require('./JV2X54UE.cjs');
4
4
 
5
5
 
6
6
  var _TFOIZV2Vcjs = require('./TFOIZV2V.cjs');
@@ -12,14 +12,14 @@ function getPropertyName(id = "", ancestor = false) {
12
12
  }
13
13
  function markElement(element, id = "") {
14
14
  return _misc.chain.call(void 0,
15
- _NR3SJH64cjs.setProperty.call(void 0, element, getPropertyName(), true),
16
- _NR3SJH64cjs.setProperty.call(void 0, element, getPropertyName(id), true)
15
+ _JV2X54UEcjs.setProperty.call(void 0, element, getPropertyName(), true),
16
+ _JV2X54UEcjs.setProperty.call(void 0, element, getPropertyName(id), true)
17
17
  );
18
18
  }
19
19
  function markAncestor(element, id = "") {
20
20
  return _misc.chain.call(void 0,
21
- _NR3SJH64cjs.setProperty.call(void 0, element, getPropertyName("", true), true),
22
- _NR3SJH64cjs.setProperty.call(void 0, element, getPropertyName(id, true), true)
21
+ _JV2X54UEcjs.setProperty.call(void 0, element, getPropertyName("", true), true),
22
+ _JV2X54UEcjs.setProperty.call(void 0, element, getPropertyName(id, true), true)
23
23
  );
24
24
  }
25
25
  function isElementMarked(element, id) {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _GAXSMBTEcjs = require('./GAXSMBTE.cjs');
3
+ var _7F62IPL4cjs = require('./7F62IPL4.cjs');
4
4
 
5
5
 
6
6
  var _X2GXTE3Pcjs = require('./X2GXTE3P.cjs');
@@ -71,7 +71,7 @@ function useEventOutside({
71
71
  return;
72
72
  if (isMouseEventOnDialog(event, contentElement))
73
73
  return;
74
- if (!_GAXSMBTEcjs.isElementMarked.call(void 0, target, contentElement.id))
74
+ if (!_7F62IPL4cjs.isElementMarked.call(void 0, target, contentElement.id))
75
75
  return;
76
76
  callListener(event);
77
77
  };
@@ -97,7 +97,7 @@ function useHideOnInteractOutside(store, hideOnInteractOutside) {
97
97
  return;
98
98
  if (!_dom.isVisible.call(void 0, previousMouseDown))
99
99
  return;
100
- if (!_GAXSMBTEcjs.isElementMarked.call(void 0, previousMouseDown, contentElement == null ? void 0 : contentElement.id))
100
+ if (!_7F62IPL4cjs.isElementMarked.call(void 0, previousMouseDown, contentElement == null ? void 0 : contentElement.id))
101
101
  return;
102
102
  if (!shouldHideOnInteractOutside(hideOnInteractOutside, event))
103
103
  return;
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _GAXSMBTEcjs = require('./GAXSMBTE.cjs');
3
+ var _7F62IPL4cjs = require('./7F62IPL4.cjs');
4
4
 
5
5
 
6
6
  var _245ESIYYcjs = require('./245ESIYY.cjs');
@@ -53,18 +53,20 @@ function DialogBackdrop({
53
53
  const backdrop2 = ref.current;
54
54
  if (!backdrop2)
55
55
  return;
56
- return _GAXSMBTEcjs.markAncestor.call(void 0, backdrop2, id);
56
+ return _7F62IPL4cjs.markAncestor.call(void 0, backdrop2, id);
57
57
  }, [contentElement]);
58
58
  backdropProps = _react.isValidElement.call(void 0, backdrop) ? _6455U47Tcjs.__spreadValues.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, {
59
59
  ref: "ref" in backdrop ? backdrop.ref : void 0
60
60
  }, backdrop.props), backdropProps) : backdropProps;
61
+ if (hidden != null) {
62
+ backdropProps = _6455U47Tcjs.__spreadProps.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, {}, backdropProps), { hidden });
63
+ }
61
64
  const props = _5YBLVTWKcjs.useDisclosureContent.call(void 0, _6455U47Tcjs.__spreadProps.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, {
62
65
  store,
63
66
  id: void 0,
64
67
  role: "presentation",
65
68
  "data-backdrop": (contentElement == null ? void 0 : contentElement.id) || "",
66
- alwaysVisible,
67
- hidden
69
+ alwaysVisible
68
70
  }, backdropProps), {
69
71
  ref: _K4FBPMJ3cjs.useForkRef.call(void 0, backdropProps == null ? void 0 : backdropProps.ref, ref),
70
72
  style: _6455U47Tcjs.__spreadValues.call(void 0, {
@@ -0,0 +1,96 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/dialog/utils/orchestrate.ts
2
+ var cleanups = Symbol();
3
+ function orchestrate(element, key, setup) {
4
+ if (!element[cleanups]) {
5
+ element[cleanups] = /* @__PURE__ */ new Map();
6
+ }
7
+ const elementCleanups = element[cleanups];
8
+ const prevCleanup = elementCleanups.get(key);
9
+ if (!prevCleanup) {
10
+ elementCleanups.set(key, setup());
11
+ return () => {
12
+ var _a;
13
+ (_a = elementCleanups.get(key)) == null ? void 0 : _a();
14
+ elementCleanups.delete(key);
15
+ };
16
+ }
17
+ const cleanup = setup();
18
+ const nextCleanup = () => {
19
+ cleanup();
20
+ prevCleanup();
21
+ elementCleanups.delete(key);
22
+ };
23
+ elementCleanups.set(key, nextCleanup);
24
+ return () => {
25
+ if (elementCleanups.get(key) !== nextCleanup)
26
+ return;
27
+ cleanup();
28
+ elementCleanups.set(key, prevCleanup);
29
+ };
30
+ }
31
+ function setAttribute(element, attr, value) {
32
+ const setup = () => {
33
+ const previousValue = element.getAttribute(attr);
34
+ element.setAttribute(attr, value);
35
+ return () => {
36
+ if (previousValue == null) {
37
+ element.removeAttribute(attr);
38
+ } else {
39
+ element.setAttribute(attr, previousValue);
40
+ }
41
+ };
42
+ };
43
+ return orchestrate(element, attr, setup);
44
+ }
45
+ function setProperty(element, property, value) {
46
+ const setup = () => {
47
+ const exists = property in element;
48
+ const previousValue = element[property];
49
+ element[property] = value;
50
+ return () => {
51
+ if (!exists) {
52
+ delete element[property];
53
+ } else {
54
+ element[property] = previousValue;
55
+ }
56
+ };
57
+ };
58
+ return orchestrate(element, property, setup);
59
+ }
60
+ function assignStyle(element, style) {
61
+ if (!element)
62
+ return () => {
63
+ };
64
+ const setup = () => {
65
+ const prevStyle = element.style.cssText;
66
+ Object.assign(element.style, style);
67
+ return () => {
68
+ element.style.cssText = prevStyle;
69
+ };
70
+ };
71
+ return orchestrate(element, "style", setup);
72
+ }
73
+ function setCSSProperty(element, property, value) {
74
+ if (!element)
75
+ return () => {
76
+ };
77
+ const setup = () => {
78
+ const previousValue = element.style.getPropertyValue(property);
79
+ element.style.setProperty(property, value);
80
+ return () => {
81
+ if (previousValue) {
82
+ element.style.setProperty(property, previousValue);
83
+ } else {
84
+ element.style.removeProperty(property);
85
+ }
86
+ };
87
+ };
88
+ return orchestrate(element, property, setup);
89
+ }
90
+
91
+
92
+
93
+
94
+
95
+
96
+ exports.setAttribute = setAttribute; exports.setProperty = setProperty; exports.assignStyle = assignStyle; exports.setCSSProperty = setCSSProperty;
@@ -1,27 +1,28 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _COSA3K2Scjs = require('./COSA3K2S.cjs');
3
+ var _IUR52EVRcjs = require('./IUR52EVR.cjs');
4
4
 
5
5
 
6
- var _YEIYG56Fcjs = require('./YEIYG56F.cjs');
6
+ var _RYACMEZBcjs = require('./RYACMEZB.cjs');
7
7
 
8
8
 
9
- var _HNCLPSSVcjs = require('./HNCLPSSV.cjs');
9
+ var _NRIAM6MCcjs = require('./NRIAM6MC.cjs');
10
10
 
11
11
 
12
- var _4OHV3LC4cjs = require('./4OHV3LC4.cjs');
12
+ var _LWKIYVKLcjs = require('./LWKIYVKL.cjs');
13
13
 
14
14
 
15
- var _JRMMZABKcjs = require('./JRMMZABK.cjs');
15
+ var _OQ7OHY6Lcjs = require('./OQ7OHY6L.cjs');
16
16
 
17
17
 
18
- var _7N3VSG4Acjs = require('./7N3VSG4A.cjs');
18
+ var _H3K4JFZOcjs = require('./H3K4JFZO.cjs');
19
19
 
20
20
 
21
21
  var _W32FX7DMcjs = require('./W32FX7DM.cjs');
22
22
 
23
23
 
24
- var _GAXSMBTEcjs = require('./GAXSMBTE.cjs');
24
+
25
+ var _7F62IPL4cjs = require('./7F62IPL4.cjs');
25
26
 
26
27
 
27
28
  var _UPT7GI2Icjs = require('./UPT7GI2I.cjs');
@@ -152,9 +153,9 @@ var useDialog = _5U7AP6Y2cjs.createHook.call(void 0,
152
153
  const mounted = store.useState("mounted");
153
154
  const contentElement = store.useState("contentElement");
154
155
  const hidden = _5YBLVTWKcjs.isHidden.call(void 0, mounted, props.hidden, props.alwaysVisible);
155
- _4OHV3LC4cjs.usePreventBodyScroll.call(void 0, store, preventBodyScroll && !hidden);
156
- _7N3VSG4Acjs.useHideOnInteractOutside.call(void 0, store, hideOnInteractOutside);
157
- const { wrapElement, nestedDialogs } = _JRMMZABKcjs.useNestedDialogs.call(void 0, store);
156
+ _LWKIYVKLcjs.usePreventBodyScroll.call(void 0, store, preventBodyScroll && !hidden);
157
+ _H3K4JFZOcjs.useHideOnInteractOutside.call(void 0, store, hideOnInteractOutside);
158
+ const { wrapElement, nestedDialogs } = _OQ7OHY6Lcjs.useNestedDialogs.call(void 0, store);
158
159
  props = _K4FBPMJ3cjs.useWrapElement.call(void 0, props, wrapElement, [wrapElement]);
159
160
  _K4FBPMJ3cjs.useSafeLayoutEffect.call(void 0, () => {
160
161
  if (!open)
@@ -229,25 +230,28 @@ var useDialog = _5U7AP6Y2cjs.createHook.call(void 0,
229
230
  const dialog = ref.current;
230
231
  const persistentElements = getPersistentElementsProp() || [];
231
232
  const allElements = [
232
- // In addition to the dialog element, we also include the portal node here
233
- // so nested dialogs are considered as well.
233
+ // In addition to the dialog element, we also include the portal node
234
+ // here so nested dialogs are considered as well.
234
235
  dialog,
235
236
  portalNode,
236
- ...nestedDialogs,
237
- ...persistentElements
237
+ ...persistentElements,
238
+ // We still need to include nested dialogs here because they may be
239
+ // outside the portal node or the parent dialog may not be using a
240
+ // portal.
241
+ ...nestedDialogs.map((dialog2) => dialog2.getState().contentElement)
238
242
  ];
239
243
  if (!shouldDisableAccessibilityTree) {
240
- return _GAXSMBTEcjs.markTreeOutside.call(void 0, id, disclosureElement, ...allElements);
244
+ return _7F62IPL4cjs.markTreeOutside.call(void 0, id, disclosureElement, ...allElements);
241
245
  }
242
246
  if (modal) {
243
247
  return _misc.chain.call(void 0,
244
- _GAXSMBTEcjs.markTreeOutside.call(void 0, id, ...allElements),
245
- _YEIYG56Fcjs.disableTreeOutside.call(void 0, ...allElements)
248
+ _7F62IPL4cjs.markTreeOutside.call(void 0, id, ...allElements),
249
+ _RYACMEZBcjs.disableTreeOutside.call(void 0, ...allElements)
246
250
  );
247
251
  }
248
252
  return _misc.chain.call(void 0,
249
- _GAXSMBTEcjs.markTreeOutside.call(void 0, id, disclosureElement, ...allElements),
250
- _HNCLPSSVcjs.disableAccessibilityTreeOutside.call(void 0, ...allElements)
253
+ _7F62IPL4cjs.markTreeOutside.call(void 0, id, disclosureElement, ...allElements),
254
+ _NRIAM6MCcjs.disableAccessibilityTreeOutside.call(void 0, ...allElements)
251
255
  );
252
256
  }, [
253
257
  id,
@@ -368,6 +372,8 @@ var useDialog = _5U7AP6Y2cjs.createHook.call(void 0,
368
372
  const dialog = ref.current;
369
373
  if (!dialog)
370
374
  return;
375
+ if (_7F62IPL4cjs.isElementMarked.call(void 0, dialog))
376
+ return;
371
377
  const target = event.target;
372
378
  if (!target)
373
379
  return;
@@ -387,7 +393,6 @@ var useDialog = _5U7AP6Y2cjs.createHook.call(void 0,
387
393
  return;
388
394
  if (!hideOnEscapeProp(event))
389
395
  return;
390
- event.stopImmediatePropagation();
391
396
  store.hide();
392
397
  };
393
398
  return _events.addGlobalEventListener.call(void 0, "keydown", onKeyDown);
@@ -405,7 +410,7 @@ var useDialog = _5U7AP6Y2cjs.createHook.call(void 0,
405
410
  if (backdrop) {
406
411
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
407
412
  backdrop && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
408
- _COSA3K2Scjs.DialogBackdrop,
413
+ _IUR52EVRcjs.DialogBackdrop,
409
414
  {
410
415
  store,
411
416
  backdrop,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _NR3SJH64cjs = require('./NR3SJH64.cjs');
4
+ var _JV2X54UEcjs = require('./JV2X54UE.cjs');
5
5
 
6
6
 
7
7
  var _K4FBPMJ3cjs = require('./K4FBPMJ3.cjs');
@@ -20,20 +20,18 @@ function usePreventBodyScroll(store, enabled) {
20
20
  if (!enabled)
21
21
  return;
22
22
  const { contentElement } = store.getState();
23
- if (!contentElement)
24
- return;
25
23
  const doc = _dom.getDocument.call(void 0, contentElement);
26
24
  const win = _dom.getWindow.call(void 0, contentElement);
27
25
  const { documentElement, body } = doc;
28
26
  const cssScrollbarWidth = documentElement.style.getPropertyValue("--scrollbar-width");
29
27
  const scrollbarWidth = cssScrollbarWidth ? parseInt(cssScrollbarWidth) : win.innerWidth - documentElement.clientWidth;
30
- const setScrollbarWidthProperty = () => _NR3SJH64cjs.setCSSProperty.call(void 0,
28
+ const setScrollbarWidthProperty = () => _JV2X54UEcjs.setCSSProperty.call(void 0,
31
29
  documentElement,
32
30
  "--scrollbar-width",
33
31
  `${scrollbarWidth}px`
34
32
  );
35
33
  const paddingProperty = getPaddingProperty(documentElement);
36
- const setStyle = () => _NR3SJH64cjs.assignStyle.call(void 0, body, {
34
+ const setStyle = () => _JV2X54UEcjs.assignStyle.call(void 0, body, {
37
35
  overflow: "hidden",
38
36
  [paddingProperty]: `${scrollbarWidth}px`
39
37
  });
@@ -42,7 +40,7 @@ function usePreventBodyScroll(store, enabled) {
42
40
  const { scrollX, scrollY, visualViewport } = win;
43
41
  const offsetLeft = (_a = visualViewport == null ? void 0 : visualViewport.offsetLeft) != null ? _a : 0;
44
42
  const offsetTop = (_b = visualViewport == null ? void 0 : visualViewport.offsetTop) != null ? _b : 0;
45
- const restoreStyle = _NR3SJH64cjs.assignStyle.call(void 0, body, {
43
+ const restoreStyle = _JV2X54UEcjs.assignStyle.call(void 0, body, {
46
44
  position: "fixed",
47
45
  overflow: "hidden",
48
46
  top: `${-(scrollY - Math.floor(offsetTop))}px`,
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _NR3SJH64cjs = require('./NR3SJH64.cjs');
3
+ var _JV2X54UEcjs = require('./JV2X54UE.cjs');
4
4
 
5
5
 
6
6
  var _TFOIZV2Vcjs = require('./TFOIZV2V.cjs');
7
7
 
8
8
  // src/dialog/utils/disable-accessibility-tree-outside.ts
9
9
  function hideElementFromAccessibilityTree(element) {
10
- return _NR3SJH64cjs.setAttribute.call(void 0, element, "aria-hidden", "true");
10
+ return _JV2X54UEcjs.setAttribute.call(void 0, element, "aria-hidden", "true");
11
11
  }
12
12
  function disableAccessibilityTreeOutside(...elements) {
13
13
  const cleanups = [];
@@ -30,11 +30,13 @@ function useNestedDialogs(store) {
30
30
  return store.sync(
31
31
  (state) => {
32
32
  var _a;
33
+ if (!state.open)
34
+ return;
33
35
  if (!state.contentElement)
34
36
  return;
35
- return (_a = context.add) == null ? void 0 : _a.call(context, state.contentElement);
37
+ return (_a = context.add) == null ? void 0 : _a.call(context, store);
36
38
  },
37
- ["contentElement"]
39
+ ["open", "contentElement"]
38
40
  );
39
41
  }, [store, context]);
40
42
  _K4FBPMJ3cjs.useSafeLayoutEffect.call(void 0, () => {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _HNCLPSSVcjs = require('./HNCLPSSV.cjs');
3
+ var _NRIAM6MCcjs = require('./NRIAM6MC.cjs');
4
4
 
5
5
 
6
6
  var _56NPFF7Pcjs = require('./56NPFF7P.cjs');
@@ -8,7 +8,7 @@ var _56NPFF7Pcjs = require('./56NPFF7P.cjs');
8
8
 
9
9
 
10
10
 
11
- var _NR3SJH64cjs = require('./NR3SJH64.cjs');
11
+ var _JV2X54UEcjs = require('./JV2X54UE.cjs');
12
12
 
13
13
 
14
14
  var _TFOIZV2Vcjs = require('./TFOIZV2V.cjs');
@@ -21,11 +21,11 @@ function disableElement(element) {
21
21
  if (!("style" in element))
22
22
  return _misc.noop;
23
23
  if (_56NPFF7Pcjs.supportsInert.call(void 0, )) {
24
- return _NR3SJH64cjs.setProperty.call(void 0, element, "inert", true);
24
+ return _JV2X54UEcjs.setProperty.call(void 0, element, "inert", true);
25
25
  }
26
26
  return _misc.chain.call(void 0,
27
- _HNCLPSSVcjs.hideElementFromAccessibilityTree.call(void 0, element),
28
- _NR3SJH64cjs.assignStyle.call(void 0, element, {
27
+ _NRIAM6MCcjs.hideElementFromAccessibilityTree.call(void 0, element),
28
+ _JV2X54UEcjs.assignStyle.call(void 0, element, {
29
29
  pointerEvents: "none",
30
30
  userSelect: "none",
31
31
  cursor: "default"
@@ -38,7 +38,7 @@ function disableTreeOutside(...elements) {
38
38
  _focus.getAllTabbable.call(void 0, ).forEach((element) => {
39
39
  if (elements.some((el) => el && _dom.contains.call(void 0, el, element)))
40
40
  return;
41
- cleanups.unshift(_NR3SJH64cjs.setAttribute.call(void 0, element, "tabindex", "-1"));
41
+ cleanups.unshift(_JV2X54UEcjs.setAttribute.call(void 0, element, "tabindex", "-1"));
42
42
  });
43
43
  }
44
44
  _TFOIZV2Vcjs.walkTreeOutside.call(void 0, elements, (element) => {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _ZHJT7NZKcjs = require('./ZHJT7NZK.cjs');
3
+ var _KBAUXTTHcjs = require('./KBAUXTTH.cjs');
4
4
 
5
5
 
6
6
  var _W5PBA4D6cjs = require('./W5PBA4D6.cjs');
@@ -338,7 +338,7 @@ var usePopover = _5U7AP6Y2cjs.createHook.call(void 0,
338
338
  position: "relative"
339
339
  }, props.style)
340
340
  });
341
- props = _ZHJT7NZKcjs.useDialog.call(void 0, _6455U47Tcjs.__spreadProps.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, {
341
+ props = _KBAUXTTHcjs.useDialog.call(void 0, _6455U47Tcjs.__spreadProps.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, {
342
342
  store,
343
343
  modal,
344
344
  preserveTabOrder,
@@ -4,18 +4,18 @@ var _LLP4PENDcjs = require('../__chunks/LLP4PEND.cjs');
4
4
  require('../__chunks/2WZVSPAI.cjs');
5
5
 
6
6
 
7
- var _6EZOH2LAcjs = require('../__chunks/6EZOH2LA.cjs');
8
- require('../__chunks/ZHJT7NZK.cjs');
9
- require('../__chunks/COSA3K2S.cjs');
10
- require('../__chunks/YEIYG56F.cjs');
11
- require('../__chunks/HNCLPSSV.cjs');
12
- require('../__chunks/4OHV3LC4.cjs');
13
- require('../__chunks/JRMMZABK.cjs');
14
- require('../__chunks/7N3VSG4A.cjs');
7
+ var _VGYBL6X3cjs = require('../__chunks/VGYBL6X3.cjs');
8
+ require('../__chunks/KBAUXTTH.cjs');
9
+ require('../__chunks/IUR52EVR.cjs');
10
+ require('../__chunks/RYACMEZB.cjs');
11
+ require('../__chunks/NRIAM6MC.cjs');
12
+ require('../__chunks/LWKIYVKL.cjs');
13
+ require('../__chunks/OQ7OHY6L.cjs');
14
+ require('../__chunks/H3K4JFZO.cjs');
15
15
  require('../__chunks/56NPFF7P.cjs');
16
16
  require('../__chunks/W32FX7DM.cjs');
17
- require('../__chunks/GAXSMBTE.cjs');
18
- require('../__chunks/NR3SJH64.cjs');
17
+ require('../__chunks/7F62IPL4.cjs');
18
+ require('../__chunks/JV2X54UE.cjs');
19
19
  require('../__chunks/UPT7GI2I.cjs');
20
20
  require('../__chunks/TFOIZV2V.cjs');
21
21
  require('../__chunks/X2GXTE3P.cjs');
@@ -72,7 +72,7 @@ var useComboboxPopover = _5U7AP6Y2cjs.createHook.call(void 0,
72
72
  ]);
73
73
  const baseElement = store.useState("baseElement");
74
74
  props = _LLP4PENDcjs.useComboboxList.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, { store, alwaysVisible }, props));
75
- props = _6EZOH2LAcjs.usePopover.call(void 0, _6455U47Tcjs.__spreadProps.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, {
75
+ props = _VGYBL6X3cjs.usePopover.call(void 0, _6455U47Tcjs.__spreadProps.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, {
76
76
  store,
77
77
  alwaysVisible,
78
78
  autoFocusOnShow: false,
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _6EZOH2LAcjs = require('../__chunks/6EZOH2LA.cjs');
4
- require('../__chunks/ZHJT7NZK.cjs');
5
- require('../__chunks/COSA3K2S.cjs');
6
- require('../__chunks/YEIYG56F.cjs');
7
- require('../__chunks/HNCLPSSV.cjs');
8
- require('../__chunks/4OHV3LC4.cjs');
9
- require('../__chunks/JRMMZABK.cjs');
10
- require('../__chunks/7N3VSG4A.cjs');
3
+ var _VGYBL6X3cjs = require('../__chunks/VGYBL6X3.cjs');
4
+ require('../__chunks/KBAUXTTH.cjs');
5
+ require('../__chunks/IUR52EVR.cjs');
6
+ require('../__chunks/RYACMEZB.cjs');
7
+ require('../__chunks/NRIAM6MC.cjs');
8
+ require('../__chunks/LWKIYVKL.cjs');
9
+ require('../__chunks/OQ7OHY6L.cjs');
10
+ require('../__chunks/H3K4JFZO.cjs');
11
11
  require('../__chunks/56NPFF7P.cjs');
12
12
  require('../__chunks/W32FX7DM.cjs');
13
- require('../__chunks/GAXSMBTE.cjs');
14
- require('../__chunks/NR3SJH64.cjs');
13
+ require('../__chunks/7F62IPL4.cjs');
14
+ require('../__chunks/JV2X54UE.cjs');
15
15
  require('../__chunks/UPT7GI2I.cjs');
16
16
  require('../__chunks/TFOIZV2V.cjs');
17
17
  require('../__chunks/X2GXTE3P.cjs');
@@ -84,7 +84,7 @@ var useCompositeOverflow = _5U7AP6Y2cjs.createHook.call(void 0,
84
84
  }, props), {
85
85
  onFocus
86
86
  });
87
- props = _6EZOH2LAcjs.usePopover.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, {
87
+ props = _VGYBL6X3cjs.usePopover.call(void 0, _6455U47Tcjs.__spreadValues.call(void 0, {
88
88
  store,
89
89
  backdropProps,
90
90
  wrapperProps,
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _COSA3K2Scjs = require('../__chunks/COSA3K2S.cjs');
4
- require('../__chunks/GAXSMBTE.cjs');
5
- require('../__chunks/NR3SJH64.cjs');
3
+ var _IUR52EVRcjs = require('../__chunks/IUR52EVR.cjs');
4
+ require('../__chunks/7F62IPL4.cjs');
5
+ require('../__chunks/JV2X54UE.cjs');
6
6
  require('../__chunks/TFOIZV2V.cjs');
7
7
  require('../__chunks/245ESIYY.cjs');
8
8
  require('../__chunks/5YBLVTWK.cjs');
@@ -12,4 +12,4 @@ require('../__chunks/2X5K3J7Y.cjs');
12
12
  require('../__chunks/6455U47T.cjs');
13
13
 
14
14
 
15
- exports.DialogBackdrop = _COSA3K2Scjs.DialogBackdrop;
15
+ exports.DialogBackdrop = _IUR52EVRcjs.DialogBackdrop;
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _ZHJT7NZKcjs = require('../__chunks/ZHJT7NZK.cjs');
5
- require('../__chunks/COSA3K2S.cjs');
6
- require('../__chunks/YEIYG56F.cjs');
7
- require('../__chunks/HNCLPSSV.cjs');
8
- require('../__chunks/4OHV3LC4.cjs');
9
- require('../__chunks/JRMMZABK.cjs');
10
- require('../__chunks/7N3VSG4A.cjs');
4
+ var _KBAUXTTHcjs = require('../__chunks/KBAUXTTH.cjs');
5
+ require('../__chunks/IUR52EVR.cjs');
6
+ require('../__chunks/RYACMEZB.cjs');
7
+ require('../__chunks/NRIAM6MC.cjs');
8
+ require('../__chunks/LWKIYVKL.cjs');
9
+ require('../__chunks/OQ7OHY6L.cjs');
10
+ require('../__chunks/H3K4JFZO.cjs');
11
11
  require('../__chunks/56NPFF7P.cjs');
12
12
  require('../__chunks/W32FX7DM.cjs');
13
- require('../__chunks/GAXSMBTE.cjs');
14
- require('../__chunks/NR3SJH64.cjs');
13
+ require('../__chunks/7F62IPL4.cjs');
14
+ require('../__chunks/JV2X54UE.cjs');
15
15
  require('../__chunks/UPT7GI2I.cjs');
16
16
  require('../__chunks/TFOIZV2V.cjs');
17
17
  require('../__chunks/X2GXTE3P.cjs');
@@ -33,4 +33,4 @@ require('../__chunks/6455U47T.cjs');
33
33
 
34
34
 
35
35
 
36
- exports.Dialog = _ZHJT7NZKcjs.Dialog; exports.useDialog = _ZHJT7NZKcjs.useDialog;
36
+ exports.Dialog = _KBAUXTTHcjs.Dialog; exports.useDialog = _KBAUXTTHcjs.useDialog;