@cloudgrid-io/ui 0.64.0 → 0.66.0

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 (167) hide show
  1. package/README.md +1 -1
  2. package/dist/blocks/add-tile.d.ts +16 -1
  3. package/dist/blocks/add-tile.d.ts.map +1 -1
  4. package/dist/blocks/add-tile.js +20 -3
  5. package/dist/blocks/add-tile.js.map +1 -1
  6. package/dist/blocks/avatar-picker.d.ts +50 -4
  7. package/dist/blocks/avatar-picker.d.ts.map +1 -1
  8. package/dist/blocks/avatar-picker.js +56 -10
  9. package/dist/blocks/avatar-picker.js.map +1 -1
  10. package/dist/blocks/bento-card-hint.d.ts +16 -0
  11. package/dist/blocks/bento-card-hint.d.ts.map +1 -0
  12. package/dist/blocks/bento-card-hint.js +23 -0
  13. package/dist/blocks/bento-card-hint.js.map +1 -0
  14. package/dist/blocks/bento-card.d.ts +59 -0
  15. package/dist/blocks/bento-card.d.ts.map +1 -0
  16. package/dist/blocks/bento-card.js +59 -0
  17. package/dist/blocks/bento-card.js.map +1 -0
  18. package/dist/blocks/coming-soon-hint.d.ts.map +1 -1
  19. package/dist/blocks/coming-soon-hint.js +110 -7
  20. package/dist/blocks/coming-soon-hint.js.map +1 -1
  21. package/dist/blocks/creation-search.d.ts +147 -0
  22. package/dist/blocks/creation-search.d.ts.map +1 -0
  23. package/dist/blocks/creation-search.js +239 -0
  24. package/dist/blocks/creation-search.js.map +1 -0
  25. package/dist/blocks/entity-card.d.ts +82 -2
  26. package/dist/blocks/entity-card.d.ts.map +1 -1
  27. package/dist/blocks/entity-card.js +176 -17
  28. package/dist/blocks/entity-card.js.map +1 -1
  29. package/dist/blocks/from-your-grid.d.ts +66 -0
  30. package/dist/blocks/from-your-grid.d.ts.map +1 -0
  31. package/dist/blocks/from-your-grid.js +63 -0
  32. package/dist/blocks/from-your-grid.js.map +1 -0
  33. package/dist/blocks/grid-profile.d.ts +25 -4
  34. package/dist/blocks/grid-profile.d.ts.map +1 -1
  35. package/dist/blocks/grid-profile.js +69 -7
  36. package/dist/blocks/grid-profile.js.map +1 -1
  37. package/dist/blocks/help-menu.d.ts +58 -0
  38. package/dist/blocks/help-menu.d.ts.map +1 -0
  39. package/dist/blocks/help-menu.js +64 -0
  40. package/dist/blocks/help-menu.js.map +1 -0
  41. package/dist/blocks/home-bento.d.ts +86 -0
  42. package/dist/blocks/home-bento.d.ts.map +1 -0
  43. package/dist/blocks/home-bento.js +87 -0
  44. package/dist/blocks/home-bento.js.map +1 -0
  45. package/dist/blocks/home-empty-illustrations.d.ts +37 -0
  46. package/dist/blocks/home-empty-illustrations.d.ts.map +1 -0
  47. package/dist/blocks/home-empty-illustrations.js +47 -0
  48. package/dist/blocks/home-empty-illustrations.js.map +1 -0
  49. package/dist/blocks/home-pinned.d.ts +168 -0
  50. package/dist/blocks/home-pinned.d.ts.map +1 -0
  51. package/dist/blocks/home-pinned.js +100 -0
  52. package/dist/blocks/home-pinned.js.map +1 -0
  53. package/dist/blocks/icons.d.ts +46 -0
  54. package/dist/blocks/icons.d.ts.map +1 -1
  55. package/dist/blocks/icons.js +46 -0
  56. package/dist/blocks/icons.js.map +1 -1
  57. package/dist/blocks/image-adjust-dialog.d.ts +68 -11
  58. package/dist/blocks/image-adjust-dialog.d.ts.map +1 -1
  59. package/dist/blocks/image-adjust-dialog.js +68 -16
  60. package/dist/blocks/image-adjust-dialog.js.map +1 -1
  61. package/dist/blocks/inspiration-cards.d.ts +241 -0
  62. package/dist/blocks/inspiration-cards.d.ts.map +1 -0
  63. package/dist/blocks/inspiration-cards.js +234 -0
  64. package/dist/blocks/inspiration-cards.js.map +1 -0
  65. package/dist/blocks/invite-popup.d.ts +63 -5
  66. package/dist/blocks/invite-popup.d.ts.map +1 -1
  67. package/dist/blocks/invite-popup.js +60 -20
  68. package/dist/blocks/invite-popup.js.map +1 -1
  69. package/dist/blocks/liquid-glass.d.ts +106 -0
  70. package/dist/blocks/liquid-glass.d.ts.map +1 -0
  71. package/dist/blocks/liquid-glass.js +283 -0
  72. package/dist/blocks/liquid-glass.js.map +1 -0
  73. package/dist/blocks/meter.d.ts +5 -2
  74. package/dist/blocks/meter.d.ts.map +1 -1
  75. package/dist/blocks/meter.js +4 -0
  76. package/dist/blocks/meter.js.map +1 -1
  77. package/dist/blocks/motion.d.ts +48 -0
  78. package/dist/blocks/motion.d.ts.map +1 -0
  79. package/dist/blocks/motion.js +148 -0
  80. package/dist/blocks/motion.js.map +1 -0
  81. package/dist/blocks/need-help-line.d.ts +21 -0
  82. package/dist/blocks/need-help-line.d.ts.map +1 -0
  83. package/dist/blocks/need-help-line.js +24 -0
  84. package/dist/blocks/need-help-line.js.map +1 -0
  85. package/dist/blocks/needs-attention.d.ts +89 -0
  86. package/dist/blocks/needs-attention.d.ts.map +1 -0
  87. package/dist/blocks/needs-attention.js +32 -0
  88. package/dist/blocks/needs-attention.js.map +1 -0
  89. package/dist/blocks/phosphor-marks.d.ts +16 -0
  90. package/dist/blocks/phosphor-marks.d.ts.map +1 -1
  91. package/dist/blocks/phosphor-marks.js +24 -0
  92. package/dist/blocks/phosphor-marks.js.map +1 -1
  93. package/dist/blocks/picture-menu.d.ts +26 -0
  94. package/dist/blocks/picture-menu.d.ts.map +1 -0
  95. package/dist/blocks/picture-menu.js +22 -0
  96. package/dist/blocks/picture-menu.js.map +1 -0
  97. package/dist/blocks/ranked-list.d.ts +7 -1
  98. package/dist/blocks/ranked-list.d.ts.map +1 -1
  99. package/dist/blocks/ranked-list.js +8 -6
  100. package/dist/blocks/ranked-list.js.map +1 -1
  101. package/dist/blocks/recent-plugs.d.ts +74 -0
  102. package/dist/blocks/recent-plugs.d.ts.map +1 -0
  103. package/dist/blocks/recent-plugs.js +20 -0
  104. package/dist/blocks/recent-plugs.js.map +1 -0
  105. package/dist/blocks/shared-grid-illustration.d.ts +55 -0
  106. package/dist/blocks/shared-grid-illustration.d.ts.map +1 -0
  107. package/dist/blocks/shared-grid-illustration.js +81 -0
  108. package/dist/blocks/shared-grid-illustration.js.map +1 -0
  109. package/dist/blocks/shelf-strip.d.ts +36 -0
  110. package/dist/blocks/shelf-strip.d.ts.map +1 -0
  111. package/dist/blocks/shelf-strip.js +32 -0
  112. package/dist/blocks/shelf-strip.js.map +1 -0
  113. package/dist/blocks/stat-tile.d.ts +17 -1
  114. package/dist/blocks/stat-tile.d.ts.map +1 -1
  115. package/dist/blocks/stat-tile.js +4 -1
  116. package/dist/blocks/stat-tile.js.map +1 -1
  117. package/dist/blocks/top-creations.d.ts +76 -0
  118. package/dist/blocks/top-creations.d.ts.map +1 -0
  119. package/dist/blocks/top-creations.js +54 -0
  120. package/dist/blocks/top-creations.js.map +1 -0
  121. package/dist/brand/email/headline-1-invitation-left.png +0 -0
  122. package/dist/brand/email/headline-2-invitations-left.png +0 -0
  123. package/dist/brand/email/headline-3-invitations-left.png +0 -0
  124. package/dist/brand/email/headline-4-invitations-left.png +0 -0
  125. package/dist/brand/email/headline-5-invitations-left.png +0 -0
  126. package/dist/brand/email/headline-6-invitations-left.png +0 -0
  127. package/dist/brand/email/headline-7-invitations-left.png +0 -0
  128. package/dist/brand/email/headline-8-invitations-left.png +0 -0
  129. package/dist/brand/email/headline-9-invitations-left.png +0 -0
  130. package/dist/brand/email/headline-you-have-1-invitation.png +0 -0
  131. package/dist/brand/email/headline-you-have-2-invitations.png +0 -0
  132. package/dist/brand/email/headline-you-have-3-invitations.png +0 -0
  133. package/dist/brand/email/headline-you-have-4-invitations.png +0 -0
  134. package/dist/brand/email/headline-you-have-5-invitations.png +0 -0
  135. package/dist/brand/email/headline-you-have-6-invitations.png +0 -0
  136. package/dist/brand/email/headline-you-have-7-invitations.png +0 -0
  137. package/dist/brand/email/headline-you-have-8-invitations.png +0 -0
  138. package/dist/brand/email/headline-you-have-9-invitations.png +0 -0
  139. package/dist/email/assets.d.ts +108 -0
  140. package/dist/email/assets.d.ts.map +1 -1
  141. package/dist/email/assets.js +18 -0
  142. package/dist/email/assets.js.map +1 -1
  143. package/dist/email/index.d.ts +71 -0
  144. package/dist/email/index.d.ts.map +1 -1
  145. package/dist/email/index.js +110 -5
  146. package/dist/email/index.js.map +1 -1
  147. package/dist/index.d.ts +20 -0
  148. package/dist/index.d.ts.map +1 -1
  149. package/dist/index.js +23 -0
  150. package/dist/index.js.map +1 -1
  151. package/dist/lib/fit.d.ts +39 -0
  152. package/dist/lib/fit.d.ts.map +1 -0
  153. package/dist/lib/fit.js +92 -0
  154. package/dist/lib/fit.js.map +1 -0
  155. package/dist/lib/motion.d.ts +165 -0
  156. package/dist/lib/motion.d.ts.map +1 -0
  157. package/dist/lib/motion.js +196 -0
  158. package/dist/lib/motion.js.map +1 -0
  159. package/dist/lib/touch-hover.d.ts +63 -0
  160. package/dist/lib/touch-hover.d.ts.map +1 -0
  161. package/dist/lib/touch-hover.js +164 -0
  162. package/dist/lib/touch-hover.js.map +1 -0
  163. package/dist/ui/dialog.d.ts +7 -1
  164. package/dist/ui/dialog.d.ts.map +1 -1
  165. package/dist/ui/dialog.js +2 -2
  166. package/dist/ui/dialog.js.map +1 -1
  167. package/package.json +2 -1
