@norges-domstoler/dds-components 0.0.13 → 0.0.17

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/dist/index.es.js CHANGED
@@ -3,6 +3,344 @@ import React__default, { useRef, useDebugValue, useContext, createElement, forwa
3
3
  import * as ReactDOM from 'react-dom';
4
4
  import { createPortal } from 'react-dom';
5
5
 
6
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
7
+
8
+ function getDefaultExportFromCjs (x) {
9
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
10
+ }
11
+
12
+ function getAugmentedNamespace(n) {
13
+ if (n.__esModule) return n;
14
+ var a = Object.defineProperty({}, '__esModule', {value: true});
15
+ Object.keys(n).forEach(function (k) {
16
+ var d = Object.getOwnPropertyDescriptor(n, k);
17
+ Object.defineProperty(a, k, d.get ? d : {
18
+ enumerable: true,
19
+ get: function () {
20
+ return n[k];
21
+ }
22
+ });
23
+ });
24
+ return a;
25
+ }
26
+
27
+ function createCommonjsModule(fn) {
28
+ var module = { exports: {} };
29
+ return fn(module, module.exports), module.exports;
30
+ }
31
+
32
+ createCommonjsModule(function (module, exports) {
33
+ (function (global, factory) {
34
+ factory() ;
35
+ }(commonjsGlobal, (function () {
36
+ /**
37
+ * Applies the :focus-visible polyfill at the given scope.
38
+ * A scope in this case is either the top-level Document or a Shadow Root.
39
+ *
40
+ * @param {(Document|ShadowRoot)} scope
41
+ * @see https://github.com/WICG/focus-visible
42
+ */
43
+ function applyFocusVisiblePolyfill(scope) {
44
+ var hadKeyboardEvent = true;
45
+ var hadFocusVisibleRecently = false;
46
+ var hadFocusVisibleRecentlyTimeout = null;
47
+
48
+ var inputTypesAllowlist = {
49
+ text: true,
50
+ search: true,
51
+ url: true,
52
+ tel: true,
53
+ email: true,
54
+ password: true,
55
+ number: true,
56
+ date: true,
57
+ month: true,
58
+ week: true,
59
+ time: true,
60
+ datetime: true,
61
+ 'datetime-local': true
62
+ };
63
+
64
+ /**
65
+ * Helper function for legacy browsers and iframes which sometimes focus
66
+ * elements like document, body, and non-interactive SVG.
67
+ * @param {Element} el
68
+ */
69
+ function isValidFocusTarget(el) {
70
+ if (
71
+ el &&
72
+ el !== document &&
73
+ el.nodeName !== 'HTML' &&
74
+ el.nodeName !== 'BODY' &&
75
+ 'classList' in el &&
76
+ 'contains' in el.classList
77
+ ) {
78
+ return true;
79
+ }
80
+ return false;
81
+ }
82
+
83
+ /**
84
+ * Computes whether the given element should automatically trigger the
85
+ * `focus-visible` class being added, i.e. whether it should always match
86
+ * `:focus-visible` when focused.
87
+ * @param {Element} el
88
+ * @return {boolean}
89
+ */
90
+ function focusTriggersKeyboardModality(el) {
91
+ var type = el.type;
92
+ var tagName = el.tagName;
93
+
94
+ if (tagName === 'INPUT' && inputTypesAllowlist[type] && !el.readOnly) {
95
+ return true;
96
+ }
97
+
98
+ if (tagName === 'TEXTAREA' && !el.readOnly) {
99
+ return true;
100
+ }
101
+
102
+ if (el.isContentEditable) {
103
+ return true;
104
+ }
105
+
106
+ return false;
107
+ }
108
+
109
+ /**
110
+ * Add the `focus-visible` class to the given element if it was not added by
111
+ * the author.
112
+ * @param {Element} el
113
+ */
114
+ function addFocusVisibleClass(el) {
115
+ if (el.classList.contains('focus-visible')) {
116
+ return;
117
+ }
118
+ el.classList.add('focus-visible');
119
+ el.setAttribute('data-focus-visible-added', '');
120
+ }
121
+
122
+ /**
123
+ * Remove the `focus-visible` class from the given element if it was not
124
+ * originally added by the author.
125
+ * @param {Element} el
126
+ */
127
+ function removeFocusVisibleClass(el) {
128
+ if (!el.hasAttribute('data-focus-visible-added')) {
129
+ return;
130
+ }
131
+ el.classList.remove('focus-visible');
132
+ el.removeAttribute('data-focus-visible-added');
133
+ }
134
+
135
+ /**
136
+ * If the most recent user interaction was via the keyboard;
137
+ * and the key press did not include a meta, alt/option, or control key;
138
+ * then the modality is keyboard. Otherwise, the modality is not keyboard.
139
+ * Apply `focus-visible` to any current active element and keep track
140
+ * of our keyboard modality state with `hadKeyboardEvent`.
141
+ * @param {KeyboardEvent} e
142
+ */
143
+ function onKeyDown(e) {
144
+ if (e.metaKey || e.altKey || e.ctrlKey) {
145
+ return;
146
+ }
147
+
148
+ if (isValidFocusTarget(scope.activeElement)) {
149
+ addFocusVisibleClass(scope.activeElement);
150
+ }
151
+
152
+ hadKeyboardEvent = true;
153
+ }
154
+
155
+ /**
156
+ * If at any point a user clicks with a pointing device, ensure that we change
157
+ * the modality away from keyboard.
158
+ * This avoids the situation where a user presses a key on an already focused
159
+ * element, and then clicks on a different element, focusing it with a
160
+ * pointing device, while we still think we're in keyboard modality.
161
+ * @param {Event} e
162
+ */
163
+ function onPointerDown(e) {
164
+ hadKeyboardEvent = false;
165
+ }
166
+
167
+ /**
168
+ * On `focus`, add the `focus-visible` class to the target if:
169
+ * - the target received focus as a result of keyboard navigation, or
170
+ * - the event target is an element that will likely require interaction
171
+ * via the keyboard (e.g. a text box)
172
+ * @param {Event} e
173
+ */
174
+ function onFocus(e) {
175
+ // Prevent IE from focusing the document or HTML element.
176
+ if (!isValidFocusTarget(e.target)) {
177
+ return;
178
+ }
179
+
180
+ if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {
181
+ addFocusVisibleClass(e.target);
182
+ }
183
+ }
184
+
185
+ /**
186
+ * On `blur`, remove the `focus-visible` class from the target.
187
+ * @param {Event} e
188
+ */
189
+ function onBlur(e) {
190
+ if (!isValidFocusTarget(e.target)) {
191
+ return;
192
+ }
193
+
194
+ if (
195
+ e.target.classList.contains('focus-visible') ||
196
+ e.target.hasAttribute('data-focus-visible-added')
197
+ ) {
198
+ // To detect a tab/window switch, we look for a blur event followed
199
+ // rapidly by a visibility change.
200
+ // If we don't see a visibility change within 100ms, it's probably a
201
+ // regular focus change.
202
+ hadFocusVisibleRecently = true;
203
+ window.clearTimeout(hadFocusVisibleRecentlyTimeout);
204
+ hadFocusVisibleRecentlyTimeout = window.setTimeout(function() {
205
+ hadFocusVisibleRecently = false;
206
+ }, 100);
207
+ removeFocusVisibleClass(e.target);
208
+ }
209
+ }
210
+
211
+ /**
212
+ * If the user changes tabs, keep track of whether or not the previously
213
+ * focused element had .focus-visible.
214
+ * @param {Event} e
215
+ */
216
+ function onVisibilityChange(e) {
217
+ if (document.visibilityState === 'hidden') {
218
+ // If the tab becomes active again, the browser will handle calling focus
219
+ // on the element (Safari actually calls it twice).
220
+ // If this tab change caused a blur on an element with focus-visible,
221
+ // re-apply the class when the user switches back to the tab.
222
+ if (hadFocusVisibleRecently) {
223
+ hadKeyboardEvent = true;
224
+ }
225
+ addInitialPointerMoveListeners();
226
+ }
227
+ }
228
+
229
+ /**
230
+ * Add a group of listeners to detect usage of any pointing devices.
231
+ * These listeners will be added when the polyfill first loads, and anytime
232
+ * the window is blurred, so that they are active when the window regains
233
+ * focus.
234
+ */
235
+ function addInitialPointerMoveListeners() {
236
+ document.addEventListener('mousemove', onInitialPointerMove);
237
+ document.addEventListener('mousedown', onInitialPointerMove);
238
+ document.addEventListener('mouseup', onInitialPointerMove);
239
+ document.addEventListener('pointermove', onInitialPointerMove);
240
+ document.addEventListener('pointerdown', onInitialPointerMove);
241
+ document.addEventListener('pointerup', onInitialPointerMove);
242
+ document.addEventListener('touchmove', onInitialPointerMove);
243
+ document.addEventListener('touchstart', onInitialPointerMove);
244
+ document.addEventListener('touchend', onInitialPointerMove);
245
+ }
246
+
247
+ function removeInitialPointerMoveListeners() {
248
+ document.removeEventListener('mousemove', onInitialPointerMove);
249
+ document.removeEventListener('mousedown', onInitialPointerMove);
250
+ document.removeEventListener('mouseup', onInitialPointerMove);
251
+ document.removeEventListener('pointermove', onInitialPointerMove);
252
+ document.removeEventListener('pointerdown', onInitialPointerMove);
253
+ document.removeEventListener('pointerup', onInitialPointerMove);
254
+ document.removeEventListener('touchmove', onInitialPointerMove);
255
+ document.removeEventListener('touchstart', onInitialPointerMove);
256
+ document.removeEventListener('touchend', onInitialPointerMove);
257
+ }
258
+
259
+ /**
260
+ * When the polfyill first loads, assume the user is in keyboard modality.
261
+ * If any event is received from a pointing device (e.g. mouse, pointer,
262
+ * touch), turn off keyboard modality.
263
+ * This accounts for situations where focus enters the page from the URL bar.
264
+ * @param {Event} e
265
+ */
266
+ function onInitialPointerMove(e) {
267
+ // Work around a Safari quirk that fires a mousemove on <html> whenever the
268
+ // window blurs, even if you're tabbing out of the page. ¯\_(ツ)_/¯
269
+ if (e.target.nodeName && e.target.nodeName.toLowerCase() === 'html') {
270
+ return;
271
+ }
272
+
273
+ hadKeyboardEvent = false;
274
+ removeInitialPointerMoveListeners();
275
+ }
276
+
277
+ // For some kinds of state, we are interested in changes at the global scope
278
+ // only. For example, global pointer input, global key presses and global
279
+ // visibility change should affect the state at every scope:
280
+ document.addEventListener('keydown', onKeyDown, true);
281
+ document.addEventListener('mousedown', onPointerDown, true);
282
+ document.addEventListener('pointerdown', onPointerDown, true);
283
+ document.addEventListener('touchstart', onPointerDown, true);
284
+ document.addEventListener('visibilitychange', onVisibilityChange, true);
285
+
286
+ addInitialPointerMoveListeners();
287
+
288
+ // For focus and blur, we specifically care about state changes in the local
289
+ // scope. This is because focus / blur events that originate from within a
290
+ // shadow root are not re-dispatched from the host element if it was already
291
+ // the active element in its own scope:
292
+ scope.addEventListener('focus', onFocus, true);
293
+ scope.addEventListener('blur', onBlur, true);
294
+
295
+ // We detect that a node is a ShadowRoot by ensuring that it is a
296
+ // DocumentFragment and also has a host property. This check covers native
297
+ // implementation and polyfill implementation transparently. If we only cared
298
+ // about the native implementation, we could just check if the scope was
299
+ // an instance of a ShadowRoot.
300
+ if (scope.nodeType === Node.DOCUMENT_FRAGMENT_NODE && scope.host) {
301
+ // Since a ShadowRoot is a special kind of DocumentFragment, it does not
302
+ // have a root element to add a class to. So, we add this attribute to the
303
+ // host element instead:
304
+ scope.host.setAttribute('data-js-focus-visible', '');
305
+ } else if (scope.nodeType === Node.DOCUMENT_NODE) {
306
+ document.documentElement.classList.add('js-focus-visible');
307
+ document.documentElement.setAttribute('data-js-focus-visible', '');
308
+ }
309
+ }
310
+
311
+ // It is important to wrap all references to global window and document in
312
+ // these checks to support server-side rendering use cases
313
+ // @see https://github.com/WICG/focus-visible/issues/199
314
+ if (typeof window !== 'undefined' && typeof document !== 'undefined') {
315
+ // Make the polyfill helper globally available. This can be used as a signal
316
+ // to interested libraries that wish to coordinate with the polyfill for e.g.,
317
+ // applying the polyfill to a shadow root:
318
+ window.applyFocusVisiblePolyfill = applyFocusVisiblePolyfill;
319
+
320
+ // Notify interested libraries of the polyfill's presence, in case the
321
+ // polyfill was loaded lazily:
322
+ var event;
323
+
324
+ try {
325
+ event = new CustomEvent('focus-visible-polyfill-ready');
326
+ } catch (error) {
327
+ // IE11 does not support using CustomEvent as a constructor directly:
328
+ event = document.createEvent('CustomEvent');
329
+ event.initCustomEvent('focus-visible-polyfill-ready', false, false, {});
330
+ }
331
+
332
+ window.dispatchEvent(event);
333
+ }
334
+
335
+ if (typeof document !== 'undefined') {
336
+ // Apply the polyfill to the global document, so that no JavaScript
337
+ // coordination is required to use the polyfill in the top-level document:
338
+ applyFocusVisiblePolyfill(document);
339
+ }
340
+
341
+ })));
342
+ });
343
+
6
344
  /*! *****************************************************************************
7
345
  Copyright (c) Microsoft Corporation.
8
346
 
@@ -56,41 +394,17 @@ function __makeTemplateObject(cooked, raw) {
56
394
  return cooked;
57
395
  }
58
396
 
59
- function getDefaultExportFromCjs (x) {
60
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
61
- }
62
-
63
- function getAugmentedNamespace(n) {
64
- if (n.__esModule) return n;
65
- var a = Object.defineProperty({}, '__esModule', {value: true});
66
- Object.keys(n).forEach(function (k) {
67
- var d = Object.getOwnPropertyDescriptor(n, k);
68
- Object.defineProperty(a, k, d.get ? d : {
69
- enumerable: true,
70
- get: function () {
71
- return n[k];
72
- }
73
- });
74
- });
75
- return a;
76
- }
77
-
78
- function createCommonjsModule(fn) {
79
- var module = { exports: {} };
80
- return fn(module, module.exports), module.exports;
81
- }
82
-
83
397
  /*
84
398
  object-assign
85
399
  (c) Sindre Sorhus
86
400
  @license MIT
87
401
  */
88
402
  /* eslint-disable no-unused-vars */
89
- var getOwnPropertySymbols$1 = Object.getOwnPropertySymbols;
90
- var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
91
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
403
+ var getOwnPropertySymbols$2 = Object.getOwnPropertySymbols;
404
+ var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
405
+ var propIsEnumerable$1 = Object.prototype.propertyIsEnumerable;
92
406
 
93
- function toObject(val) {
407
+ function toObject$1(val) {
94
408
  if (val === null || val === undefined) {
95
409
  throw new TypeError('Object.assign cannot be called with null or undefined');
96
410
  }
@@ -98,7 +412,7 @@ function toObject(val) {
98
412
  return Object(val);
99
413
  }
100
414
 
101
- function shouldUseNative() {
415
+ function shouldUseNative$1() {
102
416
  try {
103
417
  if (!Object.assign) {
104
418
  return false;
@@ -142,24 +456,24 @@ function shouldUseNative() {
142
456
  }
143
457
  }
144
458
 
145
- var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
459
+ var objectAssign$1 = shouldUseNative$1() ? Object.assign : function (target, source) {
146
460
  var from;
147
- var to = toObject(target);
461
+ var to = toObject$1(target);
148
462
  var symbols;
149
463
 
150
464
  for (var s = 1; s < arguments.length; s++) {
151
465
  from = Object(arguments[s]);
152
466
 
153
467
  for (var key in from) {
154
- if (hasOwnProperty$1.call(from, key)) {
468
+ if (hasOwnProperty$2.call(from, key)) {
155
469
  to[key] = from[key];
156
470
  }
157
471
  }
158
472
 
159
- if (getOwnPropertySymbols$1) {
160
- symbols = getOwnPropertySymbols$1(from);
473
+ if (getOwnPropertySymbols$2) {
474
+ symbols = getOwnPropertySymbols$2(from);
161
475
  for (var i = 0; i < symbols.length; i++) {
162
- if (propIsEnumerable.call(from, symbols[i])) {
476
+ if (propIsEnumerable$1.call(from, symbols[i])) {
163
477
  to[symbols[i]] = from[symbols[i]];
164
478
  }
165
479
  }
@@ -198,7 +512,7 @@ if (process.env.NODE_ENV !== "production") {
198
512
  (function() {
199
513
 
200
514
  var React = React__default;
201
- var _assign = objectAssign;
515
+ var _assign = objectAssign$1;
202
516
 
203
517
  // ATTENTION
204
518
  // When adding new symbols to this file,
@@ -2665,7 +2979,7 @@ function getStatics(component) {
2665
2979
 
2666
2980
  var defineProperty = Object.defineProperty;
2667
2981
  var getOwnPropertyNames = Object.getOwnPropertyNames;
2668
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
2982
+ var getOwnPropertySymbols$1 = Object.getOwnPropertySymbols;
2669
2983
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2670
2984
  var getPrototypeOf = Object.getPrototypeOf;
2671
2985
  var objectPrototype = Object.prototype;
@@ -2682,8 +2996,8 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
2682
2996
 
2683
2997
  var keys = getOwnPropertyNames(sourceComponent);
2684
2998
 
2685
- if (getOwnPropertySymbols) {
2686
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
2999
+ if (getOwnPropertySymbols$1) {
3000
+ keys = keys.concat(getOwnPropertySymbols$1(sourceComponent));
2687
3001
  }
2688
3002
 
2689
3003
  var targetStatics = getStatics(targetComponent);
@@ -11423,10 +11737,10 @@ var ddsBaseTokens = {
11423
11737
  fontPackages: fontPackages,
11424
11738
  };
11425
11739
 
11426
- var Colors$j = ddsBaseTokens.colors, FontPackages$g = ddsBaseTokens.fontPackages, BorderRadius$4 = ddsBaseTokens.borderRadius, Border$8 = ddsBaseTokens.border;
11740
+ var Colors$j = ddsBaseTokens.colors, FontPackages$h = ddsBaseTokens.fontPackages, BorderRadius$4 = ddsBaseTokens.borderRadius, Border$8 = ddsBaseTokens.border;
11427
11741
  var textDefault$8 = {
11428
11742
  textColor: Colors$j.DdsColorNeutralsGray9,
11429
- font: FontPackages$g.body_sans_02.base,
11743
+ font: FontPackages$h.body_sans_02.base,
11430
11744
  };
11431
11745
  var focus$1 = {
11432
11746
  colorDefault: Colors$j.DdsColorWarningDarker,
@@ -11444,7 +11758,7 @@ var ddsReferenceTokens = {
11444
11758
  borderWidth: Border$8.BordersDdsBorderStyle1StrokeWeight,
11445
11759
  borderColor: Colors$j.DdsColorNeutralsGray5,
11446
11760
  textColor: textDefault$8.textColor,
11447
- font: FontPackages$g.supportingStyle_inputtext_02.base,
11761
+ font: FontPackages$h.supportingStyle_inputtext_02.base,
11448
11762
  hover: {
11449
11763
  backgroundColor: Colors$j.DdsColorInteractiveLightest,
11450
11764
  borderColor: focus$1.color__TextInput,
@@ -11467,7 +11781,7 @@ var ddsReferenceTokens = {
11467
11781
  };
11468
11782
 
11469
11783
  var Colors$i = ddsBaseTokens.colors,
11470
- FontPackages$f = ddsBaseTokens.fontPackages,
11784
+ FontPackages$g = ddsBaseTokens.fontPackages,
11471
11785
  Spacing$o = ddsBaseTokens.spacing;
11472
11786
  var textDefault$7 = ddsReferenceTokens.textDefault;
11473
11787
  var textColors = {
@@ -11497,8 +11811,8 @@ var aBase = {
11497
11811
  width: 'fit-content'
11498
11812
  };
11499
11813
  var aMarginsBase = {
11500
- marginTop: FontPackages$f.body_sans_02.paragraph.paragraphSpacing,
11501
- marginBottom: FontPackages$f.body_sans_02.paragraph.paragraphSpacing
11814
+ marginTop: FontPackages$g.body_sans_02.paragraph.paragraphSpacing,
11815
+ marginBottom: FontPackages$g.body_sans_02.paragraph.paragraphSpacing
11502
11816
  };
11503
11817
  var aHoverBase = {
11504
11818
  color: Colors$i.DdsColorInteractiveDark
@@ -11510,7 +11824,7 @@ var aFocusBase = {
11510
11824
  outline: 'none'
11511
11825
  };
11512
11826
 
11513
- var aBoldBase = __assign(__assign({}, FontPackages$f.body_sans_02), {
11827
+ var aBoldBase = __assign(__assign({}, FontPackages$g.body_sans_02), {
11514
11828
  fontWeight: 600
11515
11829
  });
11516
11830
 
@@ -11526,268 +11840,268 @@ var italicBase = {
11526
11840
 
11527
11841
  var headingSans01Base = __assign({
11528
11842
  color: textDefault$7.textColor
11529
- }, FontPackages$f.heading_sans_01.base);
11843
+ }, FontPackages$g.heading_sans_01.base);
11530
11844
 
11531
11845
  var headingSans01MarginsBase = {
11532
- marginTop: FontPackages$f.heading_sans_01.paragraph.paragraphSpacing,
11533
- marginBottom: FontPackages$f.heading_sans_01.paragraph.paragraphSpacing
11846
+ marginTop: FontPackages$g.heading_sans_01.paragraph.paragraphSpacing,
11847
+ marginBottom: FontPackages$g.heading_sans_01.paragraph.paragraphSpacing
11534
11848
  };
11535
11849
 
11536
11850
  var headingSans02Base = __assign({
11537
11851
  color: textDefault$7.textColor
11538
- }, FontPackages$f.heading_sans_02.base);
11852
+ }, FontPackages$g.heading_sans_02.base);
11539
11853
 
11540
11854
  var headingSans02MarginsBase = {
11541
- marginTop: FontPackages$f.heading_sans_02.paragraph.paragraphSpacing,
11542
- marginBottom: FontPackages$f.heading_sans_02.paragraph.paragraphSpacing
11855
+ marginTop: FontPackages$g.heading_sans_02.paragraph.paragraphSpacing,
11856
+ marginBottom: FontPackages$g.heading_sans_02.paragraph.paragraphSpacing
11543
11857
  };
11544
11858
 
11545
11859
  var headingSans03Base = __assign({
11546
11860
  color: textDefault$7.textColor
11547
- }, FontPackages$f.heading_sans_03.base);
11861
+ }, FontPackages$g.heading_sans_03.base);
11548
11862
 
11549
11863
  var headingSans03MarginsBase = {
11550
- marginTop: FontPackages$f.heading_sans_03.paragraph.paragraphSpacing,
11551
- marginBottom: FontPackages$f.heading_sans_03.paragraph.paragraphSpacing
11864
+ marginTop: FontPackages$g.heading_sans_03.paragraph.paragraphSpacing,
11865
+ marginBottom: FontPackages$g.heading_sans_03.paragraph.paragraphSpacing
11552
11866
  };
11553
11867
 
11554
11868
  var headingSans04Base = __assign({
11555
11869
  color: textDefault$7.textColor
11556
- }, FontPackages$f.heading_sans_04.base);
11870
+ }, FontPackages$g.heading_sans_04.base);
11557
11871
 
11558
11872
  var headingSans04MarginsBase = {
11559
- marginTop: FontPackages$f.heading_sans_04.paragraph.paragraphSpacing,
11560
- marginBottom: FontPackages$f.heading_sans_04.paragraph.paragraphSpacing
11873
+ marginTop: FontPackages$g.heading_sans_04.paragraph.paragraphSpacing,
11874
+ marginBottom: FontPackages$g.heading_sans_04.paragraph.paragraphSpacing
11561
11875
  };
11562
11876
 
11563
11877
  var headingSans05Base = __assign({
11564
11878
  color: textDefault$7.textColor
11565
- }, FontPackages$f.heading_sans_05.base);
11879
+ }, FontPackages$g.heading_sans_05.base);
11566
11880
 
11567
11881
  var headingSans05MarginsBase = {
11568
- marginTop: FontPackages$f.heading_sans_05.paragraph.paragraphSpacing,
11569
- marginBottom: FontPackages$f.heading_sans_05.paragraph.paragraphSpacing
11882
+ marginTop: FontPackages$g.heading_sans_05.paragraph.paragraphSpacing,
11883
+ marginBottom: FontPackages$g.heading_sans_05.paragraph.paragraphSpacing
11570
11884
  };
11571
11885
 
11572
11886
  var headingSans06Base = __assign({
11573
11887
  color: textDefault$7.textColor
11574
- }, FontPackages$f.heading_sans_06.base);
11888
+ }, FontPackages$g.heading_sans_06.base);
11575
11889
 
11576
11890
  var headingSans06MarginsBase = {
11577
- marginTop: FontPackages$f.heading_sans_06.paragraph.paragraphSpacing,
11578
- marginBottom: FontPackages$f.heading_sans_06.paragraph.paragraphSpacing
11891
+ marginTop: FontPackages$g.heading_sans_06.paragraph.paragraphSpacing,
11892
+ marginBottom: FontPackages$g.heading_sans_06.paragraph.paragraphSpacing
11579
11893
  };
11580
11894
 
11581
11895
  var headingSans07Base = __assign({
11582
11896
  color: textDefault$7.textColor
11583
- }, FontPackages$f.heading_sans_07.base);
11897
+ }, FontPackages$g.heading_sans_07.base);
11584
11898
 
11585
11899
  var headingSans07MarginsBase = {
11586
- marginTop: FontPackages$f.heading_sans_07.paragraph.paragraphSpacing,
11587
- marginBottom: FontPackages$f.heading_sans_07.paragraph.paragraphSpacing
11900
+ marginTop: FontPackages$g.heading_sans_07.paragraph.paragraphSpacing,
11901
+ marginBottom: FontPackages$g.heading_sans_07.paragraph.paragraphSpacing
11588
11902
  };
11589
11903
 
11590
11904
  var headingSans08Base = __assign({
11591
11905
  color: textDefault$7.textColor
11592
- }, FontPackages$f.heading_sans_08.base);
11906
+ }, FontPackages$g.heading_sans_08.base);
11593
11907
 
11594
11908
  var headingSans08MarginsBase = {
11595
- marginTop: FontPackages$f.heading_sans_08.paragraph.paragraphSpacing,
11596
- marginBottom: FontPackages$f.heading_sans_08.paragraph.paragraphSpacing
11909
+ marginTop: FontPackages$g.heading_sans_08.paragraph.paragraphSpacing,
11910
+ marginBottom: FontPackages$g.heading_sans_08.paragraph.paragraphSpacing
11597
11911
  };
11598
11912
 
11599
11913
  var bodySans01Base$1 = __assign({
11600
11914
  color: textDefault$7.textColor
11601
- }, FontPackages$f.body_sans_01.base);
11915
+ }, FontPackages$g.body_sans_01.base);
11602
11916
 
11603
11917
  var bodySans01MarginsBase = {
11604
- marginTop: FontPackages$f.body_sans_01.paragraph.paragraphSpacing,
11605
- marginBottom: FontPackages$f.body_sans_01.paragraph.paragraphSpacing
11918
+ marginTop: FontPackages$g.body_sans_01.paragraph.paragraphSpacing,
11919
+ marginBottom: FontPackages$g.body_sans_01.paragraph.paragraphSpacing
11606
11920
  };
11607
11921
 
11608
11922
  var bodySans02Base$1 = __assign({
11609
11923
  color: textDefault$7.textColor
11610
- }, FontPackages$f.body_sans_02.base);
11924
+ }, FontPackages$g.body_sans_02.base);
11611
11925
 
11612
11926
  var bodySans02MarginsBase = {
11613
- marginTop: FontPackages$f.body_sans_02.paragraph.paragraphSpacing,
11614
- marginBottom: FontPackages$f.body_sans_02.paragraph.paragraphSpacing
11927
+ marginTop: FontPackages$g.body_sans_02.paragraph.paragraphSpacing,
11928
+ marginBottom: FontPackages$g.body_sans_02.paragraph.paragraphSpacing
11615
11929
  };
11616
11930
 
11617
11931
  var bodySans03Base$1 = __assign({
11618
11932
  color: textDefault$7.textColor
11619
- }, FontPackages$f.body_sans_03.base);
11933
+ }, FontPackages$g.body_sans_03.base);
11620
11934
 
11621
11935
  var bodySans03MarginsBase = {
11622
- marginTop: FontPackages$f.body_sans_03.paragraph.paragraphSpacing,
11623
- marginBottom: FontPackages$f.body_sans_03.paragraph.paragraphSpacing
11936
+ marginTop: FontPackages$g.body_sans_03.paragraph.paragraphSpacing,
11937
+ marginBottom: FontPackages$g.body_sans_03.paragraph.paragraphSpacing
11624
11938
  };
11625
11939
 
11626
11940
  var bodySans04Base$1 = __assign({
11627
11941
  color: textDefault$7.textColor
11628
- }, FontPackages$f.body_sans_04.base);
11942
+ }, FontPackages$g.body_sans_04.base);
11629
11943
 
11630
11944
  var bodySans04MarginsBase = {
11631
- marginTop: FontPackages$f.body_sans_04.paragraph.paragraphSpacing,
11632
- marginBottom: FontPackages$f.body_sans_04.paragraph.paragraphSpacing
11945
+ marginTop: FontPackages$g.body_sans_04.paragraph.paragraphSpacing,
11946
+ marginBottom: FontPackages$g.body_sans_04.paragraph.paragraphSpacing
11633
11947
  };
11634
11948
 
11635
11949
  var bodySerif01Base$1 = __assign({
11636
11950
  color: textDefault$7.textColor
11637
- }, FontPackages$f.body_serif_01.base);
11951
+ }, FontPackages$g.body_serif_01.base);
11638
11952
 
