@puckeditor/plugin-ai 0.1.0-canary.022b3ecb → 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 +324 -118
- package/dist/index.d.mts +107 -27
- package/dist/index.d.ts +107 -27
- package/dist/index.js +3087 -2959
- package/dist/index.mjs +3081 -2953
- package/package.json +4 -5
package/dist/index.css
CHANGED
|
@@ -234,7 +234,7 @@ p {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Modal/Modal.module.css/#css-module-data */
|
|
237
|
-
._Modal-
|
|
237
|
+
._Modal-background_1bedq_1 {
|
|
238
238
|
align-items: center;
|
|
239
239
|
display: flex;
|
|
240
240
|
justify-content: center;
|
|
@@ -248,24 +248,26 @@ p {
|
|
|
248
248
|
opacity: 0;
|
|
249
249
|
pointer-events: none;
|
|
250
250
|
}
|
|
251
|
-
._Modal--
|
|
251
|
+
._Modal--visible_1bedq_16 ._Modal-background_1bedq_1 {
|
|
252
252
|
opacity: 1;
|
|
253
253
|
transition: opacity ease 100ms;
|
|
254
254
|
pointer-events: auto;
|
|
255
255
|
}
|
|
256
|
-
._Modal-
|
|
256
|
+
._Modal-modal_1bedq_22 {
|
|
257
257
|
background: white;
|
|
258
|
-
border-radius:
|
|
258
|
+
border-radius: 16px;
|
|
259
259
|
display: block;
|
|
260
|
-
|
|
260
|
+
max-height: calc(100vh - 24px);
|
|
261
|
+
margin-inline: 24px;
|
|
262
|
+
overflow: auto;
|
|
261
263
|
}
|
|
262
264
|
|
|
263
265
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
|
|
264
|
-
.
|
|
266
|
+
._Button_1fon5_1 {
|
|
265
267
|
appearance: none;
|
|
266
268
|
background: none;
|
|
267
269
|
border: 1px solid transparent;
|
|
268
|
-
border-radius:
|
|
270
|
+
border-radius: 8px;
|
|
269
271
|
color: var(--puck-color-white);
|
|
270
272
|
display: inline-flex;
|
|
271
273
|
align-items: center;
|
|
@@ -283,69 +285,80 @@ p {
|
|
|
283
285
|
white-space: nowrap;
|
|
284
286
|
margin: 0;
|
|
285
287
|
}
|
|
286
|
-
.
|
|
287
|
-
.
|
|
288
|
+
._Button_1fon5_1:hover,
|
|
289
|
+
._Button_1fon5_1:active {
|
|
288
290
|
transition: none;
|
|
289
291
|
}
|
|
290
|
-
._Button--
|
|
292
|
+
._Button--medium_1fon5_29 {
|
|
291
293
|
min-height: 34px;
|
|
292
294
|
padding-bottom: 7px;
|
|
293
295
|
padding-left: 19px;
|
|
294
296
|
padding-right: 19px;
|
|
295
297
|
padding-top: 7px;
|
|
296
298
|
}
|
|
297
|
-
._Button--
|
|
299
|
+
._Button--large_1fon5_37 {
|
|
298
300
|
padding-bottom: 11px;
|
|
299
301
|
padding-left: 19px;
|
|
300
302
|
padding-right: 19px;
|
|
301
303
|
padding-top: 11px;
|
|
302
304
|
}
|
|
303
|
-
._Button-
|
|
305
|
+
._Button-icon_1fon5_44 {
|
|
304
306
|
margin-top: 2px;
|
|
305
307
|
}
|
|
306
|
-
._Button--
|
|
308
|
+
._Button--primary_1fon5_48 {
|
|
307
309
|
background: var(--puck-color-azure-04);
|
|
308
310
|
}
|
|
309
|
-
.
|
|
311
|
+
._Button_1fon5_1:focus-visible {
|
|
310
312
|
outline: 2px solid var(--puck-color-azure-05);
|
|
311
313
|
outline-offset: 2px;
|
|
312
314
|
}
|
|
313
315
|
@media (hover: hover) and (pointer: fine) {
|
|
314
|
-
._Button--
|
|
316
|
+
._Button--primary_1fon5_48:hover {
|
|
315
317
|
background-color: var(--puck-color-azure-03);
|
|
316
318
|
}
|
|
317
319
|
}
|
|
318
|
-
._Button--
|
|
320
|
+
._Button--primary_1fon5_48:active {
|
|
319
321
|
background-color: var(--puck-color-azure-02);
|
|
320
322
|
}
|
|
321
|
-
._Button--
|
|
323
|
+
._Button--secondary_1fon5_67 {
|
|
322
324
|
border: 1px solid currentColor;
|
|
323
325
|
color: currentColor;
|
|
324
326
|
}
|
|
325
327
|
@media (hover: hover) and (pointer: fine) {
|
|
326
|
-
._Button--
|
|
328
|
+
._Button--secondary_1fon5_67:hover {
|
|
327
329
|
background-color: var(--puck-color-azure-12);
|
|
328
330
|
color: var(--puck-color-black);
|
|
329
331
|
}
|
|
330
332
|
}
|
|
331
|
-
._Button--
|
|
333
|
+
._Button--secondary_1fon5_67:active {
|
|
332
334
|
background-color: var(--puck-color-azure-11);
|
|
333
335
|
color: var(--puck-color-black);
|
|
334
336
|
}
|
|
335
|
-
._Button--
|
|
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 {
|
|
336
349
|
border-radius: 0;
|
|
337
350
|
}
|
|
338
|
-
._Button--
|
|
339
|
-
._Button--
|
|
351
|
+
._Button--disabled_1fon5_102,
|
|
352
|
+
._Button--disabled_1fon5_102:hover {
|
|
340
353
|
background-color: var(--puck-color-grey-09);
|
|
341
|
-
color: var(--puck-color-grey-
|
|
354
|
+
color: var(--puck-color-grey-05);
|
|
342
355
|
cursor: not-allowed;
|
|
343
356
|
}
|
|
344
|
-
._Button--
|
|
357
|
+
._Button--fullWidth_1fon5_109 {
|
|
345
358
|
justify-content: center;
|
|
346
359
|
width: 100%;
|
|
347
360
|
}
|
|
348
|
-
._Button-
|
|
361
|
+
._Button-spinner_1fon5_114 {
|
|
349
362
|
padding-left: 8px;
|
|
350
363
|
}
|
|
351
364
|
|
|
@@ -372,43 +385,72 @@ p {
|
|
|
372
385
|
}
|
|
373
386
|
|
|
374
387
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Heading/Heading.module.css/#css-module-data */
|
|
375
|
-
.
|
|
388
|
+
._Heading_qkzg9_1 {
|
|
376
389
|
display: block;
|
|
377
390
|
font-weight: 700;
|
|
378
391
|
margin: 0;
|
|
379
392
|
}
|
|
380
|
-
.
|
|
393
|
+
._Heading_qkzg9_1 b {
|
|
381
394
|
font-weight: 700;
|
|
382
395
|
}
|
|
383
|
-
._Heading--
|
|
384
|
-
font-size: var(--puck-font-size-xxxxl);
|
|
385
|
-
letter-spacing: 0.08ch;
|
|
386
|
-
font-weight: 800;
|
|
387
|
-
}
|
|
388
|
-
._Heading--xxxl_1czuc_17 {
|
|
396
|
+
._Heading--xxxxl_qkzg9_11 {
|
|
389
397
|
font-size: var(--puck-font-size-xxxl);
|
|
390
398
|
}
|
|
391
|
-
._Heading--
|
|
399
|
+
._Heading--xxxl_qkzg9_15 {
|
|
392
400
|
font-size: var(--puck-font-size-xxl);
|
|
393
401
|
}
|
|
394
|
-
._Heading--
|
|
402
|
+
._Heading--xxl_qkzg9_19 {
|
|
395
403
|
font-size: var(--puck-font-size-xl);
|
|
396
404
|
}
|
|
397
|
-
._Heading--
|
|
405
|
+
._Heading--xl_qkzg9_23 {
|
|
398
406
|
font-size: var(--puck-font-size-l);
|
|
399
407
|
}
|
|
400
|
-
._Heading--
|
|
408
|
+
._Heading--l_qkzg9_27 {
|
|
401
409
|
font-size: var(--puck-font-size-m);
|
|
402
410
|
}
|
|
403
|
-
._Heading--
|
|
411
|
+
._Heading--m_qkzg9_31 {
|
|
404
412
|
font-size: var(--puck-font-size-s);
|
|
405
413
|
}
|
|
406
|
-
._Heading--
|
|
414
|
+
._Heading--s_qkzg9_35 {
|
|
407
415
|
font-size: var(--puck-font-size-xs);
|
|
408
416
|
}
|
|
409
|
-
._Heading--
|
|
417
|
+
._Heading--xs_qkzg9_39 {
|
|
418
|
+
font-size: var(--puck-font-size-xxs);
|
|
419
|
+
}
|
|
420
|
+
._Heading--xxs_qkzg9_43 {
|
|
410
421
|
font-size: var(--puck-font-size-xxs);
|
|
411
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
|
+
}
|
|
412
454
|
|
|
413
455
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Align/Align.module.css/#css-module-data */
|
|
414
456
|
._Align_oewlu_1 {
|
|
@@ -484,6 +526,126 @@ p {
|
|
|
484
526
|
color: var(--puck-color-azure-04);
|
|
485
527
|
}
|
|
486
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
|
+
|
|
487
649
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/IconButton/IconButton.module.css/#css-module-data */
|
|
488
650
|
._IconButton_thegm_1 {
|
|
489
651
|
align-items: center;
|
|
@@ -602,13 +764,13 @@ p {
|
|
|
602
764
|
}
|
|
603
765
|
|
|
604
766
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Page/Page.module.css/#css-module-data */
|
|
605
|
-
.
|
|
767
|
+
._Page_nkzj9_1 {
|
|
606
768
|
display: flex;
|
|
607
769
|
flex-direction: column;
|
|
608
770
|
height: 100%;
|
|
609
771
|
overflow: hidden;
|
|
610
772
|
}
|
|
611
|
-
._Page-
|
|
773
|
+
._Page-masthead_nkzj9_8 {
|
|
612
774
|
align-items: center;
|
|
613
775
|
display: flex;
|
|
614
776
|
gap: 16px;
|
|
@@ -617,44 +779,45 @@ p {
|
|
|
617
779
|
border-bottom: 1px solid var(--puck-color-grey-10);
|
|
618
780
|
min-height: 64px;
|
|
619
781
|
}
|
|
620
|
-
._Page-
|
|
782
|
+
._Page-crumbs_nkzj9_18 {
|
|
621
783
|
display: flex;
|
|
622
784
|
gap: 32px;
|
|
623
785
|
}
|
|
624
|
-
._Page-
|
|
786
|
+
._Page-crumb_nkzj9_18 {
|
|
625
787
|
color: var(--puck-color-grey-05);
|
|
626
788
|
position: relative;
|
|
789
|
+
white-space: nowrap;
|
|
627
790
|
}
|
|
628
|
-
._Page-
|
|
791
|
+
._Page-crumbLink_nkzj9_29 {
|
|
629
792
|
color: var(--puck-color-grey-05);
|
|
630
793
|
text-decoration: none;
|
|
631
794
|
}
|
|
632
|
-
._Page-
|
|
795
|
+
._Page-crumbLink_nkzj9_29:hover {
|
|
633
796
|
color: var(--puck-color-azure-04);
|
|
634
797
|
}
|
|
635
|
-
._Page-
|
|
798
|
+
._Page-crumb_nkzj9_18:last-of-type {
|
|
636
799
|
color: var(--puck-color-grey-01);
|
|
637
800
|
font-weight: 600;
|
|
638
801
|
}
|
|
639
|
-
._Page-
|
|
802
|
+
._Page-crumb_nkzj9_18::before {
|
|
640
803
|
position: absolute;
|
|
641
804
|
content: "/";
|
|
642
805
|
left: -19px;
|
|
643
806
|
color: var(--puck-color-grey-09);
|
|
644
807
|
font-weight: 400;
|
|
645
808
|
}
|
|
646
|
-
._Page-
|
|
809
|
+
._Page-crumb_nkzj9_18:first-of-type::before {
|
|
647
810
|
display: none;
|
|
648
811
|
}
|
|
649
|
-
._Page-
|
|
812
|
+
._Page-crumb_nkzj9_18 {
|
|
650
813
|
color: var(--puck-color-grey-05);
|
|
651
814
|
position: relative;
|
|
652
815
|
text-decoration: none;
|
|
653
816
|
}
|
|
654
|
-
._Page-
|
|
817
|
+
._Page-actions_nkzj9_61 {
|
|
655
818
|
margin-left: auto;
|
|
656
819
|
}
|
|
657
|
-
._Page-
|
|
820
|
+
._Page-footer_nkzj9_65 {
|
|
658
821
|
border-top: 1px solid var(--puck-color-grey-10);
|
|
659
822
|
padding: 16px 24px;
|
|
660
823
|
}
|
|
@@ -769,26 +932,26 @@ p {
|
|
|
769
932
|
}
|
|
770
933
|
|
|
771
934
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
|
|
772
|
-
.
|
|
935
|
+
._Table_o345u_1 {
|
|
773
936
|
color: black;
|
|
774
937
|
display: flex;
|
|
775
938
|
flex-direction: column;
|
|
776
939
|
flex-grow: 1;
|
|
777
940
|
overflow-y: auto;
|
|
778
941
|
}
|
|
779
|
-
._Table-
|
|
942
|
+
._Table-filters_o345u_9 {
|
|
780
943
|
margin: 16px;
|
|
781
944
|
}
|
|
782
|
-
._Table-
|
|
945
|
+
._Table-inner_o345u_13 {
|
|
783
946
|
text-align: left;
|
|
784
947
|
}
|
|
785
|
-
._Table-
|
|
948
|
+
._Table-table_o345u_17 {
|
|
786
949
|
color: var(--puck-color-grey-02);
|
|
787
950
|
font-size: var(--puck-font-size-xxs);
|
|
788
951
|
position: relative;
|
|
789
952
|
width: 100%;
|
|
790
953
|
}
|
|
791
|
-
.
|
|
954
|
+
._Table_o345u_1 thead {
|
|
792
955
|
background: white;
|
|
793
956
|
font-size: var(--puck-font-size-xxs);
|
|
794
957
|
position: sticky;
|
|
@@ -796,17 +959,20 @@ p {
|
|
|
796
959
|
white-space: nowrap;
|
|
797
960
|
z-index: 1;
|
|
798
961
|
}
|
|
799
|
-
.
|
|
962
|
+
._Table_o345u_1 thead::after {
|
|
800
963
|
content: "";
|
|
801
964
|
position: absolute;
|
|
802
965
|
height: 1px;
|
|
803
966
|
width: 100%;
|
|
804
967
|
background-color: var(--puck-color-grey-10);
|
|
805
968
|
}
|
|
806
|
-
.
|
|
969
|
+
._Table--hideHeader_o345u_41 thead {
|
|
970
|
+
display: none;
|
|
971
|
+
}
|
|
972
|
+
._Table_o345u_1 tbody tr {
|
|
807
973
|
z-index: 0;
|
|
808
974
|
}
|
|
809
|
-
.
|
|
975
|
+
._Table_o345u_1 th {
|
|
810
976
|
background: var(--puck-color-grey-12);
|
|
811
977
|
font-weight: 400;
|
|
812
978
|
padding-left: 24px;
|
|
@@ -815,12 +981,12 @@ p {
|
|
|
815
981
|
padding-top: 12px;
|
|
816
982
|
}
|
|
817
983
|
@media (--standard-viewport) {
|
|
818
|
-
.
|
|
984
|
+
._Table_o345u_1 th {
|
|
819
985
|
padding-left: 32px;
|
|
820
986
|
padding-right: 32px;
|
|
821
987
|
}
|
|
822
988
|
}
|
|
823
|
-
.
|
|
989
|
+
._Table_o345u_1 td {
|
|
824
990
|
border-bottom: 1px solid var(--puck-color-grey-10);
|
|
825
991
|
padding-left: 24px;
|
|
826
992
|
padding-right: 24px;
|
|
@@ -828,38 +994,42 @@ p {
|
|
|
828
994
|
padding-top: 16px;
|
|
829
995
|
white-space: nowrap;
|
|
830
996
|
}
|
|
831
|
-
.
|
|
997
|
+
._Table_o345u_1 td:not(:first-of-type) {
|
|
832
998
|
color: var(--puck-color-grey-05);
|
|
833
999
|
}
|
|
834
|
-
.
|
|
1000
|
+
._Table_o345u_1 tbody tr:last-of-type td {
|
|
835
1001
|
border-bottom: none;
|
|
836
1002
|
}
|
|
837
1003
|
@media (--standard-viewport) {
|
|
838
|
-
.
|
|
1004
|
+
._Table_o345u_1 td {
|
|
839
1005
|
padding-left: 32px;
|
|
840
1006
|
padding-right: 32px;
|
|
841
1007
|
}
|
|
842
1008
|
}
|
|
843
|
-
._Table-
|
|
1009
|
+
._Table-footer_o345u_89 {
|
|
844
1010
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
845
1011
|
}
|
|
846
|
-
._Table--
|
|
1012
|
+
._Table--clickableRows_o345u_93 tbody tr:hover {
|
|
847
1013
|
background: var(--puck-color-azure-12);
|
|
848
1014
|
cursor: pointer;
|
|
849
1015
|
}
|
|
850
|
-
._Table-
|
|
1016
|
+
._Table-placeholder_o345u_98 {
|
|
851
1017
|
align-items: center;
|
|
852
|
-
color: var(--puck-color-grey-
|
|
1018
|
+
color: var(--puck-color-grey-04);
|
|
853
1019
|
justify-content: center;
|
|
854
1020
|
display: flex;
|
|
855
1021
|
gap: 8px;
|
|
856
1022
|
flex-direction: column;
|
|
857
1023
|
width: 100%;
|
|
858
1024
|
height: 100%;
|
|
1025
|
+
text-align: center;
|
|
859
1026
|
}
|
|
860
|
-
._Table-
|
|
1027
|
+
._Table-loader_o345u_110 {
|
|
861
1028
|
padding: 16px 24px;
|
|
862
1029
|
}
|
|
1030
|
+
._TableRow--highlightRow_o345u_114 {
|
|
1031
|
+
background-color: var(--puck-color-grey-12);
|
|
1032
|
+
}
|
|
863
1033
|
|
|
864
1034
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
|
|
865
1035
|
._VerticalSpace_1tjaw_1 {
|
|
@@ -893,8 +1063,43 @@ p {
|
|
|
893
1063
|
padding-top: 128px;
|
|
894
1064
|
}
|
|
895
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
|
+
|
|
896
1101
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/ChatBody/styles.module.css/#css-module-data */
|
|
897
|
-
.
|
|
1102
|
+
._Chat_150yz_1 {
|
|
898
1103
|
--fade-size: 32px;
|
|
899
1104
|
--chat-background-color: white;
|
|
900
1105
|
display: flex;
|
|
@@ -904,46 +1109,46 @@ p {
|
|
|
904
1109
|
overflow: hidden;
|
|
905
1110
|
}
|
|
906
1111
|
@media (min-width: 638px) {
|
|
907
|
-
.
|
|
1112
|
+
._Chat_150yz_1 {
|
|
908
1113
|
max-height: none;
|
|
909
1114
|
}
|
|
910
1115
|
}
|
|
911
|
-
._Chat-
|
|
1116
|
+
._Chat-inner_150yz_17 {
|
|
912
1117
|
background-color: var(--chat-background-color);
|
|
913
1118
|
display: flex;
|
|
914
1119
|
flex-direction: column;
|
|
915
1120
|
max-height: 100%;
|
|
916
1121
|
position: relative;
|
|
917
1122
|
}
|
|
918
|
-
._Chat--
|
|
1123
|
+
._Chat--hasMessages_150yz_25 ._Chat-inner_150yz_17 {
|
|
919
1124
|
padding-top: 0;
|
|
920
1125
|
}
|
|
921
|
-
.
|
|
1126
|
+
._Chat_150yz_1:not(._Chat--hasChildren_150yz_29) ._Chat-inner_150yz_17 {
|
|
922
1127
|
height: 100%;
|
|
923
1128
|
padding-top: 0;
|
|
924
1129
|
}
|
|
925
|
-
._Chat--
|
|
1130
|
+
._Chat--hasMessages_150yz_25 ._Chat-messages_150yz_34 {
|
|
926
1131
|
display: flex;
|
|
927
1132
|
flex-direction: column-reverse;
|
|
928
1133
|
padding: 16px;
|
|
929
1134
|
overflow: auto;
|
|
930
1135
|
}
|
|
931
|
-
._Chat-
|
|
1136
|
+
._Chat-form_150yz_41 {
|
|
932
1137
|
background-color: white;
|
|
933
1138
|
padding: 16px;
|
|
934
1139
|
}
|
|
935
|
-
._Chat--
|
|
1140
|
+
._Chat--hideInput_150yz_46 ._Chat-form_150yz_41 {
|
|
936
1141
|
display: none;
|
|
937
1142
|
}
|
|
938
|
-
._Chat--
|
|
1143
|
+
._Chat--hasMessages_150yz_25 ._Chat-form_150yz_41 {
|
|
939
1144
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
940
1145
|
}
|
|
941
1146
|
@media (min-width: 638px) {
|
|
942
|
-
._Chat-
|
|
1147
|
+
._Chat-form_150yz_41 {
|
|
943
1148
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
944
1149
|
}
|
|
945
1150
|
}
|
|
946
|
-
._Chat-
|
|
1151
|
+
._Chat-formHelper_150yz_60 {
|
|
947
1152
|
align-items: center;
|
|
948
1153
|
display: flex;
|
|
949
1154
|
color: var(--puck-color-grey-04);
|
|
@@ -952,11 +1157,11 @@ p {
|
|
|
952
1157
|
gap: 8px;
|
|
953
1158
|
padding-bottom: 12px;
|
|
954
1159
|
}
|
|
955
|
-
._Chat--
|
|
1160
|
+
._Chat--hasMessages_150yz_25 ._Chat-formHelper_150yz_60 {
|
|
956
1161
|
opacity: 0;
|
|
957
1162
|
transition: opacity 250ms ease-in;
|
|
958
1163
|
}
|
|
959
|
-
._Chat-
|
|
1164
|
+
._Chat-examplePrompts_150yz_75 {
|
|
960
1165
|
align-items: center;
|
|
961
1166
|
display: flex;
|
|
962
1167
|
flex-wrap: nowrap;
|
|
@@ -965,7 +1170,7 @@ p {
|
|
|
965
1170
|
width: 100%;
|
|
966
1171
|
overflow-x: auto;
|
|
967
1172
|
}
|
|
968
|
-
._Chat-
|
|
1173
|
+
._Chat-examplePrompt_150yz_75 {
|
|
969
1174
|
align-items: center;
|
|
970
1175
|
background: white;
|
|
971
1176
|
border: 1px solid var(--puck-color-grey-09);
|
|
@@ -976,33 +1181,34 @@ p {
|
|
|
976
1181
|
padding: 6px 12px;
|
|
977
1182
|
text-wrap: nowrap;
|
|
978
1183
|
}
|
|
979
|
-
._Chat-
|
|
1184
|
+
._Chat-examplePrompt_150yz_75:hover {
|
|
980
1185
|
background: var(--puck-color-azure-11);
|
|
981
1186
|
border-color: var(--puck-color-azure-08);
|
|
982
1187
|
color: var(--puck-color-azure-04);
|
|
983
1188
|
}
|
|
984
|
-
._Chat-
|
|
1189
|
+
._Chat-examplePromptArrow_150yz_103 {
|
|
985
1190
|
margin-left: auto;
|
|
986
1191
|
}
|
|
987
|
-
._Chat-
|
|
1192
|
+
._Chat-default_150yz_107 {
|
|
988
1193
|
overflow-y: auto;
|
|
989
1194
|
flex-grow: 1;
|
|
990
1195
|
}
|
|
991
|
-
._Chat--
|
|
1196
|
+
._Chat--hasMessages_150yz_25 ._Chat-default_150yz_107 {
|
|
992
1197
|
opacity: 0;
|
|
993
1198
|
padding: 0;
|
|
994
1199
|
pointer-events: none;
|
|
995
1200
|
transition: opacity 250ms ease-in;
|
|
996
1201
|
}
|
|
997
|
-
._Chat--
|
|
1202
|
+
._Chat--hasMessages_150yz_25 {
|
|
998
1203
|
background-color: white;
|
|
999
1204
|
transition: background-color 250ms ease-in;
|
|
1000
1205
|
}
|
|
1001
|
-
.
|
|
1206
|
+
._ChatMessage_150yz_124 {
|
|
1002
1207
|
font-size: var(--puck-font-size-xs);
|
|
1003
1208
|
line-height: var(--line-height-s);
|
|
1209
|
+
overflow-wrap: break-word;
|
|
1004
1210
|
}
|
|
1005
|
-
._ChatMessage--
|
|
1211
|
+
._ChatMessage--userRole_150yz_130 ._ChatMessage-text_150yz_130 {
|
|
1006
1212
|
background: var(--puck-color-azure-10);
|
|
1007
1213
|
border-radius: 16px;
|
|
1008
1214
|
color: var(--puck-color-grey-03);
|
|
@@ -1011,64 +1217,64 @@ p {
|
|
|
1011
1217
|
margin-top: 8px;
|
|
1012
1218
|
padding: 12px 16px;
|
|
1013
1219
|
}
|
|
1014
|
-
.
|
|
1015
|
-
.
|
|
1220
|
+
._ChatMessage_150yz_124 ul,
|
|
1221
|
+
._ChatMessage_150yz_124 ol {
|
|
1016
1222
|
list-style: decimal;
|
|
1017
1223
|
margin: 0;
|
|
1018
1224
|
margin-bottom: 12px;
|
|
1019
1225
|
margin-top: 12px;
|
|
1020
1226
|
padding-left: 32px;
|
|
1021
1227
|
}
|
|
1022
|
-
.
|
|
1228
|
+
._ChatMessage_150yz_124 li {
|
|
1023
1229
|
margin-bottom: 8px;
|
|
1024
1230
|
margin-top: 8px;
|
|
1025
1231
|
padding-left: 8px;
|
|
1026
1232
|
}
|
|
1027
|
-
.
|
|
1028
|
-
.
|
|
1029
|
-
.
|
|
1030
|
-
.
|
|
1031
|
-
.
|
|
1032
|
-
.
|
|
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 {
|
|
1033
1239
|
font-weight: 600;
|
|
1034
1240
|
}
|
|
1035
|
-
.
|
|
1241
|
+
._ChatMessage_150yz_124 h1 {
|
|
1036
1242
|
font-size: var(--puck-font-l);
|
|
1037
1243
|
}
|
|
1038
|
-
.
|
|
1244
|
+
._ChatMessage_150yz_124 h2 {
|
|
1039
1245
|
font-size: var(--puck-font-m);
|
|
1040
1246
|
}
|
|
1041
|
-
.
|
|
1247
|
+
._ChatMessage_150yz_124 h3 {
|
|
1042
1248
|
font-size: var(--puck-font-m);
|
|
1043
1249
|
}
|
|
1044
|
-
.
|
|
1250
|
+
._ChatMessage_150yz_124 h4 {
|
|
1045
1251
|
font-size: var(--puck-font-s);
|
|
1046
1252
|
}
|
|
1047
|
-
.
|
|
1253
|
+
._ChatMessage_150yz_124 h5 {
|
|
1048
1254
|
font-size: var(--puck-font-xs);
|
|
1049
1255
|
}
|
|
1050
|
-
.
|
|
1256
|
+
._ChatMessage_150yz_124 h6 {
|
|
1051
1257
|
font-size: var(--puck-font-xm);
|
|
1052
1258
|
}
|
|
1053
|
-
.
|
|
1259
|
+
._ChatMessage_150yz_124 p {
|
|
1054
1260
|
margin-bottom: 8px;
|
|
1055
1261
|
margin-top: 8px;
|
|
1056
1262
|
}
|
|
1057
|
-
.
|
|
1263
|
+
._ChatMessage_150yz_124 a {
|
|
1058
1264
|
color: var(--puck-color-azure-04);
|
|
1059
1265
|
font-weight: 600;
|
|
1060
1266
|
text-decoration: none;
|
|
1061
1267
|
}
|
|
1062
|
-
.
|
|
1268
|
+
._ChatMessage_150yz_124 a:hover {
|
|
1063
1269
|
color: var(--puck-color-azure-05);
|
|
1064
1270
|
}
|
|
1065
|
-
.
|
|
1271
|
+
._ChatMessage_150yz_124 hr {
|
|
1066
1272
|
border-top: none;
|
|
1067
1273
|
border-bottom-color: var(--puck-color-grey-09);
|
|
1068
1274
|
margin-bottom: 16px;
|
|
1069
1275
|
margin-top: 16px;
|
|
1070
1276
|
}
|
|
1071
|
-
.
|
|
1277
|
+
._ChatMessage_150yz_124 blockquote {
|
|
1072
1278
|
margin-bottom: 8px;
|
|
1073
1279
|
margin-top: 8px;
|
|
1074
1280
|
margin-left: 0;
|
|
@@ -1077,7 +1283,7 @@ p {
|
|
|
1077
1283
|
padding-bottom: 2px;
|
|
1078
1284
|
padding-top: 2px;
|
|
1079
1285
|
}
|
|
1080
|
-
._ChatMessage-
|
|
1286
|
+
._ChatMessage-data_150yz_220 {
|
|
1081
1287
|
background: var(--puck-color-grey-12);
|
|
1082
1288
|
border: 1px solid var(--puck-color-grey-08);
|
|
1083
1289
|
border-radius: 16px;
|
|
@@ -1087,19 +1293,19 @@ p {
|
|
|
1087
1293
|
margin-top: 12px;
|
|
1088
1294
|
padding: 12px 16px;
|
|
1089
1295
|
}
|
|
1090
|
-
._ChatMessage-
|
|
1296
|
+
._ChatMessage-dataInner_150yz_231 {
|
|
1091
1297
|
align-items: center;
|
|
1092
1298
|
display: flex;
|
|
1093
1299
|
gap: 8px;
|
|
1094
1300
|
}
|
|
1095
|
-
._ChatMessage-
|
|
1301
|
+
._ChatMessage-dataIcon_150yz_237 {
|
|
1096
1302
|
display: flex;
|
|
1097
1303
|
}
|
|
1098
|
-
._Chat-
|
|
1304
|
+
._Chat-loader_150yz_241 {
|
|
1099
1305
|
padding: 16px;
|
|
1100
1306
|
padding-top: 0;
|
|
1101
1307
|
}
|
|
1102
|
-
._Chat-
|
|
1308
|
+
._Chat-error_150yz_246 {
|
|
1103
1309
|
align-items: center;
|
|
1104
1310
|
display: flex;
|
|
1105
1311
|
gap: 8px;
|
|
@@ -1107,10 +1313,10 @@ p {
|
|
|
1107
1313
|
margin: 16px;
|
|
1108
1314
|
margin-top: 0;
|
|
1109
1315
|
}
|
|
1110
|
-
._Chat-
|
|
1316
|
+
._Chat-errorLabel_150yz_255 {
|
|
1111
1317
|
color: var(--puck-color-red-04);
|
|
1112
1318
|
}
|
|
1113
|
-
._Chat-
|
|
1319
|
+
._Chat-errorAction_150yz_259 {
|
|
1114
1320
|
margin-left: auto;
|
|
1115
1321
|
}
|
|
1116
1322
|
|