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