@astryxdesign/core 0.7.4 → 0.7.5-canary.07605c2
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 +8 -8
- package/dist/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/NumberInput/NumberInput.js +39 -14
- 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/NumberInput/NumberInput.doc.mjs +6 -6
- package/src/NumberInput/NumberInput.test.tsx +126 -14
- package/src/NumberInput/NumberInput.tsx +62 -16
- 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/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
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* @position Internal presentation controller shared by Selector and MultiSelector
|
|
6
6
|
*/
|
|
7
7
|
import { type FocusEvent, type RefObject } from 'react';
|
|
8
|
-
import { type UsePopoverOptions, type UsePopoverReturn } from '../Popover/usePopover';
|
|
9
|
-
import { type AdaptivePresentation, type ResolvedAdaptivePresentation } from '../hooks/useAdaptivePresentation';
|
|
8
|
+
import { type UsePopoverOptions, type UsePopoverReturn } from '../Popover/usePopover.js';
|
|
9
|
+
import { type AdaptivePresentation, type ResolvedAdaptivePresentation } from '../hooks/useAdaptivePresentation.js';
|
|
10
10
|
interface UseSelectorPresentationOptions {
|
|
11
11
|
presentation: AdaptivePresentation;
|
|
12
12
|
onHide: () => void;
|
package/dist/Selector/utils.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @output Utility functions for Selector
|
|
4
4
|
* @position Utilities; used by Selector.tsx
|
|
5
5
|
*/
|
|
6
|
-
import type { SelectorOptionType, SelectorOptionData, SelectorDivider, SelectorSection } from './types';
|
|
6
|
+
import type { SelectorOptionType, SelectorOptionData, SelectorDivider, SelectorSection } from './types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Type guard: check if option is a selectable option (string or OptionData)
|
|
9
9
|
*/
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
* - /packages/cli/assets/templates/blocks/components/SideNav/ (showcase blocks)
|
|
19
19
|
*/
|
|
20
20
|
import { type ReactNode } from 'react';
|
|
21
|
-
import type { BaseProps } from '../BaseProps';
|
|
21
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
22
22
|
import type { StyleXStyles } from '@stylexjs/stylex';
|
|
23
|
-
import { type SideNavCollapsibleConfig, type SideNavImperativeCollapseHandle } from './SideNavCollapseContext';
|
|
24
|
-
import type { ResizableConfig } from '../Resizable/useResizable';
|
|
23
|
+
import { type SideNavCollapsibleConfig, type SideNavImperativeCollapseHandle } from './SideNavCollapseContext.js';
|
|
24
|
+
import type { ResizableConfig } from '../Resizable/useResizable.js';
|
|
25
25
|
export interface SideNavProps extends BaseProps<HTMLElement> {
|
|
26
26
|
/** Ref forwarded to the root element */
|
|
27
27
|
ref?: React.Ref<HTMLElement>;
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
* - /packages/cli/assets/templates/blocks/components/SideNav/ (showcase blocks)
|
|
14
14
|
*/
|
|
15
15
|
import React, { type ReactNode } from 'react';
|
|
16
|
-
import type { BaseProps } from '../BaseProps';
|
|
17
|
-
import { type SideNavControlledCollapsible, type SideNavImperativeCollapseHandle } from './SideNavCollapseContext';
|
|
18
|
-
import type { ElementSize } from '../SizeContext/SizeContext';
|
|
16
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
17
|
+
import { type SideNavControlledCollapsible, type SideNavImperativeCollapseHandle } from './SideNavCollapseContext.js';
|
|
18
|
+
import type { ElementSize } from '../SizeContext/SizeContext.js';
|
|
19
19
|
export interface SideNavCollapseButtonProps extends BaseProps<HTMLButtonElement> {
|
|
20
20
|
ref?: React.Ref<HTMLButtonElement>;
|
|
21
21
|
/**
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
* - /packages/cli/assets/templates/blocks/components/SideNav/ (showcase blocks)
|
|
17
17
|
*/
|
|
18
18
|
import { type ReactNode } from 'react';
|
|
19
|
-
import type { LinkComponentType } from '../Link/types';
|
|
20
|
-
import type { BaseProps } from '../BaseProps';
|
|
19
|
+
import type { LinkComponentType } from '../Link/types.js';
|
|
20
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
21
21
|
export interface SideNavHeadingProps extends BaseProps<HTMLDivElement> {
|
|
22
22
|
/** Ref forwarded to the root element */
|
|
23
23
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNavHeading.d.ts","sourceRoot":"","sources":["../../src/SideNav/SideNavHeading.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAkB,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAsBtD,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAGrD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"SideNavHeading.d.ts","sourceRoot":"","sources":["../../src/SideNav/SideNavHeading.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAkB,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAsBtD,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAGrD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAsO5C,MAAM,WAAW,mBAAoB,SAAQ,SAAS,CAAC,cAAc,CAAC;IACpE,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,EAAE,CAAC,EAAE,iBAAiB,CAAC;IACvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAQD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,cAAc,CAAC,EAC7B,EAAE,EACF,IAAI,EACJ,OAAO,EACP,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,IAAI,EACJ,MAAM,EACN,SAAS,EACT,KAAK,EACL,aAAa,EAAE,MAAM,EACrB,GAAG,EACH,GAAG,KAAK,EACT,EAAE,mBAAmB,sCAgiBrB;yBAjjBe,cAAc"}
|
|
@@ -129,6 +129,17 @@ const styles = {
|
|
|
129
129
|
kGuDYH: "x1qlqyl8",
|
|
130
130
|
$$css: true
|
|
131
131
|
},
|
|
132
|
+
linkBesideEndContent: {
|
|
133
|
+
k1xSpc: "x78zum5",
|
|
134
|
+
kGNEyG: "x6s0dn4",
|
|
135
|
+
kSGwAc: "xkh2ocl",
|
|
136
|
+
kOIVth: "x1txdalj",
|
|
137
|
+
kzQI83: "x1iyjqo2",
|
|
138
|
+
k7Eaqz: "xeuugli",
|
|
139
|
+
kybGjl: "x1hl2dhg",
|
|
140
|
+
kMwMTN: "x1heor9g",
|
|
141
|
+
$$css: true
|
|
142
|
+
},
|
|
132
143
|
popoverHeading: {
|
|
133
144
|
k1xSpc: "x78zum5",
|
|
134
145
|
kGNEyG: "x6s0dn4",
|
|
@@ -484,6 +495,29 @@ export function SideNavHeading({
|
|
|
484
495
|
}))]
|
|
485
496
|
});
|
|
486
497
|
|
|
498
|
+
// Whole heading is a link (no menu, single headingHref). End content may
|
|
499
|
+
// be a control, which must not sit inside the link (no interactive content
|
|
500
|
+
// in an <a>), so with end content the row is a div holding the link and the
|
|
501
|
+
// end content side by side, as the mixed mode does.
|
|
502
|
+
if (isWholeHeadingLink && headingHref && headerEndContentElement) {
|
|
503
|
+
return /*#__PURE__*/_jsxs("div", {
|
|
504
|
+
ref: ref,
|
|
505
|
+
"data-testid": testId,
|
|
506
|
+
...mergeProps(themeProps('side-nav-heading'), stylex.props(styles.root, xstyle), className, style),
|
|
507
|
+
children: [/*#__PURE__*/_jsxs(LinkComponent, {
|
|
508
|
+
href: headingHref,
|
|
509
|
+
...focusOutlineProps.focusVisible(styles.linkBesideEndContent, styles.menuTrigger),
|
|
510
|
+
...props,
|
|
511
|
+
children: [icon && /*#__PURE__*/_jsx("span", {
|
|
512
|
+
...{
|
|
513
|
+
className: "x2lah0s x78zum5 x6s0dn4 xl56j7k"
|
|
514
|
+
},
|
|
515
|
+
children: icon
|
|
516
|
+
}), renderTextContent()]
|
|
517
|
+
}), headerEndContentElement]
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
|
|
487
521
|
// Whole heading is a link (no menu, single headingHref)
|
|
488
522
|
if (isWholeHeadingLink && headingHref) {
|
|
489
523
|
return /*#__PURE__*/_jsxs(LinkComponent, {
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
* - /packages/cli/assets/templates/blocks/components/SideNav/ (showcase blocks)
|
|
27
27
|
*/
|
|
28
28
|
import { type ReactNode } from 'react';
|
|
29
|
-
import { type IconType } from '../Icon';
|
|
30
|
-
import type { LinkComponentType } from '../Link/types';
|
|
31
|
-
import type { BaseProps } from '../BaseProps';
|
|
32
|
-
import { type NavItemSize } from '../NavItem/navItemStyles.stylex';
|
|
29
|
+
import { type IconType } from '../Icon/index.js';
|
|
30
|
+
import type { LinkComponentType } from '../Link/types.js';
|
|
31
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
32
|
+
import { type NavItemSize } from '../NavItem/navItemStyles.stylex.js';
|
|
33
33
|
export interface SideNavItemProps extends BaseProps<HTMLElement> {
|
|
34
34
|
/** Ref forwarded to the root element */
|
|
35
35
|
ref?: React.Ref<HTMLElement>;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* - /packages/cli/assets/templates/blocks/components/SideNav/ (showcase blocks)
|
|
15
15
|
*/
|
|
16
16
|
import React, { type ReactNode } from 'react';
|
|
17
|
-
import type { BaseProps } from '../BaseProps';
|
|
17
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
18
18
|
export interface SideNavSectionProps extends BaseProps<HTMLDivElement> {
|
|
19
19
|
ref?: React.Ref<HTMLDivElement>;
|
|
20
20
|
/**
|
package/dist/SideNav/index.d.ts
CHANGED
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/SideNav/SideNav.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { SideNav } from './SideNav';
|
|
10
|
-
export type { SideNavProps } from './SideNav';
|
|
11
|
-
export { SideNavHeading } from './SideNavHeading';
|
|
12
|
-
export type { SideNavHeadingProps } from './SideNavHeading';
|
|
13
|
-
export { SideNavItem } from './SideNavItem';
|
|
14
|
-
export type { SideNavItemProps } from './SideNavItem';
|
|
15
|
-
export { SideNavSection } from './SideNavSection';
|
|
16
|
-
export type { SideNavSectionProps } from './SideNavSection';
|
|
17
|
-
export { SideNavCollapseButton } from './SideNavCollapseButton';
|
|
18
|
-
export type { SideNavCollapseButtonProps } from './SideNavCollapseButton';
|
|
19
|
-
export { useSideNavCollapse } from './SideNavCollapseContext';
|
|
20
|
-
export type { SideNavCollapseState, SideNavCollapsibleConfig, SideNavControlledCollapsible, SideNavImperativeCollapseHandle, } from './SideNavCollapseContext';
|
|
21
|
-
export { SideNavRenderContext, useSideNavRenderMode, } from './SideNavRenderContext';
|
|
22
|
-
export type { SideNavRenderMode } from './SideNavRenderContext';
|
|
9
|
+
export { SideNav } from './SideNav.js';
|
|
10
|
+
export type { SideNavProps } from './SideNav.js';
|
|
11
|
+
export { SideNavHeading } from './SideNavHeading.js';
|
|
12
|
+
export type { SideNavHeadingProps } from './SideNavHeading.js';
|
|
13
|
+
export { SideNavItem } from './SideNavItem.js';
|
|
14
|
+
export type { SideNavItemProps } from './SideNavItem.js';
|
|
15
|
+
export { SideNavSection } from './SideNavSection.js';
|
|
16
|
+
export type { SideNavSectionProps } from './SideNavSection.js';
|
|
17
|
+
export { SideNavCollapseButton } from './SideNavCollapseButton.js';
|
|
18
|
+
export type { SideNavCollapseButtonProps } from './SideNavCollapseButton.js';
|
|
19
|
+
export { useSideNavCollapse } from './SideNavCollapseContext.js';
|
|
20
|
+
export type { SideNavCollapseState, SideNavCollapsibleConfig, SideNavControlledCollapsible, SideNavImperativeCollapseHandle, } from './SideNavCollapseContext.js';
|
|
21
|
+
export { SideNavRenderContext, useSideNavRenderMode, } from './SideNavRenderContext.js';
|
|
22
|
+
export type { SideNavRenderMode } from './SideNavRenderContext.js';
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* @output Re-exports size context utilities
|
|
5
5
|
* @position Public entry point for @astryxdesign/core/SizeContext
|
|
6
6
|
*/
|
|
7
|
-
export { SizeContext, SizeProvider, useSize, type ElementSize, } from './SizeContext';
|
|
7
|
+
export { SizeContext, SizeProvider, useSize, type ElementSize, } from './SizeContext.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* - /apps/storybook/stories/Skeleton.stories.tsx
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/Skeleton/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
|
-
import type { BaseProps } from '../BaseProps';
|
|
13
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
14
14
|
import * as stylex from '@stylexjs/stylex';
|
|
15
15
|
declare const radiusStyles: Readonly<{
|
|
16
16
|
readonly none: Readonly<{
|
package/dist/Skeleton/index.d.ts
CHANGED
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/Skeleton/Skeleton.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Skeleton } from './Skeleton';
|
|
10
|
-
export type { SkeletonProps, SkeletonRadius } from './Skeleton';
|
|
9
|
+
export { Skeleton } from './Skeleton.js';
|
|
10
|
+
export type { SkeletonProps, SkeletonRadius } from './Skeleton.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Slider/Slider.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { InputStatus } from '../Field/types';
|
|
2
|
-
import { type FieldInputBaseProps } from '../Field/fieldParts';
|
|
3
|
-
import type { SizeValue } from '../utils/types';
|
|
1
|
+
import type { InputStatus } from '../Field/types.js';
|
|
2
|
+
import { type FieldInputBaseProps } from '../Field/fieldParts.js';
|
|
3
|
+
import type { SizeValue } from '../utils/types.js';
|
|
4
4
|
export interface SliderBaseProps extends Omit<FieldInputBaseProps<HTMLDivElement>, 'onChange'> {
|
|
5
5
|
/** Ref forwarded to the slider control element. */
|
|
6
6
|
ref?: React.Ref<HTMLDivElement>;
|
package/dist/Slider/index.d.ts
CHANGED
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/Slider/Slider.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Slider } from './Slider';
|
|
10
|
-
export type { SliderProps, SliderBaseProps, SliderSingleProps, SliderRangeProps, } from './Slider';
|
|
9
|
+
export { Slider } from './Slider.js';
|
|
10
|
+
export type { SliderProps, SliderBaseProps, SliderSingleProps, SliderRangeProps, } from './Slider.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/Spinner/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import { type ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
16
|
declare const SIZES: {
|
|
17
17
|
sm: {
|
|
18
18
|
diameter: number;
|
package/dist/Spinner/index.d.ts
CHANGED
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/Spinner/Spinner.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Spinner } from './Spinner';
|
|
10
|
-
export type { SpinnerProps, SpinnerSize, SpinnerShade, } from './Spinner';
|
|
9
|
+
export { Spinner } from './Spinner.js';
|
|
10
|
+
export type { SpinnerProps, SpinnerSize, SpinnerShade, } from './Spinner.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Stack/Stack.d.ts
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* - /packages/cli/assets/templates/blocks/components/Stack/ (showcase blocks)
|
|
11
11
|
*/
|
|
12
12
|
import { type ElementType, type ReactNode } from 'react';
|
|
13
|
-
import type { BaseProps } from '../BaseProps';
|
|
14
|
-
import { type StackCrossAlignment, type StackDirection, type StackMainAlignment, type StackWrap, type SpacingStep } from './stack.stylex';
|
|
15
|
-
import type { SizeValue } from '../utils/types';
|
|
13
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
14
|
+
import { type StackCrossAlignment, type StackDirection, type StackMainAlignment, type StackWrap, type SpacingStep } from './stack.stylex.js';
|
|
15
|
+
import type { SizeValue } from '../utils/types.js';
|
|
16
16
|
/**
|
|
17
17
|
* Alignment values accepted by Stack.
|
|
18
18
|
*
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* - /packages/cli/assets/templates/blocks/components/Stack/ (showcase blocks)
|
|
10
10
|
*/
|
|
11
11
|
import { type ElementType, type ReactNode } from 'react';
|
|
12
|
-
import type { BaseProps } from '../BaseProps';
|
|
13
|
-
import { type StackItemCrossAlignSelf, type StackItemSize } from './stackItem.stylex';
|
|
12
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
13
|
+
import { type StackItemCrossAlignSelf, type StackItemSize } from './stackItem.stylex.js';
|
|
14
14
|
export interface StackItemProps extends BaseProps<HTMLElement> {
|
|
15
15
|
/** Ref forwarded to the root element */
|
|
16
16
|
ref?: React.Ref<HTMLElement>;
|
package/dist/Stack/index.d.ts
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/core/src/Stack/Stack.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Stack } from './Stack';
|
|
10
|
-
export type { StackProps, StackAlignment, } from './Stack';
|
|
11
|
-
export { HStack, type HStackProps } from '../HStack';
|
|
12
|
-
export { VStack, type VStackProps } from '../VStack';
|
|
13
|
-
export { StackItem } from './StackItem';
|
|
14
|
-
export type { StackItemProps } from './StackItem';
|
|
9
|
+
export { Stack } from './Stack.js';
|
|
10
|
+
export type { StackProps, StackAlignment, } from './Stack.js';
|
|
11
|
+
export { HStack, type HStackProps } from '../HStack/index.js';
|
|
12
|
+
export { VStack, type VStackProps } from '../VStack/index.js';
|
|
13
|
+
export { StackItem } from './StackItem.js';
|
|
14
|
+
export type { StackItemProps } from './StackItem.js';
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* SYNC: When modified, update /packages/core/src/Stack/Stack.doc.mjs
|
|
8
8
|
*/
|
|
9
9
|
import * as stylex from '@stylexjs/stylex';
|
|
10
|
-
import type { SpacingStep } from '../utils/types';
|
|
10
|
+
import type { SpacingStep } from '../utils/types.js';
|
|
11
11
|
declare const alignItemsStyles: Readonly<{
|
|
12
12
|
readonly center: Readonly<{
|
|
13
13
|
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/StatusDot/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import type { ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
16
|
-
import type { StatusDotVariantMap } from './index';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
|
+
import type { StatusDotVariantMap } from './index.js';
|
|
17
17
|
/**
|
|
18
18
|
* Status dot variant type derived from StatusDotVariantMap.
|
|
19
19
|
* Extensible via module augmentation of StatusDotVariantMap.
|
|
@@ -24,6 +24,6 @@ export interface StatusDotVariantMap {
|
|
|
24
24
|
accent: true;
|
|
25
25
|
neutral: true;
|
|
26
26
|
}
|
|
27
|
-
export { StatusDot } from './StatusDot';
|
|
28
|
-
export type { StatusDotProps, StatusDotVariant } from './StatusDot';
|
|
27
|
+
export { StatusDot } from './StatusDot.js';
|
|
28
|
+
export type { StatusDotProps, StatusDotVariant } from './StatusDot.js';
|
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Stepper/Step.d.ts
CHANGED
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
* - /packages/cli/assets/templates/blocks/components/Step/ (showcase blocks)
|
|
35
35
|
*/
|
|
36
36
|
import { type ReactNode } from 'react';
|
|
37
|
-
import type { BaseProps } from '../BaseProps';
|
|
38
|
-
import type { StepStatus } from './StepStatus';
|
|
37
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
38
|
+
import type { StepStatus } from './StepStatus.js';
|
|
39
39
|
/**
|
|
40
40
|
* Built-in indicator presets. Anything other than these strings passed to
|
|
41
41
|
* `indicator` is treated as a custom ReactNode (e.g. an `<Icon />`).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Step.d.ts","sourceRoot":"","sources":["../../src/Stepper/Step.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EAAkB,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAsBtD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAM5C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC7D,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAE9D,MAAM,WAAW,SAAU,SAAQ,SAAS,CAAC,aAAa,CAAC;IACzD,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IAC/B;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC5C;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AA2yBD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,QAAQ,EACR,MAAM,EACN,UAAkB,EAClB,UAAkB,EAClB,UAAU,EACV,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,WAAW,EACpB,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,EACH,aAAa,EAAE,UAAU,EACzB,GAAG,IAAI,EACR,EAAE,SAAS,+
|
|
1
|
+
{"version":3,"file":"Step.d.ts","sourceRoot":"","sources":["../../src/Stepper/Step.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EAAkB,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAsBtD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAM5C,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC7D,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAE9D,MAAM,WAAW,SAAU,SAAQ,SAAS,CAAC,aAAa,CAAC;IACzD,wCAAwC;IACxC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IAC/B;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC5C;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AA2yBD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,QAAQ,EACR,MAAM,EACN,UAAkB,EAClB,UAAkB,EAClB,UAAU,EACV,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,WAAW,EACpB,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,EACH,aAAa,EAAE,UAAU,EACzB,GAAG,IAAI,EACR,EAAE,SAAS,+BAq1BX;yBAt2Be,IAAI"}
|
package/dist/Stepper/Step.js
CHANGED
|
@@ -872,7 +872,7 @@ export function Step({
|
|
|
872
872
|
...{
|
|
873
873
|
className: "x78zum5 x1q0g3np x6s0dn4 x1txdalj xeuugli"
|
|
874
874
|
},
|
|
875
|
-
children: [(!isCompact || indicatorPosition !== 'on-track') && indicatorNode, /*#__PURE__*/_jsx("span", {
|
|
875
|
+
children: [(!isCompact || indicatorPosition !== 'on-track') && indicatorNode, ' ', /*#__PURE__*/_jsx("span", {
|
|
876
876
|
...mergeProps(labelThemeProps, stylex.props(styles.label, labelColorStyle)),
|
|
877
877
|
children: label
|
|
878
878
|
}), statusTextNode, isOptional && /*#__PURE__*/_jsxs(_Fragment, {
|
|
@@ -1063,7 +1063,7 @@ export function Step({
|
|
|
1063
1063
|
"aria-hidden": "true",
|
|
1064
1064
|
...mergeProps(themeProps('step-connector'), stylex.props(styles.otSegBaseV, styles.otSegFlexV, styles.connectorTrack, hasIndicator && styles.otSegGapRailV, afterSegStyle, railTiming, styles.otSegHiddenIfLast))
|
|
1065
1065
|
})]
|
|
1066
|
-
}), /*#__PURE__*/_jsxs("div", {
|
|
1066
|
+
}), ' ', /*#__PURE__*/_jsxs("div", {
|
|
1067
1067
|
...{
|
|
1068
1068
|
className: "x78zum5 xdt5ytf x1nhvcw1 x98rzlu x1lsbc85 xeuugli"
|
|
1069
1069
|
},
|
|
@@ -1103,7 +1103,7 @@ export function Step({
|
|
|
1103
1103
|
"aria-hidden": "true",
|
|
1104
1104
|
...mergeProps(themeProps('step-connector'), stylex.props(styles.otSegH, styles.connectorTrack, hasIndicator && styles.otSegGapRailH, afterSegStyle, railTiming, styles.otSegHiddenIfLast))
|
|
1105
1105
|
})]
|
|
1106
|
-
}), !isCompact && /*#__PURE__*/_jsxs("div", {
|
|
1106
|
+
}), ' ', !isCompact && /*#__PURE__*/_jsxs("div", {
|
|
1107
1107
|
...stylex.props(styles.otLabelWrapH, styles.otMarginTop(densitySpace)),
|
|
1108
1108
|
children: [labelLineNode, otDescriptionNode]
|
|
1109
1109
|
})]
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
* - /packages/cli/assets/templates/blocks/components/Stepper/ (showcase blocks)
|
|
20
20
|
*/
|
|
21
21
|
import { type ReactNode } from 'react';
|
|
22
|
-
import type { BaseProps } from '../BaseProps';
|
|
23
|
-
import { type StepperOrientation, type StepperIndicatorPosition } from './StepperContext';
|
|
22
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
23
|
+
import { type StepperOrientation, type StepperIndicatorPosition } from './StepperContext.js';
|
|
24
24
|
export type StepperCollapsedVariant = 'withLabelAndControls' | 'withLabel' | 'hiddenLabel';
|
|
25
25
|
export interface StepperHorizontalOptions {
|
|
26
26
|
/**
|
package/dist/Stepper/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { Stepper } from './Stepper';
|
|
2
|
-
export type { StepperCollapsedVariant, StepperHorizontalOptions, StepperProps, } from './Stepper';
|
|
3
|
-
export { Step } from './Step';
|
|
4
|
-
export type { StepProps, StepIndicatorPreset } from './Step';
|
|
5
|
-
export type { StepStatus } from './StepStatus';
|
|
6
|
-
export { useStepperContext } from './StepperContext';
|
|
7
|
-
export type { StepperContextValue, StepperRegistrationOptions, StepperOrientation, StepperIndicatorPosition, } from './StepperContext';
|
|
1
|
+
export { Stepper } from './Stepper.js';
|
|
2
|
+
export type { StepperCollapsedVariant, StepperHorizontalOptions, StepperProps, } from './Stepper.js';
|
|
3
|
+
export { Step } from './Step.js';
|
|
4
|
+
export type { StepProps, StepIndicatorPreset } from './Step.js';
|
|
5
|
+
export type { StepStatus } from './StepStatus.js';
|
|
6
|
+
export { useStepperContext } from './StepperContext.js';
|
|
7
|
+
export type { StepperContextValue, StepperRegistrationOptions, StepperOrientation, StepperIndicatorPosition, } from './StepperContext.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Switch/Switch.d.ts
CHANGED
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/Switch/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import { type ChangeEvent, type FocusEvent, type ReactNode } from 'react';
|
|
15
|
-
import type { IconType } from '../Icon';
|
|
16
|
-
import type { InputStatus } from '../Field/types';
|
|
17
|
-
import type { BaseProps } from '../BaseProps';
|
|
18
|
-
import type { SizeValue } from '../utils/types';
|
|
15
|
+
import type { IconType } from '../Icon/index.js';
|
|
16
|
+
import type { InputStatus } from '../Field/types.js';
|
|
17
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
18
|
+
import type { SizeValue } from '../utils/types.js';
|
|
19
19
|
export type SwitchLabelPosition = 'start' | 'end';
|
|
20
20
|
export type SwitchLabelSpacing = 'hug' | 'spread';
|
|
21
21
|
export interface SwitchProps extends Omit<BaseProps, 'onChange'> {
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/Switch/Switch.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Switch } from './Switch';
|
|
10
|
-
export type { SwitchProps, SwitchLabelPosition, SwitchLabelSpacing, } from './Switch';
|
|
9
|
+
export { Switch } from './Switch.js';
|
|
10
|
+
export type { SwitchProps, SwitchLabelPosition, SwitchLabelSpacing, } from './Switch.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/TabList/Tab.d.ts
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* - /packages/cli/assets/templates/blocks/components/TabList/ (showcase blocks)
|
|
14
14
|
*/
|
|
15
15
|
import React, { type ReactNode } from 'react';
|
|
16
|
-
import type { BaseProps } from '../BaseProps';
|
|
17
|
-
import type { LinkComponentType } from '../Link/types';
|
|
16
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
17
|
+
import type { LinkComponentType } from '../Link/types.js';
|
|
18
18
|
export interface TabProps extends BaseProps<HTMLButtonElement> {
|
|
19
19
|
/**
|
|
20
20
|
* Custom component to render instead of `<a>` for link tabs.
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
* - /packages/cli/assets/templates/blocks/components/TabList/ (showcase blocks)
|
|
18
18
|
*/
|
|
19
19
|
import React, { type AriaRole, type ReactNode } from 'react';
|
|
20
|
-
import type { BaseProps } from '../BaseProps';
|
|
21
|
-
import type { TabListSize } from './TabListContext';
|
|
22
|
-
import { EDGE_COMP_ATTR } from '../Layout/edgeCompensation.stylex';
|
|
20
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
21
|
+
import type { TabListSize } from './TabListContext.js';
|
|
22
|
+
import { EDGE_COMP_ATTR } from '../Layout/edgeCompensation.stylex.js';
|
|
23
23
|
/**
|
|
24
24
|
* How a strip narrower than its tabs behaves.
|
|
25
25
|
*
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/TabList/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import React, { type ReactNode } from 'react';
|
|
15
|
-
import { type IconType } from '../Icon';
|
|
16
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
+
import { type IconType } from '../Icon/index.js';
|
|
16
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
17
17
|
export interface TabMenuOption {
|
|
18
18
|
value: string;
|
|
19
19
|
label: string;
|
package/dist/TabList/index.d.ts
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/TabList/TabList.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { TabList } from './TabList';
|
|
10
|
-
export type { TabListProps, TabListOverflow } from './TabList';
|
|
11
|
-
export { Tab } from './Tab';
|
|
12
|
-
export type { TabProps } from './Tab';
|
|
13
|
-
export { TabMenu } from './TabMenu';
|
|
14
|
-
export type { TabMenuProps, TabMenuOption } from './TabMenu';
|
|
15
|
-
export { useTabListContext } from './TabListContext';
|
|
16
|
-
export type { TabListSize, TabListLayout, TabListPattern, } from './TabListContext';
|
|
9
|
+
export { TabList } from './TabList.js';
|
|
10
|
+
export type { TabListProps, TabListOverflow } from './TabList.js';
|
|
11
|
+
export { Tab } from './Tab.js';
|
|
12
|
+
export type { TabProps } from './Tab.js';
|
|
13
|
+
export { TabMenu } from './TabMenu.js';
|
|
14
|
+
export type { TabMenuProps, TabMenuOption } from './TabMenu.js';
|
|
15
|
+
export { useTabListContext } from './TabListContext.js';
|
|
16
|
+
export type { TabListSize, TabListLayout, TabListPattern, } from './TabListContext.js';
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/Table/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import { type ReactElement, type Ref } from 'react';
|
|
14
|
-
import type { BaseTableProps } from './types';
|
|
14
|
+
import type { BaseTableProps } from './types.js';
|
|
15
15
|
/**
|
|
16
16
|
* BaseTable — an unstyled, generic `<table>` component.
|
|
17
17
|
*
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* - /packages/cli/assets/templates/blocks/components/Table/ (showcase blocks)
|
|
14
14
|
*/
|
|
15
15
|
import { type ReactElement, type Ref } from 'react';
|
|
16
|
-
import type { BaseTableProps, TableVerticalAlign, TablePlugin } from './types';
|
|
16
|
+
import type { BaseTableProps, TableVerticalAlign, TablePlugin } from './types.js';
|
|
17
17
|
/** Row density controlling padding and font size */
|
|
18
18
|
export type TableDensity = 'compact' | 'balanced' | 'spacious';
|
|
19
19
|
/** Divider style between cells */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
-
import type { BaseProps } from '../BaseProps';
|
|
3
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
4
4
|
export interface TableBodyProps extends BaseProps<HTMLTableSectionElement> {
|
|
5
5
|
ref?: React.Ref<HTMLTableSectionElement>;
|
|
6
6
|
children: ReactNode;
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* - /packages/cli/assets/templates/blocks/components/Table/ (showcase blocks)
|
|
11
11
|
*/
|
|
12
12
|
import type { ReactNode } from 'react';
|
|
13
|
-
import type { BaseProps } from '../BaseProps';
|
|
14
|
-
import type { StyleXStyles } from '../theme/types';
|
|
15
|
-
import type { TableContextActions } from './types';
|
|
13
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
14
|
+
import type { StyleXStyles } from '../theme/types.js';
|
|
15
|
+
import type { TableContextActions } from './types.js';
|
|
16
16
|
/** Props for TableCell — thin `<td>` wrapper */
|
|
17
17
|
export interface TableCellProps extends BaseProps<HTMLTableCellElement> {
|
|
18
18
|
/** Ref forwarded to the root element */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
-
import type { BaseProps } from '../BaseProps';
|
|
3
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
4
4
|
export interface TableFooterProps extends BaseProps<HTMLTableSectionElement> {
|
|
5
5
|
ref?: React.Ref<HTMLTableSectionElement>;
|
|
6
6
|
children: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
-
import type { BaseProps } from '../BaseProps';
|
|
3
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
4
4
|
export interface TableHeaderProps extends BaseProps<HTMLTableSectionElement> {
|
|
5
5
|
ref?: React.Ref<HTMLTableSectionElement>;
|
|
6
6
|
children: ReactNode;
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* - /packages/cli/assets/templates/blocks/components/Table/ (showcase blocks)
|
|
11
11
|
*/
|
|
12
12
|
import type { ReactNode } from 'react';
|
|
13
|
-
import type { BaseProps } from '../BaseProps';
|
|
14
|
-
import type { StyleXStyles } from '../theme/types';
|
|
15
|
-
import type { TableContextActions } from './types';
|
|
13
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
14
|
+
import type { StyleXStyles } from '../theme/types.js';
|
|
15
|
+
import type { TableContextActions } from './types.js';
|
|
16
16
|
/** Props for TableHeaderCell — `<th>` wrapper with context-aware styling */
|
|
17
17
|
export interface TableHeaderCellProps extends BaseProps<HTMLTableCellElement> {
|
|
18
18
|
/** Ref forwarded to the root element */
|
package/dist/Table/TableRow.d.ts
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/Table/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import { type ReactNode } from 'react';
|
|
14
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
-
import type { StyleXStyles } from '../theme/types';
|
|
14
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
15
|
+
import type { StyleXStyles } from '../theme/types.js';
|
|
16
16
|
/** Props for TableRow — thin `<tr>` wrapper */
|
|
17
17
|
export interface TableRowProps extends BaseProps<HTMLTableRowElement> {
|
|
18
18
|
/** Ref forwarded to the root element */
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* @position Product-composed selection UI; never injected by the Table plugin
|
|
6
6
|
*/
|
|
7
7
|
import type { ReactNode } from 'react';
|
|
8
|
-
import type { ToolbarProps } from '../Toolbar';
|
|
9
|
-
import type { TableSelectionState } from './plugins/selection/useTableSelectionState';
|
|
8
|
+
import type { ToolbarProps } from '../Toolbar/index.js';
|
|
9
|
+
import type { TableSelectionState } from './plugins/selection/useTableSelectionState.js';
|
|
10
10
|
export interface TableSelectionToolbarProps extends Omit<ToolbarProps, 'endContent' | 'label'> {
|
|
11
11
|
/** Shared state returned by useTableSelectionState. */
|
|
12
12
|
selection: TableSelectionState;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* - /packages/core/src/Table/index.ts (exports if functions change)
|
|
10
10
|
*/
|
|
11
11
|
import type { CSSProperties, ReactNode } from 'react';
|
|
12
|
-
import type { TableColumn, ProportionalWidth, PixelWidth } from './types';
|
|
12
|
+
import type { TableColumn, ProportionalWidth, PixelWidth } from './types.js';
|
|
13
13
|
/** Default minimum width (in px) for explicit proportional columns. */
|
|
14
14
|
export declare const DEFAULT_MIN_COLUMN_WIDTH = 120;
|
|
15
15
|
/**
|