@atlaskit/button 16.9.1 → 16.9.3
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 +13 -0
- package/dist/cjs/shared/button-base.js +3 -3
- package/dist/es2019/shared/button-base.js +3 -3
- package/dist/esm/shared/button-base.js +3 -3
- package/package.json +2 -2
- package/dist/cjs/version.json +0 -5
- package/dist/es2019/version.json +0 -5
- package/dist/esm/version.json +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 16.9.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 16.9.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`234448e5bb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/234448e5bb3) - [ux] Updated inner space fix values to be -2px to cover up for 2px margins.
|
|
15
|
+
|
|
3
16
|
## 16.9.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -35,10 +35,10 @@ var noPointerEventsOnChildrenCss = {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
var iconBeforeSpacingFixStyle = (0, _react2.css)({
|
|
38
|
-
marginLeft: '-
|
|
38
|
+
marginLeft: '-2px'
|
|
39
39
|
});
|
|
40
40
|
var iconAfterSpacingFixStyle = (0, _react2.css)({
|
|
41
|
-
marginRight: '-
|
|
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.
|
|
120
|
+
packageVersion: "16.9.3",
|
|
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: '-
|
|
27
|
+
marginLeft: '-2px'
|
|
28
28
|
});
|
|
29
29
|
const iconAfterSpacingFixStyle = css({
|
|
30
|
-
marginRight: '-
|
|
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.
|
|
108
|
+
packageVersion: "16.9.3",
|
|
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: '-
|
|
29
|
+
marginLeft: '-2px'
|
|
30
30
|
});
|
|
31
31
|
var iconAfterSpacingFixStyle = css({
|
|
32
|
-
marginRight: '-
|
|
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.
|
|
111
|
+
packageVersion: "16.9.3",
|
|
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.
|
|
3
|
+
"version": "16.9.3",
|
|
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/"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
55
55
|
"@atlaskit/spinner": "^15.5.0",
|
|
56
56
|
"@atlaskit/theme": "^12.5.0",
|
|
57
|
-
"@atlaskit/tokens": "^1.
|
|
57
|
+
"@atlaskit/tokens": "^1.15.0",
|
|
58
58
|
"@atlaskit/visually-hidden": "^1.2.4",
|
|
59
59
|
"@babel/runtime": "^7.0.0",
|
|
60
60
|
"@emotion/react": "^11.7.1"
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED