@cloudgrid-io/ui 0.64.0 → 0.65.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 (112) hide show
  1. package/dist/blocks/add-tile.d.ts +16 -1
  2. package/dist/blocks/add-tile.d.ts.map +1 -1
  3. package/dist/blocks/add-tile.js +20 -3
  4. package/dist/blocks/add-tile.js.map +1 -1
  5. package/dist/blocks/bento-card-hint.d.ts +16 -0
  6. package/dist/blocks/bento-card-hint.d.ts.map +1 -0
  7. package/dist/blocks/bento-card-hint.js +23 -0
  8. package/dist/blocks/bento-card-hint.js.map +1 -0
  9. package/dist/blocks/bento-card.d.ts +59 -0
  10. package/dist/blocks/bento-card.d.ts.map +1 -0
  11. package/dist/blocks/bento-card.js +59 -0
  12. package/dist/blocks/bento-card.js.map +1 -0
  13. package/dist/blocks/coming-soon-hint.d.ts.map +1 -1
  14. package/dist/blocks/coming-soon-hint.js +110 -7
  15. package/dist/blocks/coming-soon-hint.js.map +1 -1
  16. package/dist/blocks/creation-search.d.ts +147 -0
  17. package/dist/blocks/creation-search.d.ts.map +1 -0
  18. package/dist/blocks/creation-search.js +239 -0
  19. package/dist/blocks/creation-search.js.map +1 -0
  20. package/dist/blocks/entity-card.d.ts +80 -2
  21. package/dist/blocks/entity-card.d.ts.map +1 -1
  22. package/dist/blocks/entity-card.js +162 -17
  23. package/dist/blocks/entity-card.js.map +1 -1
  24. package/dist/blocks/from-your-grid.d.ts +66 -0
  25. package/dist/blocks/from-your-grid.d.ts.map +1 -0
  26. package/dist/blocks/from-your-grid.js +63 -0
  27. package/dist/blocks/from-your-grid.js.map +1 -0
  28. package/dist/blocks/grid-profile.d.ts +10 -1
  29. package/dist/blocks/grid-profile.d.ts.map +1 -1
  30. package/dist/blocks/grid-profile.js +57 -6
  31. package/dist/blocks/grid-profile.js.map +1 -1
  32. package/dist/blocks/home-bento.d.ts +86 -0
  33. package/dist/blocks/home-bento.d.ts.map +1 -0
  34. package/dist/blocks/home-bento.js +87 -0
  35. package/dist/blocks/home-bento.js.map +1 -0
  36. package/dist/blocks/home-empty-illustrations.d.ts +37 -0
  37. package/dist/blocks/home-empty-illustrations.d.ts.map +1 -0
  38. package/dist/blocks/home-empty-illustrations.js +47 -0
  39. package/dist/blocks/home-empty-illustrations.js.map +1 -0
  40. package/dist/blocks/home-pinned.d.ts +120 -0
  41. package/dist/blocks/home-pinned.d.ts.map +1 -0
  42. package/dist/blocks/home-pinned.js +58 -0
  43. package/dist/blocks/home-pinned.js.map +1 -0
  44. package/dist/blocks/icons.d.ts +33 -0
  45. package/dist/blocks/icons.d.ts.map +1 -1
  46. package/dist/blocks/icons.js +33 -0
  47. package/dist/blocks/icons.js.map +1 -1
  48. package/dist/blocks/inspiration-cards.d.ts +241 -0
  49. package/dist/blocks/inspiration-cards.d.ts.map +1 -0
  50. package/dist/blocks/inspiration-cards.js +234 -0
  51. package/dist/blocks/inspiration-cards.js.map +1 -0
  52. package/dist/blocks/liquid-glass.d.ts +106 -0
  53. package/dist/blocks/liquid-glass.d.ts.map +1 -0
  54. package/dist/blocks/liquid-glass.js +283 -0
  55. package/dist/blocks/liquid-glass.js.map +1 -0
  56. package/dist/blocks/meter.d.ts +5 -2
  57. package/dist/blocks/meter.d.ts.map +1 -1
  58. package/dist/blocks/meter.js +4 -0
  59. package/dist/blocks/meter.js.map +1 -1
  60. package/dist/blocks/motion.d.ts +46 -0
  61. package/dist/blocks/motion.d.ts.map +1 -0
  62. package/dist/blocks/motion.js +144 -0
  63. package/dist/blocks/motion.js.map +1 -0
  64. package/dist/blocks/needs-attention.d.ts +78 -0
  65. package/dist/blocks/needs-attention.d.ts.map +1 -0
  66. package/dist/blocks/needs-attention.js +29 -0
  67. package/dist/blocks/needs-attention.js.map +1 -0
  68. package/dist/blocks/phosphor-marks.d.ts +12 -0
  69. package/dist/blocks/phosphor-marks.d.ts.map +1 -1
  70. package/dist/blocks/phosphor-marks.js +18 -0
  71. package/dist/blocks/phosphor-marks.js.map +1 -1
  72. package/dist/blocks/ranked-list.d.ts +7 -1
  73. package/dist/blocks/ranked-list.d.ts.map +1 -1
  74. package/dist/blocks/ranked-list.js +8 -6
  75. package/dist/blocks/ranked-list.js.map +1 -1
  76. package/dist/blocks/recent-plugs.d.ts +66 -0
  77. package/dist/blocks/recent-plugs.d.ts.map +1 -0
  78. package/dist/blocks/recent-plugs.js +20 -0
  79. package/dist/blocks/recent-plugs.js.map +1 -0
  80. package/dist/blocks/shared-grid-illustration.d.ts +55 -0
  81. package/dist/blocks/shared-grid-illustration.d.ts.map +1 -0
  82. package/dist/blocks/shared-grid-illustration.js +81 -0
  83. package/dist/blocks/shared-grid-illustration.js.map +1 -0
  84. package/dist/blocks/shelf-strip.d.ts +36 -0
  85. package/dist/blocks/shelf-strip.d.ts.map +1 -0
  86. package/dist/blocks/shelf-strip.js +32 -0
  87. package/dist/blocks/shelf-strip.js.map +1 -0
  88. package/dist/blocks/stat-tile.d.ts +17 -1
  89. package/dist/blocks/stat-tile.d.ts.map +1 -1
  90. package/dist/blocks/stat-tile.js +4 -1
  91. package/dist/blocks/stat-tile.js.map +1 -1
  92. package/dist/blocks/top-creations.d.ts +76 -0
  93. package/dist/blocks/top-creations.d.ts.map +1 -0
  94. package/dist/blocks/top-creations.js +54 -0
  95. package/dist/blocks/top-creations.js.map +1 -0
  96. package/dist/index.d.ts +15 -0
  97. package/dist/index.d.ts.map +1 -1
  98. package/dist/index.js +15 -0
  99. package/dist/index.js.map +1 -1
  100. package/dist/lib/fit.d.ts +39 -0
  101. package/dist/lib/fit.d.ts.map +1 -0
  102. package/dist/lib/fit.js +92 -0
  103. package/dist/lib/fit.js.map +1 -0
  104. package/dist/lib/motion.d.ts +126 -0
  105. package/dist/lib/motion.d.ts.map +1 -0
  106. package/dist/lib/motion.js +132 -0
  107. package/dist/lib/motion.js.map +1 -0
  108. package/dist/ui/dialog.d.ts +7 -1
  109. package/dist/ui/dialog.d.ts.map +1 -1
  110. package/dist/ui/dialog.js +2 -2
  111. package/dist/ui/dialog.js.map +1 -1
  112. package/package.json +2 -1
