@equinor/eds-core-react 0.15.0-dev.20211116v2 → 0.16.1-dev.12072021

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.
Files changed (76) hide show
  1. package/dist/core-react.cjs.js +425 -143
  2. package/dist/esm/components/Accordion/AccordionHeader.js +2 -2
  3. package/dist/esm/components/Accordion/AccordionItem.js +2 -2
  4. package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +1 -1
  5. package/dist/esm/components/Button/Button.js +1 -1
  6. package/dist/esm/components/Button/tokens/button.js +2 -2
  7. package/dist/esm/components/Button/tokens/contained.js +4 -4
  8. package/dist/esm/components/Button/tokens/ghost.js +4 -4
  9. package/dist/esm/components/Button/tokens/icon.js +6 -6
  10. package/dist/esm/components/Button/tokens/outlined.js +4 -4
  11. package/dist/esm/components/Card/Card.js +2 -3
  12. package/dist/esm/components/Card/CardActions.js +6 -2
  13. package/dist/esm/components/Card/CardContent.js +24 -0
  14. package/dist/esm/components/Card/CardHeader.js +1 -1
  15. package/dist/esm/components/Card/CardMedia.js +2 -2
  16. package/dist/esm/components/Card/index.js +3 -0
  17. package/dist/esm/components/Checkbox/Input.js +5 -3
  18. package/dist/esm/components/Chip/Chip.js +1 -1
  19. package/dist/esm/components/Divider/Divider.tokens.js +2 -2
  20. package/dist/esm/components/Icon/Icon.js +7 -7
  21. package/dist/esm/components/Input/Input.tokens.js +4 -4
  22. package/dist/esm/components/Menu/Menu.context.js +6 -1
  23. package/dist/esm/components/Menu/Menu.js +6 -0
  24. package/dist/esm/components/Menu/MenuItem.js +6 -6
  25. package/dist/esm/components/Menu/MenuList.js +2 -2
  26. package/dist/esm/components/Menu/MenuSection.js +4 -4
  27. package/dist/esm/components/Pagination/Pagination.js +5 -10
  28. package/dist/esm/components/Progress/Circular/CircularProgress.js +1 -1
  29. package/dist/esm/components/Progress/Linear/LinearProgress.js +1 -1
  30. package/dist/esm/components/Radio/Radio.js +4 -2
  31. package/dist/esm/components/Search/Search.js +10 -8
  32. package/dist/esm/components/Search/Search.tokens.js +7 -0
  33. package/dist/esm/components/Select/MultiSelect/MultiSelect.js +2 -2
  34. package/dist/esm/components/Select/Select.tokens.js +2 -2
  35. package/dist/esm/components/Select/SingleSelect/SingleSelect.js +1 -1
  36. package/dist/esm/components/Slider/Slider.js +4 -4
  37. package/dist/esm/components/Slider/SliderInput.js +1 -1
  38. package/dist/esm/components/Switch/Switch.styles.js +1 -1
  39. package/dist/esm/components/Switch/Switch.tokens.js +4 -4
  40. package/dist/esm/components/Switch/SwitchSmall.js +2 -1
  41. package/dist/esm/components/Table/DataCell/DataCell.tokens.js +2 -2
  42. package/dist/esm/components/Tabs/Tab.js +2 -2
  43. package/dist/esm/components/Tabs/TabList.js +2 -2
  44. package/dist/esm/components/Tabs/TabPanel.js +1 -1
  45. package/dist/esm/components/Tabs/TabPanels.js +2 -2
  46. package/dist/esm/components/TextField/Field.js +2 -2
  47. package/dist/esm/components/TextField/HelperText/HelperText.js +1 -1
  48. package/dist/esm/components/Textarea/Textarea.js +1 -1
  49. package/dist/esm/components/TopBar/Actions.js +1 -1
  50. package/dist/esm/components/Typography/Typography.js +3 -3
  51. package/dist/esm/hooks/useAutoResize.js +1 -1
  52. package/dist/esm/hooks/useId.js +1 -1
  53. package/dist/esm/hooks/useToken.js +2 -2
  54. package/dist/esm/index.js +0 -1
  55. package/dist/esm/node_modules/.pnpm/ramda@0.27.1/node_modules/ramda/src/internal/_curry1.js +25 -0
  56. package/dist/esm/node_modules/.pnpm/ramda@0.27.1/node_modules/ramda/src/internal/_curry2.js +38 -0
  57. package/dist/esm/node_modules/.pnpm/ramda@0.27.1/node_modules/ramda/src/internal/_curry3.js +57 -0
  58. package/dist/esm/node_modules/.pnpm/ramda@0.27.1/node_modules/ramda/src/internal/_has.js +7 -0
  59. package/dist/esm/node_modules/.pnpm/ramda@0.27.1/node_modules/ramda/src/internal/_isObject.js +7 -0
  60. package/dist/esm/node_modules/.pnpm/ramda@0.27.1/node_modules/ramda/src/internal/_isPlaceholder.js +7 -0
  61. package/dist/esm/node_modules/.pnpm/ramda@0.27.1/node_modules/ramda/src/mergeDeepRight.js +36 -0
  62. package/dist/esm/node_modules/.pnpm/ramda@0.27.1/node_modules/ramda/src/mergeDeepWithKey.js +49 -0
  63. package/dist/esm/node_modules/.pnpm/ramda@0.27.1/node_modules/ramda/src/mergeWithKey.js +53 -0
  64. package/dist/esm/utils/templates/common.js +1 -1
  65. package/dist/esm/utils/templates/index.js +8 -15
  66. package/dist/types/components/Card/CardContent.d.ts +3 -0
  67. package/dist/types/components/Card/index.d.ts +3 -1
  68. package/dist/types/components/Menu/Menu.d.ts +2 -2
  69. package/dist/types/components/Menu/MenuItem.d.ts +2 -2
  70. package/dist/types/components/Menu/MenuList.d.ts +1 -1
  71. package/dist/types/components/Table/Cell.d.ts +2 -2
  72. package/dist/types/components/Table/DataCell/DataCell.d.ts +1 -1
  73. package/dist/types/components/Table/HeaderCell/HeaderCell.d.ts +1 -1
  74. package/dist/types/components/Typography/Typography.tokens.d.ts +2 -1
  75. package/dist/types/index.d.ts +0 -1
  76. package/package.json +6 -6
@@ -2,11 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('focus-visible');
6
5
  var React = require('react');
7
6
  var styled = require('styled-components');
8
7
  var edsTokens = require('@equinor/eds-tokens');
9
- var R = require('ramda');
10
8
  var jsxRuntime = require('react/jsx-runtime');
11
9
  var edsIcons = require('@equinor/eds-icons');
12
10
  var ReactDom = require('react-dom');
