@atlaskit/adf-schema 52.6.6 → 52.7.1

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 (52) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cjs/index.js +0 -12
  3. package/dist/cjs/next-schema/generated/nodeTypes.js +2 -24
  4. package/dist/cjs/next-schema/nodes/list.js +3 -7
  5. package/dist/cjs/next-schema/nodes/task.js +2 -7
  6. package/dist/cjs/schema/default-schema.js +0 -2
  7. package/dist/cjs/schema/index.js +0 -12
  8. package/dist/cjs/schema/nodes/index.js +0 -12
  9. package/dist/cjs/schema/nodes/list-item.js +1 -24
  10. package/dist/cjs/schema/nodes/task-list.js +3 -13
  11. package/dist/cjs/validator-schema/generated/validatorSpec.js +5 -27
  12. package/dist/es2019/index.js +1 -1
  13. package/dist/es2019/next-schema/generated/nodeTypes.js +1 -23
  14. package/dist/es2019/next-schema/nodes/list.js +5 -9
  15. package/dist/es2019/next-schema/nodes/task.js +1 -6
  16. package/dist/es2019/schema/default-schema.js +1 -3
  17. package/dist/es2019/schema/index.js +1 -1
  18. package/dist/es2019/schema/nodes/index.js +2 -2
  19. package/dist/es2019/schema/nodes/list-item.js +1 -22
  20. package/dist/es2019/schema/nodes/task-list.js +3 -10
  21. package/dist/es2019/validator-schema/generated/validatorSpec.js +4 -26
  22. package/dist/esm/index.js +1 -1
  23. package/dist/esm/next-schema/generated/nodeTypes.js +1 -23
  24. package/dist/esm/next-schema/nodes/list.js +5 -9
  25. package/dist/esm/next-schema/nodes/task.js +1 -6
  26. package/dist/esm/schema/default-schema.js +1 -3
  27. package/dist/esm/schema/index.js +1 -1
  28. package/dist/esm/schema/nodes/index.js +2 -2
  29. package/dist/esm/schema/nodes/list-item.js +1 -24
  30. package/dist/esm/schema/nodes/task-list.js +3 -12
  31. package/dist/esm/validator-schema/generated/validatorSpec.js +4 -26
  32. package/dist/json-schema/v1/full.json +41 -74
  33. package/dist/json-schema/v1/stage-0.json +15 -153
  34. package/dist/types/index.d.ts +1 -1
  35. package/dist/types/next-schema/generated/nodeTypes.d.ts +4 -24
  36. package/dist/types/next-schema/nodes/task.d.ts +1 -9
  37. package/dist/types/schema/index.d.ts +1 -1
  38. package/dist/types/schema/nodes/index.d.ts +2 -2
  39. package/dist/types/schema/nodes/list-item.d.ts +0 -7
  40. package/dist/types/schema/nodes/task-list.d.ts +2 -4
  41. package/dist/types/validator-schema/generated/validatorSpec.d.ts +2 -24
  42. package/dist/types-ts4.5/index.d.ts +1 -1
  43. package/dist/types-ts4.5/next-schema/generated/nodeTypes.d.ts +4 -24
  44. package/dist/types-ts4.5/next-schema/nodes/task.d.ts +1 -9
  45. package/dist/types-ts4.5/schema/index.d.ts +1 -1
  46. package/dist/types-ts4.5/schema/nodes/index.d.ts +2 -2
  47. package/dist/types-ts4.5/schema/nodes/list-item.d.ts +0 -7
  48. package/dist/types-ts4.5/schema/nodes/task-list.d.ts +2 -4
  49. package/dist/types-ts4.5/validator-schema/generated/validatorSpec.d.ts +2 -24
  50. package/json-schema/v1/full.json +41 -74
  51. package/json-schema/v1/stage-0.json +15 -153
  52. package/package.json +2 -2
@@ -606,14 +606,7 @@
606
606
  "content": {
607
607
  "type": "array",
608
608
  "items": {
609
- "anyOf": [
610
- {
611
- "$ref": "#/definitions/listItem_node"
612
- },
613
- {
614
- "$ref": "#/definitions/listItem_with_flexible_first_child_node"
615
- }
616
- ]
609
+ "$ref": "#/definitions/listItem_node"
617
610
  },
618
611
  "minItems": 1
619
612
  }
@@ -1863,84 +1856,6 @@
1863
1856
  "additionalProperties": false
1864
1857
  },
