@muibook/components 19.6.0 → 20.1.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 (172) hide show
  1. package/AGENTS.md +67 -0
  2. package/DESIGN.md +358 -0
  3. package/README.md +53 -2
  4. package/dist/esm/agent/keywords/index.js +2 -173
  5. package/dist/esm/agent/prompts/index.js +6 -432
  6. package/dist/esm/components/mui-accordion/core/index.js +25 -17
  7. package/dist/esm/components/mui-addon/index.js +14 -14
  8. package/dist/esm/components/mui-avatar/index.js +103 -43
  9. package/dist/esm/components/mui-avatar-chip/index.js +158 -0
  10. package/dist/esm/components/mui-avatar-group/index.js +88 -0
  11. package/dist/esm/components/mui-badge/index.js +37 -20
  12. package/dist/esm/components/mui-body/index.js +20 -11
  13. package/dist/esm/components/mui-button/index.js +265 -78
  14. package/dist/esm/components/mui-calendar/index.js +199 -0
  15. package/dist/esm/components/mui-card/body/index.js +33 -18
  16. package/dist/esm/components/mui-card/footer/index.js +11 -9
  17. package/dist/esm/components/mui-carousel/controller/index.js +1 -1
  18. package/dist/esm/components/mui-checkbox/index.js +23 -18
  19. package/dist/esm/components/mui-chip/index.js +219 -73
  20. package/dist/esm/components/mui-chip-input/index.js +146 -137
  21. package/dist/esm/components/mui-chip-rail/index.js +342 -0
  22. package/dist/esm/components/mui-code/index.js +26 -7
  23. package/dist/esm/components/mui-container/index.js +68 -45
  24. package/dist/esm/components/mui-date-picker/index.js +169 -0
  25. package/dist/esm/components/mui-drawer/index.js +968 -100
  26. package/dist/esm/components/mui-dropdown/index.js +255 -59
  27. package/dist/esm/components/mui-field/index.js +1 -1
  28. package/dist/esm/components/mui-file-upload/index.js +14 -4
  29. package/dist/esm/components/mui-form-group/index.js +1 -2
  30. package/dist/esm/components/mui-form-message/index.js +4 -9
  31. package/dist/esm/components/mui-heading/index.js +3 -2
  32. package/dist/esm/components/mui-hint/index.js +178 -72
  33. package/dist/esm/components/mui-icons/copy/index.js +54 -0
  34. package/dist/esm/components/mui-icons/fullscreen/index.js +5 -0
  35. package/dist/esm/components/mui-icons/icon-helper/index.js +56 -0
  36. package/dist/esm/components/mui-icons/index.js +14 -1
  37. package/dist/esm/components/mui-icons/moon/index.js +3 -1
  38. package/dist/esm/components/mui-icons/{rectangle-bottom-panel → panel}/index.js +6 -6
  39. package/dist/esm/components/mui-icons/pause/index.js +5 -0
  40. package/dist/esm/components/mui-icons/picture-in-picture/index.js +5 -0
  41. package/dist/esm/components/mui-icons/play-fill/index.js +5 -0
  42. package/dist/esm/components/mui-icons/rectangle-right-drawer/index.js +56 -0
  43. package/dist/esm/components/mui-icons/reload/index.js +5 -0
  44. package/dist/esm/components/mui-icons/speaker-mute/index.js +5 -0
  45. package/dist/esm/components/mui-icons/speaker-one-wave/index.js +5 -0
  46. package/dist/esm/components/mui-icons/speaker-two-wave/index.js +5 -0
  47. package/dist/esm/components/mui-icons/spinner/index.js +7 -5
  48. package/dist/esm/components/mui-icons/stop-fill/index.js +5 -0
  49. package/dist/esm/components/mui-icons/sun/index.js +5 -5
  50. package/dist/esm/components/mui-icons/timer/index.js +54 -0
  51. package/dist/esm/components/mui-icons/toggle/index.js +16 -6
  52. package/dist/esm/components/mui-icons/vertical-ellipsis/index.js +5 -0
  53. package/dist/esm/components/mui-illustrations/trash/index.js +6 -5
  54. package/dist/esm/components/mui-input/index.js +96 -67
  55. package/dist/esm/components/mui-link/index.js +352 -96
  56. package/dist/esm/components/mui-media-player/index.js +1577 -83
  57. package/dist/esm/components/mui-message/index.js +7 -6
  58. package/dist/esm/components/mui-model-viewer/index.js +258 -0
  59. package/dist/esm/components/mui-progress-ring/index.js +349 -0
  60. package/dist/esm/components/mui-prompt/index.js +143 -115
  61. package/dist/esm/components/mui-prompt-preview/index.js +11 -23
  62. package/dist/esm/components/mui-radio/index.js +38 -17
  63. package/dist/esm/components/mui-range-input/index.js +9 -4
  64. package/dist/esm/components/mui-responsive/index.js +60 -27
  65. package/dist/esm/components/mui-search-input/index.js +300 -0
  66. package/dist/esm/components/mui-select/index.js +235 -46
  67. package/dist/esm/components/mui-slat/slat/index.js +40 -12
  68. package/dist/esm/components/mui-spinner/index.js +11 -9
  69. package/dist/esm/components/mui-stack/hstack/index.js +10 -5
  70. package/dist/esm/components/mui-status/index.js +239 -0
  71. package/dist/esm/components/mui-stepper/step/index.js +46 -32
  72. package/dist/esm/components/mui-switch/index.js +37 -26
  73. package/dist/esm/components/mui-table/row/index.js +2 -6
  74. package/dist/esm/components/mui-table/table/index.js +157 -14
  75. package/dist/esm/components/mui-tabs/controller/index.js +17 -6
  76. package/dist/esm/components/mui-tabs/item/index.js +17 -5
  77. package/dist/esm/components/mui-tabs/tab-bar/index.js +93 -39
  78. package/dist/esm/components/mui-textarea/index.js +43 -26
  79. package/dist/esm/components/mui-time/index/index.js +336 -0
  80. package/dist/esm/components/mui-time-picker/index.js +126 -0
  81. package/dist/esm/components/mui-video-thumbnail/index.js +205 -0
  82. package/dist/esm/css/mui-brand.css +12 -8
  83. package/dist/esm/css/mui-tokens.css +646 -344
  84. package/dist/esm/css/readme.md +2 -2
  85. package/dist/esm/custom-elements.json +4506 -1707
  86. package/dist/esm/dynamic-attrs.json +271 -54
  87. package/dist/esm/index.js +33 -6
  88. package/dist/esm/knowledge/compositions/index.js +1560 -0
  89. package/dist/esm/knowledge/index.js +28 -0
  90. package/dist/esm/knowledge/keywords/index.js +306 -0
  91. package/dist/esm/knowledge/rules/index.js +199 -0
  92. package/dist/esm/tokens/js/index.js +143 -139
  93. package/dist/types/agent/keywords/index.d.ts +1 -1
  94. package/dist/types/components/mui-avatar-chip/api.d.ts +28 -0
  95. package/dist/types/components/mui-avatar-chip/index.d.ts +18 -0
  96. package/dist/types/components/mui-avatar-group/api.d.ts +28 -0
  97. package/dist/types/components/mui-avatar-group/doc.d.ts +2 -0
  98. package/dist/types/components/mui-avatar-group/index.d.ts +1 -0
  99. package/dist/types/components/mui-button/api.d.ts +6 -2
  100. package/dist/types/components/mui-calendar/api.d.ts +41 -0
  101. package/dist/types/components/mui-calendar/doc.d.ts +2 -0
  102. package/dist/types/components/mui-calendar/index.d.ts +3 -0
  103. package/dist/types/components/mui-checkbox/api.d.ts +4 -0
  104. package/dist/types/components/mui-chip/api.d.ts +4 -0
  105. package/dist/types/components/mui-chip-input/api.d.ts +4 -0
  106. package/dist/types/components/mui-chip-rail/api.d.ts +21 -0
  107. package/dist/types/components/mui-chip-rail/doc.d.ts +2 -0
  108. package/dist/types/components/mui-chip-rail/index.d.ts +4 -0
  109. package/dist/types/components/mui-date-picker/api.d.ts +38 -0
  110. package/dist/types/components/mui-date-picker/doc.d.ts +2 -0
  111. package/dist/types/components/mui-date-picker/index.d.ts +6 -0
  112. package/dist/types/components/mui-drawer/api.d.ts +4 -0
  113. package/dist/types/components/mui-drawer/index.d.ts +2 -0
  114. package/dist/types/components/mui-file-upload/api.d.ts +4 -0
  115. package/dist/types/components/mui-icons/fullscreen.d.ts +1 -0
  116. package/dist/types/components/mui-icons/icon-helper.d.ts +1 -0
  117. package/dist/types/components/mui-icons/index.d.ts +14 -1
  118. package/dist/types/components/mui-icons/panel.d.ts +1 -0
  119. package/dist/types/components/mui-icons/pause.d.ts +1 -0
  120. package/dist/types/components/mui-icons/picture-in-picture.d.ts +1 -0
  121. package/dist/types/components/mui-icons/play-fill.d.ts +1 -0
  122. package/dist/types/components/mui-icons/rectangle-right-drawer.d.ts +1 -0
  123. package/dist/types/components/mui-icons/reload.d.ts +1 -0
  124. package/dist/types/components/mui-icons/speaker-mute.d.ts +1 -0
  125. package/dist/types/components/mui-icons/speaker-one-wave.d.ts +1 -0
  126. package/dist/types/components/mui-icons/speaker-two-wave.d.ts +1 -0
  127. package/dist/types/components/mui-icons/stop-fill.d.ts +1 -0
  128. package/dist/types/components/mui-icons/timer.d.ts +1 -0
  129. package/dist/types/components/mui-icons/vertical-ellipsis.d.ts +1 -0
  130. package/dist/types/components/mui-input/api.d.ts +12 -0
  131. package/dist/types/components/mui-link/api.d.ts +4 -0
  132. package/dist/types/components/mui-media-player/api.d.ts +4 -0
  133. package/dist/types/components/mui-media-player/index.d.ts +13 -4
  134. package/dist/types/components/mui-model-viewer/api.d.ts +28 -0
  135. package/dist/types/components/mui-model-viewer/doc.d.ts +2 -0
  136. package/dist/types/components/mui-model-viewer/index.d.ts +17 -0
  137. package/dist/types/components/mui-progress-ring/api.d.ts +24 -0
  138. package/dist/types/components/mui-progress-ring/doc.d.ts +2 -0
  139. package/dist/types/components/mui-progress-ring/index.d.ts +1 -0
  140. package/dist/types/components/mui-radio/api.d.ts +12 -0
  141. package/dist/types/components/mui-range-input/api.d.ts +4 -0
  142. package/dist/types/components/mui-responsive/api.d.ts +10 -2
  143. package/dist/types/components/mui-search-input/api.d.ts +40 -0
  144. package/dist/types/components/mui-search-input/doc.d.ts +2 -0
  145. package/dist/types/components/mui-search-input/index.d.ts +3 -0
  146. package/dist/types/components/mui-select/api.d.ts +12 -0
  147. package/dist/types/components/mui-status/api.d.ts +24 -0
  148. package/dist/types/components/mui-status/doc.d.ts +2 -0
  149. package/dist/types/components/mui-status/index.d.ts +1 -0
  150. package/dist/types/components/mui-switch/api.d.ts +4 -0
  151. package/dist/types/components/mui-table/api.d.ts +15 -0
  152. package/dist/types/components/mui-textarea/api.d.ts +12 -0
  153. package/dist/types/components/mui-time/api.d.ts +41 -0
  154. package/dist/types/components/mui-time/doc.d.ts +2 -0
  155. package/dist/types/components/mui-time/index.d.ts +1 -0
  156. package/dist/types/components/mui-time-picker/api.d.ts +38 -0
  157. package/dist/types/components/mui-time-picker/doc.d.ts +2 -0
  158. package/dist/types/components/mui-time-picker/index.d.ts +4 -0
  159. package/dist/types/components/mui-video-thumbnail/api.d.ts +28 -0
  160. package/dist/types/components/mui-video-thumbnail/doc.d.ts +2 -0
  161. package/dist/types/components/mui-video-thumbnail/index.d.ts +1 -0
  162. package/dist/types/index.d.ts +27 -2
  163. package/dist/types/knowledge/compositions.d.ts +4644 -0
  164. package/dist/types/knowledge/index.d.ts +4657 -0
  165. package/dist/types/knowledge/keywords.d.ts +4 -0
  166. package/dist/types/knowledge/rules.d.ts +1 -0
  167. package/dist/types/tokens/js/index.d.ts +11 -7
  168. package/package.json +131 -12
  169. package/dist/esm/components/mui-form-hint/index.js +0 -1
  170. package/dist/types/components/mui-form-hint/index.d.ts +0 -1
  171. /package/dist/types/components/{mui-form-hint → mui-avatar-chip}/doc.d.ts +0 -0
  172. /package/dist/types/components/mui-icons/{rectangle-bottom-panel.d.ts → copy.d.ts} +0 -0
