@equinor/eds-core-react 0.19.0-dev.20220404 → 0.19.0-dev.202205096
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/README.md +18 -19
- package/dist/eds-core-react.cjs.js +85 -87
- package/dist/esm/components/Accordion/Accordion.js +1 -1
- package/dist/esm/components/Banner/Banner.js +2 -2
- package/dist/esm/components/Banner/BannerMessage.js +1 -1
- package/dist/esm/components/Breadcrumbs/Breadcrumb.js +2 -2
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/esm/components/Button/Button.js +2 -2
- package/dist/esm/components/Button/InnerFullWidth.js +1 -1
- package/dist/esm/components/Button/tokens/contained.js +1 -1
- package/dist/esm/components/Button/tokens/ghost.js +1 -1
- package/dist/esm/components/Button/tokens/icon.js +1 -1
- package/dist/esm/components/Button/tokens/outlined.js +1 -1
- package/dist/esm/components/Card/CardActions.js +1 -1
- package/dist/esm/components/Card/CardHeader.js +1 -1
- package/dist/esm/components/Checkbox/Input.js +1 -1
- package/dist/esm/components/Dialog/Dialog.js +2 -2
- package/dist/esm/components/Dialog/DialogContent.js +1 -1
- package/dist/esm/components/Dialog/DialogHeader.js +1 -1
- package/dist/esm/components/Input/Input.js +1 -1
- package/dist/esm/components/Input/Input.tokens.js +1 -1
- package/dist/esm/components/Menu/Menu.context.js +1 -1
- package/dist/esm/components/Menu/Menu.js +2 -2
- package/dist/esm/components/Menu/MenuItem.js +3 -3
- package/dist/esm/components/Menu/MenuSection.js +1 -1
- package/dist/esm/components/Pagination/Pagination.js +2 -2
- package/dist/esm/components/Pagination/PaginationItem.js +1 -1
- package/dist/esm/components/Popover/Popover.js +2 -3
- package/dist/esm/components/Popover/PopoverHeader.js +1 -1
- package/dist/esm/components/Radio/Radio.js +1 -1
- package/dist/esm/components/Search/Search.js +4 -4
- package/dist/esm/components/Select/MultiSelect/MultiSelect.js +4 -3
- package/dist/esm/components/Select/NativeSelect/NativeSelect.js +2 -2
- package/dist/esm/components/Select/Select.tokens.js +1 -1
- package/dist/esm/components/Select/SingleSelect/SingleSelect.js +2 -2
- package/dist/esm/components/Select/commonStyles.js +2 -2
- package/dist/esm/components/SideSheet/SideSheet.js +2 -3
- package/dist/esm/components/Slider/Slider.js +39 -8
- package/dist/esm/components/Snackbar/Snackbar.js +1 -1
- package/dist/esm/components/Switch/Switch.js +1 -1
- package/dist/esm/components/Table/Cell.js +2 -2
- package/dist/esm/components/Table/DataCell/DataCell.js +1 -1
- package/dist/esm/components/Table/DataCell/DataCell.tokens.js +1 -1
- package/dist/esm/components/Table/HeaderCell/HeaderCell.js +1 -1
- package/dist/esm/components/Table/index.js +1 -1
- package/dist/esm/components/TableOfContents/TableOfContents.js +2 -2
- package/dist/esm/components/Tabs/TabList.js +1 -1
- package/dist/esm/components/Tabs/Tabs.js +1 -1
- package/dist/esm/components/TextField/Field.js +3 -3
- package/dist/esm/components/TextField/HelperText/HelperText.js +1 -1
- package/dist/esm/components/TextField/TextField.js +3 -3
- package/dist/esm/components/Textarea/Textarea.js +2 -2
- package/dist/esm/components/TopBar/TopBar.js +1 -1
- package/dist/esm/index.js +15 -15
- package/dist/esm/node_modules/.pnpm/{ramda@0.27.2/node_modules/ramda/src → ramda@0.28.0/node_modules/ramda/es}/internal/_curry1.js +2 -5
- package/dist/esm/node_modules/.pnpm/{ramda@0.27.2/node_modules/ramda/src → ramda@0.28.0/node_modules/ramda/es}/internal/_curry2.js +3 -7
- package/dist/esm/node_modules/.pnpm/{ramda@0.27.2/node_modules/ramda/src → ramda@0.28.0/node_modules/ramda/es}/internal/_curry3.js +4 -9
- package/dist/esm/node_modules/.pnpm/{ramda@0.27.2/node_modules/ramda/src → ramda@0.28.0/node_modules/ramda/es}/internal/_has.js +1 -3
- package/dist/esm/node_modules/.pnpm/{ramda@0.27.2/node_modules/ramda/src → ramda@0.28.0/node_modules/ramda/es}/internal/_isObject.js +1 -3
- package/dist/esm/node_modules/.pnpm/{ramda@0.27.2/node_modules/ramda/src → ramda@0.28.0/node_modules/ramda/es}/internal/_isPlaceholder.js +1 -3
- package/dist/esm/node_modules/.pnpm/{ramda@0.27.2/node_modules/ramda/src → ramda@0.28.0/node_modules/ramda/es}/mergeDeepRight.js +3 -8
- package/dist/esm/node_modules/.pnpm/{ramda@0.27.2/node_modules/ramda/src → ramda@0.28.0/node_modules/ramda/es}/mergeDeepWithKey.js +4 -9
- package/dist/esm/node_modules/.pnpm/{ramda@0.27.2/node_modules/ramda/src → ramda@0.28.0/node_modules/ramda/es}/mergeWithKey.js +3 -7
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/Checkbox/Input.d.ts +1 -1
- package/dist/types/components/Icon/Icon.d.ts +1 -1
- package/dist/types/components/Menu/MenuItem.d.ts +2 -2
- package/dist/types/components/Progress/Circular/CircularProgress.d.ts +1 -1
- package/dist/types/components/Progress/Dots/DotProgress.d.ts +1 -1
- package/dist/types/components/Progress/Star/StarProgress.d.ts +1 -1
- package/dist/types/components/Slider/Slider.d.ts +11 -11
- package/dist/types/components/Slider/SliderInput.d.ts +0 -6
- package/dist/types/components/Switch/Switch.d.ts +1 -1
- package/package.json +46 -42
package/README.md
CHANGED
|
@@ -55,31 +55,40 @@ render(<App />, document.getElementById('root'))
|
|
|
55
55
|
|
|
56
56
|
## Components
|
|
57
57
|
|
|
58
|
-
### Available ✅
|
|
59
|
-
|
|
60
58
|
- Accordion
|
|
59
|
+
- Avatar
|
|
61
60
|
- Banner
|
|
62
61
|
- Breadcrumbs
|
|
63
62
|
- Button
|
|
64
|
-
-
|
|
65
|
-
-
|
|
63
|
+
- Card
|
|
64
|
+
- Checkbox
|
|
65
|
+
- Chip
|
|
66
66
|
- Dialog
|
|
67
67
|
- Divider
|
|
68
|
+
- EdsProvider
|
|
68
69
|
- Icon
|
|
70
|
+
- Input
|
|
71
|
+
- Label
|
|
69
72
|
- List
|
|
70
73
|
- Menu
|
|
71
74
|
- Pagination
|
|
72
75
|
- Popover
|
|
73
|
-
- Progress
|
|
76
|
+
- Progress
|
|
77
|
+
- Circular
|
|
78
|
+
- Dots
|
|
79
|
+
- Linear
|
|
80
|
+
- Star
|
|
81
|
+
- Radio
|
|
74
82
|
- Scrim
|
|
75
83
|
- Search
|
|
76
|
-
- Select
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
84
|
+
- Select
|
|
85
|
+
- Native Select
|
|
86
|
+
- Single Select
|
|
87
|
+
- Multi Select
|
|
80
88
|
- Side Sheet
|
|
81
89
|
- Slider
|
|
82
90
|
- Snackbar
|
|
91
|
+
- Switch
|
|
83
92
|
- Table
|
|
84
93
|
- Table of contents
|
|
85
94
|
- Tabs
|
|
@@ -87,13 +96,3 @@ render(<App />, document.getElementById('root'))
|
|
|
87
96
|
- Tooltip
|
|
88
97
|
- TopBar
|
|
89
98
|
- Typography
|
|
90
|
-
|
|
91
|
-
### In progress 👷♀️
|
|
92
|
-
|
|
93
|
-
- Navigation Drawer
|
|
94
|
-
|
|
95
|
-
### TODO 🛠️
|
|
96
|
-
|
|
97
|
-
- App launcher
|
|
98
|
-
- Stepper
|
|
99
|
-
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var react = require('react');
|
|
6
6
|
var styled = require('styled-components');
|
|
7
7
|
var edsTokens = require('@equinor/eds-tokens');
|
|
8
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
9
8
|
var edsUtils = require('@equinor/eds-utils');
|
|
9
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
10
10
|
var edsIcons = require('@equinor/eds-icons');
|
|
11
11
|
var ReactDom = require('react-dom');
|
|
12
12
|
var downshift = require('downshift');
|
|
@@ -165,13 +165,10 @@ const button = {
|
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
167
|
|
|
168
|
-
function _isPlaceholder
|
|
168
|
+
function _isPlaceholder(a) {
|
|
169
169
|
return a != null && typeof a === 'object' && a['@@functional/placeholder'] === true;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
var _isPlaceholder_1 = _isPlaceholder$3;
|
|
173
|
-
|
|
174
|
-
var _isPlaceholder$2 = _isPlaceholder_1;
|
|
175
172
|
/**
|
|
176
173
|
* Optimized internal one-arity curry function.
|
|
177
174
|
*
|
|
@@ -181,9 +178,9 @@ var _isPlaceholder$2 = _isPlaceholder_1;
|
|
|
181
178
|
* @return {Function} The curried function.
|
|
182
179
|
*/
|
|
183
180
|
|
|
184
|
-
function _curry1
|
|
181
|
+
function _curry1(fn) {
|
|
185
182
|
return function f1(a) {
|
|
186
|
-
if (arguments.length === 0 || _isPlaceholder
|
|
183
|
+
if (arguments.length === 0 || _isPlaceholder(a)) {
|
|
187
184
|
return f1;
|
|
188
185
|
} else {
|
|
189
186
|
return fn.apply(this, arguments);
|
|
@@ -191,10 +188,6 @@ function _curry1$2(fn) {
|
|
|
191
188
|
};
|
|
192
189
|
}
|
|
193
190
|
|
|
194
|
-
var _curry1_1 = _curry1$2;
|
|
195
|
-
|
|
196
|
-
var _curry1$1 = _curry1_1;
|
|
197
|
-
var _isPlaceholder$1 = _isPlaceholder_1;
|
|
198
191
|
/**
|
|
199
192
|
* Optimized internal two-arity curry function.
|
|
200
193
|
*
|
|
@@ -204,32 +197,27 @@ var _isPlaceholder$1 = _isPlaceholder_1;
|
|
|
204
197
|
* @return {Function} The curried function.
|
|
205
198
|
*/
|
|
206
199
|
|
|
207
|
-
function _curry2
|
|
200
|
+
function _curry2(fn) {
|
|
208
201
|
return function f2(a, b) {
|
|
209
202
|
switch (arguments.length) {
|
|
210
203
|
case 0:
|
|
211
204
|
return f2;
|
|
212
205
|
|
|
213
206
|
case 1:
|
|
214
|
-
return _isPlaceholder
|
|
207
|
+
return _isPlaceholder(a) ? f2 : _curry1(function (_b) {
|
|
215
208
|
return fn(a, _b);
|
|
216
209
|
});
|
|
217
210
|
|
|
218
211
|
default:
|
|
219
|
-
return _isPlaceholder
|
|
212
|
+
return _isPlaceholder(a) && _isPlaceholder(b) ? f2 : _isPlaceholder(a) ? _curry1(function (_a) {
|
|
220
213
|
return fn(_a, b);
|
|
221
|
-
}) : _isPlaceholder
|
|
214
|
+
}) : _isPlaceholder(b) ? _curry1(function (_b) {
|
|
222
215
|
return fn(a, _b);
|
|
223
216
|
}) : fn(a, b);
|
|
224
217
|
}
|
|
225
218
|
};
|
|
226
219
|
}
|
|
227
220
|
|
|
228
|
-
var _curry2_1 = _curry2$2;
|
|
229
|
-
|
|
230
|
-
var _curry1 = _curry1_1;
|
|
231
|
-
var _curry2$1 = _curry2_1;
|
|
232
|
-
var _isPlaceholder = _isPlaceholder_1;
|
|
233
221
|
/**
|
|
234
222
|
* Optimized internal three-arity curry function.
|
|
235
223
|
*
|
|
@@ -239,32 +227,32 @@ var _isPlaceholder = _isPlaceholder_1;
|
|
|
239
227
|
* @return {Function} The curried function.
|
|
240
228
|
*/
|
|
241
229
|
|
|
242
|
-
function _curry3
|
|
230
|
+
function _curry3(fn) {
|
|
243
231
|
return function f3(a, b, c) {
|
|
244
232
|
switch (arguments.length) {
|
|
245
233
|
case 0:
|
|
246
234
|
return f3;
|
|
247
235
|
|
|
248
236
|
case 1:
|
|
249
|
-
return _isPlaceholder(a) ? f3 : _curry2
|
|
237
|
+
return _isPlaceholder(a) ? f3 : _curry2(function (_b, _c) {
|
|
250
238
|
return fn(a, _b, _c);
|
|
251
239
|
});
|
|
252
240
|
|
|
253
241
|
case 2:
|
|
254
|
-
return _isPlaceholder(a) && _isPlaceholder(b) ? f3 : _isPlaceholder(a) ? _curry2
|
|
242
|
+
return _isPlaceholder(a) && _isPlaceholder(b) ? f3 : _isPlaceholder(a) ? _curry2(function (_a, _c) {
|
|
255
243
|
return fn(_a, b, _c);
|
|
256
|
-
}) : _isPlaceholder(b) ? _curry2
|
|
244
|
+
}) : _isPlaceholder(b) ? _curry2(function (_b, _c) {
|
|
257
245
|
return fn(a, _b, _c);
|
|
258
246
|
}) : _curry1(function (_c) {
|
|
259
247
|
return fn(a, b, _c);
|
|
260
248
|
});
|
|
261
249
|
|
|
262
250
|
default:
|
|
263
|
-
return _isPlaceholder(a) && _isPlaceholder(b) && _isPlaceholder(c) ? f3 : _isPlaceholder(a) && _isPlaceholder(b) ? _curry2
|
|
251
|
+
return _isPlaceholder(a) && _isPlaceholder(b) && _isPlaceholder(c) ? f3 : _isPlaceholder(a) && _isPlaceholder(b) ? _curry2(function (_a, _b) {
|
|
264
252
|
return fn(_a, _b, c);
|
|
265
|
-
}) : _isPlaceholder(a) && _isPlaceholder(c) ? _curry2
|
|
253
|
+
}) : _isPlaceholder(a) && _isPlaceholder(c) ? _curry2(function (_a, _c) {
|
|
266
254
|
return fn(_a, b, _c);
|
|
267
|
-
}) : _isPlaceholder(b) && _isPlaceholder(c) ? _curry2
|
|
255
|
+
}) : _isPlaceholder(b) && _isPlaceholder(c) ? _curry2(function (_b, _c) {
|
|
268
256
|
return fn(a, _b, _c);
|
|
269
257
|
}) : _isPlaceholder(a) ? _curry1(function (_a) {
|
|
270
258
|
return fn(_a, b, c);
|
|
@@ -277,22 +265,14 @@ function _curry3$2(fn) {
|
|
|
277
265
|
};
|
|
278
266
|
}
|
|
279
267
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
function _isObject$1(x) {
|
|
283
|
-
return Object.prototype.toString.call(x) === '[object Object]';
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
var _isObject_1 = _isObject$1;
|
|
287
|
-
|
|
288
|
-
function _has$1(prop, obj) {
|
|
268
|
+
function _has(prop, obj) {
|
|
289
269
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
290
270
|
}
|
|
291
271
|
|
|
292
|
-
|
|
272
|
+
function _isObject(x) {
|
|
273
|
+
return Object.prototype.toString.call(x) === '[object Object]';
|
|
274
|
+
}
|
|
293
275
|
|
|
294
|
-
var _curry3$1 = _curry3_1;
|
|
295
|
-
var _has = _has_1;
|
|
296
276
|
/**
|
|
297
277
|
* Creates a new object with the own properties of the two provided objects. If
|
|
298
278
|
* a key exists in both objects, the provided function is applied to the key
|
|
@@ -319,7 +299,7 @@ var _has = _has_1;
|
|
|
319
299
|
* @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }
|
|
320
300
|
*/
|
|
321
301
|
|
|
322
|
-
var mergeWithKey
|
|
302
|
+
var mergeWithKey = /*#__PURE__*/_curry3(function mergeWithKey(fn, l, r) {
|
|
323
303
|
var result = {};
|
|
324
304
|
var k;
|
|
325
305
|
|
|
@@ -338,11 +318,6 @@ var mergeWithKey$1 = /*#__PURE__*/_curry3$1(function mergeWithKey(fn, l, r) {
|
|
|
338
318
|
return result;
|
|
339
319
|
});
|
|
340
320
|
|
|
341
|
-
var mergeWithKey_1 = mergeWithKey$1;
|
|
342
|
-
|
|
343
|
-
var _curry3 = _curry3_1;
|
|
344
|
-
var _isObject = _isObject_1;
|
|
345
|
-
var mergeWithKey = mergeWithKey_1;
|
|
346
321
|
/**
|
|
347
322
|
* Creates a new object with the own properties of the two provided objects.
|
|
348
323
|
* If a key exists in both objects:
|
|
@@ -372,7 +347,7 @@ var mergeWithKey = mergeWithKey_1;
|
|
|
372
347
|
* //=> { a: true, b: true, c: { thing: 'bar', values: [10, 20, 15, 35] }}
|
|
373
348
|
*/
|
|
374
349
|
|
|
375
|
-
var mergeDeepWithKey
|
|
350
|
+
var mergeDeepWithKey = /*#__PURE__*/_curry3(function mergeDeepWithKey(fn, lObj, rObj) {
|
|
376
351
|
return mergeWithKey(function (k, lVal, rVal) {
|
|
377
352
|
if (_isObject(lVal) && _isObject(rVal)) {
|
|
378
353
|
return mergeDeepWithKey(fn, lVal, rVal);
|
|
@@ -382,10 +357,6 @@ var mergeDeepWithKey$1 = /*#__PURE__*/_curry3(function mergeDeepWithKey(fn, lObj
|
|
|
382
357
|
}, lObj, rObj);
|
|
383
358
|
});
|
|
384
359
|
|
|
385
|
-
var mergeDeepWithKey_1 = mergeDeepWithKey$1;
|
|
386
|
-
|
|
387
|
-
var _curry2 = _curry2_1;
|
|
388
|
-
var mergeDeepWithKey = mergeDeepWithKey_1;
|
|
389
360
|
/**
|
|
390
361
|
* Creates a new object with the own properties of the first object merged with
|
|
391
362
|
* the own properties of the second object. If a key exists in both objects:
|
|
@@ -414,9 +385,6 @@ var mergeDeepRight = /*#__PURE__*/_curry2(function mergeDeepRight(lObj, rObj) {
|
|
|
414
385
|
}, lObj, rObj);
|
|
415
386
|
});
|
|
416
387
|
|
|
417
|
-
var mergeDeepRight_1 = mergeDeepRight;
|
|
418
|
-
var mergeDeepRight$1 = mergeDeepRight_1;
|
|
419
|
-
|
|
420
388
|
const {
|
|
421
389
|
colors: {
|
|
422
390
|
text: {
|
|
@@ -451,7 +419,7 @@ const {
|
|
|
451
419
|
}
|
|
452
420
|
}
|
|
453
421
|
} = edsTokens.tokens;
|
|
454
|
-
const primary$9 = mergeDeepRight
|
|
422
|
+
const primary$9 = mergeDeepRight(button, {
|
|
455
423
|
background: primaryColor$8,
|
|
456
424
|
typography: {
|
|
457
425
|
color: primaryWhite
|
|
@@ -469,7 +437,7 @@ const primary$9 = mergeDeepRight$1(button, {
|
|
|
469
437
|
}
|
|
470
438
|
}
|
|
471
439
|
});
|
|
472
|
-
const secondary$4 = mergeDeepRight
|
|
440
|
+
const secondary$4 = mergeDeepRight(primary$9, {
|
|
473
441
|
background: secondaryColor$3,
|
|
474
442
|
border: {
|
|
475
443
|
color: secondaryColor$3
|
|
@@ -483,7 +451,7 @@ const secondary$4 = mergeDeepRight$1(primary$9, {
|
|
|
483
451
|
}
|
|
484
452
|
}
|
|
485
453
|
});
|
|
486
|
-
const danger$5 = mergeDeepRight
|
|
454
|
+
const danger$5 = mergeDeepRight(primary$9, {
|
|
487
455
|
background: dangerColor$3,
|
|
488
456
|
border: {
|
|
489
457
|
color: dangerColor$3
|
|
@@ -536,7 +504,7 @@ const {
|
|
|
536
504
|
}
|
|
537
505
|
}
|
|
538
506
|
} = edsTokens.tokens;
|
|
539
|
-
const primary$8 = mergeDeepRight
|
|
507
|
+
const primary$8 = mergeDeepRight(button, {
|
|
540
508
|
typography: {
|
|
541
509
|
color: primaryColor$7
|
|
542
510
|
},
|
|
@@ -565,7 +533,7 @@ const primary$8 = mergeDeepRight$1(button, {
|
|
|
565
533
|
}
|
|
566
534
|
}
|
|
567
535
|
});
|
|
568
|
-
const secondary$3 = mergeDeepRight
|
|
536
|
+
const secondary$3 = mergeDeepRight(primary$8, {
|
|
569
537
|
typography: {
|
|
570
538
|
color: secondaryColor$2
|
|
571
539
|
},
|
|
@@ -584,7 +552,7 @@ const secondary$3 = mergeDeepRight$1(primary$8, {
|
|
|
584
552
|
}
|
|
585
553
|
}
|
|
586
554
|
});
|
|
587
|
-
const danger$4 = mergeDeepRight
|
|
555
|
+
const danger$4 = mergeDeepRight(primary$8, {
|
|
588
556
|
typography: {
|
|
589
557
|
color: dangerColor$2
|
|
590
558
|
},
|
|
@@ -637,7 +605,7 @@ const {
|
|
|
637
605
|
}
|
|
638
606
|
}
|
|
639
607
|
} = edsTokens.tokens;
|
|
640
|
-
const primary$7 = mergeDeepRight
|
|
608
|
+
const primary$7 = mergeDeepRight(button, {
|
|
641
609
|
typography: {
|
|
642
610
|
color: primaryColor$6
|
|
643
611
|
},
|
|
@@ -656,7 +624,7 @@ const primary$7 = mergeDeepRight$1(button, {
|
|
|
656
624
|
}
|
|
657
625
|
}
|
|
658
626
|
});
|
|
659
|
-
const secondary$2 = mergeDeepRight
|
|
627
|
+
const secondary$2 = mergeDeepRight(primary$7, {
|
|
660
628
|
typography: {
|
|
661
629
|
color: secondaryColor$1
|
|
662
630
|
},
|
|
@@ -669,7 +637,7 @@ const secondary$2 = mergeDeepRight$1(primary$7, {
|
|
|
669
637
|
}
|
|
670
638
|
}
|
|
671
639
|
});
|
|
672
|
-
const danger$3 = mergeDeepRight
|
|
640
|
+
const danger$3 = mergeDeepRight(primary$7, {
|
|
673
641
|
typography: {
|
|
674
642
|
color: dangerColor$1
|
|
675
643
|
},
|
|
@@ -723,7 +691,7 @@ const {
|
|
|
723
691
|
}
|
|
724
692
|
}
|
|
725
693
|
} = edsTokens.tokens;
|
|
726
|
-
const primary$6 = mergeDeepRight
|
|
694
|
+
const primary$6 = mergeDeepRight(button, {
|
|
727
695
|
height: shape$3.icon_button.minHeight,
|
|
728
696
|
width: shape$3.icon_button.minWidth,
|
|
729
697
|
typography: {
|
|
@@ -779,7 +747,7 @@ const primary$6 = mergeDeepRight$1(button, {
|
|
|
779
747
|
}
|
|
780
748
|
}
|
|
781
749
|
});
|
|
782
|
-
const secondary$1 = mergeDeepRight
|
|
750
|
+
const secondary$1 = mergeDeepRight(primary$6, {
|
|
783
751
|
typography: {
|
|
784
752
|
color: secondaryColor
|
|
785
753
|
},
|
|
@@ -792,7 +760,7 @@ const secondary$1 = mergeDeepRight$1(primary$6, {
|
|
|
792
760
|
}
|
|
793
761
|
}
|
|
794
762
|
});
|
|
795
|
-
const danger$2 = mergeDeepRight
|
|
763
|
+
const danger$2 = mergeDeepRight(primary$6, {
|
|
796
764
|
typography: {
|
|
797
765
|
color: dangerColor
|
|
798
766
|
},
|
|
@@ -834,7 +802,7 @@ const FullWidthCenterContent = styled__default["default"].span.withConfig({
|
|
|
834
802
|
const FullWidthInner = styled__default["default"].span.withConfig({
|
|
835
803
|
displayName: "InnerFullWidth__FullWidthInner",
|
|
836
804
|
componentId: "sc-qeawkb-1"
|
|
837
|
-
})(["height:100%;display:flex;align-items:center
|
|
805
|
+
})(["height:100%;display:flex;align-items:center;> :is(svg,img){margin-top:var(--eds_button__margin_y,inherit);margin-bottom:var(--eds_button__margin_y,inherit);}> :is(svg,img):first-child{margin-right:var(--eds_button__fullwidth__icon__margin_x,8px);}> :is(svg,img):last-child{margin-left:var(--eds_button__fullwidth__icon__margin_x,8px);}> :is(svg,img):only-child{margin-left:auto;margin-right:auto;}> span:first-child{margin-left:var(--eds_button__fullwidth__margin_x,32px);}> span:last-child{margin-right:var(--eds_button__fullwidth__margin_x,32px);}> span:only-child{margin-right:0;margin-left:0;}"]);
|
|
838
806
|
const InnerFullWidth = /*#__PURE__*/react.forwardRef(function InnerFullWidth(_ref, ref) {
|
|
839
807
|
let {
|
|
840
808
|
children
|
|
@@ -915,7 +883,7 @@ const getToken$1 = (variant, color) => {
|
|
|
915
883
|
const Inner = styled__default["default"].span.withConfig({
|
|
916
884
|
displayName: "Button__Inner",
|
|
917
885
|
componentId: "sc-1hs0myn-0"
|
|
918
|
-
})(["display:grid;grid-gap:var(--eds_button__gap,8px);grid-auto-flow:column;align-items:center;height:100%;justify-content:center;&
|
|
886
|
+
})(["display:grid;grid-gap:var(--eds_button__gap,8px);grid-auto-flow:column;align-items:center;height:100%;justify-content:center;& > :is(svg,img){margin-top:var(--eds_button__icon__margin_y,0);margin-bottom:var(--eds_button__icon__margin_y,0);}"]);
|
|
919
887
|
const ButtonBase = styled__default["default"].button.withConfig({
|
|
920
888
|
displayName: "Button__ButtonBase",
|
|
921
889
|
componentId: "sc-1hs0myn-1"
|
|
@@ -1297,7 +1265,7 @@ const tableCell = {
|
|
|
1297
1265
|
const applyVariant = (variant, token) => {
|
|
1298
1266
|
switch (variant) {
|
|
1299
1267
|
case 'numeric':
|
|
1300
|
-
return mergeDeepRight
|
|
1268
|
+
return mergeDeepRight(token, token.variants.numeric);
|
|
1301
1269
|
|
|
1302
1270
|
default:
|
|
1303
1271
|
return token;
|
|
@@ -1946,7 +1914,7 @@ const input$2 = {
|
|
|
1946
1914
|
}
|
|
1947
1915
|
}
|
|
1948
1916
|
};
|
|
1949
|
-
const error$4 = mergeDeepRight
|
|
1917
|
+
const error$4 = mergeDeepRight(input$2, {
|
|
1950
1918
|
boxShadow: 'inset 0px -1px 0px 0px transparent',
|
|
1951
1919
|
states: {
|
|
1952
1920
|
active: {
|
|
@@ -1969,7 +1937,7 @@ const error$4 = mergeDeepRight$1(input$2, {
|
|
|
1969
1937
|
}
|
|
1970
1938
|
}
|
|
1971
1939
|
});
|
|
1972
|
-
const warning$4 = mergeDeepRight
|
|
1940
|
+
const warning$4 = mergeDeepRight(input$2, {
|
|
1973
1941
|
boxShadow: 'inset 0px -1px 0px 0px transparent',
|
|
1974
1942
|
states: {
|
|
1975
1943
|
active: {
|
|
@@ -1992,7 +1960,7 @@ const warning$4 = mergeDeepRight$1(input$2, {
|
|
|
1992
1960
|
}
|
|
1993
1961
|
}
|
|
1994
1962
|
});
|
|
1995
|
-
const success$1 = mergeDeepRight
|
|
1963
|
+
const success$1 = mergeDeepRight(input$2, {
|
|
1996
1964
|
boxShadow: 'inset 0px -1px 0px 0px transparent',
|
|
1997
1965
|
states: {
|
|
1998
1966
|
active: {
|
|
@@ -3671,7 +3639,7 @@ const StyledTabList = styled__default["default"].div.attrs(() => ({
|
|
|
3671
3639
|
})).withConfig({
|
|
3672
3640
|
displayName: "TabList__StyledTabList",
|
|
3673
3641
|
componentId: "sc-1g1p5i1-0"
|
|
3674
|
-
})(["display:grid;grid-auto-flow:column;grid-auto-columns:", ";overflow-x:", ";scroll-snap-type:x mandatory;overscroll-behavior-x:contain;@media (prefers-reduced-motion:no-preference){scroll-behavior:smooth;}@media (hover:none){overflow-x:scroll;-webkit-overflow-scrolling:touch;scrollbar-width:0
|
|
3642
|
+
})(["display:grid;grid-auto-flow:column;grid-auto-columns:", ";overflow-x:", ";scroll-snap-type:x mandatory;overscroll-behavior-x:contain;@media (prefers-reduced-motion:no-preference){scroll-behavior:smooth;}@media (hover:none){overflow-x:scroll;-webkit-overflow-scrolling:touch;scrollbar-width:0;& ::-webkit-scrollbar{width:0;height:0;}}"], _ref => {
|
|
3675
3643
|
let {
|
|
3676
3644
|
variant
|
|
3677
3645
|
} = _ref;
|
|
@@ -4038,7 +4006,7 @@ const {
|
|
|
4038
4006
|
const StyledCardHeader = styled__default["default"].div.withConfig({
|
|
4039
4007
|
displayName: "CardHeader__StyledCardHeader",
|
|
4040
4008
|
componentId: "sc-15k8edh-0"
|
|
4041
|
-
})(["display:flex;justify-content:space-between;align-items:center;padding:0 ", " 0 ", "
|
|
4009
|
+
})(["display:flex;justify-content:space-between;align-items:center;padding:0 ", " 0 ", ";> :not(:first-child){margin-left:", ";}:first-child{padding-top:", ";}:last-child{padding-bottom:", ";}"], spacings$3.right, spacings$3.left, spacings$3.left, spacings$3.top, spacings$3.bottom);
|
|
4042
4010
|
const CardHeader = /*#__PURE__*/react.forwardRef(function CardHeader(_ref, ref) {
|
|
4043
4011
|
let {
|
|
4044
4012
|
children,
|
|
@@ -4812,7 +4780,6 @@ const SideSheet = /*#__PURE__*/react.forwardRef(function SideSheet(_ref2, ref) {
|
|
|
4812
4780
|
}; // Controller must set open={false} when pressing the close button
|
|
4813
4781
|
|
|
4814
4782
|
return open && /*#__PURE__*/jsxRuntime.jsxs(StyledSideSheet, { ...props,
|
|
4815
|
-
id: "side-sheet",
|
|
4816
4783
|
children: [/*#__PURE__*/jsxRuntime.jsxs(Header$1, {
|
|
4817
4784
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
4818
4785
|
variant: "h2",
|
|
@@ -5337,7 +5304,7 @@ const SearchInput = styled__default["default"](Input$4).withConfig({
|
|
|
5337
5304
|
theme,
|
|
5338
5305
|
disabled
|
|
5339
5306
|
} = _ref2;
|
|
5340
|
-
return styled.css(["height:calc(", " - 2px);align-self:start;box-shadow:unset;&[type='search']::-webkit-search-decoration,&[type='search']::-webkit-search-cancel-button,&[type='search']::-webkit-search-results-button,&[type='search']::-webkit-search-results-decoration{-webkit-appearance:none;}", " &:focus{outline:none;}", ""], theme.height, edsUtils.typographyTemplate(theme.typography), disabled && styled.css(["cursor:not-allowed;"]));
|
|
5307
|
+
return styled.css(["height:calc(", " - 2px);align-self:start;box-shadow:unset;&[type='search']::-webkit-search-decoration,&[type='search']::-webkit-search-cancel-button,&[type='search']::-webkit-search-results-button,&[type='search']::-webkit-search-results-decoration{-webkit-appearance:none;}", " &:focus{outline:none;}&:-webkit-autofill{box-shadow:0 0 0px 1000px ", " inset;}&:autofill{box-shadow:0 0 0px 1000px ", " inset;}", ""], theme.height, edsUtils.typographyTemplate(theme.typography), theme.background, theme.background, disabled && styled.css(["cursor:not-allowed;"]));
|
|
5341
5308
|
});
|
|
5342
5309
|
const InsideButton = styled__default["default"](Button).withConfig({
|
|
5343
5310
|
displayName: "Search__InsideButton",
|
|
@@ -5830,6 +5797,7 @@ const Slider = /*#__PURE__*/react.forwardRef(function Slider(_ref10, ref) {
|
|
|
5830
5797
|
step = 1,
|
|
5831
5798
|
disabled,
|
|
5832
5799
|
ariaLabelledby,
|
|
5800
|
+
'aria-labelledby': ariaLabelledbyNative,
|
|
5833
5801
|
...rest
|
|
5834
5802
|
} = _ref10;
|
|
5835
5803
|
const isRangeSlider = Array.isArray(value);
|
|
@@ -5853,8 +5821,7 @@ const Slider = /*#__PURE__*/react.forwardRef(function Slider(_ref10, ref) {
|
|
|
5853
5821
|
const maxRange = react.useRef(null);
|
|
5854
5822
|
|
|
5855
5823
|
const onValueChange = (event, valueArrIdx) => {
|
|
5856
|
-
const
|
|
5857
|
-
const changedValue = parseFloat(target.value);
|
|
5824
|
+
const changedValue = parseFloat(event.target.value);
|
|
5858
5825
|
|
|
5859
5826
|
if (isRangeSlider) {
|
|
5860
5827
|
const newValue = sliderValue.slice();
|
|
@@ -5919,14 +5886,33 @@ const Slider = /*#__PURE__*/react.forwardRef(function Slider(_ref10, ref) {
|
|
|
5919
5886
|
}
|
|
5920
5887
|
};
|
|
5921
5888
|
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5889
|
+
let inputIdA = edsUtils.useId(null, 'inputA');
|
|
5890
|
+
let inputIdB = edsUtils.useId(null, 'inputB');
|
|
5891
|
+
let inputId = edsUtils.useId(null, 'thumb');
|
|
5892
|
+
|
|
5893
|
+
if (rest['id']) {
|
|
5894
|
+
const overrideId = rest['id'];
|
|
5895
|
+
inputIdA = "".concat(overrideId, "-thumb-a");
|
|
5896
|
+
inputIdB = "".concat(overrideId, "-thumb-b");
|
|
5897
|
+
inputId = "".concat(overrideId, "-thumb");
|
|
5898
|
+
}
|
|
5899
|
+
|
|
5900
|
+
const getAriaLabelledby = () => {
|
|
5901
|
+
if (ariaLabelledbyNative) return ariaLabelledbyNative;
|
|
5902
|
+
|
|
5903
|
+
if (ariaLabelledby) {
|
|
5904
|
+
console.warn('Slider: The "ariaLabelledby" prop is deprecated and will be removed in a future version of EDS, please use the native "aria-labelledby" instead');
|
|
5905
|
+
return ariaLabelledby;
|
|
5906
|
+
}
|
|
5907
|
+
|
|
5908
|
+
return null;
|
|
5909
|
+
};
|
|
5910
|
+
|
|
5925
5911
|
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
5926
5912
|
children: isRangeSlider ? /*#__PURE__*/jsxRuntime.jsxs(RangeWrapper, { ...rest,
|
|
5927
5913
|
ref: ref,
|
|
5928
5914
|
role: "group",
|
|
5929
|
-
"aria-labelledby":
|
|
5915
|
+
"aria-labelledby": getAriaLabelledby(),
|
|
5930
5916
|
valA: sliderValue[0],
|
|
5931
5917
|
valB: sliderValue[1],
|
|
5932
5918
|
max: max,
|
|
@@ -5942,6 +5928,10 @@ const Slider = /*#__PURE__*/react.forwardRef(function Slider(_ref10, ref) {
|
|
|
5942
5928
|
value: sliderValue[0],
|
|
5943
5929
|
max: max,
|
|
5944
5930
|
min: min,
|
|
5931
|
+
"aria-valuemax": max,
|
|
5932
|
+
"aria-valuemin": min,
|
|
5933
|
+
"aria-valuenow": sliderValue[0],
|
|
5934
|
+
"aria-valuetext": getFormattedText(sliderValue[0]).toString(),
|
|
5945
5935
|
id: inputIdA,
|
|
5946
5936
|
step: step,
|
|
5947
5937
|
onChange: event => {
|
|
@@ -5964,6 +5954,10 @@ const Slider = /*#__PURE__*/react.forwardRef(function Slider(_ref10, ref) {
|
|
|
5964
5954
|
value: sliderValue[1],
|
|
5965
5955
|
min: min,
|
|
5966
5956
|
max: max,
|
|
5957
|
+
"aria-valuemax": max,
|
|
5958
|
+
"aria-valuemin": min,
|
|
5959
|
+
"aria-valuenow": sliderValue[1],
|
|
5960
|
+
"aria-valuetext": getFormattedText(sliderValue[1]).toString(),
|
|
5967
5961
|
id: inputIdB,
|
|
5968
5962
|
step: step,
|
|
5969
5963
|
ref: maxRange,
|
|
@@ -5991,13 +5985,17 @@ const Slider = /*#__PURE__*/react.forwardRef(function Slider(_ref10, ref) {
|
|
|
5991
5985
|
value: sliderValue[0],
|
|
5992
5986
|
min: min,
|
|
5993
5987
|
max: max,
|
|
5988
|
+
"aria-valuemax": max,
|
|
5989
|
+
"aria-valuemin": min,
|
|
5990
|
+
"aria-valuenow": sliderValue[0],
|
|
5991
|
+
"aria-valuetext": getFormattedText(sliderValue[0]).toString(),
|
|
5994
5992
|
step: step,
|
|
5995
5993
|
id: inputId,
|
|
5996
5994
|
onChange: event => {
|
|
5997
5995
|
onValueChange(event);
|
|
5998
5996
|
},
|
|
5999
5997
|
disabled: disabled,
|
|
6000
|
-
"aria-labelledby":
|
|
5998
|
+
"aria-labelledby": getAriaLabelledby(),
|
|
6001
5999
|
onMouseUp: event => handleCommitedValue(event),
|
|
6002
6000
|
onKeyUp: event => handleKeyUp(event)
|
|
6003
6001
|
}), /*#__PURE__*/jsxRuntime.jsx(Output, {
|
|
@@ -6499,7 +6497,6 @@ const Popover$1 = /*#__PURE__*/react.forwardRef(function Popover(_ref5, ref) {
|
|
|
6499
6497
|
ref: popoverRef,
|
|
6500
6498
|
elevation: "overlay",
|
|
6501
6499
|
style: styles.popper,
|
|
6502
|
-
"data-testid": "popover",
|
|
6503
6500
|
...props,
|
|
6504
6501
|
children: [/*#__PURE__*/jsxRuntime.jsx(ArrowWrapper, {
|
|
6505
6502
|
ref: setArrowRef,
|
|
@@ -7648,7 +7645,7 @@ const Content = styled__default["default"].div.withConfig({
|
|
|
7648
7645
|
displayName: "MenuItem__Content",
|
|
7649
7646
|
componentId: "sc-1g9fpbe-1"
|
|
7650
7647
|
})(["width:auto;display:grid;grid-gap:16px;grid-auto-flow:column;grid-auto-columns:max-content auto max-content;align-items:center;"]);
|
|
7651
|
-
const MenuItem = /*#__PURE__*/react.
|
|
7648
|
+
const MenuItem = /*#__PURE__*/react.forwardRef(function MenuItem(_ref5, ref) {
|
|
7652
7649
|
let {
|
|
7653
7650
|
children,
|
|
7654
7651
|
disabled,
|
|
@@ -7695,7 +7692,7 @@ const MenuItem = /*#__PURE__*/react.memo( /*#__PURE__*/react.forwardRef(function
|
|
|
7695
7692
|
children: children
|
|
7696
7693
|
})
|
|
7697
7694
|
});
|
|
7698
|
-
})
|
|
7695
|
+
});
|
|
7699
7696
|
MenuItem.displayName = 'MenuItem';
|
|
7700
7697
|
|
|
7701
7698
|
const Header = styled__default["default"].div.attrs(() => ({
|
|
@@ -8428,7 +8425,7 @@ const select = {
|
|
|
8428
8425
|
}
|
|
8429
8426
|
}
|
|
8430
8427
|
};
|
|
8431
|
-
const multiSelect = mergeDeepRight
|
|
8428
|
+
const multiSelect = mergeDeepRight(select, {
|
|
8432
8429
|
spacings: {
|
|
8433
8430
|
top: '0',
|
|
8434
8431
|
bottom: '0',
|
|
@@ -9001,7 +8998,8 @@ const MultiSelect = /*#__PURE__*/react.forwardRef(function MultiSelect(_ref2, re
|
|
|
9001
8998
|
meta: meta,
|
|
9002
8999
|
disabled: disabled
|
|
9003
9000
|
}), /*#__PURE__*/jsxRuntime.jsxs(StyledInputWrapper, { ...getComboboxProps(),
|
|
9004
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(PaddedInput, { ...getInputProps(
|
|
9001
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(PaddedInput, { ...getInputProps( // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
9002
|
+
getDropdownProps({
|
|
9005
9003
|
preventKeyAction: isOpen,
|
|
9006
9004
|
disabled: disabled
|
|
9007
9005
|
})),
|
|
@@ -2,8 +2,8 @@ import { forwardRef, Children, cloneElement } from 'react';
|
|
|
2
2
|
import { ThemeProvider } from 'styled-components';
|
|
3
3
|
import { accordion } from './Accordion.tokens.js';
|
|
4
4
|
import { useId, useToken } from '@equinor/eds-utils';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
6
5
|
import { useEds } from '../EdsProvider/eds.context.js';
|
|
6
|
+
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
const Accordion = /*#__PURE__*/forwardRef(function Accordion(_ref, ref) {
|
|
9
9
|
let {
|
|
@@ -2,10 +2,10 @@ import { forwardRef, Children, isValidElement } from 'react';
|
|
|
2
2
|
import styled, { css, ThemeProvider } from 'styled-components';
|
|
3
3
|
import { spacingsTemplate, useToken } from '@equinor/eds-utils';
|
|
4
4
|
import { enabled } from './Banner.tokens.js';
|
|
5
|
-
import { BannerIcon } from './BannerIcon.js';
|
|
6
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
5
|
import { Divider } from '../Divider/Divider.js';
|
|
6
|
+
import { BannerIcon } from './BannerIcon.js';
|
|
8
7
|
import { useEds } from '../EdsProvider/eds.context.js';
|
|
8
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
const StyledBanner = styled.div.withConfig({
|
|
11
11
|
displayName: "Banner__StyledBanner",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
3
|
import { Typography } from '../Typography/Typography.js';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
const StyledBannerMessage = styled(Typography).withConfig({
|
|
7
7
|
displayName: "BannerMessage__StyledBannerMessage",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
|
+
import { Typography } from '../Typography/Typography.js';
|
|
4
|
+
import { Tooltip } from '../Tooltip/Tooltip.js';
|
|
3
5
|
import { breadcrumbs } from './Breadcrumbs.tokens.js';
|
|
4
6
|
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
import { Tooltip } from '../Tooltip/Tooltip.js';
|
|
6
|
-
import { Typography } from '../Typography/Typography.js';
|
|
7
7
|
|
|
8
8
|
const {
|
|
9
9
|
states,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef, useState, Children, Fragment } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import { breadcrumbs } from './Breadcrumbs.tokens.js';
|
|
4
|
+
import { Typography } from '../Typography/Typography.js';
|
|
4
5
|
import { spacingsTemplate } from '@equinor/eds-utils';
|
|
5
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
|
-
import { Typography } from '../Typography/Typography.js';
|
|
7
7
|
|
|
8
8
|
const {
|
|
9
9
|
spacings,
|
|
@@ -3,8 +3,8 @@ import styled, { css, ThemeProvider } from 'styled-components';
|
|
|
3
3
|
import { token } from './tokens/index.js';
|
|
4
4
|
import { spacingsTemplate, bordersTemplate, typographyTemplate, outlineTemplate, useToken } from '@equinor/eds-utils';
|
|
5
5
|
import { InnerFullWidth } from './InnerFullWidth.js';
|
|
6
|
-
import { jsx } from 'react/jsx-runtime';
|
|
7
6
|
import { useEds } from '../EdsProvider/eds.context.js';
|
|
7
|
+
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
const getVariant = (tokenSet, variant) => {
|
|
10
10
|
switch (variant) {
|
|
@@ -40,7 +40,7 @@ const getToken = (variant, color) => {
|
|
|
40
40
|
const Inner = styled.span.withConfig({
|
|
41
41
|
displayName: "Button__Inner",
|
|
42
42
|
componentId: "sc-1hs0myn-0"
|
|
43
|
-
})(["display:grid;grid-gap:var(--eds_button__gap,8px);grid-auto-flow:column;align-items:center;height:100%;justify-content:center;&
|
|
43
|
+
})(["display:grid;grid-gap:var(--eds_button__gap,8px);grid-auto-flow:column;align-items:center;height:100%;justify-content:center;& > :is(svg,img){margin-top:var(--eds_button__icon__margin_y,0);margin-bottom:var(--eds_button__icon__margin_y,0);}"]);
|
|
44
44
|
const ButtonBase = styled.button.withConfig({
|
|
45
45
|
displayName: "Button__ButtonBase",
|
|
46
46
|
componentId: "sc-1hs0myn-1"
|