@atlaskit/adf-schema 36.10.13 → 36.12.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/CHANGELOG.md +12 -0
- package/dist/cjs/next-schema/generated/markTypes.js +126 -0
- package/dist/cjs/next-schema/generated/nodeGroupTypes.js +5 -0
- package/dist/cjs/next-schema/generated/nodeTypes.js +798 -0
- package/dist/es2019/next-schema/generated/markTypes.js +120 -0
- package/dist/es2019/next-schema/generated/nodeGroupTypes.js +1 -0
- package/dist/es2019/next-schema/generated/nodeTypes.js +792 -0
- package/dist/esm/next-schema/generated/markTypes.js +120 -0
- package/dist/esm/next-schema/generated/nodeGroupTypes.js +1 -0
- package/dist/esm/next-schema/generated/nodeTypes.js +792 -0
- package/dist/types/next-schema/generated/markTypes.d.ts +155 -0
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +4 -0
- package/dist/types/next-schema/generated/nodeTypes.d.ts +573 -0
- package/package.json +3 -3
- package/schema-generators/__tests__/unit/validate-pm-schema.unit.ts +2 -2
@@ -0,0 +1,120 @@
|
|
1
|
+
import { createPMMarkSpecFactory } from '@atlaskit/adf-schema-generator';
|
2
|
+
export var breakout = createPMMarkSpecFactory({
|
3
|
+
attrs: {
|
4
|
+
mode: {
|
5
|
+
default: 'wide'
|
6
|
+
}
|
7
|
+
},
|
8
|
+
inclusive: false,
|
9
|
+
spanning: false
|
10
|
+
});
|
11
|
+
export var link = createPMMarkSpecFactory({
|
12
|
+
attrs: {
|
13
|
+
href: {},
|
14
|
+
title: {},
|
15
|
+
id: {},
|
16
|
+
collection: {},
|
17
|
+
occurrenceKey: {},
|
18
|
+
__confluenceMetadata: {
|
19
|
+
default: null
|
20
|
+
}
|
21
|
+
},
|
22
|
+
inclusive: false,
|
23
|
+
excludes: 'link',
|
24
|
+
group: 'link'
|
25
|
+
});
|
26
|
+
export var annotation = createPMMarkSpecFactory({
|
27
|
+
attrs: {
|
28
|
+
id: {
|
29
|
+
default: ''
|
30
|
+
},
|
31
|
+
annotationType: {
|
32
|
+
default: 'inlineComment'
|
33
|
+
}
|
34
|
+
},
|
35
|
+
inclusive: true,
|
36
|
+
group: 'annotation'
|
37
|
+
});
|
38
|
+
export var border = createPMMarkSpecFactory({
|
39
|
+
attrs: {
|
40
|
+
size: {},
|
41
|
+
color: {}
|
42
|
+
},
|
43
|
+
inclusive: false
|
44
|
+
});
|
45
|
+
export var em = createPMMarkSpecFactory({
|
46
|
+
inclusive: true,
|
47
|
+
group: 'fontStyle'
|
48
|
+
});
|
49
|
+
export var strong = createPMMarkSpecFactory({
|
50
|
+
inclusive: true,
|
51
|
+
group: 'fontStyle'
|
52
|
+
});
|
53
|
+
export var strike = createPMMarkSpecFactory({
|
54
|
+
inclusive: true,
|
55
|
+
group: 'fontStyle'
|
56
|
+
});
|
57
|
+
export var subsup = createPMMarkSpecFactory({
|
58
|
+
attrs: {
|
59
|
+
type: {
|
60
|
+
default: 'sub'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
inclusive: true,
|
64
|
+
group: 'fontStyle'
|
65
|
+
});
|
66
|
+
export var underline = createPMMarkSpecFactory({
|
67
|
+
inclusive: true,
|
68
|
+
group: 'fontStyle'
|
69
|
+
});
|
70
|
+
export var textColor = createPMMarkSpecFactory({
|
71
|
+
attrs: {
|
72
|
+
color: {}
|
73
|
+
},
|
74
|
+
inclusive: true,
|
75
|
+
group: 'color'
|
76
|
+
});
|
77
|
+
export var backgroundColor = createPMMarkSpecFactory({
|
78
|
+
attrs: {
|
79
|
+
color: {}
|
80
|
+
},
|
81
|
+
inclusive: true,
|
82
|
+
excludes: 'color',
|
83
|
+
group: 'color'
|
84
|
+
});
|
85
|
+
export var code = createPMMarkSpecFactory({
|
86
|
+
inclusive: true,
|
87
|
+
excludes: 'fontStyle link searchQuery color'
|
88
|
+
});
|
89
|
+
export var alignment = createPMMarkSpecFactory({
|
90
|
+
attrs: {
|
91
|
+
align: {}
|
92
|
+
},
|
93
|
+
excludes: 'alignment indentation',
|
94
|
+
group: 'alignment'
|
95
|
+
});
|
96
|
+
export var indentation = createPMMarkSpecFactory({
|
97
|
+
attrs: {
|
98
|
+
level: {}
|
99
|
+
},
|
100
|
+
excludes: 'indentation alignment',
|
101
|
+
group: 'indentation'
|
102
|
+
});
|
103
|
+
export var dataConsumer = createPMMarkSpecFactory({
|
104
|
+
attrs: {
|
105
|
+
sources: {
|
106
|
+
default: []
|
107
|
+
}
|
108
|
+
}
|
109
|
+
});
|
110
|
+
export var fragment = createPMMarkSpecFactory({
|
111
|
+
attrs: {
|
112
|
+
localId: {
|
113
|
+
default: ''
|
114
|
+
},
|
115
|
+
name: {
|
116
|
+
default: null
|
117
|
+
}
|
118
|
+
},
|
119
|
+
inclusive: false
|
120
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|