11639
11953
  var bodySerif01MarginsBase = {
11640
- marginTop: FontPackages$f.body_serif_01.paragraph.paragraphSpacing,
11641
- marginBottom: FontPackages$f.body_serif_01.paragraph.paragraphSpacing
11954
+ marginTop: FontPackages$g.body_serif_01.paragraph.paragraphSpacing,
11955
+ marginBottom: FontPackages$g.body_serif_01.paragraph.paragraphSpacing
11642
11956
  };
11643
11957
 
11644
11958
  var bodySerif02Base$1 = __assign({
11645
11959
  color: textDefault$7.textColor
11646
- }, FontPackages$f.body_serif_02.base);
11960
+ }, FontPackages$g.body_serif_02.base);
11647
11961
 
11648
11962
  var bodySerif02MarginsBase = {
11649
- marginTop: FontPackages$f.body_serif_02.paragraph.paragraphSpacing,
11650
- marginBottom: FontPackages$f.body_serif_02.paragraph.paragraphSpacing
11963
+ marginTop: FontPackages$g.body_serif_02.paragraph.paragraphSpacing,
11964
+ marginBottom: FontPackages$g.body_serif_02.paragraph.paragraphSpacing
11651
11965
  };
11652
11966
 
11653
11967
  var bodySerif03Base$1 = __assign({
11654
11968
  color: textDefault$7.textColor
11655
- }, FontPackages$f.body_serif_03.base);
11969
+ }, FontPackages$g.body_serif_03.base);
11656
11970
 
