@crediblemark/build 0.25.1 → 0.25.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ArrayField-HI4LZRUN.mjs +19 -0
- package/dist/{ArrayField-HGGIE5AL.css → ArrayField-JRN7ZFM7.css} +15 -15
- package/dist/{Editor-E7FALXHL.css → Editor-CVT4RKSU.css} +7 -7
- package/dist/{Editor-CD7CMRO5.mjs → Editor-IPG4RO2L.mjs} +8 -8
- package/dist/ObjectField-CHMT4KPZ.mjs +19 -0
- package/dist/{ObjectField-NKMT3CLS.css → ObjectField-JYRSRCWB.css} +15 -15
- package/dist/{Render-JDXVKZXN.css → Render-DOE2LXKX.css} +1 -1
- package/dist/{Render-WP5OOTBB.mjs → Render-I6PZ5MEA.mjs} +4 -2
- package/dist/{chunk-DVK7K7D6.mjs → chunk-2RLA42JA.mjs} +4 -3
- package/dist/{chunk-JKWSSGAY.mjs → chunk-3Q7JODIK.mjs} +16 -15
- package/dist/{chunk-BPBYJDIJ.mjs → chunk-F2M5GHDX.mjs} +96 -81
- package/dist/{chunk-OUXISRNA.mjs → chunk-FQKSRGRK.mjs} +435 -336
- package/dist/{chunk-AL77I3BV.mjs → chunk-ISXFLTBM.mjs} +1 -1
- package/dist/{chunk-UPNU77XM.mjs → chunk-MZIV4ZKR.mjs} +2 -2
- package/dist/{chunk-WEPD3OBO.mjs → chunk-NYBTD3FJ.mjs} +2 -2
- package/dist/{chunk-PQXVFRLA.mjs → chunk-NYIULQV4.mjs} +31 -15
- package/dist/{chunk-BC5TH63U.mjs → chunk-PWRZZUWM.mjs} +1 -1
- package/dist/{chunk-NJZPPQVT.mjs → chunk-QMMMJ4RO.mjs} +7 -5
- package/dist/{chunk-3S3KWE2J.mjs → chunk-RBWVOMMW.mjs} +6 -4
- package/dist/{chunk-NSDGBGNG.mjs → chunk-UNMCNIJ3.mjs} +1 -1
- package/dist/{chunk-MLM27DOG.mjs → chunk-W57TTDB2.mjs} +1 -1
- package/dist/{full-HTQAR5N2.mjs → full-A2JX3OI2.mjs} +5 -5
- package/dist/{full-MY4DABK6.css → full-C7RVGAUA.css} +6 -6
- package/dist/index.css +155 -76
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +906 -759
- package/dist/index.mjs +13 -13
- package/dist/{loaded-Q7N3MNZB.mjs → loaded-2FUW3WCF.mjs} +2 -2
- package/dist/{loaded-E7C36OKZ.css → loaded-4FAPBCAU.css} +1 -1
- package/dist/{loaded-CDAPR2WZ.mjs → loaded-6L45JULO.mjs} +2 -2
- package/dist/{loaded-AHSNCA4P.mjs → loaded-Y7SRBM7R.mjs} +2 -2
- package/dist/no-external.css +155 -76
- package/dist/no-external.js +906 -759
- package/dist/no-external.mjs +13 -13
- package/dist/rsc.css +1 -1
- package/dist/rsc.js +10 -7
- package/dist/rsc.mjs +2 -2
- package/package.json +2 -1
- package/dist/ArrayField-N36WXYIG.mjs +0 -19
- package/dist/ObjectField-RMXFC6TI.mjs +0 -19
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// css-module:/home/
|
|
1
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/RichTextEditor/styles.module.css#css-module
|
|
2
2
|
var styles_module_default = { "RichTextEditor": "_RichTextEditor_hp4qf_1", "RichTextEditor--editor": "_RichTextEditor--editor_hp4qf_50", "RichTextEditor--disabled": "_RichTextEditor--disabled_hp4qf_107", "RichTextEditor--isActive": "_RichTextEditor--isActive_hp4qf_111", "RichTextEditor-menu": "_RichTextEditor-menu_hp4qf_117" };
|
|
3
3
|
|
|
4
4
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
styles_module_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ISXFLTBM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useAppStore,
|
|
6
6
|
useAppStoreApi
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-F2M5GHDX.mjs";
|
|
8
8
|
import {
|
|
9
9
|
get_class_name_factory_default
|
|
10
10
|
} from "./chunk-BFHV72KK.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadedRichTextMenuInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3Q7JODIK.mjs";
|
|
4
4
|
|
|
5
5
|
// components/RichTextMenu/index.tsx
|
|
6
6
|
import { lazy, Suspense } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
var LoadedRichTextMenuFull = lazy(
|
|
9
|
-
() => import("./full-
|
|
9
|
+
() => import("./full-A2JX3OI2.mjs").then((m) => ({
|
|
10
10
|
default: m.LoadedRichTextMenuFull
|
|
11
11
|
}))
|
|
12
12
|
);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EditorInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MZIV4ZKR.mjs";
|
|
4
4
|
import {
|
|
5
5
|
IconButton,
|
|
6
6
|
LoadedRichTextMenuInner,
|
|
7
7
|
Loader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3Q7JODIK.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ChevronDown,
|
|
11
11
|
CircleCheckBig,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
SlidersHorizontal,
|
|
18
18
|
Type,
|
|
19
19
|
useAppStore
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-F2M5GHDX.mjs";
|
|
21
21
|
import {
|
|
22
22
|
get_class_name_factory_default
|
|
23
23
|
} from "./chunk-BFHV72KK.mjs";
|
|
@@ -74,7 +74,7 @@ function useFieldStore(selector) {
|
|
|
74
74
|
return useStore2(store, useShallow2(selector));
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
// css-module:/home/
|
|
77
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/AutoField/styles.module.css#css-module
|
|
78
78
|
var styles_module_default = { "InputWrapper": "_InputWrapper_rcfsp_1", "InputWrapper--object": "_InputWrapper--object_rcfsp_1", "InputWrapper--array": "_InputWrapper--array_rcfsp_1", "Input-label": "_Input-label_rcfsp_18", "Input-label--noChildren": "_Input-label--noChildren_rcfsp_30", "Input-labelIcon": "_Input-labelIcon_rcfsp_34", "Input-disabledIcon": "_Input-disabledIcon_rcfsp_41", "Input-input": "_Input-input_rcfsp_46", "Input": "_Input_rcfsp_1", "Input--readOnly": "_Input--readOnly_rcfsp_102", "Input-radioGroupItems": "_Input-radioGroupItems_rcfsp_113", "Input-radio": "_Input-radio_rcfsp_113", "Input-radioInner": "_Input-radioInner_rcfsp_130", "Input-radioInput": "_Input-radioInput_rcfsp_175" };
|
|
79
79
|
|
|
80
80
|
// components/AutoField/FieldLabel.tsx
|
|
@@ -190,7 +190,7 @@ var NestedFieldProvider = ({
|
|
|
190
190
|
// components/Button/Button.tsx
|
|
191
191
|
import { useEffect, useState as useState2 } from "react";
|
|
192
192
|
|
|
193
|
-
// css-module:/home/
|
|
193
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/Button/Button.module.css#css-module
|
|
194
194
|
var Button_module_default = { "Button": "_Button_164uz_1", "Button--medium": "_Button--medium_164uz_29", "Button--large": "_Button--large_164uz_34", "Button-icon": "_Button-icon_164uz_38", "Button--primary": "_Button--primary_164uz_42", "Button--secondary": "_Button--secondary_164uz_63", "Button--flush": "_Button--flush_164uz_80", "Button--disabled": "_Button--disabled_164uz_84", "Button--fullWidth": "_Button--fullWidth_164uz_92", "Button-spinner": "_Button-spinner_164uz_97" };
|
|
195
195
|
|
|
196
196
|
// lib/filter-data-attrs.ts
|
|
@@ -225,7 +225,8 @@ var Button = ({
|
|
|
225
225
|
}) => {
|
|
226
226
|
const [loading, setLoading] = useState2(loadingProp);
|
|
227
227
|
useEffect(() => setLoading(loadingProp), [loadingProp]);
|
|
228
|
-
const
|
|
228
|
+
const safeHref = href && href.trim().toLowerCase().startsWith("javascript:") ? "#" : href;
|
|
229
|
+
const ElementType = safeHref ? "a" : type ? "button" : "span";
|
|
229
230
|
const dataAttrs = filterDataAttrs(props);
|
|
230
231
|
const el = /* @__PURE__ */ jsxs2(
|
|
231
232
|
ElementType,
|
|
@@ -248,8 +249,8 @@ var Button = ({
|
|
|
248
249
|
disabled: disabled || loading,
|
|
249
250
|
tabIndex,
|
|
250
251
|
target: newTab ? "_blank" : void 0,
|
|
251
|
-
rel: newTab ? "noreferrer" : void 0,
|
|
252
|
-
href,
|
|
252
|
+
rel: newTab ? "noopener noreferrer" : void 0,
|
|
253
|
+
href: safeHref,
|
|
253
254
|
...dataAttrs,
|
|
254
255
|
children: [
|
|
255
256
|
icon && /* @__PURE__ */ jsx4("div", { className: getClassName2("icon"), children: icon }),
|
|
@@ -391,13 +392,13 @@ import {
|
|
|
391
392
|
isValidElement
|
|
392
393
|
} from "react";
|
|
393
394
|
|
|
394
|
-
// css-module:/home/
|
|
395
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/ExternalInput/styles.module.css#css-module
|
|
395
396
|
var styles_module_default2 = { "ExternalInput-actions": "_ExternalInput-actions_1gpb4_1", "ExternalInput-button": "_ExternalInput-button_1gpb4_5", "ExternalInput--dataSelected": "_ExternalInput--dataSelected_1gpb4_24", "ExternalInput--readOnly": "_ExternalInput--readOnly_1gpb4_31", "ExternalInput-detachButton": "_ExternalInput-detachButton_1gpb4_35", "ExternalInput": "_ExternalInput_1gpb4_1", "ExternalInputModal": "_ExternalInputModal_1gpb4_79", "ExternalInputModal-grid": "_ExternalInputModal-grid_1gpb4_89", "ExternalInputModal--filtersToggled": "_ExternalInputModal--filtersToggled_1gpb4_100", "ExternalInputModal-filters": "_ExternalInputModal-filters_1gpb4_105", "ExternalInputModal-masthead": "_ExternalInputModal-masthead_1gpb4_124", "ExternalInputModal-tableWrapper": "_ExternalInputModal-tableWrapper_1gpb4_133", "ExternalInputModal-table": "_ExternalInputModal-table_1gpb4_133", "ExternalInputModal-thead": "_ExternalInputModal-thead_1gpb4_149", "ExternalInputModal-th": "_ExternalInputModal-th_1gpb4_149", "ExternalInputModal-td": "_ExternalInputModal-td_1gpb4_164", "ExternalInputModal-tr": "_ExternalInputModal-tr_1gpb4_169", "ExternalInputModal-tbody": "_ExternalInputModal-tbody_1gpb4_176", "ExternalInputModal--hasData": "_ExternalInputModal--hasData_1gpb4_202", "ExternalInputModal-loadingBanner": "_ExternalInputModal-loadingBanner_1gpb4_206", "ExternalInputModal--isLoading": "_ExternalInputModal--isLoading_1gpb4_223", "ExternalInputModal-searchForm": "_ExternalInputModal-searchForm_1gpb4_227", "ExternalInputModal-search": "_ExternalInputModal-search_1gpb4_227", "ExternalInputModal-searchIcon": "_ExternalInputModal-searchIcon_1gpb4_264", "ExternalInputModal-searchIconText": "_ExternalInputModal-searchIconText_1gpb4_289", "ExternalInputModal-searchInput": "_ExternalInputModal-searchInput_1gpb4_299", "ExternalInputModal-searchActions": "_ExternalInputModal-searchActions_1gpb4_313", "ExternalInputModal-searchActionIcon": "_ExternalInputModal-searchActionIcon_1gpb4_326", "ExternalInputModal-footerContainer": "_ExternalInputModal-footerContainer_1gpb4_330", "ExternalInputModal-footer": "_ExternalInputModal-footer_1gpb4_330", "ExternalInputModal-field": "_ExternalInputModal-field_1gpb4_343" };
|
|
396
397
|
|
|
397
398
|
// components/Modal/index.tsx
|
|
398
399
|
import { useEffect as useEffect2, useState as useState3 } from "react";
|
|
399
400
|
|
|
400
|
-
// css-module:/home/
|
|
401
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/Modal/styles.module.css#css-module
|
|
401
402
|
var styles_module_default3 = { "Modal": "_Modal_b422s_1", "Modal--isOpen": "_Modal--isOpen_b422s_15", "Modal-inner": "_Modal-inner_b422s_19" };
|
|
402
403
|
|
|
403
404
|
// components/Modal/index.tsx
|
|
@@ -413,6 +414,16 @@ var Modal = ({
|
|
|
413
414
|
useEffect2(() => {
|
|
414
415
|
setRootEl(document.getElementById("credbuild-portal-root"));
|
|
415
416
|
}, []);
|
|
417
|
+
useEffect2(() => {
|
|
418
|
+
if (!isOpen) return;
|
|
419
|
+
const handleKeyDown = (e) => {
|
|
420
|
+
if (e.key === "Escape") {
|
|
421
|
+
onClose();
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
document.addEventListener("keydown", handleKeyDown);
|
|
425
|
+
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
426
|
+
}, [isOpen, onClose]);
|
|
416
427
|
if (!rootEl) {
|
|
417
428
|
return /* @__PURE__ */ jsx7("div", {});
|
|
418
429
|
}
|
|
@@ -422,6 +433,8 @@ var Modal = ({
|
|
|
422
433
|
{
|
|
423
434
|
className: getClassName5("inner"),
|
|
424
435
|
onClick: (e) => e.stopPropagation(),
|
|
436
|
+
role: "dialog",
|
|
437
|
+
"aria-modal": "true",
|
|
425
438
|
children
|
|
426
439
|
}
|
|
427
440
|
) }),
|
|
@@ -429,7 +442,7 @@ var Modal = ({
|
|
|
429
442
|
);
|
|
430
443
|
};
|
|
431
444
|
|
|
432
|
-
// css-module:/home/
|
|
445
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/Heading/styles.module.css#css-module
|
|
433
446
|
var styles_module_default4 = { "Heading": "_Heading_1tpsl_1", "Heading--xxxxl": "_Heading--xxxxl_1tpsl_12", "Heading--xxxl": "_Heading--xxxl_1tpsl_18", "Heading--xxl": "_Heading--xxl_1tpsl_22", "Heading--xl": "_Heading--xl_1tpsl_26", "Heading--l": "_Heading--l_1tpsl_30", "Heading--m": "_Heading--m_1tpsl_34", "Heading--s": "_Heading--s_1tpsl_38", "Heading--xs": "_Heading--xs_1tpsl_42" };
|
|
434
447
|
|
|
435
448
|
// components/Heading/index.tsx
|
|
@@ -616,6 +629,8 @@ var ExternalInput = ({
|
|
|
616
629
|
onChange(null);
|
|
617
630
|
},
|
|
618
631
|
disabled: readOnly,
|
|
632
|
+
title: "Clear selection",
|
|
633
|
+
"aria-label": "Clear selection",
|
|
619
634
|
children: /* @__PURE__ */ jsx10(LockOpen, { size: 16 })
|
|
620
635
|
}
|
|
621
636
|
)
|
|
@@ -925,6 +940,7 @@ import { lazy, Suspense } from "react";
|
|
|
925
940
|
|
|
926
941
|
// components/RichTextEditor/components/EditorFallback.tsx
|
|
927
942
|
import { memo } from "react";
|
|
943
|
+
import DOMPurify from "isomorphic-dompurify";
|
|
928
944
|
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
929
945
|
var EditorFallback = memo((props) => {
|
|
930
946
|
return /* @__PURE__ */ jsx14(
|
|
@@ -945,7 +961,7 @@ var EditorFallback = memo((props) => {
|
|
|
945
961
|
"div",
|
|
946
962
|
{
|
|
947
963
|
className: "rich-text",
|
|
948
|
-
dangerouslySetInnerHTML: { __html: props.content },
|
|
964
|
+
dangerouslySetInnerHTML: { __html: DOMPurify.sanitize(props.content) },
|
|
949
965
|
contentEditable: true
|
|
950
966
|
}
|
|
951
967
|
)
|
|
@@ -957,7 +973,7 @@ EditorFallback.displayName = "EditorFallback";
|
|
|
957
973
|
// components/AutoField/fields/RichtextField/index.tsx
|
|
958
974
|
import { Fragment as Fragment4, jsx as jsx15 } from "react/jsx-runtime";
|
|
959
975
|
var Editor = lazy(
|
|
960
|
-
() => import("./Editor-
|
|
976
|
+
() => import("./Editor-IPG4RO2L.mjs").then((m) => ({
|
|
961
977
|
default: m.Editor
|
|
962
978
|
}))
|
|
963
979
|
);
|
|
@@ -994,8 +1010,8 @@ var RichtextField = ({
|
|
|
994
1010
|
|
|
995
1011
|
// components/AutoField/AutoFieldInternal.tsx
|
|
996
1012
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
997
|
-
var ArrayField = lazy2(() => import("./ArrayField-
|
|
998
|
-
var ObjectField = lazy2(() => import("./ObjectField-
|
|
1013
|
+
var ArrayField = lazy2(() => import("./ArrayField-HI4LZRUN.mjs").then((m) => ({ default: m.ArrayField })));
|
|
1014
|
+
var ObjectField = lazy2(() => import("./ObjectField-CHMT4KPZ.mjs").then((m) => ({ default: m.ObjectField })));
|
|
999
1015
|
var getClassNameWrapper2 = get_class_name_factory_default("InputWrapper", styles_module_default);
|
|
1000
1016
|
var defaultFields = {
|
|
1001
1017
|
array: ArrayField,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
useFieldStore,
|
|
5
5
|
useFieldStoreApi,
|
|
6
6
|
useNestedFieldContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NYIULQV4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
IconButton
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3Q7JODIK.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Copy,
|
|
13
13
|
GripVertical,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
replace,
|
|
19
19
|
useAppStore,
|
|
20
20
|
useAppStoreApi
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-F2M5GHDX.mjs";
|
|
22
22
|
import {
|
|
23
23
|
populateIds
|
|
24
24
|
} from "./chunk-64A37UUC.mjs";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
walkField
|
|
31
31
|
} from "./chunk-7LXZOPYT.mjs";
|
|
32
32
|
|
|
33
|
-
// css-module:/home/
|
|
33
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/AutoField/fields/ArrayField/styles.module.css#css-module
|
|
34
34
|
var styles_module_default = { "ArrayField": "_ArrayField_rvhj3_5", "ArrayField--isDraggingFrom": "_ArrayField--isDraggingFrom_rvhj3_13", "ArrayField-addButton": "_ArrayField-addButton_rvhj3_18", "ArrayField--hasItems": "_ArrayField--hasItems_rvhj3_33", "ArrayField-inner": "_ArrayField-inner_rvhj3_59", "ArrayFieldItem": "_ArrayFieldItem_rvhj3_67", "ArrayFieldItem--isDragging": "_ArrayFieldItem--isDragging_rvhj3_78", "ArrayFieldItem--isExpanded": "_ArrayFieldItem--isExpanded_rvhj3_82", "ArrayFieldItem-summary": "_ArrayFieldItem-summary_rvhj3_97", "ArrayFieldItem--noFields": "_ArrayFieldItem--noFields_rvhj3_122", "ArrayField--addDisabled": "_ArrayField--addDisabled_rvhj3_131", "ArrayFieldItem-body": "_ArrayFieldItem-body_rvhj3_170", "ArrayFieldItem-fieldset": "_ArrayFieldItem-fieldset_rvhj3_179", "ArrayFieldItem-rhs": "_ArrayFieldItem-rhs_rvhj3_187", "ArrayFieldItem-actions": "_ArrayFieldItem-actions_rvhj3_193" };
|
|
35
35
|
|
|
36
36
|
// components/AutoField/fields/ArrayField/index.tsx
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
useState as useState2
|
|
44
44
|
} from "react";
|
|
45
45
|
|
|
46
|
-
// css-module:/home/
|
|
46
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/DragIcon/styles.module.css#css-module
|
|
47
47
|
var styles_module_default2 = { "DragIcon": "_DragIcon_ei1r9_1", "DragIcon--disabled": "_DragIcon--disabled_ei1r9_8" };
|
|
48
48
|
|
|
49
49
|
// components/DragIcon/index.tsx
|
|
@@ -823,6 +823,8 @@ var ArrayField = ({
|
|
|
823
823
|
{
|
|
824
824
|
type: "button",
|
|
825
825
|
className: getClassName2("addButton"),
|
|
826
|
+
title: "Add item",
|
|
827
|
+
"aria-label": "Add item",
|
|
826
828
|
onClick: () => {
|
|
827
829
|
if (isDraggingAny) return;
|
|
828
830
|
const value = getValue();
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
getDeep,
|
|
4
4
|
useFieldStoreApi,
|
|
5
5
|
useNestedFieldContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NYIULQV4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChevronDown,
|
|
9
9
|
ChevronUp,
|
|
10
10
|
LayoutTemplate,
|
|
11
11
|
useAppStore
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F2M5GHDX.mjs";
|
|
13
13
|
import {
|
|
14
14
|
get_class_name_factory_default
|
|
15
15
|
} from "./chunk-BFHV72KK.mjs";
|
|
16
16
|
|
|
17
|
-
// css-module:/home/
|
|
17
|
+
// css-module:/home/runner/work/credbuild/credbuild/components/AutoField/fields/ObjectField/styles.module.css#css-module
|
|
18
18
|
var styles_module_default = { "ObjectField": "_ObjectField_7axeg_1", "ObjectField--isOpen": "_ObjectField--isOpen_7axeg_10", "ObjectField-content": "_ObjectField-content_7axeg_14", "ObjectField-fieldset": "_ObjectField-fieldset_7axeg_18", "ObjectField-header": "_ObjectField-header_7axeg_30", "ObjectField-headerIcon": "_ObjectField-headerIcon_7axeg_54" };
|
|
19
19
|
|
|
20
20
|
// components/AutoField/fields/ObjectField/index.tsx
|
|
@@ -48,6 +48,8 @@ var ObjectField = ({
|
|
|
48
48
|
type: "button",
|
|
49
49
|
className: getClassName("header"),
|
|
50
50
|
onClick: () => setIsOpen(!isOpen),
|
|
51
|
+
"aria-expanded": isOpen,
|
|
52
|
+
"aria-controls": `${id}-content`,
|
|
51
53
|
children: [
|
|
52
54
|
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
53
55
|
labelIcon || /* @__PURE__ */ jsx(LayoutTemplate, { size: 12, strokeWidth: 2.5 }),
|
|
@@ -57,7 +59,7 @@ var ObjectField = ({
|
|
|
57
59
|
]
|
|
58
60
|
}
|
|
59
61
|
),
|
|
60
|
-
isOpen && /* @__PURE__ */ jsx("div", { className: getClassName("content"), children: /* @__PURE__ */ jsx("fieldset", { className: getClassName("fieldset"), children: Object.keys(field.objectFields).map((subName) => {
|
|
62
|
+
isOpen && /* @__PURE__ */ jsx("div", { id: `${id}-content`, className: getClassName("content"), children: /* @__PURE__ */ jsx("fieldset", { className: getClassName("fieldset"), children: Object.keys(field.objectFields).map((subName) => {
|
|
61
63
|
const subField = field.objectFields[subName];
|
|
62
64
|
const subPath = `${localName}.${subName}`;
|
|
63
65
|
return /* @__PURE__ */ jsx(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadedRichTextMenuInner
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-3Q7JODIK.mjs";
|
|
4
|
+
import "./chunk-W57TTDB2.mjs";
|
|
5
|
+
import "./chunk-UNMCNIJ3.mjs";
|
|
6
|
+
import "./chunk-PWRZZUWM.mjs";
|
|
7
|
+
import "./chunk-F2M5GHDX.mjs";
|
|
8
8
|
import "./chunk-64A37UUC.mjs";
|
|
9
9
|
import "./chunk-SMAWAXVX.mjs";
|
|
10
10
|
import "./chunk-BFHV72KK.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* css-module:/home/
|
|
1
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/styles.module.css/#css-module-data */
|
|
2
2
|
._RichTextMenu_193iw_1 {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: row;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
border-left: 0.5px solid var(--credbuild-color-grey-05);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
/* css-module:/home/
|
|
43
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/IconButton/IconButton.module.css/#css-module-data */
|
|
44
44
|
._IconButton_1a0fz_1 {
|
|
45
45
|
align-items: center;
|
|
46
46
|
background: transparent;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
color: var(--credbuild-color-grey-07);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
/* css-module:/home/
|
|
88
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Loader/styles.module.css/#css-module-data */
|
|
89
89
|
@keyframes _loader-animation_nacdm_1 {
|
|
90
90
|
0% {
|
|
91
91
|
transform: rotate(0deg) scale(1);
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
animation-fill-mode: both;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
/* css-module:/home/
|
|
110
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/ActionBar/styles.module.css/#css-module-data */
|
|
111
111
|
._ActionBar_ze0ci_1 {
|
|
112
112
|
align-items: center;
|
|
113
113
|
cursor: default;
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
height: 100%;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
/* css-module:/home/
|
|
205
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/RichTextMenu/components/Control/styles.module.css/#css-module-data */
|
|
206
206
|
._Control_1aveu_1 .lucide {
|
|
207
207
|
height: 18px;
|
|
208
208
|
width: 18px;
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
width: 16px;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
/* css-module:/home/
|
|
215
|
+
/* css-module:/home/runner/work/credbuild/credbuild/components/Select/styles.module.css/#css-module-data */
|
|
216
216
|
._Select_16son_1 {
|
|
217
217
|
position: relative;
|
|
218
218
|
z-index: 1;
|