1865
1858
  "listItem_node": {
1866
- "type": "object",
1867
- "properties": {
1868
- "type": {
1869
- "enum": ["listItem"]
1870
- },
1871
- "attrs": {
1872
- "type": "object",
1873
- "properties": {
1874
- "localId": {
1875
- "type": "string"
1876
- }
1877
- },
1878
- "additionalProperties": false
1879
- },
1880
- "content": {
1881
- "type": "array",
1882
- "items": [
1883
- {
1884
- "anyOf": [
1885
- {
1886
- "$ref": "#/definitions/paragraph_with_font_size_node"
1887
- },
1888
- {
1889
- "$ref": "#/definitions/paragraph_with_no_marks_node"
1890
- },
1891
- {
1892
- "$ref": "#/definitions/mediaSingle_caption_node"
1893
- },
1894
- {
1895
- "$ref": "#/definitions/mediaSingle_full_node"
1896
- },
1897
- {
1898
- "$ref": "#/definitions/codeBlock_node"
1899
- },
1900
- {
1901
- "$ref": "#/definitions/extension_with_marks_node"
1902
- }
1903
- ]
1904
- },
1905
- {
1906
- "anyOf": [
1907
- {
1908
- "$ref": "#/definitions/paragraph_with_font_size_node"
1909
- },
1910
- {
1911
- "$ref": "#/definitions/paragraph_with_no_marks_node"
1912
- },
1913
- {
1914
- "$ref": "#/definitions/bulletList_node"
1915
- },
1916
- {
1917
- "$ref": "#/definitions/orderedList_node"
1918
- },
1919
- {
1920
- "$ref": "#/definitions/taskList_node"
1921
- },
1922
- {
1923
- "$ref": "#/definitions/mediaSingle_caption_node"
1924
- },
1925
- {
1926
- "$ref": "#/definitions/mediaSingle_full_node"
1927
- },
1928
- {
1929
- "$ref": "#/definitions/codeBlock_node"
1930
- },
1931
- {
1932
- "$ref": "#/definitions/extension_with_marks_node"
1933
- }
1934
- ]
1935
- }
1936
- ],
1937
- "minItems": 1
1938
- }
1939
- },
1940
- "additionalProperties": false,
1941
- "required": ["type", "content"]
1942
- },
1943
- "listItem_with_flexible_first_child_node": {
1944
1859
  "type": "object",
1945
1860
  "properties": {
1946
1861
  "type": {
@@ -1974,9 +1889,6 @@
1974
1889
  {
1975
1890
  "$ref": "#/definitions/taskList_node"
1976
1891
  },
1977
- {
1978
- "$ref": "#/definitions/taskList_with_flexible_first_child_node"
1979
- },
1980
1892
  {
1981
1893
  "$ref": "#/definitions/mediaSingle_caption_node"
1982
1894
  },
@@ -2553,14 +2465,7 @@
2553
2465
  "content": {
2554
2466
  "type": "array",
2555
2467
  "items": {
2556
- "anyOf": [
2557
- {
2558
- "$ref": "#/definitions/listItem_node"
2559
- },
2560
- {
2561
- "$ref": "#/definitions/listItem_with_flexible_first_child_node"
2562
- }
2563
- ]
2468
+ "$ref": "#/definitions/listItem_node"
2564
2469
  },
2565
2470
  "minItems": 1
2566
2471
  }
@@ -3238,68 +3143,25 @@
3238
3143
  },
3239
3144
  "content": {
3240
3145
  "type": "array",
3241
- "items": [
3242
- {
3243
- "anyOf": [
3244
- {
3245
- "$ref": "#/definitions/taskItem_node"
3246
- },
3247
- {
3248
- "$ref": "#/definitions/blockTaskItem_node"
3249
- }
3250
- ]
3251
- },
3252
- {
3253
- "anyOf": [
3254
- {
3255
- "$ref": "#/definitions/taskItem_node"
3256
- },
3257
- {
3258
- "$ref": "#/definitions/taskList_node"
3259
- },
3260
- {
3261
- "$ref": "#/definitions/blockTaskItem_node"
3262
- }
3263
- ]
3264
- }
3265
- ],
3146
+ "items": {
3147
+ "anyOf": [
3148
+ {
3149
+ "$ref": "#/definitions/taskItem_node"
3150
+ },
3151
+ {
3152
+ "$ref": "#/definitions/taskList_node"
3153
+ },
3154
+ {
3155
+ "$ref": "#/definitions/blockTaskItem_node"
3156
+ }
3157
+ ]
3158
+ },
3266
3159
  "minItems": 1
3267
3160
  }
3268
3161
  },
3269
3162
  "additionalProperties": false,
3270
3163
  "required": ["type", "attrs", "content"]
3271
3164
  },
