@puckeditor/plugin-ai 0.0.2-canary.53ffa8a3 → 0.1.0-canary.027b6f23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css ADDED
@@ -0,0 +1,1459 @@
1
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/Chat/styles.module.css/#css-module-data */
2
+ ._Chat_1mv7h_1 {
3
+ background: white;
4
+ height: 100%;
5
+ display: flex;
6
+ flex-direction: column;
7
+ }
8
+ ._Chat-header_1mv7h_8 {
9
+ display: block;
10
+ padding: 8px 16px;
11
+ font-weight: 600;
12
+ border-bottom: 1px solid var(--puck-color-grey-09);
13
+ }
14
+ @media (min-width: 638px) {
15
+ ._Chat-header_1mv7h_8 {
16
+ display: block;
17
+ padding: 16px;
18
+ }
19
+ }
20
+ ._Chat-placeholder_1mv7h_22 {
21
+ align-items: center;
22
+ color: var(--puck-color-grey-06);
23
+ display: none;
24
+ justify-content: center;
25
+ flex-direction: column;
26
+ height: 100%;
27
+ text-align: center;
28
+ padding: 32px;
29
+ gap: 8px;
30
+ }
31
+ @media (min-width: 638px) {
32
+ ._Chat-placeholder_1mv7h_22 {
33
+ display: flex;
34
+ }
35
+ }
36
+ ._Chat-actions_1mv7h_40 {
37
+ display: flex;
38
+ gap: 8px;
39
+ justify-content: center;
40
+ flex-wrap: wrap;
41
+ margin-top: 4px;
42
+ }
43
+ ._Chat-action_1mv7h_40,
44
+ ._Chat-actionOutlined_1mv7h_49 {
45
+ border: 1px solid var(--puck-color-azure-04);
46
+ border-radius: 16px;
47
+ padding: 4px 12px;
48
+ font-size: 12px;
49
+ cursor: pointer;
50
+ }
51
+ ._Chat-action_1mv7h_40 {
52
+ background: var(--puck-color-azure-04);
53
+ color: white;
54
+ }
55
+ ._Chat-action_1mv7h_40:hover {
56
+ opacity: 0.8;
57
+ }
58
+ ._Chat-actionOutlined_1mv7h_49 {
59
+ background: transparent;
60
+ color: var(--puck-color-azure-04);
61
+ }
62
+ ._Chat-actionOutlined_1mv7h_49:hover {
63
+ background: var(--puck-color-azure-11);
64
+ }
65
+
66
+ /* ../platform-client/styles/color.css */
67
+ :root {
68
+ --puck-color-rose-01: #4a001c;
69
+ --puck-color-rose-02: #670833;
70
+ --puck-color-rose-03: #87114c;
71
+ --puck-color-rose-04: #a81a66;
72
+ --puck-color-rose-05: #bc5089;
73
+ --puck-color-rose-06: #cc7ca5;
74
+ --puck-color-rose-07: #d89aba;
75
+ --puck-color-rose-08: #e3b8cf;
76
+ --puck-color-rose-09: #efd6e3;
77
+ --puck-color-rose-10: #f6eaf1;
78
+ --puck-color-rose-11: #faf4f8;
79
+ --puck-color-rose-12: #fef8fc;
80
+ --puck-color-azure-01: #00175d;
81
+ --puck-color-azure-02: #002c77;
82
+ --puck-color-azure-03: #014292;
83
+ --puck-color-azure-04: #0158ad;
84
+ --puck-color-azure-05: #3479be;
85
+ --puck-color-azure-06: #6499cf;
86
+ --puck-color-azure-07: #88b0da;
87
+ --puck-color-azure-08: #abc7e5;
88
+ --puck-color-azure-09: #cfdff0;
89
+ --puck-color-azure-10: #e7eef7;
90
+ --puck-color-azure-11: #f3f6fb;
91
+ --puck-color-azure-12: #f7faff;
92
+ --puck-color-green-01: #002000;
93
+ --puck-color-green-02: #043604;
94
+ --puck-color-green-03: #084e08;
95
+ --puck-color-green-04: #0c680c;
96
+ --puck-color-green-05: #1d882f;
97
+ --puck-color-green-06: #2faa53;
98
+ --puck-color-green-07: #56c16f;
99
+ --puck-color-green-08: #7dd78b;
100
+ --puck-color-green-09: #b8e8bf;
101
+ --puck-color-green-10: #ddf3e0;
102
+ --puck-color-green-11: #eff8f0;
103
+ --puck-color-green-12: #f3fcf4;
104
+ --puck-color-yellow-01: #211000;
105
+ --puck-color-yellow-02: #362700;
106
+ --puck-color-yellow-03: #4c4000;
107
+ --puck-color-yellow-04: #645a00;
108
+ --puck-color-yellow-05: #877614;
109
+ --puck-color-yellow-06: #ab9429;
110
+ --puck-color-yellow-07: #bfac4e;
111
+ --puck-color-yellow-08: #d4c474;
112
+ --puck-color-yellow-09: #e6deb1;
113
+ --puck-color-yellow-10: #f3efd9;
114
+ --puck-color-yellow-11: #f9f7ed;
115
+ --puck-color-yellow-12: #fcfaf0;
116
+ --puck-color-red-01: #4c0000;
117
+ --puck-color-red-02: #6a0a10;
118
+ --puck-color-red-03: #8a1422;
119
+ --puck-color-red-04: #ac1f35;
120
+ --puck-color-red-05: #bf5366;
121
+ --puck-color-red-06: #ce7e8e;
122
+ --puck-color-red-07: #d99ca8;
123
+ --puck-color-red-08: #e4b9c2;
124
+ --puck-color-red-09: #efd7db;
125
+ --puck-color-red-10: #f6eaec;
126
+ --puck-color-red-11: #faf4f5;
127
+ --puck-color-red-12: #fff9fa;
128
+ --puck-color-grey-01: #181818;
129
+ --puck-color-grey-02: #292929;
130
+ --puck-color-grey-03: #404040;
131
+ --puck-color-grey-04: #5a5a5a;
132
+ --puck-color-grey-05: #767676;
133
+ --puck-color-grey-06: #949494;
134
+ --puck-color-grey-07: #ababab;
135
+ --puck-color-grey-08: #c3c3c3;
136
+ --puck-color-grey-09: #dcdcdc;
137
+ --puck-color-grey-10: #efefef;
138
+ --puck-color-grey-11: #f5f5f5;
139
+ --puck-color-grey-12: #fafafa;
140
+ --puck-color-black: #000000;
141
+ --puck-color-white: #ffffff;
142
+ }
143
+
144
+ /* ../platform-client/styles/typography.css */
145
+ :root {
146
+ --space-m-unitless: 24;
147
+ --puck-font-size-scale-base-unitless: 12;
148
+ --puck-font-size-xxxs-unitless: 12;
149
+ --puck-font-size-xxs-unitless: 14;
150
+ --puck-font-size-xs-unitless: 16;
151
+ --puck-font-size-s-unitless: 18;
152
+ --puck-font-size-m-unitless: 21;
153
+ --puck-font-size-l-unitless: 24;
154
+ --puck-font-size-xl-unitless: 28;
155
+ --puck-font-size-xxl-unitless: 36;
156
+ --puck-font-size-xxxl-unitless: 48;
157
+ --puck-font-size-xxxxl-unitless: 56;
158
+ --puck-font-size-xxxs: calc(1rem * var(--puck-font-size-xxxs-unitless) / 16);
159
+ --puck-font-size-xxs: calc(1rem * var(--puck-font-size-xxs-unitless) / 16);
160
+ --puck-font-size-xs: calc(1rem * var(--puck-font-size-xs-unitless) / 16);
161
+ --puck-font-size-s: calc(1rem * var(--puck-font-size-s-unitless) / 16);
162
+ --puck-font-size-m: calc(1rem * var(--puck-font-size-m-unitless) / 16);
163
+ --puck-font-size-l: calc(1rem * var(--puck-font-size-l-unitless) / 16);
164
+ --puck-font-size-xl: calc(1rem * var(--puck-font-size-xl-unitless) / 16);
165
+ --puck-font-size-xxl: calc(1rem * var(--puck-font-size-xxl-unitless) / 16);
166
+ --puck-font-size-xxxl: calc(1rem * var(--puck-font-size-xxxl-unitless) / 16);
167
+ --puck-font-size-xxxxl: calc( 1rem * var(--puck-font-size-xxxxl-unitless) / 16 );
168
+ --puck-font-size-base: var(--puck-font-size-xs);
169
+ --line-height-reset: 1;
170
+ --line-height-xs: calc( var(--space-m-unitless) / var(--puck-font-size-m-unitless) );
171
+ --line-height-s: calc( var(--space-m-unitless) / var(--puck-font-size-s-unitless) );
172
+ --line-height-m: calc( var(--space-m-unitless) / var(--puck-font-size-xs-unitless) );
173
+ --line-height-l: calc( var(--space-m-unitless) / var(--puck-font-size-xxs-unitless) );
174
+ --line-height-xl: calc( var(--space-m-unitless) / var(--puck-font-size-scale-base-unitless) );
175
+ --line-height-base: var(--line-height-m);
176
+ --fallback-font-stack:
177
+ -apple-system,
178
+ BlinkMacSystemFont,
179
+ Segoe UI,
180
+ Helvetica Neue,
181
+ sans-serif,
182
+ Apple Color Emoji,
183
+ Segoe UI Emoji,
184
+ Segoe UI Symbol;
185
+ --puck-font-family: "Inter Fallback", var(--fallback-font-stack);
186
+ --puck-font-family-monospaced:
187
+ ui-monospace,
188
+ "Cascadia Code",
189
+ "Source Code Pro",
190
+ Menlo,
191
+ Consolas,
192
+ "DejaVu Sans Mono",
193
+ monospace;
194
+ }
195
+ @supports (font-variation-settings: normal) {
196
+ :root {
197
+ --puck-font-family: Inter, var(--fallback-font-stack);
198
+ }
199
+ }
200
+
201
+ /* ../platform-client/styles.css */
202
+ body {
203
+ font-family: var(--puck-font-family);
204
+ }
205
+ p {
206
+ margin: 0;
207
+ }
208
+
209
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/ActionModal/ActionModal.module.css/#css-module-data */
210
+ ._ActionModal_r3pvy_1 {
211
+ display: block;
212
+ min-width: 356px;
213
+ }
214
+ ._ActionModal-header_r3pvy_6 {
215
+ color: var(--puck-color-grey-02);
216
+ display: flex;
217
+ justify-content: center;
218
+ text-align: center;
219
+ flex-direction: column;
220
+ gap: 4px;
221
+ padding: 24px;
222
+ padding-bottom: 16px;
223
+ }
224
+ ._ActionModal-body_r3pvy_17 {
225
+ padding: 24px;
226
+ padding-top: 8px;
227
+ }
228
+ ._ActionModal-footer_r3pvy_22 {
229
+ border-top: 1px solid var(--puck-color-grey-09);
230
+ background-color: var(--puck-color-grey-12);
231
+ display: flex;
232
+ justify-content: flex-end;
233
+ padding: 16px 24px;
234
+ }
235
+
236
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Modal/Modal.module.css/#css-module-data */
237
+ ._Modal-background_1bedq_1 {
238
+ align-items: center;
239
+ display: flex;
240
+ justify-content: center;
241
+ background: #00000050;
242
+ position: fixed;
243
+ top: 0;
244
+ left: 0;
245
+ right: 0;
246
+ bottom: 0;
247
+ z-index: 2;
248
+ opacity: 0;
249
+ pointer-events: none;
250
+ }
251
+ ._Modal--visible_1bedq_16 ._Modal-background_1bedq_1 {
252
+ opacity: 1;
253
+ transition: opacity ease 100ms;
254
+ pointer-events: auto;
255
+ }
256
+ ._Modal-modal_1bedq_22 {
257
+ background: white;
258
+ border-radius: 16px;
259
+ display: block;
260
+ max-height: calc(100vh - 24px);
261
+ margin-inline: 24px;
262
+ overflow: auto;
263
+ }
264
+
265
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
266
+ ._Button_1fon5_1 {
267
+ appearance: none;
268
+ background: none;
269
+ border: 1px solid transparent;
270
+ border-radius: 8px;
271
+ color: var(--puck-color-white);
272
+ display: inline-flex;
273
+ align-items: center;
274
+ gap: 8px;
275
+ letter-spacing: 0.05ch;
276
+ font-family: var(--puck-font-family);
277
+ font-size: 14px;
278
+ font-weight: 400;
279
+ box-sizing: border-box;
280
+ line-height: 1;
281
+ text-align: center;
282
+ text-decoration: none;
283
+ transition: background-color 50ms ease-in;
284
+ cursor: pointer;
285
+ white-space: nowrap;
286
+ margin: 0;
287
+ }
288
+ ._Button_1fon5_1:hover,
289
+ ._Button_1fon5_1:active {
290
+ transition: none;
291
+ }
292
+ ._Button--medium_1fon5_29 {
293
+ min-height: 34px;
294
+ padding-bottom: 7px;
295
+ padding-left: 19px;
296
+ padding-right: 19px;
297
+ padding-top: 7px;
298
+ }
299
+ ._Button--large_1fon5_37 {
300
+ padding-bottom: 11px;
301
+ padding-left: 19px;
302
+ padding-right: 19px;
303
+ padding-top: 11px;
304
+ }
305
+ ._Button-icon_1fon5_44 {
306
+ margin-top: 2px;
307
+ }
308
+ ._Button--primary_1fon5_48 {
309
+ background: var(--puck-color-azure-04);
310
+ }
311
+ ._Button_1fon5_1:focus-visible {
312
+ outline: 2px solid var(--puck-color-azure-05);
313
+ outline-offset: 2px;
314
+ }
315
+ @media (hover: hover) and (pointer: fine) {
316
+ ._Button--primary_1fon5_48:hover {
317
+ background-color: var(--puck-color-azure-03);
318
+ }
319
+ }
320
+ ._Button--primary_1fon5_48:active {
321
+ background-color: var(--puck-color-azure-02);
322
+ }
323
+ ._Button--secondary_1fon5_67 {
324
+ border: 1px solid currentColor;
325
+ color: currentColor;
326
+ }
327
+ @media (hover: hover) and (pointer: fine) {
328
+ ._Button--secondary_1fon5_67:hover {
329
+ background-color: var(--puck-color-azure-12);
330
+ color: var(--puck-color-black);
331
+ }
332
+ }
333
+ ._Button--secondary_1fon5_67:active {
334
+ background-color: var(--puck-color-azure-11);
335
+ color: var(--puck-color-black);
336
+ }
337
+ ._Button--danger_1fon5_84 {
338
+ background: var(--puck-color-red-04);
339
+ }
340
+ @media (hover: hover) and (pointer: fine) {
341
+ ._Button--danger_1fon5_84:hover {
342
+ background-color: var(--puck-color-red-03);
343
+ }
344
+ }
345
+ ._Button--danger_1fon5_84:active {
346
+ background-color: var(--puck-color-red-02);
347
+ }
348
+ ._Button--flush_1fon5_98 {
349
+ border-radius: 0;
350
+ }
351
+ ._Button--disabled_1fon5_102,
352
+ ._Button--disabled_1fon5_102:hover {
353
+ background-color: var(--puck-color-grey-09);
354
+ color: var(--puck-color-grey-05);
355
+ cursor: not-allowed;
356
+ }
357
+ ._Button--fullWidth_1fon5_109 {
358
+ justify-content: center;
359
+ width: 100%;
360
+ }
361
+ ._Button-spinner_1fon5_114 {
362
+ padding-left: 8px;
363
+ }
364
+
365
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Loader/styles.module.css/#css-module-data */
366
+ @keyframes _loader-animation_nacdm_1 {
367
+ 0% {
368
+ transform: rotate(0deg) scale(1);
369
+ }
370
+ 50% {
371
+ transform: rotate(180deg) scale(0.8);
372
+ }
373
+ 100% {
374
+ transform: rotate(360deg) scale(1);
375
+ }
376
+ }
377
+ ._Loader_nacdm_13 {
378
+ background: transparent;
379
+ border-radius: 100%;
380
+ border: 2px solid currentColor;
381
+ border-bottom-color: transparent;
382
+ display: inline-block;
383
+ animation: _loader-animation_nacdm_1 1s 0s infinite linear;
384
+ animation-fill-mode: both;
385
+ }
386
+
387
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Heading/Heading.module.css/#css-module-data */
388
+ ._Heading_qkzg9_1 {
389
+ display: block;
390
+ font-weight: 700;
391
+ margin: 0;
392
+ }
393
+ ._Heading_qkzg9_1 b {
394
+ font-weight: 700;
395
+ }
396
+ ._Heading--xxxxl_qkzg9_11 {
397
+ font-size: var(--puck-font-size-xxxl);
398
+ }
399
+ ._Heading--xxxl_qkzg9_15 {
400
+ font-size: var(--puck-font-size-xxl);
401
+ }
402
+ ._Heading--xxl_qkzg9_19 {
403
+ font-size: var(--puck-font-size-xl);
404
+ }
405
+ ._Heading--xl_qkzg9_23 {
406
+ font-size: var(--puck-font-size-l);
407
+ }
408
+ ._Heading--l_qkzg9_27 {
409
+ font-size: var(--puck-font-size-m);
410
+ }
411
+ ._Heading--m_qkzg9_31 {
412
+ font-size: var(--puck-font-size-s);
413
+ }
414
+ ._Heading--s_qkzg9_35 {
415
+ font-size: var(--puck-font-size-xs);
416
+ }
417
+ ._Heading--xs_qkzg9_39 {
418
+ font-size: var(--puck-font-size-xxs);
419
+ }
420
+ ._Heading--xxs_qkzg9_43 {
421
+ font-size: var(--puck-font-size-xxs);
422
+ }
423
+ @media (min-width: 768px) {
424
+ ._Heading--xxxxl_qkzg9_11 {
425
+ font-size: var(--puck-font-size-xxxxl);
426
+ letter-spacing: 0.08ch;
427
+ font-weight: 800;
428
+ }
429
+ ._Heading--xxxl_qkzg9_15 {
430
+ font-size: var(--puck-font-size-xxxl);
431
+ }
432
+ ._Heading--xxl_qkzg9_19 {
433
+ font-size: var(--puck-font-size-xxl);
434
+ }
435
+ ._Heading--xl_qkzg9_23 {
436
+ font-size: var(--puck-font-size-xl);
437
+ }
438
+ ._Heading--l_qkzg9_27 {
439
+ font-size: var(--puck-font-size-l);
440
+ }
441
+ ._Heading--m_qkzg9_31 {
442
+ font-size: var(--puck-font-size-m);
443
+ }
444
+ ._Heading--s_qkzg9_35 {
445
+ font-size: var(--puck-font-size-s);
446
+ }
447
+ ._Heading--xs_qkzg9_39 {
448
+ font-size: var(--puck-font-size-xs);
449
+ }
450
+ ._Heading--xxs_qkzg9_43 {
451
+ font-size: var(--puck-font-size-xxs);
452
+ }
453
+ }
454
+
455
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Align/Align.module.css/#css-module-data */
456
+ ._Align_oewlu_1 {
457
+ align-items: flex-start;
458
+ display: flex;
459
+ flex-direction: column;
460
+ }
461
+ ._Align--horizontalCenter_oewlu_7 {
462
+ align-items: center;
463
+ }
464
+ ._Align--horizontalRight_oewlu_11 {
465
+ align-items: flex-end;
466
+ }
467
+ ._Align--verticalBottom_oewlu_15 {
468
+ height: 100%;
469
+ justify-content: flex-end;
470
+ }
471
+ ._Align--verticalCenter_oewlu_20 {
472
+ height: 100%;
473
+ justify-content: center;
474
+ }
475
+ ._Align-item_oewlu_25 {
476
+ position: relative;
477
+ }
478
+
479
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/AutoForm/AutoForm.module.css/#css-module-data */
480
+ ._AutoForm_1vmh9_1 {
481
+ display: flex;
482
+ gap: 16px;
483
+ flex-direction: column;
484
+ }
485
+ ._AutoForm_1vmh9_1 ._Input_3pq3z_1 {
486
+ box-sizing: border-box;
487
+ padding: 0px !important;
488
+ }
489
+
490
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Card/Card.module.css/#css-module-data */
491
+ ._Card_jzb6b_1 {
492
+ background-color: white;
493
+ border: 1px solid var(--puck-color-grey-08);
494
+ border-radius: 16px;
495
+ color: var(--puck-color-black);
496
+ display: block;
497
+ text-decoration: none;
498
+ }
499
+ ._Card_jzb6b_1:hover {
500
+ cursor: pointer;
501
+ background: var(--puck-color-azure-11);
502
+ border-color: currentColor;
503
+ color: var(--puck-color-azure-04);
504
+ }
505
+ ._Card-body_jzb6b_17 {
506
+ align-items: center;
507
+ display: flex;
508
+ padding: 16px;
509
+ }
510
+ ._Card-title_jzb6b_23 {
511
+ margin-bottom: 4px;
512
+ }
513
+ ._Card-subtitle_jzb6b_27 {
514
+ margin: 0;
515
+ }
516
+ ._Card-chevron_jzb6b_31 {
517
+ align-items: center;
518
+ display: none;
519
+ margin-left: auto;
520
+ }
521
+ ._Card--showChevron_jzb6b_37 ._Card-chevron_jzb6b_31 {
522
+ display: flex;
523
+ }
524
+ ._Card--isActive_jzb6b_41 {
525
+ border-color: var(--puck-color-azure-04);
526
+ color: var(--puck-color-azure-04);
527
+ }
528
+
529
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Code/Code.module.css/#css-module-data */
530
+ ._Code_d4378_1 {
531
+ border-radius: 8px;
532
+ position: relative;
533
+ overflow: hidden;
534
+ border: 1px solid var(--puck-color-grey-09);
535
+ }
536
+ ._Code-body_d4378_8 pre {
537
+ margin: 0;
538
+ }
539
+ ._Code-body_d4378_8 code {
540
+ display: block;
541
+ font-size: var(--puck-font-size-xs);
542
+ padding-block: 16px;
543
+ overflow-y: auto;
544
+ }
545
+ ._Code--light_d4378_19 {
546
+ background-color: white;
547
+ }
548
+ ._Code-body_d4378_8 code > span {
549
+ padding-left: 16px;
550
+ padding-right: 64px;
551
+ }
552
+ @media (min-width: 768px) {
553
+ ._Code-body_d4378_8 code > span {
554
+ padding-right: 16px;
555
+ }
556
+ }
557
+ ._Code-header_d4378_34 {
558
+ align-items: center;
559
+ background-color: #24292e;
560
+ border-bottom: 1px solid var(--puck-color-grey-03);
561
+ color: white;
562
+ display: flex;
563
+ padding-left: 12px;
564
+ padding-right: 12px;
565
+ overflow-y: auto;
566
+ }
567
+ ._Code--light_d4378_19 ._Code-header_d4378_34 {
568
+ background-color: white;
569
+ border-bottom-color: var(--puck-color-grey-09);
570
+ color: var(--puck-color-grey-03);
571
+ }
572
+ ._Code-corner_d4378_51 {
573
+ background-color: #24292e80;
574
+ border-bottom-left-radius: 4px;
575
+ color: white;
576
+ display: none;
577
+ position: absolute;
578
+ padding: 12px 16px;
579
+ pointer-events: none;
580
+ right: 0;
581
+ }
582
+ ._Code_d4378_1:hover ._Code-corner_d4378_51 {
583
+ display: flex;
584
+ }
585
+ ._Code--light_d4378_19 ._Code-corner_d4378_51 {
586
+ background-color: #ffffff80;
587
+ color: var(--puck-color-grey-03);
588
+ }
589
+ ._Code-actions_d4378_71 {
590
+ margin-left: auto;
591
+ pointer-events: auto;
592
+ }
593
+ ._Code--lineNumbers_d4378_76 ._Code-body_d4378_8 code {
594
+ counter-reset: step;
595
+ counter-increment: step 0;
596
+ }
597
+ ._Code--lineNumbers_d4378_76 ._Code-body_d4378_8 code .line::before {
598
+ content: counter(step);
599
+ counter-increment: step;
600
+ width: 1rem;
601
+ margin-right: 1.5rem;
602
+ display: inline-block;
603
+ text-align: right;
604
+ color: rgba(115, 138, 148, 0.4);
605
+ }
606
+ ._Code-tabs_d4378_91 {
607
+ display: flex;
608
+ list-style: none;
609
+ padding: 0;
610
+ margin: 0;
611
+ padding-right: 8px;
612
+ }
613
+ ._Tab_d4378_99 {
614
+ border-block: 3px solid transparent;
615
+ padding: 4px 2px;
616
+ }
617
+ ._Tab--isActive_d4378_104 {
618
+ border-bottom-color: white;
619
+ }
620
+ ._Tab--light_d4378_108._Tab--isActive_d4378_104 {
621
+ border-bottom-color: var(--puck-color-grey-03);
622
+ }
623
+ ._Tab-button_d4378_112 {
624
+ background-color: transparent;
625
+ border: none;
626
+ border-radius: 8px;
627
+ color: var(--puck-color-grey-08);
628
+ font-size: var(--puck-font-size-xxs);
629
+ padding: 8px;
630
+ cursor: pointer;
631
+ white-space: nowrap;
632
+ }
633
+ ._Tab--light_d4378_108 ._Tab-button_d4378_112 {
634
+ color: var(--puck-color-grey-06);
635
+ }
636
+ ._Tab--isActive_d4378_104 ._Tab-button_d4378_112 {
637
+ color: white;
638
+ }
639
+ ._Tab--light_d4378_108._Tab--isActive_d4378_104 ._Tab-button_d4378_112 {
640
+ color: var(--puck-color-grey-01);
641
+ }
642
+ ._Tab-button_d4378_112:hover {
643
+ background: var(--puck-color-grey-03);
644
+ }
645
+ ._Tab--light_d4378_108 ._Tab-button_d4378_112:hover {
646
+ background: var(--puck-color-grey-11);
647
+ }
648
+
649
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/IconButton/IconButton.module.css/#css-module-data */
650
+ ._IconButton_thegm_1 {
651
+ align-items: center;
652
+ background: transparent;
653
+ border: none;
654
+ border-radius: 4px;
655
+ color: currentColor;
656
+ display: flex;
657
+ font-family: var(--puck-font-family);
658
+ justify-content: center;
659
+ padding: 4px;
660
+ transition: background-color 50ms ease-in, color 50ms ease-in;
661
+ }
662
+ ._IconButton_thegm_1:focus-visible {
663
+ outline: 2px solid var(--puck-color-azure-05);
664
+ outline-offset: -2px;
665
+ }
666
+ @media (hover: hover) and (pointer: fine) {
667
+ ._IconButton_thegm_1:hover:not(._IconButton--disabled_thegm_20) {
668
+ background: var(--puck-color-azure-10);
669
+ cursor: pointer;
670
+ transition: none;
671
+ }
672
+ ._IconButton--dark_thegm_26:hover:not(._IconButton--disabled_thegm_20) {
673
+ background: var(--puck-color-grey-04);
674
+ color: var(--puck-color-azure-10);
675
+ }
676
+ }
677
+ ._IconButton_thegm_1:active {
678
+ background: var(--puck-color-azure-11);
679
+ transition: none;
680
+ }
681
+ ._IconButton-title_thegm_37 {
682
+ clip: rect(0 0 0 0);
683
+ clip-path: inset(100%);
684
+ height: 1px;
685
+ overflow: hidden;
686
+ position: absolute;
687
+ white-space: nowrap;
688
+ width: 1px;
689
+ }
690
+ ._IconButton--disabled_thegm_20 {
691
+ color: var(--puck-color-grey-07);
692
+ }
693
+
694
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/InfoBar/InfoBar.module.css/#css-module-data */
695
+ ._InfoBar_kchdj_1 {
696
+ border: 1px solid var(--puck-color-grey-10);
697
+ border-radius: 8px;
698
+ color: var(--puck-color-grey-03);
699
+ display: flex;
700
+ font-size: var(--puck-font-size-xxs);
701
+ margin-left: auto;
702
+ margin-right: auto;
703
+ overflow: hidden;
704
+ }
705
+ ._Info_kchdj_1 {
706
+ background-color: var(--puck-color-grey-12);
707
+ display: flex;
708
+ gap: 8px;
709
+ font-family: var(--puck-font-family-monospaced);
710
+ border-right: 1px solid var(--puck-color-grey-10);
711
+ padding: 12px 16px;
712
+ }
713
+ ._Info-title_kchdj_21 {
714
+ font-weight: 600;
715
+ }
716
+
717
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Inline/Inline.module.css/#css-module-data */
718
+ ._Inline_6o5on_3 {
719
+ display: block;
720
+ }
721
+ ._Inline-inner_6o5on_7 {
722
+ display: flex;
723
+ flex-flow: row wrap;
724
+ }
725
+ ._Inline--noWrap_6o5on_12 > ._Inline-inner_6o5on_7 {
726
+ flex-flow: nowrap;
727
+ }
728
+ ._Inline--sizeNONE_6o5on_16 > ._Inline-inner_6o5on_7 {
729
+ gap: 0;
730
+ }
731
+ ._Inline--sizeXXS_6o5on_20 > ._Inline-inner_6o5on_7 {
732
+ gap: 4px;
733
+ }
734
+ ._Inline--sizeXS_6o5on_24 > ._Inline-inner_6o5on_7 {
735
+ gap: 6px;
736
+ }
737
+ ._Inline--sizeS_6o5on_28 > ._Inline-inner_6o5on_7 {
738
+ gap: 8px;
739
+ }
740
+ ._Inline--sizeM_6o5on_32 > ._Inline-inner_6o5on_7 {
741
+ gap: 16px;
742
+ }
743
+ ._Inline--sizeL_6o5on_36 > ._Inline-inner_6o5on_7 {
744
+ gap: 32px;
745
+ }
746
+ ._Inline--center_6o5on_40 > ._Inline-inner_6o5on_7 {
747
+ align-items: center;
748
+ }
749
+ ._Inline--centerH_6o5on_44 > ._Inline-inner_6o5on_7 {
750
+ justify-content: center;
751
+ }
752
+ ._Inline--grow_6o5on_48 > ._Inline-inner_6o5on_7 > * {
753
+ flex-basis: 0;
754
+ flex-grow: 1;
755
+ }
756
+
757
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Link/Link.module.css/#css-module-data */
758
+ ._Link_1j70m_1 {
759
+ color: var(--puck-color-azure-04);
760
+ text-decoration: none;
761
+ }
762
+ ._Link_1j70m_1:hover {
763
+ color: var(--puck-color-azure-05);
764
+ }
765
+
766
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Page/Page.module.css/#css-module-data */
767
+ ._Page_nkzj9_1 {
768
+ display: flex;
769
+ flex-direction: column;
770
+ height: 100%;
771
+ overflow: hidden;
772
+ }
773
+ ._Page-masthead_nkzj9_8 {
774
+ align-items: center;
775
+ display: flex;
776
+ gap: 16px;
777
+ padding: 16px 24px;
778
+ box-sizing: border-box;
779
+ border-bottom: 1px solid var(--puck-color-grey-10);
780
+ min-height: 64px;
781
+ }
782
+ ._Page-crumbs_nkzj9_18 {
783
+ display: flex;
784
+ gap: 32px;
785
+ }
786
+ ._Page-crumb_nkzj9_18 {
787
+ color: var(--puck-color-grey-05);
788
+ position: relative;
789
+ white-space: nowrap;
790
+ }
791
+ ._Page-crumbLink_nkzj9_29 {
792
+ color: var(--puck-color-grey-05);
793
+ text-decoration: none;
794
+ }
795
+ ._Page-crumbLink_nkzj9_29:hover {
796
+ color: var(--puck-color-azure-04);
797
+ }
798
+ ._Page-crumb_nkzj9_18:last-of-type {
799
+ color: var(--puck-color-grey-01);
800
+ font-weight: 600;
801
+ }
802
+ ._Page-crumb_nkzj9_18::before {
803
+ position: absolute;
804
+ content: "/";
805
+ left: -19px;
806
+ color: var(--puck-color-grey-09);
807
+ font-weight: 400;
808
+ }
809
+ ._Page-crumb_nkzj9_18:first-of-type::before {
810
+ display: none;
811
+ }
812
+ ._Page-crumb_nkzj9_18 {
813
+ color: var(--puck-color-grey-05);
814
+ position: relative;
815
+ text-decoration: none;
816
+ }
817
+ ._Page-actions_nkzj9_61 {
818
+ margin-left: auto;
819
+ }
820
+ ._Page-footer_nkzj9_65 {
821
+ border-top: 1px solid var(--puck-color-grey-10);
822
+ padding: 16px 24px;
823
+ }
824
+
825
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Pagination/Pagination.module.css/#css-module-data */
826
+ ._Pagination_1okv2_1 {
827
+ align-items: baseline;
828
+ display: flex;
829
+ gap: 4px;
830
+ }
831
+ ._PaginationButton_1okv2_8 {
832
+ align-items: center;
833
+ border-radius: 4px;
834
+ color: var(--puck-color-grey-05);
835
+ display: flex;
836
+ justify-content: center;
837
+ text-decoration: none;
838
+ min-width: 40px;
839
+ height: 40px;
840
+ }
841
+ ._PaginationButton--isActive_1okv2_20 {
842
+ background-color: var(--puck-color-azure-11);
843
+ color: var(--puck-color-azure-04);
844
+ }
845
+ ._PaginationButton_1okv2_8:hover {
846
+ background-color: var(--puck-color-azure-11);
847
+ color: var(--puck-color-azure-04);
848
+ }
849
+ ._Pagination-ellipsis_1okv2_30 {
850
+ color: var(--puck-color-grey-05);
851
+ }
852
+
853
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
854
+ ._Section-inner_1uwo0_1 {
855
+ margin-left: auto;
856
+ margin-right: auto;
857
+ max-width: 1280px;
858
+ padding: 16px;
859
+ }
860
+ ._Section--flush_1uwo0_8 ._Section-inner_1uwo0_1 {
861
+ padding-bottom: 0;
862
+ padding-top: 0;
863
+ }
864
+ ._Section_1uwo0_1 + ._Section_1uwo0_1 {
865
+ border-top: 1px solid var(--puck-color-grey-09);
866
+ }
867
+ ._Section--full_1uwo0_17 ._Section-inner_1uwo0_1 {
868
+ max-width: unset;
869
+ }
870
+
871
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Tag/Tag.module.css/#css-module-data */
872
+ ._Tag_1baze_1 {
873
+ align-items: center;
874
+ display: inline-flex;
875
+ text-transform: uppercase;
876
+ font-weight: 600;
877
+ font-size: var(--puck-font-size-xxxs);
878
+ gap: 6px;
879
+ border-radius: 4px;
880
+ border: 1px solid currentColor;
881
+ color: var(--puck-color-grey-05);
882
+ padding: 4px 8px;
883
+ white-space: nowrap;
884
+ position: relative;
885
+ z-index: 0;
886
+ }
887
+ ._Tag--colorBlue_1baze_19 {
888
+ color: var(--puck-color-azure-05);
889
+ }
890
+ ._Tag--colorGreen_1baze_23 {
891
+ color: var(--puck-color-green-06);
892
+ }
893
+ ._Tag--colorRed_1baze_27 {
894
+ color: var(--puck-color-red-04);
895
+ }
896
+ ._Tag--colorMuted_1baze_31 {
897
+ color: var(--puck-color-grey-06);
898
+ }
899
+ ._Tag-sprite_1baze_35 {
900
+ display: flex;
901
+ }
902
+ ._Tag--pulse_1baze_39 {
903
+ ._Tag-sprite_1baze_35 {
904
+ background: currentColor;
905
+ border-radius: 50%;
906
+ height: 5px;
907
+ position: relative;
908
+ width: 5px;
909
+ }
910
+ ._Tag-sprite_1baze_35::before {
911
+ animation: _pulse_1baze_1 1s 0s infinite alternate;
912
+ animation-fill-mode: both;
913
+ background-color: color-mix(in srgb, currentColor 25%, transparent);
914
+ border-radius: 50%;
915
+ content: "";
916
+ top: 0;
917
+ left: 0;
918
+ right: 0;
919
+ bottom: 0;
920
+ position: absolute;
921
+ transform: scale(0);
922
+ z-index: -1;
923
+ }
924
+ }
925
+ @keyframes _pulse_1baze_1 {
926
+ 0% {
927
+ transform: scale(1);
928
+ }
929
+ 100% {
930
+ transform: scale(2);
931
+ }
932
+ }
933
+
934
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
935
+ ._Table_o345u_1 {
936
+ color: black;
937
+ display: flex;
938
+ flex-direction: column;
939
+ flex-grow: 1;
940
+ overflow-y: auto;
941
+ }
942
+ ._Table-filters_o345u_9 {
943
+ margin: 16px;
944
+ }
945
+ ._Table-inner_o345u_13 {
946
+ text-align: left;
947
+ }
948
+ ._Table-table_o345u_17 {
949
+ color: var(--puck-color-grey-02);
950
+ font-size: var(--puck-font-size-xxs);
951
+ position: relative;
952
+ width: 100%;
953
+ }
954
+ ._Table_o345u_1 thead {
955
+ background: white;
956
+ font-size: var(--puck-font-size-xxs);
957
+ position: sticky;
958
+ top: 0;
959
+ white-space: nowrap;
960
+ z-index: 1;
961
+ }
962
+ ._Table_o345u_1 thead::after {
963
+ content: "";
964
+ position: absolute;
965
+ height: 1px;
966
+ width: 100%;
967
+ background-color: var(--puck-color-grey-10);
968
+ }
969
+ ._Table--hideHeader_o345u_41 thead {
970
+ display: none;
971
+ }
972
+ ._Table_o345u_1 tbody tr {
973
+ z-index: 0;
974
+ }
975
+ ._Table_o345u_1 th {
976
+ background: var(--puck-color-grey-12);
977
+ font-weight: 400;
978
+ padding-left: 24px;
979
+ padding-right: 24px;
980
+ padding-bottom: 12px;
981
+ padding-top: 12px;
982
+ }
983
+ @media (--standard-viewport) {
984
+ ._Table_o345u_1 th {
985
+ padding-left: 32px;
986
+ padding-right: 32px;
987
+ }
988
+ }
989
+ ._Table_o345u_1 td {
990
+ border-bottom: 1px solid var(--puck-color-grey-10);
991
+ padding-left: 24px;
992
+ padding-right: 24px;
993
+ padding-bottom: 16px;
994
+ padding-top: 16px;
995
+ white-space: nowrap;
996
+ }
997
+ ._Table_o345u_1 td:not(:first-of-type) {
998
+ color: var(--puck-color-grey-05);
999
+ }
1000
+ ._Table_o345u_1 tbody tr:last-of-type td {
1001
+ border-bottom: none;
1002
+ }
1003
+ @media (--standard-viewport) {
1004
+ ._Table_o345u_1 td {
1005
+ padding-left: 32px;
1006
+ padding-right: 32px;
1007
+ }
1008
+ }
1009
+ ._Table-footer_o345u_89 {
1010
+ border-top: 1px solid var(--puck-color-grey-09);
1011
+ }
1012
+ ._Table--clickableRows_o345u_93 tbody tr:hover {
1013
+ background: var(--puck-color-azure-12);
1014
+ cursor: pointer;
1015
+ }
1016
+ ._Table-placeholder_o345u_98 {
1017
+ align-items: center;
1018
+ color: var(--puck-color-grey-04);
1019
+ justify-content: center;
1020
+ display: flex;
1021
+ gap: 8px;
1022
+ flex-direction: column;
1023
+ width: 100%;
1024
+ height: 100%;
1025
+ text-align: center;
1026
+ }
1027
+ ._Table-loader_o345u_110 {
1028
+ padding: 16px 24px;
1029
+ }
1030
+ ._TableRow--highlightRow_o345u_114 {
1031
+ background-color: var(--puck-color-grey-12);
1032
+ }
1033
+
1034
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
1035
+ ._VerticalSpace_1tjaw_1 {
1036
+ padding-top: 16px;
1037
+ }
1038
+ ._VerticalSpace--size4_1tjaw_5 {
1039
+ padding-top: 4px;
1040
+ }
1041
+ ._VerticalSpace--size8_1tjaw_9 {
1042
+ padding-top: 8px;
1043
+ }
1044
+ ._VerticalSpace--size16_1tjaw_13 {
1045
+ padding-top: 16px;
1046
+ }
1047
+ ._VerticalSpace--size32_1tjaw_17 {
1048
+ padding-top: 32px;
1049
+ }
1050
+ ._VerticalSpace--size40_1tjaw_21 {
1051
+ padding-top: 40px;
1052
+ }
1053
+ ._VerticalSpace--size48_1tjaw_25 {
1054
+ padding-top: 48px;
1055
+ }
1056
+ ._VerticalSpace--size56_1tjaw_29 {
1057
+ padding-top: 56px;
1058
+ }
1059
+ ._VerticalSpace--size96_1tjaw_33 {
1060
+ padding-top: 96px;
1061
+ }
1062
+ ._VerticalSpace--size128_1tjaw_37 {
1063
+ padding-top: 128px;
1064
+ }
1065
+
1066
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Viewport/styles.module.css/#css-module-data */
1067
+ ._Viewport_1vvhm_3 {
1068
+ }
1069
+ ._Viewport--standard_1vvhm_6,
1070
+ ._Viewport--inline_1vvhm_7._Viewport--standard_1vvhm_6 {
1071
+ display: none;
1072
+ }
1073
+ ._Viewport--narrow_1vvhm_11 {
1074
+ display: block;
1075
+ }
1076
+ ._Viewport--inline_1vvhm_7._Viewport--narrow_1vvhm_11 {
1077
+ display: inline;
1078
+ }
1079
+ ._Viewport--flex_1vvhm_19._Viewport--narrow_1vvhm_11 {
1080
+ display: flex;
1081
+ }
1082
+ @media (min-width: 768px) {
1083
+ ._Viewport--narrow_1vvhm_11,
1084
+ ._Viewport--inline_1vvhm_7._Viewport--narrow_1vvhm_11,
1085
+ ._Viewport--flex_1vvhm_19._Viewport--narrow_1vvhm_11 {
1086
+ display: none;
1087
+ }
1088
+ }
1089
+ @media (min-width: 768px) {
1090
+ ._Viewport--standard_1vvhm_6 {
1091
+ display: block;
1092
+ }
1093
+ ._Viewport--inline_1vvhm_7._Viewport--standard_1vvhm_6 {
1094
+ display: inline;
1095
+ }
1096
+ ._Viewport--flex_1vvhm_19._Viewport--standard_1vvhm_6 {
1097
+ display: flex;
1098
+ }
1099
+ }
1100
+
1101
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/ChatBody/styles.module.css/#css-module-data */
1102
+ ._Chat_150yz_1 {
1103
+ --fade-size: 32px;
1104
+ --chat-background-color: white;
1105
+ display: flex;
1106
+ flex-direction: column;
1107
+ height: 100%;
1108
+ max-height: 55vh;
1109
+ overflow: hidden;
1110
+ }
1111
+ @media (min-width: 638px) {
1112
+ ._Chat_150yz_1 {
1113
+ max-height: none;
1114
+ }
1115
+ }
1116
+ ._Chat-inner_150yz_17 {
1117
+ background-color: var(--chat-background-color);
1118
+ display: flex;
1119
+ flex-direction: column;
1120
+ max-height: 100%;
1121
+ position: relative;
1122
+ }
1123
+ ._Chat--hasMessages_150yz_25 ._Chat-inner_150yz_17 {
1124
+ padding-top: 0;
1125
+ }
1126
+ ._Chat_150yz_1:not(._Chat--hasChildren_150yz_29) ._Chat-inner_150yz_17 {
1127
+ height: 100%;
1128
+ padding-top: 0;
1129
+ }
1130
+ ._Chat--hasMessages_150yz_25 ._Chat-messages_150yz_34 {
1131
+ display: flex;
1132
+ flex-direction: column-reverse;
1133
+ padding: 16px;
1134
+ overflow: auto;
1135
+ }
1136
+ ._Chat-form_150yz_41 {
1137
+ background-color: white;
1138
+ padding: 16px;
1139
+ }
1140
+ ._Chat--hideInput_150yz_46 ._Chat-form_150yz_41 {
1141
+ display: none;
1142
+ }
1143
+ ._Chat--hasMessages_150yz_25 ._Chat-form_150yz_41 {
1144
+ border-top: 1px solid var(--puck-color-grey-09);
1145
+ }
1146
+ @media (min-width: 638px) {
1147
+ ._Chat-form_150yz_41 {
1148
+ border-top: 1px solid var(--puck-color-grey-09);
1149
+ }
1150
+ }
1151
+ ._Chat-formHelper_150yz_60 {
1152
+ align-items: center;
1153
+ display: flex;
1154
+ color: var(--puck-color-grey-04);
1155
+ font-size: var(--puck-font-size-xxs);
1156
+ font-weight: 600;
1157
+ gap: 8px;
1158
+ padding-bottom: 12px;
1159
+ }
1160
+ ._Chat--hasMessages_150yz_25 ._Chat-formHelper_150yz_60 {
1161
+ opacity: 0;
1162
+ transition: opacity 250ms ease-in;
1163
+ }
1164
+ ._Chat-examplePrompts_150yz_75 {
1165
+ align-items: center;
1166
+ display: flex;
1167
+ flex-wrap: nowrap;
1168
+ gap: 6px;
1169
+ padding-top: 16px;
1170
+ width: 100%;
1171
+ overflow-x: auto;
1172
+ }
1173
+ ._Chat-examplePrompt_150yz_75 {
1174
+ align-items: center;
1175
+ background: white;
1176
+ border: 1px solid var(--puck-color-grey-09);
1177
+ border-radius: 48px;
1178
+ display: flex;
1179
+ gap: 4px;
1180
+ font-size: var(--puck-font-size-xxxs);
1181
+ padding: 6px 12px;
1182
+ text-wrap: nowrap;
1183
+ }
1184
+ ._Chat-examplePrompt_150yz_75:hover {
1185
+ background: var(--puck-color-azure-11);
1186
+ border-color: var(--puck-color-azure-08);
1187
+ color: var(--puck-color-azure-04);
1188
+ }
1189
+ ._Chat-examplePromptArrow_150yz_103 {
1190
+ margin-left: auto;
1191
+ }
1192
+ ._Chat-default_150yz_107 {
1193
+ overflow-y: auto;
1194
+ flex-grow: 1;
1195
+ }
1196
+ ._Chat--hasMessages_150yz_25 ._Chat-default_150yz_107 {
1197
+ opacity: 0;
1198
+ padding: 0;
1199
+ pointer-events: none;
1200
+ transition: opacity 250ms ease-in;
1201
+ }
1202
+ ._Chat--hasMessages_150yz_25 {
1203
+ background-color: white;
1204
+ transition: background-color 250ms ease-in;
1205
+ }
1206
+ ._ChatMessage_150yz_124 {
1207
+ font-size: var(--puck-font-size-xs);
1208
+ line-height: var(--line-height-s);
1209
+ overflow-wrap: break-word;
1210
+ }
1211
+ ._ChatMessage--userRole_150yz_130 ._ChatMessage-text_150yz_130 {
1212
+ background: var(--puck-color-azure-10);
1213
+ border-radius: 16px;
1214
+ color: var(--puck-color-grey-03);
1215
+ margin-left: 24px;
1216
+ margin-bottom: 8px;
1217
+ margin-top: 8px;
1218
+ padding: 12px 16px;
1219
+ }
1220
+ ._ChatMessage_150yz_124 ul,
1221
+ ._ChatMessage_150yz_124 ol {
1222
+ list-style: decimal;
1223
+ margin: 0;
1224
+ margin-bottom: 12px;
1225
+ margin-top: 12px;
1226
+ padding-left: 32px;
1227
+ }
1228
+ ._ChatMessage_150yz_124 li {
1229
+ margin-bottom: 8px;
1230
+ margin-top: 8px;
1231
+ padding-left: 8px;
1232
+ }
1233
+ ._ChatMessage_150yz_124 h1,
1234
+ ._ChatMessage_150yz_124 h2,
1235
+ ._ChatMessage_150yz_124 h3,
1236
+ ._ChatMessage_150yz_124 h4,
1237
+ ._ChatMessage_150yz_124 h5,
1238
+ ._ChatMessage_150yz_124 h6 {
1239
+ font-weight: 600;
1240
+ }
1241
+ ._ChatMessage_150yz_124 h1 {
1242
+ font-size: var(--puck-font-l);
1243
+ }
1244
+ ._ChatMessage_150yz_124 h2 {
1245
+ font-size: var(--puck-font-m);
1246
+ }
1247
+ ._ChatMessage_150yz_124 h3 {
1248
+ font-size: var(--puck-font-m);
1249
+ }
1250
+ ._ChatMessage_150yz_124 h4 {
1251
+ font-size: var(--puck-font-s);
1252
+ }
1253
+ ._ChatMessage_150yz_124 h5 {
1254
+ font-size: var(--puck-font-xs);
1255
+ }
1256
+ ._ChatMessage_150yz_124 h6 {
1257
+ font-size: var(--puck-font-xm);
1258
+ }
1259
+ ._ChatMessage_150yz_124 p {
1260
+ margin-bottom: 8px;
1261
+ margin-top: 8px;
1262
+ }
1263
+ ._ChatMessage_150yz_124 a {
1264
+ color: var(--puck-color-azure-04);
1265
+ font-weight: 600;
1266
+ text-decoration: none;
1267
+ }
1268
+ ._ChatMessage_150yz_124 a:hover {
1269
+ color: var(--puck-color-azure-05);
1270
+ }
1271
+ ._ChatMessage_150yz_124 hr {
1272
+ border-top: none;
1273
+ border-bottom-color: var(--puck-color-grey-09);
1274
+ margin-bottom: 16px;
1275
+ margin-top: 16px;
1276
+ }
1277
+ ._ChatMessage_150yz_124 blockquote {
1278
+ margin-bottom: 8px;
1279
+ margin-top: 8px;
1280
+ margin-left: 0;
1281
+ border-left: 2px solid var(--puck-color-grey-09);
1282
+ padding-left: 16px;
1283
+ padding-bottom: 2px;
1284
+ padding-top: 2px;
1285
+ }
1286
+ ._ChatMessage-data_150yz_220 {
1287
+ background: var(--puck-color-grey-12);
1288
+ border: 1px solid var(--puck-color-grey-08);
1289
+ border-radius: 16px;
1290
+ color: var(--puck-color-grey-05);
1291
+ margin-right: 24px;
1292
+ margin-bottom: 12px;
1293
+ margin-top: 12px;
1294
+ padding: 12px 16px;
1295
+ }
1296
+ ._ChatMessage-dataInner_150yz_231 {
1297
+ align-items: center;
1298
+ display: flex;
1299
+ gap: 8px;
1300
+ }
1301
+ ._ChatMessage-dataIcon_150yz_237 {
1302
+ display: flex;
1303
+ }
1304
+ ._Chat-loader_150yz_241 {
1305
+ padding: 16px;
1306
+ padding-top: 0;
1307
+ }
1308
+ ._Chat-error_150yz_246 {
1309
+ align-items: center;
1310
+ display: flex;
1311
+ gap: 8px;
1312
+ font-size: var(--puck-font-size-xxs);
1313
+ margin: 16px;
1314
+ margin-top: 0;
1315
+ }
1316
+ ._Chat-errorLabel_150yz_255 {
1317
+ color: var(--puck-color-red-04);
1318
+ }
1319
+ ._Chat-errorAction_150yz_259 {
1320
+ margin-left: auto;
1321
+ }
1322
+
1323
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/PromptForm/styles.module.css/#css-module-data */
1324
+ ._PromptForm_136g1_1 {
1325
+ --radius: 9px;
1326
+ background-color: var(--puck-color-grey-09);
1327
+ border-radius: var(--radius);
1328
+ width: 100%;
1329
+ }
1330
+ ._PromptForm-inner_136g1_8 {
1331
+ border-radius: var(--radius);
1332
+ padding: 1px;
1333
+ position: relative;
1334
+ }
1335
+ ._PromptForm--dark_136g1_14 {
1336
+ background-color: var(--puck-color-grey-02);
1337
+ box-shadow: none;
1338
+ }
1339
+ ._PromptForm--glow_136g1_19 ._PromptForm-glow_136g1_19 {
1340
+ border: 2px solid transparent;
1341
+ border-radius: var(--radius);
1342
+ mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
1343
+ mask-clip: padding-box, border-box;
1344
+ mask-composite: intersect;
1345
+ position: absolute;
1346
+ pointer-events: none;
1347
+ inset: 0;
1348
+ }
1349
+ ._PromptForm--glow_136g1_19 ._PromptForm-glow_136g1_19::after {
1350
+ background:
1351
+ radial-gradient(
1352
+ circle at center,
1353
+ var(--puck-color-azure-06),
1354
+ transparent 50%);
1355
+ content: "";
1356
+ offset-path: rect(0 100% 100% 0 round 200px);
1357
+ offset-anchor: calc(var(--anchor) * 1%) 50%;
1358
+ animation: _loop_136g1_1 9s infinite linear;
1359
+ position: absolute;
1360
+ height: 312px;
1361
+ aspect-ratio: 1 / 1;
1362
+ display: inline-block;
1363
+ }
1364
+ ._PromptForm--dark_136g1_14._PromptForm--glow_136g1_19 ._PromptForm-glow_136g1_19::after {
1365
+ background:
1366
+ radial-gradient(
1367
+ circle at center,
1368
+ var(--puck-color-azure-08),
1369
+ transparent 50%);
1370
+ }
1371
+ @keyframes _loop_136g1_1 {
1372
+ to {
1373
+ offset-distance: 100%;
1374
+ }
1375
+ }
1376
+ ._PromptForm-formInner_136g1_60 {
1377
+ position: relative;
1378
+ }
1379
+ ._PromptForm-input_136g1_64 {
1380
+ background-color: white;
1381
+ border: none;
1382
+ border-radius: 8px;
1383
+ display: block;
1384
+ resize: none;
1385
+ color: var(--puck-color-grey-03);
1386
+ padding: 12px 16px;
1387
+ padding-left: 16px;
1388
+ padding-right: 8px;
1389
+ font-family: inherit;
1390
+ font-size: var(--puck-font-size-xs);
1391
+ line-height: var(--line-height-s);
1392
+ padding-bottom: 48px;
1393
+ outline-offset: -1;
1394
+ width: 100%;
1395
+ box-sizing: border-box;
1396
+ }
1397
+ ._PromptForm-input_136g1_64:focus {
1398
+ outline-color: var(--puck-color-azure-04);
1399
+ }
1400
+ ._PromptForm--dark_136g1_14 ._PromptForm-input_136g1_64 {
1401
+ background-color: var(--puck-color-grey-01);
1402
+ color: var(--puck-color-grey-08);
1403
+ }
1404
+ ._PromptForm--disabled_136g1_92 ._PromptForm-input_136g1_64 {
1405
+ background-color: var(--puck-color-grey-12);
1406
+ cursor: not-allowed;
1407
+ }
1408
+ ._PromptForm-helper_136g1_97 {
1409
+ align-items: center;
1410
+ color: var(--puck-color-grey-05);
1411
+ display: flex;
1412
+ gap: 4px;
1413
+ font-size: var(--puck-font-size-xxs);
1414
+ font-weight: 500;
1415
+ padding: 4px 12px;
1416
+ }
1417
+ ._PromptForm-actions_136g1_107 {
1418
+ display: flex;
1419
+ position: absolute;
1420
+ gap: 8px;
1421
+ bottom: 0;
1422
+ left: 0;
1423
+ right: 0;
1424
+ padding: 6px;
1425
+ pointer-events: none;
1426
+ }
1427
+ ._PromptForm-actionsLeft_136g1_118 {
1428
+ align-items: center;
1429
+ display: flex;
1430
+ padding-left: 8px;
1431
+ }
1432
+ ._PromptForm-actionsRight_136g1_124 {
1433
+ margin-left: auto;
1434
+ }
1435
+ ._PromptForm-actionSubmit_136g1_128 {
1436
+ background: var(--puck-color-azure-04);
1437
+ border-radius: 48px;
1438
+ color: white;
1439
+ display: flex;
1440
+ align-items: center;
1441
+ justify-content: center;
1442
+ align-self: flex-end;
1443
+ width: 32px;
1444
+ height: 32px;
1445
+ border: 0;
1446
+ pointer-events: auto;
1447
+ cursor: pointer;
1448
+ }
1449
+ ._PromptForm-actionSubmit_136g1_128:hover {
1450
+ background: var(--puck-color-azure-05);
1451
+ }
1452
+ ._PromptForm--isDisabled_136g1_147 ._PromptForm-actionSubmit_136g1_128 {
1453
+ background-color: var(--puck-color-grey-06);
1454
+ cursor: not-allowed;
1455
+ }
1456
+ ._PromptForm--isLoading_136g1_152 ._PromptForm-actionSubmit_136g1_128 {
1457
+ background-color: var(--puck-color-azure-06);
1458
+ cursor: not-allowed;
1459
+ }