11657
11971
  var bodySerif03MarginsBase = {
11658
- marginTop: FontPackages$f.body_serif_03.paragraph.paragraphSpacing,
11659
- marginBottom: FontPackages$f.body_serif_03.paragraph.paragraphSpacing
11972
+ marginTop: FontPackages$g.body_serif_03.paragraph.paragraphSpacing,
11973
+ marginBottom: FontPackages$g.body_serif_03.paragraph.paragraphSpacing
11660
11974
  };
11661
11975
 
11662
11976
  var bodySerif04Base$1 = __assign({
11663
11977
  color: textDefault$7.textColor
11664
- }, FontPackages$f.body_serif_04.base);
11978
+ }, FontPackages$g.body_serif_04.base);
11665
11979
 
11666
11980
  var bodySerif04MarginsBase = {
11667
- marginTop: FontPackages$f.body_serif_04.paragraph.paragraphSpacing,
11668
- marginBottom: FontPackages$f.body_serif_04.paragraph.paragraphSpacing
11981
+ marginTop: FontPackages$g.body_serif_04.paragraph.paragraphSpacing,
11982
+ marginBottom: FontPackages$g.body_serif_04.paragraph.paragraphSpacing
11669
11983
  };
11670
11984
 
11671
11985
  var leadSans01Base = __assign({
11672
11986
  color: textDefault$7.textColor
11673
- }, FontPackages$f.lead_sans_01.base);
11987
+ }, FontPackages$g.lead_sans_01.base);
11674
11988
 
11675
11989
  var leadSans01MarginsBase = {
11676
- marginTop: FontPackages$f.lead_sans_01.paragraph.paragraphSpacing,
11677
- marginBottom: FontPackages$f.lead_sans_01.paragraph.paragraphSpacing
11990
+ marginTop: FontPackages$g.lead_sans_01.paragraph.paragraphSpacing,
11991
+ marginBottom: FontPackages$g.lead_sans_01.paragraph.paragraphSpacing
11678
11992
  };
11679
11993
 
11680
11994
  var leadSans02Base = __assign({
11681
11995
  color: textDefault$7.textColor
11682
- }, FontPackages$f.lead_sans_02.base);
11996
+ }, FontPackages$g.lead_sans_02.base);
11683
11997
 
11684
11998
  var leadSans02MarginsBase = {
11685
- marginTop: FontPackages$f.lead_sans_02.paragraph.paragraphSpacing,
11686
- marginBottom: FontPackages$f.lead_sans_02.paragraph.paragraphSpacing
11999
+ marginTop: FontPackages$g.lead_sans_02.paragraph.paragraphSpacing,
12000
+ marginBottom: FontPackages$g.lead_sans_02.paragraph.paragraphSpacing
11687
12001
  };
11688
12002
 
11689
12003
  var leadSans03Base = __assign({
11690
12004
  color: textDefault$7.textColor
11691
- }, FontPackages$f.lead_sans_03.base);
12005
+ }, FontPackages$g.lead_sans_03.base);
11692
12006
 
11693
12007
  var leadSans03MarginsBase = {
11694
- marginTop: FontPackages$f.lead_sans_03.paragraph.paragraphSpacing,
11695
- marginBottom: FontPackages$f.lead_sans_03.paragraph.paragraphSpacing
12008
+ marginTop: FontPackages$g.lead_sans_03.paragraph.paragraphSpacing,
12009
+ marginBottom: FontPackages$g.lead_sans_03.paragraph.paragraphSpacing
11696
12010
  };
11697
12011
 
11698
12012
  var leadSans04Base = __assign({
11699
12013
  color: textDefault$7.textColor
11700
- }, FontPackages$f.lead_sans_04.base);
12014
+ }, FontPackages$g.lead_sans_04.base);
11701
12015
 
11702
12016
  var leadSans04MarginsBase = {
11703
- marginTop: FontPackages$f.lead_sans_04.paragraph.paragraphSpacing,
11704
- marginBottom: FontPackages$f.lead_sans_04.paragraph.paragraphSpacing
12017
+ marginTop: FontPackages$g.lead_sans_04.paragraph.paragraphSpacing,
12018
+ marginBottom: FontPackages$g.lead_sans_04.paragraph.paragraphSpacing
11705
12019
  };
11706
12020
 
11707
12021
  var leadSans05Base = __assign({
11708
12022
  color: textDefault$7.textColor
11709
- }, FontPackages$f.lead_sans_05.base);
12023
+ }, FontPackages$g.lead_sans_05.base);
11710
12024
 
11711
12025
  var leadSans05MarginsBase = {
11712
- marginTop: FontPackages$f.lead_sans_05.paragraph.paragraphSpacing,
11713
- marginBottom: FontPackages$f.lead_sans_05.paragraph.paragraphSpacing
12026
+ marginTop: FontPackages$g.lead_sans_05.paragraph.paragraphSpacing,
12027
+ marginBottom: FontPackages$g.lead_sans_05.paragraph.paragraphSpacing
11714
12028
  };
11715
12029
 
11716
12030
  var supportingStyleLabel01Base = __assign(__assign({
11717
12031
  color: Colors$i.DdsColorNeutralsGray7
11718
- }, FontPackages$f.supportingStyle_label_01.base), {
12032
+ }, FontPackages$g.supportingStyle_label_01.base), {
11719
12033
  margin: 0
11720
12034
  });
11721
12035
 
11722
12036
  var supportingStyleLabel01MarginsBase = {
11723
- marginTop: FontPackages$f.supportingStyle_label_01.paragraph.paragraphSpacing,
11724
- marginBottom: FontPackages$f.supportingStyle_label_01.paragraph.paragraphSpacing
12037
+ marginTop: FontPackages$g.supportingStyle_label_01.paragraph.paragraphSpacing,
12038
+ marginBottom: FontPackages$g.supportingStyle_label_01.paragraph.paragraphSpacing
11725
12039
  };
11726
12040
 
11727
12041
  var supportingStyleHelperText01Base = __assign(__assign({
11728
12042
  color: Colors$i.DdsColorNeutralsGray6
11729
- }, FontPackages$f.supportingStyle_helpertext_01.base), {
12043
+ }, FontPackages$g.supportingStyle_helpertext_01.base), {
11730
12044
  margin: 0
11731
12045
  });
11732
12046
 
11733
12047
  var supportingStyleHelperText01MarginsBase = {
11734
- marginTop: FontPackages$f.supportingStyle_helpertext_01.paragraph.paragraphSpacing,
11735
- marginBottom: FontPackages$f.supportingStyle_helpertext_01.paragraph.paragraphSpacing
12048
+ marginTop: FontPackages$g.supportingStyle_helpertext_01.paragraph.paragraphSpacing,
12049
+ marginBottom: FontPackages$g.supportingStyle_helpertext_01.paragraph.paragraphSpacing
11736
12050
  };
11737
12051
 
11738
12052
  var supportingStyleInputText01Base = __assign(__assign({
11739
12053
  color: textDefault$7.textColor
11740
- }, FontPackages$f.supportingStyle_inputtext_01.base), {
12054
+ }, FontPackages$g.supportingStyle_inputtext_01.base), {
11741
12055
  margin: 0
11742
12056
  });
11743
12057
 
11744
12058
  var supportingStyleInputText01MarginsBase = {
11745
- marginTop: FontPackages$f.supportingStyle_inputtext_01.paragraph.paragraphSpacing,
11746
- marginBottom: FontPackages$f.supportingStyle_inputtext_01.paragraph.paragraphSpacing
12059
+ marginTop: FontPackages$g.supportingStyle_inputtext_01.paragraph.paragraphSpacing,
12060
+ marginBottom: FontPackages$g.supportingStyle_inputtext_01.paragraph.paragraphSpacing
11747
12061
  };
11748
12062
 
11749
12063
  var supportingStyleInputText02Base = __assign(__assign({
11750
12064
  color: textDefault$7.textColor
11751
- }, FontPackages$f.supportingStyle_inputtext_02.base), {
12065
+ }, FontPackages$g.supportingStyle_inputtext_02.base), {
11752
12066
  margin: 0
11753
12067
  });
11754
12068
 
11755
12069
  var supportingStyleInputText02MarginsBase = {
11756
- marginTop: FontPackages$f.supportingStyle_inputtext_02.paragraph.paragraphSpacing,
11757
- marginBottom: FontPackages$f.supportingStyle_inputtext_02.paragraph.paragraphSpacing
12070
+ marginTop: FontPackages$g.supportingStyle_inputtext_02.paragraph.paragraphSpacing,
12071
+ marginBottom: FontPackages$g.supportingStyle_inputtext_02.paragraph.paragraphSpacing
11758
12072
  };
11759
12073
 
11760
12074
  var supportingStyleInputText03Base = __assign(__assign({
11761
12075
  color: textDefault$7.textColor
11762
- }, FontPackages$f.supportingStyle_inputtext_03.base), {
12076
+ }, FontPackages$g.supportingStyle_inputtext_03.base), {
11763
12077
  margin: 0
11764
12078
  });
11765
12079
 
11766
12080
  var supportingStyleInputText03MarginsBase = {
11767
- marginTop: FontPackages$f.supportingStyle_inputtext_03.paragraph.paragraphSpacing,
11768
- marginBottom: FontPackages$f.supportingStyle_inputtext_03.paragraph.paragraphSpacing
12081
+ marginTop: FontPackages$g.supportingStyle_inputtext_03.paragraph.paragraphSpacing,
12082
+ marginBottom: FontPackages$g.supportingStyle_inputtext_03.paragraph.paragraphSpacing
11769
12083
  };
11770
12084
 
11771
12085
  var supportingStylePlaceholderText01Base = __assign(__assign({
11772
12086
  color: Colors$i.DdsColorNeutralsGray6
11773
- }, FontPackages$f.supportingStyle_placeholdertext_01.base), {
12087
+ }, FontPackages$g.supportingStyle_placeholdertext_01.base), {
11774
12088
  margin: 0
11775
12089
  });
11776
12090
 
11777
12091
  var supportingStylePlaceholderText01MarginsBase = {
11778
- marginTop: FontPackages$f.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing,
11779
- marginBottom: FontPackages$f.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing
12092
+ marginTop: FontPackages$g.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing,
12093
+ marginBottom: FontPackages$g.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing
11780
12094
  };
11781
12095
 
11782
12096
  var supportingStyleTiny01Base = __assign(__assign({
11783
12097
  color: textDefault$7.textColor
11784
- }, FontPackages$f.supportingStyle_tiny_01.base), {
12098
+ }, FontPackages$g.supportingStyle_tiny_01.base), {
11785
12099
  margin: 0
11786
12100
  });
11787
12101
 
11788
12102
  var supportingStyleTiny01MarginsBase = {
11789
- marginTop: FontPackages$f.supportingStyle_tiny_01.paragraph.paragraphSpacing,
11790
- marginBottom: FontPackages$f.supportingStyle_tiny_01.paragraph.paragraphSpacing
12103
+ marginTop: FontPackages$g.supportingStyle_tiny_01.paragraph.paragraphSpacing,
12104
+ marginBottom: FontPackages$g.supportingStyle_tiny_01.paragraph.paragraphSpacing
11791
12105
  };
11792
12106
  var selectionBase = {
11793
12107
  color: textDefault$7.textColor,
@@ -12438,6 +12752,95 @@ if (process.env.NODE_ENV === 'production') {
12438
12752
  }
12439
12753
  });
12440
12754
 
12755
+ /*
12756
+ object-assign
12757
+ (c) Sindre Sorhus
12758
+ @license MIT
12759
+ */
12760
+ /* eslint-disable no-unused-vars */
12761
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
12762
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
12763
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
12764
+
12765
+ function toObject(val) {
12766
+ if (val === null || val === undefined) {
12767
+ throw new TypeError('Object.assign cannot be called with null or undefined');
12768
+ }
12769
+
12770
+ return Object(val);
12771
+ }
12772
+
12773
+ function shouldUseNative() {
12774
+ try {
12775
+ if (!Object.assign) {
12776
+ return false;
12777
+ }
12778
+
12779
+ // Detect buggy property enumeration order in older V8 versions.
12780
+
12781
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
12782
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
12783
+ test1[5] = 'de';
12784
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
12785
+ return false;
12786
+ }
12787
+
12788
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
12789
+ var test2 = {};
12790
+ for (var i = 0; i < 10; i++) {
12791
+ test2['_' + String.fromCharCode(i)] = i;
12792
+ }
12793
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
12794
+ return test2[n];
12795
+ });
12796
+ if (order2.join('') !== '0123456789') {
12797
+ return false;
12798
+ }
12799
+
12800
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
12801
+ var test3 = {};
12802
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
12803
+ test3[letter] = letter;
12804
+ });
12805
+ if (Object.keys(Object.assign({}, test3)).join('') !==
12806
+ 'abcdefghijklmnopqrst') {
12807
+ return false;
12808
+ }
12809
+
12810
+ return true;
12811
+ } catch (err) {
12812
+ // We don't expect any of the above to throw, but better to be safe.
12813
+ return false;
12814
+ }
12815
+ }
12816
+
12817
+ var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
12818
+ var from;
12819
+ var to = toObject(target);
12820
+ var symbols;
12821
+
12822
+ for (var s = 1; s < arguments.length; s++) {
12823
+ from = Object(arguments[s]);
12824
+
12825
+ for (var key in from) {
12826
+ if (hasOwnProperty$1.call(from, key)) {
12827
+ to[key] = from[key];
12828
+ }
12829
+ }
12830
+
12831
+ if (getOwnPropertySymbols) {
12832
+ symbols = getOwnPropertySymbols(from);
12833
+ for (var i = 0; i < symbols.length; i++) {
12834
+ if (propIsEnumerable.call(from, symbols[i])) {
12835
+ to[symbols[i]] = from[symbols[i]];
12836
+ }
12837
+ }
12838
+ }
12839
+ }
12840
+
12841
+ return to;
12842
+ };
12843
+
12441
12844
  /**
12442
12845
  * Copyright (c) 2013-present, Facebook, Inc.
12443
12846
  *
@@ -19495,23 +19898,23 @@ function useIsFocusVisible() {
19495
19898
  }
19496
19899
 
19497
19900
  var utils = /*#__PURE__*/Object.freeze({
19498
- __proto__: null,
19499
- capitalize: capitalize,
19500
- createChainedFunction: createChainedFunction,
19501
- createSvgIcon: createSvgIcon$1,
19502
- debounce: debounce,
19503
- deprecatedPropType: deprecatedPropType,
19504
- isMuiElement: isMuiElement,
19505
- ownerDocument: ownerDocument,
19506
- ownerWindow: ownerWindow,
19507
- requirePropFactory: requirePropFactory,
19508
- setRef: setRef,
19509
- unsupportedProp: unsupportedProp,
19510
- useControlled: useControlled,
19511
- useEventCallback: useEventCallback,
19512
- useForkRef: useForkRef,
19513
- unstable_useId: useId,
19514
- useIsFocusVisible: useIsFocusVisible
19901
+ __proto__: null,
19902
+ capitalize: capitalize,
19903
+ createChainedFunction: createChainedFunction,
19904
+ createSvgIcon: createSvgIcon$1,
19905
+ debounce: debounce,
19906
+ deprecatedPropType: deprecatedPropType,
19907
+ isMuiElement: isMuiElement,
19908
+ ownerDocument: ownerDocument,
19909
+ ownerWindow: ownerWindow,
19910
+ requirePropFactory: requirePropFactory,
19911
+ setRef: setRef,
19912
+ unsupportedProp: unsupportedProp,
19913
+ useControlled: useControlled,
19914
+ useEventCallback: useEventCallback,
19915
+ useForkRef: useForkRef,
19916
+ unstable_useId: useId,
19917
+ useIsFocusVisible: useIsFocusVisible
19515
19918
  });
