@crediblemark/build 0.22.2 → 0.22.7
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 +1 -5
- package/dist/ArrayField-EPM4TV3J.mjs +538 -0
- package/dist/ArrayField-ZD5UTLNU.css +1216 -0
- package/dist/{Editor-XZF6CWVW.css → Editor-E7FALXHL.css} +7 -7
- package/dist/{Editor-ZC67OU2A.mjs → Editor-L674TD7T.mjs} +16 -18
- package/dist/ObjectField-MW3SSNKI.mjs +87 -0
- package/dist/ObjectField-SQKROKJM.css +1216 -0
- package/dist/{Render-WCX4AXOX.css → Render-JDXVKZXN.css} +1 -1
- package/dist/{Render-JBFI6HYN.mjs → Render-WP5OOTBB.mjs} +4 -7
- package/dist/chunk-2JUMF5G3.mjs +1145 -0
- package/dist/{chunk-VGDMWS44.mjs → chunk-4PJ4QMWI.mjs} +4 -25
- package/dist/{chunk-3AJBFQU4.mjs → chunk-64A37UUC.mjs} +19 -53
- package/dist/{chunk-QF3GD5WQ.mjs → chunk-67TMLSKM.mjs} +1 -5
- package/dist/{chunk-GUJDGRSM.mjs → chunk-7LXZOPYT.mjs} +5 -29
- package/dist/chunk-AEKBE267.mjs +19 -0
- package/dist/chunk-AFVEAZTD.mjs +2 -0
- package/dist/{chunk-IJHL7BIR.mjs → chunk-AL77I3BV.mjs} +1 -6
- package/dist/chunk-BFHV72KK.mjs +31 -0
- package/dist/{chunk-PHGC6QYB.mjs → chunk-DEUK76GN.mjs} +0 -5
- package/dist/{chunk-4SQOX3ZQ.mjs → chunk-DVK7K7D6.mjs} +5 -27
- package/dist/{chunk-VKBVSWU3.mjs → chunk-JNHQNNGW.mjs} +3672 -5905
- package/dist/{chunk-HHBUU7WF.mjs → chunk-JNMMY5D7.mjs} +1 -5
- package/dist/chunk-K27LFPQL.mjs +339 -0
- package/dist/{chunk-VFD76OD5.mjs → chunk-NYBWAKLT.mjs} +1 -5
- package/dist/chunk-RDTXKOE7.mjs +60 -0
- package/dist/{chunk-CDMESQDA.mjs → chunk-SMAWAXVX.mjs} +1 -10
- package/dist/{chunk-DSXRK4QJ.mjs → chunk-T6RT6PV4.mjs} +13 -62
- package/dist/{chunk-U2NVBXAC.mjs → chunk-ZY24NW7X.mjs} +246 -358
- package/dist/{full-ABQQRJAO.css → full-MY4DABK6.css} +6 -6
- package/dist/{full-LJRK5736.mjs → full-SGY5HNVB.mjs} +10 -14
- package/dist/index.css +588 -294
- package/dist/index.d.mts +5 -8
- package/dist/index.d.ts +5 -8
- package/dist/index.js +5985 -5656
- package/dist/index.mjs +23 -25
- package/dist/internal.mjs +3 -8
- package/dist/{loaded-NE2PIHUQ.mjs → loaded-2GLOBOVP.mjs} +7 -10
- package/dist/{loaded-N7VXUR4O.mjs → loaded-AH3CPHD2.mjs} +7 -10
- package/dist/{loaded-DWCENJKQ.mjs → loaded-ARSKBJWP.mjs} +7 -10
- package/dist/{loaded-SMEIWWHS.css → loaded-E7C36OKZ.css} +1 -1
- package/dist/no-external.css +299 -294
- package/dist/no-external.d.mts +1 -1
- package/dist/no-external.d.ts +1 -1
- package/dist/no-external.js +5985 -5656
- package/dist/no-external.mjs +23 -25
- package/dist/rsc.css +1 -1
- package/dist/rsc.js +5 -79
- package/dist/rsc.mjs +6 -12
- package/package.json +41 -36
- package/dist/chunk-B4BOBGYB.mjs +0 -42
- package/dist/chunk-YH7AXYKP.mjs +0 -109
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ export { v as Adaptor, A as AppState, w as ArrayField, x as ArrayState, y as AsF
|
|
|
3
3
|
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-C78ZVz19.mjs';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as react from 'react';
|
|
6
|
-
import
|
|
6
|
+
import { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
|
|
7
7
|
import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-Cxwg4vUV.mjs';
|
|
8
8
|
import '@tiptap/react';
|
|
9
9
|
import '@tiptap/extension-blockquote';
|
|
@@ -56,6 +56,8 @@ declare const Label: ({ label }: {
|
|
|
56
56
|
}) => react_jsx_runtime.JSX.Element;
|
|
57
57
|
declare const Separator: () => react_jsx_runtime.JSX.Element;
|
|
58
58
|
|
|
59
|
+
type FieldNoLabel<Props extends any = any> = Omit<Field<Props>, "label">;
|
|
60
|
+
|
|
59
61
|
declare const FieldLabel: ({ children, icon, label, el, readOnly, className, }: {
|
|
60
62
|
children?: ReactNode;
|
|
61
63
|
icon?: ReactNode;
|
|
@@ -65,7 +67,6 @@ declare const FieldLabel: ({ children, icon, label, el, readOnly, className, }:
|
|
|
65
67
|
className?: string;
|
|
66
68
|
}) => react_jsx_runtime.JSX.Element;
|
|
67
69
|
|
|
68
|
-
type FieldNoLabel<Props extends any = any> = Omit<Field<Props>, "label">;
|
|
69
70
|
declare function AutoField<ValueType = any, FieldType extends FieldNoLabel<ValueType> = FieldNoLabel<ValueType>>(props: FieldProps<FieldType, ValueType> & {
|
|
70
71
|
value: any;
|
|
71
72
|
}): react_jsx_runtime.JSX.Element | null;
|
|
@@ -154,6 +155,7 @@ type CredBuildProps<UserConfig extends Config = Config, G extends UserGenerics<U
|
|
|
154
155
|
_experimentalFullScreenCanvas?: boolean;
|
|
155
156
|
_experimentalVirtualization?: boolean;
|
|
156
157
|
};
|
|
158
|
+
|
|
157
159
|
declare function CredBuild<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>(props: CredBuildProps<UserConfig>): react_jsx_runtime.JSX.Element;
|
|
158
160
|
declare namespace CredBuild {
|
|
159
161
|
var Components: () => react_jsx_runtime.JSX.Element;
|
|
@@ -169,11 +171,6 @@ declare namespace CredBuild {
|
|
|
169
171
|
}) => react_jsx_runtime.JSX.Element;
|
|
170
172
|
}
|
|
171
173
|
|
|
172
|
-
declare const renderContext: react__default.Context<{
|
|
173
|
-
config: Config;
|
|
174
|
-
data: Data;
|
|
175
|
-
metadata: Metadata;
|
|
176
|
-
}>;
|
|
177
174
|
declare function Render<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>({ config, data, metadata, }: {
|
|
178
175
|
config: UserConfig;
|
|
179
176
|
data: Partial<G["UserData"] | Data>;
|
|
@@ -307,4 +304,4 @@ declare const outlinePlugin: () => Plugin;
|
|
|
307
304
|
|
|
308
305
|
declare const legacySideBarPlugin: () => Plugin;
|
|
309
306
|
|
|
310
|
-
export { Action, ActionBar, AutoField, Button, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal,
|
|
307
|
+
export { Action, ActionBar, AutoField, Button, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { v as Adaptor, A as AppState, w as ArrayField, x as ArrayState, y as AsF
|
|
|
3
3
|
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-B4ZvMfxS.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as react from 'react';
|
|
6
|
-
import
|
|
6
|
+
import { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
|
|
7
7
|
import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-CkSfgrvw.js';
|
|
8
8
|
import '@tiptap/react';
|
|
9
9
|
import '@tiptap/extension-blockquote';
|
|
@@ -56,6 +56,8 @@ declare const Label: ({ label }: {
|
|
|
56
56
|
}) => react_jsx_runtime.JSX.Element;
|
|
57
57
|
declare const Separator: () => react_jsx_runtime.JSX.Element;
|
|
58
58
|
|
|
59
|
+
type FieldNoLabel<Props extends any = any> = Omit<Field<Props>, "label">;
|
|
60
|
+
|
|
59
61
|
declare const FieldLabel: ({ children, icon, label, el, readOnly, className, }: {
|
|
60
62
|
children?: ReactNode;
|
|
61
63
|
icon?: ReactNode;
|
|
@@ -65,7 +67,6 @@ declare const FieldLabel: ({ children, icon, label, el, readOnly, className, }:
|
|
|
65
67
|
className?: string;
|
|
66
68
|
}) => react_jsx_runtime.JSX.Element;
|
|
67
69
|
|
|
68
|
-
type FieldNoLabel<Props extends any = any> = Omit<Field<Props>, "label">;
|
|
69
70
|
declare function AutoField<ValueType = any, FieldType extends FieldNoLabel<ValueType> = FieldNoLabel<ValueType>>(props: FieldProps<FieldType, ValueType> & {
|
|
70
71
|
value: any;
|
|
71
72
|
}): react_jsx_runtime.JSX.Element | null;
|
|
@@ -154,6 +155,7 @@ type CredBuildProps<UserConfig extends Config = Config, G extends UserGenerics<U
|
|
|
154
155
|
_experimentalFullScreenCanvas?: boolean;
|
|
155
156
|
_experimentalVirtualization?: boolean;
|
|
156
157
|
};
|
|
158
|
+
|
|
157
159
|
declare function CredBuild<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>(props: CredBuildProps<UserConfig>): react_jsx_runtime.JSX.Element;
|
|
158
160
|
declare namespace CredBuild {
|
|
159
161
|
var Components: () => react_jsx_runtime.JSX.Element;
|
|
@@ -169,11 +171,6 @@ declare namespace CredBuild {
|
|
|
169
171
|
}) => react_jsx_runtime.JSX.Element;
|
|
170
172
|
}
|
|
171
173
|
|
|
172
|
-
declare const renderContext: react__default.Context<{
|
|
173
|
-
config: Config;
|
|
174
|
-
data: Data;
|
|
175
|
-
metadata: Metadata;
|
|
176
|
-
}>;
|
|
177
174
|
declare function Render<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>({ config, data, metadata, }: {
|
|
178
175
|
config: UserConfig;
|
|
179
176
|
data: Partial<G["UserData"] | Data>;
|
|
@@ -307,4 +304,4 @@ declare const outlinePlugin: () => Plugin;
|
|
|
307
304
|
|
|
308
305
|
declare const legacySideBarPlugin: () => Plugin;
|
|
309
306
|
|
|
310
|
-
export { Action, ActionBar, AutoField, Button, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal,
|
|
307
|
+
export { Action, ActionBar, AutoField, Button, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild };
|