@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
|
@@ -19,10 +19,18 @@ import * as stylex from '@stylexjs/stylex';
|
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* VisuallyHidden is deliberately styling-free: it exists to *not* be seen, so it
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
22
|
+
* omits `className`/`style` and applies a fixed, non-overridable clip block —
|
|
23
|
+
* styling a visually-hidden node is always a mistake. The accessibility
|
|
24
|
+
* pass-throughs from `BaseProps` (`aria-*`, `role`, `id`, `data-*`, event
|
|
25
|
+
* handlers) remain, since the live-region use case needs them.
|
|
26
|
+
*
|
|
27
|
+
* `xstyle` stays declared and documented as ignored, because released 0.7.2
|
|
28
|
+
* accepted it through `BaseProps`: narrowing the interface would force every
|
|
29
|
+
* consumer to edit code, which is a `[breaking]` change for a planned minor
|
|
30
|
+
* (`spec:AST-017/FR53`). It carries no `@deprecated` marker either — under
|
|
31
|
+
* `spec:AST-017/FR28` a patch may only deprecate a surface it ships an exact
|
|
32
|
+
* migration for, and this fix ships none. Dropping the prop from the interface,
|
|
33
|
+
* with the migration being to delete it, belongs to a planned minor.
|
|
26
34
|
*/
|
|
27
35
|
|
|
28
36
|
/**
|
|
@@ -46,8 +54,19 @@ export function VisuallyHidden({
|
|
|
46
54
|
children,
|
|
47
55
|
as: element = 'span',
|
|
48
56
|
ref,
|
|
49
|
-
...
|
|
57
|
+
...rest
|
|
50
58
|
}) {
|
|
59
|
+
// `className` and `style` are off the interface, and the ignored `xstyle`
|
|
60
|
+
// is off by intent. Take all three back off at runtime so a cast cannot reach
|
|
61
|
+
// the element either: `xstyle` is not a valid attribute, so spreading it writes
|
|
62
|
+
// xstyle="[object Object]" into the DOM, and a cast `style` keeps the last word
|
|
63
|
+
// on `position` and un-hides the node.
|
|
64
|
+
const {
|
|
65
|
+
xstyle: _xstyle,
|
|
66
|
+
className: _className,
|
|
67
|
+
style: _style,
|
|
68
|
+
...props
|
|
69
|
+
} = rest;
|
|
51
70
|
return /*#__PURE__*/createElement(element, {
|
|
52
71
|
ref: ref,
|
|
53
72
|
// Spread consumer props (aria-*, role, id, data-*, handlers) first, then
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/core/src/VisuallyHidden/VisuallyHidden.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { VisuallyHidden } from './VisuallyHidden';
|
|
10
|
-
export type { VisuallyHiddenProps } from './VisuallyHidden';
|
|
9
|
+
export { VisuallyHidden } from './VisuallyHidden.js';
|
|
10
|
+
export type { VisuallyHiddenProps } from './VisuallyHidden.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/astryx.css
CHANGED
|
@@ -650,7 +650,7 @@
|
|
|
650
650
|
.x2uiyk:has(input:focus):not(#\#):not(#\#){border-color:var(--color-accent)}
|
|
651
651
|
.xb0m1lw:has(> div > .astryx-layout-content):not(#\#):not(#\#){margin-inline:0}
|
|
652
652
|
.x16s19ga:has(:focus-visible):not(#\#):not(#\#){outline:var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color)}
|
|
653
|
-
.
|
|
653
|
+
.x1q9bidn:placeholder-shown:not(#\#):not(#\#){flex:1 1 0}
|
|
654
654
|
.x64lkcz:focus:not(#\#):not(#\#){border-color:var(--color-error)}
|
|
655
655
|
.x1lglk5v:focus:not(#\#):not(#\#){border-color:var(--color-success)}
|
|
656
656
|
.x12sck4v:focus:not(#\#):not(#\#){border-color:var(--color-warning)}
|
|
@@ -928,6 +928,7 @@
|
|
|
928
928
|
.xawy1a7:not(#\#):not(#\#):not(#\#){contain:layout style}
|
|
929
929
|
.x12h1iku:not(#\#):not(#\#):not(#\#){container-type:inline-size}
|
|
930
930
|
.xb5mbof:not(#\#):not(#\#):not(#\#){content-visibility:auto}
|
|
931
|
+
.xdps06:not(#\#):not(#\#):not(#\#){content-visibility:hidden}
|
|
931
932
|
.xfrknyr:not(#\#):not(#\#):not(#\#){counter-increment:astryx-list}
|
|
932
933
|
.xif0320:not(#\#):not(#\#):not(#\#){counter-reset:astryx-list}
|
|
933
934
|
.x1khind5:not(#\#):not(#\#):not(#\#){counter-reset:var(--x-counterReset)}
|
|
@@ -1193,6 +1194,7 @@
|
|
|
1193
1194
|
.x1mzt3pk:not(#\#):not(#\#):not(#\#){overflow-wrap:break-word}
|
|
1194
1195
|
.x1h4wwuj:not(#\#):not(#\#):not(#\#){overflow-wrap:normal}
|
|
1195
1196
|
.xyri2b:not(#\#):not(#\#):not(#\#){padding-inline-end:0}
|
|
1197
|
+
.xx0flbe:not(#\#):not(#\#):not(#\#){padding-inline-end:calc(calc(var(--spacing-1) - 1px) + var(--_tokenizer-end-lane-reserve,0px))}
|
|
1196
1198
|
.xtvv6yu:not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--_tab-strip-bleed,0px) + max(var(--container-padding-inline-end,0px) - var(--spacing-3),0px))}
|
|
1197
1199
|
.x1g2apga:not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--_textarea-inline-padding) + var(--spacing-12))}
|
|
1198
1200
|
.xp2dy4z:not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--_textarea-inline-padding) + var(--spacing-6))}
|
|
@@ -1491,6 +1493,7 @@
|
|
|
1491
1493
|
.x9o1np9.x9o1np9:hover:where(:not(:disabled,[aria-disabled="true"])):not(#\#):not(#\#):not(#\#){color:var(--color-text-primary)}
|
|
1492
1494
|
.x16khyan:is(:disabled,[aria-disabled="true"]):not(#\#):not(#\#):not(#\#){cursor:default}
|
|
1493
1495
|
.x1y40yee:popover-open:not(#\#):not(#\#):not(#\#){display:flex}
|
|
1496
|
+
.x1rq9t4t:placeholder-shown:is(:not(:focus), :read-only):not(#\#):not(#\#):not(#\#){margin-inline-start:calc(-1 * var(--spacing-1))}
|
|
1494
1497
|
.x17xqekc:is([dir="rtl"] *):not(#\#):not(#\#):not(#\#){mask-image:linear-gradient(to left,transparent 0%,rgba(0,0,0,.3) 2px,black var(--spacing-1))}
|
|
1495
1498
|
.x1nwey30:is([dir="rtl"] *):not(#\#):not(#\#):not(#\#){mask-image:linear-gradient(to left,transparent var(--_tab-strip-bleed),black calc(var(--_tab-strip-bleed) + var(--spacing-8)))}
|
|
1496
1499
|
.x8ulde1:is([dir="rtl"] *):not(#\#):not(#\#):not(#\#){mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.3) 2px,black var(--spacing-1))}
|
|
@@ -1513,6 +1516,7 @@
|
|
|
1513
1516
|
.x1vidyx5:focus-visible:not(#\#):not(#\#):not(#\#){outline-width:var(--focus-outline-width)}
|
|
1514
1517
|
.x1n6uwha:is([dir="rtl"] *):not(#\#):not(#\#):not(#\#){padding-inline-end:max(var(--spacing-4),env(safe-area-inset-left,0px))}
|
|
1515
1518
|
.xtjjor6:is([dir="rtl"] *):not(#\#):not(#\#):not(#\#){padding-inline-end:var(--astryx-dialog-padding-inline-end,var(--astryx-dialog-padding-inline,var(--astryx-dialog-padding,max(var(--spacing-4),env(safe-area-inset-left,0px)))))}
|
|
1519
|
+
.x1jwxvv4:placeholder-shown:is(:not(:focus), :read-only):not(#\#):not(#\#):not(#\#){padding-inline-start:0}
|
|
1516
1520
|
.x19efkpl:is([dir="rtl"] *):not(#\#):not(#\#):not(#\#){padding-inline-start:max(var(--spacing-4),env(safe-area-inset-right,0px))}
|
|
1517
1521
|
.x1i7f2ot:is([dir="rtl"] *):not(#\#):not(#\#):not(#\#){padding-inline-start:var(--astryx-dialog-padding-inline-start,var(--astryx-dialog-padding-inline,var(--astryx-dialog-padding,max(var(--spacing-4),env(safe-area-inset-right,0px)))))}
|
|
1518
1522
|
.xbt4iw:focus-within:not(#\#):not(#\#):not(#\#){pointer-events:auto}
|
|
@@ -1576,12 +1580,6 @@
|
|
|
1576
1580
|
.x189zj9d:nth-child(even of :not([data-expansion-panel])):not(#\#):not(#\#):not(#\#){background-color:var(--color-background-muted)}
|
|
1577
1581
|
.xjl7jj:empty:not(#\#):not(#\#):not(#\#){display:none}
|
|
1578
1582
|
.x1e0d1ib:empty:not(#\#):not(#\#):not(#\#){padding-inline-start:0}
|
|
1579
|
-
.x1cs7wtd:placeholder-shown:not(#\#):not(#\#):not(#\#){inset-inline-start:calc(var(--spacing-1) - 1px)}
|
|
1580
|
-
.x1wg34a1:placeholder-shown:not(#\#):not(#\#):not(#\#){padding-inline-end:var(--spacing-1)}
|
|
1581
|
-
.xf0ofad:placeholder-shown:not(#\#):not(#\#):not(#\#){padding-inline-start:0}
|
|
1582
|
-
.x1utg46d:placeholder-shown:not(#\#):not(#\#):not(#\#){position:absolute}
|
|
1583
|
-
.x75j1tr:placeholder-shown:not(#\#):not(#\#):not(#\#){text-align:end}
|
|
1584
|
-
.xv6p7n0:placeholder-shown:not(#\#):not(#\#):not(#\#){transform:translateY(-50%)}
|
|
1585
1583
|
.x1c52tdz:focus:not(#\#):not(#\#):not(#\#){background-color:var(--color-overlay-hover)}
|
|
1586
1584
|
.x1rsz1da:focus:not(#\#):not(#\#):not(#\#){clip-path:none}
|
|
1587
1585
|
.xodanix:focus:not(#\#):not(#\#):not(#\#){inset-inline-start:var(--spacing-2)}
|
|
@@ -1963,7 +1961,6 @@
|
|
|
1963
1961
|
.xs7f9wi:not(#\#):not(#\#):not(#\#):not(#\#){top:2px}
|
|
1964
1962
|
.xwa60dl:not(#\#):not(#\#):not(#\#):not(#\#){top:50%}
|
|
1965
1963
|
.x1ltwjim:not(#\#):not(#\#):not(#\#):not(#\#){top:anchor(--outline-active top,0px)}
|
|
1966
|
-
.x80663w:not(#\#):not(#\#):not(#\#):not(#\#){top:auto}
|
|
1967
1964
|
.x7rbydg:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(50% - (28px / 2))}
|
|
1968
1965
|
.x1oysc8t:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--size-element-lg) / 2 - 1px)}
|
|
1969
1966
|
.xkmsrut:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--size-element-md) / 2 - 1px)}
|
|
@@ -2056,11 +2053,7 @@
|
|
|
2056
2053
|
.x1t1lzn6:last-child:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-width:0}
|
|
2057
2054
|
.xlayyun:last-child:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:calc(-1 * var(--container-padding-block-end,0px))}
|
|
2058
2055
|
.xup0pd7:last-child:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:0}
|
|
2059
|
-
.
|
|
2060
|
-
.x1o13q2w:placeholder-shown:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--size-element-lg) / 2 - 1px)}
|
|
2061
|
-
.x811pv0:placeholder-shown:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--size-element-md) / 2 - 1px)}
|
|
2062
|
-
.x1a21zuh:placeholder-shown:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--size-element-sm) / 2 - 1px)}
|
|
2063
|
-
.xbuu7xz:placeholder-shown:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(100% - calc(var(--spacing-1) - 1px) - var(--_tokenizer-end-lane-reserve,calc(var(--spacing-1) - 1px)) - 2px - 1px)}
|
|
2056
|
+
.x14dcwvw:placeholder-shown:not(#\#):not(#\#):not(#\#):not(#\#){min-width:0}
|
|
2064
2057
|
.x15cytp8:focus:not(#\#):not(#\#):not(#\#):not(#\#){height:auto}
|
|
2065
2058
|
.x1rw3289:focus:not(#\#):not(#\#):not(#\#):not(#\#){top:var(--spacing-2)}
|
|
2066
2059
|
.x1jqxupm:focus:not(#\#):not(#\#):not(#\#):not(#\#){width:auto}
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -6,56 +6,56 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header
|
|
8
8
|
*/
|
|
9
|
-
export { hasActiveFocusTrapEscape, useFocusTrap } from './useFocusTrap';
|
|
10
|
-
export type { UseFocusTrapOptions, UseFocusTrapReturn } from './useFocusTrap';
|
|
11
|
-
export { useAnnounce } from './useAnnounce';
|
|
12
|
-
export type { AnnounceFn, AnnouncePoliteness } from './useAnnounce';
|
|
13
|
-
export { useClipboard } from './useClipboard';
|
|
14
|
-
export type { UseClipboardOptions, UseClipboardReturn } from './useClipboard';
|
|
15
|
-
export { useGridFocus } from './useGridFocus';
|
|
16
|
-
export type { UseGridFocusOptions, UseGridFocusReturn } from './useGridFocus';
|
|
17
|
-
export { useListFocus } from './useListFocus';
|
|
18
|
-
export type { UseListFocusOptions, UseListFocusReturn, ListFocusOrientation, } from './useListFocus';
|
|
19
|
-
export { useTreeFocus } from './useTreeFocus';
|
|
20
|
-
export type { UseTreeFocusOptions, UseTreeFocusReturn } from './useTreeFocus';
|
|
21
|
-
export { useHotkeys } from './useHotkeys';
|
|
22
|
-
export type { Hotkey } from './useHotkeys';
|
|
23
|
-
export { useTypeahead } from './useTypeahead';
|
|
24
|
-
export { useMenuPress, MENU_PRESS_MARKER, isMenuPressActivation, } from './useMenuPress';
|
|
25
|
-
export type { UseMenuPressOptions, UseMenuPressReturn } from './useMenuPress';
|
|
26
|
-
export { menuPressStep, MENU_PRESS_SETTLE_MS } from './menuPressGesture';
|
|
27
|
-
export type { MenuPressEffect, MenuPressEvent, MenuPressGesture, MenuPressPointerType, MenuPressStep, } from './menuPressGesture';
|
|
28
|
-
export { useKeyboardHint } from './useKeyboardHint';
|
|
29
|
-
export type { UseKeyboardHintOptions, UseKeyboardHintReturn, KeyboardHintOrientation, } from './useKeyboardHint';
|
|
30
|
-
export type { UseTypeaheadOptions, UseTypeaheadReturn } from './useTypeahead';
|
|
31
|
-
export { useMediaQuery } from './useMediaQuery';
|
|
32
|
-
export { useMergedRefs } from './useMergedRefs';
|
|
33
|
-
export { useOverflow } from './useOverflow';
|
|
34
|
-
export type { UseOverflowOptions, UseOverflowReturn } from './useOverflow';
|
|
35
|
-
export { useScrollOverflow } from './useScrollOverflow';
|
|
36
|
-
export type { ScrollOverflowState } from './useScrollOverflow';
|
|
37
|
-
export { useScrollableArea } from './useScrollableArea';
|
|
38
|
-
export type { ScrollAxis, ScrollAxisState, ScrollOverscroll, ScrollStickyContainment, ScrollKeyboardAccess, ScrollableAreaState, ScrollableElementProps, UseScrollableAreaOptions, UseScrollableAreaResult, } from './useScrollableArea';
|
|
39
|
-
export { useScrollLock } from './useScrollLock';
|
|
40
|
-
export { useEntryAnimation } from './useEntryAnimation';
|
|
41
|
-
export type { EntryAnimationPreset } from './useEntryAnimation';
|
|
42
|
-
export { useStreamingText } from './useStreamingText';
|
|
43
|
-
export type { StreamingTextSpeed, UseStreamingTextOptions, } from './useStreamingText';
|
|
44
|
-
export { useImageMode } from './useImageMode';
|
|
45
|
-
export type { ImageSampleRegion, UseImageModeOptions } from './useImageMode';
|
|
46
|
-
export { useClickableContainer, INTERACTIVE_SELECTORS, hasInteractiveAncestor, hasTextSelection, } from './useClickableContainer';
|
|
47
|
-
export type { UseClickableContainerOptions, ClickableContainerResult, } from './useClickableContainer';
|
|
48
|
-
export { useInputContainer } from './useInputContainer';
|
|
49
|
-
export type { UseInputContainerOptions } from './useInputContainer';
|
|
50
|
-
export { useInputStatusIcon } from './useInputStatusIcon';
|
|
51
|
-
export type { UseInputStatusIconOptions, UseInputStatusIconReturn, } from './useInputStatusIcon';
|
|
52
|
-
export { useInteractiveRole } from './useInteractiveRole';
|
|
53
|
-
export type { InteractiveRole, UseInteractiveRoleOptions, } from './useInteractiveRole';
|
|
54
|
-
export { useLongPress } from './useLongPress';
|
|
55
|
-
export type { UseLongPressOptions, UseLongPressHandlers } from './useLongPress';
|
|
56
|
-
export { usePressFeedback } from './usePressFeedback';
|
|
57
|
-
export { useDevWarning } from './useDevWarning';
|
|
58
|
-
export { useIndicatorFocusRing } from './useIndicatorFocusRing';
|
|
59
|
-
export { useContainerReveal } from './useContainerReveal';
|
|
60
|
-
export type { UseContainerRevealOptions, UseContainerRevealReturn, ContainerRevealOptions, ContentRevealOptions, } from './useContainerReveal';
|
|
9
|
+
export { hasActiveFocusTrapEscape, useFocusTrap } from './useFocusTrap.js';
|
|
10
|
+
export type { UseFocusTrapOptions, UseFocusTrapReturn } from './useFocusTrap.js';
|
|
11
|
+
export { useAnnounce } from './useAnnounce.js';
|
|
12
|
+
export type { AnnounceFn, AnnouncePoliteness } from './useAnnounce.js';
|
|
13
|
+
export { useClipboard } from './useClipboard.js';
|
|
14
|
+
export type { UseClipboardOptions, UseClipboardReturn } from './useClipboard.js';
|
|
15
|
+
export { useGridFocus } from './useGridFocus.js';
|
|
16
|
+
export type { UseGridFocusOptions, UseGridFocusReturn } from './useGridFocus.js';
|
|
17
|
+
export { useListFocus } from './useListFocus.js';
|
|
18
|
+
export type { UseListFocusOptions, UseListFocusReturn, ListFocusOrientation, } from './useListFocus.js';
|
|
19
|
+
export { useTreeFocus } from './useTreeFocus.js';
|
|
20
|
+
export type { UseTreeFocusOptions, UseTreeFocusReturn } from './useTreeFocus.js';
|
|
21
|
+
export { useHotkeys } from './useHotkeys.js';
|
|
22
|
+
export type { Hotkey } from './useHotkeys.js';
|
|
23
|
+
export { useTypeahead } from './useTypeahead.js';
|
|
24
|
+
export { useMenuPress, MENU_PRESS_MARKER, isMenuPressActivation, } from './useMenuPress.js';
|
|
25
|
+
export type { UseMenuPressOptions, UseMenuPressReturn } from './useMenuPress.js';
|
|
26
|
+
export { menuPressStep, MENU_PRESS_SETTLE_MS } from './menuPressGesture.js';
|
|
27
|
+
export type { MenuPressEffect, MenuPressEvent, MenuPressGesture, MenuPressPointerType, MenuPressStep, } from './menuPressGesture.js';
|
|
28
|
+
export { useKeyboardHint } from './useKeyboardHint.js';
|
|
29
|
+
export type { UseKeyboardHintOptions, UseKeyboardHintReturn, KeyboardHintOrientation, } from './useKeyboardHint.js';
|
|
30
|
+
export type { UseTypeaheadOptions, UseTypeaheadReturn } from './useTypeahead.js';
|
|
31
|
+
export { useMediaQuery } from './useMediaQuery.js';
|
|
32
|
+
export { useMergedRefs } from './useMergedRefs.js';
|
|
33
|
+
export { useOverflow } from './useOverflow.js';
|
|
34
|
+
export type { UseOverflowOptions, UseOverflowReturn } from './useOverflow.js';
|
|
35
|
+
export { useScrollOverflow } from './useScrollOverflow.js';
|
|
36
|
+
export type { ScrollOverflowState } from './useScrollOverflow.js';
|
|
37
|
+
export { useScrollableArea } from './useScrollableArea.js';
|
|
38
|
+
export type { ScrollAxis, ScrollAxisState, ScrollOverscroll, ScrollStickyContainment, ScrollKeyboardAccess, ScrollableAreaState, ScrollableElementProps, UseScrollableAreaOptions, UseScrollableAreaResult, } from './useScrollableArea.js';
|
|
39
|
+
export { useScrollLock } from './useScrollLock.js';
|
|
40
|
+
export { useEntryAnimation } from './useEntryAnimation.js';
|
|
41
|
+
export type { EntryAnimationPreset } from './useEntryAnimation.js';
|
|
42
|
+
export { useStreamingText } from './useStreamingText.js';
|
|
43
|
+
export type { StreamingTextSpeed, UseStreamingTextOptions, } from './useStreamingText.js';
|
|
44
|
+
export { useImageMode } from './useImageMode.js';
|
|
45
|
+
export type { ImageSampleRegion, UseImageModeOptions } from './useImageMode.js';
|
|
46
|
+
export { useClickableContainer, INTERACTIVE_SELECTORS, hasInteractiveAncestor, hasTextSelection, } from './useClickableContainer.js';
|
|
47
|
+
export type { UseClickableContainerOptions, ClickableContainerResult, } from './useClickableContainer.js';
|
|
48
|
+
export { useInputContainer } from './useInputContainer.js';
|
|
49
|
+
export type { UseInputContainerOptions } from './useInputContainer.js';
|
|
50
|
+
export { useInputStatusIcon } from './useInputStatusIcon.js';
|
|
51
|
+
export type { UseInputStatusIconOptions, UseInputStatusIconReturn, } from './useInputStatusIcon.js';
|
|
52
|
+
export { useInteractiveRole } from './useInteractiveRole.js';
|
|
53
|
+
export type { InteractiveRole, UseInteractiveRoleOptions, } from './useInteractiveRole.js';
|
|
54
|
+
export { useLongPress } from './useLongPress.js';
|
|
55
|
+
export type { UseLongPressOptions, UseLongPressHandlers } from './useLongPress.js';
|
|
56
|
+
export { usePressFeedback } from './usePressFeedback.js';
|
|
57
|
+
export { useDevWarning } from './useDevWarning.js';
|
|
58
|
+
export { useIndicatorFocusRing } from './useIndicatorFocusRing.js';
|
|
59
|
+
export { useContainerReveal } from './useContainerReveal.js';
|
|
60
|
+
export type { UseContainerRevealOptions, UseContainerRevealReturn, ContainerRevealOptions, ContentRevealOptions, } from './useContainerReveal.js';
|
|
61
61
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RefObject } from 'react';
|
|
2
|
-
import type { RGBA } from '../utils/color';
|
|
2
|
+
import type { RGBA } from '../utils/color.js';
|
|
3
3
|
/** A surface luminance context, or `"off"` when no media context is wanted. */
|
|
4
4
|
export type DetectedMediaMode = 'dark' | 'light' | 'off';
|
|
5
5
|
/**
|
|
@@ -44,5 +44,5 @@ export interface UseInputContainerOptions {
|
|
|
44
44
|
* );
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
export declare function useInputContainer({ containerRef, inputRef, disabled, }: UseInputContainerOptions): import("./useClickableContainer").ClickableContainerResult;
|
|
47
|
+
export declare function useInputContainer({ containerRef, inputRef, disabled, }: UseInputContainerOptions): import("./useClickableContainer.js").ClickableContainerResult;
|
|
48
48
|
//# sourceMappingURL=useInputContainer.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import { type IconSize } from '../Icon';
|
|
3
|
-
import type { FieldStatusVariant } from '../FieldStatus/FieldStatus';
|
|
4
|
-
import type { InputStatus } from '../Field/types';
|
|
2
|
+
import { type IconSize } from '../Icon/index.js';
|
|
3
|
+
import type { FieldStatusVariant } from '../FieldStatus/FieldStatus.js';
|
|
4
|
+
import type { InputStatus } from '../Field/types.js';
|
|
5
5
|
export interface UseInputStatusIconOptions {
|
|
6
6
|
/** The input's status, or undefined when there is none. */
|
|
7
7
|
status?: InputStatus;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
* - /packages/core/src/hooks/menuPressGesture.ts
|
|
44
44
|
*/
|
|
45
45
|
import { type RefObject } from 'react';
|
|
46
|
-
import { type MenuPressPointerType } from './menuPressGesture';
|
|
46
|
+
import { type MenuPressPointerType } from './menuPressGesture.js';
|
|
47
47
|
/** Marks a menu root that carries this press model. */
|
|
48
48
|
export declare const MENU_PRESS_MARKER = "data-astryx-menu-press";
|
|
49
49
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* - /packages/core/src/hooks/index.ts
|
|
11
11
|
*/
|
|
12
12
|
import { type RefAttributes } from 'react';
|
|
13
|
-
import type { BaseProps } from '../BaseProps';
|
|
13
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
14
14
|
export type ScrollAxis = 'inline' | 'block' | 'both';
|
|
15
15
|
export type ScrollOverscroll = 'allow' | 'contain';
|
|
16
16
|
export type ScrollStickyContainment = 'whenScrollable' | 'always';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getResolve } from './resolve';
|
|
2
|
-
import type { Locale, MessagesByLocale, Overrides } from './types';
|
|
1
|
+
import { getResolve } from './resolve.js';
|
|
2
|
+
import type { Locale, MessagesByLocale, Overrides } from './types.js';
|
|
3
3
|
export interface InternationalizationContextValue {
|
|
4
4
|
locale: Locale;
|
|
5
5
|
direction: 'ltr' | 'rtl';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* - /packages/core/src/i18n/InternationalizationProvider.doc.mjs
|
|
16
16
|
*/
|
|
17
17
|
import { type ReactNode } from 'react';
|
|
18
|
-
import type { Locale, Overrides, ProviderMessagesByLocale } from './types';
|
|
18
|
+
import type { Locale, Overrides, ProviderMessagesByLocale } from './types.js';
|
|
19
19
|
export interface InternationalizationProviderProps {
|
|
20
20
|
/**
|
|
21
21
|
* BCP 47 language tag. Examples: `'en'`, `'pt'`, `'pt-BR'`, `'zh-Hans'`.
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
* - /packages/core/src/i18n/useDirection.ts
|
|
22
22
|
* - /packages/core/src/i18n/getLocaleDirection.ts
|
|
23
23
|
*/
|
|
24
|
-
export { InternationalizationProvider } from './InternationalizationProvider';
|
|
25
|
-
export type { InternationalizationProviderProps } from './InternationalizationProvider';
|
|
26
|
-
export { InternationalizationContext } from './InternationalizationContext';
|
|
27
|
-
export type { InternationalizationContextValue } from './InternationalizationContext';
|
|
28
|
-
export { useTranslator } from './useTranslator';
|
|
29
|
-
export type { TranslatorFn } from './useTranslator';
|
|
30
|
-
export { useLocale } from './useLocale';
|
|
31
|
-
export { useCollator } from './useCollator';
|
|
32
|
-
export { useDirection } from './useDirection';
|
|
33
|
-
export { getLocaleDirection } from './getLocaleDirection';
|
|
34
|
-
export type { Translator } from './translator';
|
|
35
|
-
export type { Locale, Catalog, MessageEntry, RuntimeCatalog, MessagesByLocale, ProviderMessagesByLocale, Overrides, } from './types';
|
|
24
|
+
export { InternationalizationProvider } from './InternationalizationProvider.js';
|
|
25
|
+
export type { InternationalizationProviderProps } from './InternationalizationProvider.js';
|
|
26
|
+
export { InternationalizationContext } from './InternationalizationContext.js';
|
|
27
|
+
export type { InternationalizationContextValue } from './InternationalizationContext.js';
|
|
28
|
+
export { useTranslator } from './useTranslator.js';
|
|
29
|
+
export type { TranslatorFn } from './useTranslator.js';
|
|
30
|
+
export { useLocale } from './useLocale.js';
|
|
31
|
+
export { useCollator } from './useCollator.js';
|
|
32
|
+
export { useDirection } from './useDirection.js';
|
|
33
|
+
export { getLocaleDirection } from './getLocaleDirection.js';
|
|
34
|
+
export type { Translator } from './translator.js';
|
|
35
|
+
export type { Locale, Catalog, MessageEntry, RuntimeCatalog, MessagesByLocale, ProviderMessagesByLocale, Overrides, } from './types.js';
|
|
36
36
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/i18n/resolve.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Locale, Overrides, ProviderMessagesByLocale } from './types';
|
|
1
|
+
import type { Locale, Overrides, ProviderMessagesByLocale } from './types.js';
|
|
2
2
|
/**
|
|
3
3
|
* Walk a BCP 47 tag from most-specific to least-specific.
|
|
4
4
|
* Input is canonicalized via `Intl.Locale.baseName` so `pt-br` and `PT-BR`
|
package/dist/i18n/useLocale.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -6,115 +6,115 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/README.md
|
|
8
8
|
*/
|
|
9
|
-
export type { BaseProps } from './BaseProps';
|
|
10
|
-
export * from './AppShell';
|
|
11
|
-
export * from './AspectRatio';
|
|
12
|
-
export * from './Avatar';
|
|
13
|
-
export * from './AvatarGroup';
|
|
14
|
-
export * from './Badge';
|
|
15
|
-
export * from './Banner';
|
|
16
|
-
export * from './Blockquote';
|
|
17
|
-
export * from './BottomSheet';
|
|
18
|
-
export * from './Breadcrumbs';
|
|
19
|
-
export * from './Button';
|
|
20
|
-
export * from './ButtonGroup';
|
|
21
|
-
export * from './IconButton';
|
|
22
|
-
export * from './Card';
|
|
23
|
-
export * from './ClickableCard';
|
|
24
|
-
export * from './Carousel';
|
|
25
|
-
export * from './Calendar';
|
|
26
|
-
export * from './Center';
|
|
27
|
-
export * from './CodeBlock';
|
|
28
|
-
export * from './CommandPalette';
|
|
29
|
-
export * from './ComplexSelector';
|
|
30
|
-
export * from './Chat';
|
|
31
|
-
export * from './Markdown';
|
|
32
|
-
export * from './Citation';
|
|
33
|
-
export * from './CheckboxInput';
|
|
34
|
-
export * from './CheckboxList';
|
|
35
|
-
export * from './Collapsible';
|
|
36
|
-
export * from './RadioList';
|
|
37
|
-
export * from './Resizable';
|
|
38
|
-
export * from './ScrollableArea';
|
|
39
|
-
export * from './Divider';
|
|
40
|
-
export * from './VisuallyHidden';
|
|
41
|
-
export * from './EmptyState';
|
|
42
|
-
export * from './Lightbox';
|
|
43
|
-
export * from './Link';
|
|
44
|
-
export * from './List';
|
|
45
|
-
export * from './MetadataList';
|
|
46
|
-
export * from './NavIcon';
|
|
47
|
-
export * from './NavMenu';
|
|
48
|
-
export * from './Slider';
|
|
49
|
-
export * from './Stack';
|
|
50
|
-
export * from './Stepper';
|
|
51
|
-
export * from './Switch';
|
|
52
|
-
export * from './DateInput';
|
|
53
|
-
export * from './DateTimeInput';
|
|
54
|
-
export * from './DateRangeInput';
|
|
55
|
-
export * from './Field';
|
|
56
|
-
export * from './FileInput';
|
|
57
|
-
export * from './FormLayout';
|
|
58
|
-
export * from './Grid';
|
|
59
|
-
export * from './Section';
|
|
60
|
-
export * from './SegmentedControl';
|
|
61
|
-
export * from './SelectableCard';
|
|
62
|
-
export * from './Selector';
|
|
63
|
-
export * from './MultiSelector';
|
|
64
|
-
export * from './Icon';
|
|
65
|
-
export * from './Indicator';
|
|
66
|
-
export * from './InputGroup';
|
|
67
|
-
export * from './Item';
|
|
68
|
-
export * from './Text';
|
|
69
|
-
export * from './TextInput';
|
|
70
|
-
export * from './TabList';
|
|
71
|
-
export * from './TextArea';
|
|
72
|
-
export * from './TimeInput';
|
|
73
|
-
export * from './NumberInput';
|
|
74
|
-
export * from './Table';
|
|
75
|
-
export * from './ToggleButton';
|
|
76
|
-
export * from './Token';
|
|
77
|
-
export * from './Typeahead';
|
|
78
|
-
export * from './Tokenizer';
|
|
79
|
-
export * from './Thumbnail';
|
|
80
|
-
export * from './PowerSearch';
|
|
81
|
-
export * from './TreeList';
|
|
82
|
-
export * from './Kbd';
|
|
83
|
-
export * from './AlertDialog';
|
|
84
|
-
export * from './Dialog';
|
|
85
|
-
export * from './ContextMenu';
|
|
86
|
-
export * from './DropdownMenu';
|
|
87
|
-
export * from './Drawer';
|
|
88
|
-
export * from './MoreMenu';
|
|
89
|
-
export * from './InteractiveRoleContext';
|
|
90
|
-
export * from './SizeContext';
|
|
91
|
-
export * from './Toolbar';
|
|
92
|
-
export * from './TopNav';
|
|
93
|
-
export * from './SideNav';
|
|
94
|
-
export * from './MobileNav';
|
|
95
|
-
export * from './Pagination';
|
|
96
|
-
export * from './ProgressBar';
|
|
97
|
-
export * from './Layout';
|
|
98
|
-
export { useLayer } from './Layer';
|
|
99
|
-
export type { LayerAlignment, LayerPlacement, ContextRenderProps, FixedRenderProps, ContextLayerOptions, FixedLayerOptions, ContextLayerReturn, FixedLayerReturn, } from './Layer';
|
|
100
|
-
export { LayerProvider } from './Layer';
|
|
101
|
-
export type { LayerProviderProps, LayerInset, LayerToastConfig } from './Layer';
|
|
102
|
-
export { Toast, useToast } from './Toast';
|
|
103
|
-
export type { ToastProps, ToastType, ToastPosition, ToastCollisionBehavior, ToastDismissReason, ToastOptions, ToastDismissFn, ShowToastFn, ToastContentRenderProps, ToastContentRenderFn, } from './Toast';
|
|
104
|
-
export * from './Popover';
|
|
105
|
-
export * from './HoverCard';
|
|
106
|
-
export * from './Tooltip';
|
|
107
|
-
export * from './Skeleton';
|
|
108
|
-
export * from './StatusDot';
|
|
109
|
-
export * from './Spinner';
|
|
110
|
-
export * from './Timestamp';
|
|
111
|
-
export * from './Timer';
|
|
112
|
-
export * from './Overlay';
|
|
113
|
-
export * from './Outline';
|
|
114
|
-
export * from './OverflowList';
|
|
115
|
-
export * from './hooks';
|
|
116
|
-
export * from './utils';
|
|
117
|
-
export type { TextColorMap } from './Text';
|
|
118
|
-
export * from './theme';
|
|
119
|
-
export * from './i18n';
|
|
9
|
+
export type { BaseProps } from './BaseProps.js';
|
|
10
|
+
export * from './AppShell/index.js';
|
|
11
|
+
export * from './AspectRatio/index.js';
|
|
12
|
+
export * from './Avatar/index.js';
|
|
13
|
+
export * from './AvatarGroup/index.js';
|
|
14
|
+
export * from './Badge/index.js';
|
|
15
|
+
export * from './Banner/index.js';
|
|
16
|
+
export * from './Blockquote/index.js';
|
|
17
|
+
export * from './BottomSheet/index.js';
|
|
18
|
+
export * from './Breadcrumbs/index.js';
|
|
19
|
+
export * from './Button/index.js';
|
|
20
|
+
export * from './ButtonGroup/index.js';
|
|
21
|
+
export * from './IconButton/index.js';
|
|
22
|
+
export * from './Card/index.js';
|
|
23
|
+
export * from './ClickableCard/index.js';
|
|
24
|
+
export * from './Carousel/index.js';
|
|
25
|
+
export * from './Calendar/index.js';
|
|
26
|
+
export * from './Center/index.js';
|
|
27
|
+
export * from './CodeBlock/index.js';
|
|
28
|
+
export * from './CommandPalette/index.js';
|
|
29
|
+
export * from './ComplexSelector/index.js';
|
|
30
|
+
export * from './Chat/index.js';
|
|
31
|
+
export * from './Markdown/index.js';
|
|
32
|
+
export * from './Citation/index.js';
|
|
33
|
+
export * from './CheckboxInput/index.js';
|
|
34
|
+
export * from './CheckboxList/index.js';
|
|
35
|
+
export * from './Collapsible/index.js';
|
|
36
|
+
export * from './RadioList/index.js';
|
|
37
|
+
export * from './Resizable/index.js';
|
|
38
|
+
export * from './ScrollableArea/index.js';
|
|
39
|
+
export * from './Divider/index.js';
|
|
40
|
+
export * from './VisuallyHidden/index.js';
|
|
41
|
+
export * from './EmptyState/index.js';
|
|
42
|
+
export * from './Lightbox/index.js';
|
|
43
|
+
export * from './Link/index.js';
|
|
44
|
+
export * from './List/index.js';
|
|
45
|
+
export * from './MetadataList/index.js';
|
|
46
|
+
export * from './NavIcon/index.js';
|
|
47
|
+
export * from './NavMenu/index.js';
|
|
48
|
+
export * from './Slider/index.js';
|
|
49
|
+
export * from './Stack/index.js';
|
|
50
|
+
export * from './Stepper/index.js';
|
|
51
|
+
export * from './Switch/index.js';
|
|
52
|
+
export * from './DateInput/index.js';
|
|
53
|
+
export * from './DateTimeInput/index.js';
|
|
54
|
+
export * from './DateRangeInput/index.js';
|
|
55
|
+
export * from './Field/index.js';
|
|
56
|
+
export * from './FileInput/index.js';
|
|
57
|
+
export * from './FormLayout/index.js';
|
|
58
|
+
export * from './Grid/index.js';
|
|
59
|
+
export * from './Section/index.js';
|
|
60
|
+
export * from './SegmentedControl/index.js';
|
|
61
|
+
export * from './SelectableCard/index.js';
|
|
62
|
+
export * from './Selector/index.js';
|
|
63
|
+
export * from './MultiSelector/index.js';
|
|
64
|
+
export * from './Icon/index.js';
|
|
65
|
+
export * from './Indicator/index.js';
|
|
66
|
+
export * from './InputGroup/index.js';
|
|
67
|
+
export * from './Item/index.js';
|
|
68
|
+
export * from './Text/index.js';
|
|
69
|
+
export * from './TextInput/index.js';
|
|
70
|
+
export * from './TabList/index.js';
|
|
71
|
+
export * from './TextArea/index.js';
|
|
72
|
+
export * from './TimeInput/index.js';
|
|
73
|
+
export * from './NumberInput/index.js';
|
|
74
|
+
export * from './Table/index.js';
|
|
75
|
+
export * from './ToggleButton/index.js';
|
|
76
|
+
export * from './Token/index.js';
|
|
77
|
+
export * from './Typeahead/index.js';
|
|
78
|
+
export * from './Tokenizer/index.js';
|
|
79
|
+
export * from './Thumbnail/index.js';
|
|
80
|
+
export * from './PowerSearch/index.js';
|
|
81
|
+
export * from './TreeList/index.js';
|
|
82
|
+
export * from './Kbd/index.js';
|
|
83
|
+
export * from './AlertDialog/index.js';
|
|
84
|
+
export * from './Dialog/index.js';
|
|
85
|
+
export * from './ContextMenu/index.js';
|
|
86
|
+
export * from './DropdownMenu/index.js';
|
|
87
|
+
export * from './Drawer/index.js';
|
|
88
|
+
export * from './MoreMenu/index.js';
|
|
89
|
+
export * from './InteractiveRoleContext/index.js';
|
|
90
|
+
export * from './SizeContext/index.js';
|
|
91
|
+
export * from './Toolbar/index.js';
|
|
92
|
+
export * from './TopNav/index.js';
|
|
93
|
+
export * from './SideNav/index.js';
|
|
94
|
+
export * from './MobileNav/index.js';
|
|
95
|
+
export * from './Pagination/index.js';
|
|
96
|
+
export * from './ProgressBar/index.js';
|
|
97
|
+
export * from './Layout/index.js';
|
|
98
|
+
export { useLayer } from './Layer/index.js';
|
|
99
|
+
export type { LayerAlignment, LayerPlacement, ContextRenderProps, FixedRenderProps, ContextLayerOptions, FixedLayerOptions, ContextLayerReturn, FixedLayerReturn, } from './Layer/index.js';
|
|
100
|
+
export { LayerProvider } from './Layer/index.js';
|
|
101
|
+
export type { LayerProviderProps, LayerInset, LayerToastConfig } from './Layer/index.js';
|
|
102
|
+
export { Toast, useToast } from './Toast/index.js';
|
|
103
|
+
export type { ToastProps, ToastType, ToastPosition, ToastCollisionBehavior, ToastDismissReason, ToastOptions, ToastDismissFn, ShowToastFn, ToastContentRenderProps, ToastContentRenderFn, } from './Toast/index.js';
|
|
104
|
+
export * from './Popover/index.js';
|
|
105
|
+
export * from './HoverCard/index.js';
|
|
106
|
+
export * from './Tooltip/index.js';
|
|
107
|
+
export * from './Skeleton/index.js';
|
|
108
|
+
export * from './StatusDot/index.js';
|
|
109
|
+
export * from './Spinner/index.js';
|
|
110
|
+
export * from './Timestamp/index.js';
|
|
111
|
+
export * from './Timer/index.js';
|
|
112
|
+
export * from './Overlay/index.js';
|
|
113
|
+
export * from './Outline/index.js';
|
|
114
|
+
export * from './OverflowList/index.js';
|
|
115
|
+
export * from './hooks/index.js';
|
|
116
|
+
export * from './utils/index.js';
|
|
117
|
+
export type { TextColorMap } from './Text/index.js';
|
|
118
|
+
export * from './theme/index.js';
|
|
119
|
+
export * from './i18n/index.js';
|
|
120
120
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/theme/Theme.d.ts
CHANGED
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
33
|
import React from 'react';
|
|
34
|
-
import type { ThemeMode } from './types';
|
|
35
|
-
import { type DefinedTheme } from './defineTheme';
|
|
34
|
+
import type { ThemeMode } from './types.js';
|
|
35
|
+
import { type DefinedTheme } from './defineTheme.js';
|
|
36
36
|
/**
|
|
37
37
|
* Theme provider props
|
|
38
38
|
*/
|
package/dist/theme/contrast.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* ratio is measured — a translucent token has no contrast of its own,
|
|
14
14
|
* only against what it renders on.
|
|
15
15
|
*/
|
|
16
|
-
import type { RGBA } from '../utils/color';
|
|
16
|
+
import type { RGBA } from '../utils/color.js';
|
|
17
17
|
/**
|
|
18
18
|
* WCAG 2.x relative luminance of an sRGB color (alpha ignored).
|
|
19
19
|
* 0 = black, 1 = white.
|