@@ -2,10 +2,13 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import * as React from "react";
3
3
  import { Avatar } from "./avatar.js";
4
4
  import { Card } from "../ui/card.js";
5
+ import { DropdownMenu, DropdownMenuContent, DropdownMenuTrigger } from "../ui/dropdown-menu.js";
5
6
  import { EntityIdentity } from "./entity-identity.js";
6
7
  import { EntityStateDot, EntityStatus } from "./entity-status.js";
7
- import { EntityDetailsIcon, KindAgentIcon, KindAppIcon, KindInspirationIcon, OpenLiveIcon, } from "./icons.js";
8
+ import { CardCommentsIcon, CardViewsIcon, EntityDetailsIcon, KindAgentIcon, KindAppIcon, KindInspirationIcon, MoreActionsIcon, OpenLiveIcon, SaveFilledIcon, SaveIcon, } from "./icons.js";
9
+ import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/tooltip.js";
8
10
  import { cn } from "../lib/cloudgrid-cn.js";
11
+ import { TouchHover } from "../lib/touch-hover.js";
9
12
  /**
10
13
  * What an entity IS. Three kinds, and they are the product's, not this file's:
11
14
  * an agent, an inspiration someone can pick up, and a runnable app.
@@ -99,6 +102,91 @@ export const ENTITY_CARD_TILE_BOX = {
99
102
  tile: "w-62.5 h-46",
100
103
  "tile-lg": "w-[329px] h-60.5",
101
104
  };
105
+ /**
106
+ * THE HOME CARD'S BOX (#530): 302 x 238, the new Console Home's creation card
107
+ * under "My creations" and "From your grid" (Asaf, 2026-11-20). Four of them
108
+ * and three 24px gaps are the Home's 1280 column.
109
+ *
110
+ * A box of its own rather than a third tile size, for the reason the tiles are
111
+ * not grid sizes: a consumer keeping a `Record<EntityCardTileSize, …>` would
112
+ * stop compiling. `look="home"` reads it, and so does `AddTile look="home"`.
113
+ */
114
+ export const ENTITY_CARD_HOME_BOX = "w-75.5 h-59.5";
115
+ /**
116
+ * What a Home card's count reads as, for a reader and on the picture.
117
+ *
118
+ * Drawn short — 180, 1.2K, 12K — because the chip is 32px wide and a five-digit
119
+ * count would take the corner of the picture. Announced whole, with its word:
120
+ * "1,204 views", "1 comment".
121
+ */
122
+ const COUNT_SHORT = new Intl.NumberFormat("en-US", { notation: "compact", maximumFractionDigits: 1 });
123
+ const COUNT_WHOLE = new Intl.NumberFormat("en-US");
124
+ /** The card's own outline while its door has keyboard focus (the `focus-line` look). */
125
+ const HOME_DOOR_FRAME = [
126
+ "[&:has(>[data-stretched]:focus-visible):not(:where([data-cg-input=pointer]_*))]:outline-solid",
127
+ "[&:has(>[data-stretched]:focus-visible):not(:where([data-cg-input=pointer]_*))]:outline-1",
128
+ "[&:has(>[data-stretched]:focus-visible):not(:where([data-cg-input=pointer]_*))]:outline-offset-2",
129
+ "[&:has(>[data-stretched]:focus-visible):not(:where([data-cg-input=pointer]_*))]:outline-(--ring)",
130
+ ].join(" ");
131
+ /** What the touch rule (#559) reads as one Home card: the card, by the look it says it is. */
132
+ const HOME_SCOPE = '[data-entity-look="home"]';
133
+ /** The Home row's actions' box when open: 8 before the first, 24 each, 4 between. */
134
+ const HOME_ACTIONS_WIDTH = {
135
+ 1: "group-hover/card:w-8 group-focus-within/card:w-8 group-data-[touch-hover]/card:w-8",
136
+ 2: "group-hover/card:w-15 group-focus-within/card:w-15 group-data-[touch-hover]/card:w-15",
137
+ 3: "group-hover/card:w-22 group-focus-within/card:w-22 group-data-[touch-hover]/card:w-22",
138
+ };
139
+ /** A Home row action: a 24px square, the library's hover wash, the keyboard line only. */
140
+ const HOME_ACTION_CLASS = "inline-flex size-6 shrink-0 cursor-pointer items-center justify-center rounded-2xs text-ink no-underline focus-line hover:[background-image:linear-gradient(var(--cg-hover),var(--cg-hover))] aria-expanded:[background-image:linear-gradient(var(--cg-hover),var(--cg-hover))]";
141
+ /**
142
+ * One Home row action under its tooltip. `children` is the bare control (a
143
+ * button or a link, with its label); its glyph is drawn here. The tooltip shows
144
+ * the label to the eye only: the control is already named, and a description
145
+ * repeating the name would be announced twice.
146
+ */
147
+ function HomeAction({ label, glyph, menu = false, children, }) {
148
+ return (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { "aria-describedby": undefined, render: menu ? _jsx(DropdownMenuTrigger, { render: children }) : children, children: glyph }), _jsx(TooltipContent, { children: label })] }));
149
+ }
150
+ const HOME_COUNTS = [
151
+ { key: "comments", Icon: CardCommentsIcon, one: "comment", many: "comments" },
152
+ { key: "views", Icon: CardViewsIcon, one: "view", many: "views" },
153
+ ];
154
+ /**
155
+ * THE PILL (#530): comments and views on the picture's top right.
156
+ *
157
+ * A count shows only above zero. Both: one pill, the two halves 1px apart (the
158
+ * design's divider is that gap, the picture showing through it), only the outer
159
+ * corners rounded. One: a chip rounded on every side. None: nothing.
160
+ *
161
+ * Each half is the design's: at least 32 wide, 4 above and below, 2 aside, the
162
+ * 12px mark over the 13px number with 2 between them, on white at 85% with a
163
+ * blur behind it and the mark's own lift. The colours are all `:root`-only
164
+ * values (`--cg-neutral-0`, `--cg-text-on-accent`, `--cg-slate-500`), so the
165
+ * pill does not flip with the surface the card is on: it is on a picture, and
166
+ * a picture does not flip.
167
+ *
168
+ * `pointer-events-none`, like the kind badge it replaces in this corner: a
169
+ * click on it is a click on the card.
170
+ */
171
+ function HomeCounts({ comments, views }) {
172
+ const values = { comments, views };
173
+ const shown = HOME_COUNTS.filter(({ key }) => {
174
+ const n = values[key];
175
+ return typeof n === "number" && n > 0;
176
+ });
177
+ if (shown.length === 0)
178
+ return null;
179
+ return (_jsx("div", { "data-slot": "entity-card-counts", className: "pointer-events-none absolute top-0.75 right-0.75 flex items-start gap-px", children: shown.map(({ key, Icon, one, many }, i) => {
180
+ const n = values[key];
181
+ return (_jsxs("span", { "data-slot": "entity-card-count", "data-count": key, className: cn(
182
+ // `relative` contains the `sr-only` word (cloudgrid-console#854).
183
+ "relative flex min-w-8 flex-col items-center gap-0.5 px-0.5 py-1",
184
+ // The design's background blur of 3 is CSS blur(1.5px): a design
185
+ // blur radius is twice the CSS standard deviation (see
186
+ // --cg-scrim-blur).
187
+ "bg-(--cg-neutral-0)/85 backdrop-blur-[1.5px] shadow-mark", "text-caption leading-none text-on-accent tabular-nums", shown.length === 1 ? "rounded-xs" : i === 0 ? "rounded-l-xs" : "rounded-r-xs"), children: [_jsx(Icon, { className: "size-3 text-steel" }), _jsx("span", { "aria-hidden": "true", children: COUNT_SHORT.format(n) }), _jsx("span", { className: "sr-only", children: `${COUNT_WHOLE.format(n)} ${n === 1 ? one : many}` })] }, key));
188
+ }) }));
189
+ }
102
190
  /**
103
191
  * WHAT EACH SIZE CHANGES, in one table.
104
192
  *
@@ -282,7 +370,7 @@ function cssUrlString(url) {
282
370
  * an `sr-only` span, because "agent" is information and a decorative mark is not
283
371
  * a way to convey it.
284
372
  */
