@atlaskit/button 23.5.3 → 23.6.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 +19 -0
- package/dist/cjs/new-button/containers/split-button/split-button.compiled.css +2 -6
- package/dist/cjs/new-button/containers/split-button/split-button.js +7 -14
- package/dist/cjs/new-button/variants/default/link.compiled.css +41 -68
- package/dist/cjs/new-button/variants/default/link.js +12 -22
- package/dist/cjs/new-button/variants/icon/link.compiled.css +30 -52
- package/dist/cjs/new-button/variants/icon/link.js +9 -17
- package/dist/cjs/new-button/variants/shared/button-base.compiled.css +14 -25
- package/dist/cjs/new-button/variants/shared/button-base.js +11 -17
- package/dist/cjs/old-button/shared/button-base.js +1 -1
- package/dist/cjs/old-button/shared/css.js +46 -129
- package/dist/es2019/new-button/containers/split-button/split-button.compiled.css +2 -6
- package/dist/es2019/new-button/containers/split-button/split-button.js +7 -14
- package/dist/es2019/new-button/variants/default/link.compiled.css +41 -68
- package/dist/es2019/new-button/variants/default/link.js +12 -22
- package/dist/es2019/new-button/variants/icon/link.compiled.css +30 -52
- package/dist/es2019/new-button/variants/icon/link.js +9 -17
- package/dist/es2019/new-button/variants/shared/button-base.compiled.css +14 -25
- package/dist/es2019/new-button/variants/shared/button-base.js +11 -17
- package/dist/es2019/old-button/shared/button-base.js +1 -1
- package/dist/es2019/old-button/shared/css.js +32 -132
- package/dist/esm/new-button/containers/split-button/split-button.compiled.css +2 -6
- package/dist/esm/new-button/containers/split-button/split-button.js +7 -14
- package/dist/esm/new-button/variants/default/link.compiled.css +41 -68
- package/dist/esm/new-button/variants/default/link.js +12 -22
- package/dist/esm/new-button/variants/icon/link.compiled.css +30 -52
- package/dist/esm/new-button/variants/icon/link.js +9 -17
- package/dist/esm/new-button/variants/shared/button-base.compiled.css +14 -25
- package/dist/esm/new-button/variants/shared/button-base.js +11 -17
- package/dist/esm/old-button/shared/button-base.js +1 -1
- package/dist/esm/old-button/shared/css.js +46 -129
- package/dist/types/old-button/shared/css.d.ts +1 -1
- package/dist/types-ts4.5/old-button/shared/css.d.ts +1 -1
- package/package.json +8 -11
- package/dist/cjs/old-button/shared/colors.js +0 -328
- package/dist/es2019/old-button/shared/colors.js +0 -320
- package/dist/esm/old-button/shared/colors.js +0 -320
- package/dist/types/old-button/shared/colors.d.ts +0 -23
- package/dist/types-ts4.5/old-button/shared/colors.d.ts +0 -23
|
@@ -3,8 +3,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
5
|
import { css } from '@emotion/react';
|
|
6
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
|
-
import colors from './colors';
|
|
8
6
|
var gridSize = 8;
|
|
9
7
|
var HAS_DISABLED_BACKGROUND = ['default', 'primary', 'danger', 'warning'];
|
|
10
8
|
|
|
@@ -62,16 +60,16 @@ var defaultAfterStyles = {
|
|
|
62
60
|
};
|
|
63
61
|
var defaultStyles = {
|
|
64
62
|
background: "var(--ds-background-neutral-subtle, #00000000)",
|
|
65
|
-
color: "var(--ds-text, #
|
|
63
|
+
color: "var(--ds-text, #292A2E)",
|
|
66
64
|
'&::after': _objectSpread(_objectSpread({}, defaultAfterStyles), {}, {
|
|
67
65
|
content: '""',
|
|
68
|
-
borderColor: "var(--ds-border, #
|
|
66
|
+
borderColor: "var(--ds-border, #0B120E24)"
|
|
69
67
|
}),
|
|
70
68
|
'&:hover': {
|
|
71
|
-
background: "var(--ds-background-neutral-hovered, #
|
|
69
|
+
background: "var(--ds-background-neutral-hovered, #0B120E24)"
|
|
72
70
|
},
|
|
73
71
|
'&:active': {
|
|
74
|
-
background: "var(--ds-background-neutral-pressed, #
|
|
72
|
+
background: "var(--ds-background-neutral-pressed, #080F214A)"
|
|
75
73
|
},
|
|
76
74
|
'&[data-has-overlay="true"]:not([disabled]):hover': {
|
|
77
75
|
background: "var(--ds-background-neutral-subtle, #00000000)"
|
|
@@ -87,38 +85,38 @@ var defaultStyles = {
|
|
|
87
85
|
}
|
|
88
86
|
};
|
|
89
87
|
var primaryStyles = {
|
|
90
|
-
background: "var(--ds-background-brand-bold, #
|
|
88
|
+
background: "var(--ds-background-brand-bold, #1868DB)",
|
|
91
89
|
color: "var(--ds-text-inverse, #FFFFFF)",
|
|
92
90
|
'&:hover': {
|
|
93
|
-
background: "var(--ds-background-brand-bold-hovered, #
|
|
91
|
+
background: "var(--ds-background-brand-bold-hovered, #1558BC)"
|
|
94
92
|
},
|
|
95
93
|
'&:active': {
|
|
96
|
-
background: "var(--ds-background-brand-bold-pressed, #
|
|
94
|
+
background: "var(--ds-background-brand-bold-pressed, #144794)"
|
|
97
95
|
},
|
|
98
96
|
'&[data-has-overlay="true"]:not([disabled]):hover': {
|
|
99
|
-
background: "var(--ds-background-brand-bold, #
|
|
97
|
+
background: "var(--ds-background-brand-bold, #1868DB)"
|
|
100
98
|
}
|
|
101
99
|
};
|
|
102
100
|
var linkStyles = {
|
|
103
101
|
background: 'transparent',
|
|
104
|
-
color: "var(--ds-link, #
|
|
102
|
+
color: "var(--ds-link, #1868DB)",
|
|
105
103
|
'&:hover': {
|
|
106
|
-
color: "var(--ds-link, #
|
|
104
|
+
color: "var(--ds-link, #1868DB)",
|
|
107
105
|
textDecoration: 'underline'
|
|
108
106
|
},
|
|
109
107
|
'&:active': {
|
|
110
|
-
color: "var(--ds-link-pressed, #
|
|
108
|
+
color: "var(--ds-link-pressed, #1558BC)",
|
|
111
109
|
textDecoration: 'underline'
|
|
112
110
|
}
|
|
113
111
|
};
|
|
114
112
|
var subtleStyles = {
|
|
115
113
|
background: 'transparent',
|
|
116
|
-
color: "var(--ds-text-subtle, #
|
|
114
|
+
color: "var(--ds-text-subtle, #505258)",
|
|
117
115
|
'&:hover': {
|
|
118
|
-
background: "var(--ds-background-neutral-subtle-hovered, #
|
|
116
|
+
background: "var(--ds-background-neutral-subtle-hovered, #0515240F)"
|
|
119
117
|
},
|
|
120
118
|
'&:active': {
|
|
121
|
-
background: "var(--ds-background-neutral-subtle-pressed, #
|
|
119
|
+
background: "var(--ds-background-neutral-subtle-pressed, #0B120E24)"
|
|
122
120
|
},
|
|
123
121
|
'&[data-has-overlay="true"]:not([disabled]):hover': {
|
|
124
122
|
background: 'transparent'
|
|
@@ -126,29 +124,29 @@ var subtleStyles = {
|
|
|
126
124
|
};
|
|
127
125
|
var subtleLinkStyles = {
|
|
128
126
|
background: 'transparent',
|
|
129
|
-
color: "var(--ds-text-subtle, #
|
|
127
|
+
color: "var(--ds-text-subtle, #505258)",
|
|
130
128
|
'&:hover': {
|
|
131
129
|
background: 'transparent',
|
|
132
|
-
color: "var(--ds-text-subtle, #
|
|
130
|
+
color: "var(--ds-text-subtle, #505258)",
|
|
133
131
|
textDecoration: 'underline'
|
|
134
132
|
},
|
|
135
133
|
'&:active': {
|
|
136
134
|
background: 'transparent',
|
|
137
|
-
color: "var(--ds-text, #
|
|
135
|
+
color: "var(--ds-text, #292A2E)",
|
|
138
136
|
textDecoration: 'underline'
|
|
139
137
|
}
|
|
140
138
|
};
|
|
141
139
|
var warningStyles = {
|
|
142
|
-
background: "var(--ds-background-warning-bold, #
|
|
143
|
-
color: "var(--ds-text-warning-inverse, #
|
|
140
|
+
background: "var(--ds-background-warning-bold, #FBC828)",
|
|
141
|
+
color: "var(--ds-text-warning-inverse, #292A2E)",
|
|
144
142
|
'&:hover': {
|
|
145
|
-
background: "var(--ds-background-warning-bold-hovered, #
|
|
143
|
+
background: "var(--ds-background-warning-bold-hovered, #FCA700)"
|
|
146
144
|
},
|
|
147
145
|
'&:active': {
|
|
148
|
-
background: "var(--ds-background-warning-bold-pressed, #
|
|
146
|
+
background: "var(--ds-background-warning-bold-pressed, #F68909)"
|
|
149
147
|
},
|
|
150
148
|
'&[data-has-overlay="true"]:not([disabled]):hover': {
|
|
151
|
-
background: "var(--ds-background-warning-bold, #
|
|
149
|
+
background: "var(--ds-background-warning-bold, #FBC828)"
|
|
152
150
|
}
|
|
153
151
|
};
|
|
154
152
|
var dangerStyles = {
|
|
@@ -158,18 +156,18 @@ var dangerStyles = {
|
|
|
158
156
|
background: "var(--ds-background-danger-bold-hovered, #AE2E24)"
|
|
159
157
|
},
|
|
160
158
|
'&:active': {
|
|
161
|
-
background: "var(--ds-background-danger-bold-pressed, #
|
|
159
|
+
background: "var(--ds-background-danger-bold-pressed, #872821)"
|
|
162
160
|
},
|
|
163
161
|
'&[data-has-overlay="true"]:not([disabled]):hover': {
|
|
164
162
|
background: "var(--ds-background-danger-bold, #C9372C)"
|
|
165
163
|
}
|
|
166
164
|
};
|
|
167
165
|
var selectedStyles = {
|
|
168
|
-
background: "var(--ds-background-selected, #
|
|
169
|
-
color: "var(--ds-text-selected, #
|
|
166
|
+
background: "var(--ds-background-selected, #E9F2FE)",
|
|
167
|
+
color: "var(--ds-text-selected, #1868DB)",
|
|
170
168
|
'&:not([disabled])::after': _objectSpread(_objectSpread({}, defaultAfterStyles), {}, {
|
|
171
169
|
content: '""',
|
|
172
|
-
borderColor: "var(--ds-border-selected, #
|
|
170
|
+
borderColor: "var(--ds-border-selected, #1868DB)"
|
|
173
171
|
})
|
|
174
172
|
};
|
|
175
173
|
var hasOverlayStyles = {
|
|
@@ -178,44 +176,13 @@ var hasOverlayStyles = {
|
|
|
178
176
|
textDecoration: 'none'
|
|
179
177
|
}
|
|
180
178
|
};
|
|
181
|
-
function
|
|
182
|
-
var
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
function getColors(_ref2) {
|
|
189
|
-
var appearance = _ref2.appearance,
|
|
190
|
-
key = _ref2.key,
|
|
191
|
-
mode = _ref2.mode;
|
|
192
|
-
return {
|
|
193
|
-
background: getColor({
|
|
194
|
-
group: colors.background[appearance],
|
|
195
|
-
key: key,
|
|
196
|
-
mode: mode
|
|
197
|
-
}),
|
|
198
|
-
// Needing to add !important to overcome specificity issue caused by deprecated AtlaskitThemeProvider
|
|
199
|
-
color: "".concat(getColor({
|
|
200
|
-
group: colors.color[appearance],
|
|
201
|
-
key: key,
|
|
202
|
-
mode: mode
|
|
203
|
-
}), " !important")
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
export function getCss(_ref3) {
|
|
207
|
-
var appearance = _ref3.appearance,
|
|
208
|
-
spacing = _ref3.spacing,
|
|
209
|
-
mode = _ref3.mode,
|
|
210
|
-
isSelected = _ref3.isSelected,
|
|
211
|
-
shouldFitContainer = _ref3.shouldFitContainer,
|
|
212
|
-
isOnlySingleIcon = _ref3.isOnlySingleIcon;
|
|
213
|
-
var baseColors = getColors({
|
|
214
|
-
appearance: appearance,
|
|
215
|
-
key: isSelected ? 'selected' : 'default',
|
|
216
|
-
mode: mode
|
|
217
|
-
});
|
|
218
|
-
return _objectSpread(_objectSpread(_objectSpread(_objectSpread({
|
|
179
|
+
export function getCss(_ref) {
|
|
180
|
+
var appearance = _ref.appearance,
|
|
181
|
+
spacing = _ref.spacing,
|
|
182
|
+
isSelected = _ref.isSelected,
|
|
183
|
+
shouldFitContainer = _ref.shouldFitContainer,
|
|
184
|
+
isOnlySingleIcon = _ref.isOnlySingleIcon;
|
|
185
|
+
return _objectSpread(_objectSpread({
|
|
219
186
|
// 0px margin added to css-reset
|
|
220
187
|
alignItems: 'baseline',
|
|
221
188
|
borderWidth: 0,
|
|
@@ -234,8 +201,7 @@ export function getCss(_ref3) {
|
|
|
234
201
|
textAlign: 'center',
|
|
235
202
|
textDecoration: 'none',
|
|
236
203
|
transition: 'background 0.1s ease-out, box-shadow 0.15s cubic-bezier(0.47, 0.03, 0.49, 1.38)',
|
|
237
|
-
whiteSpace: 'nowrap'
|
|
238
|
-
}, !fg('platform-component-visual-refresh') && baseColors), {}, {
|
|
204
|
+
whiteSpace: 'nowrap',
|
|
239
205
|
cursor: 'pointer',
|
|
240
206
|
height: heights[spacing],
|
|
241
207
|
lineHeight: lineHeights[spacing],
|
|
@@ -244,69 +210,20 @@ export function getCss(_ref3) {
|
|
|
244
210
|
width: shouldFitContainer ? '100%' : 'auto',
|
|
245
211
|
// justifyContent required for shouldFitContainer buttons with an icon inside
|
|
246
212
|
justifyContent: 'center'
|
|
247
|
-
},
|
|
248
|
-
// Disabling visited styles (just using the base colors)
|
|
249
|
-
'&:visited': _objectSpread({}, baseColors),
|
|
250
|
-
'&:hover': _objectSpread(_objectSpread({}, getColors({
|
|
251
|
-
appearance: appearance,
|
|
252
|
-
key: isSelected ? 'selected' : 'hover',
|
|
253
|
-
mode: mode
|
|
254
|
-
})), {}, {
|
|
255
|
-
textDecoration: !isSelected && (appearance === 'link' || appearance === 'subtle-link') ? 'underline' : 'inherit',
|
|
256
|
-
// background, box-shadow
|
|
257
|
-
transitionDuration: '0s, 0.15s'
|
|
258
|
-
}),
|
|
259
|
-
// giving active styles preference by listing them after focus
|
|
260
|
-
'&:active': _objectSpread(_objectSpread({}, getColors({
|
|
261
|
-
appearance: appearance,
|
|
262
|
-
key: isSelected ? 'selected' : 'active',
|
|
263
|
-
mode: mode
|
|
264
|
-
})), {}, {
|
|
265
|
-
// background, box-shadow
|
|
266
|
-
transitionDuration: '0s, 0s'
|
|
267
|
-
}),
|
|
268
|
-
// preventDefault prevents regular active styles from applying in Firefox
|
|
269
|
-
'&[data-firefox-is-active="true"]': _objectSpread(_objectSpread({}, getColors({
|
|
270
|
-
appearance: appearance,
|
|
271
|
-
key: isSelected ? 'selected' : 'active',
|
|
272
|
-
mode: mode
|
|
273
|
-
})), {}, {
|
|
274
|
-
// background, box-shadow
|
|
275
|
-
transitionDuration: '0s, 0s'
|
|
276
|
-
}),
|
|
277
|
-
// Giving disabled styles preference over active by listing them after.
|
|
278
|
-
// Not using '&:disabled' because :disabled is not a valid state for all element types
|
|
279
|
-
// so we are targeting the attribute
|
|
280
|
-
// Attributes have the same specificity a pseudo classes so we are overriding :disabled here
|
|
281
|
-
'&[disabled]': _objectSpread(_objectSpread({}, getColors({
|
|
282
|
-
appearance: appearance,
|
|
283
|
-
key: 'disabled',
|
|
284
|
-
mode: mode
|
|
285
|
-
})), {}, {
|
|
286
|
-
cursor: 'not-allowed',
|
|
287
|
-
textDecoration: 'none'
|
|
288
|
-
})
|
|
289
|
-
}, hasOverlayStyles), {}, {
|
|
290
|
-
// disabling hover and active color changes when there is an overlay, but the button is not disabled
|
|
291
|
-
'&[data-has-overlay="true"]:not([disabled]):hover, &[data-has-overlay="true"]:not([disabled]):active': _objectSpread({}, getColors({
|
|
292
|
-
appearance: appearance,
|
|
293
|
-
key: isSelected ? 'selected' : 'default',
|
|
294
|
-
mode: mode
|
|
295
|
-
}))
|
|
296
|
-
})), fg('platform-component-visual-refresh') && (isSelected ? selectedStyles : _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, appearance === 'default' && defaultStyles), appearance === 'primary' && primaryStyles), appearance === 'link' && linkStyles), appearance === 'subtle' && subtleStyles), appearance === 'subtle-link' && subtleLinkStyles), appearance === 'warning' && warningStyles), appearance === 'danger' && dangerStyles), {}, {
|
|
213
|
+
}, isSelected ? selectedStyles : _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, appearance === 'default' && defaultStyles), appearance === 'primary' && primaryStyles), appearance === 'link' && linkStyles), appearance === 'subtle' && subtleStyles), appearance === 'subtle-link' && subtleLinkStyles), appearance === 'warning' && warningStyles), appearance === 'danger' && dangerStyles), {}, {
|
|
297
214
|
'&[disabled]': {
|
|
298
|
-
color: "var(--ds-text-disabled, #
|
|
299
|
-
backgroundColor: HAS_DISABLED_BACKGROUND.includes(appearance) ? "var(--ds-background-disabled, #
|
|
215
|
+
color: "var(--ds-text-disabled, #080F214A)",
|
|
216
|
+
backgroundColor: HAS_DISABLED_BACKGROUND.includes(appearance) ? "var(--ds-background-disabled, #17171708)" : 'transparent',
|
|
300
217
|
cursor: 'not-allowed',
|
|
301
218
|
textDecoration: 'none',
|
|
302
219
|
'&:hovered': {
|
|
303
|
-
backgroundColor: HAS_DISABLED_BACKGROUND.includes(appearance) ? "var(--ds-background-disabled, #
|
|
220
|
+
backgroundColor: HAS_DISABLED_BACKGROUND.includes(appearance) ? "var(--ds-background-disabled, #17171708)" : 'transparent'
|
|
304
221
|
},
|
|
305
222
|
'&:active': {
|
|
306
|
-
backgroundColor: HAS_DISABLED_BACKGROUND.includes(appearance) ? "var(--ds-background-disabled, #
|
|
223
|
+
backgroundColor: HAS_DISABLED_BACKGROUND.includes(appearance) ? "var(--ds-background-disabled, #17171708)" : 'transparent'
|
|
307
224
|
}
|
|
308
225
|
}
|
|
309
|
-
}, hasOverlayStyles))
|
|
226
|
+
}, hasOverlayStyles)), {}, {
|
|
310
227
|
'&::-moz-focus-inner': {
|
|
311
228
|
border: 0,
|
|
312
229
|
margin: 0,
|
|
@@ -316,8 +233,8 @@ export function getCss(_ref3) {
|
|
|
316
233
|
}
|
|
317
234
|
|
|
318
235
|
// inline-flex child
|
|
319
|
-
export function getIconStyle(
|
|
320
|
-
var spacing =
|
|
236
|
+
export function getIconStyle(_ref2) {
|
|
237
|
+
var spacing = _ref2.spacing;
|
|
321
238
|
return css({
|
|
322
239
|
display: 'flex',
|
|
323
240
|
// icon size cannot grow and shrink
|
|
@@ -335,8 +252,8 @@ export function getIconStyle(_ref4) {
|
|
|
335
252
|
}
|
|
336
253
|
|
|
337
254
|
// inline-flex child
|
|
338
|
-
export function getContentStyle(
|
|
339
|
-
var spacing =
|
|
255
|
+
export function getContentStyle(_ref3) {
|
|
256
|
+
var spacing = _ref3.spacing;
|
|
340
257
|
return css({
|
|
341
258
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
342
259
|
margin: spacing === 'none' ? 0 : innerMargin.content,
|
|
@@ -349,8 +266,8 @@ export function getContentStyle(_ref5) {
|
|
|
349
266
|
whiteSpace: 'nowrap'
|
|
350
267
|
});
|
|
351
268
|
}
|
|
352
|
-
export function getFadingCss(
|
|
353
|
-
var hasOverlay =
|
|
269
|
+
export function getFadingCss(_ref4) {
|
|
270
|
+
var hasOverlay = _ref4.hasOverlay;
|
|
354
271
|
return css({
|
|
355
272
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
356
273
|
opacity: hasOverlay ? 0 : 1,
|
|
@@ -9,7 +9,7 @@ type GetCssArgs = {
|
|
|
9
9
|
shouldFitContainer: boolean;
|
|
10
10
|
isOnlySingleIcon: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare function getCss({ appearance, spacing,
|
|
12
|
+
export declare function getCss({ appearance, spacing, isSelected, shouldFitContainer, isOnlySingleIcon, }: GetCssArgs): CSSObject;
|
|
13
13
|
export declare function getIconStyle({ spacing }: {
|
|
14
14
|
spacing: Spacing;
|
|
15
15
|
}): import("@emotion/react").SerializedStyles;
|
|
@@ -9,7 +9,7 @@ type GetCssArgs = {
|
|
|
9
9
|
shouldFitContainer: boolean;
|
|
10
10
|
isOnlySingleIcon: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare function getCss({ appearance, spacing,
|
|
12
|
+
export declare function getCss({ appearance, spacing, isSelected, shouldFitContainer, isOnlySingleIcon, }: GetCssArgs): CSSObject;
|
|
13
13
|
export declare function getIconStyle({ spacing }: {
|
|
14
14
|
spacing: Spacing;
|
|
15
15
|
}): import("@emotion/react").SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/button",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.6.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/"
|
|
@@ -76,16 +76,16 @@
|
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
78
78
|
"@atlaskit/css": "^0.15.0",
|
|
79
|
-
"@atlaskit/ds-lib": "^5.
|
|
79
|
+
"@atlaskit/ds-lib": "^5.2.0",
|
|
80
80
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
81
81
|
"@atlaskit/icon": "^28.5.0",
|
|
82
82
|
"@atlaskit/interaction-context": "^3.1.0",
|
|
83
83
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
84
|
-
"@atlaskit/primitives": "^16.
|
|
84
|
+
"@atlaskit/primitives": "^16.1.0",
|
|
85
85
|
"@atlaskit/spinner": "^19.0.0",
|
|
86
86
|
"@atlaskit/theme": "^21.0.0",
|
|
87
|
-
"@atlaskit/tokens": "^
|
|
88
|
-
"@atlaskit/tooltip": "^20.
|
|
87
|
+
"@atlaskit/tokens": "^8.0.0",
|
|
88
|
+
"@atlaskit/tooltip": "^20.8.0",
|
|
89
89
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
90
90
|
"@babel/runtime": "^7.0.0",
|
|
91
91
|
"@compiled/react": "^0.18.6",
|
|
@@ -106,12 +106,12 @@
|
|
|
106
106
|
"@atlaskit/heading": "^5.2.0",
|
|
107
107
|
"@atlaskit/link": "^3.2.0",
|
|
108
108
|
"@atlaskit/logo": "^19.9.0",
|
|
109
|
-
"@atlaskit/modal-dialog": "^14.
|
|
110
|
-
"@atlaskit/section-message": "^8.
|
|
109
|
+
"@atlaskit/modal-dialog": "^14.6.0",
|
|
110
|
+
"@atlaskit/section-message": "^8.9.0",
|
|
111
111
|
"@atlaskit/select": "^21.3.0",
|
|
112
112
|
"@atlaskit/ssr": "workspace:^",
|
|
113
113
|
"@atlaskit/toggle": "^15.1.0",
|
|
114
|
-
"@atlassian/ssr-tests": "
|
|
114
|
+
"@atlassian/ssr-tests": "workspace:^",
|
|
115
115
|
"@testing-library/react": "^13.4.0",
|
|
116
116
|
"@testing-library/user-event": "^14.4.3",
|
|
117
117
|
"ast-types": "^0.13.3",
|
|
@@ -121,9 +121,6 @@
|
|
|
121
121
|
},
|
|
122
122
|
"homepage": "https://atlassian.design/components/button/",
|
|
123
123
|
"platform-feature-flags": {
|
|
124
|
-
"platform-component-visual-refresh": {
|
|
125
|
-
"type": "boolean"
|
|
126
|
-
},
|
|
127
124
|
"platform_dst_button_chevron_sizing": {
|
|
128
125
|
"type": "boolean"
|
|
129
126
|
}
|