3272
- "taskList_with_flexible_first_child_node": {
3273
- "allOf": [
3274
- {
3275
- "$ref": "#/definitions/taskList_node"
3276
- },
3277
- {
3278
- "type": "object",
3279
- "properties": {
3280
- "content": {
3281
- "type": "array",
3282
- "items": {
3283
- "anyOf": [
3284
- {
3285
- "$ref": "#/definitions/taskItem_node"
3286
- },
3287
- {
3288
- "$ref": "#/definitions/taskList_node"
3289
- },
3290
- {
3291
- "$ref": "#/definitions/blockTaskItem_node"
3292
- }
3293
- ]
3294
- },
3295
- "minItems": 1
3296
- }
3297
- },
3298
- "required": ["content"],
3299
- "additionalProperties": true
3300
- }
3301
- ]
3302
- },
3303
3165
  "text_node": {
3304
3166
  "type": "object",
3305
3167
  "properties": {
@@ -1,6 +1,6 @@
1
1
  export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, fontSize, breakout, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, code, codeBlock, codeBlockWithLocalId, codeBlockToJSON, colorPalette,
2
2
  /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
3
- colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineCardWithLocalId, inlineExtension, inlineNodes, layoutColumn, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, link, linkToJSON, listItem, listItemWithFlexibleFirstChildStage0, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, taskListWithFlexibleFirstChildStage0, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './schema';
3
+ colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineCardWithLocalId, inlineExtension, inlineNodes, layoutColumn, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, link, linkToJSON, listItem, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './schema';
4
4
  export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, CodeDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataConsumerAttributes, DataConsumerDefinition, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmDefinition, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, FontSizeMarkAttrs, FontSizeMarkDefinition, FragmentAttributes, FragmentDefinition, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, IndentationMarkAttributes, IndentationMarkDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, LinkAttributes, LinkDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StrikeDefinition, StrongDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, SubSupAttributes, SubSupDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextColorAttributes, TextColorDefinition, TextDefinition, UnderlineDefinition, UrlType, AnnotationId, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, AnnotationDataAttributes, CellDomAttrs, BorderMarkAttributes, BorderMarkDefinition, MultiBodiedExtensionDefinition, ExtensionFrameDefinition, BackgroundColorDefinition, } from './schema';
5
5
  export { B100, B400, B50, B500, B75, G200, G300, G400, G50, G500, G75, N0, N20, N200, N30, N300, N40, N50, N500, N60, N80, N800, N90, P100, P300, P400, P50, P500, P75, R100, R300, R400, R50, R500, R75, T100, T300, T50, T500, T75, Y200, Y400, Y50, Y500, Y75, acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, generateUuid, getEmojiAcName, getLinkMatch, hexToRgb, hexToRgba, isHex, isRgb, isSafeUrl, linkify, linkifyMatch, normalizeHexColor, normalizeUrl, rgbToHex, uuid, getDarkModeLCHColor, } from './utils';
6
6
  export type { Match, NameToEmoji } from './utils';
@@ -101,7 +101,7 @@ export type BodiedSyncBlockNode = PMNode & BodiedSyncBlockDefinition;
101
101
  export declare const bodiedSyncBlock: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<BodiedSyncBlockNode>) => import("prosemirror-model").NodeSpec;
