@konstructio/ui 0.1.2-alpha.84 → 0.1.2-alpha.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AdditionalOptions-Cx9wU01w.js → AdditionalOptions-UEegkZqG.js} +2 -2
- package/dist/{AlertDialogTrigger-C-NMEoDd.js → AlertDialogTrigger-C2GlLI2j.js} +4 -4
- package/dist/{Breadcrumb-C95aOsYk.js → Breadcrumb-BYO5PNVF.js} +3 -3
- package/dist/{Checkbox-Cn0UWlk8.js → Checkbox-BvRmHWxk.js} +8 -8
- package/dist/{CommandInput-BKv-EZ7T.js → CommandInput-C45ylYPm.js} +4 -4
- package/dist/{Counter-DtQu_T-D.js → Counter-Qqu8PU85.js} +4 -4
- package/dist/{DayPicker-CrrmX-H8.js → DayPicker-BQlzb5kH.js} +1 -1
- package/dist/{DropdownButton-B2XkEqPt.js → DropdownButton-CWwjA3zI.js} +3 -3
- package/dist/{FlagSelectorList-C17nmEBM.js → FlagSelectorList-NMlHNF7N.js} +122 -118
- package/dist/HamburgerTrigger-BzCfBWzH.js +85 -0
- package/dist/{ImageUpload-BzXjGZ2w.js → ImageUpload-DebL0hwF.js} +2 -2
- package/dist/{Input-GBMxM3Z7.js → Input-BZG7N8m1.js} +3 -3
- package/dist/{Loading-DKqxR-oV.js → Loading-DNlO4qxs.js} +2 -2
- package/dist/{Modal-DbTe8PVX.js → Modal-IyDr5vIx.js} +5 -5
- package/dist/{Spinner-CyuXAaC8.js → Spinner-BB1muhcJ.js} +2 -2
- package/dist/{StepIndicatorContent-D5z1Ziqg.js → StepIndicatorContent-87ASgJsX.js} +2 -2
- package/dist/{Switch-DjbC0A8y.js → Switch-CT2R9JgM.js} +5 -5
- package/dist/{Toast-D7GhS4fm.js → Toast-CWyLcmNX.js} +10 -10
- package/dist/{Wrapper-DEJ-hyar.js → Wrapper-DimnwFZe.js} +3 -3
- package/dist/{Wrapper-CjUokv72.js → Wrapper-F9NmImqw.js} +4 -4
- package/dist/{Wrapper-BYC8shQP.js → Wrapper-TuoyTFqo.js} +3 -3
- package/dist/{chevron-down-DgssmYWu.js → chevron-down-T3Rx8Nc7.js} +1 -1
- package/dist/{chevron-left-DRJXef9g.js → chevron-left-CeJrJR0U.js} +1 -1
- package/dist/{chevron-right-BooB_b7g.js → chevron-right-BFOnP164.js} +1 -1
- package/dist/{chevron-up-DuS9MUNr.js → chevron-up-BKlxfVX9.js} +1 -1
- package/dist/{chunk-D1xtDmiO.js → chunk-cI0lbGMq.js} +7 -7
- package/dist/components/Alert/Alert.js +3 -3
- package/dist/components/Alert/Alert.variants.js +1 -1
- package/dist/components/AlertDialog/AlertDialog.js +2 -2
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.variants.js +1 -1
- package/dist/components/Autocomplete/components/List/List.js +1 -1
- package/dist/components/Autocomplete/components/List/List.variants.js +1 -1
- package/dist/components/Autocomplete/hooks/useAutocomplete.js +1 -1
- package/dist/components/Badge/Badge.js +3 -3
- package/dist/components/Badge/Badge.variants.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +1 -1
- package/dist/components/Breadcrumb/components/Item/Item.js +2 -2
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +1 -1
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +2 -2
- package/dist/components/Button/Button.variants.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/components/ButtonGroup/ButtonGroup.variants.js +1 -1
- package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +2 -2
- package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.variants.js +1 -1
- package/dist/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.js +1 -1
- package/dist/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.js +1 -1
- package/dist/components/Card/Card.js +1 -1
- package/dist/components/Card/Card.variants.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checkbox/Checkbox.variants.js +1 -1
- package/dist/components/Command/Command.js +3 -3
- package/dist/components/Command/Command.variants.js +1 -1
- package/dist/components/Command/components/Command.js +1 -1
- package/dist/components/Command/components/CommandEmpty.js +1 -1
- package/dist/components/Command/components/CommandGroup.js +2 -2
- package/dist/components/Command/components/CommandInput.js +1 -1
- package/dist/components/Command/components/CommandItem.js +2 -2
- package/dist/components/Command/components/CommandList.js +2 -2
- package/dist/components/Command/components/CommandSeparator.js +2 -2
- package/dist/components/Command/components/CommandShortcut.js +1 -1
- package/dist/components/Command/components/DialogContent.js +3 -3
- package/dist/components/Command/components/DialogOverlay.js +2 -2
- package/dist/components/Command/components/index.js +1 -1
- package/dist/components/Counter/Counter.js +1 -1
- package/dist/components/Counter/Counter.variants.js +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.variants.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.variants.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +3 -3
- package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +3 -3
- package/dist/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.js +3 -3
- package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +2 -2
- package/dist/components/DateRangePicker/components/CalendarPanel/constants/dayPickerClassNames.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/index.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/utils/index.js +1 -1
- package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.js +1 -1
- package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.variants.js +1 -1
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +2 -2
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +2 -2
- package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.js +1 -1
- package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.variants.js +1 -1
- package/dist/components/Datepicker/DatePicker.js +4 -4
- package/dist/components/Datepicker/DatePicker.variants.js +1 -1
- package/dist/components/Divider/Divider.js +1 -1
- package/dist/components/Divider/Divider.variants.js +1 -1
- package/dist/components/Drawer/Drawer.js +4 -4
- package/dist/components/Drawer/Drawer.variants.js +1 -1
- package/dist/components/Drawer/components/Body/Body.js +1 -1
- package/dist/components/Drawer/components/Footer/Footer.js +1 -1
- package/dist/components/Drawer/components/Header/Header.js +1 -1
- package/dist/components/DropdownButton/DropdownButton.js +1 -1
- package/dist/components/Filter/Filter.js +1 -1
- package/dist/components/Filter/Filter.variants.js +1 -1
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +3 -3
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +1 -1
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +2 -2
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +1 -1
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +2 -2
- package/dist/components/Filter/components/ResetButton/ResetButton.js +1 -1
- package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +3 -3
- package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +2 -2
- package/dist/components/Filter/utils/index.js +1 -1
- package/dist/components/ImageUpload/ImageUpload.js +1 -1
- package/dist/components/ImageUpload/ImageUpload.variants.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/Input.variants.js +1 -1
- package/dist/components/LineChart/LineChart.js +2 -2
- package/dist/components/Loading/Loading.js +1 -1
- package/dist/components/Loading/Loading.variants.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/components/Body/Body.js +2 -2
- package/dist/components/Modal/components/Footer/Footer.js +2 -2
- package/dist/components/Modal/components/Header/Header.js +2 -2
- package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +1 -1
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +1 -1
- package/dist/components/MultiSelectDropdown/components/Item/Item.js +1 -1
- package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +1 -1
- package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
- package/dist/components/MultiSelectDropdown/components/List/List.variants.js +1 -1
- package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/MultiSelectDropdown/components/index.js +1 -1
- package/dist/components/PhoneNumberInput/PhoneNumberInput.js +2 -2
- package/dist/components/PhoneNumberInput/PhoneNumberInput.variants.js +1 -1
- package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +2 -2
- package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -1
- package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +3 -3
- package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +3 -3
- package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
- package/dist/components/PhoneNumberInput/components/index.js +2 -2
- package/dist/components/PhoneNumberInput/contexts/index.js +1 -1
- package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
- package/dist/components/PhoneNumberInput/utils/index.js +1 -1
- package/dist/components/PieChart/PieChart.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.variants.js +1 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/Radio/Radio.variants.js +1 -1
- package/dist/components/RadioCard/RadioCard.js +1 -1
- package/dist/components/RadioCard/RadioCard.variants.js +1 -1
- package/dist/components/RadioCardGroup/RadioCardGroup.js +1 -1
- package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +2 -2
- package/dist/components/RadioGroup/RadioGroup.variants.js +1 -1
- package/dist/components/Range/Range.js +2 -2
- package/dist/components/Range/Range.variants.js +1 -1
- package/dist/components/Select/Select.js +3 -3
- package/dist/components/Select/Select.variants.js +1 -1
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +1 -1
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.variants.js +1 -1
- package/dist/components/Select/components/List/List.js +5 -5
- package/dist/components/Select/components/List/List.variants.js +1 -1
- package/dist/components/Select/components/ListItem/ListItem.js +1 -1
- package/dist/components/Select/components/ListItem/ListItem.variants.js +1 -1
- package/dist/components/Select/components/Wrapper.js +1 -1
- package/dist/components/Select/components/index.js +2 -2
- package/dist/components/Sidebar/Sidebar.js +15 -12
- package/dist/components/Sidebar/Sidebar.variants.js +12 -8
- package/dist/components/Sidebar/components/Footer/Footer.js +1 -1
- package/dist/components/Sidebar/components/Footer/Footer.variants.js +1 -1
- package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +4 -0
- package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.variants.js +22 -0
- package/dist/components/Sidebar/components/Label/Label.js +20 -0
- package/dist/components/Sidebar/components/Logo/Logo.js +1 -1
- package/dist/components/Sidebar/components/Logo/Logo.variants.js +5 -5
- package/dist/components/Sidebar/components/Navigation/Navigation.js +29 -16
- package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +1 -1
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +15 -11
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +1 -1
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +24 -14
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +4 -4
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +1 -1
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +7 -6
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +1 -1
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +1 -1
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +99 -33
- package/dist/components/Sidebar/components/index.js +18 -14
- package/dist/components/Sidebar/contexts/SidebarContext.js +11 -0
- package/dist/components/Sidebar/contexts/index.js +5 -0
- package/dist/components/Sidebar/hooks/index.js +6 -0
- package/dist/components/Sidebar/hooks/useSidebarMode.js +10 -0
- package/dist/components/Slider/Slider.js +2 -2
- package/dist/components/Slider/Slider.variants.js +1 -1
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Spinner/Spinner.variants.js +1 -1
- package/dist/components/Stepper/Stepper.js +1 -1
- package/dist/components/Stepper/Stepper.variants.js +1 -1
- package/dist/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.js +2 -2
- package/dist/components/Stepper/components/StepConnector/StepConnector.js +1 -1
- package/dist/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.js +1 -1
- package/dist/components/Stepper/components/VerticalStepItem/VerticalStepItem.js +2 -2
- package/dist/components/Stepper/hooks/useStepItemLogic.js +1 -1
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Switch/Switch.variants.js +1 -1
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/Table.variants.js +1 -1
- package/dist/components/Table/components/Body.js +1 -1
- package/dist/components/Table/components/Filter.js +1 -1
- package/dist/components/Table/components/Head.js +1 -1
- package/dist/components/Table/components/Row.js +1 -1
- package/dist/components/Tabs/Tabs.js +2 -2
- package/dist/components/Tabs/Tabs.variants.js +1 -1
- package/dist/components/Tabs/components/Content.js +2 -2
- package/dist/components/Tabs/components/List.js +2 -2
- package/dist/components/Tabs/components/Trigger.js +2 -2
- package/dist/components/Tag/Tag.js +2 -2
- package/dist/components/Tag/Tag.variants.js +1 -1
- package/dist/components/TagSelect/TagSelect.js +1 -1
- package/dist/components/TagSelect/TagSelect.variants.js +1 -1
- package/dist/components/TagSelect/components/Item/Item.js +1 -1
- package/dist/components/TagSelect/components/Item/Item.variants.js +1 -1
- package/dist/components/TagSelect/components/List/List.js +1 -1
- package/dist/components/TagSelect/components/List/List.variants.js +1 -1
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/TagSelect/components/index.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/TextArea/TextArea.variants.js +1 -1
- package/dist/components/TimePicker/TimePicker.variants.js +1 -1
- package/dist/components/TimePicker/components/HoursList/HoursList.js +1 -1
- package/dist/components/TimePicker/components/MeridianList/MeridianList.js +1 -1
- package/dist/components/TimePicker/components/MinutesList/MinutesList.js +1 -1
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +2 -2
- package/dist/components/TimePicker/components/WrapperList/WrapperList.js +1 -1
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Toast/Toast.variants.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/Typography/Typography.variants.js +1 -1
- package/dist/components/VirtualizedTable/VirtualizedTable.js +2 -2
- package/dist/components/VirtualizedTable/VirtualizedTable.variants.js +1 -1
- package/dist/components/VirtualizedTable/components/Actions/Actions.js +2 -2
- package/dist/components/VirtualizedTable/components/Body/Body.js +2 -2
- package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +3 -3
- package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +1 -1
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +4 -4
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +1 -1
- package/dist/components/VirtualizedTable/components/Header/Header.js +2 -2
- package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +1 -1
- package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +2 -2
- package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +3 -3
- package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +1 -1
- package/dist/components/VirtualizedTable/contexts/index.js +1 -1
- package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
- package/dist/components/index.js +80 -78
- package/dist/{components-DNFycJGm.js → components-C_LekSz_.js} +3 -3
- package/dist/{constants-D96yCePL.js → constants-CLe3ZLC_.js} +1 -1
- package/dist/contexts/index.js +1 -1
- package/dist/contexts/theme.provider.js +1 -1
- package/dist/{debounce-CzFlgg9h.js → debounce-B55BpO1u.js} +2 -2
- package/dist/{dist-DXXHfL7M.js → dist-AZfrfAUz.js} +3 -3
- package/dist/{dist-COY3FRYC.js → dist-B5WmTRxj.js} +7 -7
- package/dist/{dist-DtEbXv47.js → dist-Bcn6lMQe.js} +1 -1
- package/dist/{dist-CSP6X06u.js → dist-BeLV4B_x.js} +7 -7
- package/dist/{dist-BL8l9uRy.js → dist-BfrkYZKI.js} +6 -6
- package/dist/{dist-B5SlrgYz.js → dist-Br5jSLr2.js} +7 -7
- package/dist/{dist-DXJSck4j.js → dist-CMPkuWNy.js} +1 -1
- package/dist/{dist-DNSmoWJp.js → dist-CPK4FXV9.js} +4 -4
- package/dist/{dist-DZcOdXgW.js → dist-CQfmhKEs.js} +1 -1
- package/dist/{dist-DZNdbzbm.js → dist-CZChgJLY.js} +2 -2
- package/dist/{dist-DpqiA4Yn.js → dist-DF7Yi2EK.js} +2 -2
- package/dist/{dist-uVUx9i0a.js → dist-D_9sBzad.js} +1 -1
- package/dist/{dist-CBnErrr1.js → dist-EV-1XXQr.js} +1 -1
- package/dist/{dist-DeVdyMHW2.js → dist-X40eHC8j2.js} +1 -1
- package/dist/{ellipsis-vertical-My0S9QY5.js → ellipsis-vertical-Cm9A6Zu8.js} +1 -1
- package/dist/hooks/index.js +4 -2
- package/dist/hooks/useMediaQuery.js +17 -0
- package/dist/index.js +139 -135
- package/dist/{isObject--aYwGuhx.js → isObject-CGNJbB5a.js} +1 -1
- package/dist/lib/components/Sidebar/Sidebar.d.ts +2 -2
- package/dist/lib/components/Sidebar/Sidebar.types.d.ts +46 -5
- package/dist/lib/components/Sidebar/Sidebar.variants.d.ts +3 -1
- package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.d.ts +4 -0
- package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.types.d.ts +7 -0
- package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.variants.d.ts +1 -0
- package/dist/lib/components/Sidebar/components/Label/Label.d.ts +4 -0
- package/dist/lib/components/Sidebar/components/Label/Label.types.d.ts +9 -0
- package/dist/lib/components/Sidebar/components/Wrapper/Wrapper.d.ts +2 -2
- package/dist/lib/components/Sidebar/components/index.d.ts +4 -0
- package/dist/lib/components/Sidebar/contexts/SidebarContext.d.ts +10 -0
- package/dist/lib/components/Sidebar/contexts/index.d.ts +1 -0
- package/dist/lib/components/Sidebar/hooks/index.d.ts +1 -0
- package/dist/lib/components/Sidebar/hooks/useSidebarMode.d.ts +5 -0
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/useMediaQuery.d.ts +1 -0
- package/dist/{libphonenumber-7uXgv7U8.js → libphonenumber-Dy3Kac9j.js} +1 -1
- package/dist/package.json +19 -18
- package/dist/{phone-number.provider-B9BWYAqH.js → phone-number.provider-CdPQAKnl.js} +584 -560
- package/dist/{prop-types-DTnODft1.js → prop-types-CE0Kfmwk.js} +1 -1
- package/dist/{proxy-uLtw-ZML.js → proxy-Cx8v8fok.js} +85 -85
- package/dist/styles.css +1 -1
- package/dist/{table.provider-4OQNqxH3.js → table.provider-BBlJgEJf.js} +3 -3
- package/dist/{theme.provider-BgxXUOMP.js → theme.provider-ps3SkwAo.js} +1 -1
- package/dist/{useBreadcrumb-nYudTOOA.js → useBreadcrumb-mrkCWjS0.js} +292 -292
- package/dist/utils/index.js +1 -1
- package/dist/{utils-DHuiYnx1.js → utils-COaoD3PI.js} +1 -1
- package/dist/{utils-2zv-ysvP.js → utils-Cc9GhtYC.js} +4 -3
- package/dist/{x-a0ouxoIM.js → x-DBIZFfaM.js} +1 -1
- package/dist/{x-BwIi6Wii.js → x-KjMYhcCb.js} +2 -2
- package/package.json +19 -18
- /package/dist/{Combination-DUTBK_qM.js → Combination-DFcElBFt.js} +0 -0
- /package/dist/{clsx-kDhLfUq2.js → clsx-Dzz4NoNN.js} +0 -0
- /package/dist/{createLucideIcon-BVGkzDZC.js → createLucideIcon-CL4htJAF.js} +0 -0
- /package/dist/{dist-DRmqW28Z2.js → dist-BHslNQd82.js} +0 -0
- /package/dist/{dist-ByyYBtbL.js → dist-C4El7dZ5.js} +0 -0
- /package/dist/{dist-DstQl8xY.js → dist-Cf-pDuuw.js} +0 -0
- /package/dist/{dist-C8r5DW7s.js → dist-D6dB-_Oy.js} +0 -0
- /package/dist/{dist-BL-H4bEw2.js → dist-DxDE5irg2.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as k } from "./chunk-
|
|
1
|
+
import { t as k } from "./chunk-cI0lbGMq.js";
|
|
2
2
|
var te = /* @__PURE__ */ k(((r) => {
|
|
3
3
|
var i = typeof Symbol == "function" && Symbol.for, P = i ? /* @__PURE__ */ Symbol.for("react.element") : 60103, w = i ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, h = i ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, d = i ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, g = i ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, f = i ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, _ = i ? /* @__PURE__ */ Symbol.for("react.context") : 60110, v = i ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, T = i ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, E = i ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, O = i ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, R = i ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, S = i ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, A = i ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, W = i ? /* @__PURE__ */ Symbol.for("react.block") : 60121, C = i ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, M = i ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, Y = i ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
4
4
|
function j(n) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _r, n as Kr, r as $r } from "./chunk-
|
|
1
|
+
import { a as _r, n as Kr, r as $r } from "./chunk-cI0lbGMq.js";
|
|
2
2
|
import { Component as zr, Fragment as Yn, createContext as Mt, createElement as Hr, forwardRef as Gr, useCallback as qn, useContext as U, useEffect as ni, useId as Xr, useInsertionEffect as Zn, useLayoutEffect as Yr, useMemo as he, useRef as dt } from "react";
|
|
3
3
|
import { jsx as Jn, jsxs as qr } from "react/jsx-runtime";
|
|
4
4
|
var Qn = Mt({});
|
|
@@ -153,11 +153,11 @@ function ms(t, e) {
|
|
|
153
153
|
delta: 0,
|
|
154
154
|
timestamp: 0,
|
|
155
155
|
isProcessing: !1
|
|
156
|
-
}, o = () => i = !0, r = zt.reduce((y, w) => (y[w] = lo(o, e ? w : void 0), y), {}), { setup: a, read: l, resolveKeyframes: c, preUpdate: u, update: h, preRender: f, render: p, postRender: d } = r,
|
|
156
|
+
}, o = () => i = !0, r = zt.reduce((y, w) => (y[w] = lo(o, e ? w : void 0), y), {}), { setup: a, read: l, resolveKeyframes: c, preUpdate: u, update: h, preRender: f, render: p, postRender: d } = r, m = () => {
|
|
157
157
|
const y = rt.useManualTiming, w = y ? s.timestamp : performance.now();
|
|
158
|
-
i = !1, y || (s.delta = n ? 1e3 / 60 : Math.max(Math.min(w - s.timestamp, uo), 1)), s.timestamp = w, s.isProcessing = !0, a.process(s), l.process(s), c.process(s), u.process(s), h.process(s), f.process(s), p.process(s), d.process(s), s.isProcessing = !1, i && e && (n = !1, t(
|
|
158
|
+
i = !1, y || (s.delta = n ? 1e3 / 60 : Math.max(Math.min(w - s.timestamp, uo), 1)), s.timestamp = w, s.isProcessing = !0, a.process(s), l.process(s), c.process(s), u.process(s), h.process(s), f.process(s), p.process(s), d.process(s), s.isProcessing = !1, i && e && (n = !1, t(m));
|
|
159
159
|
}, g = () => {
|
|
160
|
-
i = !0, n = !0, s.isProcessing || t(
|
|
160
|
+
i = !0, n = !0, s.isProcessing || t(m);
|
|
161
161
|
};
|
|
162
162
|
return {
|
|
163
163
|
schedule: zt.reduce((y, w) => {
|
|
@@ -531,24 +531,24 @@ function re(t = M.visualDuration, e = M.bounce) {
|
|
|
531
531
|
}, { stiffness: l, damping: c, mass: u, duration: h, velocity: f, isResolvedFromDuration: p } = zo({
|
|
532
532
|
...i,
|
|
533
533
|
velocity: -K(i.velocity || 0)
|
|
534
|
-
}), d = f || 0,
|
|
534
|
+
}), d = f || 0, m = c / (2 * Math.sqrt(l * u)), g = r - o, v = K(Math.sqrt(l / u)), x = Math.abs(g) < 5;
|
|
535
535
|
n || (n = x ? M.restSpeed.granular : M.restSpeed.default), s || (s = x ? M.restDelta.granular : M.restDelta.default);
|
|
536
536
|
let y, w, b, E, L, P;
|
|
537
|
-
if (
|
|
538
|
-
b = Ie(
|
|
539
|
-
else if (
|
|
540
|
-
y = (F) => r - Math.exp(-
|
|
541
|
-
const S = d +
|
|
542
|
-
w = (F) => Math.exp(-
|
|
537
|
+
if (m < 1)
|
|
538
|
+
b = Ie(v, m), E = (d + m * v * g) / b, y = (S) => r - Math.exp(-m * v * S) * (E * Math.sin(b * S) + g * Math.cos(b * S)), L = m * v * E + g * b, P = m * v * g - E * b, w = (S) => Math.exp(-m * v * S) * (L * Math.sin(b * S) + P * Math.cos(b * S));
|
|
539
|
+
else if (m === 1) {
|
|
540
|
+
y = (F) => r - Math.exp(-v * F) * (g + (d + v * g) * F);
|
|
541
|
+
const S = d + v * g;
|
|
542
|
+
w = (F) => Math.exp(-v * F) * (v * S * F - d);
|
|
543
543
|
} else {
|
|
544
|
-
const S =
|
|
544
|
+
const S = v * Math.sqrt(m * m - 1);
|
|
545
545
|
y = (X) => {
|
|
546
|
-
const et = Math.exp(-
|
|
547
|
-
return r - et * ((d +
|
|
546
|
+
const et = Math.exp(-m * v * X), Y = Math.min(S * X, 300);
|
|
547
|
+
return r - et * ((d + m * v * g) * Math.sinh(Y) + S * g * Math.cosh(Y)) / S;
|
|
548
548
|
};
|
|
549
|
-
const F = (d +
|
|
549
|
+
const F = (d + m * v * g) / S, N = m * v * F - g * S, lt = m * v * g - F * S;
|
|
550
550
|
w = (X) => {
|
|
551
|
-
const et = Math.exp(-
|
|
551
|
+
const et = Math.exp(-m * v * X), Y = Math.min(S * X, 300);
|
|
552
552
|
return et * (N * Math.sinh(Y) + lt * Math.cosh(Y));
|
|
553
553
|
};
|
|
554
554
|
}
|
|
@@ -556,8 +556,8 @@ function re(t = M.visualDuration, e = M.bounce) {
|
|
|
556
556
|
calculatedDuration: p && h || null,
|
|
557
557
|
velocity: (S) => W(w(S)),
|
|
558
558
|
next: (S) => {
|
|
559
|
-
if (!p &&
|
|
560
|
-
const N = Math.exp(-
|
|
559
|
+
if (!p && m < 1) {
|
|
560
|
+
const N = Math.exp(-m * v * S), lt = Math.sin(b * S), X = Math.cos(b * S), et = r - N * (E * lt + g * X), Y = W(N * (L * lt + P * X));
|
|
561
561
|
return a.done = Math.abs(Y) <= n && Math.abs(r - et) <= s, a.value = a.done ? r : et, a;
|
|
562
562
|
}
|
|
563
563
|
const F = y(S);
|
|
@@ -592,12 +592,12 @@ function Fe({ keyframes: t, velocity: e = 0, power: i = 0.8, timeConstant: n = 3
|
|
|
592
592
|
done: !1,
|
|
593
593
|
value: h
|
|
594
594
|
}, p = (P) => a !== void 0 && P < a || l !== void 0 && P > l, d = (P) => a === void 0 ? l : l === void 0 || Math.abs(a - P) < Math.abs(l - P) ? a : l;
|
|
595
|
-
let
|
|
596
|
-
const g = h +
|
|
597
|
-
|
|
598
|
-
const x = (P) => -
|
|
595
|
+
let m = i * e;
|
|
596
|
+
const g = h + m, v = r === void 0 ? g : r(g);
|
|
597
|
+
v !== g && (m = v - h);
|
|
598
|
+
const x = (P) => -m * Math.exp(-P / n), y = (P) => v + x(P), w = (P) => {
|
|
599
599
|
const C = x(P), S = y(P);
|
|
600
|
-
f.done = Math.abs(C) <= c, f.value = f.done ?
|
|
600
|
+
f.done = Math.abs(C) <= c, f.value = f.done ? v : S;
|
|
601
601
|
};
|
|
602
602
|
let b, E;
|
|
603
603
|
const L = (P) => {
|
|
@@ -738,9 +738,9 @@ var mi = class {
|
|
|
738
738
|
tick(t, e = !1) {
|
|
739
739
|
const { generator: i, totalDuration: n, mixKeyframes: s, mirroredGenerator: o, resolvedDuration: r, calculatedDuration: a } = this;
|
|
740
740
|
if (this.startTime === null) return i.next(0);
|
|
741
|
-
const { delay: l = 0, keyframes: c, repeat: u, repeatType: h, repeatDelay: f, type: p, onUpdate: d, finalKeyframe:
|
|
741
|
+
const { delay: l = 0, keyframes: c, repeat: u, repeatType: h, repeatDelay: f, type: p, onUpdate: d, finalKeyframe: m } = this.options;
|
|
742
742
|
this.speed > 0 ? this.startTime = Math.min(this.startTime, t) : this.speed < 0 && (this.startTime = Math.min(t - n / this.speed, this.startTime)), e ? this.currentTime = t : this.updateTime(t);
|
|
743
|
-
const g = this.currentTime - l * (this.playbackSpeed >= 0 ? 1 : -1),
|
|
743
|
+
const g = this.currentTime - l * (this.playbackSpeed >= 0 ? 1 : -1), v = this.playbackSpeed >= 0 ? g < 0 : g > n;
|
|
744
744
|
this.currentTime = Math.max(g, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = n);
|
|
745
745
|
let x = this.currentTime, y = i;
|
|
746
746
|
if (u) {
|
|
@@ -749,11 +749,11 @@ var mi = class {
|
|
|
749
749
|
!C && L >= 1 && (C = 1), C === 1 && P--, P = Math.min(P, u + 1), P % 2 && (h === "reverse" ? (C = 1 - C, f && (C -= f / r)) : h === "mirror" && (y = o)), x = tt(0, 1, C) * r;
|
|
750
750
|
}
|
|
751
751
|
let w;
|
|
752
|
-
|
|
752
|
+
v ? (this.delayState.value = c[0], w = this.delayState) : w = y.next(x), s && !v && (w.value = s(w.value));
|
|
753
753
|
let { done: b } = w;
|
|
754
|
-
!
|
|
754
|
+
!v && a !== null && (b = this.playbackSpeed >= 0 ? this.currentTime >= n : this.currentTime <= 0);
|
|
755
755
|
const E = this.holdTime === null && (this.state === "finished" || this.state === "running" && b);
|
|
756
|
-
return E && p !== Fe && (w.value = fe(c, this.options,
|
|
756
|
+
return E && p !== Fe && (w.value = fe(c, this.options, m, this.speed)), d && d(w.value), E && this.finish(), w;
|
|
757
757
|
}
|
|
758
758
|
then(t, e) {
|
|
759
759
|
return this.finished.then(t, e);
|
|
@@ -1222,8 +1222,8 @@ var Va = 40, Ma = class extends mi {
|
|
|
1222
1222
|
motionValue: l,
|
|
1223
1223
|
element: c,
|
|
1224
1224
|
...u
|
|
1225
|
-
};
|
|
1226
|
-
this.keyframeResolver = new (
|
|
1225
|
+
}, f = c?.KeyframeResolver || vi;
|
|
1226
|
+
this.keyframeResolver = new f(r, (p, d, m) => this.onKeyframesResolved(p, d, h, !m), a, l, c), this.keyframeResolver?.scheduleResolve();
|
|
1227
1227
|
}
|
|
1228
1228
|
onKeyframesResolved(t, e, i, n) {
|
|
1229
1229
|
this.keyframeResolver = void 0;
|
|
@@ -1572,25 +1572,25 @@ function $s(t, e, { delay: i = 0, transitionOverride: n, type: s } = {}) {
|
|
|
1572
1572
|
for (const f in a) {
|
|
1573
1573
|
const p = t.getValue(f, t.latestValues[f] ?? null), d = a[f];
|
|
1574
1574
|
if (d === void 0 || h && za(h, f)) continue;
|
|
1575
|
-
const
|
|
1575
|
+
const m = {
|
|
1576
1576
|
delay: i,
|
|
1577
1577
|
...gi(o || {}, f)
|
|
1578
1578
|
}, g = p.get();
|
|
1579
|
-
if (g !== void 0 && !p.isAnimating() && !Array.isArray(d) && d === g && !
|
|
1579
|
+
if (g !== void 0 && !p.isAnimating() && !Array.isArray(d) && d === g && !m.velocity) {
|
|
1580
1580
|
A.update(() => p.set(d));
|
|
1581
1581
|
continue;
|
|
1582
1582
|
}
|
|
1583
|
-
let
|
|
1583
|
+
let v = !1;
|
|
1584
1584
|
if (window.MotionHandoffAnimation) {
|
|
1585
1585
|
const w = Ks(t);
|
|
1586
1586
|
if (w) {
|
|
1587
1587
|
const b = window.MotionHandoffAnimation(w, f, A);
|
|
1588
|
-
b !== null && (
|
|
1588
|
+
b !== null && (m.startTime = b, v = !0);
|
|
1589
1589
|
}
|
|
1590
1590
|
}
|
|
1591
1591
|
He(t, f);
|
|
1592
1592
|
const x = c ?? t.shouldReduceMotion;
|
|
1593
|
-
p.start(yi(f, p, d, x && Ws.has(f) ? { type: !1 } :
|
|
1593
|
+
p.start(yi(f, p, d, x && Ws.has(f) ? { type: !1 } : m, t, v));
|
|
1594
1594
|
const y = p.animation;
|
|
1595
1595
|
y && u.push(y);
|
|
1596
1596
|
}
|
|
@@ -1917,13 +1917,13 @@ function ll(t, e, i = {}) {
|
|
|
1917
1917
|
}
|
|
1918
1918
|
h(g);
|
|
1919
1919
|
}
|
|
1920
|
-
},
|
|
1920
|
+
}, m = (g) => {
|
|
1921
1921
|
if (!al(g)) return;
|
|
1922
1922
|
l = !1;
|
|
1923
|
-
const
|
|
1924
|
-
typeof
|
|
1923
|
+
const v = e(r, g);
|
|
1924
|
+
typeof v == "function" && (c = v, r.addEventListener("pointerleave", d, s));
|
|
1925
1925
|
};
|
|
1926
|
-
r.addEventListener("pointerenter",
|
|
1926
|
+
r.addEventListener("pointerenter", m, s), r.addEventListener("pointerdown", p, s);
|
|
1927
1927
|
}), o;
|
|
1928
1928
|
}
|
|
1929
1929
|
var Qs = (t, e) => e ? t === e ? !0 : Qs(t, e.parentElement) : !1, Si = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, ul = /* @__PURE__ */ new Set([
|
|
@@ -2661,10 +2661,10 @@ function Jl(t) {
|
|
|
2661
2661
|
const o = (c) => (u, h) => {
|
|
2662
2662
|
const f = yt(t, h, c === "exit" ? t.presenceContext?.custom : void 0);
|
|
2663
2663
|
if (f) {
|
|
2664
|
-
const { transition: p, transitionEnd: d, ...
|
|
2664
|
+
const { transition: p, transitionEnd: d, ...m } = f;
|
|
2665
2665
|
u = {
|
|
2666
2666
|
...u,
|
|
2667
|
-
...
|
|
2667
|
+
...m,
|
|
2668
2668
|
...d
|
|
2669
2669
|
};
|
|
2670
2670
|
}
|
|
@@ -2675,10 +2675,10 @@ function Jl(t) {
|
|
|
2675
2675
|
}
|
|
2676
2676
|
function a(c) {
|
|
2677
2677
|
const { props: u } = t, h = mr(t.parent) || {}, f = [], p = /* @__PURE__ */ new Set();
|
|
2678
|
-
let d = {},
|
|
2679
|
-
for (let
|
|
2680
|
-
const x = Yl[
|
|
2681
|
-
E === !1 && (
|
|
2678
|
+
let d = {}, m = 1 / 0;
|
|
2679
|
+
for (let v = 0; v < ql; v++) {
|
|
2680
|
+
const x = Yl[v], y = i[x], w = u[x] !== void 0 ? u[x] : h[x], b = Nt(w), E = x === c ? y.isActive : null;
|
|
2681
|
+
E === !1 && (m = v);
|
|
2682
2682
|
let L = w === h[x] && w !== u[x] && b;
|
|
2683
2683
|
if (L && (n || s) && t.manuallyAnimateOnMount && (L = !1), y.protectedKeys = { ...d }, !y.isActive && E === null || !w && !y.prevProp || de(w) || typeof w == "boolean") continue;
|
|
2684
2684
|
if (x === "exit" && y.isActive && E !== !0) {
|
|
@@ -2689,7 +2689,7 @@ function Jl(t) {
|
|
|
2689
2689
|
continue;
|
|
2690
2690
|
}
|
|
2691
2691
|
const P = Ql(y.prevProp, w);
|
|
2692
|
-
let C = P || x === c && y.isActive && !L && b ||
|
|
2692
|
+
let C = P || x === c && y.isActive && !L && b || v > m && b, S = !1;
|
|
2693
2693
|
const F = Array.isArray(w) ? w : [w];
|
|
2694
2694
|
let N = F.reduce(o(x), {});
|
|
2695
2695
|
E === !1 && (N = {});
|
|
@@ -2728,15 +2728,15 @@ function Jl(t) {
|
|
|
2728
2728
|
}));
|
|
2729
2729
|
}
|
|
2730
2730
|
if (p.size) {
|
|
2731
|
-
const
|
|
2731
|
+
const v = {};
|
|
2732
2732
|
if (typeof u.initial != "boolean") {
|
|
2733
2733
|
const x = yt(t, Array.isArray(u.initial) ? u.initial[0] : u.initial);
|
|
2734
|
-
x && x.transition && (
|
|
2734
|
+
x && x.transition && (v.transition = x.transition);
|
|
2735
2735
|
}
|
|
2736
2736
|
p.forEach((x) => {
|
|
2737
2737
|
const y = t.getBaseTarget(x), w = t.getValue(x);
|
|
2738
|
-
w && (w.liveStyle = !0),
|
|
2739
|
-
}), f.push({ animation:
|
|
2738
|
+
w && (w.liveStyle = !0), v[x] = y ?? null;
|
|
2739
|
+
}), f.push({ animation: v });
|
|
2740
2740
|
}
|
|
2741
2741
|
let g = !!f.length;
|
|
2742
2742
|
return n && (u.initial === !1 || u.initial === u.animate) && !t.manuallyAnimateOnMount && (g = !1), n = !1, s = !1, g ? e(f) : Promise.resolve();
|
|
@@ -3047,12 +3047,12 @@ function br({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
3047
3047
|
this.target = void 0, this.relativeTarget = void 0;
|
|
3048
3048
|
return;
|
|
3049
3049
|
}
|
|
3050
|
-
const d = this.options.transition || c.getDefaultTransition() || Fu, { onLayoutAnimationStart:
|
|
3051
|
-
if (this.options.layoutRoot || this.resumeFrom || x || h && (
|
|
3050
|
+
const d = this.options.transition || c.getDefaultTransition() || Fu, { onLayoutAnimationStart: m, onLayoutAnimationComplete: g } = c.getProps(), v = !this.targetLayout || !xr(this.targetLayout, p), x = !h && f;
|
|
3051
|
+
if (this.options.layoutRoot || this.resumeFrom || x || h && (v || !this.currentAnimation)) {
|
|
3052
3052
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
|
|
3053
3053
|
const y = {
|
|
3054
3054
|
...gi(d, "layout"),
|
|
3055
|
-
onPlay:
|
|
3055
|
+
onPlay: m,
|
|
3056
3056
|
onComplete: g
|
|
3057
3057
|
};
|
|
3058
3058
|
(c.shouldReduceMotion || this.options.layoutRoot) && (y.delay = 0, y.type = !1), this.startAnimation(y), this.setAnimationOrigin(u, x);
|
|
@@ -3283,12 +3283,12 @@ function br({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
3283
3283
|
setAnimationOrigin(r, a = !1) {
|
|
3284
3284
|
const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, h = bt();
|
|
3285
3285
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
|
|
3286
|
-
const f = R(), p = (l ? l.source : void 0) !== (this.layout ? this.layout.source : void 0), d = this.getStack(),
|
|
3286
|
+
const f = R(), p = (l ? l.source : void 0) !== (this.layout ? this.layout.source : void 0), d = this.getStack(), m = !d || d.members.length <= 1, g = !!(p && !m && this.options.crossfade === !0 && !this.path.some(Iu));
|
|
3287
3287
|
this.animationProgress = 0;
|
|
3288
|
-
let
|
|
3288
|
+
let v;
|
|
3289
3289
|
this.mixTargetDelta = (x) => {
|
|
3290
3290
|
const y = x / 1e3;
|
|
3291
|
-
Rn(h.x, r.x, y), Rn(h.y, r.y, y), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ue(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Bu(this.relativeTarget, this.relativeTargetOrigin, f, y),
|
|
3291
|
+
Rn(h.x, r.x, y), Rn(h.y, r.y, y), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ue(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Bu(this.relativeTarget, this.relativeTargetOrigin, f, y), v && uu(this.relativeTarget, v) && (this.isProjectionDirty = !1), v || (v = R()), z(v, this.relativeTarget)), p && (this.animationValues = u, fu(u, c, this.latestValues, y, g, m)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = y;
|
|
3292
3292
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
3293
3293
|
}
|
|
3294
3294
|
startAnimation(r) {
|
|
@@ -3403,11 +3403,11 @@ function br({ attachResizeListener: t, defaultParent: e, measureScroll: i, check
|
|
|
3403
3403
|
r.transformOrigin = `${f.origin * 100}% ${p.origin * 100}% 0`, c.animationValues ? r.opacity = c === this ? u.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : u.opacityExit : r.opacity = c === this ? u.opacity !== void 0 ? u.opacity : "" : u.opacityExit !== void 0 ? u.opacityExit : 0;
|
|
3404
3404
|
for (const d in Qe) {
|
|
3405
3405
|
if (u[d] === void 0) continue;
|
|
3406
|
-
const { correct:
|
|
3406
|
+
const { correct: m, applyTo: g, isCSSVariable: v } = Qe[d], x = h === "none" ? u[d] : m(u[d], c);
|
|
3407
3407
|
if (g) {
|
|
3408
3408
|
const y = g.length;
|
|
3409
3409
|
for (let w = 0; w < y; w++) r[g[w]] = x;
|
|
3410
|
-
} else
|
|
3410
|
+
} else v ? this.options.visualElement.renderState.vars[d] = x : r[d] = x;
|
|
3411
3411
|
}
|
|
3412
3412
|
this.options.layoutId && (r.pointerEvents = c === this ? ee(a?.pointerEvents) || "" : "none");
|
|
3413
3413
|
}
|
|
@@ -3450,8 +3450,8 @@ function Su(t) {
|
|
|
3450
3450
|
if (h && f) {
|
|
3451
3451
|
const p = t.options.layoutAnchor || void 0, d = R();
|
|
3452
3452
|
ue(d, e.layoutBox, h.layoutBox, p);
|
|
3453
|
-
const
|
|
3454
|
-
ue(
|
|
3453
|
+
const m = R();
|
|
3454
|
+
ue(m, i, f.layoutBox, p), xr(d, m) || (c = !0), u.options.layoutRoot && (t.relativeTarget = m, t.relativeTargetOrigin = d, t.relativeParent = u);
|
|
3455
3455
|
}
|
|
3456
3456
|
}
|
|
3457
3457
|
}
|
|
@@ -3817,16 +3817,16 @@ function nc(t, e, i, n) {
|
|
|
3817
3817
|
for (let p = 0; p < f.length; p++) {
|
|
3818
3818
|
const d = Ti(t, f[p]);
|
|
3819
3819
|
if (d) {
|
|
3820
|
-
const { transitionEnd:
|
|
3821
|
-
for (const x in
|
|
3822
|
-
let y =
|
|
3820
|
+
const { transitionEnd: m, transition: g, ...v } = d;
|
|
3821
|
+
for (const x in v) {
|
|
3822
|
+
let y = v[x];
|
|
3823
3823
|
if (Array.isArray(y)) {
|
|
3824
3824
|
const w = u ? y.length - 1 : 0;
|
|
3825
3825
|
y = y[w];
|
|
3826
3826
|
}
|
|
3827
3827
|
y !== null && (s[x] = y);
|
|
3828
3828
|
}
|
|
3829
|
-
for (const x in
|
|
3829
|
+
for (const x in m) s[x] = m[x];
|
|
3830
3830
|
}
|
|
3831
3831
|
}
|
|
3832
3832
|
}
|
|
@@ -3875,18 +3875,18 @@ function lc(t, e, i, n, s, o) {
|
|
|
3875
3875
|
skipAnimations: h,
|
|
3876
3876
|
isSVG: o
|
|
3877
3877
|
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
|
|
3878
|
-
const d = f.current,
|
|
3879
|
-
d && !d.projection && s && (d.type === "html" || d.type === "svg") && uc(f.current, i, s,
|
|
3878
|
+
const d = f.current, m = U(Ir);
|
|
3879
|
+
d && !d.projection && s && (d.type === "html" || d.type === "svg") && uc(f.current, i, s, m);
|
|
3880
3880
|
const g = dt(!1);
|
|
3881
3881
|
Zn(() => {
|
|
3882
3882
|
d && g.current && d.update(i, l);
|
|
3883
3883
|
});
|
|
3884
|
-
const
|
|
3884
|
+
const v = i[_s], x = dt(!!v && typeof window < "u" && !window.MotionHandoffIsComplete?.(v) && window.MotionHasOptimisedAnimation?.(v));
|
|
3885
3885
|
return Qr(() => {
|
|
3886
3886
|
p.current = !0, d && (g.current = !0, window.MotionIsMounted = !0, d.updateFeatures(), d.scheduleRenderMicrotask(), x.current && d.animationState && d.animationState.animateChanges());
|
|
3887
3887
|
}), ni(() => {
|
|
3888
3888
|
d && (!x.current && d.animationState && d.animationState.animateChanges(), x.current && (queueMicrotask(() => {
|
|
3889
|
-
window.MotionHandoffMarkAsComplete?.(
|
|
3889
|
+
window.MotionHandoffMarkAsComplete?.(v);
|
|
3890
3890
|
}), x.current = !1), d.enteringChildren = void 0);
|
|
3891
3891
|
}), d;
|
|
3892
3892
|
}
|
|
@@ -3918,18 +3918,18 @@ function Me(t, { forwardMotionProps: e = !1, type: i } = {}, n, s) {
|
|
|
3918
3918
|
...U(Mr),
|
|
3919
3919
|
...c,
|
|
3920
3920
|
layoutId: cc(c)
|
|
3921
|
-
}, { isStatic: p } = f, d = Yu(c),
|
|
3921
|
+
}, { isStatic: p } = f, d = Yu(c), m = r(c, p);
|
|
3922
3922
|
if (!p && typeof window < "u") {
|
|
3923
3923
|
hc(f, n);
|
|
3924
3924
|
const g = fc(f);
|
|
3925
|
-
h = g.MeasureLayout, d.visualElement = lc(t,
|
|
3925
|
+
h = g.MeasureLayout, d.visualElement = lc(t, m, f, s, g.ProjectionNode, o);
|
|
3926
3926
|
}
|
|
3927
3927
|
return qr(me.Provider, {
|
|
3928
3928
|
value: d,
|
|
3929
3929
|
children: [h && d.visualElement ? Jn(h, {
|
|
3930
3930
|
visualElement: d.visualElement,
|
|
3931
3931
|
...f
|
|
3932
|
-
}) : null, ec(t, c, ac(
|
|
3932
|
+
}) : null, ec(t, c, ac(m, d.visualElement, u), m, p, e, o)]
|
|
3933
3933
|
});
|
|
3934
3934
|
}
|
|
3935
3935
|
a.displayName = `motion.${typeof t == "string" ? t : `create(${t.displayName ?? t.name ?? ""})`}`;
|
|
@@ -4049,19 +4049,19 @@ var Un = /* @__PURE__ */ new Set(["auto", "scroll"]), jr = class {
|
|
|
4049
4049
|
y: 0
|
|
4050
4050
|
}) >= this.distanceThreshold;
|
|
4051
4051
|
if (!f && !p) return;
|
|
4052
|
-
const { point: d } = h, { timestamp:
|
|
4052
|
+
const { point: d } = h, { timestamp: m } = B;
|
|
4053
4053
|
this.history.push({
|
|
4054
4054
|
...d,
|
|
4055
|
-
timestamp:
|
|
4055
|
+
timestamp: m
|
|
4056
4056
|
});
|
|
4057
|
-
const { onStart: g, onMove:
|
|
4058
|
-
f || (g && g(this.lastMoveEvent, h), this.startEvent = this.lastMoveEvent),
|
|
4057
|
+
const { onStart: g, onMove: v } = this.handlers;
|
|
4058
|
+
f || (g && g(this.lastMoveEvent, h), this.startEvent = this.lastMoveEvent), v && v(this.lastMoveEvent, h);
|
|
4059
4059
|
}, this.handlePointerMove = (h, f) => {
|
|
4060
4060
|
this.lastMoveEvent = h, this.lastRawMoveEventInfo = f, this.lastMoveEventInfo = Gt(f, this.transformPagePoint), A.update(this.updatePoint, !0);
|
|
4061
4061
|
}, this.handlePointerUp = (h, f) => {
|
|
4062
4062
|
this.end();
|
|
4063
|
-
const { onEnd: p, onSessionEnd: d, resumeAnimation:
|
|
4064
|
-
if ((this.dragSnapToOrigin || !this.startEvent) &&
|
|
4063
|
+
const { onEnd: p, onSessionEnd: d, resumeAnimation: m } = this.handlers;
|
|
4064
|
+
if ((this.dragSnapToOrigin || !this.startEvent) && m && m(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
|
|
4065
4065
|
const g = Ce(h.type === "pointercancel" ? this.lastMoveEventInfo : Gt(f, this.transformPagePoint), this.history);
|
|
4066
4066
|
this.startEvent && p && p(h, g), d && d(h, g);
|
|
4067
4067
|
}, !Si(t)) return;
|
|
@@ -4230,28 +4230,28 @@ var Dc = /* @__PURE__ */ new WeakMap(), Ec = class {
|
|
|
4230
4230
|
if (f && !p && (this.openDragLock && this.openDragLock(), this.openDragLock = ol(f), !this.openDragLock))
|
|
4231
4231
|
return;
|
|
4232
4232
|
this.latestPointerEvent = u, this.latestPanInfo = h, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), q((g) => {
|
|
4233
|
-
let
|
|
4234
|
-
if (Q.test(
|
|
4233
|
+
let v = this.getAxisMotionValue(g).get() || 0;
|
|
4234
|
+
if (Q.test(v)) {
|
|
4235
4235
|
const { projection: x } = this.visualElement;
|
|
4236
4236
|
if (x && x.layout) {
|
|
4237
4237
|
const y = x.layout.layoutBox[g];
|
|
4238
|
-
y && (
|
|
4238
|
+
y && (v = j(y) * (parseFloat(v) / 100));
|
|
4239
4239
|
}
|
|
4240
4240
|
}
|
|
4241
|
-
this.originPoint[g] =
|
|
4241
|
+
this.originPoint[g] = v;
|
|
4242
4242
|
}), d && A.update(() => d(u, h), !1, !0), He(this.visualElement, "transform");
|
|
4243
|
-
const { animationState:
|
|
4244
|
-
|
|
4243
|
+
const { animationState: m } = this.visualElement;
|
|
4244
|
+
m && m.setActive("whileDrag", !0);
|
|
4245
4245
|
}, r = (u, h) => {
|
|
4246
4246
|
this.latestPointerEvent = u, this.latestPanInfo = h;
|
|
4247
|
-
const { dragPropagation: f, dragDirectionLock: p, onDirectionLock: d, onDrag:
|
|
4247
|
+
const { dragPropagation: f, dragDirectionLock: p, onDirectionLock: d, onDrag: m } = this.getProps();
|
|
4248
4248
|
if (!f && !this.openDragLock) return;
|
|
4249
4249
|
const { offset: g } = h;
|
|
4250
4250
|
if (p && this.currentDirection === null) {
|
|
4251
4251
|
this.currentDirection = Lc(g), this.currentDirection !== null && d && d(this.currentDirection);
|
|
4252
4252
|
return;
|
|
4253
4253
|
}
|
|
4254
|
-
this.updateAxis("x", h.point, g), this.updateAxis("y", h.point, g), this.visualElement.render(),
|
|
4254
|
+
this.updateAxis("x", h.point, g), this.updateAxis("y", h.point, g), this.visualElement.render(), m && A.update(() => m(u, h), !1, !0);
|
|
4255
4255
|
}, a = (u, h) => {
|
|
4256
4256
|
this.latestPointerEvent = u, this.latestPanInfo = h, this.stop(u, h), this.latestPointerEvent = null, this.latestPanInfo = null;
|
|
4257
4257
|
}, l = () => {
|