@sealcode/jdd-editor 0.2.16 → 0.2.17
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/.nyc_output/d5d65fea-85bd-4682-8753-cd95b2fb397a.json +1 -0
- package/.nyc_output/processinfo/{0553c492-d66d-4588-be20-d4a284e17ff7.json → 75f3e742-9c3d-4937-adad-ed712149983a.json} +1 -1
- package/.nyc_output/processinfo/{15c7e9a9-1ea9-4c86-8310-45fa6fc6e38b.json → a331cb1e-8707-469e-95be-5bc65de3f692.json} +1 -1
- package/.nyc_output/processinfo/d5d65fea-85bd-4682-8753-cd95b2fb397a.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/.xunit +1 -1
- package/@types/components.sreact.d.ts +1 -1
- package/@types/inputs/component-input-markdown.d.ts +6 -0
- package/@types/jdd-creator.d.ts +2 -2
- package/assets/styles/markdown-editor.css +9 -39
- package/coverage/clover.xml +189 -253
- package/dist/src/inputs/component-input-markdown.js +49 -0
- package/dist/src/inputs/component-input-markdown.js.map +7 -0
- package/dist/src/inputs/component-input.js +7 -16
- package/dist/src/inputs/component-input.js.map +2 -2
- package/package.json +1 -1
- package/src/inputs/component-input-markdown.ts +58 -0
- package/src/inputs/component-input.ts +7 -17
- package/.nyc_output/51efb67f-ce86-4cce-8246-d293600e6ff2.json +0 -1
- package/.nyc_output/processinfo/51efb67f-ce86-4cce-8246-d293600e6ff2.json +0 -1
- package/@types/controllers/markdown-textarea.stimulus.d.ts +0 -20
- package/dist/src/controllers/markdown-textarea.stimulus.js +0 -174
- package/dist/src/controllers/markdown-textarea.stimulus.js.map +0 -7
- package/src/controllers/markdown-textarea.stimulus.ts +0 -198
- /package/.nyc_output/{0553c492-d66d-4588-be20-d4a284e17ff7.json → 75f3e742-9c3d-4937-adad-ed712149983a.json} +0 -0
- /package/.nyc_output/{15c7e9a9-1ea9-4c86-8310-45fa6fc6e38b.json → a331cb1e-8707-469e-95be-5bc65de3f692.json} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"parent":null,"pid":
|
|
1
|
+
{"parent":null,"pid":1828614,"argv":["/home/kuba/.local/share/fnm/node-versions/v21.7.3/installation/bin/node","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/node_modules/.bin/mocha","--reporter","xunit","--reporter-option","output=.xunit"],"execArgv":[],"cwd":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor","time":1772131244448,"ppid":1828590,"coverageFilename":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/.nyc_output/75f3e742-9c3d-4937-adad-ed712149983a.json","externalId":"","uuid":"75f3e742-9c3d-4937-adad-ed712149983a","files":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"parent":"
|
|
1
|
+
{"parent":"75f3e742-9c3d-4937-adad-ed712149983a","pid":1828621,"argv":["/home/kuba/.local/share/fnm/node-versions/v21.7.3/installation/bin/node","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/node_modules/.bin/mocha","--recursive","--timeout=10000","--require","source-map-support/register","lib/src/**/*.test.js"],"execArgv":[],"cwd":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor","time":1772131244679,"ppid":1828614,"coverageFilename":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/.nyc_output/a331cb1e-8707-469e-95be-5bc65de3f692.json","externalId":"","uuid":"a331cb1e-8707-469e-95be-5bc65de3f692","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1828590,"argv":["/home/kuba/.local/share/fnm/node-versions/v21.7.3/installation/bin/node","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/node_modules/.bin/nyc","--reporter","clover","mocha","--reporter","xunit","--reporter-option","output=.xunit"],"execArgv":[],"cwd":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor","time":1772131243546,"ppid":1828579,"coverageFilename":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/.nyc_output/d5d65fea-85bd-4682-8753-cd95b2fb397a.json","externalId":"","uuid":"d5d65fea-85bd-4682-8753-cd95b2fb397a","files":["/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/component-preview-actions.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/components.sreact.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/autogrow-textarea.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/code-snippet.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/component-debugger.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/exportable-textarea.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/input-image-preview.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/jdd-table-paste.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/json-editor.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/refresh-on-ts-changes.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/refresh-styles.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/submit-on-input.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/toast.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/edit-jdd-field.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/index.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-boolean.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code-with-custom-language.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-color.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-enum.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-image.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-list.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-markdown.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-single-reference.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-structured.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-table.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/print-arg-path.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/jdd-creator.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/jdd-page.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/test.test.ts"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"processes":{"
|
|
1
|
+
{"processes":{"75f3e742-9c3d-4937-adad-ed712149983a":{"parent":null,"children":["a331cb1e-8707-469e-95be-5bc65de3f692"]},"a331cb1e-8707-469e-95be-5bc65de3f692":{"parent":"75f3e742-9c3d-4937-adad-ed712149983a","children":[]},"d5d65fea-85bd-4682-8753-cd95b2fb397a":{"parent":null,"children":[]}},"files":{"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/component-preview-actions.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/components.sreact.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/autogrow-textarea.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/code-snippet.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/component-debugger.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/exportable-textarea.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/input-image-preview.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/jdd-table-paste.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/json-editor.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/refresh-on-ts-changes.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/refresh-styles.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/submit-on-input.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/toast.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/edit-jdd-field.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/index.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-boolean.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code-with-custom-language.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-color.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-enum.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-image.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-list.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-markdown.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-single-reference.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-structured.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-table.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/print-arg-path.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/jdd-creator.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/jdd-page.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/test.test.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"]},"externalIds":{}}
|
package/.xunit
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<testsuite name="Mocha Tests" tests="0" failures="0" errors="0" skipped="0" timestamp="Thu,
|
|
1
|
+
<testsuite name="Mocha Tests" tests="0" failures="0" errors="0" skipped="0" timestamp="Thu, 26 Feb 2026 18:40:44 GMT" time="0">
|
|
2
2
|
</testsuite>
|
|
@@ -5,7 +5,7 @@ import type { JDDPageState } from "./jdd-page.js";
|
|
|
5
5
|
import JDDPage from "./jdd-page.js";
|
|
6
6
|
export declare class JDDDebugger extends JDDPage {
|
|
7
7
|
renderParameterButtons(state: JDDPageState): Stringifiable;
|
|
8
|
-
actions: Record<string, import("
|
|
8
|
+
actions: Record<string, import("../../sealgen/@types/index.js").StatefulPageAction<JDDPageState>>;
|
|
9
9
|
getInitialState(ctx: Context): Promise<{
|
|
10
10
|
components: never[];
|
|
11
11
|
}>;
|
package/@types/jdd-creator.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { JDDPageState } from "./jdd-page.js";
|
|
|
3
3
|
import JDDPage from "./jdd-page.js";
|
|
4
4
|
import { Stringifiable } from "tempstream/@types/stringify.js";
|
|
5
5
|
export default abstract class JDDCreator extends JDDPage {
|
|
6
|
-
actions: Record<string, import("
|
|
6
|
+
actions: Record<string, import("../../sealgen/@types/index.js").StatefulPageAction<JDDPageState>>;
|
|
7
7
|
/**
|
|
8
8
|
* This method returns list of components allowed in JDD Editor instance.
|
|
9
9
|
* If list is empty it will allow all of the components in registry,
|
|
@@ -11,7 +11,7 @@ export default abstract class JDDCreator extends JDDPage {
|
|
|
11
11
|
* available.
|
|
12
12
|
*/
|
|
13
13
|
getAllowedComponents(): string[];
|
|
14
|
-
getRegistryComponents(): Record<string, import("
|
|
14
|
+
getRegistryComponents(): Record<string, import("../../jdd/@types/component.js").Component<Record<string, import("../../jdd/@types/index.js").ComponentArgument<unknown, unknown, unknown>>>>;
|
|
15
15
|
renderParameterButtons(state: JDDPageState): string;
|
|
16
16
|
renderComponentBlock(ctx: Context, state: JDDPageState, component_data: {
|
|
17
17
|
component_name: string;
|
|
@@ -1,42 +1,12 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
display: block !important; /* the default grid display value makes it have some unwanted vertical space*/
|
|
8
|
-
width: 100%;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.CodeMirror,
|
|
12
|
-
.CodeMirror-scroll {
|
|
13
|
-
min-height: 100px !important;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@keyframes cm-fullscreen {
|
|
17
|
-
from {
|
|
18
|
-
transform: scale(0);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
to {
|
|
22
|
-
transform: (scale1);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.CodeMirror-fullscreen {
|
|
27
|
-
animation: cm-fullscreen 200ms;
|
|
28
|
-
}
|
|
1
|
+
.monaco-wrapper--markdown {
|
|
2
|
+
.toolbar {
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 4px;
|
|
5
|
+
margin-bottom: 4px;
|
|
6
|
+
margin-top: 4px;
|
|
29
7
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
8
|
+
button {
|
|
9
|
+
min-width: 32px;
|
|
10
|
+
}
|
|
33
11
|
}
|
|
34
|
-
|
|
35
|
-
to {
|
|
36
|
-
transform: translateY(0px);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.editor-toolbar.fullscreen {
|
|
41
|
-
animation: cm-toolbar-fullscreen 200ms;
|
|
42
12
|
}
|