@cloudgrid-io/ui 0.69.0 → 0.71.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 (99) hide show
  1. package/dist/badge/marks.d.ts +2 -0
  2. package/dist/badge/marks.d.ts.map +1 -1
  3. package/dist/badge/marks.js +5 -0
  4. package/dist/badge/marks.js.map +1 -1
  5. package/dist/badge/watermark.js +2 -2
  6. package/dist/badge/watermark.js.map +1 -1
  7. package/dist/blocks/add-tile.d.ts +17 -12
  8. package/dist/blocks/add-tile.d.ts.map +1 -1
  9. package/dist/blocks/add-tile.js +26 -14
  10. package/dist/blocks/add-tile.js.map +1 -1
  11. package/dist/blocks/browse-categories.d.ts +80 -0
  12. package/dist/blocks/browse-categories.d.ts.map +1 -0
  13. package/dist/blocks/browse-categories.js +106 -0
  14. package/dist/blocks/browse-categories.js.map +1 -0
  15. package/dist/blocks/creation-search.d.ts +145 -102
  16. package/dist/blocks/creation-search.d.ts.map +1 -1
  17. package/dist/blocks/creation-search.js +503 -125
  18. package/dist/blocks/creation-search.js.map +1 -1
  19. package/dist/blocks/empty-creations.d.ts +29 -2
  20. package/dist/blocks/empty-creations.d.ts.map +1 -1
  21. package/dist/blocks/empty-creations.js +38 -14
  22. package/dist/blocks/empty-creations.js.map +1 -1
  23. package/dist/blocks/entity-card.d.ts +5 -1
  24. package/dist/blocks/entity-card.d.ts.map +1 -1
  25. package/dist/blocks/entity-card.js +3 -2
  26. package/dist/blocks/entity-card.js.map +1 -1
  27. package/dist/blocks/feed-row.d.ts +92 -0
  28. package/dist/blocks/feed-row.d.ts.map +1 -0
  29. package/dist/blocks/feed-row.js +30 -0
  30. package/dist/blocks/feed-row.js.map +1 -0
  31. package/dist/blocks/filter-tabs.d.ts +12 -1
  32. package/dist/blocks/filter-tabs.d.ts.map +1 -1
  33. package/dist/blocks/filter-tabs.js +11 -2
  34. package/dist/blocks/filter-tabs.js.map +1 -1
  35. package/dist/blocks/greeting.d.ts +42 -0
  36. package/dist/blocks/greeting.d.ts.map +1 -0
  37. package/dist/blocks/greeting.js +38 -0
  38. package/dist/blocks/greeting.js.map +1 -0
  39. package/dist/blocks/home-bento.d.ts +11 -4
  40. package/dist/blocks/home-bento.d.ts.map +1 -1
  41. package/dist/blocks/home-bento.js +22 -6
  42. package/dist/blocks/home-bento.js.map +1 -1
  43. package/dist/blocks/home-pinned.d.ts +137 -24
  44. package/dist/blocks/home-pinned.d.ts.map +1 -1
  45. package/dist/blocks/home-pinned.js +285 -38
  46. package/dist/blocks/home-pinned.js.map +1 -1
  47. package/dist/blocks/icons.d.ts +54 -6
  48. package/dist/blocks/icons.d.ts.map +1 -1
  49. package/dist/blocks/icons.js +67 -6
  50. package/dist/blocks/icons.js.map +1 -1
  51. package/dist/blocks/impact-card.d.ts +114 -0
  52. package/dist/blocks/impact-card.d.ts.map +1 -0
  53. package/dist/blocks/impact-card.js +57 -0
  54. package/dist/blocks/impact-card.js.map +1 -0
  55. package/dist/blocks/inspiration-cards.d.ts +234 -5
  56. package/dist/blocks/inspiration-cards.d.ts.map +1 -1
  57. package/dist/blocks/inspiration-cards.js +289 -8
  58. package/dist/blocks/inspiration-cards.js.map +1 -1
  59. package/dist/blocks/inspiration-gallery.d.ts +139 -0
  60. package/dist/blocks/inspiration-gallery.d.ts.map +1 -0
  61. package/dist/blocks/inspiration-gallery.js +189 -0
  62. package/dist/blocks/inspiration-gallery.js.map +1 -0
  63. package/dist/blocks/jump-back-in.d.ts +251 -0
  64. package/dist/blocks/jump-back-in.d.ts.map +1 -0
  65. package/dist/blocks/jump-back-in.js +275 -0
  66. package/dist/blocks/jump-back-in.js.map +1 -0
  67. package/dist/blocks/load-more-grid.d.ts +125 -0
  68. package/dist/blocks/load-more-grid.d.ts.map +1 -0
  69. package/dist/blocks/load-more-grid.js +157 -0
  70. package/dist/blocks/load-more-grid.js.map +1 -0
  71. package/dist/blocks/menu-trigger.d.ts +7 -2
  72. package/dist/blocks/menu-trigger.d.ts.map +1 -1
  73. package/dist/blocks/menu-trigger.js +2 -0
  74. package/dist/blocks/menu-trigger.js.map +1 -1
  75. package/dist/blocks/phosphor-marks.d.ts +17 -1
  76. package/dist/blocks/phosphor-marks.d.ts.map +1 -1
  77. package/dist/blocks/phosphor-marks.js +25 -1
  78. package/dist/blocks/phosphor-marks.js.map +1 -1
  79. package/dist/blocks/pin-mark.d.ts +40 -0
  80. package/dist/blocks/pin-mark.d.ts.map +1 -0
  81. package/dist/blocks/pin-mark.js +40 -0
  82. package/dist/blocks/pin-mark.js.map +1 -0
  83. package/dist/blocks/start-card.d.ts +76 -0
  84. package/dist/blocks/start-card.d.ts.map +1 -0
  85. package/dist/blocks/start-card.js +82 -0
  86. package/dist/blocks/start-card.js.map +1 -0
  87. package/dist/blocks/stat-tile.d.ts +20 -19
  88. package/dist/blocks/stat-tile.d.ts.map +1 -1
  89. package/dist/blocks/stat-tile.js +32 -3
  90. package/dist/blocks/stat-tile.js.map +1 -1
  91. package/dist/index.d.ts +9 -0
  92. package/dist/index.d.ts.map +1 -1
  93. package/dist/index.js +9 -0
  94. package/dist/index.js.map +1 -1
  95. package/dist/lib/motion.d.ts +14 -0
  96. package/dist/lib/motion.d.ts.map +1 -1
  97. package/dist/lib/motion.js +4 -0
  98. package/dist/lib/motion.js.map +1 -1
  99. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import * as React from "react";
