@atlaskit/button 16.5.5 → 16.5.6

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/button
2
2
 
3
+ ## 16.5.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 16.5.5
4
10
 
5
11
  ### Patch Changes
@@ -90,7 +90,7 @@ var _default = /*#__PURE__*/_react.default.forwardRef(function ButtonBase(props,
90
90
  action: 'clicked',
91
91
  componentName: 'button',
92
92
  packageName: "@atlaskit/button",
93
- packageVersion: "16.5.5",
93
+ packageVersion: "16.5.6",
94
94
  analyticsData: analyticsContext
95
95
  });
96
96
 
@@ -207,6 +207,7 @@ function getIconStyle(_ref4) {
207
207
  var spacing = _ref4.spacing;
208
208
  return (0, _react.css)({
209
209
  display: 'flex',
210
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
210
211
  margin: spacing === 'none' ? 0 : innerMargin.icon,
211
212
  // icon size cannot grow and shrink
212
213
  flexGrow: 0,
@@ -222,6 +223,7 @@ function getIconStyle(_ref4) {
222
223
  function getContentStyle(_ref5) {
223
224
  var spacing = _ref5.spacing;
224
225
  return (0, _react.css)({
226
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
225
227
  margin: spacing === 'none' ? 0 : innerMargin.content,
226
228
  // content can grow and shrink
227
229
  flexGrow: 1,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "16.5.5",
3
+ "version": "16.5.6",
4
4
  "sideEffects": false
5
5
  }
@@ -75,7 +75,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
75
75
  action: 'clicked',
76
76
  componentName: 'button',
77
77
  packageName: "@atlaskit/button",
78
- packageVersion: "16.5.5",
78
+ packageVersion: "16.5.6",
79
79
  analyticsData: analyticsContext
80
80
  });
81
81
 
@@ -208,6 +208,7 @@ export function getIconStyle({
208
208
  }) {
209
209
  return css({
210
210
  display: 'flex',
211
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
211
212
  margin: spacing === 'none' ? 0 : innerMargin.icon,
212
213
  // icon size cannot grow and shrink
213
214
  flexGrow: 0,
@@ -224,6 +225,7 @@ export function getContentStyle({
224
225
  spacing
225
226
  }) {
226
227
  return css({
228
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
227
229
  margin: spacing === 'none' ? 0 : innerMargin.content,
228
230
  // content can grow and shrink
229
231
  flexGrow: 1,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "16.5.5",
3
+ "version": "16.5.6",
4
4
  "sideEffects": false
5
5
  }
@@ -83,7 +83,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
83
83
  action: 'clicked',
84
84
  componentName: 'button',
85
85
  packageName: "@atlaskit/button",
86
- packageVersion: "16.5.5",
86
+ packageVersion: "16.5.6",
87
87
  analyticsData: analyticsContext
88
88
  });
89
89
 
@@ -196,6 +196,7 @@ export function getIconStyle(_ref4) {
196
196
  var spacing = _ref4.spacing;
197
197
  return css({
198
198
  display: 'flex',
199
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
199
200
  margin: spacing === 'none' ? 0 : innerMargin.icon,
200
201
  // icon size cannot grow and shrink
201
202
  flexGrow: 0,
@@ -211,6 +212,7 @@ export function getIconStyle(_ref4) {
211
212
  export function getContentStyle(_ref5) {
212
213
  var spacing = _ref5.spacing;
213
214
  return css({
215
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
214
216
  margin: spacing === 'none' ? 0 : innerMargin.content,
215
217
  // content can grow and shrink
216
218
  flexGrow: 1,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "16.5.5",
3
+ "version": "16.5.6",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "16.5.5",
3
+ "version": "16.5.6",
4
4
  "description": "A button triggers an event or action. They let users know what will happen next.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,12 +32,12 @@
32
32
  ".": "./src/index.tsx"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/analytics-next": "^8.2.0",
35
+ "@atlaskit/analytics-next": "^9.0.0",
36
36
  "@atlaskit/ds-lib": "^2.1.0",
37
37
  "@atlaskit/interaction-context": "^2.0.0",
38
38
  "@atlaskit/spinner": "^15.3.0",
39
39
  "@atlaskit/theme": "^12.2.0",
40
- "@atlaskit/tokens": "^1.0.0",
40
+ "@atlaskit/tokens": "^1.2.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "@emotion/react": "^11.7.1"
43
43
  },
@@ -48,7 +48,7 @@
48
48
  "@atlaskit/checkbox": "^12.4.0",
49
49
  "@atlaskit/docs": "*",
50
50
  "@atlaskit/icon": "^21.11.0",
51
- "@atlaskit/logo": "^13.10.0",
51
+ "@atlaskit/logo": "^13.11.0",
52
52
  "@atlaskit/section-message": "^6.3.0",
53
53
  "@atlaskit/select": "^16.1.0",
54
54
  "@atlaskit/ssr": "*",
@@ -78,8 +78,10 @@
78
78
  "design-system": "v1",
79
79
  "ui-components": "lite-mode",
80
80
  "analytics": "analytics-next",
81
- "design-tokens": "spacing",
82
- "theming": "tokens",
81
+ "design-tokens": [
82
+ "color",
83
+ "spacing"
84
+ ],
83
85
  "deprecation": "no-deprecated-imports",
84
86
  "styling": [
85
87
  "emotion"
@@ -88,4 +90,4 @@
88
90
  },
89
91
  "homepage": "https://atlassian.design/components/button/",
90
92
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
91
- }
93
+ }