@atlaskit/skeleton 2.0.3 → 2.1.0
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,13 @@
|
|
|
1
1
|
# @atlaskit/skeleton
|
|
2
2
|
|
|
3
|
+
## 2.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#192775](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/192775)
|
|
8
|
+
[`3774afb555e41`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3774afb555e41) -
|
|
9
|
+
Reduces the default `borderRadius` from `100px` to `4px`.
|
|
10
|
+
|
|
3
11
|
## 2.0.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cjs/ui/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var Skeleton = function Skeleton(_ref) {
|
|
|
31
31
|
var width = _ref.width,
|
|
32
32
|
height = _ref.height,
|
|
33
33
|
_ref$borderRadius = _ref.borderRadius,
|
|
34
|
-
borderRadius = _ref$borderRadius === void 0 ? '
|
|
34
|
+
borderRadius = _ref$borderRadius === void 0 ? '4px' : _ref$borderRadius,
|
|
35
35
|
color = _ref.color,
|
|
36
36
|
ShimmeringEndColor = _ref.ShimmeringEndColor,
|
|
37
37
|
_ref$isShimmering = _ref.isShimmering,
|
package/dist/es2019/ui/index.js
CHANGED
package/dist/esm/ui/index.js
CHANGED
|
@@ -22,7 +22,7 @@ var Skeleton = function Skeleton(_ref) {
|
|
|
22
22
|
var width = _ref.width,
|
|
23
23
|
height = _ref.height,
|
|
24
24
|
_ref$borderRadius = _ref.borderRadius,
|
|
25
|
-
borderRadius = _ref$borderRadius === void 0 ? '
|
|
25
|
+
borderRadius = _ref$borderRadius === void 0 ? '4px' : _ref$borderRadius,
|
|
26
26
|
color = _ref.color,
|
|
27
27
|
ShimmeringEndColor = _ref.ShimmeringEndColor,
|
|
28
28
|
_ref$isShimmering = _ref.isShimmering,
|
package/dist/types/ui/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ type SkeletonProps = {
|
|
|
3
3
|
width: string | number;
|
|
4
4
|
height: string | number;
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Controls the border radius, or rounding of the skeleton's corners.
|
|
7
7
|
*/
|
|
8
8
|
borderRadius?: string | number;
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@ type SkeletonProps = {
|
|
|
3
3
|
width: string | number;
|
|
4
4
|
height: string | number;
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Controls the border radius, or rounding of the skeleton's corners.
|
|
7
7
|
*/
|
|
8
8
|
borderRadius?: string | number;
|
|
9
9
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/skeleton",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "A skeleton acts as a placeholder for content, usually while the content loads.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,11 +24,10 @@
|
|
|
24
24
|
"status": {
|
|
25
25
|
"type": "alpha"
|
|
26
26
|
}
|
|
27
|
-
}
|
|
28
|
-
"runReact18": true
|
|
27
|
+
}
|
|
29
28
|
},
|
|
30
29
|
"dependencies": {
|
|
31
|
-
"@atlaskit/tokens": "^5.
|
|
30
|
+
"@atlaskit/tokens": "^5.6.0",
|
|
32
31
|
"@babel/runtime": "^7.0.0",
|
|
33
32
|
"@compiled/react": "^0.18.3"
|
|
34
33
|
},
|
|
@@ -39,10 +38,10 @@
|
|
|
39
38
|
"@af/accessibility-testing": "workspace:^",
|
|
40
39
|
"@af/integration-testing": "workspace:^",
|
|
41
40
|
"@af/visual-regression": "workspace:^",
|
|
42
|
-
"@atlaskit/docs": "^
|
|
41
|
+
"@atlaskit/docs": "^11.0.0",
|
|
43
42
|
"@atlaskit/link": "^3.2.0",
|
|
44
|
-
"@atlaskit/primitives": "^14.
|
|
45
|
-
"@atlaskit/section-message": "^8.
|
|
43
|
+
"@atlaskit/primitives": "^14.11.0",
|
|
44
|
+
"@atlaskit/section-message": "^8.5.0",
|
|
46
45
|
"@testing-library/react": "^13.4.0",
|
|
47
46
|
"react-dom": "^18.2.0",
|
|
48
47
|
"typescript": "~5.4.2"
|