@code0-tech/pictor 1.0.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 +9 -0
- package/dist/assets/Alert.style.css +1 -0
- package/dist/assets/Aurora.style.css +1 -0
- package/dist/assets/Avatar.style.css +1 -0
- package/dist/assets/Badge.style.css +1 -0
- package/dist/assets/Breadcrumb.style.css +1 -0
- package/dist/assets/Button.style.css +1 -0
- package/dist/assets/ButtonGroup.style.css +1 -0
- package/dist/assets/Card.style.css +1 -0
- package/dist/assets/Chart.style.css +1 -0
- package/dist/assets/Col.style.css +1 -0
- package/dist/assets/ColorInput.style.css +1 -0
- package/dist/assets/Command.style.css +1 -0
- package/dist/assets/Container.style.css +1 -0
- package/dist/assets/ContextMenu.style.css +1 -0
- package/dist/assets/DataTable.style.css +1 -0
- package/dist/assets/DateInput.style.css +1 -0
- package/dist/assets/Dialog.style.css +1 -0
- package/dist/assets/Editor.styles.css +1 -0
- package/dist/assets/EditorInput.style.css +1 -0
- package/dist/assets/FileInput.style.css +1 -0
- package/dist/assets/FileTabs.style.css +1 -0
- package/dist/assets/FullScreen.style.css +1 -0
- package/dist/assets/Gantt.style.css +1 -0
- package/dist/assets/Icon.style.css +1 -0
- package/dist/assets/Input.style.css +1 -0
- package/dist/assets/InputWrapper.style.css +1 -0
- package/dist/assets/JsonView.style.css +1 -0
- package/dist/assets/Layout.style.css +1 -0
- package/dist/assets/Menu.style.css +1 -0
- package/dist/assets/Progress.style.css +1 -0
- package/dist/assets/Quote.style.css +1 -0
- package/dist/assets/Resizable.style.css +1 -0
- package/dist/assets/Row.style.css +1 -0
- package/dist/assets/ScrollArea.style.css +1 -0
- package/dist/assets/SegmentedControl.style.css +1 -0
- package/dist/assets/SelectInput.style.css +1 -0
- package/dist/assets/Tab.style.css +1 -0
- package/dist/assets/Text.style.css +1 -0
- package/dist/assets/Toast.style.css +1 -0
- package/dist/assets/Tooltip.style.css +1 -0
- package/dist/components/alert/Alert.js +33 -41
- package/dist/components/aurora/Aurora.js +26 -22
- package/dist/components/avatar/Avatar.js +57 -55
- package/dist/components/badge/Badge.js +57 -64
- package/dist/components/breadcrumb/Breadcrumb.js +16 -21
- package/dist/components/button/Button.js +23 -31
- package/dist/components/button-group/ButtonGroup.js +28 -31
- package/dist/components/card/Card.js +28 -43
- package/dist/components/card/CardSection.js +21 -29
- package/dist/components/chart/Chart.js +138 -153
- package/dist/components/chart/LineChart.js +74 -74
- package/dist/components/chart/index.js +3 -8
- package/dist/components/col/Col.js +18 -29
- package/dist/components/command/Command.js +100 -134
- package/dist/components/container/Container.js +18 -23
- package/dist/components/context-menu/ContextMenu.js +118 -112
- package/dist/components/data-table/DataTable.js +53 -64
- package/dist/components/data-table/DataTableColumn.js +17 -22
- package/dist/components/data-table/DataTableFilterInput.js +208 -205
- package/dist/components/data-table/DataTableFilterSuggestionMenu.js +58 -48
- package/dist/components/data-table/DataTableHeader.js +33 -38
- package/dist/components/data-table/DataTablePagination.js +61 -74
- package/dist/components/data-table/index.js +7 -22
- package/dist/components/dialog/Dialog.js +106 -97
- package/dist/components/editor/Editor.js +352 -323
- package/dist/components/file-tabs/FileTabs.js +77 -73
- package/dist/components/file-tabs/FileTabs.service.js +85 -87
- package/dist/components/file-tabs/FileTabs.view.js +0 -1
- package/dist/components/file-tabs/index.js +3 -9
- package/dist/components/flex/Flex.js +18 -23
- package/dist/components/form/CheckboxInput.js +72 -76
- package/dist/components/form/ColorInput.js +378 -353
- package/dist/components/form/DateInput.js +315 -265
- package/dist/components/form/EditorInput.js +597 -579
- package/dist/components/form/EmailInput.js +30 -23
- package/dist/components/form/FileInput.js +92 -123
- package/dist/components/form/Input.js +64 -58
- package/dist/components/form/Input.utils.js +25 -37
- package/dist/components/form/InputDescription.js +10 -11
- package/dist/components/form/InputLabel.js +17 -22
- package/dist/components/form/InputMessage.js +16 -17
- package/dist/components/form/InputWrapper.js +55 -65
- package/dist/components/form/NumberInput.js +41 -20
- package/dist/components/form/PasswordInput.js +71 -54
- package/dist/components/form/PinInput.js +49 -65
- package/dist/components/form/RadioGroup.js +41 -50
- package/dist/components/form/RadioInput.js +30 -29
- package/dist/components/form/SelectInput.js +68 -92
- package/dist/components/form/SwitchInput.js +17 -18
- package/dist/components/form/TagInput.js +108 -122
- package/dist/components/form/TextAreaInput.js +24 -21
- package/dist/components/form/TextInput.js +30 -22
- package/dist/components/form/index.js +22 -87
- package/dist/components/form/useForm.js +87 -88
- package/dist/components/fullscreen/FullScreen.js +27 -27
- package/dist/components/gantt/Gantt.js +99 -98
- package/dist/components/gantt/GanttGroup.js +210 -195
- package/dist/components/gantt/GanttHeader.js +78 -81
- package/dist/components/gantt/GanttItem.js +18 -22
- package/dist/components/icon/Icon.d.ts +6 -4
- package/dist/components/icon/Icon.js +53 -42
- package/dist/components/icon/codezero/codezero.js +10 -0
- package/dist/components/icon/codezero/gls.js +9 -0
- package/dist/components/icon/codezero/index.js +17 -13
- package/dist/components/json-view/JsonView.js +119 -109
- package/dist/components/layout/Layout.js +100 -78
- package/dist/components/menu/Menu.js +134 -128
- package/dist/components/progress/ProgressCircle.js +60 -49
- package/dist/components/progress/ProgressLinear.js +39 -43
- package/dist/components/quote/Quote.js +51 -43
- package/dist/components/resizable/Resizable.js +35 -33
- package/dist/components/row/Row.js +18 -23
- package/dist/components/scroll-area/ScrollArea.js +65 -76
- package/dist/components/segmented-control/SegmentedControl.js +46 -50
- package/dist/components/spacing/Spacing.js +15 -23
- package/dist/components/tab/Tab.js +73 -66
- package/dist/components/text/Text.js +18 -25
- package/dist/components/toast/Toast.js +104 -82
- package/dist/components/tooltip/Tooltip.js +65 -55
- package/dist/index.js +76 -272
- package/dist/node_modules/@lezer/common/dist/index.js +778 -143
- package/dist/node_modules/@lezer/highlight/dist/index.js +305 -536
- package/dist/node_modules/prettier/plugins/babel.js +9582 -7023
- package/dist/node_modules/prettier/plugins/estree.js +6997 -4377
- package/dist/node_modules/prettier/standalone.js +3444 -2415
- package/dist/utils/arrayService.js +0 -1
- package/dist/utils/color.js +46 -41
- package/dist/utils/component.js +60 -129
- package/dist/utils/contextStore.js +47 -58
- package/dist/utils/index.js +7 -29
- package/dist/utils/motion.js +84 -113
- package/dist/utils/reactiveArrayService.js +80 -76
- package/dist/utils/size.js +14 -26
- package/dist/utils/utils.js +0 -1
- package/dist/utils/view.js +27 -24
- package/dist/vite-env.d.js +0 -1
- package/package.json +28 -23
- package/dist/_virtual/compiler-runtime.js +0 -5
- package/dist/_virtual/compiler-runtime2.js +0 -4
- package/dist/_virtual/react-compiler-runtime.development.js +0 -4
- package/dist/_virtual/react-compiler-runtime.production.js +0 -4
- package/dist/assets/components/alert/Alert.style.css +0 -1
- package/dist/assets/components/aurora/Aurora.style.css +0 -1
- package/dist/assets/components/avatar/Avatar.style.css +0 -1
- package/dist/assets/components/badge/Badge.style.css +0 -1
- package/dist/assets/components/breadcrumb/Breadcrumb.style.css +0 -1
- package/dist/assets/components/button/Button.style.css +0 -1
- package/dist/assets/components/button-group/ButtonGroup.style.css +0 -1
- package/dist/assets/components/card/Card.style.css +0 -1
- package/dist/assets/components/chart/Chart.style.css +0 -1
- package/dist/assets/components/col/Col.style.css +0 -1
- package/dist/assets/components/command/Command.style.css +0 -1
- package/dist/assets/components/container/Container.style.css +0 -1
- package/dist/assets/components/context-menu/ContextMenu.style.css +0 -1
- package/dist/assets/components/data-table/DataTable.style.css +0 -1
- package/dist/assets/components/dialog/Dialog.style.css +0 -1
- package/dist/assets/components/editor/Editor.styles.css +0 -1
- package/dist/assets/components/file-tabs/FileTabs.style.css +0 -1
- package/dist/assets/components/form/ColorInput.style.css +0 -1
- package/dist/assets/components/form/DateInput.style.css +0 -1
- package/dist/assets/components/form/EditorInput.style.css +0 -1
- package/dist/assets/components/form/FileInput.style.css +0 -1
- package/dist/assets/components/form/Input.style.css +0 -1
- package/dist/assets/components/form/InputWrapper.style.css +0 -1
- package/dist/assets/components/form/SelectInput.style.css +0 -1
- package/dist/assets/components/fullscreen/FullScreen.style.css +0 -1
- package/dist/assets/components/gantt/Gantt.style.css +0 -1
- package/dist/assets/components/icon/Icon.style.css +0 -1
- package/dist/assets/components/json-view/JsonView.style.css +0 -1
- package/dist/assets/components/layout/Layout.style.css +0 -1
- package/dist/assets/components/menu/Menu.style.css +0 -1
- package/dist/assets/components/progress/Progress.style.css +0 -1
- package/dist/assets/components/quote/Quote.style.css +0 -1
- package/dist/assets/components/resizable/Resizable.style.css +0 -1
- package/dist/assets/components/row/Row.style.css +0 -1
- package/dist/assets/components/scroll-area/ScrollArea.style.css +0 -1
- package/dist/assets/components/segmented-control/SegmentedControl.style.css +0 -1
- package/dist/assets/components/tab/Tab.style.css +0 -1
- package/dist/assets/components/text/Text.style.css +0 -1
- package/dist/assets/components/toast/Toast.style.css +0 -1
- package/dist/assets/components/tooltip/Tooltip.style.css +0 -1
- package/dist/components/icon/codezero/codezero.svg.js +0 -5
- package/dist/components/icon/codezero/gls.svg.js +0 -5
- 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 -285
- 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 -130
- 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 -29
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -45
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -33
- 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 -45
- 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 -62
- 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 -21
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -65
- 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 -39
- 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 -21
- 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/reduced-motion/use-reduced-motion.js +0 -12
- 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 -112
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -144
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -106
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -38
- 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.js +0 -178
- 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 -59
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -29
- 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 -68
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -74
- 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 -37
- 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-value-transition.js +0 -8
- 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 -21
- 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/utils/resolve-transition.js +0 -10
- 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 -33
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -12
- 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/is-browser-color.js +0 -10
- 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 -43
- 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 -38
- 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 -18
- 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 -32
- 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 -53
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -38
- 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 -13
- 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 -618
- 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 -53
- 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 -263
- 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 -37
- 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 -38
- 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 -13
- 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 -143
- 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/resize/handle-element.js +0 -39
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -8
- 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 -212
- 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 -51
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -11
- 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 -27
- 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 -37
- 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 -12
- 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 -19
- 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 -14
- 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 -4
- 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 -4
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -8
- 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 -14
- package/dist/node_modules/react/compiler-runtime.js +0 -10
- /package/dist/assets/{components/flex/Flex.style.css → Flex.style.css} +0 -0
- /package/dist/assets/{components/spacing/Spacing.style.css → Spacing.style.css} +0 -0
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import "../../utils/
|
|
1
|
+
"use client";
|
|
2
|
+
import { mergeComponentProps } from "../../utils/component.js";
|
|
3
|
+
import "../../utils/index.js";
|
|
4
|
+
import '../../assets/Resizable.style.css';/* empty css */
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
4
6
|
import "react";
|
|
5
|
-
import {
|
|
6
|
-
import "
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
$ as ResizablePanelGroup
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
import { Group, Panel, Separator } from "react-resizable-panels";
|
|
9
|
+
const ResizablePanelGroup = (i) => {
|
|
10
|
+
let a = c(4), o;
|
|
11
|
+
a[0] === i ? o = a[1] : (o = mergeComponentProps("d-resizable", i), a[0] = i, a[1] = o);
|
|
12
|
+
let s = o, l;
|
|
13
|
+
return a[2] === s ? l = a[3] : (l = /* @__PURE__ */ jsx(Group, {
|
|
14
|
+
"data-slot": "resizable-panel-group",
|
|
15
|
+
...s
|
|
16
|
+
}), a[2] = s, a[3] = l), l;
|
|
17
|
+
}, ResizablePanel = (r) => {
|
|
18
|
+
let a = c(5), o = `d-resizable__panel ${r.color ? `d-resizable__panel--${r.color ?? "primary"}` : ""}`, s;
|
|
19
|
+
a[0] !== r || a[1] !== o ? (s = mergeComponentProps(o, r), a[0] = r, a[1] = o, a[2] = s) : s = a[2];
|
|
20
|
+
let l;
|
|
21
|
+
return a[3] === s ? l = a[4] : (l = /* @__PURE__ */ jsx(Panel, {
|
|
22
|
+
"data-slot": "resizable-panel",
|
|
23
|
+
...s
|
|
24
|
+
}), a[3] = s, a[4] = l), l;
|
|
25
|
+
}, ResizableHandle = (r) => {
|
|
26
|
+
let i = c(5), o;
|
|
27
|
+
i[0] === r ? o = i[1] : (o = mergeComponentProps("d-resizable__handle", r), i[0] = r, i[1] = o);
|
|
28
|
+
let s;
|
|
29
|
+
i[2] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ jsx("div", { className: "d-resizable__handle-bar" }), i[2] = s) : s = i[2];
|
|
30
|
+
let l;
|
|
31
|
+
return i[3] === o ? l = i[4] : (l = /* @__PURE__ */ jsx(Separator, {
|
|
32
|
+
"data-slot": "resizable-handle",
|
|
33
|
+
...o,
|
|
34
|
+
children: s
|
|
35
|
+
}), i[3] = o, i[4] = l), l;
|
|
35
36
|
};
|
|
37
|
+
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
@@ -1,24 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import '../../assets/
|
|
4
|
-
import "
|
|
5
|
-
import "react";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
o = t[1], r = t[2];
|
|
19
|
-
let e;
|
|
20
|
-
return t[3] !== o || t[4] !== r ? (e = /* @__PURE__ */ c("div", { ...r, children: o }), t[3] = o, t[4] = r, t[5] = e) : e = t[5], e;
|
|
21
|
-
};
|
|
22
|
-
export {
|
|
23
|
-
u as Row
|
|
1
|
+
import { mergeComponentProps } from "../../utils/component.js";
|
|
2
|
+
import "../../utils/index.js";
|
|
3
|
+
import '../../assets/Row.style.css';/* empty css */
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
|
+
import React from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
const Row = (n) => {
|
|
8
|
+
let i = c(6), a, o;
|
|
9
|
+
if (i[0] !== n) {
|
|
10
|
+
let { children: t, ...r } = n;
|
|
11
|
+
a = t, o = mergeComponentProps("row", r), i[0] = n, i[1] = a, i[2] = o;
|
|
12
|
+
} else a = i[1], o = i[2];
|
|
13
|
+
let s;
|
|
14
|
+
return i[3] !== a || i[4] !== o ? (s = /* @__PURE__ */ jsx("div", {
|
|
15
|
+
...o,
|
|
16
|
+
children: a
|
|
17
|
+
}), i[3] = a, i[4] = o, i[5] = s) : s = i[5], s;
|
|
24
18
|
};
|
|
19
|
+
export { Row };
|
|
@@ -1,77 +1,66 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
return e[9] !== S || e[10] !== r || e[11] !== _ || e[12] !== c ? (h = /* @__PURE__ */ w(y, { className: "scroll-area--auto", mah: S, h: _, ...r, children: [
|
|
66
|
-
c,
|
|
67
|
-
u
|
|
68
|
-
] }), e[9] = S, e[10] = r, e[11] = _, e[12] = c, e[13] = h) : h = e[13], h;
|
|
69
|
-
};
|
|
70
|
-
export {
|
|
71
|
-
k as AutoScrollArea,
|
|
72
|
-
y as ScrollArea,
|
|
73
|
-
P as ScrollAreaCorner,
|
|
74
|
-
j as ScrollAreaScrollbar,
|
|
75
|
-
E as ScrollAreaThumb,
|
|
76
|
-
C as ScrollAreaViewport
|
|
1
|
+
"use client";
|
|
2
|
+
import { mergeComponentProps } from "../../utils/component.js";
|
|
3
|
+
import "../../utils/index.js";
|
|
4
|
+
import '../../assets/ScrollArea.style.css';/* empty css */
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
6
|
+
import React from "react";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import * as RadixScrollArea from "@radix-ui/react-scroll-area";
|
|
9
|
+
const ScrollArea = (a) => {
|
|
10
|
+
let o = c(4), l;
|
|
11
|
+
o[0] === a ? l = o[1] : (l = mergeComponentProps("scroll-area", a), o[0] = a, o[1] = l);
|
|
12
|
+
let u;
|
|
13
|
+
return o[2] === l ? u = o[3] : (u = /* @__PURE__ */ jsx(RadixScrollArea.ScrollArea, { ...l }), o[2] = l, o[3] = u), u;
|
|
14
|
+
}, ScrollAreaViewport = (a) => {
|
|
15
|
+
let o = c(4), l;
|
|
16
|
+
o[0] === a ? l = o[1] : (l = mergeComponentProps("scroll-area__viewport", a), o[0] = a, o[1] = l);
|
|
17
|
+
let u;
|
|
18
|
+
return o[2] === l ? u = o[3] : (u = /* @__PURE__ */ jsx(RadixScrollArea.ScrollAreaViewport, { ...l }), o[2] = l, o[3] = u), u;
|
|
19
|
+
}, ScrollAreaScrollbar = (a) => {
|
|
20
|
+
let o = c(4), l;
|
|
21
|
+
o[0] === a ? l = o[1] : (l = mergeComponentProps("scroll-area__scrollbar", a), o[0] = a, o[1] = l);
|
|
22
|
+
let u;
|
|
23
|
+
return o[2] === l ? u = o[3] : (u = /* @__PURE__ */ jsx(RadixScrollArea.ScrollAreaScrollbar, { ...l }), o[2] = l, o[3] = u), u;
|
|
24
|
+
}, ScrollAreaThumb = (a) => {
|
|
25
|
+
let o = c(4), l;
|
|
26
|
+
o[0] === a ? l = o[1] : (l = mergeComponentProps("scroll-area__thumb", a), o[0] = a, o[1] = l);
|
|
27
|
+
let u;
|
|
28
|
+
return o[2] === l ? u = o[3] : (u = /* @__PURE__ */ jsx(RadixScrollArea.ScrollAreaThumb, { ...l }), o[2] = l, o[3] = u), u;
|
|
29
|
+
}, ScrollAreaCorner = (a) => {
|
|
30
|
+
let o = c(4), l;
|
|
31
|
+
o[0] === a ? l = o[1] : (l = mergeComponentProps("scroll-area__corner", a), o[0] = a, o[1] = l);
|
|
32
|
+
let u;
|
|
33
|
+
return o[2] === l ? u = o[3] : (u = /* @__PURE__ */ jsx(RadixScrollArea.ScrollAreaCorner, { ...l }), o[2] = l, o[3] = u), u;
|
|
34
|
+
}, AutoScrollArea = (e) => {
|
|
35
|
+
let s = c(14), d, f, p;
|
|
36
|
+
s[0] === e ? (d = s[1], f = s[2], p = s[3]) : ({children: d, mah: p, ...f} = e, s[0] = e, s[1] = d, s[2] = f, s[3] = p);
|
|
37
|
+
let m = p === void 0 ? "var(--radix-popper-available-height, 100vh)" : p, h = React.useRef(null), [g, _] = React.useState(), v, y;
|
|
38
|
+
s[4] === Symbol.for("react.memo_cache_sentinel") ? (v = () => {
|
|
39
|
+
let e = h.current;
|
|
40
|
+
if (!e) return;
|
|
41
|
+
let i = new ResizeObserver((e) => {
|
|
42
|
+
let i = e[0];
|
|
43
|
+
i && _(i.contentRect.height);
|
|
44
|
+
});
|
|
45
|
+
return i.observe(e), () => i.disconnect();
|
|
46
|
+
}, y = [], s[4] = v, s[5] = y) : (v = s[4], y = s[5]), React.useLayoutEffect(v, y);
|
|
47
|
+
let b = g === void 0 ? void 0 : `${g}px`, x;
|
|
48
|
+
s[6] === d ? x = s[7] : (x = /* @__PURE__ */ jsx(ScrollAreaViewport, { children: /* @__PURE__ */ jsx("div", {
|
|
49
|
+
ref: h,
|
|
50
|
+
children: d
|
|
51
|
+
}) }), s[6] = d, s[7] = x);
|
|
52
|
+
let S;
|
|
53
|
+
s[8] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ jsx(ScrollAreaScrollbar, {
|
|
54
|
+
orientation: "vertical",
|
|
55
|
+
children: /* @__PURE__ */ jsx(ScrollAreaThumb, {})
|
|
56
|
+
}), s[8] = S) : S = s[8];
|
|
57
|
+
let C;
|
|
58
|
+
return s[9] !== m || s[10] !== f || s[11] !== b || s[12] !== x ? (C = /* @__PURE__ */ jsxs(ScrollArea, {
|
|
59
|
+
className: "scroll-area--auto",
|
|
60
|
+
mah: m,
|
|
61
|
+
h: b,
|
|
62
|
+
...f,
|
|
63
|
+
children: [x, S]
|
|
64
|
+
}), s[9] = m, s[10] = f, s[11] = b, s[12] = x, s[13] = C) : C = s[13], C;
|
|
77
65
|
};
|
|
66
|
+
export { AutoScrollArea, ScrollArea, ScrollAreaCorner, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport };
|
|
@@ -1,51 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
] }), e[8] = l, e[9] = t, e[10] = s) : s = e[10], s;
|
|
47
|
-
};
|
|
48
|
-
export {
|
|
49
|
-
M as SegmentedControl,
|
|
50
|
-
O as SegmentedControlItem
|
|
1
|
+
import { mergeComponentProps } from "../../utils/component.js";
|
|
2
|
+
import { springs, useObservedValue, useReducedMotionSafe } from "../../utils/motion.js";
|
|
3
|
+
import "../../utils/index.js";
|
|
4
|
+
import '../../assets/SegmentedControl.style.css';/* empty css */
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
6
|
+
import React from "react";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { motion } from "motion/react";
|
|
9
|
+
import { Item, Root } from "@radix-ui/react-toggle-group";
|
|
10
|
+
var SegmentedControlContext = React.createContext({ layoutId: "segmented-control__indicator" });
|
|
11
|
+
const SegmentedControl = (a) => {
|
|
12
|
+
let s = c(12), [l, u] = useObservedValue(a.value, a.defaultValue, a.onValueChange), d = React.useId(), p;
|
|
13
|
+
s[0] !== d || s[1] !== l ? (p = {
|
|
14
|
+
value: l,
|
|
15
|
+
layoutId: d
|
|
16
|
+
}, s[0] = d, s[1] = l, s[2] = p) : p = s[2];
|
|
17
|
+
let m = `segmented-control segmented-control--${a.color ?? "secondary"}`, h;
|
|
18
|
+
s[3] !== a || s[4] !== m ? (h = mergeComponentProps(m, a), s[3] = a, s[4] = m, s[5] = h) : h = s[5];
|
|
19
|
+
let g = h, _;
|
|
20
|
+
s[6] !== u || s[7] !== g ? (_ = /* @__PURE__ */ jsx(Root, {
|
|
21
|
+
...g,
|
|
22
|
+
onValueChange: u
|
|
23
|
+
}), s[6] = u, s[7] = g, s[8] = _) : _ = s[8];
|
|
24
|
+
let v;
|
|
25
|
+
return s[9] !== p || s[10] !== _ ? (v = /* @__PURE__ */ jsx(SegmentedControlContext.Provider, {
|
|
26
|
+
value: p,
|
|
27
|
+
children: _
|
|
28
|
+
}), s[9] = p, s[10] = _, s[11] = v) : v = s[11], v;
|
|
29
|
+
}, SegmentedControlItem = (o) => {
|
|
30
|
+
let f = c(11), { value: p, layoutId: m } = React.useContext(SegmentedControlContext), h = useReducedMotionSafe(), g = p === o.value, _;
|
|
31
|
+
f[0] !== m || f[1] !== h || f[2] !== g ? (_ = g && /* @__PURE__ */ jsx(motion.span, {
|
|
32
|
+
layoutId: m,
|
|
33
|
+
className: "segmented-control__indicator",
|
|
34
|
+
"aria-hidden": !0,
|
|
35
|
+
transition: h ? { duration: 0 } : springs.ui
|
|
36
|
+
}), f[0] = m, f[1] = h, f[2] = g, f[3] = _) : _ = f[3];
|
|
37
|
+
let v;
|
|
38
|
+
f[4] === o ? v = f[5] : (v = mergeComponentProps("segmented-control__item", o), f[4] = o, f[5] = v);
|
|
39
|
+
let y = v, b;
|
|
40
|
+
f[6] === y ? b = f[7] : (b = /* @__PURE__ */ jsx(Item, { ...y }), f[6] = y, f[7] = b);
|
|
41
|
+
let x;
|
|
42
|
+
return f[8] !== _ || f[9] !== b ? (x = /* @__PURE__ */ jsxs("span", {
|
|
43
|
+
className: "segmented-control__item-wrapper",
|
|
44
|
+
children: [_, b]
|
|
45
|
+
}), f[8] = _, f[9] = b, f[10] = x) : x = f[10], x;
|
|
51
46
|
};
|
|
47
|
+
export { SegmentedControl, SegmentedControlItem };
|
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import "react";
|
|
5
|
-
import
|
|
6
|
-
import "
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} = r;
|
|
16
|
-
o = s(`spacing spacing--${e}`, m), t[0] = r, t[1] = o;
|
|
17
|
-
} else
|
|
18
|
-
o = t[1];
|
|
19
|
-
let i;
|
|
20
|
-
return t[2] !== o ? (i = /* @__PURE__ */ p("div", { ...o }), t[2] = o, t[3] = i) : i = t[3], i;
|
|
21
|
-
};
|
|
22
|
-
export {
|
|
23
|
-
$ as Spacing
|
|
1
|
+
import { mergeComponentProps } from "../../utils/component.js";
|
|
2
|
+
import "../../utils/index.js";
|
|
3
|
+
import '../../assets/Spacing.style.css';/* empty css */
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
|
+
import React from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
const Spacing = (n) => {
|
|
8
|
+
let i = c(4), a;
|
|
9
|
+
if (i[0] !== n) {
|
|
10
|
+
let { spacing: t, ...r } = n;
|
|
11
|
+
a = mergeComponentProps(`spacing spacing--${t}`, r), i[0] = n, i[1] = a;
|
|
12
|
+
} else a = i[1];
|
|
13
|
+
let o;
|
|
14
|
+
return i[2] === a ? o = i[3] : (o = /* @__PURE__ */ jsx("div", { ...a }), i[2] = a, i[3] = o), o;
|
|
24
15
|
};
|
|
16
|
+
export { Spacing };
|
|
@@ -1,67 +1,74 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
1
|
+
import { mergeComponentProps } from "../../utils/component.js";
|
|
2
|
+
import { springs, useObservedValue, useReducedMotionSafe } from "../../utils/motion.js";
|
|
3
|
+
import "../../utils/index.js";
|
|
4
|
+
import '../../assets/Tab.style.css';/* empty css */
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
6
|
+
import React from "react";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { motion } from "motion/react";
|
|
9
|
+
import { Content, List, Tabs, Trigger } from "@radix-ui/react-tabs";
|
|
10
|
+
var TabValueContext = React.createContext({
|
|
11
|
+
layoutId: "tab__indicator",
|
|
12
|
+
orientation: "horizontal"
|
|
13
|
+
});
|
|
14
|
+
const Tab = (i) => {
|
|
15
|
+
let o = c(12), [l, u] = useObservedValue(i.value, i.defaultValue, i.onValueChange), d = React.useId(), f = i.orientation ?? "horizontal", m;
|
|
16
|
+
o[0] !== d || o[1] !== f || o[2] !== l ? (m = {
|
|
17
|
+
value: l,
|
|
18
|
+
layoutId: d,
|
|
19
|
+
orientation: f
|
|
20
|
+
}, o[0] = d, o[1] = f, o[2] = l, o[3] = m) : m = o[3];
|
|
21
|
+
let h;
|
|
22
|
+
o[4] === i ? h = o[5] : (h = mergeComponentProps("tab", i), o[4] = i, o[5] = h);
|
|
23
|
+
let g;
|
|
24
|
+
o[6] !== u || o[7] !== h ? (g = /* @__PURE__ */ jsx(Tabs, {
|
|
25
|
+
"data-slot": "tabs",
|
|
26
|
+
...h,
|
|
27
|
+
onValueChange: u
|
|
28
|
+
}), o[6] = u, o[7] = h, o[8] = g) : g = o[8];
|
|
29
|
+
let _;
|
|
30
|
+
return o[9] !== m || o[10] !== g ? (_ = /* @__PURE__ */ jsx(TabValueContext.Provider, {
|
|
31
|
+
value: m,
|
|
32
|
+
children: g
|
|
33
|
+
}), o[9] = m, o[10] = g, o[11] = _) : _ = o[11], _;
|
|
34
|
+
}, TabList = (i) => {
|
|
35
|
+
let a = c(4), o;
|
|
36
|
+
a[0] === i ? o = a[1] : (o = mergeComponentProps("tab__list", i), a[0] = i, a[1] = o);
|
|
37
|
+
let s;
|
|
38
|
+
return a[2] === o ? s = a[3] : (s = /* @__PURE__ */ jsx(List, {
|
|
39
|
+
"data-slot": "tabs",
|
|
40
|
+
...o
|
|
41
|
+
}), a[2] = o, a[3] = s), s;
|
|
42
|
+
}, TabTrigger = (a) => {
|
|
43
|
+
let d = c(13), { value: f, layoutId: p, orientation: h } = React.useContext(TabValueContext), g = useReducedMotionSafe(), _ = f !== void 0 && f === a.value, v = a.value, y;
|
|
44
|
+
d[0] === a ? y = d[1] : (y = mergeComponentProps("tab__trigger", a), d[0] = a, d[1] = y);
|
|
45
|
+
let b = y, x;
|
|
46
|
+
d[2] !== a.value || d[3] !== b ? (x = /* @__PURE__ */ jsx(Trigger, {
|
|
47
|
+
"data-slot": "tabs",
|
|
48
|
+
"data-value": v,
|
|
49
|
+
...b
|
|
50
|
+
}), d[2] = a.value, d[3] = b, d[4] = x) : x = d[4];
|
|
51
|
+
let S;
|
|
52
|
+
d[5] !== p || d[6] !== g || d[7] !== _ ? (S = _ && /* @__PURE__ */ jsx(motion.span, {
|
|
53
|
+
layoutId: p,
|
|
54
|
+
className: "tab__indicator",
|
|
55
|
+
"aria-hidden": !0,
|
|
56
|
+
transition: g ? { duration: 0 } : springs.ui,
|
|
57
|
+
children: /* @__PURE__ */ jsx("span", { className: "tab__indicator-bar" })
|
|
58
|
+
}), d[5] = p, d[6] = g, d[7] = _, d[8] = S) : S = d[8];
|
|
59
|
+
let C;
|
|
60
|
+
return d[9] !== h || d[10] !== x || d[11] !== S ? (C = /* @__PURE__ */ jsxs("span", {
|
|
61
|
+
className: "tab__trigger-wrapper",
|
|
62
|
+
"data-orientation": h,
|
|
63
|
+
children: [x, S]
|
|
64
|
+
}), d[9] = h, d[10] = x, d[11] = S, d[12] = C) : C = d[12], C;
|
|
65
|
+
}, TabContent = (i) => {
|
|
66
|
+
let a = c(4), o;
|
|
67
|
+
a[0] === i ? o = a[1] : (o = mergeComponentProps("tab__content", i), a[0] = i, a[1] = o);
|
|
68
|
+
let s = o, l;
|
|
69
|
+
return a[2] === s ? l = a[3] : (l = /* @__PURE__ */ jsx(Content, {
|
|
70
|
+
"data-slot": "tabs",
|
|
71
|
+
...s
|
|
72
|
+
}), a[2] = s, a[3] = l), l;
|
|
67
73
|
};
|
|
74
|
+
export { Tab, TabContent, TabList, TabTrigger };
|
|
@@ -1,26 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import "react";
|
|
5
|
-
import
|
|
6
|
-
import "
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
e = c, r = l(`text text--${m === void 0 ? "secondary" : m} text--${s === void 0 ? "sm" : s}`, n), t[0] = i, t[1] = e, t[2] = r;
|
|
19
|
-
} else
|
|
20
|
-
e = t[1], r = t[2];
|
|
21
|
-
let o;
|
|
22
|
-
return t[3] !== e || t[4] !== r ? (o = /* @__PURE__ */ p("span", { ...r, children: e }), t[3] = e, t[4] = r, t[5] = o) : o = t[5], o;
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
g as Text
|
|
1
|
+
import { mergeComponentProps } from "../../utils/component.js";
|
|
2
|
+
import "../../utils/index.js";
|
|
3
|
+
import '../../assets/Text.style.css';/* empty css */
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
|
+
import React from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
const Text = (n) => {
|
|
8
|
+
let i = c(6), a, o;
|
|
9
|
+
if (i[0] !== n) {
|
|
10
|
+
let { size: t, children: r, hierarchy: s, ...l } = n;
|
|
11
|
+
a = r, o = mergeComponentProps(`text text--${s === void 0 ? "secondary" : s} text--${t === void 0 ? "sm" : t}`, l), i[0] = n, i[1] = a, i[2] = o;
|
|
12
|
+
} else a = i[1], o = i[2];
|
|
13
|
+
let s;
|
|
14
|
+
return i[3] !== a || i[4] !== o ? (s = /* @__PURE__ */ jsx("span", {
|
|
15
|
+
...o,
|
|
16
|
+
children: a
|
|
17
|
+
}), i[3] = a, i[4] = o, i[5] = s) : s = i[5], s;
|
|
26
18
|
};
|
|
19
|
+
export { Text };
|