@atlaskit/button 20.3.11 → 20.4.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
+ ## 20.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
8
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
9
+ Update `React` from v16 to v18
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 20.3.12
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 20.3.11
4
22
 
5
23
  ### Patch Changes
@@ -23,6 +23,7 @@ var iconStyles = (0, _primitives.xcss)({
23
23
  flexGrow: 0,
24
24
  flexShrink: 0,
25
25
  alignSelf: 'center',
26
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
26
27
  fontSize: 0,
27
28
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
28
29
  lineHeight: 0,
@@ -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.3.11",
136
+ packageVersion: "20.4.0",
137
137
  analyticsData: analyticsContext
138
138
  });
139
139
 
@@ -328,6 +328,7 @@ function getIconStyle(_ref4) {
328
328
  flexGrow: 0,
329
329
  flexShrink: 0,
330
330
  alignSelf: 'center',
331
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
331
332
  fontSize: 0,
332
333
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
333
334
  lineHeight: 0,
@@ -15,6 +15,7 @@ const iconStyles = xcss({
15
15
  flexGrow: 0,
16
16
  flexShrink: 0,
17
17
  alignSelf: 'center',
18
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
18
19
  fontSize: 0,
19
20
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
20
21
  lineHeight: 0,
@@ -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.3.11",
122
+ packageVersion: "20.4.0",
123
123
  analyticsData: analyticsContext
124
124
  });
125
125
 
@@ -346,6 +346,7 @@ export function getIconStyle({
346
346
  flexGrow: 0,
347
347
  flexShrink: 0,
348
348
  alignSelf: 'center',
349
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
349
350
  fontSize: 0,
350
351
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
351
352
  lineHeight: 0,
@@ -16,6 +16,7 @@ var iconStyles = xcss({
16
16
  flexGrow: 0,
17
17
  flexShrink: 0,
18
18
  alignSelf: 'center',
19
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
19
20
  fontSize: 0,
20
21
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
21
22
  lineHeight: 0,
@@ -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.3.11",
128
+ packageVersion: "20.4.0",
129
129
  analyticsData: analyticsContext
130
130
  });
131
131
 
@@ -320,6 +320,7 @@ export function getIconStyle(_ref4) {
320
320
  flexGrow: 0,
321
321
  flexShrink: 0,
322
322
  alignSelf: 'center',
323
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
323
324
  fontSize: 0,
324
325
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
325
326
  lineHeight: 0,
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
2
  export declare const getActions: (children: ReactNode) => {
3
- PrimaryAction: import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal;
4
- SecondaryAction: import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal;
3
+ PrimaryAction: string | number | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal;
4
+ SecondaryAction: string | number | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
2
  export declare const getActions: (children: ReactNode) => {
3
- PrimaryAction: import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal;
4
- SecondaryAction: import("react").ReactChild | import("react").ReactFragment | import("react").ReactPortal;
3
+ PrimaryAction: string | number | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal;
4
+ SecondaryAction: string | number | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal;
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "20.3.11",
3
+ "version": "20.4.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,18 +84,18 @@
84
84
  ".": "./src/index.tsx"
85
85
  },
86
86
  "dependencies": {
87
- "@atlaskit/analytics-next": "^10.2.0",
88
- "@atlaskit/ds-lib": "^3.3.0",
89
- "@atlaskit/focus-ring": "^2.0.0",
90
- "@atlaskit/icon": "^23.4.0",
91
- "@atlaskit/interaction-context": "^2.5.0",
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.5.0",
91
+ "@atlaskit/interaction-context": "^2.6.0",
92
92
  "@atlaskit/platform-feature-flags": "^0.3.0",
93
- "@atlaskit/primitives": "^13.3.0",
94
- "@atlaskit/spinner": "^16.3.0",
95
- "@atlaskit/theme": "^14.0.0",
96
- "@atlaskit/tokens": "^3.2.0",
97
- "@atlaskit/tooltip": "^19.0.0",
98
- "@atlaskit/visually-hidden": "^1.5.0",
93
+ "@atlaskit/primitives": "^13.4.0",
94
+ "@atlaskit/spinner": "^17.1.0",
95
+ "@atlaskit/theme": "^14.1.0",
96
+ "@atlaskit/tokens": "^3.3.0",
97
+ "@atlaskit/tooltip": "^19.1.0",
98
+ "@atlaskit/visually-hidden": "^1.6.0",
99
99
  "@babel/runtime": "^7.0.0",
100
100
  "@emotion/react": "^11.7.1"
101
101
  },
@@ -106,27 +106,27 @@
106
106
  "@af/accessibility-testing": "*",
107
107
  "@af/integration-testing": "*",
108
108
  "@af/visual-regression": "*",
109
- "@atlaskit/app-provider": "^1.6.0",
110
- "@atlaskit/checkbox": "^15.2.0",
109
+ "@atlaskit/app-provider": "^1.8.0",
110
+ "@atlaskit/checkbox": "^15.3.0",
111
111
  "@atlaskit/docs": "*",
112
- "@atlaskit/dropdown-menu": "^12.25.0",
113
- "@atlaskit/form": "^11.0.1",
112
+ "@atlaskit/dropdown-menu": "^12.26.0",
113
+ "@atlaskit/form": "^11.1.0",
114
114
  "@atlaskit/heading": "*",
115
115
  "@atlaskit/link": "*",
116
- "@atlaskit/logo": "^15.1.1",
117
- "@atlaskit/modal-dialog": "^12.19.1",
116
+ "@atlaskit/logo": "^15.2.0",
117
+ "@atlaskit/modal-dialog": "^12.20.0",
118
118
  "@atlaskit/section-message": "*",
119
- "@atlaskit/select": "^18.9.1",
119
+ "@atlaskit/select": "^18.10.0",
120
120
  "@atlaskit/ssr": "*",
121
- "@atlaskit/toggle": "^14.0.0",
121
+ "@atlaskit/toggle": "^14.1.0",
122
122
  "@atlaskit/visual-regression": "*",
123
- "@testing-library/react": "^12.1.5",
123
+ "@testing-library/react": "^13.4.0",
124
124
  "@testing-library/user-event": "^14.4.3",
125
125
  "ast-types": "^0.13.3",
126
126
  "bind-event-listener": "^3.0.0",
127
127
  "jscodeshift": "^0.13.0",
128
128
  "lodash": "^4.17.21",
129
- "react-dom": "^16.8.0",
129
+ "react-dom": "^18.2.0",
130
130
  "storybook-addon-performance": "^0.17.3",
131
131
  "typescript": "~5.4.2"
132
132
  },