@atlaskit/adf-schema 28.1.11 → 28.1.12

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/adf-schema
2
2
 
3
+ ## 28.1.12
4
+
5
+ ### Patch Changes
6
+
7
+ - d20f097: Return index to npmignore
8
+
3
9
  ## 28.1.11
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "28.1.11",
3
+ "version": "28.1.12",
4
4
  "description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -1,18 +0,0 @@
1
- {
2
- "extends": "../tsconfig",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "paths": {}
7
- },
8
- "include": [
9
- "../src/**/*.ts",
10
- "../src/**/*.tsx"
11
- ],
12
- "exclude": [
13
- "../src/**/__tests__/*",
14
- "../src/**/*.test.*",
15
- "../src/**/test.*",
16
- "../src/json-schema"
17
- ]
18
- }
package/index.ts DELETED
@@ -1,275 +0,0 @@
1
- //
2
- // This file is used in development to resolve types for the package (because they live in `src/`)
3
- // *without* needing to use the `types` `package.json` field.
4
- //
5
- // We don't want to use the `types` field, as we want to point it to the declaration file in the
6
- // published package.
7
- //
8
- // This file should be npm-ignored, so that it doesn't exist in the published package, and resolution
9
- // falls through to the `types` and `main` `package.json` fields.
10
- //
11
- export {
12
- AnnotationTypes,
13
- B100,
14
- B400,
15
- B50,
16
- B500,
17
- B75,
18
- G200,
19
- G300,
20
- G400,
21
- G50,
22
- G500,
23
- G75,
24
- N0,
25
- N20,
26
- N200,
27
- N30,
28
- N300,
29
- N40,
30
- N50,
31
- N500,
32
- N60,
33
- N80,
34
- N800,
35
- N90,
36
- P100,
37
- P300,
38
- P400,
39
- P50,
40
- P500,
41
- P75,
42
- PanelType,
43
- R100,
44
- R300,
45
- R400,
46
- R50,
47
- R500,
48
- R75,
49
- T100,
50
- T300,
51
- T50,
52
- T500,
53
- T75,
54
- Y200,
55
- Y400,
56
- Y50,
57
- Y500,
58
- Y75,
59
- acNameToEmoji,
60
- acShortcutToEmoji,
61
- alignment,
62
- alignmentPositionMap,
63
- annotation,
64
- blockCard,
65
- blockquote,
66
- bodiedExtension,
67
- breakout,
68
- bulletList,
69
- bulletListSelector,
70
- code,
71
- codeBlock,
72
- codeBlockToJSON,
73
- colorPalette,
74
- /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
75
- colorPaletteExtended,
76
- confluenceInlineComment,
77
- confluenceJiraIssue,
78
- confluenceUnsupportedBlock,
79
- confluenceUnsupportedInline,
80
- copyPrivateMediaAttributes,
81
- createSchema,
82
- dataConsumer,
83
- date,
84
- decisionItem,
85
- decisionList,
86
- decisionListSelector,
87
- doc,
88
- em,
89
- emoji,
90
- emojiIdToAcName,
91
- expand,
92
- expandToJSON,
93
- extension,
94
- generateUuid,
95
- getEmojiAcName,
96
- getLinkMatch,
97
- hardBreak,
98
- heading,
99
- hexToRgb,
100
- hexToRgba,
101
- image,
102
- indentation,
103
- inlineCard,
104
- inlineExtension,
105
- inlineNodes,
106
- isHex,
107
- isRgb,
108
- isSafeUrl,
109
- layoutColumn,
110
- layoutSection,
111
- link,
112
- linkify,
113
- linkifyMatch,
114
- linkToJSON,
115
- listItem,
116
- media,
117
- mediaGroup,
118
- mediaSingle,
119
- mediaSingleToJSON,
120
- mediaToJSON,
121
- mention,
122
- mentionToJSON,
123
- nestedExpand,
124
- normalizeHexColor,
125
- normalizeUrl,
126
- orderedList,
127
- orderedListSelector,
128
- panel,
129
- paragraph,
130
- placeholder,
131
- rgbToHex,
132
- rule,
133
- sanitizeNodes,
134
- getCellDomAttrs,
135
- status,
136
- strike,
137
- strong,
138
- subsup,
139
- table,
140
- tableWithCustomWidth,
141
- tableBackgroundBorderColor,
142
- tableBackgroundColorNames,
143
- tableBackgroundColorPalette,
144
- tableCell,
145
- tableCellContentDomSelector,
146
- tableCellContentWrapperSelector,
147
- tableCellSelector,
148
- tableHeader,
149
- tableHeaderSelector,
150
- tablePrefixSelector,
151
- tableRow,
152
- tableToJSON,
153
- taskItem,
154
- taskList,
155
- taskListSelector,
156
- text,
157
- textColor,
158
- toJSONTableCell,
159
- toJSONTableHeader,
160
- typeAheadQuery,
161
- underline,
162
- unknownBlock,
163
- unsupportedBlock,
164
- unsupportedInline,
165
- unsupportedNodeTypesForMediaCards,
166
- uuid,
167
- buildAnnotationMarkDataAttributes,
168
- AnnotationMarkStates,
169
- border,
170
- borderColorPalette,
171
- } from './src';
172
- export type {
173
- AlignmentAttributes,
174
- AlignmentMarkDefinition,
175
- AnnotationMarkAttributes,
176
- AnnotationMarkDefinition,
177
- BlockCardDefinition,
178
- BlockContent,
179
- BlockQuoteDefinition,
180
- BodiedExtensionDefinition,
181
- BreakoutMarkAttrs,
182
- BreakoutMarkDefinition,
183
- BulletListDefinition,
184
- CardAttributes,
185
- CellAttributes,
186
- CodeBlockAttrs,
187
- CodeBlockBaseDefinition,
188
- CodeBlockDefinition,
189
- CodeBlockWithMarksDefinition,
190
- CodeDefinition,
191
- DataConsumerAttributes,
192
- DataConsumerDefinition,
193
- DataType,
194
- DateDefinition,
195
- DecisionItemDefinition,
196
- DecisionListDefinition,
197
- DocNode,
198
- EmDefinition,
199
- EmojiAttributes,
200
- EmojiDefinition,
201
- ExpandDefinition,
202
- ExtensionDefinition,
203
- ExtensionLayout,
204
- ExternalMediaAttributes,
205
- HardBreakDefinition,
206
- HeadingBaseDefinition,
207
- HeadingDefinition,
208
- HeadingWithAlignmentDefinition,
209
- HeadingWithIndentationDefinition,
210
- HeadingWithMarksDefinition,
211
- IndentationMarkAttributes,
212
- IndentationMarkDefinition,
213
- Inline,
214
- InlineAtomic,
215
- InlineCardDefinition,
216
- InlineCode,
217
- InlineExtensionDefinition,
218
- InlineFormattedText,
219
- InlineLinkText,
220
- LayoutColumnDefinition,
221
- LayoutSectionDefinition,
222
- LinkAttributes,
223
- LinkDefinition,
224
- ListItemArray,
225
- ListItemDefinition,
226
- MarksObject,
227
- Match,
228
- MediaADFAttrs,
229
- MediaAttributes,
230
- MediaBaseAttributes,
231
- MediaDefinition,
232
- MediaDisplayType,
233
- MediaGroupDefinition,
234
- MediaSingleDefinition,
235
- MediaType,
236
- MentionAttributes,
237
- MentionDefinition,
238
- MentionUserType,
239
- NameToEmoji,
240
- NestedExpandContent,
241
- NestedExpandDefinition,
242
- NoMark,
243
- OrderedListDefinition,
244
- PanelAttributes,
245
- PanelDefinition,
246
- ParagraphBaseDefinition,
247
- ParagraphDefinition,
248
- ParagraphWithAlignmentDefinition,
249
- ParagraphWithIndentationDefinition,
250
- ParagraphWithMarksDefinition,
251
- PlaceholderDefinition,
252
- RuleDefinition,
253
- StatusDefinition,
254
- StrikeDefinition,
255
- StrongDefinition,
256
- SubSupAttributes,
257
- SubSupDefinition,
258
- TableAttributes,
259
- TableCellDefinition,
260
- TableDefinition,
261
- TableHeaderDefinition,
262
- TableLayout,
263
- TableRowDefinition,
264
- TaskItemDefinition,
265
- TaskListContent,
266
- TaskListDefinition,
267
- TextColorAttributes,
268
- TextColorDefinition,
269
- TextDefinition,
270
- UnderlineDefinition,
271
- UrlType,
272
- AnnotationId,
273
- BorderMarkAttributes,
274
- BorderMarkDefinition,
275
- } from './src';
package/src/index.ts DELETED
@@ -1,297 +0,0 @@
1
- export {
2
- PanelType,
3
- AnnotationTypes,
4
- alignment,
5
- alignmentPositionMap,
6
- annotation,
7
- blockCard,
8
- blockquote,
9
- bodiedExtension,
10
- breakout,
11
- bulletList,
12
- bulletListSelector,
13
- caption,
14
- code,
15
- codeBlock,
16
- codeBlockToJSON,
17
- colorPalette,
18
- /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
19
- colorPaletteExtended,
20
- confluenceInlineComment,
21
- confluenceJiraIssue,
22
- confluenceUnsupportedBlock,
23
- confluenceUnsupportedInline,
24
- copyPrivateMediaAttributes,
25
- createSchema,
26
- dataConsumer,
27
- dataConsumerToJSON,
28
- date,
29
- decisionItem,
30
- decisionList,
31
- decisionListSelector,
32
- doc,
33
- em,
34
- embedCard,
35
- emoji,
36
- expand,
37
- expandToJSON,
38
- extension,
39
- fragment,
40
- fragmentToJSON,
41
- hardBreak,
42
- heading,
43
- image,
44
- indentation,
45
- inlineCard,
46
- inlineExtension,
47
- inlineNodes,
48
- layoutColumn,
49
- layoutSection,
50
- link,
51
- linkToJSON,
52
- listItem,
53
- media,
54
- mediaGroup,
55
- mediaSingle,
56
- mediaSingleWithCaption,
57
- mediaSingleWithWidthType,
58
- mediaSingleFull,
59
- mediaSingleSpec,
60
- mediaInline,
61
- mediaSingleToJSON,
62
- mediaToJSON,
63
- mention,
64
- mentionToJSON,
65
- nestedExpand,
66
- orderedList,
67
- orderedListSelector,
68
- orderedListWithOrder,
69
- panel,
70
- paragraph,
71
- placeholder,
72
- rule,
73
- sanitizeNodes,
74
- getCellAttrs,
75
- getCellDomAttrs,
76
- status,
77
- strike,
78
- strong,
79
- subsup,
80
- table,
81
- tableWithCustomWidth,
82
- tableBackgroundBorderColor,
83
- tableBackgroundColorNames,
84
- tableBackgroundColorPalette,
85
- tableCell,
86
- tableCellContentDomSelector,
87
- tableCellContentWrapperSelector,
88
- tableCellSelector,
89
- tableHeader,
90
- tableHeaderSelector,
91
- tablePrefixSelector,
92
- tableRow,
93
- tableToJSON,
94
- taskItem,
95
- taskList,
96
- taskListSelector,
97
- text,
98
- textColor,
99
- toJSONTableCell,
100
- toJSONTableHeader,
101
- typeAheadQuery,
102
- underline,
103
- unknownBlock,
104
- unsupportedBlock,
105
- unsupportedInline,
106
- unsupportedNodeTypesForMediaCards,
107
- buildAnnotationMarkDataAttributes,
108
- AnnotationMarkStates,
109
- unsupportedMark,
110
- unsupportedNodeAttribute,
111
- border,
112
- borderColorPalette,
113
- } from './schema';
114
- export type {
115
- AlignmentAttributes,
116
- AlignmentMarkDefinition,
117
- AnnotationMarkAttributes,
118
- AnnotationMarkDefinition,
119
- BlockCardDefinition,
120
- BlockContent,
121
- BlockQuoteDefinition,
122
- BodiedExtensionDefinition,
123
- BreakoutMarkAttrs,
124
- BreakoutMarkDefinition,
125
- BulletListDefinition,
126
- CaptionDefinition,
127
- CardAttributes,
128
- CellAttributes,
129
- CodeBlockAttrs,
130
- CodeBlockBaseDefinition,
131
- CodeBlockDefinition,
132
- CodeBlockWithMarksDefinition,
133
- CodeDefinition,
134
- DatasourceAttributes,
135
- DataConsumerAttributes,
136
- DataConsumerDefinition,
137
- DataType,
138
- DateDefinition,
139
- DecisionItemDefinition,
140
- DecisionListDefinition,
141
- DocNode,
142
- EmbedCardDefinition,
143
- EmbedCardAttributes,
144
- EmDefinition,
145
- EmojiAttributes,
146
- EmojiDefinition,
147
- ExpandDefinition,
148
- ExtensionDefinition,
149
- ExtensionLayout,
150
- ExternalMediaAttributes,
151
- FragmentAttributes,
152
- FragmentDefinition,
153
- HardBreakDefinition,
154
- HeadingBaseDefinition,
155
- HeadingDefinition,
156
- HeadingWithAlignmentDefinition,
157
- HeadingWithIndentationDefinition,
158
- HeadingWithMarksDefinition,
159
- IndentationMarkAttributes,
160
- IndentationMarkDefinition,
161
- Inline,
162
- InlineAtomic,
163
- InlineCardDefinition,
164
- InlineCode,
165
- InlineExtensionDefinition,
166
- InlineFormattedText,
167
- InlineLinkText,
168
- LayoutColumnDefinition,
169
- LayoutSectionDefinition,
170
- LayoutSectionFullDefinition,
171
- LayoutSectionWithSingleColumnDefinition,
172
- LinkAttributes,
173
- LinkDefinition,
174
- ListItemArray,
175
- ListItemDefinition,
176
- MarksObject,
177
- MediaADFAttrs,
178
- MediaAttributes,
179
- MediaInlineAttributes,
180
- MediaInlineDefinition,
181
- MediaBaseAttributes,
182
- MediaDefinition,
183
- MediaDisplayType,
184
- MediaGroupDefinition,
185
- MediaSingleDefinition,
186
- MediaType,
187
- MentionAttributes,
188
- MentionDefinition,
189
- MentionUserType,
190
- NestedExpandContent,
191
- NestedExpandDefinition,
192
- NoMark,
193
- NonNestableBlockContent,
194
- OrderedListDefinition,
195
- PanelAttributes,
196
- PanelDefinition,
197
- ParagraphBaseDefinition,
198
- ParagraphDefinition,
199
- ParagraphWithAlignmentDefinition,
200
- ParagraphWithIndentationDefinition,
201
- ParagraphWithMarksDefinition,
202
- PlaceholderDefinition,
203
- RuleDefinition,
204
- StatusDefinition,
205
- StrikeDefinition,
206
- StrongDefinition,
207
- SubSupAttributes,
208
- SubSupDefinition,
209
- TableAttributes,
210
- TableCellDefinition,
211
- TableDefinition,
212
- TableHeaderDefinition,
213
- TableLayout,
214
- TableRowDefinition,
215
- TaskItemDefinition,
216
- TaskListContent,
217
- TaskListDefinition,
218
- TextColorAttributes,
219
- TextColorDefinition,
220
- TextDefinition,
221
- UnderlineDefinition,
222
- UrlType,
223
- AnnotationId,
224
- RichMediaAttributes,
225
- ExtendedMediaAttributes,
226
- RichMediaLayout,
227
- AnnotationDataAttributes,
228
- CellDomAttrs,
229
- BorderMarkAttributes,
230
- BorderMarkDefinition,
231
- } from './schema';
232
- export {
233
- B100,
234
- B400,
235
- B50,
236
- B500,
237
- B75,
238
- G200,
239
- G300,
240
- G400,
241
- G50,
242
- G500,
243
- G75,
244
- N0,
245
- N20,
246
- N200,
247
- N30,
248
- N300,
249
- N40,
250
- N50,
251
- N500,
252
- N60,
253
- N80,
254
- N800,
255
- N90,
256
- P100,
257
- P300,
258
- P400,
259
- P50,
260
- P500,
261
- P75,
262
- R100,
263
- R300,
264
- R400,
265
- R50,
266
- R500,
267
- R75,
268
- T100,
269
- T300,
270
- T50,
271
- T500,
272
- T75,
273
- Y200,
274
- Y400,
275
- Y50,
276
- Y500,
277
- Y75,
278
- acNameToEmoji,
279
- acShortcutToEmoji,
280
- emojiIdToAcName,
281
- generateUuid,
282
- getEmojiAcName,
283
- getLinkMatch,
284
- hexToRgb,
285
- hexToRgba,
286
- isHex,
287
- isRgb,
288
- isSafeUrl,
289
- linkify,
290
- linkifyMatch,
291
- normalizeHexColor,
292
- normalizeUrl,
293
- rgbToHex,
294
- uuid,
295
- } from './utils';
296
-
297
- export type { Match, NameToEmoji } from './utils';
@@ -1,2 +0,0 @@
1
- export { default as fullSchema } from '../../json-schema/v1/full.json';
2
- export { default as stageZeroSchema } from '../../json-schema/v1/stage-0.json';
@@ -1,238 +0,0 @@
1
- export {
2
- PanelType,
3
- blockCard,
4
- blockquote,
5
- bodiedExtension,
6
- bulletList,
7
- bulletListSelector,
8
- caption,
9
- codeBlock,
10
- codeBlockToJSON,
11
- confluenceJiraIssue,
12
- confluenceUnsupportedBlock,
13
- confluenceUnsupportedInline,
14
- copyPrivateMediaAttributes,
15
- date,
16
- decisionItem,
17
- decisionList,
18
- decisionListSelector,
19
- doc,
20
- embedCard,
21
- emoji,
22
- expand,
23
- expandToJSON,
24
- extension,
25
- hardBreak,
26
- heading,
27
- image,
28
- inlineCard,
29
- inlineExtension,
30
- layoutColumn,
31
- layoutSection,
32
- layoutSectionWithSingleColumn,
33
- listItem,
34
- media,
35
- mediaGroup,
36
- mediaSingle,
37
- mediaSingleSpec,
38
- mediaInline,
39
- mediaSingleWithCaption,
40
- mediaSingleWithWidthType,
41
- mediaSingleFull,
42
- mediaSingleToJSON,
43
- mediaToJSON,
44
- mention,
45
- mentionToJSON,
46
- nestedExpand,
47
- orderedList,
48
- orderedListSelector,
49
- orderedListWithOrder,
50
- panel,
51
- paragraph,
52
- placeholder,
53
- rule,
54
- getCellAttrs,
55
- getCellDomAttrs,
56
- status,
57
- table,
58
- tableWithCustomWidth,
59
- tableBackgroundBorderColor,
60
- tableBackgroundColorNames,
61
- tableBackgroundColorPalette,
62
- tableCell,
63
- tableCellContentDomSelector,
64
- tableCellContentWrapperSelector,
65
- tableCellSelector,
66
- tableHeader,
67
- tableHeaderSelector,
68
- tablePrefixSelector,
69
- tableRow,
70
- tableToJSON,
71
- taskItem,
72
- taskList,
73
- taskListSelector,
74
- text,
75
- toJSONTableCell,
76
- toJSONTableHeader,
77
- unknownBlock,
78
- unsupportedBlock,
79
- unsupportedInline,
80
- } from './nodes';
81
- export type {
82
- BlockCardDefinition,
83
- BlockContent,
84
- BlockQuoteDefinition,
85
- BodiedExtensionDefinition,
86
- BulletListDefinition,
87
- CaptionDefinition,
88
- CardAttributes,
89
- CellAttributes,
90
- CodeBlockAttrs,
91
- CodeBlockBaseDefinition,
92
- CodeBlockDefinition,
93
- CodeBlockWithMarksDefinition,
94
- DatasourceAttributes,
95
- DatasourceAttributeProperties,
96
- DataType,
97
- DateDefinition,
98
- DecisionItemDefinition,
99
- DecisionListDefinition,
100
- DocNode,
101
- EmbedCardDefinition,
102
- EmbedCardAttributes,
103
- EmojiAttributes,
104
- EmojiDefinition,
105
- ExpandDefinition,
106
- ExtensionDefinition,
107
- ExtensionLayout,
108
- ExternalMediaAttributes,
109
- HardBreakDefinition,
110
- HeadingBaseDefinition,
111
- HeadingDefinition,
112
- HeadingWithAlignmentDefinition,
113
- HeadingWithIndentationDefinition,
114
- HeadingWithMarksDefinition,
115
- Inline,
116
- InlineAtomic,
117
- InlineCardDefinition,
118
- InlineCode,
119
- InlineExtensionDefinition,
120
- InlineFormattedText,
121
- InlineLinkText,
122
- LayoutColumnDefinition,
123
- LayoutSectionDefinition,
124
- LayoutSectionBaseDefinition,
125
- LayoutSectionFullDefinition,
126
- LayoutSectionWithSingleColumnDefinition,
127
- ListItemArray,
128
- ListItemDefinition,
129
- MarksObject,
130
- MediaADFAttrs,
131
- MediaAttributes,
132
- MediaInlineAttributes,
133
- MediaInlineDefinition,
134
- MediaBaseAttributes,
135
- MediaDefinition,
136
- MediaDisplayType,
137
- MediaGroupDefinition,
138
- MediaSingleDefinition,
139
- MediaType,
140
- MentionAttributes,
141
- MentionDefinition,
142
- MentionUserType,
143
- NestedExpandContent,
144
- NestedExpandDefinition,
145
- NoMark,
146
- NonNestableBlockContent,
147
- OrderedListDefinition,
148
- PanelAttributes,
149
- PanelDefinition,
150
- ParagraphBaseDefinition,
151
- ParagraphDefinition,
152
- ParagraphWithAlignmentDefinition,
153
- ParagraphWithIndentationDefinition,
154
- ParagraphWithMarksDefinition,
155
- PlaceholderDefinition,
156
- RuleDefinition,
157
- StatusDefinition,
158
- TableAttributes,
159
- TableCellDefinition,
160
- TableDefinition,
161
- TableHeaderDefinition,
162
- TableLayout,
163
- TableRowDefinition,
164
- TaskItemDefinition,
165
- TaskListContent,
166
- TaskListDefinition,
167
- TextDefinition,
168
- UrlType,
169
- RichMediaAttributes,
170
- ExtendedMediaAttributes,
171
- RichMediaLayout,
172
- CellDomAttrs,
173
- } from './nodes';
174
- export {
175
- AnnotationTypes,
176
- alignment,
177
- alignmentPositionMap,
178
- annotation,
179
- breakout,
180
- code,
181
- colorPalette,
182
- /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
183
- colorPaletteExtended,
184
- confluenceInlineComment,
185
- dataConsumer,
186
- dataConsumerToJSON,
187
- em,
188
- fragment,
189
- fragmentToJSON,
190
- indentation,
191
- link,
192
- linkToJSON,
193
- strike,
194
- strong,
195
- subsup,
196
- textColor,
197
- typeAheadQuery,
198
- underline,
199
- buildAnnotationMarkDataAttributes,
200
- AnnotationMarkStates,
201
- unsupportedMark,
202
- unsupportedNodeAttribute,
203
- border,
204
- borderColorPalette,
205
- } from './marks';
206
- export type {
207
- AlignmentAttributes,
208
- AlignmentMarkDefinition,
209
- AnnotationMarkAttributes,
210
- AnnotationMarkDefinition,
211
- BreakoutMarkAttrs,
212
- BreakoutMarkDefinition,
213
- CodeDefinition,
214
- EmDefinition,
215
- FragmentAttributes,
216
- FragmentDefinition,
217
- IndentationMarkAttributes,
218
- IndentationMarkDefinition,
219
- LinkAttributes,
220
- LinkDefinition,
221
- StrikeDefinition,
222
- StrongDefinition,
223
- SubSupAttributes,
224
- SubSupDefinition,
225
- TextColorAttributes,
226
- TextColorDefinition,
227
- UnderlineDefinition,
228
- AnnotationId,
229
- AnnotationDataAttributes,
230
- DataConsumerAttributes,
231
- DataConsumerDefinition,
232
- BorderMarkAttributes,
233
- BorderMarkDefinition,
234
- } from './marks';
235
- export { unsupportedNodeTypesForMediaCards } from './unsupported';
236
- export { inlineNodes } from './inline-nodes';
237
-
238
- export { sanitizeNodes, createSchema } from './create-schema';
@@ -1,61 +0,0 @@
1
- export { em } from './em';
2
- export type { EmDefinition } from './em';
3
- export { code } from './code';
4
- export type { CodeDefinition } from './code';
5
- export { strike } from './strike';
6
- export type { StrikeDefinition } from './strike';
7
- export { strong } from './strong';
8
- export type { StrongDefinition } from './strong';
9
- export { underline } from './underline';
10
- export type { UnderlineDefinition } from './underline';
11
- export { link, toJSON as linkToJSON } from './link';
12
- export type { LinkAttributes, LinkDefinition } from './link';
13
- export { typeAheadQuery } from './type-ahead-query';
14
- export { subsup } from './subsup';
15
- export type { SubSupDefinition, SubSupAttributes } from './subsup';
16
- export { textColor, colorPalette, colorPaletteExtended } from './text-color';
17
- export type { TextColorDefinition, TextColorAttributes } from './text-color';
18
- export { confluenceInlineComment } from './confluence-inline-comment';
19
- export { breakout } from './breakout';
20
- export type { BreakoutMarkAttrs, BreakoutMarkDefinition } from './breakout';
21
- export { alignment, alignmentPositionMap } from './alignment';
22
- export type { AlignmentAttributes, AlignmentMarkDefinition } from './alignment';
23
- export { indentation } from './indentation';
24
- export type {
25
- IndentationMarkAttributes,
26
- IndentationMarkDefinition,
27
- } from './indentation';
28
- export {
29
- annotation,
30
- AnnotationMarkStates,
31
- buildDataAttributes as buildAnnotationMarkDataAttributes,
32
- AnnotationTypes,
33
- } from './annotation';
34
- export type {
35
- AnnotationMarkDefinition,
36
- AnnotationMarkAttributes,
37
- AnnotationId,
38
- AnnotationDataAttributes,
39
- } from './annotation';
40
-
41
- export { unsupportedMark } from './unsupported-mark';
42
-
43
- export { unsupportedNodeAttribute } from './unsupported-node-attributes';
44
-
45
- export type {
46
- DataConsumerAttributes,
47
- DataConsumerDefinition,
48
- } from './data-consumer';
49
-
50
- export { dataConsumer, toJSON as dataConsumerToJSON } from './data-consumer';
51
-
52
- export type {
53
- FragmentAttributes,
54
- FragmentDefinition,
55
- LocalId,
56
- } from './fragment';
57
-
58
- export { fragment, toJSON as fragmentToJSON } from './fragment';
59
-
60
- export { border, borderColorPalette } from './border';
61
- export type { BorderMarkAttributes, BorderMarkDefinition } from './border';
@@ -1,184 +0,0 @@
1
- export { expand, toJSON as expandToJSON } from './expand';
2
- export type { ExpandDefinition } from './expand';
3
- export { confluenceJiraIssue } from './confluence-jira-issue';
4
- export { confluenceUnsupportedBlock } from './confluence-unsupported-block';
5
- export { confluenceUnsupportedInline } from './confluence-unsupported-inline';
6
- export { doc } from './doc';
7
- export type { DocNode } from './doc';
8
- export { blockquote } from './blockquote';
9
- export type { BlockQuoteDefinition } from './blockquote';
10
- export { bulletList, bulletListSelector } from './bullet-list';
11
- export type { BulletListDefinition } from './types/list';
12
- export { codeBlock, toJSON as codeBlockToJSON } from './code-block';
13
- export type {
14
- CodeBlockDefinition,
15
- CodeBlockAttrs,
16
- CodeBlockBaseDefinition,
17
- CodeBlockWithMarksDefinition,
18
- } from './code-block';
19
- export { hardBreak } from './hard-break';
20
- export type { HardBreakDefinition } from './hard-break';
21
- export { heading } from './heading';
22
- export type {
23
- HeadingDefinition,
24
- HeadingBaseDefinition,
25
- HeadingWithAlignmentDefinition,
26
- HeadingWithIndentationDefinition,
27
- HeadingWithMarksDefinition,
28
- } from './heading';
29
- export { rule } from './rule';
30
- export type { RuleDefinition } from './rule';
31
- export {
32
- orderedList,
33
- orderedListSelector,
34
- orderedListWithOrder,
35
- } from './ordered-list';
36
- export type { OrderedListDefinition } from './types/list';
37
- export { paragraph } from './paragraph';
38
- export type {
39
- ParagraphDefinition,
40
- ParagraphBaseDefinition,
41
- ParagraphWithAlignmentDefinition,
42
- ParagraphWithIndentationDefinition,
43
- ParagraphWithMarksDefinition,
44
- } from './paragraph';
45
- export { emoji } from './emoji';
46
- export type { EmojiAttributes, EmojiDefinition } from './emoji';
47
- export { image } from './image';
48
- export { mention, toJSON as mentionToJSON } from './mention';
49
- export type {
50
- MentionAttributes,
51
- UserType as MentionUserType,
52
- MentionDefinition,
53
- } from './mention';
54
- export { listItem } from './list-item';
55
- export type { ListItemArray, ListItemDefinition } from './types/list';
56
- export { panel, PanelType } from './panel';
57
- export type { PanelAttributes, PanelDefinition } from './panel';
58
- export { text } from './text';
59
- export type { TextDefinition } from './text';
60
- export { default as unknownBlock } from './unknown-block';
61
- export { caption } from './caption';
62
- export type { CaptionDefinition } from './caption';
63
- export {
64
- media,
65
- copyPrivateAttributes as copyPrivateMediaAttributes,
66
- toJSON as mediaToJSON,
67
- } from './media';
68
- export type {
69
- MediaType,
70
- MediaBaseAttributes,
71
- MediaAttributes,
72
- ExternalMediaAttributes,
73
- DisplayType as MediaDisplayType,
74
- MediaDefinition,
75
- MediaADFAttrs,
76
- } from './media';
77
- export { mediaGroup } from './media-group';
78
- export { mediaInline } from './media-inline';
79
- export type {
80
- MediaInlineAttributes,
81
- MediaInlineDefinition,
82
- } from './media-inline';
83
- export type { MediaGroupDefinition } from './media-group';
84
- export {
85
- mediaSingle,
86
- mediaSingleSpec,
87
- mediaSingleWithCaption,
88
- mediaSingleWithWidthType,
89
- mediaSingleFull,
90
- toJSON as mediaSingleToJSON,
91
- } from './media-single';
92
- export type { MediaSingleDefinition } from './media-single';
93
- export {
94
- table,
95
- tableWithCustomWidth,
96
- tableToJSON,
97
- tableCell,
98
- toJSONTableCell,
99
- tableHeader,
100
- toJSONTableHeader,
101
- tableRow,
102
- tableBackgroundColorPalette,
103
- tableBackgroundBorderColor,
104
- tableBackgroundColorNames,
105
- getCellAttrs,
106
- getCellDomAttrs,
107
- tablePrefixSelector,
108
- tableCellSelector,
109
- tableHeaderSelector,
110
- tableCellContentWrapperSelector,
111
- tableCellContentDomSelector,
112
- } from './tableNodes';
113
- export type {
114
- TableAttributes,
115
- CellAttributes,
116
- Layout as TableLayout,
117
- TableDefinition,
118
- TableCell as TableCellDefinition,
119
- TableHeader as TableHeaderDefinition,
120
- TableRow as TableRowDefinition,
121
- CellDomAttrs,
122
- } from './tableNodes';
123
- export { decisionList, decisionListSelector } from './decision-list';
124
- export type { DecisionListDefinition } from './decision-list';
125
- export { decisionItem } from './decision-item';
126
- export type { DecisionItemDefinition } from './decision-item';
127
- export { taskList, taskListSelector } from './task-list';
128
- export type { TaskListDefinition, TaskListContent } from './task-list';
129
- export { taskItem } from './task-item';
130
- export type { TaskItemDefinition } from './task-item';
131
- export { extension } from './extension';
132
- export type { ExtensionDefinition } from './extension';
133
- export { inlineExtension } from './inline-extension';
134
- export type { InlineExtensionDefinition } from './inline-extension';
135
- export { bodiedExtension } from './bodied-extension';
136
- export type { BodiedExtensionDefinition } from './bodied-extension';
137
- export { date } from './date';
138
- export type { DateDefinition } from './date';
139
- export { placeholder } from './placeholder';
140
- export type { PlaceholderDefinition } from './placeholder';
141
- export { layoutSection, layoutSectionWithSingleColumn } from './layout-section';
142
- export type {
143
- LayoutSectionDefinition,
144
- LayoutSectionBaseDefinition,
145
- LayoutSectionFullDefinition,
146
- LayoutSectionWithSingleColumnDefinition,
147
- } from './layout-section';
148
- export { layoutColumn } from './layout-column';
149
- export type { LayoutColumnDefinition } from './layout-column';
150
- export { inlineCard } from './inline-card';
151
- export type { InlineCardDefinition } from './inline-card';
152
- export { blockCard } from './block-card';
153
- export type {
154
- UrlType,
155
- DataType,
156
- DatasourceAttributes,
157
- DatasourceAttributeProperties,
158
- CardAttributes,
159
- BlockCardDefinition,
160
- } from './block-card';
161
- export { unsupportedBlock } from './unsupported-block';
162
- export { unsupportedInline } from './unsupported-inline';
163
- export { status } from './status';
164
- export type { StatusDefinition } from './status';
165
- export { nestedExpand } from './nested-expand';
166
- export type { NestedExpandDefinition } from './nested-expand';
167
- export type { NoMark } from './types/mark';
168
- export type { MarksObject } from './types/mark';
169
- export type { BlockContent } from './types/block-content';
170
- export type { NonNestableBlockContent } from './types/non-nestable-block-content';
171
- export type { InlineAtomic } from './types/inline-content';
172
- export type { InlineCode } from './types/inline-content';
173
- export type { InlineLinkText } from './types/inline-content';
174
- export type { InlineFormattedText } from './types/inline-content';
175
- export type { Inline } from './types/inline-content';
176
- export type { NestedExpandContent } from './nested-expand';
177
- export type { Layout as ExtensionLayout } from './types/extensions';
178
- export { embedCard } from './embed-card';
179
- export type { EmbedCardDefinition, EmbedCardAttributes } from './embed-card';
180
- export type {
181
- RichMediaAttributes,
182
- ExtendedMediaAttributes,
183
- Layout as RichMediaLayout,
184
- } from './types/rich-media-common';
@@ -1,69 +0,0 @@
1
- export {
2
- acNameToEmoji,
3
- acShortcutToEmoji,
4
- emojiIdToAcName,
5
- getEmojiAcName,
6
- } from './confluence/emoji';
7
- export type { NameToEmoji } from './confluence/emoji';
8
- export { generateUuid, uuid } from './uuid';
9
- export {
10
- B100,
11
- B400,
12
- B50,
13
- B500,
14
- B75,
15
- G200,
16
- G300,
17
- G400,
18
- G50,
19
- G500,
20
- G75,
21
- N0,
22
- N20,
23
- N200,
24
- N30,
25
- N300,
26
- N40,
27
- N50,
28
- N500,
29
- N60,
30
- N80,
31
- N800,
32
- N90,
33
- P100,
34
- P300,
35
- P400,
36
- P50,
37
- P500,
38
- P75,
39
- R100,
40
- R300,
41
- R400,
42
- R50,
43
- R500,
44
- R75,
45
- T100,
46
- T300,
47
- T50,
48
- T500,
49
- T75,
50
- Y200,
51
- Y400,
52
- Y50,
53
- Y500,
54
- Y75,
55
- hexToRgb,
56
- hexToRgba,
57
- isHex,
58
- isRgb,
59
- normalizeHexColor,
60
- rgbToHex,
61
- } from './colors';
62
- export {
63
- getLinkMatch,
64
- isSafeUrl,
65
- normalizeUrl,
66
- linkify,
67
- linkifyMatch,
68
- } from './url';
69
- export type { Match } from './url';
package/tsconfig.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "extends": "../../tsconfig",
3
- "include": [
4
- "src/**/*.ts",
5
- "src/**/*.tsx",
6
- "./docs/**/*.ts",
7
- "./docs/**/*.tsx",
8
- "test-helpers/**/*.ts",
9
- "test-helpers/**/*.tsx",
10
- "codemods"
11
- ],
12
- "exclude": ["node_modules", "src/json-schema"],
13
- }