@crediblemark/build 0.25.19 → 0.25.21

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.
Files changed (40) hide show
  1. package/dist/ArrayField-5NGEZXWU.mjs +18 -0
  2. package/dist/{ObjectField-VE3JKAWT.css → ArrayField-ELOHWNCP.css} +291 -291
  3. package/dist/{Editor-7JTCMSHZ.mjs → Editor-I3NGZND5.mjs} +8 -8
  4. package/dist/{Editor-6U6G5YLU.css → Editor-YW4RWTY3.css} +7 -7
  5. package/dist/{ArrayField-QVQ36K6O.css → ObjectField-AN37XVFT.css} +283 -283
  6. package/dist/ObjectField-TK4CLEHL.mjs +18 -0
  7. package/dist/{Render-HVM2KISU.css → Render-G6FCHISC.css} +1 -1
  8. package/dist/{Render-5WYR4VZX.mjs → Render-YPURU4ZF.mjs} +5 -3
  9. package/dist/{chunk-U7AIA2UJ.mjs → chunk-3UVVSIWJ.mjs} +2 -2
  10. package/dist/{chunk-LBXFITWQ.mjs → chunk-5A7FLZ3B.mjs} +2 -2
  11. package/dist/{chunk-5GWBGJC4.mjs → chunk-5ASR74IZ.mjs} +216 -102
  12. package/dist/{chunk-H6RPI3T6.mjs → chunk-HH537E6Q.mjs} +1 -1
  13. package/dist/{chunk-TOU7Y6T4.mjs → chunk-J3I5GT3E.mjs} +1 -1
  14. package/dist/{chunk-J4ZMH6JZ.mjs → chunk-KAL2OHVB.mjs} +1 -1
  15. package/dist/{chunk-D7HE7E2A.mjs → chunk-LGPNWN5U.mjs} +32 -16
  16. package/dist/{chunk-GEYNLWCZ.mjs → chunk-MQINT3WW.mjs} +1 -1
  17. package/dist/{chunk-ARM3KXOM.mjs → chunk-N4PD57DO.mjs} +19 -15
  18. package/dist/{chunk-D4WFZ3K2.mjs → chunk-NFUQAIKA.mjs} +31 -10
  19. package/dist/{chunk-U4NHUPA4.mjs → chunk-QJ3POSBT.mjs} +5 -5
  20. package/dist/{chunk-SOAJKHLV.mjs → chunk-S65FGP6E.mjs} +3 -3
  21. package/dist/chunk-TFAYWP2C.mjs +16 -0
  22. package/dist/{chunk-VEQIM5ZE.mjs → chunk-WADDTBOG.mjs} +20 -17
  23. package/dist/{full-2LSQUWEM.css → full-PJWYWS5O.css} +6 -6
  24. package/dist/{full-B3RS4LV3.mjs → full-YJS7XBEW.mjs} +5 -5
  25. package/dist/index.css +38 -38
  26. package/dist/index.js +297 -116
  27. package/dist/index.mjs +14 -13
  28. package/dist/{loaded-FY2TCG5Y.css → loaded-GB62SDMW.css} +1 -1
  29. package/dist/{loaded-JIR6E6RO.mjs → loaded-ICFOKFPH.mjs} +4 -3
  30. package/dist/{loaded-XEI7CJSF.mjs → loaded-LU4R6WMV.mjs} +4 -3
  31. package/dist/{loaded-VCMCWG55.mjs → loaded-VDUTUHUM.mjs} +4 -3
  32. package/dist/no-external.css +38 -38
  33. package/dist/no-external.js +297 -116
  34. package/dist/no-external.mjs +14 -13
  35. package/dist/rsc.css +19 -19
  36. package/dist/rsc.js +161 -91
  37. package/dist/rsc.mjs +13 -12
  38. package/package.json +1 -1
  39. package/dist/ArrayField-LRIG75HP.mjs +0 -17
  40. package/dist/ObjectField-M2VTKEXM.mjs +0 -17
