@atlaskit/button 16.1.6 → 16.2.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,15 @@
1
1
  # @atlaskit/button
2
2
 
3
+ ## 16.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`dde969b6ef5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dde969b6ef5) - Fix type error with missing 'css' prop when importing Buttons directly from "@atlaskit/button/standard-button"
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
3
13
  ## 16.1.6
4
14
 
5
15
  ### Patch Changes
@@ -12,4 +12,6 @@ Object.defineProperty(exports, "default", {
12
12
  }
13
13
  });
14
14
 
15
+ require("@emotion/core");
16
+
15
17
  var _button = _interopRequireDefault(require("../button"));
@@ -101,7 +101,7 @@ var _default = /*#__PURE__*/_react.default.forwardRef(function ButtonBase(props,
101
101
  action: 'clicked',
102
102
  componentName: 'button',
103
103
  packageName: "@atlaskit/button",
104
- packageVersion: "16.1.6",
104
+ packageVersion: "16.2.0",
105
105
  analyticsData: analyticsContext
106
106
  }); // Button currently calls preventDefault, which is not standard button behaviour
107
107
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "16.1.6",
3
+ "version": "16.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1 +1,6 @@
1
+ /**
2
+ * Must import '@emotion/core' in order to resolve type error
3
+ * https://product-fabric.atlassian.net/browse/DSP-3222
4
+ */
5
+ import '@emotion/core';
1
6
  export { default } from '../button';
@@ -70,7 +70,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
70
70
  action: 'clicked',
71
71
  componentName: 'button',
72
72
  packageName: "@atlaskit/button",
73
- packageVersion: "16.1.6",
73
+ packageVersion: "16.2.0",
74
74
  analyticsData: analyticsContext
75
75
  }); // Button currently calls preventDefault, which is not standard button behaviour
76
76
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "16.1.6",
3
+ "version": "16.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1 +1,6 @@
1
+ /**
2
+ * Must import '@emotion/core' in order to resolve type error
3
+ * https://product-fabric.atlassian.net/browse/DSP-3222
4
+ */
5
+ import '@emotion/core';
1
6
  export { default } from '../button';
@@ -79,7 +79,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
79
79
  action: 'clicked',
80
80
  componentName: 'button',
81
81
  packageName: "@atlaskit/button",
82
- packageVersion: "16.1.6",
82
+ packageVersion: "16.2.0",
83
83
  analyticsData: analyticsContext
84
84
  }); // Button currently calls preventDefault, which is not standard button behaviour
85
85
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "16.1.6",
3
+ "version": "16.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,2 +1,7 @@
1
+ /**
2
+ * Must import '@emotion/core' in order to resolve type error
3
+ * https://product-fabric.atlassian.net/browse/DSP-3222
4
+ */
5
+ import '@emotion/core';
1
6
  export { default } from '../button';
2
7
  export type { ButtonProps } from '../button';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "16.1.6",
3
+ "version": "16.2.0",
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/"
@@ -31,10 +31,10 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@atlaskit/analytics-next": "^8.2.0",
34
- "@atlaskit/ds-lib": "^1.3.0",
34
+ "@atlaskit/ds-lib": "^1.4.0",
35
35
  "@atlaskit/spinner": "^15.1.0",
36
36
  "@atlaskit/theme": "^12.1.0",
37
- "@atlaskit/tokens": "^0.6.0",
37
+ "@atlaskit/tokens": "^0.7.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "@emotion/core": "^10.0.9"
40
40
  },