@puckeditor/plugin-ai 0.6.1-canary.64b72a90 → 0.6.1-canary.77f4975d
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 +114 -90
- package/dist/index.js +73 -57
- package/dist/index.mjs +73 -57
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* css-module:/home/runner/work/
|
|
1
|
+
/* css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/Chat/styles.module.css/#css-module-data */
|
|
2
2
|
._Chat_3s08c_1 {
|
|
3
3
|
background: white;
|
|
4
4
|
height: 100%;
|
|
@@ -208,7 +208,7 @@ p {
|
|
|
208
208
|
margin: 0;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
/* css-module:/home/runner/work/
|
|
211
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/ActionModal/ActionModal.module.css/#css-module-data */
|
|
212
212
|
._ActionModal_r3pvy_1 {
|
|
213
213
|
display: block;
|
|
214
214
|
min-width: 356px;
|
|
@@ -235,7 +235,7 @@ p {
|
|
|
235
235
|
padding: 16px 24px;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
/* css-module:/home/runner/work/
|
|
238
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Modal/Modal.module.css/#css-module-data */
|
|
239
239
|
._Modal-background_1bedq_1 {
|
|
240
240
|
align-items: center;
|
|
241
241
|
display: flex;
|
|
@@ -264,8 +264,8 @@ p {
|
|
|
264
264
|
overflow: auto;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
/* css-module:/home/runner/work/
|
|
268
|
-
.
|
|
267
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
|
|
268
|
+
._Button_1tog0_1 {
|
|
269
269
|
appearance: none;
|
|
270
270
|
background: none;
|
|
271
271
|
border: 1px solid transparent;
|
|
@@ -287,85 +287,84 @@ p {
|
|
|
287
287
|
white-space: nowrap;
|
|
288
288
|
margin: 0;
|
|
289
289
|
}
|
|
290
|
-
.
|
|
291
|
-
.
|
|
290
|
+
._Button_1tog0_1:hover,
|
|
291
|
+
._Button_1tog0_1:active {
|
|
292
292
|
transition: none;
|
|
293
293
|
}
|
|
294
|
-
.
|
|
294
|
+
._Button_1tog0_1:focus-visible {
|
|
295
295
|
outline: 2px solid var(--puck-color-azure-05);
|
|
296
296
|
outline-offset: 2px;
|
|
297
297
|
}
|
|
298
|
-
._Button--
|
|
298
|
+
._Button--medium_1tog0_34 {
|
|
299
299
|
min-height: 34px;
|
|
300
300
|
padding-bottom: 7px;
|
|
301
301
|
padding-left: 15px;
|
|
302
302
|
padding-right: 15px;
|
|
303
303
|
padding-top: 7px;
|
|
304
304
|
}
|
|
305
|
-
._Button--
|
|
305
|
+
._Button--large_1tog0_42 {
|
|
306
306
|
padding-bottom: 11px;
|
|
307
307
|
padding-left: 19px;
|
|
308
308
|
padding-right: 19px;
|
|
309
309
|
padding-top: 11px;
|
|
310
310
|
}
|
|
311
|
-
._Button--
|
|
311
|
+
._Button--brand_1tog0_49 {
|
|
312
312
|
background-image:
|
|
313
313
|
linear-gradient(
|
|
314
314
|
210deg,
|
|
315
315
|
var(--puck-color-azure-01) 0%,
|
|
316
|
-
var(--puck-color-azure-03)
|
|
317
|
-
var(--puck-color-red-05)
|
|
316
|
+
var(--puck-color-azure-03) 30%,
|
|
317
|
+
var(--puck-color-red-05) 130%);
|
|
318
318
|
border: none;
|
|
319
|
-
border-radius: 48px;
|
|
320
319
|
}
|
|
321
320
|
@media (hover: hover) and (pointer: fine) {
|
|
322
|
-
._Button--
|
|
321
|
+
._Button--brand_1tog0_49:hover {
|
|
323
322
|
opacity: 0.8;
|
|
324
323
|
}
|
|
325
324
|
}
|
|
326
|
-
._Button--
|
|
325
|
+
._Button--brand_1tog0_49:active {
|
|
327
326
|
opacity: 0.8;
|
|
328
327
|
}
|
|
329
|
-
._Button--
|
|
328
|
+
._Button--primary_1tog0_69 {
|
|
330
329
|
background: var(--puck-color-azure-04);
|
|
331
330
|
}
|
|
332
331
|
@media (hover: hover) and (pointer: fine) {
|
|
333
|
-
._Button--
|
|
332
|
+
._Button--primary_1tog0_69:hover {
|
|
334
333
|
background-color: var(--puck-color-azure-03);
|
|
335
334
|
}
|
|
336
335
|
}
|
|
337
|
-
._Button--
|
|
336
|
+
._Button--primary_1tog0_69:active {
|
|
338
337
|
background-color: var(--puck-color-azure-02);
|
|
339
338
|
}
|
|
340
|
-
._Button--
|
|
339
|
+
._Button--secondary_1tog0_83 {
|
|
341
340
|
border: 1px solid currentColor;
|
|
342
341
|
color: currentColor;
|
|
343
342
|
}
|
|
344
343
|
@media (hover: hover) and (pointer: fine) {
|
|
345
|
-
._Button--
|
|
344
|
+
._Button--secondary_1tog0_83:hover {
|
|
346
345
|
background-color: var(--puck-color-azure-12);
|
|
347
346
|
color: var(--puck-color-black);
|
|
348
347
|
}
|
|
349
348
|
}
|
|
350
|
-
._Button--
|
|
349
|
+
._Button--secondary_1tog0_83:active {
|
|
351
350
|
background-color: var(--puck-color-azure-11);
|
|
352
351
|
color: var(--puck-color-black);
|
|
353
352
|
}
|
|
354
|
-
._Button--
|
|
353
|
+
._Button--danger_1tog0_100 {
|
|
355
354
|
background: var(--puck-color-red-04);
|
|
356
355
|
}
|
|
357
356
|
@media (hover: hover) and (pointer: fine) {
|
|
358
|
-
._Button--
|
|
357
|
+
._Button--danger_1tog0_100:hover {
|
|
359
358
|
background-color: var(--puck-color-red-03);
|
|
360
359
|
}
|
|
361
360
|
}
|
|
362
|
-
._Button--
|
|
361
|
+
._Button--danger_1tog0_100:active {
|
|
363
362
|
background-color: var(--puck-color-red-02);
|
|
364
363
|
}
|
|
365
|
-
._Button--
|
|
364
|
+
._Button--flush_1tog0_114 {
|
|
366
365
|
border-radius: 0;
|
|
367
366
|
}
|
|
368
|
-
._Button--
|
|
367
|
+
._Button--ghost_1tog0_118 {
|
|
369
368
|
align-items: center;
|
|
370
369
|
background-color: transparent;
|
|
371
370
|
border: none;
|
|
@@ -374,30 +373,30 @@ p {
|
|
|
374
373
|
display: flex;
|
|
375
374
|
}
|
|
376
375
|
@media (hover: hover) and (pointer: fine) {
|
|
377
|
-
._Button--
|
|
376
|
+
._Button--ghost_1tog0_118:hover {
|
|
378
377
|
background-color: var(--puck-color-grey-11);
|
|
379
378
|
color: var(--puck-color-azure-04);
|
|
380
379
|
cursor: pointer;
|
|
381
380
|
}
|
|
382
381
|
}
|
|
383
|
-
._Button--
|
|
384
|
-
._Button--
|
|
385
|
-
._Button--
|
|
386
|
-
._Button--
|
|
382
|
+
._Button--disabled_1tog0_135,
|
|
383
|
+
._Button--disabled_1tog0_135:hover,
|
|
384
|
+
._Button--secondary_1tog0_83._Button--disabled_1tog0_135,
|
|
385
|
+
._Button--secondary_1tog0_83._Button--disabled_1tog0_135:hover {
|
|
387
386
|
background-color: var(--puck-color-grey-12);
|
|
388
387
|
border-color: var(--puck-color-grey-08);
|
|
389
388
|
color: var(--puck-color-grey-07);
|
|
390
389
|
cursor: not-allowed;
|
|
391
390
|
}
|
|
392
|
-
._Button--
|
|
391
|
+
._Button--fullWidth_1tog0_145 {
|
|
393
392
|
justify-content: center;
|
|
394
393
|
width: 100%;
|
|
395
394
|
}
|
|
396
|
-
._Button-
|
|
395
|
+
._Button-spinner_1tog0_150 {
|
|
397
396
|
padding-left: 8px;
|
|
398
397
|
}
|
|
399
398
|
|
|
400
|
-
/* css-module:/home/runner/work/
|
|
399
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Loader/styles.module.css/#css-module-data */
|
|
401
400
|
@keyframes _loader-animation_nacdm_1 {
|
|
402
401
|
0% {
|
|
403
402
|
transform: rotate(0deg) scale(1);
|
|
@@ -419,75 +418,83 @@ p {
|
|
|
419
418
|
animation-fill-mode: both;
|
|
420
419
|
}
|
|
421
420
|
|
|
422
|
-
/* css-module:/home/runner/work/
|
|
423
|
-
.
|
|
421
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Heading/Heading.module.css/#css-module-data */
|
|
422
|
+
._Heading_1sfil_1 {
|
|
424
423
|
display: block;
|
|
424
|
+
font-family: var(--heading-font-family, var(--puck-font-family));
|
|
425
425
|
font-weight: 700;
|
|
426
426
|
margin: 0;
|
|
427
427
|
}
|
|
428
|
-
.
|
|
428
|
+
._Heading_1sfil_1 b {
|
|
429
|
+
font-weight: 700;
|
|
430
|
+
}
|
|
431
|
+
._Heading--brand_1sfil_12,
|
|
432
|
+
._Heading--brand_1sfil_12 * {
|
|
433
|
+
font-weight: 500;
|
|
434
|
+
letter-spacing: -7%;
|
|
435
|
+
line-height: 1;
|
|
436
|
+
}
|
|
437
|
+
._Heading--brand_1sfil_12 b {
|
|
429
438
|
font-weight: 700;
|
|
430
439
|
}
|
|
431
|
-
._Heading--
|
|
440
|
+
._Heading--xxxxl_1sfil_23 {
|
|
432
441
|
font-size: var(--puck-font-size-xxxl);
|
|
433
442
|
}
|
|
434
|
-
._Heading--
|
|
443
|
+
._Heading--xxxl_1sfil_27 {
|
|
435
444
|
font-size: var(--puck-font-size-xxl);
|
|
436
445
|
}
|
|
437
|
-
._Heading--
|
|
446
|
+
._Heading--xxl_1sfil_31 {
|
|
438
447
|
font-size: var(--puck-font-size-xl);
|
|
439
448
|
}
|
|
440
|
-
._Heading--
|
|
449
|
+
._Heading--xl_1sfil_35 {
|
|
441
450
|
font-size: var(--puck-font-size-l);
|
|
442
451
|
}
|
|
443
|
-
._Heading--
|
|
452
|
+
._Heading--l_1sfil_39 {
|
|
444
453
|
font-size: var(--puck-font-size-m);
|
|
445
454
|
}
|
|
446
|
-
._Heading--
|
|
455
|
+
._Heading--m_1sfil_43 {
|
|
447
456
|
font-size: var(--puck-font-size-s);
|
|
448
457
|
}
|
|
449
|
-
._Heading--
|
|
458
|
+
._Heading--s_1sfil_47 {
|
|
450
459
|
font-size: var(--puck-font-size-xs);
|
|
451
460
|
}
|
|
452
|
-
._Heading--
|
|
461
|
+
._Heading--xs_1sfil_51 {
|
|
453
462
|
font-size: var(--puck-font-size-xxs);
|
|
454
463
|
}
|
|
455
|
-
._Heading--
|
|
464
|
+
._Heading--xxs_1sfil_55 {
|
|
456
465
|
font-size: var(--puck-font-size-xxs);
|
|
457
466
|
}
|
|
458
467
|
@media (min-width: 768px) {
|
|
459
|
-
._Heading--
|
|
468
|
+
._Heading--xxxxl_1sfil_23 {
|
|
460
469
|
font-size: var(--puck-font-size-xxxxl);
|
|
461
|
-
letter-spacing: 0.08ch;
|
|
462
|
-
font-weight: 800;
|
|
463
470
|
}
|
|
464
|
-
._Heading--
|
|
471
|
+
._Heading--xxxl_1sfil_27 {
|
|
465
472
|
font-size: var(--puck-font-size-xxxl);
|
|
466
473
|
}
|
|
467
|
-
._Heading--
|
|
474
|
+
._Heading--xxl_1sfil_31 {
|
|
468
475
|
font-size: var(--puck-font-size-xxl);
|
|
469
476
|
}
|
|
470
|
-
._Heading--
|
|
477
|
+
._Heading--xl_1sfil_35 {
|
|
471
478
|
font-size: var(--puck-font-size-xl);
|
|
472
479
|
}
|
|
473
|
-
._Heading--
|
|
480
|
+
._Heading--l_1sfil_39 {
|
|
474
481
|
font-size: var(--puck-font-size-l);
|
|
475
482
|
}
|
|
476
|
-
._Heading--
|
|
483
|
+
._Heading--m_1sfil_43 {
|
|
477
484
|
font-size: var(--puck-font-size-m);
|
|
478
485
|
}
|
|
479
|
-
._Heading--
|
|
486
|
+
._Heading--s_1sfil_47 {
|
|
480
487
|
font-size: var(--puck-font-size-s);
|
|
481
488
|
}
|
|
482
|
-
._Heading--
|
|
489
|
+
._Heading--xs_1sfil_51 {
|
|
483
490
|
font-size: var(--puck-font-size-xs);
|
|
484
491
|
}
|
|
485
|
-
._Heading--
|
|
492
|
+
._Heading--xxs_1sfil_55 {
|
|
486
493
|
font-size: var(--puck-font-size-xxs);
|
|
487
494
|
}
|
|
488
495
|
}
|
|
489
496
|
|
|
490
|
-
/* css-module:/home/runner/work/
|
|
497
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Align/Align.module.css/#css-module-data */
|
|
491
498
|
._Align_oewlu_1 {
|
|
492
499
|
align-items: flex-start;
|
|
493
500
|
display: flex;
|
|
@@ -511,7 +518,7 @@ p {
|
|
|
511
518
|
position: relative;
|
|
512
519
|
}
|
|
513
520
|
|
|
514
|
-
/* css-module:/home/runner/work/
|
|
521
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/AutoForm/AutoForm.module.css/#css-module-data */
|
|
515
522
|
._AutoForm_1vmh9_1 {
|
|
516
523
|
display: flex;
|
|
517
524
|
gap: 16px;
|
|
@@ -522,7 +529,7 @@ p {
|
|
|
522
529
|
padding: 0px !important;
|
|
523
530
|
}
|
|
524
531
|
|
|
525
|
-
/* css-module:/home/runner/work/
|
|
532
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Card/Card.module.css/#css-module-data */
|
|
526
533
|
._Card_rpnal_1 {
|
|
527
534
|
background-color: white;
|
|
528
535
|
border: 1px solid var(--puck-color-grey-08);
|
|
@@ -562,7 +569,7 @@ p {
|
|
|
562
569
|
color: var(--puck-color-azure-04);
|
|
563
570
|
}
|
|
564
571
|
|
|
565
|
-
/* css-module:/home/runner/work/
|
|
572
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/CardSelector/styles.module.css/#css-module-data */
|
|
566
573
|
._CardSelector_1ogry_1 {
|
|
567
574
|
display: grid;
|
|
568
575
|
gap: 16px;
|
|
@@ -600,7 +607,7 @@ p {
|
|
|
600
607
|
cursor: pointer;
|
|
601
608
|
}
|
|
602
609
|
|
|
603
|
-
/* css-module:/home/runner/work/
|
|
610
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Code/Code.module.css/#css-module-data */
|
|
604
611
|
._Code_d4378_1 {
|
|
605
612
|
border-radius: 8px;
|
|
606
613
|
position: relative;
|
|
@@ -720,7 +727,7 @@ p {
|
|
|
720
727
|
background: var(--puck-color-grey-11);
|
|
721
728
|
}
|
|
722
729
|
|
|
723
|
-
/* css-module:/home/runner/work/
|
|
730
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/IconButton/IconButton.module.css/#css-module-data */
|
|
724
731
|
._IconButton_thegm_1 {
|
|
725
732
|
align-items: center;
|
|
726
733
|
background: transparent;
|
|
@@ -765,7 +772,7 @@ p {
|
|
|
765
772
|
color: var(--puck-color-grey-07);
|
|
766
773
|
}
|
|
767
774
|
|
|
768
|
-
/* css-module:/home/runner/work/
|
|
775
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/InfoBar/InfoBar.module.css/#css-module-data */
|
|
769
776
|
._InfoBar_kchdj_1 {
|
|
770
777
|
border: 1px solid var(--puck-color-grey-10);
|
|
771
778
|
border-radius: 8px;
|
|
@@ -788,7 +795,7 @@ p {
|
|
|
788
795
|
font-weight: 600;
|
|
789
796
|
}
|
|
790
797
|
|
|
791
|
-
/* css-module:/home/runner/work/
|
|
798
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Inline/Inline.module.css/#css-module-data */
|
|
792
799
|
._Inline_6o5on_3 {
|
|
793
800
|
display: block;
|
|
794
801
|
}
|
|
@@ -828,7 +835,7 @@ p {
|
|
|
828
835
|
flex-grow: 1;
|
|
829
836
|
}
|
|
830
837
|
|
|
831
|
-
/* css-module:/home/runner/work/
|
|
838
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Link/Link.module.css/#css-module-data */
|
|
832
839
|
._Link_1j70m_1 {
|
|
833
840
|
color: var(--puck-color-azure-04);
|
|
834
841
|
text-decoration: none;
|
|
@@ -837,7 +844,7 @@ p {
|
|
|
837
844
|
color: var(--puck-color-azure-05);
|
|
838
845
|
}
|
|
839
846
|
|
|
840
|
-
/* css-module:/home/runner/work/
|
|
847
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Menu/styles.module.css/#css-module-data */
|
|
841
848
|
._Menu_1tu16_1 {
|
|
842
849
|
display: flex;
|
|
843
850
|
position: relative;
|
|
@@ -913,7 +920,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
913
920
|
opacity: 0.5;
|
|
914
921
|
}
|
|
915
922
|
|
|
916
|
-
/* css-module:/home/runner/work/
|
|
923
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Page/Page.module.css/#css-module-data */
|
|
917
924
|
._Page_nkzj9_1 {
|
|
918
925
|
display: flex;
|
|
919
926
|
flex-direction: column;
|
|
@@ -972,7 +979,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
972
979
|
padding: 16px 24px;
|
|
973
980
|
}
|
|
974
981
|
|
|
975
|
-
/* css-module:/home/runner/work/
|
|
982
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Pagination/Pagination.module.css/#css-module-data */
|
|
976
983
|
._Pagination_1okv2_1 {
|
|
977
984
|
align-items: baseline;
|
|
978
985
|
display: flex;
|
|
@@ -1000,7 +1007,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1000
1007
|
color: var(--puck-color-grey-05);
|
|
1001
1008
|
}
|
|
1002
1009
|
|
|
1003
|
-
/* css-module:/home/runner/work/
|
|
1010
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanGrid/styles.module.css/#css-module-data */
|
|
1004
1011
|
._PlanGrid--loading_97rn7_1 {
|
|
1005
1012
|
opacity: 0;
|
|
1006
1013
|
}
|
|
@@ -1028,7 +1035,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1028
1035
|
font-weight: 500;
|
|
1029
1036
|
}
|
|
1030
1037
|
|
|
1031
|
-
/* css-module:/home/runner/work/
|
|
1038
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
|
|
1032
1039
|
._PlanCard_16zmu_1 {
|
|
1033
1040
|
border: 1px solid var(--puck-color-grey-09);
|
|
1034
1041
|
border-radius: 16px;
|
|
@@ -1212,7 +1219,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1212
1219
|
grid-auto-flow: column;
|
|
1213
1220
|
}
|
|
1214
1221
|
|
|
1215
|
-
/* css-module:/home/runner/work/
|
|
1222
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
|
|
1216
1223
|
._Section-inner_1uwo0_1 {
|
|
1217
1224
|
margin-left: auto;
|
|
1218
1225
|
margin-right: auto;
|
|
@@ -1230,7 +1237,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1230
1237
|
max-width: unset;
|
|
1231
1238
|
}
|
|
1232
1239
|
|
|
1233
|
-
/* css-module:/home/runner/work/
|
|
1240
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Tag/Tag.module.css/#css-module-data */
|
|
1234
1241
|
._Tag_s2h0n_1 {
|
|
1235
1242
|
align-items: center;
|
|
1236
1243
|
display: flex;
|
|
@@ -1301,7 +1308,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1301
1308
|
margin-top: 1px;
|
|
1302
1309
|
}
|
|
1303
1310
|
|
|
1304
|
-
/* css-module:/home/runner/work/
|
|
1311
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
|
|
1305
1312
|
._Table_o345u_1 {
|
|
1306
1313
|
color: black;
|
|
1307
1314
|
display: flex;
|
|
@@ -1401,39 +1408,56 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1401
1408
|
background-color: var(--puck-color-grey-12);
|
|
1402
1409
|
}
|
|
1403
1410
|
|
|
1404
|
-
/* css-module:/home/runner/work/
|
|
1405
|
-
.
|
|
1406
|
-
padding-top:
|
|
1411
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
|
|
1412
|
+
._VerticalSpace_16t6j_1 {
|
|
1413
|
+
padding-top: 24px;
|
|
1407
1414
|
}
|
|
1408
|
-
._VerticalSpace--
|
|
1415
|
+
._VerticalSpace--size4_16t6j_5 {
|
|
1409
1416
|
padding-top: 4px;
|
|
1410
1417
|
}
|
|
1411
|
-
._VerticalSpace--
|
|
1418
|
+
._VerticalSpace--size8_16t6j_9 {
|
|
1412
1419
|
padding-top: 8px;
|
|
1413
1420
|
}
|
|
1414
|
-
._VerticalSpace--
|
|
1421
|
+
._VerticalSpace--size16_16t6j_13 {
|
|
1415
1422
|
padding-top: 16px;
|
|
1416
1423
|
}
|
|
1417
|
-
._VerticalSpace--
|
|
1424
|
+
._VerticalSpace--size32_16t6j_17 {
|
|
1418
1425
|
padding-top: 32px;
|
|
1419
1426
|
}
|
|
1420
|
-
._VerticalSpace--
|
|
1427
|
+
._VerticalSpace--size40_16t6j_21 {
|
|
1421
1428
|
padding-top: 40px;
|
|
1422
1429
|
}
|
|
1423
|
-
._VerticalSpace--
|
|
1430
|
+
._VerticalSpace--size48_16t6j_25 {
|
|
1424
1431
|
padding-top: 48px;
|
|
1425
1432
|
}
|
|
1426
|
-
._VerticalSpace--
|
|
1433
|
+
._VerticalSpace--size56_16t6j_29 {
|
|
1427
1434
|
padding-top: 56px;
|
|
1428
1435
|
}
|
|
1429
|
-
._VerticalSpace--
|
|
1436
|
+
._VerticalSpace--size96_16t6j_33 {
|
|
1430
1437
|
padding-top: 96px;
|
|
1431
1438
|
}
|
|
1432
|
-
._VerticalSpace--
|
|
1439
|
+
._VerticalSpace--size128_16t6j_37 {
|
|
1433
1440
|
padding-top: 128px;
|
|
1434
1441
|
}
|
|
1442
|
+
@media (max-width: 767px) {
|
|
1443
|
+
._VerticalSpace--size40_16t6j_21 {
|
|
1444
|
+
padding-top: 40px;
|
|
1445
|
+
}
|
|
1446
|
+
._VerticalSpace--size48_16t6j_25 {
|
|
1447
|
+
padding-top: 48px;
|
|
1448
|
+
}
|
|
1449
|
+
._VerticalSpace--size56_16t6j_29 {
|
|
1450
|
+
padding-top: 56px;
|
|
1451
|
+
}
|
|
1452
|
+
._VerticalSpace--size96_16t6j_33 {
|
|
1453
|
+
padding-top: 72px;
|
|
1454
|
+
}
|
|
1455
|
+
._VerticalSpace--size128_16t6j_37 {
|
|
1456
|
+
padding-top: 96px;
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1435
1459
|
|
|
1436
|
-
/* css-module:/home/runner/work/
|
|
1460
|
+
/* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Viewport/styles.module.css/#css-module-data */
|
|
1437
1461
|
._Viewport_1vvhm_3 {
|
|
1438
1462
|
}
|
|
1439
1463
|
._Viewport--standard_1vvhm_6,
|
|
@@ -1468,7 +1492,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1468
1492
|
}
|
|
1469
1493
|
}
|
|
1470
1494
|
|
|
1471
|
-
/* css-module:/home/runner/work/
|
|
1495
|
+
/* css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/ChatBody/styles.module.css/#css-module-data */
|
|
1472
1496
|
._Chat_1njo2_1 {
|
|
1473
1497
|
--fade-size: 32px;
|
|
1474
1498
|
--chat-background-color: white;
|
|
@@ -1699,7 +1723,7 @@ button._Menu-item_1tu16_55:hover {
|
|
|
1699
1723
|
margin-left: auto;
|
|
1700
1724
|
}
|
|
1701
1725
|
|
|
1702
|
-
/* css-module:/home/runner/work/
|
|
1726
|
+
/* css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/PromptForm/styles.module.css/#css-module-data */
|
|
1703
1727
|
._PromptForm_1r4kq_1 {
|
|
1704
1728
|
--radius: 9px;
|
|
1705
1729
|
background-color: var(--puck-color-grey-09);
|
package/dist/index.js
CHANGED
|
@@ -564,7 +564,7 @@ var getClassNameFactory = (rootClass, styles, { baseClass = "" } = {}) => (optio
|
|
|
564
564
|
};
|
|
565
565
|
var get_class_name_factory_default = getClassNameFactory;
|
|
566
566
|
|
|
567
|
-
// css-module:/home/runner/work/
|
|
567
|
+
// css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/Chat/styles.module.css#css-module
|
|
568
568
|
init_react_import();
|
|
569
569
|
var styles_module_default = { "Chat": "_Chat_3s08c_1", "Chat-header": "_Chat-header_3s08c_9", "Chat-placeholder": "_Chat-placeholder_3s08c_23", "Chat-actions": "_Chat-actions_3s08c_42", "Chat-action": "_Chat-action_3s08c_42", "Chat-actionOutlined": "_Chat-actionOutlined_3s08c_51" };
|
|
570
570
|
|
|
@@ -583,7 +583,7 @@ init_react_import();
|
|
|
583
583
|
// ../platform-client/components/ActionModal/ActionModal.tsx
|
|
584
584
|
init_react_import();
|
|
585
585
|
|
|
586
|
-
// css-module:/home/runner/work/
|
|
586
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/ActionModal/ActionModal.module.css#css-module
|
|
587
587
|
init_react_import();
|
|
588
588
|
var ActionModal_module_default = { "ActionModal": "_ActionModal_r3pvy_1", "ActionModal-header": "_ActionModal-header_r3pvy_6", "ActionModal-body": "_ActionModal-body_r3pvy_17", "ActionModal-footer": "_ActionModal-footer_r3pvy_22" };
|
|
589
589
|
|
|
@@ -627,7 +627,7 @@ var get_class_name_factory_default2 = getClassNameFactory2;
|
|
|
627
627
|
// ../platform-client/components/Modal/Modal.tsx
|
|
628
628
|
init_react_import();
|
|
629
629
|
|
|
630
|
-
// css-module:/home/runner/work/
|
|
630
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Modal/Modal.module.css#css-module
|
|
631
631
|
init_react_import();
|
|
632
632
|
var Modal_module_default = { "Modal-background": "_Modal-background_1bedq_1", "Modal--visible": "_Modal--visible_1bedq_16", "Modal-modal": "_Modal-modal_1bedq_22" };
|
|
633
633
|
|
|
@@ -645,14 +645,14 @@ init_react_import();
|
|
|
645
645
|
init_react_import();
|
|
646
646
|
var import_react8 = require("react");
|
|
647
647
|
|
|
648
|
-
// css-module:/home/runner/work/
|
|
648
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Button/Button.module.css#css-module
|
|
649
649
|
init_react_import();
|
|
650
|
-
var Button_module_default = { "Button": "
|
|
650
|
+
var Button_module_default = { "Button": "_Button_1tog0_1", "Button--medium": "_Button--medium_1tog0_34", "Button--large": "_Button--large_1tog0_42", "Button--brand": "_Button--brand_1tog0_49", "Button--primary": "_Button--primary_1tog0_69", "Button--secondary": "_Button--secondary_1tog0_83", "Button--danger": "_Button--danger_1tog0_100", "Button--flush": "_Button--flush_1tog0_114", "Button--ghost": "_Button--ghost_1tog0_118", "Button--disabled": "_Button--disabled_1tog0_135", "Button--fullWidth": "_Button--fullWidth_1tog0_145", "Button-spinner": "_Button-spinner_1tog0_150" };
|
|
651
651
|
|
|
652
652
|
// ../platform-client/components/Loader/index.tsx
|
|
653
653
|
init_react_import();
|
|
654
654
|
|
|
655
|
-
// css-module:/home/runner/work/
|
|
655
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Loader/styles.module.css#css-module
|
|
656
656
|
init_react_import();
|
|
657
657
|
var styles_module_default2 = { "Loader": "_Loader_nacdm_13", "loader-animation": "_loader-animation_nacdm_1" };
|
|
658
658
|
|
|
@@ -778,20 +778,26 @@ init_react_import();
|
|
|
778
778
|
// ../platform-client/components/Heading/Heading.tsx
|
|
779
779
|
init_react_import();
|
|
780
780
|
|
|
781
|
-
// css-module:/home/runner/work/
|
|
781
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Heading/Heading.module.css#css-module
|
|
782
782
|
init_react_import();
|
|
783
|
-
var Heading_module_default = { "Heading": "
|
|
783
|
+
var Heading_module_default = { "Heading": "_Heading_1sfil_1", "Heading--brand": "_Heading--brand_1sfil_12", "Heading--xxxxl": "_Heading--xxxxl_1sfil_23", "Heading--xxxl": "_Heading--xxxl_1sfil_27", "Heading--xxl": "_Heading--xxl_1sfil_31", "Heading--xl": "_Heading--xl_1sfil_35", "Heading--l": "_Heading--l_1sfil_39", "Heading--m": "_Heading--m_1sfil_43", "Heading--s": "_Heading--s_1sfil_47", "Heading--xs": "_Heading--xs_1sfil_51", "Heading--xxs": "_Heading--xxs_1sfil_55" };
|
|
784
784
|
|
|
785
785
|
// ../platform-client/components/Heading/Heading.tsx
|
|
786
786
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
787
787
|
var getClassName4 = get_class_name_factory_default2("Heading", Heading_module_default);
|
|
788
|
-
var Heading = ({
|
|
788
|
+
var Heading = ({
|
|
789
|
+
children,
|
|
790
|
+
rank,
|
|
791
|
+
size = "m",
|
|
792
|
+
variant = "default"
|
|
793
|
+
}) => {
|
|
789
794
|
const Tag2 = rank ? `h${rank}` : "span";
|
|
790
795
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
791
796
|
Tag2,
|
|
792
797
|
{
|
|
793
798
|
className: getClassName4({
|
|
794
|
-
[size]: true
|
|
799
|
+
[size]: true,
|
|
800
|
+
brand: variant === "brand"
|
|
795
801
|
}),
|
|
796
802
|
children
|
|
797
803
|
}
|
|
@@ -832,7 +838,7 @@ init_react_import();
|
|
|
832
838
|
init_react_import();
|
|
833
839
|
var import_react10 = __toESM(require("react"));
|
|
834
840
|
|
|
835
|
-
// css-module:/home/runner/work/
|
|
841
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Align/Align.module.css#css-module
|
|
836
842
|
init_react_import();
|
|
837
843
|
var Align_module_default = { "Align": "_Align_oewlu_1", "Align--horizontalCenter": "_Align--horizontalCenter_oewlu_7", "Align--horizontalRight": "_Align--horizontalRight_oewlu_11", "Align--verticalBottom": "_Align--verticalBottom_oewlu_15", "Align--verticalCenter": "_Align--verticalCenter_oewlu_20", "Align-item": "_Align-item_oewlu_25" };
|
|
838
844
|
|
|
@@ -856,7 +862,7 @@ init_react_import();
|
|
|
856
862
|
var import_core = require("@puckeditor/core");
|
|
857
863
|
var import_react11 = require("react");
|
|
858
864
|
|
|
859
|
-
// css-module:/home/runner/work/
|
|
865
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/AutoForm/AutoForm.module.css#css-module
|
|
860
866
|
init_react_import();
|
|
861
867
|
var AutoForm_module_default = { "AutoForm": "_AutoForm_1vmh9_1" };
|
|
862
868
|
|
|
@@ -870,7 +876,7 @@ init_react_import();
|
|
|
870
876
|
// ../platform-client/components/Card/Card.tsx
|
|
871
877
|
init_react_import();
|
|
872
878
|
|
|
873
|
-
// css-module:/home/runner/work/
|
|
879
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Card/Card.module.css#css-module
|
|
874
880
|
init_react_import();
|
|
875
881
|
var Card_module_default = { "Card": "_Card_rpnal_1", "Card-body": "_Card-body_rpnal_17", "Card-title": "_Card-title_rpnal_23", "Card-subtitle": "_Card-subtitle_rpnal_27", "Card-chevron": "_Card-chevron_rpnal_32", "Card--showChevron": "_Card--showChevron_rpnal_38", "Card--isActive": "_Card--isActive_rpnal_42" };
|
|
876
882
|
|
|
@@ -881,7 +887,7 @@ var getClassName8 = get_class_name_factory_default2("Card", Card_module_default)
|
|
|
881
887
|
// ../platform-client/components/CardSelector/index.tsx
|
|
882
888
|
init_react_import();
|
|
883
889
|
|
|
884
|
-
// css-module:/home/runner/work/
|
|
890
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/CardSelector/styles.module.css#css-module
|
|
885
891
|
init_react_import();
|
|
886
892
|
var styles_module_default3 = { "CardSelector": "_CardSelector_1ogry_1", "CardSelectorOption": "_CardSelectorOption_1ogry_12", "CardSelectorOption--isSelected": "_CardSelectorOption--isSelected_1ogry_23", "CardSelectorOption--disabled": "_CardSelectorOption--disabled_1ogry_27", "CardSelectorOption-description": "_CardSelectorOption-description_1ogry_31", "CardSelectorOption-body": "_CardSelectorOption-body_1ogry_35" };
|
|
887
893
|
|
|
@@ -896,7 +902,7 @@ init_react_import();
|
|
|
896
902
|
// ../platform-client/components/Code/Code.tsx
|
|
897
903
|
init_react_import();
|
|
898
904
|
|
|
899
|
-
// css-module:/home/runner/work/
|
|
905
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Code/Code.module.css#css-module
|
|
900
906
|
init_react_import();
|
|
901
907
|
var Code_module_default = { "Code": "_Code_d4378_1", "Code-body": "_Code-body_d4378_8", "Code--light": "_Code--light_d4378_19", "Code-header": "_Code-header_d4378_34", "Code-corner": "_Code-corner_d4378_51", "Code-actions": "_Code-actions_d4378_71", "Code--lineNumbers": "_Code--lineNumbers_d4378_76", "Code-tabs": "_Code-tabs_d4378_91", "Tab": "_Tab_d4378_99", "Tab--isActive": "_Tab--isActive_d4378_104", "Tab--light": "_Tab--light_d4378_108", "Tab-button": "_Tab-button_d4378_112" };
|
|
902
908
|
|
|
@@ -918,7 +924,7 @@ init_react_import();
|
|
|
918
924
|
init_react_import();
|
|
919
925
|
var import_react14 = require("react");
|
|
920
926
|
|
|
921
|
-
// css-module:/home/runner/work/
|
|
927
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/IconButton/IconButton.module.css#css-module
|
|
922
928
|
init_react_import();
|
|
923
929
|
var IconButton_module_default = { "IconButton": "_IconButton_thegm_1", "IconButton--disabled": "_IconButton--disabled_thegm_20", "IconButton--dark": "_IconButton--dark_thegm_26", "IconButton-title": "_IconButton-title_thegm_37" };
|
|
924
930
|
|
|
@@ -983,7 +989,7 @@ init_react_import();
|
|
|
983
989
|
// ../platform-client/components/InfoBar/InfoBar.tsx
|
|
984
990
|
init_react_import();
|
|
985
991
|
|
|
986
|
-
// css-module:/home/runner/work/
|
|
992
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/InfoBar/InfoBar.module.css#css-module
|
|
987
993
|
init_react_import();
|
|
988
994
|
var InfoBar_module_default = { "InfoBar": "_InfoBar_kchdj_1", "Info": "_Info_kchdj_1", "Info-title": "_Info-title_kchdj_21" };
|
|
989
995
|
|
|
@@ -1008,7 +1014,7 @@ init_react_import();
|
|
|
1008
1014
|
// ../platform-client/components/Inline/Inline.tsx
|
|
1009
1015
|
init_react_import();
|
|
1010
1016
|
|
|
1011
|
-
// css-module:/home/runner/work/
|
|
1017
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Inline/Inline.module.css#css-module
|
|
1012
1018
|
init_react_import();
|
|
1013
1019
|
var Inline_module_default = { "Inline": "_Inline_6o5on_3", "Inline-inner": "_Inline-inner_6o5on_7", "Inline--noWrap": "_Inline--noWrap_6o5on_12", "Inline--sizeNONE": "_Inline--sizeNONE_6o5on_16", "Inline--sizeXXS": "_Inline--sizeXXS_6o5on_20", "Inline--sizeXS": "_Inline--sizeXS_6o5on_24", "Inline--sizeS": "_Inline--sizeS_6o5on_28", "Inline--sizeM": "_Inline--sizeM_6o5on_32", "Inline--sizeL": "_Inline--sizeL_6o5on_36", "Inline--center": "_Inline--center_6o5on_40", "Inline--centerH": "_Inline--centerH_6o5on_44", "Inline--grow": "_Inline--grow_6o5on_48" };
|
|
1014
1020
|
|
|
@@ -1060,7 +1066,7 @@ init_react_import();
|
|
|
1060
1066
|
// ../platform-client/components/Link/Link.tsx
|
|
1061
1067
|
init_react_import();
|
|
1062
1068
|
|
|
1063
|
-
// css-module:/home/runner/work/
|
|
1069
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Link/Link.module.css#css-module
|
|
1064
1070
|
init_react_import();
|
|
1065
1071
|
var Link_module_default = { "Link": "_Link_1j70m_1" };
|
|
1066
1072
|
|
|
@@ -1072,7 +1078,7 @@ var getClassName12 = get_class_name_factory_default2("Link", Link_module_default
|
|
|
1072
1078
|
init_react_import();
|
|
1073
1079
|
var import_react15 = require("react");
|
|
1074
1080
|
|
|
1075
|
-
// css-module:/home/runner/work/
|
|
1081
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Menu/styles.module.css#css-module
|
|
1076
1082
|
init_react_import();
|
|
1077
1083
|
var styles_module_default4 = { "Menu": "_Menu_1tu16_1", "Menu-content": "_Menu-content_1tu16_6", "Menu-sections": "_Menu-sections_1tu16_11", "Menu-action": "_Menu-action_1tu16_22", "Menu-list": "_Menu-list_1tu16_44", "Menu-item": "_Menu-item_1tu16_55", "Menu-item--disabled": "_Menu-item--disabled_1tu16_83" };
|
|
1078
1084
|
|
|
@@ -1090,7 +1096,7 @@ init_react_import();
|
|
|
1090
1096
|
// ../platform-client/components/Page/Page.tsx
|
|
1091
1097
|
init_react_import();
|
|
1092
1098
|
|
|
1093
|
-
// css-module:/home/runner/work/
|
|
1099
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Page/Page.module.css#css-module
|
|
1094
1100
|
init_react_import();
|
|
1095
1101
|
var Page_module_default = { "Page": "_Page_nkzj9_1", "Page-masthead": "_Page-masthead_nkzj9_8", "Page-crumbs": "_Page-crumbs_nkzj9_18", "Page-crumb": "_Page-crumb_nkzj9_18", "Page-crumbLink": "_Page-crumbLink_nkzj9_29", "Page-actions": "_Page-actions_nkzj9_61", "Page-footer": "_Page-footer_nkzj9_65" };
|
|
1096
1102
|
|
|
@@ -1105,7 +1111,7 @@ init_react_import();
|
|
|
1105
1111
|
init_react_import();
|
|
1106
1112
|
var import_react16 = require("react");
|
|
1107
1113
|
|
|
1108
|
-
// css-module:/home/runner/work/
|
|
1114
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Pagination/Pagination.module.css#css-module
|
|
1109
1115
|
init_react_import();
|
|
1110
1116
|
var Pagination_module_default = { "Pagination": "_Pagination_1okv2_1", "PaginationButton": "_PaginationButton_1okv2_8", "PaginationButton--isActive": "_PaginationButton--isActive_1okv2_20", "Pagination-ellipsis": "_Pagination-ellipsis_1okv2_30" };
|
|
1111
1117
|
|
|
@@ -1117,14 +1123,14 @@ var cxButton = getClassNameFactory2("PaginationButton", Pagination_module_defaul
|
|
|
1117
1123
|
// ../platform-client/components/PlanGrid/index.tsx
|
|
1118
1124
|
init_react_import();
|
|
1119
1125
|
|
|
1120
|
-
// css-module:/home/runner/work/
|
|
1126
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanGrid/styles.module.css#css-module
|
|
1121
1127
|
init_react_import();
|
|
1122
1128
|
var styles_module_default5 = { "PlanGrid--loading": "_PlanGrid--loading_97rn7_1", "PlanGrid-grid": "_PlanGrid-grid_97rn7_5", "PlanGrid-enterprise": "_PlanGrid-enterprise_97rn7_16" };
|
|
1123
1129
|
|
|
1124
1130
|
// ../platform-client/components/PlanCard/index.tsx
|
|
1125
1131
|
init_react_import();
|
|
1126
1132
|
|
|
1127
|
-
// css-module:/home/runner/work/
|
|
1133
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanCard/styles.module.css#css-module
|
|
1128
1134
|
init_react_import();
|
|
1129
1135
|
var styles_module_default6 = { "PlanCard": "_PlanCard_16zmu_1", "PlanCard--enterprise": "_PlanCard--enterprise_16zmu_12", "PlanCard-title": "_PlanCard-title_16zmu_17", "PlanCard-header": "_PlanCard-header_16zmu_26", "PlanCard-features": "_PlanCard-features_16zmu_35", "PlanCard-feature": "_PlanCard-feature_16zmu_35", "PlanCard-featureIcon": "_PlanCard-featureIcon_16zmu_51", "PlanCard-featureTitle": "_PlanCard-featureTitle_16zmu_56", "PlanCard-priceValue": "_PlanCard-priceValue_16zmu_61", "PlanCard-priceInterval": "_PlanCard-priceInterval_16zmu_65", "PlanCard-body": "_PlanCard-body_16zmu_69", "PlanCard-section": "_PlanCard-section_16zmu_83", "PlanCard-sectionTitle": "_PlanCard-sectionTitle_16zmu_106", "PlanCard-sectionBody": "_PlanCard-sectionBody_16zmu_112", "PlanCard-usageItem": "_PlanCard-usageItem_16zmu_125", "PlanCard-usageLabel": "_PlanCard-usageLabel_16zmu_131", "PlanCard-usageValue": "_PlanCard-usageValue_16zmu_136", "PlanCard-action": "_PlanCard-action_16zmu_142", "PlanCard-description": "_PlanCard-description_16zmu_149", "PlanCard--highlight": "_PlanCard--highlight_16zmu_154", "PlanCard-highlightText": "_PlanCard-highlightText_16zmu_184", "PlanCard--fullWidth": "_PlanCard--fullWidth_16zmu_200" };
|
|
1130
1136
|
|
|
@@ -6096,7 +6102,7 @@ init_react_import();
|
|
|
6096
6102
|
// ../platform-client/components/Section/Section.tsx
|
|
6097
6103
|
init_react_import();
|
|
6098
6104
|
|
|
6099
|
-
// css-module:/home/runner/work/
|
|
6105
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Section/Section.module.css#css-module
|
|
6100
6106
|
init_react_import();
|
|
6101
6107
|
var Section_module_default = { "Section-inner": "_Section-inner_1uwo0_1", "Section--flush": "_Section--flush_1uwo0_8", "Section": "_Section_1uwo0_1", "Section--full": "_Section--full_1uwo0_17" };
|
|
6102
6108
|
|
|
@@ -6116,7 +6122,7 @@ init_react_import();
|
|
|
6116
6122
|
// ../platform-client/components/Tag/Tag.tsx
|
|
6117
6123
|
init_react_import();
|
|
6118
6124
|
|
|
6119
|
-
// css-module:/home/runner/work/
|
|
6125
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Tag/Tag.module.css#css-module
|
|
6120
6126
|
init_react_import();
|
|
6121
6127
|
var Tag_module_default = { "Tag": "_Tag_s2h0n_1", "Tag--borderless": "_Tag--borderless_s2h0n_21", "Tag--colorBlue": "_Tag--colorBlue_s2h0n_25", "Tag--colorGreen": "_Tag--colorGreen_s2h0n_29", "Tag--colorRed": "_Tag--colorRed_s2h0n_33", "Tag--colorMuted": "_Tag--colorMuted_s2h0n_37", "Tag-sprite": "_Tag-sprite_s2h0n_41", "Tag--pulse": "_Tag--pulse_s2h0n_45", "pulse": "_pulse_s2h0n_1", "Tag-label": "_Tag-label_s2h0n_79" };
|
|
6122
6128
|
|
|
@@ -6134,7 +6140,7 @@ init_react_import();
|
|
|
6134
6140
|
init_react_import();
|
|
6135
6141
|
var import_react19 = require("react");
|
|
6136
6142
|
|
|
6137
|
-
// css-module:/home/runner/work/
|
|
6143
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Table/Table.module.css#css-module
|
|
6138
6144
|
init_react_import();
|
|
6139
6145
|
var Table_module_default = { "Table": "_Table_o345u_1", "Table-filters": "_Table-filters_o345u_9", "Table-inner": "_Table-inner_o345u_13", "Table-table": "_Table-table_o345u_17", "Table--hideHeader": "_Table--hideHeader_o345u_41", "Table-footer": "_Table-footer_o345u_89", "Table--clickableRows": "_Table--clickableRows_o345u_93", "Table-placeholder": "_Table-placeholder_o345u_98", "Table-loader": "_Table-loader_o345u_110", "TableRow--highlightRow": "_TableRow--highlightRow_o345u_114" };
|
|
6140
6146
|
|
|
@@ -6153,9 +6159,9 @@ init_react_import();
|
|
|
6153
6159
|
// ../platform-client/components/VerticalSpace/VerticalSpace.tsx
|
|
6154
6160
|
init_react_import();
|
|
6155
6161
|
|
|
6156
|
-
// css-module:/home/runner/work/
|
|
6162
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css#css-module
|
|
6157
6163
|
init_react_import();
|
|
6158
|
-
var VerticalSpace_module_default = { "VerticalSpace": "
|
|
6164
|
+
var VerticalSpace_module_default = { "VerticalSpace": "_VerticalSpace_16t6j_1", "VerticalSpace--size4": "_VerticalSpace--size4_16t6j_5", "VerticalSpace--size8": "_VerticalSpace--size8_16t6j_9", "VerticalSpace--size16": "_VerticalSpace--size16_16t6j_13", "VerticalSpace--size32": "_VerticalSpace--size32_16t6j_17", "VerticalSpace--size40": "_VerticalSpace--size40_16t6j_21", "VerticalSpace--size48": "_VerticalSpace--size48_16t6j_25", "VerticalSpace--size56": "_VerticalSpace--size56_16t6j_29", "VerticalSpace--size96": "_VerticalSpace--size96_16t6j_33", "VerticalSpace--size128": "_VerticalSpace--size128_16t6j_37" };
|
|
6159
6165
|
|
|
6160
6166
|
// ../platform-client/components/VerticalSpace/VerticalSpace.tsx
|
|
6161
6167
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
@@ -6164,7 +6170,7 @@ var getClassName17 = get_class_name_factory_default2("VerticalSpace", VerticalSp
|
|
|
6164
6170
|
// ../platform-client/components/Viewport/index.tsx
|
|
6165
6171
|
init_react_import();
|
|
6166
6172
|
|
|
6167
|
-
// css-module:/home/runner/work/
|
|
6173
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Viewport/styles.module.css#css-module
|
|
6168
6174
|
init_react_import();
|
|
6169
6175
|
var styles_module_default7 = { "Viewport": "_Viewport_1vvhm_3", "Viewport--standard": "_Viewport--standard_1vvhm_6", "Viewport--inline": "_Viewport--inline_1vvhm_7", "Viewport--narrow": "_Viewport--narrow_1vvhm_11", "Viewport--flex": "_Viewport--flex_1vvhm_19" };
|
|
6170
6176
|
|
|
@@ -6178,7 +6184,7 @@ var import_react20 = require("react");
|
|
|
6178
6184
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
6179
6185
|
var ctx = (0, import_react20.createContext)({});
|
|
6180
6186
|
|
|
6181
|
-
// css-module:/home/runner/work/
|
|
6187
|
+
// css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/ChatBody/styles.module.css#css-module
|
|
6182
6188
|
init_react_import();
|
|
6183
6189
|
var styles_module_default8 = { "Chat": "_Chat_1njo2_1", "Chat-inner": "_Chat-inner_1njo2_17", "Chat--hasMessages": "_Chat--hasMessages_1njo2_25", "Chat--hasChildren": "_Chat--hasChildren_1njo2_29", "Chat-messages": "_Chat-messages_1njo2_34", "Chat-form": "_Chat-form_1njo2_41", "Chat--hideInput": "_Chat--hideInput_1njo2_46", "Chat-formHelper": "_Chat-formHelper_1njo2_60", "Chat-examplePrompts": "_Chat-examplePrompts_1njo2_75", "Chat-examplePrompt": "_Chat-examplePrompt_1njo2_75", "Chat-examplePromptArrow": "_Chat-examplePromptArrow_1njo2_105", "Chat-default": "_Chat-default_1njo2_110", "ChatMessage": "_ChatMessage_1njo2_127", "ChatMessage--userRole": "_ChatMessage--userRole_1njo2_133", "ChatMessage-text": "_ChatMessage-text_1njo2_133", "ChatMessage-data": "_ChatMessage-data_1njo2_231", "ChatMessage-dataInner": "_ChatMessage-dataInner_1njo2_242", "ChatMessage-dataIcon": "_ChatMessage-dataIcon_1njo2_248", "Chat-loader": "_Chat-loader_1njo2_252", "Chat-error": "_Chat-error_1njo2_257", "Chat-errorLabel": "_Chat-errorLabel_1njo2_266", "Chat-errorAction": "_Chat-errorAction_1njo2_270" };
|
|
6184
6190
|
|
|
@@ -6186,7 +6192,7 @@ var styles_module_default8 = { "Chat": "_Chat_1njo2_1", "Chat-inner": "_Chat-inn
|
|
|
6186
6192
|
init_react_import();
|
|
6187
6193
|
var import_react21 = require("react");
|
|
6188
6194
|
|
|
6189
|
-
// css-module:/home/runner/work/
|
|
6195
|
+
// css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/PromptForm/styles.module.css#css-module
|
|
6190
6196
|
init_react_import();
|
|
6191
6197
|
var styles_module_default9 = { "PromptForm": "_PromptForm_1r4kq_1", "PromptForm-inner": "_PromptForm-inner_1r4kq_8", "PromptForm--dark": "_PromptForm--dark_1r4kq_14", "PromptForm--glow": "_PromptForm--glow_1r4kq_19", "PromptForm-glow": "_PromptForm-glow_1r4kq_19", "loop": "_loop_1r4kq_1", "PromptForm-formInner": "_PromptForm-formInner_1r4kq_60", "PromptForm-input": "_PromptForm-input_1r4kq_66", "PromptForm--disabled": "_PromptForm--disabled_1r4kq_97", "PromptForm-helper": "_PromptForm-helper_1r4kq_102", "PromptForm-actions": "_PromptForm-actions_1r4kq_112", "PromptForm-actionsLeft": "_PromptForm-actionsLeft_1r4kq_123", "PromptForm-actionsRight": "_PromptForm-actionsRight_1r4kq_130", "PromptForm-actionSubmit": "_PromptForm-actionSubmit_1r4kq_135", "PromptForm--userCta": "_PromptForm--userCta_1r4kq_149", "PromptForm--isDisabled": "_PromptForm--isDisabled_1r4kq_157", "PromptForm--isLoading": "_PromptForm--isLoading_1r4kq_162" };
|
|
6192
6198
|
|
|
@@ -6656,29 +6662,39 @@ function Chat2({
|
|
|
6656
6662
|
const [toolStatus, setToolStatus] = (0, import_react25.useState)({});
|
|
6657
6663
|
const uploadScreenshot = (0, import_react25.useCallback)(
|
|
6658
6664
|
async (width, bucketUrl) => {
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6665
|
+
try {
|
|
6666
|
+
const iframeDocument = document?.getElementById("preview-frame")?.contentDocument?.documentElement ?? null;
|
|
6667
|
+
if (!iframeDocument) {
|
|
6668
|
+
throw new Error("Preview frame not found");
|
|
6669
|
+
}
|
|
6670
|
+
const canvas = await (0, import_html2canvas_pro.default)(iframeDocument, {
|
|
6671
|
+
scale: 2,
|
|
6672
|
+
backgroundColor: "#ffffff",
|
|
6673
|
+
width,
|
|
6674
|
+
windowWidth: width,
|
|
6675
|
+
foreignObjectRendering: false,
|
|
6676
|
+
imageTimeout: 3e4,
|
|
6677
|
+
logging: false,
|
|
6678
|
+
allowTaint: false,
|
|
6679
|
+
useCORS: true,
|
|
6680
|
+
scrollY: 0,
|
|
6681
|
+
ignoreElements: (el) => Array.from(el.classList).some(
|
|
6682
|
+
(c2) => c2.startsWith("_DraggableComponent--hover") || c2.startsWith("_ActionBar")
|
|
6683
|
+
)
|
|
6684
|
+
});
|
|
6685
|
+
const image = canvas.toDataURL("image/webp", 0.8);
|
|
6686
|
+
const imageResponse = await fetch(image);
|
|
6687
|
+
const blob = await imageResponse.blob();
|
|
6688
|
+
const uploadResponse = await fetch(bucketUrl, {
|
|
6689
|
+
method: "PUT",
|
|
6690
|
+
body: blob
|
|
6691
|
+
});
|
|
6692
|
+
if (!uploadResponse.ok) {
|
|
6693
|
+
throw new Error(`Upload failed with status ${uploadResponse.status}`);
|
|
6694
|
+
}
|
|
6695
|
+
} catch (e2) {
|
|
6696
|
+
console.error("Failed to upload screenshot", e2);
|
|
6697
|
+
}
|
|
6682
6698
|
},
|
|
6683
6699
|
[]
|
|
6684
6700
|
);
|
|
@@ -6723,7 +6739,7 @@ function Chat2({
|
|
|
6723
6739
|
return;
|
|
6724
6740
|
}
|
|
6725
6741
|
case "data-send-screenshot": {
|
|
6726
|
-
dataPart.data.urls.
|
|
6742
|
+
dataPart.data.urls.forEach((obj) => {
|
|
6727
6743
|
const [[key, value]] = Object.entries(obj);
|
|
6728
6744
|
const breakpoint = Number(key);
|
|
6729
6745
|
uploadScreenshot(breakpoint, value);
|
|
@@ -6735,7 +6751,7 @@ function Chat2({
|
|
|
6735
6751
|
return;
|
|
6736
6752
|
}
|
|
6737
6753
|
},
|
|
6738
|
-
[getPuck]
|
|
6754
|
+
[getPuck, puckDispatch, uploadScreenshot]
|
|
6739
6755
|
);
|
|
6740
6756
|
const { messages, status, sendMessage, regenerate, setMessages } = useChat({
|
|
6741
6757
|
generateId: () => prefixedUlid("msg"),
|
package/dist/index.mjs
CHANGED
|
@@ -559,7 +559,7 @@ var getClassNameFactory = (rootClass, styles, { baseClass = "" } = {}) => (optio
|
|
|
559
559
|
};
|
|
560
560
|
var get_class_name_factory_default = getClassNameFactory;
|
|
561
561
|
|
|
562
|
-
// css-module:/home/runner/work/
|
|
562
|
+
// css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/Chat/styles.module.css#css-module
|
|
563
563
|
init_react_import();
|
|
564
564
|
var styles_module_default = { "Chat": "_Chat_3s08c_1", "Chat-header": "_Chat-header_3s08c_9", "Chat-placeholder": "_Chat-placeholder_3s08c_23", "Chat-actions": "_Chat-actions_3s08c_42", "Chat-action": "_Chat-action_3s08c_42", "Chat-actionOutlined": "_Chat-actionOutlined_3s08c_51" };
|
|
565
565
|
|
|
@@ -580,7 +580,7 @@ init_react_import();
|
|
|
580
580
|
// ../platform-client/components/ActionModal/ActionModal.tsx
|
|
581
581
|
init_react_import();
|
|
582
582
|
|
|
583
|
-
// css-module:/home/runner/work/
|
|
583
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/ActionModal/ActionModal.module.css#css-module
|
|
584
584
|
init_react_import();
|
|
585
585
|
var ActionModal_module_default = { "ActionModal": "_ActionModal_r3pvy_1", "ActionModal-header": "_ActionModal-header_r3pvy_6", "ActionModal-body": "_ActionModal-body_r3pvy_17", "ActionModal-footer": "_ActionModal-footer_r3pvy_22" };
|
|
586
586
|
|
|
@@ -624,7 +624,7 @@ var get_class_name_factory_default2 = getClassNameFactory2;
|
|
|
624
624
|
// ../platform-client/components/Modal/Modal.tsx
|
|
625
625
|
init_react_import();
|
|
626
626
|
|
|
627
|
-
// css-module:/home/runner/work/
|
|
627
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Modal/Modal.module.css#css-module
|
|
628
628
|
init_react_import();
|
|
629
629
|
var Modal_module_default = { "Modal-background": "_Modal-background_1bedq_1", "Modal--visible": "_Modal--visible_1bedq_16", "Modal-modal": "_Modal-modal_1bedq_22" };
|
|
630
630
|
|
|
@@ -642,14 +642,14 @@ init_react_import();
|
|
|
642
642
|
init_react_import();
|
|
643
643
|
import { useEffect as useEffect4, useState as useState4 } from "react";
|
|
644
644
|
|
|
645
|
-
// css-module:/home/runner/work/
|
|
645
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Button/Button.module.css#css-module
|
|
646
646
|
init_react_import();
|
|
647
|
-
var Button_module_default = { "Button": "
|
|
647
|
+
var Button_module_default = { "Button": "_Button_1tog0_1", "Button--medium": "_Button--medium_1tog0_34", "Button--large": "_Button--large_1tog0_42", "Button--brand": "_Button--brand_1tog0_49", "Button--primary": "_Button--primary_1tog0_69", "Button--secondary": "_Button--secondary_1tog0_83", "Button--danger": "_Button--danger_1tog0_100", "Button--flush": "_Button--flush_1tog0_114", "Button--ghost": "_Button--ghost_1tog0_118", "Button--disabled": "_Button--disabled_1tog0_135", "Button--fullWidth": "_Button--fullWidth_1tog0_145", "Button-spinner": "_Button-spinner_1tog0_150" };
|
|
648
648
|
|
|
649
649
|
// ../platform-client/components/Loader/index.tsx
|
|
650
650
|
init_react_import();
|
|
651
651
|
|
|
652
|
-
// css-module:/home/runner/work/
|
|
652
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Loader/styles.module.css#css-module
|
|
653
653
|
init_react_import();
|
|
654
654
|
var styles_module_default2 = { "Loader": "_Loader_nacdm_13", "loader-animation": "_loader-animation_nacdm_1" };
|
|
655
655
|
|
|
@@ -775,20 +775,26 @@ init_react_import();
|
|
|
775
775
|
// ../platform-client/components/Heading/Heading.tsx
|
|
776
776
|
init_react_import();
|
|
777
777
|
|
|
778
|
-
// css-module:/home/runner/work/
|
|
778
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Heading/Heading.module.css#css-module
|
|
779
779
|
init_react_import();
|
|
780
|
-
var Heading_module_default = { "Heading": "
|
|
780
|
+
var Heading_module_default = { "Heading": "_Heading_1sfil_1", "Heading--brand": "_Heading--brand_1sfil_12", "Heading--xxxxl": "_Heading--xxxxl_1sfil_23", "Heading--xxxl": "_Heading--xxxl_1sfil_27", "Heading--xxl": "_Heading--xxl_1sfil_31", "Heading--xl": "_Heading--xl_1sfil_35", "Heading--l": "_Heading--l_1sfil_39", "Heading--m": "_Heading--m_1sfil_43", "Heading--s": "_Heading--s_1sfil_47", "Heading--xs": "_Heading--xs_1sfil_51", "Heading--xxs": "_Heading--xxs_1sfil_55" };
|
|
781
781
|
|
|
782
782
|
// ../platform-client/components/Heading/Heading.tsx
|
|
783
783
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
784
784
|
var getClassName4 = get_class_name_factory_default2("Heading", Heading_module_default);
|
|
785
|
-
var Heading = ({
|
|
785
|
+
var Heading = ({
|
|
786
|
+
children,
|
|
787
|
+
rank,
|
|
788
|
+
size = "m",
|
|
789
|
+
variant = "default"
|
|
790
|
+
}) => {
|
|
786
791
|
const Tag2 = rank ? `h${rank}` : "span";
|
|
787
792
|
return /* @__PURE__ */ jsx4(
|
|
788
793
|
Tag2,
|
|
789
794
|
{
|
|
790
795
|
className: getClassName4({
|
|
791
|
-
[size]: true
|
|
796
|
+
[size]: true,
|
|
797
|
+
brand: variant === "brand"
|
|
792
798
|
}),
|
|
793
799
|
children
|
|
794
800
|
}
|
|
@@ -829,7 +835,7 @@ init_react_import();
|
|
|
829
835
|
init_react_import();
|
|
830
836
|
import React2 from "react";
|
|
831
837
|
|
|
832
|
-
// css-module:/home/runner/work/
|
|
838
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Align/Align.module.css#css-module
|
|
833
839
|
init_react_import();
|
|
834
840
|
var Align_module_default = { "Align": "_Align_oewlu_1", "Align--horizontalCenter": "_Align--horizontalCenter_oewlu_7", "Align--horizontalRight": "_Align--horizontalRight_oewlu_11", "Align--verticalBottom": "_Align--verticalBottom_oewlu_15", "Align--verticalCenter": "_Align--verticalCenter_oewlu_20", "Align-item": "_Align-item_oewlu_25" };
|
|
835
841
|
|
|
@@ -853,7 +859,7 @@ init_react_import();
|
|
|
853
859
|
import { AutoField, FieldLabel } from "@puckeditor/core";
|
|
854
860
|
import { useEffect as useEffect5, useRef as useRef5, useState as useState5 } from "react";
|
|
855
861
|
|
|
856
|
-
// css-module:/home/runner/work/
|
|
862
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/AutoForm/AutoForm.module.css#css-module
|
|
857
863
|
init_react_import();
|
|
858
864
|
var AutoForm_module_default = { "AutoForm": "_AutoForm_1vmh9_1" };
|
|
859
865
|
|
|
@@ -867,7 +873,7 @@ init_react_import();
|
|
|
867
873
|
// ../platform-client/components/Card/Card.tsx
|
|
868
874
|
init_react_import();
|
|
869
875
|
|
|
870
|
-
// css-module:/home/runner/work/
|
|
876
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Card/Card.module.css#css-module
|
|
871
877
|
init_react_import();
|
|
872
878
|
var Card_module_default = { "Card": "_Card_rpnal_1", "Card-body": "_Card-body_rpnal_17", "Card-title": "_Card-title_rpnal_23", "Card-subtitle": "_Card-subtitle_rpnal_27", "Card-chevron": "_Card-chevron_rpnal_32", "Card--showChevron": "_Card--showChevron_rpnal_38", "Card--isActive": "_Card--isActive_rpnal_42" };
|
|
873
879
|
|
|
@@ -878,7 +884,7 @@ var getClassName8 = get_class_name_factory_default2("Card", Card_module_default)
|
|
|
878
884
|
// ../platform-client/components/CardSelector/index.tsx
|
|
879
885
|
init_react_import();
|
|
880
886
|
|
|
881
|
-
// css-module:/home/runner/work/
|
|
887
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/CardSelector/styles.module.css#css-module
|
|
882
888
|
init_react_import();
|
|
883
889
|
var styles_module_default3 = { "CardSelector": "_CardSelector_1ogry_1", "CardSelectorOption": "_CardSelectorOption_1ogry_12", "CardSelectorOption--isSelected": "_CardSelectorOption--isSelected_1ogry_23", "CardSelectorOption--disabled": "_CardSelectorOption--disabled_1ogry_27", "CardSelectorOption-description": "_CardSelectorOption-description_1ogry_31", "CardSelectorOption-body": "_CardSelectorOption-body_1ogry_35" };
|
|
884
890
|
|
|
@@ -893,7 +899,7 @@ init_react_import();
|
|
|
893
899
|
// ../platform-client/components/Code/Code.tsx
|
|
894
900
|
init_react_import();
|
|
895
901
|
|
|
896
|
-
// css-module:/home/runner/work/
|
|
902
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Code/Code.module.css#css-module
|
|
897
903
|
init_react_import();
|
|
898
904
|
var Code_module_default = { "Code": "_Code_d4378_1", "Code-body": "_Code-body_d4378_8", "Code--light": "_Code--light_d4378_19", "Code-header": "_Code-header_d4378_34", "Code-corner": "_Code-corner_d4378_51", "Code-actions": "_Code-actions_d4378_71", "Code--lineNumbers": "_Code--lineNumbers_d4378_76", "Code-tabs": "_Code-tabs_d4378_91", "Tab": "_Tab_d4378_99", "Tab--isActive": "_Tab--isActive_d4378_104", "Tab--light": "_Tab--light_d4378_108", "Tab-button": "_Tab-button_d4378_112" };
|
|
899
905
|
|
|
@@ -915,7 +921,7 @@ init_react_import();
|
|
|
915
921
|
init_react_import();
|
|
916
922
|
import { useState as useState8 } from "react";
|
|
917
923
|
|
|
918
|
-
// css-module:/home/runner/work/
|
|
924
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/IconButton/IconButton.module.css#css-module
|
|
919
925
|
init_react_import();
|
|
920
926
|
var IconButton_module_default = { "IconButton": "_IconButton_thegm_1", "IconButton--disabled": "_IconButton--disabled_thegm_20", "IconButton--dark": "_IconButton--dark_thegm_26", "IconButton-title": "_IconButton-title_thegm_37" };
|
|
921
927
|
|
|
@@ -980,7 +986,7 @@ init_react_import();
|
|
|
980
986
|
// ../platform-client/components/InfoBar/InfoBar.tsx
|
|
981
987
|
init_react_import();
|
|
982
988
|
|
|
983
|
-
// css-module:/home/runner/work/
|
|
989
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/InfoBar/InfoBar.module.css#css-module
|
|
984
990
|
init_react_import();
|
|
985
991
|
var InfoBar_module_default = { "InfoBar": "_InfoBar_kchdj_1", "Info": "_Info_kchdj_1", "Info-title": "_Info-title_kchdj_21" };
|
|
986
992
|
|
|
@@ -1005,7 +1011,7 @@ init_react_import();
|
|
|
1005
1011
|
// ../platform-client/components/Inline/Inline.tsx
|
|
1006
1012
|
init_react_import();
|
|
1007
1013
|
|
|
1008
|
-
// css-module:/home/runner/work/
|
|
1014
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Inline/Inline.module.css#css-module
|
|
1009
1015
|
init_react_import();
|
|
1010
1016
|
var Inline_module_default = { "Inline": "_Inline_6o5on_3", "Inline-inner": "_Inline-inner_6o5on_7", "Inline--noWrap": "_Inline--noWrap_6o5on_12", "Inline--sizeNONE": "_Inline--sizeNONE_6o5on_16", "Inline--sizeXXS": "_Inline--sizeXXS_6o5on_20", "Inline--sizeXS": "_Inline--sizeXS_6o5on_24", "Inline--sizeS": "_Inline--sizeS_6o5on_28", "Inline--sizeM": "_Inline--sizeM_6o5on_32", "Inline--sizeL": "_Inline--sizeL_6o5on_36", "Inline--center": "_Inline--center_6o5on_40", "Inline--centerH": "_Inline--centerH_6o5on_44", "Inline--grow": "_Inline--grow_6o5on_48" };
|
|
1011
1017
|
|
|
@@ -1057,7 +1063,7 @@ init_react_import();
|
|
|
1057
1063
|
// ../platform-client/components/Link/Link.tsx
|
|
1058
1064
|
init_react_import();
|
|
1059
1065
|
|
|
1060
|
-
// css-module:/home/runner/work/
|
|
1066
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Link/Link.module.css#css-module
|
|
1061
1067
|
init_react_import();
|
|
1062
1068
|
var Link_module_default = { "Link": "_Link_1j70m_1" };
|
|
1063
1069
|
|
|
@@ -1069,7 +1075,7 @@ var getClassName12 = get_class_name_factory_default2("Link", Link_module_default
|
|
|
1069
1075
|
init_react_import();
|
|
1070
1076
|
import { useState as useState9 } from "react";
|
|
1071
1077
|
|
|
1072
|
-
// css-module:/home/runner/work/
|
|
1078
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Menu/styles.module.css#css-module
|
|
1073
1079
|
init_react_import();
|
|
1074
1080
|
var styles_module_default4 = { "Menu": "_Menu_1tu16_1", "Menu-content": "_Menu-content_1tu16_6", "Menu-sections": "_Menu-sections_1tu16_11", "Menu-action": "_Menu-action_1tu16_22", "Menu-list": "_Menu-list_1tu16_44", "Menu-item": "_Menu-item_1tu16_55", "Menu-item--disabled": "_Menu-item--disabled_1tu16_83" };
|
|
1075
1081
|
|
|
@@ -1087,7 +1093,7 @@ init_react_import();
|
|
|
1087
1093
|
// ../platform-client/components/Page/Page.tsx
|
|
1088
1094
|
init_react_import();
|
|
1089
1095
|
|
|
1090
|
-
// css-module:/home/runner/work/
|
|
1096
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Page/Page.module.css#css-module
|
|
1091
1097
|
init_react_import();
|
|
1092
1098
|
var Page_module_default = { "Page": "_Page_nkzj9_1", "Page-masthead": "_Page-masthead_nkzj9_8", "Page-crumbs": "_Page-crumbs_nkzj9_18", "Page-crumb": "_Page-crumb_nkzj9_18", "Page-crumbLink": "_Page-crumbLink_nkzj9_29", "Page-actions": "_Page-actions_nkzj9_61", "Page-footer": "_Page-footer_nkzj9_65" };
|
|
1093
1099
|
|
|
@@ -1102,7 +1108,7 @@ init_react_import();
|
|
|
1102
1108
|
init_react_import();
|
|
1103
1109
|
import { useMemo } from "react";
|
|
1104
1110
|
|
|
1105
|
-
// css-module:/home/runner/work/
|
|
1111
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Pagination/Pagination.module.css#css-module
|
|
1106
1112
|
init_react_import();
|
|
1107
1113
|
var Pagination_module_default = { "Pagination": "_Pagination_1okv2_1", "PaginationButton": "_PaginationButton_1okv2_8", "PaginationButton--isActive": "_PaginationButton--isActive_1okv2_20", "Pagination-ellipsis": "_Pagination-ellipsis_1okv2_30" };
|
|
1108
1114
|
|
|
@@ -1114,14 +1120,14 @@ var cxButton = getClassNameFactory2("PaginationButton", Pagination_module_defaul
|
|
|
1114
1120
|
// ../platform-client/components/PlanGrid/index.tsx
|
|
1115
1121
|
init_react_import();
|
|
1116
1122
|
|
|
1117
|
-
// css-module:/home/runner/work/
|
|
1123
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanGrid/styles.module.css#css-module
|
|
1118
1124
|
init_react_import();
|
|
1119
1125
|
var styles_module_default5 = { "PlanGrid--loading": "_PlanGrid--loading_97rn7_1", "PlanGrid-grid": "_PlanGrid-grid_97rn7_5", "PlanGrid-enterprise": "_PlanGrid-enterprise_97rn7_16" };
|
|
1120
1126
|
|
|
1121
1127
|
// ../platform-client/components/PlanCard/index.tsx
|
|
1122
1128
|
init_react_import();
|
|
1123
1129
|
|
|
1124
|
-
// css-module:/home/runner/work/
|
|
1130
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanCard/styles.module.css#css-module
|
|
1125
1131
|
init_react_import();
|
|
1126
1132
|
var styles_module_default6 = { "PlanCard": "_PlanCard_16zmu_1", "PlanCard--enterprise": "_PlanCard--enterprise_16zmu_12", "PlanCard-title": "_PlanCard-title_16zmu_17", "PlanCard-header": "_PlanCard-header_16zmu_26", "PlanCard-features": "_PlanCard-features_16zmu_35", "PlanCard-feature": "_PlanCard-feature_16zmu_35", "PlanCard-featureIcon": "_PlanCard-featureIcon_16zmu_51", "PlanCard-featureTitle": "_PlanCard-featureTitle_16zmu_56", "PlanCard-priceValue": "_PlanCard-priceValue_16zmu_61", "PlanCard-priceInterval": "_PlanCard-priceInterval_16zmu_65", "PlanCard-body": "_PlanCard-body_16zmu_69", "PlanCard-section": "_PlanCard-section_16zmu_83", "PlanCard-sectionTitle": "_PlanCard-sectionTitle_16zmu_106", "PlanCard-sectionBody": "_PlanCard-sectionBody_16zmu_112", "PlanCard-usageItem": "_PlanCard-usageItem_16zmu_125", "PlanCard-usageLabel": "_PlanCard-usageLabel_16zmu_131", "PlanCard-usageValue": "_PlanCard-usageValue_16zmu_136", "PlanCard-action": "_PlanCard-action_16zmu_142", "PlanCard-description": "_PlanCard-description_16zmu_149", "PlanCard--highlight": "_PlanCard--highlight_16zmu_154", "PlanCard-highlightText": "_PlanCard-highlightText_16zmu_184", "PlanCard--fullWidth": "_PlanCard--fullWidth_16zmu_200" };
|
|
1127
1133
|
|
|
@@ -6093,7 +6099,7 @@ init_react_import();
|
|
|
6093
6099
|
// ../platform-client/components/Section/Section.tsx
|
|
6094
6100
|
init_react_import();
|
|
6095
6101
|
|
|
6096
|
-
// css-module:/home/runner/work/
|
|
6102
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Section/Section.module.css#css-module
|
|
6097
6103
|
init_react_import();
|
|
6098
6104
|
var Section_module_default = { "Section-inner": "_Section-inner_1uwo0_1", "Section--flush": "_Section--flush_1uwo0_8", "Section": "_Section_1uwo0_1", "Section--full": "_Section--full_1uwo0_17" };
|
|
6099
6105
|
|
|
@@ -6113,7 +6119,7 @@ init_react_import();
|
|
|
6113
6119
|
// ../platform-client/components/Tag/Tag.tsx
|
|
6114
6120
|
init_react_import();
|
|
6115
6121
|
|
|
6116
|
-
// css-module:/home/runner/work/
|
|
6122
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Tag/Tag.module.css#css-module
|
|
6117
6123
|
init_react_import();
|
|
6118
6124
|
var Tag_module_default = { "Tag": "_Tag_s2h0n_1", "Tag--borderless": "_Tag--borderless_s2h0n_21", "Tag--colorBlue": "_Tag--colorBlue_s2h0n_25", "Tag--colorGreen": "_Tag--colorGreen_s2h0n_29", "Tag--colorRed": "_Tag--colorRed_s2h0n_33", "Tag--colorMuted": "_Tag--colorMuted_s2h0n_37", "Tag-sprite": "_Tag-sprite_s2h0n_41", "Tag--pulse": "_Tag--pulse_s2h0n_45", "pulse": "_pulse_s2h0n_1", "Tag-label": "_Tag-label_s2h0n_79" };
|
|
6119
6125
|
|
|
@@ -6131,7 +6137,7 @@ init_react_import();
|
|
|
6131
6137
|
init_react_import();
|
|
6132
6138
|
import { useEffect as useEffect8, useMemo as useMemo3, useRef as useRef7, useState as useState11 } from "react";
|
|
6133
6139
|
|
|
6134
|
-
// css-module:/home/runner/work/
|
|
6140
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Table/Table.module.css#css-module
|
|
6135
6141
|
init_react_import();
|
|
6136
6142
|
var Table_module_default = { "Table": "_Table_o345u_1", "Table-filters": "_Table-filters_o345u_9", "Table-inner": "_Table-inner_o345u_13", "Table-table": "_Table-table_o345u_17", "Table--hideHeader": "_Table--hideHeader_o345u_41", "Table-footer": "_Table-footer_o345u_89", "Table--clickableRows": "_Table--clickableRows_o345u_93", "Table-placeholder": "_Table-placeholder_o345u_98", "Table-loader": "_Table-loader_o345u_110", "TableRow--highlightRow": "_TableRow--highlightRow_o345u_114" };
|
|
6137
6143
|
|
|
@@ -6150,9 +6156,9 @@ init_react_import();
|
|
|
6150
6156
|
// ../platform-client/components/VerticalSpace/VerticalSpace.tsx
|
|
6151
6157
|
init_react_import();
|
|
6152
6158
|
|
|
6153
|
-
// css-module:/home/runner/work/
|
|
6159
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css#css-module
|
|
6154
6160
|
init_react_import();
|
|
6155
|
-
var VerticalSpace_module_default = { "VerticalSpace": "
|
|
6161
|
+
var VerticalSpace_module_default = { "VerticalSpace": "_VerticalSpace_16t6j_1", "VerticalSpace--size4": "_VerticalSpace--size4_16t6j_5", "VerticalSpace--size8": "_VerticalSpace--size8_16t6j_9", "VerticalSpace--size16": "_VerticalSpace--size16_16t6j_13", "VerticalSpace--size32": "_VerticalSpace--size32_16t6j_17", "VerticalSpace--size40": "_VerticalSpace--size40_16t6j_21", "VerticalSpace--size48": "_VerticalSpace--size48_16t6j_25", "VerticalSpace--size56": "_VerticalSpace--size56_16t6j_29", "VerticalSpace--size96": "_VerticalSpace--size96_16t6j_33", "VerticalSpace--size128": "_VerticalSpace--size128_16t6j_37" };
|
|
6156
6162
|
|
|
6157
6163
|
// ../platform-client/components/VerticalSpace/VerticalSpace.tsx
|
|
6158
6164
|
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
@@ -6161,7 +6167,7 @@ var getClassName17 = get_class_name_factory_default2("VerticalSpace", VerticalSp
|
|
|
6161
6167
|
// ../platform-client/components/Viewport/index.tsx
|
|
6162
6168
|
init_react_import();
|
|
6163
6169
|
|
|
6164
|
-
// css-module:/home/runner/work/
|
|
6170
|
+
// css-module:/home/runner/work/platform/platform/packages/platform-client/components/Viewport/styles.module.css#css-module
|
|
6165
6171
|
init_react_import();
|
|
6166
6172
|
var styles_module_default7 = { "Viewport": "_Viewport_1vvhm_3", "Viewport--standard": "_Viewport--standard_1vvhm_6", "Viewport--inline": "_Viewport--inline_1vvhm_7", "Viewport--narrow": "_Viewport--narrow_1vvhm_11", "Viewport--flex": "_Viewport--flex_1vvhm_19" };
|
|
6167
6173
|
|
|
@@ -6175,7 +6181,7 @@ import { createContext as createContext2, useContext as useContext2, useState as
|
|
|
6175
6181
|
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
6176
6182
|
var ctx = createContext2({});
|
|
6177
6183
|
|
|
6178
|
-
// css-module:/home/runner/work/
|
|
6184
|
+
// css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/ChatBody/styles.module.css#css-module
|
|
6179
6185
|
init_react_import();
|
|
6180
6186
|
var styles_module_default8 = { "Chat": "_Chat_1njo2_1", "Chat-inner": "_Chat-inner_1njo2_17", "Chat--hasMessages": "_Chat--hasMessages_1njo2_25", "Chat--hasChildren": "_Chat--hasChildren_1njo2_29", "Chat-messages": "_Chat-messages_1njo2_34", "Chat-form": "_Chat-form_1njo2_41", "Chat--hideInput": "_Chat--hideInput_1njo2_46", "Chat-formHelper": "_Chat-formHelper_1njo2_60", "Chat-examplePrompts": "_Chat-examplePrompts_1njo2_75", "Chat-examplePrompt": "_Chat-examplePrompt_1njo2_75", "Chat-examplePromptArrow": "_Chat-examplePromptArrow_1njo2_105", "Chat-default": "_Chat-default_1njo2_110", "ChatMessage": "_ChatMessage_1njo2_127", "ChatMessage--userRole": "_ChatMessage--userRole_1njo2_133", "ChatMessage-text": "_ChatMessage-text_1njo2_133", "ChatMessage-data": "_ChatMessage-data_1njo2_231", "ChatMessage-dataInner": "_ChatMessage-dataInner_1njo2_242", "ChatMessage-dataIcon": "_ChatMessage-dataIcon_1njo2_248", "Chat-loader": "_Chat-loader_1njo2_252", "Chat-error": "_Chat-error_1njo2_257", "Chat-errorLabel": "_Chat-errorLabel_1njo2_266", "Chat-errorAction": "_Chat-errorAction_1njo2_270" };
|
|
6181
6187
|
|
|
@@ -6187,7 +6193,7 @@ import {
|
|
|
6187
6193
|
useState as useState13
|
|
6188
6194
|
} from "react";
|
|
6189
6195
|
|
|
6190
|
-
// css-module:/home/runner/work/
|
|
6196
|
+
// css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/PromptForm/styles.module.css#css-module
|
|
6191
6197
|
init_react_import();
|
|
6192
6198
|
var styles_module_default9 = { "PromptForm": "_PromptForm_1r4kq_1", "PromptForm-inner": "_PromptForm-inner_1r4kq_8", "PromptForm--dark": "_PromptForm--dark_1r4kq_14", "PromptForm--glow": "_PromptForm--glow_1r4kq_19", "PromptForm-glow": "_PromptForm-glow_1r4kq_19", "loop": "_loop_1r4kq_1", "PromptForm-formInner": "_PromptForm-formInner_1r4kq_60", "PromptForm-input": "_PromptForm-input_1r4kq_66", "PromptForm--disabled": "_PromptForm--disabled_1r4kq_97", "PromptForm-helper": "_PromptForm-helper_1r4kq_102", "PromptForm-actions": "_PromptForm-actions_1r4kq_112", "PromptForm-actionsLeft": "_PromptForm-actionsLeft_1r4kq_123", "PromptForm-actionsRight": "_PromptForm-actionsRight_1r4kq_130", "PromptForm-actionSubmit": "_PromptForm-actionSubmit_1r4kq_135", "PromptForm--userCta": "_PromptForm--userCta_1r4kq_149", "PromptForm--isDisabled": "_PromptForm--isDisabled_1r4kq_157", "PromptForm--isLoading": "_PromptForm--isLoading_1r4kq_162" };
|
|
6193
6199
|
|
|
@@ -6657,29 +6663,39 @@ function Chat2({
|
|
|
6657
6663
|
const [toolStatus, setToolStatus] = useState14({});
|
|
6658
6664
|
const uploadScreenshot = useCallback4(
|
|
6659
6665
|
async (width, bucketUrl) => {
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6666
|
+
try {
|
|
6667
|
+
const iframeDocument = document?.getElementById("preview-frame")?.contentDocument?.documentElement ?? null;
|
|
6668
|
+
if (!iframeDocument) {
|
|
6669
|
+
throw new Error("Preview frame not found");
|
|
6670
|
+
}
|
|
6671
|
+
const canvas = await html2canvas(iframeDocument, {
|
|
6672
|
+
scale: 2,
|
|
6673
|
+
backgroundColor: "#ffffff",
|
|
6674
|
+
width,
|
|
6675
|
+
windowWidth: width,
|
|
6676
|
+
foreignObjectRendering: false,
|
|
6677
|
+
imageTimeout: 3e4,
|
|
6678
|
+
logging: false,
|
|
6679
|
+
allowTaint: false,
|
|
6680
|
+
useCORS: true,
|
|
6681
|
+
scrollY: 0,
|
|
6682
|
+
ignoreElements: (el) => Array.from(el.classList).some(
|
|
6683
|
+
(c2) => c2.startsWith("_DraggableComponent--hover") || c2.startsWith("_ActionBar")
|
|
6684
|
+
)
|
|
6685
|
+
});
|
|
6686
|
+
const image = canvas.toDataURL("image/webp", 0.8);
|
|
6687
|
+
const imageResponse = await fetch(image);
|
|
6688
|
+
const blob = await imageResponse.blob();
|
|
6689
|
+
const uploadResponse = await fetch(bucketUrl, {
|
|
6690
|
+
method: "PUT",
|
|
6691
|
+
body: blob
|
|
6692
|
+
});
|
|
6693
|
+
if (!uploadResponse.ok) {
|
|
6694
|
+
throw new Error(`Upload failed with status ${uploadResponse.status}`);
|
|
6695
|
+
}
|
|
6696
|
+
} catch (e2) {
|
|
6697
|
+
console.error("Failed to upload screenshot", e2);
|
|
6698
|
+
}
|
|
6683
6699
|
},
|
|
6684
6700
|
[]
|
|
6685
6701
|
);
|
|
@@ -6724,7 +6740,7 @@ function Chat2({
|
|
|
6724
6740
|
return;
|
|
6725
6741
|
}
|
|
6726
6742
|
case "data-send-screenshot": {
|
|
6727
|
-
dataPart.data.urls.
|
|
6743
|
+
dataPart.data.urls.forEach((obj) => {
|
|
6728
6744
|
const [[key, value]] = Object.entries(obj);
|
|
6729
6745
|
const breakpoint = Number(key);
|
|
6730
6746
|
uploadScreenshot(breakpoint, value);
|
|
@@ -6736,7 +6752,7 @@ function Chat2({
|
|
|
6736
6752
|
return;
|
|
6737
6753
|
}
|
|
6738
6754
|
},
|
|
6739
|
-
[getPuck]
|
|
6755
|
+
[getPuck, puckDispatch, uploadScreenshot]
|
|
6740
6756
|
);
|
|
6741
6757
|
const { messages, status, sendMessage, regenerate, setMessages } = useChat({
|
|
6742
6758
|
generateId: () => prefixedUlid("msg"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@puckeditor/plugin-ai",
|
|
3
|
-
"version": "0.6.1-canary.
|
|
3
|
+
"version": "0.6.1-canary.77f4975d",
|
|
4
4
|
"author": "Chris Villa <chris@puckeditor.com>",
|
|
5
5
|
"repository": "puckeditor/puck",
|
|
6
6
|
"bugs": "https://github.com/puckeditor/puck/issues",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@ai-sdk/react": "^3.0.63",
|
|
40
40
|
"@puckeditor/ai-types": "workspace:*",
|
|
41
|
-
"@puckeditor/core": "0.21.
|
|
41
|
+
"@puckeditor/core": "0.21.3-canary.7afaa9d6",
|
|
42
42
|
"@puckeditor/platform-types": "workspace:*",
|
|
43
43
|
"@types/jest": "^30.0.0",
|
|
44
44
|
"@types/node": "^24.3.0",
|