@atlaskit/adf-schema 56.0.3 → 56.0.5
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/entry-points/panel.js +12 -0
- package/dist/cjs/entry-points/rule.js +6 -0
- package/dist/cjs/entry-points/schema-next-nodeTypes.js +12 -0
- package/dist/cjs/entry-points/schema-panel.js +12 -0
- package/dist/cjs/entry-points/schema-rule.js +6 -0
- package/dist/cjs/next-schema/full-schema.adf.js +3 -1
- package/dist/cjs/next-schema/generated/nodeTypes.js +34 -2
- package/dist/cjs/next-schema/nodes/panel.js +16 -0
- package/dist/cjs/next-schema/nodes/rule.js +8 -0
- package/dist/cjs/schema/default-schema.js +5 -1
- package/dist/cjs/schema/index.js +12 -0
- package/dist/cjs/schema/nodes/index.js +18 -0
- package/dist/cjs/schema/nodes/panel.js +17 -1
- package/dist/cjs/schema/nodes/rule.js +8 -1
- package/dist/cjs/validator-schema/generated/validatorSpec.js +20 -2
- package/dist/es2019/entry-points/panel.js +1 -1
- package/dist/es2019/entry-points/rule.js +1 -1
- package/dist/es2019/entry-points/schema-next-nodeTypes.js +1 -1
- package/dist/es2019/entry-points/schema-panel.js +1 -1
- package/dist/es2019/entry-points/schema-rule.js +1 -1
- package/dist/es2019/next-schema/full-schema.adf.js +3 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +33 -1
- package/dist/es2019/next-schema/nodes/panel.js +16 -0
- package/dist/es2019/next-schema/nodes/rule.js +8 -0
- package/dist/es2019/schema/default-schema.js +5 -1
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/index.js +2 -2
- package/dist/es2019/schema/nodes/panel.js +19 -1
- package/dist/es2019/schema/nodes/rule.js +5 -1
- package/dist/es2019/validator-schema/generated/validatorSpec.js +19 -1
- package/dist/esm/entry-points/panel.js +1 -1
- package/dist/esm/entry-points/rule.js +1 -1
- package/dist/esm/entry-points/schema-next-nodeTypes.js +1 -1
- package/dist/esm/entry-points/schema-panel.js +1 -1
- package/dist/esm/entry-points/schema-rule.js +1 -1
- package/dist/esm/next-schema/full-schema.adf.js +3 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +33 -1
- package/dist/esm/next-schema/nodes/panel.js +16 -0
- package/dist/esm/next-schema/nodes/rule.js +8 -0
- package/dist/esm/schema/default-schema.js +5 -1
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/index.js +2 -2
- package/dist/esm/schema/nodes/panel.js +16 -0
- package/dist/esm/schema/nodes/rule.js +6 -0
- package/dist/esm/validator-schema/generated/validatorSpec.js +19 -1
- package/dist/json-schema/v1/stage-0.json +3271 -3191
- package/dist/types/entry-points/panel.d.ts +1 -1
- package/dist/types/entry-points/rule.d.ts +1 -1
- package/dist/types/entry-points/schema-next-nodeTypes.d.ts +2 -2
- package/dist/types/entry-points/schema-panel.d.ts +1 -1
- package/dist/types/entry-points/schema-rule.d.ts +1 -1
- package/dist/types/next-schema/generated/nodeTypes.d.ts +25 -1
- package/dist/types/next-schema/nodes/panel.d.ts +1 -1
- package/dist/types/next-schema/nodes/rule.d.ts +1 -1
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/nodes/index.d.ts +2 -2
- package/dist/types/schema/nodes/panel.d.ts +5 -0
- package/dist/types/schema/nodes/rule.d.ts +1 -0
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +18 -0
- package/json-schema/v1/stage-0.json +3271 -3191
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PanelType, extendedPanel, extendedPanelWithLocalId } from '../schema/nodes/panel';
|
|
1
|
+
export { PanelType, extendedPanel, extendedPanelRootOnlyStage0, extendedPanelC1RootOnlyStage0, extendedPanelWithLocalId, } from '../schema/nodes/panel';
|
|
2
2
|
export type { PanelAttributes, PanelDefinition } from '../schema/nodes/panel';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { rule, ruleWithLocalId } from '../schema/nodes/rule';
|
|
1
|
+
export { rule, ruleRootOnlyStage0, ruleWithLocalId } from '../schema/nodes/rule';
|
|
2
2
|
export type { RuleDefinition } from '../schema/nodes/rule';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { blockCard, blockquote, blockquoteLegacy, blockTaskItem, bodiedExtension, bodiedExtensionWithMarks, bodiedSyncBlock, bulletList, caption, codeBlock, codeBlockRootOnly, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, date, dateStage0, decisionItem, decisionList, doc, embedCard, emoji, emojiStage0, expand, expandRootOnly, extension, extensionWithMarks, extensionFrameStage0, hardBreak, heading, headingWithAlignment, headingWithIndentation, headingWithNoMarks, image, inlineCard, inlineCardStage0, inlineExtension, inlineExtensionWithMarks, layoutColumn, layoutColumn as layoutColumnStage0, layoutSection, layoutSectionFull, layoutSectionWithSingleColumnStage0, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingleCaption, mediaSingleFull, mediaSingleWidthType, mention, mentionStage0, multiBodiedExtensionStage0, nestedExpand, nestedExpandWithNoMarks, orderedList, panel, paragraph, paragraphWithAlignment, paragraphWithFontSize, paragraphWithIndentation, paragraphWithNoMarks, placeholder, rule, status, statusStage0, syncBlock, table, tableWithNestedTable, tableCell, tableCell as tableCellStage0, tableCellWithNestedTable, tableCellWithNestedTable as tableCellWithNestedTableStage0, tableHeader, tableHeader as tableHeaderStage0, tableHeaderWithNestedTable, tableHeaderWithNestedTable as tableHeaderWithNestedTableStage0, tableRow, tableRowWithNestedTable, taskItem, taskList, text, textCodeInline, textFormatted, textWithNoMarks, unsupportedBlock, unsupportedInline, } from '../next-schema/generated/nodeTypes';
|
|
2
|
-
export type { BlockCardNodeAttributes0, BlockCardNodeAttributes1, BlockCardNodeAttributes2, BlockCardDefinition, BlockCardNode, BlockquoteDefinition, BlockquoteNode, BlockquoteLegacyDefinition, BlockquoteLegacyNode, BlockTaskItemDefinition, BlockTaskItemNode, BodiedExtensionDefinition, BodiedExtensionNode, BodiedExtensionWithMarksDefinition, BodiedExtensionWithMarksNode, BodiedSyncBlockDefinition, BodiedSyncBlockNode, BulletListDefinition, BulletListNode, CaptionDefinition, CaptionNode, CodeBlockDefinition, CodeBlockNode, CodeBlockRootOnlyDefinition, CodeBlockRootOnlyNode, ConfluenceJiraIssueDefinition, ConfluenceJiraIssueNode, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedBlockNode, ConfluenceUnsupportedInlineDefinition, ConfluenceUnsupportedInlineNode, DateDefinition, DateNode, DateStage0Definition, DateStage0Node, DecisionItemDefinition, DecisionItemNode, DecisionListDefinition, DecisionListNode, DocDefinition, DocNode, EmbedCardDefinition, EmbedCardNode, EmojiDefinition, EmojiNode, EmojiStage0Definition, EmojiStage0Node, ExpandDefinition, ExpandNode, ExpandRootOnlyDefinition, ExpandRootOnlyNode, ExtensionDefinition, ExtensionNode, ExtensionWithMarksDefinition, ExtensionWithMarksNode, ExtensionFrameStage0Definition, ExtensionFrameStage0Node, HardBreakDefinition, HardBreakNode, HeadingDefinition, HeadingNode, HeadingWithAlignmentDefinition, HeadingWithAlignmentNode, HeadingWithIndentationDefinition, HeadingWithIndentationNode, HeadingWithNoMarksDefinition, HeadingWithNoMarksNode, ImageDefinition, ImageNode, InlineCardNodeAttributes0, InlineCardNodeAttributes1, InlineCardDefinition, InlineCardNode, InlineCardStage0NodeAttributes0, InlineCardStage0NodeAttributes1, InlineCardStage0Definition, InlineCardStage0Node, InlineExtensionDefinition, InlineExtensionNode, InlineExtensionWithMarksDefinition, InlineExtensionWithMarksNode, LayoutColumnDefinition, LayoutColumnDefinition as LayoutColumnStage0Definition, LayoutColumnNode, LayoutColumnNode as LayoutColumnStage0Node, LayoutSectionDefinition, LayoutSectionNode, LayoutSectionFullDefinition, LayoutSectionFullNode, LayoutSectionWithSingleColumnStage0Definition, LayoutSectionWithSingleColumnStage0Node, ListItemDefinition, ListItemNode, MediaNodeAttributes0, MediaNodeAttributes1, MediaDefinition, MediaNode, MediaGroupDefinition, MediaGroupNode, MediaInlineDefinition, MediaInlineNode, MediaSingleNodeAttributes0, MediaSingleNodeAttributes1, MediaSingleDefinition, MediaSingleNode, MediaSingleCaptionNodeAttributes0, MediaSingleCaptionNodeAttributes1, MediaSingleCaptionDefinition, MediaSingleCaptionNode, MediaSingleFullNodeAttributes0, MediaSingleFullNodeAttributes1, MediaSingleFullDefinition, MediaSingleFullNode, MediaSingleWidthTypeNodeAttributes0, MediaSingleWidthTypeNodeAttributes1, MediaSingleWidthTypeDefinition, MediaSingleWidthTypeNode, MentionDefinition, MentionNode, MentionStage0Definition, MentionStage0Node, MultiBodiedExtensionStage0Definition, MultiBodiedExtensionStage0Node, NestedExpandDefinition, NestedExpandNode, NestedExpandWithNoMarksDefinition, NestedExpandWithNoMarksNode, OrderedListDefinition, OrderedListNode, PanelDefinition, PanelNode, ParagraphDefinition, ParagraphNode, ParagraphWithAlignmentDefinition, ParagraphWithAlignmentNode, ParagraphWithFontSizeDefinition, ParagraphWithFontSizeNode, ParagraphWithIndentationDefinition, ParagraphWithIndentationNode, ParagraphWithNoMarksDefinition, ParagraphWithNoMarksNode, PlaceholderDefinition, PlaceholderNode, RuleDefinition, RuleNode, StatusDefinition, StatusNode, StatusStage0Definition, StatusStage0Node, SyncBlockDefinition, SyncBlockNode, TableDefinition, TableNode, TableWithNestedTableDefinition, TableWithNestedTableNode, TableCellDefinition, TableCellDefinition as TableCellStage0Definition, TableCellNode, TableCellNode as TableCellStage0Node, TableCellWithNestedTableDefinition, TableCellWithNestedTableDefinition as TableCellWithNestedTableStage0Definition, TableCellWithNestedTableNode, TableCellWithNestedTableNode as TableCellWithNestedTableStage0Node, TableHeaderDefinition, TableHeaderDefinition as TableHeaderStage0Definition, TableHeaderNode, TableHeaderNode as TableHeaderStage0Node, TableHeaderWithNestedTableDefinition, TableHeaderWithNestedTableDefinition as TableHeaderWithNestedTableStage0Definition, TableHeaderWithNestedTableNode, TableHeaderWithNestedTableNode as TableHeaderWithNestedTableStage0Node, TableRowDefinition, TableRowNode, TableRowWithNestedTableDefinition, TableRowWithNestedTableNode, TaskItemDefinition, TaskItemNode, TaskListDefinition, TaskListNode, TextDefinition, TextNode, TextCodeInlineDefinition, TextCodeInlineNode, TextFormattedDefinition, TextFormattedNode, TextWithNoMarksDefinition, TextWithNoMarksNode, UnsupportedBlockDefinition, UnsupportedBlockNode, UnsupportedInlineDefinition, UnsupportedInlineNode, } from '../next-schema/generated/nodeTypes';
|
|
1
|
+
export { blockCard, blockquote, blockquoteLegacy, blockTaskItem, bodiedExtension, bodiedExtensionWithMarks, bodiedSyncBlock, bulletList, caption, codeBlock, codeBlockRootOnly, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, date, dateStage0, decisionItem, decisionList, doc, embedCard, emoji, emojiStage0, expand, expandRootOnly, extension, extensionWithMarks, extensionFrameStage0, hardBreak, heading, headingWithAlignment, headingWithIndentation, headingWithNoMarks, image, inlineCard, inlineCardStage0, inlineExtension, inlineExtensionWithMarks, layoutColumn, layoutColumn as layoutColumnStage0, layoutSection, layoutSectionFull, layoutSectionWithSingleColumnStage0, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingleCaption, mediaSingleFull, mediaSingleWidthType, mention, mentionStage0, multiBodiedExtensionStage0, nestedExpand, nestedExpandWithNoMarks, orderedList, panel, panelRootOnlyStage0, paragraph, paragraphWithAlignment, paragraphWithFontSize, paragraphWithIndentation, paragraphWithNoMarks, placeholder, rule, ruleRootOnlyStage0, status, statusStage0, syncBlock, table, tableWithNestedTable, tableCell, tableCell as tableCellStage0, tableCellWithNestedTable, tableCellWithNestedTable as tableCellWithNestedTableStage0, tableHeader, tableHeader as tableHeaderStage0, tableHeaderWithNestedTable, tableHeaderWithNestedTable as tableHeaderWithNestedTableStage0, tableRow, tableRowWithNestedTable, taskItem, taskList, text, textCodeInline, textFormatted, textWithNoMarks, unsupportedBlock, unsupportedInline, } from '../next-schema/generated/nodeTypes';
|
|
2
|
+
export type { BlockCardNodeAttributes0, BlockCardNodeAttributes1, BlockCardNodeAttributes2, BlockCardDefinition, BlockCardNode, BlockquoteDefinition, BlockquoteNode, BlockquoteLegacyDefinition, BlockquoteLegacyNode, BlockTaskItemDefinition, BlockTaskItemNode, BodiedExtensionDefinition, BodiedExtensionNode, BodiedExtensionWithMarksDefinition, BodiedExtensionWithMarksNode, BodiedSyncBlockDefinition, BodiedSyncBlockNode, BulletListDefinition, BulletListNode, CaptionDefinition, CaptionNode, CodeBlockDefinition, CodeBlockNode, CodeBlockRootOnlyDefinition, CodeBlockRootOnlyNode, ConfluenceJiraIssueDefinition, ConfluenceJiraIssueNode, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedBlockNode, ConfluenceUnsupportedInlineDefinition, ConfluenceUnsupportedInlineNode, DateDefinition, DateNode, DateStage0Definition, DateStage0Node, DecisionItemDefinition, DecisionItemNode, DecisionListDefinition, DecisionListNode, DocDefinition, DocNode, EmbedCardDefinition, EmbedCardNode, EmojiDefinition, EmojiNode, EmojiStage0Definition, EmojiStage0Node, ExpandDefinition, ExpandNode, ExpandRootOnlyDefinition, ExpandRootOnlyNode, ExtensionDefinition, ExtensionNode, ExtensionWithMarksDefinition, ExtensionWithMarksNode, ExtensionFrameStage0Definition, ExtensionFrameStage0Node, HardBreakDefinition, HardBreakNode, HeadingDefinition, HeadingNode, HeadingWithAlignmentDefinition, HeadingWithAlignmentNode, HeadingWithIndentationDefinition, HeadingWithIndentationNode, HeadingWithNoMarksDefinition, HeadingWithNoMarksNode, ImageDefinition, ImageNode, InlineCardNodeAttributes0, InlineCardNodeAttributes1, InlineCardDefinition, InlineCardNode, InlineCardStage0NodeAttributes0, InlineCardStage0NodeAttributes1, InlineCardStage0Definition, InlineCardStage0Node, InlineExtensionDefinition, InlineExtensionNode, InlineExtensionWithMarksDefinition, InlineExtensionWithMarksNode, LayoutColumnDefinition, LayoutColumnDefinition as LayoutColumnStage0Definition, LayoutColumnNode, LayoutColumnNode as LayoutColumnStage0Node, LayoutSectionDefinition, LayoutSectionNode, LayoutSectionFullDefinition, LayoutSectionFullNode, LayoutSectionWithSingleColumnStage0Definition, LayoutSectionWithSingleColumnStage0Node, ListItemDefinition, ListItemNode, MediaNodeAttributes0, MediaNodeAttributes1, MediaDefinition, MediaNode, MediaGroupDefinition, MediaGroupNode, MediaInlineDefinition, MediaInlineNode, MediaSingleNodeAttributes0, MediaSingleNodeAttributes1, MediaSingleDefinition, MediaSingleNode, MediaSingleCaptionNodeAttributes0, MediaSingleCaptionNodeAttributes1, MediaSingleCaptionDefinition, MediaSingleCaptionNode, MediaSingleFullNodeAttributes0, MediaSingleFullNodeAttributes1, MediaSingleFullDefinition, MediaSingleFullNode, MediaSingleWidthTypeNodeAttributes0, MediaSingleWidthTypeNodeAttributes1, MediaSingleWidthTypeDefinition, MediaSingleWidthTypeNode, MentionDefinition, MentionNode, MentionStage0Definition, MentionStage0Node, MultiBodiedExtensionStage0Definition, MultiBodiedExtensionStage0Node, NestedExpandDefinition, NestedExpandNode, NestedExpandWithNoMarksDefinition, NestedExpandWithNoMarksNode, OrderedListDefinition, OrderedListNode, PanelDefinition, PanelNode, PanelRootOnlyStage0Node, ParagraphDefinition, ParagraphNode, ParagraphWithAlignmentDefinition, ParagraphWithAlignmentNode, ParagraphWithFontSizeDefinition, ParagraphWithFontSizeNode, ParagraphWithIndentationDefinition, ParagraphWithIndentationNode, ParagraphWithNoMarksDefinition, ParagraphWithNoMarksNode, PlaceholderDefinition, PlaceholderNode, RuleDefinition, RuleNode, RuleRootOnlyStage0Definition, RuleRootOnlyStage0Node, StatusDefinition, StatusNode, StatusStage0Definition, StatusStage0Node, SyncBlockDefinition, SyncBlockNode, TableDefinition, TableNode, TableWithNestedTableDefinition, TableWithNestedTableNode, TableCellDefinition, TableCellDefinition as TableCellStage0Definition, TableCellNode, TableCellNode as TableCellStage0Node, TableCellWithNestedTableDefinition, TableCellWithNestedTableDefinition as TableCellWithNestedTableStage0Definition, TableCellWithNestedTableNode, TableCellWithNestedTableNode as TableCellWithNestedTableStage0Node, TableHeaderDefinition, TableHeaderDefinition as TableHeaderStage0Definition, TableHeaderNode, TableHeaderNode as TableHeaderStage0Node, TableHeaderWithNestedTableDefinition, TableHeaderWithNestedTableDefinition as TableHeaderWithNestedTableStage0Definition, TableHeaderWithNestedTableNode, TableHeaderWithNestedTableNode as TableHeaderWithNestedTableStage0Node, TableRowDefinition, TableRowNode, TableRowWithNestedTableDefinition, TableRowWithNestedTableNode, TaskItemDefinition, TaskItemNode, TaskListDefinition, TaskListNode, TextDefinition, TextNode, TextCodeInlineDefinition, TextCodeInlineNode, TextFormattedDefinition, TextFormattedNode, TextWithNoMarksDefinition, TextWithNoMarksNode, UnsupportedBlockDefinition, UnsupportedBlockNode, UnsupportedInlineDefinition, UnsupportedInlineNode, } from '../next-schema/generated/nodeTypes';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PanelType, extendedPanel, extendedPanelWithLocalId } from '../schema/nodes/panel';
|
|
1
|
+
export { PanelType, extendedPanel, extendedPanelRootOnlyStage0, extendedPanelC1RootOnlyStage0, extendedPanelWithLocalId, } from '../schema/nodes/panel';
|
|
2
2
|
export type { PanelAttributes, PanelDefinition } from '../schema/nodes/panel';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { rule, ruleWithLocalId } from '../schema/nodes/rule';
|
|
1
|
+
export { rule, ruleRootOnlyStage0, ruleWithLocalId } from '../schema/nodes/rule';
|
|
2
2
|
export type { RuleDefinition } from '../schema/nodes/rule';
|
|
@@ -218,7 +218,7 @@ export type DecisionListNode = PMNode & DecisionListDefinition;
|
|
|
218
218
|
export declare const decisionList: PMNodeSpecFactoryInstance<DecisionListNode>;
|
|
219
219
|
export interface DocDefinition {
|
|
220
220
|
type: 'doc';
|
|
221
|
-
content: Array<BlockDefinition | BlockRootOnlyDefinition | BodiedSyncBlockDefinition | CodeBlockRootOnlyDefinition | ExpandRootOnlyDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition | SyncBlockDefinition>;
|
|
221
|
+
content: Array<BlockDefinition | BlockRootOnlyDefinition | BodiedSyncBlockDefinition | CodeBlockRootOnlyDefinition | ExpandRootOnlyDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition | PanelRootOnlyStage0Definition | RuleRootOnlyStage0Definition | SyncBlockDefinition>;
|
|
222
222
|
}
|
|
223
223
|
export type DocNode = PMNode & DocDefinition;
|
|
224
224
|
export declare const doc: PMNodeSpecFactoryInstance<DocNode>;
|
|
@@ -732,6 +732,21 @@ export interface PanelC1Definition {
|
|
|
732
732
|
}
|
|
733
733
|
export type PanelC1Node = PMNode & PanelC1Definition;
|
|
734
734
|
export declare const panelC1: PMNodeSpecFactoryInstance<PanelC1Node>;
|
|
735
|
+
export interface PanelRootOnlyStage0Definition {
|
|
736
|
+
type: 'panel';
|
|
737
|
+
content: Array<BlockCardDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
738
|
+
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
739
|
+
attrs: {
|
|
740
|
+
panelType: 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success' | 'custom';
|
|
741
|
+
panelIcon?: string;
|
|
742
|
+
panelIconId?: string;
|
|
743
|
+
panelIconText?: string;
|
|
744
|
+
panelColor?: string;
|
|
745
|
+
localId?: string;
|
|
746
|
+
};
|
|
747
|
+
}
|
|
748
|
+
export type PanelRootOnlyStage0Node = PMNode & PanelRootOnlyStage0Definition;
|
|
749
|
+
export declare const panelRootOnlyStage0: PMNodeSpecFactoryInstance<PanelRootOnlyStage0Node>;
|
|
735
750
|
export interface ParagraphDefinition {
|
|
736
751
|
type: 'paragraph';
|
|
737
752
|
content: Array<InlineDefinition>;
|
|
@@ -795,6 +810,15 @@ export interface RuleDefinition {
|
|
|
795
810
|
}
|
|
796
811
|
export type RuleNode = PMNode & RuleDefinition;
|
|
797
812
|
export declare const rule: PMNodeSpecFactoryInstance<RuleNode>;
|
|
813
|
+
export interface RuleRootOnlyStage0Definition {
|
|
814
|
+
type: 'rule';
|
|
815
|
+
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
816
|
+
attrs: {
|
|
817
|
+
localId?: string;
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
export type RuleRootOnlyStage0Node = PMNode & RuleRootOnlyStage0Definition;
|
|
821
|
+
export declare const ruleRootOnlyStage0: PMNodeSpecFactoryInstance<RuleRootOnlyStage0Node>;
|
|
798
822
|
export interface StatusDefinition {
|
|
799
823
|
type: 'status';
|
|
800
824
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ADFCommonNodeSpec, ADFNode } from '@atlaskit/adf-schema-generator';
|
|
2
|
-
export declare const panel: ADFNode<[string, 'c1'], ADFCommonNodeSpec>;
|
|
2
|
+
export declare const panel: ADFNode<[string, 'c1', 'root_only', 'c1_root_only'], ADFCommonNodeSpec>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ADFCommonNodeSpec, ADFNode } from '@atlaskit/adf-schema-generator';
|
|
2
|
-
export declare const rule: ADFNode<[string], ADFCommonNodeSpec>;
|
|
2
|
+
export declare const rule: ADFNode<[string, 'root_only'], ADFCommonNodeSpec>;
|
|
@@ -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, layoutColumnStage0, 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, extendedPanelC1, extendedPanelC1WithLocalId, 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, tableCellStage0, tableHeaderStage0, tableCellWithNestedTableStage0, tableHeaderWithNestedTableStage0, 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, layoutColumnStage0, 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, extendedPanelC1, extendedPanelC1WithLocalId, extendedPanelRootOnlyStage0, extendedPanelC1RootOnlyStage0, 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, tableCellStage0, tableHeaderStage0, tableCellWithNestedTableStage0, tableHeaderWithNestedTableStage0, 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, colorPaletteNew,
|
|
4
4
|
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
|
@@ -15,7 +15,7 @@ export { hardBreak } from './hard-break';
|
|
|
15
15
|
export type { HardBreakDefinition } from './hard-break';
|
|
16
16
|
export { heading } from './heading';
|
|
17
17
|
export type { HeadingDefinition, HeadingBaseDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, } from './heading';
|
|
18
|
-
export { rule, ruleWithLocalId } from './rule';
|
|
18
|
+
export { rule, ruleWithLocalId, ruleRootOnlyStage0 } from './rule';
|
|
19
19
|
export type { RuleDefinition } from './rule';
|
|
20
20
|
export { orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, } from './ordered-list';
|
|
21
21
|
export type { OrderedListDefinition } from './types/list';
|
|
@@ -28,7 +28,7 @@ export { mention, toJSON as mentionToJSON } from './mention';
|
|
|
28
28
|
export type { MentionAttributes, UserType as MentionUserType, MentionDefinition } from './mention';
|
|
29
29
|
export { listItem, listItemWithLocalId } from './list-item';
|
|
30
30
|
export type { ListItemArray, ListItemDefinition } from './types/list';
|
|
31
|
-
export { extendedPanel, extendedPanelWithLocalId, extendedPanelC1, extendedPanelC1WithLocalId, PanelType, } from './panel';
|
|
31
|
+
export { extendedPanel, extendedPanelWithLocalId, extendedPanelRootOnlyStage0, extendedPanelC1RootOnlyStage0, extendedPanelC1, extendedPanelC1WithLocalId, PanelType, } from './panel';
|
|
32
32
|
export type { PanelAttributes, PanelDefinition } from './panel';
|
|
33
33
|
export { text } from './text';
|
|
34
34
|
export type { TextDefinition } from './text';
|
|
@@ -77,3 +77,8 @@ export declare const extendedPanelWithLocalId: (allowCustomPanel: boolean) => No
|
|
|
77
77
|
*/
|
|
78
78
|
export declare const extendedPanelC1: (allowCustomPanel: boolean) => NodeSpec;
|
|
79
79
|
export declare const extendedPanelC1WithLocalId: (allowCustomPanel: boolean) => NodeSpec;
|
|
80
|
+
/**
|
|
81
|
+
* @name extended_panel_root_only
|
|
82
|
+
*/
|
|
83
|
+
export declare const extendedPanelRootOnlyStage0: (allowCustomPanel: boolean) => NodeSpec;
|
|
84
|
+
export declare const extendedPanelC1RootOnlyStage0: (allowCustomPanel: boolean) => NodeSpec;
|
|
@@ -1539,6 +1539,15 @@ export declare const panel: {
|
|
|
1539
1539
|
};
|
|
1540
1540
|
};
|
|
1541
1541
|
};
|
|
1542
|
+
export declare const panel_root_only: (string | {
|
|
1543
|
+
props: {
|
|
1544
|
+
marks: {
|
|
1545
|
+
items: string[];
|
|
1546
|
+
optional: boolean;
|
|
1547
|
+
type: string;
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
})[];
|
|
1542
1551
|
export declare const paragraph: {
|
|
1543
1552
|
props: {
|
|
1544
1553
|
attrs: {
|
|
@@ -1640,6 +1649,15 @@ export declare const rule: {
|
|
|
1640
1649
|
};
|
|
1641
1650
|
};
|
|
1642
1651
|
};
|
|
1652
|
+
export declare const rule_root_only: (string | {
|
|
1653
|
+
props: {
|
|
1654
|
+
marks: {
|
|
1655
|
+
items: string[];
|
|
1656
|
+
optional: boolean;
|
|
1657
|
+
type: string;
|
|
1658
|
+
};
|
|
1659
|
+
};
|
|
1660
|
+
})[];
|
|
1643
1661
|
export declare const status: {
|
|
1644
1662
|
props: {
|
|
1645
1663
|
attrs: {
|