@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
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/Calendar/Calendar.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Calendar } from './Calendar';
|
|
10
|
-
export type { CalendarProps, CalendarHandle, ISODateString, DayOfWeek, DayOfWeekName, DateRange, } from './Calendar';
|
|
11
|
-
export { useCalendarDays, useCalendarConstraints, useCalendarNavigation, } from './hooks';
|
|
12
|
-
export type { CalendarDay, UseCalendarDaysOptions, UseCalendarDaysReturn, UseCalendarConstraintsOptions, UseCalendarConstraintsReturn, UseCalendarNavigationOptions, UseCalendarNavigationReturn, } from './hooks';
|
|
13
|
-
export { isSameDay, isDateInRange, getWeekNumber } from './utils';
|
|
9
|
+
export { Calendar } from './Calendar.js';
|
|
10
|
+
export type { CalendarProps, CalendarHandle, ISODateString, DayOfWeek, DayOfWeekName, DateRange, } from './Calendar.js';
|
|
11
|
+
export { useCalendarDays, useCalendarConstraints, useCalendarNavigation, } from './hooks/index.js';
|
|
12
|
+
export type { CalendarDay, UseCalendarDaysOptions, UseCalendarDaysReturn, UseCalendarConstraintsOptions, UseCalendarConstraintsReturn, UseCalendarNavigationOptions, UseCalendarNavigationReturn, } from './hooks/index.js';
|
|
13
|
+
export { isSameDay, isDateInRange, getWeekNumber } from './utils.js';
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Calendar/utils.d.ts
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* @output Re-exports shared date utility functions for calendar components
|
|
5
5
|
* @position Shared utilities; used by Calendar, CalendarMonthGrid, CalendarDayCell
|
|
6
6
|
*/
|
|
7
|
-
export { type PlainDate, plainDateFromISO as parseISO, plainDateToISO as dateToISO, plainDateIsEqual as isSameDay, plainDateIsInRange as isDateInRange, plainDateGetWeekNumber as getWeekNumber, } from '../utils/plainDate';
|
|
7
|
+
export { type PlainDate, plainDateFromISO as parseISO, plainDateToISO as dateToISO, plainDateIsEqual as isSameDay, plainDateIsInRange as isDateInRange, plainDateGetWeekNumber as getWeekNumber, } from '../utils/plainDate.js';
|
|
8
8
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/Card/Card.d.ts
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* - /packages/cli/assets/templates/blocks/components/Card/ (showcase blocks)
|
|
12
12
|
*/
|
|
13
13
|
import type { ReactNode } from 'react';
|
|
14
|
-
import type { Elevation, SizeValue, SpacingStep } from '../utils/types';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
16
|
-
import type { CardVariantMap } from './index';
|
|
14
|
+
import type { Elevation, SizeValue, SpacingStep } from '../utils/types.js';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
|
+
import type { CardVariantMap } from './index.js';
|
|
17
17
|
/**
|
|
18
18
|
* Background color variant for Card, derived from CardVariantMap.
|
|
19
19
|
* Extensible via module augmentation of CardVariantMap.
|
|
@@ -30,7 +30,7 @@ import type { CardVariantMap } from './index';
|
|
|
30
30
|
* borderless variants. Themes can override borderWidth/borderColor.
|
|
31
31
|
*/
|
|
32
32
|
export type CardVariant = keyof CardVariantMap;
|
|
33
|
-
export type { SizeValue } from '../utils/types';
|
|
33
|
+
export type { SizeValue } from '../utils/types.js';
|
|
34
34
|
export interface CardProps extends BaseProps<HTMLDivElement> {
|
|
35
35
|
ref?: React.Ref<HTMLDivElement>;
|
|
36
36
|
/**
|
package/dist/Card/index.d.ts
CHANGED
|
@@ -40,6 +40,6 @@ export interface CardVariantMap {
|
|
|
40
40
|
teal: true;
|
|
41
41
|
yellow: true;
|
|
42
42
|
}
|
|
43
|
-
export { Card } from './Card';
|
|
44
|
-
export type { CardProps, CardVariant, SizeValue } from './Card';
|
|
43
|
+
export { Card } from './Card.js';
|
|
44
|
+
export type { CardProps, CardVariant, SizeValue } from './Card.js';
|
|
45
45
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
* - /packages/cli/assets/templates/blocks/components/Carousel/ (showcase blocks)
|
|
19
19
|
*/
|
|
20
20
|
import { type ReactNode } from 'react';
|
|
21
|
-
import type { BaseProps } from '../BaseProps';
|
|
22
|
-
import type { SpacingStep } from '../utils/types';
|
|
21
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
22
|
+
import type { SpacingStep } from '../utils/types.js';
|
|
23
23
|
/**
|
|
24
24
|
* Imperative control surface for the Carousel, accessed via the `handleRef`
|
|
25
25
|
* prop. Methods drive the same native-scroll machinery as the built-in
|
package/dist/Carousel/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* @output Re-exports Carousel and its props type
|
|
5
5
|
* @position Public entry point for the Carousel module
|
|
6
6
|
*/
|
|
7
|
-
export { Carousel } from './Carousel';
|
|
8
|
-
export type { CarouselProps, CarouselHandle } from './Carousel';
|
|
7
|
+
export { Carousel } from './Carousel.js';
|
|
8
|
+
export type { CarouselProps, CarouselHandle } from './Carousel.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Center/Center.d.ts
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/Center/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import type { ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
16
|
-
import type { SizeValue, SpacingStep } from '../utils/types';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
|
+
import type { SizeValue, SpacingStep } from '../utils/types.js';
|
|
17
17
|
export type CenterAxis = 'both' | 'horizontal' | 'vertical';
|
|
18
18
|
export interface CenterProps extends BaseProps<HTMLDivElement> {
|
|
19
19
|
/** Ref forwarded to the root element */
|
package/dist/Center/index.d.ts
CHANGED
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/core/src/Center/Center.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { Center } from './Center';
|
|
10
|
-
export type { CenterProps, CenterAxis } from './Center';
|
|
9
|
+
export { Center } from './Center.js';
|
|
10
|
+
export type { CenterProps, CenterAxis } from './Center.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* - /packages/cli/assets/templates/blocks/components/ChatComposer/ (block examples)
|
|
20
20
|
*/
|
|
21
21
|
import React, { type ReactNode } from 'react';
|
|
22
|
-
import type { BaseProps } from '../BaseProps';
|
|
22
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
23
23
|
export type ChatComposerStatus = {
|
|
24
24
|
type: 'error' | 'warning';
|
|
25
25
|
message?: string;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import { type ReactNode } from 'react';
|
|
20
20
|
import type { StyleXStyles } from '@stylexjs/stylex';
|
|
21
|
-
import type { BaseProps } from '../BaseProps';
|
|
21
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
22
22
|
export interface ChatComposerDrawerProps extends BaseProps<HTMLDivElement> {
|
|
23
23
|
ref?: React.Ref<HTMLDivElement>;
|
|
24
24
|
/**
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
* - /packages/cli/assets/templates/blocks/components/ChatComposerInput/ (block examples)
|
|
24
24
|
*/
|
|
25
25
|
import { type ReactNode, type KeyboardEvent, type ClipboardEvent } from 'react';
|
|
26
|
-
import type { BaseProps } from '../BaseProps';
|
|
27
|
-
import type { SearchableItem, SearchSource } from '../Typeahead/types';
|
|
28
|
-
import { type UseChatPasteAsTokenReturn } from './useChatPasteAsToken';
|
|
29
|
-
import { type BadgeProps } from '../Badge';
|
|
26
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
27
|
+
import type { SearchableItem, SearchSource } from '../Typeahead/types.js';
|
|
28
|
+
import { type UseChatPasteAsTokenReturn } from './useChatPasteAsToken.js';
|
|
29
|
+
import { type BadgeProps } from '../Badge/index.js';
|
|
30
30
|
/** Imperative handle exposed by ChatComposerInput via handleRef */
|
|
31
31
|
export interface ChatComposerInputHandle {
|
|
32
32
|
/** Insert a token (badge chip) at the current cursor position */
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* - /packages/cli/assets/templates/blocks/components/ChatDictationButton/ (block examples)
|
|
16
16
|
*/
|
|
17
17
|
import React from 'react';
|
|
18
|
-
import type { UseSpeechRecognitionReturn } from './useSpeechRecognition';
|
|
19
|
-
import type { BaseProps } from '../BaseProps';
|
|
18
|
+
import type { UseSpeechRecognitionReturn } from './useSpeechRecognition.js';
|
|
19
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
20
20
|
export interface ChatDictationButtonProps extends BaseProps<HTMLSpanElement> {
|
|
21
21
|
ref?: React.Ref<HTMLSpanElement>;
|
|
22
22
|
/** The return value from useChatDictation or useSpeechRecognition. */
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* - /packages/cli/assets/templates/blocks/components/ChatLayout/ (block examples)
|
|
26
26
|
*/
|
|
27
27
|
import { type ReactNode } from 'react';
|
|
28
|
-
import type { BaseProps } from '../BaseProps';
|
|
28
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
29
29
|
type Density = 'compact' | 'balanced' | 'spacious';
|
|
30
30
|
export interface ChatLayoutProps extends BaseProps<HTMLDivElement> {
|
|
31
31
|
/** Ref forwarded to the root element. */
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/ChatLayoutScrollButton/ (block examples)
|
|
13
13
|
*/
|
|
14
14
|
import React from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
16
|
export interface ChatLayoutScrollButtonProps extends Omit<BaseProps<HTMLDivElement>, 'onClick'> {
|
|
17
17
|
ref?: React.Ref<HTMLDivElement>;
|
|
18
18
|
/** Whether the button is visible. */
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
* - /packages/cli/assets/templates/blocks/components/ChatMessage/ (block examples)
|
|
17
17
|
*/
|
|
18
18
|
import { type ReactNode } from 'react';
|
|
19
|
-
import { type ChatMessageSender, type ChatDensity } from './ChatContext';
|
|
20
|
-
import type { BaseProps } from '../BaseProps';
|
|
19
|
+
import { type ChatMessageSender, type ChatDensity } from './ChatContext.js';
|
|
20
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
21
21
|
export interface ChatMessageProps extends BaseProps<HTMLElement> {
|
|
22
22
|
ref?: React.Ref<HTMLElement>;
|
|
23
23
|
sender: ChatMessageSender;
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
* - /packages/cli/assets/templates/blocks/components/ChatMessageBubble/ (block examples)
|
|
25
25
|
*/
|
|
26
26
|
import type { ReactNode } from 'react';
|
|
27
|
-
import type { SizeValue } from '../utils/types';
|
|
28
|
-
import type { BaseProps } from '../BaseProps';
|
|
27
|
+
import type { SizeValue } from '../utils/types.js';
|
|
28
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
29
29
|
export type ChatMessageBubbleVariant = 'filled' | 'ghost';
|
|
30
30
|
export interface ChatMessageBubbleProps extends BaseProps<HTMLDivElement> {
|
|
31
31
|
/** Ref forwarded to the root element */
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
* - /packages/cli/assets/templates/blocks/components/ChatMessageList/ (block examples)
|
|
21
21
|
*/
|
|
22
22
|
import { type ReactNode } from 'react';
|
|
23
|
-
import { type ChatDensity } from './ChatContext';
|
|
24
|
-
import type { BaseProps } from '../BaseProps';
|
|
25
|
-
import type { SpacingStep } from '../utils/types';
|
|
23
|
+
import { type ChatDensity } from './ChatContext.js';
|
|
24
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
25
|
+
import type { SpacingStep } from '../utils/types.js';
|
|
26
26
|
export interface ChatMessageListProps extends BaseProps<HTMLDivElement> {
|
|
27
27
|
/** Ref forwarded to the root element */
|
|
28
28
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* scalar presence. Direction reverses for user sender.
|
|
9
9
|
*/
|
|
10
10
|
import React, { type ReactNode } from 'react';
|
|
11
|
-
import type { BaseProps } from '../BaseProps';
|
|
11
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
12
12
|
export type ChatMessageStatus = 'sending' | 'sent' | 'delivered' | 'read' | 'error';
|
|
13
13
|
export interface ChatMessageMetadataProps extends BaseProps<HTMLDivElement> {
|
|
14
14
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* - **Stop** — neutral/secondary, stop icon, calls onStop.
|
|
15
15
|
*/
|
|
16
16
|
import React, { type ReactNode } from 'react';
|
|
17
|
-
import type { BaseProps } from '../BaseProps';
|
|
17
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
18
18
|
export interface ChatSendButtonProps extends BaseProps<HTMLButtonElement> {
|
|
19
19
|
ref?: React.Ref<HTMLButtonElement>;
|
|
20
20
|
/** Whether the stop button is shown instead of the send button. @default false */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* - /packages/cli/assets/templates/blocks/components/ChatSystemMessage/ (block examples)
|
|
16
16
|
*/
|
|
17
17
|
import type { ReactNode } from 'react';
|
|
18
|
-
import type { BaseProps } from '../BaseProps';
|
|
18
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
19
19
|
export type ChatSystemMessageVariant = 'default' | 'divider';
|
|
20
20
|
export interface ChatSystemMessageProps extends BaseProps<HTMLDivElement> {
|
|
21
21
|
/** Ref forwarded to the root element */
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* - /packages/cli/assets/templates/blocks/components/ChatTokenizedText/ (block examples)
|
|
16
16
|
*/
|
|
17
17
|
import React from 'react';
|
|
18
|
-
import type { ChatComposerToken } from './ChatComposerInput';
|
|
19
|
-
import type { BaseProps } from '../BaseProps';
|
|
18
|
+
import type { ChatComposerToken } from './ChatComposerInput.js';
|
|
19
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
20
20
|
export interface ChatTokenizedTextProps extends BaseProps<HTMLSpanElement> {
|
|
21
21
|
ref?: React.Ref<HTMLSpanElement>;
|
|
22
22
|
/** The message text containing serialized token values */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* for builders to wire up.
|
|
15
15
|
*/
|
|
16
16
|
import React, { type ReactNode } from 'react';
|
|
17
|
-
import type { BaseProps } from '../BaseProps';
|
|
17
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
18
18
|
export type ChatToolCallStatus = 'pending' | 'running' | 'complete' | 'error';
|
|
19
19
|
export interface ChatToolCallItem {
|
|
20
20
|
/** Tool/function name. */
|
package/dist/Chat/index.d.ts
CHANGED
|
@@ -3,47 +3,47 @@
|
|
|
3
3
|
*
|
|
4
4
|
* SYNC: When modified, update /packages/core/src/index.ts
|
|
5
5
|
*/
|
|
6
|
-
export { ChatComposer } from './ChatComposer';
|
|
7
|
-
export type { ChatComposerProps, ChatComposerStatus, ChatComposerDensity, } from './ChatComposer';
|
|
8
|
-
export { ChatSendButton } from './ChatSendButton';
|
|
9
|
-
export type { ChatSendButtonProps } from './ChatSendButton';
|
|
10
|
-
export { ChatComposerDrawer } from './ChatComposerDrawer';
|
|
11
|
-
export type { ChatComposerDrawerProps } from './ChatComposerDrawer';
|
|
12
|
-
export { ChatComposerInput, ChatComposerTokenElement } from './ChatComposerInput';
|
|
13
|
-
export type { ChatComposerInputProps, ChatComposerInputHandle, ChatComposerTokenElementProps, ChatComposerToken, ChatComposerTrigger, ChatComposerTriggerItem, } from './ChatComposerInput';
|
|
14
|
-
export { ChatTokenizedText } from './ChatTokenizedText';
|
|
15
|
-
export type { ChatTokenizedTextProps } from './ChatTokenizedText';
|
|
16
|
-
export { ChatMessageList } from './ChatMessageList';
|
|
17
|
-
export type { ChatMessageListProps } from './ChatMessageList';
|
|
18
|
-
export { ChatMessage } from './ChatMessage';
|
|
19
|
-
export type { ChatMessageProps } from './ChatMessage';
|
|
20
|
-
export { ChatMessageBubble } from './ChatMessageBubble';
|
|
21
|
-
export type { ChatMessageBubbleProps, ChatMessageBubbleVariant, } from './ChatMessageBubble';
|
|
22
|
-
export { ChatMessageMetadata } from './ChatMessageMetadata';
|
|
23
|
-
export type { ChatMessageMetadataProps, ChatMessageStatus, } from './ChatMessageMetadata';
|
|
24
|
-
export { ChatSystemMessage } from './ChatSystemMessage';
|
|
25
|
-
export type { ChatSystemMessageProps, ChatSystemMessageVariant, } from './ChatSystemMessage';
|
|
26
|
-
export { useChatStreamScroll } from './useChatStreamScroll';
|
|
27
|
-
export type { ChatScrollToBottomOptions, UseChatStreamScrollOptions, UseChatStreamScrollReturn, } from './useChatStreamScroll';
|
|
28
|
-
export { useChatNewMessages } from './useChatNewMessages';
|
|
29
|
-
export type { UseChatNewMessagesOptions, UseChatNewMessagesReturn, } from './useChatNewMessages';
|
|
30
|
-
export { useChatPasteAsToken } from './useChatPasteAsToken';
|
|
31
|
-
export type { UseChatPasteAsTokenOptions, UseChatPasteAsTokenReturn, } from './useChatPasteAsToken';
|
|
32
|
-
export { useChatComposerTokens } from './useChatComposerTokens';
|
|
33
|
-
export type { UseChatComposerTokensOptions, UseChatComposerTokensReturn, TokenPortal, } from './useChatComposerTokens';
|
|
34
|
-
export type { ChatMessageSender, ChatDensity } from './ChatContext';
|
|
35
|
-
export { useChatLayoutContext, useChatComposerContext } from './ChatContext';
|
|
36
|
-
export type { ChatComposerContextValue, ChatComposerInputControl, } from './ChatContext';
|
|
37
|
-
export { ChatToolCalls } from './ChatToolCalls';
|
|
38
|
-
export type { ChatToolCallsProps, ChatToolCallItem, ChatToolCallStatus, } from './ChatToolCalls';
|
|
39
|
-
export { ChatLayout } from './ChatLayout';
|
|
40
|
-
export { ChatLayoutScrollButton } from './ChatLayoutScrollButton';
|
|
41
|
-
export type { ChatLayoutScrollButtonProps } from './ChatLayoutScrollButton';
|
|
42
|
-
export type { ChatLayoutProps } from './ChatLayout';
|
|
43
|
-
export { useSpeechRecognition } from './useSpeechRecognition';
|
|
44
|
-
export type { UseSpeechRecognitionOptions, UseSpeechRecognitionReturn, } from './useSpeechRecognition';
|
|
45
|
-
export { useChatDictation } from './useChatDictation';
|
|
46
|
-
export type { UseChatDictationOptions, UseChatDictationReturn, } from './useChatDictation';
|
|
47
|
-
export { ChatDictationButton } from './ChatDictationButton';
|
|
48
|
-
export type { ChatDictationButtonProps } from './ChatDictationButton';
|
|
6
|
+
export { ChatComposer } from './ChatComposer.js';
|
|
7
|
+
export type { ChatComposerProps, ChatComposerStatus, ChatComposerDensity, } from './ChatComposer.js';
|
|
8
|
+
export { ChatSendButton } from './ChatSendButton.js';
|
|
9
|
+
export type { ChatSendButtonProps } from './ChatSendButton.js';
|
|
10
|
+
export { ChatComposerDrawer } from './ChatComposerDrawer.js';
|
|
11
|
+
export type { ChatComposerDrawerProps } from './ChatComposerDrawer.js';
|
|
12
|
+
export { ChatComposerInput, ChatComposerTokenElement } from './ChatComposerInput.js';
|
|
13
|
+
export type { ChatComposerInputProps, ChatComposerInputHandle, ChatComposerTokenElementProps, ChatComposerToken, ChatComposerTrigger, ChatComposerTriggerItem, } from './ChatComposerInput.js';
|
|
14
|
+
export { ChatTokenizedText } from './ChatTokenizedText.js';
|
|
15
|
+
export type { ChatTokenizedTextProps } from './ChatTokenizedText.js';
|
|
16
|
+
export { ChatMessageList } from './ChatMessageList.js';
|
|
17
|
+
export type { ChatMessageListProps } from './ChatMessageList.js';
|
|
18
|
+
export { ChatMessage } from './ChatMessage.js';
|
|
19
|
+
export type { ChatMessageProps } from './ChatMessage.js';
|
|
20
|
+
export { ChatMessageBubble } from './ChatMessageBubble.js';
|
|
21
|
+
export type { ChatMessageBubbleProps, ChatMessageBubbleVariant, } from './ChatMessageBubble.js';
|
|
22
|
+
export { ChatMessageMetadata } from './ChatMessageMetadata.js';
|
|
23
|
+
export type { ChatMessageMetadataProps, ChatMessageStatus, } from './ChatMessageMetadata.js';
|
|
24
|
+
export { ChatSystemMessage } from './ChatSystemMessage.js';
|
|
25
|
+
export type { ChatSystemMessageProps, ChatSystemMessageVariant, } from './ChatSystemMessage.js';
|
|
26
|
+
export { useChatStreamScroll } from './useChatStreamScroll.js';
|
|
27
|
+
export type { ChatScrollToBottomOptions, UseChatStreamScrollOptions, UseChatStreamScrollReturn, } from './useChatStreamScroll.js';
|
|
28
|
+
export { useChatNewMessages } from './useChatNewMessages.js';
|
|
29
|
+
export type { UseChatNewMessagesOptions, UseChatNewMessagesReturn, } from './useChatNewMessages.js';
|
|
30
|
+
export { useChatPasteAsToken } from './useChatPasteAsToken.js';
|
|
31
|
+
export type { UseChatPasteAsTokenOptions, UseChatPasteAsTokenReturn, } from './useChatPasteAsToken.js';
|
|
32
|
+
export { useChatComposerTokens } from './useChatComposerTokens.js';
|
|
33
|
+
export type { UseChatComposerTokensOptions, UseChatComposerTokensReturn, TokenPortal, } from './useChatComposerTokens.js';
|
|
34
|
+
export type { ChatMessageSender, ChatDensity } from './ChatContext.js';
|
|
35
|
+
export { useChatLayoutContext, useChatComposerContext } from './ChatContext.js';
|
|
36
|
+
export type { ChatComposerContextValue, ChatComposerInputControl, } from './ChatContext.js';
|
|
37
|
+
export { ChatToolCalls } from './ChatToolCalls.js';
|
|
38
|
+
export type { ChatToolCallsProps, ChatToolCallItem, ChatToolCallStatus, } from './ChatToolCalls.js';
|
|
39
|
+
export { ChatLayout } from './ChatLayout.js';
|
|
40
|
+
export { ChatLayoutScrollButton } from './ChatLayoutScrollButton.js';
|
|
41
|
+
export type { ChatLayoutScrollButtonProps } from './ChatLayoutScrollButton.js';
|
|
42
|
+
export type { ChatLayoutProps } from './ChatLayout.js';
|
|
43
|
+
export { useSpeechRecognition } from './useSpeechRecognition.js';
|
|
44
|
+
export type { UseSpeechRecognitionOptions, UseSpeechRecognitionReturn, } from './useSpeechRecognition.js';
|
|
45
|
+
export { useChatDictation } from './useChatDictation.js';
|
|
46
|
+
export type { UseChatDictationOptions, UseChatDictationReturn, } from './useChatDictation.js';
|
|
47
|
+
export { ChatDictationButton } from './ChatDictationButton.js';
|
|
48
|
+
export type { ChatDictationButtonProps } from './ChatDictationButton.js';
|
|
49
49
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChatComposerInputHandle } from './ChatComposerInput';
|
|
1
|
+
import type { ChatComposerInputHandle } from './ChatComposerInput.js';
|
|
2
2
|
export interface UseChatDictationOptions {
|
|
3
3
|
/** BCP-47 language tag. @default InternationalizationProvider locale */
|
|
4
4
|
lang?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ClipboardEvent } from 'react';
|
|
2
|
-
import type { ChatComposerInputHandle, ChatComposerToken } from './ChatComposerInput';
|
|
2
|
+
import type { ChatComposerInputHandle, ChatComposerToken } from './ChatComposerInput.js';
|
|
3
3
|
export interface UseChatPasteAsTokenOptions {
|
|
4
4
|
/** Ref to the composer input handle for inserting tokens. */
|
|
5
5
|
inputRef: React.RefObject<ChatComposerInputHandle | null>;
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
* - /packages/core/src/Chat/index.ts
|
|
19
19
|
*/
|
|
20
20
|
import { type ReactNode } from 'react';
|
|
21
|
-
import type { SearchableItem } from '../Typeahead/types';
|
|
22
|
-
import type { ChatComposerTrigger, ChatComposerToken } from './ChatComposerInput';
|
|
21
|
+
import type { SearchableItem } from '../Typeahead/types.js';
|
|
22
|
+
import type { ChatComposerTrigger, ChatComposerToken } from './ChatComposerInput.js';
|
|
23
23
|
export interface TriggerMenuState {
|
|
24
24
|
isActive: boolean;
|
|
25
25
|
activeTrigger: ChatComposerTrigger | null;
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { type ChangeEvent, type FocusEvent, type ReactNode } from 'react';
|
|
15
15
|
import * as stylex from '@stylexjs/stylex';
|
|
16
|
-
import type { BaseProps } from '../BaseProps';
|
|
17
|
-
import type { SizeValue } from '../utils/types';
|
|
18
|
-
import type { IconType } from '../Icon';
|
|
19
|
-
import type { InputStatus } from '../Field/types';
|
|
16
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
17
|
+
import type { SizeValue } from '../utils/types.js';
|
|
18
|
+
import type { IconType } from '../Icon/index.js';
|
|
19
|
+
import type { InputStatus } from '../Field/types.js';
|
|
20
20
|
declare const wrapperSizeStyles: Readonly<{
|
|
21
21
|
readonly sm: Readonly<{
|
|
22
22
|
readonly width: stylex.StyleXClassNameFor<"width", 20>;
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header and /packages/core/src/CheckboxInput/CheckboxInput.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { CheckboxInput } from './CheckboxInput';
|
|
10
|
-
export type { CheckboxInputProps, CheckboxInputSize, } from './CheckboxInput';
|
|
9
|
+
export { CheckboxInput } from './CheckboxInput.js';
|
|
10
|
+
export type { CheckboxInputProps, CheckboxInputSize, } from './CheckboxInput.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/CheckboxList/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import { type ReactNode } from 'react';
|
|
15
|
-
import { type FieldInputBaseProps } from '../Field/fieldParts';
|
|
16
|
-
import type { SizeValue } from '../utils/types';
|
|
17
|
-
import type { InputStatus } from '../Field/types';
|
|
18
|
-
import type { ListDensity } from '../List/ListContext';
|
|
15
|
+
import { type FieldInputBaseProps } from '../Field/fieldParts.js';
|
|
16
|
+
import type { SizeValue } from '../utils/types.js';
|
|
17
|
+
import type { InputStatus } from '../Field/types.js';
|
|
18
|
+
import type { ListDensity } from '../List/ListContext.js';
|
|
19
19
|
export interface CheckboxListProps extends Omit<FieldInputBaseProps<HTMLDivElement>, 'onChange'> {
|
|
20
20
|
/** Ref forwarded to the `role="group"` element. */
|
|
21
21
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* - /packages/cli/assets/templates/blocks/components/CheckboxList/ (showcase blocks)
|
|
14
14
|
*/
|
|
15
15
|
import { type ReactNode } from 'react';
|
|
16
|
-
import type { BaseProps } from '../BaseProps';
|
|
17
|
-
import type { ItemAlign } from '../Item';
|
|
16
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
17
|
+
import type { ItemAlign } from '../Item/index.js';
|
|
18
18
|
export interface CheckboxListItemProps extends BaseProps<HTMLLIElement> {
|
|
19
19
|
/**
|
|
20
20
|
* Vertical alignment of the start and end content against the label,
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update this header
|
|
8
8
|
*/
|
|
9
|
-
export { CheckboxList } from './CheckboxList';
|
|
10
|
-
export type { CheckboxListProps } from './CheckboxList';
|
|
11
|
-
export { CheckboxListItem } from './CheckboxListItem';
|
|
12
|
-
export type { CheckboxListItemProps } from './CheckboxListItem';
|
|
9
|
+
export { CheckboxList } from './CheckboxList.js';
|
|
10
|
+
export type { CheckboxListProps } from './CheckboxList.js';
|
|
11
|
+
export { CheckboxListItem } from './CheckboxListItem.js';
|
|
12
|
+
export type { CheckboxListItemProps } from './CheckboxListItem.js';
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Citation/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* @output Exports Citation, CitationProps, CitationSource
|
|
5
5
|
* @position Component entry point; re-exported by /packages/core/src/index.ts
|
|
6
6
|
*/
|
|
7
|
-
export { Citation } from './Citation';
|
|
8
|
-
export type { CitationProps, CitationSource } from './Citation';
|
|
7
|
+
export { Citation } from './Citation.js';
|
|
8
|
+
export type { CitationProps, CitationSource } from './Citation.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
* For toggle selection, use SelectableCard.
|
|
26
26
|
*/
|
|
27
27
|
import { type ReactNode, type MouseEvent, type Ref } from 'react';
|
|
28
|
-
import type { SizeValue, SpacingStep, Elevation } from '../utils/types';
|
|
29
|
-
import type { CardVariant } from '../Card/Card';
|
|
30
|
-
import type { BaseProps } from '../BaseProps';
|
|
28
|
+
import type { SizeValue, SpacingStep, Elevation } from '../utils/types.js';
|
|
29
|
+
import type { CardVariant } from '../Card/Card.js';
|
|
30
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
31
31
|
export interface ClickableCardProps extends BaseProps {
|
|
32
32
|
/** Ref forwarded to the root element. */
|
|
33
33
|
ref?: Ref<HTMLDivElement>;
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/core/src/ClickableCard/ClickableCard.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { ClickableCard } from './ClickableCard';
|
|
10
|
-
export type { ClickableCardProps } from './ClickableCard';
|
|
9
|
+
export { ClickableCard } from './ClickableCard.js';
|
|
10
|
+
export type { ClickableCardProps } from './ClickableCard.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Code/Code.d.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* - /packages/cli/assets/templates/blocks/components/CodeBlock/ (showcase blocks)
|
|
13
13
|
*/
|
|
14
14
|
import type { ReactNode } from 'react';
|
|
15
|
-
import type { BaseProps } from '../BaseProps';
|
|
15
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
16
16
|
/** Text color for {@link Code}, mirroring the primary/secondary/inherit subset of Text. */
|
|
17
17
|
export type CodeColor = 'primary' | 'secondary' | 'inherit';
|
|
18
18
|
/** Font size for {@link Code}. `'inherit'` adopts the surrounding text size. */
|
package/dist/Code/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* @output Exports Code and its props type
|
|
5
5
|
* @position Entry point for @astryxdesign/core/Code subpath export
|
|
6
6
|
*/
|
|
7
|
-
export { Code, type CodeProps, type CodeColor, type CodeSize } from './Code';
|
|
7
|
+
export { Code, type CodeProps, type CodeColor, type CodeSize } from './Code.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { BaseProps } from '../BaseProps';
|
|
3
|
-
import { type SyntaxThemeDefinition } from '../theme/syntax';
|
|
2
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
3
|
+
import { type SyntaxThemeDefinition } from '../theme/syntax/index.js';
|
|
4
4
|
export interface CodeBlockProps extends BaseProps<HTMLPreElement> {
|
|
5
5
|
ref?: React.Ref<HTMLPreElement>;
|
|
6
6
|
code: string;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* from line div → text node → Range. No global text-node map, no
|
|
9
9
|
* binary search, no TreeWalker.
|
|
10
10
|
*/
|
|
11
|
-
import type { TokenLine } from './tokenizer';
|
|
11
|
+
import type { TokenLine } from './tokenizer.js';
|
|
12
12
|
interface RangeEntry {
|
|
13
13
|
range: Range;
|
|
14
14
|
highlight: Highlight;
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SYNC: When modified, update /packages/core/src/CodeBlock/CodeBlock.doc.mjs
|
|
8
8
|
*/
|
|
9
|
-
export { CodeBlock } from './CodeBlock';
|
|
10
|
-
export type { CodeBlockProps } from './CodeBlock';
|
|
11
|
-
export { Code } from '../Code';
|
|
12
|
-
export type { CodeProps, CodeColor, CodeSize } from '../Code';
|
|
13
|
-
export { tokenize, tokenizeAsync, tokenizeStreaming, flatTokensToLines, SYNC_TOKENIZE_THRESHOLD, } from './tokenizer';
|
|
14
|
-
export type { SyntaxToken, TokenLine } from './tokenizer';
|
|
15
|
-
export { applyHighlightRangesChunked, applyHighlightRangesBatch, applyHighlightRangesFlat, cleanupRanges, } from './highlightRanges';
|
|
16
|
-
export { ensureHighlightStyles, TOKEN_TYPES } from './highlightStyles';
|
|
9
|
+
export { CodeBlock } from './CodeBlock.js';
|
|
10
|
+
export type { CodeBlockProps } from './CodeBlock.js';
|
|
11
|
+
export { Code } from '../Code/index.js';
|
|
12
|
+
export type { CodeProps, CodeColor, CodeSize } from '../Code/index.js';
|
|
13
|
+
export { tokenize, tokenizeAsync, tokenizeStreaming, flatTokensToLines, SYNC_TOKENIZE_THRESHOLD, } from './tokenizer.js';
|
|
14
|
+
export type { SyntaxToken, TokenLine } from './tokenizer.js';
|
|
15
|
+
export { applyHighlightRangesChunked, applyHighlightRangesBatch, applyHighlightRangesFlat, cleanupRanges, } from './highlightRanges.js';
|
|
16
|
+
export { ensureHighlightStyles, TOKEN_TYPES } from './highlightStyles.js';
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
* - /packages/cli/assets/templates/blocks/components/Collapsible/ (showcase blocks)
|
|
24
24
|
*/
|
|
25
25
|
import { type ReactNode } from 'react';
|
|
26
|
-
import type { CollapsibleChevronPosition } from './CollapsibleGroupContext';
|
|
27
|
-
import type { BaseProps } from '../BaseProps';
|
|
26
|
+
import type { CollapsibleChevronPosition } from './CollapsibleGroupContext.js';
|
|
27
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
28
28
|
export interface CollapsibleProps extends BaseProps {
|
|
29
29
|
/** Ref forwarded to the root element */
|
|
30
30
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
* - /packages/cli/assets/templates/blocks/components/Collapsible/ (showcase blocks)
|
|
24
24
|
*/
|
|
25
25
|
import React, { type ReactNode } from 'react';
|
|
26
|
-
import type { CollapsibleChevronPosition, CollapsibleGroupDensity } from './CollapsibleGroupContext';
|
|
27
|
-
import type { BaseProps } from '../BaseProps';
|
|
26
|
+
import type { CollapsibleChevronPosition, CollapsibleGroupDensity } from './CollapsibleGroupContext.js';
|
|
27
|
+
import type { BaseProps } from '../BaseProps.js';
|
|
28
28
|
export interface CollapsibleGroupProps extends Omit<BaseProps<HTMLElement>, 'onChange'> {
|
|
29
29
|
ref?: React.Ref<HTMLElement>;
|
|
30
30
|
/**
|