@nadicodeai/ui 12.1.249 → 12.1.250
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/components/entry-scene.d.ts +4 -23
- package/dist/components/entry-scene.d.ts.map +1 -1
- package/dist/components/entry-scene.js +3 -16
- package/dist/components/numbered-steps.d.ts +1 -1
- package/dist/components/numbered-steps.js +1 -1
- package/dist/components/run-timeline.d.ts +1 -1
- package/dist/components/run-timeline.js +1 -1
- package/dist/components/update-card.d.ts +1 -1
- package/dist/components/update-card.js +2 -2
- package/dist/showcase/specimens/feedback.d.ts +0 -1
- package/dist/showcase/specimens/feedback.d.ts.map +1 -1
- package/dist/showcase/specimens/feedback.js +1 -6
- package/dist/showcase/specimens/index.d.ts +0 -1
- package/dist/showcase/specimens/index.d.ts.map +1 -1
- 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 +6 -17
- package/dist/styles/components.css +0 -68
- package/package.json +2 -2
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ComponentProps, ReactNode } from "react";
|
|
2
|
-
export type EntryStageMark = "done" | "current" | "pending";
|
|
3
2
|
export type EntrySceneProps = {
|
|
4
3
|
/**
|
|
5
4
|
* The window's shape. The desktop opens at 1220x800 and the installer at
|
|
@@ -27,7 +26,7 @@ export type EntrySceneProps = {
|
|
|
27
26
|
/** Shown inside a page or a drawer rather than filling the window: its corners round as a card's do, and it sits in a plain block, which a grid or flex parent sizes by the scene's whole height. */
|
|
28
27
|
contained?: boolean;
|
|
29
28
|
className?: string;
|
|
30
|
-
/** The message, the actions
|
|
29
|
+
/** The message, the actions and the progress line. */
|
|
31
30
|
children?: ReactNode;
|
|
32
31
|
};
|
|
33
32
|
/**
|
|
@@ -38,7 +37,7 @@ export type EntrySceneProps = {
|
|
|
38
37
|
* @family Compositions
|
|
39
38
|
* @when Nadia's installer and the desktop's sign-in, start, update and failure screens, which paint the same screen; a page that shows that screen beside other things; the top of every Nadia pairing drawer, contained at 16:9 with only its short status ("Connecting Telegram", "Linked", "Code expired"): a longer sentence stands under the scene, never in it, and the code or QR the phone takes, with its expiry, then the steps on the phone follow it.
|
|
40
39
|
* @instead The Portal's entry pages are an `EntryPage`; Alveare Server's entry is the HiveScene; a wait inside the product is a WaitingLine.
|
|
41
|
-
* @behaviour It holds no state and decides nothing: which view is open, the words and when the screen ends belong to whoever mounts it. Required: the picture, the wordmark and the heading, because every entry screen has all three; a screen that leaves one out does not compile. It fills a box of the window's own shape (`aspectRatio`), so the picture's figure stands on the window's floor (`pictureFeet`). A failure quiets the picture and never removes it. Its children stand in order: the message, the actions, the progress line
|
|
40
|
+
* @behaviour It holds no state and decides nothing: which view is open, the words and when the screen ends belong to whoever mounts it. Required: the picture, the wordmark and the heading, because every entry screen has all three; a screen that leaves one out does not compile. It fills a box of the window's own shape (`aspectRatio`), so the picture's figure stands on the window's floor (`pictureFeet`). A failure quiets the picture and never removes it. Its children stand in order: the message, the actions, the progress line.
|
|
42
41
|
* @words The heading names the surface and is never seen. Instructions and status are one plain sentence that changes only when the real stage changes ("Loading your tools").
|
|
43
42
|
* @access One level-1 heading for the screen, read but not shown; a message that reports work in progress is a status.
|
|
44
43
|
*/
|
|
@@ -73,8 +72,8 @@ export declare function EntryAction({ variant, pressed, className, children, ...
|
|
|
73
72
|
* count under it.
|
|
74
73
|
*
|
|
75
74
|
* @family Feedback
|
|
76
|
-
* @when Work on an entry screen whose progress is measured: downloading an update, the
|
|
77
|
-
* @instead Work whose length is unknown is a WaitingLine;
|
|
75
|
+
* @when Work on an entry screen whose progress is measured: downloading an update, the steps of starting Nadia or Alveare Server.
|
|
76
|
+
* @instead Work whose length is unknown is a WaitingLine; measured work inside the product is a Progress with its count. The step running now is the line above it, in the progressive ("Starting the chat service"), never a list of every step (owner ruling, 17 November 2026).
|
|
78
77
|
* @behaviour The line keeps the measured fraction, clamped between empty and full; the count under it is the product's own words. It never prints a percentage.
|
|
79
78
|
* @words The count says what is measured, in tabular figures: "Step 2 of 3", "12 of 40 MB". Never an invented percentage.
|
|
80
79
|
* @access The count is a status, so assistive technology hears it change; the line is hidden.
|
|
@@ -84,22 +83,4 @@ export declare function EntryProgress({ fraction, count, className, }: {
|
|
|
84
83
|
count: string;
|
|
85
84
|
className?: string;
|
|
86
85
|
}): import("react").JSX.Element;
|
|
87
|
-
/**
|
|
88
|
-
* The stages a system runs on an entry screen, each done, current or still to come.
|
|
89
|
-
*
|
|
90
|
-
* @family Feedback
|
|
91
|
-
* @when The real stages of a long setup on an entry screen: installing Nadia, Alveare Server's "Get this computer ready".
|
|
92
|
-
* @instead Steps the person does are NumberedSteps; the steps of an Agent's run are a RunTimeline.
|
|
93
|
-
* @behaviour One mark per stage: done, current, still to come. Followed by the EntryProgress count. Nothing moves but the stage that changes.
|
|
94
|
-
* @words Each stage is what the system does, in the imperative: "Start the chat service".
|
|
95
|
-
* @access An ordered list; the current stage carries `aria-current="step"`; the marks are hidden.
|
|
96
|
-
*/
|
|
97
|
-
export declare function EntryStageList({ stages, className, }: {
|
|
98
|
-
stages: ReadonlyArray<{
|
|
99
|
-
id: string;
|
|
100
|
-
label: string;
|
|
101
|
-
mark: EntryStageMark;
|
|
102
|
-
}>;
|
|
103
|
-
className?: string;
|
|
104
|
-
}): import("react").JSX.Element;
|
|
105
86
|
//# sourceMappingURL=entry-scene.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-scene.d.ts","sourceRoot":"","sources":["../../src/components/entry-scene.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtE,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"entry-scene.d.ts","sourceRoot":"","sources":["../../src/components/entry-scene.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;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B,OAAmB,EACnB,OAAO,EACP,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,QAAQ,CAAC,GAAG;IAC5B,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+BAYA;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,KAAK,EACL,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BAaA"}
|
|
@@ -9,7 +9,7 @@ import { cssVariables } from "../lib/css-variables.js";
|
|
|
9
9
|
* @family Compositions
|
|
10
10
|
* @when Nadia's installer and the desktop's sign-in, start, update and failure screens, which paint the same screen; a page that shows that screen beside other things; the top of every Nadia pairing drawer, contained at 16:9 with only its short status ("Connecting Telegram", "Linked", "Code expired"): a longer sentence stands under the scene, never in it, and the code or QR the phone takes, with its expiry, then the steps on the phone follow it.
|
|
11
11
|
* @instead The Portal's entry pages are an `EntryPage`; Alveare Server's entry is the HiveScene; a wait inside the product is a WaitingLine.
|
|
12
|
-
* @behaviour It holds no state and decides nothing: which view is open, the words and when the screen ends belong to whoever mounts it. Required: the picture, the wordmark and the heading, because every entry screen has all three; a screen that leaves one out does not compile. It fills a box of the window's own shape (`aspectRatio`), so the picture's figure stands on the window's floor (`pictureFeet`). A failure quiets the picture and never removes it. Its children stand in order: the message, the actions, the progress line
|
|
12
|
+
* @behaviour It holds no state and decides nothing: which view is open, the words and when the screen ends belong to whoever mounts it. Required: the picture, the wordmark and the heading, because every entry screen has all three; a screen that leaves one out does not compile. It fills a box of the window's own shape (`aspectRatio`), so the picture's figure stands on the window's floor (`pictureFeet`). A failure quiets the picture and never removes it. Its children stand in order: the message, the actions, the progress line.
|
|
13
13
|
* @words The heading names the surface and is never seen. Instructions and status are one plain sentence that changes only when the real stage changes ("Loading your tools").
|
|
14
14
|
* @access One level-1 heading for the screen, read but not shown; a message that reports work in progress is a status.
|
|
15
15
|
*/
|
|
@@ -47,8 +47,8 @@ export function EntryAction({ variant = "primary", pressed, className, children,
|
|
|
47
47
|
* count under it.
|
|
48
48
|
*
|
|
49
49
|
* @family Feedback
|
|
50
|
-
* @when Work on an entry screen whose progress is measured: downloading an update, the
|
|
51
|
-
* @instead Work whose length is unknown is a WaitingLine;
|
|
50
|
+
* @when Work on an entry screen whose progress is measured: downloading an update, the steps of starting Nadia or Alveare Server.
|
|
51
|
+
* @instead Work whose length is unknown is a WaitingLine; measured work inside the product is a Progress with its count. The step running now is the line above it, in the progressive ("Starting the chat service"), never a list of every step (owner ruling, 17 November 2026).
|
|
52
52
|
* @behaviour The line keeps the measured fraction, clamped between empty and full; the count under it is the product's own words. It never prints a percentage.
|
|
53
53
|
* @words The count says what is measured, in tabular figures: "Step 2 of 3", "12 of 40 MB". Never an invented percentage.
|
|
54
54
|
* @access The count is a status, so assistive technology hears it change; the line is hidden.
|
|
@@ -57,16 +57,3 @@ export function EntryProgress({ fraction, count, className, }) {
|
|
|
57
57
|
const width = Math.min(1, Math.max(0, fraction));
|
|
58
58
|
return (_jsxs("div", { className: cn("nc-entry-progress", className), children: [_jsx("div", { "aria-hidden": "true", className: "nc-entry-progress-track", children: _jsx("div", { className: "nc-entry-progress-value", style: { width: `${width * 100}%` } }) }), _jsx("span", { className: "nc-entry-progress-count", role: "status", children: count })] }));
|
|
59
59
|
}
|
|
60
|
-
/**
|
|
61
|
-
* The stages a system runs on an entry screen, each done, current or still to come.
|
|
62
|
-
*
|
|
63
|
-
* @family Feedback
|
|
64
|
-
* @when The real stages of a long setup on an entry screen: installing Nadia, Alveare Server's "Get this computer ready".
|
|
65
|
-
* @instead Steps the person does are NumberedSteps; the steps of an Agent's run are a RunTimeline.
|
|
66
|
-
* @behaviour One mark per stage: done, current, still to come. Followed by the EntryProgress count. Nothing moves but the stage that changes.
|
|
67
|
-
* @words Each stage is what the system does, in the imperative: "Start the chat service".
|
|
68
|
-
* @access An ordered list; the current stage carries `aria-current="step"`; the marks are hidden.
|
|
69
|
-
*/
|
|
70
|
-
export function EntryStageList({ stages, className, }) {
|
|
71
|
-
return (_jsx("ol", { className: cn("nc-entry-stages", className), children: stages.map((stage) => (_jsxs("li", { "aria-current": stage.mark === "current" ? "step" : undefined, "data-mark": stage.mark, children: [_jsx("span", { "aria-hidden": "true", className: "nc-entry-mark" }), stage.label] }, stage.id))) }));
|
|
72
|
-
}
|
|
@@ -33,7 +33,7 @@ export type NumberedStepsProps = {
|
|
|
33
33
|
*
|
|
34
34
|
* @family Other
|
|
35
35
|
* @when A short sequence the person does: installing Nadia from Downloads, connecting Teams, the Dashboard's setup guide, an `ObjectSection` whose body is these steps; or a sequence whose real progress the page tracks, such as the company check; and, as `columns`, the few steps a page explains, such as the website's how it works.
|
|
36
|
-
* @instead
|
|
36
|
+
* @instead A system's steps on an entry screen are the EntryProgress under the line naming the step running now; the steps of an Agent's run are a RunTimeline; a setup with a wait is a FormDrawer with its "Step 2 of 3" line.
|
|
37
37
|
* @behaviour Each step is a 28 px square number in label-mono, its title, one muted description and, under it, the step's own `command` and then its `content`. The product gives the command as data and the steps draw it: filled on the current step, the page's next thing to do, and outline on the others; a product never draws a button in a step (nadicode decision). `content` holds what is not a command, such as a `Snippet` to copy or a state badge. Instructions mark no step and every number stays muted, because the page cannot know which one the person is on. Where the page tracks real progress, `current` turns that step's number to ink and writes its word beside the title. `framed` draws one bordered list with a seam between steps; `columns` sets the steps side by side as the width it is given allows, each column at least 192 px, so a phone stacks them and a wide page or panel holds three, each number above its words, and is never framed. A step's command and content never grow past its step: one wider than the step is held to its width, and its label is cut short with an ellipsis inside it. Colour is neutral: the current number is ink on the page's background and the others are muted; no hue marks a step. It is the one owner of a drawn step number.
|
|
38
38
|
* @words The title is what the person does, in the imperative ("Install Nadia"), or a finished step in the past tense ("Sofia looked up acme.it"). The current step's word is short: "Now". A command names its verb and its noun ("Download Nadia"), and a platform line under it is its `content` ("macOS · 2.14.0 · Apple silicon").
|
|
39
39
|
* @access An ordered list named by `label`, so assistive technology reads the count and position; the drawn numbers are hidden. The current step carries `aria-current="step"`. The titles are not headings, so the list never breaks the page's heading order.
|
|
@@ -6,7 +6,7 @@ import { cn } from "../lib/utils.js";
|
|
|
6
6
|
*
|
|
7
7
|
* @family Other
|
|
8
8
|
* @when A short sequence the person does: installing Nadia from Downloads, connecting Teams, the Dashboard's setup guide, an `ObjectSection` whose body is these steps; or a sequence whose real progress the page tracks, such as the company check; and, as `columns`, the few steps a page explains, such as the website's how it works.
|
|
9
|
-
* @instead
|
|
9
|
+
* @instead A system's steps on an entry screen are the EntryProgress under the line naming the step running now; the steps of an Agent's run are a RunTimeline; a setup with a wait is a FormDrawer with its "Step 2 of 3" line.
|
|
10
10
|
* @behaviour Each step is a 28 px square number in label-mono, its title, one muted description and, under it, the step's own `command` and then its `content`. The product gives the command as data and the steps draw it: filled on the current step, the page's next thing to do, and outline on the others; a product never draws a button in a step (nadicode decision). `content` holds what is not a command, such as a `Snippet` to copy or a state badge. Instructions mark no step and every number stays muted, because the page cannot know which one the person is on. Where the page tracks real progress, `current` turns that step's number to ink and writes its word beside the title. `framed` draws one bordered list with a seam between steps; `columns` sets the steps side by side as the width it is given allows, each column at least 192 px, so a phone stacks them and a wide page or panel holds three, each number above its words, and is never framed. A step's command and content never grow past its step: one wider than the step is held to its width, and its label is cut short with an ellipsis inside it. Colour is neutral: the current number is ink on the page's background and the others are muted; no hue marks a step. It is the one owner of a drawn step number.
|
|
11
11
|
* @words The title is what the person does, in the imperative ("Install Nadia"), or a finished step in the past tense ("Sofia looked up acme.it"). The current step's word is short: "Now". A command names its verb and its noun ("Download Nadia"), and a platform line under it is its `content` ("macOS · 2.14.0 · Apple silicon").
|
|
12
12
|
* @access An ordered list named by `label`, so assistive technology reads the count and position; the drawn numbers are hidden. The current step carries `aria-current="step"`. The titles are not headings, so the list never breaks the page's heading order.
|
|
@@ -18,7 +18,7 @@ export type RunTimelineStep = {
|
|
|
18
18
|
*
|
|
19
19
|
* @family Data
|
|
20
20
|
* @when The steps of one run, in order, one step per row: a scheduled task's run, an Agent's handoff, a workflow. Each step is something the run did or will do.
|
|
21
|
-
* @instead What happened to a record over time is an ActivityFeed; steps a person follows are NumberedSteps;
|
|
21
|
+
* @instead What happened to a record over time is an ActivityFeed; steps a person follows are NumberedSteps; a system's steps on an entry screen are the EntryProgress under the line naming the step running now.
|
|
22
22
|
* @behaviour Each step is a node on one rail, its label and title, one line of detail, and its time at the trailing edge ("—" until it happens). The node marks the step and never grades it: a done step's node is the body-grey dot, the current step's node is ink, a step to come is drawn in the line colour with its title muted. An outcome that needs a person is the StatusBadge inside its step ("Needs your decision"). Each step's time stands in the feed's column, in the feed's time style. Nothing moves. It is also a framework-neutral CSS component: the `nc-run-timeline` class on the list with the parts `nc-run-timeline-step` (carrying `data-progress` of `done`, `current` or `upcoming`), `-node`, `-content`, `-label`, `-title` and `-detail`, which another renderer can use without this component.
|
|
23
23
|
* @words The label numbers the step ("Step 01"); a done step's title is in the past tense ("Filed the invoices"), a step to come in the imperative ("Send the summary to Marco"); a waiting step's detail says what it waits for ("Waits for your decision on step 03").
|
|
24
24
|
* @access An ordered list; the current step carries `aria-current="step"`; the rail and nodes are hidden from assistive technology, and so is the dash of a step that has not happened.
|
|
@@ -6,7 +6,7 @@ import { cn } from "../lib/utils.js";
|
|
|
6
6
|
*
|
|
7
7
|
* @family Data
|
|
8
8
|
* @when The steps of one run, in order, one step per row: a scheduled task's run, an Agent's handoff, a workflow. Each step is something the run did or will do.
|
|
9
|
-
* @instead What happened to a record over time is an ActivityFeed; steps a person follows are NumberedSteps;
|
|
9
|
+
* @instead What happened to a record over time is an ActivityFeed; steps a person follows are NumberedSteps; a system's steps on an entry screen are the EntryProgress under the line naming the step running now.
|
|
10
10
|
* @behaviour Each step is a node on one rail, its label and title, one line of detail, and its time at the trailing edge ("—" until it happens). The node marks the step and never grades it: a done step's node is the body-grey dot, the current step's node is ink, a step to come is drawn in the line colour with its title muted. An outcome that needs a person is the StatusBadge inside its step ("Needs your decision"). Each step's time stands in the feed's column, in the feed's time style. Nothing moves. It is also a framework-neutral CSS component: the `nc-run-timeline` class on the list with the parts `nc-run-timeline-step` (carrying `data-progress` of `done`, `current` or `upcoming`), `-node`, `-content`, `-label`, `-title` and `-detail`, which another renderer can use without this component.
|
|
11
11
|
* @words The label numbers the step ("Step 01"); a done step's title is in the past tense ("Filed the invoices"), a step to come in the imperative ("Send the summary to Marco"); a waiting step's detail says what it waits for ("Waits for your decision on step 03").
|
|
12
12
|
* @access An ordered list; the current step carries `aria-current="step"`; the rail and nodes are hidden from assistive technology, and so is the dash of a step that has not happened.
|
|
@@ -51,7 +51,7 @@ export type UpdateCardProps = {
|
|
|
51
51
|
* @family Feedback
|
|
52
52
|
* @when The one place a desktop app offers its own update: Nadia's, Alveare's and Alveare Server's sidebar foot, from the moment a newer version is found until the person closes the line naming the version that now runs. `ProductShell` draws it from its `band.update`; Alveare keeps Buzz's sidebar and mounts it there, and Alveare Server's stopped and failed screens, which have no sidebar, show it in their body (owner ruling, 6 November 2026).
|
|
53
53
|
* @instead Nothing else offers the update: no toast, no banner, no window of its own (owner ruling, 6 November 2026). The Portal's way to get an app is its Downloads row.
|
|
54
|
-
* @behaviour One outlined row of the column's width, shaped as the sidebar's Find, in four states (nadicode decision). Available: a download icon in the primary colour, the line, and a small primary command at the end that keeps its place and says its pending word while it runs. Downloading: the line, and under it a 4 px bar of what has arrived, while the app stays usable; with no size known, or while it installs, the line alone. Failed: the line still offering the version, the reason under it in the error colour, and Try again at the end. Updated: a check, the line and a ghost close. With `restart`, Update and Try again open its confirmation first, because restarting stops someone's work (Nadia's working Agents, Alveare Server's workspace for every colleague); the confirmation closes as the update starts, and the card shows it from there (owner ruling, 6 November 2026). Nothing is cut: an offer whose line and command, or pending word, do not fit one row puts the command on a second row at its end, as "Alveare Server 0.7.0 è pronto" with "Aggiornamento in corso" does in a 256 px column; any other line wraps (nadicode decision). Narrow, the row is one icon button whose tooltip shows the line: Update, Try again or Close, or, while it downloads, a busy button that does nothing (nadicode decision).
|
|
54
|
+
* @behaviour One outlined row of the column's width, shaped as the sidebar's Find, in four states (nadicode decision). Available: a download icon in the primary colour, the line, and a small primary command at the end that keeps its place and says its pending word while it runs. Downloading: the line, and under it a 4 px bar of what has arrived, while the app stays usable; with no size known, or while it installs, the line alone. Failed: the line still offering the version, the reason under it in the error colour, and Try again at the end. Updated: a check, the line and a ghost close. With `restart`, Update and Try again open its confirmation first, because restarting stops someone's work (Nadia's working Agents, Alveare Server's workspace for every colleague); the confirmation closes as the update starts, and the card shows it from there (owner ruling, 6 November 2026). Nothing is cut: an offer whose line and command, or pending word, do not fit one row puts the command on a second row at its end, as "Alveare Server 0.7.0 è pronto" with "Aggiornamento in corso" does in a 256 px column; any other line wraps, and the close stays beside it on the first row (nadicode decision). Narrow, the row is one icon button whose tooltip shows the line: Update, Try again or Close, or, while it downloads, a busy button that does nothing (nadicode decision).
|
|
55
55
|
* @words One line names the product, its number and what happened ("Nadia 0.42.0 is ready", "Updated to Nadia 0.42.0"); while it runs, the stage ("Downloading update"); a failure is the catalogue's message, its retry "Try again". The command is one verb ("Update") and the confirmation's button names what it does ("Update and restart") (nadicode decision).
|
|
56
56
|
* @access The row is a region named by its line; the bar is a progressbar named by it. The narrow button is named by its command and the line ("Update: Nadia 0.42.0 is ready"), and the close carries its label; a running command or download is aria-busy; a failure is an alert.
|
|
57
57
|
*/
|
|
@@ -35,7 +35,7 @@ function useRestartFirst(command, restart) {
|
|
|
35
35
|
* @family Feedback
|
|
36
36
|
* @when The one place a desktop app offers its own update: Nadia's, Alveare's and Alveare Server's sidebar foot, from the moment a newer version is found until the person closes the line naming the version that now runs. `ProductShell` draws it from its `band.update`; Alveare keeps Buzz's sidebar and mounts it there, and Alveare Server's stopped and failed screens, which have no sidebar, show it in their body (owner ruling, 6 November 2026).
|
|
37
37
|
* @instead Nothing else offers the update: no toast, no banner, no window of its own (owner ruling, 6 November 2026). The Portal's way to get an app is its Downloads row.
|
|
38
|
-
* @behaviour One outlined row of the column's width, shaped as the sidebar's Find, in four states (nadicode decision). Available: a download icon in the primary colour, the line, and a small primary command at the end that keeps its place and says its pending word while it runs. Downloading: the line, and under it a 4 px bar of what has arrived, while the app stays usable; with no size known, or while it installs, the line alone. Failed: the line still offering the version, the reason under it in the error colour, and Try again at the end. Updated: a check, the line and a ghost close. With `restart`, Update and Try again open its confirmation first, because restarting stops someone's work (Nadia's working Agents, Alveare Server's workspace for every colleague); the confirmation closes as the update starts, and the card shows it from there (owner ruling, 6 November 2026). Nothing is cut: an offer whose line and command, or pending word, do not fit one row puts the command on a second row at its end, as "Alveare Server 0.7.0 è pronto" with "Aggiornamento in corso" does in a 256 px column; any other line wraps (nadicode decision). Narrow, the row is one icon button whose tooltip shows the line: Update, Try again or Close, or, while it downloads, a busy button that does nothing (nadicode decision).
|
|
38
|
+
* @behaviour One outlined row of the column's width, shaped as the sidebar's Find, in four states (nadicode decision). Available: a download icon in the primary colour, the line, and a small primary command at the end that keeps its place and says its pending word while it runs. Downloading: the line, and under it a 4 px bar of what has arrived, while the app stays usable; with no size known, or while it installs, the line alone. Failed: the line still offering the version, the reason under it in the error colour, and Try again at the end. Updated: a check, the line and a ghost close. With `restart`, Update and Try again open its confirmation first, because restarting stops someone's work (Nadia's working Agents, Alveare Server's workspace for every colleague); the confirmation closes as the update starts, and the card shows it from there (owner ruling, 6 November 2026). Nothing is cut: an offer whose line and command, or pending word, do not fit one row puts the command on a second row at its end, as "Alveare Server 0.7.0 è pronto" with "Aggiornamento in corso" does in a 256 px column; any other line wraps, and the close stays beside it on the first row (nadicode decision). Narrow, the row is one icon button whose tooltip shows the line: Update, Try again or Close, or, while it downloads, a busy button that does nothing (nadicode decision).
|
|
39
39
|
* @words One line names the product, its number and what happened ("Nadia 0.42.0 is ready", "Updated to Nadia 0.42.0"); while it runs, the stage ("Downloading update"); a failure is the catalogue's message, its retry "Try again". The command is one verb ("Update") and the confirmation's button names what it does ("Update and restart") (nadicode decision).
|
|
40
40
|
* @access The row is a region named by its line; the bar is a progressbar named by it. The narrow button is named by its command and the line ("Update: Nadia 0.42.0 is ready"), and the close carries its label; a running command or download is aria-busy; a failure is an alert.
|
|
41
41
|
*/
|
|
@@ -58,7 +58,7 @@ const ICON = {
|
|
|
58
58
|
function Card(props) {
|
|
59
59
|
const Icon = ICON[props.state];
|
|
60
60
|
const failure = props.state === "failed" ? props.message : null;
|
|
61
|
-
return (_jsxs("section", { "aria-busy": props.state === "downloading" || undefined, "aria-label": props.title, className: cn("flex min-h-control-height min-w-0 flex-wrap items-center gap-x-2 gap-y-1 rounded-sm border border-sidebar-border bg-background py-1 pr-1 pl-2 text-sm text-sidebar-foreground", props.state !== "available" && props.state !== "failed" && "pr-2"), "data-slot": "update-card", "data-state": props.state, children: [_jsxs("span", { className: "flex min-w-0 max-w-full grow
|
|
61
|
+
return (_jsxs("section", { "aria-busy": props.state === "downloading" || undefined, "aria-label": props.title, className: cn("flex min-h-control-height min-w-0 flex-wrap items-center gap-x-2 gap-y-1 rounded-sm border border-sidebar-border bg-background py-1 pr-1 pl-2 text-sm text-sidebar-foreground", props.state !== "available" && props.state !== "failed" && "pr-2"), "data-slot": "update-card", "data-state": props.state, children: [_jsxs("span", { className: cn("flex min-w-0 max-w-full grow items-center gap-2 [&>svg]:size-5 [&>svg]:shrink-0", props.command ? "basis-auto" : "basis-0"), children: [_jsx(Icon, { "aria-hidden": "true", className: cn(props.state === "available" || props.state === "downloading"
|
|
62
62
|
? "text-primary"
|
|
63
63
|
: props.state === "failed"
|
|
64
64
|
? "text-destructive"
|
|
@@ -7,7 +7,6 @@ export declare const FEEDBACK: {
|
|
|
7
7
|
Alert: () => import("react").JSX.Element;
|
|
8
8
|
EmptyState: typeof EmptyStateSpecimen;
|
|
9
9
|
EntryProgress: () => import("react").JSX.Element;
|
|
10
|
-
EntryStageList: () => import("react").JSX.Element;
|
|
11
10
|
HoverCard: () => import("react").JSX.Element;
|
|
12
11
|
MessageNotice: () => import("react").JSX.Element;
|
|
13
12
|
NoticeBanner: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/feedback.tsx"],"names":[],"mappings":"AA4CA,iBAAS,kBAAkB,gCAoE1B;AAED,iBAAS,oBAAoB,gCAkB5B;AAED,iBAAS,eAAe,gCA6BvB;AAED,iBAAS,kBAAkB,gCAuC1B;AAED,iBAAS,sBAAsB,gCAwB9B;AAED,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/feedback.tsx"],"names":[],"mappings":"AA4CA,iBAAS,kBAAkB,gCAoE1B;AAED,iBAAS,oBAAoB,gCAkB5B;AAED,iBAAS,eAAe,gCA6BvB;AAED,iBAAS,kBAAkB,gCAuC1B;AAED,iBAAS,sBAAsB,gCAwB9B;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;CAgLM,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { useState } from "react";
|
|
|
5
5
|
import { Alert, AlertDescription, AlertTitle } from "../../components/alert.js";
|
|
6
6
|
import { Button } from "../../components/button.js";
|
|
7
7
|
import { EmptyState } from "../../components/empty-state.js";
|
|
8
|
-
import { EntryProgress
|
|
8
|
+
import { EntryProgress } from "../../components/entry-scene.js";
|
|
9
9
|
import { DropdownMenu, DropdownMenuCommand, DropdownMenuContent, DropdownMenuTrigger, } from "../../components/dropdown-menu.js";
|
|
10
10
|
import { HoverCard, HoverCardContent, HoverCardSummary, HoverCardTrigger, } from "../../components/hover-card.js";
|
|
11
11
|
import { MessageNotice } from "../../components/message-notice.js";
|
|
@@ -55,11 +55,6 @@ export const FEEDBACK = {
|
|
|
55
55
|
Alert: () => (_jsxs("div", { className: "grid max-w-lg gap-3", children: [_jsxs(Alert, { variant: "info", children: [_jsx(Info, { "aria-hidden": "true" }), _jsx(AlertTitle, { children: "Approvals are on" }), _jsx(AlertDescription, { children: "Payments over \u20AC 500 wait for you." })] }), _jsxs(Alert, { variant: "warning", children: [_jsx(TriangleAlert, { "aria-hidden": "true" }), _jsx(AlertTitle, { children: "WhatsApp needs a new code" }), _jsx(AlertDescription, { children: "Messages wait until it is paired again." })] }), _jsxs(Alert, { variant: "destructive", children: [_jsx(TriangleAlert, { "aria-hidden": "true" }), _jsx(AlertTitle, { children: "Payment failed" }), _jsx(AlertDescription, { children: "Agents stop at the end of the billing cycle." })] })] })),
|
|
56
56
|
EmptyState: EmptyStateSpecimen,
|
|
57
57
|
EntryProgress: () => (_jsx("div", { className: "max-w-sm", children: _jsx(EntryProgress, { count: "27 of 40 files", fraction: 27 / 40 }) })),
|
|
58
|
-
EntryStageList: () => (_jsx(EntryStageList, { stages: [
|
|
59
|
-
{ id: "download", label: "Download Nadia", mark: "done" },
|
|
60
|
-
{ id: "install", label: "Install her tools", mark: "current" },
|
|
61
|
-
{ id: "sign-in", label: "Sign in", mark: "pending" },
|
|
62
|
-
] })),
|
|
63
58
|
HoverCard: () => (_jsxs("div", { className: "flex flex-wrap items-center gap-6", children: [_jsx(RecordTime, { at: "2026-10-14T07:00:00Z", now: NOW, phrase: (when) => `Updated ${when}`, timeZone: "Europe/Rome" }), _jsx(RecordTime, { at: null, mode: "clock", children: "Pending" }), _jsxs(HoverCard, { children: [_jsx(HoverCardTrigger, { render: _jsx("button", { className: "text-sm underline decoration-dotted", type: "button" }), children: "Portal" }), _jsx(HoverCardContent, { children: _jsx(HoverCardSummary, { action: { label: "Open project", href: "#" }, detail: "nadicode / portal", facts: [
|
|
64
59
|
{ label: "Plan", value: "Pro" },
|
|
65
60
|
{ label: "Region", value: "Frankfurt" },
|
|
@@ -44,7 +44,6 @@ export declare const SPECIMENS: {
|
|
|
44
44
|
Alert: () => import("react").JSX.Element;
|
|
45
45
|
EmptyState: () => import("react").JSX.Element;
|
|
46
46
|
EntryProgress: () => import("react").JSX.Element;
|
|
47
|
-
EntryStageList: () => import("react").JSX.Element;
|
|
48
47
|
HoverCard: () => import("react").JSX.Element;
|
|
49
48
|
MessageNotice: () => import("react").JSX.Element;
|
|
50
49
|
NoticeBanner: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYiB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type UsageName = "ActivityFeed" | "AssistantPanelHeader" | "AssistantWelcome" | "BoardEmpty" | "BoardHeader" | "CatalogDrawer" | "CollectionFilters" | "CollectionPage" | "CollectionToolbar" | "ConfirmDialog" | "ConversationCard" | "DrawerSteps" | "EntryPage" | "EntryPicture" | "EntryScene" | "FilterToolbar" | "FormDialog" | "FormDrawer" | "InviteCard" | "LibraryShelf" | "ObjectPage" | "ObjectSection" | "OverviewPage" | "PageFrame" | "PageHeader" | "PlanCard" | "ProductBand" | "RecordList" | "RecordSheet" | "RowEditForm" | "SettingsPage" | "SettingsSection" | "StepCards" | "useCatalogRows" | "Button" | "ButtonGroup" | "ButtonLink" | "CardActionsRow" | "CompanyCardActions" | "CopyButton" | "LoadMoreButton" | "PageActions" | "RecordCommands" | "RecordContextMenu" | "Calendar" | "ClearableInput" | "CollectionSearch" | "Field" | "FolderField" | "Form" | "Input" | "InputGroup" | "InputOTP" | "Label" | "NativeSelect" | "SettingsField" | "SettingsRows" | "Slider" | "Textarea" | "Checkbox" | "ChoiceboxGroup" | "CollectionSort" | "Combobox" | "ModelSelect" | "MultiSelect" | "RadioGroup" | "SegmentedChoice" | "SegmentedControl" | "Select" | "Switch" | "ThemeModeSegments" | "ThemeModeSwitcher" | "Toggle" | "ToggleGroup" | "ActionStatus" | "AgentOrb" | "AppIcon" | "AppMark" | "ArchIcon" | "Avatar" | "Badge" | "BrandWordmark" | "CategoryTag" | "CheckCounts" | "FileTypeIcon" | "IconTile" | "IdentityMark" | "ModelIdentity" | "ModelMark" | "ObjectFactValue" | "PlatformMark" | "ProductWordmark" | "ProgressChecklist" | "RecordIdentity" | "StatusBadge" | "Tag" | "AgentListRow" | "Breadcrumb" | "ColumnFoot" | "CommandDialog" | "DocumentTabs" | "FileTree" | "Footer" | "PlaceCount" | "PortalSidebarFrame" | "ProductShell" | "ProductShellBell" | "ScopeSwitcher" | "Sidebar" | "SidebarBrand" | "SidebarEntryCard" | "SidebarFind" | "SidebarFoot" | "SidebarFrame" | "SidebarMenuChevron" | "SidebarSections" | "Tabs" | "TabsNav" | "textLinkVariants" | "AgentCard" | "AgentRow" | "Card" | "CardRow" | "CatalogCard" | "CodeBlock" | "DataTable" | "DiffCount" | "DisclosureRow" | "EventRow" | "FigureRow" | "FileDiff" | "Gauge" | "Item" | "Kbd" | "MiddleTruncate" | "ObjectFacts" | "PairingCode" | "Progress" | "QrCode" | "RecordTime" | "RunTimeline" | "SettingsFactsSection" | "Snippet" | "Table" | "TableCard" | "TableValue" | "TextWithCopyButton" | "UsageMeter" | "Alert" | "EmptyState" | "EntryProgress" | "
|
|
1
|
+
export type UsageName = "ActivityFeed" | "AssistantPanelHeader" | "AssistantWelcome" | "BoardEmpty" | "BoardHeader" | "CatalogDrawer" | "CollectionFilters" | "CollectionPage" | "CollectionToolbar" | "ConfirmDialog" | "ConversationCard" | "DrawerSteps" | "EntryPage" | "EntryPicture" | "EntryScene" | "FilterToolbar" | "FormDialog" | "FormDrawer" | "InviteCard" | "LibraryShelf" | "ObjectPage" | "ObjectSection" | "OverviewPage" | "PageFrame" | "PageHeader" | "PlanCard" | "ProductBand" | "RecordList" | "RecordSheet" | "RowEditForm" | "SettingsPage" | "SettingsSection" | "StepCards" | "useCatalogRows" | "Button" | "ButtonGroup" | "ButtonLink" | "CardActionsRow" | "CompanyCardActions" | "CopyButton" | "LoadMoreButton" | "PageActions" | "RecordCommands" | "RecordContextMenu" | "Calendar" | "ClearableInput" | "CollectionSearch" | "Field" | "FolderField" | "Form" | "Input" | "InputGroup" | "InputOTP" | "Label" | "NativeSelect" | "SettingsField" | "SettingsRows" | "Slider" | "Textarea" | "Checkbox" | "ChoiceboxGroup" | "CollectionSort" | "Combobox" | "ModelSelect" | "MultiSelect" | "RadioGroup" | "SegmentedChoice" | "SegmentedControl" | "Select" | "Switch" | "ThemeModeSegments" | "ThemeModeSwitcher" | "Toggle" | "ToggleGroup" | "ActionStatus" | "AgentOrb" | "AppIcon" | "AppMark" | "ArchIcon" | "Avatar" | "Badge" | "BrandWordmark" | "CategoryTag" | "CheckCounts" | "FileTypeIcon" | "IconTile" | "IdentityMark" | "ModelIdentity" | "ModelMark" | "ObjectFactValue" | "PlatformMark" | "ProductWordmark" | "ProgressChecklist" | "RecordIdentity" | "StatusBadge" | "Tag" | "AgentListRow" | "Breadcrumb" | "ColumnFoot" | "CommandDialog" | "DocumentTabs" | "FileTree" | "Footer" | "PlaceCount" | "PortalSidebarFrame" | "ProductShell" | "ProductShellBell" | "ScopeSwitcher" | "Sidebar" | "SidebarBrand" | "SidebarEntryCard" | "SidebarFind" | "SidebarFoot" | "SidebarFrame" | "SidebarMenuChevron" | "SidebarSections" | "Tabs" | "TabsNav" | "textLinkVariants" | "AgentCard" | "AgentRow" | "Card" | "CardRow" | "CatalogCard" | "CodeBlock" | "DataTable" | "DiffCount" | "DisclosureRow" | "EventRow" | "FigureRow" | "FileDiff" | "Gauge" | "Item" | "Kbd" | "MiddleTruncate" | "ObjectFacts" | "PairingCode" | "Progress" | "QrCode" | "RecordTime" | "RunTimeline" | "SettingsFactsSection" | "Snippet" | "Table" | "TableCard" | "TableValue" | "TextWithCopyButton" | "UsageMeter" | "Alert" | "EmptyState" | "EntryProgress" | "HoverCard" | "MessageNotice" | "NoticeBanner" | "PendingLabel" | "Skeleton" | "SkeletonRegion" | "Toaster" | "Tooltip" | "UpdateCard" | "WaitingLine" | "AccountMenu" | "ActionContextMenu" | "ActionMenu" | "AlertDialog" | "ContextMenu" | "Dialog" | "Drawer" | "DropdownMenu" | "GlassControl" | "MenuChoiceRow" | "Popover" | "Sheet" | "SiteMenu" | "ThemeModeMenu" | "ActivityCalendar" | "ChartAreaStacked" | "ChartBarHorizontal" | "ChartBarMultiple" | "ChartBarStacked" | "ChartCard" | "ChartContainer" | "ChartRanking" | "ChartSparkline" | "DateRangeControl" | "KpiCard" | "TrendBadge" | "createEntityColorMap" | "Accordion" | "AspectRatio" | "BrandField" | "Collapsible" | "CompanyCard" | "Disclosure" | "HiveScene" | "NadiaPresence" | "NumberedSteps" | "Prose" | "ReadingColumn" | "ResizablePanelGroup" | "ScrollArea" | "Separator" | "ToolIcon";
|
|
2
2
|
export type UsageFamily = "Compositions" | "Actions" | "Inputs" | "Choices" | "Status" | "Navigation" | "Data" | "Feedback" | "Menus" | "Charts" | "Other";
|
|
3
3
|
export type ComponentUsage = {
|
|
4
4
|
name: UsageName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.generated.d.ts","sourceRoot":"","sources":["../../src/showcase/usage.generated.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GACjB,cAAc,GACd,sBAAsB,GACtB,kBAAkB,GAClB,YAAY,GACZ,aAAa,GACb,eAAe,GACf,mBAAmB,GACnB,gBAAgB,GAChB,mBAAmB,GACnB,eAAe,GACf,kBAAkB,GAClB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pB,iBAAiB,GACjB,MAAM,GACN,SAAS,GACT,kBAAkB,GAClB,WAAW,GACX,UAAU,GACV,MAAM,GACN,SAAS,GACT,aAAa,GACb,WAAW,GACX,WAAW,GACX,WAAW,GACX,eAAe,GACf,UAAU,GACV,WAAW,GACX,UAAU,GACV,OAAO,GACP,MAAM,GACN,KAAK,GACL,gBAAgB,GAChB,aAAa,GACb,aAAa,GACb,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,aAAa,GACb,sBAAsB,GACtB,SAAS,GACT,OAAO,GACP,WAAW,GACX,YAAY,GACZ,oBAAoB,GACpB,YAAY,GACZ,OAAO,GACP,YAAY,GACZ,eAAe,GACf,
|
|
1
|
+
{"version":3,"file":"usage.generated.d.ts","sourceRoot":"","sources":["../../src/showcase/usage.generated.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GACjB,cAAc,GACd,sBAAsB,GACtB,kBAAkB,GAClB,YAAY,GACZ,aAAa,GACb,eAAe,GACf,mBAAmB,GACnB,gBAAgB,GAChB,mBAAmB,GACnB,eAAe,GACf,kBAAkB,GAClB,aAAa,GACb,WAAW,GACX,cAAc,GACd,YAAY,GACZ,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,eAAe,GACf,cAAc,GACd,WAAW,GACX,YAAY,GACZ,UAAU,GACV,aAAa,GACb,YAAY,GACZ,aAAa,GACb,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,WAAW,GACX,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,gBAAgB,GAChB,oBAAoB,GACpB,YAAY,GACZ,gBAAgB,GAChB,aAAa,GACb,gBAAgB,GAChB,mBAAmB,GACnB,UAAU,GACV,gBAAgB,GAChB,kBAAkB,GAClB,OAAO,GACP,aAAa,GACb,MAAM,GACN,OAAO,GACP,YAAY,GACZ,UAAU,GACV,OAAO,GACP,cAAc,GACd,eAAe,GACf,cAAc,GACd,QAAQ,GAC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,YAAY,GACZ,aAAa,GACb,aAAa,GACb,QAAQ,GACR,QAAQ,GACR,cAAc,GACd,cAAc,GACd,eAAe,GACf,SAAS,GACT,OAAO,GACP,UAAU,GACV,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,oBAAoB,GACpB,kBAAkB,GAClB,iBAAiB,GACjB,WAAW,GACX,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,kBAAkB,GAClB,SAAS,GACT,YAAY,GACZ,sBAAsB,GACtB,WAAW,GACX,aAAa,GACb,YAAY,GACZ,aAAa,GACb,aAAa,GACb,YAAY,GACZ,WAAW,GACX,eAAe,GACf,eAAe,GACf,OAAO,GACP,eAAe,GACf,qBAAqB,GACrB,YAAY,GACZ,WAAW,GACX,UAAU,CAAC;AAEf,MAAM,MAAM,WAAW,GACnB,cAAc,GACd,SAAS,GACT,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,MAAM,GACN,UAAU,GACV,OAAO,GACP,QAAQ,GACR,OAAO,CAAC;AAEZ,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAAS,WAAW,EAYhD,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,SAAS,cAAc,EAu9F1C,CAAC"}
|
|
@@ -175,7 +175,7 @@ export const USAGE = [
|
|
|
175
175
|
summary: "Nadia's entry screen, contained: the approved picture of the surface behind, the wordmark at the upper left, Nadia's ribbon and her words centred as one group. The screen is black in every theme.",
|
|
176
176
|
when: 'Nadia\'s installer and the desktop\'s sign-in, start, update and failure screens, which paint the same screen; a page that shows that screen beside other things; the top of every Nadia pairing drawer, contained at 16:9 with only its short status ("Connecting Telegram", "Linked", "Code expired"): a longer sentence stands under the scene, never in it, and the code or QR the phone takes, with its expiry, then the steps on the phone follow it.',
|
|
177
177
|
instead: "The Portal's entry pages are an `EntryPage`; Alveare Server's entry is the HiveScene; a wait inside the product is a WaitingLine.",
|
|
178
|
-
behaviour: "It holds no state and decides nothing: which view is open, the words and when the screen ends belong to whoever mounts it. Required: the picture, the wordmark and the heading, because every entry screen has all three; a screen that leaves one out does not compile. It fills a box of the window's own shape (`aspectRatio`), so the picture's figure stands on the window's floor (`pictureFeet`). A failure quiets the picture and never removes it. Its children stand in order: the message, the actions, the progress line
|
|
178
|
+
behaviour: "It holds no state and decides nothing: which view is open, the words and when the screen ends belong to whoever mounts it. Required: the picture, the wordmark and the heading, because every entry screen has all three; a screen that leaves one out does not compile. It fills a box of the window's own shape (`aspectRatio`), so the picture's figure stands on the window's floor (`pictureFeet`). A failure quiets the picture and never removes it. Its children stand in order: the message, the actions, the progress line.",
|
|
179
179
|
words: 'The heading names the surface and is never seen. Instructions and status are one plain sentence that changes only when the real stage changes ("Loading your tools").',
|
|
180
180
|
access: "One level-1 heading for the screen, read but not shown; a message that reports work in progress is a status.",
|
|
181
181
|
},
|
|
@@ -1560,7 +1560,7 @@ export const USAGE = [
|
|
|
1560
1560
|
family: "Data",
|
|
1561
1561
|
summary: "One run of an Agent, read step by step on a neutral rail.",
|
|
1562
1562
|
when: "The steps of one run, in order, one step per row: a scheduled task's run, an Agent's handoff, a workflow. Each step is something the run did or will do.",
|
|
1563
|
-
instead: "What happened to a record over time is an ActivityFeed; steps a person follows are NumberedSteps;
|
|
1563
|
+
instead: "What happened to a record over time is an ActivityFeed; steps a person follows are NumberedSteps; a system's steps on an entry screen are the EntryProgress under the line naming the step running now.",
|
|
1564
1564
|
behaviour: "Each step is a node on one rail, its label and title, one line of detail, and its time at the trailing edge (\"—\" until it happens). The node marks the step and never grades it: a done step's node is the body-grey dot, the current step's node is ink, a step to come is drawn in the line colour with its title muted. An outcome that needs a person is the StatusBadge inside its step (\"Needs your decision\"). Each step's time stands in the feed's column, in the feed's time style. Nothing moves. It is also a framework-neutral CSS component: the `nc-run-timeline` class on the list with the parts `nc-run-timeline-step` (carrying `data-progress` of `done`, `current` or `upcoming`), `-node`, `-content`, `-label`, `-title` and `-detail`, which another renderer can use without this component.",
|
|
1565
1565
|
words: 'The label numbers the step ("Step 01"); a done step\'s title is in the past tense ("Filed the invoices"), a step to come in the imperative ("Send the summary to Marco"); a waiting step\'s detail says what it waits for ("Waits for your decision on step 03").',
|
|
1566
1566
|
access: 'An ordered list; the current step carries `aria-current="step"`; the rail and nodes are hidden from assistive technology, and so is the dash of a step that has not happened.',
|
|
@@ -1669,23 +1669,12 @@ export const USAGE = [
|
|
|
1669
1669
|
module: "entry-scene",
|
|
1670
1670
|
family: "Feedback",
|
|
1671
1671
|
summary: "Measured work on an entry screen: a 2 px line with the product's written count under it.",
|
|
1672
|
-
when: "Work on an entry screen whose progress is measured: downloading an update, the
|
|
1673
|
-
instead:
|
|
1672
|
+
when: "Work on an entry screen whose progress is measured: downloading an update, the steps of starting Nadia or Alveare Server.",
|
|
1673
|
+
instead: 'Work whose length is unknown is a WaitingLine; measured work inside the product is a Progress with its count. The step running now is the line above it, in the progressive ("Starting the chat service"), never a list of every step (owner ruling, 17 November 2026).',
|
|
1674
1674
|
behaviour: "The line keeps the measured fraction, clamped between empty and full; the count under it is the product's own words. It never prints a percentage.",
|
|
1675
1675
|
words: 'The count says what is measured, in tabular figures: "Step 2 of 3", "12 of 40 MB". Never an invented percentage.',
|
|
1676
1676
|
access: "The count is a status, so assistive technology hears it change; the line is hidden.",
|
|
1677
1677
|
},
|
|
1678
|
-
{
|
|
1679
|
-
name: "EntryStageList",
|
|
1680
|
-
module: "entry-scene",
|
|
1681
|
-
family: "Feedback",
|
|
1682
|
-
summary: "The stages a system runs on an entry screen, each done, current or still to come.",
|
|
1683
|
-
when: 'The real stages of a long setup on an entry screen: installing Nadia, Alveare Server\'s "Get this computer ready".',
|
|
1684
|
-
instead: "Steps the person does are NumberedSteps; the steps of an Agent's run are a RunTimeline.",
|
|
1685
|
-
behaviour: "One mark per stage: done, current, still to come. Followed by the EntryProgress count. Nothing moves but the stage that changes.",
|
|
1686
|
-
words: 'Each stage is what the system does, in the imperative: "Start the chat service".',
|
|
1687
|
-
access: 'An ordered list; the current stage carries `aria-current="step"`; the marks are hidden.',
|
|
1688
|
-
},
|
|
1689
1678
|
{
|
|
1690
1679
|
name: "HoverCard",
|
|
1691
1680
|
module: "hover-card",
|
|
@@ -1781,7 +1770,7 @@ export const USAGE = [
|
|
|
1781
1770
|
summary: "The update offer at the foot of a desktop app's sidebar, above the account.",
|
|
1782
1771
|
when: "The one place a desktop app offers its own update: Nadia's, Alveare's and Alveare Server's sidebar foot, from the moment a newer version is found until the person closes the line naming the version that now runs. `ProductShell` draws it from its `band.update`; Alveare keeps Buzz's sidebar and mounts it there, and Alveare Server's stopped and failed screens, which have no sidebar, show it in their body (owner ruling, 6 November 2026).",
|
|
1783
1772
|
instead: "Nothing else offers the update: no toast, no banner, no window of its own (owner ruling, 6 November 2026). The Portal's way to get an app is its Downloads row.",
|
|
1784
|
-
behaviour: "One outlined row of the column's width, shaped as the sidebar's Find, in four states (nadicode decision). Available: a download icon in the primary colour, the line, and a small primary command at the end that keeps its place and says its pending word while it runs. Downloading: the line, and under it a 4 px bar of what has arrived, while the app stays usable; with no size known, or while it installs, the line alone. Failed: the line still offering the version, the reason under it in the error colour, and Try again at the end. Updated: a check, the line and a ghost close. With `restart`, Update and Try again open its confirmation first, because restarting stops someone's work (Nadia's working Agents, Alveare Server's workspace for every colleague); the confirmation closes as the update starts, and the card shows it from there (owner ruling, 6 November 2026). Nothing is cut: an offer whose line and command, or pending word, do not fit one row puts the command on a second row at its end, as \"Alveare Server 0.7.0 è pronto\" with \"Aggiornamento in corso\" does in a 256 px column; any other line wraps (nadicode decision). Narrow, the row is one icon button whose tooltip shows the line: Update, Try again or Close, or, while it downloads, a busy button that does nothing (nadicode decision).",
|
|
1773
|
+
behaviour: "One outlined row of the column's width, shaped as the sidebar's Find, in four states (nadicode decision). Available: a download icon in the primary colour, the line, and a small primary command at the end that keeps its place and says its pending word while it runs. Downloading: the line, and under it a 4 px bar of what has arrived, while the app stays usable; with no size known, or while it installs, the line alone. Failed: the line still offering the version, the reason under it in the error colour, and Try again at the end. Updated: a check, the line and a ghost close. With `restart`, Update and Try again open its confirmation first, because restarting stops someone's work (Nadia's working Agents, Alveare Server's workspace for every colleague); the confirmation closes as the update starts, and the card shows it from there (owner ruling, 6 November 2026). Nothing is cut: an offer whose line and command, or pending word, do not fit one row puts the command on a second row at its end, as \"Alveare Server 0.7.0 è pronto\" with \"Aggiornamento in corso\" does in a 256 px column; any other line wraps, and the close stays beside it on the first row (nadicode decision). Narrow, the row is one icon button whose tooltip shows the line: Update, Try again or Close, or, while it downloads, a busy button that does nothing (nadicode decision).",
|
|
1785
1774
|
words: 'One line names the product, its number and what happened ("Nadia 0.42.0 is ready", "Updated to Nadia 0.42.0"); while it runs, the stage ("Downloading update"); a failure is the catalogue\'s message, its retry "Try again". The command is one verb ("Update") and the confirmation\'s button names what it does ("Update and restart") (nadicode decision).',
|
|
1786
1775
|
access: 'The row is a region named by its line; the bar is a progressbar named by it. The narrow button is named by its command and the line ("Update: Nadia 0.42.0 is ready"), and the close carries its label; a running command or download is aria-busy; a failure is an alert.',
|
|
1787
1776
|
},
|
|
@@ -2187,7 +2176,7 @@ export const USAGE = [
|
|
|
2187
2176
|
family: "Other",
|
|
2188
2177
|
summary: "Steps a person follows, each with its number, its words and its own command.",
|
|
2189
2178
|
when: "A short sequence the person does: installing Nadia from Downloads, connecting Teams, the Dashboard's setup guide, an `ObjectSection` whose body is these steps; or a sequence whose real progress the page tracks, such as the company check; and, as `columns`, the few steps a page explains, such as the website's how it works.",
|
|
2190
|
-
instead:
|
|
2179
|
+
instead: "A system's steps on an entry screen are the EntryProgress under the line naming the step running now; the steps of an Agent's run are a RunTimeline; a setup with a wait is a FormDrawer with its \"Step 2 of 3\" line.",
|
|
2191
2180
|
behaviour: "Each step is a 28 px square number in label-mono, its title, one muted description and, under it, the step's own `command` and then its `content`. The product gives the command as data and the steps draw it: filled on the current step, the page's next thing to do, and outline on the others; a product never draws a button in a step (nadicode decision). `content` holds what is not a command, such as a `Snippet` to copy or a state badge. Instructions mark no step and every number stays muted, because the page cannot know which one the person is on. Where the page tracks real progress, `current` turns that step's number to ink and writes its word beside the title. `framed` draws one bordered list with a seam between steps; `columns` sets the steps side by side as the width it is given allows, each column at least 192 px, so a phone stacks them and a wide page or panel holds three, each number above its words, and is never framed. A step's command and content never grow past its step: one wider than the step is held to its width, and its label is cut short with an ellipsis inside it. Colour is neutral: the current number is ink on the page's background and the others are muted; no hue marks a step. It is the one owner of a drawn step number.",
|
|
2192
2181
|
words: 'The title is what the person does, in the imperative ("Install Nadia"), or a finished step in the past tense ("Sofia looked up acme.it"). The current step\'s word is short: "Now". A command names its verb and its noun ("Download Nadia"), and a platform line under it is its `content` ("macOS · 2.14.0 · Apple silicon").',
|
|
2193
2182
|
access: 'An ordered list named by `label`, so assistive technology reads the count and position; the drawn numbers are hidden. The current step carries `aria-current="step"`. The titles are not headings, so the list never breaks the page\'s heading order.',
|
|
@@ -644,74 +644,6 @@
|
|
|
644
644
|
color: var(--nc-dark-muted);
|
|
645
645
|
}
|
|
646
646
|
|
|
647
|
-
/* The stages -------------------------------------------------------------- */
|
|
648
|
-
|
|
649
|
-
.nc-entry-stages {
|
|
650
|
-
display: grid;
|
|
651
|
-
gap: var(--nc-xs);
|
|
652
|
-
margin: 0;
|
|
653
|
-
padding: 0;
|
|
654
|
-
list-style: none;
|
|
655
|
-
text-align: start;
|
|
656
|
-
font-family: var(--nc-type-body-sm-font-family);
|
|
657
|
-
font-size: var(--nc-type-body-sm-font-size);
|
|
658
|
-
line-height: var(--nc-type-body-sm-line-height);
|
|
659
|
-
color: var(--nc-dark-muted);
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
.nc-entry-stages li {
|
|
663
|
-
display: flex;
|
|
664
|
-
align-items: center;
|
|
665
|
-
gap: var(--nc-sm);
|
|
666
|
-
transition: color var(--nc-duration-transition) var(--nc-ease-out-strong);
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
.nc-entry-stages li[data-mark="done"] {
|
|
670
|
-
color: var(--nc-dark-body);
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
.nc-entry-stages li[data-mark="current"] {
|
|
674
|
-
color: var(--nc-dark-ink);
|
|
675
|
-
font-weight: 500;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
.nc-entry-mark {
|
|
679
|
-
position: relative;
|
|
680
|
-
flex: none;
|
|
681
|
-
width: 14px;
|
|
682
|
-
height: 14px;
|
|
683
|
-
border: 1.5px solid var(--nc-dark-line);
|
|
684
|
-
border-radius: var(--nc-rounded-full);
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
[data-mark="current"] > .nc-entry-mark {
|
|
688
|
-
border-color: var(--nc-dark-ink);
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
[data-mark="current"] > .nc-entry-mark::after {
|
|
692
|
-
content: "";
|
|
693
|
-
position: absolute;
|
|
694
|
-
inset: 2.5px;
|
|
695
|
-
border-radius: inherit;
|
|
696
|
-
background: var(--nc-dark-ink);
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
[data-mark="done"] > .nc-entry-mark {
|
|
700
|
-
border-color: var(--nc-dark-body);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
[data-mark="done"] > .nc-entry-mark::after {
|
|
704
|
-
content: "";
|
|
705
|
-
position: absolute;
|
|
706
|
-
left: 3.5px;
|
|
707
|
-
top: 1px;
|
|
708
|
-
width: 3.5px;
|
|
709
|
-
height: 7px;
|
|
710
|
-
border: solid var(--nc-dark-body);
|
|
711
|
-
border-width: 0 1.5px 1.5px 0;
|
|
712
|
-
transform: rotate(45deg);
|
|
713
|
-
}
|
|
714
|
-
|
|
715
647
|
/*
|
|
716
648
|
* A narrow box is the product's small window: the ribbon halves and the
|
|
717
649
|
* picture gives the message column the room it needs.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadicodeai/ui",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.250",
|
|
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.
|
|
85
|
+
"@nadicodeai/design-system": "12.1.250",
|
|
86
86
|
"@tanstack/react-table": "^9.3.1",
|
|
87
87
|
"@vgpu/wgsl": "0.6.0",
|
|
88
88
|
"class-variance-authority": "^0.7.1",
|