285
- function EntityKindBadge({ kind, size = "md", className, ...props }) {
373
+ function EntityKindBadge({ kind, size = "md", lifted = true, className, ...props }) {
286
374
  const Icon = ENTITY_KIND_ICON[kind];
287
375
  return (_jsxs("span", { "data-slot": "entity-card-kind", "data-kind": kind, className: cn(
288
376
  // `relative` contains the `sr-only` word below (cloudgrid-console#854).
@@ -293,7 +381,9 @@ function EntityKindBadge({ kind, size = "md", className, ...props }) {
293
381
  // or a feed post nothing was, and the Console's Home scrolled the
294
382
  // window under its shell. The badge owns the word, so it contains it.
295
383
  // A caller's own position class still wins through `cn`.
296
- "relative inline-flex shrink-0 items-center justify-center rounded-2xs text-on-accent shadow-mark", ENTITY_KIND_TINT[kind], size === "md" ? "size-5" : "size-4", className), ...props, children: [_jsx(Icon, { className: size === "md" ? "size-4" : "size-3" }), _jsx("span", { className: "sr-only", children: ENTITY_KIND_LABEL[kind] })] }));
384
+ lifted
385
+ ? "relative inline-flex shrink-0 items-center justify-center rounded-2xs text-on-accent shadow-mark"
386
+ : "relative inline-flex shrink-0 items-center justify-center rounded-2xs text-on-accent", ENTITY_KIND_TINT[kind], size === "md" ? "size-5" : "size-4", className), ...props, children: [_jsx(Icon, { className: size === "md" ? "size-4" : "size-3" }), _jsx("span", { className: "sr-only", children: ENTITY_KIND_LABEL[kind] })] }));
297
387
  }
