@serendie/ui 3.2.0 → 3.2.1
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/client.js +6 -6
- package/dist/components/Accordion/Accordion.js +18 -21
- package/dist/components/Accordion/AccordionGroup.js +4 -4
- package/dist/components/Avatar/Avatar.js +19 -21
- package/dist/components/Badge/Badge.js +1 -1
- package/dist/components/Banner/Banner.js +4 -4
- package/dist/components/BottomNavigation/BottomNavigationItem.js +4 -4
- package/dist/components/Button/Button.js +6 -6
- package/dist/components/CheckBox/CheckBox.js +28 -32
- package/dist/components/ChoiceBox/ChoiceBox.js +46 -52
- package/dist/components/DashboardWidget/DashboardWidget.js +4 -4
- package/dist/components/DataTable/DataTableComponent.js +16 -17
- package/dist/components/DataTable/table/HeaderCell.js +4 -4
- package/dist/components/DataTable/table/Root.js +4 -4
- package/dist/components/DatePicker/DatePicker.js +107 -127
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/Divider/Divider.js +4 -4
- package/dist/components/Drawer/Drawer.js +22 -26
- package/dist/components/DropdownMenu/DropdownMenu.js +36 -41
- package/dist/components/IconButton/IconButton.js +4 -4
- package/dist/components/List/ListItem.js +1 -1
- package/dist/components/ModalDialog/ModalDialog.js +27 -33
- package/dist/components/NotificationBadge/NotificationBadge.js +1 -1
- package/dist/components/Pagination/Pagination.js +54 -59
- package/dist/components/RadioButton/RadioButton.js +32 -36
- package/dist/components/RadioButton/RadioGroup.js +4 -4
- package/dist/components/Search/Search.js +67 -74
- package/dist/components/Select/Select.js +53 -60
- package/dist/components/Switch/Switch.js +18 -22
- package/dist/components/Tabs/TabItem.js +6 -6
- package/dist/components/Tabs/Tabs.js +9 -10
- package/dist/components/TextArea/TextArea.js +4 -4
- package/dist/components/TextField/TextField.js +1 -1
- package/dist/components/Toast/Toast.js +16 -17
- package/dist/components/Tooltip/Tooltip.js +30 -35
- package/dist/components/TopAppBar/TopAppBar.js +4 -4
- package/dist/index.js +6 -6
- package/dist/node_modules/@ark-ui/react/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item-content.js +15 -12
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item-indicator.js +11 -8
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item-trigger.js +16 -16
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item.js +25 -22
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-root-provider.js +24 -0
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-root.js +21 -12
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion.js +22 -0
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/use-accordion-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/use-accordion-item-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/use-accordion-item-props-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/accordion/use-accordion.js +15 -13
- package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar-fallback.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar-image.js +11 -8
- package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar-root-provider.js +20 -0
- package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar-root.js +21 -11
- package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/avatar/use-avatar-context.js +3 -3
- package/dist/node_modules/@ark-ui/react/dist/components/avatar/use-avatar.js +14 -12
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-context.js +3 -3
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-control.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-group-provider.js +22 -0
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-group.js +32 -0
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-hidden-input.js +13 -9
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-indicator.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-label.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-root-provider.js +20 -0
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-root.js +19 -13
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox.anatomy.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox.js +24 -0
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/use-checkbox-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/use-checkbox-group-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/use-checkbox-group.js +43 -0
- package/dist/node_modules/@ark-ui/react/dist/components/checkbox/use-checkbox.js +16 -14
- package/dist/node_modules/@ark-ui/react/dist/components/collapsible/collapsible-content.js +14 -12
- package/dist/node_modules/@ark-ui/react/dist/components/collapsible/collapsible-root.js +15 -9
- package/dist/node_modules/@ark-ui/react/dist/components/collapsible/split-collapsible-props.js +5 -3
- package/dist/node_modules/@ark-ui/react/dist/components/collapsible/use-collapsible-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/collapsible/use-collapsible.js +17 -12
- package/dist/node_modules/@ark-ui/react/dist/components/collection/list-collection.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-clear-trigger.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-content.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-control.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-empty.js +15 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-input.js +14 -10
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item-group-label.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item-group.js +20 -11
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item-indicator.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item-text.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item.js +19 -10
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-label.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-list.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-positioner.js +11 -8
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-root-provider.js +25 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-root.js +24 -14
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-trigger.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox.anatomy.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox.js +42 -0
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox-item-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox-item-group-props-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox-item-props-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox.js +13 -11
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-clear-trigger.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-content.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-control.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-input.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-label.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-month-select.js +14 -7
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-next-trigger.js +14 -11
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-positioner.js +11 -8
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-preset-trigger.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-prev-trigger.js +14 -11
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-range-text.js +21 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-root-provider.js +26 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-root.js +32 -16
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-body.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell-trigger.js +16 -13
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell.js +18 -13
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-head.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-header.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-row.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table.js +22 -12
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-trigger.js +11 -8
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-value-text.js +25 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view-control.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view-trigger.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view.js +16 -16
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-week-number-cell.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-week-number-header-cell.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-year-select.js +16 -9
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker.anatomy.js +3 -3
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker.js +64 -0
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-table-cell-props-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-table-props-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-view-props-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker.js +16 -14
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-backdrop.js +19 -13
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-close-trigger.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-content.js +15 -12
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-description.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-positioner.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-root-provider.js +24 -0
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-root.js +17 -7
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-title.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-trigger.js +21 -0
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog.js +26 -0
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/use-dialog-context.js +3 -3
- package/dist/node_modules/@ark-ui/react/dist/components/dialog/use-dialog.js +15 -13
- package/dist/node_modules/@ark-ui/react/dist/components/factory.js +21 -22
- package/dist/node_modules/@ark-ui/react/dist/components/field/use-field-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/fieldset/use-fieldset-context.js +11 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-arrow-tip.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-arrow.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-checkbox-item.js +35 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-content.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-context-trigger.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-indicator.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item-group-label.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item-group.js +21 -12
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item-indicator.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item-text.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item.js +25 -13
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-positioner.js +14 -11
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-radio-item-group.js +28 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-radio-item.js +39 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-root-provider.js +31 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-root.js +32 -19
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-separator.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-trigger-item.js +21 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-trigger.js +18 -17
- package/dist/node_modules/@ark-ui/react/dist/components/menu/menu.js +48 -0
- package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-item-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-item-group-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-machine-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-option-item-props-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-trigger-item-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu.js +19 -14
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-ellipsis.js +11 -8
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-first-trigger.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-item.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-last-trigger.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-next-trigger.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-prev-trigger.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-root-provider.js +20 -0
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-root.js +20 -12
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination.js +24 -0
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/use-pagination-context.js +4 -4
- package/dist/node_modules/@ark-ui/react/dist/components/pagination/use-pagination.js +15 -13
- package/dist/node_modules/@ark-ui/react/dist/components/portal/portal.js +16 -20
- package/dist/node_modules/@ark-ui/react/dist/components/presence/split-presence-props.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/presence/use-presence-context.js +3 -3
- package/dist/node_modules/@ark-ui/react/dist/components/presence/use-presence.js +13 -12
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-indicator.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item-control.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item-hidden-input.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item-text.js +14 -11
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item.js +26 -13
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-label.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-root-provider.js +20 -0
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-root.js +18 -10
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group.js +26 -0
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/use-radio-group-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/use-radio-group-item-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/use-radio-group-item-props-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/radio-group/use-radio-group.js +20 -13
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-clear-trigger.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-content.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-control.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-hidden-select.js +23 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-indicator.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-item-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-item-group-label.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-item-group.js +24 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-item-indicator.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-item-text.js +17 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-item.js +22 -13
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-label.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-list.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-positioner.js +11 -8
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-root-provider.js +25 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-root.js +25 -14
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-trigger.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/select/select-value-text.js +11 -7
- package/dist/node_modules/@ark-ui/react/dist/components/select/select.js +44 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/use-select-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/select/use-select-item-context.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/select/use-select-item-group-props.js +10 -0
- package/dist/node_modules/@ark-ui/react/dist/components/select/use-select-item-props-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/select/use-select.js +12 -10
- package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-control.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-hidden-input.js +13 -9
- package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-label.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-root-provider.js +20 -0
- package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-root.js +18 -12
- package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-thumb.js +10 -7
- package/dist/node_modules/@ark-ui/react/dist/components/switch/switch.js +20 -0
- package/dist/node_modules/@ark-ui/react/dist/components/switch/use-switch-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/switch/use-switch.js +13 -11
- package/dist/node_modules/@ark-ui/react/dist/components/tabs/tab-content.js +28 -0
- package/dist/node_modules/@ark-ui/react/dist/components/tabs/tab-indicator.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/tabs/tab-list.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/tabs/tab-trigger.js +14 -11
- package/dist/node_modules/@ark-ui/react/dist/components/tabs/tabs-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/tabs/tabs-root-provider.js +24 -0
- package/dist/node_modules/@ark-ui/react/dist/components/tabs/tabs-root.js +20 -11
- package/dist/node_modules/@ark-ui/react/dist/components/tabs/tabs.js +20 -0
- package/dist/node_modules/@ark-ui/react/dist/components/tabs/use-tabs-context.js +3 -3
- package/dist/node_modules/@ark-ui/react/dist/components/tabs/use-tabs.js +15 -13
- package/dist/node_modules/@ark-ui/react/dist/components/toast/create-toaster.js +2 -2
- package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-action-trigger.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-close-trigger.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-description.js +16 -0
- package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-root.js +14 -10
- package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-title.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/toast/toast.js +18 -0
- package/dist/node_modules/@ark-ui/react/dist/components/toast/toaster.js +37 -22
- package/dist/node_modules/@ark-ui/react/dist/components/toast/use-toast-context.js +4 -4
- package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-arrow-tip.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-arrow.js +12 -9
- package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-content.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-context.js +5 -0
- package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-positioner.js +13 -10
- package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-root-provider.js +20 -0
- package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-root.js +16 -9
- package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-trigger.js +12 -8
- package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip.js +22 -0
- package/dist/node_modules/@ark-ui/react/dist/components/tooltip/use-tooltip-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/components/tooltip/use-tooltip.js +15 -13
- package/dist/node_modules/@ark-ui/react/dist/providers/environment/use-environment-context.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/providers/locale/use-locale-context.js +5 -2
- package/dist/node_modules/@ark-ui/react/dist/utils/compose-refs.js +7 -10
- package/dist/node_modules/@ark-ui/react/dist/utils/create-context.js +17 -20
- package/dist/node_modules/@ark-ui/react/dist/utils/create-split-props.js +4 -7
- package/dist/node_modules/@ark-ui/react/dist/utils/render-strategy.js +6 -6
- package/dist/node_modules/@ark-ui/react/dist/utils/use-controllable-state.js +8 -0
- package/dist/node_modules/@ark-ui/react/dist/utils/use-effect-once.js +1 -1
- package/dist/node_modules/@ark-ui/react/dist/utils/use-event.js +7 -10
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +294 -289
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +195 -194
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +97 -97
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +60 -62
- package/dist/node_modules/@internationalized/date/dist/GregorianCalendar.js +18 -12
- package/dist/node_modules/@internationalized/date/dist/conversion.js +35 -35
- package/dist/node_modules/@internationalized/date/dist/queries.js +126 -75
- package/dist/node_modules/@internationalized/date/dist/string.js +29 -28
- package/dist/node_modules/@zag-js/accordion/dist/accordion.anatomy.js +6 -0
- package/dist/node_modules/@zag-js/accordion/dist/accordion.connect.js +129 -0
- package/dist/node_modules/@zag-js/accordion/dist/accordion.dom.js +30 -0
- package/dist/node_modules/@zag-js/accordion/dist/accordion.machine.js +137 -0
- package/dist/node_modules/@zag-js/aria-hidden/dist/aria-hidden.js +14 -0
- package/dist/node_modules/@zag-js/aria-hidden/dist/index.js +12 -49
- package/dist/node_modules/@zag-js/aria-hidden/dist/walk-tree-outside.js +41 -0
- package/dist/node_modules/@zag-js/avatar/dist/avatar.anatomy.js +6 -0
- package/dist/node_modules/@zag-js/avatar/dist/avatar.connect.js +52 -0
- package/dist/node_modules/@zag-js/avatar/dist/avatar.dom.js +17 -0
- package/dist/node_modules/@zag-js/avatar/dist/avatar.machine.js +93 -0
- package/dist/node_modules/@zag-js/checkbox/dist/checkbox.anatomy.js +6 -0
- package/dist/node_modules/@zag-js/checkbox/dist/checkbox.connect.js +108 -0
- package/dist/node_modules/@zag-js/checkbox/dist/checkbox.dom.js +21 -0
- package/dist/node_modules/@zag-js/checkbox/dist/checkbox.machine.js +141 -0
- package/dist/node_modules/@zag-js/collapsible/dist/collapsible.anatomy.js +6 -0
- package/dist/node_modules/@zag-js/collapsible/dist/collapsible.connect.js +80 -0
- package/dist/node_modules/@zag-js/collapsible/dist/collapsible.dom.js +16 -0
- package/dist/node_modules/@zag-js/collapsible/dist/{index.js → collapsible.machine.js} +58 -115
- package/dist/node_modules/@zag-js/collection/dist/chunk-QZ7TP4HQ.js +4 -0
- package/dist/node_modules/@zag-js/collection/dist/{index.js → list-collection.js} +58 -56
- package/dist/node_modules/@zag-js/collection/dist/selection-map.js +58 -0
- package/dist/node_modules/@zag-js/combobox/dist/combobox.anatomy.js +21 -0
- package/dist/node_modules/@zag-js/combobox/dist/combobox.collection.js +6 -0
- package/dist/node_modules/@zag-js/combobox/dist/combobox.connect.js +341 -0
- package/dist/node_modules/@zag-js/combobox/dist/combobox.dom.js +68 -0
- package/dist/node_modules/@zag-js/combobox/dist/combobox.machine.js +936 -0
- package/dist/node_modules/@zag-js/core/dist/create-machine.js +32 -0
- package/dist/node_modules/@zag-js/core/dist/memo.js +11 -0
- package/dist/node_modules/@zag-js/core/dist/merge-props.js +48 -0
- package/dist/node_modules/@zag-js/core/dist/scope.js +19 -0
- package/dist/node_modules/@zag-js/core/dist/state.js +143 -0
- package/dist/node_modules/@zag-js/core/dist/types.js +5 -0
- package/dist/node_modules/@zag-js/date-picker/dist/date-picker.anatomy.js +31 -0
- package/dist/node_modules/@zag-js/date-picker/dist/date-picker.connect.js +742 -0
- package/dist/node_modules/@zag-js/date-picker/dist/date-picker.dom.js +73 -0
- package/dist/node_modules/@zag-js/date-picker/dist/date-picker.machine.js +1042 -0
- package/dist/node_modules/@zag-js/date-picker/dist/date-picker.parse.js +8 -0
- package/dist/node_modules/@zag-js/date-picker/dist/date-picker.utils.js +155 -0
- package/dist/node_modules/@zag-js/date-utils/dist/align.js +15 -0
- package/dist/node_modules/@zag-js/date-utils/dist/assertion.js +26 -0
- package/dist/node_modules/@zag-js/date-utils/dist/constrain.js +40 -0
- package/dist/node_modules/@zag-js/date-utils/dist/date-month.js +74 -0
- package/dist/node_modules/@zag-js/date-utils/dist/date-year.js +37 -0
- package/dist/node_modules/@zag-js/date-utils/dist/duration.js +13 -0
- package/dist/node_modules/@zag-js/date-utils/dist/format.js +25 -0
- package/dist/node_modules/@zag-js/date-utils/dist/formatter.js +30 -0
- package/dist/node_modules/@zag-js/date-utils/dist/get-era-format.js +8 -0
- package/dist/node_modules/@zag-js/date-utils/dist/mutation.js +9 -0
- package/dist/node_modules/@zag-js/date-utils/dist/pagination.js +95 -0
- package/dist/node_modules/@zag-js/date-utils/dist/parse-date.js +34 -0
- package/dist/node_modules/@zag-js/date-utils/dist/preset.js +41 -0
- package/dist/node_modules/@zag-js/dialog/dist/dialog.anatomy.js +14 -0
- package/dist/node_modules/@zag-js/dialog/dist/dialog.connect.js +104 -0
- package/dist/node_modules/@zag-js/dialog/dist/dialog.dom.js +42 -0
- package/dist/node_modules/@zag-js/dialog/dist/dialog.machine.js +220 -0
- package/dist/node_modules/@zag-js/dismissable/dist/dismissable-layer.js +80 -0
- package/dist/node_modules/@zag-js/dismissable/dist/escape-keydown.js +11 -0
- package/dist/node_modules/@zag-js/dismissable/dist/layer-stack.js +103 -0
- package/dist/node_modules/@zag-js/dismissable/dist/pointer-event-outside.js +37 -0
- package/dist/node_modules/@zag-js/dom-query/dist/caret.js +12 -0
- package/dist/node_modules/@zag-js/dom-query/dist/chunk-QZ7TP4HQ.js +4 -0
- package/dist/node_modules/@zag-js/dom-query/dist/computed-style.js +8 -0
- package/dist/node_modules/@zag-js/dom-query/dist/controller.js +76 -0
- package/dist/node_modules/@zag-js/dom-query/dist/event.js +80 -0
- package/dist/node_modules/@zag-js/dom-query/dist/form.js +70 -0
- package/dist/node_modules/@zag-js/dom-query/dist/initial-focus.js +22 -0
- package/dist/node_modules/@zag-js/dom-query/dist/mutation-observer.js +41 -0
- package/dist/node_modules/@zag-js/dom-query/dist/navigate.js +13 -0
- package/dist/node_modules/@zag-js/dom-query/dist/node.js +87 -0
- package/dist/node_modules/@zag-js/dom-query/dist/overflow.js +27 -0
- package/dist/node_modules/@zag-js/dom-query/dist/platform.js +24 -0
- package/dist/node_modules/@zag-js/dom-query/dist/press.js +61 -0
- package/dist/node_modules/@zag-js/dom-query/dist/query.js +31 -0
- package/dist/node_modules/@zag-js/dom-query/dist/raf.js +51 -0
- package/dist/node_modules/@zag-js/dom-query/dist/resize-observer.js +34 -0
- package/dist/node_modules/@zag-js/dom-query/dist/searchable.js +17 -0
- package/dist/node_modules/@zag-js/dom-query/dist/set.js +29 -0
- package/dist/node_modules/@zag-js/dom-query/dist/shared.js +11 -0
- package/dist/node_modules/@zag-js/dom-query/dist/tabbable.js +110 -0
- package/dist/node_modules/@zag-js/dom-query/dist/text-selection.js +36 -0
- package/dist/node_modules/@zag-js/dom-query/dist/typeahead.js +25 -0
- package/dist/node_modules/@zag-js/dom-query/dist/visually-hidden.js +15 -0
- package/dist/node_modules/@zag-js/dom-query/dist/wait-for.js +42 -0
- package/dist/node_modules/@zag-js/focus-trap/dist/chunk-QZ7TP4HQ.js +4 -0
- package/dist/node_modules/@zag-js/focus-trap/dist/focus-trap.js +335 -0
- package/dist/node_modules/@zag-js/focus-trap/dist/index.js +24 -299
- package/dist/node_modules/@zag-js/focus-visible/dist/index.js +63 -39
- package/dist/node_modules/@zag-js/interact-outside/dist/frame-utils.js +60 -0
- package/dist/node_modules/@zag-js/interact-outside/dist/index.js +97 -131
- package/dist/node_modules/@zag-js/menu/dist/menu.anatomy.js +21 -0
- package/dist/node_modules/@zag-js/menu/dist/menu.connect.js +385 -0
- package/dist/node_modules/@zag-js/menu/dist/menu.dom.js +93 -0
- package/dist/node_modules/@zag-js/menu/dist/menu.machine.js +855 -0
- package/dist/node_modules/@zag-js/menu/dist/menu.utils.js +51 -0
- package/dist/node_modules/@zag-js/pagination/dist/pagination.anatomy.js +14 -0
- package/dist/node_modules/@zag-js/pagination/dist/pagination.connect.js +145 -0
- package/dist/node_modules/@zag-js/pagination/dist/pagination.dom.js +31 -0
- package/dist/node_modules/@zag-js/pagination/dist/pagination.machine.js +132 -0
- package/dist/node_modules/@zag-js/pagination/dist/pagination.utils.js +39 -0
- package/dist/node_modules/@zag-js/popper/dist/get-anchor.js +34 -0
- package/dist/node_modules/@zag-js/popper/dist/get-placement.js +190 -0
- package/dist/node_modules/@zag-js/popper/dist/get-styles.js +47 -0
- package/dist/node_modules/@zag-js/popper/dist/middleware.js +57 -0
- package/dist/node_modules/@zag-js/popper/dist/placement.js +11 -0
- package/dist/node_modules/@zag-js/presence/dist/presence.connect.js +16 -0
- package/dist/node_modules/@zag-js/presence/dist/{index.js → presence.machine.js} +39 -47
- package/dist/node_modules/@zag-js/radio-group/dist/radio-group.anatomy.js +13 -0
- package/dist/node_modules/@zag-js/radio-group/dist/radio-group.connect.js +197 -0
- package/dist/node_modules/@zag-js/radio-group/dist/radio-group.dom.js +57 -0
- package/dist/node_modules/@zag-js/radio-group/dist/radio-group.machine.js +179 -0
- package/dist/node_modules/@zag-js/react/dist/bindable.js +52 -0
- package/dist/node_modules/@zag-js/react/dist/machine.js +208 -0
- package/dist/node_modules/@zag-js/react/dist/normalize-props.js +5 -0
- package/dist/node_modules/@zag-js/react/dist/refs.js +15 -0
- package/dist/node_modules/@zag-js/react/dist/track.js +13 -0
- package/dist/node_modules/@zag-js/react/dist/use-layout-effect.js +5 -0
- package/dist/node_modules/@zag-js/rect-utils/dist/polygon.js +23 -0
- package/dist/node_modules/@zag-js/rect-utils/dist/rect.js +26 -0
- package/dist/node_modules/@zag-js/remove-scroll/dist/index.js +32 -23
- package/dist/node_modules/@zag-js/select/dist/select.anatomy.js +22 -0
- package/dist/node_modules/@zag-js/select/dist/select.collection.js +6 -0
- package/dist/node_modules/@zag-js/select/dist/select.connect.js +372 -0
- package/dist/node_modules/@zag-js/select/dist/select.dom.js +53 -0
- package/dist/node_modules/@zag-js/select/dist/select.machine.js +690 -0
- package/dist/node_modules/@zag-js/switch/dist/switch.anatomy.js +6 -0
- package/dist/node_modules/@zag-js/switch/dist/switch.connect.js +110 -0
- package/dist/node_modules/@zag-js/switch/dist/switch.dom.js +25 -0
- package/dist/node_modules/@zag-js/switch/dist/switch.machine.js +143 -0
- package/dist/node_modules/@zag-js/tabs/dist/tabs.anatomy.js +6 -0
- package/dist/node_modules/@zag-js/tabs/dist/tabs.connect.js +176 -0
- package/dist/node_modules/@zag-js/tabs/dist/tabs.dom.js +47 -0
- package/dist/node_modules/@zag-js/tabs/dist/tabs.machine.js +268 -0
- package/dist/node_modules/@zag-js/toast/dist/index.js +6 -798
- package/dist/node_modules/@zag-js/toast/dist/toast-group.connect.js +54 -0
- package/dist/node_modules/@zag-js/toast/dist/toast-group.machine.js +236 -0
- package/dist/node_modules/@zag-js/toast/dist/toast.anatomy.js +13 -0
- package/dist/node_modules/@zag-js/toast/dist/toast.connect.js +102 -0
- package/dist/node_modules/@zag-js/toast/dist/toast.dom.js +10 -0
- package/dist/node_modules/@zag-js/toast/dist/toast.machine.js +234 -0
- package/dist/node_modules/@zag-js/toast/dist/toast.store.js +134 -0
- package/dist/node_modules/@zag-js/toast/dist/toast.utils.js +122 -0
- package/dist/node_modules/@zag-js/tooltip/dist/tooltip.anatomy.js +6 -0
- package/dist/node_modules/@zag-js/tooltip/dist/tooltip.connect.js +120 -0
- package/dist/node_modules/@zag-js/tooltip/dist/tooltip.dom.js +25 -0
- package/dist/node_modules/@zag-js/tooltip/dist/{index.js → tooltip.machine.js} +109 -188
- package/dist/node_modules/@zag-js/tooltip/dist/tooltip.store.js +9 -0
- package/dist/node_modules/@zag-js/types/dist/prop-types.js +10 -0
- package/dist/node_modules/@zag-js/utils/dist/array.js +39 -0
- package/dist/node_modules/@zag-js/utils/dist/chunk-MXGZDBDQ.js +8 -0
- package/dist/node_modules/@zag-js/utils/dist/equal.js +27 -0
- package/dist/node_modules/@zag-js/utils/dist/functions.js +28 -0
- package/dist/node_modules/@zag-js/utils/dist/guard.js +19 -0
- package/dist/node_modules/@zag-js/utils/dist/number.js +11 -0
- package/dist/node_modules/@zag-js/utils/dist/object.js +13 -0
- package/dist/node_modules/@zag-js/utils/dist/store.js +25 -0
- package/dist/node_modules/@zag-js/utils/dist/timers.js +39 -0
- package/dist/node_modules/@zag-js/utils/dist/warning.js +25 -0
- package/dist/styled-system/css/css.js +1 -1
- package/dist/styled-system/helpers.js +85 -83
- package/dist/styled-system/jsx/is-valid-prop.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +18 -21
- package/styled-system/css/css.js +1 -1
- package/styled-system/helpers.js +3 -0
- package/styled-system/jsx/is-valid-prop.js +1 -1
- package/styled-system/patterns/aspect-ratio.d.ts +0 -1
- package/styled-system/patterns/bleed.d.ts +0 -1
- package/styled-system/patterns/box.d.ts +0 -1
- package/styled-system/patterns/center.d.ts +0 -1
- package/styled-system/patterns/circle.d.ts +0 -1
- package/styled-system/patterns/container.d.ts +0 -1
- package/styled-system/patterns/cq.d.ts +0 -1
- package/styled-system/patterns/divider.d.ts +0 -1
- package/styled-system/patterns/flex.d.ts +0 -1
- package/styled-system/patterns/float.d.ts +0 -1
- package/styled-system/patterns/grid-item.d.ts +0 -1
- package/styled-system/patterns/grid.d.ts +0 -1
- package/styled-system/patterns/hstack.d.ts +0 -1
- package/styled-system/patterns/link-overlay.d.ts +0 -1
- package/styled-system/patterns/spacer.d.ts +0 -1
- package/styled-system/patterns/square.d.ts +0 -1
- package/styled-system/patterns/stack.d.ts +0 -1
- package/styled-system/patterns/visually-hidden.d.ts +0 -1
- package/styled-system/patterns/vstack.d.ts +0 -1
- package/styled-system/patterns/wrap.d.ts +0 -1
- package/styled-system/themes/theme-asagi.json +1 -1
- package/styled-system/themes/theme-konjo-dark.json +1 -1
- package/styled-system/themes/theme-kurikawa.json +1 -1
- package/styled-system/themes/theme-sumire.json +1 -1
- package/styled-system/themes/theme-tsutsuji.json +1 -1
- package/styled-system/tokens/tokens.d.ts +1 -1
- package/styled-system/types/conditions.d.ts +11 -11
- package/styled-system/types/prop-type.d.ts +2 -0
- package/styled-system/types/style-props.d.ts +3 -4
- package/dist/node_modules/@zag-js/accordion/dist/index.js +0 -290
- package/dist/node_modules/@zag-js/avatar/dist/index.js +0 -154
- package/dist/node_modules/@zag-js/checkbox/dist/index.js +0 -270
- package/dist/node_modules/@zag-js/combobox/dist/index.js +0 -1415
- package/dist/node_modules/@zag-js/core/dist/index.js +0 -92
- package/dist/node_modules/@zag-js/date-picker/dist/index.js +0 -1826
- package/dist/node_modules/@zag-js/date-utils/dist/index.js +0 -366
- package/dist/node_modules/@zag-js/dialog/dist/index.js +0 -324
- package/dist/node_modules/@zag-js/dismissable/dist/index.js +0 -188
- package/dist/node_modules/@zag-js/dom-query/dist/index.js +0 -633
- package/dist/node_modules/@zag-js/menu/dist/index.js +0 -1235
- package/dist/node_modules/@zag-js/pagination/dist/index.js +0 -273
- package/dist/node_modules/@zag-js/popper/dist/index.js +0 -260
- package/dist/node_modules/@zag-js/radio-group/dist/index.js +0 -407
- package/dist/node_modules/@zag-js/react/dist/index.js +0 -269
- package/dist/node_modules/@zag-js/rect-utils/dist/index.js +0 -46
- package/dist/node_modules/@zag-js/select/dist/index.js +0 -1088
- package/dist/node_modules/@zag-js/switch/dist/index.js +0 -275
- package/dist/node_modules/@zag-js/tabs/dist/index.js +0 -475
- package/dist/node_modules/@zag-js/types/dist/index.js +0 -12
- package/dist/node_modules/@zag-js/utils/dist/index.js +0 -173
- /package/dist/node_modules/@zag-js/anatomy/dist/{index.js → create-anatomy.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createCoords as y,
|
|
3
|
-
import {
|
|
1
|
+
import { computePosition as st, offset as rt, flip as ct, shift as lt, arrow as ft, size as ut, hide as ht, limitShift as at } from "../../core/dist/floating-ui.core.js";
|
|
2
|
+
import { createCoords as y, round as z, max as E, min as N, rectToClientRect as J, floor as D } from "../../utils/dist/floating-ui.utils.js";
|
|
3
|
+
import { isElement as v, getDocumentElement as b, getOverflowAncestors as $, getComputedStyle as R, isHTMLElement as T, getWindow as O, isTopLayer as V, getParentNode as S, isLastTraversableNode as A, isTableElement as dt, isContainingBlock as Q, getContainingBlock as gt, getNodeName as _, isOverflowElement as q, getNodeScroll as H, getFrameElement as U, isWebKit as Y } from "../../utils/dist/floating-ui.utils.dom.js";
|
|
4
4
|
function Z(t) {
|
|
5
|
-
const e =
|
|
6
|
-
let
|
|
7
|
-
const n =
|
|
8
|
-
return c && (
|
|
9
|
-
width:
|
|
10
|
-
height:
|
|
5
|
+
const e = R(t);
|
|
6
|
+
let i = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
7
|
+
const n = T(t), r = n ? t.offsetWidth : i, s = n ? t.offsetHeight : o, c = z(i) !== r || z(o) !== s;
|
|
8
|
+
return c && (i = r, o = s), {
|
|
9
|
+
width: i,
|
|
10
|
+
height: o,
|
|
11
11
|
$: c
|
|
12
12
|
};
|
|
13
13
|
}
|
|
@@ -16,14 +16,14 @@ function X(t) {
|
|
|
16
16
|
}
|
|
17
17
|
function F(t) {
|
|
18
18
|
const e = X(t);
|
|
19
|
-
if (!
|
|
19
|
+
if (!T(e))
|
|
20
20
|
return y(1);
|
|
21
|
-
const
|
|
22
|
-
width:
|
|
21
|
+
const i = e.getBoundingClientRect(), {
|
|
22
|
+
width: o,
|
|
23
23
|
height: n,
|
|
24
24
|
$: r
|
|
25
25
|
} = Z(e);
|
|
26
|
-
let s = (r ?
|
|
26
|
+
let s = (r ? z(i.width) : i.width) / o, c = (r ? z(i.height) : i.height) / n;
|
|
27
27
|
return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
28
28
|
x: s,
|
|
29
29
|
y: c
|
|
@@ -31,83 +31,83 @@ function F(t) {
|
|
|
31
31
|
}
|
|
32
32
|
const pt = /* @__PURE__ */ y(0);
|
|
33
33
|
function tt(t) {
|
|
34
|
-
const e =
|
|
35
|
-
return !
|
|
34
|
+
const e = O(t);
|
|
35
|
+
return !Y() || !e.visualViewport ? pt : {
|
|
36
36
|
x: e.visualViewport.offsetLeft,
|
|
37
37
|
y: e.visualViewport.offsetTop
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
function mt(t, e,
|
|
41
|
-
return e === void 0 && (e = !1), !
|
|
40
|
+
function mt(t, e, i) {
|
|
41
|
+
return e === void 0 && (e = !1), !i || e && i !== O(t) ? !1 : e;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
e === void 0 && (e = !1),
|
|
43
|
+
function L(t, e, i, o) {
|
|
44
|
+
e === void 0 && (e = !1), i === void 0 && (i = !1);
|
|
45
45
|
const n = t.getBoundingClientRect(), r = X(t);
|
|
46
46
|
let s = y(1);
|
|
47
|
-
e && (
|
|
48
|
-
const c = mt(r,
|
|
49
|
-
let
|
|
47
|
+
e && (o ? v(o) && (s = F(o)) : s = F(t));
|
|
48
|
+
const c = mt(r, i, o) ? tt(r) : y(0);
|
|
49
|
+
let l = (n.left + c.x) / s.x, f = (n.top + c.y) / s.y, u = n.width / s.x, a = n.height / s.y;
|
|
50
50
|
if (r) {
|
|
51
|
-
const d =
|
|
51
|
+
const d = O(r), h = o && v(o) ? O(o) : o;
|
|
52
52
|
let m = d, p = U(m);
|
|
53
|
-
for (; p &&
|
|
54
|
-
const w = F(p), g = p.getBoundingClientRect(), x =
|
|
55
|
-
|
|
53
|
+
for (; p && o && h !== m; ) {
|
|
54
|
+
const w = F(p), g = p.getBoundingClientRect(), x = R(p), C = g.left + (p.clientLeft + parseFloat(x.paddingLeft)) * w.x, W = g.top + (p.clientTop + parseFloat(x.paddingTop)) * w.y;
|
|
55
|
+
l *= w.x, f *= w.y, u *= w.x, a *= w.y, l += C, f += W, m = O(p), p = U(m);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
return J({
|
|
59
59
|
width: u,
|
|
60
|
-
height:
|
|
61
|
-
x:
|
|
62
|
-
y:
|
|
60
|
+
height: a,
|
|
61
|
+
x: l,
|
|
62
|
+
y: f
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
function I(t, e) {
|
|
66
|
-
const
|
|
67
|
-
return e ? e.left +
|
|
66
|
+
const i = H(t).scrollLeft;
|
|
67
|
+
return e ? e.left + i : L(b(t)).left + i;
|
|
68
68
|
}
|
|
69
69
|
function et(t, e) {
|
|
70
|
-
const
|
|
70
|
+
const i = t.getBoundingClientRect(), o = i.left + e.scrollLeft - I(t, i), n = i.top + e.scrollTop;
|
|
71
71
|
return {
|
|
72
|
-
x:
|
|
72
|
+
x: o,
|
|
73
73
|
y: n
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
function wt(t) {
|
|
77
77
|
let {
|
|
78
78
|
elements: e,
|
|
79
|
-
rect:
|
|
80
|
-
offsetParent:
|
|
79
|
+
rect: i,
|
|
80
|
+
offsetParent: o,
|
|
81
81
|
strategy: n
|
|
82
82
|
} = t;
|
|
83
|
-
const r = n === "fixed", s =
|
|
84
|
-
if (
|
|
85
|
-
return
|
|
86
|
-
let
|
|
83
|
+
const r = n === "fixed", s = b(o), c = e ? V(e.floating) : !1;
|
|
84
|
+
if (o === s || c && r)
|
|
85
|
+
return i;
|
|
86
|
+
let l = {
|
|
87
87
|
scrollLeft: 0,
|
|
88
88
|
scrollTop: 0
|
|
89
|
-
},
|
|
90
|
-
const u = y(0),
|
|
91
|
-
if ((
|
|
92
|
-
const
|
|
93
|
-
|
|
89
|
+
}, f = y(1);
|
|
90
|
+
const u = y(0), a = T(o);
|
|
91
|
+
if ((a || !a && !r) && ((_(o) !== "body" || q(s)) && (l = H(o)), a)) {
|
|
92
|
+
const h = L(o);
|
|
93
|
+
f = F(o), u.x = h.x + o.clientLeft, u.y = h.y + o.clientTop;
|
|
94
94
|
}
|
|
95
|
-
const d = s && !
|
|
95
|
+
const d = s && !a && !r ? et(s, l) : y(0);
|
|
96
96
|
return {
|
|
97
|
-
width:
|
|
98
|
-
height:
|
|
99
|
-
x:
|
|
100
|
-
y:
|
|
97
|
+
width: i.width * f.x,
|
|
98
|
+
height: i.height * f.y,
|
|
99
|
+
x: i.x * f.x - l.scrollLeft * f.x + u.x + d.x,
|
|
100
|
+
y: i.y * f.y - l.scrollTop * f.y + u.y + d.y
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
function yt(t) {
|
|
104
104
|
return Array.from(t.getClientRects());
|
|
105
105
|
}
|
|
106
106
|
function xt(t) {
|
|
107
|
-
const e =
|
|
108
|
-
let s = -
|
|
109
|
-
const c = -
|
|
110
|
-
return
|
|
107
|
+
const e = b(t), i = H(t), o = t.ownerDocument.body, n = E(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), r = E(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
108
|
+
let s = -i.scrollLeft + I(t);
|
|
109
|
+
const c = -i.scrollTop;
|
|
110
|
+
return R(o).direction === "rtl" && (s += E(e.clientWidth, o.clientWidth) - n), {
|
|
111
111
|
width: n,
|
|
112
112
|
height: r,
|
|
113
113
|
x: s,
|
|
@@ -116,287 +116,288 @@ function xt(t) {
|
|
|
116
116
|
}
|
|
117
117
|
const K = 25;
|
|
118
118
|
function vt(t, e) {
|
|
119
|
-
const
|
|
120
|
-
let r =
|
|
119
|
+
const i = O(t), o = b(t), n = i.visualViewport;
|
|
120
|
+
let r = o.clientWidth, s = o.clientHeight, c = 0, l = 0;
|
|
121
121
|
if (n) {
|
|
122
122
|
r = n.width, s = n.height;
|
|
123
|
-
const u =
|
|
124
|
-
(!u || u && e === "fixed") && (c = n.offsetLeft,
|
|
123
|
+
const u = Y();
|
|
124
|
+
(!u || u && e === "fixed") && (c = n.offsetLeft, l = n.offsetTop);
|
|
125
125
|
}
|
|
126
|
-
const
|
|
127
|
-
if (
|
|
128
|
-
const u =
|
|
126
|
+
const f = I(o);
|
|
127
|
+
if (f <= 0) {
|
|
128
|
+
const u = o.ownerDocument, a = u.body, d = getComputedStyle(a), h = u.compatMode === "CSS1Compat" && parseFloat(d.marginLeft) + parseFloat(d.marginRight) || 0, m = Math.abs(o.clientWidth - a.clientWidth - h);
|
|
129
129
|
m <= K && (r -= m);
|
|
130
|
-
} else
|
|
130
|
+
} else f <= K && (r += f);
|
|
131
131
|
return {
|
|
132
132
|
width: r,
|
|
133
133
|
height: s,
|
|
134
134
|
x: c,
|
|
135
|
-
y:
|
|
135
|
+
y: l
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
|
-
const bt = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
139
138
|
function Rt(t, e) {
|
|
140
|
-
const
|
|
139
|
+
const i = L(t, !0, e === "fixed"), o = i.top + t.clientTop, n = i.left + t.clientLeft, r = T(t) ? F(t) : y(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = n * r.x, f = o * r.y;
|
|
141
140
|
return {
|
|
142
141
|
width: s,
|
|
143
142
|
height: c,
|
|
144
|
-
x:
|
|
145
|
-
y:
|
|
143
|
+
x: l,
|
|
144
|
+
y: f
|
|
146
145
|
};
|
|
147
146
|
}
|
|
148
|
-
function j(t, e,
|
|
149
|
-
let
|
|
147
|
+
function j(t, e, i) {
|
|
148
|
+
let o;
|
|
150
149
|
if (e === "viewport")
|
|
151
|
-
|
|
150
|
+
o = vt(t, i);
|
|
152
151
|
else if (e === "document")
|
|
153
|
-
|
|
152
|
+
o = xt(b(t));
|
|
154
153
|
else if (v(e))
|
|
155
|
-
|
|
154
|
+
o = Rt(e, i);
|
|
156
155
|
else {
|
|
157
156
|
const n = tt(t);
|
|
158
|
-
|
|
157
|
+
o = {
|
|
159
158
|
x: e.x - n.x,
|
|
160
159
|
y: e.y - n.y,
|
|
161
160
|
width: e.width,
|
|
162
161
|
height: e.height
|
|
163
162
|
};
|
|
164
163
|
}
|
|
165
|
-
return J(
|
|
164
|
+
return J(o);
|
|
166
165
|
}
|
|
167
166
|
function it(t, e) {
|
|
168
|
-
const
|
|
169
|
-
return
|
|
167
|
+
const i = S(t);
|
|
168
|
+
return i === e || !v(i) || A(i) ? !1 : R(i).position === "fixed" || it(i, e);
|
|
170
169
|
}
|
|
171
|
-
function
|
|
172
|
-
const
|
|
173
|
-
if (
|
|
174
|
-
return
|
|
175
|
-
let
|
|
176
|
-
const r =
|
|
170
|
+
function bt(t, e) {
|
|
171
|
+
const i = e.get(t);
|
|
172
|
+
if (i)
|
|
173
|
+
return i;
|
|
174
|
+
let o = $(t, [], !1).filter((c) => v(c) && _(c) !== "body"), n = null;
|
|
175
|
+
const r = R(t).position === "fixed";
|
|
177
176
|
let s = r ? S(t) : t;
|
|
178
|
-
for (; v(s) && !
|
|
179
|
-
const c =
|
|
180
|
-
!
|
|
177
|
+
for (; v(s) && !A(s); ) {
|
|
178
|
+
const c = R(s), l = Q(s);
|
|
179
|
+
!l && c.position === "fixed" && (n = null), (r ? !l && !n : !l && c.position === "static" && !!n && (n.position === "absolute" || n.position === "fixed") || q(s) && !l && it(t, s)) ? o = o.filter((u) => u !== s) : n = c, s = S(s);
|
|
181
180
|
}
|
|
182
|
-
return e.set(t,
|
|
181
|
+
return e.set(t, o), o;
|
|
183
182
|
}
|
|
184
|
-
function
|
|
183
|
+
function Ct(t) {
|
|
185
184
|
let {
|
|
186
185
|
element: e,
|
|
187
|
-
boundary:
|
|
188
|
-
rootBoundary:
|
|
186
|
+
boundary: i,
|
|
187
|
+
rootBoundary: o,
|
|
189
188
|
strategy: n
|
|
190
189
|
} = t;
|
|
191
|
-
const s = [...
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
190
|
+
const s = [...i === "clippingAncestors" ? V(e) ? [] : bt(e, this._c) : [].concat(i), o], c = j(e, s[0], n);
|
|
191
|
+
let l = c.top, f = c.right, u = c.bottom, a = c.left;
|
|
192
|
+
for (let d = 1; d < s.length; d++) {
|
|
193
|
+
const h = j(e, s[d], n);
|
|
194
|
+
l = E(h.top, l), f = N(h.right, f), u = N(h.bottom, u), a = E(h.left, a);
|
|
195
|
+
}
|
|
195
196
|
return {
|
|
196
|
-
width: f
|
|
197
|
-
height:
|
|
198
|
-
x:
|
|
199
|
-
y:
|
|
197
|
+
width: f - a,
|
|
198
|
+
height: u - l,
|
|
199
|
+
x: a,
|
|
200
|
+
y: l
|
|
200
201
|
};
|
|
201
202
|
}
|
|
202
|
-
function
|
|
203
|
+
function Ot(t) {
|
|
203
204
|
const {
|
|
204
205
|
width: e,
|
|
205
|
-
height:
|
|
206
|
+
height: i
|
|
206
207
|
} = Z(t);
|
|
207
208
|
return {
|
|
208
209
|
width: e,
|
|
209
|
-
height:
|
|
210
|
+
height: i
|
|
210
211
|
};
|
|
211
212
|
}
|
|
212
|
-
function
|
|
213
|
-
const
|
|
213
|
+
function Lt(t, e, i) {
|
|
214
|
+
const o = T(e), n = b(e), r = i === "fixed", s = L(t, !0, r, e);
|
|
214
215
|
let c = {
|
|
215
216
|
scrollLeft: 0,
|
|
216
217
|
scrollTop: 0
|
|
217
218
|
};
|
|
218
|
-
const
|
|
219
|
-
function
|
|
220
|
-
|
|
219
|
+
const l = y(0);
|
|
220
|
+
function f() {
|
|
221
|
+
l.x = I(n);
|
|
221
222
|
}
|
|
222
|
-
if (
|
|
223
|
-
if ((_(e) !== "body" || q(n)) && (c = H(e)),
|
|
224
|
-
const
|
|
225
|
-
|
|
226
|
-
} else n &&
|
|
227
|
-
r && !
|
|
228
|
-
const u = n && !
|
|
223
|
+
if (o || !o && !r)
|
|
224
|
+
if ((_(e) !== "body" || q(n)) && (c = H(e)), o) {
|
|
225
|
+
const h = L(e, !0, r, e);
|
|
226
|
+
l.x = h.x + e.clientLeft, l.y = h.y + e.clientTop;
|
|
227
|
+
} else n && f();
|
|
228
|
+
r && !o && n && f();
|
|
229
|
+
const u = n && !o && !r ? et(n, c) : y(0), a = s.left + c.scrollLeft - l.x - u.x, d = s.top + c.scrollTop - l.y - u.y;
|
|
229
230
|
return {
|
|
230
|
-
x:
|
|
231
|
+
x: a,
|
|
231
232
|
y: d,
|
|
232
233
|
width: s.width,
|
|
233
234
|
height: s.height
|
|
234
235
|
};
|
|
235
236
|
}
|
|
236
237
|
function M(t) {
|
|
237
|
-
return
|
|
238
|
+
return R(t).position === "static";
|
|
238
239
|
}
|
|
239
240
|
function G(t, e) {
|
|
240
|
-
if (!
|
|
241
|
+
if (!T(t) || R(t).position === "fixed")
|
|
241
242
|
return null;
|
|
242
243
|
if (e)
|
|
243
244
|
return e(t);
|
|
244
|
-
let
|
|
245
|
-
return
|
|
245
|
+
let i = t.offsetParent;
|
|
246
|
+
return b(t) === i && (i = i.ownerDocument.body), i;
|
|
246
247
|
}
|
|
247
248
|
function ot(t, e) {
|
|
248
|
-
const
|
|
249
|
+
const i = O(t);
|
|
249
250
|
if (V(t))
|
|
250
|
-
return
|
|
251
|
-
if (!
|
|
251
|
+
return i;
|
|
252
|
+
if (!T(t)) {
|
|
252
253
|
let n = S(t);
|
|
253
|
-
for (; n && !
|
|
254
|
+
for (; n && !A(n); ) {
|
|
254
255
|
if (v(n) && !M(n))
|
|
255
256
|
return n;
|
|
256
257
|
n = S(n);
|
|
257
258
|
}
|
|
258
|
-
return
|
|
259
|
+
return i;
|
|
259
260
|
}
|
|
260
|
-
let
|
|
261
|
-
for (;
|
|
262
|
-
|
|
263
|
-
return
|
|
261
|
+
let o = G(t, e);
|
|
262
|
+
for (; o && dt(o) && M(o); )
|
|
263
|
+
o = G(o, e);
|
|
264
|
+
return o && A(o) && M(o) && !Q(o) ? i : o || gt(t) || i;
|
|
264
265
|
}
|
|
265
|
-
const
|
|
266
|
-
const e = this.getOffsetParent || ot,
|
|
266
|
+
const Tt = async function(t) {
|
|
267
|
+
const e = this.getOffsetParent || ot, i = this.getDimensions, o = await i(t.floating);
|
|
267
268
|
return {
|
|
268
|
-
reference:
|
|
269
|
+
reference: Lt(t.reference, await e(t.floating), t.strategy),
|
|
269
270
|
floating: {
|
|
270
271
|
x: 0,
|
|
271
272
|
y: 0,
|
|
272
|
-
width:
|
|
273
|
-
height:
|
|
273
|
+
width: o.width,
|
|
274
|
+
height: o.height
|
|
274
275
|
}
|
|
275
276
|
};
|
|
276
277
|
};
|
|
277
|
-
function
|
|
278
|
-
return
|
|
278
|
+
function Et(t) {
|
|
279
|
+
return R(t).direction === "rtl";
|
|
279
280
|
}
|
|
280
|
-
const
|
|
281
|
+
const Ft = {
|
|
281
282
|
convertOffsetParentRelativeRectToViewportRelativeRect: wt,
|
|
282
|
-
getDocumentElement:
|
|
283
|
-
getClippingRect:
|
|
283
|
+
getDocumentElement: b,
|
|
284
|
+
getClippingRect: Ct,
|
|
284
285
|
getOffsetParent: ot,
|
|
285
|
-
getElementRects:
|
|
286
|
+
getElementRects: Tt,
|
|
286
287
|
getClientRects: yt,
|
|
287
|
-
getDimensions:
|
|
288
|
+
getDimensions: Ot,
|
|
288
289
|
getScale: F,
|
|
289
290
|
isElement: v,
|
|
290
|
-
isRTL:
|
|
291
|
+
isRTL: Et
|
|
291
292
|
};
|
|
292
293
|
function nt(t, e) {
|
|
293
294
|
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
294
295
|
}
|
|
295
|
-
function
|
|
296
|
-
let
|
|
297
|
-
const n =
|
|
296
|
+
function St(t, e) {
|
|
297
|
+
let i = null, o;
|
|
298
|
+
const n = b(t);
|
|
298
299
|
function r() {
|
|
299
300
|
var c;
|
|
300
|
-
clearTimeout(
|
|
301
|
+
clearTimeout(o), (c = i) == null || c.disconnect(), i = null;
|
|
301
302
|
}
|
|
302
|
-
function s(c,
|
|
303
|
-
c === void 0 && (c = !1),
|
|
304
|
-
const
|
|
303
|
+
function s(c, l) {
|
|
304
|
+
c === void 0 && (c = !1), l === void 0 && (l = 1), r();
|
|
305
|
+
const f = t.getBoundingClientRect(), {
|
|
305
306
|
left: u,
|
|
306
|
-
top:
|
|
307
|
+
top: a,
|
|
307
308
|
width: d,
|
|
308
|
-
height:
|
|
309
|
-
} =
|
|
310
|
-
if (c || e(), !d || !
|
|
309
|
+
height: h
|
|
310
|
+
} = f;
|
|
311
|
+
if (c || e(), !d || !h)
|
|
311
312
|
return;
|
|
312
|
-
const m =
|
|
313
|
+
const m = D(a), p = D(n.clientWidth - (u + d)), w = D(n.clientHeight - (a + h)), g = D(u), C = {
|
|
313
314
|
rootMargin: -m + "px " + -p + "px " + -w + "px " + -g + "px",
|
|
314
|
-
threshold: E(0, N(1,
|
|
315
|
+
threshold: E(0, N(1, l)) || 1
|
|
315
316
|
};
|
|
316
317
|
let W = !0;
|
|
317
318
|
function k(P) {
|
|
318
319
|
const B = P[0].intersectionRatio;
|
|
319
|
-
if (B !==
|
|
320
|
+
if (B !== l) {
|
|
320
321
|
if (!W)
|
|
321
322
|
return s();
|
|
322
|
-
B ? s(!1, B) :
|
|
323
|
+
B ? s(!1, B) : o = setTimeout(() => {
|
|
323
324
|
s(!1, 1e-7);
|
|
324
325
|
}, 1e3);
|
|
325
326
|
}
|
|
326
|
-
B === 1 && !nt(
|
|
327
|
+
B === 1 && !nt(f, t.getBoundingClientRect()) && s(), W = !1;
|
|
327
328
|
}
|
|
328
329
|
try {
|
|
329
|
-
|
|
330
|
-
...
|
|
330
|
+
i = new IntersectionObserver(k, {
|
|
331
|
+
...C,
|
|
331
332
|
// Handle <iframe>s
|
|
332
333
|
root: n.ownerDocument
|
|
333
334
|
});
|
|
334
335
|
} catch {
|
|
335
|
-
|
|
336
|
+
i = new IntersectionObserver(k, C);
|
|
336
337
|
}
|
|
337
|
-
|
|
338
|
+
i.observe(t);
|
|
338
339
|
}
|
|
339
340
|
return s(!0), r;
|
|
340
341
|
}
|
|
341
|
-
function zt(t, e,
|
|
342
|
-
|
|
342
|
+
function zt(t, e, i, o) {
|
|
343
|
+
o === void 0 && (o = {});
|
|
343
344
|
const {
|
|
344
345
|
ancestorScroll: n = !0,
|
|
345
346
|
ancestorResize: r = !0,
|
|
346
347
|
elementResize: s = typeof ResizeObserver == "function",
|
|
347
348
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
348
|
-
animationFrame:
|
|
349
|
-
} =
|
|
349
|
+
animationFrame: l = !1
|
|
350
|
+
} = o, f = X(t), u = n || r ? [...f ? $(f) : [], ...e ? $(e) : []] : [];
|
|
350
351
|
u.forEach((g) => {
|
|
351
|
-
n && g.addEventListener("scroll",
|
|
352
|
+
n && g.addEventListener("scroll", i, {
|
|
352
353
|
passive: !0
|
|
353
|
-
}), r && g.addEventListener("resize",
|
|
354
|
+
}), r && g.addEventListener("resize", i);
|
|
354
355
|
});
|
|
355
|
-
const
|
|
356
|
-
let d = -1,
|
|
357
|
-
s && (
|
|
356
|
+
const a = f && c ? St(f, i) : null;
|
|
357
|
+
let d = -1, h = null;
|
|
358
|
+
s && (h = new ResizeObserver((g) => {
|
|
358
359
|
let [x] = g;
|
|
359
|
-
x && x.target ===
|
|
360
|
-
var
|
|
361
|
-
(
|
|
362
|
-
})),
|
|
363
|
-
}),
|
|
364
|
-
let m, p =
|
|
365
|
-
|
|
360
|
+
x && x.target === f && h && e && (h.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
|
|
361
|
+
var C;
|
|
362
|
+
(C = h) == null || C.observe(e);
|
|
363
|
+
})), i();
|
|
364
|
+
}), f && !l && h.observe(f), e && h.observe(e));
|
|
365
|
+
let m, p = l ? L(t) : null;
|
|
366
|
+
l && w();
|
|
366
367
|
function w() {
|
|
367
|
-
const g =
|
|
368
|
-
p && !nt(p, g) &&
|
|
368
|
+
const g = L(t);
|
|
369
|
+
p && !nt(p, g) && i(), p = g, m = requestAnimationFrame(w);
|
|
369
370
|
}
|
|
370
|
-
return
|
|
371
|
+
return i(), () => {
|
|
371
372
|
var g;
|
|
372
373
|
u.forEach((x) => {
|
|
373
|
-
n && x.removeEventListener("scroll",
|
|
374
|
-
}),
|
|
374
|
+
n && x.removeEventListener("scroll", i), r && x.removeEventListener("resize", i);
|
|
375
|
+
}), a == null || a(), (g = h) == null || g.disconnect(), h = null, l && cancelAnimationFrame(m);
|
|
375
376
|
};
|
|
376
377
|
}
|
|
377
|
-
const Ht =
|
|
378
|
-
const
|
|
379
|
-
platform:
|
|
380
|
-
...
|
|
378
|
+
const At = rt, Ht = lt, It = ct, Mt = ut, Nt = ht, $t = ft, Vt = at, _t = (t, e, i) => {
|
|
379
|
+
const o = /* @__PURE__ */ new Map(), n = {
|
|
380
|
+
platform: Ft,
|
|
381
|
+
...i
|
|
381
382
|
}, r = {
|
|
382
383
|
...n.platform,
|
|
383
|
-
_c:
|
|
384
|
+
_c: o
|
|
384
385
|
};
|
|
385
|
-
return
|
|
386
|
+
return st(t, e, {
|
|
386
387
|
...n,
|
|
387
388
|
platform: r
|
|
388
389
|
});
|
|
389
390
|
};
|
|
390
391
|
export {
|
|
391
|
-
|
|
392
|
+
$t as arrow,
|
|
392
393
|
zt as autoUpdate,
|
|
393
|
-
|
|
394
|
-
|
|
394
|
+
_t as computePosition,
|
|
395
|
+
It as flip,
|
|
395
396
|
$ as getOverflowAncestors,
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
397
|
+
Nt as hide,
|
|
398
|
+
Vt as limitShift,
|
|
399
|
+
At as offset,
|
|
400
|
+
Ft as platform,
|
|
401
|
+
Ht as shift,
|
|
402
|
+
Mt as size
|
|
402
403
|
};
|