@123usmanhaider321/ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -0
- package/dist/_virtual/_commonjsHelpers.js +9 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/customParseFormat.js +5 -0
- package/dist/_virtual/customParseFormat.js.map +1 -0
- package/dist/_virtual/dayjs.min.js +5 -0
- package/dist/_virtual/dayjs.min.js.map +1 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index2.js +5 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime.js.map +1 -0
- package/dist/_virtual/react-is.development.js +5 -0
- package/dist/_virtual/react-is.development.js.map +1 -0
- package/dist/_virtual/react-is.production.min.js +5 -0
- package/dist/_virtual/react-is.production.min.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.development.js +5 -0
- package/dist/_virtual/react-jsx-runtime.development.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.js +5 -0
- package/dist/_virtual/react-jsx-runtime.production.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-with-selector.development.js +5 -0
- package/dist/_virtual/use-sync-external-store-with-selector.development.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-with-selector.production.js +5 -0
- package/dist/_virtual/use-sync-external-store-with-selector.production.js.map +1 -0
- package/dist/_virtual/with-selector.js +5 -0
- package/dist/_virtual/with-selector.js.map +1 -0
- package/dist/components/Alert/Alert.d.ts +10 -0
- package/dist/components/Alert/Alert.js +54 -0
- package/dist/components/Alert/Alert.js.map +1 -0
- package/dist/components/Button/Button.d.ts +8 -0
- package/dist/components/Button/Button.js +52 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Button/Button.test.d.ts +1 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +9 -0
- package/dist/components/Checkbox/Checkbox.js +50 -0
- package/dist/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +25 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.js +99 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.js.map +1 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.d.ts +15 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.js +138 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.js.map +1 -0
- package/dist/components/ConfirmationModal/index.d.ts +2 -0
- package/dist/components/CustomSelect/CustomSelect.d.ts +32 -0
- package/dist/components/CustomSelect/CustomSelect.js +261 -0
- package/dist/components/CustomSelect/CustomSelect.js.map +1 -0
- package/dist/components/FormBuilder/CategoryList.d.ts +14 -0
- package/dist/components/FormBuilder/CategoryList.js +242 -0
- package/dist/components/FormBuilder/CategoryList.js.map +1 -0
- package/dist/components/FormBuilder/DiscountInput.d.ts +21 -0
- package/dist/components/FormBuilder/DiscountInput.js +367 -0
- package/dist/components/FormBuilder/DiscountInput.js.map +1 -0
- package/dist/components/FormBuilder/FormBuilder.d.ts +30 -0
- package/dist/components/FormBuilder/FormBuilder.js +921 -0
- package/dist/components/FormBuilder/FormBuilder.js.map +1 -0
- package/dist/components/FormBuilder/OptionList.d.ts +10 -0
- package/dist/components/FormBuilder/OptionList.js +120 -0
- package/dist/components/FormBuilder/OptionList.js.map +1 -0
- package/dist/components/FormBuilder/PaymentPreview.d.ts +12 -0
- package/dist/components/FormBuilder/PaymentPreview.js +70 -0
- package/dist/components/FormBuilder/PaymentPreview.js.map +1 -0
- package/dist/components/FormBuilder/PreviewInput.d.ts +10 -0
- package/dist/components/FormBuilder/PreviewInput.js +154 -0
- package/dist/components/FormBuilder/PreviewInput.js.map +1 -0
- package/dist/components/FormBuilder/QuestionCard.d.ts +34 -0
- package/dist/components/FormBuilder/QuestionCard.js +253 -0
- package/dist/components/FormBuilder/QuestionCard.js.map +1 -0
- package/dist/components/FormBuilder/QuestionEditor.d.ts +24 -0
- package/dist/components/FormBuilder/QuestionEditor.js +166 -0
- package/dist/components/FormBuilder/QuestionEditor.js.map +1 -0
- package/dist/components/FormBuilder/RequiredToggle.d.ts +11 -0
- package/dist/components/FormBuilder/RequiredToggle.js +43 -0
- package/dist/components/FormBuilder/RequiredToggle.js.map +1 -0
- package/dist/components/FormBuilder/SortableQuestionList.d.ts +36 -0
- package/dist/components/FormBuilder/SortableQuestionList.js +137 -0
- package/dist/components/FormBuilder/SortableQuestionList.js.map +1 -0
- package/dist/components/FormBuilder/index.d.ts +4 -0
- package/dist/components/FormBuilder/types.d.ts +41 -0
- package/dist/components/FormBuilder/utils.d.ts +9 -0
- package/dist/components/FormBuilder/utils.js +229 -0
- package/dist/components/FormBuilder/utils.js.map +1 -0
- package/dist/components/FormInput/FormInput.d.ts +29 -0
- package/dist/components/FormInput/FormInput.js +126 -0
- package/dist/components/FormInput/FormInput.js.map +1 -0
- package/dist/components/FormInput/FormInput.test.d.ts +1 -0
- package/dist/components/FormInput/index.d.ts +2 -0
- package/dist/components/InformationPopover/InformationPopover.d.ts +7 -0
- package/dist/components/InformationPopover/InformationPopover.js +19 -0
- package/dist/components/InformationPopover/InformationPopover.js.map +1 -0
- package/dist/components/InputErrorMessage/InputErrorMessage.d.ts +5 -0
- package/dist/components/InputErrorMessage/InputErrorMessage.js +22 -0
- package/dist/components/InputErrorMessage/InputErrorMessage.js.map +1 -0
- package/dist/components/Modal/Modal.d.ts +15 -0
- package/dist/components/Modal/Modal.js +74 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Radio/Radio.d.ts +6 -0
- package/dist/components/Radio/Radio.js +35 -0
- package/dist/components/Radio/Radio.js.map +1 -0
- package/dist/components/StepperForm/AddEventLayout.d.ts +66 -0
- package/dist/components/StepperForm/AddEventLayout.js +220 -0
- package/dist/components/StepperForm/AddEventLayout.js.map +1 -0
- package/dist/components/StepperForm/EventSubmissionConfirmationModal.d.ts +19 -0
- package/dist/components/StepperForm/EventSubmissionConfirmationModal.js +296 -0
- package/dist/components/StepperForm/EventSubmissionConfirmationModal.js.map +1 -0
- package/dist/components/StepperForm/index.d.ts +8 -0
- package/dist/components/StepperForm/schemas/step1.d.ts +47 -0
- package/dist/components/StepperForm/schemas/step1.js +130 -0
- package/dist/components/StepperForm/schemas/step1.js.map +1 -0
- package/dist/components/StepperForm/schemas/step2.d.ts +138 -0
- package/dist/components/StepperForm/schemas/step2.js +95 -0
- package/dist/components/StepperForm/schemas/step2.js.map +1 -0
- package/dist/components/StepperForm/schemas/utils.d.ts +7 -0
- package/dist/components/StepperForm/schemas/utils.js +28 -0
- package/dist/components/StepperForm/schemas/utils.js.map +1 -0
- package/dist/components/StepperForm/types.d.ts +10 -0
- package/dist/components/StepperForm/useStepperForm.d.ts +81 -0
- package/dist/components/StepperForm/useStepperForm.js +366 -0
- package/dist/components/StepperForm/useStepperForm.js.map +1 -0
- package/dist/components/Toggle/Toggle.d.ts +16 -0
- package/dist/components/Toggle/Toggle.js +67 -0
- package/dist/components/Toggle/Toggle.js.map +1 -0
- package/dist/components/Toggle/index.d.ts +2 -0
- package/dist/components/Tooltip/Tooltip.d.ts +12 -0
- package/dist/components/Tooltip/Tooltip.js +135 -0
- package/dist/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +55 -0
- package/dist/index.js.map +1 -0
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +60 -0
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js.map +1 -0
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +3458 -0
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.js.map +1 -0
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +593 -0
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js.map +1 -0
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +302 -0
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js.map +1 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +538 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +626 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +510 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +1 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +17 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +1 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +269 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +177 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +150 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +3179 -0
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js.map +1 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +60 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js.map +1 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js +400 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/description/description.js +40 -0
- package/dist/node_modules/@headlessui/react/dist/components/description/description.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.js +111 -0
- package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js +133 -0
- package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.js +5 -0
- package/dist/node_modules/@headlessui/react/dist/components/keyboard.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/label/label.js +62 -0
- package/dist/node_modules/@headlessui/react/dist/components/label/label.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js +22 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js +127 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js +206 -0
- package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/mouse.js +5 -0
- package/dist/node_modules/@headlessui/react/dist/components/mouse.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js +65 -0
- package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js +136 -0
- package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js +53 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js +39 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js +34 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js +10 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js +27 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js +10 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js +42 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js +17 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js +29 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js +39 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js +33 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.js +39 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js +17 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-store.js +8 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-store.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js +21 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js +18 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js +17 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js +74 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js +19 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/close-provider.js +10 -0
- package/dist/node_modules/@headlessui/react/dist/internal/close-provider.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/disabled.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/internal/disabled.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/floating.js +155 -0
- package/dist/node_modules/@headlessui/react/dist/internal/floating.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/internal/hidden.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/id.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/internal/id.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js +20 -0
- package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/machine.js +83 -0
- package/dist/node_modules/@headlessui/react/dist/machine.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js +39 -0
- package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/react-glue.js +13 -0
- package/dist/node_modules/@headlessui/react/dist/react-glue.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js +16 -0
- package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.js +20 -0
- package/dist/node_modules/@headlessui/react/dist/utils/bugs.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js +41 -0
- package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.js +7 -0
- package/dist/node_modules/@headlessui/react/dist/utils/class-names.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/default-map.js +14 -0
- package/dist/node_modules/@headlessui/react/dist/utils/default-map.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.js +41 -0
- package/dist/node_modules/@headlessui/react/dist/utils/disposables.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js +10 -0
- package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/dom.js +47 -0
- package/dist/node_modules/@headlessui/react/dist/utils/dom.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js +23 -0
- package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/env.js +39 -0
- package/dist/node_modules/@headlessui/react/dist/utils/env.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js +98 -0
- package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js +32 -0
- package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/match.js +12 -0
- package/dist/node_modules/@headlessui/react/dist/utils/match.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js +9 -0
- package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/owner.js +23 -0
- package/dist/node_modules/@headlessui/react/dist/utils/owner.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/platform.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/utils/platform.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/render.js +134 -0
- package/dist/node_modules/@headlessui/react/dist/utils/render.js.map +1 -0
- package/dist/node_modules/@headlessui/react/dist/utils/store.js +15 -0
- package/dist/node_modules/@headlessui/react/dist/utils/store.js.map +1 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js +29 -0
- package/dist/node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js.map +1 -0
- package/dist/node_modules/@react-aria/focus/dist/useFocusRing.js +49 -0
- package/dist/node_modules/@react-aria/focus/dist/useFocusRing.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.js +42 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.js +170 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.js +76 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useHover.js +125 -0
- package/dist/node_modules/@react-aria/interactions/dist/useHover.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/utils.js +86 -0
- package/dist/node_modules/@react-aria/interactions/dist/utils.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.js +37 -0
- package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/domHelpers.js +21 -0
- package/dist/node_modules/@react-aria/utils/dist/domHelpers.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js +56 -0
- package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.js +10 -0
- package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/openLink.js +35 -0
- package/dist/node_modules/@react-aria/utils/dist/openLink.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/platform.js +57 -0
- package/dist/node_modules/@react-aria/utils/dist/platform.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.js +44 -0
- package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.js.map +1 -0
- package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.js +7 -0
- package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.js.map +1 -0
- package/dist/node_modules/@react-stately/flags/dist/import.js +8 -0
- package/dist/node_modules/@react-stately/flags/dist/import.js.map +1 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/dayjs/dayjs.min.js +283 -0
- package/dist/node_modules/dayjs/dayjs.min.js.map +1 -0
- package/dist/node_modules/dayjs/plugin/customParseFormat.js +130 -0
- package/dist/node_modules/dayjs/plugin/customParseFormat.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +85 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +50 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +87 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +430 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +94 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +216 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +51 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +62 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +42 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +112 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +67 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +70 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +109 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +67 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +40 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +52 -0
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +33 -0
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/html-mask-element.js +79 -0
- package/dist/node_modules/imask/esm/controls/html-mask-element.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/input-history.js +37 -0
- package/dist/node_modules/imask/esm/controls/input-history.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/input.js +309 -0
- package/dist/node_modules/imask/esm/controls/input.js.map +1 -0
- package/dist/node_modules/imask/esm/controls/mask-element.js +44 -0
- package/dist/node_modules/imask/esm/controls/mask-element.js.map +1 -0
- package/dist/node_modules/imask/esm/core/action-details.js +58 -0
- package/dist/node_modules/imask/esm/core/action-details.js.map +1 -0
- package/dist/node_modules/imask/esm/core/change-details.js +41 -0
- package/dist/node_modules/imask/esm/core/change-details.js.map +1 -0
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js +53 -0
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js.map +1 -0
- package/dist/node_modules/imask/esm/core/holder.js +7 -0
- package/dist/node_modules/imask/esm/core/holder.js.map +1 -0
- package/dist/node_modules/imask/esm/core/utils.js +71 -0
- package/dist/node_modules/imask/esm/core/utils.js.map +1 -0
- package/dist/node_modules/imask/esm/index.js +51 -0
- package/dist/node_modules/imask/esm/index.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/base.js +359 -0
- package/dist/node_modules/imask/esm/masked/base.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/date.js +132 -0
- package/dist/node_modules/imask/esm/masked/date.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/dynamic.js +318 -0
- package/dist/node_modules/imask/esm/masked/dynamic.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/enum.js +99 -0
- package/dist/node_modules/imask/esm/masked/enum.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/factory.js +63 -0
- package/dist/node_modules/imask/esm/masked/factory.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/function.js +24 -0
- package/dist/node_modules/imask/esm/masked/function.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/number.js +287 -0
- package/dist/node_modules/imask/esm/masked/number.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +139 -0
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js +122 -0
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +147 -0
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +177 -0
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pattern.js +432 -0
- package/dist/node_modules/imask/esm/masked/pattern.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/pipe.js +32 -0
- package/dist/node_modules/imask/esm/masked/pipe.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/range.js +110 -0
- package/dist/node_modules/imask/esm/masked/range.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/regexp.js +23 -0
- package/dist/node_modules/imask/esm/masked/regexp.js.map +1 -0
- package/dist/node_modules/imask/esm/masked/repeat.js +133 -0
- package/dist/node_modules/imask/esm/masked/repeat.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +39 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/context.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/context.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +31 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +21 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +19 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +27 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/copy.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/copy.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/eye.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/eye.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +18 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/plus.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +20 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +24 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/user.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/user.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/users.js +19 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/users.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js +18 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js +13 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js +11 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js.map +1 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +159 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +300 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +165 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +52 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +68 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +247 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +70 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +72 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +109 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +133 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +44 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +68 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +63 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +63 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +33 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +61 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +88 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +58 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +41 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +35 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +1123 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +88 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +432 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +84 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +43 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +49 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +46 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +60 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +229 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +63 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +54 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +45 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +84 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +290 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +40 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +93 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +71 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +14 -0
- package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +29 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +10 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +39 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +23 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +13 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +33 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +79 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +69 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +59 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +452 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +18 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +13 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +12 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +166 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +107 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +18 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +271 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +42 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.js +13 -0
- package/dist/node_modules/react/jsx-runtime.js.map +1 -0
- package/dist/node_modules/react-icons/fa/index.js +9 -0
- package/dist/node_modules/react-icons/fa/index.js.map +1 -0
- package/dist/node_modules/react-icons/fi/index.js +9 -0
- package/dist/node_modules/react-icons/fi/index.js.map +1 -0
- package/dist/node_modules/react-icons/lib/iconBase.js +110 -0
- package/dist/node_modules/react-icons/lib/iconBase.js.map +1 -0
- package/dist/node_modules/react-icons/lib/iconContext.js +14 -0
- package/dist/node_modules/react-icons/lib/iconContext.js.map +1 -0
- package/dist/node_modules/react-imask/esm/input.js +28 -0
- package/dist/node_modules/react-imask/esm/input.js.map +1 -0
- package/dist/node_modules/react-imask/esm/mixin.js +172 -0
- package/dist/node_modules/react-imask/esm/mixin.js.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2467 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +81 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +77 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js +13 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/compat.js +8 -0
- package/dist/node_modules/zod/v4/classic/compat.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/errors.js +45 -0
- package/dist/node_modules/zod/v4/classic/errors.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/iso.js +44 -0
- package/dist/node_modules/zod/v4/classic/iso.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/parse.js +30 -0
- package/dist/node_modules/zod/v4/classic/parse.js.map +1 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +693 -0
- package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -0
- package/dist/node_modules/zod/v4/core/api.js +570 -0
- package/dist/node_modules/zod/v4/core/api.js.map +1 -0
- package/dist/node_modules/zod/v4/core/checks.js +411 -0
- package/dist/node_modules/zod/v4/core/checks.js.map +1 -0
- package/dist/node_modules/zod/v4/core/core.js +75 -0
- package/dist/node_modules/zod/v4/core/core.js.map +1 -0
- package/dist/node_modules/zod/v4/core/doc.js +38 -0
- package/dist/node_modules/zod/v4/core/doc.js.map +1 -0
- package/dist/node_modules/zod/v4/core/errors.js +73 -0
- package/dist/node_modules/zod/v4/core/errors.js.map +1 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +355 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +1 -0
- package/dist/node_modules/zod/v4/core/parse.js +96 -0
- package/dist/node_modules/zod/v4/core/parse.js.map +1 -0
- package/dist/node_modules/zod/v4/core/regexes.js +82 -0
- package/dist/node_modules/zod/v4/core/regexes.js.map +1 -0
- package/dist/node_modules/zod/v4/core/registries.js +52 -0
- package/dist/node_modules/zod/v4/core/registries.js.map +1 -0
- package/dist/node_modules/zod/v4/core/schemas.js +1369 -0
- package/dist/node_modules/zod/v4/core/schemas.js.map +1 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js +363 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js.map +1 -0
- package/dist/node_modules/zod/v4/core/util.js +431 -0
- package/dist/node_modules/zod/v4/core/util.js.map +1 -0
- package/dist/node_modules/zod/v4/core/versions.js +9 -0
- package/dist/node_modules/zod/v4/core/versions.js.map +1 -0
- package/dist/setupTests.d.ts +1 -0
- package/dist/stories/Alert.stories.d.ts +10 -0
- package/dist/stories/Button.stories.d.ts +13 -0
- package/dist/styles.css +605 -0
- package/dist/utils/cn.d.ts +6 -0
- package/dist/utils/cn.js +9 -0
- package/dist/utils/cn.js.map +1 -0
- package/package.json +82 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"floating-ui.dom.js","sources":["../../../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, arrow as arrow$1, autoPlacement as autoPlacement$1, detectOverflow as detectOverflow$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle as getComputedStyle$1, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle$1(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle$1(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll) {\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle$1(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Safety check: ensure the scrollbar space is reasonable in case this\n// calculation is affected by unusual styles.\n// Most scrollbars leave 15-18px of space.\nconst SCROLLBAR_MAX = 25;\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n const windowScrollbarX = getWindowScrollBarX(html);\n // <html> `overflow: hidden` + `scrollbar-gutter: stable` reduces the\n // visual width of the <html> but this is not considered in the size\n // of `html.clientWidth`.\n if (windowScrollbarX <= 0) {\n const doc = html.ownerDocument;\n const body = doc.body;\n const bodyStyles = getComputedStyle(body);\n const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;\n const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);\n if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {\n width -= clippingStableScrollbarWidth;\n }\n } else if (windowScrollbarX <= SCROLLBAR_MAX) {\n // If the <body> scrollbar is on the left, the width needs to be extended\n // by the scrollbar amount so there isn't extra space on the right.\n width += windowScrollbarX;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle$1(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle$1(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === 'absolute' || currentContainingBlockComputedStyle.position === 'fixed') || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);\n let top = firstRect.top;\n let right = firstRect.right;\n let bottom = firstRect.bottom;\n let left = firstRect.left;\n for (let i = 1; i < clippingAncestors.length; i++) {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);\n top = max(rect.top, top);\n right = min(rect.right, right);\n bottom = min(rect.bottom, bottom);\n left = max(rect.left, left);\n }\n return {\n width: right - left,\n height: bottom - top,\n x: left,\n y: top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n function setLeftRTLScrollbarOffset() {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n setLeftRTLScrollbarOffset();\n }\n }\n if (isFixed && !isOffsetParentAnElement && documentElement) {\n setLeftRTLScrollbarOffset();\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle$1(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle$1(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (_e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...(floating ? getOverflowAncestors(floating) : [])] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n if (floating) {\n resizeObserver.observe(floating);\n }\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n"],"names":[],"mappings":";;;AAKA,SAAS,iBAAiB,SAAS;AACjC,QAAM,MAAM,mBAAmB,OAAO;AAGtC,MAAI,QAAQ,WAAW,IAAI,KAAK,KAAK;AACrC,MAAI,SAAS,WAAW,IAAI,MAAM,KAAK;AACvC,QAAM,YAAY,cAAc,OAAO;AACvC,QAAM,cAAc,YAAY,QAAQ,cAAc;AACtD,QAAM,eAAe,YAAY,QAAQ,eAAe;AACxD,QAAM,iBAAiB,MAAM,KAAK,MAAM,eAAe,MAAM,MAAM,MAAM;AACzE,MAAI,gBAAgB;AAClB,YAAQ;AACR,aAAS;AAAA,EACX;AACA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACP;AACA;AAEA,SAAS,cAAc,SAAS;AAC9B,SAAO,CAAC,UAAU,OAAO,IAAI,QAAQ,iBAAiB;AACxD;AAEA,SAAS,SAAS,SAAS;AACzB,QAAM,aAAa,cAAc,OAAO;AACxC,MAAI,CAAC,cAAc,UAAU,GAAG;AAC9B,WAAO,aAAa,CAAC;AAAA,EACvB;AACA,QAAM,OAAO,WAAW,sBAAqB;AAC7C,QAAM;AAA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B;AAAA,IACxB,GAAG,cAAc;AAAA,IACjB,IAAI;AAAA,EACR;AACE,SAAO,kBAAkB,WAAW,UAAU;AAAA,IAC5C,GAAG;AAAA,IACH,UAAU;AAAA,EACd,CAAG;AACH;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,510 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { useLayoutEffect, useEffect } from "react";
|
|
3
|
+
import { getUserAgent } from "./floating-ui.react.utils.js";
|
|
4
|
+
import { evaluate, max, min, round } from "../../utils/dist/floating-ui.utils.js";
|
|
5
|
+
import { isElement } from "../../utils/dist/floating-ui.utils.dom.js";
|
|
6
|
+
import { getOverflowAncestors } from "../../utils/dist/floating-ui.utils.dom.js";
|
|
7
|
+
import * as ReactDOM from "react-dom";
|
|
8
|
+
import { useFloating as useFloating$1, offset } from "../../react-dom/dist/floating-ui.react-dom.js";
|
|
9
|
+
import { flip, shift, size } from "../../react-dom/dist/floating-ui.react-dom.js";
|
|
10
|
+
import { detectOverflow } from "../../dom/dist/floating-ui.dom.js";
|
|
11
|
+
import { autoUpdate, computePosition, platform } from "../../dom/dist/floating-ui.dom.js";
|
|
12
|
+
const SafeReact = {
|
|
13
|
+
...React
|
|
14
|
+
};
|
|
15
|
+
const useInsertionEffect = SafeReact.useInsertionEffect;
|
|
16
|
+
const useSafeInsertionEffect = useInsertionEffect || ((fn) => fn());
|
|
17
|
+
function useEffectEvent(callback) {
|
|
18
|
+
const ref = React.useRef(() => {
|
|
19
|
+
if (process.env.NODE_ENV !== "production") {
|
|
20
|
+
throw new Error("Cannot call an event handler while rendering.");
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
useSafeInsertionEffect(() => {
|
|
24
|
+
ref.current = callback;
|
|
25
|
+
});
|
|
26
|
+
return React.useCallback(function() {
|
|
27
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
28
|
+
args[_key] = arguments[_key];
|
|
29
|
+
}
|
|
30
|
+
return ref.current == null ? void 0 : ref.current(...args);
|
|
31
|
+
}, []);
|
|
32
|
+
}
|
|
33
|
+
var index = typeof document !== "undefined" ? useLayoutEffect : useEffect;
|
|
34
|
+
let serverHandoffComplete = false;
|
|
35
|
+
let count = 0;
|
|
36
|
+
const genId = () => (
|
|
37
|
+
// Ensure the id is unique with multiple independent versions of Floating UI
|
|
38
|
+
// on <React 18
|
|
39
|
+
"floating-ui-" + Math.random().toString(36).slice(2, 6) + count++
|
|
40
|
+
);
|
|
41
|
+
function useFloatingId() {
|
|
42
|
+
const [id, setId] = React.useState(() => serverHandoffComplete ? genId() : void 0);
|
|
43
|
+
index(() => {
|
|
44
|
+
if (id == null) {
|
|
45
|
+
setId(genId());
|
|
46
|
+
}
|
|
47
|
+
}, []);
|
|
48
|
+
React.useEffect(() => {
|
|
49
|
+
serverHandoffComplete = true;
|
|
50
|
+
}, []);
|
|
51
|
+
return id;
|
|
52
|
+
}
|
|
53
|
+
const useReactId = SafeReact.useId;
|
|
54
|
+
const useId = useReactId || useFloatingId;
|
|
55
|
+
let devMessageSet;
|
|
56
|
+
if (process.env.NODE_ENV !== "production") {
|
|
57
|
+
devMessageSet = /* @__PURE__ */ new Set();
|
|
58
|
+
}
|
|
59
|
+
function warn() {
|
|
60
|
+
var _devMessageSet;
|
|
61
|
+
for (var _len = arguments.length, messages = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
62
|
+
messages[_key] = arguments[_key];
|
|
63
|
+
}
|
|
64
|
+
const message = "Floating UI: " + messages.join(" ");
|
|
65
|
+
if (!((_devMessageSet = devMessageSet) != null && _devMessageSet.has(message))) {
|
|
66
|
+
var _devMessageSet2;
|
|
67
|
+
(_devMessageSet2 = devMessageSet) == null || _devMessageSet2.add(message);
|
|
68
|
+
console.warn(message);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function error() {
|
|
72
|
+
var _devMessageSet3;
|
|
73
|
+
for (var _len2 = arguments.length, messages = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
74
|
+
messages[_key2] = arguments[_key2];
|
|
75
|
+
}
|
|
76
|
+
const message = "Floating UI: " + messages.join(" ");
|
|
77
|
+
if (!((_devMessageSet3 = devMessageSet) != null && _devMessageSet3.has(message))) {
|
|
78
|
+
var _devMessageSet4;
|
|
79
|
+
(_devMessageSet4 = devMessageSet) == null || _devMessageSet4.add(message);
|
|
80
|
+
console.error(message);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
function createPubSub() {
|
|
84
|
+
const map = /* @__PURE__ */ new Map();
|
|
85
|
+
return {
|
|
86
|
+
emit(event, data) {
|
|
87
|
+
var _map$get;
|
|
88
|
+
(_map$get = map.get(event)) == null || _map$get.forEach((handler) => handler(data));
|
|
89
|
+
},
|
|
90
|
+
on(event, listener) {
|
|
91
|
+
map.set(event, [...map.get(event) || [], listener]);
|
|
92
|
+
},
|
|
93
|
+
off(event, listener) {
|
|
94
|
+
var _map$get2;
|
|
95
|
+
map.set(event, ((_map$get2 = map.get(event)) == null ? void 0 : _map$get2.filter((l) => l !== listener)) || []);
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
const FloatingNodeContext = /* @__PURE__ */ React.createContext(null);
|
|
100
|
+
const FloatingTreeContext = /* @__PURE__ */ React.createContext(null);
|
|
101
|
+
const useFloatingParentNodeId = () => {
|
|
102
|
+
var _React$useContext;
|
|
103
|
+
return ((_React$useContext = React.useContext(FloatingNodeContext)) == null ? void 0 : _React$useContext.id) || null;
|
|
104
|
+
};
|
|
105
|
+
const useFloatingTree = () => React.useContext(FloatingTreeContext);
|
|
106
|
+
const FOCUSABLE_ATTRIBUTE = "data-floating-ui-focusable";
|
|
107
|
+
function useFloatingRootContext(options) {
|
|
108
|
+
const {
|
|
109
|
+
open = false,
|
|
110
|
+
onOpenChange: onOpenChangeProp,
|
|
111
|
+
elements: elementsProp
|
|
112
|
+
} = options;
|
|
113
|
+
const floatingId = useId();
|
|
114
|
+
const dataRef = React.useRef({});
|
|
115
|
+
const [events] = React.useState(() => createPubSub());
|
|
116
|
+
const nested = useFloatingParentNodeId() != null;
|
|
117
|
+
if (process.env.NODE_ENV !== "production") {
|
|
118
|
+
const optionDomReference = elementsProp.reference;
|
|
119
|
+
if (optionDomReference && !isElement(optionDomReference)) {
|
|
120
|
+
error("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
const [positionReference, setPositionReference] = React.useState(elementsProp.reference);
|
|
124
|
+
const onOpenChange = useEffectEvent((open2, event, reason) => {
|
|
125
|
+
dataRef.current.openEvent = open2 ? event : void 0;
|
|
126
|
+
events.emit("openchange", {
|
|
127
|
+
open: open2,
|
|
128
|
+
event,
|
|
129
|
+
reason,
|
|
130
|
+
nested
|
|
131
|
+
});
|
|
132
|
+
onOpenChangeProp == null || onOpenChangeProp(open2, event, reason);
|
|
133
|
+
});
|
|
134
|
+
const refs = React.useMemo(() => ({
|
|
135
|
+
setPositionReference
|
|
136
|
+
}), []);
|
|
137
|
+
const elements = React.useMemo(() => ({
|
|
138
|
+
reference: positionReference || elementsProp.reference || null,
|
|
139
|
+
floating: elementsProp.floating || null,
|
|
140
|
+
domReference: elementsProp.reference
|
|
141
|
+
}), [positionReference, elementsProp.reference, elementsProp.floating]);
|
|
142
|
+
return React.useMemo(() => ({
|
|
143
|
+
dataRef,
|
|
144
|
+
open,
|
|
145
|
+
onOpenChange,
|
|
146
|
+
elements,
|
|
147
|
+
events,
|
|
148
|
+
floatingId,
|
|
149
|
+
refs
|
|
150
|
+
}), [open, onOpenChange, elements, events, floatingId, refs]);
|
|
151
|
+
}
|
|
152
|
+
function useFloating(options) {
|
|
153
|
+
if (options === void 0) {
|
|
154
|
+
options = {};
|
|
155
|
+
}
|
|
156
|
+
const {
|
|
157
|
+
nodeId
|
|
158
|
+
} = options;
|
|
159
|
+
const internalRootContext = useFloatingRootContext({
|
|
160
|
+
...options,
|
|
161
|
+
elements: {
|
|
162
|
+
reference: null,
|
|
163
|
+
floating: null,
|
|
164
|
+
...options.elements
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
const rootContext = options.rootContext || internalRootContext;
|
|
168
|
+
const computedElements = rootContext.elements;
|
|
169
|
+
const [_domReference, setDomReference] = React.useState(null);
|
|
170
|
+
const [positionReference, _setPositionReference] = React.useState(null);
|
|
171
|
+
const optionDomReference = computedElements == null ? void 0 : computedElements.domReference;
|
|
172
|
+
const domReference = optionDomReference || _domReference;
|
|
173
|
+
const domReferenceRef = React.useRef(null);
|
|
174
|
+
const tree = useFloatingTree();
|
|
175
|
+
index(() => {
|
|
176
|
+
if (domReference) {
|
|
177
|
+
domReferenceRef.current = domReference;
|
|
178
|
+
}
|
|
179
|
+
}, [domReference]);
|
|
180
|
+
const position = useFloating$1({
|
|
181
|
+
...options,
|
|
182
|
+
elements: {
|
|
183
|
+
...computedElements,
|
|
184
|
+
...positionReference && {
|
|
185
|
+
reference: positionReference
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
const setPositionReference = React.useCallback((node) => {
|
|
190
|
+
const computedPositionReference = isElement(node) ? {
|
|
191
|
+
getBoundingClientRect: () => node.getBoundingClientRect(),
|
|
192
|
+
contextElement: node
|
|
193
|
+
} : node;
|
|
194
|
+
_setPositionReference(computedPositionReference);
|
|
195
|
+
position.refs.setReference(computedPositionReference);
|
|
196
|
+
}, [position.refs]);
|
|
197
|
+
const setReference = React.useCallback((node) => {
|
|
198
|
+
if (isElement(node) || node === null) {
|
|
199
|
+
domReferenceRef.current = node;
|
|
200
|
+
setDomReference(node);
|
|
201
|
+
}
|
|
202
|
+
if (isElement(position.refs.reference.current) || position.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
|
|
203
|
+
// `null` to support `positionReference` + an unstable `reference`
|
|
204
|
+
// callback ref.
|
|
205
|
+
node !== null && !isElement(node)) {
|
|
206
|
+
position.refs.setReference(node);
|
|
207
|
+
}
|
|
208
|
+
}, [position.refs]);
|
|
209
|
+
const refs = React.useMemo(() => ({
|
|
210
|
+
...position.refs,
|
|
211
|
+
setReference,
|
|
212
|
+
setPositionReference,
|
|
213
|
+
domReference: domReferenceRef
|
|
214
|
+
}), [position.refs, setReference, setPositionReference]);
|
|
215
|
+
const elements = React.useMemo(() => ({
|
|
216
|
+
...position.elements,
|
|
217
|
+
domReference
|
|
218
|
+
}), [position.elements, domReference]);
|
|
219
|
+
const context = React.useMemo(() => ({
|
|
220
|
+
...position,
|
|
221
|
+
...rootContext,
|
|
222
|
+
refs,
|
|
223
|
+
elements,
|
|
224
|
+
nodeId
|
|
225
|
+
}), [position, refs, elements, nodeId, rootContext]);
|
|
226
|
+
index(() => {
|
|
227
|
+
rootContext.dataRef.current.floatingContext = context;
|
|
228
|
+
const node = tree == null ? void 0 : tree.nodesRef.current.find((node2) => node2.id === nodeId);
|
|
229
|
+
if (node) {
|
|
230
|
+
node.context = context;
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
return React.useMemo(() => ({
|
|
234
|
+
...position,
|
|
235
|
+
context,
|
|
236
|
+
refs,
|
|
237
|
+
elements
|
|
238
|
+
}), [position, refs, elements, context]);
|
|
239
|
+
}
|
|
240
|
+
const ACTIVE_KEY = "active";
|
|
241
|
+
const SELECTED_KEY = "selected";
|
|
242
|
+
function mergeProps(userProps, propsList, elementKey) {
|
|
243
|
+
const map = /* @__PURE__ */ new Map();
|
|
244
|
+
const isItem = elementKey === "item";
|
|
245
|
+
let domUserProps = userProps;
|
|
246
|
+
if (isItem && userProps) {
|
|
247
|
+
const {
|
|
248
|
+
[ACTIVE_KEY]: _,
|
|
249
|
+
[SELECTED_KEY]: __,
|
|
250
|
+
...validProps
|
|
251
|
+
} = userProps;
|
|
252
|
+
domUserProps = validProps;
|
|
253
|
+
}
|
|
254
|
+
return {
|
|
255
|
+
...elementKey === "floating" && {
|
|
256
|
+
tabIndex: -1,
|
|
257
|
+
[FOCUSABLE_ATTRIBUTE]: ""
|
|
258
|
+
},
|
|
259
|
+
...domUserProps,
|
|
260
|
+
...propsList.map((value) => {
|
|
261
|
+
const propsOrGetProps = value ? value[elementKey] : null;
|
|
262
|
+
if (typeof propsOrGetProps === "function") {
|
|
263
|
+
return userProps ? propsOrGetProps(userProps) : null;
|
|
264
|
+
}
|
|
265
|
+
return propsOrGetProps;
|
|
266
|
+
}).concat(userProps).reduce((acc, props) => {
|
|
267
|
+
if (!props) {
|
|
268
|
+
return acc;
|
|
269
|
+
}
|
|
270
|
+
Object.entries(props).forEach((_ref) => {
|
|
271
|
+
let [key, value] = _ref;
|
|
272
|
+
if (isItem && [ACTIVE_KEY, SELECTED_KEY].includes(key)) {
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
if (key.indexOf("on") === 0) {
|
|
276
|
+
if (!map.has(key)) {
|
|
277
|
+
map.set(key, []);
|
|
278
|
+
}
|
|
279
|
+
if (typeof value === "function") {
|
|
280
|
+
var _map$get;
|
|
281
|
+
(_map$get = map.get(key)) == null || _map$get.push(value);
|
|
282
|
+
acc[key] = function() {
|
|
283
|
+
var _map$get2;
|
|
284
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
285
|
+
args[_key] = arguments[_key];
|
|
286
|
+
}
|
|
287
|
+
return (_map$get2 = map.get(key)) == null ? void 0 : _map$get2.map((fn) => fn(...args)).find((val) => val !== void 0);
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
} else {
|
|
291
|
+
acc[key] = value;
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
return acc;
|
|
295
|
+
}, {})
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
function useInteractions(propsList) {
|
|
299
|
+
if (propsList === void 0) {
|
|
300
|
+
propsList = [];
|
|
301
|
+
}
|
|
302
|
+
const referenceDeps = propsList.map((key) => key == null ? void 0 : key.reference);
|
|
303
|
+
const floatingDeps = propsList.map((key) => key == null ? void 0 : key.floating);
|
|
304
|
+
const itemDeps = propsList.map((key) => key == null ? void 0 : key.item);
|
|
305
|
+
const getReferenceProps = React.useCallback(
|
|
306
|
+
(userProps) => mergeProps(userProps, propsList, "reference"),
|
|
307
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
308
|
+
referenceDeps
|
|
309
|
+
);
|
|
310
|
+
const getFloatingProps = React.useCallback(
|
|
311
|
+
(userProps) => mergeProps(userProps, propsList, "floating"),
|
|
312
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
313
|
+
floatingDeps
|
|
314
|
+
);
|
|
315
|
+
const getItemProps = React.useCallback(
|
|
316
|
+
(userProps) => mergeProps(userProps, propsList, "item"),
|
|
317
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
318
|
+
itemDeps
|
|
319
|
+
);
|
|
320
|
+
return React.useMemo(() => ({
|
|
321
|
+
getReferenceProps,
|
|
322
|
+
getFloatingProps,
|
|
323
|
+
getItemProps
|
|
324
|
+
}), [getReferenceProps, getFloatingProps, getItemProps]);
|
|
325
|
+
}
|
|
326
|
+
function getArgsWithCustomFloatingHeight(state, height) {
|
|
327
|
+
return {
|
|
328
|
+
...state,
|
|
329
|
+
rects: {
|
|
330
|
+
...state.rects,
|
|
331
|
+
floating: {
|
|
332
|
+
...state.rects.floating,
|
|
333
|
+
height
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
const inner = (props) => ({
|
|
339
|
+
name: "inner",
|
|
340
|
+
options: props,
|
|
341
|
+
async fn(state) {
|
|
342
|
+
const {
|
|
343
|
+
listRef,
|
|
344
|
+
overflowRef,
|
|
345
|
+
onFallbackChange,
|
|
346
|
+
offset: innerOffset = 0,
|
|
347
|
+
index: index2 = 0,
|
|
348
|
+
minItemsVisible = 4,
|
|
349
|
+
referenceOverflowThreshold = 0,
|
|
350
|
+
scrollRef,
|
|
351
|
+
...detectOverflowOptions
|
|
352
|
+
} = evaluate(props, state);
|
|
353
|
+
const {
|
|
354
|
+
rects,
|
|
355
|
+
elements: {
|
|
356
|
+
floating
|
|
357
|
+
}
|
|
358
|
+
} = state;
|
|
359
|
+
const item = listRef.current[index2];
|
|
360
|
+
const scrollEl = (scrollRef == null ? void 0 : scrollRef.current) || floating;
|
|
361
|
+
const clientTop = floating.clientTop || scrollEl.clientTop;
|
|
362
|
+
const floatingIsBordered = floating.clientTop !== 0;
|
|
363
|
+
const scrollElIsBordered = scrollEl.clientTop !== 0;
|
|
364
|
+
const floatingIsScrollEl = floating === scrollEl;
|
|
365
|
+
if (process.env.NODE_ENV !== "production") {
|
|
366
|
+
if (!state.placement.startsWith("bottom")) {
|
|
367
|
+
warn('`placement` side must be "bottom" when using the `inner`', "middleware.");
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
if (!item) {
|
|
371
|
+
return {};
|
|
372
|
+
}
|
|
373
|
+
const nextArgs = {
|
|
374
|
+
...state,
|
|
375
|
+
...await offset(-item.offsetTop - floating.clientTop - rects.reference.height / 2 - item.offsetHeight / 2 - innerOffset).fn(state)
|
|
376
|
+
};
|
|
377
|
+
const overflow = await detectOverflow(getArgsWithCustomFloatingHeight(nextArgs, scrollEl.scrollHeight + clientTop + floating.clientTop), detectOverflowOptions);
|
|
378
|
+
const refOverflow = await detectOverflow(nextArgs, {
|
|
379
|
+
...detectOverflowOptions,
|
|
380
|
+
elementContext: "reference"
|
|
381
|
+
});
|
|
382
|
+
const diffY = max(0, overflow.top);
|
|
383
|
+
const nextY = nextArgs.y + diffY;
|
|
384
|
+
const isScrollable = scrollEl.scrollHeight > scrollEl.clientHeight;
|
|
385
|
+
const rounder = isScrollable ? (v) => v : round;
|
|
386
|
+
const maxHeight = rounder(max(0, scrollEl.scrollHeight + (floatingIsBordered && floatingIsScrollEl || scrollElIsBordered ? clientTop * 2 : 0) - diffY - max(0, overflow.bottom)));
|
|
387
|
+
scrollEl.style.maxHeight = maxHeight + "px";
|
|
388
|
+
scrollEl.scrollTop = diffY;
|
|
389
|
+
if (onFallbackChange) {
|
|
390
|
+
const shouldFallback = scrollEl.offsetHeight < item.offsetHeight * min(minItemsVisible, listRef.current.length) - 1 || refOverflow.top >= -referenceOverflowThreshold || refOverflow.bottom >= -referenceOverflowThreshold;
|
|
391
|
+
ReactDOM.flushSync(() => onFallbackChange(shouldFallback));
|
|
392
|
+
}
|
|
393
|
+
if (overflowRef) {
|
|
394
|
+
overflowRef.current = await detectOverflow(getArgsWithCustomFloatingHeight({
|
|
395
|
+
...nextArgs,
|
|
396
|
+
y: nextY
|
|
397
|
+
}, scrollEl.offsetHeight + clientTop + floating.clientTop), detectOverflowOptions);
|
|
398
|
+
}
|
|
399
|
+
return {
|
|
400
|
+
y: nextY
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
});
|
|
404
|
+
function useInnerOffset(context, props) {
|
|
405
|
+
const {
|
|
406
|
+
open,
|
|
407
|
+
elements
|
|
408
|
+
} = context;
|
|
409
|
+
const {
|
|
410
|
+
enabled = true,
|
|
411
|
+
overflowRef,
|
|
412
|
+
scrollRef,
|
|
413
|
+
onChange: unstable_onChange
|
|
414
|
+
} = props;
|
|
415
|
+
const onChange = useEffectEvent(unstable_onChange);
|
|
416
|
+
const controlledScrollingRef = React.useRef(false);
|
|
417
|
+
const prevScrollTopRef = React.useRef(null);
|
|
418
|
+
const initialOverflowRef = React.useRef(null);
|
|
419
|
+
React.useEffect(() => {
|
|
420
|
+
if (!enabled) return;
|
|
421
|
+
function onWheel(e) {
|
|
422
|
+
if (e.ctrlKey || !el || overflowRef.current == null) {
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
425
|
+
const dY = e.deltaY;
|
|
426
|
+
const isAtTop = overflowRef.current.top >= -0.5;
|
|
427
|
+
const isAtBottom = overflowRef.current.bottom >= -0.5;
|
|
428
|
+
const remainingScroll = el.scrollHeight - el.clientHeight;
|
|
429
|
+
const sign = dY < 0 ? -1 : 1;
|
|
430
|
+
const method = dY < 0 ? "max" : "min";
|
|
431
|
+
if (el.scrollHeight <= el.clientHeight) {
|
|
432
|
+
return;
|
|
433
|
+
}
|
|
434
|
+
if (!isAtTop && dY > 0 || !isAtBottom && dY < 0) {
|
|
435
|
+
e.preventDefault();
|
|
436
|
+
ReactDOM.flushSync(() => {
|
|
437
|
+
onChange((d) => d + Math[method](dY, remainingScroll * sign));
|
|
438
|
+
});
|
|
439
|
+
} else if (/firefox/i.test(getUserAgent())) {
|
|
440
|
+
el.scrollTop += dY;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
const el = (scrollRef == null ? void 0 : scrollRef.current) || elements.floating;
|
|
444
|
+
if (open && el) {
|
|
445
|
+
el.addEventListener("wheel", onWheel);
|
|
446
|
+
requestAnimationFrame(() => {
|
|
447
|
+
prevScrollTopRef.current = el.scrollTop;
|
|
448
|
+
if (overflowRef.current != null) {
|
|
449
|
+
initialOverflowRef.current = {
|
|
450
|
+
...overflowRef.current
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
});
|
|
454
|
+
return () => {
|
|
455
|
+
prevScrollTopRef.current = null;
|
|
456
|
+
initialOverflowRef.current = null;
|
|
457
|
+
el.removeEventListener("wheel", onWheel);
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
}, [enabled, open, elements.floating, overflowRef, scrollRef, onChange]);
|
|
461
|
+
const floating = React.useMemo(() => ({
|
|
462
|
+
onKeyDown() {
|
|
463
|
+
controlledScrollingRef.current = true;
|
|
464
|
+
},
|
|
465
|
+
onWheel() {
|
|
466
|
+
controlledScrollingRef.current = false;
|
|
467
|
+
},
|
|
468
|
+
onPointerMove() {
|
|
469
|
+
controlledScrollingRef.current = false;
|
|
470
|
+
},
|
|
471
|
+
onScroll() {
|
|
472
|
+
const el = (scrollRef == null ? void 0 : scrollRef.current) || elements.floating;
|
|
473
|
+
if (!overflowRef.current || !el || !controlledScrollingRef.current) {
|
|
474
|
+
return;
|
|
475
|
+
}
|
|
476
|
+
if (prevScrollTopRef.current !== null) {
|
|
477
|
+
const scrollDiff = el.scrollTop - prevScrollTopRef.current;
|
|
478
|
+
if (overflowRef.current.bottom < -0.5 && scrollDiff < -1 || overflowRef.current.top < -0.5 && scrollDiff > 1) {
|
|
479
|
+
ReactDOM.flushSync(() => onChange((d) => d + scrollDiff));
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
requestAnimationFrame(() => {
|
|
483
|
+
prevScrollTopRef.current = el.scrollTop;
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
}), [elements.floating, onChange, overflowRef, scrollRef]);
|
|
487
|
+
return React.useMemo(() => enabled ? {
|
|
488
|
+
floating
|
|
489
|
+
} : {}, [enabled, floating]);
|
|
490
|
+
}
|
|
491
|
+
export {
|
|
492
|
+
autoUpdate,
|
|
493
|
+
computePosition,
|
|
494
|
+
detectOverflow,
|
|
495
|
+
flip,
|
|
496
|
+
getOverflowAncestors,
|
|
497
|
+
inner,
|
|
498
|
+
offset,
|
|
499
|
+
platform,
|
|
500
|
+
shift,
|
|
501
|
+
size,
|
|
502
|
+
useFloating,
|
|
503
|
+
useFloatingParentNodeId,
|
|
504
|
+
useFloatingRootContext,
|
|
505
|
+
useFloatingTree,
|
|
506
|
+
useId,
|
|
507
|
+
useInnerOffset,
|
|
508
|
+
useInteractions
|
|
509
|
+
};
|
|
510
|
+
//# sourceMappingURL=floating-ui.react.js.map
|