@vkzstudio/muza-ui 1.0.0 → 1.0.2
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/CLAUDE_CONSUMER.md +238 -0
- package/README.md +12 -4
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/constants.js +5 -0
- package/dist/_virtual/constants2.js +4 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/index4.js +7 -0
- package/dist/_virtual/index5.js +5 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.production.min.js +4 -0
- package/dist/_virtual/react-dom-server.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server.browser.production.min.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-reconciler-constants.development.js +4 -0
- package/dist/_virtual/react-reconciler-constants.production.min.js +4 -0
- package/dist/_virtual/react-reconciler.development.js +4 -0
- package/dist/_virtual/scheduler.development.js +4 -0
- package/dist/_virtual/scheduler.production.min.js +4 -0
- package/dist/_virtual/server.browser.js +5 -0
- package/dist/_virtual/server.browser2.js +4 -0
- package/dist/components/Accordion/Accordion.d.ts +5 -5
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.js +116 -0
- package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js +83 -0
- package/dist/components/Alert/Alert.stories.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +3 -3
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.js +106 -0
- package/dist/components/Avatar/Avatar.stories.d.ts +4 -7
- package/dist/components/Avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +8 -8
- package/dist/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +126 -0
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +67 -0
- package/dist/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/Button/buttonVariants.d.ts +2 -3
- package/dist/components/Button/buttonVariants.d.ts.map +1 -1
- package/dist/components/Button/buttonVariants.js +383 -0
- package/dist/components/Calendar/Calendar.d.ts +35 -0
- package/dist/components/Calendar/Calendar.d.ts.map +1 -0
- package/dist/components/Calendar/Calendar.js +338 -0
- package/dist/components/Calendar/CalendarBase.stories.d.ts +13 -0
- package/dist/components/Calendar/CalendarBase.stories.d.ts.map +1 -0
- package/dist/components/Calendar/index.d.ts +4 -0
- package/dist/components/Calendar/index.d.ts.map +1 -0
- package/dist/components/Calendar/utils/formatDate.d.ts +2 -0
- package/dist/components/Calendar/utils/formatDate.d.ts.map +1 -0
- package/dist/components/Calendar/utils/formatDate.js +5 -0
- package/dist/components/Calendar/utils/formatDateRange.d.ts +3 -0
- package/dist/components/Calendar/utils/formatDateRange.d.ts.map +1 -0
- package/dist/components/Calendar/utils/formatDateRange.js +8 -0
- package/dist/components/Checkbox/Checkbox.d.ts +5 -5
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +92 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +2 -1
- package/dist/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +46 -0
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/DatePicker/DatePicker.js +158 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +18 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -0
- package/dist/components/DatePicker/utils/getDateRange.d.ts +4 -0
- package/dist/components/DatePicker/utils/getDateRange.d.ts.map +1 -0
- package/dist/components/DatePicker/utils/getDateRange.js +40 -0
- package/dist/components/Dialog/Dialog.d.ts +14 -0
- package/dist/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.js +66 -0
- package/dist/components/Dialog/Dialog.stories.d.ts +16 -0
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -0
- package/dist/components/Dialog/index.d.ts +2 -0
- package/dist/components/Dialog/index.d.ts.map +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +22 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +285 -0
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +62 -0
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -0
- package/dist/components/DropdownMenu/index.d.ts +2 -0
- package/dist/components/DropdownMenu/index.d.ts.map +1 -0
- package/dist/components/EdgeButton/EdgeButton.d.ts.map +1 -1
- package/dist/components/EdgeButton/EdgeButton.js +72 -0
- package/dist/components/EdgeButton/EdgeButton.stories.d.ts +0 -1
- package/dist/components/EdgeButton/EdgeButton.stories.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +12 -0
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.js +59 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts +10 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/EmptyState/index.d.ts.map +1 -0
- package/dist/components/ExpandableTable/ExpandableTable.d.ts +25 -0
- package/dist/components/ExpandableTable/ExpandableTable.d.ts.map +1 -0
- package/dist/components/ExpandableTable/ExpandableTable.js +231 -0
- package/dist/components/ExpandableTable/ExpandableTable.stories.d.ts +21 -0
- package/dist/components/ExpandableTable/ExpandableTable.stories.d.ts.map +1 -0
- package/dist/components/ExpandableTable/Table.d.ts +18 -0
- package/dist/components/ExpandableTable/Table.d.ts.map +1 -0
- package/dist/components/ExpandableTable/Table.js +122 -0
- package/dist/components/ExpandableTable/index.d.ts +2 -0
- package/dist/components/ExpandableTable/index.d.ts.map +1 -0
- package/dist/components/FileUpload/FileItem.d.ts +15 -0
- package/dist/components/FileUpload/FileItem.d.ts.map +1 -0
- package/dist/components/FileUpload/FileItem.js +199 -0
- package/dist/components/FileUpload/FileUpload.d.ts +36 -0
- package/dist/components/FileUpload/FileUpload.d.ts.map +1 -0
- package/dist/components/FileUpload/FileUpload.js +212 -0
- package/dist/components/FileUpload/FileUpload.stories.d.ts +18 -0
- package/dist/components/FileUpload/FileUpload.stories.d.ts.map +1 -0
- package/dist/components/FileUpload/index.d.ts +2 -0
- package/dist/components/FileUpload/index.d.ts.map +1 -0
- package/dist/components/Flex/Flex.d.ts +27 -30
- package/dist/components/Flex/Flex.d.ts.map +1 -1
- package/dist/components/Flex/Flex.js +90 -0
- package/dist/components/Flex/Flex.stories.d.ts +5 -0
- package/dist/components/Flex/Flex.stories.d.ts.map +1 -1
- package/dist/components/Icons/CustomIcons.d.ts +15 -1
- package/dist/components/Icons/CustomIcons.d.ts.map +1 -1
- package/dist/components/Icons/CustomIcons.js +665 -0
- package/dist/components/Icons/Icons.stories.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts +9 -8
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.js +172 -0
- package/dist/components/Input/Input.stories.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts +14 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.js +64 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +8 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -0
- package/dist/components/LanguageSwitcher/index.d.ts +2 -0
- package/dist/components/LanguageSwitcher/index.d.ts.map +1 -0
- package/dist/components/Lightbox/Lightbox.d.ts +19 -0
- package/dist/components/Lightbox/Lightbox.d.ts.map +1 -0
- package/dist/components/Lightbox/Lightbox.js +90 -0
- package/dist/components/Lightbox/Lightbox.stories.d.ts +14 -0
- package/dist/components/Lightbox/Lightbox.stories.d.ts.map +1 -0
- package/dist/components/Lightbox/LightboxOverrides.css +5 -0
- package/dist/components/Lightbox/index.d.ts +2 -0
- package/dist/components/Lightbox/index.d.ts.map +1 -0
- package/dist/components/Loader/Loader.d.ts +1 -1
- package/dist/components/Loader/Loader.d.ts.map +1 -1
- package/dist/components/Loader/Loader.js +43 -0
- package/dist/components/Loader/Loader.stories.d.ts.map +1 -1
- package/dist/components/LoginScreen/LoginScreen.d.ts +12 -0
- package/dist/components/LoginScreen/LoginScreen.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen.js +45 -0
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts +14 -0
- package/dist/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/Lights.d.ts +3 -0
- package/dist/components/LoginScreen/LoginScreen3D/Lights.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/Lights.js +9 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3D.d.ts +5 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3D.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3D.js +6 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.d.ts +23 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DModel.js +93 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.d.ts +6 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreen3D/LoginScreen3DScene.js +63 -0
- package/dist/components/LoginScreen/LoginScreenItem.d.ts +7 -0
- package/dist/components/LoginScreen/LoginScreenItem.d.ts.map +1 -0
- package/dist/components/LoginScreen/LoginScreenItem.js +19 -0
- package/dist/components/LoginScreen/index.d.ts +4 -0
- package/dist/components/LoginScreen/index.d.ts.map +1 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts +23 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/dist/components/MultiSelect/MultiSelect.js +156 -0
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts +18 -0
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -0
- package/dist/components/MultiSelect/index.d.ts +2 -0
- package/dist/components/MultiSelect/index.d.ts.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +7 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.js +36 -0
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +7 -0
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts.map +1 -0
- package/dist/components/PasswordInput/index.d.ts +2 -0
- package/dist/components/PasswordInput/index.d.ts.map +1 -0
- package/dist/components/PinIndicator/PinIndicator.d.ts +1 -1
- package/dist/components/PinIndicator/PinIndicator.d.ts.map +1 -1
- package/dist/components/PinIndicator/PinIndicator.js +33 -0
- package/dist/components/PinIndicator/PinIndicator.stories.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +7 -0
- package/dist/components/Popover/Popover.d.ts.map +1 -0
- package/dist/components/Popover/Popover.js +24 -0
- package/dist/components/Popover/Popover.stories.d.ts +11 -0
- package/dist/components/Popover/Popover.stories.d.ts.map +1 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/Radio/Radio.d.ts +4 -3
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/Radio.js +95 -0
- package/dist/components/Radio/Radio.stories.d.ts +1 -0
- package/dist/components/Radio/Radio.stories.d.ts.map +1 -1
- package/dist/components/Searchbar/Searchbar.d.ts +13 -0
- package/dist/components/Searchbar/Searchbar.d.ts.map +1 -0
- package/dist/components/Searchbar/Searchbar.js +114 -0
- package/dist/components/Searchbar/Searchbar.stories.d.ts +11 -0
- package/dist/components/Searchbar/Searchbar.stories.d.ts.map +1 -0
- package/dist/components/Searchbar/index.d.ts +2 -0
- package/dist/components/Searchbar/index.d.ts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +2 -2
- package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.js +60 -0
- package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.d.ts +2 -2
- package/dist/components/SegmentedIconControl/SegmentedIconControl.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.js +47 -0
- package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +24 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/Select.js +159 -0
- package/dist/components/Select/Select.stories.d.ts +18 -0
- package/dist/components/Select/Select.stories.d.ts.map +1 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/Select/utils.d.ts +7 -0
- package/dist/components/Select/utils.d.ts.map +1 -0
- package/dist/components/Select/utils.js +35 -0
- package/dist/components/Skeleton/Skeleton.d.ts +13 -0
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.js +27 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts +9 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts.map +1 -0
- package/dist/components/Skeleton/index.d.ts +2 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/SliderIndicators/SliderIndicators.d.ts +1 -1
- package/dist/components/SliderIndicators/SliderIndicators.d.ts.map +1 -1
- package/dist/components/SliderIndicators/SliderIndicators.js +53 -0
- package/dist/components/SliderIndicators/SliderIndicators.stories.d.ts.map +1 -1
- package/dist/components/Snackbar/Snackbar.d.ts.map +1 -1
- package/dist/components/Snackbar/Snackbar.js +6 -0
- package/dist/components/Snackbar/Snackbar.stories.d.ts.map +1 -1
- package/dist/components/Snackbar/Toast.d.ts +2 -2
- package/dist/components/Snackbar/Toast.d.ts.map +1 -1
- package/dist/components/Snackbar/Toast.js +69 -0
- package/dist/components/Stepper/Stepper.d.ts +1 -1
- package/dist/components/Stepper/Stepper.d.ts.map +1 -1
- package/dist/components/Stepper/Stepper.js +84 -0
- package/dist/components/Stepper/Stepper.stories.d.ts.map +1 -1
- package/dist/components/Stepper/StepperButton.d.ts +1 -1
- package/dist/components/Stepper/StepperButton.d.ts.map +1 -1
- package/dist/components/Stepper/StepperButton.js +29 -0
- package/dist/components/SwipeButton/SwipeButton.d.ts +3 -2
- package/dist/components/SwipeButton/SwipeButton.d.ts.map +1 -1
- package/dist/components/SwipeButton/SwipeButton.js +205 -0
- package/dist/components/SwipeButton/SwipeButton.stories.d.ts +3 -3
- package/dist/components/SwipeButton/SwipeButton.stories.d.ts.map +1 -1
- package/dist/components/SwipeButton/SwipeLoadingIcon.js +46 -0
- package/dist/components/SwipeButton/index.d.ts +2 -0
- package/dist/components/SwipeButton/index.d.ts.map +1 -0
- package/dist/components/SwipeButton/swipeButtonProgressVariants.d.ts +2 -1
- package/dist/components/SwipeButton/swipeButtonProgressVariants.d.ts.map +1 -1
- package/dist/components/SwipeButton/swipeButtonProgressVariants.js +75 -0
- package/dist/components/SwipeButton/swipeButtonSliderVariants.d.ts +1 -1
- package/dist/components/SwipeButton/swipeButtonSliderVariants.d.ts.map +1 -1
- package/dist/components/SwipeButton/swipeButtonSliderVariants.js +74 -0
- package/dist/components/SwipeButton/swipeButtonVariants.d.ts +2 -2
- package/dist/components/SwipeButton/swipeButtonVariants.d.ts.map +1 -1
- package/dist/components/SwipeButton/swipeButtonVariants.js +50 -0
- package/dist/components/Switch/Switch.d.ts +1 -1
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/Switch.js +32 -0
- package/dist/components/Switch/Switch.stories.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +5 -3
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/Tag.js +94 -0
- package/dist/components/Tag/Tag.stories.d.ts +2 -12
- package/dist/components/Tag/Tag.stories.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts +4 -4
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.js +102 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +1 -1
- package/dist/components/Textarea/Textarea.stories.d.ts.map +1 -1
- package/dist/components/TimePicker/TimePicker.d.ts +4 -0
- package/dist/components/TimePicker/TimePicker.d.ts.map +1 -0
- package/dist/components/TimePicker/TimePicker.js +19 -0
- package/dist/components/TimePicker/TimePicker.stories.d.ts +11 -0
- package/dist/components/TimePicker/TimePicker.stories.d.ts.map +1 -0
- package/dist/components/TimePicker/index.d.ts +2 -0
- package/dist/components/TimePicker/index.d.ts.map +1 -0
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.js +88 -0
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +3 -3
- package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.js +55 -0
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.js +27 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/Typography/Typography.d.ts +4 -3
- package/dist/components/Typography/Typography.d.ts.map +1 -1
- package/dist/components/Typography/Typography.js +99 -0
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -1
- package/dist/components/index.d.ts +37 -17
- package/dist/components/index.d.ts.map +1 -1
- package/dist/globals.css +12 -0
- package/dist/hooks/use-is-breakpoint.d.ts +13 -0
- package/dist/hooks/use-is-breakpoint.d.ts.map +1 -0
- package/dist/hooks/use-is-breakpoint.js +7 -0
- package/dist/hooks/use-is-desktop.d.ts +3 -0
- package/dist/hooks/use-is-desktop.d.ts.map +1 -0
- package/dist/hooks/use-is-desktop.js +6 -0
- package/dist/hooks/use-is-mobile.d.ts +2 -0
- package/dist/hooks/use-is-mobile.d.ts.map +1 -0
- package/dist/hooks/use-is-mobile.js +6 -0
- package/dist/hooks/use-is-tablet.d.ts +3 -0
- package/dist/hooks/use-is-tablet.d.ts.map +1 -0
- package/dist/hooks/use-is-tablet.js +6 -0
- package/dist/hooks/use-isomorphic-layout-effect.d.ts +3 -0
- package/dist/hooks/use-isomorphic-layout-effect.d.ts.map +1 -0
- package/dist/hooks/use-isomorphic-layout-effect.js +5 -0
- package/dist/hooks/use-media-query.d.ts +7 -0
- package/dist/hooks/use-media-query.d.ts.map +1 -0
- package/dist/hooks/use-media-query.js +19 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +188 -42251
- package/dist/models/Login3D.glb +0 -0
- package/dist/muza-ui.css +1 -0
- package/dist/node_modules/@date-fns/tz/date/index.js +61 -0
- package/dist/node_modules/@date-fns/tz/date/mini.js +69 -0
- package/dist/node_modules/@date-fns/tz/tzName/index.js +11 -0
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +22 -0
- package/dist/node_modules/@react-three/drei/core/useAnimations.js +34 -0
- package/dist/node_modules/@react-three/drei/core/useGLTF.js +18 -0
- package/dist/node_modules/@react-three/fiber/dist/events-776716bd.esm.js +1311 -0
- package/dist/node_modules/@react-three/fiber/dist/react-three-fiber.esm.js +145 -0
- package/dist/node_modules/@react-three/fiber/node_modules/suspend-react/index.js +47 -0
- package/dist/node_modules/color/index.js +262 -0
- package/dist/node_modules/color/node_modules/color-convert/conversions.js +421 -0
- package/dist/node_modules/color/node_modules/color-convert/index.js +35 -0
- package/dist/node_modules/color/node_modules/color-convert/route.js +46 -0
- package/dist/node_modules/color/node_modules/color-name/index.js +153 -0
- package/dist/node_modules/color-string/index.js +105 -0
- package/dist/node_modules/color-string/node_modules/color-name/index.js +153 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/index.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/sequence.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animate/subject.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +46 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +46 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/create.js +123 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/calc-child-stagger.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.js +40 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +57 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +266 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.js +70 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +84 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +75 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +63 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +64 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +38 -0
- package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +36 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +623 -0
- package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +58 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +239 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +38 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +31 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/object/ObjectVisualElement.js +37 -0
- package/dist/node_modules/framer-motion/dist/es/render/store.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +40 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +141 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +25 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/delay.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-motion-value-event.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +7 -0
- package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +34 -0
- package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +31 -0
- package/dist/node_modules/imask/esm/controls/html-mask-element.js +48 -0
- package/dist/node_modules/imask/esm/controls/input-history.js +30 -0
- package/dist/node_modules/imask/esm/controls/input.js +222 -0
- package/dist/node_modules/imask/esm/controls/mask-element.js +43 -0
- package/dist/node_modules/imask/esm/core/action-details.js +51 -0
- package/dist/node_modules/imask/esm/core/change-details.js +36 -0
- package/dist/node_modules/imask/esm/core/continuous-tail-details.js +42 -0
- package/dist/node_modules/imask/esm/core/holder.js +6 -0
- package/dist/node_modules/imask/esm/core/utils.js +67 -0
- package/dist/node_modules/imask/esm/index.js +50 -0
- package/dist/node_modules/imask/esm/masked/base.js +252 -0
- package/dist/node_modules/imask/esm/masked/date.js +117 -0
- package/dist/node_modules/imask/esm/masked/dynamic.js +222 -0
- package/dist/node_modules/imask/esm/masked/enum.js +69 -0
- package/dist/node_modules/imask/esm/masked/factory.js +46 -0
- package/dist/node_modules/imask/esm/masked/function.js +23 -0
- package/dist/node_modules/imask/esm/masked/number.js +212 -0
- package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +103 -0
- package/dist/node_modules/imask/esm/masked/pattern/cursor.js +100 -0
- package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +102 -0
- package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +133 -0
- package/dist/node_modules/imask/esm/masked/pattern.js +322 -0
- package/dist/node_modules/imask/esm/masked/pipe.js +23 -0
- package/dist/node_modules/imask/esm/masked/range.js +78 -0
- package/dist/node_modules/imask/esm/masked/regexp.js +21 -0
- package/dist/node_modules/imask/esm/masked/repeat.js +104 -0
- package/dist/node_modules/its-fine/dist/index.js +116 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +103 -0
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimation.js +76 -0
- package/dist/node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +133 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +108 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +36 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/defaults.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/find.js +52 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring/index.js +98 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +75 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +41 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +33 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/utils/transform.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +218 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +49 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +50 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +11 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +18 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +14 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/wrap.js +7 -0
- package/dist/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/photoswipe/dist/photoswipe.esm.js +2956 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +229 -0
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +22 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +222 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +27 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +54 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +42 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +24 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +26 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +56 -0
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +44 -0
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +23 -0
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +32 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +26 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +28 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +26 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +3621 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +1234 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +3600 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +1255 -0
- package/dist/node_modules/react-dom/server.browser.js +15 -0
- package/dist/node_modules/react-imask/esm/hook.js +75 -0
- package/dist/node_modules/react-imask/esm/input.js +23 -0
- package/dist/node_modules/react-imask/esm/mixin.js +131 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/context.js +17 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/gallery.js +216 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/ensure-ref-passed.js +10 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/entry-item-ref-is-element.js +4 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-base-url.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-value.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-hash-without-gid-and-pid.js +9 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-initial-active-slide-index.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-data-source.js +39 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/get-slides-and-index-from-items-refs.js +31 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-includes-navigation-query-params.js +8 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/hash-to-object.js +9 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/item-to-slide.js +37 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/object-to-hash.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/helpers/sort-nodes.js +6 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/hooks.js +22 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/item.js +54 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/lightbox-stub.js +8 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/no-ref-error.js +14 -0
- package/dist/node_modules/react-photoswipe-gallery/dist/no-source-id-error.js +18 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +32 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js +17 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.development.js +9139 -0
- package/dist/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +3778 -0
- package/dist/node_modules/react-reconciler/constants.js +10 -0
- package/dist/node_modules/react-reconciler/index.js +10 -0
- package/dist/node_modules/react-use-measure/dist/index.js +60 -0
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +277 -0
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +213 -0
- package/dist/node_modules/scheduler/index.js +10 -0
- package/dist/node_modules/three/build/three.module.js +20599 -0
- package/dist/node_modules/three-stdlib/_polyfill/LoaderUtils.js +15 -0
- package/dist/node_modules/three-stdlib/_polyfill/constants.js +5 -0
- package/dist/node_modules/three-stdlib/libs/MeshoptDecoder.js +201 -0
- package/dist/node_modules/three-stdlib/loaders/DRACOLoader.js +246 -0
- package/dist/node_modules/three-stdlib/loaders/GLTFLoader.js +1670 -0
- package/dist/node_modules/three-stdlib/utils/BufferGeometryUtils.js +34 -0
- package/dist/node_modules/zustand/esm/index.js +61 -0
- package/dist/styles/3rd-parties.css +5 -0
- package/dist/styles/animations.css +41 -0
- package/dist/styles/breakpoints.css +4 -0
- package/dist/styles/primitives.css +155 -0
- package/dist/styles/token-colors.css +1201 -0
- package/dist/styles/token-sizes.css +676 -0
- package/dist/styles/typography.css +84 -0
- package/dist/styles/utilities.css +66 -0
- package/dist/styles/white-label.css +25 -0
- package/dist/utils/cn.d.ts +1 -1
- package/dist/utils/cn.d.ts.map +1 -1
- package/dist/utils/cn.js +159 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/spacing.d.ts +378 -0
- package/dist/utils/spacing.d.ts.map +1 -0
- package/dist/utils/spacing.js +352 -0
- package/package.json +84 -40
- package/dist/fonts/Objectivity/Objectivity-Black.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Black.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-BlackSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-BlackSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Bold.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-BoldSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-BoldSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBold.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBold.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBoldSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBoldSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Light.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-LightSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-LightSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Medium.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-MediumSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-MediumSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Regular.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-RegularSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-RegularSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Super.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Super.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-SuperSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-SuperSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Thin.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Thin.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ThinSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ThinSlanted.woff2 +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsx as R } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { useId as $, useRef as d, useContext as w, useInsertionEffect as P } from "react";
|
|
4
|
+
import { MotionConfigContext as z } from "../../context/MotionConfigContext.js";
|
|
5
|
+
import { useComposedRefs as E } from "../../utils/use-composed-ref.js";
|
|
6
|
+
import { isHTMLElement as I } from "../../../../../motion-dom/dist/es/utils/is-html-element.js";
|
|
7
|
+
class M extends a.Component {
|
|
8
|
+
getSnapshotBeforeUpdate(i) {
|
|
9
|
+
const e = this.props.childRef.current;
|
|
10
|
+
if (e && i.isPresent && !this.props.isPresent) {
|
|
11
|
+
const r = e.offsetParent, s = I(r) && r.offsetWidth || 0, t = this.props.sizeRef.current;
|
|
12
|
+
t.height = e.offsetHeight || 0, t.width = e.offsetWidth || 0, t.top = e.offsetTop, t.left = e.offsetLeft, t.right = s - t.width - t.left;
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Required with getSnapshotBeforeUpdate to stop React complaining.
|
|
18
|
+
*/
|
|
19
|
+
componentDidUpdate() {
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
return this.props.children;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function U({ children: n, isPresent: i, anchorX: e, root: r }) {
|
|
26
|
+
const s = $(), t = d(null), f = d({
|
|
27
|
+
width: 0,
|
|
28
|
+
height: 0,
|
|
29
|
+
top: 0,
|
|
30
|
+
left: 0,
|
|
31
|
+
right: 0
|
|
32
|
+
}), { nonce: h } = w(z), l = E(t, n == null ? void 0 : n.ref);
|
|
33
|
+
return P(() => {
|
|
34
|
+
const { width: c, height: m, top: u, left: g, right: x } = f.current;
|
|
35
|
+
if (i || !t.current || !c || !m)
|
|
36
|
+
return;
|
|
37
|
+
const C = e === "left" ? `left: ${g}` : `right: ${x}`;
|
|
38
|
+
t.current.dataset.motionPopId = s;
|
|
39
|
+
const o = document.createElement("style");
|
|
40
|
+
h && (o.nonce = h);
|
|
41
|
+
const p = r ?? document.head;
|
|
42
|
+
return p.appendChild(o), o.sheet && o.sheet.insertRule(`
|
|
43
|
+
[data-motion-pop-id="${s}"] {
|
|
44
|
+
position: absolute !important;
|
|
45
|
+
width: ${c}px !important;
|
|
46
|
+
height: ${m}px !important;
|
|
47
|
+
${C}px !important;
|
|
48
|
+
top: ${u}px !important;
|
|
49
|
+
}
|
|
50
|
+
`), () => {
|
|
51
|
+
p.contains(o) && p.removeChild(o);
|
|
52
|
+
};
|
|
53
|
+
}, [i]), R(M, { isPresent: i, childRef: t, sizeRef: f, children: a.cloneElement(n, { ref: l }) });
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
U as PopChild
|
|
57
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import * as v from "react";
|
|
3
|
+
import { useId as M, useMemo as c } from "react";
|
|
4
|
+
import { PresenceContext as w } from "../../context/PresenceContext.js";
|
|
5
|
+
import { useConstant as x } from "../../utils/use-constant.js";
|
|
6
|
+
import { PopChild as R } from "./PopChild.js";
|
|
7
|
+
const _ = ({ children: f, initial: i, isPresent: r, onExitComplete: t, custom: m, presenceAffectsLayout: p, mode: l, anchorX: d, root: h }) => {
|
|
8
|
+
const e = x(g), C = M();
|
|
9
|
+
let u = !0, s = c(() => (u = !1, {
|
|
10
|
+
id: C,
|
|
11
|
+
initial: i,
|
|
12
|
+
isPresent: r,
|
|
13
|
+
custom: m,
|
|
14
|
+
onExitComplete: (o) => {
|
|
15
|
+
e.set(o, !0);
|
|
16
|
+
for (const n of e.values())
|
|
17
|
+
if (!n)
|
|
18
|
+
return;
|
|
19
|
+
t && t();
|
|
20
|
+
},
|
|
21
|
+
register: (o) => (e.set(o, !1), () => e.delete(o))
|
|
22
|
+
}), [r, e, t]);
|
|
23
|
+
return p && u && (s = { ...s }), c(() => {
|
|
24
|
+
e.forEach((o, n) => e.set(n, !1));
|
|
25
|
+
}, [r]), v.useEffect(() => {
|
|
26
|
+
!r && !e.size && t && t();
|
|
27
|
+
}, [r]), l === "popLayout" && (f = a(R, { isPresent: r, anchorX: d, root: h, children: f })), a(w.Provider, { value: s, children: f });
|
|
28
|
+
};
|
|
29
|
+
function g() {
|
|
30
|
+
return /* @__PURE__ */ new Map();
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
_ as PresenceChild
|
|
34
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx as E, Fragment as N } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as F, useRef as w, useState as k, useContext as G } from "react";
|
|
3
|
+
import { LayoutGroupContext as O } from "../../context/LayoutGroupContext.js";
|
|
4
|
+
import { useConstant as R } from "../../utils/use-constant.js";
|
|
5
|
+
import { useIsomorphicLayoutEffect as S } from "../../utils/use-isomorphic-effect.js";
|
|
6
|
+
import { PresenceChild as V } from "./PresenceChild.js";
|
|
7
|
+
import { usePresence as X } from "./use-presence.js";
|
|
8
|
+
import { onlyElements as v, getChildKey as c } from "./utils.js";
|
|
9
|
+
const T = ({ children: h, custom: A, initial: L = !0, onExitComplete: p, presenceAffectsLayout: b = !0, mode: u = "sync", propagate: l = !1, anchorX: j = "left", root: D }) => {
|
|
10
|
+
const [C, f] = X(l), n = F(() => v(h), [h]), o = l && !C ? [] : n.map(c), y = w(!0), x = w(n), r = R(() => /* @__PURE__ */ new Map()), [I, K] = k(n), [i, P] = k(n);
|
|
11
|
+
S(() => {
|
|
12
|
+
y.current = !1, x.current = n;
|
|
13
|
+
for (let t = 0; t < i.length; t++) {
|
|
14
|
+
const e = c(i[t]);
|
|
15
|
+
o.includes(e) ? r.delete(e) : r.get(e) !== !0 && r.set(e, !1);
|
|
16
|
+
}
|
|
17
|
+
}, [i, o.length, o.join("-")]);
|
|
18
|
+
const d = [];
|
|
19
|
+
if (n !== I) {
|
|
20
|
+
let t = [...n];
|
|
21
|
+
for (let e = 0; e < i.length; e++) {
|
|
22
|
+
const s = i[e], a = c(s);
|
|
23
|
+
o.includes(a) || (t.splice(e, 0, s), d.push(s));
|
|
24
|
+
}
|
|
25
|
+
return u === "wait" && d.length && (t = d), P(v(t)), K(n), null;
|
|
26
|
+
}
|
|
27
|
+
process.env.NODE_ENV !== "production" && u === "wait" && i.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
28
|
+
const { forceRender: m } = G(O);
|
|
29
|
+
return E(N, { children: i.map((t) => {
|
|
30
|
+
const e = c(t), s = l && !C ? !1 : n === i || o.includes(e), a = () => {
|
|
31
|
+
if (r.has(e))
|
|
32
|
+
r.set(e, !0);
|
|
33
|
+
else
|
|
34
|
+
return;
|
|
35
|
+
let g = !0;
|
|
36
|
+
r.forEach((M) => {
|
|
37
|
+
M || (g = !1);
|
|
38
|
+
}), g && (m == null || m(), P(x.current), l && (f == null || f()), p && p());
|
|
39
|
+
};
|
|
40
|
+
return E(V, { isPresent: s, initial: !y.current || L ? void 0 : !1, custom: A, presenceAffectsLayout: b, mode: u, root: D, onExitComplete: s ? void 0 : a, anchorX: j, children: t }, e);
|
|
41
|
+
}) });
|
|
42
|
+
};
|
|
43
|
+
export {
|
|
44
|
+
T as AnimatePresence
|
|
45
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useContext as f, useId as l, useEffect as c, useCallback as i } from "react";
|
|
2
|
+
import { PresenceContext as m } from "../../context/PresenceContext.js";
|
|
3
|
+
function p(e = !0) {
|
|
4
|
+
const o = f(m);
|
|
5
|
+
if (o === null)
|
|
6
|
+
return [!0, null];
|
|
7
|
+
const { isPresent: r, onExitComplete: t, register: u } = o, n = l();
|
|
8
|
+
c(() => {
|
|
9
|
+
if (e)
|
|
10
|
+
return u(n);
|
|
11
|
+
}, [e]);
|
|
12
|
+
const s = i(() => e && t && t(n), [n, t, e]);
|
|
13
|
+
return !r && t ? [!1, s] : [!0];
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
p as usePresence
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { useContext as o, useMemo as i } from "react";
|
|
2
|
+
import { MotionContext as a } from "./index.js";
|
|
3
|
+
import { getCurrentTreeVariants as m } from "./utils.js";
|
|
4
|
+
function C(t) {
|
|
5
|
+
const { initial: e, animate: n } = m(t, o(a));
|
|
6
|
+
return i(() => ({ initial: e, animate: n }), [r(e), r(n)]);
|
|
7
|
+
}
|
|
8
|
+
function r(t) {
|
|
9
|
+
return Array.isArray(t) ? t.join(" ") : t;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
C as useCreateMotionContext
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { isControllingVariants as r } from "../../render/utils/is-controlling-variants.js";
|
|
2
|
+
import { isVariantLabel as e } from "../../render/utils/is-variant-label.js";
|
|
3
|
+
function o(i, a) {
|
|
4
|
+
if (r(i)) {
|
|
5
|
+
const { initial: n, animate: t } = i;
|
|
6
|
+
return {
|
|
7
|
+
initial: n === !1 || e(n) ? n : void 0,
|
|
8
|
+
animate: e(t) ? t : void 0
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
return i.inherit !== !1 ? a : {};
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
o as getCurrentTreeVariants
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { isPrimaryPointer as t } from "../../../../motion-dom/dist/es/gestures/utils/is-primary-pointer.js";
|
|
2
|
+
function n(r) {
|
|
3
|
+
return {
|
|
4
|
+
point: {
|
|
5
|
+
x: r.pageX,
|
|
6
|
+
y: r.pageY
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
const a = (r) => (o) => t(o) && r(o, n(o));
|
|
11
|
+
export {
|
|
12
|
+
a as addPointerInfo,
|
|
13
|
+
n as extractEventInfo
|
|
14
|
+
};
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import { animateMotionValue as M } from "../../animation/interfaces/motion-value.js";
|
|
2
|
+
import { addDomEvent as S } from "../../events/add-dom-event.js";
|
|
3
|
+
import { addPointerEvent as B } from "../../events/add-pointer-event.js";
|
|
4
|
+
import { extractEventInfo as k } from "../../events/event-info.js";
|
|
5
|
+
import { convertBoxToBoundingBox as j, convertBoundingBoxToBox as T } from "../../projection/geometry/conversion.js";
|
|
6
|
+
import { calcLength as w } from "../../projection/geometry/delta-calc.js";
|
|
7
|
+
import { createBox as b } from "../../projection/geometry/models.js";
|
|
8
|
+
import { eachAxis as h } from "../../projection/utils/each-axis.js";
|
|
9
|
+
import { measurePageBox as I } from "../../projection/utils/measure.js";
|
|
10
|
+
import { getContextWindow as R } from "../../utils/get-context-window.js";
|
|
11
|
+
import { isRefObject as D } from "../../utils/is-ref-object.js";
|
|
12
|
+
import { addValueToWillChange as x } from "../../value/use-will-change/add-will-change.js";
|
|
13
|
+
import { PanSession as W } from "../pan/PanSession.js";
|
|
14
|
+
import { applyConstraints as O, calcRelativeConstraints as U, resolveDragElastic as z, calcViewportConstraints as _, defaultElastic as F, rebaseAxisConstraints as K, calcOrigin as N } from "./utils/constraints.js";
|
|
15
|
+
import { frame as y } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
16
|
+
import { invariant as $ } from "../../../../../motion-utils/dist/es/errors.js";
|
|
17
|
+
import { setDragLock as q } from "../../../../../motion-dom/dist/es/gestures/drag/state/set-active.js";
|
|
18
|
+
import { percent as G } from "../../../../../motion-dom/dist/es/value/types/numbers/units.js";
|
|
19
|
+
import { mixNumber as L } from "../../../../../motion-dom/dist/es/utils/mix/number.js";
|
|
20
|
+
const H = /* @__PURE__ */ new WeakMap();
|
|
21
|
+
class dt {
|
|
22
|
+
constructor(t) {
|
|
23
|
+
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = b(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = t;
|
|
24
|
+
}
|
|
25
|
+
start(t, { snapToCursor: s = !1, distanceThreshold: n } = {}) {
|
|
26
|
+
const { presenceContext: i } = this.visualElement;
|
|
27
|
+
if (i && i.isPresent === !1)
|
|
28
|
+
return;
|
|
29
|
+
const r = (a) => {
|
|
30
|
+
const { dragSnapToOrigin: l } = this.getProps();
|
|
31
|
+
l ? this.pauseAnimation() : this.stopAnimation(), s && this.snapToCursor(k(a).point);
|
|
32
|
+
}, e = (a, l) => {
|
|
33
|
+
const { drag: f, dragPropagation: d, onDragStart: v } = this.getProps();
|
|
34
|
+
if (f && !d && (this.openDragLock && this.openDragLock(), this.openDragLock = q(f), !this.openDragLock))
|
|
35
|
+
return;
|
|
36
|
+
this.latestPointerEvent = a, this.latestPanInfo = l, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), h((m) => {
|
|
37
|
+
let P = this.getAxisMotionValue(m).get() || 0;
|
|
38
|
+
if (G.test(P)) {
|
|
39
|
+
const { projection: C } = this.visualElement;
|
|
40
|
+
if (C && C.layout) {
|
|
41
|
+
const V = C.layout.layoutBox[m];
|
|
42
|
+
V && (P = w(V) * (parseFloat(P) / 100));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
this.originPoint[m] = P;
|
|
46
|
+
}), v && y.postRender(() => v(a, l)), x(this.visualElement, "transform");
|
|
47
|
+
const { animationState: E } = this.visualElement;
|
|
48
|
+
E && E.setActive("whileDrag", !0);
|
|
49
|
+
}, o = (a, l) => {
|
|
50
|
+
this.latestPointerEvent = a, this.latestPanInfo = l;
|
|
51
|
+
const { dragPropagation: f, dragDirectionLock: d, onDirectionLock: v, onDrag: E } = this.getProps();
|
|
52
|
+
if (!f && !this.openDragLock)
|
|
53
|
+
return;
|
|
54
|
+
const { offset: m } = l;
|
|
55
|
+
if (d && this.currentDirection === null) {
|
|
56
|
+
this.currentDirection = J(m), this.currentDirection !== null && v && v(this.currentDirection);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
this.updateAxis("x", l.point, m), this.updateAxis("y", l.point, m), this.visualElement.render(), E && E(a, l);
|
|
60
|
+
}, c = (a, l) => {
|
|
61
|
+
this.latestPointerEvent = a, this.latestPanInfo = l, this.stop(a, l), this.latestPointerEvent = null, this.latestPanInfo = null;
|
|
62
|
+
}, g = () => h((a) => {
|
|
63
|
+
var l;
|
|
64
|
+
return this.getAnimationState(a) === "paused" && ((l = this.getAxisMotionValue(a).animation) == null ? void 0 : l.play());
|
|
65
|
+
}), { dragSnapToOrigin: u } = this.getProps();
|
|
66
|
+
this.panSession = new W(t, {
|
|
67
|
+
onSessionStart: r,
|
|
68
|
+
onStart: e,
|
|
69
|
+
onMove: o,
|
|
70
|
+
onSessionEnd: c,
|
|
71
|
+
resumeAnimation: g
|
|
72
|
+
}, {
|
|
73
|
+
transformPagePoint: this.visualElement.getTransformPagePoint(),
|
|
74
|
+
dragSnapToOrigin: u,
|
|
75
|
+
distanceThreshold: n,
|
|
76
|
+
contextWindow: R(this.visualElement)
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
stop(t, s) {
|
|
83
|
+
const n = t || this.latestPointerEvent, i = s || this.latestPanInfo, r = this.isDragging;
|
|
84
|
+
if (this.cancel(), !r || !i || !n)
|
|
85
|
+
return;
|
|
86
|
+
const { velocity: e } = i;
|
|
87
|
+
this.startAnimation(e);
|
|
88
|
+
const { onDragEnd: o } = this.getProps();
|
|
89
|
+
o && y.postRender(() => o(n, i));
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
cancel() {
|
|
95
|
+
this.isDragging = !1;
|
|
96
|
+
const { projection: t, animationState: s } = this.visualElement;
|
|
97
|
+
t && (t.isAnimationBlocked = !1), this.panSession && this.panSession.end(), this.panSession = void 0;
|
|
98
|
+
const { dragPropagation: n } = this.getProps();
|
|
99
|
+
!n && this.openDragLock && (this.openDragLock(), this.openDragLock = null), s && s.setActive("whileDrag", !1);
|
|
100
|
+
}
|
|
101
|
+
updateAxis(t, s, n) {
|
|
102
|
+
const { drag: i } = this.getProps();
|
|
103
|
+
if (!n || !A(t, i, this.currentDirection))
|
|
104
|
+
return;
|
|
105
|
+
const r = this.getAxisMotionValue(t);
|
|
106
|
+
let e = this.originPoint[t] + n[t];
|
|
107
|
+
this.constraints && this.constraints[t] && (e = O(e, this.constraints[t], this.elastic[t])), r.set(e);
|
|
108
|
+
}
|
|
109
|
+
resolveConstraints() {
|
|
110
|
+
var r;
|
|
111
|
+
const { dragConstraints: t, dragElastic: s } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (r = this.visualElement.projection) == null ? void 0 : r.layout, i = this.constraints;
|
|
112
|
+
t && D(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && n ? this.constraints = U(n.layoutBox, t) : this.constraints = !1, this.elastic = z(s), i !== this.constraints && n && this.constraints && !this.hasMutatedConstraints && h((e) => {
|
|
113
|
+
this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = K(n.layoutBox[e], this.constraints[e]));
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
resolveRefConstraints() {
|
|
117
|
+
const { dragConstraints: t, onMeasureDragConstraints: s } = this.getProps();
|
|
118
|
+
if (!t || !D(t))
|
|
119
|
+
return !1;
|
|
120
|
+
const n = t.current;
|
|
121
|
+
$(n !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.", "drag-constraints-ref");
|
|
122
|
+
const { projection: i } = this.visualElement;
|
|
123
|
+
if (!i || !i.layout)
|
|
124
|
+
return !1;
|
|
125
|
+
const r = I(n, i.root, this.visualElement.getTransformPagePoint());
|
|
126
|
+
let e = _(i.layout.layoutBox, r);
|
|
127
|
+
if (s) {
|
|
128
|
+
const o = s(j(e));
|
|
129
|
+
this.hasMutatedConstraints = !!o, o && (e = T(o));
|
|
130
|
+
}
|
|
131
|
+
return e;
|
|
132
|
+
}
|
|
133
|
+
startAnimation(t) {
|
|
134
|
+
const { drag: s, dragMomentum: n, dragElastic: i, dragTransition: r, dragSnapToOrigin: e, onDragTransitionEnd: o } = this.getProps(), c = this.constraints || {}, g = h((u) => {
|
|
135
|
+
if (!A(u, s, this.currentDirection))
|
|
136
|
+
return;
|
|
137
|
+
let a = c && c[u] || {};
|
|
138
|
+
e && (a = { min: 0, max: 0 });
|
|
139
|
+
const l = i ? 200 : 1e6, f = i ? 40 : 1e7, d = {
|
|
140
|
+
type: "inertia",
|
|
141
|
+
velocity: n ? t[u] : 0,
|
|
142
|
+
bounceStiffness: l,
|
|
143
|
+
bounceDamping: f,
|
|
144
|
+
timeConstant: 750,
|
|
145
|
+
restDelta: 1,
|
|
146
|
+
restSpeed: 10,
|
|
147
|
+
...r,
|
|
148
|
+
...a
|
|
149
|
+
};
|
|
150
|
+
return this.startAxisValueAnimation(u, d);
|
|
151
|
+
});
|
|
152
|
+
return Promise.all(g).then(o);
|
|
153
|
+
}
|
|
154
|
+
startAxisValueAnimation(t, s) {
|
|
155
|
+
const n = this.getAxisMotionValue(t);
|
|
156
|
+
return x(this.visualElement, t), n.start(M(t, n, 0, s, this.visualElement, !1));
|
|
157
|
+
}
|
|
158
|
+
stopAnimation() {
|
|
159
|
+
h((t) => this.getAxisMotionValue(t).stop());
|
|
160
|
+
}
|
|
161
|
+
pauseAnimation() {
|
|
162
|
+
h((t) => {
|
|
163
|
+
var s;
|
|
164
|
+
return (s = this.getAxisMotionValue(t).animation) == null ? void 0 : s.pause();
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
getAnimationState(t) {
|
|
168
|
+
var s;
|
|
169
|
+
return (s = this.getAxisMotionValue(t).animation) == null ? void 0 : s.state;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Drag works differently depending on which props are provided.
|
|
173
|
+
*
|
|
174
|
+
* - If _dragX and _dragY are provided, we output the gesture delta directly to those motion values.
|
|
175
|
+
* - Otherwise, we apply the delta to the x/y motion values.
|
|
176
|
+
*/
|
|
177
|
+
getAxisMotionValue(t) {
|
|
178
|
+
const s = `_drag${t.toUpperCase()}`, n = this.visualElement.getProps(), i = n[s];
|
|
179
|
+
return i || this.visualElement.getValue(t, (n.initial ? n.initial[t] : void 0) || 0);
|
|
180
|
+
}
|
|
181
|
+
snapToCursor(t) {
|
|
182
|
+
h((s) => {
|
|
183
|
+
const { drag: n } = this.getProps();
|
|
184
|
+
if (!A(s, n, this.currentDirection))
|
|
185
|
+
return;
|
|
186
|
+
const { projection: i } = this.visualElement, r = this.getAxisMotionValue(s);
|
|
187
|
+
if (i && i.layout) {
|
|
188
|
+
const { min: e, max: o } = i.layout.layoutBox[s];
|
|
189
|
+
r.set(t[s] - L(e, o, 0.5));
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* When the viewport resizes we want to check if the measured constraints
|
|
195
|
+
* have changed and, if so, reposition the element within those new constraints
|
|
196
|
+
* relative to where it was before the resize.
|
|
197
|
+
*/
|
|
198
|
+
scalePositionWithinConstraints() {
|
|
199
|
+
if (!this.visualElement.current)
|
|
200
|
+
return;
|
|
201
|
+
const { drag: t, dragConstraints: s } = this.getProps(), { projection: n } = this.visualElement;
|
|
202
|
+
if (!D(s) || !n || !this.constraints)
|
|
203
|
+
return;
|
|
204
|
+
this.stopAnimation();
|
|
205
|
+
const i = { x: 0, y: 0 };
|
|
206
|
+
h((e) => {
|
|
207
|
+
const o = this.getAxisMotionValue(e);
|
|
208
|
+
if (o && this.constraints !== !1) {
|
|
209
|
+
const c = o.get();
|
|
210
|
+
i[e] = N({ min: c, max: c }, this.constraints[e]);
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
const { transformTemplate: r } = this.visualElement.getProps();
|
|
214
|
+
this.visualElement.current.style.transform = r ? r({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.resolveConstraints(), h((e) => {
|
|
215
|
+
if (!A(e, t, null))
|
|
216
|
+
return;
|
|
217
|
+
const o = this.getAxisMotionValue(e), { min: c, max: g } = this.constraints[e];
|
|
218
|
+
o.set(L(c, g, i[e]));
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
addListeners() {
|
|
222
|
+
if (!this.visualElement.current)
|
|
223
|
+
return;
|
|
224
|
+
H.set(this.visualElement, this);
|
|
225
|
+
const t = this.visualElement.current, s = B(t, "pointerdown", (c) => {
|
|
226
|
+
const { drag: g, dragListener: u = !0 } = this.getProps();
|
|
227
|
+
g && u && this.start(c);
|
|
228
|
+
}), n = () => {
|
|
229
|
+
const { dragConstraints: c } = this.getProps();
|
|
230
|
+
D(c) && c.current && (this.constraints = this.resolveRefConstraints());
|
|
231
|
+
}, { projection: i } = this.visualElement, r = i.addEventListener("measure", n);
|
|
232
|
+
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), y.read(n);
|
|
233
|
+
const e = S(window, "resize", () => this.scalePositionWithinConstraints()), o = i.addEventListener("didUpdate", (({ delta: c, hasLayoutChanged: g }) => {
|
|
234
|
+
this.isDragging && g && (h((u) => {
|
|
235
|
+
const a = this.getAxisMotionValue(u);
|
|
236
|
+
a && (this.originPoint[u] += c[u].translate, a.set(a.get() + c[u].translate));
|
|
237
|
+
}), this.visualElement.render());
|
|
238
|
+
}));
|
|
239
|
+
return () => {
|
|
240
|
+
e(), s(), r(), o && o();
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
getProps() {
|
|
244
|
+
const t = this.visualElement.getProps(), { drag: s = !1, dragDirectionLock: n = !1, dragPropagation: i = !1, dragConstraints: r = !1, dragElastic: e = F, dragMomentum: o = !0 } = t;
|
|
245
|
+
return {
|
|
246
|
+
...t,
|
|
247
|
+
drag: s,
|
|
248
|
+
dragDirectionLock: n,
|
|
249
|
+
dragPropagation: i,
|
|
250
|
+
dragConstraints: r,
|
|
251
|
+
dragElastic: e,
|
|
252
|
+
dragMomentum: o
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
function A(p, t, s) {
|
|
257
|
+
return (t === !0 || t === p) && (s === null || s === p);
|
|
258
|
+
}
|
|
259
|
+
function J(p, t = 10) {
|
|
260
|
+
let s = null;
|
|
261
|
+
return Math.abs(p.y) > t ? s = "y" : Math.abs(p.x) > t && (s = "x"), s;
|
|
262
|
+
}
|
|
263
|
+
export {
|
|
264
|
+
dt as VisualElementDragControls,
|
|
265
|
+
H as elementDragControls
|
|
266
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Feature as s } from "../../motion/features/Feature.js";
|
|
2
|
+
import { VisualElementDragControls as t } from "./VisualElementDragControls.js";
|
|
3
|
+
import { noop as r } from "../../../../../motion-utils/dist/es/noop.js";
|
|
4
|
+
class u extends s {
|
|
5
|
+
constructor(o) {
|
|
6
|
+
super(o), this.removeGroupControls = r, this.removeListeners = r, this.controls = new t(o);
|
|
7
|
+
}
|
|
8
|
+
mount() {
|
|
9
|
+
const { dragControls: o } = this.node.getProps();
|
|
10
|
+
o && (this.removeGroupControls = o.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || r;
|
|
11
|
+
}
|
|
12
|
+
unmount() {
|
|
13
|
+
this.removeGroupControls(), this.removeListeners();
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
u as DragGesture
|
|
18
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { useConstant as r } from "../../utils/use-constant.js";
|
|
2
|
+
class s {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.componentControls = /* @__PURE__ */ new Set();
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Subscribe a component's internal `VisualElementDragControls` to the user-facing API.
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
subscribe(o) {
|
|
12
|
+
return this.componentControls.add(o), () => this.componentControls.delete(o);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Start a drag gesture on every `motion` component that has this set of drag controls
|
|
16
|
+
* passed into it via the `dragControls` prop.
|
|
17
|
+
*
|
|
18
|
+
* ```jsx
|
|
19
|
+
* dragControls.start(e, {
|
|
20
|
+
* snapToCursor: true
|
|
21
|
+
* })
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @param event - PointerEvent
|
|
25
|
+
* @param options - Options
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
start(o, t) {
|
|
30
|
+
this.componentControls.forEach((n) => {
|
|
31
|
+
n.start(o.nativeEvent || o, t);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Cancels a drag gesture.
|
|
36
|
+
*
|
|
37
|
+
* ```jsx
|
|
38
|
+
* dragControls.cancel()
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
cancel() {
|
|
44
|
+
this.componentControls.forEach((o) => {
|
|
45
|
+
o.cancel();
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Stops a drag gesture.
|
|
50
|
+
*
|
|
51
|
+
* ```jsx
|
|
52
|
+
* dragControls.stop()
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
stop() {
|
|
58
|
+
this.componentControls.forEach((o) => {
|
|
59
|
+
o.stop();
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
const e = () => new s();
|
|
64
|
+
function l() {
|
|
65
|
+
return r(e);
|
|
66
|
+
}
|
|
67
|
+
export {
|
|
68
|
+
s as DragControls,
|
|
69
|
+
l as useDragControls
|
|
70
|
+
};
|