@nadicodeai/ui 12.1.196 → 12.1.198

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.
Files changed (101) hide show
  1. package/AGENTS.md +7 -1
  2. package/dist/components/action-menu.d.ts +1 -1
  3. package/dist/components/action-menu.js +1 -1
  4. package/dist/components/activity-calendar.d.ts +2 -2
  5. package/dist/components/activity-calendar.js +2 -2
  6. package/dist/components/card.d.ts +2 -2
  7. package/dist/components/card.js +2 -2
  8. package/dist/components/clearable-input.d.ts +3 -2
  9. package/dist/components/clearable-input.d.ts.map +1 -1
  10. package/dist/components/clearable-input.js +3 -2
  11. package/dist/components/collection-page.d.ts +1 -1
  12. package/dist/components/collection-page.js +1 -1
  13. package/dist/components/collection-sort.d.ts +2 -2
  14. package/dist/components/collection-sort.js +2 -2
  15. package/dist/components/collection-toolbar.js +2 -2
  16. package/dist/components/command.d.ts +2 -2
  17. package/dist/components/command.js +2 -2
  18. package/dist/components/confirm-dialog.d.ts +1 -1
  19. package/dist/components/confirm-dialog.js +1 -1
  20. package/dist/components/context-menu.d.ts +1 -1
  21. package/dist/components/context-menu.js +1 -1
  22. package/dist/components/data-table.d.ts +3 -3
  23. package/dist/components/data-table.js +2 -2
  24. package/dist/components/dialog.d.ts +2 -1
  25. package/dist/components/dialog.d.ts.map +1 -1
  26. package/dist/components/dialog.js +2 -1
  27. package/dist/components/disclosure.d.ts +2 -2
  28. package/dist/components/disclosure.js +2 -2
  29. package/dist/components/dropdown-menu.d.ts +1 -1
  30. package/dist/components/dropdown-menu.js +1 -1
  31. package/dist/components/empty-state.d.ts +1 -1
  32. package/dist/components/empty-state.js +1 -1
  33. package/dist/components/entry-scene.d.ts +3 -3
  34. package/dist/components/entry-scene.js +3 -3
  35. package/dist/components/form-dialog.d.ts +1 -1
  36. package/dist/components/form-dialog.js +1 -1
  37. package/dist/components/form-drawer.d.ts +1 -1
  38. package/dist/components/form-drawer.js +1 -1
  39. package/dist/components/hive-scene.d.ts +3 -3
  40. package/dist/components/hive-scene.js +1 -1
  41. package/dist/components/hover-card.d.ts +2 -1
  42. package/dist/components/hover-card.d.ts.map +1 -1
  43. package/dist/components/hover-card.js +2 -1
  44. package/dist/components/identity-mark.d.ts +1 -1
  45. package/dist/components/identity-mark.js +1 -1
  46. package/dist/components/input.d.ts +4 -4
  47. package/dist/components/input.js +4 -4
  48. package/dist/components/middle-truncate.d.ts +3 -1
  49. package/dist/components/middle-truncate.d.ts.map +1 -1
  50. package/dist/components/middle-truncate.js +3 -1
  51. package/dist/components/notice-banner.d.ts +1 -1
  52. package/dist/components/notice-banner.js +1 -1
  53. package/dist/components/object-page.d.ts +3 -3
  54. package/dist/components/object-page.d.ts.map +1 -1
  55. package/dist/components/object-page.js +2 -2
  56. package/dist/components/overview-page.d.ts +1 -1
  57. package/dist/components/overview-page.js +1 -1
  58. package/dist/components/page-actions.d.ts +3 -3
  59. package/dist/components/page-actions.js +3 -3
  60. package/dist/components/page-header.d.ts +16 -8
  61. package/dist/components/page-header.d.ts.map +1 -1
  62. package/dist/components/page-header.js +16 -8
  63. package/dist/components/pairing-code.d.ts +2 -2
  64. package/dist/components/pairing-code.js +2 -2
  65. package/dist/components/popover.d.ts +4 -3
  66. package/dist/components/popover.d.ts.map +1 -1
  67. package/dist/components/popover.js +4 -3
  68. package/dist/components/record-identity.d.ts +1 -1
  69. package/dist/components/record-identity.js +1 -1
  70. package/dist/components/record-list.d.ts +1 -1
  71. package/dist/components/record-list.js +1 -1
  72. package/dist/components/scope-switcher.d.ts +1 -1
  73. package/dist/components/scope-switcher.js +1 -1
  74. package/dist/components/settings-facts.d.ts +1 -1
  75. package/dist/components/settings-facts.js +1 -1
  76. package/dist/components/settings-page.d.ts +1 -1
  77. package/dist/components/settings-page.js +1 -1
  78. package/dist/components/settings-section.d.ts +6 -6
  79. package/dist/components/settings-section.js +6 -6
  80. package/dist/components/sidebar-sections.d.ts +2 -2
  81. package/dist/components/sidebar-sections.js +2 -2
  82. package/dist/components/sidebar.d.ts +3 -3
  83. package/dist/components/sidebar.js +3 -3
  84. package/dist/components/status-badge.d.ts +13 -4
  85. package/dist/components/status-badge.d.ts.map +1 -1
  86. package/dist/components/status-badge.js +13 -4
  87. package/dist/components/table-value.d.ts +2 -2
  88. package/dist/components/table-value.js +2 -2
  89. package/dist/components/tabs.d.ts +10 -3
  90. package/dist/components/tabs.d.ts.map +1 -1
  91. package/dist/components/tabs.js +10 -3
  92. package/dist/components/tooltip.d.ts +3 -2
  93. package/dist/components/tooltip.d.ts.map +1 -1
  94. package/dist/components/tooltip.js +3 -2
  95. package/dist/components/waiting-line.d.ts +3 -2
  96. package/dist/components/waiting-line.d.ts.map +1 -1
  97. package/dist/components/waiting-line.js +3 -2
  98. package/dist/internal/row-message.d.ts +1 -1
  99. package/dist/showcase/usage.generated.js +66 -66
  100. package/dist/styles/components.css +2 -2
  101. package/package.json +2 -2
