@crediblemark/build 0.25.2 → 0.25.4
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/ArrayField-HI4LZRUN.mjs +19 -0
- package/dist/{ArrayField-HGGIE5AL.css → ArrayField-JRN7ZFM7.css} +15 -15
- package/dist/{Editor-E7FALXHL.css → Editor-CVT4RKSU.css} +7 -7
- package/dist/{Editor-GGSPWIO6.mjs → Editor-IPG4RO2L.mjs} +8 -8
- package/dist/ObjectField-CHMT4KPZ.mjs +19 -0
- package/dist/{ObjectField-NKMT3CLS.css → ObjectField-JYRSRCWB.css} +15 -15
- package/dist/{Render-JDXVKZXN.css → Render-DOE2LXKX.css} +1 -1
- package/dist/{Render-WP5OOTBB.mjs → Render-I6PZ5MEA.mjs} +4 -2
- package/dist/{chunk-DVK7K7D6.mjs → chunk-2RLA42JA.mjs} +4 -3
- package/dist/{chunk-KRFBBRUA.mjs → chunk-3Q7JODIK.mjs} +16 -15
- package/dist/{chunk-J66BZ4WH.mjs → chunk-F2M5GHDX.mjs} +1 -1
- package/dist/{chunk-BVZDBEP4.mjs → chunk-FQKSRGRK.mjs} +89 -72
- package/dist/{chunk-AL77I3BV.mjs → chunk-ISXFLTBM.mjs} +1 -1
- package/dist/{chunk-IJPF46QY.mjs → chunk-MZIV4ZKR.mjs} +2 -2
- package/dist/{chunk-3R4HYYSJ.mjs → chunk-NYBTD3FJ.mjs} +2 -2
- package/dist/{chunk-GY4BXVOH.mjs → chunk-NYIULQV4.mjs} +31 -15
- package/dist/{chunk-4Z54QJVQ.mjs → chunk-PWRZZUWM.mjs} +1 -1
- package/dist/{chunk-4CV4HOSK.mjs → chunk-QMMMJ4RO.mjs} +7 -5
- package/dist/{chunk-YDODUFKC.mjs → chunk-RBWVOMMW.mjs} +6 -4
- package/dist/{chunk-A7MU7FEU.mjs → chunk-UNMCNIJ3.mjs} +1 -1
- package/dist/{chunk-DWF5T7E3.mjs → chunk-W57TTDB2.mjs} +1 -1
- package/dist/{full-KPGLJZI5.mjs → full-A2JX3OI2.mjs} +5 -5
- package/dist/{full-MY4DABK6.css → full-C7RVGAUA.css} +6 -6
- package/dist/index.css +37 -37
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +168 -128
- package/dist/index.mjs +13 -13
- package/dist/{loaded-HEYQUU36.mjs → loaded-2FUW3WCF.mjs} +2 -2
- package/dist/{loaded-E7C36OKZ.css → loaded-4FAPBCAU.css} +1 -1
- package/dist/{loaded-RXPNBJYA.mjs → loaded-6L45JULO.mjs} +2 -2
- package/dist/{loaded-5QLBLQ3N.mjs → loaded-Y7SRBM7R.mjs} +2 -2
- package/dist/no-external.css +37 -37
- package/dist/no-external.js +168 -128
- package/dist/no-external.mjs +13 -13
- package/dist/rsc.css +1 -1
- package/dist/rsc.js +10 -7
- package/dist/rsc.mjs +2 -2
- package/package.json +2 -1
- package/dist/ArrayField-JZ2XQAUS.mjs +0 -19
- package/dist/ObjectField-ZUGNSCNN.mjs +0 -19
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ArrayField
|
|
3
|
+
} from "./chunk-QMMMJ4RO.mjs";
|
|
4
|
+
import "./chunk-NYIULQV4.mjs";
|
|
5
|
+
import "./chunk-MZIV4ZKR.mjs";
|
|
6
|
+
import "./chunk-ISXFLTBM.mjs";
|
|
7
|
+
import "./chunk-3Q7JODIK.mjs";
|
|
8
|
+
import "./chunk-W57TTDB2.mjs";
|
|
9
|
+
import "./chunk-UNMCNIJ3.mjs";
|
|
10
|
+
import "./chunk-PWRZZUWM.mjs";
|
|
11
|
+
import "./chunk-F2M5GHDX.mjs";
|
|
12
|
+
import "./chunk-64A37UUC.mjs";
|
|
13
|
+
import "./chunk-SMAWAXVX.mjs";
|
|
14
|
+
import "./chunk-BFHV72KK.mjs";
|
|
15
|
+
import "./chunk-7LXZOPYT.mjs";
|
|
16
|
+
import "./chunk-AFVEAZTD.mjs";
|
|
17
|
+
export {
|
|
18
|
+
ArrayField
|
|
19
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* css-module:/home/
|
|
1
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/AutoField/fields/ArrayField/styles.module.css/#css-module-data */
|
|
2
2
|
._ArrayField_rvhj3_5 {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
opacity: 1;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
/* css-module:/home/
|
|
163
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/IconButton/IconButton.module.css/#css-module-data */
|
|
164
164
|
._IconButton_1a0fz_1 {
|
|
165
165
|
align-items: center;
|
|
166
166
|
background: transparent;
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
color: var(--credbuild-color-grey-07);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
/* css-module:/home/
|
|
208
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Loader/styles.module.css/#css-module-data */
|
|
209
209
|
@keyframes _loader-animation_nacdm_1 {
|
|
210
210
|
0% {
|
|
211
211
|
transform: rotate(0deg) scale(1);
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
animation-fill-mode: both;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
/* css-module:/home/
|
|
230
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/DragIcon/styles.module.css/#css-module-data */
|
|
231
231
|
._DragIcon_ei1r9_1 {
|
|
232
232
|
color: var(--credbuild-color-grey-05);
|
|
233
233
|
cursor: grab;
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
transition: none !important;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
/* css-module:/home/
|
|
260
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/AutoField/styles.module.css/#css-module-data */
|
|
261
261
|
._InputWrapper_rcfsp_1:not(._InputWrapper--object_rcfsp_1):not(._InputWrapper--array_rcfsp_1) {
|
|
262
262
|
border: 1px solid var(--credbuild-color-grey-10);
|
|
263
263
|
border-radius: 5px;
|
|
@@ -429,7 +429,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
429
429
|
margin-bottom: -4px;
|
|
430
430
|
}
|
|
431
431
|
|
|
432
|
-
/* css-module:/home/
|
|
432
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/ExternalInput/styles.module.css/#css-module-data */
|
|
433
433
|
._ExternalInput-actions_1gpb4_1 {
|
|
434
434
|
display: flex;
|
|
435
435
|
}
|
|
@@ -721,7 +721,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
721
721
|
display: block;
|
|
722
722
|
}
|
|
723
723
|
|
|
724
|
-
/* css-module:/home/
|
|
724
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Modal/styles.module.css/#css-module-data */
|
|
725
725
|
._Modal_b422s_1 {
|
|
726
726
|
background: color-mix(in srgb, var(--credbuild-color-black) 75%, transparent);
|
|
727
727
|
display: none;
|
|
@@ -749,7 +749,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
749
749
|
max-height: 90dvh;
|
|
750
750
|
}
|
|
751
751
|
|
|
752
|
-
/* css-module:/home/
|
|
752
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Heading/styles.module.css/#css-module-data */
|
|
753
753
|
._Heading_1tpsl_1 {
|
|
754
754
|
display: block;
|
|
755
755
|
color: var(--credbuild-color-black);
|
|
@@ -786,7 +786,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
786
786
|
font-size: var(--credbuild-font-size-xs);
|
|
787
787
|
}
|
|
788
788
|
|
|
789
|
-
/* css-module:/home/
|
|
789
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Button/Button.module.css/#css-module-data */
|
|
790
790
|
._Button_164uz_1 {
|
|
791
791
|
appearance: none;
|
|
792
792
|
background: none;
|
|
@@ -879,7 +879,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
879
879
|
padding-inline-start: 8px;
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
-
/* css-module:/home/
|
|
882
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/styles.module.css/#css-module-data */
|
|
883
883
|
._RichTextMenu_193iw_1 {
|
|
884
884
|
display: flex;
|
|
885
885
|
flex-direction: row;
|
|
@@ -921,7 +921,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
921
921
|
border-left: 0.5px solid var(--credbuild-color-grey-05);
|
|
922
922
|
}
|
|
923
923
|
|
|
924
|
-
/* css-module:/home/
|
|
924
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/ActionBar/styles.module.css/#css-module-data */
|
|
925
925
|
._ActionBar_ze0ci_1 {
|
|
926
926
|
align-items: center;
|
|
927
927
|
cursor: default;
|
|
@@ -1016,7 +1016,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
1016
1016
|
height: 100%;
|
|
1017
1017
|
}
|
|
1018
1018
|
|
|
1019
|
-
/* css-module:/home/
|
|
1019
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
|
|
1020
1020
|
._Control_1aveu_1 .lucide {
|
|
1021
1021
|
height: 18px;
|
|
1022
1022
|
width: 18px;
|
|
@@ -1026,7 +1026,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
1026
1026
|
width: 16px;
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
|
-
/* css-module:/home/
|
|
1029
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Select/styles.module.css/#css-module-data */
|
|
1030
1030
|
._Select_16son_1 {
|
|
1031
1031
|
position: relative;
|
|
1032
1032
|
z-index: 1;
|
|
@@ -1114,7 +1114,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
1114
1114
|
color: var(--credbuild-color-azure-04);
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
1117
|
-
/* css-module:/home/
|
|
1117
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextEditor/styles.module.css/#css-module-data */
|
|
1118
1118
|
._RichTextEditor_hp4qf_1 .ProseMirror {
|
|
1119
1119
|
white-space: pre-wrap;
|
|
1120
1120
|
word-wrap: break-word;
|
|
@@ -1217,7 +1217,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
1217
1217
|
border-bottom: 1px solid var(--credbuild-color-grey-09);
|
|
1218
1218
|
}
|
|
1219
1219
|
|
|
1220
|
-
/* css-module:/home/
|
|
1220
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/AutoField/fields/ObjectField/styles.module.css/#css-module-data */
|
|
1221
1221
|
._ObjectField_7axeg_1 {
|
|
1222
1222
|
display: flex;
|
|
1223
1223
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* css-module:/home/
|
|
1
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/styles.module.css/#css-module-data */
|
|
2
2
|
._RichTextMenu_193iw_1 {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: row;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
border-left: 0.5px solid var(--credbuild-color-grey-05);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
/* css-module:/home/
|
|
43
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/IconButton/IconButton.module.css/#css-module-data */
|
|
44
44
|
._IconButton_1a0fz_1 {
|
|
45
45
|
align-items: center;
|
|
46
46
|
background: transparent;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
color: var(--credbuild-color-grey-07);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
/* css-module:/home/
|
|
88
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Loader/styles.module.css/#css-module-data */
|
|
89
89
|
@keyframes _loader-animation_nacdm_1 {
|
|
90
90
|
0% {
|
|
91
91
|
transform: rotate(0deg) scale(1);
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
animation-fill-mode: both;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
/* css-module:/home/
|
|
110
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/ActionBar/styles.module.css/#css-module-data */
|
|
111
111
|
._ActionBar_ze0ci_1 {
|
|
112
112
|
align-items: center;
|
|
113
113
|
cursor: default;
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
height: 100%;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
/* css-module:/home/
|
|
205
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
|
|
206
206
|
._Control_1aveu_1 .lucide {
|
|
207
207
|
height: 18px;
|
|
208
208
|
width: 18px;
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
width: 16px;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
/* css-module:/home/
|
|
215
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Select/styles.module.css/#css-module-data */
|
|
216
216
|
._Select_16son_1 {
|
|
217
217
|
position: relative;
|
|
218
218
|
z-index: 1;
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
color: var(--credbuild-color-azure-04);
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
/* css-module:/home/
|
|
303
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextEditor/styles.module.css/#css-module-data */
|
|
304
304
|
._RichTextEditor_hp4qf_1 .ProseMirror {
|
|
305
305
|
white-space: pre-wrap;
|
|
306
306
|
word-wrap: break-word;
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./chunk-DEUK76GN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
LoadedRichTextMenu
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NYBTD3FJ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
EditorInner
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-MZIV4ZKR.mjs";
|
|
10
|
+
import "./chunk-ISXFLTBM.mjs";
|
|
11
|
+
import "./chunk-3Q7JODIK.mjs";
|
|
12
|
+
import "./chunk-W57TTDB2.mjs";
|
|
13
|
+
import "./chunk-UNMCNIJ3.mjs";
|
|
14
|
+
import "./chunk-PWRZZUWM.mjs";
|
|
15
15
|
import {
|
|
16
16
|
useAppStore,
|
|
17
17
|
useAppStoreApi
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-F2M5GHDX.mjs";
|
|
19
19
|
import "./chunk-64A37UUC.mjs";
|
|
20
20
|
import "./chunk-SMAWAXVX.mjs";
|
|
21
21
|
import "./chunk-BFHV72KK.mjs";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ObjectField
|
|
3
|
+
} from "./chunk-RBWVOMMW.mjs";
|
|
4
|
+
import "./chunk-NYIULQV4.mjs";
|
|
5
|
+
import "./chunk-MZIV4ZKR.mjs";
|
|
6
|
+
import "./chunk-ISXFLTBM.mjs";
|
|
7
|
+
import "./chunk-3Q7JODIK.mjs";
|
|
8
|
+
import "./chunk-W57TTDB2.mjs";
|
|
9
|
+
import "./chunk-UNMCNIJ3.mjs";
|
|
10
|
+
import "./chunk-PWRZZUWM.mjs";
|
|
11
|
+
import "./chunk-F2M5GHDX.mjs";
|
|
12
|
+
import "./chunk-64A37UUC.mjs";
|
|
13
|
+
import "./chunk-SMAWAXVX.mjs";
|
|
14
|
+
import "./chunk-BFHV72KK.mjs";
|
|
15
|
+
import "./chunk-7LXZOPYT.mjs";
|
|
16
|
+
import "./chunk-AFVEAZTD.mjs";
|
|
17
|
+
export {
|
|
18
|
+
ObjectField
|
|
19
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* css-module:/home/
|
|
1
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/AutoField/fields/ObjectField/styles.module.css/#css-module-data */
|
|
2
2
|
._ObjectField_7axeg_1 {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
align-items: center;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
/* css-module:/home/
|
|
55
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/AutoField/styles.module.css/#css-module-data */
|
|
56
56
|
._InputWrapper_rcfsp_1:not(._InputWrapper--object_rcfsp_1):not(._InputWrapper--array_rcfsp_1) {
|
|
57
57
|
border: 1px solid var(--credbuild-color-grey-10);
|
|
58
58
|
border-radius: 5px;
|
|
@@ -224,7 +224,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
224
224
|
margin-bottom: -4px;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
/* css-module:/home/
|
|
227
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/ExternalInput/styles.module.css/#css-module-data */
|
|
228
228
|
._ExternalInput-actions_1gpb4_1 {
|
|
229
229
|
display: flex;
|
|
230
230
|
}
|
|
@@ -516,7 +516,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
516
516
|
display: block;
|
|
517
517
|
}
|
|
518
518
|
|
|
519
|
-
/* css-module:/home/
|
|
519
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Modal/styles.module.css/#css-module-data */
|
|
520
520
|
._Modal_b422s_1 {
|
|
521
521
|
background: color-mix(in srgb, var(--credbuild-color-black) 75%, transparent);
|
|
522
522
|
display: none;
|
|
@@ -544,7 +544,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
544
544
|
max-height: 90dvh;
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
-
/* css-module:/home/
|
|
547
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Heading/styles.module.css/#css-module-data */
|
|
548
548
|
._Heading_1tpsl_1 {
|
|
549
549
|
display: block;
|
|
550
550
|
color: var(--credbuild-color-black);
|
|
@@ -581,7 +581,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
581
581
|
font-size: var(--credbuild-font-size-xs);
|
|
582
582
|
}
|
|
583
583
|
|
|
584
|
-
/* css-module:/home/
|
|
584
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Loader/styles.module.css/#css-module-data */
|
|
585
585
|
@keyframes _loader-animation_nacdm_1 {
|
|
586
586
|
0% {
|
|
587
587
|
transform: rotate(0deg) scale(1);
|
|
@@ -603,7 +603,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
603
603
|
animation-fill-mode: both;
|
|
604
604
|
}
|
|
605
605
|
|
|
606
|
-
/* css-module:/home/
|
|
606
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Button/Button.module.css/#css-module-data */
|
|
607
607
|
._Button_164uz_1 {
|
|
608
608
|
appearance: none;
|
|
609
609
|
background: none;
|
|
@@ -696,7 +696,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
696
696
|
padding-inline-start: 8px;
|
|
697
697
|
}
|
|
698
698
|
|
|
699
|
-
/* css-module:/home/
|
|
699
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/IconButton/IconButton.module.css/#css-module-data */
|
|
700
700
|
._IconButton_1a0fz_1 {
|
|
701
701
|
align-items: center;
|
|
702
702
|
background: transparent;
|
|
@@ -741,7 +741,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
741
741
|
color: var(--credbuild-color-grey-07);
|
|
742
742
|
}
|
|
743
743
|
|
|
744
|
-
/* css-module:/home/
|
|
744
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/styles.module.css/#css-module-data */
|
|
745
745
|
._RichTextMenu_193iw_1 {
|
|
746
746
|
display: flex;
|
|
747
747
|
flex-direction: row;
|
|
@@ -783,7 +783,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
783
783
|
border-left: 0.5px solid var(--credbuild-color-grey-05);
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
-
/* css-module:/home/
|
|
786
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/ActionBar/styles.module.css/#css-module-data */
|
|
787
787
|
._ActionBar_ze0ci_1 {
|
|
788
788
|
align-items: center;
|
|
789
789
|
cursor: default;
|
|
@@ -878,7 +878,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
878
878
|
height: 100%;
|
|
879
879
|
}
|
|
880
880
|
|
|
881
|
-
/* css-module:/home/
|
|
881
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
|
|
882
882
|
._Control_1aveu_1 .lucide {
|
|
883
883
|
height: 18px;
|
|
884
884
|
width: 18px;
|
|
@@ -888,7 +888,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
888
888
|
width: 16px;
|
|
889
889
|
}
|
|
890
890
|
|
|
891
|
-
/* css-module:/home/
|
|
891
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Select/styles.module.css/#css-module-data */
|
|
892
892
|
._Select_16son_1 {
|
|
893
893
|
position: relative;
|
|
894
894
|
z-index: 1;
|
|
@@ -976,7 +976,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
976
976
|
color: var(--credbuild-color-azure-04);
|
|
977
977
|
}
|
|
978
978
|
|
|
979
|
-
/* css-module:/home/
|
|
979
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextEditor/styles.module.css/#css-module-data */
|
|
980
980
|
._RichTextEditor_hp4qf_1 .ProseMirror {
|
|
981
981
|
white-space: pre-wrap;
|
|
982
982
|
word-wrap: break-word;
|
|
@@ -1079,7 +1079,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
1079
1079
|
border-bottom: 1px solid var(--credbuild-color-grey-09);
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
|
-
/* css-module:/home/
|
|
1082
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/AutoField/fields/ArrayField/styles.module.css/#css-module-data */
|
|
1083
1083
|
._ArrayField_rvhj3_5 {
|
|
1084
1084
|
display: flex;
|
|
1085
1085
|
flex-direction: column;
|
|
@@ -1241,7 +1241,7 @@ textarea._Input-input_rcfsp_46 {
|
|
|
1241
1241
|
opacity: 1;
|
|
1242
1242
|
}
|
|
1243
1243
|
|
|
1244
|
-
/* css-module:/home/
|
|
1244
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/DragIcon/styles.module.css/#css-module-data */
|
|
1245
1245
|
._DragIcon_ei1r9_1 {
|
|
1246
1246
|
color: var(--credbuild-color-grey-05);
|
|
1247
1247
|
cursor: grab;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* css-module:/home/
|
|
1
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextEditor/styles.module.css/#css-module-data */
|
|
2
2
|
._RichTextEditor_hp4qf_1 .ProseMirror {
|
|
3
3
|
white-space: pre-wrap;
|
|
4
4
|
word-wrap: break-word;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-DEUK76GN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
styles_module_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ISXFLTBM.mjs";
|
|
7
7
|
import {
|
|
8
8
|
get_class_name_factory_default
|
|
9
9
|
} from "./chunk-BFHV72KK.mjs";
|
|
@@ -12,6 +12,7 @@ import "./chunk-AFVEAZTD.mjs";
|
|
|
12
12
|
// components/RichTextEditor/components/Render.tsx
|
|
13
13
|
import { generateHTML, generateJSON } from "@tiptap/html";
|
|
14
14
|
import { useMemo } from "react";
|
|
15
|
+
import DOMPurify from "isomorphic-dompurify";
|
|
15
16
|
import { jsx } from "react/jsx-runtime";
|
|
16
17
|
var getClassName = get_class_name_factory_default("RichTextEditor", styles_module_default);
|
|
17
18
|
function RichTextRender({
|
|
@@ -45,7 +46,8 @@ function RichTextRender({
|
|
|
45
46
|
const html = useMemo(() => {
|
|
46
47
|
return generateHTML(normalized, loadedExtensions);
|
|
47
48
|
}, [normalized, loadedExtensions]);
|
|
48
|
-
|
|
49
|
+
const sanitizedHtml = useMemo(() => DOMPurify.sanitize(html), [html]);
|
|
50
|
+
return /* @__PURE__ */ jsx("div", { className: getClassName(), children: /* @__PURE__ */ jsx("div", { className: "rich-text", dangerouslySetInnerHTML: { __html: sanitizedHtml } }) });
|
|
49
51
|
}
|
|
50
52
|
export {
|
|
51
53
|
RichTextRender
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
styles_module_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ISXFLTBM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
defaultAppState,
|
|
6
6
|
resolveComponentData
|
|
@@ -319,6 +319,7 @@ function useSlots(config, item, renderSlotEdit, renderSlotRender = renderSlotEdi
|
|
|
319
319
|
import { lazy, Suspense, useMemo as useMemo2 } from "react";
|
|
320
320
|
|
|
321
321
|
// components/RichTextEditor/components/RenderFallback.tsx
|
|
322
|
+
import DOMPurify from "isomorphic-dompurify";
|
|
322
323
|
import { jsx } from "react/jsx-runtime";
|
|
323
324
|
var getClassName = get_class_name_factory_default("RichTextEditor", styles_module_default);
|
|
324
325
|
function RichTextRenderFallback({ content }) {
|
|
@@ -326,7 +327,7 @@ function RichTextRenderFallback({ content }) {
|
|
|
326
327
|
"div",
|
|
327
328
|
{
|
|
328
329
|
className: "rich-text",
|
|
329
|
-
dangerouslySetInnerHTML: { __html: content }
|
|
330
|
+
dangerouslySetInnerHTML: { __html: DOMPurify.sanitize(content) }
|
|
330
331
|
}
|
|
331
332
|
) });
|
|
332
333
|
}
|
|
@@ -376,7 +377,7 @@ function useRichtextProps(fields, props) {
|
|
|
376
377
|
const richtextProps = useMemo2(() => {
|
|
377
378
|
if (!richtextKeys?.length) return {};
|
|
378
379
|
const RichTextRender = lazy(
|
|
379
|
-
() => import("./Render-
|
|
380
|
+
() => import("./Render-I6PZ5MEA.mjs").then((m) => ({
|
|
380
381
|
default: m.RichTextRender
|
|
381
382
|
}))
|
|
382
383
|
);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAlignOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W57TTDB2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useHeadingOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UNMCNIJ3.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useListOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PWRZZUWM.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Bold,
|
|
12
12
|
Code,
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
TextAlignStart,
|
|
27
27
|
Underline,
|
|
28
28
|
useControlContext
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-F2M5GHDX.mjs";
|
|
30
30
|
import {
|
|
31
31
|
get_class_name_factory_default
|
|
32
32
|
} from "./chunk-BFHV72KK.mjs";
|
|
33
33
|
|
|
34
|
-
// css-module:/home/
|
|
34
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/ActionBar/styles.module.css#css-module
|
|
35
35
|
var styles_module_default = { "ActionBar": "_ActionBar_ze0ci_1", "ActionBar-label": "_ActionBar-label_ze0ci_18", "ActionBarAction": "_ActionBarAction_ze0ci_30", "ActionBar-group": "_ActionBar-group_ze0ci_38", "ActionBarAction--disabled": "_ActionBarAction--disabled_ze0ci_71", "ActionBarAction--active": "_ActionBarAction--active_ze0ci_93", "ActionBar-separator": "_ActionBar-separator_ze0ci_102" };
|
|
36
36
|
|
|
37
37
|
// components/ActionBar/index.tsx
|
|
@@ -83,10 +83,10 @@ ActionBar.Separator = Separator;
|
|
|
83
83
|
// components/IconButton/IconButton.tsx
|
|
84
84
|
import { useState } from "react";
|
|
85
85
|
|
|
86
|
-
// css-module:/home/
|
|
86
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/IconButton/IconButton.module.css#css-module
|
|
87
87
|
var IconButton_module_default = { "IconButton": "_IconButton_1a0fz_1", "IconButton--active": "_IconButton--active_1a0fz_14", "IconButton--disabled": "_IconButton--disabled_1a0fz_24", "IconButton-title": "_IconButton-title_1a0fz_37" };
|
|
88
88
|
|
|
89
|
-
// css-module:/home/
|
|
89
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/Loader/styles.module.css#css-module
|
|
90
90
|
var styles_module_default2 = { "Loader": "_Loader_nacdm_13", "loader-animation": "_loader-animation_nacdm_1" };
|
|
91
91
|
|
|
92
92
|
// components/Loader/index.tsx
|
|
@@ -129,7 +129,8 @@ var IconButton = ({
|
|
|
129
129
|
suppressHydrationWarning
|
|
130
130
|
}) => {
|
|
131
131
|
const [loading, setLoading] = useState(false);
|
|
132
|
-
const
|
|
132
|
+
const safeHref = href && href.trim().toLowerCase().startsWith("javascript:") ? "#" : href;
|
|
133
|
+
const ElementType = safeHref ? "a" : "button";
|
|
133
134
|
const el = /* @__PURE__ */ jsxs2(
|
|
134
135
|
ElementType,
|
|
135
136
|
{
|
|
@@ -149,8 +150,8 @@ var IconButton = ({
|
|
|
149
150
|
disabled: disabled || loading,
|
|
150
151
|
tabIndex,
|
|
151
152
|
target: newTab ? "_blank" : void 0,
|
|
152
|
-
rel: newTab ? "noreferrer" : void 0,
|
|
153
|
-
href,
|
|
153
|
+
rel: newTab ? "noopener noreferrer" : void 0,
|
|
154
|
+
href: safeHref,
|
|
154
155
|
title,
|
|
155
156
|
suppressHydrationWarning,
|
|
156
157
|
children: [
|
|
@@ -166,13 +167,13 @@ var IconButton = ({
|
|
|
166
167
|
return el;
|
|
167
168
|
};
|
|
168
169
|
|
|
169
|
-
// css-module:/home/
|
|
170
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/styles.module.css#css-module
|
|
170
171
|
var styles_module_default3 = { "RichTextMenu": "_RichTextMenu_193iw_1", "RichTextMenu--form": "_RichTextMenu--form_193iw_7", "RichTextMenu-group": "_RichTextMenu-group_193iw_17", "RichTextMenu--inline": "_RichTextMenu--inline_193iw_35" };
|
|
171
172
|
|
|
172
173
|
// components/RichTextMenu/inner.tsx
|
|
173
174
|
import { useMemo } from "react";
|
|
174
175
|
|
|
175
|
-
// css-module:/home/
|
|
176
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/components/Control/styles.module.css#css-module
|
|
176
177
|
var styles_module_default4 = { "Control": "_Control_1aveu_1", "Control--inline": "_Control--inline_1aveu_6" };
|
|
177
178
|
|
|
178
179
|
// components/RichTextMenu/components/Control/index.tsx
|
|
@@ -310,7 +311,7 @@ function AlignSelectFallback() {
|
|
|
310
311
|
// components/RichTextMenu/controls/AlignSelect/index.tsx
|
|
311
312
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
312
313
|
var AlignSelectLoaded = lazy(
|
|
313
|
-
() => import("./loaded-
|
|
314
|
+
() => import("./loaded-2FUW3WCF.mjs").then((m) => ({
|
|
314
315
|
default: m.AlignSelectLoaded
|
|
315
316
|
}))
|
|
316
317
|
);
|
|
@@ -529,7 +530,7 @@ function HeadingSelectFallback() {
|
|
|
529
530
|
// components/RichTextMenu/controls/HeadingSelect/index.tsx
|
|
530
531
|
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
531
532
|
var HeadingSelectLoaded = lazy2(
|
|
532
|
-
() => import("./loaded-
|
|
533
|
+
() => import("./loaded-Y7SRBM7R.mjs").then((m) => ({
|
|
533
534
|
default: m.HeadingSelectLoaded
|
|
534
535
|
}))
|
|
535
536
|
);
|
|
@@ -559,7 +560,7 @@ function ListSelectFallback() {
|
|
|
559
560
|
// components/RichTextMenu/controls/ListSelect/index.tsx
|
|
560
561
|
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
561
562
|
var ListSelectLoaded = lazy3(
|
|
562
|
-
() => import("./loaded-
|
|
563
|
+
() => import("./loaded-6L45JULO.mjs").then((m) => ({
|
|
563
564
|
default: m.ListSelectLoaded
|
|
564
565
|
}))
|
|
565
566
|
);
|
|
@@ -1711,7 +1711,7 @@ var useControlContext = () => {
|
|
|
1711
1711
|
// components/RichTextMenu/components/SelectControl/index.tsx
|
|
1712
1712
|
import { useMemo } from "react";
|
|
1713
1713
|
|
|
1714
|
-
// css-module:/home/
|
|
1714
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/Select/styles.module.css#css-module
|
|
1715
1715
|
var styles_module_default = { "Select": "_Select_16son_1", "Select-button": "_Select-button_16son_6", "Select--hasOptions": "_Select--hasOptions_16son_19", "Select--disabled": "_Select--disabled_16son_23", "Select-buttonIcon": "_Select-buttonIcon_16son_27", "Select--standalone": "_Select--standalone_16son_33", "Select--actionBar": "_Select--actionBar_16son_38", "Select--hasValue": "_Select--hasValue_16son_44", "Select-items": "_Select-items_16son_61", "SelectItem": "_SelectItem_16son_72", "SelectItem--isSelected": "_SelectItem--isSelected_16son_87", "SelectItem-icon": "_SelectItem-icon_16son_93" };
|
|
1716
1716
|
|
|
1717
1717
|
// components/Select/index.tsx
|