@crediblemark/build 0.25.4 → 0.25.6

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 (41) hide show
  1. package/README.md +85 -0
  2. package/bin/credbuild.js +524 -0
  3. package/dist/{ObjectField-JYRSRCWB.css → ArrayField-PAJW74AC.css} +325 -324
  4. package/dist/ArrayField-PGZLQW7G.mjs +19 -0
  5. package/dist/{Editor-IPG4RO2L.mjs → Editor-OFA3KX3N.mjs} +8 -8
  6. package/dist/{Editor-CVT4RKSU.css → Editor-Y342RWPN.css} +7 -7
  7. package/dist/ObjectField-N7ES6H3B.mjs +19 -0
  8. package/dist/{ArrayField-JRN7ZFM7.css → ObjectField-WACQHQ4N.css} +320 -319
  9. package/dist/{Render-I6PZ5MEA.mjs → Render-5WYR4VZX.mjs} +1 -1
  10. package/dist/{Render-DOE2LXKX.css → Render-HVM2KISU.css} +1 -1
  11. package/dist/{chunk-W57TTDB2.mjs → chunk-4NZUDTR6.mjs} +1 -1
  12. package/dist/{chunk-ISXFLTBM.mjs → chunk-H6RPI3T6.mjs} +1 -1
  13. package/dist/{chunk-2RLA42JA.mjs → chunk-HIE6KXP6.mjs} +2 -2
  14. package/dist/{chunk-MZIV4ZKR.mjs → chunk-JX7LICWE.mjs} +2 -2
  15. package/dist/{chunk-NYIULQV4.mjs → chunk-KAOWYQIB.mjs} +12 -12
  16. package/dist/{chunk-F2M5GHDX.mjs → chunk-MZXW5F5R.mjs} +3 -3
  17. package/dist/{chunk-QMMMJ4RO.mjs → chunk-QHJGER7I.mjs} +5 -5
  18. package/dist/{chunk-PWRZZUWM.mjs → chunk-RUJOMPX6.mjs} +1 -1
  19. package/dist/{chunk-UNMCNIJ3.mjs → chunk-SLKHXT3Q.mjs} +1 -1
  20. package/dist/{chunk-3Q7JODIK.mjs → chunk-STIUFJT2.mjs} +12 -12
  21. package/dist/{chunk-FQKSRGRK.mjs → chunk-W7LED3JG.mjs} +74 -40
  22. package/dist/{chunk-NYBTD3FJ.mjs → chunk-WSTUSWZT.mjs} +2 -2
  23. package/dist/{chunk-RBWVOMMW.mjs → chunk-XAD7XPP2.mjs} +4 -4
  24. package/dist/{full-A2JX3OI2.mjs → full-ECZCK3RE.mjs} +5 -5
  25. package/dist/{full-C7RVGAUA.css → full-PLJRDIMB.css} +6 -6
  26. package/dist/index.css +210 -276
  27. package/dist/index.js +131 -97
  28. package/dist/index.mjs +13 -13
  29. package/dist/{loaded-Y7SRBM7R.mjs → loaded-3MKTRGL5.mjs} +2 -2
  30. package/dist/{loaded-2FUW3WCF.mjs → loaded-5D7VRSXM.mjs} +2 -2
  31. package/dist/{loaded-4FAPBCAU.css → loaded-FY2TCG5Y.css} +1 -1
  32. package/dist/{loaded-6L45JULO.mjs → loaded-NRHNHJPM.mjs} +2 -2
  33. package/dist/no-external.css +115 -110
  34. package/dist/no-external.js +131 -97
  35. package/dist/no-external.mjs +13 -13
  36. package/dist/rsc.css +1 -1
  37. package/dist/rsc.js +4 -4
  38. package/dist/rsc.mjs +2 -2
  39. package/package.json +5 -1
  40. package/dist/ArrayField-HI4LZRUN.mjs +0 -19
  41. package/dist/ObjectField-CHMT4KPZ.mjs +0 -19
@@ -1,97 +1,300 @@
1
- /* css-module:/home/runner/work/credbuild/credbuild/components/AutoField/fields/ObjectField/styles.module.css/#css-module-data */
2
- ._ObjectField_7axeg_1 {
1
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/AutoField/fields/ArrayField/styles.module.css/#css-module-data */
2
+ ._ArrayField_rvhj3_5 {
3
3
  display: flex;
4
4
  flex-direction: column;
5
- background-color: transparent;
6
- margin-bottom: 0;
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);
7
11
  overflow: hidden;
8
- transition: all 0.2s ease;
9
12
  }
