@atlaskit/button 20.2.4 → 20.2.6
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 +15 -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 +1 -1
- package/dist/types-ts4.5/new-button/variants/types.d.ts +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 20.2.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 20.2.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#149469](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/149469)
|
|
14
|
+
[`c75edf6df890b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c75edf6df890b) -
|
|
15
|
+
Updated icon types usage since there are now `NewCoreIconProps` and `NewUtilityIconProps`.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 20.2.4
|
|
4
19
|
|
|
5
20
|
### 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.2.
|
|
136
|
+
packageVersion: "20.2.6",
|
|
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.2.
|
|
122
|
+
packageVersion: "20.2.6",
|
|
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.2.
|
|
128
|
+
packageVersion: "20.2.6",
|
|
129
129
|
analyticsData: analyticsContext
|
|
130
130
|
});
|
|
131
131
|
|
|
@@ -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 | UNSAFE_NewIconProps
|
|
11
|
+
export type IconProp = React.ComponentType<IconProps | Omit<UNSAFE_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> = {
|
|
@@ -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 | UNSAFE_NewIconProps
|
|
11
|
+
export type IconProp = React.ComponentType<IconProps | Omit<UNSAFE_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.2.
|
|
3
|
+
"version": "20.2.6",
|
|
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/"
|
|
@@ -83,14 +83,14 @@
|
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
86
|
-
"@atlaskit/ds-lib": "^3.
|
|
86
|
+
"@atlaskit/ds-lib": "^3.1.0",
|
|
87
87
|
"@atlaskit/focus-ring": "^1.6.0",
|
|
88
|
-
"@atlaskit/icon": "^22.
|
|
88
|
+
"@atlaskit/icon": "^22.22.0",
|
|
89
89
|
"@atlaskit/interaction-context": "^2.1.0",
|
|
90
90
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
91
91
|
"@atlaskit/primitives": "^12.2.0",
|
|
92
92
|
"@atlaskit/spinner": "^16.3.0",
|
|
93
|
-
"@atlaskit/theme": "^
|
|
93
|
+
"@atlaskit/theme": "^14.0.0",
|
|
94
94
|
"@atlaskit/tokens": "^2.0.0",
|
|
95
95
|
"@atlaskit/tooltip": "^18.8.0",
|
|
96
96
|
"@atlaskit/visually-hidden": "^1.5.0",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"@af/visual-regression": "*",
|
|
107
107
|
"@atlaskit/app-provider": "^1.4.0",
|
|
108
108
|
"@atlaskit/calendar": "^15.0.0",
|
|
109
|
-
"@atlaskit/checkbox": "^
|
|
110
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
109
|
+
"@atlaskit/checkbox": "^15.0.0",
|
|
110
|
+
"@atlaskit/dropdown-menu": "^12.20.0",
|
|
111
111
|
"@atlaskit/ssr": "*",
|
|
112
112
|
"@atlaskit/toggle": "^13.4.0",
|
|
113
113
|
"@atlaskit/visual-regression": "*",
|