@sealcode/jdd-editor 0.2.0 → 0.2.4

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.
Files changed (37) hide show
  1. package/.husky/pre-commit +1 -0
  2. package/@types/component-preview-actions.d.ts +2 -26
  3. package/@types/components.sreact.d.ts +2 -30
  4. package/@types/controllers/json-editor.stimulus.d.ts +2 -0
  5. package/@types/inputs/component-input-color.d.ts +15 -0
  6. package/@types/jdd-creator.d.ts +1 -25
  7. package/@types/jdd-page.d.ts +8 -32
  8. package/dist/src/component-preview-actions.js.map +2 -2
  9. package/dist/src/components.sreact.js +1 -14
  10. package/dist/src/components.sreact.js.map +2 -2
  11. package/dist/src/controllers/json-editor.stimulus.js +33 -23
  12. package/dist/src/controllers/json-editor.stimulus.js.map +2 -2
  13. package/dist/src/controllers/refresh-styles.stimulus.js +5 -5
  14. package/dist/src/controllers/refresh-styles.stimulus.js.map +2 -2
  15. package/dist/src/inputs/component-input-color.js +27 -0
  16. package/dist/src/inputs/component-input-color.js.map +7 -0
  17. package/dist/src/inputs/component-input.js +14 -1
  18. package/dist/src/inputs/component-input.js.map +2 -2
  19. package/dist/src/jdd-page.js +81 -49
  20. package/dist/src/jdd-page.js.map +2 -2
  21. package/package.json +6 -5
  22. package/src/component-preview-actions.ts +9 -6
  23. package/src/components.sreact.ts +1 -14
  24. package/src/controllers/json-editor.stimulus.ts +33 -20
  25. package/src/controllers/refresh-styles.stimulus.ts +5 -5
  26. package/src/inputs/component-input-color.ts +38 -0
  27. package/src/inputs/component-input.ts +15 -2
  28. package/src/jdd-page.ts +89 -55
  29. package/.nyc_output/2ad4e34c-cebb-4299-9698-08eccbbe71f7.json +0 -1
  30. package/.nyc_output/71f2685b-e2c9-4db2-9f31-0dbdcacfcea1.json +0 -1
  31. package/.nyc_output/cfebf13d-f940-426b-a4d3-af28d17bb6b8.json +0 -1
  32. package/.nyc_output/processinfo/2ad4e34c-cebb-4299-9698-08eccbbe71f7.json +0 -1
  33. package/.nyc_output/processinfo/71f2685b-e2c9-4db2-9f31-0dbdcacfcea1.json +0 -1
  34. package/.nyc_output/processinfo/cfebf13d-f940-426b-a4d3-af28d17bb6b8.json +0 -1
  35. package/.nyc_output/processinfo/index.json +0 -1
  36. package/.xunit +0 -2
  37. package/coverage/clover.xml +0 -866
