@atlaskit/adf-schema 25.10.0 → 25.10.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/adf-schema
2
2
 
3
+ ## 25.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`54c95071cce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54c95071cce) - Move around order of BlockCardDefinition attribute variations.
8
+
3
9
  ## 25.10.0
4
10
 
5
11
  ### Minor Changes
@@ -42,10 +42,10 @@ var blockCard = {
42
42
  datasource: {
43
43
  default: null
44
44
  },
45
- layout: {
45
+ width: {
46
46
  default: null
47
47
  },
48
- width: {
48
+ layout: {
49
49
  default: null
50
50
  }
51
51
  },
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "25.10.0",
3
+ "version": "25.10.1",
4
4
  "sideEffects": false
5
5
  }
@@ -32,10 +32,10 @@ export const blockCard = {
32
32
  datasource: {
33
33
  default: null
34
34
  },
35
- layout: {
35
+ width: {
36
36
  default: null
37
37
  },
38
- width: {
38
+ layout: {
39
39
  default: null
40
40
  }
41
41
  },
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "25.10.0",
3
+ "version": "25.10.1",
4
4
  "sideEffects": false
5
5
  }
@@ -35,10 +35,10 @@ export var blockCard = {
35
35
  datasource: {
36
36
  default: null
37
37
  },
38
- layout: {
38
+ width: {
39
39
  default: null
40
40
  },
41
- width: {
41
+ layout: {
42
42
  default: null
43
43
  }
44
44
  },
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "25.10.0",
3
+ "version": "25.10.1",
4
4
  "sideEffects": false
5
5
  }
@@ -725,28 +725,6 @@
725
725
  },
726
726
  "attrs": {
727
727
  "anyOf": [
728
- {
729
- "type": "object",
730
- "properties": {
731
- "url": {
732
- "type": "string"
733
- }
734
- },
735
- "required": [
736
- "url"
737
- ],
738
- "additionalProperties": false
739
- },
740
- {
741
- "type": "object",
742
- "properties": {
743
- "data": {}
744
- },
745
- "required": [
746
- "data"
747
- ],
748
- "additionalProperties": false
749
- },
750
728
  {
751
729
  "type": "object",
752
730
  "properties": {
@@ -804,6 +782,28 @@
804
782
  "required": [
805
783
  "datasource"
806
784
  ]
785
+ },
786
+ {
787
+ "type": "object",
788
+ "properties": {
789
+ "url": {
790
+ "type": "string"
791
+ }
792
+ },
793
+ "required": [
794
+ "url"
795
+ ],
796
+ "additionalProperties": false
797
+ },
798
+ {
799
+ "type": "object",
800
+ "properties": {
801
+ "data": {}
802
+ },
803
+ "required": [
804
+ "data"
805
+ ],
806
+ "additionalProperties": false
807
807
  }
808
808
  ]
809
809
  }
@@ -39,6 +39,6 @@ export type CardAttributes = UrlType | DataType;
39
39
  */
40
40
  export interface BlockCardDefinition {
41
41
  type: 'blockCard';
42
- attrs: CardAttributes | DatasourceAttributes;
42
+ attrs: DatasourceAttributes | CardAttributes;
43
43
  }
44
44
  export declare const blockCard: NodeSpec;
@@ -39,6 +39,6 @@ export type CardAttributes = UrlType | DataType;
39
39
  */
40
40
  export interface BlockCardDefinition {
41
41
  type: 'blockCard';
42
- attrs: CardAttributes | DatasourceAttributes;
42
+ attrs: DatasourceAttributes | CardAttributes;
43
43
  }
44
44
  export declare const blockCard: NodeSpec;
@@ -725,28 +725,6 @@
725
725
  },
726
726
  "attrs": {
727
727
  "anyOf": [
728
- {
729
- "type": "object",
730
- "properties": {
731
- "url": {
732
- "type": "string"
733
- }
734
- },
735
- "required": [
736
- "url"
737
- ],
738
- "additionalProperties": false
739
- },
740
- {
741
- "type": "object",
742
- "properties": {
743
- "data": {}
744
- },
745
- "required": [
746
- "data"
747
- ],
748
- "additionalProperties": false
749
- },
750
728
  {
751
729
  "type": "object",
752
730
  "properties": {
@@ -804,6 +782,28 @@
804
782
  "required": [
805
783
  "datasource"
806
784
  ]
785
+ },
786
+ {
787
+ "type": "object",
788
+ "properties": {
789
+ "url": {
790
+ "type": "string"
791
+ }
792
+ },
793
+ "required": [
794
+ "url"
795
+ ],
796
+ "additionalProperties": false
797
+ },
798
+ {
799
+ "type": "object",
800
+ "properties": {
801
+ "data": {}
802
+ },
803
+ "required": [
804
+ "data"
805
+ ],
806
+ "additionalProperties": false
807
807
  }
808
808
  ]
809
809
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "25.10.0",
3
+ "version": "25.10.1",
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/"