lizaui 12.0.20 → 12.0.22

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 (161) hide show
  1. package/dist/button-group/index.es.js +2 -2
  2. package/dist/button-v2/index.cjs.js +1 -1
  3. package/dist/button-v2/index.es.js +3 -3
  4. package/dist/chunks/{Button-DdtCMsXJ.js → Button-Bumy9bze.js} +6 -55
  5. package/dist/chunks/Button-Bumy9bze.js.map +1 -0
  6. package/dist/chunks/{Button-B-wLEikV.js → Button-CFYOfByw.js} +9 -58
  7. package/dist/chunks/Button-CFYOfByw.js.map +1 -0
  8. package/dist/chunks/{FocusScope-Txa6B8J4.js → FocusScope-4TdD5fCA.js} +2 -2
  9. package/dist/chunks/{FocusScope-Txa6B8J4.js.map → FocusScope-4TdD5fCA.js.map} +1 -1
  10. package/dist/chunks/{FocusScope-BVEv8CgQ.js → FocusScope-jSNMAXzg.js} +3 -3
  11. package/dist/chunks/{FocusScope-BVEv8CgQ.js.map → FocusScope-jSNMAXzg.js.map} +1 -1
  12. package/dist/chunks/Hidden-BY45Dc0j.js +54 -0
  13. package/dist/chunks/Hidden-BY45Dc0j.js.map +1 -0
  14. package/dist/chunks/Hidden-C55DpjMP.js +55 -0
  15. package/dist/chunks/Hidden-C55DpjMP.js.map +1 -0
  16. package/dist/chunks/{I18nProvider-Dfr8Km7j.js → I18nProvider-Coj9x7B8.js} +2 -2
  17. package/dist/chunks/{I18nProvider-Dfr8Km7j.js.map → I18nProvider-Coj9x7B8.js.map} +1 -1
  18. package/dist/chunks/{ProgressBar-D0THM7Dn.js → ProgressBar-542C1mif.js} +5 -5
  19. package/dist/chunks/{ProgressBar-D0THM7Dn.js.map → ProgressBar-542C1mif.js.map} +1 -1
  20. package/dist/chunks/{ProgressBar-BPfa9vzz.js → ProgressBar-BiKRsJ8m.js} +3 -3
  21. package/dist/chunks/{ProgressBar-BPfa9vzz.js.map → ProgressBar-BiKRsJ8m.js.map} +1 -1
  22. package/dist/chunks/SharedElementTransition-BSCoaphV.js +106 -0
  23. package/dist/chunks/{SharedElementTransition-D87oSBzB.js.map → SharedElementTransition-BSCoaphV.js.map} +1 -1
  24. package/dist/chunks/SharedElementTransition-CJVe1D_I.js +107 -0
  25. package/dist/chunks/{SharedElementTransition-BxczX23g.js.map → SharedElementTransition-CJVe1D_I.js.map} +1 -1
  26. package/dist/chunks/{VisuallyHidden-CiBoSB1U.js → VisuallyHidden-CTe1-RoI.js} +3 -39
  27. package/dist/chunks/VisuallyHidden-CTe1-RoI.js.map +1 -0
  28. package/dist/chunks/VisuallyHidden-DPJuOMsW.js +50 -0
  29. package/dist/chunks/VisuallyHidden-DPJuOMsW.js.map +1 -0
  30. package/dist/chunks/{button-group-CGyXDmwt.js → button-group-DJ5IdBp6.js} +2 -2
  31. package/dist/chunks/{button-group-CGyXDmwt.js.map → button-group-DJ5IdBp6.js.map} +1 -1
  32. package/dist/chunks/{compose-Ch-3fhek.js → compose-DOOi0Yan.js} +2 -2
  33. package/dist/chunks/{compose-Ch-3fhek.js.map → compose-DOOi0Yan.js.map} +1 -1
  34. package/dist/chunks/{focusSafely-Cxp4n3zg.js → focusSafely-CKxVSn6H.js} +39 -1
  35. package/dist/chunks/{focusSafely-Cxp4n3zg.js.map → focusSafely-CKxVSn6H.js.map} +1 -1
  36. package/dist/chunks/{focusSafely--u_yGz_7.js → focusSafely-DfEgLKh6.js} +46 -8
  37. package/dist/chunks/{focusSafely--u_yGz_7.js.map → focusSafely-DfEgLKh6.js.map} +1 -1
  38. package/dist/chunks/{number-DigQ78uS.js → number-CYgYWykt.js} +2 -2
  39. package/dist/chunks/{number-DigQ78uS.js.map → number-CYgYWykt.js.map} +1 -1
  40. package/dist/chunks/{radio-group-4o00BMkw.js → radio-group-BwXvYzSm.js} +14 -13
  41. package/dist/chunks/{radio-group-4o00BMkw.js.map → radio-group-BwXvYzSm.js.map} +1 -1
  42. package/dist/chunks/{radio-group-voOEmmYI.js → radio-group-hO2beGF6.js} +12 -11
  43. package/dist/chunks/{radio-group-voOEmmYI.js.map → radio-group-hO2beGF6.js.map} +1 -1
  44. package/dist/chunks/useControlledState-DE_m1RML.js +39 -0
  45. package/dist/chunks/useControlledState-DE_m1RML.js.map +1 -0
  46. package/dist/chunks/useControlledState-DZA25XHU.js +40 -0
  47. package/dist/chunks/useControlledState-DZA25XHU.js.map +1 -0
  48. package/dist/chunks/{useFormReset-BL4MH85g.js → useFormReset-BYRGk5vb.js} +2 -2
  49. package/dist/chunks/{useFormReset-BL4MH85g.js.map → useFormReset-BYRGk5vb.js.map} +1 -1
  50. package/dist/chunks/{useFormReset-YYNrlE-8.js → useFormReset-Bgv2ktIE.js} +2 -2
  51. package/dist/chunks/{useFormReset-YYNrlE-8.js.map → useFormReset-Bgv2ktIE.js.map} +1 -1
  52. package/dist/chunks/useHasTabbableChild-CSJ0P5QT.js +2577 -0
  53. package/dist/chunks/useHasTabbableChild-CSJ0P5QT.js.map +1 -0
  54. package/dist/chunks/useHasTabbableChild-kl2T5gEX.js +2576 -0
  55. package/dist/chunks/useHasTabbableChild-kl2T5gEX.js.map +1 -0
  56. package/dist/chunks/{useHover-_Q7y99al.js → useHover-BHCSbkLb.js} +3 -3
  57. package/dist/chunks/{useHover-_Q7y99al.js.map → useHover-BHCSbkLb.js.map} +1 -1
  58. package/dist/chunks/{useHover-COOv7KTv.js → useHover-D9f9xyxz.js} +2 -2
  59. package/dist/chunks/{useHover-COOv7KTv.js.map → useHover-D9f9xyxz.js.map} +1 -1
  60. package/dist/chunks/{useLabel-DjFU7E9u.js → useLabel-CzhH-Tov.js} +3 -22
  61. package/dist/chunks/useLabel-CzhH-Tov.js.map +1 -0
  62. package/dist/chunks/{useLabel-DgF69V6e.js → useLabel-YLbDMN-c.js} +4 -23
  63. package/dist/chunks/useLabel-YLbDMN-c.js.map +1 -0
  64. package/dist/chunks/useLabels-BiXnWBSL.js +23 -0
  65. package/dist/chunks/useLabels-BiXnWBSL.js.map +1 -0
  66. package/dist/chunks/useLabels-Bl0mJafM.js +24 -0
  67. package/dist/chunks/useLabels-Bl0mJafM.js.map +1 -0
  68. package/dist/chunks/{useMove-KCXqjWm-.js → useMove-DeuS9PRx.js} +3 -3
  69. package/dist/chunks/{useMove-KCXqjWm-.js.map → useMove-DeuS9PRx.js.map} +1 -1
  70. package/dist/chunks/{useMove-D5nRSeRO.js → useMove-Xpbmb6OD.js} +3 -3
  71. package/dist/chunks/{useMove-D5nRSeRO.js.map → useMove-Xpbmb6OD.js.map} +1 -1
  72. package/dist/chunks/{usePress-BnXPCNhr.js → usePress-Arf10jW0.js} +4 -4
  73. package/dist/chunks/{usePress-BnXPCNhr.js.map → usePress-Arf10jW0.js.map} +1 -1
  74. package/dist/chunks/{usePress-4yjnfhQ_.js → usePress-B1yQk_p8.js} +3 -3
  75. package/dist/chunks/{usePress-4yjnfhQ_.js.map → usePress-B1yQk_p8.js.map} +1 -1
  76. package/dist/chunks/{useProgressBar-DJZIQMyS.js → useProgressBar-BsO-Q5JP.js} +2 -2
  77. package/dist/chunks/{useProgressBar-DJZIQMyS.js.map → useProgressBar-BsO-Q5JP.js.map} +1 -1
  78. package/dist/chunks/{useProgressBar-D2OaXApL.js → useProgressBar-d2k0k8r0.js} +4 -4
  79. package/dist/chunks/{useProgressBar-D2OaXApL.js.map → useProgressBar-d2k0k8r0.js.map} +1 -1
  80. package/dist/chunks/{useSlot-CEcR5EcL.js → useSlot-CFaaZeQE.js} +4 -4
  81. package/dist/chunks/{useSlot-CEcR5EcL.js.map → useSlot-CFaaZeQE.js.map} +1 -1
  82. package/dist/chunks/{useSlot-YqT3Ml-j.js → useSlot-TNtJf1z8.js} +3 -3
  83. package/dist/chunks/{useSlot-YqT3Ml-j.js.map → useSlot-TNtJf1z8.js.map} +1 -1
  84. package/dist/chunks/{utils-B3shU_E6.js → utils-BCEhcDlv.js} +6 -6
  85. package/dist/chunks/{utils-B3shU_E6.js.map → utils-BCEhcDlv.js.map} +1 -1
  86. package/dist/components/icons/icons.d.ts +20 -0
  87. package/dist/components/icons/icons.d.ts.map +1 -0
  88. package/dist/components/tabs/index.d.ts +26 -0
  89. package/dist/components/tabs/index.d.ts.map +1 -0
  90. package/dist/components/tabs/tabs.d.ts +40 -0
  91. package/dist/components/tabs/tabs.d.ts.map +1 -0
  92. package/dist/components/tabs/tabs.styles.d.ts +87 -0
  93. package/dist/components/tabs/tabs.styles.d.ts.map +1 -0
  94. package/dist/components/ui/index.d.ts +0 -1
  95. package/dist/components/ui/index.d.ts.map +1 -1
  96. package/dist/data-table/index.cjs.js +293 -2810
  97. package/dist/data-table/index.cjs.js.map +1 -1
  98. package/dist/data-table/index.es.js +207 -2724
  99. package/dist/data-table/index.es.js.map +1 -1
  100. package/dist/index.cjs.js +2 -2
  101. package/dist/index.es.js +3 -3
  102. package/dist/lib/utils/assertion.d.ts +10 -0
  103. package/dist/lib/utils/assertion.d.ts.map +1 -0
  104. package/dist/lib/utils/class-name.d.ts +8 -0
  105. package/dist/lib/utils/class-name.d.ts.map +1 -0
  106. package/dist/lib/utils/cn.d.ts +23 -0
  107. package/dist/lib/utils/cn.d.ts.map +1 -0
  108. package/dist/lib/utils/collection-prop-injection.d.ts +32 -0
  109. package/dist/lib/utils/collection-prop-injection.d.ts.map +1 -0
  110. package/dist/lib/utils/compose.d.ts +8 -0
  111. package/dist/lib/utils/compose.d.ts.map +1 -0
  112. package/dist/lib/utils/dom.d.ts +22 -0
  113. package/dist/lib/utils/dom.d.ts.map +1 -0
  114. package/dist/lib/utils/field-slots-gate.d.ts +10 -0
  115. package/dist/lib/utils/field-slots-gate.d.ts.map +1 -0
  116. package/dist/lib/utils/logger.d.ts +24 -0
  117. package/dist/lib/utils/logger.d.ts.map +1 -0
  118. package/dist/lib/utils/normalize.d.ts +6 -0
  119. package/dist/lib/utils/normalize.d.ts.map +1 -0
  120. package/dist/lib/utils/use-has-text-slot.d.ts +14 -0
  121. package/dist/lib/utils/use-has-text-slot.d.ts.map +1 -0
  122. package/dist/lizaui.css +458 -0
  123. package/dist/meter/index.cjs.js +2 -2
  124. package/dist/meter/index.es.js +4 -4
  125. package/dist/progress-bar/index.cjs.js +1 -1
  126. package/dist/progress-bar/index.es.js +2 -2
  127. package/dist/radio/index.cjs.js +1 -1
  128. package/dist/radio/index.es.js +2 -2
  129. package/dist/radio-group/index.cjs.js +1 -1
  130. package/dist/radio-group/index.es.js +2 -2
  131. package/dist/slider/index.cjs.js +8 -7
  132. package/dist/slider/index.cjs.js.map +1 -1
  133. package/dist/slider/index.es.js +10 -9
  134. package/dist/slider/index.es.js.map +1 -1
  135. package/dist/tabs/index.cjs.js +1400 -0
  136. package/dist/tabs/index.cjs.js.map +1 -0
  137. package/dist/tabs/index.es.js +1400 -0
  138. package/dist/tabs/index.es.js.map +1 -0
  139. package/dist/tabs.d.ts +2 -0
  140. package/dist/toggle-switch/index.cjs.js +8 -7
  141. package/dist/toggle-switch/index.cjs.js.map +1 -1
  142. package/dist/toggle-switch/index.es.js +8 -7
  143. package/dist/toggle-switch/index.es.js.map +1 -1
  144. package/dist/toolbar/index.cjs.js +2 -2
  145. package/dist/toolbar/index.es.js +4 -4
  146. package/dist/ui/index.cjs.js +90 -416
  147. package/dist/ui/index.cjs.js.map +1 -1
  148. package/dist/ui/index.es.js +91 -417
  149. package/dist/ui/index.es.js.map +1 -1
  150. package/package.json +6 -1
  151. package/dist/chunks/Button-B-wLEikV.js.map +0 -1
  152. package/dist/chunks/Button-DdtCMsXJ.js.map +0 -1
  153. package/dist/chunks/SharedElementTransition-BxczX23g.js +0 -12
  154. package/dist/chunks/SharedElementTransition-D87oSBzB.js +0 -13
  155. package/dist/chunks/VisuallyHidden-CiBoSB1U.js.map +0 -1
  156. package/dist/chunks/VisuallyHidden-paROiuP0.js +0 -86
  157. package/dist/chunks/VisuallyHidden-paROiuP0.js.map +0 -1
  158. package/dist/chunks/useLabel-DgF69V6e.js.map +0 -1
  159. package/dist/chunks/useLabel-DjFU7E9u.js.map +0 -1
  160. package/dist/components/ui/tabs.d.ts +0 -8
  161. package/dist/components/ui/tabs.d.ts.map +0 -1
