@atlaskit/adf-utils 18.2.2 → 18.2.3

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,12 @@
1
1
  # @atlaskit/adf-utils
2
2
 
3
+ ## 18.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`94561f309f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/94561f309f3) - New stage-0 change: custom "width" attribute on Tables nodes
8
+ - Updated dependencies
9
+
3
10
  ## 18.2.2
4
11
 
5
12
  ### Patch Changes
@@ -27,7 +27,7 @@ var BYPASS_ATTR_LIST = {
27
27
  orderedList: ['order'],
28
28
  panel: ['panelType'],
29
29
  status: ['color', 'style'],
30
- table: ['isNumberColumnEnabled', 'layout'],
30
+ table: ['isNumberColumnEnabled', 'layout', 'width'],
31
31
  tableCell: ['background', 'colspan', 'colwidth', 'defaultMarks', 'rowspan'],
32
32
  tableHeader: ['background', 'colspan', 'colwidth', 'defaultMarks', 'rowspan'],
33
33
  tableRow: ['defaultMarks'],
@@ -25,6 +25,10 @@ var _default = {
25
25
  type: 'string',
26
26
  minLength: 1,
27
27
  optional: true
28
+ },
29
+ width: {
30
+ type: 'number',
31
+ optional: true
28
32
  }
29
33
  },
30
34
  optional: true
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "18.2.2",
3
+ "version": "18.2.3",
4
4
  "sideEffects": false
5
5
  }
@@ -14,7 +14,7 @@ const BYPASS_ATTR_LIST = {
14
14
  orderedList: ['order'],
15
15
  panel: ['panelType'],
16
16
  status: ['color', 'style'],
17
- table: ['isNumberColumnEnabled', 'layout'],
17
+ table: ['isNumberColumnEnabled', 'layout', 'width'],
18
18
  tableCell: ['background', 'colspan', 'colwidth', 'defaultMarks', 'rowspan'],
19
19
  tableHeader: ['background', 'colspan', 'colwidth', 'defaultMarks', 'rowspan'],
20
20
  tableRow: ['defaultMarks'],
@@ -19,6 +19,10 @@ export default {
19
19
  type: 'string',
20
20
  minLength: 1,
21
21
  optional: true
22
+ },
23
+ width: {
24
+ type: 'number',
25
+ optional: true
22
26
  }
23
27
  },
24
28
  optional: true
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "18.2.2",
3
+ "version": "18.2.3",
4
4
  "sideEffects": false
5
5
  }
@@ -20,7 +20,7 @@ var BYPASS_ATTR_LIST = {
20
20
  orderedList: ['order'],
21
21
  panel: ['panelType'],
22
22
  status: ['color', 'style'],
23
- table: ['isNumberColumnEnabled', 'layout'],
23
+ table: ['isNumberColumnEnabled', 'layout', 'width'],
24
24
  tableCell: ['background', 'colspan', 'colwidth', 'defaultMarks', 'rowspan'],
25
25
  tableHeader: ['background', 'colspan', 'colwidth', 'defaultMarks', 'rowspan'],
26
26
  tableRow: ['defaultMarks'],
@@ -19,6 +19,10 @@ export default {
19
19
  type: 'string',
20
20
  minLength: 1,
21
21
  optional: true
22
+ },
23
+ width: {
24
+ type: 'number',
25
+ optional: true
22
26
  }
23
27
  },
24
28
  optional: true
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "18.2.2",
3
+ "version": "18.2.3",
4
4
  "sideEffects": false
5
5
  }
@@ -20,6 +20,10 @@ declare const _default: {
20
20
  minLength: number;
21
21
  optional: boolean;
22
22
  };
23
+ width: {
24
+ type: string;
25
+ optional: boolean;
26
+ };
23
27
  };
24
28
  optional: boolean;
25
29
  };
@@ -20,6 +20,10 @@ declare const _default: {
20
20
  minLength: number;
21
21
  optional: boolean;
22
22
  };
23
+ width: {
24
+ type: string;
25
+ optional: boolean;
26
+ };
23
27
  };
24
28
  optional: boolean;
25
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "18.2.2",
3
+ "version": "18.2.3",
4
4
  "description": "Set of utilities to traverse, modify and create ADF documents.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  "generate:spec": "rm -rf ./src/validator/specs/ && ../json-schema-generator/bin.js --outDir=./src/validator/specs/ --mode=Spec --stage=0 ./src/validator/entry.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@atlaskit/adf-schema": "^25.6.0",
44
+ "@atlaskit/adf-schema": "^25.7.0",
45
45
  "@atlaskit/codemod-utils": "^4.2.0",
46
46
  "@babel/runtime": "^7.0.0"
47
47
  },