@atlaskit/adf-schema 23.1.0 → 23.3.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 +22 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/json-schema/v1/full.json +9 -0
- package/dist/json-schema/v1/stage-0.json +9 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/schema/nodes/media-inline.d.ts +1 -0
- package/dist/types/schema/nodes/types/block-content.d.ts +1 -1
- package/json-schema/v1/full.json +9 -0
- package/json-schema/v1/stage-0.json +9 -0
- package/package.json +3 -3
- package/report.api.md +1823 -0
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# @atlaskit/adf-schema
|
2
2
|
|
3
|
+
## 23.3.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [`fecd5f5c96c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fecd5f5c96c) - ED-15067 Added paragraph_with_indentation to block content to allow indented paragraphs inside of layout columns. Prior to this change, it was possible to add indentation but it resulted in an unsupported mark.
|
8
|
+
|
9
|
+
### Patch Changes
|
10
|
+
|
11
|
+
- [`721bc4d7794`](https://bitbucket.org/atlassian/atlassian-frontend/commits/721bc4d7794) - ED-14377 To remove the imports of version.json which is deprecated
|
12
|
+
|
13
|
+
## 23.2.1
|
14
|
+
|
15
|
+
### Patch Changes
|
16
|
+
|
17
|
+
- [`28ceecfd24d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/28ceecfd24d) - empty changeset
|
18
|
+
|
19
|
+
## 23.2.0
|
20
|
+
|
21
|
+
### Minor Changes
|
22
|
+
|
23
|
+
- [`4d8c675bd2a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d8c675bd2a) - EDM-3779 Hotfix: Extend Media Inline ADF Schema to have type attribute
|
24
|
+
|
3
25
|
## 23.1.0
|
4
26
|
|
5
27
|
### Minor Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export {
|
1
|
+
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette, colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, panel, paragraph, placeholder, rule, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute } from './schema';
|
2
2
|
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 } from './utils';
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export {
|
1
|
+
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette, colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, panel, paragraph, placeholder, rule, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute } from './schema';
|
2
2
|
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 } from './utils';
|
package/dist/esm/version.json
CHANGED
@@ -909,6 +909,12 @@
|
|
909
909
|
"type": "object",
|
910
910
|
"properties": {
|
911
911
|
"data": {},
|
912
|
+
"type": {
|
913
|
+
"enum": [
|
914
|
+
"link",
|
915
|
+
"file"
|
916
|
+
]
|
917
|
+
},
|
912
918
|
"id": {
|
913
919
|
"type": "string",
|
914
920
|
"minLength": 1
|
@@ -2424,6 +2430,9 @@
|
|
2424
2430
|
{
|
2425
2431
|
"$ref": "#/definitions/paragraph_with_alignment_node"
|
2426
2432
|
},
|
2433
|
+
{
|
2434
|
+
"$ref": "#/definitions/paragraph_with_indentation_node"
|
2435
|
+
},
|
2427
2436
|
{
|
2428
2437
|
"$ref": "#/definitions/bulletList_node"
|
2429
2438
|
},
|
@@ -909,6 +909,12 @@
|
|
909
909
|
"type": "object",
|
910
910
|
"properties": {
|
911
911
|
"data": {},
|
912
|
+
"type": {
|
913
|
+
"enum": [
|
914
|
+
"link",
|
915
|
+
"file"
|
916
|
+
]
|
917
|
+
},
|
912
918
|
"id": {
|
913
919
|
"type": "string",
|
914
920
|
"minLength": 1
|
@@ -2424,6 +2430,9 @@
|
|
2424
2430
|
{
|
2425
2431
|
"$ref": "#/definitions/paragraph_with_alignment_node"
|
2426
2432
|
},
|
2433
|
+
{
|
2434
|
+
"$ref": "#/definitions/paragraph_with_indentation_node"
|
2435
|
+
},
|
2427
2436
|
{
|
2428
2437
|
"$ref": "#/definitions/bulletList_node"
|
2429
2438
|
},
|
package/dist/types/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export {
|
1
|
+
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette, colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, panel, paragraph, placeholder, rule, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, } from './schema';
|
2
2
|
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, CodeDefinition, DataConsumerAttributes, DataConsumerDefinition, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmDefinition, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, FragmentAttributes, FragmentDefinition, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, IndentationMarkAttributes, IndentationMarkDefinition, Inline, InlineAtomic, 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, SubSupAttributes, SubSupDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, TaskListContent, TaskListDefinition, TextColorAttributes, TextColorDefinition, TextDefinition, UnderlineDefinition, UrlType, AnnotationId, RichMediaAttributes, RichMediaLayout, AnnotationDataAttributes, CellDomAttrs, } from './schema';
|
3
3
|
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, } from './utils';
|
4
4
|
export type { Match, NameToEmoji } from './utils';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ExpandDefinition as Expand } from '../expand';
|
2
2
|
import { BodiedExtensionDefinition as BodiedExtension } from '../bodied-extension';
|
3
3
|
import { PanelDefinition as Panel } from '../panel';
|
4
|
-
import { ParagraphDefinition as Paragraph,
|
4
|
+
import { ParagraphDefinition as Paragraph, ParagraphWithMarksDefinition as ParagraphWithMarks } from '../paragraph';
|
5
5
|
import { BlockQuoteDefinition as Blockquote } from '../blockquote';
|
6
6
|
import { OrderedListDefinition as OrderedList } from '../ordered-list';
|
7
7
|
import { BulletListDefinition as BulletList } from '../bullet-list';
|
package/json-schema/v1/full.json
CHANGED
@@ -909,6 +909,12 @@
|
|
909
909
|
"type": "object",
|
910
910
|
"properties": {
|
911
911
|
"data": {},
|
912
|
+
"type": {
|
913
|
+
"enum": [
|
914
|
+
"link",
|
915
|
+
"file"
|
916
|
+
]
|
917
|
+
},
|
912
918
|
"id": {
|
913
919
|
"type": "string",
|
914
920
|
"minLength": 1
|
@@ -2424,6 +2430,9 @@
|
|
2424
2430
|
{
|
2425
2431
|
"$ref": "#/definitions/paragraph_with_alignment_node"
|
2426
2432
|
},
|
2433
|
+
{
|
2434
|
+
"$ref": "#/definitions/paragraph_with_indentation_node"
|
2435
|
+
},
|
2427
2436
|
{
|
2428
2437
|
"$ref": "#/definitions/bulletList_node"
|
2429
2438
|
},
|
@@ -909,6 +909,12 @@
|
|
909
909
|
"type": "object",
|
910
910
|
"properties": {
|
911
911
|
"data": {},
|
912
|
+
"type": {
|
913
|
+
"enum": [
|
914
|
+
"link",
|
915
|
+
"file"
|
916
|
+
]
|
917
|
+
},
|
912
918
|
"id": {
|
913
919
|
"type": "string",
|
914
920
|
"minLength": 1
|
@@ -2424,6 +2430,9 @@
|
|
2424
2430
|
{
|
2425
2431
|
"$ref": "#/definitions/paragraph_with_alignment_node"
|
2426
2432
|
},
|
2433
|
+
{
|
2434
|
+
"$ref": "#/definitions/paragraph_with_indentation_node"
|
2435
|
+
},
|
2427
2436
|
{
|
2428
2437
|
"$ref": "#/definitions/bulletList_node"
|
2429
2438
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "23.
|
3
|
+
"version": "23.3.0",
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
5
5
|
"publishConfig": {
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
@@ -51,9 +51,9 @@
|
|
51
51
|
"prosemirror-transform": "1.3.2"
|
52
52
|
},
|
53
53
|
"devDependencies": {
|
54
|
-
"@atlaskit/adf-utils": "^17.
|
54
|
+
"@atlaskit/adf-utils": "^17.1.0",
|
55
55
|
"@atlaskit/editor-json-transformer": "^8.7.0",
|
56
|
-
"@atlaskit/editor-test-helpers": "^17.
|
56
|
+
"@atlaskit/editor-test-helpers": "^17.1.0",
|
57
57
|
"@atlaskit/json-schema-generator": "^3.2.0",
|
58
58
|
"@atlassian/adf-sample": "^1.1.0",
|
59
59
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|