@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,51 +0,0 @@
|
|
|
1
|
-
import { color as c } from "../color/index.js";
|
|
2
|
-
import { colorRegex as g } from "../utils/color-regex.js";
|
|
3
|
-
import { floatRegex as N } from "../utils/float-regex.js";
|
|
4
|
-
import { sanitize as d } from "../utils/sanitize.js";
|
|
5
|
-
function b(t) {
|
|
6
|
-
return isNaN(t) && typeof t == "string" && (t.match(N)?.length || 0) + (t.match(g)?.length || 0) > 0;
|
|
7
|
-
}
|
|
8
|
-
const a = "number", f = "color", T = "var", x = "var(", m = "${}", O = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
|
9
|
-
function l(t) {
|
|
10
|
-
const r = t.toString(), s = [], o = {
|
|
11
|
-
color: [],
|
|
12
|
-
number: [],
|
|
13
|
-
var: []
|
|
14
|
-
}, n = [];
|
|
15
|
-
let e = 0;
|
|
16
|
-
const h = r.replace(O, (i) => (c.test(i) ? (o.color.push(e), n.push(f), s.push(c.parse(i))) : i.startsWith(x) ? (o.var.push(e), n.push(T), s.push(i)) : (o.number.push(e), n.push(a), s.push(parseFloat(i))), ++e, m)).split(m);
|
|
17
|
-
return { values: s, split: h, indexes: o, types: n };
|
|
18
|
-
}
|
|
19
|
-
function R(t) {
|
|
20
|
-
return l(t).values;
|
|
21
|
-
}
|
|
22
|
-
function p({ split: t, types: r }) {
|
|
23
|
-
const s = t.length;
|
|
24
|
-
return (o) => {
|
|
25
|
-
let n = "";
|
|
26
|
-
for (let e = 0; e < s; e++)
|
|
27
|
-
if (n += t[e], o[e] !== void 0) {
|
|
28
|
-
const u = r[e];
|
|
29
|
-
u === a ? n += d(o[e]) : u === f ? n += c.transform(o[e]) : n += o[e];
|
|
30
|
-
}
|
|
31
|
-
return n;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
function y(t) {
|
|
35
|
-
return p(l(t));
|
|
36
|
-
}
|
|
37
|
-
const E = (t) => typeof t == "number" ? 0 : c.test(t) ? c.getAnimatableNone(t) : t, _ = (t, r) => typeof t == "number" ? r?.trim().endsWith("/") ? t : 0 : E(t);
|
|
38
|
-
function K(t) {
|
|
39
|
-
const r = l(t);
|
|
40
|
-
return p(r)(r.values.map((o, n) => _(o, r.split[n])));
|
|
41
|
-
}
|
|
42
|
-
const w = {
|
|
43
|
-
test: b,
|
|
44
|
-
parse: R,
|
|
45
|
-
createTransformer: y,
|
|
46
|
-
getAnimatableNone: K
|
|
47
|
-
};
|
|
48
|
-
export {
|
|
49
|
-
l as analyseComplexValue,
|
|
50
|
-
w as complex
|
|
51
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { complex as e } from "./index.js";
|
|
2
|
-
const n = {
|
|
3
|
-
...e,
|
|
4
|
-
getAnimatableNone: (o) => {
|
|
5
|
-
const t = e.parse(o);
|
|
6
|
-
return e.createTransformer(o)(t.map((r) => typeof r == "number" ? 0 : typeof r == "object" ? { ...r, alpha: 1 } : r));
|
|
7
|
-
}
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
n as mask
|
|
11
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { auto as o } from "./auto.js";
|
|
2
|
-
import { number as r } from "./numbers/index.js";
|
|
3
|
-
import { px as m, percent as t, degrees as i, vw as n, vh as p } from "./numbers/units.js";
|
|
4
|
-
import { testValueType as s } from "./test.js";
|
|
5
|
-
const f = [r, m, t, i, n, p, o], l = (e) => f.find(s(e));
|
|
6
|
-
export {
|
|
7
|
-
f as dimensionValueTypes,
|
|
8
|
-
l as findDimensionValueType
|
|
9
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { color as o } from "../color/index.js";
|
|
2
|
-
import { filter as r } from "../complex/filter.js";
|
|
3
|
-
import { mask as e } from "../complex/mask.js";
|
|
4
|
-
import { numberValueTypes as l } from "./number.js";
|
|
5
|
-
const i = {
|
|
6
|
-
...l,
|
|
7
|
-
// Color props
|
|
8
|
-
color: o,
|
|
9
|
-
backgroundColor: o,
|
|
10
|
-
outlineColor: o,
|
|
11
|
-
fill: o,
|
|
12
|
-
stroke: o,
|
|
13
|
-
// Border props
|
|
14
|
-
borderColor: o,
|
|
15
|
-
borderTopColor: o,
|
|
16
|
-
borderRightColor: o,
|
|
17
|
-
borderBottomColor: o,
|
|
18
|
-
borderLeftColor: o,
|
|
19
|
-
filter: r,
|
|
20
|
-
WebkitFilter: r,
|
|
21
|
-
mask: e,
|
|
22
|
-
WebkitMask: e
|
|
23
|
-
}, a = (t) => i[t];
|
|
24
|
-
export {
|
|
25
|
-
i as defaultValueTypes,
|
|
26
|
-
a as getDefaultValueType
|
|
27
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { int as t } from "../int.js";
|
|
2
|
-
import { alpha as n } from "../numbers/index.js";
|
|
3
|
-
import { px as i } from "../numbers/units.js";
|
|
4
|
-
import { transformValueTypes as o } from "./transform.js";
|
|
5
|
-
const g = {
|
|
6
|
-
// Border props
|
|
7
|
-
borderWidth: i,
|
|
8
|
-
borderTopWidth: i,
|
|
9
|
-
borderRightWidth: i,
|
|
10
|
-
borderBottomWidth: i,
|
|
11
|
-
borderLeftWidth: i,
|
|
12
|
-
borderRadius: i,
|
|
13
|
-
borderTopLeftRadius: i,
|
|
14
|
-
borderTopRightRadius: i,
|
|
15
|
-
borderBottomRightRadius: i,
|
|
16
|
-
borderBottomLeftRadius: i,
|
|
17
|
-
// Positioning props
|
|
18
|
-
width: i,
|
|
19
|
-
maxWidth: i,
|
|
20
|
-
height: i,
|
|
21
|
-
maxHeight: i,
|
|
22
|
-
top: i,
|
|
23
|
-
right: i,
|
|
24
|
-
bottom: i,
|
|
25
|
-
left: i,
|
|
26
|
-
inset: i,
|
|
27
|
-
insetBlock: i,
|
|
28
|
-
insetBlockStart: i,
|
|
29
|
-
insetBlockEnd: i,
|
|
30
|
-
insetInline: i,
|
|
31
|
-
insetInlineStart: i,
|
|
32
|
-
insetInlineEnd: i,
|
|
33
|
-
// Spacing props
|
|
34
|
-
padding: i,
|
|
35
|
-
paddingTop: i,
|
|
36
|
-
paddingRight: i,
|
|
37
|
-
paddingBottom: i,
|
|
38
|
-
paddingLeft: i,
|
|
39
|
-
paddingBlock: i,
|
|
40
|
-
paddingBlockStart: i,
|
|
41
|
-
paddingBlockEnd: i,
|
|
42
|
-
paddingInline: i,
|
|
43
|
-
paddingInlineStart: i,
|
|
44
|
-
paddingInlineEnd: i,
|
|
45
|
-
margin: i,
|
|
46
|
-
marginTop: i,
|
|
47
|
-
marginRight: i,
|
|
48
|
-
marginBottom: i,
|
|
49
|
-
marginLeft: i,
|
|
50
|
-
marginBlock: i,
|
|
51
|
-
marginBlockStart: i,
|
|
52
|
-
marginBlockEnd: i,
|
|
53
|
-
marginInline: i,
|
|
54
|
-
marginInlineStart: i,
|
|
55
|
-
marginInlineEnd: i,
|
|
56
|
-
// Typography
|
|
57
|
-
fontSize: i,
|
|
58
|
-
// Misc
|
|
59
|
-
backgroundPositionX: i,
|
|
60
|
-
backgroundPositionY: i,
|
|
61
|
-
...o,
|
|
62
|
-
zIndex: t,
|
|
63
|
-
// SVG
|
|
64
|
-
fillOpacity: n,
|
|
65
|
-
strokeOpacity: n,
|
|
66
|
-
numOctaves: t
|
|
67
|
-
};
|
|
68
|
-
export {
|
|
69
|
-
g as numberValueTypes
|
|
70
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { alpha as s, scale as r } from "../numbers/index.js";
|
|
2
|
-
import { px as e, progressPercentage as a, degrees as t } from "../numbers/units.js";
|
|
3
|
-
const n = {
|
|
4
|
-
rotate: t,
|
|
5
|
-
/**
|
|
6
|
-
* Internal channel for `transition.path` orientToPath. Composed onto
|
|
7
|
-
* `rotate` at the transform-build sites so the user's `rotate` is
|
|
8
|
-
* never read or overwritten. Not part of `transformPropOrder`.
|
|
9
|
-
*/
|
|
10
|
-
pathRotation: t,
|
|
11
|
-
rotateX: t,
|
|
12
|
-
rotateY: t,
|
|
13
|
-
rotateZ: t,
|
|
14
|
-
scale: r,
|
|
15
|
-
scaleX: r,
|
|
16
|
-
scaleY: r,
|
|
17
|
-
scaleZ: r,
|
|
18
|
-
skew: t,
|
|
19
|
-
skewX: t,
|
|
20
|
-
skewY: t,
|
|
21
|
-
distance: e,
|
|
22
|
-
translateX: e,
|
|
23
|
-
translateY: e,
|
|
24
|
-
translateZ: e,
|
|
25
|
-
x: e,
|
|
26
|
-
y: e,
|
|
27
|
-
z: e,
|
|
28
|
-
perspective: e,
|
|
29
|
-
transformPerspective: e,
|
|
30
|
-
opacity: s,
|
|
31
|
-
originX: a,
|
|
32
|
-
originY: a,
|
|
33
|
-
originZ: e
|
|
34
|
-
};
|
|
35
|
-
export {
|
|
36
|
-
n as transformValueTypes
|
|
37
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { clamp as a } from "../../../../../../motion-utils/dist/es/clamp.js";
|
|
2
|
-
const r = {
|
|
3
|
-
test: (t) => typeof t == "number",
|
|
4
|
-
parse: parseFloat,
|
|
5
|
-
transform: (t) => t
|
|
6
|
-
}, e = {
|
|
7
|
-
...r,
|
|
8
|
-
transform: (t) => a(0, 1, t)
|
|
9
|
-
}, s = {
|
|
10
|
-
...r,
|
|
11
|
-
default: 1
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
e as alpha,
|
|
15
|
-
r as number,
|
|
16
|
-
s as scale
|
|
17
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const s = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
|
|
2
|
-
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
|
|
3
|
-
parse: parseFloat,
|
|
4
|
-
transform: (t) => `${t}${e}`
|
|
5
|
-
}), n = /* @__PURE__ */ s("deg"), r = /* @__PURE__ */ s("%"), o = /* @__PURE__ */ s("px"), p = /* @__PURE__ */ s("vh"), a = /* @__PURE__ */ s("vw"), c = {
|
|
6
|
-
...r,
|
|
7
|
-
parse: (e) => r.parse(e) / 100,
|
|
8
|
-
transform: (e) => r.transform(e * 100)
|
|
9
|
-
};
|
|
10
|
-
export {
|
|
11
|
-
n as degrees,
|
|
12
|
-
r as percent,
|
|
13
|
-
c as progressPercentage,
|
|
14
|
-
o as px,
|
|
15
|
-
p as vh,
|
|
16
|
-
a as vw
|
|
17
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { complex as m } from "../complex/index.js";
|
|
2
|
-
import { filter as n } from "../complex/filter.js";
|
|
3
|
-
import { mask as a } from "../complex/mask.js";
|
|
4
|
-
import { getDefaultValueType as r } from "../maps/defaults.js";
|
|
5
|
-
const i = /* @__PURE__ */ new Set([n, a]);
|
|
6
|
-
function s(t, o) {
|
|
7
|
-
let e = r(t);
|
|
8
|
-
return i.has(e) || (e = m), e.getAnimatableNone ? e.getAnimatableNone(o) : void 0;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
s as getAnimatableNone
|
|
12
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { color as e } from "../color/index.js";
|
|
2
|
-
import { complex as m } from "../complex/index.js";
|
|
3
|
-
import { dimensionValueTypes as p } from "../dimensions.js";
|
|
4
|
-
import { testValueType as r } from "../test.js";
|
|
5
|
-
const t = [...p, e, m], s = (o) => t.find(r(o));
|
|
6
|
-
export {
|
|
7
|
-
s as findValueType
|
|
8
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { isWillChangeMotionValue as o } from "./is.js";
|
|
2
|
-
import { MotionGlobalConfig as i } from "../../../../../motion-utils/dist/es/global-config.js";
|
|
3
|
-
function C(a, n) {
|
|
4
|
-
const l = a.getValue("willChange");
|
|
5
|
-
if (o(l))
|
|
6
|
-
return l.add(n);
|
|
7
|
-
if (!l && i.WillChange) {
|
|
8
|
-
const e = new i.WillChange("auto");
|
|
9
|
-
a.addValue("willChange", e), e.add(n);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
C as addValueToWillChange
|
|
14
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { cubicBezier as r } from "./cubic-bezier.js";
|
|
2
|
-
import { mirrorEasing as o } from "./modifiers/mirror.js";
|
|
3
|
-
import { reverseEasing as t } from "./modifiers/reverse.js";
|
|
4
|
-
const c = /* @__PURE__ */ r(0.33, 1.53, 0.69, 0.99), i = /* @__PURE__ */ t(c), s = /* @__PURE__ */ o(i);
|
|
5
|
-
export {
|
|
6
|
-
i as backIn,
|
|
7
|
-
s as backInOut,
|
|
8
|
-
c as backOut
|
|
9
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { noop as b } from "../noop.js";
|
|
2
|
-
const s = (n, i, r) => (((1 - 3 * r + 3 * i) * n + (3 * r - 6 * i)) * n + 3 * i) * n, f = 1e-7, l = 12;
|
|
3
|
-
function a(n, i, r, c, o) {
|
|
4
|
-
let e, t, u = 0;
|
|
5
|
-
do
|
|
6
|
-
t = i + (r - i) / 2, e = s(t, c, o) - n, e > 0 ? r = t : i = t;
|
|
7
|
-
while (Math.abs(e) > f && ++u < l);
|
|
8
|
-
return t;
|
|
9
|
-
}
|
|
10
|
-
// @__NO_SIDE_EFFECTS__
|
|
11
|
-
function d(n, i, r, c) {
|
|
12
|
-
if (n === i && r === c)
|
|
13
|
-
return b;
|
|
14
|
-
const o = (e) => a(e, 0, 1, n, r);
|
|
15
|
-
return (e) => e === 0 || e === 1 ? e : s(o(e), i, c);
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
d as cubicBezier
|
|
19
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { invariant as e } from "../../errors.js";
|
|
2
|
-
import { noop as c } from "../../noop.js";
|
|
3
|
-
import { anticipate as u } from "../anticipate.js";
|
|
4
|
-
import { backOut as s, backInOut as m, backIn as p } from "../back.js";
|
|
5
|
-
import { circOut as l, circInOut as b, circIn as f } from "../circ.js";
|
|
6
|
-
import { cubicBezier as g } from "../cubic-bezier.js";
|
|
7
|
-
import { easeOut as I, easeInOut as y, easeIn as O } from "../ease.js";
|
|
8
|
-
import { isBezierDefinition as k } from "./is-bezier-definition.js";
|
|
9
|
-
const t = {
|
|
10
|
-
linear: c,
|
|
11
|
-
easeIn: O,
|
|
12
|
-
easeInOut: y,
|
|
13
|
-
easeOut: I,
|
|
14
|
-
circIn: f,
|
|
15
|
-
circInOut: b,
|
|
16
|
-
circOut: l,
|
|
17
|
-
backIn: p,
|
|
18
|
-
backInOut: m,
|
|
19
|
-
backOut: s,
|
|
20
|
-
anticipate: u
|
|
21
|
-
}, v = (r) => typeof r == "string", L = (r) => {
|
|
22
|
-
if (k(r)) {
|
|
23
|
-
e(r.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
|
|
24
|
-
const [i, n, o, a] = r;
|
|
25
|
-
return g(i, n, o, a);
|
|
26
|
-
} else if (v(r))
|
|
27
|
-
return e(t[r] !== void 0, `Invalid easing type '${r}'`, "invalid-easing-type"), t[r];
|
|
28
|
-
return r;
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
L as easingDefinitionToFunction
|
|
32
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { formatErrorMessage as n } from "./format-error-message.js";
|
|
2
|
-
let i = () => {
|
|
3
|
-
}, t = () => {
|
|
4
|
-
};
|
|
5
|
-
typeof process < "u" && process.env?.NODE_ENV !== "production" && (i = (e, o, r) => {
|
|
6
|
-
!e && typeof console < "u" && console.warn(n(o, r));
|
|
7
|
-
}, t = (e, o, r) => {
|
|
8
|
-
if (!e)
|
|
9
|
-
throw new Error(n(o, r));
|
|
10
|
-
});
|
|
11
|
-
export {
|
|
12
|
-
t as invariant,
|
|
13
|
-
i as warning
|
|
14
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { addUniqueItem as e, removeItem as u } from "./array.js";
|
|
2
|
-
class h {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.subscriptions = [];
|
|
5
|
-
}
|
|
6
|
-
add(s) {
|
|
7
|
-
return e(this.subscriptions, s), () => u(this.subscriptions, s);
|
|
8
|
-
}
|
|
9
|
-
notify(s, r, n) {
|
|
10
|
-
const i = this.subscriptions.length;
|
|
11
|
-
if (i)
|
|
12
|
-
if (i === 1)
|
|
13
|
-
this.subscriptions[0](s, r, n);
|
|
14
|
-
else
|
|
15
|
-
for (let t = 0; t < i; t++) {
|
|
16
|
-
const o = this.subscriptions[t];
|
|
17
|
-
o && o(s, r, n);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
getSize() {
|
|
21
|
-
return this.subscriptions.length;
|
|
22
|
-
}
|
|
23
|
-
clear() {
|
|
24
|
-
this.subscriptions.length = 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
h as SubscriptionManager
|
|
29
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __exports as e } from "../../../_virtual/react-compiler-runtime.development.js";
|
|
2
|
-
import a from "react";
|
|
3
|
-
var n;
|
|
4
|
-
function l() {
|
|
5
|
-
return n ? e : (n = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
6
|
-
var t = a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
7
|
-
e.c = function(r) {
|
|
8
|
-
var o = t.H;
|
|
9
|
-
return o === null && console.error(
|
|
10
|
-
`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
11
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
12
|
-
2. You might be breaking the Rules of Hooks
|
|
13
|
-
3. You might have more than one copy of React in the same app
|
|
14
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
|
|
15
|
-
), o.useMemoCache(r);
|
|
16
|
-
};
|
|
17
|
-
})(), e);
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
l as __require
|
|
21
|
-
};
|