@crediblemark/build 0.24.9 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -152
- package/dist/{ArrayField-ABD3HGQK.css → ArrayField-HGGIE5AL.css} +73 -72
- package/dist/ArrayField-N36WXYIG.mjs +19 -0
- package/dist/{Editor-3EPLDK4J.mjs → Editor-CD7CMRO5.mjs} +7 -7
- package/dist/{ObjectField-RGVFMP6O.css → ObjectField-NKMT3CLS.css} +73 -72
- package/dist/ObjectField-RMXFC6TI.mjs +19 -0
- package/dist/{actions-CEH_5LMY.d.mts → actions-LaZpJ1KE.d.mts} +6 -1
- package/dist/{actions-CEH_5LMY.d.ts → actions-LaZpJ1KE.d.ts} +6 -1
- package/dist/{chunk-NV5F47RH.mjs → chunk-3S3KWE2J.mjs} +7 -7
- package/dist/{chunk-VE6BIQKS.mjs → chunk-BC5TH63U.mjs} +1 -1
- package/dist/{chunk-XLNVCM4Q.mjs → chunk-BPBYJDIJ.mjs} +129 -135
- package/dist/{chunk-5JSNFZKX.mjs → chunk-JKWSSGAY.mjs} +7 -7
- package/dist/{chunk-MFTVX2ME.mjs → chunk-MLM27DOG.mjs} +1 -1
- package/dist/{chunk-VZMLLRBL.mjs → chunk-NJZPPQVT.mjs} +4 -4
- package/dist/{chunk-KUWVOWUV.mjs → chunk-NSDGBGNG.mjs} +1 -1
- package/dist/{chunk-SJLXKGIW.mjs → chunk-OUXISRNA.mjs} +13 -13
- package/dist/{chunk-XQ5K5BWA.mjs → chunk-PQXVFRLA.mjs} +9 -9
- package/dist/{chunk-WH3A7FAR.mjs → chunk-UPNU77XM.mjs} +1 -1
- package/dist/{chunk-YE4FXNJW.mjs → chunk-WEPD3OBO.mjs} +2 -2
- package/dist/{full-SYDEKGLJ.mjs → full-HTQAR5N2.mjs} +5 -5
- package/dist/{index-CkSfgrvw.d.ts → index-Bj2x5pZ7.d.ts} +1 -1
- package/dist/{index-Cxwg4vUV.d.mts → index-CD3PszvP.d.mts} +1 -1
- package/dist/index.css +73 -72
- package/dist/index.d.mts +5 -10
- package/dist/index.d.ts +5 -10
- package/dist/index.js +206 -220
- package/dist/index.mjs +11 -11
- package/dist/internal.d.mts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/{loaded-NHGZU7V3.mjs → loaded-AHSNCA4P.mjs} +2 -2
- package/dist/{loaded-5JH76RZT.mjs → loaded-CDAPR2WZ.mjs} +2 -2
- package/dist/{loaded-ON5OAY2P.mjs → loaded-Q7N3MNZB.mjs} +2 -2
- package/dist/no-external.css +73 -72
- package/dist/no-external.d.mts +3 -3
- package/dist/no-external.d.ts +3 -3
- package/dist/no-external.js +206 -220
- package/dist/no-external.mjs +11 -11
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/{walk-tree-B4ZvMfxS.d.ts → walk-tree-BEw6kTXm.d.ts} +1 -1
- package/dist/{walk-tree-C78ZVz19.d.mts → walk-tree-BO8uRNcW.d.mts} +1 -1
- package/package.json +1 -1
- package/dist/ArrayField-OPQ2CJX7.mjs +0 -19
- package/dist/ObjectField-ITKHRUX2.mjs +0 -19
package/dist/index.mjs
CHANGED
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
registerOverlayPortal,
|
|
16
16
|
useCredBuild,
|
|
17
17
|
useGetCredBuild
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-OUXISRNA.mjs";
|
|
19
|
+
import "./chunk-WEPD3OBO.mjs";
|
|
20
20
|
import {
|
|
21
21
|
setDeep
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-NJZPPQVT.mjs";
|
|
23
|
+
import "./chunk-3S3KWE2J.mjs";
|
|
24
24
|
import {
|
|
25
25
|
AutoField,
|
|
26
26
|
Button,
|
|
27
27
|
FieldLabel
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-PQXVFRLA.mjs";
|
|
29
|
+
import "./chunk-UPNU77XM.mjs";
|
|
30
30
|
import {
|
|
31
31
|
migrate,
|
|
32
32
|
resolveAllData,
|
|
@@ -41,11 +41,11 @@ import {
|
|
|
41
41
|
Label,
|
|
42
42
|
RichTextMenu,
|
|
43
43
|
Separator
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-JKWSSGAY.mjs";
|
|
45
|
+
import "./chunk-MLM27DOG.mjs";
|
|
46
|
+
import "./chunk-NSDGBGNG.mjs";
|
|
47
|
+
import "./chunk-BC5TH63U.mjs";
|
|
48
|
+
import "./chunk-BPBYJDIJ.mjs";
|
|
49
49
|
import "./chunk-64A37UUC.mjs";
|
|
50
50
|
import "./chunk-SMAWAXVX.mjs";
|
|
51
51
|
import "./chunk-BFHV72KK.mjs";
|
package/dist/internal.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Reducer } from 'react';
|
|
2
|
-
import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, C as CredBuildAction } from './actions-
|
|
3
|
-
import { A as AppStore } from './index-
|
|
2
|
+
import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, C as CredBuildAction } from './actions-LaZpJ1KE.mjs';
|
|
3
|
+
import { A as AppStore } from './index-CD3PszvP.mjs';
|
|
4
4
|
import '@tiptap/react';
|
|
5
5
|
import '@tiptap/extension-blockquote';
|
|
6
6
|
import '@tiptap/extension-bold';
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Reducer } from 'react';
|
|
2
|
-
import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, C as CredBuildAction } from './actions-
|
|
3
|
-
import { A as AppStore } from './index-
|
|
2
|
+
import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, C as CredBuildAction } from './actions-LaZpJ1KE.js';
|
|
3
|
+
import { A as AppStore } from './index-Bj2x5pZ7.js';
|
|
4
4
|
import '@tiptap/react';
|
|
5
5
|
import '@tiptap/extension-blockquote';
|
|
6
6
|
import '@tiptap/extension-bold';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useHeadingOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NSDGBGNG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Heading,
|
|
6
6
|
SelectControl,
|
|
7
7
|
useControlContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BPBYJDIJ.mjs";
|
|
9
9
|
import "./chunk-64A37UUC.mjs";
|
|
10
10
|
import "./chunk-SMAWAXVX.mjs";
|
|
11
11
|
import "./chunk-BFHV72KK.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useListOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BC5TH63U.mjs";
|
|
4
4
|
import {
|
|
5
5
|
List,
|
|
6
6
|
SelectControl,
|
|
7
7
|
useControlContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BPBYJDIJ.mjs";
|
|
9
9
|
import "./chunk-64A37UUC.mjs";
|
|
10
10
|
import "./chunk-SMAWAXVX.mjs";
|
|
11
11
|
import "./chunk-BFHV72KK.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAlignOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MLM27DOG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
SelectControl,
|
|
6
6
|
TextAlignStart,
|
|
7
7
|
useControlContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BPBYJDIJ.mjs";
|
|
9
9
|
import "./chunk-64A37UUC.mjs";
|
|
10
10
|
import "./chunk-SMAWAXVX.mjs";
|
|
11
11
|
import "./chunk-BFHV72KK.mjs";
|
package/dist/no-external.css
CHANGED
|
@@ -240,44 +240,45 @@
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
/* css-module:/home/crediblemark/Project/Credibuild/components/AutoField/styles.module.css/#css-module-data */
|
|
243
|
-
.
|
|
243
|
+
._InputWrapper_rcfsp_1:not(._InputWrapper--object_rcfsp_1):not(._InputWrapper--array_rcfsp_1) {
|
|
244
244
|
border: 1px solid var(--credbuild-color-grey-10);
|
|
245
245
|
border-radius: 5px;
|
|
246
|
-
padding:
|
|
246
|
+
padding: 4px 8px;
|
|
247
247
|
background-color: var(--credbuild-color-white);
|
|
248
248
|
transition: all 0.2s ease;
|
|
249
249
|
}
|
|
250
|
-
.
|
|
250
|
+
._InputWrapper_rcfsp_1 + ._InputWrapper_rcfsp_1 {
|
|
251
251
|
margin-top: 2px;
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
._InputWrapper_rcfsp_1:not(._InputWrapper--object_rcfsp_1):not(._InputWrapper--array_rcfsp_1):hover {
|
|
254
254
|
border-color: var(--credbuild-color-grey-08);
|
|
255
255
|
background-color: var(--credbuild-color-grey-11);
|
|
256
256
|
}
|
|
257
|
-
._Input-
|
|
257
|
+
._Input-label_rcfsp_18 {
|
|
258
258
|
align-items: center;
|
|
259
|
-
color: var(--credbuild-color-grey-
|
|
259
|
+
color: var(--credbuild-color-grey-06);
|
|
260
260
|
display: flex;
|
|
261
261
|
padding-bottom: 2px;
|
|
262
|
-
font-size:
|
|
262
|
+
font-size: 9px;
|
|
263
263
|
font-weight: 500;
|
|
264
264
|
text-transform: uppercase;
|
|
265
|
-
letter-spacing: 0.
|
|
265
|
+
letter-spacing: 0.08em;
|
|
266
|
+
opacity: 0.7;
|
|
266
267
|
}
|
|
267
|
-
._Input-label--
|
|
268
|
+
._Input-label--noChildren_rcfsp_30 {
|
|
268
269
|
padding-bottom: 0;
|
|
269
270
|
}
|
|
270
|
-
._Input-
|
|
271
|
+
._Input-labelIcon_rcfsp_34 {
|
|
271
272
|
color: var(--credbuild-color-grey-07);
|
|
272
273
|
display: flex;
|
|
273
274
|
margin-inline-end: 4px;
|
|
274
275
|
padding-inline-start: 4px;
|
|
275
276
|
}
|
|
276
|
-
._Input-
|
|
277
|
+
._Input-disabledIcon_rcfsp_41 {
|
|
277
278
|
color: var(--credbuild-color-grey-05);
|
|
278
279
|
margin-inline-start: auto;
|
|
279
280
|
}
|
|
280
|
-
._Input-
|
|
281
|
+
._Input-input_rcfsp_46 {
|
|
281
282
|
background: transparent;
|
|
282
283
|
border: none;
|
|
283
284
|
border-radius: 0;
|
|
@@ -292,11 +293,11 @@
|
|
|
292
293
|
outline: none;
|
|
293
294
|
}
|
|
294
295
|
@media (min-width: 458px) {
|
|
295
|
-
._Input-
|
|
296
|
-
font-size:
|
|
296
|
+
._Input-input_rcfsp_46 {
|
|
297
|
+
font-size: 12px;
|
|
297
298
|
}
|
|
298
299
|
}
|
|
299
|
-
select._Input-
|
|
300
|
+
select._Input-input_rcfsp_46 {
|
|
300
301
|
appearance: none;
|
|
301
302
|
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;
|
|
302
303
|
background-size: 12px;
|
|
@@ -305,29 +306,29 @@ select._Input-input_1xuyz_45 {
|
|
|
305
306
|
background-color: var(--credbuild-color-white);
|
|
306
307
|
cursor: pointer;
|
|
307
308
|
}
|
|
308
|
-
select._Input-
|
|
309
|
+
select._Input-input_rcfsp_46:dir(rtl) {
|
|
309
310
|
background-position: 12px calc(50% + 3px);
|
|
310
311
|
}
|
|
311
312
|
@media (hover: hover) and (pointer: fine) {
|
|
312
|
-
.
|
|
313
|
-
.
|
|
313
|
+
._Input_rcfsp_1:has(> input):hover ._Input-input_rcfsp_46:not([readonly]),
|
|
314
|
+
._Input_rcfsp_1:has(> textarea):hover ._Input-input_rcfsp_46:not([readonly]) {
|
|
314
315
|
border-color: var(--credbuild-color-grey-05);
|
|
315
316
|
transition: none;
|
|
316
317
|
}
|
|
317
|
-
.
|
|
318
|
+
._Input_rcfsp_1:has(> select):hover ._Input-input_rcfsp_46:not([disabled]) {
|
|
318
319
|
background-color: var(--credbuild-color-azure-12);
|
|
319
320
|
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>");
|
|
320
321
|
border-color: var(--credbuild-color-grey-05);
|
|
321
322
|
transition: none;
|
|
322
323
|
}
|
|
323
324
|
}
|
|
324
|
-
._Input-
|
|
325
|
+
._Input-input_rcfsp_46:focus {
|
|
325
326
|
border-color: var(--credbuild-color-grey-05);
|
|
326
327
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
327
328
|
transition: none;
|
|
328
329
|
}
|
|
329
|
-
._Input--
|
|
330
|
-
._Input--
|
|
330
|
+
._Input--readOnly_rcfsp_102 > ._Input-input_rcfsp_46,
|
|
331
|
+
._Input--readOnly_rcfsp_102 > select._Input-input_rcfsp_46 {
|
|
331
332
|
background-color: var(--credbuild-color-grey-11);
|
|
332
333
|
border-color: var(--credbuild-color-grey-09);
|
|
333
334
|
color: var(--credbuild-color-grey-04);
|
|
@@ -336,34 +337,34 @@ select._Input-input_1xuyz_45:dir(rtl) {
|
|
|
336
337
|
outline: 0;
|
|
337
338
|
transition: none;
|
|
338
339
|
}
|
|
339
|
-
._Input-
|
|
340
|
+
._Input-radioGroupItems_rcfsp_113 {
|
|
340
341
|
display: flex;
|
|
341
342
|
border: 1px solid var(--credbuild-color-grey-09);
|
|
342
343
|
border-radius: 4px;
|
|
343
344
|
flex-wrap: wrap;
|
|
344
345
|
}
|
|
345
|
-
._Input-
|
|
346
|
+
._Input-radio_rcfsp_113 {
|
|
346
347
|
border-inline-end: 1px solid var(--credbuild-color-grey-09);
|
|
347
348
|
flex-grow: 1;
|
|
348
349
|
}
|
|
349
|
-
._Input-
|
|
350
|
+
._Input-radio_rcfsp_113:first-of-type {
|
|
350
351
|
border-bottom-left-radius: 4px;
|
|
351
352
|
border-top-left-radius: 4px;
|
|
352
353
|
}
|
|
353
|
-
._Input-
|
|
354
|
+
._Input-radio_rcfsp_113:first-of-type ._Input-radioInner_rcfsp_130 {
|
|
354
355
|
border-bottom-left-radius: 3px;
|
|
355
356
|
border-top-left-radius: 3px;
|
|
356
357
|
}
|
|
357
|
-
._Input-
|
|
358
|
+
._Input-radio_rcfsp_113:last-of-type {
|
|
358
359
|
border-bottom-right-radius: 4px;
|
|
359
360
|
border-inline-end: 0;
|
|
360
361
|
border-top-right-radius: 4px;
|
|
361
362
|
}
|
|
362
|
-
._Input-
|
|
363
|
+
._Input-radio_rcfsp_113:last-of-type ._Input-radioInner_rcfsp_130 {
|
|
363
364
|
border-bottom-right-radius: 3px;
|
|
364
365
|
border-top-right-radius: 3px;
|
|
365
366
|
}
|
|
366
|
-
._Input-
|
|
367
|
+
._Input-radioInner_rcfsp_130 {
|
|
367
368
|
background-color: var(--credbuild-color-white);
|
|
368
369
|
color: var(--credbuild-color-grey-04);
|
|
369
370
|
cursor: pointer;
|
|
@@ -372,32 +373,32 @@ select._Input-input_1xuyz_45:dir(rtl) {
|
|
|
372
373
|
text-align: center;
|
|
373
374
|
transition: background-color 50ms ease-in;
|
|
374
375
|
}
|
|
375
|
-
._Input-
|
|
376
|
+
._Input-radio_rcfsp_113:has(:focus-visible) {
|
|
376
377
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
377
378
|
outline-offset: 2px;
|
|
378
379
|
position: relative;
|
|
379
380
|
}
|
|
380
381
|
@media (hover: hover) and (pointer: fine) {
|
|
381
|
-
._Input-
|
|
382
|
+
._Input-radioInner_rcfsp_130:hover {
|
|
382
383
|
background-color: var(--credbuild-color-azure-12);
|
|
383
384
|
transition: none;
|
|
384
385
|
}
|
|
385
386
|
}
|
|
386
|
-
._Input--
|
|
387
|
+
._Input--readOnly_rcfsp_102 ._Input-radioInner_rcfsp_130 {
|
|
387
388
|
background-color: var(--credbuild-color-white);
|
|
388
389
|
color: var(--credbuild-color-grey-04);
|
|
389
390
|
cursor: default;
|
|
390
391
|
}
|
|
391
|
-
._Input-
|
|
392
|
+
._Input-radio_rcfsp_113 ._Input-radioInput_rcfsp_175:checked ~ ._Input-radioInner_rcfsp_130 {
|
|
392
393
|
background-color: var(--credbuild-color-azure-11);
|
|
393
394
|
color: var(--credbuild-color-azure-04);
|
|
394
395
|
font-weight: 500;
|
|
395
396
|
}
|
|
396
|
-
._Input--
|
|
397
|
+
._Input--readOnly_rcfsp_102 ._Input-radioInput_rcfsp_175:checked ~ ._Input-radioInner_rcfsp_130 {
|
|
397
398
|
background-color: var(--credbuild-color-grey-11);
|
|
398
399
|
color: var(--credbuild-color-grey-04);
|
|
399
400
|
}
|
|
400
|
-
._Input-
|
|
401
|
+
._Input-radio_rcfsp_113 ._Input-radioInput_rcfsp_175 {
|
|
401
402
|
clip: rect(0 0 0 0);
|
|
402
403
|
clip-path: inset(100%);
|
|
403
404
|
height: 1px;
|
|
@@ -406,7 +407,7 @@ select._Input-input_1xuyz_45:dir(rtl) {
|
|
|
406
407
|
white-space: nowrap;
|
|
407
408
|
width: 1px;
|
|
408
409
|
}
|
|
409
|
-
textarea._Input-
|
|
410
|
+
textarea._Input-input_rcfsp_46 {
|
|
410
411
|
margin-bottom: -4px;
|
|
411
412
|
}
|
|
412
413
|
|
|
@@ -1171,18 +1172,18 @@ textarea._Input-input_1xuyz_45 {
|
|
|
1171
1172
|
}
|
|
1172
1173
|
|
|
1173
1174
|
/* css-module:/home/crediblemark/Project/Credibuild/components/AutoField/fields/ArrayField/styles.module.css/#css-module-data */
|
|
1174
|
-
.
|
|
1175
|
+
._ArrayField_rvhj3_5 {
|
|
1175
1176
|
display: flex;
|
|
1176
1177
|
flex-direction: column;
|
|
1177
1178
|
background: var(--credbuild-color-azure-11);
|
|
1178
1179
|
border: 1px solid var(--credbuild-color-grey-09);
|
|
1179
1180
|
border-radius: 4px;
|
|
1180
1181
|
}
|
|
1181
|
-
._ArrayField--
|
|
1182
|
+
._ArrayField--isDraggingFrom_rvhj3_13 {
|
|
1182
1183
|
background-color: var(--credbuild-color-azure-11);
|
|
1183
1184
|
overflow: hidden;
|
|
1184
1185
|
}
|
|
1185
|
-
._ArrayField-
|
|
1186
|
+
._ArrayField-addButton_rvhj3_18 {
|
|
1186
1187
|
background-color: var(--credbuild-color-white);
|
|
1187
1188
|
border: none;
|
|
1188
1189
|
border-radius: 3px;
|
|
@@ -1196,139 +1197,139 @@ textarea._Input-input_1xuyz_45 {
|
|
|
1196
1197
|
text-align: left;
|
|
1197
1198
|
transition: background-color 50ms ease-in;
|
|
1198
1199
|
}
|
|
1199
|
-
._ArrayField--
|
|
1200
|
+
._ArrayField--hasItems_rvhj3_33 > ._ArrayField-addButton_rvhj3_18 {
|
|
1200
1201
|
border-top: 1px solid var(--credbuild-color-grey-09);
|
|
1201
1202
|
border-top-left-radius: 0;
|
|
1202
1203
|
border-top-right-radius: 0;
|
|
1203
1204
|
}
|
|
1204
|
-
._ArrayField-
|
|
1205
|
+
._ArrayField-addButton_rvhj3_18:focus-visible {
|
|
1205
1206
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
1206
1207
|
outline-offset: 2px;
|
|
1207
1208
|
position: relative;
|
|
1208
1209
|
}
|
|
1209
1210
|
@media (hover: hover) and (pointer: fine) {
|
|
1210
|
-
.
|
|
1211
|
+
._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:hover {
|
|
1211
1212
|
background: var(--credbuild-color-azure-12);
|
|
1212
1213
|
color: var(--credbuild-color-azure-04);
|
|
1213
1214
|
transition: none;
|
|
1214
1215
|
}
|
|
1215
1216
|
}
|
|
1216
|
-
.
|
|
1217
|
+
._ArrayField_rvhj3_5:not(._ArrayField--isDraggingFrom_rvhj3_13) > ._ArrayField-addButton_rvhj3_18:active {
|
|
1217
1218
|
background: var(--credbuild-color-azure-11);
|
|
1218
1219
|
color: var(--credbuild-color-azure-04);
|
|
1219
1220
|
transition: none;
|
|
1220
1221
|
}
|
|
1221
|
-
._ArrayField-
|
|
1222
|
+
._ArrayField-inner_rvhj3_59 {
|
|
1222
1223
|
margin-top: -1px;
|
|
1223
1224
|
}
|
|
1224
|
-
.
|
|
1225
|
+
._ArrayFieldItem_rvhj3_67 {
|
|
1225
1226
|
border-top-left-radius: 3px;
|
|
1226
1227
|
border-top-right-radius: 3px;
|
|
1227
1228
|
display: block;
|
|
1228
1229
|
position: relative;
|
|
1229
1230
|
}
|
|
1230
|
-
.
|
|
1231
|
+
._ArrayFieldItem_rvhj3_67 {
|
|
1231
1232
|
border-top: 1px solid var(--credbuild-color-grey-09);
|
|
1232
1233
|
}
|
|
1233
|
-
._ArrayFieldItem--
|
|
1234
|
+
._ArrayFieldItem--isDragging_rvhj3_78 {
|
|
1234
1235
|
border-top: transparent;
|
|
1235
1236
|
}
|
|
1236
|
-
._ArrayFieldItem--
|
|
1237
|
+
._ArrayFieldItem--isExpanded_rvhj3_82::before {
|
|
1237
1238
|
display: none;
|
|
1238
1239
|
}
|
|
1239
|
-
._ArrayFieldItem--
|
|
1240
|
+
._ArrayFieldItem--isExpanded_rvhj3_82 {
|
|
1240
1241
|
border-bottom: 0;
|
|
1241
1242
|
outline-offset: 0px !important;
|
|
1242
1243
|
outline: 1px solid var(--credbuild-color-azure-07) !important;
|
|
1243
1244
|
z-index: 2;
|
|
1244
1245
|
}
|
|
1245
|
-
._ArrayFieldItem--
|
|
1246
|
+
._ArrayFieldItem--isDragging_rvhj3_78 {
|
|
1246
1247
|
outline: 2px var(--credbuild-color-azure-09) solid !important;
|
|
1247
1248
|
}
|
|
1248
|
-
._ArrayFieldItem--
|
|
1249
|
+
._ArrayFieldItem--isDragging_rvhj3_78 ._ArrayFieldItem-summary_rvhj3_97:active {
|
|
1249
1250
|
background-color: var(--credbuild-color-white);
|
|
1250
1251
|
}
|
|
1251
|
-
.
|
|
1252
|
+
._ArrayFieldItem_rvhj3_67 + ._ArrayFieldItem_rvhj3_67 {
|
|
1252
1253
|
border-top-left-radius: 0;
|
|
1253
1254
|
border-top-right-radius: 0;
|
|
1254
1255
|
}
|
|
1255
|
-
._ArrayFieldItem-
|
|
1256
|
+
._ArrayFieldItem-summary_rvhj3_97 {
|
|
1256
1257
|
background: var(--credbuild-color-white);
|
|
1257
1258
|
color: var(--credbuild-color-grey-04);
|
|
1258
1259
|
cursor: pointer;
|
|
1259
1260
|
display: flex;
|
|
1260
1261
|
align-items: center;
|
|
1261
|
-
gap:
|
|
1262
|
+
gap: 4px;
|
|
1262
1263
|
justify-content: space-between;
|
|
1263
|
-
font-size:
|
|
1264
|
+
font-size: 11px;
|
|
1264
1265
|
list-style: none;
|
|
1265
|
-
padding:
|
|
1266
|
+
padding: 4px 10px;
|
|
1266
1267
|
position: relative;
|
|
1267
1268
|
overflow: hidden;
|
|
1268
1269
|
transition: background-color 50ms ease-in;
|
|
1269
1270
|
}
|
|
1270
|
-
._ArrayFieldItem--
|
|
1271
|
+
._ArrayFieldItem--noFields_rvhj3_122 > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1271
1272
|
cursor: grab;
|
|
1272
1273
|
}
|
|
1273
|
-
.
|
|
1274
|
+
._ArrayFieldItem_rvhj3_67:first-of-type > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1274
1275
|
border-top-left-radius: 3px;
|
|
1275
1276
|
border-top-right-radius: 3px;
|
|
1276
1277
|
}
|
|
1277
|
-
._ArrayField--
|
|
1278
|
+
._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem_rvhj3_67:last-of-type:not(._ArrayFieldItem--isExpanded_rvhj3_82) > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1278
1279
|
border-bottom-left-radius: 3px;
|
|
1279
1280
|
border-bottom-right-radius: 3px;
|
|
1280
1281
|
}
|
|
1281
|
-
._ArrayField--
|
|
1282
|
+
._ArrayField--addDisabled_rvhj3_131 > ._ArrayField-inner_rvhj3_59 > ._ArrayFieldItem--isExpanded_rvhj3_82:last-of-type {
|
|
1282
1283
|
border-bottom-left-radius: 3px;
|
|
1283
1284
|
border-bottom-right-radius: 3px;
|
|
1284
1285
|
}
|
|
1285
|
-
._ArrayFieldItem-
|
|
1286
|
+
._ArrayFieldItem-summary_rvhj3_97:focus-visible {
|
|
1286
1287
|
outline: 2px solid var(--credbuild-color-azure-05);
|
|
1287
1288
|
outline-offset: 2px;
|
|
1288
1289
|
}
|
|
1289
1290
|
@media (hover: hover) and (pointer: fine) {
|
|
1290
|
-
._ArrayFieldItem-
|
|
1291
|
+
._ArrayFieldItem-summary_rvhj3_97:hover {
|
|
1291
1292
|
background-color: var(--credbuild-color-azure-12);
|
|
1292
1293
|
transition: none;
|
|
1293
1294
|
}
|
|
1294
1295
|
}
|
|
1295
|
-
._ArrayFieldItem-
|
|
1296
|
+
._ArrayFieldItem-summary_rvhj3_97:active {
|
|
1296
1297
|
background-color: var(--credbuild-color-azure-11);
|
|
1297
1298
|
transition: none;
|
|
1298
1299
|
}
|
|
1299
|
-
._ArrayFieldItem--
|
|
1300
|
+
._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-summary_rvhj3_97 {
|
|
1300
1301
|
background: var(--credbuild-color-azure-11);
|
|
1301
1302
|
color: var(--credbuild-color-azure-04);
|
|
1302
1303
|
font-weight: 600;
|
|
1303
1304
|
transition: none;
|
|
1304
1305
|
}
|
|
1305
|
-
._ArrayFieldItem-
|
|
1306
|
+
._ArrayFieldItem-body_rvhj3_170 {
|
|
1306
1307
|
background: var(--credbuild-color-white);
|
|
1307
1308
|
display: none;
|
|
1308
1309
|
}
|
|
1309
|
-
._ArrayFieldItem--
|
|
1310
|
+
._ArrayFieldItem--isExpanded_rvhj3_82 > ._ArrayFieldItem-body_rvhj3_170 {
|
|
1310
1311
|
display: block;
|
|
1311
1312
|
}
|
|
1312
|
-
._ArrayFieldItem-
|
|
1313
|
+
._ArrayFieldItem-fieldset_rvhj3_179 {
|
|
1313
1314
|
border: none;
|
|
1314
1315
|
border-top: 1px solid var(--credbuild-color-grey-09);
|
|
1315
1316
|
margin: 0;
|
|
1316
1317
|
min-width: 0;
|
|
1317
|
-
padding:
|
|
1318
|
+
padding: 6px 10px;
|
|
1318
1319
|
}
|
|
1319
|
-
._ArrayFieldItem-
|
|
1320
|
+
._ArrayFieldItem-rhs_rvhj3_187 {
|
|
1320
1321
|
display: flex;
|
|
1321
1322
|
gap: 4px;
|
|
1322
1323
|
align-items: center;
|
|
1323
1324
|
}
|
|
1324
|
-
._ArrayFieldItem-
|
|
1325
|
+
._ArrayFieldItem-actions_rvhj3_193 {
|
|
1325
1326
|
color: var(--credbuild-color-grey-04);
|
|
1326
1327
|
display: flex;
|
|
1327
1328
|
gap: 4px;
|
|
1328
1329
|
opacity: 0;
|
|
1329
1330
|
}
|
|
1330
|
-
._ArrayFieldItem-
|
|
1331
|
-
._ArrayFieldItem-
|
|
1331
|
+
._ArrayFieldItem-summary_rvhj3_97:focus-within > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193,
|
|
1332
|
+
._ArrayFieldItem-summary_rvhj3_97:hover > ._ArrayFieldItem-rhs_rvhj3_187 > ._ArrayFieldItem-actions_rvhj3_193 {
|
|
1332
1333
|
opacity: 1;
|
|
1333
1334
|
}
|
|
1334
1335
|
|
package/dist/no-external.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { w as Adaptor, A as AppState, x as ArrayField, y as ArrayState, z as AsFieldProps, B as BaseData, E as BaseField, G as CacheOpts, m as ComponentConfig, J as ComponentConfigExtensions, K as ComponentConfigParams, c as ComponentData, L as ComponentDataMap, N as ComponentDataOptionalId, Q as ComponentMetadata, a as Config, S as ConfigParams, b as Content, C as CredBuildAction, T as CredBuildComponent, X as CredBuildContext, Y as CredBuildMetadata, Z as CustomField, _ as CustomFieldRender, D as Data, e as DefaultComponentProps, d as DefaultComponents, f as DefaultRootFieldProps, $ as DefaultRootProps, a0 as DefaultRootRenderProps, a1 as Direction, a2 as DragAxis, a3 as ExternalField, a4 as ExternalFieldWithAdaptor, a5 as ExtractConfigParams, a6 as ExtractField, p as Field, a7 as FieldMetadata, q as FieldProps, a8 as FieldRenderFunctions, a9 as FieldTransformFn, aa as FieldTransformFnParams, n as FieldTransforms, F as Fields, H as History, I as IframeConfig, t as InitialHistory, ab as ItemWithId, ac as MappedItem, M as Metadata, ad as NumberField, ae as ObjectField, O as OnAction, af as OverrideKey, k as Overrides, g as Permissions, j as Plugin, ag as RadioField, i as ResolveDataTrigger, r as ResponsiveValue, ah as RichText, o as RichtextField, ai as RootConfig, R as RootData, h as RootDataWithProps, aj as RootDataWithoutProps, ak as SelectField, al as Slot, am as SlotComponent, an as SlotField, ao as TextField, ap as TextareaField, l as UiState, U as UserGenerics, aq as Viewport, V as Viewports, ar as WithChildren, as as WithCredBuildProps, W as WithId, at as WithSlotProps, au as overrideKeys } from './actions-LaZpJ1KE.mjs';
|
|
2
2
|
export { Action, ActionBar, AutoField, Button, ColorPickerField, CredBuild, CredBuildApi, Drawer, DropZone, FieldLabel, Group, IconButton, Label, Render, ResponsiveSliderField, RichTextMenu, Separator, SliderField, UseCredBuildData, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild } from './index.mjs';
|
|
3
|
-
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-
|
|
3
|
+
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-BO8uRNcW.mjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@tiptap/react';
|
|
6
6
|
import '@tiptap/extension-blockquote';
|
|
@@ -18,4 +18,4 @@ import '@tiptap/extension-strike';
|
|
|
18
18
|
import '@tiptap/extension-text-align';
|
|
19
19
|
import '@tiptap/extension-underline';
|
|
20
20
|
import 'react/jsx-runtime';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-CD3PszvP.mjs';
|
package/dist/no-external.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { w as Adaptor, A as AppState, x as ArrayField, y as ArrayState, z as AsFieldProps, B as BaseData, E as BaseField, G as CacheOpts, m as ComponentConfig, J as ComponentConfigExtensions, K as ComponentConfigParams, c as ComponentData, L as ComponentDataMap, N as ComponentDataOptionalId, Q as ComponentMetadata, a as Config, S as ConfigParams, b as Content, C as CredBuildAction, T as CredBuildComponent, X as CredBuildContext, Y as CredBuildMetadata, Z as CustomField, _ as CustomFieldRender, D as Data, e as DefaultComponentProps, d as DefaultComponents, f as DefaultRootFieldProps, $ as DefaultRootProps, a0 as DefaultRootRenderProps, a1 as Direction, a2 as DragAxis, a3 as ExternalField, a4 as ExternalFieldWithAdaptor, a5 as ExtractConfigParams, a6 as ExtractField, p as Field, a7 as FieldMetadata, q as FieldProps, a8 as FieldRenderFunctions, a9 as FieldTransformFn, aa as FieldTransformFnParams, n as FieldTransforms, F as Fields, H as History, I as IframeConfig, t as InitialHistory, ab as ItemWithId, ac as MappedItem, M as Metadata, ad as NumberField, ae as ObjectField, O as OnAction, af as OverrideKey, k as Overrides, g as Permissions, j as Plugin, ag as RadioField, i as ResolveDataTrigger, r as ResponsiveValue, ah as RichText, o as RichtextField, ai as RootConfig, R as RootData, h as RootDataWithProps, aj as RootDataWithoutProps, ak as SelectField, al as Slot, am as SlotComponent, an as SlotField, ao as TextField, ap as TextareaField, l as UiState, U as UserGenerics, aq as Viewport, V as Viewports, ar as WithChildren, as as WithCredBuildProps, W as WithId, at as WithSlotProps, au as overrideKeys } from './actions-LaZpJ1KE.js';
|
|
2
2
|
export { Action, ActionBar, AutoField, Button, ColorPickerField, CredBuild, CredBuildApi, Drawer, DropZone, FieldLabel, Group, IconButton, Label, Render, ResponsiveSliderField, RichTextMenu, Separator, SliderField, UseCredBuildData, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild } from './index.js';
|
|
3
|
-
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-
|
|
3
|
+
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-BEw6kTXm.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@tiptap/react';
|
|
6
6
|
import '@tiptap/extension-blockquote';
|
|
@@ -18,4 +18,4 @@ import '@tiptap/extension-strike';
|
|
|
18
18
|
import '@tiptap/extension-text-align';
|
|
19
19
|
import '@tiptap/extension-underline';
|
|
20
20
|
import 'react/jsx-runtime';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-Bj2x5pZ7.js';
|