@atlaskit/adf-schema 24.0.2 → 24.0.3

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 (114) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/schema/marks/text-color.js +16 -2
  3. package/dist/cjs/version.json +1 -1
  4. package/dist/es2019/schema/marks/text-color.js +15 -2
  5. package/dist/es2019/version.json +1 -1
  6. package/dist/esm/schema/marks/text-color.js +15 -2
  7. package/dist/esm/version.json +1 -1
  8. package/package.json +7 -10
  9. package/report.api.md +1035 -1046
  10. package/dist/types-ts4.0/index.d.ts +0 -4
  11. package/dist/types-ts4.0/json-schema/index.d.ts +0 -2
  12. package/dist/types-ts4.0/schema/bitbucket-schema.d.ts +0 -2
  13. package/dist/types-ts4.0/schema/confluence-schema.d.ts +0 -3
  14. package/dist/types-ts4.0/schema/create-schema.d.ts +0 -32
  15. package/dist/types-ts4.0/schema/default-schema.d.ts +0 -7
  16. package/dist/types-ts4.0/schema/groups.d.ts +0 -6
  17. package/dist/types-ts4.0/schema/index.d.ts +0 -7
  18. package/dist/types-ts4.0/schema/inline-nodes.d.ts +0 -1
  19. package/dist/types-ts4.0/schema/jira-schema.d.ts +0 -26
  20. package/dist/types-ts4.0/schema/marks/alignment.d.ts +0 -16
  21. package/dist/types-ts4.0/schema/marks/annotation.d.ts +0 -32
  22. package/dist/types-ts4.0/schema/marks/breakout.d.ts +0 -12
  23. package/dist/types-ts4.0/schema/marks/code.d.ts +0 -8
  24. package/dist/types-ts4.0/schema/marks/confluence-inline-comment.d.ts +0 -12
  25. package/dist/types-ts4.0/schema/marks/data-consumer.d.ts +0 -48
  26. package/dist/types-ts4.0/schema/marks/em.d.ts +0 -8
  27. package/dist/types-ts4.0/schema/marks/fragment.d.ts +0 -29
  28. package/dist/types-ts4.0/schema/marks/indentation.d.ts +0 -16
  29. package/dist/types-ts4.0/schema/marks/index.d.ts +0 -32
  30. package/dist/types-ts4.0/schema/marks/link.d.ts +0 -35
  31. package/dist/types-ts4.0/schema/marks/strike.d.ts +0 -8
  32. package/dist/types-ts4.0/schema/marks/strong.d.ts +0 -8
  33. package/dist/types-ts4.0/schema/marks/subsup.d.ts +0 -15
  34. package/dist/types-ts4.0/schema/marks/text-color.d.ts +0 -21
  35. package/dist/types-ts4.0/schema/marks/type-ahead-query.d.ts +0 -2
  36. package/dist/types-ts4.0/schema/marks/underline.d.ts +0 -8
  37. package/dist/types-ts4.0/schema/marks/unsupported-mark.d.ts +0 -2
  38. package/dist/types-ts4.0/schema/marks/unsupported-node-attributes.d.ts +0 -2
  39. package/dist/types-ts4.0/schema/nodes/block-card.d.ts +0 -22
  40. package/dist/types-ts4.0/schema/nodes/blockquote.d.ts +0 -14
  41. package/dist/types-ts4.0/schema/nodes/bodied-extension.d.ts +0 -24
  42. package/dist/types-ts4.0/schema/nodes/bullet-list.d.ts +0 -14
  43. package/dist/types-ts4.0/schema/nodes/caption.d.ts +0 -20
  44. package/dist/types-ts4.0/schema/nodes/code-block.d.ts +0 -31
  45. package/dist/types-ts4.0/schema/nodes/confluence-jira-issue.d.ts +0 -2
  46. package/dist/types-ts4.0/schema/nodes/confluence-unsupported-block.d.ts +0 -2
  47. package/dist/types-ts4.0/schema/nodes/confluence-unsupported-inline.d.ts +0 -2
  48. package/dist/types-ts4.0/schema/nodes/date.d.ts +0 -14
  49. package/dist/types-ts4.0/schema/nodes/decision-item.d.ts +0 -17
  50. package/dist/types-ts4.0/schema/nodes/decision-list.d.ts +0 -18
  51. package/dist/types-ts4.0/schema/nodes/doc.d.ts +0 -18
  52. package/dist/types-ts4.0/schema/nodes/embed-card.d.ts +0 -18
  53. package/dist/types-ts4.0/schema/nodes/emoji.d.ts +0 -14
  54. package/dist/types-ts4.0/schema/nodes/expand.d.ts +0 -33
  55. package/dist/types-ts4.0/schema/nodes/extension.d.ts +0 -18
  56. package/dist/types-ts4.0/schema/nodes/hard-break.d.ts +0 -11
  57. package/dist/types-ts4.0/schema/nodes/heading.d.ts +0 -36
  58. package/dist/types-ts4.0/schema/nodes/image.d.ts +0 -2
  59. package/dist/types-ts4.0/schema/nodes/index.d.ts +0 -93
  60. package/dist/types-ts4.0/schema/nodes/inline-card.d.ts +0 -10
  61. package/dist/types-ts4.0/schema/nodes/inline-extension.d.ts +0 -18
  62. package/dist/types-ts4.0/schema/nodes/layout-column.d.ts +0 -21
  63. package/dist/types-ts4.0/schema/nodes/layout-section.d.ts +0 -44
  64. package/dist/types-ts4.0/schema/nodes/list-item.d.ts +0 -20
  65. package/dist/types-ts4.0/schema/nodes/media-group.d.ts +0 -14
  66. package/dist/types-ts4.0/schema/nodes/media-inline.d.ts +0 -16
  67. package/dist/types-ts4.0/schema/nodes/media-single.d.ts +0 -61
  68. package/dist/types-ts4.0/schema/nodes/media.d.ts +0 -60
  69. package/dist/types-ts4.0/schema/nodes/mention.d.ts +0 -26
  70. package/dist/types-ts4.0/schema/nodes/nested-expand.d.ts +0 -27
  71. package/dist/types-ts4.0/schema/nodes/ordered-list.d.ts +0 -20
  72. package/dist/types-ts4.0/schema/nodes/panel.d.ts +0 -38
  73. package/dist/types-ts4.0/schema/nodes/paragraph.d.ts +0 -37
  74. package/dist/types-ts4.0/schema/nodes/placeholder.d.ts +0 -11
  75. package/dist/types-ts4.0/schema/nodes/rule.d.ts +0 -8
  76. package/dist/types-ts4.0/schema/nodes/status.d.ts +0 -20
  77. package/dist/types-ts4.0/schema/nodes/tableNodes.d.ts +0 -113
  78. package/dist/types-ts4.0/schema/nodes/task-item.d.ts +0 -17
  79. package/dist/types-ts4.0/schema/nodes/task-list.d.ts +0 -21
  80. package/dist/types-ts4.0/schema/nodes/text.d.ts +0 -15
  81. package/dist/types-ts4.0/schema/nodes/types/block-content.d.ts +0 -22
  82. package/dist/types-ts4.0/schema/nodes/types/extensions.d.ts +0 -34
  83. package/dist/types-ts4.0/schema/nodes/types/inline-content.d.ts +0 -32
  84. package/dist/types-ts4.0/schema/nodes/types/mark.d.ts +0 -15
  85. package/dist/types-ts4.0/schema/nodes/types/non-nestable-block-content.d.ts +0 -20
  86. package/dist/types-ts4.0/schema/nodes/types/rich-media-common.d.ts +0 -9
  87. package/dist/types-ts4.0/schema/nodes/unknown-block.d.ts +0 -3
  88. package/dist/types-ts4.0/schema/nodes/unsupported-block.d.ts +0 -2
  89. package/dist/types-ts4.0/schema/nodes/unsupported-inline.d.ts +0 -2
  90. package/dist/types-ts4.0/schema/unsupported.d.ts +0 -1
  91. package/dist/types-ts4.0/steps/analytics.d.ts +0 -59
  92. package/dist/types-ts4.0/steps/set-attrs.d.ts +0 -23
  93. package/dist/types-ts4.0/steps/table/add-column.d.ts +0 -88
  94. package/dist/types-ts4.0/steps/table/constants.d.ts +0 -4
  95. package/dist/types-ts4.0/steps/table/sort-column.d.ts +0 -18
  96. package/dist/types-ts4.0/steps/table/types.d.ts +0 -39
  97. package/dist/types-ts4.0/steps/table/utils/cell-step.d.ts +0 -51
  98. package/dist/types-ts4.0/steps/table/utils/cells-at-column.d.ts +0 -20
  99. package/dist/types-ts4.0/steps/table/utils/find-column.d.ts +0 -8
  100. package/dist/types-ts4.0/steps/table/utils/get-table-rect-from-doc.d.ts +0 -8
  101. package/dist/types-ts4.0/steps/table/utils/side-effects/rows.d.ts +0 -25
  102. package/dist/types-ts4.0/steps/table/utils/side-effects/side-effects.d.ts +0 -15
  103. package/dist/types-ts4.0/steps/table/utils/side-effects/table.d.ts +0 -16
  104. package/dist/types-ts4.0/steps/table/utils/side-effects/types.d.ts +0 -33
  105. package/dist/types-ts4.0/steps/table/utils/table-map.d.ts +0 -6
  106. package/dist/types-ts4.0/steps/type-ahead.d.ts +0 -35
  107. package/dist/types-ts4.0/steps.d.ts +0 -8
  108. package/dist/types-ts4.0/utils/colors.d.ts +0 -71
  109. package/dist/types-ts4.0/utils/confluence/emoji.d.ts +0 -50
  110. package/dist/types-ts4.0/utils/extensions.d.ts +0 -3
  111. package/dist/types-ts4.0/utils/index.d.ts +0 -6
  112. package/dist/types-ts4.0/utils/parseDOM.d.ts +0 -1
  113. package/dist/types-ts4.0/utils/url.d.ts +0 -23
  114. package/dist/types-ts4.0/utils/uuid.d.ts +0 -5
package/report.api.md CHANGED
@@ -1,8 +1,17 @@
1
- ## API Report File for "@atlaskit/adf-schema".
1
+ <!-- API Report Version: 2.2 -->
2
2
 
3
- > Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
3
+ ## API Report File for "@atlaskit/adf-schema"
4
4
 
