@40rty/ams-ui 0.5.2 → 0.5.4

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 (49) hide show
  1. package/dist/agent.js +1 -1
  2. package/dist/catalog-data.js +1 -1
  3. package/dist/catalog-entries.js +2 -2
  4. package/dist/{chunk-RKPDCXL4.js → chunk-2HM6EVDV.js} +18 -0
  5. package/dist/chunk-2QRYXSCB.js +5344 -0
  6. package/dist/{chunk-CKGGECAQ.js → chunk-KW2DLXHP.js} +1 -1
  7. package/dist/{chunk-LQLOG2V3.js → chunk-N5XACWEX.js} +1 -1
  8. package/dist/conversation/manifests/conversation/explain.md +13 -0
  9. package/dist/conversation/manifests/conversation/facts.md +13 -0
  10. package/dist/conversation/manifests/conversation/guidedPick.md +13 -0
  11. package/dist/conversation/manifests/conversation/note.md +13 -0
  12. package/dist/conversation/manifests/conversation/paths.md +13 -0
  13. package/dist/conversation/manifests/conversation/shortlist.md +13 -0
  14. package/dist/conversation/manifests/conversation/tradeoff.md +13 -0
  15. package/dist/conversation/manifests/conversation/verdict.md +13 -0
  16. package/dist/conversation.js +947 -0
  17. package/dist/css/conversation/conversation.css +20 -0
  18. package/dist/css/shell/mobile/island.css +2 -2
  19. package/dist/index.js +14 -12
  20. package/dist/shell.js +47 -5295
  21. package/dist/types/agent/presence/PresenceFiller.d.ts +1 -1
  22. package/dist/types/agent/presence/folded.d.ts +1 -1
  23. package/dist/types/components/ecommerce/product/AddToRegistry.d.ts +1 -1
  24. package/dist/types/components/ecommerce/product/PresenceProductRail.d.ts +1 -1
  25. package/dist/types/components/ecommerce/product/ProductGrid.d.ts +1 -1
  26. package/dist/types/components/layout/Modal.d.ts +1 -1
  27. package/dist/types/conversation/ClosingQuestion.d.ts +13 -0
  28. package/dist/types/conversation/ConversationCanvas.d.ts +11 -0
  29. package/dist/types/conversation/PageComposer.d.ts +12 -0
  30. package/dist/types/conversation/ResultSheet.d.ts +9 -0
  31. package/dist/types/conversation/TurnCanvas.d.ts +12 -0
  32. package/dist/types/conversation/TurnHeader.d.ts +9 -0
  33. package/dist/types/conversation/activity-line.d.ts +3 -0
  34. package/dist/types/conversation/blocks/ProductTile.d.ts +31 -0
  35. package/dist/types/conversation/blocks/blocks.d.ts +27 -0
  36. package/dist/types/conversation/blocks/index.d.ts +7 -0
  37. package/dist/types/conversation/blocks/product-blocks.d.ts +3 -0
  38. package/dist/types/conversation/blocks/schemas.d.ts +4322 -0
  39. package/dist/types/conversation/index.d.ts +11 -0
  40. package/dist/types/conversation/presence-parts.d.ts +15 -0
  41. package/dist/types/conversation/turn-text.d.ts +31 -0
  42. package/dist/types/conversation/use-page-products.d.ts +3 -0
  43. package/dist/types/labels.d.ts +21 -2
  44. package/dist/types/shell/MenuDrawer.d.ts +2 -2
  45. package/dist/types/shell/ShellScaffold.d.ts +1 -1
  46. package/dist/types/shell/mobile/MobileChrome.d.ts +1 -1
  47. package/dist/types/shell/mobile/MorphIsland.d.ts +1 -1
  48. package/dist/types/shell/mobile/hero-entry-point.d.ts +1 -1
  49. package/package.json +7 -2
@@ -37,7 +37,7 @@ import {
37
37
  turnProps,
38
38
  ugcExamples,
39
39
  ugcProps
40
- } from "./chunk-LQLOG2V3.js";
40
+ } from "./chunk-N5XACWEX.js";
41
41
 
42
42
  // src/catalog-entries.ts
