@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.
- package/dist/foundations/dot-icon/index.d.ts +7 -0
- package/dist/foundations/dot-icon/index.d.ts.map +1 -0
- package/dist/foundations/dot-icon/index.js +10 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +42 -40
- package/dist/patterns/table/table.js +1 -1
- package/dist/patterns/tree-view/index.d.ts +2 -0
- package/dist/patterns/tree-view/index.d.ts.map +1 -0
- package/dist/patterns/tree-view/tree-view.d.ts +61 -0
- package/dist/patterns/tree-view/tree-view.d.ts.map +1 -0
- package/dist/patterns/tree-view/tree-view.js +167 -0
- package/dist/primitives/badge/badge-types.d.ts +17 -0
- package/dist/primitives/badge/badge-types.d.ts.map +1 -0
- package/dist/primitives/badge/badge-types.js +8 -0
- package/dist/primitives/badge/badge.d.ts +115 -22
- package/dist/primitives/badge/badge.d.ts.map +1 -1
- package/dist/primitives/badge/badge.js +292 -38
- package/dist/primitives/badge/index.d.ts +2 -1
- package/dist/primitives/badge/index.d.ts.map +1 -1
- package/dist/primitives/heading/heading.d.ts +1 -1
- package/dist/primitives/text/text.d.ts +1 -1
- package/dist/styles/components.css +1 -1
- package/package.json +2 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -47
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -277
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -67
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -131
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -43
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -60
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -44
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -63
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -66
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -38
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -106
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -133
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -109
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +0 -52
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +0 -98
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -46
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -49
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -69
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -75
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-final-keyframe.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -41
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -52
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -36
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -623
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -60
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -247
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -65
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -40
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -141
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -42
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -51
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -215
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -49
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -70
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/array.js +0 -11
- package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -18
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -32
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -15
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -29
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -8
- package/dist/patterns/table/TableWrapper.js +0 -141
- package/dist/patterns/tree/TreeDemo.d.ts +0 -7
- package/dist/patterns/tree/TreeDemo.d.ts.map +0 -1
- package/dist/patterns/tree/TreeStructure.d.ts +0 -14
- package/dist/patterns/tree/TreeStructure.d.ts.map +0 -1
- package/dist/patterns/tree/TreeStructure.js +0 -110
- package/dist/patterns/tree/constants.d.ts +0 -18
- package/dist/patterns/tree/constants.d.ts.map +0 -1
- package/dist/patterns/tree/helper.d.ts +0 -6
- package/dist/patterns/tree/helper.d.ts.map +0 -1
- package/dist/patterns/tree/helper.js +0 -21
- package/dist/patterns/tree/index.d.ts +0 -4
- package/dist/patterns/tree/index.d.ts.map +0 -1
- package/dist/patterns/tree/interface.d.ts +0 -9
- package/dist/patterns/tree/interface.d.ts.map +0 -1
|
@@ -1,43 +1,297 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
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" | "
|
|
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" | "
|
|
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> {
|