@pibit.ai/cure-design-system 0.3.6 → 0.3.7

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 (299) hide show
  1. package/dist/foundations/dot-icon/index.d.ts +7 -0
  2. package/dist/foundations/dot-icon/index.d.ts.map +1 -0
  3. package/dist/foundations/dot-icon/index.js +10 -0
  4. package/dist/index.d.ts +3 -3
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +42 -40
  7. package/dist/patterns/table/table.js +1 -1
  8. package/dist/patterns/tree-view/index.d.ts +2 -0
  9. package/dist/patterns/tree-view/index.d.ts.map +1 -0
  10. package/dist/patterns/tree-view/tree-view.d.ts +61 -0
  11. package/dist/patterns/tree-view/tree-view.d.ts.map +1 -0
  12. package/dist/patterns/tree-view/tree-view.js +167 -0
  13. package/dist/primitives/badge/badge-types.d.ts +17 -0
  14. package/dist/primitives/badge/badge-types.d.ts.map +1 -0
  15. package/dist/primitives/badge/badge-types.js +8 -0
  16. package/dist/primitives/badge/badge.d.ts +115 -22
  17. package/dist/primitives/badge/badge.d.ts.map +1 -1
  18. package/dist/primitives/badge/badge.js +292 -38
  19. package/dist/primitives/badge/index.d.ts +2 -1
  20. package/dist/primitives/badge/index.d.ts.map +1 -1
  21. package/dist/primitives/heading/heading.d.ts +1 -1
  22. package/dist/primitives/text/text.d.ts +1 -1
  23. package/dist/styles/components.css +1 -1
  24. package/package.json +2 -1
  25. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -59
  26. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -34
  27. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
  28. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
  29. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
  30. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
  31. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
  32. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
  33. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
  34. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
  35. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
  36. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
  37. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
  38. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
  39. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -14
  40. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -277
  41. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -22
  42. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -67
  43. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
  44. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -21
  45. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -131
  46. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -43
  47. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
  48. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
  49. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
  50. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
  51. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -39
  52. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
  53. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
  54. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -60
  55. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
  56. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -14
  57. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
  58. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
  59. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -63
  60. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
  61. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -22
  62. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -66
  63. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
  64. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
  65. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
  66. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -13
  67. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
  68. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
  69. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -16
  70. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
  71. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
  72. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -10
  73. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
  74. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
  75. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
  76. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
  77. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -10
  78. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
  79. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
  80. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
  81. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
  82. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
  83. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -28
  84. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
  85. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
  86. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -106
  87. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -133
  88. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -109
  89. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -37
  90. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -10
  91. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -17
  92. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -37
  93. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -30
  94. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +0 -32
  95. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +0 -52
  96. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +0 -98
  97. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
  98. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -13
  99. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
  100. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -9
  101. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -46
  102. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -49
  103. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -30
  104. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -22
  105. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -69
  106. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -75
  107. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -8
  108. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -8
  109. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -12
  110. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -6
  111. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -7
  112. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -7
  113. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -16
  114. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -31
  115. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
  116. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
  117. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -27
  118. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -7
  119. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -23
  120. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -31
  121. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -22
  122. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-final-keyframe.js +0 -8
  123. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
  124. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
  125. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
  126. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -6
  127. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -6
  128. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -16
  129. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -4
  130. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -12
  131. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -15
  132. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -21
  133. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -24
  134. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -8
  135. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
  136. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -17
  137. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -6
  138. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
  139. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -9
  140. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
  141. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -21
  142. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
  143. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -15
  144. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
  145. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
  146. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
  147. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
  148. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
  149. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
  150. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
  151. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
  152. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
  153. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
  154. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -27
  155. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -25
  156. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
  157. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -52
  158. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -36
  159. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -25
  160. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -18
  161. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -34
  162. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -16
  163. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -25
  164. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -623
  165. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -15
  166. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -60
  167. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -21
  168. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -16
  169. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -21
  170. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -13
  171. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -4
  172. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -6
  173. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -19
  174. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
  175. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -13
  176. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -10
  177. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -247
  178. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -28
  179. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -4
  180. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -65
  181. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -7
  182. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -6
  183. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -38
  184. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -29
  185. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
  186. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -12
  187. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -14
  188. package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -4
  189. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -40
  190. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -32
  191. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
  192. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -4
  193. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -15
  194. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -11
  195. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
  196. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -141
  197. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -20
  198. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -6
  199. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -13
  200. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -9
  201. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -4
  202. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -6
  203. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -13
  204. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -23
  205. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -25
  206. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -15
  207. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -5
  208. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
  209. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -20
  210. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -21
  211. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -14
  212. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -13
  213. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -12
  214. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -42
  215. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -7
  216. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -7
  217. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -7
  218. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -29
  219. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -51
  220. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -6
  221. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -8
  222. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -4
  223. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -8
  224. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
  225. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -4
  226. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
  227. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -9
  228. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -5
  229. package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -215
  230. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -7
  231. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -19
  232. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -22
  233. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -12
  234. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -15
  235. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -16
  236. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
  237. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -24
  238. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -49
  239. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -9
  240. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -8
  241. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -24
  242. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -70
  243. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -31
  244. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
  245. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -17
  246. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -4
  247. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -10
  248. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -4
  249. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -8
  250. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -4
  251. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -4
  252. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -6
  253. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -4
  254. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -4
  255. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -4
  256. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -7
  257. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -14
  258. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -7
  259. package/dist/node_modules/motion-utils/dist/es/array.js +0 -11
  260. package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -4
  261. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -5
  262. package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
  263. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
  264. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -18
  265. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
  266. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -4
  267. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -4
  268. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -4
  269. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -4
  270. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -32
  271. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -15
  272. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -6
  273. package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -4
  274. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -4
  275. package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -6
  276. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -4
  277. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
  278. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
  279. package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -4
  280. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
  281. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
  282. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
  283. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
  284. package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -8
  285. package/dist/patterns/table/TableWrapper.js +0 -141
  286. package/dist/patterns/tree/TreeDemo.d.ts +0 -7
  287. package/dist/patterns/tree/TreeDemo.d.ts.map +0 -1
  288. package/dist/patterns/tree/TreeStructure.d.ts +0 -14
  289. package/dist/patterns/tree/TreeStructure.d.ts.map +0 -1
  290. package/dist/patterns/tree/TreeStructure.js +0 -110
  291. package/dist/patterns/tree/constants.d.ts +0 -18
  292. package/dist/patterns/tree/constants.d.ts.map +0 -1
  293. package/dist/patterns/tree/helper.d.ts +0 -6
  294. package/dist/patterns/tree/helper.d.ts.map +0 -1
  295. package/dist/patterns/tree/helper.js +0 -21
  296. package/dist/patterns/tree/index.d.ts +0 -4
  297. package/dist/patterns/tree/index.d.ts.map +0 -1
  298. package/dist/patterns/tree/interface.d.ts +0 -9
  299. package/dist/patterns/tree/interface.d.ts.map +0 -1
