@astryxdesign/core 0.7.4 → 0.7.5-canary.0026f37
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/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 +2 -2
- 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/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 +5 -5
- 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/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 +20 -11
- 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 +6 -13
- 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/Field/inputDisabledFocus.ts +28 -0
- package/src/Icon/Icon.spec.md +40 -29
- package/src/Layer/modalOutlet.ts +1 -1
- package/src/SideNav/SideNav.test.tsx +15 -6
- package/src/SideNav/SideNavHeading.tsx +41 -0
- 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 +72 -6
- package/src/TextInput/TextInput.tsx +32 -14
- 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/VisuallyHidden/VisuallyHidden.doc.mjs +1 -1
- package/src/VisuallyHidden/VisuallyHidden.test.tsx +39 -0
- package/src/VisuallyHidden/VisuallyHidden.tsx +38 -5
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/AlertDialog/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import React from 'react';
|
|
15
|
-
import { type ButtonVariant } from '../Button';
|
|
16
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
+
import { type ButtonVariant } from '../Button/index.js';
|
|
16
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
17
17
|
export interface AlertDialogProps extends BaseProps<HTMLDialogElement> {
|
|
18
18
|
ref?: React.Ref<HTMLDialogElement>;
|
|
19
19
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AlertDialog } from './AlertDialog';
|
|
2
|
-
export type { AlertDialogProps } from './AlertDialog';
|
|
3
|
-
export { useImperativeAlertDialog } from './useImperativeAlertDialog';
|
|
4
|
-
export type { ImperativeAlertDialogReturn } from './useImperativeAlertDialog';
|
|
1
|
+
export { AlertDialog } from './AlertDialog.js';
|
|
2
|
+
export type { AlertDialogProps } from './AlertDialog.js';
|
|
3
|
+
export { useImperativeAlertDialog } from './useImperativeAlertDialog.js';
|
|
4
|
+
export type { ImperativeAlertDialogReturn } from './useImperativeAlertDialog.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* - /apps/storybook/stories/AlertDialog.stories.tsx
|
|
11
11
|
*/
|
|
12
12
|
import { type ReactNode } from 'react';
|
|
13
|
-
import { type AlertDialogProps } from './AlertDialog';
|
|
13
|
+
import { type AlertDialogProps } from './AlertDialog.js';
|
|
14
14
|
type AlertDialogOptions = Omit<AlertDialogProps, 'isOpen' | 'onOpenChange'>;
|
|
15
15
|
export interface ImperativeAlertDialogReturn {
|
|
16
16
|
/** Show the alert dialog. */
|
|
@@ -15,10 +15,10 @@ import React from 'react';
|
|
|
15
15
|
* - /packages/cli/assets/templates/blocks/components/AppShell/ (showcase blocks)
|
|
16
16
|
*/
|
|
17
17
|
import { type ReactNode } from 'react';
|
|
18
|
-
import type { SpacingStep } from '../utils/types';
|
|
19
|
-
import type { BaseProps } from '../BaseProps';
|
|
20
|
-
import { type WidthBreakpointName } from '../theme/themeAdaptations';
|
|
21
|
-
import type { AppShellVariantMap } from './index';
|
|
18
|
+
import type { SpacingStep } from '../utils/types.js';
|
|
19
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
20
|
+
import { type WidthBreakpointName } from '../theme/themeAdaptations.js';
|
|
21
|
+
import type { AppShellVariantMap } from './index.js';
|
|
22
22
|
/**
|
|
23
23
|
* SideNav breakpoint options. Named points resolve through the nearest Theme;
|
|
24
24
|
* without an active theme they use Astryx's default width-breakpoint map.
|
package/dist/AppShell/index.d.ts
CHANGED
|
@@ -25,8 +25,8 @@ export interface AppShellVariantMap {
|
|
|
25
25
|
section: true;
|
|
26
26
|
elevated: true;
|
|
27
27
|
}
|
|
28
|
-
export { AppShell } from './AppShell';
|
|
29
|
-
export type { AppShellProps, AppShellBreakpoint, AppShellVariant, MobileNavConfig, } from './AppShell';
|
|
30
|
-
export { useAppShellMobile, AppShellMobileContext, } from './AppShellMobileContext';
|
|
31
|
-
export type { AppShellMobileContextValue } from './AppShellMobileContext';
|
|
28
|
+
export { AppShell } from './AppShell.js';
|
|
29
|
+
export type { AppShellProps, AppShellBreakpoint, AppShellVariant, MobileNavConfig, } from './AppShell.js';
|
|
30
|
+
export { useAppShellMobile, AppShellMobileContext, } from './AppShellMobileContext.js';
|
|
31
|
+
export type { AppShellMobileContextValue } from './AppShellMobileContext.js';
|
|
32
32
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/AspectRatio/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import type { ReactNode } from 'react';
|
|
14
|
-
import type { BaseProps } from '../BaseProps';
|
|
14
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
15
15
|
/**
|
|
16
16
|
* The shape of the aspect ratio container.
|
|
17
17
|
* - `rectangle`: standard rectangular container (default).
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/core/src/AspectRatio/AspectRatio.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { AspectRatio } from './AspectRatio';
|
|
10
|
-
export type { AspectRatioProps, AspectRatioShape, AspectRatioFit, } from './AspectRatio';
|
|
9
|
+
export { AspectRatio } from './AspectRatio.js';
|
|
10
|
+
export type { AspectRatioProps, AspectRatioShape, AspectRatioFit, } from './AspectRatio.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Avatar/Avatar.d.ts
CHANGED
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
* Last synced props: alt, fallbackSrc, name, size, src, status, href, as, target, rel, onClick
|
|
16
16
|
*/
|
|
17
17
|
import { type ReactNode } from 'react';
|
|
18
|
-
import type { BaseProps } from '../BaseProps';
|
|
18
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
19
19
|
import * as stylex from '@stylexjs/stylex';
|
|
20
|
-
import type { LinkComponentType } from '../Link/types';
|
|
20
|
+
import type { LinkComponentType } from '../Link/types.js';
|
|
21
21
|
/**
|
|
22
22
|
* Named size options.
|
|
23
23
|
*
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/Avatar/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import React, { type ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
16
|
-
import type { AvatarStatusDotVariantMap } from './index';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
|
+
import type { AvatarStatusDotVariantMap } from './index.js';
|
|
17
17
|
/**
|
|
18
18
|
* AvatarStatusDot variant type. Extensible via module augmentation of AvatarStatusDotVariantMap.
|
|
19
19
|
*/
|
package/dist/Avatar/index.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export interface AvatarStatusDotVariantMap {
|
|
|
31
31
|
neutral: true;
|
|
32
32
|
error: true;
|
|
33
33
|
}
|
|
34
|
-
export { Avatar, resolveSize } from './Avatar';
|
|
35
|
-
export type { AvatarProps, AvatarSize, AvatarShape } from './Avatar';
|
|
36
|
-
export { AvatarStatusDot } from './AvatarStatusDot';
|
|
37
|
-
export type { AvatarStatusDotProps, AvatarStatusDotVariant, } from './AvatarStatusDot';
|
|
34
|
+
export { Avatar, resolveSize } from './Avatar.js';
|
|
35
|
+
export type { AvatarProps, AvatarSize, AvatarShape } from './Avatar.js';
|
|
36
|
+
export { AvatarStatusDot } from './AvatarStatusDot.js';
|
|
37
|
+
export type { AvatarStatusDotProps, AvatarStatusDotVariant, } from './AvatarStatusDot.js';
|
|
38
38
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* - /packages/cli/assets/templates/blocks/components/AvatarGroup/ (showcase blocks)
|
|
23
23
|
*/
|
|
24
24
|
import { type ReactNode } from 'react';
|
|
25
|
-
import type { BaseProps } from '../BaseProps';
|
|
26
|
-
import { type AvatarShape, type AvatarSize } from '../Avatar';
|
|
25
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
26
|
+
import { type AvatarShape, type AvatarSize } from '../Avatar/index.js';
|
|
27
27
|
export interface AvatarGroupProps extends BaseProps<HTMLDivElement> {
|
|
28
28
|
/** Ref forwarded to the root element. */
|
|
29
29
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/AvatarGroup/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import React, { type ReactNode } from 'react';
|
|
14
|
-
import type { BaseProps } from '../BaseProps';
|
|
14
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
15
15
|
export interface AvatarGroupOverflowProps extends Omit<BaseProps<HTMLElement>, 'onClick'> {
|
|
16
16
|
ref?: React.Ref<HTMLElement>;
|
|
17
17
|
/**
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/AvatarGroup/AvatarGroup.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { AvatarGroup } from './AvatarGroup';
|
|
10
|
-
export type { AvatarGroupProps } from './AvatarGroup';
|
|
11
|
-
export { AvatarGroupOverflow } from './AvatarGroupOverflow';
|
|
12
|
-
export type { AvatarGroupOverflowProps } from './AvatarGroupOverflow';
|
|
13
|
-
export { useAvatarGroup } from './AvatarGroupContext';
|
|
14
|
-
export type { AvatarGroupContextValue } from './AvatarGroupContext';
|
|
9
|
+
export { AvatarGroup } from './AvatarGroup.js';
|
|
10
|
+
export type { AvatarGroupProps } from './AvatarGroup.js';
|
|
11
|
+
export { AvatarGroupOverflow } from './AvatarGroupOverflow.js';
|
|
12
|
+
export type { AvatarGroupOverflowProps } from './AvatarGroupOverflow.js';
|
|
13
|
+
export { useAvatarGroup } from './AvatarGroupContext.js';
|
|
14
|
+
export type { AvatarGroupContextValue } from './AvatarGroupContext.js';
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Badge/Badge.d.ts
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/Badge/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import type { ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
16
|
-
import type { BadgeVariantMap } from './index';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
|
+
import type { BadgeVariantMap } from './index.js';
|
|
17
17
|
/**
|
|
18
18
|
* Badge variant type derived from BadgeVariantMap.
|
|
19
19
|
* Extensible via module augmentation of BadgeVariantMap.
|
package/dist/Badge/index.d.ts
CHANGED
|
@@ -35,6 +35,6 @@ export interface BadgeVariantMap {
|
|
|
35
35
|
teal: true;
|
|
36
36
|
yellow: true;
|
|
37
37
|
}
|
|
38
|
-
export { Badge } from './Badge';
|
|
39
|
-
export type { BadgeProps, BadgeVariant } from './Badge';
|
|
38
|
+
export { Badge } from './Badge.js';
|
|
39
|
+
export type { BadgeProps, BadgeVariant } from './Badge.js';
|
|
40
40
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Banner/Banner.d.ts
CHANGED
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
* - /packages/cli/assets/templates/blocks/components/Banner/ (showcase blocks)
|
|
47
47
|
*/
|
|
48
48
|
import { type ReactNode } from 'react';
|
|
49
|
-
import type { BaseProps } from '../BaseProps';
|
|
50
|
-
import type { CollapsibleConfig } from '../Collapsible/useCollapsible';
|
|
51
|
-
import type { Elevation } from '../utils/types';
|
|
52
|
-
import type { BannerStatusMap, BannerContainerMap } from './index';
|
|
49
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
50
|
+
import type { CollapsibleConfig } from '../Collapsible/useCollapsible.js';
|
|
51
|
+
import type { Elevation } from '../utils/types.js';
|
|
52
|
+
import type { BannerStatusMap, BannerContainerMap } from './index.js';
|
|
53
53
|
/**
|
|
54
54
|
* Status type controlling the banner's icon and color.
|
|
55
55
|
* Extensible via module augmentation of BannerStatusMap.
|
package/dist/Banner/index.d.ts
CHANGED
|
@@ -46,6 +46,6 @@ export interface BannerStatusMap {
|
|
|
46
46
|
error: true;
|
|
47
47
|
success: true;
|
|
48
48
|
}
|
|
49
|
-
export { Banner } from './Banner';
|
|
50
|
-
export type { BannerProps, BannerStatus, BannerContainer } from './Banner';
|
|
49
|
+
export { Banner } from './Banner.js';
|
|
50
|
+
export type { BannerProps, BannerStatus, BannerContainer } from './Banner.js';
|
|
51
51
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/Blockquote/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import type { ReactNode } from 'react';
|
|
14
|
-
import type { BaseProps } from '../BaseProps';
|
|
14
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
15
15
|
export interface BlockquoteProps extends BaseProps<HTMLQuoteElement> {
|
|
16
16
|
/** Ref forwarded to the root <blockquote> element */
|
|
17
17
|
ref?: React.Ref<HTMLQuoteElement>;
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/core/src/Blockquote/Blockquote.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Blockquote } from './Blockquote';
|
|
10
|
-
export type { BlockquoteProps } from './Blockquote';
|
|
9
|
+
export { Blockquote } from './Blockquote.js';
|
|
10
|
+
export type { BlockquoteProps } from './Blockquote.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file BottomSheet.tsx
|
|
3
|
-
* @input Uses React, StyleX, core hooks, shared layer dismissal, the shared interaction modality, named BottomSheetPanel, BottomSheetSwitcherContext
|
|
3
|
+
* @input Uses React, StyleX, core hooks, shared layer dismissal, the modal outlet registry, the shared interaction modality, named BottomSheetPanel, BottomSheetSwitcherContext
|
|
4
4
|
* @output Exports BottomSheet component and BottomSheetProps
|
|
5
5
|
* @position Public BottomSheet router plus private standalone/switcher hosts
|
|
6
6
|
*
|
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
* in a switcher, handing one scrim between two dialogs and keeping focus in
|
|
24
24
|
* the active sheet when a retained dialog closes.
|
|
25
25
|
*
|
|
26
|
+
* While a standalone modal sheet is open, its dialog is the outlet that
|
|
27
|
+
* app-global surfaces (toasts) render into (Layer/modalOutlet.ts).
|
|
28
|
+
*
|
|
26
29
|
* SYNC: When modified, update these files to stay in sync:
|
|
27
30
|
* - /packages/core/src/BottomSheet/BottomSheetPanel.tsx
|
|
28
31
|
* - /packages/core/src/BottomSheet/BottomSheetEdgeTint.tsx
|
|
@@ -32,15 +35,16 @@
|
|
|
32
35
|
* - /packages/core/src/BottomSheet/BottomSheetSwitcher.test.tsx
|
|
33
36
|
* - /packages/core/src/Layer/layerDismissalFamilies.test.tsx
|
|
34
37
|
* - /packages/core/src/Layer/layerDismissalInvariants.test.tsx
|
|
38
|
+
* - /packages/core/src/Toast/ToastViewport.modalHost.test.tsx
|
|
35
39
|
* - /apps/storybook/stories/BottomSheet.stories.tsx
|
|
36
40
|
* - /packages/cli/assets/templates/blocks/components/BottomSheet/BottomSheetShowcase.tsx
|
|
37
41
|
*/
|
|
38
42
|
import { type RefObject, type ReactNode } from 'react';
|
|
39
|
-
import type { BaseProps } from '../BaseProps';
|
|
40
|
-
import type { DialogPurpose } from '../Dialog';
|
|
41
|
-
import type { SpacingStep } from '../utils/types';
|
|
42
|
-
export type { BottomSheetHeight, BottomSheetSnapPoint } from './BottomSheetPanel';
|
|
43
|
-
import type { BottomSheetHeight, BottomSheetSnapPoint } from './BottomSheetPanel';
|
|
43
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
44
|
+
import type { DialogPurpose } from '../Dialog/index.js';
|
|
45
|
+
import type { SpacingStep } from '../utils/types.js';
|
|
46
|
+
export type { BottomSheetHeight, BottomSheetSnapPoint } from './BottomSheetPanel.js';
|
|
47
|
+
import type { BottomSheetHeight, BottomSheetSnapPoint } from './BottomSheetPanel.js';
|
|
44
48
|
interface BottomSheetSharedProps extends BaseProps<HTMLDivElement> {
|
|
45
49
|
/** Ref forwarded to the visual sheet panel <div>. */
|
|
46
50
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../src/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AAIA
|
|
1
|
+
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../src/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,OAAO,EAOL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAqBhD,YAAY,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AAChF,OAAO,KAAK,EAAC,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AA2FhF,UAAU,sBAAuB,SAAQ,SAAS,CAAC,cAAc,CAAC;IAChE,qDAAqD;IACrD,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAEhC,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IAEd,0EAA0E;IAC1E,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB,wGAAwG;IACxG,MAAM,CAAC,EAAE,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;IAE7C;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;IAEjD;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,UAAU,0BAA2B,SAAQ,sBAAsB;IACjE,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB;AAED,UAAU,wBAAyB,SAAQ,sBAAsB;IAC/D,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,MAAM,MAAM,gBAAgB,GAC1B,0BAA0B,GAAG,wBAAwB,CAAC;AAukBxD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BA6BlD;yBA7Be,WAAW"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @file BottomSheet.tsx
|
|
7
|
-
* @input Uses React, StyleX, core hooks, shared layer dismissal, the shared interaction modality, named BottomSheetPanel, BottomSheetSwitcherContext
|
|
7
|
+
* @input Uses React, StyleX, core hooks, shared layer dismissal, the modal outlet registry, the shared interaction modality, named BottomSheetPanel, BottomSheetSwitcherContext
|
|
8
8
|
* @output Exports BottomSheet component and BottomSheetProps
|
|
9
9
|
* @position Public BottomSheet router plus private standalone/switcher hosts
|
|
10
10
|
*
|
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
* in a switcher, handing one scrim between two dialogs and keeping focus in
|
|
28
28
|
* the active sheet when a retained dialog closes.
|
|
29
29
|
*
|
|
30
|
+
* While a standalone modal sheet is open, its dialog is the outlet that
|
|
31
|
+
* app-global surfaces (toasts) render into (Layer/modalOutlet.ts).
|
|
32
|
+
*
|
|
30
33
|
* SYNC: When modified, update these files to stay in sync:
|
|
31
34
|
* - /packages/core/src/BottomSheet/BottomSheetPanel.tsx
|
|
32
35
|
* - /packages/core/src/BottomSheet/BottomSheetEdgeTint.tsx
|
|
@@ -36,6 +39,7 @@
|
|
|
36
39
|
* - /packages/core/src/BottomSheet/BottomSheetSwitcher.test.tsx
|
|
37
40
|
* - /packages/core/src/Layer/layerDismissalFamilies.test.tsx
|
|
38
41
|
* - /packages/core/src/Layer/layerDismissalInvariants.test.tsx
|
|
42
|
+
* - /packages/core/src/Toast/ToastViewport.modalHost.test.tsx
|
|
39
43
|
* - /apps/storybook/stories/BottomSheet.stories.tsx
|
|
40
44
|
* - /packages/cli/assets/templates/blocks/components/BottomSheet/BottomSheetShowcase.tsx
|
|
41
45
|
*/
|
|
@@ -46,6 +50,7 @@ import { colorVars, durationVars, easeVars } from "../theme/tokens.stylex.js";
|
|
|
46
50
|
import { useDevWarning, useScrollLock } from "../hooks/index.js";
|
|
47
51
|
import { mergeProps } from "../utils/index.js";
|
|
48
52
|
import { LayerDepthProvider } from "../Layer/LayerDepthContext.js";
|
|
53
|
+
import { useModalOutlet } from "../Layer/modalOutlet.js";
|
|
49
54
|
import { useLayerDismissal } from "../Layer/useLayerDismissal.js";
|
|
50
55
|
import { focusForLastInput } from "../utils/focusReturn.js";
|
|
51
56
|
import { useInteractionModalityTracking } from "../utils/interactionModality.js";
|
|
@@ -253,6 +258,12 @@ function StandaloneBottomSheet({
|
|
|
253
258
|
focusPanel(panelRef.current, hasScrim);
|
|
254
259
|
}
|
|
255
260
|
}, [hasScrim, isOpen]);
|
|
261
|
+
|
|
262
|
+
// Host app-global surfaces (toasts) inside this sheet while it is an open
|
|
263
|
+
// modal, so they stay visible and operable above it. A closing sheet stays
|
|
264
|
+
// modal through its exit animation, but inert and hidden, so it hands them
|
|
265
|
+
// back as soon as it starts closing.
|
|
266
|
+
useModalOutlet(dialogRef, isOpen && hasScrim);
|
|
256
267
|
useEffect(() => {
|
|
257
268
|
if (!isOpen && isPresented && hasScrim) {
|
|
258
269
|
handleScrimOpacity(0);
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
* - /packages/core/src/Layout/container.stylex.ts (bottom-sheet padding chain)
|
|
20
20
|
*/
|
|
21
21
|
import { type ReactNode } from 'react';
|
|
22
|
-
import type { BaseProps } from '../BaseProps';
|
|
23
|
-
import type { SpacingStep } from '../utils/types';
|
|
24
|
-
import { type BottomSheetSnapPoint } from './snapOffsets';
|
|
22
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
23
|
+
import type { SpacingStep } from '../utils/types.js';
|
|
24
|
+
import { type BottomSheetSnapPoint } from './snapOffsets.js';
|
|
25
25
|
declare const HEIGHT_BUDGETS: {
|
|
26
26
|
readonly hug: "92dvh";
|
|
27
27
|
readonly capped: "62dvh";
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
* - /packages/cli/assets/templates/blocks/components/BottomSheet/BottomSheetSwitcherShowcase.tsx
|
|
51
51
|
*/
|
|
52
52
|
import { type ReactNode, type SyntheticEvent } from 'react';
|
|
53
|
-
import type { BaseProps } from '../BaseProps';
|
|
53
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
54
54
|
export interface BottomSheetSwitcherProps extends BaseProps<HTMLDialogElement> {
|
|
55
55
|
/**
|
|
56
56
|
* Ref resolved to the native dialog hosting the flow: the active sheet's
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* down to those sheet hosts.
|
|
11
11
|
*/
|
|
12
12
|
import type { KeyboardEvent as ReactKeyboardEvent, MouseEvent as ReactMouseEvent, SyntheticEvent } from 'react';
|
|
13
|
-
import type { BaseProps } from '../BaseProps';
|
|
14
|
-
import type { DialogPurpose } from '../Dialog';
|
|
13
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
14
|
+
import type { DialogPurpose } from '../Dialog/index.js';
|
|
15
15
|
export type BottomSheetSwitcherPhase = 'entering' | 'active' | 'covered' | 'aligning' | 'fading' | 'exiting' | 'hidden';
|
|
16
16
|
export interface BottomSheetSwitcherTransitionEvent {
|
|
17
17
|
sheetId: string;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* @output Re-exports the BottomSheet public API
|
|
5
5
|
* @position Component entry point; re-exported by /packages/core/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { BottomSheet } from './BottomSheet';
|
|
8
|
-
export type { BottomSheetHeight, BottomSheetProps, BottomSheetSnapPoint, } from './BottomSheet';
|
|
9
|
-
export { BottomSheetSwitcher } from './BottomSheetSwitcher';
|
|
10
|
-
export type { BottomSheetSwitcherProps } from './BottomSheetSwitcher';
|
|
7
|
+
export { BottomSheet } from './BottomSheet.js';
|
|
8
|
+
export type { BottomSheetHeight, BottomSheetProps, BottomSheetSnapPoint, } from './BottomSheet.js';
|
|
9
|
+
export { BottomSheetSwitcher } from './BottomSheetSwitcher.js';
|
|
10
|
+
export type { BottomSheetSwitcherProps } from './BottomSheetSwitcher.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
* - /packages/cli/assets/templates/blocks/components/Breadcrumbs/ (showcase blocks)
|
|
20
20
|
*/
|
|
21
21
|
import React, { type ReactNode, type MouseEvent } from 'react';
|
|
22
|
-
import type { LinkComponentType } from '../Link/types';
|
|
23
|
-
import type { BaseProps } from '../BaseProps';
|
|
24
|
-
import { type DropdownMenuSize } from '../DropdownMenu/DropdownMenuContext';
|
|
25
|
-
import type { DropdownMenuOption } from '../DropdownMenu/DropdownMenu';
|
|
22
|
+
import type { LinkComponentType } from '../Link/types.js';
|
|
23
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
24
|
+
import { type DropdownMenuSize } from '../DropdownMenu/DropdownMenuContext.js';
|
|
25
|
+
import type { DropdownMenuOption } from '../DropdownMenu/DropdownMenu.js';
|
|
26
26
|
export interface BreadcrumbItemProps extends Omit<BaseProps<HTMLLIElement>, 'onClick'> {
|
|
27
27
|
ref?: React.Ref<HTMLLIElement>;
|
|
28
28
|
/**
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/Breadcrumbs/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import { type ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
16
|
-
import type { BreadcrumbsVariantMap } from './index';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
|
+
import type { BreadcrumbsVariantMap } from './index.js';
|
|
17
17
|
/**
|
|
18
18
|
* Visual variant for the breadcrumb trail.
|
|
19
19
|
* - `'default'`: Standard text styling
|
|
@@ -18,16 +18,16 @@ export interface BreadcrumbsVariantMap {
|
|
|
18
18
|
default: true;
|
|
19
19
|
supporting: true;
|
|
20
20
|
}
|
|
21
|
-
export { Breadcrumbs } from './Breadcrumbs';
|
|
22
|
-
export type { BreadcrumbsProps, BreadcrumbsVariant } from './Breadcrumbs';
|
|
23
|
-
export { BreadcrumbItem } from './BreadcrumbItem';
|
|
24
|
-
export type { BreadcrumbItemProps } from './BreadcrumbItem';
|
|
25
|
-
export { DropdownMenuItem as BreadcrumbMenuItem, type DropdownMenuItemProps as BreadcrumbMenuItemProps, } from '../DropdownMenu/DropdownMenuItem';
|
|
26
|
-
export { DropdownMenuDivider as BreadcrumbMenuDivider, type DropdownMenuDividerProps as BreadcrumbMenuDividerProps, } from '../DropdownMenu/DropdownMenuDivider';
|
|
27
|
-
export { DropdownMenuGroup as BreadcrumbMenuGroup, type DropdownMenuGroupProps as BreadcrumbMenuGroupProps, } from '../DropdownMenu/DropdownMenuGroup';
|
|
28
|
-
export { DropdownMenuCheckboxItem as BreadcrumbMenuCheckboxItem, type DropdownMenuCheckboxItemProps as BreadcrumbMenuCheckboxItemProps, } from '../DropdownMenu/DropdownMenuCheckboxItem';
|
|
29
|
-
export { DropdownMenuRadioGroup as BreadcrumbMenuRadioGroup, type DropdownMenuRadioGroupProps as BreadcrumbMenuRadioGroupProps, } from '../DropdownMenu/DropdownMenuRadioGroup';
|
|
30
|
-
export { DropdownMenuRadioItem as BreadcrumbMenuRadioItem, type DropdownMenuRadioItemProps as BreadcrumbMenuRadioItemProps, } from '../DropdownMenu/DropdownMenuRadioItem';
|
|
31
|
-
export { DropdownMenuSubMenu as BreadcrumbMenuSubMenu, type DropdownMenuSubMenuProps as BreadcrumbMenuSubMenuProps, } from '../DropdownMenu/DropdownMenuSubMenu';
|
|
32
|
-
export type { DropdownMenuOption as BreadcrumbMenuOption, DropdownMenuItemData as BreadcrumbMenuItemData, DropdownMenuDividerData as BreadcrumbMenuDividerData, DropdownMenuSection as BreadcrumbMenuSection, } from '../DropdownMenu/DropdownMenu';
|
|
21
|
+
export { Breadcrumbs } from './Breadcrumbs.js';
|
|
22
|
+
export type { BreadcrumbsProps, BreadcrumbsVariant } from './Breadcrumbs.js';
|
|
23
|
+
export { BreadcrumbItem } from './BreadcrumbItem.js';
|
|
24
|
+
export type { BreadcrumbItemProps } from './BreadcrumbItem.js';
|
|
25
|
+
export { DropdownMenuItem as BreadcrumbMenuItem, type DropdownMenuItemProps as BreadcrumbMenuItemProps, } from '../DropdownMenu/DropdownMenuItem.js';
|
|
26
|
+
export { DropdownMenuDivider as BreadcrumbMenuDivider, type DropdownMenuDividerProps as BreadcrumbMenuDividerProps, } from '../DropdownMenu/DropdownMenuDivider.js';
|
|
27
|
+
export { DropdownMenuGroup as BreadcrumbMenuGroup, type DropdownMenuGroupProps as BreadcrumbMenuGroupProps, } from '../DropdownMenu/DropdownMenuGroup.js';
|
|
28
|
+
export { DropdownMenuCheckboxItem as BreadcrumbMenuCheckboxItem, type DropdownMenuCheckboxItemProps as BreadcrumbMenuCheckboxItemProps, } from '../DropdownMenu/DropdownMenuCheckboxItem.js';
|
|
29
|
+
export { DropdownMenuRadioGroup as BreadcrumbMenuRadioGroup, type DropdownMenuRadioGroupProps as BreadcrumbMenuRadioGroupProps, } from '../DropdownMenu/DropdownMenuRadioGroup.js';
|
|
30
|
+
export { DropdownMenuRadioItem as BreadcrumbMenuRadioItem, type DropdownMenuRadioItemProps as BreadcrumbMenuRadioItemProps, } from '../DropdownMenu/DropdownMenuRadioItem.js';
|
|
31
|
+
export { DropdownMenuSubMenu as BreadcrumbMenuSubMenu, type DropdownMenuSubMenuProps as BreadcrumbMenuSubMenuProps, } from '../DropdownMenu/DropdownMenuSubMenu.js';
|
|
32
|
+
export type { DropdownMenuOption as BreadcrumbMenuOption, DropdownMenuItemData as BreadcrumbMenuItemData, DropdownMenuDividerData as BreadcrumbMenuDividerData, DropdownMenuSection as BreadcrumbMenuSection, } from '../DropdownMenu/DropdownMenu.js';
|
|
33
33
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
* Last synced props: label, variant, size, isDisabled, isLoading, isInterruptible, clickAction, icon, isIconOnly, width, children, tooltip, endContent, href, as, target, rel
|
|
15
15
|
*/
|
|
16
16
|
import { type ReactNode } from 'react';
|
|
17
|
-
import type { BaseProps } from '../BaseProps';
|
|
18
|
-
import type { Elevation, SizeValue } from '../utils/types';
|
|
17
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
18
|
+
import type { Elevation, SizeValue } from '../utils/types.js';
|
|
19
19
|
import * as stylex from '@stylexjs/stylex';
|
|
20
|
-
import type { LinkComponentType } from '../Link/types';
|
|
21
|
-
import type { ButtonVariantMap } from './index';
|
|
20
|
+
import type { LinkComponentType } from '../Link/types.js';
|
|
21
|
+
import type { ButtonVariantMap } from './index.js';
|
|
22
22
|
declare const sizeStyles: Readonly<{
|
|
23
23
|
readonly sm: Readonly<{
|
|
24
24
|
readonly height: stylex.StyleXClassNameFor<"height", "28px">;
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -25,6 +25,6 @@ export interface ButtonVariantMap {
|
|
|
25
25
|
ghost: true;
|
|
26
26
|
destructive: true;
|
|
27
27
|
}
|
|
28
|
-
export { Button } from './Button';
|
|
29
|
-
export type { ButtonProps, ButtonVariant, ButtonSize } from './Button';
|
|
28
|
+
export { Button } from './Button.js';
|
|
29
|
+
export type { ButtonProps, ButtonVariant, ButtonSize } from './Button.js';
|
|
30
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
* - /packages/cli/assets/templates/blocks/components/ButtonGroup/ (showcase blocks)
|
|
18
18
|
*/
|
|
19
19
|
import { type ReactNode } from 'react';
|
|
20
|
-
import type { ButtonSize } from '../Button';
|
|
21
|
-
import type { Elevation } from '../utils/types';
|
|
22
|
-
import type { BaseProps } from '../BaseProps';
|
|
23
|
-
import type { ButtonGroupOrientation } from './ButtonGroupContext';
|
|
20
|
+
import type { ButtonSize } from '../Button/index.js';
|
|
21
|
+
import type { Elevation } from '../utils/types.js';
|
|
22
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
23
|
+
import type { ButtonGroupOrientation } from './ButtonGroupContext.js';
|
|
24
24
|
export interface ButtonGroupProps extends BaseProps<HTMLDivElement> {
|
|
25
25
|
/** Ref forwarded to the root element. */
|
|
26
26
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* @output Exports ButtonGroup, context hook, and types
|
|
5
5
|
* @position Component entry point; re-exported by /packages/core/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { ButtonGroup } from './ButtonGroup';
|
|
8
|
-
export type { ButtonGroupProps } from './ButtonGroup';
|
|
9
|
-
export { useButtonGroup } from './ButtonGroupContext';
|
|
10
|
-
export type { ButtonGroupOrientation, ButtonGroupContextValue, } from './ButtonGroupContext';
|
|
7
|
+
export { ButtonGroup } from './ButtonGroup.js';
|
|
8
|
+
export type { ButtonGroupProps } from './ButtonGroup.js';
|
|
9
|
+
export { useButtonGroup } from './ButtonGroupContext.js';
|
|
10
|
+
export type { ButtonGroupOrientation, ButtonGroupContextValue, } from './ButtonGroupContext.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BaseProps } from '../BaseProps';
|
|
2
|
-
export type { ISODateString, DayOfWeek, DayOfWeekName, DateRange, } from '../utils/dateTypes';
|
|
3
|
-
import type { ISODateString, DayOfWeek, DayOfWeekName, DateRange } from '../utils/dateTypes';
|
|
1
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
2
|
+
export type { ISODateString, DayOfWeek, DayOfWeekName, DateRange, } from '../utils/dateTypes.js';
|
|
3
|
+
import type { ISODateString, DayOfWeek, DayOfWeekName, DateRange } from '../utils/dateTypes.js';
|
|
4
4
|
/** Imperative handle for Calendar handleRef */
|
|
5
5
|
export interface CalendarHandle {
|
|
6
6
|
/** Navigate the calendar to show the month containing the given date */
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* - /packages/core/src/Calendar/getInitialFocusDate.test.ts
|
|
9
9
|
* - /packages/core/src/Calendar/Calendar.tsx (the only caller)
|
|
10
10
|
*/
|
|
11
|
-
import type { ISODateString, DateRange } from '../utils/dateTypes';
|
|
12
|
-
import { type PlainDate } from '../utils/plainDate';
|
|
11
|
+
import type { ISODateString, DateRange } from '../utils/dateTypes.js';
|
|
12
|
+
import { type PlainDate } from '../utils/plainDate.js';
|
|
13
13
|
export interface InitialFocusDateOptions {
|
|
14
14
|
/** Controlled visible month, if the consumer supplied one. */
|
|
15
15
|
focusDate?: ISODateString;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @output Private locale resolver for Calendar weekday headers
|
|
5
5
|
* @position Calendar-internal pure utility; not exported from the package
|
|
6
6
|
*/
|
|
7
|
-
import { type StandaloneShortWeekdayNames } from './standaloneShortWeekdayNames.generated';
|
|
7
|
+
import { type StandaloneShortWeekdayNames } from './standaloneShortWeekdayNames.generated.js';
|
|
8
8
|
/**
|
|
9
9
|
* Resolve generated weekday reference data as exact locale -> language -> English.
|
|
10
10
|
* Unicode extensions are ignored through Intl.Locale.baseName. Invalid tags and
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header
|
|
8
8
|
*/
|
|
9
|
-
export { useCalendarDays } from './useCalendarDays';
|
|
10
|
-
export type { CalendarDay, UseCalendarDaysOptions, UseCalendarDaysReturn, } from './useCalendarDays';
|
|
11
|
-
export { useCalendarConstraints } from './useCalendarConstraints';
|
|
12
|
-
export type { UseCalendarConstraintsOptions, UseCalendarConstraintsReturn, } from './useCalendarConstraints';
|
|
13
|
-
export { useCalendarNavigation } from './useCalendarNavigation';
|
|
14
|
-
export type { UseCalendarNavigationOptions, UseCalendarNavigationReturn, } from './useCalendarNavigation';
|
|
9
|
+
export { useCalendarDays } from './useCalendarDays.js';
|
|
10
|
+
export type { CalendarDay, UseCalendarDaysOptions, UseCalendarDaysReturn, } from './useCalendarDays.js';
|
|
11
|
+
export { useCalendarConstraints } from './useCalendarConstraints.js';
|
|
12
|
+
export type { UseCalendarConstraintsOptions, UseCalendarConstraintsReturn, } from './useCalendarConstraints.js';
|
|
13
|
+
export { useCalendarNavigation } from './useCalendarNavigation.js';
|
|
14
|
+
export type { UseCalendarNavigationOptions, UseCalendarNavigationReturn, } from './useCalendarNavigation.js';
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ISODateString } from '../../utils/dateTypes';
|
|
2
|
-
import { type PlainDate } from '../../utils/plainDate';
|
|
1
|
+
import type { ISODateString } from '../../utils/dateTypes.js';
|
|
2
|
+
import { type PlainDate } from '../../utils/plainDate.js';
|
|
3
3
|
/**
|
|
4
4
|
* Configuration for date constraints
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DayOfWeek, ISODateString } from '../../utils/dateTypes';
|
|
2
|
-
import { type PlainDate } from '../../utils/plainDate';
|
|
1
|
+
import type { DayOfWeek, ISODateString } from '../../utils/dateTypes.js';
|
|
2
|
+
import { type PlainDate } from '../../utils/plainDate.js';
|
|
3
3
|
/**
|
|
4
4
|
* Represents a single day in the calendar grid.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ISODateString } from '../../utils/dateTypes';
|
|
2
|
-
import { type PlainDate } from '../../utils/plainDate';
|
|
1
|
+
import type { ISODateString } from '../../utils/dateTypes.js';
|
|
2
|
+
import { type PlainDate } from '../../utils/plainDate.js';
|
|
3
3
|
/**
|
|
4
4
|
* Configuration for calendar navigation
|
|
5
5
|
*/
|