@astryxdesign/core 0.7.4 → 0.7.5-canary.04434e7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/AlertDialog.d.ts +2 -2
- package/dist/AlertDialog/index.d.ts +4 -4
- package/dist/AlertDialog/useImperativeAlertDialog.d.ts +1 -1
- package/dist/AppShell/AppShell.d.ts +4 -4
- package/dist/AppShell/index.d.ts +4 -4
- package/dist/AspectRatio/AspectRatio.d.ts +1 -1
- package/dist/AspectRatio/index.d.ts +2 -2
- package/dist/Avatar/Avatar.d.ts +2 -2
- package/dist/Avatar/AvatarStatusDot.d.ts +2 -2
- package/dist/Avatar/index.d.ts +4 -4
- package/dist/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/dist/AvatarGroup/AvatarGroupContext.d.ts +1 -1
- package/dist/AvatarGroup/AvatarGroupOverflow.d.ts +1 -1
- package/dist/AvatarGroup/index.d.ts +6 -6
- package/dist/Badge/Badge.d.ts +2 -2
- package/dist/Badge/index.d.ts +2 -2
- package/dist/Banner/Banner.d.ts +4 -4
- package/dist/Banner/index.d.ts +2 -2
- package/dist/Blockquote/Blockquote.d.ts +1 -1
- package/dist/Blockquote/index.d.ts +2 -2
- package/dist/BottomSheet/BottomSheet.d.ts +10 -6
- package/dist/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/BottomSheet/BottomSheet.js +12 -1
- package/dist/BottomSheet/BottomSheetPanel.d.ts +3 -3
- package/dist/BottomSheet/BottomSheetSwitcher.d.ts +1 -1
- package/dist/BottomSheet/BottomSheetSwitcherContext.d.ts +2 -2
- package/dist/BottomSheet/index.d.ts +4 -4
- package/dist/Breadcrumbs/BreadcrumbItem.d.ts +4 -4
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/Breadcrumbs/index.d.ts +12 -12
- package/dist/Button/Button.d.ts +4 -4
- package/dist/Button/index.d.ts +2 -2
- package/dist/ButtonGroup/ButtonGroup.d.ts +4 -4
- package/dist/ButtonGroup/index.d.ts +4 -4
- package/dist/Calendar/Calendar.d.ts +3 -3
- package/dist/Calendar/dayCellUtils.d.ts +1 -1
- package/dist/Calendar/getInitialFocusDate.d.ts +2 -2
- package/dist/Calendar/getStandaloneShortWeekdayNames.d.ts +1 -1
- package/dist/Calendar/hooks/index.d.ts +6 -6
- package/dist/Calendar/hooks/useCalendarConstraints.d.ts +2 -2
- package/dist/Calendar/hooks/useCalendarDays.d.ts +2 -2
- package/dist/Calendar/hooks/useCalendarNavigation.d.ts +2 -2
- package/dist/Calendar/index.d.ts +5 -5
- package/dist/Calendar/utils.d.ts +1 -1
- package/dist/Card/Card.d.ts +4 -4
- package/dist/Card/index.d.ts +2 -2
- package/dist/Carousel/Carousel.d.ts +2 -2
- package/dist/Carousel/index.d.ts +2 -2
- package/dist/Center/Center.d.ts +2 -2
- package/dist/Center/index.d.ts +2 -2
- package/dist/Chat/ChatComposer.d.ts +1 -1
- package/dist/Chat/ChatComposerDrawer.d.ts +1 -1
- package/dist/Chat/ChatComposerInput.d.ts +4 -4
- package/dist/Chat/ChatDictationButton.d.ts +2 -2
- package/dist/Chat/ChatLayout.d.ts +1 -1
- package/dist/Chat/ChatLayoutScrollButton.d.ts +1 -1
- package/dist/Chat/ChatMessage.d.ts +2 -2
- package/dist/Chat/ChatMessageBubble.d.ts +2 -2
- package/dist/Chat/ChatMessageList.d.ts +3 -3
- package/dist/Chat/ChatMessageMetadata.d.ts +1 -1
- package/dist/Chat/ChatSendButton.d.ts +1 -1
- package/dist/Chat/ChatSystemMessage.d.ts +1 -1
- package/dist/Chat/ChatTokenizedText.d.ts +2 -2
- package/dist/Chat/ChatToolCalls.d.ts +1 -1
- package/dist/Chat/index.d.ts +43 -43
- package/dist/Chat/useChatComposerTokens.d.ts +1 -1
- package/dist/Chat/useChatDictation.d.ts +1 -1
- package/dist/Chat/useChatPasteAsToken.d.ts +1 -1
- package/dist/Chat/useTriggerMenu.d.ts +2 -2
- package/dist/CheckboxInput/CheckboxInput.d.ts +4 -4
- package/dist/CheckboxInput/index.d.ts +2 -2
- package/dist/CheckboxList/CheckboxList.d.ts +4 -4
- package/dist/CheckboxList/CheckboxListItem.d.ts +2 -2
- package/dist/CheckboxList/index.d.ts +4 -4
- package/dist/Citation/Citation.d.ts +1 -1
- package/dist/Citation/index.d.ts +2 -2
- package/dist/ClickableCard/ClickableCard.d.ts +3 -3
- package/dist/ClickableCard/index.d.ts +2 -2
- package/dist/Code/Code.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/CodeBlock/CodeBlock.d.ts +2 -2
- package/dist/CodeBlock/highlightRanges.d.ts +1 -1
- package/dist/CodeBlock/index.d.ts +8 -8
- package/dist/Collapsible/Collapsible.d.ts +2 -2
- package/dist/Collapsible/CollapsibleGroup.d.ts +2 -2
- package/dist/Collapsible/index.d.ts +7 -7
- package/dist/CommandPalette/CommandPalette.d.ts +2 -2
- package/dist/CommandPalette/CommandPaletteContext.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteEmpty.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteFooter.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteGroup.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteInput.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteItem.d.ts +1 -1
- package/dist/CommandPalette/CommandPaletteList.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +16 -16
- package/dist/ComplexSelector/ComplexSelector.d.ts +5 -5
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ContextMenu/ContextMenu.d.ts +4 -4
- package/dist/ContextMenu/index.d.ts +9 -9
- package/dist/DateInput/DateInput.d.ts +7 -7
- package/dist/DateInput/MonthScroller.d.ts +1 -1
- package/dist/DateInput/NativeDateField.d.ts +1 -1
- package/dist/DateInput/TouchDateField.d.ts +1 -1
- package/dist/DateInput/Wheel.d.ts.map +1 -1
- package/dist/DateInput/Wheel.js +1 -1
- package/dist/DateInput/index.d.ts +2 -2
- package/dist/DateInput/monthGeometry.d.ts +1 -1
- package/dist/DateRangeInput/DateRangeInput.d.ts +6 -6
- package/dist/DateRangeInput/index.d.ts +2 -2
- package/dist/DateTimeInput/DateTimeInput.d.ts +6 -6
- package/dist/DateTimeInput/NativeDateSegment.d.ts +3 -3
- package/dist/DateTimeInput/NativeTimeSegment.d.ts +4 -4
- package/dist/DateTimeInput/TouchDateTimeField.d.ts +1 -1
- package/dist/DateTimeInput/index.d.ts +2 -2
- package/dist/Dialog/Dialog.d.ts +3 -3
- package/dist/Dialog/DialogHeader.d.ts +1 -1
- package/dist/Dialog/index.d.ts +6 -6
- package/dist/Dialog/useImperativeDialog.d.ts +1 -1
- package/dist/Divider/Divider.d.ts +2 -2
- package/dist/Divider/index.d.ts +2 -2
- package/dist/Drawer/Drawer.d.ts +3 -3
- package/dist/Drawer/DrawerHeader.d.ts +1 -1
- package/dist/Drawer/index.d.ts +4 -4
- package/dist/DropdownMenu/DropdownMenu.d.ts +5 -5
- package/dist/DropdownMenu/DropdownMenuCheckboxItem.d.ts +2 -2
- package/dist/DropdownMenu/DropdownMenuDivider.d.ts +1 -1
- package/dist/DropdownMenu/DropdownMenuGroup.d.ts +1 -1
- package/dist/DropdownMenu/DropdownMenuItem.d.ts +2 -2
- package/dist/DropdownMenu/DropdownMenuRadioGroup.d.ts +1 -1
- package/dist/DropdownMenu/DropdownMenuRadioItem.d.ts +12 -7
- package/dist/DropdownMenu/DropdownMenuRadioItem.d.ts.map +1 -1
- package/dist/DropdownMenu/DropdownMenuRadioItem.js +13 -5
- package/dist/DropdownMenu/DropdownMenuSubMenu.d.ts +2 -2
- package/dist/DropdownMenu/MenuBottomSheetActionList.d.ts +1 -1
- package/dist/DropdownMenu/index.d.ts +10 -10
- package/dist/DropdownMenu/lazyMenuBottomSheet.d.ts +2 -2
- package/dist/DropdownMenu/renderDropdownItems.d.ts +1 -1
- package/dist/DropdownMenu/useMenuDrillIn.d.ts +1 -1
- package/dist/EmptyState/EmptyState.d.ts +1 -1
- package/dist/EmptyState/index.d.ts +2 -2
- package/dist/Field/Field.d.ts +5 -5
- package/dist/Field/FieldLabel.d.ts +2 -2
- package/dist/Field/PanelSearchInput.d.ts +1 -1
- package/dist/Field/fieldInputFamily.testing.d.ts +1 -1
- package/dist/Field/fieldParts.d.ts +1 -1
- package/dist/Field/index.d.ts +10 -10
- package/dist/Field/inputDisabledFocus.d.ts +14 -0
- package/dist/Field/inputDisabledFocus.d.ts.map +1 -0
- package/dist/Field/inputDisabledFocus.js +19 -0
- package/dist/FieldStatus/FieldStatus.d.ts +3 -3
- package/dist/FieldStatus/index.d.ts +2 -2
- package/dist/FieldStatus/useFieldStatusAnnouncement.d.ts +1 -1
- package/dist/FileInput/FileInput.d.ts +4 -4
- package/dist/FileInput/index.d.ts +2 -2
- package/dist/FormLayout/FormLayout.d.ts +2 -2
- package/dist/FormLayout/index.d.ts +4 -4
- package/dist/Grid/Grid.d.ts +3 -3
- package/dist/Grid/GridSpan.d.ts +1 -1
- package/dist/Grid/index.d.ts +4 -4
- package/dist/HStack/HStack.d.ts +2 -2
- package/dist/HStack/index.d.ts +1 -1
- package/dist/Heading/Heading.d.ts +4 -4
- package/dist/Heading/index.d.ts +1 -1
- package/dist/HoverCard/HoverCard.d.ts +4 -4
- package/dist/HoverCard/index.d.ts +4 -4
- package/dist/HoverCard/useHoverCard.d.ts +2 -2
- package/dist/Icon/Icon.d.ts +3 -3
- package/dist/Icon/IconDefaultSizeContext.d.ts +1 -1
- package/dist/Icon/defaultIcons.d.ts +1 -1
- package/dist/Icon/globalIconRegistry.d.ts +1 -1
- package/dist/Icon/index.d.ts +5 -5
- package/dist/Icon/useIcon.d.ts +1 -1
- package/dist/IconButton/IconButton.d.ts +1 -1
- package/dist/IconButton/index.d.ts +2 -2
- package/dist/Indicator/CheckIndicator.d.ts +1 -1
- package/dist/Indicator/CheckboxIndicator.d.ts +1 -1
- package/dist/Indicator/RadioIndicator.d.ts +1 -1
- package/dist/Indicator/index.d.ts +8 -8
- package/dist/Indicator/indicatorRegistry.d.ts +2 -2
- package/dist/Indicator/types.d.ts +1 -1
- package/dist/Indicator/useIndicator.d.ts +2 -2
- package/dist/InputGroup/InputGroup.d.ts +2 -2
- package/dist/InputGroup/InputGroupText.d.ts +1 -1
- package/dist/InputGroup/index.d.ts +6 -6
- package/dist/InteractiveRoleContext/InteractiveRoleContext.d.ts +1 -1
- package/dist/InteractiveRoleContext/index.d.ts +1 -1
- package/dist/Item/Item.d.ts +1 -1
- package/dist/Item/ItemSwipeLayer.d.ts +2 -2
- package/dist/Item/index.d.ts +2 -2
- package/dist/Kbd/Kbd.d.ts +1 -1
- package/dist/Kbd/index.d.ts +2 -2
- package/dist/Layer/LayerProvider.d.ts +1 -1
- package/dist/Layer/index.d.ts +18 -18
- package/dist/Layer/layerInset.d.ts +1 -1
- package/dist/Layer/layerSlideRules.d.ts +1 -1
- package/dist/Layer/modalOutlet.d.ts +1 -1
- package/dist/Layer/modalOutlet.js +1 -1
- package/dist/Layer/useLayerDismissal.d.ts +1 -1
- package/dist/Layer/useTouchTrigger.d.ts +14 -1
- package/dist/Layer/useTouchTrigger.d.ts.map +1 -1
- package/dist/Layer/useTouchTrigger.js +72 -17
- package/dist/Layout/Layout.d.ts +2 -2
- package/dist/Layout/LayoutContent.d.ts +2 -2
- package/dist/Layout/LayoutFooter.d.ts +2 -2
- package/dist/Layout/LayoutHeader.d.ts +2 -2
- package/dist/Layout/LayoutPanel.d.ts +3 -3
- package/dist/Layout/index.d.ts +29 -29
- package/dist/Layout/padding.stylex.d.ts +1 -1
- package/dist/Lightbox/Lightbox.d.ts +1 -1
- package/dist/Lightbox/index.d.ts +4 -4
- package/dist/Lightbox/useLightbox.d.ts +1 -1
- package/dist/Link/Link.d.ts +3 -3
- package/dist/Link/LinkContext.d.ts +1 -1
- package/dist/Link/LinkProvider.d.ts +1 -1
- package/dist/Link/index.d.ts +8 -8
- package/dist/Link/useLinkComponent.d.ts +1 -1
- package/dist/List/List.d.ts +3 -3
- package/dist/List/ListItem.d.ts +2 -2
- package/dist/List/index.d.ts +4 -4
- package/dist/Markdown/Markdown.d.ts +4 -4
- package/dist/Markdown/headingProjection.d.ts +3 -3
- package/dist/Markdown/index.d.ts +7 -7
- package/dist/Markdown/parser/index.d.ts +3 -3
- package/dist/Markdown/parser.d.ts +3 -3
- package/dist/Markdown/plugin-renderer/MarkdownPluginNodeRenderer.d.ts +1 -1
- package/dist/Markdown/plugin-renderer/index.d.ts +2 -2
- package/dist/Markdown/plugins/frontmatter.d.ts +2 -2
- package/dist/Markdown/plugins/headingLinks.d.ts +2 -2
- package/dist/Markdown/plugins/index.d.ts +14 -14
- package/dist/Markdown/plugins/protocol.d.ts +1 -1
- package/dist/Markdown/plugins/semanticFence.d.ts +2 -2
- package/dist/Markdown/plugins/softBreaks.d.ts +1 -1
- package/dist/Markdown/plugins/sourceDecoration.d.ts +2 -2
- package/dist/Markdown/plugins/sourceLines.d.ts +1 -1
- package/dist/Markdown/plugins/textTransform.d.ts +2 -2
- package/dist/Markdown/remark.d.ts +1 -1
- package/dist/Markdown/utils.d.ts +4 -4
- package/dist/MetadataList/MetadataList.d.ts +2 -2
- package/dist/MetadataList/MetadataListItem.d.ts +1 -1
- package/dist/MetadataList/index.d.ts +5 -5
- package/dist/MobileNav/MobileNav.d.ts +1 -1
- package/dist/MobileNav/MobileNavToggle.d.ts +1 -1
- package/dist/MobileNav/index.d.ts +4 -4
- package/dist/MoreMenu/MoreMenu.d.ts +4 -4
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/MultiSelector.d.ts +7 -7
- package/dist/MultiSelector/hooks.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +3 -3
- package/dist/MultiSelector/types.d.ts +1 -1
- package/dist/NavIcon/NavIcon.d.ts +1 -1
- package/dist/NavIcon/index.d.ts +2 -2
- package/dist/NavMenu/NavHeadingMenu.d.ts +2 -2
- package/dist/NavMenu/NavHeadingMenuItem.d.ts +2 -2
- package/dist/NavMenu/index.d.ts +6 -6
- package/dist/NumberInput/NumberInput.d.ts +8 -8
- package/dist/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/NumberInput/NumberInput.js +46 -20
- package/dist/NumberInput/index.d.ts +2 -2
- package/dist/NumberInput/numberInputCommit.d.ts +1 -1
- package/dist/NumberInput/numberParser.d.ts +1 -1
- package/dist/Outline/Outline.d.ts +3 -3
- package/dist/Outline/index.d.ts +7 -7
- package/dist/Outline/parseOutlineFromMarkdown.d.ts +2 -2
- package/dist/Outline/useOutlineFromDOM.d.ts +1 -1
- package/dist/Outline/useOutlineFromMarkdown.d.ts +3 -3
- package/dist/Outline/useScrollSpy.d.ts +1 -1
- package/dist/OverflowList/OverflowList.d.ts +2 -2
- package/dist/OverflowList/index.d.ts +2 -2
- package/dist/Overlay/Overlay.d.ts +2 -2
- package/dist/Overlay/index.d.ts +5 -5
- package/dist/Overlay/useOverlay.d.ts +1 -1
- package/dist/Pagination/Pagination.d.ts +2 -2
- package/dist/Pagination/index.d.ts +2 -2
- package/dist/Popover/Popover.d.ts +3 -3
- package/dist/Popover/index.d.ts +4 -4
- package/dist/Popover/usePopover.d.ts +2 -2
- package/dist/PowerSearch/PowerSearch.d.ts +5 -5
- package/dist/PowerSearch/PowerSearchEditPopover.d.ts +2 -2
- package/dist/PowerSearch/PowerSearchFilterEditor.d.ts +1 -1
- package/dist/PowerSearch/PowerSearchToken.d.ts +1 -1
- package/dist/PowerSearch/PowerSearchValueEditor.d.ts +2 -2
- package/dist/PowerSearch/formatFilterValue.d.ts +3 -3
- package/dist/PowerSearch/index.d.ts +8 -8
- package/dist/PowerSearch/resolveDateTimeRangePart.d.ts +1 -1
- package/dist/PowerSearch/resolveOperatorLabel.d.ts +2 -2
- package/dist/PowerSearch/types.d.ts +1 -1
- package/dist/PowerSearch/useInternalConfig.d.ts +1 -1
- package/dist/PowerSearch/usePowerSearchConfig.d.ts +1 -1
- package/dist/PowerSearch/usePowerSearchSource.d.ts +3 -3
- package/dist/PowerSearch/utils.d.ts +3 -3
- package/dist/ProgressBar/ProgressBar.d.ts +2 -2
- package/dist/ProgressBar/index.d.ts +2 -2
- package/dist/RadioList/RadioList.d.ts +3 -3
- package/dist/RadioList/RadioListItem.d.ts +2 -2
- package/dist/RadioList/index.d.ts +4 -4
- package/dist/Resizable/ResizeHandle.d.ts +2 -2
- package/dist/Resizable/index.d.ts +6 -6
- package/dist/Resizable/useResizable.d.ts +2 -2
- package/dist/Resizable/utils.d.ts +3 -3
- package/dist/ScrollableArea/ScrollableArea.d.ts +3 -3
- package/dist/ScrollableArea/index.d.ts +4 -4
- package/dist/Section/Section.d.ts +3 -3
- package/dist/Section/index.d.ts +2 -2
- package/dist/SegmentedControl/SegmentedControl.d.ts +2 -2
- package/dist/SegmentedControl/SegmentedControlItem.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +5 -5
- package/dist/SelectableCard/SelectableCard.d.ts +3 -3
- package/dist/SelectableCard/index.d.ts +2 -2
- package/dist/Selector/Selector.d.ts +8 -8
- package/dist/Selector/SelectorOption.d.ts +1 -1
- package/dist/Selector/hooks.d.ts +1 -1
- package/dist/Selector/index.d.ts +4 -4
- package/dist/Selector/types.d.ts +1 -1
- package/dist/Selector/useSelectorPresentation.d.ts +2 -2
- package/dist/Selector/utils.d.ts +1 -1
- package/dist/SideNav/SideNav.d.ts +3 -3
- package/dist/SideNav/SideNavCollapseButton.d.ts +3 -3
- package/dist/SideNav/SideNavHeading.d.ts +2 -2
- package/dist/SideNav/SideNavHeading.d.ts.map +1 -1
- package/dist/SideNav/SideNavHeading.js +34 -0
- package/dist/SideNav/SideNavItem.d.ts +4 -4
- package/dist/SideNav/SideNavSection.d.ts +1 -1
- package/dist/SideNav/index.d.ts +14 -14
- package/dist/SizeContext/index.d.ts +1 -1
- package/dist/Skeleton/Skeleton.d.ts +1 -1
- package/dist/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/Skeleton/Skeleton.js +12 -3
- package/dist/Skeleton/index.d.ts +2 -2
- package/dist/Slider/Slider.d.ts +3 -3
- package/dist/Slider/index.d.ts +2 -2
- package/dist/Spinner/Spinner.d.ts +1 -1
- package/dist/Spinner/index.d.ts +2 -2
- package/dist/Stack/Stack.d.ts +3 -3
- package/dist/Stack/StackItem.d.ts +2 -2
- package/dist/Stack/index.d.ts +6 -6
- package/dist/Stack/stack.stylex.d.ts +1 -1
- package/dist/StatusDot/StatusDot.d.ts +2 -2
- package/dist/StatusDot/index.d.ts +2 -2
- package/dist/Stepper/Step.d.ts +2 -2
- package/dist/Stepper/Step.d.ts.map +1 -1
- package/dist/Stepper/Step.js +3 -3
- package/dist/Stepper/Stepper.d.ts +2 -2
- package/dist/Stepper/index.d.ts +7 -7
- package/dist/Switch/Switch.d.ts +4 -4
- package/dist/Switch/index.d.ts +2 -2
- package/dist/TabList/Tab.d.ts +2 -2
- package/dist/TabList/TabList.d.ts +3 -3
- package/dist/TabList/TabMenu.d.ts +2 -2
- package/dist/TabList/index.d.ts +8 -8
- package/dist/Table/BaseTable.d.ts +1 -1
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Table/TableBody.d.ts +1 -1
- package/dist/Table/TableCell.d.ts +3 -3
- package/dist/Table/TableContext.d.ts +1 -1
- package/dist/Table/TableFooter.d.ts +1 -1
- package/dist/Table/TableHeader.d.ts +1 -1
- package/dist/Table/TableHeaderCell.d.ts +3 -3
- package/dist/Table/TableRow.d.ts +2 -2
- package/dist/Table/TableSelectionToolbar.d.ts +2 -2
- package/dist/Table/columnUtils.d.ts +1 -1
- package/dist/Table/index.d.ts +54 -54
- package/dist/Table/plugins/columnResize/index.d.ts +2 -2
- package/dist/Table/plugins/columnResize/useTableColumnResize.d.ts +1 -1
- package/dist/Table/plugins/columnSettings/index.d.ts +4 -4
- package/dist/Table/plugins/columnSettings/useTableColumnSettings.d.ts +2 -2
- package/dist/Table/plugins/columnSettings/useTableColumnSettingsState.d.ts +1 -1
- package/dist/Table/plugins/filtering/index.d.ts +4 -4
- package/dist/Table/plugins/filtering/useTableFilterState.d.ts +1 -1
- package/dist/Table/plugins/filtering/useTableFiltering.d.ts +2 -2
- package/dist/Table/plugins/groupedRows/index.d.ts +2 -2
- package/dist/Table/plugins/groupedRows/useTableGroupedRows.d.ts +1 -1
- package/dist/Table/plugins/pagination/index.d.ts +3 -3
- package/dist/Table/plugins/pagination/useTablePagination.d.ts +1 -1
- package/dist/Table/plugins/rowExpansion/index.d.ts +2 -2
- package/dist/Table/plugins/rowExpansion/useTableRowExpansion.d.ts +1 -1
- package/dist/Table/plugins/rowIndex/index.d.ts +2 -2
- package/dist/Table/plugins/rowIndex/useTableRowIndex.d.ts +1 -1
- package/dist/Table/plugins/rowStatus/index.d.ts +2 -2
- package/dist/Table/plugins/rowStatus/useTableRowStatus.d.ts +2 -2
- package/dist/Table/plugins/selection/index.d.ts +4 -4
- package/dist/Table/plugins/selection/useTableSelection.d.ts +1 -1
- package/dist/Table/plugins/selection/useTableSelectionState.d.ts +1 -1
- package/dist/Table/plugins/sortable/index.d.ts +4 -4
- package/dist/Table/plugins/sortable/useTableSortable.d.ts +1 -1
- package/dist/Table/plugins/sortable/useTableSortableState.d.ts +1 -1
- package/dist/Table/plugins/stickyColumns/index.d.ts +2 -2
- package/dist/Table/plugins/stickyColumns/useTableStickyColumns.d.ts +1 -1
- package/dist/Table/plugins/tree/index.d.ts +4 -4
- package/dist/Table/plugins/tree/useTableTreeData.d.ts +1 -1
- package/dist/Table/plugins/tree/useTableTreeState.d.ts +1 -1
- package/dist/Table/tableContextMenu.d.ts +2 -2
- package/dist/Table/types.d.ts +3 -3
- package/dist/Table/useBaseTablePlugins.d.ts +1 -1
- package/dist/Table/useTableCellStyles.d.ts +2 -2
- package/dist/Table/utils.d.ts +2 -2
- package/dist/Text/Text.d.ts +3 -3
- package/dist/Text/index.d.ts +4 -4
- package/dist/TextArea/TextArea.d.ts +10 -8
- package/dist/TextArea/TextArea.d.ts.map +1 -1
- package/dist/TextArea/TextArea.js +14 -11
- package/dist/TextArea/index.d.ts +2 -2
- package/dist/TextInput/TextInput.d.ts +11 -9
- package/dist/TextInput/TextInput.d.ts.map +1 -1
- package/dist/TextInput/TextInput.js +27 -17
- package/dist/TextInput/index.d.ts +2 -2
- package/dist/Thumbnail/Thumbnail.d.ts +1 -1
- package/dist/Thumbnail/index.d.ts +2 -2
- package/dist/TimeInput/TimeInput.d.ts +6 -6
- package/dist/TimeInput/TouchTimeField.d.ts +1 -1
- package/dist/TimeInput/index.d.ts +3 -3
- package/dist/Timer/Timer.d.ts +2 -2
- package/dist/Timer/index.d.ts +2 -2
- package/dist/Timestamp/Timestamp.d.ts +3 -3
- package/dist/Timestamp/TimestampHoverCard.d.ts +1 -1
- package/dist/Timestamp/formatInstant.d.ts +2 -2
- package/dist/Timestamp/formatRelativeTime.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +3 -3
- package/dist/Timestamp/tooltipEntries.d.ts +2 -2
- package/dist/Toast/Toast.d.ts +2 -2
- package/dist/Toast/ToastContext.d.ts +1 -1
- package/dist/Toast/ToastViewport.d.ts +2 -2
- package/dist/Toast/index.d.ts +6 -6
- package/dist/Toast/useToast.d.ts +1 -1
- package/dist/ToggleButton/ToggleButton.d.ts +3 -3
- package/dist/ToggleButton/ToggleButtonGroup.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +4 -4
- package/dist/Token/Token.d.ts +2 -2
- package/dist/Token/TokenLink.d.ts +1 -1
- package/dist/Token/index.d.ts +2 -2
- package/dist/Tokenizer/Tokenizer.d.ts +6 -6
- package/dist/Tokenizer/Tokenizer.d.ts.map +1 -1
- package/dist/Tokenizer/Tokenizer.js +44 -40
- package/dist/Tokenizer/index.d.ts +2 -2
- package/dist/Tokenizer/useEndLaneReserve.d.ts +3 -2
- package/dist/Tokenizer/useEndLaneReserve.d.ts.map +1 -1
- package/dist/Tokenizer/useEndLaneReserve.js +3 -2
- package/dist/Toolbar/Toolbar.d.ts +4 -4
- package/dist/Toolbar/index.d.ts +2 -2
- package/dist/Tooltip/Tooltip.d.ts +3 -3
- package/dist/Tooltip/index.d.ts +4 -4
- package/dist/Tooltip/useTooltip.d.ts +2 -2
- package/dist/TopNav/TopNav.d.ts +1 -1
- package/dist/TopNav/TopNavHeading.d.ts +2 -2
- package/dist/TopNav/TopNavItem.d.ts +3 -3
- package/dist/TopNav/TopNavMegaMenu.d.ts +1 -1
- package/dist/TopNav/TopNavMegaMenuFeaturedCard.d.ts +1 -1
- package/dist/TopNav/TopNavMegaMenuItem.d.ts +2 -2
- package/dist/TopNav/TopNavMenu.d.ts +1 -1
- package/dist/TopNav/index.d.ts +16 -16
- package/dist/TreeList/TreeList.d.ts +3 -3
- package/dist/TreeList/TreeListItem.d.ts +1 -1
- package/dist/TreeList/TreeListTypes.d.ts +1 -1
- package/dist/TreeList/index.d.ts +3 -3
- package/dist/Typeahead/BaseTypeahead.d.ts +2 -2
- package/dist/Typeahead/Typeahead.d.ts +6 -6
- package/dist/Typeahead/TypeaheadItem.d.ts +2 -2
- package/dist/Typeahead/createStaticSource.d.ts +1 -1
- package/dist/Typeahead/index.d.ts +9 -9
- package/dist/Typeahead/utils.d.ts +3 -3
- package/dist/VStack/VStack.d.ts +2 -2
- package/dist/VStack/index.d.ts +1 -1
- package/dist/VisuallyHidden/VisuallyHidden.d.ts +24 -6
- package/dist/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
- package/dist/VisuallyHidden/VisuallyHidden.js +24 -5
- package/dist/VisuallyHidden/index.d.ts +2 -2
- package/dist/astryx.css +8 -16
- package/dist/hooks/index.d.ts +52 -52
- package/dist/hooks/useAutoMediaMode.d.ts +1 -1
- package/dist/hooks/useInputContainer.d.ts +1 -1
- package/dist/hooks/useInputStatusIcon.d.ts +3 -3
- package/dist/hooks/useMenuPress.d.ts +1 -1
- package/dist/hooks/usePressFeedback.d.ts +1 -1
- package/dist/hooks/useScrollableArea.d.ts +1 -1
- package/dist/i18n/InternationalizationContext.d.ts +2 -2
- package/dist/i18n/InternationalizationProvider.d.ts +1 -1
- package/dist/i18n/index.d.ts +12 -12
- package/dist/i18n/resolve.d.ts +1 -1
- package/dist/i18n/useLocale.d.ts +1 -1
- package/dist/index.d.ts +111 -111
- package/dist/theme/Theme.d.ts +2 -2
- package/dist/theme/contrast.d.ts +1 -1
- package/dist/theme/defineTheme.d.ts +12 -12
- package/dist/theme/domainTokens/index.d.ts +6 -6
- package/dist/theme/generateThemeRules.d.ts +1 -1
- package/dist/theme/index.d.ts +31 -31
- package/dist/theme/localTokens.d.ts +1 -1
- package/dist/theme/mergeComponents.d.ts +1 -1
- package/dist/theme/onMediaTokens.d.ts +1 -1
- package/dist/theme/resolveThemeValues.d.ts +7 -7
- package/dist/theme/syntax/SyntaxTheme.d.ts +1 -1
- package/dist/theme/syntax/index.d.ts +7 -7
- package/dist/theme/syntax/presets.d.ts +1 -1
- package/dist/theme/themeAdaptations.d.ts +5 -5
- package/dist/theme/themeRegistry.d.ts +1 -1
- package/dist/theme/tokens.d.ts +1 -1
- package/dist/theme/types.d.ts +1 -1
- package/dist/theme/useTheme.d.ts +2 -2
- package/dist/utils/dateParser.d.ts +3 -3
- package/dist/utils/groupItems.d.ts +1 -1
- package/dist/utils/index.d.ts +29 -29
- package/dist/utils/plainDate.d.ts +3 -3
- package/package.json +5 -5
- package/src/Badge/Badge.doc.mjs +2 -1
- package/src/BottomSheet/BottomSheet.tsx +12 -1
- package/src/BottomSheet/__tests__/BottomSheetToastOutlet.a11y.chromium.spec.ts +82 -0
- package/src/DateInput/DateInputTouch.test.tsx +9 -0
- package/src/DateInput/Wheel.tsx +4 -1
- package/src/DateInput/__tests__/WheelPinchZoom.a11y.chromium.spec.ts +158 -0
- package/src/DropdownMenu/DropdownMenuRadioItem.doc.mjs +5 -2
- package/src/DropdownMenu/DropdownMenuRadioItem.spec.md +226 -0
- package/src/DropdownMenu/DropdownMenuRadioItem.tsx +32 -16
- package/src/DropdownMenu/DropdownMenuSelectable.test.tsx +158 -0
- package/src/DropdownMenu/__tests__/DropdownMenuRadioItemAudit.a11y.chromium.spec.ts +539 -0
- package/src/Field/inputDisabledFocus.ts +28 -0
- package/src/HoverCard/HoverCard.test.tsx +93 -3
- package/src/Icon/Icon.spec.md +40 -29
- package/src/Layer/__tests__/TouchTrigger.a11y.chromium.spec.ts +199 -0
- package/src/Layer/modalOutlet.ts +1 -1
- package/src/Layer/useTouchTrigger.ts +95 -41
- package/src/NumberInput/NumberInput.doc.mjs +6 -6
- package/src/NumberInput/NumberInput.test.tsx +144 -14
- package/src/NumberInput/NumberInput.tsx +68 -21
- package/src/Pagination/Pagination.test.tsx +2 -2
- package/src/SideNav/SideNav.test.tsx +15 -6
- package/src/SideNav/SideNavHeading.tsx +41 -0
- package/src/Skeleton/Skeleton.test.tsx +108 -1
- package/src/Skeleton/Skeleton.tsx +30 -2
- package/src/Stepper/Step.tsx +7 -0
- package/src/Stepper/Stepper.test.tsx +33 -0
- package/src/TextArea/TextArea.doc.mjs +6 -6
- package/src/TextArea/TextArea.test.tsx +65 -6
- package/src/TextArea/TextArea.tsx +26 -14
- package/src/TextInput/TextInput.doc.mjs +8 -8
- package/src/TextInput/TextInput.test.tsx +83 -10
- package/src/TextInput/TextInput.tsx +38 -19
- package/src/Toast/ToastViewport.modalHost.test.tsx +139 -4
- package/src/Tokenizer/Tokenizer.test.tsx +26 -8
- package/src/Tokenizer/Tokenizer.tsx +65 -72
- package/src/Tokenizer/__tests__/TokenizerEndLane.a11y.chromium.spec.ts +471 -0
- package/src/Tokenizer/useEndLaneReserve.ts +3 -2
- package/src/Tooltip/Tooltip.test.tsx +148 -3
- package/src/Tooltip/__tests__/Tooltip.a11y.states.ts +2 -2
- package/src/VisuallyHidden/VisuallyHidden.doc.mjs +1 -1
- package/src/VisuallyHidden/VisuallyHidden.test.tsx +39 -0
- package/src/VisuallyHidden/VisuallyHidden.tsx +38 -5
- package/src/theme/tokens.test.ts +60 -0
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/TopNav/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import React, { type ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
16
|
/**
|
|
17
17
|
* An item in the TopNav overflow menu.
|
|
18
18
|
*/
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -6,20 +6,20 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/core/src/TopNav/TopNav.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { TopNav } from './TopNav';
|
|
10
|
-
export type { TopNavProps } from './TopNav';
|
|
11
|
-
export { TopNavHeading } from './TopNavHeading';
|
|
12
|
-
export type { TopNavHeadingProps } from './TopNavHeading';
|
|
13
|
-
export { TopNavItem } from './TopNavItem';
|
|
14
|
-
export type { TopNavItemProps } from './TopNavItem';
|
|
15
|
-
export { TopNavMenu } from './TopNavMenu';
|
|
16
|
-
export type { TopNavMenuProps, TopNavMenuItemData } from './TopNavMenu';
|
|
17
|
-
export { TopNavMegaMenu } from './TopNavMegaMenu';
|
|
18
|
-
export type { TopNavMegaMenuProps } from './TopNavMegaMenu';
|
|
19
|
-
export { TopNavMegaMenuItem } from './TopNavMegaMenuItem';
|
|
20
|
-
export type { TopNavMegaMenuItemProps } from './TopNavMegaMenuItem';
|
|
21
|
-
export { TopNavMegaMenuFeaturedCard } from './TopNavMegaMenuFeaturedCard';
|
|
22
|
-
export type { TopNavMegaMenuFeaturedCardProps } from './TopNavMegaMenuFeaturedCard';
|
|
23
|
-
export { TopNavRenderContext, useTopNavRenderMode, } from './TopNavRenderContext';
|
|
24
|
-
export type { TopNavRenderMode } from './TopNavRenderContext';
|
|
9
|
+
export { TopNav } from './TopNav.js';
|
|
10
|
+
export type { TopNavProps } from './TopNav.js';
|
|
11
|
+
export { TopNavHeading } from './TopNavHeading.js';
|
|
12
|
+
export type { TopNavHeadingProps } from './TopNavHeading.js';
|
|
13
|
+
export { TopNavItem } from './TopNavItem.js';
|
|
14
|
+
export type { TopNavItemProps } from './TopNavItem.js';
|
|
15
|
+
export { TopNavMenu } from './TopNavMenu.js';
|
|
16
|
+
export type { TopNavMenuProps, TopNavMenuItemData } from './TopNavMenu.js';
|
|
17
|
+
export { TopNavMegaMenu } from './TopNavMegaMenu.js';
|
|
18
|
+
export type { TopNavMegaMenuProps } from './TopNavMegaMenu.js';
|
|
19
|
+
export { TopNavMegaMenuItem } from './TopNavMegaMenuItem.js';
|
|
20
|
+
export type { TopNavMegaMenuItemProps } from './TopNavMegaMenuItem.js';
|
|
21
|
+
export { TopNavMegaMenuFeaturedCard } from './TopNavMegaMenuFeaturedCard.js';
|
|
22
|
+
export type { TopNavMegaMenuFeaturedCardProps } from './TopNavMegaMenuFeaturedCard.js';
|
|
23
|
+
export { TopNavRenderContext, useTopNavRenderMode, } from './TopNavRenderContext.js';
|
|
24
|
+
export type { TopNavRenderMode } from './TopNavRenderContext.js';
|
|
25
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/TreeList/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import { type ReactNode } from 'react';
|
|
14
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
-
import type { TreeListItemData, TreeListDensity, TreeListVariant } from './TreeListTypes';
|
|
16
|
-
export { type TreeListDensity, type TreeListVariant } from './TreeListTypes';
|
|
14
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
15
|
+
import type { TreeListItemData, TreeListDensity, TreeListVariant } from './TreeListTypes.js';
|
|
16
|
+
export { type TreeListDensity, type TreeListVariant } from './TreeListTypes.js';
|
|
17
17
|
export interface TreeListProps extends BaseProps<HTMLDivElement> {
|
|
18
18
|
/** Ref forwarded to the root element */
|
|
19
19
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type ReactNode } from 'react';
|
|
13
13
|
import * as stylex from '@stylexjs/stylex';
|
|
14
|
-
import type { TreeListDensity, TreeListVariant } from './TreeListTypes';
|
|
14
|
+
import type { TreeListDensity, TreeListVariant } from './TreeListTypes.js';
|
|
15
15
|
export interface TreeListItemInternalProps {
|
|
16
16
|
id: string;
|
|
17
17
|
label: React.ReactNode;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { CSSProperties, ReactNode } from 'react';
|
|
12
12
|
import type { StyleXStyles } from '@stylexjs/stylex';
|
|
13
|
-
import type { TreeListVariantMap } from './index';
|
|
13
|
+
import type { TreeListVariantMap } from './index.js';
|
|
14
14
|
/** Spacing density for tree list items. */
|
|
15
15
|
export type TreeListDensity = 'compact' | 'balanced' | 'spacious';
|
|
16
16
|
/**
|
package/dist/TreeList/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface TreeListVariantMap {
|
|
|
23
23
|
lineGuides: true;
|
|
24
24
|
noGuides: true;
|
|
25
25
|
}
|
|
26
|
-
export { TreeList } from './TreeList';
|
|
27
|
-
export type { TreeListProps, TreeListDensity, TreeListVariant } from './TreeList';
|
|
28
|
-
export type { TreeListItemData } from './TreeListTypes';
|
|
26
|
+
export { TreeList } from './TreeList.js';
|
|
27
|
+
export type { TreeListProps, TreeListDensity, TreeListVariant } from './TreeList.js';
|
|
28
|
+
export type { TreeListItemData } from './TreeListTypes.js';
|
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import React, { type ReactNode, type RefObject } from 'react';
|
|
16
16
|
import type { StyleXStyles } from '@stylexjs/stylex';
|
|
17
|
-
import type { BaseProps } from '../BaseProps';
|
|
18
|
-
import type { SearchableItem, SearchSource } from './types';
|
|
17
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
18
|
+
import type { SearchableItem, SearchSource } from './types.js';
|
|
19
19
|
export interface BaseTypeaheadProps<T extends SearchableItem> extends Omit<BaseProps<HTMLElement>, 'onChange'> {
|
|
20
20
|
ref?: React.Ref<HTMLInputElement>;
|
|
21
21
|
/**
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
* - /packages/cli/assets/templates/blocks/components/Typeahead/ (showcase blocks)
|
|
15
15
|
*/
|
|
16
16
|
import React, { type ReactNode } from 'react';
|
|
17
|
-
import { type InputStatus, type FieldStatusVariant } from '../Field';
|
|
18
|
-
import { type IconType } from '../Icon';
|
|
19
|
-
import { type FieldInputBaseProps } from '../Field/fieldParts';
|
|
20
|
-
import type { SizeValue } from '../utils/types';
|
|
21
|
-
import type { SearchableItem, SearchSource } from './types';
|
|
22
|
-
export type { InputStatus as TypeaheadStatus, InputStatusType as TypeaheadStatusType, } from '../Field';
|
|
17
|
+
import { type InputStatus, type FieldStatusVariant } from '../Field/index.js';
|
|
18
|
+
import { type IconType } from '../Icon/index.js';
|
|
19
|
+
import { type FieldInputBaseProps } from '../Field/fieldParts.js';
|
|
20
|
+
import type { SizeValue } from '../utils/types.js';
|
|
21
|
+
import type { SearchableItem, SearchSource } from './types.js';
|
|
22
|
+
export type { InputStatus as TypeaheadStatus, InputStatusType as TypeaheadStatusType, } from '../Field/index.js';
|
|
23
23
|
export type TypeaheadSize = 'sm' | 'md' | 'lg';
|
|
24
24
|
export interface TypeaheadProps<T extends SearchableItem> extends Omit<FieldInputBaseProps<HTMLInputElement>, 'onChange' | 'onKeyDown'> {
|
|
25
25
|
/**
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* - /packages/cli/assets/templates/blocks/components/Typeahead/ (showcase blocks)
|
|
10
10
|
*/
|
|
11
11
|
import React, { type ReactNode } from 'react';
|
|
12
|
-
import type { SearchableItem } from './types';
|
|
13
|
-
import type { BaseProps } from '../BaseProps';
|
|
12
|
+
import type { SearchableItem } from './types.js';
|
|
13
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
14
14
|
export interface TypeaheadItemProps<T extends SearchableItem = SearchableItem> extends BaseProps<HTMLDivElement> {
|
|
15
15
|
ref?: React.Ref<HTMLDivElement>;
|
|
16
16
|
/**
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* SYNC: When modified, update:
|
|
8
8
|
* - /packages/core/src/Typeahead/index.ts
|
|
9
9
|
*/
|
|
10
|
-
import type { SearchableItem, SearchSource } from './types';
|
|
10
|
+
import type { SearchableItem, SearchSource } from './types.js';
|
|
11
11
|
export interface CreateStaticSourceOptions<T extends SearchableItem = SearchableItem> {
|
|
12
12
|
/**
|
|
13
13
|
* Extract additional search terms from an item.
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When adding new Typeahead files, update exports here
|
|
8
8
|
*/
|
|
9
|
-
export type { SearchableItem, SearchSource } from './types';
|
|
10
|
-
export { createStaticSource } from './createStaticSource';
|
|
11
|
-
export type { CreateStaticSourceOptions } from './createStaticSource';
|
|
12
|
-
export { BaseTypeahead } from './BaseTypeahead';
|
|
13
|
-
export type { BaseTypeaheadProps } from './BaseTypeahead';
|
|
14
|
-
export { Typeahead } from './Typeahead';
|
|
15
|
-
export type { TypeaheadProps, TypeaheadSize, TypeaheadStatus, TypeaheadStatusType, } from './Typeahead';
|
|
16
|
-
export { TypeaheadItem } from './TypeaheadItem';
|
|
17
|
-
export type { TypeaheadItemProps } from './TypeaheadItem';
|
|
9
|
+
export type { SearchableItem, SearchSource } from './types.js';
|
|
10
|
+
export { createStaticSource } from './createStaticSource.js';
|
|
11
|
+
export type { CreateStaticSourceOptions } from './createStaticSource.js';
|
|
12
|
+
export { BaseTypeahead } from './BaseTypeahead.js';
|
|
13
|
+
export type { BaseTypeaheadProps } from './BaseTypeahead.js';
|
|
14
|
+
export { Typeahead } from './Typeahead.js';
|
|
15
|
+
export type { TypeaheadProps, TypeaheadSize, TypeaheadStatus, TypeaheadStatusType, } from './Typeahead.js';
|
|
16
|
+
export { TypeaheadItem } from './TypeaheadItem.js';
|
|
17
|
+
export type { TypeaheadItemProps } from './TypeaheadItem.js';
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @output Server-safe re-exports of pure Typeahead utility functions
|
|
4
4
|
* @position Subpath entry point: `@astryxdesign/core/Typeahead/utils`
|
|
5
5
|
*/
|
|
6
|
-
export { createStaticSource } from './createStaticSource';
|
|
7
|
-
export type { CreateStaticSourceOptions } from './createStaticSource';
|
|
8
|
-
export type { SearchableItem, SearchSource } from './types';
|
|
6
|
+
export { createStaticSource } from './createStaticSource.js';
|
|
7
|
+
export type { CreateStaticSourceOptions } from './createStaticSource.js';
|
|
8
|
+
export type { SearchableItem, SearchSource } from './types.js';
|
|
9
9
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/VStack/VStack.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* - /packages/core/src/VStack/VStack.test.tsx
|
|
10
10
|
* - /packages/cli/assets/templates/blocks/components/VStack/ (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 VStackProps extends Omit<StackProps, 'direction' | 'hAlign' | 'vAlign'> {
|
|
15
15
|
/** Ref forwarded to the root element */
|
|
16
16
|
ref?: React.Ref<HTMLElement>;
|
package/dist/VStack/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* @output Exports VStack and its props type
|
|
5
5
|
* @position Entry point for @astryxdesign/core/VStack subpath export
|
|
6
6
|
*/
|
|
7
|
-
export { VStack, type VStackProps } from './VStack';
|
|
7
|
+
export { VStack, type VStackProps } from './VStack.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,13 +12,22 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/VisuallyHidden/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import { type ElementType, type ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
|
+
import type { StyleXStyles } from '@stylexjs/stylex';
|
|
16
17
|
/**
|
|
17
18
|
* VisuallyHidden is deliberately styling-free: it exists to *not* be seen, so it
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
* omits `className`/`style` and applies a fixed, non-overridable clip block —
|
|
20
|
+
* styling a visually-hidden node is always a mistake. The accessibility
|
|
21
|
+
* pass-throughs from `BaseProps` (`aria-*`, `role`, `id`, `data-*`, event
|
|
22
|
+
* handlers) remain, since the live-region use case needs them.
|
|
23
|
+
*
|
|
24
|
+
* `xstyle` stays declared and documented as ignored, because released 0.7.2
|
|
25
|
+
* accepted it through `BaseProps`: narrowing the interface would force every
|
|
26
|
+
* consumer to edit code, which is a `[breaking]` change for a planned minor
|
|
27
|
+
* (`spec:AST-017/FR53`). It carries no `@deprecated` marker either — under
|
|
28
|
+
* `spec:AST-017/FR28` a patch may only deprecate a surface it ships an exact
|
|
29
|
+
* migration for, and this fix ships none. Dropping the prop from the interface,
|
|
30
|
+
* with the migration being to delete it, belongs to a planned minor.
|
|
22
31
|
*/
|
|
23
32
|
export interface VisuallyHiddenProps extends Omit<BaseProps<HTMLElement>, 'className' | 'style'> {
|
|
24
33
|
/** Ref forwarded to the rendered element. */
|
|
@@ -34,6 +43,15 @@ export interface VisuallyHiddenProps extends Omit<BaseProps<HTMLElement>, 'class
|
|
|
34
43
|
* @default 'span'
|
|
35
44
|
*/
|
|
36
45
|
as?: ElementType;
|
|
46
|
+
/**
|
|
47
|
+
* Ignored: VisuallyHidden has no styling surface. The clip block is the only
|
|
48
|
+
* style applied, and nothing a caller passes can displace it.
|
|
49
|
+
*
|
|
50
|
+
* Accepted only so that code written against 0.7.2 keeps compiling. It is not
|
|
51
|
+
* applied to the element, and a planned minor removes it — the migration is to
|
|
52
|
+
* delete the prop.
|
|
53
|
+
*/
|
|
54
|
+
xstyle?: StyleXStyles;
|
|
37
55
|
}
|
|
38
56
|
/**
|
|
39
57
|
* Renders its children in the accessibility tree while hiding them visually.
|
|
@@ -52,7 +70,7 @@ export interface VisuallyHiddenProps extends Omit<BaseProps<HTMLElement>, 'class
|
|
|
52
70
|
* </VisuallyHidden>
|
|
53
71
|
* ```
|
|
54
72
|
*/
|
|
55
|
-
export declare function VisuallyHidden({ children, as: element, ref, ...
|
|
73
|
+
export declare function VisuallyHidden({ children, as: element, ref, ...rest }: VisuallyHiddenProps): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
56
74
|
export declare namespace VisuallyHidden {
|
|
57
75
|
var displayName: string;
|
|
58
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisuallyHidden.d.ts","sourceRoot":"","sources":["../../src/VisuallyHidden/VisuallyHidden.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAgB,KAAK,WAAW,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAChF,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"VisuallyHidden.d.ts","sourceRoot":"","sources":["../../src/VisuallyHidden/VisuallyHidden.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAgB,KAAK,WAAW,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAChF,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,kBAAkB,CAAC;AAGnD;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAC/C,SAAS,CAAC,WAAW,CAAC,EACtB,WAAW,GAAG,OAAO,CACtB;IACC,6CAA6C;IAC7C,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IAE7B,yEAAyE;IACzE,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;;;;OAOG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IAEjB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAyBD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,EAAE,EAAE,OAAgB,EACpB,GAAG,EACH,GAAG,IAAI,EACR,EAAE,mBAAmB,0FA2BrB;yBAhCe,cAAc"}
|
|
@@ -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
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
@keyframes xuvekqa-B{0%{opacity:.3;}50%{opacity:1;}100%{opacity:.3;}}
|
|
62
62
|
@keyframes x1tut0r7-B{0%{opacity:.3;transform:rotateX(52deg) scale(.86);}50%{opacity:1;transform:rotateX(0deg) scale(1);}100%{opacity:.3;transform:rotateX(-52deg) scale(.86);}}
|
|
63
63
|
@keyframes x13kz0yu-B{0%, 100%{opacity:1;}50%{opacity:.5;}}
|
|
64
|
+
@keyframes x132z07p-B{0%{opacity:.25;}9.99%{opacity:.25;}10%{opacity:.325;}19.99%{opacity:.325;}20%{opacity:.4;}29.99%{opacity:.4;}30%{opacity:.475;}39.99%{opacity:.475;}40%{opacity:.55;}49.99%{opacity:.55;}50%{opacity:.625;}59.99%{opacity:.625;}60%{opacity:.7;}69.99%{opacity:.7;}70%{opacity:.775;}79.99%{opacity:.775;}80%{opacity:.85;}89.99%{opacity:.85;}90%{opacity:.925;}100%{opacity:.925;}}
|
|
64
65
|
@keyframes x18re5ia-B{from{opacity:0;}to{opacity:1;}}
|
|
65
|
-
@keyframes xgnty7z-B{0%{opacity:.25;}100%{opacity:1;}}
|
|
66
66
|
@keyframes xtut5q7-B{0%{opacity:1;}50%{opacity:.5;}100%{opacity:1;}}
|
|
67
67
|
@keyframes x1k48ry3-B{from{opacity:0;transform:scale(.95);}to{opacity:1;transform:scale(1);}}
|
|
68
68
|
@keyframes x11lauxq-B{from{opacity:0;transform:translate(var(--dialog-dir-x,0px),var(--dialog-dir-y,16px)) scale(.95);}to{opacity:1;transform:translate(0,0) scale(1);}}
|
|
@@ -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)}
|
|
@@ -716,6 +716,7 @@
|
|
|
716
716
|
.x10e4vud:not(#\#):not(#\#):not(#\#){animation-fill-mode:forwards}
|
|
717
717
|
.xa4qsjk:not(#\#):not(#\#):not(#\#){animation-iteration-count:infinite}
|
|
718
718
|
.x1ewfqum:not(#\#):not(#\#):not(#\#){animation-name:x11lauxq-B}
|
|
719
|
+
.x1xko2in:not(#\#):not(#\#):not(#\#){animation-name:x132z07p-B}
|
|
719
720
|
.xcx56e2:not(#\#):not(#\#):not(#\#){animation-name:x13kz0yu-B}
|
|
720
721
|
.x1ffowhz:not(#\#):not(#\#):not(#\#){animation-name:x188b6p3-B}
|
|
721
722
|
.xqcmdr3:not(#\#):not(#\#):not(#\#){animation-name:x18re5ia-B}
|
|
@@ -724,7 +725,6 @@
|
|
|
724
725
|
.x97zbip:not(#\#):not(#\#):not(#\#){animation-name:x1k48ry3-B}
|
|
725
726
|
.x1nlxm0d:not(#\#):not(#\#):not(#\#){animation-name:x1wbvqyn-B}
|
|
726
727
|
.x1gbn2au:not(#\#):not(#\#):not(#\#){animation-name:x1xhkexc-B}
|
|
727
|
-
.xeuoslp:not(#\#):not(#\#):not(#\#){animation-name:xgnty7z-B}
|
|
728
728
|
.x1srr2gu:not(#\#):not(#\#):not(#\#){animation-name:xiylxmw-B}
|
|
729
729
|
.xozk8ic:not(#\#):not(#\#):not(#\#){animation-name:xr3m334-B}
|
|
730
730
|
.x1mta51n:not(#\#):not(#\#):not(#\#){animation-name:xtut5q7-B}
|
|
@@ -734,7 +734,6 @@
|
|
|
734
734
|
.x190lv1:not(#\#):not(#\#):not(#\#){animation-timeline:view(y)}
|
|
735
735
|
.x4hg4is:not(#\#):not(#\#):not(#\#){animation-timing-function:ease-in-out}
|
|
736
736
|
.x1esw782:not(#\#):not(#\#):not(#\#){animation-timing-function:linear}
|
|
737
|
-
.x193epu2:not(#\#):not(#\#):not(#\#){animation-timing-function:steps(10,end)}
|
|
738
737
|
.x128ha8g:not(#\#):not(#\#):not(#\#){animation-timing-function:var(--ease-standard)}
|
|
739
738
|
.xjyslct:not(#\#):not(#\#):not(#\#){appearance:none}
|
|
740
739
|
.x1plog1:not(#\#):not(#\#):not(#\#){aspect-ratio:1}
|
|
@@ -928,6 +927,7 @@
|
|
|
928
927
|
.xawy1a7:not(#\#):not(#\#):not(#\#){contain:layout style}
|
|
929
928
|
.x12h1iku:not(#\#):not(#\#):not(#\#){container-type:inline-size}
|
|
930
929
|
.xb5mbof:not(#\#):not(#\#):not(#\#){content-visibility:auto}
|
|
930
|
+
.xdps06:not(#\#):not(#\#):not(#\#){content-visibility:hidden}
|
|
931
931
|
.xfrknyr:not(#\#):not(#\#):not(#\#){counter-increment:astryx-list}
|
|
932
932
|
.xif0320:not(#\#):not(#\#):not(#\#){counter-reset:astryx-list}
|
|
933
933
|
.x1khind5:not(#\#):not(#\#):not(#\#){counter-reset:var(--x-counterReset)}
|
|
@@ -1193,6 +1193,7 @@
|
|
|
1193
1193
|
.x1mzt3pk:not(#\#):not(#\#):not(#\#){overflow-wrap:break-word}
|
|
1194
1194
|
.x1h4wwuj:not(#\#):not(#\#):not(#\#){overflow-wrap:normal}
|
|
1195
1195
|
.xyri2b:not(#\#):not(#\#):not(#\#){padding-inline-end:0}
|
|
1196
|
+
.xx0flbe:not(#\#):not(#\#):not(#\#){padding-inline-end:calc(calc(var(--spacing-1) - 1px) + var(--_tokenizer-end-lane-reserve,0px))}
|
|
1196
1197
|
.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
1198
|
.x1g2apga:not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--_textarea-inline-padding) + var(--spacing-12))}
|
|
1198
1199
|
.xp2dy4z:not(#\#):not(#\#):not(#\#){padding-inline-end:calc(var(--_textarea-inline-padding) + var(--spacing-6))}
|
|
@@ -1491,6 +1492,7 @@
|
|
|
1491
1492
|
.x9o1np9.x9o1np9:hover:where(:not(:disabled,[aria-disabled="true"])):not(#\#):not(#\#):not(#\#){color:var(--color-text-primary)}
|
|
1492
1493
|
.x16khyan:is(:disabled,[aria-disabled="true"]):not(#\#):not(#\#):not(#\#){cursor:default}
|
|
1493
1494
|
.x1y40yee:popover-open:not(#\#):not(#\#):not(#\#){display:flex}
|
|
1495
|
+
.x1rq9t4t:placeholder-shown:is(:not(:focus), :read-only):not(#\#):not(#\#):not(#\#){margin-inline-start:calc(-1 * var(--spacing-1))}
|
|
1494
1496
|
.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
1497
|
.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
1498
|
.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 +1515,7 @@
|
|
|
1513
1515
|
.x1vidyx5:focus-visible:not(#\#):not(#\#):not(#\#){outline-width:var(--focus-outline-width)}
|
|
1514
1516
|
.x1n6uwha:is([dir="rtl"] *):not(#\#):not(#\#):not(#\#){padding-inline-end:max(var(--spacing-4),env(safe-area-inset-left,0px))}
|
|
1515
1517
|
.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)))))}
|
|
1518
|
+
.x1jwxvv4:placeholder-shown:is(:not(:focus), :read-only):not(#\#):not(#\#):not(#\#){padding-inline-start:0}
|
|
1516
1519
|
.x19efkpl:is([dir="rtl"] *):not(#\#):not(#\#):not(#\#){padding-inline-start:max(var(--spacing-4),env(safe-area-inset-right,0px))}
|
|
1517
1520
|
.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
1521
|
.xbt4iw:focus-within:not(#\#):not(#\#):not(#\#){pointer-events:auto}
|
|
@@ -1576,12 +1579,6 @@
|
|
|
1576
1579
|
.x189zj9d:nth-child(even of :not([data-expansion-panel])):not(#\#):not(#\#):not(#\#){background-color:var(--color-background-muted)}
|
|
1577
1580
|
.xjl7jj:empty:not(#\#):not(#\#):not(#\#){display:none}
|
|
1578
1581
|
.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
1582
|
.x1c52tdz:focus:not(#\#):not(#\#):not(#\#){background-color:var(--color-overlay-hover)}
|
|
1586
1583
|
.x1rsz1da:focus:not(#\#):not(#\#):not(#\#){clip-path:none}
|
|
1587
1584
|
.xodanix:focus:not(#\#):not(#\#):not(#\#){inset-inline-start:var(--spacing-2)}
|
|
@@ -1963,7 +1960,6 @@
|
|
|
1963
1960
|
.xs7f9wi:not(#\#):not(#\#):not(#\#):not(#\#){top:2px}
|
|
1964
1961
|
.xwa60dl:not(#\#):not(#\#):not(#\#):not(#\#){top:50%}
|
|
1965
1962
|
.x1ltwjim:not(#\#):not(#\#):not(#\#):not(#\#){top:anchor(--outline-active top,0px)}
|
|
1966
|
-
.x80663w:not(#\#):not(#\#):not(#\#):not(#\#){top:auto}
|
|
1967
1963
|
.x7rbydg:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(50% - (28px / 2))}
|
|
1968
1964
|
.x1oysc8t:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--size-element-lg) / 2 - 1px)}
|
|
1969
1965
|
.xkmsrut:not(#\#):not(#\#):not(#\#):not(#\#){top:calc(var(--size-element-md) / 2 - 1px)}
|
|
@@ -2056,11 +2052,7 @@
|
|
|
2056
2052
|
.x1t1lzn6:last-child:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-width:0}
|
|
2057
2053
|
.xlayyun:last-child:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:calc(-1 * var(--container-padding-block-end,0px))}
|
|
2058
2054
|
.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)}
|
|
2055
|
+
.x14dcwvw:placeholder-shown:not(#\#):not(#\#):not(#\#):not(#\#){min-width:0}
|
|
2064
2056
|
.x15cytp8:focus:not(#\#):not(#\#):not(#\#):not(#\#){height:auto}
|
|
2065
2057
|
.x1rw3289:focus:not(#\#):not(#\#):not(#\#):not(#\#){top:var(--spacing-2)}
|
|
2066
2058
|
.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';
|