102
102
  export interface BulletListDefinition {
103
103
  type: 'bulletList';
104
- content: Array<ListItemDefinition | ListItemWithFlexibleFirstChildStage0Definition>;
104
+ content: Array<ListItemDefinition>;
105
105
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
106
106
  attrs: {
107
107
  localId?: string;
@@ -473,7 +473,7 @@ export type LayoutSectionWithSingleColumnStage0Node = PMNode & LayoutSectionWith
473
473
  export declare const layoutSectionWithSingleColumnStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<LayoutSectionWithSingleColumnStage0Node>) => import("prosemirror-model").NodeSpec;
474
474
  export interface ListItemDefinition {
475
475
  type: 'listItem';
476
- content: Array<BulletListDefinition | CodeBlockDefinition | CodeBlockDefinition | ExtensionWithMarksDefinition | ExtensionWithMarksDefinition | MediaSingleCaptionDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeStage0Definition | ParagraphWithFontSizeStage0Definition | ParagraphWithNoMarksDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | UnsupportedBlockDefinition | UnsupportedBlockDefinition>;
476
+ content: Array<BulletListDefinition | CodeBlockDefinition | ExtensionWithMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeStage0Definition | ParagraphWithNoMarksDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
477
477
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
478
478
  attrs: {
479
479
  localId?: string;
@@ -481,16 +481,6 @@ export interface ListItemDefinition {
481
481
  }
482
482
  export type ListItemNode = PMNode & ListItemDefinition;
483
483
  export declare const listItem: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ListItemNode>) => import("prosemirror-model").NodeSpec;
484
- export interface ListItemWithFlexibleFirstChildStage0Definition {
485
- type: 'listItem';
486
- content: Array<BulletListDefinition | CodeBlockDefinition | ExtensionWithMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeStage0Definition | ParagraphWithNoMarksDefinition | TaskListDefinition | TaskListWithFlexibleFirstChildStage0Definition | UnsupportedBlockDefinition>;
487
- marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
488
- attrs: {
489
- localId?: string;
490
- };
491
- }
492
- export type ListItemWithFlexibleFirstChildStage0Node = PMNode & ListItemWithFlexibleFirstChildStage0Definition;
493
- export declare const listItemWithFlexibleFirstChildStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ListItemWithFlexibleFirstChildStage0Node>) => import("prosemirror-model").NodeSpec;
494
484
  export interface MediaNodeAttributes0 {
495
485
  type: 'link' | 'file';
496
486
  localId?: string;
@@ -697,7 +687,7 @@ export type NestedExpandWithNoMarksNode = PMNode & NestedExpandWithNoMarksDefini
697
687
  export declare const nestedExpandWithNoMarks: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<NestedExpandWithNoMarksNode>) => import("prosemirror-model").NodeSpec;
698
688
  export interface OrderedListDefinition {
699
689
  type: 'orderedList';
700
- content: Array<ListItemDefinition | ListItemWithFlexibleFirstChildStage0Definition>;
690
+ content: Array<ListItemDefinition>;
701
691
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
702
692
  attrs: {
703
693
  order?: number;
@@ -955,7 +945,7 @@ export type TaskItemNode = PMNode & TaskItemDefinition;
955
945
  export declare const taskItem: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TaskItemNode>) => import("prosemirror-model").NodeSpec;
956
946
  export interface TaskListDefinition {
957
947
  type: 'taskList';
958
- content: Array<BlockTaskItemDefinition | BlockTaskItemDefinition | TaskItemDefinition | TaskItemDefinition | TaskListDefinition | UnsupportedBlockDefinition | UnsupportedBlockDefinition>;
948
+ content: Array<BlockTaskItemDefinition | TaskItemDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
959
949
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
960
950
  attrs: {
961
951
  localId: string;
@@ -963,16 +953,6 @@ export interface TaskListDefinition {
963
953
  }
964
954
  export type TaskListNode = PMNode & TaskListDefinition;
965
955
  export declare const taskList: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TaskListNode>) => import("prosemirror-model").NodeSpec;
966
- export interface TaskListWithFlexibleFirstChildStage0Definition {
967
- type: 'taskList';
968
- content: Array<BlockTaskItemDefinition | TaskItemDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
969
- marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
970
- attrs: {
971
- localId: string;
972
- };
973
- }
974
- export type TaskListWithFlexibleFirstChildStage0Node = PMNode & TaskListWithFlexibleFirstChildStage0Definition;
975
- export declare const taskListWithFlexibleFirstChildStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TaskListWithFlexibleFirstChildStage0Node>) => import("prosemirror-model").NodeSpec;
976
956
  export interface TextDefinition {
977
957
  type: 'text';
978
958
  }
@@ -1,12 +1,4 @@
1
- import type { ADFCommonNodeSpec, ADFNode, ADFNodeContentOneOrMoreSpec } from '@atlaskit/adf-schema-generator';
1
+ import type { ADFCommonNodeSpec, ADFNode } from '@atlaskit/adf-schema-generator';
2
2
  export declare const taskItem: ADFNode<[string], ADFCommonNodeSpec>;
3
3
  export declare const taskList: ADFNode<[string], ADFCommonNodeSpec>;
4
4
  export declare const blockTaskItem: ADFNode<[string], ADFCommonNodeSpec>;
5
- export declare const taskListWithFlexibleFirstChild: ADFNode<[
6
- string,
7
- 'with_flexible_first_child'
8
- ], ADFCommonNodeSpec & {
9
- contentMinItems: number;
10
- content: ADFNodeContentOneOrMoreSpec[];
11
- stage0: true;
12
- }>;
@@ -1,4 +1,4 @@
1
- export { PanelType, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, codeBlock, codeBlockWithLocalId, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineCardWithLocalId, inlineExtension, layoutColumn, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, listItem, listItemWithFlexibleFirstChildStage0, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, getCellAttrs, getCellDomAttrs, status, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, taskListWithFlexibleFirstChildStage0, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, extensionFrame, multiBodiedExtension, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './nodes';
1
+ export { PanelType, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, codeBlock, codeBlockWithLocalId, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineCardWithLocalId, inlineExtension, layoutColumn, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, listItem, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, getCellAttrs, getCellDomAttrs, status, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, extensionFrame, multiBodiedExtension, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './nodes';
2
2
  export type { BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionBaseDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableWithNestedTableDefinition, TableRowWithNestedTableDefinition, TableCellWithNestedTableDefinition, TableHeaderWithNestedTableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextDefinition, UrlType, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, CellDomAttrs, ExtensionFrameDefinition, MultiBodiedExtensionDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, } from './nodes';
3
3
  export { AnnotationTypes, alignment, alignmentPositionMap, annotation, fontSize, breakout, code, colorPalette,
4
4
  /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
@@ -26,7 +26,7 @@ export type { EmojiAttributes, EmojiDefinition } from './emoji';
26
26
  export { image } from './image';
27
27
  export { mention, toJSON as mentionToJSON } from './mention';
28
28
  export type { MentionAttributes, UserType as MentionUserType, MentionDefinition } from './mention';
29
- export { listItem, listItemWithFlexibleFirstChildStage0, listItemWithLocalId } from './list-item';
29
+ export { listItem, listItemWithLocalId } from './list-item';
30
30
  export type { ListItemArray, ListItemDefinition } from './types/list';
31
31
  export { extendedPanel, extendedPanelWithLocalId, PanelType } from './panel';
32
32
  export type { PanelAttributes, PanelDefinition } from './panel';
@@ -49,7 +49,7 @@ export { decisionList, decisionListSelector } from './decision-list';
49
49
  export type { DecisionListDefinition } from './decision-list';
50
50
  export { decisionItem } from './decision-item';
51
51
  export type { DecisionItemDefinition } from './decision-item';
52
- export { taskList, taskListSelector, taskListWithFlexibleFirstChildStage0 } from './task-list';
52
+ export { taskList, taskListSelector } from './task-list';
53
53
  export type { TaskListDefinition, TaskListContent } from './task-list';
54
54
  export { taskItem, blockTaskItem } from './task-item';
55
55
  export type { TaskItemDefinition, BlockTaskItemDefinition } from './task-item';
@@ -1,16 +1,9 @@
1
1
  import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @name list_item
4
- * @description this node allows task-list to be nested inside list-item
5
4
  */
6
5
  export declare const listItem: NodeSpec;
7
6
  /**
8
7
  * @name list_item_with_local_id
9
- * @description this node allows list items to have a localId attribute
10
8
  */
11
9
  export declare const listItemWithLocalId: NodeSpec;
12
- /**
13
- * @name list_item_with_flexible_first_child_stage0
14
- * @description stage0 listItem with flexible first child (see EDITOR-5417)
15
- */
16
- export declare const listItemWithFlexibleFirstChildStage0: NodeSpec;
@@ -20,9 +20,7 @@ export interface TaskListDefinition {
20
20
  type: 'taskList';
21
21
  }
22
22
  export declare const taskListSelector: '[data-node-type="actionList"]';
23
- export declare const taskList: NodeSpec;
24
23
  /**
25
- * @name task_list_with_flexible_first_child_stage0
26
- * @description stage0 taskList with flexible first child content (see EDITOR-5417)
24
+ * @name taskList
27
25
  */
28
- export declare const taskListWithFlexibleFirstChildStage0: NodeSpec;
26
+ export declare const taskList: NodeSpec;
@@ -331,7 +331,7 @@ export declare const bulletList: {
331
331
  };
332
332
  content: {
333
333
  type: string;
334
- items: string[][];
334
+ items: string[];
335
335
  minItems: number;
336
336
  };
337
337
  };
@@ -1084,23 +1084,12 @@ export declare const listItem: {
1084
1084
  };
1085
1085
  content: {
1086
1086
  type: string;
1087
- isTupleLike: boolean;
1088
1087
  items: string[][];
1089
1088
  minItems: number;
1090
1089
  allowUnsupportedBlock: boolean;
1091
1090
  };
1092
1091
  };
1093
1092
  };
1094
- export declare const listItem_with_flexible_first_child: (string | {
1095
- props: {
1096
- content: {
1097
- type: string;
1098
- items: string[][];
1099
- minItems: number;
1100
- allowUnsupportedBlock: boolean;
1101
- };
1102
- };
1103
- })[];
1104
1093
  export declare const media: {
1105
1094
  props: {
1106
1095
  type: {
@@ -1490,7 +1479,7 @@ export declare const orderedList: {
1490
1479
  };
1491
1480
  content: {
1492
1481
  type: string;
1493
- items: string[][];
1482
+ items: string[];
1494
1483
  minItems: number;
1495
1484
  };
1496
1485
  };
@@ -1936,23 +1925,12 @@ export declare const taskList: {
1936
1925
  };
1937
1926
  content: {
1938
1927
  type: string;
1939
- isTupleLike: boolean;
1940
1928
  items: string[][];
1941
1929
  minItems: number;
1942
1930
  allowUnsupportedBlock: boolean;
1943
1931
  };
1944
1932
  };
1945
1933
  };
1946
- export declare const taskList_with_flexible_first_child: (string | {
1947
- props: {
1948
- content: {
1949
- type: string;
1950
- items: string[][];
1951
- minItems: number;
1952
- allowUnsupportedBlock: boolean;
1953
- };
1954
- };
1955
- })[];
1956
1934
  export declare const text: {
1957
1935
  props: {
1958
1936
  type: {
@@ -1,6 +1,6 @@
1
1
  export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, fontSize, breakout, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, code, codeBlock, codeBlockWithLocalId, codeBlockToJSON, colorPalette,
2
2
  /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
3
- colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineCardWithLocalId, inlineExtension, inlineNodes, layoutColumn, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, link, linkToJSON, listItem, listItemWithFlexibleFirstChildStage0, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, taskListWithFlexibleFirstChildStage0, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './schema';
3
+ colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineCardWithLocalId, inlineExtension, inlineNodes, layoutColumn, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, link, linkToJSON, listItem, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './schema';
4
4
  export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, CodeDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataConsumerAttributes, DataConsumerDefinition, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmDefinition, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, FontSizeMarkAttrs, FontSizeMarkDefinition, FragmentAttributes, FragmentDefinition, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, IndentationMarkAttributes, IndentationMarkDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, LinkAttributes, LinkDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StrikeDefinition, StrongDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, SubSupAttributes, SubSupDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextColorAttributes, TextColorDefinition, TextDefinition, UnderlineDefinition, UrlType, AnnotationId, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, AnnotationDataAttributes, CellDomAttrs, BorderMarkAttributes, BorderMarkDefinition, MultiBodiedExtensionDefinition, ExtensionFrameDefinition, BackgroundColorDefinition, } from './schema';
5
5
  export { B100, B400, B50, B500, B75, G200, G300, G400, G50, G500, G75, N0, N20, N200, N30, N300, N40, N50, N500, N60, N80, N800, N90, P100, P300, P400, P50, P500, P75, R100, R300, R400, R50, R500, R75, T100, T300, T50, T500, T75, Y200, Y400, Y50, Y500, Y75, acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, generateUuid, getEmojiAcName, getLinkMatch, hexToRgb, hexToRgba, isHex, isRgb, isSafeUrl, linkify, linkifyMatch, normalizeHexColor, normalizeUrl, rgbToHex, uuid, getDarkModeLCHColor, } from './utils';
6
6
  export type { Match, NameToEmoji } from './utils';
@@ -101,7 +101,7 @@ export type BodiedSyncBlockNode = PMNode & BodiedSyncBlockDefinition;
101
101
  export declare const bodiedSyncBlock: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<BodiedSyncBlockNode>) => import("prosemirror-model").NodeSpec;
102
102
  export interface BulletListDefinition {
103
103
  type: 'bulletList';
104
- content: Array<ListItemDefinition | ListItemWithFlexibleFirstChildStage0Definition>;
104
+ content: Array<ListItemDefinition>;
105
105
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
106
106
  attrs: {
107
107
  localId?: string;
@@ -473,7 +473,7 @@ export type LayoutSectionWithSingleColumnStage0Node = PMNode & LayoutSectionWith
473
473
  export declare const layoutSectionWithSingleColumnStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<LayoutSectionWithSingleColumnStage0Node>) => import("prosemirror-model").NodeSpec;
474
474
  export interface ListItemDefinition {
475
475
  type: 'listItem';
476
- content: Array<BulletListDefinition | CodeBlockDefinition | CodeBlockDefinition | ExtensionWithMarksDefinition | ExtensionWithMarksDefinition | MediaSingleCaptionDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeStage0Definition | ParagraphWithFontSizeStage0Definition | ParagraphWithNoMarksDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | UnsupportedBlockDefinition | UnsupportedBlockDefinition>;
476
+ content: Array<BulletListDefinition | CodeBlockDefinition | ExtensionWithMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeStage0Definition | ParagraphWithNoMarksDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
477
477
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
478
478
  attrs: {
479
479
  localId?: string;
@@ -481,16 +481,6 @@ export interface ListItemDefinition {
481
481
  }
482
482
  export type ListItemNode = PMNode & ListItemDefinition;
483
483
  export declare const listItem: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ListItemNode>) => import("prosemirror-model").NodeSpec;
484
- export interface ListItemWithFlexibleFirstChildStage0Definition {
485
- type: 'listItem';
486
- content: Array<BulletListDefinition | CodeBlockDefinition | ExtensionWithMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeStage0Definition | ParagraphWithNoMarksDefinition | TaskListDefinition | TaskListWithFlexibleFirstChildStage0Definition | UnsupportedBlockDefinition>;
487
- marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
488
- attrs: {
489
- localId?: string;
490
- };
491
- }
492
- export type ListItemWithFlexibleFirstChildStage0Node = PMNode & ListItemWithFlexibleFirstChildStage0Definition;
493
- export declare const listItemWithFlexibleFirstChildStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ListItemWithFlexibleFirstChildStage0Node>) => import("prosemirror-model").NodeSpec;
494
484
  export interface MediaNodeAttributes0 {
495
485
  type: 'link' | 'file';
496
486
  localId?: string;
@@ -697,7 +687,7 @@ export type NestedExpandWithNoMarksNode = PMNode & NestedExpandWithNoMarksDefini
697
687
  export declare const nestedExpandWithNoMarks: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<NestedExpandWithNoMarksNode>) => import("prosemirror-model").NodeSpec;
698
688
  export interface OrderedListDefinition {
699
689
  type: 'orderedList';
700
- content: Array<ListItemDefinition | ListItemWithFlexibleFirstChildStage0Definition>;
690
+ content: Array<ListItemDefinition>;
701
691
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
702
692
  attrs: {
703
693
  order?: number;
@@ -955,7 +945,7 @@ export type TaskItemNode = PMNode & TaskItemDefinition;
955
945
  export declare const taskItem: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TaskItemNode>) => import("prosemirror-model").NodeSpec;
956
946
  export interface TaskListDefinition {
957
947
  type: 'taskList';
958
- content: Array<BlockTaskItemDefinition | BlockTaskItemDefinition | TaskItemDefinition | TaskItemDefinition | TaskListDefinition | UnsupportedBlockDefinition | UnsupportedBlockDefinition>;
948
+ content: Array<BlockTaskItemDefinition | TaskItemDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
959
949
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
960
950
  attrs: {
961
951
  localId: string;
@@ -963,16 +953,6 @@ export interface TaskListDefinition {
963
953
  }
964
954
  export type TaskListNode = PMNode & TaskListDefinition;
965
955
  export declare const taskList: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TaskListNode>) => import("prosemirror-model").NodeSpec;
966
- export interface TaskListWithFlexibleFirstChildStage0Definition {
967
- type: 'taskList';
968
- content: Array<BlockTaskItemDefinition | TaskItemDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
969
- marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
970
- attrs: {
971
- localId: string;
972
- };
973
- }
974
- export type TaskListWithFlexibleFirstChildStage0Node = PMNode & TaskListWithFlexibleFirstChildStage0Definition;
975
- export declare const taskListWithFlexibleFirstChildStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TaskListWithFlexibleFirstChildStage0Node>) => import("prosemirror-model").NodeSpec;
976
956
  export interface TextDefinition {
977
957
  type: 'text';
978
958
  }
@@ -1,4 +1,4 @@
1
- import type { ADFCommonNodeSpec, ADFNode, ADFNodeContentOneOrMoreSpec } from '@atlaskit/adf-schema-generator';
1
+ import type { ADFCommonNodeSpec, ADFNode } from '@atlaskit/adf-schema-generator';
2
2
  export declare const taskItem: ADFNode<[
3
3
  string
4
4
  ], ADFCommonNodeSpec>;
@@ -8,11 +8,3 @@ export declare const taskList: ADFNode<[
8
8
  export declare const blockTaskItem: ADFNode<[
9
9
  string
10
10
  ], ADFCommonNodeSpec>;
11
- export declare const taskListWithFlexibleFirstChild: ADFNode<[
12
- string,
13
- 'with_flexible_first_child'
14
- ], ADFCommonNodeSpec & {
15
- contentMinItems: number;
16
- content: ADFNodeContentOneOrMoreSpec[];
17
- stage0: true;
18
- }>;
@@ -1,4 +1,4 @@
1
- export { PanelType, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, codeBlock, codeBlockWithLocalId, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineCardWithLocalId, inlineExtension, layoutColumn, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, listItem, listItemWithFlexibleFirstChildStage0, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, getCellAttrs, getCellDomAttrs, status, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, taskListWithFlexibleFirstChildStage0, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, extensionFrame, multiBodiedExtension, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './nodes';
1
+ export { PanelType, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, codeBlock, codeBlockWithLocalId, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineCardWithLocalId, inlineExtension, layoutColumn, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, listItem, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, getCellAttrs, getCellDomAttrs, status, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, extensionFrame, multiBodiedExtension, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './nodes';
2
2
  export type { BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionBaseDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableWithNestedTableDefinition, TableRowWithNestedTableDefinition, TableCellWithNestedTableDefinition, TableHeaderWithNestedTableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextDefinition, UrlType, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, CellDomAttrs, ExtensionFrameDefinition, MultiBodiedExtensionDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, } from './nodes';
3
3
  export { AnnotationTypes, alignment, alignmentPositionMap, annotation, fontSize, breakout, code, colorPalette,
4
4
  /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
@@ -26,7 +26,7 @@ export type { EmojiAttributes, EmojiDefinition } from './emoji';
26
26
  export { image } from './image';
27
27
  export { mention, toJSON as mentionToJSON } from './mention';
28
28
  export type { MentionAttributes, UserType as MentionUserType, MentionDefinition } from './mention';
29
- export { listItem, listItemWithFlexibleFirstChildStage0, listItemWithLocalId } from './list-item';
29
+ export { listItem, listItemWithLocalId } from './list-item';
30
30
  export type { ListItemArray, ListItemDefinition } from './types/list';
31
31
  export { extendedPanel, extendedPanelWithLocalId, PanelType } from './panel';
32
32
  export type { PanelAttributes, PanelDefinition } from './panel';
@@ -49,7 +49,7 @@ export { decisionList, decisionListSelector } from './decision-list';
49
49
  export type { DecisionListDefinition } from './decision-list';
50
50
  export { decisionItem } from './decision-item';
51
51
  export type { DecisionItemDefinition } from './decision-item';
52
- export { taskList, taskListSelector, taskListWithFlexibleFirstChildStage0 } from './task-list';
52
+ export { taskList, taskListSelector } from './task-list';
53
53
  export type { TaskListDefinition, TaskListContent } from './task-list';
54
54
  export { taskItem, blockTaskItem } from './task-item';
55
55
  export type { TaskItemDefinition, BlockTaskItemDefinition } from './task-item';
@@ -1,16 +1,9 @@
1
1
  import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  /**
3
3
  * @name list_item
4
- * @description this node allows task-list to be nested inside list-item
5
4
  */
6
5
  export declare const listItem: NodeSpec;
7
6
  /**
8
7
  * @name list_item_with_local_id
9
- * @description this node allows list items to have a localId attribute
10
8
  */
11
9
  export declare const listItemWithLocalId: NodeSpec;
12
- /**
13
- * @name list_item_with_flexible_first_child_stage0
14
- * @description stage0 listItem with flexible first child (see EDITOR-5417)
15
- */
16
- export declare const listItemWithFlexibleFirstChildStage0: NodeSpec;
@@ -20,9 +20,7 @@ export interface TaskListDefinition {
20
20
  type: 'taskList';
21
21
  }
22
22
  export declare const taskListSelector: '[data-node-type="actionList"]';
23
- export declare const taskList: NodeSpec;
24
23
  /**
25
- * @name task_list_with_flexible_first_child_stage0
26
- * @description stage0 taskList with flexible first child content (see EDITOR-5417)
24
+ * @name taskList
27
25
  */
28
- export declare const taskListWithFlexibleFirstChildStage0: NodeSpec;
26
+ export declare const taskList: NodeSpec;