298
388
  /**
299
389
  * The state as a dot, when the caller has not supplied one.
@@ -319,8 +409,12 @@ function statusDotFrom(status) {
319
409
  return null;
320
410
  return _jsx(EntityStateDot, { status: props.status, label: props.label });
321
411
  }
322
- function EntityCard({ title, slug, description, size = "default", titleLines = 2, descriptionLines = 1, status, statusDot, headerActions, stats, restStat, seed, previewUrl, kind, reveal = false, openDisabledReason, dashboardHref, settingsHref, primaryAction = "details", linkComponent, creator, panelMeta, href, ariaLabel, meta, footer, className, children, ...props }) {
323
- const sized = SIZE_STYLE[size];
412
+ function EntityCard({ title, slug, description, size = "default", titleLines = 2, descriptionLines = 1, status, statusDot, headerActions, stats, restStat, look, comments, views, byline, owner, pinned, onTogglePin, onOpenLive, menu, seed, previewUrl, kind, reveal = false, openDisabledReason, dashboardHref, settingsHref, primaryAction = "details", linkComponent, creator, panelMeta, href, ariaLabel, meta, footer, className, children, ...props }) {
413
+ // The Home look (#530) is the large tile's card in its own box: the panel,
414
+ // the gaps and the type are tile-lg's, whatever `size` says.
415
+ const home = look === "home";
416
+ const form = home ? "tile-lg" : size;
417
+ const sized = SIZE_STYLE[form];
324
418
  // The reveal owns the preview, so `seed` is what it needs and all it needs: a
325
419
  // panel over nothing is not a panel. It deliberately does NOT ask for an
326
420
  // `href` — see "the reveal never depends on data" above (#193). A card whose
@@ -334,8 +428,8 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
334
428
  // A tile always reveals when it has a picture (#382): its box is fixed, and the
335
429
  // full body would overflow it, so a tile's rest state is the name row whatever
336
430
  // `reveal` says.
337
- const tile = size === "tile" || size === "tile-lg";
338
- const revealed = (reveal || tile) && Boolean(seed) && size !== "row";
431
+ const tile = size === "tile" || size === "tile-lg" || home;
432
+ const revealed = (reveal || tile) && Boolean(seed) && (home || size !== "row");
339
433
  // Whether the live link has anywhere to go. One boolean, read in four places —
340
434
  // the live link's own markup, which door owns the stretched layer, the pair's
341
435
  // order, and the reason line — so they can never disagree about which state
@@ -382,10 +476,10 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
382
476
  // survives is the caller's order, not a rule here: a card that reordered its
383
477
  // caller's stats would be deciding which one matters.
384
478
  // A tile's height is fixed, so it has no room for a stat rule (#382).
385
- const shownStats = tile ? undefined : stats && size === "compact" ? stats.slice(0, 1) : stats;
479
+ const shownStats = tile ? undefined : stats && form === "compact" ? stats.slice(0, 1) : stats;
386
480
  // One line on compact and on row, whatever the caller asked for. See the note
387
481
  // on the prop: this is a height rule, not a preference.
388
- const clampDescription = size === "default" && descriptionLines === 2 ? "line-clamp-2" : "truncate";
482
+ const clampDescription = form === "default" && descriptionLines === 2 ? "line-clamp-2" : "truncate";
389
483
  // The dot, and the one place it is resolved. Explicit first, derived from the
390
484
  // library's own chip second, nothing third — see `statusDotFrom` (#196).
391
485
  const dot = statusDot ?? statusDotFrom(status);
@@ -521,6 +615,63 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
521
615
  * unchanged box.
522
616
  */
523
617
  const nameRow = (_jsxs("div", { className: cn("flex w-full min-w-0 items-center", sized.nameRow), children: [_jsx("span", { dir: "auto", "data-slot": "entity-card-title", title: title, className: cn("min-w-0 flex-1 overflow-x-clip text-ellipsis whitespace-nowrap font-medium text-ink", sized.title), children: title }), dot ? (_jsx("span", { "data-slot": "entity-card-state", className: "flex shrink-0 items-center", children: dot })) : null, restStat ? (_jsxs("span", { "data-slot": "entity-card-rest-stat", className: "inline-flex shrink-0 items-center gap-1 text-caption leading-none text-ink tabular-nums", children: [restStat.icon ? (_jsx("span", { "aria-hidden": "true", className: "inline-flex text-steel [&>svg]:size-3.5", children: restStat.icon })) : null, restStat.value, _jsx("span", { className: "sr-only", children: restStat.label })] })) : null] }));
