@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.
- package/dist/_virtual/rolldown_runtime.js +3 -12
- package/dist/components/alert/Alert.js +19 -20
- package/dist/components/aurora/Aurora.js +15 -16
- package/dist/components/avatar/Avatar.js +44 -44
- package/dist/components/badge/Badge.js +36 -37
- package/dist/components/button/Button.js +16 -17
- package/dist/components/button-group/ButtonGroup.js +15 -16
- package/dist/components/card/Card.js +21 -22
- package/dist/components/card/CardSection.js +15 -15
- package/dist/components/chart/Chart.js +82 -82
- package/dist/components/chart/LineChart.js +50 -51
- package/dist/components/col/Col.js +9 -10
- package/dist/components/command/Command.js +32 -33
- package/dist/components/container/Container.js +9 -10
- package/dist/components/context-menu/ContextMenu.js +76 -77
- package/dist/components/data-table/DataTableColumn.js +9 -10
- package/dist/components/data-table/DataTableFilterInput.js +83 -83
- package/dist/components/data-table/DataTableFilterSuggestionMenu.js +26 -27
- package/dist/components/data-table/DataTableHeader.js +20 -21
- package/dist/components/data-table/DataTablePagination.js +27 -28
- package/dist/components/dialog/Dialog.js +61 -62
- package/dist/components/file-tabs/FileTabs.js +51 -52
- package/dist/components/flex/Flex.js +9 -10
- package/dist/components/form/CheckboxInput.js +50 -51
- package/dist/components/form/ColorInput.js +242 -242
- package/dist/components/form/DateInput.js +55 -55
- package/dist/components/form/EditorInput.js +300 -300
- package/dist/components/form/FileInput.js +67 -68
- package/dist/components/form/InputDescription.js +3 -4
- package/dist/components/form/InputLabel.js +9 -10
- package/dist/components/form/InputMessage.js +6 -7
- package/dist/components/form/InputWrapper.js +37 -38
- package/dist/components/form/PasswordInput.js +2 -2
- package/dist/components/form/PinInput.js +30 -31
- package/dist/components/form/RadioGroup.js +22 -23
- package/dist/components/form/RadioInput.js +19 -20
- package/dist/components/form/SelectInput.js +55 -56
- package/dist/components/form/TagInput.js +44 -44
- package/dist/components/fullscreen/FullScreen.js +14 -15
- package/dist/components/gantt/Gantt.js +63 -64
- package/dist/components/gantt/GanttGroup.js +2 -2
- package/dist/components/gantt/GanttHeader.js +40 -41
- package/dist/components/gantt/GanttItem.js +11 -12
- package/dist/components/icon/Icon.js +22 -22
- package/dist/components/json-view/JsonView.js +37 -38
- package/dist/components/layout/Layout.js +64 -65
- package/dist/components/menu/Menu.js +91 -92
- package/dist/components/quote/Quote.js +29 -30
- package/dist/components/resizable/Resizable.js +22 -23
- package/dist/components/row/Row.js +9 -10
- package/dist/components/scroll-area/ScrollArea.js +46 -47
- package/dist/components/segmented-control/SegmentedControl.js +35 -35
- package/dist/components/spacing/Spacing.js +8 -9
- package/dist/components/tab/Tab.js +53 -53
- package/dist/components/text/Text.js +9 -10
- package/dist/components/toast/Toast.js +47 -47
- package/dist/components/tooltip/Tooltip.js +35 -36
- package/dist/utils/contextStore.js +31 -32
- package/dist/utils/motion.js +39 -40
- package/package.json +4 -4
- package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js +0 -6
- 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 -51
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -58
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -256
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -57
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -136
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -40
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -37
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -49
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -59
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -11
- 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 -22
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -68
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -56
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -48
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/render/components/m/proxy.js +0 -3
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -2
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -4
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -5
- package/dist/node_modules/motion/dist/es/react.js +0 -196
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -105
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -127
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -82
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -164
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -43
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -54
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -59
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -65
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -5
- 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 -34
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -25
- 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 -3
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -41
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -580
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -49
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -201
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -54
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -133
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -35
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -50
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -3
- package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -90
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -14
- 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 -50
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -62
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -2
- 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 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -4
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -2
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/array.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -3
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -16
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -3
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -29
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -4
- package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -24
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -2
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -6
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +0 -21
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +0 -18
- package/dist/node_modules/react/compiler-runtime.js +0 -8
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty,
|
|
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
|
-
}
|
|
9
|
-
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
},
|
|
24
|
-
let
|
|
25
|
-
|
|
26
|
-
} else
|
|
27
|
-
let
|
|
28
|
-
return
|
|
29
|
-
role:
|
|
30
|
-
"aria-live":
|
|
31
|
-
...
|
|
32
|
-
children: [
|
|
33
|
-
}),
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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] =
|
|
16
|
-
let
|
|
17
|
-
r[7] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
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] =
|
|
21
|
-
let
|
|
22
|
-
return r[8] !== a || r[9] !==
|
|
23
|
-
className:
|
|
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:
|
|
26
|
-
}), r[8] = a, r[9] =
|
|
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
|
|
10
|
-
let t =
|
|
11
|
-
return t[0] !==
|
|
12
|
-
src:
|
|
13
|
-
width:
|
|
14
|
-
height:
|
|
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] =
|
|
16
|
+
}), t[0] = a, t[1] = r, t[2] = o) : o = t[2], o;
|
|
17
17
|
}, AvatarIdenticon = (e) => {
|
|
18
|
-
let
|
|
19
|
-
|
|
20
|
-
let
|
|
21
|
-
|
|
22
|
-
"--color":
|
|
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
|
-
},
|
|
25
|
-
let
|
|
26
|
-
|
|
27
|
-
style:
|
|
28
|
-
value:
|
|
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
|
-
}),
|
|
31
|
-
let
|
|
32
|
-
return
|
|
33
|
-
style:
|
|
34
|
-
children:
|
|
35
|
-
}),
|
|
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 = (
|
|
38
|
-
let
|
|
39
|
-
if (
|
|
40
|
-
let { identifier:
|
|
41
|
-
|
|
42
|
-
} else
|
|
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
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
...
|
|
18
|
-
"--badge-color-background": mixColorRgb(
|
|
19
|
-
"--badge-color-border": withAlpha(
|
|
20
|
-
"--badge-color": withAlpha(
|
|
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
|
-
}),
|
|
23
|
-
} else
|
|
24
|
-
let
|
|
25
|
-
return
|
|
26
|
-
...
|
|
27
|
-
children:
|
|
28
|
-
}),
|
|
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
|
|
38
|
-
|
|
39
|
-
let
|
|
40
|
-
document.body.removeChild(
|
|
41
|
-
let
|
|
42
|
-
return
|
|
43
|
-
r: Math.round(Number(
|
|
44
|
-
g: Math.round(Number(
|
|
45
|
-
b: Math.round(Number(
|
|
46
|
-
a:
|
|
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,
|
|
54
|
-
let
|
|
55
|
-
return `rgb(${
|
|
56
|
-
}, withAlpha = (e,
|
|
57
|
-
let
|
|
58
|
-
return `rgba(${
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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] =
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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 ===
|
|
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] =
|
|
21
|
-
} else s = o[1],
|
|
22
|
-
let
|
|
23
|
-
return o[5] !== s || o[6] !==
|
|
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:
|
|
26
|
-
}), o[5] = s, o[6] =
|
|
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
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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--${
|
|
17
|
-
card--${
|
|
18
|
-
${
|
|
19
|
-
${
|
|
20
|
-
${
|
|
21
|
-
${
|
|
22
|
-
${
|
|
23
|
-
${
|
|
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
|
-
`,
|
|
26
|
-
} else o =
|
|
27
|
-
let
|
|
28
|
-
return
|
|
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
|
-
}) }),
|
|
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
|
|
6
|
-
var
|
|
7
|
-
let
|
|
8
|
-
if (
|
|
9
|
-
let { image:
|
|
10
|
-
o =
|
|
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
|
-
${
|
|
13
|
-
${
|
|
14
|
-
${
|
|
15
|
-
`,
|
|
16
|
-
} else o =
|
|
17
|
-
let
|
|
18
|
-
return
|
|
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
|
-
}) }),
|
|
21
|
+
}) }), a[3] = o, a[4] = s, a[5] = l) : l = a[5], l;
|
|
22
22
|
};
|
|
23
23
|
export { CardSection_default as default };
|