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,78 +1,78 @@
1
1
  "use client";
2
- import { j as a } from "../../_virtual/jsx-runtime.js";
3
- import { Root as n, Trigger as i, Content as l, Close as r, Title as d, Description as c, Portal as g, Overlay as u } from "../../node_modules/@radix-ui/react-dialog/dist/index.js";
2
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
3
+ import { Root as s, Trigger as l, Content as r, Close as d, Title as c, Description as g, Portal as u, Overlay as f } from "../../node_modules/@radix-ui/react-dialog/dist/index.js";
4
4
  import { cn as o } from "../../lib/utils.js";
5
- import f from "../../node_modules/lucide-react/dist/esm/icons/x.js";
6
- function b({
5
+ import m from "../../node_modules/lucide-react/dist/esm/icons/x.js";
6
+ function y({
7
7
  ...t
8
8
  }) {
9
- return /* @__PURE__ */ a.jsx(n, { "data-slot": "dialog", ...t });
9
+ return /* @__PURE__ */ e(s, { "data-slot": "dialog", ...t });
10
10
  }
11
- function h({
11
+ function N({
12
12
  ...t
13
13
  }) {
14
- return /* @__PURE__ */ a.jsx(i, { "data-slot": "dialog-trigger", ...t });
14
+ return /* @__PURE__ */ e(l, { "data-slot": "dialog-trigger", ...t });
15
15
  }
16
- function m({
16
+ function p({
17
17
  ...t
18
18
  }) {
19
- return /* @__PURE__ */ a.jsx(g, { "data-slot": "dialog-portal", ...t });
19
+ return /* @__PURE__ */ e(u, { "data-slot": "dialog-portal", ...t });
20
20
  }
21
21
  function x({
22
22
  className: t,
23
- ...e
23
+ ...a
24
24
  }) {
25
- return /* @__PURE__ */ a.jsx(
26
- u,
25
+ return /* @__PURE__ */ e(
26
+ f,
27
27
  {
28
28
  "data-slot": "dialog-overlay",
29
29
  className: o(
30
30
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
31
31
  t
32
32
  ),
33
- ...e
33
+ ...a
34
34
  }
35
35
  );
36
36
  }
37
- function y({
37
+ function z({
38
38
  className: t,
39
- children: e,
40
- ...s
39
+ children: a,
40
+ ...i
41
41
  }) {
42
- return /* @__PURE__ */ a.jsxs(m, { "data-slot": "dialog-portal", children: [
43
- /* @__PURE__ */ a.jsx(x, {}),
44
- /* @__PURE__ */ a.jsxs(
45
- l,
42
+ return /* @__PURE__ */ n(p, { "data-slot": "dialog-portal", children: [
43
+ /* @__PURE__ */ e(x, {}),
44
+ /* @__PURE__ */ n(
45
+ r,
46
46
  {
47
47
  "data-slot": "dialog-content",
48
48
  className: o(
49
49
  "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
50
50
  t
51
51
  ),
52
- ...s,
52
+ ...i,
53
53
  children: [
54
- e,
55
- /* @__PURE__ */ a.jsxs(r, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", children: [
56
- /* @__PURE__ */ a.jsx(f, {}),
57
- /* @__PURE__ */ a.jsx("span", { className: "sr-only", children: "Close" })
54
+ a,
55
+ /* @__PURE__ */ n(d, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", children: [
56
+ /* @__PURE__ */ e(m, {}),
57
+ /* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
58
58
  ] })
59
59
  ]
60
60
  }
61
61
  )
62
62
  ] });
63
63
  }
64
- function N({ className: t, ...e }) {
65
- return /* @__PURE__ */ a.jsx(
64
+ function w({ className: t, ...a }) {
65
+ return /* @__PURE__ */ e(
66
66
  "div",
67
67
  {
68
68
  "data-slot": "dialog-header",
69
69
  className: o("flex flex-col gap-2 text-center sm:text-left", t),
70
- ...e
70
+ ...a
71
71
  }
72
72
  );
73
73
  }
74
- function z({ className: t, ...e }) {
75
- return /* @__PURE__ */ a.jsx(
74
+ function k({ className: t, ...a }) {
75
+ return /* @__PURE__ */ e(
76
76
  "div",
77
77
  {
78
78
  "data-slot": "dialog-footer",
@@ -80,44 +80,44 @@ function z({ className: t, ...e }) {
80
80
  "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
81
81
  t
82
82
  ),
83
- ...e
83
+ ...a
84
84
  }
85
85
  );
86
86
  }
87
- function w({
87
+ function C({
88
88
  className: t,
89
- ...e
89
+ ...a
90
90
  }) {
91
- return /* @__PURE__ */ a.jsx(
92
- d,
91
+ return /* @__PURE__ */ e(
92
+ c,
93
93
  {
94
94
  "data-slot": "dialog-title",
95
95
  className: o("text-lg leading-none font-semibold", t),
96
- ...e
96
+ ...a
97
97
  }
98
98
  );
99
99
  }
100
- function k({
100
+ function T({
101
101
  className: t,
102
- ...e
102
+ ...a
103
103
  }) {
104
- return /* @__PURE__ */ a.jsx(
105
- c,
104
+ return /* @__PURE__ */ e(
105
+ g,
106
106
  {
107
107
  "data-slot": "dialog-description",
108
108
  className: o("text-muted-foreground text-sm", t),
109
- ...e
109
+ ...a
110
110
  }
111
111
  );
112
112
  }
113
113
  export {
114
- b as Dialog,
115
- y as DialogContent,
116
- k as DialogDescription,
117
- z as DialogFooter,
118
- N as DialogHeader,
114
+ y as Dialog,
115
+ z as DialogContent,
116
+ T as DialogDescription,
117
+ k as DialogFooter,
118
+ w as DialogHeader,
119
119
  x as DialogOverlay,
120
- m as DialogPortal,
121
- w as DialogTitle,
122
- h as DialogTrigger
120
+ p as DialogPortal,
121
+ C as DialogTitle,
122
+ N as DialogTrigger
123
123
  };
@@ -1,27 +1,27 @@
1
1
  "use client";
2
- import { j as r } from "../../_virtual/jsx-runtime.js";
2
+ import { jsx as t, jsxs as o } from "react/jsx-runtime";
3
3
  import { Drawer as e } from "../../node_modules/vaul/dist/index.js";
4
4
  import { cn as d } from "../../lib/utils.js";
5
- function c({
5
+ function s({
6
6
  ...a
7
7
  }) {
8
- return /* @__PURE__ */ r.jsx(e.Root, { "data-slot": "drawer", ...a });
8
+ return /* @__PURE__ */ t(e.Root, { "data-slot": "drawer", ...a });
9
9
  }
10
- function w({
10
+ function m({
11
11
  ...a
12
12
  }) {
13
- return /* @__PURE__ */ r.jsx(e.Trigger, { "data-slot": "drawer-trigger", ...a });
13
+ return /* @__PURE__ */ t(e.Trigger, { "data-slot": "drawer-trigger", ...a });
14
14
  }
15
- function i({
15
+ function n({
16
16
  ...a
17
17
  }) {
18
- return /* @__PURE__ */ r.jsx(e.Portal, { "data-slot": "drawer-portal", ...a });
18
+ return /* @__PURE__ */ t(e.Portal, { "data-slot": "drawer-portal", ...a });
19
19
  }
20
- function n({
20
+ function l({
21
21
  className: a,
22
- ...t
22
+ ...r
23
23
  }) {
24
- return /* @__PURE__ */ r.jsx(
24
+ return /* @__PURE__ */ t(
25
25
  e.Overlay,
26
26
  {
27
27
  "data-slot": "drawer-overlay",
@@ -29,18 +29,18 @@ function n({
29
29
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
30
30
  a
31
31
  ),
32
- ...t
32
+ ...r
33
33
  }
34
34
  );
35
35
  }
36
- function m({
36
+ function f({
37
37
  className: a,
38
- children: t,
39
- ...o
38
+ children: r,
39
+ ...i
40
40
  }) {
41
- return /* @__PURE__ */ r.jsxs(i, { "data-slot": "drawer-portal", children: [
42
- /* @__PURE__ */ r.jsx(n, {}),
43
- /* @__PURE__ */ r.jsxs(
41
+ return /* @__PURE__ */ o(n, { "data-slot": "drawer-portal", children: [
42
+ /* @__PURE__ */ t(l, {}),
43
+ /* @__PURE__ */ o(
44
44
  e.Content,
45
45
  {
46
46
  "data-slot": "drawer-content",
@@ -52,69 +52,69 @@ function m({
52
52
  "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",
53
53
  a
54
54
  ),
55
- ...o,
55
+ ...i,
56
56
  children: [
57
- /* @__PURE__ */ r.jsx("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
58
- t
57
+ /* @__PURE__ */ t("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
58
+ r
59
59
  ]
60
60
  }
61
61
  )
62
62
  ] });
63
63
  }
64
- function x({ className: a, ...t }) {
65
- return /* @__PURE__ */ r.jsx(
64
+ function v({ className: a, ...r }) {
65
+ return /* @__PURE__ */ t(
66
66
  "div",
67
67
  {
68
68
  "data-slot": "drawer-header",
69
69
  className: d("flex flex-col gap-1.5 p-4", a),
70
- ...t
70
+ ...r
71
71
  }
72
72
  );
73
73
  }
74
- function f({ className: a, ...t }) {
75
- return /* @__PURE__ */ r.jsx(
74
+ function p({ className: a, ...r }) {
75
+ return /* @__PURE__ */ t(
76
76
  "div",
77
77
  {
78
78
  "data-slot": "drawer-footer",
79
79
  className: d("mt-auto flex flex-col gap-2 p-4", a),
80
- ...t
80
+ ...r
81
81
  }
82
82
  );
83
83
  }
84
- function v({
84
+ function g({
85
85
  className: a,
86
- ...t
86
+ ...r
87
87
  }) {
88
- return /* @__PURE__ */ r.jsx(
88
+ return /* @__PURE__ */ t(
89
89
  e.Title,
90
90
  {
91
91
  "data-slot": "drawer-title",
92
92
  className: d("text-foreground font-semibold", a),
93
- ...t
93
+ ...r
94
94
  }
95
95
  );
96
96
  }
97
- function p({
97
+ function b({
98
98
  className: a,
99
- ...t
99
+ ...r
100
100
  }) {
101
- return /* @__PURE__ */ r.jsx(
101
+ return /* @__PURE__ */ t(
102
102
  e.Description,
103
103
  {
104
104
  "data-slot": "drawer-description",
105
105
  className: d("text-muted-foreground text-sm", a),
106
- ...t
106
+ ...r
107
107
  }
108
108
  );
109
109
  }
110
110
  export {
111
- c as Drawer,
112
- m as DrawerContent,
113
- p as DrawerDescription,
114
- f as DrawerFooter,
115
- x as DrawerHeader,
116
- n as DrawerOverlay,
117
- i as DrawerPortal,
118
- v as DrawerTitle,
119
- w as DrawerTrigger
111
+ s as Drawer,
112
+ f as DrawerContent,
113
+ b as DrawerDescription,
114
+ p as DrawerFooter,
115
+ v as DrawerHeader,
116
+ l as DrawerOverlay,
117
+ n as DrawerPortal,
118
+ g as DrawerTitle,
119
+ m as DrawerTrigger
120
120
  };
@@ -1,83 +1,83 @@
1
1
  "use client";
2
- import { j as e } from "../../_virtual/jsx-runtime.js";
3
- import i, { useEffect as p } from "react";
4
- import { motion as s } from "../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
5
- import l from "../../node_modules/lucide-react/dist/esm/icons/x.js";
6
- import w from "../../node_modules/lucide-react/dist/esm/icons/file.js";
7
- const y = i.forwardRef(
8
- (t, r) => t.file.type.startsWith("image/") ? /* @__PURE__ */ e.jsx(o, { ...t, ref: r }) : t.file.type.startsWith("text/") || t.file.name.endsWith(".txt") || t.file.name.endsWith(".md") ? /* @__PURE__ */ e.jsx(m, { ...t, ref: r }) : /* @__PURE__ */ e.jsx(u, { ...t, ref: r })
2
+ import { jsx as t, jsxs as a } from "react/jsx-runtime";
3
+ import l, { useEffect as p } from "react";
4
+ import { motion as n } from "framer-motion";
5
+ import d from "../../node_modules/lucide-react/dist/esm/icons/x.js";
6
+ import y from "../../node_modules/lucide-react/dist/esm/icons/file.js";
7
+ const b = l.forwardRef(
8
+ (e, r) => e.file.type.startsWith("image/") ? /* @__PURE__ */ t(m, { ...e, ref: r }) : e.file.type.startsWith("text/") || e.file.name.endsWith(".txt") || e.file.name.endsWith(".md") ? /* @__PURE__ */ t(u, { ...e, ref: r }) : /* @__PURE__ */ t(f, { ...e, ref: r })
9
9
  );
10
- y.displayName = "FilePreview";
11
- const o = i.forwardRef(
12
- ({ file: t, onRemove: r }, a) => /* @__PURE__ */ e.jsxs(
13
- s.div,
10
+ b.displayName = "FilePreview";
11
+ const m = l.forwardRef(
12
+ ({ file: e, onRemove: r }, i) => /* @__PURE__ */ a(
13
+ n.div,
14
14
  {
15
- ref: a,
15
+ ref: i,
16
16
  className: "relative flex max-w-[200px] rounded-md border p-1.5 pr-2 text-xs",
17
17
  layout: !0,
18
18
  initial: { opacity: 0, y: "100%" },
19
19
  animate: { opacity: 1, y: 0 },
20
20
  exit: { opacity: 0, y: "100%" },
21
21
  children: [
22
- /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center space-x-2", children: [
23
- /* @__PURE__ */ e.jsx(
22
+ /* @__PURE__ */ a("div", { className: "flex w-full items-center space-x-2", children: [
23
+ /* @__PURE__ */ t(
24
24
  "img",
25
25
  {
26
- alt: `Attachment ${t.name}`,
26
+ alt: `Attachment ${e.name}`,
27
27
  className: "grid h-10 w-10 shrink-0 place-items-center rounded-sm border bg-muted object-cover",
28
- src: URL.createObjectURL(t)
28
+ src: URL.createObjectURL(e)
29
29
  }
30
30
  ),
31
- /* @__PURE__ */ e.jsx("span", { className: "w-full truncate text-muted-foreground", children: t.name })
31
+ /* @__PURE__ */ t("span", { className: "w-full truncate text-muted-foreground", children: e.name })
32
32
  ] }),
33
- r ? /* @__PURE__ */ e.jsx(
33
+ r ? /* @__PURE__ */ t(
34
34
  "button",
35
35
  {
36
36
  className: "absolute -right-2 -top-2 flex h-4 w-4 items-center justify-center rounded-full border bg-background",
37
37
  type: "button",
38
38
  onClick: r,
39
39
  "aria-label": "Remove attachment",
40
- children: /* @__PURE__ */ e.jsx(l, { className: "h-2.5 w-2.5" })
40
+ children: /* @__PURE__ */ t(d, { className: "h-2.5 w-2.5" })
41
41
  }
42
42
  ) : null
43
43
  ]
44
44
  }
45
45
  )
46
46
  );
47
- o.displayName = "ImageFilePreview";
48
- const m = i.forwardRef(
49
- ({ file: t, onRemove: r }, a) => {
50
- const [x, f] = i.useState("");
47
+ m.displayName = "ImageFilePreview";
48
+ const u = l.forwardRef(
49
+ ({ file: e, onRemove: r }, i) => {
50
+ const [x, h] = l.useState("");
51
51
  return p(() => {
52
52
  if (typeof window > "u") return;
53
- const n = new FileReader();
54
- n.onload = (h) => {
55
- var c;
56
- const d = (c = h.target) == null ? void 0 : c.result;
57
- f(d.slice(0, 50) + (d.length > 50 ? "..." : ""));
58
- }, n.readAsText(t);
59
- }, [t]), /* @__PURE__ */ e.jsxs(
60
- s.div,
53
+ const c = new FileReader();
54
+ c.onload = (w) => {
55
+ var o;
56
+ const s = (o = w.target) == null ? void 0 : o.result;
57
+ h(s.slice(0, 50) + (s.length > 50 ? "..." : ""));
58
+ }, c.readAsText(e);
59
+ }, [e]), /* @__PURE__ */ a(
60
+ n.div,
61
61
  {
62
- ref: a,
62
+ ref: i,
63
63
  className: "relative flex max-w-[200px] rounded-md border p-1.5 pr-2 text-xs",
64
64
  layout: !0,
65
65
  initial: { opacity: 0, y: "100%" },
66
66
  animate: { opacity: 1, y: 0 },
67
67
  exit: { opacity: 0, y: "100%" },
68
68
  children: [
69
- /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center space-x-2", children: [
70
- /* @__PURE__ */ e.jsx("div", { className: "grid h-10 w-10 shrink-0 place-items-center rounded-sm border bg-muted p-0.5", children: /* @__PURE__ */ e.jsx("div", { className: "h-full w-full overflow-hidden text-[6px] leading-none text-muted-foreground", children: x || "Loading..." }) }),
71
- /* @__PURE__ */ e.jsx("span", { className: "w-full truncate text-muted-foreground", children: t.name })
69
+ /* @__PURE__ */ a("div", { className: "flex w-full items-center space-x-2", children: [
70
+ /* @__PURE__ */ t("div", { className: "grid h-10 w-10 shrink-0 place-items-center rounded-sm border bg-muted p-0.5", children: /* @__PURE__ */ t("div", { className: "h-full w-full overflow-hidden text-[6px] leading-none text-muted-foreground", children: x || "Loading..." }) }),
71
+ /* @__PURE__ */ t("span", { className: "w-full truncate text-muted-foreground", children: e.name })
72
72
  ] }),
73
- r ? /* @__PURE__ */ e.jsx(
73
+ r ? /* @__PURE__ */ t(
74
74
  "button",
75
75
  {
76
76
  className: "absolute -right-2 -top-2 flex h-4 w-4 items-center justify-center rounded-full border bg-background",
77
77
  type: "button",
78
78
  onClick: r,
79
79
  "aria-label": "Remove attachment",
80
- children: /* @__PURE__ */ e.jsx(l, { className: "h-2.5 w-2.5" })
80
+ children: /* @__PURE__ */ t(d, { className: "h-2.5 w-2.5" })
81
81
  }
82
82
  ) : null
83
83
  ]
@@ -85,37 +85,37 @@ const m = i.forwardRef(
85
85
  );
86
86
  }
87
87
  );
88
- m.displayName = "TextFilePreview";
89
- const u = i.forwardRef(
90
- ({ file: t, onRemove: r }, a) => /* @__PURE__ */ e.jsxs(
91
- s.div,
88
+ u.displayName = "TextFilePreview";
89
+ const f = l.forwardRef(
90
+ ({ file: e, onRemove: r }, i) => /* @__PURE__ */ a(
91
+ n.div,
92
92
  {
93
- ref: a,
93
+ ref: i,
94
94
  className: "relative flex max-w-[200px] rounded-md border p-1.5 pr-2 text-xs",
95
95
  layout: !0,
96
96
  initial: { opacity: 0, y: "100%" },
97
97
  animate: { opacity: 1, y: 0 },
98
98
  exit: { opacity: 0, y: "100%" },
99
99
  children: [
100
- /* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center space-x-2", children: [
101
- /* @__PURE__ */ e.jsx("div", { className: "grid h-10 w-10 shrink-0 place-items-center rounded-sm border bg-muted", children: /* @__PURE__ */ e.jsx(w, { className: "h-6 w-6 text-foreground" }) }),
102
- /* @__PURE__ */ e.jsx("span", { className: "w-full truncate text-muted-foreground", children: t.name })
100
+ /* @__PURE__ */ a("div", { className: "flex w-full items-center space-x-2", children: [
101
+ /* @__PURE__ */ t("div", { className: "grid h-10 w-10 shrink-0 place-items-center rounded-sm border bg-muted", children: /* @__PURE__ */ t(y, { className: "h-6 w-6 text-foreground" }) }),
102
+ /* @__PURE__ */ t("span", { className: "w-full truncate text-muted-foreground", children: e.name })
103
103
  ] }),
104
- r ? /* @__PURE__ */ e.jsx(
104
+ r ? /* @__PURE__ */ t(
105
105
  "button",
106
106
  {
107
107
  className: "absolute -right-2 -top-2 flex h-4 w-4 items-center justify-center rounded-full border bg-background",
108
108
  type: "button",
109
109
  onClick: r,
110
110
  "aria-label": "Remove attachment",
111
- children: /* @__PURE__ */ e.jsx(l, { className: "h-2.5 w-2.5" })
111
+ children: /* @__PURE__ */ t(d, { className: "h-2.5 w-2.5" })
112
112
  }
113
113
  ) : null
114
114
  ]
115
115
  }
116
116
  )
117
117
  );
118
- u.displayName = "GenericFilePreview";
118
+ f.displayName = "GenericFilePreview";
119
119
  export {
120
- y as FilePreview
120
+ b as FilePreview
121
121
  };
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { j as s } from "../../_virtual/jsx-runtime.js";
3
- import * as n from "react";
2
+ import { jsx as m } from "react/jsx-runtime";
3
+ import * as s from "react";
4
4
  import { Root as f } from "../../node_modules/@radix-ui/react-slot/dist/index.js";
5
- import { FormProvider as u, Controller as x, useFormContext as F, useFormState as I } from "../../node_modules/react-hook-form/dist/index.esm.js";
5
+ import { FormProvider as u, Controller as F, useFormContext as x, useFormState as I } from "../../node_modules/react-hook-form/dist/index.esm.js";
6
6
  import { cn as a } from "../../lib/utils.js";
7
- import { Label as p } from "./label.js";
8
- const b = u, c = n.createContext(
7
+ import { Label as g } from "./label.js";
8
+ const S = u, c = s.createContext(
9
9
  {}
10
- ), S = ({
10
+ ), $ = ({
11
11
  ...t
12
- }) => /* @__PURE__ */ s.jsx(c.Provider, { value: { name: t.name }, children: /* @__PURE__ */ s.jsx(x, { ...t }) }), d = () => {
13
- const t = n.useContext(c), o = n.useContext(l), { getFieldState: e } = F(), r = I({ name: t.name }), m = e(t.name, r);
12
+ }) => /* @__PURE__ */ m(c.Provider, { value: { name: t.name }, children: /* @__PURE__ */ m(F, { ...t }) }), d = () => {
13
+ const t = s.useContext(c), o = s.useContext(l), { getFieldState: e } = x(), r = I({ name: t.name }), n = e(t.name, r);
14
14
  if (!t)
15
15
  throw new Error("useFormField should be used within <FormField>");
16
16
  const { id: i } = o;
@@ -20,14 +20,14 @@ const b = u, c = n.createContext(
20
20
  formItemId: `${i}-form-item`,
21
21
  formDescriptionId: `${i}-form-item-description`,
22
22
  formMessageId: `${i}-form-item-message`,
23
- ...m
23
+ ...n
24
24
  };
25
- }, l = n.createContext(
25
+ }, l = s.createContext(
26
26
  {}
27
27
  );
28
- function $({ className: t, ...o }) {
29
- const e = n.useId();
30
- return /* @__PURE__ */ s.jsx(l.Provider, { value: { id: e }, children: /* @__PURE__ */ s.jsx(
28
+ function D({ className: t, ...o }) {
29
+ const e = s.useId();
30
+ return /* @__PURE__ */ m(l.Provider, { value: { id: e }, children: /* @__PURE__ */ m(
31
31
  "div",
32
32
  {
33
33
  "data-slot": "form-item",
@@ -36,13 +36,13 @@ function $({ className: t, ...o }) {
36
36
  }
37
37
  ) });
38
38
  }
39
- function D({
39
+ function M({
40
40
  className: t,
41
41
  ...o
42
42
  }) {
43
43
  const { error: e, formItemId: r } = d();
44
- return /* @__PURE__ */ s.jsx(
45
- p,
44
+ return /* @__PURE__ */ m(
45
+ g,
46
46
  {
47
47
  "data-slot": "form-label",
48
48
  "data-error": !!e,
@@ -52,22 +52,22 @@ function D({
52
52
  }
53
53
  );
54
54
  }
55
- function M({ ...t }) {
56
- const { error: o, formItemId: e, formDescriptionId: r, formMessageId: m } = d();
57
- return /* @__PURE__ */ s.jsx(
55
+ function N({ ...t }) {
56
+ const { error: o, formItemId: e, formDescriptionId: r, formMessageId: n } = d();
57
+ return /* @__PURE__ */ m(
58
58
  f,
59
59
  {
60
60
  "data-slot": "form-control",
61
61
  id: e,
62
- "aria-describedby": o ? `${r} ${m}` : `${r}`,
62
+ "aria-describedby": o ? `${r} ${n}` : `${r}`,
63
63
  "aria-invalid": !!o,
64
64
  ...t
65
65
  }
66
66
  );
67
67
  }
68
- function N({ className: t, ...o }) {
68
+ function w({ className: t, ...o }) {
69
69
  const { formDescriptionId: e } = d();
70
- return /* @__PURE__ */ s.jsx(
70
+ return /* @__PURE__ */ m(
71
71
  "p",
72
72
  {
73
73
  "data-slot": "form-description",
@@ -77,26 +77,26 @@ function N({ className: t, ...o }) {
77
77
  }
78
78
  );
79
79
  }
80
- function w({ className: t, ...o }) {
81
- const { error: e, formMessageId: r } = d(), m = e ? String((e == null ? void 0 : e.message) ?? "") : o.children;
82
- return m ? /* @__PURE__ */ s.jsx(
80
+ function P({ className: t, ...o }) {
81
+ const { error: e, formMessageId: r } = d(), n = e ? String((e == null ? void 0 : e.message) ?? "") : o.children;
82
+ return n ? /* @__PURE__ */ m(
83
83
  "p",
84
84
  {
85
85
  "data-slot": "form-message",
86
86
  id: r,
87
87
  className: a("text-destructive text-sm", t),
88
88
  ...o,
89
- children: m
89
+ children: n
90
90
  }
91
91
  ) : null;
92
92
  }
93
93
  export {
94
- b as Form,
95
- M as FormControl,
96
- N as FormDescription,
97
- S as FormField,
98
- $ as FormItem,
99
- D as FormLabel,
100
- w as FormMessage,
94
+ S as Form,
95
+ N as FormControl,
96
+ w as FormDescription,
97
+ $ as FormField,
98
+ D as FormItem,
99
+ M as FormLabel,
100
+ P as FormMessage,
101
101
  d as useFormField
102
102
  };