@atlaskit/adf-schema 51.5.19 → 51.5.21
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 +12 -0
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +1 -6
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +6 -2
- package/dist/types/schema/marks/index.d.ts +1 -1
- package/dist/types/schema/nodes/layout-section.d.ts +7 -7
- package/dist/types-ts4.5/next-schema/nodes/nestedExpand.d.ts +3 -3
- package/dist/types-ts4.5/schema/marks/index.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/layout-section.d.ts +7 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
1
|
import type { ADFNode, ADFCommonNodeSpec } from '@atlaskit/adf-schema-generator';
|
|
2
|
-
export declare const mediaSingle: ADFNode<[
|
|
3
|
-
string,
|
|
4
|
-
'caption',
|
|
5
|
-
'full',
|
|
6
|
-
'width_type'
|
|
7
|
-
], ADFCommonNodeSpec>;
|
|
2
|
+
export declare const mediaSingle: ADFNode<[string, 'caption', 'full', 'width_type'], ADFCommonNodeSpec>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { ADFCommonNodeSpec, ADFNode } from '@atlaskit/adf-schema-generator';
|
|
2
|
-
export declare const nestedExpand: ADFNode<[
|
|
3
|
-
|
|
2
|
+
export declare const nestedExpand: ADFNode<[
|
|
3
|
+
string,
|
|
4
|
+
'content',
|
|
5
|
+
'with_no_marks'
|
|
6
|
+
], ADFCommonNodeSpec & {
|
|
7
|
+
ignore: 'pm-spec'[];
|
|
4
8
|
} & {
|
|
5
9
|
content: never[];
|
|
6
10
|
marks: never[];
|
|
@@ -32,5 +32,5 @@ export type { FragmentAttributes, FragmentDefinition, LocalId } from './fragment
|
|
|
32
32
|
export { fragment, toJSON as fragmentToJSON } from './fragment';
|
|
33
33
|
export { border, borderColorPalette } from './border';
|
|
34
34
|
export type { BorderMarkAttributes, BorderMarkDefinition } from './border';
|
|
35
|
-
export { backgroundColor, backgroundColorPalette
|
|
35
|
+
export { backgroundColor, backgroundColorPalette } from './background-color';
|
|
36
36
|
export type { BackgroundColorDefinition } from './background-color';
|
|
@@ -38,13 +38,13 @@ export type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & {
|
|
|
38
38
|
*/
|
|
39
39
|
export type LayoutSectionWithSingleColumnDefinition = LayoutSectionBaseDefinition & {
|
|
40
40
|
/**
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
42
|
+
* @minItems 1
|
|
43
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
44
|
+
* @maxItems 3
|
|
45
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
46
|
+
* @allowUnsupportedBlock true
|
|
47
|
+
*/
|
|
48
48
|
content: Array<LayoutColumnDefinition>;
|
|
49
49
|
marks?: Array<BreakoutMarkDefinition>;
|
|
50
50
|
type: 'layoutSection';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ADFCommonNodeSpec, ADFNode } from '@atlaskit/adf-schema-generator';
|
|
2
2
|
export declare const nestedExpand: ADFNode<[
|
|
3
3
|
string,
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
'content',
|
|
5
|
+
'with_no_marks'
|
|
6
6
|
], ADFCommonNodeSpec & {
|
|
7
|
-
ignore:
|
|
7
|
+
ignore: 'pm-spec'[];
|
|
8
8
|
} & {
|
|
9
9
|
content: never[];
|
|
10
10
|
marks: never[];
|
|
@@ -32,5 +32,5 @@ export type { FragmentAttributes, FragmentDefinition, LocalId } from './fragment
|
|
|
32
32
|
export { fragment, toJSON as fragmentToJSON } from './fragment';
|
|
33
33
|
export { border, borderColorPalette } from './border';
|
|
34
34
|
export type { BorderMarkAttributes, BorderMarkDefinition } from './border';
|
|
35
|
-
export { backgroundColor, backgroundColorPalette
|
|
35
|
+
export { backgroundColor, backgroundColorPalette } from './background-color';
|
|
36
36
|
export type { BackgroundColorDefinition } from './background-color';
|
|
@@ -38,13 +38,13 @@ export type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & {
|
|
|
38
38
|
*/
|
|
39
39
|
export type LayoutSectionWithSingleColumnDefinition = LayoutSectionBaseDefinition & {
|
|
40
40
|
/**
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
42
|
+
* @minItems 1
|
|
43
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
44
|
+
* @maxItems 3
|
|
45
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
46
|
+
* @allowUnsupportedBlock true
|
|
47
|
+
*/
|
|
48
48
|
content: Array<LayoutColumnDefinition>;
|
|
49
49
|
marks?: Array<BreakoutMarkDefinition>;
|
|
50
50
|
type: 'layoutSection';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-schema",
|
|
3
|
-
"version": "51.5.
|
|
3
|
+
"version": "51.5.21",
|
|
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/"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@atlaskit/adf-schema-generator": "^2.1.0",
|
|
44
44
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^29.0.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"css-color-names": "0.0.4",
|
|
48
48
|
"linkify-it": "^3.0.3",
|