@atlaskit/button 23.10.3 → 23.10.5
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 +15 -0
- package/dist/cjs/old-button/button.js +1 -1
- package/dist/cjs/old-button/shared/button-base.js +1 -1
- package/dist/cjs/utils/variants.js +0 -1
- package/dist/es2019/old-button/button.js +1 -1
- package/dist/es2019/old-button/shared/button-base.js +1 -1
- package/dist/es2019/utils/variants.js +0 -1
- package/dist/esm/old-button/button.js +1 -1
- package/dist/esm/old-button/shared/button-base.js +1 -1
- package/dist/esm/utils/variants.js +0 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 23.10.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0daada0469ab8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0daada0469ab8) -
|
|
8
|
+
Remove `eslint-disable` comment for `@atlaskit/design-system/no-legacy-icons` rule which no longer
|
|
9
|
+
exists.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 23.10.4
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 23.10.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -86,7 +86,7 @@ var Button = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.forwa
|
|
|
86
86
|
buttonCss: buttonCss,
|
|
87
87
|
children: children
|
|
88
88
|
// Due to how click events are set, we need to set active styles
|
|
89
|
-
//
|
|
89
|
+
// manually in Firefox and wrap onMouseDown/onMouseUp
|
|
90
90
|
,
|
|
91
91
|
"data-firefox-is-active": isActive ? true : undefined,
|
|
92
92
|
iconAfter: iconAfter,
|
|
@@ -132,7 +132,7 @@ var ButtonBase = /*#__PURE__*/_react.default.forwardRef(function ButtonBase(prop
|
|
|
132
132
|
action: 'clicked',
|
|
133
133
|
componentName: 'button',
|
|
134
134
|
packageName: "@atlaskit/button",
|
|
135
|
-
packageVersion: "23.10.
|
|
135
|
+
packageVersion: "23.10.4",
|
|
136
136
|
analyticsData: analyticsContext
|
|
137
137
|
});
|
|
138
138
|
|
|
@@ -19,7 +19,6 @@ var _spacing = require("./spacing");
|
|
|
19
19
|
var _excluded = ["href", "children"],
|
|
20
20
|
_excluded2 = ["icon", "label"],
|
|
21
21
|
_excluded3 = ["href", "icon", "label"];
|
|
22
|
-
/* eslint-disable @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-20398 */
|
|
23
22
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
24
23
|
var iconButtonShapes = exports.iconButtonShapes = ['default', 'circle'];
|
|
25
24
|
// Add required default props to variants
|
|
@@ -67,7 +67,7 @@ const Button = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function B
|
|
|
67
67
|
buttonCss: buttonCss,
|
|
68
68
|
children: children
|
|
69
69
|
// Due to how click events are set, we need to set active styles
|
|
70
|
-
//
|
|
70
|
+
// manually in Firefox and wrap onMouseDown/onMouseUp
|
|
71
71
|
,
|
|
72
72
|
"data-firefox-is-active": isActive ? true : undefined,
|
|
73
73
|
iconAfter: iconAfter,
|
|
@@ -119,7 +119,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref)
|
|
|
119
119
|
action: 'clicked',
|
|
120
120
|
componentName: 'button',
|
|
121
121
|
packageName: "@atlaskit/button",
|
|
122
|
-
packageVersion: "23.10.
|
|
122
|
+
packageVersion: "23.10.4",
|
|
123
123
|
analyticsData: analyticsContext
|
|
124
124
|
});
|
|
125
125
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-20398 */
|
|
3
2
|
import React, { forwardRef } from 'react';
|
|
4
3
|
import StarStarredIcon from '@atlaskit/icon/core/star-starred';
|
|
5
4
|
import Button from '../new-button/variants/default/button';
|
|
@@ -80,7 +80,7 @@ var Button = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function But
|
|
|
80
80
|
buttonCss: buttonCss,
|
|
81
81
|
children: children
|
|
82
82
|
// Due to how click events are set, we need to set active styles
|
|
83
|
-
//
|
|
83
|
+
// manually in Firefox and wrap onMouseDown/onMouseUp
|
|
84
84
|
,
|
|
85
85
|
"data-firefox-is-active": isActive ? true : undefined,
|
|
86
86
|
iconAfter: iconAfter,
|
|
@@ -125,7 +125,7 @@ var ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
|
|
|
125
125
|
action: 'clicked',
|
|
126
126
|
componentName: 'button',
|
|
127
127
|
packageName: "@atlaskit/button",
|
|
128
|
-
packageVersion: "23.10.
|
|
128
|
+
packageVersion: "23.10.4",
|
|
129
129
|
analyticsData: analyticsContext
|
|
130
130
|
});
|
|
131
131
|
|
|
@@ -3,7 +3,6 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["href", "children"],
|
|
4
4
|
_excluded2 = ["icon", "label"],
|
|
5
5
|
_excluded3 = ["href", "icon", "label"];
|
|
6
|
-
/* eslint-disable @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-20398 */
|
|
7
6
|
import React, { forwardRef } from 'react';
|
|
8
7
|
import StarStarredIcon from '@atlaskit/icon/core/star-starred';
|
|
9
8
|
import Button from '../new-button/variants/default/button';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/button",
|
|
3
|
-
"version": "23.10.
|
|
3
|
+
"version": "23.10.5",
|
|
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/"
|
|
@@ -74,18 +74,18 @@
|
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@atlaskit/analytics-next": "^11.
|
|
77
|
+
"@atlaskit/analytics-next": "^11.2.0",
|
|
78
78
|
"@atlaskit/css": "^0.19.0",
|
|
79
79
|
"@atlaskit/ds-lib": "^6.0.0",
|
|
80
80
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
81
|
-
"@atlaskit/icon": "^33.
|
|
81
|
+
"@atlaskit/icon": "^33.1.0",
|
|
82
82
|
"@atlaskit/interaction-context": "^3.1.0",
|
|
83
83
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
84
|
-
"@atlaskit/primitives": "^18.
|
|
84
|
+
"@atlaskit/primitives": "^18.1.0",
|
|
85
85
|
"@atlaskit/spinner": "^19.0.0",
|
|
86
86
|
"@atlaskit/theme": "^22.0.0",
|
|
87
|
-
"@atlaskit/tokens": "^11.
|
|
88
|
-
"@atlaskit/tooltip": "^
|
|
87
|
+
"@atlaskit/tokens": "^11.2.0",
|
|
88
|
+
"@atlaskit/tooltip": "^21.0.0",
|
|
89
89
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
90
90
|
"@babel/runtime": "^7.0.0",
|
|
91
91
|
"@compiled/react": "^0.20.0",
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
"@atlaskit/app-provider": "^4.1.0",
|
|
102
102
|
"@atlaskit/checkbox": "^17.3.0",
|
|
103
103
|
"@atlaskit/docs": "^11.7.0",
|
|
104
|
-
"@atlaskit/dropdown-menu": "^16.
|
|
105
|
-
"@atlaskit/form": "^15.
|
|
104
|
+
"@atlaskit/dropdown-menu": "^16.8.0",
|
|
105
|
+
"@atlaskit/form": "^15.5.0",
|
|
106
106
|
"@atlaskit/heading": "^5.3.0",
|
|
107
107
|
"@atlaskit/link": "^3.3.0",
|
|
108
108
|
"@atlaskit/logo": "^19.10.0",
|
|
109
|
-
"@atlaskit/modal-dialog": "^14.
|
|
109
|
+
"@atlaskit/modal-dialog": "^14.12.0",
|
|
110
110
|
"@atlaskit/section-message": "^8.12.0",
|
|
111
111
|
"@atlaskit/select": "^21.8.0",
|
|
112
112
|
"@atlaskit/toggle": "^15.2.0",
|