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,60 +1,60 @@
1
1
  "use client";
2
2
  import * as c from "react";
3
3
  import { Primitive as L } from "../../react-primitive/dist/index.js";
4
- import { Presence as O } from "../../react-presence/dist/index.js";
4
+ import { Presence as I } from "../../react-presence/dist/index.js";
5
5
  import { createContextScope as te } from "../../react-context/dist/index.js";
6
- import { useComposedRefs as T } from "../../react-compose-refs/dist/index.js";
7
- import { useCallbackRef as x } from "../../react-use-callback-ref/dist/index.js";
6
+ import { useComposedRefs as A } from "../../react-compose-refs/dist/index.js";
7
+ import { useCallbackRef as C } from "../../react-use-callback-ref/dist/index.js";
8
8
  import { useDirection as ne } from "../../react-direction/dist/index.js";
9
9
  import { useLayoutEffect as le } from "../../react-use-layout-effect/dist/index.js";
10
10
  import { clamp as ce } from "../../number/dist/index.js";
11
- import { composeEventHandlers as C } from "../../primitive/dist/index.js";
12
- import { j as b } from "../../../../_virtual/jsx-runtime.js";
13
- function se(e, t) {
11
+ import { composeEventHandlers as R } from "../../primitive/dist/index.js";
12
+ import { jsx as b, jsxs as ie, Fragment as se } from "react/jsx-runtime";
13
+ function ae(e, t) {
14
14
  return c.useReducer((r, l) => t[r][l] ?? r, e);
15
15
  }
16
- var U = "ScrollArea", [F, De] = te(U), [ie, v] = F(U), q = c.forwardRef(
16
+ var V = "ScrollArea", [j, He] = te(V), [de, v] = j(V), q = c.forwardRef(
17
17
  (e, t) => {
18
18
  const {
19
19
  __scopeScrollArea: r,
20
20
  type: l = "hover",
21
21
  dir: o,
22
22
  scrollHideDelay: n = 600,
23
- ...s
24
- } = e, [i, a] = c.useState(null), [f, d] = c.useState(null), [h, u] = c.useState(null), [S, p] = c.useState(null), [A, Y] = c.useState(null), [P, _] = c.useState(0), [M, D] = c.useState(0), [j, y] = c.useState(!1), [W, H] = c.useState(!1), m = T(t, (R) => a(R)), w = ne(o);
25
- return /* @__PURE__ */ b.jsx(
26
- ie,
23
+ ...i
24
+ } = e, [s, a] = c.useState(null), [f, d] = c.useState(null), [h, u] = c.useState(null), [S, p] = c.useState(null), [y, M] = c.useState(null), [P, _] = c.useState(0), [U, D] = c.useState(0), [W, x] = c.useState(!1), [H, z] = c.useState(!1), m = A(t, (E) => a(E)), w = ne(o);
25
+ return /* @__PURE__ */ b(
26
+ de,
27
27
  {
28
28
  scope: r,
29
29
  type: l,
30
30
  dir: w,
31
31
  scrollHideDelay: n,
32
- scrollArea: i,
32
+ scrollArea: s,
33
33
  viewport: f,
34
34
  onViewportChange: d,
35
35
  content: h,
36
36
  onContentChange: u,
37
37
  scrollbarX: S,
38
38
  onScrollbarXChange: p,
39
- scrollbarXEnabled: j,
40
- onScrollbarXEnabledChange: y,
41
- scrollbarY: A,
42
- onScrollbarYChange: Y,
43
- scrollbarYEnabled: W,
44
- onScrollbarYEnabledChange: H,
39
+ scrollbarXEnabled: W,
40
+ onScrollbarXEnabledChange: x,
41
+ scrollbarY: y,
42
+ onScrollbarYChange: M,
43
+ scrollbarYEnabled: H,
44
+ onScrollbarYEnabledChange: z,
45
45
  onCornerWidthChange: _,
46
46
  onCornerHeightChange: D,
47
- children: /* @__PURE__ */ b.jsx(
47
+ children: /* @__PURE__ */ b(
48
48
  L.div,
49
49
  {
50
50
  dir: w,
51
- ...s,
51
+ ...i,
52
52
  ref: m,
53
53
  style: {
54
54
  position: "relative",
55
55
  // Pass corner sizes as CSS vars to reduce re-renders of context consumers
56
56
  "--radix-scroll-area-corner-width": P + "px",
57
- "--radix-scroll-area-corner-height": M + "px",
57
+ "--radix-scroll-area-corner-height": U + "px",
58
58
  ...e.style
59
59
  }
60
60
  }
@@ -63,12 +63,12 @@ var U = "ScrollArea", [F, De] = te(U), [ie, v] = F(U), q = c.forwardRef(
63
63
  );
64
64
  }
65
65
  );
66
- q.displayName = U;
66
+ q.displayName = V;
67
67
  var $ = "ScrollAreaViewport", G = c.forwardRef(
68
68
  (e, t) => {
69
- const { __scopeScrollArea: r, children: l, nonce: o, ...n } = e, s = v($, r), i = c.useRef(null), a = T(t, i, s.onViewportChange);
70
- return /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
71
- /* @__PURE__ */ b.jsx(
69
+ const { __scopeScrollArea: r, children: l, nonce: o, ...n } = e, i = v($, r), s = c.useRef(null), a = A(t, s, i.onViewportChange);
70
+ return /* @__PURE__ */ ie(se, { children: [
71
+ /* @__PURE__ */ b(
72
72
  "style",
73
73
  {
74
74
  dangerouslySetInnerHTML: {
@@ -77,7 +77,7 @@ var $ = "ScrollAreaViewport", G = c.forwardRef(
77
77
  nonce: o
78
78
  }
79
79
  ),
80
- /* @__PURE__ */ b.jsx(
80
+ /* @__PURE__ */ b(
81
81
  L.div,
82
82
  {
83
83
  "data-radix-scroll-area-viewport": "",
@@ -95,42 +95,42 @@ var $ = "ScrollAreaViewport", G = c.forwardRef(
95
95
  * the browser from having to work out whether to render native scrollbars or not,
96
96
  * we tell it to with the intention of hiding them in CSS.
97
97
  */
98
- overflowX: s.scrollbarXEnabled ? "scroll" : "hidden",
99
- overflowY: s.scrollbarYEnabled ? "scroll" : "hidden",
98
+ overflowX: i.scrollbarXEnabled ? "scroll" : "hidden",
99
+ overflowY: i.scrollbarYEnabled ? "scroll" : "hidden",
100
100
  ...e.style
101
101
  },
102
- children: /* @__PURE__ */ b.jsx("div", { ref: s.onContentChange, style: { minWidth: "100%", display: "table" }, children: l })
102
+ children: /* @__PURE__ */ b("div", { ref: i.onContentChange, style: { minWidth: "100%", display: "table" }, children: l })
103
103
  }
104
104
  )
105
105
  ] });
106
106
  }
107
107
  );
108
108
  G.displayName = $;
109
- var g = "ScrollAreaScrollbar", ae = c.forwardRef(
109
+ var g = "ScrollAreaScrollbar", ue = c.forwardRef(
110
110
  (e, t) => {
111
- const { forceMount: r, ...l } = e, o = v(g, e.__scopeScrollArea), { onScrollbarXEnabledChange: n, onScrollbarYEnabledChange: s } = o, i = e.orientation === "horizontal";
112
- return c.useEffect(() => (i ? n(!0) : s(!0), () => {
113
- i ? n(!1) : s(!1);
114
- }), [i, n, s]), o.type === "hover" ? /* @__PURE__ */ b.jsx(de, { ...l, ref: t, forceMount: r }) : o.type === "scroll" ? /* @__PURE__ */ b.jsx(ue, { ...l, ref: t, forceMount: r }) : o.type === "auto" ? /* @__PURE__ */ b.jsx(J, { ...l, ref: t, forceMount: r }) : o.type === "always" ? /* @__PURE__ */ b.jsx(V, { ...l, ref: t }) : null;
111
+ const { forceMount: r, ...l } = e, o = v(g, e.__scopeScrollArea), { onScrollbarXEnabledChange: n, onScrollbarYEnabledChange: i } = o, s = e.orientation === "horizontal";
112
+ return c.useEffect(() => (s ? n(!0) : i(!0), () => {
113
+ s ? n(!1) : i(!1);
114
+ }), [s, n, i]), o.type === "hover" ? /* @__PURE__ */ b(fe, { ...l, ref: t, forceMount: r }) : o.type === "scroll" ? /* @__PURE__ */ b(he, { ...l, ref: t, forceMount: r }) : o.type === "auto" ? /* @__PURE__ */ b(J, { ...l, ref: t, forceMount: r }) : o.type === "always" ? /* @__PURE__ */ b(k, { ...l, ref: t }) : null;
115
115
  }
116
116
  );
117
- ae.displayName = g;
118
- var de = c.forwardRef((e, t) => {
119
- const { forceMount: r, ...l } = e, o = v(g, e.__scopeScrollArea), [n, s] = c.useState(!1);
117
+ ue.displayName = g;
118
+ var fe = c.forwardRef((e, t) => {
119
+ const { forceMount: r, ...l } = e, o = v(g, e.__scopeScrollArea), [n, i] = c.useState(!1);
120
120
  return c.useEffect(() => {
121
- const i = o.scrollArea;
121
+ const s = o.scrollArea;
122
122
  let a = 0;
123
- if (i) {
123
+ if (s) {
124
124
  const f = () => {
125
- window.clearTimeout(a), s(!0);
125
+ window.clearTimeout(a), i(!0);
126
126
  }, d = () => {
127
- a = window.setTimeout(() => s(!1), o.scrollHideDelay);
127
+ a = window.setTimeout(() => i(!1), o.scrollHideDelay);
128
128
  };
129
- return i.addEventListener("pointerenter", f), i.addEventListener("pointerleave", d), () => {
130
- window.clearTimeout(a), i.removeEventListener("pointerenter", f), i.removeEventListener("pointerleave", d);
129
+ return s.addEventListener("pointerenter", f), s.addEventListener("pointerleave", d), () => {
130
+ window.clearTimeout(a), s.removeEventListener("pointerenter", f), s.removeEventListener("pointerleave", d);
131
131
  };
132
132
  }
133
- }, [o.scrollArea, o.scrollHideDelay]), /* @__PURE__ */ b.jsx(O, { present: r || n, children: /* @__PURE__ */ b.jsx(
133
+ }, [o.scrollArea, o.scrollHideDelay]), /* @__PURE__ */ b(I, { present: r || n, children: /* @__PURE__ */ b(
134
134
  J,
135
135
  {
136
136
  "data-state": n ? "visible" : "hidden",
@@ -138,8 +138,8 @@ var de = c.forwardRef((e, t) => {
138
138
  ref: t
139
139
  }
140
140
  ) });
141
- }), ue = c.forwardRef((e, t) => {
142
- const { forceMount: r, ...l } = e, o = v(g, e.__scopeScrollArea), n = e.orientation === "horizontal", s = X(() => a("SCROLL_END"), 100), [i, a] = se("hidden", {
141
+ }), he = c.forwardRef((e, t) => {
142
+ const { forceMount: r, ...l } = e, o = v(g, e.__scopeScrollArea), n = e.orientation === "horizontal", i = Y(() => a("SCROLL_END"), 100), [s, a] = ae("hidden", {
143
143
  hidden: {
144
144
  SCROLL: "scrolling"
145
145
  },
@@ -158,70 +158,70 @@ var de = c.forwardRef((e, t) => {
158
158
  }
159
159
  });
160
160
  return c.useEffect(() => {
161
- if (i === "idle") {
161
+ if (s === "idle") {
162
162
  const f = window.setTimeout(() => a("HIDE"), o.scrollHideDelay);
163
163
  return () => window.clearTimeout(f);
164
164
  }
165
- }, [i, o.scrollHideDelay, a]), c.useEffect(() => {
165
+ }, [s, o.scrollHideDelay, a]), c.useEffect(() => {
166
166
  const f = o.viewport, d = n ? "scrollLeft" : "scrollTop";
167
167
  if (f) {
168
168
  let h = f[d];
169
169
  const u = () => {
170
170
  const S = f[d];
171
- h !== S && (a("SCROLL"), s()), h = S;
171
+ h !== S && (a("SCROLL"), i()), h = S;
172
172
  };
173
173
  return f.addEventListener("scroll", u), () => f.removeEventListener("scroll", u);
174
174
  }
175
- }, [o.viewport, n, a, s]), /* @__PURE__ */ b.jsx(O, { present: r || i !== "hidden", children: /* @__PURE__ */ b.jsx(
176
- V,
175
+ }, [o.viewport, n, a, i]), /* @__PURE__ */ b(I, { present: r || s !== "hidden", children: /* @__PURE__ */ b(
176
+ k,
177
177
  {
178
- "data-state": i === "hidden" ? "hidden" : "visible",
178
+ "data-state": s === "hidden" ? "hidden" : "visible",
179
179
  ...l,
180
180
  ref: t,
181
- onPointerEnter: C(e.onPointerEnter, () => a("POINTER_ENTER")),
182
- onPointerLeave: C(e.onPointerLeave, () => a("POINTER_LEAVE"))
181
+ onPointerEnter: R(e.onPointerEnter, () => a("POINTER_ENTER")),
182
+ onPointerLeave: R(e.onPointerLeave, () => a("POINTER_LEAVE"))
183
183
  }
184
184
  ) });
185
185
  }), J = c.forwardRef((e, t) => {
186
- const r = v(g, e.__scopeScrollArea), { forceMount: l, ...o } = e, [n, s] = c.useState(!1), i = e.orientation === "horizontal", a = X(() => {
186
+ const r = v(g, e.__scopeScrollArea), { forceMount: l, ...o } = e, [n, i] = c.useState(!1), s = e.orientation === "horizontal", a = Y(() => {
187
187
  if (r.viewport) {
188
188
  const f = r.viewport.offsetWidth < r.viewport.scrollWidth, d = r.viewport.offsetHeight < r.viewport.scrollHeight;
189
- s(i ? f : d);
189
+ i(s ? f : d);
190
190
  }
191
191
  }, 10);
192
- return E(r.viewport, a), E(r.content, a), /* @__PURE__ */ b.jsx(O, { present: l || n, children: /* @__PURE__ */ b.jsx(
193
- V,
192
+ return T(r.viewport, a), T(r.content, a), /* @__PURE__ */ b(I, { present: l || n, children: /* @__PURE__ */ b(
193
+ k,
194
194
  {
195
195
  "data-state": n ? "visible" : "hidden",
196
196
  ...o,
197
197
  ref: t
198
198
  }
199
199
  ) });
200
- }), V = c.forwardRef((e, t) => {
201
- const { orientation: r = "vertical", ...l } = e, o = v(g, e.__scopeScrollArea), n = c.useRef(null), s = c.useRef(0), [i, a] = c.useState({
200
+ }), k = c.forwardRef((e, t) => {
201
+ const { orientation: r = "vertical", ...l } = e, o = v(g, e.__scopeScrollArea), n = c.useRef(null), i = c.useRef(0), [s, a] = c.useState({
202
202
  content: 0,
203
203
  viewport: 0,
204
204
  scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 }
205
- }), f = ee(i.viewport, i.content), d = {
205
+ }), f = ee(s.viewport, s.content), d = {
206
206
  ...l,
207
- sizes: i,
207
+ sizes: s,
208
208
  onSizesChange: a,
209
209
  hasThumb: f > 0 && f < 1,
210
210
  onThumbChange: (u) => n.current = u,
211
- onThumbPointerUp: () => s.current = 0,
212
- onThumbPointerDown: (u) => s.current = u
211
+ onThumbPointerUp: () => i.current = 0,
212
+ onThumbPointerDown: (u) => i.current = u
213
213
  };
214
214
  function h(u, S) {
215
- return ve(u, s.current, i, S);
215
+ return ge(u, i.current, s, S);
216
216
  }
217
- return r === "horizontal" ? /* @__PURE__ */ b.jsx(
218
- fe,
217
+ return r === "horizontal" ? /* @__PURE__ */ b(
218
+ be,
219
219
  {
220
220
  ...d,
221
221
  ref: t,
222
222
  onThumbPositionChange: () => {
223
223
  if (o.viewport && n.current) {
224
- const u = o.viewport.scrollLeft, S = B(u, i, o.dir);
224
+ const u = o.viewport.scrollLeft, S = F(u, s, o.dir);
225
225
  n.current.style.transform = `translate3d(${S}px, 0, 0)`;
226
226
  }
227
227
  },
@@ -232,14 +232,14 @@ var de = c.forwardRef((e, t) => {
232
232
  o.viewport && (o.viewport.scrollLeft = h(u, o.dir));
233
233
  }
234
234
  }
235
- ) : r === "vertical" ? /* @__PURE__ */ b.jsx(
236
- he,
235
+ ) : r === "vertical" ? /* @__PURE__ */ b(
236
+ Se,
237
237
  {
238
238
  ...d,
239
239
  ref: t,
240
240
  onThumbPositionChange: () => {
241
241
  if (o.viewport && n.current) {
242
- const u = o.viewport.scrollTop, S = B(u, i);
242
+ const u = o.viewport.scrollTop, S = F(u, s);
243
243
  n.current.style.transform = `translate3d(0, ${S}px, 0)`;
244
244
  }
245
245
  },
@@ -251,11 +251,11 @@ var de = c.forwardRef((e, t) => {
251
251
  }
252
252
  }
253
253
  ) : null;
254
- }), fe = c.forwardRef((e, t) => {
255
- const { sizes: r, onSizesChange: l, ...o } = e, n = v(g, e.__scopeScrollArea), [s, i] = c.useState(), a = c.useRef(null), f = T(t, a, n.onScrollbarXChange);
254
+ }), be = c.forwardRef((e, t) => {
255
+ const { sizes: r, onSizesChange: l, ...o } = e, n = v(g, e.__scopeScrollArea), [i, s] = c.useState(), a = c.useRef(null), f = A(t, a, n.onScrollbarXChange);
256
256
  return c.useEffect(() => {
257
- a.current && i(getComputedStyle(a.current));
258
- }, [a]), /* @__PURE__ */ b.jsx(
257
+ a.current && s(getComputedStyle(a.current));
258
+ }, [a]), /* @__PURE__ */ b(
259
259
  Q,
260
260
  {
261
261
  "data-orientation": "horizontal",
@@ -266,7 +266,7 @@ var de = c.forwardRef((e, t) => {
266
266
  bottom: 0,
267
267
  left: n.dir === "rtl" ? "var(--radix-scroll-area-corner-width)" : 0,
268
268
  right: n.dir === "ltr" ? "var(--radix-scroll-area-corner-width)" : 0,
269
- "--radix-scroll-area-thumb-width": I(r) + "px",
269
+ "--radix-scroll-area-thumb-width": X(r) + "px",
270
270
  ...e.style
271
271
  },
272
272
  onThumbPointerDown: (d) => e.onThumbPointerDown(d.x),
@@ -278,23 +278,23 @@ var de = c.forwardRef((e, t) => {
278
278
  }
279
279
  },
280
280
  onResize: () => {
281
- a.current && n.viewport && s && l({
281
+ a.current && n.viewport && i && l({
282
282
  content: n.viewport.scrollWidth,
283
283
  viewport: n.viewport.offsetWidth,
284
284
  scrollbar: {
285
285
  size: a.current.clientWidth,
286
- paddingStart: N(s.paddingLeft),
287
- paddingEnd: N(s.paddingRight)
286
+ paddingStart: O(i.paddingLeft),
287
+ paddingEnd: O(i.paddingRight)
288
288
  }
289
289
  });
290
290
  }
291
291
  }
292
292
  );
293
- }), he = c.forwardRef((e, t) => {
294
- const { sizes: r, onSizesChange: l, ...o } = e, n = v(g, e.__scopeScrollArea), [s, i] = c.useState(), a = c.useRef(null), f = T(t, a, n.onScrollbarYChange);
293
+ }), Se = c.forwardRef((e, t) => {
294
+ const { sizes: r, onSizesChange: l, ...o } = e, n = v(g, e.__scopeScrollArea), [i, s] = c.useState(), a = c.useRef(null), f = A(t, a, n.onScrollbarYChange);
295
295
  return c.useEffect(() => {
296
- a.current && i(getComputedStyle(a.current));
297
- }, [a]), /* @__PURE__ */ b.jsx(
296
+ a.current && s(getComputedStyle(a.current));
297
+ }, [a]), /* @__PURE__ */ b(
298
298
  Q,
299
299
  {
300
300
  "data-orientation": "vertical",
@@ -306,7 +306,7 @@ var de = c.forwardRef((e, t) => {
306
306
  right: n.dir === "ltr" ? 0 : void 0,
307
307
  left: n.dir === "rtl" ? 0 : void 0,
308
308
  bottom: "var(--radix-scroll-area-corner-height)",
309
- "--radix-scroll-area-thumb-height": I(r) + "px",
309
+ "--radix-scroll-area-thumb-height": X(r) + "px",
310
310
  ...e.style
311
311
  },
312
312
  onThumbPointerDown: (d) => e.onThumbPointerDown(d.y),
@@ -318,65 +318,65 @@ var de = c.forwardRef((e, t) => {
318
318
  }
319
319
  },
320
320
  onResize: () => {
321
- a.current && n.viewport && s && l({
321
+ a.current && n.viewport && i && l({
322
322
  content: n.viewport.scrollHeight,
323
323
  viewport: n.viewport.offsetHeight,
324
324
  scrollbar: {
325
325
  size: a.current.clientHeight,
326
- paddingStart: N(s.paddingTop),
327
- paddingEnd: N(s.paddingBottom)
326
+ paddingStart: O(i.paddingTop),
327
+ paddingEnd: O(i.paddingBottom)
328
328
  }
329
329
  });
330
330
  }
331
331
  }
332
332
  );
333
- }), [be, K] = F(g), Q = c.forwardRef((e, t) => {
333
+ }), [me, K] = j(g), Q = c.forwardRef((e, t) => {
334
334
  const {
335
335
  __scopeScrollArea: r,
336
336
  sizes: l,
337
337
  hasThumb: o,
338
338
  onThumbChange: n,
339
- onThumbPointerUp: s,
340
- onThumbPointerDown: i,
339
+ onThumbPointerUp: i,
340
+ onThumbPointerDown: s,
341
341
  onThumbPositionChange: a,
342
342
  onDragScroll: f,
343
343
  onWheelScroll: d,
344
344
  onResize: h,
345
345
  ...u
346
- } = e, S = v(g, r), [p, A] = c.useState(null), Y = T(t, (m) => A(m)), P = c.useRef(null), _ = c.useRef(""), M = S.viewport, D = l.content - l.viewport, j = x(d), y = x(a), W = X(h, 10);
347
- function H(m) {
346
+ } = e, S = v(g, r), [p, y] = c.useState(null), M = A(t, (m) => y(m)), P = c.useRef(null), _ = c.useRef(""), U = S.viewport, D = l.content - l.viewport, W = C(d), x = C(a), H = Y(h, 10);
347
+ function z(m) {
348
348
  if (P.current) {
349
- const w = m.clientX - P.current.left, R = m.clientY - P.current.top;
350
- f({ x: w, y: R });
349
+ const w = m.clientX - P.current.left, E = m.clientY - P.current.top;
350
+ f({ x: w, y: E });
351
351
  }
352
352
  }
353
353
  return c.useEffect(() => {
354
354
  const m = (w) => {
355
- const R = w.target;
356
- (p == null ? void 0 : p.contains(R)) && j(w, D);
355
+ const E = w.target;
356
+ (p == null ? void 0 : p.contains(E)) && W(w, D);
357
357
  };
358
358
  return document.addEventListener("wheel", m, { passive: !1 }), () => document.removeEventListener("wheel", m, { passive: !1 });
359
- }, [M, p, D, j]), c.useEffect(y, [l, y]), E(p, W), E(S.content, W), /* @__PURE__ */ b.jsx(
360
- be,
359
+ }, [U, p, D, W]), c.useEffect(x, [l, x]), T(p, H), T(S.content, H), /* @__PURE__ */ b(
360
+ me,
361
361
  {
362
362
  scope: r,
363
363
  scrollbar: p,
364
364
  hasThumb: o,
365
- onThumbChange: x(n),
366
- onThumbPointerUp: x(s),
367
- onThumbPositionChange: y,
368
- onThumbPointerDown: x(i),
369
- children: /* @__PURE__ */ b.jsx(
365
+ onThumbChange: C(n),
366
+ onThumbPointerUp: C(i),
367
+ onThumbPositionChange: x,
368
+ onThumbPointerDown: C(s),
369
+ children: /* @__PURE__ */ b(
370
370
  L.div,
371
371
  {
372
372
  ...u,
373
- ref: Y,
373
+ ref: M,
374
374
  style: { position: "absolute", ...u.style },
375
- onPointerDown: C(e.onPointerDown, (m) => {
376
- m.button === 0 && (m.target.setPointerCapture(m.pointerId), P.current = p.getBoundingClientRect(), _.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", S.viewport && (S.viewport.style.scrollBehavior = "auto"), H(m));
375
+ onPointerDown: R(e.onPointerDown, (m) => {
376
+ m.button === 0 && (m.target.setPointerCapture(m.pointerId), P.current = p.getBoundingClientRect(), _.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", S.viewport && (S.viewport.style.scrollBehavior = "auto"), z(m));
377
377
  }),
378
- onPointerMove: C(e.onPointerMove, H),
379
- onPointerUp: C(e.onPointerUp, (m) => {
378
+ onPointerMove: R(e.onPointerMove, z),
379
+ onPointerUp: R(e.onPointerUp, (m) => {
380
380
  const w = m.target;
381
381
  w.hasPointerCapture(m.pointerId) && w.releasePointerCapture(m.pointerId), document.body.style.webkitUserSelect = _.current, S.viewport && (S.viewport.style.scrollBehavior = ""), P.current = null;
382
382
  })
@@ -384,17 +384,17 @@ var de = c.forwardRef((e, t) => {
384
384
  )
385
385
  }
386
386
  );
387
- }), z = "ScrollAreaThumb", Se = c.forwardRef(
387
+ }), N = "ScrollAreaThumb", pe = c.forwardRef(
388
388
  (e, t) => {
389
- const { forceMount: r, ...l } = e, o = K(z, e.__scopeScrollArea);
390
- return /* @__PURE__ */ b.jsx(O, { present: r || o.hasThumb, children: /* @__PURE__ */ b.jsx(me, { ref: t, ...l }) });
389
+ const { forceMount: r, ...l } = e, o = K(N, e.__scopeScrollArea);
390
+ return /* @__PURE__ */ b(I, { present: r || o.hasThumb, children: /* @__PURE__ */ b(ve, { ref: t, ...l }) });
391
391
  }
392
- ), me = c.forwardRef(
392
+ ), ve = c.forwardRef(
393
393
  (e, t) => {
394
- const { __scopeScrollArea: r, style: l, ...o } = e, n = v(z, r), s = K(z, r), { onThumbPositionChange: i } = s, a = T(
394
+ const { __scopeScrollArea: r, style: l, ...o } = e, n = v(N, r), i = K(N, r), { onThumbPositionChange: s } = i, a = A(
395
395
  t,
396
- (h) => s.onThumbChange(h)
397
- ), f = c.useRef(void 0), d = X(() => {
396
+ (h) => i.onThumbChange(h)
397
+ ), f = c.useRef(void 0), d = Y(() => {
398
398
  f.current && (f.current(), f.current = void 0);
399
399
  }, 100);
400
400
  return c.useEffect(() => {
@@ -402,16 +402,16 @@ var de = c.forwardRef((e, t) => {
402
402
  if (h) {
403
403
  const u = () => {
404
404
  if (d(), !f.current) {
405
- const S = we(h, i);
406
- f.current = S, i();
405
+ const S = Pe(h, s);
406
+ f.current = S, s();
407
407
  }
408
408
  };
409
- return i(), h.addEventListener("scroll", u), () => h.removeEventListener("scroll", u);
409
+ return s(), h.addEventListener("scroll", u), () => h.removeEventListener("scroll", u);
410
410
  }
411
- }, [n.viewport, d, i]), /* @__PURE__ */ b.jsx(
411
+ }, [n.viewport, d, s]), /* @__PURE__ */ b(
412
412
  L.div,
413
413
  {
414
- "data-state": s.hasThumb ? "visible" : "hidden",
414
+ "data-state": i.hasThumb ? "visible" : "hidden",
415
415
  ...o,
416
416
  ref: a,
417
417
  style: {
@@ -419,41 +419,41 @@ var de = c.forwardRef((e, t) => {
419
419
  height: "var(--radix-scroll-area-thumb-height)",
420
420
  ...l
421
421
  },
422
- onPointerDownCapture: C(e.onPointerDownCapture, (h) => {
423
- const S = h.target.getBoundingClientRect(), p = h.clientX - S.left, A = h.clientY - S.top;
424
- s.onThumbPointerDown({ x: p, y: A });
422
+ onPointerDownCapture: R(e.onPointerDownCapture, (h) => {
423
+ const S = h.target.getBoundingClientRect(), p = h.clientX - S.left, y = h.clientY - S.top;
424
+ i.onThumbPointerDown({ x: p, y });
425
425
  }),
426
- onPointerUp: C(e.onPointerUp, s.onThumbPointerUp)
426
+ onPointerUp: R(e.onPointerUp, i.onThumbPointerUp)
427
427
  }
428
428
  );
429
429
  }
430
430
  );
431
- Se.displayName = z;
432
- var k = "ScrollAreaCorner", Z = c.forwardRef(
431
+ pe.displayName = N;
432
+ var B = "ScrollAreaCorner", Z = c.forwardRef(
433
433
  (e, t) => {
434
- const r = v(k, e.__scopeScrollArea), l = !!(r.scrollbarX && r.scrollbarY);
435
- return r.type !== "scroll" && l ? /* @__PURE__ */ b.jsx(pe, { ...e, ref: t }) : null;
434
+ const r = v(B, e.__scopeScrollArea), l = !!(r.scrollbarX && r.scrollbarY);
435
+ return r.type !== "scroll" && l ? /* @__PURE__ */ b(we, { ...e, ref: t }) : null;
436
436
  }
437
437
  );
438
- Z.displayName = k;
439
- var pe = c.forwardRef((e, t) => {
440
- const { __scopeScrollArea: r, ...l } = e, o = v(k, r), [n, s] = c.useState(0), [i, a] = c.useState(0), f = !!(n && i);
441
- return E(o.scrollbarX, () => {
438
+ Z.displayName = B;
439
+ var we = c.forwardRef((e, t) => {
440
+ const { __scopeScrollArea: r, ...l } = e, o = v(B, r), [n, i] = c.useState(0), [s, a] = c.useState(0), f = !!(n && s);
441
+ return T(o.scrollbarX, () => {
442
442
  var h;
443
443
  const d = ((h = o.scrollbarX) == null ? void 0 : h.offsetHeight) || 0;
444
444
  o.onCornerHeightChange(d), a(d);
445
- }), E(o.scrollbarY, () => {
445
+ }), T(o.scrollbarY, () => {
446
446
  var h;
447
447
  const d = ((h = o.scrollbarY) == null ? void 0 : h.offsetWidth) || 0;
448
- o.onCornerWidthChange(d), s(d);
449
- }), f ? /* @__PURE__ */ b.jsx(
448
+ o.onCornerWidthChange(d), i(d);
449
+ }), f ? /* @__PURE__ */ b(
450
450
  L.div,
451
451
  {
452
452
  ...l,
453
453
  ref: t,
454
454
  style: {
455
455
  width: n,
456
- height: i,
456
+ height: s,
457
457
  position: "absolute",
458
458
  right: o.dir === "ltr" ? 0 : void 0,
459
459
  left: o.dir === "rtl" ? 0 : void 0,
@@ -463,24 +463,24 @@ var pe = c.forwardRef((e, t) => {
463
463
  }
464
464
  ) : null;
465
465
  });
466
- function N(e) {
466
+ function O(e) {
467
467
  return e ? parseInt(e, 10) : 0;
468
468
  }
469
469
  function ee(e, t) {
470
470
  const r = e / t;
471
471
  return isNaN(r) ? 0 : r;
472
472
  }
473
- function I(e) {
473
+ function X(e) {
474
474
  const t = ee(e.viewport, e.content), r = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, l = (e.scrollbar.size - r) * t;
475
475
  return Math.max(l, 18);
476
476
  }
477
- function ve(e, t, r, l = "ltr") {
478
- const o = I(r), n = o / 2, s = t || n, i = o - s, a = r.scrollbar.paddingStart + s, f = r.scrollbar.size - r.scrollbar.paddingEnd - i, d = r.content - r.viewport, h = l === "ltr" ? [0, d] : [d * -1, 0];
477
+ function ge(e, t, r, l = "ltr") {
478
+ const o = X(r), n = o / 2, i = t || n, s = o - i, a = r.scrollbar.paddingStart + i, f = r.scrollbar.size - r.scrollbar.paddingEnd - s, d = r.content - r.viewport, h = l === "ltr" ? [0, d] : [d * -1, 0];
479
479
  return re([a, f], h)(e);
480
480
  }
481
- function B(e, t, r = "ltr") {
482
- const l = I(t), o = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, n = t.scrollbar.size - o, s = t.content - t.viewport, i = n - l, a = r === "ltr" ? [0, s] : [s * -1, 0], f = ce(e, a);
483
- return re([0, s], [0, i])(f);
481
+ function F(e, t, r = "ltr") {
482
+ const l = X(t), o = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, n = t.scrollbar.size - o, i = t.content - t.viewport, s = n - l, a = r === "ltr" ? [0, i] : [i * -1, 0], f = ce(e, a);
483
+ return re([0, i], [0, s])(f);
484
484
  }
485
485
  function re(e, t) {
486
486
  return (r) => {
@@ -492,22 +492,22 @@ function re(e, t) {
492
492
  function oe(e, t) {
493
493
  return e > 0 && e < t;
494
494
  }
495
- var we = (e, t = () => {
495
+ var Pe = (e, t = () => {
496
496
  }) => {
497
497
  let r = { left: e.scrollLeft, top: e.scrollTop }, l = 0;
498
498
  return function o() {
499
- const n = { left: e.scrollLeft, top: e.scrollTop }, s = r.left !== n.left, i = r.top !== n.top;
500
- (s || i) && t(), r = n, l = window.requestAnimationFrame(o);
499
+ const n = { left: e.scrollLeft, top: e.scrollTop }, i = r.left !== n.left, s = r.top !== n.top;
500
+ (i || s) && t(), r = n, l = window.requestAnimationFrame(o);
501
501
  }(), () => window.cancelAnimationFrame(l);
502
502
  };
503
- function X(e, t) {
504
- const r = x(e), l = c.useRef(0);
503
+ function Y(e, t) {
504
+ const r = C(e), l = c.useRef(0);
505
505
  return c.useEffect(() => () => window.clearTimeout(l.current), []), c.useCallback(() => {
506
506
  window.clearTimeout(l.current), l.current = window.setTimeout(r, t);
507
507
  }, [r, t]);
508
508
  }
509
- function E(e, t) {
510
- const r = x(t);
509
+ function T(e, t) {
510
+ const r = C(t);
511
511
  le(() => {
512
512
  let l = 0;
513
513
  if (e) {
@@ -520,15 +520,15 @@ function E(e, t) {
520
520
  }
521
521
  }, [e, r]);
522
522
  }
523
- var je = q, We = G, He = Z;
523
+ var ze = q, Ne = G, Oe = Z;
524
524
  export {
525
- He as Corner,
526
- je as Root,
525
+ Oe as Corner,
526
+ ze as Root,
527
527
  q as ScrollArea,
528
528
  Z as ScrollAreaCorner,
529
- ae as ScrollAreaScrollbar,
530
- Se as ScrollAreaThumb,
529
+ ue as ScrollAreaScrollbar,
530
+ pe as ScrollAreaThumb,
531
531
  G as ScrollAreaViewport,
532
- We as Viewport,
533
- De as createScrollAreaScope
532
+ Ne as Viewport,
533
+ He as createScrollAreaScope
534
534
  };