@@ -1,43 +1,297 @@
1
- import { jsxs as n, jsx as i } from "react/jsx-runtime";
2
- import { cva as d } from "class-variance-authority";
3
- import { cn as m } from "../../utils/cn.js";
4
- const g = d(
5
- "inline-flex items-center gap-1 rounded-md font-medium",
6
- {
7
- variants: {
8
- variant: {
9
- default: "bg-gray-100 text-gray-800",
10
- primary: "bg-brand-100 text-brand-800",
11
- success: "bg-success-100 text-success-800",
12
- warning: "bg-warning-100 text-warning-800",
13
- error: "bg-error-100 text-error-800",
14
- outline: "border border-gray-300 bg-white text-gray-700"
15
- },
16
- size: {
17
- sm: "px-2 py-0.5 text-xs",
18
- md: "px-2.5 py-1 text-sm",
19
- lg: "px-3 py-1.5 text-sm"
20
- }
1
+ import { jsx as d, jsxs as x, Fragment as b } from "react/jsx-runtime";
2
+ import { X as v } from "@untitledui/icons";
3
+ import { Dot as w } from "../../foundations/dot-icon/index.js";
4
+ import { badgeTypes as t } from "./badge-types.js";
5
+ import { cx as u } from "../../utils/cn.js";
6
+ const y = {
7
+ clear: {
8
+ root: "bg-primary text-secondary ring-secondary",
9
+ addon: "text-gray-500",
10
+ addonButton: "hover:bg-utility-gray-100 text-utility-gray-400 hover:text-utility-gray-500"
11
+ },
12
+ gray: {
13
+ root: "bg-utility-gray-100 text-utility-gray-700 ring-utility-gray-100",
14
+ addon: "text-utility-gray-500",
15
+ addonButton: "hover:bg-utility-gray-100 text-utility-gray-400 hover:text-utility-gray-500"
16
+ },
17
+ brand: {
18
+ root: "bg-utility-brand-50 text-utility-brand-600 ring-utility-brand-50",
19
+ addon: "text-utility-brand-500",
20
+ addonButton: "hover:bg-utility-brand-100 text-utility-brand-400 hover:text-utility-brand-500"
21
+ },
22
+ error: {
23
+ root: "bg-utility-error-100 text-utility-error-700 ring-utility-error-100",
24
+ addon: "text-utility-error-500",
25
+ addonButton: "hover:bg-utility-error-100 text-utility-error-400 hover:text-utility-error-500"
26
+ },
27
+ warning: {
28
+ root: "bg-utility-warning-100 text-utility-warning-700 ring-utility-warning-100",
29
+ addon: "text-utility-warning-500",
30
+ addonButton: "hover:bg-utility-warning-100 text-utility-warning-400 hover:text-utility-warning-500"
31
+ },
32
+ success: {
33
+ root: "bg-utility-success-100 text-utility-success-700 ring-utility-success-100",
34
+ addon: "text-utility-success-500",
35
+ addonButton: "hover:bg-utility-success-100 text-utility-success-400 hover:text-utility-success-500"
36
+ },
37
+ "gray-blue": {
38
+ root: "bg-utility-gray-blue-100 text-utility-gray-blue-700 ring-utility-gray-blue-100",
39
+ addon: "text-utility-gray-blue-500",
40
+ addonButton: "hover:bg-utility-gray-blue-100 text-utility-gray-blue-400 hover:text-utility-gray-blue-500"
41
+ },
42
+ "blue-light": {
43
+ root: "bg-utility-blue-light-100 text-utility-blue-light-700 ring-utility-blue-light-100",
44
+ addon: "text-utility-blue-light-500",
45
+ addonButton: "hover:bg-utility-blue-light-100 text-utility-blue-light-400 hover:text-utility-blue-light-500"
46
+ },
47
+ blue: {
48
+ root: "bg-utility-blue-100 text-utility-blue-700 ring-utility-blue-100",
49
+ addon: "text-utility-blue-500",
50
+ addonButton: "hover:bg-utility-blue-100 text-utility-blue-400 hover:text-utility-blue-500"
51
+ },
52
+ indigo: {
53
+ root: "bg-utility-indigo-100 text-utility-indigo-700 ring-utility-indigo-100",
54
+ addon: "text-utility-indigo-500",
55
+ addonButton: "hover:bg-utility-indigo-100 text-utility-indigo-400 hover:text-utility-indigo-500"
56
+ },
57
+ purple: {
58
+ root: "bg-utility-purple-100 text-utility-purple-700 ring-utility-purple-100",
59
+ addon: "text-utility-purple-500",
60
+ addonButton: "hover:bg-utility-purple-100 text-utility-purple-400 hover:text-utility-purple-500"
61
+ },
62
+ pink: {
63
+ root: "bg-utility-pink-100 text-utility-pink-700 ring-utility-pink-100",
64
+ addon: "text-utility-pink-500",
65
+ addonButton: "hover:bg-utility-pink-100 text-utility-pink-400 hover:text-utility-pink-500"
66
+ },
67
+ orange: {
68
+ root: "bg-utility-orange-100 text-utility-orange-700 ring-utility-orange-100",
69
+ addon: "text-utility-orange-500",
70
+ addonButton: "hover:bg-utility-orange-100 text-utility-orange-400 hover:text-utility-orange-500"
71
+ }
72
+ }, B = Object.fromEntries(
73
+ Object.entries(y).map(([i, s]) => [i, { root: "", addon: s.addon }])
74
+ ), c = {
75
+ [t.pillColor]: {
76
+ common: "size-max flex items-center whitespace-nowrap rounded-full ring-1 ring-inset",
77
+ styles: y
78
+ },
79
+ [t.color]: {
80
+ common: "size-max flex items-center whitespace-nowrap rounded-sm ring-1 ring-inset",
81
+ styles: y
82
+ },
83
+ [t.modern]: {
84
+ common: "size-max flex items-center whitespace-nowrap rounded-sm ring-1 ring-inset ring-secondary",
85
+ styles: y
86
+ }
87
+ }, h = {
88
+ [t.pillColor]: {
89
+ common: "size-max flex items-center whitespace-nowrap rounded-full ring-1 ring-inset",
90
+ styles: y
91
+ },
92
+ [t.color]: {
93
+ common: "size-max flex items-center whitespace-nowrap rounded-sm ring-1 ring-inset",
94
+ styles: y
95
+ },
96
+ [t.modern]: {
97
+ common: "size-max flex items-center whitespace-nowrap rounded-sm ring-1 ring-inset bg-primary text-secondary ring-secondary",
98
+ styles: B
99
+ }
100
+ }, j = (i) => {
101
+ const { type: s = "pill-color", size: m = "xs", color: e = "gray", children: p } = i, o = c[s], l = {
102
+ xs: "py-0.5 px-2 text-xs font-medium",
103
+ sm: "py-0.5 px-2 text-sm font-medium",
104
+ md: "py-1 px-3 text-sm font-medium",
105
+ lg: "py-1 px-3 text-sm font-medium"
106
+ }, n = {
107
+ xs: "py-0.5 px-2 text-xs font-medium",
108
+ sm: "py-0.5 px-2 text-sm font-medium",
109
+ md: "py-1 px-3 text-sm font-medium",
110
+ lg: "py-1 px-3 text-sm font-medium rounded-lg"
111
+ }, r = {
112
+ [t.pillColor]: l,
113
+ [t.color]: n,
114
+ [t.modern]: n
115
+ };
116
+ return /* @__PURE__ */ d("span", { className: u(o.common, r[s][m], o.styles[e].root, i.className), children: p });
117
+ }, T = (i) => {
118
+ const { size: s = "md", color: m = "gray", type: e = "pill-color", className: p, children: o } = i, l = h[e], n = {
119
+ xs: "gap-0.5 py-0.5 px-1 text-xs font-medium",
120
+ sm: "gap-1 py-0.5 pl-1.5 pr-2 text-xs font-medium",
121
+ md: "gap-1.5 py-0.5 pl-2 pr-2.5 text-sm font-medium",
122
+ lg: "gap-1.5 py-1 pl-2.5 pr-3 text-sm font-medium"
123
+ }, r = {
124
+ xs: "gap-0.5 py-0.5 px-1 text-xs font-medium",
125
+ sm: "gap-1 py-0.5 px-1.5 text-xs font-medium",
126
+ md: "gap-1.5 py-0.5 px-2 text-sm font-medium",
127
+ lg: "gap-1.5 py-1 px-2.5 text-sm font-medium rounded-lg"
128
+ }, a = {
129
+ [t.pillColor]: n,
130
+ [t.color]: r,
131
+ [t.modern]: r
132
+ }, g = m;
133
+ return /* @__PURE__ */ x("span", { className: u(l.common, a[e][s], l.styles[g].root, p), children: [
134
+ /* @__PURE__ */ d(w, { className: l.styles[g].addon, size: "sm" }),
135
+ o
136
+ ] });
137
+ }, W = (i) => {
138
+ const {
139
+ size: s = "md",
140
+ color: m = "gray",
141
+ type: e = "pill-color",
142
+ iconLeading: p,
143
+ iconTrailing: o,
144
+ children: l,
145
+ className: n
146
+ } = i, r = h[e], a = p ? "leading" : "trailing", g = {
147
+ xs: {
148
+ trailing: "gap-0.5 py-0.5 px-1 text-xs font-medium",
149
+ leading: "gap-0.5 py-0.5 px-1 text-xs font-medium"
21
150
  },
22
- defaultVariants: {
23
- variant: "default",
24
- size: "md"
151
+ sm: {
152
+ trailing: "gap-0.5 py-0.5 pl-2 pr-1.5 text-xs font-medium",
153
+ leading: "gap-0.5 py-0.5 pr-2 pl-1.5 text-xs font-medium"
154
+ },
155
+ md: {
156
+ trailing: "gap-1 py-0.5 pl-2.5 pr-2 text-sm font-medium",
157
+ leading: "gap-1 py-0.5 pr-2.5 pl-2 text-sm font-medium"
158
+ },
159
+ lg: {
160
+ trailing: "gap-1 py-1 pl-3 pr-2.5 text-sm font-medium",
161
+ leading: "gap-1 py-1 pr-3 pl-2.5 text-sm font-medium"
25
162
  }
26
- }
27
- );
28
- function x({
29
- variant: r,
30
- size: t,
31
- className: a,
32
- children: s,
33
- icon: e
34
- }) {
35
- return /* @__PURE__ */ n("span", { className: m(g({ variant: r, size: t }), a), children: [
36
- e && /* @__PURE__ */ i("span", { className: "inline-flex", children: e }),
37
- s
163
+ }, f = {
164
+ xs: {
165
+ trailing: "gap-0.5 py-0.5 px-1 text-xs font-medium",
166
+ leading: "gap-0.5 py-0.5 px-1 text-xs font-medium"
167
+ },
168
+ sm: {
169
+ trailing: "gap-0.5 py-0.5 pl-2 pr-1.5 text-xs font-medium",
170
+ leading: "gap-0.5 py-0.5 pr-2 pl-1.5 text-xs font-medium"
171
+ },
172
+ md: {
173
+ trailing: "gap-1 py-0.5 pl-2 pr-1.5 text-sm font-medium",
174
+ leading: "gap-1 py-0.5 pr-2 pl-1.5 text-sm font-medium"
175
+ },
176
+ lg: {
177
+ trailing: "gap-1 py-1 pl-2.5 pr-2 text-sm font-medium rounded-lg",
178
+ leading: "gap-1 py-1 pr-2.5 pl-2 text-sm font-medium rounded-lg"
179
+ }
180
+ }, z = {
181
+ [t.pillColor]: g,
182
+ [t.color]: f,
183
+ [t.modern]: f
184
+ };
185
+ return /* @__PURE__ */ x("span", { className: u(r.common, z[e][s][a], r.styles[m].root, n), children: [
186
+ p && /* @__PURE__ */ d(b, { children: p }),
187
+ l,
188
+ o && /* @__PURE__ */ d(b, { children: o })
189
+ ] });
190
+ }, L = (i) => {
191
+ const { size: s = "md", color: m = "gray", flag: e = "AU", type: p = "pill-color", children: o } = i, l = c[p], n = {
192
+ xs: "gap-0.5 py-0.5 pl-0.75 pr-2 text-xs font-medium",
193
+ sm: "gap-1 py-0.5 pl-0.75 pr-2 text-xs font-medium",
194
+ md: "gap-1.5 py-0.5 pl-1 pr-2.5 text-sm font-medium",
195
+ lg: "gap-1.5 py-1 pl-1.5 pr-3 text-sm font-medium"
196
+ }, r = {
197
+ xs: "gap-0.5 py-0.5 pl-1 pr-1.5 text-xs font-medium",
198
+ sm: "gap-1 py-0.5 pl-1 pr-1.5 text-xs font-medium",
199
+ md: "gap-1.5 py-0.5 pl-1.5 pr-2 text-sm font-medium",
200
+ lg: "gap-1.5 py-1 pl-2 pr-2.5 text-sm font-medium rounded-lg"
201
+ }, a = {
202
+ [t.pillColor]: n,
203
+ [t.color]: r,
204
+ [t.modern]: r
205
+ };
206
+ return /* @__PURE__ */ x("span", { className: u(l.common, a[p][s], l.styles[m].root), children: [
207
+ /* @__PURE__ */ d(
208
+ "img",
209
+ {
210
+ src: `https://www.untitledui.com/images/flags/${e}.svg`,
211
+ className: "size-4 max-w-none rounded-full",
212
+ alt: `${e} flag`
213
+ }
214
+ ),
215
+ o
38
216
  ] });
39
- }
40
- x.displayName = "Badge";
217
+ }, O = (i) => {
218
+ const { size: s = "md", color: m = "gray", type: e = "pill-color", imgSrc: p, children: o } = i, l = c[e], n = {
219
+ xs: "gap-0.5 py-0.5 pl-0.75 pr-2 text-xs font-medium",
220
+ sm: "gap-1 py-0.5 pl-0.75 pr-2 text-xs font-medium",
221
+ md: "gap-1.5 py-0.5 pl-1 pr-2.5 text-sm font-medium",
222
+ lg: "gap-1.5 py-1 pl-1.5 pr-3 text-sm font-medium"
223
+ }, r = {
224
+ xs: "gap-0.5 py-0.5 pl-1 pr-1.5 text-xs font-medium",
225
+ sm: "gap-1 py-0.5 pl-1 pr-1.5 text-xs font-medium",
226
+ md: "gap-1.5 py-0.5 pl-1.5 pr-2 text-sm font-medium",
227
+ lg: "gap-1.5 py-1 pl-2 pr-2.5 text-sm font-medium rounded-lg"
228
+ }, a = {
229
+ [t.pillColor]: n,
230
+ [t.color]: r,
231
+ [t.modern]: r
232
+ };
233
+ return /* @__PURE__ */ x("span", { className: u(l.common, a[e][s], l.styles[m].root), children: [
234
+ /* @__PURE__ */ d("img", { src: p, className: "size-4 max-w-none rounded-full", alt: "Badge image" }),
235
+ o
236
+ ] });
237
+ }, D = (i) => {
238
+ const { size: s = "md", color: m = "gray", type: e = "pill-color", icon: p = v, buttonLabel: o, children: l } = i, n = c[e], r = {
239
+ xs: "gap-0.5 py-0.5 pl-2 pr-0.75 text-xs font-medium",
240
+ sm: "gap-0.5 py-0.5 pl-2 pr-0.75 text-xs font-medium",
241
+ md: "gap-0.5 py-0.5 pl-2.5 pr-1 text-sm font-medium",
242
+ lg: "gap-0.5 py-1 pl-3 pr-1.5 text-sm font-medium"
243
+ }, a = {
244
+ xs: "gap-0.5 py-0.5 pl-1.5 pr-0.75 text-xs font-medium",
245
+ sm: "gap-0.5 py-0.5 pl-1.5 pr-0.75 text-xs font-medium",
246
+ md: "gap-0.5 py-0.5 pl-2 pr-1 text-sm font-medium",
247
+ lg: "gap-0.5 py-1 pl-2.5 pr-1.5 text-sm font-medium rounded-lg"
248
+ }, g = {
249
+ [t.pillColor]: r,
250
+ [t.color]: a,
251
+ [t.modern]: a
252
+ };
253
+ return /* @__PURE__ */ x("span", { className: u(n.common, g[e][s], n.styles[m].root), children: [
254
+ l,
255
+ /* @__PURE__ */ d(
256
+ "button",
257
+ {
258
+ type: "button",
259
+ "aria-label": o,
260
+ onClick: i.onButtonClick,
261
+ className: u(
262
+ "flex cursor-pointer items-center justify-center p-0.5 outline-focus-ring transition duration-100 ease-linear focus-visible:outline-2",
263
+ n.styles[m].addonButton,
264
+ e === "pill-color" ? "rounded-full" : "rounded-[3px]"
265
+ ),
266
+ children: /* @__PURE__ */ d(p, { className: "size-3 stroke-[3px] transition-inherit-all" })
267
+ }
268
+ )
269
+ ] });
270
+ }, F = (i) => {
271
+ const { size: s = "md", color: m = "gray", type: e = "pill-color", icon: p } = i, o = c[e], l = {
272
+ xs: "p-1",
273
+ sm: "p-1.25",
274
+ md: "p-1.5",
275
+ lg: "p-2"
276
+ }, n = {
277
+ xs: "p-1",
278
+ sm: "p-1.25",
279
+ md: "p-1.5",
280
+ lg: "p-2 rounded-lg"
281
+ }, r = {
282
+ [t.pillColor]: l,
283
+ [t.color]: n,
284
+ [t.modern]: n
285
+ };
286
+ return /* @__PURE__ */ d("span", { className: u(o.common, r[e][s], o.styles[m].root), children: /* @__PURE__ */ d(p, { className: u("size-3 stroke-[3px]", o.styles[m].addon) }) });
287
+ };
41
288
  export {
42
- x as Badge
289
+ j as Badge,
290
+ F as BadgeIcon,
291
+ D as BadgeWithButton,
292
+ T as BadgeWithDot,
293
+ L as BadgeWithFlag,
294
+ W as BadgeWithIcon,
295
+ O as BadgeWithImage,
296
+ y as filledColors
43
297
  };
@@ -1,2 +1,3 @@
1
- export { Badge, type BadgeProps } from './badge';
1
+ export { Badge, BadgeWithDot, BadgeWithIcon, BadgeWithFlag, BadgeWithImage, BadgeWithButton, BadgeIcon, filledColors, type BadgeColor, type BadgeProps, type BadgeWithDotProps, type BadgeWithIconProps, type BadgeWithFlagProps, type BadgeWithImageProps, type BadgeWithButtonProps, type BadgeIconProps, } from './badge';
2
+ export type { BadgeColors, BadgeTypes, Sizes, FlagTypes, IconComponentType, BadgeTypeToColorMap } from './badge-types';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/primitives/badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/primitives/badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,EACL,YAAY,EACZ,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,SAAS,EACT,YAAY,EACZ,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,cAAc,GACtB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
3
3
  declare const headingVariants: (props?: ({
4
4
  level?: 1 | 2 | 3 | 4 | 5 | 6 | null | undefined;
5
5
  weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
6
- color?: "primary" | "secondary" | "error" | "success" | "brand" | null | undefined;
6
+ color?: "primary" | "secondary" | "error" | "brand" | "success" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  export interface HeadingProps extends VariantProps<typeof headingVariants> {
9
9
  /** Heading content */
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
3
3
  declare const textVariants: (props?: ({
4
4
  size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
5
5
  weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
6
- color?: "primary" | "secondary" | "tertiary" | "error" | "success" | "warning" | "brand" | null | undefined;
6
+ color?: "primary" | "secondary" | "tertiary" | "error" | "brand" | "warning" | "success" | null | undefined;
7
7
  align?: "left" | "right" | "center" | "justify" | null | undefined;
8
8
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
9
  export interface TextProps extends VariantProps<typeof textVariants> {