laif-ds 0.1.9 → 0.1.11

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 (392) hide show
  1. package/dist/_virtual/index2.js +5 -2
  2. package/dist/_virtual/index3.js +5 -5
  3. package/dist/_virtual/index4.js +2 -5
  4. package/dist/_virtual/index5.js +2 -5
  5. package/dist/_virtual/index6.js +5 -2
  6. package/dist/components/ui/accordion.js +20 -20
  7. package/dist/components/ui/alert-dialog.js +41 -41
  8. package/dist/components/ui/alert.js +10 -10
  9. package/dist/components/ui/aspect-ratio.js +4 -4
  10. package/dist/components/ui/async-select.js +112 -112
  11. package/dist/components/ui/audio-visualizer.js +26 -26
  12. package/dist/components/ui/avatar.js +17 -17
  13. package/dist/components/ui/badge.js +9 -10
  14. package/dist/components/ui/breadcrumb.js +24 -25
  15. package/dist/components/ui/button.js +17 -17
  16. package/dist/components/ui/calendar.js +8 -8
  17. package/dist/components/ui/card.js +15 -15
  18. package/dist/components/ui/carousel.js +66 -66
  19. package/dist/components/ui/chart.js +80 -80
  20. package/dist/components/ui/chat-message.js +104 -104
  21. package/dist/components/ui/chat.js +109 -109
  22. package/dist/components/ui/checkbox.js +5 -5
  23. package/dist/components/ui/collapsible.js +10 -10
  24. package/dist/components/ui/command.js +52 -52
  25. package/dist/components/ui/context-menu.js +61 -61
  26. package/dist/components/ui/copy-button.js +19 -19
  27. package/dist/components/ui/data-table.js +73 -73
  28. package/dist/components/ui/date-picker.js +18 -18
  29. package/dist/components/ui/dialog.js +49 -49
  30. package/dist/components/ui/drawer.js +43 -43
  31. package/dist/components/ui/file-preview.js +49 -49
  32. package/dist/components/ui/form.js +33 -33
  33. package/dist/components/ui/gantt/assets/icons/MinusSquareOutlined.js +5 -5
  34. package/dist/components/ui/gantt/assets/icons/PlusSquareOutlined.js +6 -6
  35. package/dist/components/ui/gantt/components/Chart/Bars/Bars.js +28 -28
  36. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarItem/BarItem.js +80 -80
  37. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsItems/BarItems.js +13 -13
  38. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsRow.js +10 -10
  39. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/RepeteadBars/RepeteadBars.js +25 -25
  40. package/dist/components/ui/gantt/components/Chart/Chart.js +30 -30
  41. package/dist/components/ui/gantt/components/Chart/Scale/Scale.js +45 -45
  42. package/dist/components/ui/gantt/components/Chart/Tree/Tree.js +37 -37
  43. package/dist/components/ui/gantt/components/Controls/Controls.js +53 -53
  44. package/dist/components/ui/gantt/components/Gantt/Gantt.js +29 -29
  45. package/dist/components/ui/hover-card.js +4 -4
  46. package/dist/components/ui/icon.js +9 -9
  47. package/dist/components/ui/input-otp.js +14 -14
  48. package/dist/components/ui/input-selector.js +38 -38
  49. package/dist/components/ui/input.js +32 -32
  50. package/dist/components/ui/interrupt-prompt.js +9 -10
  51. package/dist/components/ui/label.js +4 -4
  52. package/dist/components/ui/markdown-renderer.js +60 -63
  53. package/dist/components/ui/menubar.js +89 -89
  54. package/dist/components/ui/message-input.js +149 -150
  55. package/dist/components/ui/message-list.js +15 -15
  56. package/dist/components/ui/multiple-selector.js +159 -159
  57. package/dist/components/ui/navigation-menu.js +44 -44
  58. package/dist/components/ui/pagination.js +39 -39
  59. package/dist/components/ui/popover.js +13 -13
  60. package/dist/components/ui/progress.js +14 -14
  61. package/dist/components/ui/prompt-suggestions.js +10 -10
  62. package/dist/components/ui/radio-group.js +15 -15
  63. package/dist/components/ui/resizable.js +13 -13
  64. package/dist/components/ui/scroll-area.js +25 -25
  65. package/dist/components/ui/select.js +80 -80
  66. package/dist/components/ui/separator.js +4 -4
  67. package/dist/components/ui/sheet.js +48 -48
  68. package/dist/components/ui/sidebar.js +178 -182
  69. package/dist/components/ui/skeleton.js +4 -4
  70. package/dist/components/ui/switch.js +5 -5
  71. package/dist/components/ui/table.js +14 -14
  72. package/dist/components/ui/tabs.js +10 -10
  73. package/dist/components/ui/textarea.js +2 -2
  74. package/dist/components/ui/toaster.js +2 -2
  75. package/dist/components/ui/toggle-group.js +6 -6
  76. package/dist/components/ui/toggle.js +2 -2
  77. package/dist/components/ui/tooltip.js +19 -19
  78. package/dist/components/ui/typing-indicator.js +7 -7
  79. package/dist/components/ui/typo.js +10 -10
  80. package/dist/dist/components/ui/checkbox.js +6 -6
  81. package/dist/dist/components/ui/scroll-area.js +30 -30
  82. package/dist/dist/components/ui/table.js +15 -15
  83. package/dist/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +60 -60
  84. package/dist/dist/node_modules/@radix-ui/react-context/dist/index.js +19 -19
  85. package/dist/dist/node_modules/@radix-ui/react-direction/dist/index.js +3 -2
  86. package/dist/dist/node_modules/@radix-ui/react-primitive/dist/index.js +2 -2
  87. package/dist/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +116 -116
  88. package/dist/dist/node_modules/@radix-ui/react-slot/dist/index.js +10 -10
  89. package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +77 -77
  90. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +65 -65
  91. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +6 -6
  92. package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +12 -12
  93. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +21 -21
  94. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +58 -58
  95. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +49 -49
  96. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +16 -16
  97. package/dist/node_modules/@radix-ui/react-context/dist/index.js +36 -36
  98. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +113 -113
  99. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +100 -100
  100. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +1 -1
  101. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +18 -18
  102. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +9 -9
  103. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +50 -50
  104. package/dist/node_modules/@radix-ui/react-label/dist/index.js +4 -4
  105. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +223 -223
  106. package/dist/node_modules/@radix-ui/react-menubar/dist/index.js +95 -95
  107. package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.js +260 -260
  108. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +92 -92
  109. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +35 -35
  110. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +8 -8
  111. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +7 -7
  112. package/dist/node_modules/@radix-ui/react-progress/dist/index.js +22 -22
  113. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +105 -105
  114. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +29 -29
  115. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +157 -157
  116. package/dist/node_modules/@radix-ui/react-select/dist/index.js +345 -345
  117. package/dist/node_modules/@radix-ui/react-separator/dist/index.js +6 -6
  118. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +19 -19
  119. package/dist/node_modules/@radix-ui/react-switch/dist/index.js +46 -46
  120. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +48 -48
  121. package/dist/node_modules/@radix-ui/react-toggle/dist/index.js +10 -10
  122. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.js +67 -71
  123. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +77 -77
  124. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +4 -4
  125. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
  126. package/dist/node_modules/react-day-picker/dist/index.esm.js +483 -483
  127. package/dist/node_modules/react-is/index.js +1 -1
  128. package/dist/node_modules/react-markdown/lib/index.js +39 -39
  129. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  130. package/dist/node_modules/unified/lib/index.js +1 -1
  131. package/package.json +3 -2
  132. package/dist/_virtual/jsx-runtime.js +0 -6
  133. package/dist/_virtual/jsx-runtime2.js +0 -5
  134. package/dist/_virtual/react-jsx-runtime.development.js +0 -5
  135. package/dist/_virtual/react-jsx-runtime.production.js +0 -5
  136. package/dist/dist/_virtual/jsx-runtime.js +0 -6
  137. package/dist/dist/_virtual/jsx-runtime2.js +0 -5
  138. package/dist/dist/_virtual/react-jsx-runtime.development.js +0 -5
  139. package/dist/dist/_virtual/react-jsx-runtime.production.js +0 -5
  140. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
  141. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
  142. package/dist/dist/node_modules/react/jsx-runtime.js +0 -11
  143. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +0 -11
  144. package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +0 -206
  145. package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +0 -83
  146. package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +0 -148
  147. package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +0 -18
  148. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +0 -13
  149. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +0 -24
  150. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +0 -19
  151. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +0 -9
  152. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +0 -7
  153. package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +0 -38
  154. package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +0 -31
  155. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +0 -33
  156. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +0 -53
  157. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +0 -93
  158. package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +0 -10
  159. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +0 -48
  160. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +0 -47
  161. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +0 -34
  162. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +0 -23
  163. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +0 -7
  164. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +0 -8
  165. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +0 -23
  166. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +0 -8
  167. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +0 -7
  168. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +0 -5
  169. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +0 -8
  170. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +0 -7
  171. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -52
  172. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -42
  173. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
  174. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
  175. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -13
  176. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -6
  177. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -6
  178. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -10
  179. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -14
  180. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -6
  181. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -16
  182. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -6
  183. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -6
  184. package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +0 -6
  185. package/dist/node_modules/framer-motion/dist/es/easing/back.js +0 -10
  186. package/dist/node_modules/framer-motion/dist/es/easing/circ.js +0 -9
  187. package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +0 -20
  188. package/dist/node_modules/framer-motion/dist/es/easing/ease.js +0 -8
  189. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +0 -5
  190. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +0 -5
  191. package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +0 -5
  192. package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +0 -33
  193. package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +0 -7
  194. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -9
  195. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -16
  196. package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js +0 -40
  197. package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js +0 -11
  198. package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js +0 -6
  199. package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js +0 -42
  200. package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js +0 -16
  201. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -257
  202. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -20
  203. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -69
  204. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -29
  205. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -23
  206. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -86
  207. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -45
  208. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
  209. package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +0 -11
  210. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -26
  211. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -35
  212. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -14
  213. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -28
  214. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -18
  215. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -22
  216. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -75
  217. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -12
  218. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -12
  219. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -45
  220. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -22
  221. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -60
  222. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +0 -9
  223. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -5
  224. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -19
  225. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
  226. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -54
  227. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -39
  228. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +0 -34
  229. package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +0 -26
  230. package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +0 -15
  231. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +0 -53
  232. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +0 -37
  233. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +0 -26
  234. package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +0 -19
  235. package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +0 -35
  236. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +0 -14
  237. package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +0 -26
  238. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +0 -615
  239. package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +0 -16
  240. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +0 -59
  241. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +0 -22
  242. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +0 -17
  243. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +0 -9
  244. package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +0 -14
  245. package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +0 -7
  246. package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +0 -21
  247. package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +0 -14
  248. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +0 -227
  249. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +0 -21
  250. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
  251. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +0 -16
  252. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
  253. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +0 -67
  254. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +0 -28
  255. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -11
  256. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -19
  257. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +0 -5
  258. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +0 -32
  259. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -21
  260. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +0 -6
  261. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -25
  262. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +0 -7
  263. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +0 -41
  264. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +0 -11
  265. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +0 -25
  266. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +0 -10
  267. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +0 -9
  268. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +0 -5
  269. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +0 -42
  270. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +0 -19
  271. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +0 -5
  272. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +0 -32
  273. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +0 -8
  274. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +0 -9
  275. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +0 -39
  276. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +0 -13
  277. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -28
  278. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +0 -30
  279. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +0 -32
  280. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -10
  281. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +0 -14
  282. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +0 -24
  283. package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +0 -17
  284. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +0 -9
  285. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +0 -13
  286. package/dist/node_modules/framer-motion/dist/es/render/store.js +0 -5
  287. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +0 -41
  288. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +0 -55
  289. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -31
  290. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -23
  291. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +0 -27
  292. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +0 -29
  293. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -9
  294. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +0 -5
  295. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +0 -19
  296. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +0 -12
  297. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +0 -16
  298. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +0 -12
  299. package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +0 -77
  300. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +0 -125
  301. package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +0 -5
  302. package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +0 -20
  303. package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +0 -21
  304. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +0 -14
  305. package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +0 -7
  306. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +0 -27
  307. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +0 -9
  308. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +0 -21
  309. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +0 -19
  310. package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +0 -14
  311. package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js +0 -7
  312. package/dist/node_modules/framer-motion/dist/es/utils/array.js +0 -12
  313. package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +0 -5
  314. package/dist/node_modules/framer-motion/dist/es/utils/delay.js +0 -14
  315. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
  316. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -5
  317. package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +0 -23
  318. package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +0 -42
  319. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -5
  320. package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +0 -5
  321. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -7
  322. package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +0 -5
  323. package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +0 -30
  324. package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +0 -53
  325. package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +0 -7
  326. package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +0 -9
  327. package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +0 -5
  328. package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +0 -9
  329. package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +0 -9
  330. package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +0 -14
  331. package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +0 -7
  332. package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +0 -5
  333. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +0 -14
  334. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +0 -6
  335. package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +0 -7
  336. package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +0 -15
  337. package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js +0 -30
  338. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -9
  339. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -7
  340. package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +0 -7
  341. package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js +0 -8
  342. package/dist/node_modules/framer-motion/dist/es/value/index.js +0 -208
  343. package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +0 -20
  344. package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +0 -13
  345. package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +0 -12
  346. package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +0 -17
  347. package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +0 -19
  348. package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +0 -25
  349. package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +0 -50
  350. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +0 -18
  351. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +0 -18
  352. package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +0 -5
  353. package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +0 -5
  354. package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +0 -7
  355. package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +0 -5
  356. package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +0 -5
  357. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +0 -10
  358. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +0 -8
  359. package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +0 -5
  360. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +0 -10
  361. package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +0 -75
  362. package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +0 -10
  363. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -14
  364. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -7
  365. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -7
  366. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +0 -7
  367. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +0 -28
  368. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -13
  369. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
  370. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -12
  371. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -25
  372. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
  373. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -14
  374. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -28
  375. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -5
  376. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -5
  377. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -5
  378. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -13
  379. package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +0 -5
  380. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
  381. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -7
  382. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -13
  383. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -14
  384. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -7
  385. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -13
  386. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -9
  387. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -5
  388. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -8
  389. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -6
  390. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -248
  391. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -36
  392. package/dist/node_modules/react/jsx-runtime.js +0 -11
