@code0-tech/pictor 1.1.0 → 1.1.1

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 (333) hide show
  1. package/dist/_virtual/rolldown_runtime.js +3 -12
  2. package/dist/components/alert/Alert.js +19 -20
  3. package/dist/components/aurora/Aurora.js +15 -16
  4. package/dist/components/avatar/Avatar.js +44 -44
  5. package/dist/components/badge/Badge.js +36 -37
  6. package/dist/components/button/Button.js +16 -17
  7. package/dist/components/button-group/ButtonGroup.js +15 -16
  8. package/dist/components/card/Card.js +21 -22
  9. package/dist/components/card/CardSection.js +15 -15
  10. package/dist/components/chart/Chart.js +82 -82
  11. package/dist/components/chart/LineChart.js +50 -51
  12. package/dist/components/col/Col.js +9 -10
  13. package/dist/components/command/Command.js +32 -33
  14. package/dist/components/container/Container.js +9 -10
  15. package/dist/components/context-menu/ContextMenu.js +76 -77
  16. package/dist/components/data-table/DataTableColumn.js +9 -10
  17. package/dist/components/data-table/DataTableFilterInput.js +83 -83
  18. package/dist/components/data-table/DataTableFilterSuggestionMenu.js +26 -27
  19. package/dist/components/data-table/DataTableHeader.js +20 -21
  20. package/dist/components/data-table/DataTablePagination.js +27 -28
  21. package/dist/components/dialog/Dialog.js +61 -62
  22. package/dist/components/file-tabs/FileTabs.js +51 -52
  23. package/dist/components/flex/Flex.js +9 -10
  24. package/dist/components/form/CheckboxInput.js +50 -51
  25. package/dist/components/form/ColorInput.js +242 -242
  26. package/dist/components/form/DateInput.js +55 -55
  27. package/dist/components/form/EditorInput.js +300 -300
  28. package/dist/components/form/FileInput.js +67 -68
  29. package/dist/components/form/InputDescription.js +3 -4
  30. package/dist/components/form/InputLabel.js +9 -10
  31. package/dist/components/form/InputMessage.js +6 -7
  32. package/dist/components/form/InputWrapper.js +37 -38
  33. package/dist/components/form/PasswordInput.js +2 -2
  34. package/dist/components/form/PinInput.js +30 -31
  35. package/dist/components/form/RadioGroup.js +22 -23
  36. package/dist/components/form/RadioInput.js +19 -20
  37. package/dist/components/form/SelectInput.js +55 -56
  38. package/dist/components/form/TagInput.js +44 -44
  39. package/dist/components/fullscreen/FullScreen.js +14 -15
  40. package/dist/components/gantt/Gantt.js +63 -64
  41. package/dist/components/gantt/GanttGroup.js +2 -2
  42. package/dist/components/gantt/GanttHeader.js +40 -41
  43. package/dist/components/gantt/GanttItem.js +11 -12
  44. package/dist/components/icon/Icon.js +22 -22
  45. package/dist/components/json-view/JsonView.js +37 -38
  46. package/dist/components/layout/Layout.js +64 -65
  47. package/dist/components/menu/Menu.js +91 -92
  48. package/dist/components/quote/Quote.js +29 -30
  49. package/dist/components/resizable/Resizable.js +22 -23
  50. package/dist/components/row/Row.js +9 -10
  51. package/dist/components/scroll-area/ScrollArea.js +46 -47
  52. package/dist/components/segmented-control/SegmentedControl.js +35 -35
  53. package/dist/components/spacing/Spacing.js +8 -9
  54. package/dist/components/tab/Tab.js +53 -53
  55. package/dist/components/text/Text.js +9 -10
  56. package/dist/components/toast/Toast.js +47 -47
  57. package/dist/components/tooltip/Tooltip.js +35 -36
  58. package/dist/utils/contextStore.js +31 -32
  59. package/dist/utils/motion.js +39 -40
  60. package/package.json +4 -4
  61. package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js +0 -6
  62. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -59
  63. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -51
  64. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -58
  65. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -18
  66. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -9
  67. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -4
  68. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -4
  69. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -8
  70. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -15
  71. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -4
  72. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -13
  73. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -4
  74. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -4
  75. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -6
  76. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -9
  77. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -256
  78. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -20
  79. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -57
  80. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -25
  81. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -18
  82. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -136
  83. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -40
  84. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -24
  85. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -37
  86. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -23
  87. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -7
  88. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -49
  89. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -13
  90. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -11
  91. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -59
  92. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -7
  93. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -11
  94. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
  95. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -22
  96. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -68
  97. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -2
  98. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -19
  99. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -56
  100. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -48
  101. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -5
  102. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -8
  103. package/dist/node_modules/framer-motion/dist/es/render/components/m/proxy.js +0 -3
  104. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -11
  105. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -5
  106. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -6
  107. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -19
  108. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -17
  109. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -5
  110. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -9
  111. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -24
  112. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -7
  113. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -28
  114. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -24
  115. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -9
  116. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -6
  117. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -6
  118. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -2
  119. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -2
  120. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -4
  121. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +0 -11
  122. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -23
  123. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -7
  124. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -5
  125. package/dist/node_modules/motion/dist/es/react.js +0 -196
  126. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -105
  127. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -127
  128. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -82
  129. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -26
  130. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -8
  131. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -11
  132. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -30
  133. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -20
  134. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -164
  135. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -7
  136. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -14
  137. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -4
  138. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -7
  139. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -43
  140. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -54
  141. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -24
  142. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -19
  143. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -59
  144. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -65
  145. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -6
  146. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -6
  147. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -10
  148. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -4
  149. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -4
  150. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -5
  151. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -16
  152. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -34
  153. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -3
  154. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -5
  155. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -20
  156. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -5
  157. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -16
  158. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -23
  159. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -25
  160. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
  161. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -3
  162. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -5
  163. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -17
  164. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -4
  165. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -14
  166. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -11
  167. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -2
  168. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -9
  169. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -33
  170. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -17
  171. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -22
  172. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -8
  173. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -6
  174. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -6
  175. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -6
  176. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -15
  177. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -4
  178. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -28
  179. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -4
  180. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -3
  181. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -11
  182. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -30
  183. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -13
  184. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -8
  185. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -9
  186. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -34
  187. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -34
  188. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -19
  189. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -26
  190. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -2
  191. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -2
  192. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -2
  193. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -14
  194. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -23
  195. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -37
  196. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -10
  197. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -41
  198. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -28
  199. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -27
  200. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -16
  201. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -26
  202. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -11
  203. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -20
  204. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -580
  205. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -5
  206. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -49
  207. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -11
  208. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -11
  209. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -15
  210. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -10
  211. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -2
  212. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -4
  213. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -17
  214. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -16
  215. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -10
  216. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -7
  217. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -201
  218. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -26
  219. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -2
  220. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -54
  221. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -5
  222. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -4
  223. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -37
  224. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -26
  225. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -34
  226. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -6
  227. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -9
  228. package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -2
  229. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -38
  230. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -20
  231. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -26
  232. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -2
  233. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -13
  234. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -7
  235. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -12
  236. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -133
  237. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -17
  238. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -4
  239. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -10
  240. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -6
  241. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -2
  242. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -4
  243. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -11
  244. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -20
  245. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -19
  246. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -9
  247. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -2
  248. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -6
  249. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -18
  250. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -17
  251. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -8
  252. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -10
  253. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -35
  254. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -20
  255. package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -6
  256. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +0 -5
  257. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +0 -7
  258. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -10
  259. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -31
  260. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -5
  261. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -5
  262. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -5
  263. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -28
  264. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -50
  265. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -4
  266. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -6
  267. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -2
  268. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -5
  269. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -12
  270. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -2
  271. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -10
  272. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -7
  273. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -3
  274. package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -90
  275. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -5
  276. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -17
  277. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -19
  278. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -10
  279. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -13
  280. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -13
  281. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -14
  282. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -24
  283. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -50
  284. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -12
  285. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -14
  286. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -6
  287. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -22
  288. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -62
  289. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -30
  290. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -13
  291. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -10
  292. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -2
  293. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -10
  294. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -2
  295. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -10
  296. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -2
  297. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -2
  298. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -4
  299. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -2
  300. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -2
  301. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -2
  302. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -5
  303. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -11
  304. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -5
  305. package/dist/node_modules/motion-utils/dist/es/array.js +0 -8
  306. package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -2
  307. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -3
  308. package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -5
  309. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -4
  310. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -16
  311. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -3
  312. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -2
  313. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -2
  314. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -2
  315. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -2
  316. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -29
  317. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -8
  318. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -4
  319. package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -2
  320. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -2
  321. package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -2
  322. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -2
  323. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -6
  324. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -2
  325. package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -2
  326. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -5
  327. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -24
  328. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -2
  329. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -2
  330. package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -6
  331. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +0 -21
  332. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +0 -18
  333. package/dist/node_modules/react/compiler-runtime.js +0 -8
