@atlaskit/button 20.3.3 → 20.3.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/button
2
2
 
3
+ ## 20.3.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 20.3.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [#171994](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171994)
14
+ [`be58e4bb2e387`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be58e4bb2e387) -
15
+ Migrating usages of UNSAFE types and entrypoints that have been renamed in `@atlaskit/icon` and
16
+ `@atlaskit/icon-lab`.
17
+ - Updated dependencies
18
+
3
19
  ## 20.3.3
4
20
 
5
21
  ### 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.3.3",
136
+ packageVersion: "20.3.5",
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.3.3",
122
+ packageVersion: "20.3.5",
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.3.3",
128
+ packageVersion: "20.3.5",
129
129
  analyticsData: analyticsContext
130
130
  });
131
131
 
@@ -1,6 +1,6 @@
1
1
  import type React from 'react';
2
2
  import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
- import { type IconProps, type UNSAFE_NewIconProps } from '@atlaskit/icon/types';
3
+ import { type IconProps, type NewIconProps } from '@atlaskit/icon/types';
4
4
  export type ButtonAppearance = 'default' | 'danger' | 'primary' | 'subtle' | 'warning' | 'discovery';
5
5
  export type LinkButtonAppearance = 'default' | 'danger' | 'primary' | 'subtle' | 'warning' | 'discovery';
6
6
  export type IconButtonAppearance = 'default' | 'primary' | 'discovery' | 'subtle';
@@ -8,7 +8,7 @@ export type Appearance = ButtonAppearance | LinkButtonAppearance | IconButtonApp
8
8
  export type ButtonSpacing = 'compact' | 'default';
9
9
  export type IconButtonSpacing = 'compact' | 'default';
10
10
  export type Spacing = ButtonSpacing | IconButtonSpacing;
11
- export type IconProp = React.ComponentType<IconProps | Omit<UNSAFE_NewIconProps, 'spacing'>>;
11
+ export type IconProp = React.ComponentType<IconProps | Omit<NewIconProps, 'spacing'>>;
12
12
  export type IconSize = 'small' | 'large' | 'xlarge';
13
13
  type Combine<First, Second> = Omit<First, keyof Second> & Second;
14
14
  export type CommonButtonProps<TagName extends HTMLElement> = {
@@ -1,6 +1,6 @@
1
1
  import type React from 'react';
2
2
  import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
- import { type IconProps, type UNSAFE_NewIconProps } from '@atlaskit/icon/types';
3
+ import { type IconProps, type NewIconProps } from '@atlaskit/icon/types';
4
4
  export type ButtonAppearance = 'default' | 'danger' | 'primary' | 'subtle' | 'warning' | 'discovery';
5
5
  export type LinkButtonAppearance = 'default' | 'danger' | 'primary' | 'subtle' | 'warning' | 'discovery';
6
6
  export type IconButtonAppearance = 'default' | 'primary' | 'discovery' | 'subtle';
@@ -8,7 +8,7 @@ export type Appearance = ButtonAppearance | LinkButtonAppearance | IconButtonApp
8
8
  export type ButtonSpacing = 'compact' | 'default';
9
9
  export type IconButtonSpacing = 'compact' | 'default';
10
10
  export type Spacing = ButtonSpacing | IconButtonSpacing;
11
- export type IconProp = React.ComponentType<IconProps | Omit<UNSAFE_NewIconProps, 'spacing'>>;
11
+ export type IconProp = React.ComponentType<IconProps | Omit<NewIconProps, 'spacing'>>;
12
12
  export type IconSize = 'small' | 'large' | 'xlarge';
13
13
  type Combine<First, Second> = Omit<First, keyof Second> & Second;
14
14
  export type CommonButtonProps<TagName extends HTMLElement> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/button",
3
- "version": "20.3.3",
3
+ "version": "20.3.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/"
@@ -84,17 +84,17 @@
84
84
  ".": "./src/index.tsx"
85
85
  },
86
86
  "dependencies": {
87
- "@atlaskit/analytics-next": "^10.1.0",
88
- "@atlaskit/ds-lib": "^3.2.0",
87
+ "@atlaskit/analytics-next": "^10.2.0",
88
+ "@atlaskit/ds-lib": "^3.3.0",
89
89
  "@atlaskit/focus-ring": "^2.0.0",
90
- "@atlaskit/icon": "^22.26.0",
91
- "@atlaskit/interaction-context": "^2.1.0",
90
+ "@atlaskit/icon": "^23.1.0",
91
+ "@atlaskit/interaction-context": "^2.2.0",
92
92
  "@atlaskit/platform-feature-flags": "^0.3.0",
93
93
  "@atlaskit/primitives": "^13.3.0",
94
94
  "@atlaskit/spinner": "^16.3.0",
95
95
  "@atlaskit/theme": "^14.0.0",
96
- "@atlaskit/tokens": "^2.3.0",
97
- "@atlaskit/tooltip": "^18.9.0",
96
+ "@atlaskit/tokens": "^2.4.0",
97
+ "@atlaskit/tooltip": "^19.0.0",
98
98
  "@atlaskit/visually-hidden": "^1.5.0",
99
99
  "@babel/runtime": "^7.0.0",
100
100
  "@emotion/react": "^11.7.1"