@astryxdesign/cli 0.7.8-canary.f50bc74 → 0.7.8-canary.f60d2bb
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/README.md +1 -1
- 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 +308 -0
- package/api/component/component.mjs +11 -7
- package/api/search/_gather-components.mjs +5 -0
- package/api/search/_lexical.d.mts +7 -0
- package/api/search/_lexical.mjs +2 -0
- package/api/search/_result.d.mts +1 -0
- package/api/search/_result.mjs +1 -0
- package/api/search/search.doc.mjs +1 -1
- package/api/search/search.type.d.mts +4 -0
- package/api/search/search.type.mjs +1 -0
- package/assets/codemods/transforms/next/promote-tokenizer-presentation.mjs +53 -36
- package/assets/docs/motion.doc.mjs +1 -1
- package/assets/docs/tree/tokens-duration.doc.mjs +4 -0
- package/assets/docs/tree/tokens.doc.mjs +1 -1
- package/assets/templates/blocks/components/Hooks/useHotkeysHookUsage.doc.mjs +23 -0
- package/assets/templates/blocks/components/Hooks/useHotkeysHookUsage.tsx +90 -0
- package/assets/templates/blocks/components/Hooks/useInputStatusIconHookUsage.doc.mjs +14 -0
- package/assets/templates/blocks/components/Hooks/useInputStatusIconHookUsage.tsx +119 -0
- package/assets/templates/blocks/components/Hooks/useKeyboardHintHookUsage.doc.mjs +3 -11
- package/assets/templates/blocks/components/Hooks/useKeyboardHintHookUsage.tsx +60 -45
- package/assets/templates/blocks/components/Hooks/useLocaleHookUsage.doc.mjs +20 -0
- package/assets/templates/blocks/components/Hooks/useLocaleHookUsage.tsx +72 -0
- package/assets/templates/blocks/components/Hooks/useScrollableAreaHookUsage.doc.mjs +14 -0
- package/assets/templates/blocks/components/Hooks/useScrollableAreaHookUsage.tsx +90 -0
- package/assets/templates/blocks/components/Hooks/useTreeFocusHookUsage.doc.mjs +15 -0
- package/assets/templates/blocks/components/Hooks/useTreeFocusHookUsage.tsx +98 -0
- package/assets/templates/blocks/components/Hooks/useTypeaheadHookUsage.doc.mjs +14 -0
- package/assets/templates/blocks/components/Hooks/useTypeaheadHookUsage.tsx +66 -0
- package/assets/templates/blocks/components/Lightbox/LightboxHookUsage.doc.mjs +15 -0
- package/assets/templates/blocks/components/Lightbox/LightboxHookUsage.tsx +62 -0
- package/assets/theme.template.ts +2 -1
- package/authoring/doctypes/_schema.d.mts +16 -0
- package/authoring/doctypes/_schema.mjs +15 -0
- package/authoring/doctypes/component/component.doc.mjs +6 -0
- package/authoring/doctypes/component/type.ts +16 -0
- package/authoring/index.d.ts +1 -0
- package/clients/cli/commands/build.mjs +9 -3
- package/clients/cli/commands/component.mjs +18 -8
- package/clients/cli/commands/search.mjs +8 -2
- package/clients/cli/formatters/index.mjs +11 -0
- package/clients/cli/index.mjs +56 -11
- package/clients/cli/program.mjs +15 -0
- package/clients/cli/run.mjs +4 -1
- 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/response/response-types.doc.mjs +1 -1
- package/foundation/xle/registry.d.mts +1 -1
- package/foundation/xle/registry.mjs +11 -1
- package/package.json +9 -9
|
@@ -0,0 +1,308 @@
|
|
|
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
|
+
getWeekdayHeaderNames getWeekdayHeaderNames Calendar/Calendar.doc.mjs Calendar/getWeekdayHeaderNames.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/useLightbox.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
|
+
useRenamedProp useRenamedProp hooks/useAnimatedLayout.doc.mjs hooks/useRenamedProp.ts
|
|
289
|
+
useResolvedRequired useResolvedRequired hooks/useAnimatedLayout.doc.mjs hooks/useResolvedRequired.ts
|
|
290
|
+
useScrollSettle useScrollSettle DateInput/DateInput.doc.mjs DateInput/useScrollSettle.ts
|
|
291
|
+
useScrollSpy useScrollSpy Outline/Outline.doc.mjs Outline/useScrollSpy.ts
|
|
292
|
+
useSegmentedSelectionMotion useSegmentedSelectionMotion SegmentedControl/SegmentedControl.doc.mjs SegmentedControl/useSegmentedSelectionMotion.ts
|
|
293
|
+
useSegmentedTouchTracking useSegmentedTouchTracking SegmentedControl/SegmentedControl.doc.mjs SegmentedControl/useSegmentedTouchTracking.ts
|
|
294
|
+
useSelectorPresentation useSelectorPresentation Selector/Selector.doc.mjs Selector/useSelectorPresentation.ts
|
|
295
|
+
useSettledOpen useSettledOpen hooks/useAnimatedLayout.doc.mjs hooks/useSettledOpen.ts
|
|
296
|
+
useSheetGestures useSheetGestures BottomSheet/BottomSheet.doc.mjs BottomSheet/useSheetGestures.ts
|
|
297
|
+
useSliderTouch useSliderTouch Slider/Slider.doc.mjs Slider/useSliderTouch.ts
|
|
298
|
+
useSpeechRecognition useSpeechRecognition Chat/Chat.doc.mjs Chat/useSpeechRecognition.ts
|
|
299
|
+
useSwipeAction useSwipeAction Item/Item.doc.mjs Item/useSwipeAction.ts
|
|
300
|
+
useSwitchTouch useSwitchTouch Switch/Switch.doc.mjs Switch/useSwitchTouch.ts
|
|
301
|
+
useTableCellStyles useTableCellStyles Table/Table.doc.mjs Table/useTableCellStyles.ts
|
|
302
|
+
useTableColumnSettingsState useTableColumnSettingsState Table/Table.doc.mjs Table/plugins/columnSettings/useTableColumnSettingsState.tsx
|
|
303
|
+
useTableSortableState useTableSortableState Table/Table.doc.mjs Table/plugins/sortable/useTableSortableState.tsx
|
|
304
|
+
useToastGesture useToastGesture Toast/Toast.doc.mjs Toast/useToastGesture.ts
|
|
305
|
+
useTouchTrigger useTouchTrigger Layer/Layer.doc.mjs Layer/useTouchTrigger.ts
|
|
306
|
+
useTriggerMenu useTriggerMenu Chat/Chat.doc.mjs Chat/useTriggerMenu.tsx
|
|
307
|
+
useTruncation useTruncation Text/Heading.doc.mjs Text/useTruncation.ts
|
|
308
|
+
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
|
|
|
@@ -73,6 +73,8 @@ async function gatherCoreComponents(coreDir) {
|
|
|
73
73
|
let description = '';
|
|
74
74
|
/** @type {string[]} */
|
|
75
75
|
let guidance = [];
|
|
76
|
+
/** @type {import('@astryxdesign/cli/authoring').ComponentDeprecation | undefined} */
|
|
77
|
+
let deprecated;
|
|
76
78
|
if (readme && readme.endsWith('.doc.mjs')) {
|
|
77
79
|
const loaded = await loadModuleDoc(readme);
|
|
78
80
|
// A member documented in its family's doc (VStack in Stack's doc) is
|
|
@@ -83,6 +85,7 @@ async function gatherCoreComponents(coreDir) {
|
|
|
83
85
|
keywords = Array.isArray(doc.keywords) ? doc.keywords : [];
|
|
84
86
|
description = doc.usage?.description || doc.description || '';
|
|
85
87
|
guidance = guidanceFrom(doc);
|
|
88
|
+
deprecated = doc.deprecated;
|
|
86
89
|
}
|
|
87
90
|
for (const [n, place] of familyPlaces(loaded)) places.set(n, place);
|
|
88
91
|
}
|
|
@@ -92,6 +95,7 @@ async function gatherCoreComponents(coreDir) {
|
|
|
92
95
|
keywords,
|
|
93
96
|
description,
|
|
94
97
|
guidance,
|
|
98
|
+
...(deprecated ? {_deprecated: deprecated} : {}),
|
|
95
99
|
_package: CORE_PACKAGE,
|
|
96
100
|
_import: resolveImportPath(coreDir, comp),
|
|
97
101
|
});
|
|
@@ -178,6 +182,7 @@ async function gatherIntegrationComponents(loadedIntegrations) {
|
|
|
178
182
|
keywords: doc && Array.isArray(doc.keywords) ? doc.keywords : [],
|
|
179
183
|
description: doc ? doc.usage?.description || doc.description || '' : '',
|
|
180
184
|
guidance: guidanceFrom(doc),
|
|
185
|
+
...(doc?.deprecated ? {_deprecated: doc.deprecated} : {}),
|
|
181
186
|
...places.get(rec.name),
|
|
182
187
|
_package: rec.package ?? integration.name,
|
|
183
188
|
// Exactly what `component` reports: a doc may state its own specifier
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
* @property {'file'|'doc'} [_hold] - How an integration component holds its
|
|
41
41
|
* name, for the owner rule.
|
|
42
42
|
* @property {string} [_docPath] - An integration component's doc.
|
|
43
|
+
* @property {import('@astryxdesign/cli/authoring').ComponentDeprecation} [_deprecated] -
|
|
44
|
+
* A deprecated component's replacement, from its doc's `deprecated`.
|
|
43
45
|
*/
|
|
44
46
|
/**
|
|
45
47
|
* True when the query is the candidate's whole name or another name of it,
|
|
@@ -144,4 +146,9 @@ export type Candidate = {
|
|
|
144
146
|
* - An integration component's doc.
|
|
145
147
|
*/
|
|
146
148
|
_docPath?: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* -
|
|
151
|
+
* A deprecated component's replacement, from its doc's `deprecated`.
|
|
152
|
+
*/
|
|
153
|
+
_deprecated?: import("@astryxdesign/cli/authoring").ComponentDeprecation | undefined;
|
|
147
154
|
};
|
package/api/search/_lexical.mjs
CHANGED
|
@@ -99,6 +99,8 @@ import {toResult, searchedComponentsOf} from './_result.mjs';
|
|
|
99
99
|
* @property {'file'|'doc'} [_hold] - How an integration component holds its
|
|
100
100
|
* name, for the owner rule.
|
|
101
101
|
* @property {string} [_docPath] - An integration component's doc.
|
|
102
|
+
* @property {import('@astryxdesign/cli/authoring').ComponentDeprecation} [_deprecated] -
|
|
103
|
+
* A deprecated component's replacement, from its doc's `deprecated`.
|
|
102
104
|
*/
|
|
103
105
|
|
|
104
106
|
/**
|
package/api/search/_result.d.mts
CHANGED
|
@@ -24,6 +24,7 @@ export function toResult(c: Candidate, score: number, reason: string, matchedTer
|
|
|
24
24
|
reason: string;
|
|
25
25
|
description: string;
|
|
26
26
|
} | {
|
|
27
|
+
deprecated?: import("../../authoring/index.js").ComponentDeprecation | undefined;
|
|
27
28
|
import: string | undefined;
|
|
28
29
|
command: string;
|
|
29
30
|
domain: "template" | "component" | "hook" | "theme" | "doc";
|
package/api/search/_result.mjs
CHANGED
|
@@ -58,7 +58,7 @@ export const doc = {
|
|
|
58
58
|
{
|
|
59
59
|
type: 'search',
|
|
60
60
|
description:
|
|
61
|
-
"The query echoed back, `matchCount` (how many candidates matched in total, before `limit`), plus a ranked SearchResultEntry[] bounded by `limit`: each has domain, name, score, reason, description, and follow-up command, plus `import` for components and hooks, `title` for docs, `displayName` and `kind` for templates, and `displayName` for themes. A doc result is the smallest part that answers: one section (with `section`, and a command that reads only it), one docs-tree route, or a topic, whose command lists its sections. `parent` is the command that opens the level above it: the section list of its topic, the namespace a tree node sits in, the topic level (Guides or Foundations) for a flat topic, or the topic list for a top-level namespace. Every doc result also carries `package`, the npm package that authored it (for a section, the package its file came from). A theme result is one theme you can import: `name` is its slug, its command is `{@command theme add <slug>}` (outside a project, where there is no app to add it to, `{@command theme eject <slug>}`), and `package` is the npm package that ships it (`@astryxdesign/cli` for the CLI's own themes). When a search with no `type` could not obtain @astryxdesign/core, `meta.partial` is `{skipped, reason}`: the domains it skipped (`component`, `hook`, `template`) and why; the results are the docs and themes, and text mode prints one line on standard error.",
|
|
61
|
+
"The query echoed back, `matchCount` (how many candidates matched in total, before `limit`), plus a ranked SearchResultEntry[] bounded by `limit`: each has domain, name, score, reason, description, and follow-up command, plus `import` for components and hooks, `title` for docs, `displayName` and `kind` for templates, and `displayName` for themes. A deprecated component's result also carries `deprecated`, `{replacement, description}` from its doc: the name of the component to use instead and the modernization route. A doc result is the smallest part that answers: one section (with `section`, and a command that reads only it), one docs-tree route, or a topic, whose command lists its sections. `parent` is the command that opens the level above it: the section list of its topic, the namespace a tree node sits in, the topic level (Guides or Foundations) for a flat topic, or the topic list for a top-level namespace. Every doc result also carries `package`, the npm package that authored it (for a section, the package its file came from). A theme result is one theme you can import: `name` is its slug, its command is `{@command theme add <slug>}` (outside a project, where there is no app to add it to, `{@command theme eject <slug>}`), and `package` is the npm package that ships it (`@astryxdesign/cli` for the CLI's own themes). When a search with no `type` could not obtain @astryxdesign/core, `meta.partial` is `{skipped, reason}`: the domains it skipped (`component`, `hook`, `template`) and why; the results are the docs and themes, and text mode prints one line on standard error.",
|
|
62
62
|
},
|
|
63
63
|
],
|
|
64
64
|
throws: [
|
|
@@ -66,6 +66,10 @@ export type SearchResultEntry = {
|
|
|
66
66
|
* - Template kind (`page` | `block`) — present for template results.
|
|
67
67
|
*/
|
|
68
68
|
kind?: "page" | "block" | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* - The replacement and modernization route — present for a deprecated component, from its doc's `deprecated`.
|
|
71
|
+
*/
|
|
72
|
+
deprecated?: import("@astryxdesign/cli/authoring").ComponentDeprecation | undefined;
|
|
69
73
|
};
|
|
70
74
|
/**
|
|
71
75
|
* astryx --json search <query>
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
* @property {string} [parent] - Command that opens the level above a doc result — its topic's section list for a section, the docs-tree namespace it sits in for a tree node — so a reader can see the siblings and open another.
|
|
34
34
|
* @property {string} [displayName] - Friendly display name — present for template and theme results.
|
|
35
35
|
* @property {'page' | 'block'} [kind] - Template kind (`page` | `block`) — present for template results.
|
|
36
|
+
* @property {import('@astryxdesign/cli/authoring').ComponentDeprecation} [deprecated] - The replacement and modernization route — present for a deprecated component, from its doc's `deprecated`.
|
|
36
37
|
*/
|
|
37
38
|
|
|
38
39
|
/**
|
|
@@ -4,41 +4,49 @@
|
|
|
4
4
|
* @file Codemod: move Tokenizer's experimental presentation to the stable prop
|
|
5
5
|
*
|
|
6
6
|
* `experimental={{presentation: x}}` on a Tokenizer becomes
|
|
7
|
-
* `presentation={x}`, or `presentation="x"` for a string.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* `experimental` value that is not an object
|
|
14
|
-
* key in it, a Tokenizer that already passes
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* did nothing. Each TODO is added once, so a second run changes
|
|
20
|
-
* nothing.
|
|
7
|
+
* `presentation={x}`, or `presentation="x"` for a string. Tokenizer no longer
|
|
8
|
+
* reads `experimental`, and `presentation` takes the same values, so the
|
|
9
|
+
* rewrite restores the surface the call selected. Other keys stay in the
|
|
10
|
+
* `experimental` object, and an object left empty is removed. Built on the
|
|
11
|
+
* shared `transformProp` helper, so it does not follow variables, helpers,
|
|
12
|
+
* wrappers, or types. Where it cannot prove the result it leaves the call
|
|
13
|
+
* unchanged with a TODO: an `experimental` value that is not an object
|
|
14
|
+
* literal, a spread or computed key in it, a Tokenizer that already passes
|
|
15
|
+
* `presentation`, and a Tokenizer that spreads props. A spread can carry
|
|
16
|
+
* `presentation`, also as `undefined`, and then the result changes with the
|
|
17
|
+
* moved attribute before or after it. Each TODO names its case and is added
|
|
18
|
+
* once, so a second run changes nothing.
|
|
21
19
|
*/
|
|
22
20
|
|
|
23
21
|
import {transformProp} from '../../transform-prop.mjs';
|
|
24
22
|
|
|
25
23
|
export const meta = {
|
|
26
|
-
title: "Move Tokenizer's experimental presentation to presentation",
|
|
24
|
+
title: "Move Tokenizer's removed experimental presentation to presentation",
|
|
27
25
|
description:
|
|
28
|
-
'Rewrites `experimental={{presentation: x}}` on Tokenizer to
|
|
29
|
-
'`presentation={x}
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
'props after experimental.',
|
|
26
|
+
'Rewrites `experimental={{presentation: x}}` on Tokenizer to ' +
|
|
27
|
+
'`presentation={x}`; Tokenizer no longer reads `experimental`. Leaves a ' +
|
|
28
|
+
'TODO where the experimental value is not an object literal, where the ' +
|
|
29
|
+
'Tokenizer already passes presentation, and where it spreads props.',
|
|
33
30
|
};
|
|
34
31
|
|
|
35
32
|
const CORE_IMPORT_RE = /^@(astryxdesign|xds)\/core(?:\/|$)/;
|
|
36
33
|
const COMPONENT_PROPS = new Map([['Tokenizer', new Set(['experimental'])]]);
|
|
37
34
|
|
|
38
|
-
const
|
|
39
|
-
' TODO(astryx upgrade): experimental.presentation
|
|
40
|
-
'presentation
|
|
41
|
-
|
|
35
|
+
const TODO_PREFIX =
|
|
36
|
+
' TODO(astryx upgrade): experimental.presentation was removed in favor of ' +
|
|
37
|
+
'presentation. ';
|
|
38
|
+
/** @param {string} reason */
|
|
39
|
+
const moveTodo = reason =>
|
|
40
|
+
`${TODO_PREFIX}Move the value to presentation; the codemod left this one ` +
|
|
41
|
+
`unchanged because ${reason}. `;
|
|
42
|
+
/** One TODO per case, so the reader knows what to check. */
|
|
43
|
+
const TODOS = {
|
|
44
|
+
notLiteral: moveTodo('the value is not a literal object'),
|
|
45
|
+
unprovenKey: moveTodo('the object has a spread or a computed key'),
|
|
46
|
+
repeatedKey: moveTodo('the object sets presentation more than once'),
|
|
47
|
+
presentationSet: `${TODO_PREFIX}presentation is already set; remove experimental.presentation. `,
|
|
48
|
+
spread: moveTodo('a spread may also set presentation'),
|
|
49
|
+
};
|
|
42
50
|
|
|
43
51
|
const TYPE_WRAPPERS = new Set([
|
|
44
52
|
'TSAsExpression',
|
|
@@ -129,18 +137,27 @@ export default function transformer(file, api) {
|
|
|
129
137
|
) {
|
|
130
138
|
return;
|
|
131
139
|
}
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
140
|
+
const hasPresentation = attributes.some(
|
|
141
|
+
(/** @type {any} */ a) =>
|
|
142
|
+
a.type === 'JSXAttribute' && a.name?.name === 'presentation',
|
|
143
|
+
);
|
|
144
|
+
const hasSpread = attributes.some(
|
|
145
|
+
(/** @type {any} */ a) => a.type === 'JSXSpreadAttribute',
|
|
146
|
+
);
|
|
147
|
+
const todo =
|
|
148
|
+
value?.type !== 'ObjectExpression'
|
|
149
|
+
? TODOS.notLiteral
|
|
150
|
+
: hasUnprovenEntry
|
|
151
|
+
? TODOS.unprovenKey
|
|
152
|
+
: hasPresentation
|
|
153
|
+
? TODOS.presentationSet
|
|
154
|
+
: presentationEntries.length > 1
|
|
155
|
+
? TODOS.repeatedKey
|
|
156
|
+
: hasSpread
|
|
157
|
+
? TODOS.spread
|
|
158
|
+
: null;
|
|
159
|
+
if (todo != null) {
|
|
160
|
+
hasChanges = addComment(j, prop, todo) || hasChanges;
|
|
144
161
|
return;
|
|
145
162
|
}
|
|
146
163
|
|
|
@@ -35,7 +35,7 @@ export const docs = {
|
|
|
35
35
|
content: [
|
|
36
36
|
{
|
|
37
37
|
type: 'prose',
|
|
38
|
-
text: 'Nine duration tokens in fast, medium, and slow bands
|
|
38
|
+
text: 'Nine duration tokens in fast, medium, and slow bands, and `--duration-exit`, the standard dismissal duration, which follows `--duration-fast`.',
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
type: 'token-ref',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// AUTO-GENERATED — do not edit manually.
|
|
4
4
|
// Run: node scripts/generate-token-docs.mjs
|
|
5
|
-
// Total:
|
|
5
|
+
// Total: 286 tokens across 15 categories.
|
|
6
6
|
|
|
7
7
|
/** @type {import('@astryxdesign/cli/authoring').NamespaceDoc} */
|
|
8
8
|
export const docs = {
|