@@ -1,18 +1,9 @@
1
- var __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __hasOwnProp = Object.prototype.hasOwnProperty, __esmMin = (e, t) => () => (e && (t = e(e = 0)), t), __commonJSMin = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), __export = (t, n) => {
1
+ var __defProp = Object.defineProperty, __export = (t, n) => {
2
2
  let r = {};
3
3
  for (var i in t) __defProp(r, i, {
4
4
  get: t[i],
5
5
  enumerable: !0
6
6
  });
7
7
  return n && __defProp(r, Symbol.toStringTag, { value: "Module" }), r;
8
- }, __copyProps = (i, a, o, s) => {
9
- if (a && typeof a == "object" || typeof a == "function") for (var c = __getOwnPropNames(a), l = 0, u = c.length, d; l < u; l++) d = c[l], !__hasOwnProp.call(i, d) && d !== o && __defProp(i, d, {
10
- get: ((e) => a[e]).bind(null, d),
11
- enumerable: !(s = __getOwnPropDesc(a, d)) || s.enumerable
12
- });
13
- return i;
14
- }, __toCommonJS = (t) => __hasOwnProp.call(t, "module.exports") ? t["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: !0 }), t), __require = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
15
- if (typeof require < "u") return require.apply(this, arguments);
16
- throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function.");
17
- });
18
- export { __commonJSMin, __esmMin, __export, __require, __toCommonJS };
8
+ };
9
+ export { __export };
@@ -1,18 +1,17 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
2
  import "../../utils/index.js";
