@rpcbase/ui 0.233.0 → 0.234.0

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 (203) hide show
  1. package/dist/index167.js +3 -3
  2. package/dist/index172.js +3 -3
  3. package/dist/index175.js +1 -1
  4. package/dist/index176.js +4 -4
  5. package/dist/index182.js +1 -1
  6. package/dist/index184.js +12 -12
  7. package/dist/index185.js +1 -1
  8. package/dist/index187.js +5 -5
  9. package/dist/index189.js +6 -6
  10. package/dist/index190.js +5 -5
  11. package/dist/index193.js +3 -3
  12. package/dist/index194.js +5 -5
  13. package/dist/index198.js +57 -36
  14. package/dist/index198.js.map +1 -1
  15. package/dist/index199.js.map +1 -1
  16. package/dist/index262.js +2 -2
  17. package/dist/index274.js +1 -1
  18. package/dist/index278.js +20 -20
  19. package/dist/index278.js.map +1 -1
  20. package/dist/index279.js +24 -62
  21. package/dist/index279.js.map +1 -1
  22. package/dist/index280.js +16 -6
  23. package/dist/index280.js.map +1 -1
  24. package/dist/index281.js +20 -12
  25. package/dist/index281.js.map +1 -1
  26. package/dist/index282.js +64 -48
  27. package/dist/index282.js.map +1 -1
  28. package/dist/index283.js +7 -4
  29. package/dist/index283.js.map +1 -1
  30. package/dist/index284.js +11 -29
  31. package/dist/index284.js.map +1 -1
  32. package/dist/index285.js +49 -15
  33. package/dist/index285.js.map +1 -1
  34. package/dist/index286.js +4 -6
  35. package/dist/index286.js.map +1 -1
  36. package/dist/index287.js +28 -20
  37. package/dist/index287.js.map +1 -1
  38. package/dist/index288.js +15 -50
  39. package/dist/index288.js.map +1 -1
  40. package/dist/index289.js +5 -25
  41. package/dist/index289.js.map +1 -1
  42. package/dist/index290.js +21 -41
  43. package/dist/index290.js.map +1 -1
  44. package/dist/index291.js +50 -38
  45. package/dist/index291.js.map +1 -1
  46. package/dist/index292.js +26 -45
  47. package/dist/index292.js.map +1 -1
  48. package/dist/index293.js +40 -19
  49. package/dist/index293.js.map +1 -1
  50. package/dist/index294.js +38 -69
  51. package/dist/index294.js.map +1 -1
  52. package/dist/index295.js +45 -18
  53. package/dist/index295.js.map +1 -1
  54. package/dist/index296.js +20 -11
  55. package/dist/index296.js.map +1 -1
  56. package/dist/index297.js +69 -26
  57. package/dist/index297.js.map +1 -1
  58. package/dist/index298.js +16 -12
  59. package/dist/index298.js.map +1 -1
  60. package/dist/index299.js +10 -17
  61. package/dist/index299.js.map +1 -1
  62. package/dist/index300.js +26 -35
  63. package/dist/index300.js.map +1 -1
  64. package/dist/index301.js +12 -261
  65. package/dist/index301.js.map +1 -1
  66. package/dist/index302.js +15 -275
  67. package/dist/index302.js.map +1 -1
  68. package/dist/index303.js +36 -68
  69. package/dist/index303.js.map +1 -1
  70. package/dist/index304.js +256 -93
  71. package/dist/index304.js.map +1 -1
  72. package/dist/index305.js +270 -75
  73. package/dist/index305.js.map +1 -1
  74. package/dist/index306.js +68 -3
  75. package/dist/index306.js.map +1 -1
  76. package/dist/index307.js +96 -26
  77. package/dist/index307.js.map +1 -1
  78. package/dist/index308.js +83 -16
  79. package/dist/index308.js.map +1 -1
  80. package/dist/index309.js +4 -35
  81. package/dist/index309.js.map +1 -1
  82. package/dist/index310.js +28 -15
  83. package/dist/index310.js.map +1 -1
  84. package/dist/index311.js +16 -3
  85. package/dist/index311.js.map +1 -1
  86. package/dist/index312.js +35 -27
  87. package/dist/index312.js.map +1 -1
  88. package/dist/index313.js +16 -28
  89. package/dist/index313.js.map +1 -1
  90. package/dist/index314.js +4 -4
  91. package/dist/index314.js.map +1 -1
  92. package/dist/index315.js +23 -75
  93. package/dist/index315.js.map +1 -1
  94. package/dist/index316.js +25 -266
  95. package/dist/index316.js.map +1 -1
  96. package/dist/index317.js +4 -12
  97. package/dist/index317.js.map +1 -1
  98. package/dist/index318.js +79 -11
  99. package/dist/index318.js.map +1 -1
  100. package/dist/index319.js +267 -23
  101. package/dist/index319.js.map +1 -1
  102. package/dist/index320.js +11 -16
  103. package/dist/index320.js.map +1 -1
  104. package/dist/index321.js +10 -125
  105. package/dist/index321.js.map +1 -1
  106. package/dist/index322.js +24 -4
  107. package/dist/index322.js.map +1 -1
  108. package/dist/index323.js +16 -40
  109. package/dist/index323.js.map +1 -1
  110. package/dist/index324.js +121 -61
  111. package/dist/index324.js.map +1 -1
  112. package/dist/index325.js +6 -14
  113. package/dist/index325.js.map +1 -1
  114. package/dist/index326.js +40 -7
  115. package/dist/index326.js.map +1 -1
  116. package/dist/index327.js +65 -5
  117. package/dist/index327.js.map +1 -1
  118. package/dist/index328.js +14 -4
  119. package/dist/index328.js.map +1 -1
  120. package/dist/index329.js +7 -10
  121. package/dist/index329.js.map +1 -1
  122. package/dist/index330.js +5 -7
  123. package/dist/index330.js.map +1 -1
  124. package/dist/index331.js +3 -133
  125. package/dist/index331.js.map +1 -1
  126. package/dist/index332.js +9 -398
  127. package/dist/index332.js.map +1 -1
  128. package/dist/index333.js +7 -52
  129. package/dist/index333.js.map +1 -1
  130. package/dist/index334.js +133 -11
  131. package/dist/index334.js.map +1 -1
  132. package/dist/index335.js +399 -11
  133. package/dist/index335.js.map +1 -1
  134. package/dist/index336.js +51 -18
  135. package/dist/index336.js.map +1 -1
  136. package/dist/index337.js +11 -28
  137. package/dist/index337.js.map +1 -1
  138. package/dist/index338.js +11 -16
  139. package/dist/index338.js.map +1 -1
  140. package/dist/index339.js +1 -1
  141. package/dist/index346.js +2 -2
  142. package/dist/index347.js +122 -5
  143. package/dist/index347.js.map +1 -1
  144. package/dist/index348.js +31 -121
  145. package/dist/index348.js.map +1 -1
  146. package/dist/index349.js +72 -31
  147. package/dist/index349.js.map +1 -1
  148. package/dist/index350.js +139 -70
  149. package/dist/index350.js.map +1 -1
  150. package/dist/index351.js +35 -116
  151. package/dist/index351.js.map +1 -1
  152. package/dist/index352.js +44 -56
  153. package/dist/index352.js.map +1 -1
  154. package/dist/index353.js +14 -49
  155. package/dist/index353.js.map +1 -1
  156. package/dist/index354.js +6 -15
  157. package/dist/index354.js.map +1 -1
  158. package/dist/index368.js +1 -1
  159. package/dist/index371.js +2 -2
  160. package/dist/index372.js +3 -3
  161. package/dist/index374.js +3 -3
  162. package/dist/index375.js +1 -1
  163. package/dist/index376.js +3 -3
  164. package/dist/index378.js +2 -2
  165. package/dist/index380.js +1 -1
  166. package/dist/index381.js +2 -2
  167. package/dist/index384.js +2 -2
  168. package/dist/index386.js +1 -1
  169. package/dist/index407.js +1 -1
  170. package/dist/index417.js +1 -1
  171. package/dist/index418.js +1 -1
  172. package/dist/index421.js +1 -1
  173. package/dist/index422.js +1 -1
  174. package/dist/index427.js +2 -2
  175. package/dist/index429.js +2 -2
  176. package/dist/index44.js +1 -1
  177. package/dist/index45.js +2 -2
  178. package/dist/index49.js +28 -28
  179. package/dist/index50.js +21 -21
  180. package/dist/index51.js +1 -1
  181. package/dist/index52.js +8 -8
  182. package/dist/index53.js +2 -2
  183. package/dist/index55.js +17 -17
  184. package/dist/index56.js +4 -4
  185. package/dist/index57.js +3 -3
  186. package/dist/index58.js +7 -7
  187. package/dist/index59.js +4 -4
  188. package/dist/index60.js +12 -12
  189. package/dist/index61.js +2 -2
  190. package/dist/index62.js +2 -2
  191. package/dist/index70.js +1 -1
  192. package/dist/index71.js +1 -1
  193. package/dist/index74.js +6 -2
  194. package/dist/index74.js.map +1 -1
  195. package/dist/index75.js +8 -2
  196. package/dist/index75.js.map +1 -1
  197. package/dist/index76.js +5 -5
  198. package/dist/index76.js.map +1 -1
  199. package/dist/index77.js +2 -8
  200. package/dist/index77.js.map +1 -1
  201. package/dist/index78.js +2 -6
  202. package/dist/index78.js.map +1 -1
  203. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index352.js","sources":["../../../node_modules/@base-ui/react/esm/utils/popups/popupTriggerMap.js"],"sourcesContent":["/**\n * Data structure to keep track of popup trigger elements by their IDs.\n * Uses both a set of Elements and a map of IDs to Elements for efficient lookups.\n */\nexport class PopupTriggerMap {\n constructor() {\n this.elementsSet = new Set();\n this.idMap = new Map();\n }\n\n /**\n * Adds a trigger element with the given ID.\n *\n * Note: The provided element is assumed to not be registered under multiple IDs.\n */\n add(id, element) {\n const existingElement = this.idMap.get(id);\n if (existingElement === element) {\n return;\n }\n if (existingElement !== undefined) {\n // We assume that the same element won't be registered under multiple ids.\n // This is safe considering how useTriggerRegistration is implemented.\n this.elementsSet.delete(existingElement);\n }\n this.elementsSet.add(element);\n this.idMap.set(id, element);\n if (process.env.NODE_ENV !== 'production') {\n if (this.elementsSet.size !== this.idMap.size) {\n throw new Error('Base UI: A trigger element cannot be registered under multiple IDs in PopupTriggerMap.');\n }\n }\n }\n\n /**\n * Removes the trigger element with the given ID.\n */\n delete(id) {\n const element = this.idMap.get(id);\n if (element) {\n this.elementsSet.delete(element);\n this.idMap.delete(id);\n }\n }\n\n /**\n * Whether the given element is registered as a trigger.\n */\n hasElement(element) {\n return this.elementsSet.has(element);\n }\n\n /**\n * Whether there is a registered trigger element matching the given predicate.\n */\n hasMatchingElement(predicate) {\n for (const element of this.elementsSet) {\n if (predicate(element)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Returns the trigger element associated with the given ID, or undefined if no such element exists.\n */\n getById(id) {\n return this.idMap.get(id);\n }\n\n /**\n * Returns an iterable of all registered trigger entries, where each entry is a tuple of [id, element].\n */\n entries() {\n return this.idMap.entries();\n }\n\n /**\n * Returns an iterable of all registered trigger elements.\n */\n elements() {\n return this.elementsSet.values();\n }\n\n /**\n * Returns the number of registered trigger elements.\n */\n get size() {\n return this.idMap.size;\n }\n}"],"names":["PopupTriggerMap","id","element","existingElement","predicate"],"mappings":"AAIO,MAAMA,EAAgB;AAAA,EAC3B,cAAc;AACZ,SAAK,cAAc,oBAAI,IAAG,GAC1B,KAAK,QAAQ,oBAAI,IAAG;AAAA,EACtB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,IAAIC,GAAIC,GAAS;AACf,UAAMC,IAAkB,KAAK,MAAM,IAAIF,CAAE;AACzC,QAAIE,MAAoBD,MAGpBC,MAAoB,UAGtB,KAAK,YAAY,OAAOA,CAAe,GAEzC,KAAK,YAAY,IAAID,CAAO,GAC5B,KAAK,MAAM,IAAID,GAAIC,CAAO,GACtB,QAAQ,IAAI,aAAa,gBACvB,KAAK,YAAY,SAAS,KAAK,MAAM;AACvC,YAAM,IAAI,MAAM,wFAAwF;AAAA,EAG9G;AAAA;AAAA;AAAA;AAAA,EAKA,OAAOD,GAAI;AACT,UAAMC,IAAU,KAAK,MAAM,IAAID,CAAE;AACjC,IAAIC,MACF,KAAK,YAAY,OAAOA,CAAO,GAC/B,KAAK,MAAM,OAAOD,CAAE;AAAA,EAExB;AAAA;AAAA;AAAA;AAAA,EAKA,WAAWC,GAAS;AAClB,WAAO,KAAK,YAAY,IAAIA,CAAO;AAAA,EACrC;AAAA;AAAA;AAAA;AAAA,EAKA,mBAAmBE,GAAW;AAC5B,eAAWF,KAAW,KAAK;AACzB,UAAIE,EAAUF,CAAO;AACnB,eAAO;AAGX,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA,EAKA,QAAQD,GAAI;AACV,WAAO,KAAK,MAAM,IAAIA,CAAE;AAAA,EAC1B;AAAA;AAAA;AAAA;AAAA,EAKA,UAAU;AACR,WAAO,KAAK,MAAM,QAAO;AAAA,EAC3B;AAAA;AAAA;AAAA;AAAA,EAKA,WAAW;AACT,WAAO,KAAK,YAAY,OAAM;AAAA,EAChC;AAAA;AAAA;AAAA;AAAA,EAKA,IAAI,OAAO;AACT,WAAO,KAAK,MAAM;AAAA,EACpB;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index352.js","sources":["../../../node_modules/@base-ui/react/esm/utils/popups/store.js"],"sourcesContent":["import { createSelector } from '@base-ui/utils/store';\nimport { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { getEmptyRootContext } from \"../../floating-ui-react/utils/getEmptyRootContext.js\";\n\n/**\n * State common to all popup stores.\n */\n\nexport function createInitialPopupStoreState() {\n return {\n open: false,\n openProp: undefined,\n mounted: false,\n transitionStatus: undefined,\n floatingRootContext: getEmptyRootContext(),\n preventUnmountingOnClose: false,\n payload: undefined,\n activeTriggerId: null,\n activeTriggerElement: null,\n triggerIdProp: undefined,\n popupElement: null,\n positionerElement: null,\n activeTriggerProps: EMPTY_OBJECT,\n inactiveTriggerProps: EMPTY_OBJECT,\n popupProps: EMPTY_OBJECT\n };\n}\nconst activeTriggerIdSelector = createSelector(state => state.triggerIdProp ?? state.activeTriggerId);\nexport const popupStoreSelectors = {\n open: createSelector(state => state.openProp ?? state.open),\n mounted: createSelector(state => state.mounted),\n transitionStatus: createSelector(state => state.transitionStatus),\n floatingRootContext: createSelector(state => state.floatingRootContext),\n preventUnmountingOnClose: createSelector(state => state.preventUnmountingOnClose),\n payload: createSelector(state => state.payload),\n activeTriggerId: activeTriggerIdSelector,\n activeTriggerElement: createSelector(state => state.mounted ? state.activeTriggerElement : null),\n /**\n * Whether the trigger with the given ID was used to open the popup.\n */\n isTriggerActive: createSelector((state, triggerId) => triggerId !== undefined && activeTriggerIdSelector(state) === triggerId),\n /**\n * Whether the popup is open and was activated by a trigger with the given ID.\n */\n isOpenedByTrigger: createSelector((state, triggerId) => triggerId !== undefined && activeTriggerIdSelector(state) === triggerId && state.open),\n /**\n * Whether the popup is mounted and was activated by a trigger with the given ID.\n */\n isMountedByTrigger: createSelector((state, triggerId) => triggerId !== undefined && activeTriggerIdSelector(state) === triggerId && state.mounted),\n triggerProps: createSelector((state, isActive) => isActive ? state.activeTriggerProps : state.inactiveTriggerProps),\n popupProps: createSelector(state => state.popupProps),\n popupElement: createSelector(state => state.popupElement),\n positionerElement: createSelector(state => state.positionerElement)\n};"],"names":["createInitialPopupStoreState","getEmptyRootContext","EMPTY_OBJECT","activeTriggerIdSelector","createSelector","state","popupStoreSelectors","triggerId","isActive"],"mappings":";;;AAQO,SAASA,IAA+B;AAC7C,SAAO;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS;AAAA,IACT,kBAAkB;AAAA,IAClB,qBAAqBC,EAAmB;AAAA,IACxC,0BAA0B;AAAA,IAC1B,SAAS;AAAA,IACT,iBAAiB;AAAA,IACjB,sBAAsB;AAAA,IACtB,eAAe;AAAA,IACf,cAAc;AAAA,IACd,mBAAmB;AAAA,IACnB,oBAAoBC;AAAA,IACpB,sBAAsBA;AAAA,IACtB,YAAYA;AAAA,EAChB;AACA;AACA,MAAMC,IAA0BC,EAAe,CAAAC,MAASA,EAAM,iBAAiBA,EAAM,eAAe,GACvFC,IAAsB;AAAA,EACjC,MAAMF,EAAe,CAAAC,MAASA,EAAM,YAAYA,EAAM,IAAI;AAAA,EAC1D,SAASD,EAAe,CAAAC,MAASA,EAAM,OAAO;AAAA,EAC9C,kBAAkBD,EAAe,CAAAC,MAASA,EAAM,gBAAgB;AAAA,EAChE,qBAAqBD,EAAe,CAAAC,MAASA,EAAM,mBAAmB;AAAA,EACtE,0BAA0BD,EAAe,CAAAC,MAASA,EAAM,wBAAwB;AAAA,EAChF,SAASD,EAAe,CAAAC,MAASA,EAAM,OAAO;AAAA,EAC9C,iBAAiBF;AAAA,EACjB,sBAAsBC,EAAe,CAAAC,MAASA,EAAM,UAAUA,EAAM,uBAAuB,IAAI;AAAA;AAAA;AAAA;AAAA,EAI/F,iBAAiBD,EAAe,CAACC,GAAOE,MAAcA,MAAc,UAAaJ,EAAwBE,CAAK,MAAME,CAAS;AAAA;AAAA;AAAA;AAAA,EAI7H,mBAAmBH,EAAe,CAACC,GAAOE,MAAcA,MAAc,UAAaJ,EAAwBE,CAAK,MAAME,KAAaF,EAAM,IAAI;AAAA;AAAA;AAAA;AAAA,EAI7I,oBAAoBD,EAAe,CAACC,GAAOE,MAAcA,MAAc,UAAaJ,EAAwBE,CAAK,MAAME,KAAaF,EAAM,OAAO;AAAA,EACjJ,cAAcD,EAAe,CAACC,GAAOG,MAAaA,IAAWH,EAAM,qBAAqBA,EAAM,oBAAoB;AAAA,EAClH,YAAYD,EAAe,CAAAC,MAASA,EAAM,UAAU;AAAA,EACpD,cAAcD,EAAe,CAAAC,MAASA,EAAM,YAAY;AAAA,EACxD,mBAAmBD,EAAe,CAAAC,MAASA,EAAM,iBAAiB;AACpE;","x_google_ignoreList":[0]}
package/dist/index353.js CHANGED
@@ -1,53 +1,18 @@
1
- import { EMPTY_OBJECT as r } from "./index286.js";
2
- import { getEmptyRootContext as i } from "./index386.js";
3
- import { createSelector as n } from "./index354.js";
4
- function u() {
5
- return {
6
- open: !1,
7
- openProp: void 0,
8
- mounted: !1,
9
- transitionStatus: void 0,
10
- floatingRootContext: i(),
11
- preventUnmountingOnClose: !1,
12
- payload: void 0,
13
- activeTriggerId: null,
14
- activeTriggerElement: null,
15
- triggerIdProp: void 0,
16
- popupElement: null,
17
- positionerElement: null,
18
- activeTriggerProps: r,
19
- inactiveTriggerProps: r,
20
- popupProps: r
21
- };
22
- }
23
- const t = n((e) => e.triggerIdProp ?? e.activeTriggerId), a = {
24
- open: n((e) => e.openProp ?? e.open),
25
- mounted: n((e) => e.mounted),
26
- transitionStatus: n((e) => e.transitionStatus),
27
- floatingRootContext: n((e) => e.floatingRootContext),
28
- preventUnmountingOnClose: n((e) => e.preventUnmountingOnClose),
29
- payload: n((e) => e.payload),
30
- activeTriggerId: t,
31
- activeTriggerElement: n((e) => e.mounted ? e.activeTriggerElement : null),
32
- /**
33
- * Whether the trigger with the given ID was used to open the popup.
34
- */
35
- isTriggerActive: n((e, o) => o !== void 0 && t(e) === o),
36
- /**
37
- * Whether the popup is open and was activated by a trigger with the given ID.
38
- */
39
- isOpenedByTrigger: n((e, o) => o !== void 0 && t(e) === o && e.open),
40
- /**
41
- * Whether the popup is mounted and was activated by a trigger with the given ID.
42
- */
43
- isMountedByTrigger: n((e, o) => o !== void 0 && t(e) === o && e.mounted),
44
- triggerProps: n((e, o) => o ? e.activeTriggerProps : e.inactiveTriggerProps),
45
- popupProps: n((e) => e.popupProps),
46
- popupElement: n((e) => e.popupElement),
47
- positionerElement: n((e) => e.positionerElement)
1
+ import t from "./index191.js";
2
+ const p = (r, s, n, c, f, i, ...o) => {
3
+ if (o.length > 0)
4
+ throw new Error(process.env.NODE_ENV !== "production" ? "Unsupported number of selectors" : t(1));
5
+ let e;
6
+ if (r)
7
+ e = r;
8
+ else
9
+ throw (
10
+ /* minify-error-disabled */
11
+ new Error("Missing arguments")
12
+ );
13
+ return e;
48
14
  };
49
15
  export {
50
- u as createInitialPopupStoreState,
51
- a as popupStoreSelectors
16
+ p as createSelector
52
17
  };
53
18
  //# sourceMappingURL=index353.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index353.js","sources":["../../../node_modules/@base-ui/react/esm/utils/popups/store.js"],"sourcesContent":["import { createSelector } from '@base-ui/utils/store';\nimport { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { getEmptyRootContext } from \"../../floating-ui-react/utils/getEmptyRootContext.js\";\n\n/**\n * State common to all popup stores.\n */\n\nexport function createInitialPopupStoreState() {\n return {\n open: false,\n openProp: undefined,\n mounted: false,\n transitionStatus: undefined,\n floatingRootContext: getEmptyRootContext(),\n preventUnmountingOnClose: false,\n payload: undefined,\n activeTriggerId: null,\n activeTriggerElement: null,\n triggerIdProp: undefined,\n popupElement: null,\n positionerElement: null,\n activeTriggerProps: EMPTY_OBJECT,\n inactiveTriggerProps: EMPTY_OBJECT,\n popupProps: EMPTY_OBJECT\n };\n}\nconst activeTriggerIdSelector = createSelector(state => state.triggerIdProp ?? state.activeTriggerId);\nexport const popupStoreSelectors = {\n open: createSelector(state => state.openProp ?? state.open),\n mounted: createSelector(state => state.mounted),\n transitionStatus: createSelector(state => state.transitionStatus),\n floatingRootContext: createSelector(state => state.floatingRootContext),\n preventUnmountingOnClose: createSelector(state => state.preventUnmountingOnClose),\n payload: createSelector(state => state.payload),\n activeTriggerId: activeTriggerIdSelector,\n activeTriggerElement: createSelector(state => state.mounted ? state.activeTriggerElement : null),\n /**\n * Whether the trigger with the given ID was used to open the popup.\n */\n isTriggerActive: createSelector((state, triggerId) => triggerId !== undefined && activeTriggerIdSelector(state) === triggerId),\n /**\n * Whether the popup is open and was activated by a trigger with the given ID.\n */\n isOpenedByTrigger: createSelector((state, triggerId) => triggerId !== undefined && activeTriggerIdSelector(state) === triggerId && state.open),\n /**\n * Whether the popup is mounted and was activated by a trigger with the given ID.\n */\n isMountedByTrigger: createSelector((state, triggerId) => triggerId !== undefined && activeTriggerIdSelector(state) === triggerId && state.mounted),\n triggerProps: createSelector((state, isActive) => isActive ? state.activeTriggerProps : state.inactiveTriggerProps),\n popupProps: createSelector(state => state.popupProps),\n popupElement: createSelector(state => state.popupElement),\n positionerElement: createSelector(state => state.positionerElement)\n};"],"names":["createInitialPopupStoreState","getEmptyRootContext","EMPTY_OBJECT","activeTriggerIdSelector","createSelector","state","popupStoreSelectors","triggerId","isActive"],"mappings":";;;AAQO,SAASA,IAA+B;AAC7C,SAAO;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS;AAAA,IACT,kBAAkB;AAAA,IAClB,qBAAqBC,EAAmB;AAAA,IACxC,0BAA0B;AAAA,IAC1B,SAAS;AAAA,IACT,iBAAiB;AAAA,IACjB,sBAAsB;AAAA,IACtB,eAAe;AAAA,IACf,cAAc;AAAA,IACd,mBAAmB;AAAA,IACnB,oBAAoBC;AAAA,IACpB,sBAAsBA;AAAA,IACtB,YAAYA;AAAA,EAChB;AACA;AACA,MAAMC,IAA0BC,EAAe,CAAAC,MAASA,EAAM,iBAAiBA,EAAM,eAAe,GACvFC,IAAsB;AAAA,EACjC,MAAMF,EAAe,CAAAC,MAASA,EAAM,YAAYA,EAAM,IAAI;AAAA,EAC1D,SAASD,EAAe,CAAAC,MAASA,EAAM,OAAO;AAAA,EAC9C,kBAAkBD,EAAe,CAAAC,MAASA,EAAM,gBAAgB;AAAA,EAChE,qBAAqBD,EAAe,CAAAC,MAASA,EAAM,mBAAmB;AAAA,EACtE,0BAA0BD,EAAe,CAAAC,MAASA,EAAM,wBAAwB;AAAA,EAChF,SAASD,EAAe,CAAAC,MAASA,EAAM,OAAO;AAAA,EAC9C,iBAAiBF;AAAA,EACjB,sBAAsBC,EAAe,CAAAC,MAASA,EAAM,UAAUA,EAAM,uBAAuB,IAAI;AAAA;AAAA;AAAA;AAAA,EAI/F,iBAAiBD,EAAe,CAACC,GAAOE,MAAcA,MAAc,UAAaJ,EAAwBE,CAAK,MAAME,CAAS;AAAA;AAAA;AAAA;AAAA,EAI7H,mBAAmBH,EAAe,CAACC,GAAOE,MAAcA,MAAc,UAAaJ,EAAwBE,CAAK,MAAME,KAAaF,EAAM,IAAI;AAAA;AAAA;AAAA;AAAA,EAI7I,oBAAoBD,EAAe,CAACC,GAAOE,MAAcA,MAAc,UAAaJ,EAAwBE,CAAK,MAAME,KAAaF,EAAM,OAAO;AAAA,EACjJ,cAAcD,EAAe,CAACC,GAAOG,MAAaA,IAAWH,EAAM,qBAAqBA,EAAM,oBAAoB;AAAA,EAClH,YAAYD,EAAe,CAAAC,MAASA,EAAM,UAAU;AAAA,EACpD,cAAcD,EAAe,CAAAC,MAASA,EAAM,YAAY;AAAA,EACxD,mBAAmBD,EAAe,CAAAC,MAASA,EAAM,iBAAiB;AACpE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index353.js","sources":["../../../node_modules/@base-ui/utils/esm/store/createSelector.js"],"sourcesContent":["import _formatErrorMessage from \"../formatErrorMessage.js\";\n/**\n * The NoOptionalParams type is a utility type that checks if a function has optional or default parameters.\n * If the function has optional or default parameters, it returns a string literal type with an error message.\n * Otherwise, it returns the original function type.\n *\n * This is used to enforce that the combiner function passed to createSelector does not have optional or default parameters,\n * as memoization relies on the Function.length property, which does not account for optional or default parameters.\n */\n\n/**\n * Creates a selector function that can be used to derive values from the store's state.\n *\n * The combiner function can have up to three additional parameters, but it **cannot have optional or default parameters**.\n *\n * This function accepts up to six functions and combines them into a single selector function.\n * The resulting selector will take the state from the combined selectors and any additional parameters required by the combiner.\n *\n * The return type of the resulting selector is determined by the return type of the combiner function.\n *\n * @example\n * const selector = createSelector(\n * (state) => state.disabled\n * );\n *\n * @example\n * const selector = createSelector(\n * (state) => state.disabled,\n * (state) => state.open,\n * (disabled, open) => ({ disabled, open })\n * );\n */\n/* eslint-disable id-denylist */\nexport const createSelector = (a, b, c, d, e, f, ...other) => {\n if (other.length > 0) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Unsupported number of selectors' : _formatErrorMessage(1));\n }\n let selector;\n if (a && b && c && d && e && f) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n const vc = c(state, a1, a2, a3);\n const vd = d(state, a1, a2, a3);\n const ve = e(state, a1, a2, a3);\n return f(va, vb, vc, vd, ve, a1, a2, a3);\n };\n } else if (a && b && c && d && e) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n const vc = c(state, a1, a2, a3);\n const vd = d(state, a1, a2, a3);\n return e(va, vb, vc, vd, a1, a2, a3);\n };\n } else if (a && b && c && d) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n const vc = c(state, a1, a2, a3);\n return d(va, vb, vc, a1, a2, a3);\n };\n } else if (a && b && c) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n return c(va, vb, a1, a2, a3);\n };\n } else if (a && b) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n return b(va, a1, a2, a3);\n };\n } else if (a) {\n selector = a;\n } else {\n throw /* minify-error-disabled */new Error('Missing arguments');\n }\n return selector;\n};\n/* eslint-enable id-denylist */"],"names":["createSelector","a","b","c","d","e","f","other","_formatErrorMessage","selector"],"mappings":";AAiCY,MAACA,IAAiB,CAACC,GAAGC,GAAGC,GAAGC,GAAGC,GAAGC,MAAMC,MAAU;AAC5D,MAAIA,EAAM,SAAS;AACjB,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,oCAAoCC,EAAoB,CAAC,CAAC;AAEpH,MAAIC;AAoCG,MAAIR;AACT,IAAAQ,IAAWR;AAAA;AAEX;AAAA;AAAA,MAAiC,IAAI,MAAM,mBAAmB;AAAA;AAEhE,SAAOQ;AACT;","x_google_ignoreList":[0]}
package/dist/index354.js CHANGED
@@ -1,18 +1,9 @@
1
- import t from "./index191.js";
2
- const p = (r, s, n, c, f, i, ...o) => {
3
- if (o.length > 0)
4
- throw new Error(process.env.NODE_ENV !== "production" ? "Unsupported number of selectors" : t(1));
5
- let e;
6
- if (r)
7
- e = r;
8
- else
9
- throw (
10
- /* minify-error-disabled */
11
- new Error("Missing arguments")
12
- );
13
- return e;
14
- };
1
+ import * as t from "react";
2
+ const e = parseInt(t.version, 10);
3
+ function o(r) {
4
+ return e >= r;
5
+ }
15
6
  export {
16
- p as createSelector
7
+ o as isReactVersionAtLeast
17
8
  };
18
9
  //# sourceMappingURL=index354.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index354.js","sources":["../../../node_modules/@base-ui/utils/esm/store/createSelector.js"],"sourcesContent":["import _formatErrorMessage from \"../formatErrorMessage.js\";\n/**\n * The NoOptionalParams type is a utility type that checks if a function has optional or default parameters.\n * If the function has optional or default parameters, it returns a string literal type with an error message.\n * Otherwise, it returns the original function type.\n *\n * This is used to enforce that the combiner function passed to createSelector does not have optional or default parameters,\n * as memoization relies on the Function.length property, which does not account for optional or default parameters.\n */\n\n/**\n * Creates a selector function that can be used to derive values from the store's state.\n *\n * The combiner function can have up to three additional parameters, but it **cannot have optional or default parameters**.\n *\n * This function accepts up to six functions and combines them into a single selector function.\n * The resulting selector will take the state from the combined selectors and any additional parameters required by the combiner.\n *\n * The return type of the resulting selector is determined by the return type of the combiner function.\n *\n * @example\n * const selector = createSelector(\n * (state) => state.disabled\n * );\n *\n * @example\n * const selector = createSelector(\n * (state) => state.disabled,\n * (state) => state.open,\n * (disabled, open) => ({ disabled, open })\n * );\n */\n/* eslint-disable id-denylist */\nexport const createSelector = (a, b, c, d, e, f, ...other) => {\n if (other.length > 0) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Unsupported number of selectors' : _formatErrorMessage(1));\n }\n let selector;\n if (a && b && c && d && e && f) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n const vc = c(state, a1, a2, a3);\n const vd = d(state, a1, a2, a3);\n const ve = e(state, a1, a2, a3);\n return f(va, vb, vc, vd, ve, a1, a2, a3);\n };\n } else if (a && b && c && d && e) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n const vc = c(state, a1, a2, a3);\n const vd = d(state, a1, a2, a3);\n return e(va, vb, vc, vd, a1, a2, a3);\n };\n } else if (a && b && c && d) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n const vc = c(state, a1, a2, a3);\n return d(va, vb, vc, a1, a2, a3);\n };\n } else if (a && b && c) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n const vb = b(state, a1, a2, a3);\n return c(va, vb, a1, a2, a3);\n };\n } else if (a && b) {\n selector = (state, a1, a2, a3) => {\n const va = a(state, a1, a2, a3);\n return b(va, a1, a2, a3);\n };\n } else if (a) {\n selector = a;\n } else {\n throw /* minify-error-disabled */new Error('Missing arguments');\n }\n return selector;\n};\n/* eslint-enable id-denylist */"],"names":["createSelector","a","b","c","d","e","f","other","_formatErrorMessage","selector"],"mappings":";AAiCY,MAACA,IAAiB,CAACC,GAAGC,GAAGC,GAAGC,GAAGC,GAAGC,MAAMC,MAAU;AAC5D,MAAIA,EAAM,SAAS;AACjB,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,oCAAoCC,EAAoB,CAAC,CAAC;AAEpH,MAAIC;AAoCG,MAAIR;AACT,IAAAQ,IAAWR;AAAA;AAEX;AAAA;AAAA,MAAiC,IAAI,MAAM,mBAAmB;AAAA;AAEhE,SAAOQ;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index354.js","sources":["../../../node_modules/@base-ui/utils/esm/reactVersion.js"],"sourcesContent":["import * as React from 'react';\nconst majorVersion = parseInt(React.version, 10);\nexport function isReactVersionAtLeast(reactVersionToCheck) {\n return majorVersion >= reactVersionToCheck;\n}"],"names":["majorVersion","React","isReactVersionAtLeast","reactVersionToCheck"],"mappings":";AACA,MAAMA,IAAe,SAASC,EAAM,SAAS,EAAE;AACxC,SAASC,EAAsBC,GAAqB;AACzD,SAAOH,KAAgBG;AACzB;","x_google_ignoreList":[0]}
package/dist/index368.js CHANGED
@@ -1,4 +1,4 @@
1
- import { evaluate as W, getPaddingObject as Y, getAlignmentAxis as k, getAlignment as q, getAxisLength as B, clamp as C } from "./index321.js";
1
+ import { evaluate as W, getPaddingObject as Y, getAlignmentAxis as k, getAlignment as q, getAxisLength as B, clamp as C } from "./index324.js";
2
2
  const F = (s) => ({
3
3
  name: "arrow",
4
4
  options: s,
package/dist/index371.js CHANGED
@@ -1,5 +1,5 @@
1
- import { flip as H, size as I, computePosition as J, offset as K, hide as N, shift as Q, limitShift as T } from "./index332.js";
2
- import { autoUpdate as ae, platform as me } from "./index332.js";
1
+ import { flip as H, size as I, computePosition as J, offset as K, hide as N, shift as Q, limitShift as T } from "./index335.js";
2
+ import { autoUpdate as ae, platform as me } from "./index335.js";
3
3
  import * as r from "react";
4
4
  import { useLayoutEffect as X } from "react";
5
5
  import * as Y from "react-dom";
package/dist/index372.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as o from "react";
2
2
  import { useFloating as P } from "./index371.js";
3
- import { isElement as s } from "./index331.js";
4
- import { useIsoLayoutEffect as F } from "./index283.js";
3
+ import { isElement as s } from "./index334.js";
4
+ import { useIsoLayoutEffect as F } from "./index286.js";
5
5
  import { useFloatingTree as V } from "./index382.js";
6
- import { useFloatingRootContext as v } from "./index300.js";
6
+ import { useFloatingRootContext as v } from "./index303.js";
7
7
  function $(c = {}) {
8
8
  const {
9
9
  nodeId: i,
package/dist/index374.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as r from "react";
2
- import { useIsoLayoutEffect as u } from "./index283.js";
3
- import { isSafari as i } from "./index323.js";
4
- import { visuallyHidden as f } from "./index278.js";
2
+ import { useIsoLayoutEffect as u } from "./index286.js";
3
+ import { isSafari as i } from "./index326.js";
4
+ import { visuallyHidden as f } from "./index281.js";
5
5
  import { j as n } from "./index30.js";
6
6
  const d = /* @__PURE__ */ r.forwardRef(function(t, s) {
7
7
  const [o, e] = r.useState();
package/dist/index375.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isAndroid as r, isJSDOM as o } from "./index323.js";
1
+ import { isAndroid as r, isJSDOM as o } from "./index326.js";
2
2
  function n(i) {
3
3
  i.preventDefault(), i.stopPropagation();
4
4
  }
package/dist/index376.js CHANGED
@@ -1,6 +1,6 @@
1
- import { isHTMLElement as s, getNodeName as i, isShadowRoot as T, getComputedStyle as A } from "./index331.js";
2
- import { ownerDocument as c } from "./index306.js";
3
- import { contains as f, activeElement as I } from "./index313.js";
1
+ import { isHTMLElement as s, getNodeName as i, isShadowRoot as T, getComputedStyle as A } from "./index334.js";
2
+ import { ownerDocument as c } from "./index309.js";
3
+ import { contains as f, activeElement as I } from "./index316.js";
4
4
  import { isElementVisible as C } from "./index378.js";
5
5
  const N = 'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';
6
6
  function R(t) {
package/dist/index378.js CHANGED
@@ -1,5 +1,5 @@
1
- import { floor as _ } from "./index321.js";
2
- import { getComputedStyle as K } from "./index331.js";
1
+ import { floor as _ } from "./index324.js";
2
+ import { getComputedStyle as K } from "./index334.js";
3
3
  import { stopEvent as b } from "./index375.js";
4
4
  import { ARROW_UP as Q, ARROW_DOWN as X, ARROW_LEFT as z, ARROW_RIGHT as B } from "./index385.js";
5
5
  function W(t, r, o) {
package/dist/index380.js CHANGED
@@ -1,4 +1,4 @@
1
- import { NOOP as u } from "./index286.js";
1
+ import { NOOP as u } from "./index289.js";
2
2
  let e = 0;
3
3
  function s(c, t = {}) {
4
4
  const {
package/dist/index381.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isShadowRoot as O, getNodeName as y } from "./index331.js";
2
- import { ownerDocument as U } from "./index306.js";
1
+ import { isShadowRoot as O, getNodeName as y } from "./index334.js";
2
+ import { ownerDocument as U } from "./index309.js";
3
3
  const k = {
4
4
  inert: /* @__PURE__ */ new WeakMap(),
5
5
  "aria-hidden": /* @__PURE__ */ new WeakMap()
package/dist/index384.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { createEventEmitter as a } from "./index406.js";
2
- import { ReactStore as m } from "./index351.js";
2
+ import { ReactStore as m } from "./index350.js";
3
3
  import { isClickLikeEvent as f } from "./index375.js";
4
- import { createSelector as o } from "./index354.js";
4
+ import { createSelector as o } from "./index353.js";
5
5
  const l = {
6
6
  open: o((t) => t.open),
7
7
  transitionStatus: o((t) => t.transitionStatus),
package/dist/index386.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { FloatingRootStore as e } from "./index384.js";
2
- import { PopupTriggerMap as n } from "./index352.js";
2
+ import { PopupTriggerMap as n } from "./index351.js";
3
3
  function r() {
4
4
  return new e({
5
5
  open: !1,
package/dist/index407.js CHANGED
@@ -1,4 +1,4 @@
1
- import { evaluate as P, getSide as E, getSideAxis as S, getOppositePlacement as J, getExpandedPlacements as K, getOppositeAxisPlacements as Q, getAlignmentSides as Z, getAlignment as j, min as X, max as L, getAlignmentAxis as ee, getPaddingObject as te, rectToClientRect as Y, sides as ne, getAxisLength as ie, clamp as $, getOppositeAxis as U } from "./index321.js";
1
+ import { evaluate as P, getSide as E, getSideAxis as S, getOppositePlacement as J, getExpandedPlacements as K, getOppositeAxisPlacements as Q, getAlignmentSides as Z, getAlignment as j, min as X, max as L, getAlignmentAxis as ee, getPaddingObject as te, rectToClientRect as Y, sides as ne, getAxisLength as ie, clamp as $, getOppositeAxis as U } from "./index324.js";
2
2
  function z(t, e, d) {
3
3
  let {
4
4
  reference: i,
package/dist/index417.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as i } from "./index427.js";
1
+ import { __exports as i } from "./index429.js";
2
2
  import h from "react";
3
3
  var f;
4
4
  function x() {
package/dist/index418.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as s } from "./index428.js";
1
+ import { __exports as s } from "./index430.js";
2
2
  import h from "react";
3
3
  var l;
4
4
  function A() {
package/dist/index421.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as d } from "./index429.js";
1
+ import { __exports as d } from "./index427.js";
2
2
  import q from "react";
3
3
  import { __require as w } from "./index415.js";
4
4
  var V;
package/dist/index422.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as d } from "./index430.js";
1
+ import { __exports as d } from "./index428.js";
2
2
  import M from "react";
3
3
  import { __require as b } from "./index415.js";
4
4
  var s;
package/dist/index427.js CHANGED
@@ -1,5 +1,5 @@
1
- var r = {};
1
+ var o = {};
2
2
  export {
3
- r as __exports
3
+ o as __exports
4
4
  };
5
5
  //# sourceMappingURL=index427.js.map
package/dist/index429.js CHANGED
@@ -1,5 +1,5 @@
1
- var o = {};
1
+ var r = {};
2
2
  export {
3
- o as __exports
3
+ r as __exports
4
4
  };
5
5
  //# sourceMappingURL=index429.js.map
package/dist/index44.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getCountryList as E } from "./index76.js";
1
+ import { getCountryList as E } from "./index74.js";
2
2
  import { getCountryCallingCode as s } from "./index48.js";
3
3
  const f = "US", u = E(), c = /* @__PURE__ */ new Map(), m = "__default_locale__", _ = Array.from(new Set(u.map((e) => s(e)))).sort((e, t) => t.length - e.length);
4
4
  _.reduce((e, t) => Math.max(e, t.length), 0);
package/dist/index45.js CHANGED
@@ -1,5 +1,5 @@
1
- import { AsYouType as u } from "./index77.js";
2
- import { validatePhoneNumberLength as a } from "./index78.js";
1
+ import { AsYouType as u } from "./index75.js";
2
+ import { validatePhoneNumberLength as a } from "./index76.js";
3
3
  function l(t) {
4
4
  return t.replace(/\D/g, "");
5
5
  }
package/dist/index49.js CHANGED
@@ -1,38 +1,38 @@
1
1
  import * as s from "react";
2
- import { visuallyHiddenInput as Ze, visuallyHidden as et } from "./index278.js";
3
- import { useMergedRefs as tt } from "./index279.js";
4
- import { useRefWithInit as ot } from "./index280.js";
2
+ import { visuallyHiddenInput as Ze, visuallyHidden as et } from "./index281.js";
3
+ import { useMergedRefs as tt } from "./index282.js";
4
+ import { useRefWithInit as ot } from "./index283.js";
5
5
  import { useOnFirstRender as nt } from "./index188.js";
6
- import { usePreviousValue as rt } from "./index281.js";
7
- import { useControlled as le } from "./index282.js";
8
- import { useIsoLayoutEffect as x } from "./index283.js";
9
- import { useStableCallback as b } from "./index284.js";
10
- import { useValueAsRef as st } from "./index285.js";
11
- import { EMPTY_ARRAY as ie, EMPTY_OBJECT as lt } from "./index286.js";
12
- import { SelectRootContext as it, SelectFloatingContext as at } from "./index287.js";
13
- import { useFieldRootContext as ut } from "./index288.js";
14
- import { useRegisterFieldControl as ct } from "./index289.js";
15
- import { useLabelableId as dt } from "./index290.js";
16
- import { useTransitionStatus as ft } from "./index291.js";
17
- import { selectors as A } from "./index292.js";
6
+ import { usePreviousValue as rt } from "./index284.js";
7
+ import { useControlled as le } from "./index285.js";
8
+ import { useIsoLayoutEffect as x } from "./index286.js";
9
+ import { useStableCallback as b } from "./index287.js";
10
+ import { useValueAsRef as st } from "./index288.js";
11
+ import { EMPTY_ARRAY as ie, EMPTY_OBJECT as lt } from "./index289.js";
12
+ import { SelectRootContext as it, SelectFloatingContext as at } from "./index290.js";
13
+ import { useFieldRootContext as ut } from "./index291.js";
14
+ import { useRegisterFieldControl as ct } from "./index292.js";
15
+ import { useLabelableId as dt } from "./index293.js";
16
+ import { useTransitionStatus as ft } from "./index294.js";
17
+ import { selectors as A } from "./index295.js";
18
18
  import { createChangeEventDetails as ae } from "./index175.js";
19
19
  import { useOpenChangeComplete as mt } from "./index182.js";
20
- import { useFormContext as pt } from "./index293.js";
21
- import { stringifyAsValue as y, stringifyAsLabel as gt } from "./index294.js";
22
- import { defaultItemEquality as ht, findItemIndex as ue } from "./index295.js";
23
- import { useValueChanged as Rt } from "./index296.js";
24
- import { useOpenInteractionType as vt } from "./index297.js";
25
- import { getMaxScrollOffset as It, normalizeScrollOffset as bt } from "./index298.js";
20
+ import { useFormContext as pt } from "./index296.js";
21
+ import { stringifyAsValue as y, stringifyAsLabel as gt } from "./index297.js";
22
+ import { defaultItemEquality as ht, findItemIndex as ue } from "./index298.js";
23
+ import { useValueChanged as Rt } from "./index299.js";
24
+ import { useOpenInteractionType as vt } from "./index300.js";
25
+ import { getMaxScrollOffset as It, normalizeScrollOffset as bt } from "./index301.js";
26
26
  import { j as M } from "./index30.js";
27
- import { useStore as w } from "./index299.js";
28
- import { useFloatingRootContext as yt } from "./index300.js";
27
+ import { useStore as w } from "./index302.js";
28
+ import { useFloatingRootContext as yt } from "./index303.js";
29
29
  import { useClick as Ct } from "./index194.js";
30
- import { useDismiss as Vt } from "./index301.js";
31
- import { useListNavigation as xt } from "./index302.js";
32
- import { useTypeahead as At } from "./index303.js";
30
+ import { useDismiss as Vt } from "./index304.js";
31
+ import { useListNavigation as xt } from "./index305.js";
32
+ import { useTypeahead as At } from "./index306.js";
33
33
  import { useInteractions as Mt } from "./index195.js";
34
- import { mergeProps as wt } from "./index304.js";
35
- import { Store as Pt } from "./index305.js";
34
+ import { mergeProps as wt } from "./index307.js";
35
+ import { Store as Pt } from "./index308.js";
36
36
  import { none as St, focusOut as Et, outsidePress as Tt } from "./index177.js";
37
37
  function ho(ce) {
38
38
  const {
package/dist/index50.js CHANGED
@@ -1,33 +1,33 @@
1
1
  import * as b from "react";
2
- import { rectToClientRect as Qt } from "./index321.js";
3
- import { addEventListener as te } from "./index322.js";
4
- import { isWebKit as ee } from "./index323.js";
5
- import { useStableCallback as oe } from "./index284.js";
6
- import { ownerDocument as xt } from "./index306.js";
7
- import { useIsoLayoutEffect as ot } from "./index283.js";
8
- import { useAnimationFrame as ne } from "./index324.js";
9
- import { useSelectRootContext as re, useSelectFloatingContext as ie } from "./index287.js";
2
+ import { rectToClientRect as Qt } from "./index324.js";
3
+ import { addEventListener as te } from "./index325.js";
4
+ import { isWebKit as ee } from "./index326.js";
5
+ import { useStableCallback as oe } from "./index287.js";
6
+ import { ownerDocument as xt } from "./index309.js";
7
+ import { useIsoLayoutEffect as ot } from "./index286.js";
8
+ import { useAnimationFrame as ne } from "./index327.js";
9
+ import { useSelectRootContext as re, useSelectFloatingContext as ie } from "./index290.js";
10
10
  import { popupStateMapping as se } from "./index173.js";
11
- import { useSelectPositionerContext as le } from "./index317.js";
12
- import { styleDisableScrollbar as St } from "./index325.js";
11
+ import { useSelectPositionerContext as le } from "./index320.js";
12
+ import { styleDisableScrollbar as St } from "./index328.js";
13
13
  import { transitionStatusMapping as ce } from "./index174.js";
14
14
  import { useOpenChangeComplete as ae } from "./index182.js";
15
15
  import { useRenderElement as pe } from "./index172.js";
16
- import { selectors as T } from "./index292.js";
17
- import { clearStyles as Tt, LIST_FUNCTIONAL_STYLES as me } from "./index318.js";
16
+ import { selectors as T } from "./index295.js";
17
+ import { clearStyles as Tt, LIST_FUNCTIONAL_STYLES as me } from "./index321.js";
18
18
  import { createChangeEventDetails as ue } from "./index175.js";
19
- import { useToolbarRootContext as ge } from "./index326.js";
19
+ import { useToolbarRootContext as ge } from "./index329.js";
20
20
  import { COMPOSITE_KEYS as fe } from "./index183.js";
21
- import { getDisabledMountTransitionStyles as he } from "./index327.js";
22
- import { clamp as U } from "./index328.js";
23
- import { SCROLL_EDGE_TOLERANCE_PX as M, getMaxScrollOffset as de } from "./index298.js";
24
- import { useCSPContext as ye } from "./index329.js";
25
- import { useDirection as xe } from "./index330.js";
21
+ import { getDisabledMountTransitionStyles as he } from "./index330.js";
22
+ import { clamp as U } from "./index331.js";
23
+ import { SCROLL_EDGE_TOLERANCE_PX as M, getMaxScrollOffset as de } from "./index301.js";
24
+ import { useCSPContext as ye } from "./index332.js";
25
+ import { useDirection as xe } from "./index333.js";
26
26
  import { j as Rt } from "./index30.js";
27
- import { useStore as R } from "./index299.js";
28
- import { getWindow as Ct } from "./index331.js";
27
+ import { useStore as R } from "./index302.js";
28
+ import { getWindow as Ct } from "./index334.js";
29
29
  import { FloatingFocusManager as Se } from "./index184.js";
30
- import { platform as Te } from "./index332.js";
30
+ import { platform as Te } from "./index335.js";
31
31
  import { windowResize as Re } from "./index177.js";
32
32
  const Ce = {
33
33
  ...se,
package/dist/index51.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as r from "react";
2
- import { SelectGroupContext as c } from "./index335.js";
2
+ import { SelectGroupContext as c } from "./index338.js";
3
3
  import { useRenderElement as p } from "./index172.js";
4
4
  import { j as m } from "./index30.js";
5
5
  const u = /* @__PURE__ */ r.forwardRef(function(t, s) {
package/dist/index52.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import * as u from "react";
2
- import { useIsoLayoutEffect as b } from "./index283.js";
3
- import { useValueAsRef as H } from "./index285.js";
4
- import { useSelectRootContext as J } from "./index287.js";
5
- import { useCompositeListItem as Q, IndexGuessBehavior as X } from "./index333.js";
2
+ import { useIsoLayoutEffect as b } from "./index286.js";
3
+ import { useValueAsRef as H } from "./index288.js";
4
+ import { useSelectRootContext as J } from "./index290.js";
5
+ import { useCompositeListItem as Q, IndexGuessBehavior as X } from "./index336.js";
6
6
  import { useRenderElement as Y } from "./index172.js";
7
- import { SelectItemContext as Z } from "./index334.js";
8
- import { selectors as R } from "./index292.js";
7
+ import { SelectItemContext as Z } from "./index337.js";
8
+ import { selectors as R } from "./index295.js";
9
9
  import { createChangeEventDetails as h } from "./index175.js";
10
- import { compareItemEquality as $, removeItem as ee } from "./index295.js";
10
+ import { compareItemEquality as $, removeItem as ee } from "./index298.js";
11
11
  import { j as te } from "./index30.js";
12
- import { useStore as y } from "./index299.js";
12
+ import { useStore as y } from "./index302.js";
13
13
  import { useButton as re } from "./index176.js";
14
14
  import { itemPress as S } from "./index177.js";
15
15
  const oe = /* @__PURE__ */ u.memo(/* @__PURE__ */ u.forwardRef(function(w, k) {
package/dist/index53.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as m from "react";
2
- import { useIsoLayoutEffect as n } from "./index283.js";
2
+ import { useIsoLayoutEffect as n } from "./index286.js";
3
3
  import { useBaseUiId as p } from "./index178.js";
4
- import { useSelectGroupContext as c } from "./index335.js";
4
+ import { useSelectGroupContext as c } from "./index338.js";
5
5
  import { useRenderElement as i } from "./index172.js";
6
6
  const a = /* @__PURE__ */ m.forwardRef(function(o, r) {
7
7
  const {
package/dist/index55.js CHANGED
@@ -1,25 +1,25 @@
1
1
  import * as m from "react";
2
- import { ownerDocument as ie } from "./index306.js";
3
- import { useTimeout as f } from "./index307.js";
4
- import { useStableCallback as ae } from "./index284.js";
5
- import { useMergedRefs as ce } from "./index279.js";
6
- import { useValueAsRef as ue } from "./index285.js";
7
- import { useSelectRootContext as de } from "./index287.js";
8
- import { useFieldRootContext as me } from "./index288.js";
9
- import { useLabelableContext as fe } from "./index308.js";
2
+ import { ownerDocument as ie } from "./index309.js";
3
+ import { useTimeout as f } from "./index310.js";
4
+ import { useStableCallback as ae } from "./index287.js";
5
+ import { useMergedRefs as ce } from "./index282.js";
6
+ import { useValueAsRef as ue } from "./index288.js";
7
+ import { useSelectRootContext as de } from "./index290.js";
8
+ import { useFieldRootContext as me } from "./index291.js";
9
+ import { useLabelableContext as fe } from "./index311.js";
10
10
  import { pressableTriggerOpenStateMapping as pe } from "./index173.js";
11
- import { fieldValidityMapping as ge } from "./index309.js";
11
+ import { fieldValidityMapping as ge } from "./index312.js";
12
12
  import { useRenderElement as be } from "./index172.js";
13
- import { selectors as t } from "./index292.js";
14
- import { getPseudoElementBounds as Ee } from "./index310.js";
13
+ import { selectors as t } from "./index295.js";
14
+ import { getPseudoElementBounds as Ee } from "./index313.js";
15
15
  import { createChangeEventDetails as N } from "./index175.js";
16
- import { useLabelableId as Me } from "./index290.js";
17
- import { resolveAriaLabelledBy as Le } from "./index311.js";
18
- import { useStore as o } from "./index299.js";
16
+ import { useLabelableId as Me } from "./index293.js";
17
+ import { resolveAriaLabelledBy as Le } from "./index314.js";
18
+ import { useStore as o } from "./index302.js";
19
19
  import { useButton as Se } from "./index176.js";
20
- import { getFloatingFocusElement as he } from "./index312.js";
21
- import { mergeProps as De } from "./index304.js";
22
- import { contains as L } from "./index313.js";
20
+ import { getFloatingFocusElement as he } from "./index315.js";
21
+ import { mergeProps as De } from "./index307.js";
22
+ import { contains as L } from "./index316.js";
23
23
  import { none as Ue, cancelOpen as Ie } from "./index177.js";
24
24
  const p = 2, Te = 400, P = 200, Re = {
25
25
  ...pe,
package/dist/index56.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as b from "react";
2
2
  import { useRenderElement as v } from "./index172.js";
3
- import { useSelectRootContext as L } from "./index287.js";
4
- import { resolveMultipleLabels as N, resolveSelectedLabel as V } from "./index294.js";
5
- import { selectors as s } from "./index292.js";
6
- import { useStore as r } from "./index299.js";
3
+ import { useSelectRootContext as L } from "./index290.js";
4
+ import { resolveMultipleLabels as N, resolveSelectedLabel as V } from "./index297.js";
5
+ import { selectors as s } from "./index295.js";
6
+ import { useStore as r } from "./index302.js";
7
7
  const y = {
8
8
  value: () => null
9
9
  }, R = /* @__PURE__ */ b.forwardRef(function(c, m) {
package/dist/index57.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as s from "react";
2
2
  import { useRenderElement as p } from "./index172.js";
3
- import { useSelectRootContext as c } from "./index287.js";
3
+ import { useSelectRootContext as c } from "./index290.js";
4
4
  import { triggerOpenStateMapping as i } from "./index173.js";
5
- import { selectors as m } from "./index292.js";
6
- import { useStore as a } from "./index299.js";
5
+ import { selectors as m } from "./index295.js";
6
+ import { useStore as a } from "./index302.js";
7
7
  const l = /* @__PURE__ */ s.forwardRef(function(e, t) {
8
8
  const {
9
9
  className: d,