@almadar/std 16.228.0 → 16.230.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 (170) hide show
  1. package/behaviors/behaviors-registry.json +97602 -98073
  2. package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +2 -2
  3. package/behaviors/lolo/ui/core/atoms/std-book-reader.lolo +316 -0
  4. package/behaviors/lolo/ui/core/atoms/std-card-grid.lolo +172 -0
  5. package/behaviors/lolo/ui/core/atoms/std-hero.lolo +247 -0
  6. package/behaviors/lolo/ui/core/atoms/std-media-section.lolo +154 -0
  7. package/behaviors/lolo/ui/core/atoms/std-pricing.lolo +177 -0
  8. package/behaviors/lolo/ui/core/atoms/std-prose.lolo +85 -0
  9. package/behaviors/lolo/ui/core/atoms/std-site-footer.lolo +159 -0
  10. package/behaviors/lolo/ui/core/atoms/std-site-header.lolo +131 -0
  11. package/behaviors/lolo/ui/core/atoms/std-stat-band.lolo +83 -0
  12. package/behaviors/lolo/ui/core/atoms/std-stats.lolo +4 -5
  13. package/behaviors/lolo/ui/core/atoms/std-steps.lolo +124 -0
  14. package/behaviors/lolo/ui/core/atoms/ui-box.lolo +5 -0
  15. package/behaviors/lolo/ui/core/atoms/ui-button.lolo +6 -1
  16. package/behaviors/lolo/ui/core/atoms/ui-image.lolo +64 -0
  17. package/behaviors/lolo/ui/{marketing/atoms → core/molecules}/ui-animated-counter.lolo +11 -6
  18. package/behaviors/lolo/ui/core/organisms/ui-chat-bar.lolo +5 -0
  19. package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +1 -1
  20. package/behaviors/lolo-behavior-contracts.json +1 -1
  21. package/behaviors/registry/factory-signatures.json +1 -1
  22. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +45 -9
  23. package/behaviors/registry/ui/core/atoms/std-book-reader.orb +1269 -0
  24. package/behaviors/registry/ui/core/atoms/std-card-grid.orb +826 -0
  25. package/behaviors/registry/ui/core/atoms/std-hero.orb +811 -0
  26. package/behaviors/registry/ui/core/atoms/std-media-section.orb +740 -0
  27. package/behaviors/registry/ui/core/atoms/std-pricing.orb +751 -0
  28. package/behaviors/registry/ui/core/atoms/std-prose.orb +264 -0
  29. package/behaviors/registry/ui/core/atoms/std-site-footer.orb +589 -0
  30. package/behaviors/registry/ui/core/atoms/std-site-header.orb +530 -0
  31. package/behaviors/registry/ui/core/atoms/std-stat-band.orb +311 -0
  32. package/behaviors/registry/ui/core/atoms/std-stats.orb +4 -5
  33. package/behaviors/registry/ui/core/atoms/std-steps.orb +532 -0
  34. package/behaviors/registry/ui/{marketing → core}/atoms/ui-animated-graphic.orb +20 -20
  35. package/behaviors/registry/ui/{marketing → core}/atoms/ui-animated-reveal.orb +20 -20
  36. package/behaviors/registry/ui/core/atoms/ui-box.orb +7 -0
  37. package/behaviors/registry/ui/core/atoms/ui-button.orb +9 -1
  38. package/behaviors/registry/ui/core/atoms/ui-image.orb +231 -0
  39. package/behaviors/registry/ui/{marketing → core}/atoms/ui-pattern-tile.orb +20 -20
  40. package/behaviors/registry/ui/{marketing/atoms → core/molecules}/ui-animated-counter.orb +33 -26
  41. package/behaviors/registry/ui/{marketing/atoms → core/molecules}/ui-feature-card.orb +20 -20
  42. package/behaviors/registry/ui/{marketing/atoms → core/molecules}/ui-geometric-pattern.orb +20 -20
  43. package/behaviors/registry/ui/core/organisms/ui-chat-bar.orb +7 -0
  44. package/behaviors/registry/ui/{marketing → core}/templates/ui-auth-layout.orb +20 -20
  45. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +1 -1
  46. package/behaviors/signatures.lolo +1070 -2984
  47. package/canonical-operators.json +3 -3
  48. package/dist/behaviors/exports-reader.js +3818 -10339
  49. package/dist/behaviors/functions/index.d.ts +3965 -6984
  50. package/dist/behaviors/functions/index.js +3786 -10195
  51. package/dist/behaviors/index.d.ts +1 -1
  52. package/dist/behaviors/index.js +3819 -10340
  53. package/dist/behaviors/query.js +3818 -10339
  54. package/dist/behaviors-embeddings.hash.json +3 -3
  55. package/dist/behaviors-embeddings.json +77 -237
  56. package/dist/behaviors-registry.json +97602 -98073
  57. package/dist/index.d.ts +1 -1
  58. package/dist/index.js +3821 -10342
  59. package/dist/knob-embeddings.hash.json +3 -3
  60. package/dist/knob-embeddings.json +352 -1212
  61. package/dist/modules/core.js +2 -2
  62. package/dist/modules/index.js +2 -2
  63. package/dist/registry/factory-signatures.json +1 -1
  64. package/dist/registry.js +2 -2
  65. package/i18n/ar.json +8 -4
  66. package/i18n/en.json +4 -0
  67. package/i18n/sl.json +8 -4
  68. package/package.json +4 -6
  69. package/behaviors/lolo/ui/marketing/atoms/std-marketing-article.lolo +0 -31
  70. package/behaviors/lolo/ui/marketing/atoms/std-marketing-cta.lolo +0 -93
  71. package/behaviors/lolo/ui/marketing/atoms/std-marketing-features.lolo +0 -83
  72. package/behaviors/lolo/ui/marketing/atoms/std-marketing-footer.lolo +0 -72
  73. package/behaviors/lolo/ui/marketing/atoms/std-marketing-hero.lolo +0 -131
  74. package/behaviors/lolo/ui/marketing/atoms/std-marketing-nav.lolo +0 -86
  75. package/behaviors/lolo/ui/marketing/atoms/std-marketing-pricing.lolo +0 -85
  76. package/behaviors/lolo/ui/marketing/atoms/std-marketing-showcase.lolo +0 -87
  77. package/behaviors/lolo/ui/marketing/atoms/std-marketing-split.lolo +0 -50
  78. package/behaviors/lolo/ui/marketing/atoms/std-marketing-stats.lolo +0 -43
  79. package/behaviors/lolo/ui/marketing/atoms/std-marketing-steps.lolo +0 -48
  80. package/behaviors/lolo/ui/marketing/atoms/std-marketing-team.lolo +0 -51
  81. package/behaviors/lolo/ui/marketing/atoms/ui-article-section.lolo +0 -44
  82. package/behaviors/lolo/ui/marketing/atoms/ui-case-study-card.lolo +0 -60
  83. package/behaviors/lolo/ui/marketing/atoms/ui-community-links.lolo +0 -67
  84. package/behaviors/lolo/ui/marketing/atoms/ui-content-section.lolo +0 -44
  85. package/behaviors/lolo/ui/marketing/atoms/ui-cta-banner.lolo +0 -68
  86. package/behaviors/lolo/ui/marketing/atoms/ui-hero-section.lolo +0 -112
  87. package/behaviors/lolo/ui/marketing/atoms/ui-install-box.lolo +0 -39
  88. package/behaviors/lolo/ui/marketing/atoms/ui-marketing-footer.lolo +0 -58
  89. package/behaviors/lolo/ui/marketing/atoms/ui-marketing-stat-card.lolo +0 -45
  90. package/behaviors/lolo/ui/marketing/atoms/ui-pricing-card.lolo +0 -70
  91. package/behaviors/lolo/ui/marketing/atoms/ui-pricing-grid.lolo +0 -49
  92. package/behaviors/lolo/ui/marketing/atoms/ui-pull-quote.lolo +0 -34
  93. package/behaviors/lolo/ui/marketing/atoms/ui-service-catalog.lolo +0 -40
  94. package/behaviors/lolo/ui/marketing/atoms/ui-showcase-card.lolo +0 -64
  95. package/behaviors/lolo/ui/marketing/atoms/ui-split-section.lolo +0 -69
  96. package/behaviors/lolo/ui/marketing/atoms/ui-stats-grid.lolo +0 -44
  97. package/behaviors/lolo/ui/marketing/atoms/ui-step-flow.lolo +0 -51
  98. package/behaviors/lolo/ui/marketing/atoms/ui-tag-cloud.lolo +0 -45
  99. package/behaviors/lolo/ui/marketing/atoms/ui-team-card.lolo +0 -54
  100. package/behaviors/lolo/ui/marketing/organisms/ui-book-chapter-view.lolo +0 -63
  101. package/behaviors/lolo/ui/marketing/organisms/ui-book-cover-page.lolo +0 -54
  102. package/behaviors/lolo/ui/marketing/organisms/ui-book-nav-bar.lolo +0 -49
  103. package/behaviors/lolo/ui/marketing/organisms/ui-book-table-of-contents.lolo +0 -70
  104. package/behaviors/lolo/ui/marketing/organisms/ui-book-viewer.lolo +0 -161
  105. package/behaviors/lolo/ui/marketing/organisms/ui-case-study-organism.lolo +0 -153
  106. package/behaviors/lolo/ui/marketing/organisms/ui-feature-grid-organism.lolo +0 -159
  107. package/behaviors/lolo/ui/marketing/organisms/ui-hero-organism.lolo +0 -162
  108. package/behaviors/lolo/ui/marketing/organisms/ui-pricing-organism.lolo +0 -155
  109. package/behaviors/lolo/ui/marketing/organisms/ui-showcase-organism.lolo +0 -164
  110. package/behaviors/lolo/ui/marketing/organisms/ui-stats-organism.lolo +0 -142
  111. package/behaviors/lolo/ui/marketing/organisms/ui-step-flow-organism.lolo +0 -165
  112. package/behaviors/lolo/ui/marketing/organisms/ui-team-organism.lolo +0 -152
  113. package/behaviors/lolo/ui/marketing/templates/ui-about-page-template.lolo +0 -105
  114. package/behaviors/lolo/ui/marketing/templates/ui-feature-detail-page-template.lolo +0 -93
  115. package/behaviors/lolo/ui/marketing/templates/ui-landing-page-template.lolo +0 -144
  116. package/behaviors/lolo/ui/marketing/templates/ui-pricing-page-template.lolo +0 -89
  117. package/behaviors/registry/ui/marketing/atoms/std-marketing-article.orb +0 -121
  118. package/behaviors/registry/ui/marketing/atoms/std-marketing-cta.orb +0 -360
  119. package/behaviors/registry/ui/marketing/atoms/std-marketing-features.orb +0 -305
  120. package/behaviors/registry/ui/marketing/atoms/std-marketing-footer.orb +0 -265
  121. package/behaviors/registry/ui/marketing/atoms/std-marketing-hero.orb +0 -424
  122. package/behaviors/registry/ui/marketing/atoms/std-marketing-nav.orb +0 -288
  123. package/behaviors/registry/ui/marketing/atoms/std-marketing-pricing.orb +0 -366
  124. package/behaviors/registry/ui/marketing/atoms/std-marketing-showcase.orb +0 -415
  125. package/behaviors/registry/ui/marketing/atoms/std-marketing-split.orb +0 -152
  126. package/behaviors/registry/ui/marketing/atoms/std-marketing-stats.orb +0 -151
  127. package/behaviors/registry/ui/marketing/atoms/std-marketing-steps.orb +0 -221
  128. package/behaviors/registry/ui/marketing/atoms/std-marketing-team.orb +0 -239
  129. package/behaviors/registry/ui/marketing/atoms/ui-article-section.orb +0 -176
  130. package/behaviors/registry/ui/marketing/atoms/ui-case-study-card.orb +0 -195
  131. package/behaviors/registry/ui/marketing/atoms/ui-community-links.orb +0 -254
  132. package/behaviors/registry/ui/marketing/atoms/ui-content-section.orb +0 -182
  133. package/behaviors/registry/ui/marketing/atoms/ui-cta-banner.orb +0 -254
  134. package/behaviors/registry/ui/marketing/atoms/ui-hero-section.orb +0 -345
  135. package/behaviors/registry/ui/marketing/atoms/ui-install-box.orb +0 -163
  136. package/behaviors/registry/ui/marketing/atoms/ui-marketing-footer.orb +0 -298
  137. package/behaviors/registry/ui/marketing/atoms/ui-marketing-stat-card.orb +0 -177
  138. package/behaviors/registry/ui/marketing/atoms/ui-pricing-card.orb +0 -237
  139. package/behaviors/registry/ui/marketing/atoms/ui-pricing-grid.orb +0 -313
  140. package/behaviors/registry/ui/marketing/atoms/ui-pull-quote.orb +0 -156
  141. package/behaviors/registry/ui/marketing/atoms/ui-service-catalog.orb +0 -205
  142. package/behaviors/registry/ui/marketing/atoms/ui-showcase-card.orb +0 -221
  143. package/behaviors/registry/ui/marketing/atoms/ui-split-section.orb +0 -239
  144. package/behaviors/registry/ui/marketing/atoms/ui-stats-grid.orb +0 -202
  145. package/behaviors/registry/ui/marketing/atoms/ui-step-flow.orb +0 -236
  146. package/behaviors/registry/ui/marketing/atoms/ui-tag-cloud.orb +0 -217
  147. package/behaviors/registry/ui/marketing/atoms/ui-team-card.orb +0 -186
  148. package/behaviors/registry/ui/marketing/organisms/ui-book-chapter-view.orb +0 -277
  149. package/behaviors/registry/ui/marketing/organisms/ui-book-cover-page.orb +0 -190
  150. package/behaviors/registry/ui/marketing/organisms/ui-book-nav-bar.orb +0 -183
  151. package/behaviors/registry/ui/marketing/organisms/ui-book-table-of-contents.orb +0 -286
  152. package/behaviors/registry/ui/marketing/organisms/ui-book-viewer.orb +0 -553
  153. package/behaviors/registry/ui/marketing/organisms/ui-case-study-organism.orb +0 -507
  154. package/behaviors/registry/ui/marketing/organisms/ui-feature-grid-organism.orb +0 -504
  155. package/behaviors/registry/ui/marketing/organisms/ui-hero-organism.orb +0 -635
  156. package/behaviors/registry/ui/marketing/organisms/ui-pricing-organism.orb +0 -539
  157. package/behaviors/registry/ui/marketing/organisms/ui-showcase-organism.orb +0 -542
  158. package/behaviors/registry/ui/marketing/organisms/ui-stats-organism.orb +0 -447
  159. package/behaviors/registry/ui/marketing/organisms/ui-step-flow-organism.orb +0 -505
  160. package/behaviors/registry/ui/marketing/organisms/ui-team-organism.orb +0 -494
  161. package/behaviors/registry/ui/marketing/templates/ui-about-page-template.orb +0 -752
  162. package/behaviors/registry/ui/marketing/templates/ui-feature-detail-page-template.orb +0 -638
  163. package/behaviors/registry/ui/marketing/templates/ui-landing-page-template.orb +0 -1028
  164. package/behaviors/registry/ui/marketing/templates/ui-pricing-page-template.orb +0 -603
  165. /package/behaviors/lolo/ui/{marketing → core}/atoms/ui-animated-graphic.lolo +0 -0
  166. /package/behaviors/lolo/ui/{marketing → core}/atoms/ui-animated-reveal.lolo +0 -0
  167. /package/behaviors/lolo/ui/{marketing → core}/atoms/ui-pattern-tile.lolo +0 -0
  168. /package/behaviors/lolo/ui/{marketing/atoms → core/molecules}/ui-feature-card.lolo +0 -0
  169. /package/behaviors/lolo/ui/{marketing/atoms → core/molecules}/ui-geometric-pattern.lolo +0 -0
  170. /package/behaviors/lolo/ui/{marketing → core}/templates/ui-auth-layout.lolo +0 -0
