@crediblemark/build 0.22.0
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/LICENSE +21 -0
- package/dist/Editor-XZF6CWVW.css +404 -0
- package/dist/Editor-ZC67OU2A.mjs +205 -0
- package/dist/Render-JBFI6HYN.mjs +55 -0
- package/dist/Render-WCX4AXOX.css +102 -0
- package/dist/actions-CEH_5LMY.d.mts +838 -0
- package/dist/actions-CEH_5LMY.d.ts +838 -0
- package/dist/chunk-3AJBFQU4.mjs +560 -0
- package/dist/chunk-4SQOX3ZQ.mjs +476 -0
- package/dist/chunk-B4BOBGYB.mjs +42 -0
- package/dist/chunk-CDMESQDA.mjs +148 -0
- package/dist/chunk-DSXRK4QJ.mjs +704 -0
- package/dist/chunk-GUJDGRSM.mjs +469 -0
- package/dist/chunk-HHBUU7WF.mjs +35 -0
- package/dist/chunk-IJHL7BIR.mjs +11 -0
- package/dist/chunk-PHGC6QYB.mjs +105 -0
- package/dist/chunk-QF3GD5WQ.mjs +65 -0
- package/dist/chunk-U2NVBXAC.mjs +2064 -0
- package/dist/chunk-VFD76OD5.mjs +55 -0
- package/dist/chunk-VGDMWS44.mjs +107 -0
- package/dist/chunk-VKBVSWU3.mjs +8538 -0
- package/dist/chunk-YH7AXYKP.mjs +109 -0
- package/dist/full-ABQQRJAO.css +301 -0
- package/dist/full-LJRK5736.mjs +94 -0
- package/dist/index-CkSfgrvw.d.ts +117 -0
- package/dist/index-Cxwg4vUV.d.mts +117 -0
- package/dist/index.css +2576 -0
- package/dist/index.d.mts +310 -0
- package/dist/index.d.ts +310 -0
- package/dist/index.js +15012 -0
- package/dist/index.mjs +83 -0
- package/dist/internal.d.mts +27 -0
- package/dist/internal.d.ts +27 -0
- package/dist/internal.js +960 -0
- package/dist/internal.mjs +13 -0
- package/dist/loaded-DWCENJKQ.mjs +55 -0
- package/dist/loaded-N7VXUR4O.mjs +59 -0
- package/dist/loaded-NE2PIHUQ.mjs +56 -0
- package/dist/loaded-SMEIWWHS.css +87 -0
- package/dist/no-external.css +2574 -0
- package/dist/no-external.d.mts +21 -0
- package/dist/no-external.d.ts +21 -0
- package/dist/no-external.js +15012 -0
- package/dist/no-external.mjs +83 -0
- package/dist/rsc.css +102 -0
- package/dist/rsc.d.mts +27 -0
- package/dist/rsc.d.ts +27 -0
- package/dist/rsc.js +1466 -0
- package/dist/rsc.mjs +147 -0
- package/dist/walk-tree-B4ZvMfxS.d.ts +29 -0
- package/dist/walk-tree-C78ZVz19.d.mts +29 -0
- package/package.json +145 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AutoField,
|
|
3
|
+
Button,
|
|
4
|
+
CredBuild,
|
|
5
|
+
Drawer,
|
|
6
|
+
DropZone,
|
|
7
|
+
FieldLabel,
|
|
8
|
+
Render,
|
|
9
|
+
blocksPlugin,
|
|
10
|
+
createUseCredBuild,
|
|
11
|
+
fieldsPlugin,
|
|
12
|
+
legacySideBarPlugin,
|
|
13
|
+
outlinePlugin,
|
|
14
|
+
overrideKeys,
|
|
15
|
+
registerOverlayPortal,
|
|
16
|
+
renderContext,
|
|
17
|
+
setDeep,
|
|
18
|
+
useCredBuild,
|
|
19
|
+
useGetCredBuild
|
|
20
|
+
} from "./chunk-VKBVSWU3.mjs";
|
|
21
|
+
import "./chunk-VGDMWS44.mjs";
|
|
22
|
+
import {
|
|
23
|
+
migrate,
|
|
24
|
+
resolveAllData,
|
|
25
|
+
transformProps
|
|
26
|
+
} from "./chunk-4SQOX3ZQ.mjs";
|
|
27
|
+
import "./chunk-IJHL7BIR.mjs";
|
|
28
|
+
import {
|
|
29
|
+
Action,
|
|
30
|
+
ActionBar,
|
|
31
|
+
Group,
|
|
32
|
+
IconButton,
|
|
33
|
+
Label,
|
|
34
|
+
RichTextMenu,
|
|
35
|
+
Separator
|
|
36
|
+
} from "./chunk-DSXRK4QJ.mjs";
|
|
37
|
+
import "./chunk-VFD76OD5.mjs";
|
|
38
|
+
import "./chunk-QF3GD5WQ.mjs";
|
|
39
|
+
import "./chunk-HHBUU7WF.mjs";
|
|
40
|
+
import "./chunk-U2NVBXAC.mjs";
|
|
41
|
+
import "./chunk-3AJBFQU4.mjs";
|
|
42
|
+
import "./chunk-CDMESQDA.mjs";
|
|
43
|
+
import "./chunk-YH7AXYKP.mjs";
|
|
44
|
+
import {
|
|
45
|
+
walkTree
|
|
46
|
+
} from "./chunk-GUJDGRSM.mjs";
|
|
47
|
+
import {
|
|
48
|
+
init_react_import
|
|
49
|
+
} from "./chunk-B4BOBGYB.mjs";
|
|
50
|
+
|
|
51
|
+
// bundle/no-external.ts
|
|
52
|
+
init_react_import();
|
|
53
|
+
export {
|
|
54
|
+
Action,
|
|
55
|
+
ActionBar,
|
|
56
|
+
AutoField,
|
|
57
|
+
Button,
|
|
58
|
+
CredBuild,
|
|
59
|
+
Drawer,
|
|
60
|
+
DropZone,
|
|
61
|
+
FieldLabel,
|
|
62
|
+
Group,
|
|
63
|
+
IconButton,
|
|
64
|
+
Label,
|
|
65
|
+
Render,
|
|
66
|
+
RichTextMenu,
|
|
67
|
+
Separator,
|
|
68
|
+
blocksPlugin,
|
|
69
|
+
createUseCredBuild,
|
|
70
|
+
fieldsPlugin,
|
|
71
|
+
legacySideBarPlugin,
|
|
72
|
+
migrate,
|
|
73
|
+
outlinePlugin,
|
|
74
|
+
overrideKeys,
|
|
75
|
+
registerOverlayPortal,
|
|
76
|
+
renderContext,
|
|
77
|
+
resolveAllData,
|
|
78
|
+
setDeep,
|
|
79
|
+
transformProps,
|
|
80
|
+
useCredBuild,
|
|
81
|
+
useGetCredBuild,
|
|
82
|
+
walkTree
|
|
83
|
+
};
|
package/dist/rsc.css
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/* css-module:/home/crediblemark/Project/NEXT_CMS/packages/components/RichTextEditor/styles.module.css/#css-module-data */
|
|
2
|
+
._RichTextEditor_hp4qf_1 .ProseMirror {
|
|
3
|
+
white-space: pre-wrap;
|
|
4
|
+
word-wrap: break-word;
|
|
5
|
+
cursor: text;
|
|
6
|
+
outline: none;
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
._RichTextEditor_hp4qf_1 .rich-text * {
|
|
10
|
+
white-space: pre-wrap;
|
|
11
|
+
user-select: auto;
|
|
12
|
+
-webkit-user-select: auto;
|
|
13
|
+
}
|
|
14
|
+
._RichTextEditor_hp4qf_1 .rich-text blockquote {
|
|
15
|
+
margin: 1em 0;
|
|
16
|
+
padding: 0 1em;
|
|
17
|
+
border-left: 4px solid var(--credbuild-color-grey-09);
|
|
18
|
+
}
|
|
19
|
+
._RichTextEditor_hp4qf_1 .rich-text code {
|
|
20
|
+
background-color: var(--credbuild-color-grey-11);
|
|
21
|
+
padding: 4px 8px;
|
|
22
|
+
border-radius: 4px;
|
|
23
|
+
}
|
|
24
|
+
._RichTextEditor_hp4qf_1 .rich-text p:empty::before {
|
|
25
|
+
content: "\a0";
|
|
26
|
+
}
|
|
27
|
+
._RichTextEditor_hp4qf_1 .rich-text pre code {
|
|
28
|
+
display: block;
|
|
29
|
+
padding: 8px 12px;
|
|
30
|
+
}
|
|
31
|
+
._RichTextEditor_hp4qf_1 .rich-text > *:first-child,
|
|
32
|
+
._RichTextEditor_hp4qf_1 .ProseMirror > *:first-child,
|
|
33
|
+
._RichTextEditor_hp4qf_1 .rich-text * p:first-of-type {
|
|
34
|
+
margin-top: 0;
|
|
35
|
+
}
|
|
36
|
+
._RichTextEditor_hp4qf_1 .rich-text > *:last-child,
|
|
37
|
+
._RichTextEditor_hp4qf_1 .ProseMirror > *:last-child,
|
|
38
|
+
._RichTextEditor_hp4qf_1 .rich-text * p:last-of-type {
|
|
39
|
+
margin-bottom: 0;
|
|
40
|
+
}
|
|
41
|
+
._RichTextEditor--editor_hp4qf_50 {
|
|
42
|
+
background: var(--credbuild-color-white);
|
|
43
|
+
border-width: 1px;
|
|
44
|
+
border-style: solid;
|
|
45
|
+
border-color: var(--credbuild-color-grey-09);
|
|
46
|
+
border-radius: 4px;
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
font-family: inherit;
|
|
51
|
+
font-size: var(--credbuild-font-size-xxs);
|
|
52
|
+
resize: vertical;
|
|
53
|
+
text-align: initial;
|
|
54
|
+
transition: border-color 50ms ease-in;
|
|
55
|
+
width: 100%;
|
|
56
|
+
max-width: 100%;
|
|
57
|
+
min-height: 128px;
|
|
58
|
+
}
|
|
59
|
+
._RichTextEditor--editor_hp4qf_50 .rich-text {
|
|
60
|
+
flex-grow: 1;
|
|
61
|
+
}
|
|
62
|
+
._RichTextEditor--editor_hp4qf_50 .rich-text:not(:has(.ProseMirror)),
|
|
63
|
+
._RichTextEditor--editor_hp4qf_50 .rich-text .ProseMirror {
|
|
64
|
+
height: 100%;
|
|
65
|
+
padding: 12px 15px;
|
|
66
|
+
}
|
|
67
|
+
._RichTextEditor--editor_hp4qf_50 .rich-text ul,
|
|
68
|
+
._RichTextEditor--editor_hp4qf_50 .rich-text ol {
|
|
69
|
+
padding-left: 24px;
|
|
70
|
+
}
|
|
71
|
+
._RichTextEditor--editor_hp4qf_50 .rich-text li {
|
|
72
|
+
line-height: 1.5;
|
|
73
|
+
}
|
|
74
|
+
._RichTextEditor--editor_hp4qf_50 .rich-text p {
|
|
75
|
+
margin-block: 12px;
|
|
76
|
+
}
|
|
77
|
+
._RichTextEditor--editor_hp4qf_50 .rich-text ul {
|
|
78
|
+
list-style: disc;
|
|
79
|
+
}
|
|
80
|
+
._RichTextEditor--editor_hp4qf_50 .rich-text ol {
|
|
81
|
+
list-style: decimal;
|
|
82
|
+
}
|
|
83
|
+
._RichTextEditor--editor_hp4qf_50:focus-within {
|
|
84
|
+
border-color: var(--credbuild-color-grey-05);
|
|
85
|
+
outline: 2px solid var(--credbuild-color-azure-05);
|
|
86
|
+
transition: none;
|
|
87
|
+
}
|
|
88
|
+
._RichTextEditor--editor_hp4qf_50._RichTextEditor--disabled_hp4qf_107 {
|
|
89
|
+
background: var(--credbuild-color-grey-11);
|
|
90
|
+
}
|
|
91
|
+
._RichTextEditor_hp4qf_1:not(:focus-within):not(._RichTextEditor--isActive_hp4qf_111) .ProseMirror ::selection {
|
|
92
|
+
background-color: transparent;
|
|
93
|
+
}
|
|
94
|
+
._RichTextEditor-menu_hp4qf_117 {
|
|
95
|
+
border-bottom: 1px solid var(--credbuild-color-grey-10);
|
|
96
|
+
position: sticky;
|
|
97
|
+
top: 0;
|
|
98
|
+
z-index: 1;
|
|
99
|
+
}
|
|
100
|
+
._RichTextEditor--disabled_hp4qf_107 ._RichTextEditor-menu_hp4qf_117 {
|
|
101
|
+
border-bottom: 1px solid var(--credbuild-color-grey-09);
|
|
102
|
+
}
|
package/dist/rsc.d.mts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { a as Config, U as UserGenerics, M as Metadata } from './actions-CEH_5LMY.mjs';
|
|
3
|
+
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-C78ZVz19.mjs';
|
|
4
|
+
import 'react';
|
|
5
|
+
import '@tiptap/react';
|
|
6
|
+
import '@tiptap/extension-blockquote';
|
|
7
|
+
import '@tiptap/extension-bold';
|
|
8
|
+
import '@tiptap/extension-code';
|
|
9
|
+
import '@tiptap/extension-code-block';
|
|
10
|
+
import '@tiptap/extension-hard-break';
|
|
11
|
+
import '@tiptap/extension-heading';
|
|
12
|
+
import '@tiptap/extension-horizontal-rule';
|
|
13
|
+
import '@tiptap/extension-italic';
|
|
14
|
+
import '@tiptap/extension-link';
|
|
15
|
+
import '@tiptap/extension-list';
|
|
16
|
+
import '@tiptap/extension-paragraph';
|
|
17
|
+
import '@tiptap/extension-strike';
|
|
18
|
+
import '@tiptap/extension-text-align';
|
|
19
|
+
import '@tiptap/extension-underline';
|
|
20
|
+
|
|
21
|
+
declare function Render<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>({ config, data, metadata, }: {
|
|
22
|
+
config: UserConfig;
|
|
23
|
+
data: G["UserData"];
|
|
24
|
+
metadata?: Metadata;
|
|
25
|
+
}): react_jsx_runtime.JSX.Element;
|
|
26
|
+
|
|
27
|
+
export { Render };
|
package/dist/rsc.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { a as Config, U as UserGenerics, M as Metadata } from './actions-CEH_5LMY.js';
|
|
3
|
+
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-B4ZvMfxS.js';
|
|
4
|
+
import 'react';
|
|
5
|
+
import '@tiptap/react';
|
|
6
|
+
import '@tiptap/extension-blockquote';
|
|
7
|
+
import '@tiptap/extension-bold';
|
|
8
|
+
import '@tiptap/extension-code';
|
|
9
|
+
import '@tiptap/extension-code-block';
|
|
10
|
+
import '@tiptap/extension-hard-break';
|
|
11
|
+
import '@tiptap/extension-heading';
|
|
12
|
+
import '@tiptap/extension-horizontal-rule';
|
|
13
|
+
import '@tiptap/extension-italic';
|
|
14
|
+
import '@tiptap/extension-link';
|
|
15
|
+
import '@tiptap/extension-list';
|
|
16
|
+
import '@tiptap/extension-paragraph';
|
|
17
|
+
import '@tiptap/extension-strike';
|
|
18
|
+
import '@tiptap/extension-text-align';
|
|
19
|
+
import '@tiptap/extension-underline';
|
|
20
|
+
|
|
21
|
+
declare function Render<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>({ config, data, metadata, }: {
|
|
22
|
+
config: UserConfig;
|
|
23
|
+
data: G["UserData"];
|
|
24
|
+
metadata?: Metadata;
|
|
25
|
+
}): react_jsx_runtime.JSX.Element;
|
|
26
|
+
|
|
27
|
+
export { Render };
|