@anoki/fse-ui 1.0.548 → 1.0.550

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 (216) hide show
  1. package/dist/index.cjs213.js +1 -1
  2. package/dist/index.cjs217.js +1 -1
  3. package/dist/index.cjs224.js +1 -1
  4. package/dist/index.cjs235.js +1 -1
  5. package/dist/index.cjs25.js +1 -1
  6. package/dist/index.cjs25.js.map +1 -1
  7. package/dist/index.cjs262.js +1 -1
  8. package/dist/index.cjs30.js +1 -1
  9. package/dist/index.cjs301.js +1 -1
  10. package/dist/index.cjs326.js +1 -1
  11. package/dist/index.cjs327.js +1 -1
  12. package/dist/index.cjs332.js +1 -1
  13. package/dist/index.cjs332.js.map +1 -1
  14. package/dist/index.cjs333.js +2 -0
  15. package/dist/index.cjs333.js.map +1 -0
  16. package/dist/index.cjs334.js +2 -0
  17. package/dist/index.cjs334.js.map +1 -0
  18. package/dist/index.cjs335.js +1 -1
  19. package/dist/index.cjs335.js.map +1 -1
  20. package/dist/index.cjs336.js +1 -1
  21. package/dist/index.cjs336.js.map +1 -1
  22. package/dist/index.cjs337.js +1 -1
  23. package/dist/index.cjs337.js.map +1 -1
  24. package/dist/index.cjs338.js +1 -1
  25. package/dist/index.cjs338.js.map +1 -1
  26. package/dist/index.cjs339.js +1 -1
  27. package/dist/index.cjs339.js.map +1 -1
  28. package/dist/index.cjs343.js +1 -1
  29. package/dist/index.cjs344.js +1 -1
  30. package/dist/index.cjs345.js +1 -1
  31. package/dist/index.cjs345.js.map +1 -1
  32. package/dist/index.cjs346.js +1 -1
  33. package/dist/index.cjs346.js.map +1 -1
  34. package/dist/index.cjs347.js +1 -1
  35. package/dist/index.cjs347.js.map +1 -1
  36. package/dist/index.cjs348.js +1 -1
  37. package/dist/index.cjs348.js.map +1 -1
  38. package/dist/index.cjs349.js +1 -1
  39. package/dist/index.cjs349.js.map +1 -1
  40. package/dist/index.cjs350.js +1 -1
  41. package/dist/index.cjs350.js.map +1 -1
  42. package/dist/index.cjs351.js +1 -1
  43. package/dist/index.cjs351.js.map +1 -1
  44. package/dist/index.cjs352.js +2 -0
  45. package/dist/index.cjs352.js.map +1 -0
  46. package/dist/index.cjs353.js +2 -0
  47. package/dist/index.cjs353.js.map +1 -0
  48. package/dist/index.cjs365.js +2 -0
  49. package/dist/index.cjs365.js.map +1 -0
  50. package/dist/index.cjs366.js +2 -0
  51. package/dist/index.cjs366.js.map +1 -0
  52. package/dist/{index.cjs371.js → index.cjs367.js} +1 -1
  53. package/dist/{index.cjs371.js.map → index.cjs367.js.map} +1 -1
  54. package/dist/{index.cjs372.js → index.cjs368.js} +2 -2
  55. package/dist/{index.cjs372.js.map → index.cjs368.js.map} +1 -1
  56. package/dist/index.cjs369.js +1 -1
  57. package/dist/index.cjs369.js.map +1 -1
  58. package/dist/index.cjs370.js +1 -1
  59. package/dist/index.cjs370.js.map +1 -1
  60. package/dist/index.cjs375.js +1 -1
  61. package/dist/index.cjs377.js +1 -1
  62. package/dist/index.cjs378.js +1 -1
  63. package/dist/index.cjs383.js +1 -1
  64. package/dist/index.cjs385.js +1 -1
  65. package/dist/index.cjs387.js +1 -1
  66. package/dist/index.cjs387.js.map +1 -1
  67. package/dist/index.cjs388.js +1 -38
  68. package/dist/index.cjs388.js.map +1 -1
  69. package/dist/index.cjs389.js +1 -1
  70. package/dist/index.cjs389.js.map +1 -1
  71. package/dist/index.cjs390.js +1 -1
  72. package/dist/index.cjs390.js.map +1 -1
  73. package/dist/index.cjs391.js +38 -1
  74. package/dist/index.cjs391.js.map +1 -1
  75. package/dist/index.cjs392.js +1 -1
  76. package/dist/index.cjs392.js.map +1 -1
  77. package/dist/index.cjs393.js +1 -1
  78. package/dist/index.cjs393.js.map +1 -1
  79. package/dist/index.cjs394.js +1 -1
  80. package/dist/index.cjs394.js.map +1 -1
  81. package/dist/index.cjs397.js +2 -0
  82. package/dist/index.cjs397.js.map +1 -0
  83. package/dist/index.cjs398.js +2 -0
  84. package/dist/index.cjs398.js.map +1 -0
  85. package/dist/index.cjs399.js +1 -1
  86. package/dist/index.cjs399.js.map +1 -1
  87. package/dist/index.cjs400.js +1 -1
  88. package/dist/index.cjs400.js.map +1 -1
  89. package/dist/index.cjs410.js +1 -1
  90. package/dist/index.cjs65.js +1 -1
  91. package/dist/index.cjs65.js.map +1 -1
  92. package/dist/index.d.ts +12 -3
  93. package/dist/index.es213.js +7 -7
  94. package/dist/index.es217.js +1 -1
  95. package/dist/index.es224.js +5 -5
  96. package/dist/index.es235.js +13 -13
  97. package/dist/index.es25.js +60 -42
  98. package/dist/index.es25.js.map +1 -1
  99. package/dist/index.es262.js +5 -5
  100. package/dist/index.es30.js +4 -4
  101. package/dist/index.es301.js +4 -4
  102. package/dist/index.es326.js +1 -1
  103. package/dist/index.es327.js +1 -1
  104. package/dist/index.es332.js +7 -15
  105. package/dist/index.es332.js.map +1 -1
  106. package/dist/index.es333.js +30 -0
  107. package/dist/index.es333.js.map +1 -0
  108. package/dist/index.es334.js +71 -0
  109. package/dist/index.es334.js.map +1 -0
  110. package/dist/index.es335.js +29 -6
  111. package/dist/index.es335.js.map +1 -1
  112. package/dist/index.es336.js +32 -26
  113. package/dist/index.es336.js.map +1 -1
  114. package/dist/index.es337.js +617 -63
  115. package/dist/index.es337.js.map +1 -1
  116. package/dist/index.es338.js +10 -29
  117. package/dist/index.es338.js.map +1 -1
  118. package/dist/index.es339.js +15 -33
  119. package/dist/index.es339.js.map +1 -1
  120. package/dist/index.es343.js +1 -1
  121. package/dist/index.es344.js +2 -2
  122. package/dist/index.es345.js +2 -125
  123. package/dist/index.es345.js.map +1 -1
  124. package/dist/index.es346.js +2 -135
  125. package/dist/index.es346.js.map +1 -1
  126. package/dist/index.es347.js +124 -13
  127. package/dist/index.es347.js.map +1 -1
  128. package/dist/index.es348.js +134 -14
  129. package/dist/index.es348.js.map +1 -1
  130. package/dist/index.es349.js +12 -7
  131. package/dist/index.es349.js.map +1 -1
  132. package/dist/index.es350.js +15 -50
  133. package/dist/index.es350.js.map +1 -1
  134. package/dist/index.es351.js +9 -53
  135. package/dist/index.es351.js.map +1 -1
  136. package/dist/index.es352.js +53 -0
  137. package/dist/index.es352.js.map +1 -0
  138. package/dist/index.es353.js +56 -0
  139. package/dist/index.es353.js.map +1 -0
  140. package/dist/index.es365.js +14 -0
  141. package/dist/index.es365.js.map +1 -0
  142. package/dist/index.es366.js +49 -0
  143. package/dist/index.es366.js.map +1 -0
  144. package/dist/{index.es371.js → index.es367.js} +1 -1
  145. package/dist/{index.es371.js.map → index.es367.js.map} +1 -1
  146. package/dist/{index.es372.js → index.es368.js} +6 -6
  147. package/dist/{index.es372.js.map → index.es368.js.map} +1 -1
  148. package/dist/index.es369.js +177 -10
  149. package/dist/index.es369.js.map +1 -1
  150. package/dist/index.es370.js +4 -46
  151. package/dist/index.es370.js.map +1 -1
  152. package/dist/index.es375.js +1 -1
  153. package/dist/index.es377.js +1 -1
  154. package/dist/index.es378.js +3 -3
  155. package/dist/index.es383.js +1 -1
  156. package/dist/index.es385.js +4 -4
  157. package/dist/index.es387.js +512 -54
  158. package/dist/index.es387.js.map +1 -1
  159. package/dist/index.es388.js +126 -68
  160. package/dist/index.es388.js.map +1 -1
  161. package/dist/index.es389.js +128 -8
  162. package/dist/index.es389.js.map +1 -1
  163. package/dist/index.es390.js +64 -13
  164. package/dist/index.es390.js.map +1 -1
  165. package/dist/index.es391.js +68 -61
  166. package/dist/index.es391.js.map +1 -1
  167. package/dist/index.es392.js +7 -521
  168. package/dist/index.es392.js.map +1 -1
  169. package/dist/index.es393.js +13 -126
  170. package/dist/index.es393.js.map +1 -1
  171. package/dist/index.es394.js +60 -127
  172. package/dist/index.es394.js.map +1 -1
  173. package/dist/index.es397.js +26 -0
  174. package/dist/index.es397.js.map +1 -0
  175. package/dist/index.es398.js +16 -0
  176. package/dist/index.es398.js.map +1 -0
  177. package/dist/index.es399.js +25 -20
  178. package/dist/index.es399.js.map +1 -1
  179. package/dist/index.es400.js +4 -12
  180. package/dist/index.es400.js.map +1 -1
  181. package/dist/index.es410.js +7 -7
  182. package/dist/index.es65.js +109 -99
  183. package/dist/index.es65.js.map +1 -1
  184. package/package.json +1 -1
  185. package/dist/index.cjs340.js +0 -2
  186. package/dist/index.cjs340.js.map +0 -1
  187. package/dist/index.cjs341.js +0 -2
  188. package/dist/index.cjs341.js.map +0 -1
  189. package/dist/index.cjs358.js +0 -2
  190. package/dist/index.cjs358.js.map +0 -1
  191. package/dist/index.cjs359.js +0 -2
  192. package/dist/index.cjs359.js.map +0 -1
  193. package/dist/index.cjs373.js +0 -2
  194. package/dist/index.cjs373.js.map +0 -1
  195. package/dist/index.cjs374.js +0 -2
  196. package/dist/index.cjs374.js.map +0 -1
  197. package/dist/index.cjs401.js +0 -2
  198. package/dist/index.cjs401.js.map +0 -1
  199. package/dist/index.cjs402.js +0 -2
  200. package/dist/index.cjs402.js.map +0 -1
  201. package/dist/index.es340.js +0 -625
  202. package/dist/index.es340.js.map +0 -1
  203. package/dist/index.es341.js +0 -14
  204. package/dist/index.es341.js.map +0 -1
  205. package/dist/index.es358.js +0 -5
  206. package/dist/index.es358.js.map +0 -1
  207. package/dist/index.es359.js +0 -5
  208. package/dist/index.es359.js.map +0 -1
  209. package/dist/index.es373.js +0 -181
  210. package/dist/index.es373.js.map +0 -1
  211. package/dist/index.es374.js +0 -7
  212. package/dist/index.es374.js.map +0 -1
  213. package/dist/index.es401.js +0 -31
  214. package/dist/index.es401.js.map +0 -1
  215. package/dist/index.es402.js +0 -8
  216. package/dist/index.es402.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.es369.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":";AAEA,SAASA,EAAeC,GAAU;AAChC,QAAMC,IAAcC,EAAM,OAAOF,CAAQ;AACzC,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAAD,EAAY,UAAUD;AAAA,EAC1B,CAAG,GACME,EAAM,QAAQ,MAAM,IAAIC;;AAAS,YAAAC,IAAAH,EAAY,YAAZ,gBAAAG,EAAA,KAAAH,GAAsB,GAAGE;AAAA,KAAO,EAAE;AAC5E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es369.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/roving-focus/src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId = null, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId,\n onChange: onCurrentTabStopIdChange\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n })\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":";;;;;;;;;;;AAcA,IAAIA,IAAc,iCACdC,IAAgB,EAAE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I;AACgB,2BAAW,MAAMf,EAAWD,CAAc,CAAC;AAAA,cAC3D;AAAA,YACa,CAAA;AAAA,UACb;AAAA,QACA;AAAA,MACA;AAAA,IACK;AAAA,EACL;AACA;AACAG,EAAqB,cAAcD;AACnC,IAAIgB,KAA0B;AAAA,EAC5B,WAAW;AAAA,EACX,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,UAAU;AAAA,EACV,KAAK;AACP;AACA,SAASC,GAAqBC,GAAKvD,GAAK;AACtC,SAAIA,MAAQ,QAAcuD,IACnBA,MAAQ,cAAc,eAAeA,MAAQ,eAAe,cAAcA;AACnF;AACA,SAASL,GAAetB,GAAO9B,GAAaE,GAAK;AAC/C,QAAMuD,IAAMD,GAAqB1B,EAAM,KAAK5B,CAAG;AAC/C,MAAI,EAAAF,MAAgB,cAAc,CAAC,aAAa,YAAY,EAAE,SAASyD,CAAG,MACtE,EAAAzD,MAAgB,gBAAgB,CAAC,WAAW,WAAW,EAAE,SAASyD,CAAG;AACzE,WAAOF,GAAwBE,CAAG;AACpC;AACA,SAASnB,EAAWoB,GAAYC,IAAgB,IAAO;AACrD,QAAMC,IAA6B,SAAS;AAC5C,aAAWC,KAAaH;AAGtB,QAFIG,MAAcD,MAClBC,EAAU,MAAM,EAAE,eAAAF,GAAe,GAC7B,SAAS,kBAAkBC,GAA4B;AAE/D;AACA,SAASN,GAAUQ,GAAOC,GAAY;AACpC,SAAOD,EAAM,IAAI,CAACE,GAAGC,MAAUH,GAAOC,IAAaE,KAASH,EAAM,MAAM,CAAC;AAC3E;AACG,IAACI,KAAOzE,GACP0E,KAAO3B;","x_google_ignoreList":[0]}