618
+ /**
619
+ * THE HOME CARD'S NAME ROW (#530, Asaf, 2026-11-20), in place of `nameRow`.
620
+ *
621
+ * The dot, the name with the caller's line under it, and the kind mark at the
622
+ * right: 16 aside, 8 between, top-aligned. The dot drops 3px so it centres on
623
+ * the name's 15px line, and the 20px mark rises 3px for the same reason. The
624
+ * name is the tiles' (Medium at the body size, which the Console's preset
625
+ * makes 14, at leading 1, clipped in x only, ui#415; Asaf keeps 14). The line
626
+ * is 13 at leading 1 in the darker slate, `text-steel-strong` (Asaf, on PR
627
+ * #534: 5.65:1 on white, where the drawn slate is 3.41:1), and flips to the
628
+ * faint rung on the panel and on ink as the library's other slate text does.
629
+ * The mark is flat: it is off the picture, with nothing to lift it from.
630
+ * From your grid's line, with the owner's avatar, sits 4 lower (`mt-1`, the
631
+ * first spacing rung): at the column's own 4 it read cramped (Asaf, PR #534).
632
+ *
633
+ * THE BLOCK (PR #534). The row, the line and the description are one block on
634
+ * the card's bottom edge, top to bottom in that order. At rest it is exactly
635
+ * the space under the picture (its min-height is the card's 234px content box
636
+ * less the 298 x 92/159 picture), so the row sits 16 under the picture. On
637
+ * hover or focus the description opens under the line by its own height
638
+ * (`grid-template-rows` 0fr to 1fr), and because the block is anchored at the
639
+ * bottom it grows UP: the row rises with it and stays at its top, over the
640
+ * picture. Its ground is the card's own on every surface, opaque (white;
641
+ * the panel's purple; ink), with the card's own wash over it, so it covers
642
+ * the picture and reads like the card. One short transition, none under
643
+ * reduced motion.
644
+ *
645
+ * THE DOOR (PR #534). One link over the whole card: the details page, or with
646
+ * none the live creation in a new tab, named by the title. It is the card's
647
+ * child, before the block, and the block is dead to the pointer, so a click
648
+ * anywhere falls through to it. The keyboard's frame is the card's own
649
+ * outline (`:has` the focused door), outside the card's clipping.
650
+ *
651
+ * THE HOVER ROW (PR #534, like the search window's row, #531). Within the
652
+ * row, the dot and the name do not move. On hover or focus the actions' box
653
+ * grows from 0 to their width, so the mark slides left by it, and open, pin
654
+ * and more ease in to its right. Each is a 24px square with the library's
655
+ * hover wash, a tooltip, and the keyboard line only. At rest they are dead
656
+ * (#171): invisible means inert.
657
+ *
658
+ * ON A TOUCH SCREEN (#559, Asaf, 2026-11-22). A phone has no hover, so the
659
+ * first tap on the card shows this hover state (the mark slides, the actions
660
+ * ease in, the description opens) and opens nothing; a second tap anywhere
661
+ * but the actions opens the door; the actions work on their first tap once
662
+ * they show, and the tap that showed them never reaches one. One card at a
663
+ * time; a tap outside or a scroll clears it. Touch is the tap's own
664
+ * `pointerType`, so a mouse and the keyboard are exactly as above. The state
665
+ * is `data-touch-hover` on the card (lib/touch-hover.ts), and every
666
+ * `group-hover/card:` class in this look has a `group-data-[touch-hover]/card:`
667
+ * twin, so the tapped look is the hover look.
668
+ */
669
+ const stretchedDoor = home ? (detailsTarget ? "details" : openLive ? "live" : null) : null;
670
+ const doorClass = "absolute inset-0 rounded-[11px] no-underline outline-none";
671
+ const homeDoor = stretchedDoor === "details" ? (_jsx(DetailsLink, { href: detailsTarget, "data-slot": "entity-card-details", "data-stretched": "true", className: doorClass, children: _jsx("span", { className: "sr-only", children: title }) })) : stretchedDoor === "live" ? (_jsx("a", { href: href, target: "_blank", rel: "noopener noreferrer", "data-slot": "entity-card-open", "data-stretched": "true", className: doorClass, children: _jsx("span", { className: "sr-only", children: title }) })) : null;
672
+ const homeActionCount = (onOpenLive || openLive ? 1 : 0) + (onTogglePin ? 1 : 0) + (menu ? 1 : 0);
673
+ const homeActions = homeActionCount > 0 ? (_jsx("div", { "data-slot": "entity-card-home-actions", className: cn("relative z-10 flex shrink-0 overflow-hidden -mt-1", "w-0 opacity-0 pointer-events-none transition-[width,opacity] duration-(--cg-duration) ease-out motion-reduce:transition-none", "group-hover/card:opacity-100 group-hover/card:pointer-events-auto", "group-focus-within/card:opacity-100 group-focus-within/card:pointer-events-auto", "group-data-[touch-hover]/card:opacity-100 group-data-[touch-hover]/card:pointer-events-auto", HOME_ACTIONS_WIDTH[homeActionCount]), children: _jsxs("div", { className: "flex shrink-0 gap-1 ps-2", children: [onOpenLive ? (_jsx(HomeAction, { label: LIVE_LABEL, glyph: _jsx(OpenLiveIcon, { className: "size-5" }), children: _jsx("button", { type: "button", "data-slot": "entity-card-home-open", "aria-label": LIVE_LABEL, onClick: onOpenLive, className: HOME_ACTION_CLASS }) })) : openLive ? (_jsx(HomeAction, { label: LIVE_LABEL, glyph: _jsx(OpenLiveIcon, { className: "size-5" }), children: _jsx("a", { href: href, target: "_blank", rel: "noopener noreferrer", "data-slot": "entity-card-home-open", "aria-label": LIVE_LABEL, className: HOME_ACTION_CLASS }) })) : null, onTogglePin ? (_jsx(HomeAction, { label: pinned ? "Unpin" : "Pin", glyph: pinned ? _jsx(SaveFilledIcon, { className: "size-5" }) : _jsx(SaveIcon, { className: "size-5" }), children: _jsx("button", { type: "button", "data-slot": "entity-card-home-pin", "data-pinned": pinned ? "true" : undefined, "aria-label": pinned ? "Unpin" : "Pin", onClick: onTogglePin, className: cn(HOME_ACTION_CLASS, pinned && "bg-brand-tint text-brand") }) })) : null, menu ? (_jsxs(DropdownMenu, { children: [_jsx(HomeAction, { label: "More actions", glyph: _jsx(MoreActionsIcon, { className: "size-5" }), menu: true, children: _jsx("button", { type: "button", "data-slot": "entity-card-home-more", "aria-label": "More actions", className: HOME_ACTION_CLASS }) }), _jsx(DropdownMenuContent, { align: "end", className: "w-48", children: menu })] })) : null] }) })) : null;
674
+ const homeBlock = (_jsxs("div", { "data-slot": "entity-card-home-block", className: cn("pointer-events-none absolute inset-x-px bottom-px flex min-h-[calc(100%_-_2px_-_298px*92/159)] flex-col rounded-[calc(var(--cg-radius-md)-1px)] pt-4", "bg-(--cg-neutral-0) bg-[image:linear-gradient(var(--cg-surface-card),var(--cg-surface-card))] in-data-[cg-surface=panel]:bg-panel in-data-[cg-surface=ink]:bg-code"), children: [_jsxs("div", { "data-slot": "entity-card-home-row", className: "flex w-full min-w-0 items-start gap-2 px-4", children: [dot ? (_jsx("span", { "data-slot": "entity-card-state", className: "pointer-events-none flex shrink-0 items-center pt-0.75", children: dot })) : null, _jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [_jsx("span", { dir: "auto", "data-slot": "entity-card-title", title: title, "aria-hidden": stretchedDoor ? "true" : undefined, className: "min-w-0 overflow-x-clip text-ellipsis whitespace-nowrap text-body-sm leading-none font-medium text-ink", children: title }), byline || owner ? (_jsxs("span", { dir: "auto", "data-slot": "entity-card-byline", className: cn("pointer-events-none flex min-w-0 items-center gap-1 text-caption leading-none text-steel-strong in-data-[cg-surface=panel]:text-faint in-data-[cg-surface=ink]:text-faint", owner && "mt-1"), children: [owner ? (_jsx("span", { "data-slot": "entity-card-byline-avatar", "aria-hidden": "true", className: "pointer-events-none inline-flex shrink-0 overflow-hidden rounded-pill", children: owner.avatar ?? _jsx(Avatar, { name: owner.name, size: 18 }) })) : null, _jsxs("span", { "data-slot": "entity-card-byline-text", className: "min-w-0 overflow-x-clip text-ellipsis whitespace-nowrap", children: [owner ? (byline ? `${owner.name} · ` : owner.name) : null, byline] })] })) : null] }), kind || homeActions ? (_jsxs("div", { className: "flex shrink-0 items-start", children: [kind ? _jsx(EntityKindBadge, { kind: kind, lifted: false, className: "pointer-events-none -mt-0.75" }) : null, homeActions] })) : null] }), description ? (_jsx("div", { "data-slot": "entity-card-home-panel", className: cn("grid grid-rows-[0fr] opacity-0 transition-[grid-template-rows,opacity] duration-(--cg-duration) ease-out motion-reduce:transition-none", "group-hover/card:grid-rows-[1fr] group-hover/card:opacity-100 group-focus-within/card:grid-rows-[1fr] group-focus-within/card:opacity-100", "group-data-[touch-hover]/card:grid-rows-[1fr] group-data-[touch-hover]/card:opacity-100"), children: _jsx("div", { className: "min-h-0 overflow-hidden", children: _jsx("div", { className: "px-4 pt-2 pb-3", children: _jsx("p", { dir: "auto", className: "m-0 line-clamp-2 text-caption text-body", children: description }) }) }) })) : null] }));
524
675
  /**
525
676
  * The preview region, shared by all three sizes.
526
677
  *
@@ -541,7 +692,7 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
541
692
  // `cssUrlString` escapes only the quote and backslash that would
542
693
  // break out of url("..."), and never re-encodes an already-encoded
543
694
  // URL (ui#178).
544
- style: { backgroundImage: `url("${cssUrlString(previewUrl)}")` } })) : null, kind ? (_jsx(EntityKindBadge, { kind: kind, size: badgeSize, className: cn("pointer-events-none absolute", badgeSize === "md" ? "top-[7px] right-[7px]" : "top-1 right-1") })) : null] })) : null;
695
+ style: { backgroundImage: `url("${cssUrlString(previewUrl)}")` } })) : null, kind && !home ? (_jsx(EntityKindBadge, { kind: kind, size: badgeSize, className: cn("pointer-events-none absolute", badgeSize === "md" ? "top-[7px] right-[7px]" : "top-1 right-1") })) : null, home ? _jsx(HomeCounts, { comments: comments, views: views }) : null] })) : null;
545
696
  /**
546
697
  * THE PANEL — which IS the open state (#196).
547
698
  *
@@ -577,7 +728,7 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
577
728
  * panel's creator line has a right edge that is empty. They sit there, gated
578
729
  * exactly like Dashboard is — invisible at rest means inert at rest (#171).
579
730
  */
