@atlaskit/ds-explorations 2.0.3 → 2.0.4

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/ds-explorations
2
2
 
3
+ ## 2.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
8
+
3
9
  ## 2.0.3
4
10
 
5
11
  ### Patch Changes
@@ -95,7 +95,7 @@ var borderWidthMap = {
95
95
  };
96
96
  var borderRadiusMap = {
97
97
  normal: (0, _react2.css)({
98
- borderRadius: '3px'
98
+ borderRadius: "var(--ds-radius-100, 3px)"
99
99
  }),
100
100
  rounded: (0, _react2.css)({
101
101
  borderRadius: '50%'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "sideEffects": false
5
5
  }
@@ -87,7 +87,7 @@ const borderWidthMap = {
87
87
  };
88
88
  const borderRadiusMap = {
89
89
  normal: css({
90
- borderRadius: '3px'
90
+ borderRadius: "var(--ds-radius-100, 3px)"
91
91
  }),
92
92
  rounded: css({
93
93
  borderRadius: '50%'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "sideEffects": false
5
5
  }
@@ -90,7 +90,7 @@ var borderWidthMap = {
90
90
  };
91
91
  var borderRadiusMap = {
92
92
  normal: css({
93
- borderRadius: '3px'
93
+ borderRadius: "var(--ds-radius-100, 3px)"
94
94
  }),
95
95
  rounded: css({
96
96
  borderRadius: '50%'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "An experimental package for exploration and validation of spacing / typography foundations.",
5
5
  "license": "Apache-2.0",
6
6
  "atlassian": {
@@ -39,7 +39,7 @@
39
39
  "./inline": "./src/components/inline.partial.tsx"
40
40
  },
41
41
  "dependencies": {
42
- "@atlaskit/tokens": "^1.1.0",
42
+ "@atlaskit/tokens": "^1.2.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1",
45
45
  "tiny-invariant": "^1.2.0"
@@ -243,7 +243,7 @@ const borderWidthMap = {
243
243
 
244
244
  type BorderRadius = keyof typeof borderRadiusMap;
245
245
  const borderRadiusMap = {
246
- normal: css({ borderRadius: '3px' }),
246
+ normal: css({ borderRadius: token('border.radius.100', '3px') }),
247
247
  rounded: css({ borderRadius: '50%' }),
248
248
  badge: css({ borderRadius: '8px' }),
249
249
  };