19516
19919
 
19517
19920
  var _utils = /*@__PURE__*/getAugmentedNamespace(utils);
@@ -19648,13 +20051,13 @@ var StyledTypography = styled.p.withConfig({
19648
20051
  return color && Ae(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), getTextColor(color));
19649
20052
  }, function (_a) {
19650
20053
  var bold = _a.bold;
19651
- return bold && Ae(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.bold.base);
20054
+ return bold && Ae(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.bold.base);
19652
20055
  }, function (_a) {
19653
20056
  var italic = _a.italic;
19654
- return italic && Ae(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.italic.base);
20057
+ return italic && Ae(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.italic.base);
19655
20058
  }, function (_a) {
19656
20059
  var underline = _a.underline;
19657
- return underline && Ae(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.underline.base);
20060
+ return underline && Ae(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.underline.base);
19658
20061
  });
19659
20062
  var Typography = /*#__PURE__*/forwardRef(function (_a, ref) {
19660
20063
  var _b = _a.typographyType,
@@ -19683,7 +20086,7 @@ var Typography = /*#__PURE__*/forwardRef(function (_a, ref) {
19683
20086
  }, void 0) : '']
19684
20087
  }), void 0);
19685
20088
  });
19686
- var templateObject_1$D, templateObject_2$s, templateObject_3$k, templateObject_4$g, templateObject_5$d, templateObject_6$c, templateObject_7$9, templateObject_8$6, templateObject_9$6, templateObject_10$4, templateObject_11$3, templateObject_12$2, templateObject_13$2;
20089
+ var templateObject_1$D, templateObject_2$s, templateObject_3$k, templateObject_4$g, templateObject_5$d, templateObject_6$c, templateObject_7$9, templateObject_8$6, templateObject_9$6, templateObject_10$5, templateObject_11$4, templateObject_12$3, templateObject_13$2;
19687
20090
 
19688
20091
  var RadioButtonGroupContext = /*#__PURE__*/React__default.createContext(null);
