@vizejs/ui 0.424.11 → 0.426.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alert-dialog.d.mts +1 -1
- package/dist/{announcer-ysbxZdzG.d.mts → announcer-Dldh-8I4.d.mts} +10 -10
- package/dist/announcer.d.mts +1 -1
- package/dist/avatar.d.mts +1 -1
- package/dist/badge.d.mts +1 -1
- package/dist/banner.d.mts +1 -1
- package/dist/block-ui.d.mts +1 -1
- package/dist/blockquote.d.mts +1 -1
- package/dist/callout.d.mts +1 -1
- package/dist/card.d.mts +1 -1
- package/dist/catalog.d.mts +23 -0
- package/dist/catalog.mjs +46 -0
- package/dist/checkbox.d.mts +1 -1
- package/dist/code.d.mts +1 -1
- package/dist/collapsible.d.mts +1 -1
- package/dist/copy-button.d.mts +1 -1
- package/dist/dialog.d.mts +1 -1
- package/dist/empty-state.d.mts +1 -1
- package/dist/fullscreen-button.d.mts +1 -1
- package/dist/heading.d.mts +1 -1
- package/dist/icon-button.d.mts +1 -1
- package/dist/icon.d.mts +1 -1
- package/dist/index.d.mts +5 -4
- package/dist/index.mjs +4 -3
- package/dist/interaction-hooks-sD63_AhA.d.mts +151 -0
- package/dist/interaction-hooks.d.mts +6 -0
- package/dist/interaction-hooks.mjs +198 -0
- package/dist/kbd.d.mts +1 -1
- package/dist/list.d.mts +1 -1
- package/dist/listbox.d.mts +1 -1
- package/dist/locale.d.mts +1 -1
- package/dist/native-select.d.mts +1 -1
- package/dist/pagination.d.mts +1 -1
- package/dist/popover.d.mts +1 -1
- package/dist/print-button.d.mts +1 -1
- package/dist/progress-bar.d.mts +1 -1
- package/dist/radio-group.d.mts +1 -1
- package/dist/scroll-area.d.mts +1 -1
- package/dist/share-button.d.mts +1 -1
- package/dist/status-light.d.mts +1 -1
- package/dist/stepper.d.mts +1 -1
- package/dist/surface.d.mts +1 -1
- package/dist/switch.d.mts +1 -1
- package/dist/tabs.d.mts +1 -1
- package/dist/text.d.mts +1 -1
- package/dist/toggle.d.mts +1 -1
- package/dist/tooltip.d.mts +1 -1
- package/package.json +13 -2
package/dist/index.mjs
CHANGED
|
@@ -85,8 +85,6 @@ import { t as icon_default } from "./icon-DhTTndMu.mjs";
|
|
|
85
85
|
import { i as field_default, n as field_error_message_default, r as field_description_default, t as field_label_default } from "./field-CBs2-Z9B.mjs";
|
|
86
86
|
import { a as useFormErrorSummary, i as normalizeStandardSchemaResult, n as formatFormFieldName, o as useFormField, r as normalizeStandardSchemaIssues, s as validateStandardSchema, t as createFormErrorSummaryFields } from "./form-runtime-CcMDY0Iq.mjs";
|
|
87
87
|
import { t as deterministic_id_provider_default } from "./id-BYG8aXPF.mjs";
|
|
88
|
-
import { n as isElementFocusVisible, r as useInteractionModality, t as createInteractionModalityTracker } from "./interaction-modality-BHnjtU4S.mjs";
|
|
89
|
-
import { a as useFocusRing, i as useFocus, n as createFocusRing, o as useFocusWithin, r as createFocusWithin, t as createFocus } from "./focus-XxVWOwbs.mjs";
|
|
90
88
|
import { n as useHistory, r as createEditableTransaction, t as createHistory } from "./history-BDgNOjcV.mjs";
|
|
91
89
|
import { t as live_region_default } from "./live-region-DYSpwCTk.mjs";
|
|
92
90
|
import { A as useRelativeTimeFormatter, C as useDirection, D as useLocaleValue, E as useLocale, M as useTimeZone, N as useTimeZoneDisambiguation, O as useNumberFormatter, S as useDateTimeFormatter, T as useListFormatter, _ as resolveSearchCollator, a as normalizeLocaleText, b as useCalendar, c as resolveCollator, d as resolveDisplayNames, f as resolveListFormatter, g as resolveRelativeTimeFormatter, h as resolveNumberingSystem, i as localeTextStartsWith, j as useSearchCollator, k as useNumberingSystem, l as resolveDateTimeFormatter, m as resolveNumberFormatter, n as localeTextContains, o as localeContext, p as resolveLocale, r as localeTextMatches, s as resolveCalendar, t as locale_provider_default, u as resolveDirection, v as resolveTimeZone, w as useDisplayNames, x as useCollator, y as resolveTimeZoneDisambiguation } from "./locale-DmAAufmA.mjs";
|
|
@@ -104,6 +102,9 @@ import { a as getProgressBarStyle, i as getProgressBarState, n as PROGRESS_BAR_D
|
|
|
104
102
|
import { n as PROGRESS_DEFAULT_MAX, r as getProgressState, t as progress_default } from "./progress--vbV2wTx.mjs";
|
|
105
103
|
import { t as spinner_default } from "./spinner-bizL-oOg.mjs";
|
|
106
104
|
import { t as status_light_default } from "./status-light-BGWgQRRf.mjs";
|
|
105
|
+
import { n as isElementFocusVisible, r as useInteractionModality, t as createInteractionModalityTracker } from "./interaction-modality-BHnjtU4S.mjs";
|
|
106
|
+
import { a as useFocusRing, i as useFocus, n as createFocusRing, o as useFocusWithin, r as createFocusWithin, t as createFocus } from "./focus-XxVWOwbs.mjs";
|
|
107
|
+
import { createInteractionHooks, useInteractionHooks } from "./interaction-hooks.mjs";
|
|
107
108
|
import { a as detectShortcutPlatform, i as getShortcutKeycaps, n as useShortcutRegistry, o as parseShortcut, r as formatShortcut, s as serializeShortcut, t as createShortcutRegistry } from "./shortcut-CvA_o0_F.mjs";
|
|
108
109
|
import { n as useSortable, r as defaultSortableAnnouncements, t as createSortable } from "./sortable-BntjgYra.mjs";
|
|
109
110
|
import { n as useSpatialNavigation, t as createSpatialNavigation } from "./spatial-navigation-DwcUYMyc.mjs";
|
|
@@ -112,4 +113,4 @@ import { a as createVirtualizer, i as useGridVirtualizer, n as useInfiniteLoader
|
|
|
112
113
|
import { t as primitive_element_default } from "./primitive-beb2EEOc.mjs";
|
|
113
114
|
import { t as visually_hidden_default } from "./visually-hidden-SDjRJYRK.mjs";
|
|
114
115
|
import { n as useFormState, t as normalizeNativeConstraintErrors } from "./form-DnMzKS86.mjs";
|
|
115
|
-
export { alert_default as Alert, dialog_root_default as AlertDialog, dialog_root_default as AlertDialogRoot, dialog_root_default as Dialog, dialog_root_default as DialogRoot, dialog_close_default as AlertDialogAction, dialog_close_default as AlertDialogCancel, dialog_close_default as DialogClose, alert_dialog_content_default as AlertDialogContent, dialog_description_default as AlertDialogDescription, dialog_description_default as DialogDescription, dialog_overlay_default as AlertDialogOverlay, dialog_overlay_default as DialogOverlay, dialog_portal_default as AlertDialogPortal, dialog_portal_default as DialogPortal, dialog_title_default as AlertDialogTitle, dialog_title_default as DialogTitle, dialog_trigger_default as AlertDialogTrigger, dialog_trigger_default as DialogTrigger, announcer_provider_default as AnnouncerProvider, aspect_ratio_default as AspectRatio, avatar_default as Avatar, badge_default as Badge, banner_default as Banner, block_ui_default as BlockUI, blockquote_default as Blockquote, breadcrumb_default as Breadcrumb, breadcrumb_default as BreadcrumbRoot, breadcrumb_item_default as BreadcrumbItem, breadcrumb_link_default as BreadcrumbLink, breadcrumb_list_default as BreadcrumbList, breadcrumb_separator_default as BreadcrumbSeparator, button_default as Button, button_group_default as ButtonGroup, button_group_item_default as ButtonGroupItem, callout_default as Callout, card_default as Card, checkbox_control_default as Checkbox, cluster_default as Cluster, code_default as Code, collapsible_root_default as Collapsible, collapsible_root_default as CollapsibleRoot, collapsible_content_default as CollapsibleContent, collapsible_trigger_default as CollapsibleTrigger, container_default as Container, copy_button_default as CopyButton, DRAG_TRANSFER_TYPE, dialog_content_default as DialogContent, empty_state_default as EmptyState, error_summary_default as ErrorSummary, field_default as Field, field_default as FieldRoot, field_description_default as FieldDescription, field_error_message_default as FieldErrorMessage, field_label_default as FieldLabel, fullscreen_button_default as FullscreenButton, grid_default as Grid, heading_default as Heading, icon_default as Icon, icon_button_default as IconButton, deterministic_id_provider_default as IdProvider, text_input_default as Input, kbd_default as Kbd, link_anchor_default as Link, list_default as List, listbox_default as Listbox, listbox_item_default as ListboxItem, live_region_default as LiveRegion, locale_provider_default as LocaleProvider, METER_DEFAULT_MAX, METER_DEFAULT_MIN, meter_default as Meter, native_select_default as NativeSelect, PROGRESS_BAR_DEFAULT_MAX, PROGRESS_BAR_DEFAULT_MIN, PROGRESS_DEFAULT_MAX, pagination_default as Pagination, pagination_default as PaginationRoot, pagination_ellipsis_default as PaginationEllipsis, pagination_item_default as PaginationItem, pagination_list_default as PaginationList, pagination_next_default as PaginationNext, pagination_page_default as PaginationPage, pagination_previous_default as PaginationPrevious, popover_root_default as Popover, popover_root_default as PopoverRoot, popover_arrow_default as PopoverArrow, popover_content_default as PopoverContent, popover_trigger_default as PopoverTrigger, portal_default as Portal, positioner_default as Positioner, positioner_arrow_default as PositionerArrow, presence_default as Presence, primitive_element_default as Primitive, print_button_default as PrintButton, progress_default as Progress, progress_bar_default as ProgressBar, radio_group_default as RadioGroup, radio_group_item_default as RadioGroupItem, rating_default as Rating, SLIDER_DEFAULT_MAX, SLIDER_DEFAULT_MIN, SLIDER_DEFAULT_STEP, scroll_area_default as ScrollArea, search_field_default as SearchField, separator_default as Separator, share_button_default as ShareButton, skeleton_default as Skeleton, skip_link_default as SkipLink, slider_default as Slider, spacer_default as Spacer, spinner_default as Spinner, stack_default as Stack, status_light_default as StatusLight, stepper_root_default as Stepper, stepper_root_default as StepperRoot, stepper_content_default as StepperContent, stepper_item_default as StepperItem, stepper_list_default as StepperList, stepper_trigger_default as StepperTrigger, surface_default as Surface, switch_control_default as Switch, table_default as Table, table_body_default as TableBody, table_caption_default as TableCaption, table_cell_default as TableCell, table_head_default as TableHead, table_header_default as TableHeader, table_row_default as TableRow, tabs_root_default as Tabs, tabs_root_default as TabsRoot, tabs_content_default as TabsContent, tabs_list_default as TabsList, tabs_trigger_default as TabsTrigger, text_default as Text, textarea_control_default as Textarea, toggle_button_default as Toggle, toggle_group_default as ToggleGroup, toggle_group_item_default as ToggleGroupItem, toolbar_default as Toolbar, toolbar_item_default as ToolbarItem, tooltip_root_default as Tooltip, tooltip_root_default as TooltipRoot, tooltip_content_default as TooltipContent, tooltip_trigger_default as TooltipTrigger, transition_default as Transition, visually_hidden_default as VisuallyHidden, announcerContext, areListboxValuesEqual, areNativeSelectValuesEqual, computeAvailableSize, computePosition, createAnnouncer, createBusyAnnouncement, createCollectionRegistry, createCommandRouter, createCompositeNavigation, createContext, createDeterministicIdScope, createDismissableLayer, createDragAndDrop, createEditableTransaction, createErrorSummary, createFocus, createFocusGuards, createFocusRing, createFocusScope, createFocusWithin, createFormErrorSummaryFields, createGridVirtualizer, createHistory, createHover, createInertOutside, createInfiniteLoader, createInteractionModalityTracker, createLiveRegion, createLongPress, createMove, createPaginationRange, createPointerGrace, createPositioner, createPresence, createPress, createScrollLock, createShortcutRegistry, createSizeObserver, createSortable, createSpatialNavigation, createTransition, createTypeahead, createVirtualizer, createVisibilityObserver, defaultDragAnnouncements, defaultSortableAnnouncements, deriveDeterministicId, detectShortcutPlatform, emptyListboxValue, extractCollectionTextValue, extremeCorners, focusGuardPreset, formatFormFieldName, formatShortcut, getButtonKeyboardAction, getCheckboxState, getMeterState, getPaginationPageIdSegment, getProgressBarState, getProgressBarStyle, getProgressState, getShortcutKeycaps, getStepperValueIdSegment, gracePolygon, insetViewport, isElementFocusVisible, listboxSelectedValues, localeContext, localeTextContains, localeTextMatches, localeTextStartsWith, motionDelays, motionDurationMs, motionDurations, motionEasings, motionTokenProperty, motionTokenVar, nativeSelectSelectedValues, normalizeBannerAria, normalizeCollectionTextValue, normalizeListboxValue, normalizeLocaleText, normalizeNativeConstraintErrors, normalizeNativeSelectValue, normalizePaginationPage, normalizePaginationPageCount, normalizeStandardSchemaIssues, normalizeStandardSchemaResult, parsePlacement, parseShortcut, pointInGraceArea, portalDepthKey, prefersReducedMotion, readClipboardTransfer, readDragTransfer, readRect, readSafeAreaInsets, registerPortalLayer, resolveCalendar, resolveCollator, resolveDateTimeFormatter, resolveDirection, resolveDisplayNames, resolveListFormatter, resolveLocale, resolveNumberFormatter, resolveNumberingSystem, resolveRelativeTimeFormatter, resolveSearchCollator, resolveTimeZone, resolveTimeZoneDisambiguation, selectListboxValue, serializeShortcut, setMotionTokens, setThemeTokens, sizeStyle, startViewTransition, stepperValueEquals, supportsScrollDrivenAnimations, supportsStartingStyle, supportsViewTransitions, themeCascadeLayerOrder, themeDensityAttribute, themeDensityScales, themePresetAttribute, themePresets, themeTokenPackNames, themeTokenProperty, themeTokenVar, themeTokens, themeTokensForPack, toDeterministicId, toPaginationPageInRange, toggleListboxValue, topPortalLayer, useAnnouncer, useAnnouncerOwnership, useBusyAnnouncement, useCalendar, useCollator, useCommandRouter, useCompositeNavigation, useControllableState, useDateTimeFormatter, useDeterministicId, useDirection, useDismissableLayer, useDisplayNames, useDragAndDrop, useErrorSummary, useFieldWiring, useFocus, useFocusGuards, useFocusRing, useFocusScope, useFocusWithin, useFormErrorSummary, useFormField, useFormState, useGridVirtualizer, useHistory, useHover, useInertOutside, useInfiniteLoader, useInteractionModality, useListFormatter, useLiveRegion, useLocale, useLocaleValue, useLongPress, useMove, useNumberFormatter, useNumberingSystem, usePointerGrace, usePortalStack, usePositioner, usePresence, usePress, useReducedMotion, useRelativeTimeFormatter, useScrollLock, useSearchCollator, useShortcutRegistry, useSizeObserver, useSortable, useSpatialNavigation, useTimeZone, useTimeZoneDisambiguation, useTransition, useTypeahead, useVirtualizer, useVisibilityObserver, validateStandardSchema, visualViewportRect, writeClipboardTransfer, writeDragTransfer, zeroSafeAreaInsets };
|
|
116
|
+
export { alert_default as Alert, dialog_root_default as AlertDialog, dialog_root_default as AlertDialogRoot, dialog_root_default as Dialog, dialog_root_default as DialogRoot, dialog_close_default as AlertDialogAction, dialog_close_default as AlertDialogCancel, dialog_close_default as DialogClose, alert_dialog_content_default as AlertDialogContent, dialog_description_default as AlertDialogDescription, dialog_description_default as DialogDescription, dialog_overlay_default as AlertDialogOverlay, dialog_overlay_default as DialogOverlay, dialog_portal_default as AlertDialogPortal, dialog_portal_default as DialogPortal, dialog_title_default as AlertDialogTitle, dialog_title_default as DialogTitle, dialog_trigger_default as AlertDialogTrigger, dialog_trigger_default as DialogTrigger, announcer_provider_default as AnnouncerProvider, aspect_ratio_default as AspectRatio, avatar_default as Avatar, badge_default as Badge, banner_default as Banner, block_ui_default as BlockUI, blockquote_default as Blockquote, breadcrumb_default as Breadcrumb, breadcrumb_default as BreadcrumbRoot, breadcrumb_item_default as BreadcrumbItem, breadcrumb_link_default as BreadcrumbLink, breadcrumb_list_default as BreadcrumbList, breadcrumb_separator_default as BreadcrumbSeparator, button_default as Button, button_group_default as ButtonGroup, button_group_item_default as ButtonGroupItem, callout_default as Callout, card_default as Card, checkbox_control_default as Checkbox, cluster_default as Cluster, code_default as Code, collapsible_root_default as Collapsible, collapsible_root_default as CollapsibleRoot, collapsible_content_default as CollapsibleContent, collapsible_trigger_default as CollapsibleTrigger, container_default as Container, copy_button_default as CopyButton, DRAG_TRANSFER_TYPE, dialog_content_default as DialogContent, empty_state_default as EmptyState, error_summary_default as ErrorSummary, field_default as Field, field_default as FieldRoot, field_description_default as FieldDescription, field_error_message_default as FieldErrorMessage, field_label_default as FieldLabel, fullscreen_button_default as FullscreenButton, grid_default as Grid, heading_default as Heading, icon_default as Icon, icon_button_default as IconButton, deterministic_id_provider_default as IdProvider, text_input_default as Input, kbd_default as Kbd, link_anchor_default as Link, list_default as List, listbox_default as Listbox, listbox_item_default as ListboxItem, live_region_default as LiveRegion, locale_provider_default as LocaleProvider, METER_DEFAULT_MAX, METER_DEFAULT_MIN, meter_default as Meter, native_select_default as NativeSelect, PROGRESS_BAR_DEFAULT_MAX, PROGRESS_BAR_DEFAULT_MIN, PROGRESS_DEFAULT_MAX, pagination_default as Pagination, pagination_default as PaginationRoot, pagination_ellipsis_default as PaginationEllipsis, pagination_item_default as PaginationItem, pagination_list_default as PaginationList, pagination_next_default as PaginationNext, pagination_page_default as PaginationPage, pagination_previous_default as PaginationPrevious, popover_root_default as Popover, popover_root_default as PopoverRoot, popover_arrow_default as PopoverArrow, popover_content_default as PopoverContent, popover_trigger_default as PopoverTrigger, portal_default as Portal, positioner_default as Positioner, positioner_arrow_default as PositionerArrow, presence_default as Presence, primitive_element_default as Primitive, print_button_default as PrintButton, progress_default as Progress, progress_bar_default as ProgressBar, radio_group_default as RadioGroup, radio_group_item_default as RadioGroupItem, rating_default as Rating, SLIDER_DEFAULT_MAX, SLIDER_DEFAULT_MIN, SLIDER_DEFAULT_STEP, scroll_area_default as ScrollArea, search_field_default as SearchField, separator_default as Separator, share_button_default as ShareButton, skeleton_default as Skeleton, skip_link_default as SkipLink, slider_default as Slider, spacer_default as Spacer, spinner_default as Spinner, stack_default as Stack, status_light_default as StatusLight, stepper_root_default as Stepper, stepper_root_default as StepperRoot, stepper_content_default as StepperContent, stepper_item_default as StepperItem, stepper_list_default as StepperList, stepper_trigger_default as StepperTrigger, surface_default as Surface, switch_control_default as Switch, table_default as Table, table_body_default as TableBody, table_caption_default as TableCaption, table_cell_default as TableCell, table_head_default as TableHead, table_header_default as TableHeader, table_row_default as TableRow, tabs_root_default as Tabs, tabs_root_default as TabsRoot, tabs_content_default as TabsContent, tabs_list_default as TabsList, tabs_trigger_default as TabsTrigger, text_default as Text, textarea_control_default as Textarea, toggle_button_default as Toggle, toggle_group_default as ToggleGroup, toggle_group_item_default as ToggleGroupItem, toolbar_default as Toolbar, toolbar_item_default as ToolbarItem, tooltip_root_default as Tooltip, tooltip_root_default as TooltipRoot, tooltip_content_default as TooltipContent, tooltip_trigger_default as TooltipTrigger, transition_default as Transition, visually_hidden_default as VisuallyHidden, announcerContext, areListboxValuesEqual, areNativeSelectValuesEqual, computeAvailableSize, computePosition, createAnnouncer, createBusyAnnouncement, createCollectionRegistry, createCommandRouter, createCompositeNavigation, createContext, createDeterministicIdScope, createDismissableLayer, createDragAndDrop, createEditableTransaction, createErrorSummary, createFocus, createFocusGuards, createFocusRing, createFocusScope, createFocusWithin, createFormErrorSummaryFields, createGridVirtualizer, createHistory, createHover, createInertOutside, createInfiniteLoader, createInteractionHooks, createInteractionModalityTracker, createLiveRegion, createLongPress, createMove, createPaginationRange, createPointerGrace, createPositioner, createPresence, createPress, createScrollLock, createShortcutRegistry, createSizeObserver, createSortable, createSpatialNavigation, createTransition, createTypeahead, createVirtualizer, createVisibilityObserver, defaultDragAnnouncements, defaultSortableAnnouncements, deriveDeterministicId, detectShortcutPlatform, emptyListboxValue, extractCollectionTextValue, extremeCorners, focusGuardPreset, formatFormFieldName, formatShortcut, getButtonKeyboardAction, getCheckboxState, getMeterState, getPaginationPageIdSegment, getProgressBarState, getProgressBarStyle, getProgressState, getShortcutKeycaps, getStepperValueIdSegment, gracePolygon, insetViewport, isElementFocusVisible, listboxSelectedValues, localeContext, localeTextContains, localeTextMatches, localeTextStartsWith, motionDelays, motionDurationMs, motionDurations, motionEasings, motionTokenProperty, motionTokenVar, nativeSelectSelectedValues, normalizeBannerAria, normalizeCollectionTextValue, normalizeListboxValue, normalizeLocaleText, normalizeNativeConstraintErrors, normalizeNativeSelectValue, normalizePaginationPage, normalizePaginationPageCount, normalizeStandardSchemaIssues, normalizeStandardSchemaResult, parsePlacement, parseShortcut, pointInGraceArea, portalDepthKey, prefersReducedMotion, readClipboardTransfer, readDragTransfer, readRect, readSafeAreaInsets, registerPortalLayer, resolveCalendar, resolveCollator, resolveDateTimeFormatter, resolveDirection, resolveDisplayNames, resolveListFormatter, resolveLocale, resolveNumberFormatter, resolveNumberingSystem, resolveRelativeTimeFormatter, resolveSearchCollator, resolveTimeZone, resolveTimeZoneDisambiguation, selectListboxValue, serializeShortcut, setMotionTokens, setThemeTokens, sizeStyle, startViewTransition, stepperValueEquals, supportsScrollDrivenAnimations, supportsStartingStyle, supportsViewTransitions, themeCascadeLayerOrder, themeDensityAttribute, themeDensityScales, themePresetAttribute, themePresets, themeTokenPackNames, themeTokenProperty, themeTokenVar, themeTokens, themeTokensForPack, toDeterministicId, toPaginationPageInRange, toggleListboxValue, topPortalLayer, useAnnouncer, useAnnouncerOwnership, useBusyAnnouncement, useCalendar, useCollator, useCommandRouter, useCompositeNavigation, useControllableState, useDateTimeFormatter, useDeterministicId, useDirection, useDismissableLayer, useDisplayNames, useDragAndDrop, useErrorSummary, useFieldWiring, useFocus, useFocusGuards, useFocusRing, useFocusScope, useFocusWithin, useFormErrorSummary, useFormField, useFormState, useGridVirtualizer, useHistory, useHover, useInertOutside, useInfiniteLoader, useInteractionHooks, useInteractionModality, useListFormatter, useLiveRegion, useLocale, useLocaleValue, useLongPress, useMove, useNumberFormatter, useNumberingSystem, usePointerGrace, usePortalStack, usePositioner, usePresence, usePress, useReducedMotion, useRelativeTimeFormatter, useScrollLock, useSearchCollator, useShortcutRegistry, useSizeObserver, useSortable, useSpatialNavigation, useTimeZone, useTimeZoneDisambiguation, useTransition, useTypeahead, useVirtualizer, useVisibilityObserver, validateStandardSchema, visualViewportRect, writeClipboardTransfer, writeDragTransfer, zeroSafeAreaInsets };
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { c as HoverProps, o as HoverOptions, r as HoverController } from "./hover-ZiPRiZkb.mjs";
|
|
2
|
+
import { a as PressOptions, s as PressProps, t as PressController } from "./press-types-DfTNpqby.mjs";
|
|
3
|
+
import { c as InteractionModalityTracker, i as InteractionModality, s as InteractionModalityOptions } from "./interaction-modality-BTiZ7j98.mjs";
|
|
4
|
+
import { c as FocusController, f as FocusProps, h as FocusWithinOptions, m as FocusRingOptions } from "./focus-eObxGOtP.mjs";
|
|
5
|
+
import { MaybeRefOrGetter, ShallowRef } from "vue";
|
|
6
|
+
|
|
7
|
+
//#region src/families/interaction/interaction-hooks/interaction-hooks-types.d.ts
|
|
8
|
+
type InteractionFeatureOptions<Options> = false | Options | undefined;
|
|
9
|
+
/** Platform family used to resolve `Mod` in host-scoped shortcuts. */
|
|
10
|
+
type InteractionShortcutPlatform = "apple" | "standard";
|
|
11
|
+
/** Immutable notification for a host-scoped shortcut match. */
|
|
12
|
+
interface InteractionShortcutMatch {
|
|
13
|
+
/** Original shortcut pattern supplied at registration. */
|
|
14
|
+
readonly shortcut: string;
|
|
15
|
+
/** Help description supplied at registration, or `null`. */
|
|
16
|
+
readonly description: string | null;
|
|
17
|
+
/** Native keyboard event that completed the shortcut. */
|
|
18
|
+
readonly originalEvent: KeyboardEvent;
|
|
19
|
+
}
|
|
20
|
+
/** Options for one host-scoped shortcut binding. */
|
|
21
|
+
interface InteractionShortcutBinding {
|
|
22
|
+
/** Pattern such as `"Mod+K"` or `"Shift+Enter"`. */
|
|
23
|
+
readonly shortcut: string;
|
|
24
|
+
/** Called when the host receives the matching keydown event. */
|
|
25
|
+
readonly handler: (match: InteractionShortcutMatch) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Cancel the native action when this shortcut matches.
|
|
28
|
+
*
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
readonly preventDefault?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Dispatch repeated keydown events.
|
|
34
|
+
*
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
readonly allowRepeat?: boolean;
|
|
38
|
+
/** Help description surfaced through binding metadata. */
|
|
39
|
+
readonly description?: string;
|
|
40
|
+
}
|
|
41
|
+
/** Options for lightweight host-scoped keyboard shortcut routing. */
|
|
42
|
+
interface InteractionShortcutOptions {
|
|
43
|
+
/**
|
|
44
|
+
* Initial host-scoped shortcuts.
|
|
45
|
+
*
|
|
46
|
+
* @default []
|
|
47
|
+
*/
|
|
48
|
+
readonly bindings?: readonly InteractionShortcutBinding[];
|
|
49
|
+
/**
|
|
50
|
+
* Layout used to resolve the `Mod` platform modifier.
|
|
51
|
+
*
|
|
52
|
+
* @default "standard"
|
|
53
|
+
*/
|
|
54
|
+
readonly platform?: InteractionShortcutPlatform;
|
|
55
|
+
/**
|
|
56
|
+
* Ignore input while true.
|
|
57
|
+
*
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
60
|
+
readonly isDisabled?: MaybeRefOrGetter<boolean | undefined>;
|
|
61
|
+
}
|
|
62
|
+
/** Stable keyboard handler to spread onto the interaction host. */
|
|
63
|
+
interface InteractionShortcutProps {
|
|
64
|
+
readonly onKeydown: (event: KeyboardEvent) => void;
|
|
65
|
+
}
|
|
66
|
+
/** Host-scoped shortcut router owned by `createInteractionHooks`. */
|
|
67
|
+
interface InteractionShortcutController {
|
|
68
|
+
/** Stable props merged into the interaction host. */
|
|
69
|
+
readonly shortcutProps: Readonly<InteractionShortcutProps>;
|
|
70
|
+
/** Add a host-scoped binding and return its releaser. */
|
|
71
|
+
readonly register: (binding: InteractionShortcutBinding) => () => void;
|
|
72
|
+
/** Clear transient shortcut state. Host-scoped shortcuts have none. */
|
|
73
|
+
readonly reset: () => false;
|
|
74
|
+
/** Snapshot every binding in registration order. */
|
|
75
|
+
readonly getBindings: () => readonly InteractionShortcutBinding[];
|
|
76
|
+
/** Release bindings and make imperative calls terminal. */
|
|
77
|
+
readonly dispose: () => void;
|
|
78
|
+
}
|
|
79
|
+
interface InteractionHooksOptions {
|
|
80
|
+
readonly isDisabled?: MaybeRefOrGetter<boolean | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Track document-level keyboard, pointer, touch, and virtual input modality.
|
|
83
|
+
*
|
|
84
|
+
* @default false
|
|
85
|
+
*/
|
|
86
|
+
readonly modality?: InteractionFeatureOptions<InteractionModalityOptions>;
|
|
87
|
+
readonly focusRing?: InteractionFeatureOptions<FocusRingOptions>;
|
|
88
|
+
readonly focusWithin?: InteractionFeatureOptions<FocusWithinOptions>;
|
|
89
|
+
readonly hover?: InteractionFeatureOptions<HoverOptions>;
|
|
90
|
+
readonly press?: InteractionFeatureOptions<PressOptions>;
|
|
91
|
+
/**
|
|
92
|
+
* Route element-scoped or explicitly attached keyboard shortcuts.
|
|
93
|
+
*
|
|
94
|
+
* When enabled without a target, the registry stays host-scoped through the
|
|
95
|
+
* returned props instead of attaching a document listener.
|
|
96
|
+
*
|
|
97
|
+
* @default false
|
|
98
|
+
*/
|
|
99
|
+
readonly shortcuts?: InteractionFeatureOptions<InteractionShortcutOptions>;
|
|
100
|
+
}
|
|
101
|
+
type ModalityFeature<Options> = Options extends {
|
|
102
|
+
readonly modality: infer Feature;
|
|
103
|
+
} ? Feature : false;
|
|
104
|
+
type PressFeature<Options> = Options extends {
|
|
105
|
+
readonly press: infer Feature;
|
|
106
|
+
} ? Feature : undefined;
|
|
107
|
+
type HoverFeature<Options> = Options extends {
|
|
108
|
+
readonly hover: infer Feature;
|
|
109
|
+
} ? Feature : undefined;
|
|
110
|
+
type FocusRingFeature<Options> = Options extends {
|
|
111
|
+
readonly focusRing: infer Feature;
|
|
112
|
+
} ? Feature : undefined;
|
|
113
|
+
type FocusWithinFeature<Options> = Options extends {
|
|
114
|
+
readonly focusWithin: infer Feature;
|
|
115
|
+
} ? Feature : false;
|
|
116
|
+
type ShortcutFeature<Options> = Options extends {
|
|
117
|
+
readonly shortcuts: infer Feature;
|
|
118
|
+
} ? Feature : false;
|
|
119
|
+
type FeatureController<Feature, Controller> = [Feature] extends [false] ? null : Controller;
|
|
120
|
+
type FeatureProps<Feature, Props> = [Feature] extends [false] ? object : Props;
|
|
121
|
+
type InteractionHooksProps<Options extends InteractionHooksOptions = {}> = FeatureProps<PressFeature<Options>, PressProps> & FeatureProps<HoverFeature<Options>, HoverProps> & FeatureProps<FocusRingFeature<Options>, FocusProps> & FeatureProps<FocusWithinFeature<Options>, FocusProps> & FeatureProps<ShortcutFeature<Options>, InteractionShortcutProps>;
|
|
122
|
+
interface InteractionHooksCancelResult {
|
|
123
|
+
readonly focusRing: boolean;
|
|
124
|
+
readonly focusWithin: boolean;
|
|
125
|
+
readonly hover: boolean;
|
|
126
|
+
readonly press: boolean;
|
|
127
|
+
readonly shortcuts: boolean;
|
|
128
|
+
}
|
|
129
|
+
interface InteractionHooksController<Options extends InteractionHooksOptions = {}> {
|
|
130
|
+
readonly modalityTracker: FeatureController<ModalityFeature<Options>, InteractionModalityTracker>;
|
|
131
|
+
readonly shortcutController: FeatureController<ShortcutFeature<Options>, InteractionShortcutController>;
|
|
132
|
+
readonly focusRing: FeatureController<FocusRingFeature<Options>, FocusController>;
|
|
133
|
+
readonly focusWithin: FeatureController<FocusWithinFeature<Options>, FocusController>;
|
|
134
|
+
readonly hover: FeatureController<HoverFeature<Options>, HoverController>;
|
|
135
|
+
readonly press: FeatureController<PressFeature<Options>, PressController>;
|
|
136
|
+
readonly interactionProps: Readonly<InteractionHooksProps<Options>>;
|
|
137
|
+
readonly currentModality: Readonly<ShallowRef<InteractionModality | null>>;
|
|
138
|
+
readonly isFocused: Readonly<ShallowRef<boolean>>;
|
|
139
|
+
readonly isFocusVisible: Readonly<ShallowRef<boolean>>;
|
|
140
|
+
readonly isFocusWithin: Readonly<ShallowRef<boolean>>;
|
|
141
|
+
readonly isHovered: Readonly<ShallowRef<boolean>>;
|
|
142
|
+
readonly isPressed: Readonly<ShallowRef<boolean>>;
|
|
143
|
+
readonly cancel: () => InteractionHooksCancelResult;
|
|
144
|
+
readonly dispose: () => void;
|
|
145
|
+
}
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region src/families/interaction/interaction-hooks/interaction-hooks.d.ts
|
|
148
|
+
declare function createInteractionHooks<const Options extends InteractionHooksOptions = {}>(options?: Options): InteractionHooksController<Options>;
|
|
149
|
+
declare function useInteractionHooks<const Options extends InteractionHooksOptions = {}>(options?: Options): InteractionHooksController<Options>;
|
|
150
|
+
//#endregion
|
|
151
|
+
export { InteractionHooksController as a, InteractionShortcutBinding as c, InteractionShortcutOptions as d, InteractionShortcutPlatform as f, InteractionHooksCancelResult as i, InteractionShortcutController as l, useInteractionHooks as n, InteractionHooksOptions as o, InteractionShortcutProps as p, InteractionFeatureOptions as r, InteractionHooksProps as s, createInteractionHooks as t, InteractionShortcutMatch as u };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { o as HoverOptions } from "./hover-ZiPRiZkb.mjs";
|
|
2
|
+
import { a as PressOptions } from "./press-types-DfTNpqby.mjs";
|
|
3
|
+
import { s as InteractionModalityOptions } from "./interaction-modality-BTiZ7j98.mjs";
|
|
4
|
+
import { h as FocusWithinOptions, m as FocusRingOptions } from "./focus-eObxGOtP.mjs";
|
|
5
|
+
import { a as InteractionHooksController, c as InteractionShortcutBinding, d as InteractionShortcutOptions, f as InteractionShortcutPlatform, i as InteractionHooksCancelResult, l as InteractionShortcutController, n as useInteractionHooks, o as InteractionHooksOptions, p as InteractionShortcutProps, r as InteractionFeatureOptions, s as InteractionHooksProps, t as createInteractionHooks, u as InteractionShortcutMatch } from "./interaction-hooks-sD63_AhA.mjs";
|
|
6
|
+
export { type FocusRingOptions, type FocusWithinOptions, type HoverOptions, type InteractionFeatureOptions, type InteractionHooksCancelResult, type InteractionHooksController, type InteractionHooksOptions, type InteractionHooksProps, type InteractionModalityOptions, type InteractionShortcutBinding, type InteractionShortcutController, type InteractionShortcutMatch, type InteractionShortcutOptions, type InteractionShortcutPlatform, type InteractionShortcutProps, type PressOptions, createInteractionHooks, useInteractionHooks };
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { createHover } from "./hover.mjs";
|
|
2
|
+
import { t as createPress } from "./press-BjLm6bKg.mjs";
|
|
3
|
+
import { t as createInteractionModalityTracker } from "./interaction-modality-BHnjtU4S.mjs";
|
|
4
|
+
import { n as createFocusRing, r as createFocusWithin } from "./focus-XxVWOwbs.mjs";
|
|
5
|
+
import { getCurrentScope, onScopeDispose, shallowReadonly, shallowRef } from "vue";
|
|
6
|
+
//#region src/families/interaction/interaction-hooks/interaction-hooks.ts
|
|
7
|
+
const setupDiagnostic = "VIZE_UI_INTERACTION_HOOKS_SETUP";
|
|
8
|
+
const shortcutDiagnostic = "VIZE_UI_INTERACTION_HOOKS_SHORTCUT";
|
|
9
|
+
const falseState = shallowReadonly(shallowRef(false));
|
|
10
|
+
const nullModalityState = shallowReadonly(shallowRef(null));
|
|
11
|
+
function withDisabled(feature, isDisabled) {
|
|
12
|
+
if (isDisabled === void 0) return feature ?? {};
|
|
13
|
+
return {
|
|
14
|
+
isDisabled,
|
|
15
|
+
...feature
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function enabled(feature) {
|
|
19
|
+
return feature !== false;
|
|
20
|
+
}
|
|
21
|
+
function enabledWhenRequested(feature) {
|
|
22
|
+
return feature !== void 0 && feature !== false;
|
|
23
|
+
}
|
|
24
|
+
function readonlyState(controller) {
|
|
25
|
+
return controller ?? falseState;
|
|
26
|
+
}
|
|
27
|
+
function readonlyModalityState(controller) {
|
|
28
|
+
return controller ?? nullModalityState;
|
|
29
|
+
}
|
|
30
|
+
function mergeProps$1(...sources) {
|
|
31
|
+
const merged = {};
|
|
32
|
+
for (const source of sources) {
|
|
33
|
+
if (!source) continue;
|
|
34
|
+
for (const [key, value] of Object.entries(source)) {
|
|
35
|
+
if (value === void 0) continue;
|
|
36
|
+
const current = merged[key];
|
|
37
|
+
if (key.startsWith("on") && typeof current === "function" && typeof value === "function") {
|
|
38
|
+
merged[key] = (event) => {
|
|
39
|
+
current(event);
|
|
40
|
+
value(event);
|
|
41
|
+
};
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
merged[key] = value;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return Object.freeze(merged);
|
|
48
|
+
}
|
|
49
|
+
function readShortcutDisabled(source) {
|
|
50
|
+
const value = toMaybeValue(source);
|
|
51
|
+
if (value === void 0) return false;
|
|
52
|
+
if (typeof value !== "boolean") throw new TypeError(`${shortcutDiagnostic}: isDisabled must resolve to a boolean`);
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
function toMaybeValue(source) {
|
|
56
|
+
if (typeof source === "function") return source();
|
|
57
|
+
if (source && typeof source === "object" && "value" in source) return source.value;
|
|
58
|
+
return source;
|
|
59
|
+
}
|
|
60
|
+
function normalizeKey(key) {
|
|
61
|
+
return key.length === 1 ? key.toLowerCase() : key;
|
|
62
|
+
}
|
|
63
|
+
function normalizeShortcut(shortcut, platform) {
|
|
64
|
+
const normalized = {
|
|
65
|
+
key: "",
|
|
66
|
+
altKey: false,
|
|
67
|
+
ctrlKey: false,
|
|
68
|
+
metaKey: false,
|
|
69
|
+
shiftKey: false
|
|
70
|
+
};
|
|
71
|
+
const parts = shortcut.split("+").map((part) => part.trim()).filter(Boolean);
|
|
72
|
+
for (const part of parts) {
|
|
73
|
+
const lower = part.toLowerCase();
|
|
74
|
+
if (lower === "mod") normalized[platform === "apple" ? "metaKey" : "ctrlKey"] = true;
|
|
75
|
+
else if (lower === "ctrl" || lower === "control") normalized.ctrlKey = true;
|
|
76
|
+
else if (lower === "alt" || lower === "option") normalized.altKey = true;
|
|
77
|
+
else if (lower === "cmd" || lower === "meta") normalized.metaKey = true;
|
|
78
|
+
else if (lower === "shift") normalized.shiftKey = true;
|
|
79
|
+
else if (normalized.key === "") normalized.key = normalizeKey(part);
|
|
80
|
+
else throw new TypeError(`${shortcutDiagnostic}: shortcut has more than one key`);
|
|
81
|
+
}
|
|
82
|
+
if (normalized.key === "") throw new TypeError(`${shortcutDiagnostic}: shortcut must include a key`);
|
|
83
|
+
return Object.freeze(normalized);
|
|
84
|
+
}
|
|
85
|
+
function shortcutMatches(event, shortcut) {
|
|
86
|
+
return normalizeKey(event.key) === shortcut.key && event.altKey === shortcut.altKey && event.ctrlKey === shortcut.ctrlKey && event.metaKey === shortcut.metaKey && event.shiftKey === shortcut.shiftKey;
|
|
87
|
+
}
|
|
88
|
+
function createInteractionShortcutController(options = {}) {
|
|
89
|
+
const platform = options.platform ?? "standard";
|
|
90
|
+
const entries = [];
|
|
91
|
+
let disposed = false;
|
|
92
|
+
const assertActive = () => {
|
|
93
|
+
if (disposed) throw new Error(`${shortcutDiagnostic}: controller has been disposed`);
|
|
94
|
+
};
|
|
95
|
+
const register = (binding) => {
|
|
96
|
+
assertActive();
|
|
97
|
+
if (typeof binding.handler !== "function") throw new TypeError(`${shortcutDiagnostic}: shortcut handler must be a function`);
|
|
98
|
+
const entry = Object.freeze({
|
|
99
|
+
binding,
|
|
100
|
+
normalized: normalizeShortcut(binding.shortcut, platform)
|
|
101
|
+
});
|
|
102
|
+
entries.push(entry);
|
|
103
|
+
return () => {
|
|
104
|
+
const index = entries.indexOf(entry);
|
|
105
|
+
if (index !== -1) entries.splice(index, 1);
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
options.bindings?.forEach(register);
|
|
109
|
+
const input = (event) => {
|
|
110
|
+
assertActive();
|
|
111
|
+
if (readShortcutDisabled(options.isDisabled) || event.isComposing) return;
|
|
112
|
+
for (let index = entries.length - 1; index >= 0; index--) {
|
|
113
|
+
const entry = entries[index];
|
|
114
|
+
if (!entry || event.repeat && entry.binding.allowRepeat !== true) continue;
|
|
115
|
+
if (!shortcutMatches(event, entry.normalized)) continue;
|
|
116
|
+
if (entry.binding.preventDefault !== false) event.preventDefault();
|
|
117
|
+
entry.binding.handler(Object.freeze({
|
|
118
|
+
shortcut: entry.binding.shortcut,
|
|
119
|
+
description: entry.binding.description ?? null,
|
|
120
|
+
originalEvent: event
|
|
121
|
+
}));
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
return Object.freeze({
|
|
126
|
+
shortcutProps: Object.freeze({ onKeydown: input }),
|
|
127
|
+
register,
|
|
128
|
+
reset: () => false,
|
|
129
|
+
getBindings: () => Object.freeze(entries.map((entry) => entry.binding)),
|
|
130
|
+
dispose: () => {
|
|
131
|
+
if (disposed) return;
|
|
132
|
+
disposed = true;
|
|
133
|
+
entries.splice(0);
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
function collectErrors(action, errors) {
|
|
138
|
+
try {
|
|
139
|
+
action();
|
|
140
|
+
} catch (error) {
|
|
141
|
+
errors.push(error);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
function surfaceErrors(errors) {
|
|
145
|
+
if (errors.length === 1) throw errors[0];
|
|
146
|
+
if (errors.length > 1) throw new AggregateError(errors, "Interaction hook cleanup failed");
|
|
147
|
+
}
|
|
148
|
+
function createInteractionHooks(options = {}) {
|
|
149
|
+
const modalityTracker = enabledWhenRequested(options.modality) ? createInteractionModalityTracker(options.modality) : null;
|
|
150
|
+
const press = enabled(options.press) ? createPress(withDisabled(options.press, options.isDisabled)) : null;
|
|
151
|
+
const hover = enabled(options.hover) ? createHover(withDisabled(options.hover, options.isDisabled)) : null;
|
|
152
|
+
const focusRing = enabled(options.focusRing) ? createFocusRing(withDisabled(options.focusRing, options.isDisabled)) : null;
|
|
153
|
+
const focusWithin = enabled(options.focusWithin) ? createFocusWithin(withDisabled(options.focusWithin, options.isDisabled)) : null;
|
|
154
|
+
const shortcutController = enabledWhenRequested(options.shortcuts) ? createInteractionShortcutController(withDisabled(options.shortcuts, options.isDisabled)) : null;
|
|
155
|
+
const interactionProps = mergeProps$1(press?.pressProps, hover?.hoverProps, focusRing?.focusProps, focusWithin?.focusProps, shortcutController?.shortcutProps);
|
|
156
|
+
return Object.freeze({
|
|
157
|
+
modalityTracker,
|
|
158
|
+
shortcutController,
|
|
159
|
+
focusRing,
|
|
160
|
+
focusWithin,
|
|
161
|
+
hover,
|
|
162
|
+
press,
|
|
163
|
+
interactionProps,
|
|
164
|
+
currentModality: readonlyModalityState(modalityTracker?.modality ?? null),
|
|
165
|
+
isFocused: readonlyState(focusRing?.isFocused ?? null),
|
|
166
|
+
isFocusVisible: readonlyState(focusRing?.isFocusVisible ?? null),
|
|
167
|
+
isFocusWithin: readonlyState(focusWithin?.isFocused ?? null),
|
|
168
|
+
isHovered: readonlyState(hover?.isHovered ?? null),
|
|
169
|
+
isPressed: readonlyState(press?.isPressed ?? null),
|
|
170
|
+
cancel() {
|
|
171
|
+
return Object.freeze({
|
|
172
|
+
focusRing: focusRing?.cancel() ?? false,
|
|
173
|
+
focusWithin: focusWithin?.cancel() ?? false,
|
|
174
|
+
hover: hover?.cancel() ?? false,
|
|
175
|
+
press: press?.cancel() ?? false,
|
|
176
|
+
shortcuts: shortcutController?.reset() ?? false
|
|
177
|
+
});
|
|
178
|
+
},
|
|
179
|
+
dispose() {
|
|
180
|
+
const errors = [];
|
|
181
|
+
collectErrors(() => press?.dispose(), errors);
|
|
182
|
+
collectErrors(() => hover?.dispose(), errors);
|
|
183
|
+
collectErrors(() => focusRing?.dispose(), errors);
|
|
184
|
+
collectErrors(() => focusWithin?.dispose(), errors);
|
|
185
|
+
collectErrors(() => shortcutController?.dispose(), errors);
|
|
186
|
+
collectErrors(() => modalityTracker?.dispose(), errors);
|
|
187
|
+
surfaceErrors(errors);
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
function useInteractionHooks(options = {}) {
|
|
192
|
+
if (!getCurrentScope()) throw new Error(`${setupDiagnostic}: use inside component setup or an active effect scope`);
|
|
193
|
+
const controller = createInteractionHooks(options);
|
|
194
|
+
onScopeDispose(controller.dispose);
|
|
195
|
+
return controller;
|
|
196
|
+
}
|
|
197
|
+
//#endregion
|
|
198
|
+
export { createInteractionHooks, useInteractionHooks };
|
package/dist/kbd.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ar as KbdSlotState, ir as KbdSize, nr as KbdElement, or as KbdTone, rr as KbdExpose, sr as KbdVariant, tr as _default } from "./announcer-
|
|
1
|
+
import { ar as KbdSlotState, ir as KbdSize, nr as KbdElement, or as KbdTone, rr as KbdExpose, sr as KbdVariant, tr as _default } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Kbd, type KbdElement, type KbdExpose, type KbdSize, type KbdSlotState, type KbdTone, type KbdVariant };
|
package/dist/list.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as ListSpacing, Jn as _default, Qn as ListSlotState, Xn as ListExpose, Yn as ListElement, Zn as ListMarker, er as ListTone } from "./announcer-
|
|
1
|
+
import { $n as ListSpacing, Jn as _default, Qn as ListSlotState, Xn as ListExpose, Yn as ListElement, Zn as ListMarker, er as ListTone } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as List, type ListElement, type ListExpose, type ListMarker, type ListSlotState, type ListSpacing, type ListTone };
|
package/dist/listbox.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { An as selectListboxValue, Bn as ListboxMultipleValue, Dn as emptyListboxValue, En as areListboxValuesEqual, Fn as ListboxDirection, Gn as ListboxSlotState, Hn as ListboxProps, In as ListboxExpose, Kn as ListboxState, Ln as ListboxItemExpose, Mn as _default$1, Nn as _default, On as listboxSelectedValues, Pn as ListboxAriaInvalid, Rn as ListboxItemSlotState, Un as ListboxSelectionMode, Vn as ListboxOrientation, Wn as ListboxSingleValue, jn as toggleListboxValue, kn as normalizeListboxValue, qn as ListboxValue, zn as ListboxItemState } from "./announcer-
|
|
1
|
+
import { An as selectListboxValue, Bn as ListboxMultipleValue, Dn as emptyListboxValue, En as areListboxValuesEqual, Fn as ListboxDirection, Gn as ListboxSlotState, Hn as ListboxProps, In as ListboxExpose, Kn as ListboxState, Ln as ListboxItemExpose, Mn as _default$1, Nn as _default, On as listboxSelectedValues, Pn as ListboxAriaInvalid, Rn as ListboxItemSlotState, Un as ListboxSelectionMode, Vn as ListboxOrientation, Wn as ListboxSingleValue, jn as toggleListboxValue, kn as normalizeListboxValue, qn as ListboxValue, zn as ListboxItemState } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Listbox, type ListboxAriaInvalid, type ListboxDirection, type ListboxExpose, _default$1 as ListboxItem, type ListboxItemExpose, type ListboxItemSlotState, type ListboxItemState, type ListboxMultipleValue, type ListboxOrientation, type ListboxProps, type ListboxSelectionMode, type ListboxSingleValue, type ListboxSlotState, type ListboxState, type ListboxValue, areListboxValuesEqual, emptyListboxValue, listboxSelectedValues, normalizeListboxValue, selectListboxValue, toggleListboxValue };
|
package/dist/locale.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as LocaleNumberFormatterOptions, At as useRelativeTimeFormatter, B as localeTextContains, Ct as useDirection, Dt as useLocaleValue, Et as useLocale, G as LocaleCalendar, H as localeTextStartsWith, J as LocaleDisplayNamesOptions, K as LocaleCollatorOptions, L as _default, Mt as useTimeZone, Nt as useTimeZoneDisambiguation, Ot as useNumberFormatter, Q as LocaleListFormatterOptions, R as LocaleTextMatchMode, St as useDateTimeFormatter, Tt as useListFormatter, U as normalizeLocaleText, V as localeTextMatches, W as DirectionPreference, X as LocaleDisplayNamesType, Y as LocaleDisplayNamesOptionsInput, Z as LocaleFormatterOptionsInput, _t as resolveSearchCollator, at as TextDirection, bt as useCalendar, ct as resolveCollator, dt as resolveDisplayNames, et as LocaleNumberingSystem, ft as resolveListFormatter, gt as resolveRelativeTimeFormatter, ht as resolveNumberingSystem, it as LocaleValue, jt as useSearchCollator, kt as useNumberingSystem, lt as resolveDateTimeFormatter, mt as resolveNumberFormatter, nt as LocaleTimeZone, ot as localeContext, pt as resolveLocale, q as LocaleDateTimeFormatterOptions, rt as LocaleTimeZoneDisambiguation, st as resolveCalendar, tt as LocaleRelativeTimeFormatterOptions, ut as resolveDirection, vt as resolveTimeZone, wt as useDisplayNames, xt as useCollator, yt as resolveTimeZoneDisambiguation, z as LocaleTextMatchOptions } from "./announcer-
|
|
1
|
+
import { $ as LocaleNumberFormatterOptions, At as useRelativeTimeFormatter, B as localeTextContains, Ct as useDirection, Dt as useLocaleValue, Et as useLocale, G as LocaleCalendar, H as localeTextStartsWith, J as LocaleDisplayNamesOptions, K as LocaleCollatorOptions, L as _default, Mt as useTimeZone, Nt as useTimeZoneDisambiguation, Ot as useNumberFormatter, Q as LocaleListFormatterOptions, R as LocaleTextMatchMode, St as useDateTimeFormatter, Tt as useListFormatter, U as normalizeLocaleText, V as localeTextMatches, W as DirectionPreference, X as LocaleDisplayNamesType, Y as LocaleDisplayNamesOptionsInput, Z as LocaleFormatterOptionsInput, _t as resolveSearchCollator, at as TextDirection, bt as useCalendar, ct as resolveCollator, dt as resolveDisplayNames, et as LocaleNumberingSystem, ft as resolveListFormatter, gt as resolveRelativeTimeFormatter, ht as resolveNumberingSystem, it as LocaleValue, jt as useSearchCollator, kt as useNumberingSystem, lt as resolveDateTimeFormatter, mt as resolveNumberFormatter, nt as LocaleTimeZone, ot as localeContext, pt as resolveLocale, q as LocaleDateTimeFormatterOptions, rt as LocaleTimeZoneDisambiguation, st as resolveCalendar, tt as LocaleRelativeTimeFormatterOptions, ut as resolveDirection, vt as resolveTimeZone, wt as useDisplayNames, xt as useCollator, yt as resolveTimeZoneDisambiguation, z as LocaleTextMatchOptions } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { type DirectionPreference, type LocaleCalendar, type LocaleCollatorOptions, type LocaleDateTimeFormatterOptions, type LocaleDisplayNamesOptions, type LocaleDisplayNamesOptionsInput, type LocaleDisplayNamesType, type LocaleFormatterOptionsInput, type LocaleListFormatterOptions, type LocaleNumberFormatterOptions, type LocaleNumberingSystem, _default as LocaleProvider, type LocaleRelativeTimeFormatterOptions, type LocaleTextMatchMode, type LocaleTextMatchOptions, type LocaleTimeZone, type LocaleTimeZoneDisambiguation, type LocaleValue, type TextDirection, localeContext, localeTextContains, localeTextMatches, localeTextStartsWith, normalizeLocaleText, resolveCalendar, resolveCollator, resolveDateTimeFormatter, resolveDirection, resolveDisplayNames, resolveListFormatter, resolveLocale, resolveNumberFormatter, resolveNumberingSystem, resolveRelativeTimeFormatter, resolveSearchCollator, resolveTimeZone, resolveTimeZoneDisambiguation, useCalendar, useCollator, useDateTimeFormatter, useDirection, useDisplayNames, useListFormatter, useLocale, useLocaleValue, useNumberFormatter, useNumberingSystem, useRelativeTimeFormatter, useSearchCollator, useTimeZone, useTimeZoneDisambiguation };
|
package/dist/native-select.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as NativeSelectSlotState, Cr as NativeSelectExpose, Dr as NativeSelectProps, Er as NativeSelectOptionState, Mr as NativeSelectState, Nr as NativeSelectValue, Or as NativeSelectSelectionMode, Sr as NativeSelectEmits, Tr as NativeSelectOption, _r as nativeSelectSelectedValues, br as NativeSelectAriaInvalid, gr as areNativeSelectValuesEqual, jr as NativeSelectSlots, kr as NativeSelectSingleValue, vr as normalizeNativeSelectValue, wr as NativeSelectMultipleValue, xr as NativeSelectDirection, yr as _default } from "./announcer-
|
|
1
|
+
import { Ar as NativeSelectSlotState, Cr as NativeSelectExpose, Dr as NativeSelectProps, Er as NativeSelectOptionState, Mr as NativeSelectState, Nr as NativeSelectValue, Or as NativeSelectSelectionMode, Sr as NativeSelectEmits, Tr as NativeSelectOption, _r as nativeSelectSelectedValues, br as NativeSelectAriaInvalid, gr as areNativeSelectValuesEqual, jr as NativeSelectSlots, kr as NativeSelectSingleValue, vr as normalizeNativeSelectValue, wr as NativeSelectMultipleValue, xr as NativeSelectDirection, yr as _default } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as NativeSelect, type NativeSelectAriaInvalid, type NativeSelectDirection, type NativeSelectEmits, type NativeSelectExpose, type NativeSelectMultipleValue, type NativeSelectOption, type NativeSelectOptionState, type NativeSelectProps, type NativeSelectSelectionMode, type NativeSelectSingleValue, type NativeSelectSlotState, type NativeSelectSlots, type NativeSelectState, type NativeSelectValue, areNativeSelectValuesEqual, nativeSelectSelectedValues, normalizeNativeSelectValue };
|
package/dist/pagination.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $t as _default, Cn as normalizePaginationPage, Jt as _default$5, Qt as _default$1, Sn as getPaginationPageIdSegment, Tn as toPaginationPageInRange, Xt as _default$3, Yt as _default$4, Zt as _default$2, _n as PaginationRangeEllipsis, an as PaginationEllipsisSlotState, bn as PaginationRangePage, cn as PaginationListExpose, dn as PaginationPageSlotState, en as PaginationControlExpose, fn as PaginationPageState, gn as PaginationState, hn as PaginationSlotState, in as PaginationEllipsisPosition, ln as PaginationListSlotState, mn as PaginationRootProps, nn as PaginationControlState, on as PaginationItemExpose, pn as PaginationRootExpose, qt as _default$6, rn as PaginationEllipsisExpose, sn as PaginationItemSlotState, tn as PaginationControlSlotState, un as PaginationPageExpose, vn as PaginationRangeItem, wn as normalizePaginationPageCount, xn as createPaginationRange, yn as PaginationRangeOptions } from "./announcer-
|
|
1
|
+
import { $t as _default, Cn as normalizePaginationPage, Jt as _default$5, Qt as _default$1, Sn as getPaginationPageIdSegment, Tn as toPaginationPageInRange, Xt as _default$3, Yt as _default$4, Zt as _default$2, _n as PaginationRangeEllipsis, an as PaginationEllipsisSlotState, bn as PaginationRangePage, cn as PaginationListExpose, dn as PaginationPageSlotState, en as PaginationControlExpose, fn as PaginationPageState, gn as PaginationState, hn as PaginationSlotState, in as PaginationEllipsisPosition, ln as PaginationListSlotState, mn as PaginationRootProps, nn as PaginationControlState, on as PaginationItemExpose, pn as PaginationRootExpose, qt as _default$6, rn as PaginationEllipsisExpose, sn as PaginationItemSlotState, tn as PaginationControlSlotState, un as PaginationPageExpose, vn as PaginationRangeItem, wn as normalizePaginationPageCount, xn as createPaginationRange, yn as PaginationRangeOptions } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Pagination, _default as PaginationRoot, type PaginationControlExpose, type PaginationControlSlotState, type PaginationControlState, _default$1 as PaginationEllipsis, type PaginationEllipsisExpose, type PaginationEllipsisPosition, type PaginationEllipsisSlotState, _default$2 as PaginationItem, type PaginationItemExpose, type PaginationItemSlotState, _default$3 as PaginationList, type PaginationListExpose, type PaginationListSlotState, _default$4 as PaginationNext, _default$5 as PaginationPage, type PaginationPageExpose, type PaginationPageSlotState, type PaginationPageState, _default$6 as PaginationPrevious, type PaginationRangeEllipsis, type PaginationRangeItem, type PaginationRangeOptions, type PaginationRangePage, type PaginationRootExpose, type PaginationRootProps, type PaginationSlotState, type PaginationState, createPaginationRange, getPaginationPageIdSegment, normalizePaginationPage, normalizePaginationPageCount, toPaginationPageInRange };
|
package/dist/popover.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $i as PopoverSlotState, Bi as PopoverArrowSlotState, Fi as _default$2, Gi as PopoverEscapeKeyDownEvent, Hi as PopoverContentExpose, Ii as _default$1, Ji as PopoverPlacement, Ki as PopoverFocusOutsideEvent, Li as _default, Pi as _default$3, Qi as PopoverSide, Ri as PopoverAlign, Ui as PopoverContentSlotState, Vi as PopoverAutoFocusEvent, Wi as PopoverDismissEvent, Xi as PopoverPositionerStrategy, Yi as PopoverPointerDownOutsideEvent, Zi as PopoverRootExpose, ea as PopoverState, na as PopoverViewport, qi as PopoverInteractOutsideEvent, ta as PopoverTriggerExpose, zi as PopoverArrowExpose } from "./announcer-
|
|
1
|
+
import { $i as PopoverSlotState, Bi as PopoverArrowSlotState, Fi as _default$2, Gi as PopoverEscapeKeyDownEvent, Hi as PopoverContentExpose, Ii as _default$1, Ji as PopoverPlacement, Ki as PopoverFocusOutsideEvent, Li as _default, Pi as _default$3, Qi as PopoverSide, Ri as PopoverAlign, Ui as PopoverContentSlotState, Vi as PopoverAutoFocusEvent, Wi as PopoverDismissEvent, Xi as PopoverPositionerStrategy, Yi as PopoverPointerDownOutsideEvent, Zi as PopoverRootExpose, ea as PopoverState, na as PopoverViewport, qi as PopoverInteractOutsideEvent, ta as PopoverTriggerExpose, zi as PopoverArrowExpose } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Popover, _default as PopoverRoot, type PopoverAlign, _default$1 as PopoverArrow, type PopoverArrowExpose, type PopoverArrowSlotState, type PopoverAutoFocusEvent, _default$2 as PopoverContent, type PopoverContentExpose, type PopoverContentSlotState, type PopoverDismissEvent, type PopoverEscapeKeyDownEvent, type PopoverFocusOutsideEvent, type PopoverInteractOutsideEvent, type PopoverPlacement, type PopoverPointerDownOutsideEvent, type PopoverPositionerStrategy, type PopoverRootExpose, type PopoverSide, type PopoverSlotState, type PopoverState, _default$3 as PopoverTrigger, type PopoverTriggerExpose, type PopoverViewport };
|
package/dist/print-button.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as PrintButtonEmits, Ja as PrintButtonAction, Qa as PrintButtonElement, Xa as PrintButtonDataAttribute, Ya as PrintButtonCssCustomProperty, Za as PrintButtonDataName, ao as PrintButtonState, eo as PrintButtonExpose, io as PrintButtonSlots, no as PrintButtonProps, oo as PrintButtonType, qa as _default, ro as PrintButtonSlotState, to as PrintButtonPart } from "./announcer-
|
|
1
|
+
import { $a as PrintButtonEmits, Ja as PrintButtonAction, Qa as PrintButtonElement, Xa as PrintButtonDataAttribute, Ya as PrintButtonCssCustomProperty, Za as PrintButtonDataName, ao as PrintButtonState, eo as PrintButtonExpose, io as PrintButtonSlots, no as PrintButtonProps, oo as PrintButtonType, qa as _default, ro as PrintButtonSlotState, to as PrintButtonPart } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as PrintButton, type PrintButtonAction, type PrintButtonCssCustomProperty, type PrintButtonDataAttribute, type PrintButtonDataName, type PrintButtonElement, type PrintButtonEmits, type PrintButtonExpose, type PrintButtonPart, type PrintButtonProps, type PrintButtonSlotState, type PrintButtonSlots, type PrintButtonState, type PrintButtonType };
|
package/dist/progress-bar.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ProgressBarDirection, D as PROGRESS_BAR_DEFAULT_MIN, E as PROGRESS_BAR_DEFAULT_MAX, F as ProgressBarState, I as ProgressBarStyle, M as ProgressBarProps, N as ProgressBarSlotState, O as getProgressBarState, P as ProgressBarSlots, T as _default, j as ProgressBarExpose, k as getProgressBarStyle } from "./announcer-
|
|
1
|
+
import { A as ProgressBarDirection, D as PROGRESS_BAR_DEFAULT_MIN, E as PROGRESS_BAR_DEFAULT_MAX, F as ProgressBarState, I as ProgressBarStyle, M as ProgressBarProps, N as ProgressBarSlotState, O as getProgressBarState, P as ProgressBarSlots, T as _default, j as ProgressBarExpose, k as getProgressBarStyle } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { PROGRESS_BAR_DEFAULT_MAX, PROGRESS_BAR_DEFAULT_MIN, _default as ProgressBar, type ProgressBarDirection, type ProgressBarExpose, type ProgressBarProps, type ProgressBarSlotState, type ProgressBarSlots, type ProgressBarState, type ProgressBarStyle, getProgressBarState, getProgressBarStyle };
|
package/dist/radio-group.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _i as RadioGroupSlotState, di as _default, fi as RadioGroupAriaInvalid, gi as RadioGroupOrientation, hi as RadioGroupItemState, mi as RadioGroupItemExpose, pi as RadioGroupExpose, ui as _default$1, vi as RadioGroupState, yi as RadioGroupValue } from "./announcer-
|
|
1
|
+
import { _i as RadioGroupSlotState, di as _default, fi as RadioGroupAriaInvalid, gi as RadioGroupOrientation, hi as RadioGroupItemState, mi as RadioGroupItemExpose, pi as RadioGroupExpose, ui as _default$1, vi as RadioGroupState, yi as RadioGroupValue } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as RadioGroup, type RadioGroupAriaInvalid, type RadioGroupExpose, _default$1 as RadioGroupItem, type RadioGroupItemExpose, type RadioGroupItemState, type RadioGroupOrientation, type RadioGroupSlotState, type RadioGroupState, type RadioGroupValue };
|
package/dist/scroll-area.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as ScrollAreaOverscrollBehavior, Gr as ScrollAreaAriaState, Jr as ScrollAreaEmits, Kr as ScrollAreaAs, Qr as ScrollAreaOverflow, Wr as _default, Xr as ScrollAreaLength, Yr as ScrollAreaExpose, Zr as ScrollAreaOrientation, ai as ScrollAreaScrollbarGutter, ci as ScrollAreaState, ei as ScrollAreaProps, ii as ScrollAreaScrollBehavior, li as ScrollAreaStyle, ni as ScrollAreaResolvedLength, oi as ScrollAreaScrollbarWidth, qr as ScrollAreaDirection, ri as ScrollAreaRootElement, si as ScrollAreaSlotState, ti as ScrollAreaResolvedLayout } from "./announcer-
|
|
1
|
+
import { $r as ScrollAreaOverscrollBehavior, Gr as ScrollAreaAriaState, Jr as ScrollAreaEmits, Kr as ScrollAreaAs, Qr as ScrollAreaOverflow, Wr as _default, Xr as ScrollAreaLength, Yr as ScrollAreaExpose, Zr as ScrollAreaOrientation, ai as ScrollAreaScrollbarGutter, ci as ScrollAreaState, ei as ScrollAreaProps, ii as ScrollAreaScrollBehavior, li as ScrollAreaStyle, ni as ScrollAreaResolvedLength, oi as ScrollAreaScrollbarWidth, qr as ScrollAreaDirection, ri as ScrollAreaRootElement, si as ScrollAreaSlotState, ti as ScrollAreaResolvedLayout } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as ScrollArea, type ScrollAreaAriaState, type ScrollAreaAs, type ScrollAreaDirection, type ScrollAreaEmits, type ScrollAreaExpose, type ScrollAreaLength, type ScrollAreaOrientation, type ScrollAreaOverflow, type ScrollAreaOverscrollBehavior, type ScrollAreaProps, type ScrollAreaResolvedLayout, type ScrollAreaResolvedLength, type ScrollAreaRootElement, type ScrollAreaScrollBehavior, type ScrollAreaScrollbarGutter, type ScrollAreaScrollbarWidth, type ScrollAreaSlotState, type ScrollAreaState, type ScrollAreaStyle };
|
package/dist/share-button.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ba as ShareButtonPart, Fa as ShareButtonDataAttribute, Ga as ShareButtonState, Ha as ShareButtonProps, Ia as ShareButtonDataName, Ka as ShareButtonType, La as ShareButtonElement, Ma as _default, Na as ShareButtonAction, Pa as ShareButtonCssCustomProperty, Ra as ShareButtonEmits, Ua as ShareButtonSlotState, Va as ShareButtonPayload, Wa as ShareButtonSlots, za as ShareButtonExpose } from "./announcer-
|
|
1
|
+
import { Ba as ShareButtonPart, Fa as ShareButtonDataAttribute, Ga as ShareButtonState, Ha as ShareButtonProps, Ia as ShareButtonDataName, Ka as ShareButtonType, La as ShareButtonElement, Ma as _default, Na as ShareButtonAction, Pa as ShareButtonCssCustomProperty, Ra as ShareButtonEmits, Ua as ShareButtonSlotState, Va as ShareButtonPayload, Wa as ShareButtonSlots, za as ShareButtonExpose } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as ShareButton, type ShareButtonAction, type ShareButtonCssCustomProperty, type ShareButtonDataAttribute, type ShareButtonDataName, type ShareButtonElement, type ShareButtonEmits, type ShareButtonExpose, type ShareButtonPart, type ShareButtonPayload, type ShareButtonProps, type ShareButtonSlotState, type ShareButtonSlots, type ShareButtonState, type ShareButtonType };
|
package/dist/status-light.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as StatusLightState, S as StatusLightSlotState, _ as StatusLightElement, b as StatusLightRole, g as StatusLightAriaState, h as _default, v as StatusLightExpose, w as StatusLightTone, x as StatusLightSize, y as StatusLightProps } from "./announcer-
|
|
1
|
+
import { C as StatusLightState, S as StatusLightSlotState, _ as StatusLightElement, b as StatusLightRole, g as StatusLightAriaState, h as _default, v as StatusLightExpose, w as StatusLightTone, x as StatusLightSize, y as StatusLightProps } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as StatusLight, type StatusLightAriaState, type StatusLightElement, type StatusLightExpose, type StatusLightProps, type StatusLightRole, type StatusLightSize, type StatusLightSlotState, type StatusLightState, type StatusLightTone };
|
package/dist/stepper.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $s as _default$4, Qs as stepperValueEquals, Sc as StepperValue, Zs as getStepperValueIdSegment, _c as StepperRootProps, ac as StepperContentRole, bc as StepperTriggerExpose, cc as StepperDirection, dc as StepperItemState, ec as _default$3, fc as StepperListExpose, gc as StepperRootExpose, hc as StepperOrientation, ic as StepperContentExpose, lc as StepperItemExpose, mc as StepperNavigationMode, nc as _default$1, oc as StepperContentSlotState, pc as StepperListSlotState, rc as _default, sc as StepperContentState, tc as _default$2, uc as StepperItemSlotState, vc as StepperRootState, xc as StepperTriggerSlotState, yc as StepperSlotState } from "./announcer-
|
|
1
|
+
import { $s as _default$4, Qs as stepperValueEquals, Sc as StepperValue, Zs as getStepperValueIdSegment, _c as StepperRootProps, ac as StepperContentRole, bc as StepperTriggerExpose, cc as StepperDirection, dc as StepperItemState, ec as _default$3, fc as StepperListExpose, gc as StepperRootExpose, hc as StepperOrientation, ic as StepperContentExpose, lc as StepperItemExpose, mc as StepperNavigationMode, nc as _default$1, oc as StepperContentSlotState, pc as StepperListSlotState, rc as _default, sc as StepperContentState, tc as _default$2, uc as StepperItemSlotState, vc as StepperRootState, xc as StepperTriggerSlotState, yc as StepperSlotState } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Stepper, _default as StepperRoot, _default$1 as StepperContent, type StepperContentExpose, type StepperContentRole, type StepperContentSlotState, type StepperContentState, type StepperDirection, _default$2 as StepperItem, type StepperItemExpose, type StepperItemSlotState, type StepperItemState, _default$3 as StepperList, type StepperListExpose, type StepperListSlotState, type StepperNavigationMode, type StepperOrientation, type StepperRootExpose, type StepperRootProps, type StepperRootState, type StepperSlotState, _default$4 as StepperTrigger, type StepperTriggerExpose, type StepperTriggerSlotState, type StepperValue, getStepperValueIdSegment, stepperValueEquals };
|
package/dist/surface.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Br as SurfaceProps, Fr as SurfaceAriaState, Hr as SurfaceSlotState, Ir as SurfaceAs, Lr as SurfaceElement, Pr as _default, Rr as SurfaceElevation, Ur as SurfaceTone, Vr as SurfaceSemanticHost, zr as SurfaceExpose } from "./announcer-
|
|
1
|
+
import { Br as SurfaceProps, Fr as SurfaceAriaState, Hr as SurfaceSlotState, Ir as SurfaceAs, Lr as SurfaceElement, Pr as _default, Rr as SurfaceElevation, Ur as SurfaceTone, Vr as SurfaceSemanticHost, zr as SurfaceExpose } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Surface, type SurfaceAriaState, type SurfaceAs, type SurfaceElement, type SurfaceElevation, type SurfaceExpose, type SurfaceProps, type SurfaceSemanticHost, type SurfaceSlotState, type SurfaceTone };
|
package/dist/switch.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ft as _default, It as SwitchAriaInvalid, Lt as SwitchExpose, Rt as SwitchSlotState, zt as SwitchState } from "./announcer-
|
|
1
|
+
import { Ft as _default, It as SwitchAriaInvalid, Lt as SwitchExpose, Rt as SwitchSlotState, zt as SwitchState } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Switch, type SwitchAriaInvalid, type SwitchExpose, type SwitchSlotState, type SwitchState };
|
package/dist/tabs.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ac as TabsContentState, Bc as TabsTriggerState, Cc as _default$3, Dc as TabsActivationMode, Ec as _default, Fc as TabsRootExpose, Ic as TabsSlotState, Lc as TabsState, Mc as TabsListExpose, Nc as TabsListSlotState, Oc as TabsContentExpose, Pc as TabsOrientation, Rc as TabsTriggerExpose, Tc as _default$1, Vc as TabsValue, jc as TabsDirection, kc as TabsContentSlotState, wc as _default$2, zc as TabsTriggerSlotState } from "./announcer-
|
|
1
|
+
import { Ac as TabsContentState, Bc as TabsTriggerState, Cc as _default$3, Dc as TabsActivationMode, Ec as _default, Fc as TabsRootExpose, Ic as TabsSlotState, Lc as TabsState, Mc as TabsListExpose, Nc as TabsListSlotState, Oc as TabsContentExpose, Pc as TabsOrientation, Rc as TabsTriggerExpose, Tc as _default$1, Vc as TabsValue, jc as TabsDirection, kc as TabsContentSlotState, wc as _default$2, zc as TabsTriggerSlotState } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Tabs, _default as TabsRoot, type TabsActivationMode, _default$1 as TabsContent, type TabsContentExpose, type TabsContentSlotState, type TabsContentState, type TabsDirection, _default$2 as TabsList, type TabsListExpose, type TabsListSlotState, type TabsOrientation, type TabsRootExpose, type TabsSlotState, type TabsState, _default$3 as TabsTrigger, type TabsTriggerExpose, type TabsTriggerSlotState, type TabsTriggerState, type TabsValue };
|
package/dist/text.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bt as _default, Gt as TextTone, Ht as TextExpose, Kt as TextWeight, Ut as TextSize, Vt as TextElement, Wt as TextSlotState } from "./announcer-
|
|
1
|
+
import { Bt as _default, Gt as TextTone, Ht as TextExpose, Kt as TextWeight, Ut as TextSize, Vt as TextElement, Wt as TextSlotState } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Text, type TextElement, type TextExpose, type TextSize, type TextSlotState, type TextTone, type TextWeight };
|
package/dist/toggle.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { aa as ToggleSlotState, ia as ToggleExpose, ra as _default } from "./announcer-
|
|
1
|
+
import { aa as ToggleSlotState, ia as ToggleExpose, ra as _default } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Toggle, type ToggleExpose, type ToggleSlotState };
|
package/dist/tooltip.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ai as TooltipSlotState, Ci as TooltipContentExpose, Di as TooltipPlacement, Ei as TooltipEscapeKeyDownEvent, Mi as TooltipTriggerExpose, Ni as TooltipViewport, Oi as TooltipPositionerStrategy, Si as _default, Ti as TooltipDismissEvent, bi as _default$2, ji as TooltipState, ki as TooltipRootExpose, wi as TooltipContentSlotState, xi as _default$1 } from "./announcer-
|
|
1
|
+
import { Ai as TooltipSlotState, Ci as TooltipContentExpose, Di as TooltipPlacement, Ei as TooltipEscapeKeyDownEvent, Mi as TooltipTriggerExpose, Ni as TooltipViewport, Oi as TooltipPositionerStrategy, Si as _default, Ti as TooltipDismissEvent, bi as _default$2, ji as TooltipState, ki as TooltipRootExpose, wi as TooltipContentSlotState, xi as _default$1 } from "./announcer-Dldh-8I4.mjs";
|
|
2
2
|
export { _default as Tooltip, _default as TooltipRoot, _default$1 as TooltipContent, type TooltipContentExpose, type TooltipContentSlotState, type TooltipDismissEvent, type TooltipEscapeKeyDownEvent, type TooltipPlacement, type TooltipPositionerStrategy, type TooltipRootExpose, type TooltipSlotState, type TooltipState, _default$2 as TooltipTrigger, type TooltipTriggerExpose, type TooltipViewport };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.426.0",
|
|
4
4
|
"description": "Accessible, headless, Native CSS-first UI primitives",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -404,6 +404,11 @@
|
|
|
404
404
|
"import": "./dist/interaction-modality.mjs",
|
|
405
405
|
"default": "./dist/interaction-modality.mjs"
|
|
406
406
|
},
|
|
407
|
+
"./interaction-hooks": {
|
|
408
|
+
"types": "./dist/interaction-hooks.d.mts",
|
|
409
|
+
"import": "./dist/interaction-hooks.mjs",
|
|
410
|
+
"default": "./dist/interaction-hooks.mjs"
|
|
411
|
+
},
|
|
407
412
|
"./focus": {
|
|
408
413
|
"types": "./dist/focus.d.mts",
|
|
409
414
|
"import": "./dist/focus.mjs",
|
|
@@ -591,7 +596,7 @@
|
|
|
591
596
|
"@tsdown/css": "0.22.14",
|
|
592
597
|
"@types/node": "25.9.2",
|
|
593
598
|
"@vitejs/plugin-vue": "6.0.7",
|
|
594
|
-
"@vizejs/native": "0.
|
|
599
|
+
"@vizejs/native": "0.426.0",
|
|
595
600
|
"@vue/compiler-sfc": "3.5.35",
|
|
596
601
|
"@vue/test-utils": "2.4.10",
|
|
597
602
|
"happy-dom": "20.11.2",
|
|
@@ -607,6 +612,12 @@
|
|
|
607
612
|
"engines": {
|
|
608
613
|
"node": ">=22"
|
|
609
614
|
},
|
|
615
|
+
"metadata": {
|
|
616
|
+
"vize": {
|
|
617
|
+
"stability": "experimental",
|
|
618
|
+
"stabilityDocs": "https://github.com/ubugeeei-prod/vize/blob/main/docs/content/stability.md#package-support-tiers"
|
|
619
|
+
}
|
|
620
|
+
},
|
|
610
621
|
"scripts": {
|
|
611
622
|
"build": "vp pack",
|
|
612
623
|
"dev": "vp pack --watch",
|