@astryxdesign/cli 0.7.8-canary.5a373df → 0.7.8-canary.96066d7
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/api/component/__fixtures__/resolutions/case-01.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-02.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-03.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-04.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-05.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-06.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-07.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-08.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-09.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-10.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-11.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-12.txt +30 -0
- package/api/component/__fixtures__/resolutions/case-13.txt +25 -0
- package/api/component/__fixtures__/resolutions/modules.txt +309 -0
- package/api/component/component.mjs +11 -7
- package/assets/templates/blocks/components/Hooks/useLocaleHookUsage.doc.mjs +20 -0
- package/assets/templates/blocks/components/Hooks/useLocaleHookUsage.tsx +72 -0
- package/clients/cli/commands/component.mjs +18 -8
- package/foundation/discovery/component-discovery.mjs +85 -10
- package/foundation/fs/listing-cache.d.mts +10 -0
- package/foundation/fs/listing-cache.mjs +19 -1
- package/foundation/xle/registry.d.mts +1 -1
- package/foundation/xle/registry.mjs +11 -1
- package/package.json +9 -9
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
ALERTDIALOG AlertDialog AlertDialog/AlertDialog.doc.mjs -
|
|
2
|
+
APPSHELL AppShell AppShell/AppShell.doc.mjs -
|
|
3
|
+
ASPECTRATIO AspectRatio AspectRatio/AspectRatio.doc.mjs -
|
|
4
|
+
AVATARGROUP AvatarGroup AvatarGroup/AvatarGroup.doc.mjs -
|
|
5
|
+
AVATARGROUPOVERFLOW AvatarGroupOverflow AvatarGroup/AvatarGroupOverflow.doc.mjs -
|
|
6
|
+
AVATARSTATUSDOT AvatarStatusDot Avatar/AvatarStatusDot.doc.mjs -
|
|
7
|
+
BADGE Badge Badge/Badge.doc.mjs -
|
|
8
|
+
BANNER Banner Banner/Banner.doc.mjs -
|
|
9
|
+
BASETYPEAHEAD BaseTypeahead Typeahead/BaseTypeahead.doc.mjs -
|
|
10
|
+
BLOCKQUOTE Blockquote Blockquote/Blockquote.doc.mjs -
|
|
11
|
+
BOTTOMSHEET BottomSheet BottomSheet/BottomSheet.doc.mjs -
|
|
12
|
+
BOTTOMSHEETSWITCHER BottomSheetSwitcher BottomSheet/BottomSheetSwitcher.doc.mjs -
|
|
13
|
+
BREADCRUMBITEM BreadcrumbItem Breadcrumbs/BreadcrumbItem.doc.mjs -
|
|
14
|
+
BREADCRUMBS Breadcrumbs Breadcrumbs/Breadcrumbs.doc.mjs -
|
|
15
|
+
BUTTONGROUP ButtonGroup ButtonGroup/ButtonGroup.doc.mjs -
|
|
16
|
+
CAROUSEL Carousel Carousel/Carousel.doc.mjs -
|
|
17
|
+
CENTER Center Center/Center.doc.mjs -
|
|
18
|
+
CHATCOMPOSER ChatComposer Chat/ChatComposer.doc.mjs -
|
|
19
|
+
CHATCOMPOSERDRAWER ChatComposerDrawer Chat/ChatComposerDrawer.doc.mjs -
|
|
20
|
+
CHATCOMPOSERINPUT ChatComposerInput Chat/ChatComposerInput.doc.mjs -
|
|
21
|
+
CHATDICTATIONBUTTON ChatDictationButton Chat/ChatDictationButton.doc.mjs -
|
|
22
|
+
CHATLAYOUT ChatLayout Chat/ChatLayout.doc.mjs -
|
|
23
|
+
CHATLAYOUTSCROLLBUTTON ChatLayoutScrollButton Chat/ChatLayoutScrollButton.doc.mjs -
|
|
24
|
+
CHATMESSAGE ChatMessage Chat/ChatMessage.doc.mjs -
|
|
25
|
+
CHATMESSAGEBUBBLE ChatMessageBubble Chat/ChatMessageBubble.doc.mjs -
|
|
26
|
+
CHATMESSAGELIST ChatMessageList Chat/ChatMessageList.doc.mjs -
|
|
27
|
+
CHATMESSAGEMETADATA ChatMessageMetadata Chat/ChatMessageMetadata.doc.mjs -
|
|
28
|
+
CHATSENDBUTTON ChatSendButton Chat/ChatSendButton.doc.mjs -
|
|
29
|
+
CHATSYSTEMMESSAGE ChatSystemMessage Chat/ChatSystemMessage.doc.mjs -
|
|
30
|
+
CHATTOKENIZEDTEXT ChatTokenizedText Chat/ChatTokenizedText.doc.mjs -
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
CHATTOOLCALLS ChatToolCalls Chat/ChatToolCalls.doc.mjs -
|
|
2
|
+
CHECKBOXINPUT CheckboxInput CheckboxInput/CheckboxInput.doc.mjs -
|
|
3
|
+
CHECKBOXLIST CheckboxList CheckboxList/CheckboxList.doc.mjs -
|
|
4
|
+
CHECKBOXLISTITEM CheckboxListItem CheckboxList/CheckboxListItem.doc.mjs -
|
|
5
|
+
CLICKABLECARD ClickableCard ClickableCard/ClickableCard.doc.mjs -
|
|
6
|
+
CODEBLOCK CodeBlock CodeBlock/CodeBlock.doc.mjs -
|
|
7
|
+
COLLAPSIBLE Collapsible Collapsible/Collapsible.doc.mjs -
|
|
8
|
+
COLLAPSIBLEGROUP CollapsibleGroup Collapsible/CollapsibleGroup.doc.mjs -
|
|
9
|
+
COMMANDPALETTE CommandPalette CommandPalette/CommandPalette.doc.mjs -
|
|
10
|
+
COMMANDPALETTEEMPTY CommandPaletteEmpty CommandPalette/CommandPaletteEmpty.doc.mjs -
|
|
11
|
+
COMMANDPALETTEFOOTER CommandPaletteFooter CommandPalette/CommandPaletteFooter.doc.mjs -
|
|
12
|
+
COMMANDPALETTEGROUP CommandPaletteGroup CommandPalette/CommandPaletteGroup.doc.mjs -
|
|
13
|
+
COMMANDPALETTEINPUT CommandPaletteInput CommandPalette/CommandPaletteInput.doc.mjs -
|
|
14
|
+
COMMANDPALETTEITEM CommandPaletteItem CommandPalette/CommandPaletteItem.doc.mjs -
|
|
15
|
+
COMMANDPALETTELIST CommandPaletteList CommandPalette/CommandPaletteList.doc.mjs -
|
|
16
|
+
COMPLEXSELECTOR ComplexSelector ComplexSelector/ComplexSelector.doc.mjs -
|
|
17
|
+
DATEINPUT DateInput DateInput/DateInput.doc.mjs -
|
|
18
|
+
DATERANGEINPUT DateRangeInput DateRangeInput/DateRangeInput.doc.mjs -
|
|
19
|
+
DATETIMEINPUT DateTimeInput DateTimeInput/DateTimeInput.doc.mjs -
|
|
20
|
+
DIALOGHEADER DialogHeader Dialog/DialogHeader.doc.mjs -
|
|
21
|
+
DIVIDER Divider Divider/Divider.doc.mjs -
|
|
22
|
+
DRAWERHEADER DrawerHeader Drawer/DrawerHeader.doc.mjs -
|
|
23
|
+
DROPDOWNMENU DropdownMenu DropdownMenu/DropdownMenu.doc.mjs -
|
|
24
|
+
DROPDOWNMENUCHECKBOXITEM DropdownMenuCheckboxItem DropdownMenu/DropdownMenuCheckboxItem.doc.mjs -
|
|
25
|
+
DROPDOWNMENUDIVIDER DropdownMenuDivider DropdownMenu/DropdownMenuDivider.doc.mjs -
|
|
26
|
+
DROPDOWNMENUGROUP DropdownMenuGroup DropdownMenu/DropdownMenuGroup.doc.mjs -
|
|
27
|
+
DROPDOWNMENUITEM DropdownMenuItem DropdownMenu/DropdownMenuItem.doc.mjs -
|
|
28
|
+
DROPDOWNMENURADIOGROUP DropdownMenuRadioGroup DropdownMenu/DropdownMenuRadioGroup.doc.mjs -
|
|
29
|
+
DROPDOWNMENURADIOITEM DropdownMenuRadioItem DropdownMenu/DropdownMenuRadioItem.doc.mjs -
|
|
30
|
+
DROPDOWNMENUSUBMENU DropdownMenuSubMenu DropdownMenu/DropdownMenuSubMenu.doc.mjs -
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
EMPTYSTATE EmptyState EmptyState/EmptyState.doc.mjs -
|
|
2
|
+
FIELDLABEL FieldLabel Field/FieldLabel.doc.mjs -
|
|
3
|
+
FIELDSTATUS FieldStatus FieldStatus/FieldStatus.doc.mjs -
|
|
4
|
+
FILEINPUT FileInput FileInput/FileInput.doc.mjs -
|
|
5
|
+
FORMLAYOUT FormLayout FormLayout/FormLayout.doc.mjs -
|
|
6
|
+
GRIDSPAN GridSpan Grid/GridSpan.doc.mjs -
|
|
7
|
+
HOVERCARD HoverCard HoverCard/HoverCard.doc.mjs -
|
|
8
|
+
INPUTGROUP InputGroup InputGroup/InputGroup.doc.mjs -
|
|
9
|
+
INPUTGROUPTEXT InputGroupText InputGroup/InputGroupText.doc.mjs -
|
|
10
|
+
INTERNATIONALIZATIONPROVIDER InternationalizationProvider i18n/InternationalizationProvider.doc.mjs -
|
|
11
|
+
ITEM Item Item/Item.doc.mjs -
|
|
12
|
+
KBD Kbd Kbd/Kbd.doc.mjs -
|
|
13
|
+
LAYOUTCONTENT LayoutContent Layout/LayoutContent.doc.mjs -
|
|
14
|
+
LAYOUTFOOTER LayoutFooter Layout/LayoutFooter.doc.mjs -
|
|
15
|
+
LAYOUTHEADER LayoutHeader Layout/LayoutHeader.doc.mjs -
|
|
16
|
+
LAYOUTPANEL LayoutPanel Layout/LayoutPanel.doc.mjs -
|
|
17
|
+
LINKPROVIDER LinkProvider Link/LinkProvider.doc.mjs -
|
|
18
|
+
LIST List List/List.doc.mjs -
|
|
19
|
+
MARKDOWN Markdown Markdown/Markdown.doc.mjs -
|
|
20
|
+
MEDIATHEME MediaTheme theme/MediaTheme.doc.mjs -
|
|
21
|
+
METADATALIST MetadataList MetadataList/MetadataList.doc.mjs -
|
|
22
|
+
METADATALISTITEM MetadataListItem MetadataList/MetadataListItem.doc.mjs -
|
|
23
|
+
MOBILENAV MobileNav MobileNav/MobileNav.doc.mjs -
|
|
24
|
+
MOREMENU MoreMenu MoreMenu/MoreMenu.doc.mjs -
|
|
25
|
+
MULTISELECTOR MultiSelector MultiSelector/MultiSelector.doc.mjs -
|
|
26
|
+
NAVICON NavIcon NavIcon/NavIcon.doc.mjs -
|
|
27
|
+
NUMBERINPUT NumberInput NumberInput/NumberInput.doc.mjs -
|
|
28
|
+
OVERFLOWLIST OverflowList OverflowList/OverflowList.doc.mjs -
|
|
29
|
+
PAGINATION Pagination Pagination/Pagination.doc.mjs -
|
|
30
|
+
POWERSEARCH PowerSearch PowerSearch/PowerSearch.doc.mjs -
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
PROGRESSBAR ProgressBar ProgressBar/ProgressBar.doc.mjs -
|
|
2
|
+
RADIOLIST RadioList RadioList/RadioList.doc.mjs -
|
|
3
|
+
RADIOLISTITEM RadioListItem RadioList/RadioListItem.doc.mjs -
|
|
4
|
+
SCROLLABLEAREA ScrollableArea ScrollableArea/ScrollableArea.doc.mjs -
|
|
5
|
+
SECTION Section Section/Section.doc.mjs -
|
|
6
|
+
SEGMENTEDCONTROL SegmentedControl SegmentedControl/SegmentedControl.doc.mjs -
|
|
7
|
+
SEGMENTEDCONTROLITEM SegmentedControlItem SegmentedControl/SegmentedControlItem.doc.mjs -
|
|
8
|
+
SELECTABLECARD SelectableCard SelectableCard/SelectableCard.doc.mjs -
|
|
9
|
+
SELECTOROPTION SelectorOption Selector/SelectorOption.doc.mjs -
|
|
10
|
+
SIDENAVCOLLAPSEBUTTON SideNavCollapseButton SideNav/SideNavCollapseButton.doc.mjs -
|
|
11
|
+
SIDENAVHEADING SideNavHeading SideNav/SideNavHeading.doc.mjs -
|
|
12
|
+
SIDENAVITEM SideNavItem SideNav/SideNavItem.doc.mjs -
|
|
13
|
+
SIDENAVSECTION SideNavSection SideNav/SideNavSection.doc.mjs -
|
|
14
|
+
SKELETON Skeleton Skeleton/Skeleton.doc.mjs -
|
|
15
|
+
STATUSDOT StatusDot StatusDot/StatusDot.doc.mjs -
|
|
16
|
+
STEP Step Stepper/Step.doc.mjs -
|
|
17
|
+
TABLE Table Table/Table.doc.mjs -
|
|
18
|
+
TABLEBODY TableBody Table/TableBody.doc.mjs -
|
|
19
|
+
TABLECELL TableCell Table/TableCell.doc.mjs -
|
|
20
|
+
TABLEFOOTER TableFooter Table/TableFooter.doc.mjs -
|
|
21
|
+
TABLEHEADER TableHeader Table/TableHeader.doc.mjs -
|
|
22
|
+
TABLEHEADERCELL TableHeaderCell Table/TableHeaderCell.doc.mjs -
|
|
23
|
+
TABLEROW TableRow Table/TableRow.doc.mjs -
|
|
24
|
+
TABLESELECTIONTOOLBAR TableSelectionToolbar Table/TableSelectionToolbar.doc.mjs -
|
|
25
|
+
TABLIST TabList TabList/TabList.doc.mjs -
|
|
26
|
+
TABMENU TabMenu TabList/TabMenu.doc.mjs -
|
|
27
|
+
TEXT Text Text/Text.doc.mjs -
|
|
28
|
+
TEXTAREA TextArea TextArea/TextArea.doc.mjs -
|
|
29
|
+
TEXTINPUT TextInput TextInput/TextInput.doc.mjs -
|
|
30
|
+
THEME Theme theme/Theme.doc.mjs -
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
TIMEINPUT TimeInput TimeInput/TimeInput.doc.mjs -
|
|
2
|
+
TIMER Timer Timer/Timer.doc.mjs -
|
|
3
|
+
TOGGLEBUTTON ToggleButton ToggleButton/ToggleButton.doc.mjs -
|
|
4
|
+
TOGGLEBUTTONGROUP ToggleButtonGroup ToggleButton/ToggleButtonGroup.doc.mjs -
|
|
5
|
+
TOKEN Token Token/Token.doc.mjs -
|
|
6
|
+
TOKENIZER Tokenizer Tokenizer/Tokenizer.doc.mjs -
|
|
7
|
+
TOPNAVHEADING TopNavHeading TopNav/TopNavHeading.doc.mjs -
|
|
8
|
+
TOPNAVITEM TopNavItem TopNav/TopNavItem.doc.mjs -
|
|
9
|
+
TOPNAVMEGAMENU TopNavMegaMenu TopNav/TopNavMegaMenu.doc.mjs -
|
|
10
|
+
TOPNAVMEGAMENUFEATUREDCARD TopNavMegaMenuFeaturedCard TopNav/TopNavMegaMenuFeaturedCard.doc.mjs -
|
|
11
|
+
TOPNAVMEGAMENUITEM TopNavMegaMenuItem TopNav/TopNavMegaMenuItem.doc.mjs -
|
|
12
|
+
TOPNAVMENU TopNavMenu TopNav/TopNavMenu.doc.mjs -
|
|
13
|
+
TREELIST TreeList TreeList/TreeList.doc.mjs -
|
|
14
|
+
TYPEAHEAD Typeahead Typeahead/Typeahead.doc.mjs -
|
|
15
|
+
TYPEAHEADITEM TypeaheadItem Typeahead/TypeaheadItem.doc.mjs -
|
|
16
|
+
VISUALLYHIDDEN VisuallyHidden VisuallyHidden/VisuallyHidden.doc.mjs -
|
|
17
|
+
alertDialog AlertDialog AlertDialog/AlertDialog.doc.mjs -
|
|
18
|
+
alertdialog AlertDialog AlertDialog/AlertDialog.doc.mjs -
|
|
19
|
+
appShell AppShell AppShell/AppShell.doc.mjs -
|
|
20
|
+
appshell AppShell AppShell/AppShell.doc.mjs -
|
|
21
|
+
aspectRatio AspectRatio AspectRatio/AspectRatio.doc.mjs -
|
|
22
|
+
aspectratio AspectRatio AspectRatio/AspectRatio.doc.mjs -
|
|
23
|
+
avatarGroup AvatarGroup AvatarGroup/AvatarGroup.doc.mjs -
|
|
24
|
+
avatarGroupOverflow AvatarGroupOverflow AvatarGroup/AvatarGroupOverflow.doc.mjs -
|
|
25
|
+
avatarStatusDot AvatarStatusDot Avatar/AvatarStatusDot.doc.mjs -
|
|
26
|
+
avatargroup AvatarGroup AvatarGroup/AvatarGroup.doc.mjs -
|
|
27
|
+
avatargroupoverflow AvatarGroupOverflow AvatarGroup/AvatarGroupOverflow.doc.mjs -
|
|
28
|
+
avatarstatusdot AvatarStatusDot Avatar/AvatarStatusDot.doc.mjs -
|
|
29
|
+
badge Badge Badge/Badge.doc.mjs -
|
|
30
|
+
banner Banner Banner/Banner.doc.mjs -
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
baseTypeahead BaseTypeahead Typeahead/BaseTypeahead.doc.mjs -
|
|
2
|
+
basetypeahead BaseTypeahead Typeahead/BaseTypeahead.doc.mjs -
|
|
3
|
+
blockquote Blockquote Blockquote/Blockquote.doc.mjs -
|
|
4
|
+
bottomSheet BottomSheet BottomSheet/BottomSheet.doc.mjs -
|
|
5
|
+
bottomSheetSwitcher BottomSheetSwitcher BottomSheet/BottomSheetSwitcher.doc.mjs -
|
|
6
|
+
bottomsheet BottomSheet BottomSheet/BottomSheet.doc.mjs -
|
|
7
|
+
bottomsheetswitcher BottomSheetSwitcher BottomSheet/BottomSheetSwitcher.doc.mjs -
|
|
8
|
+
breadcrumbItem BreadcrumbItem Breadcrumbs/BreadcrumbItem.doc.mjs -
|
|
9
|
+
breadcrumbitem BreadcrumbItem Breadcrumbs/BreadcrumbItem.doc.mjs -
|
|
10
|
+
breadcrumbs Breadcrumbs Breadcrumbs/Breadcrumbs.doc.mjs -
|
|
11
|
+
buttonGroup ButtonGroup ButtonGroup/ButtonGroup.doc.mjs -
|
|
12
|
+
buttongroup ButtonGroup ButtonGroup/ButtonGroup.doc.mjs -
|
|
13
|
+
carousel Carousel Carousel/Carousel.doc.mjs -
|
|
14
|
+
center Center Center/Center.doc.mjs -
|
|
15
|
+
chatComposer ChatComposer Chat/ChatComposer.doc.mjs -
|
|
16
|
+
chatComposerDrawer ChatComposerDrawer Chat/ChatComposerDrawer.doc.mjs -
|
|
17
|
+
chatComposerInput ChatComposerInput Chat/ChatComposerInput.doc.mjs -
|
|
18
|
+
chatDictationButton ChatDictationButton Chat/ChatDictationButton.doc.mjs -
|
|
19
|
+
chatLayout ChatLayout Chat/ChatLayout.doc.mjs -
|
|
20
|
+
chatLayoutScrollButton ChatLayoutScrollButton Chat/ChatLayoutScrollButton.doc.mjs -
|
|
21
|
+
chatMessage ChatMessage Chat/ChatMessage.doc.mjs -
|
|
22
|
+
chatMessageBubble ChatMessageBubble Chat/ChatMessageBubble.doc.mjs -
|
|
23
|
+
chatMessageList ChatMessageList Chat/ChatMessageList.doc.mjs -
|
|
24
|
+
chatMessageMetadata ChatMessageMetadata Chat/ChatMessageMetadata.doc.mjs -
|
|
25
|
+
chatSendButton ChatSendButton Chat/ChatSendButton.doc.mjs -
|
|
26
|
+
chatSystemMessage ChatSystemMessage Chat/ChatSystemMessage.doc.mjs -
|
|
27
|
+
chatTokenizedText ChatTokenizedText Chat/ChatTokenizedText.doc.mjs -
|
|
28
|
+
chatToolCalls ChatToolCalls Chat/ChatToolCalls.doc.mjs -
|
|
29
|
+
chatcomposer ChatComposer Chat/ChatComposer.doc.mjs -
|
|
30
|
+
chatcomposerdrawer ChatComposerDrawer Chat/ChatComposerDrawer.doc.mjs -
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
chatcomposerinput ChatComposerInput Chat/ChatComposerInput.doc.mjs -
|
|
2
|
+
chatdictationbutton ChatDictationButton Chat/ChatDictationButton.doc.mjs -
|
|
3
|
+
chatlayout ChatLayout Chat/ChatLayout.doc.mjs -
|
|
4
|
+
chatlayoutscrollbutton ChatLayoutScrollButton Chat/ChatLayoutScrollButton.doc.mjs -
|
|
5
|
+
chatmessage ChatMessage Chat/ChatMessage.doc.mjs -
|
|
6
|
+
chatmessagebubble ChatMessageBubble Chat/ChatMessageBubble.doc.mjs -
|
|
7
|
+
chatmessagelist ChatMessageList Chat/ChatMessageList.doc.mjs -
|
|
8
|
+
chatmessagemetadata ChatMessageMetadata Chat/ChatMessageMetadata.doc.mjs -
|
|
9
|
+
chatsendbutton ChatSendButton Chat/ChatSendButton.doc.mjs -
|
|
10
|
+
chatsystemmessage ChatSystemMessage Chat/ChatSystemMessage.doc.mjs -
|
|
11
|
+
chattokenizedtext ChatTokenizedText Chat/ChatTokenizedText.doc.mjs -
|
|
12
|
+
chattoolcalls ChatToolCalls Chat/ChatToolCalls.doc.mjs -
|
|
13
|
+
checkboxInput CheckboxInput CheckboxInput/CheckboxInput.doc.mjs -
|
|
14
|
+
checkboxList CheckboxList CheckboxList/CheckboxList.doc.mjs -
|
|
15
|
+
checkboxListItem CheckboxListItem CheckboxList/CheckboxListItem.doc.mjs -
|
|
16
|
+
checkboxinput CheckboxInput CheckboxInput/CheckboxInput.doc.mjs -
|
|
17
|
+
checkboxlist CheckboxList CheckboxList/CheckboxList.doc.mjs -
|
|
18
|
+
checkboxlistitem CheckboxListItem CheckboxList/CheckboxListItem.doc.mjs -
|
|
19
|
+
clickableCard ClickableCard ClickableCard/ClickableCard.doc.mjs -
|
|
20
|
+
clickablecard ClickableCard ClickableCard/ClickableCard.doc.mjs -
|
|
21
|
+
codeBlock CodeBlock CodeBlock/CodeBlock.doc.mjs -
|
|
22
|
+
codeblock CodeBlock CodeBlock/CodeBlock.doc.mjs -
|
|
23
|
+
collapsible Collapsible Collapsible/Collapsible.doc.mjs -
|
|
24
|
+
collapsibleGroup CollapsibleGroup Collapsible/CollapsibleGroup.doc.mjs -
|
|
25
|
+
collapsiblegroup CollapsibleGroup Collapsible/CollapsibleGroup.doc.mjs -
|
|
26
|
+
commandPalette CommandPalette CommandPalette/CommandPalette.doc.mjs -
|
|
27
|
+
commandPaletteEmpty CommandPaletteEmpty CommandPalette/CommandPaletteEmpty.doc.mjs -
|
|
28
|
+
commandPaletteFooter CommandPaletteFooter CommandPalette/CommandPaletteFooter.doc.mjs -
|
|
29
|
+
commandPaletteGroup CommandPaletteGroup CommandPalette/CommandPaletteGroup.doc.mjs -
|
|
30
|
+
commandPaletteInput CommandPaletteInput CommandPalette/CommandPaletteInput.doc.mjs -
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
commandPaletteItem CommandPaletteItem CommandPalette/CommandPaletteItem.doc.mjs -
|
|
2
|
+
commandPaletteList CommandPaletteList CommandPalette/CommandPaletteList.doc.mjs -
|
|
3
|
+
commandpalette CommandPalette CommandPalette/CommandPalette.doc.mjs -
|
|
4
|
+
commandpaletteempty CommandPaletteEmpty CommandPalette/CommandPaletteEmpty.doc.mjs -
|
|
5
|
+
commandpalettefooter CommandPaletteFooter CommandPalette/CommandPaletteFooter.doc.mjs -
|
|
6
|
+
commandpalettegroup CommandPaletteGroup CommandPalette/CommandPaletteGroup.doc.mjs -
|
|
7
|
+
commandpaletteinput CommandPaletteInput CommandPalette/CommandPaletteInput.doc.mjs -
|
|
8
|
+
commandpaletteitem CommandPaletteItem CommandPalette/CommandPaletteItem.doc.mjs -
|
|
9
|
+
commandpalettelist CommandPaletteList CommandPalette/CommandPaletteList.doc.mjs -
|
|
10
|
+
complexSelector ComplexSelector ComplexSelector/ComplexSelector.doc.mjs -
|
|
11
|
+
complexselector ComplexSelector ComplexSelector/ComplexSelector.doc.mjs -
|
|
12
|
+
dateInput DateInput DateInput/DateInput.doc.mjs -
|
|
13
|
+
dateRangeInput DateRangeInput DateRangeInput/DateRangeInput.doc.mjs -
|
|
14
|
+
dateTimeInput DateTimeInput DateTimeInput/DateTimeInput.doc.mjs -
|
|
15
|
+
dateinput DateInput DateInput/DateInput.doc.mjs -
|
|
16
|
+
daterangeinput DateRangeInput DateRangeInput/DateRangeInput.doc.mjs -
|
|
17
|
+
datetimeinput DateTimeInput DateTimeInput/DateTimeInput.doc.mjs -
|
|
18
|
+
dialogHeader DialogHeader Dialog/DialogHeader.doc.mjs -
|
|
19
|
+
dialogheader DialogHeader Dialog/DialogHeader.doc.mjs -
|
|
20
|
+
divider Divider Divider/Divider.doc.mjs -
|
|
21
|
+
drawerHeader DrawerHeader Drawer/DrawerHeader.doc.mjs -
|
|
22
|
+
drawerheader DrawerHeader Drawer/DrawerHeader.doc.mjs -
|
|
23
|
+
dropdownMenu DropdownMenu DropdownMenu/DropdownMenu.doc.mjs -
|
|
24
|
+
dropdownMenuCheckboxItem DropdownMenuCheckboxItem DropdownMenu/DropdownMenuCheckboxItem.doc.mjs -
|
|
25
|
+
dropdownMenuDivider DropdownMenuDivider DropdownMenu/DropdownMenuDivider.doc.mjs -
|
|
26
|
+
dropdownMenuGroup DropdownMenuGroup DropdownMenu/DropdownMenuGroup.doc.mjs -
|
|
27
|
+
dropdownMenuItem DropdownMenuItem DropdownMenu/DropdownMenuItem.doc.mjs -
|
|
28
|
+
dropdownMenuRadioGroup DropdownMenuRadioGroup DropdownMenu/DropdownMenuRadioGroup.doc.mjs -
|
|
29
|
+
dropdownMenuRadioItem DropdownMenuRadioItem DropdownMenu/DropdownMenuRadioItem.doc.mjs -
|
|
30
|
+
dropdownMenuSubMenu DropdownMenuSubMenu DropdownMenu/DropdownMenuSubMenu.doc.mjs -
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
dropdownmenu DropdownMenu DropdownMenu/DropdownMenu.doc.mjs -
|
|
2
|
+
dropdownmenucheckboxitem DropdownMenuCheckboxItem DropdownMenu/DropdownMenuCheckboxItem.doc.mjs -
|
|
3
|
+
dropdownmenudivider DropdownMenuDivider DropdownMenu/DropdownMenuDivider.doc.mjs -
|
|
4
|
+
dropdownmenugroup DropdownMenuGroup DropdownMenu/DropdownMenuGroup.doc.mjs -
|
|
5
|
+
dropdownmenuitem DropdownMenuItem DropdownMenu/DropdownMenuItem.doc.mjs -
|
|
6
|
+
dropdownmenuradiogroup DropdownMenuRadioGroup DropdownMenu/DropdownMenuRadioGroup.doc.mjs -
|
|
7
|
+
dropdownmenuradioitem DropdownMenuRadioItem DropdownMenu/DropdownMenuRadioItem.doc.mjs -
|
|
8
|
+
dropdownmenusubmenu DropdownMenuSubMenu DropdownMenu/DropdownMenuSubMenu.doc.mjs -
|
|
9
|
+
emptyState EmptyState EmptyState/EmptyState.doc.mjs -
|
|
10
|
+
emptystate EmptyState EmptyState/EmptyState.doc.mjs -
|
|
11
|
+
fieldLabel FieldLabel Field/FieldLabel.doc.mjs -
|
|
12
|
+
fieldStatus FieldStatus FieldStatus/FieldStatus.doc.mjs -
|
|
13
|
+
fieldlabel FieldLabel Field/FieldLabel.doc.mjs -
|
|
14
|
+
fieldstatus FieldStatus FieldStatus/FieldStatus.doc.mjs -
|
|
15
|
+
fileInput FileInput FileInput/FileInput.doc.mjs -
|
|
16
|
+
fileinput FileInput FileInput/FileInput.doc.mjs -
|
|
17
|
+
formLayout FormLayout FormLayout/FormLayout.doc.mjs -
|
|
18
|
+
formlayout FormLayout FormLayout/FormLayout.doc.mjs -
|
|
19
|
+
gridSpan GridSpan Grid/GridSpan.doc.mjs -
|
|
20
|
+
gridspan GridSpan Grid/GridSpan.doc.mjs -
|
|
21
|
+
hoverCard HoverCard HoverCard/HoverCard.doc.mjs -
|
|
22
|
+
hovercard HoverCard HoverCard/HoverCard.doc.mjs -
|
|
23
|
+
inputGroup InputGroup InputGroup/InputGroup.doc.mjs -
|
|
24
|
+
inputGroupText InputGroupText InputGroup/InputGroupText.doc.mjs -
|
|
25
|
+
inputgroup InputGroup InputGroup/InputGroup.doc.mjs -
|
|
26
|
+
inputgrouptext InputGroupText InputGroup/InputGroupText.doc.mjs -
|
|
27
|
+
internationalizationProvider InternationalizationProvider i18n/InternationalizationProvider.doc.mjs -
|
|
28
|
+
internationalizationprovider InternationalizationProvider i18n/InternationalizationProvider.doc.mjs -
|
|
29
|
+
item Item Item/Item.doc.mjs -
|
|
30
|
+
kbd Kbd Kbd/Kbd.doc.mjs -
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
layoutContent LayoutContent Layout/LayoutContent.doc.mjs -
|
|
2
|
+
layoutFooter LayoutFooter Layout/LayoutFooter.doc.mjs -
|
|
3
|
+
layoutHeader LayoutHeader Layout/LayoutHeader.doc.mjs -
|
|
4
|
+
layoutPanel LayoutPanel Layout/LayoutPanel.doc.mjs -
|
|
5
|
+
layoutcontent LayoutContent Layout/LayoutContent.doc.mjs -
|
|
6
|
+
layoutfooter LayoutFooter Layout/LayoutFooter.doc.mjs -
|
|
7
|
+
layoutheader LayoutHeader Layout/LayoutHeader.doc.mjs -
|
|
8
|
+
layoutpanel LayoutPanel Layout/LayoutPanel.doc.mjs -
|
|
9
|
+
linkProvider LinkProvider Link/LinkProvider.doc.mjs -
|
|
10
|
+
linkprovider LinkProvider Link/LinkProvider.doc.mjs -
|
|
11
|
+
list List List/List.doc.mjs -
|
|
12
|
+
markdown Markdown Markdown/Markdown.doc.mjs -
|
|
13
|
+
mediaTheme MediaTheme theme/MediaTheme.doc.mjs -
|
|
14
|
+
mediatheme MediaTheme theme/MediaTheme.doc.mjs -
|
|
15
|
+
metadataList MetadataList MetadataList/MetadataList.doc.mjs -
|
|
16
|
+
metadataListItem MetadataListItem MetadataList/MetadataListItem.doc.mjs -
|
|
17
|
+
metadatalist MetadataList MetadataList/MetadataList.doc.mjs -
|
|
18
|
+
metadatalistitem MetadataListItem MetadataList/MetadataListItem.doc.mjs -
|
|
19
|
+
mobileNav MobileNav MobileNav/MobileNav.doc.mjs -
|
|
20
|
+
mobilenav MobileNav MobileNav/MobileNav.doc.mjs -
|
|
21
|
+
moreMenu MoreMenu MoreMenu/MoreMenu.doc.mjs -
|
|
22
|
+
moremenu MoreMenu MoreMenu/MoreMenu.doc.mjs -
|
|
23
|
+
multiSelector MultiSelector MultiSelector/MultiSelector.doc.mjs -
|
|
24
|
+
multiselector MultiSelector MultiSelector/MultiSelector.doc.mjs -
|
|
25
|
+
navIcon NavIcon NavIcon/NavIcon.doc.mjs -
|
|
26
|
+
navicon NavIcon NavIcon/NavIcon.doc.mjs -
|
|
27
|
+
numberInput NumberInput NumberInput/NumberInput.doc.mjs -
|
|
28
|
+
numberinput NumberInput NumberInput/NumberInput.doc.mjs -
|
|
29
|
+
overflowList OverflowList OverflowList/OverflowList.doc.mjs -
|
|
30
|
+
overflowlist OverflowList OverflowList/OverflowList.doc.mjs -
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
pagination Pagination Pagination/Pagination.doc.mjs -
|
|
2
|
+
powerSearch PowerSearch PowerSearch/PowerSearch.doc.mjs -
|
|
3
|
+
powersearch PowerSearch PowerSearch/PowerSearch.doc.mjs -
|
|
4
|
+
progressBar ProgressBar ProgressBar/ProgressBar.doc.mjs -
|
|
5
|
+
progressbar ProgressBar ProgressBar/ProgressBar.doc.mjs -
|
|
6
|
+
radioList RadioList RadioList/RadioList.doc.mjs -
|
|
7
|
+
radioListItem RadioListItem RadioList/RadioListItem.doc.mjs -
|
|
8
|
+
radiolist RadioList RadioList/RadioList.doc.mjs -
|
|
9
|
+
radiolistitem RadioListItem RadioList/RadioListItem.doc.mjs -
|
|
10
|
+
scrollableArea ScrollableArea ScrollableArea/ScrollableArea.doc.mjs -
|
|
11
|
+
scrollablearea ScrollableArea ScrollableArea/ScrollableArea.doc.mjs -
|
|
12
|
+
section Section Section/Section.doc.mjs -
|
|
13
|
+
segmentedControl SegmentedControl SegmentedControl/SegmentedControl.doc.mjs -
|
|
14
|
+
segmentedControlItem SegmentedControlItem SegmentedControl/SegmentedControlItem.doc.mjs -
|
|
15
|
+
segmentedcontrol SegmentedControl SegmentedControl/SegmentedControl.doc.mjs -
|
|
16
|
+
segmentedcontrolitem SegmentedControlItem SegmentedControl/SegmentedControlItem.doc.mjs -
|
|
17
|
+
selectableCard SelectableCard SelectableCard/SelectableCard.doc.mjs -
|
|
18
|
+
selectablecard SelectableCard SelectableCard/SelectableCard.doc.mjs -
|
|
19
|
+
selectorOption SelectorOption Selector/SelectorOption.doc.mjs -
|
|
20
|
+
selectoroption SelectorOption Selector/SelectorOption.doc.mjs -
|
|
21
|
+
sideNavCollapseButton SideNavCollapseButton SideNav/SideNavCollapseButton.doc.mjs -
|
|
22
|
+
sideNavHeading SideNavHeading SideNav/SideNavHeading.doc.mjs -
|
|
23
|
+
sideNavItem SideNavItem SideNav/SideNavItem.doc.mjs -
|
|
24
|
+
sideNavSection SideNavSection SideNav/SideNavSection.doc.mjs -
|
|
25
|
+
sidenavcollapsebutton SideNavCollapseButton SideNav/SideNavCollapseButton.doc.mjs -
|
|
26
|
+
sidenavheading SideNavHeading SideNav/SideNavHeading.doc.mjs -
|
|
27
|
+
sidenavitem SideNavItem SideNav/SideNavItem.doc.mjs -
|
|
28
|
+
sidenavsection SideNavSection SideNav/SideNavSection.doc.mjs -
|
|
29
|
+
skeleton Skeleton Skeleton/Skeleton.doc.mjs -
|
|
30
|
+
statusDot StatusDot StatusDot/StatusDot.doc.mjs -
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
statusdot StatusDot StatusDot/StatusDot.doc.mjs -
|
|
2
|
+
step Step Stepper/Step.doc.mjs -
|
|
3
|
+
tabList TabList TabList/TabList.doc.mjs -
|
|
4
|
+
tabMenu TabMenu TabList/TabMenu.doc.mjs -
|
|
5
|
+
table Table Table/Table.doc.mjs -
|
|
6
|
+
tableBody TableBody Table/TableBody.doc.mjs -
|
|
7
|
+
tableCell TableCell Table/TableCell.doc.mjs -
|
|
8
|
+
tableFooter TableFooter Table/TableFooter.doc.mjs -
|
|
9
|
+
tableHeader TableHeader Table/TableHeader.doc.mjs -
|
|
10
|
+
tableHeaderCell TableHeaderCell Table/TableHeaderCell.doc.mjs -
|
|
11
|
+
tableRow TableRow Table/TableRow.doc.mjs -
|
|
12
|
+
tableSelectionToolbar TableSelectionToolbar Table/TableSelectionToolbar.doc.mjs -
|
|
13
|
+
tablebody TableBody Table/TableBody.doc.mjs -
|
|
14
|
+
tablecell TableCell Table/TableCell.doc.mjs -
|
|
15
|
+
tablefooter TableFooter Table/TableFooter.doc.mjs -
|
|
16
|
+
tableheader TableHeader Table/TableHeader.doc.mjs -
|
|
17
|
+
tableheadercell TableHeaderCell Table/TableHeaderCell.doc.mjs -
|
|
18
|
+
tablerow TableRow Table/TableRow.doc.mjs -
|
|
19
|
+
tableselectiontoolbar TableSelectionToolbar Table/TableSelectionToolbar.doc.mjs -
|
|
20
|
+
tablist TabList TabList/TabList.doc.mjs -
|
|
21
|
+
tabmenu TabMenu TabList/TabMenu.doc.mjs -
|
|
22
|
+
text Text Text/Text.doc.mjs -
|
|
23
|
+
textArea TextArea TextArea/TextArea.doc.mjs -
|
|
24
|
+
textInput TextInput TextInput/TextInput.doc.mjs -
|
|
25
|
+
textarea TextArea TextArea/TextArea.doc.mjs -
|
|
26
|
+
textinput TextInput TextInput/TextInput.doc.mjs -
|
|
27
|
+
theme Theme theme/Theme.doc.mjs -
|
|
28
|
+
timeInput TimeInput TimeInput/TimeInput.doc.mjs -
|
|
29
|
+
timeinput TimeInput TimeInput/TimeInput.doc.mjs -
|
|
30
|
+
timer Timer Timer/Timer.doc.mjs -
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
toggleButton ToggleButton ToggleButton/ToggleButton.doc.mjs -
|
|
2
|
+
toggleButtonGroup ToggleButtonGroup ToggleButton/ToggleButtonGroup.doc.mjs -
|
|
3
|
+
togglebutton ToggleButton ToggleButton/ToggleButton.doc.mjs -
|
|
4
|
+
togglebuttongroup ToggleButtonGroup ToggleButton/ToggleButtonGroup.doc.mjs -
|
|
5
|
+
token Token Token/Token.doc.mjs -
|
|
6
|
+
tokenizer Tokenizer Tokenizer/Tokenizer.doc.mjs -
|
|
7
|
+
topNavHeading TopNavHeading TopNav/TopNavHeading.doc.mjs -
|
|
8
|
+
topNavItem TopNavItem TopNav/TopNavItem.doc.mjs -
|
|
9
|
+
topNavMegaMenu TopNavMegaMenu TopNav/TopNavMegaMenu.doc.mjs -
|
|
10
|
+
topNavMegaMenuFeaturedCard TopNavMegaMenuFeaturedCard TopNav/TopNavMegaMenuFeaturedCard.doc.mjs -
|
|
11
|
+
topNavMegaMenuItem TopNavMegaMenuItem TopNav/TopNavMegaMenuItem.doc.mjs -
|
|
12
|
+
topNavMenu TopNavMenu TopNav/TopNavMenu.doc.mjs -
|
|
13
|
+
topnavheading TopNavHeading TopNav/TopNavHeading.doc.mjs -
|
|
14
|
+
topnavitem TopNavItem TopNav/TopNavItem.doc.mjs -
|
|
15
|
+
topnavmegamenu TopNavMegaMenu TopNav/TopNavMegaMenu.doc.mjs -
|
|
16
|
+
topnavmegamenufeaturedcard TopNavMegaMenuFeaturedCard TopNav/TopNavMegaMenuFeaturedCard.doc.mjs -
|
|
17
|
+
topnavmegamenuitem TopNavMegaMenuItem TopNav/TopNavMegaMenuItem.doc.mjs -
|
|
18
|
+
topnavmenu TopNavMenu TopNav/TopNavMenu.doc.mjs -
|
|
19
|
+
treeList TreeList TreeList/TreeList.doc.mjs -
|
|
20
|
+
treelist TreeList TreeList/TreeList.doc.mjs -
|
|
21
|
+
typeahead Typeahead Typeahead/Typeahead.doc.mjs -
|
|
22
|
+
typeaheadItem TypeaheadItem Typeahead/TypeaheadItem.doc.mjs -
|
|
23
|
+
typeaheaditem TypeaheadItem Typeahead/TypeaheadItem.doc.mjs -
|
|
24
|
+
visuallyHidden VisuallyHidden VisuallyHidden/VisuallyHidden.doc.mjs -
|
|
25
|
+
visuallyhidden VisuallyHidden VisuallyHidden/VisuallyHidden.doc.mjs -
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
AnnounceRenderedText AnnounceRenderedText hooks/useAnimatedLayout.doc.mjs hooks/AnnounceRenderedText.tsx
|
|
2
|
+
AppShellMobileContext AppShellMobileContext AppShell/AppShell.doc.mjs AppShell/AppShellMobileContext.tsx
|
|
3
|
+
AvatarGroupContext AvatarGroupContext AvatarGroup/AvatarGroup.doc.mjs AvatarGroup/AvatarGroupContext.ts
|
|
4
|
+
AvatarSizeContext AvatarSizeContext Avatar/Avatar.doc.mjs Avatar/AvatarSizeContext.ts
|
|
5
|
+
AvatarStatusLabelContext AvatarStatusLabelContext Avatar/Avatar.doc.mjs Avatar/AvatarStatusLabelContext.ts
|
|
6
|
+
BaseTable BaseTable Table/Table.doc.mjs Table/BaseTable.tsx
|
|
7
|
+
BottomSheetEdgeTint BottomSheetEdgeTint BottomSheet/BottomSheet.doc.mjs BottomSheet/BottomSheetEdgeTint.tsx
|
|
8
|
+
BottomSheetHostContext BottomSheetHostContext BottomSheet/BottomSheet.doc.mjs BottomSheet/BottomSheetHostContext.ts
|
|
9
|
+
BottomSheetPanel BottomSheetPanel BottomSheet/BottomSheet.doc.mjs BottomSheet/BottomSheetPanel.tsx
|
|
10
|
+
BottomSheetSwitcherContext BottomSheetSwitcherContext BottomSheet/BottomSheet.doc.mjs BottomSheet/BottomSheetSwitcherContext.ts
|
|
11
|
+
ButtonGroupContext ButtonGroupContext ButtonGroup/ButtonGroup.doc.mjs ButtonGroup/ButtonGroupContext.ts
|
|
12
|
+
ChatContext ChatContext Chat/Chat.doc.mjs Chat/ChatContext.tsx
|
|
13
|
+
ChatPastedTextToken ChatPastedTextToken Chat/Chat.doc.mjs Chat/ChatPastedTextToken.tsx
|
|
14
|
+
CheckIndicator CheckIndicator Indicator/Indicator.doc.mjs Indicator/CheckIndicator.tsx
|
|
15
|
+
CheckboxIndicator CheckboxIndicator Indicator/Indicator.doc.mjs Indicator/CheckboxIndicator.tsx
|
|
16
|
+
CheckboxListContext CheckboxListContext CheckboxList/CheckboxList.doc.mjs CheckboxList/CheckboxListContext.tsx
|
|
17
|
+
CollapsibleGroupContext CollapsibleGroupContext Collapsible/Collapsible.doc.mjs Collapsible/CollapsibleGroupContext.tsx
|
|
18
|
+
CommandPaletteContext CommandPaletteContext CommandPalette/CommandPalette.doc.mjs CommandPalette/CommandPaletteContext.ts
|
|
19
|
+
DialogContext DialogContext Dialog/Dialog.doc.mjs Dialog/DialogContext.ts
|
|
20
|
+
DropdownMenuContext DropdownMenuContext DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/DropdownMenuContext.tsx
|
|
21
|
+
FormLayoutContext FormLayoutContext FormLayout/FormLayout.doc.mjs FormLayout/FormLayoutContext.ts
|
|
22
|
+
HeadingLinksRenderer HeadingLinksRenderer Markdown/Markdown.doc.mjs Markdown/plugins/HeadingLinksRenderer.tsx
|
|
23
|
+
IconDefaultSizeContext IconDefaultSizeContext Icon/Icon.doc.mjs Icon/IconDefaultSizeContext.ts
|
|
24
|
+
InputClearButton InputClearButton Field/Field.doc.mjs Field/InputClearButton.tsx
|
|
25
|
+
InputGroupContext InputGroupContext InputGroup/InputGroup.doc.mjs InputGroup/InputGroupContext.ts
|
|
26
|
+
InputGroupInternalContext InputGroupInternalContext InputGroup/InputGroup.doc.mjs InputGroup/InputGroupInternalContext.ts
|
|
27
|
+
InternationalizationContext InternationalizationContext i18n/InternationalizationProvider.doc.mjs i18n/InternationalizationContext.ts
|
|
28
|
+
ItemDescriptionContext ItemDescriptionContext Item/Item.doc.mjs Item/ItemDescriptionContext.tsx
|
|
29
|
+
ItemMarkerColumnsContext ItemMarkerColumnsContext Item/Item.doc.mjs Item/ItemMarkerColumnsContext.tsx
|
|
30
|
+
ItemSwipeLayer ItemSwipeLayer Item/Item.doc.mjs Item/ItemSwipeLayer.tsx
|
|
31
|
+
LayerContext LayerContext Layer/Layer.doc.mjs Layer/LayerContext.ts
|
|
32
|
+
LayerDepthContext LayerDepthContext Layer/Layer.doc.mjs Layer/LayerDepthContext.tsx
|
|
33
|
+
LayerProvider LayerProvider Layer/Layer.doc.mjs Layer/LayerProvider.tsx
|
|
34
|
+
LayoutAreaContext LayoutAreaContext Layout/Layout.doc.mjs Layout/LayoutAreaContext.ts
|
|
35
|
+
LayoutDividerContext LayoutDividerContext Layout/Layout.doc.mjs Layout/LayoutDividerContext.ts
|
|
36
|
+
LayoutSlotsContext LayoutSlotsContext Layout/Layout.doc.mjs Layout/LayoutSlotsContext.ts
|
|
37
|
+
LinkContext LinkContext Link/Link.doc.mjs Link/LinkContext.ts
|
|
38
|
+
ListContext ListContext List/List.doc.mjs List/ListContext.tsx
|
|
39
|
+
MarkdownPluginNodeRenderer MarkdownPluginNodeRenderer Markdown/Markdown.doc.mjs Markdown/plugin-renderer/MarkdownPluginNodeRenderer.tsx
|
|
40
|
+
MenuBottomSheet MenuBottomSheet DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/MenuBottomSheet.tsx
|
|
41
|
+
MenuBottomSheetActionList MenuBottomSheetActionList DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/MenuBottomSheetActionList.tsx
|
|
42
|
+
MetadataListContext MetadataListContext MetadataList/MetadataList.doc.mjs MetadataList/MetadataListContext.tsx
|
|
43
|
+
MobileNavToggle MobileNavToggle MobileNav/MobileNav.doc.mjs MobileNav/MobileNavToggle.tsx
|
|
44
|
+
ModalAnnounceProvider ModalAnnounceProvider hooks/useAnimatedLayout.doc.mjs hooks/ModalAnnounceProvider.tsx
|
|
45
|
+
MonthScroller MonthScroller DateInput/DateInput.doc.mjs DateInput/MonthScroller.tsx
|
|
46
|
+
MonthYearWheels MonthYearWheels DateInput/DateInput.doc.mjs DateInput/MonthYearWheels.tsx
|
|
47
|
+
NativeDateField NativeDateField DateInput/DateInput.doc.mjs DateInput/NativeDateField.tsx
|
|
48
|
+
NativeDateSegment NativeDateSegment DateTimeInput/DateTimeInput.doc.mjs DateTimeInput/NativeDateSegment.tsx
|
|
49
|
+
NativeTimeSegment NativeTimeSegment DateTimeInput/DateTimeInput.doc.mjs DateTimeInput/NativeTimeSegment.tsx
|
|
50
|
+
NavHeadingMenu NavHeadingMenu NavMenu/NavMenu.doc.mjs NavMenu/NavHeadingMenu.tsx
|
|
51
|
+
NavHeadingMenuItem NavHeadingMenuItem NavMenu/NavMenu.doc.mjs NavMenu/NavHeadingMenuItem.tsx
|
|
52
|
+
NavMenuContext NavMenuContext NavMenu/NavMenu.doc.mjs NavMenu/NavMenuContext.tsx
|
|
53
|
+
OverlayScrim OverlayScrim Overlay/Overlay.doc.mjs Overlay/OverlayScrim.tsx
|
|
54
|
+
PanelSearchInput PanelSearchInput Field/Field.doc.mjs Field/PanelSearchInput.tsx
|
|
55
|
+
PowerSearchBottomSheet PowerSearchBottomSheet PowerSearch/PowerSearch.doc.mjs PowerSearch/PowerSearchBottomSheet.tsx
|
|
56
|
+
PowerSearchEditPopover PowerSearchEditPopover PowerSearch/PowerSearch.doc.mjs PowerSearch/PowerSearchEditPopover.tsx
|
|
57
|
+
PowerSearchFilterEditor PowerSearchFilterEditor PowerSearch/PowerSearch.doc.mjs PowerSearch/PowerSearchFilterEditor.tsx
|
|
58
|
+
PowerSearchToken PowerSearchToken PowerSearch/PowerSearch.doc.mjs PowerSearch/PowerSearchToken.tsx
|
|
59
|
+
PowerSearchValueEditor PowerSearchValueEditor PowerSearch/PowerSearch.doc.mjs PowerSearch/PowerSearchValueEditor.tsx
|
|
60
|
+
ProgressBarMarkTooltip ProgressBarMarkTooltip ProgressBar/ProgressBar.doc.mjs ProgressBar/ProgressBarMarkTooltip.tsx
|
|
61
|
+
ProgressBarTouch ProgressBarTouch ProgressBar/ProgressBar.doc.mjs ProgressBar/ProgressBarTouch.ts
|
|
62
|
+
RadioIndicator RadioIndicator Indicator/Indicator.doc.mjs Indicator/RadioIndicator.tsx
|
|
63
|
+
RadioListReasonContext RadioListReasonContext RadioList/RadioList.doc.mjs RadioList/RadioListReasonContext.ts
|
|
64
|
+
ResizeHandle ResizeHandle Resizable/Resizable.doc.mjs Resizable/ResizeHandle.tsx
|
|
65
|
+
SegmentedControlContext SegmentedControlContext SegmentedControl/SegmentedControl.doc.mjs SegmentedControl/SegmentedControlContext.ts
|
|
66
|
+
SelectorBottomSheet SelectorBottomSheet Selector/Selector.doc.mjs Selector/SelectorBottomSheet.tsx
|
|
67
|
+
SelectorRowLayoutContext SelectorRowLayoutContext Selector/Selector.doc.mjs Selector/SelectorRowLayoutContext.ts
|
|
68
|
+
SideNavCollapseContext SideNavCollapseContext SideNav/SideNav.doc.mjs SideNav/SideNavCollapseContext.ts
|
|
69
|
+
SideNavFocusTargetsContext SideNavFocusTargetsContext SideNav/SideNav.doc.mjs SideNav/SideNavFocusTargetsContext.ts
|
|
70
|
+
SideNavRenderContext SideNavRenderContext SideNav/SideNav.doc.mjs SideNav/SideNavRenderContext.ts
|
|
71
|
+
StackItem StackItem Stack/Stack.doc.mjs Stack/StackItem.tsx
|
|
72
|
+
StepStatus StepStatus Stepper/Step.doc.mjs Stepper/StepStatus.ts
|
|
73
|
+
StepperContext StepperContext Stepper/Step.doc.mjs Stepper/StepperContext.ts
|
|
74
|
+
TabListContext TabListContext TabList/Tab.doc.mjs TabList/TabListContext.ts
|
|
75
|
+
TableContext TableContext Table/Table.doc.mjs Table/TableContext.ts
|
|
76
|
+
TimestampHoverCard TimestampHoverCard Timestamp/Timestamp.doc.mjs Timestamp/TimestampHoverCard.tsx
|
|
77
|
+
ToastContext ToastContext Toast/Toast.doc.mjs Toast/ToastContext.ts
|
|
78
|
+
ToastViewport ToastViewport Toast/Toast.doc.mjs Toast/ToastViewport.tsx
|
|
79
|
+
TokenLink TokenLink Token/Token.doc.mjs Token/TokenLink.tsx
|
|
80
|
+
TokenNamingContext TokenNamingContext Token/Token.doc.mjs Token/TokenNamingContext.ts
|
|
81
|
+
TokenizerBottomSheet TokenizerBottomSheet Tokenizer/Tokenizer.doc.mjs Tokenizer/TokenizerBottomSheet.tsx
|
|
82
|
+
TokenizerClearAllMessageContext TokenizerClearAllMessageContext Tokenizer/Tokenizer.doc.mjs Tokenizer/TokenizerClearAllMessageContext.ts
|
|
83
|
+
TokenizerItemRemovableContext TokenizerItemRemovableContext Tokenizer/Tokenizer.doc.mjs Tokenizer/TokenizerItemRemovableContext.ts
|
|
84
|
+
TopNavContext TopNavContext TopNav/TopNav.doc.mjs TopNav/TopNavContext.ts
|
|
85
|
+
TopNavMobileContentContext TopNavMobileContentContext TopNav/TopNav.doc.mjs TopNav/TopNavMobileContentContext.ts
|
|
86
|
+
TopNavRenderContext TopNavRenderContext TopNav/TopNav.doc.mjs TopNav/TopNavRenderContext.ts
|
|
87
|
+
TouchDateField TouchDateField DateInput/DateInput.doc.mjs DateInput/TouchDateField.tsx
|
|
88
|
+
TouchDateTimeField TouchDateTimeField DateTimeInput/DateTimeInput.doc.mjs DateTimeInput/TouchDateTimeField.tsx
|
|
89
|
+
TouchTimeField TouchTimeField TimeInput/TimeInput.doc.mjs TimeInput/TouchTimeField.tsx
|
|
90
|
+
TreeListBranches TreeListBranches TreeList/TreeList.doc.mjs TreeList/TreeListBranches.tsx
|
|
91
|
+
TreeListItem TreeListItem TreeList/TreeList.doc.mjs TreeList/TreeListItem.tsx
|
|
92
|
+
TreeListTypes TreeListTypes TreeList/TreeList.doc.mjs TreeList/TreeListTypes.ts
|
|
93
|
+
Wheel Wheel DateInput/DateInput.doc.mjs DateInput/Wheel.tsx
|
|
94
|
+
actionGroupTracker actionGroupTracker hooks/useAnimatedLayout.doc.mjs hooks/actionGroupTracker.ts
|
|
95
|
+
anchorName anchorName Layer/Layer.doc.mjs Layer/anchorName.ts
|
|
96
|
+
ast ast Markdown/Markdown.doc.mjs Markdown/ast.ts
|
|
97
|
+
bottomSheetEscape bottomSheetEscape BottomSheet/BottomSheet.doc.mjs BottomSheet/bottomSheetEscape.ts
|
|
98
|
+
bottomSheetStack bottomSheetStack BottomSheet/BottomSheet.doc.mjs BottomSheet/bottomSheetStack.ts
|
|
99
|
+
busyIndicatorLane busyIndicatorLane Typeahead/BaseTypeahead.doc.mjs Typeahead/busyIndicatorLane.tsx
|
|
100
|
+
busyStartSettle busyStartSettle CommandPalette/CommandPalette.doc.mjs CommandPalette/busyStartSettle.ts
|
|
101
|
+
characterReferences characterReferences Markdown/Markdown.doc.mjs Markdown/characterReferences.ts
|
|
102
|
+
chatComposerSelection chatComposerSelection Chat/Chat.doc.mjs Chat/chatComposerSelection.ts
|
|
103
|
+
clampInlineSize clampInlineSize Layer/Layer.doc.mjs Layer/clampInlineSize.ts
|
|
104
|
+
columnUtils columnUtils Table/Table.doc.mjs Table/columnUtils.ts
|
|
105
|
+
committedChoicesKey committedChoicesKey Typeahead/BaseTypeahead.doc.mjs Typeahead/committedChoicesKey.tsx
|
|
106
|
+
computeOverflow computeOverflow hooks/useAnimatedLayout.doc.mjs hooks/computeOverflow.ts
|
|
107
|
+
computeTargetAndRel computeTargetAndRel Link/Link.doc.mjs Link/computeTargetAndRel.ts
|
|
108
|
+
contrast contrast theme/MediaTheme.doc.mjs theme/contrast.ts
|
|
109
|
+
createStaticSource createStaticSource Typeahead/BaseTypeahead.doc.mjs Typeahead/createStaticSource.ts
|
|
110
|
+
dataTokens dataTokens theme/MediaTheme.doc.mjs theme/domainTokens/dataTokens.ts
|
|
111
|
+
dayCellUtils dayCellUtils Calendar/Calendar.doc.mjs Calendar/dayCellUtils.ts
|
|
112
|
+
declarationBoundary declarationBoundary theme/MediaTheme.doc.mjs theme/declarationBoundary.ts
|
|
113
|
+
defaultIcons defaultIcons Icon/Icon.doc.mjs Icon/defaultIcons.tsx
|
|
114
|
+
defineSyntaxTheme defineSyntaxTheme theme/MediaTheme.doc.mjs theme/syntax/defineSyntaxTheme.ts
|
|
115
|
+
defineTheme defineTheme theme/MediaTheme.doc.mjs theme/defineTheme.ts
|
|
116
|
+
derivedVarRegistry derivedVarRegistry theme/MediaTheme.doc.mjs theme/derivedVarRegistry.ts
|
|
117
|
+
dockerfile dockerfile CodeBlock/CodeBlock.doc.mjs CodeBlock/languages/dockerfile.ts
|
|
118
|
+
domainTokenDefaults domainTokenDefaults theme/MediaTheme.doc.mjs theme/domainTokens/domainTokenDefaults.ts
|
|
119
|
+
englishFallback englishFallback i18n/InternationalizationProvider.doc.mjs i18n/englishFallback.ts
|
|
120
|
+
expandColorScale expandColorScale theme/MediaTheme.doc.mjs theme/expandColorScale.ts
|
|
121
|
+
expandMotionScale expandMotionScale theme/MediaTheme.doc.mjs theme/expandMotionScale.ts
|
|
122
|
+
expandRadiusScale expandRadiusScale theme/MediaTheme.doc.mjs theme/expandRadiusScale.ts
|
|
123
|
+
expandTypeScale expandTypeScale theme/MediaTheme.doc.mjs theme/expandTypeScale.ts
|
|
124
|
+
fieldParts fieldParts Field/Field.doc.mjs Field/fieldParts.ts
|
|
125
|
+
fieldStatusPlacement fieldStatusPlacement Field/Field.doc.mjs Field/fieldStatusPlacement.ts
|
|
126
|
+
focusableSelector focusableSelector hooks/useAnimatedLayout.doc.mjs hooks/focusableSelector.ts
|
|
127
|
+
formatFilterValue formatFilterValue PowerSearch/PowerSearch.doc.mjs PowerSearch/formatFilterValue.ts
|
|
128
|
+
formatInstant formatInstant Timestamp/Timestamp.doc.mjs Timestamp/formatInstant.ts
|
|
129
|
+
formatRelativeTime formatRelativeTime Timestamp/Timestamp.doc.mjs Timestamp/formatRelativeTime.ts
|
|
130
|
+
formatTokenValue formatTokenValue PowerSearch/PowerSearch.doc.mjs PowerSearch/formatTokenValue.ts
|
|
131
|
+
frontmatter frontmatter Markdown/Markdown.doc.mjs Markdown/plugins/frontmatter.ts
|
|
132
|
+
fullEnglishFallback fullEnglishFallback i18n/InternationalizationProvider.doc.mjs i18n/fullEnglishFallback.ts
|
|
133
|
+
generateThemeRules generateThemeRules theme/MediaTheme.doc.mjs theme/generateThemeRules.ts
|
|
134
|
+
gestureCounter gestureCounter Layer/Layer.doc.mjs Layer/gestureCounter.ts
|
|
135
|
+
getInitialFocusDate getInitialFocusDate Calendar/Calendar.doc.mjs Calendar/getInitialFocusDate.ts
|
|
136
|
+
getLocaleDirection getLocaleDirection i18n/InternationalizationProvider.doc.mjs i18n/getLocaleDirection.ts
|
|
137
|
+
getStandaloneShortWeekdayNames getStandaloneShortWeekdayNames Calendar/Calendar.doc.mjs Calendar/getStandaloneShortWeekdayNames.ts
|
|
138
|
+
glidingDivider glidingDivider Table/Table.doc.mjs Table/glidingDivider.ts
|
|
139
|
+
globalIconRegistry globalIconRegistry Icon/Icon.doc.mjs Icon/globalIconRegistry.tsx
|
|
140
|
+
grammar grammar CodeBlock/CodeBlock.doc.mjs CodeBlock/grammar.ts
|
|
141
|
+
graphql graphql CodeBlock/CodeBlock.doc.mjs CodeBlock/languages/graphql.ts
|
|
142
|
+
groupStyles groupStyles InputGroup/InputGroup.doc.mjs InputGroup/groupStyles.ts
|
|
143
|
+
hct hct theme/MediaTheme.doc.mjs theme/hct.ts
|
|
144
|
+
headingLinks headingLinks Markdown/Markdown.doc.mjs Markdown/plugins/headingLinks.ts
|
|
145
|
+
headingProjection headingProjection Markdown/Markdown.doc.mjs Markdown/headingProjection.ts
|
|
146
|
+
highlightRanges highlightRanges CodeBlock/CodeBlock.doc.mjs CodeBlock/highlightRanges.ts
|
|
147
|
+
highlightStyles highlightStyles CodeBlock/CodeBlock.doc.mjs CodeBlock/highlightStyles.ts
|
|
148
|
+
hooks hooks MultiSelector/MultiSelector.doc.mjs MultiSelector/hooks.ts
|
|
149
|
+
indicatorRegistry indicatorRegistry Indicator/Indicator.doc.mjs Indicator/indicatorRegistry.ts
|
|
150
|
+
inputDisabledFocus inputDisabledFocus Field/Field.doc.mjs Field/inputDisabledFocus.ts
|
|
151
|
+
isRtlElement isRtlElement hooks/useAnimatedLayout.doc.mjs hooks/isRtlElement.ts
|
|
152
|
+
java java CodeBlock/CodeBlock.doc.mjs CodeBlock/languages/java.ts
|
|
153
|
+
layerClickBoundary layerClickBoundary Layer/Layer.doc.mjs Layer/layerClickBoundary.ts
|
|
154
|
+
layerHost layerHost Layer/Layer.doc.mjs Layer/layerHost.ts
|
|
155
|
+
layerInset layerInset Layer/Layer.doc.mjs Layer/layerInset.ts
|
|
156
|
+
layerScopedContext layerScopedContext Layer/Layer.doc.mjs Layer/layerScopedContext.tsx
|
|
157
|
+
layerSlideRules layerSlideRules Layer/Layer.doc.mjs Layer/layerSlideRules.ts
|
|
158
|
+
layerStack layerStack Layer/Layer.doc.mjs Layer/layerStack.ts
|
|
159
|
+
layerSurfacePress layerSurfacePress Layer/Layer.doc.mjs Layer/layerSurfacePress.ts
|
|
160
|
+
layoutReset layoutReset Layout/Layout.doc.mjs Layout/layoutReset.ts
|
|
161
|
+
lazyMenuBottomSheet lazyMenuBottomSheet DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/lazyMenuBottomSheet.ts
|
|
162
|
+
lazyPopoverBottomSheet lazyPopoverBottomSheet Popover/Popover.doc.mjs Popover/lazyPopoverBottomSheet.ts
|
|
163
|
+
localTokens localTokens theme/MediaTheme.doc.mjs theme/localTokens.ts
|
|
164
|
+
lua lua CodeBlock/CodeBlock.doc.mjs CodeBlock/languages/lua.ts
|
|
165
|
+
menuItemHover menuItemHover DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/menuItemHover.ts
|
|
166
|
+
menuItemRoles menuItemRoles DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/menuItemRoles.ts
|
|
167
|
+
menuPressGesture menuPressGesture hooks/useAnimatedLayout.doc.mjs hooks/menuPressGesture.ts
|
|
168
|
+
menuPressMarker menuPressMarker hooks/useAnimatedLayout.doc.mjs hooks/menuPressMarker.ts
|
|
169
|
+
menuPressOnItems menuPressOnItems hooks/useAnimatedLayout.doc.mjs hooks/menuPressOnItems.ts
|
|
170
|
+
menuRegionStops menuRegionStops DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/menuRegionStops.ts
|
|
171
|
+
menuRegionsContext menuRegionsContext DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/menuRegionsContext.ts
|
|
172
|
+
menuWidth menuWidth DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/menuWidth.ts
|
|
173
|
+
mergeComponents mergeComponents theme/MediaTheme.doc.mjs theme/mergeComponents.ts
|
|
174
|
+
modalAnnounce modalAnnounce hooks/useAnimatedLayout.doc.mjs hooks/modalAnnounce.ts
|
|
175
|
+
modalOutlet modalOutlet Layer/Layer.doc.mjs Layer/modalOutlet.ts
|
|
176
|
+
monthGeometry monthGeometry DateInput/DateInput.doc.mjs DateInput/monthGeometry.ts
|
|
177
|
+
motionKnobs motionKnobs theme/MediaTheme.doc.mjs theme/motionKnobs.ts
|
|
178
|
+
nativeDateSegments nativeDateSegments DateInput/DateInput.doc.mjs DateInput/nativeDateSegments.ts
|
|
179
|
+
nativePickerSegmentStyles nativePickerSegmentStyles DateTimeInput/DateTimeInput.doc.mjs DateTimeInput/nativePickerSegmentStyles.ts
|
|
180
|
+
numberInputCommit numberInputCommit NumberInput/NumberInput.doc.mjs NumberInput/numberInputCommit.ts
|
|
181
|
+
numberParser numberParser NumberInput/NumberInput.doc.mjs NumberInput/numberParser.ts
|
|
182
|
+
objective-c objective-c CodeBlock/CodeBlock.doc.mjs CodeBlock/languages/objective-c.ts
|
|
183
|
+
observeMainOverflow observeMainOverflow AppShell/AppShell.doc.mjs AppShell/observeMainOverflow.ts
|
|
184
|
+
onMediaTokens onMediaTokens theme/MediaTheme.doc.mjs theme/onMediaTokens.ts
|
|
185
|
+
optionShape optionShape Selector/Selector.doc.mjs Selector/optionShape.ts
|
|
186
|
+
outsidePress outsidePress Layer/Layer.doc.mjs Layer/outsidePress.ts
|
|
187
|
+
paginateData paginateData Table/Table.doc.mjs Table/plugins/pagination/paginateData.ts
|
|
188
|
+
paging Pagination Pagination/Pagination.doc.mjs motion/paging.ts
|
|
189
|
+
parseOutlineFromMarkdown parseOutlineFromMarkdown Outline/Outline.doc.mjs Outline/parseOutlineFromMarkdown.ts
|
|
190
|
+
parser parser Markdown/Markdown.doc.mjs Markdown/parser.ts
|
|
191
|
+
popoverOperations popoverOperations Layer/Layer.doc.mjs Layer/popoverOperations.ts
|
|
192
|
+
powerSearchSheetUtils powerSearchSheetUtils PowerSearch/PowerSearch.doc.mjs PowerSearch/powerSearchSheetUtils.ts
|
|
193
|
+
powershell powershell CodeBlock/CodeBlock.doc.mjs CodeBlock/languages/powershell.ts
|
|
194
|
+
preserveAnimations preserveAnimations Layer/Layer.doc.mjs Layer/preserveAnimations.ts
|
|
195
|
+
presets presets theme/MediaTheme.doc.mjs theme/syntax/presets.ts
|
|
196
|
+
pressGroupContext pressGroupContext hooks/useAnimatedLayout.doc.mjs hooks/pressGroupContext.ts
|
|
197
|
+
protocol protocol Markdown/Markdown.doc.mjs Markdown/plugins/protocol.ts
|
|
198
|
+
publicContext publicContext i18n/InternationalizationProvider.doc.mjs i18n/publicContext.ts
|
|
199
|
+
railMotion railMotion SideNav/SideNav.doc.mjs SideNav/railMotion.ts
|
|
200
|
+
remark remark Markdown/Markdown.doc.mjs Markdown/remark.ts
|
|
201
|
+
renderDropdownItems renderDropdownItems DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/renderDropdownItems.tsx
|
|
202
|
+
resizableModel resizableModel Resizable/Resizable.doc.mjs Resizable/resizableModel.ts
|
|
203
|
+
resizeGesture resizeGesture Resizable/Resizable.doc.mjs Resizable/resizeGesture.ts
|
|
204
|
+
resolve resolve i18n/InternationalizationProvider.doc.mjs i18n/resolve.ts
|
|
205
|
+
resolveDateTimeRangePart resolveDateTimeRangePart PowerSearch/PowerSearch.doc.mjs PowerSearch/resolveDateTimeRangePart.ts
|
|
206
|
+
resolveOperatorLabel resolveOperatorLabel PowerSearch/PowerSearch.doc.mjs PowerSearch/resolveOperatorLabel.ts
|
|
207
|
+
resolveThemeValues resolveThemeValues theme/MediaTheme.doc.mjs theme/resolveThemeValues.ts
|
|
208
|
+
rowDivider rowDivider Table/Table.doc.mjs Table/rowDivider.ts
|
|
209
|
+
ruby ruby CodeBlock/CodeBlock.doc.mjs CodeBlock/languages/ruby.ts
|
|
210
|
+
scrollGeometry scrollGeometry hooks/useAnimatedLayout.doc.mjs hooks/scrollGeometry.ts
|
|
211
|
+
scrollKeyboardDelegation scrollKeyboardDelegation hooks/useAnimatedLayout.doc.mjs hooks/scrollKeyboardDelegation.ts
|
|
212
|
+
scrollOwnerRegistry scrollOwnerRegistry hooks/useAnimatedLayout.doc.mjs hooks/scrollOwnerRegistry.ts
|
|
213
|
+
scrollbarGutter scrollbarGutter hooks/useAnimatedLayout.doc.mjs hooks/scrollbarGutter.ts
|
|
214
|
+
selectableOptionEntries selectableOptionEntries Selector/Selector.doc.mjs Selector/selectableOptionEntries.ts
|
|
215
|
+
semanticFence semanticFence Markdown/Markdown.doc.mjs Markdown/plugins/semanticFence.ts
|
|
216
|
+
sliderTouchController sliderTouchController Slider/Slider.doc.mjs Slider/sliderTouchController.ts
|
|
217
|
+
snapOffsets snapOffsets BottomSheet/BottomSheet.doc.mjs BottomSheet/snapOffsets.ts
|
|
218
|
+
softBreaks softBreaks Markdown/Markdown.doc.mjs Markdown/plugins/softBreaks.ts
|
|
219
|
+
sourceDecoration sourceDecoration Markdown/Markdown.doc.mjs Markdown/plugins/sourceDecoration.ts
|
|
220
|
+
sourceLines sourceLines Markdown/Markdown.doc.mjs Markdown/plugins/sourceLines.ts
|
|
221
|
+
statusColor statusColor theme/MediaTheme.doc.mjs theme/statusColor.ts
|
|
222
|
+
statusRoleDerivation statusRoleDerivation theme/MediaTheme.doc.mjs theme/statusRoleDerivation.ts
|
|
223
|
+
streaming streaming Markdown/Markdown.doc.mjs Markdown/streaming.ts
|
|
224
|
+
styles styles Calendar/Calendar.doc.mjs Calendar/styles.ts
|
|
225
|
+
switchFill switchFill Switch/Switch.doc.mjs Switch/switchFill.ts
|
|
226
|
+
switchTouch switchTouch Switch/Switch.doc.mjs Switch/switchTouch.ts
|
|
227
|
+
tableContextMenu tableContextMenu Table/Table.doc.mjs Table/tableContextMenu.tsx
|
|
228
|
+
textEntryTraits textEntryTraits Field/Field.doc.mjs Field/textEntryTraits.ts
|
|
229
|
+
textTransform textTransform Markdown/Markdown.doc.mjs Markdown/plugins/textTransform.ts
|
|
230
|
+
themeAdaptations themeAdaptations theme/MediaTheme.doc.mjs theme/themeAdaptations.ts
|
|
231
|
+
themeMotion themeMotion theme/MediaTheme.doc.mjs theme/themeMotion.ts
|
|
232
|
+
themeRegistry themeRegistry theme/MediaTheme.doc.mjs theme/themeRegistry.ts
|
|
233
|
+
thrift thrift CodeBlock/CodeBlock.doc.mjs CodeBlock/languages/thrift.ts
|
|
234
|
+
tokenReferences tokenReferences theme/MediaTheme.doc.mjs theme/tokenReferences.ts
|
|
235
|
+
tokens tokens theme/MediaTheme.doc.mjs theme/tokens.ts
|
|
236
|
+
toml toml CodeBlock/CodeBlock.doc.mjs CodeBlock/languages/toml.ts
|
|
237
|
+
tooltipEntries tooltipEntries Timestamp/Timestamp.doc.mjs Timestamp/tooltipEntries.ts
|
|
238
|
+
touch BottomSheet BottomSheet/BottomSheet.doc.mjs internal/touch.ts
|
|
239
|
+
trailingKeyDown trailingKeyDown Typeahead/BaseTypeahead.doc.mjs Typeahead/trailingKeyDown.tsx
|
|
240
|
+
translator translator i18n/InternationalizationProvider.doc.mjs i18n/translator.ts
|
|
241
|
+
types types Field/Field.doc.mjs Field/types.ts
|
|
242
|
+
url url Markdown/Markdown.doc.mjs Markdown/url.ts
|
|
243
|
+
useActionGroupTracking useActionGroupTracking hooks/useAnimatedLayout.doc.mjs hooks/useActionGroupTracking.ts
|
|
244
|
+
useAdaptivePresentation useAdaptivePresentation hooks/useAnimatedLayout.doc.mjs hooks/useAdaptivePresentation.ts
|
|
245
|
+
useAnnounceRenderedText useAnnounceRenderedText hooks/useAnimatedLayout.doc.mjs hooks/useAnnounceRenderedText.ts
|
|
246
|
+
useAttachment useAttachment hooks/useAnimatedLayout.doc.mjs hooks/useAttachment.ts
|
|
247
|
+
useAutoMediaMode useAutoMediaMode hooks/useAnimatedLayout.doc.mjs hooks/useAutoMediaMode.ts
|
|
248
|
+
useBackdropPress useBackdropPress Layer/Layer.doc.mjs Layer/useBackdropPress.ts
|
|
249
|
+
useBaseTablePlugins useBaseTablePlugins Table/Table.doc.mjs Table/useBaseTablePlugins.ts
|
|
250
|
+
useBusyAnnouncement useBusyAnnouncement hooks/useAnimatedLayout.doc.mjs hooks/useBusyAnnouncement.ts
|
|
251
|
+
useCalendarConstraints useCalendarConstraints Calendar/Calendar.doc.mjs Calendar/hooks/useCalendarConstraints.ts
|
|
252
|
+
useCalendarDays useCalendarDays Calendar/Calendar.doc.mjs Calendar/hooks/useCalendarDays.ts
|
|
253
|
+
useCalendarNavigation useCalendarNavigation Calendar/Calendar.doc.mjs Calendar/hooks/useCalendarNavigation.ts
|
|
254
|
+
useChatComposerTokens useChatComposerTokens Chat/Chat.doc.mjs Chat/useChatComposerTokens.ts
|
|
255
|
+
useChatDictation useChatDictation Chat/Chat.doc.mjs Chat/useChatDictation.ts
|
|
256
|
+
useChatNewMessages useChatNewMessages Chat/Chat.doc.mjs Chat/useChatNewMessages.ts
|
|
257
|
+
useChatPasteAsToken useChatPasteAsToken Chat/Chat.doc.mjs Chat/useChatPasteAsToken.ts
|
|
258
|
+
useChatStreamScroll useChatStreamScroll Chat/Chat.doc.mjs Chat/useChatStreamScroll.ts
|
|
259
|
+
useCloseMobileDrawerOnActivate useCloseMobileDrawerOnActivate AppShell/AppShell.doc.mjs AppShell/useCloseMobileDrawerOnActivate.ts
|
|
260
|
+
useComponentTranslator useComponentTranslator i18n/InternationalizationProvider.doc.mjs i18n/useComponentTranslator.ts
|
|
261
|
+
useDirection useDirection i18n/InternationalizationProvider.doc.mjs i18n/useDirection.ts
|
|
262
|
+
useDrawerDialogPresence useDrawerDialogPresence Drawer/Drawer.doc.mjs Drawer/useDrawerDialogPresence.ts
|
|
263
|
+
useEndLaneReserve useEndLaneReserve Tokenizer/Tokenizer.doc.mjs Tokenizer/useEndLaneReserve.ts
|
|
264
|
+
useFieldStatusAnnouncement useFieldStatusAnnouncement FieldStatus/FieldStatus.doc.mjs FieldStatus/useFieldStatusAnnouncement.ts
|
|
265
|
+
useFocusReturnVisibility useFocusReturnVisibility hooks/useAnimatedLayout.doc.mjs hooks/useFocusReturnVisibility.ts
|
|
266
|
+
useHighlightedOptionScroll useHighlightedOptionScroll hooks/useAnimatedLayout.doc.mjs hooks/useHighlightedOptionScroll.ts
|
|
267
|
+
useIcon useIcon Icon/Icon.doc.mjs Icon/useIcon.ts
|
|
268
|
+
useIndicator useIndicator Indicator/Indicator.doc.mjs Indicator/useIndicator.ts
|
|
269
|
+
useInternalConfig useInternalConfig PowerSearch/PowerSearch.doc.mjs PowerSearch/useInternalConfig.ts
|
|
270
|
+
useIsHydrating useIsHydrating hooks/useAnimatedLayout.doc.mjs hooks/useIsHydrating.ts
|
|
271
|
+
useIsomorphicLayoutEffect useIsomorphicLayoutEffect hooks/useAnimatedLayout.doc.mjs hooks/useIsomorphicLayoutEffect.ts
|
|
272
|
+
useLayerDismissal useLayerDismissal Layer/Layer.doc.mjs Layer/useLayerDismissal.ts
|
|
273
|
+
useLightbox useLightbox Lightbox/Lightbox.doc.mjs Lightbox/useLightbox.tsx
|
|
274
|
+
useLinkComponent useLinkComponent Link/Link.doc.mjs Link/useLinkComponent.ts
|
|
275
|
+
useLinkify useLinkify Link/Link.doc.mjs Link/useLinkify.tsx
|
|
276
|
+
useListFormatter useListFormatter i18n/InternationalizationProvider.doc.mjs i18n/useListFormatter.ts
|
|
277
|
+
useMenuDrillIn useMenuDrillIn DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/useMenuDrillIn.tsx
|
|
278
|
+
useMenuHover useMenuHover hooks/useAnimatedLayout.doc.mjs hooks/useMenuHover.ts
|
|
279
|
+
useMenuOverflow useMenuOverflow DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/useMenuOverflow.ts
|
|
280
|
+
useMobileKeyboard useMobileKeyboard BottomSheet/BottomSheet.doc.mjs BottomSheet/useMobileKeyboard.ts
|
|
281
|
+
useOutlineFromDOM useOutlineFromDOM Outline/Outline.doc.mjs Outline/useOutlineFromDOM.ts
|
|
282
|
+
useOverlay useOverlay Overlay/Overlay.doc.mjs Overlay/useOverlay.tsx
|
|
283
|
+
useOwnScrollGesture useOwnScrollGesture DateInput/DateInput.doc.mjs DateInput/useOwnScrollGesture.ts
|
|
284
|
+
usePager usePager hooks/useAnimatedLayout.doc.mjs hooks/usePager.ts
|
|
285
|
+
usePointerDragScroll usePointerDragScroll DateInput/DateInput.doc.mjs DateInput/usePointerDragScroll.ts
|
|
286
|
+
usePowerSearchConfig usePowerSearchConfig PowerSearch/PowerSearch.doc.mjs PowerSearch/usePowerSearchConfig.ts
|
|
287
|
+
usePowerSearchSource usePowerSearchSource PowerSearch/PowerSearch.doc.mjs PowerSearch/usePowerSearchSource.ts
|
|
288
|
+
usePressPin usePressPin Layer/Layer.doc.mjs Layer/usePressPin.ts
|
|
289
|
+
useRenamedProp useRenamedProp hooks/useAnimatedLayout.doc.mjs hooks/useRenamedProp.ts
|
|
290
|
+
useResolvedRequired useResolvedRequired hooks/useAnimatedLayout.doc.mjs hooks/useResolvedRequired.ts
|
|
291
|
+
useScrollSettle useScrollSettle DateInput/DateInput.doc.mjs DateInput/useScrollSettle.ts
|
|
292
|
+
useScrollSpy useScrollSpy Outline/Outline.doc.mjs Outline/useScrollSpy.ts
|
|
293
|
+
useSegmentedSelectionMotion useSegmentedSelectionMotion SegmentedControl/SegmentedControl.doc.mjs SegmentedControl/useSegmentedSelectionMotion.ts
|
|
294
|
+
useSegmentedTouchTracking useSegmentedTouchTracking SegmentedControl/SegmentedControl.doc.mjs SegmentedControl/useSegmentedTouchTracking.ts
|
|
295
|
+
useSelectorPresentation useSelectorPresentation Selector/Selector.doc.mjs Selector/useSelectorPresentation.ts
|
|
296
|
+
useSettledOpen useSettledOpen hooks/useAnimatedLayout.doc.mjs hooks/useSettledOpen.ts
|
|
297
|
+
useSheetGestures useSheetGestures BottomSheet/BottomSheet.doc.mjs BottomSheet/useSheetGestures.ts
|
|
298
|
+
useSliderTouch useSliderTouch Slider/Slider.doc.mjs Slider/useSliderTouch.ts
|
|
299
|
+
useSpeechRecognition useSpeechRecognition Chat/Chat.doc.mjs Chat/useSpeechRecognition.ts
|
|
300
|
+
useSwipeAction useSwipeAction Item/Item.doc.mjs Item/useSwipeAction.ts
|
|
301
|
+
useSwitchTouch useSwitchTouch Switch/Switch.doc.mjs Switch/useSwitchTouch.ts
|
|
302
|
+
useTableCellStyles useTableCellStyles Table/Table.doc.mjs Table/useTableCellStyles.ts
|
|
303
|
+
useTableColumnSettingsState useTableColumnSettingsState Table/Table.doc.mjs Table/plugins/columnSettings/useTableColumnSettingsState.tsx
|
|
304
|
+
useTableSortableState useTableSortableState Table/Table.doc.mjs Table/plugins/sortable/useTableSortableState.tsx
|
|
305
|
+
useToastGesture useToastGesture Toast/Toast.doc.mjs Toast/useToastGesture.ts
|
|
306
|
+
useTouchTrigger useTouchTrigger Layer/Layer.doc.mjs Layer/useTouchTrigger.ts
|
|
307
|
+
useTriggerMenu useTriggerMenu Chat/Chat.doc.mjs Chat/useTriggerMenu.tsx
|
|
308
|
+
useTruncation useTruncation Text/Heading.doc.mjs Text/useTruncation.ts
|
|
309
|
+
utils utils Calendar/Calendar.doc.mjs Calendar/utils.ts
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
docPackageManager,
|
|
17
17
|
runWithDocPackageManager,
|
|
18
18
|
} from '../../foundation/env/package-manager.mjs';
|
|
19
|
+
import {withListingCache} from '../../foundation/fs/listing-cache.mjs';
|
|
19
20
|
import {ERROR_CODES} from '../../foundation/response/error-codes.mjs';
|
|
20
21
|
import {AstryxError} from '../error.mjs';
|
|
21
22
|
import {
|
|
@@ -265,13 +266,16 @@ export async function component(name, options = {}) {
|
|
|
265
266
|
const cwd = options.cwd ?? process.cwd();
|
|
266
267
|
// Every read resolves the links in the doc text it returns (spec:AST-047
|
|
267
268
|
// FR9); a batch's results are each a read of their own. Doc tokens render
|
|
268
|
-
// for the project in `cwd`.
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
269
|
+
// for the project in `cwd`. A call's lookups walk the same source tree, so
|
|
270
|
+
// the call reads each directory once.
|
|
271
|
+
return withListingCache(() =>
|
|
272
|
+
runWithDocPackageManager(
|
|
273
|
+
docPackageManager(cwd),
|
|
274
|
+
async () =>
|
|
275
|
+
/** @type {any} */ (
|
|
276
|
+
await linkComponentResponse(await componentRead(name, options), cwd)
|
|
277
|
+
),
|
|
278
|
+
),
|
|
275
279
|
);
|
|
276
280
|
}
|
|
277
281
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
+
|
|
3
|
+
/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
|
|
4
|
+
export const doc = {
|
|
5
|
+
type: 'block',
|
|
6
|
+
exampleFor: 'useLocale',
|
|
7
|
+
name: 'useLocale — Invoice Summary',
|
|
8
|
+
displayName: 'useLocale — Invoice Summary',
|
|
9
|
+
description:
|
|
10
|
+
'An invoice summary that formats its date and amount with Intl using the locale from useLocale, so switching the provider from English to German changes "Nov 2, 2026" and "$1,234.50" to "2. Nov. 2026" and "1.234,50 $" with no second locale source.',
|
|
11
|
+
isReady: true,
|
|
12
|
+
aspectRatio: 4 / 3,
|
|
13
|
+
componentsUsed: [
|
|
14
|
+
'InternationalizationProvider',
|
|
15
|
+
'Card',
|
|
16
|
+
'SegmentedControl',
|
|
17
|
+
'Text',
|
|
18
|
+
'Layout',
|
|
19
|
+
],
|
|
20
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
+
|
|
3
|
+
'use client';
|
|
4
|
+
|
|
5
|
+
import {useState} from 'react';
|
|
6
|
+
import {Card} from '@astryxdesign/core/Card';
|
|
7
|
+
import {InternationalizationProvider, useLocale} from '@astryxdesign/core/i18n';
|
|
8
|
+
import {HStack, VStack} from '@astryxdesign/core/Layout';
|
|
9
|
+
import {
|
|
10
|
+
SegmentedControl,
|
|
11
|
+
SegmentedControlItem,
|
|
12
|
+
} from '@astryxdesign/core/SegmentedControl';
|
|
13
|
+
import {Text} from '@astryxdesign/core/Text';
|
|
14
|
+
|
|
15
|
+
type Locale = 'en' | 'de-DE';
|
|
16
|
+
|
|
17
|
+
const ISSUED_ON = new Date(2026, 10, 2);
|
|
18
|
+
const AMOUNT_DUE = 1234.5;
|
|
19
|
+
|
|
20
|
+
function InvoiceSummary() {
|
|
21
|
+
const locale = useLocale();
|
|
22
|
+
const issuedOn = new Intl.DateTimeFormat(locale, {
|
|
23
|
+
day: 'numeric',
|
|
24
|
+
month: 'short',
|
|
25
|
+
year: 'numeric',
|
|
26
|
+
}).format(ISSUED_ON);
|
|
27
|
+
const amountDue = new Intl.NumberFormat(locale, {
|
|
28
|
+
style: 'currency',
|
|
29
|
+
currency: 'USD',
|
|
30
|
+
}).format(AMOUNT_DUE);
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<VStack gap={1}>
|
|
34
|
+
<HStack justify="between">
|
|
35
|
+
<Text type="body" color="secondary">
|
|
36
|
+
Issued
|
|
37
|
+
</Text>
|
|
38
|
+
<Text type="body">{issuedOn}</Text>
|
|
39
|
+
</HStack>
|
|
40
|
+
<HStack justify="between">
|
|
41
|
+
<Text type="body" color="secondary">
|
|
42
|
+
Amount due
|
|
43
|
+
</Text>
|
|
44
|
+
<Text type="body" weight="bold">
|
|
45
|
+
{amountDue}
|
|
46
|
+
</Text>
|
|
47
|
+
</HStack>
|
|
48
|
+
</VStack>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export default function UseLocaleHookUsage() {
|
|
53
|
+
const [locale, setLocale] = useState<Locale>('en');
|
|
54
|
+
|
|
55
|
+
return (
|
|
56
|
+
<InternationalizationProvider locale={locale}>
|
|
57
|
+
<Card width={320} padding={4}>
|
|
58
|
+
<VStack gap={3}>
|
|
59
|
+
<SegmentedControl
|
|
60
|
+
label="Language"
|
|
61
|
+
value={locale}
|
|
62
|
+
onChange={nextLocale => setLocale(nextLocale as Locale)}
|
|
63
|
+
size="sm">
|
|
64
|
+
<SegmentedControlItem value="en" label="English" />
|
|
65
|
+
<SegmentedControlItem value="de-DE" label="German" />
|
|
66
|
+
</SegmentedControl>
|
|
67
|
+
<InvoiceSummary />
|
|
68
|
+
</VStack>
|
|
69
|
+
</Card>
|
|
70
|
+
</InternationalizationProvider>
|
|
71
|
+
);
|
|
72
|
+
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* Global options: --detail full|compact|brief, --lang en|zh|dense
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
import {withListingCache} from '../../../foundation/fs/listing-cache.mjs';
|
|
9
10
|
import {findCoreDir} from '../../../foundation/fs/paths.mjs';
|
|
10
11
|
import {
|
|
11
12
|
resolveImportPath,
|
|
@@ -307,15 +308,18 @@ export function registerComponent(program) {
|
|
|
307
308
|
}
|
|
308
309
|
}
|
|
309
310
|
}
|
|
311
|
+
// Each row resolves its import by walking the same source tree.
|
|
310
312
|
emit(
|
|
311
313
|
code(
|
|
312
|
-
await
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
314
|
+
await withListingCache(() =>
|
|
315
|
+
formatBriefAll(coreDir, {
|
|
316
|
+
zh,
|
|
317
|
+
lang,
|
|
318
|
+
themeData,
|
|
319
|
+
replacements,
|
|
320
|
+
categories: Object.keys(result.data.components),
|
|
321
|
+
}),
|
|
322
|
+
),
|
|
319
323
|
),
|
|
320
324
|
);
|
|
321
325
|
break;
|
|
@@ -383,7 +387,13 @@ export function registerComponent(program) {
|
|
|
383
387
|
? section(firstGroup[0])
|
|
384
388
|
: section(`Components (${sorted.length})`),
|
|
385
389
|
records(
|
|
386
|
-
|
|
390
|
+
// Each row resolves its import by walking the same source tree.
|
|
391
|
+
withListingCache(() =>
|
|
392
|
+
sorted.map(item => ({
|
|
393
|
+
name: item.name,
|
|
394
|
+
import: importCell(item),
|
|
395
|
+
})),
|
|
396
|
+
),
|
|
387
397
|
{fields: ['name', 'import']},
|
|
388
398
|
),
|
|
389
399
|
listFooter,
|
|
@@ -11,6 +11,7 @@ import {DOC_EXPORTS} from '../doc-compiler/read.mjs';
|
|
|
11
11
|
import {
|
|
12
12
|
listDir,
|
|
13
13
|
listDirEntries,
|
|
14
|
+
oncePerListing,
|
|
14
15
|
pathExists,
|
|
15
16
|
withListingCache,
|
|
16
17
|
} from '../fs/listing-cache.mjs';
|
|
@@ -584,17 +585,26 @@ export function findComponentReadme(coreDir, name) {
|
|
|
584
585
|
* @returns {string | null}
|
|
585
586
|
*/
|
|
586
587
|
export function findComponentSource(coreDir, name) {
|
|
588
|
+
const found = ownSourceFile(coreDir, name);
|
|
589
|
+
if (found == null) return null;
|
|
590
|
+
// A component's exact name in another case (`tokenizer` for Tokenizer) is
|
|
591
|
+
// that component's. A module that only shares the spelling, such as
|
|
592
|
+
// `CodeBlock/tokenizer.ts`, never stands for it.
|
|
593
|
+
return caseSpelledComponentSource(path.join(coreDir, 'src'), name) == null
|
|
594
|
+
? found
|
|
595
|
+
: null;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* The file named for `name` in `src/`, found as {@link findComponentSource}
|
|
600
|
+
* describes, before the case-spelling check.
|
|
601
|
+
* @param {string} coreDir
|
|
602
|
+
* @param {string} name
|
|
603
|
+
* @returns {string | null}
|
|
604
|
+
*/
|
|
605
|
+
function ownSourceFile(coreDir, name) {
|
|
587
606
|
const srcDir = path.join(coreDir, 'src');
|
|
588
|
-
|
|
589
|
-
// on-disk convention, then the bare forms (`Button.tsx`) that the Astryx-prefix
|
|
590
|
-
// migration (P4) renames to. `.tsx` before `.ts` within each so a component's
|
|
591
|
-
// `.tsx` wins over a same-named `.ts` helper; `.ts` covers hooks/functions.
|
|
592
|
-
const candidateFiles = [
|
|
593
|
-
`XDS${name}.tsx`,
|
|
594
|
-
`${name}.tsx`,
|
|
595
|
-
`XDS${name}.ts`,
|
|
596
|
-
`${name}.ts`,
|
|
597
|
-
];
|
|
607
|
+
const candidateFiles = ownFileNames(name);
|
|
598
608
|
|
|
599
609
|
/**
|
|
600
610
|
* @param {string} dirPath
|
|
@@ -647,6 +657,71 @@ export function findComponentSource(coreDir, name) {
|
|
|
647
657
|
return searchDir(srcDir);
|
|
648
658
|
}
|
|
649
659
|
|
|
660
|
+
/**
|
|
661
|
+
* The file names a component's own source can have. The `XDS` forms come
|
|
662
|
+
* first, so an older prefixed file wins over a bare one. `.tsx` comes before
|
|
663
|
+
* `.ts`, so a component wins over a same-named helper. `.ts` covers hooks and
|
|
664
|
+
* functions.
|
|
665
|
+
* @param {string} name
|
|
666
|
+
* @returns {string[]}
|
|
667
|
+
*/
|
|
668
|
+
function ownFileNames(name) {
|
|
669
|
+
return [`XDS${name}.tsx`, `${name}.tsx`, `XDS${name}.ts`, `${name}.ts`];
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
// A component's name (PascalCase) or a hook's (`use` followed by PascalCase).
|
|
673
|
+
const COMPONENT_OR_HOOK_NAME_RE = /^(?:use)?[A-Z][A-Za-z0-9]*$/;
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* Every component or hook file in `src/`, by its stem in lower case: its
|
|
677
|
+
* stem (without an `XDS` prefix) and its path. Built once per operation.
|
|
678
|
+
* @param {string} srcDir
|
|
679
|
+
* @returns {Map<string, Array<{stem: string, file: string}>>}
|
|
680
|
+
*/
|
|
681
|
+
function caseStemIndex(srcDir) {
|
|
682
|
+
return oncePerListing(`case-stems\0${srcDir}`, () => {
|
|
683
|
+
/** @type {Map<string, Array<{stem: string, file: string}>>} */
|
|
684
|
+
const index = new Map();
|
|
685
|
+
/** @param {string} dirPath */
|
|
686
|
+
const visit = dirPath => {
|
|
687
|
+
for (const entry of listDirEntries(dirPath)) {
|
|
688
|
+
const entryPath = path.join(dirPath, entry.name);
|
|
689
|
+
if (entry.isDirectory()) {
|
|
690
|
+
if (entry.name !== '__tests__') visit(entryPath);
|
|
691
|
+
continue;
|
|
692
|
+
}
|
|
693
|
+
const stem = /^(?:XDS)?(.+)\.tsx?$/.exec(entry.name)?.[1];
|
|
694
|
+
if (stem == null || !COMPONENT_OR_HOOK_NAME_RE.test(stem)) continue;
|
|
695
|
+
const key = stem.toLowerCase();
|
|
696
|
+
index.set(key, [...(index.get(key) ?? []), {stem, file: entryPath}]);
|
|
697
|
+
}
|
|
698
|
+
};
|
|
699
|
+
if (pathExists(srcDir)) visit(srcDir);
|
|
700
|
+
return index;
|
|
701
|
+
});
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* The source of the component or hook whose exact name `name` spells in
|
|
706
|
+
* another case. A file named for it, anywhere in `src/`, exports it, as
|
|
707
|
+
* `TabList/Tab.tsx` exports Tab for `tab`. Null when no such file exists.
|
|
708
|
+
* @param {string} srcDir
|
|
709
|
+
* @param {string} name
|
|
710
|
+
* @returns {string | null}
|
|
711
|
+
*/
|
|
712
|
+
function caseSpelledComponentSource(srcDir, name) {
|
|
713
|
+
for (const {stem, file} of caseStemIndex(srcDir).get(name.toLowerCase()) ??
|
|
714
|
+
[]) {
|
|
715
|
+
if (
|
|
716
|
+
stem !== name &&
|
|
717
|
+
(moduleExportsName(file, stem) || moduleExportsName(file, `XDS${stem}`))
|
|
718
|
+
) {
|
|
719
|
+
return file;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
return null;
|
|
723
|
+
}
|
|
724
|
+
|
|
650
725
|
/**
|
|
651
726
|
* Compute the Levenshtein (edit) distance between two strings.
|
|
652
727
|
* Used for fuzzy-matching component names. Dependency-free.
|
|
@@ -9,6 +9,15 @@
|
|
|
9
9
|
* @returns {T}
|
|
10
10
|
*/
|
|
11
11
|
export function withListingCache<T>(fn: () => T): T;
|
|
12
|
+
/**
|
|
13
|
+
* `compute()` once per operation, under `key`. A later call in the same
|
|
14
|
+
* operation gets the first result; outside an operation it computes each time.
|
|
15
|
+
* @template T
|
|
16
|
+
* @param {string} key
|
|
17
|
+
* @param {() => T} compute
|
|
18
|
+
* @returns {T}
|
|
19
|
+
*/
|
|
20
|
+
export function oncePerListing<T>(key: string, compute: () => T): T;
|
|
12
21
|
/**
|
|
13
22
|
* Whether an operation's listing cache is active.
|
|
14
23
|
* @returns {boolean}
|
|
@@ -47,5 +56,6 @@ export type ListingCache = {
|
|
|
47
56
|
entries: Map<string, fs.Dirent[]>;
|
|
48
57
|
byName: Map<string, Map<string, fs.Dirent>>;
|
|
49
58
|
exists: Map<string, boolean>;
|
|
59
|
+
memos: Map<string, unknown>;
|
|
50
60
|
};
|
|
51
61
|
import * as fs from 'node:fs';
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
* @input A read-only operation (`withListingCache(fn)`), and directory paths
|
|
8
8
|
* its discovery helpers list or probe.
|
|
9
9
|
* @output The same answers `fs.readdirSync` / `fs.existsSync` give, read from
|
|
10
|
-
* disk once per path while the operation runs
|
|
10
|
+
* disk once per path while the operation runs, and `oncePerListing`, a
|
|
11
|
+
* value computed once per operation.
|
|
11
12
|
* @position Used by the name resolvers in foundation/discovery and by
|
|
12
13
|
* `existsCaseExact`. A search or build resolves ~160 components and their
|
|
13
14
|
* hooks, and each resolution walks the same source tree again; inside one
|
|
@@ -25,6 +26,7 @@ import * as fs from 'node:fs';
|
|
|
25
26
|
* entries: Map<string, fs.Dirent[]>,
|
|
26
27
|
* byName: Map<string, Map<string, fs.Dirent>>,
|
|
27
28
|
* exists: Map<string, boolean>,
|
|
29
|
+
* memos: Map<string, unknown>,
|
|
28
30
|
* }} ListingCache
|
|
29
31
|
*/
|
|
30
32
|
|
|
@@ -46,11 +48,27 @@ export function withListingCache(fn) {
|
|
|
46
48
|
entries: new Map(),
|
|
47
49
|
byName: new Map(),
|
|
48
50
|
exists: new Map(),
|
|
51
|
+
memos: new Map(),
|
|
49
52
|
},
|
|
50
53
|
fn,
|
|
51
54
|
);
|
|
52
55
|
}
|
|
53
56
|
|
|
57
|
+
/**
|
|
58
|
+
* `compute()` once per operation, under `key`. A later call in the same
|
|
59
|
+
* operation gets the first result; outside an operation it computes each time.
|
|
60
|
+
* @template T
|
|
61
|
+
* @param {string} key
|
|
62
|
+
* @param {() => T} compute
|
|
63
|
+
* @returns {T}
|
|
64
|
+
*/
|
|
65
|
+
export function oncePerListing(key, compute) {
|
|
66
|
+
const cache = scope.getStore();
|
|
67
|
+
if (!cache) return compute();
|
|
68
|
+
if (!cache.memos.has(key)) cache.memos.set(key, compute());
|
|
69
|
+
return /** @type {T} */ (cache.memos.get(key));
|
|
70
|
+
}
|
|
71
|
+
|
|
54
72
|
/**
|
|
55
73
|
* Whether an operation's listing cache is active.
|
|
56
74
|
* @returns {boolean}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @param {string} [options.cwd]
|
|
10
10
|
* @returns {Promise<{components: Map<string, object>, aliases: Map<string, string>, componentNames: string[]}>}
|
|
11
11
|
*/
|
|
12
|
-
export function buildRegistry(
|
|
12
|
+
export function buildRegistry(options?: {
|
|
13
13
|
cwd?: string | undefined;
|
|
14
14
|
}): Promise<{
|
|
15
15
|
components: Map<string, object>;
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import fs from 'node:fs';
|
|
19
19
|
import path from 'node:path';
|
|
20
|
+
import {withListingCache} from '../fs/listing-cache.mjs';
|
|
20
21
|
import {findCoreDir} from '../fs/paths.mjs';
|
|
21
22
|
import {
|
|
22
23
|
discoverComponents,
|
|
@@ -106,9 +107,18 @@ let cachedRegistry = /** @type {import('./xle-ast').Registry | null} */ (null);
|
|
|
106
107
|
* @param {string} [options.cwd]
|
|
107
108
|
* @returns {Promise<{components: Map<string, object>, aliases: Map<string, string>, componentNames: string[]}>}
|
|
108
109
|
*/
|
|
109
|
-
export async function buildRegistry(
|
|
110
|
+
export async function buildRegistry(options = {}) {
|
|
110
111
|
if (cachedRegistry) return cachedRegistry;
|
|
112
|
+
// Every name's lookups walk the same source tree: read each directory once.
|
|
113
|
+
return withListingCache(() => readRegistry(options));
|
|
114
|
+
}
|
|
111
115
|
|
|
116
|
+
/**
|
|
117
|
+
* {@link buildRegistry}'s read, inside one listing operation.
|
|
118
|
+
* @param {{cwd?: string}} options
|
|
119
|
+
* @returns {ReturnType<typeof buildRegistry>}
|
|
120
|
+
*/
|
|
121
|
+
async function readRegistry({cwd = process.cwd()}) {
|
|
112
122
|
const coreDir = findCoreDir(cwd);
|
|
113
123
|
if (!coreDir) {
|
|
114
124
|
throw new Error('Could not find @astryxdesign/core package — run from an XDS workspace');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.7.8-canary.
|
|
3
|
+
"version": "0.7.8-canary.96066d7",
|
|
4
4
|
"displayName": "CLI",
|
|
5
5
|
"description": "Scaffold projects, browse templates, generate themes, and get agent-ready docs from the command line.",
|
|
6
6
|
"author": "Meta Open Source",
|
|
@@ -124,10 +124,10 @@
|
|
|
124
124
|
"zod": "^4.4.3"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
|
-
"@astryxdesign/charts": "0.7.8-canary.
|
|
128
|
-
"@astryxdesign/core": "0.7.8-canary.
|
|
129
|
-
"@astryxdesign/lab": "0.7.8-canary.
|
|
130
|
-
"@astryxdesign/theme-neutral": "0.7.8-canary.
|
|
127
|
+
"@astryxdesign/charts": "0.7.8-canary.96066d7",
|
|
128
|
+
"@astryxdesign/core": "0.7.8-canary.96066d7",
|
|
129
|
+
"@astryxdesign/lab": "0.7.8-canary.96066d7",
|
|
130
|
+
"@astryxdesign/theme-neutral": "0.7.8-canary.96066d7"
|
|
131
131
|
},
|
|
132
132
|
"peerDependenciesMeta": {
|
|
133
133
|
"@astryxdesign/charts": {
|
|
@@ -144,10 +144,10 @@
|
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
|
-
"@astryxdesign/charts": "0.7.8-canary.
|
|
148
|
-
"@astryxdesign/core": "0.7.8-canary.
|
|
149
|
-
"@astryxdesign/lab": "0.7.8-canary.
|
|
150
|
-
"@astryxdesign/theme-neutral": "0.7.8-canary.
|
|
147
|
+
"@astryxdesign/charts": "0.7.8-canary.96066d7",
|
|
148
|
+
"@astryxdesign/core": "0.7.8-canary.96066d7",
|
|
149
|
+
"@astryxdesign/lab": "0.7.8-canary.96066d7",
|
|
150
|
+
"@astryxdesign/theme-neutral": "0.7.8-canary.96066d7",
|
|
151
151
|
"@heroicons/react": "^2.2.0",
|
|
152
152
|
"@stylexjs/stylex": "^0.19.0",
|
|
153
153
|
"@types/babel__core": "^7.20.5",
|