@crediblemark/build 0.24.9 → 0.25.1
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/README.md +88 -152
- package/dist/{ArrayField-ABD3HGQK.css → ArrayField-HGGIE5AL.css} +73 -72
- package/dist/ArrayField-N36WXYIG.mjs +19 -0
- package/dist/{Editor-3EPLDK4J.mjs → Editor-CD7CMRO5.mjs} +7 -7
- package/dist/{ObjectField-RGVFMP6O.css → ObjectField-NKMT3CLS.css} +73 -72
- package/dist/ObjectField-RMXFC6TI.mjs +19 -0
- package/dist/{actions-CEH_5LMY.d.mts → actions-LaZpJ1KE.d.mts} +6 -1
- package/dist/{actions-CEH_5LMY.d.ts → actions-LaZpJ1KE.d.ts} +6 -1
- package/dist/{chunk-NV5F47RH.mjs → chunk-3S3KWE2J.mjs} +7 -7
- package/dist/{chunk-VE6BIQKS.mjs → chunk-BC5TH63U.mjs} +1 -1
- package/dist/{chunk-XLNVCM4Q.mjs → chunk-BPBYJDIJ.mjs} +129 -135
- package/dist/{chunk-5JSNFZKX.mjs → chunk-JKWSSGAY.mjs} +7 -7
- package/dist/{chunk-MFTVX2ME.mjs → chunk-MLM27DOG.mjs} +1 -1
- package/dist/{chunk-VZMLLRBL.mjs → chunk-NJZPPQVT.mjs} +4 -4
- package/dist/{chunk-KUWVOWUV.mjs → chunk-NSDGBGNG.mjs} +1 -1
- package/dist/{chunk-SJLXKGIW.mjs → chunk-OUXISRNA.mjs} +13 -13
- package/dist/{chunk-XQ5K5BWA.mjs → chunk-PQXVFRLA.mjs} +9 -9
- package/dist/{chunk-WH3A7FAR.mjs → chunk-UPNU77XM.mjs} +1 -1
- package/dist/{chunk-YE4FXNJW.mjs → chunk-WEPD3OBO.mjs} +2 -2
- package/dist/{full-SYDEKGLJ.mjs → full-HTQAR5N2.mjs} +5 -5
- package/dist/{index-CkSfgrvw.d.ts → index-Bj2x5pZ7.d.ts} +1 -1
- package/dist/{index-Cxwg4vUV.d.mts → index-CD3PszvP.d.mts} +1 -1
- package/dist/index.css +73 -72
- package/dist/index.d.mts +5 -10
- package/dist/index.d.ts +5 -10
- package/dist/index.js +206 -220
- package/dist/index.mjs +11 -11
- package/dist/internal.d.mts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/{loaded-NHGZU7V3.mjs → loaded-AHSNCA4P.mjs} +2 -2
- package/dist/{loaded-5JH76RZT.mjs → loaded-CDAPR2WZ.mjs} +2 -2
- package/dist/{loaded-ON5OAY2P.mjs → loaded-Q7N3MNZB.mjs} +2 -2
- package/dist/no-external.css +73 -72
- package/dist/no-external.d.mts +3 -3
- package/dist/no-external.d.ts +3 -3
- package/dist/no-external.js +206 -220
- package/dist/no-external.mjs +11 -11
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/{walk-tree-B4ZvMfxS.d.ts → walk-tree-BEw6kTXm.d.ts} +1 -1
- package/dist/{walk-tree-C78ZVz19.d.mts → walk-tree-BO8uRNcW.d.mts} +1 -1
- package/package.json +1 -1
- package/dist/ArrayField-OPQ2CJX7.mjs +0 -19
- package/dist/ObjectField-ITKHRUX2.mjs +0 -19
package/dist/index.css
CHANGED
|
@@ -477,44 +477,45 @@
|
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
/* css-module:/home/crediblemark/Project/Credibuild/components/AutoField/styles.module.css/#css-module-data */
|
|
480
|
-
.
|
|
480
|
+
._InputWrapper_rcfsp_1:not(._InputWrapper--object_rcfsp_1):not(._InputWrapper--array_rcfsp_1) {
|
|
481
481
|
border: 1px solid var(--credbuild-color-grey-10);
|
|
482
482
|
border-radius: 5px;
|
|
483
|
-
padding:
|
|
483
|
+
padding: 4px 8px;
|
|
484
484
|
background-color: var(--credbuild-color-white);
|
|
485
485
|
transition: all 0.2s ease;
|
|
486
486
|
}
|
|
487
|
-
.
|
|
487
|
+
._InputWrapper_rcfsp_1 + ._InputWrapper_rcfsp_1 {
|
|
488
488
|
margin-top: 2px;
|
|
489
489
|
}
|
|
490
|
-
.
|
|
490
|
+
._InputWrapper_rcfsp_1:not(._InputWrapper--object_rcfsp_1):not(._InputWrapper--array_rcfsp_1):hover {
|
|
491
491
|
border-color: var(--credbuild-color-grey-08);
|
|
492
492
|
background-color: var(--credbuild-color-grey-11);
|
|
493
493
|
}
|
|
494
|
-
._Input-
|
|
494
|
+
._Input-label_rcfsp_18 {
|
|
495
495
|
align-items: center;
|
|
496
|
-
color: var(--credbuild-color-grey-
|
|
496
|
+
color: var(--credbuild-color-grey-06);
|
|
497
497
|
display: flex;
|
|
498
498
|
padding-bottom: 2px;
|
|
499
|
-
font-size:
|
|
499
|
+
font-size: 9px;
|
|
500
500
|
font-weight: 500;
|
|
501
501
|
text-transform: uppercase;
|
|
502
|
-
letter-spacing: 0.
|
|
502
|
+
letter-spacing: 0.08em;
|
|
503
|
+
opacity: 0.7;
|
|
503
504
|
}
|
|
504
|
-
._Input-label--
|
|
505
|
+
._Input-label--noChildren_rcfsp_30 {
|
|
505
506
|
padding-bottom: 0;
|
|
506
507
|
}
|
|
507
|
-
._Input-
|
|
508
|
+
._Input-labelIcon_rcfsp_34 {
|
|
508
509
|
color: var(--credbuild-color-grey-07);
|
|
509
510
|
display: flex;
|
|
510
511
|
margin-inline-end: 4px;
|
|
511
512
|
padding-inline-start: 4px;
|
|
512
513
|
}
|
|
513
|
-
._Input-
|
|
514
|
+
._Input-disabledIcon_rcfsp_41 {
|
|
514
515
|
color: var(--credbuild-color-grey-05);
|
|
515
516
|
margin-inline-start: auto;
|
|
516
517
|
}
|
|
517
|
-
._Input-
|
|
518
|
+
._Input-input_rcfsp_46 {
|
|
518
519
|
background: transparent;
|
|
519
520
|
border: none;
|
|
520
521
|
border-radius: 0;
|
|
@@ -529,11 +530,11 @@
|
|
|
529
530
|
outline: none;
|
|
530
531
|
}
|
|
531
532
|
@media (min-width: 458px) {
|
|
532
|
-
._Input-
|
|
533
|
-
font-size:
|
|
533
|
+
._Input-input_rcfsp_46 {
|
|
534
|
+
font-size: 12px;
|
|
534
535
|
}
|
|
535
536
|
}
|
|
536
|
-
select._Input-
|
|
537
|
+
select._Input-input_rcfsp_46 {
|
|
537
538
|
appearance: none;
|
|
538
539
|
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
|
|
539
540
|
background-size: 12px;
|
|
@@ -542,29 +543,29 @@ select._Input-input_1xuyz_45 {
|
|
|
542
543
|
background-color: var(--credbuild-color-white);
|
|
543
544
|
cursor: pointer;
|
|
544
545
|
}
|
|
545
|
-
select._Input-
|
|
546
|
+
select._Input-input_rcfsp_46:dir(rtl) {
|
|
546
547
|
background-position: 12px calc(50% + 3px);
|
|
547
548
|
}
|
|
548
549
|
@media (hover: hover) and (pointer: fine) {
|
|
549
|
-
.
|
|
550
|
-
.
|
|
550
|
+
._Input_rcfsp_1:has(> input):hover ._Input-input_rcfsp_46:not([readonly]),
|
|
551
|
+
._Input_rcfsp_1:has(> textarea):hover ._Input-input_rcfsp_46:not([readonly]) {
|
|
551
552
|
border-color: var(--credbuild-color-grey-05);
|
|
552
553
|
transition: none;
|
|
553
554
|
}
|
|
554
|
-
.
|
|
555
|
+
._Input_rcfsp_1:has(> select):hover ._Input-input_rcfsp_46:not([disabled]) {
|
|
555
556
|
background-color: var(--credbuild-color-azure-12);
|
|
556
557
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%235a5a5a'><polygon points='0,0 100,0 50,50'/></svg>");
|
|
557
558
|
border-color: var(--credbuild-color-grey-05);
|
|
558
559
|
transition: none;
|
|
559
560
|
}
|
|
560
561
|
}
|
|
561
|
-
._Input-
|
|
562
|
+
._Input-input_rcfsp_46:focus {
|
|
562
563
|
border-color: var(--credbuild-color-grey-05);
|
|
563
564
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
564
565
|
transition: none;
|
|
565
566
|
}
|
|
566
|
-
._Input--
|
|
567
|
-
._Input--
|
|
567
|
+
._Input--readOnly_rcfsp_102 > ._Input-input_rcfsp_46,
|
|
568
|
+
._Input--readOnly_rcfsp_102 > select._Input-input_rcfsp_46 {
|
|
568
569
|
background-color: var(--credbuild-color-grey-11);
|
|
569
570
|
border-color: var(--credbuild-color-grey-09);
|
|
570
571
|
color: var(--credbuild-color-grey-04);
|
|
@@ -573,34 +574,34 @@ select._Input-input_1xuyz_45:dir(rtl) {
|
|
|
573
574
|
outline: 0;
|
|
574
575
|
transition: none;
|
|
575
576
|
}
|
|
576
|
-
._Input-
|
|
577
|
+
._Input-radioGroupItems_rcfsp_113 {
|
|
577
578
|
display: flex;
|
|
578
579
|
border: 1px solid var(--credbuild-color-grey-09);
|
|
579
580
|
border-radius: 4px;
|
|
580
581
|
flex-wrap: wrap;
|
|
581
582
|
}
|
|
582
|
-
._Input-
|
|
583
|
+
._Input-radio_rcfsp_113 {
|
|
583
584
|
border-inline-end: 1px solid var(--credbuild-color-grey-09);
|
|
584
585
|
flex-grow: 1;
|
|
585
586
|
}
|
|
586
|
-
._Input-
|
|
587
|
+
._Input-radio_rcfsp_113:first-of-type {
|
|
587
588
|
border-bottom-left-radius: 4px;
|
|
588
589
|
border-top-left-radius: 4px;
|
|
589
590
|
}
|
|
590
|
-
._Input-
|
|
591
|
+
._Input-radio_rcfsp_113:first-of-type ._Input-radioInner_rcfsp_130 {
|
|
591
592
|
border-bottom-left-radius: 3px;
|
|
592
593
|
border-top-left-radius: 3px;
|
|
593
594
|
}
|
|
594
|
-
._Input-
|
|
595
|
+
._Input-radio_rcfsp_113:last-of-type {
|
|
595
596
|
border-bottom-right-radius: 4px;
|
|
596
597
|
border-inline-end: 0;
|
|
597
598
|
border-top-right-radius: 4px;
|
|
598
599
|
}
|
|
599
|
-
._Input-
|
|
600
|
+
._Input-radio_rcfsp_113:last-of-type ._Input-radioInner_rcfsp_130 {
|
|
600
601
|
border-bottom-right-radius: 3px;
|
|
601
602
|
border-top-right-radius: 3px;
|
|
602
603
|
}
|
|
603
|
-
._Input-
|
|
604
|
+
._Input-radioInner_rcfsp_130 {
|
|
604
605
|
background-color: var(--credbuild-color-white);
|
|
605
606
|
color: var(--credbuild-color-grey-04);
|
|
606
607
|
cursor: pointer;
|
|
@@ -609,32 +610,32 @@ select._Input-input_1xuyz_45:dir(rtl) {
|
|
|
609
610
|
text-align: center;
|
|
610
611
|
transition: background-color 50ms ease-in;
|
|
611
612
|
}
|
|
612
|
-
._Input-
|
|
613
|
+
._Input-radio_rcfsp_113:has(:focus-visible) {
|
|
613
614
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
614
615
|
outline-offset: 2px;
|
|
615
616
|
position: relative;
|
|
616
617
|
}
|
|
617
618
|
@media (hover: hover) and (pointer: fine) {
|
|
618
|
-
._Input-
|
|
619
|
+
._Input-radioInner_rcfsp_130:hover {
|
|
619
620
|
background-color: var(--credbuild-color-azure-12);
|
|
620
621
|
transition: none;
|
|
621
622
|
}
|
|
622
623
|
}
|
|
623
|
-
._Input--
|
|
624
|
+
._Input--readOnly_rcfsp_102 ._Input-radioInner_rcfsp_130 {
|
|
624
625
|
background-color: var(--credbuild-color-white);
|
|
625
626
|
color: var(--credbuild-color-grey-04);
|
|
626
627
|
cursor: default;
|
|
627
628
|
}
|
|
628
|
-
._Input-
|
|
629
|
+
._Input-radio_rcfsp_113 ._Input-radioInput_rcfsp_175:checked ~ ._Input-radioInner_rcfsp_130 {
|
|
629
630
|
background-color: var(--credbuild-color-azure-11);
|
|
630
631
|
color: var(--credbuild-color-azure-04);
|
|
631
632
|
font-weight: 500;
|
|
632
633
|
}
|
|
633
|
-
._Input--
|
|
634
|
+
._Input--readOnly_rcfsp_102 ._Input-radioInput_rcfsp_175:checked ~ ._Input-radioInner_rcfsp_130 {
|
|
634
635
|
background-color: var(--credbuild-color-grey-11);
|
|
635
636
|
color: var(--credbuild-color-grey-04);
|
|
636
637
|
}
|
|
637
|
-
._Input-
|
|
638
|
+
._Input-radio_rcfsp_113 ._Input-radioInput_rcfsp_175 {
|
|
638
639
|
clip: rect(0 0 0 0);
|
|
639
640
|
clip-path: inset(100%);
|
|
640
641
|
height: 1px;
|
|
@@ -643,7 +644,7 @@ select._Input-input_1xuyz_45:dir(rtl) {
|
|
|
643
644
|
white-space: nowrap;
|
|
644
645
|
width: 1px;
|
|
645
646
|
}
|
|
646
|
-
textarea._Input-
|
|
647
|
+
textarea._Input-input_rcfsp_46 {
|
|
647
648
|
margin-bottom: -4px;
|
|
648
649
|
}
|
|
649
650
|
|
|
@@ -1408,18 +1409,18 @@ textarea._Input-input_1xuyz_45 {
|
|
|
1408
1409
|
}
|
|
1409
1410
|
|
|
1410
1411
|
/* css-module:/home/crediblemark/Project/Credibuild/components/AutoField/fields/ArrayField/styles.module.css/#css-module-data */
|
|
1411
|
-
.
|
|
1412
|
+
._ArrayField_rvhj3_5 {
|
|
1412
1413
|
display: flex;
|
|
1413
1414
|
flex-direction: column;
|
|
1414
1415
|
background: var(--credbuild-color-azure-11);
|
|
1415
1416
|
border: 1px solid var(--credbuild-color-grey-09);
|
|
1416
1417
|
border-radius: 4px;
|
|
1417
1418
|
}
|
|
1418
|
-
._ArrayField--
|
|
1419
|
+
._ArrayField--isDraggingFrom_rvhj3_13 {
|
|
1419
1420
|
background-color: var(--credbuild-color-azure-11);
|
|
1420
1421
|
overflow: hidden;
|
|
1421
1422
|
}
|
|
1422
|
-
._ArrayField-
|
|
1423
|
+
._ArrayField-addButton_rvhj3_18 {
|
|
1423
1424
|
background-color: var(--credbuild-color-white);
|
|
1424
1425
|
border: none;
|
|
1425
1426
|
border-radius: 3px;
|
|
@@ -1433,139 +1434,139 @@ textarea._Input-input_1xuyz_45 {
|
|
|
1433
1434
|
text-align: left;
|
|
1434
1435
|
transition: background-color 50ms ease-in;
|
|
1435
1436
|
}
|
|
1436
|
-
._ArrayField--
|
|
1437
|
+
._ArrayField--hasItems_rvhj3_33 > ._ArrayField-addButton_rvhj3_18 {
|
|
1437
1438
|
border-top: 1px solid var(--credbuild-color-grey-09);
|
|
1438
1439
|
border-top-left-radius: 0;
|
|
1439
1440
|
border-top-right-radius: 0;
|
|
1440
1441
|
}
|
|
1441
|
-
._ArrayField-
|
|
1442
|
+
._ArrayField-addButton_rvhj3_18:focus-visible {
|
|
1442
1443
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
1443
1444
|
outline-offset: 2px;
|
|
1444
1445
|
position: relative;
|
|
1445
1446
|
}
|
|
1446
1447
|
@media (hover: hover) and (pointer: fine) {
|
|
1447
|
-
.
|
|
1448
|
+
._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:hover {
|
|
1448
1449
|
background: var(--credbuild-color-azure-12);
|
|
1449
1450
|
color: var(--credbuild-color-azure-04);
|
|
1450
1451
|
transition: none;
|
|
1451
1452
|
}
|
|
1452
1453
|
}
|
|
1453
|
-
.
|
|
1454
|
+
._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:active {
|
|
1454
1455
|
background: var(--credbuild-color-azure-11);
|
|
1455
1456
|
color: var(--credbuild-color-azure-04);
|
|
1456
1457
|
transition: none;
|
|
1457
1458
|
}
|
|
1458
|
-
._ArrayField-
|
|
1459
|
+
._ArrayField-inner_rvhj3_59 {
|
|
1459
1460
|
margin-top: -1px;
|
|
1460
1461
|
}
|
|
1461
|
-
.
|
|
1462
|
+
._ArrayFieldItem_rvhj3_67 {
|
|
1462
1463
|
border-top-left-radius: 3px;
|
|
1463
1464
|
border-top-right-radius: 3px;
|
|
1464
1465
|
display: block;
|
|
1465
1466
|
position: relative;
|
|
1466
1467
|
}
|
|
1467
|
-
.
|
|
1468
|
+
._ArrayFieldItem_rvhj3_67 {
|
|
1468
1469
|
border-top: 1px solid var(--credbuild-color-grey-09);
|
|
1469
1470
|
}
|
|
1470
|
-
._ArrayFieldItem--
|
|
1471
|
+
._ArrayFieldItem--isDragging_rvhj3_78 {
|
|
1471
1472
|
border-top: transparent;
|
|
1472
1473
|
}
|
|
1473
|
-
._ArrayFieldItem--
|
|
1474
|
+
._ArrayFieldItem--isExpanded_rvhj3_82::before {
|
|
1474
1475
|
display: none;
|
|
1475
1476
|
}
|
|
1476
|
-
._ArrayFieldItem--
|
|
1477
|
+
._ArrayFieldItem--isExpanded_rvhj3_82 {
|
|
1477
1478
|
border-bottom: 0;
|
|
1478
1479
|
outline-offset: 0px !important;
|
|
1479
1480
|
outline: 1px solid var(--credbuild-color-azure-07) !important;
|
|
1480
1481
|
z-index: 2;
|
|
1481
1482
|
}
|
|
1482
|
-
._ArrayFieldItem--
|
|
1483
|
+
._ArrayFieldItem--isDragging_rvhj3_78 {
|
|
1483
1484
|
outline: 2px var(--credbuild-color-azure-09) solid !important;
|
|
1484
1485
|
}
|
|
1485
|
-
._ArrayFieldItem--
|
|
1486
|
+
._ArrayFieldItem--isDragging_rvhj3_78 ._ArrayFieldItem-summary_rvhj3_97:active {
|
|
1486
1487
|
background-color: var(--credbuild-color-white);
|
|
1487
1488
|
}
|
|
1488
|
-
.
|
|
1489
|
+
._ArrayFieldItem_rvhj3_67 + ._ArrayFieldItem_rvhj3_67 {
|
|
1489
1490
|
border-top-left-radius: 0;
|
|
1490
1491
|
border-top-right-radius: 0;
|
|
1491
1492
|
}
|
|
1492
|
-
._ArrayFieldItem-
|
|
1493
|
+
._ArrayFieldItem-summary_rvhj3_97 {
|
|
1493
1494
|
background: var(--credbuild-color-white);
|
|
1494
1495
|
color: var(--credbuild-color-grey-04);
|
|
1495
1496
|
cursor: pointer;
|
|
1496
1497
|
display: flex;
|
|
1497
1498
|
align-items: center;
|
|
1498
|
-
gap:
|
|
1499
|
+
gap: 4px;
|
|
1499
1500
|
justify-content: space-between;
|
|
1500
|
-
font-size:
|
|
1501
|
+
font-size: 11px;
|
|
1501
1502
|
list-style: none;
|
|
1502
|
-
padding:
|
|
1503
|
+
padding: 4px 10px;
|
|
1503
1504
|
position: relative;
|
|
1504
1505
|
overflow: hidden;
|
|
1505
1506
|
transition: background-color 50ms ease-in;
|
|
1506
1507
|
}
|
|
1507
|
-
._ArrayFieldItem--
|
|
1508
|
+
._ArrayFieldItem--noFields_rvhj3_122 > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1508
1509
|
cursor: grab;
|
|
1509
1510
|
}
|
|
1510
|
-
.
|
|
1511
|
+
._ArrayFieldItem_rvhj3_67:first-of-type > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1511
1512
|
border-top-left-radius: 3px;
|
|
1512
1513
|
border-top-right-radius: 3px;
|
|
1513
1514
|
}
|
|
1514
|
-
._ArrayField--
|
|
1515
|
+
._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem_rvhj3_67:last-of-type:not(._ArrayFieldItem--isExpanded_rvhj3_82) > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1515
1516
|
border-bottom-left-radius: 3px;
|
|
1516
1517
|
border-bottom-right-radius: 3px;
|
|
1517
1518
|
}
|
|
1518
|
-
._ArrayField--
|
|
1519
|
+
._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem--isExpanded_rvhj3_82:last-of-type {
|
|
1519
1520
|
border-bottom-left-radius: 3px;
|
|
1520
1521
|
border-bottom-right-radius: 3px;
|
|
1521
1522
|
}
|
|
1522
|
-
._ArrayFieldItem-
|
|
1523
|
+
._ArrayFieldItem-summary_rvhj3_97:focus-visible {
|
|
1523
1524
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
1524
1525
|
outline-offset: 2px;
|
|
1525
1526
|
}
|
|
1526
1527
|
@media (hover: hover) and (pointer: fine) {
|
|
1527
|
-
._ArrayFieldItem-
|
|
1528
|
+
._ArrayFieldItem-summary_rvhj3_97:hover {
|
|
1528
1529
|
background-color: var(--credbuild-color-azure-12);
|
|
1529
1530
|
transition: none;
|
|
1530
1531
|
}
|
|
1531
1532
|
}
|
|
1532
|
-
._ArrayFieldItem-
|
|
1533
|
+
._ArrayFieldItem-summary_rvhj3_97:active {
|
|
1533
1534
|
background-color: var(--credbuild-color-azure-11);
|
|
1534
1535
|
transition: none;
|
|
1535
1536
|
}
|
|
1536
|
-
._ArrayFieldItem--
|
|
1537
|
+
._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1537
1538
|
background: var(--credbuild-color-azure-11);
|
|
1538
1539
|
color: var(--credbuild-color-azure-04);
|
|
1539
1540
|
font-weight: 600;
|
|
1540
1541
|
transition: none;
|
|
1541
1542
|
}
|
|
1542
|
-
._ArrayFieldItem-
|
|
1543
|
+
._ArrayFieldItem-body_rvhj3_170 {
|
|
1543
1544
|
background: var(--credbuild-color-white);
|
|
1544
1545
|
display: none;
|
|
1545
1546
|
}
|
|
1546
|
-
._ArrayFieldItem--
|
|
1547
|
+
._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-body_rvhj3_170 {
|
|
1547
1548
|
display: block;
|
|
1548
1549
|
}
|
|
1549
|
-
._ArrayFieldItem-
|
|
1550
|
+
._ArrayFieldItem-fieldset_rvhj3_179 {
|
|
1550
1551
|
border: none;
|
|
1551
1552
|
border-top: 1px solid var(--credbuild-color-grey-09);
|
|
1552
1553
|
margin: 0;
|
|
1553
1554
|
min-width: 0;
|
|
1554
|
-
padding:
|
|
1555
|
+
padding: 6px 10px;
|
|
1555
1556
|
}
|
|
1556
|
-
._ArrayFieldItem-
|
|
1557
|
+
._ArrayFieldItem-rhs_rvhj3_187 {
|
|
1557
1558
|
display: flex;
|
|
1558
1559
|
gap: 4px;
|
|
1559
1560
|
align-items: center;
|
|
1560
1561
|
}
|
|
1561
|
-
._ArrayFieldItem-
|
|
1562
|
+
._ArrayFieldItem-actions_rvhj3_193 {
|
|
1562
1563
|
color: var(--credbuild-color-grey-04);
|
|
1563
1564
|
display: flex;
|
|
1564
1565
|
gap: 4px;
|
|
1565
1566
|
opacity: 0;
|
|
1566
1567
|
}
|
|
1567
|
-
._ArrayFieldItem-
|
|
1568
|
-
._ArrayFieldItem-
|
|
1568
|
+
._ArrayFieldItem-summary_rvhj3_97:focus-within > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193,
|
|
1569
|
+
._ArrayFieldItem-summary_rvhj3_97:hover > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193 {
|
|
1569
1570
|
opacity: 1;
|
|
1570
1571
|
}
|
|
1571
1572
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as Field, q as FieldProps, r as DropZoneProps, a as Config, U as UserGenerics, D as Data, l as UiState, O as OnAction, g as Permissions, j as Plugin, k as Overrides, n as FieldTransforms, C as CredBuildAction, V as Viewports, I as IframeConfig,
|
|
2
|
-
export {
|
|
3
|
-
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-
|
|
1
|
+
import { p as Field, q as FieldProps, r as ResponsiveValue, s as DropZoneProps, a as Config, U as UserGenerics, D as Data, l as UiState, O as OnAction, g as Permissions, j as Plugin, k as Overrides, n as FieldTransforms, C as CredBuildAction, V as Viewports, I as IframeConfig, t as InitialHistory, M as Metadata, i as ResolveDataTrigger, u as ItemSelector, c as ComponentData, v as PluginInternal } from './actions-LaZpJ1KE.mjs';
|
|
2
|
+
export { w as Adaptor, A as AppState, x as ArrayField, y as ArrayState, z as AsFieldProps, B as BaseData, E as BaseField, G as CacheOpts, m as ComponentConfig, J as ComponentConfigExtensions, K as ComponentConfigParams, L as ComponentDataMap, N as ComponentDataOptionalId, Q as ComponentMetadata, S as ConfigParams, b as Content, T as CredBuildComponent, X as CredBuildContext, Y as CredBuildMetadata, Z as CustomField, _ as CustomFieldRender, e as DefaultComponentProps, d as DefaultComponents, f as DefaultRootFieldProps, $ as DefaultRootProps, a0 as DefaultRootRenderProps, a1 as Direction, a2 as DragAxis, a3 as ExternalField, a4 as ExternalFieldWithAdaptor, a5 as ExtractConfigParams, a6 as ExtractField, a7 as FieldMetadata, a8 as FieldRenderFunctions, a9 as FieldTransformFn, aa as FieldTransformFnParams, F as Fields, H as History, ab as ItemWithId, ac as MappedItem, ad as NumberField, ae as ObjectField, af as OverrideKey, ag as RadioField, ah as RichText, o as RichtextField, ai as RootConfig, R as RootData, h as RootDataWithProps, aj as RootDataWithoutProps, ak as SelectField, al as Slot, am as SlotComponent, an as SlotField, ao as TextField, ap as TextareaField, aq as Viewport, ar as WithChildren, as as WithCredBuildProps, W as WithId, at as WithSlotProps, au as overrideKeys } from './actions-LaZpJ1KE.mjs';
|
|
3
|
+
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-BO8uRNcW.mjs';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
|
|
7
|
-
import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-
|
|
7
|
+
import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-CD3PszvP.mjs';
|
|
8
8
|
import '@tiptap/react';
|
|
9
9
|
import '@tiptap/extension-blockquote';
|
|
10
10
|
import '@tiptap/extension-bold';
|
|
@@ -84,11 +84,6 @@ type SliderFieldProps = {
|
|
|
84
84
|
};
|
|
85
85
|
declare const SliderField: ({ value, onChange, min, max, step, unit, defaultValue, useUnits }: SliderFieldProps) => react_jsx_runtime.JSX.Element;
|
|
86
86
|
|
|
87
|
-
type ResponsiveValue = {
|
|
88
|
-
desktop?: number | string;
|
|
89
|
-
tablet?: number | string;
|
|
90
|
-
mobile?: number | string;
|
|
91
|
-
};
|
|
92
87
|
type ResponsiveSliderFieldProps = {
|
|
93
88
|
value: ResponsiveValue;
|
|
94
89
|
onChange: (value: ResponsiveValue) => void;
|
|
@@ -340,4 +335,4 @@ declare const outlinePlugin: () => Plugin;
|
|
|
340
335
|
|
|
341
336
|
declare const legacySideBarPlugin: () => Plugin;
|
|
342
337
|
|
|
343
|
-
export { Action, ActionBar, AutoField, Button, ColorPickerField, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, ResponsiveSliderField, RichTextMenu, Separator, SliderField, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild };
|
|
338
|
+
export { Action, ActionBar, AutoField, Button, ColorPickerField, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, ResponsiveSliderField, ResponsiveValue, RichTextMenu, Separator, SliderField, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as Field, q as FieldProps, r as DropZoneProps, a as Config, U as UserGenerics, D as Data, l as UiState, O as OnAction, g as Permissions, j as Plugin, k as Overrides, n as FieldTransforms, C as CredBuildAction, V as Viewports, I as IframeConfig,
|
|
2
|
-
export {
|
|
3
|
-
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-
|
|
1
|
+
import { p as Field, q as FieldProps, r as ResponsiveValue, s as DropZoneProps, a as Config, U as UserGenerics, D as Data, l as UiState, O as OnAction, g as Permissions, j as Plugin, k as Overrides, n as FieldTransforms, C as CredBuildAction, V as Viewports, I as IframeConfig, t as InitialHistory, M as Metadata, i as ResolveDataTrigger, u as ItemSelector, c as ComponentData, v as PluginInternal } from './actions-LaZpJ1KE.js';
|
|
2
|
+
export { w as Adaptor, A as AppState, x as ArrayField, y as ArrayState, z as AsFieldProps, B as BaseData, E as BaseField, G as CacheOpts, m as ComponentConfig, J as ComponentConfigExtensions, K as ComponentConfigParams, L as ComponentDataMap, N as ComponentDataOptionalId, Q as ComponentMetadata, S as ConfigParams, b as Content, T as CredBuildComponent, X as CredBuildContext, Y as CredBuildMetadata, Z as CustomField, _ as CustomFieldRender, e as DefaultComponentProps, d as DefaultComponents, f as DefaultRootFieldProps, $ as DefaultRootProps, a0 as DefaultRootRenderProps, a1 as Direction, a2 as DragAxis, a3 as ExternalField, a4 as ExternalFieldWithAdaptor, a5 as ExtractConfigParams, a6 as ExtractField, a7 as FieldMetadata, a8 as FieldRenderFunctions, a9 as FieldTransformFn, aa as FieldTransformFnParams, F as Fields, H as History, ab as ItemWithId, ac as MappedItem, ad as NumberField, ae as ObjectField, af as OverrideKey, ag as RadioField, ah as RichText, o as RichtextField, ai as RootConfig, R as RootData, h as RootDataWithProps, aj as RootDataWithoutProps, ak as SelectField, al as Slot, am as SlotComponent, an as SlotField, ao as TextField, ap as TextareaField, aq as Viewport, ar as WithChildren, as as WithCredBuildProps, W as WithId, at as WithSlotProps, au as overrideKeys } from './actions-LaZpJ1KE.js';
|
|
3
|
+
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-BEw6kTXm.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
|
|
7
|
-
import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-
|
|
7
|
+
import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-Bj2x5pZ7.js';
|
|
8
8
|
import '@tiptap/react';
|
|
9
9
|
import '@tiptap/extension-blockquote';
|
|
10
10
|
import '@tiptap/extension-bold';
|
|
@@ -84,11 +84,6 @@ type SliderFieldProps = {
|
|
|
84
84
|
};
|
|
85
85
|
declare const SliderField: ({ value, onChange, min, max, step, unit, defaultValue, useUnits }: SliderFieldProps) => react_jsx_runtime.JSX.Element;
|
|
86
86
|
|
|
87
|
-
type ResponsiveValue = {
|
|
88
|
-
desktop?: number | string;
|
|
89
|
-
tablet?: number | string;
|
|
90
|
-
mobile?: number | string;
|
|
91
|
-
};
|
|
92
87
|
type ResponsiveSliderFieldProps = {
|
|
93
88
|
value: ResponsiveValue;
|
|
94
89
|
onChange: (value: ResponsiveValue) => void;
|
|
@@ -340,4 +335,4 @@ declare const outlinePlugin: () => Plugin;
|
|
|
340
335
|
|
|
341
336
|
declare const legacySideBarPlugin: () => Plugin;
|
|
342
337
|
|
|
343
|
-
export { Action, ActionBar, AutoField, Button, ColorPickerField, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, ResponsiveSliderField, RichTextMenu, Separator, SliderField, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild };
|
|
338
|
+
export { Action, ActionBar, AutoField, Button, ColorPickerField, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, ResponsiveSliderField, ResponsiveValue, RichTextMenu, Separator, SliderField, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild };
|