5
- [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
5
+ > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
6
+ > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
+
8
+ ### Table of contents
9
+
10
+ - [Main Entry Types](#main-entry-types)
11
+
12
+ ### Main Entry Types
13
+
14
+ <!--SECTION START: Main Entry Types-->
6
15
 
7
16
  ```ts
8
17
  import { CellAttributes } from '@atlaskit/editor-tables/types';
@@ -13,24 +22,15 @@ import { Node as Node_2 } from 'prosemirror-model';
13
22
  import { NodeSpec } from 'prosemirror-model';
14
23
  import { Schema } from 'prosemirror-model';
15
24
 
16
- export declare function acNameToEmoji(
17
- acName: NameToEmoji,
18
- ): {
25
+ // @public (undocumented)
26
+ export function acNameToEmoji(acName: NameToEmoji): {
19
27
  id: string;
20
28
  shortName: string;
21
29
  text: string;
22
30
  };
23
31
 
24
- /**
25
- * Confluence glyphs ac:name of <ac:emoticon /> map to new emojis
26
- * {
27
- * [ac:name] : ['emoji-id', 'emoji-shortName', 'emoji-fallback']
28
- * ...
29
- * }
30
- * Glyphs that do not map to Fabric Emoji
31
- * will be mapped to Emoji Id '2b50' (:star:) with preserving ac:name as shortName attribute;
32
- */
33
- declare const acNameToEmojiMap: {
32
+ // @public
33
+ const acNameToEmojiMap: {
34
34
  smile: string[];
35
35
  sad: string[];
36
36
  cheeky: string[];
@@ -55,214 +55,226 @@ declare const acNameToEmojiMap: {
55
55
  'broken-heart': string[];
56
56
  };
57
57
 
58
- export declare function acShortcutToEmoji(
59
- hipchatEmoticonShortName: string,
60
- ): {
58
+ // @public (undocumented)
59
+ export function acShortcutToEmoji(hipchatEmoticonShortName: string): {
61
60
  id: string;
62
61
  shortName: string;
63
62
  text: string;
64
63
  };
65
64
 
66
- export declare const alignment: MarkSpec;
65
+ // @public (undocumented)
66
+ export const alignment: MarkSpec;
67
67
 
68
- export declare interface AlignmentAttributes {
68
+ // @public (undocumented)
69
+ export interface AlignmentAttributes {
70
+ // (undocumented)
69
71
  align: 'center' | 'end';
70
72
  }
71
73
 
72
- /**
73
- * @name alignment_mark
74
- */
75
- export declare interface AlignmentMarkDefinition {
76
- type: 'alignment';
74
+ // @public
75
+ export interface AlignmentMarkDefinition {
76
+ // (undocumented)
77
77
  attrs: AlignmentAttributes;
78
+ // (undocumented)
79
+ type: 'alignment';
78
80
  }
79
81
 
80
- /** TODO: Flip these positions for RTL */
81
- export declare const alignmentPositionMap: {
82
+ // @public
83
+ export const alignmentPositionMap: {
82
84
  [key: string]: string;
83
85
  };
84
86
 
85
- export declare const annotation: MarkSpec;
87
+ // @public (undocumented)
88
+ export const annotation: MarkSpec;
86
89
 
87
- export declare type AnnotationDataAttributes = {
90
+ // @public (undocumented)
91
+ export type AnnotationDataAttributes = {
88
92
  'data-mark-type': string;
89
93
  'data-mark-annotation-type': AnnotationTypes;
90
94
  'data-id': AnnotationId;
91
95
  'data-mark-annotation-state'?: AnnotationMarkStates;
92
96
  };
93
97
 
94
- export declare type AnnotationId = string;
98
+ // @public (undocumented)
99
+ export type AnnotationId = string;
95
100
 
96
- export declare interface AnnotationMarkAttributes {
97
- id: AnnotationId;
101
+ // @public (undocumented)
102
+ export interface AnnotationMarkAttributes {
103
+ // (undocumented)
98
104
  annotationType: AnnotationTypes;
105
+ // (undocumented)
106
+ id: AnnotationId;
99
107
  }
100
108
 
101
- /**
102
- * @name annotation_mark
103
- */
104
- export declare interface AnnotationMarkDefinition {
105
- type: 'annotation';
109
+ // @public
110
+ export interface AnnotationMarkDefinition {
111
+ // (undocumented)
106
112
  attrs: AnnotationMarkAttributes;
113
+ // (undocumented)
114
+ type: 'annotation';
107
115
  }
108
116
 
109
- export declare enum AnnotationMarkStates {
110
- RESOLVED = 'resolved',
117
+ // @public (undocumented)
118
+ export enum AnnotationMarkStates {
119
+ // (undocumented)
111
120
  ACTIVE = 'active',
121
+ // (undocumented)
122
+ RESOLVED = 'resolved',
112
123
  }
113
124
 
114
- export declare enum AnnotationTypes {
125
+ // @public (undocumented)
126
+ export enum AnnotationTypes {
127
+ // (undocumented)
115
128
  INLINE_COMMENT = 'inlineComment',
116
129
  }
117
130
 
118
- export declare const B100 = '#4C9AFF';
131
+ // @public (undocumented)
132
+ export const B100 = '#4C9AFF';
119
133
 
120
- export declare const B400 = '#0052CC';
134
+ // @public (undocumented)
135
+ export const B400 = '#0052CC';
121
136
 
122
- export declare const B50 = '#DEEBFF';
137
+ // @public (undocumented)
138
+ export const B50 = '#DEEBFF';
123
139
 
124
- export declare const B500 = '#0747A6';
140
+ // @public (undocumented)
141
+ export const B500 = '#0747A6';
125
142
 
126
- export declare const B75 = '#B3D4FF';
143
+ // @public (undocumented)
144
+ export const B75 = '#B3D4FF';
127
145
 
128
- export declare const blockCard: NodeSpec;
146
+ // @public (undocumented)
147
+ export const blockCard: NodeSpec;
129
148
 
130
- /**
131
- * @name blockCard_node
132
- */
133
- export declare interface BlockCardDefinition {
134
- type: 'blockCard';
149
+ // @public
150
+ export interface BlockCardDefinition {
151
+ // (undocumented)
135
152
  attrs: CardAttributes;
153
+ // (undocumented)
154
+ type: 'blockCard';
136
155
  }
137
156
 
138
- /**
139
- * @name block_content
140
- */
141
- export declare type BlockContent =
142
- | PanelDefinition
143
- | ParagraphDefinition
144
- | ParagraphWithMarksDefinition
157
+ // @public
158
+ export type BlockContent =
159
+ | BlockCardDefinition
145
160
  | BlockQuoteDefinition
146
- | OrderedListDefinition
161
+ | BodiedExtensionDefinition
147
162
  | BulletListDefinition
148
- | RuleDefinition
163
+ | CodeBlockDefinition
164
+ | DecisionListDefinition
165
+ | EmbedCardDefinition
166
+ | ExpandDefinition
167
+ | ExtensionDefinition
149
168
  | HeadingDefinition
150
169
  | HeadingWithMarksDefinition
151
- | CodeBlockDefinition
152
170
  | MediaGroupDefinition
153
171
  | MediaSingleDefinition
154
- | DecisionListDefinition
155
- | TaskListDefinition
172
+ | OrderedListDefinition
173
+ | PanelDefinition
174
+ | ParagraphDefinition
175
+ | ParagraphWithMarksDefinition
176
+ | RuleDefinition
156
177
  | TableDefinition
157
- | ExpandDefinition
158
- | ExtensionDefinition
159
- | BodiedExtensionDefinition
160
- | BlockCardDefinition
161
- | EmbedCardDefinition;
178
+ | TaskListDefinition;
162
179
 
163
- export declare const blockquote: NodeSpec;
180
+ // @public (undocumented)
181
+ export const blockquote: NodeSpec;
164
182
 
165
- /**
166
- * @name blockquote_node
167
- */
168
- export declare interface BlockQuoteDefinition {
169
- type: 'blockquote';
170
- /**
171
- * @minItems 1
172
- * @allowUnsupportedBlock true
173
- */
183
+ // @public
184
+ export interface BlockQuoteDefinition {
174
185
  content: Array<ParagraphDefinition>;
186
+ // (undocumented)
187
+ type: 'blockquote';
175
188
  }
176
189
 
177
- export declare const bodiedExtension: NodeSpec;
190
+ // @public (undocumented)
191
+ export const bodiedExtension: NodeSpec;
178
192
 
179
- /**
180
- * @name bodiedExtension_node
181
- */
182
- declare interface BodiedExtensionBaseDefinition {
183
- type: 'bodiedExtension';
193
+ // @public
194
+ interface BodiedExtensionBaseDefinition {
195
+ // (undocumented)
184
196
  attrs: ExtensionAttributes;
185
- marks?: Array<any>;
186
- /**
187
- * @minItems 1
188
- * @allowUnsupportedBlock true
189
- */
190
197
  content: Array<NonNestableBlockContent>;
198
+ // (undocumented)
199
+ marks?: Array<any>;
200
+ // (undocumented)
201
+ type: 'bodiedExtension';
191
202
  }
192
203
 
193
- /**
194
- * @name bodiedExtension_with_marks_node
195
- */
196
- export declare type BodiedExtensionDefinition = BodiedExtensionBaseDefinition &
204
+ // @public
205
+ export type BodiedExtensionDefinition = BodiedExtensionBaseDefinition &
197
206
  MarksObject<DataConsumerDefinition | FragmentDefinition>;
198
207
 
199
- export declare const breakout: MarkSpec;
208
+ // @public (undocumented)
209
+ export const breakout: MarkSpec;
200
210
 
201
- export declare type BreakoutMarkAttrs = {
202
- mode: 'wide' | 'full-width';
211
+ // @public (undocumented)
212
+ export type BreakoutMarkAttrs = {
213
+ mode: 'full-width' | 'wide';
203
214
  };
204
215
 
205
- /**
206
- * @name breakout_mark
207
- */
208
- export declare interface BreakoutMarkDefinition {
209
- type: 'breakout';
216
+ // @public
217
+ export interface BreakoutMarkDefinition {
218
+ // (undocumented)
210
219
  attrs: BreakoutMarkAttrs;
220
+ // (undocumented)
221
+ type: 'breakout';
211
222
  }
212
223
 
213
- export declare function buildAnnotationMarkDataAttributes({
224
+ // @public (undocumented)
225
+ export function buildAnnotationMarkDataAttributes({
214
226
  id,
215
227
  annotationType,
216
228
  state,
217
229
  }: BuildDataAttributesProps): AnnotationDataAttributes;
218
230
 
219
- declare type BuildDataAttributesProps = AnnotationMarkAttributes & {
220
- state?: AnnotationMarkStates | undefined | null;
231
+ // @public (undocumented)
232
+ type BuildDataAttributesProps = AnnotationMarkAttributes & {
233
+ state?: AnnotationMarkStates | null | undefined;
221
234
  };
222
235
 
223
- export declare const bulletList: NodeSpec;
236
+ // @public (undocumented)
237
+ export const bulletList: NodeSpec;
224
238
 
225
- /**
226
- * @name bulletList_node
227
- */
228
- export declare interface BulletListDefinition {
229
- type: 'bulletList';
230
- /**
231
- * @minItems 1
232
- */
239
+ // @public
240
+ export interface BulletListDefinition {
241
+ // (undocumented)
233
242
  content: Array<ListItemDefinition>;
243
+ // (undocumented)
244
+ type: 'bulletList';
234
245
  }
235
246
 
236
- export declare const bulletListSelector = '.ak-ul';
247
+ // @public (undocumented)
248
+ export const bulletListSelector = '.ak-ul';
237
249
 
238
- export declare const caption: NodeSpec;
250
+ // @public (undocumented)
251
+ export const caption: NodeSpec;
239
252
 
240
- /**
241
- * @name caption_node
242
- */
243
- export declare interface CaptionDefinition {
244
- type: 'caption';
245
- /**
246
- * @minItems 0
247
- */
253
+ // @public
254
+ export interface CaptionDefinition {
255
+ // (undocumented)
248
256
  content: Array<
249
- | InlineFormattedText
250
- | InlineCode
257
+ | DateDefinition
258
+ | EmojiDefinition
251
259
  | HardBreakDefinition
260
+ | InlineCardDefinition
261
+ | InlineCode
262
+ | InlineFormattedText
252
263
  | MentionDefinition
253
- | EmojiDefinition
254
- | DateDefinition
255
264
  | PlaceholderDefinition
256
- | InlineCardDefinition
257
265
  | StatusDefinition
258
266
  >;
267
+ // (undocumented)
268
+ type: 'caption';
259
269
  }
260
270
 
261
- export declare type CardAttributes = UrlType | DataType;
271
+ // @public (undocumented)
272
+ export type CardAttributes = DataType | UrlType;
262
273
 
263
274
  export { CellAttributes };
264
275
 
265
- export declare type CellDomAttrs = {
276
+ // @public (undocumented)
277
+ export type CellDomAttrs = {
266
278
  colspan?: string;
267
279
  rowspan?: string;
268
280
  style?: string;
@@ -271,369 +283,348 @@ export declare type CellDomAttrs = {
271
283
  class?: string;
272
284
  };
273
285
 
274
- export declare const code: MarkSpec;
286
+ // @public (undocumented)
287
+ export const code: MarkSpec;
275
288
 
276
- export declare const codeBlock: NodeSpec;
289
+ // @public (undocumented)
290
+ export const codeBlock: NodeSpec;
277
291
 
278
- export declare type CodeBlockAttrs = {
292
+ // @public (undocumented)
293
+ export type CodeBlockAttrs = {
279
294
  language?: string;
280
295
  };
281
296
 
282
- /**
283
- * @name codeBlock_node
284
- */
285
- export declare type CodeBlockBaseDefinition = {
297
+ // @public
298
+ export type CodeBlockBaseDefinition = {
286
299
  type: 'codeBlock';
287
- /**
288
- * @allowUnsupportedInline true
289
- */
290
300
  content?: Array<TextDefinition & NoMark>;
291
301
  marks?: Array<any>;
292
302
  attrs?: CodeBlockAttrs;
293
303
  };
294
304
 
295
- /**
296
- * @name codeBlock_with_no_marks_node
297
- */
298
- export declare type CodeBlockDefinition = CodeBlockBaseDefinition & NoMark;
305
+ // @public
306
+ export type CodeBlockDefinition = CodeBlockBaseDefinition & NoMark;
299
307
 
300
- export declare const codeBlockToJSON: (
301
- node: Node_2,
302
- ) => {
308
+ // @public (undocumented)
309
+ export const codeBlockToJSON: (node: Node_2) => {
303
310
  attrs: Record<string, any>;
304
311
  };
305
312
 
306
- /**
307
- * @name codeBlock_with_marks_node
308
- */
309
- export declare type CodeBlockWithMarksDefinition = CodeBlockBaseDefinition &
313
+ // @public
314
+ export type CodeBlockWithMarksDefinition = CodeBlockBaseDefinition &
310
315
  MarksObject<BreakoutMarkDefinition>;
311
316
 
312
- /**
313
- * @name code_mark
314
- */
315
- export declare interface CodeDefinition {
317
+ // @public
318
+ export interface CodeDefinition {
319
+ // (undocumented)
316
320
  type: 'code';
317
321
  }
318
322
 
319
- export declare const colorPalette: Map<string, TextColorKey>;
323
+ // @public (undocumented)
324
+ export const colorPalette: Map<string, TextColorKey>;
320
325
 
321
- export declare const colorPaletteExtended: Map<string, TextColorKey>;
326
+ // @public (undocumented)
327
+ export const colorPaletteExtended: Map<string, TextColorKey>;
322
328
 
323
- export declare const confluenceInlineComment: MarkSpec;
329
+ // @public (undocumented)
330
+ export const confluenceInlineComment: MarkSpec;
324
331
 
325
- export declare const confluenceJiraIssue: NodeSpec;
332
+ // @public (undocumented)
333
+ export const confluenceJiraIssue: NodeSpec;
326
334
 
327
- declare interface ConfluenceLinkMetadata {
328
- linkType: string;
329
- versionAtSave?: string | null;
330
- fileName?: string | null;
331
- spaceKey?: string | null;
332
- contentTitle?: string | null;
333
- isRenamedTitle?: boolean;
334
- anchorName?: string | null;
335
- contentId?: string | null;
335
+ // @public (undocumented)
336
+ interface ConfluenceLinkMetadata {
337
+ // (undocumented)
338
+ anchorName?: null | string;
339
+ // (undocumented)
336
340
  container?: ConfluenceLinkMetadata;
341
+ // (undocumented)
342
+ contentId?: null | string;
343
+ // (undocumented)
344
+ contentTitle?: null | string;
345
+ // (undocumented)
346
+ fileName?: null | string;
347
+ // (undocumented)
348
+ isRenamedTitle?: boolean;
349
+ // (undocumented)
350
+ linkType: string;
351
+ // (undocumented)
352
+ spaceKey?: null | string;
353
+ // (undocumented)
354
+ versionAtSave?: null | string;
337
355
  }
338
356
 
339
- export declare const confluenceUnsupportedBlock: NodeSpec;
357
+ // @public (undocumented)
358
+ export const confluenceUnsupportedBlock: NodeSpec;
340
359
 
341
- export declare const confluenceUnsupportedInline: NodeSpec;
360
+ // @public (undocumented)
361
+ export const confluenceUnsupportedInline: NodeSpec;
342
362
 
343
- export declare const copyPrivateMediaAttributes: (
363
+ // @public (undocumented)
364
+ export const copyPrivateMediaAttributes: (
344
365
  from: Record<string, any>,
345
366
  to: Record<string, any>,
346
367
  map?: ((str: string) => string) | undefined,
347
368
  ) => void;
348
369
 
349
- /**
350
- * Creates a schema preserving order of marks and nodes.
351
- */
352
- export declare function createSchema<
370
+ // @public
371
+ export function createSchema<
353
372
  N extends string = string,
354
- M extends string = string
373
+ M extends string = string,
355
374
  >(config: SchemaConfig<N, M>): Schema<N, M>;
356
375
 
357
- export declare const dataConsumer: MarkSpec;
376
+ // @public (undocumented)
377
+ export const dataConsumer: MarkSpec;
358
378
 
359
- export declare interface DataConsumerAttributes {
360
- /**
361
- * @minItems 1
362
- */
379
+ // @public (undocumented)
380
+ export interface DataConsumerAttributes {
381
+ // (undocumented)
363
382
  sources: Array<DataConsumerSource>;
364
383
  }
365
384
 
366
- /**
367
- * @name dataConsumer_mark
368
- * @description This mark is used for metadata surrounding a node consuming data
369
- * from a given source node
370
- */
371
- export declare interface DataConsumerDefinition {
372
- type: 'dataConsumer';
385
+ // @public
386
+ export interface DataConsumerDefinition {
387
+ // (undocumented)
373
388
  attrs: DataConsumerAttributes;
389
+ // (undocumented)
390
+ type: 'dataConsumer';
374
391
  }
375
392
 
376
- /**
377
- * This annotation is purely for reference, & does _nothing_ given annotating
378
- * `minLength` on an array of strings is not supported with our schema+spec
379
- * generator.
380
- *
381
- * We're keeping it to signal that data consumer `sources` shouldn't be empty
382
- * strings
383
- *
384
- * // @minLength 1
385
- */
386
- declare type DataConsumerSource = string;
387
-
388
- /**
389
- * We want to ensure any "invalid ADF" doesn't get serialised, but the entire
390
- * mark itself is not valid without a non-empty `sources`.
391
- *
392
- * We _almost could_ simply return `null` if sources length is < 0 & would fit
393
- * the type signature of prosemirror-model's `fragment` but not `mark`'s toJSON.
394
- *
395
- * So we'll leave any extra transformation checks in
396
- * `editor-json-transformer`(?)
397
- */
398
- export declare const dataConsumerToJSON: (
399
- mark: Mark,
400
- ) => {
393
+ // @public
394
+ type DataConsumerSource = string;
395
+
396
+ // @public
397
+ export const dataConsumerToJSON: (mark: Mark) => {
401
398
  type: string;
402
399
  attrs: {
403
400
  [key: string]: any;
404
401
  };
405
402
  };
406
403
 
407
- export declare interface DataType {
408
- /**
409
- * @additionalProperties true
410
- */
404
+ // @public (undocumented)
405
+ export interface DataType {
411
406
  data: object;
412
407
  }
413
408
 
414
- export declare const date: NodeSpec;
409
+ // @public (undocumented)
410
+ export const date: NodeSpec;
415
411
 
416
- /**
417
- * @name date_node
418
- */
419
- export declare interface DateDefinition {
420
- type: 'date';
412
+ // @public
413
+ export interface DateDefinition {
414
+ // (undocumented)
421
415
  attrs: {
422
- /**
423
- * @minLength 1
424
- */
425
416
  timestamp: string;
426
417
  };
418
+ // (undocumented)
419
+ type: 'date';
427
420
  }
428
421
 
429
- export declare const decisionItem: NodeSpec;
422
+ // @public (undocumented)
423
+ export const decisionItem: NodeSpec;
430
424
 
431
- /**
432
- * @name decisionItem_node
433
- */
434
- export declare interface DecisionItemDefinition {
435
- type: 'decisionItem';
436
- /**
437
- * @allowUnsupportedInline true
438
- */
439
- content?: Array<Inline>;
425
+ // @public
426
+ export interface DecisionItemDefinition {
427
+ // (undocumented)
440
428
  attrs: {
441
429
  localId: string;
442
430
  state: string;
443
431
  };
432
+ content?: Array<Inline>;
433
+ // (undocumented)
434
+ type: 'decisionItem';
444
435
  }
445
436
 
446
- export declare const decisionList: NodeSpec;
437
+ // @public (undocumented)
438
+ export const decisionList: NodeSpec;
447
439
 
448
- /**
449
- * @name decisionList_node
450
- */
451
- export declare interface DecisionListDefinition {
452
- type: 'decisionList';
453
- /**
454
- * @minItems 1
455
- * @allowUnsupportedBlock true
456
- */
457
- content: Array<DecisionItemDefinition>;
440
+ // @public
441
+ export interface DecisionListDefinition {
442
+ // (undocumented)
458
443
  attrs: {
459
444
  localId: string;
460
445
  };
446
+ content: Array<DecisionItemDefinition>;
447
+ // (undocumented)
448
+ type: 'decisionList';
461
449
  }
462
450
 
463
- export declare const decisionListSelector: string;
451
+ // @public (undocumented)
452
+ export const decisionListSelector: string;
464
453
 
465
- export declare const doc: NodeSpec;
454
+ // @public (undocumented)
455
+ export const doc: NodeSpec;
466
456
 
467
- /**
468
- * @name doc_node
469
- */
470
- export declare interface DocNode {
471
- version: 1;
472
- type: 'doc';
473
- /**
474
- * @allowUnsupportedBlock true
475
- */
457
+ // @public
458
+ export interface DocNode {
476
459
  content: Array<
477
460
  | BlockContent
478
- | LayoutSectionDefinition
479
461
  | CodeBlockWithMarksDefinition
480
462
  | ExpandWithBreakoutDefinition
463
+ | LayoutSectionDefinition
481
464
  | ParagraphWithIndentationDefinition
482
465
  >;
466
+ // (undocumented)
467
+ type: 'doc';
468
+ // (undocumented)
469
+ version: 1;
483
470
  }
484
471
 
485
- export declare const em: MarkSpec;
472
+ // @public (undocumented)
473
+ export const em: MarkSpec;
486
474
 
487
- export declare const embedCard: NodeSpec;
475
+ // @public (undocumented)
476
+ export const embedCard: NodeSpec;
488
477
 
489
- export declare interface EmbedCardAttributes extends RichMediaAttributes {
490
- originalWidth?: number;
478
+ // @public (undocumented)
479
+ export interface EmbedCardAttributes extends RichMediaAttributes {
480
+ // (undocumented)
491
481
  originalHeight?: number;
492
- /**
493
- * @validatorFn safeUrl
494
- */
482
+ // (undocumented)
483
+ originalWidth?: number;
495
484
  url: string;
496
485
  }
497
486
 
498
- /**
499
- * @name embedCard_node
500
- */
501
- export declare interface EmbedCardDefinition {
502
- type: 'embedCard';
487
+ // @public
488
+ export interface EmbedCardDefinition {
489
+ // (undocumented)
503
490
  attrs: EmbedCardAttributes;
491
+ // (undocumented)
492
+ type: 'embedCard';
504
493
  }
505
494
 
506
- /**
507
- * @name em_mark
508
- */
509
- export declare interface EmDefinition {
495
+ // @public
496
+ export interface EmDefinition {
497
+ // (undocumented)
510
498
  type: 'em';
511
499
  }
512
500
 
513
- export declare const emoji: NodeSpec;
501
+ // @public (undocumented)
502
+ export const emoji: NodeSpec;
514
503
 
515
- export declare interface EmojiAttributes {
504
+ // @public (undocumented)
505
+ export interface EmojiAttributes {
506
+ // (undocumented)
516
507
  id?: string;
508
+ // (undocumented)
517
509
  shortName: string;
510
+ // (undocumented)
518
511
  text?: string;
519
512
  }
520
513
 
521
- /**
522
- * @name emoji_node
523
- */
524
- export declare interface EmojiDefinition {
525
- type: 'emoji';
514
+ // @public
515
+ export interface EmojiDefinition {
516
+ // (undocumented)
526
517
  attrs: EmojiAttributes;
518
+ // (undocumented)
519
+ type: 'emoji';
527
520
  }
528
521
 
529
- export declare function emojiIdToAcName(emojiId: string): never;
522
+ // @public (undocumented)
523
+ export function emojiIdToAcName(emojiId: string): never;
530
524
 
531
- export declare const expand: NodeSpec;
525
+ // @public (undocumented)
526
+ export const expand: NodeSpec;
532
527
 
533
- /**
534
- * @name expand_node
535
- */
536
- declare interface ExpandBaseDefinition {
537
- type: 'expand';
528
+ // @public
529
+ interface ExpandBaseDefinition {
530
+ // (undocumented)
538
531
  attrs: {
539
532
  title?: string;
540
533
  };
541
- /**
542
- * @minItems 1
543
- * @allowUnsupportedBlock true
544
- */
545
534
  content: Array<NonNestableBlockContent>;
535
+ // (undocumented)
546
536
  marks?: Array<any>;
537
+ // (undocumented)
538
+ type: 'expand';
547
539
  }
548
540
 
549
- /**
550
- * @name expand_with_no_mark_node
551
- */
552
- export declare type ExpandDefinition = ExpandBaseDefinition & NoMark;
541
+ // @public
542
+ export type ExpandDefinition = ExpandBaseDefinition & NoMark;
553
543
 
554
- export declare const expandToJSON: (
555
- node: Node_2,
556
- ) => {
544
+ // @public (undocumented)
545
+ export const expandToJSON: (node: Node_2) => {
557
546
  attrs: {
558
547
  [key: string]: any;
559
548
  };
560
549
  };
561
550
 
562
- /**
563
- * @name expand_with_breakout_mark_node
564
- */
565
- declare type ExpandWithBreakoutDefinition = ExpandBaseDefinition &
551
+ // @public
552
+ type ExpandWithBreakoutDefinition = ExpandBaseDefinition &
566
553
  MarksObject<BreakoutMarkDefinition>;
567
554
 
568
- export declare const extension: NodeSpec;
555
+ // @public (undocumented)
556
+ export const extension: NodeSpec;
569
557
 
570
- declare interface ExtensionAttributes {
571
- /**
572
- * @minLength 1
573
- */
558
+ // @public (undocumented)
559
+ interface ExtensionAttributes {
560
+ // (undocumented)
574
561
  extensionKey: string;
575
- /**
576
- * @minLength 1
577
- */
562
+ // (undocumented)
578
563
  extensionType: string;
579
- parameters?: object;
580
- text?: string;
564
+ // (undocumented)
581
565
  layout?: ExtensionLayout;
582
- /**
583
- * @minLength 1
584
- */
566
+ // (undocumented)
585
567
  localId?: string;
568
+ // (undocumented)
569
+ parameters?: object;
570
+ // (undocumented)
571
+ text?: string;
586
572
  }
587
573
 
588
- /**
589
- * @name extension_node
590
- */
591
- declare interface ExtensionBaseDefinition {
592
- type: 'extension';
574
+ // @public
575
+ interface ExtensionBaseDefinition {
576
+ // (undocumented)
593
577
  attrs: ExtensionAttributes;
578
+ // (undocumented)
594
579
  marks?: Array<any>;
580
+ // (undocumented)
581
+ type: 'extension';
595
582
  }
596
583
 
597
- /**
598
- * @name extension_with_marks_node
599
- */
600
- export declare type ExtensionDefinition = ExtensionBaseDefinition &
584
+ // @public
585
+ export type ExtensionDefinition = ExtensionBaseDefinition &
601
586
  MarksObject<DataConsumerDefinition | FragmentDefinition>;
602
587
 
603
- export declare type ExtensionLayout = 'default' | 'wide' | 'full-width';
588
+ // @public (undocumented)
589
+ export type ExtensionLayout = 'default' | 'full-width' | 'wide';
604
590
 
605
- export declare interface ExternalMediaAttributes {
591
+ // @public (undocumented)
592
+ export interface ExternalMediaAttributes {
593
+ // (undocumented)
594
+ __external?: boolean;
595
+ // (undocumented)
596
+ alt?: string;
597
+ // (undocumented)
598
+ height?: number;
599
+ // (undocumented)
606
600
  type: 'external';
601
+ // (undocumented)
607
602
  url: string;
608
- alt?: string;
603
+ // (undocumented)
609
604
  width?: number;
610
- height?: number;
611
- __external?: boolean;
612
605
  }
613
606
 
614
- export declare const fragment: MarkSpec;
607
+ // @public (undocumented)
608
+ export const fragment: MarkSpec;
615
609
 
616
- export declare interface FragmentAttributes {
617
- /**
618
- * @minLength 1
619
- */
610
+ // @public (undocumented)
611
+ export interface FragmentAttributes {
612
+ // (undocumented)
620
613
  localId: LocalId;
614
+ // (undocumented)
621
615
  name?: string;
622
616
  }
623
617
 
624
- /**
625
- * @name fragment_mark
626
- * @description Indicates that the elements decorated with this mark belong to a "fragment" entity, which represents a collection of ADF nodes.
627
- * This entity can be referred to later by its `localId` attribute.
628
- */
629
- export declare interface FragmentDefinition {
630
- type: 'fragment';
618
+ // @public
619
+ export interface FragmentDefinition {
620
+ // (undocumented)
631
621
  attrs: FragmentAttributes;
622
+ // (undocumented)
623
+ type: 'fragment';
632
624
  }
633
625
 
634
- export declare const fragmentToJSON: (
635
- mark: Mark,
636
- ) => {
626
+ // @public (undocumented)
627
+ export const fragmentToJSON: (mark: Mark) => {
637
628
  type: string;
638
629
  attrs: {
639
630
  name?: any;
@@ -641,37 +632,43 @@ export declare const fragmentToJSON: (
641
632
  };
642
633
  };
643
634
 
644
- export declare const G200 = '#57D9A3';
635
+ // @public (undocumented)
636
+ export const G200 = '#57D9A3';
645
637
 
646
- export declare const G300 = '#36B37E';
638
+ // @public (undocumented)
639
+ export const G300 = '#36B37E';
647
640
 
648
- export declare const G400 = '#00875A';
641
+ // @public (undocumented)
642
+ export const G400 = '#00875A';
649
643
 
650
- export declare const G50 = '#E3FCEF';
644
+ // @public (undocumented)
645
+ export const G50 = '#E3FCEF';
651
646
 
652
- export declare const G500 = '#006644';
647
+ // @public (undocumented)
648
+ export const G500 = '#006644';
653
649
 
654
- export declare const G75 = '#ABF5D1';
650
+ // @public (undocumented)
651
+ export const G75 = '#ABF5D1';
655
652
 
656
- export declare const generateUuid: () => string;
653
+ // @public (undocumented)
654
+ export const generateUuid: () => string;
657
655
 
658
- export declare const getCellAttrs: (
656
+ // @public (undocumented)
657
+ export const getCellAttrs: (
659
658
  dom: HTMLElement,
660
659
  defaultValues?: CellAttributes,
661
660
  ) => {
662
661
  colspan: number;
663
662
  rowspan: number;
664
- colwidth: number[] | null;
665
- background: string | null;
663
+ colwidth: null | number[];
664
+ background: null | string;
666
665
  };
667
666
 
668
- /**
669
- * gets cell dom attributes based on node attributes
670
- * @returns CellDomAttrs
671
- */
672
- export declare const getCellDomAttrs: (node: Node_2) => CellDomAttrs;
667
+ // @public
668
+ export const getCellDomAttrs: (node: Node_2) => CellDomAttrs;
673
669
 
674
- export declare function getEmojiAcName({
670
+ // @public (undocumented)
671
+ export function getEmojiAcName({
675
672
  id,
676
673
  shortName,
677
674
  }: {
@@ -679,790 +676,747 @@ export declare function getEmojiAcName({
679
676
  shortName: string;
680
677
  }): string;
681
678
 
682
- export declare function getLinkMatch(str?: string): Match | null;
679
+ // @public (undocumented)
680
+ export function getLinkMatch(str?: string): Match | null;
683
681
 
684
- export declare const hardBreak: NodeSpec;
682
+ // @public (undocumented)
683
+ export const hardBreak: NodeSpec;
685
684
 
686
- /**
687
- * @name hardBreak_node
688
- */
689
- export declare interface HardBreakDefinition {
690
- type: 'hardBreak';
685
+ // @public
686
+ export interface HardBreakDefinition {
687
+ // (undocumented)
691
688
  attrs?: {
692
689
  text?: '\n';
693
690
  };
691
+ // (undocumented)
692
+ type: 'hardBreak';
694
693
  }
695
694
 
696
- export declare const heading: NodeSpec;
695
+ // @public (undocumented)
696
+ export const heading: NodeSpec;
697
697
 
698
- /**
699
- * @name heading_node
700
- */
701
- export declare interface HeadingBaseDefinition {
702
- type: 'heading';
703
- /**
704
- * @allowUnsupportedInline true
705
- */
706
- content?: Array<Inline>;
707
- marks?: Array<any>;
698
+ // @public
699
+ export interface HeadingBaseDefinition {
700
+ // (undocumented)
708
701
  attrs: {
709
- /**
710
- * @minimum 1
711
- * @maximum 6
712
- */
713
702
  level: number;
714
703
  };
704
+ content?: Array<Inline>;
705
+ // (undocumented)
706
+ marks?: Array<any>;
707
+ // (undocumented)
708
+ type: 'heading';
715
709
  }
716
710
 
717
- /**
718
- * @name heading_with_no_marks_node
719
- */
720
- export declare type HeadingDefinition = HeadingBaseDefinition & NoMark;
711
+ // @public
712
+ export type HeadingDefinition = HeadingBaseDefinition & NoMark;
721
713
 
722
- /**
723
- * @name heading_with_alignment_node
724
- */
725
- export declare type HeadingWithAlignmentDefinition = HeadingBaseDefinition &
714
+ // @public
715
+ export type HeadingWithAlignmentDefinition = HeadingBaseDefinition &
726
716
  MarksObject<AlignmentMarkDefinition>;
727
717
 
728
- /**
729
- * @name heading_with_indentation_node
730
- */
731
- export declare type HeadingWithIndentationDefinition = HeadingBaseDefinition &
718
+ // @public
719
+ export type HeadingWithIndentationDefinition = HeadingBaseDefinition &
732
720
  MarksObject<IndentationMarkDefinition>;
733
721
 
734
- export declare type HeadingWithMarksDefinition =
722
+ // @public (undocumented)
723
+ export type HeadingWithMarksDefinition =
735
724
  | HeadingWithAlignmentDefinition
736
725
  | HeadingWithIndentationDefinition;
737
726
 
738
- /**
739
- * Converts hex color format to rgb.
740
- * Works well with full hex color format and shortcut as well.
741
- *
742
- * @param hex - hex color string (#xxx, or #xxxxxx)
743
- */
744
- export declare function hexToRgb(color: string): string | null;
745
-
746
- /**
747
- * Converts hex color format to rgba.
748
- *
749
- * @param hex - hex color string (#xxx, or #xxxxxx)
750
- */
751
- export declare function hexToRgba(
752
- rawColor: string,
753
- alpha: number,
754
- ): string | null;
755
-
756
- export declare const image: NodeSpec;
757
-
758
- export declare const indentation: MarkSpec;
759
-
760
- export declare interface IndentationMarkAttributes {
761
- /**
762
- * @minimum 1
763
- * @maximum 6
764
- */
727
+ // @public
728
+ export function hexToRgb(color: string): null | string;
729
+
730
+ // @public
731
+ export function hexToRgba(rawColor: string, alpha: number): null | string;
732
+
733
+ // @public (undocumented)
734
+ export const image: NodeSpec;
735
+
736
+ // @public (undocumented)
737
+ export const indentation: MarkSpec;
738
+
739
+ // @public (undocumented)
740
+ export interface IndentationMarkAttributes {
765
741
  level: number;
766
742
  }
767
743
 
768
- /**
769
- * @name indentation_mark
770
- */
771
- export declare interface IndentationMarkDefinition {
772
- type: 'indentation';
744
+ // @public
745
+ export interface IndentationMarkDefinition {
746
+ // (undocumented)
773
747
  attrs: IndentationMarkAttributes;
748
+ // (undocumented)
749
+ type: 'indentation';
774
750
  }
775
751
 
776
- /**
777
- * @name inline_node
778
- */
779
- export declare type Inline = InlineFormattedText | InlineCode | InlineAtomic;
752
+ // @public
753
+ export type Inline = InlineAtomic | InlineCode | InlineFormattedText;
780
754
 
781
- /**
782
- * @name atomic_inline_node
783
- */
784
- export declare type InlineAtomic =
785
- | HardBreakDefinition
786
- | MentionDefinition
755
+ // @public
756
+ export type InlineAtomic =
757
+ | DateDefinition
787
758
  | EmojiDefinition
759
+ | HardBreakDefinition
760
+ | InlineCardDefinition
788
761
  | InlineExtensionDefinition
789
- | DateDefinition
762
+ | MediaInlineDefinition
763
+ | MentionDefinition
790
764
  | PlaceholderDefinition
791
- | InlineCardDefinition
792
- | StatusDefinition
793
- | MediaInlineDefinition;
765
+ | StatusDefinition;
794
766
 
795
- export declare const inlineCard: NodeSpec;
767
+ // @public (undocumented)
768
+ export const inlineCard: NodeSpec;
796
769
 
797
- /**
798
- * @name inlineCard_node
799
- */
800
- export declare interface InlineCardDefinition {
801
- type: 'inlineCard';
770
+ // @public
771
+ export interface InlineCardDefinition {
772
+ // (undocumented)
802
773
  attrs: CardAttributes;
774
+ // (undocumented)
775
+ type: 'inlineCard';
803
776
  }
804
777
 
805
- /**
806
- * @name code_inline_node
807
- */
808
- export declare type InlineCode = TextDefinition &
809
- MarksObject<CodeDefinition | LinkDefinition | AnnotationMarkDefinition>;
778
+ // @public
779
+ export type InlineCode = TextDefinition &
780
+ MarksObject<AnnotationMarkDefinition | CodeDefinition | LinkDefinition>;
810
781
 
811
- export declare const inlineExtension: NodeSpec;
782
+ // @public (undocumented)
783
+ export const inlineExtension: NodeSpec;
812
784
 
813
- declare interface InlineExtensionAttributes {
814
- /**
815
- * @minLength 1
816
- */
785
+ // @public (undocumented)
786
+ interface InlineExtensionAttributes {
787
+ // (undocumented)
817
788
  extensionKey: string;
818
- /**
819
- * @minLength 1
820
- */
789
+ // (undocumented)
821
790
  extensionType: string;
791
+ // (undocumented)
792
+ localId?: string;
793
+ // (undocumented)
822
794
  parameters?: object;
795
+ // (undocumented)
823
796
  text?: string;
824
- /**
825
- * @minLength 1
826
- */
827
- localId?: string;
828
797
  }
829
798
 
830
- /**
831
- * @name inlineExtension_node
832
- */
833
- declare interface InlineExtensionBaseDefinition {
834
- type: 'inlineExtension';
799
+ // @public
800
+ interface InlineExtensionBaseDefinition {
801
+ // (undocumented)
835
802
  attrs: InlineExtensionAttributes;
803
+ // (undocumented)
836
804
  marks?: Array<any>;
805
+ // (undocumented)
806
+ type: 'inlineExtension';
837
807
  }
838
808
 
839
- /**
840
- * @name inlineExtension_with_marks_node
841
- */
842
- export declare type InlineExtensionDefinition = InlineExtensionBaseDefinition &
809
+ // @public
810
+ export type InlineExtensionDefinition = InlineExtensionBaseDefinition &
843
811
  MarksObject<DataConsumerDefinition | FragmentDefinition>;
844
812
 
845
- /**
846
- * @name formatted_text_inline_node
847
- */
848
- export declare type InlineFormattedText = TextDefinition &
813
+ // @public
814
+ export type InlineFormattedText = TextDefinition &
849
815
  MarksObject<
850
- | LinkDefinition
816
+ | AnnotationMarkDefinition
851
817
  | EmDefinition
852
- | StrongDefinition
818
+ | LinkDefinition
853
819
  | StrikeDefinition
820
+ | StrongDefinition
854
821
  | SubSupDefinition
855
- | UnderlineDefinition
856
822
  | TextColorDefinition
857
- | AnnotationMarkDefinition
823
+ | UnderlineDefinition
858
824
  >;
859
825
 
860
- /**
861
- * @name link_text_inline_node
862
- */
863
- export declare type InlineLinkText = TextDefinition &
864
- MarksObject<LinkDefinition>;
826
+ // @public
827
+ export type InlineLinkText = TextDefinition & MarksObject<LinkDefinition>;
865
828
 
866
- export declare const inlineNodes: Set<string>;
829
+ // @public (undocumented)
830
+ export const inlineNodes: Set<string>;
867
831
 
868
- export declare function isHex(color: string): boolean;
832
+ // @public (undocumented)
833
+ export function isHex(color: string): boolean;
869
834
 
870
- export declare function isRgb(color: string): boolean;
835
+ // @public (undocumented)
836
+ export function isRgb(color: string): boolean;
871
837
 
872
- /**
873
- * Please notify the Editor Mobile team (Slack: #help-mobilekit) if the logic for this changes.
874
- */
875
- export declare const isSafeUrl: (url: string) => boolean;
838
+ // @public
839
+ export const isSafeUrl: (url: string) => boolean;
876
840
 
877
- export declare const layoutColumn: NodeSpec;
841
+ // @public (undocumented)
842
+ export const layoutColumn: NodeSpec;
878
843
 
879
- /**
880
- * @name layoutColumn_node
881
- */
882
- export declare interface LayoutColumnDefinition {
883
- type: 'layoutColumn';
844
+ // @public
845
+ export interface LayoutColumnDefinition {
846
+ // (undocumented)
884
847
  attrs: {
885
- /**
886
- * @minimum 0
887
- * @maximum 100
888
- */
889
848
  width: number;
890
849
  };
891
- /**
892
- * @minItems 1
893
- * @allowUnsupportedBlock true
894
- */
895
850
  content: Array<BlockContent>;
851
+ // (undocumented)
852
+ type: 'layoutColumn';
896
853
  }
897
854
 
898
- export declare const layoutSection: NodeSpec;
855
+ // @public (undocumented)
856
+ export const layoutSection: NodeSpec;
899
857
 
900
- /**
901
- * @name layoutSection_node
902
- */
903
- declare type LayoutSectionBaseDefinition = {
858
+ // @public
859
+ type LayoutSectionBaseDefinition = {
904
860
  type: 'layoutSection';
905
861
  marks?: Array<BreakoutMarkDefinition>;
906
862
  content: Array<LayoutColumnDefinition>;
907
863
  };
908
864
 
909
- export declare type LayoutSectionDefinition =
865
+ // @public (undocumented)
866
+ export type LayoutSectionDefinition =
910
867
  | LayoutSectionFullDefinition
911
868
  | LayoutSectionWithSingleColumnDefinition;
912
869
 
913
- /**
914
- * Need duplicate `type` and `marks` to make both validator and json-schema satisfied
915
- */
916
- /**
917
- * @name layoutSection_full_node
918
- */
919
- export declare type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & {
870
+ // @public
871
+ export type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & {
920
872
  type: 'layoutSection';
921
873
  marks?: Array<BreakoutMarkDefinition>;
922
- /**
923
- * @minItems 2
924
- * @maxItems 3
925
- * @allowUnsupportedBlock true
926
- */
927
874
  content: Array<LayoutColumnDefinition>;
928
875
  };
929
876
 
930
- /**
931
- * @stage 0
932
- * @name layoutSection_with_single_column_node
933
- */
934
- export declare type LayoutSectionWithSingleColumnDefinition = LayoutSectionBaseDefinition & {
935
- type: 'layoutSection';
936
- marks?: Array<BreakoutMarkDefinition>;
937
- /**
938
- * @minItems 1
939
- * @maxItems 3
940
- * @allowUnsupportedBlock true
941
- */
942
- content: Array<LayoutColumnDefinition>;
943
- };
877
+ // @public
878
+ export type LayoutSectionWithSingleColumnDefinition =
879
+ LayoutSectionBaseDefinition & {
880
+ type: 'layoutSection';
881
+ marks?: Array<BreakoutMarkDefinition>;
882
+ content: Array<LayoutColumnDefinition>;
883
+ };
944
884
 
945
- export declare const link: MarkSpec;
885
+ // @public (undocumented)
886
+ export const link: MarkSpec;
946
887
 
947
- export declare interface LinkAttributes {
948
- /**
949
- * @validatorFn safeUrl
950
- */
888
+ // @public (undocumented)
889
+ export interface LinkAttributes {
890
+ // (undocumented)
891
+ __confluenceMetadata?: ConfluenceLinkMetadata;
892
+ // (undocumented)
893
+ collection?: string;
951
894
  href: string;
952
- title?: string;
895
+ // (undocumented)
953
896
  id?: string;
954
- collection?: string;
897
+ // (undocumented)
955
898
  occurrenceKey?: string;
956
- __confluenceMetadata?: ConfluenceLinkMetadata;
899
+ // (undocumented)
900
+ title?: string;
957
901
  }
958
902
 
959
- /**
960
- * @name link_mark
961
- */
962
- export declare interface LinkDefinition {
963
- type: 'link';
903
+ // @public
904
+ export interface LinkDefinition {
905
+ // (undocumented)
964
906
  attrs: LinkAttributes;
907
+ // (undocumented)
908
+ type: 'link';
965
909
  }
966
910
 
967
- export declare const linkify: LinkifyIt.LinkifyIt;
911
+ // @public (undocumented)
912
+ export const linkify: LinkifyIt.LinkifyIt;
968
913
 
969
- export declare const linkifyMatch: (text: string) => Match[];
914
+ // @public (undocumented)
915
+ export const linkifyMatch: (text: string) => Match[];
970
916
 
971
- export declare const linkToJSON: (
972
- mark: Mark,
973
- ) => {
917
+ // @public (undocumented)
918
+ export const linkToJSON: (mark: Mark) => {
974
919
  type: string;
975
920
  attrs: Record<string, string>;
976
921
  };
977
922
 
978
- export declare const listItem: NodeSpec;
923
+ // @public (undocumented)
924
+ export const listItem: NodeSpec;
979
925
 
980
- export declare interface ListItemArray
926
+ // @public (undocumented)
927
+ export interface ListItemArray
981
928
  extends Array<
982
- | ParagraphDefinition
983
- | OrderedListDefinition
984
929
  | BulletListDefinition
985
- | MediaSingleDefinition
986
930
  | CodeBlockDefinition
931
+ | MediaSingleDefinition
932
+ | OrderedListDefinition
933
+ | ParagraphDefinition
987
934
  > {
988
- 0: ParagraphDefinition | MediaSingleDefinition | CodeBlockDefinition;
935
+ // (undocumented)
936
+ 0: CodeBlockDefinition | MediaSingleDefinition | ParagraphDefinition;
989
937
  }
990
938
 
991
- /**
992
- * @name listItem_node
993
- */
994
- export declare interface ListItemDefinition {
995
- type: 'listItem';
996
- /**
997
- * @minItems 1
998
- */
939
+ // @public
940
+ export interface ListItemDefinition {
941
+ // (undocumented)
999
942
  content: ListItemArray;
943
+ // (undocumented)
944
+ type: 'listItem';
1000
945
  }
1001
946
 
1002
- declare type LocalId = string;
947
+ // @public (undocumented)
948
+ type LocalId = string;
1003
949
 
1004
- /**
1005
- * @additionalProperties true
1006
- */
1007
- export declare interface MarksObject<T> {
950
+ // @public
951
+ export interface MarksObject<T> {
952
+ // (undocumented)
1008
953
  marks?: Array<T>;
1009
954
  }
1010
955
 
1011
- export declare interface Match {
1012
- schema: any;
956
+ // @public (undocumented)
957
+ export interface Match {
958
+ // (undocumented)
1013
959
  index: number;
960
+ // (undocumented)
961
+ input?: string;
962
+ // (undocumented)
1014
963
  lastIndex: number;
964
+ // (undocumented)
965
+ length?: number;
966
+ // (undocumented)
1015
967
  raw: string;
968
+ // (undocumented)
969
+ schema: any;
970
+ // (undocumented)
1016
971
  text: string;
972
+ // (undocumented)
1017
973
  url: string;
1018
- length?: number;
1019
- input?: string;
1020
974
  }
1021
975
 
1022
- export declare const media: NodeSpec;
976
+ // @public (undocumented)
977
+ export const media: NodeSpec;
1023
978
 
1024
- export declare type MediaADFAttrs = MediaAttributes | ExternalMediaAttributes;
979
+ // @public (undocumented)
980
+ export type MediaADFAttrs = ExternalMediaAttributes | MediaAttributes;
1025
981
 
1026
- export declare interface MediaAttributes extends MediaBaseAttributes {
982
+ // @public (undocumented)
983
+ export interface MediaAttributes extends MediaBaseAttributes {
984
+ // (undocumented)
1027
985
  type: 'file' | 'link';
1028
986
  }
1029
987
 
1030
- export declare interface MediaBaseAttributes {
1031
- /**
1032
- * @minLength 1
1033
- */
1034
- id: string;
988
+ // @public (undocumented)
989
+ export interface MediaBaseAttributes {
990
+ // (undocumented)
991
+ __contextId?: null | string;
992
+ // (undocumented)
993
+ __displayType?: MediaDisplayType | null;
994
+ // (undocumented)
995
+ __external?: boolean;
996
+ // (undocumented)
997
+ __fileMimeType?: null | string;
998
+ // (undocumented)
999
+ __fileName?: null | string;
1000
+ // (undocumented)
1001
+ __fileSize?: null | number;
1002
+ // (undocumented)
1003
+ alt?: string;
1004
+ // (undocumented)
1035
1005
  collection: string;
1006
+ // (undocumented)
1036
1007
  height?: number;
1037
- width?: number;
1038
- /**
1039
- * @minLength 1
1040
- */
1008
+ // (undocumented)
1009
+ id: string;
1010
+ // (undocumented)
1041
1011
  occurrenceKey?: string;
1042
- alt?: string;
1043
- __fileName?: string | null;
1044
- __fileSize?: number | null;
1045
- __fileMimeType?: string | null;
1046
- __displayType?: MediaDisplayType | null;
1047
- __contextId?: string | null;
1048
- __external?: boolean;
1012
+ // (undocumented)
1013
+ width?: number;
1049
1014
  }
1050
1015
 
1051
- /**
1052
- * @additionalProperties true
1053
- */
1054
- declare interface MediaCaptionContent {
1055
- /**
1056
- * @minItems 1
1057
- * @maxItems 2
1058
- * @allowUnsupportedBlock true
1059
- */
1016
+ // @public
1017
+ interface MediaCaptionContent {
1060
1018
  content: [MediaDefinition, CaptionDefinition?];
1061
1019
  }
1062
1020
 
1063
- /**
1064
- * @name media_node
1065
- */
1066
- export declare interface MediaDefinition {
1067
- type: 'media';
1068
- /**
1069
- * @minItems 1
1070
- */
1021
+ // @public
1022
+ export interface MediaDefinition {
1023
+ // (undocumented)
1071
1024
  attrs: MediaADFAttrs;
1025
+ // (undocumented)
1072
1026
  marks?: Array<LinkDefinition>;
1027
+ // (undocumented)
1028
+ type: 'media';
1073
1029
  }
1074
1030
 
1075
- export declare type MediaDisplayType = 'file' | 'thumbnail';
1031
+ // @public (undocumented)
1032
+ export type MediaDisplayType = 'file' | 'thumbnail';
1076
1033
 
1077
- export declare const mediaGroup: NodeSpec;
1034
+ // @public (undocumented)
1035
+ export const mediaGroup: NodeSpec;
1078
1036
 
1079
- /**
1080
- * @name mediaGroup_node
1081
- */
1082
- export declare interface MediaGroupDefinition {
1083
- type: 'mediaGroup';
1084
- /**
1085
- * @minItems 1
1086
- * @allowUnsupportedBlock true
1087
- */
1037
+ // @public
1038
+ export interface MediaGroupDefinition {
1088
1039
  content: Array<MediaDefinition>;
1040
+ // (undocumented)
1041
+ type: 'mediaGroup';
1089
1042
  }
1090
1043
 
1091
- export declare const mediaInline: NodeSpec;
1044
+ // @public (undocumented)
1045
+ export const mediaInline: NodeSpec;
1092
1046
 
1093
- export declare interface MediaInlineAttributes extends MediaBaseAttributes {
1047
+ // @public (undocumented)
1048
+ export interface MediaInlineAttributes extends MediaBaseAttributes {
1049
+ // (undocumented)
1094
1050
  data?: object;
1051
+ // (undocumented)
1095
1052
  type?: 'file' | 'link';
1096
1053
  }
1097
1054
 
1098
- /**
1099
- * @name mediaInline_node
1100
- */
1101
- export declare interface MediaInlineDefinition {
1102
- type: 'mediaInline';
1055
+ // @public
1056
+ export interface MediaInlineDefinition {
1057
+ // (undocumented)
1103
1058
  attrs: MediaInlineAttributes;
1059
+ // (undocumented)
1104
1060
  marks?: Array<LinkDefinition>;
1061
+ // (undocumented)
1062
+ type: 'mediaInline';
1105
1063
  }
1106
1064
 
1107
- export declare const mediaSingle: NodeSpec;
1065
+ // @public (undocumented)
1066
+ export const mediaSingle: NodeSpec;
1108
1067
 
1109
- /**
1110
- * @name mediaSingle_node
1111
- * @additionalProperties true
1112
- */
1113
- declare interface MediaSingleBaseDefinition {
1114
- type: 'mediaSingle';
1068
+ // @public
1069
+ interface MediaSingleBaseDefinition {
1070
+ // (undocumented)
1115
1071
  attrs?: RichMediaAttributes;
1072
+ // (undocumented)
1116
1073
  marks?: Array<LinkDefinition>;
1074
+ // (undocumented)
1075
+ type: 'mediaSingle';
1117
1076
  }
1118
1077
 
1119
- export declare type MediaSingleDefinition =
1078
+ // @public (undocumented)
1079
+ export type MediaSingleDefinition =
1120
1080
  | MediaSingleFullDefinition
1121
1081
  | MediaSingleWithCaptionDefinition;
1122
1082
 
1123
- /**
1124
- * @additionalProperties true
1125
- */
1126
- declare interface MediaSingleFullContent {
1127
- /**
1128
- * @minItems 1
1129
- * @maxItems 1
1130
- * @allowUnsupportedBlock true
1131
- */
1083
+ // @public
1084
+ interface MediaSingleFullContent {
1132
1085
  content: Array<MediaDefinition>;
1133
1086
  }
1134
1087
 
1135
- /**
1136
- * @name mediaSingle_full_node
1137
- */
1138
- declare type MediaSingleFullDefinition = MediaSingleBaseDefinition &
1088
+ // @public
1089
+ type MediaSingleFullDefinition = MediaSingleBaseDefinition &
1139
1090
  MediaSingleFullContent;
1140
1091
 
1141
- export declare const mediaSingleToJSON: (
1142
- node: Node_2,
1143
- ) => {
1092
+ // @public (undocumented)
1093
+ export const mediaSingleToJSON: (node: Node_2) => {
1144
1094
  attrs: any;
1145
1095
  };
1146
1096
 
1147
- export declare const mediaSingleWithCaption: NodeSpec;
1097
+ // @public (undocumented)
1098
+ export const mediaSingleWithCaption: NodeSpec;
1148
1099
 
1149
- /**
1150
- * @name mediaSingle_caption_node
1151
- */
1152
- declare type MediaSingleWithCaptionDefinition = MediaSingleBaseDefinition &
1100
+ // @public
1101
+ type MediaSingleWithCaptionDefinition = MediaSingleBaseDefinition &
1153
1102
  MediaCaptionContent;
1154
1103
 
1155
- export declare const mediaToJSON: (
1156
- node: Node_2,
1157
- ) => {
1104
+ // @public (undocumented)
1105
+ export const mediaToJSON: (node: Node_2) => {
1158
1106
  attrs: Record<string, any>;
1159
1107
  };
1160
1108
 
1161
- export declare type MediaType = 'file' | 'link' | 'external';
1109
+ // @public (undocumented)
1110
+ export type MediaType = 'external' | 'file' | 'link';
1162
1111
 
1163
- export declare const mention: NodeSpec;
1112
+ // @public (undocumented)
1113
+ export const mention: NodeSpec;
1164
1114
 
1165
- export declare interface MentionAttributes {
1115
+ // @public (undocumented)
1116
+ export interface MentionAttributes {
1117
+ // (undocumented)
1118
+ accessLevel?: string;
1119
+ // (undocumented)
1166
1120
  id: string;
1121
+ // (undocumented)
1167
1122
  text?: string;
1123
+ // (undocumented)
1168
1124
  userType?: MentionUserType;
1169
- accessLevel?: string;
1170
1125
  }
1171
1126
 
1172
- /**
1173
- * @name mention_node
1174
- */
1175
- export declare interface MentionDefinition {
1176
- type: 'mention';
1127
+ // @public
1128
+ export interface MentionDefinition {
1129
+ // (undocumented)
1177
1130
  attrs: MentionAttributes;
1131
+ // (undocumented)
1132
+ type: 'mention';
1178
1133
  }
1179
1134
 
1180
- export declare const mentionToJSON: (
1181
- node: Node_2,
1182
- ) => {
1135
+ // @public (undocumented)
1136
+ export const mentionToJSON: (node: Node_2) => {
1183
1137
  attrs: {
1184
1138
  [key: string]: any;
1185
1139
  };
1186
1140
  };
1187
1141
 
1188
- export declare type MentionUserType = keyof typeof USER_TYPES;
1142
+ // @public (undocumented)
1143
+ export type MentionUserType = keyof typeof USER_TYPES;
1189
1144
 
1190
- export declare const N0 = '#FFFFFF';
1145
+ // @public (undocumented)
1146
+ export const N0 = '#FFFFFF';
1191
1147
 
1192
- export declare const N20 = '#F4F5F7';
1148
+ // @public (undocumented)
1149
+ export const N20 = '#F4F5F7';
1193
1150
 
1194
- export declare const N200 = '#6B778C';
1151
+ // @public (undocumented)
1152
+ export const N200 = '#6B778C';
1195
1153
 
1196
- export declare const N30 = '#EBECF0';
1154
+ // @public (undocumented)
1155
+ export const N30 = '#EBECF0';
1197
1156
 
1198
- export declare const N300 = '#5E6C84';
1157
+ // @public (undocumented)
1158
+ export const N300 = '#5E6C84';
1199
1159
 
1200
- export declare const N40 = '#DFE1E6';
1160
+ // @public (undocumented)
1161
+ export const N40 = '#DFE1E6';
1201
1162
 
1202
- export declare const N50 = '#C1C7D0';
1163
+ // @public (undocumented)
1164
+ export const N50 = '#C1C7D0';
1203
1165
 
1204
- export declare const N500 = '#42526E';
1166
+ // @public (undocumented)
1167
+ export const N500 = '#42526E';
1205
1168
 
1206
- export declare const N60 = '#B3BAC5';
1169
+ // @public (undocumented)
1170
+ export const N60 = '#B3BAC5';
1207
1171
 
1208
- export declare const N80 = '#97A0AF';
1172
+ // @public (undocumented)
1173
+ export const N80 = '#97A0AF';
1209
1174
 
1210
- export declare const N800 = '#172B4D';
1175
+ // @public (undocumented)
1176
+ export const N800 = '#172B4D';
1211
1177
 
1212
- export declare const N90 = '#8993A4';
1178
+ // @public (undocumented)
1179
+ export const N90 = '#8993A4';
1213
1180
 
1214
- export declare type NameToEmoji = keyof typeof acNameToEmojiMap;
1181
+ // @public (undocumented)
1182
+ export type NameToEmoji = keyof typeof acNameToEmojiMap;
1215
1183
 
1216
- export declare const nestedExpand: NodeSpec;
1184
+ // @public (undocumented)
1185
+ export const nestedExpand: NodeSpec;
1217
1186
 
1218
- /**
1219
- * @name nestedExpand_node
1220
- */
1221
- declare interface NestedExpandBaseDefinition {
1222
- type: 'nestedExpand';
1187
+ // @public
1188
+ interface NestedExpandBaseDefinition {
1189
+ // (undocumented)
1223
1190
  attrs: {
1224
1191
  title?: string;
1225
1192
  };
1193
+ // (undocumented)
1226
1194
  content: NestedExpandContent;
1195
+ // (undocumented)
1196
+ type: 'nestedExpand';
1227
1197
  }
1228
1198
 
1229
- /**
1230
- * @name nestedExpand_content
1231
- * @minItems 1
1232
- * @allowUnsupportedBlock true
1233
- */
1234
- export declare type NestedExpandContent = Array<
1235
- | ParagraphDefinition
1199
+ // @public
1200
+ export type NestedExpandContent = Array<
1236
1201
  | HeadingDefinition
1237
- | MediaSingleDefinition
1238
1202
  | MediaGroupDefinition
1203
+ | MediaSingleDefinition
1204
+ | ParagraphDefinition
1239
1205
  >;
1240
1206
 
1241
- /**
1242
- * @name nestedExpand_with_no_marks_node
1243
- */
1244
- export declare type NestedExpandDefinition = NestedExpandBaseDefinition &
1245
- NoMark;
1246
-
1247
- /**
1248
- * @additionalProperties true
1249
- */
1250
- export declare interface NoMark {
1251
- /**
1252
- * @maxItems 0
1253
- */
1207
+ // @public
1208
+ export type NestedExpandDefinition = NestedExpandBaseDefinition & NoMark;
1209
+
1210
+ // @public
1211
+ export interface NoMark {
1212
+ // (undocumented)
1254
1213
  marks?: Array<any>;
1255
1214
  }
1256
1215
 
1257
- /**
1258
- * @name non_nestable_block_content
1259
- */
1260
- export declare type NonNestableBlockContent =
1261
- | PanelDefinition
1262
- | ParagraphDefinition
1216
+ // @public
1217
+ export type NonNestableBlockContent =
1218
+ | BlockCardDefinition
1263
1219
  | BlockQuoteDefinition
1264
- | OrderedListDefinition
1265
1220
  | BulletListDefinition
1266
- | RuleDefinition
1267
- | HeadingDefinition
1268
1221
  | CodeBlockDefinition
1222
+ | DecisionListDefinition
1223
+ | EmbedCardDefinition
1224
+ | ExtensionDefinition
1225
+ | HeadingDefinition
1269
1226
  | MediaGroupDefinition
1270
1227
  | MediaSingleDefinition
1271
- | DecisionListDefinition
1272
- | TaskListDefinition
1228
+ | OrderedListDefinition
1229
+ | PanelDefinition
1230
+ | ParagraphDefinition
1231
+ | RuleDefinition
1273
1232
  | TableDefinition
1274
- | ExtensionDefinition
1275
- | BlockCardDefinition
1276
- | EmbedCardDefinition;
1233
+ | TaskListDefinition;
1277
1234
 
1278
- /**
1279
- * @return String with HEX-coded color
1280
- */
1281
- export declare function normalizeHexColor(
1282
- color: string | null,
1235
+ // @public
1236
+ export function normalizeHexColor(
1237
+ color: null | string,
1283
1238
  defaultColor?: string,
1284
- ): string | null;
1239
+ ): null | string;
1285
1240
 
1286
- /**
1287
- * Adds protocol to url if needed.
1288
- */
1289
- export declare function normalizeUrl(url?: string): string;
1241
+ // @public
1242
+ export function normalizeUrl(url?: string): string;
1290
1243
 
1291
- export declare const orderedList: NodeSpec;
1244
+ // @public (undocumented)
1245
+ export const orderedList: NodeSpec;
1292
1246
 
1293
- /**
1294
- * @name orderedList_node
1295
- */
1296
- export declare interface OrderedListDefinition {
1297
- type: 'orderedList';
1298
- /**
1299
- * @minItems 1
1300
- */
1301
- content: Array<ListItemDefinition>;
1247
+ // @public
1248
+ export interface OrderedListDefinition {
1249
+ // (undocumented)
1302
1250
  attrs?: {
1303
- /**
1304
- * @minimum 1
1305
- */
1306
1251
  order: number;
1307
1252
  };
1253
+ // (undocumented)
1254
+ content: Array<ListItemDefinition>;
1255
+ // (undocumented)
1256
+ type: 'orderedList';
1308
1257
  }
1309
1258
 
1310
- export declare const orderedListSelector = '.ak-ol';
1259
+ // @public (undocumented)
1260
+ export const orderedListSelector = '.ak-ol';
1311
1261
 
1312
- export declare const P100 = '#998DD9';
1262
+ // @public (undocumented)
1263
+ export const P100 = '#998DD9';
1313
1264
 
1314
- export declare const P300 = '#6554C0';
1265
+ // @public (undocumented)
1266
+ export const P300 = '#6554C0';
1315
1267
 
1316
- export declare const P400 = '#5243AA';
1268
+ // @public (undocumented)
1269
+ export const P400 = '#5243AA';
1317
1270
 
1318
- export declare const P50 = '#EAE6FF';
1271
+ // @public (undocumented)
1272
+ export const P50 = '#EAE6FF';
1319
1273
 
1320
- export declare const P500 = '#403294';
1274
+ // @public (undocumented)
1275
+ export const P500 = '#403294';
1321
1276
 
1322
- export declare const P75 = '#C0B6F2';
1277
+ // @public (undocumented)
1278
+ export const P75 = '#C0B6F2';
1323
1279
 
1324
- export declare const panel: (allowCustomPanel: boolean) => NodeSpec;
1280
+ // @public (undocumented)
1281
+ export const panel: (allowCustomPanel: boolean) => NodeSpec;
1325
1282
 
1326
- export declare interface PanelAttributes {
1327
- panelType: PanelType;
1283
+ // @public (undocumented)
1284
+ export interface PanelAttributes {
1285
+ // (undocumented)
1286
+ panelColor?: string;
1287
+ // (undocumented)
1328
1288
  panelIcon?: string;
1289
+ // (undocumented)
1329
1290
  panelIconId?: string;
1291
+ // (undocumented)
1330
1292
  panelIconText?: string;
1331
- panelColor?: string;
1293
+ // (undocumented)
1294
+ panelType: PanelType;
1332
1295
  }
1333
1296
 
1334
- /**
1335
- * @name panel_node
1336
- */
1337
- export declare interface PanelDefinition {
1338
- type: 'panel';
1297
+ // @public
1298
+ export interface PanelDefinition {
1299
+ // (undocumented)
1339
1300
  attrs: PanelAttributes;
1340
- /**
1341
- * @minItems 1
1342
- * @allowUnsupportedBlock true
1343
- */
1344
1301
  content: Array<
1345
- | ParagraphDefinition
1302
+ | BlockCardDefinition
1303
+ | BulletListDefinition
1346
1304
  | HeadingDefinition
1347
1305
  | OrderedListDefinition
1348
- | BulletListDefinition
1349
- | BlockCardDefinition
1306
+ | ParagraphDefinition
1350
1307
  >;
1308
+ // (undocumented)
1309
+ type: 'panel';
1351
1310
  }
1352
1311
 
1353
- export declare enum PanelType {
1312
+ // @public (undocumented)
1313
+ export enum PanelType {
1314
+ // (undocumented)
1315
+ CUSTOM = 'custom',
1316
+ // (undocumented)
1317
+ ERROR = 'error',
1318
+ // (undocumented)
1354
1319
  INFO = 'info',
1320
+ // (undocumented)
1355
1321
  NOTE = 'note',
1322
+ // (undocumented)
1323
+ SUCCESS = 'success',
1324
+ // (undocumented)
1356
1325
  TIP = 'tip',
1326
+ // (undocumented)
1357
1327
  WARNING = 'warning',
1358
- ERROR = 'error',
1359
- SUCCESS = 'success',
1360
- CUSTOM = 'custom',
1361
1328
  }
1362
1329
 
1363
- export declare const paragraph: NodeSpec;
1330
+ // @public (undocumented)
1331
+ export const paragraph: NodeSpec;
1364
1332
 
1365
- /**
1366
- * @name paragraph_node
1367
- */
1368
- export declare interface ParagraphBaseDefinition {
1369
- type: 'paragraph';
1370
- /**
1371
- * @allowUnsupportedInline true
1372
- */
1333
+ // @public
1334
+ export interface ParagraphBaseDefinition {
1373
1335
  content?: Array<Inline>;
1336
+ // (undocumented)
1374
1337
  marks?: Array<any>;
1338
+ // (undocumented)
1339
+ type: 'paragraph';
1375
1340
  }
1376
1341
 
1377
- /**
1378
- * @name paragraph_with_no_marks_node
1379
- */
1380
- export declare type ParagraphDefinition = ParagraphBaseDefinition & NoMark;
1381
-
1382
- /**
1383
- * NOTE: Need this because TS is too smart and inline everything.
1384
- * So we need to give them separate identity.
1385
- * Probably there's a way to solve it but that will need time and exploration.
1386
- * // http://bit.ly/2raXFX5
1387
- * type T1 = X | Y
1388
- * type T2 = A | T1 | B // T2 = A | X | Y | B
1389
- */
1390
- /**
1391
- * @name paragraph_with_alignment_node
1392
- */
1393
- export declare type ParagraphWithAlignmentDefinition = ParagraphBaseDefinition &
1342
+ // @public
1343
+ export type ParagraphDefinition = ParagraphBaseDefinition & NoMark;
1344
+
1345
+ // @public
1346
+ export type ParagraphWithAlignmentDefinition = ParagraphBaseDefinition &
1394
1347
  MarksObject<AlignmentMarkDefinition>;
1395
1348
 
1396
- /**
1397
- * @name paragraph_with_indentation_node
1398
- */
1399
- export declare type ParagraphWithIndentationDefinition = ParagraphBaseDefinition &
1349
+ // @public
1350
+ export type ParagraphWithIndentationDefinition = ParagraphBaseDefinition &
1400
1351
  MarksObject<IndentationMarkDefinition>;
1401
1352
 
1402
- export declare type ParagraphWithMarksDefinition =
1353
+ // @public (undocumented)
1354
+ export type ParagraphWithMarksDefinition =
1403
1355
  | ParagraphWithAlignmentDefinition
1404
1356
  | ParagraphWithIndentationDefinition;
1405
1357
 
1406
- export declare const placeholder: NodeSpec;
1358
+ // @public (undocumented)
1359
+ export const placeholder: NodeSpec;
1407
1360
 
1408
- /**
1409
- * @name placeholder_node
1410
- */
1411
- export declare interface PlaceholderDefinition {
1412
- type: 'placeholder';
1361
+ // @public
1362
+ export interface PlaceholderDefinition {
1363
+ // (undocumented)
1413
1364
  attrs: {
1414
1365
  text: string;
1415
1366
  };
1367
+ // (undocumented)
1368
+ type: 'placeholder';
1416
1369
  }
1417
1370
 
1418
- export declare const R100 = '#FF8F73';
1371
+ // @public (undocumented)
1372
+ export const R100 = '#FF8F73';
1419
1373
 
1420
- export declare const R300 = '#FF5630';
1374
+ // @public (undocumented)
1375
+ export const R300 = '#FF5630';
1421
1376
 
1422
- export declare const R400 = '#DE350B';
1377
+ // @public (undocumented)
1378
+ export const R400 = '#DE350B';
1423
1379
 
1424
- /**
1425
- * We're avoding importing these colors from @atlaskit/theme since we
1426
- * do not want to have react as a dependency of this package.
1427
- * TODO: Refactor this once tokenization by Core team is ready
1428
- * https://product-fabric.atlassian.net/browse/CS-908
1429
- */
1430
- export declare const R50 = '#FFEBE6';
1380
+ // @public
1381
+ export const R50 = '#FFEBE6';
1431
1382
 
1432
- export declare const R500 = '#BF2600';
1383
+ // @public (undocumented)
1384
+ export const R500 = '#BF2600';
1433
1385
 
1434
- export declare const R75 = '#FFBDAD';
1386
+ // @public (undocumented)
1387
+ export const R75 = '#FFBDAD';
1435
1388
 
1436
- export declare function rgbToHex(value: string): string | null;
1389
+ // @public (undocumented)
1390
+ export function rgbToHex(value: string): null | string;
1437
1391
 
1438
- export declare interface RichMediaAttributes {
1439
- /**
1440
- * @minimum 0
1441
- * @maximum 100
1442
- */
1443
- width?: number;
1392
+ // @public (undocumented)
1393
+ export interface RichMediaAttributes {
1394
+ // (undocumented)
1444
1395
  layout: RichMediaLayout;
1396
+ width?: number;
1445
1397
  }
1446
1398
 
1447
- export declare type RichMediaLayout =
1448
- | 'wrap-right'
1399
+ // @public (undocumented)
1400
+ export type RichMediaLayout =
1401
+ | 'align-end'
1402
+ | 'align-start'
1449
1403
  | 'center'
1450
- | 'wrap-left'
1451
- | 'wide'
1452
1404
  | 'full-width'
1453
- | 'align-end'
1454
- | 'align-start';
1405
+ | 'wide'
1406
+ | 'wrap-left'
1407
+ | 'wrap-right';
1455
1408
 
1456
- export declare const rule: NodeSpec;
1409
+ // @public (undocumented)
1410
+ export const rule: NodeSpec;
1457
1411
 
1458
- /**
1459
- * @name rule_node
1460
- */
1461
- export declare interface RuleDefinition {
1412
+ // @public
1413
+ export interface RuleDefinition {
1414
+ // (undocumented)
1462
1415
  type: 'rule';
1463
1416
  }
1464
1417
 
1465
- export declare function sanitizeNodes(
1418
+ // @public (undocumented)
1419
+ export function sanitizeNodes(
1466
1420
  nodes: {
1467
1421
  [key: string]: NodeSpec;
1468
1422
  },
@@ -1473,353 +1427,388 @@ export declare function sanitizeNodes(
1473
1427
  [key: string]: NodeSpec;
1474
1428
  };
1475
1429
 
1476
- declare interface SchemaConfig<N = string, M = string> {
1477
- nodes: N[];
1430
+ // @public (undocumented)
1431
+ interface SchemaConfig<N = string, M = string> {
1432
+ // (undocumented)
1433
+ customMarkSpecs?: SchemaCustomMarkSpecs;
1434
+ // (undocumented)
1478
1435
  customNodeSpecs?: SchemaCustomNodeSpecs;
1436
+ // (undocumented)
1479
1437
  marks?: M[];
1480
- customMarkSpecs?: SchemaCustomMarkSpecs;
1438
+ // (undocumented)
1439
+ nodes: N[];
1481
1440
  }
1482
1441
 
1483
- declare interface SchemaCustomMarkSpecs {
1442
+ // @public (undocumented)
1443
+ interface SchemaCustomMarkSpecs {
1444
+ // (undocumented)
1484
1445
  [name: string]: MarkSpec;
1485
1446
  }
1486
1447
 
1487
- declare interface SchemaCustomNodeSpecs {
1448
+ // @public (undocumented)
1449
+ interface SchemaCustomNodeSpecs {
1450
+ // (undocumented)
1488
1451
  [name: string]: NodeSpec;
1489
1452
  }
1490
1453
 
1491
- declare const status_2: NodeSpec;
1454
+ // @public (undocumented)
1455
+ const status_2: NodeSpec;
1492
1456
  export { status_2 as status };
1493
1457
 
1494
- /**
1495
- * @name status_node
1496
- */
1497
- export declare interface StatusDefinition {
1498
- type: 'status';
1458
+ // @public
1459
+ export interface StatusDefinition {
1460
+ // (undocumented)
1499
1461
  attrs: {
1500
- /**
1501
- * @minLength 1
1502
- */
1503
1462
  text: string;
1504
- color: 'neutral' | 'purple' | 'blue' | 'red' | 'yellow' | 'green';
1463
+ color: 'blue' | 'green' | 'neutral' | 'purple' | 'red' | 'yellow';
1505
1464
  localId?: string;
1506
- /**
1507
- * Supported values are bold and subtle
1508
- */
1509
1465
  style?: string;
1510
1466
  };
1467
+ // (undocumented)
1468
+ type: 'status';
1511
1469
  }
1512
1470
 
1513
- export declare const strike: MarkSpec;
1471
+ // @public (undocumented)
1472
+ export const strike: MarkSpec;
1514
1473
 
1515
- /**
1516
- * @name strike_mark
1517
- */
1518
- export declare interface StrikeDefinition {
1474
+ // @public
1475
+ export interface StrikeDefinition {
1476
+ // (undocumented)
1519
1477
  type: 'strike';
1520
1478
  }
1521
1479
 
1522
- export declare const strong: MarkSpec;
1480
+ // @public (undocumented)
1481
+ export const strong: MarkSpec;
1523
1482
 
1524
- /**
1525
- * @name strong_mark
1526
- */
1527
- export declare interface StrongDefinition {
1483
+ // @public
1484
+ export interface StrongDefinition {
1485
+ // (undocumented)
1528
1486
  type: 'strong';
1529
1487
  }
1530
1488
 
1531
- export declare const subsup: MarkSpec;
1489
+ // @public (undocumented)
1490
+ export const subsup: MarkSpec;
1532
1491
 
1533
- export declare interface SubSupAttributes {
1492
+ // @public (undocumented)
1493
+ export interface SubSupAttributes {
1494
+ // (undocumented)
1534
1495
  type: 'sub' | 'sup';
1535
1496
  }
1536
1497
 
1537
- /**
1538
- * @name subsup_mark
1539
- */
1540
- export declare interface SubSupDefinition {
1541
- type: 'subsup';
1498
+ // @public
1499
+ export interface SubSupDefinition {
1500
+ // (undocumented)
1542
1501
  attrs: SubSupAttributes;
1502
+ // (undocumented)
1503
+ type: 'subsup';
1543
1504
  }
1544
1505
 
1545
- export declare const T100 = '#79E2F2';
1506
+ // @public (undocumented)
1507
+ export const T100 = '#79E2F2';
1546
1508
 
1547
- export declare const T300 = '#00B8D9';
1509
+ // @public (undocumented)
1510
+ export const T300 = '#00B8D9';
1548
1511
 
1549
- export declare const T50 = '#E6FCFF';
1512
+ // @public (undocumented)
1513
+ export const T50 = '#E6FCFF';
1550
1514
 
1551
- export declare const T500 = '#008DA6';
1515
+ // @public (undocumented)
1516
+ export const T500 = '#008DA6';
1552
1517
 
1553
- export declare const T75 = '#B3F5FF';
1518
+ // @public (undocumented)
1519
+ export const T75 = '#B3F5FF';
1554
1520
 
1555
- export declare const table: NodeSpec;
1521
+ // @public (undocumented)
1522
+ export const table: NodeSpec;
1556
1523
 
1557
- export declare interface TableAttributes {
1524
+ // @public (undocumented)
1525
+ export interface TableAttributes {
1526
+ // (undocumented)
1527
+ __autoSize?: boolean;
1528
+ // (undocumented)
1558
1529
  isNumberColumnEnabled?: boolean;
1530
+ // (undocumented)
1559
1531
  layout?: TableLayout;
1560
- __autoSize?: boolean;
1561
- /**
1562
- * @minLength 1
1563
- */
1532
+ // (undocumented)
1564
1533
  localId?: string;
1565
1534
  }
1566
1535
 
1567
- export declare const tableBackgroundBorderColor: string;
1536
+ // @public (undocumented)
1537
+ export const tableBackgroundBorderColor: string;
1568
1538
 
1569
- export declare const tableBackgroundColorNames: Map<string, string>;
1539
+ // @public (undocumented)
1540
+ export const tableBackgroundColorNames: Map<string, string>;
1570
1541
 
1571
- export declare const tableBackgroundColorPalette: Map<string, string>;
1542
+ // @public (undocumented)
1543
+ export const tableBackgroundColorPalette: Map<string, string>;
1572
1544
 
1573
- export declare const tableCell: NodeSpec;
1545
+ // @public (undocumented)
1546
+ export const tableCell: NodeSpec;
1574
1547
 
1575
- /**
1576
- * @name table_cell_content
1577
- * @minItems 1
1578
- * @allowUnsupportedBlock true
1579
- */
1580
- declare type TableCellContent = Array<
1581
- | PanelDefinition
1582
- | ParagraphDefinition
1583
- | ParagraphWithAlignmentDefinition
1548
+ // @public
1549
+ type TableCellContent = Array<
1550
+ | BlockCardDefinition
1584
1551
  | BlockQuoteDefinition
1585
- | OrderedListDefinition
1586
1552
  | BulletListDefinition
1587
- | RuleDefinition
1553
+ | CodeBlockDefinition
1554
+ | DecisionListDefinition
1555
+ | EmbedCardDefinition
1556
+ | ExtensionDefinition
1588
1557
  | HeadingDefinition
1589
1558
  | HeadingWithMarksDefinition
1590
- | CodeBlockDefinition
1591
1559
  | MediaGroupDefinition
1592
1560
  | MediaSingleDefinition
1593
- | DecisionListDefinition
1594
- | TaskListDefinition
1595
- | ExtensionDefinition
1596
- | BlockCardDefinition
1597
1561
  | NestedExpandDefinition
1598
- | EmbedCardDefinition
1562
+ | OrderedListDefinition
1563
+ | PanelDefinition
1564
+ | ParagraphDefinition
1565
+ | ParagraphWithAlignmentDefinition
1566
+ | RuleDefinition
1567
+ | TaskListDefinition
1599
1568
  >;
1600
1569
 
1601
- export declare const tableCellContentDomSelector: string;
1570
+ // @public (undocumented)
1571
+ export const tableCellContentDomSelector: string;
1602
1572
 
1603
- export declare const tableCellContentWrapperSelector: string;
1573
+ // @public (undocumented)
1574
+ export const tableCellContentWrapperSelector: string;
1604
1575
 
1605
- /**
1606
- * @name table_cell_node
1607
- */
1608
- export declare interface TableCellDefinition {
1609
- type: 'tableCell';
1576
+ // @public
1577
+ export interface TableCellDefinition {
1578
+ // (undocumented)
1610
1579
  attrs?: CellAttributes;
1580
+ // (undocumented)
1611
1581
  content: TableCellContent;
1582
+ // (undocumented)
1583
+ type: 'tableCell';
1612
1584
  }
1613
1585
 
1614
- export declare const tableCellSelector: string;
1586
+ // @public (undocumented)
1587
+ export const tableCellSelector: string;
1615
1588
 
1616
- /**
1617
- * @name table_node
1618
- */
1619
- export declare interface TableDefinition {
1620
- type: 'table';
1589
+ // @public
1590
+ export interface TableDefinition {
1591
+ // (undocumented)
1621
1592
  attrs?: TableAttributes;
1622
- /**
1623
- * @minItems 1
1624
- */
1593
+ // (undocumented)
1625
1594
  content: Array<TableRowDefinition>;
1595
+ // (undocumented)
1626
1596
  marks?: Array<FragmentDefinition>;
1597
+ // (undocumented)
1598
+ type: 'table';
1627
1599
  }
1628
1600
 
1629
- export declare const tableHeader: NodeSpec;
1601
+ // @public (undocumented)
1602
+ export const tableHeader: NodeSpec;
1630
1603
 
1631
- /**
1632
- * @name table_header_node
1633
- */
1634
- export declare interface TableHeaderDefinition {
1635
- type: 'tableHeader';
1604
+ // @public
1605
+ export interface TableHeaderDefinition {
1606
+ // (undocumented)
1636
1607
  attrs?: CellAttributes;
1608
+ // (undocumented)
1637
1609
  content: TableCellContent;
1610
+ // (undocumented)
1611
+ type: 'tableHeader';
1638
1612
  }
1639
1613
 
1640
- export declare const tableHeaderSelector: string;
1614
+ // @public (undocumented)
1615
+ export const tableHeaderSelector: string;
1641
1616
 
1642
- export declare type TableLayout = 'default' | 'full-width' | 'wide';
1617
+ // @public (undocumented)
1618
+ export type TableLayout = 'default' | 'full-width' | 'wide';
1643
1619
 
1644
- export declare const tablePrefixSelector = 'pm-table';
1620
+ // @public (undocumented)
1621
+ export const tablePrefixSelector = 'pm-table';
1645
1622
 
1646
- export declare const tableRow: NodeSpec;
1623
+ // @public (undocumented)
1624
+ export const tableRow: NodeSpec;
1647
1625
 
1648
- /**
1649
- * @name table_row_node
1650
- */
1651
- export declare interface TableRowDefinition {
1626
+ // @public
1627
+ export interface TableRowDefinition {
1628
+ // (undocumented)
1629
+ content: Array<TableCellDefinition | TableHeaderDefinition>;
1630
+ // (undocumented)
1652
1631
  type: 'tableRow';
1653
- content: Array<TableHeaderDefinition | TableCellDefinition>;
1654
1632
  }
1655
1633
 
1656
- export declare const tableToJSON: (
1657
- node: Node_2,
1658
- ) => {
1634
+ // @public (undocumented)
1635
+ export const tableToJSON: (node: Node_2) => {
1659
1636
  attrs: {
1660
1637
  [key: string]: any;
1661
1638
  };
1662
1639
  };
1663
1640
 
1664
- export declare const taskItem: NodeSpec;
1641
+ // @public (undocumented)
1642
+ export const taskItem: NodeSpec;
1665
1643
 
1666
- /**
1667
- * @name taskItem_node
1668
- */
1669
- export declare interface TaskItemDefinition {
1670
- type: 'taskItem';
1671
- /**
1672
- * @allowUnsupportedInline true
1673
- */
1674
- content?: Array<Inline>;
1644
+ // @public
1645
+ export interface TaskItemDefinition {
1646
+ // (undocumented)
1675
1647
  attrs: {
1676
1648
  localId: string;
1677
- state: 'TODO' | 'DONE';
1649
+ state: 'DONE' | 'TODO';
1678
1650
  };
1651
+ content?: Array<Inline>;
1652
+ // (undocumented)
1653
+ type: 'taskItem';
1679
1654
  }
1680
1655
 
1681
- export declare const taskList: NodeSpec;
1656
+ // @public (undocumented)
1657
+ export const taskList: NodeSpec;
1682
1658
 
1683
- export declare interface TaskListContent
1659
+ // @public (undocumented)
1660
+ export interface TaskListContent
1684
1661
  extends Array<TaskItemDefinition | TaskListDefinition> {
1662
+ // (undocumented)
1685
1663
  0: TaskItemDefinition;
1686
1664
  }
1687
1665
 
1688
- /**
1689
- * @name taskList_node
1690
- */
1691
- export declare interface TaskListDefinition {
1692
- type: 'taskList';
1693
- /**
1694
- * @minItems 1
1695
- * @allowUnsupportedBlock true
1696
- */
1697
- content: TaskListContent;
1666
+ // @public
1667
+ export interface TaskListDefinition {
1668
+ // (undocumented)
1698
1669
  attrs: {
1699
1670
  localId: string;
1700
1671
  };
1672
+ content: TaskListContent;
1673
+ // (undocumented)
1674
+ type: 'taskList';
1701
1675
  }
1702
1676
 
1703
- export declare const taskListSelector: string;
1677
+ // @public (undocumented)
1678
+ export const taskListSelector: string;
1704
1679
 
1705
- export declare const text: NodeSpec & {
1680
+ // @public (undocumented)
1681
+ export const text: NodeSpec & {
1706
1682
  toDebugString?: () => string;
1707
1683
  };
1708
1684
 
1709
- export declare const textColor: MarkSpec;
1685
+ // @public (undocumented)
1686
+ export const textColor: MarkSpec;
1710
1687
 
1711
- export declare interface TextColorAttributes {
1712
- /**
1713
- * @pattern "^#[0-9a-fA-F]{6}$"
1714
- */
1688
+ // @public (undocumented)
1689
+ export interface TextColorAttributes {
1715
1690
  color: string;
1716
1691
  }
1717
1692
 
1718
- /**
1719
- * @name textColor_mark
1720
- */
1721
- export declare interface TextColorDefinition {
1722
- type: 'textColor';
1693
+ // @public
1694
+ export interface TextColorDefinition {
1695
+ // (undocumented)
1723
1696
  attrs: TextColorAttributes;
1697
+ // (undocumented)
1698
+ type: 'textColor';
1724
1699
  }
1725
1700
 
1726
- declare type TextColorKey =
1727
- | 'Light gray'
1728
- | 'Purple'
1729
- | 'Teal'
1730
- | 'Green'
1731
- | 'Red'
1732
- | 'Orange'
1733
- | 'Dark gray'
1701
+ // @public (undocumented)
1702
+ type TextColorKey =
1734
1703
  | 'Blue'
1735
- | 'Yellow'
1736
1704
  | 'Dark blue'
1737
- | 'Dark teal'
1705
+ | 'Dark gray'
1738
1706
  | 'Dark green'
1739
- | 'Dark red'
1740
1707
  | 'Dark purple'
1741
- | 'White'
1708
+ | 'Dark red'
1709
+ | 'Dark teal'
1710
+ | 'Green'
1742
1711
  | 'Light blue'
1743
- | 'Light teal'
1712
+ | 'Light gray'
1744
1713
  | 'Light green'
1745
- | 'Light yellow'
1714
+ | 'Light purple'
1746
1715
  | 'Light red'
1747
- | 'Light purple';
1716
+ | 'Light teal'
1717
+ | 'Light yellow'
1718
+ | 'Orange'
1719
+ | 'Purple'
1720
+ | 'Red'
1721
+ | 'Teal'
1722
+ | 'White'
1723
+ | 'Yellow';
1748
1724
 
1749
- /**
1750
- * @name text_node
1751
- */
1752
- export declare interface TextDefinition {
1753
- type: 'text';
1754
- /**
1755
- * @minLength 1
1756
- */
1757
- text: string;
1725
+ // @public
1726
+ export interface TextDefinition {
1727
+ // (undocumented)
1758
1728
  marks?: Array<any>;
1729
+ // (undocumented)
1730
+ text: string;
1731
+ // (undocumented)
1732
+ type: 'text';
1759
1733
  }
1760
1734
 
1761
- export declare const toJSONTableCell: (
1762
- node: Node_2,
1763
- ) => {
1735
+ // @public (undocumented)
1736
+ export const toJSONTableCell: (node: Node_2) => {
1764
1737
  attrs: Record<string, any>;
1765
1738
  };
1766
1739
 
1767
- export declare const toJSONTableHeader: (
1768
- node: Node_2,
1769
- ) => {
1740
+ // @public (undocumented)
1741
+ export const toJSONTableHeader: (node: Node_2) => {
1770
1742
  attrs: Record<string, any>;
1771
1743
  };
1772
1744
 
1773
- export declare const typeAheadQuery: MarkSpec;
1745
+ // @public (undocumented)
1746
+ export const typeAheadQuery: MarkSpec;
1774
1747
 
1775
- export declare const underline: MarkSpec;
1748
+ // @public (undocumented)
1749
+ export const underline: MarkSpec;
1776
1750
 
1777
- /**
1778
- * @name underline_mark
1779
- */
1780
- export declare interface UnderlineDefinition {
1751
+ // @public
1752
+ export interface UnderlineDefinition {
1753
+ // (undocumented)
1781
1754
  type: 'underline';
1782
1755
  }
1783
1756
 
1784
- export declare const unknownBlock: NodeSpec;
1757
+ // @public (undocumented)
1758
+ export const unknownBlock: NodeSpec;
1785
1759
 
1786
- export declare const unsupportedBlock: NodeSpec;
1760
+ // @public (undocumented)
1761
+ export const unsupportedBlock: NodeSpec;
1787
1762
 
1788
- export declare const unsupportedInline: NodeSpec;
1763
+ // @public (undocumented)
1764
+ export const unsupportedInline: NodeSpec;
1789
1765
 
1790
- export declare const unsupportedMark: MarkSpec;
1766
+ // @public (undocumented)
1767
+ export const unsupportedMark: MarkSpec;
1791
1768
 
1792
- export declare const unsupportedNodeAttribute: MarkSpec;
1769
+ // @public (undocumented)
1770
+ export const unsupportedNodeAttribute: MarkSpec;
1793
1771
 
1794
- export declare const unsupportedNodeTypesForMediaCards: Set<string>;
1772
+ // @public (undocumented)
1773
+ export const unsupportedNodeTypesForMediaCards: Set<string>;
1795
1774
 
1796
- export declare interface UrlType {
1797
- /**
1798
- * @validatorFn safeUrl
1799
- */
1775
+ // @public (undocumented)
1776
+ export interface UrlType {
1800
1777
  url: string;
1801
1778
  }
1802
1779
 
1803
- declare enum USER_TYPES {
1780
+ // @public (undocumented)
1781
+ enum USER_TYPES {
1782
+ // (undocumented)
1783
+ APP = 'APP',
1784
+ // (undocumented)
1804
1785
  DEFAULT = 'DEFAULT',
1786
+ // (undocumented)
1805
1787
  SPECIAL = 'SPECIAL',
1806
- APP = 'APP',
1807
1788
  }
1808
1789
 
1809
- export declare const uuid: {
1810
- setStatic(value: string | false): void;
1790
+ // @public (undocumented)
1791
+ export const uuid: {
1792
+ setStatic(value: false | string): void;
1811
1793
  generate(): string;
1812
1794
  };
1813
1795
 
1814
- export declare const Y200 = '#FFC400';
1796
+ // @public (undocumented)
1797
+ export const Y200 = '#FFC400';
1815
1798
 
1816
- export declare const Y400 = '#FF991F';
1799
+ // @public (undocumented)
1800
+ export const Y400 = '#FF991F';
1817
1801
 
1818
- export declare const Y50 = '#FFFAE6';
1802
+ // @public (undocumented)
1803
+ export const Y50 = '#FFFAE6';
1819
1804
 
1820
- export declare const Y500 = '#FF8B00';
1805
+ // @public (undocumented)
1806
+ export const Y500 = '#FF8B00';
1821
1807
 
1822
- export declare const Y75 = '#FFF0B3';
1808
+ // @public (undocumented)
1809
+ export const Y75 = '#FFF0B3';
1823
1810
 
1824
- export {};
1811
+ // (No @packageDocumentation comment for this package)
1825
1812
  ```
1813
+
1814
+ <!--SECTION END: Main Entry Types-->