@nadicodeai/ui 12.1.248 → 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.
@@ -101,10 +101,14 @@ export type IconButtonPartProps = Omit<IconButtonProps, "size" | "aria-label" |
101
101
  * close, collapse), and no look puts a hue on its edge. Held (disabled or `loading`), a filled
102
102
  * look (`default`, `outline`, `secondary`, `destructive` and `warning`, so `outline` and `secondary`
103
103
  * too) drops its hue to the muted fill, the muted text and the hairline at full opacity, so it
104
- * reads as unavailable; `ghost`, `link` and the two brand looks dim instead. Pressed looks like
105
- * hover, with no movement. On a colour or black ground a control takes a look whose label clears
106
- * AA there: `brandSolid` (white fill, ink label) or `brandGhost` (white label, no fill) on cobalto,
107
- * rosso and black, and the `default` ink button on verde, arancio and giallo.
104
+ * reads as unavailable; `ghost`, `link` and the two brand looks dim instead. Held and still
105
+ * focusable (`focusableWhenDisabled`, `loading`), it keeps the pointer, so a `Tooltip` around it
106
+ * opens on hover: the cursor is not-allowed, hover and press leave the held look as it is, and a
107
+ * press reaches neither its `onClick` nor its `render` element. Natively `disabled`, it lets the
108
+ * pointer through. Pressed looks like hover, with no movement. On a colour or black ground a
109
+ * control takes a look whose label clears AA there: `brandSolid` (white fill, ink label) or
110
+ * `brandGhost` (white label, no fill) on cobalto, rosso and black, and the `default` ink button on
111
+ * verde, arancio and giallo.
108
112
  * @words "Title Case the label and name what happens: `Deploy Project`, `Invite Member`, `Rotate Key`." (https://vercel.com/geist/button)
109
113
  * "Avoid bare verbs (`Submit`) and generic confirms (`OK`, `Confirm`)." (https://vercel.com/geist/button)
110
114
  * "Destructive buttons follow `Verb + Noun` and pair 1:1 with their toast: `Delete Project` then `Project deleted`." (https://vercel.com/geist/button)
@@ -134,13 +138,24 @@ export type ButtonLinkProps = ButtonLinkBase & (TextLook | IconLook);
134
138
  * @instead A command that changes something is a `Button`. A link inside a sentence is `TextLink`.
135
139
  * The product's router link keeps its own behaviour through `render`: `render={<Link href="/agents" />}`.
136
140
  * @behaviour "Use `ButtonLink` for links with the same props as `Button`." (https://vercel.com/geist/button)
137
- * Ours: takes the looks, sizes, `prefix`, `suffix` and `loading` of `Button`. While it is `loading`
138
- * or `disabled` it ignores a click and stays focusable.
141
+ * Ours: takes the looks, sizes, `prefix`, `suffix` and `loading` of `Button`. Held (`loading` or
142
+ * `disabled`), it stays focusable, keeps the pointer under the not-allowed cursor as a held `Button`
143
+ * does, so a `Tooltip` around it opens on hover and on focus, and a press (a click, a middle click,
144
+ * Enter) reaches none of its handlers, its `render` element's or the page around it. `disabled`, it
145
+ * cannot run now, so it is no link to follow: it draws its own `a` with neither the `href` nor the
146
+ * `render` element, and the browser's Open link in new tab, a drag and a modified click find no
147
+ * address. A `render` component (the router's `Link`) is swapped for that `a` and back, so it mounts
148
+ * afresh and focus on it does not outlive the change; a link with its own `href` keeps its element
149
+ * and focus. `loading`, it is the link already being followed: it keeps its element, its address and
150
+ * focus, as a loading `Button` keeps its place and focus.
139
151
  * @words Sentence case, verb + noun naming the destination or the result: *Open Portal*, *Download
140
152
  * invoice*. A destination outside the product ends in the arrow as `suffix`.
141
- * @access A native `a` with an `href`, never `role="button"`. An icon-only link carries an
153
+ * @access A native `a` with an `href`, never `role="button"`; held, it carries `aria-disabled`.
154
+ * `disabled`, the `a` has no `href`, which would also take away its link role and its place in the
155
+ * tab order, so it carries `role="link"` and `tabIndex` 0: read as a link that is unavailable, it is
156
+ * still reached by Tab and announces its `aria-describedby` reason. An icon-only link carries an
142
157
  * `aria-label` or `aria-labelledby` naming destination, and the type requires it.
143
158
  */
144
- declare function ButtonLink({ children, className, disabled, loading, loadingLabel, onClick, prefix, render, shape, size, suffix, variant, ...props }: ButtonLinkProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
159
+ declare function ButtonLink({ children, className, disabled, href, loading, loadingLabel, prefix, render, shape, size, suffix, variant, ...props }: ButtonLinkProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
145
160
  export { Button, ButtonLink };
146
161
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAA4B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGjE,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,QAAQ,EAGb,KAAK,QAAQ,EACd,MAAM,2BAA2B,CAAC;AAGnC,MAAM,MAAM,WAAW,GACnB;IAAE,OAAO,CAAC,EAAE,SAAS,CAAC;IAAC,YAAY,CAAC,EAAE,SAAS,CAAA;CAAE,GACjD;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/C,KAAK,QAAQ,GAAG,WAAW,GAAG;IAC5B,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IACzC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GACtB;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAChE;IAAE,iBAAiB,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AAErE,KAAK,QAAQ,GAAG,cAAc,GAAG;IAC/B,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IACxC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,YAA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AC,GAAG,SAAS,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAyGF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,iBAAS,MAAM,CAAC,EACd,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,qBAAqB,EACrB,OAAO,EACP,YAAY,EACZ,MAAM,EACN,KAAgB,EAChB,IAAI,EAAE,OAAO,EACb,MAAM,EACN,OAAO,EAAE,UAAU,EACnB,cAAc,EAAE,aAAa,EAC7B,WAAW,EAAE,UAAU,EACvB,GAAG,KAAK,EACT,EAAE,WAAW,+BA6Bb;AAED,KAAK,cAAc,GAAG,IAAI,CACxB,SAAS,CAAC,cAAc,CAAC,GAAG,CAAC,EAC7B,WAAW,GAAG,eAAe,GAAG,QAAQ,CACzC,GAAG;IACF,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,iBAAS,UAAU,CAAC,EAClB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,MAAM,EACN,MAAM,EACN,KAAgB,EAChB,IAAgB,EAChB,MAAM,EACN,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,eAAe,8FA8BjB;AAED,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC"}
@@ -13,6 +13,26 @@ function isText(children) {
13
13
  const parts = Children.toArray(children);
14
14
  return parts.length > 0 && parts.every((part) => !isValidElement(part));
15
15
  }
16
+ function stopPress(event) {
17
+ event.preventDefault();
18
+ event.stopPropagation();
19
+ }
20
+ /**
21
+ * A held Button's `render` element keeps its own handlers, and a Base UI trigger its own, which
22
+ * Base UI's guard on the Button does not reach: the press stops before any of them sees it.
23
+ */
24
+ const heldRenderPress = {
25
+ onClickCapture: stopPress,
26
+ onMouseDownCapture: stopPress,
27
+ onPointerDownCapture: stopPress,
28
+ };
29
+ /**
30
+ * A held ButtonLink's own handlers, its `render` element's and a tooltip trigger's, which no guard
31
+ * of Base UI's covers: the press, a middle click included, stops before any of them sees it.
32
+ */
33
+ const heldLinkPress = { ...heldRenderPress, onAuxClickCapture: stopPress };
34
+ /** A disabled ButtonLink's `a` has no address, so without these it is no link and out of the tab order. */
35
+ const linkWithoutAddress = { role: "link", tabIndex: 0 };
16
36
  function ButtonLabel({ children, className, loading, loadingLabel, }) {
17
37
  if (loadingLabel !== undefined) {
18
38
  return (_jsx(PendingLabel, { className: className, pending: loading === true, pendingLabel: loadingLabel, children: children }));
@@ -79,10 +99,14 @@ function ButtonContent({ children, loading, loadingLabel, prefix, size, suffix,
79
99
  * close, collapse), and no look puts a hue on its edge. Held (disabled or `loading`), a filled
80
100
  * look (`default`, `outline`, `secondary`, `destructive` and `warning`, so `outline` and `secondary`
81
101
  * too) drops its hue to the muted fill, the muted text and the hairline at full opacity, so it
82
- * reads as unavailable; `ghost`, `link` and the two brand looks dim instead. Pressed looks like
83
- * hover, with no movement. On a colour or black ground a control takes a look whose label clears
84
- * AA there: `brandSolid` (white fill, ink label) or `brandGhost` (white label, no fill) on cobalto,
85
- * rosso and black, and the `default` ink button on verde, arancio and giallo.
102
+ * reads as unavailable; `ghost`, `link` and the two brand looks dim instead. Held and still
103
+ * focusable (`focusableWhenDisabled`, `loading`), it keeps the pointer, so a `Tooltip` around it
104
+ * opens on hover: the cursor is not-allowed, hover and press leave the held look as it is, and a
105
+ * press reaches neither its `onClick` nor its `render` element. Natively `disabled`, it lets the
106
+ * pointer through. Pressed looks like hover, with no movement. On a colour or black ground a
107
+ * control takes a look whose label clears AA there: `brandSolid` (white fill, ink label) or
108
+ * `brandGhost` (white label, no fill) on cobalto, rosso and black, and the `default` ink button on
109
+ * verde, arancio and giallo.
86
110
  * @words "Title Case the label and name what happens: `Deploy Project`, `Invite Member`, `Rotate Key`." (https://vercel.com/geist/button)
87
111
  * "Avoid bare verbs (`Submit`) and generic confirms (`OK`, `Confirm`)." (https://vercel.com/geist/button)
88
112
  * "Destructive buttons follow `Verb + Noun` and pair 1:1 with their toast: `Delete Project` then `Project deleted`." (https://vercel.com/geist/button)
@@ -101,10 +125,8 @@ function Button({ children, className, disabled, focusableWhenDisabled, loading,
101
125
  const variant = ownVariant ?? (isButtonVariant(passedVariant) ? passedVariant : "default");
102
126
  const size = ownSize ?? (isButtonSize(passedSize) ? passedSize : "default");
103
127
  const busy = loading === true;
104
- return (_jsx(ButtonPrimitive, { "data-slot": "button", "data-nc-ui": "", "data-size": size, "data-variant": variant, "aria-busy": busy || undefined, className: buttonVariants({ variant, size, shape, className }), disabled: disabled === true || busy, focusableWhenDisabled: focusableWhenDisabled === true || busy, ...props, children: _jsx(ButtonContent, { loading: loading, loadingLabel: loadingLabel, prefix: prefix, size: size, suffix: suffix, children: children }) }));
105
- }
106
- function refuseClick(event) {
107
- event.preventDefault();
128
+ const held = disabled === true || busy;
129
+ return (_jsx(ButtonPrimitive, { "data-slot": "button", "data-nc-ui": "", "data-size": size, "data-variant": variant, "aria-busy": busy || undefined, className: buttonVariants({ variant, size, shape, className }), disabled: held, focusableWhenDisabled: focusableWhenDisabled === true || busy, ...props, ...(held && props.render !== undefined ? heldRenderPress : undefined), children: _jsx(ButtonContent, { loading: loading, loadingLabel: loadingLabel, prefix: prefix, size: size, suffix: suffix, children: children }) }));
108
130
  }
109
131
  /**
110
132
  * A link drawn as a button, with the props of `Button`.
@@ -115,26 +137,39 @@ function refuseClick(event) {
115
137
  * @instead A command that changes something is a `Button`. A link inside a sentence is `TextLink`.
116
138
  * The product's router link keeps its own behaviour through `render`: `render={<Link href="/agents" />}`.
117
139
  * @behaviour "Use `ButtonLink` for links with the same props as `Button`." (https://vercel.com/geist/button)
118
- * Ours: takes the looks, sizes, `prefix`, `suffix` and `loading` of `Button`. While it is `loading`
119
- * or `disabled` it ignores a click and stays focusable.
140
+ * Ours: takes the looks, sizes, `prefix`, `suffix` and `loading` of `Button`. Held (`loading` or
141
+ * `disabled`), it stays focusable, keeps the pointer under the not-allowed cursor as a held `Button`
142
+ * does, so a `Tooltip` around it opens on hover and on focus, and a press (a click, a middle click,
143
+ * Enter) reaches none of its handlers, its `render` element's or the page around it. `disabled`, it
144
+ * cannot run now, so it is no link to follow: it draws its own `a` with neither the `href` nor the
145
+ * `render` element, and the browser's Open link in new tab, a drag and a modified click find no
146
+ * address. A `render` component (the router's `Link`) is swapped for that `a` and back, so it mounts
147
+ * afresh and focus on it does not outlive the change; a link with its own `href` keeps its element
148
+ * and focus. `loading`, it is the link already being followed: it keeps its element, its address and
149
+ * focus, as a loading `Button` keeps its place and focus.
120
150
  * @words Sentence case, verb + noun naming the destination or the result: *Open Portal*, *Download
121
151
  * invoice*. A destination outside the product ends in the arrow as `suffix`.
122
- * @access A native `a` with an `href`, never `role="button"`. An icon-only link carries an
152
+ * @access A native `a` with an `href`, never `role="button"`; held, it carries `aria-disabled`.
153
+ * `disabled`, the `a` has no `href`, which would also take away its link role and its place in the
154
+ * tab order, so it carries `role="link"` and `tabIndex` 0: read as a link that is unavailable, it is
155
+ * still reached by Tab and announces its `aria-describedby` reason. An icon-only link carries an
123
156
  * `aria-label` or `aria-labelledby` naming destination, and the type requires it.
124
157
  */
125
- function ButtonLink({ children, className, disabled, loading, loadingLabel, onClick, prefix, render, shape = "square", size = "default", suffix, variant = "default", ...props }) {
158
+ function ButtonLink({ children, className, disabled, href, loading, loadingLabel, prefix, render, shape = "square", size = "default", suffix, variant = "default", ...props }) {
126
159
  const busy = loading === true;
127
160
  const blocked = busy || disabled === true;
161
+ const cannotRun = disabled === true;
128
162
  return useRender({
129
163
  defaultTagName: "a",
130
- render,
164
+ render: cannotRun ? undefined : render,
131
165
  state: { slot: "button", size, variant },
132
166
  props: mergeProps({
133
167
  "aria-busy": busy || undefined,
134
168
  "aria-disabled": blocked || undefined,
135
169
  className: buttonVariants({ variant, size, shape, className }),
136
170
  children: (_jsx(ButtonContent, { loading: loading, loadingLabel: loadingLabel, prefix: prefix, size: size, suffix: suffix, children: children })),
137
- onClick: blocked ? refuseClick : onClick,
171
+ ...(cannotRun ? linkWithoutAddress : { href }),
172
+ ...(blocked ? heldLinkPress : undefined),
138
173
  }, props),
139
174
  });
140
175
  }
@@ -35,8 +35,8 @@ function Calendar({ className, classNames, showOutsideDays = true, captionLayout
35
35
  months: cn("relative flex flex-col gap-4 md:flex-row", defaultClassNames.months),
36
36
  month: cn("flex w-[max(16rem,calc(var(--cell-size)*7))] flex-col gap-2.5", defaultClassNames.month),
37
37
  nav: cn("absolute inset-x-0 top-0 flex w-full items-center justify-end", defaultClassNames.nav),
38
- button_previous: cn(buttonVariants({ variant: buttonVariant, size: "icon", shape: "circle" }), "size-(--cell-size) p-0 text-muted-foreground select-none hover:bg-transparent hover:text-foreground aria-disabled:opacity-50", defaultClassNames.button_previous),
39
- button_next: cn(buttonVariants({ variant: buttonVariant, size: "icon", shape: "circle" }), "size-(--cell-size) p-0 text-muted-foreground select-none hover:bg-transparent hover:text-foreground aria-disabled:opacity-50", defaultClassNames.button_next),
38
+ button_previous: cn(buttonVariants({ variant: buttonVariant, size: "icon", shape: "circle" }), "size-(--cell-size) p-0 text-muted-foreground select-none hover:bg-transparent not-aria-disabled:hover:text-foreground aria-disabled:opacity-50", defaultClassNames.button_previous),
39
+ button_next: cn(buttonVariants({ variant: buttonVariant, size: "icon", shape: "circle" }), "size-(--cell-size) p-0 text-muted-foreground select-none hover:bg-transparent not-aria-disabled:hover:text-foreground aria-disabled:opacity-50", defaultClassNames.button_next),
40
40
  month_caption: cn("flex h-(--cell-size) w-full items-center justify-start", defaultClassNames.month_caption),
41
41
  dropdowns: cn("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium", defaultClassNames.dropdowns),
42
42
  dropdown_root: cn("relative rounded-(--cell-radius)", defaultClassNames.dropdown_root),
@@ -100,6 +100,6 @@ function CalendarDayButton({ className, day, modifiers, locale, ...props }) {
100
100
  return (_jsx("button", { ref: ref, type: "button", "data-day": day.date.toLocaleDateString(locale?.code), "data-selected-single": modifiers.selected &&
101
101
  !modifiers.range_start &&
102
102
  !modifiers.range_end &&
103
- !modifiers.range_middle, "data-range-start": modifiers.range_start, "data-range-end": modifiers.range_end, "data-range-middle": modifiers.range_middle, "data-today": modifiers.today && !modifiers.selected, "data-weekend": weekend && !modifiers.today && !modifiers.selected && !modifiers.outside, className: cn(buttonVariants({ variant: "ghost", size: "icon" }), "relative isolate z-10 flex size-(--cell-size) shrink-0 flex-col gap-1 border border-transparent leading-none font-normal hover:border-foreground/20 hover:bg-transparent data-[today=true]:bg-info data-[today=true]:text-info-foreground data-[today=true]:hover:bg-info data-[weekend=true]:text-foreground/80 group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground [&>span]:text-xs [&>span]:opacity-70", defaultClassNames.day, className), ...props }));
103
+ !modifiers.range_middle, "data-range-start": modifiers.range_start, "data-range-end": modifiers.range_end, "data-range-middle": modifiers.range_middle, "data-today": modifiers.today && !modifiers.selected, "data-weekend": weekend && !modifiers.today && !modifiers.selected && !modifiers.outside, className: cn(buttonVariants({ variant: "ghost", size: "icon" }), "relative isolate z-10 flex size-(--cell-size) shrink-0 flex-col gap-1 border border-transparent leading-none font-normal not-aria-disabled:hover:border-foreground/20 hover:bg-transparent data-[today=true]:bg-info data-[today=true]:text-info-foreground data-[today=true]:hover:bg-info data-[weekend=true]:text-foreground/80 group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground [&>span]:text-xs [&>span]:opacity-70", defaultClassNames.day, className), ...props }));
104
104
  }
105
105
  export { Calendar, CalendarDayButton };
@@ -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, the progress line and the stage list. */
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, the stage list.
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 stages of starting Nadia.
77
- * @instead Work whose length is unknown is a WaitingLine; the named stages themselves are the EntryStageList; measured work inside the product is a Progress with its count.
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,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAE5D,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,OAAO,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,QAAQ,EAAE,SAAS,CAAC;IACpB,yEAAyE;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,6EAA6E;IAC7E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qMAAqM;IACrM,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,SAA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IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,+BAUA;AAED,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAEhG;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,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, the stage list.
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 stages of starting Nadia.
51
- * @instead Work whose length is unknown is a WaitingLine; the named stages themselves are the EntryStageList; measured work inside the product is a Progress with its count.
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 Stages the system runs on an entry screen are the EntryStageList; 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.
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 Stages the system runs on an entry screen are the EntryStageList; 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.
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.
@@ -1 +1 @@
1
- {"version":3,"file":"page-actions.d.ts","sourceRoot":"","sources":["../../src/components/page-actions.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAMf,OAAO,EAEL,KAAK,WAAW,EAEhB,KAAK,WAAW,EAChB,KAAK,eAAe,EAGrB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAc,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAI/E,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAElG;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG;IACjD,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,kBAAkB,CAAC;AAElE,uEAAuE;AACvE,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC;AAElC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,qGAAqG;IACrG,MAAM,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAClC,gGAAgG;IAChG,SAAS,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC,GAAG,SAAS,CAAC;IAC1E,OAAO,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACzC,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG;IAC3C,mFAAm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C;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,+BAIA;AAED,oHAAoH;AACpH,wBAAgB,aAAa,IAAI,OAAO,CAGvC;AAED,yFAAyF;AACzF,wBAAgB,eAAe,gCAS9B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,sCA6BlD"}
@@ -42,7 +42,7 @@ function ChoicesCommandButton({ command, ...appearance }) {
42
42
  return (_jsx(WithDisabledReason, { button: _jsx(ChoicesButton, { command: command, look: lookOf(command, reasonId, appearance) }), reason: command.disabledReason, reasonId: reasonId }));
43
43
  }
44
44
  /** The button itself; a tooltip's trigger renders it with its own props, which it passes on. */
45
- function ChoicesButton({ command, look: ownLook, ...trigger }) {
45
+ function ChoicesButton({ command, look: ownLook, "data-slot": _tooltipSlot, ...trigger }) {
46
46
  const look = { ...trigger, ...ownLook };
47
47
  const { arm, dialog } = useCommandRunner();
48
48
  return (_jsxs(_Fragment, { children: [_jsxs(DropdownMenu, { children: [_jsx(DropdownMenuTrigger, { render: _jsx(Button, { ...look }), children: command.label }), _jsx(DropdownMenuContent, { align: "end", children: command.choices.map((choice) => (_jsx(MenuCommandRow, { command: arm(choice) }, choice.label))) })] }), dialog] }));
@@ -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; the stages a system runs on an entry screen are the EntryStageList.
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; the stages a system runs on an entry screen are the EntryStageList.
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 basis-auto items-center gap-2 [&>svg]:size-5 [&>svg]:shrink-0", children: [_jsx(Icon, { "aria-hidden": "true", className: cn(props.state === "available" || props.state === "downloading"
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"
@@ -1 +1 @@
1
- {"version":3,"file":"button-classes.d.ts","sourceRoot":"","sources":["../../src/internal/button-classes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA4DlE,QAAA,MAAM,aAAa;;;;8EAkBlB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;AACvF,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AACjF,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,EAAE,OAAO,MAAM,EAAE,CAAC,CAAC;AAC5D,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;AAErD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAElF;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAEtE;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE"}
1
+ {"version":3,"file":"button-classes.d.ts","sourceRoot":"","sources":["../../src/internal/button-classes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA+DlE,QAAA,MAAM,aAAa;;;;8EAkBlB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;AACvF,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AACjF,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,EAAE,OAAO,MAAM,EAAE,CAAC,CAAC;AAC5D,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;AAErD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAElF;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAEtE;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE"}
@@ -16,26 +16,29 @@ const variantClasses = {
16
16
  heldNeutral,
17
17
  ],
18
18
  ghost: [
19
- "hover:bg-muted hover:text-foreground active:bg-muted aria-expanded:bg-muted aria-expanded:text-foreground",
19
+ "hover:bg-muted not-aria-disabled:hover:text-foreground active:bg-muted aria-expanded:bg-muted aria-expanded:text-foreground aria-disabled:hover:bg-transparent aria-disabled:active:bg-transparent",
20
20
  heldDim,
21
21
  ],
22
22
  brandGhost: [
23
- "text-nc-identity-white hover:bg-nc-identity-white/10 hover:text-nc-identity-white aria-expanded:bg-nc-identity-white/10 aria-expanded:text-nc-identity-white",
23
+ "text-nc-identity-white hover:bg-nc-identity-white/10 hover:text-nc-identity-white aria-expanded:bg-nc-identity-white/10 aria-expanded:text-nc-identity-white aria-disabled:hover:bg-transparent",
24
24
  heldDim,
25
25
  ],
26
26
  brandSolid: [
27
- "bg-nc-identity-white text-nc-identity-ink hover:bg-nc-identity-white/90 hover:text-nc-identity-ink active:bg-nc-identity-white/90 active:text-nc-identity-ink",
27
+ "bg-nc-identity-white text-nc-identity-ink hover:bg-nc-identity-white/90 hover:text-nc-identity-ink active:bg-nc-identity-white/90 active:text-nc-identity-ink aria-disabled:hover:bg-nc-identity-white aria-disabled:active:bg-nc-identity-white",
28
28
  heldDim,
29
29
  ],
30
30
  destructive: [
31
- "bg-destructive text-destructive-foreground hover:brightness-90 active:brightness-90",
31
+ "bg-destructive text-destructive-foreground hover:brightness-90 active:brightness-90 aria-disabled:hover:filter-none aria-disabled:active:filter-none",
32
32
  heldNeutral,
33
33
  ],
34
34
  warning: [
35
- "bg-warning text-warning-foreground hover:brightness-90 active:brightness-90",
35
+ "bg-warning text-warning-foreground hover:brightness-90 active:brightness-90 aria-disabled:hover:filter-none aria-disabled:active:filter-none",
36
36
  heldNeutral,
37
37
  ],
38
- link: ["text-(--nc-link) underline-offset-4 hover:underline", heldDim],
38
+ link: [
39
+ "text-(--nc-link) underline-offset-4 hover:underline aria-disabled:hover:no-underline",
40
+ heldDim,
41
+ ],
39
42
  };
40
43
  const sizeClasses = {
41
44
  default: "h-control-height gap-0.75 px-button-padding-inline [@media(hover:hover)_and_(pointer:fine)]:min-h-control-height [&_[data-icon]_svg:not([class*='size-'])]:size-3.5",
@@ -48,7 +51,7 @@ const sizeClasses = {
48
51
  "icon-sm": "size-nadicode-control-height-sm in-data-[slot=button-group]:rounded-sm",
49
52
  "icon-lg": "size-nadicode-control-height-lg rounded-md",
50
53
  };
51
- const buttonClasses = cva("group/button inline-flex min-h-touch-target min-w-touch-target shrink-0 items-center justify-center rounded-sm border border-transparent bg-clip-padding text-button font-medium whitespace-nowrap transition-[background-color,border-color,color] duration-(--nc-duration-confirm) ease-(--nc-ease-out-strong) select-none disabled:pointer-events-none aria-disabled:pointer-events-none aria-invalid:border-destructive [@media(hover:hover)_and_(pointer:fine)]:min-h-0 [@media(hover:hover)_and_(pointer:fine)]:min-w-0 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
54
+ const buttonClasses = cva("group/button inline-flex min-h-touch-target min-w-touch-target shrink-0 items-center justify-center rounded-sm border border-transparent bg-clip-padding text-button font-medium whitespace-nowrap transition-[background-color,border-color,color] duration-(--nc-duration-confirm) ease-(--nc-ease-out-strong) select-none disabled:pointer-events-none aria-disabled:cursor-not-allowed aria-invalid:border-destructive [@media(hover:hover)_and_(pointer:fine)]:min-h-0 [@media(hover:hover)_and_(pointer:fine)]:min-w-0 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
52
55
  variants: {
53
56
  variant: variantClasses,
54
57
  size: sizeClasses,
@@ -1,4 +1,4 @@
1
- import { type ComponentProps, type MouseEvent, type ReactElement } from "react";
1
+ import { type HTMLAttributes, type MouseEvent, type ReactElement, type RefCallback } from "react";
2
2
  import { type TextButtonProps } from "../components/button.js";
3
3
  export type PageCommandAction = {
4
4
  onClick: (event: MouseEvent<HTMLElement>) => void;
@@ -76,11 +76,20 @@ export declare function lookOf(command: PageCommandFace, reasonId: string, { sha
76
76
  suffix: import("react").JSX.Element | undefined;
77
77
  variant: CommandVariant;
78
78
  };
79
+ /**
80
+ * What a tooltip's trigger hands the element it draws, a button or a link: its attributes and
81
+ * handlers, and its refs merged into one callback.
82
+ */
83
+ type TriggerProps = Omit<HTMLAttributes<HTMLElement>, "children" | "prefix"> & {
84
+ ref?: RefCallback<HTMLElement> | null | undefined;
85
+ /** The reason's tooltip names its trigger; the command's element keeps the name it has without one. */
86
+ "data-slot"?: string | undefined;
87
+ };
79
88
  /** The props a command's own button takes: its look, then a tooltip trigger's props it passes on. */
80
89
  export type CommandButtonProps<TCommand> = {
81
90
  command: TCommand;
82
91
  look: ReturnType<typeof lookOf>;
83
- } & Omit<ComponentProps<"button">, "children" | "prefix">;
92
+ } & TriggerProps;
84
93
  /** Draws `button`, and when the command cannot run now, the tooltip that says why. */
85
94
  export declare function WithDisabledReason({ button, reason, reasonId, }: {
86
95
  button: ReactElement;
@@ -1 +1 @@
1
- {"version":3,"file":"page-command-button.d.ts","sourceRoot":"","sources":["../../src/internal/page-command-button.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,cAAc,EAEnB,KAAK,UAAU,EACf,KAAK,YAAY,EAElB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG/E,MAAM,MAAM,iBAAiB,GACzB;IAAE,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE;AACrF;;;GAGG;GACD;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAC;IAAC,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE;AACzD;;;GAGG;GACD;IAAE,MAAM,EAAE,YAAY,CAAC;IAAC,OAAO,CAAC,EAAE,KAAK,CAAC;IAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAE5D,uGAAuG;AACvG,MAAM,MAAM,WAAW,GACnB;IACE,kGAAkG;IAClG,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;CACtB,GACD;IAAE,OAAO,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AAEvE,MAAM,MAAM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AM,CACpB,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,MAAM,EAChB,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,WAAW;;;;;;;;;;;;;;;EAmBtC;AAED;;;GAGG;AACH,KAAK,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,QAAQ,CAAC,GAAG;IAC7E,GAAG,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,uGAAuG;IACvG,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,qGAAqG;AACrG,MAAM,MAAM,kBAAkB,CAAC,QAAQ,IAAI;IACzC,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;CACjC,GAAG,YAAY,CAAC;AAEjB,sFAAsF;AACtF,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,MAAM,EACN,QAAQ,GACT,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;CAClB,+BAaA;AAED,iGAAiG;AACjG,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,GAAG,UAAU,EACd,EAAE,WAAW,GAAG;IAAE,OAAO,EAAE,WAAW,CAAA;CAAE,+BASxC"}
@@ -27,7 +27,7 @@ export function lookOf(command, reasonId, { shape, size, variant }) {
27
27
  export function WithDisabledReason({ button, reason, reasonId, }) {
28
28
  if (reason === undefined)
29
29
  return button;
30
- return (_jsxs(_Fragment, { children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { render: button }), _jsx(TooltipContent, { children: reason })] }), _jsx("span", { hidden: true, id: reasonId, children: reason })] }));
30
+ return (_jsxs(_Fragment, { children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { closeOnClick: false, render: button }), _jsx(TooltipContent, { children: reason })] }), _jsx("span", { hidden: true, id: reasonId, children: reason })] }));
31
31
  }
32
32
  /** A `PageCommand`'s button: it runs its `onClick`, follows its `link` or draws its `render`. */
33
33
  export function PageCommandButton({ command, ...appearance }) {
@@ -41,10 +41,10 @@ function SameWidthLabel({ label, others }) {
41
41
  .map((other) => (_jsx("span", { "aria-hidden": "true", className: "invisible col-start-1 row-start-1", children: other }, other)))] }));
42
42
  }
43
43
  /** The button itself; a tooltip's trigger renders it with its own props, which it passes on. */
44
- function CommandButton({ command, look: ownLook, ...trigger }) {
44
+ function CommandButton({ command, look: ownLook, "data-slot": _tooltipSlot, ...trigger }) {
45
45
  const look = { ...trigger, ...ownLook };
46
46
  const label = command.sameWidthAs ? (_jsx(SameWidthLabel, { label: command.label, others: command.sameWidthAs })) : (command.label);
47
- const { focusableWhenDisabled: _focusable, ...linkLook } = ownLook;
47
+ const { focusableWhenDisabled: _focusable, ...linkLook } = look;
48
48
  const rendersLink = isValidElement(command.render) && command.render.props.href !== undefined;
49
49
  const link = command.link ?? (rendersLink ? command.render : undefined);
50
50
  if (link) {
@@ -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;;;;;;;;;;;;;;;CAyLM,CAAC"}
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, EntryStageList } from "../../components/entry-scene.js";
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYiB,CAAC"}
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" | "EntryStageList" | "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";
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,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,GACR,UAAU,GACV,UAAU,GACV,gBAAgB,GAChB,gBAAgB,GAChB,UAAU,GACV,aAAa,GACb,aAAa,GACb,YAAY,GACZ,iBAAiB,GACjB,kBAAkB,GAClB,QAAQ,GACR,QAAQ,GACR,mBAAmB,GACnB,mBAAmB,GACnB,QAAQ,GACR,aAAa,GACb,cAAc,GACd,UAAU,GACV,SAAS,GACT,SAAS,GACT,UAAU,GACV,QAAQ,GACR,OAAO,GACP,eAAe,GACf,aAAa,GACb,aAAa,GACb,cAAc,GACd,UAAU,GACV,cAAc,GACd,eAAe,GACf,WAAW,GACX,iBAAiB,GACjB,cAAc,GACd,iBAAiB,GACjB,mBAAmB,GACnB,gBAAgB,GAChB,aAAa,GACb,KAAK,GACL,cAAc,GACd,YAAY,GACZ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,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,EAq+F1C,CAAC"}
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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C"}
@@ -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, the stage list.",
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
  },
@@ -395,7 +395,7 @@ export const USAGE = [
395
395
  summary: "The package's one button: a command, its label naming the result.",
396
396
  when: "\"Use `Button` for actions that mutate state (deploy, save, delete); use `ButtonLink` for navigation that changes the URL.\" (https://vercel.com/geist/button) Ours: one `default` per surface, the thing this page or dialog is for; on a settings page each card acts on its own, so each card's footer action is its one `default` (Save, Invite, Enable). A product's page never renders it: the page gives each command as data to the composition of the place it stands in (`PageActions`, a card's `actions`, `SettingsSection`'s `footer`, `RecordList`'s `commands`, `EmptyState`'s `action`, a dialog's form), which draws this button with that place's look; the Portal's lint (`nadicodeai/commands-as-data`) refuses it on a signed-in page.",
397
397
  instead: '"Switch to a `Menu` or `Split Button` when more than one related action shares a row." (https://vercel.com/geist/button) Ours: a link inside a sentence is `TextLink`. A record\'s secondary commands go in `ActionMenu`. Appending to a list is a `LoadMoreButton`. An on/off value is a `Switch`.',
398
- behaviour: '"Default `Button` is primary." (https://vercel.com/geist/button) "Pass `type="secondary"` for the supporting action and `type="error"` for destructive confirmations." (https://vercel.com/geist/button) "`primary`, `success`, `ghost`, and `violet` are not valid `type` values." (https://vercel.com/geist/button) "For form submits, use `typeName="submit"`." (https://vercel.com/geist/button) "The HTML `type` attribute lives on `typeName`, not on `type`, which controls the visual variant." (https://vercel.com/geist/button) Ours: the look is `variant` (`default`, `secondary`, `outline`, `ghost`, `link`, `destructive` for Geist\'s error, `warning`, and `brandSolid` and `brandGhost` for a colour or black ground) and `type` is the HTML type, `button` unless it submits. There is no `CustomButton`: colour is ours, chosen by `variant`, never at the call site. "The default size is medium." (https://vercel.com/geist/button) Ours: `xs` (24 px), `sm` (32 px), `default` (36 px, medium) and `lg` (40 px); `sm` and `xs` are for a control nested in dense content, such as a composer or an input group, never for chrome. `inline` is a `link` command standing in a line of text (*Change*, *Switch account*): no padding of its own, and on a mouse it keeps the control\'s minimum height so it is as easy to hit. The corner is 6 px, 8 px at `lg` and 4 px on the 24 px icon button. The label is the button type at `sm` and `default`, the large one at `lg` and the 12 px one at `xs`, and the inline padding is 6 px at `sm`, 10 px at `default` and 14 px at `lg` (8 px at `xs`). "Pass `loading` instead of swapping in a spinner so the button stays focusable and announces the busy state to assistive tech." (https://vercel.com/geist/button) Ours: `loading` is the only busy state: the button keeps its place and focus, says `loadingLabel` in the label\'s place, ignores a second press and shows no spinner. "Disable a button only when the action is impossible right now (missing input, insufficient permission); pair with a `Tooltip` that explains why." (https://vercel.com/geist/button) Ours: the reason is written beside the button. "Icon-only buttons should include the `svgOnly` prop and an `aria-label`." (https://vercel.com/geist/button) Ours: an icon-only button takes an `icon` size and its icon as the child; `shape="circle"` is only for it. An icon with text passes as `prefix` or `suffix`. "Combination of `shape="rounded"` and the `shadow` prop, often used on marketing pages." (https://vercel.com/geist/button) Ours: `shape="rounded"` is a pill for a call to action that stands apart (a banner\'s or a scroller\'s), with no `shadow` prop. Ours: a Button drawn as another Button\'s element, through that Button\'s `render` (a product\'s component that opens a dialog), takes that Button\'s look and size, never its own default. Ours: text children sit in a label box that adds 6 px each side to the padding, except at `xs` and the icon sizes, which have none; an element child (a `render` target, a row with a trailing `Kbd`) lays itself out and gets no box. Colour sits on the whole button for three looks: `default` is the primary action colour, cobalto, with its white label in both themes, `destructive` is the error fill for permanent loss (Delete project), `warning` is the amber fill for a disruptive command that can be undone (Pause project). `link` is the link colour as text, with the arrow as `suffix` when the destination is outside the product. `outline` and `secondary` are neutral with a hairline edge, `ghost` has no chrome and serves a tertiary text action or an icon-only command (the three dots, close, collapse), and no look puts a hue on its edge. Held (disabled or `loading`), a filled look (`default`, `outline`, `secondary`, `destructive` and `warning`, so `outline` and `secondary` too) drops its hue to the muted fill, the muted text and the hairline at full opacity, so it reads as unavailable; `ghost`, `link` and the two brand looks dim instead. Pressed looks like hover, with no movement. On a colour or black ground a control takes a look whose label clears AA there: `brandSolid` (white fill, ink label) or `brandGhost` (white label, no fill) on cobalto, rosso and black, and the `default` ink button on verde, arancio and giallo.',
398
+ behaviour: '"Default `Button` is primary." (https://vercel.com/geist/button) "Pass `type="secondary"` for the supporting action and `type="error"` for destructive confirmations." (https://vercel.com/geist/button) "`primary`, `success`, `ghost`, and `violet` are not valid `type` values." (https://vercel.com/geist/button) "For form submits, use `typeName="submit"`." (https://vercel.com/geist/button) "The HTML `type` attribute lives on `typeName`, not on `type`, which controls the visual variant." (https://vercel.com/geist/button) Ours: the look is `variant` (`default`, `secondary`, `outline`, `ghost`, `link`, `destructive` for Geist\'s error, `warning`, and `brandSolid` and `brandGhost` for a colour or black ground) and `type` is the HTML type, `button` unless it submits. There is no `CustomButton`: colour is ours, chosen by `variant`, never at the call site. "The default size is medium." (https://vercel.com/geist/button) Ours: `xs` (24 px), `sm` (32 px), `default` (36 px, medium) and `lg` (40 px); `sm` and `xs` are for a control nested in dense content, such as a composer or an input group, never for chrome. `inline` is a `link` command standing in a line of text (*Change*, *Switch account*): no padding of its own, and on a mouse it keeps the control\'s minimum height so it is as easy to hit. The corner is 6 px, 8 px at `lg` and 4 px on the 24 px icon button. The label is the button type at `sm` and `default`, the large one at `lg` and the 12 px one at `xs`, and the inline padding is 6 px at `sm`, 10 px at `default` and 14 px at `lg` (8 px at `xs`). "Pass `loading` instead of swapping in a spinner so the button stays focusable and announces the busy state to assistive tech." (https://vercel.com/geist/button) Ours: `loading` is the only busy state: the button keeps its place and focus, says `loadingLabel` in the label\'s place, ignores a second press and shows no spinner. "Disable a button only when the action is impossible right now (missing input, insufficient permission); pair with a `Tooltip` that explains why." (https://vercel.com/geist/button) Ours: the reason is written beside the button. "Icon-only buttons should include the `svgOnly` prop and an `aria-label`." (https://vercel.com/geist/button) Ours: an icon-only button takes an `icon` size and its icon as the child; `shape="circle"` is only for it. An icon with text passes as `prefix` or `suffix`. "Combination of `shape="rounded"` and the `shadow` prop, often used on marketing pages." (https://vercel.com/geist/button) Ours: `shape="rounded"` is a pill for a call to action that stands apart (a banner\'s or a scroller\'s), with no `shadow` prop. Ours: a Button drawn as another Button\'s element, through that Button\'s `render` (a product\'s component that opens a dialog), takes that Button\'s look and size, never its own default. Ours: text children sit in a label box that adds 6 px each side to the padding, except at `xs` and the icon sizes, which have none; an element child (a `render` target, a row with a trailing `Kbd`) lays itself out and gets no box. Colour sits on the whole button for three looks: `default` is the primary action colour, cobalto, with its white label in both themes, `destructive` is the error fill for permanent loss (Delete project), `warning` is the amber fill for a disruptive command that can be undone (Pause project). `link` is the link colour as text, with the arrow as `suffix` when the destination is outside the product. `outline` and `secondary` are neutral with a hairline edge, `ghost` has no chrome and serves a tertiary text action or an icon-only command (the three dots, close, collapse), and no look puts a hue on its edge. Held (disabled or `loading`), a filled look (`default`, `outline`, `secondary`, `destructive` and `warning`, so `outline` and `secondary` too) drops its hue to the muted fill, the muted text and the hairline at full opacity, so it reads as unavailable; `ghost`, `link` and the two brand looks dim instead. Held and still focusable (`focusableWhenDisabled`, `loading`), it keeps the pointer, so a `Tooltip` around it opens on hover: the cursor is not-allowed, hover and press leave the held look as it is, and a press reaches neither its `onClick` nor its `render` element. Natively `disabled`, it lets the pointer through. Pressed looks like hover, with no movement. On a colour or black ground a control takes a look whose label clears AA there: `brandSolid` (white fill, ink label) or `brandGhost` (white label, no fill) on cobalto, rosso and black, and the `default` ink button on verde, arancio and giallo.',
399
399
  words: '"Title Case the label and name what happens: `Deploy Project`, `Invite Member`, `Rotate Key`." (https://vercel.com/geist/button) "Avoid bare verbs (`Submit`) and generic confirms (`OK`, `Confirm`)." (https://vercel.com/geist/button) "Destructive buttons follow `Verb + Noun` and pair 1:1 with their toast: `Delete Project` then `Project deleted`." (https://vercel.com/geist/button) "Mode-switch buttons append `Instead`: `Use a Recovery Code Instead`." (https://vercel.com/geist/button) Ours: sentence case, not Title Case: *Invite member*, *Remove mailbox* then *Mailbox removed*, *Use a recovery code instead*. `loadingLabel` is the same words in the -ing form: *Inviting member*. Italian runs about a third longer (*Rimuovi casella*), so a footer leaves room and a label never wraps.',
400
400
  access: '"Icon-only buttons require both `svgOnly` and `aria-label`; the validator throws without them." (https://vercel.com/geist/button) "The `aria-label` names the action and the target (`Copy deployment URL`), not the icon (`Copy`)." (https://vercel.com/geist/button) "Don’t set `aria-label` on a button that already has visible text; it overrides the label and creates a screen-reader mismatch." (https://vercel.com/geist/button) Ours: the type requires `aria-label` or `aria-labelledby` on an icon-only button. A native `button`, `type="button"` unless it submits. `loading` sets `aria-busy`. Focus shows the base outline in one colour for every look; nothing repaints it.',
401
401
  },
@@ -417,9 +417,9 @@ export const USAGE = [
417
417
  summary: "A link drawn as a button, with the props of `Button`.",
418
418
  when: '"Use `Button` for actions that mutate state (deploy, save, delete); use `ButtonLink` for navigation that changes the URL." (https://vercel.com/geist/button) Ours: a sign-in, a download, a record\'s page. It is read as a link and drawn as a button.',
419
419
  instead: 'A command that changes something is a `Button`. A link inside a sentence is `TextLink`. The product\'s router link keeps its own behaviour through `render`: `render={<Link href="/agents" />}`.',
420
- behaviour: '"Use `ButtonLink` for links with the same props as `Button`." (https://vercel.com/geist/button) Ours: takes the looks, sizes, `prefix`, `suffix` and `loading` of `Button`. While it is `loading` or `disabled` it ignores a click and stays focusable.',
420
+ behaviour: "\"Use `ButtonLink` for links with the same props as `Button`.\" (https://vercel.com/geist/button) Ours: takes the looks, sizes, `prefix`, `suffix` and `loading` of `Button`. Held (`loading` or `disabled`), it stays focusable, keeps the pointer under the not-allowed cursor as a held `Button` does, so a `Tooltip` around it opens on hover and on focus, and a press (a click, a middle click, Enter) reaches none of its handlers, its `render` element's or the page around it. `disabled`, it cannot run now, so it is no link to follow: it draws its own `a` with neither the `href` nor the `render` element, and the browser's Open link in new tab, a drag and a modified click find no address. A `render` component (the router's `Link`) is swapped for that `a` and back, so it mounts afresh and focus on it does not outlive the change; a link with its own `href` keeps its element and focus. `loading`, it is the link already being followed: it keeps its element, its address and focus, as a loading `Button` keeps its place and focus.",
421
421
  words: "Sentence case, verb + noun naming the destination or the result: *Open Portal*, *Download invoice*. A destination outside the product ends in the arrow as `suffix`.",
422
- access: 'A native `a` with an `href`, never `role="button"`. An icon-only link carries an `aria-label` or `aria-labelledby` naming destination, and the type requires it.',
422
+ access: 'A native `a` with an `href`, never `role="button"`; held, it carries `aria-disabled`. `disabled`, the `a` has no `href`, which would also take away its link role and its place in the tab order, so it carries `role="link"` and `tabIndex` 0: read as a link that is unavailable, it is still reached by Tab and announces its `aria-describedby` reason. An icon-only link carries an `aria-label` or `aria-labelledby` naming destination, and the type requires it.',
423
423
  },
424
424
  {
425
425
  name: "CardActionsRow",
@@ -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; the stages a system runs on an entry screen are the EntryStageList.",
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 stages of starting Nadia.",
1673
- instead: "Work whose length is unknown is a WaitingLine; the named stages themselves are the EntryStageList; measured work inside the product is a Progress with its count.",
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: 'Stages the system runs on an entry screen are the EntryStageList; 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.',
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.248",
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.248",
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",