@flamingo-stack/openframe-frontend-core 0.0.801 → 0.0.803
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-7MV23NNT.cjs → chunk-2X3N6MSR.cjs} +88 -0
- package/dist/{chunk-XYPNYTCV.cjs → chunk-6JVNUGN3.cjs} +3 -3
- package/dist/{chunk-3W2PBWD5.cjs → chunk-CACULEQS.cjs} +4 -4
- package/dist/{chunk-Z66FOMSA.cjs → chunk-H4T3YHYH.cjs} +646 -643
- package/dist/{chunk-SHOE6ATQ.cjs → chunk-HEMZOHNB.cjs} +13 -13
- package/dist/{chunk-QAUQYQWT.cjs → chunk-HVWMPUXK.cjs} +6 -6
- package/dist/{chunk-PY6SPYUR.cjs → chunk-I4BODSPV.cjs} +3 -3
- package/dist/{chunk-CRVXQYUZ.cjs → chunk-IE3CPPHJ.cjs} +24 -24
- package/dist/{chunk-E56LN23H.cjs → chunk-IYWX4GOG.cjs} +35 -13
- package/dist/{chunk-LEEBFBI4.cjs → chunk-JTDOBGKE.cjs} +41 -41
- package/dist/{chunk-QNIUDJAK.cjs → chunk-KVL3QRFX.cjs} +9 -9
- package/dist/{chunk-LOCJD7TD.cjs → chunk-MBZIARIL.cjs} +12 -12
- package/dist/{chunk-YUGX72P4.cjs → chunk-MII4RDO4.cjs} +61 -61
- package/dist/{chunk-PJMLRXAG.cjs → chunk-NNQXP2ZM.cjs} +6 -6
- package/dist/{chunk-BWR5ACK3.cjs → chunk-OG4XH6C5.cjs} +3 -1
- package/dist/{chunk-3YPEXJVQ.cjs → chunk-QFBRQ22U.cjs} +41 -41
- package/dist/{chunk-DYDS2P5G.cjs → chunk-T7B3FJY6.cjs} +2 -2
- package/dist/{chunk-DTBIIFZG.cjs → chunk-TELXF5WD.cjs} +14 -14
- package/dist/{chunk-7E4BC3AF.cjs → chunk-TVAU56UU.cjs} +46 -39
- package/dist/{chunk-THQKEA2T.cjs → chunk-VKSO3UYU.cjs} +26 -26
- package/dist/{chunk-CJSUMYTH.cjs → chunk-XOFGPSNP.cjs} +21 -21
- package/dist/{chunk-237MLBT7.cjs → chunk-YKQGYAG5.cjs} +55 -55
- package/dist/{cloud-tenants-X7QHAIX2.cjs → cloud-tenants-GKCZSLEV.cjs} +8 -8
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/approval-batch-message.d.ts +3 -1
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/approval-batch-message.js +88 -0
- package/dist/components/chat/chat-composer.d.ts +3 -1
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.js +2 -0
- package/dist/components/chat/chat-context-memory-bar.d.ts +7 -1
- package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
- package/dist/components/chat/chat-context-memory-bar.js +11 -5
- package/dist/components/chat/embeddable-chat.d.ts +3 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +1 -0
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/features/board/ticket-card.js +5 -5
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/help-center-pages/download-apps-page.d.ts +9 -2
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +39 -15
- package/dist/components/help-center-pages/index.cjs +121 -96
- package/dist/components/index.cjs +44 -44
- package/dist/components/layout/page-layout.d.ts +1 -1
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +4 -2
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/layout/title-block.js +21 -2
- package/dist/components/meeting-scheduler/index.cjs +45 -45
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +19 -19
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/data-table/data-table-body.d.ts +6 -1
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.js +3 -1
- package/dist/components/ui/device-card.d.ts +6 -1
- package/dist/components/ui/device-card.d.ts.map +1 -1
- package/dist/components/ui/device-card.js +2 -1
- package/dist/components/ui/index.cjs +8 -8
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +15 -12
- package/dist/{devices-VBFYZVVG.cjs → devices-XIXLFYRJ.cjs} +9 -9
- package/dist/{embeddable-chat-XZDZOHFY.cjs → embeddable-chat-SVDMLAER.cjs} +63 -62
- package/dist/hooks/index.cjs +2 -2
- package/dist/index.cjs +14 -12
- package/dist/{knowledge-RJZJFD2Y.cjs → knowledge-3DKG5QG2.cjs} +9 -9
- package/dist/{logs-3WZ4GROE.cjs → logs-RIU2TTRZ.cjs} +16 -16
- package/dist/{policies-E6WQEXDF.cjs → policies-F2ZB2J4L.cjs} +12 -12
- package/dist/{remote-session-4LYKEZSY.cjs → remote-session-GBMM5UPQ.cjs} +4 -4
- package/dist/{scripts-JLCM42F4.cjs → scripts-XX5LMCRA.cjs} +15 -15
- package/dist/{software-update-BVBHAROC.cjs → software-update-VYBM7SC6.cjs} +12 -12
- package/dist/{tickets-board-3FBVYSXR.cjs → tickets-board-5QIIA24E.cjs} +7 -7
- package/dist/types/downloads.d.ts +5 -0
- package/dist/types/downloads.d.ts.map +1 -1
- package/dist/types/downloads.js +3 -1
- package/dist/types/index.cjs +2 -0
- package/package.json +1 -1
- package/src/components/chat/approval-batch-message.tsx +109 -1
- package/src/components/chat/chat-composer.tsx +4 -0
- package/src/components/chat/chat-context-memory-bar.tsx +28 -5
- package/src/components/chat/embeddable-chat.tsx +4 -0
- package/src/components/features/board/ticket-card.tsx +7 -6
- package/src/components/help-center-pages/download-apps-page.tsx +42 -13
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +22 -3
- package/src/components/ui/data-table/data-table-body.tsx +9 -0
- package/src/components/ui/device-card.tsx +7 -1
- package/src/components/ui/page-actions.tsx +28 -14
- package/src/types/downloads.ts +6 -0
|
@@ -4,9 +4,11 @@ import { forwardRef, useState } from 'react';
|
|
|
4
4
|
import type { HTMLAttributes } from 'react';
|
|
5
5
|
import { cn } from '../../utils/cn';
|
|
6
6
|
import { CheckCircleIcon, DotsLoaderIcon, XmarkCircleIcon } from '../icons-v2-generated';
|
|
7
|
+
import { MediaSkeleton, TextLineSkeleton } from '../loading/unified-skeleton';
|
|
7
8
|
import type { ToolType } from '../platform';
|
|
8
9
|
import { ToolIcon } from '../tool-icon';
|
|
9
10
|
import { Button } from '../ui/button';
|
|
11
|
+
import { useLoadingScope } from '../ui/loading-scope';
|
|
10
12
|
import { StatusLine } from '../ui/status-line';
|
|
11
13
|
import { CHAT_BLOCK_CLASS, CHAT_BLOCK_FRAME_CLASS } from './chat-block-frame';
|
|
12
14
|
import { ExpandChevron } from './expand-chevron';
|
|
@@ -22,7 +24,9 @@ import type {
|
|
|
22
24
|
import { COMMAND_BODY_ARG_KEYS, getCommandText } from './utils/tool-call-helpers';
|
|
23
25
|
|
|
24
26
|
export interface ApprovalBatchMessageProps extends HTMLAttributes<HTMLDivElement> {
|
|
25
|
-
|
|
27
|
+
/** The batch. `null` is a batch still being read (a list's loading row): the block draws its own loading form, as
|
|
28
|
+
* it does in a loading scope. */
|
|
29
|
+
data: ApprovalBatchSegment['data'] | null;
|
|
26
30
|
status?: ApprovalBatchSegment['status'];
|
|
27
31
|
onApprove?: (requestId?: string) => void | boolean | Promise<void | boolean>;
|
|
28
32
|
onReject?: (requestId?: string) => void | boolean | Promise<void | boolean>;
|
|
@@ -191,6 +195,96 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
191
195
|
);
|
|
192
196
|
}
|
|
193
197
|
|
|
198
|
+
/**
|
|
199
|
+
* The block while its batch is read. Admin: the frame, ONE command row (a typical batch holds one; its command a
|
|
200
|
+
* two-line clamp, so two bars), and the footer with one explanation line, the waiting line and the Approve / Reject
|
|
201
|
+
* buttons (real and inert: static copy). Client (the Fae card): one title line, the waiting line and the buttons.
|
|
202
|
+
*/
|
|
203
|
+
const ApprovalBatchLoading = forwardRef<
|
|
204
|
+
HTMLDivElement,
|
|
205
|
+
HTMLAttributes<HTMLDivElement> & { showFooterActions: boolean; variant: ApprovalBlockVariant }
|
|
206
|
+
>(({ className, showFooterActions, variant, ...props }, ref) =>
|
|
207
|
+
variant === 'client' ? (
|
|
208
|
+
<div ref={ref} aria-hidden className={cn('mb-[var(--spacing-system-xsf)]', CHAT_BLOCK_CLASS, className)} {...props}>
|
|
209
|
+
<p className="w-full text-h4">
|
|
210
|
+
<TextLineSkeleton type="inherit" as="span" className="inline-block w-3/4 align-middle" />
|
|
211
|
+
</p>
|
|
212
|
+
{showFooterActions && <ApprovalWaitingLine />}
|
|
213
|
+
{showFooterActions && (
|
|
214
|
+
<div className="flex w-full items-center gap-[var(--spacing-system-xsf)]">
|
|
215
|
+
<Button
|
|
216
|
+
size="small-legacy"
|
|
217
|
+
variant="accent"
|
|
218
|
+
tabIndex={-1}
|
|
219
|
+
className="h-8 px-[var(--spacing-system-xsf)] text-h5"
|
|
220
|
+
>
|
|
221
|
+
Approve
|
|
222
|
+
</Button>
|
|
223
|
+
<Button
|
|
224
|
+
size="small-legacy"
|
|
225
|
+
variant="outline"
|
|
226
|
+
tabIndex={-1}
|
|
227
|
+
className="h-8 px-[var(--spacing-system-xsf)] text-h5"
|
|
228
|
+
>
|
|
229
|
+
Reject
|
|
230
|
+
</Button>
|
|
231
|
+
</div>
|
|
232
|
+
)}
|
|
233
|
+
</div>
|
|
234
|
+
) : (
|
|
235
|
+
<div
|
|
236
|
+
ref={ref}
|
|
237
|
+
aria-hidden
|
|
238
|
+
className={cn('mb-[var(--spacing-system-xsf)] flex flex-col overflow-hidden', CHAT_BLOCK_FRAME_CLASS, className)}
|
|
239
|
+
{...props}
|
|
240
|
+
>
|
|
241
|
+
<div className="flex w-full flex-col items-start bg-ods-card">
|
|
242
|
+
<Button variant="row" type="button" tabIndex={-1}>
|
|
243
|
+
<div className="flex h-5 w-5 shrink-0 items-center justify-center">
|
|
244
|
+
<MediaSkeleton.Icon size="sm" />
|
|
245
|
+
</div>
|
|
246
|
+
<div className="flex min-w-0 flex-1 flex-col text-h6">
|
|
247
|
+
<TextLineSkeleton type="inherit" className="w-full" />
|
|
248
|
+
<TextLineSkeleton type="inherit" className="w-2/3" />
|
|
249
|
+
</div>
|
|
250
|
+
<div className="flex h-5 w-5 shrink-0 items-center justify-center">
|
|
251
|
+
<ExpandChevron expanded={false} />
|
|
252
|
+
</div>
|
|
253
|
+
</Button>
|
|
254
|
+
</div>
|
|
255
|
+
<div className="flex flex-col items-start justify-center gap-[var(--spacing-system-xsf)] border-t border-ods-border p-[var(--spacing-system-sf)]">
|
|
256
|
+
<ul className="w-full list-disc pl-5 text-ods-text-primary text-h6">
|
|
257
|
+
<li>
|
|
258
|
+
<TextLineSkeleton type="inherit" as="span" className="inline-block w-3/4 align-middle" />
|
|
259
|
+
</li>
|
|
260
|
+
</ul>
|
|
261
|
+
{showFooterActions && <ApprovalWaitingLine />}
|
|
262
|
+
{showFooterActions && (
|
|
263
|
+
<div className="flex items-center gap-[var(--spacing-system-xsf)]">
|
|
264
|
+
<Button
|
|
265
|
+
size="small-legacy"
|
|
266
|
+
variant="accent"
|
|
267
|
+
tabIndex={-1}
|
|
268
|
+
className="h-8 px-[var(--spacing-system-xsf)] text-h5"
|
|
269
|
+
>
|
|
270
|
+
Approve
|
|
271
|
+
</Button>
|
|
272
|
+
<Button
|
|
273
|
+
size="small-legacy"
|
|
274
|
+
variant="outline"
|
|
275
|
+
tabIndex={-1}
|
|
276
|
+
className="h-8 px-[var(--spacing-system-xsf)] text-h5"
|
|
277
|
+
>
|
|
278
|
+
Reject
|
|
279
|
+
</Button>
|
|
280
|
+
</div>
|
|
281
|
+
)}
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
),
|
|
285
|
+
);
|
|
286
|
+
ApprovalBatchLoading.displayName = 'ApprovalBatchLoading';
|
|
287
|
+
|
|
194
288
|
const ApprovalBatchMessage = forwardRef<HTMLDivElement, ApprovalBatchMessageProps>(
|
|
195
289
|
(
|
|
196
290
|
{
|
|
@@ -212,6 +306,20 @@ const ApprovalBatchMessage = forwardRef<HTMLDivElement, ApprovalBatchMessageProp
|
|
|
212
306
|
const [expandedId, setExpandedId] = useState<string | null>(null);
|
|
213
307
|
const [isProcessing, setIsProcessing] = useState(false);
|
|
214
308
|
const isClient = variant === 'client';
|
|
309
|
+
// ONE switch: in a loading scope, or with no batch yet, the block is its own loading form (the null check sits in
|
|
310
|
+
// the condition itself, so `data` is narrowed below it).
|
|
311
|
+
const inLoadingScope = useLoadingScope();
|
|
312
|
+
if (inLoadingScope || data === null) {
|
|
313
|
+
return (
|
|
314
|
+
<ApprovalBatchLoading
|
|
315
|
+
ref={ref}
|
|
316
|
+
className={className}
|
|
317
|
+
variant={variant}
|
|
318
|
+
showFooterActions={showFooterActions}
|
|
319
|
+
{...props}
|
|
320
|
+
/>
|
|
321
|
+
);
|
|
322
|
+
}
|
|
215
323
|
|
|
216
324
|
const explanations = data.toolCalls.map(c => c.toolExplanation?.trim()).filter((s): s is string => !!s);
|
|
217
325
|
|
|
@@ -61,6 +61,8 @@ export interface ChatComposerProps {
|
|
|
61
61
|
contextMemoryItems?: ChatContextItem[];
|
|
62
62
|
/** Drop one entity from the context memory (dropdown row ×). */
|
|
63
63
|
onRemoveContextMemoryItem?: (item: ChatContextItem) => void;
|
|
64
|
+
/** The host is reading a record it will add to the context memory: the empty strip draws its loading form. */
|
|
65
|
+
contextMemoryPending?: boolean;
|
|
64
66
|
/** Controlled picker open state. */
|
|
65
67
|
contextPickerOpen?: boolean;
|
|
66
68
|
/** Open the picker (the `+` menu's "Assign Item"). */
|
|
@@ -109,6 +111,7 @@ export function ChatComposer({
|
|
|
109
111
|
onRemoveContextItem,
|
|
110
112
|
contextMemoryItems,
|
|
111
113
|
onRemoveContextMemoryItem,
|
|
114
|
+
contextMemoryPending,
|
|
112
115
|
contextPickerOpen = false,
|
|
113
116
|
onOpenContextPicker,
|
|
114
117
|
onCloseContextPicker,
|
|
@@ -217,6 +220,7 @@ export function ChatComposer({
|
|
|
217
220
|
<ChatContextMemoryBar
|
|
218
221
|
items={memory}
|
|
219
222
|
onRemove={onRemoveContextMemoryItem}
|
|
223
|
+
pending={contextMemoryPending}
|
|
220
224
|
resolveIcon={resolveContextIcon}
|
|
221
225
|
disabled={sending || locked}
|
|
222
226
|
className="rounded-t-md"
|
|
@@ -26,12 +26,17 @@ import { useEffect, useRef, useState } from 'react';
|
|
|
26
26
|
import { cn } from '../../utils/cn';
|
|
27
27
|
import { Ellipsis01Icon } from '../icons-v2-generated/interface/ellipsis-01-icon';
|
|
28
28
|
import { XmarkCircleIcon } from '../icons-v2-generated/signs-and-symbols/xmark-circle-icon';
|
|
29
|
+
import { TextLineSkeleton } from '../loading/unified-skeleton';
|
|
29
30
|
import { Button } from '../ui/button';
|
|
30
31
|
import { CONTEXT_ICON_CLASS, CONTEXT_LABEL_CLASS, CONTEXT_ROW_CLASS } from './context-items-list';
|
|
31
32
|
import type { ChatContextItem } from './types/context-item.types';
|
|
32
33
|
|
|
33
34
|
const itemKey = (item: { type: string; id: string }) => `${item.type}:${item.id}`;
|
|
34
35
|
|
|
36
|
+
/** The strip's box, loaded and loading. */
|
|
37
|
+
const MEMORY_STRIP_CLASS =
|
|
38
|
+
'relative flex items-center gap-[var(--spacing-system-xs)] border-b border-ods-border bg-ods-bg p-[var(--spacing-system-xs)]';
|
|
39
|
+
|
|
35
40
|
export interface ChatContextMemoryBarProps {
|
|
36
41
|
/** Remembered entities, most-recent-first. Empty → the bar renders nothing. */
|
|
37
42
|
items: ChatContextItem[];
|
|
@@ -43,6 +48,12 @@ export interface ChatContextMemoryBarProps {
|
|
|
43
48
|
resolveIcon?: (item: ChatContextItem) => ReactNode;
|
|
44
49
|
/** External disable (e.g. while a message is streaming). */
|
|
45
50
|
disabled?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The host is reading a record it will remember (a record page whose record has not answered yet). With nothing
|
|
53
|
+
* remembered so far the strip draws its loading form at its own height, so the composer does not grow when the
|
|
54
|
+
* record lands. Ignored once there are items.
|
|
55
|
+
*/
|
|
56
|
+
pending?: boolean;
|
|
46
57
|
className?: string;
|
|
47
58
|
}
|
|
48
59
|
|
|
@@ -51,6 +62,7 @@ export function ChatContextMemoryBar({
|
|
|
51
62
|
onRemove,
|
|
52
63
|
resolveIcon,
|
|
53
64
|
disabled = false,
|
|
65
|
+
pending = false,
|
|
54
66
|
className,
|
|
55
67
|
}: ChatContextMemoryBarProps) {
|
|
56
68
|
const [open, setOpen] = useState(false);
|
|
@@ -87,17 +99,28 @@ export function ChatContextMemoryBar({
|
|
|
87
99
|
};
|
|
88
100
|
}, [open]);
|
|
89
101
|
|
|
90
|
-
if (items.length === 0) return null;
|
|
102
|
+
if (items.length === 0 && !pending) return null;
|
|
103
|
+
|
|
104
|
+
if (items.length === 0) {
|
|
105
|
+
// The loading form: the strip's own box, its count line a bar and its trigger's place kept.
|
|
106
|
+
return (
|
|
107
|
+
<div aria-hidden className={cn(MEMORY_STRIP_CLASS, className)}>
|
|
108
|
+
<p className="min-w-0 flex-1 truncate text-ods-text-secondary text-h6">
|
|
109
|
+
<TextLineSkeleton type="inherit" as="span" className="w-48 max-w-full" />
|
|
110
|
+
</p>
|
|
111
|
+
<Button variant="bare" size="icon-sm" type="button" tabIndex={-1} className="invisible shrink-0">
|
|
112
|
+
<Ellipsis01Icon size={16} />
|
|
113
|
+
</Button>
|
|
114
|
+
</div>
|
|
115
|
+
);
|
|
116
|
+
}
|
|
91
117
|
|
|
92
118
|
return (
|
|
93
119
|
// `relative` anchors the popover to this strip; `bottom-full` floats it
|
|
94
120
|
// above, matching the context picker's placement over the input.
|
|
95
121
|
<div
|
|
96
122
|
ref={rootRef}
|
|
97
|
-
className={cn(
|
|
98
|
-
'relative flex items-center gap-[var(--spacing-system-xs)] border-b border-ods-border bg-ods-bg p-[var(--spacing-system-xs)]',
|
|
99
|
-
className,
|
|
100
|
-
)}
|
|
123
|
+
className={cn(MEMORY_STRIP_CLASS, className)}
|
|
101
124
|
onKeyDown={e => {
|
|
102
125
|
if (e.key === 'Escape' && open) {
|
|
103
126
|
e.preventDefault();
|
|
@@ -488,6 +488,9 @@ export interface EmbeddableChatProps {
|
|
|
488
488
|
contextMemory?: {
|
|
489
489
|
items: ChatContextItem[];
|
|
490
490
|
onRemove?: (item: ChatContextItem) => void;
|
|
491
|
+
/** A record the host will remember is still being read (a record page loading): the empty strip draws its
|
|
492
|
+
* loading form, so the composer does not grow when the record lands. */
|
|
493
|
+
pending?: boolean;
|
|
491
494
|
};
|
|
492
495
|
/**
|
|
493
496
|
* Host content pinned between the thread and the composer: the thread
|
|
@@ -3181,6 +3184,7 @@ function EmbeddableChatInner({
|
|
|
3181
3184
|
onRemoveContextItem={removeContextItem}
|
|
3182
3185
|
contextMemoryItems={contextMemory?.items}
|
|
3183
3186
|
onRemoveContextMemoryItem={contextMemory?.onRemove}
|
|
3187
|
+
contextMemoryPending={contextMemory?.pending}
|
|
3184
3188
|
contextPickerOpen={contextPickerOpen}
|
|
3185
3189
|
onOpenContextPicker={openContextPicker}
|
|
3186
3190
|
onCloseContextPicker={closeContextPicker}
|
|
@@ -619,8 +619,9 @@ function TicketTagRow({ tags }: { tags: string[] }) {
|
|
|
619
619
|
|
|
620
620
|
/**
|
|
621
621
|
* A board card while it is read: the card's own shell, its title and device lines as bars of their own type steps,
|
|
622
|
-
* the priority and assignee marks,
|
|
623
|
-
*
|
|
622
|
+
* the priority and assignee marks, the number and time line and the activity line ("No activity for 2 days"), in the
|
|
623
|
+
* body's order. A typical card has no tags (none of 70 measured tickets had one) and does have an activity line (every
|
|
624
|
+
* one did). The board card draws it itself (`ticket={null}` or a loading scope).
|
|
624
625
|
*/
|
|
625
626
|
function TicketCardSkeleton({ className, ...props }: { className?: string; [key: `data-${string}`]: unknown }) {
|
|
626
627
|
return (
|
|
@@ -638,11 +639,11 @@ function TicketCardSkeleton({ className, ...props }: { className?: string; [key:
|
|
|
638
639
|
<UnifiedSkeleton className="size-8 rounded-full" />
|
|
639
640
|
</div>
|
|
640
641
|
</div>
|
|
641
|
-
<div className="flex h-8 items-start gap-[var(--spacing-system-xxs)]">
|
|
642
|
-
<Tag loading label="" />
|
|
643
|
-
<Tag loading label="" />
|
|
644
|
-
</div>
|
|
645
642
|
<TextLineSkeleton type="h6" className={cn(TICKET_CARD_META_CLASS, 'w-1/3')} />
|
|
643
|
+
<div className="flex items-center gap-[var(--spacing-system-xxs)] text-h6">
|
|
644
|
+
<UnifiedSkeleton className="size-4 shrink-0 rounded-sm" />
|
|
645
|
+
<TextLineSkeleton type="inherit" className="w-1/2" />
|
|
646
|
+
</div>
|
|
646
647
|
</div>
|
|
647
648
|
);
|
|
648
649
|
}
|
|
@@ -45,6 +45,7 @@ import {
|
|
|
45
45
|
DOWNLOADS_MOBILE_TITLE,
|
|
46
46
|
DOWNLOADS_TAGLINE,
|
|
47
47
|
DOWNLOADS_TITLE,
|
|
48
|
+
OPEN_APP_LABEL,
|
|
48
49
|
type AppDownload,
|
|
49
50
|
type DownloadActionEvent,
|
|
50
51
|
type DownloadsPublic,
|
|
@@ -58,6 +59,7 @@ import { CommandBox } from '../features/command-box';
|
|
|
58
59
|
import { AppleLogoIcon } from '../icons-v2-generated/brand-logos/apple-logo-icon';
|
|
59
60
|
import { WindowsLogoGreyIcon } from '../icons-v2-generated/brand-logos/windows-logo-grey-icon';
|
|
60
61
|
import { Download01Icon } from '../icons-v2-generated/interface/download-01-icon';
|
|
62
|
+
import { ExternalLinkIcon } from '../icons-v2-generated/interface/external-link-icon';
|
|
61
63
|
import { PageShell } from '../layout/article-detail-layout';
|
|
62
64
|
import { PageLayout } from '../layout/page-layout';
|
|
63
65
|
import { LoadingRegion } from '../loading/loading-region';
|
|
@@ -88,6 +90,13 @@ export interface DownloadAppsPageProps {
|
|
|
88
90
|
openStoresInNewTab?: boolean;
|
|
89
91
|
/** Called when a visitor downloads an installer or copies an install command (the host's analytics). */
|
|
90
92
|
onDownloadAction?: (event: DownloadActionEvent) => void;
|
|
93
|
+
/**
|
|
94
|
+
* Once an installer is downloaded, the link that opens the app it installs, which then stands in
|
|
95
|
+
* for that row's download button ("Open the app"); nothing keeps the download. The host decides
|
|
96
|
+
* both, as it is the one that knows a download happened (the website tags each click with the
|
|
97
|
+
* id the link carries). Absent: every installer stays a download.
|
|
98
|
+
*/
|
|
99
|
+
openAppHref?: (download: AppDownload) => string | null | undefined;
|
|
91
100
|
/** The closing card, under the mobile app: using OpenFrame without installing anything. Default: none. */
|
|
92
101
|
web?: DownloadAppsWebOption;
|
|
93
102
|
/**
|
|
@@ -184,9 +193,11 @@ function installerLabel(download: AppDownload, siblings: number): string {
|
|
|
184
193
|
function SystemCard({
|
|
185
194
|
system,
|
|
186
195
|
onDownloadAction,
|
|
196
|
+
openAppHref,
|
|
187
197
|
}: {
|
|
188
198
|
system: SystemRows;
|
|
189
199
|
onDownloadAction?: DownloadAppsPageProps['onDownloadAction'];
|
|
200
|
+
openAppHref?: DownloadAppsPageProps['openAppHref'];
|
|
190
201
|
}) {
|
|
191
202
|
const { copy } = useCopyToClipboard({
|
|
192
203
|
successTitle: 'Copied',
|
|
@@ -204,18 +215,30 @@ function SystemCard({
|
|
|
204
215
|
/>
|
|
205
216
|
{system.installers.length > 0 && (
|
|
206
217
|
<div className={BUTTONS_CLASS}>
|
|
207
|
-
{system.installers.map((download, index) =>
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
218
|
+
{system.installers.map((download, index) => {
|
|
219
|
+
const openApp = openAppHref?.(download);
|
|
220
|
+
return openApp ? (
|
|
221
|
+
<Button
|
|
222
|
+
key={download.id}
|
|
223
|
+
variant={index === 0 ? 'accent' : 'outline'}
|
|
224
|
+
href={openApp}
|
|
225
|
+
leftIcon={<ExternalLinkIcon className="h-5 w-5" />}
|
|
226
|
+
>
|
|
227
|
+
{OPEN_APP_LABEL}
|
|
228
|
+
</Button>
|
|
229
|
+
) : (
|
|
230
|
+
<Button
|
|
231
|
+
key={download.id}
|
|
232
|
+
variant={index === 0 ? 'accent' : 'outline'}
|
|
233
|
+
href={download.url ?? undefined}
|
|
234
|
+
download
|
|
235
|
+
leftIcon={<Download01Icon className="h-5 w-5" />}
|
|
236
|
+
onClick={() => report('installer', download)}
|
|
237
|
+
>
|
|
238
|
+
{installerLabel(download, system.installers.length)}
|
|
239
|
+
</Button>
|
|
240
|
+
);
|
|
241
|
+
})}
|
|
219
242
|
</div>
|
|
220
243
|
)}
|
|
221
244
|
{system.commands.length > 0 && (
|
|
@@ -348,6 +371,7 @@ export function DownloadAppsPage({
|
|
|
348
371
|
showDesktop = true,
|
|
349
372
|
openStoresInNewTab = true,
|
|
350
373
|
onDownloadAction,
|
|
374
|
+
openAppHref,
|
|
351
375
|
web,
|
|
352
376
|
faq,
|
|
353
377
|
}: DownloadAppsPageProps) {
|
|
@@ -386,7 +410,12 @@ export function DownloadAppsPage({
|
|
|
386
410
|
<Section id="download-desktop" title="Desktop app">
|
|
387
411
|
<div className={cardsGridClass(systems.length)}>
|
|
388
412
|
{systems.map(system => (
|
|
389
|
-
<SystemCard
|
|
413
|
+
<SystemCard
|
|
414
|
+
key={system.os}
|
|
415
|
+
system={system}
|
|
416
|
+
onDownloadAction={onDownloadAction}
|
|
417
|
+
openAppHref={openAppHref}
|
|
418
|
+
/>
|
|
390
419
|
))}
|
|
391
420
|
</div>
|
|
392
421
|
</Section>
|
|
@@ -85,7 +85,7 @@ export interface PageLayoutProps {
|
|
|
85
85
|
* ellipsis clamp (forwarded to `TitleBlock`). For content detail pages whose h1 is CMS
|
|
86
86
|
* data of arbitrary length. Additive + default-preserving. */
|
|
87
87
|
titleWrap?: boolean;
|
|
88
|
-
/**
|
|
88
|
+
/** The loading title's lines per breakpoint (forwarded to `TitleBlock`). */
|
|
89
89
|
titleSkeletonLines?: TextLinesByBreakpoint;
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -169,8 +169,10 @@ export interface TitleBlockProps {
|
|
|
169
169
|
* Additive + default-preserving: omit it and every existing caller is byte-identical. */
|
|
170
170
|
titleWrap?: boolean;
|
|
171
171
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
172
|
+
* The lines a typical title of the page takes per breakpoint, drawn by the loading title (a record's title is read; a
|
|
173
|
+
* long one growing past them is a settle). Absent: one bar. Without `titleWrap` the loaded title wraps where the
|
|
174
|
+
* window is narrow, so the lines follow the viewport step (`phone` below `md`): a caller states `md: 1, lg: 1` and
|
|
175
|
+
* the phone count it measured.
|
|
174
176
|
*/
|
|
175
177
|
titleSkeletonLines?: TextLinesByBreakpoint;
|
|
176
178
|
}
|
|
@@ -247,8 +249,25 @@ export function TitleBlock({
|
|
|
247
249
|
subtitleLoading ? null : subtitle,
|
|
248
250
|
);
|
|
249
251
|
const titleNode =
|
|
250
|
-
titleLoading &&
|
|
252
|
+
titleLoading && titleSkeletonLines && titleWrap ? (
|
|
251
253
|
<TextLinesByBreakpointSkeleton as="span" lines={titleSkeletonLines} />
|
|
254
|
+
) : titleLoading && titleSkeletonLines ? (
|
|
255
|
+
// An unclamped title wraps where the WINDOW is narrow (a phone), not where a docked panel narrows the content:
|
|
256
|
+
// its loading lines follow the viewport step, the phone count below `md` and the `md` count above it.
|
|
257
|
+
<>
|
|
258
|
+
<span className="contents md:hidden">
|
|
259
|
+
<TextLinesByBreakpointSkeleton
|
|
260
|
+
as="span"
|
|
261
|
+
lines={{ phone: titleSkeletonLines.phone, md: titleSkeletonLines.phone, lg: titleSkeletonLines.phone }}
|
|
262
|
+
/>
|
|
263
|
+
</span>
|
|
264
|
+
<span className="hidden md:contents">
|
|
265
|
+
<TextLinesByBreakpointSkeleton
|
|
266
|
+
as="span"
|
|
267
|
+
lines={{ phone: titleSkeletonLines.md, md: titleSkeletonLines.md, lg: titleSkeletonLines.lg }}
|
|
268
|
+
/>
|
|
269
|
+
</span>
|
|
270
|
+
</>
|
|
252
271
|
) : titleLoading ? (
|
|
253
272
|
<UnifiedSkeleton
|
|
254
273
|
as="span"
|
|
@@ -98,6 +98,11 @@ export interface DataTableBodyProps<T = unknown> {
|
|
|
98
98
|
* Interactive content inside must carry `data-no-row-click`.
|
|
99
99
|
*/
|
|
100
100
|
renderSubRow?: (item: T) => ReactNode;
|
|
101
|
+
/**
|
|
102
|
+
* While loading (`loadingCells`), call `renderSubRow` for each placeholder row too, so a host whose typical row has
|
|
103
|
+
* a sub-row draws its loading form below every loading row. Off by default: a host's sub-row may read the row.
|
|
104
|
+
*/
|
|
105
|
+
loadingSubRows?: boolean;
|
|
101
106
|
}
|
|
102
107
|
|
|
103
108
|
/** Server snapshot: no page is loading during a server render. */
|
|
@@ -124,6 +129,7 @@ export function DataTableBody<T = unknown>({
|
|
|
124
129
|
rowHref,
|
|
125
130
|
minRows,
|
|
126
131
|
renderSubRow,
|
|
132
|
+
loadingSubRows = false,
|
|
127
133
|
}: DataTableBodyProps<T>) {
|
|
128
134
|
const table = useDataTableContext<T>();
|
|
129
135
|
const skeletonRows =
|
|
@@ -161,6 +167,9 @@ export function DataTableBody<T = unknown>({
|
|
|
161
167
|
compact={compact}
|
|
162
168
|
rowHeightClassName={rowHeightClassName}
|
|
163
169
|
className={typeof rowClassName === 'function' ? rowClassName(row.original, index) : rowClassName}
|
|
170
|
+
// Opted in (`loadingSubRows`): a loading row carries what its host draws below a typical row (an approval
|
|
171
|
+
// block), in its loading form.
|
|
172
|
+
subRow={loadingSubRows ? renderSubRow?.(row.original) : undefined}
|
|
164
173
|
data-loading-item
|
|
165
174
|
/>
|
|
166
175
|
))}
|
|
@@ -77,6 +77,11 @@ export interface DeviceCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
77
77
|
* scope does the same. The card's `data-*` markers (`data-loading-item`) ride on its root in both forms.
|
|
78
78
|
*/
|
|
79
79
|
loading?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Whether the card lists the device's tags (default true). A card that never lists them (the device a log or a
|
|
82
|
+
* ticket names) passes false, so its loading form draws no tags row either.
|
|
83
|
+
*/
|
|
84
|
+
showTags?: boolean;
|
|
80
85
|
}
|
|
81
86
|
|
|
82
87
|
export function DeviceCard({
|
|
@@ -87,6 +92,7 @@ export function DeviceCard({
|
|
|
87
92
|
statusTag,
|
|
88
93
|
onDeviceClick,
|
|
89
94
|
loading: loadingProp,
|
|
95
|
+
showTags = true,
|
|
90
96
|
className,
|
|
91
97
|
...props
|
|
92
98
|
}: DeviceCardProps) {
|
|
@@ -216,7 +222,7 @@ export function DeviceCard({
|
|
|
216
222
|
|
|
217
223
|
{/* Tags section: the card sits in a grid's first screen, so its row is drawn while loading too (one tag, a
|
|
218
224
|
typical device's), never left to land later. A device with no tags draws no row once loaded. */}
|
|
219
|
-
{loading ? (
|
|
225
|
+
{!showTags ? null : loading ? (
|
|
220
226
|
<div className={DEVICE_CARD_TAGS_ROW_CLASS}>
|
|
221
227
|
<Tag loading label="" variant="outline" data-loading-item />
|
|
222
228
|
</div>
|
|
@@ -279,8 +279,9 @@ const ACTIONS_GAP = 'gap-[var(--spacing-system-xs)]';
|
|
|
279
279
|
* and an inert control promises nothing and cannot act on a wrong assumption before the data lands. The "…" trigger
|
|
280
280
|
* is drawn the same way (`ActionsMenuDropdown loading`).
|
|
281
281
|
*
|
|
282
|
-
* An empty list is the one placeholder
|
|
283
|
-
* be drawn.
|
|
282
|
+
* An empty list is the one placeholder, and only on `loading`: it means the action set is unknown, not known-empty, so
|
|
283
|
+
* nothing real can be drawn. A loading scope alone does not: a page that knows its actions while it loads (a list
|
|
284
|
+
* page's header) draws them as passed, an empty set as nothing, exactly as it settles. Its shape is what an empty header settles into for the variant: `icon-buttons` and `menu-primary` the
|
|
284
285
|
* square "…" trigger (`icon`), `primary-buttons` a labelled button (`label`).
|
|
285
286
|
*/
|
|
286
287
|
function UnknownActionSkeleton({ shape, fullWidth }: { shape: 'icon' | 'label'; fullWidth?: boolean }) {
|
|
@@ -296,7 +297,8 @@ export function PageActions({
|
|
|
296
297
|
className,
|
|
297
298
|
loading: loadingProp,
|
|
298
299
|
}: PageActionsProps) {
|
|
299
|
-
|
|
300
|
+
// Each variant reads the loading scope itself; it gets the caller's own flag, which alone says the action set is
|
|
301
|
+
// not known yet.
|
|
300
302
|
if (variant === 'icon-buttons') {
|
|
301
303
|
return (
|
|
302
304
|
<IconButtonsVariant
|
|
@@ -304,7 +306,7 @@ export function PageActions({
|
|
|
304
306
|
menuActions={menuActions}
|
|
305
307
|
selector={selector}
|
|
306
308
|
className={className}
|
|
307
|
-
loading={
|
|
309
|
+
loading={loadingProp}
|
|
308
310
|
/>
|
|
309
311
|
);
|
|
310
312
|
}
|
|
@@ -316,12 +318,12 @@ export function PageActions({
|
|
|
316
318
|
menuActions={menuActions || []}
|
|
317
319
|
selector={selector}
|
|
318
320
|
className={className}
|
|
319
|
-
loading={
|
|
321
|
+
loading={loadingProp}
|
|
320
322
|
/>
|
|
321
323
|
);
|
|
322
324
|
}
|
|
323
325
|
|
|
324
|
-
return <PrimaryButtonsVariant actions={actions} className={className} loading={
|
|
326
|
+
return <PrimaryButtonsVariant actions={actions} className={className} loading={loadingProp} />;
|
|
325
327
|
}
|
|
326
328
|
|
|
327
329
|
function IconButtonsVariant({
|
|
@@ -338,6 +340,9 @@ function IconButtonsVariant({
|
|
|
338
340
|
loading?: boolean;
|
|
339
341
|
}) {
|
|
340
342
|
const loading = useLoadingScope() || loadingProp;
|
|
343
|
+
// The placeholder for an action set nobody knows yet: only when the caller says so (`loading`), never because a
|
|
344
|
+
// loading scope is on (a page that knows its actions draws them, an empty set included).
|
|
345
|
+
const unknownSet = !!loadingProp;
|
|
341
346
|
const desktopActions = actions.filter(a => !a.showOnlyMobile);
|
|
342
347
|
const hasMenuActions = !!menuActions && menuActions.some(g => g.items.length > 0);
|
|
343
348
|
|
|
@@ -357,7 +362,7 @@ function IconButtonsVariant({
|
|
|
357
362
|
<React.Fragment key={actionKey(action, idx)}>{renderActionButton(action, { inert: loading })}</React.Fragment>
|
|
358
363
|
))}
|
|
359
364
|
{/* An unknown set with no menu: the trigger's square. With a menu, the trigger already is it. */}
|
|
360
|
-
{
|
|
365
|
+
{unknownSet && desktopActions.length === 0 && !hasMenuActions && <UnknownActionSkeleton shape="icon" />}
|
|
361
366
|
{hasMenuActions && <ActionsMenuDropdown groups={menuActions} loading={loading} />}
|
|
362
367
|
</div>
|
|
363
368
|
|
|
@@ -367,7 +372,7 @@ function IconButtonsVariant({
|
|
|
367
372
|
renderActionButton(singleAction, { iconOnly: true, inert: loading })
|
|
368
373
|
) : hasMobileMenuItems ? (
|
|
369
374
|
<ActionsMenuDropdown groups={mobileMenuGroups} loading={loading} />
|
|
370
|
-
) :
|
|
375
|
+
) : unknownSet ? (
|
|
371
376
|
<UnknownActionSkeleton shape="icon" />
|
|
372
377
|
) : null}
|
|
373
378
|
</div>
|
|
@@ -395,6 +400,9 @@ function PrimaryButtonsVariant({
|
|
|
395
400
|
loading?: boolean;
|
|
396
401
|
}) {
|
|
397
402
|
const loading = useLoadingScope() || loadingProp;
|
|
403
|
+
// The placeholder for an action set nobody knows yet: only when the caller says so (`loading`), never because a
|
|
404
|
+
// loading scope is on (a page that knows its actions draws them, an empty set included).
|
|
405
|
+
const unknownSet = !!loadingProp;
|
|
398
406
|
// Sort: outline first, accent last (rightmost on desktop).
|
|
399
407
|
const sortedActions = [...actions].sort((a, b) => {
|
|
400
408
|
if (a.variant === 'accent' && b.variant !== 'accent') return 1;
|
|
@@ -413,15 +421,15 @@ function PrimaryButtonsVariant({
|
|
|
413
421
|
</React.Fragment>
|
|
414
422
|
))}
|
|
415
423
|
{/* No overflow trigger in this variant: an unknown action set settles into a labelled button. */}
|
|
416
|
-
{
|
|
424
|
+
{unknownSet && desktopActions.length === 0 && <UnknownActionSkeleton shape="label" />}
|
|
417
425
|
</div>
|
|
418
426
|
|
|
419
427
|
<div className={cn('hidden items-center md:content-max-md:flex', ACTIONS_GAP, className)}>
|
|
420
428
|
<CompactPrimaryActions actions={desktopActions} loading={loading} />
|
|
421
|
-
{
|
|
429
|
+
{unknownSet && desktopActions.length === 0 && <UnknownActionSkeleton shape="icon" />}
|
|
422
430
|
</div>
|
|
423
431
|
|
|
424
|
-
<MobileBottomActions actions={sortedActions} loading={
|
|
432
|
+
<MobileBottomActions actions={sortedActions} loading={loadingProp} />
|
|
425
433
|
</>
|
|
426
434
|
);
|
|
427
435
|
}
|
|
@@ -444,6 +452,9 @@ function MenuPrimaryVariant({
|
|
|
444
452
|
loading?: boolean;
|
|
445
453
|
}) {
|
|
446
454
|
const loading = useLoadingScope() || loadingProp;
|
|
455
|
+
// The placeholder for an action set nobody knows yet: only when the caller says so (`loading`), never because a
|
|
456
|
+
// loading scope is on (a page that knows its actions draws them, an empty set included).
|
|
457
|
+
const unknownSet = !!loadingProp;
|
|
447
458
|
const desktopActions = actions.filter(a => !a.showOnlyMobile);
|
|
448
459
|
const hasMenuActions = menuActions.some(g => g.items.length > 0);
|
|
449
460
|
|
|
@@ -461,7 +472,7 @@ function MenuPrimaryVariant({
|
|
|
461
472
|
</React.Fragment>
|
|
462
473
|
))}
|
|
463
474
|
{/* An unknown set with no menu: the trigger's square. With a menu, the trigger already is it. */}
|
|
464
|
-
{
|
|
475
|
+
{unknownSet && desktopActions.length === 0 && !hasMenuActions && <UnknownActionSkeleton shape="icon" />}
|
|
465
476
|
</div>
|
|
466
477
|
|
|
467
478
|
<div className={cn('flex content-md:hidden', className)}>
|
|
@@ -470,7 +481,7 @@ function MenuPrimaryVariant({
|
|
|
470
481
|
// title row has no room for it, and hiding it entirely (what
|
|
471
482
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
472
483
|
<ActionsMenuDropdown groups={mobileMenuGroups} header={selector} loading={loading} />
|
|
473
|
-
) :
|
|
484
|
+
) : unknownSet ? (
|
|
474
485
|
<UnknownActionSkeleton shape="icon" />
|
|
475
486
|
) : null}
|
|
476
487
|
</div>
|
|
@@ -502,6 +513,9 @@ function CompactPrimaryActions({ actions, loading: loadingProp }: { actions: Pag
|
|
|
502
513
|
|
|
503
514
|
function MobileBottomActions({ actions, loading: loadingProp }: { actions: PageActionButton[]; loading?: boolean }) {
|
|
504
515
|
const loading = useLoadingScope() || loadingProp;
|
|
516
|
+
// The placeholder for an action set nobody knows yet: only when the caller says so (`loading`), never because a
|
|
517
|
+
// loading scope is on (a page that knows its actions draws them, an empty set included).
|
|
518
|
+
const unknownSet = !!loadingProp;
|
|
505
519
|
return (
|
|
506
520
|
<div
|
|
507
521
|
className={cn(
|
|
@@ -519,7 +533,7 @@ function MobileBottomActions({ actions, loading: loadingProp }: { actions: PageA
|
|
|
519
533
|
{renderActionButton(action, { fullWidth: !!action.label, inert: loading })}
|
|
520
534
|
</React.Fragment>
|
|
521
535
|
))}
|
|
522
|
-
{
|
|
536
|
+
{unknownSet && actions.length === 0 && <UnknownActionSkeleton shape="label" fullWidth />}
|
|
523
537
|
</div>
|
|
524
538
|
);
|
|
525
539
|
}
|
package/src/types/downloads.ts
CHANGED
|
@@ -88,6 +88,12 @@ export const DOWNLOAD_ARCHITECTURE_LABELS: Record<string, string> = {
|
|
|
88
88
|
arm64: 'ARM',
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
+
/**
|
|
92
|
+
* The label of the button that replaces a download once the installer is on its way: it opens the
|
|
93
|
+
* app the visitor is installing. One wording for every place a host draws it.
|
|
94
|
+
*/
|
|
95
|
+
export const OPEN_APP_LABEL = 'Open the app';
|
|
96
|
+
|
|
91
97
|
/** What a host learns when a visitor takes an install action on the page. */
|
|
92
98
|
export interface DownloadActionEvent {
|
|
93
99
|
/** `installer`: a download button. `command`: a copied install command. */
|