bits-ui 1.0.0-next.11 → 1.0.0-next.13
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/bits/accordion/accordion.svelte.d.ts +2 -2
- package/dist/bits/accordion/accordion.svelte.js +2 -3
- package/dist/bits/accordion/components/accordion-content.svelte +2 -3
- package/dist/bits/accordion/components/accordion-header.svelte +1 -2
- package/dist/bits/accordion/components/accordion-item.svelte +1 -2
- package/dist/bits/accordion/components/accordion-trigger.svelte +1 -2
- package/dist/bits/accordion/components/accordion.svelte +2 -3
- package/dist/bits/accordion/types.d.ts +8 -8
- package/dist/bits/alert-dialog/components/alert-dialog-action.svelte +1 -2
- package/dist/bits/alert-dialog/components/alert-dialog-cancel.svelte +1 -2
- package/dist/bits/alert-dialog/components/alert-dialog-content.svelte +3 -4
- package/dist/bits/alert-dialog/components/alert-dialog.svelte +1 -1
- package/dist/bits/alert-dialog/types.d.ts +1 -1
- package/dist/bits/aspect-ratio/aspect-ratio.svelte.js +1 -1
- package/dist/bits/aspect-ratio/components/aspect-ratio.svelte +1 -2
- package/dist/bits/aspect-ratio/types.d.ts +2 -2
- package/dist/bits/avatar/avatar.svelte.d.ts +1 -1
- package/dist/bits/avatar/avatar.svelte.js +1 -1
- package/dist/bits/avatar/components/avatar-fallback.svelte +1 -2
- package/dist/bits/avatar/components/avatar-image.svelte +1 -2
- package/dist/bits/avatar/components/avatar.svelte +1 -2
- package/dist/bits/avatar/types.d.ts +4 -4
- package/dist/bits/calendar/calendar.svelte.d.ts +7 -7
- package/dist/bits/calendar/calendar.svelte.js +1 -1
- package/dist/bits/calendar/components/calendar-cell.svelte +1 -2
- package/dist/bits/calendar/components/calendar-day.svelte +1 -2
- package/dist/bits/calendar/components/calendar-grid-body.svelte +1 -2
- package/dist/bits/calendar/components/calendar-grid-head.svelte +1 -2
- package/dist/bits/calendar/components/calendar-grid-row.svelte +1 -2
- package/dist/bits/calendar/components/calendar-grid.svelte +1 -2
- package/dist/bits/calendar/components/calendar-head-cell.svelte +1 -2
- package/dist/bits/calendar/components/calendar-header.svelte +1 -2
- package/dist/bits/calendar/components/calendar-heading.svelte +1 -2
- package/dist/bits/calendar/components/calendar-next-button.svelte +1 -2
- package/dist/bits/calendar/components/calendar-prev-button.svelte +1 -2
- package/dist/bits/calendar/components/calendar.svelte +2 -3
- package/dist/bits/calendar/types.d.ts +15 -15
- package/dist/bits/checkbox/checkbox.svelte.d.ts +2 -2
- package/dist/bits/checkbox/checkbox.svelte.js +1 -2
- package/dist/bits/checkbox/components/checkbox.svelte +1 -2
- package/dist/bits/checkbox/types.d.ts +2 -2
- package/dist/bits/collapsible/collapsible.svelte.d.ts +1 -1
- package/dist/bits/collapsible/collapsible.svelte.js +2 -3
- package/dist/bits/collapsible/components/collapsible-content.svelte +2 -3
- package/dist/bits/collapsible/components/collapsible-content.svelte.d.ts +3 -3
- package/dist/bits/collapsible/components/collapsible-trigger.svelte +1 -2
- package/dist/bits/collapsible/components/collapsible.svelte +2 -3
- package/dist/bits/collapsible/types.d.ts +6 -6
- package/dist/bits/combobox/components/combobox-input.svelte +1 -2
- package/dist/bits/combobox/components/combobox-trigger.svelte +1 -2
- package/dist/bits/combobox/components/combobox.svelte +1 -1
- package/dist/bits/combobox/components/combobox.svelte.d.ts +1 -1
- package/dist/bits/combobox/types.d.ts +2 -2
- package/dist/bits/command/command.svelte.d.ts +4 -4
- package/dist/bits/command/command.svelte.js +5 -8
- package/dist/bits/command/components/_command-label.svelte +2 -2
- package/dist/bits/command/components/_command-label.svelte.d.ts +2 -2
- package/dist/bits/command/components/command-empty.svelte +1 -2
- package/dist/bits/command/components/command-group-heading.svelte +1 -2
- package/dist/bits/command/components/command-group-items.svelte +1 -2
- package/dist/bits/command/components/command-group.svelte +1 -2
- package/dist/bits/command/components/command-input.svelte +1 -2
- package/dist/bits/command/components/command-item.svelte +2 -3
- package/dist/bits/command/components/command-link-item.svelte +2 -3
- package/dist/bits/command/components/command-list.svelte +1 -2
- package/dist/bits/command/components/command-loading.svelte +1 -2
- package/dist/bits/command/components/command-separator.svelte +1 -2
- package/dist/bits/command/components/command.svelte +2 -3
- package/dist/bits/command/types.d.ts +13 -13
- package/dist/bits/context-menu/components/context-menu-content-static.svelte +3 -4
- package/dist/bits/context-menu/components/context-menu-content.svelte +3 -4
- package/dist/bits/context-menu/components/context-menu-trigger.svelte +1 -2
- package/dist/bits/context-menu/components/context-menu.svelte +1 -1
- package/dist/bits/context-menu/types.d.ts +2 -2
- package/dist/bits/date-field/components/date-field-input.svelte +1 -2
- package/dist/bits/date-field/components/date-field-label.svelte +1 -2
- package/dist/bits/date-field/components/date-field-segment.svelte +1 -2
- package/dist/bits/date-field/components/date-field.svelte +1 -1
- package/dist/bits/date-field/date-field.svelte.d.ts +29 -29
- package/dist/bits/date-field/date-field.svelte.js +1 -3
- package/dist/bits/date-field/types.d.ts +4 -4
- package/dist/bits/date-picker/components/date-picker-calendar.svelte +1 -2
- package/dist/bits/date-picker/components/date-picker-content-static.svelte +1 -1
- package/dist/bits/date-picker/components/date-picker-content.svelte +1 -1
- package/dist/bits/date-picker/components/date-picker-trigger.svelte +1 -1
- package/dist/bits/date-picker/components/date-picker.svelte +1 -1
- package/dist/bits/date-picker/types.d.ts +2 -2
- package/dist/bits/date-range-field/components/date-range-field-input.svelte +1 -2
- package/dist/bits/date-range-field/components/date-range-field-label.svelte +1 -2
- package/dist/bits/date-range-field/components/date-range-field.svelte +2 -3
- package/dist/bits/date-range-field/date-range-field.svelte.js +1 -3
- package/dist/bits/date-range-field/types.d.ts +4 -4
- package/dist/bits/date-range-picker/components/date-range-picker-calendar.svelte +1 -2
- package/dist/bits/date-range-picker/components/date-range-picker-trigger.svelte +1 -1
- package/dist/bits/date-range-picker/components/date-range-picker.svelte +2 -3
- package/dist/bits/date-range-picker/types.d.ts +3 -3
- package/dist/bits/dialog/components/dialog-close.svelte +1 -2
- package/dist/bits/dialog/components/dialog-content.svelte +3 -4
- package/dist/bits/dialog/components/dialog-description.svelte +1 -2
- package/dist/bits/dialog/components/dialog-overlay.svelte +1 -2
- package/dist/bits/dialog/components/dialog-title.svelte +1 -2
- package/dist/bits/dialog/components/dialog-trigger.svelte +1 -2
- package/dist/bits/dialog/components/dialog.svelte +1 -1
- package/dist/bits/dialog/dialog.svelte.d.ts +1 -1
- package/dist/bits/dialog/dialog.svelte.js +7 -7
- package/dist/bits/dialog/types.d.ts +8 -8
- package/dist/bits/dropdown-menu/components/dropdown-menu-content-static.svelte +3 -4
- package/dist/bits/dropdown-menu/components/dropdown-menu-content.svelte +3 -4
- package/dist/bits/label/components/label.svelte +1 -2
- package/dist/bits/label/label.svelte.js +1 -1
- package/dist/bits/label/types.d.ts +2 -2
- package/dist/bits/link-preview/components/link-preview-content-static.svelte +1 -2
- package/dist/bits/link-preview/components/link-preview-content.svelte +2 -3
- package/dist/bits/link-preview/components/link-preview-trigger.svelte +1 -2
- package/dist/bits/link-preview/components/link-preview.svelte +1 -1
- package/dist/bits/link-preview/link-preview.svelte.d.ts +1 -1
- package/dist/bits/link-preview/link-preview.svelte.js +1 -5
- package/dist/bits/link-preview/types.d.ts +6 -6
- package/dist/bits/listbox/components/listbox-content-static.svelte +3 -4
- package/dist/bits/listbox/components/listbox-content.svelte +3 -4
- package/dist/bits/listbox/components/listbox-group-heading.svelte +1 -2
- package/dist/bits/listbox/components/listbox-group.svelte +1 -2
- package/dist/bits/listbox/components/listbox-item.svelte +2 -3
- package/dist/bits/listbox/components/listbox-scroll-down-button.svelte +1 -2
- package/dist/bits/listbox/components/listbox-scroll-up-button.svelte +1 -2
- package/dist/bits/listbox/components/listbox-trigger.svelte +1 -2
- package/dist/bits/listbox/components/listbox-viewport.svelte +1 -2
- package/dist/bits/listbox/components/listbox.svelte +1 -1
- package/dist/bits/listbox/components/listbox.svelte.d.ts +1 -1
- package/dist/bits/listbox/listbox.svelte.d.ts +1 -1
- package/dist/bits/listbox/listbox.svelte.js +5 -8
- package/dist/bits/listbox/types.d.ts +16 -16
- package/dist/bits/menu/components/menu-arrow.svelte +1 -1
- package/dist/bits/menu/components/menu-checkbox-item.svelte +2 -3
- package/dist/bits/menu/components/menu-content-static.svelte +3 -4
- package/dist/bits/menu/components/menu-content.svelte +3 -4
- package/dist/bits/menu/components/menu-group-heading.svelte +1 -2
- package/dist/bits/menu/components/menu-group.svelte +1 -2
- package/dist/bits/menu/components/menu-item.svelte +2 -3
- package/dist/bits/menu/components/menu-radio-group.svelte +2 -3
- package/dist/bits/menu/components/menu-radio-item.svelte +2 -3
- package/dist/bits/menu/components/menu-separator.svelte +1 -2
- package/dist/bits/menu/components/menu-sub-content-static.svelte +3 -5
- package/dist/bits/menu/components/menu-sub-content.svelte +3 -5
- package/dist/bits/menu/components/menu-sub-trigger.svelte +1 -2
- package/dist/bits/menu/components/menu-sub.svelte +1 -1
- package/dist/bits/menu/components/menu-trigger.svelte +1 -2
- package/dist/bits/menu/components/menu.svelte +1 -1
- package/dist/bits/menu/menu.svelte.d.ts +9 -9
- package/dist/bits/menu/menu.svelte.js +4 -9
- package/dist/bits/menu/types.d.ts +18 -18
- package/dist/bits/menubar/components/menubar-content-static.svelte +1 -2
- package/dist/bits/menubar/components/menubar-content.svelte +1 -2
- package/dist/bits/menubar/components/menubar-trigger.svelte +1 -2
- package/dist/bits/menubar/components/menubar.svelte +2 -3
- package/dist/bits/menubar/menubar.svelte.d.ts +1 -1
- package/dist/bits/menubar/menubar.svelte.js +2 -4
- package/dist/bits/menubar/types.d.ts +3 -3
- package/dist/bits/navigation-menu/components/navigation-menu-content.svelte +1 -2
- package/dist/bits/navigation-menu/components/navigation-menu-indicator.svelte +1 -2
- package/dist/bits/navigation-menu/components/navigation-menu-item.svelte +1 -2
- package/dist/bits/navigation-menu/components/navigation-menu-link.svelte +2 -3
- package/dist/bits/navigation-menu/components/navigation-menu-list.svelte +1 -2
- package/dist/bits/navigation-menu/components/navigation-menu-trigger.svelte +1 -2
- package/dist/bits/navigation-menu/components/navigation-menu-viewport.svelte +1 -2
- package/dist/bits/navigation-menu/components/navigation-menu.svelte +2 -3
- package/dist/bits/navigation-menu/navigation-menu.svelte.d.ts +2 -2
- package/dist/bits/navigation-menu/navigation-menu.svelte.js +6 -8
- package/dist/bits/navigation-menu/types.d.ts +10 -10
- package/dist/bits/pagination/components/pagination-next-button.svelte +1 -2
- package/dist/bits/pagination/components/pagination-page.svelte +1 -2
- package/dist/bits/pagination/components/pagination-prev-button.svelte +1 -2
- package/dist/bits/pagination/components/pagination.svelte +2 -3
- package/dist/bits/pagination/components/pagination.svelte.d.ts +1 -1
- package/dist/bits/pagination/pagination.svelte.js +1 -1
- package/dist/bits/pagination/types.d.ts +5 -5
- package/dist/bits/pin-input/components/pin-input-cell.svelte +1 -2
- package/dist/bits/pin-input/components/pin-input.svelte +2 -3
- package/dist/bits/pin-input/pin-input.svelte.d.ts +3 -3
- package/dist/bits/pin-input/pin-input.svelte.js +2 -3
- package/dist/bits/pin-input/types.d.ts +3 -3
- package/dist/bits/popover/components/popover-close.svelte +1 -2
- package/dist/bits/popover/components/popover-content-static.svelte +2 -3
- package/dist/bits/popover/components/popover-content.svelte +2 -3
- package/dist/bits/popover/components/popover-trigger.svelte +1 -2
- package/dist/bits/popover/components/popover.svelte +1 -1
- package/dist/bits/popover/popover.svelte.d.ts +1 -1
- package/dist/bits/popover/popover.svelte.js +3 -3
- package/dist/bits/popover/types.d.ts +8 -8
- package/dist/bits/progress/components/progress.svelte +1 -2
- package/dist/bits/progress/progress.svelte.js +1 -1
- package/dist/bits/progress/types.d.ts +2 -2
- package/dist/bits/radio-group/components/radio-group-item.svelte +1 -2
- package/dist/bits/radio-group/components/radio-group.svelte +2 -3
- package/dist/bits/radio-group/radio-group.svelte.d.ts +2 -2
- package/dist/bits/radio-group/radio-group.svelte.js +2 -3
- package/dist/bits/radio-group/types.d.ts +3 -3
- package/dist/bits/range-calendar/components/range-calendar-cell.svelte +1 -2
- package/dist/bits/range-calendar/components/range-calendar-day.svelte +1 -2
- package/dist/bits/range-calendar/components/range-calendar.svelte +2 -3
- package/dist/bits/range-calendar/range-calendar.svelte.d.ts +3 -3
- package/dist/bits/range-calendar/range-calendar.svelte.js +1 -1
- package/dist/bits/range-calendar/types.d.ts +2 -2
- package/dist/bits/scroll-area/components/scroll-area-corner-impl.svelte +1 -2
- package/dist/bits/scroll-area/components/scroll-area-scrollbar-auto.svelte +1 -1
- package/dist/bits/scroll-area/components/scroll-area-scrollbar-hover.svelte +1 -1
- package/dist/bits/scroll-area/components/scroll-area-scrollbar-scroll.svelte +1 -1
- package/dist/bits/scroll-area/components/scroll-area-scrollbar-shared.svelte +1 -1
- package/dist/bits/scroll-area/components/scroll-area-scrollbar-x.svelte +1 -2
- package/dist/bits/scroll-area/components/scroll-area-scrollbar-y.svelte +1 -2
- package/dist/bits/scroll-area/components/scroll-area-thumb-impl.svelte +1 -2
- package/dist/bits/scroll-area/components/scroll-area-viewport.svelte +1 -2
- package/dist/bits/scroll-area/components/scroll-area.svelte +1 -2
- package/dist/bits/scroll-area/scroll-area.svelte.d.ts +2 -2
- package/dist/bits/scroll-area/scroll-area.svelte.js +4 -7
- package/dist/bits/scroll-area/types.d.ts +6 -6
- package/dist/bits/select/components/select-arrow.svelte +1 -2
- package/dist/bits/select/components/select-content-floating.svelte +1 -1
- package/dist/bits/select/components/select-content-floating.svelte.d.ts +1 -1
- package/dist/bits/select/components/select-content-impl.svelte +2 -2
- package/dist/bits/select/components/select-content-impl.svelte.d.ts +5 -5
- package/dist/bits/select/components/select-content-item-aligned.svelte +3 -4
- package/dist/bits/select/components/select-content-item-aligned.svelte.d.ts +2 -2
- package/dist/bits/select/components/select-group-heading.svelte +1 -2
- package/dist/bits/select/components/select-group.svelte +1 -2
- package/dist/bits/select/components/select-icon.svelte +1 -2
- package/dist/bits/select/components/select-item-text.svelte +1 -2
- package/dist/bits/select/components/select-item.svelte +1 -2
- package/dist/bits/select/components/select-native.svelte +1 -1
- package/dist/bits/select/components/select-scroll-down-button-mounted.svelte.d.ts +2 -2
- package/dist/bits/select/components/select-scroll-down-button.svelte +1 -2
- package/dist/bits/select/components/select-scroll-up-button-mounted.svelte.d.ts +2 -2
- package/dist/bits/select/components/select-scroll-up-button.svelte +1 -2
- package/dist/bits/select/components/select-separator.svelte +1 -2
- package/dist/bits/select/components/select-trigger.svelte +1 -2
- package/dist/bits/select/components/select-value.svelte +1 -1
- package/dist/bits/select/components/select-viewport.svelte +1 -2
- package/dist/bits/select/components/select.svelte +1 -1
- package/dist/bits/select/components/select.svelte.d.ts +1 -1
- package/dist/bits/select/select.svelte.d.ts +4 -4
- package/dist/bits/select/select.svelte.js +5 -8
- package/dist/bits/select/types.d.ts +14 -14
- package/dist/bits/separator/components/separator.svelte +1 -2
- package/dist/bits/separator/separator.svelte.js +1 -1
- package/dist/bits/separator/types.d.ts +2 -2
- package/dist/bits/slider/components/slider-range.svelte +1 -2
- package/dist/bits/slider/components/slider-thumb.svelte +1 -2
- package/dist/bits/slider/components/slider-tick.svelte +1 -2
- package/dist/bits/slider/components/slider.svelte +2 -3
- package/dist/bits/slider/slider.svelte.d.ts +2 -2
- package/dist/bits/slider/slider.svelte.js +1 -2
- package/dist/bits/slider/types.d.ts +5 -5
- package/dist/bits/switch/components/switch-thumb.svelte +1 -2
- package/dist/bits/switch/components/switch.svelte +2 -3
- package/dist/bits/switch/switch.svelte.d.ts +2 -2
- package/dist/bits/switch/switch.svelte.js +1 -2
- package/dist/bits/switch/types.d.ts +3 -3
- package/dist/bits/tabs/components/tabs-content.svelte +1 -2
- package/dist/bits/tabs/components/tabs-list.svelte +1 -2
- package/dist/bits/tabs/components/tabs-trigger.svelte +1 -2
- package/dist/bits/tabs/components/tabs.svelte +2 -3
- package/dist/bits/tabs/tabs.svelte.d.ts +1 -1
- package/dist/bits/tabs/tabs.svelte.js +1 -1
- package/dist/bits/tabs/types.d.ts +5 -5
- package/dist/bits/toggle/components/toggle.svelte +2 -3
- package/dist/bits/toggle/toggle.svelte.d.ts +1 -1
- package/dist/bits/toggle/toggle.svelte.js +1 -1
- package/dist/bits/toggle/types.d.ts +2 -2
- package/dist/bits/toggle-group/components/toggle-group-item.svelte +1 -2
- package/dist/bits/toggle-group/components/toggle-group.svelte +2 -2
- package/dist/bits/toggle-group/toggle-group.svelte.d.ts +3 -3
- package/dist/bits/toggle-group/toggle-group.svelte.js +1 -1
- package/dist/bits/toggle-group/types.d.ts +5 -5
- package/dist/bits/toolbar/components/toolbar-button.svelte +1 -2
- package/dist/bits/toolbar/components/toolbar-group-item.svelte +1 -2
- package/dist/bits/toolbar/components/toolbar-group.svelte +2 -2
- package/dist/bits/toolbar/components/toolbar-link.svelte +1 -2
- package/dist/bits/toolbar/components/toolbar.svelte +1 -2
- package/dist/bits/toolbar/toolbar.svelte.d.ts +2 -2
- package/dist/bits/toolbar/toolbar.svelte.js +1 -2
- package/dist/bits/toolbar/types.d.ts +5 -5
- package/dist/bits/tooltip/components/tooltip-content-static.svelte +2 -3
- package/dist/bits/tooltip/components/tooltip-content.svelte +2 -3
- package/dist/bits/tooltip/components/tooltip-trigger.svelte +1 -2
- package/dist/bits/tooltip/components/tooltip.svelte +1 -1
- package/dist/bits/tooltip/tooltip.svelte.js +2 -3
- package/dist/bits/tooltip/types.d.ts +7 -7
- package/dist/bits/utilities/arrow/arrow.svelte +1 -1
- package/dist/bits/utilities/arrow/types.d.ts +2 -2
- package/dist/bits/utilities/dismissible-layer/useDismissibleLayer.svelte.js +2 -7
- package/dist/bits/utilities/escape-layer/useEscapeLayer.svelte.js +1 -1
- package/dist/bits/utilities/floating-layer/components/floating-layer-arrow.svelte +1 -2
- package/dist/bits/utilities/floating-layer/components/floating-layer-content.svelte +1 -2
- package/dist/bits/utilities/floating-layer/useFloatingLayer.svelte.d.ts +10 -10
- package/dist/bits/utilities/floating-layer/useFloatingLayer.svelte.js +4 -7
- package/dist/bits/utilities/focus-scope/focus-scope.svelte +1 -1
- package/dist/bits/utilities/focus-scope/useFocusScope.svelte.js +2 -5
- package/dist/bits/utilities/mounted.svelte +1 -1
- package/dist/bits/utilities/popper-layer/popper-layer.svelte +1 -1
- package/dist/bits/utilities/presence-layer/usePresence.svelte.d.ts +1 -1
- package/dist/bits/utilities/presence-layer/usePresence.svelte.js +1 -1
- package/dist/bits/utilities/text-selection-layer/useTextSelectionLayer.svelte.js +2 -5
- package/dist/bits/utilities/visually-hidden/types.d.ts +2 -2
- package/dist/bits/utilities/visually-hidden/visually-hidden.svelte +1 -1
- package/dist/internal/create-event-hook.svelte.js +1 -1
- package/dist/internal/date-time/announcer.js +2 -2
- package/dist/internal/date-time/calendar-helpers.svelte.d.ts +1 -1
- package/dist/internal/date-time/calendar-helpers.svelte.js +1 -2
- package/dist/internal/date-time/field/helpers.js +1 -1
- package/dist/internal/types.d.ts +28 -0
- package/dist/internal/use-body-scroll-lock.svelte.js +1 -2
- package/dist/internal/use-grace-area.svelte.d.ts +1 -1
- package/dist/internal/use-grace-area.svelte.js +1 -1
- package/dist/internal/use-roving-focus.svelte.d.ts +1 -1
- package/dist/internal/use-roving-focus.svelte.js +7 -1
- package/dist/internal/use-size.svelte.d.ts +1 -1
- package/dist/internal/use-size.svelte.js +1 -1
- package/dist/internal/use-timeout-fn.svelte.js +1 -2
- package/dist/shared/attributes.d.ts +28 -28
- package/dist/shared/index.d.ts +1 -1
- package/dist/shared/index.js +1 -1
- package/package.json +2 -4
- package/dist/bits/listbox/components/listbox-label.svelte +0 -33
- package/dist/bits/listbox/components/listbox-label.svelte.d.ts +0 -18
- package/dist/internal/after-sleep.d.ts +0 -4
- package/dist/internal/after-sleep.js +0 -6
- package/dist/internal/after-tick.d.ts +0 -5
- package/dist/internal/after-tick.js +0 -7
- package/dist/internal/callbacks.d.ts +0 -11
- package/dist/internal/callbacks.js +0 -21
- package/dist/internal/compose-handlers.d.ts +0 -8
- package/dist/internal/compose-handlers.js +0 -21
- package/dist/internal/css-to-style-obj.d.ts +0 -2
- package/dist/internal/css-to-style-obj.js +0 -23
- package/dist/internal/execute-callbacks.d.ts +0 -7
- package/dist/internal/execute-callbacks.js +0 -15
- package/dist/internal/merge-props.d.ts +0 -22
- package/dist/internal/merge-props.js +0 -98
- package/dist/internal/on-destroy-effect.svelte.d.ts +0 -1
- package/dist/internal/on-destroy-effect.svelte.js +0 -7
- package/dist/internal/strings.d.ts +0 -3
- package/dist/internal/strings.js +0 -70
- package/dist/internal/style-to-css.d.ts +0 -1
- package/dist/internal/style-to-css.js +0 -23
- package/dist/internal/style.d.ts +0 -4
- package/dist/internal/style.js +0 -17
- package/dist/internal/use-ref-by-id.svelte.d.ts +0 -28
- package/dist/internal/use-ref-by-id.svelte.js +0 -27
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { NavigationMenuTriggerProps } from "../types.js";
|
|
4
4
|
import { useNavigationMenuTrigger } from "../navigation-menu.svelte.js";
|
|
5
5
|
import { useId } from "../../../internal/use-id.js";
|
|
6
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
7
6
|
import VisuallyHidden from "../../utilities/visually-hidden/visually-hidden.svelte";
|
|
8
7
|
import Mounted from "../../utilities/mounted.svelte";
|
|
9
8
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { NavigationMenuViewportProps } from "../types.js";
|
|
4
4
|
import { useNavigationMenuViewport } from "../navigation-menu.svelte.js";
|
|
5
5
|
import { useId } from "../../../internal/use-id.js";
|
|
6
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
7
6
|
import PresenceLayer from "../../utilities/presence-layer/presence-layer.svelte";
|
|
8
7
|
|
|
9
8
|
let {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { NavigationMenuRootProps } from "../types.js";
|
|
4
4
|
import { useNavigationMenuRoot } from "../navigation-menu.svelte.js";
|
|
5
5
|
import { useId } from "../../../internal/use-id.js";
|
|
6
|
-
import { noop } from "../../../internal/
|
|
7
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
6
|
+
import { noop } from "../../../internal/noop.js";
|
|
8
7
|
|
|
9
8
|
let {
|
|
10
9
|
child,
|
|
@@ -2,7 +2,7 @@ import { Previous } from "runed";
|
|
|
2
2
|
import type { ReadableBoxedValues, WritableBoxedValues } from "../../internal/box.svelte.js";
|
|
3
3
|
import type { Direction, Orientation } from "../../shared/index.js";
|
|
4
4
|
import type { ElementRef, WithRefProps } from "../../internal/types.js";
|
|
5
|
-
import { noop } from "../../internal/
|
|
5
|
+
import { noop } from "../../internal/noop.js";
|
|
6
6
|
import { useRovingFocus } from "../../internal/use-roving-focus.svelte.js";
|
|
7
7
|
type NavigationMenuRootStateProps = ReadableBoxedValues<{
|
|
8
8
|
id: string;
|
|
@@ -200,7 +200,7 @@ declare class NavigationMenuTriggerState {
|
|
|
200
200
|
readonly disabled: true | undefined;
|
|
201
201
|
readonly "data-disabled": "" | undefined;
|
|
202
202
|
readonly "data-state": "open" | "closed";
|
|
203
|
-
readonly "aria-expanded": "
|
|
203
|
+
readonly "aria-expanded": "true" | "false";
|
|
204
204
|
readonly "aria-controls": string | undefined;
|
|
205
205
|
readonly "data-value": string;
|
|
206
206
|
readonly onpointerenter: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { untrack } from "svelte";
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { afterTick, box, useRefById } from "svelte-toolbelt";
|
|
3
3
|
import { Previous } from "runed";
|
|
4
4
|
import { getTabbableCandidates } from "../../internal/focus.js";
|
|
5
5
|
import { getAriaExpanded, getAriaHidden, getDataDisabled, getDataOpenClosed, getDataOrientation, getDisabled, } from "../../internal/attrs.js";
|
|
@@ -8,9 +8,7 @@ import { useId } from "../../internal/use-id.js";
|
|
|
8
8
|
import { kbd } from "../../internal/kbd.js";
|
|
9
9
|
import { useArrowNavigation } from "../../internal/use-arrow-navigation.js";
|
|
10
10
|
import { boxAutoReset } from "../../internal/box-auto-reset.svelte.js";
|
|
11
|
-
import {
|
|
12
|
-
import { afterTick } from "../../internal/after-tick.js";
|
|
13
|
-
import { noop } from "../../internal/callbacks.js";
|
|
11
|
+
import { noop } from "../../internal/noop.js";
|
|
14
12
|
import { useRovingFocus } from "../../internal/use-roving-focus.svelte.js";
|
|
15
13
|
const [setNavigationMenuRootContext] = createContext("NavigationMenu.Root");
|
|
16
14
|
const [setNavigationMenuMenuContext, getNavigationMenuMenuContext] = createContext("NavigationMenu.Root or NavigationMenu.Sub");
|
|
@@ -277,7 +275,7 @@ class NavigationMenuListState {
|
|
|
277
275
|
onRefChange: (node) => {
|
|
278
276
|
this.menu.indicatorTrackNode = node;
|
|
279
277
|
},
|
|
280
|
-
|
|
278
|
+
deps: () => Boolean(this.menu.root.value.current),
|
|
281
279
|
});
|
|
282
280
|
}
|
|
283
281
|
indicatorTrackProps = $derived.by(() => ({
|
|
@@ -380,7 +378,7 @@ class NavigationMenuTriggerState {
|
|
|
380
378
|
onRefChange: (node) => {
|
|
381
379
|
this.item.focusProxyNode = node;
|
|
382
380
|
},
|
|
383
|
-
|
|
381
|
+
deps: () => this.focusProxyMounted.current,
|
|
384
382
|
});
|
|
385
383
|
$effect(() => {
|
|
386
384
|
this.menu.registerTrigger(this.#ref);
|
|
@@ -599,7 +597,7 @@ class NavigationMenuContentState {
|
|
|
599
597
|
onRefChange: (node) => {
|
|
600
598
|
this.item.contentNode = node;
|
|
601
599
|
},
|
|
602
|
-
|
|
600
|
+
deps: () => this.isMounted.current,
|
|
603
601
|
});
|
|
604
602
|
$effect(() => {
|
|
605
603
|
const items = this.menu.getTriggerNodes();
|
|
@@ -730,7 +728,7 @@ class NavigationMenuViewportState {
|
|
|
730
728
|
onRefChange: (node) => {
|
|
731
729
|
this.menu.viewportNode = node;
|
|
732
730
|
},
|
|
733
|
-
|
|
731
|
+
deps: () => this.open,
|
|
734
732
|
});
|
|
735
733
|
$effect(() => {
|
|
736
734
|
this.open;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InteractOutsideEvent } from "../utilities/dismissible-layer/types.js";
|
|
2
2
|
import type { OnChangeFn, WithChild, Without } from "../../internal/types.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { BitsPrimitiveAnchorAttributes, BitsPrimitiveButtonAttributes, BitsPrimitiveDivAttributes, BitsPrimitiveElementAttributes, BitsPrimitiveLiAttributes, BitsPrimitiveUListAttributes } from "../../shared/attributes.js";
|
|
4
4
|
import type { Direction, Orientation } from "../../shared/index.js";
|
|
5
5
|
export type NavigationMenuRootPropsWithoutHTML = WithChild<{
|
|
6
6
|
/**
|
|
@@ -42,7 +42,7 @@ export type NavigationMenuRootPropsWithoutHTML = WithChild<{
|
|
|
42
42
|
*/
|
|
43
43
|
orientation?: Orientation;
|
|
44
44
|
}>;
|
|
45
|
-
export type NavigationMenuRootProps = NavigationMenuRootPropsWithoutHTML & Without<
|
|
45
|
+
export type NavigationMenuRootProps = NavigationMenuRootPropsWithoutHTML & Without<BitsPrimitiveElementAttributes, NavigationMenuRootPropsWithoutHTML>;
|
|
46
46
|
export type NavigationMenuSubPropsWithoutHTML = WithChild<{
|
|
47
47
|
/**
|
|
48
48
|
* The value of the currently open menu item within the menu.
|
|
@@ -59,16 +59,16 @@ export type NavigationMenuSubPropsWithoutHTML = WithChild<{
|
|
|
59
59
|
*/
|
|
60
60
|
orientation?: Orientation;
|
|
61
61
|
}>;
|
|
62
|
-
export type NavigationMenuSubProps = NavigationMenuSubPropsWithoutHTML & Without<
|
|
62
|
+
export type NavigationMenuSubProps = NavigationMenuSubPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, NavigationMenuSubPropsWithoutHTML>;
|
|
63
63
|
export type NavigationMenuListPropsWithoutHTML = WithChild;
|
|
64
|
-
export type NavigationMenuListProps = NavigationMenuListPropsWithoutHTML & Without<
|
|
64
|
+
export type NavigationMenuListProps = NavigationMenuListPropsWithoutHTML & Without<BitsPrimitiveUListAttributes, NavigationMenuListPropsWithoutHTML>;
|
|
65
65
|
export type NavigationMenuItemPropsWithoutHTML = WithChild<{
|
|
66
66
|
/**
|
|
67
67
|
* The value of the menu item.
|
|
68
68
|
*/
|
|
69
69
|
value?: string;
|
|
70
70
|
}>;
|
|
71
|
-
export type NavigationMenuItemProps = NavigationMenuItemPropsWithoutHTML & Without<
|
|
71
|
+
export type NavigationMenuItemProps = NavigationMenuItemPropsWithoutHTML & Without<BitsPrimitiveLiAttributes, NavigationMenuItemPropsWithoutHTML>;
|
|
72
72
|
export type NavigationMenuTriggerPropsWithoutHTML = WithChild<{
|
|
73
73
|
/**
|
|
74
74
|
* Whether the trigger is disabled.
|
|
@@ -76,7 +76,7 @@ export type NavigationMenuTriggerPropsWithoutHTML = WithChild<{
|
|
|
76
76
|
*/
|
|
77
77
|
disabled?: boolean | null | undefined;
|
|
78
78
|
}>;
|
|
79
|
-
export type NavigationMenuTriggerProps = NavigationMenuTriggerPropsWithoutHTML & Without<
|
|
79
|
+
export type NavigationMenuTriggerProps = NavigationMenuTriggerPropsWithoutHTML & Without<BitsPrimitiveButtonAttributes, NavigationMenuTriggerPropsWithoutHTML>;
|
|
80
80
|
export type NavigationMenuContentPropsWithoutHTML = WithChild<{
|
|
81
81
|
/**
|
|
82
82
|
* Callback fired when an interaction occurs outside the content.
|
|
@@ -103,7 +103,7 @@ export type NavigationMenuContentPropsWithoutHTML = WithChild<{
|
|
|
103
103
|
*/
|
|
104
104
|
forceMount?: boolean;
|
|
105
105
|
}>;
|
|
106
|
-
export type NavigationMenuContentProps = NavigationMenuContentPropsWithoutHTML & Without<
|
|
106
|
+
export type NavigationMenuContentProps = NavigationMenuContentPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, NavigationMenuContentPropsWithoutHTML>;
|
|
107
107
|
export type NavigationMenuLinkPropsWithoutHTML = WithChild<{
|
|
108
108
|
/**
|
|
109
109
|
* Whether the link is the current active page
|
|
@@ -115,7 +115,7 @@ export type NavigationMenuLinkPropsWithoutHTML = WithChild<{
|
|
|
115
115
|
*/
|
|
116
116
|
onSelect?: (e: Event) => void;
|
|
117
117
|
}>;
|
|
118
|
-
export type NavigationMenuLinkProps = NavigationMenuLinkPropsWithoutHTML & Without<
|
|
118
|
+
export type NavigationMenuLinkProps = NavigationMenuLinkPropsWithoutHTML & Without<BitsPrimitiveAnchorAttributes, NavigationMenuLinkPropsWithoutHTML>;
|
|
119
119
|
export type NavigationMenuIndicatorPropsWithoutHTML = WithChild<{
|
|
120
120
|
/**
|
|
121
121
|
* Whether to forcefully mount the content, regardless of the open state.
|
|
@@ -126,7 +126,7 @@ export type NavigationMenuIndicatorPropsWithoutHTML = WithChild<{
|
|
|
126
126
|
*/
|
|
127
127
|
forceMount?: boolean;
|
|
128
128
|
}>;
|
|
129
|
-
export type NavigationMenuIndicatorProps = NavigationMenuIndicatorPropsWithoutHTML & Without<
|
|
129
|
+
export type NavigationMenuIndicatorProps = NavigationMenuIndicatorPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, NavigationMenuIndicatorPropsWithoutHTML>;
|
|
130
130
|
export type NavigationMenuViewportPropsWithoutHTML = WithChild<{
|
|
131
131
|
/**
|
|
132
132
|
* Whether to forcefully mount the content, regardless of the open state.
|
|
@@ -137,4 +137,4 @@ export type NavigationMenuViewportPropsWithoutHTML = WithChild<{
|
|
|
137
137
|
*/
|
|
138
138
|
forceMount?: boolean;
|
|
139
139
|
}>;
|
|
140
|
-
export type NavigationMenuViewportProps = NavigationMenuViewportPropsWithoutHTML & Without<
|
|
140
|
+
export type NavigationMenuViewportProps = NavigationMenuViewportPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, NavigationMenuViewportPropsWithoutHTML>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { PaginationNextButtonProps } from "../types.js";
|
|
4
4
|
import { usePaginationButton } from "../pagination.svelte.js";
|
|
5
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
6
5
|
import { useId } from "../../../internal/use-id.js";
|
|
7
6
|
|
|
8
7
|
let {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { PaginationPageProps } from "../types.js";
|
|
4
4
|
import { usePaginationPage } from "../pagination.svelte.js";
|
|
5
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
6
5
|
import { useId } from "../../../internal/use-id.js";
|
|
7
6
|
|
|
8
7
|
let {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { PaginationPrevButtonProps } from "../types.js";
|
|
4
4
|
import { usePaginationButton } from "../pagination.svelte.js";
|
|
5
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
6
5
|
import { useId } from "../../../internal/use-id.js";
|
|
7
6
|
|
|
8
7
|
let {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { PaginationRootProps } from "../types.js";
|
|
4
4
|
import { usePaginationRoot } from "../pagination.svelte.js";
|
|
5
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
6
5
|
import { useId } from "../../../internal/use-id.js";
|
|
7
|
-
import { noop } from "../../../internal/
|
|
6
|
+
import { noop } from "../../../internal/noop.js";
|
|
8
7
|
|
|
9
8
|
let {
|
|
10
9
|
id = useId(),
|
|
@@ -14,6 +14,6 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
14
14
|
}
|
|
15
15
|
declare const Pagination: $$__sveltets_2_IsomorphicComponent<PaginationRootProps, {
|
|
16
16
|
[evt: string]: CustomEvent<any>;
|
|
17
|
-
}, {}, {}, "
|
|
17
|
+
}, {}, {}, "ref" | "page">;
|
|
18
18
|
type Pagination = InstanceType<typeof Pagination>;
|
|
19
19
|
export default Pagination;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useRefById } from "
|
|
1
|
+
import { useRefById } from "svelte-toolbelt";
|
|
2
2
|
import { getDataOrientation } from "../../internal/attrs.js";
|
|
3
3
|
import { getElemDirection } from "../../internal/locale.js";
|
|
4
4
|
import { kbd } from "../../internal/kbd.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OnChangeFn, WithChild, Without } from "../../internal/types.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { BitsPrimitiveButtonAttributes, BitsPrimitiveDivAttributes } from "../../shared/attributes.js";
|
|
3
3
|
type PaginationSnippetProps = {
|
|
4
4
|
pages: PageItem[];
|
|
5
5
|
range: {
|
|
@@ -58,15 +58,15 @@ export type PaginationRootPropsWithoutHTML = WithChild<{
|
|
|
58
58
|
*/
|
|
59
59
|
controlledPage?: boolean;
|
|
60
60
|
}, PaginationSnippetProps>;
|
|
61
|
-
export type PaginationRootProps = PaginationRootPropsWithoutHTML & Without<
|
|
61
|
+
export type PaginationRootProps = PaginationRootPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, PaginationRootPropsWithoutHTML>;
|
|
62
62
|
export type PaginationPagePropsWithoutHTML = WithChild<{
|
|
63
63
|
page: Page;
|
|
64
64
|
}>;
|
|
65
|
-
export type PaginationPageProps = PaginationPagePropsWithoutHTML & Without<
|
|
65
|
+
export type PaginationPageProps = PaginationPagePropsWithoutHTML & Without<BitsPrimitiveButtonAttributes, PaginationPagePropsWithoutHTML>;
|
|
66
66
|
export type PaginationPrevButtonPropsWithoutHTML = WithChild;
|
|
67
|
-
export type PaginationPrevButtonProps = PaginationPrevButtonPropsWithoutHTML & Without<
|
|
67
|
+
export type PaginationPrevButtonProps = PaginationPrevButtonPropsWithoutHTML & Without<BitsPrimitiveButtonAttributes, PaginationPrevButtonPropsWithoutHTML>;
|
|
68
68
|
export type PaginationNextButtonPropsWithoutHTML = WithChild;
|
|
69
|
-
export type PaginationNextButtonProps = PaginationNextButtonPropsWithoutHTML & Without<
|
|
69
|
+
export type PaginationNextButtonProps = PaginationNextButtonPropsWithoutHTML & Without<BitsPrimitiveButtonAttributes, PaginationNextButtonPropsWithoutHTML>;
|
|
70
70
|
export type Page = {
|
|
71
71
|
type: "page";
|
|
72
72
|
value: number;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { PinInputCellProps } from "../types.js";
|
|
4
4
|
import { usePinInputCell } from "../pin-input.svelte.js";
|
|
5
5
|
import { useId } from "../../../internal/use-id.js";
|
|
6
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
7
6
|
|
|
8
7
|
let {
|
|
9
8
|
id = useId(),
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { PinInputRootProps } from "../types.js";
|
|
4
4
|
import { REGEXP_ONLY_DIGITS, usePinInput } from "../pin-input.svelte.js";
|
|
5
5
|
import { useId } from "../../../internal/use-id.js";
|
|
6
|
-
import { noop } from "../../../internal/
|
|
7
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
6
|
+
import { noop } from "../../../internal/noop.js";
|
|
8
7
|
|
|
9
8
|
let {
|
|
10
9
|
id = useId(),
|
|
@@ -50,7 +50,7 @@ declare class PinInputRootState {
|
|
|
50
50
|
clipPath: string | undefined;
|
|
51
51
|
height: string;
|
|
52
52
|
display: string;
|
|
53
|
-
textAlign: "center" | "
|
|
53
|
+
textAlign: "center" | "right" | "left" | undefined;
|
|
54
54
|
opacity: string;
|
|
55
55
|
color: string;
|
|
56
56
|
pointerEvents: string;
|
|
@@ -65,11 +65,11 @@ declare class PinInputRootState {
|
|
|
65
65
|
fontFamily: string;
|
|
66
66
|
fontVariantNumeric: string;
|
|
67
67
|
};
|
|
68
|
-
autocomplete: "on" | "name" | "off" | "tel" | "url" | "email" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday-day" | "bday-month" | "bday-year" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "new-password" | "one-time-code" | "organization" | "postal-code" | "street-address" | "transaction-amount" | "transaction-currency" | "username" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-local-prefix" | "tel-local-suffix" | "tel-national" | "home tel" | "home email" | "home tel-area-code" | "home tel-country-code" | "home tel-extension" | "home tel-local" | "home tel-local-prefix" | "home tel-local-suffix" | "home tel-national" | "mobile tel" | "mobile email" | "mobile tel-area-code" | "mobile tel-country-code" | "mobile tel-extension" | "mobile tel-local" | "mobile tel-local-prefix" | "mobile tel-local-suffix" | "mobile tel-national" | "work tel" | "work email" | "work tel-area-code" | "work tel-country-code" | "work tel-extension" | "work tel-local" | "work tel-local-prefix" | "work tel-local-suffix" | "work tel-national" | "name webauthn" | "additional-name webauthn" | "address-level1 webauthn" | "address-level2 webauthn" | "address-level3 webauthn" | "address-level4 webauthn" | "address-line1 webauthn" | "address-line2 webauthn" | "address-line3 webauthn" | "bday-day webauthn" | "bday-month webauthn" | "bday-year webauthn" | "cc-csc webauthn" | "cc-exp webauthn" | "cc-exp-month webauthn" | "cc-exp-year webauthn" | "cc-family-name webauthn" | "cc-given-name webauthn" | "cc-name webauthn" | "cc-number webauthn" | "cc-type webauthn" | "country webauthn" | "country-name webauthn" | "current-password webauthn" | "family-name webauthn" | "given-name webauthn" | "honorific-prefix webauthn" | "honorific-suffix webauthn" | "new-password webauthn" | "one-time-code webauthn" | "organization webauthn" | "postal-code webauthn" | "street-address webauthn" | "transaction-amount webauthn" | "transaction-currency webauthn" | "username webauthn" | "tel webauthn" | "email webauthn" | "tel-area-code webauthn" | "tel-country-code webauthn" | "tel-extension webauthn" | "tel-local webauthn" | "tel-local-prefix webauthn" | "tel-local-suffix webauthn" | "tel-national webauthn" | "home tel webauthn" | "home email webauthn" | "home tel-area-code webauthn" | "home tel-country-code webauthn" | "home tel-extension webauthn" | "home tel-local webauthn" | "home tel-local-prefix webauthn" | "home tel-local-suffix webauthn" | "home tel-national webauthn" | "mobile tel webauthn" | "mobile email webauthn" | "mobile tel-area-code webauthn" | "mobile tel-country-code webauthn" | "mobile tel-extension webauthn" | "mobile tel-local webauthn" | "mobile tel-local-prefix webauthn" | "mobile tel-local-suffix webauthn" | "mobile tel-national webauthn" | "work tel webauthn" | "work email webauthn" | "work tel-area-code webauthn" | "work tel-country-code webauthn" | "work tel-extension webauthn" | "work tel-local webauthn" | "work tel-local-prefix webauthn" | "work tel-local-suffix webauthn" | "work tel-national webauthn" | "billing name" | "billing name webauthn" | "billing additional-name" | "billing additional-name webauthn" | "billing address-level1" | "billing address-level1 webauthn" | "billing address-level2" | "billing address-level2 webauthn" | "billing address-level3" | "billing address-level3 webauthn" | "billing address-level4" | "billing address-level4 webauthn" | "billing address-line1" | "billing address-line1 webauthn" | "billing address-line2" | "billing address-line2 webauthn" | "billing address-line3" | "billing address-line3 webauthn" | "billing bday-day" | "billing bday-day webauthn" | "billing bday-month" | "billing bday-month webauthn" | "billing bday-year" | "billing bday-year webauthn" | "billing cc-csc" | "billing cc-csc webauthn" | "billing cc-exp" | "billing cc-exp webauthn" | "billing cc-exp-month" | "billing cc-exp-month webauthn" | "billing cc-exp-year" | "billing cc-exp-year webauthn" | "billing cc-family-name" | "billing cc-family-name webauthn" | "billing cc-given-name" | "billing cc-given-name webauthn" | "billing cc-name" | "billing cc-name webauthn" | "billing cc-number" | "billing cc-number webauthn" | "billing cc-type" | "billing cc-type webauthn" | "billing country" | "billing country webauthn" | "billing country-name" | "billing country-name webauthn" | "billing current-password" | "billing current-password webauthn" | "billing family-name" | "billing family-name webauthn" | "billing given-name" | "billing given-name webauthn" | "billing honorific-prefix" | "billing honorific-prefix webauthn" | "billing honorific-suffix" | "billing honorific-suffix webauthn" | "billing new-password" | "billing new-password webauthn" | "billing one-time-code" | "billing one-time-code webauthn" | "billing organization" | "billing organization webauthn" | "billing postal-code" | "billing postal-code webauthn" | "billing street-address" | "billing street-address webauthn" | "billing transaction-amount" | "billing transaction-amount webauthn" | "billing transaction-currency" | "billing transaction-currency webauthn" | "billing username" | "billing username webauthn" | "billing tel" | "billing tel webauthn" | "billing email" | "billing email webauthn" | "billing tel-area-code" | "billing tel-area-code webauthn" | "billing tel-country-code" | "billing tel-country-code webauthn" | "billing tel-extension" | "billing tel-extension webauthn" | "billing tel-local" | "billing tel-local webauthn" | "billing tel-local-prefix" | "billing tel-local-prefix webauthn" | "billing tel-local-suffix" | "billing tel-local-suffix webauthn" | "billing tel-national" | "billing tel-national webauthn" | "billing home tel" | "billing home tel webauthn" | "billing home email" | "billing home email webauthn" | "billing home tel-area-code" | "billing home tel-area-code webauthn" | "billing home tel-country-code" | "billing home tel-country-code webauthn" | "billing home tel-extension" | "billing home tel-extension webauthn" | "billing home tel-local" | "billing home tel-local webauthn" | "billing home tel-local-prefix" | "billing home tel-local-prefix webauthn" | "billing home tel-local-suffix" | "billing home tel-local-suffix webauthn" | "billing home tel-national" | "billing home tel-national webauthn" | "billing mobile tel" | "billing mobile tel webauthn" | "billing mobile email" | "billing mobile email webauthn" | "billing mobile tel-area-code" | "billing mobile tel-area-code webauthn" | "billing mobile tel-country-code" | "billing mobile tel-country-code webauthn" | "billing mobile tel-extension" | "billing mobile tel-extension webauthn" | "billing mobile tel-local" | "billing mobile tel-local webauthn" | "billing mobile tel-local-prefix" | "billing mobile tel-local-prefix webauthn" | "billing mobile tel-local-suffix" | "billing mobile tel-local-suffix webauthn" | "billing mobile tel-national" | "billing mobile tel-national webauthn" | "billing work tel" | "billing work tel webauthn" | "billing work email" | "billing work email webauthn" | "billing work tel-area-code" | "billing work tel-area-code webauthn" | "billing work tel-country-code" | "billing work tel-country-code webauthn" | "billing work tel-extension" | "billing work tel-extension webauthn" | "billing work tel-local" | "billing work tel-local webauthn" | "billing work tel-local-prefix" | "billing work tel-local-prefix webauthn" | "billing work tel-local-suffix" | "billing work tel-local-suffix webauthn" | "billing work tel-national" | "billing work tel-national webauthn" | "shipping name" | "shipping name webauthn" | "shipping additional-name" | "shipping additional-name webauthn" | "shipping address-level1" | "shipping address-level1 webauthn" | "shipping address-level2" | "shipping address-level2 webauthn" | "shipping address-level3" | "shipping address-level3 webauthn" | "shipping address-level4" | "shipping address-level4 webauthn" | "shipping address-line1" | "shipping address-line1 webauthn" | "shipping address-line2" | "shipping address-line2 webauthn" | "shipping address-line3" | "shipping address-line3 webauthn" | "shipping bday-day" | "shipping bday-day webauthn" | "shipping bday-month" | "shipping bday-month webauthn" | "shipping bday-year" | "shipping bday-year webauthn" | "shipping cc-csc" | "shipping cc-csc webauthn" | "shipping cc-exp" | "shipping cc-exp webauthn" | "shipping cc-exp-month" | "shipping cc-exp-month webauthn" | "shipping cc-exp-year" | "shipping cc-exp-year webauthn" | "shipping cc-family-name" | "shipping cc-family-name webauthn" | "shipping cc-given-name" | "shipping cc-given-name webauthn" | "shipping cc-name" | "shipping cc-name webauthn" | "shipping cc-number" | "shipping cc-number webauthn" | "shipping cc-type" | "shipping cc-type webauthn" | "shipping country" | "shipping country webauthn" | "shipping country-name" | "shipping country-name webauthn" | "shipping current-password" | "shipping current-password webauthn" | "shipping family-name" | "shipping family-name webauthn" | "shipping given-name" | "shipping given-name webauthn" | "shipping honorific-prefix" | "shipping honorific-prefix webauthn" | "shipping honorific-suffix" | "shipping honorific-suffix webauthn" | "shipping new-password" | "shipping new-password webauthn" | "shipping one-time-code" | "shipping one-time-code webauthn" | "shipping organization" | "shipping organization webauthn" | "shipping postal-code" | "shipping postal-code webauthn" | "shipping street-address" | "shipping street-address webauthn" | "shipping transaction-amount" | "shipping transaction-amount webauthn" | "shipping transaction-currency" | "shipping transaction-currency webauthn" | "shipping username" | "shipping username webauthn" | "shipping tel" | "shipping tel webauthn" | "shipping email" | "shipping email webauthn" | "shipping tel-area-code" | "shipping tel-area-code webauthn" | "shipping tel-country-code" | "shipping tel-country-code webauthn" | "shipping tel-extension" | "shipping tel-extension webauthn" | "shipping tel-local" | "shipping tel-local webauthn" | "shipping tel-local-prefix" | "shipping tel-local-prefix webauthn" | "shipping tel-local-suffix" | "shipping tel-local-suffix webauthn" | "shipping tel-national" | "shipping tel-national webauthn" | "shipping home tel" | "shipping home tel webauthn" | "shipping home email" | "shipping home email webauthn" | "shipping home tel-area-code" | "shipping home tel-area-code webauthn" | "shipping home tel-country-code" | "shipping home tel-country-code webauthn" | "shipping home tel-extension" | "shipping home tel-extension webauthn" | "shipping home tel-local" | "shipping home tel-local webauthn" | "shipping home tel-local-prefix" | "shipping home tel-local-prefix webauthn" | "shipping home tel-local-suffix" | "shipping home tel-local-suffix webauthn" | "shipping home tel-national" | "shipping home tel-national webauthn" | "shipping mobile tel" | "shipping mobile tel webauthn" | "shipping mobile email" | "shipping mobile email webauthn" | "shipping mobile tel-area-code" | "shipping mobile tel-area-code webauthn" | "shipping mobile tel-country-code" | "shipping mobile tel-country-code webauthn" | "shipping mobile tel-extension" | "shipping mobile tel-extension webauthn" | "shipping mobile tel-local" | "shipping mobile tel-local webauthn" | "shipping mobile tel-local-prefix" | "shipping mobile tel-local-prefix webauthn" | "shipping mobile tel-local-suffix" | "shipping mobile tel-local-suffix webauthn" | "shipping mobile tel-national" | "shipping mobile tel-national webauthn" | "shipping work tel" | "shipping work tel webauthn" | "shipping work email" | "shipping work email webauthn" | "shipping work tel-area-code" | "shipping work tel-area-code webauthn" | "shipping work tel-country-code" | "shipping work tel-country-code webauthn" | "shipping work tel-extension" | "shipping work tel-extension webauthn" | "shipping work tel-local" | "shipping work tel-local webauthn" | "shipping work tel-local-prefix" | "shipping work tel-local-prefix webauthn" | "shipping work tel-local-suffix" | "shipping work tel-local-suffix webauthn" | "shipping work tel-national" | "shipping work tel-national webauthn" | `section-${string} name` | `section-${string} name webauthn` | `section-${string} additional-name` | `section-${string} additional-name webauthn` | `section-${string} address-level1` | `section-${string} address-level1 webauthn` | `section-${string} address-level2` | `section-${string} address-level2 webauthn` | `section-${string} address-level3` | `section-${string} address-level3 webauthn` | `section-${string} address-level4` | `section-${string} address-level4 webauthn` | `section-${string} address-line1` | `section-${string} address-line1 webauthn` | `section-${string} address-line2` | `section-${string} address-line2 webauthn` | `section-${string} address-line3` | `section-${string} address-line3 webauthn` | `section-${string} bday-day` | `section-${string} bday-day webauthn` | `section-${string} bday-month` | `section-${string} bday-month webauthn` | `section-${string} bday-year` | `section-${string} bday-year webauthn` | `section-${string} cc-csc` | `section-${string} cc-csc webauthn` | `section-${string} cc-exp` | `section-${string} cc-exp webauthn` | `section-${string} cc-exp-month` | `section-${string} cc-exp-month webauthn` | `section-${string} cc-exp-year` | `section-${string} cc-exp-year webauthn` | `section-${string} cc-family-name` | `section-${string} cc-family-name webauthn` | `section-${string} cc-given-name` | `section-${string} cc-given-name webauthn` | `section-${string} cc-name` | `section-${string} cc-name webauthn` | `section-${string} cc-number` | `section-${string} cc-number webauthn` | `section-${string} cc-type` | `section-${string} cc-type webauthn` | `section-${string} country` | `section-${string} country webauthn` | `section-${string} country-name` | `section-${string} country-name webauthn` | `section-${string} current-password` | `section-${string} current-password webauthn` | `section-${string} family-name` | `section-${string} family-name webauthn` | `section-${string} given-name` | `section-${string} given-name webauthn` | `section-${string} honorific-prefix` | `section-${string} honorific-prefix webauthn` | `section-${string} honorific-suffix` | `section-${string} honorific-suffix webauthn` | `section-${string} new-password` | `section-${string} new-password webauthn` | `section-${string} one-time-code` | `section-${string} one-time-code webauthn` | `section-${string} organization` | `section-${string} organization webauthn` | `section-${string} postal-code` | `section-${string} postal-code webauthn` | `section-${string} street-address` | `section-${string} street-address webauthn` | `section-${string} transaction-amount` | `section-${string} transaction-amount webauthn` | `section-${string} transaction-currency` | `section-${string} transaction-currency webauthn` | `section-${string} username` | `section-${string} username webauthn` | `section-${string} tel` | `section-${string} tel webauthn` | `section-${string} email` | `section-${string} email webauthn` | `section-${string} tel-area-code` | `section-${string} tel-area-code webauthn` | `section-${string} tel-country-code` | `section-${string} tel-country-code webauthn` | `section-${string} tel-extension` | `section-${string} tel-extension webauthn` | `section-${string} tel-local` | `section-${string} tel-local webauthn` | `section-${string} tel-local-prefix` | `section-${string} tel-local-prefix webauthn` | `section-${string} tel-local-suffix` | `section-${string} tel-local-suffix webauthn` | `section-${string} tel-national` | `section-${string} tel-national webauthn` | "bday" | "cc-additional-name" | "billing cc-additional-name" | "shipping cc-additional-name" | "nickname" | "language" | "organization-title" | "photo" | "sex";
|
|
68
|
+
autocomplete: "name" | "on" | "off" | "tel" | "url" | "email" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday-day" | "bday-month" | "bday-year" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "new-password" | "one-time-code" | "organization" | "postal-code" | "street-address" | "transaction-amount" | "transaction-currency" | "username" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-local-prefix" | "tel-local-suffix" | "tel-national" | "home tel" | "home email" | "home tel-area-code" | "home tel-country-code" | "home tel-extension" | "home tel-local" | "home tel-local-prefix" | "home tel-local-suffix" | "home tel-national" | "mobile tel" | "mobile email" | "mobile tel-area-code" | "mobile tel-country-code" | "mobile tel-extension" | "mobile tel-local" | "mobile tel-local-prefix" | "mobile tel-local-suffix" | "mobile tel-national" | "work tel" | "work email" | "work tel-area-code" | "work tel-country-code" | "work tel-extension" | "work tel-local" | "work tel-local-prefix" | "work tel-local-suffix" | "work tel-national" | "name webauthn" | "additional-name webauthn" | "address-level1 webauthn" | "address-level2 webauthn" | "address-level3 webauthn" | "address-level4 webauthn" | "address-line1 webauthn" | "address-line2 webauthn" | "address-line3 webauthn" | "bday-day webauthn" | "bday-month webauthn" | "bday-year webauthn" | "cc-csc webauthn" | "cc-exp webauthn" | "cc-exp-month webauthn" | "cc-exp-year webauthn" | "cc-family-name webauthn" | "cc-given-name webauthn" | "cc-name webauthn" | "cc-number webauthn" | "cc-type webauthn" | "country webauthn" | "country-name webauthn" | "current-password webauthn" | "family-name webauthn" | "given-name webauthn" | "honorific-prefix webauthn" | "honorific-suffix webauthn" | "new-password webauthn" | "one-time-code webauthn" | "organization webauthn" | "postal-code webauthn" | "street-address webauthn" | "transaction-amount webauthn" | "transaction-currency webauthn" | "username webauthn" | "tel webauthn" | "email webauthn" | "tel-area-code webauthn" | "tel-country-code webauthn" | "tel-extension webauthn" | "tel-local webauthn" | "tel-local-prefix webauthn" | "tel-local-suffix webauthn" | "tel-national webauthn" | "home tel webauthn" | "home email webauthn" | "home tel-area-code webauthn" | "home tel-country-code webauthn" | "home tel-extension webauthn" | "home tel-local webauthn" | "home tel-local-prefix webauthn" | "home tel-local-suffix webauthn" | "home tel-national webauthn" | "mobile tel webauthn" | "mobile email webauthn" | "mobile tel-area-code webauthn" | "mobile tel-country-code webauthn" | "mobile tel-extension webauthn" | "mobile tel-local webauthn" | "mobile tel-local-prefix webauthn" | "mobile tel-local-suffix webauthn" | "mobile tel-national webauthn" | "work tel webauthn" | "work email webauthn" | "work tel-area-code webauthn" | "work tel-country-code webauthn" | "work tel-extension webauthn" | "work tel-local webauthn" | "work tel-local-prefix webauthn" | "work tel-local-suffix webauthn" | "work tel-national webauthn" | "billing name" | "billing name webauthn" | "billing additional-name" | "billing additional-name webauthn" | "billing address-level1" | "billing address-level1 webauthn" | "billing address-level2" | "billing address-level2 webauthn" | "billing address-level3" | "billing address-level3 webauthn" | "billing address-level4" | "billing address-level4 webauthn" | "billing address-line1" | "billing address-line1 webauthn" | "billing address-line2" | "billing address-line2 webauthn" | "billing address-line3" | "billing address-line3 webauthn" | "billing bday-day" | "billing bday-day webauthn" | "billing bday-month" | "billing bday-month webauthn" | "billing bday-year" | "billing bday-year webauthn" | "billing cc-csc" | "billing cc-csc webauthn" | "billing cc-exp" | "billing cc-exp webauthn" | "billing cc-exp-month" | "billing cc-exp-month webauthn" | "billing cc-exp-year" | "billing cc-exp-year webauthn" | "billing cc-family-name" | "billing cc-family-name webauthn" | "billing cc-given-name" | "billing cc-given-name webauthn" | "billing cc-name" | "billing cc-name webauthn" | "billing cc-number" | "billing cc-number webauthn" | "billing cc-type" | "billing cc-type webauthn" | "billing country" | "billing country webauthn" | "billing country-name" | "billing country-name webauthn" | "billing current-password" | "billing current-password webauthn" | "billing family-name" | "billing family-name webauthn" | "billing given-name" | "billing given-name webauthn" | "billing honorific-prefix" | "billing honorific-prefix webauthn" | "billing honorific-suffix" | "billing honorific-suffix webauthn" | "billing new-password" | "billing new-password webauthn" | "billing one-time-code" | "billing one-time-code webauthn" | "billing organization" | "billing organization webauthn" | "billing postal-code" | "billing postal-code webauthn" | "billing street-address" | "billing street-address webauthn" | "billing transaction-amount" | "billing transaction-amount webauthn" | "billing transaction-currency" | "billing transaction-currency webauthn" | "billing username" | "billing username webauthn" | "billing tel" | "billing tel webauthn" | "billing email" | "billing email webauthn" | "billing tel-area-code" | "billing tel-area-code webauthn" | "billing tel-country-code" | "billing tel-country-code webauthn" | "billing tel-extension" | "billing tel-extension webauthn" | "billing tel-local" | "billing tel-local webauthn" | "billing tel-local-prefix" | "billing tel-local-prefix webauthn" | "billing tel-local-suffix" | "billing tel-local-suffix webauthn" | "billing tel-national" | "billing tel-national webauthn" | "billing home tel" | "billing home tel webauthn" | "billing home email" | "billing home email webauthn" | "billing home tel-area-code" | "billing home tel-area-code webauthn" | "billing home tel-country-code" | "billing home tel-country-code webauthn" | "billing home tel-extension" | "billing home tel-extension webauthn" | "billing home tel-local" | "billing home tel-local webauthn" | "billing home tel-local-prefix" | "billing home tel-local-prefix webauthn" | "billing home tel-local-suffix" | "billing home tel-local-suffix webauthn" | "billing home tel-national" | "billing home tel-national webauthn" | "billing mobile tel" | "billing mobile tel webauthn" | "billing mobile email" | "billing mobile email webauthn" | "billing mobile tel-area-code" | "billing mobile tel-area-code webauthn" | "billing mobile tel-country-code" | "billing mobile tel-country-code webauthn" | "billing mobile tel-extension" | "billing mobile tel-extension webauthn" | "billing mobile tel-local" | "billing mobile tel-local webauthn" | "billing mobile tel-local-prefix" | "billing mobile tel-local-prefix webauthn" | "billing mobile tel-local-suffix" | "billing mobile tel-local-suffix webauthn" | "billing mobile tel-national" | "billing mobile tel-national webauthn" | "billing work tel" | "billing work tel webauthn" | "billing work email" | "billing work email webauthn" | "billing work tel-area-code" | "billing work tel-area-code webauthn" | "billing work tel-country-code" | "billing work tel-country-code webauthn" | "billing work tel-extension" | "billing work tel-extension webauthn" | "billing work tel-local" | "billing work tel-local webauthn" | "billing work tel-local-prefix" | "billing work tel-local-prefix webauthn" | "billing work tel-local-suffix" | "billing work tel-local-suffix webauthn" | "billing work tel-national" | "billing work tel-national webauthn" | "shipping name" | "shipping name webauthn" | "shipping additional-name" | "shipping additional-name webauthn" | "shipping address-level1" | "shipping address-level1 webauthn" | "shipping address-level2" | "shipping address-level2 webauthn" | "shipping address-level3" | "shipping address-level3 webauthn" | "shipping address-level4" | "shipping address-level4 webauthn" | "shipping address-line1" | "shipping address-line1 webauthn" | "shipping address-line2" | "shipping address-line2 webauthn" | "shipping address-line3" | "shipping address-line3 webauthn" | "shipping bday-day" | "shipping bday-day webauthn" | "shipping bday-month" | "shipping bday-month webauthn" | "shipping bday-year" | "shipping bday-year webauthn" | "shipping cc-csc" | "shipping cc-csc webauthn" | "shipping cc-exp" | "shipping cc-exp webauthn" | "shipping cc-exp-month" | "shipping cc-exp-month webauthn" | "shipping cc-exp-year" | "shipping cc-exp-year webauthn" | "shipping cc-family-name" | "shipping cc-family-name webauthn" | "shipping cc-given-name" | "shipping cc-given-name webauthn" | "shipping cc-name" | "shipping cc-name webauthn" | "shipping cc-number" | "shipping cc-number webauthn" | "shipping cc-type" | "shipping cc-type webauthn" | "shipping country" | "shipping country webauthn" | "shipping country-name" | "shipping country-name webauthn" | "shipping current-password" | "shipping current-password webauthn" | "shipping family-name" | "shipping family-name webauthn" | "shipping given-name" | "shipping given-name webauthn" | "shipping honorific-prefix" | "shipping honorific-prefix webauthn" | "shipping honorific-suffix" | "shipping honorific-suffix webauthn" | "shipping new-password" | "shipping new-password webauthn" | "shipping one-time-code" | "shipping one-time-code webauthn" | "shipping organization" | "shipping organization webauthn" | "shipping postal-code" | "shipping postal-code webauthn" | "shipping street-address" | "shipping street-address webauthn" | "shipping transaction-amount" | "shipping transaction-amount webauthn" | "shipping transaction-currency" | "shipping transaction-currency webauthn" | "shipping username" | "shipping username webauthn" | "shipping tel" | "shipping tel webauthn" | "shipping email" | "shipping email webauthn" | "shipping tel-area-code" | "shipping tel-area-code webauthn" | "shipping tel-country-code" | "shipping tel-country-code webauthn" | "shipping tel-extension" | "shipping tel-extension webauthn" | "shipping tel-local" | "shipping tel-local webauthn" | "shipping tel-local-prefix" | "shipping tel-local-prefix webauthn" | "shipping tel-local-suffix" | "shipping tel-local-suffix webauthn" | "shipping tel-national" | "shipping tel-national webauthn" | "shipping home tel" | "shipping home tel webauthn" | "shipping home email" | "shipping home email webauthn" | "shipping home tel-area-code" | "shipping home tel-area-code webauthn" | "shipping home tel-country-code" | "shipping home tel-country-code webauthn" | "shipping home tel-extension" | "shipping home tel-extension webauthn" | "shipping home tel-local" | "shipping home tel-local webauthn" | "shipping home tel-local-prefix" | "shipping home tel-local-prefix webauthn" | "shipping home tel-local-suffix" | "shipping home tel-local-suffix webauthn" | "shipping home tel-national" | "shipping home tel-national webauthn" | "shipping mobile tel" | "shipping mobile tel webauthn" | "shipping mobile email" | "shipping mobile email webauthn" | "shipping mobile tel-area-code" | "shipping mobile tel-area-code webauthn" | "shipping mobile tel-country-code" | "shipping mobile tel-country-code webauthn" | "shipping mobile tel-extension" | "shipping mobile tel-extension webauthn" | "shipping mobile tel-local" | "shipping mobile tel-local webauthn" | "shipping mobile tel-local-prefix" | "shipping mobile tel-local-prefix webauthn" | "shipping mobile tel-local-suffix" | "shipping mobile tel-local-suffix webauthn" | "shipping mobile tel-national" | "shipping mobile tel-national webauthn" | "shipping work tel" | "shipping work tel webauthn" | "shipping work email" | "shipping work email webauthn" | "shipping work tel-area-code" | "shipping work tel-area-code webauthn" | "shipping work tel-country-code" | "shipping work tel-country-code webauthn" | "shipping work tel-extension" | "shipping work tel-extension webauthn" | "shipping work tel-local" | "shipping work tel-local webauthn" | "shipping work tel-local-prefix" | "shipping work tel-local-prefix webauthn" | "shipping work tel-local-suffix" | "shipping work tel-local-suffix webauthn" | "shipping work tel-national" | "shipping work tel-national webauthn" | `section-${string} name` | `section-${string} name webauthn` | `section-${string} additional-name` | `section-${string} additional-name webauthn` | `section-${string} address-level1` | `section-${string} address-level1 webauthn` | `section-${string} address-level2` | `section-${string} address-level2 webauthn` | `section-${string} address-level3` | `section-${string} address-level3 webauthn` | `section-${string} address-level4` | `section-${string} address-level4 webauthn` | `section-${string} address-line1` | `section-${string} address-line1 webauthn` | `section-${string} address-line2` | `section-${string} address-line2 webauthn` | `section-${string} address-line3` | `section-${string} address-line3 webauthn` | `section-${string} bday-day` | `section-${string} bday-day webauthn` | `section-${string} bday-month` | `section-${string} bday-month webauthn` | `section-${string} bday-year` | `section-${string} bday-year webauthn` | `section-${string} cc-csc` | `section-${string} cc-csc webauthn` | `section-${string} cc-exp` | `section-${string} cc-exp webauthn` | `section-${string} cc-exp-month` | `section-${string} cc-exp-month webauthn` | `section-${string} cc-exp-year` | `section-${string} cc-exp-year webauthn` | `section-${string} cc-family-name` | `section-${string} cc-family-name webauthn` | `section-${string} cc-given-name` | `section-${string} cc-given-name webauthn` | `section-${string} cc-name` | `section-${string} cc-name webauthn` | `section-${string} cc-number` | `section-${string} cc-number webauthn` | `section-${string} cc-type` | `section-${string} cc-type webauthn` | `section-${string} country` | `section-${string} country webauthn` | `section-${string} country-name` | `section-${string} country-name webauthn` | `section-${string} current-password` | `section-${string} current-password webauthn` | `section-${string} family-name` | `section-${string} family-name webauthn` | `section-${string} given-name` | `section-${string} given-name webauthn` | `section-${string} honorific-prefix` | `section-${string} honorific-prefix webauthn` | `section-${string} honorific-suffix` | `section-${string} honorific-suffix webauthn` | `section-${string} new-password` | `section-${string} new-password webauthn` | `section-${string} one-time-code` | `section-${string} one-time-code webauthn` | `section-${string} organization` | `section-${string} organization webauthn` | `section-${string} postal-code` | `section-${string} postal-code webauthn` | `section-${string} street-address` | `section-${string} street-address webauthn` | `section-${string} transaction-amount` | `section-${string} transaction-amount webauthn` | `section-${string} transaction-currency` | `section-${string} transaction-currency webauthn` | `section-${string} username` | `section-${string} username webauthn` | `section-${string} tel` | `section-${string} tel webauthn` | `section-${string} email` | `section-${string} email webauthn` | `section-${string} tel-area-code` | `section-${string} tel-area-code webauthn` | `section-${string} tel-country-code` | `section-${string} tel-country-code webauthn` | `section-${string} tel-extension` | `section-${string} tel-extension webauthn` | `section-${string} tel-local` | `section-${string} tel-local webauthn` | `section-${string} tel-local-prefix` | `section-${string} tel-local-prefix webauthn` | `section-${string} tel-local-suffix` | `section-${string} tel-local-suffix webauthn` | `section-${string} tel-national` | `section-${string} tel-national webauthn` | "bday" | "cc-additional-name" | "billing cc-additional-name" | "shipping cc-additional-name" | "nickname" | "language" | "organization-title" | "photo" | "sex";
|
|
69
69
|
"data-pin-input-input": string;
|
|
70
70
|
"data-pin-input-input-mss": number | null;
|
|
71
71
|
"data-pin-input-input-mse": number | null;
|
|
72
|
-
inputmode: "
|
|
72
|
+
inputmode: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | null | undefined;
|
|
73
73
|
pattern: any;
|
|
74
74
|
maxlength: number;
|
|
75
75
|
value: string;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Previous } from "runed";
|
|
2
2
|
import { untrack } from "svelte";
|
|
3
|
-
import { box } from "svelte-toolbelt";
|
|
3
|
+
import { box, useRefById } from "svelte-toolbelt";
|
|
4
4
|
import { usePasswordManagerBadge } from "./usePasswordManager.svelte.js";
|
|
5
|
-
import {
|
|
6
|
-
import { noop } from "../../internal/callbacks.js";
|
|
5
|
+
import { noop } from "../../internal/noop.js";
|
|
7
6
|
import { addEventListener } from "../../internal/events.js";
|
|
8
7
|
import { getDisabled } from "../../internal/attrs.js";
|
|
9
8
|
export const REGEXP_ONLY_DIGITS = "^\\d+$";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Snippet } from "svelte";
|
|
2
2
|
import type { OnChangeFn, WithChild, Without } from "../../internal/types.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { BitsPrimitiveDivAttributes, BitsPrimitiveInputAttributes } from "../../shared/attributes.js";
|
|
4
4
|
export type PinInputRootSnippetProps = {
|
|
5
5
|
cells: PinInputCell[];
|
|
6
6
|
isFocused: boolean;
|
|
@@ -66,7 +66,7 @@ export type PinInputRootPropsWithoutHTML = Omit<WithChild<{
|
|
|
66
66
|
*/
|
|
67
67
|
children: Snippet<[PinInputRootSnippetProps]>;
|
|
68
68
|
}, PinInputRootSnippetProps>, "child">;
|
|
69
|
-
export type PinInputRootProps = PinInputRootPropsWithoutHTML & Without<
|
|
69
|
+
export type PinInputRootProps = PinInputRootPropsWithoutHTML & Without<BitsPrimitiveInputAttributes, PinInputRootPropsWithoutHTML>;
|
|
70
70
|
export type PinInputCellPropsWithoutHTML = WithChild<{
|
|
71
71
|
/**
|
|
72
72
|
* This specific cell, which is provided by the `cells` snippet prop from
|
|
@@ -74,7 +74,7 @@ export type PinInputCellPropsWithoutHTML = WithChild<{
|
|
|
74
74
|
*/
|
|
75
75
|
cell: PinInputCell;
|
|
76
76
|
}>;
|
|
77
|
-
export type PinInputCellProps = PinInputCellPropsWithoutHTML & Without<
|
|
77
|
+
export type PinInputCellProps = PinInputCellPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, PinInputCellPropsWithoutHTML>;
|
|
78
78
|
export type PinInputCell = {
|
|
79
79
|
/**
|
|
80
80
|
* The character displayed in the cell.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { PopoverCloseProps } from "../types.js";
|
|
4
4
|
import { usePopoverClose } from "../popover.svelte.js";
|
|
5
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
6
5
|
import { useId } from "../../../internal/use-id.js";
|
|
7
6
|
|
|
8
7
|
let {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { PopoverContentStaticProps } from "../types.js";
|
|
4
4
|
import { usePopoverContent } from "../popover.svelte.js";
|
|
5
5
|
import PopperLayer from "../../utilities/popper-layer/popper-layer.svelte";
|
|
6
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
7
6
|
import { noop } from "../../../internal/noop.js";
|
|
8
7
|
import { useId } from "../../../internal/use-id.js";
|
|
9
8
|
|
|
@@ -64,7 +63,7 @@
|
|
|
64
63
|
{@render child({ props: finalProps, ...contentState.snippetProps })}
|
|
65
64
|
{:else}
|
|
66
65
|
<div {...finalProps}>
|
|
67
|
-
{@render children?.(
|
|
66
|
+
{@render children?.()}
|
|
68
67
|
</div>
|
|
69
68
|
{/if}
|
|
70
69
|
{/snippet}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { PopoverContentProps } from "../types.js";
|
|
4
4
|
import { usePopoverContent } from "../popover.svelte.js";
|
|
5
5
|
import PopperLayer from "../../utilities/popper-layer/popper-layer.svelte";
|
|
6
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
7
6
|
import { noop } from "../../../internal/noop.js";
|
|
8
7
|
import { useId } from "../../../internal/use-id.js";
|
|
9
8
|
import { getFloatingContentCSSVars } from "../../../internal/floating-svelte/floating-utils.svelte.js";
|
|
@@ -66,7 +65,7 @@
|
|
|
66
65
|
{@render child({ props: finalProps, ...contentState.snippetProps })}
|
|
67
66
|
{:else}
|
|
68
67
|
<div {...finalProps}>
|
|
69
|
-
{@render children?.(
|
|
68
|
+
{@render children?.()}
|
|
70
69
|
</div>
|
|
71
70
|
{/if}
|
|
72
71
|
{/snippet}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { PopoverTriggerProps } from "../types.js";
|
|
4
4
|
import { usePopoverTrigger } from "../popover.svelte.js";
|
|
5
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
6
5
|
import { useId } from "../../../internal/use-id.js";
|
|
7
6
|
import FloatingLayerAnchor from "../../utilities/floating-layer/components/floating-layer-anchor.svelte";
|
|
8
7
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import type { PopoverRootProps } from "../types.js";
|
|
4
4
|
import { usePopoverRoot } from "../popover.svelte.js";
|
|
5
5
|
import FloatingLayer from "../../utilities/floating-layer/components/floating-layer.svelte";
|
|
6
|
-
import { noop } from "../../../internal/
|
|
6
|
+
import { noop } from "../../../internal/noop.js";
|
|
7
7
|
|
|
8
8
|
let {
|
|
9
9
|
open = $bindable(false),
|
|
@@ -19,7 +19,7 @@ declare class PopoverTriggerState {
|
|
|
19
19
|
props: {
|
|
20
20
|
readonly id: string;
|
|
21
21
|
readonly "aria-haspopup": "dialog";
|
|
22
|
-
readonly "aria-expanded": "
|
|
22
|
+
readonly "aria-expanded": "true" | "false";
|
|
23
23
|
readonly "data-state": "open" | "closed";
|
|
24
24
|
readonly "aria-controls": string | undefined;
|
|
25
25
|
readonly "data-popover-trigger": "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useRefById } from "
|
|
1
|
+
import { useRefById } from "svelte-toolbelt";
|
|
2
2
|
import { kbd } from "../../internal/kbd.js";
|
|
3
3
|
import { getAriaExpanded, getDataOpenClosed } from "../../internal/attrs.js";
|
|
4
4
|
import { createContext } from "../../internal/create-context.js";
|
|
@@ -73,7 +73,7 @@ class PopoverContentState {
|
|
|
73
73
|
useRefById({
|
|
74
74
|
id: this.#id,
|
|
75
75
|
ref: this.#ref,
|
|
76
|
-
|
|
76
|
+
deps: () => this.root.open.current,
|
|
77
77
|
onRefChange: (node) => {
|
|
78
78
|
this.root.contentNode = node;
|
|
79
79
|
this.root.contentId = node?.id;
|
|
@@ -99,7 +99,7 @@ class PopoverCloseState {
|
|
|
99
99
|
useRefById({
|
|
100
100
|
id: this.#id,
|
|
101
101
|
ref: this.#ref,
|
|
102
|
-
|
|
102
|
+
deps: () => this.#root.open.current,
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
#onclick = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ArrowProps, ArrowPropsWithoutHTML } from "../utilities/arrow/types.js";
|
|
2
2
|
import type { PopperLayerProps, PopperLayerStaticProps } from "../utilities/popper-layer/types.js";
|
|
3
|
-
import type { OnChangeFn, WithChild, WithChildren, Without } from "../../internal/types.js";
|
|
4
|
-
import type {
|
|
3
|
+
import type { OnChangeFn, WithChild, WithChildNoChildrenSnippetProps, WithChildren, Without } from "../../internal/types.js";
|
|
4
|
+
import type { BitsPrimitiveButtonAttributes, BitsPrimitiveDivAttributes } from "../../shared/attributes.js";
|
|
5
5
|
export type PopoverRootPropsWithoutHTML = WithChildren<{
|
|
6
6
|
/**
|
|
7
7
|
* The open state of the popover.
|
|
@@ -28,13 +28,13 @@ export type PopoverContentSnippetProps = {
|
|
|
28
28
|
*/
|
|
29
29
|
open: boolean;
|
|
30
30
|
};
|
|
31
|
-
export type PopoverContentPropsWithoutHTML =
|
|
32
|
-
export type PopoverContentProps = PopoverContentPropsWithoutHTML & Without<
|
|
33
|
-
export type PopoverContentStaticPropsWithoutHTML =
|
|
34
|
-
export type PopoverContentStaticProps = PopoverContentStaticPropsWithoutHTML & Without<
|
|
31
|
+
export type PopoverContentPropsWithoutHTML = WithChildNoChildrenSnippetProps<Omit<PopperLayerProps, "content" | "loop">, PopoverContentSnippetProps>;
|
|
32
|
+
export type PopoverContentProps = PopoverContentPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, PopoverContentPropsWithoutHTML>;
|
|
33
|
+
export type PopoverContentStaticPropsWithoutHTML = WithChildNoChildrenSnippetProps<Omit<PopperLayerStaticProps, "content" | "loop">, PopoverContentSnippetProps>;
|
|
34
|
+
export type PopoverContentStaticProps = PopoverContentStaticPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, PopoverContentStaticPropsWithoutHTML>;
|
|
35
35
|
export type PopoverTriggerPropsWithoutHTML = WithChild;
|
|
36
|
-
export type PopoverTriggerProps = PopoverTriggerPropsWithoutHTML & Without<
|
|
36
|
+
export type PopoverTriggerProps = PopoverTriggerPropsWithoutHTML & Without<BitsPrimitiveButtonAttributes, PopoverTriggerPropsWithoutHTML>;
|
|
37
37
|
export type PopoverClosePropsWithoutHTML = WithChild;
|
|
38
|
-
export type PopoverCloseProps = PopoverClosePropsWithoutHTML & Without<
|
|
38
|
+
export type PopoverCloseProps = PopoverClosePropsWithoutHTML & Without<BitsPrimitiveButtonAttributes, PopoverClosePropsWithoutHTML>;
|
|
39
39
|
export type PopoverArrowPropsWithoutHTML = ArrowPropsWithoutHTML;
|
|
40
40
|
export type PopoverArrowProps = ArrowProps;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { box } from "svelte-toolbelt";
|
|
2
|
+
import { box, mergeProps } from "svelte-toolbelt";
|
|
3
3
|
import type { ProgressRootProps } from "../types.js";
|
|
4
4
|
import { useProgressRootState } from "../progress.svelte.js";
|
|
5
|
-
import { mergeProps } from "../../../internal/merge-props.js";
|
|
6
5
|
import { useId } from "../../../internal/use-id.js";
|
|
7
6
|
|
|
8
7
|
let {
|