580
- const revealPanel = revealed ? (
731
+ const revealPanel = revealed && !home ? (
581
732
  // THE LAYER (#268). A transparent box over the whole card, thumbnail
582
733
  // included, whose only jobs are to hold the panel at the card's bottom edge
583
734
  // and to be the POSITIONED ancestor the stretched link sizes to.
@@ -633,7 +784,7 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
633
784
  // for normal text, so the value is deliberately NOT adopted — see the
634
785
  // note in the PR. The muted rung is 3.69:1 and is out for the same
635
786
  // reason.
636
- className: cn("m-0 text-caption text-body", size === "compact" ? "truncate" : "line-clamp-2"), children: description })) : null, !openLive && openDisabledReason ? (_jsx("p", { "data-slot": "entity-card-reveal-reason", dir: "auto", "aria-hidden": "true", className: "m-0 truncate text-caption text-body", children: openDisabledReason })) : null, creator || headerActions ? (_jsxs("div", { className: "flex min-w-0 items-center justify-between gap-2", children: [creator ? (_jsxs("span", { "data-slot": "entity-card-reveal-creator", className: "flex min-w-0 items-center gap-1 text-caption text-ink", children: [creator.avatar ? (_jsx("span", { "aria-hidden": "true", className: "inline-flex size-6 shrink-0 overflow-hidden rounded-pill [&>*]:size-full", children: creator.avatar })) : (
787
+ className: cn("m-0 text-caption text-body", form === "compact" ? "truncate" : "line-clamp-2"), children: description })) : null, !openLive && openDisabledReason ? (_jsx("p", { "data-slot": "entity-card-reveal-reason", dir: "auto", "aria-hidden": "true", className: "m-0 truncate text-caption text-body", children: openDisabledReason })) : null, creator || headerActions ? (_jsxs("div", { className: "flex min-w-0 items-center justify-between gap-2", children: [creator ? (_jsxs("span", { "data-slot": "entity-card-reveal-creator", className: "flex min-w-0 items-center gap-1 text-caption text-ink", children: [creator.avatar ? (_jsx("span", { "aria-hidden": "true", className: "inline-flex size-6 shrink-0 overflow-hidden rounded-pill [&>*]:size-full", children: creator.avatar })) : (
637
788
  // The library's own mark, at the size this box was already
638
789
  // holding. It renders OUTSIDE that wrapper deliberately: the
639
790
  // wrapper exists to force an arbitrary caller node to 24px with
@@ -685,7 +836,7 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
685
836
  *
686
837
  * `stats` and `footer` are not rendered here — see the size note at the top.
687
838
  */
688
- if (size === "row") {
839
+ if (form === "row") {
689
840
  return (_jsxs(Card, { "data-slot": "entity-card", "data-entity-size": "row", className: cn(
690
841
  // The same chrome the media card takes (#196): the hairline, the 12px
691
842
  // corner and Elevation 1, in place of Card's own ring. A list and a
@@ -709,7 +860,7 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
709
860
  // Reduced motion removes the FADE, not the actions.
710
861
  "motion-reduce:transition-none"), children: actionPair })] })] }));
711
862
  }
712
- const card = (_jsxs(Card, { "data-slot": "entity-card", "data-entity-size": size, className: cn(
863
+ const card = (_jsxs(Card, { "data-slot": "entity-card", "data-entity-size": size, "data-entity-look": home ? "home" : undefined, className: cn(
713
864
  // THE CHROME, to the founder's 2026-09-09 draft (#196): a white card at
714
865
  // a 12px corner, a 1px hairline, Elevation 1, and a 1px pad so the
715
866
  // picture inside sits at 11px and never paints over the line. `ring-0`
@@ -730,7 +881,15 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
730
881
  // relative, and it is load-bearing now: the panel is anchored to THIS
731
882
  // element rather than to the preview (#196), and Open's stretched
732
883
  // ::after sizes to the panel inside it.
733
- "relative rounded-md border border-hairline p-px shadow-card ring-0", sized.body,
884
+ // The Home look draws no Elevation 1 (#530): its design has none. The
885
+ // string is whole in both arms so the card that does not ask for it
886
+ // keeps its class list byte for byte.
887
+ home
888
+ ? cn("relative rounded-md border border-hairline p-px ring-0",
889
+ // The door's keyboard frame, on the card: outside the card's
890
+ // overflow, which would clip a frame drawn on the door itself.
891
+ HOME_DOOR_FRAME)
892
+ : "relative rounded-md border border-hairline p-px shadow-card ring-0", sized.body,
734
893
  // `h-full` only inside the link wrapper, where the card has to fill the
735
894
  // anchor. As a direct grid item it must NOT be h-full: a grid area has a
736
895
  // definite height, so height:100% pins the card to the tallest card in
@@ -738,11 +897,11 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
738
897
  href && !revealed && "h-full",
739
898
  // A tile's box is fixed (#382): the rail lines them up. After `h-full`,
740
899
  // so the tile's own height wins inside a link wrapper too.
741
- tile && cn("shrink-0", ENTITY_CARD_TILE_BOX[size]), sized.cardSpacing, className), ...props, children: [previewRegion(
900
+ tile && cn("shrink-0", home ? ENTITY_CARD_HOME_BOX : ENTITY_CARD_TILE_BOX[size]), sized.cardSpacing, className), ...props, children: [previewRegion(
742
901
  // 159/92, the draft's ratio, and an 11px corner: the card's 12 less the
743
902
  // 1px pad around it. Written as the arithmetic rather than as a second
744
903
  // radius token, so the two can never drift apart.
745
- "aspect-[159/92] overflow-hidden rounded-[calc(var(--cg-radius-md)-1px)]", "md"), children ? (_jsx("div", { className: cn("flex min-h-0 flex-1 flex-col p-(--card-spacing)", sized.body), children: children })) : minimal ? (nameRow) : (_jsx("div", { className: cn("flex min-h-0 flex-1 flex-col p-(--card-spacing)", sized.body), children: fullBody })), revealPanel] }));
904
+ "aspect-[159/92] overflow-hidden rounded-[calc(var(--cg-radius-md)-1px)]", "md"), children ? (_jsx("div", { className: cn("flex min-h-0 flex-1 flex-col p-(--card-spacing)", sized.body), children: children })) : minimal ? (home ? (_jsxs(_Fragment, { children: [homeDoor, homeBlock] })) : (nameRow)) : (_jsx("div", { className: cn("flex min-h-0 flex-1 flex-col p-(--card-spacing)", sized.body), children: fullBody })), home ? _jsx(TouchHover, { scope: HOME_SCOPE }) : revealPanel] }));
746
905
  // A revealed card is never wrapped: the panel's Open action is already an
747
906
  // anchor, and an anchor inside an anchor is invalid HTML that browsers repair
748
907
  // by closing the outer one.
@@ -1 +1 @@
1
- {"version":3,"file":"entity-card.js","sourceRoot":"","sources":["../../src/blocks/entity-card.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAC9D,OAAO,EAAE,cAAc,EAA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* the foot of the Home where a person sees what others share on their grid.
5
+ *
6
+ * ## The band
7
+ *
8
+ * The whole width of the page in violet-100, its content in the page's column
9
+ * (`max-w-page`, the page's side padding outside it). It is a light band on
10
+ * every surface (`data-theme="default"`, as the inspiration cards are): its
11
+ * ground is a palette rung, so its words must be the light scope's.
12
+ *
13
+ * ## With creations
14
+ *
15
+ * eyebrow "FROM YOUR GRID": the caption role, bold, upper case, brand violet
16
+ * title "On <grid>": 26 semibold (`text-title-md` in the UI face) on the
17
+ * body leading, 38
18
+ * line "Explore what others are sharing on your grid.", Body
19
+ * action "Explore the grid →" at the right, centred on the three, the Home's
20
+ * teal text link with a 16px arrow (with `exploreHref`)
21
+ * cards the caller's children, 24 under: the row of creation cards
22
+ * spacing eyebrow, title and line 6 apart; 36 above, 48 below
23
+ *
24
+ * ## Empty
25
+ *
26
+ * When the grid has nothing in it (`empty`, or no children): the eyebrow and
27
+ * the title, then "Share creations and collaborate here. Invite people to get
28
+ * your grid started.", then the "Invite people" button (the cyan filled
29
+ * button, 42 tall, 16 aside, radius 8, the people glyph 8 after the words),
30
+ * 12 apart and revealed one by one (`StaggerReveal`). At the right, #533's
31
+ * From your grid picture, which builds itself and floats: it is only ever on
32
+ * screen here, while the grid is empty. 48 above and below. Below 1024 the
33
+ * picture goes under the words.
34
+ *
35
+ * ## Tokens
36
+ *
37
+ * Where the design and the library differ, the library's rung is used: the
38
+ * 11px eyebrow is the caption's 13 (the smallest reading rung), the 14 and
39
+ * 15px lines are Body (`text-body-sm`, 14 in the Console) in
40
+ * `text-faint-strong` (the design's neutral-500 is under 4.5:1 on violet-100),
41
+ * and the button's 15px word is Body too.
42
+ *
43
+ * Content and handlers are the caller's; nothing here fetches.
44
+ */
45
+ declare function FromYourGrid({ gridName, exploreHref, empty: emptyProp, onInvite, members, eyebrow, description, emptyDescription, exploreLabel, inviteLabel, level, className, children, ...props }: Omit<React.ComponentProps<"section">, "title"> & {
46
+ /** The grid's name: the title reads "On <gridName>". */
47
+ gridName: string;
48
+ /** Where "Explore the grid" goes. Without it there is no link. */
49
+ exploreHref?: string;
50
+ /** The empty state. Defaults to "no children". */
51
+ empty?: boolean;
52
+ /** Invite people, in the empty state. */
53
+ onInvite?: React.MouseEventHandler<HTMLButtonElement>;
54
+ /** The empty picture's three members' initials, left to right. */
55
+ members?: readonly [string, string, string];
56
+ eyebrow?: React.ReactNode;
57
+ /** The line under the title. */
58
+ description?: React.ReactNode;
59
+ /** The line under the title when the grid is empty. */
60
+ emptyDescription?: React.ReactNode;
61
+ exploreLabel?: string;
62
+ inviteLabel?: string;
63
+ level?: 2 | 3 | 4;
64
+ }): React.JSX.Element;
65
+ export { FromYourGrid };
66
+ //# sourceMappingURL=from-your-grid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"from-your-grid.d.ts","sourceRoot":"","sources":["../../src/blocks/from-your-grid.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,iBAAS,YAAY,CAAC,EACpB,QAAQ,EACR,WAAW,EACX,KAAK,EAAE,SAAS,EAChB,QAAQ,EACR,OAAO,EACP,OAA0B,EAC1B,WAA6D,EAC7D,gBAAkG,EAClG,YAAiC,EACjC,WAA6B,EAC7B,KAAS,EACT,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,GAAG;IAClD,wDAAwD;IACxD,QAAQ,EAAE,MAAM,CAAA;IAChB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kDAAkD;IAClD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,yCAAyC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IACrD,kEAAkE;IAClE,OAAO,CAAC,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IAC3C,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,gCAAgC;IAChC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,uDAAuD;IACvD,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;CAClB,qBAkFA;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,63 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import * as React from "react";
4
+ import { cn } from "../lib/cloudgrid-cn.js";
5
+ import { ActionLink } from "./action-link.js";
6
+ import { Button } from "../ui/button.js";
7
+ import { Eyebrow } from "./eyebrow.js";
8
+ import { AudienceIcon, ForwardIcon } from "./icons.js";
9
+ import { StaggerReveal } from "./motion.js";
10
+ import { SharedGridIllustration } from "./shared-grid-illustration.js";
11
+ /**
12
+ * The Home's "From your grid" section (ui#540, Asaf, 2026-11-20): the band at
13
+ * the foot of the Home where a person sees what others share on their grid.
14
+ *
15
+ * ## The band
16
+ *
17
+ * The whole width of the page in violet-100, its content in the page's column
18
+ * (`max-w-page`, the page's side padding outside it). It is a light band on
19
+ * every surface (`data-theme="default"`, as the inspiration cards are): its
20
+ * ground is a palette rung, so its words must be the light scope's.
21
+ *
22
+ * ## With creations
23
+ *
24
+ * eyebrow "FROM YOUR GRID": the caption role, bold, upper case, brand violet
25
+ * title "On <grid>": 26 semibold (`text-title-md` in the UI face) on the
26
+ * body leading, 38
27
+ * line "Explore what others are sharing on your grid.", Body
28
+ * action "Explore the grid →" at the right, centred on the three, the Home's
29
+ * teal text link with a 16px arrow (with `exploreHref`)
30
+ * cards the caller's children, 24 under: the row of creation cards
31
+ * spacing eyebrow, title and line 6 apart; 36 above, 48 below
32
+ *
33
+ * ## Empty
34
+ *
35
+ * When the grid has nothing in it (`empty`, or no children): the eyebrow and
36
+ * the title, then "Share creations and collaborate here. Invite people to get
37
+ * your grid started.", then the "Invite people" button (the cyan filled
38
+ * button, 42 tall, 16 aside, radius 8, the people glyph 8 after the words),
39
+ * 12 apart and revealed one by one (`StaggerReveal`). At the right, #533's
40
+ * From your grid picture, which builds itself and floats: it is only ever on
41
+ * screen here, while the grid is empty. 48 above and below. Below 1024 the
42
+ * picture goes under the words.
43
+ *
44
+ * ## Tokens
45
+ *
46
+ * Where the design and the library differ, the library's rung is used: the
47
+ * 11px eyebrow is the caption's 13 (the smallest reading rung), the 14 and
48
+ * 15px lines are Body (`text-body-sm`, 14 in the Console) in
49
+ * `text-faint-strong` (the design's neutral-500 is under 4.5:1 on violet-100),
50
+ * and the button's 15px word is Body too.
51
+ *
52
+ * Content and handlers are the caller's; nothing here fetches.
53
+ */
54
+ function FromYourGrid({ gridName, exploreHref, empty: emptyProp, onInvite, members, eyebrow = "From your grid", description = "Explore what others are sharing on your grid.", emptyDescription = "Share creations and collaborate here. Invite people to get your grid started.", exploreLabel = "Explore the grid", inviteLabel = "Invite people", level = 2, className, children, ...props }) {
55
+ const empty = emptyProp ?? React.Children.count(children) === 0;
56
+ const titleId = React.useId();
57
+ const Heading = `h${level}`;
58
+ const eyebrowNode = (_jsx(Eyebrow, { "data-slot": "from-your-grid-eyebrow", className: "text-caption leading-body font-bold text-brand uppercase", children: eyebrow }));
59
+ const heading = (_jsx(Heading, { id: titleId, "data-slot": "from-your-grid-title", className: "m-0 font-ui text-title-md leading-body font-bold text-ink", children: `On ${gridName}` }));
60
+ return (_jsx("section", { "data-slot": "from-your-grid", "data-theme": "default", "data-empty": empty ? "true" : "false", "aria-labelledby": titleId, className: cn("w-full bg-brand-100 px-4 font-ui text-ink md:px-page-pad [--ring:var(--cg-text-accent)]", empty ? "py-12" : "pt-9 pb-12", className), ...props, children: empty ? (_jsxs("div", { className: "mx-auto flex w-full max-w-page min-w-0 flex-col gap-6 lg:flex-row lg:items-center lg:justify-between", children: [_jsxs(StaggerReveal, { className: "flex min-w-0 flex-col items-start gap-3", children: [eyebrowNode, heading, _jsx("p", { "data-slot": "from-your-grid-description", className: "m-0 max-w-140 text-body-sm leading-6 text-faint-strong", children: emptyDescription }), _jsx("div", { className: "flex", children: _jsxs(Button, { "data-slot": "from-your-grid-invite", variant: "cta", type: "button", onClick: onInvite, className: "h-10.5 gap-2 rounded-xs px-4", children: [inviteLabel, _jsx(AudienceIcon, { className: "size-4.5" })] }) })] }), _jsx(SharedGridIllustration, { members: members, className: "shrink-0 self-center lg:w-110" })] })) : (_jsxs("div", { className: "mx-auto grid w-full max-w-page min-w-0 gap-6", children: [_jsxs("div", { className: "flex min-w-0 flex-wrap items-center justify-between gap-3", children: [_jsxs("div", { className: "grid min-w-0 gap-1.5", children: [eyebrowNode, heading, _jsx("p", { "data-slot": "from-your-grid-description", className: "m-0 text-body-sm text-faint-strong", children: description })] }), exploreHref !== undefined ? (_jsxs(ActionLink, { "data-slot": "from-your-grid-explore", weight: "bold", href: exploreHref, className: "gap-1.5", children: [exploreLabel, _jsx(ForwardIcon, { className: "size-4" })] })) : null] }), _jsx("div", { "data-slot": "from-your-grid-cards", className: "min-w-0", children: children })] })) }));
61
+ }
62
+ export { FromYourGrid };
63
+ //# sourceMappingURL=from-your-grid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"from-your-grid.js","sourceRoot":"","sources":["../../src/blocks/from-your-grid.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC7C,OAAO,EAAE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";
3
- import { type ImageAdjustStepOptions } from "./image-adjust-dialog.js";
3
+ import { type ImageAdjustPicked, type ImageAdjustSaved, type ImageAdjustStepOptions, type ImageAdjustView } from "./image-adjust-dialog.js";
4
4
  import { type EditableValueField, type EditableValueSaveResult } from "./settings-row.js";
5
- declare function GridProfile({ name, description, logoSrc, seed, onEditLogo, onSelectLogoFile, onRejectLogoFile, onRemoveLogo, logoAccept, logoMaxBytes, logoPending, logoAdjust, onEditName, onEditDescription, onSaveName, onSaveDescription, nameField, descriptionField, logoComingSoon, className, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
5
+ declare function GridProfile({ name, description, logoSrc, seed, onEditLogo, onSelectLogoFile, onRejectLogoFile, onRemoveLogo, logoAccept, logoMaxBytes, logoPending, logoAdjust, onAdjustLogo, logoOriginalSrc, logoView, onEditName, onEditDescription, onSaveName, onSaveDescription, nameField, descriptionField, logoComingSoon, className, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
6
6
  /** The grid's name: the tile's letter, and the large line. */
7
7
  name: string;
8
8
  /** The line under the name. */
@@ -17,8 +17,12 @@ declare function GridProfile({ name, description, logoSrc, seed, onEditLogo, onS
17
17
  * the picker and the badge a menu (ui#505).
18
18
  */
19
19
  onEditLogo?: () => void;
20
- /** A good logo file, after the type and size checks. The caller uploads it. Makes the tile the picker. */
21
- onSelectLogoFile?: (file: File) => void;
20
+ /**
21
+ * A good logo file, after the type and size checks. The caller uploads it.
22
+ * Makes the tile the picker. After the adjust step, the second argument is
23
+ * the picked file, uncut, and the view it was cut at (ui#556).
24
+ */
25
+ onSelectLogoFile?: (file: File, picked?: ImageAdjustPicked) => void;
22
26
  /** A picked file that failed a check, and which one. */
23
27
  onRejectLogoFile?: (file: File, reason: AvatarPickerRejection) => void;
24
28
  /** "Remove logo" in the badge's menu, shown only while there is a `logoSrc`. */
@@ -35,6 +39,23 @@ declare function GridProfile({ name, description, logoSrc, seed, onEditLogo, onS
35
39
  * the title ("Adjust logo") and the output's side (512).
36
40
  */
37
41
  logoAdjust?: boolean | ImageAdjustStepOptions;
42
+ /**
43
+ * ui#544: the logo menu. "Adjust logo" opens the adjust step on the current
44
+ * logo and Save calls this with the adjusted square; the menu reads "Adjust
45
+ * logo", "Replace logo" ("Upload logo" with no logo), "Remove logo", and the
46
+ * tile with a logo opens it too.
47
+ * Needs `onSelectLogoFile`, for Replace. `logoSrc` must be same-origin or
48
+ * served with CORS. The second argument is the view the square was cut at
49
+ * (ui#556): of `logoOriginalSrc` when there is one, else of `logoSrc`.
50
+ */
51
+ onAdjustLogo?: (file: File, saved: ImageAdjustSaved) => void;
52
+ /**
53
+ * ui#556: the picture the logo was cut from. "Adjust logo" opens on it, at
54
+ * `logoView`, instead of on `logoSrc`. Same-origin, CORS, or a `blob:` URL.
55
+ */
56
+ logoOriginalSrc?: string;
57
+ /** ui#556: the view the logo was cut at, from `logoOriginalSrc`. Ignored without it. */
58
+ logoView?: ImageAdjustView;
38
59
  /** The upload is not built yet: the badge is drawn, greyed and inert. */
39
60
  logoComingSoon?: boolean;
40
61
  /** The name's pencil opens the caller's pop-up. */