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