@eightshift/ui-components 6.0.13 → 6.1.1

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 (97) hide show
  1. package/dist/{Button-JRIu2BnS.js → Button-CFnNdpNZ.js} +9 -9
  2. package/dist/{Dialog-Dd1yqNus.js → Dialog-D0jMcN-a.js} +79 -60
  3. package/dist/{FieldError-DmVwL6Dj.js → FieldError-BPG0hKfB.js} +2 -2
  4. package/dist/{FocusScope-Dri1oBcH.js → FocusScope-BJhC1-1e.js} +6 -7
  5. package/dist/{Heading-eA6LXIKB.js → Heading-CY-_gt-U.js} +2 -2
  6. package/dist/{Input-Cuw9UbNb.js → Input-B4X6-x6r.js} +8 -8
  7. package/dist/{Label-DPWyf-gp.js → Label-BDlf9vIY.js} +3 -2
  8. package/dist/{List-CWheI3JH.js → List-CQFXnN4w.js} +1 -1
  9. package/dist/{ListBox-DT1sFY3e.js → ListBox-BaN0n5h3.js} +30 -28
  10. package/dist/{OverlayArrow-DVJTTfZM.js → OverlayArrow-Dy0qw7WL.js} +7 -7
  11. package/dist/{PortalProvider-CHPnqDSH.js → PortalProvider-BQ1X8vGX.js} +1 -1
  12. package/dist/{RadioGroup-Cp5cdBI_.js → RadioGroup-CjCAbUr4.js} +15 -15
  13. package/dist/{SearchField-CLhr5PGZ.js → SearchField-CafsA525.js} +12 -12
  14. package/dist/{SelectionManager-DbBiF5M8.js → SelectionManager-oojq6MOy.js} +38 -34
  15. package/dist/{SharedElementTransition-B_vnQ1uR.js → SharedElementTransition-CtoWSaF0.js} +1 -1
  16. package/dist/{Slider-CZV3HhHY.js → Slider-BIbaMdUE.js} +17 -16
  17. package/dist/{Text-Dae33gHp.js → Text-CjFEHSfr.js} +3 -2
  18. package/dist/{VisuallyHidden-eaCBtXhE.js → VisuallyHidden-CqnizvzQ.js} +2 -2
  19. package/dist/{animation-DY7CNkr6.js → animation-Dfl8uEb3.js} +2 -2
  20. package/dist/assets/style-admin.css +38 -54
  21. package/dist/assets/style-editor.css +38 -54
  22. package/dist/assets/style.css +38 -54
  23. package/dist/{color-swatch-CZj0jHZd.js → color-swatch-bUFkK7ox.js} +6 -6
  24. package/dist/components/base-control/base-control.js +1 -1
  25. package/dist/components/button/button.js +9 -9
  26. package/dist/components/checkbox/checkbox.js +10 -10
  27. package/dist/components/color-pickers/color-picker.js +1 -1
  28. package/dist/components/color-pickers/color-swatch.js +1 -1
  29. package/dist/components/color-pickers/gradient-editor.js +2 -2
  30. package/dist/components/color-pickers/solid-color-picker.js +27 -23
  31. package/dist/components/draggable/draggable-handle.js +1 -1
  32. package/dist/components/draggable/draggable.js +841 -633
  33. package/dist/components/draggable-list/draggable-list-item.js +1 -1
  34. package/dist/components/draggable-list/draggable-list.js +1 -1
  35. package/dist/components/expandable/expandable.js +10 -10
  36. package/dist/components/index.js +4 -2
  37. package/dist/components/input-field/input-field.js +10 -10
  38. package/dist/components/link-input/link-input.js +24 -23
  39. package/dist/components/matrix-align/matrix-align.js +1 -1
  40. package/dist/components/menu/menu.js +1 -1
  41. package/dist/components/modal/modal.js +21 -22
  42. package/dist/components/number-picker/number-picker.js +11 -11
  43. package/dist/components/options-panel/options-panel.js +1 -1
  44. package/dist/components/placeholders/file-picker-shell.js +49 -44
  45. package/dist/components/popover/popover.js +1 -1
  46. package/dist/components/portal-provider/portal-provider.js +1 -1
  47. package/dist/components/radio/radio.js +2 -2
  48. package/dist/components/repeater/repeater.js +1 -1
  49. package/dist/components/responsive/mini-responsive.js +1 -1
  50. package/dist/components/select/async-multi-select.js +53 -32
  51. package/dist/components/select/async-select.js +8 -8
  52. package/dist/components/select/multi-select.js +9 -9
  53. package/dist/components/select/shared.js +4 -4
  54. package/dist/components/select/single-select.js +9 -9
  55. package/dist/components/slider/column-config-slider.js +3 -3
  56. package/dist/components/slider/slider.js +3 -3
  57. package/dist/components/smart-image/image-analysis-worker-next.js +144 -0
  58. package/dist/components/smart-image/smart-image-next.js +294 -0
  59. package/dist/components/smart-image/smart-image.js +2 -2
  60. package/dist/components/smart-image/worker-inline.js +1 -1
  61. package/dist/components/tabs/tabs.js +17 -16
  62. package/dist/components/toggle/switch.js +7 -7
  63. package/dist/components/toggle/toggle.js +1 -1
  64. package/dist/components/toggle-button/toggle-button.js +10 -7
  65. package/dist/components/tooltip/tooltip.js +8 -8
  66. package/dist/{context-DYYO3Ns3.js → context-iUFQCK8m.js} +1 -1
  67. package/dist/{general-C8Q0dvEx.js → general-BfKmjm56.js} +3 -4
  68. package/dist/icons/icons.js +2 -2
  69. package/dist/icons/jsx-svg.js +1 -1
  70. package/dist/{index-sSixe2j_.js → index-BL5gdWX4.js} +52 -52
  71. package/dist/index.js +3 -1
  72. package/dist/{proxy-B_RaYTfe.js → proxy-DFlYXk07.js} +320 -82
  73. package/dist/{react-jsx-parser.min-B_hvYYa1.js → react-jsx-parser.min-DAh4myol.js} +35 -35
  74. package/dist/{shared-Bg9lx3pE.js → shared-CMLCUova.js} +29 -26
  75. package/dist/{textSelection-Cq_Br7RW.js → textSelection-CeoEP4rL.js} +1 -1
  76. package/dist/{useButton-CeuyDay5.js → useButton-5YL_nmpZ.js} +3 -3
  77. package/dist/{useEvent-DoWvho2u.js → useEvent-Zze2g7CX.js} +1 -1
  78. package/dist/{useFilter-DYtfYPua.js → useFilter-8S94U4xM.js} +1 -1
  79. package/dist/{useFocusRing-WEswknAY.js → useFocusRing-rUOwLdTK.js} +10 -5
  80. package/dist/{useFormReset-BDF1K4E4.js → useFormReset-BxtOoO5Q.js} +1 -1
  81. package/dist/{useFormValidation-Dqzjv4jX.js → useFormValidation-DTmPrTD8.js} +3 -3
  82. package/dist/{useHover-CG39Ci3A.js → useHover-CmyvqeWX.js} +18 -17
  83. package/dist/{useLabel--3fT2XKM.js → useLabel-DzXzKZZZ.js} +2 -2
  84. package/dist/{useLabels-vzdDMGCX.js → useLabels-D8O3gOdV.js} +1 -1
  85. package/dist/{useListState-Bya9g7W8.js → useListState-B22CApJO.js} +1 -1
  86. package/dist/{useLocalizedStringFormatter-M3L6Ge2c.js → useLocalizedStringFormatter-CEDs0LsA.js} +1 -1
  87. package/dist/{useNumberField-D6lsi3Vu.js → useNumberField-CTkI-U9a.js} +50 -40
  88. package/dist/{useNumberFormatter-BWOyCamK.js → useNumberFormatter-CG_IQXp9.js} +1 -1
  89. package/dist/{usePress-B9w0X4Ur.js → usePress-CNefMs8d.js} +14 -8
  90. package/dist/{useSingleSelectListState-D9SqGLJ0.js → useSingleSelectListState-CDZGQDLC.js} +2 -2
  91. package/dist/{useToggle-Deq2xxQV.js → useToggle-CFFOmZWi.js} +4 -4
  92. package/dist/{useToggleState-j3o1PvdS.js → useToggleState-BWrKKisg.js} +1 -1
  93. package/dist/utilities/general.js +1 -1
  94. package/dist/utilities/index.js +1 -1
  95. package/dist/{utils-HC9_3Crc.js → utils-Cr3pLd9c.js} +77 -38
  96. package/dist/workers/image-analysis.worker.js +1 -1
  97. package/package.json +17 -17