2
+ import { DialogContent } from "../ui/dialog.js";
2
3
  import { type LogoSet } from "./onboard-widget-content.js";
3
4
  import { type ToolMarkName } from "./tool-marks.js";
4
5
  /**
@@ -168,11 +169,92 @@ import { type ToolMarkName } from "./tool-marks.js";
168
169
  * in over the grey box once loaded, in 150ms on the library's ease; under
169
170
  * reduced motion it is there at once.
170
171
  *
172
+ * ## Pick it up opens an overlay (ui#609), with the opt-in
173
+ *
174
+ * Asaf's design of 2026-11-25/26, for the ideas card on an empty grid. Given
175
+ * `pickUp` (on `InspirationCard` or `InspirationCards`), the card has one
176
+ * button, "Pick it up": the library's cyan button, full width, the git-fork
177
+ * mark (`PickupsIcon`) before the word. It opens the overlay
178
+ * (`InspirationPickUpDialog`) and copies nothing; "Paste in" leaves the card for
179
+ * the overlay. Without `pickUp`, the card is what it was, byte for byte
180
+ * (test/inspiration-pick-up-609.test.mjs holds it to 0.69.0's markup).
181
+ *
182
+ * <InspirationCards
183
+ * ideas={ideas}
184
+ * pickUp={{
185
+ * onPickUp: (idea) => api.pickUp(idea.id), // resolves { ok: true } once live
186
+ * canPickUp: (idea) => idea.ready, // false: Build it yourself only
187
+ * onSeeOnGrid: (idea) => router.push("/"), // "See it on your grid"
188
+ * }}
189
+ * />
190
+ *
191
+ * The overlay is the library `Dialog` on the Style Guide purple wash. At the
192
+ * top, the idea's cover as a band that fades into white, the category tag on
193
+ * it and a round close X; under it the title (the dialog's name) and the
194
+ * card's line, then "Two ways to make it yours:" (the description; "Make it
195
+ * yours:" when Build it yourself is the only way, Asaf 2026-11-26). Two
196
+ * sections side by side, a quiet "or" on a thin line between them:
197
+ *
198
+ * - **Pick it up** (left, the main one: a purple-to-cyan tint, a purple edge).
199
+ * A small My creations row where the idea's cover drops into an empty slot,
200
+ * marked "<title> · just now": once, as the overlay opens (`MOTION.land`,
201
+ * 0.6s, eased out), and a still picture under reduced motion. The cyan Pick
202
+ * it up button at the bottom, as tall as Copy, sized to its words and
203
+ * centred under the landing (overlay v2, Asaf 2026-11-26). Pressed, it calls `onPickUp(idea)` and shows
204
+ * "Picking it up" with the spinner; a second press does nothing, a click on
205
+ * the scrim does not close the overlay (Escape and the X still do). `{ ok:
206
+ * true }` turns the overlay into Picked up; `{ ok: false }`, a rejection or
207
+ * a throw (`pickUpIdea`) puts a short line over the button, and the button
208
+ * says "Try again". Build it yourself stays usable throughout.
209
+ * - **Build it yourself** (right, light grey). The first lines of the prompt in
210
+ * the mono font, fading out: the idea's `promptPreview` when the caller gives
211
+ * one (its own part, without the opening every prompt shares, so each box
212
+ * differs), the `prompt` otherwise; Copy (the cyan button) copies the whole prompt,
213
+ * exactly, and says "Copied" with a check for 2s, or "Couldn't copy" when the
214
+ * clipboard refuses, as `CopyButton` does everywhere; beside it "Paste in"
215
+ * and the turning agent mark, the card's own mark on the card's own clock.
216
+ * Both at the right of their row.
217
+ *
218
+ * Without `onPickUp`, or when `canPickUp(idea)` is false, only Build it
219
+ * yourself shows, full width, with no "or": nothing disabled, nothing "coming
220
+ * soon".
221
+ *
222
+ * **Picked up**: the check in a circle of the tag's tint (lime for For work,
223
+ * light purple for Everyday, cyan for Just for fun: `INSPIRATION_PICKED_UP_CHECKS`),
224
+ * an ink check, a soft ring of the same hue, and a small burst of eight dots
225
+ * (`MOTION.burst`; none under reduced motion). "Picked up", "<title> is live on
226
+ * your grid. You'll find it in My creations.", and one cyan button, "See it on
227
+ * your grid", which closes the overlay and calls `onSeeOnGrid(idea)`.
228
+ *
229
+ * On a phone (under 640) the sections stack, the "or" between them on a line
230
+ * across, and the cover band is shorter (112 against 170).
231
+ *
232
+ * Focus goes to the first action on open (Pick it up, or Copy when it is the
233
+ * only way; See it on your grid once picked up) and back to the card's button
234
+ * on close. A polite live region says "Picking it up", "Picked up" and the
235
+ * failure; Copy's own says Copied. Every clickable has the hand cursor; a
236
+ * busy button keeps the arrow. The keyboard frame is the library's
237
+ * `focus-line`: after Tab, never after a click.
238
+ *
239
+ * Closing resets the overlay unless a pick-up is still on its way: its outcome
240
+ * is kept for the next open, and said in the card's own polite live region if
241
+ * it lands while the overlay is closed. Picked up sticks (Asaf, 2026-11-26):
242
+ * within the page's life the card remembers a successful pick-up (by `id` when
243
+ * given; a card of cards keeps the memory, so a card that leaves the page and
244
+ * comes back knows) and its overlay opens straight on Picked up, with no second
245
+ * call; `isPickedUp(idea)` tells it after a reload. A failure does not stick.
246
+ * With `autoAdvance`, an open overlay, or a pick-up on its way, holds the card
247
+ * of cards, so the page never turns under it (Nataly's review of PR #618). An
248
+ * `onPickUp` that never settles keeps "Picking it up" (a follow-up). The words
249
+ * are `INSPIRATION_PICK_UP_COPY`.
250
+ *
171
251
  * ## Specimens
172
252
  *
173
253
  * `specimen` pins one face of Pick it up for the gallery and for screenshots
174
254
  * (hover, focus, copied, blocked) and holds the agent mark still. Product code
175
- * leaves it out.
255
+ * leaves it out. The overlay has its own (`InspirationPickUpDialog`'s
256
+ * `specimen`: picking, picked, failed, copied, blocked), which also holds its
257
+ * motion still.
176
258
  */