@@ -2,9 +2,11 @@ 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";
9
11
  /**
10
12
  * What an entity IS. Three kinds, and they are the product's, not this file's:
@@ -99,6 +101,89 @@ export const ENTITY_CARD_TILE_BOX = {
99
101
  tile: "w-62.5 h-46",
100
102
  "tile-lg": "w-[329px] h-60.5",
101
103
  };
104
+ /**
105
+ * THE HOME CARD'S BOX (#530): 302 x 238, the new Console Home's creation card
106
+ * under "My creations" and "From your grid" (Asaf, 2026-11-20). Four of them
107
+ * and three 24px gaps are the Home's 1280 column.
108
+ *
109
+ * A box of its own rather than a third tile size, for the reason the tiles are
110
+ * not grid sizes: a consumer keeping a `Record<EntityCardTileSize, …>` would
111
+ * stop compiling. `look="home"` reads it, and so does `AddTile look="home"`.
112
+ */
113
+ export const ENTITY_CARD_HOME_BOX = "w-75.5 h-59.5";
114
+ /**
115
+ * What a Home card's count reads as, for a reader and on the picture.
116
+ *
117
+ * Drawn short — 180, 1.2K, 12K — because the chip is 32px wide and a five-digit
118
+ * count would take the corner of the picture. Announced whole, with its word:
119
+ * "1,204 views", "1 comment".
120
+ */
121
+ const COUNT_SHORT = new Intl.NumberFormat("en-US", { notation: "compact", maximumFractionDigits: 1 });
122
+ const COUNT_WHOLE = new Intl.NumberFormat("en-US");
123
+ /** The card's own outline while its door has keyboard focus (the `focus-line` look). */
124
+ const HOME_DOOR_FRAME = [
125
+ "[&:has(>[data-stretched]:focus-visible):not(:where([data-cg-input=pointer]_*))]:outline-solid",
126
+ "[&:has(>[data-stretched]:focus-visible):not(:where([data-cg-input=pointer]_*))]:outline-1",
127
+ "[&:has(>[data-stretched]:focus-visible):not(:where([data-cg-input=pointer]_*))]:outline-offset-2",
128
+ "[&:has(>[data-stretched]:focus-visible):not(:where([data-cg-input=pointer]_*))]:outline-(--ring)",
129
+ ].join(" ");
130
+ /** The Home row's actions' box when open: 8 before the first, 24 each, 4 between. */
131
+ const HOME_ACTIONS_WIDTH = {
132
+ 1: "group-hover/card:w-8 group-focus-within/card:w-8",
133
+ 2: "group-hover/card:w-15 group-focus-within/card:w-15",
134
+ 3: "group-hover/card:w-22 group-focus-within/card:w-22",
135
+ };
136
+ /** A Home row action: a 24px square, the library's hover wash, the keyboard line only. */
137
+ 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))]";
138
+ /**
139
+ * One Home row action under its tooltip. `children` is the bare control (a
140
+ * button or a link, with its label); its glyph is drawn here. The tooltip shows
141
+ * the label to the eye only: the control is already named, and a description
142
+ * repeating the name would be announced twice.
143
+ */
144
+ function HomeAction({ label, glyph, menu = false, children, }) {
145
+ return (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { "aria-describedby": undefined, render: menu ? _jsx(DropdownMenuTrigger, { render: children }) : children, children: glyph }), _jsx(TooltipContent, { children: label })] }));
146
+ }
147
+ const HOME_COUNTS = [
148
+ { key: "comments", Icon: CardCommentsIcon, one: "comment", many: "comments" },
149
+ { key: "views", Icon: CardViewsIcon, one: "view", many: "views" },
150
+ ];
151
+ /**
152
+ * THE PILL (#530): comments and views on the picture's top right.
153
+ *
154
+ * A count shows only above zero. Both: one pill, the two halves 1px apart (the
155
+ * design's divider is that gap, the picture showing through it), only the outer
156
+ * corners rounded. One: a chip rounded on every side. None: nothing.
157
+ *
158
+ * Each half is the design's: at least 32 wide, 4 above and below, 2 aside, the
159
+ * 12px mark over the 13px number with 2 between them, on white at 85% with a
160
+ * blur behind it and the mark's own lift. The colours are all `:root`-only
161
+ * values (`--cg-neutral-0`, `--cg-text-on-accent`, `--cg-slate-500`), so the
162
+ * pill does not flip with the surface the card is on: it is on a picture, and
163
+ * a picture does not flip.
164
+ *
165
+ * `pointer-events-none`, like the kind badge it replaces in this corner: a
166
+ * click on it is a click on the card.
167
+ */
168
+ function HomeCounts({ comments, views }) {
169
+ const values = { comments, views };
170
+ const shown = HOME_COUNTS.filter(({ key }) => {
171
+ const n = values[key];
172
+ return typeof n === "number" && n > 0;
173
+ });
174
+ if (shown.length === 0)
175
+ return null;
176
+ 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) => {
177
+ const n = values[key];
178
+ return (_jsxs("span", { "data-slot": "entity-card-count", "data-count": key, className: cn(
179
+ // `relative` contains the `sr-only` word (cloudgrid-console#854).
180
+ "relative flex min-w-8 flex-col items-center gap-0.5 px-0.5 py-1",
181
+ // The design's background blur of 3 is CSS blur(1.5px): a design
182
+ // blur radius is twice the CSS standard deviation (see
183
+ // --cg-scrim-blur).
184
+ "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));
185
+ }) }));
186
+ }
102
187
  /**
103
188
  * WHAT EACH SIZE CHANGES, in one table.
104
189
  *
@@ -282,7 +367,7 @@ function cssUrlString(url) {
282
367
  * an `sr-only` span, because "agent" is information and a decorative mark is not
283
368
  * a way to convey it.
284
369
  */
