@crediblemark/build 0.25.5 → 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.
- package/dist/ArrayField-PGZLQW7G.mjs +19 -0
- package/dist/{Editor-YAHPKMZZ.mjs → Editor-OFA3KX3N.mjs} +7 -7
- package/dist/ObjectField-N7ES6H3B.mjs +19 -0
- package/dist/{chunk-YNBP3U53.mjs → chunk-4NZUDTR6.mjs} +1 -1
- package/dist/{chunk-QX5Z2UCM.mjs → chunk-JX7LICWE.mjs} +1 -1
- package/dist/{chunk-HDKBRPN3.mjs → chunk-KAOWYQIB.mjs} +6 -6
- package/dist/{chunk-N2OOMTBI.mjs → chunk-MZXW5F5R.mjs} +2 -2
- package/dist/{chunk-KRSRYBNG.mjs → chunk-QHJGER7I.mjs} +3 -3
- package/dist/{chunk-3TEHZVFI.mjs → chunk-RUJOMPX6.mjs} +1 -1
- package/dist/{chunk-XLLRNZSM.mjs → chunk-SLKHXT3Q.mjs} +1 -1
- package/dist/{chunk-2BGYCLSQ.mjs → chunk-STIUFJT2.mjs} +7 -7
- package/dist/{chunk-BZP3I754.mjs → chunk-W7LED3JG.mjs} +12 -8
- package/dist/{chunk-XHLOMZCG.mjs → chunk-WSTUSWZT.mjs} +2 -2
- package/dist/{chunk-WJLEG7PD.mjs → chunk-XAD7XPP2.mjs} +2 -2
- package/dist/{full-ZDZMHNGB.mjs → full-ECZCK3RE.mjs} +5 -5
- package/dist/index.js +7 -4
- package/dist/index.mjs +11 -11
- package/dist/{loaded-SZ4RADOC.mjs → loaded-3MKTRGL5.mjs} +2 -2
- package/dist/{loaded-RSMV7TSD.mjs → loaded-5D7VRSXM.mjs} +2 -2
- package/dist/{loaded-D6R36LKI.mjs → loaded-NRHNHJPM.mjs} +2 -2
- package/dist/no-external.js +7 -4
- package/dist/no-external.mjs +11 -11
- package/package.json +2 -2
- package/dist/ArrayField-JYCS3HWS.mjs +0 -19
- package/dist/ObjectField-IH6PVWJ4.mjs +0 -19
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ArrayField
|
|
3
|
+
} from "./chunk-QHJGER7I.mjs";
|
|
4
|
+
import "./chunk-KAOWYQIB.mjs";
|
|
5
|
+
import "./chunk-JX7LICWE.mjs";
|
|
6
|
+
import "./chunk-H6RPI3T6.mjs";
|
|
7
|
+
import "./chunk-STIUFJT2.mjs";
|
|
8
|
+
import "./chunk-4NZUDTR6.mjs";
|
|
9
|
+
import "./chunk-SLKHXT3Q.mjs";
|
|
10
|
+
import "./chunk-RUJOMPX6.mjs";
|
|
11
|
+
import "./chunk-MZXW5F5R.mjs";
|
|
12
|
+
import "./chunk-64A37UUC.mjs";
|
|
13
|
+
import "./chunk-SMAWAXVX.mjs";
|
|
14
|
+
import "./chunk-BFHV72KK.mjs";
|
|
15
|
+
import "./chunk-7LXZOPYT.mjs";
|
|
16
|
+
import "./chunk-AFVEAZTD.mjs";
|
|
17
|
+
export {
|
|
18
|
+
ArrayField
|
|
19
|
+
};
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./chunk-DEUK76GN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
LoadedRichTextMenu
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WSTUSWZT.mjs";
|
|
7
7
|
import {
|
|
8
8
|
EditorInner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JX7LICWE.mjs";
|
|
10
10
|
import "./chunk-H6RPI3T6.mjs";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-STIUFJT2.mjs";
|
|
12
|
+
import "./chunk-4NZUDTR6.mjs";
|
|
13
|
+
import "./chunk-SLKHXT3Q.mjs";
|
|
14
|
+
import "./chunk-RUJOMPX6.mjs";
|
|
15
15
|
import {
|
|
16
16
|
useAppStore,
|
|
17
17
|
useAppStoreApi
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MZXW5F5R.mjs";
|
|
19
19
|
import "./chunk-64A37UUC.mjs";
|
|
20
20
|
import "./chunk-SMAWAXVX.mjs";
|
|
21
21
|
import "./chunk-BFHV72KK.mjs";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ObjectField
|
|
3
|
+
} from "./chunk-XAD7XPP2.mjs";
|
|
4
|
+
import "./chunk-KAOWYQIB.mjs";
|
|
5
|
+
import "./chunk-JX7LICWE.mjs";
|
|
6
|
+
import "./chunk-H6RPI3T6.mjs";
|
|
7
|
+
import "./chunk-STIUFJT2.mjs";
|
|
8
|
+
import "./chunk-4NZUDTR6.mjs";
|
|
9
|
+
import "./chunk-SLKHXT3Q.mjs";
|
|
10
|
+
import "./chunk-RUJOMPX6.mjs";
|
|
11
|
+
import "./chunk-MZXW5F5R.mjs";
|
|
12
|
+
import "./chunk-64A37UUC.mjs";
|
|
13
|
+
import "./chunk-SMAWAXVX.mjs";
|
|
14
|
+
import "./chunk-BFHV72KK.mjs";
|
|
15
|
+
import "./chunk-7LXZOPYT.mjs";
|
|
16
|
+
import "./chunk-AFVEAZTD.mjs";
|
|
17
|
+
export {
|
|
18
|
+
ObjectField
|
|
19
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EditorInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JX7LICWE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
IconButton,
|
|
6
6
|
LoadedRichTextMenuInner,
|
|
7
7
|
Loader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-STIUFJT2.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-MZXW5F5R.mjs";
|
|
21
21
|
import {
|
|
22
22
|
get_class_name_factory_default
|
|
23
23
|
} from "./chunk-BFHV72KK.mjs";
|
|
@@ -973,7 +973,7 @@ EditorFallback.displayName = "EditorFallback";
|
|
|
973
973
|
// components/AutoField/fields/RichtextField/index.tsx
|
|
974
974
|
import { Fragment as Fragment4, jsx as jsx15 } from "react/jsx-runtime";
|
|
975
975
|
var Editor = lazy(
|
|
976
|
-
() => import("./Editor-
|
|
976
|
+
() => import("./Editor-OFA3KX3N.mjs").then((m) => ({
|
|
977
977
|
default: m.Editor
|
|
978
978
|
}))
|
|
979
979
|
);
|
|
@@ -1010,8 +1010,8 @@ var RichtextField = ({
|
|
|
1010
1010
|
|
|
1011
1011
|
// components/AutoField/AutoFieldInternal.tsx
|
|
1012
1012
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
1013
|
-
var ArrayField = lazy2(() => import("./ArrayField-
|
|
1014
|
-
var ObjectField = lazy2(() => import("./ObjectField-
|
|
1013
|
+
var ArrayField = lazy2(() => import("./ArrayField-PGZLQW7G.mjs").then((m) => ({ default: m.ArrayField })));
|
|
1014
|
+
var ObjectField = lazy2(() => import("./ObjectField-N7ES6H3B.mjs").then((m) => ({ default: m.ObjectField })));
|
|
1015
1015
|
var getClassNameWrapper2 = get_class_name_factory_default("InputWrapper", styles_module_default);
|
|
1016
1016
|
var defaultFields = {
|
|
1017
1017
|
array: ArrayField,
|
|
@@ -1730,7 +1730,7 @@ var Item = ({
|
|
|
1730
1730
|
isSelected,
|
|
1731
1731
|
onClick
|
|
1732
1732
|
}) => {
|
|
1733
|
-
return /* @__PURE__ */ jsx("button", { className: getItemClassName({ isSelected }), onClick, children });
|
|
1733
|
+
return /* @__PURE__ */ jsx("button", { type: "button", className: getItemClassName({ isSelected }), onClick, children });
|
|
1734
1734
|
};
|
|
1735
1735
|
var Select = ({
|
|
1736
1736
|
children,
|
|
@@ -1755,7 +1755,7 @@ var Select = ({
|
|
|
1755
1755
|
disabled: isDisabled
|
|
1756
1756
|
}),
|
|
1757
1757
|
children: /* @__PURE__ */ jsxs(Popover, { open, onOpenChange: setOpen, children: [
|
|
1758
|
-
hasOptions ? /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs("button", { className: getClassName("button"), children: [
|
|
1758
|
+
hasOptions ? /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs("button", { type: "button", className: getClassName("button"), children: [
|
|
1759
1759
|
/* @__PURE__ */ jsx("span", { className: getClassName("buttonIcon"), children }),
|
|
1760
1760
|
/* @__PURE__ */ jsx(ChevronDown, { size: 12 })
|
|
1761
1761
|
] }) }) : /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", { className: getClassName("button"), children: [
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
useFieldStore,
|
|
5
5
|
useFieldStoreApi,
|
|
6
6
|
useNestedFieldContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KAOWYQIB.mjs";
|
|
8
8
|
import {
|
|
9
9
|
IconButton
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-STIUFJT2.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-MZXW5F5R.mjs";
|
|
22
22
|
import {
|
|
23
23
|
populateIds
|
|
24
24
|
} from "./chunk-64A37UUC.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAlignOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4NZUDTR6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useHeadingOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SLKHXT3Q.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useListOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RUJOMPX6.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Bold,
|
|
12
12
|
Code,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
TextAlignStart,
|
|
27
27
|
Underline,
|
|
28
28
|
useControlContext
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MZXW5F5R.mjs";
|
|
30
30
|
import {
|
|
31
31
|
get_class_name_factory_default
|
|
32
32
|
} from "./chunk-BFHV72KK.mjs";
|
|
@@ -311,7 +311,7 @@ function AlignSelectFallback() {
|
|
|
311
311
|
// components/RichTextMenu/controls/AlignSelect/index.tsx
|
|
312
312
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
313
313
|
var AlignSelectLoaded = lazy(
|
|
314
|
-
() => import("./loaded-
|
|
314
|
+
() => import("./loaded-5D7VRSXM.mjs").then((m) => ({
|
|
315
315
|
default: m.AlignSelectLoaded
|
|
316
316
|
}))
|
|
317
317
|
);
|
|
@@ -530,7 +530,7 @@ function HeadingSelectFallback() {
|
|
|
530
530
|
// components/RichTextMenu/controls/HeadingSelect/index.tsx
|
|
531
531
|
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
532
532
|
var HeadingSelectLoaded = lazy2(
|
|
533
|
-
() => import("./loaded-
|
|
533
|
+
() => import("./loaded-3MKTRGL5.mjs").then((m) => ({
|
|
534
534
|
default: m.HeadingSelectLoaded
|
|
535
535
|
}))
|
|
536
536
|
);
|
|
@@ -560,7 +560,7 @@ function ListSelectFallback() {
|
|
|
560
560
|
// components/RichTextMenu/controls/ListSelect/index.tsx
|
|
561
561
|
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
562
562
|
var ListSelectLoaded = lazy3(
|
|
563
|
-
() => import("./loaded-
|
|
563
|
+
() => import("./loaded-NRHNHJPM.mjs").then((m) => ({
|
|
564
564
|
default: m.ListSelectLoaded
|
|
565
565
|
}))
|
|
566
566
|
);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadedRichTextMenu
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WSTUSWZT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DragIcon,
|
|
6
6
|
collisionStore,
|
|
7
7
|
createDynamicCollisionDetector,
|
|
8
8
|
setDeep,
|
|
9
9
|
useSensors
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QHJGER7I.mjs";
|
|
11
11
|
import {
|
|
12
12
|
AutoFieldPrivate,
|
|
13
13
|
Button,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
fieldContextStore,
|
|
17
17
|
useContextStore,
|
|
18
18
|
useSafeId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KAOWYQIB.mjs";
|
|
20
20
|
import {
|
|
21
21
|
RichTextRenderFallback,
|
|
22
22
|
SlotRender,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
ActionBar,
|
|
31
31
|
IconButton,
|
|
32
32
|
Loader
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-STIUFJT2.mjs";
|
|
34
34
|
import {
|
|
35
35
|
Box,
|
|
36
36
|
ChartColumn,
|
|
@@ -61,6 +61,7 @@ import {
|
|
|
61
61
|
Quote,
|
|
62
62
|
RectangleEllipsis,
|
|
63
63
|
Redo2,
|
|
64
|
+
Search,
|
|
64
65
|
Settings,
|
|
65
66
|
Shapes,
|
|
66
67
|
Smartphone,
|
|
@@ -86,7 +87,7 @@ import {
|
|
|
86
87
|
useRegisterHistorySlice,
|
|
87
88
|
useRegisterPermissionsSlice,
|
|
88
89
|
useResetAutoZoom
|
|
89
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-MZXW5F5R.mjs";
|
|
90
91
|
import {
|
|
91
92
|
getItem,
|
|
92
93
|
insert,
|
|
@@ -1925,7 +1926,7 @@ import {
|
|
|
1925
1926
|
} from "react";
|
|
1926
1927
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
1927
1928
|
var Editor = lazy(
|
|
1928
|
-
() => import("./Editor-
|
|
1929
|
+
() => import("./Editor-OFA3KX3N.mjs").then((m) => ({
|
|
1929
1930
|
default: m.Editor
|
|
1930
1931
|
}))
|
|
1931
1932
|
);
|
|
@@ -3199,6 +3200,7 @@ var Components = () => {
|
|
|
3199
3200
|
}, [searchTerm, config.components]);
|
|
3200
3201
|
return /* @__PURE__ */ jsxs8(Wrapper, { className: getClassName6(), children: [
|
|
3201
3202
|
/* @__PURE__ */ jsx17("div", { className: getClassName6("searchContainer"), children: /* @__PURE__ */ jsxs8("div", { className: getClassName6("searchWrapper"), children: [
|
|
3203
|
+
/* @__PURE__ */ jsx17(Search, { size: 14, className: getClassName6("searchIcon"), "aria-hidden": "true" }),
|
|
3202
3204
|
/* @__PURE__ */ jsx17(
|
|
3203
3205
|
"input",
|
|
3204
3206
|
{
|
|
@@ -3206,7 +3208,8 @@ var Components = () => {
|
|
|
3206
3208
|
className: getClassName6("searchInput"),
|
|
3207
3209
|
placeholder: "Search blocks...",
|
|
3208
3210
|
value: searchTerm,
|
|
3209
|
-
onChange: (e) => setSearchTerm(e.target.value)
|
|
3211
|
+
onChange: (e) => setSearchTerm(e.target.value),
|
|
3212
|
+
"aria-label": "Search blocks"
|
|
3210
3213
|
}
|
|
3211
3214
|
),
|
|
3212
3215
|
searchTerm && /* @__PURE__ */ jsx17(
|
|
@@ -3216,7 +3219,8 @@ var Components = () => {
|
|
|
3216
3219
|
className: getClassName6("clearButton"),
|
|
3217
3220
|
onClick: () => setSearchTerm(""),
|
|
3218
3221
|
title: "Clear search",
|
|
3219
|
-
|
|
3222
|
+
"aria-label": "Clear search",
|
|
3223
|
+
children: /* @__PURE__ */ jsx17(X, { size: 12, "aria-hidden": "true" })
|
|
3220
3224
|
}
|
|
3221
3225
|
)
|
|
3222
3226
|
] }) }),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadedRichTextMenuInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-STIUFJT2.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-ECZCK3RE.mjs").then((m) => ({
|
|
10
10
|
default: m.LoadedRichTextMenuFull
|
|
11
11
|
}))
|
|
12
12
|
);
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
getDeep,
|
|
4
4
|
useFieldStoreApi,
|
|
5
5
|
useNestedFieldContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KAOWYQIB.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChevronDown,
|
|
9
9
|
ChevronUp,
|
|
10
10
|
LayoutTemplate,
|
|
11
11
|
useAppStore
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MZXW5F5R.mjs";
|
|
13
13
|
import {
|
|
14
14
|
get_class_name_factory_default
|
|
15
15
|
} from "./chunk-BFHV72KK.mjs";
|
|
@@ -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-STIUFJT2.mjs";
|
|
4
|
+
import "./chunk-4NZUDTR6.mjs";
|
|
5
|
+
import "./chunk-SLKHXT3Q.mjs";
|
|
6
|
+
import "./chunk-RUJOMPX6.mjs";
|
|
7
|
+
import "./chunk-MZXW5F5R.mjs";
|
|
8
8
|
import "./chunk-64A37UUC.mjs";
|
|
9
9
|
import "./chunk-SMAWAXVX.mjs";
|
|
10
10
|
import "./chunk-BFHV72KK.mjs";
|
package/dist/index.js
CHANGED
|
@@ -5469,7 +5469,7 @@ var init_Select = __esm({
|
|
|
5469
5469
|
isSelected,
|
|
5470
5470
|
onClick
|
|
5471
5471
|
}) => {
|
|
5472
|
-
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("button", { className: getItemClassName({ isSelected }), onClick, children });
|
|
5472
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("button", { type: "button", className: getItemClassName({ isSelected }), onClick, children });
|
|
5473
5473
|
};
|
|
5474
5474
|
Select = ({
|
|
5475
5475
|
children,
|
|
@@ -5494,7 +5494,7 @@ var init_Select = __esm({
|
|
|
5494
5494
|
disabled: isDisabled
|
|
5495
5495
|
}),
|
|
5496
5496
|
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_react_popover.Popover, { open, onOpenChange: setOpen, children: [
|
|
5497
|
-
hasOptions ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_popover.PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("button", { className: getClassName14("button"), children: [
|
|
5497
|
+
hasOptions ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_popover.PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("button", { type: "button", className: getClassName14("button"), children: [
|
|
5498
5498
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: getClassName14("buttonIcon"), children }),
|
|
5499
5499
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ChevronDown, { size: 12 })
|
|
5500
5500
|
] }) }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: getClassName14("button"), children: [
|
|
@@ -11808,6 +11808,7 @@ var Components = () => {
|
|
|
11808
11808
|
}, [searchTerm, config.components]);
|
|
11809
11809
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(Wrapper, { className: getClassName29(), children: [
|
|
11810
11810
|
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: getClassName29("searchContainer"), children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: getClassName29("searchWrapper"), children: [
|
|
11811
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Search, { size: 14, className: getClassName29("searchIcon"), "aria-hidden": "true" }),
|
|
11811
11812
|
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
11812
11813
|
"input",
|
|
11813
11814
|
{
|
|
@@ -11815,7 +11816,8 @@ var Components = () => {
|
|
|
11815
11816
|
className: getClassName29("searchInput"),
|
|
11816
11817
|
placeholder: "Search blocks...",
|
|
11817
11818
|
value: searchTerm,
|
|
11818
|
-
onChange: (e) => setSearchTerm(e.target.value)
|
|
11819
|
+
onChange: (e) => setSearchTerm(e.target.value),
|
|
11820
|
+
"aria-label": "Search blocks"
|
|
11819
11821
|
}
|
|
11820
11822
|
),
|
|
11821
11823
|
searchTerm && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
@@ -11825,7 +11827,8 @@ var Components = () => {
|
|
|
11825
11827
|
className: getClassName29("clearButton"),
|
|
11826
11828
|
onClick: () => setSearchTerm(""),
|
|
11827
11829
|
title: "Clear search",
|
|
11828
|
-
|
|
11830
|
+
"aria-label": "Clear search",
|
|
11831
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(X, { size: 12, "aria-hidden": "true" })
|
|
11829
11832
|
}
|
|
11830
11833
|
)
|
|
11831
11834
|
] }) }),
|
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-W7LED3JG.mjs";
|
|
19
|
+
import "./chunk-WSTUSWZT.mjs";
|
|
20
20
|
import {
|
|
21
21
|
setDeep
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-QHJGER7I.mjs";
|
|
23
|
+
import "./chunk-XAD7XPP2.mjs";
|
|
24
24
|
import {
|
|
25
25
|
AutoField,
|
|
26
26
|
Button,
|
|
27
27
|
FieldLabel
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-KAOWYQIB.mjs";
|
|
29
|
+
import "./chunk-JX7LICWE.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-STIUFJT2.mjs";
|
|
45
|
+
import "./chunk-4NZUDTR6.mjs";
|
|
46
|
+
import "./chunk-SLKHXT3Q.mjs";
|
|
47
|
+
import "./chunk-RUJOMPX6.mjs";
|
|
48
|
+
import "./chunk-MZXW5F5R.mjs";
|
|
49
49
|
import "./chunk-64A37UUC.mjs";
|
|
50
50
|
import "./chunk-SMAWAXVX.mjs";
|
|
51
51
|
import "./chunk-BFHV72KK.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useHeadingOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SLKHXT3Q.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Heading,
|
|
6
6
|
SelectControl,
|
|
7
7
|
useControlContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MZXW5F5R.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-4NZUDTR6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
SelectControl,
|
|
6
6
|
TextAlignStart,
|
|
7
7
|
useControlContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MZXW5F5R.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-RUJOMPX6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
List,
|
|
6
6
|
SelectControl,
|
|
7
7
|
useControlContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MZXW5F5R.mjs";
|
|
9
9
|
import "./chunk-64A37UUC.mjs";
|
|
10
10
|
import "./chunk-SMAWAXVX.mjs";
|
|
11
11
|
import "./chunk-BFHV72KK.mjs";
|
package/dist/no-external.js
CHANGED
|
@@ -5469,7 +5469,7 @@ var init_Select = __esm({
|
|
|
5469
5469
|
isSelected,
|
|
5470
5470
|
onClick
|
|
5471
5471
|
}) => {
|
|
5472
|
-
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("button", { className: getItemClassName({ isSelected }), onClick, children });
|
|
5472
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("button", { type: "button", className: getItemClassName({ isSelected }), onClick, children });
|
|
5473
5473
|
};
|
|
5474
5474
|
Select = ({
|
|
5475
5475
|
children,
|
|
@@ -5494,7 +5494,7 @@ var init_Select = __esm({
|
|
|
5494
5494
|
disabled: isDisabled
|
|
5495
5495
|
}),
|
|
5496
5496
|
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_react_popover.Popover, { open, onOpenChange: setOpen, children: [
|
|
5497
|
-
hasOptions ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_popover.PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("button", { className: getClassName14("button"), children: [
|
|
5497
|
+
hasOptions ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_popover.PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("button", { type: "button", className: getClassName14("button"), children: [
|
|
5498
5498
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: getClassName14("buttonIcon"), children }),
|
|
5499
5499
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ChevronDown, { size: 12 })
|
|
5500
5500
|
] }) }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: getClassName14("button"), children: [
|
|
@@ -11808,6 +11808,7 @@ var Components = () => {
|
|
|
11808
11808
|
}, [searchTerm, config.components]);
|
|
11809
11809
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(Wrapper, { className: getClassName29(), children: [
|
|
11810
11810
|
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: getClassName29("searchContainer"), children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: getClassName29("searchWrapper"), children: [
|
|
11811
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Search, { size: 14, className: getClassName29("searchIcon"), "aria-hidden": "true" }),
|
|
11811
11812
|
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
11812
11813
|
"input",
|
|
11813
11814
|
{
|
|
@@ -11815,7 +11816,8 @@ var Components = () => {
|
|
|
11815
11816
|
className: getClassName29("searchInput"),
|
|
11816
11817
|
placeholder: "Search blocks...",
|
|
11817
11818
|
value: searchTerm,
|
|
11818
|
-
onChange: (e) => setSearchTerm(e.target.value)
|
|
11819
|
+
onChange: (e) => setSearchTerm(e.target.value),
|
|
11820
|
+
"aria-label": "Search blocks"
|
|
11819
11821
|
}
|
|
11820
11822
|
),
|
|
11821
11823
|
searchTerm && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
@@ -11825,7 +11827,8 @@ var Components = () => {
|
|
|
11825
11827
|
className: getClassName29("clearButton"),
|
|
11826
11828
|
onClick: () => setSearchTerm(""),
|
|
11827
11829
|
title: "Clear search",
|
|
11828
|
-
|
|
11830
|
+
"aria-label": "Clear search",
|
|
11831
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(X, { size: 12, "aria-hidden": "true" })
|
|
11829
11832
|
}
|
|
11830
11833
|
)
|
|
11831
11834
|
] }) }),
|
package/dist/no-external.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-W7LED3JG.mjs";
|
|
19
|
+
import "./chunk-WSTUSWZT.mjs";
|
|
20
20
|
import {
|
|
21
21
|
setDeep
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-QHJGER7I.mjs";
|
|
23
|
+
import "./chunk-XAD7XPP2.mjs";
|
|
24
24
|
import {
|
|
25
25
|
AutoField,
|
|
26
26
|
Button,
|
|
27
27
|
FieldLabel
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-KAOWYQIB.mjs";
|
|
29
|
+
import "./chunk-JX7LICWE.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-STIUFJT2.mjs";
|
|
45
|
+
import "./chunk-4NZUDTR6.mjs";
|
|
46
|
+
import "./chunk-SLKHXT3Q.mjs";
|
|
47
|
+
import "./chunk-RUJOMPX6.mjs";
|
|
48
|
+
import "./chunk-MZXW5F5R.mjs";
|
|
49
49
|
import "./chunk-64A37UUC.mjs";
|
|
50
50
|
import "./chunk-SMAWAXVX.mjs";
|
|
51
51
|
import "./chunk-BFHV72KK.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crediblemark/build",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.6",
|
|
4
4
|
"description": "The open-source visual editor for React",
|
|
5
5
|
"author": "Rasyiqi Crediblemark",
|
|
6
6
|
"repository": {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"prepublishOnly": "bun run build"
|
|
76
76
|
},
|
|
77
77
|
"bin": {
|
|
78
|
-
"credbuild": "
|
|
78
|
+
"credbuild": "bin/credbuild.js"
|
|
79
79
|
},
|
|
80
80
|
"files": [
|
|
81
81
|
"dist",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ArrayField
|
|
3
|
-
} from "./chunk-KRSRYBNG.mjs";
|
|
4
|
-
import "./chunk-HDKBRPN3.mjs";
|
|
5
|
-
import "./chunk-QX5Z2UCM.mjs";
|
|
6
|
-
import "./chunk-H6RPI3T6.mjs";
|
|
7
|
-
import "./chunk-2BGYCLSQ.mjs";
|
|
8
|
-
import "./chunk-YNBP3U53.mjs";
|
|
9
|
-
import "./chunk-XLLRNZSM.mjs";
|
|
10
|
-
import "./chunk-3TEHZVFI.mjs";
|
|
11
|
-
import "./chunk-N2OOMTBI.mjs";
|
|
12
|
-
import "./chunk-64A37UUC.mjs";
|
|
13
|
-
import "./chunk-SMAWAXVX.mjs";
|
|
14
|
-
import "./chunk-BFHV72KK.mjs";
|
|
15
|
-
import "./chunk-7LXZOPYT.mjs";
|
|
16
|
-
import "./chunk-AFVEAZTD.mjs";
|
|
17
|
-
export {
|
|
18
|
-
ArrayField
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ObjectField
|
|
3
|
-
} from "./chunk-WJLEG7PD.mjs";
|
|
4
|
-
import "./chunk-HDKBRPN3.mjs";
|
|
5
|
-
import "./chunk-QX5Z2UCM.mjs";
|
|
6
|
-
import "./chunk-H6RPI3T6.mjs";
|
|
7
|
-
import "./chunk-2BGYCLSQ.mjs";
|
|
8
|
-
import "./chunk-YNBP3U53.mjs";
|
|
9
|
-
import "./chunk-XLLRNZSM.mjs";
|
|
10
|
-
import "./chunk-3TEHZVFI.mjs";
|
|
11
|
-
import "./chunk-N2OOMTBI.mjs";
|
|
12
|
-
import "./chunk-64A37UUC.mjs";
|
|
13
|
-
import "./chunk-SMAWAXVX.mjs";
|
|
14
|
-
import "./chunk-BFHV72KK.mjs";
|
|
15
|
-
import "./chunk-7LXZOPYT.mjs";
|
|
16
|
-
import "./chunk-AFVEAZTD.mjs";
|
|
17
|
-
export {
|
|
18
|
-
ObjectField
|
|
19
|
-
};
|