@40rty/ams-ui 0.5.1 → 0.5.3
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.
- package/dist/agent.js +1 -1
- package/dist/catalog-data.js +1 -1
- package/dist/catalog-entries.js +2 -2
- package/dist/{chunk-RKPDCXL4.js → chunk-2HM6EVDV.js} +18 -0
- package/dist/chunk-2QRYXSCB.js +5344 -0
- package/dist/{chunk-CKGGECAQ.js → chunk-KW2DLXHP.js} +1 -1
- package/dist/{chunk-LQLOG2V3.js → chunk-N5XACWEX.js} +1 -1
- package/dist/conversation/manifests/conversation/explain.md +13 -0
- package/dist/conversation/manifests/conversation/facts.md +13 -0
- package/dist/conversation/manifests/conversation/guidedPick.md +13 -0
- package/dist/conversation/manifests/conversation/note.md +13 -0
- package/dist/conversation/manifests/conversation/paths.md +13 -0
- package/dist/conversation/manifests/conversation/shortlist.md +13 -0
- package/dist/conversation/manifests/conversation/tradeoff.md +13 -0
- package/dist/conversation/manifests/conversation/verdict.md +13 -0
- package/dist/conversation.js +947 -0
- package/dist/css/conversation/conversation.css +20 -0
- package/dist/css/shell/mobile/island.css +2 -2
- package/dist/index.js +14 -12
- package/dist/shell.js +47 -5295
- package/dist/types/agent/presence/PresenceFiller.d.ts +1 -1
- package/dist/types/agent/presence/folded.d.ts +1 -1
- package/dist/types/components/ecommerce/product/AddToRegistry.d.ts +1 -1
- package/dist/types/components/ecommerce/product/PresenceProductRail.d.ts +1 -1
- package/dist/types/components/ecommerce/product/ProductGrid.d.ts +1 -1
- package/dist/types/components/layout/Modal.d.ts +1 -1
- package/dist/types/labels.d.ts +21 -2
- package/dist/types/shell/MenuDrawer.d.ts +2 -2
- package/dist/types/shell/ShellScaffold.d.ts +1 -1
- package/dist/types/shell/mobile/MobileChrome.d.ts +1 -1
- package/dist/types/shell/mobile/MorphIsland.d.ts +1 -1
- package/dist/types/shell/mobile/hero-entry-point.d.ts +1 -1
- package/package.json +7 -2
|
@@ -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
|
|
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
|
+
# 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).
|