@@ -1,263 +1,57 @@
1
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/AutoField/fields/ArrayField/styles.module.css/#css-module-data */
2
- ._ArrayField_rvhj3_5 {
1
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/AutoField/fields/ObjectField/styles.module.css/#css-module-data */
2
+ ._ObjectField_12pvo_1 {
3
3
  display: flex;
4
4
  flex-direction: column;
5
- background: var(--credbuild-color-azure-11);
6
- border: 1px solid var(--credbuild-color-grey-09);
7
- border-radius: 4px;
8
- }
9
- ._ArrayField--isDraggingFrom_rvhj3_13 {
10
- background-color: var(--credbuild-color-azure-11);
11
- overflow: hidden;
12
- }
13
- ._ArrayField-addButton_rvhj3_18 {
14
- background-color: var(--credbuild-color-white);
15
- border: none;
16
- border-radius: 3px;
17
- display: flex;
18
- color: var(--credbuild-color-azure-05);
19
- justify-content: center;
20
- cursor: pointer;
21
- width: 100%;
22
- margin: 0;
23
- padding: 14px;
24
- text-align: left;
25
- transition: background-color 50ms ease-in;
26
- }
27
- ._ArrayField--hasItems_rvhj3_33 > ._ArrayField-addButton_rvhj3_18 {
28
- border-top: 1px solid var(--credbuild-color-grey-09);
29
- border-top-left-radius: 0;
30
- border-top-right-radius: 0;
31
- }
32
- ._ArrayField-addButton_rvhj3_18:focus-visible {
33
- outline: 2px solid var(--credbuild-color-azure-05);
34
- outline-offset: 2px;
35
- position: relative;
36
- }
37
- @media (hover: hover) and (pointer: fine) {
38
- ._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:hover {
39
- background: var(--credbuild-color-azure-12);
40
- color: var(--credbuild-color-azure-04);
41
- transition: none;
42
- }
43
- }
44
- ._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:active {
45
- background: var(--credbuild-color-azure-11);
46
- color: var(--credbuild-color-azure-04);
47
- transition: none;
48
- }
49
- ._ArrayField-inner_rvhj3_59 {
50
- margin-top: -1px;
51
- }
52
- ._ArrayFieldItem_rvhj3_67 {
53
- border-top-left-radius: 3px;
54
- border-top-right-radius: 3px;
55
- display: block;
56
- position: relative;
57
- }
58
- ._ArrayFieldItem_rvhj3_67 {
59
- border-top: 1px solid var(--credbuild-color-grey-09);
60
- }
61
- ._ArrayFieldItem--isDragging_rvhj3_78 {
62
- border-top: transparent;
63
- }
64
- ._ArrayFieldItem--isExpanded_rvhj3_82::before {
65
- display: none;
66
- }
67
- ._ArrayFieldItem--isExpanded_rvhj3_82 {
68
- border-bottom: 0;
69
- outline-offset: 0px !important;
70
- outline: 1px solid var(--credbuild-color-azure-07) !important;
71
- z-index: 2;
72
- }
73
- ._ArrayFieldItem--isDragging_rvhj3_78 {
74
- outline: 2px var(--credbuild-color-azure-09) solid !important;
75
- }
76
- ._ArrayFieldItem--isDragging_rvhj3_78 ._ArrayFieldItem-summary_rvhj3_97:active {
77
- background-color: var(--credbuild-color-white);
78
- }
79
- ._ArrayFieldItem_rvhj3_67 + ._ArrayFieldItem_rvhj3_67 {
80
- border-top-left-radius: 0;
81
- border-top-right-radius: 0;
82
- }
83
- ._ArrayFieldItem-summary_rvhj3_97 {
84
- background: var(--credbuild-color-white);
85
- color: var(--credbuild-color-grey-04);
86
- cursor: pointer;
87
- display: flex;
88
- align-items: center;
89
- gap: 4px;
90
- justify-content: space-between;
91
- font-size: 11px;
92
- list-style: none;
93
- padding: 4px 10px;
94
- position: relative;
5
+ background-color: transparent;
6
+ margin-bottom: 0;
95
7
  overflow: hidden;
96
- transition: background-color 50ms ease-in;
97
- }
98
- ._ArrayFieldItem--noFields_rvhj3_122 > ._ArrayFieldItem-summary_rvhj3_97 {
99
- cursor: grab;
100
- }
101
- ._ArrayFieldItem_rvhj3_67:first-of-type > ._ArrayFieldItem-summary_rvhj3_97 {
102
- border-top-left-radius: 3px;
103
- border-top-right-radius: 3px;
104
- }
105
- ._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem_rvhj3_67:last-of-type:not(._ArrayFieldItem--isExpanded_rvhj3_82) > ._ArrayFieldItem-summary_rvhj3_97 {
106
- border-bottom-left-radius: 3px;
107
- border-bottom-right-radius: 3px;
108
- }
109
- ._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem--isExpanded_rvhj3_82:last-of-type {
110
- border-bottom-left-radius: 3px;
111
- border-bottom-right-radius: 3px;
112
- }
113
- ._ArrayFieldItem-summary_rvhj3_97:focus-visible {
114
- outline: 2px solid var(--credbuild-color-azure-05);
115
- outline-offset: 2px;
116
- }
117
- @media (hover: hover) and (pointer: fine) {
118
- ._ArrayFieldItem-summary_rvhj3_97:hover {
119
- background-color: var(--credbuild-color-azure-12);
120
- transition: none;
121
- }
122
- }
123
- ._ArrayFieldItem-summary_rvhj3_97:active {
124
- background-color: var(--credbuild-color-azure-11);
125
- transition: none;
126
- }
127
- ._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-summary_rvhj3_97 {
128
- background: var(--credbuild-color-azure-11);
129
- color: var(--credbuild-color-azure-04);
130
- font-weight: 600;
131
- transition: none;
8
+ transition: all 0.2s ease;
132
9
  }
133
- ._ArrayFieldItem-body_rvhj3_170 {
134
- background: var(--credbuild-color-white);
135
- display: none;
10
+ ._ObjectField--isOpen_12pvo_10 {
11
+ background-color: transparent;
136
12
  }
137
- ._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-body_rvhj3_170 {
138
- display: block;
13
+ ._ObjectField-content_12pvo_14 {
14
+ background-color: transparent;
139
15
  }
140
- ._ArrayFieldItem-fieldset_rvhj3_179 {
16
+ ._ObjectField-fieldset_12pvo_18 {
141
17
  border: none;
142
- border-top: 1px solid var(--credbuild-color-grey-09);
143
18
  margin: 0;
144
19
  min-width: 0;
145
- padding: 6px 10px;
146
- }
147
- ._ArrayFieldItem-rhs_rvhj3_187 {
20
+ padding: 0 0 8px 12px;
148
21
  display: flex;
22
+ flex-direction: column;
149
23
  gap: 4px;
150
- align-items: center;
24
+ border-left: 1px solid var(--credbuild-color-grey-10);
25
+ margin-left: 8px;
151
26
  }
152
- ._ArrayFieldItem-actions_rvhj3_193 {
153
- color: var(--credbuild-color-grey-04);
27
+ ._ObjectField-header_12pvo_30 {
28
+ background-color: transparent;
29
+ border: 0;
30
+ color: var(--credbuild-color-grey-05);
31
+ cursor: pointer;
154
32
  display: flex;
33
+ font: inherit;
34
+ font-size: var(--credbuild-font-size-xxxs);
35
+ list-style: none;
36
+ margin-bottom: 2px;
37
+ padding: 4px 8px;
38
+ transition: background-color 50ms ease-in, color 50ms ease-in;
155
39
  gap: 4px;
156
- opacity: 0;
157
- }
158
- ._ArrayFieldItem-summary_rvhj3_97:focus-within > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193,
159
- ._ArrayFieldItem-summary_rvhj3_97:hover > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193 {
160
- opacity: 1;
161
- }
162
-
163
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/IconButton/IconButton.module.css/#css-module-data */
164
- ._IconButton_1a0fz_1 {
40
+ border-radius: 4px;
41
+ width: 100%;
165
42
  align-items: center;
166
- background: transparent;
167
- border: none;
168
- border-radius: var(--cb-radius-m);
169
- color: currentColor;
170
- display: flex;
171
- font-family: var(--credbuild-font-family);
172
- justify-content: center;
173
- padding: 2px;
174
- transition: all 0.2s ease;
175
43
  }
176
- ._IconButton--active_1a0fz_14 {
44
+ ._ObjectField-header_12pvo_30:hover {
45
+ background-color: var(--credbuild-color-azure-11);
177
46
  color: var(--credbuild-color-azure-04);
178
47
  }
179
- ._IconButton_1a0fz_1:focus-visible {
180
- outline: 2px solid var(--credbuild-color-azure-05);
181
- outline-offset: -2px;
182
- }
183
- @media (hover: hover) and (pointer: fine) {
184
- ._IconButton_1a0fz_1:hover:not(._IconButton--disabled_1a0fz_24) {
185
- background: var(--credbuild-color-grey-10);
186
- color: var(--credbuild-color-azure-04);
187
- cursor: pointer;
188
- transition: none;
189
- }
190
- }
191
- ._IconButton_1a0fz_1:active {
192
- background: var(--credbuild-color-azure-11);
193
- transition: none;
194
- }
195
- ._IconButton-title_1a0fz_37 {
196
- clip: rect(0 0 0 0);
197
- clip-path: inset(100%);
198
- height: 1px;
199
- overflow: hidden;
200
- position: absolute;
201
- white-space: nowrap;
202
- width: 1px;
203
- }
204
- ._IconButton--disabled_1a0fz_24 {
205
- color: var(--credbuild-color-grey-07);
206
- }
207
-
208
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Loader/styles.module.css/#css-module-data */
209
- @keyframes _loader-animation_nacdm_1 {
210
- 0% {
211
- transform: rotate(0deg) scale(1);
212
- }
213
- 50% {
214
- transform: rotate(180deg) scale(0.8);
215
- }
216
- 100% {
217
- transform: rotate(360deg) scale(1);
218
- }
219
- }
220
- ._Loader_nacdm_13 {
221
- background: transparent;
222
- border-radius: 100%;
223
- border: 2px solid currentColor;
224
- border-bottom-color: transparent;
225
- display: inline-block;
226
- animation: _loader-animation_nacdm_1 1s 0s infinite linear;
227
- animation-fill-mode: both;
228
- }
229
-
230
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/DragIcon/styles.module.css/#css-module-data */
231
- ._DragIcon_ei1r9_1 {
232
- color: var(--credbuild-color-grey-05);
233
- cursor: grab;
234
- padding: 4px;
235
- border-radius: 4px;
236
- }
237
- ._DragIcon--disabled_ei1r9_8 {
238
- cursor: no-drop;
239
- }
240
- @media (hover: hover) and (pointer: fine) {
241
- ._DragIcon_ei1r9_1:not(._DragIcon--disabled_ei1r9_8):hover {
242
- color: var(--credbuild-color-azure-05);
243
- background-color: var(--credbuild-color-azure-12);
244
- }
245
- }
246
-
247
- /* components/Sortable/styles.css */
248
- [data-dnd-placeholder] * {
249
- opacity: 0 !important;
250
- }
251
- [data-dnd-placeholder] {
252
- background: var(--credbuild-color-azure-09) !important;
253
- border: none !important;
254
- color: #00000000 !important;
255
- opacity: 0.3 !important;
256
- outline: none !important;
257
- transition: none !important;
48
+ ._ObjectField-headerIcon_12pvo_53 {
49
+ margin-inline-start: auto;
50
+ display: flex;
51
+ align-items: center;
258
52
  }
259
53
 
260
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/AutoField/styles.module.css/#css-module-data */
54
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/AutoField/styles.module.css/#css-module-data */
261
55
  ._InputWrapper_1l0eg_1:not(._InputWrapper--object_1l0eg_1):not(._InputWrapper--array_1l0eg_1) {
262
56
  border: 1px solid var(--credbuild-color-grey-10);
263
57
  border-radius: 5px;
@@ -431,7 +225,7 @@ textarea._Input-input_1l0eg_44 {
431
225
  margin-bottom: -4px;
432
226
  }
433
227
 
434
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/ExternalInput/styles.module.css/#css-module-data */
228
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/ExternalInput/styles.module.css/#css-module-data */
435
229
  ._ExternalInput-actions_1gpb4_1 {
436
230
  display: flex;
437
231
  }
@@ -723,7 +517,7 @@ textarea._Input-input_1l0eg_44 {
723
517
  display: block;
724
518
  }
725
519
 
726
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Modal/styles.module.css/#css-module-data */
520
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/Modal/styles.module.css/#css-module-data */
727
521
  ._Modal_b422s_1 {
728
522
  background: color-mix(in srgb, var(--credbuild-color-black) 75%, transparent);
729
523
  display: none;
@@ -751,7 +545,7 @@ textarea._Input-input_1l0eg_44 {
751
545
  max-height: 90dvh;
752
546
  }
753
547
 
754
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Heading/styles.module.css/#css-module-data */
548
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/Heading/styles.module.css/#css-module-data */
755
549
  ._Heading_1tpsl_1 {
756
550
  display: block;
757
551
  color: var(--credbuild-color-black);
@@ -788,7 +582,29 @@ textarea._Input-input_1l0eg_44 {
788
582
  font-size: var(--credbuild-font-size-xs);
789
583
  }
790
584
 
791
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Button/Button.module.css/#css-module-data */
585
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/Loader/styles.module.css/#css-module-data */
586
+ @keyframes _loader-animation_nacdm_1 {
587
+ 0% {
588
+ transform: rotate(0deg) scale(1);
589
+ }
590
+ 50% {
591
+ transform: rotate(180deg) scale(0.8);
592
+ }
593
+ 100% {
594
+ transform: rotate(360deg) scale(1);
595
+ }
596
+ }
597
+ ._Loader_nacdm_13 {
598
+ background: transparent;
599
+ border-radius: 100%;
600
+ border: 2px solid currentColor;
601
+ border-bottom-color: transparent;
602
+ display: inline-block;
603
+ animation: _loader-animation_nacdm_1 1s 0s infinite linear;
604
+ animation-fill-mode: both;
605
+ }
606
+
607
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/Button/Button.module.css/#css-module-data */
792
608
  ._Button_164uz_1 {
793
609
  appearance: none;
794
610
  background: none;
@@ -881,7 +697,52 @@ textarea._Input-input_1l0eg_44 {
881
697
  padding-inline-start: 8px;
882
698
  }
883
699
 
884
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/RichTextMenu/styles.module.css/#css-module-data */
700
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/IconButton/IconButton.module.css/#css-module-data */
701
+ ._IconButton_1a0fz_1 {
702
+ align-items: center;
703
+ background: transparent;
704
+ border: none;
705
+ border-radius: var(--cb-radius-m);
706
+ color: currentColor;
707
+ display: flex;
708
+ font-family: var(--credbuild-font-family);
709
+ justify-content: center;
710
+ padding: 2px;
711
+ transition: all 0.2s ease;
712
+ }
713
+ ._IconButton--active_1a0fz_14 {
714
+ color: var(--credbuild-color-azure-04);
715
+ }
716
+ ._IconButton_1a0fz_1:focus-visible {
717
+ outline: 2px solid var(--credbuild-color-azure-05);
718
+ outline-offset: -2px;
719
+ }
720
+ @media (hover: hover) and (pointer: fine) {
721
+ ._IconButton_1a0fz_1:hover:not(._IconButton--disabled_1a0fz_24) {
722
+ background: var(--credbuild-color-grey-10);
723
+ color: var(--credbuild-color-azure-04);
724
+ cursor: pointer;
725
+ transition: none;
726
+ }
727
+ }
728
+ ._IconButton_1a0fz_1:active {
729
+ background: var(--credbuild-color-azure-11);
730
+ transition: none;
731
+ }
732
+ ._IconButton-title_1a0fz_37 {
733
+ clip: rect(0 0 0 0);
734
+ clip-path: inset(100%);
735
+ height: 1px;
736
+ overflow: hidden;
737
+ position: absolute;
738
+ white-space: nowrap;
739
+ width: 1px;
740
+ }
741
+ ._IconButton--disabled_1a0fz_24 {
742
+ color: var(--credbuild-color-grey-07);
743
+ }
744
+
745
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/RichTextMenu/styles.module.css/#css-module-data */
885
746
  ._RichTextMenu_193iw_1 {
886
747
  display: flex;
887
748
  flex-direction: row;
@@ -923,7 +784,7 @@ textarea._Input-input_1l0eg_44 {
923
784
  border-left: 0.5px solid var(--credbuild-color-grey-05);
924
785
  }
925
786
 
926
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/ActionBar/styles.module.css/#css-module-data */
787
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/ActionBar/styles.module.css/#css-module-data */
927
788
  ._ActionBar_1xjbo_1 {
928
789
  align-items: center;
929
790
  cursor: default;
@@ -1023,7 +884,7 @@ textarea._Input-input_1l0eg_44 {
1023
884
  height: 12px;
1024
885
  }
1025
886
 
1026
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
887
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
1027
888
  ._Control_1aveu_1 .lucide {
1028
889
  height: 18px;
1029
890
  width: 18px;
@@ -1033,7 +894,7 @@ textarea._Input-input_1l0eg_44 {
1033
894
  width: 16px;
1034
895
  }
1035
896
 
1036
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Select/styles.module.css/#css-module-data */
897
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/Select/styles.module.css/#css-module-data */
1037
898
  ._Select_16son_1 {
1038
899
  position: relative;
1039
900
  z-index: 1;
@@ -1121,7 +982,7 @@ textarea._Input-input_1l0eg_44 {
1121
982
  color: var(--credbuild-color-azure-04);
1122
983
  }
1123
984
 
1124
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/RichTextEditor/styles.module.css/#css-module-data */
985
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/RichTextEditor/styles.module.css/#css-module-data */
1125
986
  ._RichTextEditor_hp4qf_1 .ProseMirror {
1126
987
  white-space: pre-wrap;
1127
988
  word-wrap: break-word;
@@ -1224,55 +1085,194 @@ textarea._Input-input_1l0eg_44 {
1224
1085
  border-bottom: 1px solid var(--credbuild-color-grey-09);
1225
1086
  }
1226
1087
 
1227
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/AutoField/fields/ObjectField/styles.module.css/#css-module-data */
1228
- ._ObjectField_12pvo_1 {
1088
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/AutoField/fields/ArrayField/styles.module.css/#css-module-data */
1089
+ ._ArrayField_rvhj3_5 {
1229
1090
  display: flex;
1230
1091
  flex-direction: column;
1231
- background-color: transparent;
1232
- margin-bottom: 0;
1092
+ background: var(--credbuild-color-azure-11);
1093
+ border: 1px solid var(--credbuild-color-grey-09);
1094
+ border-radius: 4px;
1095
+ }
1096
+ ._ArrayField--isDraggingFrom_rvhj3_13 {
1097
+ background-color: var(--credbuild-color-azure-11);
1233
1098
  overflow: hidden;
1234
- transition: all 0.2s ease;
1235
1099
  }
1236
- ._ObjectField--isOpen_12pvo_10 {
1237
- background-color: transparent;
1100
+ ._ArrayField-addButton_rvhj3_18 {
1101
+ background-color: var(--credbuild-color-white);
1102
+ border: none;
1103
+ border-radius: 3px;
1104
+ display: flex;
1105
+ color: var(--credbuild-color-azure-05);
1106
+ justify-content: center;
1107
+ cursor: pointer;
1108
+ width: 100%;
1109
+ margin: 0;
1110
+ padding: 14px;
1111
+ text-align: left;
1112
+ transition: background-color 50ms ease-in;
1238
1113
  }
1239
- ._ObjectField-content_12pvo_14 {
1240
- background-color: transparent;
1114
+ ._ArrayField--hasItems_rvhj3_33 > ._ArrayField-addButton_rvhj3_18 {
1115
+ border-top: 1px solid var(--credbuild-color-grey-09);
1116
+ border-top-left-radius: 0;
1117
+ border-top-right-radius: 0;
1241
1118
  }
1242
- ._ObjectField-fieldset_12pvo_18 {
1119
+ ._ArrayField-addButton_rvhj3_18:focus-visible {
1120
+ outline: 2px solid var(--credbuild-color-azure-05);
1121
+ outline-offset: 2px;
1122
+ position: relative;
1123
+ }
1124
+ @media (hover: hover) and (pointer: fine) {
1125
+ ._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:hover {
1126
+ background: var(--credbuild-color-azure-12);
1127
+ color: var(--credbuild-color-azure-04);
1128
+ transition: none;
1129
+ }
1130
+ }
1131
+ ._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:active {
1132
+ background: var(--credbuild-color-azure-11);
1133
+ color: var(--credbuild-color-azure-04);
1134
+ transition: none;
1135
+ }
1136
+ ._ArrayField-inner_rvhj3_59 {
1137
+ margin-top: -1px;
1138
+ }
1139
+ ._ArrayFieldItem_rvhj3_67 {
1140
+ border-top-left-radius: 3px;
1141
+ border-top-right-radius: 3px;
1142
+ display: block;
1143
+ position: relative;
1144
+ }
1145
+ ._ArrayFieldItem_rvhj3_67 {
1146
+ border-top: 1px solid var(--credbuild-color-grey-09);
1147
+ }
1148
+ ._ArrayFieldItem--isDragging_rvhj3_78 {
1149
+ border-top: transparent;
1150
+ }
1151
+ ._ArrayFieldItem--isExpanded_rvhj3_82::before {
1152
+ display: none;
1153
+ }
1154
+ ._ArrayFieldItem--isExpanded_rvhj3_82 {
1155
+ border-bottom: 0;
1156
+ outline-offset: 0px !important;
1157
+ outline: 1px solid var(--credbuild-color-azure-07) !important;
1158
+ z-index: 2;
1159
+ }
1160
+ ._ArrayFieldItem--isDragging_rvhj3_78 {
1161
+ outline: 2px var(--credbuild-color-azure-09) solid !important;
1162
+ }
1163
+ ._ArrayFieldItem--isDragging_rvhj3_78 ._ArrayFieldItem-summary_rvhj3_97:active {
1164
+ background-color: var(--credbuild-color-white);
1165
+ }
1166
+ ._ArrayFieldItem_rvhj3_67 + ._ArrayFieldItem_rvhj3_67 {
1167
+ border-top-left-radius: 0;
1168
+ border-top-right-radius: 0;
1169
+ }
1170
+ ._ArrayFieldItem-summary_rvhj3_97 {
1171
+ background: var(--credbuild-color-white);
1172
+ color: var(--credbuild-color-grey-04);
1173
+ cursor: pointer;
1174
+ display: flex;
1175
+ align-items: center;
1176
+ gap: 4px;
1177
+ justify-content: space-between;
1178
+ font-size: 11px;
1179
+ list-style: none;
1180
+ padding: 4px 10px;
1181
+ position: relative;
1182
+ overflow: hidden;
1183
+ transition: background-color 50ms ease-in;
1184
+ }
1185
+ ._ArrayFieldItem--noFields_rvhj3_122 > ._ArrayFieldItem-summary_rvhj3_97 {
1186
+ cursor: grab;
1187
+ }
1188
+ ._ArrayFieldItem_rvhj3_67:first-of-type > ._ArrayFieldItem-summary_rvhj3_97 {
1189
+ border-top-left-radius: 3px;
1190
+ border-top-right-radius: 3px;
1191
+ }
1192
+ ._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem_rvhj3_67:last-of-type:not(._ArrayFieldItem--isExpanded_rvhj3_82) > ._ArrayFieldItem-summary_rvhj3_97 {
1193
+ border-bottom-left-radius: 3px;
1194
+ border-bottom-right-radius: 3px;
1195
+ }
1196
+ ._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem--isExpanded_rvhj3_82:last-of-type {
1197
+ border-bottom-left-radius: 3px;
1198
+ border-bottom-right-radius: 3px;
1199
+ }
1200
+ ._ArrayFieldItem-summary_rvhj3_97:focus-visible {
1201
+ outline: 2px solid var(--credbuild-color-azure-05);
1202
+ outline-offset: 2px;
1203
+ }
1204
+ @media (hover: hover) and (pointer: fine) {
1205
+ ._ArrayFieldItem-summary_rvhj3_97:hover {
1206
+ background-color: var(--credbuild-color-azure-12);
1207
+ transition: none;
1208
+ }
1209
+ }
1210
+ ._ArrayFieldItem-summary_rvhj3_97:active {
1211
+ background-color: var(--credbuild-color-azure-11);
1212
+ transition: none;
1213
+ }
1214
+ ._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-summary_rvhj3_97 {
1215
+ background: var(--credbuild-color-azure-11);
1216
+ color: var(--credbuild-color-azure-04);
1217
+ font-weight: 600;
1218
+ transition: none;
1219
+ }
1220
+ ._ArrayFieldItem-body_rvhj3_170 {
1221
+ background: var(--credbuild-color-white);
1222
+ display: none;
1223
+ }
1224
+ ._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-body_rvhj3_170 {
1225
+ display: block;
1226
+ }
1227
+ ._ArrayFieldItem-fieldset_rvhj3_179 {
1243
1228
  border: none;
1229
+ border-top: 1px solid var(--credbuild-color-grey-09);
1244
1230
  margin: 0;
1245
1231
  min-width: 0;
1246
- padding: 0 0 8px 12px;
1232
+ padding: 6px 10px;
1233
+ }
1234
+ ._ArrayFieldItem-rhs_rvhj3_187 {
1247
1235
  display: flex;
1248
- flex-direction: column;
1249
1236
  gap: 4px;
1250
- border-left: 1px solid var(--credbuild-color-grey-10);
1251
- margin-left: 8px;
1237
+ align-items: center;
1252
1238
  }
1253
- ._ObjectField-header_12pvo_30 {
1254
- background-color: transparent;
1255
- border: 0;
1256
- color: var(--credbuild-color-grey-05);
1257
- cursor: pointer;
1239
+ ._ArrayFieldItem-actions_rvhj3_193 {
1240
+ color: var(--credbuild-color-grey-04);
1258
1241
  display: flex;
1259
- font: inherit;
1260
- font-size: var(--credbuild-font-size-xxxs);
1261
- list-style: none;
1262
- margin-bottom: 2px;
1263
- padding: 4px 8px;
1264
- transition: background-color 50ms ease-in, color 50ms ease-in;
1265
1242
  gap: 4px;
1243
+ opacity: 0;
1244
+ }
1245
+ ._ArrayFieldItem-summary_rvhj3_97:focus-within > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193,
1246
+ ._ArrayFieldItem-summary_rvhj3_97:hover > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193 {
1247
+ opacity: 1;
1248
+ }
1249
+
1250
+ /* css-module:/home/rasyiqi/PROJECT/Credbuild/credbuild/components/DragIcon/styles.module.css/#css-module-data */
1251
+ ._DragIcon_ei1r9_1 {
1252
+ color: var(--credbuild-color-grey-05);
1253
+ cursor: grab;
1254
+ padding: 4px;
1266
1255
  border-radius: 4px;
1267
- width: 100%;
1268
- align-items: center;
1269
1256
  }
1270
- ._ObjectField-header_12pvo_30:hover {
1271
- background-color: var(--credbuild-color-azure-11);
1272
- color: var(--credbuild-color-azure-04);
1257
+ ._DragIcon--disabled_ei1r9_8 {
1258
+ cursor: no-drop;
1273
1259
  }
1274
- ._ObjectField-headerIcon_12pvo_53 {
1275
- margin-inline-start: auto;
1276
- display: flex;
1277
- align-items: center;
1260
+ @media (hover: hover) and (pointer: fine) {
1261
+ ._DragIcon_ei1r9_1:not(._DragIcon--disabled_ei1r9_8):hover {
1262
+ color: var(--credbuild-color-azure-05);
1263
+ background-color: var(--credbuild-color-azure-12);
1264
+ }
1265
+ }
1266
+
1267
+ /* components/Sortable/styles.css */
1268
+ [data-dnd-placeholder] * {
1269
+ opacity: 0 !important;
1270
+ }
1271
+ [data-dnd-placeholder] {
1272
+ background: var(--credbuild-color-azure-09) !important;
1273
+ border: none !important;
1274
+ color: #00000000 !important;
1275
+ opacity: 0.3 !important;
1276
+ outline: none !important;
1277
+ transition: none !important;
1278
1278
  }
@@ -0,0 +1,18 @@
1
+ import {
2
+ ObjectField
3
+ } from "./chunk-S65FGP6E.mjs";
4
+ import "./chunk-N4PD57DO.mjs";
5
+ import "./chunk-5A7FLZ3B.mjs";
6
+ import "./chunk-TFAYWP2C.mjs";
7
+ import "./chunk-HH537E6Q.mjs";
8
+ import "./chunk-LGPNWN5U.mjs";
9
+ import "./chunk-KAL2OHVB.mjs";
10
+ import "./chunk-MQINT3WW.mjs";
11
+ import "./chunk-J3I5GT3E.mjs";
12
+ import "./chunk-NFUQAIKA.mjs";
13
+ import "./chunk-BFHV72KK.mjs";
14
+ import "./chunk-O44M27KT.mjs";
15
+ import "./chunk-AFVEAZTD.mjs";
16
+ export {
17
+ ObjectField
18
+ };
@@ -1,4 +1,4 @@
1
- /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/RichTextEditor/styles.module.css/#css-module-data */
1
+ /* css-module:/home/rasyiqi/PROJECT/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;