285
- function EntityKindBadge({ kind, size = "md", className, ...props }) {
370
+ function EntityKindBadge({ kind, size = "md", lifted = true, className, ...props }) {
286
371
  const Icon = ENTITY_KIND_ICON[kind];
287
372
  return (_jsxs("span", { "data-slot": "entity-card-kind", "data-kind": kind, className: cn(
288
373
  // `relative` contains the `sr-only` word below (cloudgrid-console#854).
@@ -293,7 +378,9 @@ function EntityKindBadge({ kind, size = "md", className, ...props }) {
293
378
  // or a feed post nothing was, and the Console's Home scrolled the
294
379
  // window under its shell. The badge owns the word, so it contains it.
295
380
  // 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] })] }));
381
+ lifted
382
+ ? "relative inline-flex shrink-0 items-center justify-center rounded-2xs text-on-accent shadow-mark"
383
+ : "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
384
  }
298
385
  /**
299
386
  * The state as a dot, when the caller has not supplied one.
@@ -319,8 +406,12 @@ function statusDotFrom(status) {
319
406
  return null;
320
407
  return _jsx(EntityStateDot, { status: props.status, label: props.label });
321
408
  }
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];
409
+ 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 }) {
410
+ // The Home look (#530) is the large tile's card in its own box: the panel,
411
+ // the gaps and the type are tile-lg's, whatever `size` says.
412
+ const home = look === "home";
413
+ const form = home ? "tile-lg" : size;
414
+ const sized = SIZE_STYLE[form];
324
415
  // The reveal owns the preview, so `seed` is what it needs and all it needs: a
325
416
  // panel over nothing is not a panel. It deliberately does NOT ask for an
326
417
  // `href` — see "the reveal never depends on data" above (#193). A card whose
@@ -334,8 +425,8 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
334
425
  // A tile always reveals when it has a picture (#382): its box is fixed, and the
335
426
  // full body would overflow it, so a tile's rest state is the name row whatever
336
427
  // `reveal` says.
337
- const tile = size === "tile" || size === "tile-lg";
338
- const revealed = (reveal || tile) && Boolean(seed) && size !== "row";
428
+ const tile = size === "tile" || size === "tile-lg" || home;
429
+ const revealed = (reveal || tile) && Boolean(seed) && (home || size !== "row");
339
430
  // Whether the live link has anywhere to go. One boolean, read in four places —
340
431
  // the live link's own markup, which door owns the stretched layer, the pair's
341
432
  // order, and the reason line — so they can never disagree about which state
@@ -382,10 +473,10 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
382
473
  // survives is the caller's order, not a rule here: a card that reordered its
383
474
  // caller's stats would be deciding which one matters.
384
475
  // 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;
476
+ const shownStats = tile ? undefined : stats && form === "compact" ? stats.slice(0, 1) : stats;
386
477
  // One line on compact and on row, whatever the caller asked for. See the note
387
478
  // on the prop: this is a height rule, not a preference.
388
- const clampDescription = size === "default" && descriptionLines === 2 ? "line-clamp-2" : "truncate";
479
+ const clampDescription = form === "default" && descriptionLines === 2 ? "line-clamp-2" : "truncate";
389
480
  // The dot, and the one place it is resolved. Explicit first, derived from the
390
481
  // library's own chip second, nothing third — see `statusDotFrom` (#196).
391
482
  const dot = statusDot ?? statusDotFrom(status);
@@ -521,6 +612,52 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
521
612
  * unchanged box.
522
613
  */
523
614
  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] }));
615
+ /**
616
+ * THE HOME CARD'S NAME ROW (#530, Asaf, 2026-11-20), in place of `nameRow`.
617
+ *
618
+ * The dot, the name with the caller's line under it, and the kind mark at the
619
+ * right: 16 aside, 8 between, top-aligned. The dot drops 3px so it centres on
620
+ * the name's 15px line, and the 20px mark rises 3px for the same reason. The
621
+ * name is the tiles' (Medium at the body size, which the Console's preset
622
+ * makes 14, at leading 1, clipped in x only, ui#415; Asaf keeps 14). The line
623
+ * is 13 at leading 1 in the darker slate, `text-steel-strong` (Asaf, on PR
624
+ * #534: 5.65:1 on white, where the drawn slate is 3.41:1), and flips to the
625
+ * faint rung on the panel and on ink as the library's other slate text does.
626
+ * The mark is flat: it is off the picture, with nothing to lift it from.
627
+ * From your grid's line, with the owner's avatar, sits 4 lower (`mt-1`, the
628
+ * first spacing rung): at the column's own 4 it read cramped (Asaf, PR #534).
629
+ *
630
+ * THE BLOCK (PR #534). The row, the line and the description are one block on
631
+ * the card's bottom edge, top to bottom in that order. At rest it is exactly
632
+ * the space under the picture (its min-height is the card's 234px content box
633
+ * less the 298 x 92/159 picture), so the row sits 16 under the picture. On
634
+ * hover or focus the description opens under the line by its own height
635
+ * (`grid-template-rows` 0fr to 1fr), and because the block is anchored at the
636
+ * bottom it grows UP: the row rises with it and stays at its top, over the
637
+ * picture. Its ground is the card's own on every surface, opaque (white;
638
+ * the panel's purple; ink), with the card's own wash over it, so it covers
639
+ * the picture and reads like the card. One short transition, none under
640
+ * reduced motion.
641
+ *
642
+ * THE DOOR (PR #534). One link over the whole card: the details page, or with
643
+ * none the live creation in a new tab, named by the title. It is the card's
644
+ * child, before the block, and the block is dead to the pointer, so a click
645
+ * anywhere falls through to it. The keyboard's frame is the card's own
646
+ * outline (`:has` the focused door), outside the card's clipping.
647
+ *
648
+ * THE HOVER ROW (PR #534, like the search window's row, #531). Within the
649
+ * row, the dot and the name do not move. On hover or focus the actions' box
650
+ * grows from 0 to their width, so the mark slides left by it, and open, pin
651
+ * and more ease in to its right. Each is a 24px square with the library's
652
+ * hover wash, a tooltip, and the keyboard line only. At rest they are dead
653
+ * (#171): invisible means inert.
654
+ */
655
+ const stretchedDoor = home ? (detailsTarget ? "details" : openLive ? "live" : null) : null;
656
+ const doorClass = "absolute inset-0 rounded-[11px] no-underline outline-none";
657
+ 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;
658
+ const homeActionCount = (onOpenLive || openLive ? 1 : 0) + (onTogglePin ? 1 : 0) + (menu ? 1 : 0);
659
+ 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", 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;
660
+ 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"), 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
661
  /**
525
662
  * The preview region, shared by all three sizes.
526
663
  *
@@ -541,7 +678,7 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
541
678
  // `cssUrlString` escapes only the quote and backslash that would
542
679
  // break out of url("..."), and never re-encodes an already-encoded
543
680
  // 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;
681
+ 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
682
  /**
546
683
  * THE PANEL — which IS the open state (#196).
547
684
  *
@@ -577,7 +714,7 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
577
714
  * panel's creator line has a right edge that is empty. They sit there, gated
578
715
  * exactly like Dashboard is — invisible at rest means inert at rest (#171).
579
716
  */
580
- const revealPanel = revealed ? (
717
+ const revealPanel = revealed && !home ? (
581
718
  // THE LAYER (#268). A transparent box over the whole card, thumbnail
582
719
  // included, whose only jobs are to hold the panel at the card's bottom edge
583
720
  // and to be the POSITIONED ancestor the stretched link sizes to.
@@ -633,7 +770,7 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
633
770
  // for normal text, so the value is deliberately NOT adopted — see the
634
771
  // note in the PR. The muted rung is 3.69:1 and is out for the same
635
772
  // 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 })) : (
773
+ 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
774
  // The library's own mark, at the size this box was already
638
775
  // holding. It renders OUTSIDE that wrapper deliberately: the
639
776
  // wrapper exists to force an arbitrary caller node to 24px with
@@ -685,7 +822,7 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
685
822
  *
686
823
  * `stats` and `footer` are not rendered here — see the size note at the top.
687
824
  */
688
- if (size === "row") {
825
+ if (form === "row") {
689
826
  return (_jsxs(Card, { "data-slot": "entity-card", "data-entity-size": "row", className: cn(
690
827
  // The same chrome the media card takes (#196): the hairline, the 12px
691
828
  // corner and Elevation 1, in place of Card's own ring. A list and a
@@ -709,7 +846,7 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
709
846
  // Reduced motion removes the FADE, not the actions.
710
847
  "motion-reduce:transition-none"), children: actionPair })] })] }));
