@astryxdesign/core 0.7.4 → 0.7.5-canary.04434e7
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/AlertDialog/AlertDialog.d.ts +2 -2
- package/dist/AlertDialog/index.d.ts +4 -4
- package/dist/AlertDialog/useImperativeAlertDialog.d.ts +1 -1
- package/dist/AppShell/AppShell.d.ts +4 -4
- package/dist/AppShell/index.d.ts +4 -4
- package/dist/AspectRatio/AspectRatio.d.ts +1 -1
- package/dist/AspectRatio/index.d.ts +2 -2
- package/dist/Avatar/Avatar.d.ts +2 -2
- package/dist/Avatar/AvatarStatusDot.d.ts +2 -2
- package/dist/Avatar/index.d.ts +4 -4
- package/dist/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/dist/AvatarGroup/AvatarGroupContext.d.ts +1 -1
- package/dist/AvatarGroup/AvatarGroupOverflow.d.ts +1 -1
- package/dist/AvatarGroup/index.d.ts +6 -6
- package/dist/Badge/Badge.d.ts +2 -2
- package/dist/Badge/index.d.ts +2 -2
- package/dist/Banner/Banner.d.ts +4 -4
- package/dist/Banner/index.d.ts +2 -2
- package/dist/Blockquote/Blockquote.d.ts +1 -1
- package/dist/Blockquote/index.d.ts +2 -2
- package/dist/BottomSheet/BottomSheet.d.ts +10 -6
- package/dist/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/BottomSheet/BottomSheet.js +12 -1
- package/dist/BottomSheet/BottomSheetPanel.d.ts +3 -3
- package/dist/BottomSheet/BottomSheetSwitcher.d.ts +1 -1
- package/dist/BottomSheet/BottomSheetSwitcherContext.d.ts +2 -2
- package/dist/BottomSheet/index.d.ts +4 -4
- package/dist/Breadcrumbs/BreadcrumbItem.d.ts +4 -4
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/Breadcrumbs/index.d.ts +12 -12
- package/dist/Button/Button.d.ts +4 -4
- package/dist/Button/index.d.ts +2 -2
- package/dist/ButtonGroup/ButtonGroup.d.ts +4 -4
- package/dist/ButtonGroup/index.d.ts +4 -4
- package/dist/Calendar/Calendar.d.ts +3 -3
- package/dist/Calendar/dayCellUtils.d.ts +1 -1
- package/dist/Calendar/getInitialFocusDate.d.ts +2 -2
- package/dist/Calendar/getStandaloneShortWeekdayNames.d.ts +1 -1
- package/dist/Calendar/hooks/index.d.ts +6 -6
- package/dist/Calendar/hooks/useCalendarConstraints.d.ts +2 -2
- package/dist/Calendar/hooks/useCalendarDays.d.ts +2 -2
- package/dist/Calendar/hooks/useCalendarNavigation.d.ts +2 -2
- package/dist/Calendar/index.d.ts +5 -5
- package/dist/Calendar/utils.d.ts +1 -1
- package/dist/Card/Card.d.ts +4 -4
- package/dist/Card/index.d.ts +2 -2
- package/dist/Carousel/Carousel.d.ts +2 -2
- package/dist/Carousel/index.d.ts +2 -2
- package/dist/Center/Center.d.ts +2 -2
- package/dist/Center/index.d.ts +2 -2
- package/dist/Chat/ChatComposer.d.ts +1 -1
- package/dist/Chat/ChatComposerDrawer.d.ts +1 -1
- package/dist/Chat/ChatComposerInput.d.ts +4 -4
- package/dist/Chat/ChatDictationButton.d.ts +2 -2
- package/dist/Chat/ChatLayout.d.ts +1 -1
- package/dist/Chat/ChatLayoutScrollButton.d.ts +1 -1
- package/dist/Chat/ChatMessage.d.ts +2 -2
- package/dist/Chat/ChatMessageBubble.d.ts +2 -2
- package/dist/Chat/ChatMessageList.d.ts +3 -3
- package/dist/Chat/ChatMessageMetadata.d.ts +1 -1
- package/dist/Chat/ChatSendButton.d.ts +1 -1
- package/dist/Chat/ChatSystemMessage.d.ts +1 -1
- package/dist/Chat/ChatTokenizedText.d.ts +2 -2
- package/dist/Chat/ChatToolCalls.d.ts +1 -1
- package/dist/Chat/index.d.ts +43 -43
- package/dist/Chat/useChatComposerTokens.d.ts +1 -1
- package/dist/Chat/useChatDictation.d.ts +1 -1
- package/dist/Chat/useChatPasteAsToken.d.ts +1 -1
- package/dist/Chat/useTriggerMenu.d.ts +2 -2
- package/dist/CheckboxInput/CheckboxInput.d.ts +4 -4
- package/dist/CheckboxInput/index.d.ts +2 -2
- package/dist/CheckboxList/CheckboxList.d.ts +4 -4
- package/dist/CheckboxList/CheckboxListItem.d.ts +2 -2
- package/dist/CheckboxList/index.d.ts +4 -4
- package/dist/Citation/Citation.d.ts +1 -1
- package/dist/Citation/index.d.ts +2 -2
- package/dist/ClickableCard/ClickableCard.d.ts +3 -3
- package/dist/ClickableCard/index.d.ts +2 -2
- package/dist/Code/Code.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/CodeBlock/CodeBlock.d.ts +2 -2
- package/dist/CodeBlock/highlightRanges.d.ts +1 -1
- package/dist/CodeBlock/index.d.ts +8 -8
- package/dist/Collapsible/Collapsible.d.ts +2 -2
- package/dist/Collapsible/CollapsibleGroup.d.ts +2 -2
- package/dist/Collapsible/index.d.ts +7 -7
- package/dist/CommandPalette/CommandPalette.d.ts +2 -2
- package/dist/CommandPalette/CommandPaletteContext.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteEmpty.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteFooter.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteGroup.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteInput.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteItem.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteList.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +16 -16
- package/dist/ComplexSelector/ComplexSelector.d.ts +5 -5
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ContextMenu/ContextMenu.d.ts +4 -4
- package/dist/ContextMenu/index.d.ts +9 -9
- package/dist/DateInput/DateInput.d.ts +7 -7
- package/dist/DateInput/MonthScroller.d.ts +1 -1
- package/dist/DateInput/NativeDateField.d.ts +1 -1
- package/dist/DateInput/TouchDateField.d.ts +1 -1
- package/dist/DateInput/Wheel.d.ts.map +1 -1
- package/dist/DateInput/Wheel.js +1 -1
- package/dist/DateInput/index.d.ts +2 -2
- package/dist/DateInput/monthGeometry.d.ts +1 -1
- package/dist/DateRangeInput/DateRangeInput.d.ts +6 -6
- package/dist/DateRangeInput/index.d.ts +2 -2
- package/dist/DateTimeInput/DateTimeInput.d.ts +6 -6
- package/dist/DateTimeInput/NativeDateSegment.d.ts +3 -3
- package/dist/DateTimeInput/NativeTimeSegment.d.ts +4 -4
- package/dist/DateTimeInput/TouchDateTimeField.d.ts +1 -1
- package/dist/DateTimeInput/index.d.ts +2 -2
- package/dist/Dialog/Dialog.d.ts +3 -3
- package/dist/Dialog/DialogHeader.d.ts +1 -1
- package/dist/Dialog/index.d.ts +6 -6
- package/dist/Dialog/useImperativeDialog.d.ts +1 -1
- package/dist/Divider/Divider.d.ts +2 -2
- package/dist/Divider/index.d.ts +2 -2
- package/dist/Drawer/Drawer.d.ts +3 -3
- package/dist/Drawer/DrawerHeader.d.ts +1 -1
- package/dist/Drawer/index.d.ts +4 -4
- package/dist/DropdownMenu/DropdownMenu.d.ts +5 -5
- package/dist/DropdownMenu/DropdownMenuCheckboxItem.d.ts +2 -2
- package/dist/DropdownMenu/DropdownMenuDivider.d.ts +1 -1
- package/dist/DropdownMenu/DropdownMenuGroup.d.ts +1 -1
- package/dist/DropdownMenu/DropdownMenuItem.d.ts +2 -2
- package/dist/DropdownMenu/DropdownMenuRadioGroup.d.ts +1 -1
- package/dist/DropdownMenu/DropdownMenuRadioItem.d.ts +12 -7
- package/dist/DropdownMenu/DropdownMenuRadioItem.d.ts.map +1 -1
- package/dist/DropdownMenu/DropdownMenuRadioItem.js +13 -5
- package/dist/DropdownMenu/DropdownMenuSubMenu.d.ts +2 -2
- package/dist/DropdownMenu/MenuBottomSheetActionList.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +10 -10
- package/dist/DropdownMenu/lazyMenuBottomSheet.d.ts +2 -2
- package/dist/DropdownMenu/renderDropdownItems.d.ts +1 -1
- package/dist/DropdownMenu/useMenuDrillIn.d.ts +1 -1
- package/dist/EmptyState/EmptyState.d.ts +1 -1
- package/dist/EmptyState/index.d.ts +2 -2
- package/dist/Field/Field.d.ts +5 -5
- package/dist/Field/FieldLabel.d.ts +2 -2
- package/dist/Field/PanelSearchInput.d.ts +1 -1
- package/dist/Field/fieldInputFamily.testing.d.ts +1 -1
- package/dist/Field/fieldParts.d.ts +1 -1
- package/dist/Field/index.d.ts +10 -10
- package/dist/Field/inputDisabledFocus.d.ts +14 -0
- package/dist/Field/inputDisabledFocus.d.ts.map +1 -0
- package/dist/Field/inputDisabledFocus.js +19 -0
- package/dist/FieldStatus/FieldStatus.d.ts +3 -3
- package/dist/FieldStatus/index.d.ts +2 -2
- package/dist/FieldStatus/useFieldStatusAnnouncement.d.ts +1 -1
- package/dist/FileInput/FileInput.d.ts +4 -4
- package/dist/FileInput/index.d.ts +2 -2
- package/dist/FormLayout/FormLayout.d.ts +2 -2
- package/dist/FormLayout/index.d.ts +4 -4
- package/dist/Grid/Grid.d.ts +3 -3
- package/dist/Grid/GridSpan.d.ts +1 -1
- package/dist/Grid/index.d.ts +4 -4
- package/dist/HStack/HStack.d.ts +2 -2
- package/dist/HStack/index.d.ts +1 -1
- package/dist/Heading/Heading.d.ts +4 -4
- package/dist/Heading/index.d.ts +1 -1
- package/dist/HoverCard/HoverCard.d.ts +4 -4
- package/dist/HoverCard/index.d.ts +4 -4
- package/dist/HoverCard/useHoverCard.d.ts +2 -2
- package/dist/Icon/Icon.d.ts +3 -3
- package/dist/Icon/IconDefaultSizeContext.d.ts +1 -1
- package/dist/Icon/defaultIcons.d.ts +1 -1
- package/dist/Icon/globalIconRegistry.d.ts +1 -1
- package/dist/Icon/index.d.ts +5 -5
- package/dist/Icon/useIcon.d.ts +1 -1
- package/dist/IconButton/IconButton.d.ts +1 -1
- package/dist/IconButton/index.d.ts +2 -2
- package/dist/Indicator/CheckIndicator.d.ts +1 -1
- package/dist/Indicator/CheckboxIndicator.d.ts +1 -1
- package/dist/Indicator/RadioIndicator.d.ts +1 -1
- package/dist/Indicator/index.d.ts +8 -8
- package/dist/Indicator/indicatorRegistry.d.ts +2 -2
- package/dist/Indicator/types.d.ts +1 -1
- package/dist/Indicator/useIndicator.d.ts +2 -2
- package/dist/InputGroup/InputGroup.d.ts +2 -2
- package/dist/InputGroup/InputGroupText.d.ts +1 -1
- package/dist/InputGroup/index.d.ts +6 -6
- package/dist/InteractiveRoleContext/InteractiveRoleContext.d.ts +1 -1
- package/dist/InteractiveRoleContext/index.d.ts +1 -1
- package/dist/Item/Item.d.ts +1 -1
- package/dist/Item/ItemSwipeLayer.d.ts +2 -2
- package/dist/Item/index.d.ts +2 -2
- package/dist/Kbd/Kbd.d.ts +1 -1
- package/dist/Kbd/index.d.ts +2 -2
- package/dist/Layer/LayerProvider.d.ts +1 -1
- package/dist/Layer/index.d.ts +18 -18
- package/dist/Layer/layerInset.d.ts +1 -1
- package/dist/Layer/layerSlideRules.d.ts +1 -1
- package/dist/Layer/modalOutlet.d.ts +1 -1
- package/dist/Layer/modalOutlet.js +1 -1
- package/dist/Layer/useLayerDismissal.d.ts +1 -1
- package/dist/Layer/useTouchTrigger.d.ts +14 -1
- package/dist/Layer/useTouchTrigger.d.ts.map +1 -1
- package/dist/Layer/useTouchTrigger.js +72 -17
- package/dist/Layout/Layout.d.ts +2 -2
- package/dist/Layout/LayoutContent.d.ts +2 -2
- package/dist/Layout/LayoutFooter.d.ts +2 -2
- package/dist/Layout/LayoutHeader.d.ts +2 -2
- package/dist/Layout/LayoutPanel.d.ts +3 -3
- package/dist/Layout/index.d.ts +29 -29
- package/dist/Layout/padding.stylex.d.ts +1 -1
- package/dist/Lightbox/Lightbox.d.ts +1 -1
- package/dist/Lightbox/index.d.ts +4 -4
- package/dist/Lightbox/useLightbox.d.ts +1 -1
- package/dist/Link/Link.d.ts +3 -3
- package/dist/Link/LinkContext.d.ts +1 -1
- package/dist/Link/LinkProvider.d.ts +1 -1
- package/dist/Link/index.d.ts +8 -8
- package/dist/Link/useLinkComponent.d.ts +1 -1
- package/dist/List/List.d.ts +3 -3
- package/dist/List/ListItem.d.ts +2 -2
- package/dist/List/index.d.ts +4 -4
- package/dist/Markdown/Markdown.d.ts +4 -4
- package/dist/Markdown/headingProjection.d.ts +3 -3
- package/dist/Markdown/index.d.ts +7 -7
- package/dist/Markdown/parser/index.d.ts +3 -3
- package/dist/Markdown/parser.d.ts +3 -3
- package/dist/Markdown/plugin-renderer/MarkdownPluginNodeRenderer.d.ts +1 -1
- package/dist/Markdown/plugin-renderer/index.d.ts +2 -2
- package/dist/Markdown/plugins/frontmatter.d.ts +2 -2
- package/dist/Markdown/plugins/headingLinks.d.ts +2 -2
- package/dist/Markdown/plugins/index.d.ts +14 -14
- package/dist/Markdown/plugins/protocol.d.ts +1 -1
- package/dist/Markdown/plugins/semanticFence.d.ts +2 -2
- package/dist/Markdown/plugins/softBreaks.d.ts +1 -1
- package/dist/Markdown/plugins/sourceDecoration.d.ts +2 -2
- package/dist/Markdown/plugins/sourceLines.d.ts +1 -1
- package/dist/Markdown/plugins/textTransform.d.ts +2 -2
- package/dist/Markdown/remark.d.ts +1 -1
- package/dist/Markdown/utils.d.ts +4 -4
- package/dist/MetadataList/MetadataList.d.ts +2 -2
- package/dist/MetadataList/MetadataListItem.d.ts +1 -1
- package/dist/MetadataList/index.d.ts +5 -5
- package/dist/MobileNav/MobileNav.d.ts +1 -1
- package/dist/MobileNav/MobileNavToggle.d.ts +1 -1
- package/dist/MobileNav/index.d.ts +4 -4
- package/dist/MoreMenu/MoreMenu.d.ts +4 -4
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/MultiSelector.d.ts +7 -7
- package/dist/MultiSelector/hooks.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +3 -3
- package/dist/MultiSelector/types.d.ts +1 -1
- package/dist/NavIcon/NavIcon.d.ts +1 -1
- package/dist/NavIcon/index.d.ts +2 -2
- package/dist/NavMenu/NavHeadingMenu.d.ts +2 -2
- package/dist/NavMenu/NavHeadingMenuItem.d.ts +2 -2
- package/dist/NavMenu/index.d.ts +6 -6
- package/dist/NumberInput/NumberInput.d.ts +8 -8
- package/dist/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/NumberInput/NumberInput.js +46 -20
- package/dist/NumberInput/index.d.ts +2 -2
- package/dist/NumberInput/numberInputCommit.d.ts +1 -1
- package/dist/NumberInput/numberParser.d.ts +1 -1
- package/dist/Outline/Outline.d.ts +3 -3
- package/dist/Outline/index.d.ts +7 -7
- package/dist/Outline/parseOutlineFromMarkdown.d.ts +2 -2
- package/dist/Outline/useOutlineFromDOM.d.ts +1 -1
- package/dist/Outline/useOutlineFromMarkdown.d.ts +3 -3
- package/dist/Outline/useScrollSpy.d.ts +1 -1
- package/dist/OverflowList/OverflowList.d.ts +2 -2
- package/dist/OverflowList/index.d.ts +2 -2
- package/dist/Overlay/Overlay.d.ts +2 -2
- package/dist/Overlay/index.d.ts +5 -5
- package/dist/Overlay/useOverlay.d.ts +1 -1
- package/dist/Pagination/Pagination.d.ts +2 -2
- package/dist/Pagination/index.d.ts +2 -2
- package/dist/Popover/Popover.d.ts +3 -3
- package/dist/Popover/index.d.ts +4 -4
- package/dist/Popover/usePopover.d.ts +2 -2
- package/dist/PowerSearch/PowerSearch.d.ts +5 -5
- package/dist/PowerSearch/PowerSearchEditPopover.d.ts +2 -2
- package/dist/PowerSearch/PowerSearchFilterEditor.d.ts +1 -1
- package/dist/PowerSearch/PowerSearchToken.d.ts +1 -1
- package/dist/PowerSearch/PowerSearchValueEditor.d.ts +2 -2
- package/dist/PowerSearch/formatFilterValue.d.ts +3 -3
- package/dist/PowerSearch/index.d.ts +8 -8
- package/dist/PowerSearch/resolveDateTimeRangePart.d.ts +1 -1
- package/dist/PowerSearch/resolveOperatorLabel.d.ts +2 -2
- package/dist/PowerSearch/types.d.ts +1 -1
- package/dist/PowerSearch/useInternalConfig.d.ts +1 -1
- package/dist/PowerSearch/usePowerSearchConfig.d.ts +1 -1
- package/dist/PowerSearch/usePowerSearchSource.d.ts +3 -3
- package/dist/PowerSearch/utils.d.ts +3 -3
- package/dist/ProgressBar/ProgressBar.d.ts +2 -2
- package/dist/ProgressBar/index.d.ts +2 -2
- package/dist/RadioList/RadioList.d.ts +3 -3
- package/dist/RadioList/RadioListItem.d.ts +2 -2
- package/dist/RadioList/index.d.ts +4 -4
- package/dist/Resizable/ResizeHandle.d.ts +2 -2
- package/dist/Resizable/index.d.ts +6 -6
- package/dist/Resizable/useResizable.d.ts +2 -2
- package/dist/Resizable/utils.d.ts +3 -3
- package/dist/ScrollableArea/ScrollableArea.d.ts +3 -3
- package/dist/ScrollableArea/index.d.ts +4 -4
- package/dist/Section/Section.d.ts +3 -3
- package/dist/Section/index.d.ts +2 -2
- package/dist/SegmentedControl/SegmentedControl.d.ts +2 -2
- package/dist/SegmentedControl/SegmentedControlItem.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +5 -5
- package/dist/SelectableCard/SelectableCard.d.ts +3 -3
- package/dist/SelectableCard/index.d.ts +2 -2
- package/dist/Selector/Selector.d.ts +8 -8
- package/dist/Selector/SelectorOption.d.ts +1 -1
- package/dist/Selector/hooks.d.ts +1 -1
- package/dist/Selector/index.d.ts +4 -4
- package/dist/Selector/types.d.ts +1 -1
- package/dist/Selector/useSelectorPresentation.d.ts +2 -2
- package/dist/Selector/utils.d.ts +1 -1
- package/dist/SideNav/SideNav.d.ts +3 -3
- package/dist/SideNav/SideNavCollapseButton.d.ts +3 -3
- package/dist/SideNav/SideNavHeading.d.ts +2 -2
- package/dist/SideNav/SideNavHeading.d.ts.map +1 -1
- package/dist/SideNav/SideNavHeading.js +34 -0
- package/dist/SideNav/SideNavItem.d.ts +4 -4
- package/dist/SideNav/SideNavSection.d.ts +1 -1
- package/dist/SideNav/index.d.ts +14 -14
- package/dist/SizeContext/index.d.ts +1 -1
- package/dist/Skeleton/Skeleton.d.ts +1 -1
- package/dist/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/Skeleton/Skeleton.js +12 -3
- package/dist/Skeleton/index.d.ts +2 -2
- package/dist/Slider/Slider.d.ts +3 -3
- package/dist/Slider/index.d.ts +2 -2
- package/dist/Spinner/Spinner.d.ts +1 -1
- package/dist/Spinner/index.d.ts +2 -2
- package/dist/Stack/Stack.d.ts +3 -3
- package/dist/Stack/StackItem.d.ts +2 -2
- package/dist/Stack/index.d.ts +6 -6
- package/dist/Stack/stack.stylex.d.ts +1 -1
- package/dist/StatusDot/StatusDot.d.ts +2 -2
- package/dist/StatusDot/index.d.ts +2 -2
- package/dist/Stepper/Step.d.ts +2 -2
- package/dist/Stepper/Step.d.ts.map +1 -1
- package/dist/Stepper/Step.js +3 -3
- package/dist/Stepper/Stepper.d.ts +2 -2
- package/dist/Stepper/index.d.ts +7 -7
- package/dist/Switch/Switch.d.ts +4 -4
- package/dist/Switch/index.d.ts +2 -2
- package/dist/TabList/Tab.d.ts +2 -2
- package/dist/TabList/TabList.d.ts +3 -3
- package/dist/TabList/TabMenu.d.ts +2 -2
- package/dist/TabList/index.d.ts +8 -8
- package/dist/Table/BaseTable.d.ts +1 -1
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Table/TableBody.d.ts +1 -1
- package/dist/Table/TableCell.d.ts +3 -3
- package/dist/Table/TableContext.d.ts +1 -1
- package/dist/Table/TableFooter.d.ts +1 -1
- package/dist/Table/TableHeader.d.ts +1 -1
- package/dist/Table/TableHeaderCell.d.ts +3 -3
- package/dist/Table/TableRow.d.ts +2 -2
- package/dist/Table/TableSelectionToolbar.d.ts +2 -2
- package/dist/Table/columnUtils.d.ts +1 -1
- package/dist/Table/index.d.ts +54 -54
- package/dist/Table/plugins/columnResize/index.d.ts +2 -2
- package/dist/Table/plugins/columnResize/useTableColumnResize.d.ts +1 -1
- package/dist/Table/plugins/columnSettings/index.d.ts +4 -4
- package/dist/Table/plugins/columnSettings/useTableColumnSettings.d.ts +2 -2
- package/dist/Table/plugins/columnSettings/useTableColumnSettingsState.d.ts +1 -1
- package/dist/Table/plugins/filtering/index.d.ts +4 -4
- package/dist/Table/plugins/filtering/useTableFilterState.d.ts +1 -1
- package/dist/Table/plugins/filtering/useTableFiltering.d.ts +2 -2
- package/dist/Table/plugins/groupedRows/index.d.ts +2 -2
- package/dist/Table/plugins/groupedRows/useTableGroupedRows.d.ts +1 -1
- package/dist/Table/plugins/pagination/index.d.ts +3 -3
- package/dist/Table/plugins/pagination/useTablePagination.d.ts +1 -1
- package/dist/Table/plugins/rowExpansion/index.d.ts +2 -2
- package/dist/Table/plugins/rowExpansion/useTableRowExpansion.d.ts +1 -1
- package/dist/Table/plugins/rowIndex/index.d.ts +2 -2
- package/dist/Table/plugins/rowIndex/useTableRowIndex.d.ts +1 -1
- package/dist/Table/plugins/rowStatus/index.d.ts +2 -2
- package/dist/Table/plugins/rowStatus/useTableRowStatus.d.ts +2 -2
- package/dist/Table/plugins/selection/index.d.ts +4 -4
- package/dist/Table/plugins/selection/useTableSelection.d.ts +1 -1
- package/dist/Table/plugins/selection/useTableSelectionState.d.ts +1 -1
- package/dist/Table/plugins/sortable/index.d.ts +4 -4
- package/dist/Table/plugins/sortable/useTableSortable.d.ts +1 -1
- package/dist/Table/plugins/sortable/useTableSortableState.d.ts +1 -1
- package/dist/Table/plugins/stickyColumns/index.d.ts +2 -2
- package/dist/Table/plugins/stickyColumns/useTableStickyColumns.d.ts +1 -1
- package/dist/Table/plugins/tree/index.d.ts +4 -4
- package/dist/Table/plugins/tree/useTableTreeData.d.ts +1 -1
- package/dist/Table/plugins/tree/useTableTreeState.d.ts +1 -1
- package/dist/Table/tableContextMenu.d.ts +2 -2
- package/dist/Table/types.d.ts +3 -3
- package/dist/Table/useBaseTablePlugins.d.ts +1 -1
- package/dist/Table/useTableCellStyles.d.ts +2 -2
- package/dist/Table/utils.d.ts +2 -2
- package/dist/Text/Text.d.ts +3 -3
- package/dist/Text/index.d.ts +4 -4
- package/dist/TextArea/TextArea.d.ts +10 -8
- package/dist/TextArea/TextArea.d.ts.map +1 -1
- package/dist/TextArea/TextArea.js +14 -11
- package/dist/TextArea/index.d.ts +2 -2
- package/dist/TextInput/TextInput.d.ts +11 -9
- package/dist/TextInput/TextInput.d.ts.map +1 -1
- package/dist/TextInput/TextInput.js +27 -17
- package/dist/TextInput/index.d.ts +2 -2
- package/dist/Thumbnail/Thumbnail.d.ts +1 -1
- package/dist/Thumbnail/index.d.ts +2 -2
- package/dist/TimeInput/TimeInput.d.ts +6 -6
- package/dist/TimeInput/TouchTimeField.d.ts +1 -1
- package/dist/TimeInput/index.d.ts +3 -3
- package/dist/Timer/Timer.d.ts +2 -2
- package/dist/Timer/index.d.ts +2 -2
- package/dist/Timestamp/Timestamp.d.ts +3 -3
- package/dist/Timestamp/TimestampHoverCard.d.ts +1 -1
- package/dist/Timestamp/formatInstant.d.ts +2 -2
- package/dist/Timestamp/formatRelativeTime.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +3 -3
- package/dist/Timestamp/tooltipEntries.d.ts +2 -2
- package/dist/Toast/Toast.d.ts +2 -2
- package/dist/Toast/ToastContext.d.ts +1 -1
- package/dist/Toast/ToastViewport.d.ts +2 -2
- package/dist/Toast/index.d.ts +6 -6
- package/dist/Toast/useToast.d.ts +1 -1
- package/dist/ToggleButton/ToggleButton.d.ts +3 -3
- package/dist/ToggleButton/ToggleButtonGroup.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +4 -4
- package/dist/Token/Token.d.ts +2 -2
- package/dist/Token/TokenLink.d.ts +1 -1
- package/dist/Token/index.d.ts +2 -2
- package/dist/Tokenizer/Tokenizer.d.ts +6 -6
- package/dist/Tokenizer/Tokenizer.d.ts.map +1 -1
- package/dist/Tokenizer/Tokenizer.js +44 -40
- package/dist/Tokenizer/index.d.ts +2 -2
- package/dist/Tokenizer/useEndLaneReserve.d.ts +3 -2
- package/dist/Tokenizer/useEndLaneReserve.d.ts.map +1 -1
- package/dist/Tokenizer/useEndLaneReserve.js +3 -2
- package/dist/Toolbar/Toolbar.d.ts +4 -4
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Tooltip/Tooltip.d.ts +3 -3
- package/dist/Tooltip/index.d.ts +4 -4
- package/dist/Tooltip/useTooltip.d.ts +2 -2
- package/dist/TopNav/TopNav.d.ts +1 -1
- package/dist/TopNav/TopNavHeading.d.ts +2 -2
- package/dist/TopNav/TopNavItem.d.ts +3 -3
- package/dist/TopNav/TopNavMegaMenu.d.ts +1 -1
- package/dist/TopNav/TopNavMegaMenuFeaturedCard.d.ts +1 -1
- package/dist/TopNav/TopNavMegaMenuItem.d.ts +2 -2
- package/dist/TopNav/TopNavMenu.d.ts +1 -1
- package/dist/TopNav/index.d.ts +16 -16
- package/dist/TreeList/TreeList.d.ts +3 -3
- package/dist/TreeList/TreeListItem.d.ts +1 -1
- package/dist/TreeList/TreeListTypes.d.ts +1 -1
- package/dist/TreeList/index.d.ts +3 -3
- package/dist/Typeahead/BaseTypeahead.d.ts +2 -2
- package/dist/Typeahead/Typeahead.d.ts +6 -6
- package/dist/Typeahead/TypeaheadItem.d.ts +2 -2
- package/dist/Typeahead/createStaticSource.d.ts +1 -1
- package/dist/Typeahead/index.d.ts +9 -9
- package/dist/Typeahead/utils.d.ts +3 -3
- package/dist/VStack/VStack.d.ts +2 -2
- package/dist/VStack/index.d.ts +1 -1
- package/dist/VisuallyHidden/VisuallyHidden.d.ts +24 -6
- package/dist/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
- package/dist/VisuallyHidden/VisuallyHidden.js +24 -5
- package/dist/VisuallyHidden/index.d.ts +2 -2
- package/dist/astryx.css +8 -16
- package/dist/hooks/index.d.ts +52 -52
- package/dist/hooks/useAutoMediaMode.d.ts +1 -1
- package/dist/hooks/useInputContainer.d.ts +1 -1
- package/dist/hooks/useInputStatusIcon.d.ts +3 -3
- package/dist/hooks/useMenuPress.d.ts +1 -1
- package/dist/hooks/usePressFeedback.d.ts +1 -1
- package/dist/hooks/useScrollableArea.d.ts +1 -1
- package/dist/i18n/InternationalizationContext.d.ts +2 -2
- package/dist/i18n/InternationalizationProvider.d.ts +1 -1
- package/dist/i18n/index.d.ts +12 -12
- package/dist/i18n/resolve.d.ts +1 -1
- package/dist/i18n/useLocale.d.ts +1 -1
- package/dist/index.d.ts +111 -111
- package/dist/theme/Theme.d.ts +2 -2
- package/dist/theme/contrast.d.ts +1 -1
- package/dist/theme/defineTheme.d.ts +12 -12
- package/dist/theme/domainTokens/index.d.ts +6 -6
- package/dist/theme/generateThemeRules.d.ts +1 -1
- package/dist/theme/index.d.ts +31 -31
- package/dist/theme/localTokens.d.ts +1 -1
- package/dist/theme/mergeComponents.d.ts +1 -1
- package/dist/theme/onMediaTokens.d.ts +1 -1
- package/dist/theme/resolveThemeValues.d.ts +7 -7
- package/dist/theme/syntax/SyntaxTheme.d.ts +1 -1
- package/dist/theme/syntax/index.d.ts +7 -7
- package/dist/theme/syntax/presets.d.ts +1 -1
- package/dist/theme/themeAdaptations.d.ts +5 -5
- package/dist/theme/themeRegistry.d.ts +1 -1
- package/dist/theme/tokens.d.ts +1 -1
- package/dist/theme/types.d.ts +1 -1
- package/dist/theme/useTheme.d.ts +2 -2
- package/dist/utils/dateParser.d.ts +3 -3
- package/dist/utils/groupItems.d.ts +1 -1
- package/dist/utils/index.d.ts +29 -29
- package/dist/utils/plainDate.d.ts +3 -3
- package/package.json +5 -5
- package/src/Badge/Badge.doc.mjs +2 -1
- package/src/BottomSheet/BottomSheet.tsx +12 -1
- package/src/BottomSheet/__tests__/BottomSheetToastOutlet.a11y.chromium.spec.ts +82 -0
- package/src/DateInput/DateInputTouch.test.tsx +9 -0
- package/src/DateInput/Wheel.tsx +4 -1
- package/src/DateInput/__tests__/WheelPinchZoom.a11y.chromium.spec.ts +158 -0
- package/src/DropdownMenu/DropdownMenuRadioItem.doc.mjs +5 -2
- package/src/DropdownMenu/DropdownMenuRadioItem.spec.md +226 -0
- package/src/DropdownMenu/DropdownMenuRadioItem.tsx +32 -16
- package/src/DropdownMenu/DropdownMenuSelectable.test.tsx +158 -0
- package/src/DropdownMenu/__tests__/DropdownMenuRadioItemAudit.a11y.chromium.spec.ts +539 -0
- package/src/Field/inputDisabledFocus.ts +28 -0
- package/src/HoverCard/HoverCard.test.tsx +93 -3
- package/src/Icon/Icon.spec.md +40 -29
- package/src/Layer/__tests__/TouchTrigger.a11y.chromium.spec.ts +199 -0
- package/src/Layer/modalOutlet.ts +1 -1
- package/src/Layer/useTouchTrigger.ts +95 -41
- package/src/NumberInput/NumberInput.doc.mjs +6 -6
- package/src/NumberInput/NumberInput.test.tsx +144 -14
- package/src/NumberInput/NumberInput.tsx +68 -21
- package/src/Pagination/Pagination.test.tsx +2 -2
- package/src/SideNav/SideNav.test.tsx +15 -6
- package/src/SideNav/SideNavHeading.tsx +41 -0
- package/src/Skeleton/Skeleton.test.tsx +108 -1
- package/src/Skeleton/Skeleton.tsx +30 -2
- package/src/Stepper/Step.tsx +7 -0
- package/src/Stepper/Stepper.test.tsx +33 -0
- package/src/TextArea/TextArea.doc.mjs +6 -6
- package/src/TextArea/TextArea.test.tsx +65 -6
- package/src/TextArea/TextArea.tsx +26 -14
- package/src/TextInput/TextInput.doc.mjs +8 -8
- package/src/TextInput/TextInput.test.tsx +83 -10
- package/src/TextInput/TextInput.tsx +38 -19
- package/src/Toast/ToastViewport.modalHost.test.tsx +139 -4
- package/src/Tokenizer/Tokenizer.test.tsx +26 -8
- package/src/Tokenizer/Tokenizer.tsx +65 -72
- package/src/Tokenizer/__tests__/TokenizerEndLane.a11y.chromium.spec.ts +471 -0
- package/src/Tokenizer/useEndLaneReserve.ts +3 -2
- package/src/Tooltip/Tooltip.test.tsx +148 -3
- package/src/Tooltip/__tests__/Tooltip.a11y.states.ts +2 -2
- package/src/VisuallyHidden/VisuallyHidden.doc.mjs +1 -1
- package/src/VisuallyHidden/VisuallyHidden.test.tsx +39 -0
- package/src/VisuallyHidden/VisuallyHidden.tsx +38 -5
- package/src/theme/tokens.test.ts +60 -0
package/dist/Icon/index.d.ts
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/Icon/Icon.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Icon, renderIconSlot } from './Icon';
|
|
10
|
-
export { useIcon } from './useIcon';
|
|
11
|
-
export type { IconProps, IconColor, IconSize, IconType } from './Icon';
|
|
12
|
-
export { registerIcons, getIconRegistry, getIcon, getExtendedIcon, resetIcons, } from './globalIconRegistry';
|
|
13
|
-
export type { IconName, ExtendedIconName, NamespacedIconName, IconRegistry, IconRegistrySource, } from './globalIconRegistry';
|
|
9
|
+
export { Icon, renderIconSlot } from './Icon.js';
|
|
10
|
+
export { useIcon } from './useIcon.js';
|
|
11
|
+
export type { IconProps, IconColor, IconSize, IconType } from './Icon.js';
|
|
12
|
+
export { registerIcons, getIconRegistry, getIcon, getExtendedIcon, resetIcons, } from './globalIconRegistry.js';
|
|
13
|
+
export type { IconName, ExtendedIconName, NamespacedIconName, IconRegistry, IconRegistrySource, } from './globalIconRegistry.js';
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Icon/useIcon.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @position Client hook for components that render registry icons directly
|
|
6
6
|
*/
|
|
7
7
|
import type { ReactNode } from 'react';
|
|
8
|
-
import { type IconName, type NamespacedIconName } from './globalIconRegistry';
|
|
8
|
+
import { type IconName, type NamespacedIconName } from './globalIconRegistry.js';
|
|
9
9
|
/**
|
|
10
10
|
* Resolve a semantic icon name from the nearest Theme, falling back through
|
|
11
11
|
* root theme registration, global icon overrides, and built-in defaults.
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/IconButton/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import type { ReactNode } from 'react';
|
|
15
|
-
import type { ButtonProps } from '../Button/Button';
|
|
15
|
+
import type { ButtonProps } from '../Button/Button.js';
|
|
16
16
|
/**
|
|
17
17
|
* Props for IconButton.
|
|
18
18
|
*
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/IconButton/IconButton.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { IconButton } from './IconButton';
|
|
10
|
-
export type { IconButtonProps } from './IconButton';
|
|
9
|
+
export { IconButton } from './IconButton.js';
|
|
10
|
+
export type { IconButtonProps } from './IconButton.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
* replaceable wholesale by name through `defineTheme({indicators})` — replace
|
|
14
14
|
* `check` and every single-selection mark in the app follows.
|
|
15
15
|
*/
|
|
16
|
-
export { CheckboxIndicator } from './CheckboxIndicator';
|
|
17
|
-
export { CheckIndicator } from './CheckIndicator';
|
|
18
|
-
export { RadioIndicator } from './RadioIndicator';
|
|
19
|
-
export { defaultIndicators, getIndicator } from './indicatorRegistry';
|
|
20
|
-
export type { CoreIndicatorName, IndicatorRegistrySource, } from './indicatorRegistry';
|
|
21
|
-
export { useIndicator } from './useIndicator';
|
|
22
|
-
export { indicatorScope } from './indicator.markers.stylex';
|
|
23
|
-
export type { IndicatorComponent, IndicatorFamily, IndicatorFamilyMap, IndicatorMap, IndicatorName, IndicatorNameOfFamily, IndicatorPosition, IndicatorProps, IndicatorRegistry, IndicatorSize, IndicatorState, } from './types';
|
|
16
|
+
export { CheckboxIndicator } from './CheckboxIndicator.js';
|
|
17
|
+
export { CheckIndicator } from './CheckIndicator.js';
|
|
18
|
+
export { RadioIndicator } from './RadioIndicator.js';
|
|
19
|
+
export { defaultIndicators, getIndicator } from './indicatorRegistry.js';
|
|
20
|
+
export type { CoreIndicatorName, IndicatorRegistrySource, } from './indicatorRegistry.js';
|
|
21
|
+
export { useIndicator } from './useIndicator.js';
|
|
22
|
+
export { indicatorScope } from './indicator.markers.stylex.js';
|
|
23
|
+
export type { IndicatorComponent, IndicatorFamily, IndicatorFamilyMap, IndicatorMap, IndicatorName, IndicatorNameOfFamily, IndicatorPosition, IndicatorProps, IndicatorRegistry, IndicatorSize, IndicatorState, } from './types.js';
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
* promise a component for `getIndicator('brand-star')` and hand back
|
|
22
22
|
* `undefined` at runtime.
|
|
23
23
|
*/
|
|
24
|
-
import type { DefinedTheme } from '../theme/defineTheme';
|
|
25
|
-
import type { IndicatorComponent, IndicatorMap, IndicatorName } from './types';
|
|
24
|
+
import type { DefinedTheme } from '../theme/defineTheme.js';
|
|
25
|
+
import type { IndicatorComponent, IndicatorMap, IndicatorName } from './types.js';
|
|
26
26
|
/**
|
|
27
27
|
* The indicator names Astryx ships a default for.
|
|
28
28
|
*
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* `state={isOpen ? 'on' : 'off'}`.
|
|
33
33
|
*/
|
|
34
34
|
import type { ComponentType, ReactNode, Ref } from 'react';
|
|
35
|
-
import type { BaseProps } from '../BaseProps';
|
|
35
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
36
36
|
/**
|
|
37
37
|
* The indicator families, each mapped to the states it can express.
|
|
38
38
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type CoreIndicatorName } from './indicatorRegistry';
|
|
2
|
-
import type { IndicatorComponent, IndicatorMap, IndicatorName } from './types';
|
|
1
|
+
import { type CoreIndicatorName } from './indicatorRegistry.js';
|
|
2
|
+
import type { IndicatorComponent, IndicatorMap, IndicatorName } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Resolve an indicator component from the nearest `<Theme>`.
|
|
5
5
|
*
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* - /packages/cli/assets/templates/blocks/components/InputGroup/
|
|
16
16
|
*/
|
|
17
17
|
import { type ReactNode } from 'react';
|
|
18
|
-
import { type InputStatus } from '../Field';
|
|
19
|
-
import type { BaseProps } from '../BaseProps';
|
|
18
|
+
import { type InputStatus } from '../Field/index.js';
|
|
19
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
20
20
|
export type InputGroupSize = 'sm' | 'md' | 'lg';
|
|
21
21
|
export interface InputGroupProps extends Omit<BaseProps<HTMLDivElement>, 'children'> {
|
|
22
22
|
/** Ref forwarded to the group container element */
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* - /packages/cli/assets/templates/blocks/components/InputGroup/
|
|
11
11
|
*/
|
|
12
12
|
import React, { type ReactNode } from 'react';
|
|
13
|
-
import type { BaseProps } from '../BaseProps';
|
|
13
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
14
14
|
export interface InputGroupTextProps extends BaseProps<HTMLDivElement> {
|
|
15
15
|
ref?: React.Ref<HTMLDivElement>;
|
|
16
16
|
/**
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* @output Exports InputGroup, InputGroupText, context hook, and types
|
|
5
5
|
* @position Component entry point; re-exported by /packages/core/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { InputGroup } from './InputGroup';
|
|
8
|
-
export type { InputGroupProps, InputGroupSize } from './InputGroup';
|
|
9
|
-
export { InputGroupText } from './InputGroupText';
|
|
10
|
-
export type { InputGroupTextProps } from './InputGroupText';
|
|
11
|
-
export { useInputGroup } from './InputGroupContext';
|
|
12
|
-
export type { InputGroupContextValue } from './InputGroupContext';
|
|
7
|
+
export { InputGroup } from './InputGroup.js';
|
|
8
|
+
export type { InputGroupProps, InputGroupSize } from './InputGroup.js';
|
|
9
|
+
export { InputGroupText } from './InputGroupText.js';
|
|
10
|
+
export type { InputGroupTextProps } from './InputGroupText.js';
|
|
11
|
+
export { useInputGroup } from './InputGroupContext.js';
|
|
12
|
+
export type { InputGroupContextValue } from './InputGroupContext.js';
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* @output Exports InteractiveRoleContext module public API
|
|
5
5
|
* @position Entry point for InteractiveRoleContext module
|
|
6
6
|
*/
|
|
7
|
-
export { InteractiveRoleContext, useInteractiveRoleContext, } from './InteractiveRoleContext';
|
|
7
|
+
export { InteractiveRoleContext, useInteractiveRoleContext, } from './InteractiveRoleContext.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Item/Item.d.ts
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* - /packages/cli/assets/templates/blocks/components/Item/ (showcase blocks)
|
|
22
22
|
*/
|
|
23
23
|
import { type ReactNode } from 'react';
|
|
24
|
-
import type { BaseProps } from '../BaseProps';
|
|
24
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
25
25
|
export type ItemAlign = 'center' | 'start' | 'first-line';
|
|
26
26
|
export type ItemDensity = 'compact' | 'balanced' | 'spacious';
|
|
27
27
|
/**
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
* split — no element is added for the swipe (spec AST-057, FR2).
|
|
17
17
|
*/
|
|
18
18
|
import { type RefObject } from 'react';
|
|
19
|
-
import { type SwipeHandlers } from './useSwipeAction';
|
|
20
|
-
import type { ItemSwipeAction, ItemSwipeBehavior } from './Item';
|
|
19
|
+
import { type SwipeHandlers } from './useSwipeAction.js';
|
|
20
|
+
import type { ItemSwipeAction, ItemSwipeBehavior } from './Item.js';
|
|
21
21
|
/**
|
|
22
22
|
* What the root needs from the gesture: the handlers it forwards its events
|
|
23
23
|
* into, and the test for the click the browser synthesizes after a drag. The
|
package/dist/Item/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* @output Exports Item component and types
|
|
5
5
|
* @position Component entry point; re-exported by /packages/core/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { Item } from './Item';
|
|
8
|
-
export type { ItemProps, ItemAlign, ItemDensity, ItemSwipeAction, ItemSwipeActions, ItemSwipeActionVariant, ItemSwipeBehavior, } from './Item';
|
|
7
|
+
export { Item } from './Item.js';
|
|
8
|
+
export type { ItemProps, ItemAlign, ItemDensity, ItemSwipeAction, ItemSwipeActions, ItemSwipeActionVariant, ItemSwipeBehavior, } from './Item.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Kbd/Kbd.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* - /packages/cli/assets/templates/blocks/components/Kbd/ (showcase blocks)
|
|
10
10
|
*/
|
|
11
11
|
import React from 'react';
|
|
12
|
-
import type { BaseProps } from '../BaseProps';
|
|
12
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
13
13
|
export interface KbdProps extends BaseProps<HTMLSpanElement> {
|
|
14
14
|
ref?: React.Ref<HTMLSpanElement>;
|
|
15
15
|
/**
|
package/dist/Kbd/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* @output Exports public API for @astryxdesign/core Kbd
|
|
5
5
|
* @position Component entry point; re-exported by /packages/core/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { Kbd } from './Kbd';
|
|
8
|
-
export type { KbdProps } from './Kbd';
|
|
7
|
+
export { Kbd } from './Kbd.js';
|
|
8
|
+
export type { KbdProps } from './Kbd.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
import { type LayerInset, type LayerToastConfig } from './LayerContext';
|
|
2
|
+
import { type LayerInset, type LayerToastConfig } from './LayerContext.js';
|
|
3
3
|
export interface LayerProviderProps {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
/** Toast configuration. Omit to use defaults. */
|
package/dist/Layer/index.d.ts
CHANGED
|
@@ -11,22 +11,22 @@
|
|
|
11
11
|
* New code should import from @astryxdesign/core/Popover, @astryxdesign/core/HoverCard,
|
|
12
12
|
* or @astryxdesign/core/Tooltip directly.
|
|
13
13
|
*/
|
|
14
|
-
export { useLayer } from './useLayer';
|
|
15
|
-
export type { LayerAlignment, LayerPlacement, ContextRenderProps, FixedRenderProps, ContextLayerOptions, FixedLayerOptions, ContextLayerReturn, FixedLayerReturn, } from './useLayer';
|
|
16
|
-
export { useLayerDismissal } from './useLayerDismissal';
|
|
17
|
-
export type { LayerEscapeBehavior, UseLayerDismissalOptions, UseLayerDismissalReturn, } from './useLayerDismissal';
|
|
18
|
-
export { LayerDepthProvider } from './LayerDepthContext';
|
|
19
|
-
export { useTouchTrigger, isActionTrigger } from './useTouchTrigger';
|
|
20
|
-
export type { LayerTouchTrigger, UseTouchTriggerOptions, UseTouchTriggerReturn, } from './useTouchTrigger';
|
|
21
|
-
export { LayerProvider } from './LayerProvider';
|
|
22
|
-
export type { LayerProviderProps } from './LayerProvider';
|
|
23
|
-
export { LayerContext, useLayerContext } from './LayerContext';
|
|
24
|
-
export type { LayerContextValue, LayerInset, LayerToastConfig, } from './LayerContext';
|
|
25
|
-
export { layerAnimations } from './layerAnimations.stylex';
|
|
26
|
-
export { usePopover, Popover } from '../Popover';
|
|
27
|
-
export type { UsePopoverOptions, UsePopoverReturn, PopoverProps, } from '../Popover';
|
|
28
|
-
export { useHoverCard, HoverCard } from '../HoverCard';
|
|
29
|
-
export type { HoverCardFocusTrigger, HoverCardTouchTrigger, HoverCardOptions, HoverCardReturn, HoverCardProps, } from '../HoverCard';
|
|
30
|
-
export { useTooltip, Tooltip } from '../Tooltip';
|
|
31
|
-
export type { TooltipFocusTrigger, TooltipTouchTrigger, TooltipOptions, TooltipReturn, TooltipProps, } from '../Tooltip';
|
|
14
|
+
export { useLayer } from './useLayer.js';
|
|
15
|
+
export type { LayerAlignment, LayerPlacement, ContextRenderProps, FixedRenderProps, ContextLayerOptions, FixedLayerOptions, ContextLayerReturn, FixedLayerReturn, } from './useLayer.js';
|
|
16
|
+
export { useLayerDismissal } from './useLayerDismissal.js';
|
|
17
|
+
export type { LayerEscapeBehavior, UseLayerDismissalOptions, UseLayerDismissalReturn, } from './useLayerDismissal.js';
|
|
18
|
+
export { LayerDepthProvider } from './LayerDepthContext.js';
|
|
19
|
+
export { useTouchTrigger, isActionTrigger } from './useTouchTrigger.js';
|
|
20
|
+
export type { LayerTouchTrigger, UseTouchTriggerOptions, UseTouchTriggerReturn, } from './useTouchTrigger.js';
|
|
21
|
+
export { LayerProvider } from './LayerProvider.js';
|
|
22
|
+
export type { LayerProviderProps } from './LayerProvider.js';
|
|
23
|
+
export { LayerContext, useLayerContext } from './LayerContext.js';
|
|
24
|
+
export type { LayerContextValue, LayerInset, LayerToastConfig, } from './LayerContext.js';
|
|
25
|
+
export { layerAnimations } from './layerAnimations.stylex.js';
|
|
26
|
+
export { usePopover, Popover } from '../Popover/index.js';
|
|
27
|
+
export type { UsePopoverOptions, UsePopoverReturn, PopoverProps, } from '../Popover/index.js';
|
|
28
|
+
export { useHoverCard, HoverCard } from '../HoverCard/index.js';
|
|
29
|
+
export type { HoverCardFocusTrigger, HoverCardTouchTrigger, HoverCardOptions, HoverCardReturn, HoverCardProps, } from '../HoverCard/index.js';
|
|
30
|
+
export { useTooltip, Tooltip } from '../Tooltip/index.js';
|
|
31
|
+
export type { TooltipFocusTrigger, TooltipTouchTrigger, TooltipOptions, TooltipReturn, TooltipProps, } from '../Tooltip/index.js';
|
|
32
32
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* prop is the public surface.
|
|
9
9
|
*/
|
|
10
10
|
import type { CSSProperties } from 'react';
|
|
11
|
-
import type { LayerInset } from './LayerContext';
|
|
11
|
+
import type { LayerInset } from './LayerContext.js';
|
|
12
12
|
/**
|
|
13
13
|
* The inline custom properties that carry a declared inset to the element
|
|
14
14
|
* whose gutter reads them — the layer, or the toast viewport. One property
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* layer: a sibling would change what a parent's last child is, and text
|
|
23
23
|
* inside a role-bearing layer would name it to assistive technology.
|
|
24
24
|
*/
|
|
25
|
-
import type { LayerAlignment, LayerPlacement } from './useLayer';
|
|
25
|
+
import type { LayerAlignment, LayerPlacement } from './useLayer.js';
|
|
26
26
|
/** The custom property a layer writes its anchor clearance to. */
|
|
27
27
|
export declare const LAYER_CLEARANCE_PROPERTY = "--_astryx-layer-clearance";
|
|
28
28
|
type Side = 'same' | 'opposite';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file modalOutlet.ts
|
|
3
|
-
* @input The open Dialog `<dialog>` elements
|
|
3
|
+
* @input The open Dialog and scrim BottomSheet `<dialog>` elements
|
|
4
4
|
* @output Exports useModalOutlet (a modal supplies its outlet),
|
|
5
5
|
* getActiveModalOutlet, and subscribeModalOutlets (a global host follows
|
|
6
6
|
* the latest one)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @file modalOutlet.ts
|
|
7
|
-
* @input The open Dialog `<dialog>` elements
|
|
7
|
+
* @input The open Dialog and scrim BottomSheet `<dialog>` elements
|
|
8
8
|
* @output Exports useModalOutlet (a modal supplies its outlet),
|
|
9
9
|
* getActiveModalOutlet, and subscribeModalOutlets (a global host follows
|
|
10
10
|
* the latest one)
|
|
@@ -20,6 +20,17 @@
|
|
|
20
20
|
* lose, so the tap opens the layer and the next tap outside dismisses it. That
|
|
21
21
|
* is `auto`; `tap` and `none` state the choice outright, which is what an
|
|
22
22
|
* icon-button whose only job is to reveal the layer needs.
|
|
23
|
+
*
|
|
24
|
+
* A touch decides nothing until it is a tap. A finger landing on the trigger
|
|
25
|
+
* may be starting a scroll, a pinch or a long press, and only the browser
|
|
26
|
+
* knows which once the finger moves or lifts. Its `click` is that verdict (on
|
|
27
|
+
* iOS it comes from UIKit's own tap recognizer), so the press only records
|
|
28
|
+
* itself and the tap's `click` opens or closes the layer; a press the browser
|
|
29
|
+
* takes for scrolling ends in `pointercancel` and never gets there. That is
|
|
30
|
+
* how a UIKit tap behaves: it recognizes when the finger lifts and fails once
|
|
31
|
+
* the scroll view claims the touch. The tap outside that closes a tap-opened
|
|
32
|
+
* layer counts when the finger lifts too, or when a scroll takes the touch,
|
|
33
|
+
* which is when UIKit dismisses a popover.
|
|
23
34
|
*/
|
|
24
35
|
import { type RefObject } from 'react';
|
|
25
36
|
/**
|
|
@@ -86,7 +97,9 @@ export interface UseTouchTriggerReturn {
|
|
|
86
97
|
/**
|
|
87
98
|
* Attach to the trigger. Returns true when the press was a touch one and
|
|
88
99
|
* this hook has dealt with it, meaning the caller's own pointer-down
|
|
89
|
-
* behavior must not also run.
|
|
100
|
+
* behavior must not also run. A touch press opens or closes nothing by
|
|
101
|
+
* itself: the hook waits for that press's tap (the `click` the browser
|
|
102
|
+
* fires when the finger lifts without scrolling) on the same element.
|
|
90
103
|
*/
|
|
91
104
|
handlePointerDown: (event: PointerEvent) => boolean;
|
|
92
105
|
/** Forget a tap-open. Call from every other close path (Escape, controlled). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTouchTrigger.d.ts","sourceRoot":"","sources":["../../src/Layer/useTouchTrigger.ts"],"names":[],"mappings":"AAIA
|
|
1
|
+
{"version":3,"file":"useTouchTrigger.d.ts","sourceRoot":"","sources":["../../src/Layer/useTouchTrigger.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,EAAiC,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAOrE;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;AAmCxD;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAoB7D;AAeD,MAAM,WAAW,sBAAsB;IACrC,sDAAsD;IACtD,YAAY,EAAE,iBAAiB,CAAC;IAEhC,oDAAoD;IACpD,SAAS,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,YAAY,EAAE,OAAO,CAAC;IAEtB,2CAA2C;IAC3C,MAAM,EAAE,OAAO,CAAC;IAEhB,0EAA0E;IAC1E,OAAO,EAAE,MAAM,CAAC;IAEhB,oDAAoD;IACpD,UAAU,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAE1C,uDAAuD;IACvD,IAAI,EAAE,MAAM,IAAI,CAAC;IAEjB,mCAAmC;IACnC,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,iBAAiB,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAEtC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,OAAO,CAAC;IAElC;;;;OAIG;IACH,kBAAkB,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAElD;;;;;;OAMG;IACH,iBAAiB,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC;IAEpD,gFAAgF;IAChF,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,sBAAsB,GAC9B,qBAAqB,CAuMvB"}
|
|
@@ -24,8 +24,20 @@
|
|
|
24
24
|
* lose, so the tap opens the layer and the next tap outside dismisses it. That
|
|
25
25
|
* is `auto`; `tap` and `none` state the choice outright, which is what an
|
|
26
26
|
* icon-button whose only job is to reveal the layer needs.
|
|
27
|
+
*
|
|
28
|
+
* A touch decides nothing until it is a tap. A finger landing on the trigger
|
|
29
|
+
* may be starting a scroll, a pinch or a long press, and only the browser
|
|
30
|
+
* knows which once the finger moves or lifts. Its `click` is that verdict (on
|
|
31
|
+
* iOS it comes from UIKit's own tap recognizer), so the press only records
|
|
32
|
+
* itself and the tap's `click` opens or closes the layer; a press the browser
|
|
33
|
+
* takes for scrolling ends in `pointercancel` and never gets there. That is
|
|
34
|
+
* how a UIKit tap behaves: it recognizes when the finger lifts and fails once
|
|
35
|
+
* the scroll view claims the touch. The tap outside that closes a tap-opened
|
|
36
|
+
* layer counts when the finger lifts too, or when a scroll takes the touch,
|
|
37
|
+
* which is when UIKit dismisses a popover.
|
|
27
38
|
*/
|
|
28
39
|
import { useCallback, useEffect, useRef } from 'react';
|
|
40
|
+
import { currentGesture } from "./gestureCounter.js";
|
|
29
41
|
import { getInteractionModality, useInteractionModalityTracking } from "../utils/interactionModality.js";
|
|
30
42
|
|
|
31
43
|
/**
|
|
@@ -144,6 +156,9 @@ export function useTouchTrigger(options) {
|
|
|
144
156
|
// pointer-leave, and a controlled one is not ours to close.
|
|
145
157
|
const isTapOpenRef = useRef(false);
|
|
146
158
|
const outsideListenerRef = useRef(null);
|
|
159
|
+
// A touch press on the trigger still waiting for its tap: calling it stops
|
|
160
|
+
// waiting. The next press, a cancel, the tap itself or unmounting calls it.
|
|
161
|
+
const forgetPendingTapRef = useRef(null);
|
|
147
162
|
useInteractionModalityTracking();
|
|
148
163
|
const disarmOutsideDismiss = useCallback(() => {
|
|
149
164
|
isTapOpenRef.current = false;
|
|
@@ -152,22 +167,26 @@ export function useTouchTrigger(options) {
|
|
|
152
167
|
return;
|
|
153
168
|
}
|
|
154
169
|
outsideListenerRef.current = null;
|
|
155
|
-
document.removeEventListener('
|
|
170
|
+
document.removeEventListener('pointerup', listener, true);
|
|
171
|
+
document.removeEventListener('pointercancel', listener, true);
|
|
156
172
|
}, []);
|
|
157
173
|
|
|
158
174
|
// Capture phase, so a trigger that stops propagation cannot strand an open
|
|
159
|
-
// layer.
|
|
160
|
-
//
|
|
175
|
+
// layer. It is armed by the opening tap's `click`, after that tap's own
|
|
176
|
+
// `pointerup`, so the listener never sees the tap that opened the layer.
|
|
177
|
+
// A tap outside counts when it lifts (`pointerup`); a scroll or pinch that
|
|
178
|
+
// starts outside counts as soon as the browser takes it (`pointercancel`).
|
|
161
179
|
const armOutsideDismiss = useCallback(() => {
|
|
162
180
|
isTapOpenRef.current = true;
|
|
163
181
|
if (outsideListenerRef.current != null) {
|
|
164
182
|
return;
|
|
165
183
|
}
|
|
166
|
-
const
|
|
184
|
+
const handleOutsidePointerEnd = event => {
|
|
167
185
|
const target = event.target;
|
|
168
186
|
if (target != null) {
|
|
169
|
-
//
|
|
170
|
-
|
|
187
|
+
// A tap on the trigger is the trigger's to toggle. A scroll that
|
|
188
|
+
// starts there is a scroll outside the layer, and it does close it.
|
|
189
|
+
if (event.type === 'pointerup' && triggerRef.current?.contains(target) === true) {
|
|
171
190
|
return;
|
|
172
191
|
}
|
|
173
192
|
// Hover card content is interactive; a tap inside it is not a dismiss.
|
|
@@ -178,10 +197,12 @@ export function useTouchTrigger(options) {
|
|
|
178
197
|
disarmOutsideDismiss();
|
|
179
198
|
hideRef.current();
|
|
180
199
|
};
|
|
181
|
-
outsideListenerRef.current =
|
|
182
|
-
document.addEventListener('
|
|
200
|
+
outsideListenerRef.current = handleOutsidePointerEnd;
|
|
201
|
+
document.addEventListener('pointerup', handleOutsidePointerEnd, true);
|
|
202
|
+
document.addEventListener('pointercancel', handleOutsidePointerEnd, true);
|
|
183
203
|
}, [triggerRef, disarmOutsideDismiss]);
|
|
184
204
|
useEffect(() => disarmOutsideDismiss, [disarmOutsideDismiss]);
|
|
205
|
+
useEffect(() => () => forgetPendingTapRef.current?.(), []);
|
|
185
206
|
const isTouchInteraction = useCallback(() => isTouchPointerRef.current && getInteractionModality() === 'pointer', []);
|
|
186
207
|
const handlePointerEnter = useCallback(event => {
|
|
187
208
|
// Only a finger is hoverless on arrival. A pen in detection range hovers
|
|
@@ -190,19 +211,18 @@ export function useTouchTrigger(options) {
|
|
|
190
211
|
// presses is a tap, and `handlePointerDown` still reads it as one.
|
|
191
212
|
isTouchPointerRef.current = event.pointerType === 'touch';
|
|
192
213
|
}, []);
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
214
|
+
|
|
215
|
+
// What a tap on the trigger does. It runs from the tap's `click`, after the
|
|
216
|
+
// render that armed it, so it reads the latest props through this ref.
|
|
217
|
+
const answerTapRef = useRef(() => {});
|
|
218
|
+
answerTapRef.current = () => {
|
|
199
219
|
const trigger = triggerRef.current;
|
|
200
220
|
const mode = touchTrigger === 'auto' ? trigger != null && isActionTrigger(trigger) ? 'none' : 'tap' : touchTrigger;
|
|
201
221
|
if (mode === 'none' || !isEnabled) {
|
|
202
222
|
// A layer left open by an earlier tap must not survive the next one.
|
|
203
223
|
disarmOutsideDismiss();
|
|
204
224
|
hide();
|
|
205
|
-
return
|
|
225
|
+
return;
|
|
206
226
|
}
|
|
207
227
|
|
|
208
228
|
// A lazily mounted layer reports `isOpen` a tick after `show()`, so the
|
|
@@ -210,12 +230,47 @@ export function useTouchTrigger(options) {
|
|
|
210
230
|
if (isOpenRef.current || isTapOpenRef.current) {
|
|
211
231
|
disarmOutsideDismiss();
|
|
212
232
|
hide();
|
|
213
|
-
return
|
|
233
|
+
return;
|
|
214
234
|
}
|
|
215
235
|
armOutsideDismiss();
|
|
216
236
|
show();
|
|
237
|
+
};
|
|
238
|
+
const handlePointerDown = useCallback(event => {
|
|
239
|
+
const isTouch = TOUCH_POINTER_TYPES.has(event.pointerType);
|
|
240
|
+
isTouchPointerRef.current = isTouch;
|
|
241
|
+
// A new press replaces one that never became a tap.
|
|
242
|
+
forgetPendingTapRef.current?.();
|
|
243
|
+
if (!isTouch || isControlled) {
|
|
244
|
+
return false;
|
|
245
|
+
}
|
|
246
|
+
const trigger = event.currentTarget instanceof Element ? event.currentTarget : triggerRef.current;
|
|
247
|
+
if (trigger == null) {
|
|
248
|
+
return true;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
// The tap must belong to this press. A key press or a new pointer press
|
|
252
|
+
// advances the gesture, so a keyboard activation that later fires
|
|
253
|
+
// `click` on the trigger (Enter on a button) is not mistaken for it.
|
|
254
|
+
const gesture = currentGesture();
|
|
255
|
+
const forget = () => {
|
|
256
|
+
trigger.removeEventListener('click', handleTap);
|
|
257
|
+
trigger.removeEventListener('pointercancel', forget);
|
|
258
|
+
if (forgetPendingTapRef.current === forget) {
|
|
259
|
+
forgetPendingTapRef.current = null;
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
const handleTap = () => {
|
|
263
|
+
forget();
|
|
264
|
+
if (currentGesture() === gesture) {
|
|
265
|
+
answerTapRef.current();
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
trigger.addEventListener('click', handleTap);
|
|
269
|
+
// The browser took the touch for a scroll or a pinch: no tap is coming.
|
|
270
|
+
trigger.addEventListener('pointercancel', forget);
|
|
271
|
+
forgetPendingTapRef.current = forget;
|
|
217
272
|
return true;
|
|
218
|
-
}, [
|
|
273
|
+
}, [isControlled, triggerRef]);
|
|
219
274
|
|
|
220
275
|
// A layer closed by any other path (Escape, a consumer, the browser) leaves
|
|
221
276
|
// no tap-open to dismiss. Only a true open→closed transition counts: a
|
package/dist/Layout/Layout.d.ts
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* - /packages/cli/assets/templates/blocks/components/Layout/ (showcase blocks)
|
|
14
14
|
*/
|
|
15
15
|
import { type ReactNode } from 'react';
|
|
16
|
-
import type { BaseProps } from '../BaseProps';
|
|
17
|
-
import type { SizeValue, SpacingStep } from '../utils/types';
|
|
16
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
17
|
+
import type { SizeValue, SpacingStep } from '../utils/types.js';
|
|
18
18
|
/**
|
|
19
19
|
* Height behavior for the layout.
|
|
20
20
|
* - `fill`: Layout fills container height, content scrolls internally (default)
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/Layout/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import type { AriaRole, ReactNode } from 'react';
|
|
14
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
-
import type { SpacingStep } from '../utils/types';
|
|
14
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
15
|
+
import type { SpacingStep } from '../utils/types.js';
|
|
16
16
|
export interface LayoutContentProps extends BaseProps<HTMLDivElement> {
|
|
17
17
|
ref?: React.Ref<HTMLDivElement>;
|
|
18
18
|
/**
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/Layout/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import type { AriaRole, ReactNode } from 'react';
|
|
14
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
-
import type { SizeValue, SpacingStep } from '../utils/types';
|
|
14
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
15
|
+
import type { SizeValue, SpacingStep } from '../utils/types.js';
|
|
16
16
|
export interface LayoutFooterProps extends BaseProps<HTMLDivElement> {
|
|
17
17
|
ref?: React.Ref<HTMLDivElement>;
|
|
18
18
|
/**
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/Layout/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import type { AriaRole, ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
16
|
-
import type { SizeValue, SpacingStep } from '../utils/types';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
|
+
import type { SizeValue, SpacingStep } from '../utils/types.js';
|
|
17
17
|
export interface LayoutHeaderProps extends BaseProps<HTMLDivElement> {
|
|
18
18
|
ref?: React.Ref<HTMLDivElement>;
|
|
19
19
|
/**
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/Layout/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import type { AriaRole, ReactNode } from 'react';
|
|
14
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
-
import type { SizeValue, SpacingStep } from '../utils/types';
|
|
16
|
-
import type { ResizableProps } from '../Resizable/useResizable';
|
|
14
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
15
|
+
import type { SizeValue, SpacingStep } from '../utils/types.js';
|
|
16
|
+
import type { ResizableProps } from '../Resizable/useResizable.js';
|
|
17
17
|
export interface LayoutPanelProps extends BaseProps<HTMLDivElement> {
|
|
18
18
|
ref?: React.Ref<HTMLDivElement>;
|
|
19
19
|
/**
|