@atlaskit/skeleton 2.1.1 → 2.1.2

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.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f0662cd7a143e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f0662cd7a143e) -
8
+ Internal changes to how borders are applied.
9
+ - Updated dependencies
10
+
3
11
  ## 2.1.1
4
12
 
5
13
  ### Patch Changes
@@ -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 ? '4px' : _ref$borderRadius,
34
+ borderRadius = _ref$borderRadius === void 0 ? "var(--ds-radius-small, 4px)" : _ref$borderRadius,
35
35
  color = _ref.color,
36
36
  ShimmeringEndColor = _ref.ShimmeringEndColor,
37
37
  _ref$isShimmering = _ref.isShimmering,
@@ -18,7 +18,7 @@ const activeShimmerStyles = null;
18
18
  const Skeleton = ({
19
19
  width,
20
20
  height,
21
- borderRadius = '4px',
21
+ borderRadius = "var(--ds-radius-small, 4px)",
22
22
  color,
23
23
  ShimmeringEndColor,
24
24
  isShimmering = false,
@@ -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 ? '4px' : _ref$borderRadius,
25
+ borderRadius = _ref$borderRadius === void 0 ? "var(--ds-radius-small, 4px)" : _ref$borderRadius,
26
26
  color = _ref.color,
27
27
  ShimmeringEndColor = _ref.ShimmeringEndColor,
28
28
  _ref$isShimmering = _ref.isShimmering,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type SkeletonProps = {
3
2
  width: string | number;
4
3
  height: string | number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type SkeletonProps = {
3
2
  width: string | number;
4
3
  height: string | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/skeleton",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
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/"
@@ -27,7 +27,7 @@
27
27
  }
28
28
  },
29
29
  "dependencies": {
30
- "@atlaskit/tokens": "^6.0.0",
30
+ "@atlaskit/tokens": "^6.3.0",
31
31
  "@babel/runtime": "^7.0.0",
32
32
  "@compiled/react": "^0.18.3"
33
33
  },
@@ -40,11 +40,10 @@
40
40
  "@af/visual-regression": "workspace:^",
41
41
  "@atlaskit/docs": "^11.0.0",
42
42
  "@atlaskit/link": "^3.2.0",
43
- "@atlaskit/primitives": "^14.11.0",
44
- "@atlaskit/section-message": "^8.5.0",
43
+ "@atlaskit/primitives": "^14.14.0",
44
+ "@atlaskit/section-message": "^8.7.0",
45
45
  "@testing-library/react": "^13.4.0",
46
- "react-dom": "^18.2.0",
47
- "typescript": "~5.4.2"
46
+ "react-dom": "^18.2.0"
48
47
  },
49
48
  "techstack": {
50
49
  "@atlassian/frontend": {
@@ -89,8 +88,5 @@
89
88
  "dist/types-ts4.5/index.d.ts"
90
89
  ]
91
90
  }
92
- },
93
- "af:exports": {
94
- ".": "./src/index.tsx"
95
91
  }
96
92
  }