43
43
  var catalog = {
@@ -106,7 +106,7 @@ var heroExamples = [
106
106
  var brandStoryProps = z3.object({
107
107
  headline: z3.string().describe('the brand statement \u2014 short, declarative; e.g. "Built bold in New York since 1990."'),
108
108
  // NOT `prose()`-marked: `body` is BLOCK copy, split on `\n\n` into paragraphs
109
- // by current-v2's renderer (`BrandStory.tsx`'s `paragraphsFrom`). The marker
109
+ // by brand renderers (e.g. a `BrandStory.tsx` `paragraphsFrom`). The marker
110
110
  // renders INLINE markdown only and hands the component a ReactNode[], which
111
111
  // has no `.split`. Block-level copy stays a raw string.
112
112
  body: z3.string().describe("2-4 sentences telling the brand origin / mission / point-of-view. Sourced from the SPACE MANIFEST brand identity section \u2014 never invent."),
@@ -0,0 +1,13 @@
1
+ ---
2
+ alwaysInclude: false
3
+ ---
4
+
5
+ # explain
6
+
7
+ Explains one spec or bit of jargon with an optional scale showing where the focused product sits.
8
+
9
+ ## When to Use
10
+ A follow-up about one spec ("how big is it really?", "what does that rating mean?"): insert it into the CURRENT bento (add its id to the bento's children and its span to spans) instead of rebuilding the page.
11
+
12
+ ## Don't Use When
13
+ The visitor asked for products, not an explanation.
@@ -0,0 +1,13 @@
1
+ ---
2
+ alwaysInclude: false
3
+ ---
4
+
5
+ # facts
6
+
7
+ Label/value pairs: key specs of the focused product, or what you know about the visitor so far.
8
+
9
+ ## When to Use
10
+ Summarise the specs that matter, or reflect back what the visitor told you (what it is for, how they use it, budget).
11
+
12
+ ## Don't Use When
13
+ Values you did not get from a tool result or the visitor.
@@ -0,0 +1,13 @@
1
+ ---
2
+ alwaysInclude: false
3
+ ---
4
+
5
+ # guidedPick
6
+
7
+ One question with 2-5 tappable answers that narrows the pick (what they need it for, how they use it, budget).
8
+
9
+ ## When to Use
10
+ The visitor's ask is underspecified and ONE answer would change what you recommend.
11
+
12
+ ## Don't Use When
13
+ You already know enough to recommend. Never ask what the visitor already told you.
@@ -0,0 +1,13 @@
1
+ ---
2
+ alwaysInclude: false
3
+ ---
4
+
5
+ # note
6
+
7
+ A short aside in the brand's voice: a tip, a sizing rule of thumb, a common mistake.
8
+
9
+ ## When to Use
10
+ Beside a pick, to add one piece of expert context.
11
+
12
+ ## Don't Use When
13
+ To restate the answer prose.
@@ -0,0 +1,13 @@
1
+ ---
2
+ alwaysInclude: false
3
+ ---
4
+
5
+ # paths
6
+
7
+ 2-4 next moves as tappable cards; each sends a message.
8
+
9
+ ## When to Use
10
+ The end of a turn, to offer the natural next steps (build the set, compare, check the fit).
11
+
12
+ ## Don't Use When
13
+ As the only block of a turn.
@@ -0,0 +1,13 @@
1
+ ---
2
+ alwaysInclude: false
3
+ ---
4
+
5
+ # shortlist
6
+
7
+ 2-4 products with a short why under each.
8
+
9
+ ## When to Use
10
+ A considered short list, not a browse grid.
11
+
12
+ ## Don't Use When
13
+ Browsing a category (use productGrid).
@@ -0,0 +1,13 @@
1
+ ---
2
+ alwaysInclude: false
3
+ ---
4
+
5
+ # tradeoff
6
+
7
+ Two options side by side, the points for each, and which you lean to for this visitor.
8
+
9
+ ## When to Use
10
+ The choice hinges on a trade-off.
11
+
12
+ ## Don't Use When
13
+ One option is plainly better for them (use verdict).
@@ -0,0 +1,13 @@
1
+ ---
2
+ alwaysInclude: false
3
+ ---
4
+
5
+ # verdict
6
+
7
+ The one product you would pick, with the reasons tied to what the visitor said and an honest caveat.
8
+
9
+ ## When to Use
10
+ You have enough to recommend a single product.
11
+
12
+ ## Don't Use When
13
+ You still need an answer that changes the pick (use guidedPick).