@@ -1,20 +1,20 @@
1
1
  "use client";
2
2
  import * as i from "react";
3
- import { createContextScope as w } from "../../react-context/dist/index.js";
4
- import { useCallbackRef as C } from "../../react-use-callback-ref/dist/index.js";
3
+ import { createContextScope as C } from "../../react-context/dist/index.js";
4
+ import { useCallbackRef as h } from "../../react-use-callback-ref/dist/index.js";
5
5
  import { useLayoutEffect as f } from "../../react-use-layout-effect/dist/index.js";
6
6
  import { Primitive as v } from "../../react-primitive/dist/index.js";
7
- import { j as l } from "../../../../_virtual/jsx-runtime.js";
8
- var m = "Avatar", [h, T] = w(m), [y, A] = h(m), L = i.forwardRef(
7
+ import { jsx as l } from "react/jsx-runtime";
8
+ var m = "Avatar", [y, H] = C(m), [_, A] = y(m), L = i.forwardRef(
9
9
  (t, a) => {
10
10
  const { __scopeAvatar: n, ...r } = t, [o, e] = i.useState("idle");
11
- return /* @__PURE__ */ l.jsx(
12
- y,
11
+ return /* @__PURE__ */ l(
12
+ _,
13
13
  {
14
14
  scope: n,
15
15
  imageLoadingStatus: o,
16
16
  onImageLoadingStatusChange: e,
17
- children: /* @__PURE__ */ l.jsx(v.span, { ...r, ref: a })
17
+ children: /* @__PURE__ */ l(v.span, { ...r, ref: a })
18
18
  }
19
19
  );
20
20
  }
@@ -23,39 +23,39 @@ L.displayName = m;
23
23
  var S = "AvatarImage", E = i.forwardRef(
24
24
  (t, a) => {
25
25
  const { __scopeAvatar: n, src: r, onLoadingStatusChange: o = () => {
26
- }, ...e } = t, d = A(S, n), s = _(r, e), u = C((c) => {
26
+ }, ...e } = t, d = A(S, n), s = x(r, e), u = h((c) => {
27
27
  o(c), d.onImageLoadingStatusChange(c);
28
28
  });
29
29
  return f(() => {
30
30
  s !== "idle" && u(s);
31
- }, [s, u]), s === "loaded" ? /* @__PURE__ */ l.jsx(v.img, { ...e, ref: a, src: r }) : null;
31
+ }, [s, u]), s === "loaded" ? /* @__PURE__ */ l(v.img, { ...e, ref: a, src: r }) : null;
32
32
  }
33
33
  );
34
34
  E.displayName = S;
35
- var x = "AvatarFallback", R = i.forwardRef(
35
+ var I = "AvatarFallback", R = i.forwardRef(
36
36
  (t, a) => {
37
- const { __scopeAvatar: n, delayMs: r, ...o } = t, e = A(x, n), [d, s] = i.useState(r === void 0);
37
+ const { __scopeAvatar: n, delayMs: r, ...o } = t, e = A(I, n), [d, s] = i.useState(r === void 0);
38
38
  return i.useEffect(() => {
39
39
  if (r !== void 0) {
40
40
  const u = window.setTimeout(() => s(!0), r);
41
41
  return () => window.clearTimeout(u);
42
42
  }
43
- }, [r]), d && e.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ l.jsx(v.span, { ...o, ref: a }) : null;
43
+ }, [r]), d && e.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ l(v.span, { ...o, ref: a }) : null;
44
44
  }
45
45
  );