177
259
  export type InspirationCategory = "work" | "everyday" | "fun";
178
260
  /** The tags: the word and the tint, per category. */
@@ -194,8 +276,63 @@ export declare const INSPIRATION_COPY: Readonly<{
194
276
  previous: "Previous page";
195
277
  next: "Next page";
196
278
  }>;
197
- /** One idea, all of it the caller's. */
279
+ /**
280
+ * The Pick it up overlay's words (ui#609): Asaf's approved copy. Canon: pick it
281
+ * up and picked up, live, the grid; no em dashes; never "Copy prompt".
282
+ */
283
+ export declare const INSPIRATION_PICK_UP_COPY: Readonly<{
284
+ twoWays: "Two ways to make it yours:";
285
+ /** With Build it yourself only: one way (Asaf, 2026-11-26). */
286
+ oneWay: "Make it yours:";
287
+ pickUpTitle: "Pick it up";
288
+ /** The middle part is set in bold. */
289
+ pickUpText: readonly ["A ready copy goes live on your grid. It lands in ", "My creations", ", and it's yours to change any time."];
290
+ pickUp: "Pick it up";
291
+ pickingUp: "Picking it up";
292
+ failed: "Couldn't pick it up. Try again.";
293
+ tryAgain: "Try again";
294
+ or: "or";
295
+ buildTitle: "Build it yourself";
296
+ /** Never "prompt" in what the person reads (Gilad; Asaf approved this line, 2026-11-26). */
297
+ buildText: "Copy it into your AI tool and build your own version, your way.";
298
+ copy: "Copy";
299
+ copied: "Copied";
300
+ blocked: "Couldn't copy";
301
+ announceCopied: "Copied. Paste it into your AI coding tool.";
302
+ announceBlocked: "Couldn't copy. The browser blocked the clipboard.";
303
+ pasteIn: "Paste in";
304
+ /** Read after "Paste in" by a screen reader only: the mark beside it is hidden. */
305
+ pasteInEnd: "your AI coding tool";
306
+ myCreations: "My creations";
307
+ /** The label under the slot the cover lands in. */
308
+ landed: (title: string) => string;
309
+ pickedUp: "Picked up";
310
+ pickedUpLine: (title: string) => string;
311
+ seeIt: "See it on your grid";
312
+ close: "Close";
313
+ }>;
314
+ /**
315
+ * The Picked up check, per category (ui#609): the circle is the tag's own tint,
316
+ * the check ink, the ring a soft 10px of the same hue.
317
+ */
318
+ export declare const INSPIRATION_PICKED_UP_CHECKS: Readonly<Record<InspirationCategory, string>>;
319
+ /**
320
+ * Each category's hue at full strength: the burst's dots, and the dot before
321
+ * a category's pill in the gallery (ui#623).
322
+ */
323
+ export declare const INSPIRATION_CATEGORY_HUES: Readonly<Record<InspirationCategory, string>>;
324
+ /**
325
+ * One idea, all of it the caller's. With `pickUp`, every callback is handed the
326
+ * caller's own idea object, this very one (from `InspirationCards`), or for a
327
+ * lone `InspirationCard` an object with every field the card was given: `id`
328
+ * and any field of the caller's come back unchanged (ui#609).
329
+ */
198
330
  export type InspirationIdea = {
331
+ /**
332
+ * The caller's own key for the idea, never shown. Handed back unchanged to
333
+ * every `pickUp` callback, so the caller matches its ideas by id, not by title.
334
+ */
335
+ id?: string;
199
336
  /** The picture's URL. Decorative: the title names the card. */
200
337
  image: string;
201
338
  category: InspirationCategory;
@@ -204,8 +341,54 @@ export type InspirationIdea = {
204
341
  description: string;
205
342
  /** What Pick it up copies, exactly. */
206
343
  prompt: string;
344
+ /**
345
+ * The first lines the overlay's prompt box shows (overlay v2, Asaf
346
+ * 2026-11-26): the idea's own part, so each idea's box differs. The shared
347
+ * opening every prompt starts with stays only in `prompt`, which is what
348
+ * Copy copies, in full. Absent: the box shows `prompt`. Never on the card.
349
+ */
350
+ promptPreview?: string;
207
351
  };
208
352
  type Specimen = "hover" | "focus" | "copied" | "blocked";
353
+ /** What the caller's pick-up action resolves: `{ ok: true }` once a ready copy is live on the grid. */
354
+ export type InspirationPickUpResult = {
355
+ ok: boolean;
356
+ };
357
+ /**
358
+ * The opt-in (ui#609): given, the card's one button, Pick it up, opens the
359
+ * overlay. Every part is optional; `{}` is Build it yourself only, for every
360
+ * idea.
361
+ */
362
+ export type InspirationPickUp = {
363
+ /**
364
+ * Makes a ready copy of `idea` live on the grid. Resolve `{ ok: true }` once
365
+ * it is; `{ ok: false }`, a rejection or a throw shows the failure. Absent:
366
+ * Build it yourself only.
367
+ */
368
+ onPickUp?: (idea: InspirationIdea) => Promise<InspirationPickUpResult>;
369
+ /** Whether `idea` has a ready creation to copy. Default: every idea, once `onPickUp` is given. */
370
+ canPickUp?: (idea: InspirationIdea) => boolean;
371
+ /**
372
+ * Whether `idea` is already picked up, as the caller knows it (from the
373
+ * server, after a reload): its overlay opens on Picked up, with "See it on
374
+ * your grid". Default: no. Within the page's life the card remembers a
375
+ * pick-up of its own without it (Asaf, 2026-11-26).
376
+ */
377
+ isPickedUp?: (idea: InspirationIdea) => boolean;
378
+ /** "See it on your grid" was pressed. The overlay closes either way. */
379
+ onSeeOnGrid?: (idea: InspirationIdea) => void;
380
+ /** The overlay opened or closed. */
381
+ onOpenChange?: (open: boolean, idea: InspirationIdea) => void;
382
+ };
383
+ /** Where the overlay's Pick it up is: before, on its way, done, or failed. */
384
+ export type InspirationPickUpState = "idle" | "picking" | "picked" | "failed";
385
+ /** The overlay's faces pinned for the gallery: one pick-up state, or Copy's. */
386
+ export type InspirationPickUpSpecimen = Exclude<InspirationPickUpState, "idle"> | "copied" | "blocked";
387
+ /**
388
+ * Runs the caller's pick-up for `idea`: "picked" for `{ ok: true }`, "failed"
389
+ * for anything else, a rejection or a throw included. Never throws.
390
+ */
391
+ export declare function pickUpIdea(onPickUp: (idea: InspirationIdea) => Promise<InspirationPickUpResult>, idea: InspirationIdea): Promise<"picked" | "failed">;
209
392
  /** The agent marks the Paste in slot shows: the pill's, slot by slot, A then B. */
210
393
  export declare const PASTE_IN_MARKS: readonly ToolMarkName[];
211
394
  /**
@@ -222,7 +405,45 @@ export declare const PASTE_IN_TURNS: readonly ToolMarkName[];
222
405
  * rest mark; every other count is a turn.
223
406
  */
224
407
  export declare function pasteInMarkAt(step: number, place?: number): ToolMarkName;
225
- declare function InspirationCard({ image, category, title, description, prompt, place, priority, specimen, className, }: InspirationIdea & {
408
+ /** The tag's look, on the card, on the overlay's cover band and in the gallery (ui#623) alike. */
409
+ export declare const INSPIRATION_TAG_CLASS = "h-5.5 rounded-full px-2.5 py-0 text-caption font-bold leading-none text-ink";
410
+ /**
411
+ * The Pick it up overlay (ui#609): two ways to make an idea yours. Controlled:
412
+ * the card opens it from its button; a caller with its own trigger can render
413
+ * it alone. See the file's notes, "Pick it up opens an overlay".
414
+ */
415
+ declare function InspirationPickUpDialog({ idea, open, onOpenChange, onPickUp, onSeeOnGrid, finalFocus, place, pickedUp, onStateChange, specimen, container, className, }: {
416
+ /** The idea: its cover, tag, title, line and prompt. */
417
+ idea: InspirationIdea;
418
+ open: boolean;
419
+ onOpenChange: (open: boolean) => void;
420
+ /** Makes a ready copy live on the grid. Absent: Build it yourself only. */
421
+ onPickUp?: (idea: InspirationIdea) => Promise<InspirationPickUpResult>;
422
+ /** "See it on your grid" was pressed; the overlay closes too. */
423
+ onSeeOnGrid?: (idea: InspirationIdea) => void;
424
+ /** Where focus goes on close: the button that opened it. */
425
+ finalFocus?: React.RefObject<HTMLElement | null>;
426
+ /** The card's place among its cards, for the Paste in mark (as the card's). */
427
+ place?: number;
428
+ /**
429
+ * Already picked up: it opens on Picked up, with "See it on your grid", and
430
+ * offers no second pick-up (Asaf, 2026-11-26). The card sets it from its
431
+ * own memory and the caller's `isPickedUp`.
432
+ */
433
+ pickedUp?: boolean;
434
+ /**
435
+ * Each change of the pick-up's state, and whether the overlay was open when
436
+ * it came: the card holds its carousel while one is on its way, and says an
437
+ * outcome that lands while the overlay is closed.
438
+ */
439
+ onStateChange?: (state: InspirationPickUpState, open: boolean) => void;
440
+ /** Pins one state for the gallery and holds the motion still. Leave it out in product code. */
441
+ specimen?: InspirationPickUpSpecimen;
442
+ /** Where the scrim and the card portal; the document body when absent. */
443
+ container?: React.ComponentProps<typeof DialogContent>["container"];
444
+ className?: string;
445
+ }): React.JSX.Element;
446
+ declare function InspirationCard({ place, priority, specimen, pickUp, className, ...given }: InspirationIdea & {
226
447
  /**
227
448
  * The card's place among the cards shown with it, from 0: its Paste in mark
228
449
  * is that many turns ahead (ui#574). `InspirationCards` sets it.
@@ -235,6 +456,12 @@ declare function InspirationCard({ image, category, title, description, prompt,
235
456
  priority?: boolean;
236
457
  /** Pins one face of Pick it up and holds the agent still, for the gallery. Leave it out in product code. */
237
458
  specimen?: Specimen;
459
+ /**
460
+ * The opt-in (ui#609): Pick it up opens the overlay, with two ways to make
461
+ * the idea yours, and "Paste in" leaves the card. Without it, the card is as
462
+ * it was.
463
+ */
464
+ pickUp?: InspirationPickUp;
238
465
  className?: string;
239
466
  }): React.JSX.Element;
240
467
  /**
@@ -291,7 +518,7 @@ export declare function inspirationNextCovers(ideas: readonly InspirationIdea[],
291
518
  export declare const INSPIRATION_AUTO_ADVANCE_MS = 30000;
292
519
  /** The interval `autoAdvance` asks for, in ms; 0 when it is off. */
293
520
  export declare function inspirationAutoAdvanceMs(autoAdvance: boolean | number | undefined): number;
294
- declare function InspirationCards({ ideas, title, subtitle, pageSize, layout, page: pageProp, defaultPage, onPageChange, autoAdvance, specimen, className, onPointerEnter, onPointerLeave, onFocus, onBlur, ...props }: Omit<React.ComponentProps<"section">, "children" | "title"> & {
521
+ declare function InspirationCards({ ideas, title, subtitle, pageSize, layout, page: pageProp, defaultPage, onPageChange, autoAdvance, specimen, pickUp, className, onPointerEnter, onPointerLeave, onFocus, onBlur, ...props }: Omit<React.ComponentProps<"section">, "children" | "title"> & {
295
522
  /** Every idea, in order. Shown `pageSize` at a time. */
296
523
  ideas: readonly InspirationIdea[];
297
524
  /** The heading. Defaults to the design's words. */
@@ -322,6 +549,8 @@ declare function InspirationCards({ ideas, title, subtitle, pageSize, layout, pa
322
549
  autoAdvance?: boolean | number;
323
550
  /** Passed to every card on the page: the gallery's pinned faces. */
324
551
  specimen?: Specimen;
552
+ /** The opt-in (ui#609), passed to every card: Pick it up opens the overlay. Without it, the cards are as they were. */
553
+ pickUp?: InspirationPickUp;
325
554
  }): React.JSX.Element;
326
- export { InspirationCard, InspirationCards };
555
+ export { InspirationCard, InspirationCards, InspirationPickUpDialog };
327
556
  //# sourceMappingURL=inspiration-cards.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inspiration-cards.d.ts","sourceRoot":"","sources":["../../src/blocks/inspiration-cards.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B,OAAO,EAIL,KAAK,OAAO,EACb,MAAM,sCAAsC,CAAA;AAE7C,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4KG;AAEH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,UAAU,GAAG,KAAK,CAAA;AAE7D,qDAAqD;AACrD,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,mBAAmB,EAAE;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAK7H,CAAA;AAEJ,kCAAkC;AAClC,eAAO,MAAM,gBAAgB;;;;;;;;IAQ3B,mFAAmF;;;;EAInF,CAAA;AAEF,wCAAwC;AACxC,MAAM,MAAM,eAAe,GAAG;IAC5B,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,mBAAmB,CAAA;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,6BAA6B;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,uCAA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