@tangle-network/agent-app 0.28.0 → 0.30.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.
- package/dist/{DesignCanvasEditor-TN7CWUJW.js → DesignCanvasEditor-QQNAZRJQ.js} +3 -3
- package/dist/InviteAcceptPage-EUOGZO2X.js +7 -0
- package/dist/InviteAcceptPage-EUOGZO2X.js.map +1 -0
- package/dist/MembersPanel-4CGUQRPF.js +8 -0
- package/dist/MembersPanel-4CGUQRPF.js.map +1 -0
- package/dist/access-ChAHG4Tp.d.ts +539 -0
- package/dist/chunk-3G334FVA.js +162 -0
- package/dist/chunk-3G334FVA.js.map +1 -0
- package/dist/chunk-3SVAA3MA.js +41 -0
- package/dist/chunk-3SVAA3MA.js.map +1 -0
- package/dist/chunk-535V6BH6.js +128 -0
- package/dist/chunk-535V6BH6.js.map +1 -0
- package/dist/chunk-63CE7FEZ.js +63 -0
- package/dist/chunk-63CE7FEZ.js.map +1 -0
- package/dist/{chunk-Y2SZVW35.js → chunk-LVD37K5V.js} +41 -41
- package/dist/chunk-LVD37K5V.js.map +1 -0
- package/dist/{chunk-J7JNV5BH.js → chunk-WOVCWPFF.js} +2 -2
- package/dist/{chunk-7I37CO5D.js → chunk-YYYXGLLQ.js} +4 -4
- package/dist/design-canvas-react/index.js +3 -3
- package/dist/design-canvas-react/lazy.js +1 -1
- package/dist/index.js +7 -7
- package/dist/roles-CLtYKHHl.d.ts +49 -0
- package/dist/teams/drizzle.d.ts +42 -0
- package/dist/teams/drizzle.js +194 -0
- package/dist/teams/drizzle.js.map +1 -0
- package/dist/teams/index.d.ts +44 -0
- package/dist/teams/index.js +39 -0
- package/dist/teams/index.js.map +1 -0
- package/dist/teams/members-api.d.ts +152 -0
- package/dist/teams/members-api.js +261 -0
- package/dist/teams/members-api.js.map +1 -0
- package/dist/teams-react/index.d.ts +81 -0
- package/dist/teams-react/index.js +12 -0
- package/dist/teams-react/index.js.map +1 -0
- package/dist/teams-react/lazy.d.ts +9 -0
- package/dist/teams-react/lazy.js +13 -0
- package/dist/teams-react/lazy.js.map +1 -0
- package/dist/theme/index.js +1 -1
- package/dist/theme/tokens.css +50 -48
- package/dist/web-react/index.d.ts +6 -1
- package/dist/web-react/index.js +8 -14
- package/dist/web-react/index.js.map +1 -1
- package/package.json +26 -1
- package/dist/chunk-Y2SZVW35.js.map +0 -1
- /package/dist/{DesignCanvasEditor-TN7CWUJW.js.map → DesignCanvasEditor-QQNAZRJQ.js.map} +0 -0
- /package/dist/{chunk-J7JNV5BH.js.map → chunk-WOVCWPFF.js.map} +0 -0
- /package/dist/{chunk-7I37CO5D.js.map → chunk-YYYXGLLQ.js.map} +0 -0
package/dist/theme/tokens.css
CHANGED
|
@@ -18,36 +18,36 @@
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
:root {
|
|
21
|
-
/* shadcn channel triples — "H S% L%", consumed as hsl(var(--name))
|
|
21
|
+
/* shadcn channel triples — "H S% L%", consumed as hsl(var(--name)).
|
|
22
|
+
Values mirror @tangle-network/brand (Tangle Quiet) so agent-app surfaces
|
|
23
|
+
match sandbox-ui in the same app. agent-app keeps its own light-default /
|
|
24
|
+
[data-theme="dark"] scope model (brand is dark-default), so /theme stays
|
|
25
|
+
dependency-free — only the values are shared, not the cascade. */
|
|
22
26
|
--background: 0 0% 100%;
|
|
23
|
-
--foreground:
|
|
24
|
-
--card:
|
|
25
|
-
--card-foreground:
|
|
27
|
+
--foreground: 0 0% 5%;
|
|
28
|
+
--card: 240 7% 97%;
|
|
29
|
+
--card-foreground: 0 0% 5%;
|
|
26
30
|
--popover: 0 0% 100%;
|
|
27
|
-
--popover-foreground:
|
|
28
|
-
--primary:
|
|
31
|
+
--popover-foreground: 0 0% 5%;
|
|
32
|
+
--primary: 245 62% 57%;
|
|
29
33
|
--primary-foreground: 0 0% 100%;
|
|
30
|
-
--secondary:
|
|
31
|
-
--secondary-foreground:
|
|
32
|
-
--muted:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
--
|
|
36
|
-
--
|
|
37
|
-
--accent-foreground: 222 47% 11%;
|
|
38
|
-
--destructive: 0 72% 45%;
|
|
34
|
+
--secondary: 240 6% 93%;
|
|
35
|
+
--secondary-foreground: 0 0% 10%;
|
|
36
|
+
--muted: 240 6% 93%;
|
|
37
|
+
--muted-foreground: 240 5% 38%;
|
|
38
|
+
--accent: 240 6% 93%;
|
|
39
|
+
--accent-foreground: 0 0% 10%;
|
|
40
|
+
--destructive: 0 72% 41%;
|
|
39
41
|
--destructive-foreground: 0 0% 100%;
|
|
40
|
-
--border:
|
|
41
|
-
--input:
|
|
42
|
-
--ring:
|
|
43
|
-
/*
|
|
44
|
-
WCAG AA
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
chips, dots, and solid buttons via the Tailwind preset's success/warning). */
|
|
48
|
-
--success: 142 72% 29%;
|
|
42
|
+
--border: 240 6% 89%;
|
|
43
|
+
--input: 240 6% 89%;
|
|
44
|
+
--ring: 245 62% 57%;
|
|
45
|
+
/* status colors — brand hues (teal/gold/red), but lightness kept dark enough
|
|
46
|
+
to clear WCAG AA when used AS TEXT on tinted chips. Brand's own status
|
|
47
|
+
accents are dot/surface colors and are not text-contrast-tuned. */
|
|
48
|
+
--success: 160 84% 26%;
|
|
49
49
|
--success-foreground: 0 0% 100%;
|
|
50
|
-
--warning:
|
|
50
|
+
--warning: 41 96% 38%;
|
|
51
51
|
--warning-foreground: 38 92% 12%;
|
|
52
52
|
|
|
53
53
|
/* canvas/sequences aliases — full colors, resolve to the triples above */
|
|
@@ -62,34 +62,36 @@
|
|
|
62
62
|
|
|
63
63
|
/* canvas-only surfaces (not part of the shadcn vocabulary). Name matches the
|
|
64
64
|
`--canvas-backdrop` the design-canvas Workspace references (with a #1a1a1a fallback). */
|
|
65
|
-
--canvas-backdrop: hsl(
|
|
65
|
+
--canvas-backdrop: hsl(240 7% 90%);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
[data-theme='dark'],
|
|
69
69
|
.dark {
|
|
70
|
-
--background:
|
|
71
|
-
--foreground:
|
|
72
|
-
--card:
|
|
73
|
-
--card-foreground:
|
|
74
|
-
--popover:
|
|
75
|
-
--popover-foreground:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
--
|
|
79
|
-
--
|
|
80
|
-
--
|
|
81
|
-
--
|
|
82
|
-
--
|
|
83
|
-
--
|
|
84
|
-
--
|
|
70
|
+
--background: 240 8% 5%;
|
|
71
|
+
--foreground: 240 6% 93%;
|
|
72
|
+
--card: 240 5% 8%;
|
|
73
|
+
--card-foreground: 240 6% 93%;
|
|
74
|
+
--popover: 240 4% 13%;
|
|
75
|
+
--popover-foreground: 240 6% 93%;
|
|
76
|
+
/* 74% L (brand's #818CF8 intent) so primary clears AA as TEXT on a primary/10
|
|
77
|
+
tint in dark; the solid primary button pairs it with a light foreground. */
|
|
78
|
+
--primary: 239 84% 74%;
|
|
79
|
+
--primary-foreground: 0 0% 100%;
|
|
80
|
+
--secondary: 240 5% 11%;
|
|
81
|
+
--secondary-foreground: 240 6% 93%;
|
|
82
|
+
--muted: 240 5% 11%;
|
|
83
|
+
--muted-foreground: 240 4% 62%;
|
|
84
|
+
--accent: 240 5% 11%;
|
|
85
|
+
--accent-foreground: 240 6% 93%;
|
|
86
|
+
--destructive: 348 90% 68%;
|
|
85
87
|
--destructive-foreground: 0 0% 12%;
|
|
86
|
-
--border:
|
|
87
|
-
--input:
|
|
88
|
-
--ring:
|
|
89
|
-
--success:
|
|
90
|
-
--success-foreground:
|
|
91
|
-
--warning:
|
|
88
|
+
--border: 240 3% 13%;
|
|
89
|
+
--input: 240 5% 11%;
|
|
90
|
+
--ring: 239 84% 74%;
|
|
91
|
+
--success: 160 70% 52%;
|
|
92
|
+
--success-foreground: 160 84% 10%;
|
|
93
|
+
--warning: 40 94% 56%;
|
|
92
94
|
--warning-foreground: 38 92% 12%;
|
|
93
95
|
|
|
94
|
-
--canvas-backdrop: hsl(
|
|
96
|
+
--canvas-backdrop: hsl(240 8% 5%);
|
|
95
97
|
}
|
|
@@ -260,13 +260,18 @@ interface SeatPaywallProps {
|
|
|
260
260
|
tagline?: string;
|
|
261
261
|
/** CTA label. Default "Unlock {product}". */
|
|
262
262
|
ctaLabel?: string;
|
|
263
|
+
/** Value-prop bullets. Default = product/usage-derived only; pass your own to
|
|
264
|
+
* supply product-specific value props (the shell bakes no GTM copy). */
|
|
265
|
+
benefits?: ReactNode[];
|
|
266
|
+
/** Optional fine print under the CTA (e.g. "Cancel anytime."). Omitted by default. */
|
|
267
|
+
footnote?: ReactNode;
|
|
263
268
|
}
|
|
264
269
|
/**
|
|
265
270
|
* Centered card paywall. The price line reads
|
|
266
271
|
* "$100/mo · includes $50/mo of AI usage" so the included allowance anchors the
|
|
267
272
|
* value without ever exposing the ratio.
|
|
268
273
|
*/
|
|
269
|
-
declare function SeatPaywall({ product, onCheckout, priceUsd, includedUsageUsd, tagline, ctaLabel, }: SeatPaywallProps): ReactNode;
|
|
274
|
+
declare function SeatPaywall({ product, onCheckout, priceUsd, includedUsageUsd, tagline, ctaLabel, benefits, footnote, }: SeatPaywallProps): ReactNode;
|
|
270
275
|
|
|
271
276
|
/**
|
|
272
277
|
* Keyboard + pointer model for a trigger-and-popover pair, dependency-free.
|
package/dist/web-react/index.js
CHANGED
|
@@ -895,7 +895,9 @@ function SeatPaywall({
|
|
|
895
895
|
priceUsd = 100,
|
|
896
896
|
includedUsageUsd = 50,
|
|
897
897
|
tagline,
|
|
898
|
-
ctaLabel
|
|
898
|
+
ctaLabel,
|
|
899
|
+
benefits,
|
|
900
|
+
footnote
|
|
899
901
|
}) {
|
|
900
902
|
const { pending, run } = usePending();
|
|
901
903
|
return /* @__PURE__ */ jsx4("div", { className: "flex min-h-[60vh] w-full items-center justify-center p-6", children: /* @__PURE__ */ jsxs4("div", { className: "w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-sm", children: [
|
|
@@ -917,18 +919,10 @@ function SeatPaywall({
|
|
|
917
919
|
includedUsageUsd,
|
|
918
920
|
"/mo of AI usage"
|
|
919
921
|
] }),
|
|
920
|
-
/* @__PURE__ */
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
] }),
|
|
925
|
-
/* @__PURE__ */ jsxs4(Benefit, { children: [
|
|
926
|
-
"$",
|
|
927
|
-
includedUsageUsd,
|
|
928
|
-
"/mo of AI usage included, every month"
|
|
929
|
-
] }),
|
|
930
|
-
/* @__PURE__ */ jsx4(Benefit, { children: "One Tangle wallet across every product you run" })
|
|
931
|
-
] }),
|
|
922
|
+
/* @__PURE__ */ jsx4("ul", { className: "mt-6 space-y-2.5", children: (benefits ?? [
|
|
923
|
+
`Full access to ${product}`,
|
|
924
|
+
`$${includedUsageUsd}/mo of AI usage included, every month`
|
|
925
|
+
]).map((benefit, i) => /* @__PURE__ */ jsx4(Benefit, { children: benefit }, i)) }),
|
|
932
926
|
/* @__PURE__ */ jsx4(
|
|
933
927
|
"button",
|
|
934
928
|
{
|
|
@@ -939,7 +933,7 @@ function SeatPaywall({
|
|
|
939
933
|
children: pending ? "Opening checkout\u2026" : ctaLabel ?? `Unlock ${product}`
|
|
940
934
|
}
|
|
941
935
|
),
|
|
942
|
-
/* @__PURE__ */ jsx4("p", { className: "mt-3 text-center text-xs text-muted-foreground/70", children:
|
|
936
|
+
footnote && /* @__PURE__ */ jsx4("p", { className: "mt-3 text-center text-xs text-muted-foreground/70", children: footnote })
|
|
943
937
|
] }) });
|
|
944
938
|
}
|
|
945
939
|
|