@@ -390,7 +390,7 @@ var __toESM = (mod, isNodeMode, target) => {
390
390
  return to;
391
391
  };
392
392
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
393
- var require_xhtml = __commonJS((exports, module) => {
393
+ var require_xhtml = __commonJS((exports$1, module) => {
394
394
  module.exports = {
395
395
  quot: '"',
396
396
  amp: "&",
@@ -647,10 +647,10 @@ var require_xhtml = __commonJS((exports, module) => {
647
647
  diams: "♦"
648
648
  };
649
649
  });
650
- var require_acorn = __commonJS((exports, module) => {
650
+ var require_acorn = __commonJS((exports$1, module) => {
651
651
  (function(global, factory) {
652
- typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.acorn = {}));
653
- })(exports, function(exports2) {
652
+ typeof exports$1 === "object" && typeof module !== "undefined" ? factory(exports$1) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.acorn = {}));
653
+ })(exports$1, function(exports2) {
654
654
  var astralIdentifierCodes2 = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
655
655
  var astralIdentifierStartCodes2 = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
656
656
  var nonASCIIidentifierChars2 = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
@@ -5756,7 +5756,7 @@ Defaulting to 2020, but this will stop working in the future.`);
5756
5756
  exports2.version = version2;
5757
5757
  });
5758
5758
  });
5759
- var require_acorn_jsx = __commonJS((exports, module) => {
5759
+ var require_acorn_jsx = __commonJS((exports$1, module) => {
5760
5760
  var XHTMLEntities = require_xhtml();
5761
5761
  var hexNumber = /^[\da-fA-F]+$/;
5762
5762
  var decimalNumber = /^\d+$/;
@@ -6768,12 +6768,12 @@ pp$9.isSimpleAssignTarget = function(expr) {
6768
6768
  };
6769
6769
  var pp$8 = Parser.prototype;
6770
6770
  pp$8.parseTopLevel = function(node) {
6771
- var exports = /* @__PURE__ */ Object.create(null);
6771
+ var exports$1 = /* @__PURE__ */ Object.create(null);
6772
6772
  if (!node.body) {
6773
6773
  node.body = [];
6774
6774
  }
6775
6775
  while (this.type !== types$1.eof) {
6776
- var stmt = this.parseStatement(null, true, exports);
6776
+ var stmt = this.parseStatement(null, true, exports$1);
6777
6777
  node.body.push(stmt);
6778
6778
  }
6779
6779
  if (this.inModule) {
@@ -6829,7 +6829,7 @@ pp$8.isAsyncFunction = function() {
6829
6829
  var next = this.pos + skip[0].length, after;
6830
6830
  return !lineBreak.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar(after = this.input.charCodeAt(next + 8)) || after > 55295 && after < 56320));
6831
6831
  };
6832
- pp$8.parseStatement = function(context, topLevel, exports) {
6832
+ pp$8.parseStatement = function(context, topLevel, exports$1) {
6833
6833
  var starttype = this.type, node = this.startNode(), kind;
6834
6834
  if (this.isLet(context)) {
6835
6835
  starttype = types$1._var;
@@ -6898,7 +6898,7 @@ pp$8.parseStatement = function(context, topLevel, exports) {
6898
6898
  this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'");
6899
6899
  }
6900
6900
  }
6901
- return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports);
6901
+ return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports$1);
6902
6902
  default:
6903
6903
  if (this.isAsyncFunction()) {
6904
6904
  if (context) {
@@ -7537,11 +7537,11 @@ function checkKeyName(node, name) {
7537
7537
  var key = node.key;
7538
7538
  return !computed && (key.type === "Identifier" && key.name === name || key.type === "Literal" && key.value === name);
7539
7539
  }
7540
- pp$8.parseExportAllDeclaration = function(node, exports) {
7540
+ pp$8.parseExportAllDeclaration = function(node, exports$1) {
7541
7541
  if (this.options.ecmaVersion >= 11) {
7542
7542
  if (this.eatContextual("as")) {
7543
7543
  node.exported = this.parseModuleExportName();
7544
- this.checkExport(exports, node.exported, this.lastTokStart);
7544
+ this.checkExport(exports$1, node.exported, this.lastTokStart);
7545
7545
  } else {
7546
7546
  node.exported = null;
7547
7547
  }
@@ -7554,28 +7554,28 @@ pp$8.parseExportAllDeclaration = function(node, exports) {
7554
7554
  this.semicolon();
7555
7555
  return this.finishNode(node, "ExportAllDeclaration");
7556
7556
  };
7557
- pp$8.parseExport = function(node, exports) {
7557
+ pp$8.parseExport = function(node, exports$1) {
7558
7558
  this.next();
7559
7559
  if (this.eat(types$1.star)) {
7560
- return this.parseExportAllDeclaration(node, exports);
7560
+ return this.parseExportAllDeclaration(node, exports$1);
7561
7561
  }
7562
7562
  if (this.eat(types$1._default)) {
7563
- this.checkExport(exports, "default", this.lastTokStart);
7563
+ this.checkExport(exports$1, "default", this.lastTokStart);
7564
7564
  node.declaration = this.parseExportDefaultDeclaration();
7565
7565
  return this.finishNode(node, "ExportDefaultDeclaration");
7566
7566
  }
7567
7567
  if (this.shouldParseExportStatement()) {
7568
7568
  node.declaration = this.parseExportDeclaration(node);
7569
7569
  if (node.declaration.type === "VariableDeclaration") {
7570
- this.checkVariableExport(exports, node.declaration.declarations);
7570
+ this.checkVariableExport(exports$1, node.declaration.declarations);
7571
7571
  } else {
7572
- this.checkExport(exports, node.declaration.id, node.declaration.id.start);
7572
+ this.checkExport(exports$1, node.declaration.id, node.declaration.id.start);
7573
7573
  }
7574
7574
  node.specifiers = [];
7575
7575
  node.source = null;
7576
7576
  } else {
7577
7577
  node.declaration = null;
7578
- node.specifiers = this.parseExportSpecifiers(exports);
7578
+ node.specifiers = this.parseExportSpecifiers(exports$1);
7579
7579
  if (this.eatContextual("from")) {
7580
7580
  if (this.type !== types$1.string) {
7581
7581
  this.unexpected();
@@ -7617,62 +7617,62 @@ pp$8.parseExportDefaultDeclaration = function() {
7617
7617
  return declaration;
7618
7618
  }
7619
7619
  };
7620
- pp$8.checkExport = function(exports, name, pos) {
7621
- if (!exports) {
7620
+ pp$8.checkExport = function(exports$1, name, pos) {
7621
+ if (!exports$1) {
7622
7622
  return;
7623
7623
  }
7624
7624
  if (typeof name !== "string") {
7625
7625
  name = name.type === "Identifier" ? name.name : name.value;
7626
7626
  }
7627
- if (hasOwn(exports, name)) {
7627
+ if (hasOwn(exports$1, name)) {
7628
7628
  this.raiseRecoverable(pos, "Duplicate export '" + name + "'");
7629
7629
  }
7630
- exports[name] = true;
7630
+ exports$1[name] = true;
7631
7631
  };
7632
- pp$8.checkPatternExport = function(exports, pat) {
7632
+ pp$8.checkPatternExport = function(exports$1, pat) {
7633
7633
  var type = pat.type;
7634
7634
  if (type === "Identifier") {
7635
- this.checkExport(exports, pat, pat.start);
7635
+ this.checkExport(exports$1, pat, pat.start);
7636
7636
  } else if (type === "ObjectPattern") {
7637
7637
  for (var i2 = 0, list2 = pat.properties; i2 < list2.length; i2 += 1) {
7638
7638
  var prop = list2[i2];
7639
- this.checkPatternExport(exports, prop);
7639
+ this.checkPatternExport(exports$1, prop);
7640
7640
  }
7641
7641
  } else if (type === "ArrayPattern") {
7642
7642
  for (var i$1 = 0, list$1 = pat.elements; i$1 < list$1.length; i$1 += 1) {
7643
7643
  var elt = list$1[i$1];
7644
7644
  if (elt) {
7645
- this.checkPatternExport(exports, elt);
7645
+ this.checkPatternExport(exports$1, elt);
7646
7646
  }
7647
7647
  }
7648
7648
  } else if (type === "Property") {
7649
- this.checkPatternExport(exports, pat.value);
7649
+ this.checkPatternExport(exports$1, pat.value);
7650
7650
  } else if (type === "AssignmentPattern") {
7651
- this.checkPatternExport(exports, pat.left);
7651
+ this.checkPatternExport(exports$1, pat.left);
7652
7652
  } else if (type === "RestElement") {
7653
- this.checkPatternExport(exports, pat.argument);
7653
+ this.checkPatternExport(exports$1, pat.argument);
7654
7654
  }
7655
7655
  };
7656
- pp$8.checkVariableExport = function(exports, decls) {
7657
- if (!exports) {
7656
+ pp$8.checkVariableExport = function(exports$1, decls) {
7657
+ if (!exports$1) {
7658
7658
  return;
7659
7659
  }
7660
7660
  for (var i2 = 0, list2 = decls; i2 < list2.length; i2 += 1) {
7661
7661
  var decl = list2[i2];
7662
- this.checkPatternExport(exports, decl.id);
7662
+ this.checkPatternExport(exports$1, decl.id);
7663
7663
  }
7664
7664
  };
7665
7665
  pp$8.shouldParseExportStatement = function() {
7666
7666
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
7667
7667
  };
7668
- pp$8.parseExportSpecifier = function(exports) {
7668
+ pp$8.parseExportSpecifier = function(exports$1) {
7669
7669
  var node = this.startNode();
7670
7670
  node.local = this.parseModuleExportName();
7671
7671
  node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local;
7672
- this.checkExport(exports, node.exported, node.exported.start);
7672
+ this.checkExport(exports$1, node.exported, node.exported.start);
7673
7673
  return this.finishNode(node, "ExportSpecifier");
7674
7674
  };
7675
- pp$8.parseExportSpecifiers = function(exports) {
7675
+ pp$8.parseExportSpecifiers = function(exports$1) {
7676
7676
  var nodes = [], first = true;
7677
7677
  this.expect(types$1.braceL);
7678
7678
  while (!this.eat(types$1.braceR)) {
@@ -7684,7 +7684,7 @@ pp$8.parseExportSpecifiers = function(exports) {
7684
7684
  } else {
7685
7685
  first = false;
7686
7686
  }
7687
- nodes.push(this.parseExportSpecifier(exports));
7687
+ nodes.push(this.parseExportSpecifier(exports$1));
7688
7688
  }
7689
7689
  return nodes;
7690
7690
  };
@@ -1,28 +1,28 @@
1
1
  import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
2
2
  import { _ as __ } from "./default-i18n-CnQeC5Pl.js";
3
- import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-JRIu2BnS.js";
4
- import { c as $eed445e0843c11d0$export$7ff8f37d2d81a48d, d as $eed445e0843c11d0$export$7c5906fe4f1f2af2, e as $eed445e0843c11d0$export$a11e76429ed99b4 } from "./ListBox-DT1sFY3e.js";
5
- import { a as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$f680877a34711e37, n as $ff5963eb1fccf552$export$e08e3b67e392101e, $ as $64fa3d84918910a7$export$29f1550f4b0d4415, d as $64fa3d84918910a7$export$fabf2dc03a41866e, g as $64fa3d84918910a7$export$4d86445c2cf5e3, e as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, f as $64fa3d84918910a7$export$ef03459518577ad4, h as $64fa3d84918910a7$export$2881499e37b75b9a } from "./utils-HC9_3Crc.js";
6
- import { a as $2baaea4c71418dea$export$294aa081a6c6f55d, $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "./FieldError-DmVwL6Dj.js";
3
+ import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-CFnNdpNZ.js";
4
+ import { c as $eed445e0843c11d0$export$7ff8f37d2d81a48d, d as $eed445e0843c11d0$export$7c5906fe4f1f2af2, e as $eed445e0843c11d0$export$a11e76429ed99b4 } from "./ListBox-BaN0n5h3.js";
5
+ import { b as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $bdb11010cef70236$export$f680877a34711e37, o as $ff5963eb1fccf552$export$e08e3b67e392101e, $ as $64fa3d84918910a7$export$29f1550f4b0d4415, e as $64fa3d84918910a7$export$fabf2dc03a41866e, h as $64fa3d84918910a7$export$4d86445c2cf5e3, a as $64fa3d84918910a7$export$df3a06d6289f983e, f as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, g as $64fa3d84918910a7$export$ef03459518577ad4, i as $64fa3d84918910a7$export$2881499e37b75b9a } from "./utils-Cr3pLd9c.js";
6
+ import { a as $2baaea4c71418dea$export$294aa081a6c6f55d, $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "./FieldError-BPG0hKfB.js";
7
7
  import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "./Form-Cq3fu75_.js";
8
- import { a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-DPWyf-gp.js";
9
- import { i as $325a3faab7a68acd$export$a16aca283550c30d, t as $2a25aae57d74318e$export$a05409b8bb224a5a, w as $168583247155ddda$export$dc9c12ed27dd1b49, n as $de32f1b87079253c$export$d2f961adcb0afbe, x as $07b14b47974efb58$export$9b9a0cd73afb7ca4 } from "./Dialog-Dd1yqNus.js";
10
- import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-Dae33gHp.js";
11
- import { s as $fb3050f43d946246$export$e32c88dfddc6e1d8, g as $e1995378a142960e$export$bf788dd355e3a401 } from "./SelectionManager-DbBiF5M8.js";
8
+ import { a as $01b77f81d0f07f68$export$75b6ee27786ba447 } from "./Label-BDlf9vIY.js";
9
+ import { i as $325a3faab7a68acd$export$a16aca283550c30d, t as $2a25aae57d74318e$export$a05409b8bb224a5a, w as $168583247155ddda$export$dc9c12ed27dd1b49, n as $de32f1b87079253c$export$d2f961adcb0afbe, x as $07b14b47974efb58$export$9b9a0cd73afb7ca4 } from "./Dialog-D0jMcN-a.js";
10
+ import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-CjFEHSfr.js";
11
+ import { s as $fb3050f43d946246$export$e32c88dfddc6e1d8, f as $e1995378a142960e$export$bf788dd355e3a401 } from "./SelectionManager-oojq6MOy.js";
12
12
  import { $ as $f39a9eba43920ace$export$86427a43e3e48ebb } from "./Hidden-Rfj-STx7.js";
13
13
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-eGTqWSTd.js";
14
- import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, d as $9daab02d461809db$export$683480f191c0e3ea } from "./OverlayArrow-DVJTTfZM.js";
15
- import $dbSRa$react__default, { useMemo, useRef, useCallback, useState, forwardRef, createContext, useContext, Fragment } from "react";
16
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-DYYO3Ns3.js";
17
- import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-M3L6Ge2c.js";
18
- import { a as $e93e671b31057976$export$b8473d3665f3a75a, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "./useFormValidation-Dqzjv4jX.js";
19
- import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-Bya9g7W8.js";
20
- import { w as $507fabe10e71c6fb$export$8397ddfc504fdb9a, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-CG39Ci3A.js";
21
- import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-WEswknAY.js";
22
- import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BDF1K4E4.js";
23
- import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "./VisuallyHidden-eaCBtXhE.js";
14
+ import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, d as $9daab02d461809db$export$683480f191c0e3ea } from "./OverlayArrow-Dy0qw7WL.js";
15
+ import $dbSRa$react__default, { useMemo, useRef, useCallback, useState, forwardRef, useContext, Fragment, createContext } from "react";
16
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-iUFQCK8m.js";
17
+ import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CEDs0LsA.js";
18
+ import { a as $e93e671b31057976$export$b8473d3665f3a75a, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "./useFormValidation-DTmPrTD8.js";
19
+ import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-B22CApJO.js";
20
+ import { g as $d4ee10de306f2510$export$4282f70798064fe0, w as $507fabe10e71c6fb$export$8397ddfc504fdb9a, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useHover-CmyvqeWX.js";
21
+ import { a as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-rUOwLdTK.js";
22
+ import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BxtOoO5Q.js";
23
+ import { a as $5c3e21d68f1c4674$export$a966af930f325cab } from "./VisuallyHidden-CqnizvzQ.js";
24
24
  import { icons } from "./icons/icons.js";
25
- import "./react-jsx-parser.min-B_hvYYa1.js";
25
+ import "./react-jsx-parser.min-DAh4myol.js";
26
26
  import { c as clsx } from "./clsx-DgYk2OaC.js";
27
27
  import { AnimatedVisibility } from "./components/animated-visibility/animated-visibility.js";
28
28
  function $33bf17300c498528$export$a2f47a3d2973640(options = {}) {
@@ -143,7 +143,7 @@ function $58aed456727eb0f3$export$e64b2f635402ca43(props, state, ref) {
143
143
  disallowEmptySelection: true,
144
144
  linkBehavior: "selection",
145
145
  onBlur: (e) => {
146
- if (e.currentTarget.contains(e.relatedTarget)) return;
146
+ if ($d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.relatedTarget)) return;
147
147
  if (props.onBlur) props.onBlur(e);
148
148
  if (props.onFocusChange) props.onFocusChange(false);
149
149
  state.setFocused(false);
@@ -232,6 +232,9 @@ function $bdd25dc72710631f$export$cbd84cdb2e668835(props) {
232
232
  ...props,
233
233
  selectRef: state.collection.size <= 300 ? selectRef : inputRef
234
234
  }, state, triggerRef);
235
+ let values = Array.isArray(state.value) ? state.value : [
236
+ state.value
237
+ ];
235
238
  if (state.collection.size <= 300) return /* @__PURE__ */ $dbSRa$react__default.createElement("div", {
236
239
  ...containerProps,
237
240
  "data-testid": "hidden-select-container"
@@ -246,13 +249,13 @@ function $bdd25dc72710631f$export$cbd84cdb2e668835(props) {
246
249
  key: item.key,
247
250
  value: item.key
248
251
  }, item.textValue);
249
- }))));
252
+ }), state.collection.size === 0 && name && values.map((value, i) => /* @__PURE__ */ $dbSRa$react__default.createElement("option", {
253
+ key: i,
254
+ value: value !== null && value !== void 0 ? value : ""
255
+ })))));
250
256
  else if (name) {
251
257
  let data = $58aed456727eb0f3$export$703601b7e90536f8.get(state) || {};
252
258
  let { validationBehavior } = data;
253
- let values = Array.isArray(state.value) ? state.value : [
254
- state.value
255
- ];
256
259
  if (values.length === 0) values = [
257
260
  null
258
261
  ];
@@ -837,7 +840,7 @@ function $82d7e5349645de74$var$SelectInner({ props, selectRef: ref, collection }
837
840
  validation
838
841
  ]
839
842
  ]
840
- }, /* @__PURE__ */ $dbSRa$react__default.createElement("div", {
843
+ }, /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.div, {
841
844
  ...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, focusProps),
842
845
  ref,
843
846
  slot: props.slot || void 0,
@@ -928,7 +931,7 @@ const $82d7e5349645de74$export$e288731fd71264f0 = /* @__PURE__ */ $f39a9eba43920
928
931
  let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
929
932
  global: true
930
933
  });
931
- return /* @__PURE__ */ $dbSRa$react__default.createElement("span", {
934
+ return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.span, {
932
935
  ref,
933
936
  ...DOMProps,
934
937
  ...renderProps,
@@ -1,4 +1,4 @@
1
- import { c as $c87311424ea30a05$export$fedb369cb70207f1, d as $431fbd86ca7dc216$export$b204af158042fbac, e as $bbed8b41f857bcc0$export$24490316f764c430 } from "./useHover-CG39Ci3A.js";
1
+ import { c as $c87311424ea30a05$export$fedb369cb70207f1, d as $431fbd86ca7dc216$export$b204af158042fbac, e as $bbed8b41f857bcc0$export$24490316f764c430 } from "./useHover-CmyvqeWX.js";
2
2
  let $14c0b72509d70225$var$state = "default";
3
3
  let $14c0b72509d70225$var$savedUserSelect = "";
4
4
  let $14c0b72509d70225$var$modifiedElementMap = /* @__PURE__ */ new WeakMap();
@@ -1,7 +1,7 @@
1
- import { a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-HC9_3Crc.js";
1
+ import { b as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-Cr3pLd9c.js";
2
2
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-eGTqWSTd.js";
3
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-B9w0X4Ur.js";
4
- import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-CG39Ci3A.js";
3
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CNefMs8d.js";
4
+ import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useHover-CmyvqeWX.js";
5
5
  function $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {
6
6
  let { elementType = "button", isDisabled, onPress, onPressStart, onPressEnd, onPressUp, onPressChange, preventFocusOnPress, allowFocusWhenDisabled, onClick, href, target, rel, type = "button" } = props;
7
7
  let additionalProps;
@@ -1,4 +1,4 @@
1
- import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-CG39Ci3A.js";
1
+ import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-CmyvqeWX.js";
2
2
  import { useEffect } from "react";
3
3
  function $e9faafb641e167db$export$90fc3a17d93f704c(ref, event, handler, options) {
4
4
  let handleEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(handler);
@@ -1,4 +1,4 @@
1
- import { i as $325a3faab7a68acd$export$a16aca283550c30d } from "./Dialog-Dd1yqNus.js";
1
+ import { i as $325a3faab7a68acd$export$a16aca283550c30d } from "./Dialog-D0jMcN-a.js";
2
2
  import { useCallback, useMemo } from "react";
3
3
  function $bb77f239b46e8c72$export$3274cf84b703fff(options) {
4
4
  let collator = $325a3faab7a68acd$export$a16aca283550c30d({
@@ -1,4 +1,4 @@
1
- import { f as $03deb23ff14920c4$export$4eaf04e54aa8eed6, g as $8a9cb279dc87e130$export$715c682d09d639cc, d as $431fbd86ca7dc216$export$b204af158042fbac, h as $d4ee10de306f2510$export$cd4e5573fbe2b576, i as $d4ee10de306f2510$export$e58f029f0fbfdb29, j as $d4ee10de306f2510$export$4282f70798064fe0, k as $8a9cb279dc87e130$export$c2b7abe5d61ec696, l as $8a9cb279dc87e130$export$525bc4921d56d4a, m as $507fabe10e71c6fb$export$b9b3dfddab17db27, n as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, o as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useHover-CG39Ci3A.js";
1
+ import { f as $03deb23ff14920c4$export$4eaf04e54aa8eed6, g as $d4ee10de306f2510$export$4282f70798064fe0, h as $8a9cb279dc87e130$export$715c682d09d639cc, d as $431fbd86ca7dc216$export$b204af158042fbac, i as $d4ee10de306f2510$export$cd4e5573fbe2b576, j as $d4ee10de306f2510$export$e58f029f0fbfdb29, k as $8a9cb279dc87e130$export$c2b7abe5d61ec696, l as $8a9cb279dc87e130$export$525bc4921d56d4a, m as $507fabe10e71c6fb$export$b9b3dfddab17db27, n as $507fabe10e71c6fb$export$ec71b4b83ac08ec3, o as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useHover-CmyvqeWX.js";
2
2
  import { useRef, useCallback, useState } from "react";
3
3
  function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
4
4
  let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
@@ -7,8 +7,8 @@ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
7
7
  });
8
8
  let { addGlobalListener, removeAllGlobalListeners } = $03deb23ff14920c4$export$4eaf04e54aa8eed6();
9
9
  let onBlur = useCallback((e) => {
10
- if (!e.currentTarget.contains(e.target)) return;
11
- if (state.current.isFocusWithin && !e.currentTarget.contains(e.relatedTarget)) {
10
+ if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.target)) return;
11
+ if (state.current.isFocusWithin && !$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.relatedTarget)) {
12
12
  state.current.isFocusWithin = false;
13
13
  removeAllGlobalListeners();
14
14
  if (onBlurWithin) onBlurWithin(e);
@@ -22,7 +22,7 @@ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
22
22
  ]);
23
23
  let onSyntheticFocus = $8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
24
24
  let onFocus = useCallback((e) => {
25
- if (!e.currentTarget.contains(e.target)) return;
25
+ if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.target)) return;
26
26
  const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(e.target);
27
27
  const activeElement = $d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
28
28
  if (!state.current.isFocusWithin && activeElement === $d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent)) {
@@ -76,6 +76,7 @@ function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
76
76
  let updateState = useCallback(() => setFocusVisible(state.current.isFocused && state.current.isFocusVisible), []);
77
77
  let onFocusChange = useCallback((isFocused2) => {
78
78
  state.current.isFocused = isFocused2;
79
+ state.current.isFocusVisible = $507fabe10e71c6fb$export$b9b3dfddab17db27();
79
80
  setFocused(isFocused2);
80
81
  updateState();
81
82
  }, [
@@ -84,7 +85,11 @@ function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
84
85
  $507fabe10e71c6fb$export$ec71b4b83ac08ec3((isFocusVisible) => {
85
86
  state.current.isFocusVisible = isFocusVisible;
86
87
  updateState();
87
- }, [], {
88
+ }, [
89
+ isTextInput,
90
+ isFocused
91
+ ], {
92
+ enabled: isFocused,
88
93
  isTextInput
89
94
  });
90
95
  let { focusProps } = $a1ea59d68270f0dd$export$f8168d8dd8fd66e6({
@@ -1,4 +1,4 @@
1
- import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-CG39Ci3A.js";
1
+ import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useHover-CmyvqeWX.js";
2
2
  import { useEffect } from "react";
3
3
  function $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {
4
4
  let handleReset = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
@@ -1,6 +1,6 @@
1
- import { useMemo, useContext, createContext, useState, useRef, useEffect } from "react";
2
- import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, w as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-CG39Ci3A.js";
3
- import { b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./utils-HC9_3Crc.js";
1
+ import { useMemo, useContext, useState, useRef, useEffect, createContext } from "react";
2
+ import { b as $8ae05eaa5c114e9c$export$7f54fc3180508a52, w as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useHover-CmyvqeWX.js";
3
+ import { c as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./utils-Cr3pLd9c.js";
4
4
  const $e5be200c675c3b3a$export$aca958c65c314e6c = {
5
5
  badInput: false,
6
6
  customError: false,
@@ -1,4 +1,4 @@
1
- import { b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, l as $b5e257d569688ac6$export$535bd6ca7f90a273, j as $df56164dff5785e2$export$4338b53315abf666, a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-HC9_3Crc.js";
1
+ import { c as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, m as $b5e257d569688ac6$export$535bd6ca7f90a273, b as $3ef42575df84b30b$export$9d1611c77c2fe928, k as $df56164dff5785e2$export$4338b53315abf666 } from "./utils-Cr3pLd9c.js";
2
2
  import $dbSRa$react__default, { useContext, createContext, useRef, useCallback, useEffect, useState, useReducer, useMemo } from "react";
3
3
  const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
4
4
  var _el_ownerDocument;
@@ -565,7 +565,7 @@ function $8a9cb279dc87e130$export$cabe61c495ee3649(target) {
565
565
  }
566
566
  let $507fabe10e71c6fb$var$currentModality = null;
567
567
  let $507fabe10e71c6fb$var$currentPointerType = "keyboard";
568
- let $507fabe10e71c6fb$var$changeHandlers = /* @__PURE__ */ new Set();
568
+ const $507fabe10e71c6fb$export$901e90a13c50a14e = /* @__PURE__ */ new Set();
569
569
  let $507fabe10e71c6fb$export$d90243b58daecda7 = /* @__PURE__ */ new Map();
570
570
  let $507fabe10e71c6fb$var$hasEventBeforeFocus = false;
571
571
  let $507fabe10e71c6fb$var$hasBlurredWindowRecently = false;
@@ -574,7 +574,7 @@ const $507fabe10e71c6fb$var$FOCUS_VISIBLE_INPUT_KEYS = {
574
574
  Escape: true
575
575
  };
576
576
  function $507fabe10e71c6fb$var$triggerChangeHandlers(modality, e) {
577
- for (let handler of $507fabe10e71c6fb$var$changeHandlers) handler(modality, e);
577
+ for (let handler of $507fabe10e71c6fb$export$901e90a13c50a14e) handler(modality, e);
578
578
  }
579
579
  function $507fabe10e71c6fb$var$isValidKey(e) {
580
580
  return !(e.metaKey || !$c87311424ea30a05$export$9ac100e40613ea10() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
@@ -705,9 +705,9 @@ function $507fabe10e71c6fb$export$98e20ec92f614cfe() {
705
705
  let handler = () => {
706
706
  setModality($507fabe10e71c6fb$var$currentModality);
707
707
  };
708
- $507fabe10e71c6fb$var$changeHandlers.add(handler);
708
+ $507fabe10e71c6fb$export$901e90a13c50a14e.add(handler);
709
709
  return () => {
710
- $507fabe10e71c6fb$var$changeHandlers.delete(handler);
710
+ $507fabe10e71c6fb$export$901e90a13c50a14e.delete(handler);
711
711
  };
712
712
  }, []);
713
713
  return $b5e257d569688ac6$export$535bd6ca7f90a273() ? null : modality;
@@ -735,13 +735,14 @@ function $507fabe10e71c6fb$var$isKeyboardFocusEvent(isTextInput, modality, e) {
735
735
  function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
736
736
  $507fabe10e71c6fb$var$setupGlobalFocusEvents();
737
737
  useEffect(() => {
738
+ if ((opts === null || opts === void 0 ? void 0 : opts.enabled) === false) return;
738
739
  let handler = (modality, e) => {
739
740
  if (!$507fabe10e71c6fb$var$isKeyboardFocusEvent(!!(opts === null || opts === void 0 ? void 0 : opts.isTextInput), modality, e)) return;
740
741
  fn($507fabe10e71c6fb$export$b9b3dfddab17db27());
741
742
  };
742
- $507fabe10e71c6fb$var$changeHandlers.add(handler);
743
+ $507fabe10e71c6fb$export$901e90a13c50a14e.add(handler);
743
744
  return () => {
744
- $507fabe10e71c6fb$var$changeHandlers.delete(handler);
745
+ $507fabe10e71c6fb$export$901e90a13c50a14e.delete(handler);
745
746
  };
746
747
  }, deps);
747
748
  }
@@ -902,7 +903,7 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
902
903
  let { hoverProps, triggerHoverEnd } = useMemo(() => {
903
904
  let triggerHoverStart = (event, pointerType) => {
904
905
  state.pointerType = pointerType;
905
- if (isDisabled || pointerType === "touch" || state.isHovered || !event.currentTarget.contains(event.target)) return;
906
+ if (isDisabled || pointerType === "touch" || state.isHovered || !$d4ee10de306f2510$export$4282f70798064fe0(event.currentTarget, event.target)) return;
906
907
  state.isHovered = true;
907
908
  let target = event.currentTarget;
908
909
  state.target = target;
@@ -941,7 +942,7 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
941
942
  triggerHoverStart(e, e.pointerType);
942
943
  };
943
944
  hoverProps2.onPointerLeave = (e) => {
944
- if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd2(e, e.pointerType);
945
+ if (!isDisabled && $d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.target)) triggerHoverEnd2(e, e.pointerType);
945
946
  };
946
947
  } else if (process.env.NODE_ENV === "test") {
947
948
  hoverProps2.onTouchStart = () => {
@@ -952,7 +953,7 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
952
953
  state.ignoreEmulatedMouseEvents = false;
953
954
  };
954
955
  hoverProps2.onMouseLeave = (e) => {
955
- if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd2(e, "mouse");
956
+ if (!isDisabled && $d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, e.target)) triggerHoverEnd2(e, "mouse");
956
957
  };
957
958
  }
958
959
  return {
@@ -1005,10 +1006,10 @@ export {
1005
1006
  $431fbd86ca7dc216$export$b204af158042fbac as d,
1006
1007
  $bbed8b41f857bcc0$export$24490316f764c430 as e,
1007
1008
  $03deb23ff14920c4$export$4eaf04e54aa8eed6 as f,
1008
- $8a9cb279dc87e130$export$715c682d09d639cc as g,
1009
- $d4ee10de306f2510$export$cd4e5573fbe2b576 as h,
1010
- $d4ee10de306f2510$export$e58f029f0fbfdb29 as i,
1011
- $d4ee10de306f2510$export$4282f70798064fe0 as j,
1009
+ $d4ee10de306f2510$export$4282f70798064fe0 as g,
1010
+ $8a9cb279dc87e130$export$715c682d09d639cc as h,
1011
+ $d4ee10de306f2510$export$cd4e5573fbe2b576 as i,
1012
+ $d4ee10de306f2510$export$e58f029f0fbfdb29 as j,
1012
1013
  $8a9cb279dc87e130$export$c2b7abe5d61ec696 as k,
1013
1014
  $8a9cb279dc87e130$export$525bc4921d56d4a as l,
1014
1015
  $507fabe10e71c6fb$export$b9b3dfddab17db27 as m,
@@ -1017,9 +1018,9 @@ export {
1017
1018
  $f4e2df6bd15f8569$export$98658e8c59125e6a as p,
1018
1019
  $b4b717babfbb907b$export$bebd5a1431fec25d as q,
1019
1020
  $b4b717babfbb907b$export$4c063cf1350e6fed as r,
1020
- $3ad3f6e1647bc98d$export$80f3e147d781571c as s,
1021
- $c87311424ea30a05$export$a11b0059900ceec8 as t,
1022
- $c87311424ea30a05$export$6446a186d09e379e as u,
1021
+ $c87311424ea30a05$export$a11b0059900ceec8 as s,
1022
+ $c87311424ea30a05$export$6446a186d09e379e as t,
1023
+ $3ad3f6e1647bc98d$export$80f3e147d781571c as u,
1023
1024
  $507fabe10e71c6fb$export$630ff653c5ada6a9 as v,
1024
1025
  $507fabe10e71c6fb$export$8397ddfc504fdb9a as w,
1025
1026
  $6179b936705e76d3$export$ae780daf29e6d456 as x,
@@ -1,5 +1,5 @@
1
- import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-HC9_3Crc.js";
2
- import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-vzdDMGCX.js";
1
+ import { d as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-Cr3pLd9c.js";
2
+ import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-D8O3gOdV.js";
3
3
  function $d191a55c9702f145$export$8467354a121f1b9f(props) {
4
4
  let { id, label, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, labelElementType = "label" } = props;
5
5
  id = $bdb11010cef70236$export$f680877a34711e37(id);
@@ -1,4 +1,4 @@
1
- import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-HC9_3Crc.js";
1
+ import { d as $bdb11010cef70236$export$f680877a34711e37 } from "./utils-Cr3pLd9c.js";
2
2
  function $313b98861ee5dd6c$export$d6875122194c7b44(props, defaultLabel) {
3
3
  let { id, "aria-label": label, "aria-labelledby": labelledBy } = props;
4
4
  id = $bdb11010cef70236$export$f680877a34711e37(id);
@@ -1,5 +1,5 @@
1
1
  import { version, useMemo, useCallback, useRef, useEffect } from "react";
2
- import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-DbBiF5M8.js";
2
+ import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-oojq6MOy.js";
3
3
  function $cdc5a6778b766db2$export$a9d04c5684123369(value) {
4
4
  const pieces = version.split(".");
5
5
  const major = parseInt(pieces[0], 10);
@@ -1,4 +1,4 @@
1
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-DYYO3Ns3.js";
1
+ import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-iUFQCK8m.js";
2
2
  import { useMemo } from "react";
3
3
  const $5b160d28a433310d$var$localeSymbol = /* @__PURE__ */ Symbol.for("react-aria.i18n.locale");
4
4
  const $5b160d28a433310d$var$stringsSymbol = /* @__PURE__ */ Symbol.for("react-aria.i18n.strings");