@@ -1,5 +1,5 @@
1
- import { B as ButtonGroupRoot, a as ButtonGroupSeparator } from "../chunks/button-group-CGyXDmwt.js";
2
- import { b, c, d } from "../chunks/button-group-CGyXDmwt.js";
1
+ import { B as ButtonGroupRoot, a as ButtonGroupSeparator } from "../chunks/button-group-DJ5IdBp6.js";
2
+ import { b, c, d } from "../chunks/button-group-DJ5IdBp6.js";
3
3
  const ButtonGroup = Object.assign(ButtonGroupRoot, {
4
4
  Root: ButtonGroupRoot,
5
5
  Separator: ButtonGroupSeparator
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const buttonGroup = require("../chunks/button-group-CJ72SS4c.js");
4
4
  const jsxRuntime = require("react/jsx-runtime");
5
5
  const React = require("react");
6
- const Button = require("../chunks/Button-DdtCMsXJ.js");
6
+ const Button = require("../chunks/Button-Bumy9bze.js");
7
7
  const tv = require("../chunks/tv-CLVUgvdm.js");
8
8
  const ripple = require("../chunks/ripple-DhT-tKza.js");
9
9
  const compose = require("../chunks/compose-Cfw0sImv.js");
@@ -1,10 +1,10 @@
1
- import { c as ButtonGroupContext, b as BUTTON_GROUP_CHILD } from "../chunks/button-group-CGyXDmwt.js";
1
+ import { c as ButtonGroupContext, b as BUTTON_GROUP_CHILD } from "../chunks/button-group-DJ5IdBp6.js";
2
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
3
  import { useContext, useCallback } from "react";
4
- import { $ as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../chunks/Button-B-wLEikV.js";
4
+ import { $ as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../chunks/Button-CFYOfByw.js";
5
5
  import { t as tv } from "../chunks/tv-CBcwbOk5.js";
6
6
  import { u as useRipple, R as Ripple } from "../chunks/ripple-II020Q8I.js";
7
- import { a as composeTwRenderProps } from "../chunks/compose-Ch-3fhek.js";
7
+ import { a as composeTwRenderProps } from "../chunks/compose-DOOi0Yan.js";
8
8
  const buttonV2Variants = tv({
9
9
  base: "button-v2",
10
10
  defaultVariants: {
@@ -1,59 +1,11 @@
1
1
  "use strict";
2
2
  const utils = require("./utils-DvHk9ofL.js");
3
- const ProgressBar = require("./ProgressBar-BPfa9vzz.js");
3
+ const ProgressBar = require("./ProgressBar-BiKRsJ8m.js");
4
4
  const filterDOMProps = require("./filterDOMProps-JgzPXl3Q.js");
5
- const useHover = require("./useHover-COOv7KTv.js");
6
- const usePress = require("./usePress-4yjnfhQ_.js");
5
+ const useHover = require("./useHover-D9f9xyxz.js");
6
+ const usePress = require("./usePress-B1yQk_p8.js");
7
+ const Hidden = require("./Hidden-BY45Dc0j.js");
7
8
  const React = require("react");
8
- if (typeof HTMLTemplateElement !== "undefined") {
9
- Object.defineProperty(HTMLTemplateElement.prototype, "firstChild", {
10
- configurable: true,
11
- enumerable: true,
12
- get: function() {
13
- return this.content.firstChild;
14
- }
15
- });
16
- Object.defineProperty(HTMLTemplateElement.prototype, "appendChild", {
17
- configurable: true,
18
- enumerable: true,
19
- value: function(node) {
20
- return this.content.appendChild(node);
21
- }
22
- });
23
- Object.defineProperty(HTMLTemplateElement.prototype, "removeChild", {
24
- configurable: true,
25
- enumerable: true,
26
- value: function(node) {
27
- return this.content.removeChild(node);
28
- }
29
- });
30
- Object.defineProperty(HTMLTemplateElement.prototype, "insertBefore", {
31
- configurable: true,
32
- enumerable: true,
33
- value: function(node, child) {
34
- return this.content.insertBefore(node, child);
35
- }
36
- });
37
- }
38
- const $d7f64c32b702fe2c$export$94b6d0abf7d33e8c = /* @__PURE__ */ React.createContext(false);
39
- function $d7f64c32b702fe2c$export$8dc98ba7eadeaa56(props) {
40
- let isHidden = React.useContext($d7f64c32b702fe2c$export$94b6d0abf7d33e8c);
41
- if (isHidden)
42
- return /* @__PURE__ */ React.createElement(React.Fragment, null, props.children);
43
- let children = /* @__PURE__ */ React.createElement($d7f64c32b702fe2c$export$94b6d0abf7d33e8c.Provider, {
44
- value: true
45
- }, props.children);
46
- return /* @__PURE__ */ React.createElement("template", null, children);
47
- }
48
- function $d7f64c32b702fe2c$export$86427a43e3e48ebb(fn) {
49
- let Wrapper = (props, ref) => {
50
- let isHidden = React.useContext($d7f64c32b702fe2c$export$94b6d0abf7d33e8c);
51
- if (isHidden) return null;
52
- return fn(props, ref);
53
- };
54
- Wrapper.displayName = fn.displayName || fn.name;
55
- return React.forwardRef(Wrapper);
56
- }
57
9
  const $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY = 7e3;
58
10
  let $a46cf152bb926da5$var$liveAnnouncer = null;
59
11
  function $a46cf152bb926da5$export$a9b970dcc4ae71a9(message, assertiveness = "assertive", timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {
@@ -183,7 +135,7 @@ function $ac4318a9c075bb9f$export$ea18c227d4417cc3(props, ref) {
183
135
  };
184
136
  }
185
137
  const $7705c033048f6da7$export$24d547caef80ccd1 = /* @__PURE__ */ React.createContext({});
186
- const $7705c033048f6da7$export$353f5b6fc5456de1 = /* @__PURE__ */ $d7f64c32b702fe2c$export$86427a43e3e48ebb(function Button(props, ref) {
138
+ const $7705c033048f6da7$export$353f5b6fc5456de1 = /* @__PURE__ */ Hidden.$d7f64c32b702fe2c$export$86427a43e3e48ebb(function Button(props, ref) {
187
139
  [props, ref] = utils.$7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $7705c033048f6da7$export$24d547caef80ccd1);
188
140
  let ctx = props;
189
141
  let { isPending } = ctx;
@@ -266,5 +218,4 @@ function $7705c033048f6da7$var$useDisableInteractions(props, isPending) {
266
218
  exports.$7705c033048f6da7$export$24d547caef80ccd1 = $7705c033048f6da7$export$24d547caef80ccd1;
267
219
  exports.$7705c033048f6da7$export$353f5b6fc5456de1 = $7705c033048f6da7$export$353f5b6fc5456de1;
268
220
  exports.$a46cf152bb926da5$export$a9b970dcc4ae71a9 = $a46cf152bb926da5$export$a9b970dcc4ae71a9;
269
- exports.$d7f64c32b702fe2c$export$8dc98ba7eadeaa56 = $d7f64c32b702fe2c$export$8dc98ba7eadeaa56;
270
- //# sourceMappingURL=Button-DdtCMsXJ.js.map
221
+ //# sourceMappingURL=Button-Bumy9bze.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button-Bumy9bze.js","sources":["../../node_modules/.pnpm/react-aria@3.53.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-aria/dist/private/live-announcer/LiveAnnouncer.mjs","../../node_modules/.pnpm/react-aria@3.53.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-aria/dist/private/button/useButton.mjs","../../node_modules/.pnpm/react-aria-components@1.22.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-aria-components/dist/private/Button.mjs"],"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 */ /* Inspired by https://github.com/AlmeroSteyn/react-aria-live */ const $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY = 7000;\nlet $a46cf152bb926da5$var$liveAnnouncer = null;\nfunction $a46cf152bb926da5$export$a9b970dcc4ae71a9(message, assertiveness = 'assertive', timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!$a46cf152bb926da5$var$liveAnnouncer) {\n $a46cf152bb926da5$var$liveAnnouncer = new $a46cf152bb926da5$var$LiveAnnouncer();\n // wait for the live announcer regions to be added to the dom, then announce\n // otherwise Safari won't announce the message if it's added too quickly\n // found most times less than 100ms were not consistent when announcing with Safari\n // IS_REACT_ACT_ENVIRONMENT is used by React 18. Previous versions checked for the `jest` global.\n // https://github.com/reactwg/react-18/discussions/102\n // if we're in a test environment, announce without waiting\n if (// @ts-ignore\n !(typeof IS_REACT_ACT_ENVIRONMENT === 'boolean' ? IS_REACT_ACT_ENVIRONMENT : typeof jest !== 'undefined')) setTimeout(()=>{\n if ($a46cf152bb926da5$var$liveAnnouncer?.isAttached()) $a46cf152bb926da5$var$liveAnnouncer?.announce(message, assertiveness, timeout);\n }, 100);\n else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);\n } else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);\n}\nfunction $a46cf152bb926da5$export$d10ae4f68404609a(assertiveness) {\n if ($a46cf152bb926da5$var$liveAnnouncer) $a46cf152bb926da5$var$liveAnnouncer.clear(assertiveness);\n}\nfunction $a46cf152bb926da5$export$d8686216b8b81b2f() {\n if ($a46cf152bb926da5$var$liveAnnouncer) {\n $a46cf152bb926da5$var$liveAnnouncer.destroy();\n $a46cf152bb926da5$var$liveAnnouncer = null;\n }\n}\n// LiveAnnouncer is implemented using vanilla DOM, not React. That's because as of React 18\n// ReactDOM.render is deprecated, and the replacement, ReactDOM.createRoot is moved into a\n// subpath import `react-dom/client`. That makes it hard for us to support multiple React versions.\n// As a global API, we can't use portals without introducing a breaking API change. LiveAnnouncer\n// is simple enough to implement without React, so that's what we do here.\n// See this discussion for more details: https://github.com/reactwg/react-18/discussions/125#discussioncomment-2382638\nclass $a46cf152bb926da5$var$LiveAnnouncer {\n constructor(){\n this.node = null;\n this.assertiveLog = null;\n this.politeLog = null;\n if (typeof document !== 'undefined') {\n this.node = document.createElement('div');\n this.node.dataset.liveAnnouncer = 'true';\n // copied from VisuallyHidden\n Object.assign(this.node.style, {\n border: 0,\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n width: '1px',\n whiteSpace: 'nowrap'\n });\n this.assertiveLog = this.createLog('assertive');\n this.node.appendChild(this.assertiveLog);\n this.politeLog = this.createLog('polite');\n this.node.appendChild(this.politeLog);\n document.body.prepend(this.node);\n }\n }\n isAttached() {\n return this.node?.isConnected;\n }\n createLog(ariaLive) {\n let node = document.createElement('div');\n node.setAttribute('role', 'log');\n node.setAttribute('aria-live', ariaLive);\n node.setAttribute('aria-relevant', 'additions');\n return node;\n }\n destroy() {\n if (!this.node) return;\n document.body.removeChild(this.node);\n this.node = null;\n }\n announce(message, assertiveness = 'assertive', timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!this.node) return;\n let node = document.createElement('div');\n if (typeof message === 'object') {\n // To read an aria-labelledby, the element must have an appropriate role, such as img.\n node.setAttribute('role', 'img');\n node.setAttribute('aria-labelledby', message['aria-labelledby']);\n } else node.textContent = message;\n if (assertiveness === 'assertive') this.assertiveLog?.appendChild(node);\n else this.politeLog?.appendChild(node);\n if (message !== '') setTimeout(()=>{\n node.remove();\n }, timeout);\n }\n clear(assertiveness) {\n if (!this.node) return;\n if ((!assertiveness || assertiveness === 'assertive') && this.assertiveLog) this.assertiveLog.innerHTML = '';\n if ((!assertiveness || assertiveness === 'polite') && this.politeLog) this.politeLog.innerHTML = '';\n }\n}\n\n\nexport {$a46cf152bb926da5$export$a9b970dcc4ae71a9 as announce, $a46cf152bb926da5$export$d10ae4f68404609a as clearAnnouncer, $a46cf152bb926da5$export$d8686216b8b81b2f as destroyAnnouncer};\n//# sourceMappingURL=LiveAnnouncer.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $ac4318a9c075bb9f$export$ea18c227d4417cc3(props, ref) {\n let { elementType: elementType = 'button', isDisabled: isDisabled, onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onPressChange: onPressChange, preventFocusOnPress: preventFocusOnPress, allowFocusWhenDisabled: // @ts-ignore - undocumented\n allowFocusWhenDisabled, onClick: onClick, href: href, target: target, rel: rel, type: type = 'button' } = props;\n let additionalProps;\n if (elementType === 'button') additionalProps = {\n type: type,\n disabled: isDisabled,\n form: props.form,\n formAction: props.formAction,\n formEncType: props.formEncType,\n formMethod: props.formMethod,\n formNoValidate: props.formNoValidate,\n formTarget: props.formTarget,\n name: props.name,\n value: props.value\n };\n else additionalProps = {\n role: 'button',\n href: elementType === 'a' && !isDisabled ? href : undefined,\n target: elementType === 'a' ? target : undefined,\n type: elementType === 'input' ? type : undefined,\n disabled: elementType === 'input' ? isDisabled : undefined,\n 'aria-disabled': !isDisabled || elementType === 'input' ? undefined : isDisabled,\n rel: elementType === 'a' ? rel : undefined\n };\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled,\n preventFocusOnPress: preventFocusOnPress,\n ref: ref\n });\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)(props, ref);\n if (allowFocusWhenDisabled) // oxlint-disable-next-line react/react-compiler\n focusableProps.tabIndex = isDisabled ? -1 : focusableProps.tabIndex;\n let buttonProps = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(focusableProps, pressProps, (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n }));\n return {\n isPressed: isPressed,\n buttonProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(additionalProps, buttonProps, {\n 'aria-haspopup': props['aria-haspopup'],\n 'aria-expanded': props['aria-expanded'],\n 'aria-controls': props['aria-controls'],\n 'aria-pressed': props['aria-pressed'],\n 'aria-current': props['aria-current'],\n 'aria-disabled': props['aria-disabled']\n })\n };\n}\n\n\nexport {$ac4318a9c075bb9f$export$ea18c227d4417cc3 as useButton};\n//# sourceMappingURL=useButton.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {ProgressBarContext as $6c0095e7e99364f2$export$e9f3bf65a26ce129} from \"./ProgressBar.mjs\";\nimport {announce as $9s8kH$announce} from \"react-aria/private/live-announcer/LiveAnnouncer\";\nimport {useButton as $9s8kH$useButton} from \"react-aria/useButton\";\nimport {createHideableComponent as $9s8kH$createHideableComponent} from \"react-aria/private/collections/Hidden\";\nimport {filterDOMProps as $9s8kH$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $9s8kH$mergeProps} from \"react-aria/mergeProps\";\nimport $9s8kH$react, {createContext as $9s8kH$createContext, useRef as $9s8kH$useRef, useEffect as $9s8kH$useEffect} from \"react\";\nimport {useFocusRing as $9s8kH$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $9s8kH$useHover} from \"react-aria/useHover\";\nimport {useId as $9s8kH$useId} from \"react-aria/useId\";\n\n/*\n * Copyright 2022 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\n\n\n\n\n\n\n\n\nconst $7705c033048f6da7$export$24d547caef80ccd1 = /*#__PURE__*/ (0, $9s8kH$createContext)({});\nconst $7705c033048f6da7$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, $9s8kH$createHideableComponent)(function Button(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $7705c033048f6da7$export$24d547caef80ccd1);\n let ctx = props;\n let { isPending: isPending } = ctx;\n let { buttonProps: buttonProps, isPressed: isPressed } = (0, $9s8kH$useButton)(props, ref);\n buttonProps = $7705c033048f6da7$var$useDisableInteractions(buttonProps, isPending);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $9s8kH$useFocusRing)(props);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $9s8kH$useHover)({\n ...props,\n isDisabled: props.isDisabled || isPending\n });\n let renderValues = {\n isHovered: isHovered,\n isPressed: (ctx.isPressed || isPressed) && !isPending,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.isDisabled || false,\n isPending: isPending ?? false\n };\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: renderValues,\n defaultClassName: 'react-aria-Button'\n });\n let buttonId = (0, $9s8kH$useId)(buttonProps.id);\n let progressId = (0, $9s8kH$useId)();\n let ariaLabelledby = buttonProps['aria-labelledby'];\n if (isPending) {\n // aria-labelledby wins over aria-label\n // https://www.w3.org/TR/accname-1.2/#computation-steps\n if (ariaLabelledby) ariaLabelledby = `${ariaLabelledby} ${progressId}`;\n else if (buttonProps['aria-label']) ariaLabelledby = `${buttonId} ${progressId}`;\n }\n let wasPending = (0, $9s8kH$useRef)(isPending);\n (0, $9s8kH$useEffect)(()=>{\n let message = {\n 'aria-labelledby': ariaLabelledby || buttonId\n };\n if (!wasPending.current && isFocused && isPending) (0, $9s8kH$announce)(message, 'assertive');\n else if (wasPending.current && isFocused && !isPending) (0, $9s8kH$announce)(message, 'assertive');\n wasPending.current = isPending;\n }, [\n isPending,\n isFocused,\n ariaLabelledby,\n buttonId\n ]);\n let DOMProps = (0, $9s8kH$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $9s8kH$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).button, {\n ...(0, $9s8kH$mergeProps)(DOMProps, renderProps, buttonProps, focusProps, hoverProps),\n // When the button is in a pending state, we want to stop implicit form submission (ie. when the user presses enter on a text input).\n // We do this by changing the button's type to button.\n type: buttonProps.type === 'submit' && isPending ? 'button' : buttonProps.type,\n id: buttonId,\n ref: ref,\n \"aria-labelledby\": ariaLabelledby,\n slot: props.slot || undefined,\n \"aria-disabled\": isPending ? 'true' : buttonProps['aria-disabled'],\n \"data-disabled\": props.isDisabled || undefined,\n \"data-pressed\": renderValues.isPressed || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-pending\": isPending || undefined,\n \"data-focus-visible\": isFocusVisible || undefined\n }, /*#__PURE__*/ (0, $9s8kH$react).createElement((0, $6c0095e7e99364f2$export$e9f3bf65a26ce129).Provider, {\n value: {\n id: progressId\n }\n }, renderProps.children));\n});\n// Events to preserve when isPending is true (for tooltips and other overlays)\nconst $7705c033048f6da7$var$PRESERVED_EVENT_PATTERN = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;\nfunction $7705c033048f6da7$var$useDisableInteractions(props, isPending) {\n if (isPending) {\n for(const key in props)if (key.startsWith('on') && !$7705c033048f6da7$var$PRESERVED_EVENT_PATTERN.test(key)) props[key] = undefined;\n props.href = undefined;\n props.target = undefined;\n }\n return props;\n}\n\n\nexport {$7705c033048f6da7$export$24d547caef80ccd1 as ButtonContext, $7705c033048f6da7$export$353f5b6fc5456de1 as Button};\n//# sourceMappingURL=Button.mjs.map\n"],"names":["$d27d541f9569d26d$export$45712eceda6fad21","$d1116acdf220c2da$export$4c014de7c8940b4c","$bbaa08b3cd72f041$export$9d1611c77c2fe928","$8e9d2fae0ecb9001$export$457c3d6518dd4c6f","$9s8kH$createContext","$9s8kH$createHideableComponent","$7230ffa83bc0c2cf$export$29f1550f4b0d4415","$9s8kH$useButton","$9s8kH$useFocusRing","$9s8kH$useHover","$7230ffa83bc0c2cf$export$4d86445c2cf5e3","$9s8kH$useId","$9s8kH$useRef","$9s8kH$useEffect","$9s8kH$announce","$9s8kH$filterDOMProps","$9s8kH$react","$7230ffa83bc0c2cf$export$df3a06d6289f983e","$9s8kH$mergeProps","$6c0095e7e99364f2$export$e9f3bf65a26ce129"],"mappings":";;;;;;;;AAUqE,MAAM,iDAAiD;AAC5H,IAAI,sCAAsC;AAC1C,SAAS,0CAA0C,SAAS,gBAAgB,aAAa,UAAU,gDAAgD;AAC/I,MAAI,CAAC,qCAAqC;AACtC,0CAAsC,IAAI,oCAAmC;AAO7E;AAAA;AAAA,MACA,EAAE,OAAO,6BAA6B,YAAY,2BAA2B,OAAO,SAAS;AAAA,KAAc,YAAW,MAAI;AACtH,UAAI,qCAAqC,aAAc,sCAAqC,SAAS,SAAS,eAAe,OAAO;AAAA,IACxI,GAAG,GAAG;AAAA,QACD,qCAAoC,SAAS,SAAS,eAAe,OAAO;AAAA,EACrF,MAAO,qCAAoC,SAAS,SAAS,eAAe,OAAO;AACvF;AAgBA,MAAM,oCAAoC;AAAA,EACtC,cAAa;AACT,SAAK,OAAO;AACZ,SAAK,eAAe;AACpB,SAAK,YAAY;AACjB,QAAI,OAAO,aAAa,aAAa;AACjC,WAAK,OAAO,SAAS,cAAc,KAAK;AAC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AAAA,IACtG,OAAO;AAAA,MACH,IAAI;AAAA,IAChB;AAAA,EACA,GAAO,YAAY,QAAQ,CAAC;AAC5B,CAAC;AAED,MAAM,gDAAgD;AACtD,SAAS,6CAA6C,OAAO,WAAW;AACpE,MAAI,WAAW;AACX,eAAU,OAAO,MAAM,KAAI,IAAI,WAAW,IAAI,KAAK,CAAC,8CAA8C,KAAK,GAAG,EAAG,OAAM,GAAG,IAAI;AAC1H,UAAM,OAAO;AACb,UAAM,SAAS;AAAA,EACnB;AACA,SAAO;AACX;;;;","x_google_ignoreList":[0,1,2]}
@@ -1,58 +1,10 @@
1
- import { d as $bbaa08b3cd72f041$export$9d1611c77c2fe928, $ as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, b as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, g as $390e54f620492c70$export$f680877a34711e37, c as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-B3shU_E6.js";
2
- import { $ as $6c0095e7e99364f2$export$e9f3bf65a26ce129 } from "./ProgressBar-D0THM7Dn.js";
1
+ import { d as $bbaa08b3cd72f041$export$9d1611c77c2fe928, $ as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, b as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, h as $390e54f620492c70$export$f680877a34711e37, c as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-BCEhcDlv.js";
2
+ import { $ as $6c0095e7e99364f2$export$e9f3bf65a26ce129 } from "./ProgressBar-542C1mif.js";
3
3
  import { $ as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-DqJGvnmf.js";
4
- import { e as $d1116acdf220c2da$export$4c014de7c8940b4c, f as $0c4a58759813079a$export$4e328f61c538687f, g as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-_Q7y99al.js";
5
- import { $ as $d27d541f9569d26d$export$45712eceda6fad21 } from "./usePress-BnXPCNhr.js";
6
- import React__default, { forwardRef, useContext, createContext, useRef, useEffect } from "react";
7
- if (typeof HTMLTemplateElement !== "undefined") {
8
- Object.defineProperty(HTMLTemplateElement.prototype, "firstChild", {
9
- configurable: true,
10
- enumerable: true,
11
- get: function() {
12
- return this.content.firstChild;
13
- }
14
- });
15
- Object.defineProperty(HTMLTemplateElement.prototype, "appendChild", {
16
- configurable: true,
17
- enumerable: true,
18
- value: function(node) {
19
- return this.content.appendChild(node);
20
- }
21
- });
22
- Object.defineProperty(HTMLTemplateElement.prototype, "removeChild", {
23
- configurable: true,
24
- enumerable: true,
25
- value: function(node) {
26
- return this.content.removeChild(node);
27
- }
28
- });
29
- Object.defineProperty(HTMLTemplateElement.prototype, "insertBefore", {
30
- configurable: true,
31
- enumerable: true,
32
- value: function(node, child) {
33
- return this.content.insertBefore(node, child);
34
- }
35
- });
36
- }
37
- const $d7f64c32b702fe2c$export$94b6d0abf7d33e8c = /* @__PURE__ */ createContext(false);
38
- function $d7f64c32b702fe2c$export$8dc98ba7eadeaa56(props) {
39
- let isHidden = useContext($d7f64c32b702fe2c$export$94b6d0abf7d33e8c);
40
- if (isHidden)
41
- return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, props.children);
42
- let children = /* @__PURE__ */ React__default.createElement($d7f64c32b702fe2c$export$94b6d0abf7d33e8c.Provider, {
43
- value: true
44
- }, props.children);
45
- return /* @__PURE__ */ React__default.createElement("template", null, children);
46
- }
47
- function $d7f64c32b702fe2c$export$86427a43e3e48ebb(fn) {
48
- let Wrapper = (props, ref) => {
49
- let isHidden = useContext($d7f64c32b702fe2c$export$94b6d0abf7d33e8c);
50
- if (isHidden) return null;
51
- return fn(props, ref);
52
- };
53
- Wrapper.displayName = fn.displayName || fn.name;
54
- return forwardRef(Wrapper);
55
- }
4
+ import { e as $d1116acdf220c2da$export$4c014de7c8940b4c, f as $0c4a58759813079a$export$4e328f61c538687f, g as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-BHCSbkLb.js";
5
+ import { $ as $d27d541f9569d26d$export$45712eceda6fad21 } from "./usePress-Arf10jW0.js";
6
+ import { $ as $d7f64c32b702fe2c$export$86427a43e3e48ebb } from "./Hidden-C55DpjMP.js";
7
+ import React__default, { useRef, useEffect, createContext } from "react";
56
8
  const $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY = 7e3;
57
9
  let $a46cf152bb926da5$var$liveAnnouncer = null;
58
10
  function $a46cf152bb926da5$export$a9b970dcc4ae71a9(message, assertiveness = "assertive", timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {
@@ -264,8 +216,7 @@ function $7705c033048f6da7$var$useDisableInteractions(props, isPending) {
264
216
  }
265
217
  export {
266
218
  $7705c033048f6da7$export$353f5b6fc5456de1 as $,
267
- $d7f64c32b702fe2c$export$8dc98ba7eadeaa56 as a,
268
- $a46cf152bb926da5$export$a9b970dcc4ae71a9 as b,
269
- $7705c033048f6da7$export$24d547caef80ccd1 as c
219
+ $a46cf152bb926da5$export$a9b970dcc4ae71a9 as a,
220
+ $7705c033048f6da7$export$24d547caef80ccd1 as b
270
221
  };
271
- //# sourceMappingURL=Button-B-wLEikV.js.map
222
+ //# sourceMappingURL=Button-CFYOfByw.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button-CFYOfByw.js","sources":["../../node_modules/.pnpm/react-aria@3.53.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-aria/dist/private/live-announcer/LiveAnnouncer.mjs","../../node_modules/.pnpm/react-aria@3.53.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-aria/dist/private/button/useButton.mjs","../../node_modules/.pnpm/react-aria-components@1.22.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-aria-components/dist/private/Button.mjs"],"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 */ /* Inspired by https://github.com/AlmeroSteyn/react-aria-live */ const $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY = 7000;\nlet $a46cf152bb926da5$var$liveAnnouncer = null;\nfunction $a46cf152bb926da5$export$a9b970dcc4ae71a9(message, assertiveness = 'assertive', timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!$a46cf152bb926da5$var$liveAnnouncer) {\n $a46cf152bb926da5$var$liveAnnouncer = new $a46cf152bb926da5$var$LiveAnnouncer();\n // wait for the live announcer regions to be added to the dom, then announce\n // otherwise Safari won't announce the message if it's added too quickly\n // found most times less than 100ms were not consistent when announcing with Safari\n // IS_REACT_ACT_ENVIRONMENT is used by React 18. Previous versions checked for the `jest` global.\n // https://github.com/reactwg/react-18/discussions/102\n // if we're in a test environment, announce without waiting\n if (// @ts-ignore\n !(typeof IS_REACT_ACT_ENVIRONMENT === 'boolean' ? IS_REACT_ACT_ENVIRONMENT : typeof jest !== 'undefined')) setTimeout(()=>{\n if ($a46cf152bb926da5$var$liveAnnouncer?.isAttached()) $a46cf152bb926da5$var$liveAnnouncer?.announce(message, assertiveness, timeout);\n }, 100);\n else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);\n } else $a46cf152bb926da5$var$liveAnnouncer.announce(message, assertiveness, timeout);\n}\nfunction $a46cf152bb926da5$export$d10ae4f68404609a(assertiveness) {\n if ($a46cf152bb926da5$var$liveAnnouncer) $a46cf152bb926da5$var$liveAnnouncer.clear(assertiveness);\n}\nfunction $a46cf152bb926da5$export$d8686216b8b81b2f() {\n if ($a46cf152bb926da5$var$liveAnnouncer) {\n $a46cf152bb926da5$var$liveAnnouncer.destroy();\n $a46cf152bb926da5$var$liveAnnouncer = null;\n }\n}\n// LiveAnnouncer is implemented using vanilla DOM, not React. That's because as of React 18\n// ReactDOM.render is deprecated, and the replacement, ReactDOM.createRoot is moved into a\n// subpath import `react-dom/client`. That makes it hard for us to support multiple React versions.\n// As a global API, we can't use portals without introducing a breaking API change. LiveAnnouncer\n// is simple enough to implement without React, so that's what we do here.\n// See this discussion for more details: https://github.com/reactwg/react-18/discussions/125#discussioncomment-2382638\nclass $a46cf152bb926da5$var$LiveAnnouncer {\n constructor(){\n this.node = null;\n this.assertiveLog = null;\n this.politeLog = null;\n if (typeof document !== 'undefined') {\n this.node = document.createElement('div');\n this.node.dataset.liveAnnouncer = 'true';\n // copied from VisuallyHidden\n Object.assign(this.node.style, {\n border: 0,\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n width: '1px',\n whiteSpace: 'nowrap'\n });\n this.assertiveLog = this.createLog('assertive');\n this.node.appendChild(this.assertiveLog);\n this.politeLog = this.createLog('polite');\n this.node.appendChild(this.politeLog);\n document.body.prepend(this.node);\n }\n }\n isAttached() {\n return this.node?.isConnected;\n }\n createLog(ariaLive) {\n let node = document.createElement('div');\n node.setAttribute('role', 'log');\n node.setAttribute('aria-live', ariaLive);\n node.setAttribute('aria-relevant', 'additions');\n return node;\n }\n destroy() {\n if (!this.node) return;\n document.body.removeChild(this.node);\n this.node = null;\n }\n announce(message, assertiveness = 'assertive', timeout = $a46cf152bb926da5$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!this.node) return;\n let node = document.createElement('div');\n if (typeof message === 'object') {\n // To read an aria-labelledby, the element must have an appropriate role, such as img.\n node.setAttribute('role', 'img');\n node.setAttribute('aria-labelledby', message['aria-labelledby']);\n } else node.textContent = message;\n if (assertiveness === 'assertive') this.assertiveLog?.appendChild(node);\n else this.politeLog?.appendChild(node);\n if (message !== '') setTimeout(()=>{\n node.remove();\n }, timeout);\n }\n clear(assertiveness) {\n if (!this.node) return;\n if ((!assertiveness || assertiveness === 'assertive') && this.assertiveLog) this.assertiveLog.innerHTML = '';\n if ((!assertiveness || assertiveness === 'polite') && this.politeLog) this.politeLog.innerHTML = '';\n }\n}\n\n\nexport {$a46cf152bb926da5$export$a9b970dcc4ae71a9 as announce, $a46cf152bb926da5$export$d10ae4f68404609a as clearAnnouncer, $a46cf152bb926da5$export$d8686216b8b81b2f as destroyAnnouncer};\n//# sourceMappingURL=LiveAnnouncer.mjs.map\n","import {filterDOMProps as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f} from \"../utils/filterDOMProps.mjs\";\nimport {mergeProps as $bbaa08b3cd72f041$export$9d1611c77c2fe928} from \"../utils/mergeProps.mjs\";\nimport {useFocusable as $d1116acdf220c2da$export$4c014de7c8940b4c} from \"../interactions/useFocusable.mjs\";\nimport {usePress as $d27d541f9569d26d$export$45712eceda6fad21} from \"../interactions/usePress.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nfunction $ac4318a9c075bb9f$export$ea18c227d4417cc3(props, ref) {\n let { elementType: elementType = 'button', isDisabled: isDisabled, onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onPressChange: onPressChange, preventFocusOnPress: preventFocusOnPress, allowFocusWhenDisabled: // @ts-ignore - undocumented\n allowFocusWhenDisabled, onClick: onClick, href: href, target: target, rel: rel, type: type = 'button' } = props;\n let additionalProps;\n if (elementType === 'button') additionalProps = {\n type: type,\n disabled: isDisabled,\n form: props.form,\n formAction: props.formAction,\n formEncType: props.formEncType,\n formMethod: props.formMethod,\n formNoValidate: props.formNoValidate,\n formTarget: props.formTarget,\n name: props.name,\n value: props.value\n };\n else additionalProps = {\n role: 'button',\n href: elementType === 'a' && !isDisabled ? href : undefined,\n target: elementType === 'a' ? target : undefined,\n type: elementType === 'input' ? type : undefined,\n disabled: elementType === 'input' ? isDisabled : undefined,\n 'aria-disabled': !isDisabled || elementType === 'input' ? undefined : isDisabled,\n rel: elementType === 'a' ? rel : undefined\n };\n let { pressProps: pressProps, isPressed: isPressed } = (0, $d27d541f9569d26d$export$45712eceda6fad21)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled,\n preventFocusOnPress: preventFocusOnPress,\n ref: ref\n });\n let { focusableProps: focusableProps } = (0, $d1116acdf220c2da$export$4c014de7c8940b4c)(props, ref);\n if (allowFocusWhenDisabled) // oxlint-disable-next-line react/react-compiler\n focusableProps.tabIndex = isDisabled ? -1 : focusableProps.tabIndex;\n let buttonProps = (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(focusableProps, pressProps, (0, $8e9d2fae0ecb9001$export$457c3d6518dd4c6f)(props, {\n labelable: true\n }));\n return {\n isPressed: isPressed,\n buttonProps: (0, $bbaa08b3cd72f041$export$9d1611c77c2fe928)(additionalProps, buttonProps, {\n 'aria-haspopup': props['aria-haspopup'],\n 'aria-expanded': props['aria-expanded'],\n 'aria-controls': props['aria-controls'],\n 'aria-pressed': props['aria-pressed'],\n 'aria-current': props['aria-current'],\n 'aria-disabled': props['aria-disabled']\n })\n };\n}\n\n\nexport {$ac4318a9c075bb9f$export$ea18c227d4417cc3 as useButton};\n//# sourceMappingURL=useButton.mjs.map\n","import {dom as $7230ffa83bc0c2cf$export$df3a06d6289f983e, useContextProps as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, useRenderProps as $7230ffa83bc0c2cf$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {ProgressBarContext as $6c0095e7e99364f2$export$e9f3bf65a26ce129} from \"./ProgressBar.mjs\";\nimport {announce as $9s8kH$announce} from \"react-aria/private/live-announcer/LiveAnnouncer\";\nimport {useButton as $9s8kH$useButton} from \"react-aria/useButton\";\nimport {createHideableComponent as $9s8kH$createHideableComponent} from \"react-aria/private/collections/Hidden\";\nimport {filterDOMProps as $9s8kH$filterDOMProps} from \"react-aria/filterDOMProps\";\nimport {mergeProps as $9s8kH$mergeProps} from \"react-aria/mergeProps\";\nimport $9s8kH$react, {createContext as $9s8kH$createContext, useRef as $9s8kH$useRef, useEffect as $9s8kH$useEffect} from \"react\";\nimport {useFocusRing as $9s8kH$useFocusRing} from \"react-aria/useFocusRing\";\nimport {useHover as $9s8kH$useHover} from \"react-aria/useHover\";\nimport {useId as $9s8kH$useId} from \"react-aria/useId\";\n\n/*\n * Copyright 2022 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\n\n\n\n\n\n\n\n\nconst $7705c033048f6da7$export$24d547caef80ccd1 = /*#__PURE__*/ (0, $9s8kH$createContext)({});\nconst $7705c033048f6da7$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, $9s8kH$createHideableComponent)(function Button(props, ref) {\n [props, ref] = (0, $7230ffa83bc0c2cf$export$29f1550f4b0d4415)(props, ref, $7705c033048f6da7$export$24d547caef80ccd1);\n let ctx = props;\n let { isPending: isPending } = ctx;\n let { buttonProps: buttonProps, isPressed: isPressed } = (0, $9s8kH$useButton)(props, ref);\n buttonProps = $7705c033048f6da7$var$useDisableInteractions(buttonProps, isPending);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $9s8kH$useFocusRing)(props);\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $9s8kH$useHover)({\n ...props,\n isDisabled: props.isDisabled || isPending\n });\n let renderValues = {\n isHovered: isHovered,\n isPressed: (ctx.isPressed || isPressed) && !isPending,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: props.isDisabled || false,\n isPending: isPending ?? false\n };\n let renderProps = (0, $7230ffa83bc0c2cf$export$4d86445c2cf5e3)({\n ...props,\n values: renderValues,\n defaultClassName: 'react-aria-Button'\n });\n let buttonId = (0, $9s8kH$useId)(buttonProps.id);\n let progressId = (0, $9s8kH$useId)();\n let ariaLabelledby = buttonProps['aria-labelledby'];\n if (isPending) {\n // aria-labelledby wins over aria-label\n // https://www.w3.org/TR/accname-1.2/#computation-steps\n if (ariaLabelledby) ariaLabelledby = `${ariaLabelledby} ${progressId}`;\n else if (buttonProps['aria-label']) ariaLabelledby = `${buttonId} ${progressId}`;\n }\n let wasPending = (0, $9s8kH$useRef)(isPending);\n (0, $9s8kH$useEffect)(()=>{\n let message = {\n 'aria-labelledby': ariaLabelledby || buttonId\n };\n if (!wasPending.current && isFocused && isPending) (0, $9s8kH$announce)(message, 'assertive');\n else if (wasPending.current && isFocused && !isPending) (0, $9s8kH$announce)(message, 'assertive');\n wasPending.current = isPending;\n }, [\n isPending,\n isFocused,\n ariaLabelledby,\n buttonId\n ]);\n let DOMProps = (0, $9s8kH$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $9s8kH$react).createElement((0, $7230ffa83bc0c2cf$export$df3a06d6289f983e).button, {\n ...(0, $9s8kH$mergeProps)(DOMProps, renderProps, buttonProps, focusProps, hoverProps),\n // When the button is in a pending state, we want to stop implicit form submission (ie. when the user presses enter on a text input).\n // We do this by changing the button's type to button.\n type: buttonProps.type === 'submit' && isPending ? 'button' : buttonProps.type,\n id: buttonId,\n ref: ref,\n \"aria-labelledby\": ariaLabelledby,\n slot: props.slot || undefined,\n \"aria-disabled\": isPending ? 'true' : buttonProps['aria-disabled'],\n \"data-disabled\": props.isDisabled || undefined,\n \"data-pressed\": renderValues.isPressed || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-pending\": isPending || undefined,\n \"data-focus-visible\": isFocusVisible || undefined\n }, /*#__PURE__*/ (0, $9s8kH$react).createElement((0, $6c0095e7e99364f2$export$e9f3bf65a26ce129).Provider, {\n value: {\n id: progressId\n }\n }, renderProps.children));\n});\n// Events to preserve when isPending is true (for tooltips and other overlays)\nconst $7705c033048f6da7$var$PRESERVED_EVENT_PATTERN = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;\nfunction $7705c033048f6da7$var$useDisableInteractions(props, isPending) {\n if (isPending) {\n for(const key in props)if (key.startsWith('on') && !$7705c033048f6da7$var$PRESERVED_EVENT_PATTERN.test(key)) props[key] = undefined;\n props.href = undefined;\n props.target = undefined;\n }\n return props;\n}\n\n\nexport {$7705c033048f6da7$export$24d547caef80ccd1 as ButtonContext, $7705c033048f6da7$export$353f5b6fc5456de1 as Button};\n//# sourceMappingURL=Button.mjs.map\n"],"names":["$9s8kH$createContext","$9s8kH$createHideableComponent","$9s8kH$useButton","$9s8kH$useFocusRing","$9s8kH$useHover","$9s8kH$useId","$9s8kH$useRef","$9s8kH$useEffect","$9s8kH$announce","$9s8kH$filterDOMProps","$9s8kH$react","$9s8kH$mergeProps"],"mappings":";;;;;;;AAUqE,MAAM,iDAAiD;AAC5H,IAAI,sCAAsC;AAC1C,SAAS,0CAA0C,SAAS,gBAAgB,aAAa,UAAU,gDAAgD;AAC/I,MAAI,CAAC,qCAAqC;AACtC,0CAAsC,IAAI,oCAAmC;AAO7E;AAAA;AAAA,MACA,EAAE,OAAO,6BAA6B,YAAY,2BAA2B,OAAO,SAAS;AAAA,KAAc,YAAW,MAAI;AACtH,UAAI,qCAAqC,aAAc,sCAAqC,SAAS,S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AAc;AAAA,IACrC,gBAAgB,aAAa,aAAa;AAAA,IAC1C,gBAAgB,aAAa;AAAA,IAC7B,gBAAgB,aAAa;AAAA,IAC7B,gBAAgB,aAAa;AAAA,IAC7B,sBAAsB,kBAAkB;AAAA,EAChD,GAAyBD,+BAAc,cAAkB,0CAA2C,UAAU;AAAA,IACtG,OAAO;AAAA,MACH,IAAI;AAAA,IAChB;AAAA,EACA,GAAO,YAAY,QAAQ,CAAC;AAC5B,CAAC;AAED,MAAM,gDAAgD;AACtD,SAAS,6CAA6C,OAAO,WAAW;AACpE,MAAI,WAAW;AACX,eAAU,OAAO,MAAM,KAAI,IAAI,WAAW,IAAI,KAAK,CAAC,8CAA8C,KAAK,GAAG,EAAG,OAAM,GAAG,IAAI;AAC1H,UAAM,OAAO;AACb,UAAM,SAAS;AAAA,EACnB;AACA,SAAO;AACX;","x_google_ignoreList":[0,1,2]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const focusSafely = require("./focusSafely-Cxp4n3zg.js");
2
+ const focusSafely = require("./focusSafely-CKxVSn6H.js");
3
3
  const utils = require("./utils-DvHk9ofL.js");
4
4
  const React = require("react");
5
5
  class $654b97e09f2a30c1$export$63eb3ababa9c55c4 {
@@ -821,4 +821,4 @@ let $535772f9d2c1f38d$export$d06fae2ee68b101e = new $535772f9d2c1f38d$var$Tree()
821
821
  exports.$535772f9d2c1f38d$export$20e40289641fbbb6 = $535772f9d2c1f38d$export$20e40289641fbbb6;
822
822
  exports.$535772f9d2c1f38d$export$2d6ec8fc375ceafa = $535772f9d2c1f38d$export$2d6ec8fc375ceafa;
823
823
  exports.$535772f9d2c1f38d$export$c5251b9e124bf29 = $535772f9d2c1f38d$export$c5251b9e124bf29;
824
- //# sourceMappingURL=FocusScope-Txa6B8J4.js.map
824
+ //# sourceMappingURL=FocusScope-4TdD5fCA.js.map