@nadicodeai/ui 12.1.210 → 12.1.211

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 (125) hide show
  1. package/AGENTS.md +11 -4
  2. package/dist/components/account-menu.d.ts +3 -3
  3. package/dist/components/account-menu.d.ts.map +1 -1
  4. package/dist/components/account-menu.js +7 -5
  5. package/dist/components/activity-feed.d.ts +4 -2
  6. package/dist/components/activity-feed.d.ts.map +1 -1
  7. package/dist/components/activity-feed.js +10 -3
  8. package/dist/components/board.d.ts +45 -0
  9. package/dist/components/board.d.ts.map +1 -0
  10. package/dist/components/board.js +35 -0
  11. package/dist/components/breadcrumb.d.ts +3 -3
  12. package/dist/components/breadcrumb.d.ts.map +1 -1
  13. package/dist/components/button.d.ts +6 -1
  14. package/dist/components/button.d.ts.map +1 -1
  15. package/dist/components/button.js +5 -2
  16. package/dist/components/card-row.js +1 -1
  17. package/dist/components/chart-card.d.ts +19 -6
  18. package/dist/components/chart-card.d.ts.map +1 -1
  19. package/dist/components/chart-card.js +17 -7
  20. package/dist/components/collection-page.d.ts +4 -4
  21. package/dist/components/collection-page.d.ts.map +1 -1
  22. package/dist/components/collection-page.js +4 -8
  23. package/dist/components/column-foot.d.ts +53 -0
  24. package/dist/components/column-foot.d.ts.map +1 -0
  25. package/dist/components/column-foot.js +32 -0
  26. package/dist/components/conversation-card.d.ts +38 -0
  27. package/dist/components/conversation-card.d.ts.map +1 -0
  28. package/dist/components/conversation-card.js +19 -0
  29. package/dist/components/data-table.d.ts +26 -21
  30. package/dist/components/data-table.d.ts.map +1 -1
  31. package/dist/components/data-table.js +34 -22
  32. package/dist/components/entry-page.d.ts +55 -0
  33. package/dist/components/entry-page.d.ts.map +1 -0
  34. package/dist/components/entry-page.js +41 -0
  35. package/dist/components/entry-scene.d.ts +1 -1
  36. package/dist/components/entry-scene.js +1 -1
  37. package/dist/components/filter-toolbar.d.ts +43 -0
  38. package/dist/components/filter-toolbar.d.ts.map +1 -0
  39. package/dist/components/filter-toolbar.js +44 -0
  40. package/dist/components/hive-scene.d.ts +4 -1
  41. package/dist/components/hive-scene.d.ts.map +1 -1
  42. package/dist/components/hive-scene.js +6 -1
  43. package/dist/components/kpi-card.d.ts +10 -3
  44. package/dist/components/kpi-card.d.ts.map +1 -1
  45. package/dist/components/kpi-card.js +11 -3
  46. package/dist/components/message-notice.d.ts +3 -3
  47. package/dist/components/message-notice.js +1 -1
  48. package/dist/components/notice-banner.d.ts +1 -1
  49. package/dist/components/notice-banner.js +1 -1
  50. package/dist/components/object-workspace.d.ts +25 -5
  51. package/dist/components/object-workspace.d.ts.map +1 -1
  52. package/dist/components/object-workspace.js +30 -7
  53. package/dist/components/page-actions.d.ts +0 -2
  54. package/dist/components/page-actions.d.ts.map +1 -1
  55. package/dist/components/page-actions.js +1 -5
  56. package/dist/components/page-frame.d.ts +38 -0
  57. package/dist/components/page-frame.d.ts.map +1 -0
  58. package/dist/components/page-frame.js +29 -0
  59. package/dist/components/place-count.d.ts +20 -0
  60. package/dist/components/place-count.d.ts.map +1 -0
  61. package/dist/components/place-count.js +16 -0
  62. package/dist/components/plan-card.d.ts +49 -0
  63. package/dist/components/plan-card.d.ts.map +1 -0
  64. package/dist/components/plan-card.js +22 -0
  65. package/dist/components/product-band.d.ts +20 -0
  66. package/dist/components/product-band.d.ts.map +1 -0
  67. package/dist/components/product-band.js +23 -0
  68. package/dist/components/product-shell.d.ts +314 -44
  69. package/dist/components/product-shell.d.ts.map +1 -1
  70. package/dist/components/product-shell.js +465 -36
  71. package/dist/components/reading-column.d.ts +1 -1
  72. package/dist/components/reading-column.js +1 -1
  73. package/dist/components/record-list.d.ts +19 -3
  74. package/dist/components/record-list.d.ts.map +1 -1
  75. package/dist/components/record-list.js +23 -8
  76. package/dist/components/record-time.d.ts +6 -2
  77. package/dist/components/record-time.d.ts.map +1 -1
  78. package/dist/components/record-time.js +8 -5
  79. package/dist/components/row-edit-form.d.ts +1 -1
  80. package/dist/components/row-edit-form.js +1 -1
  81. package/dist/components/scope-switcher.d.ts +3 -1
  82. package/dist/components/scope-switcher.d.ts.map +1 -1
  83. package/dist/components/scope-switcher.js +3 -6
  84. package/dist/components/settings-page.d.ts +3 -3
  85. package/dist/components/settings-page.js +3 -3
  86. package/dist/components/settings-section.d.ts +18 -4
  87. package/dist/components/settings-section.d.ts.map +1 -1
  88. package/dist/components/settings-section.js +12 -4
  89. package/dist/components/sidebar-sections.d.ts.map +1 -1
  90. package/dist/components/sidebar-sections.js +4 -4
  91. package/dist/components/sidebar.d.ts +27 -5
  92. package/dist/components/sidebar.d.ts.map +1 -1
  93. package/dist/components/sidebar.js +55 -23
  94. package/dist/components/table-card.d.ts.map +1 -1
  95. package/dist/components/table-card.js +2 -1
  96. package/dist/components/toast.d.ts +10 -1
  97. package/dist/components/toast.d.ts.map +1 -1
  98. package/dist/components/toast.js +24 -1
  99. package/dist/index.d.ts +5 -0
  100. package/dist/index.d.ts.map +1 -1
  101. package/dist/index.js +5 -0
  102. package/dist/internal/button-classes.d.ts +2 -0
  103. package/dist/internal/button-classes.d.ts.map +1 -1
  104. package/dist/internal/button-classes.js +54 -46
  105. package/dist/internal/card-actions.d.ts +3 -0
  106. package/dist/internal/card-actions.d.ts.map +1 -0
  107. package/dist/internal/card-actions.js +4 -0
  108. package/dist/internal/footer-strip.d.ts.map +1 -1
  109. package/dist/internal/footer-strip.js +3 -1
  110. package/dist/lib/product-shell.d.ts +20 -0
  111. package/dist/lib/product-shell.d.ts.map +1 -0
  112. package/dist/lib/product-shell.js +19 -0
  113. package/dist/showcase/specimens/compositions.d.ts +15 -0
  114. package/dist/showcase/specimens/compositions.d.ts.map +1 -1
  115. package/dist/showcase/specimens/compositions.js +70 -0
  116. package/dist/showcase/specimens/index.d.ts +11 -0
  117. package/dist/showcase/specimens/index.d.ts.map +1 -1
  118. package/dist/showcase/specimens/navigation.d.ts +4 -0
  119. package/dist/showcase/specimens/navigation.d.ts.map +1 -1
  120. package/dist/showcase/specimens/navigation.js +26 -1
  121. package/dist/showcase/usage.generated.d.ts +1 -1
  122. package/dist/showcase/usage.generated.d.ts.map +1 -1
  123. package/dist/showcase/usage.generated.js +159 -38
  124. package/dist/styles/components.css +12 -0
  125. package/package.json +6 -2
@@ -8,6 +8,7 @@ import { Button } from "./button.js";
8
8
  import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "./card.js";
9
9
  import { Field, FieldContent, FieldError, FieldGroup, FieldLabel } from "./field.js";
10
10
  import { NativeSelect, NativeSelectOption } from "./native-select.js";
11
+ import { Skeleton, SkeletonRegion } from "./skeleton.js";
11
12
  import { CardActionsRow } from "./page-actions.js";
12
13
  import { Switch } from "./switch.js";
13
14
  import { Tooltip, TooltipContent, TooltipTrigger } from "./tooltip.js";