46
- R.displayName = x;
46
+ R.displayName = I;
47
47
  function p(t, a) {
48
48
  return t ? a ? (t.src !== a && (t.src = a), t.complete && t.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
49
49
  }
50
- function _(t, { referrerPolicy: a, crossOrigin: n }) {
51
- const r = j(), o = i.useRef(null), e = r ? (o.current || (o.current = new window.Image()), o.current) : null, [d, s] = i.useState(
50
+ function x(t, { referrerPolicy: a, crossOrigin: n }) {
51
+ const r = N(), o = i.useRef(null), e = r ? (o.current || (o.current = new window.Image()), o.current) : null, [d, s] = i.useState(
52
52
  () => p(e, t)
53
53
  );
54
54
  return f(() => {
55
55
  s(p(e, t));
56
56
  }, [e, t]), f(() => {
57
- const u = (I) => () => {
58
- s(I);
57
+ const u = (w) => () => {
58
+ s(w);
59
59
  };
60
60
  if (!e) return;
61
61
  const c = u("loaded"), g = u("error");
@@ -68,20 +68,20 @@ function b() {
68
68
  return () => {
69
69
  };
70
70
  }
71
- function j() {
71
+ function N() {
72
72
  return i.useSyncExternalStore(
73
73
  b,
74
74
  () => !0,
75
75
  () => !1
76
76
  );
77
77
  }
78
- var H = L, B = E, G = R;
78
+ var j = L, B = E, G = R;
79
79
  export {
80
80
  L as Avatar,
81
81
  R as AvatarFallback,
82
82
  E as AvatarImage,
83
83
  G as Fallback,
84
84
  B as Image,
85
- H as Root,
86
- T as createAvatarScope
85
+ j as Root,
86
+ H as createAvatarScope
87
87
  };
@@ -1,114 +1,114 @@
1
1
  "use client";
2
2
  import * as n from "react";
3
- import { useComposedRefs as N } from "../../react-compose-refs/dist/index.js";
4
- import { createContextScope as M } from "../../react-context/dist/index.js";
3
+ import { useComposedRefs as M } from "../../react-compose-refs/dist/index.js";
4
+ import { createContextScope as O } from "../../react-context/dist/index.js";
5
5
  import { composeEventHandlers as S } from "../../primitive/dist/index.js";
6
- import { useControllableState as O } from "../../react-use-controllable-state/dist/index.js";
6
+ import { useControllableState as j } from "../../react-use-controllable-state/dist/index.js";
7
7
  import { usePrevious as A } from "../../react-use-previous/dist/index.js";
8
8
  import { useSize as B } from "../../react-use-size/dist/index.js";
9
9
  import { Presence as H } from "../../react-presence/dist/index.js";
10
- import { Primitive as j } from "../../react-primitive/dist/index.js";
11
- import { j as f } from "../../../../_virtual/jsx-runtime.js";
12
- var R = "Checkbox", [K, Y] = M(R), [L, q] = K(R), I = n.forwardRef(
13
- (e, l) => {
10
+ import { Primitive as I } from "../../react-primitive/dist/index.js";
11
+ import { jsxs as K, jsx as h } from "react/jsx-runtime";
12
+ var P = "Checkbox", [L, Z] = O(P), [q, z] = L(P), g = n.forwardRef(
13
+ (e, f) => {
14
14
  const {
15
15
  __scopeCheckbox: t,
16
16
  name: i,
17
- checked: p,
17
+ checked: l,
18
18
  defaultChecked: r,
19
- required: m,
19
+ required: p,
20
20
  disabled: a,
21
21
  value: k = "on",
22
22
  onCheckedChange: b,
23
23
  form: d,
24
- ...x
25
- } = e, [s, C] = n.useState(null), v = N(l, (o) => C(o)), y = n.useRef(!1), P = s ? d || !!s.closest("form") : !0, [u = !1, E] = O({
26
- prop: p,
24
+ ...v
25
+ } = e, [c, C] = n.useState(null), x = M(f, (o) => C(o)), y = n.useRef(!1), R = c ? d || !!c.closest("form") : !0, [u = !1, E] = j({
26
+ prop: l,
27
27
  defaultProp: r,
28
28
  onChange: b
29
- }), D = n.useRef(u);
29
+ }), N = n.useRef(u);
30
30
  return n.useEffect(() => {
31
- const o = s == null ? void 0 : s.form;
31
+ const o = c == null ? void 0 : c.form;
32
32
  if (o) {
33
- const h = () => E(D.current);
34
- return o.addEventListener("reset", h), () => o.removeEventListener("reset", h);
33
+ const m = () => E(N.current);
34
+ return o.addEventListener("reset", m), () => o.removeEventListener("reset", m);
35
35
  }
36
- }, [s, E]), /* @__PURE__ */ f.jsxs(L, { scope: t, state: u, disabled: a, children: [
37
- /* @__PURE__ */ f.jsx(
38
- j.button,
36
+ }, [c, E]), /* @__PURE__ */ K(q, { scope: t, state: u, disabled: a, children: [
37
+ /* @__PURE__ */ h(
38
+ I.button,
39
39
  {
40
40
  type: "button",
41
41
  role: "checkbox",
42
- "aria-checked": c(u) ? "mixed" : u,
43
- "aria-required": m,
44
- "data-state": _(u),
42
+ "aria-checked": s(u) ? "mixed" : u,
43
+ "aria-required": p,
44
+ "data-state": D(u),
45
45
  "data-disabled": a ? "" : void 0,
46
46
  disabled: a,
47
47
  value: k,
48
- ...x,
49
- ref: v,
48
+ ...v,
49
+ ref: x,
50
50
  onKeyDown: S(e.onKeyDown, (o) => {
51
51
  o.key === "Enter" && o.preventDefault();
52
52
  }),
53
53
  onClick: S(e.onClick, (o) => {
54
- E((h) => c(h) ? !0 : !h), P && (y.current = o.isPropagationStopped(), y.current || o.stopPropagation());
54
+ E((m) => s(m) ? !0 : !m), R && (y.current = o.isPropagationStopped(), y.current || o.stopPropagation());
55
55
  })
56
56
  }
57
57
  ),
58
- P && /* @__PURE__ */ f.jsx(
59
- z,
58
+ R && /* @__PURE__ */ h(
59
+ T,
60
60
  {
61
- control: s,
61
+ control: c,
62
62
  bubbles: !y.current,
63
63
  name: i,
64
64
  value: k,
65
65
  checked: u,
66
- required: m,
66
+ required: p,
67
67
  disabled: a,
68
68
  form: d,
69
69
  style: { transform: "translateX(-100%)" },
70
- defaultChecked: c(r) ? !1 : r
70
+ defaultChecked: s(r) ? !1 : r
71
71
  }
72
72
  )
73
73
  ] });
74
74
  }
75
75
  );
76
- I.displayName = R;
77
- var g = "CheckboxIndicator", w = n.forwardRef(
78
- (e, l) => {
79
- const { __scopeCheckbox: t, forceMount: i, ...p } = e, r = q(g, t);
80
- return /* @__PURE__ */ f.jsx(H, { present: i || c(r.state) || r.state === !0, children: /* @__PURE__ */ f.jsx(
81
- j.span,
76
+ g.displayName = P;
77
+ var w = "CheckboxIndicator", _ = n.forwardRef(
78
+ (e, f) => {
79
+ const { __scopeCheckbox: t, forceMount: i, ...l } = e, r = z(w, t);
80
+ return /* @__PURE__ */ h(H, { present: i || s(r.state) || r.state === !0, children: /* @__PURE__ */ h(
81
+ I.span,
82
82
  {
83
- "data-state": _(r.state),
83
+ "data-state": D(r.state),
84
84
  "data-disabled": r.disabled ? "" : void 0,
85
- ...p,
86
- ref: l,
85
+ ...l,
86
+ ref: f,
87
87
  style: { pointerEvents: "none", ...e.style }
88
88
  }
89
89
  ) });
90
90
  }
91
91
  );
92
- w.displayName = g;
93
- var z = (e) => {
94
- const { control: l, checked: t, bubbles: i = !0, defaultChecked: p, ...r } = e, m = n.useRef(null), a = A(t), k = B(l);
92
+ _.displayName = w;
93
+ var T = (e) => {
94
+ const { control: f, checked: t, bubbles: i = !0, defaultChecked: l, ...r } = e, p = n.useRef(null), a = A(t), k = B(f);
95
95
  n.useEffect(() => {
96
- const d = m.current, x = window.HTMLInputElement.prototype, C = Object.getOwnPropertyDescriptor(x, "checked").set;
96
+ const d = p.current, v = window.HTMLInputElement.prototype, C = Object.getOwnPropertyDescriptor(v, "checked").set;
97
97
  if (a !== t && C) {
98
- const v = new Event("click", { bubbles: i });
99
- d.indeterminate = c(t), C.call(d, c(t) ? !1 : t), d.dispatchEvent(v);
98
+ const x = new Event("click", { bubbles: i });
99
+ d.indeterminate = s(t), C.call(d, s(t) ? !1 : t), d.dispatchEvent(x);
100
100
  }
101
101
  }, [a, t, i]);
102
- const b = n.useRef(c(t) ? !1 : t);
103
- return /* @__PURE__ */ f.jsx(
102
+ const b = n.useRef(s(t) ? !1 : t);
103
+ return /* @__PURE__ */ h(
104
104
  "input",
105
105
  {
106
106
  type: "checkbox",
107
107
  "aria-hidden": !0,
108
- defaultChecked: p ?? b.current,
108
+ defaultChecked: l ?? b.current,
109
109
  ...r,
110
110
  tabIndex: -1,
111
- ref: m,
111
+ ref: p,
112
112
  style: {
113
113
  ...e.style,
114
114
  ...k,
@@ -120,17 +120,17 @@ var z = (e) => {
120
120
  }
121
121
  );
122
122
  };
123
- function c(e) {
123
+ function s(e) {
124
124
  return e === "indeterminate";
125
125
  }
126
- function _(e) {
127
- return c(e) ? "indeterminate" : e ? "checked" : "unchecked";
126
+ function D(e) {
127
+ return s(e) ? "indeterminate" : e ? "checked" : "unchecked";
128
128
  }
129
- var Z = I, $ = w;
129
+ var $ = g, ee = _;
130
130
  export {
131
- I as Checkbox,
132
- w as CheckboxIndicator,
133
- $ as Indicator,
134
- Z as Root,
135
- Y as createCheckboxScope
131
+ g as Checkbox,
132
+ _ as CheckboxIndicator,
133
+ ee as Indicator,
134
+ $ as Root,
135
+ Z as createCheckboxScope
136
136
  };
@@ -1,42 +1,42 @@
1
1
  "use client";
2
2
  import * as o from "react";
3
- import { composeEventHandlers as O } from "../../primitive/dist/index.js";
4
- import { createContextScope as T } from "../../react-context/dist/index.js";
5
- import { useControllableState as S } from "../../react-use-controllable-state/dist/index.js";
6
- import { useLayoutEffect as D } from "../../react-use-layout-effect/dist/index.js";
7
- import { useComposedRefs as L } from "../../react-compose-refs/dist/index.js";
3
+ import { composeEventHandlers as T } from "../../primitive/dist/index.js";
4
+ import { createContextScope as S } from "../../react-context/dist/index.js";
5
+ import { useControllableState as D } from "../../react-use-controllable-state/dist/index.js";
6
+ import { useLayoutEffect as L } from "../../react-use-layout-effect/dist/index.js";
7
+ import { useComposedRefs as M } from "../../react-compose-refs/dist/index.js";
8
8
  import { Primitive as b } from "../../react-primitive/dist/index.js";
9
- import { Presence as M } from "../../react-presence/dist/index.js";
10
- import { useId as k } from "../../react-id/dist/index.js";
11
- import { j as c } from "../../../../_virtual/jsx-runtime.js";
12
- var v = "Collapsible", [F, W] = T(v), [B, g] = F(v), j = o.forwardRef(
9
+ import { Presence as k } from "../../react-presence/dist/index.js";
10
+ import { useId as F } from "../../react-id/dist/index.js";
11
+ import { jsx as c } from "react/jsx-runtime";
12
+ var v = "Collapsible", [B, W] = S(v), [G, g] = B(v), w = o.forwardRef(
13
13
  (e, a) => {
14
14
  const {
15
- __scopeCollapsible: s,
15
+ __scopeCollapsible: i,
16
16
  open: r,
17
17
  defaultOpen: t,
18
18
  disabled: l,
19
- onOpenChange: i,
20
- ...f
21
- } = e, [d = !1, p] = S({
19
+ onOpenChange: s,
20
+ ...u
21
+ } = e, [d = !1, p] = D({
22
22
  prop: r,
23
23
  defaultProp: t,
24
- onChange: i
24
+ onChange: s
25
25
  });
26
- return /* @__PURE__ */ c.jsx(
27
- B,
26
+ return /* @__PURE__ */ c(
27
+ G,
28
28
  {
29
- scope: s,
29
+ scope: i,
30
30
  disabled: l,
31
- contentId: k(),
31
+ contentId: F(),
32
32
  open: d,
33
33
  onOpenToggle: o.useCallback(() => p((m) => !m), [p]),
34
- children: /* @__PURE__ */ c.jsx(
34
+ children: /* @__PURE__ */ c(
35
35
  b.div,
36
36
  {
37
- "data-state": x(d),
37
+ "data-state": h(d),
38
38
  "data-disabled": l ? "" : void 0,
39
- ...f,
39
+ ...u,
40
40
  ref: a
41
41
  }
42
42
  )
@@ -44,60 +44,60 @@ var v = "Collapsible", [F, W] = T(v), [B, g] = F(v), j = o.forwardRef(
44
44
  );
45
45
  }
46
46
  );
47
- j.displayName = v;
48
- var w = "CollapsibleTrigger", A = o.forwardRef(
47
+ w.displayName = v;
48
+ var A = "CollapsibleTrigger", I = o.forwardRef(
49
49
  (e, a) => {
50
- const { __scopeCollapsible: s, ...r } = e, t = g(w, s);
51
- return /* @__PURE__ */ c.jsx(
50
+ const { __scopeCollapsible: i, ...r } = e, t = g(A, i);
51
+ return /* @__PURE__ */ c(
52
52
  b.button,
53
53
  {
54
54
  type: "button",
55
55
  "aria-controls": t.contentId,
56
56
  "aria-expanded": t.open || !1,
57
- "data-state": x(t.open),
57
+ "data-state": h(t.open),
58
58
  "data-disabled": t.disabled ? "" : void 0,
59
59
  disabled: t.disabled,
60
60
  ...r,
61
61
  ref: a,
62
- onClick: O(e.onClick, t.onOpenToggle)
62
+ onClick: T(e.onClick, t.onOpenToggle)
63
63
  }
64
64
  );
65
65
  }
66
66
  );
67
- A.displayName = w;
68
- var R = "CollapsibleContent", I = o.forwardRef(
67
+ I.displayName = A;
68
+ var R = "CollapsibleContent", O = o.forwardRef(
69
69
  (e, a) => {
70
- const { forceMount: s, ...r } = e, t = g(R, e.__scopeCollapsible);
71
- return /* @__PURE__ */ c.jsx(M, { present: s || t.open, children: ({ present: l }) => /* @__PURE__ */ c.jsx(G, { ...r, ref: a, present: l }) });
70
+ const { forceMount: i, ...r } = e, t = g(R, e.__scopeCollapsible);
71
+ return /* @__PURE__ */ c(k, { present: i || t.open, children: ({ present: l }) => /* @__PURE__ */ c($, { ...r, ref: a, present: l }) });
72
72
  }
73
73
  );
74
- I.displayName = R;
75
- var G = o.forwardRef((e, a) => {
76
- const { __scopeCollapsible: s, present: r, children: t, ...l } = e, i = g(R, s), [f, d] = o.useState(r), p = o.useRef(null), m = L(a, p), h = o.useRef(0), y = h.current, N = o.useRef(0), P = N.current, C = i.open || f, E = o.useRef(C), u = o.useRef(void 0);
74
+ O.displayName = R;
75
+ var $ = o.forwardRef((e, a) => {
76
+ const { __scopeCollapsible: i, present: r, children: t, ...l } = e, s = g(R, i), [u, d] = o.useState(r), p = o.useRef(null), m = M(a, p), y = o.useRef(0), x = y.current, N = o.useRef(0), P = N.current, C = s.open || u, _ = o.useRef(C), f = o.useRef(void 0);
77
77
  return o.useEffect(() => {
78
- const n = requestAnimationFrame(() => E.current = !1);
78
+ const n = requestAnimationFrame(() => _.current = !1);
79
79
  return () => cancelAnimationFrame(n);
80
- }, []), D(() => {
80
+ }, []), L(() => {
81
81
  const n = p.current;
82
82
  if (n) {
83
- u.current = u.current || {
83
+ f.current = f.current || {
84
84
  transitionDuration: n.style.transitionDuration,
85
85
  animationName: n.style.animationName
86
86
  }, n.style.transitionDuration = "0s", n.style.animationName = "none";
87
- const _ = n.getBoundingClientRect();
88
- h.current = _.height, N.current = _.width, E.current || (n.style.transitionDuration = u.current.transitionDuration, n.style.animationName = u.current.animationName), d(r);
87
+ const E = n.getBoundingClientRect();
88
+ y.current = E.height, N.current = E.width, _.current || (n.style.transitionDuration = f.current.transitionDuration, n.style.animationName = f.current.animationName), d(r);
89
89
  }
90
- }, [i.open, r]), /* @__PURE__ */ c.jsx(
90
+ }, [s.open, r]), /* @__PURE__ */ c(
91
91
  b.div,
92
92
  {
93
- "data-state": x(i.open),
94
- "data-disabled": i.disabled ? "" : void 0,
95
- id: i.contentId,
93
+ "data-state": h(s.open),
94
+ "data-disabled": s.disabled ? "" : void 0,
95
+ id: s.contentId,
96
96
  hidden: !C,
97
97
  ...l,
98
98
  ref: m,
99
99
  style: {
100
- "--radix-collapsible-content-height": y ? `${y}px` : void 0,
100
+ "--radix-collapsible-content-height": x ? `${x}px` : void 0,
101
101
  "--radix-collapsible-content-width": P ? `${P}px` : void 0,
102
102
  ...e.style
103
103
  },
@@ -105,14 +105,14 @@ var G = o.forwardRef((e, a) => {
105
105
  }
106
106
  );
107
107
  });
108
- function x(e) {
108
+ function h(e) {
109
109
  return e ? "open" : "closed";
110
110
  }
111
- var X = j, Y = A, Z = I;
111
+ var X = w, Y = I, Z = O;
112
112
  export {
113
- j as Collapsible,
114
- I as CollapsibleContent,
115
- A as CollapsibleTrigger,
113
+ w as Collapsible,
114
+ O as CollapsibleContent,
115
+ I as CollapsibleTrigger,
116
116
  Z as Content,
117
117
  X as Root,
118
118
  Y as Trigger,
@@ -1,32 +1,32 @@
1
1
  "use client";
2
2
  import r from "react";
3
3
  import { createContextScope as y } from "../../react-context/dist/index.js";
4
- import { useComposedRefs as S } from "../../react-compose-refs/dist/index.js";
5
- import { createSlot as M } from "../../react-slot/dist/index.js";
6
- import { j as d } from "../../../../_virtual/jsx-runtime.js";
7
- function D(s) {
8
- const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
4
+ import { useComposedRefs as M } from "../../react-compose-refs/dist/index.js";
5
+ import { createSlot as x } from "../../react-slot/dist/index.js";
6
+ import { jsx as d } from "react/jsx-runtime";
7
+ function g(s) {
8
+ const m = s + "CollectionProvider", [A, N] = y(m), [_, f] = A(
9
9
  m,
10
10
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
11
11
  ), p = (c) => {
12
12
  const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
13
- return /* @__PURE__ */ d.jsx(N, { scope: e, itemMap: t, collectionRef: o, children: l });
13
+ return /* @__PURE__ */ d(_, { scope: e, itemMap: t, collectionRef: o, children: l });
14
14
  };
15
15
  p.displayName = m;
16
- const u = s + "CollectionSlot", _ = M(u), C = r.forwardRef(
16
+ const u = s + "CollectionSlot", E = x(u), C = r.forwardRef(
17
17
  (c, e) => {
18
- const { scope: l, children: o } = c, t = f(u, l), n = S(e, t.collectionRef);
19
- return /* @__PURE__ */ d.jsx(_, { ref: n, children: o });
18
+ const { scope: l, children: o } = c, t = f(u, l), n = M(e, t.collectionRef);
19
+ return /* @__PURE__ */ d(E, { ref: n, children: o });
20
20
  }
21
21
  );
22
22
  C.displayName = u;
23
- const a = s + "CollectionItemSlot", R = "data-radix-collection-item", T = M(a), x = r.forwardRef(
23
+ const a = s + "CollectionItemSlot", R = "data-radix-collection-item", T = x(a), I = r.forwardRef(
24
24
  (c, e) => {
25
- const { scope: l, children: o, ...t } = c, n = r.useRef(null), I = S(e, n), i = f(a, l);
26
- return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ d.jsx(T, { [R]: "", ref: I, children: o });
25
+ const { scope: l, children: o, ...t } = c, n = r.useRef(null), S = M(e, n), i = f(a, l);
26
+ return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ d(T, { [R]: "", ref: S, children: o });
27
27
  }
28
28
  );
29
- x.displayName = a;
29
+ I.displayName = a;
30
30
  function O(c) {
31
31
  const e = f(s + "CollectionConsumer", c);
32
32
  return r.useCallback(() => {
@@ -39,11 +39,11 @@ function D(s) {
39
39
  }, [e.collectionRef, e.itemMap]);
40
40
  }
41
41
  return [
42
- { Provider: p, Slot: C, ItemSlot: x },
42
+ { Provider: p, Slot: C, ItemSlot: I },
43
43
  O,
44
- E
44
+ N
45
45
  ];
46
46
  }
47
47
  export {
48
- D as createCollection
48
+ g as createCollection
49
49
  };
@@ -1,71 +1,71 @@
1
1
  "use client";
2
2
  import * as u from "react";
3
- import { j as h } from "../../../../_virtual/jsx-runtime.js";
4
- function j(e, c) {
3
+ import { jsx as h } from "react/jsx-runtime";
4
+ function w(t, c) {
5
5
  const o = u.createContext(c), a = (r) => {
6
- const { children: t, ...n } = r, s = u.useMemo(() => n, Object.values(n));
7
- return /* @__PURE__ */ h.jsx(o.Provider, { value: s, children: t });
6
+ const { children: e, ...n } = r, s = u.useMemo(() => n, Object.values(n));
7
+ return /* @__PURE__ */ h(o.Provider, { value: s, children: e });
8
8
  };
9
- a.displayName = e + "Provider";
9
+ a.displayName = t + "Provider";
10
10
  function i(r) {
11
- const t = u.useContext(o);
12
- if (t) return t;
11
+ const e = u.useContext(o);
12
+ if (e) return e;
13
13
  if (c !== void 0) return c;
14
- throw new Error(`\`${r}\` must be used within \`${e}\``);
14
+ throw new Error(`\`${r}\` must be used within \`${t}\``);
15
15
  }
16
16
  return [a, i];
17
17
  }
18
- function w(e, c = []) {
18
+ function _(t, c = []) {
19
19
  let o = [];
20
- function a(r, t) {
21
- const n = u.createContext(t), s = o.length;
22
- o = [...o, t];
23
- const d = (m) => {
20
+ function a(r, e) {
21
+ const n = u.createContext(e), s = o.length;
22
+ o = [...o, e];
23
+ const p = (d) => {
24
24
  var S;
25
- const { scope: x, children: C, ...p } = m, v = ((S = x == null ? void 0 : x[e]) == null ? void 0 : S[s]) || n, l = u.useMemo(() => p, Object.values(p));
26
- return /* @__PURE__ */ h.jsx(v.Provider, { value: l, children: C });
25
+ const { scope: x, children: C, ...m } = d, v = ((S = x == null ? void 0 : x[t]) == null ? void 0 : S[s]) || n, l = u.useMemo(() => m, Object.values(m));
26
+ return /* @__PURE__ */ h(v.Provider, { value: l, children: C });
27
27
  };
28
- d.displayName = r + "Provider";
29
- function f(m, x) {
28
+ p.displayName = r + "Provider";
29
+ function f(d, x) {
30
30
  var v;
31
- const C = ((v = x == null ? void 0 : x[e]) == null ? void 0 : v[s]) || n, p = u.useContext(C);
32
- if (p) return p;
33
- if (t !== void 0) return t;
34
- throw new Error(`\`${m}\` must be used within \`${r}\``);
31
+ const C = ((v = x == null ? void 0 : x[t]) == null ? void 0 : v[s]) || n, m = u.useContext(C);
32
+ if (m) return m;
33
+ if (e !== void 0) return e;
34
+ throw new Error(`\`${d}\` must be used within \`${r}\``);
35
35
  }
36
- return [d, f];
36
+ return [p, f];
37
37
  }
38
38
  const i = () => {
39
- const r = o.map((t) => u.createContext(t));
39
+ const r = o.map((e) => u.createContext(e));
40
40
  return function(n) {
41
- const s = (n == null ? void 0 : n[e]) || r;
41
+ const s = (n == null ? void 0 : n[t]) || r;
42
42
  return u.useMemo(
43
- () => ({ [`__scope${e}`]: { ...n, [e]: s } }),
43
+ () => ({ [`__scope${t}`]: { ...n, [t]: s } }),
44
44
  [n, s]
45
45
  );
46
46
  };
47
47
  };
48
- return i.scopeName = e, [a, P(i, ...c)];
48
+ return i.scopeName = t, [a, P(i, ...c)];
49
49
  }
50
- function P(...e) {
51
- const c = e[0];
52
- if (e.length === 1) return c;
50
+ function P(...t) {
51
+ const c = t[0];
52
+ if (t.length === 1) return c;
53
53
  const o = () => {
54
- const a = e.map((i) => ({
54
+ const a = t.map((i) => ({
55
55
  useScope: i(),
56
56
  scopeName: i.scopeName
57
57
  }));
58
58
  return function(r) {
59
- const t = a.reduce((n, { useScope: s, scopeName: d }) => {
60
- const m = s(r)[`__scope${d}`];
61
- return { ...n, ...m };
59
+ const e = a.reduce((n, { useScope: s, scopeName: p }) => {
60
+ const d = s(r)[`__scope${p}`];
61
+ return { ...n, ...d };
62
62
  }, {});
63
- return u.useMemo(() => ({ [`__scope${c.scopeName}`]: t }), [t]);
63
+ return u.useMemo(() => ({ [`__scope${c.scopeName}`]: e }), [e]);
64
64
  };
65
65
  };
66
66
  return o.scopeName = c.scopeName, o;
67
67
  }
68
68
  export {
69
- j as createContext,
70
- w as createContextScope
69
+ w as createContext,
70
+ _ as createContextScope
71
71
  };