reka-ui 0.0.0 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/Accordion/AccordionContent.d.ts +22 -0
- package/dist/Accordion/AccordionHeader.d.ts +36 -0
- package/dist/Accordion/AccordionItem.d.ts +60 -0
- package/dist/Accordion/AccordionRoot.d.ts +146 -0
- package/dist/Accordion/AccordionTrigger.d.ts +22 -0
- package/dist/Accordion/index.d.ts +5 -0
- package/dist/AlertDialog/AlertDialogAction.d.ts +36 -0
- package/dist/AlertDialog/AlertDialogCancel.d.ts +36 -0
- package/dist/AlertDialog/AlertDialogContent.d.ts +41 -0
- package/dist/AlertDialog/AlertDialogDescription.d.ts +36 -0
- package/dist/AlertDialog/AlertDialogOverlay.d.ts +22 -0
- package/dist/AlertDialog/AlertDialogPortal.d.ts +22 -0
- package/dist/AlertDialog/AlertDialogRoot.d.ts +27 -0
- package/dist/AlertDialog/AlertDialogTitle.d.ts +36 -0
- package/dist/AlertDialog/AlertDialogTrigger.d.ts +36 -0
- package/dist/AlertDialog/index.d.ts +9 -0
- package/dist/AspectRatio/AspectRatio.d.ts +49 -0
- package/dist/AspectRatio/index.d.ts +1 -0
- package/dist/Avatar/AvatarFallback.d.ts +41 -0
- package/dist/Avatar/AvatarImage.d.ts +49 -0
- package/dist/Avatar/AvatarRoot.d.ts +42 -0
- package/dist/Avatar/index.d.ts +3 -0
- package/dist/Avatar/utils.d.ts +4 -0
- package/dist/Calendar/CalendarCell.d.ts +39 -0
- package/dist/Calendar/CalendarCellTrigger.d.ts +49 -0
- package/dist/Calendar/CalendarGrid.d.ts +36 -0
- package/dist/Calendar/CalendarGridBody.d.ts +36 -0
- package/dist/Calendar/CalendarGridHead.d.ts +36 -0
- package/dist/Calendar/CalendarGridRow.d.ts +36 -0
- package/dist/Calendar/CalendarHeadCell.d.ts +36 -0
- package/dist/Calendar/CalendarHeader.d.ts +36 -0
- package/dist/Calendar/CalendarHeading.d.ts +44 -0
- package/dist/Calendar/CalendarNext.d.ts +41 -0
- package/dist/Calendar/CalendarPrev.d.ts +41 -0
- package/dist/Calendar/CalendarRoot.d.ts +242 -0
- package/dist/Calendar/index.d.ts +12 -0
- package/dist/Calendar/useCalendar.d.ts +45 -0
- package/dist/Checkbox/CheckboxGroupRoot.d.ts +98 -0
- package/dist/Checkbox/CheckboxIndicator.d.ts +41 -0
- package/dist/Checkbox/CheckboxRoot.d.ts +87 -0
- package/dist/Checkbox/index.d.ts +4 -0
- package/dist/Checkbox/utils.d.ts +3 -0
- package/dist/Collapsible/CollapsibleContent.d.ts +27 -0
- package/dist/Collapsible/CollapsibleRoot.d.ts +77 -0
- package/dist/Collapsible/CollapsibleTrigger.d.ts +36 -0
- package/dist/Collapsible/index.d.ts +3 -0
- package/dist/Collection/Collection.d.ts +28 -0
- package/dist/Collection/index.d.ts +1 -0
- package/dist/Combobox/ComboboxAnchor.d.ts +22 -0
- package/dist/Combobox/ComboboxArrow.d.ts +42 -0
- package/dist/Combobox/ComboboxCancel.d.ts +36 -0
- package/dist/Combobox/ComboboxContent.d.ts +38 -0
- package/dist/Combobox/ComboboxContentImpl.d.ts +78 -0
- package/dist/Combobox/ComboboxEmpty.d.ts +22 -0
- package/dist/Combobox/ComboboxGroup.d.ts +27 -0
- package/dist/Combobox/ComboboxInput.d.ts +43 -0
- package/dist/Combobox/ComboboxItem.d.ts +66 -0
- package/dist/Combobox/ComboboxItemIndicator.d.ts +36 -0
- package/dist/Combobox/ComboboxLabel.d.ts +37 -0
- package/dist/Combobox/ComboboxPortal.d.ts +22 -0
- package/dist/Combobox/ComboboxRoot.d.ts +217 -0
- package/dist/Combobox/ComboboxSeparator.d.ts +22 -0
- package/dist/Combobox/ComboboxTrigger.d.ts +38 -0
- package/dist/Combobox/ComboboxViewport.d.ts +26 -0
- package/dist/Combobox/ComboboxVirtualizer.d.ts +63 -0
- package/dist/Combobox/index.d.ts +16 -0
- package/dist/ConfigProvider/ConfigProvider.d.ts +81 -0
- package/dist/ConfigProvider/index.d.ts +1 -0
- package/dist/ContextMenu/ContextMenuArrow.d.ts +42 -0
- package/dist/ContextMenu/ContextMenuCheckboxItem.d.ts +29 -0
- package/dist/ContextMenu/ContextMenuContent.d.ts +64 -0
- package/dist/ContextMenu/ContextMenuGroup.d.ts +22 -0
- package/dist/ContextMenu/ContextMenuItem.d.ts +27 -0
- package/dist/ContextMenu/ContextMenuItemIndicator.d.ts +22 -0
- package/dist/ContextMenu/ContextMenuLabel.d.ts +22 -0
- package/dist/ContextMenu/ContextMenuPortal.d.ts +22 -0
- package/dist/ContextMenu/ContextMenuRadioGroup.d.ts +27 -0
- package/dist/ContextMenu/ContextMenuRadioItem.d.ts +27 -0
- package/dist/ContextMenu/ContextMenuRoot.d.ts +50 -0
- package/dist/ContextMenu/ContextMenuSeparator.d.ts +22 -0
- package/dist/ContextMenu/ContextMenuSub.d.ts +51 -0
- package/dist/ContextMenu/ContextMenuSubContent.d.ts +39 -0
- package/dist/ContextMenu/ContextMenuSubTrigger.d.ts +22 -0
- package/dist/ContextMenu/ContextMenuTrigger.d.ts +45 -0
- package/dist/ContextMenu/index.d.ts +16 -0
- package/dist/ContextMenu/utils.d.ts +1 -0
- package/dist/DateField/DateFieldInput.d.ts +25 -0
- package/dist/DateField/DateFieldRoot.d.ts +145 -0
- package/dist/DateField/index.d.ts +2 -0
- package/dist/DateField/useDateField.d.ts +124 -0
- package/dist/DateField/utils/index.d.ts +2 -0
- package/dist/DateField/utils/parser.d.ts +31 -0
- package/dist/DateField/utils/segment.d.ts +4 -0
- package/dist/DatePicker/DatePickerAnchor.d.ts +22 -0
- package/dist/DatePicker/DatePickerArrow.d.ts +22 -0
- package/dist/DatePicker/DatePickerCalendar.d.ts +18 -0
- package/dist/DatePicker/DatePickerCell.d.ts +22 -0
- package/dist/DatePicker/DatePickerCellTrigger.d.ts +22 -0
- package/dist/DatePicker/DatePickerClose.d.ts +22 -0
- package/dist/DatePicker/DatePickerContent.d.ts +38 -0
- package/dist/DatePicker/DatePickerField.d.ts +17 -0
- package/dist/DatePicker/DatePickerGrid.d.ts +22 -0
- package/dist/DatePicker/DatePickerGridBody.d.ts +22 -0
- package/dist/DatePicker/DatePickerGridHead.d.ts +22 -0
- package/dist/DatePicker/DatePickerGridRow.d.ts +22 -0
- package/dist/DatePicker/DatePickerHeadCell.d.ts +22 -0
- package/dist/DatePicker/DatePickerHeader.d.ts +22 -0
- package/dist/DatePicker/DatePickerHeading.d.ts +30 -0
- package/dist/DatePicker/DatePickerInput.d.ts +22 -0
- package/dist/DatePicker/DatePickerNext.d.ts +22 -0
- package/dist/DatePicker/DatePickerPrev.d.ts +22 -0
- package/dist/DatePicker/DatePickerRoot.d.ts +132 -0
- package/dist/DatePicker/DatePickerTrigger.d.ts +22 -0
- package/dist/DatePicker/index.d.ts +20 -0
- package/dist/DateRangeField/DateRangeFieldInput.d.ts +28 -0
- package/dist/DateRangeField/DateRangeFieldRoot.d.ts +142 -0
- package/dist/DateRangeField/index.d.ts +2 -0
- package/dist/DateRangePicker/DateRangePickerAnchor.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerArrow.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerCalendar.d.ts +16 -0
- package/dist/DateRangePicker/DateRangePickerCell.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerCellTrigger.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerClose.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerContent.d.ts +38 -0
- package/dist/DateRangePicker/DateRangePickerField.d.ts +21 -0
- package/dist/DateRangePicker/DateRangePickerGrid.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerGridBody.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerGridHead.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerGridRow.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerHeadCell.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerHeader.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerHeading.d.ts +30 -0
- package/dist/DateRangePicker/DateRangePickerInput.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerNext.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerPrev.d.ts +22 -0
- package/dist/DateRangePicker/DateRangePickerRoot.d.ts +146 -0
- package/dist/DateRangePicker/DateRangePickerTrigger.d.ts +22 -0
- package/dist/DateRangePicker/index.d.ts +20 -0
- package/dist/Dialog/DialogClose.d.ts +36 -0
- package/dist/Dialog/DialogContent.d.ts +42 -0
- package/dist/Dialog/DialogContentImpl.d.ts +59 -0
- package/dist/Dialog/DialogContentModal.d.ts +34 -0
- package/dist/Dialog/DialogContentNonModal.d.ts +34 -0
- package/dist/Dialog/DialogDescription.d.ts +36 -0
- package/dist/Dialog/DialogOverlay.d.ts +27 -0
- package/dist/Dialog/DialogOverlayImpl.d.ts +22 -0
- package/dist/Dialog/DialogPortal.d.ts +22 -0
- package/dist/Dialog/DialogRoot.d.ts +80 -0
- package/dist/Dialog/DialogTitle.d.ts +36 -0
- package/dist/Dialog/DialogTrigger.d.ts +36 -0
- package/dist/Dialog/index.d.ts +8 -0
- package/dist/Dialog/utils.d.ts +11 -0
- package/dist/DismissableLayer/DismissableLayer.d.ts +89 -0
- package/dist/DismissableLayer/DismissableLayerBranch.d.ts +22 -0
- package/dist/DismissableLayer/index.d.ts +3 -0
- package/dist/DismissableLayer/utils.d.ts +29 -0
- package/dist/DropdownMenu/DropdownMenuArrow.d.ts +42 -0
- package/dist/DropdownMenu/DropdownMenuCheckboxItem.d.ts +29 -0
- package/dist/DropdownMenu/DropdownMenuContent.d.ts +35 -0
- package/dist/DropdownMenu/DropdownMenuGroup.d.ts +22 -0
- package/dist/DropdownMenu/DropdownMenuItem.d.ts +27 -0
- package/dist/DropdownMenu/DropdownMenuItemIndicator.d.ts +22 -0
- package/dist/DropdownMenu/DropdownMenuLabel.d.ts +22 -0
- package/dist/DropdownMenu/DropdownMenuPortal.d.ts +22 -0
- package/dist/DropdownMenu/DropdownMenuRadioGroup.d.ts +27 -0
- package/dist/DropdownMenu/DropdownMenuRadioItem.d.ts +27 -0
- package/dist/DropdownMenu/DropdownMenuRoot.d.ts +67 -0
- package/dist/DropdownMenu/DropdownMenuSeparator.d.ts +22 -0
- package/dist/DropdownMenu/DropdownMenuSub.d.ts +51 -0
- package/dist/DropdownMenu/DropdownMenuSubContent.d.ts +39 -0
- package/dist/DropdownMenu/DropdownMenuSubTrigger.d.ts +22 -0
- package/dist/DropdownMenu/DropdownMenuTrigger.d.ts +38 -0
- package/dist/DropdownMenu/index.d.ts +16 -0
- package/dist/Editable/EditableArea.d.ts +36 -0
- package/dist/Editable/EditableCancelTrigger.d.ts +36 -0
- package/dist/Editable/EditableEditTrigger.d.ts +36 -0
- package/dist/Editable/EditableInput.d.ts +36 -0
- package/dist/Editable/EditablePreview.d.ts +36 -0
- package/dist/Editable/EditableRoot.d.ts +172 -0
- package/dist/Editable/EditableSubmitTrigger.d.ts +36 -0
- package/dist/Editable/index.d.ts +7 -0
- package/dist/FocusGuards/index.d.ts +1 -0
- package/dist/FocusScope/FocusScope.d.ts +69 -0
- package/dist/FocusScope/index.d.ts +1 -0
- package/dist/FocusScope/stack.d.ts +12 -0
- package/dist/FocusScope/utils.d.ts +46 -0
- package/dist/HoverCard/HoverCardArrow.d.ts +42 -0
- package/dist/HoverCard/HoverCardContent.d.ts +38 -0
- package/dist/HoverCard/HoverCardContentImpl.d.ts +34 -0
- package/dist/HoverCard/HoverCardPortal.d.ts +22 -0
- package/dist/HoverCard/HoverCardRoot.d.ts +81 -0
- package/dist/HoverCard/HoverCardTrigger.d.ts +36 -0
- package/dist/HoverCard/index.d.ts +5 -0
- package/dist/HoverCard/utils.d.ts +6 -0
- package/dist/Label/Label.d.ts +38 -0
- package/dist/Label/index.d.ts +1 -0
- package/dist/Listbox/ListboxContent.d.ts +22 -0
- package/dist/Listbox/ListboxFilter.d.ts +57 -0
- package/dist/Listbox/ListboxGroup.d.ts +26 -0
- package/dist/Listbox/ListboxGroupLabel.d.ts +37 -0
- package/dist/Listbox/ListboxItem.d.ts +71 -0
- package/dist/Listbox/ListboxItemIndicator.d.ts +36 -0
- package/dist/Listbox/ListboxRoot.d.ts +231 -0
- package/dist/Listbox/ListboxVirtualizer.d.ts +68 -0
- package/dist/Listbox/index.d.ts +8 -0
- package/dist/Listbox/utils.d.ts +3 -0
- package/dist/Menu/MenuAnchor.d.ts +22 -0
- package/dist/Menu/MenuArrow.d.ts +22 -0
- package/dist/Menu/MenuCheckboxItem.d.ts +57 -0
- package/dist/Menu/MenuContent.d.ts +44 -0
- package/dist/Menu/MenuContentImpl.d.ts +137 -0
- package/dist/Menu/MenuGroup.d.ts +22 -0
- package/dist/Menu/MenuItem.d.ts +33 -0
- package/dist/Menu/MenuItemImpl.d.ts +29 -0
- package/dist/Menu/MenuItemIndicator.d.ts +47 -0
- package/dist/Menu/MenuLabel.d.ts +36 -0
- package/dist/Menu/MenuPortal.d.ts +22 -0
- package/dist/Menu/MenuRadioGroup.d.ts +60 -0
- package/dist/Menu/MenuRadioItem.d.ts +29 -0
- package/dist/Menu/MenuRoot.d.ts +75 -0
- package/dist/Menu/MenuRootContentModal.d.ts +38 -0
- package/dist/Menu/MenuRootContentNonModal.d.ts +38 -0
- package/dist/Menu/MenuSeparator.d.ts +22 -0
- package/dist/Menu/MenuSub.d.ts +55 -0
- package/dist/Menu/MenuSubContent.d.ts +58 -0
- package/dist/Menu/MenuSubTrigger.d.ts +22 -0
- package/dist/Menu/index.d.ts +16 -0
- package/dist/Menu/utils.d.ts +27 -0
- package/dist/Menubar/MenubarArrow.d.ts +42 -0
- package/dist/Menubar/MenubarCheckboxItem.d.ts +29 -0
- package/dist/Menubar/MenubarContent.d.ts +49 -0
- package/dist/Menubar/MenubarGroup.d.ts +22 -0
- package/dist/Menubar/MenubarItem.d.ts +27 -0
- package/dist/Menubar/MenubarItemIndicator.d.ts +22 -0
- package/dist/Menubar/MenubarLabel.d.ts +22 -0
- package/dist/Menubar/MenubarMenu.d.ts +36 -0
- package/dist/Menubar/MenubarPortal.d.ts +22 -0
- package/dist/Menubar/MenubarRadioGroup.d.ts +27 -0
- package/dist/Menubar/MenubarRadioItem.d.ts +27 -0
- package/dist/Menubar/MenubarRoot.d.ts +74 -0
- package/dist/Menubar/MenubarSeparator.d.ts +22 -0
- package/dist/Menubar/MenubarSub.d.ts +51 -0
- package/dist/Menubar/MenubarSubContent.d.ts +39 -0
- package/dist/Menubar/MenubarSubTrigger.d.ts +22 -0
- package/dist/Menubar/MenubarTrigger.d.ts +38 -0
- package/dist/Menubar/index.d.ts +17 -0
- package/dist/NavigationMenu/NavigationMenuContent.d.ts +38 -0
- package/dist/NavigationMenu/NavigationMenuContentImpl.d.ts +34 -0
- package/dist/NavigationMenu/NavigationMenuIndicator.d.ts +27 -0
- package/dist/NavigationMenu/NavigationMenuItem.d.ts +55 -0
- package/dist/NavigationMenu/NavigationMenuLink.d.ts +50 -0
- package/dist/NavigationMenu/NavigationMenuList.d.ts +36 -0
- package/dist/NavigationMenu/NavigationMenuRoot.d.ts +141 -0
- package/dist/NavigationMenu/NavigationMenuSub.d.ts +63 -0
- package/dist/NavigationMenu/NavigationMenuTrigger.d.ts +38 -0
- package/dist/NavigationMenu/NavigationMenuViewport.d.ts +46 -0
- package/dist/NavigationMenu/index.d.ts +9 -0
- package/dist/NavigationMenu/utils.d.ts +20 -0
- package/dist/NumberField/NumberFieldDecrement.d.ts +37 -0
- package/dist/NumberField/NumberFieldIncrement.d.ts +37 -0
- package/dist/NumberField/NumberFieldInput.d.ts +36 -0
- package/dist/NumberField/NumberFieldRoot.d.ts +92 -0
- package/dist/NumberField/index.d.ts +4 -0
- package/dist/NumberField/utils.d.ts +23 -0
- package/dist/Pagination/PaginationEllipsis.d.ts +22 -0
- package/dist/Pagination/PaginationFirst.d.ts +36 -0
- package/dist/Pagination/PaginationLast.d.ts +36 -0
- package/dist/Pagination/PaginationList.d.ts +40 -0
- package/dist/Pagination/PaginationListItem.d.ts +38 -0
- package/dist/Pagination/PaginationNext.d.ts +36 -0
- package/dist/Pagination/PaginationPrev.d.ts +36 -0
- package/dist/Pagination/PaginationRoot.d.ts +96 -0
- package/dist/Pagination/index.d.ts +8 -0
- package/dist/Pagination/utils.d.ts +9 -0
- package/dist/PinInput/PinInputInput.d.ts +33 -0
- package/dist/PinInput/PinInputRoot.d.ts +94 -0
- package/dist/PinInput/index.d.ts +2 -0
- package/dist/Popover/PopoverAnchor.d.ts +22 -0
- package/dist/Popover/PopoverArrow.d.ts +42 -0
- package/dist/Popover/PopoverClose.d.ts +36 -0
- package/dist/Popover/PopoverContent.d.ts +42 -0
- package/dist/Popover/PopoverContentImpl.d.ts +55 -0
- package/dist/Popover/PopoverContentModal.d.ts +34 -0
- package/dist/Popover/PopoverContentNonModal.d.ts +34 -0
- package/dist/Popover/PopoverPortal.d.ts +22 -0
- package/dist/Popover/PopoverRoot.d.ts +85 -0
- package/dist/Popover/PopoverTrigger.d.ts +36 -0
- package/dist/Popover/index.d.ts +7 -0
- package/dist/Popper/PopperAnchor.d.ts +29 -0
- package/dist/Popper/PopperArrow.d.ts +37 -0
- package/dist/Popper/PopperContent.d.ts +204 -0
- package/dist/Popper/PopperRoot.d.ts +20 -0
- package/dist/Popper/index.d.ts +5 -0
- package/dist/Popper/utils.d.ts +13 -0
- package/dist/Presence/Presence.d.ts +44 -0
- package/dist/Presence/index.d.ts +1 -0
- package/dist/Presence/usePresence.d.ts +5 -0
- package/dist/Primitive/Primitive.d.ts +40 -0
- package/dist/Primitive/Slot.d.ts +5 -0
- package/dist/Primitive/index.d.ts +3 -0
- package/dist/Primitive/usePrimitiveElement.d.ts +6 -0
- package/dist/Progress/ProgressIndicator.d.ts +22 -0
- package/dist/Progress/ProgressRoot.d.ts +77 -0
- package/dist/Progress/index.d.ts +2 -0
- package/dist/RadioGroup/Radio.d.ts +71 -0
- package/dist/RadioGroup/RadioGroupIndicator.d.ts +41 -0
- package/dist/RadioGroup/RadioGroupItem.d.ts +53 -0
- package/dist/RadioGroup/RadioGroupRoot.d.ts +93 -0
- package/dist/RadioGroup/index.d.ts +3 -0
- package/dist/RadioGroup/utils.d.ts +8 -0
- package/dist/RangeCalendar/RangeCalendarCell.d.ts +38 -0
- package/dist/RangeCalendar/RangeCalendarCellTrigger.d.ts +47 -0
- package/dist/RangeCalendar/RangeCalendarGrid.d.ts +36 -0
- package/dist/RangeCalendar/RangeCalendarGridBody.d.ts +36 -0
- package/dist/RangeCalendar/RangeCalendarGridHead.d.ts +36 -0
- package/dist/RangeCalendar/RangeCalendarGridRow.d.ts +36 -0
- package/dist/RangeCalendar/RangeCalendarHeadCell.d.ts +36 -0
- package/dist/RangeCalendar/RangeCalendarHeader.d.ts +36 -0
- package/dist/RangeCalendar/RangeCalendarHeading.d.ts +44 -0
- package/dist/RangeCalendar/RangeCalendarNext.d.ts +39 -0
- package/dist/RangeCalendar/RangeCalendarPrev.d.ts +39 -0
- package/dist/RangeCalendar/RangeCalendarRoot.d.ts +217 -0
- package/dist/RangeCalendar/index.d.ts +12 -0
- package/dist/RangeCalendar/useRangeCalendar.d.ts +23 -0
- package/dist/RovingFocus/RovingFocusGroup.d.ts +87 -0
- package/dist/RovingFocus/RovingFocusItem.d.ts +46 -0
- package/dist/RovingFocus/index.d.ts +2 -0
- package/dist/RovingFocus/utils.d.ts +18 -0
- package/dist/ScrollArea/ScrollAreaCorner.d.ts +22 -0
- package/dist/ScrollArea/ScrollAreaCornerImpl.d.ts +9 -0
- package/dist/ScrollArea/ScrollAreaRoot.d.ts +82 -0
- package/dist/ScrollArea/ScrollAreaScrollbar.d.ts +55 -0
- package/dist/ScrollArea/ScrollAreaScrollbarAuto.d.ts +21 -0
- package/dist/ScrollArea/ScrollAreaScrollbarHover.d.ts +22 -0
- package/dist/ScrollArea/ScrollAreaScrollbarImpl.d.ts +47 -0
- package/dist/ScrollArea/ScrollAreaScrollbarScroll.d.ts +21 -0
- package/dist/ScrollArea/ScrollAreaScrollbarVisible.d.ts +27 -0
- package/dist/ScrollArea/ScrollAreaScrollbarX.d.ts +9 -0
- package/dist/ScrollArea/ScrollAreaScrollbarY.d.ts +9 -0
- package/dist/ScrollArea/ScrollAreaThumb.d.ts +22 -0
- package/dist/ScrollArea/ScrollAreaViewport.d.ts +28 -0
- package/dist/ScrollArea/index.d.ts +5 -0
- package/dist/ScrollArea/types.d.ts +11 -0
- package/dist/ScrollArea/utils.d.ts +9 -0
- package/dist/Select/BubbleSelect.d.ts +29 -0
- package/dist/Select/SelectArrow.d.ts +42 -0
- package/dist/Select/SelectContent.d.ts +36 -0
- package/dist/Select/SelectContentImpl.d.ts +95 -0
- package/dist/Select/SelectGroup.d.ts +26 -0
- package/dist/Select/SelectIcon.d.ts +36 -0
- package/dist/Select/SelectItem.d.ts +44 -0
- package/dist/Select/SelectItemAlignedPosition.d.ts +33 -0
- package/dist/Select/SelectItemIndicator.d.ts +36 -0
- package/dist/Select/SelectItemText.d.ts +36 -0
- package/dist/Select/SelectLabel.d.ts +37 -0
- package/dist/Select/SelectPopperPosition.d.ts +39 -0
- package/dist/Select/SelectPortal.d.ts +22 -0
- package/dist/Select/SelectProvider.d.ts +25 -0
- package/dist/Select/SelectRoot.d.ts +169 -0
- package/dist/Select/SelectScrollButtonImpl.d.ts +16 -0
- package/dist/Select/SelectScrollDownButton.d.ts +22 -0
- package/dist/Select/SelectScrollUpButton.d.ts +22 -0
- package/dist/Select/SelectSeparator.d.ts +22 -0
- package/dist/Select/SelectTrigger.d.ts +37 -0
- package/dist/Select/SelectValue.d.ts +41 -0
- package/dist/Select/SelectViewport.d.ts +26 -0
- package/dist/Select/index.d.ts +16 -0
- package/dist/Select/utils.d.ts +5 -0
- package/dist/Separator/Separator.d.ts +36 -0
- package/dist/Separator/index.d.ts +1 -0
- package/dist/Slider/SliderHorizontal.d.ts +37 -0
- package/dist/Slider/SliderImpl.d.ts +58 -0
- package/dist/Slider/SliderRange.d.ts +36 -0
- package/dist/Slider/SliderRoot.d.ts +116 -0
- package/dist/Slider/SliderThumb.d.ts +22 -0
- package/dist/Slider/SliderThumbImpl.d.ts +23 -0
- package/dist/Slider/SliderTrack.d.ts +36 -0
- package/dist/Slider/SliderVertical.d.ts +36 -0
- package/dist/Slider/index.d.ts +4 -0
- package/dist/Slider/utils.d.ts +71 -0
- package/dist/Splitter/SplitterGroup.d.ts +95 -0
- package/dist/Splitter/SplitterPanel.d.ts +100 -0
- package/dist/Splitter/SplitterResizeHandle.d.ts +55 -0
- package/dist/Splitter/index.d.ts +3 -0
- package/dist/Splitter/utils/assert.d.ts +1 -0
- package/dist/Splitter/utils/calculate.d.ts +17 -0
- package/dist/Splitter/utils/callPanelCallbacks.d.ts +3 -0
- package/dist/Splitter/utils/compare.d.ts +2 -0
- package/dist/Splitter/utils/composables/useWindowSplitterBehavior.d.ts +9 -0
- package/dist/Splitter/utils/composables/useWindowSplitterPanelGroupBehavior.d.ts +13 -0
- package/dist/Splitter/utils/constants.d.ts +1 -0
- package/dist/Splitter/utils/debounce.d.ts +1 -0
- package/dist/Splitter/utils/dom.d.ts +9 -0
- package/dist/Splitter/utils/events.d.ts +10 -0
- package/dist/Splitter/utils/layout.d.ts +10 -0
- package/dist/Splitter/utils/pivot.d.ts +1 -0
- package/dist/Splitter/utils/rects.d.ts +8 -0
- package/dist/Splitter/utils/registry.d.ts +20 -0
- package/dist/Splitter/utils/resizePanel.d.ts +7 -0
- package/dist/Splitter/utils/stackingOrder.d.ts +7 -0
- package/dist/Splitter/utils/storage.d.ts +15 -0
- package/dist/Splitter/utils/style.d.ts +17 -0
- package/dist/Splitter/utils/types.d.ts +9 -0
- package/dist/Splitter/utils/validation.d.ts +11 -0
- package/dist/Stepper/StepperDescription.d.ts +35 -0
- package/dist/Stepper/StepperIndicator.d.ts +21 -0
- package/dist/Stepper/StepperItem.d.ts +64 -0
- package/dist/Stepper/StepperRoot.d.ts +88 -0
- package/dist/Stepper/StepperSeparator.d.ts +29 -0
- package/dist/Stepper/StepperTitle.d.ts +35 -0
- package/dist/Stepper/StepperTrigger.d.ts +36 -0
- package/dist/Stepper/index.d.ts +7 -0
- package/dist/Switch/SwitchRoot.d.ts +78 -0
- package/dist/Switch/SwitchThumb.d.ts +36 -0
- package/dist/Switch/index.d.ts +2 -0
- package/dist/Tabs/TabsContent.d.ts +30 -0
- package/dist/Tabs/TabsIndicator.d.ts +22 -0
- package/dist/Tabs/TabsList.d.ts +38 -0
- package/dist/Tabs/TabsRoot.d.ts +133 -0
- package/dist/Tabs/TabsTrigger.d.ts +44 -0
- package/dist/Tabs/index.d.ts +5 -0
- package/dist/Tabs/utils.d.ts +4 -0
- package/dist/TagsInput/TagsInputClear.d.ts +36 -0
- package/dist/TagsInput/TagsInputInput.d.ts +42 -0
- package/dist/TagsInput/TagsInputItem.d.ts +36 -0
- package/dist/TagsInput/TagsInputItemDelete.d.ts +36 -0
- package/dist/TagsInput/TagsInputItemText.d.ts +36 -0
- package/dist/TagsInput/TagsInputRoot.d.ts +175 -0
- package/dist/TagsInput/index.d.ts +6 -0
- package/dist/Teleport/Teleport.d.ts +51 -0
- package/dist/Teleport/index.d.ts +1 -0
- package/dist/Toast/FocusProxy.d.ts +11 -0
- package/dist/Toast/ToastAction.d.ts +29 -0
- package/dist/Toast/ToastAnnounce.d.ts +9 -0
- package/dist/Toast/ToastAnnounceExclude.d.ts +23 -0
- package/dist/Toast/ToastClose.d.ts +36 -0
- package/dist/Toast/ToastDescription.d.ts +22 -0
- package/dist/Toast/ToastProvider.d.ts +81 -0
- package/dist/Toast/ToastRoot.d.ts +90 -0
- package/dist/Toast/ToastRootImpl.d.ts +105 -0
- package/dist/Toast/ToastTitle.d.ts +22 -0
- package/dist/Toast/ToastViewport.d.ts +54 -0
- package/dist/Toast/index.d.ts +7 -0
- package/dist/Toast/utils.d.ts +27 -0
- package/dist/Toggle/Toggle.d.ts +71 -0
- package/dist/Toggle/index.d.ts +1 -0
- package/dist/ToggleGroup/ToggleGroupItem.d.ts +41 -0
- package/dist/ToggleGroup/ToggleGroupRoot.d.ts +81 -0
- package/dist/ToggleGroup/index.d.ts +2 -0
- package/dist/Toolbar/ToolbarButton.d.ts +37 -0
- package/dist/Toolbar/ToolbarLink.d.ts +36 -0
- package/dist/Toolbar/ToolbarRoot.d.ts +49 -0
- package/dist/Toolbar/ToolbarSeparator.d.ts +22 -0
- package/dist/Toolbar/ToolbarToggleGroup.d.ts +27 -0
- package/dist/Toolbar/ToolbarToggleItem.d.ts +22 -0
- package/dist/Toolbar/index.d.ts +6 -0
- package/dist/Tooltip/TooltipArrow.d.ts +54 -0
- package/dist/Tooltip/TooltipContent.d.ts +48 -0
- package/dist/Tooltip/TooltipContentHoverable.d.ts +20 -0
- package/dist/Tooltip/TooltipContentImpl.d.ts +82 -0
- package/dist/Tooltip/TooltipPortal.d.ts +22 -0
- package/dist/Tooltip/TooltipProvider.d.ts +90 -0
- package/dist/Tooltip/TooltipRoot.d.ts +126 -0
- package/dist/Tooltip/TooltipTrigger.d.ts +37 -0
- package/dist/Tooltip/index.d.ts +6 -0
- package/dist/Tooltip/utils.d.ts +1 -0
- package/dist/Tree/TreeItem.d.ts +138 -0
- package/dist/Tree/TreeRoot.d.ts +174 -0
- package/dist/Tree/TreeVirtualizer.d.ts +32 -0
- package/dist/Tree/index.d.ts +3 -0
- package/dist/Tree/utils.d.ts +3 -0
- package/dist/Viewport/Viewport.d.ts +26 -0
- package/dist/Viewport/index.d.ts +1 -0
- package/dist/VisuallyHidden/VisuallyHidden.d.ts +40 -0
- package/dist/VisuallyHidden/VisuallyHiddenInput.d.ts +45 -0
- package/dist/VisuallyHidden/index.d.ts +2 -0
- package/dist/calendar-ChFCRr4K.js +179 -0
- package/dist/calendar-DTAAFwBa.cjs +1 -0
- package/dist/constant.js +417 -0
- package/dist/constant.umd.cjs +1 -0
- package/dist/date/calendar.d.ts +56 -0
- package/dist/date/comparators.d.ts +81 -0
- package/dist/date/index.d.ts +3 -0
- package/dist/date/types.d.ts +28 -0
- package/dist/date/utils.d.ts +12 -0
- package/dist/date.js +27 -0
- package/dist/date.umd.cjs +1 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.js +19495 -0
- package/dist/index.umd.cjs +7 -7
- package/dist/namespaced/index.cjs +415 -0
- package/dist/namespaced/index.d.cts +375 -0
- package/dist/namespaced/index.d.mts +375 -0
- package/dist/namespaced/index.d.ts +375 -0
- package/dist/namespaced/index.mjs +371 -0
- package/dist/nuxt/index.cjs +37 -0
- package/dist/nuxt/index.d.cts +10 -0
- package/dist/nuxt/index.d.mts +10 -0
- package/dist/nuxt/index.d.ts +10 -0
- package/dist/nuxt/index.mjs +35 -0
- package/dist/resolver/index.cjs +23 -0
- package/dist/resolver/index.d.cts +13 -0
- package/dist/resolver/index.d.mts +13 -0
- package/dist/resolver/index.d.ts +13 -0
- package/dist/resolver/index.mjs +21 -0
- package/dist/shared/arrays.d.ts +37 -0
- package/dist/shared/browser.d.ts +1 -0
- package/dist/shared/clamp.d.ts +38 -0
- package/dist/shared/component/Arrow.d.ts +60 -0
- package/dist/shared/component/BaseSeparator.d.ts +48 -0
- package/dist/shared/component/index.d.ts +2 -0
- package/dist/shared/constant/countryList.d.ts +1 -0
- package/dist/shared/constant/index.d.ts +1 -0
- package/dist/shared/createContext.d.ts +8 -0
- package/dist/shared/date/comparators.d.ts +20 -0
- package/dist/shared/date/index.d.ts +5 -0
- package/dist/shared/date/parts.d.ts +11 -0
- package/dist/shared/date/placeholders.d.ts +8 -0
- package/dist/shared/date/types.d.ts +29 -0
- package/dist/shared/date/utils.d.ts +5 -0
- package/dist/shared/handleAndDispatchCustomEvent.d.ts +3 -0
- package/dist/shared/index.d.ts +35 -0
- package/dist/shared/isValidVNodeElement.d.ts +4 -0
- package/dist/shared/isValueEqualOrExist.d.ts +10 -0
- package/dist/shared/nullish.d.ts +1 -0
- package/dist/shared/object.d.ts +2 -0
- package/dist/shared/onFocusOutside.d.ts +3 -0
- package/dist/shared/renderSlotFragments.d.ts +3 -0
- package/dist/shared/trap-focus.d.ts +1 -0
- package/dist/shared/types.d.ts +41 -0
- package/dist/shared/useArrowNavigation.d.ts +66 -0
- package/dist/shared/useBodyScrollLock.d.ts +1 -0
- package/dist/shared/useDateFormatter.d.ts +31 -0
- package/dist/shared/useDirection.d.ts +4 -0
- package/dist/shared/useEmitAsProps.d.ts +10 -0
- package/dist/shared/useFilter.d.ts +7 -0
- package/dist/shared/useFocusGuards.d.ts +5 -0
- package/dist/shared/useFormControl.d.ts +3 -0
- package/dist/shared/useForwardExpose.d.ts +7 -0
- package/dist/shared/useForwardProps.d.ts +10 -0
- package/dist/shared/useForwardPropsEmits.d.ts +15 -0
- package/dist/shared/useForwardRef.d.ts +3 -0
- package/dist/shared/useGraceArea.d.ts +6 -0
- package/dist/shared/useHideOthers.d.ts +10 -0
- package/dist/shared/useId.d.ts +12 -0
- package/dist/shared/useKbd.d.ts +78 -0
- package/dist/shared/useLocale.d.ts +3 -0
- package/dist/shared/useNonce.d.ts +3 -0
- package/dist/shared/useSelectionBehavior.d.ts +13 -0
- package/dist/shared/useSingleOrMultipleValue.d.ts +9 -0
- package/dist/shared/useSize.d.ts +6 -0
- package/dist/shared/useStateMachine.d.ts +24 -0
- package/dist/shared/useTypeahead.d.ts +30 -0
- package/dist/shared/withDefault.d.ts +23 -0
- package/package.json +111 -3
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { PrimitiveProps } from '../../Primitive';
|
|
2
|
+
|
|
3
|
+
export interface ArrowProps extends PrimitiveProps {
|
|
4
|
+
/**
|
|
5
|
+
* The width of the arrow in pixels.
|
|
6
|
+
*
|
|
7
|
+
* @defaultValue 10
|
|
8
|
+
*/
|
|
9
|
+
width?: number;
|
|
10
|
+
/**
|
|
11
|
+
* The height of the arrow in pixels.
|
|
12
|
+
*
|
|
13
|
+
* @defaultValue 5
|
|
14
|
+
*/
|
|
15
|
+
height?: number;
|
|
16
|
+
/**
|
|
17
|
+
* When `true`, render the rounded version of arrow. Do not work with `as`/`asChild`
|
|
18
|
+
*
|
|
19
|
+
* @defaultValue false
|
|
20
|
+
*/
|
|
21
|
+
rounded?: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ArrowProps>, {
|
|
24
|
+
width: number;
|
|
25
|
+
height: number;
|
|
26
|
+
as: string;
|
|
27
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ArrowProps>, {
|
|
28
|
+
width: number;
|
|
29
|
+
height: number;
|
|
30
|
+
as: string;
|
|
31
|
+
}>>>, {
|
|
32
|
+
width: number;
|
|
33
|
+
height: number;
|
|
34
|
+
as: import('../../Primitive').AsTag | import('vue').Component;
|
|
35
|
+
}, {}>, {
|
|
36
|
+
default?(_: {}): any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
type __VLS_WithDefaults<P, D> = {
|
|
49
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
50
|
+
default: D[K];
|
|
51
|
+
}> : P[K];
|
|
52
|
+
};
|
|
53
|
+
type __VLS_Prettify<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { DataOrientation } from '../types';
|
|
2
|
+
import { PrimitiveProps } from '../../Primitive';
|
|
3
|
+
|
|
4
|
+
export interface BaseSeparatorProps extends PrimitiveProps {
|
|
5
|
+
/**
|
|
6
|
+
* Orientation of the component.
|
|
7
|
+
*
|
|
8
|
+
* Either `vertical` or `horizontal`. Defaults to `horizontal`.
|
|
9
|
+
*/
|
|
10
|
+
orientation?: DataOrientation;
|
|
11
|
+
/**
|
|
12
|
+
* Whether or not the component is purely decorative. <br>When `true`, accessibility-related attributes
|
|
13
|
+
* are updated so that that the rendered element is removed from the accessibility tree.
|
|
14
|
+
*/
|
|
15
|
+
decorative?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseSeparatorProps>, {
|
|
18
|
+
orientation: string;
|
|
19
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseSeparatorProps>, {
|
|
20
|
+
orientation: string;
|
|
21
|
+
}>>>, {
|
|
22
|
+
orientation: DataOrientation;
|
|
23
|
+
}, {}>, {
|
|
24
|
+
default?(_: {}): any;
|
|
25
|
+
}>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type __VLS_WithDefaults<P, D> = {
|
|
37
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
|
+
default: D[K];
|
|
39
|
+
}> : P[K];
|
|
40
|
+
};
|
|
41
|
+
type __VLS_Prettify<T> = {
|
|
42
|
+
[K in keyof T]: T[K];
|
|
43
|
+
} & {};
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const countryList: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './countryList';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param providerComponentName - The name(s) of the component(s) providing the context.
|
|
3
|
+
*
|
|
4
|
+
* There are situations where context can come from multiple components. In such cases, you might need to give an array of component names to provide your context, instead of just a single string.
|
|
5
|
+
*
|
|
6
|
+
* @param contextName The description for injection key symbol.
|
|
7
|
+
*/
|
|
8
|
+
export declare function createContext<ContextValue>(providerComponentName: string | string[], contextName?: string): readonly [<T extends ContextValue | null | undefined = ContextValue>(fallback?: T) => T extends null ? ContextValue | null : ContextValue, (contextValue: ContextValue) => ContextValue];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DateValue } from '@internationalized/date';
|
|
2
|
+
|
|
3
|
+
export type Granularity = 'day' | 'hour' | 'minute' | 'second';
|
|
4
|
+
type GetDefaultDateProps = {
|
|
5
|
+
defaultValue?: DateValue | DateValue[] | undefined;
|
|
6
|
+
defaultPlaceholder?: DateValue | undefined;
|
|
7
|
+
granularity?: Granularity;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* A helper function used throughout the various date builders
|
|
11
|
+
* to generate a default `DateValue` using the `defaultValue`,
|
|
12
|
+
* `defaultPlaceholder`, and `granularity` props.
|
|
13
|
+
*
|
|
14
|
+
* It's important to match the `DateValue` type being used
|
|
15
|
+
* elsewhere in the builder, so they behave according to the
|
|
16
|
+
* behavior the user expects based on the props they've provided.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare function getDefaultDate(props: GetDefaultDateProps): DateValue;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { type Granularity, getDefaultDate, } from './comparators';
|
|
2
|
+
export type { DateRange, DayOfWeek, HourCycle, DayPeriod, DateSegmentObj, TimeSegmentObj, DateAndTimeSegmentObj, SegmentValueObj, SegmentContentObj, SegmentPart, AnyExceptLiteral, DateSegmentPart, TimeSegmentPart, } from './types';
|
|
3
|
+
export { getPlaceholder, type SupportedLocale } from './placeholders';
|
|
4
|
+
export { DATE_SEGMENT_PARTS, TIME_SEGMENT_PARTS, NON_EDITABLE_SEGMENT_PARTS, EDITABLE_SEGMENT_PARTS, ALL_SEGMENT_PARTS, ALL_EXCEPT_LITERAL_PARTS, isAnySegmentPart, isSegmentPart, isDateSegmentPart, } from './parts';
|
|
5
|
+
export { getOptsByGranularity, handleCalendarInitialFocus } from './utils';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DateSegmentPart, EditableSegmentPart, SegmentPart } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const DATE_SEGMENT_PARTS: readonly ["day", "month", "year"];
|
|
4
|
+
export declare const TIME_SEGMENT_PARTS: readonly ["hour", "minute", "second", "dayPeriod"];
|
|
5
|
+
export declare const NON_EDITABLE_SEGMENT_PARTS: readonly ["literal", "timeZoneName"];
|
|
6
|
+
export declare const EDITABLE_SEGMENT_PARTS: readonly ["day", "month", "year", "hour", "minute", "second", "dayPeriod"];
|
|
7
|
+
export declare const ALL_SEGMENT_PARTS: readonly ["day", "month", "year", "hour", "minute", "second", "dayPeriod", "literal", "timeZoneName"];
|
|
8
|
+
export declare const ALL_EXCEPT_LITERAL_PARTS: ("day" | "hour" | "minute" | "second" | "month" | "year" | "dayPeriod" | "literal" | "timeZoneName")[];
|
|
9
|
+
export declare function isDateSegmentPart(part: unknown): part is DateSegmentPart;
|
|
10
|
+
export declare function isSegmentPart(part: string): part is EditableSegmentPart;
|
|
11
|
+
export declare function isAnySegmentPart(part: unknown): part is SegmentPart;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const supportedLocales: readonly ["ach", "af", "am", "an", "ar", "ast", "az", "be", "bg", "bn", "br", "bs", "ca", "cak", "ckb", "cs", "cy", "da", "de", "dsb", "el", "en", "eo", "es", "et", "eu", "fa", "ff", "fi", "fr", "fy", "ga", "gd", "gl", "he", "hr", "hsb", "hu", "ia", "id", "it", "ja", "ka", "kk", "kn", "ko", "lb", "lo", "lt", "lv", "meh", "ml", "ms", "nl", "nn", "no", "oc", "pl", "pt", "rm", "ro", "ru", "sc", "scn", "sk", "sl", "sr", "sv", "szl", "tg", "th", "tr", "uk", "zh-CN", "zh-TW"];
|
|
2
|
+
declare const placeholderFields: readonly ["year", "month", "day"];
|
|
3
|
+
type PlaceholderField = (typeof placeholderFields)[number];
|
|
4
|
+
export type SupportedLocale = (typeof supportedLocales)[number];
|
|
5
|
+
export type PlaceholderMap = Record<SupportedLocale, Record<PlaceholderField, string>>;
|
|
6
|
+
type Field = 'era' | 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second' | 'dayPeriod';
|
|
7
|
+
export declare function getPlaceholder(field: Field, value: string, locale: SupportedLocale | (string & {})): string;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DateValue } from '@internationalized/date';
|
|
2
|
+
import { DATE_SEGMENT_PARTS, EDITABLE_SEGMENT_PARTS, NON_EDITABLE_SEGMENT_PARTS, TIME_SEGMENT_PARTS } from './parts';
|
|
3
|
+
|
|
4
|
+
declare const daysOfWeek: readonly [0, 1, 2, 3, 4, 5, 6];
|
|
5
|
+
export type DayOfWeek = {
|
|
6
|
+
daysOfWeek: (typeof daysOfWeek)[number][];
|
|
7
|
+
};
|
|
8
|
+
export type DateRange = {
|
|
9
|
+
start: DateValue | undefined;
|
|
10
|
+
end: DateValue | undefined;
|
|
11
|
+
};
|
|
12
|
+
export type HourCycle = 12 | 24 | undefined;
|
|
13
|
+
export type DateSegmentPart = (typeof DATE_SEGMENT_PARTS)[number];
|
|
14
|
+
export type TimeSegmentPart = (typeof TIME_SEGMENT_PARTS)[number];
|
|
15
|
+
export type EditableSegmentPart = (typeof EDITABLE_SEGMENT_PARTS)[number];
|
|
16
|
+
export type NonEditableSegmentPart = (typeof NON_EDITABLE_SEGMENT_PARTS)[number];
|
|
17
|
+
export type SegmentPart = EditableSegmentPart | NonEditableSegmentPart;
|
|
18
|
+
export type AnyExceptLiteral = Exclude<SegmentPart, 'literal'>;
|
|
19
|
+
export type DayPeriod = 'AM' | 'PM' | null;
|
|
20
|
+
export type DateSegmentObj = {
|
|
21
|
+
[K in DateSegmentPart]: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type TimeSegmentObj = {
|
|
24
|
+
[K in TimeSegmentPart]: K extends 'dayPeriod' ? DayPeriod : number | null;
|
|
25
|
+
};
|
|
26
|
+
export type DateAndTimeSegmentObj = DateSegmentObj & TimeSegmentObj;
|
|
27
|
+
export type SegmentValueObj = DateSegmentObj | DateAndTimeSegmentObj;
|
|
28
|
+
export type SegmentContentObj = Record<EditableSegmentPart, string>;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Granularity } from './comparators';
|
|
2
|
+
import { HourCycle } from './types';
|
|
3
|
+
|
|
4
|
+
export declare function getOptsByGranularity(granularity: Granularity, hourCycle: HourCycle): Intl.DateTimeFormatOptions;
|
|
5
|
+
export declare function handleCalendarInitialFocus(calendar: HTMLElement): void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export { createContext } from './createContext';
|
|
2
|
+
export { handleAndDispatchCustomEvent } from './handleAndDispatchCustomEvent';
|
|
3
|
+
export { isValidVNodeElement } from './isValidVNodeElement';
|
|
4
|
+
export { isValueEqualOrExist } from './isValueEqualOrExist';
|
|
5
|
+
export * from './clamp';
|
|
6
|
+
export * from './arrays';
|
|
7
|
+
export * from './browser';
|
|
8
|
+
export * from './object';
|
|
9
|
+
export * from './nullish';
|
|
10
|
+
export { type DateRange } from './date';
|
|
11
|
+
export { onFocusOutside } from './onFocusOutside';
|
|
12
|
+
export { renderSlotFragments } from './renderSlotFragments';
|
|
13
|
+
export { trapFocus } from './trap-focus';
|
|
14
|
+
export { useArrowNavigation } from './useArrowNavigation';
|
|
15
|
+
export { useBodyScrollLock } from './useBodyScrollLock';
|
|
16
|
+
export { useDateFormatter, type Formatter } from './useDateFormatter';
|
|
17
|
+
export { useDirection } from './useDirection';
|
|
18
|
+
export { useEmitAsProps } from './useEmitAsProps';
|
|
19
|
+
export { useFilter } from './useFilter';
|
|
20
|
+
export { useFocusGuards } from './useFocusGuards';
|
|
21
|
+
export { useFormControl } from './useFormControl';
|
|
22
|
+
export { useForwardProps } from './useForwardProps';
|
|
23
|
+
export { useForwardPropsEmits } from './useForwardPropsEmits';
|
|
24
|
+
export { useForwardExpose } from './useForwardExpose';
|
|
25
|
+
export { useForwardRef } from './useForwardRef';
|
|
26
|
+
export { useGraceArea } from './useGraceArea';
|
|
27
|
+
export { useHideOthers } from './useHideOthers';
|
|
28
|
+
export { useId } from './useId';
|
|
29
|
+
export { useLocale } from './useLocale';
|
|
30
|
+
export { useSelectionBehavior } from './useSelectionBehavior';
|
|
31
|
+
export { useSize } from './useSize';
|
|
32
|
+
export { useStateMachine } from './useStateMachine';
|
|
33
|
+
export { useTypeahead } from './useTypeahead';
|
|
34
|
+
export { withDefault } from './withDefault';
|
|
35
|
+
export { useKbd, useTestKbd } from './useKbd';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The function `isValueEqualOrExist` checks if a value is equal to or exists in another value or
|
|
3
|
+
* array.
|
|
4
|
+
* @param {T | T[] | undefined} base - It represents the base value that you want to compare with the `current` value.
|
|
5
|
+
* @param {T | T[] | undefined} current - The `current` parameter represents the current value that you want to compare with the `base` value or values.
|
|
6
|
+
* @returns The `isValueEqualOrExist` function returns a boolean value. It checks if the `base` value
|
|
7
|
+
* is equal to the `current` value or if the `current` value exists within the `base` value. The
|
|
8
|
+
* function handles cases where `base` can be a single value, an array of values, or undefined.
|
|
9
|
+
*/
|
|
10
|
+
export declare function isValueEqualOrExist<T>(base: T | T[] | undefined, current: T | T[] | undefined): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isNullish(value: any): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function trapFocus(element: HTMLElement): HTMLElement | undefined;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { DefineComponent } from 'vue';
|
|
2
|
+
type DataOrientation = 'vertical' | 'horizontal';
|
|
3
|
+
type Direction = 'ltr' | 'rtl';
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use `AccordionType` instead
|
|
6
|
+
*/
|
|
7
|
+
type Type = 'single' | 'multiple';
|
|
8
|
+
type SingleOrMultipleType = 'single' | 'multiple';
|
|
9
|
+
interface SingleOrMultipleProps<ValidValue = AcceptableValue | AcceptableValue[], ExplicitType = SingleOrMultipleType> {
|
|
10
|
+
/**
|
|
11
|
+
* Determines whether a "single" or "multiple" items can be pressed at a time.
|
|
12
|
+
*
|
|
13
|
+
* This prop will be ignored if any of `v-model` or `defaultValue` is defined, as the type will be inferred from the value.
|
|
14
|
+
*/
|
|
15
|
+
type?: ValidValue extends string ? 'single' : ValidValue extends string[] ? 'multiple' : ExplicitType extends 'single' ? 'single' : ExplicitType extends 'multiple' ? 'multiple' : never;
|
|
16
|
+
/**
|
|
17
|
+
* The controlled value of the active item(s).
|
|
18
|
+
*
|
|
19
|
+
* Use this when you need to control the state of the items. Can be binded with `v-model`
|
|
20
|
+
*/
|
|
21
|
+
modelValue?: ValidValue;
|
|
22
|
+
/**
|
|
23
|
+
* The default active value of the item(s).
|
|
24
|
+
*
|
|
25
|
+
* Use when you do not need to control the state of the item(s).
|
|
26
|
+
*/
|
|
27
|
+
defaultValue?: ValidValue;
|
|
28
|
+
}
|
|
29
|
+
type ScrollBodyOption = {
|
|
30
|
+
padding?: boolean | number;
|
|
31
|
+
margin?: boolean | number;
|
|
32
|
+
};
|
|
33
|
+
type AcceptableValue = string | number | Record<string, any>;
|
|
34
|
+
type ArrayOrWrapped<T> = T extends any[] ? T : Array<T>;
|
|
35
|
+
type StringOrNumber = string | number;
|
|
36
|
+
type GenericComponentInstance<T> = T extends new (...args: any[]) => infer R ? R : T extends (...args: any[]) => infer R ? R extends {
|
|
37
|
+
__ctx?: infer K;
|
|
38
|
+
} ? Exclude<K, void> extends {
|
|
39
|
+
expose: (...args: infer Y) => void;
|
|
40
|
+
} ? Y[0] & InstanceType<DefineComponent> : any : any : any;
|
|
41
|
+
export type { AcceptableValue, ArrayOrWrapped, DataOrientation, Direction, Type, SingleOrMultipleProps, SingleOrMultipleType, ScrollBodyOption, StringOrNumber, GenericComponentInstance };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Direction } from './types';
|
|
2
|
+
|
|
3
|
+
type ArrowKeyOptions = 'horizontal' | 'vertical' | 'both';
|
|
4
|
+
interface ArrowNavigationOptions {
|
|
5
|
+
/**
|
|
6
|
+
* The arrow key options to allow navigation
|
|
7
|
+
*
|
|
8
|
+
* @defaultValue "both"
|
|
9
|
+
*/
|
|
10
|
+
arrowKeyOptions?: ArrowKeyOptions;
|
|
11
|
+
/**
|
|
12
|
+
* The attribute name to find the collection items in the parent element.
|
|
13
|
+
*
|
|
14
|
+
* @defaultValue "data-reka-collection-item"
|
|
15
|
+
*/
|
|
16
|
+
attributeName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The parent element where contains all the collection items, this will collect every item to be used when nav
|
|
19
|
+
* It will be ignored if attributeName is provided
|
|
20
|
+
*
|
|
21
|
+
* @defaultValue []
|
|
22
|
+
*/
|
|
23
|
+
itemsArray?: HTMLElement[];
|
|
24
|
+
/**
|
|
25
|
+
* Allow loop navigation. If false, it will stop at the first and last element
|
|
26
|
+
*
|
|
27
|
+
* @defaultValue true
|
|
28
|
+
*/
|
|
29
|
+
loop?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The orientation of the collection
|
|
32
|
+
*
|
|
33
|
+
* @defaultValue "ltr"
|
|
34
|
+
*/
|
|
35
|
+
dir?: Direction;
|
|
36
|
+
/**
|
|
37
|
+
* Prevent the scroll when navigating. This happens when the direction of the
|
|
38
|
+
* key matches the scroll direction of any ancestor scrollable elements.
|
|
39
|
+
*
|
|
40
|
+
* @defaultValue true
|
|
41
|
+
*/
|
|
42
|
+
preventScroll?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* By default all currentElement would trigger navigation. If `true`, currentElement nodeName in the ignore list will return null
|
|
45
|
+
*
|
|
46
|
+
* @defaultValue false
|
|
47
|
+
*/
|
|
48
|
+
enableIgnoredElement?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Focus the element after navigation
|
|
51
|
+
*
|
|
52
|
+
* @defaultValue false
|
|
53
|
+
*/
|
|
54
|
+
focus?: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Allow arrow navigation for every html element with data-reka-collection-item tag
|
|
58
|
+
*
|
|
59
|
+
* @param e Keyboard event
|
|
60
|
+
* @param currentElement Event initiator element or any element that wants to handle the navigation
|
|
61
|
+
* @param parentElement Parent element where contains all the collection items, this will collect every item to be used when nav
|
|
62
|
+
* @param options further options
|
|
63
|
+
* @returns the navigated html element or null if none
|
|
64
|
+
*/
|
|
65
|
+
export declare function useArrowNavigation(e: KeyboardEvent, currentElement: HTMLElement, parentElement: HTMLElement | undefined, options?: ArrowNavigationOptions): HTMLElement | null;
|
|
66
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useBodyScrollLock(initialState?: boolean | undefined): import('vue').WritableComputedRef<boolean>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { DateValue } from '@internationalized/date';
|
|
2
|
+
|
|
3
|
+
export interface DateFormatterOptions extends Intl.DateTimeFormatOptions {
|
|
4
|
+
calendar?: string;
|
|
5
|
+
}
|
|
6
|
+
export type Formatter = {
|
|
7
|
+
getLocale: () => string;
|
|
8
|
+
setLocale: (newLocale: string) => void;
|
|
9
|
+
custom: (date: Date, options: DateFormatterOptions) => string;
|
|
10
|
+
selectedDate: (date: DateValue, includeTime?: boolean) => string;
|
|
11
|
+
dayOfWeek: (date: Date, length?: DateFormatterOptions['weekday']) => string;
|
|
12
|
+
fullMonthAndYear: (date: Date, options?: DateFormatterOptions) => string;
|
|
13
|
+
fullMonth: (date: Date, options?: DateFormatterOptions) => string;
|
|
14
|
+
fullYear: (date: Date, options?: DateFormatterOptions) => string;
|
|
15
|
+
dayPeriod: (date: Date) => string;
|
|
16
|
+
part: (dateObj: DateValue, type: Intl.DateTimeFormatPartTypes, options?: DateFormatterOptions) => string;
|
|
17
|
+
toParts: (date: DateValue, options?: DateFormatterOptions) => Intl.DateTimeFormatPart[];
|
|
18
|
+
getMonths: () => {
|
|
19
|
+
label: string;
|
|
20
|
+
value: number;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Creates a wrapper around the `DateFormatter`, which is
|
|
25
|
+
* an improved version of the {@link Intl.DateTimeFormat} API,
|
|
26
|
+
* that is used internally by the various date builders to
|
|
27
|
+
* easily format dates in a consistent way.
|
|
28
|
+
*
|
|
29
|
+
* @see [DateFormatter](https://react-spectrum.adobe.com/internationalized/date/DateFormatter.html)
|
|
30
|
+
*/
|
|
31
|
+
export declare function useDateFormatter(initialLocale: string): Formatter;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `useEmitAsProps` function is a TypeScript utility that converts emitted events into props for a
|
|
3
|
+
* Vue component.
|
|
4
|
+
* @param emit - The `emit` parameter is a function that is used to emit events from a component. It
|
|
5
|
+
* takes two parameters: `name` which is the name of the event to be emitted, and `...args` which are
|
|
6
|
+
* the arguments to be passed along with the event.
|
|
7
|
+
* @returns The function `useEmitAsProps` returns an object that maps event names to functions that
|
|
8
|
+
* call the `emit` function with the corresponding event name and arguments.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useEmitAsProps<Name extends string>(emit: (name: Name, ...args: any[]) => void): Record<string, any>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MaybeRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare function useFilter(options?: MaybeRef<Intl.CollatorOptions>): {
|
|
4
|
+
startsWith: (string: string, substring: string) => boolean;
|
|
5
|
+
endsWith: (string: string, substring: string) => boolean;
|
|
6
|
+
contains: (string: string, substring: string) => boolean;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare function useForwardExpose<T extends ComponentPublicInstance>(): {
|
|
4
|
+
forwardRef: (ref: Element | T | null) => void;
|
|
5
|
+
currentRef: import('vue').Ref<Element | T | null | undefined>;
|
|
6
|
+
currentElement: import('vue').ComputedRef<HTMLElement>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The `useForwardProps` function in TypeScript takes in a set of props and returns a computed value
|
|
5
|
+
* that combines default props with assigned props from the current instance.
|
|
6
|
+
* @param {T} props - The `props` parameter is an object that represents the props passed to a
|
|
7
|
+
* component.
|
|
8
|
+
* @returns computed value that combines the default props, preserved props, and assigned props.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useForwardProps<T extends Record<string, any>>(props: MaybeRefOrGetter<T>): import('vue').ComputedRef<T>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The function `useForwardPropsEmits` takes in props and an optional emit function, and returns a
|
|
5
|
+
* computed object that combines the parsed props and emits as props.
|
|
6
|
+
* @param {T} props - The `props` parameter is of type `T`, which is a generic type that extends the
|
|
7
|
+
* parameters of the `useForwardProps` function. It represents the props object that is passed to the
|
|
8
|
+
* `useForwardProps` function.
|
|
9
|
+
* @param [emit] - The `emit` parameter is a function that can be used to emit events. It takes two
|
|
10
|
+
* arguments: `name`, which is the name of the event to be emitted, and `args`, which are the arguments
|
|
11
|
+
* to be passed along with the event.
|
|
12
|
+
* @returns a computed property that combines the parsed
|
|
13
|
+
* props and emits as props.
|
|
14
|
+
*/
|
|
15
|
+
export declare function useForwardPropsEmits<T extends Record<string, any>, Name extends string>(props: MaybeRefOrGetter<T>, emit?: (name: Name, ...args: any[]) => void): import('vue').ComputedRef<T & Record<string, any>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MaybeElementRef } from '@vueuse/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The `useHideOthers` function is a TypeScript function that takes a target element reference and
|
|
5
|
+
* hides all other elements in ARIA when the target element is present, and restores the visibility of the
|
|
6
|
+
* hidden elements when the target element is removed.
|
|
7
|
+
* @param {MaybeElementRef} target - The `target` parameter is a reference to the element that you want
|
|
8
|
+
* to hide other elements when it is clicked or focused.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useHideOthers(target: MaybeElementRef): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `useId` function generates a unique identifier using a provided deterministic ID or a default
|
|
3
|
+
* one prefixed with "reka-", or the provided one via `useId` props from `<ConfigProvider>`.
|
|
4
|
+
* @param {string | null | undefined} [deterministicId] - The `useId` function you provided takes an
|
|
5
|
+
* optional parameter `deterministicId`, which can be a string, null, or undefined. If
|
|
6
|
+
* `deterministicId` is provided, the function will return it. Otherwise, it will generate an id using
|
|
7
|
+
* the `useId` function obtained
|
|
8
|
+
* @returns The `useId` function is being returned. If a `deterministicId` is provided, it will be
|
|
9
|
+
* returned. Otherwise, the `useId` function from the `injectConfigProviderContext` is called to
|
|
10
|
+
* generate an id in the format `reka-` and returned.
|
|
11
|
+
*/
|
|
12
|
+
export declare function useId(deterministicId?: string | null | undefined, prefix?: string): string;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export declare function useKbd(): {
|
|
2
|
+
ALT: string;
|
|
3
|
+
ARROW_DOWN: string;
|
|
4
|
+
ARROW_LEFT: string;
|
|
5
|
+
ARROW_RIGHT: string;
|
|
6
|
+
ARROW_UP: string;
|
|
7
|
+
BACKSPACE: string;
|
|
8
|
+
CAPS_LOCK: string;
|
|
9
|
+
CONTROL: string;
|
|
10
|
+
DELETE: string;
|
|
11
|
+
END: string;
|
|
12
|
+
ENTER: string;
|
|
13
|
+
ESCAPE: string;
|
|
14
|
+
F1: string;
|
|
15
|
+
F10: string;
|
|
16
|
+
F11: string;
|
|
17
|
+
F12: string;
|
|
18
|
+
F2: string;
|
|
19
|
+
F3: string;
|
|
20
|
+
F4: string;
|
|
21
|
+
F5: string;
|
|
22
|
+
F6: string;
|
|
23
|
+
F7: string;
|
|
24
|
+
F8: string;
|
|
25
|
+
F9: string;
|
|
26
|
+
HOME: string;
|
|
27
|
+
META: string;
|
|
28
|
+
PAGE_DOWN: string;
|
|
29
|
+
PAGE_UP: string;
|
|
30
|
+
SHIFT: string;
|
|
31
|
+
SPACE: string;
|
|
32
|
+
TAB: string;
|
|
33
|
+
CTRL: string;
|
|
34
|
+
ASTERISK: string;
|
|
35
|
+
SPACE_CODE: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* A wrapper around the internal kbd object to make it easier to use in tests
|
|
39
|
+
* which require the key names to be wrapped in curly braces.
|
|
40
|
+
*/
|
|
41
|
+
export type KbdKeys = keyof ReturnType<typeof useKbd>;
|
|
42
|
+
export declare function useTestKbd(): {
|
|
43
|
+
SHIFT_TAB: string;
|
|
44
|
+
F1: string;
|
|
45
|
+
F10: string;
|
|
46
|
+
F11: string;
|
|
47
|
+
F12: string;
|
|
48
|
+
F2: string;
|
|
49
|
+
F3: string;
|
|
50
|
+
F4: string;
|
|
51
|
+
F5: string;
|
|
52
|
+
F6: string;
|
|
53
|
+
F7: string;
|
|
54
|
+
F8: string;
|
|
55
|
+
F9: string;
|
|
56
|
+
ALT: string;
|
|
57
|
+
ARROW_DOWN: string;
|
|
58
|
+
ARROW_LEFT: string;
|
|
59
|
+
ARROW_RIGHT: string;
|
|
60
|
+
ARROW_UP: string;
|
|
61
|
+
BACKSPACE: string;
|
|
62
|
+
CAPS_LOCK: string;
|
|
63
|
+
CONTROL: string;
|
|
64
|
+
DELETE: string;
|
|
65
|
+
END: string;
|
|
66
|
+
ENTER: string;
|
|
67
|
+
ESCAPE: string;
|
|
68
|
+
HOME: string;
|
|
69
|
+
META: string;
|
|
70
|
+
PAGE_DOWN: string;
|
|
71
|
+
PAGE_UP: string;
|
|
72
|
+
SHIFT: string;
|
|
73
|
+
SPACE: string;
|
|
74
|
+
TAB: string;
|
|
75
|
+
CTRL: string;
|
|
76
|
+
ASTERISK: string;
|
|
77
|
+
SPACE_CODE: string;
|
|
78
|
+
};
|