@atlaskit/button 17.19.0 → 17.20.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 +8 -0
- package/dist/cjs/old-button/shared/button-base.js +1 -1
- package/dist/es2019/old-button/shared/button-base.js +1 -1
- package/dist/esm/old-button/shared/button-base.js +1 -1
- package/dist/types/new-button/variants/types.d.ts +2 -0
- package/dist/types-ts4.5/new-button/variants/types.d.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 17.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#111403](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111403)
|
|
8
|
+
[`f6f2f96728bc0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f6f2f96728bc0) -
|
|
9
|
+
Marking the `overlay` prop on new Buttons as deprecated.
|
|
10
|
+
|
|
3
11
|
## 17.19.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -133,7 +133,7 @@ var _default = exports.default = /*#__PURE__*/_react.default.forwardRef(function
|
|
|
133
133
|
action: 'clicked',
|
|
134
134
|
componentName: 'button',
|
|
135
135
|
packageName: "@atlaskit/button",
|
|
136
|
-
packageVersion: "17.
|
|
136
|
+
packageVersion: "17.20.0",
|
|
137
137
|
analyticsData: analyticsContext
|
|
138
138
|
});
|
|
139
139
|
|
|
@@ -119,7 +119,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
|
|
|
119
119
|
action: 'clicked',
|
|
120
120
|
componentName: 'button',
|
|
121
121
|
packageName: "@atlaskit/button",
|
|
122
|
-
packageVersion: "17.
|
|
122
|
+
packageVersion: "17.20.0",
|
|
123
123
|
analyticsData: analyticsContext
|
|
124
124
|
});
|
|
125
125
|
|
|
@@ -125,7 +125,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
|
|
|
125
125
|
action: 'clicked',
|
|
126
126
|
componentName: 'button',
|
|
127
127
|
packageName: "@atlaskit/button",
|
|
128
|
-
packageVersion: "17.
|
|
128
|
+
packageVersion: "17.20.0",
|
|
129
129
|
analyticsData: analyticsContext
|
|
130
130
|
});
|
|
131
131
|
|
|
@@ -17,6 +17,8 @@ export type CommonButtonProps<TagName extends HTMLElement> = {
|
|
|
17
17
|
*/
|
|
18
18
|
autoFocus?: boolean;
|
|
19
19
|
/**
|
|
20
|
+
* @deprecated This is no longer supported and will be removed in a future major release. It only existed to support loading spinners, which can now be achieved with the `isLoading` prop.
|
|
21
|
+
*
|
|
20
22
|
* Used to 'overlay' something over a button. This is commonly used to display a loading spinner.
|
|
21
23
|
*/
|
|
22
24
|
overlay?: React.ReactNode;
|
|
@@ -17,6 +17,8 @@ export type CommonButtonProps<TagName extends HTMLElement> = {
|
|
|
17
17
|
*/
|
|
18
18
|
autoFocus?: boolean;
|
|
19
19
|
/**
|
|
20
|
+
* @deprecated This is no longer supported and will be removed in a future major release. It only existed to support loading spinners, which can now be achieved with the `isLoading` prop.
|
|
21
|
+
*
|
|
20
22
|
* Used to 'overlay' something over a button. This is commonly used to display a loading spinner.
|
|
21
23
|
*/
|
|
22
24
|
overlay?: React.ReactNode;
|
package/package.json
CHANGED