@@ -1,49 +1,7 @@
1
- import r from "react";
2
- import { createContextScope as y } from "./index.es337.js";
3
- import { useComposedRefs as S } from "./index.es336.js";
4
- import { createSlot as M } from "./index.es351.js";
5
- import { j as d } from "./index.es185.js";
6
- function D(s) {
7
- const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
8
- m,
9
- { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
10
- ), p = (c) => {
11
- const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
12
- return /* @__PURE__ */ d.jsx(N, { scope: e, itemMap: t, collectionRef: o, children: l });
13
- };
14
- p.displayName = m;
15
- const a = s + "CollectionSlot", _ = M(a), C = r.forwardRef(
16
- (c, e) => {
17
- const { scope: l, children: o } = c, t = f(a, l), n = S(e, t.collectionRef);
18
- return /* @__PURE__ */ d.jsx(_, { ref: n, children: o });
19
- }
20
- );
21
- C.displayName = a;
22
- const u = s + "CollectionItemSlot", R = "data-radix-collection-item", T = M(u), x = r.forwardRef(
23
- (c, e) => {
24
- const { scope: l, children: o, ...t } = c, n = r.useRef(null), I = S(e, n), i = f(u, l);
25
- return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ d.jsx(T, { [R]: "", ref: I, children: o });
26
- }
27
- );
28
- x.displayName = u;
29
- function O(c) {
30
- const e = f(s + "CollectionConsumer", c);
31
- return r.useCallback(() => {
32
- const o = e.collectionRef.current;
33
- if (!o) return [];
34
- const t = Array.from(o.querySelectorAll(`[${R}]`));
35
- return Array.from(e.itemMap.values()).sort(
36
- (i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
37
- );
38
- }, [e.collectionRef, e.itemMap]);
39
- }
40
- return [
41
- { Provider: p, Slot: C, ItemSlot: x },
42
- O,
43
- E
44
- ];
45
- }
1
+ import * as t from "react";
2
+ var e = globalThis != null && globalThis.document ? t.useLayoutEffect : () => {
3
+ };
46
4
  export {
47
- D as createCollection
5
+ e as useLayoutEffect
48
6
  };
49
7
  //# sourceMappingURL=index.es370.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es370.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/collection/src/collection.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\nexport {\n createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":";;;;;AAQA,SAASA,EAAiBC,GAAM;AAC9B,QAAMC,IAAgBD,IAAO,sBACvB,CAACE,GAAyBC,CAAqB,IAAIC,EAAmBH,CAAa,GACnF,CAACI,GAAwBC,CAAoB,IAAIJ;AAAA,IACrDD;AAAA,IACA,EAAE,eAAe,EAAE,SAAS,KAAI,GAAI,SAAyB,oBAAI,IAAK,EAAA;AAAA,EACvE,GACKM,IAAqB,CAACC,MAAU;AACpC,UAAM,EAAE,OAAAC,GAAO,UAAAC,EAAQ,IAAKF,GACtBG,IAAMC,EAAM,OAAO,IAAI,GACvBC,IAAUD,EAAM,OAAuB,oBAAI,IAAG,CAAE,EAAE;AACxD,WAAuBE,g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IAAiBT,EAAQ,cAAc;AAC7C,UAAI,CAACS,EAAgB,QAAO,CAAE;AAC9B,YAAMC,IAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC;AAKtF,aAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB;AAAA,QACzB,CAACW,GAAGC,MAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,IAAID,EAAa,QAAQE,EAAE,IAAI,OAAO;AAAA,MACnF;AAAA,IAEF,GAAE,CAACZ,EAAQ,eAAeA,EAAQ,OAAO,CAAC;AAAA,EAE/C;AACE,SAAO;AAAA,IACL,EAAE,UAAUb,GAAoB,MAAMW,GAAgB,UAAUQ,EAAoB;AAAA,IACpFE;AAAA,IACAzB;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es370.js","sources":["../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect2","React"],"mappings":";AAEG,IAACA,IAAmB,iCAAY,WAAWC,EAAM,kBAAkB,MAAM;AAC5E;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  import * as r from "react";
2
- import { useCallbackRef as s } from "./index.es369.js";
2
+ import { useCallbackRef as s } from "./index.es365.js";
3
3
  function p(n, e = globalThis == null ? void 0 : globalThis.document) {
4
4
  const t = s(n);
5
5
  r.useEffect(() => {
@@ -1,5 +1,5 @@
1
1
  import * as n from "react";
2
- import { Primitive as p } from "./index.es339.js";
2
+ import { Primitive as p } from "./index.es336.js";
3
3
  import { j as o } from "./index.es185.js";
4
4
  var v = "Arrow", e = n.forwardRef((r, i) => {
5
5
  const { children: t, width: s = 10, height: a = 5, ...m } = r;
@@ -1,6 +1,6 @@
1
- import { offset as ot, shift as st, flip as rt, size as ct, hide as lt, limitShift as ft, computePosition as ut, arrow as ht } from "./index.es392.js";
2
- import { createCoords as m, round as A, max as E, min as V, rectToClientRect as J, floor as D } from "./index.es393.js";
3
- import { isElement as v, getDocumentElement as O, getOverflowAncestors as $, getComputedStyle as R, isHTMLElement as b, getWindow as L, isTopLayer as S, getParentNode as W, isLastTraversableNode as H, isTableElement as at, isContainingBlock as Q, getContainingBlock as dt, getNodeName as M, isOverflowElement as _, getNodeScroll as N, getFrameElement as K, isWebKit as Y } from "./index.es394.js";
1
+ import { offset as ot, shift as st, flip as rt, size as ct, hide as lt, limitShift as ft, computePosition as ut, arrow as ht } from "./index.es387.js";
2
+ import { createCoords as m, round as A, max as E, min as V, rectToClientRect as J, floor as D } from "./index.es388.js";
3
+ import { isElement as v, getDocumentElement as O, getOverflowAncestors as $, getComputedStyle as R, isHTMLElement as b, getWindow as L, isTopLayer as S, getParentNode as W, isLastTraversableNode as H, isTableElement as at, isContainingBlock as Q, getContainingBlock as dt, getNodeName as M, isOverflowElement as _, getNodeScroll as N, getFrameElement as K, isWebKit as Y } from "./index.es389.js";
4
4
  function Z(t) {
5
5
  const e = R(t);
6
6
  let i = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
@@ -1,4 +1,4 @@
1
- import { createSidecarMedium as e } from "./index.es387.js";
1
+ import { createSidecarMedium as e } from "./index.es390.js";
2
2
  var a = e();
3
3
  export {
4
4
  a as effectCar
@@ -1,9 +1,9 @@
1
1
  import { __spreadArray as x } from "./index.es379.js";
2
2
  import * as n from "react";
3
- import { RemoveScrollBar as A } from "./index.es388.js";
4
- import { styleSingleton as I } from "./index.es389.js";
5
- import { nonPassive as s } from "./index.es390.js";
6
- import { locationCouldBeScrolled as T, handleScroll as W } from "./index.es391.js";
3
+ import { RemoveScrollBar as A } from "./index.es391.js";
4
+ import { styleSingleton as I } from "./index.es392.js";
5
+ import { nonPassive as s } from "./index.es393.js";
6
+ import { locationCouldBeScrolled as T, handleScroll as W } from "./index.es394.js";
7
7
  var b = function(t) {
8
8
  return "changedTouches" in t ? [t.changedTouches[0].clientX, t.changedTouches[0].clientY] : [0, 0];
9
9
  }, Y = function(t) {