@monoform-ui/react 0.0.0-stage → 0.2.0-beta.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 (162) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +228 -2
  3. package/THIRD_PARTY_NOTICES.md +37 -0
  4. package/dist/actions.d.ts +80 -0
  5. package/dist/advanced-forms.d.ts +107 -0
  6. package/dist/advanced-inputs.d.ts +103 -0
  7. package/dist/agent-chat.d.ts +98 -0
  8. package/dist/agent-input.d.ts +54 -0
  9. package/dist/ai-creation-input.d.ts +71 -0
  10. package/dist/ai-interactions.d.ts +90 -0
  11. package/dist/ai-status.d.ts +17 -0
  12. package/dist/ai.cjs +2 -0
  13. package/dist/ai.cjs.map +1 -0
  14. package/dist/ai.d.ts +6 -0
  15. package/dist/ai.js +29 -0
  16. package/dist/ai.js.map +1 -0
  17. package/dist/app-shell.d.ts +69 -0
  18. package/dist/assets/backgrounds/monolith-field-dark-desktop.avif +0 -0
  19. package/dist/assets/backgrounds/monolith-field-dark-desktop.webp +0 -0
  20. package/dist/assets/backgrounds/monolith-field-dark-mobile.avif +0 -0
  21. package/dist/assets/backgrounds/monolith-field-dark-mobile.webp +0 -0
  22. package/dist/assets/backgrounds/monolith-field-dark.svg +58 -0
  23. package/dist/assets/backgrounds/monolith-field-light-desktop.avif +0 -0
  24. package/dist/assets/backgrounds/monolith-field-light-desktop.webp +0 -0
  25. package/dist/assets/backgrounds/monolith-field-light-mobile.avif +0 -0
  26. package/dist/assets/backgrounds/monolith-field-light-mobile.webp +0 -0
  27. package/dist/assets/backgrounds/monolith-field-light.svg +58 -0
  28. package/dist/assets/backgrounds/optical-fog-dark-desktop.avif +0 -0
  29. package/dist/assets/backgrounds/optical-fog-dark-desktop.webp +0 -0
  30. package/dist/assets/backgrounds/optical-fog-dark-mobile.avif +0 -0
  31. package/dist/assets/backgrounds/optical-fog-dark-mobile.webp +0 -0
  32. package/dist/assets/backgrounds/optical-fog-dark.svg +50 -0
  33. package/dist/assets/backgrounds/optical-fog-light-desktop.avif +0 -0
  34. package/dist/assets/backgrounds/optical-fog-light-desktop.webp +0 -0
  35. package/dist/assets/backgrounds/optical-fog-light-mobile.avif +0 -0
  36. package/dist/assets/backgrounds/optical-fog-light-mobile.webp +0 -0
  37. package/dist/assets/backgrounds/optical-fog-light.svg +50 -0
  38. package/dist/assets/backgrounds/orbital-field-dark-desktop.avif +0 -0
  39. package/dist/assets/backgrounds/orbital-field-dark-desktop.webp +0 -0
  40. package/dist/assets/backgrounds/orbital-field-dark-mobile.avif +0 -0
  41. package/dist/assets/backgrounds/orbital-field-dark-mobile.webp +0 -0
  42. package/dist/assets/backgrounds/orbital-field-dark.svg +49 -0
  43. package/dist/assets/backgrounds/orbital-field-light-desktop.avif +0 -0
  44. package/dist/assets/backgrounds/orbital-field-light-desktop.webp +0 -0
  45. package/dist/assets/backgrounds/orbital-field-light-mobile.avif +0 -0
  46. package/dist/assets/backgrounds/orbital-field-light-mobile.webp +0 -0
  47. package/dist/assets/backgrounds/orbital-field-light.svg +49 -0
  48. package/dist/assets/backgrounds/signal-lattice-dark-desktop.avif +0 -0
  49. package/dist/assets/backgrounds/signal-lattice-dark-desktop.webp +0 -0
  50. package/dist/assets/backgrounds/signal-lattice-dark-mobile.avif +0 -0
  51. package/dist/assets/backgrounds/signal-lattice-dark-mobile.webp +0 -0
  52. package/dist/assets/backgrounds/signal-lattice-dark.svg +39 -0
  53. package/dist/assets/backgrounds/signal-lattice-light-desktop.avif +0 -0
  54. package/dist/assets/backgrounds/signal-lattice-light-desktop.webp +0 -0
  55. package/dist/assets/backgrounds/signal-lattice-light-mobile.avif +0 -0
  56. package/dist/assets/backgrounds/signal-lattice-light-mobile.webp +0 -0
  57. package/dist/assets/backgrounds/signal-lattice-light.svg +39 -0
  58. package/dist/background-assets.d.ts +144 -0
  59. package/dist/backgrounds.cjs +2 -0
  60. package/dist/backgrounds.cjs.map +1 -0
  61. package/dist/backgrounds.css +463 -0
  62. package/dist/backgrounds.d.ts +44 -0
  63. package/dist/backgrounds.js +256 -0
  64. package/dist/backgrounds.js.map +1 -0
  65. package/dist/catalog.cjs +2 -0
  66. package/dist/catalog.cjs.map +1 -0
  67. package/dist/catalog.d.ts +27 -0
  68. package/dist/catalog.js +307 -0
  69. package/dist/catalog.js.map +1 -0
  70. package/dist/collections-CXPc6huw.cjs +2 -0
  71. package/dist/collections-CXPc6huw.cjs.map +1 -0
  72. package/dist/collections-GglQdMPr.js +1308 -0
  73. package/dist/collections-GglQdMPr.js.map +1 -0
  74. package/dist/collections.d.ts +52 -0
  75. package/dist/command-palette-B4r2GzmF.cjs +2 -0
  76. package/dist/command-palette-B4r2GzmF.cjs.map +1 -0
  77. package/dist/command-palette-DwfgljM2.js +2773 -0
  78. package/dist/command-palette-DwfgljM2.js.map +1 -0
  79. package/dist/command-palette.d.ts +26 -0
  80. package/dist/core.cjs +2 -0
  81. package/dist/core.cjs.map +1 -0
  82. package/dist/core.css +8659 -0
  83. package/dist/core.d.ts +19 -0
  84. package/dist/core.js +176 -0
  85. package/dist/core.js.map +1 -0
  86. package/dist/data-grid.d.ts +62 -0
  87. package/dist/data-workbench.d.ts +103 -0
  88. package/dist/data.cjs +2 -0
  89. package/dist/data.cjs.map +1 -0
  90. package/dist/data.d.ts +6 -0
  91. package/dist/data.js +19 -0
  92. package/dist/data.js.map +1 -0
  93. package/dist/description-list.d.ts +8 -0
  94. package/dist/effects.cjs +2 -0
  95. package/dist/effects.cjs.map +1 -0
  96. package/dist/effects.css +442 -0
  97. package/dist/effects.d.ts +2 -0
  98. package/dist/effects.js +19 -0
  99. package/dist/effects.js.map +1 -0
  100. package/dist/feedback.d.ts +40 -0
  101. package/dist/forms.d.ts +89 -0
  102. package/dist/harness-D7tlTUb2.cjs +2 -0
  103. package/dist/harness-D7tlTUb2.cjs.map +1 -0
  104. package/dist/harness-Dcqe3-AP.js +2282 -0
  105. package/dist/harness-Dcqe3-AP.js.map +1 -0
  106. package/dist/harness.d.ts +89 -0
  107. package/dist/hooks.d.ts +6 -0
  108. package/dist/image-effects-BaXRloLB.js +164 -0
  109. package/dist/image-effects-BaXRloLB.js.map +1 -0
  110. package/dist/image-effects-D57JACXp.cjs +2 -0
  111. package/dist/image-effects-D57JACXp.cjs.map +1 -0
  112. package/dist/image-effects.d.ts +14 -0
  113. package/dist/index.cjs +2 -0
  114. package/dist/index.cjs.map +1 -0
  115. package/dist/index.d.ts +5 -0
  116. package/dist/index.js +239 -0
  117. package/dist/index.js.map +1 -0
  118. package/dist/locale.d.ts +358 -0
  119. package/dist/motion-effects-C1Rs4a2H.js +449 -0
  120. package/dist/motion-effects-C1Rs4a2H.js.map +1 -0
  121. package/dist/motion-effects-ze3SOVGs.cjs +2 -0
  122. package/dist/motion-effects-ze3SOVGs.cjs.map +1 -0
  123. package/dist/motion-effects.d.ts +76 -0
  124. package/dist/nav-menu.d.ts +45 -0
  125. package/dist/navigation-BG-qLyKt.cjs +2 -0
  126. package/dist/navigation-BG-qLyKt.cjs.map +1 -0
  127. package/dist/navigation-Bp7q1n-5.js +252 -0
  128. package/dist/navigation-Bp7q1n-5.js.map +1 -0
  129. package/dist/navigation.d.ts +53 -0
  130. package/dist/overlays-BhrWwlkN.js +1288 -0
  131. package/dist/overlays-BhrWwlkN.js.map +1 -0
  132. package/dist/overlays-DvozzH8D.cjs +2 -0
  133. package/dist/overlays-DvozzH8D.cjs.map +1 -0
  134. package/dist/overlays.d.ts +92 -0
  135. package/dist/people-picker.d.ts +65 -0
  136. package/dist/portal.d.ts +3 -0
  137. package/dist/primitives-Bb7v-uZh.js +217 -0
  138. package/dist/primitives-Bb7v-uZh.js.map +1 -0
  139. package/dist/primitives-CEcOVwUM.cjs +2 -0
  140. package/dist/primitives-CEcOVwUM.cjs.map +1 -0
  141. package/dist/primitives.d.ts +66 -0
  142. package/dist/rounded-card-border-B3d1HqwY.js +185 -0
  143. package/dist/rounded-card-border-B3d1HqwY.js.map +1 -0
  144. package/dist/rounded-card-border-CMiEPJIF.cjs +2 -0
  145. package/dist/rounded-card-border-CMiEPJIF.cjs.map +1 -0
  146. package/dist/rounded-card-border.d.ts +3 -0
  147. package/dist/sizes.d.ts +4 -0
  148. package/dist/status-toast.d.ts +20 -0
  149. package/dist/styles.css +9566 -0
  150. package/dist/theme-C3i6xkHd.cjs +2 -0
  151. package/dist/theme-C3i6xkHd.cjs.map +1 -0
  152. package/dist/theme-CHYnSgLv.js +914 -0
  153. package/dist/theme-CHYnSgLv.js.map +1 -0
  154. package/dist/theme.d.ts +24 -0
  155. package/dist/timeline.d.ts +15 -0
  156. package/dist/tree-view-Djlqyml-.js +132 -0
  157. package/dist/tree-view-Djlqyml-.js.map +1 -0
  158. package/dist/tree-view-iVh5jMNt.cjs +2 -0
  159. package/dist/tree-view-iVh5jMNt.cjs.map +1 -0
  160. package/dist/tree-view.d.ts +18 -0
  161. package/dist/utils.d.ts +2 -0
  162. package/package.json +162 -4
