@nadicodeai/ui 12.1.224 → 12.1.226
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/AGENTS.md +4 -1
- package/dist/components/action-menu.d.ts +4 -4
- package/dist/components/action-menu.d.ts.map +1 -1
- package/dist/components/action-menu.js +2 -2
- package/dist/components/agent-card.d.ts +2 -2
- package/dist/components/agent-card.js +2 -2
- package/dist/components/agent-profile.d.ts +2 -83
- package/dist/components/agent-profile.d.ts.map +1 -1
- package/dist/components/agent-profile.js +0 -46
- package/dist/components/badge.d.ts +2 -1
- package/dist/components/badge.d.ts.map +1 -1
- package/dist/components/badge.js +2 -1
- package/dist/components/brand.d.ts +1 -1
- package/dist/components/brand.d.ts.map +1 -1
- package/dist/components/brand.js +21 -2
- package/dist/components/card.d.ts +1 -1
- package/dist/components/card.js +1 -1
- package/dist/components/catalog-card.d.ts +1 -2
- package/dist/components/catalog-card.d.ts.map +1 -1
- package/dist/components/catalog-card.js +1 -2
- package/dist/components/chart-card.d.ts +2 -2
- package/dist/components/chart-card.d.ts.map +1 -1
- package/dist/components/chart-card.js +1 -1
- package/dist/components/check-counts.d.ts +3 -5
- package/dist/components/check-counts.d.ts.map +1 -1
- package/dist/components/check-counts.js +5 -7
- package/dist/components/collection-page.d.ts +6 -7
- package/dist/components/collection-page.d.ts.map +1 -1
- package/dist/components/collection-page.js +3 -3
- package/dist/components/data-table.d.ts +13 -21
- package/dist/components/data-table.d.ts.map +1 -1
- package/dist/components/data-table.js +57 -192
- package/dist/components/drawer-steps.d.ts +1 -1
- package/dist/components/drawer-steps.js +1 -1
- package/dist/components/dropdown-menu.d.ts +5 -4
- package/dist/components/dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu.js +7 -6
- package/dist/components/empty-state.d.ts +4 -1
- package/dist/components/empty-state.d.ts.map +1 -1
- package/dist/components/empty-state.js +5 -4
- package/dist/components/figure-row.d.ts +58 -0
- package/dist/components/figure-row.d.ts.map +1 -0
- package/dist/components/figure-row.js +41 -0
- package/dist/components/form-dialog.d.ts +1 -1
- package/dist/components/form-dialog.js +1 -1
- package/dist/components/form-drawer.d.ts +2 -2
- package/dist/components/form-drawer.js +2 -2
- package/dist/components/gauge.d.ts +2 -0
- package/dist/components/gauge.d.ts.map +1 -1
- package/dist/components/gauge.js +2 -0
- package/dist/components/icon-tile.d.ts +27 -0
- package/dist/components/icon-tile.d.ts.map +1 -0
- package/dist/components/icon-tile.js +18 -0
- package/dist/components/identity-mark.d.ts +3 -2
- package/dist/components/identity-mark.d.ts.map +1 -1
- package/dist/components/identity-mark.js +3 -10
- package/dist/components/kpi-card.d.ts +23 -6
- package/dist/components/kpi-card.d.ts.map +1 -1
- package/dist/components/kpi-card.js +11 -7
- package/dist/components/library-shelf.d.ts +1 -1
- package/dist/components/library-shelf.js +1 -1
- package/dist/components/menu-choice-row.d.ts +1 -2
- package/dist/components/menu-choice-row.d.ts.map +1 -1
- package/dist/components/menu-choice-row.js +1 -2
- package/dist/components/notice-banner.d.ts +1 -1
- package/dist/components/notice-banner.js +1 -1
- package/dist/components/numbered-steps.d.ts +1 -1
- package/dist/components/numbered-steps.js +1 -1
- package/dist/components/object-page.d.ts +33 -11
- package/dist/components/object-page.d.ts.map +1 -1
- package/dist/components/object-page.js +16 -11
- package/dist/components/object-workspace.d.ts +2 -2
- package/dist/components/object-workspace.js +2 -2
- package/dist/components/overview-page.d.ts +6 -1
- package/dist/components/overview-page.d.ts.map +1 -1
- package/dist/components/page-actions.d.ts +16 -15
- package/dist/components/page-actions.d.ts.map +1 -1
- package/dist/components/page-actions.js +9 -7
- package/dist/components/page-frame.d.ts +1 -1
- package/dist/components/page-frame.js +1 -1
- package/dist/components/page-header.d.ts +12 -9
- package/dist/components/page-header.d.ts.map +1 -1
- package/dist/components/page-header.js +11 -8
- package/dist/components/product-shell.d.ts +10 -13
- package/dist/components/product-shell.d.ts.map +1 -1
- package/dist/components/product-shell.js +9 -12
- package/dist/components/progress-checklist.d.ts +4 -4
- package/dist/components/progress-checklist.d.ts.map +1 -1
- package/dist/components/progress-checklist.js +4 -14
- package/dist/components/progress.d.ts +3 -1
- package/dist/components/progress.d.ts.map +1 -1
- package/dist/components/progress.js +3 -1
- package/dist/components/reading-column.d.ts +2 -2
- package/dist/components/reading-column.js +2 -2
- package/dist/components/record-commands.d.ts +15 -7
- package/dist/components/record-commands.d.ts.map +1 -1
- package/dist/components/record-commands.js +26 -19
- package/dist/components/record-identity.d.ts +4 -2
- package/dist/components/record-identity.d.ts.map +1 -1
- package/dist/components/record-identity.js +3 -4
- package/dist/components/record-list.d.ts +25 -27
- package/dist/components/record-list.d.ts.map +1 -1
- package/dist/components/record-list.js +31 -79
- package/dist/components/record-sheet.d.ts +1 -1
- package/dist/components/record-sheet.js +1 -1
- package/dist/components/row-edit-form.d.ts +1 -1
- package/dist/components/row-edit-form.js +1 -1
- package/dist/components/settings-facts.d.ts +5 -6
- package/dist/components/settings-facts.d.ts.map +1 -1
- package/dist/components/settings-facts.js +3 -4
- package/dist/components/settings-page.d.ts +2 -2
- package/dist/components/settings-page.js +2 -2
- package/dist/components/settings-section.d.ts +10 -5
- package/dist/components/settings-section.d.ts.map +1 -1
- package/dist/components/settings-section.js +8 -4
- package/dist/components/sheet.d.ts +1 -1
- package/dist/components/sheet.js +1 -1
- package/dist/components/sidebar-sections.d.ts +4 -4
- package/dist/components/sidebar-sections.d.ts.map +1 -1
- package/dist/components/sidebar-sections.js +3 -3
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/status-badge.d.ts +15 -12
- package/dist/components/status-badge.d.ts.map +1 -1
- package/dist/components/status-badge.js +15 -12
- package/dist/components/step-cards.d.ts +1 -2
- package/dist/components/step-cards.d.ts.map +1 -1
- package/dist/components/step-cards.js +1 -2
- package/dist/components/switch.d.ts +4 -2
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/switch.js +9 -3
- package/dist/components/table-card.d.ts +2 -3
- package/dist/components/table-card.d.ts.map +1 -1
- package/dist/components/table-card.js +2 -3
- package/dist/components/table.d.ts +6 -24
- package/dist/components/table.d.ts.map +1 -1
- package/dist/components/table.js +11 -23
- package/dist/components/tabs-nav.d.ts +2 -2
- package/dist/components/tabs-nav.js +2 -2
- package/dist/components/text-link.d.ts +5 -5
- package/dist/components/text-link.js +5 -5
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/internal/badge-frame.d.ts +1 -1
- package/dist/internal/badge-frame.d.ts.map +1 -1
- package/dist/internal/badge-frame.js +1 -0
- package/dist/internal/catalog-list.d.ts.map +1 -1
- package/dist/internal/catalog-list.js +1 -1
- package/dist/internal/collection-rail.d.ts +2 -2
- package/dist/internal/collection-rail.d.ts.map +1 -1
- package/dist/internal/empty.d.ts +1 -1
- package/dist/internal/empty.d.ts.map +1 -1
- package/dist/internal/empty.js +1 -2
- package/dist/internal/fieldset-disabled.d.ts +6 -0
- package/dist/internal/fieldset-disabled.d.ts.map +1 -0
- package/dist/internal/fieldset-disabled.js +7 -0
- package/dist/internal/final-focus.d.ts +2 -2
- package/dist/internal/final-focus.js +2 -2
- package/dist/internal/icon-tile-frame.d.ts +16 -0
- package/dist/internal/icon-tile-frame.d.ts.map +1 -0
- package/dist/internal/icon-tile-frame.js +21 -0
- package/dist/internal/record-grid.d.ts +58 -0
- package/dist/internal/record-grid.d.ts.map +1 -0
- package/dist/internal/record-grid.js +79 -0
- package/dist/internal/settings-save.d.ts.map +1 -1
- package/dist/internal/settings-save.js +2 -1
- package/dist/showcase/specimens/actions.d.ts.map +1 -1
- package/dist/showcase/specimens/actions.js +1 -1
- package/dist/showcase/specimens/charts.d.ts.map +1 -1
- package/dist/showcase/specimens/charts.js +1 -1
- package/dist/showcase/specimens/compositions.d.ts +0 -2
- package/dist/showcase/specimens/compositions.d.ts.map +1 -1
- package/dist/showcase/specimens/compositions.js +3 -9
- package/dist/showcase/specimens/data.d.ts +1 -0
- package/dist/showcase/specimens/data.d.ts.map +1 -1
- package/dist/showcase/specimens/data.js +7 -4
- package/dist/showcase/specimens/index.d.ts +2 -1
- package/dist/showcase/specimens/index.d.ts.map +1 -1
- package/dist/showcase/specimens/status.d.ts +1 -0
- package/dist/showcase/specimens/status.d.ts.map +1 -1
- package/dist/showcase/specimens/status.js +4 -2
- package/dist/showcase/usage.generated.d.ts +1 -1
- package/dist/showcase/usage.generated.d.ts.map +1 -1
- package/dist/showcase/usage.generated.js +102 -91
- package/dist/standalone/index.js +1 -1
- package/package.json +2 -2
- package/dist/components/table-layouts.d.ts +0 -110
- package/dist/components/table-layouts.d.ts.map +0 -1
- package/dist/components/table-layouts.js +0 -125
- package/dist/internal/table-compact-line.d.ts +0 -57
- package/dist/internal/table-compact-line.d.ts.map +0 -1
- package/dist/internal/table-compact-line.js +0 -119
|
@@ -20,16 +20,20 @@ const toneClassNames = {
|
|
|
20
20
|
* A card of one setting that says what changing it does and ends in a footer.
|
|
21
21
|
*
|
|
22
22
|
* @family Compositions
|
|
23
|
-
* @when One setting a person changes on a SettingsPage or as
|
|
23
|
+
* @when One setting a person changes on a SettingsPage, or on an ObjectPage as one of its `entries` with `frame="fold"`, the row naming it and its summary saying the value (owner, 2026-11-09): Personal details, Company identity, Notifications, a company's Internal notes. A setting that changes what the product does takes `save` and is a draft until the footer's Save applies it: a typed value, a switch, a pick from a short list. A choice of how the product looks or reads to the person alone, Theme and Language, applies the moment it is picked, on the product's preferences page as in the `AccountMenu`, so its card has no `save` and no Save button, a `footerHint` at most (owner ruling, 7 November 2026). Also a plan-gated feature, a delete card, one read-only value (an ID as a `TextWithCopyButton`, no Save), and a paid quantity (its stepper field, the price as the description, a two-fact summary under it).
|
|
24
24
|
* @instead Read-only facts of an object are a SettingsFactsSection; a table or a list of records is a TableCard; a record's edit in a list is a RowEditForm.
|
|
25
|
-
* @behaviour "Groups related form controls inside a bordered card with optional footer actions." (https://vercel.com/geist/fieldset) Ours: one setting per card, a single SettingsField with the description its only help, unless the card's description covers several settings: then they are its SettingsRows, switches and selects together. A typed value (a name, a URL, a server, a port, a key) gets its own card. A semantic subgroup of related controls inside a field, such as radios or checkboxes, is a `FieldSet` with a `FieldLegend`. Several settings in one card are declared by SettingsRows, never by classes at the call site. The card's header and fields share one uninterrupted body, and only its footer has a divider. "Use Toggle for a single boolean setting where ON takes effect immediately, like `Password Protection` or `Auto-Cancel Builds`." (https://vercel.com/geist/toggle) "Pair with a form footer only when the setting needs an explicit `Save` step." (https://vercel.com/geist/toggle) "Disable Toggle only when the action is impossible (missing plan, locked policy); pair with helper text or a `Tooltip` that names the resolver." (https://vercel.com/geist/toggle) Ours: a switch never applies on change; it is a row of the card, a draft until the footer's Save
|
|
25
|
+
* @behaviour "Groups related form controls inside a bordered card with optional footer actions." (https://vercel.com/geist/fieldset) Ours: one setting per card, a single SettingsField with the description its only help, unless the card's description covers several settings: then they are its SettingsRows, switches and selects together. A typed value (a name, a URL, a server, a port, a key) gets its own card. A semantic subgroup of related controls inside a field, such as radios or checkboxes, is a `FieldSet` with a `FieldLegend`. Several settings in one card are declared by SettingsRows, never by classes at the call site. The card's header and fields share one uninterrupted body, and only its footer has a divider. "Use Toggle for a single boolean setting where ON takes effect immediately, like `Password Protection` or `Auto-Cancel Builds`." (https://vercel.com/geist/toggle) "Pair with a form footer only when the setting needs an explicit `Save` step." (https://vercel.com/geist/toggle) "Disable Toggle only when the action is impossible (missing plan, locked policy); pair with helper text or a `Tooltip` that names the resolver." (https://vercel.com/geist/toggle) Ours: a switch never applies on change; it is a row of the card, a draft until the footer's Save. A switch blocked from above is shown off and disabled, the footer saying why and never a tooltip. Required: the title and the description. A `status` stands right after the title. The header's `actions` are drawn as every card draws them (`CardActions`: the muted meta, up to two secondaries as outline buttons, the primary as the filled one, the three dots), a way to another page among them as an outline button named for it; a card whose value is itself shown there, such as an avatar's upload, takes `control` instead. They stand at the title's right; on a card narrower than 28 rem, as on a phone, they keep the title's row and the description runs under both, and when the title's longest word would not fit beside them they move under the title, so they never cover it. The footer's left line (`footerHint`, `save.hint`) is optional and specific to the card, never a generic line repeated on every card: a limit, what a value is for, a plan it needs, a link; absent, it is nothing, and a card with neither a line nor a button has no footer. Ours: `save`: a typed value, one card with its own Save in the footer, always visible. The section owns the changed state: Save stays disabled until a field differs from what is saved and says `pendingLabel` while saving with Cancel beside it; a completed save calls `saved`, and the product raises one toast from its catalogue ("Completion toasts follow `{Noun} {past-participle}`: `Blob deleted`, `Domain added`, `Environment variable saved`. Never include `successfully`; the action name implies it." https://vercel.com/geist/toast), and Save returns to disabled, with no saved state in the footer. Ours: the section never raises a toast itself. A failed save keeps every value and shows under its field, or above the footer when no field owns it. `tone` marks a state with a command (a failed payment, a trial ending): a 1px border and a footer tinted in the hue with its line in it, the line saying the condition in words; title, line, fields and buttons stay neutral, an outline secondary then a default primary. A button takes the hue of its command, not of the card: `destructive` (red) for a permanent loss (Delete), `warning` (amber) for a disruptive command that can be undone (Pause, Archive). A delete card is `tone="error"` with the object's summary as its body; an archive card is neutral with a `warning` button in the footer. "Use a Note for inline contextual feedback next to the field, card, or section it describes: a region change warning above a region picker, a rate-limit notice next to a usage gauge." (https://vercel.com/geist/note) "One Note per concept." (https://vercel.com/geist/note) Ours: a message about the fields inside is a MessageNotice in the body, the card staying neutral. "Disabled checkboxes still need a Tooltip naming the reason; a greyed box with no explanation reads as a bug." (https://vercel.com/geist/checkbox) Ours: `lockedReason` (Geist's disabled wall) is the reason, written as the footer's line, not in a tooltip; it keeps the fields in view, inert with muted text, under a not-allowed cursor, the title and line unchanged; `unlock` is the way to get access, left out when nothing the person does unlocks it. A locked section has no `save` and no header `actions`. While its page reads it, `SettingsSectionSkeleton` stands in its place: the same card, a bar for the title and one for the description at their line heights, the caller's placeholders of its controls at the controls' heights, a placeholder in the shape of its `control`, and its footer with the line and the Save when the section has them, so the page does not move when the section arrives; it carries no words, so a page drawn before the reader is known shows nothing of theirs (nadicode decision).
|
|
26
26
|
* @words "Helper text is sentence case, one sentence with a trailing period, on a sibling element wired through `aria-describedby`." (https://vercel.com/geist/input) Ours: the description is that helper text for the whole card, and no field has its own. "Render an optional one-sentence description as a sibling under the label that explains ON only. Don’t describe OFF; it’s the negation." (https://vercel.com/geist/toggle) Ours: a card of one switch says in its description what turning it on does. The title names the values ("Personal details"); the description says what changing them does, in one line; the footer line is a Learn more link, a limit ("Use 32 characters at most."), what stays unaffected, or what is blocked and why ("Ask an owner to change this."); Save and Saving come from the product's catalogue, and so does the toast a `saved` callback raises; a delete card's description opens "Permanently delete".
|
|
27
27
|
* @access "Provide an accessible name through `children`, `aria-label`, or `aria-labelledby`." (https://vercel.com/geist/toggle) Ours: the title is the section's h2, or an h3 with `headingLevel` inside an ObjectPage's row, and names the form that saves it. The footer's line is one status, announced politely; a failure under a field marks the control invalid and describes it. Locked fields are inert, so the section's title, description and reason are what a screen reader meets. `SettingsSectionSkeleton` is busy and its bars are hidden from assistive technology.
|
|
28
28
|
*/
|
|
29
|
-
function SettingsSection({ title, headingLevel = 2, description, status, actions, control, tone, children, className, save, footer, footerHint, lockedReason, unlock, ...props }) {
|
|
29
|
+
function SettingsSection({ title, headingLevel = 2, description, status, actions, control, tone, children, className, save, footer, footerHint, lockedReason, unlock, frame = "card", ...props }) {
|
|
30
30
|
const titleId = React.useId();
|
|
31
31
|
const Heading = headingLevel === 3 ? "h3" : "h2";
|
|
32
32
|
const locked = lockedReason !== undefined;
|
|
33
|
+
if (frame === "fold") {
|
|
34
|
+
const foldFields = children !== null && children !== undefined ? (_jsx(FieldGroup, { "data-slot": "settings-section-fields", inert: locked, children: children })) : null;
|
|
35
|
+
return (_jsxs("section", { ...props, className: cn("grid min-w-0 gap-4 pb-(--card-spacing)", className), "data-frame": "fold", "data-slot": "settings-section", children: [title ? (_jsx(Heading, { className: "sr-only", id: titleId, children: title })) : null, _jsx("p", { className: "text-sm text-muted-foreground", children: description }), save ? (_jsx(SettingsSaveForm, { save: save, titleId: titleId, children: foldFields })) : (foldFields)] }));
|
|
36
|
+
}
|
|
33
37
|
const fields = children !== null && children !== undefined ? (_jsx(CardContent, { children: _jsx(FieldGroup, { "data-slot": "settings-section-fields", inert: locked, className: cn(locked && "**:text-muted-foreground"), children: children }) })) : null;
|
|
34
38
|
return (_jsxs(Card, { render: _jsx("section", { ...props, "data-slot": "settings-section", "data-tone": tone, "data-locked": locked || undefined }), className: cn("min-w-0", tone && toneClassNames[tone], locked && "cursor-not-allowed *:data-[slot=card-footer]:cursor-default", className), children: [_jsxs(CardHeader, { narrowAction: "title-row", className: cn(!title && "has-data-[slot=card-description]:grid-rows-none"), children: [title ? (_jsxs(CardTitle, { className: cn(status && "flex flex-wrap items-center gap-2"), children: [_jsx(Heading, { id: titleId, children: title }), status] })) : null, _jsx(CardDescription, { children: description }), actions || control ? (_jsx(CardAction, { children: control ?? (actions ? _jsx(CardActionsRow, { ...actions }) : null) })) : null] }), save ? (_jsx(SettingsSaveForm, { save: save, titleId: titleId, children: fields })) : (_jsxs(_Fragment, { children: [fields, _jsx(FooterStrip, { hint: locked ? lockedReason : footerHint, hintSlot: "settings-section-hint", children: locked ? unlock : footer })] }))] }));
|
|
35
39
|
}
|
|
@@ -102,7 +106,7 @@ function SettingsRow({ id, label, info, error, disabled, kind, children, }) {
|
|
|
102
106
|
* @family Inputs
|
|
103
107
|
* @when A card of switches and selects that the card's one description covers: a project's Git switches, a team's notification channels, a set of defaults, how long a computer stays awake beside whether the window goes to the tray.
|
|
104
108
|
* @instead One setting is a SettingsField. A text box is a field of its own card.
|
|
105
|
-
* @behaviour A row with `options` is a select, a row with `checked` a switch, a row with `control` draws a control whose usage page puts it in a row, such as ThemeModeSwitcher, and a row with `shows` is a fact the card shows and nobody changes there, such as the app's version, its value as text where a control would stand; a card may hold any of them together
|
|
109
|
+
* @behaviour A row with `options` is a select, a row with `checked` a switch, a row with `control` draws a control whose usage page puts it in a row, such as ThemeModeSwitcher, and a row with `shows` is a fact the card shows and nobody changes there, such as the app's version, its value as text where a control would stand; a card may hold any of them together; `stateLabels` is required once any row is a switch. Required on every row that takes a value: the label and its `info` (an (i) with its sentence in a tooltip and on the control); a `shows` row has its label alone. No help line sits under a row. A switch row shows its state word beside the switch (`stateLabels`) and is controlled, so the word always follows the switch. Rows stand 16 px apart; the card's width decides for all its rows at once: below 28rem each stacks its control under its label at the card's full width, from 28rem each stands beside it, so no row stacks while another does not. "Pair with a form footer only when the setting needs an explicit `Save` step." (https://vercel.com/geist/toggle) Ours: a switch is a draft the card's Save applies.
|
|
106
110
|
* @words "Title Case noun phrase, 1–4 words, naming what is true when ON: `Password Protection`, not `Enable Password Protection`." (https://vercel.com/geist/toggle) Ours: sentence case, a noun for what it controls ("Pull request comments"), the same for a switch as for a select. "Render an optional one-sentence description as a sibling under the label that explains ON only. Don’t describe OFF; it’s the negation." (https://vercel.com/geist/toggle) Ours: that sentence is `info.text`. "Options are Title Case when short and match canonical branding (`Next.js`, not `NextJS`); keep the same register across the list." (https://vercel.com/geist/select) Ours: a select's options are sentence case.
|
|
107
111
|
* @access Each row's control is named by the row's label and described by its info and its error. The info button has its own name and opens on focus.
|
|
108
112
|
*/
|
|
@@ -35,7 +35,7 @@ type SheetProps = Omit<SheetPrimitive.Root.Props, "modal" | "disablePointerDismi
|
|
|
35
35
|
* holds records of its own or a setup. A given kind of sheet always opens on the
|
|
36
36
|
* same side. A press outside never closes it, Escape does, except the phone navigation, which
|
|
37
37
|
* `closesOnScrimPress` closes on a press on its scrim. The body scrolls between a header and a
|
|
38
|
-
* footer with its actions at the trailing edge
|
|
38
|
+
* footer with its actions at the trailing edge: the
|
|
39
39
|
* footer keeps the sheet's fill and stands under a 1 px rule, so its actions stay put while the
|
|
40
40
|
* body scrolls. Neutral only, with no hue but the focus ring; the primary is the only filled
|
|
41
41
|
* control. `closeLabel` is required.
|
package/dist/components/sheet.js
CHANGED
|
@@ -31,7 +31,7 @@ const SheetModalContext = React.createContext(false);
|
|
|
31
31
|
* holds records of its own or a setup. A given kind of sheet always opens on the
|
|
32
32
|
* same side. A press outside never closes it, Escape does, except the phone navigation, which
|
|
33
33
|
* `closesOnScrimPress` closes on a press on its scrim. The body scrolls between a header and a
|
|
34
|
-
* footer with its actions at the trailing edge
|
|
34
|
+
* footer with its actions at the trailing edge: the
|
|
35
35
|
* footer keeps the sheet's fill and stands under a 1 px rule, so its actions stay put while the
|
|
36
36
|
* body scrolls. Neutral only, with no hue but the focus ring; the primary is the only filled
|
|
37
37
|
* control. `closeLabel` is required.
|
|
@@ -6,7 +6,7 @@ export type SidebarSection<Id extends string> = PageCommandAction & {
|
|
|
6
6
|
icon: IconComponent;
|
|
7
7
|
/** The heading over this section and the ones after it, until another section names its own: "Account", "Platform settings". */
|
|
8
8
|
group?: string;
|
|
9
|
-
/** How many things the section holds, at the row's end
|
|
9
|
+
/** How many things the section holds, at the row's end. */
|
|
10
10
|
count?: number;
|
|
11
11
|
};
|
|
12
12
|
export type SidebarSectionsProps<Id extends string> = {
|
|
@@ -38,9 +38,9 @@ export type SidebarSectionsProps<Id extends string> = {
|
|
|
38
38
|
* The sidebar swapped to one object or one area: the way back, what you are in, and its sections.
|
|
39
39
|
*
|
|
40
40
|
* @family Navigation
|
|
41
|
-
* @when Inside an object, the same sidebar column shows these instead of the places: an Installation's sections in the Portal, Nadia's Edit and Settings sections. Inside an area whose pages are siblings a person moves between, the area's sub-menu without `identity
|
|
42
|
-
* @instead The places a person can go are the sidebar's own groups; a settings page that does not swap the column is a SettingsPage. Never a second column beside the first. “Tabs imply the views share scope, URL parent, and data model” (https://vercel.com/geist/tabs) Ours: an area whose pages hold different objects, with different lists and different ways to add, is this sub-menu
|
|
43
|
-
* @behaviour With `identity`: a back arrow row, then what you are in, then the sections. Without it
|
|
41
|
+
* @when Inside an object, the same sidebar column shows these instead of the places: an Installation's sections in the Portal, Nadia's Edit and Settings sections. Inside an area whose pages are siblings a person moves between, the area's sub-menu without `identity`: the Portal's Settings, Company, Library and Account. A catalogue long enough to be browsed by category takes this sub-menu too, one section a category with its `count`: Nadia's Browse apps. The row that opens an area ends in `SidebarMenuChevron`; a row that only opens a page has none. Required: the way back and the nav's `label`; every section has an icon.
|
|
42
|
+
* @instead The places a person can go are the sidebar's own groups; a settings page that does not swap the column is a SettingsPage. Never a second column beside the first. “Tabs imply the views share scope, URL parent, and data model” (https://vercel.com/geist/tabs) Ours: an area whose pages hold different objects, with different lists and different ways to add, is this sub-menu; a destination whose pages are views of one reading keeps its Tabs (the Portal's Analytics). An object's sections under the top bar are a `TabsNav` band.
|
|
43
|
+
* @behaviour With `identity`: a back arrow row, then what you are in, then the sections. Without it: one row with a ‹ at its start and the area's name centred, then the sections as words alone. The back row returns to where the person came from and is disabled while leaving is blocked. One section is current and takes the selection fill; the rest stay neutral. A section that sets `group` opens a labelled group that holds the sections after it until another names its own; the label and the gap tell groups apart, never a rule. Narrow, the identity, the area's name and the labels leave, and each row keeps its icon with its name in a tooltip.
|
|
44
44
|
* @words The back row names where it goes ("Agents", "Back to workspace"); the identity is the object's own name; an area's `label` is its sidebar row's word ("Settings", "Company"); a group heading names the kind of settings ("Account"), in sentence case; sections are nouns ("Skills", "Members").
|
|
45
45
|
* @access The sections are a nav named by `label`; the current one carries aria-current="page". Without `identity` the back row is named by its `label` alone and the centred area name is read as text after it. The identity's mark is decorative beside its name.
|
|
46
46
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-sections.d.ts","sourceRoot":"","sources":["../../src/components/sidebar-sections.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,iBAAiB,EACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAUnE,MAAM,MAAM,cAAc,CAAC,EAAE,SAAS,MAAM,IAAI,iBAAiB,GAAG;IAClE,EAAE,EAAE,EAAE,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,CAAC;IACpB,gIAAgI;IAChI,KAAK,CAAC,EAAE,MAAM,CAAC;IACf
|
|
1
|
+
{"version":3,"file":"sidebar-sections.d.ts","sourceRoot":"","sources":["../../src/components/sidebar-sections.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,iBAAiB,EACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAUnE,MAAM,MAAM,cAAc,CAAC,EAAE,SAAS,MAAM,IAAI,iBAAiB,GAAG;IAClE,EAAE,EAAE,EAAE,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,CAAC;IACpB,gIAAgI;IAChI,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,oBAAoB,CAAC,EAAE,SAAS,MAAM,IAAI;IACpD,gEAAgE;IAChE,IAAI,EAAE,iBAAiB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAChE;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACvE,yEAAyE;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,cAAc,CAAC,EAAE,CAAC,EAAE,CAAC;IACxC,OAAO,EAAE,EAAE,CAAC;IACZ,kEAAkE;IAClE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AA8BF;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,EACjD,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,KAAK,EACL,MAAc,EACd,QAAQ,EACR,QAAQ,GACT,EAAE,oBAAoB,CAAC,EAAE,CAAC,+BAqF1B"}
|
|
@@ -35,9 +35,9 @@ function actionProps(action, disabled, onChosen) {
|
|
|
35
35
|
* The sidebar swapped to one object or one area: the way back, what you are in, and its sections.
|
|
36
36
|
*
|
|
37
37
|
* @family Navigation
|
|
38
|
-
* @when Inside an object, the same sidebar column shows these instead of the places: an Installation's sections in the Portal, Nadia's Edit and Settings sections. Inside an area whose pages are siblings a person moves between, the area's sub-menu without `identity
|
|
39
|
-
* @instead The places a person can go are the sidebar's own groups; a settings page that does not swap the column is a SettingsPage. Never a second column beside the first. “Tabs imply the views share scope, URL parent, and data model” (https://vercel.com/geist/tabs) Ours: an area whose pages hold different objects, with different lists and different ways to add, is this sub-menu
|
|
40
|
-
* @behaviour With `identity`: a back arrow row, then what you are in, then the sections. Without it
|
|
38
|
+
* @when Inside an object, the same sidebar column shows these instead of the places: an Installation's sections in the Portal, Nadia's Edit and Settings sections. Inside an area whose pages are siblings a person moves between, the area's sub-menu without `identity`: the Portal's Settings, Company, Library and Account. A catalogue long enough to be browsed by category takes this sub-menu too, one section a category with its `count`: Nadia's Browse apps. The row that opens an area ends in `SidebarMenuChevron`; a row that only opens a page has none. Required: the way back and the nav's `label`; every section has an icon.
|
|
39
|
+
* @instead The places a person can go are the sidebar's own groups; a settings page that does not swap the column is a SettingsPage. Never a second column beside the first. “Tabs imply the views share scope, URL parent, and data model” (https://vercel.com/geist/tabs) Ours: an area whose pages hold different objects, with different lists and different ways to add, is this sub-menu; a destination whose pages are views of one reading keeps its Tabs (the Portal's Analytics). An object's sections under the top bar are a `TabsNav` band.
|
|
40
|
+
* @behaviour With `identity`: a back arrow row, then what you are in, then the sections. Without it: one row with a ‹ at its start and the area's name centred, then the sections as words alone. The back row returns to where the person came from and is disabled while leaving is blocked. One section is current and takes the selection fill; the rest stay neutral. A section that sets `group` opens a labelled group that holds the sections after it until another names its own; the label and the gap tell groups apart, never a rule. Narrow, the identity, the area's name and the labels leave, and each row keeps its icon with its name in a tooltip.
|
|
41
41
|
* @words The back row names where it goes ("Agents", "Back to workspace"); the identity is the object's own name; an area's `label` is its sidebar row's word ("Settings", "Company"); a group heading names the kind of settings ("Account"), in sentence case; sections are nouns ("Skills", "Members").
|
|
42
42
|
* @access The sections are a nav named by `label`; the current one carries aria-current="page". Without `identity` the back row is named by its `label` alone and the centred area name is read as text after it. The identity's mark is decorative beside its name.
|
|
43
43
|
*/
|
|
@@ -135,7 +135,7 @@ declare function SidebarMenuSubButton({ render, size, isActive, className, ...pr
|
|
|
135
135
|
isActive?: boolean;
|
|
136
136
|
}): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
138
|
+
* The ›, the mark at the end of a row that swaps the column to that area's sub-menu: the Portal's Settings, Company and Library, Nadia's company.
|
|
139
139
|
*
|
|
140
140
|
* @family Navigation
|
|
141
141
|
* @when The last child of a `SidebarMenuButton` whose press replaces the places with the area's sections (`SidebarSections`), never of a row that only goes to a page or to a destination whose views are tabs (the Portal's Analytics).
|
|
@@ -360,7 +360,7 @@ function SidebarMenuSubButton({ render, size = "md", isActive = false, className
|
|
|
360
360
|
});
|
|
361
361
|
}
|
|
362
362
|
/**
|
|
363
|
-
*
|
|
363
|
+
* The ›, the mark at the end of a row that swaps the column to that area's sub-menu: the Portal's Settings, Company and Library, Nadia's company.
|
|
364
364
|
*
|
|
365
365
|
* @family Navigation
|
|
366
366
|
* @when The last child of a `SidebarMenuButton` whose press replaces the places with the area's sections (`SidebarSections`), never of a row that only goes to a page or to a destination whose views are tabs (the Portal's Analytics).
|
|
@@ -13,31 +13,34 @@ type StatusBadgeProps = Omit<ComponentProps<"span">, "children" | "onClick" | "t
|
|
|
13
13
|
*
|
|
14
14
|
* @family Status
|
|
15
15
|
* @when "Use Badge for short, scannable metadata that sits next to the thing it describes: status, plan tier, environment, or role." (https://vercel.com/geist/badge)
|
|
16
|
-
* Ours: a record's state,
|
|
17
|
-
*
|
|
16
|
+
* Ours: a record's state: ready, failed, waiting on a person, a step in motion, paused,
|
|
17
|
+
* connected. Gray is the default and every terminal state that needs no action;
|
|
18
18
|
* green is healthy or complete; red is unusable or failed; amber is waiting on a person's
|
|
19
19
|
* decision; blue is a step in motion. Each tone has its own shape: green a circle, blue a diamond,
|
|
20
20
|
* amber a triangle, red a square, gray an empty ring.
|
|
21
21
|
* "Map meaning to color: `green` for healthy, `red` for error, `amber` for warning, `blue` for informational or production, `gray` for neutral." (https://vercel.com/geist/badge)
|
|
22
22
|
* Ours: success is green, danger red, warning amber, info blue, neutral gray, whatever the state's
|
|
23
23
|
* name, in our colour values. The tone and the word are required, and the type asks for both.
|
|
24
|
-
* The Portal, Nadia and Alveare draw every status with this one component. In a list
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
24
|
+
* The Portal, Nadia and Alveare draw every status with this one component. In a list the record's
|
|
25
|
+
* state stands on every row, the healthy one included (owner, 2026-11-08): a Customer Ready or
|
|
26
|
+
* Setting up 2/4, an Agent Ready or Running, a run Completed.
|
|
27
|
+
* "One badge per row; two side by side is a sign the row needs a second column." (https://vercel.com/geist/badge)
|
|
28
|
+
* Ours: a record with several states shows the one that most changes what a person does with it:
|
|
29
|
+
* out of use (Archived, Inactive) first, then a failure, then an answer someone owes, then a step in
|
|
30
|
+
* motion, and the healthy state last. An object's own status sits beside its name in the path.
|
|
30
31
|
* @instead "For non-deployment statuses (Workflow runs, Queue messages, Sandbox, Cron jobs), use a `Badge` with the canonical state vocabulary instead of repurposing the dot." (https://vercel.com/geist/status-dot)
|
|
31
32
|
* Ours: that `Badge` is `StatusBadge`. For a category (an installation, a partner) use `Tag`. For
|
|
32
|
-
*
|
|
33
|
+
* a plan, a role or a lifecycle word use `Badge`. For the kind of a figure or a notice use
|
|
34
|
+
* `IconTile`. For a control reporting its own action use
|
|
33
35
|
* `ActionStatus`. A state beside its name still uses this component. A single coloured dot is
|
|
34
36
|
* never a status, beside a visible label and inside an Agent row or filter included; the package
|
|
35
|
-
* exports no status-dot component. An Agent's orb stays her identity and her activity.
|
|
36
|
-
*
|
|
37
|
+
* exports no status-dot component. An Agent's orb stays her identity and her activity. The steps
|
|
38
|
+
* that make a record ready, each done or not, are `ProgressChecklist`; the status says only that the
|
|
39
|
+
* record is setting up and how many steps are done.
|
|
37
40
|
* @behaviour "Badges are static labels." (https://vercel.com/geist/badge)
|
|
38
41
|
* "Don’t wire `onClick` onto them; promote to a Button or link if the user can act on the value." (https://vercel.com/geist/badge)
|
|
39
42
|
* Ours: a status never moves and is never a button. It is the tone's shape and the word, with no
|
|
40
|
-
* pill, no fill and no border
|
|
43
|
+
* pill, no fill and no border. The shape
|
|
41
44
|
* is filled with dots on a honeycomb grid, the material of the Agent orbs: an outline of evenly
|
|
42
45
|
* spaced dots and a field of dots inside it; gray's ring stays empty, the quiet tone. The dots
|
|
43
46
|
* take the tone's colour and the word the foreground colour; amber's outline takes its deep step
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-badge.d.ts","sourceRoot":"","sources":["../../src/components/status-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS5C,KAAK,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAE7E,KAAK,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAsD1C,KAAK,gBAAgB,GAAG,IAAI,CAC1B,cAAc,CAAC,MAAM,CAAC,EACtB,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,cAAc,GAAG,WAAW,GAAG,SAAS,CACxF,GAAG;IACF,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"status-badge.d.ts","sourceRoot":"","sources":["../../src/components/status-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS5C,KAAK,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAE7E,KAAK,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAsD1C,KAAK,gBAAgB,GAAG,IAAI,CAC1B,cAAc,CAAC,MAAM,CAAC,EACtB,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,cAAc,GAAG,WAAW,GAAG,SAAS,CACxF,GAAG;IACF,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,IAAW,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BA4B9F;AAED,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,CAAC"}
|
|
@@ -30,31 +30,34 @@ function StatusMark({ shape, className, edge, }) {
|
|
|
30
30
|
*
|
|
31
31
|
* @family Status
|
|
32
32
|
* @when "Use Badge for short, scannable metadata that sits next to the thing it describes: status, plan tier, environment, or role." (https://vercel.com/geist/badge)
|
|
33
|
-
* Ours: a record's state,
|
|
34
|
-
*
|
|
33
|
+
* Ours: a record's state: ready, failed, waiting on a person, a step in motion, paused,
|
|
34
|
+
* connected. Gray is the default and every terminal state that needs no action;
|
|
35
35
|
* green is healthy or complete; red is unusable or failed; amber is waiting on a person's
|
|
36
36
|
* decision; blue is a step in motion. Each tone has its own shape: green a circle, blue a diamond,
|
|
37
37
|
* amber a triangle, red a square, gray an empty ring.
|
|
38
38
|
* "Map meaning to color: `green` for healthy, `red` for error, `amber` for warning, `blue` for informational or production, `gray` for neutral." (https://vercel.com/geist/badge)
|
|
39
39
|
* Ours: success is green, danger red, warning amber, info blue, neutral gray, whatever the state's
|
|
40
40
|
* name, in our colour values. The tone and the word are required, and the type asks for both.
|
|
41
|
-
* The Portal, Nadia and Alveare draw every status with this one component. In a list
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
41
|
+
* The Portal, Nadia and Alveare draw every status with this one component. In a list the record's
|
|
42
|
+
* state stands on every row, the healthy one included (owner, 2026-11-08): a Customer Ready or
|
|
43
|
+
* Setting up 2/4, an Agent Ready or Running, a run Completed.
|
|
44
|
+
* "One badge per row; two side by side is a sign the row needs a second column." (https://vercel.com/geist/badge)
|
|
45
|
+
* Ours: a record with several states shows the one that most changes what a person does with it:
|
|
46
|
+
* out of use (Archived, Inactive) first, then a failure, then an answer someone owes, then a step in
|
|
47
|
+
* motion, and the healthy state last. An object's own status sits beside its name in the path.
|
|
47
48
|
* @instead "For non-deployment statuses (Workflow runs, Queue messages, Sandbox, Cron jobs), use a `Badge` with the canonical state vocabulary instead of repurposing the dot." (https://vercel.com/geist/status-dot)
|
|
48
49
|
* Ours: that `Badge` is `StatusBadge`. For a category (an installation, a partner) use `Tag`. For
|
|
49
|
-
*
|
|
50
|
+
* a plan, a role or a lifecycle word use `Badge`. For the kind of a figure or a notice use
|
|
51
|
+
* `IconTile`. For a control reporting its own action use
|
|
50
52
|
* `ActionStatus`. A state beside its name still uses this component. A single coloured dot is
|
|
51
53
|
* never a status, beside a visible label and inside an Agent row or filter included; the package
|
|
52
|
-
* exports no status-dot component. An Agent's orb stays her identity and her activity.
|
|
53
|
-
*
|
|
54
|
+
* exports no status-dot component. An Agent's orb stays her identity and her activity. The steps
|
|
55
|
+
* that make a record ready, each done or not, are `ProgressChecklist`; the status says only that the
|
|
56
|
+
* record is setting up and how many steps are done.
|
|
54
57
|
* @behaviour "Badges are static labels." (https://vercel.com/geist/badge)
|
|
55
58
|
* "Don’t wire `onClick` onto them; promote to a Button or link if the user can act on the value." (https://vercel.com/geist/badge)
|
|
56
59
|
* Ours: a status never moves and is never a button. It is the tone's shape and the word, with no
|
|
57
|
-
* pill, no fill and no border
|
|
60
|
+
* pill, no fill and no border. The shape
|
|
58
61
|
* is filled with dots on a honeycomb grid, the material of the Agent orbs: an outline of evenly
|
|
59
62
|
* spaced dots and a field of dots inside it; gray's ring stays empty, the quiet tone. The dots
|
|
60
63
|
* take the tone's colour and the word the foreground colour; amber's outline takes its deep step
|
|
@@ -14,8 +14,7 @@ export type StepCardsProps = {
|
|
|
14
14
|
steps: readonly StepCard[];
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
|
-
* The steps of one setup, one numbered card each, inside its drawer
|
|
18
|
-
* draws them.
|
|
17
|
+
* The steps of one setup, one numbered card each, inside its drawer.
|
|
19
18
|
*
|
|
20
19
|
* @family Compositions
|
|
21
20
|
* @when A setup in a drawer whose steps a person should see ahead of them, with what each settled: connecting an app in Nadia, through `RecordSheet`'s `steps`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-cards.d.ts","sourceRoot":"","sources":["../../src/components/step-cards.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;IACvC,+EAA+E;IAC/E,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;CAC5B,CAAC;AAgBF
|
|
1
|
+
{"version":3,"file":"step-cards.d.ts","sourceRoot":"","sources":["../../src/components/step-cards.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;IACvC,+EAA+E;IAC/E,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;CAC5B,CAAC;AAgBF;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,cAAc,+BAgCzD"}
|
|
@@ -6,8 +6,7 @@ function StepNumber({ number, state }) {
|
|
|
6
6
|
return (_jsx("span", { "aria-hidden": "true", className: cn("grid size-5 shrink-0 place-items-center rounded-full text-xs font-medium tabular-nums", state === "current" ? "bg-foreground text-background" : "bg-muted text-muted-foreground"), children: state === "done" ? _jsx(CheckIcon, { className: "size-3" }) : number }));
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
-
* The steps of one setup, one numbered card each, inside its drawer
|
|
10
|
-
* draws them.
|
|
9
|
+
* The steps of one setup, one numbered card each, inside its drawer.
|
|
11
10
|
*
|
|
12
11
|
* @family Compositions
|
|
13
12
|
* @when A setup in a drawer whose steps a person should see ahead of them, with what each settled: connecting an app in Nadia, through `RecordSheet`'s `steps`.
|
|
@@ -28,7 +28,9 @@ import { type ControlName } from "../internal/control-name.js";
|
|
|
28
28
|
* it. On a settings page it is a draft its card's footer Save applies, and the product's toast
|
|
29
29
|
* confirms the save, in one of two places: in the card's body under its label, its state word after
|
|
30
30
|
* it (`SettingsField`'s `control="switch"`); or at the end of a row of a card of several settings,
|
|
31
|
-
* the label to its left. A failed save keeps the draft and says so under the card.
|
|
31
|
+
* the label to its left. A failed save keeps the draft and says so under the card. Inside a
|
|
32
|
+
* settings section's fields while they are disabled, before the page can track edits, it is
|
|
33
|
+
* disabled with them, as a native control is by its fieldset.
|
|
32
34
|
* @words "The label is `children`, not a `label` prop. Title Case noun phrase, 1–4 words, naming
|
|
33
35
|
* what is true when ON: `Password Protection`, not `Enable Password Protection`."
|
|
34
36
|
* (https://vercel.com/geist/toggle) "Render an optional one-sentence description as a sibling under
|
|
@@ -46,7 +48,7 @@ import { type ControlName } from "../internal/control-name.js";
|
|
|
46
48
|
* (https://vercel.com/geist/toggle) Ours: `role="switch"` with `aria-checked`, the name the same in
|
|
47
49
|
* both states; a missing name does not compile.
|
|
48
50
|
*/
|
|
49
|
-
declare function Switch({ className, size, ...props }: SwitchPrimitive.Root.Props & ControlName & {
|
|
51
|
+
declare function Switch({ className, disabled, size, ...props }: SwitchPrimitive.Root.Props & ControlName & {
|
|
50
52
|
size?: "sm" | "md" | "lg";
|
|
51
53
|
}): import("react").JSX.Element;
|
|
52
54
|
export { Switch };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../src/components/switch.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../src/components/switch.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGlE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,QAAgB,EAChB,IAAW,EACX,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,IAAI,CAAC,KAAK,GAC3B,WAAW,GAAG;IACZ,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,+BAqBF;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { use } from "react";
|
|
2
4
|
import { Switch as SwitchPrimitive } from "@base-ui/react/switch";
|
|
3
5
|
import { cn } from "../lib/utils.js";
|
|
6
|
+
import { FieldsetDisabledContext } from "../internal/fieldset-disabled.js";
|
|
4
7
|
/**
|
|
5
8
|
* A setting that is on or off.
|
|
6
9
|
*
|
|
@@ -29,7 +32,9 @@ import { cn } from "../lib/utils.js";
|
|
|
29
32
|
* it. On a settings page it is a draft its card's footer Save applies, and the product's toast
|
|
30
33
|
* confirms the save, in one of two places: in the card's body under its label, its state word after
|
|
31
34
|
* it (`SettingsField`'s `control="switch"`); or at the end of a row of a card of several settings,
|
|
32
|
-
* the label to its left. A failed save keeps the draft and says so under the card.
|
|
35
|
+
* the label to its left. A failed save keeps the draft and says so under the card. Inside a
|
|
36
|
+
* settings section's fields while they are disabled, before the page can track edits, it is
|
|
37
|
+
* disabled with them, as a native control is by its fieldset.
|
|
33
38
|
* @words "The label is `children`, not a `label` prop. Title Case noun phrase, 1–4 words, naming
|
|
34
39
|
* what is true when ON: `Password Protection`, not `Enable Password Protection`."
|
|
35
40
|
* (https://vercel.com/geist/toggle) "Render an optional one-sentence description as a sibling under
|
|
@@ -47,7 +52,8 @@ import { cn } from "../lib/utils.js";
|
|
|
47
52
|
* (https://vercel.com/geist/toggle) Ours: `role="switch"` with `aria-checked`, the name the same in
|
|
48
53
|
* both states; a missing name does not compile.
|
|
49
54
|
*/
|
|
50
|
-
function Switch({ className, size = "sm", ...props }) {
|
|
51
|
-
|
|
55
|
+
function Switch({ className, disabled = false, size = "sm", ...props }) {
|
|
56
|
+
const fieldsetDisabled = use(FieldsetDisabledContext);
|
|
57
|
+
return (_jsx(SwitchPrimitive.Root, { "data-slot": "switch", "data-nc-ui": "", "data-size": size, disabled: disabled || fieldsetDisabled, className: cn("nc-transition-paint peer group/switch relative inline-flex shrink-0 items-start rounded-full border border-transparent p-0 after:absolute after:top-1/2 after:left-1/2 after:size-touch-target after:-translate-1/2 aria-invalid:border-destructive data-[size=sm]:h-3.5 data-[size=sm]:w-7 data-[size=md]:h-5 data-[size=md]:w-9 data-[size=lg]:h-6 data-[size=lg]:w-10 data-checked:bg-primary data-unchecked:bg-input data-disabled:cursor-not-allowed data-disabled:data-checked:bg-input/50 [@media(hover:hover)_and_(pointer:fine)]:after:hidden", className), ...props, children: _jsx(SwitchPrimitive.Thumb, { "data-slot": "switch-thumb", "data-nc-ui": "", className: "pointer-events-none mt-px block rounded-full bg-primary-foreground ring-0 nc-transition-transform not-data-disabled:nc-elevation-resting group-data-[size=sm]/switch:ml-px group-data-[size=sm]/switch:size-2.75 group-data-[size=md]/switch:size-4.25 group-data-[size=lg]/switch:ml-px group-data-[size=lg]/switch:size-5.25 group-data-[size=sm]/switch:data-checked:translate-x-3.5 group-data-[size=md]/switch:data-checked:translate-x-4.25 group-data-[size=lg]/switch:data-checked:translate-x-4 data-disabled:bg-muted data-unchecked:translate-x-0" }) }));
|
|
52
58
|
}
|
|
53
59
|
export { Switch };
|
|
@@ -16,14 +16,13 @@ import { type CardActions } from "./page-actions.js";
|
|
|
16
16
|
* `ChartCard`. One object's facts are `SettingsFactsSection`.
|
|
17
17
|
* @behaviour The heading and a separator come first when given, a `status` right after the title, the
|
|
18
18
|
* heading's `actions` drawn as every card's header draws them (`CardActions`), and the toolbar on the
|
|
19
|
-
* heading's row at its trailing edge, title left and controls right
|
|
19
|
+
* heading's row at its trailing edge, title left and controls right; on a card under
|
|
20
20
|
* 576 px the toolbar takes its own line under the title. The table's first and last columns stand
|
|
21
21
|
* in from the card's edges by the card's spacing, so the first column lines up with the title. The summary row is a
|
|
22
22
|
* labelled total under the table, padded like a table footer so its label lines up with the first
|
|
23
23
|
* column and set in ink, medium text; the footer strip holds the hint on the left and the count or
|
|
24
24
|
* paging on the right. A `note` about the whole list stands in a strip of its own under that one:
|
|
25
|
-
* one muted line with an optional *Learn more* at the left and one secondary action at the right
|
|
26
|
-
* as Vercel ends a deployments list ("Deployment Retention is enabled", *View Recently Deleted*).
|
|
25
|
+
* one muted line with an optional *Learn more* at the left and one secondary action at the right.
|
|
27
26
|
* @words “Pagination labels are `Previous` and `Next`. Page-count copy reads `Page 2 of 7` or `21–40 of 142` with an en-dash inside the range.” (https://vercel.com/geist/table)
|
|
28
27
|
* Ours: the title names the collection. The footer is a count or the paging; the summary is a labelled total. Never a help sentence in the footer.
|
|
29
28
|
* @access A `section` whose title is an `h2`; the summary is a `dl`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-card.d.ts","sourceRoot":"","sources":["../../src/components/table-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEtF,OAAO,EAA4D,KAAK,WAAW,EAAE,MAAM,QAAQ,CAAC;AACpG,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,gBAAgB,CAAC;AAGlE
|
|
1
|
+
{"version":3,"file":"table-card.d.ts","sourceRoot":"","sources":["../../src/components/table-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEtF,OAAO,EAA4D,KAAK,WAAW,EAAE,MAAM,QAAQ,CAAC;AACpG,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,gBAAgB,CAAC;AAGlE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,iBAAS,SAAS,CAAC,EACjB,KAAK,EACL,MAAM,EACN,WAAW,EACX,OAAO,EACP,OAAO,EACP,OAAO,EACP,MAAM,EACN,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,GAAG;IAClD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,6FAA6F;IAC7F,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,SAAS,CAAC;IACxC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,0FAA0F;IAC1F,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAClC,+FAA+F;IAC/F,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wCAAwC;IACxC,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE,GAAG,SAAS,CAAC;IACzE,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,gIAAgI;IAChI,IAAI,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;CACnC,qBA4DA;AAED,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,CAAC"}
|
|
@@ -20,14 +20,13 @@ import { Separator } from "./separator.js";
|
|
|
20
20
|
* `ChartCard`. One object's facts are `SettingsFactsSection`.
|
|
21
21
|
* @behaviour The heading and a separator come first when given, a `status` right after the title, the
|
|
22
22
|
* heading's `actions` drawn as every card's header draws them (`CardActions`), and the toolbar on the
|
|
23
|
-
* heading's row at its trailing edge, title left and controls right
|
|
23
|
+
* heading's row at its trailing edge, title left and controls right; on a card under
|
|
24
24
|
* 576 px the toolbar takes its own line under the title. The table's first and last columns stand
|
|
25
25
|
* in from the card's edges by the card's spacing, so the first column lines up with the title. The summary row is a
|
|
26
26
|
* labelled total under the table, padded like a table footer so its label lines up with the first
|
|
27
27
|
* column and set in ink, medium text; the footer strip holds the hint on the left and the count or
|
|
28
28
|
* paging on the right. A `note` about the whole list stands in a strip of its own under that one:
|
|
29
|
-
* one muted line with an optional *Learn more* at the left and one secondary action at the right
|
|
30
|
-
* as Vercel ends a deployments list ("Deployment Retention is enabled", *View Recently Deleted*).
|
|
29
|
+
* one muted line with an optional *Learn more* at the left and one secondary action at the right.
|
|
31
30
|
* @words “Pagination labels are `Previous` and `Next`. Page-count copy reads `Page 2 of 7` or `21–40 of 142` with an en-dash inside the range.” (https://vercel.com/geist/table)
|
|
32
31
|
* Ours: the title names the collection. The footer is a count or the paging; the summary is a labelled total. Never a help sentence in the footer.
|
|
33
32
|
* @access A `section` whose title is an `h2`; the summary is a `dl`.
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { AccessibleName } from "./button.js";
|
|
3
|
-
import { type TableDetailFact } from "../internal/table-compact-line.js";
|
|
4
|
-
import { tableCompactLayouts, type TableCompactLayout } from "./table-layouts.js";
|
|
5
3
|
/** A table is named for assistive technology, or it is a decorative placeholder and hidden from it. */
|
|
6
4
|
type TableName = AccessibleName | {
|
|
7
5
|
"aria-hidden": true;
|
|
@@ -33,14 +31,9 @@ type TableName = AccessibleName | {
|
|
|
33
31
|
* `muted`; a footer has a rule above it and ink, medium text. A column's width is a `TableCol` in a
|
|
34
32
|
* `TableColgroup`. The table has no fill or edge of its own: it takes its enclosing surface, whose
|
|
35
33
|
* `Card` owns the outer edge, and a visible header and every record but the last end in a quiet 1 px
|
|
36
|
-
* `border` rule. A table that opens nothing implies no action on hover.
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* it, one muted line joined by a middle dot that ends in an ellipsis, their labels read by assistive
|
|
40
|
-
* technology only, as Vercel's lists read on a phone; a `Tag` there reads as its plain text, and a
|
|
41
|
-
* fact that `wraps` lets the line wrap whole instead of ending in an ellipsis. An entity row
|
|
42
|
-
* (`density="comfortable"`) keeps its facts in the identity cell instead: they join the text
|
|
43
|
-
* under the name that `RecordIdentity` draws (`TableCompactLine`), and wrap so every value stays readable. Colour is neutral throughout: headings and cells share
|
|
34
|
+
* `border` rule. A table that opens nothing implies no action on hover. On a card narrower than its columns the table keeps every column and
|
|
35
|
+
* scrolls sideways inside its card, as Geist's and shadcn's tables do: a cell's words stay on one
|
|
36
|
+
* line unless its column wraps. Colour is neutral throughout: headings and cells share
|
|
44
37
|
* the body grey and a heading differs by weight, the footer is ink, and the hue of a state lives in
|
|
45
38
|
* the `StatusBadge` of a cell, never in the row.
|
|
46
39
|
* “Sortable column headers are buttons. The visible label stays Title Case; the sort-direction arrow is decorative and the button announces the next sort state to assistive tech.” (https://vercel.com/geist/table)
|
|
@@ -55,10 +48,7 @@ type TableName = AccessibleName | {
|
|
|
55
48
|
* `aria-hidden` when it is only the placeholder of a loading view; `th scope="col"`, with
|
|
56
49
|
* `aria-sort` on the column the rows are ordered by.
|
|
57
50
|
*/
|
|
58
|
-
declare function Table({ className,
|
|
59
|
-
compactDetails?: TableCompactLayout;
|
|
60
|
-
density?: "default" | "comfortable";
|
|
61
|
-
}): React.JSX.Element;
|
|
51
|
+
declare function Table({ className, ...props }: React.ComponentProps<"table"> & TableName): React.JSX.Element;
|
|
62
52
|
declare function TableColgroup(props: React.ComponentProps<"colgroup">): React.JSX.Element;
|
|
63
53
|
declare function TableCol(props: React.ComponentProps<"col">): React.JSX.Element;
|
|
64
54
|
declare function TableHeader({ className, ...props }: React.ComponentProps<"thead">): React.JSX.Element;
|
|
@@ -75,17 +65,9 @@ declare function TableRecordGroup({ className, interactive, ...props }: React.Co
|
|
|
75
65
|
interactive?: boolean;
|
|
76
66
|
}): React.JSX.Element;
|
|
77
67
|
declare function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">): React.JSX.Element;
|
|
78
|
-
declare function TableRow({ className,
|
|
79
|
-
/** The compact layout of the `TableDetailRow` that follows this row: below its width this row closes up onto that line. */
|
|
80
|
-
detailLayout?: TableCompactLayout;
|
|
81
|
-
}): React.JSX.Element;
|
|
68
|
+
declare function TableRow({ className, ...props }: React.ComponentProps<"tr">): React.JSX.Element;
|
|
82
69
|
declare function TableHead({ className, ...props }: React.ComponentProps<"th">): React.JSX.Element;
|
|
83
70
|
declare function TableCell({ className, ...props }: React.ComponentProps<"td">): React.JSX.Element;
|
|
84
|
-
declare function TableDetailRow({ colSpan, facts, layout, }: {
|
|
85
|
-
colSpan: number;
|
|
86
|
-
layout?: TableCompactLayout;
|
|
87
|
-
facts: readonly TableDetailFact[];
|
|
88
|
-
}): React.JSX.Element;
|
|
89
71
|
declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): React.JSX.Element;
|
|
90
|
-
export { Table, TableColgroup, TableCol, TableHeader, TableBody, TableRecordGroup, TableFooter, TableHead, TableRow, TableCell, TableCaption,
|
|
72
|
+
export { Table, TableColgroup, TableCol, TableHeader, TableBody, TableRecordGroup, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
|
|
91
73
|
//# sourceMappingURL=table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/components/table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/components/table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,uGAAuG;AACvG,KAAK,SAAS,GAAG,cAAc,GAAG;IAAE,aAAa,EAAE,IAAI,CAAA;CAAE,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,qBAchF;AAED,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,qBAE7D;AAED,iBAAS,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAEnD;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,qBAS1E;AAID,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,OAAe,EACf,QAAgB,EAChB,WAAmB,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG;IACjC,uEAAuE;IACvE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uHAAuH;IACvH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,qBAgBA;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,WAAmB,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG;IACjC,sFAAsF;IACtF,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,qBAcA;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,qBAW1E;AAED,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAYpE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAYrE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAYrE;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,qBAQ7E;AAED,OAAO,EACL,KAAK,EACL,aAAa,EACb,QAAQ,EACR,WAAW,EACX,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAC"}
|