10
- ._ObjectField--isOpen_7axeg_10 {
11
- background-color: transparent;
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;
12
26
  }
13
- ._ObjectField-content_7axeg_14 {
14
- background-color: transparent;
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;
15
72
  }
16
- ._ObjectField-fieldset_7axeg_18 {
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;
95
+ 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;
132
+ }
133
+ ._ArrayFieldItem-body_rvhj3_170 {
134
+ background: var(--credbuild-color-white);
135
+ display: none;
136
+ }
137
+ ._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-body_rvhj3_170 {
138
+ display: block;
139
+ }
140
+ ._ArrayFieldItem-fieldset_rvhj3_179 {
17
141
  border: none;
142
+ border-top: 1px solid var(--credbuild-color-grey-09);
18
143
  margin: 0;
19
144
  min-width: 0;
20
- padding: 0 0 8px 12px;
145
+ padding: 6px 10px;
146
+ }
147
+ ._ArrayFieldItem-rhs_rvhj3_187 {
21
148
  display: flex;
22
- flex-direction: column;
23
149
  gap: 4px;
24
- border-left: 1px solid var(--credbuild-color-grey-10);
25
- margin-left: 8px;
150
+ align-items: center;
26
151
  }
27
- ._ObjectField-header_7axeg_30 {
28
- background-color: transparent;
29
- border: 0;
30
- color: var(--credbuild-color-grey-05);
31
- cursor: pointer;
152
+ ._ArrayFieldItem-actions_rvhj3_193 {
153
+ color: var(--credbuild-color-grey-04);
32
154
  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
- text-transform: uppercase;
39
- transition: background-color 50ms ease-in, color 50ms ease-in;
40
155
  gap: 4px;
41
- border-radius: 4px;
42
- width: 100%;
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 {
43
165
  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;
44
175
  }
45
- ._ObjectField-header_7axeg_30:hover {
46
- background-color: var(--credbuild-color-azure-11);
176
+ ._IconButton--active_1a0fz_14 {
47
177
  color: var(--credbuild-color-azure-04);
48
178
  }
49
- ._ObjectField-headerIcon_7axeg_54 {
50
- margin-inline-start: auto;
51
- display: flex;
52
- align-items: center;
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);
53
206
  }
54
207
 
55
- /* css-module:/home/runner/work/credbuild/credbuild/components/AutoField/styles.module.css/#css-module-data */
56
- ._InputWrapper_rcfsp_1:not(._InputWrapper--object_rcfsp_1):not(._InputWrapper--array_rcfsp_1) {
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;
258
+ }
259
+
260
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/AutoField/styles.module.css/#css-module-data */
261
+ ._InputWrapper_1l0eg_1:not(._InputWrapper--object_1l0eg_1):not(._InputWrapper--array_1l0eg_1) {
57
262
  border: 1px solid var(--credbuild-color-grey-10);
58
263
  border-radius: 5px;
59
264
  padding: 4px 8px;
60
265
  background-color: var(--credbuild-color-white);
61
266
  transition: all 0.2s ease;
62
267
  }
63
- ._InputWrapper_rcfsp_1 + ._InputWrapper_rcfsp_1 {
268
+ ._InputWrapper_1l0eg_1 + ._InputWrapper_1l0eg_1 {
64
269
  margin-top: 2px;
65
270
  }
66
- ._InputWrapper_rcfsp_1:not(._InputWrapper--object_rcfsp_1):not(._InputWrapper--array_rcfsp_1):hover {
271
+ ._InputWrapper_1l0eg_1:not(._InputWrapper--object_1l0eg_1):not(._InputWrapper--array_1l0eg_1):hover {
67
272
  border-color: var(--credbuild-color-grey-08);
68
273
  background-color: var(--credbuild-color-grey-11);
69
274
  }
70
- ._Input-label_rcfsp_18 {
275
+ ._Input-label_1l0eg_18 {
71
276
  align-items: center;
72
277
  color: var(--credbuild-color-grey-06);
73
278
  display: flex;
74
279
  padding-bottom: 2px;
75
280
  font-size: 9px;
76
281
  font-weight: 500;
77
- text-transform: uppercase;
78
- letter-spacing: 0.08em;
79
282
  opacity: 0.7;
80
283
  }
81
- ._Input-label--noChildren_rcfsp_30 {
284
+ ._Input-label--noChildren_1l0eg_28 {
82
285
  padding-bottom: 0;
83
286
  }
84
- ._Input-labelIcon_rcfsp_34 {
287
+ ._Input-labelIcon_1l0eg_32 {
85
288
  color: var(--credbuild-color-grey-07);
86
289
  display: flex;
87
290
  margin-inline-end: 4px;
88
291
  padding-inline-start: 4px;
89
292
  }
90
- ._Input-disabledIcon_rcfsp_41 {
293
+ ._Input-disabledIcon_1l0eg_39 {
91
294
  color: var(--credbuild-color-grey-05);
92
295
  margin-inline-start: auto;
93
296
  }
94
- ._Input-input_rcfsp_46 {
297
+ ._Input-input_1l0eg_44 {
95
298
  background: transparent;
96
299
  border: none;
97
300
  border-radius: 0;
@@ -106,11 +309,11 @@
106
309
  outline: none;
107
310
  }
108
311
  @media (min-width: 458px) {
109
- ._Input-input_rcfsp_46 {
312
+ ._Input-input_1l0eg_44 {
110
313
  font-size: 12px;
111
314
  }
112
315
  }
113
- select._Input-input_rcfsp_46 {
316
+ select._Input-input_1l0eg_44 {
114
317
  appearance: none;
115
318
  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;
116
319
  background-size: 12px;
@@ -118,30 +321,34 @@ select._Input-input_rcfsp_46 {
118
321
  background-repeat: no-repeat;
119
322
  background-color: var(--credbuild-color-white);
120
323
  cursor: pointer;
324
+ height: auto;
325
+ line-height: normal;
326
+ padding-top: 4px;
327
+ padding-bottom: 4px;
121
328
  }
122
- select._Input-input_rcfsp_46:dir(rtl) {
329
+ select._Input-input_1l0eg_44:dir(rtl) {
123
330
  background-position: 12px calc(50% + 3px);
124
331
  }
125
332
  @media (hover: hover) and (pointer: fine) {
126
- ._Input_rcfsp_1:has(> input):hover ._Input-input_rcfsp_46:not([readonly]),
127
- ._Input_rcfsp_1:has(> textarea):hover ._Input-input_rcfsp_46:not([readonly]) {
333
+ ._Input_1l0eg_1:has(> input):hover ._Input-input_1l0eg_44:not([readonly]),
334
+ ._Input_1l0eg_1:has(> textarea):hover ._Input-input_1l0eg_44:not([readonly]) {
128
335
  border-color: var(--credbuild-color-grey-05);
129
336
  transition: none;
130
337
  }
131
- ._Input_rcfsp_1:has(> select):hover ._Input-input_rcfsp_46:not([disabled]) {
338
+ ._Input_1l0eg_1:has(> select):hover ._Input-input_1l0eg_44:not([disabled]) {
132
339
  background-color: var(--credbuild-color-azure-12);
133
340
  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>");
134
341
  border-color: var(--credbuild-color-grey-05);
135
342
  transition: none;
136
343
  }
137
344
  }
138
- ._Input-input_rcfsp_46:focus {
345
+ ._Input-input_1l0eg_44:focus {
139
346
  border-color: var(--credbuild-color-grey-05);
140
347
  outline: 2px solid var(--credbuild-color-azure-05);
141
348
  transition: none;
142
349
  }
143
- ._Input--readOnly_rcfsp_102 > ._Input-input_rcfsp_46,
144
- ._Input--readOnly_rcfsp_102 > select._Input-input_rcfsp_46 {
350
+ ._Input--readOnly_1l0eg_104 > ._Input-input_1l0eg_44,
351
+ ._Input--readOnly_1l0eg_104 > select._Input-input_1l0eg_44 {
145
352
  background-color: var(--credbuild-color-grey-11);
146
353
  border-color: var(--credbuild-color-grey-09);
147
354
  color: var(--credbuild-color-grey-04);
@@ -150,34 +357,34 @@ select._Input-input_rcfsp_46:dir(rtl) {
150
357
  outline: 0;
151
358
  transition: none;
152
359
  }
153
- ._Input-radioGroupItems_rcfsp_113 {
360
+ ._Input-radioGroupItems_1l0eg_115 {
154
361
  display: flex;
155
362
  border: 1px solid var(--credbuild-color-grey-09);
156
363
  border-radius: 4px;
157
364
  flex-wrap: wrap;
158
365
  }
159
- ._Input-radio_rcfsp_113 {
366
+ ._Input-radio_1l0eg_115 {
160
367
  border-inline-end: 1px solid var(--credbuild-color-grey-09);
161
368
  flex-grow: 1;
162
369
  }
163
- ._Input-radio_rcfsp_113:first-of-type {
370
+ ._Input-radio_1l0eg_115:first-of-type {
164
371
  border-bottom-left-radius: 4px;
165
372
  border-top-left-radius: 4px;
166
373
  }
167
- ._Input-radio_rcfsp_113:first-of-type ._Input-radioInner_rcfsp_130 {
374
+ ._Input-radio_1l0eg_115:first-of-type ._Input-radioInner_1l0eg_132 {
168
375
  border-bottom-left-radius: 3px;
169
376
  border-top-left-radius: 3px;
170
377
  }
171
- ._Input-radio_rcfsp_113:last-of-type {
378
+ ._Input-radio_1l0eg_115:last-of-type {
172
379
  border-bottom-right-radius: 4px;
173
380
  border-inline-end: 0;
174
381
  border-top-right-radius: 4px;
175
382
  }
176
- ._Input-radio_rcfsp_113:last-of-type ._Input-radioInner_rcfsp_130 {
383
+ ._Input-radio_1l0eg_115:last-of-type ._Input-radioInner_1l0eg_132 {
177
384
  border-bottom-right-radius: 3px;
178
385
  border-top-right-radius: 3px;
179
386
  }
180
- ._Input-radioInner_rcfsp_130 {
387
+ ._Input-radioInner_1l0eg_132 {
181
388
  background-color: var(--credbuild-color-white);
182
389
  color: var(--credbuild-color-grey-04);
183
390
  cursor: pointer;
@@ -186,32 +393,32 @@ select._Input-input_rcfsp_46:dir(rtl) {
186
393
  text-align: center;
187
394
  transition: background-color 50ms ease-in;
188
395
  }
189
- ._Input-radio_rcfsp_113:has(:focus-visible) {
396
+ ._Input-radio_1l0eg_115:has(:focus-visible) {
190
397
  outline: 2px solid var(--credbuild-color-azure-05);
191
398
  outline-offset: 2px;
192
399
  position: relative;
193
400
  }
194
401
  @media (hover: hover) and (pointer: fine) {
195
- ._Input-radioInner_rcfsp_130:hover {
402
+ ._Input-radioInner_1l0eg_132:hover {
196
403
  background-color: var(--credbuild-color-azure-12);
197
404
  transition: none;
198
405
  }
199
406
  }
200
- ._Input--readOnly_rcfsp_102 ._Input-radioInner_rcfsp_130 {
407
+ ._Input--readOnly_1l0eg_104 ._Input-radioInner_1l0eg_132 {
201
408
  background-color: var(--credbuild-color-white);
202
409
  color: var(--credbuild-color-grey-04);
203
410
  cursor: default;
204
411
  }
205
- ._Input-radio_rcfsp_113 ._Input-radioInput_rcfsp_175:checked ~ ._Input-radioInner_rcfsp_130 {
412
+ ._Input-radio_1l0eg_115 ._Input-radioInput_1l0eg_177:checked ~ ._Input-radioInner_1l0eg_132 {
206
413
  background-color: var(--credbuild-color-azure-11);
207
414
  color: var(--credbuild-color-azure-04);
208
415
  font-weight: 500;
209
416
  }
210
- ._Input--readOnly_rcfsp_102 ._Input-radioInput_rcfsp_175:checked ~ ._Input-radioInner_rcfsp_130 {
417
+ ._Input--readOnly_1l0eg_104 ._Input-radioInput_1l0eg_177:checked ~ ._Input-radioInner_1l0eg_132 {
211
418
  background-color: var(--credbuild-color-grey-11);
212
419
  color: var(--credbuild-color-grey-04);
213
420
  }
214
- ._Input-radio_rcfsp_113 ._Input-radioInput_rcfsp_175 {
421
+ ._Input-radio_1l0eg_115 ._Input-radioInput_1l0eg_177 {
215
422
  clip: rect(0 0 0 0);
216
423
  clip-path: inset(100%);
217
424
  height: 1px;
@@ -220,11 +427,11 @@ select._Input-input_rcfsp_46:dir(rtl) {
220
427
  white-space: nowrap;
221
428
  width: 1px;
222
429
  }
223
- textarea._Input-input_rcfsp_46 {
430
+ textarea._Input-input_1l0eg_44 {
224
431
  margin-bottom: -4px;
225
432
  }
226
433
 
227
- /* css-module:/home/runner/work/credbuild/credbuild/components/ExternalInput/styles.module.css/#css-module-data */
434
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/ExternalInput/styles.module.css/#css-module-data */
228
435
  ._ExternalInput-actions_1gpb4_1 {
229
436
  display: flex;
230
437
  }
@@ -516,7 +723,7 @@ textarea._Input-input_rcfsp_46 {
516
723
  display: block;
517
724
  }
518
725
 
519
- /* css-module:/home/runner/work/credbuild/credbuild/components/Modal/styles.module.css/#css-module-data */
726
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Modal/styles.module.css/#css-module-data */
520
727
  ._Modal_b422s_1 {
521
728
  background: color-mix(in srgb, var(--credbuild-color-black) 75%, transparent);
522
729
  display: none;
@@ -544,7 +751,7 @@ textarea._Input-input_rcfsp_46 {
544
751
  max-height: 90dvh;
545
752
  }
546
753
 
547
- /* css-module:/home/runner/work/credbuild/credbuild/components/Heading/styles.module.css/#css-module-data */
754
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Heading/styles.module.css/#css-module-data */
548
755
  ._Heading_1tpsl_1 {
549
756
  display: block;
550
757
  color: var(--credbuild-color-black);
@@ -571,39 +778,17 @@ textarea._Input-input_rcfsp_46 {
571
778
  ._Heading--l_1tpsl_30 {
572
779
  font-size: var(--credbuild-font-size-l);
573
780
  }
574
- ._Heading--m_1tpsl_34 {
575
- font-size: var(--credbuild-font-size-m);
576
- }
577
- ._Heading--s_1tpsl_38 {
578
- font-size: var(--credbuild-font-size-s);
579
- }
580
- ._Heading--xs_1tpsl_42 {
581
- font-size: var(--credbuild-font-size-xs);
582
- }
583
-
584
- /* css-module:/home/runner/work/credbuild/credbuild/components/Loader/styles.module.css/#css-module-data */
585
- @keyframes _loader-animation_nacdm_1 {
586
- 0% {
587
- transform: rotate(0deg) scale(1);
588
- }
589
- 50% {
590
- transform: rotate(180deg) scale(0.8);
591
- }
592
- 100% {
593
- transform: rotate(360deg) scale(1);
594
- }
781
+ ._Heading--m_1tpsl_34 {
782
+ font-size: var(--credbuild-font-size-m);
595
783
  }
596
- ._Loader_nacdm_13 {
597
- background: transparent;
598
- border-radius: 100%;
599
- border: 2px solid currentColor;
600
- border-bottom-color: transparent;
601
- display: inline-block;
602
- animation: _loader-animation_nacdm_1 1s 0s infinite linear;
603
- animation-fill-mode: both;
784
+ ._Heading--s_1tpsl_38 {
785
+ font-size: var(--credbuild-font-size-s);
786
+ }
787
+ ._Heading--xs_1tpsl_42 {
788
+ font-size: var(--credbuild-font-size-xs);
604
789
  }
605
790
 
606
- /* css-module:/home/runner/work/credbuild/credbuild/components/Button/Button.module.css/#css-module-data */
791
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Button/Button.module.css/#css-module-data */
607
792
  ._Button_164uz_1 {
608
793
  appearance: none;
609
794
  background: none;
@@ -696,52 +881,7 @@ textarea._Input-input_rcfsp_46 {
696
881
  padding-inline-start: 8px;
697
882
  }
698
883
 
699
- /* css-module:/home/runner/work/credbuild/credbuild/components/IconButton/IconButton.module.css/#css-module-data */
700
- ._IconButton_1a0fz_1 {
701
- align-items: center;
702
- background: transparent;
703
- border: none;
704
- border-radius: var(--cb-radius-m);
705
- color: currentColor;
706
- display: flex;
707
- font-family: var(--credbuild-font-family);
708
- justify-content: center;
709
- padding: 2px;
710
- transition: all 0.2s ease;
711
- }
712
- ._IconButton--active_1a0fz_14 {
713
- color: var(--credbuild-color-azure-04);
714
- }
715
- ._IconButton_1a0fz_1:focus-visible {
716
- outline: 2px solid var(--credbuild-color-azure-05);
717
- outline-offset: -2px;
718
- }
719
- @media (hover: hover) and (pointer: fine) {
720
- ._IconButton_1a0fz_1:hover:not(._IconButton--disabled_1a0fz_24) {
721
- background: var(--credbuild-color-grey-10);
722
- color: var(--credbuild-color-azure-04);
723
- cursor: pointer;
724
- transition: none;
725
- }
726
- }
727
- ._IconButton_1a0fz_1:active {
728
- background: var(--credbuild-color-azure-11);
729
- transition: none;
730
- }
731
- ._IconButton-title_1a0fz_37 {
732
- clip: rect(0 0 0 0);
733
- clip-path: inset(100%);
734
- height: 1px;
735
- overflow: hidden;
736
- position: absolute;
737
- white-space: nowrap;
738
- width: 1px;
739
- }
740
- ._IconButton--disabled_1a0fz_24 {
741
- color: var(--credbuild-color-grey-07);
742
- }
743
-
744
- /* css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/styles.module.css/#css-module-data */
884
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/RichTextMenu/styles.module.css/#css-module-data */
745
885
  ._RichTextMenu_193iw_1 {
746
886
  display: flex;
747
887
  flex-direction: row;
@@ -783,7 +923,7 @@ textarea._Input-input_rcfsp_46 {
783
923
  border-left: 0.5px solid var(--credbuild-color-grey-05);
784
924
  }
785
925
 
786
- /* css-module:/home/runner/work/credbuild/credbuild/components/ActionBar/styles.module.css/#css-module-data */
926
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/ActionBar/styles.module.css/#css-module-data */
787
927
  ._ActionBar_ze0ci_1 {
788
928
  align-items: center;
789
929
  cursor: default;
@@ -878,7 +1018,7 @@ textarea._Input-input_rcfsp_46 {
878
1018
  height: 100%;
879
1019
  }
880
1020
 
881
- /* css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
1021
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
882
1022
  ._Control_1aveu_1 .lucide {
883
1023
  height: 18px;
884
1024
  width: 18px;
@@ -888,7 +1028,7 @@ textarea._Input-input_rcfsp_46 {
888
1028
  width: 16px;
889
1029
  }
890
1030
 
891
- /* css-module:/home/runner/work/credbuild/credbuild/components/Select/styles.module.css/#css-module-data */
1031
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Select/styles.module.css/#css-module-data */
892
1032
  ._Select_16son_1 {
893
1033
  position: relative;
894
1034
  z-index: 1;
@@ -976,7 +1116,7 @@ textarea._Input-input_rcfsp_46 {
976
1116
  color: var(--credbuild-color-azure-04);
977
1117
  }
978
1118
 
979
- /* css-module:/home/runner/work/credbuild/credbuild/components/RichTextEditor/styles.module.css/#css-module-data */
1119
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/RichTextEditor/styles.module.css/#css-module-data */
980
1120
  ._RichTextEditor_hp4qf_1 .ProseMirror {
981
1121
  white-space: pre-wrap;
982
1122
  word-wrap: break-word;
@@ -1079,194 +1219,55 @@ textarea._Input-input_rcfsp_46 {
1079
1219
  border-bottom: 1px solid var(--credbuild-color-grey-09);
1080
1220
  }
1081
1221
 
1082
- /* css-module:/home/runner/work/credbuild/credbuild/components/AutoField/fields/ArrayField/styles.module.css/#css-module-data */
1083
- ._ArrayField_rvhj3_5 {
1222
+ /* css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/AutoField/fields/ObjectField/styles.module.css/#css-module-data */
1223
+ ._ObjectField_12pvo_1 {
1084
1224
  display: flex;
1085
1225
  flex-direction: column;
1086
- background: var(--credbuild-color-azure-11);
1087
- border: 1px solid var(--credbuild-color-grey-09);
1088
- border-radius: 4px;
1089
- }
1090
- ._ArrayField--isDraggingFrom_rvhj3_13 {
1091
- background-color: var(--credbuild-color-azure-11);
1092
- overflow: hidden;
1093
- }
1094
- ._ArrayField-addButton_rvhj3_18 {
1095
- background-color: var(--credbuild-color-white);
1096
- border: none;
1097
- border-radius: 3px;
1098
- display: flex;
1099
- color: var(--credbuild-color-azure-05);
1100
- justify-content: center;
1101
- cursor: pointer;
1102
- width: 100%;
1103
- margin: 0;
1104
- padding: 14px;
1105
- text-align: left;
1106
- transition: background-color 50ms ease-in;
1107
- }
1108
- ._ArrayField--hasItems_rvhj3_33 > ._ArrayField-addButton_rvhj3_18 {
1109
- border-top: 1px solid var(--credbuild-color-grey-09);
1110
- border-top-left-radius: 0;
1111
- border-top-right-radius: 0;
1112
- }
1113
- ._ArrayField-addButton_rvhj3_18:focus-visible {
1114
- outline: 2px solid var(--credbuild-color-azure-05);
1115
- outline-offset: 2px;
1116
- position: relative;
1117
- }
1118
- @media (hover: hover) and (pointer: fine) {
1119
- ._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:hover {
1120
- background: var(--credbuild-color-azure-12);
1121
- color: var(--credbuild-color-azure-04);
1122
- transition: none;
1123
- }
1124
- }
1125
- ._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:active {
1126
- background: var(--credbuild-color-azure-11);
1127
- color: var(--credbuild-color-azure-04);
1128
- transition: none;
1129
- }
1130
- ._ArrayField-inner_rvhj3_59 {
1131
- margin-top: -1px;
1132
- }
1133
- ._ArrayFieldItem_rvhj3_67 {
1134
- border-top-left-radius: 3px;
1135
- border-top-right-radius: 3px;
1136
- display: block;
1137
- position: relative;
1138
- }
1139
- ._ArrayFieldItem_rvhj3_67 {
1140
- border-top: 1px solid var(--credbuild-color-grey-09);
1141
- }
1142
- ._ArrayFieldItem--isDragging_rvhj3_78 {
1143
- border-top: transparent;
1144
- }
1145
- ._ArrayFieldItem--isExpanded_rvhj3_82::before {
1146
- display: none;
1147
- }
1148
- ._ArrayFieldItem--isExpanded_rvhj3_82 {
1149
- border-bottom: 0;
1150
- outline-offset: 0px !important;
1151
- outline: 1px solid var(--credbuild-color-azure-07) !important;
1152
- z-index: 2;
1153
- }
1154
- ._ArrayFieldItem--isDragging_rvhj3_78 {
1155
- outline: 2px var(--credbuild-color-azure-09) solid !important;
1156
- }
1157
- ._ArrayFieldItem--isDragging_rvhj3_78 ._ArrayFieldItem-summary_rvhj3_97:active {
1158
- background-color: var(--credbuild-color-white);
1159
- }
1160
- ._ArrayFieldItem_rvhj3_67 + ._ArrayFieldItem_rvhj3_67 {
1161
- border-top-left-radius: 0;
1162
- border-top-right-radius: 0;
1163
- }
1164
- ._ArrayFieldItem-summary_rvhj3_97 {
1165
- background: var(--credbuild-color-white);
1166
- color: var(--credbuild-color-grey-04);
1167
- cursor: pointer;
1168
- display: flex;
1169
- align-items: center;
1170
- gap: 4px;
1171
- justify-content: space-between;
1172
- font-size: 11px;
1173
- list-style: none;
1174
- padding: 4px 10px;
1175
- position: relative;
1226
+ background-color: transparent;
1227
+ margin-bottom: 0;
1176
1228
  overflow: hidden;
1177
- transition: background-color 50ms ease-in;
1178
- }
1179
- ._ArrayFieldItem--noFields_rvhj3_122 > ._ArrayFieldItem-summary_rvhj3_97 {
1180
- cursor: grab;
1181
- }
1182
- ._ArrayFieldItem_rvhj3_67:first-of-type > ._ArrayFieldItem-summary_rvhj3_97 {
1183
- border-top-left-radius: 3px;
1184
- border-top-right-radius: 3px;
1185
- }
1186
- ._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem_rvhj3_67:last-of-type:not(._ArrayFieldItem--isExpanded_rvhj3_82) > ._ArrayFieldItem-summary_rvhj3_97 {
1187
- border-bottom-left-radius: 3px;
1188
- border-bottom-right-radius: 3px;
1189
- }
1190
- ._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem--isExpanded_rvhj3_82:last-of-type {
1191
- border-bottom-left-radius: 3px;
1192
- border-bottom-right-radius: 3px;
1193
- }
1194
- ._ArrayFieldItem-summary_rvhj3_97:focus-visible {
1195
- outline: 2px solid var(--credbuild-color-azure-05);
1196
- outline-offset: 2px;
1197
- }
1198
- @media (hover: hover) and (pointer: fine) {
1199
- ._ArrayFieldItem-summary_rvhj3_97:hover {
1200
- background-color: var(--credbuild-color-azure-12);
1201
- transition: none;
1202
- }
1203
- }
1204
- ._ArrayFieldItem-summary_rvhj3_97:active {
1205
- background-color: var(--credbuild-color-azure-11);
1206
- transition: none;
1207
- }
1208
- ._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-summary_rvhj3_97 {
1209
- background: var(--credbuild-color-azure-11);
1210
- color: var(--credbuild-color-azure-04);
1211
- font-weight: 600;
1212
- transition: none;
1229
+ transition: all 0.2s ease;
1213
1230
  }
1214
- ._ArrayFieldItem-body_rvhj3_170 {
1215
- background: var(--credbuild-color-white);
1216
- display: none;
1231
+ ._ObjectField--isOpen_12pvo_10 {
1232
+ background-color: transparent;
1217
1233
  }
1218
- ._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-body_rvhj3_170 {
1219
- display: block;
1234
+ ._ObjectField-content_12pvo_14 {
1235
+ background-color: transparent;
1220
1236
  }
1221
- ._ArrayFieldItem-fieldset_rvhj3_179 {
1237
+ ._ObjectField-fieldset_12pvo_18 {
1222
1238
  border: none;
1223
- border-top: 1px solid var(--credbuild-color-grey-09);
1224
1239
  margin: 0;
1225
1240
  min-width: 0;
1226
- padding: 6px 10px;
1227
- }
1228
- ._ArrayFieldItem-rhs_rvhj3_187 {
1241
+ padding: 0 0 8px 12px;
1229
1242
  display: flex;
1243
+ flex-direction: column;
1230
1244
  gap: 4px;
1231
- align-items: center;
1245
+ border-left: 1px solid var(--credbuild-color-grey-10);
1246
+ margin-left: 8px;
1232
1247
  }
1233
- ._ArrayFieldItem-actions_rvhj3_193 {
1234
- color: var(--credbuild-color-grey-04);
1248
+ ._ObjectField-header_12pvo_30 {
1249
+ background-color: transparent;
1250
+ border: 0;
1251
+ color: var(--credbuild-color-grey-05);
1252
+ cursor: pointer;
1235
1253
  display: flex;
1254
+ font: inherit;
1255
+ font-size: var(--credbuild-font-size-xxxs);
1256
+ list-style: none;
1257
+ margin-bottom: 2px;
1258
+ padding: 4px 8px;
1259
+ transition: background-color 50ms ease-in, color 50ms ease-in;
1236
1260
  gap: 4px;
1237
- opacity: 0;
1238
- }
1239
- ._ArrayFieldItem-summary_rvhj3_97:focus-within > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193,
1240
- ._ArrayFieldItem-summary_rvhj3_97:hover > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193 {
1241
- opacity: 1;
1242
- }
1243
-
1244
- /* css-module:/home/runner/work/credbuild/credbuild/components/DragIcon/styles.module.css/#css-module-data */
1245
- ._DragIcon_ei1r9_1 {
1246
- color: var(--credbuild-color-grey-05);
1247
- cursor: grab;
1248
- padding: 4px;
1249
1261
  border-radius: 4px;
1262
+ width: 100%;
1263
+ align-items: center;
1250
1264
  }
1251
- ._DragIcon--disabled_ei1r9_8 {
1252
- cursor: no-drop;
1253
- }
1254
- @media (hover: hover) and (pointer: fine) {
1255
- ._DragIcon_ei1r9_1:not(._DragIcon--disabled_ei1r9_8):hover {
1256
- color: var(--credbuild-color-azure-05);
1257
- background-color: var(--credbuild-color-azure-12);
1258
- }
1259
- }
1260
-
1261
- /* components/Sortable/styles.css */
1262
- [data-dnd-placeholder] * {
1263
- opacity: 0 !important;
1265
+ ._ObjectField-header_12pvo_30:hover {
1266
+ background-color: var(--credbuild-color-azure-11);
1267
+ color: var(--credbuild-color-azure-04);
1264
1268
  }
1265
- [data-dnd-placeholder] {
1266
- background: var(--credbuild-color-azure-09) !important;
1267
- border: none !important;
1268
- color: #00000000 !important;
1269
- opacity: 0.3 !important;
1270
- outline: none !important;
1271
- transition: none !important;
1269
+ ._ObjectField-headerIcon_12pvo_53 {
1270
+ margin-inline-start: auto;
1271
+ display: flex;
1272
+ align-items: center;
1272
1273
  }