@@ -0,0 +1,1560 @@
1
+ const r = {
2
+ signupFlow: {
3
+ type: "Container",
4
+ id: "signup_container",
5
+ props: {
6
+ center: !0,
7
+ size: "medium",
8
+ style: "padding-block: var(--space-800);"
9
+ },
10
+ children: [
11
+ {
12
+ type: "Card",
13
+ id: "signup_card",
14
+ props: {
15
+ style: "width: 100%; max-width: 32rem; margin-inline: auto;"
16
+ },
17
+ children: [
18
+ {
19
+ type: "CardBody",
20
+ id: "signup_card_body",
21
+ props: { style: "padding: var(--space-500);" },
22
+ children: [
23
+ {
24
+ type: "VStack",
25
+ id: "signup_stack",
26
+ props: { space: "var(--space-400)", alignX: "stretch" },
27
+ children: [
28
+ {
29
+ type: "Heading",
30
+ id: "signup_title",
31
+ props: {
32
+ text: "Create your account",
33
+ size: "2",
34
+ level: "1"
35
+ },
36
+ children: []
37
+ },
38
+ {
39
+ type: "Body",
40
+ id: "signup_intro",
41
+ props: {
42
+ text: "Start with your work email and a secure password.",
43
+ size: "small",
44
+ variant: "optional"
45
+ },
46
+ children: []
47
+ },
48
+ {
49
+ type: "FormGroup",
50
+ id: "signup_fields",
51
+ props: { variant: "vertical", "hide-label": !0 },
52
+ children: [
53
+ {
54
+ type: "Field",
55
+ id: "signup_name_field",
56
+ props: { label: "Name" },
57
+ children: [
58
+ {
59
+ type: "Input",
60
+ id: "signup_name",
61
+ props: {
62
+ label: "Name",
63
+ placeholder: "Jane Smith",
64
+ name: "name"
65
+ },
66
+ children: []
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ type: "Field",
72
+ id: "signup_email_field",
73
+ props: { label: "Email" },
74
+ children: [
75
+ {
76
+ type: "Input",
77
+ id: "signup_email",
78
+ props: {
79
+ label: "Email",
80
+ type: "email",
81
+ placeholder: "jane@company.com",
82
+ name: "email"
83
+ },
84
+ children: []
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ type: "Field",
90
+ id: "signup_password_field",
91
+ props: { label: "Password" },
92
+ children: [
93
+ {
94
+ type: "Input",
95
+ id: "signup_password",
96
+ props: {
97
+ label: "Password",
98
+ type: "password",
99
+ placeholder: "Create password",
100
+ name: "password"
101
+ },
102
+ children: []
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ type: "Checkbox",
108
+ id: "signup_terms",
109
+ props: {
110
+ text: "I agree to the terms",
111
+ size: "small"
112
+ },
113
+ children: []
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ type: "Button",
119
+ id: "signup_submit",
120
+ props: {
121
+ text: "Create account",
122
+ variant: "primary",
123
+ size: "large"
124
+ },
125
+ children: []
126
+ }
127
+ ]
128
+ }
129
+ ]
130
+ }
131
+ ]
132
+ }
133
+ ]
134
+ },
135
+ rewardsCard: {
136
+ type: "Container",
137
+ id: "root",
138
+ props: { size: "medium", center: !0 },
139
+ children: [
140
+ {
141
+ type: "Card",
142
+ id: "card",
143
+ props: {},
144
+ children: [
145
+ {
146
+ type: "CardHeader",
147
+ id: "header",
148
+ props: {},
149
+ children: [
150
+ {
151
+ type: "Heading",
152
+ id: "title",
153
+ props: { text: "Rewards", size: "4", level: "4" },
154
+ children: []
155
+ }
156
+ ]
157
+ },
158
+ {
159
+ type: "CardBody",
160
+ id: "body",
161
+ props: {},
162
+ children: [
163
+ {
164
+ type: "VStack",
165
+ id: "content",
166
+ props: { space: "var(--space-200)", alignX: "center" },
167
+ children: [
168
+ {
169
+ type: "SmartCard",
170
+ id: "smart-card",
171
+ props: {
172
+ inverted: !0,
173
+ "bg-image": "https://muibook.com/images/diamond.png",
174
+ partner: "https://muibook.com/images/emerald.svg",
175
+ number: "1234",
176
+ type: "Rewards",
177
+ variant: "plain",
178
+ state: "default"
179
+ },
180
+ children: []
181
+ }
182
+ ]
183
+ }
184
+ ]
185
+ }
186
+ ]
187
+ }
188
+ ]
189
+ },
190
+ contactForm: {
191
+ type: "VStack",
192
+ id: "root",
193
+ props: {
194
+ space: "var(--space-300)",
195
+ style: "width: 100%; max-width: 960px;"
196
+ },
197
+ children: [
198
+ {
199
+ type: "Heading",
200
+ id: "title",
201
+ props: { text: "Contact Us", size: "1", level: "1" },
202
+ children: []
203
+ },
204
+ {
205
+ type: "Alert",
206
+ id: "info",
207
+ props: { variant: "info", label: "Info" },
208
+ children: [
209
+ {
210
+ type: "Span",
211
+ id: "copy",
212
+ props: { text: "Reply in 24h." },
213
+ children: []
214
+ }
215
+ ]
216
+ },
217
+ {
218
+ type: "VStack",
219
+ id: "form",
220
+ props: { space: "var(--space-200)" },
221
+ children: [
222
+ {
223
+ type: "Input",
224
+ id: "email",
225
+ props: { label: "Email", type: "email" },
226
+ children: []
227
+ },
228
+ {
229
+ type: "Select",
230
+ id: "subject",
231
+ props: {
232
+ label: "Subject",
233
+ options: [
234
+ { value: "general", label: "General" },
235
+ { value: "support", label: "Support" },
236
+ { value: "billing", label: "Billing" }
237
+ ]
238
+ },
239
+ children: []
240
+ },
241
+ {
242
+ type: "Input",
243
+ id: "message",
244
+ props: {
245
+ label: "Message",
246
+ type: "text",
247
+ placeholder: "How can we help?"
248
+ },
249
+ children: []
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ type: "Button",
255
+ id: "submit",
256
+ props: { text: "Send Message", variant: "primary" },
257
+ children: []
258
+ }
259
+ ]
260
+ },
261
+ analyticsSummary: {
262
+ type: "Container",
263
+ id: "analytics_container",
264
+ props: {
265
+ center: !0,
266
+ size: "large",
267
+ style: "padding-block: var(--space-700);"
268
+ },
269
+ children: [
270
+ {
271
+ type: "Card",
272
+ id: "analytics_card",
273
+ props: {},
274
+ children: [
275
+ {
276
+ type: "CardHeader",
277
+ id: "analytics_header",
278
+ props: {},
279
+ children: [
280
+ {
281
+ type: "Heading",
282
+ id: "analytics_title",
283
+ props: { text: "Weekly performance", size: "3", level: "2" },
284
+ children: []
285
+ },
286
+ {
287
+ type: "Button",
288
+ id: "analytics_export",
289
+ props: {
290
+ text: "Export",
291
+ variant: "secondary",
292
+ size: "small"
293
+ },
294
+ children: []
295
+ }
296
+ ]
297
+ },
298
+ {
299
+ type: "CardBody",
300
+ id: "analytics_body",
301
+ props: {},
302
+ children: [
303
+ {
304
+ type: "Grid",
305
+ id: "analytics_metrics",
306
+ props: {
307
+ columns: "repeat(3, minmax(0, 1fr))",
308
+ gap: "var(--space-300)"
309
+ },
310
+ children: [
311
+ {
312
+ type: "VStack",
313
+ id: "metric_revenue",
314
+ props: { space: "var(--space-050)" },
315
+ children: [
316
+ {
317
+ type: "Body",
318
+ id: "metric_revenue_label",
319
+ props: { text: "Revenue", size: "small", variant: "optional" },
320
+ children: []
321
+ },
322
+ {
323
+ type: "Heading",
324
+ id: "metric_revenue_value",
325
+ props: { text: "$42.8K", size: "4", level: "3" },
326
+ children: []
327
+ }
328
+ ]
329
+ },
330
+ {
331
+ type: "VStack",
332
+ id: "metric_orders",
333
+ props: { space: "var(--space-050)" },
334
+ children: [
335
+ {
336
+ type: "Body",
337
+ id: "metric_orders_label",
338
+ props: { text: "Orders", size: "small", variant: "optional" },
339
+ children: []
340
+ },
341
+ {
342
+ type: "Heading",
343
+ id: "metric_orders_value",
344
+ props: { text: "1,284", size: "4", level: "3" },
345
+ children: []
346
+ }
347
+ ]
348
+ },
349
+ {
350
+ type: "VStack",
351
+ id: "metric_conversion",
352
+ props: { space: "var(--space-050)" },
353
+ children: [
354
+ {
355
+ type: "Body",
356
+ id: "metric_conversion_label",
357
+ props: { text: "Conversion", size: "small", variant: "optional" },
358
+ children: []
359
+ },
360
+ {
361
+ type: "Heading",
362
+ id: "metric_conversion_value",
363
+ props: { text: "7.4%", size: "4", level: "3" },
364
+ children: []
365
+ }
366
+ ]
367
+ }
368
+ ]
369
+ }
370
+ ]
371
+ }
372
+ ]
373
+ }
374
+ ]
375
+ },
376
+ onboarding: {
377
+ type: "Container",
378
+ id: "onboarding_container",
379
+ props: {
380
+ center: !0,
381
+ size: "small"
382
+ },
383
+ children: [
384
+ {
385
+ type: "Card",
386
+ id: "signup_card",
387
+ props: {},
388
+ children: [
389
+ {
390
+ type: "CardHeader",
391
+ id: "signup_header",
392
+ props: {},
393
+ children: [
394
+ {
395
+ type: "Heading",
396
+ id: "signup_title",
397
+ props: { text: "Sign up for our product!", size: "3" },
398
+ children: []
399
+ }
400
+ ]
401
+ },
402
+ {
403
+ type: "CardBody",
404
+ id: "signup_body",
405
+ props: {},
406
+ children: [
407
+ {
408
+ type: "VStack",
409
+ id: "signup_stack",
410
+ props: { space: "var(--space-400)" },
411
+ children: [
412
+ {
413
+ type: "Field",
414
+ id: "firstNameField",
415
+ props: { label: "First Name" },
416
+ children: [{ type: "Input", id: "firstName", props: { placeholder: "John" }, children: [] }]
417
+ },
418
+ {
419
+ type: "Field",
420
+ id: "lastNameField",
421
+ props: { label: "Last Name" },
422
+ children: [{ type: "Input", id: "lastName", props: { placeholder: "Doe" }, children: [] }]
423
+ },
424
+ {
425
+ type: "Field",
426
+ id: "emailField",
427
+ props: { label: "Email" },
428
+ children: [{ type: "Input", id: "email", props: { type: "email", placeholder: "john@example.com" }, children: [] }]
429
+ },
430
+ {
431
+ type: "Field",
432
+ id: "passwordField",
433
+ props: { label: "Password" },
434
+ children: [{ type: "Input", id: "password", props: { type: "password" }, children: [] }]
435
+ },
436
+ {
437
+ type: "Field",
438
+ id: "confirmPasswordField",
439
+ props: { label: "Confirm Password" },
440
+ children: [{ type: "Input", id: "confirmPassword", props: { type: "password" }, children: [] }]
441
+ },
442
+ {
443
+ type: "Field",
444
+ id: "termsField",
445
+ props: {},
446
+ children: [
447
+ {
448
+ type: "Checkbox",
449
+ id: "agreeTerms",
450
+ props: { text: "I agree to the terms and conditions" },
451
+ children: []
452
+ }
453
+ ]
454
+ },
455
+ {
456
+ type: "ButtonGroup",
457
+ id: "signup_actions",
458
+ props: { align: "right" },
459
+ children: [
460
+ {
461
+ type: "Button",
462
+ id: "signup_submit",
463
+ props: { text: "Sign up", variant: "primary" },
464
+ children: []
465
+ }
466
+ ]
467
+ }
468
+ ]
469
+ }
470
+ ]
471
+ }
472
+ ]
473
+ }
474
+ ]
475
+ },
476
+ wallet: {
477
+ type: "VStack",
478
+ id: "wallet_root",
479
+ props: {
480
+ alignX: "stretch",
481
+ style: "max-width: 365px; margin: 0 auto; padding-top: var(--space-700); padding-bottom: var(--space-700)"
482
+ },
483
+ children: [
484
+ {
485
+ type: "SmartCard",
486
+ id: "wallet_card",
487
+ props: {
488
+ variant: "animated",
489
+ partner: "Visa",
490
+ type: "Debit",
491
+ number: "1234"
492
+ },
493
+ children: []
494
+ },
495
+ {
496
+ type: "TabController",
497
+ id: "wallet_tabs",
498
+ props: {},
499
+ children: [
500
+ {
501
+ type: "VStack",
502
+ id: "tab_stack",
503
+ props: { alignX: "stretch", space: "var(--space-300)" },
504
+ children: [
505
+ {
506
+ type: "TabBar",
507
+ id: "tab_bar",
508
+ props: { inset: !0, stroke: "none", radius: "500" },
509
+ children: [
510
+ { type: "TabItem", id: "tab_item_tx", props: { active: !0, text: "Transactions" }, children: [] },
511
+ { type: "TabItem", id: "tab_item_st", props: { text: "Statements" }, children: [] }
512
+ ]
513
+ },
514
+ {
515
+ type: "TabPanel",
516
+ id: "panel_tx",
517
+ props: { item: "tab_item_tx" },
518
+ children: [
519
+ {
520
+ type: "SlatGroup",
521
+ id: "tx_group",
522
+ props: {},
523
+ children: [
524
+ {
525
+ type: "Slat",
526
+ id: "tx_header",
527
+ props: { variant: "header" },
528
+ children: [
529
+ { type: "Heading", id: "tx_header_title", props: { text: "Today", size: "6" }, children: [] }
530
+ ]
531
+ },
532
+ {
533
+ type: "Slat",
534
+ id: "tx_item_1",
535
+ props: { variant: "row", col: "1fr auto" },
536
+ children: [
537
+ { type: "Avatar", id: "tx_item_1_icon", props: {}, children: [] },
538
+ { type: "VStack", id: "tx_item_1_details", props: {}, children: [] }
539
+ ]
540
+ }
541
+ ]
542
+ }
543
+ ]
544
+ }
545
+ ]
546
+ }
547
+ ]
548
+ }
549
+ ]
550
+ },
551
+ muitube: {
552
+ type: "VStack",
553
+ id: "muitube_root",
554
+ props: {
555
+ alignX: "stretch",
556
+ alignY: "start",
557
+ space: "var(--space-000)",
558
+ style: "background: var(--surface-elevated-100);"
559
+ },
560
+ children: [
561
+ {
562
+ type: "HStack",
563
+ id: "muitube_header",
564
+ props: {
565
+ alignX: "space-between",
566
+ alignY: "center",
567
+ style: "padding: var(--space-400); background: var(--surface-elevated-100);"
568
+ },
569
+ children: [
570
+ {
571
+ type: "HStack",
572
+ id: "header_left",
573
+ props: { alignX: "start", alignY: "center", space: "var(--space-000)" },
574
+ children: [
575
+ {
576
+ type: "Responsive",
577
+ id: "muitube_menu_button",
578
+ props: { breakpoint: "768" },
579
+ children: [
580
+ {
581
+ type: "Button",
582
+ id: "muitube_menu_toggle_desktop",
583
+ slot: "showAbove",
584
+ props: { variant: "tertiary", "aria-label": "Toggle menu", size: "medium" },
585
+ children: [{ type: "_Icon", id: "muitube_menu_icon_desktop", props: { icon: "mui-icon-menu", size: "medium" }, children: [] }]
586
+ },
587
+ {
588
+ type: "Button",
589
+ id: "muitube_menu_toggle_mobile",
590
+ slot: "showBelow",
591
+ props: { variant: "tertiary", "aria-label": "Open menu", size: "medium" },
592
+ children: [{ type: "_Icon", id: "muitube_menu_icon_mobile", props: { icon: "mui-icon-menu", size: "medium" }, children: [] }]
593
+ }
594
+ ]
595
+ },
596
+ {
597
+ type: "HStack",
598
+ id: "muitube_brand",
599
+ props: { alignX: "start", alignY: "center", space: "var(--space-200)" },
600
+ children: [
601
+ { type: "Heading", id: "logo", props: { text: "Premium", size: "3", level: "1" }, children: [] },
602
+ { type: "Badge", id: "country", props: { text: "AU" }, children: [] }
603
+ ]
604
+ }
605
+ ]
606
+ },
607
+ {
608
+ type: "Responsive",
609
+ id: "header_search",
610
+ props: { breakpoint: "768", style: "max-width: 70rem; width: 100%;" },
611
+ children: [
612
+ {
613
+ type: "HStack",
614
+ id: "header_search_desktop",
615
+ slot: "showAbove",
616
+ props: { alignX: "center", alignY: "center", space: "var(--space-300)", width: "100%" },
617
+ children: [
618
+ {
619
+ type: "Input",
620
+ id: "search_input",
621
+ props: { placeholder: "Search" },
622
+ children: [
623
+ {
624
+ type: "Button",
625
+ id: "search_btn",
626
+ slot: "after",
627
+ props: { variant: "secondary", "aria-label": "Search" },
628
+ children: [{ type: "_Icon", id: "search_icon", props: { icon: "mui-icon-search", size: "medium" }, children: [] }]
629
+ }
630
+ ]
631
+ },
632
+ {
633
+ type: "Button",
634
+ id: "settings_btn",
635
+ props: { variant: "tertiary", "aria-label": "Settings" },
636
+ children: [{ type: "_Icon", id: "settings_icon", props: { icon: "mui-icon-gear", size: "medium" }, children: [] }]
637
+ }
638
+ ]
639
+ }
640
+ ]
641
+ },
642
+ {
643
+ type: "HStack",
644
+ id: "header_actions",
645
+ props: { alignX: "start", alignY: "center", space: "var(--space-300)" },
646
+ children: [
647
+ {
648
+ type: "Responsive",
649
+ id: "create_action",
650
+ props: { breakpoint: "768" },
651
+ children: [
652
+ { type: "Button", id: "create_desktop", slot: "showAbove", props: { text: "Create", variant: "primary" }, children: [] },
653
+ {
654
+ type: "Button",
655
+ id: "create_mobile",
656
+ slot: "showBelow",
657
+ props: { variant: "primary", "aria-label": "Create" },
658
+ children: [{ type: "_Icon", id: "create_mobile_icon", props: { icon: "mui-icon-add", size: "medium" }, children: [] }]
659
+ }
660
+ ]
661
+ },
662
+ {
663
+ type: "Button",
664
+ id: "notifications",
665
+ props: { variant: "tertiary", "aria-label": "Notifications" },
666
+ children: [{ type: "_Icon", id: "notification_icon", props: { icon: "mui-icon-notification", size: "medium" }, children: [] }]
667
+ }
668
+ ]
669
+ }
670
+ ]
671
+ },
672
+ {
673
+ type: "Responsive",
674
+ id: "muitube_layout",
675
+ props: { breakpoint: "768" },
676
+ children: [
677
+ {
678
+ type: "Drawer",
679
+ id: "sidebar_drawer",
680
+ slot: "showAbove",
681
+ props: { width: "240px", variant: "push", open: !0, side: "left", "drawer-space": "none" },
682
+ children: [
683
+ {
684
+ type: "VStack",
685
+ id: "sidebar_menu",
686
+ props: { space: "var(--space-000)" },
687
+ children: [
688
+ { type: "Button", id: "menu_home", props: { text: "Home", variant: "tertiary" }, children: [] },
689
+ { type: "Button", id: "menu_shorts", props: { text: "Shorts", variant: "tertiary" }, children: [] },
690
+ { type: "Button", id: "menu_subscriptions", props: { text: "Subscriptions", variant: "tertiary" }, children: [] }
691
+ ]
692
+ },
693
+ {
694
+ type: "VStack",
695
+ id: "muitube_page_desktop",
696
+ slot: "page",
697
+ props: { space: "var(--space-000)", alignX: "stretch" },
698
+ children: [
699
+ {
700
+ type: "ChipRail",
701
+ id: "video_filters_desktop",
702
+ props: { size: "medium", "aria-label": "Video filters" },
703
+ children: [
704
+ { type: "Chip", id: "filter_all", props: { text: "All", active: !0, variant: "clickable" }, children: [] },
705
+ { type: "Chip", id: "filter_gaming", props: { text: "Gaming", variant: "clickable" }, children: [] },
706
+ { type: "Chip", id: "filter_music", props: { text: "Music", variant: "clickable" }, children: [] },
707
+ { type: "Chip", id: "filter_japan", props: { text: "Japan", variant: "clickable" }, children: [] }
708
+ ]
709
+ },
710
+ {
711
+ type: "Grid",
712
+ id: "video_grid_desktop",
713
+ props: { col: "repeat(auto-fit, minmax(268px, 1fr))", space: "var(--space-600)", alignX: "start", alignY: "start" },
714
+ children: [
715
+ {
716
+ type: "Link",
717
+ id: "video_card_1",
718
+ props: { href: "#", variant: "tertiary" },
719
+ children: [
720
+ {
721
+ type: "VStack",
722
+ id: "video_card_1_stack",
723
+ props: { alignX: "start", alignY: "start", space: "var(--space-300)" },
724
+ children: [
725
+ {
726
+ type: "VideoThumbnail",
727
+ id: "video_card_1_thumbnail",
728
+ props: {
729
+ src: "/images/muitube/mui-video-light.png",
730
+ "src-light": "/images/muitube/mui-video-light.png",
731
+ "src-dark": "/images/muitube/mui-video-dark.png",
732
+ "src-mui-light": "/images/muitube/mui-video-light.png",
733
+ "src-mui-dark": "/images/muitube/mui-video-dark.png",
734
+ alt: "Muibook video thumbnail"
735
+ },
736
+ children: []
737
+ },
738
+ { type: "Body", id: "video_card_1_title", props: { text: "Designing with Muibook", size: "large", weight: "bold" }, children: [] },
739
+ { type: "Body", id: "video_card_1_author", props: { text: "Michael Trilford", size: "x-small", weight: "bold" }, children: [] },
740
+ { type: "Body", id: "video_card_1_meta", props: { text: "12K views · 4 days ago", size: "x-small", weight: "bold" }, children: [] }
741
+ ]
742
+ }
743
+ ]
744
+ },
745
+ {
746
+ type: "Link",
747
+ id: "video_card_2",
748
+ props: { href: "#", variant: "tertiary" },
749
+ children: [
750
+ {
751
+ type: "VStack",
752
+ id: "video_card_2_stack",
753
+ props: { alignX: "start", alignY: "start", space: "var(--space-300)" },
754
+ children: [
755
+ {
756
+ type: "VideoThumbnail",
757
+ id: "video_card_2_thumbnail",
758
+ props: {
759
+ src: "/images/muitube/sensei-video-light.png",
760
+ "src-light": "/images/muitube/sensei-video-light.png",
761
+ "src-dark": "/images/muitube/sensei-video-dark.png",
762
+ alt: "Sensei video thumbnail"
763
+ },
764
+ children: []
765
+ },
766
+ { type: "Body", id: "video_card_2_title", props: { text: "Building design system flows", size: "large", weight: "bold" }, children: [] },
767
+ { type: "Body", id: "video_card_2_author", props: { text: "Sensei", size: "x-small", weight: "bold" }, children: [] },
768
+ { type: "Body", id: "video_card_2_meta", props: { text: "8.4K views · 1 week ago", size: "x-small", weight: "bold" }, children: [] }
769
+ ]
770
+ }
771
+ ]
772
+ }
773
+ ]
774
+ }
775
+ ]
776
+ }
777
+ ]
778
+ },
779
+ {
780
+ type: "VStack",
781
+ id: "muitube_mobile",
782
+ slot: "showBelow",
783
+ props: { alignX: "stretch", space: "var(--space-000)" },
784
+ children: [
785
+ {
786
+ type: "Drawer",
787
+ id: "sidebar_drawer_mobile",
788
+ props: { variant: "overlay", width: "260px", side: "left", "z-index": "200", "drawer-space": "none" },
789
+ children: [
790
+ {
791
+ type: "VStack",
792
+ id: "mobile_sidebar_menu",
793
+ props: { space: "var(--space-000)" },
794
+ children: [
795
+ { type: "Button", id: "mobile_menu_home", props: { text: "Home", variant: "tertiary" }, children: [] },
796
+ { type: "Button", id: "mobile_menu_shorts", props: { text: "Shorts", variant: "tertiary" }, children: [] },
797
+ { type: "Button", id: "mobile_menu_subscriptions", props: { text: "Subscriptions", variant: "tertiary" }, children: [] }
798
+ ]
799
+ }
800
+ ]
801
+ },
802
+ {
803
+ type: "VStack",
804
+ id: "muitube_page_mobile",
805
+ props: { space: "var(--space-000)", alignX: "stretch" },
806
+ children: [
807
+ {
808
+ type: "ChipRail",
809
+ id: "video_filters_mobile",
810
+ props: { size: "medium", "aria-label": "Video filters" },
811
+ children: [
812
+ { type: "Chip", id: "mobile_filter_all", props: { text: "All", active: !0, variant: "clickable" }, children: [] },
813
+ { type: "Chip", id: "mobile_filter_music", props: { text: "Music", variant: "clickable" }, children: [] },
814
+ { type: "Chip", id: "mobile_filter_japan", props: { text: "Japan", variant: "clickable" }, children: [] }
815
+ ]
816
+ },
817
+ {
818
+ type: "Grid",
819
+ id: "video_grid_mobile",
820
+ props: { col: "repeat(auto-fit, minmax(268px, 1fr))", space: "var(--space-600)" },
821
+ children: [
822
+ {
823
+ type: "Link",
824
+ id: "mobile_video_card",
825
+ props: { href: "#", variant: "tertiary" },
826
+ children: [
827
+ {
828
+ type: "VideoThumbnail",
829
+ id: "mobile_video_thumbnail",
830
+ props: {
831
+ src: "/images/muitube/mui-video-light.png",
832
+ "src-light": "/images/muitube/mui-video-light.png",
833
+ "src-dark": "/images/muitube/mui-video-dark.png",
834
+ alt: "Muibook video thumbnail"
835
+ },
836
+ children: []
837
+ },
838
+ { type: "Body", id: "mobile_video_title", props: { text: "Designing with Muibook", size: "large", weight: "bold" }, children: [] }
839
+ ]
840
+ }
841
+ ]
842
+ }
843
+ ]
844
+ }
845
+ ]
846
+ }
847
+ ]
848
+ }
849
+ ]
850
+ },
851
+ songPage: {
852
+ type: "Container",
853
+ id: "song_container",
854
+ props: { size: "large", center: !0 },
855
+ children: [
856
+ {
857
+ type: "HStack",
858
+ id: "song_header",
859
+ props: { alignX: "space-between", alignY: "center", style: "margin-block-end: var(--space-500);" },
860
+ children: [
861
+ { type: "Heading", id: "logo", props: { text: "SoundAmp", size: "3" }, children: [] },
862
+ {
863
+ type: "Dropdown",
864
+ id: "account_dropdown",
865
+ props: {},
866
+ children: [
867
+ {
868
+ type: "AvatarChip",
869
+ id: "user_avatar",
870
+ props: {
871
+ primary: "Mike Trilford",
872
+ secondary: "Creator",
873
+ image: "https://muibook.com/images/mui/avatar-mike.jpg",
874
+ label: "Mike Trilford"
875
+ },
876
+ children: []
877
+ }
878
+ ]
879
+ }
880
+ ]
881
+ },
882
+ {
883
+ type: "VStack",
884
+ id: "song_content",
885
+ props: { space: "var(--space-500)", alignX: "stretch" },
886
+ children: [
887
+ {
888
+ type: "MediaPlayer",
889
+ id: "song_player",
890
+ props: {
891
+ type: "audio",
892
+ src: "https://muibook.com/audio/twilight.m4a",
893
+ artwork: "https://muibook.com/audio/artwork-light.png",
894
+ waveform: !0,
895
+ height: "14rem"
896
+ },
897
+ children: [
898
+ {
899
+ type: "AvatarChip",
900
+ id: "player_meta",
901
+ props: {
902
+ slot: "meta-before",
903
+ href: "#creator-profile",
904
+ image: "https://muibook.com/images/mui/avatar-mike.jpg",
905
+ label: "Mike Trilford"
906
+ },
907
+ children: [
908
+ {
909
+ type: "Body",
910
+ id: "song_title",
911
+ slot: "primary",
912
+ props: { text: "Twilight", weight: "bold" },
913
+ children: []
914
+ },
915
+ {
916
+ type: "Link",
917
+ id: "song_creator",
918
+ slot: "secondary",
919
+ props: { href: "#creator-profile", text: "by Michael Trilford", weight: "medium" },
920
+ children: []
921
+ }
922
+ ]
923
+ },
924
+ {
925
+ type: "Button",
926
+ id: "player_buy",
927
+ slot: "meta-after",
928
+ props: { text: "Buy now", variant: "overlay" },
929
+ children: []
930
+ }
931
+ ]
932
+ }
933
+ ]
934
+ }
935
+ ]
936
+ },
937
+ videoMetadataAction: {
938
+ type: "MediaPlayer",
939
+ id: "video_metadata_action",
940
+ props: {
941
+ type: "video",
942
+ src: "https://muibook.com/video/japan.mp4",
943
+ poster: "https://muibook.com/video/japan-poster.jpg"
944
+ },
945
+ children: [
946
+ {
947
+ type: "AvatarChip",
948
+ id: "video_creator",
949
+ props: {
950
+ slot: "meta-before",
951
+ href: "#creator-profile",
952
+ image: "https://muibook.com/images/mui/avatar-mike.jpg",
953
+ label: "Mike Trilford"
954
+ },
955
+ children: [
956
+ {
957
+ type: "Body",
958
+ id: "video_channel",
959
+ slot: "primary",
960
+ props: { text: "Sugoi Travels", weight: "bold" },
961
+ children: []
962
+ },
963
+ {
964
+ type: "Link",
965
+ id: "video_subscribers",
966
+ slot: "secondary",
967
+ props: { href: "#creator-profile", text: "77k subscribers", weight: "medium" },
968
+ children: []
969
+ }
970
+ ]
971
+ },
972
+ {
973
+ type: "Button",
974
+ id: "video_subscribe",
975
+ slot: "meta-after",
976
+ props: { text: "Subscribe", variant: "overlay" },
977
+ children: []
978
+ }
979
+ ]
980
+ },
981
+ customSelectWastePicker: {
982
+ type: "Select",
983
+ id: "waste_picker",
984
+ props: {
985
+ label: "Waste stream",
986
+ appearance: "custom",
987
+ "selected-content": "label",
988
+ col: "1fr 1fr",
989
+ space: "var(--space-100)"
990
+ },
991
+ children: [
992
+ {
993
+ type: "Option",
994
+ id: "waste_recyclable",
995
+ props: { value: "recyclable", label: "Recyclable" },
996
+ children: [
997
+ {
998
+ type: "VStack",
999
+ id: "waste_recyclable_stack",
1000
+ props: { space: "var(--space-100)", alignX: "center" },
1001
+ children: [
1002
+ {
1003
+ type: "_Illustration",
1004
+ id: "waste_recyclable_bin",
1005
+ props: { illustration: "mui-illustration-trash", size: "medium", color: "var(--feedback-positive-border-color)" },
1006
+ children: []
1007
+ },
1008
+ { type: "Body", id: "waste_recyclable_label", props: { text: "Recyclable", weight: "bold" }, children: [] }
1009
+ ]
1010
+ }
1011
+ ]
1012
+ },
1013
+ {
1014
+ type: "Option",
1015
+ id: "waste_general",
1016
+ props: { value: "waste", label: "Waste" },
1017
+ children: [
1018
+ {
1019
+ type: "VStack",
1020
+ id: "waste_general_stack",
1021
+ props: { space: "var(--space-100)", alignX: "center" },
1022
+ children: [
1023
+ {
1024
+ type: "_Illustration",
1025
+ id: "waste_general_bin",
1026
+ props: { illustration: "mui-illustration-trash", size: "medium", color: "var(--feedback-info-border-color)" },
1027
+ children: []
1028
+ },
1029
+ { type: "Body", id: "waste_general_label", props: { text: "Waste", weight: "bold" }, children: [] }
1030
+ ]
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ type: "Option",
1036
+ id: "waste_organic",
1037
+ props: { value: "organic", label: "Organic" },
1038
+ children: [
1039
+ {
1040
+ type: "VStack",
1041
+ id: "waste_organic_stack",
1042
+ props: { space: "var(--space-100)", alignX: "center" },
1043
+ children: [
1044
+ {
1045
+ type: "_Illustration",
1046
+ id: "waste_organic_bin",
1047
+ props: { illustration: "mui-illustration-trash", size: "medium", color: "var(--feedback-warning-border-color)" },
1048
+ children: []
1049
+ },
1050
+ { type: "Body", id: "waste_organic_label", props: { text: "Organic", weight: "bold" }, children: [] }
1051
+ ]
1052
+ }
1053
+ ]
1054
+ },
1055
+ {
1056
+ type: "Option",
1057
+ id: "waste_burnable",
1058
+ props: { value: "burnable", label: "Burnable" },
1059
+ children: [
1060
+ {
1061
+ type: "VStack",
1062
+ id: "waste_burnable_stack",
1063
+ props: { space: "var(--space-100)", alignX: "center" },
1064
+ children: [
1065
+ {
1066
+ type: "_Illustration",
1067
+ id: "waste_burnable_bin",
1068
+ props: { illustration: "mui-illustration-trash", size: "medium", color: "var(--feedback-attention-border-color)" },
1069
+ children: []
1070
+ },
1071
+ { type: "Body", id: "waste_burnable_label", props: { text: "Burnable", weight: "bold" }, children: [] }
1072
+ ]
1073
+ }
1074
+ ]
1075
+ }
1076
+ ]
1077
+ },
1078
+ drawerWorkspace: {
1079
+ type: "Drawer",
1080
+ id: "workspace_drawer",
1081
+ props: {
1082
+ variant: "workspace",
1083
+ "resize-rail": !0,
1084
+ "left-open": !0,
1085
+ "right-open": !0,
1086
+ "left-width": "24rem",
1087
+ "right-width": "30rem",
1088
+ "resize-min-left-width": "200",
1089
+ "resize-min-right-width": "200",
1090
+ "resize-min-page-width": "400",
1091
+ "resize-close-threshold": "96",
1092
+ breakpoint: "1400",
1093
+ height: "80dvh"
1094
+ },
1095
+ children: [
1096
+ {
1097
+ type: "VStack",
1098
+ id: "workspace_left_panel",
1099
+ slot: "left",
1100
+ props: { space: "var(--space-300)", padding: "var(--space-400)" },
1101
+ children: [
1102
+ { type: "Heading", id: "workspace_left_heading", props: { text: "Components", size: "4", level: "2" }, children: [] },
1103
+ { type: "Button", id: "workspace_media_card", props: { text: "Media Card", variant: "tertiary" }, children: [] },
1104
+ { type: "Button", id: "workspace_sidebar", props: { text: "Sidebar", variant: "tertiary" }, children: [] }
1105
+ ]
1106
+ },
1107
+ {
1108
+ type: "VStack",
1109
+ id: "workspace_canvas",
1110
+ slot: "page",
1111
+ props: { space: "var(--space-400)", padding: "var(--space-500)", alignX: "center" },
1112
+ children: [
1113
+ { type: "Heading", id: "workspace_canvas_heading", props: { text: "Canvas", size: "3", level: "1" }, children: [] },
1114
+ {
1115
+ type: "Card",
1116
+ id: "workspace_selected_card",
1117
+ props: {},
1118
+ children: [
1119
+ {
1120
+ type: "CardBody",
1121
+ id: "workspace_selected_body",
1122
+ props: {},
1123
+ children: [
1124
+ { type: "Heading", id: "workspace_selected_title", props: { text: "Customer Portal", size: "4", level: "2" }, children: [] },
1125
+ {
1126
+ type: "Body",
1127
+ id: "workspace_selected_description",
1128
+ props: { text: "A selected page region sits between the component library and inspector panels." },
1129
+ children: []
1130
+ }
1131
+ ]
1132
+ }
1133
+ ]
1134
+ }
1135
+ ]
1136
+ },
1137
+ {
1138
+ type: "VStack",
1139
+ id: "workspace_right_panel",
1140
+ slot: "right",
1141
+ props: { space: "var(--space-300)", padding: "var(--space-400)" },
1142
+ children: [
1143
+ { type: "Heading", id: "workspace_right_heading", props: { text: "Inspector", size: "4", level: "2" }, children: [] },
1144
+ { type: "AccordionBlock", id: "workspace_styles", props: { heading: "Styles" }, children: [] },
1145
+ { type: "AccordionBlock", id: "workspace_layout", props: { heading: "Layout" }, children: [] }
1146
+ ]
1147
+ }
1148
+ ]
1149
+ },
1150
+ modelViewerProductPreview: {
1151
+ type: "ModelViewer",
1152
+ id: "model_viewer_product_preview",
1153
+ props: {
1154
+ src: "https://muibook.com/models/chair.glb",
1155
+ "ios-src": "https://muibook.com/models/chair.usdz",
1156
+ poster: "https://muibook.com/models/chair-poster.jpg",
1157
+ alt: "Three dimensional preview of a lounge chair.",
1158
+ controls: !0,
1159
+ ar: !0
1160
+ },
1161
+ children: [
1162
+ {
1163
+ type: "Body",
1164
+ id: "model_viewer_fallback",
1165
+ props: { text: "Download the product model or view the gallery if 3D preview is unavailable.", size: "small" },
1166
+ children: []
1167
+ }
1168
+ ]
1169
+ },
1170
+ dashboard: {
1171
+ type: "VStack",
1172
+ id: "dashboard_root",
1173
+ props: { space: "var(--space-500)", alignX: "stretch", style: "max-width: 112rem; margin: 0 auto;" },
1174
+ children: [
1175
+ {
1176
+ type: "HStack",
1177
+ id: "dashboard_header",
1178
+ props: { alignX: "space-between", alignY: "center" },
1179
+ children: [
1180
+ {
1181
+ type: "VStack",
1182
+ id: "header_title_stack",
1183
+ props: { space: "var(--space-000)" },
1184
+ children: [
1185
+ { type: "Heading", id: "title", props: { text: "Revenue operations", size: "2" }, children: [] },
1186
+ { type: "Body", id: "subtitle", props: { text: "Track activation health...", size: "small" }, children: [] }
1187
+ ]
1188
+ },
1189
+ {
1190
+ type: "ButtonGroup",
1191
+ id: "header_actions",
1192
+ props: { align: "right" },
1193
+ children: [
1194
+ { type: "Button", id: "export_btn", props: { text: "Export report", variant: "secondary" }, children: [] },
1195
+ { type: "Button", id: "create_btn", props: { text: "Create task", variant: "primary" }, children: [] }
1196
+ ]
1197
+ }
1198
+ ]
1199
+ },
1200
+ {
1201
+ type: "Grid",
1202
+ id: "dashboard_metric_grid",
1203
+ props: { col: "repeat(4, minmax(0, 1fr))", space: "var(--space-300)", alignX: "stretch" },
1204
+ children: [
1205
+ {
1206
+ type: "Card",
1207
+ id: "metric_revenue_card",
1208
+ props: {},
1209
+ children: [
1210
+ {
1211
+ type: "CardBody",
1212
+ id: "metric_revenue_body",
1213
+ props: {},
1214
+ children: [
1215
+ {
1216
+ type: "VStack",
1217
+ id: "metric_revenue_stack",
1218
+ props: { space: "var(--space-200)", alignX: "stretch" },
1219
+ children: [
1220
+ { type: "Body", id: "metric_revenue_label", props: { text: "Monthly revenue", size: "small", variant: "optional" }, children: [] },
1221
+ { type: "Heading", id: "metric_revenue_value", props: { text: "$128.4K", size: "3", level: "2" }, children: [] },
1222
+ { type: "Badge", id: "metric_revenue_delta", props: { text: "+12.8%", size: "small", variant: "positive" }, children: [] }
1223
+ ]
1224
+ }
1225
+ ]
1226
+ }
1227
+ ]
1228
+ },
1229
+ {
1230
+ type: "Card",
1231
+ id: "metric_accounts_card",
1232
+ props: {},
1233
+ children: [
1234
+ {
1235
+ type: "CardBody",
1236
+ id: "metric_accounts_body",
1237
+ props: {},
1238
+ children: [
1239
+ {
1240
+ type: "VStack",
1241
+ id: "metric_accounts_stack",
1242
+ props: { space: "var(--space-200)", alignX: "stretch" },
1243
+ children: [
1244
+ { type: "Body", id: "metric_accounts_label", props: { text: "Active accounts", size: "small", variant: "optional" }, children: [] },
1245
+ { type: "Heading", id: "metric_accounts_value", props: { text: "24,892", size: "3", level: "2" }, children: [] },
1246
+ { type: "Badge", id: "metric_accounts_delta", props: { text: "+4.2%", size: "small", variant: "positive" }, children: [] }
1247
+ ]
1248
+ }
1249
+ ]
1250
+ }
1251
+ ]
1252
+ },
1253
+ {
1254
+ type: "Card",
1255
+ id: "metric_conversion_card",
1256
+ props: {},
1257
+ children: [
1258
+ {
1259
+ type: "CardBody",
1260
+ id: "metric_conversion_body",
1261
+ props: {},
1262
+ children: [
1263
+ {
1264
+ type: "VStack",
1265
+ id: "metric_conversion_stack",
1266
+ props: { space: "var(--space-200)", alignX: "stretch" },
1267
+ children: [
1268
+ { type: "Body", id: "metric_conversion_label", props: { text: "Trial conversion", size: "small", variant: "optional" }, children: [] },
1269
+ { type: "Heading", id: "metric_conversion_value", props: { text: "8.6%", size: "3", level: "2" }, children: [] },
1270
+ { type: "Badge", id: "metric_conversion_delta", props: { text: "-1.1%", size: "small", variant: "warning" }, children: [] }
1271
+ ]
1272
+ }
1273
+ ]
1274
+ }
1275
+ ]
1276
+ },
1277
+ {
1278
+ type: "Card",
1279
+ id: "metric_uptime_card",
1280
+ props: {},
1281
+ children: [
1282
+ {
1283
+ type: "CardBody",
1284
+ id: "metric_uptime_body",
1285
+ props: {},
1286
+ children: [
1287
+ {
1288
+ type: "VStack",
1289
+ id: "metric_uptime_stack",
1290
+ props: { space: "var(--space-200)", alignX: "stretch" },
1291
+ children: [
1292
+ { type: "Body", id: "metric_uptime_label", props: { text: "Platform uptime", size: "small", variant: "optional" }, children: [] },
1293
+ { type: "Heading", id: "metric_uptime_value", props: { text: "99.98%", size: "3", level: "2" }, children: [] },
1294
+ { type: "Badge", id: "metric_uptime_delta", props: { text: "Stable", size: "small", variant: "neutral" }, children: [] }
1295
+ ]
1296
+ }
1297
+ ]
1298
+ }
1299
+ ]
1300
+ }
1301
+ ]
1302
+ },
1303
+ {
1304
+ type: "Grid",
1305
+ id: "dashboard_main_grid",
1306
+ props: { col: "minmax(0, 1.55fr) minmax(26rem, 1fr)", space: "var(--space-300)", alignX: "stretch" },
1307
+ children: [
1308
+ {
1309
+ type: "Card",
1310
+ id: "activation_health_card",
1311
+ props: {},
1312
+ children: [
1313
+ {
1314
+ type: "CardHeader",
1315
+ id: "activation_health_header",
1316
+ props: {},
1317
+ children: [
1318
+ { type: "Heading", id: "activation_health_title", props: { text: "Activation health", size: "3", level: "2" }, children: [] },
1319
+ { type: "Body", id: "activation_health_description", props: { text: "Performance across the last 30 days.", size: "small", variant: "optional" }, children: [] }
1320
+ ]
1321
+ },
1322
+ {
1323
+ type: "CardBody",
1324
+ id: "activation_health_body",
1325
+ props: {},
1326
+ children: [
1327
+ {
1328
+ type: "VStack",
1329
+ id: "activation_health_stack",
1330
+ props: { space: "var(--space-400)", alignX: "stretch" },
1331
+ children: [
1332
+ {
1333
+ type: "VStack",
1334
+ id: "feature_adoption",
1335
+ props: { space: "var(--space-100)", alignX: "stretch" },
1336
+ children: [
1337
+ {
1338
+ type: "HStack",
1339
+ id: "feature_adoption_header",
1340
+ props: { alignX: "space-between", alignY: "center" },
1341
+ children: [
1342
+ { type: "Body", id: "feature_adoption_label", props: { text: "Feature adoption", size: "small", weight: "bold" }, children: [] },
1343
+ { type: "Badge", id: "feature_adoption_delta", props: { text: "+15%", size: "x-small", variant: "positive" }, children: [] }
1344
+ ]
1345
+ },
1346
+ { type: "Progress", id: "feature_adoption_progress", props: { progress: "45" }, children: [] }
1347
+ ]
1348
+ },
1349
+ {
1350
+ type: "VStack",
1351
+ id: "retention",
1352
+ props: { space: "var(--space-100)", alignX: "stretch" },
1353
+ children: [
1354
+ {
1355
+ type: "HStack",
1356
+ id: "retention_header",
1357
+ props: { alignX: "space-between", alignY: "center" },
1358
+ children: [
1359
+ { type: "Body", id: "retention_label", props: { text: "30-day retention", size: "small", weight: "bold" }, children: [] },
1360
+ { type: "Badge", id: "retention_delta", props: { text: "+4%", size: "x-small", variant: "positive" }, children: [] }
1361
+ ]
1362
+ },
1363
+ { type: "Progress", id: "retention_progress", props: { progress: "68" }, children: [] }
1364
+ ]
1365
+ }
1366
+ ]
1367
+ }
1368
+ ]
1369
+ }
1370
+ ]
1371
+ },
1372
+ {
1373
+ type: "Card",
1374
+ id: "priority_tasks_card",
1375
+ props: {},
1376
+ children: [
1377
+ {
1378
+ type: "CardHeader",
1379
+ id: "priority_tasks_header",
1380
+ props: {},
1381
+ children: [{ type: "Heading", id: "priority_tasks_title", props: { text: "Priority tasks", size: "3", level: "2" }, children: [] }]
1382
+ },
1383
+ {
1384
+ type: "CardBody",
1385
+ id: "priority_tasks_body",
1386
+ props: {},
1387
+ children: [
1388
+ {
1389
+ type: "SlatGroup",
1390
+ id: "priority_tasks",
1391
+ props: {},
1392
+ children: [
1393
+ {
1394
+ type: "Slat",
1395
+ id: "billing_alerts_task",
1396
+ props: { variant: "action" },
1397
+ children: [
1398
+ {
1399
+ type: "VStack",
1400
+ id: "billing_alerts_copy",
1401
+ slot: "start",
1402
+ props: { space: "var(--space-000)" },
1403
+ children: [
1404
+ { type: "Body", id: "billing_alerts_title", props: { text: "Review billing alerts", size: "small", weight: "bold" }, children: [] },
1405
+ { type: "Body", id: "billing_alerts_meta", props: { text: "Finance operations", size: "x-small", variant: "optional" }, children: [] }
1406
+ ]
1407
+ },
1408
+ { type: "Badge", id: "billing_alerts_badge", slot: "end", props: { text: "Urgent", size: "x-small", variant: "attention" }, children: [] }
1409
+ ]
1410
+ },
1411
+ {
1412
+ type: "Slat",
1413
+ id: "campaign_task",
1414
+ props: { variant: "action" },
1415
+ children: [
1416
+ {
1417
+ type: "VStack",
1418
+ id: "campaign_copy",
1419
+ slot: "start",
1420
+ props: { space: "var(--space-000)" },
1421
+ children: [
1422
+ { type: "Body", id: "campaign_title", props: { text: "Approve campaign launch", size: "small", weight: "bold" }, children: [] },
1423
+ { type: "Body", id: "campaign_meta", props: { text: "Growth team", size: "x-small", variant: "optional" }, children: [] }
1424
+ ]
1425
+ },
1426
+ { type: "Badge", id: "campaign_badge", slot: "end", props: { text: "Pending", size: "x-small", variant: "warning" }, children: [] }
1427
+ ]
1428
+ }
1429
+ ]
1430
+ }
1431
+ ]
1432
+ }
1433
+ ]
1434
+ }
1435
+ ]
1436
+ },
1437
+ {
1438
+ type: "Responsive",
1439
+ id: "dashboard_activity",
1440
+ props: { breakpoint: "767" },
1441
+ children: [
1442
+ {
1443
+ type: "Card",
1444
+ id: "activity_table_card",
1445
+ slot: "showAbove",
1446
+ props: {},
1447
+ children: [
1448
+ {
1449
+ type: "CardHeader",
1450
+ id: "activity_table_header",
1451
+ props: {},
1452
+ children: [{ type: "Heading", id: "activity_table_title", props: { text: "Recent account activity", size: "3", level: "2" }, children: [] }]
1453
+ },
1454
+ {
1455
+ type: "CardBody",
1456
+ id: "activity_table_body",
1457
+ props: {},
1458
+ children: [
1459
+ {
1460
+ type: "Table",
1461
+ id: "activity_table",
1462
+ props: {},
1463
+ children: [
1464
+ {
1465
+ type: "RowGroup",
1466
+ id: "activity_rows",
1467
+ props: {},
1468
+ children: [
1469
+ {
1470
+ type: "Row",
1471
+ id: "activity_acme",
1472
+ props: { columns: "1.5fr 1fr 1fr auto", size: "small" },
1473
+ children: [
1474
+ { type: "Cell", id: "activity_acme_account", props: {}, children: [{ type: "Body", id: "activity_acme_name", props: { text: "Acme Studios", size: "small" }, children: [] }] },
1475
+ { type: "Cell", id: "activity_acme_event", props: {}, children: [{ type: "Body", id: "activity_acme_event_text", props: { text: "Renewal", size: "small" }, children: [] }] },
1476
+ { type: "Cell", id: "activity_acme_status", props: {}, children: [{ type: "Badge", id: "activity_acme_paid", props: { text: "Paid", size: "small", variant: "positive" }, children: [] }] },
1477
+ { type: "Cell", id: "activity_acme_action", props: { action: !0 }, children: [{ type: "Button", id: "activity_acme_view", props: { text: "View", size: "small", variant: "tertiary" }, children: [] }] }
1478
+ ]
1479
+ }
1480
+ ]
1481
+ }
1482
+ ]
1483
+ }
1484
+ ]
1485
+ }
1486
+ ]
1487
+ },
1488
+ {
1489
+ type: "Card",
1490
+ id: "activity_slat_card",
1491
+ slot: "showBelow",
1492
+ props: {},
1493
+ children: [
1494
+ {
1495
+ type: "CardBody",
1496
+ id: "activity_slat_body",
1497
+ props: {},
1498
+ children: [
1499
+ {
1500
+ type: "SlatGroup",
1501
+ id: "activity_mobile_slats",
1502
+ props: {},
1503
+ children: [
1504
+ {
1505
+ type: "Slat",
1506
+ id: "activity_mobile_acme",
1507
+ props: { variant: "action" },
1508
+ children: [
1509
+ {
1510
+ type: "VStack",
1511
+ id: "activity_mobile_acme_copy",
1512
+ slot: "start",
1513
+ props: { space: "var(--space-000)" },
1514
+ children: [
1515
+ { type: "Body", id: "activity_mobile_acme_title", props: { text: "Acme Studios", size: "small", weight: "bold" }, children: [] },
1516
+ { type: "Body", id: "activity_mobile_acme_meta", props: { text: "Renewal payment", size: "x-small", variant: "optional" }, children: [] }
1517
+ ]
1518
+ },
1519
+ { type: "Badge", id: "activity_mobile_acme_status", slot: "end", props: { text: "Paid", size: "x-small", variant: "positive" }, children: [] }
1520
+ ]
1521
+ }
1522
+ ]
1523
+ }
1524
+ ]
1525
+ }
1526
+ ]
1527
+ }
1528
+ ]
1529
+ }
1530
+ ]
1531
+ }
1532
+ }, t = {
1533
+ signupFlow: { includeInAgent: !0, detail: "compact" },
1534
+ rewardsCard: { includeInAgent: !0, detail: "compact" },
1535
+ contactForm: { includeInAgent: !0, detail: "compact" },
1536
+ analyticsSummary: { includeInAgent: !1, detail: "full" },
1537
+ onboarding: { includeInAgent: !1, detail: "full" },
1538
+ wallet: { includeInAgent: !1, detail: "full" },
1539
+ muitube: { includeInAgent: !1, detail: "full" },
1540
+ songPage: { includeInAgent: !1, detail: "full" },
1541
+ videoMetadataAction: { includeInAgent: !1, detail: "full" },
1542
+ customSelectWastePicker: { includeInAgent: !1, detail: "full" },
1543
+ drawerWorkspace: { includeInAgent: !1, detail: "full" },
1544
+ modelViewerProductPreview: { includeInAgent: !1, detail: "full" },
1545
+ dashboard: { includeInAgent: !1, detail: "full" }
1546
+ }, a = Object.keys(t).filter(
1547
+ (e) => t[e].includeInAgent
1548
+ ), p = a.reduce(
1549
+ (e, i) => ({
1550
+ ...e,
1551
+ [i]: r[i]
1552
+ }),
1553
+ {}
1554
+ );
1555
+ export {
1556
+ a as agentCompositionKeys,
1557
+ p as agentCompositions,
1558
+ t as compositionConfig,
1559
+ r as compositions
1560
+ };