@@ -0,0 +1,751 @@
1
+ {
2
+ "description": "std-pricing — side-by-side plan cards from a config list: plan name, price and billing period, a one-line summary, the included features, and a link action per plan; one plan can be highlighted as recommended with a badge. Optional heading and footnote. Clicking a plan's action follows its href and emits PLAN_SELECTED. Pick for pricing pages, subscription tiers and service packages.",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01M3B9EHMYJMWT16GY4YVVFFQA": {
6
+ "bakedName": "PricingView",
7
+ "curName": "PricingView",
8
+ "id": "ent_01M3B9EHMYJMWT16GY4YVVFFQA",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01M3B9EHMY11DJ79Z9ZEHWJDVR": {
14
+ "bakedName": "INIT",
15
+ "curName": "INIT",
16
+ "id": "evt_01M3B9EHMY11DJ79Z9ZEHWJDVR",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01M3B9EHMYDEDQ3HJ11A59MDB0",
20
+ "renames": []
21
+ },
22
+ "evt_01M3B9EHMYNCDEQADTEZ52AKPP": {
23
+ "bakedName": "PLAN_CHOOSE",
24
+ "curName": "PLAN_CHOOSE",
25
+ "id": "evt_01M3B9EHMYNCDEQADTEZ52AKPP",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01M3B9EHMYDEDQ3HJ11A59MDB0",
29
+ "renames": []
30
+ },
31
+ "evt_01M3B9EHMYY0731RCKSV1N5WJ5": {
32
+ "bakedName": "PLAN_SELECTED",
33
+ "curName": "PLAN_SELECTED",
34
+ "id": "evt_01M3B9EHMYY0731RCKSV1N5WJ5",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01M3B9EHMYDEDQ3HJ11A59MDB0",
38
+ "renames": []
39
+ },
40
+ "orb_01M3B9EHMYGZE023BZ39P71PMN": {
41
+ "bakedName": "PricingOrbital",
42
+ "curName": "PricingOrbital",
43
+ "id": "orb_01M3B9EHMYGZE023BZ39P71PMN",
44
+ "kind": "orbital",
45
+ "owner": "workspace",
46
+ "renames": []
47
+ },
48
+ "pag_01M3B9EHMZ5B01JD03N1BFRGSF": {
49
+ "bakedName": "PricingPage",
50
+ "curName": "PricingPage",
51
+ "id": "pag_01M3B9EHMZ5B01JD03N1BFRGSF",
52
+ "kind": "page",
53
+ "owner": "workspace",
54
+ "renames": []
55
+ },
56
+ "trt_01M3B9EHMYDEDQ3HJ11A59MDB0": {
57
+ "bakedName": "PricingRender",
58
+ "curName": "PricingRender",
59
+ "id": "trt_01M3B9EHMYDEDQ3HJ11A59MDB0",
60
+ "kind": "trait",
61
+ "owner": "workspace",
62
+ "renames": []
63
+ }
64
+ },
65
+ "schemaVersion": 1
66
+ },
67
+ "name": "std-pricing",
68
+ "orbitals": [
69
+ {
70
+ "entity": {
71
+ "fields": [
72
+ {
73
+ "name": "id",
74
+ "required": true,
75
+ "type": "string"
76
+ }
77
+ ],
78
+ "id": "ent_01M3B9EHMYJMWT16GY4YVVFFQA",
79
+ "name": "PricingView",
80
+ "persistence": "runtime"
81
+ },
82
+ "id": "orb_01M3B9EHMYGZE023BZ39P71PMN",
83
+ "name": "PricingOrbital",
84
+ "pages": [
85
+ {
86
+ "id": "pag_01M3B9EHMZ5B01JD03N1BFRGSF",
87
+ "name": "PricingPage",
88
+ "path": "/pricing",
89
+ "traits": [
90
+ {
91
+ "ref": "PricingRender",
92
+ "refId": "trt_01M3B9EHMYDEDQ3HJ11A59MDB0"
93
+ }
94
+ ]
95
+ }
96
+ ],
97
+ "traits": [
98
+ {
99
+ "category": "interaction",
100
+ "config": {
101
+ "footnote": {
102
+ "default": "",
103
+ "description": "Small print under the plans, e.g. taxes or billing terms",
104
+ "label": "Footnote",
105
+ "tier": "presentation",
106
+ "type": "string"
107
+ },
108
+ "heading": {
109
+ "default": "",
110
+ "description": "Section heading above the plans; empty hides it",
111
+ "label": "Heading",
112
+ "synonyms": "title",
113
+ "tier": "presentation",
114
+ "type": "string"
115
+ },
116
+ "lede": {
117
+ "default": "",
118
+ "label": "Supporting text",
119
+ "tier": "presentation",
120
+ "type": "string"
121
+ },
122
+ "plans": {
123
+ "default": [
124
+ {
125
+ "actionHref": "#",
126
+ "actionLabel": "Start free",
127
+ "features": [
128
+ "1 project",
129
+ "Community support"
130
+ ],
131
+ "name": "Starter",
132
+ "period": "/month",
133
+ "price": "$0",
134
+ "summary": "For trying things out."
135
+ },
136
+ {
137
+ "actionHref": "#",
138
+ "actionLabel": "Choose Team",
139
+ "badge": "Popular",
140
+ "features": [
141
+ "Unlimited projects",
142
+ "Shared workspace",
143
+ "Priority support"
144
+ ],
145
+ "highlighted": true,
146
+ "name": "Team",
147
+ "period": "/month",
148
+ "price": "$29",
149
+ "summary": "For teams shipping every week."
150
+ }
151
+ ],
152
+ "description": "One card per plan: name, price, period, summary, features, action; `highlighted` marks the recommended plan",
153
+ "items": {
154
+ "properties": {
155
+ "actionHref": {
156
+ "name": "actionHref",
157
+ "required": false,
158
+ "type": "string"
159
+ },
160
+ "actionLabel": {
161
+ "name": "actionLabel",
162
+ "required": false,
163
+ "type": "string"
164
+ },
165
+ "badge": {
166
+ "name": "badge",
167
+ "required": false,
168
+ "type": "string"
169
+ },
170
+ "features": {
171
+ "items": {
172
+ "type": "string"
173
+ },
174
+ "name": "features",
175
+ "required": false,
176
+ "type": "array"
177
+ },
178
+ "highlighted": {
179
+ "name": "highlighted",
180
+ "required": false,
181
+ "type": "boolean"
182
+ },
183
+ "name": {
184
+ "name": "name",
185
+ "required": true,
186
+ "type": "string"
187
+ },
188
+ "period": {
189
+ "name": "period",
190
+ "required": false,
191
+ "type": "string"
192
+ },
193
+ "price": {
194
+ "name": "price",
195
+ "required": true,
196
+ "type": "string"
197
+ },
198
+ "summary": {
199
+ "name": "summary",
200
+ "required": false,
201
+ "type": "string"
202
+ }
203
+ },
204
+ "type": "object"
205
+ },
206
+ "label": "Plans",
207
+ "synonyms": "tiers, packages, subscriptions, pricing table",
208
+ "tier": "presentation",
209
+ "type": "[PricingPlan]"
210
+ },
211
+ "surface": {
212
+ "default": "plain",
213
+ "label": "Surface",
214
+ "tier": "presentation",
215
+ "type": "string",
216
+ "values": [
217
+ "plain",
218
+ "muted"
219
+ ]
220
+ }
221
+ },
222
+ "effectRow": [
223
+ {
224
+ "kind": "emit",
225
+ "resource": "PLAN_SELECTED"
226
+ },
227
+ {
228
+ "kind": "render-ui",
229
+ "resource": "main"
230
+ }
231
+ ],
232
+ "emits": [
233
+ {
234
+ "description": "A plan's action was clicked; carries the plan name and its href.",
235
+ "event": "PLAN_SELECTED",
236
+ "eventId": "evt_01M3B9EHMYY0731RCKSV1N5WJ5",
237
+ "payloadSchema": [
238
+ {
239
+ "name": "plan",
240
+ "type": "string"
241
+ },
242
+ {
243
+ "name": "href",
244
+ "type": "string"
245
+ }
246
+ ],
247
+ "scope": "external",
248
+ "synonyms": "choose plan, select tier, subscribe click",
249
+ "tier": "domain"
250
+ }
251
+ ],
252
+ "entityContract": {
253
+ "provides": [],
254
+ "requires": []
255
+ },
256
+ "entityRebindable": true,
257
+ "entityRefIds": {
258
+ "PricingView": "ent_01M3B9EHMYJMWT16GY4YVVFFQA"
259
+ },
260
+ "id": "trt_01M3B9EHMYDEDQ3HJ11A59MDB0",
261
+ "linkedEntity": "PricingView",
262
+ "linkedEntityId": "ent_01M3B9EHMYJMWT16GY4YVVFFQA",
263
+ "name": "PricingRender",
264
+ "scope": "instance",
265
+ "stateMachine": {
266
+ "events": [
267
+ {
268
+ "id": "evt_01M3B9EHMY11DJ79Z9ZEHWJDVR",
269
+ "key": "INIT",
270
+ "name": "Initialize"
271
+ },
272
+ {
273
+ "description": "Plan action click.",
274
+ "id": "evt_01M3B9EHMYNCDEQADTEZ52AKPP",
275
+ "key": "PLAN_CHOOSE",
276
+ "name": "Plan Choose",
277
+ "payloadSchema": [
278
+ {
279
+ "name": "plan",
280
+ "type": "string"
281
+ },
282
+ {
283
+ "name": "href",
284
+ "type": "string"
285
+ }
286
+ ],
287
+ "tier": "internal"
288
+ },
289
+ {
290
+ "description": "A plan's action was clicked; carries the plan name and its href.",
291
+ "id": "evt_01M3B9EHMYY0731RCKSV1N5WJ5",
292
+ "key": "PLAN_SELECTED",
293
+ "name": "Plan Selected",
294
+ "payloadSchema": [
295
+ {
296
+ "name": "plan",
297
+ "type": "string"
298
+ },
299
+ {
300
+ "name": "href",
301
+ "type": "string"
302
+ }
303
+ ],
304
+ "synonyms": "choose plan, select tier, subscribe click",
305
+ "tier": "domain"
306
+ }
307
+ ],
308
+ "states": [
309
+ {
310
+ "isInitial": true,
311
+ "name": "idle"
312
+ }
313
+ ],
314
+ "transitions": [
315
+ {
316
+ "effects": [
317
+ [
318
+ "render-ui",
319
+ "main",
320
+ {
321
+ "bg": [
322
+ "if",
323
+ [
324
+ "==",
325
+ "@config.surface",
326
+ "muted"
327
+ ],
328
+ "muted",
329
+ "transparent"
330
+ ],
331
+ "children": [
332
+ {
333
+ "children": [
334
+ {
335
+ "children": [
336
+ {
337
+ "align": "center",
338
+ "children": [
339
+ {
340
+ "align": "center",
341
+ "className": [
342
+ "if",
343
+ [
344
+ "==",
345
+ "@config.heading",
346
+ ""
347
+ ],
348
+ "hidden",
349
+ "tracking-tight text-balance"
350
+ ],
351
+ "content": "@config.heading",
352
+ "type": "typography",
353
+ "variant": "h2",
354
+ "weight": "bold"
355
+ },
356
+ {
357
+ "align": "center",
358
+ "className": [
359
+ "if",
360
+ [
361
+ "==",
362
+ "@config.lede",
363
+ ""
364
+ ],
365
+ "hidden",
366
+ "max-w-2xl text-pretty"
367
+ ],
368
+ "color": "muted",
369
+ "content": "@config.lede",
370
+ "type": "typography",
371
+ "variant": "large"
372
+ }
373
+ ],
374
+ "className": [
375
+ "if",
376
+ [
377
+ "==",
378
+ "@config.heading",
379
+ ""
380
+ ],
381
+ [
382
+ "if",
383
+ [
384
+ "==",
385
+ "@config.lede",
386
+ ""
387
+ ],
388
+ "hidden",
389
+ ""
390
+ ],
391
+ ""
392
+ ],
393
+ "direction": "vertical",
394
+ "gap": "sm",
395
+ "type": "stack"
396
+ },
397
+ {
398
+ "children": [
399
+ "array/map",
400
+ "@config.plans",
401
+ [
402
+ "fn",
403
+ "plan",
404
+ {
405
+ "children": [
406
+ {
407
+ "children": [
408
+ {
409
+ "align": "center",
410
+ "children": [
411
+ {
412
+ "content": [
413
+ "object/get",
414
+ "@plan",
415
+ "name",
416
+ ""
417
+ ],
418
+ "type": "typography",
419
+ "variant": "h4",
420
+ "weight": "semibold"
421
+ },
422
+ {
423
+ "label": [
424
+ "object/get",
425
+ "@plan",
426
+ "badge",
427
+ ""
428
+ ],
429
+ "type": "badge",
430
+ "variant": "primary"
431
+ }
432
+ ],
433
+ "direction": "horizontal",
434
+ "gap": "sm",
435
+ "justify": "between",
436
+ "type": "stack"
437
+ },
438
+ {
439
+ "align": "baseline",
440
+ "children": [
441
+ {
442
+ "className": "tracking-tight",
443
+ "content": [
444
+ "object/get",
445
+ "@plan",
446
+ "price",
447
+ ""
448
+ ],
449
+ "type": "typography",
450
+ "variant": "h2",
451
+ "weight": "bold"
452
+ },
453
+ {
454
+ "className": [
455
+ "if",
456
+ [
457
+ "==",
458
+ [
459
+ "object/get",
460
+ "@plan",
461
+ "period",
462
+ ""
463
+ ],
464
+ ""
465
+ ],
466
+ "hidden",
467
+ ""
468
+ ],
469
+ "color": "muted",
470
+ "content": [
471
+ "object/get",
472
+ "@plan",
473
+ "period",
474
+ ""
475
+ ],
476
+ "type": "typography",
477
+ "variant": "body"
478
+ }
479
+ ],
480
+ "direction": "horizontal",
481
+ "gap": "xs",
482
+ "type": "stack"
483
+ },
484
+ {
485
+ "className": [
486
+ "if",
487
+ [
488
+ "==",
489
+ [
490
+ "object/get",
491
+ "@plan",
492
+ "summary",
493
+ ""
494
+ ],
495
+ ""
496
+ ],
497
+ "hidden",
498
+ "text-pretty"
499
+ ],
500
+ "color": "muted",
501
+ "content": [
502
+ "object/get",
503
+ "@plan",
504
+ "summary",
505
+ ""
506
+ ],
507
+ "type": "typography",
508
+ "variant": "body"
509
+ },
510
+ {
511
+ "type": "divider"
512
+ },
513
+ {
514
+ "className": "flex-1",
515
+ "content": [
516
+ "if",
517
+ [
518
+ "==",
519
+ [
520
+ "array/len",
521
+ [
522
+ "object/get",
523
+ "@plan",
524
+ "features",
525
+ []
526
+ ]
527
+ ],
528
+ 0.0
529
+ ],
530
+ "",
531
+ [
532
+ "str/concat",
533
+ "- ",
534
+ [
535
+ "str/join",
536
+ [
537
+ "object/get",
538
+ "@plan",
539
+ "features",
540
+ []
541
+ ],
542
+ "\n- "
543
+ ]
544
+ ]
545
+ ],
546
+ "type": "markdown-content"
547
+ },
548
+ {
549
+ "action": "PLAN_CHOOSE",
550
+ "actionPayload": {
551
+ "href": [
552
+ "object/get",
553
+ "@plan",
554
+ "actionHref",
555
+ ""
556
+ ],
557
+ "plan": [
558
+ "object/get",
559
+ "@plan",
560
+ "name",
561
+ ""
562
+ ]
563
+ },
564
+ "className": [
565
+ "if",
566
+ [
567
+ "==",
568
+ [
569
+ "object/get",
570
+ "@plan",
571
+ "actionLabel",
572
+ ""
573
+ ],
574
+ ""
575
+ ],
576
+ "hidden",
577
+ "w-full"
578
+ ],
579
+ "href": [
580
+ "object/get",
581
+ "@plan",
582
+ "actionHref",
583
+ ""
584
+ ],
585
+ "label": [
586
+ "object/get",
587
+ "@plan",
588
+ "actionLabel",
589
+ ""
590
+ ],
591
+ "size": "lg",
592
+ "type": "button",
593
+ "variant": [
594
+ "if",
595
+ [
596
+ "object/get",
597
+ "@plan",
598
+ "highlighted",
599
+ false
600
+ ],
601
+ "primary",
602
+ "secondary"
603
+ ]
604
+ }
605
+ ],
606
+ "className": "h-full",
607
+ "direction": "vertical",
608
+ "gap": "md",
609
+ "type": "stack"
610
+ }
611
+ ],
612
+ "className": [
613
+ "if",
614
+ [
615
+ "object/get",
616
+ "@plan",
617
+ "highlighted",
618
+ false
619
+ ],
620
+ "h-full ring-2 ring-primary",
621
+ "h-full"
622
+ ],
623
+ "look": "elevated",
624
+ "padding": "lg",
625
+ "type": "card"
626
+ }
627
+ ]
628
+ ],
629
+ "className": "items-stretch",
630
+ "cols": [
631
+ "math/min",
632
+ [
633
+ "math/max",
634
+ [
635
+ "array/len",
636
+ "@config.plans"
637
+ ],
638
+ 1.0
639
+ ],
640
+ 4.0
641
+ ],
642
+ "gap": "lg",
643
+ "type": "simple-grid"
644
+ },
645
+ {
646
+ "align": "center",
647
+ "className": [
648
+ "if",
649
+ [
650
+ "==",
651
+ "@config.footnote",
652
+ ""
653
+ ],
654
+ "hidden",
655
+ ""
656
+ ],
657
+ "color": "muted",
658
+ "content": "@config.footnote",
659
+ "type": "typography",
660
+ "variant": "caption"
661
+ }
662
+ ],
663
+ "direction": "vertical",
664
+ "gap": "xl",
665
+ "type": "stack"
666
+ }
667
+ ],
668
+ "maxWidth": "xl",
669
+ "padding": "lg",
670
+ "size": "xl",
671
+ "type": "container"
672
+ }
673
+ ],
674
+ "fullWidth": true,
675
+ "paddingY": "xl",
676
+ "type": "box"
677
+ }
678
+ ]
679
+ ],
680
+ "event": "INIT",
681
+ "eventId": "evt_01M3B9EHMY11DJ79Z9ZEHWJDVR",
682
+ "from": "idle",
683
+ "to": "idle"
684
+ },
685
+ {
686
+ "effects": [
687
+ [
688
+ "emit",
689
+ "PLAN_SELECTED",
690
+ {
691
+ "href": "@payload.href",
692
+ "plan": "@payload.plan"
693
+ }
694
+ ]
695
+ ],
696
+ "event": "PLAN_CHOOSE",
697
+ "eventId": "evt_01M3B9EHMYNCDEQADTEZ52AKPP",
698
+ "from": "idle",
699
+ "to": "idle"
700
+ }
701
+ ]
702
+ }
703
+ }
704
+ ],
705
+ "types": {
706
+ "PricingPlan": [
707
+ {
708
+ "name": "name",
709
+ "required": true,
710
+ "type": "string"
711
+ },
712
+ {
713
+ "name": "price",
714
+ "required": true,
715
+ "type": "string"
716
+ },
717
+ {
718
+ "name": "period",
719
+ "type": "string"
720
+ },
721
+ {
722
+ "name": "summary",
723
+ "type": "string"
724
+ },
725
+ {
726
+ "name": "features",
727
+ "type": "[string]"
728
+ },
729
+ {
730
+ "name": "actionLabel",
731
+ "type": "string"
732
+ },
733
+ {
734
+ "name": "actionHref",
735
+ "type": "string"
736
+ },
737
+ {
738
+ "name": "highlighted",
739
+ "type": "boolean"
740
+ },
741
+ {
742
+ "name": "badge",
743
+ "type": "string"
744
+ }
745
+ ]
746
+ }
747
+ }
748
+ ],
749
+ "schemaVersion": 1,
750
+ "version": "1.0.0"
751
+ }