@atlaskit/button 23.4.5 → 23.4.7
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 +14 -0
- package/dist/cjs/new-button/containers/split-button/split-button.compiled.css +1 -1
- package/dist/cjs/new-button/containers/split-button/split-button.js +1 -1
- package/dist/cjs/new-button/variants/icon/link.compiled.css +1 -1
- package/dist/cjs/new-button/variants/icon/link.js +1 -1
- package/dist/cjs/new-button/variants/shared/button-base.compiled.css +1 -1
- package/dist/cjs/new-button/variants/shared/button-base.js +1 -1
- package/dist/cjs/old-button/shared/button-base.js +1 -1
- package/dist/cjs/old-button/shared/css.js +1 -1
- package/dist/es2019/new-button/containers/split-button/split-button.compiled.css +1 -1
- package/dist/es2019/new-button/containers/split-button/split-button.js +1 -1
- package/dist/es2019/new-button/variants/icon/link.compiled.css +1 -1
- package/dist/es2019/new-button/variants/icon/link.js +1 -1
- package/dist/es2019/new-button/variants/shared/button-base.compiled.css +1 -1
- package/dist/es2019/new-button/variants/shared/button-base.js +1 -1
- package/dist/es2019/old-button/shared/button-base.js +1 -1
- package/dist/es2019/old-button/shared/css.js +1 -1
- package/dist/esm/new-button/containers/split-button/split-button.compiled.css +1 -1
- package/dist/esm/new-button/containers/split-button/split-button.js +1 -1
- package/dist/esm/new-button/variants/icon/link.compiled.css +1 -1
- package/dist/esm/new-button/variants/icon/link.js +1 -1
- package/dist/esm/new-button/variants/shared/button-base.compiled.css +1 -1
- package/dist/esm/new-button/variants/shared/button-base.js +1 -1
- package/dist/esm/old-button/shared/button-base.js +1 -1
- package/dist/esm/old-button/shared/css.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 23.4.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 23.4.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`74c2f420ee49b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/74c2f420ee49b) -
|
|
14
|
+
Internal changes to how border radius is applied.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 23.4.5
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
3
3
|
._195g1h5n{margin-inline:-.03125rem}
|
|
4
4
|
._195g1n1a{margin-inline:-1px}
|
|
5
5
|
._1mouu2gc{margin-block:var(--ds-space-100,8px)}._12ji13gt{outline-color:var(--ds-border-disabled,#091e420f)}
|
|
@@ -58,7 +58,7 @@ var buttonStyles = {
|
|
|
58
58
|
splitButton: "_1e0c116y _kqswh2mm _4cvr1h6o _o5721q9c",
|
|
59
59
|
primaryButton: "_traeidpf _anlpidpf _p9ykidpf _bepvidpf",
|
|
60
60
|
secondaryButton: "_1j4hidpf _1553idpf _1qgbidpf _y1n3idpf",
|
|
61
|
-
defaultAppearanceContainer: "
|
|
61
|
+
defaultAppearanceContainer: "_2rkofajl _12jimuej _1cwg1n1a _1qu2nqa1 _12y3t94y",
|
|
62
62
|
defaultAppearanceDisabledContainer: "_12ji13gt"
|
|
63
63
|
};
|
|
64
64
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._14mj1kw7:after{border-radius:inherit}
|
|
4
|
-
.
|
|
4
|
+
._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
|
|
5
5
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
6
6
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
7
7
|
._v5649dqc{transition:background .1s ease-out}
|
|
@@ -31,7 +31,7 @@ var styles = {
|
|
|
31
31
|
disabled: "_80om13gf _bfhksyzs _syaz1lh4 _aetrglyw _irr3syzs _30l31lh4 _1di6syzs _9h8h1lh4",
|
|
32
32
|
spacingCompact: "_1rjcv77o _gy1p1b66 _y4tiutpp _bozgutpp _s7n4nkob _4t3i1k8s _1bsb1k8s",
|
|
33
33
|
iconButton: "_4t3iviql _1bsbviql _y4tize3t _bozgze3t",
|
|
34
|
-
circle: "
|
|
34
|
+
circle: "_2rko1rr0"
|
|
35
35
|
};
|
|
36
36
|
var defaultStyles = {
|
|
37
37
|
root: "_bfhk1j54 _syaz10s3 _105310s3 _f8pj10s3 _irr3yw9d _30l310s3 _1di6ip91 _9h8h10s3",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._14mj1kw7:after{border-radius:inherit}
|
|
4
|
-
.
|
|
4
|
+
._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
|
|
5
5
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
6
6
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
7
7
|
._v5649dqc{transition:background .1s ease-out}
|
|
@@ -32,7 +32,7 @@ var styles = {
|
|
|
32
32
|
disabled: "_80om13gf _syaz1lh4 _30l31lh4 _9h8h1lh4",
|
|
33
33
|
sharedDisabled: "_bfhk1fvb _irr31fvb _1di61fvb",
|
|
34
34
|
spacingCompact: "_1rjcv77o _gy1p1b66 _4t3i1k8s _y4tiutpp _bozgutpp _s7n4nkob",
|
|
35
|
-
circle: "
|
|
35
|
+
circle: "_2rko1rr0",
|
|
36
36
|
fullWidth: "_1bsb1osq",
|
|
37
37
|
loading: "_80om15jw",
|
|
38
38
|
iconButton: "_4t3iviql _1bsbviql _y4tize3t _bozgze3t",
|
|
@@ -132,7 +132,7 @@ var ButtonBase = /*#__PURE__*/_react.default.forwardRef(function ButtonBase(prop
|
|
|
132
132
|
action: 'clicked',
|
|
133
133
|
componentName: 'button',
|
|
134
134
|
packageName: "@atlaskit/button",
|
|
135
|
-
packageVersion: "
|
|
135
|
+
packageVersion: "23.4.6",
|
|
136
136
|
analyticsData: analyticsContext
|
|
137
137
|
});
|
|
138
138
|
|
|
@@ -230,7 +230,7 @@ function getCss(_ref3) {
|
|
|
230
230
|
// 0px margin added to css-reset
|
|
231
231
|
alignItems: 'baseline',
|
|
232
232
|
borderWidth: 0,
|
|
233
|
-
borderRadius: "var(--ds-
|
|
233
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
234
234
|
boxSizing: 'border-box',
|
|
235
235
|
display: 'inline-flex',
|
|
236
236
|
fontSize: 'inherit',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
3
3
|
._195g1h5n{margin-inline:-.03125rem}
|
|
4
4
|
._195g1n1a{margin-inline:-1px}
|
|
5
5
|
._1mouu2gc{margin-block:var(--ds-space-100,8px)}._12ji13gt{outline-color:var(--ds-border-disabled,#091e420f)}
|
|
@@ -50,7 +50,7 @@ const buttonStyles = {
|
|
|
50
50
|
splitButton: "_1e0c116y _kqswh2mm _4cvr1h6o _o5721q9c",
|
|
51
51
|
primaryButton: "_traeidpf _anlpidpf _p9ykidpf _bepvidpf",
|
|
52
52
|
secondaryButton: "_1j4hidpf _1553idpf _1qgbidpf _y1n3idpf",
|
|
53
|
-
defaultAppearanceContainer: "
|
|
53
|
+
defaultAppearanceContainer: "_2rkofajl _12jimuej _1cwg1n1a _1qu2nqa1 _12y3t94y",
|
|
54
54
|
defaultAppearanceDisabledContainer: "_12ji13gt"
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._14mj1kw7:after{border-radius:inherit}
|
|
4
|
-
.
|
|
4
|
+
._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
|
|
5
5
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
6
6
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
7
7
|
._v5649dqc{transition:background .1s ease-out}
|
|
@@ -19,7 +19,7 @@ const styles = {
|
|
|
19
19
|
disabled: "_80om13gf _bfhksyzs _syaz1lh4 _aetrglyw _irr3syzs _30l31lh4 _1di6syzs _9h8h1lh4",
|
|
20
20
|
spacingCompact: "_1rjcv77o _gy1p1b66 _y4tiutpp _bozgutpp _s7n4nkob _4t3i1k8s _1bsb1k8s",
|
|
21
21
|
iconButton: "_4t3iviql _1bsbviql _y4tize3t _bozgze3t",
|
|
22
|
-
circle: "
|
|
22
|
+
circle: "_2rko1rr0"
|
|
23
23
|
};
|
|
24
24
|
const defaultStyles = {
|
|
25
25
|
root: "_bfhk1j54 _syaz10s3 _105310s3 _f8pj10s3 _irr3yw9d _30l310s3 _1di6ip91 _9h8h10s3",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._14mj1kw7:after{border-radius:inherit}
|
|
4
|
-
.
|
|
4
|
+
._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
|
|
5
5
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
6
6
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
7
7
|
._v5649dqc{transition:background .1s ease-out}
|
|
@@ -20,7 +20,7 @@ const styles = {
|
|
|
20
20
|
disabled: "_80om13gf _syaz1lh4 _30l31lh4 _9h8h1lh4",
|
|
21
21
|
sharedDisabled: "_bfhk1fvb _irr31fvb _1di61fvb",
|
|
22
22
|
spacingCompact: "_1rjcv77o _gy1p1b66 _4t3i1k8s _y4tiutpp _bozgutpp _s7n4nkob",
|
|
23
|
-
circle: "
|
|
23
|
+
circle: "_2rko1rr0",
|
|
24
24
|
fullWidth: "_1bsb1osq",
|
|
25
25
|
loading: "_80om15jw",
|
|
26
26
|
iconButton: "_4t3iviql _1bsbviql _y4tize3t _bozgze3t",
|
|
@@ -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: "
|
|
122
|
+
packageVersion: "23.4.6",
|
|
123
123
|
analyticsData: analyticsContext
|
|
124
124
|
});
|
|
125
125
|
|
|
@@ -224,7 +224,7 @@ export function getCss({
|
|
|
224
224
|
// 0px margin added to css-reset
|
|
225
225
|
alignItems: 'baseline',
|
|
226
226
|
borderWidth: 0,
|
|
227
|
-
borderRadius: "var(--ds-
|
|
227
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
228
228
|
boxSizing: 'border-box',
|
|
229
229
|
display: 'inline-flex',
|
|
230
230
|
fontSize: 'inherit',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
3
3
|
._195g1h5n{margin-inline:-.03125rem}
|
|
4
4
|
._195g1n1a{margin-inline:-1px}
|
|
5
5
|
._1mouu2gc{margin-block:var(--ds-space-100,8px)}._12ji13gt{outline-color:var(--ds-border-disabled,#091e420f)}
|
|
@@ -50,7 +50,7 @@ var buttonStyles = {
|
|
|
50
50
|
splitButton: "_1e0c116y _kqswh2mm _4cvr1h6o _o5721q9c",
|
|
51
51
|
primaryButton: "_traeidpf _anlpidpf _p9ykidpf _bepvidpf",
|
|
52
52
|
secondaryButton: "_1j4hidpf _1553idpf _1qgbidpf _y1n3idpf",
|
|
53
|
-
defaultAppearanceContainer: "
|
|
53
|
+
defaultAppearanceContainer: "_2rkofajl _12jimuej _1cwg1n1a _1qu2nqa1 _12y3t94y",
|
|
54
54
|
defaultAppearanceDisabledContainer: "_12ji13gt"
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._14mj1kw7:after{border-radius:inherit}
|
|
4
|
-
.
|
|
4
|
+
._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
|
|
5
5
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
6
6
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
7
7
|
._v5649dqc{transition:background .1s ease-out}
|
|
@@ -22,7 +22,7 @@ var styles = {
|
|
|
22
22
|
disabled: "_80om13gf _bfhksyzs _syaz1lh4 _aetrglyw _irr3syzs _30l31lh4 _1di6syzs _9h8h1lh4",
|
|
23
23
|
spacingCompact: "_1rjcv77o _gy1p1b66 _y4tiutpp _bozgutpp _s7n4nkob _4t3i1k8s _1bsb1k8s",
|
|
24
24
|
iconButton: "_4t3iviql _1bsbviql _y4tize3t _bozgze3t",
|
|
25
|
-
circle: "
|
|
25
|
+
circle: "_2rko1rr0"
|
|
26
26
|
};
|
|
27
27
|
var defaultStyles = {
|
|
28
28
|
root: "_bfhk1j54 _syaz10s3 _105310s3 _f8pj10s3 _irr3yw9d _30l310s3 _1di6ip91 _9h8h10s3",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._14mj1kw7:after{border-radius:inherit}
|
|
4
|
-
.
|
|
4
|
+
._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
|
|
5
5
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
6
6
|
._9v7aze3t:after{inset:var(--ds-space-0,0)}
|
|
7
7
|
._v5649dqc{transition:background .1s ease-out}
|
|
@@ -23,7 +23,7 @@ var styles = {
|
|
|
23
23
|
disabled: "_80om13gf _syaz1lh4 _30l31lh4 _9h8h1lh4",
|
|
24
24
|
sharedDisabled: "_bfhk1fvb _irr31fvb _1di61fvb",
|
|
25
25
|
spacingCompact: "_1rjcv77o _gy1p1b66 _4t3i1k8s _y4tiutpp _bozgutpp _s7n4nkob",
|
|
26
|
-
circle: "
|
|
26
|
+
circle: "_2rko1rr0",
|
|
27
27
|
fullWidth: "_1bsb1osq",
|
|
28
28
|
loading: "_80om15jw",
|
|
29
29
|
iconButton: "_4t3iviql _1bsbviql _y4tize3t _bozgze3t",
|
|
@@ -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: "
|
|
128
|
+
packageVersion: "23.4.6",
|
|
129
129
|
analyticsData: analyticsContext
|
|
130
130
|
});
|
|
131
131
|
|
|
@@ -222,7 +222,7 @@ export function getCss(_ref3) {
|
|
|
222
222
|
// 0px margin added to css-reset
|
|
223
223
|
alignItems: 'baseline',
|
|
224
224
|
borderWidth: 0,
|
|
225
|
-
borderRadius: "var(--ds-
|
|
225
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
226
226
|
boxSizing: 'border-box',
|
|
227
227
|
display: 'inline-flex',
|
|
228
228
|
fontSize: 'inherit',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/button",
|
|
3
|
-
"version": "23.4.
|
|
3
|
+
"version": "23.4.7",
|
|
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/"
|
|
@@ -75,16 +75,16 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
78
|
-
"@atlaskit/css": "^0.
|
|
78
|
+
"@atlaskit/css": "^0.14.0",
|
|
79
79
|
"@atlaskit/ds-lib": "^5.0.0",
|
|
80
80
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
81
81
|
"@atlaskit/icon": "^28.1.0",
|
|
82
82
|
"@atlaskit/interaction-context": "^3.0.0",
|
|
83
83
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
84
|
-
"@atlaskit/primitives": "^14.
|
|
84
|
+
"@atlaskit/primitives": "^14.14.0",
|
|
85
85
|
"@atlaskit/spinner": "^19.0.0",
|
|
86
86
|
"@atlaskit/theme": "^20.0.0",
|
|
87
|
-
"@atlaskit/tokens": "^6.
|
|
87
|
+
"@atlaskit/tokens": "^6.3.0",
|
|
88
88
|
"@atlaskit/tooltip": "^20.4.0",
|
|
89
89
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
90
90
|
"@babel/runtime": "^7.0.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@atlaskit/checkbox": "^17.1.0",
|
|
103
103
|
"@atlaskit/docs": "^11.0.0",
|
|
104
104
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
105
|
-
"@atlaskit/form": "^12.
|
|
105
|
+
"@atlaskit/form": "^12.5.0",
|
|
106
106
|
"@atlaskit/heading": "^5.2.0",
|
|
107
107
|
"@atlaskit/link": "^3.2.0",
|
|
108
108
|
"@atlaskit/logo": "^19.7.0",
|