4
3
  import '../../assets/Alert.style.css';/* empty css */
4
+ import { c } from "react/compiler-runtime";
5
5
  import React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { IconAlertCircle, IconCircleCheck, IconCircleDot, IconCircleX, IconInfoCircle } from "@tabler/icons-react";
8
- var import_compiler_runtime = require_compiler_runtime();
9
- const Alert = (e) => {
10
- let c = (0, import_compiler_runtime.c)(14), d, f, p, m, h, g;
11
- if (c[0] !== e) {
12
- let { color: l, children: u, ..._ } = e;
13
- d = u, f = l === void 0 ? "secondary" : l;
14
- let v;
15
- c[7] === Symbol.for("react.memo_cache_sentinel") ? (v = {
8
+ const Alert = (l) => {
9
+ let d = c(14), f, p, m, h, g, _;
10
+ if (d[0] !== l) {
11
+ let { color: s, children: u, ...v } = l;
12
+ f = u, p = s === void 0 ? "secondary" : s;
13
+ let y;
14
+ d[7] === Symbol.for("react.memo_cache_sentinel") ? (y = {
16
15
  primary: /* @__PURE__ */ jsx(IconCircleDot, { size: 16 }),
17
16
  secondary: /* @__PURE__ */ jsx(IconCircleDot, { size: 16 }),
18
17
  tertiary: /* @__PURE__ */ jsx(IconCircleDot, { size: 16 }),
@@ -20,16 +19,16 @@ const Alert = (e) => {
20
19
  success: /* @__PURE__ */ jsx(IconCircleCheck, { size: 16 }),
21
20
  warning: /* @__PURE__ */ jsx(IconAlertCircle, { size: 16 }),
22
21
  error: /* @__PURE__ */ jsx(IconCircleX, { size: 16 })
23
- }, c[7] = v) : v = c[7], p = v;
24
- let y = f === "error";
25
- m = y ? "alert" : "status", h = y ? "assertive" : "polite", g = mergeComponentProps(`alert alert--${f}`, _), c[0] = e, c[1] = d, c[2] = f, c[3] = p, c[4] = m, c[5] = h, c[6] = g;
26
- } else d = c[1], f = c[2], p = c[3], m = c[4], h = c[5], g = c[6];
27
- let _ = p[f], v;
28
- return c[8] !== d || c[9] !== m || c[10] !== h || c[11] !== g || c[12] !== _ ? (v = /* @__PURE__ */ jsxs("div", {
29
- role: m,
30
- "aria-live": h,
31
- ...g,
32
- children: [_, d]
33
- }), c[8] = d, c[9] = m, c[10] = h, c[11] = g, c[12] = _, c[13] = v) : v = c[13], v;
22
+ }, d[7] = y) : y = d[7], m = y;
23
+ let b = p === "error";
24
+ h = b ? "alert" : "status", g = b ? "assertive" : "polite", _ = mergeComponentProps(`alert alert--${p}`, v), d[0] = l, d[1] = f, d[2] = p, d[3] = m, d[4] = h, d[5] = g, d[6] = _;
25
+ } else f = d[1], p = d[2], m = d[3], h = d[4], g = d[5], _ = d[6];
26
+ let v = m[p], y;
27
+ return d[8] !== f || d[9] !== h || d[10] !== g || d[11] !== _ || d[12] !== v ? (y = /* @__PURE__ */ jsxs("div", {
28
+ role: h,
29
+ "aria-live": g,
30
+ ..._,
31
+ children: [v, f]
32
+ }), d[8] = f, d[9] = h, d[10] = g, d[11] = _, d[12] = v, d[13] = y) : y = d[13], y;
34
33
  };
35
34
  export { Alert };
@@ -1,28 +1,27 @@
1
1
  "use client";
2
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
3
2
  import '../../assets/Aurora.style.css';/* empty css */
3
+ import { c } from "react/compiler-runtime";
4
4
  import React from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
- var import_compiler_runtime = require_compiler_runtime();
7
- const AuroraBackground = (e) => {
8
- let r = (0, import_compiler_runtime.c)(11), i, a, o;
9
- r[0] === e ? (i = r[1], a = r[2], o = r[3]) : ({className: i, showRadialGradient: o, ...a} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o);
10
- let s = (o === void 0 ? !0 : o) && "aurora-background--radial-mask", c;
11
- r[4] !== i || r[5] !== s ? (c = [
6
+ const AuroraBackground = (n) => {
7
+ let r = c(11), i, a, o;
8
+ r[0] === n ? (i = r[1], a = r[2], o = r[3]) : ({className: i, showRadialGradient: o, ...a} = n, r[0] = n, r[1] = i, r[2] = a, r[3] = o);
9
+ let s = (o === void 0 ? !0 : o) && "aurora-background--radial-mask", l;
10
+ r[4] !== i || r[5] !== s ? (l = [
12
11
  "aurora-background",
13
12
  s,
14
13
  i
15
- ].filter(Boolean), r[4] = i, r[5] = s, r[6] = c) : c = r[6];
16
- let l = c.join(" "), u;
17
- r[7] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ jsx("div", {
14
+ ].filter(Boolean), r[4] = i, r[5] = s, r[6] = l) : l = r[6];
15
+ let u = l.join(" "), d;
16
+ r[7] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ jsx("div", {
18
17
  className: "aurora-background__overlay",
19
18
  children: /* @__PURE__ */ jsx("div", { className: "aurora-background__aurora" })
20
- }), r[7] = u) : u = r[7];
21
- let d;
22
- return r[8] !== a || r[9] !== l ? (d = /* @__PURE__ */ jsx("div", {
23
- className: l,
19
+ }), r[7] = d) : d = r[7];
20
+ let f;
21
+ return r[8] !== a || r[9] !== u ? (f = /* @__PURE__ */ jsx("div", {
22
+ className: u,
24
23
  ...a,
25
- children: u
26
- }), r[8] = a, r[9] = l, r[10] = d) : d = r[10], d;
24
+ children: d
25
+ }), r[8] = a, r[9] = u, r[10] = f) : f = r[10], f;
27
26
  };
28
27
  export { AuroraBackground };
@@ -1,59 +1,59 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
2
  import { hashToColor } from "../../utils/color.js";
4
3
  import "../../utils/index.js";
5
4
  import '../../assets/Avatar.style.css';/* empty css */
5
+ import { c } from "react/compiler-runtime";
6
6
  import React from "react";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  import Identicon from "avvvatars-react";
9
- var import_compiler_runtime = require_compiler_runtime(), AvatarImage = (e) => {
10
- let t = (0, import_compiler_runtime.c)(3), { src: n, size: r } = e, a;
11
- return t[0] !== r || t[1] !== n ? (a = /* @__PURE__ */ jsx("img", {
12
- src: n,
13
- width: r,
14
- height: r,
9
+ var AvatarImage = (e) => {
10
+ let t = c(3), { src: r, size: a } = e, o;
11
+ return t[0] !== a || t[1] !== r ? (o = /* @__PURE__ */ jsx("img", {
12
+ src: r,
13
+ width: a,
14
+ height: a,
15
15
  alt: "Avatar image"
16
- }), t[0] = r, t[1] = n, t[2] = a) : a = t[2], a;
16
+ }), t[0] = a, t[1] = r, t[2] = o) : o = t[2], o;
17
17
  }, AvatarIdenticon = (e) => {
18
- let t = (0, import_compiler_runtime.c)(13), { identifier: r, size: s, color: c, type: l } = e, u;
19
- t[0] !== c || t[1] !== r ? (u = c ?? hashToColor(r), t[0] = c, t[1] = r, t[2] = u) : u = t[2];
20
- let d;
21
- t[3] !== s || t[4] !== u ? (d = {
22
- "--color": u,
18
+ let r = c(13), { identifier: o, size: s, color: l, type: u } = e, d;
19
+ r[0] !== l || r[1] !== o ? (d = l ?? hashToColor(o), r[0] = l, r[1] = o, r[2] = d) : d = r[2];
20
+ let f;
21
+ r[3] !== s || r[4] !== d ? (f = {
22
+ "--color": d,
23
23
  "--size": s
24
- }, t[3] = s, t[4] = u, t[5] = d) : d = t[5];
25
- let f = d, p = l ?? "shape", m;
26
- t[6] !== r || t[7] !== s || t[8] !== p ? (m = /* @__PURE__ */ jsx(Identicon, {
27
- style: p,
28
- value: r,
24
+ }, r[3] = s, r[4] = d, r[5] = f) : f = r[5];
25
+ let p = f, m = u ?? "shape", h;
26
+ r[6] !== o || r[7] !== s || r[8] !== m ? (h = /* @__PURE__ */ jsx(Identicon, {
27
+ style: m,
28
+ value: o,
29
29
  size: s
30
- }), t[6] = r, t[7] = s, t[8] = p, t[9] = m) : m = t[9];
31
- let h;
32
- return t[10] !== f || t[11] !== m ? (h = /* @__PURE__ */ jsx("div", {
33
- style: f,
34
- children: m
35
- }), t[10] = f, t[11] = m, t[12] = h) : h = t[12], h;
30
+ }), r[6] = o, r[7] = s, r[8] = m, r[9] = h) : h = r[9];
31
+ let g;
32
+ return r[10] !== p || r[11] !== h ? (g = /* @__PURE__ */ jsx("div", {
33
+ style: p,
34
+ children: h
35
+ }), r[10] = p, r[11] = h, r[12] = g) : g = r[12], g;
36
36
  };
37
- const Avatar = (e) => {
38
- let n = (0, import_compiler_runtime.c)(16), r, a, l, u, d, f;
39
- if (n[0] !== e) {
40
- let { identifier: i, color: o, src: s, size: c, type: p, ...m } = e;
41
- a = i, r = o, u = s, f = p, l = c === void 0 ? 32 : c, d = mergeComponentProps(`avatar ${!a && u ? "avatar--image" : "avatar--identicon"}`, m), n[0] = e, n[1] = r, n[2] = a, n[3] = l, n[4] = u, n[5] = d, n[6] = f;
42
- } else r = n[1], a = n[2], l = n[3], u = n[4], d = n[5], f = n[6];
43
- let p;
44
- n[7] !== r || n[8] !== a || n[9] !== l || n[10] !== u || n[11] !== f ? (p = a ? /* @__PURE__ */ jsx(AvatarIdenticon, {
45
- type: f,
46
- color: r,
47
- identifier: a,
48
- size: l
49
- }) : u ? /* @__PURE__ */ jsx(AvatarImage, {
50
- src: u,
51
- size: l
52
- }) : null, n[7] = r, n[8] = a, n[9] = l, n[10] = u, n[11] = f, n[12] = p) : p = n[12];
37
+ const Avatar = (t) => {
38
+ let r = c(16), a, l, u, d, f, p;
39
+ if (r[0] !== t) {
40
+ let { identifier: n, color: i, src: o, size: s, type: m, ...h } = t;
41
+ l = n, a = i, d = o, p = m, u = s === void 0 ? 32 : s, f = mergeComponentProps(`avatar ${!l && d ? "avatar--image" : "avatar--identicon"}`, h), r[0] = t, r[1] = a, r[2] = l, r[3] = u, r[4] = d, r[5] = f, r[6] = p;
42
+ } else a = r[1], l = r[2], u = r[3], d = r[4], f = r[5], p = r[6];
53
43
  let m;
54
- return n[13] !== d || n[14] !== p ? (m = /* @__PURE__ */ jsx("div", {
55
- ...d,
56
- children: p
57
- }), n[13] = d, n[14] = p, n[15] = m) : m = n[15], m;
44
+ r[7] !== a || r[8] !== l || r[9] !== u || r[10] !== d || r[11] !== p ? (m = l ? /* @__PURE__ */ jsx(AvatarIdenticon, {
45
+ type: p,
46
+ color: a,
47
+ identifier: l,
48
+ size: u
49
+ }) : d ? /* @__PURE__ */ jsx(AvatarImage, {
50
+ src: d,
51
+ size: u
52
+ }) : null, r[7] = a, r[8] = l, r[9] = u, r[10] = d, r[11] = p, r[12] = m) : m = r[12];
53
+ let h;
54
+ return r[13] !== f || r[14] !== m ? (h = /* @__PURE__ */ jsx("div", {
55
+ ...f,
56
+ children: m
57
+ }), r[13] = f, r[14] = m, r[15] = h) : h = r[15], h;
58
58
  };
59
59
  export { Avatar };
@@ -1,31 +1,30 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
2
  import "../../utils/index.js";
4
3
  import '../../assets/Badge.style.css';/* empty css */
4
+ import { c } from "react/compiler-runtime";
5
5
  import React from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
- var import_compiler_runtime = require_compiler_runtime();
8
- const Badge = (e) => {
9
- let i = (0, import_compiler_runtime.c)(6), s, c;
10
- if (i[0] !== e) {
11
- let { color: a, border: o, children: l, ...u } = e;
12
- s = l;
13
- let d = a === void 0 ? "primary" : a;
14
- c = mergeComponentProps(`badge badge--${d} ${o !== void 0 && o ? "" : "badge--border"}`, {
15
- ...u,
7
+ const Badge = (r) => {
8
+ let a = c(6), o, s;
9
+ if (a[0] !== r) {
10
+ let { color: n, border: i, children: u, ...d } = r;
11
+ o = u;
12
+ let f = n === void 0 ? "primary" : n;
13
+ s = mergeComponentProps(`badge badge--${f} ${i !== void 0 && i ? "" : "badge--border"}`, {
14
+ ...d,
16
15
  style: {
17
- ...u.style,
18
- "--badge-color-background": mixColorRgb(d, 9),
19
- "--badge-color-border": withAlpha(d, .1),
20
- "--badge-color": withAlpha(d, .75)
16
+ ...d.style,
17
+ "--badge-color-background": mixColorRgb(f, 9),
18
+ "--badge-color-border": withAlpha(f, .1),
19
+ "--badge-color": withAlpha(f, .75)
21
20
  }
22
- }), i[0] = e, i[1] = s, i[2] = c;
23
- } else s = i[1], c = i[2];
24
- let l;
25
- return i[3] !== s || i[4] !== c ? (l = /* @__PURE__ */ jsx("span", {
26
- ...c,
27
- children: s
28
- }), i[3] = s, i[4] = c, i[5] = l) : l = i[5], l;
21
+ }), a[0] = r, a[1] = o, a[2] = s;
22
+ } else o = a[1], s = a[2];
23
+ let u;
24
+ return a[3] !== o || a[4] !== s ? (u = /* @__PURE__ */ jsx("span", {
25
+ ...s,
26
+ children: o
27
+ }), a[3] = o, a[4] = s, a[5] = u) : u = a[5], u;
29
28
  };
30
29
  var clamp01 = (e) => Math.min(Math.max(e, 0), 1), parseCssColorToRgba = (e) => {
31
30
  if (typeof document > "u") return {
@@ -34,27 +33,27 @@ var clamp01 = (e) => Math.min(Math.max(e, 0), 1), parseCssColorToRgba = (e) => {
34
33
  b: 0,
35
34
  a: 1
36
35
  };
37
- let r = document.createElement("span");
38
- r.style.color = e, document.body.appendChild(r);
39
- let i = getComputedStyle(r).color;
40
- document.body.removeChild(r);
41
- let a = i.match(/rgba?\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)(?:\s*,\s*([\d.]+))?\s*\)/);
42
- return a ? {
43
- r: Math.round(Number(a[1])),
44
- g: Math.round(Number(a[2])),
45
- b: Math.round(Number(a[3])),
46
- a: a[4] === void 0 ? 1 : Number(a[4])
36
+ let n = document.createElement("span");
37
+ n.style.color = e, document.body.appendChild(n);
38
+ let r = getComputedStyle(n).color;
39
+ document.body.removeChild(n);
40
+ let i = r.match(/rgba?\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)(?:\s*,\s*([\d.]+))?\s*\)/);
41
+ return i ? {
42
+ r: Math.round(Number(i[1])),
43
+ g: Math.round(Number(i[2])),
44
+ b: Math.round(Number(i[3])),
45
+ a: i[4] === void 0 ? 1 : Number(i[4])
47
46
  } : {
48
47
  r: 0,
49
48
  g: 0,
50
49
  b: 0,
51
50
  a: 1
52
51
  };
53
- }, mixColorRgb = (e, r) => {
54
- let i = clamp01(r * .1), a = parseCssColorToRgba(e), o = parseCssColorToRgba("#070514"), s = (e, r) => Math.round(e * (1 - i) + r * i);
55
- return `rgb(${s(a.r, o.r)}, ${s(a.g, o.g)}, ${s(a.b, o.b)})`;
56
- }, withAlpha = (e, r) => {
57
- let i = parseCssColorToRgba(e);
58
- return `rgba(${i.r}, ${i.g}, ${i.b}, ${clamp01(r)})`;
52
+ }, mixColorRgb = (e, n) => {
53
+ let r = clamp01(n * .1), i = parseCssColorToRgba(e), a = parseCssColorToRgba("#070514"), l = (e, n) => Math.round(e * (1 - r) + n * r);
54
+ return `rgb(${l(i.r, a.r)}, ${l(i.g, a.g)}, ${l(i.b, a.b)})`;
55
+ }, withAlpha = (e, n) => {
56
+ let r = parseCssColorToRgba(e);
57
+ return `rgba(${r.r}, ${r.g}, ${r.b}, ${clamp01(n)})`;
59
58
  };
60
59
  export { Badge };
@@ -1,25 +1,24 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
2
  import "../../utils/index.js";
4
3
  import '../../assets/Button.style.css';/* empty css */
4
+ import { c } from "react/compiler-runtime";
5
5
  import React from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
- var import_compiler_runtime = require_compiler_runtime();
8
- const Button = React.forwardRef((e, n) => {
9
- let a = (0, import_compiler_runtime.c)(13), o, s, c, l, u;
10
- if (a[0] !== e || a[1] !== n) {
11
- let { children: r, variant: i, color: d, paddingSize: f, active: p, disabled: m, ...h } = e;
12
- o = r;
13
- let g = i === void 0 ? "normal" : i, _ = d === void 0 ? "secondary" : d, v = f === void 0 ? "xs" : f, y = p === void 0 ? !1 : p;
14
- s = m === void 0 ? !1 : m, c = n, l = "button", u = mergeComponentProps(`button button--${_} ${y ? "button--active" : ""} ${s ? "button--disabled" : ""} button--${g} button--${v}`, h), a[0] = e, a[1] = n, a[2] = o, a[3] = s, a[4] = c, a[5] = l, a[6] = u;
15
- } else o = a[2], s = a[3], c = a[4], l = a[5], u = a[6];
16
- let d = s ? "true" : "false", f;
17
- return a[7] !== o || a[8] !== c || a[9] !== l || a[10] !== u || a[11] !== d ? (f = /* @__PURE__ */ jsx("button", {
18
- ref: c,
19
- type: l,
20
- ...u,
21
- "aria-disabled": d,
7
+ const Button = React.forwardRef((n, i) => {
8
+ let a = c(13), o, s, l, u, d;
9
+ if (a[0] !== n || a[1] !== i) {
10
+ let { children: t, variant: r, color: f, paddingSize: p, active: m, disabled: h, ...g } = n;
11
+ o = t;
12
+ let _ = r === void 0 ? "normal" : r, v = f === void 0 ? "secondary" : f, y = p === void 0 ? "xs" : p, b = m === void 0 ? !1 : m;
13
+ s = h === void 0 ? !1 : h, l = i, u = "button", d = mergeComponentProps(`button button--${v} ${b ? "button--active" : ""} ${s ? "button--disabled" : ""} button--${_} button--${y}`, g), a[0] = n, a[1] = i, a[2] = o, a[3] = s, a[4] = l, a[5] = u, a[6] = d;
14
+ } else o = a[2], s = a[3], l = a[4], u = a[5], d = a[6];
15
+ let f = s ? "true" : "false", p;
16
+ return a[7] !== o || a[8] !== l || a[9] !== u || a[10] !== d || a[11] !== f ? (p = /* @__PURE__ */ jsx("button", {
17
+ ref: l,
18
+ type: u,
19
+ ...d,
20
+ "aria-disabled": f,
22
21
  children: o
23
- }), a[7] = o, a[8] = c, a[9] = l, a[10] = u, a[11] = d, a[12] = f) : f = a[12], f;
22
+ }), a[7] = o, a[8] = l, a[9] = u, a[10] = d, a[11] = f, a[12] = p) : p = a[12], p;
24
23
  });
25
24
  export { Button };
@@ -1,29 +1,28 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
2
  import "../../utils/index.js";
4
3
  import '../../assets/ButtonGroup.style.css';/* empty css */
4
+ import { c } from "react/compiler-runtime";
5
5
  import React from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
- var import_compiler_runtime = require_compiler_runtime();
8
- const ButtonGroup = (e) => {
9
- let o = (0, import_compiler_runtime.c)(8), s, c;
10
- if (o[0] !== e) {
11
- let { children: a, color: l, ...u } = e, d = l === void 0 ? "secondary" : l, f = React.Children.toArray(a).filter(_temp), p = f.length;
12
- s = mergeComponentProps(`button-group button-group--${d}`, u);
13
- let m;
14
- o[3] === p ? m = o[4] : (m = (e, r) => {
7
+ const ButtonGroup = (a) => {
8
+ let o = c(8), s, l;
9
+ if (o[0] !== a) {
10
+ let { children: r, color: u, ...d } = a, f = u === void 0 ? "secondary" : u, p = React.Children.toArray(r).filter(_temp), m = p.length;
11
+ s = mergeComponentProps(`button-group button-group--${f}`, d);
12
+ let h;
13
+ o[3] === m ? h = o[4] : (h = (e, r) => {
15
14
  let i = "button-group__item";
16
- return r === p - 1 ? i = "button-group__last" : r === 0 && (i = "button-group__first"), /* @__PURE__ */ jsx("div", {
15
+ return r === m - 1 ? i = "button-group__last" : r === 0 && (i = "button-group__first"), /* @__PURE__ */ jsx("div", {
17
16
  className: i,
18
17
  children: e
19
18
  }, `button-group-${r}`);
20
- }, o[3] = p, o[4] = m), c = f.map(m), o[0] = e, o[1] = s, o[2] = c;
21
- } else s = o[1], c = o[2];
22
- let l;
23
- return o[5] !== s || o[6] !== c ? (l = /* @__PURE__ */ jsx("div", {
19
+ }, o[3] = m, o[4] = h), l = p.map(h), o[0] = a, o[1] = s, o[2] = l;
20
+ } else s = o[1], l = o[2];
21
+ let u;
22
+ return o[5] !== s || o[6] !== l ? (u = /* @__PURE__ */ jsx("div", {
24
23
  ...s,
25
- children: c
26
- }), o[5] = s, o[6] = c, o[7] = l) : l = o[7], l;
24
+ children: l
25
+ }), o[5] = s, o[6] = l, o[7] = u) : u = o[7], u;
27
26
  };
28
27
  function _temp(e) {
29
28
  return e != null;
@@ -1,33 +1,32 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
2
  import "../../utils/index.js";
4
3
  import '../../assets/Card.style.css';/* empty css */
4
+ import { c } from "react/compiler-runtime";
5
5
  import React from "react";
6
- import { Fragment as Fragment$1, jsx } from "react/jsx-runtime";
7
- var import_compiler_runtime = require_compiler_runtime();
8
- const Card = (e) => {
9
- let n = (0, import_compiler_runtime.c)(6), o, s;
10
- if (n[0] !== e) {
11
- let { children: r, color: i, variant: a, gradient: c, gradientColor: l, borderColor: u, outlineColor: d, outline: f, dashed: p, clickable: m, paddingSize: h, ...g } = e;
12
- o = r;
13
- let _ = i === void 0 ? "primary" : i, v = a === void 0 ? "normal" : a, y = c === void 0 ? !1 : c, b = l === void 0 ? "secondary" : l, x = u === void 0 ? "secondary" : u, S = d === void 0 ? "secondary" : d, C = f === void 0 ? !1 : f, w = p === void 0 ? !1 : p, T = m === void 0 ? !1 : m;
6
+ import { Fragment, jsx } from "react/jsx-runtime";
7
+ const Card = (n) => {
8
+ let a = c(6), o, s;
9
+ if (a[0] !== n) {
10
+ let { children: t, color: r, variant: i, gradient: l, gradientColor: u, borderColor: d, outlineColor: f, outline: p, dashed: m, clickable: h, paddingSize: g, ..._ } = n;
11
+ o = t;
12
+ let v = r === void 0 ? "primary" : r, y = i === void 0 ? "normal" : i, b = l === void 0 ? !1 : l, x = u === void 0 ? "secondary" : u, S = d === void 0 ? "secondary" : d, C = f === void 0 ? "secondary" : f, w = p === void 0 ? !1 : p, T = m === void 0 ? !1 : m, E = h === void 0 ? !1 : h;
14
13
  s = mergeComponentProps(`
15
14
  card
16
- card--${_} card--${v}
17
- card--${h === void 0 ? "xl" : h}
18
- ${C ? `card--outline-${S}` : ""}
19
- ${y ? "card--gradient" : ""}
20
- ${x ? `card--border-${x}` : ""}
21
- ${w ? "card--border--dashed" : ""}
22
- ${y ? `card--gradient-${b}` : ""}
23
- ${T ? "card--clickable" : ""}
15
+ card--${v} card--${y}
16
+ card--${g === void 0 ? "xl" : g}
17
+ ${w ? `card--outline-${C}` : ""}
18
+ ${b ? "card--gradient" : ""}
19
+ ${S ? `card--border-${S}` : ""}
20
+ ${T ? "card--border--dashed" : ""}
21
+ ${b ? `card--gradient-${x}` : ""}
22
+ ${E ? "card--clickable" : ""}
24
23
 
25
- `, g), n[0] = e, n[1] = o, n[2] = s;
26
- } else o = n[1], s = n[2];
27
- let c;
28
- return n[3] !== o || n[4] !== s ? (c = /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx("div", {
24
+ `, _), a[0] = n, a[1] = o, a[2] = s;
25
+ } else o = a[1], s = a[2];
26
+ let l;
27
+ return a[3] !== o || a[4] !== s ? (l = /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("div", {
29
28
  ...s,
30
29
  children: o
31
- }) }), n[3] = o, n[4] = s, n[5] = c) : c = n[5], c;
30
+ }) }), a[3] = o, a[4] = s, a[5] = l) : l = a[5], l;
32
31
  };
33
32
  export { Card };
@@ -1,23 +1,23 @@
1
- import { require_compiler_runtime } from "../../node_modules/react/compiler-runtime.js";
2
1
  import { mergeComponentProps } from "../../utils/component.js";
3
2
  import "../../utils/index.js";
3
+ import { c } from "react/compiler-runtime";
4
4
  import React from "react";
5
- import { Fragment as Fragment$1, jsx } from "react/jsx-runtime";
6
- var import_compiler_runtime = require_compiler_runtime(), CardSection_default = (e) => {
7
- let n = (0, import_compiler_runtime.c)(6), o, s;
8
- if (n[0] !== e) {
9
- let { image: r, border: i, hover: a, children: c, ...l } = e;
10
- o = c, s = mergeComponentProps(`
5
+ import { Fragment, jsx } from "react/jsx-runtime";
6
+ var CardSection_default = (n) => {
7
+ let a = c(6), o, s;
8
+ if (a[0] !== n) {
9
+ let { image: t, border: r, hover: i, children: l, ...u } = n;
10
+ o = l, s = mergeComponentProps(`
11
11
  card__section
12
- ${i !== void 0 && i ? "card__section--border" : ""}
13
- ${r !== void 0 && r ? "card__section--image" : ""}
14
- ${a !== void 0 && a ? "card__section--hover" : ""}
15
- `, l), n[0] = e, n[1] = o, n[2] = s;
16
- } else o = n[1], s = n[2];
17
- let c;
18
- return n[3] !== o || n[4] !== s ? (c = /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx("div", {
12
+ ${r !== void 0 && r ? "card__section--border" : ""}
13
+ ${t !== void 0 && t ? "card__section--image" : ""}
14
+ ${i !== void 0 && i ? "card__section--hover" : ""}
15
+ `, u), a[0] = n, a[1] = o, a[2] = s;
16
+ } else o = a[1], s = a[2];
17
+ let l;
18
+ return a[3] !== o || a[4] !== s ? (l = /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("div", {
19
19
  ...s,
20
20
  children: o
21
- }) }), n[3] = o, n[4] = s, n[5] = c) : c = n[5], c;
21
+ }) }), a[3] = o, a[4] = s, a[5] = l) : l = a[5], l;
22
22
  };
23
23
  export { CardSection_default as default };