@@ -37,7 +35,6 @@ function _interopNamespace(e) {
37
35
 
38
36
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
39
37
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
40
- var R__namespace = /*#__PURE__*/_interopNamespace(R);
41
38
  var ReactDom__namespace = /*#__PURE__*/_interopNamespace(ReactDom);
42
39
 
43
40
  const {
@@ -85,7 +82,7 @@ const {
85
82
  compact__standard: compactClickboundHeight$1
86
83
  }
87
84
  } = edsTokens.tokens;
88
- const button = {
85
+ const button$1 = {
89
86
  background: 'transparent',
90
87
  height: buttonHeight,
91
88
  typography: { ...buttonTypography,
@@ -106,7 +103,7 @@ const button = {
106
103
  height: clicboundHeight$1,
107
104
  width: '100%',
108
105
  offset: {
109
- top: `${(parseInt(clicboundHeight$1) - parseInt(buttonHeight)) / 2 + 1}px`,
106
+ top: "".concat((parseInt(clicboundHeight$1) - parseInt(buttonHeight)) / 2 + 1, "px"),
110
107
  left: '0'
111
108
  }
112
109
  },
@@ -156,7 +153,7 @@ const button = {
156
153
  height: compactClickboundHeight$1,
157
154
  width: '100%',
158
155
  offset: {
159
- top: `${(parseInt(compactClickboundHeight$1) - parseInt(compactButtonHeight)) / 2 + 1}px`,
156
+ top: "".concat((parseInt(compactClickboundHeight$1) - parseInt(compactButtonHeight)) / 2 + 1, "px"),
160
157
  left: '0'
161
158
  }
162
159
  }
@@ -164,6 +161,257 @@ const button = {
164
161
  }
165
162
  };
166
163
 
164
+ function _isPlaceholder$3(a) {
165
+ return a != null && typeof a === 'object' && a['@@functional/placeholder'] === true;
166
+ }
167
+
168
+ var _isPlaceholder_1 = _isPlaceholder$3;
169
+
170
+ var _isPlaceholder$2 = _isPlaceholder_1;
171
+ /**
172
+ * Optimized internal one-arity curry function.
173
+ *
174
+ * @private
175
+ * @category Function
176
+ * @param {Function} fn The function to curry.
177
+ * @return {Function} The curried function.
178
+ */
179
+
180
+ function _curry1$2(fn) {
181
+ return function f1(a) {
182
+ if (arguments.length === 0 || _isPlaceholder$2(a)) {
183
+ return f1;
184
+ } else {
185
+ return fn.apply(this, arguments);
186
+ }
187
+ };
188
+ }
189
+
190
+ var _curry1_1 = _curry1$2;
191
+
192
+ var _curry1$1 = _curry1_1;
193
+ var _isPlaceholder$1 = _isPlaceholder_1;
194
+ /**
195
+ * Optimized internal two-arity curry function.
196
+ *
197
+ * @private
198
+ * @category Function
199
+ * @param {Function} fn The function to curry.
200
+ * @return {Function} The curried function.
201
+ */
202
+
203
+ function _curry2$2(fn) {
204
+ return function f2(a, b) {
205
+ switch (arguments.length) {
206
+ case 0:
207
+ return f2;
208
+
209
+ case 1:
210
+ return _isPlaceholder$1(a) ? f2 : _curry1$1(function (_b) {
211
+ return fn(a, _b);
212
+ });
213
+
214
+ default:
215
+ return _isPlaceholder$1(a) && _isPlaceholder$1(b) ? f2 : _isPlaceholder$1(a) ? _curry1$1(function (_a) {
216
+ return fn(_a, b);
217
+ }) : _isPlaceholder$1(b) ? _curry1$1(function (_b) {
218
+ return fn(a, _b);
219
+ }) : fn(a, b);
220
+ }
221
+ };
222
+ }
223
+
224
+ var _curry2_1 = _curry2$2;
225
+
226
+ var _curry1 = _curry1_1;
227
+ var _curry2$1 = _curry2_1;
228
+ var _isPlaceholder = _isPlaceholder_1;
229
+ /**
230
+ * Optimized internal three-arity curry function.
231
+ *
232
+ * @private
233
+ * @category Function
234
+ * @param {Function} fn The function to curry.
235
+ * @return {Function} The curried function.
236
+ */
237
+
238
+ function _curry3$2(fn) {
239
+ return function f3(a, b, c) {
240
+ switch (arguments.length) {
241
+ case 0:
242
+ return f3;
243
+
244
+ case 1:
245
+ return _isPlaceholder(a) ? f3 : _curry2$1(function (_b, _c) {
246
+ return fn(a, _b, _c);
247
+ });
248
+
249
+ case 2:
250
+ return _isPlaceholder(a) && _isPlaceholder(b) ? f3 : _isPlaceholder(a) ? _curry2$1(function (_a, _c) {
251
+ return fn(_a, b, _c);
252
+ }) : _isPlaceholder(b) ? _curry2$1(function (_b, _c) {
253
+ return fn(a, _b, _c);
254
+ }) : _curry1(function (_c) {
255
+ return fn(a, b, _c);
256
+ });
257
+
258
+ default:
259
+ return _isPlaceholder(a) && _isPlaceholder(b) && _isPlaceholder(c) ? f3 : _isPlaceholder(a) && _isPlaceholder(b) ? _curry2$1(function (_a, _b) {
260
+ return fn(_a, _b, c);
261
+ }) : _isPlaceholder(a) && _isPlaceholder(c) ? _curry2$1(function (_a, _c) {
262
+ return fn(_a, b, _c);
263
+ }) : _isPlaceholder(b) && _isPlaceholder(c) ? _curry2$1(function (_b, _c) {
264
+ return fn(a, _b, _c);
265
+ }) : _isPlaceholder(a) ? _curry1(function (_a) {
266
+ return fn(_a, b, c);
267
+ }) : _isPlaceholder(b) ? _curry1(function (_b) {
268
+ return fn(a, _b, c);
269
+ }) : _isPlaceholder(c) ? _curry1(function (_c) {
270
+ return fn(a, b, _c);
271
+ }) : fn(a, b, c);
272
+ }
273
+ };
274
+ }
275
+
276
+ var _curry3_1 = _curry3$2;
277
+
278
+ function _isObject$1(x) {
279
+ return Object.prototype.toString.call(x) === '[object Object]';
280
+ }
281
+
282
+ var _isObject_1 = _isObject$1;
283
+
284
+ function _has$1(prop, obj) {
285
+ return Object.prototype.hasOwnProperty.call(obj, prop);
286
+ }
287
+
288
+ var _has_1 = _has$1;
289
+
290
+ var _curry3$1 = _curry3_1;
291
+ var _has = _has_1;
292
+ /**
293
+ * Creates a new object with the own properties of the two provided objects. If
294
+ * a key exists in both objects, the provided function is applied to the key
295
+ * and the values associated with the key in each object, with the result being
296
+ * used as the value associated with the key in the returned object.
297
+ *
298
+ * @func
299
+ * @memberOf R
300
+ * @since v0.19.0
301
+ * @category Object
302
+ * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}
303
+ * @param {Function} fn
304
+ * @param {Object} l
305
+ * @param {Object} r
306
+ * @return {Object}
307
+ * @see R.mergeDeepWithKey, R.merge, R.mergeWith
308
+ * @example
309
+ *
310
+ * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r
311
+ * R.mergeWithKey(concatValues,
312
+ * { a: true, thing: 'foo', values: [10, 20] },
313
+ * { b: true, thing: 'bar', values: [15, 35] });
314
+ * //=> { a: true, b: true, thing: 'bar', values: [10, 20, 15, 35] }
315
+ * @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }
316
+ */
317
+
318
+ var mergeWithKey$1 = /*#__PURE__*/_curry3$1(function mergeWithKey(fn, l, r) {
319
+ var result = {};
320
+ var k;
321
+
322
+ for (k in l) {
323
+ if (_has(k, l)) {
324
+ result[k] = _has(k, r) ? fn(k, l[k], r[k]) : l[k];
325
+ }
326
+ }
327
+
328
+ for (k in r) {
329
+ if (_has(k, r) && !_has(k, result)) {
330
+ result[k] = r[k];
331
+ }
332
+ }
333
+
334
+ return result;
335
+ });
336
+
337
+ var mergeWithKey_1 = mergeWithKey$1;
338
+
339
+ var _curry3 = _curry3_1;
340
+ var _isObject = _isObject_1;
341
+ var mergeWithKey = mergeWithKey_1;
342
+ /**
343
+ * Creates a new object with the own properties of the two provided objects.
344
+ * If a key exists in both objects:
345
+ * - and both associated values are also objects then the values will be
346
+ * recursively merged.
347
+ * - otherwise the provided function is applied to the key and associated values
348
+ * using the resulting value as the new value associated with the key.
349
+ * If a key only exists in one object, the value will be associated with the key
350
+ * of the resulting object.
351
+ *
352
+ * @func
353
+ * @memberOf R
354
+ * @since v0.24.0
355
+ * @category Object
356
+ * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}
357
+ * @param {Function} fn
358
+ * @param {Object} lObj
359
+ * @param {Object} rObj
360
+ * @return {Object}
361
+ * @see R.mergeWithKey, R.mergeDeepWith
362
+ * @example
363
+ *
364
+ * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r
365
+ * R.mergeDeepWithKey(concatValues,
366
+ * { a: true, c: { thing: 'foo', values: [10, 20] }},
367
+ * { b: true, c: { thing: 'bar', values: [15, 35] }});
368
+ * //=> { a: true, b: true, c: { thing: 'bar', values: [10, 20, 15, 35] }}
369
+ */
370
+
371
+ var mergeDeepWithKey$1 = /*#__PURE__*/_curry3(function mergeDeepWithKey(fn, lObj, rObj) {
372
+ return mergeWithKey(function (k, lVal, rVal) {
373
+ if (_isObject(lVal) && _isObject(rVal)) {
374
+ return mergeDeepWithKey(fn, lVal, rVal);
375
+ } else {
376
+ return fn(k, lVal, rVal);
377
+ }
378
+ }, lObj, rObj);
379
+ });
380
+
381
+ var mergeDeepWithKey_1 = mergeDeepWithKey$1;
382
+
383
+ var _curry2 = _curry2_1;
384
+ var mergeDeepWithKey = mergeDeepWithKey_1;
385
+ /**
386
+ * Creates a new object with the own properties of the first object merged with
387
+ * the own properties of the second object. If a key exists in both objects:
388
+ * - and both values are objects, the two values will be recursively merged
389
+ * - otherwise the value from the second object will be used.
390
+ *
391
+ * @func
392
+ * @memberOf R
393
+ * @since v0.24.0
394
+ * @category Object
395
+ * @sig {a} -> {a} -> {a}
396
+ * @param {Object} lObj
397
+ * @param {Object} rObj
398
+ * @return {Object}
399
+ * @see R.merge, R.mergeDeepLeft, R.mergeDeepWith, R.mergeDeepWithKey
400
+ * @example
401
+ *
402
+ * R.mergeDeepRight({ name: 'fred', age: 10, contact: { email: 'moo@example.com' }},
403
+ * { age: 40, contact: { email: 'baa@example.com' }});
404
+ * //=> { name: 'fred', age: 40, contact: { email: 'baa@example.com' }}
405
+ */
406
+
407
+ var mergeDeepRight = /*#__PURE__*/_curry2(function mergeDeepRight(lObj, rObj) {
408
+ return mergeDeepWithKey(function (k, lVal, rVal) {
409
+ return rVal;
410
+ }, lObj, rObj);
411
+ });
412
+
413
+ var mergeDeepRight_1 = mergeDeepRight;
414
+
167
415
  const {
168
416
  colors: {
169
417
  text: {
@@ -198,7 +446,7 @@ const {
198
446
  }
199
447
  }
200
448
  } = edsTokens.tokens;
201
- const primary$9 = R__namespace.mergeDeepRight(button, {
449
+ const primary$9 = mergeDeepRight_1(button$1, {
202
450
  background: primaryColor$8,
203
451
  typography: {
204
452
  color: primaryWhite
@@ -216,7 +464,7 @@ const primary$9 = R__namespace.mergeDeepRight(button, {
216
464
  }
217
465
  }
218
466
  });
219
- const secondary$4 = R__namespace.mergeDeepRight(primary$9, {
467
+ const secondary$4 = mergeDeepRight_1(primary$9, {
220
468
  background: secondaryColor$3,
221
469
  border: {
222
470
  color: secondaryColor$3
@@ -230,7 +478,7 @@ const secondary$4 = R__namespace.mergeDeepRight(primary$9, {
230
478
  }
231
479
  }
232
480
  });
233
- const danger$5 = R__namespace.mergeDeepRight(primary$9, {
481
+ const danger$5 = mergeDeepRight_1(primary$9, {
234
482
  background: dangerColor$3,
235
483
  border: {
236
484
  color: dangerColor$3
@@ -283,7 +531,7 @@ const {
283
531
  }
284
532
  }
285
533
  } = edsTokens.tokens;
286
- const primary$8 = R__namespace.mergeDeepRight(button, {
534
+ const primary$8 = mergeDeepRight_1(button$1, {
287
535
  typography: {
288
536
  color: primaryColor$7
289
537
  },
@@ -312,7 +560,7 @@ const primary$8 = R__namespace.mergeDeepRight(button, {
312
560
  }
313
561
  }
314
562
  });
315
- const secondary$3 = R__namespace.mergeDeepRight(primary$8, {
563
+ const secondary$3 = mergeDeepRight_1(primary$8, {
316
564
  typography: {
317
565
  color: secondaryColor$2
318
566
  },
@@ -331,7 +579,7 @@ const secondary$3 = R__namespace.mergeDeepRight(primary$8, {
331
579
  }
332
580
  }
333
581
  });
334
- const danger$4 = R__namespace.mergeDeepRight(primary$8, {
582
+ const danger$4 = mergeDeepRight_1(primary$8, {
335
583
  typography: {
336
584
  color: dangerColor$2
337
585
  },
@@ -384,7 +632,7 @@ const {
384
632
  }
385
633
  }
386
634
  } = edsTokens.tokens;
387
- const primary$7 = R__namespace.mergeDeepRight(button, {
635
+ const primary$7 = mergeDeepRight_1(button$1, {
388
636
  typography: {
389
637
  color: primaryColor$6
390
638
  },
@@ -403,7 +651,7 @@ const primary$7 = R__namespace.mergeDeepRight(button, {
403
651
  }
404
652
  }
405
653
  });
406
- const secondary$2 = R__namespace.mergeDeepRight(primary$7, {
654
+ const secondary$2 = mergeDeepRight_1(primary$7, {
407
655
  typography: {
408
656
  color: secondaryColor$1
409
657
  },
@@ -416,7 +664,7 @@ const secondary$2 = R__namespace.mergeDeepRight(primary$7, {
416
664
  }
417
665
  }
418
666
  });
419
- const danger$3 = R__namespace.mergeDeepRight(primary$7, {
667
+ const danger$3 = mergeDeepRight_1(primary$7, {
420
668
  typography: {
421
669
  color: dangerColor$1
422
670
  },
@@ -465,7 +713,7 @@ const {
465
713
  },
466
714
  shape: shape$2
467
715
  } = edsTokens.tokens;
468
- const primary$6 = R__namespace.mergeDeepRight(button, {
716
+ const primary$6 = mergeDeepRight_1(button$1, {
469
717
  height: shape$2.icon_button.minHeight,
470
718
  width: shape$2.icon_button.minWidth,
471
719
  typography: {
@@ -484,7 +732,7 @@ const primary$6 = R__namespace.mergeDeepRight(button, {
484
732
  width: clicboundHeight,
485
733
  offset: {
486
734
  top: '0',
487
- left: `${(parseInt(clicboundHeight) - parseInt(shape$2.icon_button.minWidth)) / 2}px`
735
+ left: "".concat((parseInt(clicboundHeight) - parseInt(shape$2.icon_button.minWidth)) / 2, "px")
488
736
  }
489
737
  },
490
738
  states: {
@@ -515,13 +763,13 @@ const primary$6 = R__namespace.mergeDeepRight(button, {
515
763
  width: compactClickboundHeight,
516
764
  offset: {
517
765
  top: '0',
518
- left: `${(parseInt(compactClickboundHeight) - parseInt(shape$2._modes.compact.icon_button.minWidth)) / 2}px`
766
+ left: "".concat((parseInt(compactClickboundHeight) - parseInt(shape$2._modes.compact.icon_button.minWidth)) / 2, "px")
519
767
  }
520
768
  }
521
769
  }
522
770
  }
523
771
  });
524
- const secondary$1 = R__namespace.mergeDeepRight(primary$6, {
772
+ const secondary$1 = mergeDeepRight_1(primary$6, {
525
773
  typography: {
526
774
  color: secondaryColor
527
775
  },
@@ -534,7 +782,7 @@ const secondary$1 = R__namespace.mergeDeepRight(primary$6, {
534
782
  }
535
783
  }
536
784
  });
537
- const danger$2 = R__namespace.mergeDeepRight(primary$6, {
785
+ const danger$2 = mergeDeepRight_1(primary$6, {
538
786
  typography: {
539
787
  color: dangerColor
540
788
  },
@@ -584,7 +832,7 @@ const shorthand = token => {
584
832
  return null;
585
833
  }
586
834
 
587
- return `${width} ${style} ${color}`;
835
+ return "".concat(width, " ").concat(style, " ").concat(color);
588
836
  };
589
837
 
590
838
  const bordersTemplate = border => {
@@ -653,41 +901,34 @@ const typographyTemplate = (typography, link) => {
653
901
  return '';
654
902
  }
655
903
 
656
- let base = `
657
- margin: 0;
658
- color: ${typography.color};
659
- font-family: ${typography.fontFamily};
660
- font-size: ${typography.fontSize};
661
- font-weight: ${typography.fontWeight};
662
- line-height: ${typography.lineHeight};
663
- `;
904
+ let base = "\n margin: 0;\n color: ".concat(typography.color, ";\n font-family: ").concat(typography.fontFamily, ";\n font-size: ").concat(typography.fontSize, ";\n font-weight: ").concat(typography.fontWeight, ";\n line-height: ").concat(typography.lineHeight, ";\n ");
664
905
 
665
906
  if (typography.fontStyle) {
666
- base += `\nfont-style: ${typography.fontStyle};`;
907
+ base += "\nfont-style: ".concat(typography.fontStyle, ";");
667
908
  }
668
909
 
669
910
  if (typography.letterSpacing) {
670
- base += `\nletter-spacing: ${typography.letterSpacing};`;
911
+ base += "\nletter-spacing: ".concat(typography.letterSpacing, ";");
671
912
  }
672
913
 
673
914
  if (typography.textTransform) {
674
- base += `\ntext-transform: ${typography.textTransform};`;
915
+ base += "\ntext-transform: ".concat(typography.textTransform, ";");
675
916
  }
676
917
 
677
918
  if (typography.textDecoration) {
678
- base += `\ntext-decoration: ${typography.textDecoration};`;
919
+ base += "\ntext-decoration: ".concat(typography.textDecoration, ";");
679
920
  }
680
921
 
681
922
  if (typography.textAlign) {
682
- base += `\ntext-align: ${typography.textAlign};`;
923
+ base += "\ntext-align: ".concat(typography.textAlign, ";");
683
924
  }
684
925
 
685
926
  if (typography.fontFeature) {
686
- base += `\nfont-feature-settings: ${typography.fontFeature};`;
927
+ base += "\nfont-feature-settings: ".concat(typography.fontFeature, ";");
687
928
  }
688
929
 
689
930
  if (link) {
690
- base += `\ncursor: pointer;`;
931
+ base += "\ncursor: pointer;";
691
932
  }
692
933
 
693
934
  return base;
@@ -820,7 +1061,7 @@ const useId = (idOverride, type) => {
820
1061
  const id = idOverride || defaultId;
821
1062
  React.useEffect(() => {
822
1063
  if (defaultId == null) {
823
- setDefaultId(`eds-${type ? type + `-` : ''}${Math.round(Math.random() * 1e5)}`);
1064
+ setDefaultId("eds-".concat(type ? type + "-" : '').concat(Math.round(Math.random() * 1e5)));
824
1065
  }
825
1066
  }, [defaultId, type]);
826
1067
  return id;
@@ -855,7 +1096,7 @@ const useAutoResize = (targetEl, maxHeight) => {
855
1096
  }
856
1097
 
857
1098
  if (newHeight > clientHeight) {
858
- targetEl.style.height = `${newHeight}px`;
1099
+ targetEl.style.height = "".concat(newHeight, "px");
859
1100
  }
860
1101
  }
861
1102
  };
@@ -877,7 +1118,7 @@ const useToken = (options, token) => React.useCallback(() => {
877
1118
  } = options;
878
1119
 
879
1120
  if (density === 'compact') {
880
- return R.mergeDeepRight(token, token.modes.compact);
1121
+ return mergeDeepRight_1(token, token.modes.compact);
881
1122
  }
882
1123
 
883
1124
  return token;
@@ -996,7 +1237,7 @@ const ButtonBase = styled__default['default'].button.withConfig({
996
1237
  hover,
997
1238
  disabled
998
1239
  } = states;
999
- return styled.css(["margin:0;padding:0;text-decoration:none;position:relative;cursor:pointer;display:inline-block;background:", ";height:", ";width:", ";svg{justify-self:center;}", " ", " ", " &::before{position:absolute;top:0;left:0;width:auto;min-height:auto;content:'';}&::after{position:absolute;top:-", ";left:-", ";width:", ";height:", ";content:'';}@media (hover:hover) and (pointer:fine){&:hover{background:", ";color:", ";", ";}}&:focus{outline:none;}&[data-focus-visible-added]:focus{", "}&::-moz-focus-inner{border:0;}&:disabled{cursor:not-allowed;background:", ";", ";", ";@media (hover:hover) and (pointer:fine){&:hover{background:", ";}}}"], theme.background, theme.height, theme.width, spacingsTemplate(theme.spacings), bordersTemplate(theme.border), typographyTemplate(theme.typography), clickbound === null || clickbound === void 0 ? void 0 : (_clickbound$offset = clickbound.offset) === null || _clickbound$offset === void 0 ? void 0 : _clickbound$offset.top, clickbound === null || clickbound === void 0 ? void 0 : (_clickbound$offset2 = clickbound.offset) === null || _clickbound$offset2 === void 0 ? void 0 : _clickbound$offset2.left, clickbound === null || clickbound === void 0 ? void 0 : clickbound.width, clickbound === null || clickbound === void 0 ? void 0 : clickbound.height, hover.background, (_hover$typography = hover.typography) === null || _hover$typography === void 0 ? void 0 : _hover$typography.color, bordersTemplate(hover === null || hover === void 0 ? void 0 : hover.border), outlineTemplate(focus.outline), disabled.background, bordersTemplate(disabled.border), typographyTemplate(disabled.typography), disabled.background);
1240
+ return styled.css(["margin:0;padding:0;text-decoration:none;position:relative;cursor:pointer;display:inline-block;background:", ";height:", ";width:", ";svg{justify-self:center;}", " ", " ", " &::before{position:absolute;top:0;left:0;width:auto;min-height:auto;content:'';}&::after{position:absolute;top:-", ";left:-", ";width:", ";height:", ";content:'';}@media (hover:hover) and (pointer:fine){&:hover{background:", ";color:", ";", ";}}&:focus{outline:none;}&[data-focus-visible-added]:focus{", "}&:focus-visible{", "}&::-moz-focus-inner{border:0;}&:disabled{cursor:not-allowed;background:", ";", ";", ";@media (hover:hover) and (pointer:fine){&:hover{background:", ";}}}"], theme.background, theme.height, theme.width, spacingsTemplate(theme.spacings), bordersTemplate(theme.border), typographyTemplate(theme.typography), clickbound === null || clickbound === void 0 ? void 0 : (_clickbound$offset = clickbound.offset) === null || _clickbound$offset === void 0 ? void 0 : _clickbound$offset.top, clickbound === null || clickbound === void 0 ? void 0 : (_clickbound$offset2 = clickbound.offset) === null || _clickbound$offset2 === void 0 ? void 0 : _clickbound$offset2.left, clickbound === null || clickbound === void 0 ? void 0 : clickbound.width, clickbound === null || clickbound === void 0 ? void 0 : clickbound.height, hover.background, (_hover$typography = hover.typography) === null || _hover$typography === void 0 ? void 0 : _hover$typography.color, bordersTemplate(hover === null || hover === void 0 ? void 0 : hover.border), outlineTemplate(focus.outline), outlineTemplate(focus.outline), disabled.background, bordersTemplate(disabled.border), typographyTemplate(disabled.typography), disabled.background);
1000
1241
  });
1001
1242
  const Button = /*#__PURE__*/React.forwardRef(function Button({
1002
1243
  color = 'primary',
@@ -1132,7 +1373,7 @@ const findTypography = (variantName, group) => {
1132
1373
 
1133
1374
  const findColor = (inputColor = null) => typeof colors$7[inputColor] === 'undefined' ? inputColor : colors$7[inputColor];
1134
1375
 
1135
- const toVariantName = (variant, bold = false, italic = false, link = false) => `${variant}${bold ? '_bold' : ''}${italic ? '_italic' : ''}${link ? '_link' : ''}`;
1376
+ const toVariantName = (variant, bold = false, italic = false, link = false) => "".concat(variant).concat(bold ? '_bold' : '').concat(italic ? '_italic' : '').concat(link ? '_link' : '');
1136
1377
 
1137
1378
  const StyledTypography$1 = styled__default['default'].p.withConfig({
1138
1379
  displayName: "Typography__StyledTypography",
@@ -1149,7 +1390,7 @@ const StyledTypography$1 = styled__default['default'].p.withConfig({
1149
1390
  }) => //https://caniuse.com/#feat=css-line-clamp
1150
1391
  lines > 0 && styled.css(["&{display:-webkit-box;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;}"], lines), ({
1151
1392
  link: link$1
1152
- }) => link$1 && styled.css(["&:focus{outline:none;}&[data-focus-visible-added]:focus{", "}"], outlineTemplate(link.states.focus.outline)));
1393
+ }) => link$1 && styled.css(["&:focus{outline:none;}&[data-focus-visible-added]:focus{", "}&:focus-visible{", "}"], outlineTemplate(link.states.focus.outline), outlineTemplate(link.states.focus.outline)));
1153
1394
  const Typography = /*#__PURE__*/React.forwardRef(function Typography({
1154
1395
  variant = 'body_short',
1155
1396
  children,
@@ -1166,7 +1407,7 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography({
1166
1407
  const typography = findTypography(variantName, group);
1167
1408
 
1168
1409
  if (typeof typography === 'undefined') {
1169
- throw new Error(`Typography variant not found for variant "${variantName}" ("${variant}") & group "${group || ''}"`);
1410
+ throw new Error("Typography variant not found for variant \"".concat(variantName, "\" (\"").concat(variant, "\") & group \"").concat(group || '', "\""));
1170
1411
  }
1171
1412
 
1172
1413
  return /*#__PURE__*/jsxRuntime.jsx(StyledTypography$1, {
@@ -1321,7 +1562,7 @@ const tableCell = {
1321
1562
  const applyVariant = (variant, token) => {
1322
1563
  switch (variant) {
1323
1564
  case 'numeric':
1324
- return R__namespace.mergeDeepRight(token, token.variants.numeric);
1565
+ return mergeDeepRight_1(token, token.variants.numeric);
1325
1566
 
1326
1567
  default:
1327
1568
  return token;
@@ -1753,12 +1994,12 @@ const dividerHeight = 1;
1753
1994
 
1754
1995
  const reduceByValue = subtractValue => valueWithUnit => {
1755
1996
  const valueAndUnit = valueWithUnit.split(/(\d+)/).filter(val => val.length > 0);
1756
- return `${parseInt(valueAndUnit[0]) - subtractValue}` + valueAndUnit[1];
1997
+ return "".concat(parseInt(valueAndUnit[0]) - subtractValue) + valueAndUnit[1];
1757
1998
  };
1758
1999
 
1759
2000
  const reduceValueByDividerHeight = reduceByValue(dividerHeight);
1760
2001
  const baseDivider$1 = {
1761
- height: `${dividerHeight}px`
2002
+ height: "".concat(dividerHeight, "px")
1762
2003
  };
1763
2004
  const divider$1 = {
1764
2005
  lighter: {
@@ -1943,7 +2184,7 @@ const input$2 = {
1943
2184
  }
1944
2185
  }
1945
2186
  };
1946
- const error$4 = R.mergeDeepRight(input$2, {
2187
+ const error$4 = mergeDeepRight_1(input$2, {
1947
2188
  boxShadow: 'inset 0px -1px 0px 0px transparent',
1948
2189
  states: {
1949
2190
  active: {
@@ -1966,7 +2207,7 @@ const error$4 = R.mergeDeepRight(input$2, {
1966
2207
  }
1967
2208
  }
1968
2209
  });
1969
- const warning$4 = R.mergeDeepRight(input$2, {
2210
+ const warning$4 = mergeDeepRight_1(input$2, {
1970
2211
  boxShadow: 'inset 0px -1px 0px 0px transparent',
1971
2212
  states: {
1972
2213
  active: {
@@ -1989,7 +2230,7 @@ const warning$4 = R.mergeDeepRight(input$2, {
1989
2230
  }
1990
2231
  }
1991
2232
  });
1992
- const success$1 = R.mergeDeepRight(input$2, {
2233
+ const success$1 = mergeDeepRight_1(input$2, {
1993
2234
  boxShadow: 'inset 0px -1px 0px 0px transparent',
1994
2235
  states: {
1995
2236
  active: {
@@ -2313,7 +2554,7 @@ const Variation$2 = ({
2313
2554
  density
2314
2555
  }) => {
2315
2556
  if (!variant) {
2316
- return ``;
2557
+ return "";
2317
2558
  }
2318
2559
 
2319
2560
  const {
@@ -2395,10 +2636,10 @@ const Variation$1 = ({
2395
2636
  var _token$border, _token$border2, _token$border3, _token$border4;
2396
2637
 
2397
2638
  if (!variant) {
2398
- return ``;
2639
+ return "";
2399
2640
  }
2400
2641
 
2401
- return styled.css(["box-shadow:", ";", ""], isFocused ? `none` : variant === 'default' ? `inset 0 -1px 0 0 ${((_token$border = token.border) === null || _token$border === void 0 ? void 0 : _token$border.type) === 'border' && ((_token$border2 = token.border) === null || _token$border2 === void 0 ? void 0 : _token$border2.color)}` : `0 0 0 1px ${((_token$border3 = token.border) === null || _token$border3 === void 0 ? void 0 : _token$border3.type) === 'border' && ((_token$border4 = token.border) === null || _token$border4 === void 0 ? void 0 : _token$border4.color)}`, isFocused && outlineTemplate(token.states.focus.outline));
2642
+ return styled.css(["box-shadow:", ";", ""], isFocused ? "none" : variant === 'default' ? "inset 0 -1px 0 0 ".concat(((_token$border = token.border) === null || _token$border === void 0 ? void 0 : _token$border.type) === 'border' && ((_token$border2 = token.border) === null || _token$border2 === void 0 ? void 0 : _token$border2.color)) : "0 0 0 1px ".concat(((_token$border3 = token.border) === null || _token$border3 === void 0 ? void 0 : _token$border3.type) === 'border' && ((_token$border4 = token.border) === null || _token$border4 === void 0 ? void 0 : _token$border4.color)), isFocused && outlineTemplate(token.states.focus.outline));
2402
2643
  };
2403
2644
 
2404
2645
  const StrippedInput = styled__default['default'](Input$5).withConfig({
@@ -2628,7 +2869,7 @@ const Variation = ({
2628
2869
  isDisabled
2629
2870
  }) => {
2630
2871
  if (!variant) {
2631
- return ``;
2872
+ return "";
2632
2873
  }
2633
2874
 
2634
2875
  const {
@@ -2792,7 +3033,7 @@ const customIcon = icon => ({
2792
3033
 
2793
3034
  const transform = ({
2794
3035
  rotation
2795
- }) => rotation ? `transform: rotate(${rotation}deg)` : '';
3036
+ }) => rotation ? "transform: rotate(".concat(rotation, "deg)") : '';
2796
3037
 
2797
3038
  const StyledSvg = styled__default['default'].svg.attrs(({
2798
3039
  height,
@@ -2801,8 +3042,8 @@ const StyledSvg = styled__default['default'].svg.attrs(({
2801
3042
  }) => ({
2802
3043
  name: null,
2803
3044
  xmlns: 'http://www.w3.org/2000/svg',
2804
- height: `${height}px`,
2805
- width: `${width}px`,
3045
+ height: "".concat(height, "px"),
3046
+ width: "".concat(width, "px"),
2806
3047
  fill
2807
3048
  })).withConfig({
2808
3049
  displayName: "Icon__StyledSvg",
@@ -2815,7 +3056,7 @@ const StyledPath$2 = styled__default['default'].path.attrs(({
2815
3056
  size: null,
2816
3057
  fillRule: 'evenodd',
2817
3058
  clipRule: 'evenodd',
2818
- transform: size / height !== 1 ? `scale(${size / height})` : null
3059
+ transform: size / height !== 1 ? "scale(".concat(size / height, ")") : null
2819
3060
  })).withConfig({
2820
3061
  displayName: "Icon__StyledPath",
2821
3062
  componentId: "sc-6evbi1-1"
@@ -2836,14 +3077,14 @@ const Icon$2 = /*#__PURE__*/React.forwardRef(function Icon({
2836
3077
  } = data ? customIcon(data) : get(name);
2837
3078
 
2838
3079
  if (typeof icon === 'undefined') {
2839
- throw Error(`Icon "${name}" not found. Have you added it using Icon.add() or using data props?`);
3080
+ throw Error("Icon \"".concat(name, "\" not found. Have you added it using Icon.add() or using data props?"));
2840
3081
  }
2841
3082
 
2842
3083
  let svgProps = {
2843
3084
  height: size,
2844
3085
  width: size,
2845
3086
  fill: color,
2846
- viewBox: `0 0 ${size} ${size}`,
3087
+ viewBox: "0 0 ".concat(size, " ").concat(size),
2847
3088
  className,
2848
3089
  rotation,
2849
3090
  name,
@@ -2859,7 +3100,7 @@ const Icon$2 = /*#__PURE__*/React.forwardRef(function Icon({
2859
3100
  let titleId = '';
2860
3101
 
2861
3102
  if (title) {
2862
- titleId = `${icon.prefix}-${icon.name}-${count}`;
3103
+ titleId = "".concat(icon.prefix, "-").concat(icon.name, "-").concat(count);
2863
3104
  svgProps = { ...svgProps,
2864
3105
  title,
2865
3106
  role: 'img',
@@ -2916,7 +3157,7 @@ const List$2 = /*#__PURE__*/React.forwardRef(function List({
2916
3157
  });
2917
3158
  }); // List.displayName = 'List'
2918
3159
 
2919
- const ListItem$4 = /*#__PURE__*/React.forwardRef(function ListItem({
3160
+ const ListItem$2 = /*#__PURE__*/React.forwardRef(function ListItem({
2920
3161
  children,
2921
3162
  ...props
2922
3163
  }, ref) {
@@ -2927,7 +3168,7 @@ const ListItem$4 = /*#__PURE__*/React.forwardRef(function ListItem({
2927
3168
  }); // ListItem.displayName = 'ListItem'
2928
3169
 
2929
3170
  const List$1 = List$2;
2930
- List$1.Item = ListItem$4;
3171
+ List$1.Item = ListItem$2;
2931
3172
  List$1.Item.displayName = 'List.Item';
2932
3173
 
2933
3174
  const Accordion$1 = /*#__PURE__*/React.forwardRef(function Accordion({
@@ -2970,8 +3211,8 @@ const AccordionItem = /*#__PURE__*/React.forwardRef(function AccordionItem({
2970
3211
  };
2971
3212
 
2972
3213
  const Children = React.Children.map(children, (child, childIndex) => {
2973
- const headerId = `${accordionId}-header-${index + 1}`;
2974
- const panelId = `${accordionId}-panel-${index + 1}`;
3214
+ const headerId = "".concat(accordionId, "-header-").concat(index + 1);
3215
+ const panelId = "".concat(accordionId, "-panel-").concat(index + 1);
2975
3216
  return childIndex === 0 ? /*#__PURE__*/React.cloneElement(child, {
2976
3217
  isExpanded: expanded,
2977
3218
  toggleExpanded,
@@ -3150,7 +3391,7 @@ const StyledAccordionHeader = styled__default['default'].div.attrs(({
3150
3391
  })).withConfig({
3151
3392
  displayName: "AccordionHeader__StyledAccordionHeader",
3152
3393
  componentId: "sc-cu2e95-0"
3153
- })(["", " ", " ", " &[data-focus-visible-added]:focus{", "}border-top:", ";background:", ";height:", ";margin:0;display:flex;align-items:center;box-sizing:border-box;", " > svg{color:", ";}"], typographyTemplate(header$2.typography), bordersTemplate(accordion.border), spacingsTemplate(header$2.spacings), outlineTemplate(header$2.states.focus.outline), ({
3394
+ })(["", " ", " ", " &[data-focus-visible-added]:focus{", "}&:focus-visible{", "}border-top:", ";background:", ";height:", ";margin:0;display:flex;align-items:center;box-sizing:border-box;", " > svg{color:", ";}"], typographyTemplate(header$2.typography), bordersTemplate(accordion.border), spacingsTemplate(header$2.spacings), outlineTemplate(header$2.states.focus.outline), outlineTemplate(header$2.states.focus.outline), ({
3154
3395
  parentIndex
3155
3396
  }) => parentIndex === 0 ? null : 'none', header$2.background, header$2.height, ({
3156
3397
  disabled
@@ -3219,7 +3460,7 @@ const AccordionHeader = /*#__PURE__*/React.forwardRef(function AccordionHeader({
3219
3460
  size: 24,
3220
3461
  chevronPosition: chevronPosition,
3221
3462
  color: disabled ? chevronToken.states.disabled.background : chevronToken.background
3222
- }, `${id}-icon`);
3463
+ }, "".concat(id, "-icon"));
3223
3464
 
3224
3465
  const headerChildren = React.Children.map(children, child => {
3225
3466
  if (typeof child === 'string') {
@@ -3395,8 +3636,8 @@ const TabList = /*#__PURE__*/React.forwardRef(function TabsList({
3395
3636
  const tabRef = index === activeTab ? // eslint-disable-next-line react-hooks/rules-of-hooks
3396
3637
  useCombinedRefs(child.ref, selectedTabRef) : child.ref;
3397
3638
  return /*#__PURE__*/React.cloneElement(child, {
3398
- id: `${tabsId}-tab-${index + 1}`,
3399
- 'aria-controls': `${tabsId}-panel-${index + 1}`,
3639
+ id: "".concat(tabsId, "-tab-").concat(index + 1),
3640
+ 'aria-controls': "".concat(tabsId, "-panel-").concat(index + 1),
3400
3641
  active: index === activeTab,
3401
3642
  index,
3402
3643
  onClick: () => handleChange(index),
@@ -3583,9 +3824,9 @@ const StyledTab = styled__default['default'].button.attrs(({
3583
3824
  })).withConfig({
3584
3825
  displayName: "Tab__StyledTab",
3585
3826
  componentId: "sc-scjkct-0"
3586
- })(["appearance:none;box-sizing:border-box;font-family:inherit;border:none;outline:none;font-size:1rem;height:", ";", " color:", ";background-color:", ";position:relative;white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden;&:focus{outline:none;}&[data-focus],&[data-focus-visible-added]:focus{", "}&::-moz-focus-inner{border:0;}@media (hover:hover) and (pointer:fine){&[data-hover],&:hover{color:", ";", "}}", " ", ""], tab.height, spacingsTemplate(tab.spacings), ({
3827
+ })(["appearance:none;box-sizing:border-box;font-family:inherit;border:none;outline:none;font-size:1rem;height:", ";", " color:", ";background-color:", ";position:relative;white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden;&:focus{outline:none;}&[data-focus],&[data-focus-visible-added]:focus{", "}&:focus-visible{", "}&::-moz-focus-inner{border:0;}@media (hover:hover) and (pointer:fine){&[data-hover],&:hover{color:", ";", "}}", " ", ""], tab.height, spacingsTemplate(tab.spacings), ({
3587
3828
  active
3588
- }) => active ? tab.states.active.typography.color : tab.typography.color, tab.background, outlineTemplate(tab.states.focus.outline), ({
3829
+ }) => active ? tab.states.active.typography.color : tab.typography.color, tab.background, outlineTemplate(tab.states.focus.outline), outlineTemplate(tab.states.focus.outline), ({
3589
3830
  active
3590
3831
  }) => active ? tab.states.active.states.hover.typography.color : tab.typography.color, ({
3591
3832
  disabled
@@ -3610,8 +3851,8 @@ const TabPanels = /*#__PURE__*/React.forwardRef(function TabPanels({
3610
3851
  tabsId
3611
3852
  } = React.useContext(TabsContext);
3612
3853
  const Panels = React.Children.map(children, (child, index) => /*#__PURE__*/React.cloneElement(child, {
3613
- id: `${tabsId}-panel-${index + 1}`,
3614
- 'aria-labelledby': `${tabsId}-tab-${index + 1}`,
3854
+ id: "".concat(tabsId, "-panel-").concat(index + 1),
3855
+ 'aria-labelledby': "".concat(tabsId, "-tab-").concat(index + 1),
3615
3856
  hidden: activeTab !== index
3616
3857
  }));
3617
3858
  return /*#__PURE__*/jsxRuntime.jsx("div", {
@@ -3632,7 +3873,7 @@ const StyledTabPanel = styled__default['default'].div.attrs(() => ({
3632
3873
  })).withConfig({
3633
3874
  displayName: "TabPanel__StyledTabPanel",
3634
3875
  componentId: "sc-e8v1d4-0"
3635
- })(["", " &:focus{outline:none;}&[data-focus-visible-added]:focus{", "}"], spacingsTemplate(panel.spacings), outlineTemplate(panel.states.focus.outline));
3876
+ })(["", " &:focus{outline:none;}&[data-focus-visible-added]:focus{", "}&:focus-visible{", "}"], spacingsTemplate(panel.spacings), outlineTemplate(panel.states.focus.outline), outlineTemplate(panel.states.focus.outline));
3636
3877
  const TabPanel = /*#__PURE__*/React.forwardRef(function TabPanel({ ...props
3637
3878
  }, ref) {
3638
3879
  return /*#__PURE__*/jsxRuntime.jsx(StyledTabPanel, {
@@ -3717,11 +3958,11 @@ const {
3717
3958
  const StyledCard = styled__default['default'].div.withConfig({
3718
3959
  displayName: "Card__StyledCard",
3719
3960
  componentId: "sc-bjucjn-0"
3720
- })(["height:fit-content;width:100%;position:relative;background-color:", ";box-sizing:border-box;display:grid;grid-gap:16px;grid-auto-columns:auto;align-items:center;align-content:start;cursor:", ";", ";", ""], ({
3961
+ })(["height:fit-content;width:100%;position:relative;background-color:", ";box-sizing:border-box;display:grid;grid-gap:16px;grid-auto-columns:auto;align-items:center;align-content:start;cursor:", ";", ";"], ({
3721
3962
  background
3722
3963
  }) => background, ({
3723
3964
  cursor
3724
- }) => cursor, bordersTemplate(primary$3.border), spacingsTemplate(primary$3.spacings));
3965
+ }) => cursor, bordersTemplate(primary$3.border));
3725
3966
  const Card$1 = /*#__PURE__*/React.forwardRef(function Card({
3726
3967
  children,
3727
3968
  variant = 'default',
@@ -3743,12 +3984,15 @@ const Card$1 = /*#__PURE__*/React.forwardRef(function Card({
3743
3984
  });
3744
3985
  });
3745
3986
 
3987
+ const {
3988
+ spacings: spacings$8
3989
+ } = primary$4;
3746
3990
  const StyledCardActions = styled__default['default'].div.withConfig({
3747
3991
  displayName: "CardActions__StyledCardActions",
3748
3992
  componentId: "sc-1d5vskp-0"
3749
- })(["display:grid;grid-gap:8px;grid-auto-flow:column;align-items:center;justify-content:", ";"], ({
3993
+ })(["display:grid;grid-gap:8px;grid-auto-flow:column;align-items:center;justify-content:", ";padding:0 ", " 0 ", ";:first-child{padding-top:", ";}:last-child{padding-bottom:", ";}"], ({
3750
3994
  justifyContent
3751
- }) => justifyContent);
3995
+ }) => justifyContent, spacings$8.right, spacings$8.left, spacings$8.top, spacings$8.bottom);
3752
3996
  const CardActions = /*#__PURE__*/React.forwardRef(function CardActions({
3753
3997
  children,
3754
3998
  alignRight = false,
@@ -3769,6 +4013,24 @@ const CardActions = /*#__PURE__*/React.forwardRef(function CardActions({
3769
4013
  });
3770
4014
  });
3771
4015
 
4016
+ const {
4017
+ spacings: spacings$7
4018
+ } = primary$4;
4019
+ const StyledCardContent = styled__default['default'].div.withConfig({
4020
+ displayName: "CardContent__StyledCardContent",
4021
+ componentId: "sc-esm4ym-0"
4022
+ })(["display:grid;padding:0 ", " 0 ", ";:last-child{padding-bottom:", ";}"], spacings$7.right, spacings$7.left, spacings$7.bottom);
4023
+ const CardContent = /*#__PURE__*/React.forwardRef(function CardContent({
4024
+ children,
4025
+ ...props
4026
+ }, ref) {
4027
+ return /*#__PURE__*/jsxRuntime.jsx(StyledCardContent, {
4028
+ ref: ref,
4029
+ ...props,
4030
+ children: children
4031
+ });
4032
+ });
4033
+
3772
4034
  const {
3773
4035
  spacings: spacings$6,
3774
4036
  border: border$5
@@ -3776,9 +4038,9 @@ const {
3776
4038
  const StyledCardMedia = styled__default['default'].div.withConfig({
3777
4039
  displayName: "CardMedia__StyledCardMedia",
3778
4040
  componentId: "sc-kr8q9c-0"
3779
- })(["display:flex;width:100%;&:last-child{margin-bottom:8px;}", ""], ({
4041
+ })(["display:flex;width:auto;", ""], ({
3780
4042
  fullWidth
3781
- }) => fullWidth ? styled.css(["> *{width:calc(100% + ", " + ", ");margin-left:-", ";margin-right:-", ";}&:first-child{margin-top:-", ";img{border-top-right-radius:", ";border-top-left-radius:", ";}}"], spacings$6.left, spacings$6.right, spacings$6.left, spacings$6.right, spacings$6.top, border$5.type === 'border' && border$5.radius, border$5.type === 'border' && border$5.radius) : styled.css(["> *{width:100%;}"]));
4043
+ }) => fullWidth ? styled.css(["> *{width:100%;}&:first-child{img{border-top-right-radius:", ";border-top-left-radius:", ";}}&:last-child{img{border-bottom-right-radius:", ";border-bottom-left-radius:", ";}}"], border$5.type === 'border' && border$5.radius, border$5.type === 'border' && border$5.radius, border$5.type === 'border' && border$5.radius, border$5.type === 'border' && border$5.radius) : styled.css(["padding:0 ", " 0 ", ";&:first-child{padding:", " ", " 0 ", ";}&:last-child{padding:0 ", " ", " ", ";}> *{width:100%;}"], spacings$6.right, spacings$6.left, spacings$6.top, spacings$6.right, spacings$6.left, spacings$6.right, spacings$6.bottom, spacings$6.left));
3782
4044
  const CardMedia = /*#__PURE__*/React.forwardRef(function CardMedia({
3783
4045
  children,
3784
4046
  fullWidth = false,
@@ -3799,7 +4061,7 @@ const {
3799
4061
  const StyledCardHeader = styled__default['default'].div.withConfig({
3800
4062
  displayName: "CardHeader__StyledCardHeader",
3801
4063
  componentId: "sc-15k8edh-0"
3802
- })(["display:flex;justify-content:space-between;align-items:center;>:not(:first-child){margin-left:", ";}"], spacings$5.left);
4064
+ })(["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$5.right, spacings$5.left, spacings$5.left, spacings$5.top, spacings$5.bottom);
3803
4065
  const CardHeader = /*#__PURE__*/React.forwardRef(function CardHeader({
3804
4066
  children,
3805
4067
  ...rest
@@ -3830,10 +4092,12 @@ const CardHeaderTitle = /*#__PURE__*/React.forwardRef(function CardHeaderTitle({
3830
4092
 
3831
4093
  const Card = Card$1;
3832
4094
  Card.Actions = CardActions;
4095
+ Card.Content = CardContent;
3833
4096
  Card.Header = CardHeader;
3834
4097
  Card.Media = CardMedia;
3835
4098
  Card.HeaderTitle = CardHeaderTitle;
3836
4099
  Card.Actions.displayName = 'Card.Actions';
4100
+ Card.Content.displayName = 'Card.Content';
3837
4101
  Card.Header.displayName = 'Card.Header';
3838
4102
  Card.Media.displayName = 'Card.Media';
3839
4103
  Card.HeaderTitle.displayName = 'Card.HeaderTitle';
@@ -3891,7 +4155,7 @@ const TopBar$1 = /*#__PURE__*/React.forwardRef(function TopBar({
3891
4155
  const StyledActions$1 = styled__default['default'].div.withConfig({
3892
4156
  displayName: "Actions__StyledActions",
3893
4157
  componentId: "sc-1251ang-0"
3894
- })(["grid-area:right;text-align:right;"]);
4158
+ })(["grid-area:right;text-align:right;align-items:center;display:flex;"]);
3895
4159
  const Actions$1 = /*#__PURE__*/React.forwardRef(function Actions({
3896
4160
  children,
3897
4161
  ...props
@@ -3907,7 +4171,7 @@ const StyledHeader = styled__default['default'].div.withConfig({
3907
4171
  displayName: "Header__StyledHeader",
3908
4172
  componentId: "sc-1fpllve-0"
3909
4173
  })(["grid-area:left;display:grid;grid-template-columns:auto auto;grid-gap:24px;align-items:center;"]);
3910
- const Header$1 = /*#__PURE__*/React.forwardRef(function Header({
4174
+ const Header$2 = /*#__PURE__*/React.forwardRef(function Header({
3911
4175
  children,
3912
4176
  ...props
3913
4177
  }, ref) {
@@ -3935,7 +4199,7 @@ const CustomContent$1 = /*#__PURE__*/React.forwardRef(function CustomContent({
3935
4199
 
3936
4200
  const TopBar = TopBar$1;
3937
4201
  TopBar.Actions = Actions$1;
3938
- TopBar.Header = Header$1;
4202
+ TopBar.Header = Header$2;
3939
4203
  TopBar.CustomContent = CustomContent$1;
3940
4204
  TopBar.Actions.displayName = 'Topbar.Actions';
3941
4205
  TopBar.Header.displayName = 'Topbar.Header';
@@ -4425,7 +4689,7 @@ const StyledSideSheet = styled__default['default'].div.withConfig({
4425
4689
  })(["height:100%;position:absolute;z-index:200;top:0;right:0;box-sizing:border-box;background:", ";width:", ";", " ", ";"], background$7, ({
4426
4690
  width
4427
4691
  }) => width, bordersTemplate(border$3), spacingsTemplate(spacings$3));
4428
- const Header = styled__default['default'].div.withConfig({
4692
+ const Header$1 = styled__default['default'].div.withConfig({
4429
4693
  displayName: "SideSheet__Header",
4430
4694
  componentId: "sc-wkzlnn-1"
4431
4695
  })(["display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;padding-bottom:24px;padding-right:10px;"]);
@@ -4444,7 +4708,7 @@ const SideSheet = /*#__PURE__*/React.forwardRef(function SideSheet({
4444
4708
 
4445
4709
  return open && /*#__PURE__*/jsxRuntime.jsxs(StyledSideSheet, { ...props,
4446
4710
  id: "side-sheet",
4447
- children: [/*#__PURE__*/jsxRuntime.jsxs(Header, {
4711
+ children: [/*#__PURE__*/jsxRuntime.jsxs(Header$1, {
4448
4712
  children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
4449
4713
  variant: "h2",
4450
4714
  children: title
@@ -4658,7 +4922,7 @@ const StyledChips = styled__default['default'].div.attrs(({
4658
4922
  })).withConfig({
4659
4923
  displayName: "Chip__StyledChips",
4660
4924
  componentId: "sc-wzsllq-0"
4661
- })(["background:", ";height:", ";width:fit-content;display:grid;grid-gap:8px;grid-auto-flow:column;grid-auto-columns:max-content;align-items:center;z-index:10;svg{fill:", ";}@media (hover:hover) and (pointer:fine){&:hover{color:", ";svg{fill:", ";}}}&:focus{outline:none;}&[data-focus-visible-added]:focus{", "}", " ", " ", " ", " ", " ", " ", " ", ""], background$6, height$1, typography$9.color, states$3.hover.typography.color, states$3.hover.typography.color, outlineTemplate(states$3.focus.outline), bordersTemplate(border$2), spacingsTemplate(spacings$2), typographyTemplate(typography$9), ({
4925
+ })(["background:", ";height:", ";width:fit-content;display:grid;grid-gap:8px;grid-auto-flow:column;grid-auto-columns:max-content;align-items:center;z-index:10;svg{fill:", ";}@media (hover:hover) and (pointer:fine){&:hover{color:", ";svg{fill:", ";}}}&:focus{outline:none;}&[data-focus-visible-added]:focus{", "}&:focus-visible{", "}", " ", " ", " ", " ", " ", " ", " ", ""], background$6, height$1, typography$9.color, states$3.hover.typography.color, states$3.hover.typography.color, outlineTemplate(states$3.focus.outline), outlineTemplate(states$3.focus.outline), bordersTemplate(border$2), spacingsTemplate(spacings$2), typographyTemplate(typography$9), ({
4662
4926
  clickable
4663
4927
  }) => clickable && styled.css(["@media (hover:hover) and (pointer:fine){&:hover{cursor:pointer;}}"]), ({
4664
4928
  variant
@@ -4887,6 +5151,13 @@ const search = {
4887
5151
  },
4888
5152
  height: '36px'
4889
5153
  }
5154
+ },
5155
+ button: {
5156
+ height: '24px',
5157
+ width: '24px',
5158
+ spacings: {
5159
+ right: small$2
5160
+ }
4890
5161
  }
4891
5162
  }
4892
5163
  };
@@ -4900,7 +5171,8 @@ const {
4900
5171
  clickbound,
4901
5172
  entities: {
4902
5173
  icon: icon$1,
4903
- placeholder
5174
+ placeholder,
5175
+ button
4904
5176
  },
4905
5177
  states: states$2
4906
5178
  } = search;
@@ -4918,12 +5190,12 @@ const Input$4 = styled__default['default'].input.withConfig({
4918
5190
  })(["min-height:0;min-width:0;width:100%;height:100%;margin:0;padding:0;border:none;appearance:none;box-sizing:border-box;background:transparent;&[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;}", ""], typographyTemplate(typography$7), ({
4919
5191
  disabled
4920
5192
  }) => disabled && styled.css(["cursor:not-allowed;"]));
4921
- const InsideButton = styled__default['default'].div.withConfig({
5193
+ const InsideButton = styled__default['default'](Button).withConfig({
4922
5194
  displayName: "Search__InsideButton",
4923
5195
  componentId: "sc-v8l23u-2"
4924
- })(["", " display:flex;align-items:center;visibility:hidden;z-index:1;padding:4px;height:16px;width:16px;position:relative;&::after{z-index:-1;position:absolute;top:-", ";left:0;width:100%;height:", ";content:'';}&::before{position:absolute;top:0;left:0;width:auto;min-height:auto;content:'';}", ""], bordersTemplate(icon$1.border), icon$1.clickbound.offset.top, icon$1.clickbound.height, ({
5196
+ })(["visibility:hidden;position:absolute;right:", ";height:", ";width:", ";", ""], button.spacings.right, button.height, button.width, ({
4925
5197
  isActive
4926
- }) => isActive && styled.css(["visibility:visible;@media (hover:hover) and (pointer:fine){&:hover{cursor:pointer;background:", ";}}"], icon$1.states.hover.background));
5198
+ }) => isActive && styled.css(["visibility:visible;"]));
4927
5199
  const Search = /*#__PURE__*/React.forwardRef(function Search({
4928
5200
  onChange,
4929
5201
  defaultValue = '',
@@ -5033,8 +5305,6 @@ const Search = /*#__PURE__*/React.forwardRef(function Search({
5033
5305
  }, value, defaultValue);
5034
5306
  const clearButtonProps = {
5035
5307
  isActive: state.isActive,
5036
- size,
5037
- role: 'button',
5038
5308
  onClick: e => {
5039
5309
  e.stopPropagation();
5040
5310
 
@@ -5050,10 +5320,12 @@ const Search = /*#__PURE__*/React.forwardRef(function Search({
5050
5320
  size: size
5051
5321
  }), /*#__PURE__*/jsxRuntime.jsx(Input$4, { ...inputProps
5052
5322
  }), /*#__PURE__*/jsxRuntime.jsx(InsideButton, { ...clearButtonProps,
5053
- "aria-label": "Clear search",
5323
+ "aria-label": 'clear search',
5324
+ title: "clear",
5325
+ variant: "ghost_icon",
5054
5326
  children: /*#__PURE__*/jsxRuntime.jsx(Icon$1, {
5055
5327
  data: edsIcons.close,
5056
- size: size
5328
+ size: 16
5057
5329
  })
5058
5330
  })]
5059
5331
  });
@@ -5254,7 +5526,7 @@ const StyledSliderInput = styled__default['default'].input.attrs(() => ({
5254
5526
  })).withConfig({
5255
5527
  displayName: "SliderInput__StyledSliderInput",
5256
5528
  componentId: "sc-17orw4f-0"
5257
- })(["&::-webkit-slider-runnable-track,&::-webkit-slider-thumb,&{-webkit-appearance:none;}::-moz-focus-outer{border:0;}width:100%;background:transparent;background:none;grid-column:1 / -1;grid-row:2;font:inherit;margin:0;z-index:2;outline:none;&[data-focus-visible-added]:focus{z-index:2;&::-webkit-slider-thumb{", ";}&::-moz-range-thumb{", ";}}&:hover,&:active{&::-webkit-slider-thumb{", "}&::-moz-range-thumb{", "}}&:disabled{&::-webkit-slider-thumb{", "}&::-moz-range-thumb{", "}}&:disabled:hover,&:disabled:active{&::-webkit-slider-thumb{", "}&::-moz-range-thumb{", "}&::-webkit-slider-runnable-track{cursor:not-allowed;}&::-moz-range-track{cursor:not-allowed;}}&:before,&:after{}&:after{right:0;}&::-webkit-slider-thumb{", " margin-top:6px;}&::-moz-range-thumb{", " height:8px;width:8px;}&::-webkit-slider-runnable-track{", "}&::-moz-range-track{", "}"], outlineTemplate(handle$1.states.focus.outline), outlineTemplate(handle$1.states.focus.outline), thumbHover, thumbHover, thumbDisabled, thumbDisabled, thumbHoverAndDisabled, thumbHoverAndDisabled, thumb, thumb, track$1, track$1);
5529
+ })(["&::-webkit-slider-runnable-track,&::-webkit-slider-thumb,&{-webkit-appearance:none;}::-moz-focus-outer{border:0;}width:100%;background:transparent;background:none;grid-column:1 / -1;grid-row:2;font:inherit;margin:0;z-index:2;outline:none;&[data-focus-visible-added]:focus{z-index:2;&::-webkit-slider-thumb{", ";}&::-moz-range-thumb{", ";}}&:focus-visible{z-index:2;&::-webkit-slider-thumb{", ";}&::-moz-range-thumb{", ";}}&:hover,&:active{&::-webkit-slider-thumb{", "}&::-moz-range-thumb{", "}}&:disabled{&::-webkit-slider-thumb{", "}&::-moz-range-thumb{", "}}&:disabled:hover,&:disabled:active{&::-webkit-slider-thumb{", "}&::-moz-range-thumb{", "}&::-webkit-slider-runnable-track{cursor:not-allowed;}&::-moz-range-track{cursor:not-allowed;}}&:before,&:after{}&:after{right:0;}&::-webkit-slider-thumb{", " margin-top:6px;}&::-moz-range-thumb{", " height:8px;width:8px;}&::-webkit-slider-runnable-track{", "}&::-moz-range-track{", "}"], outlineTemplate(handle$1.states.focus.outline), outlineTemplate(handle$1.states.focus.outline), outlineTemplate(handle$1.states.focus.outline), outlineTemplate(handle$1.states.focus.outline), thumbHover, thumbHover, thumbDisabled, thumbDisabled, thumbHoverAndDisabled, thumbHoverAndDisabled, thumb, thumb, track$1, track$1);
5258
5530
  const SliderInput = /*#__PURE__*/React.forwardRef(function SliderInput({
5259
5531
  value,
5260
5532
  min,
@@ -5297,7 +5569,7 @@ const {
5297
5569
  } = slider;
5298
5570
  const fakeTrackBg = styled.css(["background-image:url(\"data:image/svg+xml,<svg xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'><rect x='0' y='11' fill='", "' width='100%' height='4' rx='2' /></svg>\");background-size:cover;background-repeat:no-repeat;"], track.background);
5299
5571
  const fakeTrackBgHover = styled.css({
5300
- backgroundImage: `url("data:image/svg+xml,<svg xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'><rect x='0' y='11' fill='${track.states.hover.background}' width='100%' height='4' rx='2' /></svg>")`
5572
+ backgroundImage: "url(\"data:image/svg+xml,<svg xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'><rect x='0' y='11' fill='".concat(track.states.hover.background, "' width='100%' height='4' rx='2' /></svg>\")")
5301
5573
  });
5302
5574
  const trackFill = styled.css(["grid-column:1 / span 2;grid-row:2;height:", ";margin-bottom:", ";align-self:end;content:'';"], track.height, track.spacings.bottom);
5303
5575
  const wrapperGrid = styled.css(["display:grid;grid-template-rows:max-content 24px;grid-template-columns:1fr 1fr;width:100%;position:relative;"]);
@@ -5425,9 +5697,9 @@ const Slider = /*#__PURE__*/React.forwardRef(function Slider({
5425
5697
  }
5426
5698
  };
5427
5699
 
5428
- const inputIdA = `${ariaLabelledby}-thumb-a`;
5429
- const inputIdB = `${ariaLabelledby}-thumb-b`;
5430
- const inputId = `${ariaLabelledby}-thumb`;
5700
+ const inputIdA = "".concat(ariaLabelledby, "-thumb-a");
5701
+ const inputIdB = "".concat(ariaLabelledby, "-thumb-b");
5702
+ const inputId = "".concat(ariaLabelledby, "-thumb");
5431
5703
  return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
5432
5704
  children: isRangeSlider ? /*#__PURE__*/jsxRuntime.jsxs(RangeWrapper, { ...rest,
5433
5705
  ref: ref,
@@ -6296,7 +6568,7 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress({
6296
6568
  props['aria-valuemin'] = 0;
6297
6569
  props['aria-valuemax'] = 100;
6298
6570
  const transform = value - 100;
6299
- barStyle = `translateX(${transform}%)`;
6571
+ barStyle = "translateX(".concat(transform, "%)");
6300
6572
  }
6301
6573
  }
6302
6574
 
@@ -6406,7 +6678,7 @@ const CircularProgress = /*#__PURE__*/React.forwardRef(function CircularProgress
6406
6678
 
6407
6679
  if (variant === 'determinate') {
6408
6680
  trackStyle.stroke = circumference.toFixed(3);
6409
- trackStyle.strokeDashoffset = `${((100 - progress) / 100 * circumference).toFixed(3)}px`;
6681
+ trackStyle.strokeDashoffset = "".concat(((100 - progress) / 100 * circumference).toFixed(3), "px");
6410
6682
  props['aria-valuenow'] = progress;
6411
6683
 
6412
6684
  if (value !== undefined) {
@@ -6648,7 +6920,7 @@ const OrderedList$1 = styled__default['default'].ol.withConfig({
6648
6920
  displayName: "Breadcrumbs__OrderedList",
6649
6921
  componentId: "sc-12awlbz-0"
6650
6922
  })(["list-style:none;display:flex;padding:0;margin:0;flex-wrap:wrap;"]);
6651
- const ListItem$3 = styled__default['default'].li.withConfig({
6923
+ const ListItem$1 = styled__default['default'].li.withConfig({
6652
6924
  displayName: "Breadcrumbs__ListItem",
6653
6925
  componentId: "sc-12awlbz-1"
6654
6926
  })(["display:inline-block;"]);
@@ -6687,7 +6959,7 @@ const Breadcrumbs$1 = /*#__PURE__*/React.forwardRef(function Breadcrumbs({
6687
6959
  }
6688
6960
 
6689
6961
  return [allCrumbs[0], /*#__PURE__*/jsxRuntime.jsxs(React.Fragment, {
6690
- children: [/*#__PURE__*/jsxRuntime.jsx(ListItem$3, {
6962
+ children: [/*#__PURE__*/jsxRuntime.jsx(ListItem$1, {
6691
6963
  children: /*#__PURE__*/jsxRuntime.jsx(Collapsed, {
6692
6964
  link: true,
6693
6965
  role: "button",
@@ -6711,7 +6983,7 @@ const Breadcrumbs$1 = /*#__PURE__*/React.forwardRef(function Breadcrumbs({
6711
6983
  /*#__PURE__*/
6712
6984
  // eslint-disable-next-line react/no-array-index-key
6713
6985
  jsxRuntime.jsxs(React.Fragment, {
6714
- children: [/*#__PURE__*/jsxRuntime.jsx(ListItem$3, {
6986
+ children: [/*#__PURE__*/jsxRuntime.jsx(ListItem$1, {
6715
6987
  children: child
6716
6988
  }), index !== React.Children.toArray(children).length - 1 && /*#__PURE__*/jsxRuntime.jsx("li", {
6717
6989
  "aria-hidden": true,
@@ -6720,7 +6992,7 @@ const Breadcrumbs$1 = /*#__PURE__*/React.forwardRef(function Breadcrumbs({
6720
6992
  children: "/"
6721
6993
  })
6722
6994
  })]
6723
- }, `breadcrumb-${index}`));
6995
+ }, "breadcrumb-".concat(index)));
6724
6996
  return /*#__PURE__*/jsxRuntime.jsx("nav", { ...props,
6725
6997
  "aria-label": "breadcrumbs",
6726
6998
  children: /*#__PURE__*/jsxRuntime.jsx(OrderedList$1, {
@@ -6795,8 +7067,13 @@ const MenuProvider = ({
6795
7067
  };
6796
7068
 
6797
7069
  const setOnClose = onClose => {
7070
+ const onCloseHelper = () => {
7071
+ onClose();
7072
+ setFocusedIndex(-1);
7073
+ };
7074
+
6798
7075
  setState(prevState => ({ ...prevState,
6799
- onClose
7076
+ onClose: onCloseHelper
6800
7077
  }));
6801
7078
  };
6802
7079
 
@@ -6956,21 +7233,21 @@ const {
6956
7233
  icon
6957
7234
  }
6958
7235
  } = menu;
6959
- const ListItem$2 = styled__default['default'].li.attrs(({
7236
+ const Item = styled__default['default'].button.attrs(({
6960
7237
  isFocused
6961
7238
  }) => ({
6962
7239
  role: 'menuitem',
6963
7240
  tabIndex: isFocused ? -1 : 0
6964
7241
  })).withConfig({
6965
- displayName: "MenuItem__ListItem",
7242
+ displayName: "MenuItem__Item",
6966
7243
  componentId: "sc-1g9fpbe-0"
6967
- })(["width:auto;position:relative;z-index:2;", " ", " ", " ", ""], typographyTemplate(typography$2), ({
7244
+ })(["border:0;background-color:transparent;width:auto;position:relative;z-index:2;", " ", " ", " ", ""], typographyTemplate(typography$2), ({
6968
7245
  theme
6969
7246
  }) => spacingsTemplate(theme.entities.item.spacings), ({
6970
7247
  active
6971
7248
  }) => active && styled.css(["background:", ";*{color:", ";}"], activeToken.background, activeToken.typography.color), ({
6972
7249
  disabled
6973
- }) => disabled ? styled.css(["*{color:", ";}svg{fill:", ";}&:focus{outline:none;}@media (hover:hover) and (pointer:fine){&:hover{cursor:not-allowed;}}"], disabledToken.typography.color, icon.states.disabled.typography.color) : styled.css(["@media (hover:hover) and (pointer:fine){&:hover{z-index:1;cursor:pointer;background:", ";}}&:focus{", "}"], hover.background, outlineTemplate(focus.outline)));
7250
+ }) => disabled ? styled.css(["*{color:", ";}svg{fill:", ";}&:focus{outline:none;}@media (hover:hover) and (pointer:fine){&:hover{cursor:not-allowed;}}"], disabledToken.typography.color, icon.states.disabled.typography.color) : styled.css(["@media (hover:hover) and (pointer:fine){&:hover{z-index:1;cursor:pointer;background:", ";}}&:focus{z-index:3;", "}"], hover.background, outlineTemplate(focus.outline)));
6974
7251
  const Content = styled__default['default'].div.withConfig({
6975
7252
  displayName: "MenuItem__Content",
6976
7253
  componentId: "sc-1g9fpbe-1"
@@ -6999,7 +7276,7 @@ const MenuItem = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
6999
7276
  disabled,
7000
7277
  isFocused
7001
7278
  };
7002
- return /*#__PURE__*/jsxRuntime.jsx(ListItem$2, { ...props,
7279
+ return /*#__PURE__*/jsxRuntime.jsx(Item, { ...props,
7003
7280
  ref: useCombinedRefs(ref, el => {
7004
7281
  if (el !== null && isFocused) {
7005
7282
  el.focus();
@@ -7007,7 +7284,7 @@ const MenuItem = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
7007
7284
  }),
7008
7285
  onFocus: () => toggleFocus(index),
7009
7286
  onClick: e => {
7010
- if (!disabled && onClick) {
7287
+ if (onClick) {
7011
7288
  onClick(e);
7012
7289
 
7013
7290
  if (onClose !== null) {
@@ -7022,10 +7299,10 @@ const MenuItem = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
7022
7299
  }));
7023
7300
  MenuItem.displayName = 'MenuItem';
7024
7301
 
7025
- const ListItem$1 = styled__default['default'].li.attrs(() => ({
7302
+ const Header = styled__default['default'].div.attrs(() => ({
7026
7303
  tabIndex: 0
7027
7304
  })).withConfig({
7028
- displayName: "MenuSection__ListItem",
7305
+ displayName: "MenuSection__Header",
7029
7306
  componentId: "sc-gfcbvg-0"
7030
7307
  })(["", " &:focus{outline:none;}"], spacingsTemplate(menu.entities.title.spacings));
7031
7308
  const MenuSection = /*#__PURE__*/React__namespace.memo(function MenuSection(props) {
@@ -7035,11 +7312,11 @@ const MenuSection = /*#__PURE__*/React__namespace.memo(function MenuSection(prop
7035
7312
  index
7036
7313
  } = props;
7037
7314
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
7038
- children: [index !== 0 && /*#__PURE__*/jsxRuntime.jsx("li", {
7315
+ children: [index !== 0 && /*#__PURE__*/jsxRuntime.jsx("div", {
7039
7316
  children: /*#__PURE__*/jsxRuntime.jsx(Divider, {
7040
7317
  variant: "small"
7041
7318
  })
7042
- }), title && /*#__PURE__*/jsxRuntime.jsx(ListItem$1, {
7319
+ }), title && /*#__PURE__*/jsxRuntime.jsx(Header, {
7043
7320
  children: /*#__PURE__*/jsxRuntime.jsx(Typography, {
7044
7321
  group: "navigation",
7045
7322
  variant: "label",
@@ -7049,10 +7326,10 @@ const MenuSection = /*#__PURE__*/React__namespace.memo(function MenuSection(prop
7049
7326
  });
7050
7327
  }); // MenuSection.displayName = 'EdsMenuSection'
7051
7328
 
7052
- const List = styled__default['default'].ul.withConfig({
7329
+ const List = styled__default['default'].div.withConfig({
7053
7330
  displayName: "MenuList__List",
7054
7331
  componentId: "sc-104rzof-0"
7055
- })(["position:relative;list-style:none;margin:0;", " li:first-child{z-index:3;}"], spacingsTemplate(menu.spacings));
7332
+ })(["position:relative;list-style:none;display:flex;flex-direction:column;margin:0;", " li:first-child{z-index:3;}"], spacingsTemplate(menu.spacings));
7056
7333
 
7057
7334
  function isIndexable(item) {
7058
7335
  if ( /*#__PURE__*/React.isValidElement(item) && !item.props.disabled && item.type === MenuItem) return true;
@@ -7171,6 +7448,12 @@ const MenuContainer = /*#__PURE__*/React.forwardRef(function MenuContainer({
7171
7448
  useGlobalKeyPress('Escape', () => {
7172
7449
  if (open && onClose !== null) {
7173
7450
  onClose();
7451
+ anchorEl.focus();
7452
+ }
7453
+ });
7454
+ useGlobalKeyPress('Enter', () => {
7455
+ if (open && onClose !== null) {
7456
+ if (window.document.contains(anchorEl)) anchorEl.focus();
7174
7457
  }
7175
7458
  });
7176
7459
  return /*#__PURE__*/jsxRuntime.jsx(MenuList, { ...rest,
@@ -7374,7 +7657,7 @@ const Text = styled__default['default'](Typography).withConfig({
7374
7657
  })(["white-space:nowrap;"]);
7375
7658
 
7376
7659
  function getAriaLabel(page, selected) {
7377
- return `${selected === page ? 'Current page, ' : 'Go to '}page ${page}`;
7660
+ return "".concat(selected === page ? 'Current page, ' : 'Go to ', "page ").concat(page);
7378
7661
  }
7379
7662
 
7380
7663
  const Pagination = /*#__PURE__*/React.forwardRef(function Pagination({
@@ -7425,7 +7708,7 @@ const Pagination = /*#__PURE__*/React.forwardRef(function Pagination({
7425
7708
  ...props,
7426
7709
  children: /*#__PURE__*/jsxRuntime.jsxs(OrderedList, {
7427
7710
  style: {
7428
- gridTemplateColumns: `repeat(${columns}, 48px)`
7711
+ gridTemplateColumns: "repeat(".concat(columns, ", 48px)")
7429
7712
  },
7430
7713
  children: [/*#__PURE__*/jsxRuntime.jsx(ListItem, {
7431
7714
  children: /*#__PURE__*/jsxRuntime.jsx(Button, {
@@ -7452,13 +7735,13 @@ const Pagination = /*#__PURE__*/React.forwardRef(function Pagination({
7452
7735
  onPageChange(event, page);
7453
7736
  }
7454
7737
  })
7455
- }, `list-item ${index}`) : /*#__PURE__*/jsxRuntime.jsx(ListItem // eslint-disable-next-line react/no-array-index-key
7738
+ }, "list-item ".concat(index)) : /*#__PURE__*/jsxRuntime.jsx(ListItem // eslint-disable-next-line react/no-array-index-key
7456
7739
  , {
7457
7740
  children: /*#__PURE__*/jsxRuntime.jsx(StyledIcon, {
7458
7741
  name: "more_horizontal",
7459
7742
  "aria-label": "Ellipsis of pages"
7460
7743
  })
7461
- }, `ellipsis-${index}`)) : undefined, /*#__PURE__*/jsxRuntime.jsx(ListItem, {
7744
+ }, "ellipsis-".concat(index))) : undefined, /*#__PURE__*/jsxRuntime.jsx(ListItem, {
7462
7745
  children: /*#__PURE__*/jsxRuntime.jsx(Button, {
7463
7746
  variant: "ghost_icon",
7464
7747
  onClick: activePage < pages ? event => {
@@ -7476,12 +7759,7 @@ const Pagination = /*#__PURE__*/React.forwardRef(function Pagination({
7476
7759
 
7477
7760
  return withItemIndicator ? /*#__PURE__*/jsxRuntime.jsxs(FlexContainer, {
7478
7761
  children: [/*#__PURE__*/jsxRuntime.jsx(Text, {
7479
- children: currentItemFirst !== currentItemLast ? `${currentItemFirst}
7480
- ${' - '}
7481
- ${currentItemLast}
7482
- ${' of '}
7483
- ${totalItems}
7484
- ${' items'}` : `${currentItemFirst} ${' of '} ${totalItems} ${' items'}`
7762
+ children: currentItemFirst !== currentItemLast ? "".concat(currentItemFirst, "\n ", ' - ', "\n ").concat(currentItemLast, "\n ", ' of ', "\n ").concat(totalItems, "\n ", ' items') : "".concat(currentItemFirst, " ", ' of ', " ").concat(totalItems, " ", ' items')
7485
7763
  }), pagination]
7486
7764
  }) : pagination;
7487
7765
  });
@@ -7681,7 +7959,7 @@ const select = {
7681
7959
  }
7682
7960
  }
7683
7961
  };
7684
- const multiSelect = R__namespace.mergeDeepRight(select, {
7962
+ const multiSelect = mergeDeepRight_1(select, {
7685
7963
  spacings: {
7686
7964
  top: '0',
7687
7965
  bottom: '0',
@@ -7868,7 +8146,7 @@ const SingleSelect = /*#__PURE__*/React.forwardRef(function SingleSelect({
7868
8146
  disabled: disabled
7869
8147
  }),
7870
8148
  children: item
7871
- }, `${item}`))
8149
+ }, "".concat(item)))
7872
8150
  })]
7873
8151
  })
7874
8152
  });
@@ -7980,13 +8258,15 @@ const Input$3 = styled__default['default'].input.attrs(({
7980
8258
  })).withConfig({
7981
8259
  displayName: "Input",
7982
8260
  componentId: "sc-rqj7qf-1"
7983
- })(["--scale:", ";appearance:none;width:100%;height:100%;margin:0;grid-area:input;transform:scale(var(--scale));cursor:", ";&:focus{outline:none;}&[data-focus-visible-added]:focus + svg{", "}&:not(:checked) ~ svg path[name='checked']{display:none;}&:not(:checked) ~ svg path[name='not-checked']{display:inline;}&:checked ~ svg path[name='not-checked']{display:none;}&:checked ~ svg path[name='checked']{display:inline;}"], ({
8261
+ })(["--scale:", ";appearance:none;width:100%;height:100%;margin:0;grid-area:input;transform:scale(var(--scale));cursor:", ";&:focus{outline:none;}&[data-focus-visible-added]:focus + svg{", "}&:focus-visible + svg{", "}&:not(:checked) ~ svg path[name='checked']{display:none;}&:not(:checked) ~ svg path[name='not-checked']{display:inline;}&:checked ~ svg path[name='not-checked']{display:none;}&:checked ~ svg path[name='checked']{display:inline;}"], ({
7984
8262
  theme,
7985
8263
  iconSize
7986
8264
  }) => parseFloat(theme.clickbound.height) / iconSize, ({
7987
8265
  disabled
7988
8266
  }) => disabled ? 'not-allowed' : 'pointer', ({
7989
8267
  theme
8268
+ }) => outlineTemplate(theme.states.focus.outline), ({
8269
+ theme
7990
8270
  }) => outlineTemplate(theme.states.focus.outline));
7991
8271
  const Svg$1 = styled__default['default'].svg.attrs(({
7992
8272
  height,
@@ -8041,7 +8321,7 @@ const CheckboxInput = /*#__PURE__*/React.forwardRef(function CheckboxInput({
8041
8321
  }), indeterminate ? /*#__PURE__*/jsxRuntime.jsx(Svg$1, {
8042
8322
  width: iconSize,
8043
8323
  height: iconSize,
8044
- viewBox: `0 0 ${iconSize} ${iconSize}`,
8324
+ viewBox: "0 0 ".concat(iconSize, " ").concat(iconSize),
8045
8325
  fill: fill,
8046
8326
  "aria-hidden": true,
8047
8327
  children: /*#__PURE__*/jsxRuntime.jsx(StyledPath$1, {
@@ -8051,7 +8331,7 @@ const CheckboxInput = /*#__PURE__*/React.forwardRef(function CheckboxInput({
8051
8331
  }) : /*#__PURE__*/jsxRuntime.jsxs(Svg$1, {
8052
8332
  width: iconSize,
8053
8333
  height: iconSize,
8054
- viewBox: `0 0 ${iconSize} ${iconSize}`,
8334
+ viewBox: "0 0 ".concat(iconSize, " ").concat(iconSize),
8055
8335
  fill: fill,
8056
8336
  "aria-hidden": true,
8057
8337
  children: [/*#__PURE__*/jsxRuntime.jsx(StyledPath$1, {
@@ -8180,7 +8460,7 @@ const MultiSelect = /*#__PURE__*/React.forwardRef(function MultiSelect({
8180
8460
  }
8181
8461
  }
8182
8462
  });
8183
- const placeholderText = items.length > 0 ? `${selectedItems.length}/${items.length} selected` : '';
8463
+ const placeholderText = items.length > 0 ? "".concat(selectedItems.length, "/").concat(items.length, " selected") : '';
8184
8464
 
8185
8465
  const openSelect = () => {
8186
8466
  if (!isOpen && !(disabled || readOnly)) {
@@ -8247,7 +8527,7 @@ const MultiSelect = /*#__PURE__*/React.forwardRef(function MultiSelect({
8247
8527
  }), /*#__PURE__*/jsxRuntime.jsx("span", {
8248
8528
  children: item
8249
8529
  })]
8250
- }, `${item}`))
8530
+ }, "".concat(item)))
8251
8531
  })]
8252
8532
  })
8253
8533
  });
@@ -8385,13 +8665,15 @@ const Input$2 = styled__default['default'].input.attrs(({
8385
8665
  })).withConfig({
8386
8666
  displayName: "Radio__Input",
8387
8667
  componentId: "sc-we59oz-0"
8388
- })(["--scale:", ";appearance:none;width:100%;height:100%;margin:0;grid-area:input;transform:scale(var(--scale));cursor:", ";&:focus{outline:none;}&[data-focus-visible-added]:focus + svg{", "}&:not(:checked) ~ svg path[name='selected']{display:none;}&:not(:checked) ~ svg path[name='unselected']{display:inline;}&:checked ~ svg path[name='unselected']{display:none;}&:checked ~ svg path[name='selected']{display:inline;}"], ({
8668
+ })(["--scale:", ";appearance:none;width:100%;height:100%;margin:0;grid-area:input;transform:scale(var(--scale));cursor:", ";&:focus{outline:none;}&[data-focus-visible-added]:focus + svg{", "}&:focus-visible + svg{", "}&:not(:checked) ~ svg path[name='selected']{display:none;}&:not(:checked) ~ svg path[name='unselected']{display:inline;}&:checked ~ svg path[name='unselected']{display:none;}&:checked ~ svg path[name='selected']{display:inline;}"], ({
8389
8669
  theme,
8390
8670
  iconSize
8391
8671
  }) => parseFloat(theme.clickbound.height) / iconSize, ({
8392
8672
  disabled
8393
8673
  }) => disabled ? 'not-allowed' : 'pointer', ({
8394
8674
  theme
8675
+ }) => outlineTemplate(theme.states.focus.outline), ({
8676
+ theme
8395
8677
  }) => outlineTemplate(theme.states.focus.outline));
8396
8678
  const StyledLabel$1 = styled__default['default'].label.withConfig({
8397
8679
  displayName: "Radio__StyledLabel",
@@ -8455,7 +8737,7 @@ const Radio = /*#__PURE__*/React.forwardRef(function Radio({
8455
8737
  return /*#__PURE__*/jsxRuntime.jsxs(Svg, {
8456
8738
  width: iconSize,
8457
8739
  height: iconSize,
8458
- viewBox: `0 0 ${iconSize} ${iconSize}`,
8740
+ viewBox: "0 0 ".concat(iconSize, " ").concat(iconSize),
8459
8741
  fill: fill,
8460
8742
  "aria-hidden": true,
8461
8743
  children: [/*#__PURE__*/jsxRuntime.jsx(StyledPath, {
@@ -8518,7 +8800,7 @@ const BaseInput = styled__default['default'].input.attrs(({
8518
8800
  })(({
8519
8801
  disabled,
8520
8802
  theme
8521
- }) => styled.css(["appearance:none;width:100%;height:100%;grid-area:input;margin:0;cursor:", ";&:focus{outline:none;}&[data-focus-visible-added]:focus + span{", "}"], disabled ? 'not-allowed' : 'pointer', outlineTemplate(theme.states.focus.outline)));
8803
+ }) => styled.css(["appearance:none;width:100%;height:100%;grid-area:input;margin:0;cursor:", ";&:focus{outline:none;}&[data-focus-visible-added]:focus + span{", "}&:focus-visible + span{", "}"], disabled ? 'not-allowed' : 'pointer', outlineTemplate(theme.states.focus.outline), outlineTemplate(theme.states.focus.outline)));
8522
8804
  const GridWrapper = styled__default['default'].span.withConfig({
8523
8805
  displayName: "Switchstyles__GridWrapper",
8524
8806
  componentId: "sc-x39lde-2"
@@ -8536,7 +8818,7 @@ const Input$1 = styled__default['default'](BaseInput).withConfig({
8536
8818
  track
8537
8819
  }
8538
8820
  }
8539
- }) => styled.css(["&[data-focus-visible-added]:focus + span{outline-offset:", ";}&:checked + span > span{background-color:", ";}&:checked + span > span:last-child{transform:translate(180%,-50%);background-color:", ";}@media (hover:hover) and (pointer:fine){&:hover + span{background-color:", ";}}"], states.focus.outline.offset, disabled ? states.disabled.background : track.states.active.background, handle.background, disabled ? 'transparent' : states.hover.background));
8821
+ }) => styled.css(["&[data-focus-visible-added]:focus + span{", "}&:focus-visible + span{", "}&:checked + span > span{background-color:", ";}&:checked + span > span:last-child{transform:translate(180%,-50%);background-color:", ";}@media (hover:hover) and (pointer:fine){&:hover + span{background-color:", ";}}"], outlineTemplate(states.focus.outline), outlineTemplate(states.focus.outline), disabled ? states.disabled.background : track.states.active.background, handle.background, disabled ? 'transparent' : states.hover.background));
8540
8822
  const Track$1 = styled__default['default'].span.withConfig({
8541
8823
  displayName: "SwitchSmall__Track",
8542
8824
  componentId: "sc-1a99mis-1"
@@ -8697,8 +8979,8 @@ const comfortable = {
8697
8979
  height: clickbounds.default__base,
8698
8980
  width: clickbounds.default__base,
8699
8981
  offset: {
8700
- top: `${(parseInt(clickbounds.default__base) - parseInt(circle.minHeight)) / 2}px`,
8701
- left: `${(parseInt(clickbounds.default__base) - parseInt(circle.minWidth)) / 2}px`
8982
+ top: "".concat((parseInt(clickbounds.default__base) - parseInt(circle.minHeight)) / 2, "px"),
8983
+ left: "".concat((parseInt(clickbounds.default__base) - parseInt(circle.minWidth)) / 2, "px")
8702
8984
  }
8703
8985
  },
8704
8986
  entities: {
@@ -8747,8 +9029,8 @@ const comfortable = {
8747
9029
  height: clickbounds.compact__standard,
8748
9030
  width: clickbounds.compact__standard,
8749
9031
  offset: {
8750
- top: `${(parseInt(clickbounds.compact__standard) - parseInt(compactIconButton.minHeight)) / 2}px`,
8751
- left: `${(parseInt(clickbounds.compact__standard) - parseInt(compactIconButton.minWidth)) / 2}px`
9032
+ top: "".concat((parseInt(clickbounds.compact__standard) - parseInt(compactIconButton.minHeight)) / 2, "px"),
9033
+ left: "".concat((parseInt(clickbounds.compact__standard) - parseInt(compactIconButton.minWidth)) / 2, "px")
8752
9034
  }
8753
9035
  },
8754
9036
  entities: {