@atlaskit/button 16.9.0 → 16.9.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,17 @@
1
1
  # @atlaskit/button
2
2
 
3
+ ## 16.9.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`234448e5bb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/234448e5bb3) - [ux] Updated inner space fix values to be -2px to cover up for 2px margins.
8
+
9
+ ## 16.9.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`696e8c196a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/696e8c196a3) - Update our documentation of our CustomThemeButton export to note the impending deprecation that we have planned.
14
+
3
15
  ## 16.9.0
4
16
 
5
17
  ### Minor Changes
@@ -35,10 +35,10 @@ var noPointerEventsOnChildrenCss = {
35
35
  }
36
36
  };
37
37
  var iconBeforeSpacingFixStyle = (0, _react2.css)({
38
- marginLeft: '-4px'
38
+ marginLeft: '-2px'
39
39
  });
40
40
  var iconAfterSpacingFixStyle = (0, _react2.css)({
41
- marginRight: '-4px'
41
+ marginRight: '-2px'
42
42
  });
43
43
  var getSpacingFix = function getSpacingFix(children, spacingStyles) {
44
44
  if (!(0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.icon-button-spacing-fix_o1zc5') || !children || (0, _getIfVisuallyHiddenChildren.getIfVisuallyHiddenChildren)(children)) {
@@ -117,7 +117,7 @@ var _default = /*#__PURE__*/_react.default.forwardRef(function ButtonBase(props,
117
117
  action: 'clicked',
118
118
  componentName: 'button',
119
119
  packageName: "@atlaskit/button",
120
- packageVersion: "16.9.0",
120
+ packageVersion: "16.9.2",
121
121
  analyticsData: analyticsContext
122
122
  });
123
123
 
@@ -24,10 +24,10 @@ const noPointerEventsOnChildrenCss = {
24
24
  }
25
25
  };
26
26
  const iconBeforeSpacingFixStyle = css({
27
- marginLeft: '-4px'
27
+ marginLeft: '-2px'
28
28
  });
29
29
  const iconAfterSpacingFixStyle = css({
30
- marginRight: '-4px'
30
+ marginRight: '-2px'
31
31
  });
32
32
  const getSpacingFix = (children, spacingStyles) => {
33
33
  if (!getBooleanFF('platform.design-system-team.icon-button-spacing-fix_o1zc5') || !children || getIfVisuallyHiddenChildren(children)) {
@@ -105,7 +105,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
105
105
  action: 'clicked',
106
106
  componentName: 'button',
107
107
  packageName: "@atlaskit/button",
108
- packageVersion: "16.9.0",
108
+ packageVersion: "16.9.2",
109
109
  analyticsData: analyticsContext
110
110
  });
111
111
 
@@ -26,10 +26,10 @@ var noPointerEventsOnChildrenCss = {
26
26
  }
27
27
  };
28
28
  var iconBeforeSpacingFixStyle = css({
29
- marginLeft: '-4px'
29
+ marginLeft: '-2px'
30
30
  });
31
31
  var iconAfterSpacingFixStyle = css({
32
- marginRight: '-4px'
32
+ marginRight: '-2px'
33
33
  });
34
34
  var getSpacingFix = function getSpacingFix(children, spacingStyles) {
35
35
  if (!getBooleanFF('platform.design-system-team.icon-button-spacing-fix_o1zc5') || !children || getIfVisuallyHiddenChildren(children)) {
@@ -108,7 +108,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
108
108
  action: 'clicked',
109
109
  componentName: 'button',
110
110
  packageName: "@atlaskit/button",
111
- packageVersion: "16.9.0",
111
+ packageVersion: "16.9.2",
112
112
  analyticsData: analyticsContext
113
113
  });
114
114
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "16.9.0",
3
+ "version": "16.9.2",
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/"
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/button",
3
- "version": "16.9.0",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/button",
3
- "version": "16.9.0",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/button",
3
- "version": "16.9.0",
4
- "sideEffects": false
5
- }