@nadicodeai/ui 12.1.246 → 12.1.248

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.
@@ -205,7 +205,7 @@ export type RecordListProps<TRecord extends RowData> = RecordCommandsOf<TRecord>
205
205
  */
206
206
  heading?: {
207
207
  title: string;
208
- /** The section's id, so a link to it lands on it: "ssh-keys" for `#ssh-keys`. */
208
+ /** The section's id, so a link to it lands on it: "passkeys" for `#passkeys`. */
209
209
  id?: string | undefined;
210
210
  /** The list's state right after the title: a `CheckCounts`. */
211
211
  status?: ReactElement;
@@ -7,6 +7,17 @@ import { type PageCommand } from "./page-actions.js";
7
7
  import { type RecordListProps } from "./record-list.js";
8
8
  import { type StepCardsProps } from "./step-cards.js";
9
9
  import { SheetContent } from "./sheet.js";
10
+ export type RecordSheetCode = {
11
+ label: string;
12
+ } & (({
13
+ state?: "read";
14
+ value: string;
15
+ } & Pick<CopyButtonProps, "copyLabel" | "copiedLabel" | "copyFailedLabel">) | {
16
+ state: "loading";
17
+ } | {
18
+ state: "failed";
19
+ failedLabel: string;
20
+ });
10
21
  export type RecordSheetProps<THeld extends RowData = never> = {
11
22
  open: boolean;
12
23
  onOpenChange: (open: boolean) => void;
@@ -18,11 +29,12 @@ export type RecordSheetProps<THeld extends RowData = never> = {
18
29
  description?: ReactNode;
19
30
  closeLabel: string;
20
31
  facts: readonly ObjectFact[];
21
- /** A read-only payload, such as an event's JSON, with its copy button's words. */
22
- code?: {
23
- label: string;
24
- value: string;
25
- } & Pick<CopyButtonProps, "copyLabel" | "copiedLabel" | "copyFailedLabel">;
32
+ /**
33
+ * A read-only payload, such as an event's JSON, with its copy button's words; or, for one the
34
+ * product reads when the sheet opens, its placeholder while it loads and its words when the read
35
+ * failed.
36
+ */
37
+ code?: RecordSheetCode;
26
38
  /**
27
39
  * The few records this record holds, each managed on its own: an app's accounts. A `RecordList`
28
40
  * with its `heading`, whose actions add one, and each row's commands.
@@ -43,9 +55,9 @@ export type RecordSheetProps<THeld extends RowData = never> = {
43
55
  * @family Compositions
44
56
  * @when A list's record holds more than its row shows and is only read, not changed: a Stripe event in Billing, a usage row. Or it holds a few records of its own that a person manages one by one, beside the list: an app's accounts in Nadia's Apps, each connected, renamed, reconnected or disconnected from its row in the sheet (`held`), and the Agents that use the app, each with its switch (`children`).
45
57
  * @instead A record changed from its list edits in its row with `RowEditForm`; a record with sections and commands of its own beyond the records it holds has its own page, an `ObjectPage`; a choice from a catalogue is a `CatalogDrawer`.
46
- * @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button, then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own: it opens only on a record.
47
- * @words The title is the record's own name, as its row shows it. The footer's command names where it goes: "Open Beta Studio".
48
- * @access A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label.
58
+ * @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button (one the product reads as the sheet opens is a still 384 px placeholder until it arrives, and its failure words in the error colour, with the error mark, if the read fails), then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own beyond its payload's: it opens only on a record.
59
+ * @words The title is the record's own name, as its row shows it. The footer's command names where it goes: "Open Beta Studio". A payload that could not be read says so: "Couldn't read the event".
60
+ * @access A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label; while it loads, its place is busy and the placeholder is hidden, and the arrival is announced from the same place.
49
61
  */
50
62
  export declare function RecordSheet<THeld extends RowData = never>({ open, onOpenChange, title, mark, description, closeLabel, facts, code, held, children, steps, footer, finalFocus, }: RecordSheetProps<THeld>): import("react").JSX.Element;
51
63
  //# sourceMappingURL=record-sheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"record-sheet.d.ts","sourceRoot":"","sources":["../../src/components/record-sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvD,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAClF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAEL,YAAY,EAKb,MAAM,oBAAoB,CAAC;AAE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ACnB,KAAK,EAAE,SAAS,UAAU,EAAE,CAAC;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;IAC9B,qJAAqJ;IACrJ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mGAAmG;IACnG,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,yDAAyD;IACzD,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC,YAAY,CAAC,CAAC;CAChE,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,KAAK,SAAS,OAAO,GAAG,KAAK,EAAE,EACzD,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,IAAI,EACJ,WAAW,EACX,UAAU,EACV,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,MAAM,EACN,UAAU,GACX,EAAE,gBAAgB,CAAC,KAAK,CAAC,+BA2CzB"}
@@ -1,11 +1,13 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { CircleAlert } from "lucide-react";
3
4
  import { CodeBlock } from "./code-block.js";
4
5
  import { cn } from "../lib/utils.js";
5
6
  import { IdentityMark } from "./identity-mark.js";
6
7
  import { ObjectFacts } from "./object-workspace.js";
7
8
  import { PageCommandButton } from "./page-actions.js";
8
9
  import { RecordList } from "./record-list.js";
10
+ import { Skeleton, SkeletonRegion } from "./skeleton.js";
9
11
  import { StepCards } from "./step-cards.js";
10
12
  import { Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, } from "./sheet.js";
11
13
  /**
@@ -14,11 +16,19 @@ import { Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetT
14
16
  * @family Compositions
15
17
  * @when A list's record holds more than its row shows and is only read, not changed: a Stripe event in Billing, a usage row. Or it holds a few records of its own that a person manages one by one, beside the list: an app's accounts in Nadia's Apps, each connected, renamed, reconnected or disconnected from its row in the sheet (`held`), and the Agents that use the app, each with its switch (`children`).
16
18
  * @instead A record changed from its list edits in its row with `RowEditForm`; a record with sections and commands of its own beyond the records it holds has its own page, an `ObjectPage`; a choice from a catalogue is a `CatalogDrawer`.
17
- * @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button, then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own: it opens only on a record.
18
- * @words The title is the record's own name, as its row shows it. The footer's command names where it goes: "Open Beta Studio".
19
- * @access A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label.
19
+ * @behaviour Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button (one the product reads as the sheet opens is a still 384 px placeholder until it arrives, and its failure words in the error colour, with the error mark, if the read fails), then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own beyond its payload's: it opens only on a record.
20
+ * @words The title is the record's own name, as its row shows it. The footer's command names where it goes: "Open Beta Studio". A payload that could not be read says so: "Couldn't read the event".
21
+ * @access A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label; while it loads, its place is busy and the placeholder is hidden, and the arrival is announced from the same place.
20
22
  */
21
23
  export function RecordSheet({ open, onOpenChange, title, mark, description, closeLabel, facts, code, held, children, steps, footer, finalFocus, }) {
22
24
  const managed = held !== undefined || steps !== undefined || Boolean(children);
23
- return (_jsx(Sheet, { modal: managed, onOpenChange: onOpenChange, open: open, children: _jsxs(SheetContent, { className: cn("max-sm:data-[side=right]:left-nadicode-sm max-sm:data-[side=right]:w-auto data-[side=right]:sm:w-[420px] data-[side=right]:sm:max-w-[calc(100%-var(--nc-lg))]", managed && "data-[side=right]:lg:w-[640px]"), closeLabel: closeLabel, finalFocus: finalFocus, side: "right", children: [_jsxs(SheetHeader, { className: "flex-row items-center gap-nadicode-sm pr-12", children: [mark ? _jsx(IdentityMark, { ...mark, size: 40 }) : null, _jsxs("div", { className: "grid min-w-0 gap-1", children: [_jsx(SheetTitle, { className: "wrap-break-word", children: title }), description ? _jsx(SheetDescription, { children: description }) : null] })] }), _jsxs("div", { className: "grid min-h-0 flex-1 auto-rows-max grid-cols-[minmax(0,1fr)] content-start gap-nadicode-md overflow-y-auto px-nadicode-lg pb-nadicode-lg", "data-slot": "record-sheet-body", children: [facts.length > 0 ? _jsx(ObjectFacts, { facts: facts }) : null, steps ? _jsx(StepCards, { ...steps }) : null, code ? (_jsx(CodeBlock, { code: code.value, copiedLabel: code.copiedLabel, copyFailedLabel: code.copyFailedLabel, copyLabel: code.copyLabel, label: code.label })) : null, held ? _jsx(RecordList, { ...held }) : null, children] }), footer ? (_jsx(SheetFooter, { className: "flex-row justify-end", "data-slot": "record-sheet-footer", children: _jsx(PageCommandButton, { command: footer, variant: "outline" }) })) : null] }) }));
25
+ return (_jsx(Sheet, { modal: managed, onOpenChange: onOpenChange, open: open, children: _jsxs(SheetContent, { className: cn("max-sm:data-[side=right]:left-nadicode-sm max-sm:data-[side=right]:w-auto data-[side=right]:sm:w-[420px] data-[side=right]:sm:max-w-[calc(100%-var(--nc-lg))]", managed && "data-[side=right]:lg:w-[640px]"), closeLabel: closeLabel, finalFocus: finalFocus, side: "right", children: [_jsxs(SheetHeader, { className: "flex-row items-center gap-nadicode-sm pr-12", children: [mark ? _jsx(IdentityMark, { ...mark, size: 40 }) : null, _jsxs("div", { className: "grid min-w-0 gap-1", children: [_jsx(SheetTitle, { className: "wrap-break-word", children: title }), description ? _jsx(SheetDescription, { children: description }) : null] })] }), _jsxs("div", { className: "grid min-h-0 flex-1 auto-rows-max grid-cols-[minmax(0,1fr)] content-start gap-nadicode-md overflow-y-auto px-nadicode-lg pb-nadicode-lg", "data-slot": "record-sheet-body", children: [facts.length > 0 ? _jsx(ObjectFacts, { facts: facts }) : null, steps ? _jsx(StepCards, { ...steps }) : null, code ? (_jsx(SkeletonRegion, { busy: code.state === "loading", "data-slot": "record-sheet-code", children: _jsx(RecordSheetPayload, { code: code }) })) : null, held ? _jsx(RecordList, { ...held }) : null, children] }), footer ? (_jsx(SheetFooter, { className: "flex-row justify-end", "data-slot": "record-sheet-footer", children: _jsx(PageCommandButton, { command: footer, variant: "outline" }) })) : null] }) }));
26
+ }
27
+ function RecordSheetPayload({ code }) {
28
+ if (code.state === "loading")
29
+ return _jsx(Skeleton, { className: "h-96 w-full rounded-md" });
30
+ if (code.state === "failed") {
31
+ return (_jsxs("p", { "data-slot": "record-sheet-code-failed", className: "flex items-center gap-1 text-caption text-destructive-soft-foreground", children: [_jsx(CircleAlert, { "aria-hidden": "true", className: "size-3 shrink-0", strokeWidth: 1.25 }), code.failedLabel] }));
32
+ }
33
+ return (_jsx(CodeBlock, { code: code.value, copiedLabel: code.copiedLabel, copyFailedLabel: code.copyFailedLabel, copyLabel: code.copyLabel, label: code.label }));
24
34
  }
@@ -329,9 +329,9 @@ export const USAGE = [
329
329
  summary: "One record from a list, looked at in a sheet at the right edge, then back to the list.",
330
330
  when: "A list's record holds more than its row shows and is only read, not changed: a Stripe event in Billing, a usage row. Or it holds a few records of its own that a person manages one by one, beside the list: an app's accounts in Nadia's Apps, each connected, renamed, reconnected or disconnected from its row in the sheet (`held`), and the Agents that use the app, each with its switch (`children`).",
331
331
  instead: "A record changed from its list edits in its row with `RowEditForm`; a record with sections and commands of its own beyond the records it holds has its own page, an `ObjectPage`; a choice from a catalogue is a `CatalogDrawer`.",
332
- behaviour: "Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button, then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own: it opens only on a record.",
333
- words: "The title is the record's own name, as its row shows it. The footer's command names where it goes: \"Open Beta Studio\".",
334
- access: "A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label.",
332
+ behaviour: "Opens from the right as an inset card 12 px from the window's edges with 16 px corners, the list still behind it and, while it is only read, usable. It is 420 px wide from 640 px, 512 px from 1024 px (the sheet's own width), and the window less its margins below 640 px; one that holds records or a setup is 640 px from 1024 px, so each held record's row stands on one line with its status and its commands, and it dims the page behind it and owns the screen while it is open. The header holds the record's mark at 40 beside its name, one muted line and Close; the body scrolls through its facts as labelled values, then the read-only payload with its copy button (one the product reads as the sheet opens is a still 384 px placeholder until it arrives, and its failure words in the error colour, with the error mark, if the read fails), then its setup as `StepCards`, then the records it holds as a `RecordList` under its heading, whose actions add one and whose rows carry their own status and commands, then any second list; the footer holds one command to the record's owner. A press outside does not close it. It has no states of its own beyond its payload's: it opens only on a record.",
333
+ words: 'The title is the record\'s own name, as its row shows it. The footer\'s command names where it goes: "Open Beta Studio". A payload that could not be read says so: "Couldn\'t read the event".',
334
+ access: "A dialog named by its title, not `modal` while it is only read: no scrim, and focus stays inside it; `modal`, with the scrim, while it holds records or a setup. Escape and Close close it. Focus returns to the row it opened from (`finalFocus`) after every close but a mouse, touch or pen one, as `Sheet` does by default; a caller that passes its own `finalFocus` decides. The payload is a read-only text area named by its label; while it loads, its place is busy and the placeholder is hidden, and the arrival is announced from the same place.",
335
335
  },
336
336
  {
337
337
  name: "RowEditForm",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/ui",
3
- "version": "12.1.246",
3
+ "version": "12.1.248",
4
4
  "type": "module",
5
5
  "imports": {
6
6
  "#jsx": "./src/jsx/index.ts",
@@ -82,7 +82,7 @@
82
82
  "@headless-tree/react": "1.8.0",
83
83
  "@iconify-icons/logos": "^2.0.3",
84
84
  "@iconify/react": "^6.0.2",
85
- "@nadicodeai/design-system": "12.1.246",
85
+ "@nadicodeai/design-system": "12.1.248",
86
86
  "@tanstack/react-table": "^9.3.1",
87
87
  "@vgpu/wgsl": "0.6.0",
88
88
  "class-variance-authority": "^0.7.1",