@@ -1 +0,0 @@
1
- {"parent":null,"pid":463847,"argv":["/home/kuba/.nvm/versions/node/v21.7.3/bin/node","/home/kuba/projects/sealcode/jdd-editor/node_modules/.bin/mocha","--reporter","xunit","--reporter-option","output=.xunit"],"execArgv":[],"cwd":"/home/kuba/projects/sealcode/jdd-editor","time":1743863959329,"ppid":463824,"coverageFilename":"/home/kuba/projects/sealcode/jdd-editor/.nyc_output/2ad4e34c-cebb-4299-9698-08eccbbe71f7.json","externalId":"","uuid":"2ad4e34c-cebb-4299-9698-08eccbbe71f7","files":[]}
@@ -1 +0,0 @@
1
- {"parent":"2ad4e34c-cebb-4299-9698-08eccbbe71f7","pid":463854,"argv":["/home/kuba/.nvm/versions/node/v21.7.3/bin/node","/home/kuba/projects/sealcode/jdd-editor/node_modules/.bin/mocha","--recursive","--timeout=10000","--require","source-map-support/register","lib/src/**/*.test.js"],"execArgv":[],"cwd":"/home/kuba/projects/sealcode/jdd-editor","time":1743863959434,"ppid":463847,"coverageFilename":"/home/kuba/projects/sealcode/jdd-editor/.nyc_output/71f2685b-e2c9-4db2-9f31-0dbdcacfcea1.json","externalId":"","uuid":"71f2685b-e2c9-4db2-9f31-0dbdcacfcea1","files":[]}
@@ -1 +0,0 @@
1
- {"parent":null,"pid":463824,"argv":["/home/kuba/.nvm/versions/node/v21.7.3/bin/node","/home/kuba/projects/sealcode/jdd-editor/node_modules/.bin/nyc","--reporter","clover","mocha","--reporter","xunit","--reporter-option","output=.xunit"],"execArgv":[],"cwd":"/home/kuba/projects/sealcode/jdd-editor","time":1743863958829,"ppid":463809,"coverageFilename":"/home/kuba/projects/sealcode/jdd-editor/.nyc_output/cfebf13d-f940-426b-a4d3-af28d17bb6b8.json","externalId":"","uuid":"cfebf13d-f940-426b-a4d3-af28d17bb6b8","files":["/home/kuba/projects/sealcode/jdd-editor/src/component-preview-actions.ts","/home/kuba/projects/sealcode/jdd-editor/src/components.sreact.ts","/home/kuba/projects/sealcode/jdd-editor/src/controllers/autogrow-textarea.stimulus.ts","/home/kuba/projects/sealcode/jdd-editor/src/controllers/component-debugger.stimulus.ts","/home/kuba/projects/sealcode/jdd-editor/src/controllers/exportable-textarea.stimulus.ts","/home/kuba/projects/sealcode/jdd-editor/src/controllers/input-image-preview.stimulus.ts","/home/kuba/projects/sealcode/jdd-editor/src/controllers/jdd-table-paste.stimulus.ts","/home/kuba/projects/sealcode/jdd-editor/src/controllers/json-editor.stimulus.ts","/home/kuba/projects/sealcode/jdd-editor/src/controllers/markdown-textarea.stimulus.ts","/home/kuba/projects/sealcode/jdd-editor/src/controllers/refresh-on-ts-changes.stimulus.ts","/home/kuba/projects/sealcode/jdd-editor/src/controllers/refresh-styles.stimulus.ts","/home/kuba/projects/sealcode/jdd-editor/src/controllers/submit-on-input.stimulus.ts","/home/kuba/projects/sealcode/jdd-editor/src/controllers/toast.stimulus.ts","/home/kuba/projects/sealcode/jdd-editor/src/edit-jdd-field.ts","/home/kuba/projects/sealcode/jdd-editor/src/index.ts","/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-enum.ts","/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-image.ts","/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-list.ts","/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-single-reference.ts","/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-structured.ts","/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-table.ts","/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input.ts","/home/kuba/projects/sealcode/jdd-editor/src/inputs/print-arg-path.ts","/home/kuba/projects/sealcode/jdd-editor/src/jdd-creator.ts","/home/kuba/projects/sealcode/jdd-editor/src/jdd-page.ts","/home/kuba/projects/sealcode/jdd-editor/src/test.test.ts"]}
@@ -1 +0,0 @@
1
- {"processes":{"2ad4e34c-cebb-4299-9698-08eccbbe71f7":{"parent":null,"children":["71f2685b-e2c9-4db2-9f31-0dbdcacfcea1"]},"71f2685b-e2c9-4db2-9f31-0dbdcacfcea1":{"parent":"2ad4e34c-cebb-4299-9698-08eccbbe71f7","children":[]},"cfebf13d-f940-426b-a4d3-af28d17bb6b8":{"parent":null,"children":[]}},"files":{"/home/kuba/projects/sealcode/jdd-editor/src/component-preview-actions.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/components.sreact.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/controllers/autogrow-textarea.stimulus.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/controllers/component-debugger.stimulus.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/controllers/exportable-textarea.stimulus.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/controllers/input-image-preview.stimulus.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/controllers/jdd-table-paste.stimulus.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/controllers/json-editor.stimulus.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/controllers/markdown-textarea.stimulus.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/controllers/refresh-on-ts-changes.stimulus.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/controllers/refresh-styles.stimulus.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/controllers/submit-on-input.stimulus.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/controllers/toast.stimulus.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/edit-jdd-field.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/index.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-enum.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-image.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-list.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-single-reference.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-structured.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input-table.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/inputs/component-input.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/inputs/print-arg-path.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/jdd-creator.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/jdd-page.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"],"/home/kuba/projects/sealcode/jdd-editor/src/test.test.ts":["cfebf13d-f940-426b-a4d3-af28d17bb6b8"]},"externalIds":{}}
package/.xunit DELETED
@@ -1,2 +0,0 @@
1
- <testsuite name="Mocha Tests" tests="0" failures="0" errors="0" skipped="0" timestamp="Sat, 05 Apr 2025 14:39:19 GMT" time="0">
2
- </testsuite>