@atlaskit/adf-utils 18.4.0 → 18.4.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 +7 -0
- package/dist/cjs/validator/specs/blockCard.js +10 -11
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/validator/specs/blockCard.js +10 -11
- package/dist/es2019/version.json +1 -1
- package/dist/esm/validator/specs/blockCard.js +10 -11
- package/dist/esm/version.json +1 -1
- package/dist/types/validator/specs/blockCard.d.ts +14 -11
- package/dist/types-ts4.5/validator/specs/blockCard.d.ts +14 -11
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/adf-utils
|
|
2
2
|
|
|
3
|
+
## 18.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6de13a329d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6de13a329d4) - Move `width` and `layout` out from `datasource` into `attr` root (context blockCard node)
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 18.4.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -51,19 +51,18 @@ var _default = {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}],
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
width: {
|
|
57
|
-
type: 'number',
|
|
58
|
-
minimum: 0,
|
|
59
|
-
maximum: 100,
|
|
60
|
-
optional: true
|
|
61
|
-
},
|
|
62
|
-
layout: {
|
|
63
|
-
type: 'enum',
|
|
64
|
-
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
|
54
|
+
minItems: 1
|
|
65
55
|
}
|
|
66
56
|
}
|
|
57
|
+
},
|
|
58
|
+
width: {
|
|
59
|
+
type: 'number',
|
|
60
|
+
optional: true
|
|
61
|
+
},
|
|
62
|
+
layout: {
|
|
63
|
+
type: 'enum',
|
|
64
|
+
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start'],
|
|
65
|
+
optional: true
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
}]
|
package/dist/cjs/version.json
CHANGED
|
@@ -45,19 +45,18 @@ export default {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}],
|
|
48
|
-
|
|
49
|
-
},
|
|
50
|
-
width: {
|
|
51
|
-
type: 'number',
|
|
52
|
-
minimum: 0,
|
|
53
|
-
maximum: 100,
|
|
54
|
-
optional: true
|
|
55
|
-
},
|
|
56
|
-
layout: {
|
|
57
|
-
type: 'enum',
|
|
58
|
-
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
|
48
|
+
minItems: 1
|
|
59
49
|
}
|
|
60
50
|
}
|
|
51
|
+
},
|
|
52
|
+
width: {
|
|
53
|
+
type: 'number',
|
|
54
|
+
optional: true
|
|
55
|
+
},
|
|
56
|
+
layout: {
|
|
57
|
+
type: 'enum',
|
|
58
|
+
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start'],
|
|
59
|
+
optional: true
|
|
61
60
|
}
|
|
62
61
|
}
|
|
63
62
|
}]
|
package/dist/es2019/version.json
CHANGED
|
@@ -45,19 +45,18 @@ export default {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}],
|
|
48
|
-
|
|
49
|
-
},
|
|
50
|
-
width: {
|
|
51
|
-
type: 'number',
|
|
52
|
-
minimum: 0,
|
|
53
|
-
maximum: 100,
|
|
54
|
-
optional: true
|
|
55
|
-
},
|
|
56
|
-
layout: {
|
|
57
|
-
type: 'enum',
|
|
58
|
-
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
|
48
|
+
minItems: 1
|
|
59
49
|
}
|
|
60
50
|
}
|
|
51
|
+
},
|
|
52
|
+
width: {
|
|
53
|
+
type: 'number',
|
|
54
|
+
optional: true
|
|
55
|
+
},
|
|
56
|
+
layout: {
|
|
57
|
+
type: 'enum',
|
|
58
|
+
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start'],
|
|
59
|
+
optional: true
|
|
61
60
|
}
|
|
62
61
|
}
|
|
63
62
|
}]
|
package/dist/esm/version.json
CHANGED
|
@@ -13,6 +13,8 @@ declare const _default: {
|
|
|
13
13
|
};
|
|
14
14
|
data?: undefined;
|
|
15
15
|
datasource?: undefined;
|
|
16
|
+
width?: undefined;
|
|
17
|
+
layout?: undefined;
|
|
16
18
|
};
|
|
17
19
|
} | {
|
|
18
20
|
props: {
|
|
@@ -21,6 +23,8 @@ declare const _default: {
|
|
|
21
23
|
};
|
|
22
24
|
url?: undefined;
|
|
23
25
|
datasource?: undefined;
|
|
26
|
+
width?: undefined;
|
|
27
|
+
layout?: undefined;
|
|
24
28
|
};
|
|
25
29
|
} | {
|
|
26
30
|
props: {
|
|
@@ -50,20 +54,19 @@ declare const _default: {
|
|
|
50
54
|
};
|
|
51
55
|
};
|
|
52
56
|
}[];
|
|
53
|
-
|
|
54
|
-
};
|
|
55
|
-
width: {
|
|
56
|
-
type: string;
|
|
57
|
-
minimum: number;
|
|
58
|
-
maximum: number;
|
|
59
|
-
optional: boolean;
|
|
60
|
-
};
|
|
61
|
-
layout: {
|
|
62
|
-
type: string;
|
|
63
|
-
values: string[];
|
|
57
|
+
minItems: number;
|
|
64
58
|
};
|
|
65
59
|
};
|
|
66
60
|
};
|
|
61
|
+
width: {
|
|
62
|
+
type: string;
|
|
63
|
+
optional: boolean;
|
|
64
|
+
};
|
|
65
|
+
layout: {
|
|
66
|
+
type: string;
|
|
67
|
+
values: string[];
|
|
68
|
+
optional: boolean;
|
|
69
|
+
};
|
|
67
70
|
data?: undefined;
|
|
68
71
|
};
|
|
69
72
|
})[];
|
|
@@ -13,6 +13,8 @@ declare const _default: {
|
|
|
13
13
|
};
|
|
14
14
|
data?: undefined;
|
|
15
15
|
datasource?: undefined;
|
|
16
|
+
width?: undefined;
|
|
17
|
+
layout?: undefined;
|
|
16
18
|
};
|
|
17
19
|
} | {
|
|
18
20
|
props: {
|
|
@@ -21,6 +23,8 @@ declare const _default: {
|
|
|
21
23
|
};
|
|
22
24
|
url?: undefined;
|
|
23
25
|
datasource?: undefined;
|
|
26
|
+
width?: undefined;
|
|
27
|
+
layout?: undefined;
|
|
24
28
|
};
|
|
25
29
|
} | {
|
|
26
30
|
props: {
|
|
@@ -50,20 +54,19 @@ declare const _default: {
|
|
|
50
54
|
};
|
|
51
55
|
};
|
|
52
56
|
}[];
|
|
53
|
-
|
|
54
|
-
};
|
|
55
|
-
width: {
|
|
56
|
-
type: string;
|
|
57
|
-
minimum: number;
|
|
58
|
-
maximum: number;
|
|
59
|
-
optional: boolean;
|
|
60
|
-
};
|
|
61
|
-
layout: {
|
|
62
|
-
type: string;
|
|
63
|
-
values: string[];
|
|
57
|
+
minItems: number;
|
|
64
58
|
};
|
|
65
59
|
};
|
|
66
60
|
};
|
|
61
|
+
width: {
|
|
62
|
+
type: string;
|
|
63
|
+
optional: boolean;
|
|
64
|
+
};
|
|
65
|
+
layout: {
|
|
66
|
+
type: string;
|
|
67
|
+
values: string[];
|
|
68
|
+
optional: boolean;
|
|
69
|
+
};
|
|
67
70
|
data?: undefined;
|
|
68
71
|
};
|
|
69
72
|
})[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-utils",
|
|
3
|
-
"version": "18.4.
|
|
3
|
+
"version": "18.4.1",
|
|
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.
|
|
44
|
+
"@atlaskit/adf-schema": "^25.9.0",
|
|
45
45
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0"
|
|
47
47
|
},
|