711
848
  }
712
- const card = (_jsxs(Card, { "data-slot": "entity-card", "data-entity-size": size, className: cn(
849
+ const card = (_jsxs(Card, { "data-slot": "entity-card", "data-entity-size": size, "data-entity-look": home ? "home" : undefined, className: cn(
713
850
  // THE CHROME, to the founder's 2026-09-09 draft (#196): a white card at
714
851
  // a 12px corner, a 1px hairline, Elevation 1, and a 1px pad so the
715
852
  // picture inside sits at 11px and never paints over the line. `ring-0`
@@ -730,7 +867,15 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
730
867
  // relative, and it is load-bearing now: the panel is anchored to THIS
731
868
  // element rather than to the preview (#196), and Open's stretched
732
869
  // ::after sizes to the panel inside it.
733
- "relative rounded-md border border-hairline p-px shadow-card ring-0", sized.body,
870
+ // The Home look draws no Elevation 1 (#530): its design has none. The
871
+ // string is whole in both arms so the card that does not ask for it
872
+ // keeps its class list byte for byte.
873
+ home
874
+ ? cn("relative rounded-md border border-hairline p-px ring-0",
875
+ // The door's keyboard frame, on the card: outside the card's
876
+ // overflow, which would clip a frame drawn on the door itself.
877
+ HOME_DOOR_FRAME)
878
+ : "relative rounded-md border border-hairline p-px shadow-card ring-0", sized.body,
734
879
  // `h-full` only inside the link wrapper, where the card has to fill the
735
880
  // anchor. As a direct grid item it must NOT be h-full: a grid area has a
736
881
  // definite height, so height:100% pins the card to the tallest card in
@@ -738,11 +883,11 @@ function EntityCard({ title, slug, description, size = "default", titleLines = 2
738
883
  href && !revealed && "h-full",
739
884
  // A tile's box is fixed (#382): the rail lines them up. After `h-full`,
740
885
  // 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(
886
+ tile && cn("shrink-0", home ? ENTITY_CARD_HOME_BOX : ENTITY_CARD_TILE_BOX[size]), sized.cardSpacing, className), ...props, children: [previewRegion(
742
887
  // 159/92, the draft's ratio, and an 11px corner: the card's 12 less the
743
888
  // 1px pad around it. Written as the arithmetic rather than as a second
744
889
  // 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] }));
890
+ "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 })), revealPanel] }));
746
891
  // A revealed card is never wrapped: the panel's Open action is already an
747
892
  // anchor, and an anchor inside an anchor is invalid HTML that browsers repair
748
893
  // 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,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE1E,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,YAAY,GACb,MAAM,qBAAqB,CAAA;AAC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ACZ,IAAI,CAAC,CAAC,CAAC,CACL,8BACG,QAAQ,EACR,SAAS,IACT,CACJ,CAAC,CAAC,CAAC,CACF,OAAO,CACR,CACF,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAE,EAAE,CAAC,iDAAiD,EAAE,KAAK,CAAC,IAAI,CAAC,YAC9E,QAAQ,GACL,CACP,EAEA,WAAW,IACP,CACR,CAAA;IAED,0EAA0E;IAC1E,8EAA8E;IAC9E,4BAA4B;IAC5B,IAAI,CAAC,IAAI,IAAI,QAAQ;QAAE,OAAO,IAAI,CAAA;IAElC,yEAAyE;IACzE,8EAA8E;IAC9E,2EAA2E;IAC3E,8EAA8E;IAC9E,mCAAmC;IACnC,EAAE;IACF,+EAA+E;IAC/E,6EAA6E;IAC7E,0EAA0E;IAC1E,6EAA6E;IAC7E,4EAA4E;IAC5E,iBAAiB;IACjB,OAAO,CACL,YACE,IAAI,EAAE,IAAI,gBACE,SAAS,IAAI,KAAK;QAC9B,wEAAwE;QACxE,yEAAyE;QACzE,gEAAgE;QAChE,SAAS,EAAC,gDAAgD,YAEzD,IAAI,GACH,CACL,CAAA;AACH,CAAC;AAED,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,CAAA"}
@@ -0,0 +1,66 @@
1
+ import * as React from "react";
2
+ /**
3
+ * The Home's "From your grid" section (ui#540, Asaf, 2026-11-20): the band at
4
+ * 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,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAA;AAE/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,SAAS,YAAY,CAAC,EACpB,QAAQ,EACR,WAAW,EACX,KAAK,EAAE,SAAS,EAChB,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,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jB,SAAS,EAAC,8BAA8B,aAEvC,WAAW,EACZ,KAAC,YAAY,IAAC,SAAS,EAAC,UAAU,GAAG,IAC9B,GACL,IACQ,EAChB,KAAC,sBAAsB,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,+BAA+B,GAAG,IAClF,CACP,CAAC,CAAC,CAAC,CACF,eAAK,SAAS,EAAC,8CAA8C,aAC3D,eAAK,SAAS,EAAC,2DAA2D,aACxE,eAAK,SAAS,EAAC,sBAAsB,aAClC,WAAW,EACX,OAAO,EACR,yBAAa,4BAA4B,EAAC,SAAS,EAAC,oCAAoC,YACrF,WAAW,GACV,IACA,EACL,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,CAC3B,MAAC,UAAU,iBAAW,wBAAwB,EAAC,MAAM,EAAC,MAAM,EAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAC,SAAS,aAChG,YAAY,EACb,KAAC,WAAW,IAAC,SAAS,EAAC,QAAQ,GAAG,IACvB,CACd,CAAC,CAAC,CAAC,IAAI,IACJ,EACN,2BAAe,sBAAsB,EAAC,SAAS,EAAC,SAAS,YACtD,QAAQ,GACL,IACF,CACP,GACO,CACX,CAAA;AACH,CAAC;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { type AvatarPickerRejection } from "./avatar-picker.js";
3
3
  import { type ImageAdjustStepOptions } 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, 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. */
@@ -35,6 +35,15 @@ declare function GridProfile({ name, description, logoSrc, seed, onEditLogo, onS
35
35
  * the title ("Adjust logo") and the output's side (512).
36
36
  */
37
37
  logoAdjust?: boolean | ImageAdjustStepOptions;
38
+ /**
39
+ * ui#544: the logo menu. "Adjust logo" opens the adjust step on the current
40
+ * logo and Save calls this with the adjusted square; the menu reads "Adjust
41
+ * logo", "Replace logo" ("Upload logo" with no logo), "Remove logo", and the
42
+ * tile with a logo opens it too.
43
+ * Needs `onSelectLogoFile`, for Replace. `logoSrc` must be same-origin or
44
+ * served with CORS.
45
+ */
46
+ onAdjustLogo?: (file: File) => void;
38
47
  /** The upload is not built yet: the badge is drawn, greyed and inert. */
39
48
  logoComingSoon?: boolean;
40
49
  /** The name's pencil opens the caller's pop-up. */
@@ -1 +1 @@
1
- {"version":3,"file":"grid-profile.d.ts","sourceRoot":"","sources":["../../src/blocks/grid-profile.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,6BAA6B,CAAA;AAGpC,OAAO,EAAsB,KAAK,sBAAsB,EAAE,MAAM,mCAAmC,CAAA;AACnG,OAAO,EAAiB,KAAK,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;AA+FjH,iBAAS,WAAW,CAAC,EACnB,IAAI,EACJ,WAAW,EACX,OAAO,EACP,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,UAAiC,EACjC,YAAY,EACZ,WAAmB,EACnB,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB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