@cloudgrid-io/ui 0.29.2 → 0.31.0
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 +63 -0
- package/dist/blocks/agent-prompt.d.ts +17 -1
- package/dist/blocks/agent-prompt.d.ts.map +1 -1
- package/dist/blocks/agent-prompt.js +33 -3
- package/dist/blocks/agent-prompt.js.map +1 -1
- package/dist/blocks/cloudgrid-install.d.ts +67 -0
- package/dist/blocks/cloudgrid-install.d.ts.map +1 -0
- package/dist/blocks/cloudgrid-install.js +192 -0
- package/dist/blocks/cloudgrid-install.js.map +1 -0
- package/dist/blocks/command-field.d.ts +38 -0
- package/dist/blocks/command-field.d.ts.map +1 -0
- package/dist/blocks/command-field.js +70 -0
- package/dist/blocks/command-field.js.map +1 -0
- package/dist/blocks/drop-zone.d.ts +2 -1
- package/dist/blocks/drop-zone.d.ts.map +1 -1
- package/dist/blocks/drop-zone.js.map +1 -1
- package/dist/blocks/entity-card.d.ts +81 -24
- package/dist/blocks/entity-card.d.ts.map +1 -1
- package/dist/blocks/entity-card.js +235 -126
- package/dist/blocks/entity-card.js.map +1 -1
- package/dist/blocks/icons.d.ts +23 -1
- package/dist/blocks/icons.d.ts.map +1 -1
- package/dist/blocks/icons.js +23 -1
- package/dist/blocks/icons.js.map +1 -1
- package/dist/blocks/install-content.d.ts +228 -0
- package/dist/blocks/install-content.d.ts.map +1 -0
- package/dist/blocks/install-content.js +464 -0
- package/dist/blocks/install-content.js.map +1 -0
- package/dist/blocks/logo.d.ts +70 -1
- package/dist/blocks/logo.d.ts.map +1 -1
- package/dist/blocks/logo.js +75 -2
- package/dist/blocks/logo.js.map +1 -1
- package/dist/blocks/phosphor-marks.d.ts +6 -0
- package/dist/blocks/phosphor-marks.d.ts.map +1 -1
- package/dist/blocks/phosphor-marks.js +9 -0
- package/dist/blocks/phosphor-marks.js.map +1 -1
- package/dist/blocks/prompt-block.d.ts +57 -0
- package/dist/blocks/prompt-block.d.ts.map +1 -0
- package/dist/blocks/prompt-block.js +219 -0
- package/dist/blocks/prompt-block.js.map +1 -0
- package/dist/blocks/stage-panel.d.ts +19 -0
- package/dist/blocks/stage-panel.d.ts.map +1 -1
- package/dist/blocks/stage-panel.js +2 -4
- package/dist/blocks/stage-panel.js.map +1 -1
- package/dist/blocks/step-item.d.ts +21 -1
- package/dist/blocks/step-item.d.ts.map +1 -1
- package/dist/blocks/step-item.js +27 -2
- package/dist/blocks/step-item.js.map +1 -1
- package/dist/blocks/tool-logo.d.ts.map +1 -1
- package/dist/blocks/tool-logo.js +10 -6
- package/dist/blocks/tool-logo.js.map +1 -1
- package/dist/blocks/tool-setup.d.ts +95 -9
- package/dist/blocks/tool-setup.d.ts.map +1 -1
- package/dist/blocks/tool-setup.js +129 -49
- package/dist/blocks/tool-setup.js.map +1 -1
- package/dist/brand/mark-180.png +0 -0
- package/dist/brand/mark-192.png +0 -0
- package/dist/brand/mark-32.png +0 -0
- package/dist/brand/mark-512.png +0 -0
- package/dist/brand/mark-inverted-180.png +0 -0
- package/dist/brand/mark-inverted-192.png +0 -0
- package/dist/brand/mark-inverted-32.png +0 -0
- package/dist/brand/mark-inverted-512.png +0 -0
- package/dist/brand/mark-inverted.svg +8 -0
- package/dist/brand/mark.svg +7 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -2
- package/dist/blocks/plug-method.d.ts +0 -76
- package/dist/blocks/plug-method.d.ts.map +0 -1
- package/dist/blocks/plug-method.js +0 -30
- package/dist/blocks/plug-method.js.map +0 -1
package/dist/blocks/icons.js
CHANGED
|
@@ -114,6 +114,15 @@
|
|
|
114
114
|
* without saying what did) were the alternates.
|
|
115
115
|
* `engine` leaves the bundle with the gauge and
|
|
116
116
|
* `folder-open` before it, for the reason recorded there.
|
|
117
|
+
* EntityDetailsIcon Phosphor `list-magnifying-glass`. The entity card's
|
|
118
|
+
* details door since #268: the card's click opens the
|
|
119
|
+
* entity's page in the console (Overview, insights and
|
|
120
|
+
* the rest), and the founder wanted the mark that leads
|
|
121
|
+
* there to read as FINDINGS rather than analytics. A list
|
|
122
|
+
* under a lens is "look at what is in here". Founder pick,
|
|
123
|
+
* 2026-10-05. `EntityDashboardIcon` above is NOT retired
|
|
124
|
+
* by it: the console's Insights rows wear the chart, and
|
|
125
|
+
* there a chart is exactly the right picture.
|
|
117
126
|
* SettingsIcon Phosphor `gear-six`. Still here, still exported, for
|
|
118
127
|
* the surfaces that really are settings. The six-tooth
|
|
119
128
|
* gear reads cleaner at 14px than the eight-tooth `gear`
|
|
@@ -328,7 +337,7 @@
|
|
|
328
337
|
* collision test reads exported names with a regex that splits the braces on
|
|
329
338
|
* commas, so a sentence in there is parsed as an export name.
|
|
330
339
|
*/
|
|
331
|
-
export { CubeMark as KindAgentIcon, LightbulbFilamentMark as KindInspirationIcon, LayoutMark as KindAppIcon, ArrowUpRightMark as OpenLiveIcon, ChartLineUpMark as EntityDashboardIcon, GearSixMark as SettingsIcon, EyeMark as ViewsIcon, ChatCircleMark as CommentsIcon, PushPinMark as SaveIcon, DotsThreeVerticalMark as MoreActionsIcon, } from "./phosphor-marks.js";
|
|
340
|
+
export { CubeMark as KindAgentIcon, LightbulbFilamentMark as KindInspirationIcon, LayoutMark as KindAppIcon, ArrowUpRightMark as OpenLiveIcon, ChartLineUpMark as EntityDashboardIcon, ListMagnifyingGlassMark as EntityDetailsIcon, GearSixMark as SettingsIcon, EyeMark as ViewsIcon, ChatCircleMark as CommentsIcon, PushPinMark as SaveIcon, DotsThreeVerticalMark as MoreActionsIcon, } from "./phosphor-marks.js";
|
|
332
341
|
/** Control affordances: the glyphs a primitive draws to work at all. */
|
|
333
342
|
export { CaretDownMark as ChevronDownIcon, CaretUpMark as ChevronUpIcon, CaretRightMark as ChevronRightIcon, CaretLeftMark as ChevronLeftIcon, CheckMark as CheckIcon, CheckBoldMark as CheckBoldIcon, XMark as CloseIcon, CopyMark as CopyIcon, MinusMark as MinusIcon, PlusMark as PlusIcon, ArrowDownMark as ArrowDownIcon, } from "./phosphor-marks.js";
|
|
334
343
|
/** Status: how a surface reports what happened. */
|
|
@@ -357,6 +366,19 @@ export { PencilSimpleMark as EditIcon, TrashMark as DeleteIcon, PushPinMark as P
|
|
|
357
366
|
export { LockSimpleMark as PrivateIcon, ShieldMark as GovernedIcon, UserPlusMark as InvitePersonIcon, UserCheckMark as VerifiedPersonIcon, } from "./phosphor-marks.js";
|
|
358
367
|
/** The grid's own administration: what it costs, who gets in, and the sandbox. */
|
|
359
368
|
export { CurrencyCircleDollarMark as BillingIcon, SignInMark as SignInIcon, CodeMark as DeveloperIcon, } from "./phosphor-marks.js";
|
|
369
|
+
/**
|
|
370
|
+
* The install blocks (#262): what KIND of tool a run of tabs holds, and where the
|
|
371
|
+
* source lives.
|
|
372
|
+
*
|
|
373
|
+
* `ChatAppIcon` is `chat-circle` under a second role name, beside `CommentsIcon`,
|
|
374
|
+
* and deliberately not a rename of it. The same glyph means two unrelated things
|
|
375
|
+
* on two surfaces — a count of comments on an entity card, and "these tools are
|
|
376
|
+
* chat apps" over a tool strip — and writing `CommentsIcon` above the ChatGPT tab
|
|
377
|
+
* would teach a reader of the call site that they are one idea. The
|
|
378
|
+
* `SpaceIcon` / `OverviewIcon` precedent (#225), applied: a duplicate costs a
|
|
379
|
+
* paragraph and a deleted name breaks every consumer at once.
|
|
380
|
+
*/
|
|
381
|
+
export { TerminalWindowMark as TerminalIcon, ChatCircleMark as ChatAppIcon, GithubLogoMark as GithubIcon, } from "./phosphor-marks.js";
|
|
360
382
|
/** Where set-aside work is kept, and can be fetched back from. Not a bin. */
|
|
361
383
|
export { ArchiveMark as JunkyardIcon, } from "./phosphor-marks.js";
|
|
362
384
|
/** Reactions: what a person can say about an entity without writing anything. */
|
package/dist/blocks/icons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../../src/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ALL CONTENT. Every tool, method, step, prompt and command CloudGrid's
|
|
3
|
+
* install panels show, as plain data.
|
|
4
|
+
*
|
|
5
|
+
* ## The package ships content now, and that reverses a rule (#266)
|
|
6
|
+
*
|
|
7
|
+
* Founder ruling, 2026-10-05: every install panel on every surface takes its
|
|
8
|
+
* content AND its design from this library, and from nowhere else. The previous
|
|
9
|
+
* source, a separate integrations app with its own embed script and content
|
|
10
|
+
* feed, is discontinued. The Console's `/drop` page and onboarding step, and
|
|
11
|
+
* later the landing site, assemble library pieces and fetch nothing.
|
|
12
|
+
*
|
|
13
|
+
* Until this ruling the line ran the other way: "the package ships none of this
|
|
14
|
+
* and must not start to" (the gallery fixture this file replaces), "presentation
|
|
15
|
+
* only" (`ToolSetup`), "this ships no marks" (`ToolLogo`). Those notes are
|
|
16
|
+
* updated in the same change. `ToolSetup` is still a presentational engine that
|
|
17
|
+
* renders whatever it is handed; what changed is that the library now also
|
|
18
|
+
* holds the thing it is handed, here, and composes the two in `CloudGridInstall`.
|
|
19
|
+
*
|
|
20
|
+
* ## No React, deliberately
|
|
21
|
+
*
|
|
22
|
+
* This module imports nothing. A body's emphasis is a RUN (`{ bold }`,
|
|
23
|
+
* `{ code }`), a vendor mark is a NAME (a `TOOL_MARKS` key), and a glyph is a
|
|
24
|
+
* ROLE (`"github"`, `"download"`). `CloudGridInstall` turns those into nodes.
|
|
25
|
+
* That keeps the strings importable by a consumer with no React at all, which
|
|
26
|
+
* is the Astro site: `import { INSTALL_TOOLS } from "@cloudgrid-io/ui/install-content"`.
|
|
27
|
+
*
|
|
28
|
+
* ## Verbatim, and tested to be
|
|
29
|
+
*
|
|
30
|
+
* Every title, body, prompt line, command and link is the content snapshot of
|
|
31
|
+
* 2026-10-05 (content version 36), with the shared commands substituted and
|
|
32
|
+
* `{agent}` replaced by the tool's display name. Nothing is paraphrased, and one
|
|
33
|
+
* prompt keeps its em dash, which the library's own copy canon would not write:
|
|
34
|
+
* it is the panel's string, and changing it here would make this file disagree
|
|
35
|
+
* with what every surface showed until today. `test/install-content.test.mjs`
|
|
36
|
+
* walks the committed snapshot and asserts each string below equals it, and that
|
|
37
|
+
* nothing in the snapshot is missing here.
|
|
38
|
+
*
|
|
39
|
+
* Editing a string is now a library change: edit it here, update the fixture in
|
|
40
|
+
* the same change so the test describes what ships, bump
|
|
41
|
+
* `INSTALL_CONTENT_VERSION`, and release.
|
|
42
|
+
*
|
|
43
|
+
* ## The prompt grammar
|
|
44
|
+
*
|
|
45
|
+
* A step's `prompt` is a string in `PromptBlock`'s grammar: a backticked run is
|
|
46
|
+
* a literal (a command, a JSON blob), and a line starting with `~` is the closing
|
|
47
|
+
* aside to the agent, dimmed on screen. Both marks are consumed by
|
|
48
|
+
* `PromptBlock`; the aside's words are copied with the rest (founder ruling
|
|
49
|
+
* 2026-10-05), the marks themselves are not.
|
|
50
|
+
*/
|
|
51
|
+
/** Which snapshot of the content this is. Bump it with any string edit. */
|
|
52
|
+
export declare const INSTALL_CONTENT_VERSION = 36;
|
|
53
|
+
/**
|
|
54
|
+
* The commands every pane shares, resolved. A command changes in one place:
|
|
55
|
+
* every step below reads it from here.
|
|
56
|
+
*/
|
|
57
|
+
export declare const INSTALL_COMMANDS: {
|
|
58
|
+
readonly MCP_NPX: "npx -y @cloudgrid-io/mcp";
|
|
59
|
+
readonly MCP_JSON: "{ \"mcpServers\": { \"cloudgrid\": { \"command\": \"npx\", \"args\": [\"-y\", \"@cloudgrid-io/mcp\"] } } }";
|
|
60
|
+
readonly MCP_CONNECTOR_URL: "https://mcp-connected.cloudgrid.io/mcp";
|
|
61
|
+
readonly CLI_INSTALL: "npm install -g @cloudgrid-io/cli";
|
|
62
|
+
readonly SKILLS_REPO: "https://github.com/cloudgrid-io/skills.git";
|
|
63
|
+
readonly SKILLS_ZIP: "https://github.com/cloudgrid-io/skills/archive/refs/heads/main.zip";
|
|
64
|
+
};
|
|
65
|
+
/** An install method. */
|
|
66
|
+
export type InstallMethodValue = "mcp" | "cli" | "skills";
|
|
67
|
+
/** A run of tools in the strip. */
|
|
68
|
+
export type InstallGroupValue = "code" | "chat";
|
|
69
|
+
/**
|
|
70
|
+
* A tool. These are the values the Console records in onboarding analytics
|
|
71
|
+
* (`tool_selected`), so they are stable identifiers, never display text, and
|
|
72
|
+
* renaming one splits the funnel. `gemini` is "Gemini CLI" on screen and
|
|
73
|
+
* `claude-web` is "Claude".
|
|
74
|
+
*/
|
|
75
|
+
export type InstallToolValue = "claude-code" | "cursor" | "codex" | "antigravity" | "gemini" | "chatgpt" | "claude-web";
|
|
76
|
+
/**
|
|
77
|
+
* A vendor mark, by its `TOOL_MARKS` key. Spelled out rather than derived from
|
|
78
|
+
* `TOOL_MARKS` so this module stays free of the React types that file carries;
|
|
79
|
+
* `cloudgrid-install.tsx` checks at compile time that every name here is a key
|
|
80
|
+
* there. Gemini's mark is keyed by the company product, "Google Gemini".
|
|
81
|
+
*/
|
|
82
|
+
export type InstallMarkName = "Claude Code" | "Cursor" | "Codex" | "Antigravity" | "Google Gemini" | "ChatGPT" | "Claude";
|
|
83
|
+
/** A glyph, by its role. The component maps each to a Phosphor icon. */
|
|
84
|
+
export type InstallIcon = "terminal" | "chat" | "github" | "download" | "external";
|
|
85
|
+
/**
|
|
86
|
+
* One run of body copy. A plain string, a `bold` run (a menu path, a folder),
|
|
87
|
+
* or a `code` run (a command typed inline).
|
|
88
|
+
*/
|
|
89
|
+
export type InstallTextRun = string | {
|
|
90
|
+
bold: string;
|
|
91
|
+
} | {
|
|
92
|
+
code: string;
|
|
93
|
+
};
|
|
94
|
+
export interface InstallLink {
|
|
95
|
+
label: string;
|
|
96
|
+
href: string;
|
|
97
|
+
icon?: InstallIcon;
|
|
98
|
+
/** Drawn as the primary action rather than a secondary one. */
|
|
99
|
+
primary?: boolean;
|
|
100
|
+
}
|
|
101
|
+
export interface InstallStep {
|
|
102
|
+
/** "Easiest", "Recommended", "Or". On the first step it makes the pane a set of choices. */
|
|
103
|
+
label?: string;
|
|
104
|
+
title: string;
|
|
105
|
+
body?: readonly InstallTextRun[];
|
|
106
|
+
/** A prompt for the agent, in `PromptBlock`'s grammar. */
|
|
107
|
+
prompt?: string;
|
|
108
|
+
/** One command to run. */
|
|
109
|
+
code?: string;
|
|
110
|
+
link?: InstallLink;
|
|
111
|
+
}
|
|
112
|
+
export interface InstallTool {
|
|
113
|
+
value: InstallToolValue;
|
|
114
|
+
label: string;
|
|
115
|
+
mark: InstallMarkName;
|
|
116
|
+
group: InstallGroupValue;
|
|
117
|
+
/**
|
|
118
|
+
* Keyed by method. A method a tool does not support is ABSENT, never an empty
|
|
119
|
+
* list: `ToolSetup` filters a tool off the strip when it has no steps for the
|
|
120
|
+
* selected method, which is how ChatGPT and Claude leave the CLI and Skills
|
|
121
|
+
* tabs.
|
|
122
|
+
*/
|
|
123
|
+
steps: Partial<Record<InstallMethodValue, readonly InstallStep[]>>;
|
|
124
|
+
}
|
|
125
|
+
export interface InstallMethod {
|
|
126
|
+
value: InstallMethodValue;
|
|
127
|
+
label: string;
|
|
128
|
+
}
|
|
129
|
+
export interface InstallGroup {
|
|
130
|
+
value: InstallGroupValue;
|
|
131
|
+
label: string;
|
|
132
|
+
/** The glyph drawn in place of the label. The label still names each tab. */
|
|
133
|
+
icon: InstallIcon;
|
|
134
|
+
}
|
|
135
|
+
export declare const INSTALL_METHODS: readonly InstallMethod[];
|
|
136
|
+
export declare const INSTALL_GROUPS: readonly InstallGroup[];
|
|
137
|
+
/**
|
|
138
|
+
* The panel's own heading. The title is a founder ruling of 2026-10-05; the sub
|
|
139
|
+
* is the line this library's install specimen has carried since #262.
|
|
140
|
+
*
|
|
141
|
+
* The integrations app's marketing headline ("CloudGrid MCP & CLI for any AI")
|
|
142
|
+
* and its wordmark and logo row are NOT here. They were a marketing page's hero,
|
|
143
|
+
* the library rejected them in #262, and the Console removed them in #758.
|
|
144
|
+
*/
|
|
145
|
+
export declare const INSTALL_HEADING: {
|
|
146
|
+
readonly title: "Plug CloudGrid into your AI tool";
|
|
147
|
+
readonly sub: "Pick how you want to connect, then the tool you work in";
|
|
148
|
+
};
|
|
149
|
+
/** The "Not sure?" line under the panel: one command an agent can act on. */
|
|
150
|
+
export declare const INSTALL_FETCH_PROMPT: {
|
|
151
|
+
readonly intro: "Not sure? Copy this prompt and paste it to your AI agent.";
|
|
152
|
+
readonly command: "fetch https://cloudgrid.io/agents to plug";
|
|
153
|
+
};
|
|
154
|
+
/** The source line under the panel. */
|
|
155
|
+
export declare const INSTALL_FOOTER: {
|
|
156
|
+
readonly note: string;
|
|
157
|
+
readonly links: readonly InstallLink[];
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* The seven tools, in the snapshot's order: five coding agents, then the two
|
|
161
|
+
* chat apps. The chat apps are MCP only, because there is no terminal to run a
|
|
162
|
+
* CLI in and nowhere to put skill files.
|
|
163
|
+
*/
|
|
164
|
+
export declare const INSTALL_TOOLS: readonly InstallTool[];
|
|
165
|
+
/**
|
|
166
|
+
* What a panel shows. Every former panel block is one of these: the content is
|
|
167
|
+
* the same everywhere, and a surface chooses which part of it is on screen.
|
|
168
|
+
*
|
|
169
|
+
* Lists are in the caller's order and the component keeps it. A tool not listed
|
|
170
|
+
* is not there; a method not listed is not offered.
|
|
171
|
+
*/
|
|
172
|
+
export interface InstallFilter {
|
|
173
|
+
tools?: readonly InstallToolValue[];
|
|
174
|
+
methods?: readonly InstallMethodValue[];
|
|
175
|
+
defaultTool?: InstallToolValue;
|
|
176
|
+
defaultMethod?: InstallMethodValue;
|
|
177
|
+
/** The "Not sure?" fetch prompt under the panel. */
|
|
178
|
+
showFetchPrompt?: boolean;
|
|
179
|
+
/** The source line and its two links. */
|
|
180
|
+
showFooter?: boolean;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* The named configurations, one per former panel block. The block each one
|
|
184
|
+
* replaces is named beside it so a surface migrating off the old embed can find
|
|
185
|
+
* its own.
|
|
186
|
+
*/
|
|
187
|
+
export declare const INSTALL_PRESETS: {
|
|
188
|
+
/** Block `integrations-hub`, which the old panel titled "Onboarding". The full panel. */
|
|
189
|
+
readonly hub: InstallFilter;
|
|
190
|
+
/** The Console's onboarding install step. It read `integrations-hub`, so it is `hub`. */
|
|
191
|
+
readonly onboarding: InstallFilter;
|
|
192
|
+
/** Block `console-new`: the Console's `/drop` page. The same seven tools, every method. */
|
|
193
|
+
readonly console: InstallFilter;
|
|
194
|
+
/** Block `make-game`: every tool and method, fetch prompt and footer. */
|
|
195
|
+
readonly makeGame: InstallFilter;
|
|
196
|
+
/** Block `make-app-agent`: the five coding agents only. */
|
|
197
|
+
readonly makeAppAgent: {
|
|
198
|
+
readonly tools: InstallToolValue[];
|
|
199
|
+
readonly methods?: readonly InstallMethodValue[];
|
|
200
|
+
readonly defaultTool?: InstallToolValue;
|
|
201
|
+
readonly defaultMethod?: InstallMethodValue;
|
|
202
|
+
readonly showFetchPrompt?: boolean;
|
|
203
|
+
readonly showFooter?: boolean;
|
|
204
|
+
};
|
|
205
|
+
/** Block `make-deck-page`: the two chat apps, MCP only, no footer. */
|
|
206
|
+
readonly makeDeckPage: {
|
|
207
|
+
readonly tools: InstallToolValue[];
|
|
208
|
+
readonly methods: readonly ["mcp"];
|
|
209
|
+
readonly defaultTool: "chatgpt";
|
|
210
|
+
readonly defaultMethod: "mcp";
|
|
211
|
+
readonly showFetchPrompt: true;
|
|
212
|
+
readonly showFooter: false;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* A single tool's panel: blocks `install-claude-code`, `install-cursor`,
|
|
217
|
+
* `install-codex`, `install-antigravity`, `install-gemini`, `install-chatgpt`
|
|
218
|
+
* and `install-claude` (whose tool is `claude-web`).
|
|
219
|
+
*
|
|
220
|
+
* The methods are the ones the tool has steps for, so ChatGPT and Claude get MCP
|
|
221
|
+
* alone, and a single method draws no method control. No fetch prompt and no
|
|
222
|
+
* footer: the old single-tool blocks had neither.
|
|
223
|
+
*
|
|
224
|
+
* The fetch-prompt block, the thirteenth, is not a panel at all. It is
|
|
225
|
+
* `CloudGridFetchPrompt` with `showIntro={false}`.
|
|
226
|
+
*/
|
|
227
|
+
export declare function installToolPreset(tool: InstallToolValue): InstallFilter;
|
|
228
|
+
//# sourceMappingURL=install-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install-content.d.ts","sourceRoot":"","sources":["../../src/blocks/install-content.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAEH,2EAA2E;AAC3E,eAAO,MAAM,uBAAuB,KAAK,CAAA;AAEzC;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;CAQnB,CAAA;AAKV,yBAAyB;AACzB,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAA;AAEzD,mCAAmC;AACnC,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAA;AAE/C;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GACxB,aAAa,GACb,QAAQ,GACR,OAAO,GACP,aAAa,GACb,QAAQ,GACR,SAAS,GACT,YAAY,CAAA;AAEhB;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GACvB,aAAa,GACb,QAAQ,GACR,OAAO,GACP,aAAa,GACb,eAAe,GACf,SAAS,GACT,QAAQ,CAAA;AAEZ,wEAAwE;AACxE,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAA;AAElF;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAEzE,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,+DA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