@astryxdesign/cli 0.7.14-canary.gfdb9213 → 0.7.14
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/CHANGELOG.md +197 -0
- package/api/theme/_adapter.d.mts +33 -0
- package/api/theme/_adapter.mjs +352 -16
- package/api/theme/build/build.mjs +261 -10
- package/api/theme/eject/eject.mjs +13 -1
- package/api/theme/list/list.mjs +11 -2
- package/api/theme/template/template.mjs +139 -6
- package/api/theme/theme.type.d.mts +15 -1
- package/api/theme/theme.type.mjs +9 -3
- package/api/theme/themeAdd.doc.mjs +1 -1
- package/api/theme/themeBuild.doc.mjs +10 -2
- package/api/theme/themeEject.doc.mjs +2 -2
- package/api/theme/themeListAvailable.doc.mjs +1 -1
- package/api/theme/themeRemove.doc.mjs +1 -1
- package/api/theme/themeTemplate.doc.mjs +8 -0
- package/api/theme/themeUse.doc.mjs +1 -1
- package/api/theme-edit/_adapter.d.mts +10 -2
- package/api/theme-edit/_adapter.mjs +52 -31
- package/api/theme-edit/_check.d.mts +28 -25
- package/api/theme-edit/_check.mjs +586 -548
- package/api/theme-edit/_color.d.mts +28 -2
- package/api/theme-edit/_color.mjs +306 -68
- package/api/theme-edit/_compiler.d.mts +8 -4
- package/api/theme-edit/_compiler.mjs +30 -27
- package/api/theme-edit/_context.d.mts +10 -4
- package/api/theme-edit/_context.mjs +21 -4
- package/api/theme-edit/_edit.mjs +300 -43
- package/api/theme-edit/_how-commands.d.mts +91 -0
- package/api/theme-edit/_how-commands.mjs +269 -0
- package/api/theme-edit/_how-question.d.mts +57 -0
- package/api/theme-edit/_how-question.mjs +2574 -0
- package/api/theme-edit/_how.d.mts +25 -17
- package/api/theme-edit/_how.mjs +727 -305
- package/api/theme-edit/_palette.d.mts +127 -19
- package/api/theme-edit/_palette.mjs +1313 -399
- package/api/theme-edit/_parts.mjs +36 -3
- package/api/theme-edit/_png.d.mts +18 -6
- package/api/theme-edit/_png.mjs +135 -25
- package/api/theme-edit/_preview-app.d.mts +26 -7
- package/api/theme-edit/_preview-app.mjs +1611 -280
- package/api/theme-edit/_preview.d.mts +4 -2
- package/api/theme-edit/_preview.mjs +18 -7
- package/api/theme-edit/_settings.d.mts +56 -5
- package/api/theme-edit/_settings.mjs +197 -49
- package/api/theme-edit/_tables.d.mts +0 -12
- package/api/theme-edit/_tables.mjs +24 -97
- package/api/theme-edit/theme-edit.type.d.mts +22 -5
- package/api/theme-edit/theme-edit.type.mjs +17 -6
- package/api/theme-edit/themeEditHow.doc.mjs +13 -3
- package/api/theme-edit/themeEditNew.doc.mjs +2 -1
- package/api/theme-edit/themeEditPreviewAdd.doc.mjs +16 -4
- package/api/theme-edit/themeEditPreviewApp.doc.mjs +12 -4
- package/api/theme-edit/themeEditPreviewList.doc.mjs +9 -1
- package/api/theme-edit/themeEditPreviewRemove.doc.mjs +27 -2
- package/api/theme-edit/themeEditUndo.doc.mjs +1 -1
- package/assets/docs.generated.json +1 -0
- package/assets/preview-app/gitignore +3 -0
- package/assets/templates/components.generated.json +1 -0
- package/clients/cli/bin/astryx.mjs +37 -5
- package/clients/cli/commands/experimental/theme.mjs +231 -31
- package/clients/cli/commands/experimental-theme-editor-how.doc.mjs +14 -5
- package/clients/cli/commands/experimental-theme-editor-new.doc.mjs +0 -1
- package/clients/cli/commands/experimental-theme-editor-undo.doc.mjs +1 -1
- package/clients/cli/commands/experimental-theme-preview-add.doc.mjs +3 -2
- package/clients/cli/commands/experimental-theme-preview-app.doc.mjs +2 -2
- package/clients/cli/commands/experimental-theme-preview-list.doc.mjs +2 -2
- package/clients/cli/commands/experimental-theme-preview-remove.doc.mjs +2 -2
- package/clients/cli/commands/experimental-theme-targets.doc.mjs +1 -1
- package/clients/cli/commands/experimental-theme.doc.mjs +2 -2
- package/clients/cli/commands/theme-build.doc.mjs +1 -1
- package/clients/cli/commands/theme-eject.doc.mjs +3 -3
- package/clients/cli/commands/theme-remove.doc.mjs +2 -2
- package/clients/cli/commands/theme-template.doc.mjs +11 -4
- package/clients/cli/commands/theme.mjs +104 -40
- package/clients/cli/commands.generated.json +1 -0
- package/clients/cli/index.mjs +96 -4
- package/clients/cli/lib/json-shim.mjs +29 -1
- package/foundation/config/project.d.mts +16 -2
- package/foundation/config/project.mjs +40 -6
- package/foundation/config/theme-state.d.mts +9 -0
- package/foundation/config/theme-state.mjs +20 -1
- package/foundation/discovery/template-adapter.d.mts +12 -1
- package/foundation/discovery/template-adapter.mjs +24 -1
- package/foundation/discovery/template-needs.d.mts +7 -0
- package/foundation/discovery/template-needs.mjs +117 -8
- package/foundation/discovery/template-source-tree.d.mts +5 -1
- package/foundation/discovery/template-source-tree.mjs +6 -4
- package/foundation/discovery/theme-discovery.d.mts +14 -3
- package/foundation/discovery/theme-discovery.mjs +45 -12
- package/foundation/doc-compiler/import.mjs +68 -3
- package/foundation/doc-compiler/stored-docs.d.mts +27 -0
- package/foundation/doc-compiler/stored-docs.mjs +65 -0
- package/foundation/fs/fs-error.d.mts +17 -0
- package/foundation/fs/fs-error.mjs +34 -0
- package/package.json +6 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"008b92e9ca9dcacfc44bb876e7ebc1eb":["RadioList"],"00fb461ff75dee9a1a154e41c99885e5":[],"0137be1222689a2acc187f865262aabe":["Avatar","Badge","List"],"01ff708ba4fda3c8f4b342af52499041":["CheckboxInput","Stack"],"02745de3ef2c412029bd5745408a113f":["ChatToolCalls","CodeBlock"],"038e2a635c4cb129fb82a454c0a1dd5a":["Step","Stepper"],"04c49dbcffb31208a6c6563bc8b1caf5":["Card"],"0514a4c2a333faa7aadb44a8d8c729da":["Card","IconButton","VisuallyHidden"],"05ab5b5eef060d2b657596a9e737890c":["ChatMessage","ChatMessageBubble","ChatMessageList","Stack"],"05d450fba0a07805244d91744072f182":["Banner","Card","Center","TextInput"],"065bc0d09ce716e34dfcb831b47da816":["Pagination","Stack","Table"],"0669307a8cea9b9347398358bd13609a":["Slider"],"06a8794d3c1df59d18e471dfc6f1fe9d":["Badge","Layout","Table"],"06bd645af224b72ea9f568bb0f146978":[],"06dcb3604b5c86ce8d5386a026259538":["Center","Markdown"],"06e52ab8f5b85d90833eb158e27cfa54":["Card"],"076ce682e55ab2328be73f981e42c9d5":["SideNav"],"0843bc75fd8007e245901b1f4de6839d":["MobileNav","SideNav"],"0852fcec1c0111462f0a0921cb91da34":[],"08a399080c04285525e466562b4bf37a":["MetadataList"],"096db240feb7593efbb13ffe3c0ca79e":[],"0987d26cd83ef06715de259b62ed3a0d":["Card","Stack"],"09c24675c2ba15d7a78f0f5f6feb5c1b":["RadioList"],"09d37d1a97b1a8259f6b1fc1e950e500":[],"0a59d6749afac9ed23a9a21caf8ddd05":["Input","InputGroupText","Stack","TextInput"],"0b5131978671d5a8414a8e3bf19535e0":["AppShellMobileContext","MobileNav","MobileNavToggle","SideNav"],"0b98da519c3a9dcc9e955547d020b868":["Badge","List"],"0bbfd4d7e1768cc94fe26e7c5ea88b11":["Card","ScrollableArea"],"0c2638091a484722a030e95300cea96f":["FileInput"],"0c5dd15d1287aa20bdbdf270f19129ff":["Stack","TimeInput"],"0c5f4f58000946370a850570b7b9340a":["ChatComposer","ChatComposerDrawer","ChatComposerInput","DropdownMenu","ProgressBar","Stack","Token"],"0ca8d94b58aceff6e93a580f87081b4c":["MultiSelector"],"0d97d1e3e35c5a186721e64ca35cf036":["Button","Stack"],"0d9865b5e60019c11344c9f683b00cc1":["Thumbnail"],"0dcb2691095512f161e2104f4490ba86":["AspectRatio","Card","Center","Divider","DropdownMenu","DropdownMenuCheckbox","DropdownMenuDivider","DropdownMenuRadio","DropdownMenuSubMenu","Fragment","IconButton","Item","Layout","List","NumberInput","Popover","ResizeHandle","Section","SegmentedControl","Selector","Slider","TextArea","TextInput","Thumbnail","Toolbar","TreeList"],"0e2b0cade9866d334f422932824d932e":["Bar","BarChart","Card","CartesianGrid","Cell","Divider","Grid","Layout","Line","LineChart","ResponsiveContainer","SegmentedControl","Selector","Table","Token","Tooltip","XAxis","YAxis"],"0e4e27358e5bb386a62220016f0d840b":["Card","Collapsible","Stack"],"0ea77f1ccb2d8840dc1f4acd760691d2":["Code"],"0f4527a2b373b2429b1778253f683570":["Popover"],"0f4e43d213bb3673d62546da13c3ad77":["ChatComposer","Stack"],"0f5235ec37a1549c4bf9411e8bd6d175":["CheckboxList"],"0f61d1b38ae50ff5f0194c1652dc22e4":["Area","AreaChart","AspectRatio","Badge","Bar","BarChart","Card","CartesianGrid","Divider","Grid","Layout","Line","LineChart","ProgressBar","ResponsiveContainer","Selector","Table","Tooltip","XAxis","YAxis"],"0f67e5e3c1643ac973c26033908260bf":["Slider"],"0fa234108556d4f195967e4e62132964":["Collapsible","Stack"],"0fe987c8f65ada58ef00ad1921cfe5da":["AspectRatio","Banner","Card","Center","CheckboxInput","CheckboxList","DateInput","Divider","Field","FieldStatus","FileInput","FormLayout","Layout","List","MetadataList","MultiSelector","NumberInput","ProgressBar","RadioList","SegmentedControl","Selector","StatusDot","Step","Stepper","Switch","TextArea","TextInput"],"10c497573f2704e1bd99cc2ef19f6e00":["Avatar","Badge","Banner","Card","Center","CodeBlock","Dialog","Divider","IconButton","Layout","Outline","Section","Selector","Tab","TabList","Table","Token","Tooltip"],"117d2cc3063c5cf8c44b382bc0aa077a":["Card"],"1226d27407fb6610444dbd6fbc5a6fa9":["Stack","Thumbnail"],"12749d053412ae3f256e44febdf20c5c":["CheckboxInput","Divider","Grid","Layout","List","Tab","TabList","TextInput","Typeahead"],"12c73e554c232833e3d5377590b17308":["Avatar","Stack"],"12cb7c4b3b682356d2b852a83f769f2e":["Card","List","TextInput"],"130e024e111f455c3146f0b95306bc37":["Breadcrumb","Breadcrumbs","Stack"],"13c3473b3be090545257ed9999cc982f":["Card","Layout"],"13e09aac0279520529d0f8d5cb523dc0":[],"13f6a26a336567b9e93dd9f733860ac4":["Banner"],"14bb90e74f13cba30e8cef14baf7c0df":["Badge","TreeList"],"14dd8c7faa494253e85b66daf6b1edc7":["CommandPalette","CommandPaletteList"],"157d7c61770a45c3c7fbb8037d0cd180":["MetadataList","Token"],"15b35b8c685df8cf8080ad8cac18bb30":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","ClickableCard","Timestamp"],"15d3d9edb86b9a95c2fb45659f89706f":["ClickableCard","Stack"],"1604539dbb27d937b41b466559a82460":["CommandPalette"],"160f64603036f13f783e6206a655452b":["Stack","TextInput"],"16401e86459aa21679cfd08c93db0ee7":["Kbd"],"1640d4a155f6b261eb2bb5020928f81b":["DropdownMenu"],"16743aa58b55abbf74b8b00fedc40b8d":["Table"],"16b006fe4ff25c5034caa2013a03c428":["Stack","ToggleButton"],"177d850d1946c3ebae2eaf465a4375d0":["Badge","Banner","Card","Step","Stepper","TextInput"],"17c2df537d3465364bc38629eb2c51b4":["ClickableCard","Stack"],"1805d2e53d88f452ba8ae5d77a492a6a":["InternationalizationProvider","Pagination","SegmentedControl"],"1840ebd44024096fdbf49f0196a6269d":["Calendar","Stack"],"1874f88d5eb54b0640aa0458bcd5181e":["Spinner"],"19b70517dd06e6fb27c5a3604e6a691a":["CommandPalette"],"19ca1e6fd244362650b24721937de7eb":["InternationalizationProvider","SegmentedControl","Selector","Stack"],"19d884470b9370749599ff0faeac34c9":["CodeBlock","SyntaxTheme"],"1a0118062c90b88d910f246feebcf130":["CommandPalette","CommandPaletteInput","Kbd"],"1a013b96764c9c63f63a4ede514f49b1":["Card","Item","Stack"],"1a45a07c9e6bb0470778aeac5c92c555":["ChatLayoutScrollButton","Stack"],"1ab4041cb5affe9c7c419958082a222d":["Card","Dialog","Layout"],"1ab942ae94926d07261718a85bd304a5":["Card","Grid","ScrollableArea"],"1ad4c6d077a7a7cdc7dbd1d44c5d5c39":["Drawer","Layout"],"1aeef3d463d551f86bcd7578b279f798":["Card","Grid","ScrollableArea"],"1b0f5dcaf1c33bb385eee6749fa84071":["MobileNav","SideNav"],"1b28ee2516d60aab1bebc14ce532ba7d":["Badge","ChatComposer","ChatComposerDrawer","List","Stack"],"1b6b8e0f481610570b051f099eb61188":["Stack","Timer"],"1b75f5f143ff617ee8b182f2e9ecb8a6":["CodeBlock"],"1b83b843604ec9b8e001e2dac7f5db0e":["PowerSearch"],"1d77461e901a867a1a0f3dad2a05f7ad":["ChatComposer","ChatComposerDrawer","Stack","Token"],"1db1cb426405c539bd128d1d087a0c46":["Switch"],"1df1c5da46f9954a10454a8fed66b478":["Center","Typeahead"],"1df921e12bad20bc505778eecfbb963c":["CommandPalette"],"1e3bc19a34b26c528c76c0c63a04f0e1":["Banner","List","Stack"],"1e898f61c0c38bfbe95429df31704c47":["Avatar","Stack"],"1f829cc94f0bab02e28ca8c5577b3c3a":["Card","Dialog","Kbd","Layout","Switch","TextInput"],"1fd4e109bd09fe7f53a99f3348257023":["Stack","Thumbnail"],"1fe37b3825c35d4e69ca51dead0c413d":["Banner","Stack"],"2035db559b28850cd30d636530dc6c04":[],"204b34100ff5bbd127c15b50ea41e4c4":["SideNav"],"20a8803aefb90a5ff4bf95c287273ba4":["InfoTip"],"20c48defff841b2c29f3e1212fbe46b8":["ContextMenu"],"20ed6ece79ae920d47a3c54b6fb9d862":["Avatar","Badge","Bar","BarChart","Card","CartesianGrid","Cell","EmptyState","Grid","HoverCard","Layout","Line","LineChart","List","Pie","PieChart","ProgressBar","ReferenceLine","ResponsiveContainer","Section","SegmentedControl","Table","Timestamp","Tooltip","XAxis","YAxis"],"20f941fa565aa31adf40eed41c39f1c8":["Outline"],"2151c718f6ec73e387bd91afccd2863c":["Card","Collapsible","Stack"],"2212c2e087c0f0e93af88f711a68e2b6":["SideNav"],"2213587dc9551e162598e94030ff34a4":["List"],"2280084e0d708587a46503623f2064ff":["BottomSheet","Dialog","Layout","TextArea","TextInput"],"22a87556e1721150107395bc9b289d6c":[],"22bb27ec5d0b689fa7ffa0a3ced4ad07":["Stack"],"22c17669a86d1b2b5cea73bca8ac2354":["ContextMenu"],"22d1c410802fb0cfd3e93c8a499d75c8":["Tab","TabList"],"23964f4edd6ece0e9b4f9d7bc4891392":["ChatComposer","ChatComposerInput","ChatDictationButton","Stack"],"23a0d0dde681dd5130cb21d7400c76dc":["Switch"],"23d63ef9dce59592ce0aae9b5cd8a4cc":["CodeBlock","SyntaxTheme"],"24240b9d4db733fb51d8623ab6e842aa":["TextArea"],"24dafe94c43ba0f438e48792b71e9cf3":["Card","Grid","Layout","ResizeHandle"],"2625a11719c758e760267ab6342c85e5":["ChatComposer","ChatComposerDrawer","ChatComposerInput","ChatDictationButton","ClickableCard","DropdownMenu","Grid","Layout","ToggleButton","Token","Typeahead"],"263ef81d0081e2ed54a92e0639f0ddec":["Selector"],"266ae6ea701a99d75bf5776bb177a5cc":["Card","Center"],"268c5d7c244b4345aae96af34acb9c0e":["ComplexSelector"],"26d0ddd18df729310c691f7146bc13c9":["Divider","Popover","Switch"],"27a262f9eb1942f97fd88fb89735ff8b":["CodeBlock","SyntaxTheme"],"2842d9fc4df72a4f4776171aa4b4defa":["CommandPalette"],"2966abfdd8ffc649183502cefb97f4bd":["Banner","Card","Center","CheckboxInput","Divider","Grid","RadioList","Section","Selector","TextArea","TextInput","Token"],"296d76352fc708c6500d008e10ae632b":["TopNav"],"29904bbd8225b1ab3240cf0c5fb7ff5a":["DateInput","Stack"],"2a45530081889a3cfce633e0af137a2b":["BaseTypeahead","RadioList"],"2a63a3445dd27342b0d63b6296029912":["Button"],"2a8ebbc3737c891cf107d1db387b3b27":["CodeBlock"],"2b10d3b03a4cd3329cd409f307b3d045":["Avatar","Badge","List"],"2b4f102247a9163fa06a4ab99532c2f2":["ChatComposer","DropdownMenu","Stack"],"2b83bbd878b7f81625819e50b20e0509":["CheckBadgeIcon","ExclamationCircleIcon","NoSymbolIcon"],"2c2ce9d1779c000c9bde0dd7ae6e8f2e":["Card","Center","Layout"],"2c3547b08f9b5e1cbe568df65952bcac":["Stack","Tokenizer"],"2c566e78d339e83f58f6be09841ee6bf":["CheckboxInput","Popover","Table"],"2c7a874fa2e9c0e138c6564e958c47d0":["Selector","SelectorOption"],"2d95859b7740df693b333c20f2fe2570":["Area","AreaChart","Avatar","Card","CartesianGrid","Divider","Grid","Layout","Line","LineChart","ProgressBar","ResponsiveContainer","SegmentedControl","Timestamp","Tooltip","TrendTooltip","XAxis","YAxis"],"2e14bd4c8827967134a193e3fdffe964":["AspectRatio","Card","Grid","Layout"],"2e252226bfba77d377d9ac54a389e5e1":["Card","Skeleton"],"2ed63f6a0b9406092e32f6722ac1fe88":["AspectRatio","Badge","Center","Collapsible","Divider","Grid","Layout","NumberInput","SegmentedControl","SelectableCard"],"2f9af23df57eac137fb67fd55de00739":["Badge","List"],"2fc28af47b5fd18d091f94b5bbc3d59a":[],"2ffe5e87e4a15b9e94e459f2c1bf26e6":["Table"],"301746cf7687dd8ebe544e46bdcb9eff":["Card","Center","Layout","List"],"3073785839474d210baa8caf436790d1":["NumberInput"],"309a6adb7701cece7a4e0b8c80903c24":["Card","Center","Dialog","Divider","EmptyState","Layout","List","Section","SegmentedControl","Selector","Spinner","Tab","TabList","Table","TextArea","TextInput","Toolbar"],"31122dc2008eae1bbe6c31d5cfe134a4":["LinkProvider"],"3142a9c6a5e396d3a39920ea162eb148":["Stack","Timestamp"],"31b643736a70095680a6075b2cde605e":["ContextMenu"],"31ff1c45d9beaee32ff7575d4500873b":["NumberInput"],"32bda075e94ddf4b7ef6029a687d408c":["List"],"330663cd75936f769cb00afc1f564e7b":["NavIcon"],"332f2c0e54159862e6ba158be3bb71b5":["HoverCard"],"3379a0315c937007d9fb39de1f281d88":["Tab","TabList"],"33a1929c812a5e9ceb1cf88c83ce4c97":["Divider","Popover"],"33f5ad1fcfb7261612723ee8ab9d2d0a":["EmptyState"],"345d0a5755d3f58213f55f73651484ba":["ChatComposer","Stack"],"34b550775920819c8531094b427c85f2":["Badge","Card","Grid","Section","Stack"],"34cc6a9e99cddb7467829b672c02f0e8":["MultiSelector"],"351a55fcd9e82059da835e76b339d0b9":["Center","Markdown"],"354e40d5166d4c444ec2f341b2702638":["ChatSendButton","Stack"],"359c087e90bb3a36d4588214f1fdbd78":["Card","TextInput"],"35a6399874879ecd43007807c5e8b14b":["Avatar","ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","ChatSystemMessage","CodeBlock","Markdown","Timestamp","Token"],"35d2e9a1e09b97b8181992594d74ff77":["Banner","Stack"],"35fc2b03c84a3c7cf386ddb770d74beb":["Blockquote"],"362201fc8382e1fc997e66c82a9f67aa":["Dialog","Layout"],"364aa46f7230fe8b3c2beebf1c8de363":["Card","Switch","TextInput"],"3670e13d1b4befa5f176cf0dbb0b970b":["RadioList"],"368f5b4a9edc02fe80ccd8fc980aab9e":["CheckboxList"],"36d5cb90a2d8fb18aa83ed39eb2365df":["Card","Section","Stack"],"376b59ec9daa4ba585bee723a7e35ee9":["ChatSendButton","Stack"],"37eb0ac9cde5d81349b8ba2dc8bc9e62":["Timestamp"],"3837077a9bd12b20f59ac0caa237518c":["Pagination","Stack"],"3897c79cd4f636186d59880cf27652bb":["Drawer","Layout"],"38b31bc120a32e60ab1efc6714e4ff45":["DateRangeInput","Stack"],"38b91ac8b2aa1da5bb703c0d9afeb7b8":["ChatComposer","ChatLayout","ChatMessage","ChatMessageBubble","ChatMessageList","ChatSystemMessage","Markdown"],"3903dfc74ef827740ce2778faea0ae3d":["Stack","TimeInput"],"390cd4bd635a2249426c84c77690221c":["MetadataList"],"393bdecf6bbd301c716e9361a831fbae":["Spinner"],"39b567272bec277f09f6893d5226d234":["Center","Typeahead"],"3b46bb5fd3f452063418b548918c561d":["Badge","Stack"],"3b8b956bb90c139cb47a28cd96adf62b":["Stack","Timestamp"],"3bfd3bf591e1f0ffd29b4022a64f4978":["BookOpenIcon","CodeBracketIcon","MagnifyingGlassIcon","RocketLaunchIcon","ShieldCheckIcon","TopNav","TopNavMegaMenu","TopNavMegaMenuFeaturedCard"],"3c777bea0f1680345aaa7b0fdfbb576d":["Table"],"3ca59d251a4f5177b4f10cfaf533c0ca":["Input","Selector","SelectorOption","Stack"],"3d041fbfe8a2c93dd37f191385acb2d3":["Card","Layout","ProgressBar","Rectangle","Scatter","ScatterChart","Selector","Switch","Table","Tooltip","VisuallyHidden","XAxis","YAxis","ZAxis"],"3d85199838dcabcd40d3924ce36666c8":["ChatComposer","ChatComposerInput","Stack"],"3d91560e5ab5c2589c128eecb92e5dea":["DateRangeInput","Stack"],"3da553d745307bf252b15927692c2dfe":["MultiSelector"],"3dba46c5e2009ebeebb3699fe0e04d19":["EmptyState"],"3de63b5124d2a6702476bd60812a15ea":["PowerSearch","Table"],"3e96893e02aac4a5e1643eef16102fdb":["Avatar","Badge","Item","Stack"],"3eb0b499410ece7743f8fbe01d9463db":["Avatar","AvatarGroupOverflow","Stack"],"3efdc37df1ea1dbdf0c1382bc8539155":["Center","Markdown"],"3f4cec38165b87bf7f1c1a9b245d8d7e":["Stack","TimeInput"],"3f85330e601334810b5f066851ee25d4":["ChatToolCalls","Stack"],"4023e98d329c30a0088b4fb876242a61":["InfoTip"],"4031da2f385caa649f1793018fa9c127":["Breadcrumb","Breadcrumbs"],"4171b74bf9ff8d2d1c6a61e3ac1f30e7":["Card"],"425819c2f973a7d463422131591afed7":["ContextMenu"],"4268cd8958300efb519b47e29f83bc4e":["NumberInput"],"429bf36176182591ef388e4f5dc621eb":["Stack","TextInput"],"432baee21667a9b7b7ab2d855d98c586":["Stack","Token"],"43aad65c32ab14677d8a661c5b5035fe":["Calendar","Stack"],"44b2d99c52dd8f70bcd56a6ee810662c":["SelectableCard","Stack"],"458763f0fb3ce6fac448df1695cb60d5":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","Timestamp"],"45942531365e08adc59462ad208f5f68":["Avatar","HoverCard","Stack"],"45baab104c60555e0cd1d3a139780e5f":["Card","Center","Divider","EmptyState","Grid","Section","TextInput"],"45fd55f72698bac6bd55d85123068969":["Card","Section","Stack"],"46e0457506d6b4694af1a0f8d2e1d137":["DateInput","Stack"],"477da931984b515fb630297d9d20c74d":["Step","Stepper"],"479b60449eedc4870b13eb8c29225930":["InternationalizationProvider","Selector"],"47a15dbefdfc7c9116413c77034fa27e":["Table"],"47c6deefc6fbe3d2b5b781897d182795":[],"4841c1f0b97d24cb33dce4b30463819f":["Step","Stepper"],"48712da9d384b5be3e441273a4c452eb":["SegmentedControl"],"48750d0069a97b918936a17687ae7f59":["ChatMessage","ChatMessageBubble","ChatMessageList"],"48a8a58ad54933c1b6f29354a0bc040c":["MoreMenu"],"48d4a93a3e05197a2df6d0f63c7eb8ad":["MoreMenu"],"48db1a7ad3074f78751e6d6ec7d2c07c":["Badge","CheckboxList"],"491e4da113436ebad28dce4916d54eb8":["Card","VisuallyHidden"],"497d48210149e65c92929b55e97383be":["Area","AreaChart","Avatar","Badge","Card","CartesianGrid","Divider","DropdownMenu","Grid","GridSpan","Layout","Line","LineChart","List","ResponsiveContainer","Table","Tooltip","XAxis","YAxis"],"49b877440a20c121e54fb6e24a753ec9":["Card"],"49bfa2c11db97e713e946df6dcb9cfec":["Tooltip"],"49cd9b02ac84cc80b3582ee1ab966324":["Badge","Drawer","Layout"],"4aa1beb7d5aa4a43d27b2c32d21f8d29":["Citation","Stack"],"4b243b348807b482faff7c1d5c711fc6":["Calendar"],"4b4eace0b7f9d800ade6a6c5a0db4b79":["Center","Switch"],"4bfa579960a9233562c8d0aa034675ba":["Card","Grid","GridSpan"],"4c03e5f905289e1a50399d4cc9f899cc":["Card","Center","OverflowList"],"4c7a0719416ef78107e1e0fefa5edfd6":["Stack","Token"],"4cc396fddf46e0ed1b8c87cbd1854379":["Step","Stepper"],"4d39dc01209561c00a86c9ed0edae624":["Blockquote","Stack"],"4d5ac344f6d55bed59002f8101f8d3e6":["ProgressBar"],"4da4a0a3344bb34bbbec763c816984ea":["Badge","Card","CartesianGrid","Divider","EmptyState","Fragment","Grid","Layout","Line","LineChart","List","ResponsiveContainer","SegmentedControl","Selector","StatusDot","Timestamp","Token","Tooltip","XAxis","YAxis"],"4db39e1eed28dee94ba27b18e651b728":["DropdownMenu"],"4dc9817ed9692a06c00b2dc465c5fb98":["AspectRatio","Layout","Section"],"4dcfea3425e172dee2f3d0c3e5e1d772":["Banner","Divider","EmptyState","HoverCard","Layout","MetadataList","SegmentedControl","Table","TextInput"],"4dde3a93760f356cdc0ca51d78310938":["CommandPalette"],"4e4c131445b8aef99a60319c5b133b0f":["AppShellMobileContext","MobileNav","MobileNavToggle","SideNav"],"4e4d11760e738348344229a7889f7ff6":["CodeBlock"],"4e735d813c0b0045d3e5afad502e016a":["Avatar","Badge","Card","Collapsible","Dialog","Divider","Layout","List","MetadataList","ProgressBar","Section","Tab","TabList","TabMenu","Thumbnail"],"4f41120808427e949fe124da6c425d0e":["CheckboxList","FormLayout","Selector","TextInput"],"50358c8f630e0305e625fda170a1c5a3":["NavIcon","TopNav"],"503a2436638f8d7139b8daca410f0c82":["Tab","TabList","TabMenu"],"507b1be326ddc8d3c3a44663629e34b1":["Drawer","Layout","TextInput"],"50eeb98e155fc5bea2d5056f169bbb1d":["Toast"],"51e2f638f67df60e5c9d63dea520e6b2":["Table","TableSelectionToolbar"],"523948b0819d344b4ffb53a31dbd1d38":["Stack","Thumbnail"],"5252b2d7c24bc421d0bc03cd42b33fd6":["AppShell","CubeIcon","NavIcon","SideNav","TopNav"],"52564b531f8e716018a8443d9fd16f0c":["Selector"],"5356ad556912744233aac67c63f50c87":[],"53b48c6b07267d3cc1e47059b02128c6":["Card","Stack"],"53b64146d5170ee2295ea35b3328ed31":["Stack","Timestamp"],"53f2eb78f85bb8b951d7ef38624d6c8a":["Avatar","AvatarStatusDot"],"548501335993a43e47634a8f65bc1c24":["Outline"],"54877c92b0174189285a1bad98082b39":["Center","Typeahead"],"54d4f7c8583c31183867b4e4b3a2c516":["Card","Section","Selector","Stack"],"54f91a7d63b83d5d78dd4064c9c45827":["Avatar","Badge","Item","Stack"],"55844f3aa3cbff9da8797b6401ea24c6":["Card","Collapsible","Stack"],"558c0c689efda0293e1ba78daedb60c2":["EmptyState"],"55e73175cd5bc2ca7ab20e7da376b0ff":["Collapsible","Section","Stack"],"569b2b7d0a02935746a4d63c56e71562":["Badge","Tab","TabList"],"57434a6e541db1c6ad7d9248e2531751":["Card","Center","IconButton","Stack"],"5996565fb51449f00b688d61c8e0657c":["Center","Typeahead"],"599b4bd897da92e144909f0f3c277400":["Avatar","Card","ChatComposer","ChatComposerInput","ChatLayout","ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","ChatSystemMessage","ChatTokenizedText","ChatToolCalls","ClickableCard","CodeBlock","Dialog","DropdownMenu","Layout","Markdown","MoreMenu","ResizeHandle","Section","Timestamp","Token","Toolbar"],"5a6c946b77a55ecead1315de824259dd":["TreeList"],"5aa303fdfb548b029b49520fa90c131e":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatTokenizedText"],"5b11b753d140bae6e3046d433ecbcfef":["PowerSearch"],"5b91e6a02b25c32fa27f9fbf0b5898a0":["NavIcon","TopNav"],"5c5a06d0c334a2cc7c83627033f63156":["Avatar","HoverCard"],"5ca5b2e4fb7fb9931378fa972de3dff7":["Avatar","Badge","Center","Dialog","Divider","DropdownMenu","Layout","MetadataList","Popover","PowerSearch","RadioList","ResizeHandle","Selector","StatusDot","Table","TextInput"],"5d59ce11c658163c0e9d66d7ae741258":["Slider"],"5da1f16057a556953a310a46c329c157":["TopNavMegaMenuFeaturedCard"],"5e1860075aa092b732888130c1b68562":["AspectRatio","Avatar","Badge","Bookmark","BottomSheet","ComplexSelector","Dialog","Divider","EmptyState","IconButton","Item","Layout","List","MetadataList","MultiSelector","OverflowList","Popover","PowerSearch","ProgressBar","RadioList","ResizeHandle","Section","Selector","Skeleton","Slider","SlidersHorizontal","StatusDot","Tab","TabList","Table","TextInput","ToggleButton","Token","VisuallyHidden"],"5e2984e9849991eb58a5d395d8926224":["MultiSelector"],"5e375ebc3af96804bf4e810a46cf8dc4":["CheckboxInput","Stack"],"5e6616edfbb16a07eb3805e9bea3a289":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatTokenizedText"],"5f29411cda8844e072257c8687a4657d":["Breadcrumb","Breadcrumbs"],"5f2aeaeda761dc1187c05daff81a7bfa":["RadioList"],"5f4d8e83c0d6826ca9522e1644e7d8bf":["InputClearButton"],"5f6bf87ed003bb9b94a160a86a87c912":["Tokenizer"],"5fa1a620a62099eeb474d0441381a5de":["Breadcrumb","Breadcrumbs"],"60085aed864159ffa715b2802241237e":[],"603251096485e5505dab107cbb3065c3":["ChatMessageList","ChatSystemMessage"],"6082a0bc24828775bbf5e3e515ee2929":["DropdownMenu"],"609948a1a1337b92861a54cb3cf68ba9":["DateInput","Stack"],"609c5cbc7a5d02f166dafa1deb5dde15":["Drawer","Layout"],"60b13547b3d2e0dac84888a49dea7b37":["Banner","Card","CheckboxList","FieldStatus","FormLayout","Layout","MetadataList","RadioList","Selector","Spinner","Step","Stepper","Switch","VisuallyHidden"],"619bfbe5882a424c8787a18c7edf2d47":["Card","Table"],"61acfde1859cae9dffdd1668437cc280":["Tab","TabList"],"61c840ae22a96e5547746afe88407952":["RadioList"],"620a9f907bf2f3314a2a7ca71c409bc2":["SegmentedControl"],"63fa8f7dc43d1d6874fdd8593a282c28":["Citation","Stack"],"64daf50012420afc539978e2a1fee03f":["Card","Layout","List"],"64ddb2cd2f5e815f44effcfd66464d53":["Badge","MoreMenu","SideNav"],"6582173b0410edb347c1b01348a4c119":["Center","TextInput"],"661bf1e413f09086c9a572fb57dcf71c":["Stack","Thumbnail"],"662562e3b0a3b0b10101eb2ae4cea59f":["MoreMenu"],"6666895c8eedc9396baffc142ed3a229":["Card","Grid","ScrollableArea"],"6686d989af4b98273baec182b2da4daf":["Selector","SelectorOption"],"672ec6a4fcb8753f37b7f3f2e165e550":["AppShell","AspectRatio","Badge","Banner","Card","Center","ChatComposer","ChatMessage","ChatMessageBubble","ChatMessageList","ChatSystemMessage","CheckboxInput","Dialog","Divider","Grid","Item","Layout","LayoutGrid","List","MoreMenu","NumberInput","RadioList","ScrollableArea","Section","SelectableCard","Selector","Table","TextInput","TopNav"],"6764a51bccf994b48766564aaa2b0cd8":["Card","InternationalizationProvider","List","SegmentedControl"],"67833d6cb9616d6457e92286ea7bacf3":["Card","Center"],"67f9c69ebd6a4349d7e327608ead2bd5":["MultiSelector"],"6817facd9701189c09d513a3dfc65397":["Card","InternationalizationProvider","List","SegmentedControl"],"685c7fd9ac4127fadceb8ebf8bc058fb":["AspectRatio","MediaTheme","Switch"],"68aab3c12308168cf7a4fe07dcd07809":["Card","Kbd","List"],"69108cd8dac42102dae69f62edd5553f":["ChartBarIcon","Cog6ToothIcon","MagnifyingGlassIcon","TopNav","TopNavMenu","UsersIcon"],"6910d6cfb2b3bbb5f80acc6464f9fb21":["Markdown","Outline","ScrollableArea"],"69e4fbf8d0839dc382c495b4ec618a1f":["Section","Table"],"6a0c2308911c854de00de21c69f7df00":["Avatar","AvatarGroupOverflow","Stack"],"6a36fb2494feb6e558753c5c64e2bc19":["MoreMenu"],"6a51c7a84226ac317f8685e754a8ac38":["Step","Stepper"],"6a584768ff0e3ab3827fbbb9969d5939":["BellIcon","NavIcon","TopNav","UserCircleIcon"],"6aacaa8f243a6daaa4d34b639bb9fb95":["Card"],"6abdda624b6c8f0286944424ce486d98":["MultiSelector","Table","Toolbar"],"6ac5efa62359b9c6353bfe1054d9a469":["Table"],"6ad875324fe674fa8653391b8a25ffd1":["Carousel","ChatComposer","ChatComposerDrawer","Stack","Thumbnail","Token"],"6b9d497b3b3b9f381ca79a4edf4cdb27":["CheckboxInput","Divider","Stack"],"6bb54c048edbe8696cc831a6d7e08d21":["Avatar","Badge","BottomSheet","Collapsible","EmptyState","IconButton","Layout","OverflowList","ResizeHandle","Section","Tab","TabList","Table","TextArea","TextInput","Thumbnail","Token","Tokenizer","Toolbar","VisuallyHidden"],"6c040e5c0b5fadfdd533685091c4dad3":["Layout"],"6c523abc86566a90d29e57d5579aed69":["BoltIcon","ChartBarIcon","CodeBracketIcon","NavIcon","ShieldCheckIcon","TopNav","TopNavMenu","UserCircleIcon"],"6cbda0db677ffa98a093491577aaac8e":["Avatar","AvatarGroupOverflow","Stack"],"6cf0fef9f852396fa770819c877e3bfb":["Card","VisuallyHidden"],"6d0578e172e8c5ab8c7fa568706447c9":["Card"],"6d1f6483e9e4dc8fbb3b26c61f4150ac":["Stack","TextInput"],"6ddd91012e6aa1d033dad480f256ef62":["Card","CodeBlock","Divider","DropdownMenu","Layout","List","Outline","Selector"],"6e1a020ce2d7e82f866cca605e1d652d":["Stack","Tokenizer"],"6ea10f743c6e9f9a8575c8a9ce0e0091":["BottomSheet","Divider","TextArea","TextInput"],"6eb7c0cff37477e2932df49452a58e0c":["ChatComposer","Stack"],"6f09191366420112b691ad1b076d63b4":["ToggleButton"],"6fc45f180db29cc992c01abcd37ea4d1":["BottomSheet","Divider","Item"],"71134c0814bc98af99ee0c89cbd11bba":["Stack","TextInput"],"71333bae949d371b7e11e177c1fbcbeb":["Table"],"71c59fb08f75402efb2927b0c2af2841":["AspectRatio","Divider","Grid","Layout"],"7211a349f8aa8d71ab788f42d997a3ae":["Table"],"721d23b08eb089704a905beaa6b8775f":["Pagination","Stack","Table"],"72aced8d8653284804e85e3260e8c522":["CommandPalette","Kbd"],"72b70fa1dd09888d86eae09ac30eec85":["BottomSheet","CheckboxList","Divider","Section"],"72c38773ea4c955717ef45923261b2a7":["Stack","Tokenizer"],"72fc886261d498700bb6db81c3df6276":["Badge","Banner","Card","CheckboxInput","Collapsible","Divider","FieldStatus","FormLayout","Layout","NumberInput","RadioList","Selector","Stack","Step","Stepper","TextArea","TextInput","Thumbnail"],"7328264b06cd9fd56488c23828e3861b":["Card","Center"],"732b3d1691c3afa1ed11f602104a00e1":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatTokenizedText"],"7399aef9d8c0bbaad43b43e738a426b4":["AspectRatio"],"73ad42875c7e48d04d75a8618a1f68c6":["Avatar","AvatarStatusDot","Stack"],"73d9e034abe2e54d77ff247609f3d94e":["Layout"],"7405b615f76aa280f4d46e7f07cc00f7":["Toast"],"7418a3f2f2b574242624530a558bacce":["Stack","Token"],"74a00d7097432ebf5ca6d135727eab41":["AspectRatio","MediaTheme","Section","Stack"],"75aeb3e146ccd3c1b077a28a61ee9b90":["Center","Markdown"],"75bc2615d9beacf5c7d7de45ede8ca27":["BottomSheet","Divider"],"75d151e1f2700ada9630cd507c6ab491":[],"763abb57c60fabd042b2043a022c1c6e":["ChatComposer","ChatComposerInput","ChatDictationButton"],"77ad05a1332e223efc352beafb40fc2c":["BoltIcon","CircleStackIcon","Grid","TopNavMegaMenu"],"78098e34882993a4f428d9c44ddff073":["Table"],"78917d71bed627c2673d5b368700fdc7":["Outline"],"78934c0acf0e551c11a3d87d97864faf":["AspectRatio","Overlay"],"79799e5ee51a61e396fdd8a4e64ee608":["Card","Stack"],"7a18226fef9a5c3e6480fa4f31b23bbe":["DateTimeInput","Stack"],"7a48aa51da6ad811a34c9f10794ef834":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","Timestamp"],"7a8717415ad63497e83ebaeac6539fd9":[],"7ac765ec6bf4d8d01cf08a74a77bb19e":["Center","Markdown"],"7b1e5516209af8dfb04ce67314b02809":["ChatComposer","Stack"],"7b851f8009bb912584dcaa1f8a13d4e7":["Badge","Layout","List","Section"],"7c0c2c5ac473ca9b71257275b068af40":["AspectRatio","Center"],"7c3fcb02bee98d7a4b3b34d65eb3feb2":["ChatComposer","ChatDictationButton","Stack"],"7c615a2e3c29beb396dd268a0eb0df33":["Stack","ToggleButton"],"7c78b6ce366f0fdf3ef7044a531233ad":["AspectRatio","Card","Center","Dialog","Divider","Grid","IconButton","Kbd","Layout","List","SegmentedControl","SelectableCard","Selector","SideNav","Stack","Switch","TextInput","Token","Tooltip"],"7c79a02ae62f2b755f65176eaf900748":["Table","TableBody","TableCell","TableHeaderCell","TableRow","Tooltip"],"7ca4fa301319f6e2c1ac06d6843736b3":["TextInput"],"7cb77690d5b7dbdd147d7e2abe79b254":["Badge","Stack","Table","Toolbar"],"7cecb29f1726993baf80a69c967449e5":["Table"],"7d0749bd74c62644817c08dd5722504c":["Input","InputGroupText","TextInput"],"7d98206f06b08ce11397aebf9f01f0d4":["Card"],"7e0876554c5b484e9bc94294075b0d46":["Stack","Timestamp"],"7e33b6052e9041993e9236d84923f396":["Badge","Banner","Card","CheckboxInput","CheckboxList","Divider","Field","FormLayout","Grid","Layout","MetadataList","NumberInput","RadioList","SelectableCard","Selector","Step","Stepper","Switch","TextArea","TextInput"],"7f3ebdc46e674390c48dd549497d26db":["DateRangeInput","Stack"],"7f66bcb365806c3b102f98ae79a4c5a9":["Selector"],"7f7e9c894b8856494d6eff2d63a53dcf":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","Timestamp"],"7f9072de4f69329ccf249b0c62e754b8":["AspectRatio","Avatar","Badge","Card","CheckboxList","ClickableCard","Dialog","Divider","IconButton","Layout","List","MetadataList","MoreMenu","ProgressBar","Section","Selector","StatusDot","TextArea","Timestamp","Token","Tokenizer"],"7faf3cb935f67caa956d46326b587451":["Card","Center","Layout"],"7fbcd930adc7eb95e675860990acd328":["Banner","Stack"],"7fbe4113fd410ea80f1dd5a0320ac5fa":["VisuallyHidden"],"7fd976410cb76ec54059bcf93803f338":["ChatComposer","ChatComposerDrawer","Stack","Token"],"805cf5f0cc272b0be4dbd99ffbb43bef":["Card","Stack"],"80d8c9aa5c4b5284efad3c0184fb746d":["Card","Stack"],"811a67674c661bdc0340fc9482309136":["AspectRatio","Badge","Overlay"],"819d7369ab4c3c6a021ef2597d13435c":["AspectRatio","Grid","Layout"],"81a5991ae98331c7e182cdacbc37cae9":["ChatComposer","ChatComposerDrawer","Stack","Token"],"82e189f15e58c5c439ec0745460d42c6":["AspectRatio","Card"],"8354880301b272793e8462f5f410d5fa":["CodeBlock","Layout","List","MetadataList","ResizeHandle","SegmentedControl","Stack","Tab","TabList","TextInput","TreeList"],"83ad8e201b010475895440a8f82fc17b":["BoltIcon","ChartBarIcon","CodeBracketIcon","GlobeAltIcon","NavIcon","ShieldCheckIcon","TopNav","TopNavMegaMenu","TopNavMegaMenuFeaturedCard"],"83d227b95ed18e417c8c858d9205fdf9":["Card","Item","TextInput"],"83deaff7b9c872597be7c48bb6670ddd":["Lightbox","Thumbnail"],"84b4ed6f2307707a32ce9715a61e0474":["DateInput","Stack"],"851696d52e029cd508681337014c5b62":[],"854ab5c40b7ab5e1649293fa5856209f":["SegmentedControl"],"8550921a8fc7d5feb663105c3fcaf34b":["Card","Carousel","Stack"],"85a2d785e059d4b5c8578375643655b7":["Center"],"8633f660ca5deea18e11b9ec655a2dfd":["Badge"],"863a25e975bd21c33cfe6f28e3c27706":["AppShell","Card","CommandPalette","Divider","DropdownMenu","Fragment","IconButton","Kbd","Layout","SideNav","Stack","TextInput","TopNav","TreeList"],"86deefc4085e0af3aacb6ff1fb07d159":["Stack","ToggleButton"],"8703add7f53fc2125bb3552a3262cace":["MultiSelector"],"87137bb8dd674c6cf36f3b9784a1758d":["Center","TextInput"],"87211d75407f293d7ef153790dbe0142":["StatusDot"],"876f879716952d146b8bb633f75336c6":["CodeBlock","Stack","SyntaxTheme"],"87fd2ea3896493c004c4a92ff543f3fd":["IconButton"],"881b163f7547cc8d48be76cab976a608":["Card","Center"],"8825bf696eed96ae3aa08ef0225f3c49":["Table"],"8864afdc6e18d930219de222eff33360":["StatusDot"],"889b1b65a3fa8f56903f7182a16e3cf4":["Kbd"],"89459c79ee820978f3a118df96943c7f":["SideNav"],"89470b48e6f6fe7cb4dd4ad6868f194e":["AppShell","CubeIcon","NavIcon","SideNav"],"897a40996fd9851984ff70d24250c53d":["Stack","ToggleButton"],"897de1d88804ad85b5b02eda5c878d2c":["Avatar","IconButton","Layout","List","MetadataList","Section","SegmentedControl","Toolbar"],"8a1e454e07be93c46d370561d480b275":["ChatMessageList","ChatSystemMessage"],"8aca84b9aaddd7e8fa9e6c9ebd8ac473":["Card","Layout"],"8b18f307cbbaf1d5255e12582c1baf97":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","Timestamp"],"8c55cd05152a0f3bd0f0a48c1899c67d":["ChatMessageList","ChatSystemMessage","Stack"],"8ce5e27e4f29084696d3c544c5e78ecd":["Avatar","Badge","Card","Carousel","Stack"],"8d97f770628cdaecc61894f4720373ac":["NavIcon","TopNav"],"8db90b6fde14e28081ba89200e8a3669":[],"8ea6756429f9b9385ed3accebcba2b23":["Toast"],"8ec93be27f0d5cb219d77401b23b16ba":["CommandPalette","CommandPaletteList"],"8f8265aac768bb6b8e5be89c2dbf1f77":["Center","Stack"],"8ff7de64c529660c95d58cd0b8f6d8b7":["Avatar","AvatarGroupOverflow","Stack"],"9016ab4f27fe011cd45bb02558bf5b74":["RadioList"],"9029d5176245c045d07d1df9960cfb4c":["AspectRatio","Center","Grid"],"9044d647a539086e22f55aec580a6f77":["Card","Center","Layout"],"908add9b0038f65648a046ec157fe427":["ChatComposer","ChatComposerDrawer","ProgressBar","Stack","Token"],"9096cd0e00b14509b96cb8ec6278ba86":["Dialog","Layout"],"90bdb87feaa31b0cfb4a8f8522f13c8e":["Tab","TabList"],"9121e0188ee9fdf2d92283f9b27039e7":["DropdownMenu","DropdownMenuSubMenu"],"9186834e947fee0b9f8e4bec1237e976":["Badge","Card","Center","Divider","Layout","List","Selector","Switch","Tab","TabList","TextInput","Toolbar"],"91ccedccb59bf7fc5c65d83886a05343":["BookOpenIcon","RocketLaunchIcon","TopNav","TopNavMegaMenu"],"92b46205df6eb203f492de860395a442":["ProgressBar"],"935b09e0d91e360845382c2151ff5235":["Toast"],"9385ccc2509319690ba72d2021654497":["Skeleton"],"93a33ecb4fd255129521988dc10d322a":["Slider"],"93fd584e9ae35344d8114a7c68428b71":["FormLayout","TextInput"],"944f87cb75476cf07802be768513bb36":["Stack"],"949c9f134471fd539264ebc81a79046d":["Card","Layout","ResizeHandle"],"949f10cca414d146a2a2960393ca4ffb":["Card","VisuallyHidden"],"94f37fe687f4bc7332999e59620e4d2b":["Card","DropdownMenu","OverflowList"],"95344356d567fcc7b6618b0be7733773":["ScrollableArea","Table","TableSelectionToolbar"],"95869f40fa256b60085ffab6453961a7":["AppShell","Banner","CubeIcon","NavIcon","SideNav","TopNav"],"9593699abd65d78ddb37c8451223ca60":["NavIcon","TopNav","UserCircleIcon"],"95971e8f55f3028e4f1e6db4fb41b3fe":["Breadcrumb","Breadcrumbs"],"95c1b9275f63c1cdc02499a334dfc0a7":["FieldLabel"],"962d4c579f9174d1c607a38cb7d94ac9":["Badge","Card","OverflowList"],"963515af756ce67d1238472eadfcec46":["ChatComposer","Stack"],"9654a1134562d60d49d144fa61bade7b":["Blockquote","Card","Grid","GridSpan"],"96c62e2639898bc0ffab4f3de503b868":[],"96d6b899609fcc85437b8414935a8480":["ComplexSelector","TextInput","TreeList"],"96e77628ffa6685549948ff69adea1c1":["Card","Carousel","Stack","Switch"],"96f568012fd6227289d4455f2f74a58e":["AppShell","Badge","Card","Grid","IconButton","NavIcon","Stack","TopNav","TopNavMegaMenu","TopNavMegaMenuFeaturedCard"],"976db705a8faf14006b353cd6029398f":["FormLayout","Selector","TextArea","TextInput"],"97cb37fdb94f9a7f7e22988abdc1850c":["Code"],"98bed14d0110c67e382aaa6c246fa435":["ProgressBar"],"98d77ede0edf84d6c78ffccaf5a20214":["Toast"],"98f19fe3fda65a71941b3323c1086a51":["BaseTypeahead"],"991b74e9a72612145905b10c290958b2":["MobileNav","SideNav"],"9990ad3265dc55bc6018d788f3018e3e":["SideNav"],"99abd7f22ba75e96040b302349d494ca":["Stack","TextArea"],"9a1ccd7586ce25db1dc1df0c82a9df7a":["Card","Popover"],"9a2677755d53c95a71a40bcc4d2fb5b7":["Breadcrumb","Breadcrumbs"],"9a8af600843bbccd8ad1fdb39c3e5c3a":["IconButton"],"9adcf414deba06c4f7521c19f62263cd":["StatusDot"],"9b29adccc72dc7c5217acb8db92841d6":["Avatar","CheckboxInput","Table"],"9b2dd2d37f8094dfd833e98fd7073227":["DateInput","Stack"],"9b2df45b548136f48221c75aed7bd340":["ChatDictationButton","Stack"],"9b2feec680d58f6fc380a724a2486683":["CommandPalette","CommandPaletteList"],"9b7d8d0bee56877c27e1a7a672244150":["CommandPalette"],"9bf3e634617eef5a7fddbd353bfb7212":["Spinner"],"9c5c041e187f6c662ab4e9115c1f42ef":["Stack","Timer"],"9c6f429dd44207a264a49401f18c98ef":["Dialog","Layout"],"9ce65a3d8a6e3f8a232399ac44684afd":["SegmentedControl"],"9d9505005bfbdf8ff196ad87c1c722d2":["Banner","Center","CheckboxList","DateInput","Dialog","Divider","Field","FieldStatus","FormLayout","Layout","MetadataList","MultiSelector","RadioList","SegmentedControl","Selector","Step","Stepper","Switch","TextArea","TextInput","TimeInput"],"9ee788e1f86361a844645493839d7441":["Stack"],"9fc9031179f07fd88e5133eed3016001":["Center","TextInput"],"a0354aa479986de2269f2b9c9bc6cc22":["StatusDot"],"a050c6831f0e51923ccf668e106cbf1d":["Stack"],"a06b0876f5fcba94bbe903c23ae85c6e":["Center","SegmentedControl"],"a096aa6c08b0715515d07dab55e8feca":["DropdownMenu"],"a0a2261f461a742aa3c8e6db7fc51cb2":["Avatar","AvatarStatusDot","Stack"],"a0a61188d7c4b6b3a95ffe2c7cd6d4c3":["Spinner"],"a0b318bd3add98b6744e741c07a4e29a":["Token"],"a15fa2a491b6e991ff7da135e5c096e4":["Card","Center","Layout"],"a17865e56d419be6bd2973a07b50c994":["Card"],"a1b8bad0f5925d46f92fc0e65ee2f291":["SegmentedControl"],"a2073c91af6866dc3a16ba4b141e9e3f":["CommandPalette","CommandPaletteInput","Kbd"],"a22b3419b3337f3a6b0f56a1af06057b":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","Timestamp"],"a2e66ab608d1b33e701a44fb5a619e4f":["ChartBarIcon","Cog6ToothIcon","TopNav","TopNavMenu"],"a30305886ce49f052d9ef404bd18e71a":["ChatSendButton","Stack"],"a37a88997c68d07f34063d49389a55a9":["Stack","ToggleButton"],"a39334ebea2cd39f54e2b5fdd628b349":["ChatComposer","ChatComposerInput","Stack"],"a3a981db04c32d76894976ff0a21f43c":["CodeBlock"],"a3c3095c91e052cb1f94cf090a0329d7":["NavIcon","TopNav","UserCircleIcon"],"a3d1ca8d280c157a19351a197b427fc9":["Collapsible","Stack"],"a44bf709dbc828b38a45e0dcabc8168f":["Avatar","ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","Timestamp"],"a4bed614f8b9c5386e9985060a9961bf":["SideNav"],"a523f5ce5bfa2fb86a7edc563f26f7e3":["SideNav"],"a5359378b7267cdbe003aca85b4b2a8a":["Card","Field","SegmentedControl"],"a605ea9204385432738827258bc63938":["Lightbox"],"a60ca1dd1c391675c18560e11540491d":["Avatar","AvatarStatusDot"],"a61851d2b49e30108788b7a49d80b542":["BottomSheet","Section"],"a641cc38ae166649f016f11d52231038":["Stack","TextArea"],"a77f283478f40380546f26c5b2655b50":["MultiSelector"],"a7a1c3a25c04567275a408759c28d6f1":["Stack","TimeInput"],"a9233eb014494fa5ebe29d64d31daede":["Stack","Token"],"a927fa68be4f45b264697375af041765":["Bar","BarChart","Card","CartesianGrid","Divider","Grid","Layout","Line","LineChart","ProgressBar","ResponsiveContainer","Table","Tooltip","XAxis","YAxis"],"a9567b71ddd275369bc01adaf5dddfd7":["Table"],"a985887fdf4dd4f1a7b99a0072e6fa81":["Avatar","AvatarGroupOverflow","Stack"],"a994ac3a3fbda8e97bb876eda585e30e":["Card","Stack","Toolbar"],"a99cc1a648e96def52fc198e449c37c1":["Badge","Stack"],"aaddf143a877bf2f694ffc6551df9738":["Center","Grid","Layout","Section","Tab","TabList"],"ab647cdca0130b4cf310e4f20665b19f":["Stack"],"ab66d9cafc8facb0b14f40f739a7f916":["Card","Layout","Section"],"ab9fa1cc198b0451b824632e906f0e57":["Badge","Stack"],"abbe788194652dd6a1dedf82c5645fe7":["Badge","Table"],"abde03d629576be4f70593a9cdc00136":["CommandPalette","CommandPaletteList"],"abfadcdcbc0699a424dd686603c8d8eb":["Card","Grid","GridSpan"],"ac08d28cc663c3ec4fd0e81f6e2e85fa":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","Timestamp"],"ac376a86faf0ff7915c66f3a5ee2e417":["Card","Divider","Section"],"ac58ce3a9bb00db16ef0de8708343513":["Card","Switch"],"ac78315316c863d40972727fb6f1338d":["Avatar"],"acaabe52991e750dc67bdc5130a5a483":["TreeList"],"ad07674bcdec86f88ebd084b285fed1f":["ContextMenu"],"addc140553dd7a7ac6aec08b08791f90":["FieldStatus"],"adff4689214d1f6ef49595571fe57c91":["CheckboxList","EmptyState","OverflowList","Popover","Section","Selector","Stack","Table","TextInput","Toolbar"],"ae2cf625604a640e9550ec52d83f5f19":["Grid","SelectableCard"],"ae8666ed13bbdd052809691e048bf2be":["Avatar","Stack"],"aec8aa4d1e06a3a9f7dba141041c85d2":["Section","Stack"],"aeff19ed76f2d04f220bea7f0d5f0efb":["CheckboxInput","Divider","Popover"],"af1c3e15c6d8ba96823e213fcbc8a597":["ChatComposer","ChatComposerInput","Stack","Typeahead"],"b05fc55101080f210a09d58c23e66924":["SideNav"],"b0b64d35e8606180c8a5df847145003b":["Badge","Tab","TabList"],"b0c1585afcdfc2983d07fe04643f94e1":["Card","Section","Toolbar"],"b13707c9e5c645bbc917f0d472a3ad83":["SegmentedControl"],"b1501cedc464cf67e8d326f6af4500bb":["ChatLayoutScrollButton","Stack"],"b1a7e2787f065906e3b9d3d4c5cf55c2":["Avatar","ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","Timestamp"],"b1b86b2ea93a317e58e69951b8294b80":["AspectRatio","Overlay"],"b319dea96ddf63aaedda819083960bd9":["AspectRatio","Layout"],"b32850ab898c0122482a9cd9bd75edd4":["TopNav"],"b39f5e101d5b8387d9f5e24ff97b2d7f":["List"],"b40fac98f575f9be06f701fc44b486e5":["IconButton","Stack"],"b45f8054ecf5544644c267c7166e43a0":["ComplexSelector","DateInput","RadioList","TimeInput"],"b4a64a1775fa16b3630febd7bb51a305":["Slider"],"b5c245dc886058013b1e492821a52069":["Grid","SelectableCard"],"b5e01c4d753b85f6493a153818b8f8d6":["Stack","TimeInput"],"b6d0c7e8e150391b6d20a3e9c1d2891b":["Stack"],"b71615274c60e3fd13556807f32f8d0a":["DropdownMenu"],"b7525384289e3b1d9837e9d6eec388f2":["AspectRatio","Center","Skeleton"],"b79e0124bb44c2978eea28d3200819db":["BottomSheet","Divider","Section"],"b8322ab53d96dccc864c574ac3f196ae":["NumberInput"],"b846a34d99e615962c27acecaa51d93f":["Lightbox"],"b8988f50df29a63f8959a6cad62a85b9":["Stack","Tokenizer"],"b8a60b787e177264a6e2d0edd755ead4":["Badge","Stack"],"b8b78e470d855faf6e1b79ac479045cc":["UsePressFeedbackHookUsage"],"b9071140027d281dd3ecd1aef30c1074":["List"],"b915c04e43405054edccaf651ea7f3a9":["Stack","Timestamp"],"bab505b3a440c00cb70867c1bb0b796e":["Collapsible","Divider","Stack"],"bb0fd54c86c8233411930501bbb31d99":["InfoTip"],"bb481bb3712d3de29d0806bd5a68d888":["Card","Center","Divider","DropdownMenu","Grid","Layout","OverflowList","Section","TextInput","ToggleButton"],"bd7573e902cff966857a0ef5a319783b":["NavIcon"],"bdf7ab28254e3738a029a88ebeadc282":["Grid"],"be7247a75ff7c9d81521c77e302b261d":["IconButton"],"be85bf7940d489d24e9866485a9c390c":["Stack","TextInput"],"bfb05197b34dd9c8b6ae523e835f51da":["Table"],"c011c84e87d2141afa2edb9de10ced57":["DropdownMenu","DropdownMenuCheckbox","DropdownMenuDivider","DropdownMenuRadio"],"c018d07be4b1f5387235ca68c8240099":["TopNavMegaMenuFeaturedCard"],"c16108da4ae05df7f416408fc1670f35":["CheckboxList"],"c1f2749de4b3728c0e5e369506d143c1":[],"c1f77cff6ea258ffc58b7dbf80ceab3e":["Switch"],"c2a20eb76676fdc9403fbcbe67c1cbd6":["Stack","Tokenizer"],"c2ce04527c0341296148eadbb70ceb54":["Code"],"c3a1a3a6928766183f0770f79422a2aa":["Avatar","Card","Center","Divider","Section","TextInput"],"c3a84e87e34f65d1fe0b0a8fd97e762e":["Card","Collapsible","Stack"],"c430cd03c328d213ca86d20ddff45ad6":["Badge","Stack","Token"],"c48fdef7452ef6b88f04aa895ae22254":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","ChatSystemMessage","Timestamp"],"c5232e7919c9ad634bfbadb8159129e3":["FieldStatus"],"c541038c5e10604fe1d9873b8d7ba8cb":["Avatar","AvatarStatusDot","Badge","ChatComposer","ChatLayout","ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","ChatSystemMessage","Divider","EmptyState","IconButton","Layout","List","Stack","StatusDot","TextInput","Timestamp"],"c590308fdc0427a87298517284e5c7ec":["Avatar","ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","Timestamp"],"c5ab5ffb53d53f653f96f09efc05379d":["Skeleton"],"c5b30b693a466b2b2c30d734f4820b43":["TextArea"],"c651fb20e9a18e3e4fb1894950ca46a1":["Tab","TabList","TabMenu"],"c65c58963938a6076a4e6fe3adaca7d5":["BottomSheet","CheckboxList","Divider","RadioList","Section"],"c6eaaa2d7a3fa3df2889c8f09d3bfa61":["CodeBlock"],"c6f685fa8cd246905ab1864f77fffb81":["Badge","MediaTheme","Section","Stack"],"c74682820210f1029c8ad2fe163150ef":["Card","Divider","Section"],"c7e9e6dab9d6567e2c212acf415fb82c":["Card","Grid","ScrollableArea"],"c8fa9f75bb7a4cdab7c3be4817c8bdef":["Breadcrumb","Breadcrumbs","Stack"],"c9affffdf30cc76e67bd8e3bbfeabd20":["Banner","Stack"],"c9b765d0186884f9e04ae6911d0a8d0d":["RadioList"],"c9d3f4acaf4b4806033eb1c0819567b0":["Card","Grid"],"ca77730e65d0173cea33ee82dc59f575":["Calendar","DateInput","InternationalizationProvider","SegmentedControl"],"ca7b2b6a33af011903303b150ab506bf":["Section","Stack"],"cac1acc03dded57f5fcf960c1bb629de":["TreeList"],"cb651f69bc950505cd1f2b872114aca7":["Step","Stepper"],"cbb84c2553d27cc2e3fa20cd47301383":["ChatComposer","ChatComposerInput","Stack","Typeahead"],"cbffab45876c03dc3bfe60c139b5db81":["FormLayout","TextInput"],"cc1b180e2c81c87aee5d575b420b1538":["Area","AreaChart","Badge","Card","Collapsible","Layout","ProgressBar","ReferenceLine","ResponsiveContainer","SegmentedControl","Skeleton","Table","Token","Tooltip","XAxis","YAxis"],"cc1bb6770c0ffd80667bdde5e85e600a":["ChatToolCalls"],"cc7b22384958af78f9238fddd4724d22":["FieldLabel"],"cce2353ce08e8517dc7f59990ee6c944":["Grid","Thumbnail"],"cda73001eede97f77e85b1f17c7866b8":["Kbd"],"cdeb2045ab73bbdd3c053b3cae48c7e0":["Badge","SideNav"],"ce0975c77c5bc364800d704795d3865a":["Selector"],"ce8cc28d585962022af07d6bef5c7b65":["Badge","Card","OverflowList"],"ce9aaa7721b1f4a31a2716f78ac9d5f3":["Dialog","Layout"],"ce9b56d45cd5e6cfa8b6e99da4ab50c0":["Card","Layout","ResizeHandle"],"ce9e7b8791aea76de5e34148c8e119c2":["Divider","Stack"],"ceb2a658653bc3f90ed11fc98e2fe20b":["Card","ScrollableArea"],"cf1db00f9ef6f007b9c39ccd7a6739be":["TreeList"],"cf9f26e248d91aff3336706c95cb3a9e":["Avatar","Stack"],"d01a34b7453bb917941762283a682bd2":["Selector"],"d041121339795358422b8444ceb7c68f":["Center"],"d05598dbfe43d364d5032ee326e419dd":[],"d07c918892c7312299a1ec92547b367e":["Typeahead"],"d0a4474755ceed51533450ab9f000ae9":["ClickableCard","Stack"],"d1ee904c709b594dc7b7bc8bc96162af":["Drawer","Layout"],"d20096ff531fdb761cddf0ad791d6d93":["Switch","Token"],"d2613cfca3d749bf8c9de5bf328945ed":["PowerSearch"],"d281e9cd33cb62999a32c027db4f076d":["Stack"],"d29a7a6eb3f9a2c472f6edd8a88611f2":["BottomSheet","List","Section"],"d2b288a97d0357f35ccae8d670f0e598":["MoreMenu"],"d2c3ca3bc8286da4ba887c5a5c3431bd":["AspectRatio","Avatar","Badge","Card","Collapsible","Divider","Grid","Layout","ProgressBar","RadioList","Section","SegmentedControl","Slider","VisuallyHidden"],"d2cdbfed2fdc54f74bc7ff52ebcd2584":["MetadataList"],"d2d686f780958985cae78fffa58b35b1":["CommandPalette","Kbd"],"d3191cd2480d749ca056c3cfa7656ebd":["AspectRatio","Center"],"d33c2df468a0271cd6369c6dfd8f42b8":["Card","InternationalizationProvider","SegmentedControl"],"d36dda5ded7ae0f25bae74137f3522d9":["DropdownMenu","DropdownMenuDivider"],"d3dbdfae3f7136c4606ed2a18f31b4b5":["Tab","TabList","TabMenu"],"d3f3a01edffe5a6d1b68d05706260eb5":["Step","Stepper"],"d3f8a43c1882e12502c0c3d36977056b":["DropdownMenu"],"d408aa1027e1eb89cab07cb49b99edcc":["Card","EmptyState"],"d440cf47781ce36e375e44984462a86e":["AspectRatio","Card","Center","Divider","Grid","Section","Selector","TextArea","TextInput","Token"],"d4575cd70b143c5f3a9df048db977dda":["Card","Center","Layout"],"d6003e9784a79c1734952788a2b0fc32":["Citation","Stack"],"d60c1f8ad39bcdc3cadab5f0156e169a":["Card","Carousel","Stack"],"d6c5a7cbe7ab4f0f1b23073b6263d7f5":["ChatComposer","DropdownMenu","Stack"],"d6d5611da7f18be599e3e38f8bfe268d":["Dialog","Layout"],"d6f28a1d8fd0196bf08fef03a047228f":["Item","Stack"],"d712da95068d0f0b53e5b89346e7494d":["Card","Center","Stack"],"d7c0495c562477c732fada27d86ee5f1":[],"d808e0cee2fd89063e02c6ddc84922bb":["Avatar","ChatMessage","ChatMessageBubble","ChatMessageList","Divider","Fragment"],"d81434270754aeb9c66eac533480f3e0":[],"d852283041dcda94c8dbe1cd57a3d08c":["Card","DemoHint","PlayingCardContents"],"d8ee3632ec29275d5df8b23a30a89013":["AspectRatio","Center"],"d9054df7dbff50ae86074c652d52bfed":["Outline"],"d90df58c9c7b1d67dcf03decb4e9deb3":["IconButton"],"d92b3fea054dd3fab88803204c981141":["Card","LinkComponent","LinkProvider"],"d931928481a30e738165023d1723036f":["CommandPalette"],"d96319404d8f1923ed69fa5c39ab9fa9":["Card","Center","Layout","List"],"d99cc81ebb6529d68e0f8f8344862187":["Dialog","Layout","TextArea","TextInput"],"da1e5757b48f579d59997e5f56350c2b":["Avatar","AvatarGroupOverflow","Stack"],"da3009f1c6e087e0f76836a5bb80038e":["ChatComposer","ChatLayout","ChatMessage","ChatMessageBubble","ChatMessageList","ChatTokenizedText"],"da43de8a830af91ee460377cbd9680bb":["Card","ClickableCard","Grid","Layout"],"dab877d9d4368dfefcee87d7d9926470":["Table"],"dac6b7d670fdb33fea377c75021ab116":["CommandPalette"],"db0d7618e4ec2f7f0110d03dd386b665":["DateInput","Stack"],"db488dec6e144cb4ab916fa2d6a4c4c5":["Avatar","Center","Typeahead"],"db6b9dbd53d1443635c97cb8c368b1fe":["StatusDot","Tab","TabList"],"dba852de92c073ddcd0757c7a0ecdc40":["Stack","Token"],"dbc8ef620d1bb661dbdb99c44e69d64d":["Breadcrumb","Breadcrumbs"],"dbefe84defa5330bda7d583ae5703b2b":["Card","Grid","GridSpan"],"dbf96c3267f58cbc06c3f3c70fb431a3":["Timer"],"dc22bc15004fda3d8dc402fd15681a1e":["Drawer","Layout"],"dc4c336febddd94523b3678fbdc5f078":["Badge"],"dcb94c991be7badfa9455867fe0305db":["AppShell"],"dcba081f12ebfec5008ac87434149f1f":["Avatar","Badge","Breadcrumb","Breadcrumbs","Card","Divider","DropdownMenu","EmptyState","IconButton","Layout","Markdown","Section","SizeProvider","Tab","TabList","Table","TextInput","Token","Toolbar","VisuallyHidden"],"dd11fbcc7e8a671e50740b1ab7c9ec46":["Spinner","Step","Stepper"],"dd30722f0e32277a7b430010d035068c":["Card","Section","Tab","TabList","Toolbar"],"de563b12867e75f654548e4dc8875340":["Section","Stack"],"dea6ed2b1e1ade7fd173e9fc838c82c4":["Tooltip"],"debca3c483bf4ece743519250de73eb7":["Avatar","Card","Pagination","Stack"],"dec807708620e5ec13604df5a6587aaf":["List","NavIcon","SideNav"],"df5d4d39fa06e72a9684e2ad3b1360bf":["Code","Stack"],"df6634a1d9d8da3e177d4e2ef76b94dc":["BaseTypeahead"],"dfc6b94eee0e93e9284641f81350d413":["Card","Grid","GridSpan"],"e01e7511decc9ef58082201c560395e6":["Avatar","ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","Timestamp"],"e02f487293294f56624fae2d53979e1c":["CheckboxInput","Stack"],"e044408509a0034442be65b5184b4f76":[],"e05454fe6d6992c372dea19822845e06":["Calendar","Stack"],"e0b23e73d95d9035cac31cb323292e39":["Badge","MetadataList"],"e0e510725027ba2aedc23a68d3fab694":["Center","Typeahead"],"e0fac1bc56c3cbc4433a52ca1f66e89e":["Card","Center","Divider","TextInput"],"e0fc8eb468ea2208ac29da40d6a07a18":["Calendar","Stack"],"e15ab011991bb0b62edc881512e0fe90":["Avatar","Stack"],"e1f9f4a469b153de853d758bbd8541b1":["Card"],"e280d526daf415d221bc31ed10319dba":["Stack","ToggleButton"],"e29193486f5abcb18298e82b5cffa692":["TextArea"],"e3971e7dd854cbf6966fa7bb17793477":["PowerSearch","Table"],"e40ea589111a96b21380b82db84d2f04":["Tab","TabList"],"e42750baff907144d9621e5f7c40cc90":["Field","Stack","TextInput"],"e442461d240d8b4984d7e89202439560":["Step","Stepper"],"e4468fddd3fe55c781f2b5b739cb0810":["NavHeadingMenu","SideNav"],"e44a9619b8789e4e84f8bb675c701fb9":["Grid","TopNavMegaMenu"],"e45fbdc765c3eb2b1bd83b7e22ab7c48":["AlertDialog"],"e48076071eb922902b69ea4bc51b774a":["Table"],"e52995f74d38a1bd42a7671ac59f1150":["Avatar","AvatarStatusDot","Stack"],"e572ce9909bd5b62218f72adb1c96006":["SideNav"],"e5cb6cee6e0e7674c530201baf4f33b3":["Card"],"e69380e97972fffa11b8592cfda0d938":["AppShell","CubeIcon","NavIcon","TopNav"],"e76974ed1edbbfbc5a2bf35f659788be":["Step","Stepper","TextInput"],"e7d914bf59bdfdea1e949282eee1c7f9":["MobileNav","SideNav"],"e7dff43e158b56f79ecad1e4a602d5e5":["Badge","Card","VisuallyHidden"],"e94f55090ffa1abe201a6f3379ccfdb5":["Stack","Tokenizer"],"e98434b6be91dcf1f2c5cfc0294ea961":["Card"],"e99423b21ca7c9f7cb2aa7b572b2e7fa":["ChartBarIcon","NavIcon","ShieldCheckIcon","TopNav","TopNavMenu"],"e9ba5c03284bf1f50d50e306f0318bae":[],"e9ca2951b9f61d7487fbb6f52bebf9e1":["ChatDictationButton","Stack"],"ea60cff46e720c850401a54e07fbda9e":["ChatComposer","ChatComposerInput","Stack"],"ea764946e775bc52df093abfebc81574":["ProgressBar"],"ea88ed4e602143f760a9745f80aabad8":["Badge","Table"],"ea8f749d48250f9c559e672b68416f43":["SegmentedControl"],"eaa912f30ae40c0750d4ec97916a7361":["Card","DropdownMenu"],"ead30e6ca4d2f356cf3438d9f47f7519":["Divider","Fragment","IconButton","Item"],"eaf6fed2a0de3cf52a839b8831ca9513":["ChatMessageList","ChatSystemMessage","Stack"],"eb86e22729adf08037af8c8316f5879c":["Banner","Stack"],"ec31cbb899a1e013100c68181bb7ccc1":["InternationalizationProvider","SegmentedControl"],"ec6d23d718438fcab9a3e35359b05dd6":["ProgressBar"],"eca3ec067a8bd5be277d5bafce915b60":["Card","Grid","Stack"],"ed09e4f26338df045692b8d51c500a3e":["DropdownMenu"],"ed2cfdb79419eb8cea4efe7e23cadf1e":["List"],"edafafa4c0f3c6d196384cd9f2ae49bb":["Stack","TextInput"],"ee7053807eeaead175d1374d3dd55360":["AspectRatio","MediaTheme","Section","Stack"],"efcb6c55c19fa8ea95c7b494314f205e":["DateTimeInput","Stack"],"efe6663a191e271554ecda2ed259d399":["Table"],"f00b79fa2653b8aeb5ebb70975ad13ef":["Card","Item","TextInput","Token"],"f0b29af0f242853ca0a13034fff52715":["Card","Center","Layout"],"f0c1a62b444c069530f2b4770af368af":["Stack","Timer"],"f0d1b4645afd53204ed185a6369bb68c":["Card","Layout"],"f0e454871e6526dc357a2980dd1827c1":["Selector"],"f0fe756560e2b06baa05ffd643546990":["Center","Tooltip"],"f165506408372d2ca3bf611090c7183b":["FileInput"],"f1a3f7349b236621a90d9f60a0e57bc0":["Card","Divider","Section"],"f1f7680c25ddcc4ab5096f74f3f0fb5f":["Divider","Popover"],"f242393fb94d6a189058585beae1616a":["Card","Table"],"f24fab5a8ebb9bcd8a2ac195c62ca8d5":["Badge","Item","Stack"],"f31ac31aeacf17736b0799845c1ca940":["Button","IconButton","Stack"],"f33f93f123497df00bea58093b67857f":["AppShell","CubeIcon","NavIcon","SideNav"],"f388c1b03886b35ba8fb9aca3c673124":["Stack"],"f3bce388a203eb3a4a35c61740977921":["AppShell","Card","Divider","Layout","MoreMenu","NavIcon","SideNav","Stack","StatusDot"],"f3bd53f19d3c709848da18b0ba3187bc":["NumberInput"],"f4532927cdfc7b2dd77077a5e6073e16":["OverflowList"],"f48df30f6a582d32861530e3f732ebd4":["Divider","EmptyState","Layout","List","MetadataList","PowerSearch","ResizeHandle","SegmentedControl","StatusDot","Timestamp","Token"],"f4b7e10eb7231e179ef77ba159b925e9":["ChatComposer","ChatComposerInput","Stack"],"f4bc78e193e2ba3ad688cbf266ef2563":["Stack"],"f518942b88d79d9b7a0cea4c52f838cf":["ChatMessage","ChatMessageBubble","ChatMessageList","ChatMessageMetadata","Timestamp"],"f58e783bc29017d60d4bc1a19c7c1cb0":[],"f5d71854bb625515a9dc7d9aaa1e1c26":["Badge"],"f606ad6ea9d5fe375f04b756e17d857c":["Card","Grid"],"f62653b525f4b54475a77c09e9d687e7":["Badge","Stack"],"f6860a23ffb7b65afda8e9c69948e3c3":["CommandPalette","CommandPaletteInput"],"f6b166c0243b0ee4359aff0f8546f910":["Badge","MetadataList"],"f6c02c906d319673f5f80d37e465897a":["Card","Dialog","Layout"],"f6d4abc43b82a1919e5fcd2b61bacb81":["Badge","Banner","Card","Center","CheckboxInput","Collapsible","Divider","Grid","Layout","NumberInput","RadioList","Section","Selector","Stack","TextArea","TextInput","Thumbnail"],"f6f1d9cdadd7a9f1f99f900a5733edf3":["Stack","TreeList"],"f7052eca17d343f1e6ac63a7db595154":["Stack","Timestamp"],"f726a5b3b43fa38b21ea37f1edc5ecd3":["MetadataList"],"f74dcc86eb97e12ff39e465aa11bde59":[],"f76732cd4c89e95dbe0793c3bacfab3b":["PowerSearch"],"f7853e3594fc649b7b3d8bb9114d362d":["AlertDialog"],"f7f7db4be6e94fad49e82285b6ac0c50":["Card","Layout","List"],"f861cc2585dae07ec0d55a98f132e998":["DropdownMenu"],"f89eac15d91cf548188d1284b8b6f1cb":["CheckboxList"],"f913e1f93cf4b5291fe4df0c6de6016f":["CommandPalette"],"f9236e0f54acf6ed035e742b5f1b8a4a":["Skeleton"],"f9337c5ae627bec0a35f0cb13cf84b17":["ChatToolCalls"],"f9d43ea8b3d32193a899b3c69993fe09":["Card","Section","Toolbar"],"faee391f17f2fec278f5605a42ba76c6":["Toast"],"fb12bce65944b7c2d40d328469141f6a":["Badge","Card","Divider","EmptyState","IconButton","Layout","MoreMenu","Section","Selector","StatusDot","Toolbar","Tooltip"],"fb5709501442d1f8199249ebf8328af0":["HoverCard"],"fc1a62fa0d75670cfb8765c8c79b6ef9":["Card","TextInput"],"fc3688afe1734c32b04d4d600dc5ebb1":["Stack"],"fc3da4559999f855a259355c3b028a74":[],"fdd3b6db8fb2dc3258203bf8971a2d9e":["ToggleButton"],"fe3ef42709e33451087fa1d257136792":["FormLayout","TextInput"],"fed21e219f576266abe135ca25313d67":["Stack","Tokenizer"],"ff913ad2f921e5a901526c953ef1f634":["Card","Center","DropdownMenu","OverflowList"],"fffcf90ecc8b65bf66ff8fde6a86c222":["Drawer","Layout"]}
|
|
@@ -22,16 +22,48 @@
|
|
|
22
22
|
// the bin is invoked (symlink, copy, or Windows shim). Uses only built-ins, so
|
|
23
23
|
// the version gate below still runs first.
|
|
24
24
|
import {fileURLToPath, pathToFileURL} from 'node:url';
|
|
25
|
-
import {realpathSync} from 'node:fs';
|
|
26
25
|
import {dirname, join} from 'node:path';
|
|
26
|
+
import * as nodeModule from 'node:module';
|
|
27
|
+
import {existsSync, lstatSync, mkdirSync, realpathSync} from 'node:fs';
|
|
28
|
+
import {tmpdir} from 'node:os';
|
|
29
|
+
|
|
30
|
+
// Node's compile cache keeps the compiled form of the CLI's modules between
|
|
31
|
+
// runs, so a run skips most of their compiling. It lives in a folder of the
|
|
32
|
+
// user's own in the system temp folder (node-compile-cache-<uid>). It is used
|
|
33
|
+
// only once that folder exists, so a machine's first run just makes it and a
|
|
34
|
+
// one-off run never pays to write the cache; and only while it is a real
|
|
35
|
+
// folder the user owns that no one else can reach, since a shared folder
|
|
36
|
+
// could hold planted cache files. Where the system has no user ids
|
|
37
|
+
// (Windows), ownership cannot be checked, so the cache stays off.
|
|
38
|
+
// NODE_DISABLE_COMPILE_CACHE turns it off. It is best effort: a cache Node
|
|
39
|
+
// cannot read or write is skipped, and nothing about it is printed.
|
|
40
|
+
try {
|
|
41
|
+
const uid = typeof process.getuid === 'function' ? process.getuid() : null;
|
|
42
|
+
if (!process.env.NODE_DISABLE_COMPILE_CACHE && uid != null) {
|
|
43
|
+
const cacheDir = join(tmpdir(), `node-compile-cache-${uid}`);
|
|
44
|
+
if (!existsSync(cacheDir)) {
|
|
45
|
+
mkdirSync(cacheDir, {mode: 0o700});
|
|
46
|
+
} else {
|
|
47
|
+
const stat = lstatSync(cacheDir);
|
|
48
|
+
const own =
|
|
49
|
+
stat.isDirectory() &&
|
|
50
|
+
!stat.isSymbolicLink() &&
|
|
51
|
+
stat.uid === uid &&
|
|
52
|
+
(stat.mode & 0o077) === 0;
|
|
53
|
+
if (own) nodeModule.enableCompileCache?.(cacheDir);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
} catch {
|
|
57
|
+
// A run without the cache is the same run, only slower.
|
|
58
|
+
}
|
|
27
59
|
|
|
28
60
|
const binDir = dirname(realpathSync(fileURLToPath(import.meta.url)));
|
|
29
61
|
/** @param {string} rel */
|
|
30
|
-
const importSrc = rel =>
|
|
31
|
-
import(pathToFileURL(join(binDir, '..', rel)).href);
|
|
62
|
+
const importSrc = rel => import(pathToFileURL(join(binDir, '..', rel)).href);
|
|
32
63
|
|
|
33
|
-
const {isNodeVersionSupported, unsupportedNodeMessage} =
|
|
34
|
-
|
|
64
|
+
const {isNodeVersionSupported, unsupportedNodeMessage} = await importSrc(
|
|
65
|
+
'../../foundation/env/node-version.mjs',
|
|
66
|
+
);
|
|
35
67
|
|
|
36
68
|
if (!isNodeVersionSupported(process.versions.node)) {
|
|
37
69
|
const msg = unsupportedNodeMessage(process.versions.node);
|
|
@@ -42,6 +42,10 @@ import {
|
|
|
42
42
|
themeEditShow,
|
|
43
43
|
themeEditUndo,
|
|
44
44
|
} from '../../../../api/theme-edit/theme-edit.mjs';
|
|
45
|
+
import {
|
|
46
|
+
fileExists,
|
|
47
|
+
isHowPicture,
|
|
48
|
+
} from '../../../../api/theme-edit/_adapter.mjs';
|
|
45
49
|
import {registerThemeSubcommands} from '../theme.mjs';
|
|
46
50
|
import {doc as groupDoc} from '../experimental-theme.doc.mjs';
|
|
47
51
|
import {doc as editorDoc} from '../experimental-theme-editor.doc.mjs';
|
|
@@ -82,8 +86,15 @@ const HOW = `${EDITOR} ${howDoc.name.split(' ').pop()}`;
|
|
|
82
86
|
* Commands in a line, with the run prefix this project uses.
|
|
83
87
|
* @param {string} line
|
|
84
88
|
*/
|
|
85
|
-
const cmd = line =>
|
|
86
|
-
|
|
89
|
+
const cmd = line => {
|
|
90
|
+
const stem = `${getCliInvocation()} experimental theme`;
|
|
91
|
+
// A line that already starts its commands this way (how's answers do,
|
|
92
|
+
// in JSON too) keeps them.
|
|
93
|
+
return line
|
|
94
|
+
.split(stem)
|
|
95
|
+
.map(part => part.split(PREFIX).join(stem))
|
|
96
|
+
.join(stem);
|
|
97
|
+
};
|
|
87
98
|
|
|
88
99
|
/**
|
|
89
100
|
* Print blocks, a blank line between them, with this project's run prefix
|
|
@@ -396,13 +407,87 @@ function showBlocks(d) {
|
|
|
396
407
|
* @param {any} d
|
|
397
408
|
*/
|
|
398
409
|
function lookupBlocks(d) {
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
410
|
+
// Echoed user text never drives the terminal: control characters print
|
|
411
|
+
// as escapes.
|
|
412
|
+
const safe = (/** @type {unknown} */ v) =>
|
|
413
|
+
typeof v === 'string'
|
|
414
|
+
? v.replace(
|
|
415
|
+
/\p{Cc}/gu,
|
|
416
|
+
c => `\\x${(c.charCodeAt(0) + 0x100).toString(16).slice(1)}`,
|
|
417
|
+
)
|
|
418
|
+
: v;
|
|
419
|
+
/** @type {Record<string, unknown>} */
|
|
420
|
+
const shown = {};
|
|
421
|
+
for (const [k, v] of Object.entries(d)) shown[k] = safe(v);
|
|
422
|
+
const {
|
|
423
|
+
hint,
|
|
424
|
+
run: next,
|
|
425
|
+
results,
|
|
426
|
+
examples,
|
|
427
|
+
refused,
|
|
428
|
+
points,
|
|
429
|
+
items,
|
|
430
|
+
...rest
|
|
431
|
+
} = /** @type {any} */ (shown);
|
|
432
|
+
// Commands print one to a line and are never wrapped, so a line pasted
|
|
433
|
+
// into a shell runs exactly one whole command; a sequence is one line.
|
|
434
|
+
/** @param {string[]} cmds @param {boolean} [sequence] */
|
|
435
|
+
const commandLines = (cmds, sequence) =>
|
|
436
|
+
sequence && cmds.length > 1
|
|
437
|
+
? [` ${cmds.join(' && ')}`, ' sequence: run as one line, in this order']
|
|
438
|
+
: cmds.map(c => ` ${c}`);
|
|
439
|
+
/** @param {Array<{command: string, why: string}>} list */
|
|
440
|
+
const refusedLines = list =>
|
|
441
|
+
list.flatMap(r => [` x ${r.command}`, ` not run: ${r.why}`]);
|
|
442
|
+
/** @type {Array<string | import('../../formatters/index.mjs').Block>} */
|
|
443
|
+
const blocks = [...(hint ? [String(hint)] : []), ...project(rest)];
|
|
444
|
+
if (Array.isArray(results) && results.length)
|
|
445
|
+
blocks.push(
|
|
446
|
+
section('results:'),
|
|
447
|
+
text(
|
|
448
|
+
results
|
|
449
|
+
.flatMap((/** @type {any} */ r) => [
|
|
450
|
+
String(r.text),
|
|
451
|
+
...commandLines(r.commands ?? [], r.sequence),
|
|
452
|
+
...refusedLines(r.refused ?? []),
|
|
453
|
+
])
|
|
454
|
+
.join('\n'),
|
|
455
|
+
),
|
|
456
|
+
);
|
|
457
|
+
if (Array.isArray(examples) && examples.length)
|
|
458
|
+
blocks.push(section('examples:'), text(commandLines(examples).join('\n')));
|
|
459
|
+
if (Array.isArray(refused) && refused.length)
|
|
460
|
+
blocks.push(section('refused:'), text(refusedLines(refused).join('\n')));
|
|
461
|
+
if (Array.isArray(points) && points.length)
|
|
462
|
+
blocks.push(
|
|
463
|
+
section('points:'),
|
|
464
|
+
text(
|
|
465
|
+
points
|
|
466
|
+
.map(
|
|
467
|
+
(/** @type {any} */ x) => ` ${x.at} ${x.color} alpha ${x.alpha}`,
|
|
468
|
+
)
|
|
469
|
+
.join('\n'),
|
|
470
|
+
),
|
|
471
|
+
);
|
|
472
|
+
if (Array.isArray(items) && items.length) {
|
|
473
|
+
if (items.some((/** @type {any} */ x) => Array.isArray(x.examples)))
|
|
474
|
+
blocks.push(
|
|
475
|
+
section('items:'),
|
|
476
|
+
text(
|
|
477
|
+
items
|
|
478
|
+
.flatMap((/** @type {any} */ x) => [
|
|
479
|
+
`${x.name} ${x.values}`,
|
|
480
|
+
` help: ${x.help}`,
|
|
481
|
+
...commandLines(x.examples),
|
|
482
|
+
])
|
|
483
|
+
.join('\n'),
|
|
484
|
+
),
|
|
485
|
+
);
|
|
486
|
+
else blocks.push(...project({items}).slice(1));
|
|
487
|
+
}
|
|
488
|
+
if (Array.isArray(next) && next.length)
|
|
489
|
+
blocks.push(`Tip: ${next.map(String).join(', or ')}`);
|
|
490
|
+
return blocks;
|
|
406
491
|
}
|
|
407
492
|
|
|
408
493
|
/**
|
|
@@ -414,6 +499,23 @@ function lookupBlocks(d) {
|
|
|
414
499
|
* @returns {ReturnType<typeof cliError> | null}
|
|
415
500
|
*/
|
|
416
501
|
function strayOption(command, rest) {
|
|
502
|
+
// A scope flag given twice would keep only the last one without a word.
|
|
503
|
+
for (const flag of ['on', 'when', 'state', 'mode']) {
|
|
504
|
+
const all = flagValues(flag);
|
|
505
|
+
if (new Set(all).size > 1)
|
|
506
|
+
return cliError(
|
|
507
|
+
`--${flag} was given twice (${all.join(', ')}); give it once.`,
|
|
508
|
+
{
|
|
509
|
+
suggestions: [
|
|
510
|
+
{
|
|
511
|
+
name: `${EDITOR} ${command} --help`,
|
|
512
|
+
reason: 'every option it takes',
|
|
513
|
+
},
|
|
514
|
+
],
|
|
515
|
+
code: ERROR_CODES.ERR_INVALID_ARGUMENT,
|
|
516
|
+
},
|
|
517
|
+
);
|
|
518
|
+
}
|
|
417
519
|
const word = rest.find(w => typeof w === 'string' && w.startsWith('--'));
|
|
418
520
|
if (word == null) return null;
|
|
419
521
|
return cliError(
|
|
@@ -427,6 +529,22 @@ function strayOption(command, rest) {
|
|
|
427
529
|
);
|
|
428
530
|
}
|
|
429
531
|
|
|
532
|
+
/**
|
|
533
|
+
* A refusal for words after what a command takes, which would otherwise be
|
|
534
|
+
* dropped without a word; null when there are none.
|
|
535
|
+
* @param {string} command
|
|
536
|
+
* @param {string[]} extra
|
|
537
|
+
*/
|
|
538
|
+
function extraWords(command, extra) {
|
|
539
|
+
if (!extra.length) return null;
|
|
540
|
+
return cliError(`${command} does not take "${extra.join(' ')}".`, {
|
|
541
|
+
suggestions: [
|
|
542
|
+
{name: `${EDITOR} ${command} --help`, reason: 'what it takes'},
|
|
543
|
+
],
|
|
544
|
+
code: ERROR_CODES.ERR_INVALID_ARGUMENT,
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
|
|
430
548
|
/**
|
|
431
549
|
* Help that explains exactly what a subcommand does: its whole description
|
|
432
550
|
* under the usage line, while the group's list keeps the one-line summary.
|
|
@@ -562,7 +680,12 @@ export function registerExperimentalTheme(group, program) {
|
|
|
562
680
|
explained(
|
|
563
681
|
defineCommand(editor, showDoc, {
|
|
564
682
|
fn: showFn,
|
|
565
|
-
action: (
|
|
683
|
+
action: (
|
|
684
|
+
/** @type {string} */ name,
|
|
685
|
+
/** @type {any} */ o,
|
|
686
|
+
/** @type {any} */ c,
|
|
687
|
+
) =>
|
|
688
|
+
extraWords('show', (c?.args ?? []).slice(1)) ??
|
|
566
689
|
run(
|
|
567
690
|
program,
|
|
568
691
|
() =>
|
|
@@ -588,6 +711,7 @@ export function registerExperimentalTheme(group, program) {
|
|
|
588
711
|
/** @type {import('commander').Command} */ c,
|
|
589
712
|
) =>
|
|
590
713
|
strayOption('undo', [which, ...(c?.args ?? []).slice(3)]) ??
|
|
714
|
+
extraWords('undo', (c?.args ?? []).slice(3)) ??
|
|
591
715
|
run(
|
|
592
716
|
program,
|
|
593
717
|
() =>
|
|
@@ -629,7 +753,7 @@ export function registerExperimentalTheme(group, program) {
|
|
|
629
753
|
cwd: process.cwd(),
|
|
630
754
|
theme: o.theme,
|
|
631
755
|
template: o.template,
|
|
632
|
-
top: o.top
|
|
756
|
+
top: o.top,
|
|
633
757
|
path: o.path,
|
|
634
758
|
}),
|
|
635
759
|
r => {
|
|
@@ -680,7 +804,7 @@ export function registerExperimentalTheme(group, program) {
|
|
|
680
804
|
...project(/** @type {any} */ (r.data)),
|
|
681
805
|
],
|
|
682
806
|
),
|
|
683
|
-
}),
|
|
807
|
+
}).allowExcessArguments(false),
|
|
684
808
|
previewAppDoc,
|
|
685
809
|
);
|
|
686
810
|
|
|
@@ -696,7 +820,7 @@ export function registerExperimentalTheme(group, program) {
|
|
|
696
820
|
? project(/** @type {any} */ (r.data))
|
|
697
821
|
: [
|
|
698
822
|
...project(/** @type {any} */ (r.data)),
|
|
699
|
-
`Tip: ${PREFIX} preview add`,
|
|
823
|
+
`Tip: ${PREFIX} preview add${o.path == null ? '' : ` --path '${String(o.path).replace(/'/g, `'\\''`)}'`}`,
|
|
700
824
|
],
|
|
701
825
|
r =>
|
|
702
826
|
resultSet({
|
|
@@ -705,7 +829,7 @@ export function registerExperimentalTheme(group, program) {
|
|
|
705
829
|
empty: r.data.pages.length === 0,
|
|
706
830
|
}),
|
|
707
831
|
),
|
|
708
|
-
}),
|
|
832
|
+
}).allowExcessArguments(false),
|
|
709
833
|
previewListDoc,
|
|
710
834
|
);
|
|
711
835
|
|
|
@@ -724,7 +848,7 @@ export function registerExperimentalTheme(group, program) {
|
|
|
724
848
|
...project(/** @type {any} */ (r.data)),
|
|
725
849
|
],
|
|
726
850
|
),
|
|
727
|
-
}),
|
|
851
|
+
}).allowExcessArguments(false),
|
|
728
852
|
previewRemoveDoc,
|
|
729
853
|
);
|
|
730
854
|
|
|
@@ -740,7 +864,7 @@ export function registerExperimentalTheme(group, program) {
|
|
|
740
864
|
if (program.opts().json) c?.outputHelp();
|
|
741
865
|
else
|
|
742
866
|
print([
|
|
743
|
-
`Usage: ${HOW} [<part|setting|"question"|picture.png>] [--at x,y] [--list dials|tokens|parts|groups|properties [filter]]`,
|
|
867
|
+
`Usage: ${HOW} [<part|setting|"question"|picture.png>] [--theme <name>] [--at x,y] [--list dials|tokens|parts|groups|properties [filter]]`,
|
|
744
868
|
'',
|
|
745
869
|
'Examples:',
|
|
746
870
|
...(howDoc.examples ?? []).flatMap(e => [
|
|
@@ -750,30 +874,106 @@ export function registerExperimentalTheme(group, program) {
|
|
|
750
874
|
]);
|
|
751
875
|
return NO_RESULT_SET;
|
|
752
876
|
}
|
|
753
|
-
|
|
877
|
+
// `--list=tokens` and a second --list are mistakes of form.
|
|
878
|
+
/** @type {string[]} */
|
|
879
|
+
const raw = /** @type {any} */ (program).rawArgs ?? process.argv;
|
|
880
|
+
const listFlags = raw.filter(
|
|
881
|
+
w => w === '--list' || w.startsWith('--list='),
|
|
882
|
+
);
|
|
883
|
+
const themeFlags = raw.filter(
|
|
884
|
+
w => w === '--theme' || w.startsWith('--theme='),
|
|
885
|
+
);
|
|
886
|
+
if (themeFlags.length > 1)
|
|
887
|
+
return cliError('--theme is given twice; give it once.', {
|
|
888
|
+
suggestions: [{name: `${HOW} --help`, reason: 'give --theme once'}],
|
|
889
|
+
code: ERROR_CODES.ERR_INVALID_ARGUMENT,
|
|
890
|
+
});
|
|
891
|
+
if (listFlags.length > 1)
|
|
892
|
+
return cliError('--list is given twice; give it once.', {
|
|
893
|
+
suggestions: [
|
|
894
|
+
{
|
|
895
|
+
name: `${HOW} --list tokens accent`,
|
|
896
|
+
reason: 'one list, then the filter',
|
|
897
|
+
},
|
|
898
|
+
],
|
|
899
|
+
code: ERROR_CODES.ERR_INVALID_ARGUMENT,
|
|
900
|
+
});
|
|
901
|
+
let list = o.list;
|
|
902
|
+
let rest = [...words];
|
|
903
|
+
const eq = rest.find(w => w.startsWith('--list='));
|
|
904
|
+
if (eq) {
|
|
905
|
+
list = true;
|
|
906
|
+
rest = [eq.slice('--list='.length), ...rest.filter(w => w !== eq)];
|
|
907
|
+
}
|
|
908
|
+
if (list) {
|
|
909
|
+
// The kind is the first word that names one ("accent --list
|
|
910
|
+
// tokens" too); the other words filter, and may start with --.
|
|
911
|
+
const kinds =
|
|
912
|
+
/^(dials?|tokens?|parts?|groups?|propert(y|ies)|kinds?)$/i;
|
|
913
|
+
const at = rest.findIndex(w => kinds.test(w));
|
|
914
|
+
const kind = at >= 0 ? rest[at] : (rest[0] ?? '');
|
|
915
|
+
const filter = (
|
|
916
|
+
at >= 0 ? rest.filter((_, i) => i !== at) : rest.slice(1)
|
|
917
|
+
)
|
|
918
|
+
.filter(w => w !== '--')
|
|
919
|
+
.join(' ');
|
|
920
|
+
return run(
|
|
921
|
+
program,
|
|
922
|
+
() =>
|
|
923
|
+
themeEditHow(filter, {
|
|
924
|
+
cwd: process.cwd(),
|
|
925
|
+
list: kind,
|
|
926
|
+
at: o.at ?? [],
|
|
927
|
+
theme: o.theme,
|
|
928
|
+
}),
|
|
929
|
+
r => lookupBlocks(/** @type {any} */ (r.data)),
|
|
930
|
+
r => {
|
|
931
|
+
const n = /** @type {any} */ (r.data).items.length;
|
|
932
|
+
return resultSet({count: n, resultKind: 'mixed', empty: n === 0});
|
|
933
|
+
},
|
|
934
|
+
);
|
|
935
|
+
}
|
|
936
|
+
// A picture first: the only other word is how many colors to list.
|
|
937
|
+
const picture = isHowPicture(rest[0] ?? '');
|
|
938
|
+
if (picture && rest.length > 2)
|
|
939
|
+
return cliError(
|
|
940
|
+
`After a picture, give only how many colors to list, not "${rest.slice(1).join(' ')}".`,
|
|
941
|
+
{
|
|
942
|
+
suggestions: [
|
|
943
|
+
{name: `${HOW} ${rest[0]} 5`, reason: 'do this instead'},
|
|
944
|
+
],
|
|
945
|
+
code: ERROR_CODES.ERR_INVALID_ARGUMENT,
|
|
946
|
+
},
|
|
947
|
+
);
|
|
948
|
+
// A missing picture is the first thing to say, before a bad count.
|
|
949
|
+
if (
|
|
950
|
+
picture &&
|
|
951
|
+
rest.length === 2 &&
|
|
952
|
+
!/^[1-9]\d*$/.test(rest[1]) &&
|
|
953
|
+
fileExists(rest[0])
|
|
954
|
+
)
|
|
955
|
+
return cliError(
|
|
956
|
+
`The count after a picture must be a positive whole number, not "${rest[1]}".`,
|
|
957
|
+
{
|
|
958
|
+
suggestions: [
|
|
959
|
+
{name: `${HOW} ${rest[0]} 5`, reason: 'do this instead'},
|
|
960
|
+
],
|
|
961
|
+
code: ERROR_CODES.ERR_INVALID_ARGUMENT,
|
|
962
|
+
},
|
|
963
|
+
);
|
|
964
|
+
const stray = picture ? null : strayOption('how', rest.slice(1));
|
|
754
965
|
if (stray) return stray;
|
|
755
|
-
// A number after a picture is how many colors to list.
|
|
756
966
|
const count =
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
/^\d+$/.test(words[1])
|
|
760
|
-
? Number(words[1])
|
|
761
|
-
: undefined;
|
|
762
|
-
// --list is a switch, as everywhere in the CLI: the first word is
|
|
763
|
-
// what to list, and the rest filters it.
|
|
764
|
-
const subject = o.list
|
|
765
|
-
? words.slice(1).join(' ')
|
|
766
|
-
: count == null
|
|
767
|
-
? words.join(' ')
|
|
768
|
-
: words[0];
|
|
967
|
+
picture && rest.length === 2 ? Number(rest[1]) : undefined;
|
|
968
|
+
const subject = picture ? rest[0] : rest.join(' ');
|
|
769
969
|
return run(
|
|
770
970
|
program,
|
|
771
971
|
() =>
|
|
772
972
|
themeEditHow(subject, {
|
|
773
973
|
cwd: process.cwd(),
|
|
774
|
-
list: o.list ? (words[0] ?? '') : undefined,
|
|
775
974
|
at: o.at ?? [],
|
|
776
975
|
count,
|
|
976
|
+
theme: o.theme,
|
|
777
977
|
}),
|
|
778
978
|
r => lookupBlocks(/** @type {any} */ (r.data)),
|
|
779
979
|
r => {
|