@jotx-labs/standard-lib 2.2.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.
Files changed (67) hide show
  1. package/dist/blocks/Attachment.d.ts +2 -0
  2. package/dist/blocks/Attachment.js +20 -0
  3. package/dist/blocks/BlockRef.d.ts +2 -0
  4. package/dist/blocks/BlockRef.js +19 -0
  5. package/dist/blocks/Callout.d.ts +2 -0
  6. package/dist/blocks/Callout.js +19 -0
  7. package/dist/blocks/Cell.d.ts +2 -0
  8. package/dist/blocks/Cell.js +17 -0
  9. package/dist/blocks/Chart.d.ts +2 -0
  10. package/dist/blocks/Chart.js +32 -0
  11. package/dist/blocks/Checklist.d.ts +3 -0
  12. package/dist/blocks/Checklist.js +36 -0
  13. package/dist/blocks/Code.d.ts +2 -0
  14. package/dist/blocks/Code.js +21 -0
  15. package/dist/blocks/CodeReference.d.ts +2 -0
  16. package/dist/blocks/CodeReference.js +21 -0
  17. package/dist/blocks/DateTime.d.ts +2 -0
  18. package/dist/blocks/DateTime.js +20 -0
  19. package/dist/blocks/Divider.d.ts +2 -0
  20. package/dist/blocks/Divider.js +18 -0
  21. package/dist/blocks/FloatImage.d.ts +2 -0
  22. package/dist/blocks/FloatImage.js +24 -0
  23. package/dist/blocks/Header.d.ts +2 -0
  24. package/dist/blocks/Header.js +17 -0
  25. package/dist/blocks/Heading.d.ts +2 -0
  26. package/dist/blocks/Heading.js +25 -0
  27. package/dist/blocks/Image.d.ts +2 -0
  28. package/dist/blocks/Image.js +24 -0
  29. package/dist/blocks/JotxLink.d.ts +2 -0
  30. package/dist/blocks/JotxLink.js +22 -0
  31. package/dist/blocks/Link.d.ts +2 -0
  32. package/dist/blocks/Link.js +20 -0
  33. package/dist/blocks/LinkCard.d.ts +2 -0
  34. package/dist/blocks/LinkCard.js +23 -0
  35. package/dist/blocks/List.d.ts +3 -0
  36. package/dist/blocks/List.js +37 -0
  37. package/dist/blocks/Math.d.ts +2 -0
  38. package/dist/blocks/Math.js +21 -0
  39. package/dist/blocks/Mermaid.d.ts +2 -0
  40. package/dist/blocks/Mermaid.js +20 -0
  41. package/dist/blocks/Paragraph.d.ts +2 -0
  42. package/dist/blocks/Paragraph.js +24 -0
  43. package/dist/blocks/Properties.d.ts +2 -0
  44. package/dist/blocks/Properties.js +17 -0
  45. package/dist/blocks/Property.d.ts +2 -0
  46. package/dist/blocks/Property.js +21 -0
  47. package/dist/blocks/Quote.d.ts +2 -0
  48. package/dist/blocks/Quote.js +20 -0
  49. package/dist/blocks/Row.d.ts +2 -0
  50. package/dist/blocks/Row.js +13 -0
  51. package/dist/blocks/Section.d.ts +2 -0
  52. package/dist/blocks/Section.js +20 -0
  53. package/dist/blocks/Table.d.ts +5 -0
  54. package/dist/blocks/Table.js +61 -0
  55. package/dist/blocks/Toggle.d.ts +2 -0
  56. package/dist/blocks/Toggle.js +20 -0
  57. package/dist/blocks/Video.d.ts +2 -0
  58. package/dist/blocks/Video.js +27 -0
  59. package/dist/index 2.js +121 -0
  60. package/dist/index.d 2.ts +30 -0
  61. package/dist/index.d.ts +30 -0
  62. package/dist/index.js +121 -0
  63. package/dist/verify-stdlib 2.js +16 -0
  64. package/dist/verify-stdlib.d 2.ts +1 -0
  65. package/dist/verify-stdlib.d.ts +1 -0
  66. package/dist/verify-stdlib.js +16 -0
  67. package/package.json +27 -0
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const AttachmentBlock: BlockDefinition;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AttachmentBlock = void 0;
4
+ exports.AttachmentBlock = {
5
+ type: 'attach',
6
+ syntax: {
7
+ keyword: 'attachment',
8
+ hasText: true
9
+ },
10
+ schema: {
11
+ properties: {
12
+ path: { type: 'string', required: true },
13
+ text: { type: 'string', required: true }
14
+ }
15
+ },
16
+ ui: {
17
+ label: 'Attachment',
18
+ icon: 'paperclip'
19
+ }
20
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const BlockRefBlock: BlockDefinition;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BlockRefBlock = void 0;
4
+ exports.BlockRefBlock = {
5
+ type: 'blockref',
6
+ syntax: {
7
+ keyword: 'blockref',
8
+ hasText: false
9
+ },
10
+ schema: {
11
+ properties: {
12
+ ref: { type: 'string', required: true, description: 'Target block ID' }
13
+ }
14
+ },
15
+ ui: {
16
+ label: 'Block Reference',
17
+ icon: 'network' // Lucide icon
18
+ }
19
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const CalloutBlock: BlockDefinition;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CalloutBlock = void 0;
4
+ exports.CalloutBlock = {
5
+ type: 'callout',
6
+ syntax: {
7
+ keyword: 'callout',
8
+ hasChildren: true
9
+ },
10
+ schema: {
11
+ properties: {
12
+ variant: { type: 'enum', options: ['info', 'warning', 'success', 'danger'], default: 'info' }
13
+ }
14
+ },
15
+ ui: {
16
+ label: 'Callout',
17
+ icon: 'alert-circle'
18
+ }
19
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const CellBlock: BlockDefinition;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CellBlock = void 0;
4
+ exports.CellBlock = {
5
+ type: 'cell',
6
+ syntax: {
7
+ keyword: 'cell',
8
+ hasChildren: true,
9
+ hasText: true // Allows inline text
10
+ },
11
+ schema: {
12
+ properties: {
13
+ rowspan: { type: 'number', required: false },
14
+ colspan: { type: 'number', required: false }
15
+ }
16
+ }
17
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const ChartBlock: BlockDefinition;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChartBlock = void 0;
4
+ exports.ChartBlock = {
5
+ type: 'chart',
6
+ syntax: {
7
+ hasChildren: false,
8
+ hasText: true // for JSON content in 'text' prop if simple, else explicit 'json' prop
9
+ },
10
+ schema: {
11
+ properties: {
12
+ charttype: {
13
+ type: 'enum',
14
+ required: true,
15
+ options: ['bar', 'line', 'pie', 'doughnut', 'radar', 'polar']
16
+ },
17
+ showsource: {
18
+ type: 'boolean',
19
+ default: false
20
+ },
21
+ json: {
22
+ type: 'string',
23
+ required: true,
24
+ description: 'Chart.js JSON data'
25
+ }
26
+ }
27
+ },
28
+ ui: {
29
+ label: 'Chart',
30
+ icon: 'bar-chart'
31
+ }
32
+ };
@@ -0,0 +1,3 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const ChecklistBlock: BlockDefinition;
3
+ export declare const TaskItemBlock: BlockDefinition;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TaskItemBlock = exports.ChecklistBlock = void 0;
4
+ exports.ChecklistBlock = {
5
+ type: 'checklist', // Matches legacy "def checklist"
6
+ syntax: {
7
+ keyword: 'checklist',
8
+ hasChildren: true,
9
+ hasText: false
10
+ },
11
+ schema: {
12
+ properties: {}
13
+ },
14
+ ui: {
15
+ label: 'Checklist',
16
+ icon: 'check-square'
17
+ }
18
+ };
19
+ exports.TaskItemBlock = {
20
+ type: 'taskitem',
21
+ syntax: {
22
+ keyword: 'taskitem',
23
+ hasText: true
24
+ },
25
+ schema: {
26
+ properties: {
27
+ text: { type: 'string', required: true },
28
+ checked: { type: 'boolean', default: false },
29
+ priority: { type: 'enum', options: ['low', 'medium', 'high', 'critical'], default: 'medium' }
30
+ }
31
+ },
32
+ ui: {
33
+ label: 'Task',
34
+ icon: 'check-square'
35
+ }
36
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const CodeBlock: BlockDefinition;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CodeBlock = void 0;
4
+ exports.CodeBlock = {
5
+ type: 'code',
6
+ syntax: {
7
+ keyword: 'code',
8
+ markdownPrefix: '```',
9
+ hasText: true
10
+ },
11
+ schema: {
12
+ properties: {
13
+ language: { type: 'string', default: 'plaintext' },
14
+ text: { type: 'string', required: true }
15
+ }
16
+ },
17
+ ui: {
18
+ label: 'Code Block',
19
+ icon: 'code'
20
+ }
21
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const CodeReferenceBlock: BlockDefinition;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CodeReferenceBlock = void 0;
4
+ exports.CodeReferenceBlock = {
5
+ type: 'codereference',
6
+ syntax: {
7
+ keyword: 'codereference',
8
+ hasText: false
9
+ },
10
+ schema: {
11
+ properties: {
12
+ path: { type: 'string', required: true },
13
+ lines: { type: 'string', default: '' },
14
+ language: { type: 'string', default: 'typescript' }
15
+ }
16
+ },
17
+ ui: {
18
+ label: 'Code Reference',
19
+ icon: 'code'
20
+ }
21
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const DateTimeBlock: BlockDefinition;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DateTimeBlock = void 0;
4
+ exports.DateTimeBlock = {
5
+ type: 'datetime',
6
+ syntax: {
7
+ keyword: 'datetime',
8
+ hasText: false
9
+ },
10
+ schema: {
11
+ properties: {
12
+ mode: { type: 'enum', options: ['date', 'time', 'datetime'], default: 'datetime' },
13
+ value: { type: 'string', required: true }
14
+ }
15
+ },
16
+ ui: {
17
+ label: 'Date/Time',
18
+ icon: 'calendar'
19
+ }
20
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const DividerBlock: BlockDefinition;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DividerBlock = void 0;
4
+ exports.DividerBlock = {
5
+ type: 'divider',
6
+ syntax: {
7
+ keyword: 'divider',
8
+ markdownPrefix: '---',
9
+ hasText: false
10
+ },
11
+ schema: {
12
+ properties: {}
13
+ },
14
+ ui: {
15
+ label: 'Divider',
16
+ icon: 'minus'
17
+ }
18
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const FloatImageBlock: BlockDefinition;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FloatImageBlock = void 0;
4
+ exports.FloatImageBlock = {
5
+ type: 'floatimage',
6
+ syntax: {
7
+ keyword: 'floatimage',
8
+ hasChildren: true
9
+ },
10
+ schema: {
11
+ properties: {
12
+ src: { type: 'string', required: true },
13
+ alt: { type: 'string', default: '' },
14
+ width: { type: 'number', default: 300 },
15
+ height: { type: 'string', default: 'auto' },
16
+ float: { type: 'enum', options: ['left', 'right'], default: 'left' },
17
+ caption: { type: 'string', default: '' }
18
+ }
19
+ },
20
+ ui: {
21
+ label: 'Float Image',
22
+ icon: 'image'
23
+ }
24
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const HeaderBlock: BlockDefinition;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HeaderBlock = void 0;
4
+ exports.HeaderBlock = {
5
+ type: 'header',
6
+ syntax: {
7
+ keyword: 'header',
8
+ hasChildren: true,
9
+ hasText: true
10
+ },
11
+ schema: {
12
+ properties: {
13
+ rowspan: { type: 'number', required: false },
14
+ colspan: { type: 'number', required: false }
15
+ }
16
+ }
17
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const HeadingBlock: BlockDefinition;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HeadingBlock = void 0;
4
+ exports.HeadingBlock = {
5
+ type: 'heading',
6
+ syntax: {
7
+ markdownPrefix: '#', // Matches #, ##, ### etc based on level? Or we define explicit heading1, heading2
8
+ keyword: 'heading', // def heading level=1
9
+ hasText: true
10
+ },
11
+ schema: {
12
+ properties: {
13
+ level: {
14
+ type: 'number',
15
+ default: 1,
16
+ // TODO: add min/max validation in schema later
17
+ },
18
+ text: { type: 'string', required: true }
19
+ }
20
+ },
21
+ ui: {
22
+ label: 'Heading',
23
+ icon: 'heading'
24
+ }
25
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const ImageBlock: BlockDefinition;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImageBlock = void 0;
4
+ exports.ImageBlock = {
5
+ type: 'image',
6
+ syntax: {
7
+ keyword: 'image',
8
+ hasText: false
9
+ },
10
+ schema: {
11
+ properties: {
12
+ src: { type: 'string', required: true },
13
+ alt: { type: 'string', default: '' },
14
+ width: { type: 'number', default: 800 },
15
+ height: { type: 'string', default: 'auto' },
16
+ align: { type: 'enum', options: ['left', 'center', 'right'], default: 'center' },
17
+ caption: { type: 'string', default: '' }
18
+ }
19
+ },
20
+ ui: {
21
+ label: 'Image',
22
+ icon: 'image'
23
+ }
24
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const JotxLinkBlock: BlockDefinition;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JotxLinkBlock = void 0;
4
+ exports.JotxLinkBlock = {
5
+ type: 'jotxlink',
6
+ syntax: {
7
+ keyword: 'jotxlink',
8
+ hasText: false, // Text is property, not content body? Wait, V3 usually puts text in properties or body. Let's check spec.
9
+ // Spec: def jotxlink jl1 { target "doc-id"; text "Display Text" }
10
+ // Markdown: [[target]]
11
+ },
12
+ schema: {
13
+ properties: {
14
+ target: { type: 'string', required: true, description: 'Target document ID or path' },
15
+ text: { type: 'string', required: false, description: 'Display text' }
16
+ }
17
+ },
18
+ ui: {
19
+ label: 'Jotx Link',
20
+ icon: 'link-2' // Lucide icon
21
+ }
22
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const LinkBlock: BlockDefinition;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LinkBlock = void 0;
4
+ exports.LinkBlock = {
5
+ type: 'link',
6
+ syntax: {
7
+ keyword: 'link',
8
+ hasText: true
9
+ },
10
+ schema: {
11
+ properties: {
12
+ url: { type: 'string', required: true },
13
+ text: { type: 'string', required: true }
14
+ }
15
+ },
16
+ ui: {
17
+ label: 'Link',
18
+ icon: 'link'
19
+ }
20
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const LinkCardBlock: BlockDefinition;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LinkCardBlock = void 0;
4
+ exports.LinkCardBlock = {
5
+ type: 'linkcard',
6
+ syntax: {
7
+ keyword: 'linkcard',
8
+ hasText: false
9
+ },
10
+ schema: {
11
+ properties: {
12
+ url: { type: 'string', required: true },
13
+ title: { type: 'string', default: '' },
14
+ description: { type: 'string', default: '' },
15
+ image: { type: 'string', default: '' },
16
+ sitename: { type: 'string', default: '' }
17
+ }
18
+ },
19
+ ui: {
20
+ label: 'Link Card',
21
+ icon: 'link'
22
+ }
23
+ };
@@ -0,0 +1,3 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const ListBlock: BlockDefinition;
3
+ export declare const ListItemBlock: BlockDefinition;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListItemBlock = exports.ListBlock = void 0;
4
+ exports.ListBlock = {
5
+ type: 'list',
6
+ syntax: {
7
+ keyword: 'list',
8
+ hasChildren: true,
9
+ },
10
+ schema: {
11
+ properties: {
12
+ listtype: { type: 'enum', options: ['bulleted', 'numbered'], default: 'bulleted' }
13
+ }
14
+ },
15
+ ui: {
16
+ label: 'List',
17
+ icon: 'list'
18
+ }
19
+ };
20
+ exports.ListItemBlock = {
21
+ type: 'listitem',
22
+ syntax: {
23
+ keyword: 'listitem',
24
+ markdownPrefix: '-',
25
+ hasText: true,
26
+ hasChildren: true // Nested lists
27
+ },
28
+ schema: {
29
+ properties: {
30
+ text: { type: 'string', required: true }
31
+ }
32
+ },
33
+ ui: {
34
+ label: 'List Item',
35
+ icon: 'minus'
36
+ }
37
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const MathBlock: BlockDefinition;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MathBlock = void 0;
4
+ exports.MathBlock = {
5
+ type: 'math',
6
+ syntax: {
7
+ keyword: 'math',
8
+ hasText: true
9
+ },
10
+ schema: {
11
+ properties: {
12
+ src: { type: 'string', required: true },
13
+ display: { type: 'enum', options: ['block', 'inline'], default: 'block' },
14
+ showsource: { type: 'boolean', default: false }
15
+ }
16
+ },
17
+ ui: {
18
+ label: 'Math',
19
+ icon: 'function'
20
+ }
21
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const MermaidBlock: BlockDefinition;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MermaidBlock = void 0;
4
+ exports.MermaidBlock = {
5
+ type: 'mermaid',
6
+ syntax: {
7
+ keyword: 'mermaid',
8
+ hasText: true
9
+ },
10
+ schema: {
11
+ properties: {
12
+ src: { type: 'string', required: true },
13
+ showsource: { type: 'boolean', default: false }
14
+ }
15
+ },
16
+ ui: {
17
+ label: 'Mermaid Diagram',
18
+ icon: 'git-branch'
19
+ }
20
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const ParagraphBlock: BlockDefinition;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ParagraphBlock = void 0;
4
+ exports.ParagraphBlock = {
5
+ type: 'paragraph',
6
+ syntax: {
7
+ hasText: true,
8
+ hasChildren: false,
9
+ // Paragraph is the default "fallback" block, so usually no keyword is strictly required if handled by parser fallback
10
+ // But we define it for completeness
11
+ },
12
+ schema: {
13
+ properties: {
14
+ text: { type: 'string', required: true }
15
+ }
16
+ },
17
+ ui: {
18
+ label: 'Paragraph',
19
+ icon: 'pilcrow',
20
+ // Paragraphs are usually handled natively by the editor,
21
+ // but we can provide a component if we want special rendering.
22
+ // component: () => import('./components/Paragraph').then(m => m.Paragraph)
23
+ }
24
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const PropertiesBlock: BlockDefinition;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertiesBlock = void 0;
4
+ exports.PropertiesBlock = {
5
+ type: 'properties',
6
+ syntax: {
7
+ keyword: 'properties',
8
+ hasChildren: true
9
+ },
10
+ schema: {
11
+ properties: {}
12
+ },
13
+ ui: {
14
+ label: 'Properties',
15
+ icon: 'list'
16
+ }
17
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const PropertyBlock: BlockDefinition;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyBlock = void 0;
4
+ exports.PropertyBlock = {
5
+ type: 'property',
6
+ syntax: {
7
+ keyword: 'prop',
8
+ hasChildren: false
9
+ },
10
+ schema: {
11
+ properties: {
12
+ key: { type: 'string', required: true },
13
+ value: { type: 'string', required: true },
14
+ type: { type: 'string', default: 'text' }
15
+ }
16
+ },
17
+ ui: {
18
+ label: 'Property',
19
+ icon: 'tag'
20
+ }
21
+ };
@@ -0,0 +1,2 @@
1
+ import { BlockDefinition } from '@jotx/registry';
2
+ export declare const QuoteBlock: BlockDefinition;