@atlaskit/button 20.5.3 → 21.0.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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/button
2
2
 
3
+ ## 21.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
8
+ [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
9
+ This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
10
+ status of only supporting React 18 going forward. No explicit breaking change to React support has
11
+ been made in this release, but this is to signify going forward, breaking changes for React 16 or
12
+ React 17 may come via non-major semver releases.
13
+
14
+ Please refer this community post for more details:
15
+ https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 20.5.3
4
22
 
5
23
  ### Patch Changes
@@ -133,7 +133,7 @@ var ButtonBase = /*#__PURE__*/_react.default.forwardRef(function ButtonBase(prop
133
133
  action: 'clicked',
134
134
  componentName: 'button',
135
135
  packageName: "@atlaskit/button",
136
- packageVersion: "20.5.3",
136
+ packageVersion: "21.0.0",
137
137
  analyticsData: analyticsContext
138
138
  });
139
139
 
@@ -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: "20.5.3",
122
+ packageVersion: "21.0.0",
123
123
  analyticsData: analyticsContext
124
124
  });
125
125
 
@@ -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: "20.5.3",
128
+ packageVersion: "21.0.0",
129
129
  analyticsData: analyticsContext
130
130
  });
131
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "20.5.3",
3
+ "version": "21.0.0",
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/"
@@ -84,41 +84,41 @@
84
84
  ".": "./src/index.tsx"
85
85
  },
86
86
  "dependencies": {
87
- "@atlaskit/analytics-next": "^10.3.0",
88
- "@atlaskit/ds-lib": "^3.5.0",
89
- "@atlaskit/focus-ring": "^2.1.0",
90
- "@atlaskit/icon": "^23.9.0",
91
- "@atlaskit/interaction-context": "^2.6.0",
87
+ "@atlaskit/analytics-next": "^11.0.0",
88
+ "@atlaskit/ds-lib": "^4.0.0",
89
+ "@atlaskit/focus-ring": "^3.0.0",
90
+ "@atlaskit/icon": "^24.0.0",
91
+ "@atlaskit/interaction-context": "^3.0.0",
92
92
  "@atlaskit/platform-feature-flags": "^1.1.0",
93
- "@atlaskit/primitives": "^13.5.0",
94
- "@atlaskit/spinner": "^17.1.0",
95
- "@atlaskit/theme": "^16.0.0",
96
- "@atlaskit/tokens": "^3.3.0",
97
- "@atlaskit/tooltip": "^19.1.0",
98
- "@atlaskit/visually-hidden": "^1.6.0",
93
+ "@atlaskit/primitives": "^14.0.0",
94
+ "@atlaskit/spinner": "^18.0.0",
95
+ "@atlaskit/theme": "^17.0.0",
96
+ "@atlaskit/tokens": "^4.0.0",
97
+ "@atlaskit/tooltip": "^20.0.0",
98
+ "@atlaskit/visually-hidden": "^2.0.0",
99
99
  "@babel/runtime": "^7.0.0",
100
100
  "@emotion/react": "^11.7.1"
101
101
  },
102
102
  "peerDependencies": {
103
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
103
+ "react": "^18.2.0"
104
104
  },
105
105
  "devDependencies": {
106
106
  "@af/accessibility-testing": "*",
107
107
  "@af/integration-testing": "*",
108
108
  "@af/visual-regression": "*",
109
- "@atlaskit/app-provider": "^1.8.0",
110
- "@atlaskit/checkbox": "^15.3.0",
109
+ "@atlaskit/app-provider": "^2.0.0",
110
+ "@atlaskit/checkbox": "^16.0.0",
111
111
  "@atlaskit/docs": "*",
112
- "@atlaskit/dropdown-menu": "^12.26.0",
113
- "@atlaskit/form": "^11.1.0",
112
+ "@atlaskit/dropdown-menu": "^13.0.0",
113
+ "@atlaskit/form": "^12.0.0",
114
114
  "@atlaskit/heading": "*",
115
115
  "@atlaskit/link": "*",
116
- "@atlaskit/logo": "^15.3.0",
117
- "@atlaskit/modal-dialog": "^12.20.0",
116
+ "@atlaskit/logo": "^16.0.0",
117
+ "@atlaskit/modal-dialog": "^13.0.0",
118
118
  "@atlaskit/section-message": "*",
119
- "@atlaskit/select": "^18.10.0",
119
+ "@atlaskit/select": "^19.0.0",
120
120
  "@atlaskit/ssr": "*",
121
- "@atlaskit/toggle": "^14.1.0",
121
+ "@atlaskit/toggle": "^15.0.0",
122
122
  "@atlaskit/visual-regression": "*",
123
123
  "@testing-library/react": "^13.4.0",
124
124
  "@testing-library/user-event": "^14.4.3",