@crediblemark/build 0.24.7 → 0.24.8
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-SEWJV5GB.css → ArrayField-NAZ65SMV.css} +127 -89
- package/dist/{ArrayField-2HGRARI2.mjs → ArrayField-PHJW2CFO.mjs} +2 -2
- package/dist/{ObjectField-KBWPA5AV.css → ObjectField-IZ4Z2Z2B.css} +127 -89
- package/dist/{ObjectField-2JSLQM7O.mjs → ObjectField-XOHBV56M.mjs} +2 -2
- package/dist/{chunk-QV6ANL5D.mjs → chunk-AHT2WTZ7.mjs} +4 -4
- package/dist/{chunk-N2NNRJDJ.mjs → chunk-FBNOHTBJ.mjs} +2 -2
- package/dist/{chunk-7EY2S46B.mjs → chunk-QC5SGUG2.mjs} +13 -17
- package/dist/{chunk-TROD5OXC.mjs → chunk-XOJTVSZH.mjs} +5 -5
- package/dist/index.css +151 -113
- package/dist/index.js +18 -22
- package/dist/index.mjs +4 -4
- package/dist/no-external.css +151 -113
- package/dist/no-external.js +18 -22
- package/dist/no-external.mjs +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -159,7 +159,7 @@ var init_styles_module2 = __esm({
|
|
|
159
159
|
"use strict";
|
|
160
160
|
init_react_import();
|
|
161
161
|
init_css_module_data2();
|
|
162
|
-
styles_module_default2 = { "InputWrapper": "
|
|
162
|
+
styles_module_default2 = { "InputWrapper": "_InputWrapper_amigi_1", "InputWrapper--object": "_InputWrapper--object_amigi_1", "InputWrapper--array": "_InputWrapper--array_amigi_1", "Input-label": "_Input-label_amigi_18", "Input-label--noChildren": "_Input-label--noChildren_amigi_29", "Input-labelIcon": "_Input-labelIcon_amigi_33", "Input-disabledIcon": "_Input-disabledIcon_amigi_40", "Input-input": "_Input-input_amigi_45", "Input": "_Input_amigi_1", "Input--readOnly": "_Input--readOnly_amigi_101", "Input-radioGroupItems": "_Input-radioGroupItems_amigi_112", "Input-radio": "_Input-radio_amigi_112", "Input-radioInner": "_Input-radioInner_amigi_129", "Input-radioInput": "_Input-radioInput_amigi_174" };
|
|
163
163
|
}
|
|
164
164
|
});
|
|
165
165
|
|
|
@@ -6992,7 +6992,7 @@ var init_styles_module11 = __esm({
|
|
|
6992
6992
|
"use strict";
|
|
6993
6993
|
init_react_import();
|
|
6994
6994
|
init_css_module_data13();
|
|
6995
|
-
styles_module_default11 = { "ArrayField": "
|
|
6995
|
+
styles_module_default11 = { "ArrayField": "_ArrayField_19wby_5", "ArrayField--isDraggingFrom": "_ArrayField--isDraggingFrom_19wby_13", "ArrayField-addButton": "_ArrayField-addButton_19wby_18", "ArrayField--hasItems": "_ArrayField--hasItems_19wby_33", "ArrayField-inner": "_ArrayField-inner_19wby_59", "ArrayFieldItem": "_ArrayFieldItem_19wby_67", "ArrayFieldItem--isDragging": "_ArrayFieldItem--isDragging_19wby_78", "ArrayFieldItem--isExpanded": "_ArrayFieldItem--isExpanded_19wby_82", "ArrayFieldItem-summary": "_ArrayFieldItem-summary_19wby_97", "ArrayFieldItem--noFields": "_ArrayFieldItem--noFields_19wby_122", "ArrayField--addDisabled": "_ArrayField--addDisabled_19wby_131", "ArrayFieldItem-body": "_ArrayFieldItem-body_19wby_170", "ArrayFieldItem-fieldset": "_ArrayFieldItem-fieldset_19wby_179", "ArrayFieldItem-rhs": "_ArrayFieldItem-rhs_19wby_187", "ArrayFieldItem-actions": "_ArrayFieldItem-actions_19wby_193" };
|
|
6996
6996
|
}
|
|
6997
6997
|
});
|
|
6998
6998
|
|
|
@@ -7999,7 +7999,7 @@ var init_styles_module13 = __esm({
|
|
|
7999
7999
|
"use strict";
|
|
8000
8000
|
init_react_import();
|
|
8001
8001
|
init_css_module_data15();
|
|
8002
|
-
styles_module_default13 = { "ObjectField": "
|
|
8002
|
+
styles_module_default13 = { "ObjectField": "_ObjectField_1n2lh_1", "ObjectField--isOpen": "_ObjectField--isOpen_1n2lh_10", "ObjectField-content": "_ObjectField-content_1n2lh_14", "ObjectField-fieldset": "_ObjectField-fieldset_1n2lh_18", "ObjectField-header": "_ObjectField-header_1n2lh_30", "ObjectField-headerIcon": "_ObjectField-headerIcon_1n2lh_54" };
|
|
8003
8003
|
}
|
|
8004
8004
|
});
|
|
8005
8005
|
|
|
@@ -8045,23 +8045,19 @@ var init_ObjectField = __esm({
|
|
|
8045
8045
|
return null;
|
|
8046
8046
|
}
|
|
8047
8047
|
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: getClassName19({ isOpen }), children: [
|
|
8048
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.
|
|
8049
|
-
"
|
|
8048
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
8049
|
+
"button",
|
|
8050
8050
|
{
|
|
8051
|
+
type: "button",
|
|
8052
|
+
className: getClassName19("header"),
|
|
8051
8053
|
onClick: () => setIsOpen(!isOpen),
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
labelIcon || /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(EllipsisVertical, { size: 16 })
|
|
8060
|
-
] }),
|
|
8061
|
-
el: "div",
|
|
8062
|
-
readOnly
|
|
8063
|
-
}
|
|
8064
|
-
)
|
|
8054
|
+
children: [
|
|
8055
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
8056
|
+
labelIcon || /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(EllipsisVertical, { size: 12 }),
|
|
8057
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { children: label || name })
|
|
8058
|
+
] }),
|
|
8059
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: getClassName19("headerIcon"), children: isOpen ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ChevronDown, { size: 12 }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ChevronRight, { size: 12 }) })
|
|
8060
|
+
]
|
|
8065
8061
|
}
|
|
8066
8062
|
),
|
|
8067
8063
|
isOpen && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: getClassName19("content"), children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("fieldset", { className: getClassName19("fieldset"), children: Object.keys(field.objectFields).map((subName) => {
|
|
@@ -8199,7 +8195,7 @@ function AutoFieldInternal(props) {
|
|
|
8199
8195
|
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
8200
8196
|
"div",
|
|
8201
8197
|
{
|
|
8202
|
-
className: getClassNameWrapper(),
|
|
8198
|
+
className: getClassNameWrapper({ [field.type]: true }),
|
|
8203
8199
|
onFocus,
|
|
8204
8200
|
onBlur,
|
|
8205
8201
|
onClick: (e) => {
|
|
@@ -8846,7 +8842,7 @@ init_react_import();
|
|
|
8846
8842
|
|
|
8847
8843
|
// css-module:/home/crediblemark/Project/Credibuild/components/Drawer/styles.module.css#css-module
|
|
8848
8844
|
init_react_import();
|
|
8849
|
-
var styles_module_default14 = { "Drawer": "
|
|
8845
|
+
var styles_module_default14 = { "Drawer": "_Drawer_1bd7y_1", "Drawer-draggable": "_Drawer-draggable_1bd7y_7", "Drawer-draggableBg": "_Drawer-draggableBg_1bd7y_11", "DrawerItem-draggable": "_DrawerItem-draggable_1bd7y_21", "DrawerItem--disabled": "_DrawerItem--disabled_1bd7y_34", "DrawerItem": "_DrawerItem_1bd7y_21", "Drawer--isDraggingFrom": "_Drawer--isDraggingFrom_1bd7y_43", "DrawerItem-default": "_DrawerItem-default_1bd7y_44", "DrawerItem-name": "_DrawerItem-name_1bd7y_61" };
|
|
8850
8846
|
|
|
8851
8847
|
// components/Drawer/index.tsx
|
|
8852
8848
|
init_get_class_name_factory();
|
|
@@ -11491,7 +11487,7 @@ init_react_import();
|
|
|
11491
11487
|
|
|
11492
11488
|
// css-module:/home/crediblemark/Project/Credibuild/components/ComponentList/styles.module.css#css-module
|
|
11493
11489
|
init_react_import();
|
|
11494
|
-
var styles_module_default19 = { "ComponentList": "
|
|
11490
|
+
var styles_module_default19 = { "ComponentList": "_ComponentList_10tqo_1", "ComponentList--isExpanded": "_ComponentList--isExpanded_10tqo_5", "ComponentList-content": "_ComponentList-content_10tqo_9", "ComponentList-title": "_ComponentList-title_10tqo_17", "ComponentList-titleIcon": "_ComponentList-titleIcon_10tqo_53" };
|
|
11495
11491
|
|
|
11496
11492
|
// components/ComponentList/index.tsx
|
|
11497
11493
|
init_get_class_name_factory();
|
|
@@ -11534,7 +11530,7 @@ var ComponentList = ({
|
|
|
11534
11530
|
const virtualizer = (0, import_react_virtual2.useVirtualizer)({
|
|
11535
11531
|
count: components.length,
|
|
11536
11532
|
getScrollElement: () => parentRef.current,
|
|
11537
|
-
estimateSize: () =>
|
|
11533
|
+
estimateSize: () => 32,
|
|
11538
11534
|
// Estimated height of each item
|
|
11539
11535
|
overscan: 5
|
|
11540
11536
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -15,17 +15,17 @@ import {
|
|
|
15
15
|
registerOverlayPortal,
|
|
16
16
|
useCredBuild,
|
|
17
17
|
useGetCredBuild
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XOJTVSZH.mjs";
|
|
19
19
|
import "./chunk-YE4FXNJW.mjs";
|
|
20
20
|
import {
|
|
21
21
|
setDeep
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-FBNOHTBJ.mjs";
|
|
23
|
+
import "./chunk-QC5SGUG2.mjs";
|
|
24
24
|
import {
|
|
25
25
|
AutoField,
|
|
26
26
|
Button,
|
|
27
27
|
FieldLabel
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-AHT2WTZ7.mjs";
|
|
29
29
|
import "./chunk-WH3A7FAR.mjs";
|
|
30
30
|
import {
|
|
31
31
|
migrate,
|