@@ -0,0 +1,442 @@
1
+ .mf-thinking-orb-status {
2
+ min-height: 44px;
3
+ max-width: 100%;
4
+ width: fit-content;
5
+ display: inline-flex;
6
+ align-items: center;
7
+ gap: 9px;
8
+ padding: 5px 12px 5px 5px;
9
+ border: 1px solid var(--mf-border-soft);
10
+ border-radius: 999px;
11
+ background: color-mix(in srgb, var(--mf-surface-2) 90%, transparent);
12
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
13
+ color: var(--mf-text);
14
+ font-size: 12px;
15
+ line-height: 1.2;
16
+ vertical-align: middle;
17
+ }
18
+
19
+ .mf-thinking-orb-status[data-size="20"] {
20
+ min-height: 36px;
21
+ gap: 7px;
22
+ padding: 7px 11px 7px 7px;
23
+ font-size: 11px;
24
+ }
25
+
26
+ .mf-thinking-orb-status__orb {
27
+ flex: 0 0 auto;
28
+ border-radius: 50%;
29
+ }
30
+
31
+ .mf-thinking-orb-status__label {
32
+ min-width: 0;
33
+ overflow-wrap: anywhere;
34
+ }
35
+
36
+ .mf-thinking-orb-status__elapsed {
37
+ flex: 0 0 auto;
38
+ color: var(--mf-text-subtle);
39
+ font-family: "SFMono-Regular", Consolas, monospace;
40
+ font-size: 9px;
41
+ font-variant-numeric: tabular-nums;
42
+ white-space: nowrap;
43
+ }
44
+
45
+ .mf-bot-avatar-shell {
46
+ position: relative;
47
+ display: inline-block;
48
+ flex: none;
49
+ overflow: visible;
50
+ line-height: 0;
51
+ vertical-align: middle;
52
+ }
53
+
54
+ .mf-bot-avatar-shell__material {
55
+ position: absolute;
56
+ z-index: 1;
57
+ filter: contrast(1.16) saturate(1.12) brightness(1.06);
58
+ pointer-events: none;
59
+ }
60
+
61
+ .mf-bot-avatar-shell__material--flat {
62
+ filter: none;
63
+ }
64
+
65
+ .mf-bot-avatar--mono-flat {
66
+ border: 0;
67
+ background: transparent;
68
+ box-shadow: none;
69
+ filter: none;
70
+ }
71
+
72
+ .mf-image-generation {
73
+ position: relative;
74
+ min-width: 0;
75
+ border-radius: inherit;
76
+ }
77
+
78
+ .mf-image-generation__renderer {
79
+ width: 100%;
80
+ height: 100%;
81
+ }
82
+
83
+ .mf-image-generation__status {
84
+ position: absolute;
85
+ width: 1px;
86
+ height: 1px;
87
+ padding: 0;
88
+ margin: -1px;
89
+ overflow: hidden;
90
+ clip: rect(0, 0, 0, 0);
91
+ white-space: nowrap;
92
+ border: 0;
93
+ }
94
+
95
+ .mf-image-generation--fallback {
96
+ overflow: hidden;
97
+ isolation: isolate;
98
+ }
99
+
100
+ .mf-image-generation--fallback::before,
101
+ .mf-image-generation--fallback::after {
102
+ content: "";
103
+ position: absolute;
104
+ z-index: 3;
105
+ inset: 0;
106
+ border-radius: inherit;
107
+ pointer-events: none;
108
+ transition: opacity 680ms var(--mf-ease);
109
+ }
110
+
111
+ .mf-image-generation--fallback::before {
112
+ opacity: 1;
113
+ background:
114
+ radial-gradient(circle at 33% 35%, rgba(57, 105, 172, 0.3), transparent 31%),
115
+ radial-gradient(circle at 72% 68%, rgba(88, 66, 131, 0.24), transparent 34%),
116
+ linear-gradient(
117
+ 90deg,
118
+ transparent 49.2%,
119
+ rgba(192, 224, 255, 0.23) 50%,
120
+ transparent 50.8%
121
+ ),
122
+ linear-gradient(
123
+ 0deg,
124
+ transparent 49.2%,
125
+ rgba(192, 224, 255, 0.17) 50%,
126
+ transparent 50.8%
127
+ ),
128
+ #0a0d13;
129
+ background-size:
130
+ 100% 100%,
131
+ 100% 100%,
132
+ 22px 22px,
133
+ 22px 22px,
134
+ 100% 100%;
135
+ }
136
+
137
+ .mf-image-generation--fallback::after {
138
+ opacity: 0.56;
139
+ background:
140
+ linear-gradient(
141
+ 118deg,
142
+ transparent 22%,
143
+ rgba(162, 213, 255, 0.2) 44%,
144
+ transparent 61%
145
+ ),
146
+ repeating-linear-gradient(
147
+ 135deg,
148
+ transparent 0 9px,
149
+ rgba(255, 255, 255, 0.045) 9px 10px
150
+ );
151
+ }
152
+
153
+ .mf-image-generation--fallback[data-phase="visible"]::before,
154
+ .mf-image-generation--fallback[data-phase="revealing"]::before,
155
+ .mf-image-generation--fallback[data-phase="visible"]::after,
156
+ .mf-image-generation--fallback[data-phase="revealing"]::after {
157
+ opacity: 0;
158
+ }
159
+
160
+ .mf-image-generation--fallback[data-phase="regenerating"]::before {
161
+ animation: mf-image-fallback-churn 1.6s steps(8, end) both;
162
+ }
163
+
164
+ .mf-image-generation--fallback[data-phase="hiding"]::before,
165
+ .mf-image-generation--fallback[data-phase="hiding"]::after {
166
+ opacity: 1;
167
+ }
168
+
169
+ .mf-image-generation[data-theme="light"].mf-image-generation--fallback::before {
170
+ opacity: 1;
171
+ background:
172
+ radial-gradient(circle at 30% 28%, rgba(120, 161, 202, 0.21), transparent 33%),
173
+ radial-gradient(circle at 74% 69%, rgba(163, 142, 192, 0.18), transparent 37%),
174
+ linear-gradient(
175
+ 90deg,
176
+ transparent 49.2%,
177
+ rgba(63, 91, 120, 0.15) 50%,
178
+ transparent 50.8%
179
+ ),
180
+ linear-gradient(
181
+ 0deg,
182
+ transparent 49.2%,
183
+ rgba(63, 91, 120, 0.11) 50%,
184
+ transparent 50.8%
185
+ ),
186
+ #edf0f1;
187
+ background-size:
188
+ 100% 100%,
189
+ 100% 100%,
190
+ 22px 22px,
191
+ 22px 22px,
192
+ 100% 100%;
193
+ }
194
+
195
+ .mf-image-generation[data-theme="light"].mf-image-generation--fallback::after {
196
+ opacity: 0.38;
197
+ }
198
+
199
+ .mf-image-generation[data-theme="light"].mf-image-generation--fallback[data-phase="visible"]::before,
200
+ .mf-image-generation[data-theme="light"].mf-image-generation--fallback[data-phase="revealing"]::before,
201
+ .mf-image-generation[data-theme="light"].mf-image-generation--fallback[data-phase="visible"]::after,
202
+ .mf-image-generation[data-theme="light"].mf-image-generation--fallback[data-phase="revealing"]::after {
203
+ opacity: 0;
204
+ }
205
+
206
+ .mf-metal-badge-fallback {
207
+ display: inline-flex;
208
+ align-items: center;
209
+ width: fit-content;
210
+ padding: 3px 8px;
211
+ border: 1px solid var(--mf-border-strong);
212
+ border-radius: 999px;
213
+ background: var(--mf-surface-3);
214
+ color: var(--mf-text);
215
+ font-size: 10px;
216
+ font-weight: 500;
217
+ }
218
+
219
+ .mf-metal-text {
220
+ display: inline-block;
221
+ width: fit-content;
222
+ background: linear-gradient(
223
+ 112deg,
224
+ #f9fafb 0%,
225
+ #7e8797 18%,
226
+ #f5f7fa 36%,
227
+ #cbd5e5 52%,
228
+ #f0e7ff 68%,
229
+ #d4f6ee 84%,
230
+ #ffffff 100%
231
+ );
232
+ background-size: 180% 180%;
233
+ -webkit-background-clip: text;
234
+ background-clip: text;
235
+ -webkit-text-fill-color: transparent;
236
+ filter: drop-shadow(0 0 12px rgba(190, 214, 255, 0.18));
237
+ animation: mf-metal-fallback 9s ease-in-out infinite;
238
+ }
239
+
240
+ .mf-metal-text[data-theme="light"] {
241
+ background: linear-gradient(
242
+ 112deg,
243
+ #ffffff 0%,
244
+ #778294 18%,
245
+ #fcfdff 36%,
246
+ #bcc8da 52%,
247
+ #eadcf8 68%,
248
+ #cdeee6 84%,
249
+ #ffffff 100%
250
+ );
251
+ background-size: 180% 180%;
252
+ filter: drop-shadow(0 1px 4px rgba(55, 68, 90, 0.18));
253
+ }
254
+
255
+ .mf-metal-badge.mf-metal-badge-fallback {
256
+ border-color: rgba(255, 255, 255, 0.3);
257
+ background: linear-gradient(
258
+ 118deg,
259
+ #f8f9fb,
260
+ #c7d1df 28%,
261
+ #f1e5fb 52%,
262
+ #d1eee8 76%,
263
+ #ffffff
264
+ );
265
+ background-size: 170% 170%;
266
+ color: #17191d;
267
+ box-shadow:
268
+ 0 0 0 1px rgba(255, 255, 255, 0.5),
269
+ 0 4px 14px rgba(86, 111, 145, 0.14);
270
+ animation: mf-metal-fallback 8s ease-in-out infinite;
271
+ }
272
+
273
+ .mf-metal-fx-fallback {
274
+ position: relative;
275
+ display: inline-flex;
276
+ align-items: stretch;
277
+ justify-content: stretch;
278
+ padding: 1px;
279
+ border-radius: var(--mf-radius-md);
280
+ background: linear-gradient(
281
+ 115deg,
282
+ #f8f9fb 0%,
283
+ #7c8798 20%,
284
+ #edf1f7 42%,
285
+ #e5d8f6 62%,
286
+ #c8eee7 82%,
287
+ #ffffff 100%
288
+ );
289
+ background-size: 180% 180%;
290
+ box-shadow:
291
+ 0 0 0 1px rgba(255, 255, 255, 0.13),
292
+ 0 0 22px rgba(170, 204, 255, 0.16);
293
+ animation: mf-metal-fallback 9s ease-in-out infinite;
294
+ }
295
+
296
+ .mf-metal-fx-fallback[data-variant="circle"] {
297
+ padding: 2px;
298
+ border-radius: 999px;
299
+ }
300
+
301
+ .mf-metal-fx-fallback[data-mf-theme="light"] {
302
+ background: linear-gradient(
303
+ 115deg,
304
+ #ffffff 0%,
305
+ #b3bdcc 20%,
306
+ #f9fbff 42%,
307
+ #e9dcf7 62%,
308
+ #d1f0e9 82%,
309
+ #ffffff 100%
310
+ );
311
+ background-size: 180% 180%;
312
+ box-shadow:
313
+ 0 0 0 1px rgba(46, 57, 74, 0.13),
314
+ 0 4px 18px rgba(71, 90, 116, 0.14);
315
+ }
316
+
317
+ .mf-metal-fx-fallback__child {
318
+ min-width: 0;
319
+ display: inline-flex;
320
+ border-radius: calc(var(--mf-radius-md) - 1px);
321
+ overflow: hidden;
322
+ }
323
+
324
+ .mf-metal-fx-fallback[data-variant="circle"] .mf-metal-fx-fallback__child {
325
+ border-radius: 999px;
326
+ }
327
+
328
+ .mf-metal-fx-fallback__child > * {
329
+ border-color: transparent !important;
330
+ background-color: var(--mf-surface-2) !important;
331
+ box-shadow: none !important;
332
+ }
333
+
334
+ .mf-root .metal-fx-root {
335
+ opacity: 1 !important;
336
+ visibility: visible !important;
337
+ background: linear-gradient(
338
+ 120deg,
339
+ #0e1014 0%,
340
+ #4c5361 24%,
341
+ #f4f6f9 46%,
342
+ #242831 58%,
343
+ #7e8796 76%,
344
+ #14161b 100%
345
+ );
346
+ background-size: 220% 220%;
347
+ box-shadow:
348
+ inset 0 0 0 1px rgba(255, 255, 255, 0.48),
349
+ inset 0 1px 0 rgba(255, 255, 255, 0.7),
350
+ 0 0 24px rgba(160, 206, 255, 0.2);
351
+ animation: mf-metal-fallback 9s ease-in-out infinite;
352
+ }
353
+
354
+ .mf-root[data-mf-theme="light"] .metal-fx-root {
355
+ background: linear-gradient(
356
+ 120deg,
357
+ #fbfcfd 0%,
358
+ #c9d0da 25%,
359
+ #ffffff 46%,
360
+ #e1e5eb 58%,
361
+ #aeb8c6 76%,
362
+ #f9fafc 100%
363
+ );
364
+ background-size: 220% 220%;
365
+ box-shadow:
366
+ inset 0 0 0 1px rgba(60, 70, 86, 0.2),
367
+ inset 0 1px 0 rgba(255, 255, 255, 0.95),
368
+ 0 0 22px rgba(92, 117, 151, 0.13);
369
+ }
370
+
371
+ .mf-root .metal-fx-root .metal-fx-content {
372
+ color: var(--mf-text);
373
+ }
374
+
375
+ @keyframes mf-metal-fallback {
376
+ 0%,
377
+ 100% {
378
+ background-position: 0% 50%;
379
+ }
380
+ 50% {
381
+ background-position: 100% 50%;
382
+ }
383
+ }
384
+
385
+ @keyframes mf-image-fallback-churn {
386
+ 0% {
387
+ opacity: 1;
388
+ background-position:
389
+ 0 0,
390
+ 0 0,
391
+ 0 0,
392
+ 0 0,
393
+ 0 0;
394
+ }
395
+ 36% {
396
+ opacity: 0.78;
397
+ background-position:
398
+ 12px -8px,
399
+ -8px 15px,
400
+ 18px 9px,
401
+ -12px -18px,
402
+ 0 0;
403
+ }
404
+ 72% {
405
+ opacity: 0.5;
406
+ background-position:
407
+ -10px 16px,
408
+ 16px -12px,
409
+ -7px 20px,
410
+ 15px -6px,
411
+ 0 0;
412
+ }
413
+ 100% {
414
+ opacity: 0;
415
+ background-position:
416
+ 24px 20px,
417
+ -18px -20px,
418
+ 22px 14px,
419
+ -20px 18px,
420
+ 0 0;
421
+ }
422
+ }
423
+
424
+ @media (prefers-reduced-motion: reduce) {
425
+ .mf-root .mf-image-generation *,
426
+ .mf-root .mf-image-generation *::before,
427
+ .mf-root .mf-image-generation *::after,
428
+ .mf-root .mf-metal-text,
429
+ .mf-root .mf-metal-text::before,
430
+ .mf-root .mf-metal-text::after,
431
+ .mf-root .mf-metal-badge,
432
+ .mf-root .mf-metal-badge::before,
433
+ .mf-root .mf-metal-badge::after,
434
+ .mf-root .mf-metal-fx-fallback,
435
+ .mf-root .mf-metal-fx-fallback::before,
436
+ .mf-root .mf-metal-fx-fallback::after,
437
+ .mf-root .metal-fx-root {
438
+ animation-duration: 0.01ms !important;
439
+ animation-iteration-count: 1 !important;
440
+ transition-duration: 0.01ms !important;
441
+ }
442
+ }
@@ -0,0 +1,2 @@
1
+ export * from './motion-effects';
2
+ export * from './image-effects';
@@ -0,0 +1,19 @@
1
+ import { B as s, a as o, M as t, b as i, c as n, T as r, d as M, V as c, e as g, u as B, f as l, g as u, h } from "./motion-effects-C1Rs4a2H.js";
2
+ import { I as x } from "./image-effects-BaXRloLB.js";
3
+ export {
4
+ s as BorderBeam,
5
+ o as BotAvatar,
6
+ x as ImageGeneration,
7
+ t as MetalBadge,
8
+ i as MetalFx,
9
+ n as MetalText,
10
+ r as ThinkingOrb,
11
+ M as ThinkingOrbStatus,
12
+ c as VoiceBeam,
13
+ g as VoiceRing,
14
+ B as useMetalBend,
15
+ l as useMetalTextReflection,
16
+ u as useMicrophone,
17
+ h as useVoiceRingMicrophone
18
+ };
19
+ //# sourceMappingURL=effects.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"effects.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -0,0 +1,40 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ import { ControlSize } from './sizes';
3
+ import * as TabsPrimitive from "@radix-ui/react-tabs";
4
+ export interface SpinnerProps extends HTMLAttributes<HTMLSpanElement> {
5
+ size?: "sm" | "md" | "lg";
6
+ label?: string;
7
+ }
8
+ export declare function Spinner({ size, label, className, ...props }: SpinnerProps): import("react").JSX.Element;
9
+ export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
10
+ width?: string | number;
11
+ height?: string | number;
12
+ circle?: boolean;
13
+ }
14
+ export declare function Skeleton({ width, height, circle, className, style, ...props }: SkeletonProps): import("react").JSX.Element;
15
+ export interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
16
+ tone?: "neutral" | "info" | "success" | "warning" | "danger";
17
+ title?: ReactNode;
18
+ icon?: ReactNode;
19
+ }
20
+ export declare function Alert({ tone, title, icon, className, children, ...props }: AlertProps): import("react").JSX.Element;
21
+ export interface EmptyStateProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
22
+ icon?: ReactNode;
23
+ title: ReactNode;
24
+ description?: ReactNode;
25
+ action?: ReactNode;
26
+ }
27
+ export declare function EmptyState({ icon, title, description, action, className, ...props }: EmptyStateProps): import("react").JSX.Element;
28
+ export interface ProgressProps extends HTMLAttributes<HTMLDivElement> {
29
+ value: number;
30
+ max?: number;
31
+ label?: string;
32
+ }
33
+ export declare function Progress({ value, max, label, className, ...props }: ProgressProps): import("react").JSX.Element;
34
+ export declare const Tabs: import('react').ForwardRefExoticComponent<TabsPrimitive.TabsProps & import('react').RefAttributes<HTMLDivElement>>;
35
+ export interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.List> {
36
+ size?: ControlSize;
37
+ }
38
+ export declare const TabsList: import('react').ForwardRefExoticComponent<TabsListProps & import('react').RefAttributes<HTMLDivElement>>;
39
+ export declare const TabsTrigger: import('react').ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
40
+ export declare const TabsContent: import('react').ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,89 @@
1
+ import { InputHTMLAttributes, ReactElement, ReactNode, TextareaHTMLAttributes } from 'react';
2
+ import { ControlSize } from './sizes';
3
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
4
+ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
5
+ import * as SwitchPrimitive from "@radix-ui/react-switch";
6
+ export interface FieldProps {
7
+ label?: ReactNode;
8
+ hint?: ReactNode;
9
+ error?: ReactNode;
10
+ required?: boolean;
11
+ htmlFor?: string;
12
+ className?: string;
13
+ children: ReactElement;
14
+ }
15
+ export declare function Field({ label, hint, error, required, htmlFor, className, children, }: FieldProps): import("react").JSX.Element;
16
+ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"> {
17
+ invalid?: boolean;
18
+ size?: ControlSize;
19
+ }
20
+ export declare const Input: import('react').ForwardRefExoticComponent<InputProps & import('react').RefAttributes<HTMLInputElement>>;
21
+ export interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> {
22
+ invalid?: boolean;
23
+ size?: ControlSize;
24
+ }
25
+ export declare const Textarea: import('react').ForwardRefExoticComponent<TextareaProps & import('react').RefAttributes<HTMLTextAreaElement>>;
26
+ export interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "defaultValue" | "size"> {
27
+ value?: string;
28
+ defaultValue?: string;
29
+ onValueChange?: (value: string) => void;
30
+ onClear?: () => void;
31
+ size?: ControlSize;
32
+ }
33
+ export declare const SearchInput: import('react').ForwardRefExoticComponent<SearchInputProps & import('react').RefAttributes<HTMLInputElement>>;
34
+ export interface PasswordInputProps extends Omit<InputProps, "type"> {
35
+ visibleLabel?: string;
36
+ hiddenLabel?: string;
37
+ }
38
+ export declare const PasswordInput: import('react').ForwardRefExoticComponent<PasswordInputProps & import('react').RefAttributes<HTMLInputElement>>;
39
+ export interface NumberInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "defaultValue" | "onChange" | "size"> {
40
+ value?: number;
41
+ defaultValue?: number;
42
+ onValueChange?: (value: number) => void;
43
+ min?: number;
44
+ max?: number;
45
+ step?: number;
46
+ size?: ControlSize;
47
+ invalid?: boolean;
48
+ }
49
+ export declare const NumberInput: import('react').ForwardRefExoticComponent<NumberInputProps & import('react').RefAttributes<HTMLInputElement>>;
50
+ export interface CheckboxProps extends Omit<React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, "size"> {
51
+ size?: ControlSize;
52
+ }
53
+ export declare const Checkbox: import('react').ForwardRefExoticComponent<CheckboxProps & import('react').RefAttributes<HTMLButtonElement>>;
54
+ export interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root>, "size"> {
55
+ size?: ControlSize;
56
+ }
57
+ export declare const Switch: import('react').ForwardRefExoticComponent<SwitchProps & import('react').RefAttributes<HTMLButtonElement>>;
58
+ export interface RadioGroupProps extends Omit<React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, "size"> {
59
+ size?: ControlSize;
60
+ }
61
+ export declare const RadioGroup: import('react').ForwardRefExoticComponent<RadioGroupProps & import('react').RefAttributes<HTMLDivElement>>;
62
+ export interface RadioGroupItemProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> {
63
+ label: ReactNode;
64
+ description?: ReactNode;
65
+ size?: ControlSize;
66
+ }
67
+ export declare const RadioGroupItem: import('react').ForwardRefExoticComponent<RadioGroupItemProps & import('react').RefAttributes<HTMLButtonElement>>;
68
+ export interface SelectOption {
69
+ value: string;
70
+ label: string;
71
+ disabled?: boolean;
72
+ }
73
+ export interface SelectProps {
74
+ options: SelectOption[];
75
+ value?: string;
76
+ defaultValue?: string;
77
+ onValueChange?: (value: string) => void;
78
+ placeholder?: string;
79
+ disabled?: boolean;
80
+ size?: ControlSize;
81
+ width?: "full" | "auto";
82
+ name?: string;
83
+ id?: string;
84
+ className?: string;
85
+ "aria-label"?: string;
86
+ "aria-describedby"?: string;
87
+ "aria-invalid"?: boolean;
88
+ }
89
+ export declare function Select({ options, value, defaultValue, onValueChange, placeholder, disabled, size, width, name, id, className, ...ariaProps }: SelectProps): import("react").JSX.Element;