@123usmanhaider321/ui 0.1.0 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/duration.js +5 -0
- package/dist/_virtual/duration.js.map +1 -0
- package/dist/_virtual/index.js +2 -2
- package/dist/_virtual/isBetween.js +5 -0
- package/dist/_virtual/isBetween.js.map +1 -0
- package/dist/_virtual/relativeTime.js +5 -0
- package/dist/_virtual/relativeTime.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/_virtual/with-selector.development.js +5 -0
- package/dist/_virtual/with-selector.development.js.map +1 -0
- package/dist/_virtual/with-selector.production.js +5 -0
- package/dist/_virtual/with-selector.production.js.map +1 -0
- package/dist/components/Alert/Alert.d.ts +2 -2
- package/dist/components/Alert/Alert.js +18 -21
- package/dist/components/Alert/Alert.js.map +1 -1
- package/dist/components/Button/Button.js +14 -14
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +12 -12
- package/dist/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.js +22 -22
- package/dist/components/CheckboxGroup/CheckboxGroup.js.map +1 -1
- package/dist/components/ConfirmationModal/ConfirmationModal.js +37 -39
- package/dist/components/ConfirmationModal/ConfirmationModal.js.map +1 -1
- package/dist/components/CustomSelect/CustomSelect.js +35 -37
- package/dist/components/CustomSelect/CustomSelect.js.map +1 -1
- package/dist/components/EventAddForm/AddEventLayout.d.ts +58 -0
- package/dist/components/EventAddForm/AddEventLayout.js +227 -0
- package/dist/components/EventAddForm/AddEventLayout.js.map +1 -0
- package/dist/components/EventAddForm/AddEventStepper.d.ts +15 -0
- package/dist/components/EventAddForm/AddEventStepper.js +719 -0
- package/dist/components/EventAddForm/AddEventStepper.js.map +1 -0
- package/dist/components/EventAddForm/common/ConfirmationModal.d.ts +14 -0
- package/dist/components/EventAddForm/common/ConfirmationModal.js +136 -0
- package/dist/components/EventAddForm/common/ConfirmationModal.js.map +1 -0
- package/dist/components/EventAddForm/common/DescriptionModal.d.ts +8 -0
- package/dist/components/EventAddForm/common/DescriptionModal.js +70 -0
- package/dist/components/EventAddForm/common/DescriptionModal.js.map +1 -0
- package/dist/components/EventAddForm/components/AnimatedBackground.d.ts +8 -0
- package/dist/components/EventAddForm/components/ApprovalConfirmationModal.d.ts +7 -0
- package/dist/components/EventAddForm/components/CheckboxGroup.d.ts +23 -0
- package/dist/components/EventAddForm/components/CheckboxGroup.js +92 -0
- package/dist/components/EventAddForm/components/CheckboxGroup.js.map +1 -0
- package/dist/components/EventAddForm/components/CustomMeetingForm.d.ts +18 -0
- package/dist/components/EventAddForm/components/CustomMeetingForm.js +237 -0
- package/dist/components/EventAddForm/components/CustomMeetingForm.js.map +1 -0
- package/dist/components/EventAddForm/components/DateTimeField.d.ts +23 -0
- package/dist/components/EventAddForm/components/DateTimeField.js +173 -0
- package/dist/components/EventAddForm/components/DateTimeField.js.map +1 -0
- package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.d.ts +33 -0
- package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.js +366 -0
- package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.js.map +1 -0
- package/dist/components/EventAddForm/components/FileUpload.d.ts +14 -0
- package/dist/components/EventAddForm/components/FileUpload.js +412 -0
- package/dist/components/EventAddForm/components/FileUpload.js.map +1 -0
- package/dist/components/EventAddForm/components/FormBuilderProceedModal.d.ts +10 -0
- package/dist/components/EventAddForm/components/FormBuilderProceedModal.js +197 -0
- package/dist/components/EventAddForm/components/FormBuilderProceedModal.js.map +1 -0
- package/dist/components/EventAddForm/components/GoogleMapsAutocompleteInput.d.ts +38 -0
- package/dist/components/EventAddForm/components/GoogleMapsAutocompleteInput.js +1179 -0
- package/dist/components/EventAddForm/components/GoogleMapsAutocompleteInput.js.map +1 -0
- package/dist/components/EventAddForm/components/InputField.d.ts +15 -0
- package/dist/components/EventAddForm/components/RadioGroupButton.d.ts +14 -0
- package/dist/components/EventAddForm/components/SelectField.d.ts +19 -0
- package/dist/components/EventAddForm/components/SingleDateTimeInput.d.ts +27 -0
- package/dist/components/EventAddForm/components/SingleDateTimeInput.js +102 -0
- package/dist/components/EventAddForm/components/SingleDateTimeInput.js.map +1 -0
- package/dist/components/EventAddForm/components/StepTwo/CustomFormSection.d.ts +10 -0
- package/dist/components/EventAddForm/components/StepTwo/CustomFormSection.js +277 -0
- package/dist/components/EventAddForm/components/StepTwo/CustomFormSection.js.map +1 -0
- package/dist/components/EventAddForm/components/StepTwo/TicketTierSection.d.ts +37 -0
- package/dist/components/EventAddForm/components/StepTwo/TicketTierSection.js +148 -0
- package/dist/components/EventAddForm/components/StepTwo/TicketTierSection.js.map +1 -0
- package/dist/components/EventAddForm/components/TicketTierForm.d.ts +29 -0
- package/dist/components/EventAddForm/components/TicketTierForm.js +418 -0
- package/dist/components/EventAddForm/components/TicketTierForm.js.map +1 -0
- package/dist/components/EventAddForm/components/TicketTypeSelection.d.ts +7 -0
- package/dist/components/EventAddForm/components/TicketTypeSelection.js +93 -0
- package/dist/components/EventAddForm/components/TicketTypeSelection.js.map +1 -0
- package/dist/components/EventAddForm/hooks/useStepperForm.d.ts +81 -0
- package/dist/components/EventAddForm/hooks/useStepperForm.js +371 -0
- package/dist/components/EventAddForm/hooks/useStepperForm.js.map +1 -0
- package/dist/components/EventAddForm/hooks/useTicketTierForm.d.ts +87 -0
- package/dist/components/EventAddForm/hooks/useTicketTierForm.js +237 -0
- package/dist/components/EventAddForm/hooks/useTicketTierForm.js.map +1 -0
- package/dist/components/EventAddForm/index.d.ts +3 -0
- package/dist/components/EventAddForm/index.js +41 -0
- package/dist/components/EventAddForm/index.js.map +1 -0
- package/dist/components/EventAddForm/schemas/index.d.ts +2 -0
- package/dist/components/EventAddForm/schemas/step1.js +135 -0
- package/dist/components/EventAddForm/schemas/step1.js.map +1 -0
- package/dist/components/EventAddForm/schemas/step2.d.ts +138 -0
- package/dist/components/EventAddForm/schemas/step2.js +94 -0
- package/dist/components/EventAddForm/schemas/step2.js.map +1 -0
- package/dist/components/EventAddForm/schemas/utils.js.map +1 -0
- package/dist/components/EventAddForm/steps/IndividualFormStep.d.ts +26 -0
- package/dist/components/EventAddForm/steps/IndividualFormStep.js +85 -0
- package/dist/components/EventAddForm/steps/IndividualFormStep.js.map +1 -0
- package/dist/components/EventAddForm/steps/SocialProfilesStep.d.ts +18 -0
- package/dist/components/EventAddForm/steps/SocialProfilesStep.js +123 -0
- package/dist/components/EventAddForm/steps/SocialProfilesStep.js.map +1 -0
- package/dist/components/EventAddForm/steps/StepOne.d.ts +18 -0
- package/dist/components/EventAddForm/steps/StepOne.js +462 -0
- package/dist/components/EventAddForm/steps/StepOne.js.map +1 -0
- package/dist/components/EventAddForm/steps/StepTwo.d.ts +17 -0
- package/dist/components/EventAddForm/steps/StepTwo.js +173 -0
- package/dist/components/EventAddForm/steps/StepTwo.js.map +1 -0
- package/dist/components/EventAddForm/steps/TeamFormStep.d.ts +19 -0
- package/dist/components/EventAddForm/steps/TeamFormStep.js +13 -0
- package/dist/components/EventAddForm/steps/TeamFormStep.js.map +1 -0
- package/dist/components/FormBuilder/CategoryList.js +26 -26
- package/dist/components/FormBuilder/CategoryList.js.map +1 -1
- package/dist/components/FormBuilder/DiscountInput.js +38 -39
- package/dist/components/FormBuilder/DiscountInput.js.map +1 -1
- package/dist/components/FormBuilder/FormBuilder.js +71 -74
- package/dist/components/FormBuilder/FormBuilder.js.map +1 -1
- package/dist/components/FormBuilder/OptionList.js +19 -19
- package/dist/components/FormBuilder/OptionList.js.map +1 -1
- package/dist/components/FormBuilder/PaymentPreview.js +19 -19
- package/dist/components/FormBuilder/PaymentPreview.js.map +1 -1
- package/dist/components/FormBuilder/PreviewInput.js +18 -29
- package/dist/components/FormBuilder/PreviewInput.js.map +1 -1
- package/dist/components/FormBuilder/QuestionCard.js +66 -67
- package/dist/components/FormBuilder/QuestionCard.js.map +1 -1
- package/dist/components/FormBuilder/QuestionEditor.js +16 -16
- package/dist/components/FormBuilder/QuestionEditor.js.map +1 -1
- package/dist/components/FormBuilder/RequiredToggle.js +14 -14
- package/dist/components/FormBuilder/RequiredToggle.js.map +1 -1
- package/dist/components/FormBuilder/SortableQuestionList.js +4 -4
- package/dist/components/FormBuilder/SortableQuestionList.js.map +1 -1
- package/dist/components/FormBuilder/utils.js.map +1 -1
- package/dist/components/FormInput/FormInput.js +28 -28
- package/dist/components/FormInput/FormInput.js.map +1 -1
- package/dist/components/ImageCropModal/index.d.ts +14 -0
- package/dist/components/ImageCropModal/index.js +464 -0
- package/dist/components/ImageCropModal/index.js.map +1 -0
- package/dist/components/InformationPopover/InformationPopover.js +4 -4
- package/dist/components/InformationPopover/InformationPopover.js.map +1 -1
- package/dist/components/InformationPopover.d.ts +7 -0
- package/dist/components/InformationPopover.js +19 -0
- package/dist/components/InformationPopover.js.map +1 -0
- package/dist/components/InputErrorMessage/InputErrorMessage.js +5 -6
- package/dist/components/InputErrorMessage/InputErrorMessage.js.map +1 -1
- package/dist/components/Modal/Modal.js +24 -25
- package/dist/components/Modal/Modal.js.map +1 -1
- package/dist/components/Radio/Radio.js +9 -9
- package/dist/components/Radio/Radio.js.map +1 -1
- package/dist/components/Spinner/spinner.d.ts +2 -0
- package/dist/components/Spinner/spinner.js +22 -0
- package/dist/components/Spinner/spinner.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.js +13 -14
- package/dist/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/components/common/FallbackImage.d.ts +9 -0
- package/dist/components/common/FallbackImage.js +47 -0
- package/dist/components/common/FallbackImage.js.map +1 -0
- package/dist/components/ui/Calendar/calendar-utils.d.ts +3 -0
- package/dist/components/ui/Calendar/calendar-utils.js +51 -0
- package/dist/components/ui/Calendar/calendar-utils.js.map +1 -0
- package/dist/components/ui/Calendar/index.d.ts +14 -0
- package/dist/components/ui/Calendar/index.js +142 -0
- package/dist/components/ui/Calendar/index.js.map +1 -0
- package/dist/components/ui/Checkbox.d.ts +9 -0
- package/dist/components/ui/Checkbox.js +50 -0
- package/dist/components/ui/Checkbox.js.map +1 -0
- package/dist/components/ui/DatePicker/index.d.ts +15 -0
- package/dist/components/ui/DatePicker/index.js +188 -0
- package/dist/components/ui/DatePicker/index.js.map +1 -0
- package/dist/components/ui/FormInput.d.ts +28 -0
- package/dist/components/ui/FormInput.js +129 -0
- package/dist/components/ui/FormInput.js.map +1 -0
- package/dist/components/ui/InputErrorMessage.d.ts +7 -0
- package/dist/components/ui/InputErrorMessage.js +21 -0
- package/dist/components/ui/InputErrorMessage.js.map +1 -0
- package/dist/components/ui/Modal/index.d.ts +14 -0
- package/dist/components/ui/Modal/index.js +73 -0
- package/dist/components/ui/Modal/index.js.map +1 -0
- package/dist/components/ui/Radio.d.ts +6 -0
- package/dist/components/ui/Radio.js +35 -0
- package/dist/components/ui/Radio.js.map +1 -0
- package/dist/components/ui/RichTextEditor.d.ts +13 -0
- package/dist/components/ui/RichTextEditor.js +242 -0
- package/dist/components/ui/RichTextEditor.js.map +1 -0
- package/dist/components/ui/TimePicker/index.d.ts +19 -0
- package/dist/components/ui/TimePicker/index.js +215 -0
- package/dist/components/ui/TimePicker/index.js.map +1 -0
- package/dist/components/ui/TimeSelector/index.d.ts +11 -0
- package/dist/components/ui/TimeSelector/index.js +138 -0
- package/dist/components/ui/TimeSelector/index.js.map +1 -0
- package/dist/components/ui/Tooltip/index.d.ts +12 -0
- package/dist/components/ui/Tooltip.d.ts +12 -0
- package/dist/components/ui/Tooltip.js +136 -0
- package/dist/components/ui/Tooltip.js.map +1 -0
- package/dist/hooks/useDropdownPosition.d.ts +11 -0
- package/dist/hooks/useFirebaseAuthState.d.ts +6 -0
- package/dist/hooks/useFirebaseAuthState.js +23 -0
- package/dist/hooks/useFirebaseAuthState.js.map +1 -0
- package/dist/hooks/useTicketTierForm.d.ts +61 -0
- package/dist/index.d.ts +8 -15
- package/dist/index.js +9 -49
- package/dist/index.js.map +1 -1
- package/dist/lib/actions.d.ts +318 -0
- package/dist/lib/actions.js +32 -0
- package/dist/lib/actions.js.map +1 -0
- package/dist/lib/constants.d.ts +72 -0
- package/dist/lib/cropImage.d.ts +28 -0
- package/dist/lib/cropImage.js +113 -0
- package/dist/lib/cropImage.js.map +1 -0
- package/dist/lib/imageAnalysis.d.ts +16 -0
- package/dist/lib/imageAnalysis.js +58 -0
- package/dist/lib/imageAnalysis.js.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.js +9 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +2 -2
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +2 -2
- package/dist/node_modules/@firebase/app/dist/esm/index.esm.js +768 -0
- package/dist/node_modules/@firebase/app/dist/esm/index.esm.js.map +1 -0
- package/dist/node_modules/@firebase/component/dist/esm/index.esm.js +340 -0
- package/dist/node_modules/@firebase/component/dist/esm/index.esm.js.map +1 -0
- package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js +123 -0
- package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js.map +1 -0
- package/dist/node_modules/@firebase/storage/dist/index.esm.js +2623 -0
- package/dist/node_modules/@firebase/storage/dist/index.esm.js.map +1 -0
- package/dist/node_modules/@firebase/util/dist/index.esm.js +658 -0
- package/dist/node_modules/@firebase/util/dist/index.esm.js.map +1 -0
- package/dist/node_modules/@firebase/util/dist/postinstall.js +5 -0
- package/dist/node_modules/@firebase/util/dist/postinstall.js.map +1 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js +2 -2
- package/dist/node_modules/@heroicons/react/20/solid/esm/CheckIcon.js +27 -0
- package/dist/node_modules/@heroicons/react/20/solid/esm/CheckIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/20/solid/esm/ChevronDownIcon.js +27 -0
- package/dist/node_modules/@heroicons/react/20/solid/esm/ChevronDownIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js +29 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js +29 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js +29 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/LinkIcon.js +29 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/LinkIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js +29 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/MapPinIcon.js +33 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/MapPinIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/VideoCameraIcon.js +29 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/VideoCameraIcon.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js +29 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js.map +1 -0
- package/dist/node_modules/@tiptap/core/dist/index.js +5446 -0
- package/dist/node_modules/@tiptap/core/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +21 -0
- package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +78 -0
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +100 -0
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +70 -0
- package/dist/node_modules/@tiptap/extension-code/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +317 -0
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +16 -0
- package/dist/node_modules/@tiptap/extension-document/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +66 -0
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +86 -0
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +80 -0
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +98 -0
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +423 -0
- package/dist/node_modules/@tiptap/extension-link/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-list/dist/index.js +1039 -0
- package/dist/node_modules/@tiptap/extension-list/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +61 -0
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +7 -0
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +79 -0
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +16 -0
- package/dist/node_modules/@tiptap/extension-text/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extension-underline/dist/index.js +76 -0
- package/dist/node_modules/@tiptap/extension-underline/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/extensions/dist/index.js +376 -0
- package/dist/node_modules/@tiptap/extensions/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/react/dist/index.js +650 -0
- package/dist/node_modules/@tiptap/react/dist/index.js.map +1 -0
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +97 -0
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js.map +1 -0
- package/dist/node_modules/dayjs/dayjs.min.js +1 -1
- package/dist/node_modules/dayjs/plugin/duration.js +137 -0
- package/dist/node_modules/dayjs/plugin/duration.js.map +1 -0
- package/dist/node_modules/dayjs/plugin/isBetween.js +20 -0
- package/dist/node_modules/dayjs/plugin/isBetween.js.map +1 -0
- package/dist/node_modules/dayjs/plugin/relativeTime.js +49 -0
- package/dist/node_modules/dayjs/plugin/relativeTime.js.map +1 -0
- package/dist/node_modules/fast-equals/dist/es/index.js +442 -0
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
- package/dist/node_modules/idb/build/index.js +70 -0
- package/dist/node_modules/idb/build/index.js.map +1 -0
- package/dist/node_modules/idb/build/wrap-idb-value.js +149 -0
- package/dist/node_modules/idb/build/wrap-idb-value.js.map +1 -0
- package/dist/node_modules/linkifyjs/dist/linkify.js +1159 -0
- package/dist/node_modules/linkifyjs/dist/linkify.js.map +1 -0
- package/dist/node_modules/orderedmap/dist/index.js +120 -0
- package/dist/node_modules/orderedmap/dist/index.js.map +1 -0
- package/dist/node_modules/prosemirror-commands/dist/index.js +527 -0
- package/dist/node_modules/prosemirror-commands/dist/index.js.map +1 -0
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +137 -0
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js.map +1 -0
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +221 -0
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js.map +1 -0
- package/dist/node_modules/prosemirror-history/dist/index.js +357 -0
- package/dist/node_modules/prosemirror-history/dist/index.js.map +1 -0
- package/dist/node_modules/prosemirror-keymap/dist/index.js +84 -0
- package/dist/node_modules/prosemirror-keymap/dist/index.js.map +1 -0
- package/dist/node_modules/prosemirror-model/dist/index.js +3209 -0
- package/dist/node_modules/prosemirror-model/dist/index.js.map +1 -0
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +131 -0
- package/dist/node_modules/prosemirror-schema-list/dist/index.js.map +1 -0
- package/dist/node_modules/prosemirror-state/dist/index.js +936 -0
- package/dist/node_modules/prosemirror-state/dist/index.js.map +1 -0
- package/dist/node_modules/prosemirror-transform/dist/index.js +1881 -0
- package/dist/node_modules/prosemirror-transform/dist/index.js.map +1 -0
- package/dist/node_modules/prosemirror-view/dist/index.js +5232 -0
- package/dist/node_modules/prosemirror-view/dist/index.js.map +1 -0
- package/dist/node_modules/rope-sequence/dist/index.js +184 -0
- package/dist/node_modules/rope-sequence/dist/index.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +82 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +78 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +78 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +63 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +13 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js +13 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -0
- package/dist/node_modules/w3c-keyname/index.js +106 -0
- package/dist/node_modules/w3c-keyname/index.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/coerce.js +10 -0
- package/dist/node_modules/zod/v4/classic/coerce.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +22 -4
- package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -1
- package/dist/node_modules/zod/v4/core/api.js +18 -0
- package/dist/node_modules/zod/v4/core/api.js.map +1 -1
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +4 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +1 -1
- package/dist/node_modules/zod/v4/core/regexes.js +2 -0
- package/dist/node_modules/zod/v4/core/regexes.js.map +1 -1
- package/dist/node_modules/zod/v4/core/schemas.js +25 -3
- package/dist/node_modules/zod/v4/core/schemas.js.map +1 -1
- package/dist/redux/baseQuery.d.ts +1 -0
- package/dist/redux/baseQuery.js +24 -0
- package/dist/redux/baseQuery.js.map +1 -0
- package/dist/services/eventApi.d.ts +4383 -0
- package/dist/services/eventApi.js +411 -0
- package/dist/services/eventApi.js.map +1 -0
- package/dist/services/helpers.d.ts +50 -0
- package/dist/services/helpers.js +115 -0
- package/dist/services/helpers.js.map +1 -0
- package/dist/services/initialize-firebase.d.ts +2 -0
- package/dist/services/initialize-firebase.js +20 -0
- package/dist/services/initialize-firebase.js.map +1 -0
- package/dist/services/process-image-on-server.d.ts +1 -0
- package/dist/services/process-image-on-server.js +30 -0
- package/dist/services/process-image-on-server.js.map +1 -0
- package/dist/services/remote-config.d.ts +5 -0
- package/dist/services/remote-config.js +9 -0
- package/dist/services/remote-config.js.map +1 -0
- package/dist/services/single-event-api.d.ts +4287 -0
- package/dist/services/single-event-api.js +301 -0
- package/dist/services/single-event-api.js.map +1 -0
- package/dist/services/utils.d.ts +35 -0
- package/dist/services/utils.js +107 -0
- package/dist/services/utils.js.map +1 -0
- package/dist/stories/Alert.stories.d.ts +1 -1
- package/dist/styles.css +3531 -96
- package/dist/types/events.d.ts +60 -0
- package/dist/types/question.d.ts +37 -0
- package/dist/types/redux-types.d.ts +15 -0
- package/dist/types/types.d.ts +60 -0
- package/dist/types/types.js +10 -0
- package/dist/types/types.js.map +1 -0
- package/dist/utils/cn.js +2 -2
- package/dist/utils/cn.js.map +1 -1
- package/dist/utils/date-range.d.ts +4 -0
- package/dist/utils/date-range.js +13 -0
- package/dist/utils/date-range.js.map +1 -0
- package/dist/utils/single-event-helpers.d.ts +50 -0
- package/dist/utils/single-event-helpers.js +18 -0
- package/dist/utils/single-event-helpers.js.map +1 -0
- package/dist/utils/social-validation.d.ts +10 -0
- package/dist/utils/social-validation.js +42 -0
- package/dist/utils/social-validation.js.map +1 -0
- package/dist/utils/utils.d.ts +59 -0
- package/dist/utils/utils.js +20 -0
- package/dist/utils/utils.js.map +1 -0
- package/package.json +18 -2
- package/dist/_virtual/index2.js +0 -5
- package/dist/_virtual/index2.js.map +0 -1
- package/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/_virtual/jsx-runtime.js.map +0 -1
- package/dist/_virtual/react-is.development.js +0 -5
- package/dist/_virtual/react-is.development.js.map +0 -1
- package/dist/_virtual/react-is.production.min.js +0 -5
- package/dist/_virtual/react-is.production.min.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.js +0 -5
- package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.js.map +0 -1
- package/dist/_virtual/use-sync-external-store-with-selector.development.js +0 -5
- package/dist/_virtual/use-sync-external-store-with-selector.development.js.map +0 -1
- package/dist/_virtual/use-sync-external-store-with-selector.production.js +0 -5
- package/dist/_virtual/use-sync-external-store-with-selector.production.js.map +0 -1
- package/dist/components/StepperForm/AddEventLayout.d.ts +0 -66
- package/dist/components/StepperForm/AddEventLayout.js +0 -220
- package/dist/components/StepperForm/AddEventLayout.js.map +0 -1
- package/dist/components/StepperForm/EventSubmissionConfirmationModal.d.ts +0 -19
- package/dist/components/StepperForm/EventSubmissionConfirmationModal.js +0 -296
- package/dist/components/StepperForm/EventSubmissionConfirmationModal.js.map +0 -1
- package/dist/components/StepperForm/index.d.ts +0 -8
- package/dist/components/StepperForm/schemas/step1.js +0 -130
- package/dist/components/StepperForm/schemas/step1.js.map +0 -1
- package/dist/components/StepperForm/schemas/step2.d.ts +0 -138
- package/dist/components/StepperForm/schemas/step2.js +0 -95
- package/dist/components/StepperForm/schemas/step2.js.map +0 -1
- package/dist/components/StepperForm/schemas/utils.js.map +0 -1
- package/dist/components/StepperForm/useStepperForm.d.ts +0 -81
- package/dist/components/StepperForm/useStepperForm.js +0 -366
- package/dist/components/StepperForm/useStepperForm.js.map +0 -1
- package/dist/components/Toggle/Toggle.js +0 -67
- package/dist/components/Toggle/Toggle.js.map +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -538
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -626
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -510
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -17
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -269
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -177
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -150
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/description/description.js +0 -40
- package/dist/node_modules/@headlessui/react/dist/components/description/description.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.js +0 -111
- package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js +0 -133
- package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.js +0 -5
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/label/label.js +0 -62
- package/dist/node_modules/@headlessui/react/dist/components/label/label.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js +0 -22
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js +0 -127
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js +0 -206
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/mouse.js +0 -5
- package/dist/node_modules/@headlessui/react/dist/components/mouse.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js +0 -65
- package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js +0 -136
- package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js +0 -15
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js +0 -53
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js +0 -39
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js +0 -9
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js +0 -13
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js +0 -34
- package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js +0 -10
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js +0 -16
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js +0 -27
- package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.js +0 -13
- package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.js +0 -16
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js +0 -10
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js +0 -9
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js +0 -16
- package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js +0 -42
- package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js +0 -12
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js +0 -14
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js +0 -17
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js +0 -9
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js +0 -12
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js +0 -29
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js +0 -15
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js +0 -39
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js +0 -9
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js +0 -33
- package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js +0 -13
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.js +0 -39
- package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js +0 -13
- package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js +0 -17
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js +0 -8
- package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-store.js +0 -8
- package/dist/node_modules/@headlessui/react/dist/hooks/use-store.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js +0 -21
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js +0 -14
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js +0 -18
- package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js +0 -17
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js +0 -74
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js +0 -19
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js +0 -16
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js +0 -16
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/internal/close-provider.js +0 -10
- package/dist/node_modules/@headlessui/react/dist/internal/close-provider.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/internal/disabled.js +0 -9
- package/dist/node_modules/@headlessui/react/dist/internal/disabled.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/internal/floating.js +0 -155
- package/dist/node_modules/@headlessui/react/dist/internal/floating.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.js +0 -14
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/internal/id.js +0 -9
- package/dist/node_modules/@headlessui/react/dist/internal/id.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js +0 -20
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.js +0 -13
- package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/machine.js +0 -83
- package/dist/node_modules/@headlessui/react/dist/machine.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js +0 -39
- package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/react-glue.js +0 -13
- package/dist/node_modules/@headlessui/react/dist/react-glue.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js +0 -16
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.js +0 -20
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js +0 -41
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.js +0 -7
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/default-map.js +0 -14
- package/dist/node_modules/@headlessui/react/dist/utils/default-map.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.js +0 -41
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js +0 -10
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/dom.js +0 -47
- package/dist/node_modules/@headlessui/react/dist/utils/dom.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js +0 -23
- package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/env.js +0 -39
- package/dist/node_modules/@headlessui/react/dist/utils/env.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js +0 -98
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js +0 -32
- package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/match.js +0 -12
- package/dist/node_modules/@headlessui/react/dist/utils/match.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js +0 -9
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/owner.js +0 -23
- package/dist/node_modules/@headlessui/react/dist/utils/owner.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/platform.js +0 -15
- package/dist/node_modules/@headlessui/react/dist/utils/platform.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/render.js +0 -134
- package/dist/node_modules/@headlessui/react/dist/utils/render.js.map +0 -1
- package/dist/node_modules/@headlessui/react/dist/utils/store.js +0 -15
- package/dist/node_modules/@headlessui/react/dist/utils/store.js.map +0 -1
- package/dist/node_modules/@react-aria/focus/dist/useFocusRing.js +0 -49
- package/dist/node_modules/@react-aria/focus/dist/useFocusRing.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.js +0 -42
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.js +0 -170
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.js +0 -76
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useHover.js +0 -125
- package/dist/node_modules/@react-aria/interactions/dist/useHover.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/utils.js +0 -86
- package/dist/node_modules/@react-aria/interactions/dist/utils.js.map +0 -1
- package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.js +0 -37
- package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.js.map +0 -1
- package/dist/node_modules/@react-aria/utils/dist/domHelpers.js +0 -21
- package/dist/node_modules/@react-aria/utils/dist/domHelpers.js.map +0 -1
- package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js +0 -56
- package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js.map +0 -1
- package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.js +0 -10
- package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.js.map +0 -1
- package/dist/node_modules/@react-aria/utils/dist/openLink.js +0 -35
- package/dist/node_modules/@react-aria/utils/dist/openLink.js.map +0 -1
- package/dist/node_modules/@react-aria/utils/dist/platform.js +0 -57
- package/dist/node_modules/@react-aria/utils/dist/platform.js.map +0 -1
- package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.js +0 -44
- package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.js.map +0 -1
- package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.js +0 -7
- package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.js.map +0 -1
- package/dist/node_modules/@react-stately/flags/dist/import.js +0 -8
- package/dist/node_modules/@react-stately/flags/dist/import.js.map +0 -1
- package/dist/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -85
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -50
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -87
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -20
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -430
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -94
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -36
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -216
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -51
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -62
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -42
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -43
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -18
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -112
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -16
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -67
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -34
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -70
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -37
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -109
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -67
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -40
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -36
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -14
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -30
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -45
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -31
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -25
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -5
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -39
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -7
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +0 -1
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -52
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js.map +0 -1
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +0 -33
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js.map +0 -1
- package/dist/node_modules/imask/esm/controls/html-mask-element.js +0 -79
- package/dist/node_modules/imask/esm/controls/html-mask-element.js.map +0 -1
- package/dist/node_modules/imask/esm/controls/input-history.js +0 -37
- package/dist/node_modules/imask/esm/controls/input-history.js.map +0 -1
- package/dist/node_modules/imask/esm/controls/input.js +0 -309
- package/dist/node_modules/imask/esm/controls/input.js.map +0 -1
- package/dist/node_modules/imask/esm/controls/mask-element.js +0 -44
- package/dist/node_modules/imask/esm/controls/mask-element.js.map +0 -1
- package/dist/node_modules/imask/esm/core/action-details.js +0 -58
- package/dist/node_modules/imask/esm/core/action-details.js.map +0 -1
- package/dist/node_modules/imask/esm/core/change-details.js +0 -41
- package/dist/node_modules/imask/esm/core/change-details.js.map +0 -1
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js +0 -53
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js.map +0 -1
- package/dist/node_modules/imask/esm/core/holder.js +0 -7
- package/dist/node_modules/imask/esm/core/holder.js.map +0 -1
- package/dist/node_modules/imask/esm/core/utils.js +0 -71
- package/dist/node_modules/imask/esm/core/utils.js.map +0 -1
- package/dist/node_modules/imask/esm/index.js +0 -51
- package/dist/node_modules/imask/esm/index.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/base.js +0 -359
- package/dist/node_modules/imask/esm/masked/base.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/date.js +0 -132
- package/dist/node_modules/imask/esm/masked/date.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/dynamic.js +0 -318
- package/dist/node_modules/imask/esm/masked/dynamic.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/enum.js +0 -99
- package/dist/node_modules/imask/esm/masked/enum.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/factory.js +0 -63
- package/dist/node_modules/imask/esm/masked/factory.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/function.js +0 -24
- package/dist/node_modules/imask/esm/masked/function.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/number.js +0 -287
- package/dist/node_modules/imask/esm/masked/number.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -139
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js +0 -122
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -147
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +0 -177
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/pattern.js +0 -432
- package/dist/node_modules/imask/esm/masked/pattern.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/pipe.js +0 -32
- package/dist/node_modules/imask/esm/masked/pipe.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/range.js +0 -110
- package/dist/node_modules/imask/esm/masked/range.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/regexp.js +0 -23
- package/dist/node_modules/imask/esm/masked/regexp.js.map +0 -1
- package/dist/node_modules/imask/esm/masked/repeat.js +0 -133
- package/dist/node_modules/imask/esm/masked/repeat.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -39
- package/dist/node_modules/lucide-react/dist/esm/Icon.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/context.js +0 -7
- package/dist/node_modules/lucide-react/dist/esm/context.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -31
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -21
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +0 -19
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +0 -27
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/copy.js +0 -17
- package/dist/node_modules/lucide-react/dist/esm/icons/copy.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/eye.js +0 -23
- package/dist/node_modules/lucide-react/dist/esm/icons/eye.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +0 -18
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +0 -17
- package/dist/node_modules/lucide-react/dist/esm/icons/plus.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +0 -20
- package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +0 -24
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/user.js +0 -17
- package/dist/node_modules/lucide-react/dist/esm/icons/user.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/users.js +0 -19
- package/dist/node_modules/lucide-react/dist/esm/icons/users.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -17
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js +0 -18
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js +0 -13
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js +0 -11
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js.map +0 -1
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -159
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -300
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -165
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -52
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -68
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -247
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -70
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -72
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -109
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -133
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -44
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -68
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -65
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -63
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -63
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -61
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -88
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -58
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -41
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -35
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -1123
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -88
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -432
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -84
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -42
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -43
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -49
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/render/store.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -46
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -60
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -229
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -25
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -63
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -54
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -45
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -84
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -290
- package/dist/node_modules/motion-dom/dist/es/value/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -40
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -93
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -71
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -5
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/array.js +0 -14
- package/dist/node_modules/motion-utils/dist/es/array.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -11
- package/dist/node_modules/motion-utils/dist/es/clamp.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -12
- package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -11
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -29
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -10
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -39
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -23
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/global-config.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/is-object.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -13
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -5
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/pipe.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -33
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -12
- package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +0 -1
- package/dist/node_modules/object-assign/index.js +0 -79
- package/dist/node_modules/object-assign/index.js.map +0 -1
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -69
- package/dist/node_modules/prop-types/checkPropTypes.js.map +0 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -59
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -452
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
- package/dist/node_modules/prop-types/index.js +0 -18
- package/dist/node_modules/prop-types/index.js.map +0 -1
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -13
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
- package/dist/node_modules/prop-types/lib/has.js +0 -12
- package/dist/node_modules/prop-types/lib/has.js.map +0 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -166
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -107
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -18
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -271
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -42
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.js +0 -13
- package/dist/node_modules/react/jsx-runtime.js.map +0 -1
- package/dist/node_modules/react-icons/fa/index.js +0 -9
- package/dist/node_modules/react-icons/fa/index.js.map +0 -1
- package/dist/node_modules/react-icons/fi/index.js +0 -9
- package/dist/node_modules/react-icons/fi/index.js.map +0 -1
- package/dist/node_modules/react-icons/lib/iconBase.js +0 -110
- package/dist/node_modules/react-icons/lib/iconBase.js.map +0 -1
- package/dist/node_modules/react-icons/lib/iconContext.js +0 -14
- package/dist/node_modules/react-icons/lib/iconContext.js.map +0 -1
- package/dist/node_modules/react-imask/esm/input.js +0 -28
- package/dist/node_modules/react-imask/esm/input.js.map +0 -1
- package/dist/node_modules/react-imask/esm/mixin.js +0 -172
- package/dist/node_modules/react-imask/esm/mixin.js.map +0 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2467
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -81
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -77
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/with-selector.js +0 -13
- package/dist/node_modules/use-sync-external-store/with-selector.js.map +0 -1
- /package/dist/components/{StepperForm → EventAddForm}/schemas/step1.d.ts +0 -0
- /package/dist/components/{StepperForm → EventAddForm}/schemas/utils.d.ts +0 -0
- /package/dist/components/{StepperForm → EventAddForm}/schemas/utils.js +0 -0
- /package/dist/components/{StepperForm → EventAddForm}/types.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constraints.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs"],"sourcesContent":["import { mixNumber, calcLength } from 'motion-dom';\nimport { progress, clamp } from 'motion-utils';\n\n/**\n * Apply constraints to a point. These constraints are both physical along an\n * axis, and an elastic factor that determines how much to constrain the point\n * by if it does lie outside the defined parameters.\n */\nfunction applyConstraints(point, { min, max }, elastic) {\n if (min !== undefined && point < min) {\n // If we have a min point defined, and this is outside of that, constrain\n point = elastic\n ? mixNumber(min, point, elastic.min)\n : Math.max(point, min);\n }\n else if (max !== undefined && point > max) {\n // If we have a max point defined, and this is outside of that, constrain\n point = elastic\n ? mixNumber(max, point, elastic.max)\n : Math.min(point, max);\n }\n return point;\n}\n/**\n * Calculate constraints in terms of the viewport when defined relatively to the\n * measured axis. This is measured from the nearest edge, so a max constraint of 200\n * on an axis with a max value of 300 would return a constraint of 500 - axis length\n */\nfunction calcRelativeAxisConstraints(axis, min, max) {\n return {\n min: min !== undefined ? axis.min + min : undefined,\n max: max !== undefined\n ? axis.max + max - (axis.max - axis.min)\n : undefined,\n };\n}\n/**\n * Calculate constraints in terms of the viewport when\n * defined relatively to the measured bounding box.\n */\nfunction calcRelativeConstraints(layoutBox, { top, left, bottom, right }) {\n return {\n x: calcRelativeAxisConstraints(layoutBox.x, left, right),\n y: calcRelativeAxisConstraints(layoutBox.y, top, bottom),\n };\n}\n/**\n * Calculate viewport constraints when defined as another viewport-relative axis\n */\nfunction calcViewportAxisConstraints(layoutAxis, constraintsAxis) {\n let min = constraintsAxis.min - layoutAxis.min;\n let max = constraintsAxis.max - layoutAxis.max;\n // If the constraints axis is actually smaller than the layout axis then we can\n // flip the constraints\n if (constraintsAxis.max - constraintsAxis.min <\n layoutAxis.max - layoutAxis.min) {\n [min, max] = [max, min];\n }\n return { min, max };\n}\n/**\n * Calculate viewport constraints when defined as another viewport-relative box\n */\nfunction calcViewportConstraints(layoutBox, constraintsBox) {\n return {\n x: calcViewportAxisConstraints(layoutBox.x, constraintsBox.x),\n y: calcViewportAxisConstraints(layoutBox.y, constraintsBox.y),\n };\n}\n/**\n * Calculate a transform origin relative to the source axis, between 0-1, that results\n * in an asthetically pleasing scale/transform needed to project from source to target.\n */\nfunction calcOrigin(source, target) {\n let origin = 0.5;\n const sourceLength = calcLength(source);\n const targetLength = calcLength(target);\n if (targetLength > sourceLength) {\n origin = progress(target.min, target.max - sourceLength, source.min);\n }\n else if (sourceLength > targetLength) {\n origin = progress(source.min, source.max - targetLength, target.min);\n }\n return clamp(0, 1, origin);\n}\n/**\n * Rebase the calculated viewport constraints relative to the layout.min point.\n */\nfunction rebaseAxisConstraints(layout, constraints) {\n const relativeConstraints = {};\n if (constraints.min !== undefined) {\n relativeConstraints.min = constraints.min - layout.min;\n }\n if (constraints.max !== undefined) {\n relativeConstraints.max = constraints.max - layout.min;\n }\n return relativeConstraints;\n}\nconst defaultElastic = 0.35;\n/**\n * Accepts a dragElastic prop and returns resolved elastic values for each axis.\n */\nfunction resolveDragElastic(dragElastic = defaultElastic) {\n if (dragElastic === false) {\n dragElastic = 0;\n }\n else if (dragElastic === true) {\n dragElastic = defaultElastic;\n }\n return {\n x: resolveAxisElastic(dragElastic, \"left\", \"right\"),\n y: resolveAxisElastic(dragElastic, \"top\", \"bottom\"),\n };\n}\nfunction resolveAxisElastic(dragElastic, minLabel, maxLabel) {\n return {\n min: resolvePointElastic(dragElastic, minLabel),\n max: resolvePointElastic(dragElastic, maxLabel),\n };\n}\nfunction resolvePointElastic(dragElastic, label) {\n return typeof dragElastic === \"number\"\n ? dragElastic\n : dragElastic[label] || 0;\n}\n\nexport { applyConstraints, calcOrigin, calcRelativeAxisConstraints, calcRelativeConstraints, calcViewportAxisConstraints, calcViewportConstraints, defaultElastic, rebaseAxisConstraints, resolveAxisElastic, resolveDragElastic, resolvePointElastic };\n//# sourceMappingURL=constraints.mjs.map\n"],"names":[],"mappings":";;;;AAQA,SAAS,iBAAiB,OAAO,EAAE,KAAK,IAAG,GAAI,SAAS;AACpD,MAAI,QAAQ,UAAa,QAAQ,KAAK;AAElC,YAAQ,UACF,UAAU,KAAK,OAAO,QAAQ,GAAG,IACjC,KAAK,IAAI,OAAO,GAAG;AAAA,EAC7B,WACS,QAAQ,UAAa,QAAQ,KAAK;AAEvC,YAAQ,UACF,UAAU,KAAK,OAAO,QAAQ,GAAG,IACjC,KAAK,IAAI,OAAO,GAAG;AAAA,EAC7B;AACA,SAAO;AACX;AAMA,SAAS,4BAA4B,MAAM,KAAK,KAAK;AACjD,SAAO;AAAA,IACH,KAAK,QAAQ,SAAY,KAAK,MAAM,MAAM;AAAA,IAC1C,KAAK,QAAQ,SACP,KAAK,MAAM,OAAO,KAAK,MAAM,KAAK,OAClC;AAAA,EACd;AACA;AAKA,SAAS,wBAAwB,WAAW,EAAE,KAAK,MAAM,QAAQ,SAAS;AACtE,SAAO;AAAA,IACH,GAAG,4BAA4B,UAAU,GAAG,MAAM,KAAK;AAAA,IACvD,GAAG,4BAA4B,UAAU,GAAG,KAAK,MAAM;AAAA,EAC/D;AACA;AAIA,SAAS,4BAA4B,YAAY,iBAAiB;AAC9D,MAAI,MAAM,gBAAgB,MAAM,WAAW;AAC3C,MAAI,MAAM,gBAAgB,MAAM,WAAW;AAG3C,MAAI,gBAAgB,MAAM,gBAAgB,MACtC,WAAW,MAAM,WAAW,KAAK;AACjC,KAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG;AAAA,EAC1B;AACA,SAAO,EAAE,KAAK,IAAG;AACrB;AAIA,SAAS,wBAAwB,WAAW,gBAAgB;AACxD,SAAO;AAAA,IACH,GAAG,4BAA4B,UAAU,GAAG,eAAe,CAAC;AAAA,IAC5D,GAAG,4BAA4B,UAAU,GAAG,eAAe,CAAC;AAAA,EACpE;AACA;AAKA,SAAS,WAAW,QAAQ,QAAQ;AAChC,MAAI,SAAS;AACb,QAAM,eAAe,WAAW,MAAM;AACtC,QAAM,eAAe,WAAW,MAAM;AACtC,MAAI,eAAe,cAAc;AAC7B,aAAS,SAAS,OAAO,KAAK,OAAO,MAAM,cAAc,OAAO,GAAG;AAAA,EACvE,WACS,eAAe,cAAc;AAClC,aAAS,SAAS,OAAO,KAAK,OAAO,MAAM,cAAc,OAAO,GAAG;AAAA,EACvE;AACA,SAAO,MAAM,GAAG,GAAG,MAAM;AAC7B;AAIA,SAAS,sBAAsB,QAAQ,aAAa;AAChD,QAAM,sBAAsB,CAAA;AAC5B,MAAI,YAAY,QAAQ,QAAW;AAC/B,wBAAoB,MAAM,YAAY,MAAM,OAAO;AAAA,EACvD;AACA,MAAI,YAAY,QAAQ,QAAW;AAC/B,wBAAoB,MAAM,YAAY,MAAM,OAAO;AAAA,EACvD;AACA,SAAO;AACX;AACK,MAAC,iBAAiB;AAIvB,SAAS,mBAAmB,cAAc,gBAAgB;AACtD,MAAI,gBAAgB,OAAO;AACvB,kBAAc;AAAA,EAClB,WACS,gBAAgB,MAAM;AAC3B,kBAAc;AAAA,EAClB;AACA,SAAO;AAAA,IACH,GAAG,mBAAmB,aAAa,QAAQ,OAAO;AAAA,IAClD,GAAG,mBAAmB,aAAa,OAAO,QAAQ;AAAA,EAC1D;AACA;AACA,SAAS,mBAAmB,aAAa,UAAU,UAAU;AACzD,SAAO;AAAA,IACH,KAAK,oBAAoB,aAAa,QAAQ;AAAA,IAC9C,KAAK,oBAAoB,aAAa,QAAQ;AAAA,EACtD;AACA;AACA,SAAS,oBAAoB,aAAa,OAAO;AAC7C,SAAO,OAAO,gBAAgB,WACxB,cACA,YAAY,KAAK,KAAK;AAChC;","x_google_ignoreList":[0]}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Feature } from "../../../../motion-dom/dist/es/render/Feature.js";
|
|
2
|
-
import { pipe } from "../../../../motion-utils/dist/es/pipe.js";
|
|
3
|
-
import { addDomEvent } from "../../../../motion-dom/dist/es/events/add-dom-event.js";
|
|
4
|
-
class FocusGesture extends Feature {
|
|
5
|
-
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
|
-
this.isActive = false;
|
|
8
|
-
}
|
|
9
|
-
onFocus() {
|
|
10
|
-
let isFocusVisible = false;
|
|
11
|
-
try {
|
|
12
|
-
isFocusVisible = this.node.current.matches(":focus-visible");
|
|
13
|
-
} catch (e) {
|
|
14
|
-
isFocusVisible = true;
|
|
15
|
-
}
|
|
16
|
-
if (!isFocusVisible || !this.node.animationState)
|
|
17
|
-
return;
|
|
18
|
-
this.node.animationState.setActive("whileFocus", true);
|
|
19
|
-
this.isActive = true;
|
|
20
|
-
}
|
|
21
|
-
onBlur() {
|
|
22
|
-
if (!this.isActive || !this.node.animationState)
|
|
23
|
-
return;
|
|
24
|
-
this.node.animationState.setActive("whileFocus", false);
|
|
25
|
-
this.isActive = false;
|
|
26
|
-
}
|
|
27
|
-
mount() {
|
|
28
|
-
this.unmount = pipe(addDomEvent(this.node.current, "focus", () => this.onFocus()), addDomEvent(this.node.current, "blur", () => this.onBlur()));
|
|
29
|
-
}
|
|
30
|
-
unmount() {
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export {
|
|
34
|
-
FocusGesture
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=focus.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"focus.js","sources":["../../../../../../node_modules/framer-motion/dist/es/gestures/focus.mjs"],"sourcesContent":["import { Feature, addDomEvent } from 'motion-dom';\nimport { pipe } from 'motion-utils';\n\nclass FocusGesture extends Feature {\n constructor() {\n super(...arguments);\n this.isActive = false;\n }\n onFocus() {\n let isFocusVisible = false;\n /**\n * If this element doesn't match focus-visible then don't\n * apply whileHover. But, if matches throws that focus-visible\n * is not a valid selector then in that browser outline styles will be applied\n * to the element by default and we want to match that behaviour with whileFocus.\n */\n try {\n isFocusVisible = this.node.current.matches(\":focus-visible\");\n }\n catch (e) {\n isFocusVisible = true;\n }\n if (!isFocusVisible || !this.node.animationState)\n return;\n this.node.animationState.setActive(\"whileFocus\", true);\n this.isActive = true;\n }\n onBlur() {\n if (!this.isActive || !this.node.animationState)\n return;\n this.node.animationState.setActive(\"whileFocus\", false);\n this.isActive = false;\n }\n mount() {\n this.unmount = pipe(addDomEvent(this.node.current, \"focus\", () => this.onFocus()), addDomEvent(this.node.current, \"blur\", () => this.onBlur()));\n }\n unmount() { }\n}\n\nexport { FocusGesture };\n//# sourceMappingURL=focus.mjs.map\n"],"names":[],"mappings":";;;AAGA,MAAM,qBAAqB,QAAQ;AAAA,EAC/B,cAAc;AACV,UAAM,GAAG,SAAS;AAClB,SAAK,WAAW;AAAA,EACpB;AAAA,EACA,UAAU;AACN,QAAI,iBAAiB;AAOrB,QAAI;AACA,uBAAiB,KAAK,KAAK,QAAQ,QAAQ,gBAAgB;AAAA,IAC/D,SACO,GAAG;AACN,uBAAiB;AAAA,IACrB;AACA,QAAI,CAAC,kBAAkB,CAAC,KAAK,KAAK;AAC9B;AACJ,SAAK,KAAK,eAAe,UAAU,cAAc,IAAI;AACrD,SAAK,WAAW;AAAA,EACpB;AAAA,EACA,SAAS;AACL,QAAI,CAAC,KAAK,YAAY,CAAC,KAAK,KAAK;AAC7B;AACJ,SAAK,KAAK,eAAe,UAAU,cAAc,KAAK;AACtD,SAAK,WAAW;AAAA,EACpB;AAAA,EACA,QAAQ;AACJ,SAAK,UAAU,KAAK,YAAY,KAAK,KAAK,SAAS,SAAS,MAAM,KAAK,QAAO,CAAE,GAAG,YAAY,KAAK,KAAK,SAAS,QAAQ,MAAM,KAAK,OAAM,CAAE,CAAC;AAAA,EAClJ;AAAA,EACA,UAAU;AAAA,EAAE;AAChB;","x_google_ignoreList":[0]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { extractEventInfo } from "../events/event-info.js";
|
|
2
|
-
import { Feature } from "../../../../motion-dom/dist/es/render/Feature.js";
|
|
3
|
-
import { hover } from "../../../../motion-dom/dist/es/gestures/hover.js";
|
|
4
|
-
import { frame } from "../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
5
|
-
function handleHoverEvent(node, event, lifecycle) {
|
|
6
|
-
const { props } = node;
|
|
7
|
-
if (node.animationState && props.whileHover) {
|
|
8
|
-
node.animationState.setActive("whileHover", lifecycle === "Start");
|
|
9
|
-
}
|
|
10
|
-
const eventName = "onHover" + lifecycle;
|
|
11
|
-
const callback = props[eventName];
|
|
12
|
-
if (callback) {
|
|
13
|
-
frame.postRender(() => callback(event, extractEventInfo(event)));
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
class HoverGesture extends Feature {
|
|
17
|
-
mount() {
|
|
18
|
-
const { current } = this.node;
|
|
19
|
-
if (!current)
|
|
20
|
-
return;
|
|
21
|
-
this.unmount = hover(current, (_element, startEvent) => {
|
|
22
|
-
handleHoverEvent(this.node, startEvent, "Start");
|
|
23
|
-
return (endEvent) => handleHoverEvent(this.node, endEvent, "End");
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
unmount() {
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
export {
|
|
30
|
-
HoverGesture
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=hover.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hover.js","sources":["../../../../../../node_modules/framer-motion/dist/es/gestures/hover.mjs"],"sourcesContent":["import { Feature, hover, frame } from 'motion-dom';\nimport { extractEventInfo } from '../events/event-info.mjs';\n\nfunction handleHoverEvent(node, event, lifecycle) {\n const { props } = node;\n if (node.animationState && props.whileHover) {\n node.animationState.setActive(\"whileHover\", lifecycle === \"Start\");\n }\n const eventName = (\"onHover\" + lifecycle);\n const callback = props[eventName];\n if (callback) {\n frame.postRender(() => callback(event, extractEventInfo(event)));\n }\n}\nclass HoverGesture extends Feature {\n mount() {\n const { current } = this.node;\n if (!current)\n return;\n this.unmount = hover(current, (_element, startEvent) => {\n handleHoverEvent(this.node, startEvent, \"Start\");\n return (endEvent) => handleHoverEvent(this.node, endEvent, \"End\");\n });\n }\n unmount() { }\n}\n\nexport { HoverGesture };\n//# sourceMappingURL=hover.mjs.map\n"],"names":[],"mappings":";;;;AAGA,SAAS,iBAAiB,MAAM,OAAO,WAAW;AAC9C,QAAM,EAAE,MAAK,IAAK;AAClB,MAAI,KAAK,kBAAkB,MAAM,YAAY;AACzC,SAAK,eAAe,UAAU,cAAc,cAAc,OAAO;AAAA,EACrE;AACA,QAAM,YAAa,YAAY;AAC/B,QAAM,WAAW,MAAM,SAAS;AAChC,MAAI,UAAU;AACV,UAAM,WAAW,MAAM,SAAS,OAAO,iBAAiB,KAAK,CAAC,CAAC;AAAA,EACnE;AACJ;AACA,MAAM,qBAAqB,QAAQ;AAAA,EAC/B,QAAQ;AACJ,UAAM,EAAE,YAAY,KAAK;AACzB,QAAI,CAAC;AACD;AACJ,SAAK,UAAU,MAAM,SAAS,CAAC,UAAU,eAAe;AACpD,uBAAiB,KAAK,MAAM,YAAY,OAAO;AAC/C,aAAO,CAAC,aAAa,iBAAiB,KAAK,MAAM,UAAU,KAAK;AAAA,IACpE,CAAC;AAAA,EACL;AAAA,EACA,UAAU;AAAA,EAAE;AAChB;","x_google_ignoreList":[0]}
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import { addPointerEvent } from "../../events/add-pointer-event.js";
|
|
2
|
-
import { extractEventInfo } from "../../events/event-info.js";
|
|
3
|
-
import { distance2D } from "../../utils/distance.js";
|
|
4
|
-
import { frameData, frame, cancelFrame } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
5
|
-
import { isPrimaryPointer } from "../../../../../motion-dom/dist/es/gestures/utils/is-primary-pointer.js";
|
|
6
|
-
import { pipe } from "../../../../../motion-utils/dist/es/pipe.js";
|
|
7
|
-
import { secondsToMilliseconds, millisecondsToSeconds } from "../../../../../motion-utils/dist/es/time-conversion.js";
|
|
8
|
-
const overflowStyles = /* @__PURE__ */ new Set(["auto", "scroll"]);
|
|
9
|
-
class PanSession {
|
|
10
|
-
constructor(event, handlers, { transformPagePoint, contextWindow = window, dragSnapToOrigin = false, distanceThreshold = 3, element } = {}) {
|
|
11
|
-
this.startEvent = null;
|
|
12
|
-
this.lastMoveEvent = null;
|
|
13
|
-
this.lastMoveEventInfo = null;
|
|
14
|
-
this.lastRawMoveEventInfo = null;
|
|
15
|
-
this.handlers = {};
|
|
16
|
-
this.contextWindow = window;
|
|
17
|
-
this.scrollPositions = /* @__PURE__ */ new Map();
|
|
18
|
-
this.removeScrollListeners = null;
|
|
19
|
-
this.onElementScroll = (event2) => {
|
|
20
|
-
this.handleScroll(event2.target);
|
|
21
|
-
};
|
|
22
|
-
this.onWindowScroll = () => {
|
|
23
|
-
this.handleScroll(window);
|
|
24
|
-
};
|
|
25
|
-
this.updatePoint = () => {
|
|
26
|
-
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
27
|
-
return;
|
|
28
|
-
if (this.lastRawMoveEventInfo) {
|
|
29
|
-
this.lastMoveEventInfo = transformPoint(this.lastRawMoveEventInfo, this.transformPagePoint);
|
|
30
|
-
}
|
|
31
|
-
const info2 = getPanInfo(this.lastMoveEventInfo, this.history);
|
|
32
|
-
const isPanStarted = this.startEvent !== null;
|
|
33
|
-
const isDistancePastThreshold = distance2D(info2.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
|
|
34
|
-
if (!isPanStarted && !isDistancePastThreshold)
|
|
35
|
-
return;
|
|
36
|
-
const { point: point2 } = info2;
|
|
37
|
-
const { timestamp: timestamp2 } = frameData;
|
|
38
|
-
this.history.push({ ...point2, timestamp: timestamp2 });
|
|
39
|
-
const { onStart, onMove } = this.handlers;
|
|
40
|
-
if (!isPanStarted) {
|
|
41
|
-
onStart && onStart(this.lastMoveEvent, info2);
|
|
42
|
-
this.startEvent = this.lastMoveEvent;
|
|
43
|
-
}
|
|
44
|
-
onMove && onMove(this.lastMoveEvent, info2);
|
|
45
|
-
};
|
|
46
|
-
this.handlePointerMove = (event2, info2) => {
|
|
47
|
-
this.lastMoveEvent = event2;
|
|
48
|
-
this.lastRawMoveEventInfo = info2;
|
|
49
|
-
this.lastMoveEventInfo = transformPoint(info2, this.transformPagePoint);
|
|
50
|
-
frame.update(this.updatePoint, true);
|
|
51
|
-
};
|
|
52
|
-
this.handlePointerUp = (event2, info2) => {
|
|
53
|
-
this.end();
|
|
54
|
-
const { onEnd, onSessionEnd, resumeAnimation } = this.handlers;
|
|
55
|
-
if (this.dragSnapToOrigin || !this.startEvent) {
|
|
56
|
-
resumeAnimation && resumeAnimation();
|
|
57
|
-
}
|
|
58
|
-
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
59
|
-
return;
|
|
60
|
-
const panInfo = getPanInfo(event2.type === "pointercancel" ? this.lastMoveEventInfo : transformPoint(info2, this.transformPagePoint), this.history);
|
|
61
|
-
if (this.startEvent && onEnd) {
|
|
62
|
-
onEnd(event2, panInfo);
|
|
63
|
-
}
|
|
64
|
-
onSessionEnd && onSessionEnd(event2, panInfo);
|
|
65
|
-
};
|
|
66
|
-
if (!isPrimaryPointer(event))
|
|
67
|
-
return;
|
|
68
|
-
this.dragSnapToOrigin = dragSnapToOrigin;
|
|
69
|
-
this.handlers = handlers;
|
|
70
|
-
this.transformPagePoint = transformPagePoint;
|
|
71
|
-
this.distanceThreshold = distanceThreshold;
|
|
72
|
-
this.contextWindow = contextWindow || window;
|
|
73
|
-
const info = extractEventInfo(event);
|
|
74
|
-
const initialInfo = transformPoint(info, this.transformPagePoint);
|
|
75
|
-
const { point } = initialInfo;
|
|
76
|
-
const { timestamp } = frameData;
|
|
77
|
-
this.history = [{ ...point, timestamp }];
|
|
78
|
-
const { onSessionStart } = handlers;
|
|
79
|
-
onSessionStart && onSessionStart(event, getPanInfo(initialInfo, this.history));
|
|
80
|
-
this.removeListeners = pipe(addPointerEvent(this.contextWindow, "pointermove", this.handlePointerMove), addPointerEvent(this.contextWindow, "pointerup", this.handlePointerUp), addPointerEvent(this.contextWindow, "pointercancel", this.handlePointerUp));
|
|
81
|
-
if (element) {
|
|
82
|
-
this.startScrollTracking(element);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Start tracking scroll on ancestors and window.
|
|
87
|
-
*/
|
|
88
|
-
startScrollTracking(element) {
|
|
89
|
-
let current = element.parentElement;
|
|
90
|
-
while (current) {
|
|
91
|
-
const style = getComputedStyle(current);
|
|
92
|
-
if (overflowStyles.has(style.overflowX) || overflowStyles.has(style.overflowY)) {
|
|
93
|
-
this.scrollPositions.set(current, {
|
|
94
|
-
x: current.scrollLeft,
|
|
95
|
-
y: current.scrollTop
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
current = current.parentElement;
|
|
99
|
-
}
|
|
100
|
-
this.scrollPositions.set(window, {
|
|
101
|
-
x: window.scrollX,
|
|
102
|
-
y: window.scrollY
|
|
103
|
-
});
|
|
104
|
-
window.addEventListener("scroll", this.onElementScroll, {
|
|
105
|
-
capture: true
|
|
106
|
-
});
|
|
107
|
-
window.addEventListener("scroll", this.onWindowScroll);
|
|
108
|
-
this.removeScrollListeners = () => {
|
|
109
|
-
window.removeEventListener("scroll", this.onElementScroll, {
|
|
110
|
-
capture: true
|
|
111
|
-
});
|
|
112
|
-
window.removeEventListener("scroll", this.onWindowScroll);
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Handle scroll compensation during drag.
|
|
117
|
-
*
|
|
118
|
-
* For element scroll: adjusts history origin since pageX/pageY doesn't change.
|
|
119
|
-
* For window scroll: adjusts lastMoveEventInfo since pageX/pageY would change.
|
|
120
|
-
*/
|
|
121
|
-
handleScroll(target) {
|
|
122
|
-
const initial = this.scrollPositions.get(target);
|
|
123
|
-
if (!initial)
|
|
124
|
-
return;
|
|
125
|
-
const isWindow = target === window;
|
|
126
|
-
const current = isWindow ? { x: window.scrollX, y: window.scrollY } : {
|
|
127
|
-
x: target.scrollLeft,
|
|
128
|
-
y: target.scrollTop
|
|
129
|
-
};
|
|
130
|
-
const delta = { x: current.x - initial.x, y: current.y - initial.y };
|
|
131
|
-
if (delta.x === 0 && delta.y === 0)
|
|
132
|
-
return;
|
|
133
|
-
if (isWindow) {
|
|
134
|
-
if (this.lastMoveEventInfo) {
|
|
135
|
-
this.lastMoveEventInfo.point.x += delta.x;
|
|
136
|
-
this.lastMoveEventInfo.point.y += delta.y;
|
|
137
|
-
}
|
|
138
|
-
} else {
|
|
139
|
-
if (this.history.length > 0) {
|
|
140
|
-
this.history[0].x -= delta.x;
|
|
141
|
-
this.history[0].y -= delta.y;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
this.scrollPositions.set(target, current);
|
|
145
|
-
frame.update(this.updatePoint, true);
|
|
146
|
-
}
|
|
147
|
-
updateHandlers(handlers) {
|
|
148
|
-
this.handlers = handlers;
|
|
149
|
-
}
|
|
150
|
-
end() {
|
|
151
|
-
this.removeListeners && this.removeListeners();
|
|
152
|
-
this.removeScrollListeners && this.removeScrollListeners();
|
|
153
|
-
this.scrollPositions.clear();
|
|
154
|
-
cancelFrame(this.updatePoint);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
function transformPoint(info, transformPagePoint) {
|
|
158
|
-
return transformPagePoint ? { point: transformPagePoint(info.point) } : info;
|
|
159
|
-
}
|
|
160
|
-
function subtractPoint(a, b) {
|
|
161
|
-
return { x: a.x - b.x, y: a.y - b.y };
|
|
162
|
-
}
|
|
163
|
-
function getPanInfo({ point }, history) {
|
|
164
|
-
return {
|
|
165
|
-
point,
|
|
166
|
-
delta: subtractPoint(point, lastDevicePoint(history)),
|
|
167
|
-
offset: subtractPoint(point, startDevicePoint(history)),
|
|
168
|
-
velocity: getVelocity(history, 0.1)
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
function startDevicePoint(history) {
|
|
172
|
-
return history[0];
|
|
173
|
-
}
|
|
174
|
-
function lastDevicePoint(history) {
|
|
175
|
-
return history[history.length - 1];
|
|
176
|
-
}
|
|
177
|
-
function getVelocity(history, timeDelta) {
|
|
178
|
-
if (history.length < 2) {
|
|
179
|
-
return { x: 0, y: 0 };
|
|
180
|
-
}
|
|
181
|
-
let i = history.length - 1;
|
|
182
|
-
let timestampedPoint = null;
|
|
183
|
-
const lastPoint = lastDevicePoint(history);
|
|
184
|
-
while (i >= 0) {
|
|
185
|
-
timestampedPoint = history[i];
|
|
186
|
-
if (lastPoint.timestamp - timestampedPoint.timestamp > secondsToMilliseconds(timeDelta)) {
|
|
187
|
-
break;
|
|
188
|
-
}
|
|
189
|
-
i--;
|
|
190
|
-
}
|
|
191
|
-
if (!timestampedPoint) {
|
|
192
|
-
return { x: 0, y: 0 };
|
|
193
|
-
}
|
|
194
|
-
if (timestampedPoint === history[0] && history.length > 2 && lastPoint.timestamp - timestampedPoint.timestamp > secondsToMilliseconds(timeDelta) * 2) {
|
|
195
|
-
timestampedPoint = history[1];
|
|
196
|
-
}
|
|
197
|
-
const time = millisecondsToSeconds(lastPoint.timestamp - timestampedPoint.timestamp);
|
|
198
|
-
if (time === 0) {
|
|
199
|
-
return { x: 0, y: 0 };
|
|
200
|
-
}
|
|
201
|
-
const currentVelocity = {
|
|
202
|
-
x: (lastPoint.x - timestampedPoint.x) / time,
|
|
203
|
-
y: (lastPoint.y - timestampedPoint.y) / time
|
|
204
|
-
};
|
|
205
|
-
if (currentVelocity.x === Infinity) {
|
|
206
|
-
currentVelocity.x = 0;
|
|
207
|
-
}
|
|
208
|
-
if (currentVelocity.y === Infinity) {
|
|
209
|
-
currentVelocity.y = 0;
|
|
210
|
-
}
|
|
211
|
-
return currentVelocity;
|
|
212
|
-
}
|
|
213
|
-
export {
|
|
214
|
-
PanSession
|
|
215
|
-
};
|
|
216
|
-
//# sourceMappingURL=PanSession.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PanSession.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs"],"sourcesContent":["import { frameData, frame, isPrimaryPointer, cancelFrame } from 'motion-dom';\nimport { pipe, secondsToMilliseconds, millisecondsToSeconds } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { extractEventInfo } from '../../events/event-info.mjs';\nimport { distance2D } from '../../utils/distance.mjs';\n\nconst overflowStyles = /*#__PURE__*/ new Set([\"auto\", \"scroll\"]);\n/**\n * @internal\n */\nclass PanSession {\n constructor(event, handlers, { transformPagePoint, contextWindow = window, dragSnapToOrigin = false, distanceThreshold = 3, element, } = {}) {\n /**\n * @internal\n */\n this.startEvent = null;\n /**\n * @internal\n */\n this.lastMoveEvent = null;\n /**\n * @internal\n */\n this.lastMoveEventInfo = null;\n /**\n * Raw (untransformed) event info, re-transformed each frame\n * so transformPagePoint sees the current parent matrix.\n * @internal\n */\n this.lastRawMoveEventInfo = null;\n /**\n * @internal\n */\n this.handlers = {};\n /**\n * @internal\n */\n this.contextWindow = window;\n /**\n * Scroll positions of scrollable ancestors and window.\n * @internal\n */\n this.scrollPositions = new Map();\n /**\n * Cleanup function for scroll listeners.\n * @internal\n */\n this.removeScrollListeners = null;\n this.onElementScroll = (event) => {\n this.handleScroll(event.target);\n };\n this.onWindowScroll = () => {\n this.handleScroll(window);\n };\n this.updatePoint = () => {\n if (!(this.lastMoveEvent && this.lastMoveEventInfo))\n return;\n // Re-transform raw point through current transformPagePoint so\n // animated parent transforms (e.g. rotation) are picked up each frame\n if (this.lastRawMoveEventInfo) {\n this.lastMoveEventInfo = transformPoint(this.lastRawMoveEventInfo, this.transformPagePoint);\n }\n const info = getPanInfo(this.lastMoveEventInfo, this.history);\n const isPanStarted = this.startEvent !== null;\n // Only start panning if the offset is larger than 3 pixels. If we make it\n // any larger than this we'll want to reset the pointer history\n // on the first update to avoid visual snapping to the cursor.\n const isDistancePastThreshold = distance2D(info.offset, { x: 0, y: 0 }) >= this.distanceThreshold;\n if (!isPanStarted && !isDistancePastThreshold)\n return;\n const { point } = info;\n const { timestamp } = frameData;\n this.history.push({ ...point, timestamp });\n const { onStart, onMove } = this.handlers;\n if (!isPanStarted) {\n onStart && onStart(this.lastMoveEvent, info);\n this.startEvent = this.lastMoveEvent;\n }\n onMove && onMove(this.lastMoveEvent, info);\n };\n this.handlePointerMove = (event, info) => {\n this.lastMoveEvent = event;\n this.lastRawMoveEventInfo = info;\n this.lastMoveEventInfo = transformPoint(info, this.transformPagePoint);\n // Throttle mouse move event to once per frame\n frame.update(this.updatePoint, true);\n };\n this.handlePointerUp = (event, info) => {\n this.end();\n const { onEnd, onSessionEnd, resumeAnimation } = this.handlers;\n // Resume animation if dragSnapToOrigin is set OR if no drag started (user just clicked)\n // This ensures constraint animations continue when interrupted by a click\n if (this.dragSnapToOrigin || !this.startEvent) {\n resumeAnimation && resumeAnimation();\n }\n if (!(this.lastMoveEvent && this.lastMoveEventInfo))\n return;\n const panInfo = getPanInfo(event.type === \"pointercancel\"\n ? this.lastMoveEventInfo\n : transformPoint(info, this.transformPagePoint), this.history);\n if (this.startEvent && onEnd) {\n onEnd(event, panInfo);\n }\n onSessionEnd && onSessionEnd(event, panInfo);\n };\n // If we have more than one touch, don't start detecting this gesture\n if (!isPrimaryPointer(event))\n return;\n this.dragSnapToOrigin = dragSnapToOrigin;\n this.handlers = handlers;\n this.transformPagePoint = transformPagePoint;\n this.distanceThreshold = distanceThreshold;\n this.contextWindow = contextWindow || window;\n const info = extractEventInfo(event);\n const initialInfo = transformPoint(info, this.transformPagePoint);\n const { point } = initialInfo;\n const { timestamp } = frameData;\n this.history = [{ ...point, timestamp }];\n const { onSessionStart } = handlers;\n onSessionStart &&\n onSessionStart(event, getPanInfo(initialInfo, this.history));\n this.removeListeners = pipe(addPointerEvent(this.contextWindow, \"pointermove\", this.handlePointerMove), addPointerEvent(this.contextWindow, \"pointerup\", this.handlePointerUp), addPointerEvent(this.contextWindow, \"pointercancel\", this.handlePointerUp));\n // Start scroll tracking if element provided\n if (element) {\n this.startScrollTracking(element);\n }\n }\n /**\n * Start tracking scroll on ancestors and window.\n */\n startScrollTracking(element) {\n // Store initial scroll positions for scrollable ancestors\n let current = element.parentElement;\n while (current) {\n const style = getComputedStyle(current);\n if (overflowStyles.has(style.overflowX) ||\n overflowStyles.has(style.overflowY)) {\n this.scrollPositions.set(current, {\n x: current.scrollLeft,\n y: current.scrollTop,\n });\n }\n current = current.parentElement;\n }\n // Track window scroll\n this.scrollPositions.set(window, {\n x: window.scrollX,\n y: window.scrollY,\n });\n // Capture listener catches element scroll events as they bubble\n window.addEventListener(\"scroll\", this.onElementScroll, {\n capture: true,\n });\n // Direct window scroll listener (window scroll doesn't bubble)\n window.addEventListener(\"scroll\", this.onWindowScroll);\n this.removeScrollListeners = () => {\n window.removeEventListener(\"scroll\", this.onElementScroll, {\n capture: true,\n });\n window.removeEventListener(\"scroll\", this.onWindowScroll);\n };\n }\n /**\n * Handle scroll compensation during drag.\n *\n * For element scroll: adjusts history origin since pageX/pageY doesn't change.\n * For window scroll: adjusts lastMoveEventInfo since pageX/pageY would change.\n */\n handleScroll(target) {\n const initial = this.scrollPositions.get(target);\n if (!initial)\n return;\n const isWindow = target === window;\n const current = isWindow\n ? { x: window.scrollX, y: window.scrollY }\n : {\n x: target.scrollLeft,\n y: target.scrollTop,\n };\n const delta = { x: current.x - initial.x, y: current.y - initial.y };\n if (delta.x === 0 && delta.y === 0)\n return;\n if (isWindow) {\n // Window scroll: pageX/pageY changes, so update lastMoveEventInfo\n if (this.lastMoveEventInfo) {\n this.lastMoveEventInfo.point.x += delta.x;\n this.lastMoveEventInfo.point.y += delta.y;\n }\n }\n else {\n // Element scroll: pageX/pageY unchanged, so adjust history origin\n if (this.history.length > 0) {\n this.history[0].x -= delta.x;\n this.history[0].y -= delta.y;\n }\n }\n this.scrollPositions.set(target, current);\n frame.update(this.updatePoint, true);\n }\n updateHandlers(handlers) {\n this.handlers = handlers;\n }\n end() {\n this.removeListeners && this.removeListeners();\n this.removeScrollListeners && this.removeScrollListeners();\n this.scrollPositions.clear();\n cancelFrame(this.updatePoint);\n }\n}\nfunction transformPoint(info, transformPagePoint) {\n return transformPagePoint ? { point: transformPagePoint(info.point) } : info;\n}\nfunction subtractPoint(a, b) {\n return { x: a.x - b.x, y: a.y - b.y };\n}\nfunction getPanInfo({ point }, history) {\n return {\n point,\n delta: subtractPoint(point, lastDevicePoint(history)),\n offset: subtractPoint(point, startDevicePoint(history)),\n velocity: getVelocity(history, 0.1),\n };\n}\nfunction startDevicePoint(history) {\n return history[0];\n}\nfunction lastDevicePoint(history) {\n return history[history.length - 1];\n}\nfunction getVelocity(history, timeDelta) {\n if (history.length < 2) {\n return { x: 0, y: 0 };\n }\n let i = history.length - 1;\n let timestampedPoint = null;\n const lastPoint = lastDevicePoint(history);\n while (i >= 0) {\n timestampedPoint = history[i];\n if (lastPoint.timestamp - timestampedPoint.timestamp >\n secondsToMilliseconds(timeDelta)) {\n break;\n }\n i--;\n }\n if (!timestampedPoint) {\n return { x: 0, y: 0 };\n }\n /**\n * If the selected point is the pointer-down origin (history[0]),\n * there are better movement points available, and the time gap\n * is suspiciously large (>2x timeDelta), use the next point instead.\n * This prevents stale pointer-down points from diluting velocity\n * in hold-then-flick gestures.\n */\n if (timestampedPoint === history[0] &&\n history.length > 2 &&\n lastPoint.timestamp - timestampedPoint.timestamp >\n secondsToMilliseconds(timeDelta) * 2) {\n timestampedPoint = history[1];\n }\n const time = millisecondsToSeconds(lastPoint.timestamp - timestampedPoint.timestamp);\n if (time === 0) {\n return { x: 0, y: 0 };\n }\n const currentVelocity = {\n x: (lastPoint.x - timestampedPoint.x) / time,\n y: (lastPoint.y - timestampedPoint.y) / time,\n };\n if (currentVelocity.x === Infinity) {\n currentVelocity.x = 0;\n }\n if (currentVelocity.y === Infinity) {\n currentVelocity.y = 0;\n }\n return currentVelocity;\n}\n\nexport { PanSession };\n//# sourceMappingURL=PanSession.mjs.map\n"],"names":["event","info","point","timestamp"],"mappings":";;;;;;;AAMA,MAAM,iBAA+B,oBAAI,IAAI,CAAC,QAAQ,QAAQ,CAAC;AAI/D,MAAM,WAAW;AAAA,EACb,YAAY,OAAO,UAAU,EAAE,oBAAoB,gBAAgB,QAAQ,mBAAmB,OAAO,oBAAoB,GAAG,QAAO,IAAM,CAAA,GAAI;AAIzI,SAAK,aAAa;AAIlB,SAAK,gBAAgB;AAIrB,SAAK,oBAAoB;AAMzB,SAAK,uBAAuB;AAI5B,SAAK,WAAW,CAAA;AAIhB,SAAK,gBAAgB;AAKrB,SAAK,kBAAkB,oBAAI,IAAG;AAK9B,SAAK,wBAAwB;AAC7B,SAAK,kBAAkB,CAACA,WAAU;AAC9B,WAAK,aAAaA,OAAM,MAAM;AAAA,IAClC;AACA,SAAK,iBAAiB,MAAM;AACxB,WAAK,aAAa,MAAM;AAAA,IAC5B;AACA,SAAK,cAAc,MAAM;AACrB,UAAI,EAAE,KAAK,iBAAiB,KAAK;AAC7B;AAGJ,UAAI,KAAK,sBAAsB;AAC3B,aAAK,oBAAoB,eAAe,KAAK,sBAAsB,KAAK,kBAAkB;AAAA,MAC9F;AACA,YAAMC,QAAO,WAAW,KAAK,mBAAmB,KAAK,OAAO;AAC5D,YAAM,eAAe,KAAK,eAAe;AAIzC,YAAM,0BAA0B,WAAWA,MAAK,QAAQ,EAAE,GAAG,GAAG,GAAG,GAAG,KAAK,KAAK;AAChF,UAAI,CAAC,gBAAgB,CAAC;AAClB;AACJ,YAAM,EAAE,OAAAC,OAAK,IAAKD;AAClB,YAAM,EAAE,WAAAE,WAAS,IAAK;AACtB,WAAK,QAAQ,KAAK,EAAE,GAAGD,QAAO,WAAAC,WAAS,CAAE;AACzC,YAAM,EAAE,SAAS,OAAM,IAAK,KAAK;AACjC,UAAI,CAAC,cAAc;AACf,mBAAW,QAAQ,KAAK,eAAeF,KAAI;AAC3C,aAAK,aAAa,KAAK;AAAA,MAC3B;AACA,gBAAU,OAAO,KAAK,eAAeA,KAAI;AAAA,IAC7C;AACA,SAAK,oBAAoB,CAACD,QAAOC,UAAS;AACtC,WAAK,gBAAgBD;AACrB,WAAK,uBAAuBC;AAC5B,WAAK,oBAAoB,eAAeA,OAAM,KAAK,kBAAkB;AAErE,YAAM,OAAO,KAAK,aAAa,IAAI;AAAA,IACvC;AACA,SAAK,kBAAkB,CAACD,QAAOC,UAAS;AACpC,WAAK,IAAG;AACR,YAAM,EAAE,OAAO,cAAc,gBAAe,IAAK,KAAK;AAGtD,UAAI,KAAK,oBAAoB,CAAC,KAAK,YAAY;AAC3C,2BAAmB,gBAAe;AAAA,MACtC;AACA,UAAI,EAAE,KAAK,iBAAiB,KAAK;AAC7B;AACJ,YAAM,UAAU,WAAWD,OAAM,SAAS,kBACpC,KAAK,oBACL,eAAeC,OAAM,KAAK,kBAAkB,GAAG,KAAK,OAAO;AACjE,UAAI,KAAK,cAAc,OAAO;AAC1B,cAAMD,QAAO,OAAO;AAAA,MACxB;AACA,sBAAgB,aAAaA,QAAO,OAAO;AAAA,IAC/C;AAEA,QAAI,CAAC,iBAAiB,KAAK;AACvB;AACJ,SAAK,mBAAmB;AACxB,SAAK,WAAW;AAChB,SAAK,qBAAqB;AAC1B,SAAK,oBAAoB;AACzB,SAAK,gBAAgB,iBAAiB;AACtC,UAAM,OAAO,iBAAiB,KAAK;AACnC,UAAM,cAAc,eAAe,MAAM,KAAK,kBAAkB;AAChE,UAAM,EAAE,MAAK,IAAK;AAClB,UAAM,EAAE,UAAS,IAAK;AACtB,SAAK,UAAU,CAAC,EAAE,GAAG,OAAO,UAAS,CAAE;AACvC,UAAM,EAAE,eAAc,IAAK;AAC3B,sBACI,eAAe,OAAO,WAAW,aAAa,KAAK,OAAO,CAAC;AAC/D,SAAK,kBAAkB,KAAK,gBAAgB,KAAK,eAAe,eAAe,KAAK,iBAAiB,GAAG,gBAAgB,KAAK,eAAe,aAAa,KAAK,eAAe,GAAG,gBAAgB,KAAK,eAAe,iBAAiB,KAAK,eAAe,CAAC;AAE1P,QAAI,SAAS;AACT,WAAK,oBAAoB,OAAO;AAAA,IACpC;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA,EAIA,oBAAoB,SAAS;AAEzB,QAAI,UAAU,QAAQ;AACtB,WAAO,SAAS;AACZ,YAAM,QAAQ,iBAAiB,OAAO;AACtC,UAAI,eAAe,IAAI,MAAM,SAAS,KAClC,eAAe,IAAI,MAAM,SAAS,GAAG;AACrC,aAAK,gBAAgB,IAAI,SAAS;AAAA,UAC9B,GAAG,QAAQ;AAAA,UACX,GAAG,QAAQ;AAAA,QAC/B,CAAiB;AAAA,MACL;AACA,gBAAU,QAAQ;AAAA,IACtB;AAEA,SAAK,gBAAgB,IAAI,QAAQ;AAAA,MAC7B,GAAG,OAAO;AAAA,MACV,GAAG,OAAO;AAAA,IACtB,CAAS;AAED,WAAO,iBAAiB,UAAU,KAAK,iBAAiB;AAAA,MACpD,SAAS;AAAA,IACrB,CAAS;AAED,WAAO,iBAAiB,UAAU,KAAK,cAAc;AACrD,SAAK,wBAAwB,MAAM;AAC/B,aAAO,oBAAoB,UAAU,KAAK,iBAAiB;AAAA,QACvD,SAAS;AAAA,MACzB,CAAa;AACD,aAAO,oBAAoB,UAAU,KAAK,cAAc;AAAA,IAC5D;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,aAAa,QAAQ;AACjB,UAAM,UAAU,KAAK,gBAAgB,IAAI,MAAM;AAC/C,QAAI,CAAC;AACD;AACJ,UAAM,WAAW,WAAW;AAC5B,UAAM,UAAU,WACV,EAAE,GAAG,OAAO,SAAS,GAAG,OAAO,QAAO,IACtC;AAAA,MACE,GAAG,OAAO;AAAA,MACV,GAAG,OAAO;AAAA,IAC1B;AACQ,UAAM,QAAQ,EAAE,GAAG,QAAQ,IAAI,QAAQ,GAAG,GAAG,QAAQ,IAAI,QAAQ,EAAC;AAClE,QAAI,MAAM,MAAM,KAAK,MAAM,MAAM;AAC7B;AACJ,QAAI,UAAU;AAEV,UAAI,KAAK,mBAAmB;AACxB,aAAK,kBAAkB,MAAM,KAAK,MAAM;AACxC,aAAK,kBAAkB,MAAM,KAAK,MAAM;AAAA,MAC5C;AAAA,IACJ,OACK;AAED,UAAI,KAAK,QAAQ,SAAS,GAAG;AACzB,aAAK,QAAQ,CAAC,EAAE,KAAK,MAAM;AAC3B,aAAK,QAAQ,CAAC,EAAE,KAAK,MAAM;AAAA,MAC/B;AAAA,IACJ;AACA,SAAK,gBAAgB,IAAI,QAAQ,OAAO;AACxC,UAAM,OAAO,KAAK,aAAa,IAAI;AAAA,EACvC;AAAA,EACA,eAAe,UAAU;AACrB,SAAK,WAAW;AAAA,EACpB;AAAA,EACA,MAAM;AACF,SAAK,mBAAmB,KAAK,gBAAe;AAC5C,SAAK,yBAAyB,KAAK,sBAAqB;AACxD,SAAK,gBAAgB,MAAK;AAC1B,gBAAY,KAAK,WAAW;AAAA,EAChC;AACJ;AACA,SAAS,eAAe,MAAM,oBAAoB;AAC9C,SAAO,qBAAqB,EAAE,OAAO,mBAAmB,KAAK,KAAK,EAAC,IAAK;AAC5E;AACA,SAAS,cAAc,GAAG,GAAG;AACzB,SAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,GAAG,EAAE,IAAI,EAAE,EAAC;AACvC;AACA,SAAS,WAAW,EAAE,MAAK,GAAI,SAAS;AACpC,SAAO;AAAA,IACH;AAAA,IACA,OAAO,cAAc,OAAO,gBAAgB,OAAO,CAAC;AAAA,IACpD,QAAQ,cAAc,OAAO,iBAAiB,OAAO,CAAC;AAAA,IACtD,UAAU,YAAY,SAAS,GAAG;AAAA,EAC1C;AACA;AACA,SAAS,iBAAiB,SAAS;AAC/B,SAAO,QAAQ,CAAC;AACpB;AACA,SAAS,gBAAgB,SAAS;AAC9B,SAAO,QAAQ,QAAQ,SAAS,CAAC;AACrC;AACA,SAAS,YAAY,SAAS,WAAW;AACrC,MAAI,QAAQ,SAAS,GAAG;AACpB,WAAO,EAAE,GAAG,GAAG,GAAG,EAAC;AAAA,EACvB;AACA,MAAI,IAAI,QAAQ,SAAS;AACzB,MAAI,mBAAmB;AACvB,QAAM,YAAY,gBAAgB,OAAO;AACzC,SAAO,KAAK,GAAG;AACX,uBAAmB,QAAQ,CAAC;AAC5B,QAAI,UAAU,YAAY,iBAAiB,YACvC,sBAAsB,SAAS,GAAG;AAClC;AAAA,IACJ;AACA;AAAA,EACJ;AACA,MAAI,CAAC,kBAAkB;AACnB,WAAO,EAAE,GAAG,GAAG,GAAG,EAAC;AAAA,EACvB;AAQA,MAAI,qBAAqB,QAAQ,CAAC,KAC9B,QAAQ,SAAS,KACjB,UAAU,YAAY,iBAAiB,YACnC,sBAAsB,SAAS,IAAI,GAAG;AAC1C,uBAAmB,QAAQ,CAAC;AAAA,EAChC;AACA,QAAM,OAAO,sBAAsB,UAAU,YAAY,iBAAiB,SAAS;AACnF,MAAI,SAAS,GAAG;AACZ,WAAO,EAAE,GAAG,GAAG,GAAG,EAAC;AAAA,EACvB;AACA,QAAM,kBAAkB;AAAA,IACpB,IAAI,UAAU,IAAI,iBAAiB,KAAK;AAAA,IACxC,IAAI,UAAU,IAAI,iBAAiB,KAAK;AAAA,EAChD;AACI,MAAI,gBAAgB,MAAM,UAAU;AAChC,oBAAgB,IAAI;AAAA,EACxB;AACA,MAAI,gBAAgB,MAAM,UAAU;AAChC,oBAAgB,IAAI;AAAA,EACxB;AACA,SAAO;AACX;","x_google_ignoreList":[0]}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { addPointerEvent } from "../../events/add-pointer-event.js";
|
|
2
|
-
import { getContextWindow } from "../../utils/get-context-window.js";
|
|
3
|
-
import { PanSession } from "./PanSession.js";
|
|
4
|
-
import { Feature } from "../../../../../motion-dom/dist/es/render/Feature.js";
|
|
5
|
-
import { noop } from "../../../../../motion-utils/dist/es/noop.js";
|
|
6
|
-
import { frame } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
7
|
-
const asyncHandler = (handler) => (event, info) => {
|
|
8
|
-
if (handler) {
|
|
9
|
-
frame.update(() => handler(event, info), false, true);
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
class PanGesture extends Feature {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
this.removePointerDownListener = noop;
|
|
16
|
-
}
|
|
17
|
-
onPointerDown(pointerDownEvent) {
|
|
18
|
-
this.session = new PanSession(pointerDownEvent, this.createPanHandlers(), {
|
|
19
|
-
transformPagePoint: this.node.getTransformPagePoint(),
|
|
20
|
-
contextWindow: getContextWindow(this.node)
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
createPanHandlers() {
|
|
24
|
-
const { onPanSessionStart, onPanStart, onPan, onPanEnd } = this.node.getProps();
|
|
25
|
-
return {
|
|
26
|
-
onSessionStart: asyncHandler(onPanSessionStart),
|
|
27
|
-
onStart: asyncHandler(onPanStart),
|
|
28
|
-
onMove: asyncHandler(onPan),
|
|
29
|
-
onEnd: (event, info) => {
|
|
30
|
-
delete this.session;
|
|
31
|
-
if (onPanEnd) {
|
|
32
|
-
frame.postRender(() => onPanEnd(event, info));
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
mount() {
|
|
38
|
-
this.removePointerDownListener = addPointerEvent(this.node.current, "pointerdown", (event) => this.onPointerDown(event));
|
|
39
|
-
}
|
|
40
|
-
update() {
|
|
41
|
-
this.session && this.session.updateHandlers(this.createPanHandlers());
|
|
42
|
-
}
|
|
43
|
-
unmount() {
|
|
44
|
-
this.removePointerDownListener();
|
|
45
|
-
this.session && this.session.end();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
export {
|
|
49
|
-
PanGesture
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/gestures/pan/index.mjs"],"sourcesContent":["import { Feature, frame } from 'motion-dom';\nimport { noop } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { getContextWindow } from '../../utils/get-context-window.mjs';\nimport { PanSession } from './PanSession.mjs';\n\nconst asyncHandler = (handler) => (event, info) => {\n if (handler) {\n frame.update(() => handler(event, info), false, true);\n }\n};\nclass PanGesture extends Feature {\n constructor() {\n super(...arguments);\n this.removePointerDownListener = noop;\n }\n onPointerDown(pointerDownEvent) {\n this.session = new PanSession(pointerDownEvent, this.createPanHandlers(), {\n transformPagePoint: this.node.getTransformPagePoint(),\n contextWindow: getContextWindow(this.node),\n });\n }\n createPanHandlers() {\n const { onPanSessionStart, onPanStart, onPan, onPanEnd } = this.node.getProps();\n return {\n onSessionStart: asyncHandler(onPanSessionStart),\n onStart: asyncHandler(onPanStart),\n onMove: asyncHandler(onPan),\n onEnd: (event, info) => {\n delete this.session;\n if (onPanEnd) {\n frame.postRender(() => onPanEnd(event, info));\n }\n },\n };\n }\n mount() {\n this.removePointerDownListener = addPointerEvent(this.node.current, \"pointerdown\", (event) => this.onPointerDown(event));\n }\n update() {\n this.session && this.session.updateHandlers(this.createPanHandlers());\n }\n unmount() {\n this.removePointerDownListener();\n this.session && this.session.end();\n }\n}\n\nexport { PanGesture };\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;;;AAMA,MAAM,eAAe,CAAC,YAAY,CAAC,OAAO,SAAS;AAC/C,MAAI,SAAS;AACT,UAAM,OAAO,MAAM,QAAQ,OAAO,IAAI,GAAG,OAAO,IAAI;AAAA,EACxD;AACJ;AACA,MAAM,mBAAmB,QAAQ;AAAA,EAC7B,cAAc;AACV,UAAM,GAAG,SAAS;AAClB,SAAK,4BAA4B;AAAA,EACrC;AAAA,EACA,cAAc,kBAAkB;AAC5B,SAAK,UAAU,IAAI,WAAW,kBAAkB,KAAK,qBAAqB;AAAA,MACtE,oBAAoB,KAAK,KAAK,sBAAqB;AAAA,MACnD,eAAe,iBAAiB,KAAK,IAAI;AAAA,IACrD,CAAS;AAAA,EACL;AAAA,EACA,oBAAoB;AAChB,UAAM,EAAE,mBAAmB,YAAY,OAAO,SAAQ,IAAK,KAAK,KAAK,SAAQ;AAC7E,WAAO;AAAA,MACH,gBAAgB,aAAa,iBAAiB;AAAA,MAC9C,SAAS,aAAa,UAAU;AAAA,MAChC,QAAQ,aAAa,KAAK;AAAA,MAC1B,OAAO,CAAC,OAAO,SAAS;AACpB,eAAO,KAAK;AACZ,YAAI,UAAU;AACV,gBAAM,WAAW,MAAM,SAAS,OAAO,IAAI,CAAC;AAAA,QAChD;AAAA,MACJ;AAAA,IACZ;AAAA,EACI;AAAA,EACA,QAAQ;AACJ,SAAK,4BAA4B,gBAAgB,KAAK,KAAK,SAAS,eAAe,CAAC,UAAU,KAAK,cAAc,KAAK,CAAC;AAAA,EAC3H;AAAA,EACA,SAAS;AACL,SAAK,WAAW,KAAK,QAAQ,eAAe,KAAK,mBAAmB;AAAA,EACxE;AAAA,EACA,UAAU;AACN,SAAK,0BAAyB;AAC9B,SAAK,WAAW,KAAK,QAAQ,IAAG;AAAA,EACpC;AACJ;","x_google_ignoreList":[0]}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { extractEventInfo } from "../events/event-info.js";
|
|
2
|
-
import { Feature } from "../../../../motion-dom/dist/es/render/Feature.js";
|
|
3
|
-
import { press } from "../../../../motion-dom/dist/es/gestures/press/index.js";
|
|
4
|
-
import { frame } from "../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
5
|
-
function handlePressEvent(node, event, lifecycle) {
|
|
6
|
-
const { props } = node;
|
|
7
|
-
if (node.current instanceof HTMLButtonElement && node.current.disabled) {
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
if (node.animationState && props.whileTap) {
|
|
11
|
-
node.animationState.setActive("whileTap", lifecycle === "Start");
|
|
12
|
-
}
|
|
13
|
-
const eventName = "onTap" + (lifecycle === "End" ? "" : lifecycle);
|
|
14
|
-
const callback = props[eventName];
|
|
15
|
-
if (callback) {
|
|
16
|
-
frame.postRender(() => callback(event, extractEventInfo(event)));
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
class PressGesture extends Feature {
|
|
20
|
-
mount() {
|
|
21
|
-
const { current } = this.node;
|
|
22
|
-
if (!current)
|
|
23
|
-
return;
|
|
24
|
-
const { globalTapTarget, propagate } = this.node.props;
|
|
25
|
-
this.unmount = press(current, (_element, startEvent) => {
|
|
26
|
-
handlePressEvent(this.node, startEvent, "Start");
|
|
27
|
-
return (endEvent, { success }) => handlePressEvent(this.node, endEvent, success ? "End" : "Cancel");
|
|
28
|
-
}, {
|
|
29
|
-
useGlobalTarget: globalTapTarget,
|
|
30
|
-
stopPropagation: (propagate == null ? void 0 : propagate.tap) === false
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
unmount() {
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
export {
|
|
37
|
-
PressGesture
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=press.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"press.js","sources":["../../../../../../node_modules/framer-motion/dist/es/gestures/press.mjs"],"sourcesContent":["import { Feature, press, frame } from 'motion-dom';\nimport { extractEventInfo } from '../events/event-info.mjs';\n\nfunction handlePressEvent(node, event, lifecycle) {\n const { props } = node;\n if (node.current instanceof HTMLButtonElement && node.current.disabled) {\n return;\n }\n if (node.animationState && props.whileTap) {\n node.animationState.setActive(\"whileTap\", lifecycle === \"Start\");\n }\n const eventName = (\"onTap\" + (lifecycle === \"End\" ? \"\" : lifecycle));\n const callback = props[eventName];\n if (callback) {\n frame.postRender(() => callback(event, extractEventInfo(event)));\n }\n}\nclass PressGesture extends Feature {\n mount() {\n const { current } = this.node;\n if (!current)\n return;\n const { globalTapTarget, propagate } = this.node.props;\n this.unmount = press(current, (_element, startEvent) => {\n handlePressEvent(this.node, startEvent, \"Start\");\n return (endEvent, { success }) => handlePressEvent(this.node, endEvent, success ? \"End\" : \"Cancel\");\n }, {\n useGlobalTarget: globalTapTarget,\n stopPropagation: propagate?.tap === false,\n });\n }\n unmount() { }\n}\n\nexport { PressGesture };\n//# sourceMappingURL=press.mjs.map\n"],"names":[],"mappings":";;;;AAGA,SAAS,iBAAiB,MAAM,OAAO,WAAW;AAC9C,QAAM,EAAE,MAAK,IAAK;AAClB,MAAI,KAAK,mBAAmB,qBAAqB,KAAK,QAAQ,UAAU;AACpE;AAAA,EACJ;AACA,MAAI,KAAK,kBAAkB,MAAM,UAAU;AACvC,SAAK,eAAe,UAAU,YAAY,cAAc,OAAO;AAAA,EACnE;AACA,QAAM,YAAa,WAAW,cAAc,QAAQ,KAAK;AACzD,QAAM,WAAW,MAAM,SAAS;AAChC,MAAI,UAAU;AACV,UAAM,WAAW,MAAM,SAAS,OAAO,iBAAiB,KAAK,CAAC,CAAC;AAAA,EACnE;AACJ;AACA,MAAM,qBAAqB,QAAQ;AAAA,EAC/B,QAAQ;AACJ,UAAM,EAAE,YAAY,KAAK;AACzB,QAAI,CAAC;AACD;AACJ,UAAM,EAAE,iBAAiB,UAAS,IAAK,KAAK,KAAK;AACjD,SAAK,UAAU,MAAM,SAAS,CAAC,UAAU,eAAe;AACpD,uBAAiB,KAAK,MAAM,YAAY,OAAO;AAC/C,aAAO,CAAC,UAAU,EAAE,QAAO,MAAO,iBAAiB,KAAK,MAAM,UAAU,UAAU,QAAQ,QAAQ;AAAA,IACtG,GAAG;AAAA,MACC,iBAAiB;AAAA,MACjB,kBAAiB,uCAAW,SAAQ;AAAA,IAChD,CAAS;AAAA,EACL;AAAA,EACA,UAAU;AAAA,EAAE;AAChB;","x_google_ignoreList":[0]}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { Feature } from "../../../../../../motion-dom/dist/es/render/Feature.js";
|
|
2
|
-
import { resolveVariant } from "../../../../../../motion-dom/dist/es/render/utils/resolve-dynamic-variants.js";
|
|
3
|
-
let id = 0;
|
|
4
|
-
class ExitAnimationFeature extends Feature {
|
|
5
|
-
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
|
-
this.id = id++;
|
|
8
|
-
this.isExitComplete = false;
|
|
9
|
-
}
|
|
10
|
-
update() {
|
|
11
|
-
var _a;
|
|
12
|
-
if (!this.node.presenceContext)
|
|
13
|
-
return;
|
|
14
|
-
const { isPresent, onExitComplete } = this.node.presenceContext;
|
|
15
|
-
const { isPresent: prevIsPresent } = this.node.prevPresenceContext || {};
|
|
16
|
-
if (!this.node.animationState || isPresent === prevIsPresent) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
if (isPresent && prevIsPresent === false) {
|
|
20
|
-
if (this.isExitComplete) {
|
|
21
|
-
const { initial, custom } = this.node.getProps();
|
|
22
|
-
if (typeof initial === "string") {
|
|
23
|
-
const resolved = resolveVariant(this.node, initial, custom);
|
|
24
|
-
if (resolved) {
|
|
25
|
-
const { transition, transitionEnd, ...target } = resolved;
|
|
26
|
-
for (const key in target) {
|
|
27
|
-
(_a = this.node.getValue(key)) == null ? void 0 : _a.jump(target[key]);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
this.node.animationState.reset();
|
|
32
|
-
this.node.animationState.animateChanges();
|
|
33
|
-
} else {
|
|
34
|
-
this.node.animationState.setActive("exit", false);
|
|
35
|
-
}
|
|
36
|
-
this.isExitComplete = false;
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
const exitAnimation = this.node.animationState.setActive("exit", !isPresent);
|
|
40
|
-
if (onExitComplete && !isPresent) {
|
|
41
|
-
exitAnimation.then(() => {
|
|
42
|
-
this.isExitComplete = true;
|
|
43
|
-
onExitComplete(this.id);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
mount() {
|
|
48
|
-
const { register, onExitComplete } = this.node.presenceContext || {};
|
|
49
|
-
if (onExitComplete) {
|
|
50
|
-
onExitComplete(this.id);
|
|
51
|
-
}
|
|
52
|
-
if (register) {
|
|
53
|
-
this.unmount = register(this.id);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
unmount() {
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
export {
|
|
60
|
-
ExitAnimationFeature
|
|
61
|
-
};
|
|
62
|
-
//# sourceMappingURL=exit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exit.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs"],"sourcesContent":["import { Feature, resolveVariant } from 'motion-dom';\n\nlet id = 0;\nclass ExitAnimationFeature extends Feature {\n constructor() {\n super(...arguments);\n this.id = id++;\n this.isExitComplete = false;\n }\n update() {\n if (!this.node.presenceContext)\n return;\n const { isPresent, onExitComplete } = this.node.presenceContext;\n const { isPresent: prevIsPresent } = this.node.prevPresenceContext || {};\n if (!this.node.animationState || isPresent === prevIsPresent) {\n return;\n }\n if (isPresent && prevIsPresent === false) {\n /**\n * When re-entering, if the exit animation already completed\n * (element is at rest), reset to initial values so the enter\n * animation replays from the correct position.\n */\n if (this.isExitComplete) {\n const { initial, custom } = this.node.getProps();\n if (typeof initial === \"string\") {\n const resolved = resolveVariant(this.node, initial, custom);\n if (resolved) {\n const { transition, transitionEnd, ...target } = resolved;\n for (const key in target) {\n this.node\n .getValue(key)\n ?.jump(target[key]);\n }\n }\n }\n this.node.animationState.reset();\n this.node.animationState.animateChanges();\n }\n else {\n this.node.animationState.setActive(\"exit\", false);\n }\n this.isExitComplete = false;\n return;\n }\n const exitAnimation = this.node.animationState.setActive(\"exit\", !isPresent);\n if (onExitComplete && !isPresent) {\n exitAnimation.then(() => {\n this.isExitComplete = true;\n onExitComplete(this.id);\n });\n }\n }\n mount() {\n const { register, onExitComplete } = this.node.presenceContext || {};\n if (onExitComplete) {\n onExitComplete(this.id);\n }\n if (register) {\n this.unmount = register(this.id);\n }\n }\n unmount() { }\n}\n\nexport { ExitAnimationFeature };\n//# sourceMappingURL=exit.mjs.map\n"],"names":[],"mappings":";;AAEA,IAAI,KAAK;AACT,MAAM,6BAA6B,QAAQ;AAAA,EACvC,cAAc;AACV,UAAM,GAAG,SAAS;AAClB,SAAK,KAAK;AACV,SAAK,iBAAiB;AAAA,EAC1B;AAAA,EACA,SAAS;;AACL,QAAI,CAAC,KAAK,KAAK;AACX;AACJ,UAAM,EAAE,WAAW,eAAc,IAAK,KAAK,KAAK;AAChD,UAAM,EAAE,WAAW,cAAa,IAAK,KAAK,KAAK,uBAAuB,CAAA;AACtE,QAAI,CAAC,KAAK,KAAK,kBAAkB,cAAc,eAAe;AAC1D;AAAA,IACJ;AACA,QAAI,aAAa,kBAAkB,OAAO;AAMtC,UAAI,KAAK,gBAAgB;AACrB,cAAM,EAAE,SAAS,OAAM,IAAK,KAAK,KAAK,SAAQ;AAC9C,YAAI,OAAO,YAAY,UAAU;AAC7B,gBAAM,WAAW,eAAe,KAAK,MAAM,SAAS,MAAM;AAC1D,cAAI,UAAU;AACV,kBAAM,EAAE,YAAY,eAAe,GAAG,OAAM,IAAK;AACjD,uBAAW,OAAO,QAAQ;AACtB,yBAAK,KACA,SAAS,GAAG,MADjB,mBAEM,KAAK,OAAO,GAAG;AAAA,YACzB;AAAA,UACJ;AAAA,QACJ;AACA,aAAK,KAAK,eAAe,MAAK;AAC9B,aAAK,KAAK,eAAe,eAAc;AAAA,MAC3C,OACK;AACD,aAAK,KAAK,eAAe,UAAU,QAAQ,KAAK;AAAA,MACpD;AACA,WAAK,iBAAiB;AACtB;AAAA,IACJ;AACA,UAAM,gBAAgB,KAAK,KAAK,eAAe,UAAU,QAAQ,CAAC,SAAS;AAC3E,QAAI,kBAAkB,CAAC,WAAW;AAC9B,oBAAc,KAAK,MAAM;AACrB,aAAK,iBAAiB;AACtB,uBAAe,KAAK,EAAE;AAAA,MAC1B,CAAC;AAAA,IACL;AAAA,EACJ;AAAA,EACA,QAAQ;AACJ,UAAM,EAAE,UAAU,eAAc,IAAK,KAAK,KAAK,mBAAmB,CAAA;AAClE,QAAI,gBAAgB;AAChB,qBAAe,KAAK,EAAE;AAAA,IAC1B;AACA,QAAI,UAAU;AACV,WAAK,UAAU,SAAS,KAAK,EAAE;AAAA,IACnC;AAAA,EACJ;AAAA,EACA,UAAU;AAAA,EAAE;AAChB;","x_google_ignoreList":[0]}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Feature } from "../../../../../../motion-dom/dist/es/render/Feature.js";
|
|
2
|
-
import { createAnimationState } from "../../../../../../motion-dom/dist/es/render/utils/animation-state.js";
|
|
3
|
-
import { isAnimationControls } from "../../../../../../motion-dom/dist/es/render/utils/is-animation-controls.js";
|
|
4
|
-
class AnimationFeature extends Feature {
|
|
5
|
-
/**
|
|
6
|
-
* We dynamically generate the AnimationState manager as it contains a reference
|
|
7
|
-
* to the underlying animation library. We only want to load that if we load this,
|
|
8
|
-
* so people can optionally code split it out using the `m` component.
|
|
9
|
-
*/
|
|
10
|
-
constructor(node) {
|
|
11
|
-
super(node);
|
|
12
|
-
node.animationState || (node.animationState = createAnimationState(node));
|
|
13
|
-
}
|
|
14
|
-
updateAnimationControlsSubscription() {
|
|
15
|
-
const { animate } = this.node.getProps();
|
|
16
|
-
if (isAnimationControls(animate)) {
|
|
17
|
-
this.unmountControls = animate.subscribe(this.node);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Subscribe any provided AnimationControls to the component's VisualElement
|
|
22
|
-
*/
|
|
23
|
-
mount() {
|
|
24
|
-
this.updateAnimationControlsSubscription();
|
|
25
|
-
}
|
|
26
|
-
update() {
|
|
27
|
-
const { animate } = this.node.getProps();
|
|
28
|
-
const { animate: prevAnimate } = this.node.prevProps || {};
|
|
29
|
-
if (animate !== prevAnimate) {
|
|
30
|
-
this.updateAnimationControlsSubscription();
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
unmount() {
|
|
34
|
-
var _a;
|
|
35
|
-
this.node.animationState.reset();
|
|
36
|
-
(_a = this.unmountControls) == null ? void 0 : _a.call(this);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
export {
|
|
40
|
-
AnimationFeature
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/animation/index.mjs"],"sourcesContent":["import { Feature, createAnimationState, isAnimationControls } from 'motion-dom';\n\nclass AnimationFeature extends Feature {\n /**\n * We dynamically generate the AnimationState manager as it contains a reference\n * to the underlying animation library. We only want to load that if we load this,\n * so people can optionally code split it out using the `m` component.\n */\n constructor(node) {\n super(node);\n node.animationState || (node.animationState = createAnimationState(node));\n }\n updateAnimationControlsSubscription() {\n const { animate } = this.node.getProps();\n if (isAnimationControls(animate)) {\n this.unmountControls = animate.subscribe(this.node);\n }\n }\n /**\n * Subscribe any provided AnimationControls to the component's VisualElement\n */\n mount() {\n this.updateAnimationControlsSubscription();\n }\n update() {\n const { animate } = this.node.getProps();\n const { animate: prevAnimate } = this.node.prevProps || {};\n if (animate !== prevAnimate) {\n this.updateAnimationControlsSubscription();\n }\n }\n unmount() {\n this.node.animationState.reset();\n this.unmountControls?.();\n }\n}\n\nexport { AnimationFeature };\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;AAEA,MAAM,yBAAyB,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMnC,YAAY,MAAM;AACd,UAAM,IAAI;AACV,SAAK,mBAAmB,KAAK,iBAAiB,qBAAqB,IAAI;AAAA,EAC3E;AAAA,EACA,sCAAsC;AAClC,UAAM,EAAE,QAAO,IAAK,KAAK,KAAK,SAAQ;AACtC,QAAI,oBAAoB,OAAO,GAAG;AAC9B,WAAK,kBAAkB,QAAQ,UAAU,KAAK,IAAI;AAAA,IACtD;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA,EAIA,QAAQ;AACJ,SAAK,oCAAmC;AAAA,EAC5C;AAAA,EACA,SAAS;AACL,UAAM,EAAE,QAAO,IAAK,KAAK,KAAK,SAAQ;AACtC,UAAM,EAAE,SAAS,YAAW,IAAK,KAAK,KAAK,aAAa,CAAA;AACxD,QAAI,YAAY,aAAa;AACzB,WAAK,oCAAmC;AAAA,IAC5C;AAAA,EACJ;AAAA,EACA,UAAU;;AACN,SAAK,KAAK,eAAe,MAAK;AAC9B,eAAK,oBAAL;AAAA,EACJ;AACJ;","x_google_ignoreList":[0]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AnimationFeature } from "./animation/index.js";
|
|
2
|
-
import { ExitAnimationFeature } from "./animation/exit.js";
|
|
3
|
-
const animations = {
|
|
4
|
-
animation: {
|
|
5
|
-
Feature: AnimationFeature
|
|
6
|
-
},
|
|
7
|
-
exit: {
|
|
8
|
-
Feature: ExitAnimationFeature
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
animations
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=animations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"animations.js","sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/animations.mjs"],"sourcesContent":["import { AnimationFeature } from './animation/index.mjs';\nimport { ExitAnimationFeature } from './animation/exit.mjs';\n\nconst animations = {\n animation: {\n Feature: AnimationFeature,\n },\n exit: {\n Feature: ExitAnimationFeature,\n },\n};\n\nexport { animations };\n//# sourceMappingURL=animations.mjs.map\n"],"names":[],"mappings":";;AAGK,MAAC,aAAa;AAAA,EACf,WAAW;AAAA,IACP,SAAS;AAAA,EACjB;AAAA,EACI,MAAM;AAAA,IACF,SAAS;AAAA,EACjB;AACA;","x_google_ignoreList":[0]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { getFeatureDefinitions, setFeatureDefinitions } from "../../../../../motion-dom/dist/es/render/VisualElement.js";
|
|
2
|
-
const featureProps = {
|
|
3
|
-
animation: [
|
|
4
|
-
"animate",
|
|
5
|
-
"variants",
|
|
6
|
-
"whileHover",
|
|
7
|
-
"whileTap",
|
|
8
|
-
"exit",
|
|
9
|
-
"whileInView",
|
|
10
|
-
"whileFocus",
|
|
11
|
-
"whileDrag"
|
|
12
|
-
],
|
|
13
|
-
exit: ["exit"],
|
|
14
|
-
drag: ["drag", "dragControls"],
|
|
15
|
-
focus: ["whileFocus"],
|
|
16
|
-
hover: ["whileHover", "onHoverStart", "onHoverEnd"],
|
|
17
|
-
tap: ["whileTap", "onTap", "onTapStart", "onTapCancel"],
|
|
18
|
-
pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
|
|
19
|
-
inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
|
|
20
|
-
layout: ["layout", "layoutId"]
|
|
21
|
-
};
|
|
22
|
-
let isInitialized = false;
|
|
23
|
-
function initFeatureDefinitions() {
|
|
24
|
-
if (isInitialized)
|
|
25
|
-
return;
|
|
26
|
-
const initialFeatureDefinitions = {};
|
|
27
|
-
for (const key in featureProps) {
|
|
28
|
-
initialFeatureDefinitions[key] = {
|
|
29
|
-
isEnabled: (props) => featureProps[key].some((name) => !!props[name])
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
setFeatureDefinitions(initialFeatureDefinitions);
|
|
33
|
-
isInitialized = true;
|
|
34
|
-
}
|
|
35
|
-
function getInitializedFeatureDefinitions() {
|
|
36
|
-
initFeatureDefinitions();
|
|
37
|
-
return getFeatureDefinitions();
|
|
38
|
-
}
|
|
39
|
-
export {
|
|
40
|
-
getInitializedFeatureDefinitions,
|
|
41
|
-
initFeatureDefinitions
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=definitions.js.map
|