@atlaskit/adf-schema 51.5.20 → 51.5.22

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/adf-schema
2
2
 
3
+ ## 51.5.22
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 51.5.21
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 51.5.20
4
16
 
5
17
  ### Patch Changes
@@ -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<[string, "content", "with_no_marks"], ADFCommonNodeSpec & {
3
- ignore: "pm-spec"[];
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, } from './background-color';
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
- // 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
- */
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
- "content",
5
- "with_no_marks"
4
+ 'content',
5
+ 'with_no_marks'
6
6
  ], ADFCommonNodeSpec & {
7
- ignore: "pm-spec"[];
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, } from './background-color';
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
- // 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
- */
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.20",
3
+ "version": "51.5.22",
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": "^28.0.0",
45
+ "@atlaskit/tmp-editor-statsig": "^30.0.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "css-color-names": "0.0.4",
48
48
  "linkify-it": "^3.0.3",
@@ -69,6 +69,7 @@
69
69
  "@types/json-schema": "^7.0.15",
70
70
  "@types/linkify-it": "^3.0.2",
71
71
  "@types/node": "^24.0.0",
72
+ "@typescript-eslint/parser": "^7.1.0",
72
73
  "babel-plugin-transform-define": "^2.0.0",
73
74
  "eslint": "^8.57.0",
74
75
  "jest": "^29.7.0",