@@ -19,11 +20,11 @@ const toneClassNames = {
19
20
  * A card of one setting that says what changing it does and ends in a footer.
20
21
  *
21
22
  * @family Compositions
22
- * @when One setting a person changes on a SettingsPage or as a section of an ObjectPage: Personal details, Company identity, Notifications. A typed value takes `save`, and so does a switch, a theme, a language or a pick from a short list: each is a draft until the footer's Save applies it. Also a plan-gated feature, a delete card, one read-only value (an ID as a `TextWithCopyButton`, no Save), and a paid quantity (its stepper field, the price as the description, a two-fact summary under it).
23
+ * @when One setting a person changes on a SettingsPage or as a section of an ObjectPage: Personal details, Company identity, Notifications. A setting that changes what the product does takes `save` and is a draft until the footer's Save applies it: a typed value, a switch, a pick from a short list. A choice of how the product looks or reads to the person alone, Theme and Language, applies the moment it is picked, on the product's preferences page as in the `AccountMenu`, so its card has no `save` and no Save button, a `footerHint` at most (owner ruling, 7 November 2026). Also a plan-gated feature, a delete card, one read-only value (an ID as a `TextWithCopyButton`, no Save), and a paid quantity (its stepper field, the price as the description, a two-fact summary under it).
23
24
  * @instead Read-only facts of an object are a SettingsFactsSection; a table or a list of records is a TableCard; a record's edit in a list is a RowEditForm.
24
- * @behaviour "Groups related form controls inside a bordered card with optional footer actions." (https://vercel.com/geist/fieldset) Ours: one setting per card, a single SettingsField with the description its only help, unless the card's description covers several settings: then they are its SettingsRows, switches and selects together. A typed value (a name, a URL, a server, a port, a key) gets its own card. A semantic subgroup of related controls inside a field, such as radios or checkboxes, is a `FieldSet` with a `FieldLegend`. Several settings in one card are declared by SettingsRows, never by classes at the call site. The card's header and fields share one uninterrupted body, and only its footer has a divider. "Use Toggle for a single boolean setting where ON takes effect immediately, like `Password Protection` or `Auto-Cancel Builds`." (https://vercel.com/geist/toggle) "Pair with a form footer only when the setting needs an explicit `Save` step." (https://vercel.com/geist/toggle) "Disable Toggle only when the action is impossible (missing plan, locked policy); pair with helper text or a `Tooltip` that names the resolver." (https://vercel.com/geist/toggle) Ours: a switch never applies on change; it is a row of the card, a draft until the footer's Save, as Vercel's settings cards are. A switch blocked from above is shown off and disabled, the footer saying why and never a tooltip. Required: the title and the description. A `status` stands right after the title, as Vercel's plan card puts "Active" after "Pro Plan". The header's `actions` are drawn as every card draws them (`CardActions`: the muted meta, up to two secondaries as outline buttons, the primary as the filled one, the three dots), a way to another page among them as an outline button named for it; a card whose value is itself shown there, as Vercel's Team Avatar, takes `control` instead. They stand at the title's right; on a card narrower than 28 rem they keep the title's row and the description runs under both, as Vercel's cards read on a phone, and when the title's longest word would not fit beside them they move under the title, so they never cover it. The footer's left line (`footerHint`, `save.hint`) is optional and specific to the card, never a generic line repeated on every card: a limit, what a value is for, a plan it needs, a link; absent, it is nothing, and a card with neither a line nor a button has no footer. Ours: `save`: a typed value, one card with its own Save in the footer, always visible. The section owns the changed state: Save stays disabled until a field differs from what is saved and says `pendingLabel` while saving with Cancel beside it; a completed save calls `saved`, and the product raises one toast from its catalogue ("Completion toasts follow `{Noun} {past-participle}`: `Blob deleted`, `Domain added`, `Environment variable saved`. Never include `successfully`; the action name implies it." https://vercel.com/geist/toast), and Save returns to disabled, with no saved state in the footer. Ours: the section never raises a toast itself. A failed save keeps every value and shows under its field, or above the footer when no field owns it. `tone` marks a state with a command (a failed payment, a trial ending): a 1px border and a footer tinted in the hue with its line in it, the line saying the condition in words; title, line, fields and buttons stay neutral, an outline secondary then a default primary. A button takes the hue of its command, not of the card: `destructive` (red) for a permanent loss (Delete), `warning` (amber) for a disruptive command that can be undone (Pause, Archive). A delete card is `tone="error"` with the object's summary as its body; an archive card is neutral with a `warning` button in the footer. "Use a Note for inline contextual feedback next to the field, card, or section it describes: a region change warning above a region picker, a rate-limit notice next to a usage gauge." (https://vercel.com/geist/note) "One Note per concept." (https://vercel.com/geist/note) Ours: a message about the fields inside is a MessageNotice in the body, the card staying neutral. "Disabled checkboxes still need a Tooltip naming the reason; a greyed box with no explanation reads as a bug." (https://vercel.com/geist/checkbox) Ours: `lockedReason` (Geist's disabled wall) is the reason, written as the footer's line, not in a tooltip; it keeps the fields in view, inert with muted text, under a not-allowed cursor, the title and line unchanged; `unlock` is the way to get access, left out when nothing the person does unlocks it. A locked section has no `save` and no header `actions`.
25
+ * @behaviour "Groups related form controls inside a bordered card with optional footer actions." (https://vercel.com/geist/fieldset) Ours: one setting per card, a single SettingsField with the description its only help, unless the card's description covers several settings: then they are its SettingsRows, switches and selects together. A typed value (a name, a URL, a server, a port, a key) gets its own card. A semantic subgroup of related controls inside a field, such as radios or checkboxes, is a `FieldSet` with a `FieldLegend`. Several settings in one card are declared by SettingsRows, never by classes at the call site. The card's header and fields share one uninterrupted body, and only its footer has a divider. "Use Toggle for a single boolean setting where ON takes effect immediately, like `Password Protection` or `Auto-Cancel Builds`." (https://vercel.com/geist/toggle) "Pair with a form footer only when the setting needs an explicit `Save` step." (https://vercel.com/geist/toggle) "Disable Toggle only when the action is impossible (missing plan, locked policy); pair with helper text or a `Tooltip` that names the resolver." (https://vercel.com/geist/toggle) Ours: a switch never applies on change; it is a row of the card, a draft until the footer's Save, as Vercel's settings cards are. A switch blocked from above is shown off and disabled, the footer saying why and never a tooltip. Required: the title and the description. A `status` stands right after the title, as Vercel's plan card puts "Active" after "Pro Plan". The header's `actions` are drawn as every card draws them (`CardActions`: the muted meta, up to two secondaries as outline buttons, the primary as the filled one, the three dots), a way to another page among them as an outline button named for it; a card whose value is itself shown there, as Vercel's Team Avatar, takes `control` instead. They stand at the title's right; on a card narrower than 28 rem they keep the title's row and the description runs under both, as Vercel's cards read on a phone, and when the title's longest word would not fit beside them they move under the title, so they never cover it. The footer's left line (`footerHint`, `save.hint`) is optional and specific to the card, never a generic line repeated on every card: a limit, what a value is for, a plan it needs, a link; absent, it is nothing, and a card with neither a line nor a button has no footer. Ours: `save`: a typed value, one card with its own Save in the footer, always visible. The section owns the changed state: Save stays disabled until a field differs from what is saved and says `pendingLabel` while saving with Cancel beside it; a completed save calls `saved`, and the product raises one toast from its catalogue ("Completion toasts follow `{Noun} {past-participle}`: `Blob deleted`, `Domain added`, `Environment variable saved`. Never include `successfully`; the action name implies it." https://vercel.com/geist/toast), and Save returns to disabled, with no saved state in the footer. Ours: the section never raises a toast itself. A failed save keeps every value and shows under its field, or above the footer when no field owns it. `tone` marks a state with a command (a failed payment, a trial ending): a 1px border and a footer tinted in the hue with its line in it, the line saying the condition in words; title, line, fields and buttons stay neutral, an outline secondary then a default primary. A button takes the hue of its command, not of the card: `destructive` (red) for a permanent loss (Delete), `warning` (amber) for a disruptive command that can be undone (Pause, Archive). A delete card is `tone="error"` with the object's summary as its body; an archive card is neutral with a `warning` button in the footer. "Use a Note for inline contextual feedback next to the field, card, or section it describes: a region change warning above a region picker, a rate-limit notice next to a usage gauge." (https://vercel.com/geist/note) "One Note per concept." (https://vercel.com/geist/note) Ours: a message about the fields inside is a MessageNotice in the body, the card staying neutral. "Disabled checkboxes still need a Tooltip naming the reason; a greyed box with no explanation reads as a bug." (https://vercel.com/geist/checkbox) Ours: `lockedReason` (Geist's disabled wall) is the reason, written as the footer's line, not in a tooltip; it keeps the fields in view, inert with muted text, under a not-allowed cursor, the title and line unchanged; `unlock` is the way to get access, left out when nothing the person does unlocks it. A locked section has no `save` and no header `actions`. While its page reads it, `SettingsSectionSkeleton` stands in its place: the same card, a bar for the title and one for the description at their line heights, the caller's placeholders of its controls at the controls' heights, a placeholder in the shape of its `control`, and its footer with the line and the Save when the section has them, so the page does not move when the section arrives; it carries no words, so a page drawn before the reader is known shows nothing of theirs (nadicode decision).
25
26
  * @words "Helper text is sentence case, one sentence with a trailing period, on a sibling element wired through `aria-describedby`." (https://vercel.com/geist/input) Ours: the description is that helper text for the whole card, and no field has its own. "Render an optional one-sentence description as a sibling under the label that explains ON only. Don’t describe OFF; it’s the negation." (https://vercel.com/geist/toggle) Ours: a card of one switch says in its description what turning it on does. The title names the values ("Personal details"); the description says what changing them does, in one line; the footer line is a Learn more link, a limit ("Use 32 characters at most."), what stays unaffected, or what is blocked and why ("Ask an owner to change this."); Save and Saving come from the product's catalogue, and so does the toast a `saved` callback raises; a delete card's description opens "Permanently delete".
26
- * @access "Provide an accessible name through `children`, `aria-label`, or `aria-labelledby`." (https://vercel.com/geist/toggle) Ours: the title is the section's h2, or an h3 with `headingLevel` inside an ObjectPage's row, and names the form that saves it. The footer's line is one status, announced politely; a failure under a field marks the control invalid and describes it. Locked fields are inert, so the section's title, description and reason are what a screen reader meets.
27
+ * @access "Provide an accessible name through `children`, `aria-label`, or `aria-labelledby`." (https://vercel.com/geist/toggle) Ours: the title is the section's h2, or an h3 with `headingLevel` inside an ObjectPage's row, and names the form that saves it. The footer's line is one status, announced politely; a failure under a field marks the control invalid and describes it. Locked fields are inert, so the section's title, description and reason are what a screen reader meets. `SettingsSectionSkeleton` is busy and its bars are hidden from assistive technology.
27
28
  */
28
29
  function SettingsSection({ title, headingLevel = 2, description, status, actions, control, tone, children, className, save, footer, footerHint, lockedReason, unlock, ...props }) {
29
30
  const titleId = React.useId();
@@ -32,6 +33,13 @@ function SettingsSection({ title, headingLevel = 2, description, status, actions
32
33
  const fields = children !== null && children !== undefined ? (_jsx(CardContent, { children: _jsx(FieldGroup, { "data-slot": "settings-section-fields", inert: locked, className: cn(locked && "**:text-muted-foreground"), children: children }) })) : null;
33
34
  return (_jsxs(Card, { render: _jsx("section", { ...props, "data-slot": "settings-section", "data-tone": tone, "data-locked": locked || undefined }), className: cn("min-w-0", tone && toneClassNames[tone], locked && "cursor-not-allowed *:data-[slot=card-footer]:cursor-default", className), children: [_jsxs(CardHeader, { narrowAction: "title-row", className: cn(!title && "has-data-[slot=card-description]:grid-rows-none"), children: [title ? (_jsxs(CardTitle, { className: cn(status && "flex flex-wrap items-center gap-2"), children: [_jsx(Heading, { id: titleId, children: title }), status] })) : null, _jsx(CardDescription, { children: description }), actions || control ? (_jsx(CardAction, { children: control ?? (actions ? _jsx(CardActionsRow, { ...actions }) : null) })) : null] }), save ? (_jsx(SettingsSaveForm, { save: save, titleId: titleId, children: fields })) : (_jsxs(_Fragment, { children: [fields, _jsx(FooterStrip, { hint: locked ? lockedReason : footerHint, hintSlot: "settings-section-hint", children: locked ? unlock : footer })] }))] }));
34
35
  }
36
+ /**
37
+ * What stands in a SettingsSection's place while its page reads it: its card, a bar for the title
38
+ * and one for the description, the placeholders of its controls, and its footer when it has one.
39
+ */
40
+ function SettingsSectionSkeleton({ children, control, footerHint = false, save = false, }) {
41
+ return (_jsx(SkeletonRegion, { busy: true, className: "min-w-0", "data-slot": "settings-section-skeleton", children: _jsxs(Card, { className: "min-w-0", children: [_jsxs(CardHeader, { narrowAction: "title-row", children: [_jsx(CardTitle, { children: _jsx(Skeleton, { boxHeight: 26, className: "max-w-full", height: 20, width: 192 }) }), _jsx(CardDescription, { children: _jsx(Skeleton, { boxHeight: 20, className: "max-w-full", height: 16, width: 288 }) }), control ? _jsx(CardAction, { children: control }) : null] }), children ? (_jsx(CardContent, { children: _jsx(FieldGroup, { children: children }) })) : null, _jsx(FooterStrip, { hint: footerHint ? (_jsx(Skeleton, { boxHeight: 20, className: "max-w-full", height: 16, width: 256 })) : undefined, hintSlot: "settings-section-hint", children: save ? _jsx(Skeleton, { className: "h-control-height w-32" }) : null })] }) }));
42
+ }
35
43
  function controlPropsOf({ id, info, error, invalid, disabled, required, }) {
36
44
  return {
37
45
  id,
@@ -119,4 +127,4 @@ function controlRow(row) {
119
127
  function selectRow(row) {
120
128
  return (_jsx(SettingsRow, { kind: "select", ...row, children: ({ controlProps }) => (_jsx(NativeSelect, { ...controlProps, name: row.name, onChange: (event) => row.onValueChange(event.target.value), value: row.value, children: row.options.map((option) => (_jsx(NativeSelectOption, { value: option.value, children: option.label }, option.value))) })) }, row.id));
121
129
  }
122
- export { SettingsField, SettingsRows, SettingsSection };
130
+ export { SettingsField, SettingsRows, SettingsSection, SettingsSectionSkeleton };
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar-sections.d.ts","sourceRoot":"","sources":["../../src/components/sidebar-sections.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,iBAAiB,EACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAUnE,MAAM,MAAM,cAAc,CAAC,EAAE,SAAS,MAAM,IAAI,iBAAiB,GAAG;IAClE,EAAE,EAAE,EAAE,CAAC;IACP,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,CAAC;IACpB,gIAAgI;IAChI,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+GAA+G;IAC/G,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,oBAAoB,CAAC,EAAE,SAAS,MAAM,IAAI;IACpD,gEAAgE;IAChE,IAAI,EAAE,iBAAiB,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAChE;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACvE,yEAAyE;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,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;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,cAAc,CAAC,EAAE,CAAC,EAAE,CAAC;IACxC,OAAO,EAAE,EAAE,CAAC;IACZ,kEAAkE;IAClE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AA8BF;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,EACjD,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,KAAK,EACL,MAAc,EACd,QAAQ,EACR,QAAQ,GACT,EAAE,oBAAoB,CAAC,EAAE,CAAC,+BAqF1B"}
@@ -42,12 +42,12 @@ function actionProps(action, disabled, onChosen) {
42
42
  * @access The sections are a nav named by `label`; the current one carries aria-current="page". Without `identity` the back row is named by its `label` alone and the centred area name is read as text after it. The identity's mark is decorative beside its name.
43
43
  */
44
44
  export function SidebarSections({ back, current, identity, label, narrow = false, onChosen, sections, }) {
45
- const row = cn(narrow && "justify-center px-0");
46
- const words = cn("truncate", narrow && "sr-only");
45
+ const row = cn("column-collapsed:justify-center column-collapsed:px-0", narrow && "justify-center px-0");
46
+ const words = cn("truncate column-collapsed:sr-only", narrow && "sr-only");
47
47
  const submenu = identity === undefined;
48
- return (_jsxs("div", { className: "grid w-full gap-2", "data-slot": "sidebar-sections", children: [_jsx(SidebarMenu, { children: _jsxs(SidebarMenuItem, { children: [_jsxs(SidebarMenuButton, { className: row, tooltip: back.label, ...actionProps(back, back.disabled === true, onChosen), children: [submenu ? _jsx(ChevronLeft, { "aria-hidden": "true" }) : _jsx(ArrowLeft, { "aria-hidden": "true" }), _jsx("span", { className: submenu ? "sr-only" : words, children: back.label })] }), submenu && !narrow ? (_jsx("span", { className: "pointer-events-none absolute inset-x-8 top-1/2 -translate-y-1/2 truncate text-center text-sm font-medium text-sidebar-foreground", "data-slot": "sidebar-sections-title", children: label })) : null] }) }), narrow || !identity ? null : (_jsxs("div", { className: "flex min-w-0 items-center gap-2 px-2 pt-2 text-sm", "data-slot": "sidebar-sections-identity", children: [identity.mark ? _jsx(IdentityMark, { ...identity.mark, size: 24 }) : null, _jsxs("span", { className: "grid min-w-0", children: [_jsx("span", { className: "truncate font-medium text-sidebar-foreground", children: identity.name }), identity.detail ? (_jsx("span", { className: "truncate text-xs text-muted-foreground", children: identity.detail })) : null] })] })), _jsx("nav", { "aria-label": label, className: "grid gap-2", children: groupSections(sections).map((group) => (_jsxs("div", { className: "grid gap-1", "data-slot": "sidebar-sections-group", children: [group.label && !narrow ? _jsx(SidebarGroupLabel, { children: group.label }) : null, _jsx(SidebarMenu, { children: group.sections.map((section) => {
48
+ return (_jsxs("div", { className: "grid w-full gap-2", "data-slot": "sidebar-sections", children: [_jsx(SidebarMenu, { children: _jsxs(SidebarMenuItem, { children: [_jsxs(SidebarMenuButton, { className: row, tooltip: back.label, ...actionProps(back, back.disabled === true, onChosen), children: [submenu ? _jsx(ChevronLeft, { "aria-hidden": "true" }) : _jsx(ArrowLeft, { "aria-hidden": "true" }), _jsx("span", { className: submenu ? "sr-only" : words, children: back.label })] }), submenu && !narrow ? (_jsx("span", { className: "pointer-events-none absolute inset-x-8 top-1/2 -translate-y-1/2 truncate text-center text-sm font-medium text-sidebar-foreground column-collapsed:hidden", "data-slot": "sidebar-sections-title", children: label })) : null] }) }), narrow || !identity ? null : (_jsxs("div", { className: "flex min-w-0 items-center gap-2 px-2 pt-2 text-sm column-collapsed:hidden", "data-slot": "sidebar-sections-identity", children: [identity.mark ? _jsx(IdentityMark, { ...identity.mark, size: 24 }) : null, _jsxs("span", { className: "grid min-w-0", children: [_jsx("span", { className: "truncate font-medium text-sidebar-foreground", children: identity.name }), identity.detail ? (_jsx("span", { className: "truncate text-xs text-muted-foreground", children: identity.detail })) : null] })] })), _jsx("nav", { "aria-label": label, className: "grid gap-2", children: groupSections(sections).map((group) => (_jsxs("div", { className: "grid gap-1", "data-slot": "sidebar-sections-group", children: [group.label && !narrow ? (_jsx(SidebarGroupLabel, { className: "column-collapsed:hidden", children: group.label })) : null, _jsx(SidebarMenu, { children: group.sections.map((section) => {
49
49
  const Icon = section.icon;
50
50
  const isCurrent = section.id === current;
51
- return (_jsxs(SidebarMenuItem, { children: [_jsxs(SidebarMenuButton, { "aria-current": isCurrent ? "page" : undefined, className: row, isActive: isCurrent, tooltip: section.label, ...actionProps(section, false, onChosen), children: [submenu && !narrow ? null : _jsx(Icon, { "aria-hidden": "true" }), _jsx("span", { className: words, children: section.label })] }), section.count === undefined || narrow ? null : (_jsx(SidebarMenuBadge, { className: "text-muted-foreground", children: section.count }))] }, section.id));
51
+ return (_jsxs(SidebarMenuItem, { children: [_jsxs(SidebarMenuButton, { "aria-current": isCurrent ? "page" : undefined, className: row, isActive: isCurrent, tooltip: section.label, ...actionProps(section, false, onChosen), children: [_jsx(Icon, { "aria-hidden": "true", className: cn(submenu && !narrow && "hidden column-collapsed:block") }), _jsx("span", { className: words, children: section.label })] }), section.count === undefined || narrow ? null : (_jsx(SidebarMenuBadge, { className: "text-muted-foreground", children: section.count }))] }, section.id));
52
52
  }) })] }, group.id))) })] }));
53
53
  }
@@ -11,6 +11,7 @@ declare const SIDEBAR_WIDTH = 256;
11
11
  declare const SIDEBAR_WIDTH_MIN = 224;
12
12
  declare const SIDEBAR_WIDTH_MAX = 384;
13
13
  declare const SIDEBAR_WIDTH_ICON = 48;
14
+ declare const SIDEBAR_WIDTH_MARKS = 64;
14
15
  type SidebarContextProps = {
15
16
  state: "expanded" | "collapsed";
16
17
  open: boolean;
@@ -21,6 +22,8 @@ type SidebarContextProps = {
21
22
  toggleSidebar: () => void;
22
23
  /** The expanded column's width in px, kept while the column is collapsed. */
23
24
  width: number;
25
+ /** The collapsed column's width in px: 48 for icons, 64 for marks. */
26
+ widthIcon: number;
24
27
  setWidth: (width: number) => void;
25
28
  resetWidth: () => void;
26
29
  /** Takes the open state and the width a host kept, without telling `onOpenChange`, `onWidthChange` or the cookie. */
@@ -30,7 +33,7 @@ type SidebarContextProps = {
30
33
  }) => void;
31
34
  };
32
35
  declare function useSidebar(): SidebarContextProps;
33
- declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, onWidthChange, defaultWidth, passive, mobileSheet, className, style, children, ...props }: React.ComponentProps<"div"> & {
36
+ declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, onWidthChange, defaultWidth, collapsedTo, passive, mobileSheet, className, style, children, ...props }: React.ComponentProps<"div"> & {
34
37
  defaultOpen?: boolean;
35
38
  open?: boolean;
36
39
  onOpenChange?: (open: boolean) => void;
@@ -41,6 +44,8 @@ declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: se
41
44
  onWidthChange?: (width: number) => void;
42
45
  /** The expanded width in px it opens at, such as the one a host kept: 224 to 384, 256 when left out. */
43
46
  defaultWidth?: number;
47
+ /** What the collapsed column shows: `icons` in 48 px, or `marks`, an Agent's orb or a person's picture, at 40 px in 64 px. */
48
+ collapsedTo?: "icons" | "marks";
44
49
  /**
45
50
  * The provider keeps its state to itself: it takes no keyboard shortcut from
46
51
  * the window and writes no cookie, for a sidebar shown inside another page.
@@ -200,12 +205,14 @@ type SidebarFrameProps = {
200
205
  header: React.ReactNode;
201
206
  /** The collapse control beside the header, a `SidebarTrigger`. */
202
207
  toggle?: React.ReactNode;
203
- /** The `SidebarFind` under the header. */
208
+ /** The `SidebarFind` under the header; none when the product's Find is a lens in the header. */
204
209
  find: React.ReactNode;
205
210
  /** The places, as `SidebarGroup`s, or a `SidebarSections` swap. */
206
211
  children: React.ReactNode;
207
212
  /** The band above the account: the way out of the product, or the update offer. */
208
213
  band?: React.ReactNode;
214
+ /** Rows pinned above the account, under the band: places a person reaches from everywhere. */
215
+ foot?: React.ReactNode;
209
216
  /** The signed-in person's account row. */
210
217
  account: React.ReactNode;
211
218
  /** Controls beside the account row, such as the bell. */
@@ -217,10 +224,25 @@ type SidebarFrameProps = {
217
224
  * @family Navigation
218
225
  * @when The content of every product's `Sidebar`, which `ProductShell` fills from its `home`, `find`, `places`, `band` and `account`.
219
226
  * @instead A product lays no region of its own: no grid of rows, no hand-drawn rule between regions.
220
- * @behaviour A 56 px header with the collapse control under a 1 px rule, Find under it, the groups scrolling in the middle and fading at an edge with more beyond it, then the band and the account pinned at the foot above 1 px rules. The host gives the frame a bounded height. `header`, `find` and `account` are required; an absent band leaves no rule. Collapsed, the header shows only the collapse control and the icon rows still scroll.
227
+ * @behaviour A 56 px header with the collapse control, on the column's own material with no rule under it, so the column reads as one surface from its top (owner ruling, 7 November 2026), Find under it, the groups scrolling in the middle and fading at an edge with more beyond it, then the foot pinned at the column's bottom with no rule above it: the band, any `foot` rows and the account, on the column's own colour in glass, so the places scroll under it and show blurred through it (owner ruling, 7 November 2026). The host gives the frame a bounded height. `header` and `account` are required; an absent band leaves no rule, and no `find` leaves no Find row, for a product whose Find is a lens in the header. Collapsed, the header shows only the collapse control and the icon rows still scroll.
221
228
  * @words None of its own; every word arrives in the regions.
222
229
  * @access The regions are plain containers; the landmark is the `Sidebar` around them and the nav inside each group.
223
230
  */
224
- declare function SidebarFrame({ header, toggle, find, children, band, account, actions, }: SidebarFrameProps): React.JSX.Element;
225
- export { SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MAX, SIDEBAR_WIDTH_MIN, Sidebar, SidebarBrand, SidebarContent, SidebarEntryCard, SidebarFind, SidebarFooter, SidebarFrame, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuChevron, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar, };
231
+ declare function SidebarFrame({ header, toggle, find, children, band, foot, account, actions, }: SidebarFrameProps): React.JSX.Element;
232
+ type SidebarFootProps = Pick<SidebarFrameProps, "band" | "foot" | "account" | "actions"> & {
233
+ className?: string;
234
+ ref?: React.Ref<HTMLDivElement>;
235
+ };
236
+ /**
237
+ * The column's foot as `SidebarFrame` draws it: the band, any `foot` rows and the account with its actions, on the column's own colour in glass with no rule above it.
238
+ *
239
+ * @family Navigation
240
+ * @when Inside the kit only: `SidebarFrame` pins it at the column's bottom, and `ColumnFoot` fills it for a frame the product does not draw.
241
+ * @instead A product passes its foot to `ProductShell`, or mounts `ColumnFoot` in a column it does not draw; it never lays these regions itself.
242
+ * @behaviour The band, then the `foot` rows, then the account beside its actions; collapsed, the account and its actions stack. Under reduced transparency the glass turns solid.
243
+ * @words None of its own: each region's words are its component's.
244
+ * @access No landmark of its own: the column's navigation holds it, and each region names itself.
245
+ */
246
+ declare function SidebarFoot({ band, foot, account, actions, className, ref }: SidebarFootProps): React.JSX.Element;
247
+ export { SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MARKS, SIDEBAR_WIDTH_MAX, SIDEBAR_WIDTH_MIN, Sidebar, SidebarBrand, SidebarContent, SidebarEntryCard, SidebarFind, SidebarFoot, SidebarFooter, SidebarFrame, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuChevron, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar, };
226
248
  //# sourceMappingURL=sidebar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../src/components/sidebar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,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= 256;
22
22
  const SIDEBAR_WIDTH_MIN = 224;
23
23
  const SIDEBAR_WIDTH_MAX = 384;
24
24
  const SIDEBAR_WIDTH_ICON = 48;
25
+ const SIDEBAR_WIDTH_MARKS = 64;
25
26
  const SIDEBAR_WIDTH_MOBILE = "18rem";
26
27
  const SIDEBAR_KEYBOARD_SHORTCUT = "b";
27
28
  const SIDEBAR_RESIZE_STEP = 16;
@@ -36,7 +37,7 @@ function useSidebar() {
36
37
  }
37
38
  return context;
38
39
  }
39
- function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, onWidthChange, defaultWidth = SIDEBAR_WIDTH, passive = false, mobileSheet = true, className, style, children, ...props }) {
40
+ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, onWidthChange, defaultWidth = SIDEBAR_WIDTH, collapsedTo = "icons", passive = false, mobileSheet = true, className, style, children, ...props }) {
40
41
  const isMobile = useIsMobile() && mobileSheet;
41
42
  const [openMobile, setOpenMobile] = React.useState(false);
42
43
  const [_open, _setOpen] = React.useState(defaultOpen);
@@ -80,6 +81,7 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
80
81
  return () => window.removeEventListener("keydown", handleKeyDown);
81
82
  }, [toggleSidebar, passive]);
82
83
  const state = open ? "expanded" : "collapsed";
84
+ const widthIcon = collapsedTo === "marks" ? SIDEBAR_WIDTH_MARKS : SIDEBAR_WIDTH_ICON;
83
85
  const contextValue = React.useMemo(() => ({
84
86
  state,
85
87
  open,
@@ -89,6 +91,7 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
89
91
  setOpenMobile,
90
92
  toggleSidebar,
91
93
  width,
94
+ widthIcon,
92
95
  setWidth,
93
96
  resetWidth,
94
97
  restore,
@@ -101,6 +104,7 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
101
104
  setOpenMobile,
102
105
  toggleSidebar,
103
106
  width,
107
+ widthIcon,
104
108
  setWidth,
105
109
  resetWidth,
106
110
  restore,
@@ -109,7 +113,7 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
109
113
  // SAFETY: CSSProperties lists only standard properties; React sets each `--` custom property key here through style.setProperty.
110
114
  style: {
111
115
  "--sidebar-width": `${width}px`,
112
- "--sidebar-width-icon": `${SIDEBAR_WIDTH_ICON}px`,
116
+ "--sidebar-width-icon": `${widthIcon}px`,
113
117
  ...style,
114
118
  }, className: cn("group/sidebar-wrapper flex min-h-svh w-full", className), ...props, children: children }) }) }));
115
119
  }
@@ -139,16 +143,16 @@ function readingDirection(element) {
139
143
  return getComputedStyle(element).direction === "rtl" ? -1 : 1;
140
144
  }
141
145
  function SidebarResizeHandle(name) {
142
- const { open, setOpen, width, setWidth, resetWidth } = useSidebar();
146
+ const { open, setOpen, width, widthIcon, setWidth, resetWidth } = useSidebar();
143
147
  const [drag, setDrag] = React.useState(null);
144
- const shown = open ? width : SIDEBAR_WIDTH_ICON;
148
+ const shown = open ? width : widthIcon;
145
149
  const resizeTo = React.useCallback((requested) => {
146
- const expanded = requested >= (SIDEBAR_WIDTH_MIN + SIDEBAR_WIDTH_ICON) / 2;
150
+ const expanded = requested >= (SIDEBAR_WIDTH_MIN + widthIcon) / 2;
147
151
  if (expanded !== open)
148
152
  setOpen(expanded);
149
153
  if (expanded)
150
154
  setWidth(requested);
151
- }, [open, setOpen, setWidth]);
155
+ }, [open, setOpen, setWidth, widthIcon]);
152
156
  React.useEffect(() => {
153
157
  if (drag === null)
154
158
  return;
@@ -186,7 +190,7 @@ function SidebarResizeHandle(name) {
186
190
  setWidth(SIDEBAR_WIDTH_MAX);
187
191
  }
188
192
  };
189
- return (_jsx("div", { ...name, role: "separator", "aria-orientation": "vertical", "aria-valuemin": SIDEBAR_WIDTH_ICON, "aria-valuemax": SIDEBAR_WIDTH_MAX, "aria-valuenow": shown, "data-slot": "sidebar-resize-handle", "data-dragging": drag === null ? undefined : "", tabIndex: 0, className: "absolute inset-y-0 -inset-e-1 z-20 w-2 cursor-col-resize touch-none outline-none after:absolute after:inset-y-0 after:inset-s-1/2 after:w-px after:-translate-x-1/2 after:bg-border hover:after:bg-ring focus-visible:nc-focus-outline focus-visible:outline-ring focus-visible:after:bg-ring data-dragging:after:bg-ring", onDoubleClick: () => {
193
+ return (_jsx("div", { ...name, role: "separator", "aria-orientation": "vertical", "aria-valuemin": widthIcon, "aria-valuemax": SIDEBAR_WIDTH_MAX, "aria-valuenow": shown, "data-slot": "sidebar-resize-handle", "data-dragging": drag === null ? undefined : "", tabIndex: 0, className: "absolute inset-y-0 -inset-e-1 z-20 w-2 cursor-col-resize touch-none outline-none after:absolute after:inset-y-0 after:inset-s-1/2 after:w-px after:-translate-x-1/2 after:bg-border hover:after:bg-ring focus-visible:nc-focus-outline focus-visible:outline-ring focus-visible:after:bg-ring data-dragging:after:bg-ring", onDoubleClick: () => {
190
194
  if (!open)
191
195
  setOpen(true);
192
196
  resetWidth();
@@ -236,13 +240,13 @@ function SidebarContent({ className, children, ...props }) {
236
240
  return (_jsx(ScrollArea, { "data-slot": "sidebar-content", "data-sidebar": "content", overflow: "y", contentClassName: "flex min-w-0 flex-col gap-0", className: cn("min-h-0 flex-1", className), ...props, children: children }));
237
241
  }
238
242
  function SidebarGroup({ className, ...props }) {
239
- return (_jsx("div", { "data-slot": "sidebar-group", "data-sidebar": "group", className: cn("relative flex w-full min-w-0 flex-col p-2 group-data-[collapsible=icon]:px-1.5", className), ...props }));
243
+ return (_jsx("div", { "data-slot": "sidebar-group", "data-sidebar": "group", className: cn("relative flex w-full min-w-0 flex-col p-2 column-collapsed:px-1.5", className), ...props }));
240
244
  }
241
245
  function SidebarGroupLabel({ className, render, ...props }) {
242
246
  return useRender({
243
247
  defaultTagName: "div",
244
248
  props: mergeProps({
245
- className: cn("flex h-control-height shrink-0 items-center rounded-sm px-2 text-xs font-medium text-sidebar-foreground/70 group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 [&>svg]:size-4 [&>svg]:shrink-0", className),
249
+ className: cn("flex h-control-height shrink-0 items-center rounded-sm px-2 text-xs font-medium text-sidebar-foreground/70 column-collapsed:-mt-8 column-collapsed:opacity-0 [&>svg]:size-4 [&>svg]:shrink-0", className),
246
250
  }, props),
247
251
  render,
248
252
  state: {
@@ -255,7 +259,7 @@ function SidebarGroupAction({ className, render, ...props }) {
255
259
  return useRender({
256
260
  defaultTagName: "button",
257
261
  props: mergeProps({
258
- className: cn("absolute top-[calc(--spacing(2)+(var(--nc-control-height)-1.25rem)/2)] right-3 flex aspect-square w-5 items-center justify-center rounded-sm p-0 text-sidebar-foreground group-data-[collapsible=icon]:hidden after:absolute after:top-1/2 after:left-1/2 after:size-touch-target after:-translate-1/2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground [@media(hover:hover)_and_(pointer:fine)]:after:hidden [&>svg]:size-4 [&>svg]:shrink-0", className),
262
+ className: cn("absolute top-[calc(--spacing(2)+(var(--nc-control-height)-1.25rem)/2)] right-3 flex aspect-square w-5 items-center justify-center rounded-sm p-0 text-sidebar-foreground column-collapsed:hidden after:absolute after:top-1/2 after:left-1/2 after:size-touch-target after:-translate-1/2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground [@media(hover:hover)_and_(pointer:fine)]:after:hidden [&>svg]:size-4 [&>svg]:shrink-0", className),
259
263
  }, props),
260
264
  render,
261
265
  state: {
@@ -273,7 +277,7 @@ function SidebarMenu({ className, ...props }) {
273
277
  function SidebarMenuItem({ className, ...props }) {
274
278
  return (_jsx("li", { "data-slot": "sidebar-menu-item", "data-sidebar": "menu-item", className: cn("group/menu-item relative", className), ...props }));
275
279
  }
276
- const sidebarMenuButtonVariants = cva("nc-transition-paint peer/menu-button group/menu-button flex min-h-touch-target min-w-touch-target w-full items-center gap-2 overflow-hidden rounded-sm border border-transparent p-2 text-left text-sm group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-control-height! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-primary data-active:font-medium data-active:text-sidebar-primary-foreground data-active:hover:bg-sidebar-primary-hover data-active:hover:text-sidebar-primary-foreground [@media(hover:hover)_and_(pointer:fine)]:min-h-0 [@media(hover:hover)_and_(pointer:fine)]:min-w-0 [&_svg:not([data-slot=brand-wordmark])]:size-5 group-data-[collapsible=icon]:[&_svg:not([data-slot=brand-wordmark])]:size-4 [&_svg:not([data-slot=brand-wordmark])]:shrink-0 [&>span:last-child]:truncate", {
280
+ const sidebarMenuButtonVariants = cva("column-collapsed:mx-auto nc-transition-paint peer/menu-button group/menu-button flex min-h-touch-target min-w-touch-target w-full items-center gap-2 overflow-hidden rounded-sm border border-transparent p-2 text-left text-sm group-has-data-[sidebar=menu-action]/menu-item:pr-8 column-collapsed:size-control-height! column-collapsed:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-primary data-active:font-medium data-active:text-sidebar-primary-foreground data-active:hover:bg-sidebar-primary-hover data-active:hover:text-sidebar-primary-foreground [@media(hover:hover)_and_(pointer:fine)]:min-h-0 [@media(hover:hover)_and_(pointer:fine)]:min-w-0 [&_svg:not([data-slot=brand-wordmark])]:size-5 column-collapsed:[&_svg:not([data-slot=brand-wordmark])]:size-4 [&_svg:not([data-slot=brand-wordmark])]:shrink-0 [&>span:last-child]:truncate", {
277
281
  variants: {
278
282
  variant: {
279
283
  default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
@@ -282,7 +286,7 @@ const sidebarMenuButtonVariants = cva("nc-transition-paint peer/menu-button grou
282
286
  size: {
283
287
  default: "h-control-height text-sm",
284
288
  sm: "h-7 text-xs",
285
- lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!",
289
+ lg: "h-12 text-sm column-collapsed:p-0!",
286
290
  },
287
291
  },
288
292
  defaultVariants: {
@@ -320,7 +324,7 @@ function SidebarMenuAction({ className, render, showOnHover = false, ...props })
320
324
  return useRender({
321
325
  defaultTagName: "button",
322
326
  props: mergeProps({
323
- className: cn("absolute top-3 right-1 flex aspect-square w-5 items-center justify-center rounded-sm p-0 text-sidebar-foreground group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-primary-foreground after:absolute after:top-1/2 after:left-1/2 after:size-touch-target after:-translate-1/2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground [@media(hover:hover)_and_(pointer:fine)]:peer-data-[size=default]/menu-button:top-1.5 [@media(hover:hover)_and_(pointer:fine)]:peer-data-[size=lg]/menu-button:top-2.5 [@media(hover:hover)_and_(pointer:fine)]:peer-data-[size=sm]/menu-button:top-1 [@media(hover:hover)_and_(pointer:fine)]:after:hidden [&_svg]:size-4 [&_svg]:shrink-0", showOnHover &&
327
+ className: cn("absolute top-3 right-1 flex aspect-square w-5 items-center justify-center rounded-sm p-0 text-sidebar-foreground column-collapsed:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-primary-foreground after:absolute after:top-1/2 after:left-1/2 after:size-touch-target after:-translate-1/2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground [@media(hover:hover)_and_(pointer:fine)]:peer-data-[size=default]/menu-button:top-1.5 [@media(hover:hover)_and_(pointer:fine)]:peer-data-[size=lg]/menu-button:top-2.5 [@media(hover:hover)_and_(pointer:fine)]:peer-data-[size=sm]/menu-button:top-1 [@media(hover:hover)_and_(pointer:fine)]:after:hidden [&_svg]:size-4 [&_svg]:shrink-0", showOnHover &&
324
328
  "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 aria-expanded:opacity-100 md:opacity-0", className),
325
329
  }, props),
326
330
  render,
@@ -331,11 +335,11 @@ function SidebarMenuAction({ className, render, showOnHover = false, ...props })
331
335
  });
332
336
  }
333
337
  function SidebarMenuBadge({ className, tone = "default", ...props }) {
334
- return (_jsx("div", { "data-slot": "sidebar-menu-badge", "data-sidebar": "menu-badge", "data-tone": tone, className: cn("pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-sm px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-primary-foreground", tone === "attention" &&
338
+ return (_jsx("div", { "data-slot": "sidebar-menu-badge", "data-sidebar": "menu-badge", "data-tone": tone, className: cn("pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-sm px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none column-collapsed:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-primary-foreground", tone === "attention" &&
335
339
  "h-4.5 min-w-4.5 rounded-full bg-destructive font-semibold text-destructive-foreground peer-hover/menu-button:text-destructive-foreground peer-data-active/menu-button:text-destructive-foreground", className), ...props }));
336
340
  }
337
341
  function SidebarMenuSub({ className, ...props }) {
338
- return (_jsx("ul", { "data-slot": "sidebar-menu-sub", "data-sidebar": "menu-sub", className: cn("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5 group-data-[collapsible=icon]:hidden", className), ...props }));
342
+ return (_jsx("ul", { "data-slot": "sidebar-menu-sub", "data-sidebar": "menu-sub", className: cn("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5 column-collapsed:hidden", className), ...props }));
339
343
  }
340
344
  function SidebarMenuSubItem({ className, ...props }) {
341
345
  return (_jsx("li", { "data-slot": "sidebar-menu-sub-item", "data-sidebar": "menu-sub-item", className: cn("group/menu-sub-item relative", className), ...props }));
@@ -344,7 +348,7 @@ function SidebarMenuSubButton({ render, size = "md", isActive = false, className
344
348
  return useRender({
345
349
  defaultTagName: "a",
346
350
  props: mergeProps({
347
- className: cn("flex h-7 min-h-touch-target min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-sm border border-transparent px-2 text-sidebar-foreground transition-colors group-data-[collapsible=icon]:hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[size=md]:text-sm data-[size=sm]:text-xs data-active:bg-sidebar-primary data-active:text-sidebar-primary-foreground data-active:hover:bg-sidebar-primary-hover data-active:hover:text-sidebar-primary-foreground [@media(hover:hover)_and_(pointer:fine)]:min-h-0 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0", className),
351
+ className: cn("flex h-7 min-h-touch-target min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-sm border border-transparent px-2 text-sidebar-foreground transition-colors column-collapsed:hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[size=md]:text-sm data-[size=sm]:text-xs data-active:bg-sidebar-primary data-active:text-sidebar-primary-foreground data-active:hover:bg-sidebar-primary-hover data-active:hover:text-sidebar-primary-foreground [@media(hover:hover)_and_(pointer:fine)]:min-h-0 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0", className),
348
352
  }, props),
349
353
  render,
350
354
  state: {
@@ -366,7 +370,7 @@ function SidebarMenuSubButton({ render, size = "md", isActive = false, className
366
370
  * @access Decorative: the row's name and its link say where it goes.
367
371
  */
368
372
  function SidebarMenuChevron({ className, ...props }) {
369
- return (_jsx(ChevronRightIcon, { "aria-hidden": "true", "data-slot": "sidebar-menu-chevron", className: cn("ms-auto size-4! shrink-0 text-muted-foreground group-data-[collapsible=icon]:hidden rtl:rotate-180", className), ...props }));
373
+ return (_jsx(ChevronRightIcon, { "aria-hidden": "true", "data-slot": "sidebar-menu-chevron", className: cn("ms-auto size-4! shrink-0 text-muted-foreground column-collapsed:hidden rtl:rotate-180", className), ...props }));
370
374
  }
371
375
  /**
372
376
  * The company's wordmark and the product's name on one line: what the header of a product's column says.
@@ -395,7 +399,7 @@ function SidebarBrand({ product, mark, className, }) {
395
399
  * @access The link or button `render` gives it carries the title as its name.
396
400
  */
397
401
  function SidebarEntryCard({ detail, icon, marks, title, trailing, ...props }) {
398
- return (_jsxs(SidebarMenuButton, { className: "group-data-[collapsible=icon]:justify-center", size: "lg", tooltip: title, variant: "outline", ...props, children: [_jsx("span", { className: "hidden group-data-[collapsible=icon]:contents", children: icon }), _jsx("span", { className: "flex shrink-0 gap-1 group-data-[collapsible=icon]:hidden", children: marks }), _jsxs("span", { className: "flex min-w-0 flex-1 flex-col group-data-[collapsible=icon]:hidden", children: [_jsx("span", { className: "truncate font-medium", children: title }), _jsx("span", { className: "truncate text-xs text-muted-foreground", children: detail })] }), _jsx("span", { className: "contents group-data-[collapsible=icon]:hidden", children: trailing })] }));
402
+ return (_jsxs(SidebarMenuButton, { className: "column-collapsed:justify-center", size: "lg", tooltip: title, variant: "outline", ...props, children: [_jsx("span", { className: "hidden column-collapsed:contents", children: icon }), _jsx("span", { className: "flex shrink-0 gap-1 column-collapsed:hidden", children: marks }), _jsxs("span", { className: "flex min-w-0 flex-1 flex-col column-collapsed:hidden", children: [_jsx("span", { className: "truncate font-medium", children: title }), _jsx("span", { className: "truncate text-xs text-muted-foreground", children: detail })] }), _jsx("span", { className: "contents column-collapsed:hidden", children: trailing })] }));
399
403
  }
400
404
  /**
401
405
  * The row that opens the product's Find: a field-shaped button under the header, with its key hint.
@@ -410,7 +414,7 @@ function SidebarEntryCard({ detail, icon, marks, title, trailing, ...props }) {
410
414
  function SidebarFind({ label, shortcut, ...props }) {
411
415
  const { isMobile, state } = useSidebar();
412
416
  const collapsed = state === "collapsed" && !isMobile;
413
- return (_jsx(SidebarMenu, { children: _jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { "aria-label": label, tooltip: label, type: "button", variant: "outline", ...props, children: [_jsx(SearchIcon, { "aria-hidden": "true", className: "text-muted-foreground" }), collapsed ? null : (_jsxs(_Fragment, { children: [_jsx("span", { className: "min-w-0 flex-1 truncate text-left text-muted-foreground", children: label }), _jsx("span", { className: "ms-auto shrink-0 max-md:hidden", children: shortcut })] }))] }) }) }));
417
+ return (_jsx(SidebarMenu, { children: _jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { "aria-label": label, tooltip: label, type: "button", variant: "outline", ...props, children: [_jsx(SearchIcon, { "aria-hidden": "true", className: "text-muted-foreground" }), collapsed ? null : (_jsxs(_Fragment, { children: [_jsx("span", { className: "min-w-0 flex-1 truncate text-left text-muted-foreground column-collapsed:hidden", children: label }), _jsx("span", { className: "ms-auto shrink-0 max-md:hidden column-collapsed:hidden", children: shortcut })] }))] }) }) }));
414
418
  }
415
419
  /**
416
420
  * The regions of a product's `Sidebar`, in order: header, Find, groups, band, account.
@@ -418,12 +422,40 @@ function SidebarFind({ label, shortcut, ...props }) {
418
422
  * @family Navigation
419
423
  * @when The content of every product's `Sidebar`, which `ProductShell` fills from its `home`, `find`, `places`, `band` and `account`.
420
424
  * @instead A product lays no region of its own: no grid of rows, no hand-drawn rule between regions.
421
- * @behaviour A 56 px header with the collapse control under a 1 px rule, Find under it, the groups scrolling in the middle and fading at an edge with more beyond it, then the band and the account pinned at the foot above 1 px rules. The host gives the frame a bounded height. `header`, `find` and `account` are required; an absent band leaves no rule. Collapsed, the header shows only the collapse control and the icon rows still scroll.
425
+ * @behaviour A 56 px header with the collapse control, on the column's own material with no rule under it, so the column reads as one surface from its top (owner ruling, 7 November 2026), Find under it, the groups scrolling in the middle and fading at an edge with more beyond it, then the foot pinned at the column's bottom with no rule above it: the band, any `foot` rows and the account, on the column's own colour in glass, so the places scroll under it and show blurred through it (owner ruling, 7 November 2026). The host gives the frame a bounded height. `header` and `account` are required; an absent band leaves no rule, and no `find` leaves no Find row, for a product whose Find is a lens in the header. Collapsed, the header shows only the collapse control and the icon rows still scroll.
422
426
  * @words None of its own; every word arrives in the regions.
423
427
  * @access The regions are plain containers; the landmark is the `Sidebar` around them and the nav inside each group.
424
428
  */
425
- function SidebarFrame({ header, toggle, find, children, band, account, actions, }) {
429
+ function SidebarFrame({ header, toggle, find, children, band, foot, account, actions, }) {
426
430
  const { isMobile, state } = useSidebar();
427
- return (_jsxs("div", { "data-slot": "sidebar-frame", className: "flex min-h-0 flex-1 flex-col", children: [_jsxs(SidebarHeader, { className: "box-content h-14 shrink-0 flex-row items-center justify-between gap-1 border-b px-3 py-0 group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:px-0", "data-slot": "sidebar-header", children: [state === "expanded" || isMobile ? _jsx("div", { className: "min-w-0 flex-1", children: header }) : null, toggle] }), _jsx("div", { className: "shrink-0 p-2 group-data-[collapsible=icon]:px-1.5", "data-slot": "sidebar-find", children: find }), _jsx(SidebarContent, { children: children }), band ? (_jsx(SidebarGroup, { className: "shrink-0 border-t", "data-slot": "sidebar-band", children: _jsx(SidebarGroupContent, { children: band }) })) : null, _jsx(SidebarFooter, { className: "shrink-0 border-t group-data-[collapsible=icon]:px-1.5", children: _jsxs("div", { className: "flex w-full items-center gap-1 group-data-[collapsible=icon]:flex-col group-data-[collapsible=icon]:gap-2", children: [_jsx("div", { className: "min-w-0 flex-1 group-data-[collapsible=icon]:w-full group-data-[collapsible=icon]:flex-none", children: account }), actions ? (_jsx("div", { className: "flex shrink-0 items-center justify-center", children: actions })) : null] }) })] }));
431
+ const footRegion = React.useRef(null);
432
+ const [footHeight, setFootHeight] = React.useState(0);
433
+ React.useLayoutEffect(() => {
434
+ const element = footRegion.current;
435
+ if (!element)
436
+ return;
437
+ setFootHeight(element.offsetHeight);
438
+ if (typeof ResizeObserver === "undefined")
439
+ return;
440
+ const observer = new ResizeObserver(() => setFootHeight(element.offsetHeight));
441
+ observer.observe(element);
442
+ return () => observer.disconnect();
443
+ }, []);
444
+ return (_jsxs("div", { "data-slot": "sidebar-frame", className: "flex min-h-0 flex-1 flex-col", children: [_jsxs(SidebarHeader, { className: cn("box-content h-14 shrink-0 flex-row items-center justify-between gap-1 px-3 py-0 column-collapsed:justify-center column-collapsed:px-0",
445
+ // In the sheet, the row's commands stop before the sheet's Close in its corner.
446
+ isMobile && "pe-14"), "data-slot": "sidebar-header", children: [state === "expanded" || isMobile ? (_jsx("div", { className: "min-w-0 flex-1 column-collapsed:hidden", children: header })) : null, toggle] }), find ? (_jsx("div", { className: "shrink-0 p-2 column-collapsed:px-1.5", "data-slot": "sidebar-find", children: find })) : null, _jsxs("div", { className: "relative flex min-h-0 flex-1 flex-col", children: [_jsxs(SidebarContent, { children: [children, _jsx("div", { "aria-hidden": "true", className: "shrink-0", style: { height: footHeight } })] }), _jsx(SidebarFoot, { account: account, actions: actions, band: band, className: "absolute inset-x-0 bottom-0", foot: foot, ref: footRegion })] })] }));
447
+ }
448
+ /**
449
+ * The column's foot as `SidebarFrame` draws it: the band, any `foot` rows and the account with its actions, on the column's own colour in glass with no rule above it.
450
+ *
451
+ * @family Navigation
452
+ * @when Inside the kit only: `SidebarFrame` pins it at the column's bottom, and `ColumnFoot` fills it for a frame the product does not draw.
453
+ * @instead A product passes its foot to `ProductShell`, or mounts `ColumnFoot` in a column it does not draw; it never lays these regions itself.
454
+ * @behaviour The band, then the `foot` rows, then the account beside its actions; collapsed, the account and its actions stack. Under reduced transparency the glass turns solid.
455
+ * @words None of its own: each region's words are its component's.
456
+ * @access No landmark of its own: the column's navigation holds it, and each region names itself.
457
+ */
458
+ function SidebarFoot({ band, foot, account, actions, className, ref }) {
459
+ return (_jsxs(SidebarFooter, { className: cn("bg-sidebar column-collapsed:px-1.5 supports-backdrop-filter:bg-sidebar/(--nc-material-glass-opacity) supports-backdrop-filter:backdrop-blur-(--nc-material-glass-blur) supports-backdrop-filter:backdrop-saturate-(--nc-material-glass-saturation) [@media(prefers-reduced-transparency:reduce)]:bg-sidebar [@media(prefers-reduced-transparency:reduce)]:backdrop-filter-none", className), ref: ref, children: [band ? (_jsx("div", { className: "empty:hidden", "data-slot": "sidebar-band", children: band })) : null, foot, _jsxs("div", { className: "flex w-full items-center gap-1 column-collapsed:flex-col column-collapsed:gap-2", children: [_jsx("div", { className: "min-w-0 flex-1 column-collapsed:w-full column-collapsed:flex-none", children: account }), actions ? (_jsx("div", { className: "flex shrink-0 items-center justify-center empty:hidden", children: actions })) : null] })] }));
428
460
  }
429
- export { SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MAX, SIDEBAR_WIDTH_MIN, Sidebar, SidebarBrand, SidebarContent, SidebarEntryCard, SidebarFind, SidebarFooter, SidebarFrame, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuChevron, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar, };
461
+ export { SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MARKS, SIDEBAR_WIDTH_MAX, SIDEBAR_WIDTH_MIN, Sidebar, SidebarBrand, SidebarContent, SidebarEntryCard, SidebarFind, SidebarFoot, SidebarFooter, SidebarFrame, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuChevron, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar, };
@@ -1 +1 @@
1
- {"version":3,"file":"table-card.d.ts","sourceRoot":"","sources":["../../src/components/table-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEtF,OAAO,EAA4D,KAAK,WAAW,EAAE,MAAM,QAAQ,CAAC;AACpG,OAAO,EAAE,KAAK,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AAGlF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,iBAAS,SAAS,CAAC,EACjB,KAAK,EACL,MAAM,EACN,WAAW,EACX,OAAO,EACP,OAAO,EACP,OAAO,EACP,MAAM,EACN,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,GAAG;IAClD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,6FAA6F;IAC7F,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,SAAS,CAAC;IACxC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,0FAA0F;IAC1F,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAClC,+FAA+F;IAC/F,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wCAAwC;IACxC,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE,GAAG,SAAS,CAAC;IAC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K,CAAC,SAAS,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE,GAAG,SAAS,CAAC;IACzE,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,gIAAgI;IAChI,IAAI,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;CACnC,qBA4DA;AAED,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,CAAC"}
@@ -1,9 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { cn } from "../lib/utils.js";
3
+ import { hasCardActions } from "../internal/card-actions.js";
3
4
  import { CollectionNoteStrip } from "../internal/collection-note.js";
4
5
  import { FooterStrip } from "../internal/footer-strip.js";
5
6
  import { Card, CardAction, CardDescription, CardHeader, CardTitle } from "./card.js";
6
- import { CardActionsRow, hasCardActions } from "./page-actions.js";
7
+ import { CardActionsRow } from "./page-actions.js";
7
8
  import { Separator } from "./separator.js";
8
9
  /**
9
10
  * The frame a collection's table sits in: a heading with the collection's own
@@ -6,6 +6,15 @@ export declare function showMessageToast(message: ResolvedMessage, options: {
6
6
  tone: MessageToastTone;
7
7
  id?: string;
8
8
  }): void;
9
+ /**
10
+ * A toast that stays until the product takes it down with `dismissToast(id)` or the person closes
11
+ * it, for a notice that lasts as long as its cause, such as a company entry that fell short: its
12
+ * action runs without taking the toast down, so the outcome replaces it (the same `id`) or lets it go.
13
+ */
14
+ export declare function showStayingToast(message: ResolvedMessage, options: {
15
+ tone: MessageToastTone;
16
+ id: string;
17
+ }): void;
9
18
  /**
10
19
  * A toast whose lifetime another store holds, such as Hermes's notification
11
20
  * store in Nadia's window: it stays until `dismissToast(id)`, offers the
@@ -17,6 +26,6 @@ export declare function showHeldToast(message: ResolvedMessage, options: {
17
26
  id: string;
18
27
  onClose: () => void;
19
28
  }): void;
20
- /** Takes down the held toast `id`, without calling its `onClose`. */
29
+ /** Takes down the toast `id`: a held one without calling its `onClose`, or a staying one. */
21
30
  export declare function dismissToast(id: string): void;
22
31
  //# sourceMappingURL=toast.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../src/components/toast.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE1E,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAExE,0FAA0F;AAC1F,wBAAgB,aAAa,IAAI,IAAI,CAEpC;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/C,IAAI,CAON;AAOD;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,GACnE,IAAI,CAiBN;AAED,qEAAqE;AACrE,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAE7C"}
1
+ {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../src/components/toast.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE1E,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAExE,0FAA0F;AAC1F,wBAAgB,aAAa,IAAI,IAAI,CAEpC;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/C,IAAI,CAON;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC9C,IAAI,CAiBN;AAOD;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,GACnE,IAAI,CAiBN;AAED,6FAA6F;AAC7F,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAE7C"}
@@ -14,6 +14,29 @@ export function showMessageToast(message, options) {
14
14
  action: action?.onClick ? { label: action.label, onClick: action.onClick } : undefined,
15
15
  });
16
16
  }
17
+ /**
18
+ * A toast that stays until the product takes it down with `dismissToast(id)` or the person closes
19
+ * it, for a notice that lasts as long as its cause, such as a company entry that fell short: its
20
+ * action runs without taking the toast down, so the outcome replaces it (the same `id`) or lets it go.
21
+ */
22
+ export function showStayingToast(message, options) {
23
+ const action = message.actions.find((command) => command.onClick !== undefined);
24
+ toast[options.tone](message.title, {
25
+ id: options.id,
26
+ description: bodyBeyondTitle(message) ?? undefined,
27
+ duration: Number.POSITIVE_INFINITY,
28
+ action: action?.onClick
29
+ ? {
30
+ label: action.label,
31
+ onClick: (event) => {
32
+ // Sonner takes an action's toast down as the click resolves unless the click says not to.
33
+ event.preventDefault();
34
+ action.onClick?.(event);
35
+ },
36
+ }
37
+ : undefined,
38
+ });
39
+ }
17
40
  const HELD_WITH_WORDS = {
18
41
  toast: "flex-wrap! [--toast-button-margin-start:0px]",
19
42
  content: "basis-full!",
@@ -42,7 +65,7 @@ export function showHeldToast(message, options) {
42
65
  },
43
66
  });
44
67
  }
45
- /** Takes down the held toast `id`, without calling its `onClose`. */
68
+ /** Takes down the toast `id`: a held one without calling its `onClose`, or a staying one. */
46
69
  export function dismissToast(id) {
47
70
  toast.dismiss(id);
48
71
  }