@@ -38,10 +38,19 @@ function StatusMark({ shape, className, edge, }) {
38
38
  * "Map meaning to color: `green` for healthy, `red` for error, `amber` for warning, `blue` for informational or production, `gray` for neutral." (https://vercel.com/geist/badge)
39
39
  * Ours: success is green, danger red, warning amber, info blue, neutral gray, whatever the state's
40
40
  * name, in our colour values. The tone and the word are required, and the type asks for both.
41
+ * The Portal, Nadia and Alveare draw every status with this one component. In a list or a feed it
42
+ * shows only for the exception, the record or event that differs from the others, such as a
43
+ * failure, a revocation or a wait for a person's decision; the usual state shows nothing, so a
44
+ * status never stands on every row. An Agent fleet's operational-state column and a run history's
45
+ * outcome are facts being compared, so each entry there keeps its badge, Ready and Completed
46
+ * included. An object's own status sits beside its name in the path.
41
47
  * @instead "For non-deployment statuses (Workflow runs, Queue messages, Sandbox, Cron jobs), use a `Badge` with the canonical state vocabulary instead of repurposing the dot." (https://vercel.com/geist/status-dot)
42
48
  * Ours: that `Badge` is `StatusBadge`. For a category (an installation, a partner) use `Tag`. For
43
49
  * plain metadata (a role, a plan) use `Badge`. For a control reporting its own action use
44
- * `ActionStatus`. A state beside its name still uses this component.
50
+ * `ActionStatus`. A state beside its name still uses this component. A single coloured dot is
51
+ * never a status, beside a visible label and inside an Agent row or filter included; the package
52
+ * exports no status-dot component. An Agent's orb stays her identity and her activity. How far a
53
+ * record is through the steps that make it ready is `ProgressChecklist`.
45
54
  * @behaviour "Badges are static labels." (https://vercel.com/geist/badge)
46
55
  * "Don’t wire `onClick` onto them; promote to a Button or link if the user can act on the value." (https://vercel.com/geist/badge)
47
56
  * Ours: a status never moves and is never a button. It is the tone's shape and the word, with no
@@ -51,7 +60,8 @@ function StatusMark({ shape, className, edge, }) {
51
60
  * take the tone's colour and the word the foreground colour; amber's outline takes its deep step
52
61
  * so the triangle holds on white. `size`
53
62
  * follows the type beside it: `sm` (a 14 px shape, 12 px word) in a small line such as an Agent's
54
- * state line, `md` (16 px, 13 px) in a row, `lg` (20 px, 14 px) beside an object's name.
63
+ * state line, `md` (16 px, 13 px) in a row, `lg` (20 px, 14 px) beside an object's name. A new
64
+ * state picks one of the five tones, never a new shape.
55
65
  * @words "Title Case, one word when possible, two max: `Active`, `Pending`, `Pro`, `Enterprise Trial`." (https://vercel.com/geist/badge)
56
66
  * Ours: a state, not a verb (*Failed*, *Waiting for you*), in sentence case, one to three words, no
57
67
  * trailing ellipsis. Italian runs a third longer: *In attesa di te*.
@@ -60,8 +70,7 @@ function StatusMark({ shape, className, edge, }) {
60
70
  * @access "Don’t rely on color alone; the text has to be readable without it." (https://vercel.com/geist/badge)
61
71
  * Ours: the word is the name; the shape is `aria-hidden`, so colour never carries the state alone.
62
72
  * Not focusable. Each app keeps one value-to-tone map in one module; nothing else picks a status
63
- * colour. A healthy record shows no status, except the operational-state and run-outcome columns
64
- * defined by DESIGN.md's Status rule.
73
+ * colour.
65
74
  */
66
75
  function StatusBadge({ tone, label, since, className, size = "md", ...props }) {
67
76
  const { name, shape, ink, edge } = TONE[tone];
@@ -21,8 +21,8 @@ export type TableValueProps = {
21
21
  * @when Every cell of a `DataTable` whose reading can be missing, zero, out of date, unreadable or still loading.
22
22
  * @instead A whole table that failed to read is `EmptyState kind="failed"`; a figure on its own is a `KpiCard`.
23
23
  * @behaviour “Render `—` in cells where a value is unknown or not applicable. Don’t substitute `N/A`, `null`, or an empty string.” (https://vercel.com/geist/table)
24
- * Ours: five states that never collapse into a dash: unknown (a muted dash), zero (the figure "0"), stale (the reading, then the stale word), failed (the error mark and its words, in the error colour) and loading (a still 64 × 12 placeholder). A real value, `0` included, is shown as it is.
25
- * @words Ours: `missingLabel` says what the absence means ("Not reported", never "N/A" or "None"); `staleLabel` is one word ("Stale"); `failedLabel` says the read failed ("Couldn't read").
24
+ * Ours: five states that never collapse into a dash: unknown (a muted dash), zero (the figure "0"), stale (the reading, then the stale word), failed (the error mark and its words, in the error colour) and loading (a still 64 × 12 placeholder). A real value, `0` included, is shown as it is. A missing permission and a setup the person can complete are not unknown either: each keeps its own visible state, never a dash.
25
+ * @words Ours: `missingLabel` says what the absence means ("Not reported", never "N/A" or "None"). An absent report is not "None": "None" is a value, only for a complete report that found nothing; `staleLabel` is one word ("Stale"); `failedLabel` says the read failed ("Couldn't read").
26
26
  * @access The dash is hidden and `missingLabel` is read in its place; the error mark is hidden beside its words; the placeholder is decorative, and its cell is `aria-busy` while it loads.
27
27
  */
28
28
  export declare function TableValue(props: TableValueProps): string | number | import("react").JSX.Element;
@@ -8,8 +8,8 @@ import { Skeleton } from "./skeleton.js";
8
8
  * @when Every cell of a `DataTable` whose reading can be missing, zero, out of date, unreadable or still loading.
9
9
  * @instead A whole table that failed to read is `EmptyState kind="failed"`; a figure on its own is a `KpiCard`.
10
10
  * @behaviour “Render `—` in cells where a value is unknown or not applicable. Don’t substitute `N/A`, `null`, or an empty string.” (https://vercel.com/geist/table)
11
- * Ours: five states that never collapse into a dash: unknown (a muted dash), zero (the figure "0"), stale (the reading, then the stale word), failed (the error mark and its words, in the error colour) and loading (a still 64 × 12 placeholder). A real value, `0` included, is shown as it is.
12
- * @words Ours: `missingLabel` says what the absence means ("Not reported", never "N/A" or "None"); `staleLabel` is one word ("Stale"); `failedLabel` says the read failed ("Couldn't read").
11
+ * Ours: five states that never collapse into a dash: unknown (a muted dash), zero (the figure "0"), stale (the reading, then the stale word), failed (the error mark and its words, in the error colour) and loading (a still 64 × 12 placeholder). A real value, `0` included, is shown as it is. A missing permission and a setup the person can complete are not unknown either: each keeps its own visible state, never a dash.
12
+ * @words Ours: `missingLabel` says what the absence means ("Not reported", never "N/A" or "None"). An absent report is not "None": "None" is a value, only for a complete report that found nothing; `staleLabel` is one word ("Stale"); `failedLabel` says the read failed ("Couldn't read").
13
13
  * @access The dash is hidden and `missingLabel` is read in its place; the error mark is hidden beside its words; the placeholder is decorative, and its cell is `aria-busy` while it loads.
14
14
  */
15
15
  export function TableValue(props) {
@@ -25,7 +25,11 @@ type TabsProps = Omit<TabsPrimitive.Root.Props, "value" | "defaultValue" | "onVa
25
25
  * Ours: the cap is 7 on a desktop and 4 on a phone, for a row of line tabs.
26
26
  * @instead "For navigation between unrelated pages, use a sub-menu, not Tabs." (https://vercel.com/geist/tabs) "Tabs imply the views share scope, URL parent, and data model." (https://vercel.com/geist/tabs)
27
27
  * Ours: views with their own URL are `TabsNav`. A choice that changes a value is a `RadioGroup` or
28
- * `ToggleGroup`. A stable destination belongs in the `Sidebar`.
28
+ * `ToggleGroup`. A stable destination belongs in the `Sidebar`, and a set of different things,
29
+ * such as Nadia's company sections, is pages there, never tabs. A tab never introduces a new scope:
30
+ * another company or Agent is another place, reached from the sidebar or a `ScopeSwitcher`, and a
31
+ * choice of whose things are listed is a filter in the toolbar. Two lists are never stacked with a
32
+ * tab row between them.
29
33
  * @behaviour "Selecting a tab is instant; don’t trigger network confirmation or toast on tab change." (https://vercel.com/geist/tabs)
30
34
  * "Reflect the active tab in the URL (query param or path) so deep-links and refresh restore state." (https://vercel.com/geist/tabs)
31
35
  * "Disable individual tabs only for permission or empty-state reasons; pair the disabled tab with a `tooltip` that names the constraint." (https://vercel.com/geist/tabs)
@@ -33,10 +37,13 @@ type TabsProps = Omit<TabsPrimitive.Root.Props, "value" | "defaultValue" | "onVa
33
37
  * description; a tab is disabled only for a permission or an empty state, and `disabled` requires
34
38
  * its `disabledReason`. One treatment among siblings, chosen through `variant`, never a page border:
35
39
  * `line` (50 px high with 2 px sides, `body-sm` at 400, 24 px between tabs, a 2 px ink underline over
36
- * the full-width row's 1 px rule) for a page's collections, `default` (a 32 px pill with 12 px
40
+ * the full-width row's 1 px rule) for a page's collections, under the title row and above the
41
+ * toolbar, `default` (a 32 px pill with 12 px
37
42
  * sides, `label-sm` at 400, no gap between tabs, on the selection fill) for an object's sections.
38
43
  * On a coarse or non-hover input a tab is at least 44 px high and wide, as a touch target.
39
- * The page owns the chosen tab: `value` and `onValueChange` are required. There is no sliding underline. Colour is neutral only: the
44
+ * The page owns the chosen tab: `value` and `onValueChange` are required. The page keeps the
45
+ * choice in the URL, as a route or as `?tab=` with the first tab left out, so a reload, Back and a
46
+ * shared link return to it; switching never changes whose things are shown. There is no sliding underline. Colour is neutral only: the
40
47
  * chosen tab is ink, the rest are muted until hover, and a disabled tab is never dimmed: in `line`
41
48
  * it reads as an unchosen one, in `default` it sits on the selection fill with muted text, both
42
49
  * with a not-allowed cursor.
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../src/components/tabs.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGjE,KAAK,YAAY,GACb;IAAE,QAAQ,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;IAAC,cAAc,CAAC,EAAE,SAAS,CAAA;CAAE,GAC5D;IACE,QAAQ,EAAE,IAAI,CAAC;IACf,qE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O,gBAAgB,CAAC,GACrC,YAAY,qBAUb;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,QAAQ,EACR,cAAc,EACd,kBAAkB,EAAE,WAAW,EAC/B,GAAG,KAAK,EACT,EAAE,gBAAgB,qBAmClB;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,CAAC,KAAK,CAAC,KAAK,qBAQtE;AAED,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC;AACtE,YAAY,EAAE,SAAS,EAAE,CAAC"}
@@ -15,7 +15,11 @@ import { cn } from "../lib/utils.js";
15
15
  * Ours: the cap is 7 on a desktop and 4 on a phone, for a row of line tabs.
16
16
  * @instead "For navigation between unrelated pages, use a sub-menu, not Tabs." (https://vercel.com/geist/tabs) "Tabs imply the views share scope, URL parent, and data model." (https://vercel.com/geist/tabs)
17
17
  * Ours: views with their own URL are `TabsNav`. A choice that changes a value is a `RadioGroup` or
18
- * `ToggleGroup`. A stable destination belongs in the `Sidebar`.
18
+ * `ToggleGroup`. A stable destination belongs in the `Sidebar`, and a set of different things,
19
+ * such as Nadia's company sections, is pages there, never tabs. A tab never introduces a new scope:
20
+ * another company or Agent is another place, reached from the sidebar or a `ScopeSwitcher`, and a
21
+ * choice of whose things are listed is a filter in the toolbar. Two lists are never stacked with a
22
+ * tab row between them.
19
23
  * @behaviour "Selecting a tab is instant; don’t trigger network confirmation or toast on tab change." (https://vercel.com/geist/tabs)
20
24
  * "Reflect the active tab in the URL (query param or path) so deep-links and refresh restore state." (https://vercel.com/geist/tabs)
21
25
  * "Disable individual tabs only for permission or empty-state reasons; pair the disabled tab with a `tooltip` that names the constraint." (https://vercel.com/geist/tabs)
@@ -23,10 +27,13 @@ import { cn } from "../lib/utils.js";
23
27
  * description; a tab is disabled only for a permission or an empty state, and `disabled` requires
24
28
  * its `disabledReason`. One treatment among siblings, chosen through `variant`, never a page border:
25
29
  * `line` (50 px high with 2 px sides, `body-sm` at 400, 24 px between tabs, a 2 px ink underline over
26
- * the full-width row's 1 px rule) for a page's collections, `default` (a 32 px pill with 12 px
30
+ * the full-width row's 1 px rule) for a page's collections, under the title row and above the
31
+ * toolbar, `default` (a 32 px pill with 12 px
27
32
  * sides, `label-sm` at 400, no gap between tabs, on the selection fill) for an object's sections.
28
33
  * On a coarse or non-hover input a tab is at least 44 px high and wide, as a touch target.
29
- * The page owns the chosen tab: `value` and `onValueChange` are required. There is no sliding underline. Colour is neutral only: the
34
+ * The page owns the chosen tab: `value` and `onValueChange` are required. The page keeps the
35
+ * choice in the URL, as a route or as `?tab=` with the first tab left out, so a reload, Back and a
36
+ * shared link return to it; switching never changes whose things are shown. There is no sliding underline. Colour is neutral only: the
30
37
  * chosen tab is ink, the rest are muted until hover, and a disabled tab is never dimmed: in `line`
31
38
  * it reads as an unchosen one, in `default` it sits on the selection fill with muted text, both
32
39
  * with a not-allowed cursor.
@@ -16,8 +16,9 @@ declare function TooltipProvider({ delay, ...props }: TooltipPrimitive.Provider.
16
16
  * @instead "For an entity preview with metadata rows (avatar, identifier, 2–4 facts, optional
17
17
  * action), use `Context Card`." "For long-form content or actions that need persistence, route to a
18
18
  * `Drawer` or page navigation." (https://vercel.com/geist/tooltip)
19
- * Ours: `Context Card` is `HoverCard` and `Drawer` is `Sheet`. A disabled command's reason is
20
- * written under it, never only in a tooltip.
19
+ * Ours: `Context Card` is `HoverCard`, which only this package's components draw, such as
20
+ * `RecordTime`, and `Drawer` is `Sheet`. Essential reasons and actions never live only in a hover
21
+ * tooltip: a disabled command's reason is written under it.
21
22
  * @behaviour "Tooltips open on hover and on keyboard focus." "Keep the default ~150ms entry delay so
22
23
  * the tooltip doesn’t flicker on a sweeping mouse." "Don’t wrap a labelled `Input` in a Tooltip."
23
24
  * "The trigger lands on the `<label>`, not the field, and the tooltip text becomes a second
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../src/components/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAGrE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,kCAAkC,CAAC;AAM1C,iBAAS,eAAe,CAAC,EAAE,KAAqB,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,QAAQ,CAAC,KAAK,+BAM5F;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,aAAa,CAAC,+BAE9E;AAED,iBAAS,cAAc,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,OAAO,CAAC,KAAK,+BAS1E;AAED,iBAAS,cAAc,CAAC,EACtB,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,GAAG;IAC9C,2FAA2F;IAC3F,QAAQ,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,+BAYA;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../src/components/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAGrE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,kCAAkC,CAAC;AAM1C,iBAAS,eAAe,CAAC,EAAE,KAAqB,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,QAAQ,CAAC,KAAK,+BAM5F;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,aAAa,CAAC,+BAE9E;AAED,iBAAS,cAAc,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,OAAO,CAAC,KAAK,+BAS1E;AAED,iBAAS,cAAc,CAAC,EACtB,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,GAAG;IAC9C,2FAA2F;IAC3F,QAAQ,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,+BAYA;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
@@ -23,8 +23,9 @@ function TooltipProvider({ delay = TOOLTIP_DELAY, ...props }) {
23
23
  * @instead "For an entity preview with metadata rows (avatar, identifier, 2–4 facts, optional
24
24
  * action), use `Context Card`." "For long-form content or actions that need persistence, route to a
25
25
  * `Drawer` or page navigation." (https://vercel.com/geist/tooltip)
26
- * Ours: `Context Card` is `HoverCard` and `Drawer` is `Sheet`. A disabled command's reason is
27
- * written under it, never only in a tooltip.
26
+ * Ours: `Context Card` is `HoverCard`, which only this package's components draw, such as
27
+ * `RecordTime`, and `Drawer` is `Sheet`. Essential reasons and actions never live only in a hover
28
+ * tooltip: a disabled command's reason is written under it.
28
29
  * @behaviour "Tooltips open on hover and on keyboard focus." "Keep the default ~150ms entry delay so
29
30
  * the tooltip doesn’t flicker on a sweeping mouse." "Don’t wrap a labelled `Input` in a Tooltip."
30
31
  * "The trigger lands on the `<label>`, not the field, and the tooltip text becomes a second
@@ -21,7 +21,8 @@ type WaitingLineProps = Omit<React.ComponentProps<"div">, "children"> & {
21
21
  * @family Feedback
22
22
  * @when A system wait the person asked for that runs past a second: a save, a connection, a
23
23
  * download without a count.
24
- * In a record's row, `WaitingDetail` puts it under the row's detail line, which names the work.
24
+ * In a record's row, `WaitingDetail` puts it under the row's detail line, which names the work,
25
+ * and the row shows no status badge for the same wait. One wait gets one indicator.
25
26
  * @instead Under a second the `PendingLabel` alone. A known amount is a progress line with a count.
26
27
  * A page load is `Skeleton`. An Agent working is her orb and a sentence.
27
28
  * @behaviour Takes its 2 px from the start and stays empty until 1 s, so its arrival moves nothing. It is
@@ -33,7 +34,7 @@ type WaitingLineProps = Omit<React.ComponentProps<"div">, "children"> & {
33
34
  * @words None of its own. The control beside it carries the pending word; a standalone line takes a
34
35
  * `label` naming the work: *Connecting Telegram*.
35
36
  * @access With a label: `role="status"`, announced once after the second. `decorative` when a control or
36
- * sentence beside it already names the work (DESIGN.md "System activity"). The segment is hidden.
37
+ * sentence beside it already names the work. The segment is hidden.
37
38
  */
38
39
  declare function WaitingLine({ className, decorative, label, waiting, ...props }: WaitingLineProps): React.JSX.Element;
39
40
  /** A record's wait in its row: the detail line naming the work, with the waiting line along the bottom of the detail's own box, out of the flow but inside a row that clips its detail, so the row keeps its height when its detail turns into the wait. */
@@ -1 +1 @@
1
- {"version":3,"file":"waiting-line.d.ts","sourceRoot":"","sources":["../../src/components/waiting-line.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;;;GAIG;AACH,QAAA,MAAM,qBAAqB,OAAO,CAAC;AAEnC,KAAK,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IACtE,mHAAmH;IACnH,OAAO,EAAE,OAAO,CAAC;CAClB,GAAG,CAAC;IAAE,UAAU,EAAE,IAAI,CAAC;IAAC,KAAK,CAA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AAW,EAAE,qBAAqB,EAAE,CAAC"}
@@ -14,7 +14,8 @@ const WAITING_LINE_DELAY_MS = 1000;
14
14
  * @family Feedback
15
15
  * @when A system wait the person asked for that runs past a second: a save, a connection, a
16
16
  * download without a count.
17
- * In a record's row, `WaitingDetail` puts it under the row's detail line, which names the work.
17
+ * In a record's row, `WaitingDetail` puts it under the row's detail line, which names the work,
18
+ * and the row shows no status badge for the same wait. One wait gets one indicator.
18
19
  * @instead Under a second the `PendingLabel` alone. A known amount is a progress line with a count.
19
20
  * A page load is `Skeleton`. An Agent working is her orb and a sentence.
20
21
  * @behaviour Takes its 2 px from the start and stays empty until 1 s, so its arrival moves nothing. It is
@@ -26,7 +27,7 @@ const WAITING_LINE_DELAY_MS = 1000;
26
27
  * @words None of its own. The control beside it carries the pending word; a standalone line takes a
27
28
  * `label` naming the work: *Connecting Telegram*.
28
29
  * @access With a label: `role="status"`, announced once after the second. `decorative` when a control or
29
- * sentence beside it already names the work (DESIGN.md "System activity"). The segment is hidden.
30
+ * sentence beside it already names the work. The segment is hidden.
30
31
  */
31
32
  function WaitingLine({ className, decorative = false, label, waiting, ...props }) {
32
33
  const [elapsedWait, setElapsedWait] = React.useState(false);
@@ -1,7 +1,7 @@
1
1
  import { type ResolvedMessage } from "../components/product-message.js";
2
2
  /**
3
3
  * A record's own action that failed or cannot run, drawn inside its row
4
- * (DESIGN.md "Tables and missing values"): the message takes the line under
4
+ * (as `RecordList` draws it): the message takes the line under
5
5
  * the record's name and its actions take the row's controls.
6
6
  */
7
7
  export type RowMessage = {