@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
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
* DropdownMenuContext + useListFocus path, so a new item type (e.g. a submenu)
|
|
13
13
|
* only shows up in their public API once it's aliased there too.
|
|
14
14
|
*/
|
|
15
|
-
export { DropdownMenu, type DropdownMenuProps, type DropdownMenuPresentation, type DropdownMenuButtonProps, type DropdownMenuTriggerProps, type DropdownMenuItemData, type DropdownMenuDividerData, type DropdownMenuSection, type DropdownMenuOption, } from './DropdownMenu';
|
|
16
|
-
export type { AdaptivePresentation as MenuPresentation } from '../hooks/useAdaptivePresentation';
|
|
17
|
-
export { DropdownMenuItem, type DropdownMenuItemProps } from './DropdownMenuItem';
|
|
18
|
-
export { DropdownMenuDivider, type DropdownMenuDividerProps, } from './DropdownMenuDivider';
|
|
19
|
-
export { DropdownMenuGroup, type DropdownMenuGroupProps, } from './DropdownMenuGroup';
|
|
20
|
-
export { DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, } from './DropdownMenuCheckboxItem';
|
|
21
|
-
export { DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, } from './DropdownMenuRadioGroup';
|
|
22
|
-
export { DropdownMenuRadioItem, type DropdownMenuRadioItemProps, } from './DropdownMenuRadioItem';
|
|
23
|
-
export { DropdownMenuSubMenu, type DropdownMenuSubMenuProps, type DropdownMenuSubMenuPresentation, } from './DropdownMenuSubMenu';
|
|
24
|
-
export { DropdownMenuContext, useDropdownMenuContext, type DropdownMenuContextValue, type DropdownMenuSize, } from './DropdownMenuContext';
|
|
15
|
+
export { DropdownMenu, type DropdownMenuProps, type DropdownMenuPresentation, type DropdownMenuButtonProps, type DropdownMenuTriggerProps, type DropdownMenuItemData, type DropdownMenuDividerData, type DropdownMenuSection, type DropdownMenuOption, } from './DropdownMenu.js';
|
|
16
|
+
export type { AdaptivePresentation as MenuPresentation } from '../hooks/useAdaptivePresentation.js';
|
|
17
|
+
export { DropdownMenuItem, type DropdownMenuItemProps } from './DropdownMenuItem.js';
|
|
18
|
+
export { DropdownMenuDivider, type DropdownMenuDividerProps, } from './DropdownMenuDivider.js';
|
|
19
|
+
export { DropdownMenuGroup, type DropdownMenuGroupProps, } from './DropdownMenuGroup.js';
|
|
20
|
+
export { DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, } from './DropdownMenuCheckboxItem.js';
|
|
21
|
+
export { DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, } from './DropdownMenuRadioGroup.js';
|
|
22
|
+
export { DropdownMenuRadioItem, type DropdownMenuRadioItemProps, } from './DropdownMenuRadioItem.js';
|
|
23
|
+
export { DropdownMenuSubMenu, type DropdownMenuSubMenuProps, type DropdownMenuSubMenuPresentation, } from './DropdownMenuSubMenu.js';
|
|
24
|
+
export { DropdownMenuContext, useDropdownMenuContext, type DropdownMenuContextValue, type DropdownMenuSize, } from './DropdownMenuContext.js';
|
|
25
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
* visible markup, so it first renders right after hydration.
|
|
18
18
|
*/
|
|
19
19
|
import { type ComponentProps, type ReactElement } from 'react';
|
|
20
|
-
import type { MenuBottomSheet as EagerMenuBottomSheet } from './MenuBottomSheet';
|
|
21
|
-
import type { MenuBottomSheetActionList as EagerMenuBottomSheetActionList } from './MenuBottomSheetActionList';
|
|
20
|
+
import type { MenuBottomSheet as EagerMenuBottomSheet } from './MenuBottomSheet.js';
|
|
21
|
+
import type { MenuBottomSheetActionList as EagerMenuBottomSheetActionList } from './MenuBottomSheetActionList.js';
|
|
22
22
|
export declare function MenuBottomSheet(props: ComponentProps<typeof EagerMenuBottomSheet>): ReactElement | null;
|
|
23
23
|
export declare function MenuBottomSheetActionList(props: ComponentProps<typeof EagerMenuBottomSheetActionList>): ReactElement | null;
|
|
24
24
|
//# sourceMappingURL=lazyMenuBottomSheet.d.ts.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @position Utility; used by DropdownMenu to unify data-driven and compound paths
|
|
5
5
|
*/
|
|
6
6
|
import type { ReactNode } from 'react';
|
|
7
|
-
import type { DropdownMenuOption } from './DropdownMenu';
|
|
7
|
+
import type { DropdownMenuOption } from './DropdownMenu.js';
|
|
8
8
|
/**
|
|
9
9
|
* Converts data-driven items into DropdownMenuItem components,
|
|
10
10
|
* so both modes share the same rendering and keyboard navigation path.
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* when it opens, so a menu never changes shape under a pointer.
|
|
17
17
|
*/
|
|
18
18
|
import { type ReactNode } from 'react';
|
|
19
|
-
import type { DropdownMenuDrillIn } from './DropdownMenuContext';
|
|
19
|
+
import type { DropdownMenuDrillIn } from './DropdownMenuContext.js';
|
|
20
20
|
export interface UseMenuDrillInReturn {
|
|
21
21
|
/** The context value for `DropdownMenuContext.drillIn`. */
|
|
22
22
|
drillIn: DropdownMenuDrillIn;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/EmptyState/ (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
|
export interface EmptyStateProps extends BaseProps<HTMLDivElement> {
|
|
17
17
|
/** Ref forwarded to the root element */
|
|
18
18
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file EmptyState component barrel export
|
|
3
3
|
*/
|
|
4
|
-
export { EmptyState } from './EmptyState';
|
|
5
|
-
export type { EmptyStateProps } from './EmptyState';
|
|
4
|
+
export { EmptyState } from './EmptyState.js';
|
|
5
|
+
export type { EmptyStateProps } from './EmptyState.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Field/Field.d.ts
CHANGED
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/Field/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import { type ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
16
|
-
import type { SizeValue } from '../utils/types';
|
|
17
|
-
import type { FieldStatusVariant } from '../FieldStatus/FieldStatus';
|
|
18
|
-
import type { IconType } from '../Icon';
|
|
19
|
-
export type { SizeValue } from '../utils/types';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
|
+
import type { SizeValue } from '../utils/types.js';
|
|
17
|
+
import type { FieldStatusVariant } from '../FieldStatus/FieldStatus.js';
|
|
18
|
+
import type { IconType } from '../Icon/index.js';
|
|
19
|
+
export type { SizeValue } from '../utils/types.js';
|
|
20
20
|
export type FieldStatusType = 'warning' | 'error' | 'success';
|
|
21
21
|
export interface FieldStatusInput {
|
|
22
22
|
/**
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* - /packages/core/locales/en.json (@astryx.field.required / @astryx.field.optional)
|
|
13
13
|
*/
|
|
14
14
|
import { type ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
16
|
-
import { type IconType } from '../Icon';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
|
+
import { type IconType } from '../Icon/index.js';
|
|
17
17
|
export interface FieldLabelProps extends BaseProps<HTMLLabelElement> {
|
|
18
18
|
/** Ref forwarded to the root element */
|
|
19
19
|
ref?: React.Ref<HTMLLabelElement>;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
* that use it, not public API.
|
|
36
36
|
*/
|
|
37
37
|
import { type Ref } from 'react';
|
|
38
|
-
import type { BaseProps } from '../BaseProps';
|
|
38
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
39
39
|
export interface PanelSearchInputProps extends Omit<BaseProps<HTMLInputElement>, 'onChange'> {
|
|
40
40
|
/** Ref forwarded to the input element (for focus management). */
|
|
41
41
|
ref?: Ref<HTMLInputElement>;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* component's test calls it, and fieldInputFamily.test.ts verifies the call
|
|
7
7
|
* exists for every component that renders Field
|
|
8
8
|
*/
|
|
9
|
-
import type { FieldInputForbiddenStyleProp, FieldPartStyleProps } from './fieldParts';
|
|
9
|
+
import type { FieldInputForbiddenStyleProp, FieldPartStyleProps } from './fieldParts.js';
|
|
10
10
|
type AcceptsRootStyling<P> = [
|
|
11
11
|
Extract<keyof P, FieldInputForbiddenStyleProp>
|
|
12
12
|
] extends [never] ? false : true;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import { type CSSProperties } from 'react';
|
|
16
16
|
import type { StyleXStyles } from '@stylexjs/stylex';
|
|
17
|
-
import type { BaseProps } from '../BaseProps';
|
|
17
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
18
18
|
/** Root styling props a Field-composed input does not accept. */
|
|
19
19
|
export type FieldInputForbiddenStyleProp = 'xstyle' | 'className' | 'style';
|
|
20
20
|
/** Styling for the Field box (label, control, and status together). */
|
package/dist/Field/index.d.ts
CHANGED
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/Field/Field.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Field } from './Field';
|
|
10
|
-
export type { FieldProps, FieldStatusInput, FieldStatusType } from './Field';
|
|
11
|
-
export { FieldLabel } from './FieldLabel';
|
|
12
|
-
export type { FieldLabelProps } from './FieldLabel';
|
|
13
|
-
export { FieldStatus } from '../FieldStatus';
|
|
14
|
-
export type { FieldStatusProps, FieldStatusVariant, FieldStatusVariantMap, } from '../FieldStatus';
|
|
15
|
-
export type { InputStatus, InputStatusType, InputSize } from './types';
|
|
16
|
-
export type { FieldInputBaseProps, FieldContainerStyleProps, FieldControlStyleProps, FieldPartStyleProps, } from './fieldParts';
|
|
17
|
-
export { inputWrapperStyles, inputStatusBorderStyles, inputStatusHoverShadowStyles, inputStatusFocusWithinStyles, inputStatusFocusStyles, } from './inputStyles.stylex';
|
|
18
|
-
export { InputClearButton } from './InputClearButton';
|
|
9
|
+
export { Field } from './Field.js';
|
|
10
|
+
export type { FieldProps, FieldStatusInput, FieldStatusType } from './Field.js';
|
|
11
|
+
export { FieldLabel } from './FieldLabel.js';
|
|
12
|
+
export type { FieldLabelProps } from './FieldLabel.js';
|
|
13
|
+
export { FieldStatus } from '../FieldStatus/index.js';
|
|
14
|
+
export type { FieldStatusProps, FieldStatusVariant, FieldStatusVariantMap, } from '../FieldStatus/index.js';
|
|
15
|
+
export type { InputStatus, InputStatusType, InputSize } from './types.js';
|
|
16
|
+
export type { FieldInputBaseProps, FieldContainerStyleProps, FieldControlStyleProps, FieldPartStyleProps, } from './fieldParts.js';
|
|
17
|
+
export { inputWrapperStyles, inputStatusBorderStyles, inputStatusHoverShadowStyles, inputStatusFocusWithinStyles, inputStatusFocusStyles, } from './inputStyles.stylex.js';
|
|
18
|
+
export { InputClearButton } from './InputClearButton.js';
|
|
19
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file inputDisabledFocus.ts
|
|
3
|
+
* @input Uses StyleX and theme tokens
|
|
4
|
+
* @output inputDisabledFocusStyles (internal; not re-exported from Field/index.ts)
|
|
5
|
+
* @position Field wrapper style shared by TextInput and TextArea
|
|
6
|
+
*/
|
|
7
|
+
import * as stylex from '@stylexjs/stylex';
|
|
8
|
+
export declare const inputDisabledFocusStyles: Readonly<{
|
|
9
|
+
readonly ring: Readonly<{
|
|
10
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "light-dark(#0064E0, #2694FE)" | "light-dark(#CCD3DB, #494D53)">;
|
|
11
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "none" | `inset 0px 0px 0px 2px ${stylex.StyleXVar<"light-dark(#0082FB33, #0082FB3F)">}`>;
|
|
12
|
+
}>;
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=inputDisabledFocus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputDisabledFocus.d.ts","sourceRoot":"","sources":["../../src/Field/inputDisabledFocus.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAG3C,eAAO,MAAM,wBAAwB;;;;;EAenC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @file inputDisabledFocus.ts
|
|
5
|
+
* @input Uses StyleX and theme tokens
|
|
6
|
+
* @output inputDisabledFocusStyles (internal; not re-exported from Field/index.ts)
|
|
7
|
+
* @position Field wrapper style shared by TextInput and TextArea
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import * as stylex from '@stylexjs/stylex';
|
|
11
|
+
import "../theme/tokens.stylex.js";
|
|
12
|
+
import { colorVars } from "../theme/tokens.stylex.js";
|
|
13
|
+
export const inputDisabledFocusStyles = {
|
|
14
|
+
ring: {
|
|
15
|
+
kVAM5u: "xvy26l8 x16it14f",
|
|
16
|
+
kGVxlE: "x1gnnqk1 xwmge8v",
|
|
17
|
+
$$css: true
|
|
18
|
+
}
|
|
19
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { BaseProps } from '../BaseProps';
|
|
3
|
-
import type { InputStatusType } from '../Field/types';
|
|
4
|
-
import type { FieldStatusVariantMap } from './index';
|
|
2
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
3
|
+
import type { InputStatusType } from '../Field/types.js';
|
|
4
|
+
import type { FieldStatusVariantMap } from './index.js';
|
|
5
5
|
/**
|
|
6
6
|
* FieldStatus variant type. Extensible via module augmentation of FieldStatusVariantMap.
|
|
7
7
|
*/
|
|
@@ -22,6 +22,6 @@ export interface FieldStatusVariantMap {
|
|
|
22
22
|
detached: true;
|
|
23
23
|
tooltip: true;
|
|
24
24
|
}
|
|
25
|
-
export { FieldStatus } from './FieldStatus';
|
|
26
|
-
export type { FieldStatusProps, FieldStatusVariant } from './FieldStatus';
|
|
25
|
+
export { FieldStatus } from './FieldStatus.js';
|
|
26
|
+
export type { FieldStatusProps, FieldStatusVariant } from './FieldStatus.js';
|
|
27
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type InputStatus, type FieldStatusVariant } from '../Field';
|
|
2
|
-
export type { InputStatus as FileInputStatus, InputStatusType as FileInputStatusType, } from '../Field';
|
|
3
|
-
import { type FieldInputBaseProps } from '../Field/fieldParts';
|
|
4
|
-
import type { SizeValue } from '../utils/types';
|
|
1
|
+
import { type InputStatus, type FieldStatusVariant } from '../Field/index.js';
|
|
2
|
+
export type { InputStatus as FileInputStatus, InputStatusType as FileInputStatusType, } from '../Field/index.js';
|
|
3
|
+
import { type FieldInputBaseProps } from '../Field/fieldParts.js';
|
|
4
|
+
import type { SizeValue } from '../utils/types.js';
|
|
5
5
|
export interface FileInputProps extends Omit<FieldInputBaseProps, 'onChange' | 'defaultValue' | 'value'> {
|
|
6
6
|
ref?: React.Ref<HTMLInputElement>;
|
|
7
7
|
/**
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/FileInput/FileInput.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { FileInput } from './FileInput';
|
|
10
|
-
export type { FileInputProps, FileInputStatus, FileInputStatusType, } from './FileInput';
|
|
9
|
+
export { FileInput } from './FileInput.js';
|
|
10
|
+
export type { FileInputProps, FileInputStatus, FileInputStatusType, } from './FileInput.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* - /packages/cli/assets/templates/blocks/components/FormLayout/ (showcase blocks)
|
|
15
15
|
*/
|
|
16
16
|
import { type ReactNode } from 'react';
|
|
17
|
-
import type { BaseProps } from '../BaseProps';
|
|
18
|
-
import { type FormLayoutDirection, type FormOptionality } from './FormLayoutContext';
|
|
17
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
18
|
+
import { type FormLayoutDirection, type FormOptionality } from './FormLayoutContext.js';
|
|
19
19
|
export interface FormLayoutProps extends BaseProps<HTMLDivElement> {
|
|
20
20
|
/** Ref forwarded to the root element */
|
|
21
21
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update these files to stay in sync:
|
|
8
8
|
*/
|
|
9
|
-
export { FormLayout } from './FormLayout';
|
|
10
|
-
export type { FormLayoutProps } from './FormLayout';
|
|
11
|
-
export type { FormLayoutDirection, FormOptionality } from './FormLayoutContext';
|
|
12
|
-
export { FormLayoutContext } from './FormLayoutContext';
|
|
9
|
+
export { FormLayout } from './FormLayout.js';
|
|
10
|
+
export type { FormLayoutProps } from './FormLayout.js';
|
|
11
|
+
export type { FormLayoutDirection, FormOptionality } from './FormLayoutContext.js';
|
|
12
|
+
export { FormLayoutContext } from './FormLayoutContext.js';
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Grid/Grid.d.ts
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/Grid/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import type { ReactNode } from 'react';
|
|
14
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
-
import type { SpacingStep } from '../utils/types';
|
|
16
|
-
import type { SizeValue } from '../utils/types';
|
|
14
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
15
|
+
import type { SpacingStep } from '../utils/types.js';
|
|
16
|
+
import type { SizeValue } from '../utils/types.js';
|
|
17
17
|
/**
|
|
18
18
|
* Grid alignment options for align-items and justify-items.
|
|
19
19
|
*/
|
package/dist/Grid/GridSpan.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/Grid/ (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 GridSpanProps extends BaseProps<HTMLDivElement> {
|
|
16
16
|
/** Ref forwarded to the root element */
|
|
17
17
|
ref?: React.Ref<HTMLDivElement>;
|
package/dist/Grid/index.d.ts
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/core/src/Grid/Grid.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Grid } from './Grid';
|
|
10
|
-
export type { GridProps, GridColumns, GridAlignment } from './Grid';
|
|
11
|
-
export { GridSpan } from './GridSpan';
|
|
12
|
-
export type { GridSpanProps } from './GridSpan';
|
|
9
|
+
export { Grid } from './Grid.js';
|
|
10
|
+
export type { GridProps, GridColumns, GridAlignment } from './Grid.js';
|
|
11
|
+
export { GridSpan } from './GridSpan.js';
|
|
12
|
+
export type { GridSpanProps } from './GridSpan.js';
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/HStack/HStack.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* - /packages/core/src/HStack/HStack.test.tsx
|
|
10
10
|
* - /packages/cli/assets/templates/blocks/components/HStack/ (showcase blocks)
|
|
11
11
|
*/
|
|
12
|
-
import { type StackProps } from '../Stack/Stack';
|
|
13
|
-
import type { StackCrossAlignment, StackMainAlignment } from '../Stack/stack.stylex';
|
|
12
|
+
import { type StackProps } from '../Stack/Stack.js';
|
|
13
|
+
import type { StackCrossAlignment, StackMainAlignment } from '../Stack/stack.stylex.js';
|
|
14
14
|
export interface HStackProps extends Omit<StackProps, 'direction' | 'hAlign' | 'vAlign'> {
|
|
15
15
|
/** Ref forwarded to the root element */
|
|
16
16
|
ref?: React.Ref<HTMLElement>;
|
package/dist/HStack/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* @output Exports HStack and its props type
|
|
5
5
|
* @position Entry point for @astryxdesign/core/HStack subpath export
|
|
6
6
|
*/
|
|
7
|
-
export { HStack, type HStackProps } from './HStack';
|
|
7
|
+
export { HStack, type HStackProps } from './HStack.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
* - /packages/cli/assets/templates/blocks/components/Text/ (showcase blocks)
|
|
14
14
|
*/
|
|
15
15
|
import { type ReactNode } from 'react';
|
|
16
|
-
import type { TextColor, TextDisplay, TextJustify, WordBreak, TextWrap, TextWeight } from '../theme/types';
|
|
17
|
-
import type { LayerPlacement } from '../Layer';
|
|
18
|
-
import type { BaseProps } from '../BaseProps';
|
|
19
|
-
import type { HeadingTypeMap } from './index';
|
|
16
|
+
import type { TextColor, TextDisplay, TextJustify, WordBreak, TextWrap, TextWeight } from '../theme/types.js';
|
|
17
|
+
import type { LayerPlacement } from '../Layer/index.js';
|
|
18
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
19
|
+
import type { HeadingTypeMap } from './index.js';
|
|
20
20
|
/**
|
|
21
21
|
* Heading level (1-6). Determines both visual styling and semantic HTML element.
|
|
22
22
|
*/
|
package/dist/Heading/index.d.ts
CHANGED
|
@@ -22,5 +22,5 @@ export interface HeadingTypeMap {
|
|
|
22
22
|
'display-2': true;
|
|
23
23
|
'display-3': true;
|
|
24
24
|
}
|
|
25
|
-
export { Heading, type HeadingProps, type HeadingLevel, type HeadingType, } from './Heading';
|
|
25
|
+
export { Heading, type HeadingProps, type HeadingLevel, type HeadingType, } from './Heading.js';
|
|
26
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/HoverCard/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import { type ReactElement, type ReactNode } from 'react';
|
|
14
|
-
import { type HoverCardFocusTrigger, type HoverCardTouchTrigger } from './useHoverCard';
|
|
15
|
-
import type { LayerAlignment, LayerPlacement } from '../Layer/useLayer';
|
|
16
|
-
import type { BaseProps } from '../BaseProps';
|
|
17
|
-
export type { HoverCardFocusTrigger, HoverCardTouchTrigger, } from './useHoverCard';
|
|
14
|
+
import { type HoverCardFocusTrigger, type HoverCardTouchTrigger } from './useHoverCard.js';
|
|
15
|
+
import type { LayerAlignment, LayerPlacement } from '../Layer/useLayer.js';
|
|
16
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
17
|
+
export type { HoverCardFocusTrigger, HoverCardTouchTrigger, } from './useHoverCard.js';
|
|
18
18
|
export interface HoverCardProps extends Pick<BaseProps, 'xstyle' | 'className' | 'style'> {
|
|
19
19
|
/**
|
|
20
20
|
* The trigger element(s). Children refs are preserved.
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When adding new HoverCard files, update exports here
|
|
8
8
|
*/
|
|
9
|
-
export { useHoverCard } from './useHoverCard';
|
|
10
|
-
export type { HoverCardFocusTrigger, HoverCardTouchTrigger, HoverCardOptions, HoverCardReturn, } from './useHoverCard';
|
|
11
|
-
export { HoverCard } from './HoverCard';
|
|
12
|
-
export type { HoverCardProps } from './HoverCard';
|
|
9
|
+
export { useHoverCard } from './useHoverCard.js';
|
|
10
|
+
export type { HoverCardFocusTrigger, HoverCardTouchTrigger, HoverCardOptions, HoverCardReturn, } from './useHoverCard.js';
|
|
11
|
+
export { HoverCard } from './HoverCard.js';
|
|
12
|
+
export type { HoverCardProps } from './HoverCard.js';
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* - /packages/core/src/HoverCard/index.ts
|
|
9
9
|
*/
|
|
10
10
|
import { type ReactNode, type RefCallback } from 'react';
|
|
11
|
-
import { type ContextRenderProps, type LayerAlignment, type LayerPlacement } from '../Layer/useLayer';
|
|
12
|
-
import { type LayerTouchTrigger } from '../Layer/useTouchTrigger';
|
|
11
|
+
import { type ContextRenderProps, type LayerAlignment, type LayerPlacement } from '../Layer/useLayer.js';
|
|
12
|
+
import { type LayerTouchTrigger } from '../Layer/useTouchTrigger.js';
|
|
13
13
|
/**
|
|
14
14
|
* Focus trigger behavior for hover cards
|
|
15
15
|
*/
|
package/dist/Icon/Icon.d.ts
CHANGED
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
import React, { type ComponentType, type SVGProps } from 'react';
|
|
21
21
|
import * as stylex from '@stylexjs/stylex';
|
|
22
22
|
import type { StyleXStyles } from '@stylexjs/stylex';
|
|
23
|
-
import type { IconName, NamespacedIconName } from './globalIconRegistry';
|
|
24
|
-
import { type IconSize } from './IconSize.stylex';
|
|
25
|
-
export type { IconSize } from './IconSize.stylex';
|
|
23
|
+
import type { IconName, NamespacedIconName } from './globalIconRegistry.js';
|
|
24
|
+
import { type IconSize } from './IconSize.stylex.js';
|
|
25
|
+
export type { IconSize } from './IconSize.stylex.js';
|
|
26
26
|
declare const colorStyles: Readonly<{
|
|
27
27
|
readonly primary: Readonly<{
|
|
28
28
|
readonly color: stylex.StyleXClassNameFor<"color", "light-dark(#0A1317, #DFE2E5)">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IconSize } from './IconSize.stylex';
|
|
1
|
+
import type { IconSize } from './IconSize.stylex.js';
|
|
2
2
|
export declare const IconDefaultSizeProvider: import("react").Provider<"xsm" | "sm" | "lg" | "md" | null>;
|
|
3
3
|
export declare function useIconSize(size: IconSize | undefined): IconSize;
|
|
4
4
|
//# sourceMappingURL=IconDefaultSizeContext.d.ts.map
|
|
@@ -21,6 +21,6 @@
|
|
|
21
21
|
* - /packages/core/src/Icon/Icon.doc.mjs (fallback icon documentation)
|
|
22
22
|
*/
|
|
23
23
|
import type { ReactNode } from 'react';
|
|
24
|
-
import type { IconName, NamespacedIconName } from './globalIconRegistry';
|
|
24
|
+
import type { IconName, NamespacedIconName } from './globalIconRegistry.js';
|
|
25
25
|
export declare const defaultIcons: Record<IconName, ReactNode> & Partial<Record<NamespacedIconName, ReactNode>>;
|
|
26
26
|
//# sourceMappingURL=defaultIcons.d.ts.map
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Components resolve semantic icons through getIcon() or the client useIcon() hook.
|
|
9
9
|
*/
|
|
10
10
|
import type { ReactNode } from 'react';
|
|
11
|
-
import type { DefinedTheme } from '../theme/defineTheme';
|
|
11
|
+
import type { DefinedTheme } from '../theme/defineTheme.js';
|
|
12
12
|
/**
|
|
13
13
|
* Semantic icon names used internally by Astryx components.
|
|
14
14
|
*
|
package/dist/Icon/index.d.ts
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/Icon/Icon.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Icon, renderIconSlot } from './Icon';
|
|
10
|
-
export { useIcon } from './useIcon';
|
|
11
|
-
export type { IconProps, IconColor, IconSize, IconType } from './Icon';
|
|
12
|
-
export { registerIcons, getIconRegistry, getIcon, getExtendedIcon, resetIcons, } from './globalIconRegistry';
|
|
13
|
-
export type { IconName, ExtendedIconName, NamespacedIconName, IconRegistry, IconRegistrySource, } from './globalIconRegistry';
|
|
9
|
+
export { Icon, renderIconSlot } from './Icon.js';
|
|
10
|
+
export { useIcon } from './useIcon.js';
|
|
11
|
+
export type { IconProps, IconColor, IconSize, IconType } from './Icon.js';
|
|
12
|
+
export { registerIcons, getIconRegistry, getIcon, getExtendedIcon, resetIcons, } from './globalIconRegistry.js';
|
|
13
|
+
export type { IconName, ExtendedIconName, NamespacedIconName, IconRegistry, IconRegistrySource, } from './globalIconRegistry.js';
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Icon/useIcon.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @position Client hook for components that render registry icons directly
|
|
6
6
|
*/
|
|
7
7
|
import type { ReactNode } from 'react';
|
|
8
|
-
import { type IconName, type NamespacedIconName } from './globalIconRegistry';
|
|
8
|
+
import { type IconName, type NamespacedIconName } from './globalIconRegistry.js';
|
|
9
9
|
/**
|
|
10
10
|
* Resolve a semantic icon name from the nearest Theme, falling back through
|
|
11
11
|
* root theme registration, global icon overrides, and built-in defaults.
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/IconButton/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import type { ReactNode } from 'react';
|
|
15
|
-
import type { ButtonProps } from '../Button/Button';
|
|
15
|
+
import type { ButtonProps } from '../Button/Button.js';
|
|
16
16
|
/**
|
|
17
17
|
* Props for IconButton.
|
|
18
18
|
*
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/IconButton/IconButton.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { IconButton } from './IconButton';
|
|
10
|
-
export type { IconButtonProps } from './IconButton';
|
|
9
|
+
export { IconButton } from './IconButton.js';
|
|
10
|
+
export type { IconButtonProps } from './IconButton.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
* replaceable wholesale by name through `defineTheme({indicators})` — replace
|
|
14
14
|
* `check` and every single-selection mark in the app follows.
|
|
15
15
|
*/
|
|
16
|
-
export { CheckboxIndicator } from './CheckboxIndicator';
|
|
17
|
-
export { CheckIndicator } from './CheckIndicator';
|
|
18
|
-
export { RadioIndicator } from './RadioIndicator';
|
|
19
|
-
export { defaultIndicators, getIndicator } from './indicatorRegistry';
|
|
20
|
-
export type { CoreIndicatorName, IndicatorRegistrySource, } from './indicatorRegistry';
|
|
21
|
-
export { useIndicator } from './useIndicator';
|
|
22
|
-
export { indicatorScope } from './indicator.markers.stylex';
|
|
23
|
-
export type { IndicatorComponent, IndicatorFamily, IndicatorFamilyMap, IndicatorMap, IndicatorName, IndicatorNameOfFamily, IndicatorPosition, IndicatorProps, IndicatorRegistry, IndicatorSize, IndicatorState, } from './types';
|
|
16
|
+
export { CheckboxIndicator } from './CheckboxIndicator.js';
|
|
17
|
+
export { CheckIndicator } from './CheckIndicator.js';
|
|
18
|
+
export { RadioIndicator } from './RadioIndicator.js';
|
|
19
|
+
export { defaultIndicators, getIndicator } from './indicatorRegistry.js';
|
|
20
|
+
export type { CoreIndicatorName, IndicatorRegistrySource, } from './indicatorRegistry.js';
|
|
21
|
+
export { useIndicator } from './useIndicator.js';
|
|
22
|
+
export { indicatorScope } from './indicator.markers.stylex.js';
|
|
23
|
+
export type { IndicatorComponent, IndicatorFamily, IndicatorFamilyMap, IndicatorMap, IndicatorName, IndicatorNameOfFamily, IndicatorPosition, IndicatorProps, IndicatorRegistry, IndicatorSize, IndicatorState, } from './types.js';
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
* promise a component for `getIndicator('brand-star')` and hand back
|
|
22
22
|
* `undefined` at runtime.
|
|
23
23
|
*/
|
|
24
|
-
import type { DefinedTheme } from '../theme/defineTheme';
|
|
25
|
-
import type { IndicatorComponent, IndicatorMap, IndicatorName } from './types';
|
|
24
|
+
import type { DefinedTheme } from '../theme/defineTheme.js';
|
|
25
|
+
import type { IndicatorComponent, IndicatorMap, IndicatorName } from './types.js';
|
|
26
26
|
/**
|
|
27
27
|
* The indicator names Astryx ships a default for.
|
|
28
28
|
*
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* `state={isOpen ? 'on' : 'off'}`.
|
|
33
33
|
*/
|
|
34
34
|
import type { ComponentType, ReactNode, Ref } from 'react';
|
|
35
|
-
import type { BaseProps } from '../BaseProps';
|
|
35
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
36
36
|
/**
|
|
37
37
|
* The indicator families, each mapped to the states it can express.
|
|
38
38
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type CoreIndicatorName } from './indicatorRegistry';
|
|
2
|
-
import type { IndicatorComponent, IndicatorMap, IndicatorName } from './types';
|
|
1
|
+
import { type CoreIndicatorName } from './indicatorRegistry.js';
|
|
2
|
+
import type { IndicatorComponent, IndicatorMap, IndicatorName } from './types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Resolve an indicator component from the nearest `<Theme>`.
|
|
5
5
|
*
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* - /packages/cli/assets/templates/blocks/components/InputGroup/
|
|
16
16
|
*/
|
|
17
17
|
import { type ReactNode } from 'react';
|
|
18
|
-
import { type InputStatus } from '../Field';
|
|
19
|
-
import type { BaseProps } from '../BaseProps';
|
|
18
|
+
import { type InputStatus } from '../Field/index.js';
|
|
19
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
20
20
|
export type InputGroupSize = 'sm' | 'md' | 'lg';
|
|
21
21
|
export interface InputGroupProps extends Omit<BaseProps<HTMLDivElement>, 'children'> {
|
|
22
22
|
/** Ref forwarded to the group container element */
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* - /packages/cli/assets/templates/blocks/components/InputGroup/
|
|
11
11
|
*/
|
|
12
12
|
import React, { type ReactNode } from 'react';
|
|
13
|
-
import type { BaseProps } from '../BaseProps';
|
|
13
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
14
14
|
export interface InputGroupTextProps extends BaseProps<HTMLDivElement> {
|
|
15
15
|
ref?: React.Ref<HTMLDivElement>;
|
|
16
16
|
/**
|