@123usmanhaider321/ui 0.1.0
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/README.md +53 -0
- package/dist/_virtual/_commonjsHelpers.js +9 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/customParseFormat.js +5 -0
- package/dist/_virtual/customParseFormat.js.map +1 -0
- package/dist/_virtual/dayjs.min.js +5 -0
- package/dist/_virtual/dayjs.min.js.map +1 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index2.js +5 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime.js.map +1 -0
- package/dist/_virtual/react-is.development.js +5 -0
- package/dist/_virtual/react-is.development.js.map +1 -0
- package/dist/_virtual/react-is.production.min.js +5 -0
- package/dist/_virtual/react-is.production.min.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.development.js +5 -0
- package/dist/_virtual/react-jsx-runtime.development.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.js +5 -0
- package/dist/_virtual/react-jsx-runtime.production.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-with-selector.development.js +5 -0
- package/dist/_virtual/use-sync-external-store-with-selector.development.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-with-selector.production.js +5 -0
- package/dist/_virtual/use-sync-external-store-with-selector.production.js.map +1 -0
- package/dist/_virtual/with-selector.js +5 -0
- package/dist/_virtual/with-selector.js.map +1 -0
- package/dist/components/Alert/Alert.d.ts +10 -0
- package/dist/components/Alert/Alert.js +54 -0
- package/dist/components/Alert/Alert.js.map +1 -0
- package/dist/components/Button/Button.d.ts +8 -0
- package/dist/components/Button/Button.js +52 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Button/Button.test.d.ts +1 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +9 -0
- package/dist/components/Checkbox/Checkbox.js +50 -0
- package/dist/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +25 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.js +99 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.js.map +1 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.d.ts +15 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.js +138 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.js.map +1 -0
- package/dist/components/ConfirmationModal/index.d.ts +2 -0
- package/dist/components/CustomSelect/CustomSelect.d.ts +32 -0
- package/dist/components/CustomSelect/CustomSelect.js +261 -0
- package/dist/components/CustomSelect/CustomSelect.js.map +1 -0
- package/dist/components/FormBuilder/CategoryList.d.ts +14 -0
- package/dist/components/FormBuilder/CategoryList.js +242 -0
- package/dist/components/FormBuilder/CategoryList.js.map +1 -0
- package/dist/components/FormBuilder/DiscountInput.d.ts +21 -0
- package/dist/components/FormBuilder/DiscountInput.js +367 -0
- package/dist/components/FormBuilder/DiscountInput.js.map +1 -0
- package/dist/components/FormBuilder/FormBuilder.d.ts +30 -0
- package/dist/components/FormBuilder/FormBuilder.js +921 -0
- package/dist/components/FormBuilder/FormBuilder.js.map +1 -0
- package/dist/components/FormBuilder/OptionList.d.ts +10 -0
- package/dist/components/FormBuilder/OptionList.js +120 -0
- package/dist/components/FormBuilder/OptionList.js.map +1 -0
- package/dist/components/FormBuilder/PaymentPreview.d.ts +12 -0
- package/dist/components/FormBuilder/PaymentPreview.js +70 -0
- package/dist/components/FormBuilder/PaymentPreview.js.map +1 -0
- package/dist/components/FormBuilder/PreviewInput.d.ts +10 -0
- package/dist/components/FormBuilder/PreviewInput.js +154 -0
- package/dist/components/FormBuilder/PreviewInput.js.map +1 -0
- package/dist/components/FormBuilder/QuestionCard.d.ts +34 -0
- package/dist/components/FormBuilder/QuestionCard.js +253 -0
- package/dist/components/FormBuilder/QuestionCard.js.map +1 -0
- package/dist/components/FormBuilder/QuestionEditor.d.ts +24 -0
- package/dist/components/FormBuilder/QuestionEditor.js +166 -0
- package/dist/components/FormBuilder/QuestionEditor.js.map +1 -0
- package/dist/components/FormBuilder/RequiredToggle.d.ts +11 -0
- package/dist/components/FormBuilder/RequiredToggle.js +43 -0
- package/dist/components/FormBuilder/RequiredToggle.js.map +1 -0
- package/dist/components/FormBuilder/SortableQuestionList.d.ts +36 -0
- package/dist/components/FormBuilder/SortableQuestionList.js +137 -0
- package/dist/components/FormBuilder/SortableQuestionList.js.map +1 -0
- package/dist/components/FormBuilder/index.d.ts +4 -0
- package/dist/components/FormBuilder/types.d.ts +41 -0
- package/dist/components/FormBuilder/utils.d.ts +9 -0
- package/dist/components/FormBuilder/utils.js +229 -0
- package/dist/components/FormBuilder/utils.js.map +1 -0
- package/dist/components/FormInput/FormInput.d.ts +29 -0
- package/dist/components/FormInput/FormInput.js +126 -0
- package/dist/components/FormInput/FormInput.js.map +1 -0
- package/dist/components/FormInput/FormInput.test.d.ts +1 -0
- package/dist/components/FormInput/index.d.ts +2 -0
- package/dist/components/InformationPopover/InformationPopover.d.ts +7 -0
- package/dist/components/InformationPopover/InformationPopover.js +19 -0
- package/dist/components/InformationPopover/InformationPopover.js.map +1 -0
- package/dist/components/InputErrorMessage/InputErrorMessage.d.ts +5 -0
- package/dist/components/InputErrorMessage/InputErrorMessage.js +22 -0
- package/dist/components/InputErrorMessage/InputErrorMessage.js.map +1 -0
- package/dist/components/Modal/Modal.d.ts +15 -0
- package/dist/components/Modal/Modal.js +74 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Radio/Radio.d.ts +6 -0
- package/dist/components/Radio/Radio.js +35 -0
- package/dist/components/Radio/Radio.js.map +1 -0
- package/dist/components/StepperForm/AddEventLayout.d.ts +66 -0
- package/dist/components/StepperForm/AddEventLayout.js +220 -0
- package/dist/components/StepperForm/AddEventLayout.js.map +1 -0
- package/dist/components/StepperForm/EventSubmissionConfirmationModal.d.ts +19 -0
- package/dist/components/StepperForm/EventSubmissionConfirmationModal.js +296 -0
- package/dist/components/StepperForm/EventSubmissionConfirmationModal.js.map +1 -0
- package/dist/components/StepperForm/index.d.ts +8 -0
- package/dist/components/StepperForm/schemas/step1.d.ts +47 -0
- package/dist/components/StepperForm/schemas/step1.js +130 -0
- package/dist/components/StepperForm/schemas/step1.js.map +1 -0
- package/dist/components/StepperForm/schemas/step2.d.ts +138 -0
- package/dist/components/StepperForm/schemas/step2.js +95 -0
- package/dist/components/StepperForm/schemas/step2.js.map +1 -0
- package/dist/components/StepperForm/schemas/utils.d.ts +7 -0
- package/dist/components/StepperForm/schemas/utils.js +28 -0
- package/dist/components/StepperForm/schemas/utils.js.map +1 -0
- package/dist/components/StepperForm/types.d.ts +10 -0
- package/dist/components/StepperForm/useStepperForm.d.ts +81 -0
- package/dist/components/StepperForm/useStepperForm.js +366 -0
- package/dist/components/StepperForm/useStepperForm.js.map +1 -0
- package/dist/components/Toggle/Toggle.d.ts +16 -0
- package/dist/components/Toggle/Toggle.js +67 -0
- package/dist/components/Toggle/Toggle.js.map +1 -0
- package/dist/components/Toggle/index.d.ts +2 -0
- package/dist/components/Tooltip/Tooltip.d.ts +12 -0
- package/dist/components/Tooltip/Tooltip.js +135 -0
- package/dist/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +55 -0
- package/dist/index.js.map +1 -0
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +60 -0
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js.map +1 -0
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +3458 -0
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.js.map +1 -0
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +593 -0
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js.map +1 -0
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +302 -0
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js.map +1 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +538 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +626 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +510 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +1 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +17 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +1 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +269 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +177 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +150 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +3179 -0
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js.map +1 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +60 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js.map +1 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js +400 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/description/description.js +40 -0
- package/dist/node_modules/@headlessui/react/dist/components/description/description.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.js +111 -0
- package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js +133 -0
- package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.js +5 -0
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/label/label.js +62 -0
- package/dist/node_modules/@headlessui/react/dist/components/label/label.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js +22 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js +127 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js +206 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/mouse.js +5 -0
- package/dist/node_modules/@headlessui/react/dist/components/mouse.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js +65 -0
- package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js +136 -0
- package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js +53 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js +39 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js +34 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js +10 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js +27 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js +10 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js +42 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js +17 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js +29 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js +39 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js +33 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.js +39 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js +17 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-store.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-store.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js +21 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js +18 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js +17 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js +74 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js +19 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/close-provider.js +10 -0
- package/dist/node_modules/@headlessui/react/dist/internal/close-provider.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/disabled.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/internal/disabled.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/floating.js +155 -0
- package/dist/node_modules/@headlessui/react/dist/internal/floating.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/id.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/internal/id.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js +20 -0
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/machine.js +83 -0
- package/dist/node_modules/@headlessui/react/dist/machine.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js +39 -0
- package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/react-glue.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/react-glue.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.js +20 -0
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js +41 -0
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/default-map.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/utils/default-map.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.js +41 -0
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js +10 -0
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/dom.js +47 -0
- package/dist/node_modules/@headlessui/react/dist/utils/dom.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js +23 -0
- package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/env.js +39 -0
- package/dist/node_modules/@headlessui/react/dist/utils/env.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js +98 -0
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js +32 -0
- package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/match.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/utils/match.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/owner.js +23 -0
- package/dist/node_modules/@headlessui/react/dist/utils/owner.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/platform.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/utils/platform.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/render.js +134 -0
- package/dist/node_modules/@headlessui/react/dist/utils/render.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/store.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/utils/store.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js +29 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js.map +1 -0
- package/dist/node_modules/@react-aria/focus/dist/useFocusRing.js +49 -0
- package/dist/node_modules/@react-aria/focus/dist/useFocusRing.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.js +42 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.js +170 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.js +76 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useHover.js +125 -0
- package/dist/node_modules/@react-aria/interactions/dist/useHover.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/utils.js +86 -0
- package/dist/node_modules/@react-aria/interactions/dist/utils.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.js +37 -0
- package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/domHelpers.js +21 -0
- package/dist/node_modules/@react-aria/utils/dist/domHelpers.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js +56 -0
- package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.js +10 -0
- package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/openLink.js +35 -0
- package/dist/node_modules/@react-aria/utils/dist/openLink.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/platform.js +57 -0
- package/dist/node_modules/@react-aria/utils/dist/platform.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.js +44 -0
- package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.js +7 -0
- package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.js.map +1 -0
- package/dist/node_modules/@react-stately/flags/dist/import.js +8 -0
- package/dist/node_modules/@react-stately/flags/dist/import.js.map +1 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/dayjs/dayjs.min.js +283 -0
- package/dist/node_modules/dayjs/dayjs.min.js.map +1 -0
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +130 -0
- package/dist/node_modules/dayjs/plugin/customParseFormat.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +85 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +50 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +87 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +430 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +94 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +216 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +51 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +62 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +42 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +112 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +67 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +70 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +109 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +67 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +40 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +52 -0
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +33 -0
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/html-mask-element.js +79 -0
- package/dist/node_modules/imask/esm/controls/html-mask-element.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/input-history.js +37 -0
- package/dist/node_modules/imask/esm/controls/input-history.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/input.js +309 -0
- package/dist/node_modules/imask/esm/controls/input.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/mask-element.js +44 -0
- package/dist/node_modules/imask/esm/controls/mask-element.js.map +1 -0
- package/dist/node_modules/imask/esm/core/action-details.js +58 -0
- package/dist/node_modules/imask/esm/core/action-details.js.map +1 -0
- package/dist/node_modules/imask/esm/core/change-details.js +41 -0
- package/dist/node_modules/imask/esm/core/change-details.js.map +1 -0
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js +53 -0
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js.map +1 -0
- package/dist/node_modules/imask/esm/core/holder.js +7 -0
- package/dist/node_modules/imask/esm/core/holder.js.map +1 -0
- package/dist/node_modules/imask/esm/core/utils.js +71 -0
- package/dist/node_modules/imask/esm/core/utils.js.map +1 -0
- package/dist/node_modules/imask/esm/index.js +51 -0
- package/dist/node_modules/imask/esm/index.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/base.js +359 -0
- package/dist/node_modules/imask/esm/masked/base.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/date.js +132 -0
- package/dist/node_modules/imask/esm/masked/date.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/dynamic.js +318 -0
- package/dist/node_modules/imask/esm/masked/dynamic.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/enum.js +99 -0
- package/dist/node_modules/imask/esm/masked/enum.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/factory.js +63 -0
- package/dist/node_modules/imask/esm/masked/factory.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/function.js +24 -0
- package/dist/node_modules/imask/esm/masked/function.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/number.js +287 -0
- package/dist/node_modules/imask/esm/masked/number.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +139 -0
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js +122 -0
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +147 -0
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +177 -0
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pattern.js +432 -0
- package/dist/node_modules/imask/esm/masked/pattern.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pipe.js +32 -0
- package/dist/node_modules/imask/esm/masked/pipe.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/range.js +110 -0
- package/dist/node_modules/imask/esm/masked/range.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/regexp.js +23 -0
- package/dist/node_modules/imask/esm/masked/regexp.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/repeat.js +133 -0
- package/dist/node_modules/imask/esm/masked/repeat.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +39 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/context.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/context.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +31 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +21 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +19 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/copy.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/copy.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/eye.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/eye.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +18 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/plus.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +20 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +24 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/user.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/user.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/users.js +19 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/users.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js +18 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js +13 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js +11 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +159 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +300 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +165 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +52 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +68 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +247 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +70 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +72 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +109 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +133 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +44 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +68 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +63 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +63 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +33 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +61 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +88 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +58 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +41 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +35 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +1123 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +88 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +432 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +84 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +43 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +49 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +46 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +60 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +229 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +63 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +54 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +45 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +84 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +290 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +40 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +93 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +71 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +14 -0
- package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +29 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +10 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +39 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +23 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +13 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +33 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +79 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +69 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +59 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +452 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +18 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +13 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +12 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +166 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +107 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +18 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +271 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +42 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.js +13 -0
- package/dist/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/node_modules/react-icons/fa/index.js +9 -0
- package/dist/node_modules/react-icons/fa/index.js.map +1 -0
- package/dist/node_modules/react-icons/fi/index.js +9 -0
- package/dist/node_modules/react-icons/fi/index.js.map +1 -0
- package/dist/node_modules/react-icons/lib/iconBase.js +110 -0
- package/dist/node_modules/react-icons/lib/iconBase.js.map +1 -0
- package/dist/node_modules/react-icons/lib/iconContext.js +14 -0
- package/dist/node_modules/react-icons/lib/iconContext.js.map +1 -0
- package/dist/node_modules/react-imask/esm/input.js +28 -0
- package/dist/node_modules/react-imask/esm/input.js.map +1 -0
- package/dist/node_modules/react-imask/esm/mixin.js +172 -0
- package/dist/node_modules/react-imask/esm/mixin.js.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2467 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +81 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +77 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js +13 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/compat.js +8 -0
- package/dist/node_modules/zod/v4/classic/compat.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/errors.js +45 -0
- package/dist/node_modules/zod/v4/classic/errors.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/iso.js +44 -0
- package/dist/node_modules/zod/v4/classic/iso.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/parse.js +30 -0
- package/dist/node_modules/zod/v4/classic/parse.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +693 -0
- package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -0
- package/dist/node_modules/zod/v4/core/api.js +570 -0
- package/dist/node_modules/zod/v4/core/api.js.map +1 -0
- package/dist/node_modules/zod/v4/core/checks.js +411 -0
- package/dist/node_modules/zod/v4/core/checks.js.map +1 -0
- package/dist/node_modules/zod/v4/core/core.js +75 -0
- package/dist/node_modules/zod/v4/core/core.js.map +1 -0
- package/dist/node_modules/zod/v4/core/doc.js +38 -0
- package/dist/node_modules/zod/v4/core/doc.js.map +1 -0
- package/dist/node_modules/zod/v4/core/errors.js +73 -0
- package/dist/node_modules/zod/v4/core/errors.js.map +1 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +355 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +1 -0
- package/dist/node_modules/zod/v4/core/parse.js +96 -0
- package/dist/node_modules/zod/v4/core/parse.js.map +1 -0
- package/dist/node_modules/zod/v4/core/regexes.js +82 -0
- package/dist/node_modules/zod/v4/core/regexes.js.map +1 -0
- package/dist/node_modules/zod/v4/core/registries.js +52 -0
- package/dist/node_modules/zod/v4/core/registries.js.map +1 -0
- package/dist/node_modules/zod/v4/core/schemas.js +1369 -0
- package/dist/node_modules/zod/v4/core/schemas.js.map +1 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js +363 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js.map +1 -0
- package/dist/node_modules/zod/v4/core/util.js +431 -0
- package/dist/node_modules/zod/v4/core/util.js.map +1 -0
- package/dist/node_modules/zod/v4/core/versions.js +9 -0
- package/dist/node_modules/zod/v4/core/versions.js.map +1 -0
- package/dist/setupTests.d.ts +1 -0
- package/dist/stories/Alert.stories.d.ts +10 -0
- package/dist/stories/Button.stories.d.ts +13 -0
- package/dist/styles.css +605 -0
- package/dist/utils/cn.d.ts +6 -0
- package/dist/utils/cn.js +9 -0
- package/dist/utils/cn.js.map +1 -0
- package/package.json +82 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import { time } from "../frameloop/sync-time.js";
|
|
2
|
+
import { frame } from "../frameloop/frame.js";
|
|
3
|
+
import { warnOnce } from "../../../../motion-utils/dist/es/warn-once.js";
|
|
4
|
+
import { SubscriptionManager } from "../../../../motion-utils/dist/es/subscription-manager.js";
|
|
5
|
+
import { velocityPerSecond } from "../../../../motion-utils/dist/es/velocity-per-second.js";
|
|
6
|
+
const MAX_VELOCITY_DELTA = 30;
|
|
7
|
+
const isFloat = (value) => {
|
|
8
|
+
return !isNaN(parseFloat(value));
|
|
9
|
+
};
|
|
10
|
+
class MotionValue {
|
|
11
|
+
/**
|
|
12
|
+
* @param init - The initiating value
|
|
13
|
+
* @param config - Optional configuration options
|
|
14
|
+
*
|
|
15
|
+
* - `transformer`: A function to transform incoming values with.
|
|
16
|
+
*/
|
|
17
|
+
constructor(init, options = {}) {
|
|
18
|
+
this.canTrackVelocity = null;
|
|
19
|
+
this.events = {};
|
|
20
|
+
this.updateAndNotify = (v) => {
|
|
21
|
+
var _a;
|
|
22
|
+
const currentTime = time.now();
|
|
23
|
+
if (this.updatedAt !== currentTime) {
|
|
24
|
+
this.setPrevFrameValue();
|
|
25
|
+
}
|
|
26
|
+
this.prev = this.current;
|
|
27
|
+
this.setCurrent(v);
|
|
28
|
+
if (this.current !== this.prev) {
|
|
29
|
+
(_a = this.events.change) == null ? void 0 : _a.notify(this.current);
|
|
30
|
+
if (this.dependents) {
|
|
31
|
+
for (const dependent of this.dependents) {
|
|
32
|
+
dependent.dirty();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
this.hasAnimated = false;
|
|
38
|
+
this.setCurrent(init);
|
|
39
|
+
this.owner = options.owner;
|
|
40
|
+
}
|
|
41
|
+
setCurrent(current) {
|
|
42
|
+
this.current = current;
|
|
43
|
+
this.updatedAt = time.now();
|
|
44
|
+
if (this.canTrackVelocity === null && current !== void 0) {
|
|
45
|
+
this.canTrackVelocity = isFloat(this.current);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
setPrevFrameValue(prevFrameValue = this.current) {
|
|
49
|
+
this.prevFrameValue = prevFrameValue;
|
|
50
|
+
this.prevUpdatedAt = this.updatedAt;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Adds a function that will be notified when the `MotionValue` is updated.
|
|
54
|
+
*
|
|
55
|
+
* It returns a function that, when called, will cancel the subscription.
|
|
56
|
+
*
|
|
57
|
+
* When calling `onChange` inside a React component, it should be wrapped with the
|
|
58
|
+
* `useEffect` hook. As it returns an unsubscribe function, this should be returned
|
|
59
|
+
* from the `useEffect` function to ensure you don't add duplicate subscribers..
|
|
60
|
+
*
|
|
61
|
+
* ```jsx
|
|
62
|
+
* export const MyComponent = () => {
|
|
63
|
+
* const x = useMotionValue(0)
|
|
64
|
+
* const y = useMotionValue(0)
|
|
65
|
+
* const opacity = useMotionValue(1)
|
|
66
|
+
*
|
|
67
|
+
* useEffect(() => {
|
|
68
|
+
* function updateOpacity() {
|
|
69
|
+
* const maxXY = Math.max(x.get(), y.get())
|
|
70
|
+
* const newOpacity = transform(maxXY, [0, 100], [1, 0])
|
|
71
|
+
* opacity.set(newOpacity)
|
|
72
|
+
* }
|
|
73
|
+
*
|
|
74
|
+
* const unsubscribeX = x.on("change", updateOpacity)
|
|
75
|
+
* const unsubscribeY = y.on("change", updateOpacity)
|
|
76
|
+
*
|
|
77
|
+
* return () => {
|
|
78
|
+
* unsubscribeX()
|
|
79
|
+
* unsubscribeY()
|
|
80
|
+
* }
|
|
81
|
+
* }, [])
|
|
82
|
+
*
|
|
83
|
+
* return <motion.div style={{ x }} />
|
|
84
|
+
* }
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @param subscriber - A function that receives the latest value.
|
|
88
|
+
* @returns A function that, when called, will cancel this subscription.
|
|
89
|
+
*
|
|
90
|
+
* @deprecated
|
|
91
|
+
*/
|
|
92
|
+
onChange(subscription) {
|
|
93
|
+
if (process.env.NODE_ENV !== "production") {
|
|
94
|
+
warnOnce(false, `value.onChange(callback) is deprecated. Switch to value.on("change", callback).`);
|
|
95
|
+
}
|
|
96
|
+
return this.on("change", subscription);
|
|
97
|
+
}
|
|
98
|
+
on(eventName, callback) {
|
|
99
|
+
if (!this.events[eventName]) {
|
|
100
|
+
this.events[eventName] = new SubscriptionManager();
|
|
101
|
+
}
|
|
102
|
+
const unsubscribe = this.events[eventName].add(callback);
|
|
103
|
+
if (eventName === "change") {
|
|
104
|
+
return () => {
|
|
105
|
+
unsubscribe();
|
|
106
|
+
frame.read(() => {
|
|
107
|
+
if (!this.events.change.getSize()) {
|
|
108
|
+
this.stop();
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
return unsubscribe;
|
|
114
|
+
}
|
|
115
|
+
clearListeners() {
|
|
116
|
+
for (const eventManagers in this.events) {
|
|
117
|
+
this.events[eventManagers].clear();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Attaches a passive effect to the `MotionValue`.
|
|
122
|
+
*/
|
|
123
|
+
attach(passiveEffect, stopPassiveEffect) {
|
|
124
|
+
this.passiveEffect = passiveEffect;
|
|
125
|
+
this.stopPassiveEffect = stopPassiveEffect;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Sets the state of the `MotionValue`.
|
|
129
|
+
*
|
|
130
|
+
* @remarks
|
|
131
|
+
*
|
|
132
|
+
* ```jsx
|
|
133
|
+
* const x = useMotionValue(0)
|
|
134
|
+
* x.set(10)
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
137
|
+
* @param latest - Latest value to set.
|
|
138
|
+
* @param render - Whether to notify render subscribers. Defaults to `true`
|
|
139
|
+
*
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
set(v) {
|
|
143
|
+
if (!this.passiveEffect) {
|
|
144
|
+
this.updateAndNotify(v);
|
|
145
|
+
} else {
|
|
146
|
+
this.passiveEffect(v, this.updateAndNotify);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
setWithVelocity(prev, current, delta) {
|
|
150
|
+
this.set(current);
|
|
151
|
+
this.prev = void 0;
|
|
152
|
+
this.prevFrameValue = prev;
|
|
153
|
+
this.prevUpdatedAt = this.updatedAt - delta;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Set the state of the `MotionValue`, stopping any active animations,
|
|
157
|
+
* effects, and resets velocity to `0`.
|
|
158
|
+
*/
|
|
159
|
+
jump(v, endAnimation = true) {
|
|
160
|
+
this.updateAndNotify(v);
|
|
161
|
+
this.prev = v;
|
|
162
|
+
this.prevUpdatedAt = this.prevFrameValue = void 0;
|
|
163
|
+
endAnimation && this.stop();
|
|
164
|
+
if (this.stopPassiveEffect)
|
|
165
|
+
this.stopPassiveEffect();
|
|
166
|
+
}
|
|
167
|
+
dirty() {
|
|
168
|
+
var _a;
|
|
169
|
+
(_a = this.events.change) == null ? void 0 : _a.notify(this.current);
|
|
170
|
+
}
|
|
171
|
+
addDependent(dependent) {
|
|
172
|
+
if (!this.dependents) {
|
|
173
|
+
this.dependents = /* @__PURE__ */ new Set();
|
|
174
|
+
}
|
|
175
|
+
this.dependents.add(dependent);
|
|
176
|
+
}
|
|
177
|
+
removeDependent(dependent) {
|
|
178
|
+
if (this.dependents) {
|
|
179
|
+
this.dependents.delete(dependent);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Returns the latest state of `MotionValue`
|
|
184
|
+
*
|
|
185
|
+
* @returns - The latest state of `MotionValue`
|
|
186
|
+
*
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
get() {
|
|
190
|
+
return this.current;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
getPrevious() {
|
|
196
|
+
return this.prev;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Returns the latest velocity of `MotionValue`
|
|
200
|
+
*
|
|
201
|
+
* @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.
|
|
202
|
+
*
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
getVelocity() {
|
|
206
|
+
const currentTime = time.now();
|
|
207
|
+
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || currentTime - this.updatedAt > MAX_VELOCITY_DELTA) {
|
|
208
|
+
return 0;
|
|
209
|
+
}
|
|
210
|
+
const delta = Math.min(this.updatedAt - this.prevUpdatedAt, MAX_VELOCITY_DELTA);
|
|
211
|
+
return velocityPerSecond(parseFloat(this.current) - parseFloat(this.prevFrameValue), delta);
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Registers a new animation to control this `MotionValue`. Only one
|
|
215
|
+
* animation can drive a `MotionValue` at one time.
|
|
216
|
+
*
|
|
217
|
+
* ```jsx
|
|
218
|
+
* value.start()
|
|
219
|
+
* ```
|
|
220
|
+
*
|
|
221
|
+
* @param animation - A function that starts the provided animation
|
|
222
|
+
*/
|
|
223
|
+
start(startAnimation) {
|
|
224
|
+
this.stop();
|
|
225
|
+
return new Promise((resolve) => {
|
|
226
|
+
this.hasAnimated = true;
|
|
227
|
+
this.animation = startAnimation(resolve);
|
|
228
|
+
if (this.events.animationStart) {
|
|
229
|
+
this.events.animationStart.notify();
|
|
230
|
+
}
|
|
231
|
+
}).then(() => {
|
|
232
|
+
if (this.events.animationComplete) {
|
|
233
|
+
this.events.animationComplete.notify();
|
|
234
|
+
}
|
|
235
|
+
this.clearAnimation();
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Stop the currently active animation.
|
|
240
|
+
*
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
stop() {
|
|
244
|
+
if (this.animation) {
|
|
245
|
+
this.animation.stop();
|
|
246
|
+
if (this.events.animationCancel) {
|
|
247
|
+
this.events.animationCancel.notify();
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
this.clearAnimation();
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Returns `true` if this value is currently animating.
|
|
254
|
+
*
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
isAnimating() {
|
|
258
|
+
return !!this.animation;
|
|
259
|
+
}
|
|
260
|
+
clearAnimation() {
|
|
261
|
+
delete this.animation;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Destroy and clean up subscribers to this `MotionValue`.
|
|
265
|
+
*
|
|
266
|
+
* The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically
|
|
267
|
+
* handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually
|
|
268
|
+
* created a `MotionValue` via the `motionValue` function.
|
|
269
|
+
*
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
destroy() {
|
|
273
|
+
var _a, _b;
|
|
274
|
+
(_a = this.dependents) == null ? void 0 : _a.clear();
|
|
275
|
+
(_b = this.events.destroy) == null ? void 0 : _b.notify();
|
|
276
|
+
this.clearListeners();
|
|
277
|
+
this.stop();
|
|
278
|
+
if (this.stopPassiveEffect) {
|
|
279
|
+
this.stopPassiveEffect();
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
function motionValue(init, options) {
|
|
284
|
+
return new MotionValue(init, options);
|
|
285
|
+
}
|
|
286
|
+
export {
|
|
287
|
+
MotionValue,
|
|
288
|
+
motionValue
|
|
289
|
+
};
|
|
290
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/motion-dom/dist/es/value/index.mjs"],"sourcesContent":["import { warnOnce, SubscriptionManager, velocityPerSecond } from 'motion-utils';\nimport { time } from '../frameloop/sync-time.mjs';\nimport { frame } from '../frameloop/frame.mjs';\n\n/**\n * Maximum time between the value of two frames, beyond which we\n * assume the velocity has since been 0.\n */\nconst MAX_VELOCITY_DELTA = 30;\nconst isFloat = (value) => {\n return !isNaN(parseFloat(value));\n};\nconst collectMotionValues = {\n current: undefined,\n};\n/**\n * `MotionValue` is used to track the state and velocity of motion values.\n *\n * @public\n */\nclass MotionValue {\n /**\n * @param init - The initiating value\n * @param config - Optional configuration options\n *\n * - `transformer`: A function to transform incoming values with.\n */\n constructor(init, options = {}) {\n /**\n * Tracks whether this value can output a velocity. Currently this is only true\n * if the value is numerical, but we might be able to widen the scope here and support\n * other value types.\n *\n * @internal\n */\n this.canTrackVelocity = null;\n /**\n * An object containing a SubscriptionManager for each active event.\n */\n this.events = {};\n this.updateAndNotify = (v) => {\n const currentTime = time.now();\n /**\n * If we're updating the value during another frame or eventloop\n * than the previous frame, then the we set the previous frame value\n * to current.\n */\n if (this.updatedAt !== currentTime) {\n this.setPrevFrameValue();\n }\n this.prev = this.current;\n this.setCurrent(v);\n // Update update subscribers\n if (this.current !== this.prev) {\n this.events.change?.notify(this.current);\n if (this.dependents) {\n for (const dependent of this.dependents) {\n dependent.dirty();\n }\n }\n }\n };\n this.hasAnimated = false;\n this.setCurrent(init);\n this.owner = options.owner;\n }\n setCurrent(current) {\n this.current = current;\n this.updatedAt = time.now();\n if (this.canTrackVelocity === null && current !== undefined) {\n this.canTrackVelocity = isFloat(this.current);\n }\n }\n setPrevFrameValue(prevFrameValue = this.current) {\n this.prevFrameValue = prevFrameValue;\n this.prevUpdatedAt = this.updatedAt;\n }\n /**\n * Adds a function that will be notified when the `MotionValue` is updated.\n *\n * It returns a function that, when called, will cancel the subscription.\n *\n * When calling `onChange` inside a React component, it should be wrapped with the\n * `useEffect` hook. As it returns an unsubscribe function, this should be returned\n * from the `useEffect` function to ensure you don't add duplicate subscribers..\n *\n * ```jsx\n * export const MyComponent = () => {\n * const x = useMotionValue(0)\n * const y = useMotionValue(0)\n * const opacity = useMotionValue(1)\n *\n * useEffect(() => {\n * function updateOpacity() {\n * const maxXY = Math.max(x.get(), y.get())\n * const newOpacity = transform(maxXY, [0, 100], [1, 0])\n * opacity.set(newOpacity)\n * }\n *\n * const unsubscribeX = x.on(\"change\", updateOpacity)\n * const unsubscribeY = y.on(\"change\", updateOpacity)\n *\n * return () => {\n * unsubscribeX()\n * unsubscribeY()\n * }\n * }, [])\n *\n * return <motion.div style={{ x }} />\n * }\n * ```\n *\n * @param subscriber - A function that receives the latest value.\n * @returns A function that, when called, will cancel this subscription.\n *\n * @deprecated\n */\n onChange(subscription) {\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(false, `value.onChange(callback) is deprecated. Switch to value.on(\"change\", callback).`);\n }\n return this.on(\"change\", subscription);\n }\n on(eventName, callback) {\n if (!this.events[eventName]) {\n this.events[eventName] = new SubscriptionManager();\n }\n const unsubscribe = this.events[eventName].add(callback);\n if (eventName === \"change\") {\n return () => {\n unsubscribe();\n /**\n * If we have no more change listeners by the start\n * of the next frame, stop active animations.\n */\n frame.read(() => {\n if (!this.events.change.getSize()) {\n this.stop();\n }\n });\n };\n }\n return unsubscribe;\n }\n clearListeners() {\n for (const eventManagers in this.events) {\n this.events[eventManagers].clear();\n }\n }\n /**\n * Attaches a passive effect to the `MotionValue`.\n */\n attach(passiveEffect, stopPassiveEffect) {\n this.passiveEffect = passiveEffect;\n this.stopPassiveEffect = stopPassiveEffect;\n }\n /**\n * Sets the state of the `MotionValue`.\n *\n * @remarks\n *\n * ```jsx\n * const x = useMotionValue(0)\n * x.set(10)\n * ```\n *\n * @param latest - Latest value to set.\n * @param render - Whether to notify render subscribers. Defaults to `true`\n *\n * @public\n */\n set(v) {\n if (!this.passiveEffect) {\n this.updateAndNotify(v);\n }\n else {\n this.passiveEffect(v, this.updateAndNotify);\n }\n }\n setWithVelocity(prev, current, delta) {\n this.set(current);\n this.prev = undefined;\n this.prevFrameValue = prev;\n this.prevUpdatedAt = this.updatedAt - delta;\n }\n /**\n * Set the state of the `MotionValue`, stopping any active animations,\n * effects, and resets velocity to `0`.\n */\n jump(v, endAnimation = true) {\n this.updateAndNotify(v);\n this.prev = v;\n this.prevUpdatedAt = this.prevFrameValue = undefined;\n endAnimation && this.stop();\n if (this.stopPassiveEffect)\n this.stopPassiveEffect();\n }\n dirty() {\n this.events.change?.notify(this.current);\n }\n addDependent(dependent) {\n if (!this.dependents) {\n this.dependents = new Set();\n }\n this.dependents.add(dependent);\n }\n removeDependent(dependent) {\n if (this.dependents) {\n this.dependents.delete(dependent);\n }\n }\n /**\n * Returns the latest state of `MotionValue`\n *\n * @returns - The latest state of `MotionValue`\n *\n * @public\n */\n get() {\n if (collectMotionValues.current) {\n collectMotionValues.current.push(this);\n }\n return this.current;\n }\n /**\n * @public\n */\n getPrevious() {\n return this.prev;\n }\n /**\n * Returns the latest velocity of `MotionValue`\n *\n * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.\n *\n * @public\n */\n getVelocity() {\n const currentTime = time.now();\n if (!this.canTrackVelocity ||\n this.prevFrameValue === undefined ||\n currentTime - this.updatedAt > MAX_VELOCITY_DELTA) {\n return 0;\n }\n const delta = Math.min(this.updatedAt - this.prevUpdatedAt, MAX_VELOCITY_DELTA);\n // Casts because of parseFloat's poor typing\n return velocityPerSecond(parseFloat(this.current) -\n parseFloat(this.prevFrameValue), delta);\n }\n /**\n * Registers a new animation to control this `MotionValue`. Only one\n * animation can drive a `MotionValue` at one time.\n *\n * ```jsx\n * value.start()\n * ```\n *\n * @param animation - A function that starts the provided animation\n */\n start(startAnimation) {\n this.stop();\n return new Promise((resolve) => {\n this.hasAnimated = true;\n this.animation = startAnimation(resolve);\n if (this.events.animationStart) {\n this.events.animationStart.notify();\n }\n }).then(() => {\n if (this.events.animationComplete) {\n this.events.animationComplete.notify();\n }\n this.clearAnimation();\n });\n }\n /**\n * Stop the currently active animation.\n *\n * @public\n */\n stop() {\n if (this.animation) {\n this.animation.stop();\n if (this.events.animationCancel) {\n this.events.animationCancel.notify();\n }\n }\n this.clearAnimation();\n }\n /**\n * Returns `true` if this value is currently animating.\n *\n * @public\n */\n isAnimating() {\n return !!this.animation;\n }\n clearAnimation() {\n delete this.animation;\n }\n /**\n * Destroy and clean up subscribers to this `MotionValue`.\n *\n * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically\n * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually\n * created a `MotionValue` via the `motionValue` function.\n *\n * @public\n */\n destroy() {\n this.dependents?.clear();\n this.events.destroy?.notify();\n this.clearListeners();\n this.stop();\n if (this.stopPassiveEffect) {\n this.stopPassiveEffect();\n }\n }\n}\nfunction motionValue(init, options) {\n return new MotionValue(init, options);\n}\n\nexport { MotionValue, collectMotionValues, motionValue };\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;;AAQA,MAAM,qBAAqB;AAC3B,MAAM,UAAU,CAAC,UAAU;AACvB,SAAO,CAAC,MAAM,WAAW,KAAK,CAAC;AACnC;AASA,MAAM,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOd,YAAY,MAAM,UAAU,IAAI;AAQ5B,SAAK,mBAAmB;AAIxB,SAAK,SAAS,CAAA;AACd,SAAK,kBAAkB,CAAC,MAAM;;AAC1B,YAAM,cAAc,KAAK,IAAG;AAM5B,UAAI,KAAK,cAAc,aAAa;AAChC,aAAK,kBAAiB;AAAA,MAC1B;AACA,WAAK,OAAO,KAAK;AACjB,WAAK,WAAW,CAAC;AAEjB,UAAI,KAAK,YAAY,KAAK,MAAM;AAC5B,mBAAK,OAAO,WAAZ,mBAAoB,OAAO,KAAK;AAChC,YAAI,KAAK,YAAY;AACjB,qBAAW,aAAa,KAAK,YAAY;AACrC,sBAAU,MAAK;AAAA,UACnB;AAAA,QACJ;AAAA,MACJ;AAAA,IACJ;AACA,SAAK,cAAc;AACnB,SAAK,WAAW,IAAI;AACpB,SAAK,QAAQ,QAAQ;AAAA,EACzB;AAAA,EACA,WAAW,SAAS;AAChB,SAAK,UAAU;AACf,SAAK,YAAY,KAAK,IAAG;AACzB,QAAI,KAAK,qBAAqB,QAAQ,YAAY,QAAW;AACzD,WAAK,mBAAmB,QAAQ,KAAK,OAAO;AAAA,IAChD;AAAA,EACJ;AAAA,EACA,kBAAkB,iBAAiB,KAAK,SAAS;AAC7C,SAAK,iBAAiB;AACtB,SAAK,gBAAgB,KAAK;AAAA,EAC9B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAyCA,SAAS,cAAc;AACnB,QAAI,QAAQ,IAAI,aAAa,cAAc;AACvC,eAAS,OAAO,iFAAiF;AAAA,IACrG;AACA,WAAO,KAAK,GAAG,UAAU,YAAY;AAAA,EACzC;AAAA,EACA,GAAG,WAAW,UAAU;AACpB,QAAI,CAAC,KAAK,OAAO,SAAS,GAAG;AACzB,WAAK,OAAO,SAAS,IAAI,IAAI,oBAAmB;AAAA,IACpD;AACA,UAAM,cAAc,KAAK,OAAO,SAAS,EAAE,IAAI,QAAQ;AACvD,QAAI,cAAc,UAAU;AACxB,aAAO,MAAM;AACT,oBAAW;AAKX,cAAM,KAAK,MAAM;AACb,cAAI,CAAC,KAAK,OAAO,OAAO,QAAO,GAAI;AAC/B,iBAAK,KAAI;AAAA,UACb;AAAA,QACJ,CAAC;AAAA,MACL;AAAA,IACJ;AACA,WAAO;AAAA,EACX;AAAA,EACA,iBAAiB;AACb,eAAW,iBAAiB,KAAK,QAAQ;AACrC,WAAK,OAAO,aAAa,EAAE,MAAK;AAAA,IACpC;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA,EAIA,OAAO,eAAe,mBAAmB;AACrC,SAAK,gBAAgB;AACrB,SAAK,oBAAoB;AAAA,EAC7B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBA,IAAI,GAAG;AACH,QAAI,CAAC,KAAK,eAAe;AACrB,WAAK,gBAAgB,CAAC;AAAA,IAC1B,OACK;AACD,WAAK,cAAc,GAAG,KAAK,eAAe;AAAA,IAC9C;AAAA,EACJ;AAAA,EACA,gBAAgB,MAAM,SAAS,OAAO;AAClC,SAAK,IAAI,OAAO;AAChB,SAAK,OAAO;AACZ,SAAK,iBAAiB;AACtB,SAAK,gBAAgB,KAAK,YAAY;AAAA,EAC1C;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAK,GAAG,eAAe,MAAM;AACzB,SAAK,gBAAgB,CAAC;AACtB,SAAK,OAAO;AACZ,SAAK,gBAAgB,KAAK,iBAAiB;AAC3C,oBAAgB,KAAK,KAAI;AACzB,QAAI,KAAK;AACL,WAAK,kBAAiB;AAAA,EAC9B;AAAA,EACA,QAAQ;;AACJ,eAAK,OAAO,WAAZ,mBAAoB,OAAO,KAAK;AAAA,EACpC;AAAA,EACA,aAAa,WAAW;AACpB,QAAI,CAAC,KAAK,YAAY;AAClB,WAAK,aAAa,oBAAI,IAAG;AAAA,IAC7B;AACA,SAAK,WAAW,IAAI,SAAS;AAAA,EACjC;AAAA,EACA,gBAAgB,WAAW;AACvB,QAAI,KAAK,YAAY;AACjB,WAAK,WAAW,OAAO,SAAS;AAAA,IACpC;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAM;AAIF,WAAO,KAAK;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA,EAIA,cAAc;AACV,WAAO,KAAK;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,cAAc;AACV,UAAM,cAAc,KAAK,IAAG;AAC5B,QAAI,CAAC,KAAK,oBACN,KAAK,mBAAmB,UACxB,cAAc,KAAK,YAAY,oBAAoB;AACnD,aAAO;AAAA,IACX;AACA,UAAM,QAAQ,KAAK,IAAI,KAAK,YAAY,KAAK,eAAe,kBAAkB;AAE9E,WAAO,kBAAkB,WAAW,KAAK,OAAO,IAC5C,WAAW,KAAK,cAAc,GAAG,KAAK;AAAA,EAC9C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,MAAM,gBAAgB;AAClB,SAAK,KAAI;AACT,WAAO,IAAI,QAAQ,CAAC,YAAY;AAC5B,WAAK,cAAc;AACnB,WAAK,YAAY,eAAe,OAAO;AACvC,UAAI,KAAK,OAAO,gBAAgB;AAC5B,aAAK,OAAO,eAAe,OAAM;AAAA,MACrC;AAAA,IACJ,CAAC,EAAE,KAAK,MAAM;AACV,UAAI,KAAK,OAAO,mBAAmB;AAC/B,aAAK,OAAO,kBAAkB,OAAM;AAAA,MACxC;AACA,WAAK,eAAc;AAAA,IACvB,CAAC;AAAA,EACL;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAO;AACH,QAAI,KAAK,WAAW;AAChB,WAAK,UAAU,KAAI;AACnB,UAAI,KAAK,OAAO,iBAAiB;AAC7B,aAAK,OAAO,gBAAgB,OAAM;AAAA,MACtC;AAAA,IACJ;AACA,SAAK,eAAc;AAAA,EACvB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,cAAc;AACV,WAAO,CAAC,CAAC,KAAK;AAAA,EAClB;AAAA,EACA,iBAAiB;AACb,WAAO,KAAK;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUA,UAAU;;AACN,eAAK,eAAL,mBAAiB;AACjB,eAAK,OAAO,YAAZ,mBAAqB;AACrB,SAAK,eAAc;AACnB,SAAK,KAAI;AACT,QAAI,KAAK,mBAAmB;AACxB,WAAK,kBAAiB;AAAA,IAC1B;AAAA,EACJ;AACJ;AACA,SAAS,YAAY,MAAM,SAAS;AAChC,SAAO,IAAI,YAAY,MAAM,OAAO;AACxC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auto.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/value/types/auto.mjs"],"sourcesContent":["/**\n * ValueType for \"auto\"\n */\nconst auto = {\n test: (v) => v === \"auto\",\n parse: (v) => v,\n};\n\nexport { auto };\n//# sourceMappingURL=auto.mjs.map\n"],"names":[],"mappings":"AAGK,MAAC,OAAO;AAAA,EACT,MAAM,CAAC,MAAM,MAAM;AAAA,EACnB,OAAO,CAAC,MAAM;AAClB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { rgba } from "./rgba.js";
|
|
2
|
+
import { isColorString } from "./utils.js";
|
|
3
|
+
function parseHex(v) {
|
|
4
|
+
let r = "";
|
|
5
|
+
let g = "";
|
|
6
|
+
let b = "";
|
|
7
|
+
let a = "";
|
|
8
|
+
if (v.length > 5) {
|
|
9
|
+
r = v.substring(1, 3);
|
|
10
|
+
g = v.substring(3, 5);
|
|
11
|
+
b = v.substring(5, 7);
|
|
12
|
+
a = v.substring(7, 9);
|
|
13
|
+
} else {
|
|
14
|
+
r = v.substring(1, 2);
|
|
15
|
+
g = v.substring(2, 3);
|
|
16
|
+
b = v.substring(3, 4);
|
|
17
|
+
a = v.substring(4, 5);
|
|
18
|
+
r += r;
|
|
19
|
+
g += g;
|
|
20
|
+
b += b;
|
|
21
|
+
a += a;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
red: parseInt(r, 16),
|
|
25
|
+
green: parseInt(g, 16),
|
|
26
|
+
blue: parseInt(b, 16),
|
|
27
|
+
alpha: a ? parseInt(a, 16) / 255 : 1
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
const hex = {
|
|
31
|
+
test: /* @__PURE__ */ isColorString("#"),
|
|
32
|
+
parse: parseHex,
|
|
33
|
+
transform: rgba.transform
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
hex
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=hex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hex.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/hex.mjs"],"sourcesContent":["import { rgba } from './rgba.mjs';\nimport { isColorString } from './utils.mjs';\n\nfunction parseHex(v) {\n let r = \"\";\n let g = \"\";\n let b = \"\";\n let a = \"\";\n // If we have 6 characters, ie #FF0000\n if (v.length > 5) {\n r = v.substring(1, 3);\n g = v.substring(3, 5);\n b = v.substring(5, 7);\n a = v.substring(7, 9);\n // Or we have 3 characters, ie #F00\n }\n else {\n r = v.substring(1, 2);\n g = v.substring(2, 3);\n b = v.substring(3, 4);\n a = v.substring(4, 5);\n r += r;\n g += g;\n b += b;\n a += a;\n }\n return {\n red: parseInt(r, 16),\n green: parseInt(g, 16),\n blue: parseInt(b, 16),\n alpha: a ? parseInt(a, 16) / 255 : 1,\n };\n}\nconst hex = {\n test: /*@__PURE__*/ isColorString(\"#\"),\n parse: parseHex,\n transform: rgba.transform,\n};\n\nexport { hex };\n//# sourceMappingURL=hex.mjs.map\n"],"names":[],"mappings":";;AAGA,SAAS,SAAS,GAAG;AACjB,MAAI,IAAI;AACR,MAAI,IAAI;AACR,MAAI,IAAI;AACR,MAAI,IAAI;AAER,MAAI,EAAE,SAAS,GAAG;AACd,QAAI,EAAE,UAAU,GAAG,CAAC;AACpB,QAAI,EAAE,UAAU,GAAG,CAAC;AACpB,QAAI,EAAE,UAAU,GAAG,CAAC;AACpB,QAAI,EAAE,UAAU,GAAG,CAAC;AAAA,EAExB,OACK;AACD,QAAI,EAAE,UAAU,GAAG,CAAC;AACpB,QAAI,EAAE,UAAU,GAAG,CAAC;AACpB,QAAI,EAAE,UAAU,GAAG,CAAC;AACpB,QAAI,EAAE,UAAU,GAAG,CAAC;AACpB,SAAK;AACL,SAAK;AACL,SAAK;AACL,SAAK;AAAA,EACT;AACA,SAAO;AAAA,IACH,KAAK,SAAS,GAAG,EAAE;AAAA,IACnB,OAAO,SAAS,GAAG,EAAE;AAAA,IACrB,MAAM,SAAS,GAAG,EAAE;AAAA,IACpB,OAAO,IAAI,SAAS,GAAG,EAAE,IAAI,MAAM;AAAA,EAC3C;AACA;AACK,MAAC,MAAM;AAAA,EACR,MAAoB,8BAAc,GAAG;AAAA,EACrC,OAAO;AAAA,EACP,WAAW,KAAK;AACpB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
function hueToRgb(p, q, t) {
|
|
2
|
+
if (t < 0)
|
|
3
|
+
t += 1;
|
|
4
|
+
if (t > 1)
|
|
5
|
+
t -= 1;
|
|
6
|
+
if (t < 1 / 6)
|
|
7
|
+
return p + (q - p) * 6 * t;
|
|
8
|
+
if (t < 1 / 2)
|
|
9
|
+
return q;
|
|
10
|
+
if (t < 2 / 3)
|
|
11
|
+
return p + (q - p) * (2 / 3 - t) * 6;
|
|
12
|
+
return p;
|
|
13
|
+
}
|
|
14
|
+
function hslaToRgba({ hue, saturation, lightness, alpha }) {
|
|
15
|
+
hue /= 360;
|
|
16
|
+
saturation /= 100;
|
|
17
|
+
lightness /= 100;
|
|
18
|
+
let red = 0;
|
|
19
|
+
let green = 0;
|
|
20
|
+
let blue = 0;
|
|
21
|
+
if (!saturation) {
|
|
22
|
+
red = green = blue = lightness;
|
|
23
|
+
} else {
|
|
24
|
+
const q = lightness < 0.5 ? lightness * (1 + saturation) : lightness + saturation - lightness * saturation;
|
|
25
|
+
const p = 2 * lightness - q;
|
|
26
|
+
red = hueToRgb(p, q, hue + 1 / 3);
|
|
27
|
+
green = hueToRgb(p, q, hue);
|
|
28
|
+
blue = hueToRgb(p, q, hue - 1 / 3);
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
red: Math.round(red * 255),
|
|
32
|
+
green: Math.round(green * 255),
|
|
33
|
+
blue: Math.round(blue * 255),
|
|
34
|
+
alpha
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
hslaToRgba
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=hsla-to-rgba.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hsla-to-rgba.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs"],"sourcesContent":["// Adapted from https://gist.github.com/mjackson/5311256\nfunction hueToRgb(p, q, t) {\n if (t < 0)\n t += 1;\n if (t > 1)\n t -= 1;\n if (t < 1 / 6)\n return p + (q - p) * 6 * t;\n if (t < 1 / 2)\n return q;\n if (t < 2 / 3)\n return p + (q - p) * (2 / 3 - t) * 6;\n return p;\n}\nfunction hslaToRgba({ hue, saturation, lightness, alpha }) {\n hue /= 360;\n saturation /= 100;\n lightness /= 100;\n let red = 0;\n let green = 0;\n let blue = 0;\n if (!saturation) {\n red = green = blue = lightness;\n }\n else {\n const q = lightness < 0.5\n ? lightness * (1 + saturation)\n : lightness + saturation - lightness * saturation;\n const p = 2 * lightness - q;\n red = hueToRgb(p, q, hue + 1 / 3);\n green = hueToRgb(p, q, hue);\n blue = hueToRgb(p, q, hue - 1 / 3);\n }\n return {\n red: Math.round(red * 255),\n green: Math.round(green * 255),\n blue: Math.round(blue * 255),\n alpha,\n };\n}\n\nexport { hslaToRgba };\n//# sourceMappingURL=hsla-to-rgba.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,SAAS,GAAG,GAAG,GAAG;AACvB,MAAI,IAAI;AACJ,SAAK;AACT,MAAI,IAAI;AACJ,SAAK;AACT,MAAI,IAAI,IAAI;AACR,WAAO,KAAK,IAAI,KAAK,IAAI;AAC7B,MAAI,IAAI,IAAI;AACR,WAAO;AACX,MAAI,IAAI,IAAI;AACR,WAAO,KAAK,IAAI,MAAM,IAAI,IAAI,KAAK;AACvC,SAAO;AACX;AACA,SAAS,WAAW,EAAE,KAAK,YAAY,WAAW,MAAK,GAAI;AACvD,SAAO;AACP,gBAAc;AACd,eAAa;AACb,MAAI,MAAM;AACV,MAAI,QAAQ;AACZ,MAAI,OAAO;AACX,MAAI,CAAC,YAAY;AACb,UAAM,QAAQ,OAAO;AAAA,EACzB,OACK;AACD,UAAM,IAAI,YAAY,MAChB,aAAa,IAAI,cACjB,YAAY,aAAa,YAAY;AAC3C,UAAM,IAAI,IAAI,YAAY;AAC1B,UAAM,SAAS,GAAG,GAAG,MAAM,IAAI,CAAC;AAChC,YAAQ,SAAS,GAAG,GAAG,GAAG;AAC1B,WAAO,SAAS,GAAG,GAAG,MAAM,IAAI,CAAC;AAAA,EACrC;AACA,SAAO;AAAA,IACH,KAAK,KAAK,MAAM,MAAM,GAAG;AAAA,IACzB,OAAO,KAAK,MAAM,QAAQ,GAAG;AAAA,IAC7B,MAAM,KAAK,MAAM,OAAO,GAAG;AAAA,IAC3B;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { alpha } from "../numbers/index.js";
|
|
2
|
+
import { percent } from "../numbers/units.js";
|
|
3
|
+
import { sanitize } from "../utils/sanitize.js";
|
|
4
|
+
import { splitColor, isColorString } from "./utils.js";
|
|
5
|
+
const hsla = {
|
|
6
|
+
test: /* @__PURE__ */ isColorString("hsl", "hue"),
|
|
7
|
+
parse: /* @__PURE__ */ splitColor("hue", "saturation", "lightness"),
|
|
8
|
+
transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 }) => {
|
|
9
|
+
return "hsla(" + Math.round(hue) + ", " + percent.transform(sanitize(saturation)) + ", " + percent.transform(sanitize(lightness)) + ", " + sanitize(alpha.transform(alpha$1)) + ")";
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
hsla
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=hsla.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hsla.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/hsla.mjs"],"sourcesContent":["import { alpha } from '../numbers/index.mjs';\nimport { percent } from '../numbers/units.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\nimport { splitColor, isColorString } from './utils.mjs';\n\nconst hsla = {\n test: /*@__PURE__*/ isColorString(\"hsl\", \"hue\"),\n parse: /*@__PURE__*/ splitColor(\"hue\", \"saturation\", \"lightness\"),\n transform: ({ hue, saturation, lightness, alpha: alpha$1 = 1 }) => {\n return (\"hsla(\" +\n Math.round(hue) +\n \", \" +\n percent.transform(sanitize(saturation)) +\n \", \" +\n percent.transform(sanitize(lightness)) +\n \", \" +\n sanitize(alpha.transform(alpha$1)) +\n \")\");\n },\n};\n\nexport { hsla };\n//# sourceMappingURL=hsla.mjs.map\n"],"names":[],"mappings":";;;;AAKK,MAAC,OAAO;AAAA,EACT,MAAoB,8BAAc,OAAO,KAAK;AAAA,EAC9C,OAAqB,2BAAW,OAAO,cAAc,WAAW;AAAA,EAChE,WAAW,CAAC,EAAE,KAAK,YAAY,WAAW,OAAO,UAAU,QAAQ;AAC/D,WAAQ,UACJ,KAAK,MAAM,GAAG,IACd,OACA,QAAQ,UAAU,SAAS,UAAU,CAAC,IACtC,OACA,QAAQ,UAAU,SAAS,SAAS,CAAC,IACrC,OACA,SAAS,MAAM,UAAU,OAAO,CAAC,IACjC;AAAA,EACR;AACJ;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { hex } from "./hex.js";
|
|
2
|
+
import { hsla } from "./hsla.js";
|
|
3
|
+
import { rgba } from "./rgba.js";
|
|
4
|
+
const color = {
|
|
5
|
+
test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),
|
|
6
|
+
parse: (v) => {
|
|
7
|
+
if (rgba.test(v)) {
|
|
8
|
+
return rgba.parse(v);
|
|
9
|
+
} else if (hsla.test(v)) {
|
|
10
|
+
return hsla.parse(v);
|
|
11
|
+
} else {
|
|
12
|
+
return hex.parse(v);
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
transform: (v) => {
|
|
16
|
+
return typeof v === "string" ? v : v.hasOwnProperty("red") ? rgba.transform(v) : hsla.transform(v);
|
|
17
|
+
},
|
|
18
|
+
getAnimatableNone: (v) => {
|
|
19
|
+
const parsed = color.parse(v);
|
|
20
|
+
parsed.alpha = 0;
|
|
21
|
+
return color.transform(parsed);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
color
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/index.mjs"],"sourcesContent":["import { hex } from './hex.mjs';\nimport { hsla } from './hsla.mjs';\nimport { rgba } from './rgba.mjs';\n\nconst color = {\n test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),\n parse: (v) => {\n if (rgba.test(v)) {\n return rgba.parse(v);\n }\n else if (hsla.test(v)) {\n return hsla.parse(v);\n }\n else {\n return hex.parse(v);\n }\n },\n transform: (v) => {\n return typeof v === \"string\"\n ? v\n : v.hasOwnProperty(\"red\")\n ? rgba.transform(v)\n : hsla.transform(v);\n },\n getAnimatableNone: (v) => {\n const parsed = color.parse(v);\n parsed.alpha = 0;\n return color.transform(parsed);\n },\n};\n\nexport { color };\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;AAIK,MAAC,QAAQ;AAAA,EACV,MAAM,CAAC,MAAM,KAAK,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,KAAK,KAAK,CAAC;AAAA,EACvD,OAAO,CAAC,MAAM;AACV,QAAI,KAAK,KAAK,CAAC,GAAG;AACd,aAAO,KAAK,MAAM,CAAC;AAAA,IACvB,WACS,KAAK,KAAK,CAAC,GAAG;AACnB,aAAO,KAAK,MAAM,CAAC;AAAA,IACvB,OACK;AACD,aAAO,IAAI,MAAM,CAAC;AAAA,IACtB;AAAA,EACJ;AAAA,EACA,WAAW,CAAC,MAAM;AACd,WAAO,OAAO,MAAM,WACd,IACA,EAAE,eAAe,KAAK,IAClB,KAAK,UAAU,CAAC,IAChB,KAAK,UAAU,CAAC;AAAA,EAC9B;AAAA,EACA,mBAAmB,CAAC,MAAM;AACtB,UAAM,SAAS,MAAM,MAAM,CAAC;AAC5B,WAAO,QAAQ;AACf,WAAO,MAAM,UAAU,MAAM;AAAA,EACjC;AACJ;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { number, alpha } from "../numbers/index.js";
|
|
2
|
+
import { sanitize } from "../utils/sanitize.js";
|
|
3
|
+
import { splitColor, isColorString } from "./utils.js";
|
|
4
|
+
import { clamp } from "../../../../../../motion-utils/dist/es/clamp.js";
|
|
5
|
+
const clampRgbUnit = (v) => clamp(0, 255, v);
|
|
6
|
+
const rgbUnit = {
|
|
7
|
+
...number,
|
|
8
|
+
transform: (v) => Math.round(clampRgbUnit(v))
|
|
9
|
+
};
|
|
10
|
+
const rgba = {
|
|
11
|
+
test: /* @__PURE__ */ isColorString("rgb", "red"),
|
|
12
|
+
parse: /* @__PURE__ */ splitColor("red", "green", "blue"),
|
|
13
|
+
transform: ({ red, green, blue, alpha: alpha$1 = 1 }) => "rgba(" + rgbUnit.transform(red) + ", " + rgbUnit.transform(green) + ", " + rgbUnit.transform(blue) + ", " + sanitize(alpha.transform(alpha$1)) + ")"
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
rgbUnit,
|
|
17
|
+
rgba
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=rgba.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rgba.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/rgba.mjs"],"sourcesContent":["import { clamp } from 'motion-utils';\nimport { number, alpha } from '../numbers/index.mjs';\nimport { sanitize } from '../utils/sanitize.mjs';\nimport { splitColor, isColorString } from './utils.mjs';\n\nconst clampRgbUnit = (v) => clamp(0, 255, v);\nconst rgbUnit = {\n ...number,\n transform: (v) => Math.round(clampRgbUnit(v)),\n};\nconst rgba = {\n test: /*@__PURE__*/ isColorString(\"rgb\", \"red\"),\n parse: /*@__PURE__*/ splitColor(\"red\", \"green\", \"blue\"),\n transform: ({ red, green, blue, alpha: alpha$1 = 1 }) => \"rgba(\" +\n rgbUnit.transform(red) +\n \", \" +\n rgbUnit.transform(green) +\n \", \" +\n rgbUnit.transform(blue) +\n \", \" +\n sanitize(alpha.transform(alpha$1)) +\n \")\",\n};\n\nexport { rgbUnit, rgba };\n//# sourceMappingURL=rgba.mjs.map\n"],"names":[],"mappings":";;;;AAKA,MAAM,eAAe,CAAC,MAAM,MAAM,GAAG,KAAK,CAAC;AACtC,MAAC,UAAU;AAAA,EACZ,GAAG;AAAA,EACH,WAAW,CAAC,MAAM,KAAK,MAAM,aAAa,CAAC,CAAC;AAChD;AACK,MAAC,OAAO;AAAA,EACT,MAAoB,8BAAc,OAAO,KAAK;AAAA,EAC9C,OAAqB,2BAAW,OAAO,SAAS,MAAM;AAAA,EACtD,WAAW,CAAC,EAAE,KAAK,OAAO,MAAM,OAAO,UAAU,EAAC,MAAO,UACrD,QAAQ,UAAU,GAAG,IACrB,OACA,QAAQ,UAAU,KAAK,IACvB,OACA,QAAQ,UAAU,IAAI,IACtB,OACA,SAAS,MAAM,UAAU,OAAO,CAAC,IACjC;AACR;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { floatRegex } from "../utils/float-regex.js";
|
|
2
|
+
import { isNullish } from "../utils/is-nullish.js";
|
|
3
|
+
import { singleColorRegex } from "../utils/single-color-regex.js";
|
|
4
|
+
const isColorString = (type, testProp) => (v) => {
|
|
5
|
+
return Boolean(typeof v === "string" && singleColorRegex.test(v) && v.startsWith(type) || testProp && !isNullish(v) && Object.prototype.hasOwnProperty.call(v, testProp));
|
|
6
|
+
};
|
|
7
|
+
const splitColor = (aName, bName, cName) => (v) => {
|
|
8
|
+
if (typeof v !== "string")
|
|
9
|
+
return v;
|
|
10
|
+
const [a, b, c, alpha] = v.match(floatRegex);
|
|
11
|
+
return {
|
|
12
|
+
[aName]: parseFloat(a),
|
|
13
|
+
[bName]: parseFloat(b),
|
|
14
|
+
[cName]: parseFloat(c),
|
|
15
|
+
alpha: alpha !== void 0 ? parseFloat(alpha) : 1
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
isColorString,
|
|
20
|
+
splitColor
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/color/utils.mjs"],"sourcesContent":["import { floatRegex } from '../utils/float-regex.mjs';\nimport { isNullish } from '../utils/is-nullish.mjs';\nimport { singleColorRegex } from '../utils/single-color-regex.mjs';\n\n/**\n * Returns true if the provided string is a color, ie rgba(0,0,0,0) or #000,\n * but false if a number or multiple colors\n */\nconst isColorString = (type, testProp) => (v) => {\n return Boolean((typeof v === \"string\" &&\n singleColorRegex.test(v) &&\n v.startsWith(type)) ||\n (testProp &&\n !isNullish(v) &&\n Object.prototype.hasOwnProperty.call(v, testProp)));\n};\nconst splitColor = (aName, bName, cName) => (v) => {\n if (typeof v !== \"string\")\n return v;\n const [a, b, c, alpha] = v.match(floatRegex);\n return {\n [aName]: parseFloat(a),\n [bName]: parseFloat(b),\n [cName]: parseFloat(c),\n alpha: alpha !== undefined ? parseFloat(alpha) : 1,\n };\n};\n\nexport { isColorString, splitColor };\n//# sourceMappingURL=utils.mjs.map\n"],"names":[],"mappings":";;;AAQK,MAAC,gBAAgB,CAAC,MAAM,aAAa,CAAC,MAAM;AAC7C,SAAO,QAAS,OAAO,MAAM,YACzB,iBAAiB,KAAK,CAAC,KACvB,EAAE,WAAW,IAAI,KAChB,YACG,CAAC,UAAU,CAAC,KACZ,OAAO,UAAU,eAAe,KAAK,GAAG,QAAQ,CAAE;AAC9D;AACK,MAAC,aAAa,CAAC,OAAO,OAAO,UAAU,CAAC,MAAM;AAC/C,MAAI,OAAO,MAAM;AACb,WAAO;AACX,QAAM,CAAC,GAAG,GAAG,GAAG,KAAK,IAAI,EAAE,MAAM,UAAU;AAC3C,SAAO;AAAA,IACH,CAAC,KAAK,GAAG,WAAW,CAAC;AAAA,IACrB,CAAC,KAAK,GAAG,WAAW,CAAC;AAAA,IACrB,CAAC,KAAK,GAAG,WAAW,CAAC;AAAA,IACrB,OAAO,UAAU,SAAY,WAAW,KAAK,IAAI;AAAA,EACzD;AACA;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { complex } from "./index.js";
|
|
2
|
+
import { floatRegex } from "../utils/float-regex.js";
|
|
3
|
+
const maxDefaults = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
|
|
4
|
+
function applyDefaultFilter(v) {
|
|
5
|
+
const [name, value] = v.slice(0, -1).split("(");
|
|
6
|
+
if (name === "drop-shadow")
|
|
7
|
+
return v;
|
|
8
|
+
const [number] = value.match(floatRegex) || [];
|
|
9
|
+
if (!number)
|
|
10
|
+
return v;
|
|
11
|
+
const unit = value.replace(number, "");
|
|
12
|
+
let defaultValue = maxDefaults.has(name) ? 1 : 0;
|
|
13
|
+
if (number !== value)
|
|
14
|
+
defaultValue *= 100;
|
|
15
|
+
return name + "(" + defaultValue + unit + ")";
|
|
16
|
+
}
|
|
17
|
+
const functionRegex = /\b([a-z-]*)\(.*?\)/gu;
|
|
18
|
+
const filter = {
|
|
19
|
+
...complex,
|
|
20
|
+
getAnimatableNone: (v) => {
|
|
21
|
+
const functions = v.match(functionRegex);
|
|
22
|
+
return functions ? functions.map(applyDefaultFilter).join(" ") : v;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
filter
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter.js","sources":["../../../../../../../../node_modules/motion-dom/dist/es/value/types/complex/filter.mjs"],"sourcesContent":["import { complex } from './index.mjs';\nimport { floatRegex } from '../utils/float-regex.mjs';\n\n/**\n * Properties that should default to 1 or 100%\n */\nconst maxDefaults = new Set([\"brightness\", \"contrast\", \"saturate\", \"opacity\"]);\nfunction applyDefaultFilter(v) {\n const [name, value] = v.slice(0, -1).split(\"(\");\n if (name === \"drop-shadow\")\n return v;\n const [number] = value.match(floatRegex) || [];\n if (!number)\n return v;\n const unit = value.replace(number, \"\");\n let defaultValue = maxDefaults.has(name) ? 1 : 0;\n if (number !== value)\n defaultValue *= 100;\n return name + \"(\" + defaultValue + unit + \")\";\n}\nconst functionRegex = /\\b([a-z-]*)\\(.*?\\)/gu;\nconst filter = {\n ...complex,\n getAnimatableNone: (v) => {\n const functions = v.match(functionRegex);\n return functions ? functions.map(applyDefaultFilter).join(\" \") : v;\n },\n};\n\nexport { filter };\n//# sourceMappingURL=filter.mjs.map\n"],"names":[],"mappings":";;AAMA,MAAM,cAAc,oBAAI,IAAI,CAAC,cAAc,YAAY,YAAY,SAAS,CAAC;AAC7E,SAAS,mBAAmB,GAAG;AAC3B,QAAM,CAAC,MAAM,KAAK,IAAI,EAAE,MAAM,GAAG,EAAE,EAAE,MAAM,GAAG;AAC9C,MAAI,SAAS;AACT,WAAO;AACX,QAAM,CAAC,MAAM,IAAI,MAAM,MAAM,UAAU,KAAK,CAAA;AAC5C,MAAI,CAAC;AACD,WAAO;AACX,QAAM,OAAO,MAAM,QAAQ,QAAQ,EAAE;AACrC,MAAI,eAAe,YAAY,IAAI,IAAI,IAAI,IAAI;AAC/C,MAAI,WAAW;AACX,oBAAgB;AACpB,SAAO,OAAO,MAAM,eAAe,OAAO;AAC9C;AACA,MAAM,gBAAgB;AACjB,MAAC,SAAS;AAAA,EACX,GAAG;AAAA,EACH,mBAAmB,CAAC,MAAM;AACtB,UAAM,YAAY,EAAE,MAAM,aAAa;AACvC,WAAO,YAAY,UAAU,IAAI,kBAAkB,EAAE,KAAK,GAAG,IAAI;AAAA,EACrE;AACJ;","x_google_ignoreList":[0]}
|