@atlaskit/button 17.12.2 → 17.13.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 +6 -0
- package/dist/cjs/new-button/variants/shared/use-button-base.js +1 -1
- package/dist/cjs/old-button/shared/button-base.js +1 -1
- package/dist/es2019/new-button/variants/shared/use-button-base.js +1 -1
- package/dist/es2019/old-button/shared/button-base.js +1 -1
- package/dist/esm/new-button/variants/shared/use-button-base.js +1 -1
- package/dist/esm/old-button/shared/button-base.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 17.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#92980](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92980) [`612718d81d68`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/612718d81d68) - Prevent new buttons from shrinking inside flex containers
|
|
8
|
+
|
|
3
9
|
## 17.12.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -34,6 +34,7 @@ var buttonStyles = (0, _primitives.xcss)({
|
|
|
34
34
|
borderWidth: 'border.width.0',
|
|
35
35
|
// @ts-expect-error
|
|
36
36
|
color: "var(--ds-text, ".concat(colors.N500, ")"),
|
|
37
|
+
flexShrink: 0,
|
|
37
38
|
fontFamily: 'inherit',
|
|
38
39
|
fontSize: 'inherit',
|
|
39
40
|
fontStyle: 'normal',
|
|
@@ -46,7 +47,6 @@ var buttonStyles = (0, _primitives.xcss)({
|
|
|
46
47
|
textAlign: 'center',
|
|
47
48
|
transition: 'background 0.1s ease-out, box-shadow 0.15s cubic-bezier(0.47, 0.03, 0.49, 1.38)',
|
|
48
49
|
verticalAlign: 'middle',
|
|
49
|
-
whiteSpace: 'nowrap',
|
|
50
50
|
':visited': {
|
|
51
51
|
// @ts-expect-error
|
|
52
52
|
color: "var(--ds-text, ".concat(colors.N500, ")")
|
|
@@ -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.
|
|
120
|
+
packageVersion: "17.13.0",
|
|
121
121
|
analyticsData: analyticsContext
|
|
122
122
|
});
|
|
123
123
|
|
|
@@ -21,6 +21,7 @@ const buttonStyles = xcss({
|
|
|
21
21
|
borderWidth: 'border.width.0',
|
|
22
22
|
// @ts-expect-error
|
|
23
23
|
color: `var(--ds-text, ${colors.N500})`,
|
|
24
|
+
flexShrink: 0,
|
|
24
25
|
fontFamily: 'inherit',
|
|
25
26
|
fontSize: 'inherit',
|
|
26
27
|
fontStyle: 'normal',
|
|
@@ -33,7 +34,6 @@ const buttonStyles = xcss({
|
|
|
33
34
|
textAlign: 'center',
|
|
34
35
|
transition: 'background 0.1s ease-out, box-shadow 0.15s cubic-bezier(0.47, 0.03, 0.49, 1.38)',
|
|
35
36
|
verticalAlign: 'middle',
|
|
36
|
-
whiteSpace: 'nowrap',
|
|
37
37
|
':visited': {
|
|
38
38
|
// @ts-expect-error
|
|
39
39
|
color: `var(--ds-text, ${colors.N500})`
|
|
@@ -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.
|
|
105
|
+
packageVersion: "17.13.0",
|
|
106
106
|
analyticsData: analyticsContext
|
|
107
107
|
});
|
|
108
108
|
|
|
@@ -24,6 +24,7 @@ var buttonStyles = xcss({
|
|
|
24
24
|
borderWidth: 'border.width.0',
|
|
25
25
|
// @ts-expect-error
|
|
26
26
|
color: "var(--ds-text, ".concat(colors.N500, ")"),
|
|
27
|
+
flexShrink: 0,
|
|
27
28
|
fontFamily: 'inherit',
|
|
28
29
|
fontSize: 'inherit',
|
|
29
30
|
fontStyle: 'normal',
|
|
@@ -36,7 +37,6 @@ var buttonStyles = xcss({
|
|
|
36
37
|
textAlign: 'center',
|
|
37
38
|
transition: 'background 0.1s ease-out, box-shadow 0.15s cubic-bezier(0.47, 0.03, 0.49, 1.38)',
|
|
38
39
|
verticalAlign: 'middle',
|
|
39
|
-
whiteSpace: 'nowrap',
|
|
40
40
|
':visited': {
|
|
41
41
|
// @ts-expect-error
|
|
42
42
|
color: "var(--ds-text, ".concat(colors.N500, ")")
|
|
@@ -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.
|
|
111
|
+
packageVersion: "17.13.0",
|
|
112
112
|
analyticsData: analyticsContext
|
|
113
113
|
});
|
|
114
114
|
|
package/package.json
CHANGED