19689
20092
  var useRadioButtonGroup = function useRadioButtonGroup() {
@@ -19693,13 +20096,13 @@ var useRadioButtonGroup = function useRadioButtonGroup() {
19693
20096
  var Colors$h = ddsBaseTokens.colors,
19694
20097
  Border$7 = ddsBaseTokens.border,
19695
20098
  Spacing$n = ddsBaseTokens.spacing,
19696
- FontPackages$e = ddsBaseTokens.fontPackages;
20099
+ FontPackages$f = ddsBaseTokens.fontPackages;
19697
20100
  var radioButtonBase = {
19698
20101
  border: '1px solid',
19699
20102
  borderColor: Colors$h.DdsColorNeutralsGray5,
19700
20103
  backgroundColor: Colors$h.DdsColorNeutralsWhite,
19701
- height: FontPackages$e.supportingStyle_inputtext_02.numbers.fontSizeNumber,
19702
- width: FontPackages$e.supportingStyle_inputtext_02.numbers.fontSizeNumber
20104
+ height: FontPackages$f.supportingStyle_inputtext_02.numbers.fontSizeNumber,
20105
+ width: FontPackages$f.supportingStyle_inputtext_02.numbers.fontSizeNumber
19703
20106
  };
19704
20107
  var radioButtonHoverBase = {
19705
20108
  border: '2px solid',
@@ -20096,15 +20499,15 @@ var templateObject_1$z, templateObject_2$p, templateObject_3$i;
20096
20499
  var Colors$f = ddsBaseTokens.colors,
20097
20500
  Border$6 = ddsBaseTokens.border,
20098
20501
  Spacing$k = ddsBaseTokens.spacing,
20099
- FontPackages$d = ddsBaseTokens.fontPackages,
20502
+ FontPackages$e = ddsBaseTokens.fontPackages,
20100
20503
  BorderRadius$3 = ddsBaseTokens.borderRadius;
20101
20504
  var checkboxBase = {
20102
20505
  border: '1px solid',
20103
20506
  backgroundColor: Colors$f.DdsColorNeutralsWhite,
20104
20507
  borderColor: Colors$f.DdsColorNeutralsGray5,
20105
20508
  borderRadius: BorderRadius$3.RadiiDdsBorderRadius1Radius,
20106
- height: FontPackages$d.supportingStyle_inputtext_02.base.fontSize,
20107
- width: FontPackages$d.supportingStyle_inputtext_02.base.fontSize
20509
+ height: FontPackages$e.supportingStyle_inputtext_02.base.fontSize,
20510
+ width: FontPackages$e.supportingStyle_inputtext_02.base.fontSize
20108
20511
  };
20109
20512
  var checkboxCheckedBase = {
20110
20513
  border: '2px solid',
@@ -20160,14 +20563,14 @@ var checkmarkIndeterminateBase = {
20160
20563
  borderWidth: '1px 0 0 0'
20161
20564
  };
20162
20565
 
20163
- var containerBase$3 = __assign({}, FontPackages$d.body_sans_02.base);
20566
+ var containerBase$3 = __assign({}, FontPackages$e.body_sans_02.base);
20164
20567
 
20165
- var containerWithLabelBase$1 = __assign(__assign({}, FontPackages$d.body_sans_02.base), {
20568
+ var containerWithLabelBase = __assign(__assign({}, FontPackages$e.body_sans_02.base), {
20166
20569
  marginRight: Spacing$k.SizesDdsSpacingLocalX075,
20167
- padding: "0 " + Spacing$k.SizesDdsSpacingLocalX025 + " 0 " + (FontPackages$d.supportingStyle_inputtext_02.numbers.fontSizeNumber + Spacing$k.SizesDdsSpacingLocalX075NumberPx) + "px"
20570
+ padding: "0 " + Spacing$k.SizesDdsSpacingLocalX025 + " 0 " + (FontPackages$e.supportingStyle_inputtext_02.numbers.fontSizeNumber + Spacing$k.SizesDdsSpacingLocalX075NumberPx) + "px"
20168
20571
  });
20169
20572
 
20170
- var containerNoLabelBase$1 = {
20573
+ var containerNoLabelBase = {
20171
20574
  padding: Spacing$k.SizesDdsSpacingLocalX075 + " " + Spacing$k.SizesDdsSpacingLocalX0125 + " " + Spacing$k.SizesDdsSpacingLocalX075 + " " + Spacing$k.SizesDdsSpacingLocalX15
20172
20575
  };
20173
20576
  var checkboxTokens = {
@@ -20228,10 +20631,10 @@ var checkboxTokens = {
20228
20631
  width: Border$6.BordersDdsBorderStyle1StrokeWeight
20229
20632
  },
20230
20633
  withLabel: {
20231
- base: containerWithLabelBase$1
20634
+ base: containerWithLabelBase
20232
20635
  },
20233
20636
  noLabel: {
20234
- base: containerNoLabelBase$1
20637
+ base: containerNoLabelBase
20235
20638
  }
20236
20639
  }
20237
20640
  };
@@ -20269,12 +20672,12 @@ var Container$7 = styled.label.withConfig({
20269
20672
  }, function (_a) {
20270
20673
  var readOnly = _a.readOnly,
20271
20674
  indeterminate = _a.indeterminate;
20272
- return readOnly && Ae(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "], ["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "])), CustomCheckbox, checkboxTokens.checkbox.readOnly.base, CustomCheckbox, checkboxTokens.checkbox.checked.readOnly.base, indeterminate && Ae(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.readOnly.base));
20675
+ return readOnly && Ae(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "], ["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "])), CustomCheckbox, checkboxTokens.checkbox.readOnly.base, CustomCheckbox, checkboxTokens.checkbox.checked.readOnly.base, indeterminate && Ae(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.readOnly.base));
20273
20676
  }, CustomCheckbox, checkboxTokens.checkmark.color, function (_a) {
20274
20677
  var indeterminate = _a.indeterminate;
20275
- return indeterminate ? Ae(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n left: 25%;\n top: 50%;\n width: 50%;\n height: 1px;\n ", "\n "], ["\n left: 25%;\n top: 50%;\n width: 50%;\n height: 1px;\n ", "\n "])), checkboxTokens.checkmark.indeterminate.base) : Ae(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.checkmark.base);
20678
+ return indeterminate ? Ae(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["\n left: 25%;\n top: 50%;\n width: 50%;\n height: 1px;\n ", "\n "], ["\n left: 25%;\n top: 50%;\n width: 50%;\n height: 1px;\n ", "\n "])), checkboxTokens.checkmark.indeterminate.base) : Ae(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.checkmark.base);
20276
20679
  });
20277
- var templateObject_1$y, templateObject_2$o, templateObject_3$h, templateObject_4$e, templateObject_5$b, templateObject_6$a, templateObject_7$8, templateObject_8$5, templateObject_9$5, templateObject_10$3, templateObject_11$2, templateObject_12$1, templateObject_13$1;
20680
+ var templateObject_1$y, templateObject_2$o, templateObject_3$h, templateObject_4$e, templateObject_5$b, templateObject_6$a, templateObject_7$8, templateObject_8$5, templateObject_9$5, templateObject_10$4, templateObject_11$3, templateObject_12$2, templateObject_13$1;
20278
20681
 
20279
20682
  var nextUniqueId$5 = 0;
20280
20683
  var Checkbox = /*#__PURE__*/forwardRef(function (_a, ref) {
@@ -20389,47 +20792,47 @@ var calculateHeightWithLineHeight = function calculateHeightWithLineHeight(lineH
20389
20792
  var Colors$e = ddsBaseTokens.colors,
20390
20793
  Border$5 = ddsBaseTokens.border,
20391
20794
  Spacing$i = ddsBaseTokens.spacing,
20392
- FontPackages$c = ddsBaseTokens.fontPackages,
20795
+ FontPackages$d = ddsBaseTokens.fontPackages,
20393
20796
  BorderRadius$2 = ddsBaseTokens.borderRadius,
20394
20797
  OuterShadow$1 = ddsBaseTokens.outerShadow;
20395
20798
  var focus = ddsReferenceTokens.focus;
20396
20799
 
20397
- var justIconSmallBase = __assign(__assign({}, FontPackages$c.supportingStyle_inputtext_02.base), {
20800
+ var justIconSmallBase = __assign(__assign({}, FontPackages$d.supportingStyle_inputtext_02.base), {
20398
20801
  padding: Spacing$i.SizesDdsSpacingLocalX05
20399
20802
  });
20400
20803
 
20401
20804
  var justIconWrapperSmallBase = {
20402
- height: calculateHeightWithLineHeight(FontPackages$c.body_sans_01.numbers.lineHeightNumber, FontPackages$c.body_sans_01.numbers.fontSizeNumber) + "px",
20403
- width: calculateHeightWithLineHeight(FontPackages$c.body_sans_01.numbers.lineHeightNumber, FontPackages$c.body_sans_01.numbers.fontSizeNumber) + "px"
20805
+ height: calculateHeightWithLineHeight(FontPackages$d.body_sans_01.numbers.lineHeightNumber, FontPackages$d.body_sans_01.numbers.fontSizeNumber) + "px",
20806
+ width: calculateHeightWithLineHeight(FontPackages$d.body_sans_01.numbers.lineHeightNumber, FontPackages$d.body_sans_01.numbers.fontSizeNumber) + "px"
20404
20807
  };
20405
20808
 
20406
- var textSmallBase = __assign(__assign({}, FontPackages$c.body_sans_01.base), {
20809
+ var textSmallBase = __assign(__assign({}, FontPackages$d.body_sans_01.base), {
20407
20810
  padding: Spacing$i.SizesDdsSpacingLocalX05 + " " + (Spacing$i.SizesDdsSpacingLocalX1NumberPx - 2) + "px"
20408
20811
  });
20409
20812
 
20410
- var justIconMediumBase = __assign(__assign({}, FontPackages$c.heading_sans_03.base), {
20813
+ var justIconMediumBase = __assign(__assign({}, FontPackages$d.heading_sans_03.base), {
20411
20814
  padding: Spacing$i.SizesDdsSpacingLocalX075
20412
20815
  });
20413
20816
 
20414
20817
  var justIconWrapperMediumBase = {
20415
- height: calculateHeightWithLineHeight(FontPackages$c.body_sans_02.numbers.lineHeightNumber, FontPackages$c.body_sans_02.numbers.fontSizeNumber) + "px",
20416
- width: calculateHeightWithLineHeight(FontPackages$c.body_sans_02.numbers.lineHeightNumber, FontPackages$c.body_sans_02.numbers.fontSizeNumber) + "px"
20818
+ height: calculateHeightWithLineHeight(FontPackages$d.body_sans_02.numbers.lineHeightNumber, FontPackages$d.body_sans_02.numbers.fontSizeNumber) + "px",
20819
+ width: calculateHeightWithLineHeight(FontPackages$d.body_sans_02.numbers.lineHeightNumber, FontPackages$d.body_sans_02.numbers.fontSizeNumber) + "px"
20417
20820
  };
20418
20821
 
20419
- var textMediumBase = __assign(__assign({}, FontPackages$c.body_sans_02.base), {
20822
+ var textMediumBase = __assign(__assign({}, FontPackages$d.body_sans_02.base), {
20420
20823
  padding: Spacing$i.SizesDdsSpacingLocalX075 + " " + (Spacing$i.SizesDdsSpacingLocalX15NumberPx - 2) + "px"
20421
20824
  });
20422
20825
 
20423
- var justIconLargeBase = __assign(__assign({}, FontPackages$c.heading_sans_04.base), {
20826
+ var justIconLargeBase = __assign(__assign({}, FontPackages$d.heading_sans_04.base), {
20424
20827
  padding: Spacing$i.SizesDdsSpacingLocalX1
20425
20828
  });
20426
20829
 
20427
20830
  var justIconWrapperLargeBase = {
20428
- height: calculateHeightWithLineHeight(FontPackages$c.supportingStyle_inputtext_03.numbers.lineHeightNumber, FontPackages$c.supportingStyle_inputtext_03.numbers.fontSizeNumber) + "px",
20429
- width: calculateHeightWithLineHeight(FontPackages$c.supportingStyle_inputtext_03.numbers.lineHeightNumber, FontPackages$c.supportingStyle_inputtext_03.numbers.fontSizeNumber) + "px"
20831
+ height: calculateHeightWithLineHeight(FontPackages$d.supportingStyle_inputtext_03.numbers.lineHeightNumber, FontPackages$d.supportingStyle_inputtext_03.numbers.fontSizeNumber) + "px",
20832
+ width: calculateHeightWithLineHeight(FontPackages$d.supportingStyle_inputtext_03.numbers.lineHeightNumber, FontPackages$d.supportingStyle_inputtext_03.numbers.fontSizeNumber) + "px"
20430
20833
  };
20431
20834
 
20432
- var textLargeBase = __assign(__assign({}, FontPackages$c.supportingStyle_inputtext_03.base), {
20835
+ var textLargeBase = __assign(__assign({}, FontPackages$d.supportingStyle_inputtext_03.base), {
20433
20836
  padding: Spacing$i.SizesDdsSpacingLocalX1 + " " + (Spacing$i.SizesDdsSpacingLocalX2NumberPx - 2) + "px"
20434
20837
  });
20435
20838
 
@@ -20914,56 +21317,53 @@ function Spinner(_a) {
20914
21317
  }
20915
21318
  var templateObject_1$w, templateObject_2$m;
20916
21319
 
20917
- var buttonContentStyle = function buttonContentStyle(purpose, appearance, label, Icon) {
20918
- return Ae(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n display: flex;\n align-items: center;\n position: relative;\n transition: background-color 0.2s, text-decoration-color 0.2s, box-shadow 0.2s,\n border-color 0.2s, color 0.2s;\n ", "\n *::selection {\n ", "\n }\n ", "\n\n ", "\n"], ["\n display: flex;\n align-items: center;\n position: relative;\n transition: background-color 0.2s, text-decoration-color 0.2s, box-shadow 0.2s,\n border-color 0.2s, color 0.2s;\n ", "\n *::selection {\n ", "\n }\n ", "\n\n ", "\n"])), buttonTokens.base, typographyTokens.selection.base, appearance && purpose && Ae(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n ", "\n ", "\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "], ["\n ", "\n ", "\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "])), buttonTokens.appearance[appearance].base, buttonTokens.appearance[appearance][purpose].base, buttonTokens.appearance[appearance][purpose].hover.base, buttonTokens.appearance[appearance][purpose].active.base), Icon && !label && appearance === 'borderless' && Ae(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "], ["\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "])), buttonTokens.appearance[appearance][purpose].justIcon.hover.base, buttonTokens.appearance[appearance][purpose].justIcon.active.base));
20919
- };
20920
- var ButtonContent = styled.span.withConfig({
20921
- displayName: "Buttonstyles__ButtonContent",
21320
+ var ButtonWrapper$1 = styled.button.withConfig({
21321
+ displayName: "Buttonstyles__ButtonWrapper",
20922
21322
  componentId: "sc-14dutqk-0"
20923
- })(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n ", "\n &:focus {\n outline: none;\n }\n\n ", "\n ", "\n"], ["\n ", "\n &:focus {\n outline: none;\n }\n\n ", "\n ", "\n"])), function (_a) {
20924
- var label = _a.label,
20925
- purpose = _a.purpose,
20926
- appearance = _a.appearance,
20927
- Icon = _a.Icon;
20928
- return purpose && appearance && buttonContentStyle(purpose, appearance, label, Icon);
21323
+ })(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n ", "\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: fit-content;\n width: ", ";\n cursor: pointer;\n box-shadow: none;\n text-decoration: none;\n transition: background-color 0.2s, text-decoration-color 0.2s, box-shadow 0.2s,\n border-color 0.2s, color 0.2s;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n\n\n\n &:focus-visible, &.focus-visible {\n outline: ", " solid ", ";\n outline-offset: 2px;\n }\n\n *::selection {\n ", "\n }\n"], ["\n ", "\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: fit-content;\n width: ", ";\n cursor: pointer;\n box-shadow: none;\n text-decoration: none;\n transition: background-color 0.2s, text-decoration-color 0.2s, box-shadow 0.2s,\n border-color 0.2s, color 0.2s;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n\n\n\n &:focus-visible, &.focus-visible {\n outline: ", " solid ", ";\n outline-offset: 2px;\n }\n\n *::selection {\n ", "\n }\n"])), buttonTokens.base, function (_a) {
21324
+ var fullWidth = _a.fullWidth;
21325
+ return fullWidth ? '100%' : 'fit-content';
20929
21326
  }, function (_a) {
20930
- var fullWidth = _a.fullWidth,
20931
- Icon = _a.Icon,
20932
- label = _a.label,
20933
- loading = _a.loading;
20934
- return fullWidth && (!Icon || !label || loading ? Ae(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "]))) : Ae(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n justify-content: space-between;\n "], ["\n justify-content: space-between;\n "]))));
21327
+ var appearance = _a.appearance,
21328
+ purpose = _a.purpose;
21329
+ return Ae(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n ", "\n ", "\n\n &:hover {\n ", "\n }\n\n &:active {\n ", "\n }\n "], ["\n ", "\n ", "\n\n &:hover {\n ", "\n }\n\n &:active {\n ", "\n }\n "])), buttonTokens.appearance[appearance].base, buttonTokens.appearance[appearance][purpose].base, buttonTokens.appearance[appearance][purpose].hover.base, buttonTokens.appearance[appearance][purpose].active.base);
21330
+ }, function (_a) {
21331
+ var hasIcon = _a.hasIcon,
21332
+ hasLabel = _a.hasLabel,
21333
+ appearance = _a.appearance,
21334
+ purpose = _a.purpose;
21335
+ return hasIcon && !hasLabel && appearance === 'borderless' && Ae(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "], ["\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "])), buttonTokens.appearance[appearance][purpose].justIcon.hover.base, buttonTokens.appearance[appearance][purpose].justIcon.active.base);
20935
21336
  }, function (_a) {
20936
21337
  var size = _a.size,
20937
- label = _a.label;
20938
- return size && (label ? Ae(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].text.base) : Ae(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIcon.base));
20939
- });
20940
- var ButtonWrapper$1 = styled.button.withConfig({
20941
- displayName: "Buttonstyles__ButtonWrapper",
20942
- componentId: "sc-14dutqk-1"
20943
- })(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n display: inline-block;\n border: none;\n cursor: pointer;\n box-shadow: none;\n padding: 0;\n background-color: transparent;\n text-decoration: none;\n ", "\n\n &:focus > ", " {\n outline: ", " solid ", ";\n outline-offset: 2px;\n }\n &:focus {\n outline: none;\n }\n"], ["\n display: inline-block;\n border: none;\n cursor: pointer;\n box-shadow: none;\n padding: 0;\n background-color: transparent;\n text-decoration: none;\n ", "\n\n &:focus > ", " {\n outline: ", " solid ", ";\n outline-offset: 2px;\n }\n &:focus {\n outline: none;\n }\n"])), function (_a) {
20944
- var fullWidth = _a.fullWidth;
20945
- return !fullWidth && Ae(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["\n width: fit-content;\n "], ["\n width: fit-content;\n "])));
20946
- }, ButtonContent, buttonTokens.focusOutline.width, buttonTokens.focusOutline.color);
21338
+ hasLabel = _a.hasLabel;
21339
+ return hasLabel ? Ae(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].text.base) : Ae(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIcon.base);
21340
+ }, function (_a) {
21341
+ var fullWidth = _a.fullWidth,
21342
+ hasIcon = _a.hasIcon,
21343
+ hasLabel = _a.hasLabel,
21344
+ isLoading = _a.isLoading;
21345
+ return fullWidth && (!hasIcon || !hasLabel || isLoading ? Ae(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "]))) : Ae(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n justify-content: space-between;\n "], ["\n justify-content: space-between;\n "]))));
21346
+ }, buttonTokens.focusOutline.width, buttonTokens.focusOutline.color, typographyTokens.selection.base);
20947
21347
  var IconWithTextWrapper = styled(IconWrapper$1).withConfig({
20948
21348
  displayName: "Buttonstyles__IconWithTextWrapper",
20949
- componentId: "sc-14dutqk-2"
20950
- })(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
21349
+ componentId: "sc-14dutqk-1"
21350
+ })(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
20951
21351
  var size = _a.size,
20952
21352
  iconPosition = _a.iconPosition;
20953
- return size && (iconPosition === 'left' ? Ae(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\n margin-inline-end: ", ";\n "], ["\n margin-inline-end: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : iconPosition === 'right' ? Ae(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n margin-inline-start: ", ";\n "], ["\n margin-inline-start: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : '');
21353
+ return iconPosition === 'left' ? Ae(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n margin-inline-end: ", ";\n "], ["\n margin-inline-end: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : iconPosition === 'right' ? Ae(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["\n margin-inline-start: ", ";\n "], ["\n margin-inline-start: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : '';
20954
21354
  });
20955
21355
  var JustIconWrapper = styled.span.withConfig({
20956
21356
  displayName: "Buttonstyles__JustIconWrapper",
20957
- componentId: "sc-14dutqk-3"
20958
- })(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n ", "\n"])), function (_a) {
21357
+ componentId: "sc-14dutqk-2"
21358
+ })(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n ", "\n"])), function (_a) {
20959
21359
  var size = _a.size;
20960
- return size && Ae(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIconWrapper.base);
21360
+ return Ae(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIconWrapper.base);
20961
21361
  });
20962
21362
  var Label$2 = styled.span.withConfig({
20963
21363
  displayName: "Buttonstyles__Label",
20964
- componentId: "sc-14dutqk-4"
20965
- })(templateObject_16 || (templateObject_16 = __makeTemplateObject([""], [""])));
20966
- var templateObject_1$v, templateObject_2$l, templateObject_3$f, templateObject_4$d, templateObject_5$a, templateObject_6$9, templateObject_7$7, templateObject_8$4, templateObject_9$4, templateObject_10$2, templateObject_11$1, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16;
21364
+ componentId: "sc-14dutqk-3"
21365
+ })(templateObject_13 || (templateObject_13 = __makeTemplateObject([""], [""])));
21366
+ var templateObject_1$v, templateObject_2$l, templateObject_3$f, templateObject_4$d, templateObject_5$a, templateObject_6$9, templateObject_7$7, templateObject_8$4, templateObject_9$4, templateObject_10$3, templateObject_11$2, templateObject_12$1, templateObject_13;
20967
21367
 
20968
21368
  var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
20969
21369
  var label = _a.label,
@@ -20978,8 +21378,10 @@ var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
20978
21378
  appearance = _e === void 0 ? 'filled' : _e,
20979
21379
  href = _a.href,
20980
21380
  target = _a.target,
20981
- loading = _a.loading,
20982
- fullWidth = _a.fullWidth,
21381
+ _f = _a.loading,
21382
+ loading = _f === void 0 ? false : _f,
21383
+ _g = _a.fullWidth,
21384
+ fullWidth = _g === void 0 ? false : _g,
20983
21385
  className = _a.className,
20984
21386
  style = _a.style,
20985
21387
  Icon = _a.Icon,
@@ -20994,23 +21396,18 @@ var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
20994
21396
  rel: href ? 'noreferrer noopener' : undefined,
20995
21397
  target: href && target ? target : undefined,
20996
21398
  ref: ref,
20997
- fullWidth: fullWidth,
20998
- disabled: disabled
20999
- }, rest);
21000
-
21001
- var contentProps = {
21002
- iconPosition: iconPosition,
21003
21399
  appearance: appearance,
21004
21400
  purpose: purpose,
21005
- label: label,
21006
- size: size,
21007
- Icon: Icon,
21401
+ iconPosition: iconPosition,
21008
21402
  fullWidth: fullWidth,
21009
- loading: loading,
21010
- tabIndex: -1,
21403
+ hasLabel: !!label,
21404
+ hasIcon: !!Icon,
21405
+ isLoading: loading,
21406
+ disabled: disabled,
21407
+ size: size,
21011
21408
  className: className,
21012
21409
  style: style
21013
- };
21410
+ }, rest);
21014
21411
 
21015
21412
  var iconElement = Icon && iconPosition && size && jsxRuntime.jsx(IconWithTextWrapper, {
21016
21413
  Icon: Icon,
@@ -21019,28 +21416,28 @@ var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
21019
21416
  size: size
21020
21417
  }, void 0);
21021
21418
 
21022
- return jsxRuntime.jsx(ButtonWrapper$1, __assign({}, wrapperProps, {
21023
- children: jsxRuntime.jsx(ButtonContent, __assign({}, contentProps, {
21024
- children: loading ? jsxRuntime.jsx(JustIconWrapper, __assign({
21025
- size: size
21026
- }, {
21027
- children: jsxRuntime.jsx(Spinner, {
21028
- color: buttonTokens.appearance[appearance][purpose].base.color,
21029
- size: buttonTokens.sizes[size].justIcon.base.fontSize
21030
- }, void 0)
21031
- }), void 0) : !label && Icon ? jsxRuntime.jsx(JustIconWrapper, __assign({
21032
- size: size
21033
- }, {
21034
- children: jsxRuntime.jsx(IconWrapper$1, {
21035
- Icon: Icon,
21036
- iconSize: "inline"
21037
- }, void 0)
21038
- }), void 0) : label ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
21039
- children: [iconPosition === 'left' && iconElement, jsxRuntime.jsx(Label$2, {
21040
- children: label
21041
- }, void 0), iconPosition === 'right' && iconElement]
21042
- }, void 0) : ''
21043
- }), void 0)
21419
+ var hasLabel = !!label;
21420
+ var isIconButton = !hasLabel && !!Icon;
21421
+ return jsxRuntime.jsxs(ButtonWrapper$1, __assign({}, wrapperProps, {
21422
+ children: [loading && jsxRuntime.jsx(JustIconWrapper, __assign({
21423
+ size: size
21424
+ }, {
21425
+ children: jsxRuntime.jsx(Spinner, {
21426
+ color: buttonTokens.appearance[appearance][purpose].base.color,
21427
+ size: buttonTokens.sizes[size].justIcon.base.fontSize
21428
+ }, void 0)
21429
+ }), void 0), isIconButton && !loading && jsxRuntime.jsx(JustIconWrapper, __assign({
21430
+ size: size
21431
+ }, {
21432
+ children: jsxRuntime.jsx(IconWrapper$1, {
21433
+ Icon: Icon,
21434
+ iconSize: "inline"
21435
+ }, void 0)
21436
+ }), void 0), hasLabel && !loading && jsxRuntime.jsxs(jsxRuntime.Fragment, {
21437
+ children: [iconPosition === 'left' && iconElement, jsxRuntime.jsx(Label$2, {
21438
+ children: label
21439
+ }, void 0), iconPosition === 'right' && iconElement]
21440
+ }, void 0)]
21044
21441
  }), void 0);
21045
21442
  });
21046
21443
 
@@ -21120,13 +21517,13 @@ var templateObject_1$u;
21120
21517
 
21121
21518
  var Colors$b = ddsBaseTokens.colors,
21122
21519
  Spacing$f = ddsBaseTokens.spacing,
21123
- FontPackages$b = ddsBaseTokens.fontPackages;
21520
+ FontPackages$c = ddsBaseTokens.fontPackages;
21124
21521
  var TextInput$2 = ddsReferenceTokens.textInput;
21125
21522
  var inputBase$2 = {
21126
21523
  border: "1px solid " + Colors$b.DdsColorNeutralsGray5
21127
21524
  };
21128
21525
  var inputWithLabelBase = {
21129
- padding: Spacing$f.SizesDdsSpacingLocalX075NumberPx + FontPackages$b.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * FontPackages$b.supportingStyle_label_01.numbers.fontSizeNumber + "px " + Spacing$f.SizesDdsSpacingLocalX1 + " " + Spacing$f.SizesDdsSpacingLocalX075 + " " + Spacing$f.SizesDdsSpacingLocalX1
21526
+ padding: Spacing$f.SizesDdsSpacingLocalX075NumberPx + FontPackages$c.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * FontPackages$c.supportingStyle_label_01.numbers.fontSizeNumber + "px " + Spacing$f.SizesDdsSpacingLocalX1 + " " + Spacing$f.SizesDdsSpacingLocalX075 + " " + Spacing$f.SizesDdsSpacingLocalX1
21130
21527
  };
21131
21528
  var inputNoLabelBase$1 = {
21132
21529
  padding: Spacing$f.SizesDdsSpacingLocalX075 + " " + Spacing$f.SizesDdsSpacingLocalX1 + " " + Spacing$f.SizesDdsSpacingLocalX075 + " " + Spacing$f.SizesDdsSpacingLocalX1
@@ -21262,15 +21659,15 @@ var SingleLineLabel = styled(Typography).withConfig({
21262
21659
  var InputContainer$2 = styled.div.withConfig({
21263
21660
  displayName: "Inputstyles__InputContainer",
21264
21661
  componentId: "sc-1oz9x8w-2"
21265
- })(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
21662
+ })(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
21266
21663
  var OuterInputContainer = styled.div.withConfig({
21267
21664
  displayName: "Inputstyles__OuterInputContainer",
21268
21665
  componentId: "sc-1oz9x8w-3"
21269
- })(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n width: ", ";\n"])), function (_a) {
21666
+ })(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n width: ", ";\n"])), function (_a) {
21270
21667
  var width = _a.width;
21271
21668
  return width;
21272
21669
  });
21273
- var templateObject_1$s, templateObject_2$k, templateObject_3$e, templateObject_4$c, templateObject_5$9, templateObject_6$8, templateObject_7$6, templateObject_8$3, templateObject_9$3, templateObject_10$1, templateObject_11;
21670
+ var templateObject_1$s, templateObject_2$k, templateObject_3$e, templateObject_4$c, templateObject_5$9, templateObject_6$8, templateObject_7$6, templateObject_8$3, templateObject_9$3, templateObject_10$2, templateObject_11$1;
21274
21671
 
21275
21672
  var scrollbarStyling = Ae(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n /* width */\n &::-webkit-scrollbar {\n width: 16px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: transparent;\n border-radius: 100px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 100px;\n }\n\n /* Handle on hover */\n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n\n /* Firefox */\n scrollbar-color: ", "\n transparent;\n scrollbar-width: thin;\n"], ["\n /* width */\n &::-webkit-scrollbar {\n width: 16px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: transparent;\n border-radius: 100px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 100px;\n }\n\n /* Handle on hover */\n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n\n /* Firefox */\n scrollbar-color: ", "\n transparent;\n scrollbar-width: thin;\n"])), ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.35)', ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.5)', ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.35)');
21276
21673
  var templateObject_1$r;
@@ -21321,7 +21718,7 @@ var Label$1 = styled(SingleLineLabel).withConfig({
21321
21718
  var InputContainer$1 = styled(InputContainer$2).withConfig({
21322
21719
  displayName: "TextInputstyles__InputContainer",
21323
21720
  componentId: "sc-165zflr-3"
21324
- })(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", "\n height: ", ";\n"], ["\n ", "\n height: ", ";\n"])), function (_a) {
21721
+ })(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject(["\n ", "\n height: ", ";\n"], ["\n ", "\n height: ", ";\n"])), function (_a) {
21325
21722
  var multiline = _a.multiline;
21326
21723
  return multiline && Ae(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n display: inline-block;\n "], ["\n display: inline-block;\n "])));
21327
21724
  }, function (_a) {
@@ -21336,7 +21733,7 @@ var InputContainer$1 = styled(InputContainer$2).withConfig({
21336
21733
  return textInputTokens.container.multiline.noLabel.height;
21337
21734
  }
21338
21735
  });
21339
- var templateObject_1$q, templateObject_2$j, templateObject_3$d, templateObject_4$b, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$2, templateObject_9$2, templateObject_10;
21736
+ var templateObject_1$q, templateObject_2$j, templateObject_3$d, templateObject_4$b, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$2, templateObject_9$2, templateObject_10$1;
21340
21737
 
21341
21738
  var nextUniqueId$3 = 0;
21342
21739
  var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
@@ -28325,10 +28722,16 @@ var ReactSelect = index;
28325
28722
 
28326
28723
  var Colors$a = ddsBaseTokens.colors,
28327
28724
  Spacing$e = ddsBaseTokens.spacing,
28328
- FontPackages$a = ddsBaseTokens.fontPackages,
28725
+ FontPackages$b = ddsBaseTokens.fontPackages,
28329
28726
  BorderRadius$1 = ddsBaseTokens.borderRadius,
28330
- Border$4 = ddsBaseTokens.border;
28727
+ Border$4 = ddsBaseTokens.border,
28728
+ IconSizes = ddsBaseTokens.iconSizes;
28331
28729
  var textDefault$6 = ddsReferenceTokens.textDefault;
28730
+ var multiValueContainerMinHeight = Spacing$e.SizesDdsSpacingLocalX0125NumberPx * 2 + Spacing$e.SizesDdsSpacingLocalX025NumberPx * 2 + calculateHeightWithLineHeight(FontPackages$b.supportingStyle_inputtext_01.numbers.lineHeightNumber, FontPackages$b.supportingStyle_inputtext_01.numbers.fontSizeNumber) + "px"; //custom spacing so that multiselect has same height as single value select
28731
+
28732
+ var valueContainerMarginBottomMultiWithLabel = Spacing$e.SizesDdsSpacingLocalX025NumberPx + Spacing$e.SizesDdsSpacingLocalX0125NumberPx + "px"; //custom spacing so that multiselect has same height as single value select
28733
+
28734
+ var inputMultiNoLabelPaddingTop = Spacing$e.SizesDdsSpacingLocalX05NumberPx + Spacing$e.SizesDdsSpacingLocalX0125NumberPx + "px";
28332
28735
 
28333
28736
  var labelBase = __assign({
28334
28737
  color: Colors$a.DdsColorNeutralsGray7,
@@ -28336,7 +28739,7 @@ var labelBase = __assign({
28336
28739
  paddingLeft: Spacing$e.SizesDdsSpacingLocalX1,
28337
28740
  paddingBottom: 0,
28338
28741
  paddingRight: Spacing$e.SizesDdsSpacingLocalX05
28339
- }, FontPackages$a.supportingStyle_label_01.base);
28742
+ }, FontPackages$b.supportingStyle_label_01.base);
28340
28743
 
28341
28744
  var labelHoverBase = {
28342
28745
  color: Colors$a.DdsColorInteractiveBase
@@ -28344,20 +28747,27 @@ var labelHoverBase = {
28344
28747
  var labelFocusBase = {
28345
28748
  color: Colors$a.DdsColorInteractiveBase
28346
28749
  };
28750
+ var valueContainerWithLabelBase = {
28751
+ marginBottom: Spacing$e.SizesDdsSpacingLocalX075
28752
+ };
28753
+ var valueContainerNoLabelBase = {
28754
+ marginBottom: Spacing$e.SizesDdsSpacingLocalX075
28755
+ };
28756
+ var valueContainerIsMultiBase = {
28757
+ minHeight: multiValueContainerMinHeight
28758
+ };
28759
+ var valueContainerIsMultiWithLabelBase = {
28760
+ marginBottom: valueContainerMarginBottomMultiWithLabel
28761
+ };
28762
+ var valueContainerIsMultiNoLabelBase = {
28763
+ marginBottom: Spacing$e.SizesDdsSpacingLocalX05
28764
+ };
28347
28765
  var containerBase$2 = {
28348
28766
  borderRadius: BorderRadius$1.RadiiDdsBorderRadius1Radius,
28349
28767
  border: Border$4.BordersDdsBorderStyle1StrokeWeight + " solid",
28350
28768
  borderColor: Colors$a.DdsColorNeutralsGray5,
28351
28769
  backgroundColor: Colors$a.DdsColorNeutralsWhite
28352
28770
  };
28353
- var withLabelHeight = Spacing$e.SizesDdsSpacingLocalX075NumberPx * 2 + FontPackages$a.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * FontPackages$a.supportingStyle_label_01.numbers.fontSizeNumber + FontPackages$a.supportingStyle_inputtext_02.numbers.lineHeightNumber * 0.01 * FontPackages$a.supportingStyle_inputtext_02.numbers.fontSizeNumber + Border$4.BordersDdsBorderStyle1StrokeWeightNumberPx * 2;
28354
- var containerWithLabelBase = {
28355
- height: withLabelHeight + "px"
28356
- };
28357
- var noLabelHeight = Spacing$e.SizesDdsSpacingLocalX075NumberPx * 2 + FontPackages$a.supportingStyle_inputtext_02.numbers.lineHeightNumber * 0.01 * FontPackages$a.supportingStyle_inputtext_02.numbers.fontSizeNumber + Border$4.BordersDdsBorderStyle1StrokeWeightNumberPx * 2;
28358
- var containerNoLabelBase = {
28359
- height: noLabelHeight + "px"
28360
- };
28361
28771
  var containerHoverBase = {
28362
28772
  backgroundColor: Colors$a.DdsColorInteractiveLightest,
28363
28773
  borderColor: Colors$a.DdsColorInteractiveBase
@@ -28378,16 +28788,31 @@ var containerDangerFocusBase = {
28378
28788
 
28379
28789
  var inputBase$1 = __assign({
28380
28790
  padding: "0 " + Spacing$e.SizesDdsSpacingLocalX05 + " 0 " + Spacing$e.SizesDdsSpacingLocalX1
28381
- }, FontPackages$a.supportingStyle_inputtext_02.base);
28791
+ }, FontPackages$b.supportingStyle_inputtext_02.base);
28382
28792
 
28383
28793
  var inputNoLabelBase = {
28384
28794
  paddingTop: Spacing$e.SizesDdsSpacingLocalX075
28385
28795
  };
28796
+ var inputIsMultiNoLabelBase = {
28797
+ paddingTop: inputMultiNoLabelPaddingTop
28798
+ };
28386
28799
 
28387
28800
  var placeholderBase = __assign({
28388
28801
  color: Colors$a.DdsColorNeutralsGray6
28389
- }, FontPackages$a.supportingStyle_placeholdertext_01.base);
28802
+ }, FontPackages$b.supportingStyle_placeholdertext_01.base);
28390
28803
 
28804
+ var indicatorsContainerWithLabelBase = {
28805
+ marginBottom: Spacing$e.SizesDdsSpacingLocalX1
28806
+ };
28807
+ var indicatorsContainerNoLabelBase = {
28808
+ marginBottom: Spacing$e.SizesDdsSpacingLocalX075
28809
+ };
28810
+ var indicatorsContainerIsMultiWithLabelBase = {
28811
+ marginBottom: valueContainerMarginBottomMultiWithLabel
28812
+ };
28813
+ var indicatorsContainerIsMultiNoLabelBase = {
28814
+ marginBottom: Spacing$e.SizesDdsSpacingLocalX05
28815
+ };
28391
28816
  var dropdownIndicatorBase = {
28392
28817
  color: Colors$a.DdsColorNeutralsGray6,
28393
28818
  padding: 0
@@ -28402,6 +28827,10 @@ var clearIndicatorBase = {
28402
28827
  color: Colors$a.DdsColorNeutralsGray6,
28403
28828
  padding: " 0 " + Spacing$e.SizesDdsSpacingLocalX025 + " 0 0"
28404
28829
  };
28830
+ var loadingIndicatorBase = {
28831
+ color: Colors$a.DdsColorNeutralsGray6,
28832
+ padding: 0
28833
+ };
28405
28834
  var clearIndicatorHoverBase = {
28406
28835
  color: Colors$a.DdsColorInteractiveBase
28407
28836
  };
@@ -28414,7 +28843,7 @@ var optionsListBase = {
28414
28843
 
28415
28844
  var optionBase = __assign(__assign({
28416
28845
  padding: Spacing$e.SizesDdsSpacingLocalX05 + " " + Spacing$e.SizesDdsSpacingLocalX1
28417
- }, FontPackages$a.body_sans_02.base), {
28846
+ }, FontPackages$b.body_sans_02.base), {
28418
28847
  color: textDefault$6.textColor
28419
28848
  });
28420
28849
 
@@ -28424,15 +28853,48 @@ var optionHoverBase = {
28424
28853
 
28425
28854
  var optionSelectedBase = __assign(__assign({
28426
28855
  backgroundColor: Colors$a.DdsColorInteractiveLightest
28427
- }, FontPackages$a.body_sans_02.base), {
28856
+ }, FontPackages$b.body_sans_02.base), {
28428
28857
  fontWeight: 600
28429
28858
  });
28430
28859
 
28431
28860
  var noOptionsMessageBase = __assign({
28432
28861
  padding: Spacing$e.SizesDdsSpacingLocalX05 + " " + Spacing$e.SizesDdsSpacingLocalX1,
28433
28862
  color: Colors$a.DdsColorNeutralsGray6
28434
- }, FontPackages$a.supportingStyle_placeholdertext_01.base);
28863
+ }, FontPackages$b.supportingStyle_placeholdertext_01.base);
28435
28864
 
28865
+ var multiValueBase = {
28866
+ borderRadius: BorderRadius$1.RadiiDdsBorderRadius1Radius,
28867
+ margin: Spacing$e.SizesDdsSpacingLocalX0125
28868
+ };
28869
+ var multiValueEnabledBase = {
28870
+ backgroundColor: Colors$a.DdsColorInteractiveLighter
28871
+ };
28872
+ var multiValueDisabledBase = {
28873
+ backgroundColor: Colors$a.DdsColorNeutralsGray3
28874
+ };
28875
+
28876
+ var multiValueLabelBase = __assign(__assign({
28877
+ paddingTop: "" + Spacing$e.SizesDdsSpacingLocalX025,
28878
+ paddingRight: "" + Spacing$e.SizesDdsSpacingLocalX05,
28879
+ paddingLeft: "" + Spacing$e.SizesDdsSpacingLocalX05,
28880
+ paddingBottom: "" + Spacing$e.SizesDdsSpacingLocalX025,
28881
+ color: Colors$a.DdsColorNeutralsGray9
28882
+ }, FontPackages$b.supportingStyle_inputtext_01.base), {
28883
+ fontWeight: 'bold'
28884
+ });
28885
+
28886
+ var multiValueRemoveBase = {
28887
+ padding: "" + Spacing$e.SizesDdsSpacingLocalX025,
28888
+ color: Colors$a.DdsColorNeutralsGray9
28889
+ };
28890
+ var multiValueRemoveHoverBase = {
28891
+ color: Colors$a.DdsColorNeutralsWhite,
28892
+ backgroundColor: Colors$a.DdsColorInteractiveBase
28893
+ };
28894
+ var multiValueRemoveIconBase = {
28895
+ height: IconSizes.DdsIconsizeSmall,
28896
+ width: IconSizes.DdsIconsizeSmall
28897
+ };
28436
28898
  var containerDisabledBase = {
28437
28899
  backgroundColor: Colors$a.DdsColorNeutralsGray1,
28438
28900
  borderColor: Colors$a.DdsColorNeutralsGray5
@@ -28446,12 +28908,6 @@ var selectTokens = {
28446
28908
  container: {
28447
28909
  base: containerBase$2,
28448
28910
  defaultWidth: defaultWidth$1,
28449
- withLabel: {
28450
- base: containerWithLabelBase
28451
- },
28452
- noLabel: {
28453
- base: containerNoLabelBase
28454
- },
28455
28911
  hover: {
28456
28912
  base: containerHoverBase
28457
28913
  },
@@ -28487,6 +28943,11 @@ var selectTokens = {
28487
28943
  base: inputBase$1,
28488
28944
  noLabel: {
28489
28945
  base: inputNoLabelBase
28946
+ },
28947
+ isMulti: {
28948
+ noLabel: {
28949
+ base: inputIsMultiNoLabelBase
28950
+ }
28490
28951
  }
28491
28952
  },
28492
28953
  placeholder: {
@@ -28509,6 +28970,60 @@ var selectTokens = {
28509
28970
  }
28510
28971
  }
28511
28972
  },
28973
+ valueContainer: {
28974
+ withLabel: {
28975
+ base: valueContainerWithLabelBase
28976
+ },
28977
+ noLabel: {
28978
+ base: valueContainerNoLabelBase
28979
+ },
28980
+ isMulti: {
28981
+ base: valueContainerIsMultiBase,
28982
+ withLabel: {
28983
+ base: valueContainerIsMultiWithLabelBase
28984
+ },
28985
+ noLabel: {
28986
+ base: valueContainerIsMultiNoLabelBase
28987
+ }
28988
+ }
28989
+ },
28990
+ multiValue: {
28991
+ base: multiValueBase,
28992
+ enabled: {
28993
+ base: multiValueEnabledBase
28994
+ },
28995
+ disabled: {
28996
+ base: multiValueDisabledBase
28997
+ }
28998
+ },
28999
+ multiValueLabel: {
29000
+ base: multiValueLabelBase
29001
+ },
29002
+ multiValueRemove: {
29003
+ base: multiValueRemoveBase,
29004
+ hover: {
29005
+ base: multiValueRemoveHoverBase
29006
+ },
29007
+ icon: {
29008
+ base: multiValueRemoveIconBase
29009
+ }
29010
+ },
29011
+ indicatorsContainer: {
29012
+ withLabel: {
29013
+ base: indicatorsContainerWithLabelBase
29014
+ },
29015
+ noLabel: {
29016
+ base: indicatorsContainerNoLabelBase
29017
+ },
29018
+ isMulti: {
29019
+ withLabel: {
29020
+ base: indicatorsContainerIsMultiWithLabelBase
29021
+ },
29022
+ noLabel: {
29023
+ base: indicatorsContainerIsMultiNoLabelBase
29024
+ }
29025
+ }
29026
+ },
28512
29027
  dropdownIndicator: {
28513
29028
  base: dropdownIndicatorBase,
28514
29029
  hover: {
@@ -28526,6 +29041,9 @@ var selectTokens = {
28526
29041
  hover: {
28527
29042
  base: clearIndicatorHoverBase
28528
29043
  }
29044
+ },
29045
+ loadingIndicator: {
29046
+ base: loadingIndicatorBase
28529
29047
  }
28530
29048
  };
28531
29049
 
@@ -28537,30 +29055,34 @@ var Label = styled(Typography).withConfig({
28537
29055
  var Container$5 = styled.div.withConfig({
28538
29056
  displayName: "Selectstyles__Container",
28539
29057
  componentId: "sc-19jkd5s-1"
28540
- })(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n transition: 0.2s;\n position: relative;\n ", "\n ", "\n *::selection {\n ", "\n }\n ", "\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n ", "\n\n .", "__menu-list {\n ", "\n }\n &:hover\n .", "__dropdown-indicator,\n &:focus-within\n .", "__dropdown-indicator {\n ", "\n }\n\n ", "\n ", "\n"], ["\n transition: 0.2s;\n position: relative;\n ", "\n ", "\n *::selection {\n ", "\n }\n ", "\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n ", "\n\n .", "__menu-list {\n ", "\n }\n &:hover\n .", "__dropdown-indicator,\n &:focus-within\n .", "__dropdown-indicator {\n ", "\n }\n\n ", "\n ", "\n"])), selectTokens.container.base, scrollbarStyling, typographyTokens.selection.base, function (_a) {
28541
- var label = _a.label;
28542
- return label ? Ae(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), selectTokens.container.withLabel.base) : Ae(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n ", "\n .", "__control {\n ", "\n }\n "], ["\n ", "\n .", "__control {\n ", "\n }\n "])), selectTokens.container.noLabel.base, prefix, selectTokens.input.noLabel.base);
29058
+ })(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n transition: 0.2s;\n position: relative;\n ", "\n ", "\n *::selection {\n ", "\n }\n ", "\n\n ", "\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n ", "\n\n .", "__menu-list {\n ", "\n }\n &:hover\n .", "__dropdown-indicator,\n &:focus-within\n .", "__dropdown-indicator {\n ", "\n }\n\n ", "\n ", "\n"], ["\n transition: 0.2s;\n position: relative;\n ", "\n ", "\n *::selection {\n ", "\n }\n ", "\n\n ", "\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n ", "\n\n .", "__menu-list {\n ", "\n }\n &:hover\n .", "__dropdown-indicator,\n &:focus-within\n .", "__dropdown-indicator {\n ", "\n }\n\n ", "\n ", "\n"])), selectTokens.container.base, scrollbarStyling, typographyTokens.selection.base, function (_a) {
29059
+ var isMulti = _a.isMulti;
29060
+ return isMulti && Ae(templateObject_2$i || (templateObject_2$i = __makeTemplateObject([""], [""])));
29061
+ }, function (_a) {
29062
+ var hasLabel = _a.hasLabel,
29063
+ isMulti = _a.isMulti;
29064
+ return isMulti && hasLabel ? Ae(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.valueContainer.isMulti.withLabel.base, prefix, selectTokens.indicatorsContainer.isMulti.withLabel.base) : isMulti && !hasLabel ? Ae(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.input.isMulti.noLabel.base, prefix, selectTokens.valueContainer.isMulti.noLabel.base, prefix, selectTokens.indicatorsContainer.isMulti.noLabel.base) : hasLabel ? Ae(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.valueContainer.withLabel.base, prefix, selectTokens.indicatorsContainer.withLabel.base) : Ae(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.input.noLabel.base, prefix, selectTokens.valueContainer.noLabel.base, prefix, selectTokens.indicatorsContainer.noLabel.base);
28543
29065
  }, selectTokens.container.hover.base, selectTokens.container.hover.base.borderColor, Label, selectTokens.label.hover.base, selectTokens.container.focus.base, selectTokens.container.focus.base.borderColor, Label, selectTokens.label.focus.base, function (_a) {
28544
29066
  var errorMessage = _a.errorMessage;
28545
- return errorMessage && Ae(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n ", "\n box-shadow: 0 0 0 1px ", ";\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n "], ["\n ", "\n box-shadow: 0 0 0 1px ", ";\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n "])), selectTokens.container.danger.base, selectTokens.container.danger.base.borderColor, selectTokens.container.danger.hover.base, selectTokens.container.danger.hover.base.borderColor, selectTokens.container.danger.focus.base, selectTokens.container.danger.focus.base.borderColor);
29067
+ return errorMessage && Ae(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n ", "\n box-shadow: 0 0 0 1px ", ";\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n "], ["\n ", "\n box-shadow: 0 0 0 1px ", ";\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n "])), selectTokens.container.danger.base, selectTokens.container.danger.base.borderColor, selectTokens.container.danger.hover.base, selectTokens.container.danger.hover.base.borderColor, selectTokens.container.danger.focus.base, selectTokens.container.danger.focus.base.borderColor);
28546
29068
  }, prefix, scrollbarStyling, prefix, prefix, selectTokens.dropdownIndicator.hover.base, function (_a) {
28547
29069
  var isDisabled = _a.isDisabled;
28548
- return isDisabled && Ae(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["\n cursor: not-allowed;\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n &:hover .", "__dropdown-indicator {\n ", "\n }\n }\n "], ["\n cursor: not-allowed;\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n &:hover .", "__dropdown-indicator {\n ", "\n }\n }\n "])), selectTokens.container.disabled.base, selectTokens.container.disabled.base, Label, selectTokens.label.base, prefix, selectTokens.dropdownIndicator.base);
29070
+ return isDisabled && Ae(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n cursor: not-allowed;\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n &:hover .", "__dropdown-indicator {\n ", "\n }\n }\n "], ["\n cursor: not-allowed;\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n &:hover .", "__dropdown-indicator {\n ", "\n }\n }\n "])), selectTokens.container.disabled.base, selectTokens.container.disabled.base, Label, selectTokens.label.base, prefix, selectTokens.dropdownIndicator.base);
28549
29071
  }, function (_a) {
28550
29072
  var readOnly = _a.readOnly;
28551
- return readOnly && Ae(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n }\n .", "__dropdown-indicator, &:hover .", "__dropdown-indicator {\n ", "\n }\n "], ["\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n }\n .", "__dropdown-indicator, &:hover .", "__dropdown-indicator {\n ", "\n }\n "])), selectTokens.container.readOnly.base, selectTokens.container.readOnly.base, Label, selectTokens.label.base, prefix, prefix, selectTokens.dropdownIndicator.readOnly.base);
29073
+ return readOnly && Ae(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n }\n .", "__dropdown-indicator, &:hover .", "__dropdown-indicator {\n ", "\n }\n "], ["\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n }\n .", "__dropdown-indicator, &:hover .", "__dropdown-indicator {\n ", "\n }\n "])), selectTokens.container.readOnly.base, selectTokens.container.readOnly.base, Label, selectTokens.label.base, prefix, prefix, selectTokens.dropdownIndicator.readOnly.base);
28552
29074
  });
28553
29075
  var Wrapper$2 = styled.div.withConfig({
28554
29076
  displayName: "Selectstyles__Wrapper",
28555
29077
  componentId: "sc-19jkd5s-2"
28556
- })(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n margin: 0;\n width: ", ";\n"], ["\n margin: 0;\n width: ", ";\n"])), function (_a) {
29078
+ })(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n margin: 0;\n width: ", ";\n"], ["\n margin: 0;\n width: ", ";\n"])), function (_a) {
28557
29079
  var width = _a.width;
28558
29080
  return width;
28559
29081
  });
28560
29082
  var SelectedIconWrapper = styled(IconWrapper$1).withConfig({
28561
29083
  displayName: "Selectstyles__SelectedIconWrapper",
28562
29084
  componentId: "sc-19jkd5s-3"
28563
- })(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n margin: ", ";\n"], ["\n margin: ", ";\n"])), selectTokens.option.selected.icon.margin);
29085
+ })(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n margin: ", ";\n"], ["\n margin: ", ";\n"])), selectTokens.option.selected.icon.margin);
28564
29086
  var CustomStyles = {
28565
29087
  placeholder: function placeholder() {
28566
29088
  return __assign({}, selectTokens.placeholder.base);
@@ -28584,8 +29106,9 @@ var CustomStyles = {
28584
29106
  flexWrap: 'wrap'
28585
29107
  }, selectTokens.input.base);
28586
29108
  },
28587
- valueContainer: function valueContainer(provided) {
28588
- return __assign(__assign({}, provided), {
29109
+ valueContainer: function valueContainer(provided, state) {
29110
+ var isMultiStyles = state.selectProps.isMulti ? __assign({}, selectTokens.valueContainer.isMulti.base) : {};
29111
+ return __assign(__assign(__assign({}, provided), isMultiStyles), {
28589
29112
  padding: 0
28590
29113
  });
28591
29114
  },
@@ -28594,16 +29117,34 @@ var CustomStyles = {
28594
29117
  margin: 0
28595
29118
  });
28596
29119
  },
28597
- menu: function menu() {
28598
- return __assign({
28599
- position: 'relative',
29120
+ multiValue: function multiValue(provided, state) {
29121
+ var variantStyles = state.selectProps.isDisabled ? __assign({}, selectTokens.multiValue.disabled.base) : __assign({}, selectTokens.multiValue.enabled.base);
29122
+ return __assign(__assign(__assign({}, provided), selectTokens.multiValue.base), variantStyles);
29123
+ },
29124
+ multiValueLabel: function multiValueLabel(provided) {
29125
+ return __assign(__assign({}, provided), selectTokens.multiValueLabel.base);
29126
+ },
29127
+ multiValueRemove: function multiValueRemove(provided, state) {
29128
+ return state.selectProps.isDisabled ? {
29129
+ display: 'none'
29130
+ } : __assign(__assign(__assign(__assign({}, provided), {
29131
+ transition: '0.2s'
29132
+ }), selectTokens.multiValueRemove.base), {
29133
+ svg: __assign({}, selectTokens.multiValueRemove.icon.base),
29134
+ '&:hover': __assign({}, selectTokens.multiValueRemove.hover.base),
29135
+ '&:focus': {
29136
+ backgroundColor: 'blue'
29137
+ }
29138
+ });
29139
+ },
29140
+ menu: function menu(provided) {
29141
+ return __assign(__assign(__assign({}, provided), {
28600
29142
  zIndex: 3,
28601
29143
  transition: '0.2s',
28602
29144
  width: 'calc(100% + 2px)',
28603
29145
  transform: 'translate(-1px)',
28604
- top: selectTokens.optionsList.spaceTop,
28605
29146
  boxShadow: "0 0 0 1px " + selectTokens.optionsList.base.borderColor
28606
- }, selectTokens.optionsList.base);
29147
+ }), selectTokens.optionsList.base);
28607
29148
  },
28608
29149
  option: function option(provided, state) {
28609
29150
  var selectedBase = state.isSelected ? __assign({}, selectTokens.option.selected.base) : {};
@@ -28619,6 +29160,9 @@ var CustomStyles = {
28619
29160
  noOptionsMessage: function noOptionsMessage() {
28620
29161
  return __assign({}, selectTokens.noOptionsMessage.base);
28621
29162
  },
29163
+ indicatorsContainer: function indicatorsContainer(provided) {
29164
+ return __assign({}, provided);
29165
+ },
28622
29166
  clearIndicator: function clearIndicator() {
28623
29167
  return __assign(__assign({
28624
29168
  display: 'flex'
@@ -28626,11 +29170,14 @@ var CustomStyles = {
28626
29170
  '&:hover': __assign({}, selectTokens.clearIndicator.hover.base)
28627
29171
  });
28628
29172
  },
29173
+ loadingIndicator: function loadingIndicator(provided) {
29174
+ return __assign(__assign({}, provided), selectTokens.loadingIndicator.base);
29175
+ },
28629
29176
  input: function input() {
28630
29177
  return {};
28631
29178
  }
28632
29179
  };
28633
- var templateObject_1$p, templateObject_2$i, templateObject_3$c, templateObject_4$a, templateObject_5$7, templateObject_6$6, templateObject_7$4, templateObject_8$1, templateObject_9$1;
29180
+ var templateObject_1$p, templateObject_2$i, templateObject_3$c, templateObject_4$a, templateObject_5$7, templateObject_6$6, templateObject_7$4, templateObject_8$1, templateObject_9$1, templateObject_10, templateObject_11, templateObject_12;
28634
29181
 
28635
29182
  var DdsOption = components.Option,
28636
29183
  NoOptionsMessage = components.NoOptionsMessage;
@@ -28668,10 +29215,12 @@ var Select = /*#__PURE__*/forwardRef(function (_a, ref) {
28668
29215
  required = _a.required,
28669
29216
  readOnly = _a.readOnly,
28670
29217
  options = _a.options,
29218
+ isMulti = _a.isMulti,
28671
29219
  value = _a.value,
28672
29220
  defaultValue = _a.defaultValue,
28673
29221
  _b = _a.width,
28674
29222
  width = _b === void 0 ? selectTokens.container.defaultWidth : _b,
29223
+ closeMenuOnSelect = _a.closeMenuOnSelect,
28675
29224
  className = _a.className,
28676
29225
  style = _a.style,
28677
29226
  isDisabled = _a.isDisabled,
@@ -28679,28 +29228,33 @@ var Select = /*#__PURE__*/forwardRef(function (_a, ref) {
28679
29228
  isClearable = _c === void 0 ? true : _c,
28680
29229
  _d = _a.placeholder,
28681
29230
  placeholder = _d === void 0 ? '-- Velg fra listen --' : _d,
28682
- rest = __rest(_a, ["id", "label", "errorMessage", "tip", "required", "readOnly", "options", "value", "defaultValue", "width", "className", "style", "isDisabled", "isClearable", "placeholder"]);
29231
+ rest = __rest(_a, ["id", "label", "errorMessage", "tip", "required", "readOnly", "options", "isMulti", "value", "defaultValue", "width", "closeMenuOnSelect", "className", "style", "isDisabled", "isClearable", "placeholder"]);
28683
29232
 
28684
29233
  var uniqueId = useState(id !== null && id !== void 0 ? id : "select-" + nextUniqueId$2++)[0];
29234
+ var hasLabel = !!label;
28685
29235
  var wrapperProps = {
28686
29236
  width: width
28687
29237
  };
28688
29238
  var containerProps = {
28689
29239
  errorMessage: errorMessage,
28690
29240
  isDisabled: isDisabled,
29241
+ isMulti: isMulti,
28691
29242
  readOnly: readOnly,
28692
- label: label,
29243
+ hasLabel: hasLabel,
28693
29244
  className: className,
28694
29245
  style: style
28695
29246
  };
28696
29247
 
28697
29248
  var reactSelectProps = __assign({
29249
+ ref: ref,
28698
29250
  options: options,
28699
29251
  value: value,
28700
29252
  defaultValue: defaultValue,
28701
29253
  isDisabled: isDisabled || readOnly,
28702
29254
  isClearable: isClearable,
28703
29255
  placeholder: placeholder,
29256
+ closeMenuOnSelect: closeMenuOnSelect ? closeMenuOnSelect : isMulti ? false : true,
29257
+ isMulti: isMulti,
28704
29258
  inputId: uniqueId,
28705
29259
  name: uniqueId,
28706
29260
  classNamePrefix: prefix,
@@ -28723,9 +29277,7 @@ var Select = /*#__PURE__*/forwardRef(function (_a, ref) {
28723
29277
  typographyType: "supportingStyleLabel01"
28724
29278
  }, {
28725
29279
  children: [label, " ", required && jsxRuntime.jsx(RequiredMarker, {}, void 0)]
28726
- }), void 0), jsxRuntime.jsx(ReactSelect, __assign({}, reactSelectProps, {
28727
- ref: ref
28728
- }), void 0)]
29280
+ }), void 0), jsxRuntime.jsx(ReactSelect, __assign({}, reactSelectProps), void 0)]
28729
29281
  }), void 0), errorMessage && jsxRuntime.jsx(InputMessage, {
28730
29282
  messageType: "error",
28731
29283
  message: errorMessage
@@ -28816,13 +29368,13 @@ var InfoOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(InfoOutlined);
28816
29368
 
28817
29369
  var Colors$9 = ddsBaseTokens.colors,
28818
29370
  Spacing$d = ddsBaseTokens.spacing,
28819
- FontPackages$9 = ddsBaseTokens.fontPackages;
29371
+ FontPackages$a = ddsBaseTokens.fontPackages;
28820
29372
 
28821
29373
  var containerBase$1 = __assign(__assign({
28822
29374
  borderBottom: '2px solid',
28823
29375
  padding: "0 " + Spacing$d.SizesDdsSpacingLocalX1,
28824
29376
  width: '100%'
28825
- }, FontPackages$9.body_sans_02.base), {
29377
+ }, FontPackages$a.body_sans_02.base), {
28826
29378
  color: Colors$9.DdsColorNeutralsGray8
28827
29379
  });
28828
29380
 
@@ -29019,7 +29571,7 @@ var EmojiObjectsOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(EmojiObjects
29019
29571
 
29020
29572
  var Colors$8 = ddsBaseTokens.colors,
29021
29573
  Spacing$c = ddsBaseTokens.spacing,
29022
- FontPackages$8 = ddsBaseTokens.fontPackages,
29574
+ FontPackages$9 = ddsBaseTokens.fontPackages,
29023
29575
  BorderRadius = ddsBaseTokens.borderRadius,
29024
29576
  Border$3 = ddsBaseTokens.border,
29025
29577
  OuterShadow = ddsBaseTokens.outerShadow;
@@ -29029,7 +29581,7 @@ var containerBase = __assign(__assign({
29029
29581
  borderRadius: BorderRadius.RadiiDdsBorderRadius1Radius,
29030
29582
  border: Border$3.BordersDdsBorderStyle1StrokeWeight + " solid",
29031
29583
  padding: "0 " + Spacing$c.SizesDdsSpacingLocalX1
29032
- }, FontPackages$8.body_sans_02.base), {
29584
+ }, FontPackages$9.body_sans_02.base), {
29033
29585
  color: Colors$8.DdsColorNeutralsGray8
29034
29586
  });
29035
29587
 
@@ -29295,23 +29847,23 @@ exports.default = _default;
29295
29847
  var SearchOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(SearchOutlined);
29296
29848
 
29297
29849
  var Spacing$b = ddsBaseTokens.spacing,
29298
- FontPackages$7 = ddsBaseTokens.fontPackages;
29850
+ FontPackages$8 = ddsBaseTokens.fontPackages;
29299
29851
  var textDefault$5 = ddsReferenceTokens.textDefault;
29300
29852
  var inputBase = {
29301
29853
  paddingRight: Spacing$b.SizesDdsSpacingLocalX05
29302
29854
  };
29303
29855
 
29304
- var smallBase$1 = __assign(__assign({}, FontPackages$7.supportingStyle_inputtext_01.base), {
29856
+ var smallBase$1 = __assign(__assign({}, FontPackages$8.supportingStyle_inputtext_01.base), {
29305
29857
  paddingTop: Spacing$b.SizesDdsSpacingLocalX05,
29306
29858
  paddingBottom: Spacing$b.SizesDdsSpacingLocalX05
29307
29859
  });
29308
29860
 
29309
- var mediumBase = __assign(__assign({}, FontPackages$7.supportingStyle_inputtext_02.base), {
29861
+ var mediumBase = __assign(__assign({}, FontPackages$8.supportingStyle_inputtext_02.base), {
29310
29862
  paddingTop: Spacing$b.SizesDdsSpacingLocalX075,
29311
29863
  paddingBottom: Spacing$b.SizesDdsSpacingLocalX075
29312
29864
  });
29313
29865
 
29314
- var largeBase = __assign(__assign({}, FontPackages$7.supportingStyle_inputtext_03.base), {
29866
+ var largeBase = __assign(__assign({}, FontPackages$8.supportingStyle_inputtext_03.base), {
29315
29867
  paddingTop: Spacing$b.SizesDdsSpacingLocalX1,
29316
29868
  paddingBottom: Spacing$b.SizesDdsSpacingLocalX1
29317
29869
  });
@@ -29532,17 +30084,17 @@ var Head = /*#__PURE__*/forwardRef(function (_a, ref) {
29532
30084
  var templateObject_1$j;
29533
30085
 
29534
30086
  var Colors$6 = ddsBaseTokens.colors,
29535
- FontPackages$6 = ddsBaseTokens.fontPackages,
30087
+ FontPackages$7 = ddsBaseTokens.fontPackages,
29536
30088
  Border$2 = ddsBaseTokens.border;
29537
30089
  var textDefault$4 = ddsReferenceTokens.textDefault;
29538
30090
 
29539
30091
  var bodyRowBase = __assign({
29540
30092
  color: textDefault$4.textColor
29541
- }, FontPackages$6.body_sans_02.base);
30093
+ }, FontPackages$7.body_sans_02.base);
29542
30094
 
29543
30095
  var headRowBase = __assign(__assign({
29544
30096
  color: textDefault$4.textColor
29545
- }, FontPackages$6.body_sans_02.base), {
30097
+ }, FontPackages$7.body_sans_02.base), {
29546
30098
  fontWeight: 600,
29547
30099
  textAlign: 'left'
29548
30100
  });
@@ -29560,7 +30112,7 @@ var bodyHoverBase = {
29560
30112
  backgroundColor: Colors$6.DdsColorSecondaryLightest
29561
30113
  };
29562
30114
 
29563
- var bodySumBase = __assign(__assign({}, FontPackages$6.body_sans_02.base), {
30115
+ var bodySumBase = __assign(__assign({}, FontPackages$7.body_sans_02.base), {
29564
30116
  fontWeight: 600,
29565
30117
  borderTop: Border$2.BordersDdsBorderStyle1StrokeWeight + " solid " + Colors$6.DdsColorNeutralsGray4,
29566
30118
  borderBottom: Border$2.BordersDdsBorderStyle1StrokeWeight + " solid " + Colors$6.DdsColorNeutralsGray4,
@@ -29951,13 +30503,20 @@ exports.default = _default;
29951
30503
  var ArrowBackOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(ArrowBackOutlined);
29952
30504
 
29953
30505
  var Colors$5 = ddsBaseTokens.colors,
29954
- Spacing$9 = ddsBaseTokens.spacing;
30506
+ Spacing$9 = ddsBaseTokens.spacing,
30507
+ FontPackages$6 = ddsBaseTokens.fontPackages;
29955
30508
  var iconBase$1 = {
29956
30509
  color: Colors$5.DdsColorInteractiveBase,
29957
30510
  marginLeft: Spacing$9.SizesDdsSpacingLocalX05,
29958
30511
  marginRight: Spacing$9.SizesDdsSpacingLocalX05
29959
30512
  };
30513
+
30514
+ var breadcrumbBase = __assign({}, FontPackages$6.body_sans_02.base);
30515
+
29960
30516
  var breadcrumbTokens = {
30517
+ breadcrumb: {
30518
+ base: breadcrumbBase
30519
+ },
29961
30520
  icon: {
29962
30521
  base: iconBase$1,
29963
30522
  size: 'small'
@@ -29971,7 +30530,7 @@ var List$2 = styled.ol.withConfig({
29971
30530
  var ListItem$2 = styled.li.withConfig({
29972
30531
  displayName: "Breadcrumbs__ListItem",
29973
30532
  componentId: "sc-xdj21o-1"
29974
- })(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n"], ["\n align-items: center;\n display: flex;\n"])));
30533
+ })(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n ", "\n"], ["\n align-items: center;\n display: flex;\n ", "\n"])), breadcrumbTokens.breadcrumb.base);
29975
30534
  var BreadcrumbIcon = styled(ChevronRightOutlinedIcon).withConfig({
29976
30535
  displayName: "Breadcrumbs__BreadcrumbIcon",
29977
30536
  componentId: "sc-xdj21o-2"
@@ -30482,7 +31041,7 @@ var StyledList = styled.ul.withConfig({
30482
31041
  return typographyType && Ae(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n ", "\n ul,\n ol {\n ", "\n }\n "], ["\n ", "\n ul,\n ol {\n ", "\n }\n "])), listTokens.sizes[typographyType], listTokens.sizes[typographyType]);
30483
31042
  }, function (_a) {
30484
31043
  var listType = _a.listType;
30485
- return listType === 'unordered' ? Ae(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n padding-left: ", ";\n list-style: none;\n li {\n position: relative;\n padding-left: ", ";\n &:before {\n content: '';\n display: inline-block;\n height: 1em;\n width: 1em;\n position: absolute;\n top: ", ";\n left: 0;\n background-size: contain;\n background-repeat: no-repeat;\n background-image: url(", ");\n }\n ul > li:before {\n background-image: url(", ");\n }\n ul > li > ul > li:before {\n background-image: url(", ");\n }\n }\n "], ["\n padding-left: ", ";\n list-style: none;\n li {\n position: relative;\n padding-left: ", ";\n &:before {\n content: '';\n display: inline-block;\n height: 1em;\n width: 1em;\n position: absolute;\n top: ", ";\n left: 0;\n background-size: contain;\n background-repeat: no-repeat;\n background-image: url(", ");\n }\n ul > li:before {\n background-image: url(", ");\n }\n ul > li > ul > li:before {\n background-image: url(", ");\n }\n }\n "])), "calc(" + ulPaddingLeft + ")", "calc(" + liTextPadding + ")", "calc((" + listItemTokens.base.lineHeight + " / 2) - 0.5em )", img$2, img$1, img) : Ae(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n padding-left: ", ";\n & > li > ol {\n list-style-type: lower-alpha;\n }\n & > li > ol > li > ol {\n list-style-type: lower-roman;\n }\n "], ["\n padding-left: ", ";\n & > li > ol {\n list-style-type: lower-alpha;\n }\n & > li > ol > li > ol {\n list-style-type: lower-roman;\n }\n "])), listTokens.spaceLeft);
31044
+ return listType === 'unordered' ? Ae(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n padding-left: ", ";\n list-style: none;\n li {\n position: relative;\n padding-left: ", ";\n &:before {\n content: '';\n display: inline-block;\n height: 1em;\n width: 1em;\n position: absolute;\n top: ", ";\n left: 0;\n background-size: contain;\n background-repeat: no-repeat;\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li > ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n }\n "], ["\n padding-left: ", ";\n list-style: none;\n li {\n position: relative;\n padding-left: ", ";\n &:before {\n content: '';\n display: inline-block;\n height: 1em;\n width: 1em;\n position: absolute;\n top: ", ";\n left: 0;\n background-size: contain;\n background-repeat: no-repeat;\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li > ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n }\n "])), "calc(" + ulPaddingLeft + ")", "calc(" + liTextPadding + ")", "calc((" + listItemTokens.base.lineHeight + " / 2) - 0.5em )", img$2, img$1, img) : Ae(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n padding-left: ", ";\n & > li > ol {\n list-style-type: lower-alpha;\n }\n & > li > ol > li > ol {\n list-style-type: lower-roman;\n }\n "], ["\n padding-left: ", ";\n & > li > ol {\n list-style-type: lower-alpha;\n }\n & > li > ol > li > ol {\n list-style-type: lower-roman;\n }\n "])), listTokens.spaceLeft);
30486
31045
  });
30487
31046
  var List = /*#__PURE__*/forwardRef(function (_a, ref) {
30488
31047
  var _b = _a.listType,