@atlaskit/button 17.3.0 → 17.3.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
+ ## 17.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#70231](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70231) [`e55d8295c1c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e55d8295c1c1) - Changes to add a page and more specific information in link button documentation.
8
+
9
+ ## 17.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#65509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65509) [`9e9847bebdbe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9e9847bebdbe) - Fix aria-disabled not being passed to custom theme button
14
+
3
15
  ## 17.3.0
4
16
 
5
17
  ### Minor Changes
@@ -117,7 +117,7 @@ var useButtonBase = function useButtonBase(_ref) {
117
117
  action: 'clicked',
118
118
  componentName: 'button',
119
119
  packageName: "@atlaskit/button",
120
- packageVersion: "17.3.0",
120
+ packageVersion: "17.3.2",
121
121
  analyticsData: analyticsContext,
122
122
  actionSubject: buttonType
123
123
  });
@@ -187,7 +187,7 @@ var CustomThemeButton = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.de
187
187
  overlay: isLoading ? /*#__PURE__*/_react.default.createElement(_loadingSpinner.default, restProps) : null
188
188
  // No need to render aria-disabled when it is false
189
189
  ,
190
- "aria-disabled": isLoading || undefined,
190
+ "aria-disabled": isLoading || restProps['aria-disabled'],
191
191
  onMouseEnter: onMouseEnter,
192
192
  onMouseLeave: onMouseLeave,
193
193
  onMouseDown: onMouseDown,
@@ -117,7 +117,7 @@ var _default = exports.default = /*#__PURE__*/_react.default.forwardRef(function
117
117
  action: 'clicked',
118
118
  componentName: 'button',
119
119
  packageName: "@atlaskit/button",
120
- packageVersion: "17.3.0",
120
+ packageVersion: "17.3.2",
121
121
  analyticsData: analyticsContext
122
122
  });
123
123
 
@@ -98,7 +98,7 @@ const useButtonBase = ({
98
98
  action: 'clicked',
99
99
  componentName: 'button',
100
100
  packageName: "@atlaskit/button",
101
- packageVersion: "17.3.0",
101
+ packageVersion: "17.3.2",
102
102
  analyticsData: analyticsContext,
103
103
  actionSubject: buttonType
104
104
  });
@@ -153,7 +153,7 @@ const CustomThemeButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef
153
153
  overlay: isLoading ? /*#__PURE__*/React.createElement(LoadingSpinner, restProps) : null
154
154
  // No need to render aria-disabled when it is false
155
155
  ,
156
- "aria-disabled": isLoading || undefined,
156
+ "aria-disabled": isLoading || restProps['aria-disabled'],
157
157
  onMouseEnter: onMouseEnter,
158
158
  onMouseLeave: onMouseLeave,
159
159
  onMouseDown: onMouseDown,
@@ -102,7 +102,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
102
102
  action: 'clicked',
103
103
  componentName: 'button',
104
104
  packageName: "@atlaskit/button",
105
- packageVersion: "17.3.0",
105
+ packageVersion: "17.3.2",
106
106
  analyticsData: analyticsContext
107
107
  });
108
108
 
@@ -109,7 +109,7 @@ var useButtonBase = function useButtonBase(_ref) {
109
109
  action: 'clicked',
110
110
  componentName: 'button',
111
111
  packageName: "@atlaskit/button",
112
- packageVersion: "17.3.0",
112
+ packageVersion: "17.3.2",
113
113
  analyticsData: analyticsContext,
114
114
  actionSubject: buttonType
115
115
  });
@@ -177,7 +177,7 @@ var CustomThemeButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(f
177
177
  overlay: isLoading ? /*#__PURE__*/React.createElement(LoadingSpinner, restProps) : null
178
178
  // No need to render aria-disabled when it is false
179
179
  ,
180
- "aria-disabled": isLoading || undefined,
180
+ "aria-disabled": isLoading || restProps['aria-disabled'],
181
181
  onMouseEnter: onMouseEnter,
182
182
  onMouseLeave: onMouseLeave,
183
183
  onMouseDown: onMouseDown,
@@ -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: "17.3.0",
111
+ packageVersion: "17.3.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": "17.3.0",
3
+ "version": "17.3.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/"
@@ -49,17 +49,25 @@
49
49
  "sortKey": 2
50
50
  },
51
51
  {
52
- "title": "Button group",
53
- "id": "button-group",
52
+ "title": "Split button",
53
+ "id": "split-button",
54
+ "status": {
55
+ "type": "beta"
56
+ },
54
57
  "sortKey": 3
55
58
  },
56
59
  {
57
- "title": "Split button",
58
- "id": "split-button",
60
+ "title": "Link button",
61
+ "id": "link-button",
59
62
  "status": {
60
63
  "type": "beta"
61
64
  },
62
65
  "sortKey": 4
66
+ },
67
+ {
68
+ "title": "Button group",
69
+ "id": "button-group",
70
+ "sortKey": 5
63
71
  }
64
72
  ]
65
73
  }
@@ -74,7 +82,7 @@
74
82
  ".": "./src/index.tsx"
75
83
  },
76
84
  "dependencies": {
77
- "@atlaskit/analytics-next": "^9.1.0",
85
+ "@atlaskit/analytics-next": "^9.2.0",
78
86
  "@atlaskit/ds-lib": "^2.2.0",
79
87
  "@atlaskit/focus-ring": "^1.3.0",
80
88
  "@atlaskit/icon": "^22.0.0",
@@ -82,7 +90,7 @@
82
90
  "@atlaskit/primitives": "^2.0.0",
83
91
  "@atlaskit/spinner": "^16.0.0",
84
92
  "@atlaskit/theme": "^12.6.0",
85
- "@atlaskit/tokens": "^1.35.0",
93
+ "@atlaskit/tokens": "^1.36.0",
86
94
  "@atlaskit/visually-hidden": "^1.2.4",
87
95
  "@babel/runtime": "^7.0.0",
88
96
  "@emotion/react": "^11.7.1"
@@ -94,7 +102,7 @@
94
102
  "@af/accessibility-testing": "*",
95
103
  "@af/integration-testing": "*",
96
104
  "@af/visual-regression": "*",
97
- "@atlaskit/app-provider": "^0.4.0",
105
+ "@atlaskit/app-provider": "^1.0.0",
98
106
  "@atlaskit/ssr": "*",
99
107
  "@atlaskit/visual-regression": "*",
100
108
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",