@norges-domstoler/dds-components 0.0.11 → 0.0.15

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.js CHANGED
@@ -8,29 +8,367 @@ var ReactDOM = require('react-dom');
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
9
 
10
10
  function _interopNamespace(e) {
11
- if (e && e.__esModule) return e;
12
- var n = Object.create(null);
13
- if (e) {
14
- Object.keys(e).forEach(function (k) {
15
- if (k !== 'default') {
16
- var d = Object.getOwnPropertyDescriptor(e, k);
17
- Object.defineProperty(n, k, d.get ? d : {
18
- enumerable: true,
19
- get: function () {
20
- return e[k];
21
- }
22
- });
23
- }
24
- });
25
- }
26
- n['default'] = e;
27
- return Object.freeze(n);
11
+ if (e && e.__esModule) return e;
12
+ var n = Object.create(null);
13
+ if (e) {
14
+ Object.keys(e).forEach(function (k) {
15
+ if (k !== 'default') {
16
+ var d = Object.getOwnPropertyDescriptor(e, k);
17
+ Object.defineProperty(n, k, d.get ? d : {
18
+ enumerable: true,
19
+ get: function () {
20
+ return e[k];
21
+ }
22
+ });
23
+ }
24
+ });
25
+ }
26
+ n['default'] = e;
27
+ return Object.freeze(n);
28
28
  }
29
29
 
30
30
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
31
31
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
32
32
  var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
33
33
 
34
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
35
+
36
+ function getDefaultExportFromCjs (x) {
37
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
38
+ }
39
+
40
+ function getAugmentedNamespace(n) {
41
+ if (n.__esModule) return n;
42
+ var a = Object.defineProperty({}, '__esModule', {value: true});
43
+ Object.keys(n).forEach(function (k) {
44
+ var d = Object.getOwnPropertyDescriptor(n, k);
45
+ Object.defineProperty(a, k, d.get ? d : {
46
+ enumerable: true,
47
+ get: function () {
48
+ return n[k];
49
+ }
50
+ });
51
+ });
52
+ return a;
53
+ }
54
+
55
+ function createCommonjsModule(fn) {
56
+ var module = { exports: {} };
57
+ return fn(module, module.exports), module.exports;
58
+ }
59
+
60
+ createCommonjsModule(function (module, exports) {
61
+ (function (global, factory) {
62
+ factory() ;
63
+ }(commonjsGlobal, (function () {
64
+ /**
65
+ * Applies the :focus-visible polyfill at the given scope.
66
+ * A scope in this case is either the top-level Document or a Shadow Root.
67
+ *
68
+ * @param {(Document|ShadowRoot)} scope
69
+ * @see https://github.com/WICG/focus-visible
70
+ */
71
+ function applyFocusVisiblePolyfill(scope) {
72
+ var hadKeyboardEvent = true;
73
+ var hadFocusVisibleRecently = false;
74
+ var hadFocusVisibleRecentlyTimeout = null;
75
+
76
+ var inputTypesAllowlist = {
77
+ text: true,
78
+ search: true,
79
+ url: true,
80
+ tel: true,
81
+ email: true,
82
+ password: true,
83
+ number: true,
84
+ date: true,
85
+ month: true,
86
+ week: true,
87
+ time: true,
88
+ datetime: true,
89
+ 'datetime-local': true
90
+ };
91
+
92
+ /**
93
+ * Helper function for legacy browsers and iframes which sometimes focus
94
+ * elements like document, body, and non-interactive SVG.
95
+ * @param {Element} el
96
+ */
97
+ function isValidFocusTarget(el) {
98
+ if (
99
+ el &&
100
+ el !== document &&
101
+ el.nodeName !== 'HTML' &&
102
+ el.nodeName !== 'BODY' &&
103
+ 'classList' in el &&
104
+ 'contains' in el.classList
105
+ ) {
106
+ return true;
107
+ }
108
+ return false;
109
+ }
110
+
111
+ /**
112
+ * Computes whether the given element should automatically trigger the
113
+ * `focus-visible` class being added, i.e. whether it should always match
114
+ * `:focus-visible` when focused.
115
+ * @param {Element} el
116
+ * @return {boolean}
117
+ */
118
+ function focusTriggersKeyboardModality(el) {
119
+ var type = el.type;
120
+ var tagName = el.tagName;
121
+
122
+ if (tagName === 'INPUT' && inputTypesAllowlist[type] && !el.readOnly) {
123
+ return true;
124
+ }
125
+
126
+ if (tagName === 'TEXTAREA' && !el.readOnly) {
127
+ return true;
128
+ }
129
+
130
+ if (el.isContentEditable) {
131
+ return true;
132
+ }
133
+
134
+ return false;
135
+ }
136
+
137
+ /**
138
+ * Add the `focus-visible` class to the given element if it was not added by
139
+ * the author.
140
+ * @param {Element} el
141
+ */
142
+ function addFocusVisibleClass(el) {
143
+ if (el.classList.contains('focus-visible')) {
144
+ return;
145
+ }
146
+ el.classList.add('focus-visible');
147
+ el.setAttribute('data-focus-visible-added', '');
148
+ }
149
+
150
+ /**
151
+ * Remove the `focus-visible` class from the given element if it was not
152
+ * originally added by the author.
153
+ * @param {Element} el
154
+ */
155
+ function removeFocusVisibleClass(el) {
156
+ if (!el.hasAttribute('data-focus-visible-added')) {
157
+ return;
158
+ }
159
+ el.classList.remove('focus-visible');
160
+ el.removeAttribute('data-focus-visible-added');
161
+ }
162
+
163
+ /**
164
+ * If the most recent user interaction was via the keyboard;
165
+ * and the key press did not include a meta, alt/option, or control key;
166
+ * then the modality is keyboard. Otherwise, the modality is not keyboard.
167
+ * Apply `focus-visible` to any current active element and keep track
168
+ * of our keyboard modality state with `hadKeyboardEvent`.
169
+ * @param {KeyboardEvent} e
170
+ */
171
+ function onKeyDown(e) {
172
+ if (e.metaKey || e.altKey || e.ctrlKey) {
173
+ return;
174
+ }
175
+
176
+ if (isValidFocusTarget(scope.activeElement)) {
177
+ addFocusVisibleClass(scope.activeElement);
178
+ }
179
+
180
+ hadKeyboardEvent = true;
181
+ }
182
+
183
+ /**
184
+ * If at any point a user clicks with a pointing device, ensure that we change
185
+ * the modality away from keyboard.
186
+ * This avoids the situation where a user presses a key on an already focused
187
+ * element, and then clicks on a different element, focusing it with a
188
+ * pointing device, while we still think we're in keyboard modality.
189
+ * @param {Event} e
190
+ */
191
+ function onPointerDown(e) {
192
+ hadKeyboardEvent = false;
193
+ }
194
+
195
+ /**
196
+ * On `focus`, add the `focus-visible` class to the target if:
197
+ * - the target received focus as a result of keyboard navigation, or
198
+ * - the event target is an element that will likely require interaction
199
+ * via the keyboard (e.g. a text box)
200
+ * @param {Event} e
201
+ */
202
+ function onFocus(e) {
203
+ // Prevent IE from focusing the document or HTML element.
204
+ if (!isValidFocusTarget(e.target)) {
205
+ return;
206
+ }
207
+
208
+ if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {
209
+ addFocusVisibleClass(e.target);
210
+ }
211
+ }
212
+
213
+ /**
214
+ * On `blur`, remove the `focus-visible` class from the target.
215
+ * @param {Event} e
216
+ */
217
+ function onBlur(e) {
218
+ if (!isValidFocusTarget(e.target)) {
219
+ return;
220
+ }
221
+
222
+ if (
223
+ e.target.classList.contains('focus-visible') ||
224
+ e.target.hasAttribute('data-focus-visible-added')
225
+ ) {
226
+ // To detect a tab/window switch, we look for a blur event followed
227
+ // rapidly by a visibility change.
228
+ // If we don't see a visibility change within 100ms, it's probably a
229
+ // regular focus change.
230
+ hadFocusVisibleRecently = true;
231
+ window.clearTimeout(hadFocusVisibleRecentlyTimeout);
232
+ hadFocusVisibleRecentlyTimeout = window.setTimeout(function() {
233
+ hadFocusVisibleRecently = false;
234
+ }, 100);
235
+ removeFocusVisibleClass(e.target);
236
+ }
237
+ }
238
+
239
+ /**
240
+ * If the user changes tabs, keep track of whether or not the previously
241
+ * focused element had .focus-visible.
242
+ * @param {Event} e
243
+ */
244
+ function onVisibilityChange(e) {
245
+ if (document.visibilityState === 'hidden') {
246
+ // If the tab becomes active again, the browser will handle calling focus
247
+ // on the element (Safari actually calls it twice).
248
+ // If this tab change caused a blur on an element with focus-visible,
249
+ // re-apply the class when the user switches back to the tab.
250
+ if (hadFocusVisibleRecently) {
251
+ hadKeyboardEvent = true;
252
+ }
253
+ addInitialPointerMoveListeners();
254
+ }
255
+ }
256
+
257
+ /**
258
+ * Add a group of listeners to detect usage of any pointing devices.
259
+ * These listeners will be added when the polyfill first loads, and anytime
260
+ * the window is blurred, so that they are active when the window regains
261
+ * focus.
262
+ */
263
+ function addInitialPointerMoveListeners() {
264
+ document.addEventListener('mousemove', onInitialPointerMove);
265
+ document.addEventListener('mousedown', onInitialPointerMove);
266
+ document.addEventListener('mouseup', onInitialPointerMove);
267
+ document.addEventListener('pointermove', onInitialPointerMove);
268
+ document.addEventListener('pointerdown', onInitialPointerMove);
269
+ document.addEventListener('pointerup', onInitialPointerMove);
270
+ document.addEventListener('touchmove', onInitialPointerMove);
271
+ document.addEventListener('touchstart', onInitialPointerMove);
272
+ document.addEventListener('touchend', onInitialPointerMove);
273
+ }
274
+
275
+ function removeInitialPointerMoveListeners() {
276
+ document.removeEventListener('mousemove', onInitialPointerMove);
277
+ document.removeEventListener('mousedown', onInitialPointerMove);
278
+ document.removeEventListener('mouseup', onInitialPointerMove);
279
+ document.removeEventListener('pointermove', onInitialPointerMove);
280
+ document.removeEventListener('pointerdown', onInitialPointerMove);
281
+ document.removeEventListener('pointerup', onInitialPointerMove);
282
+ document.removeEventListener('touchmove', onInitialPointerMove);
283
+ document.removeEventListener('touchstart', onInitialPointerMove);
284
+ document.removeEventListener('touchend', onInitialPointerMove);
285
+ }
286
+
287
+ /**
288
+ * When the polfyill first loads, assume the user is in keyboard modality.
289
+ * If any event is received from a pointing device (e.g. mouse, pointer,
290
+ * touch), turn off keyboard modality.
291
+ * This accounts for situations where focus enters the page from the URL bar.
292
+ * @param {Event} e
293
+ */
294
+ function onInitialPointerMove(e) {
295
+ // Work around a Safari quirk that fires a mousemove on <html> whenever the
296
+ // window blurs, even if you're tabbing out of the page. ¯\_(ツ)_/¯
297
+ if (e.target.nodeName && e.target.nodeName.toLowerCase() === 'html') {
298
+ return;
299
+ }
300
+
301
+ hadKeyboardEvent = false;
302
+ removeInitialPointerMoveListeners();
303
+ }
304
+
305
+ // For some kinds of state, we are interested in changes at the global scope
306
+ // only. For example, global pointer input, global key presses and global
307
+ // visibility change should affect the state at every scope:
308
+ document.addEventListener('keydown', onKeyDown, true);
309
+ document.addEventListener('mousedown', onPointerDown, true);
310
+ document.addEventListener('pointerdown', onPointerDown, true);
311
+ document.addEventListener('touchstart', onPointerDown, true);
312
+ document.addEventListener('visibilitychange', onVisibilityChange, true);
313
+
314
+ addInitialPointerMoveListeners();
315
+
316
+ // For focus and blur, we specifically care about state changes in the local
317
+ // scope. This is because focus / blur events that originate from within a
318
+ // shadow root are not re-dispatched from the host element if it was already
319
+ // the active element in its own scope:
320
+ scope.addEventListener('focus', onFocus, true);
321
+ scope.addEventListener('blur', onBlur, true);
322
+
323
+ // We detect that a node is a ShadowRoot by ensuring that it is a
324
+ // DocumentFragment and also has a host property. This check covers native
325
+ // implementation and polyfill implementation transparently. If we only cared
326
+ // about the native implementation, we could just check if the scope was
327
+ // an instance of a ShadowRoot.
328
+ if (scope.nodeType === Node.DOCUMENT_FRAGMENT_NODE && scope.host) {
329
+ // Since a ShadowRoot is a special kind of DocumentFragment, it does not
330
+ // have a root element to add a class to. So, we add this attribute to the
331
+ // host element instead:
332
+ scope.host.setAttribute('data-js-focus-visible', '');
333
+ } else if (scope.nodeType === Node.DOCUMENT_NODE) {
334
+ document.documentElement.classList.add('js-focus-visible');
335
+ document.documentElement.setAttribute('data-js-focus-visible', '');
336
+ }
337
+ }
338
+
339
+ // It is important to wrap all references to global window and document in
340
+ // these checks to support server-side rendering use cases
341
+ // @see https://github.com/WICG/focus-visible/issues/199
342
+ if (typeof window !== 'undefined' && typeof document !== 'undefined') {
343
+ // Make the polyfill helper globally available. This can be used as a signal
344
+ // to interested libraries that wish to coordinate with the polyfill for e.g.,
345
+ // applying the polyfill to a shadow root:
346
+ window.applyFocusVisiblePolyfill = applyFocusVisiblePolyfill;
347
+
348
+ // Notify interested libraries of the polyfill's presence, in case the
349
+ // polyfill was loaded lazily:
350
+ var event;
351
+
352
+ try {
353
+ event = new CustomEvent('focus-visible-polyfill-ready');
354
+ } catch (error) {
355
+ // IE11 does not support using CustomEvent as a constructor directly:
356
+ event = document.createEvent('CustomEvent');
357
+ event.initCustomEvent('focus-visible-polyfill-ready', false, false, {});
358
+ }
359
+
360
+ window.dispatchEvent(event);
361
+ }
362
+
363
+ if (typeof document !== 'undefined') {
364
+ // Apply the polyfill to the global document, so that no JavaScript
365
+ // coordination is required to use the polyfill in the top-level document:
366
+ applyFocusVisiblePolyfill(document);
367
+ }
368
+
369
+ })));
370
+ });
371
+
34
372
  /*! *****************************************************************************
35
373
  Copyright (c) Microsoft Corporation.
36
374
 
@@ -84,30 +422,6 @@ function __makeTemplateObject(cooked, raw) {
84
422
  return cooked;
85
423
  }
86
424
 
87
- function getDefaultExportFromCjs (x) {
88
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
89
- }
90
-
91
- function getAugmentedNamespace(n) {
92
- if (n.__esModule) return n;
93
- var a = Object.defineProperty({}, '__esModule', {value: true});
94
- Object.keys(n).forEach(function (k) {
95
- var d = Object.getOwnPropertyDescriptor(n, k);
96
- Object.defineProperty(a, k, d.get ? d : {
97
- enumerable: true,
98
- get: function () {
99
- return n[k];
100
- }
101
- });
102
- });
103
- return a;
104
- }
105
-
106
- function createCommonjsModule(fn) {
107
- var module = { exports: {} };
108
- return fn(module, module.exports), module.exports;
109
- }
110
-
111
425
  /*
112
426
  object-assign
113
427
  (c) Sindre Sorhus
@@ -11451,16 +11765,16 @@ var ddsBaseTokens = {
11451
11765
  fontPackages: fontPackages,
11452
11766
  };
11453
11767
 
11454
- var Colors$i = ddsBaseTokens.colors, FontPackages$g = ddsBaseTokens.fontPackages, BorderRadius$4 = ddsBaseTokens.borderRadius, Border$8 = ddsBaseTokens.border;
11768
+ var Colors$j = ddsBaseTokens.colors, FontPackages$g = ddsBaseTokens.fontPackages, BorderRadius$4 = ddsBaseTokens.borderRadius, Border$8 = ddsBaseTokens.border;
11455
11769
  var textDefault$8 = {
11456
- textColor: Colors$i.DdsColorNeutralsGray9,
11770
+ textColor: Colors$j.DdsColorNeutralsGray9,
11457
11771
  font: FontPackages$g.body_sans_02.base,
11458
11772
  };
11459
11773
  var focus$1 = {
11460
- colorDefault: Colors$i.DdsColorWarningDarker,
11774
+ colorDefault: Colors$j.DdsColorWarningDarker,
11461
11775
  outlineWidth: Border$8.BordersDdsBorderStyle1StrokeWeight,
11462
- color__TextInput: Colors$i.DdsColorInteractiveBase,
11463
- textColor__TextInput: Colors$i.DdsColorInteractiveDark,
11776
+ color__TextInput: Colors$j.DdsColorInteractiveBase,
11777
+ textColor__TextInput: Colors$j.DdsColorInteractiveDark,
11464
11778
  borderWidth__TextInput: Border$8.BordersDdsBorderStyle1StrokeWeightNumberPx * 2 + "px",
11465
11779
  };
11466
11780
  var ddsReferenceTokens = {
@@ -11470,11 +11784,11 @@ var ddsReferenceTokens = {
11470
11784
  input: {
11471
11785
  borderRadius: BorderRadius$4.RadiiDdsBorderRadius1Radius,
11472
11786
  borderWidth: Border$8.BordersDdsBorderStyle1StrokeWeight,
11473
- borderColor: Colors$i.DdsColorNeutralsGray5,
11787
+ borderColor: Colors$j.DdsColorNeutralsGray5,
11474
11788
  textColor: textDefault$8.textColor,
11475
11789
  font: FontPackages$g.supportingStyle_inputtext_02.base,
11476
11790
  hover: {
11477
- backgroundColor: Colors$i.DdsColorInteractiveLightest,
11791
+ backgroundColor: Colors$j.DdsColorInteractiveLightest,
11478
11792
  borderColor: focus$1.color__TextInput,
11479
11793
  borderWidth: focus$1.borderWidth__TextInput,
11480
11794
  },
@@ -11494,31 +11808,31 @@ var ddsReferenceTokens = {
11494
11808
  },
11495
11809
  };
11496
11810
 
11497
- var Colors$h = ddsBaseTokens.colors,
11811
+ var Colors$i = ddsBaseTokens.colors,
11498
11812
  FontPackages$f = ddsBaseTokens.fontPackages,
11499
- Spacing$n = ddsBaseTokens.spacing;
11813
+ Spacing$o = ddsBaseTokens.spacing;
11500
11814
  var textDefault$7 = ddsReferenceTokens.textDefault;
11501
11815
  var textColors = {
11502
- interactive: Colors$h.DdsColorInteractiveBase,
11503
- primary: Colors$h.DdsColorPrimaryBase,
11504
- danger: Colors$h.DdsColorDangerBase,
11505
- success: Colors$h.DdsColorSuccessBase,
11506
- warning: Colors$h.DdsColorWarningBase,
11816
+ interactive: Colors$i.DdsColorInteractiveBase,
11817
+ primary: Colors$i.DdsColorPrimaryBase,
11818
+ danger: Colors$i.DdsColorDangerBase,
11819
+ success: Colors$i.DdsColorSuccessBase,
11820
+ warning: Colors$i.DdsColorWarningBase,
11507
11821
  onLight: textDefault$7.textColor,
11508
- onDark: Colors$h.DdsColorNeutralsWhite,
11509
- gray1: Colors$h.DdsColorNeutralsGray1,
11510
- gray2: Colors$h.DdsColorNeutralsGray2,
11511
- gray3: Colors$h.DdsColorNeutralsGray3,
11512
- gray4: Colors$h.DdsColorNeutralsGray4,
11513
- gray5: Colors$h.DdsColorNeutralsGray5,
11514
- gray6: Colors$h.DdsColorNeutralsGray6,
11515
- gray7: Colors$h.DdsColorNeutralsGray7,
11516
- gray8: Colors$h.DdsColorNeutralsGray8,
11517
- gray9: Colors$h.DdsColorNeutralsGray9
11822
+ onDark: Colors$i.DdsColorNeutralsWhite,
11823
+ gray1: Colors$i.DdsColorNeutralsGray1,
11824
+ gray2: Colors$i.DdsColorNeutralsGray2,
11825
+ gray3: Colors$i.DdsColorNeutralsGray3,
11826
+ gray4: Colors$i.DdsColorNeutralsGray4,
11827
+ gray5: Colors$i.DdsColorNeutralsGray5,
11828
+ gray6: Colors$i.DdsColorNeutralsGray6,
11829
+ gray7: Colors$i.DdsColorNeutralsGray7,
11830
+ gray8: Colors$i.DdsColorNeutralsGray8,
11831
+ gray9: Colors$i.DdsColorNeutralsGray9
11518
11832
  };
11519
11833
  var textColorsArray = ['interactive', 'primary', 'danger', 'success', 'warning', 'onLight', 'onDark', 'gray1', 'gray2', 'gray3', 'gray4', 'gray5', 'gray6', 'gray7', 'gray8', 'gray9'];
11520
11834
  var aBase = {
11521
- color: Colors$h.DdsColorInteractiveBase,
11835
+ color: Colors$i.DdsColorInteractiveBase,
11522
11836
  // ...FontPackages.body_sans_02.base,
11523
11837
  font: 'inherit',
11524
11838
  textDecoration: 'underline',
@@ -11529,11 +11843,11 @@ var aMarginsBase = {
11529
11843
  marginBottom: FontPackages$f.body_sans_02.paragraph.paragraphSpacing
11530
11844
  };
11531
11845
  var aHoverBase = {
11532
- color: Colors$h.DdsColorInteractiveDark
11846
+ color: Colors$i.DdsColorInteractiveDark
11533
11847
  };
11534
11848
  var aFocusBase = {
11535
- backgroundColor: Colors$h.DdsColorWarningDarkest,
11536
- color: Colors$h.DdsColorNeutralsWhite,
11849
+ backgroundColor: Colors$i.DdsColorWarningDarkest,
11850
+ color: Colors$i.DdsColorNeutralsWhite,
11537
11851
  textDecoration: 'none',
11538
11852
  outline: 'none'
11539
11853
  };
@@ -11742,7 +12056,7 @@ var leadSans05MarginsBase = {
11742
12056
  };
11743
12057
 
11744
12058
  var supportingStyleLabel01Base = __assign(__assign({
11745
- color: Colors$h.DdsColorNeutralsGray7
12059
+ color: Colors$i.DdsColorNeutralsGray7
11746
12060
  }, FontPackages$f.supportingStyle_label_01.base), {
11747
12061
  margin: 0
11748
12062
  });
@@ -11753,7 +12067,7 @@ var supportingStyleLabel01MarginsBase = {
11753
12067
  };
11754
12068
 
11755
12069
  var supportingStyleHelperText01Base = __assign(__assign({
11756
- color: Colors$h.DdsColorNeutralsGray6
12070
+ color: Colors$i.DdsColorNeutralsGray6
11757
12071
  }, FontPackages$f.supportingStyle_helpertext_01.base), {
11758
12072
  margin: 0
11759
12073
  });
@@ -11797,7 +12111,7 @@ var supportingStyleInputText03MarginsBase = {
11797
12111
  };
11798
12112
 
11799
12113
  var supportingStylePlaceholderText01Base = __assign(__assign({
11800
- color: Colors$h.DdsColorNeutralsGray6
12114
+ color: Colors$i.DdsColorNeutralsGray6
11801
12115
  }, FontPackages$f.supportingStyle_placeholdertext_01.base), {
11802
12116
  margin: 0
11803
12117
  });
@@ -11819,7 +12133,7 @@ var supportingStyleTiny01MarginsBase = {
11819
12133
  };
11820
12134
  var selectionBase = {
11821
12135
  color: textDefault$7.textColor,
11822
- backgroundColor: Colors$h.DdsColorTertiaryLightest
12136
+ backgroundColor: Colors$i.DdsColorTertiaryLightest
11823
12137
  };
11824
12138
  var typographyTokens = {
11825
12139
  selection: {
@@ -11841,7 +12155,7 @@ var typographyTokens = {
11841
12155
  base: aBoldBase
11842
12156
  },
11843
12157
  icon: {
11844
- marginLeft: Spacing$n.SizesDdsSpacingLocalX0125
12158
+ marginLeft: Spacing$o.SizesDdsSpacingLocalX0125
11845
12159
  }
11846
12160
  },
11847
12161
  headingSans01: {
@@ -19523,23 +19837,23 @@ function useIsFocusVisible() {
19523
19837
  }
19524
19838
 
19525
19839
  var utils = /*#__PURE__*/Object.freeze({
19526
- __proto__: null,
19527
- capitalize: capitalize,
19528
- createChainedFunction: createChainedFunction,
19529
- createSvgIcon: createSvgIcon$1,
19530
- debounce: debounce,
19531
- deprecatedPropType: deprecatedPropType,
19532
- isMuiElement: isMuiElement,
19533
- ownerDocument: ownerDocument,
19534
- ownerWindow: ownerWindow,
19535
- requirePropFactory: requirePropFactory,
19536
- setRef: setRef,
19537
- unsupportedProp: unsupportedProp,
19538
- useControlled: useControlled,
19539
- useEventCallback: useEventCallback,
19540
- useForkRef: useForkRef,
19541
- unstable_useId: useId,
19542
- useIsFocusVisible: useIsFocusVisible
19840
+ __proto__: null,
19841
+ capitalize: capitalize,
19842
+ createChainedFunction: createChainedFunction,
19843
+ createSvgIcon: createSvgIcon$1,
19844
+ debounce: debounce,
19845
+ deprecatedPropType: deprecatedPropType,
19846
+ isMuiElement: isMuiElement,
19847
+ ownerDocument: ownerDocument,
19848
+ ownerWindow: ownerWindow,
19849
+ requirePropFactory: requirePropFactory,
19850
+ setRef: setRef,
19851
+ unsupportedProp: unsupportedProp,
19852
+ useControlled: useControlled,
19853
+ useEventCallback: useEventCallback,
19854
+ useForkRef: useForkRef,
19855
+ unstable_useId: useId,
19856
+ useIsFocusVisible: useIsFocusVisible
19543
19857
  });
19544
19858
 
19545
19859
  var _utils = /*@__PURE__*/getAugmentedNamespace(utils);
@@ -19644,45 +19958,45 @@ var getTextColor = function getTextColor(color) {
19644
19958
  };
19645
19959
 
19646
19960
  var getElementStyling = function getElementStyling(type) {
19647
- return Ae(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n ", "\n &::selection, *::selection {\n ", "\n }\n "], ["\n ", "\n &::selection, *::selection {\n ", "\n }\n "])), typographyTokens.typographyType[type].base, typographyTokens.selection.base);
19961
+ return Ae(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n ", "\n &::selection, *::selection {\n ", "\n }\n "], ["\n ", "\n &::selection, *::selection {\n ", "\n }\n "])), typographyTokens.typographyType[type].base, typographyTokens.selection.base);
19648
19962
  };
19649
19963
 
19650
19964
  var LinkIconWrapper = styled(IconWrapper$1).withConfig({
19651
19965
  displayName: "Typography__LinkIconWrapper",
19652
19966
  componentId: "sc-1uvxoh6-0"
19653
- })(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typographyTokens.typographyType.a.icon);
19967
+ })(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typographyTokens.typographyType.a.icon);
19654
19968
  var StyledTypography = styled.p.withConfig({
19655
19969
  displayName: "Typography__StyledTypography",
19656
19970
  componentId: "sc-1uvxoh6-1"
19657
- })(templateObject_13$3 || (templateObject_13$3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n ", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n"])), function (_a) {
19971
+ })(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n ", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n"])), function (_a) {
19658
19972
  var typographyType = _a.typographyType;
19659
19973
  return typographyType && getElementStyling(typographyType);
19660
19974
  }, function (_a) {
19661
19975
  var typographyType = _a.typographyType,
19662
19976
  interactionProps = _a.interactionProps;
19663
- return typographyType === 'a' && Ae(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n\n &:hover {\n ", "\n }\n ", "\n &:focus-visible {\n ", "\n }\n &:focus-visible::selection {\n ", "\n }\n "], ["\n display: inline-flex;\n align-items: center;\n\n &:hover {\n ", "\n }\n ", "\n &:focus-visible {\n ", "\n }\n &:focus-visible::selection {\n ", "\n }\n "])), typographyTokens.typographyType[typographyType].hover.base, interactionProps && interactionProps.active && Ae(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n &:active {\n ", "\n }\n "], ["\n &:active {\n ", "\n }\n "])), interactionProps.active), typographyTokens.typographyType[typographyType].focus.base, typographyTokens.typographyType[typographyType].focus.base);
19977
+ return typographyType === 'a' && Ae(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n\n &:hover {\n ", "\n }\n ", "\n &:focus-visible {\n ", "\n }\n &:focus-visible::selection {\n ", "\n }\n "], ["\n display: inline-flex;\n align-items: center;\n\n &:hover {\n ", "\n }\n ", "\n &:focus-visible {\n ", "\n }\n &:focus-visible::selection {\n ", "\n }\n "])), typographyTokens.typographyType[typographyType].hover.base, interactionProps && interactionProps.active && Ae(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n &:active {\n ", "\n }\n "], ["\n &:active {\n ", "\n }\n "])), interactionProps.active), typographyTokens.typographyType[typographyType].focus.base, typographyTokens.typographyType[typographyType].focus.base);
19664
19978
  }, function (_a) {
19665
19979
  var interactionProps = _a.interactionProps;
19666
- return interactionProps && interactionProps.hover && Ae(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n &:hover {\n ", "\n }\n "], ["\n &:hover {\n ", "\n }\n "])), interactionProps.hover);
19980
+ return interactionProps && interactionProps.hover && Ae(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n &:hover {\n ", "\n }\n "], ["\n &:hover {\n ", "\n }\n "])), interactionProps.hover);
19667
19981
  }, function (_a) {
19668
19982
  var interactionProps = _a.interactionProps;
19669
- return interactionProps && interactionProps.active && Ae(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n &:active {\n ", "\n }\n "], ["\n &:active {\n ", "\n }\n "])), interactionProps.active);
19983
+ return interactionProps && interactionProps.active && Ae(templateObject_6$c || (templateObject_6$c = __makeTemplateObject(["\n &:active {\n ", "\n }\n "], ["\n &:active {\n ", "\n }\n "])), interactionProps.active);
19670
19984
  }, function (_a) {
19671
19985
  var withMargins = _a.withMargins,
19672
19986
  typographyType = _a.typographyType;
19673
- return withMargins && typographyType ? Ae(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.typographyType[typographyType].margins.base) : Ae(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n margin: 0;\n "], ["\n margin: 0;\n "])));
19987
+ return withMargins && typographyType ? Ae(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.typographyType[typographyType].margins.base) : Ae(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject(["\n margin: 0;\n "], ["\n margin: 0;\n "])));
19674
19988
  }, function (_a) {
19675
19989
  var color = _a.color;
19676
- return color && Ae(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), getTextColor(color));
19990
+ return color && Ae(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), getTextColor(color));
19677
19991
  }, function (_a) {
19678
19992
  var bold = _a.bold;
19679
- return bold && Ae(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.bold.base);
19993
+ return bold && Ae(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.bold.base);
19680
19994
  }, function (_a) {
19681
19995
  var italic = _a.italic;
19682
19996
  return italic && Ae(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.italic.base);
19683
19997
  }, function (_a) {
19684
19998
  var underline = _a.underline;
19685
- return underline && Ae(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.underline.base);
19999
+ return underline && Ae(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.underline.base);
19686
20000
  });
19687
20001
  var Typography = /*#__PURE__*/React.forwardRef(function (_a, ref) {
19688
20002
  var _b = _a.typographyType,
@@ -19711,81 +20025,81 @@ var Typography = /*#__PURE__*/React.forwardRef(function (_a, ref) {
19711
20025
  }, void 0) : '']
19712
20026
  }), void 0);
19713
20027
  });
19714
- var templateObject_1$B, templateObject_2$r, templateObject_3$j, templateObject_4$f, templateObject_5$c, templateObject_6$b, templateObject_7$8, templateObject_8$5, templateObject_9$5, templateObject_10$3, templateObject_11$3, templateObject_12$3, templateObject_13$3;
20028
+ 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;
19715
20029
 
19716
20030
  var RadioButtonGroupContext = /*#__PURE__*/React__default['default'].createContext(null);
19717
20031
  var useRadioButtonGroup = function useRadioButtonGroup() {
19718
20032
  return React.useContext(RadioButtonGroupContext);
19719
20033
  };
19720
20034
 
19721
- var Colors$g = ddsBaseTokens.colors,
20035
+ var Colors$h = ddsBaseTokens.colors,
19722
20036
  Border$7 = ddsBaseTokens.border,
19723
- Spacing$m = ddsBaseTokens.spacing,
20037
+ Spacing$n = ddsBaseTokens.spacing,
19724
20038
  FontPackages$e = ddsBaseTokens.fontPackages;
19725
20039
  var radioButtonBase = {
19726
20040
  border: '1px solid',
19727
- borderColor: Colors$g.DdsColorNeutralsGray5,
19728
- backgroundColor: Colors$g.DdsColorNeutralsWhite,
20041
+ borderColor: Colors$h.DdsColorNeutralsGray5,
20042
+ backgroundColor: Colors$h.DdsColorNeutralsWhite,
19729
20043
  height: FontPackages$e.supportingStyle_inputtext_02.numbers.fontSizeNumber,
19730
20044
  width: FontPackages$e.supportingStyle_inputtext_02.numbers.fontSizeNumber
19731
20045
  };
19732
20046
  var radioButtonHoverBase = {
19733
20047
  border: '2px solid',
19734
- backgroundColor: Colors$g.DdsColorInteractiveLightest,
19735
- borderColor: Colors$g.DdsColorInteractiveBase
20048
+ backgroundColor: Colors$h.DdsColorInteractiveLightest,
20049
+ borderColor: Colors$h.DdsColorInteractiveBase
19736
20050
  };
19737
20051
  var radioButtonDisabledBase = {
19738
20052
  border: '1px solid',
19739
- borderColor: Colors$g.DdsColorNeutralsGray5,
19740
- color: Colors$g.DdsColorNeutralsGray6
20053
+ borderColor: Colors$h.DdsColorNeutralsGray5,
20054
+ color: Colors$h.DdsColorNeutralsGray6
19741
20055
  };
19742
20056
  var radioButtonReadOnlyBase = {
19743
20057
  backgroundColor: 'transparent'
19744
20058
  };
19745
20059
  var radioButtonDangerBase = {
19746
20060
  border: '2px solid',
19747
- borderColor: Colors$g.DdsColorDangerBase
20061
+ borderColor: Colors$h.DdsColorDangerBase
19748
20062
  };
19749
20063
  var radioButtonDangerHoverBase = {
19750
20064
  border: '2px solid',
19751
- backgroundColor: Colors$g.DdsColorDangerLightest,
19752
- borderColor: Colors$g.DdsColorDangerBase
20065
+ backgroundColor: Colors$h.DdsColorDangerLightest,
20066
+ borderColor: Colors$h.DdsColorDangerBase
19753
20067
  };
19754
20068
  var radioButtonCheckedBase = {
19755
20069
  border: '2px solid',
19756
- backgroundColor: Colors$g.DdsColorInteractiveBase,
19757
- borderColor: Colors$g.DdsColorInteractiveBase
20070
+ backgroundColor: Colors$h.DdsColorInteractiveBase,
20071
+ borderColor: Colors$h.DdsColorInteractiveBase
19758
20072
  };
19759
20073
  var radioButtonCheckedHoverBase = {
19760
20074
  border: '2px solid',
19761
- backgroundColor: Colors$g.DdsColorInteractiveDark,
19762
- borderColor: Colors$g.DdsColorInteractiveDark
20075
+ backgroundColor: Colors$h.DdsColorInteractiveDark,
20076
+ borderColor: Colors$h.DdsColorInteractiveDark
19763
20077
  };
19764
20078
  var radioButtonCheckedDisabledBase = {
19765
20079
  border: '1px solid',
19766
- borderColor: Colors$g.DdsColorNeutralsGray6,
19767
- backgroundColor: Colors$g.DdsColorNeutralsGray6
20080
+ borderColor: Colors$h.DdsColorNeutralsGray6,
20081
+ backgroundColor: Colors$h.DdsColorNeutralsGray6
19768
20082
  };
19769
20083
  var radioButtonCheckedReadOnlyBase = {
19770
20084
  border: '2px solid',
19771
- borderColor: Colors$g.DdsColorNeutralsGray6,
19772
- backgroundColor: Colors$g.DdsColorNeutralsGray6
20085
+ borderColor: Colors$h.DdsColorNeutralsGray6,
20086
+ backgroundColor: Colors$h.DdsColorNeutralsGray6
19773
20087
  };
19774
20088
  var checkmarkBase$1 = {
19775
- backgroundColor: Colors$g.DdsColorNeutralsWhite,
19776
- height: Spacing$m.SizesDdsSpacingLocalX05,
19777
- width: Spacing$m.SizesDdsSpacingLocalX05,
19778
- left: "calc(50% - " + Spacing$m.SizesDdsSpacingLocalX05NumberPx / 2 + "px)",
19779
- top: "calc(50% - " + Spacing$m.SizesDdsSpacingLocalX05NumberPx / 2 + "px)"
20089
+ backgroundColor: Colors$h.DdsColorNeutralsWhite,
20090
+ height: Spacing$n.SizesDdsSpacingLocalX05,
20091
+ width: Spacing$n.SizesDdsSpacingLocalX05,
20092
+ left: "calc(50% - " + Spacing$n.SizesDdsSpacingLocalX05NumberPx / 2 + "px)",
20093
+ top: "calc(50% - " + Spacing$n.SizesDdsSpacingLocalX05NumberPx / 2 + "px)"
19780
20094
  };
19781
20095
  var containerBase$4 = {
19782
- marginRight: Spacing$m.SizesDdsSpacingLocalX075,
19783
- padding: Spacing$m.SizesDdsSpacingLocalX025 + " " + Spacing$m.SizesDdsSpacingLocalX025 + " " + Spacing$m.SizesDdsSpacingLocalX025 + " " + (20 + Spacing$m.SizesDdsSpacingLocalX075NumberPx) + "px"
20096
+ marginRight: Spacing$n.SizesDdsSpacingLocalX075,
20097
+ padding: Spacing$n.SizesDdsSpacingLocalX025 + " " + Spacing$n.SizesDdsSpacingLocalX025 + " " + Spacing$n.SizesDdsSpacingLocalX025 + " " + (20 + Spacing$n.SizesDdsSpacingLocalX075NumberPx) + "px"
19784
20098
  };
19785
20099
  var radioButtonTokens = {
19786
20100
  radioButton: {
19787
20101
  base: radioButtonBase,
19788
- spaceLeft: Spacing$m.SizesDdsSpacingLocalX025,
20102
+ spaceLeft: Spacing$n.SizesDdsSpacingLocalX025,
19789
20103
  hover: {
19790
20104
  base: radioButtonHoverBase
19791
20105
  },
@@ -19820,7 +20134,7 @@ var radioButtonTokens = {
19820
20134
  container: {
19821
20135
  base: containerBase$4,
19822
20136
  focusOutline: {
19823
- color: Colors$g.DdsColorWarningDarker,
20137
+ color: Colors$h.DdsColorWarningDarker,
19824
20138
  width: Border$7.BordersDdsBorderStyle1StrokeWeight
19825
20139
  }
19826
20140
  }
@@ -19829,7 +20143,7 @@ var radioButtonTokens = {
19829
20143
  var CustomRadioButton = styled.span.withConfig({
19830
20144
  displayName: "RadioButtonstyles__CustomRadioButton",
19831
20145
  componentId: "sc-iwypha-0"
19832
- })(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n position: absolute;\n box-sizing: border-box;\n border-radius: 50%;\n vertical-align: middle;\n ", "\n left: ", ";\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"], ["\n position: absolute;\n box-sizing: border-box;\n border-radius: 50%;\n vertical-align: middle;\n ", "\n left: ", ";\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"])), radioButtonTokens.radioButton.base, radioButtonTokens.radioButton.spaceLeft);
20146
+ })(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n position: absolute;\n box-sizing: border-box;\n border-radius: 50%;\n vertical-align: middle;\n ", "\n left: ", ";\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"], ["\n position: absolute;\n box-sizing: border-box;\n border-radius: 50%;\n vertical-align: middle;\n ", "\n left: ", ";\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"])), radioButtonTokens.radioButton.base, radioButtonTokens.radioButton.spaceLeft);
19833
20147
  var Input$4 = styled.input.attrs(function (_a) {
19834
20148
  var _b = _a.type,
19835
20149
  type = _b === void 0 ? 'radio' : _b;
@@ -19839,23 +20153,23 @@ var Input$4 = styled.input.attrs(function (_a) {
19839
20153
  }).withConfig({
19840
20154
  displayName: "RadioButtonstyles__Input",
19841
20155
  componentId: "sc-iwypha-1"
19842
- })(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"], ["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"])));
20156
+ })(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"], ["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"])));
19843
20157
  var Container$9 = styled.label.withConfig({
19844
20158
  displayName: "RadioButtonstyles__Container",
19845
20159
  componentId: "sc-iwypha-2"
19846
- })(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n position: relative;\n display: block;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n display: flex;\n align-items: center;\n ", "\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border-radius: 50%;\n ", "\n }\n"], ["\n position: relative;\n display: block;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n display: flex;\n align-items: center;\n ", "\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border-radius: 50%;\n ", "\n }\n"])), radioButtonTokens.container.base, CustomRadioButton, CustomRadioButton, CustomRadioButton, radioButtonTokens.radioButton.checked.base, CustomRadioButton, radioButtonTokens.radioButton.hover.base, CustomRadioButton, radioButtonTokens.radioButton.checked.hover.base, radioButtonTokens.container.focusOutline.width, radioButtonTokens.container.focusOutline.color, function (_a) {
20160
+ })(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n position: relative;\n display: block;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n display: flex;\n align-items: center;\n ", "\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border-radius: 50%;\n ", "\n }\n"], ["\n position: relative;\n display: block;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n display: flex;\n align-items: center;\n ", "\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border-radius: 50%;\n ", "\n }\n"])), radioButtonTokens.container.base, CustomRadioButton, CustomRadioButton, CustomRadioButton, radioButtonTokens.radioButton.checked.base, CustomRadioButton, radioButtonTokens.radioButton.hover.base, CustomRadioButton, radioButtonTokens.radioButton.checked.hover.base, radioButtonTokens.container.focusOutline.width, radioButtonTokens.container.focusOutline.color, function (_a) {
19847
20161
  var error = _a.error;
19848
- return error && Ae(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.danger.base, CustomRadioButton, radioButtonTokens.radioButton.danger.hover.base);
20162
+ return error && Ae(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.danger.base, CustomRadioButton, radioButtonTokens.radioButton.danger.hover.base);
19849
20163
  }, function (_a) {
19850
20164
  var disabled = _a.disabled;
19851
- return disabled && Ae(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "], ["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.disabled.base, CustomRadioButton, radioButtonTokens.radioButton.checked.disabled.base);
20165
+ return disabled && Ae(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "], ["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.disabled.base, CustomRadioButton, radioButtonTokens.radioButton.checked.disabled.base);
19852
20166
  }, function (_a) {
19853
20167
  var readOnly = _a.readOnly;
19854
- return readOnly && Ae(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "], ["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.readOnly.base, CustomRadioButton, radioButtonTokens.radioButton.checked.readOnly.base);
20168
+ return readOnly && Ae(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "], ["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.readOnly.base, CustomRadioButton, radioButtonTokens.radioButton.checked.readOnly.base);
19855
20169
  }, CustomRadioButton, radioButtonTokens.checkmark.base);
19856
- var templateObject_1$A, templateObject_2$q, templateObject_3$i, templateObject_4$e, templateObject_5$b, templateObject_6$a;
20170
+ var templateObject_1$C, templateObject_2$r, templateObject_3$j, templateObject_4$f, templateObject_5$c, templateObject_6$b;
19857
20171
 
19858
- var nextUniqueId$5 = 0;
20172
+ var nextUniqueId$6 = 0;
19859
20173
 
19860
20174
  var isValueEqualToGroupValueOrFalsy = function isValueEqualToGroupValueOrFalsy(value, group) {
19861
20175
  if (typeof value !== 'undefined' && value !== null && group) {
@@ -19885,7 +20199,7 @@ var RadioButton = /*#__PURE__*/React.forwardRef(function (_a, ref) {
19885
20199
  onChange = _a.onChange,
19886
20200
  rest = __rest(_a, ["id", "name", "label", "disabled", "readOnly", "error", "style", "checked", "value", "className", "children", "required", "onChange"]);
19887
20201
 
19888
- var uniqueId = React.useState(id !== null && id !== void 0 ? id : "radioButton-" + nextUniqueId$5++)[0];
20202
+ var uniqueId = React.useState(id !== null && id !== void 0 ? id : "radioButton-" + nextUniqueId$6++)[0];
19889
20203
  var radioButtonGroup = useRadioButtonGroup();
19890
20204
 
19891
20205
  var handleChange = function handleChange(event) {
@@ -19926,14 +20240,14 @@ var RadioButton = /*#__PURE__*/React.forwardRef(function (_a, ref) {
19926
20240
  var MarkerWrapper = styled.span.withConfig({
19927
20241
  displayName: "RequiredMarker__MarkerWrapper",
19928
20242
  componentId: "sc-1p5sjqf-0"
19929
- })(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), ddsBaseTokens.colors.DdsColorDangerBase);
20243
+ })(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), ddsBaseTokens.colors.DdsColorDangerBase);
19930
20244
 
19931
20245
  function RequiredMarker() {
19932
20246
  return jsxRuntime.jsx(MarkerWrapper, {
19933
20247
  children: "*"
19934
20248
  }, void 0);
19935
20249
  }
19936
- var templateObject_1$z;
20250
+ var templateObject_1$B;
19937
20251
 
19938
20252
  var ReportProblemOutlined = createCommonjsModule(function (module, exports) {
19939
20253
 
@@ -19959,21 +20273,21 @@ exports.default = _default;
19959
20273
 
19960
20274
  var DangerOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(ReportProblemOutlined);
19961
20275
 
19962
- var Colors$f = ddsBaseTokens.colors,
19963
- Spacing$l = ddsBaseTokens.spacing;
20276
+ var Colors$g = ddsBaseTokens.colors,
20277
+ Spacing$m = ddsBaseTokens.spacing;
19964
20278
  var base$8 = {
19965
- padding: Spacing$l.SizesDdsSpacingLocalX025 + " " + Spacing$l.SizesDdsSpacingLocalX05
20279
+ padding: Spacing$m.SizesDdsSpacingLocalX025 + " " + Spacing$m.SizesDdsSpacingLocalX05
19966
20280
  };
19967
20281
  var defaultMaxWidth = '100%';
19968
20282
  var tipBase = {
19969
- backgroundColor: Colors$f.DdsColorNeutralsWhite
20283
+ backgroundColor: Colors$g.DdsColorNeutralsWhite
19970
20284
  };
19971
20285
  var errorBase = {
19972
- color: Colors$f.DdsColorDangerBase,
19973
- backgroundColor: Colors$f.DdsColorDangerLightest
20286
+ color: Colors$g.DdsColorDangerBase,
20287
+ backgroundColor: Colors$g.DdsColorDangerLightest
19974
20288
  };
19975
20289
  var inputMessageTokens = {
19976
- padding: Spacing$l.SizesDdsSpacingLocalX025 + " " + Spacing$l.SizesDdsSpacingLocalX05,
20290
+ padding: Spacing$m.SizesDdsSpacingLocalX025 + " " + Spacing$m.SizesDdsSpacingLocalX05,
19977
20291
  base: base$8,
19978
20292
  defaultMaxWidth: defaultMaxWidth,
19979
20293
  tip: {
@@ -19983,16 +20297,16 @@ var inputMessageTokens = {
19983
20297
  base: errorBase
19984
20298
  },
19985
20299
  icon: {
19986
- spaceRight: Spacing$l.SizesDdsSpacingLocalX05
20300
+ spaceRight: Spacing$m.SizesDdsSpacingLocalX05
19987
20301
  }
19988
20302
  };
19989
20303
 
19990
20304
  var InputMessageWrapper = styled.div.withConfig({
19991
20305
  displayName: "InputMessage__InputMessageWrapper",
19992
20306
  componentId: "sc-n5r6yv-0"
19993
- })(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: fit-content;\n word-break: break-word;\n ", "\n ", "\n max-width: ", ";\n\n svg {\n margin-right: ", ";\n position: relative;\n }\n"], ["\n display: flex;\n align-items: center;\n width: fit-content;\n word-break: break-word;\n ", "\n ", "\n max-width: ", ";\n\n svg {\n margin-right: ", ";\n position: relative;\n }\n"])), inputMessageTokens.base, function (_a) {
20307
+ })(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: fit-content;\n word-break: break-word;\n ", "\n ", "\n max-width: ", ";\n\n svg {\n margin-right: ", ";\n position: relative;\n }\n"], ["\n display: flex;\n align-items: center;\n width: fit-content;\n word-break: break-word;\n ", "\n ", "\n max-width: ", ";\n\n svg {\n margin-right: ", ";\n position: relative;\n }\n"])), inputMessageTokens.base, function (_a) {
19994
20308
  var messageType = _a.messageType;
19995
- return messageType && Ae(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputMessageTokens[messageType].base);
20309
+ return messageType && Ae(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputMessageTokens[messageType].base);
19996
20310
  }, function (_a) {
19997
20311
  var maxWidth = _a.maxWidth;
19998
20312
  return maxWidth;
@@ -20022,30 +20336,30 @@ function InputMessage(_a) {
20022
20336
  }), void 0)]
20023
20337
  }), void 0);
20024
20338
  }
20025
- var templateObject_1$y, templateObject_2$p;
20339
+ var templateObject_1$A, templateObject_2$q;
20026
20340
 
20027
- var Spacing$k = ddsBaseTokens.spacing;
20341
+ var Spacing$l = ddsBaseTokens.spacing;
20028
20342
  var radioButtonGroupTokens = {
20029
20343
  label: {
20030
- spaceLeft: Spacing$k.SizesDdsSpacingLocalX025
20344
+ spaceLeft: Spacing$l.SizesDdsSpacingLocalX025
20031
20345
  }
20032
20346
  };
20033
20347
 
20034
20348
  var Container$8 = styled.div.withConfig({
20035
20349
  displayName: "RadioButtonGroup__Container",
20036
20350
  componentId: "sc-1xsll60-0"
20037
- })(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
20351
+ })(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
20038
20352
  var GroupContainer$1 = styled.div.withConfig({
20039
20353
  displayName: "RadioButtonGroup__GroupContainer",
20040
20354
  componentId: "sc-1xsll60-1"
20041
- })(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n"])), function (_a) {
20355
+ })(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n"])), function (_a) {
20042
20356
  var direction = _a.direction;
20043
20357
  return direction !== null && direction !== void 0 ? direction : 'row';
20044
20358
  });
20045
20359
  var Label$4 = styled(Typography).withConfig({
20046
20360
  displayName: "RadioButtonGroup__Label",
20047
20361
  componentId: "sc-1xsll60-2"
20048
- })(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), radioButtonGroupTokens.label.spaceLeft);
20362
+ })(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), radioButtonGroupTokens.label.spaceLeft);
20049
20363
  var nextUniqueGroupId$1 = 0;
20050
20364
  var RadioButtonGroup = function RadioButtonGroup(_a) {
20051
20365
  var name = _a.name,
@@ -20119,62 +20433,62 @@ var RadioButtonGroup = function RadioButtonGroup(_a) {
20119
20433
  }, void 0) : '']
20120
20434
  }), void 0);
20121
20435
  };
20122
- var templateObject_1$x, templateObject_2$o, templateObject_3$h;
20436
+ var templateObject_1$z, templateObject_2$p, templateObject_3$i;
20123
20437
 
20124
- var Colors$e = ddsBaseTokens.colors,
20438
+ var Colors$f = ddsBaseTokens.colors,
20125
20439
  Border$6 = ddsBaseTokens.border,
20126
- Spacing$j = ddsBaseTokens.spacing,
20440
+ Spacing$k = ddsBaseTokens.spacing,
20127
20441
  FontPackages$d = ddsBaseTokens.fontPackages,
20128
20442
  BorderRadius$3 = ddsBaseTokens.borderRadius;
20129
20443
  var checkboxBase = {
20130
20444
  border: '1px solid',
20131
- backgroundColor: Colors$e.DdsColorNeutralsWhite,
20132
- borderColor: Colors$e.DdsColorNeutralsGray5,
20445
+ backgroundColor: Colors$f.DdsColorNeutralsWhite,
20446
+ borderColor: Colors$f.DdsColorNeutralsGray5,
20133
20447
  borderRadius: BorderRadius$3.RadiiDdsBorderRadius1Radius,
20134
20448
  height: FontPackages$d.supportingStyle_inputtext_02.base.fontSize,
20135
20449
  width: FontPackages$d.supportingStyle_inputtext_02.base.fontSize
20136
20450
  };
20137
20451
  var checkboxCheckedBase = {
20138
20452
  border: '2px solid',
20139
- borderColor: Colors$e.DdsColorInteractiveBase,
20140
- backgroundColor: Colors$e.DdsColorInteractiveBase
20453
+ borderColor: Colors$f.DdsColorInteractiveBase,
20454
+ backgroundColor: Colors$f.DdsColorInteractiveBase
20141
20455
  };
20142
20456
  var checkboxDisabledBase = {
20143
20457
  border: '1px solid',
20144
- borderColor: Colors$e.DdsColorNeutralsGray5,
20145
- color: Colors$e.DdsColorNeutralsGray6
20458
+ borderColor: Colors$f.DdsColorNeutralsGray5,
20459
+ color: Colors$f.DdsColorNeutralsGray6
20146
20460
  };
20147
20461
  var checkboxCheckedDisabledBase = {
20148
20462
  border: '2px solid',
20149
- borderColor: Colors$e.DdsColorNeutralsGray6,
20150
- backgroundColor: Colors$e.DdsColorNeutralsGray6
20463
+ borderColor: Colors$f.DdsColorNeutralsGray6,
20464
+ backgroundColor: Colors$f.DdsColorNeutralsGray6
20151
20465
  };
20152
20466
  var checkboxReadOnlyBase = {
20153
20467
  backgroundColor: 'transparent'
20154
20468
  };
20155
20469
  var checkboxCheckedReadOnlyBase = {
20156
20470
  border: '2px solid',
20157
- borderColor: Colors$e.DdsColorNeutralsGray6,
20158
- backgroundColor: Colors$e.DdsColorNeutralsGray6
20471
+ borderColor: Colors$f.DdsColorNeutralsGray6,
20472
+ backgroundColor: Colors$f.DdsColorNeutralsGray6
20159
20473
  };
20160
20474
  var checkboxHoverBase = {
20161
- backgroundColor: Colors$e.DdsColorInteractiveLightest,
20475
+ backgroundColor: Colors$f.DdsColorInteractiveLightest,
20162
20476
  border: '2px solid',
20163
- borderColor: Colors$e.DdsColorInteractiveBase
20477
+ borderColor: Colors$f.DdsColorInteractiveBase
20164
20478
  };
20165
20479
  var checkboxCheckedHoverBase = {
20166
- backgroundColor: Colors$e.DdsColorInteractiveDark,
20480
+ backgroundColor: Colors$f.DdsColorInteractiveDark,
20167
20481
  border: '2px solid',
20168
- borderColor: Colors$e.DdsColorInteractiveDark
20482
+ borderColor: Colors$f.DdsColorInteractiveDark
20169
20483
  };
20170
20484
  var checkboxDangerBase = {
20171
20485
  border: '2px solid',
20172
- borderColor: Colors$e.DdsColorDangerBase
20486
+ borderColor: Colors$f.DdsColorDangerBase
20173
20487
  };
20174
20488
  var checkboxDangerHoverBase = {
20175
- backgroundColor: Colors$e.DdsColorDangerLightest,
20489
+ backgroundColor: Colors$f.DdsColorDangerLightest,
20176
20490
  border: '2px solid',
20177
- borderColor: Colors$e.DdsColorDangerBase
20491
+ borderColor: Colors$f.DdsColorDangerBase
20178
20492
  };
20179
20493
  var checkmarkBase = {
20180
20494
  borderWidth: '0 1px 1px 0',
@@ -20191,17 +20505,17 @@ var checkmarkIndeterminateBase = {
20191
20505
  var containerBase$3 = __assign({}, FontPackages$d.body_sans_02.base);
20192
20506
 
20193
20507
  var containerWithLabelBase$1 = __assign(__assign({}, FontPackages$d.body_sans_02.base), {
20194
- marginRight: Spacing$j.SizesDdsSpacingLocalX075,
20195
- padding: "0 " + Spacing$j.SizesDdsSpacingLocalX025 + " 0 " + (FontPackages$d.supportingStyle_inputtext_02.numbers.fontSizeNumber + Spacing$j.SizesDdsSpacingLocalX075NumberPx) + "px"
20508
+ marginRight: Spacing$k.SizesDdsSpacingLocalX075,
20509
+ padding: "0 " + Spacing$k.SizesDdsSpacingLocalX025 + " 0 " + (FontPackages$d.supportingStyle_inputtext_02.numbers.fontSizeNumber + Spacing$k.SizesDdsSpacingLocalX075NumberPx) + "px"
20196
20510
  });
20197
20511
 
20198
20512
  var containerNoLabelBase$1 = {
20199
- padding: Spacing$j.SizesDdsSpacingLocalX075 + " " + Spacing$j.SizesDdsSpacingLocalX0125 + " " + Spacing$j.SizesDdsSpacingLocalX075 + " " + Spacing$j.SizesDdsSpacingLocalX15
20513
+ padding: Spacing$k.SizesDdsSpacingLocalX075 + " " + Spacing$k.SizesDdsSpacingLocalX0125 + " " + Spacing$k.SizesDdsSpacingLocalX075 + " " + Spacing$k.SizesDdsSpacingLocalX15
20200
20514
  };
20201
20515
  var checkboxTokens = {
20202
20516
  checkbox: {
20203
20517
  base: checkboxBase,
20204
- spaceLeft: Spacing$j.SizesDdsSpacingLocalX025,
20518
+ spaceLeft: Spacing$k.SizesDdsSpacingLocalX025,
20205
20519
  hover: {
20206
20520
  base: checkboxHoverBase
20207
20521
  },
@@ -20244,7 +20558,7 @@ var checkboxTokens = {
20244
20558
  },
20245
20559
  checkmark: {
20246
20560
  base: checkmarkBase,
20247
- color: Colors$e.DdsColorNeutralsWhite,
20561
+ color: Colors$f.DdsColorNeutralsWhite,
20248
20562
  indeterminate: {
20249
20563
  base: checkmarkIndeterminateBase
20250
20564
  }
@@ -20252,7 +20566,7 @@ var checkboxTokens = {
20252
20566
  container: {
20253
20567
  base: containerBase$3,
20254
20568
  focusOutline: {
20255
- color: Colors$e.DdsColorWarningDarker,
20569
+ color: Colors$f.DdsColorWarningDarker,
20256
20570
  width: Border$6.BordersDdsBorderStyle1StrokeWeight
20257
20571
  },
20258
20572
  withLabel: {
@@ -20267,7 +20581,7 @@ var checkboxTokens = {
20267
20581
  var CustomCheckbox = styled.span.withConfig({
20268
20582
  displayName: "Checkboxstyles__CustomCheckbox",
20269
20583
  componentId: "sc-17q1ubf-0"
20270
- })(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n position: absolute;\n ", "\n left: ", ";\n box-sizing: border-box;\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"], ["\n position: absolute;\n ", "\n left: ", ";\n box-sizing: border-box;\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"])), checkboxTokens.checkbox.base, checkboxTokens.checkbox.spaceLeft);
20584
+ })(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n position: absolute;\n ", "\n left: ", ";\n box-sizing: border-box;\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"], ["\n position: absolute;\n ", "\n left: ", ";\n box-sizing: border-box;\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"])), checkboxTokens.checkbox.base, checkboxTokens.checkbox.spaceLeft);
20271
20585
  var Input$3 = styled.input.attrs(function (_a) {
20272
20586
  var _b = _a.type,
20273
20587
  type = _b === void 0 ? 'checkbox' : _b;
@@ -20277,34 +20591,34 @@ var Input$3 = styled.input.attrs(function (_a) {
20277
20591
  }).withConfig({
20278
20592
  displayName: "Checkboxstyles__Input",
20279
20593
  componentId: "sc-17q1ubf-1"
20280
- })(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"], ["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"])));
20594
+ })(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"], ["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"])));
20281
20595
  var Container$7 = styled.label.withConfig({
20282
20596
  displayName: "Checkboxstyles__Container",
20283
20597
  componentId: "sc-17q1ubf-2"
20284
- })(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n ", "\n ", "\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border: solid ", ";\n ", "\n }\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n ", "\n ", "\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border: solid ", ";\n ", "\n }\n"])), checkboxTokens.container.base, function (_a) {
20598
+ })(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n ", "\n ", "\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border: solid ", ";\n ", "\n }\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n ", "\n ", "\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border: solid ", ";\n ", "\n }\n"])), checkboxTokens.container.base, function (_a) {
20285
20599
  var label = _a.label;
20286
- return label ? Ae(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.container.withLabel.base) : Ae(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.container.noLabel.base);
20600
+ return label ? Ae(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.container.withLabel.base) : Ae(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.container.noLabel.base);
20287
20601
  }, CustomCheckbox, CustomCheckbox, CustomCheckbox, checkboxTokens.checkbox.checked.base, CustomCheckbox, checkboxTokens.checkbox.hover.base, CustomCheckbox, checkboxTokens.checkbox.checked.hover.base, checkboxTokens.container.focusOutline.width, checkboxTokens.container.focusOutline.color, function (_a) {
20288
20602
  var error = _a.error;
20289
- return error && Ae(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.danger.base, CustomCheckbox, checkboxTokens.checkbox.danger.hover.base);
20603
+ return error && Ae(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.danger.base, CustomCheckbox, checkboxTokens.checkbox.danger.hover.base);
20290
20604
  }, function (_a) {
20291
20605
  var indeterminate = _a.indeterminate;
20292
- return indeterminate && Ae(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n input:enabled ~ ", " {\n ", "\n }\n input ~ ", ":after {\n display: block;\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input:enabled ~ ", " {\n ", "\n }\n input ~ ", ":after {\n display: block;\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.base, CustomCheckbox, CustomCheckbox, checkboxTokens.checkbox.indeterminate.hover.base);
20606
+ return indeterminate && Ae(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n input:enabled ~ ", " {\n ", "\n }\n input ~ ", ":after {\n display: block;\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input:enabled ~ ", " {\n ", "\n }\n input ~ ", ":after {\n display: block;\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.base, CustomCheckbox, CustomCheckbox, checkboxTokens.checkbox.indeterminate.hover.base);
20293
20607
  }, function (_a) {
20294
20608
  var disabled = _a.disabled,
20295
20609
  indeterminate = _a.indeterminate;
20296
- return disabled && Ae(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "], ["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "])), CustomCheckbox, checkboxTokens.checkbox.disabled.base, CustomCheckbox, checkboxTokens.checkbox.checked.disabled.base, indeterminate && Ae(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.disabled.base));
20610
+ return disabled && Ae(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "], ["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "])), CustomCheckbox, checkboxTokens.checkbox.disabled.base, CustomCheckbox, checkboxTokens.checkbox.checked.disabled.base, indeterminate && Ae(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.disabled.base));
20297
20611
  }, function (_a) {
20298
20612
  var readOnly = _a.readOnly,
20299
20613
  indeterminate = _a.indeterminate;
20300
- return readOnly && Ae(templateObject_10$2 || (templateObject_10$2 = __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$4 || (templateObject_9$4 = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.readOnly.base));
20614
+ 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));
20301
20615
  }, CustomCheckbox, checkboxTokens.checkmark.color, function (_a) {
20302
20616
  var indeterminate = _a.indeterminate;
20303
- 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$2 || (templateObject_12$2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.checkmark.base);
20617
+ 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);
20304
20618
  });
20305
- var templateObject_1$w, templateObject_2$n, templateObject_3$g, templateObject_4$d, templateObject_5$a, templateObject_6$9, templateObject_7$7, templateObject_8$4, templateObject_9$4, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2;
20619
+ 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;
20306
20620
 
20307
- var nextUniqueId$4 = 0;
20621
+ var nextUniqueId$5 = 0;
20308
20622
  var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
20309
20623
  var id = _a.id,
20310
20624
  name = _a.name,
@@ -20317,7 +20631,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
20317
20631
  style = _a.style,
20318
20632
  rest = __rest(_a, ["id", "name", "label", "error", "disabled", "readOnly", "indeterminate", "className", "style"]);
20319
20633
 
20320
- var uniqueId = React.useState(id !== null && id !== void 0 ? id : "checkbox-" + nextUniqueId$4++)[0];
20634
+ var uniqueId = React.useState(id !== null && id !== void 0 ? id : "checkbox-" + nextUniqueId$5++)[0];
20321
20635
  var containerProps = {
20322
20636
  error: error,
20323
20637
  disabled: disabled,
@@ -20349,28 +20663,28 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
20349
20663
  }), void 0);
20350
20664
  });
20351
20665
 
20352
- var Spacing$i = ddsBaseTokens.spacing;
20666
+ var Spacing$j = ddsBaseTokens.spacing;
20353
20667
  var checkboxGroupTokens = {
20354
20668
  label: {
20355
- spaceLeft: Spacing$i.SizesDdsSpacingLocalX025
20669
+ spaceLeft: Spacing$j.SizesDdsSpacingLocalX025
20356
20670
  }
20357
20671
  };
20358
20672
 
20359
20673
  var Container$6 = styled.div.withConfig({
20360
20674
  displayName: "CheckboxGroup__Container",
20361
20675
  componentId: "sc-uixbzg-0"
20362
- })(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
20676
+ })(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
20363
20677
  var GroupContainer = styled.div.withConfig({
20364
20678
  displayName: "CheckboxGroup__GroupContainer",
20365
20679
  componentId: "sc-uixbzg-1"
20366
- })(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n"])), function (_a) {
20680
+ })(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n"])), function (_a) {
20367
20681
  var direction = _a.direction;
20368
20682
  return direction !== null && direction !== void 0 ? direction : 'row';
20369
20683
  });
20370
20684
  var Label$3 = styled(Typography).withConfig({
20371
20685
  displayName: "CheckboxGroup__Label",
20372
20686
  componentId: "sc-uixbzg-2"
20373
- })(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), checkboxGroupTokens.label.spaceLeft);
20687
+ })(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), checkboxGroupTokens.label.spaceLeft);
20374
20688
  var nextUniqueGroupId = 0;
20375
20689
  var CheckboxGroup = function CheckboxGroup(_a) {
20376
20690
  var label = _a.label,
@@ -20408,22 +20722,22 @@ var CheckboxGroup = function CheckboxGroup(_a) {
20408
20722
  }, void 0) : '']
20409
20723
  }), void 0);
20410
20724
  };
20411
- var templateObject_1$v, templateObject_2$m, templateObject_3$f;
20725
+ var templateObject_1$x, templateObject_2$n, templateObject_3$g;
20412
20726
 
20413
20727
  var calculateHeightWithLineHeight = function calculateHeightWithLineHeight(lineHeight, fontSize) {
20414
20728
  return lineHeight * 0.01 * fontSize;
20415
20729
  };
20416
20730
 
20417
- var Colors$d = ddsBaseTokens.colors,
20731
+ var Colors$e = ddsBaseTokens.colors,
20418
20732
  Border$5 = ddsBaseTokens.border,
20419
- Spacing$h = ddsBaseTokens.spacing,
20733
+ Spacing$i = ddsBaseTokens.spacing,
20420
20734
  FontPackages$c = ddsBaseTokens.fontPackages,
20421
20735
  BorderRadius$2 = ddsBaseTokens.borderRadius,
20422
20736
  OuterShadow$1 = ddsBaseTokens.outerShadow;
20423
20737
  var focus = ddsReferenceTokens.focus;
20424
20738
 
20425
20739
  var justIconSmallBase = __assign(__assign({}, FontPackages$c.supportingStyle_inputtext_02.base), {
20426
- padding: Spacing$h.SizesDdsSpacingLocalX05
20740
+ padding: Spacing$i.SizesDdsSpacingLocalX05
20427
20741
  });
20428
20742
 
20429
20743
  var justIconWrapperSmallBase = {
@@ -20432,11 +20746,11 @@ var justIconWrapperSmallBase = {
20432
20746
  };
20433
20747
 
20434
20748
  var textSmallBase = __assign(__assign({}, FontPackages$c.body_sans_01.base), {
20435
- padding: Spacing$h.SizesDdsSpacingLocalX05 + " " + (Spacing$h.SizesDdsSpacingLocalX1NumberPx - 2) + "px"
20749
+ padding: Spacing$i.SizesDdsSpacingLocalX05 + " " + (Spacing$i.SizesDdsSpacingLocalX1NumberPx - 2) + "px"
20436
20750
  });
20437
20751
 
20438
20752
  var justIconMediumBase = __assign(__assign({}, FontPackages$c.heading_sans_03.base), {
20439
- padding: Spacing$h.SizesDdsSpacingLocalX075
20753
+ padding: Spacing$i.SizesDdsSpacingLocalX075
20440
20754
  });
20441
20755
 
20442
20756
  var justIconWrapperMediumBase = {
@@ -20445,11 +20759,11 @@ var justIconWrapperMediumBase = {
20445
20759
  };
20446
20760
 
20447
20761
  var textMediumBase = __assign(__assign({}, FontPackages$c.body_sans_02.base), {
20448
- padding: Spacing$h.SizesDdsSpacingLocalX075 + " " + (Spacing$h.SizesDdsSpacingLocalX15NumberPx - 2) + "px"
20762
+ padding: Spacing$i.SizesDdsSpacingLocalX075 + " " + (Spacing$i.SizesDdsSpacingLocalX15NumberPx - 2) + "px"
20449
20763
  });
20450
20764
 
20451
20765
  var justIconLargeBase = __assign(__assign({}, FontPackages$c.heading_sans_04.base), {
20452
- padding: Spacing$h.SizesDdsSpacingLocalX1
20766
+ padding: Spacing$i.SizesDdsSpacingLocalX1
20453
20767
  });
20454
20768
 
20455
20769
  var justIconWrapperLargeBase = {
@@ -20458,7 +20772,7 @@ var justIconWrapperLargeBase = {
20458
20772
  };
20459
20773
 
20460
20774
  var textLargeBase = __assign(__assign({}, FontPackages$c.supportingStyle_inputtext_03.base), {
20461
- padding: Spacing$h.SizesDdsSpacingLocalX1 + " " + (Spacing$h.SizesDdsSpacingLocalX2NumberPx - 2) + "px"
20775
+ padding: Spacing$i.SizesDdsSpacingLocalX1 + " " + (Spacing$i.SizesDdsSpacingLocalX2NumberPx - 2) + "px"
20462
20776
  });
20463
20777
 
20464
20778
  var buttonBase = {
@@ -20467,56 +20781,56 @@ var buttonBase = {
20467
20781
  var filledButtonColors = {
20468
20782
  primary: {
20469
20783
  base: {
20470
- color: Colors$d.DdsColorNeutralsWhite,
20471
- backgroundColor: Colors$d.DdsColorInteractiveBase,
20472
- borderColor: Colors$d.DdsColorInteractiveBase
20784
+ color: Colors$e.DdsColorNeutralsWhite,
20785
+ backgroundColor: Colors$e.DdsColorInteractiveBase,
20786
+ borderColor: Colors$e.DdsColorInteractiveBase
20473
20787
  },
20474
20788
  hover: {
20475
20789
  base: {
20476
- backgroundColor: Colors$d.DdsColorInteractiveDark,
20477
- borderColor: Colors$d.DdsColorInteractiveDark
20790
+ backgroundColor: Colors$e.DdsColorInteractiveDark,
20791
+ borderColor: Colors$e.DdsColorInteractiveDark
20478
20792
  }
20479
20793
  },
20480
20794
  active: {
20481
20795
  base: {
20482
- backgroundColor: Colors$d.DdsColorInteractiveDarker,
20483
- borderColor: Colors$d.DdsColorInteractiveDarker
20796
+ backgroundColor: Colors$e.DdsColorInteractiveDarker,
20797
+ borderColor: Colors$e.DdsColorInteractiveDarker
20484
20798
  }
20485
20799
  }
20486
20800
  },
20487
20801
  secondary: {
20488
20802
  base: {
20489
- color: Colors$d.DdsColorNeutralsGray8,
20490
- backgroundColor: Colors$d.DdsColorNeutralsGray1,
20491
- borderColor: Colors$d.DdsColorNeutralsGray5
20803
+ color: Colors$e.DdsColorNeutralsGray8,
20804
+ backgroundColor: Colors$e.DdsColorNeutralsGray1,
20805
+ borderColor: Colors$e.DdsColorNeutralsGray5
20492
20806
  },
20493
20807
  hover: {
20494
20808
  base: {
20495
- backgroundColor: Colors$d.DdsColorNeutralsGray2
20809
+ backgroundColor: Colors$e.DdsColorNeutralsGray2
20496
20810
  }
20497
20811
  },
20498
20812
  active: {
20499
20813
  base: {
20500
- backgroundColor: Colors$d.DdsColorNeutralsGray3
20814
+ backgroundColor: Colors$e.DdsColorNeutralsGray3
20501
20815
  }
20502
20816
  }
20503
20817
  },
20504
20818
  danger: {
20505
20819
  base: {
20506
- color: Colors$d.DdsColorNeutralsWhite,
20507
- backgroundColor: Colors$d.DdsColorDangerBase,
20508
- borderColor: Colors$d.DdsColorDangerBase
20820
+ color: Colors$e.DdsColorNeutralsWhite,
20821
+ backgroundColor: Colors$e.DdsColorDangerBase,
20822
+ borderColor: Colors$e.DdsColorDangerBase
20509
20823
  },
20510
20824
  hover: {
20511
20825
  base: {
20512
- backgroundColor: Colors$d.DdsColorDangerDark,
20513
- borderColor: Colors$d.DdsColorDangerDark
20826
+ backgroundColor: Colors$e.DdsColorDangerDark,
20827
+ borderColor: Colors$e.DdsColorDangerDark
20514
20828
  }
20515
20829
  },
20516
20830
  active: {
20517
20831
  base: {
20518
- backgroundColor: Colors$d.DdsColorDangerDarker,
20519
- borderColor: Colors$d.DdsColorDangerDarker
20832
+ backgroundColor: Colors$e.DdsColorDangerDarker,
20833
+ borderColor: Colors$e.DdsColorDangerDarker
20520
20834
  }
20521
20835
  }
20522
20836
  }
@@ -20571,62 +20885,62 @@ var borderlessBase = {
20571
20885
  textDecorationColor: 'transparent'
20572
20886
  };
20573
20887
  var borderlessPrimaryBase = {
20574
- color: Colors$d.DdsColorInteractiveBase,
20575
- taxtDecorationColor: Colors$d.DdsColorInteractiveBase
20888
+ color: Colors$e.DdsColorInteractiveBase,
20889
+ taxtDecorationColor: Colors$e.DdsColorInteractiveBase
20576
20890
  };
20577
20891
  var borderlessPrimaryHoverBase = {
20578
- color: Colors$d.DdsColorInteractiveDark,
20579
- textDecorationColor: Colors$d.DdsColorInteractiveDark
20892
+ color: Colors$e.DdsColorInteractiveDark,
20893
+ textDecorationColor: Colors$e.DdsColorInteractiveDark
20580
20894
  };
20581
20895
  var borderlessPrimaryActiveBase = {
20582
- color: Colors$d.DdsColorInteractiveDarker,
20583
- textDecorationColor: Colors$d.DdsColorInteractiveDarker
20896
+ color: Colors$e.DdsColorInteractiveDarker,
20897
+ textDecorationColor: Colors$e.DdsColorInteractiveDarker
20584
20898
  };
20585
20899
  var borderlessPrimaryIconHoverBase = {
20586
- borderColor: Colors$d.DdsColorInteractiveDark,
20587
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorInteractiveDark
20900
+ borderColor: Colors$e.DdsColorInteractiveDark,
20901
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorInteractiveDark
20588
20902
  };
20589
20903
  var borderlessPrimaryIconActiveBase = {
20590
- borderColor: Colors$d.DdsColorInteractiveDarker,
20591
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorInteractiveDarker
20904
+ borderColor: Colors$e.DdsColorInteractiveDarker,
20905
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorInteractiveDarker
20592
20906
  };
20593
20907
  var borderlessSecondaryBase = {
20594
- color: Colors$d.DdsColorNeutralsGray7
20908
+ color: Colors$e.DdsColorNeutralsGray7
20595
20909
  };
20596
20910
  var borderlessSecondaryHoverBase = {
20597
- color: Colors$d.DdsColorNeutralsGray8,
20598
- textDecorationColor: Colors$d.DdsColorNeutralsGray8
20911
+ color: Colors$e.DdsColorNeutralsGray8,
20912
+ textDecorationColor: Colors$e.DdsColorNeutralsGray8
20599
20913
  };
20600
20914
  var borderlessSecondaryActiveBase = {
20601
- color: Colors$d.DdsColorNeutralsGray9,
20602
- textDecorationColor: Colors$d.DdsColorNeutralsGray9
20915
+ color: Colors$e.DdsColorNeutralsGray9,
20916
+ textDecorationColor: Colors$e.DdsColorNeutralsGray9
20603
20917
  };
20604
20918
  var borderlessSecondaryIconHoverBase = {
20605
- borderColor: Colors$d.DdsColorNeutralsGray8,
20606
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorNeutralsGray8
20919
+ borderColor: Colors$e.DdsColorNeutralsGray8,
20920
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorNeutralsGray8
20607
20921
  };
20608
20922
  var borderlessSecondaryIconActiveBase = {
20609
- borderColor: Colors$d.DdsColorNeutralsGray9,
20610
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorNeutralsGray9
20923
+ borderColor: Colors$e.DdsColorNeutralsGray9,
20924
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorNeutralsGray9
20611
20925
  };
20612
20926
  var borderlessDangerBase = {
20613
- color: Colors$d.DdsColorDangerBase
20927
+ color: Colors$e.DdsColorDangerBase
20614
20928
  };
20615
20929
  var borderlessDangerHoverBase = {
20616
- color: Colors$d.DdsColorDangerDarker,
20617
- textDecorationColor: Colors$d.DdsColorDangerDarker
20930
+ color: Colors$e.DdsColorDangerDarker,
20931
+ textDecorationColor: Colors$e.DdsColorDangerDarker
20618
20932
  };
20619
20933
  var borderlessDangerActiveBase = {
20620
- color: Colors$d.DdsColorDangerDarkest,
20621
- textDecorationColor: Colors$d.DdsColorDangerDarkest
20934
+ color: Colors$e.DdsColorDangerDarkest,
20935
+ textDecorationColor: Colors$e.DdsColorDangerDarkest
20622
20936
  };
20623
20937
  var borderlessDangerIconHoverBase = {
20624
- borderColor: Colors$d.DdsColorDangerDark,
20625
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorDangerDark
20938
+ borderColor: Colors$e.DdsColorDangerDark,
20939
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorDangerDark
20626
20940
  };
20627
20941
  var borderlessDangerIconActiveBase = {
20628
- borderColor: Colors$d.DdsColorDangerDarker,
20629
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorDangerDarker
20942
+ borderColor: Colors$e.DdsColorDangerDarker,
20943
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorDangerDarker
20630
20944
  };
20631
20945
  var ghostBase = {
20632
20946
  borderRadius: BorderRadius$2.RadiiDdsBorderRadius1Radius,
@@ -20634,46 +20948,46 @@ var ghostBase = {
20634
20948
  backgroundColor: 'transparent'
20635
20949
  };
20636
20950
  var ghostPrimaryBase = {
20637
- color: Colors$d.DdsColorInteractiveBase,
20638
- borderColor: Colors$d.DdsColorInteractiveBase
20951
+ color: Colors$e.DdsColorInteractiveBase,
20952
+ borderColor: Colors$e.DdsColorInteractiveBase
20639
20953
  };
20640
20954
  var ghostPrimaryHoverBase = {
20641
- color: Colors$d.DdsColorInteractiveDark,
20642
- borderColor: Colors$d.DdsColorInteractiveDark,
20643
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorInteractiveDark
20955
+ color: Colors$e.DdsColorInteractiveDark,
20956
+ borderColor: Colors$e.DdsColorInteractiveDark,
20957
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorInteractiveDark
20644
20958
  };
20645
20959
  var ghostPrimaryActiveBase = {
20646
- color: Colors$d.DdsColorInteractiveDarker,
20647
- borderColor: Colors$d.DdsColorInteractiveDarker,
20648
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorInteractiveDarker
20960
+ color: Colors$e.DdsColorInteractiveDarker,
20961
+ borderColor: Colors$e.DdsColorInteractiveDarker,
20962
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorInteractiveDarker
20649
20963
  };
20650
20964
  var ghostSecondaryBase = {
20651
- color: Colors$d.DdsColorNeutralsGray7,
20652
- borderColor: Colors$d.DdsColorNeutralsGray7
20965
+ color: Colors$e.DdsColorNeutralsGray7,
20966
+ borderColor: Colors$e.DdsColorNeutralsGray7
20653
20967
  };
20654
20968
  var ghostSecondaryHoverBase = {
20655
- color: Colors$d.DdsColorNeutralsGray8,
20656
- borderColor: Colors$d.DdsColorNeutralsGray8,
20657
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorNeutralsGray8
20969
+ color: Colors$e.DdsColorNeutralsGray8,
20970
+ borderColor: Colors$e.DdsColorNeutralsGray8,
20971
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorNeutralsGray8
20658
20972
  };
20659
20973
  var ghostSecondaryActiveBase = {
20660
- color: Colors$d.DdsColorNeutralsGray9,
20661
- borderColor: Colors$d.DdsColorNeutralsGray9,
20662
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorNeutralsGray9
20974
+ color: Colors$e.DdsColorNeutralsGray9,
20975
+ borderColor: Colors$e.DdsColorNeutralsGray9,
20976
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorNeutralsGray9
20663
20977
  };
20664
20978
  var ghostDangerBase = {
20665
- color: Colors$d.DdsColorDangerBase,
20666
- borderColor: Colors$d.DdsColorDangerBase
20979
+ color: Colors$e.DdsColorDangerBase,
20980
+ borderColor: Colors$e.DdsColorDangerBase
20667
20981
  };
20668
20982
  var ghostDangerHoverBase = {
20669
- color: Colors$d.DdsColorDangerDark,
20670
- borderColor: Colors$d.DdsColorDangerDark,
20671
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorDangerDark
20983
+ color: Colors$e.DdsColorDangerDark,
20984
+ borderColor: Colors$e.DdsColorDangerDark,
20985
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorDangerDark
20672
20986
  };
20673
20987
  var ghostDangerActiveBase = {
20674
- color: Colors$d.DdsColorDangerDarkest,
20675
- borderColor: Colors$d.DdsColorDangerDarkest,
20676
- boxShadow: "0 0 0 1px " + Colors$d.DdsColorDangerDarkest
20988
+ color: Colors$e.DdsColorDangerDarkest,
20989
+ borderColor: Colors$e.DdsColorDangerDarkest,
20990
+ boxShadow: "0 0 0 1px " + Colors$e.DdsColorDangerDarkest
20677
20991
  };
20678
20992
  var roundedBase = {
20679
20993
  borderRadius: '100px',
@@ -20696,7 +21010,7 @@ var buttonTokens = {
20696
21010
  text: {
20697
21011
  base: textSmallBase
20698
21012
  },
20699
- iconWithTextMargin: Spacing$h.SizesDdsSpacingLocalX025
21013
+ iconWithTextMargin: Spacing$i.SizesDdsSpacingLocalX025
20700
21014
  },
20701
21015
  medium: {
20702
21016
  justIcon: {
@@ -20708,7 +21022,7 @@ var buttonTokens = {
20708
21022
  text: {
20709
21023
  base: textMediumBase
20710
21024
  },
20711
- iconWithTextMargin: Spacing$h.SizesDdsSpacingLocalX05
21025
+ iconWithTextMargin: Spacing$i.SizesDdsSpacingLocalX05
20712
21026
  },
20713
21027
  large: {
20714
21028
  justIcon: {
@@ -20720,7 +21034,7 @@ var buttonTokens = {
20720
21034
  text: {
20721
21035
  base: textLargeBase
20722
21036
  },
20723
- iconWithTextMargin: Spacing$h.SizesDdsSpacingLocalX075
21037
+ iconWithTextMargin: Spacing$i.SizesDdsSpacingLocalX075
20724
21038
  }
20725
21039
  },
20726
21040
  appearance: {
@@ -20871,9 +21185,9 @@ var buttonTokens = {
20871
21185
  }
20872
21186
  };
20873
21187
 
20874
- var Colors$c = ddsBaseTokens.colors;
21188
+ var Colors$d = ddsBaseTokens.colors;
20875
21189
  var ciclreBase = {
20876
- stroke: Colors$c.DdsColorInteractiveBase
21190
+ stroke: Colors$d.DdsColorInteractiveBase
20877
21191
  };
20878
21192
  var spinnerTokens = {
20879
21193
  circle: {
@@ -20884,7 +21198,7 @@ var spinnerTokens = {
20884
21198
  var StyledSpinner = styled.svg.withConfig({
20885
21199
  displayName: "Spinner__StyledSpinner",
20886
21200
  componentId: "sc-13hsttm-0"
20887
- })(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n display: block;\n animation: rotate 2s linear infinite;\n animation-delay: ", "ms;\n width: ", ";\n height: ", ";\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"], ["\n display: block;\n animation: rotate 2s linear infinite;\n animation-delay: ", "ms;\n width: ", ";\n height: ", ";\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"])), function (_a) {
21201
+ })(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n display: block;\n animation: rotate 2s linear infinite;\n animation-delay: ", "ms;\n width: ", ";\n height: ", ";\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"], ["\n display: block;\n animation: rotate 2s linear infinite;\n animation-delay: ", "ms;\n width: ", ";\n height: ", ";\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"])), function (_a) {
20888
21202
  var outerAnimationDelay = _a.outerAnimationDelay;
20889
21203
  return outerAnimationDelay;
20890
21204
  }, function (_a) {
@@ -20897,14 +21211,14 @@ var StyledSpinner = styled.svg.withConfig({
20897
21211
  var Circle = styled.circle.withConfig({
20898
21212
  displayName: "Spinner__Circle",
20899
21213
  componentId: "sc-13hsttm-1"
20900
- })(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n ", "\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n animation-delay: ", "ms;\n"], ["\n ", "\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n animation-delay: ", "ms;\n"])), spinnerTokens.circle.base, function (_a) {
21214
+ })(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n ", "\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n animation-delay: ", "ms;\n"], ["\n ", "\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n animation-delay: ", "ms;\n"])), spinnerTokens.circle.base, function (_a) {
20901
21215
  var color = _a.color;
20902
21216
  return color && getTextColor(color);
20903
21217
  }, function (_a) {
20904
21218
  var innerAnimationDelay = _a.innerAnimationDelay;
20905
21219
  return innerAnimationDelay;
20906
21220
  });
20907
- var nextUniqueId$3 = 0;
21221
+ var nextUniqueId$4 = 0;
20908
21222
  function Spinner(_a) {
20909
21223
  var _b = _a.size,
20910
21224
  size = _b === void 0 ? ddsBaseTokens.iconSizes.DdsIconsizeMedium : _b,
@@ -20913,7 +21227,7 @@ function Spinner(_a) {
20913
21227
  var mountTime = React__default['default'].useRef(Date.now());
20914
21228
  var outerAnimationDelay = -(mountTime.current % 2000);
20915
21229
  var innerAnimationDelay = -(mountTime.current % 1500);
20916
- var uniqueId = React.useState("spinnerTitle-" + nextUniqueId$3++)[0];
21230
+ var uniqueId = React.useState("spinnerTitle-" + nextUniqueId$4++)[0];
20917
21231
  var spinnerProps = {
20918
21232
  outerAnimationDelay: outerAnimationDelay,
20919
21233
  size: size
@@ -20940,58 +21254,55 @@ function Spinner(_a) {
20940
21254
  }), void 0)]
20941
21255
  }), void 0);
20942
21256
  }
20943
- var templateObject_1$u, templateObject_2$l;
21257
+ var templateObject_1$w, templateObject_2$m;
20944
21258
 
20945
- var buttonContentStyle = function buttonContentStyle(purpose, appearance, label, Icon) {
20946
- return Ae(templateObject_3$e || (templateObject_3$e = __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$t || (templateObject_1$t = __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$k || (templateObject_2$k = __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));
20947
- };
20948
- var ButtonContent = styled.span.withConfig({
20949
- displayName: "Buttonstyles__ButtonContent",
21259
+ var ButtonWrapper$1 = styled.button.withConfig({
21260
+ displayName: "Buttonstyles__ButtonWrapper",
20950
21261
  componentId: "sc-14dutqk-0"
20951
- })(templateObject_8$3 || (templateObject_8$3 = __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) {
20952
- var label = _a.label,
20953
- purpose = _a.purpose,
20954
- appearance = _a.appearance,
20955
- Icon = _a.Icon;
20956
- return purpose && appearance && buttonContentStyle(purpose, appearance, label, Icon);
21262
+ })(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) {
21263
+ var fullWidth = _a.fullWidth;
21264
+ return fullWidth ? '100%' : 'fit-content';
20957
21265
  }, function (_a) {
20958
- var fullWidth = _a.fullWidth,
20959
- Icon = _a.Icon,
20960
- label = _a.label,
20961
- loading = _a.loading;
20962
- return fullWidth && (!Icon || !label || loading ? Ae(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "]))) : Ae(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n justify-content: space-between;\n "], ["\n justify-content: space-between;\n "]))));
21266
+ var appearance = _a.appearance,
21267
+ purpose = _a.purpose;
21268
+ 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);
21269
+ }, function (_a) {
21270
+ var hasIcon = _a.hasIcon,
21271
+ hasLabel = _a.hasLabel,
21272
+ appearance = _a.appearance,
21273
+ purpose = _a.purpose;
21274
+ 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);
20963
21275
  }, function (_a) {
20964
21276
  var size = _a.size,
20965
- label = _a.label;
20966
- return size && (label ? Ae(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].text.base) : Ae(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIcon.base));
20967
- });
20968
- var ButtonWrapper$1 = styled.button.withConfig({
20969
- displayName: "Buttonstyles__ButtonWrapper",
20970
- componentId: "sc-14dutqk-1"
20971
- })(templateObject_10$1 || (templateObject_10$1 = __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) {
20972
- var fullWidth = _a.fullWidth;
20973
- return !fullWidth && Ae(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n width: fit-content;\n "], ["\n width: fit-content;\n "])));
20974
- }, ButtonContent, buttonTokens.focusOutline.width, buttonTokens.focusOutline.color);
21277
+ hasLabel = _a.hasLabel;
21278
+ 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);
21279
+ }, function (_a) {
21280
+ var fullWidth = _a.fullWidth,
21281
+ hasIcon = _a.hasIcon,
21282
+ hasLabel = _a.hasLabel,
21283
+ isLoading = _a.isLoading;
21284
+ 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 "]))));
21285
+ }, buttonTokens.focusOutline.width, buttonTokens.focusOutline.color, typographyTokens.selection.base);
20975
21286
  var IconWithTextWrapper = styled(IconWrapper$1).withConfig({
20976
21287
  displayName: "Buttonstyles__IconWithTextWrapper",
20977
- componentId: "sc-14dutqk-2"
20978
- })(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
21288
+ componentId: "sc-14dutqk-1"
21289
+ })(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
20979
21290
  var size = _a.size,
20980
21291
  iconPosition = _a.iconPosition;
20981
- 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$1 || (templateObject_12$1 = __makeTemplateObject(["\n margin-inline-start: ", ";\n "], ["\n margin-inline-start: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : '');
21292
+ 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) : '';
20982
21293
  });
20983
21294
  var JustIconWrapper = styled.span.withConfig({
20984
21295
  displayName: "Buttonstyles__JustIconWrapper",
20985
- componentId: "sc-14dutqk-3"
20986
- })(templateObject_15$1 || (templateObject_15$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) {
21296
+ componentId: "sc-14dutqk-2"
21297
+ })(templateObject_12 || (templateObject_12 = __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) {
20987
21298
  var size = _a.size;
20988
- return size && Ae(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIconWrapper.base);
21299
+ return Ae(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIconWrapper.base);
20989
21300
  });
20990
21301
  var Label$2 = styled.span.withConfig({
20991
21302
  displayName: "Buttonstyles__Label",
20992
- componentId: "sc-14dutqk-4"
20993
- })(templateObject_16$1 || (templateObject_16$1 = __makeTemplateObject([""], [""])));
20994
- var templateObject_1$t, 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$1, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15$1, templateObject_16$1;
21303
+ componentId: "sc-14dutqk-3"
21304
+ })(templateObject_13 || (templateObject_13 = __makeTemplateObject([""], [""])));
21305
+ 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;
20995
21306
 
20996
21307
  var Button = /*#__PURE__*/React.forwardRef(function (_a, ref) {
20997
21308
  var label = _a.label,
@@ -21006,8 +21317,10 @@ var Button = /*#__PURE__*/React.forwardRef(function (_a, ref) {
21006
21317
  appearance = _e === void 0 ? 'filled' : _e,
21007
21318
  href = _a.href,
21008
21319
  target = _a.target,
21009
- loading = _a.loading,
21010
- fullWidth = _a.fullWidth,
21320
+ _f = _a.loading,
21321
+ loading = _f === void 0 ? false : _f,
21322
+ _g = _a.fullWidth,
21323
+ fullWidth = _g === void 0 ? false : _g,
21011
21324
  className = _a.className,
21012
21325
  style = _a.style,
21013
21326
  Icon = _a.Icon,
@@ -21022,23 +21335,18 @@ var Button = /*#__PURE__*/React.forwardRef(function (_a, ref) {
21022
21335
  rel: href ? 'noreferrer noopener' : undefined,
21023
21336
  target: href && target ? target : undefined,
21024
21337
  ref: ref,
21025
- fullWidth: fullWidth,
21026
- disabled: disabled
21027
- }, rest);
21028
-
21029
- var contentProps = {
21030
- iconPosition: iconPosition,
21031
21338
  appearance: appearance,
21032
21339
  purpose: purpose,
21033
- label: label,
21034
- size: size,
21035
- Icon: Icon,
21340
+ iconPosition: iconPosition,
21036
21341
  fullWidth: fullWidth,
21037
- loading: loading,
21038
- tabIndex: -1,
21342
+ hasLabel: !!label,
21343
+ hasIcon: !!Icon,
21344
+ isLoading: loading,
21345
+ disabled: disabled,
21346
+ size: size,
21039
21347
  className: className,
21040
21348
  style: style
21041
- };
21349
+ }, rest);
21042
21350
 
21043
21351
  var iconElement = Icon && iconPosition && size && jsxRuntime.jsx(IconWithTextWrapper, {
21044
21352
  Icon: Icon,
@@ -21047,45 +21355,120 @@ var Button = /*#__PURE__*/React.forwardRef(function (_a, ref) {
21047
21355
  size: size
21048
21356
  }, void 0);
21049
21357
 
21050
- return jsxRuntime.jsx(ButtonWrapper$1, __assign({}, wrapperProps, {
21051
- children: jsxRuntime.jsx(ButtonContent, __assign({}, contentProps, {
21052
- children: loading ? jsxRuntime.jsx(JustIconWrapper, __assign({
21053
- size: size
21054
- }, {
21055
- children: jsxRuntime.jsx(Spinner, {
21056
- color: buttonTokens.appearance[appearance][purpose].base.color,
21057
- size: buttonTokens.sizes[size].justIcon.base.fontSize
21058
- }, void 0)
21059
- }), void 0) : !label && Icon ? jsxRuntime.jsx(JustIconWrapper, __assign({
21060
- size: size
21061
- }, {
21062
- children: jsxRuntime.jsx(IconWrapper$1, {
21063
- Icon: Icon,
21064
- iconSize: "inline"
21065
- }, void 0)
21066
- }), void 0) : label ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
21067
- children: [iconPosition === 'left' && iconElement, jsxRuntime.jsx(Label$2, {
21068
- children: label
21069
- }, void 0), iconPosition === 'right' && iconElement]
21070
- }, void 0) : ''
21071
- }), void 0)
21358
+ var hasLabel = !!label;
21359
+ var isIconButton = !hasLabel && !!Icon;
21360
+ return jsxRuntime.jsxs(ButtonWrapper$1, __assign({}, wrapperProps, {
21361
+ children: [loading && jsxRuntime.jsx(JustIconWrapper, __assign({
21362
+ size: size
21363
+ }, {
21364
+ children: jsxRuntime.jsx(Spinner, {
21365
+ color: buttonTokens.appearance[appearance][purpose].base.color,
21366
+ size: buttonTokens.sizes[size].justIcon.base.fontSize
21367
+ }, void 0)
21368
+ }), void 0), isIconButton && !loading && jsxRuntime.jsx(JustIconWrapper, __assign({
21369
+ size: size
21370
+ }, {
21371
+ children: jsxRuntime.jsx(IconWrapper$1, {
21372
+ Icon: Icon,
21373
+ iconSize: "inline"
21374
+ }, void 0)
21375
+ }), void 0), hasLabel && !loading && jsxRuntime.jsxs(jsxRuntime.Fragment, {
21376
+ children: [iconPosition === 'left' && iconElement, jsxRuntime.jsx(Label$2, {
21377
+ children: label
21378
+ }, void 0), iconPosition === 'right' && iconElement]
21379
+ }, void 0)]
21072
21380
  }), void 0);
21073
21381
  });
21074
21382
 
21383
+ var Colors$c = ddsBaseTokens.colors,
21384
+ Spacing$h = ddsBaseTokens.spacing;
21385
+ var TextInput$3 = ddsReferenceTokens.textInput;
21386
+ var inputMultilineBase = {
21387
+ paddingBottom: Spacing$h.SizesDdsSpacingLocalX05
21388
+ };
21389
+ var inputMultilineWithLabelBase = {
21390
+ paddingTop: Spacing$h.SizesDdsSpacingLocalX2
21391
+ };
21392
+ var inputMultilineNoLabelBase = {
21393
+ paddingTop: Spacing$h.SizesDdsSpacingLocalX075
21394
+ };
21395
+ var inputLabelMultilineBase = {
21396
+ backgroundColor: Colors$c.DdsColorNeutralsWhite,
21397
+ padding: Spacing$h.SizesDdsSpacingLocalX075NumberPx - 1 + "px " + Spacing$h.SizesDdsSpacingLocalX1 + " 0px " + (Spacing$h.SizesDdsSpacingLocalX1NumberPx - 1) + "px"
21398
+ };
21399
+ var defaultWidth$2 = '320px';
21400
+ var textInputTokens = {
21401
+ general: TextInput$3,
21402
+ focusColor: TextInput$3.input.focus.borderColor,
21403
+ multiline: {
21404
+ base: inputMultilineBase,
21405
+ withLabel: {
21406
+ base: inputMultilineWithLabelBase
21407
+ },
21408
+ noLabel: {
21409
+ base: inputMultilineNoLabelBase
21410
+ }
21411
+ },
21412
+ label: {
21413
+ multiline: {
21414
+ base: inputLabelMultilineBase
21415
+ }
21416
+ },
21417
+ wrapper: {
21418
+ defaultWidth: defaultWidth$2
21419
+ },
21420
+ container: {
21421
+ multiline: {
21422
+ withLabel: {
21423
+ height: '99px'
21424
+ },
21425
+ noLabel: {
21426
+ height: '78px'
21427
+ }
21428
+ }
21429
+ }
21430
+ };
21431
+
21432
+ var Spacing$g = ddsBaseTokens.spacing;
21433
+ var charCounterBase = {
21434
+ padding: Spacing$g.SizesDdsSpacingLocalX025 + " " + Spacing$g.SizesDdsSpacingLocalX05
21435
+ };
21436
+ var charCounterTokens = {
21437
+ base: charCounterBase
21438
+ };
21439
+
21440
+ var Wrapper$3 = styled(Typography).withConfig({
21441
+ displayName: "CharCounter__Wrapper",
21442
+ componentId: "sc-qty1z2-0"
21443
+ })(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n margin-left: auto;\n ", "\n"], ["\n margin-left: auto;\n ", "\n"])), charCounterTokens.base);
21444
+
21445
+ function CharCounter(_a) {
21446
+ var current = _a.current,
21447
+ max = _a.max;
21448
+ return jsxRuntime.jsxs(Wrapper$3, __assign({
21449
+ forwardedAs: "div",
21450
+ typographyType: "supportingStyleHelperText01"
21451
+ }, {
21452
+ children: [current, "/", max]
21453
+ }), void 0);
21454
+ }
21455
+ var templateObject_1$u;
21456
+
21075
21457
  var Colors$b = ddsBaseTokens.colors,
21076
- Spacing$g = ddsBaseTokens.spacing,
21458
+ Spacing$f = ddsBaseTokens.spacing,
21077
21459
  FontPackages$b = ddsBaseTokens.fontPackages;
21078
21460
  var TextInput$2 = ddsReferenceTokens.textInput;
21079
21461
  var inputBase$2 = {
21080
21462
  border: "1px solid " + Colors$b.DdsColorNeutralsGray5
21081
21463
  };
21082
21464
  var inputWithLabelBase = {
21083
- padding: Spacing$g.SizesDdsSpacingLocalX075NumberPx + FontPackages$b.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * FontPackages$b.supportingStyle_label_01.numbers.fontSizeNumber + "px " + Spacing$g.SizesDdsSpacingLocalX1 + " " + Spacing$g.SizesDdsSpacingLocalX075 + " " + Spacing$g.SizesDdsSpacingLocalX1
21465
+ 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
21084
21466
  };
21085
21467
  var inputNoLabelBase$1 = {
21086
- padding: Spacing$g.SizesDdsSpacingLocalX075 + " " + Spacing$g.SizesDdsSpacingLocalX1 + " " + Spacing$g.SizesDdsSpacingLocalX075 + " " + Spacing$g.SizesDdsSpacingLocalX1
21468
+ padding: Spacing$f.SizesDdsSpacingLocalX075 + " " + Spacing$f.SizesDdsSpacingLocalX1 + " " + Spacing$f.SizesDdsSpacingLocalX075 + " " + Spacing$f.SizesDdsSpacingLocalX1
21087
21469
  };
21088
21470
  var inputDisabledBase = {
21471
+ color: Colors$b.DdsColorNeutralsGray7,
21089
21472
  backgroundColor: Colors$b.DdsColorNeutralsGray1
21090
21473
  };
21091
21474
  var inputErrorBase = {
@@ -21101,52 +21484,22 @@ var inputErrorFocusBase = {
21101
21484
  borderColor: Colors$b.DdsColorDangerDarker,
21102
21485
  boxShadow: "0 0 0 1px " + Colors$b.DdsColorDangerDarker
21103
21486
  };
21104
- var inputMultilineBase = {
21105
- paddingBottom: Spacing$g.SizesDdsSpacingLocalX05
21106
- };
21107
- var inputMultilineWithLabelBase = {
21108
- paddingTop: Spacing$g.SizesDdsSpacingLocalX2
21109
- };
21110
- var inputMultilineNoLabelBase = {
21111
- paddingTop: Spacing$g.SizesDdsSpacingLocalX075
21112
- };
21113
21487
  var inputReadOnlyBase = {
21114
21488
  border: 'none',
21115
21489
  backgroundColor: 'transparent',
21116
- paddingLeft: Spacing$g.SizesDdsSpacingLocalX1
21490
+ paddingLeft: Spacing$f.SizesDdsSpacingLocalX1
21117
21491
  };
21118
21492
  var inputLabelBase = {
21119
- padding: Spacing$g.SizesDdsSpacingLocalX075 + " " + Spacing$g.SizesDdsSpacingLocalX1
21493
+ padding: Spacing$f.SizesDdsSpacingLocalX075 + " " + Spacing$f.SizesDdsSpacingLocalX1
21120
21494
  };
21121
- var inputLabel = {
21122
- base: inputLabelBase,
21123
- multiline: {
21124
- base: {
21125
- backgroundColor: Colors$b.DdsColorNeutralsWhite,
21126
- padding: Spacing$g.SizesDdsSpacingLocalX075NumberPx - 1 + "px " + Spacing$g.SizesDdsSpacingLocalX1 + " 0px " + (Spacing$g.SizesDdsSpacingLocalX1NumberPx - 1) + "px"
21127
- }
21128
- },
21129
- hover: {
21130
- base: {
21131
- color: TextInput$2.label.hover.textColor
21132
- }
21133
- },
21134
- focus: {
21135
- base: {
21136
- color: TextInput$2.label.focus.textColor
21137
- }
21138
- }
21495
+ var inputLabelHoverBase = {
21496
+ color: TextInput$2.label.hover.textColor
21139
21497
  };
21140
- var defaultWidth$2 = '320px';
21141
- var containerTokens = {
21142
- multiline: {
21143
- withLabel: {
21144
- height: '99px'
21145
- },
21146
- noLabel: {
21147
- height: '78px'
21148
- }
21149
- }
21498
+ var inputLabelFocusBase = {
21499
+ color: TextInput$2.label.focus.textColor
21500
+ };
21501
+ var inputLabelDisabledBase = {
21502
+ color: Colors$b.DdsColorNeutralsGray6
21150
21503
  };
21151
21504
  var inputTokens = {
21152
21505
  general: TextInput$2,
@@ -21164,15 +21517,6 @@ var inputTokens = {
21164
21517
  disabled: {
21165
21518
  base: inputDisabledBase
21166
21519
  },
21167
- multiline: {
21168
- base: inputMultilineBase,
21169
- withLabel: {
21170
- base: inputMultilineWithLabelBase
21171
- },
21172
- noLabel: {
21173
- base: inputMultilineNoLabelBase
21174
- }
21175
- },
21176
21520
  error: {
21177
21521
  base: inputErrorBase,
21178
21522
  hover: {
@@ -21182,38 +21526,20 @@ var inputTokens = {
21182
21526
  base: inputErrorFocusBase
21183
21527
  }
21184
21528
  },
21185
- label: inputLabel,
21186
- wrapper: {
21187
- defaultWidth: defaultWidth$2
21188
- },
21189
- container: containerTokens
21190
- };
21191
-
21192
- var Spacing$f = ddsBaseTokens.spacing;
21193
- var charCounterBase = {
21194
- padding: Spacing$f.SizesDdsSpacingLocalX025 + " " + Spacing$f.SizesDdsSpacingLocalX05
21195
- };
21196
- var charCounterTokens = {
21197
- base: charCounterBase
21529
+ label: {
21530
+ base: inputLabelBase,
21531
+ hover: {
21532
+ base: inputLabelHoverBase
21533
+ },
21534
+ focus: {
21535
+ base: inputLabelFocusBase
21536
+ },
21537
+ disabled: {
21538
+ base: inputLabelDisabledBase
21539
+ }
21540
+ }
21198
21541
  };
21199
21542
 
21200
- var Wrapper$3 = styled(Typography).withConfig({
21201
- displayName: "CharCounter__Wrapper",
21202
- componentId: "sc-qty1z2-0"
21203
- })(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n margin-left: auto;\n ", "\n"], ["\n margin-left: auto;\n ", "\n"])), charCounterTokens.base);
21204
-
21205
- function CharCounter(_a) {
21206
- var current = _a.current,
21207
- max = _a.max;
21208
- return jsxRuntime.jsxs(Wrapper$3, __assign({
21209
- forwardedAs: "div",
21210
- typographyType: "supportingStyleHelperText01"
21211
- }, {
21212
- children: [current, "/", max]
21213
- }), void 0);
21214
- }
21215
- var templateObject_1$s;
21216
-
21217
21543
  var TextInput$1 = ddsReferenceTokens.textInput;
21218
21544
 
21219
21545
  var stylingBase = __assign({
@@ -21236,45 +21562,64 @@ var hoverBase$1 = {
21236
21562
  backgroundColor: TextInput$1.input.hover.backgroundColor
21237
21563
  };
21238
21564
  var inputFieldStylingBase = function inputFieldStylingBase() {
21239
- return Ae(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled, &:active:enabled {\n ", "\n }\n\n &:hover:enabled {\n ", "\n }\n "], ["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled, &:active:enabled {\n ", "\n }\n\n &:hover:enabled {\n ", "\n }\n "])), typographyTokens.selection.base, stylingBase, focusBase$1, hoverBase$1);
21565
+ return Ae(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled:read-write, &:focus-visible:enabled:read-write, &:active:enabled:read-write {\n ", "\n }\n &:focus {\n outline: none;\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n "], ["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled:read-write, &:focus-visible:enabled:read-write, &:active:enabled:read-write {\n ", "\n }\n &:focus {\n outline: none;\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n "])), typographyTokens.selection.base, stylingBase, focusBase$1, hoverBase$1);
21240
21566
  };
21241
- var templateObject_1$r;
21242
-
21243
- var scrollbarStyling = Ae(templateObject_1$q || (templateObject_1$q = __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 /* 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"])), ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.35)', ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.5)');
21244
- var templateObject_1$q;
21567
+ var templateObject_1$t;
21245
21568
 
21246
- var InputStyling = function InputStyling(_a) {
21569
+ var inputStyling = function inputStyling(_a) {
21247
21570
  var readOnly = _a.readOnly,
21248
21571
  errorMessage = _a.errorMessage,
21249
21572
  label = _a.label,
21250
21573
  disabled = _a.disabled;
21251
- return Ae(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n ", "\n ", "\n box-sizing: border-box;\n ", ";\n\n &:hover:enabled ~ label {\n ", "\n }\n &:focus:enabled ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n box-sizing: border-box;\n ", ";\n\n &:hover:enabled ~ label {\n ", "\n }\n &:focus:enabled ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "])), inputFieldStylingBase, inputTokens.base, label ? Ae(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.withLabel.base) : Ae(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.noLabel.base), inputTokens.label.hover.base, inputTokens.label.focus.base, disabled && Ae(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n cursor: not-allowed;\n ", "\n "], ["\n cursor: not-allowed;\n ", "\n "])), inputTokens.disabled.base), errorMessage && Ae(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n ", "\n &:hover:enabled {\n ", "\n }\n &:focus:enabled,\n &:active:enabled {\n ", "\n }\n "], ["\n ", "\n &:hover:enabled {\n ", "\n }\n &:focus:enabled,\n &:active:enabled {\n ", "\n }\n "])), inputTokens.error.base, inputTokens.error.hover.base, inputTokens.error.focus.base), readOnly && Ae(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n cursor: default;\n ", "\n "], ["\n cursor: default;\n ", "\n "])), inputTokens.readOnly.base));
21574
+ return Ae(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n ", "\n ", "\n box-sizing: border-box;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n box-sizing: border-box;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "])), inputFieldStylingBase, inputTokens.base, label ? Ae(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.withLabel.base) : Ae(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.noLabel.base), inputTokens.label.hover.base, inputTokens.label.focus.base, disabled && Ae(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n cursor: not-allowed;\n ", "\n "], ["\n cursor: not-allowed;\n ", "\n "])), inputTokens.disabled.base), errorMessage && Ae(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n ", "\n &:hover:enabled:read-write {\n ", "\n }\n &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n "], ["\n ", "\n &:hover:enabled:read-write {\n ", "\n }\n &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n "])), inputTokens.error.base, inputTokens.error.hover.base, inputTokens.error.focus.base), readOnly && Ae(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n cursor: default;\n ", "\n "], ["\n cursor: default;\n ", "\n "])), inputTokens.readOnly.base));
21252
21575
  };
21253
-
21254
21576
  var Input$2 = styled.input.withConfig({
21255
- displayName: "TextInputstyles__Input",
21256
- componentId: "sc-165zflr-0"
21257
- })(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
21577
+ displayName: "Inputstyles__Input",
21578
+ componentId: "sc-1oz9x8w-0"
21579
+ })(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
21258
21580
  var label = _a.label,
21259
21581
  disabled = _a.disabled,
21260
21582
  readOnly = _a.readOnly,
21261
21583
  errorMessage = _a.errorMessage;
21262
- return InputStyling({
21584
+ return inputStyling({
21263
21585
  readOnly: readOnly,
21264
21586
  errorMessage: errorMessage,
21265
21587
  label: label,
21266
21588
  disabled: disabled
21267
21589
  });
21268
21590
  });
21591
+ var SingleLineLabel = styled(Typography).withConfig({
21592
+ displayName: "Inputstyles__SingleLineLabel",
21593
+ componentId: "sc-1oz9x8w-1"
21594
+ })(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n transition: color 0.2s, background-color 0.2s;\n ", "\n ", "\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n transition: color 0.2s, background-color 0.2s;\n ", "\n ", "\n"])), inputTokens.label.base, function (_a) {
21595
+ var disabled = _a.disabled;
21596
+ return disabled && Ae(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.label.disabled.base);
21597
+ });
21598
+ var InputContainer$2 = styled.div.withConfig({
21599
+ displayName: "Inputstyles__InputContainer",
21600
+ componentId: "sc-1oz9x8w-2"
21601
+ })(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
21602
+ var OuterInputContainer = styled.div.withConfig({
21603
+ displayName: "Inputstyles__OuterInputContainer",
21604
+ componentId: "sc-1oz9x8w-3"
21605
+ })(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) {
21606
+ var width = _a.width;
21607
+ return width;
21608
+ });
21609
+ 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;
21610
+
21611
+ 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)');
21612
+ var templateObject_1$r;
21613
+
21269
21614
  var TextArea = styled.textarea.withConfig({
21270
21615
  displayName: "TextInputstyles__TextArea",
21271
- componentId: "sc-165zflr-1"
21272
- })(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", "\n resize: vertical;\n height: auto;\n ", "\n min-height: ", ";\n ", "\n ", "\n\n &:hover:enabled ~ label {\n background-color: ", ";\n }\n"], ["\n ", "\n resize: vertical;\n height: auto;\n ", "\n min-height: ", ";\n ", "\n ", "\n\n &:hover:enabled ~ label {\n background-color: ", ";\n }\n"])), function (_a) {
21616
+ componentId: "sc-165zflr-0"
21617
+ })(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n ", "\n resize: vertical;\n height: auto;\n ", "\n min-height: ", ";\n ", "\n ", "\n\n &:hover:enabled:read-write ~ label {\n background-color: ", ";\n }\n"], ["\n ", "\n resize: vertical;\n height: auto;\n ", "\n min-height: ", ";\n ", "\n ", "\n\n &:hover:enabled:read-write ~ label {\n background-color: ", ";\n }\n"])), function (_a) {
21273
21618
  var label = _a.label,
21274
21619
  disabled = _a.disabled,
21275
21620
  readOnly = _a.readOnly,
21276
21621
  errorMessage = _a.errorMessage;
21277
- return InputStyling({
21622
+ return inputStyling({
21278
21623
  readOnly: readOnly,
21279
21624
  errorMessage: errorMessage,
21280
21625
  label: label,
@@ -21282,61 +21627,54 @@ var TextArea = styled.textarea.withConfig({
21282
21627
  });
21283
21628
  }, scrollbarStyling, function (_a) {
21284
21629
  var label = _a.label;
21285
- return label ? inputTokens.container.multiline.withLabel.height : inputTokens.container.multiline.noLabel.height;
21286
- }, inputTokens.multiline.base, function (_a) {
21630
+ return label ? textInputTokens.container.multiline.withLabel.height : textInputTokens.container.multiline.noLabel.height;
21631
+ }, textInputTokens.multiline.base, function (_a) {
21287
21632
  var label = _a.label;
21288
- return label ? Ae(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.multiline.withLabel.base) : Ae(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.multiline.noLabel.base);
21633
+ return label ? Ae(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.multiline.withLabel.base) : Ae(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.multiline.noLabel.base);
21289
21634
  }, function (_a) {
21290
21635
  var errorMessage = _a.errorMessage;
21291
21636
  return errorMessage ? inputTokens.error.hover.base.backgroundColor : inputTokens.general.input.hover.backgroundColor;
21292
21637
  });
21293
- var FlexContainer = styled.div.withConfig({
21294
- displayName: "TextInputstyles__FlexContainer",
21295
- componentId: "sc-165zflr-2"
21296
- })(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n"], ["\n display: flex;\n justify-content: space-between;\n"])));
21297
- var Label$1 = styled(Typography).withConfig({
21638
+ var MessageContainer = styled.div.withConfig({
21639
+ displayName: "TextInputstyles__MessageContainer",
21640
+ componentId: "sc-165zflr-1"
21641
+ })(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n"], ["\n display: flex;\n justify-content: space-between;\n"])));
21642
+ var Label$1 = styled(SingleLineLabel).withConfig({
21298
21643
  displayName: "TextInputstyles__Label",
21299
- componentId: "sc-165zflr-3"
21300
- })(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n transition: color 0.2s, background-color 0.2s;\n ", "\n ", "\n ", "\n ", "\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n transition: color 0.2s, background-color 0.2s;\n ", "\n ", "\n ", "\n ", "\n"])), inputTokens.label.base, function (_a) {
21644
+ componentId: "sc-165zflr-2"
21645
+ })(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), function (_a) {
21301
21646
  var multiline = _a.multiline;
21302
- return multiline && Ae(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n margin: 1px;\n width: calc(100% - 20px);\n ", "\n "], ["\n margin: 1px;\n width: calc(100% - 20px);\n ", "\n "])), inputTokens.label.multiline.base);
21647
+ return multiline && Ae(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n margin: 1px;\n width: calc(100% - 20px);\n ", "\n "], ["\n margin: 1px;\n width: calc(100% - 20px);\n ", "\n "])), textInputTokens.label.multiline.base);
21303
21648
  }, function (_a) {
21304
21649
  var disabled = _a.disabled,
21305
21650
  multiline = _a.multiline;
21306
- return disabled && multiline && Ae(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.disabled.base.backgroundColor);
21651
+ return disabled && multiline && Ae(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.disabled.base.backgroundColor);
21307
21652
  }, function (_a) {
21308
21653
  var readOnly = _a.readOnly,
21309
21654
  multiline = _a.multiline;
21310
- return readOnly && multiline && Ae(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.readOnly.base.backgroundColor);
21655
+ return readOnly && multiline && Ae(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.readOnly.base.backgroundColor);
21311
21656
  });
21312
- var InputFieldWrapper = styled.div.withConfig({
21313
- displayName: "TextInputstyles__InputFieldWrapper",
21314
- componentId: "sc-165zflr-4"
21315
- })(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n width: ", ";\n"])), function (_a) {
21316
- var width = _a.width;
21317
- return width;
21318
- });
21319
- var InputFieldContainer = styled.div.withConfig({
21320
- displayName: "TextInputstyles__InputFieldContainer",
21321
- componentId: "sc-165zflr-5"
21322
- })(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n ", "\n height: ", ";\n"], ["\n position: relative;\n width: 100%;\n ", "\n height: ", ";\n"])), function (_a) {
21657
+ var InputContainer$1 = styled(InputContainer$2).withConfig({
21658
+ displayName: "TextInputstyles__InputContainer",
21659
+ componentId: "sc-165zflr-3"
21660
+ })(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", "\n height: ", ";\n"], ["\n ", "\n height: ", ";\n"])), function (_a) {
21323
21661
  var multiline = _a.multiline;
21324
- return multiline && Ae(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n display: inline-block;\n "], ["\n display: inline-block;\n "])));
21662
+ return multiline && Ae(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n display: inline-block;\n "], ["\n display: inline-block;\n "])));
21325
21663
  }, function (_a) {
21326
21664
  var multiline = _a.multiline,
21327
21665
  label = _a.label;
21328
21666
 
21329
21667
  if (multiline) {
21330
21668
  if (label) {
21331
- return inputTokens.container.multiline.withLabel.height;
21669
+ return textInputTokens.container.multiline.withLabel.height;
21332
21670
  }
21333
21671
 
21334
- return inputTokens.container.multiline.noLabel.height;
21672
+ return textInputTokens.container.multiline.noLabel.height;
21335
21673
  }
21336
21674
  });
21337
- var templateObject_1$p, 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, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18;
21675
+ 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;
21338
21676
 
21339
- var nextUniqueId$2 = 0;
21677
+ var nextUniqueId$3 = 0;
21340
21678
  var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
21341
21679
  var label = _a.label,
21342
21680
  disabled = _a.disabled,
@@ -21349,7 +21687,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
21349
21687
  onChange = _a.onChange,
21350
21688
  id = _a.id,
21351
21689
  _b = _a.width,
21352
- width = _b === void 0 ? inputTokens.wrapper.defaultWidth : _b,
21690
+ width = _b === void 0 ? textInputTokens.wrapper.defaultWidth : _b,
21353
21691
  _c = _a.type,
21354
21692
  type = _c === void 0 ? 'text' : _c,
21355
21693
  className = _a.className,
@@ -21399,35 +21737,37 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
21399
21737
  }
21400
21738
  };
21401
21739
 
21402
- var uniqueId = React.useState(id !== null && id !== void 0 ? id : "textInput-" + nextUniqueId$2++)[0];
21740
+ var uniqueId = React.useState(id !== null && id !== void 0 ? id : "textInput-" + nextUniqueId$3++)[0];
21403
21741
 
21404
21742
  var generalInputProps = __assign({
21405
21743
  id: uniqueId,
21406
21744
  label: label,
21407
21745
  errorMessage: errorMessage,
21408
- disabled: disabled || readOnly,
21746
+ disabled: disabled,
21409
21747
  readOnly: readOnly,
21748
+ tabIndex: readOnly ? -1 : 0,
21410
21749
  maxLength: maxLength
21411
21750
  }, rest);
21412
21751
 
21413
- var wrapperProps = {
21414
- className: className,
21415
- style: style,
21416
- width: width
21417
- };
21418
21752
  var labelProps = {
21419
21753
  multiline: multiline,
21420
21754
  disabled: disabled,
21421
21755
  readOnly: readOnly
21422
21756
  };
21423
- return jsxRuntime.jsxs(InputFieldWrapper, __assign({}, wrapperProps, {
21424
- children: [jsxRuntime.jsxs(InputFieldContainer, __assign({
21425
- style: multiline ? {
21426
- minHeight: parentHeight
21427
- } : {},
21428
- multiline: multiline,
21429
- label: label
21430
- }, {
21757
+ var inputContainerProps = {
21758
+ style: multiline ? {
21759
+ minHeight: parentHeight
21760
+ } : {},
21761
+ multiline: multiline,
21762
+ label: label
21763
+ };
21764
+ var outerInputContainerProps = {
21765
+ className: className,
21766
+ style: style,
21767
+ width: width
21768
+ };
21769
+ return jsxRuntime.jsxs(OuterInputContainer, __assign({}, outerInputContainerProps, {
21770
+ children: [jsxRuntime.jsxs(InputContainer$1, __assign({}, inputContainerProps, {
21431
21771
  children: [multiline ? jsxRuntime.jsx(TextArea, __assign({
21432
21772
  ref: textAreaRef,
21433
21773
  style: {
@@ -21447,7 +21787,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
21447
21787
  }, {
21448
21788
  children: [label, " ", required && jsxRuntime.jsx(RequiredMarker, {}, void 0)]
21449
21789
  }), void 0)]
21450
- }), void 0), jsxRuntime.jsxs(FlexContainer, {
21790
+ }), void 0), jsxRuntime.jsxs(MessageContainer, {
21451
21791
  children: [errorMessage && jsxRuntime.jsx(InputMessage, {
21452
21792
  message: errorMessage,
21453
21793
  messageType: "error"
@@ -28529,7 +28869,7 @@ var prefix = 'dds-select';
28529
28869
  var Label = styled(Typography).withConfig({
28530
28870
  displayName: "Selectstyles__Label",
28531
28871
  componentId: "sc-19jkd5s-0"
28532
- })(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n display: block;\n ", "\n"], ["\n display: block;\n ", "\n"])), selectTokens.label.base);
28872
+ })(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n display: block;\n ", "\n"], ["\n display: block;\n ", "\n"])), selectTokens.label.base);
28533
28873
  var Container$5 = styled.div.withConfig({
28534
28874
  displayName: "Selectstyles__Container",
28535
28875
  componentId: "sc-19jkd5s-1"
@@ -28626,7 +28966,7 @@ var CustomStyles = {
28626
28966
  return {};
28627
28967
  }
28628
28968
  };
28629
- var templateObject_1$o, templateObject_2$i, templateObject_3$c, templateObject_4$a, templateObject_5$7, templateObject_6$6, templateObject_7$4, templateObject_8$1, templateObject_9$1;
28969
+ 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;
28630
28970
 
28631
28971
  var DdsOption = components.Option,
28632
28972
  NoOptionsMessage = components.NoOptionsMessage;
@@ -28655,7 +28995,7 @@ function searchFilter(text, search) {
28655
28995
  var searchFilterRegex = new RegExp("(?:^|[\\s-(])" + escapeRegexCharacters(search.toLowerCase()));
28656
28996
  return searchFilterRegex.test(text.toLowerCase());
28657
28997
  }
28658
- var nextUniqueId$1 = 0;
28998
+ var nextUniqueId$2 = 0;
28659
28999
  var Select = /*#__PURE__*/React.forwardRef(function (_a, ref) {
28660
29000
  var id = _a.id,
28661
29001
  label = _a.label,
@@ -28677,7 +29017,7 @@ var Select = /*#__PURE__*/React.forwardRef(function (_a, ref) {
28677
29017
  placeholder = _d === void 0 ? '-- Velg fra listen --' : _d,
28678
29018
  rest = __rest(_a, ["id", "label", "errorMessage", "tip", "required", "readOnly", "options", "value", "defaultValue", "width", "className", "style", "isDisabled", "isClearable", "placeholder"]);
28679
29019
 
28680
- var uniqueId = React.useState(id !== null && id !== void 0 ? id : "select-" + nextUniqueId$1++)[0];
29020
+ var uniqueId = React.useState(id !== null && id !== void 0 ? id : "select-" + nextUniqueId$2++)[0];
28681
29021
  var wrapperProps = {
28682
29022
  width: width
28683
29023
  };
@@ -28894,7 +29234,7 @@ var Container$4 = styled.div.withConfig({
28894
29234
  componentId: "sc-bf2l65-0"
28895
29235
  })(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n ", "\n"])), function (_a) {
28896
29236
  var purpose = _a.purpose;
28897
- return purpose && Ae(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), globalMessageTokens.container.base, globalMessageTokens.container[purpose].base);
29237
+ return purpose && Ae(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), globalMessageTokens.container.base, globalMessageTokens.container[purpose].base);
28898
29238
  });
28899
29239
  var MessageIconWrapper$1 = styled(IconWrapper$1).withConfig({
28900
29240
  displayName: "GlobalMessage__MessageIconWrapper",
@@ -28916,8 +29256,9 @@ var GlobalMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
28916
29256
  _b = _a.purpose,
28917
29257
  purpose = _b === void 0 ? 'info' : _b,
28918
29258
  closable = _a.closable,
29259
+ onClose = _a.onClose,
28919
29260
  children = _a.children,
28920
- rest = __rest(_a, ["message", "purpose", "closable", "children"]);
29261
+ rest = __rest(_a, ["message", "purpose", "closable", "onClose", "children"]);
28921
29262
 
28922
29263
  var _c = React.useState(false),
28923
29264
  isClosed = _c[0],
@@ -28948,14 +29289,15 @@ var GlobalMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
28948
29289
  purpose: buttonPurpose,
28949
29290
  appearance: "borderless",
28950
29291
  onClick: function onClick() {
28951
- return setClosed(true);
29292
+ setClosed(true);
29293
+ onClose && onClose();
28952
29294
  },
28953
29295
  size: "small"
28954
29296
  }, void 0)
28955
29297
  }, void 0)]
28956
29298
  }), void 0) : null;
28957
29299
  });
28958
- var templateObject_1$n, templateObject_2$h, templateObject_3$b, templateObject_4$9, templateObject_5$6, templateObject_6$5;
29300
+ var templateObject_1$o, templateObject_2$h, templateObject_3$b, templateObject_4$9, templateObject_5$6, templateObject_6$5;
28959
29301
 
28960
29302
  var CheckCircleOutlined = createCommonjsModule(function (module, exports) {
28961
29303
 
@@ -29164,7 +29506,7 @@ var Container$3 = styled.div.withConfig({
29164
29506
  return layout === 'vertical' ? 'column' : 'row';
29165
29507
  }, function (_a) {
29166
29508
  var layout = _a.layout;
29167
- return layout === 'horisontal' && Ae(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n align-items: center;\n justify-content: space-between;\n "], ["\n align-items: center;\n justify-content: space-between;\n "])));
29509
+ return layout === 'horisontal' && Ae(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n align-items: center;\n justify-content: space-between;\n "], ["\n align-items: center;\n justify-content: space-between;\n "])));
29168
29510
  }, typographyTokens.selection.base, function (_a) {
29169
29511
  var purpose = _a.purpose;
29170
29512
  return purpose && Ae(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), localMessageTokens.container.base, localMessageTokens.container[purpose].base);
@@ -29198,12 +29540,13 @@ var LocalMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29198
29540
  _b = _a.purpose,
29199
29541
  purpose = _b === void 0 ? 'info' : _b,
29200
29542
  closable = _a.closable,
29543
+ onClose = _a.onClose,
29201
29544
  _c = _a.width,
29202
29545
  width = _c === void 0 ? localMessageTokens.container.defaultWidth : _c,
29203
29546
  _d = _a.layout,
29204
29547
  layout = _d === void 0 ? 'horisontal' : _d,
29205
29548
  children = _a.children,
29206
- rest = __rest(_a, ["message", "purpose", "closable", "width", "layout", "children"]);
29549
+ rest = __rest(_a, ["message", "purpose", "closable", "onClose", "width", "layout", "children"]);
29207
29550
 
29208
29551
  var _e = React.useState(false),
29209
29552
  isClosed = _e[0],
@@ -29239,7 +29582,8 @@ var LocalMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29239
29582
  purpose: buttonPurpose,
29240
29583
  appearance: "borderless",
29241
29584
  onClick: function onClick() {
29242
- return setClosed(true);
29585
+ setClosed(true);
29586
+ onClose && onClose();
29243
29587
  },
29244
29588
  size: "small"
29245
29589
  }, void 0);
@@ -29260,7 +29604,7 @@ var LocalMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29260
29604
  }, void 0)
29261
29605
  }), void 0) : null;
29262
29606
  });
29263
- var templateObject_1$m, templateObject_2$g, templateObject_3$a, templateObject_4$8, templateObject_5$5, templateObject_6$4, templateObject_7$3, templateObject_8, templateObject_9;
29607
+ var templateObject_1$n, templateObject_2$g, templateObject_3$a, templateObject_4$8, templateObject_5$5, templateObject_6$4, templateObject_7$3, templateObject_8, templateObject_9;
29264
29608
 
29265
29609
  var SearchOutlined = createCommonjsModule(function (module, exports) {
29266
29610
 
@@ -29342,7 +29686,7 @@ var Input = styled.input.withConfig({
29342
29686
  componentId: "sc-1ax3s9s-0"
29343
29687
  })(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n &[type='search']::-webkit-search-decoration,\n &[type='search']::-webkit-search-cancel-button,\n &[type='search']::-webkit-search-results-button,\n &[type='search']::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n ", "\n ", "\n\n ", "\n\n padding-left: ", ";\n"], ["\n &[type='search']::-webkit-search-decoration,\n &[type='search']::-webkit-search-cancel-button,\n &[type='search']::-webkit-search-results-button,\n &[type='search']::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n ", "\n ", "\n\n ", "\n\n padding-left: ", ";\n"])), inputFieldStylingBase, searchTokens.input.base, function (_a) {
29344
29688
  var componentSize = _a.componentSize;
29345
- return componentSize && Ae(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), searchTokens.input[componentSize].base);
29689
+ return componentSize && Ae(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), searchTokens.input[componentSize].base);
29346
29690
  }, searchTokens.input.spaceLeft);
29347
29691
  var IconWrapper = styled.span.withConfig({
29348
29692
  displayName: "Search__IconWrapper",
@@ -29411,7 +29755,7 @@ var Search = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29411
29755
  }, void 0)]
29412
29756
  }), void 0);
29413
29757
  });
29414
- var templateObject_1$l, templateObject_2$f, templateObject_3$9, templateObject_4$7, templateObject_5$4, templateObject_6$3, templateObject_7$2;
29758
+ var templateObject_1$m, templateObject_2$f, templateObject_3$9, templateObject_4$7, templateObject_5$4, templateObject_6$3, templateObject_7$2;
29415
29759
 
29416
29760
  var Colors$7 = ddsBaseTokens.colors,
29417
29761
  Spacing$a = ddsBaseTokens.spacing;
@@ -29465,7 +29809,7 @@ var StyledTable = styled.table.withConfig({
29465
29809
  componentId: "sc-bw0w0a-0"
29466
29810
  })(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n border-spacing: 0;\n border-collapse: collapse;\n *::selection {\n ", "\n }\n ", "\n ", "\n ", "\n"], ["\n border-spacing: 0;\n border-collapse: collapse;\n *::selection {\n ", "\n }\n ", "\n ", "\n ", "\n"])), typographyTokens.selection.base, scrollbarStyling, function (_a) {
29467
29811
  var density = _a.density;
29468
- return density && Ae(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n td,\n th {\n ", "\n }\n "], ["\n td,\n th {\n ", "\n }\n "])), cellTokens.density[density].base);
29812
+ return density && Ae(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n td,\n th {\n ", "\n }\n "], ["\n td,\n th {\n ", "\n }\n "])), cellTokens.density[density].base);
29469
29813
  }, function (_a) {
29470
29814
  var stickyHeader = _a.stickyHeader;
29471
29815
  return stickyHeader && Ae(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n tr[type='head'] {\n th[type='head'] {\n position: sticky;\n top: 0;\n }\n }\n "], ["\n tr[type='head'] {\n th[type='head'] {\n position: sticky;\n top: 0;\n }\n }\n "])));
@@ -29485,12 +29829,12 @@ var Table = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29485
29829
  children: children
29486
29830
  }), void 0);
29487
29831
  });
29488
- var templateObject_1$k, templateObject_2$e, templateObject_3$8;
29832
+ var templateObject_1$l, templateObject_2$e, templateObject_3$8;
29489
29833
 
29490
29834
  var StyledBody = styled.tbody.withConfig({
29491
29835
  displayName: "Body__StyledBody",
29492
29836
  componentId: "sc-67qjfs-0"
29493
- })(templateObject_1$j || (templateObject_1$j = __makeTemplateObject([""], [""])));
29837
+ })(templateObject_1$k || (templateObject_1$k = __makeTemplateObject([""], [""])));
29494
29838
  var Body$1 = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29495
29839
  var children = _a.children,
29496
29840
  rest = __rest(_a, ["children"]);
@@ -29503,12 +29847,12 @@ var Body$1 = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29503
29847
  children: children
29504
29848
  }), void 0);
29505
29849
  });
29506
- var templateObject_1$j;
29850
+ var templateObject_1$k;
29507
29851
 
29508
29852
  var StyledHead = styled.thead.withConfig({
29509
29853
  displayName: "Head__StyledHead",
29510
29854
  componentId: "sc-vzd2kv-0"
29511
- })(templateObject_1$i || (templateObject_1$i = __makeTemplateObject([""], [""])));
29855
+ })(templateObject_1$j || (templateObject_1$j = __makeTemplateObject([""], [""])));
29512
29856
  var Head = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29513
29857
  var children = _a.children,
29514
29858
  rest = __rest(_a, ["children"]);
@@ -29521,7 +29865,7 @@ var Head = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29521
29865
  children: children
29522
29866
  }), void 0);
29523
29867
  });
29524
- var templateObject_1$i;
29868
+ var templateObject_1$j;
29525
29869
 
29526
29870
  var Colors$6 = ddsBaseTokens.colors,
29527
29871
  FontPackages$6 = ddsBaseTokens.fontPackages,
@@ -29589,7 +29933,7 @@ var rowTokens = {
29589
29933
  };
29590
29934
 
29591
29935
  var bodyStyles = function bodyStyles(mode, selected) {
29592
- return Ae(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), mode && Ae(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.mode[mode].base), selected && Ae(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.selected.base));
29936
+ return Ae(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), mode && Ae(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.mode[mode].base), selected && Ae(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.selected.base));
29593
29937
  };
29594
29938
 
29595
29939
  var StyledRow = styled.tr.withConfig({
@@ -29624,12 +29968,12 @@ var Row = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29624
29968
  children: children
29625
29969
  }), void 0);
29626
29970
  });
29627
- var templateObject_1$h, templateObject_2$d, templateObject_3$7, templateObject_4$6, templateObject_5$3, templateObject_6$2, templateObject_7$1;
29971
+ var templateObject_1$i, templateObject_2$d, templateObject_3$7, templateObject_4$6, templateObject_5$3, templateObject_6$2, templateObject_7$1;
29628
29972
 
29629
29973
  var layoutStyle = function layoutStyle(layout) {
29630
29974
  switch (layout) {
29631
29975
  case 'center':
29632
- return Ae(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "])));
29976
+ return Ae(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "])));
29633
29977
 
29634
29978
  case 'right':
29635
29979
  return Ae(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n justify-content: flex-end;\n "], ["\n justify-content: flex-end;\n "])));
@@ -29695,7 +30039,7 @@ var Cell = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29695
30039
  }), void 0)
29696
30040
  }), void 0);
29697
30041
  });
29698
- var templateObject_1$g, templateObject_2$c, templateObject_3$6, templateObject_4$5, templateObject_5$2, templateObject_6$1;
30042
+ var templateObject_1$h, templateObject_2$c, templateObject_3$6, templateObject_4$5, templateObject_5$2, templateObject_6$1;
29699
30043
 
29700
30044
  var KeyboardArrowDown = createCommonjsModule(function (module, exports) {
29701
30045
 
@@ -29772,7 +30116,7 @@ var UnfoldMoreIcon = /*@__PURE__*/getDefaultExportFromCjs(UnfoldMore);
29772
30116
  var SortIconWrapper = styled(IconWrapper$1).withConfig({
29773
30117
  displayName: "SortCell__SortIconWrapper",
29774
30118
  componentId: "sc-1l3jzvh-0"
29775
- })(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), cellTokens.head.sortCell.icon.base);
30119
+ })(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), cellTokens.head.sortCell.icon.base);
29776
30120
  var StyledCell = styled(Cell).withConfig({
29777
30121
  displayName: "SortCell__StyledCell",
29778
30122
  componentId: "sc-1l3jzvh-1"
@@ -29801,12 +30145,12 @@ var SortCell = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29801
30145
  children: [children, " ", IconRenderer(isSorted, sortOrder)]
29802
30146
  }), void 0);
29803
30147
  });
29804
- var templateObject_1$f, templateObject_2$b;
30148
+ var templateObject_1$g, templateObject_2$b;
29805
30149
 
29806
30150
  var StyledFoot = styled.tfoot.withConfig({
29807
30151
  displayName: "Foot__StyledFoot",
29808
30152
  componentId: "sc-tfpehd-0"
29809
- })(templateObject_1$e || (templateObject_1$e = __makeTemplateObject([""], [""])));
30153
+ })(templateObject_1$f || (templateObject_1$f = __makeTemplateObject([""], [""])));
29810
30154
  var Foot = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29811
30155
  var children = _a.children,
29812
30156
  rest = __rest(_a, ["children"]);
@@ -29819,14 +30163,14 @@ var Foot = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29819
30163
  children: children
29820
30164
  }), void 0);
29821
30165
  });
29822
- var templateObject_1$e;
30166
+ var templateObject_1$f;
29823
30167
 
29824
30168
  var Wrapper$1 = styled.div.withConfig({
29825
30169
  displayName: "TableWrapper__Wrapper",
29826
30170
  componentId: "sc-eb384b-0"
29827
30171
  })(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (_a) {
29828
30172
  var overflowX = _a.overflowX;
29829
- return overflowX && Ae(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n overflow-x: auto;\n "], ["\n overflow-x: auto;\n "])));
30173
+ return overflowX && Ae(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n overflow-x: auto;\n "], ["\n overflow-x: auto;\n "])));
29830
30174
  }, scrollbarStyling);
29831
30175
  var TableWrapper = function TableWrapper(_a) {
29832
30176
  var children = _a.children,
@@ -29873,7 +30217,7 @@ var TableWrapper = function TableWrapper(_a) {
29873
30217
  children: children
29874
30218
  }), void 0);
29875
30219
  };
29876
- var templateObject_1$d, templateObject_2$a;
30220
+ var templateObject_1$e, templateObject_2$a;
29877
30221
 
29878
30222
  var Breadcrumb = /*#__PURE__*/React.forwardRef(function (_a, ref) {
29879
30223
  var children = _a.children,
@@ -29959,7 +30303,7 @@ var breadcrumbTokens = {
29959
30303
  var List$2 = styled.ol.withConfig({
29960
30304
  displayName: "Breadcrumbs__List",
29961
30305
  componentId: "sc-xdj21o-0"
29962
- })(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n list-style: none;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"], ["\n list-style: none;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"])));
30306
+ })(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n list-style: none;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"], ["\n list-style: none;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"])));
29963
30307
  var ListItem$2 = styled.li.withConfig({
29964
30308
  displayName: "Breadcrumbs__ListItem",
29965
30309
  componentId: "sc-xdj21o-1"
@@ -30003,7 +30347,7 @@ var Breadcrumbs = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30003
30347
  }, void 0)
30004
30348
  }), void 0);
30005
30349
  });
30006
- var templateObject_1$c, templateObject_2$9, templateObject_3$5, templateObject_4$4;
30350
+ var templateObject_1$d, templateObject_2$9, templateObject_3$5, templateObject_4$4;
30007
30351
 
30008
30352
  var ChevronLeftOutlined = createCommonjsModule(function (module, exports) {
30009
30353
 
@@ -30163,7 +30507,7 @@ var paginationTokens = {
30163
30507
  var Nav = styled.nav.withConfig({
30164
30508
  displayName: "Pagination__Nav",
30165
30509
  componentId: "sc-5ltegq-0"
30166
- })(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
30510
+ })(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
30167
30511
  var List$1 = styled.ol.withConfig({
30168
30512
  displayName: "Pagination__List",
30169
30513
  componentId: "sc-5ltegq-1"
@@ -30364,7 +30708,7 @@ var Pagination = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30364
30708
  }, void 0), navigationToBeRendered]
30365
30709
  }), void 0);
30366
30710
  });
30367
- var templateObject_1$b, templateObject_2$8, templateObject_3$4, templateObject_4$3, templateObject_5$1, templateObject_6, templateObject_7;
30711
+ var templateObject_1$c, templateObject_2$8, templateObject_3$4, templateObject_4$3, templateObject_5$1, templateObject_6, templateObject_7;
30368
30712
 
30369
30713
  var Colors$3 = ddsBaseTokens.colors,
30370
30714
  Border$1 = ddsBaseTokens.border,
@@ -30389,7 +30733,7 @@ var DividerLine = styled.hr.withConfig({
30389
30733
  componentId: "sc-ggdopz-0"
30390
30734
  })(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), dividerTokens.base, function (_a) {
30391
30735
  var color = _a.color;
30392
- return color && Ae(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n border-color: ", ";\n "], ["\n border-color: ", ";\n "])), dividerColors[color]);
30736
+ return color && Ae(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n border-color: ", ";\n "], ["\n border-color: ", ";\n "])), dividerColors[color]);
30393
30737
  });
30394
30738
  var Divider = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30395
30739
  var _b = _a.color,
@@ -30404,7 +30748,7 @@ var Divider = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30404
30748
  ref: ref
30405
30749
  }, lineProps), void 0);
30406
30750
  });
30407
- var templateObject_1$a, templateObject_2$7;
30751
+ var templateObject_1$b, templateObject_2$7;
30408
30752
 
30409
30753
  var img$2 = "data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='6.7085' cy='6.7085' r='2.625' fill='%230B0D0E'/%3e%3c/svg%3e";
30410
30754
 
@@ -30471,10 +30815,10 @@ var StyledList = styled.ul.withConfig({
30471
30815
  componentId: "sc-1f1c7eb-0"
30472
30816
  })(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n ", "\n ul, ol {\n margin: 0;\n }\n *::selection {\n ", "\n }\n ", "\n ", "\n"], ["\n ", "\n ul, ol {\n margin: 0;\n }\n *::selection {\n ", "\n }\n ", "\n ", "\n"])), listTokens.base, typographyTokens.selection.base, function (_a) {
30473
30817
  var typographyType = _a.typographyType;
30474
- return typographyType && Ae(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n ", "\n ul,\n ol {\n ", "\n }\n "], ["\n ", "\n ul,\n ol {\n ", "\n }\n "])), listTokens.sizes[typographyType], listTokens.sizes[typographyType]);
30818
+ 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]);
30475
30819
  }, function (_a) {
30476
30820
  var listType = _a.listType;
30477
- 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);
30821
+ 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);
30478
30822
  });
30479
30823
  var List = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30480
30824
  var _b = _a.listType,
@@ -30497,12 +30841,12 @@ var List = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30497
30841
  children: children
30498
30842
  }), void 0);
30499
30843
  });
30500
- var templateObject_1$9, templateObject_2$6, templateObject_3$3, templateObject_4$2;
30844
+ var templateObject_1$a, templateObject_2$6, templateObject_3$3, templateObject_4$2;
30501
30845
 
30502
30846
  var StyledListItem = styled.li.withConfig({
30503
30847
  displayName: "ListItem__StyledListItem",
30504
30848
  componentId: "sc-17s9l0b-0"
30505
- })(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), listItemTokens.base);
30849
+ })(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), listItemTokens.base);
30506
30850
  var ListItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30507
30851
  var children = _a.children,
30508
30852
  rest = __rest(_a, ["children"]);
@@ -30513,7 +30857,7 @@ var ListItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30513
30857
  children: children
30514
30858
  }), void 0);
30515
30859
  });
30516
- var templateObject_1$8;
30860
+ var templateObject_1$9;
30517
30861
 
30518
30862
  var Spacing$4 = ddsBaseTokens.spacing,
30519
30863
  FontPackages$4 = ddsBaseTokens.fontPackages,
@@ -30546,7 +30890,7 @@ var DList = styled.dl.withConfig({
30546
30890
  componentId: "sc-1ob73hm-0"
30547
30891
  })(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n margin: 0;\n *::selection {\n ", "\n }\n ", "\n & > dt:first-child {\n margin-top: ", ";\n }\n & > dd:last-child {\n margin-bottom: ", ";\n }\n dd + dt {\n margin-top: ", ";\n }\n"], ["\n margin: 0;\n *::selection {\n ", "\n }\n ", "\n & > dt:first-child {\n margin-top: ", ";\n }\n & > dd:last-child {\n margin-bottom: ", ";\n }\n dd + dt {\n margin-top: ", ";\n }\n"])), typographyTokens.selection.base, function (_a) {
30548
30892
  var appearance = _a.appearance;
30549
- return appearance && Ae(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n dt {\n ", "\n }\n "], ["\n dt {\n ", "\n }\n "])), descriptionListTermTokens.appearance[appearance].base);
30893
+ return appearance && Ae(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n dt {\n ", "\n }\n "], ["\n dt {\n ", "\n }\n "])), descriptionListTermTokens.appearance[appearance].base);
30550
30894
  }, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedBetweenSpace);
30551
30895
  var DescriptionList = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30552
30896
  var _b = _a.appearance,
@@ -30563,12 +30907,12 @@ var DescriptionList = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30563
30907
  children: children
30564
30908
  }), void 0);
30565
30909
  });
30566
- var templateObject_1$7, templateObject_2$5;
30910
+ var templateObject_1$8, templateObject_2$5;
30567
30911
 
30568
30912
  var DListTerm = styled.dt.withConfig({
30569
30913
  displayName: "DescriptionListTerm__DListTerm",
30570
30914
  componentId: "sc-10w0rzr-0"
30571
- })(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject([""], [""])));
30915
+ })(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject([""], [""])));
30572
30916
  var DescriptionListTerm = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30573
30917
  var children = _a.children,
30574
30918
  rest = __rest(_a, ["children"]);
@@ -30581,7 +30925,7 @@ var DescriptionListTerm = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30581
30925
  children: children
30582
30926
  }), void 0);
30583
30927
  });
30584
- var templateObject_1$6;
30928
+ var templateObject_1$7;
30585
30929
 
30586
30930
  var Spacing$3 = ddsBaseTokens.spacing,
30587
30931
  FontPackages$3 = ddsBaseTokens.fontPackages;
@@ -30604,7 +30948,7 @@ var descriptionListDescTokens = {
30604
30948
  var DListDesc = styled.dd.withConfig({
30605
30949
  displayName: "DescriptionListDesc__DListDesc",
30606
30950
  componentId: "sc-1djcf0s-0"
30607
- })(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n ", "\n display: flex;\n align-items: center;\n margin-inline-start: 0;\n"], ["\n ", "\n display: flex;\n align-items: center;\n margin-inline-start: 0;\n"])), descriptionListDescTokens.base);
30951
+ })(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n ", "\n display: flex;\n align-items: center;\n margin-inline-start: 0;\n"], ["\n ", "\n display: flex;\n align-items: center;\n margin-inline-start: 0;\n"])), descriptionListDescTokens.base);
30608
30952
  var StyledIconWrapper = styled(IconWrapper$1).withConfig({
30609
30953
  displayName: "DescriptionListDesc__StyledIconWrapper",
30610
30954
  componentId: "sc-1djcf0s-1"
@@ -30625,7 +30969,7 @@ var DescriptionListDesc = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30625
30969
  }, void 0), " ", children]
30626
30970
  }), void 0);
30627
30971
  });
30628
- var templateObject_1$5, templateObject_2$4;
30972
+ var templateObject_1$6, templateObject_2$4;
30629
30973
 
30630
30974
  var Spacing$2 = ddsBaseTokens.spacing;
30631
30975
  var base$3 = {
@@ -30640,7 +30984,7 @@ var DListGroup = styled.div.withConfig({
30640
30984
  componentId: "sc-jkdc0o-0"
30641
30985
  })(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), descriptionListGroupTokens.base, function (_a) {
30642
30986
  var margin = _a.margin;
30643
- return margin && Ae(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n margin: ", ";\n "], ["\n margin: ", ";\n "])), margin);
30987
+ return margin && Ae(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n margin: ", ";\n "], ["\n margin: ", ";\n "])), margin);
30644
30988
  });
30645
30989
  var DescriptionListGroup = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30646
30990
  var children = _a.children,
@@ -30655,7 +30999,7 @@ var DescriptionListGroup = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30655
30999
  children: children
30656
31000
  }), void 0);
30657
31001
  });
30658
- var templateObject_1$4, templateObject_2$3;
31002
+ var templateObject_1$5, templateObject_2$3;
30659
31003
 
30660
31004
  var Colors$1 = ddsBaseTokens.colors,
30661
31005
  Border = ddsBaseTokens.border,
@@ -30725,7 +31069,7 @@ var Container = styled.div.withConfig({
30725
31069
  componentId: "sc-410ao9-0"
30726
31070
  })(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\n ", "\n &::selection, *::selection {\n ", "\n }\n transition: box-shadow 0.2s, border-color 0.2s;\n ", "\n ", "\n"], ["\n ", "\n &::selection, *::selection {\n ", "\n }\n transition: box-shadow 0.2s, border-color 0.2s;\n ", "\n ", "\n"])), cardTokens.base, typographyTokens.selection.base, function (_a) {
30727
31071
  var color = _a.color;
30728
- return color && Ae(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), cardTokens.colors[color].base);
31072
+ return color && Ae(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), cardTokens.colors[color].base);
30729
31073
  }, function (_a) {
30730
31074
  var cardType = _a.cardType;
30731
31075
  return cardType === 'navigation' && Ae(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n text-decoration: none;\n &:hover {\n ", "\n }\n &:focus {\n outline: none;\n ", "\n }\n "], ["\n text-decoration: none;\n &:hover {\n ", "\n }\n &:focus {\n outline: none;\n ", "\n }\n "])), cardTokens.navigation.hover.base, cardTokens.navigation.focus.base);
@@ -30751,13 +31095,13 @@ var Card = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30751
31095
  children: children
30752
31096
  }), void 0);
30753
31097
  });
30754
- var templateObject_1$3, templateObject_2$2, templateObject_3$2;
31098
+ var templateObject_1$4, templateObject_2$2, templateObject_3$2;
30755
31099
 
30756
31100
  var Wrapper = styled.div.withConfig({
30757
31101
  displayName: "CardAccordion__Wrapper",
30758
31102
  componentId: "sc-1ctxrby-0"
30759
- })(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject([""], [""])));
30760
- var nextUniqueId = 0;
31103
+ })(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject([""], [""])));
31104
+ var nextUniqueId$1 = 0;
30761
31105
  var CardAccordion = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30762
31106
  var isExpanded = _a.isExpanded,
30763
31107
  id = _a.id,
@@ -30768,7 +31112,7 @@ var CardAccordion = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30768
31112
  expanded = _b[0],
30769
31113
  setExpanded = _b[1];
30770
31114
 
30771
- var uniqueId = nextUniqueId++;
31115
+ var uniqueId = nextUniqueId$1++;
30772
31116
  var accordionId = React.useState(id !== null && id !== void 0 ? id : "cardAccordion-" + uniqueId)[0];
30773
31117
  React.useEffect(function () {
30774
31118
  setExpanded(isExpanded);
@@ -30801,7 +31145,7 @@ var CardAccordion = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30801
31145
  children: Children
30802
31146
  }), void 0);
30803
31147
  });
30804
- var templateObject_1$2;
31148
+ var templateObject_1$3;
30805
31149
 
30806
31150
  var Spacing$1 = ddsBaseTokens.spacing,
30807
31151
  FontPackages$1 = ddsBaseTokens.fontPackages,
@@ -30830,7 +31174,7 @@ var cardAccordionHeaderTokens = {
30830
31174
  var ContentWrapper = styled.div.withConfig({
30831
31175
  displayName: "CardAccordionHeader__ContentWrapper",
30832
31176
  componentId: "sc-1qs6bkj-0"
30833
- })(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject([""], [""])));
31177
+ })(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject([""], [""])));
30834
31178
  var HeaderContainer = styled.div.withConfig({
30835
31179
  displayName: "CardAccordionHeader__HeaderContainer",
30836
31180
  componentId: "sc-1qs6bkj-1"
@@ -30900,7 +31244,7 @@ var CardAccordionHeader = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30900
31244
  }), void 0)
30901
31245
  }), void 0);
30902
31246
  });
30903
- var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4$1, templateObject_5;
31247
+ var templateObject_1$2, templateObject_2$1, templateObject_3$1, templateObject_4$1, templateObject_5;
30904
31248
 
30905
31249
  var Spacing = ddsBaseTokens.spacing,
30906
31250
  FontPackages = ddsBaseTokens.fontPackages;
@@ -30913,7 +31257,7 @@ var cardAccordionBodyTokens = {
30913
31257
  base: base
30914
31258
  };
30915
31259
 
30916
- var expandingAnimation = Ae(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n transition: visibility 0.3s, max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n"], ["\n transition: visibility 0.3s, max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n"])));
31260
+ var expandingAnimation = Ae(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n transition: visibility 0.3s, max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n"], ["\n transition: visibility 0.3s, max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n"])));
30917
31261
  var Body = styled.div.withConfig({
30918
31262
  displayName: "CardAccordionBody__Body",
30919
31263
  componentId: "sc-igsnpx-0"
@@ -30971,7 +31315,73 @@ var CardAccordionBody = /*#__PURE__*/React.forwardRef(function (_a, ref) {
30971
31315
  }), void 0)
30972
31316
  }), void 0);
30973
31317
  });
30974
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
31318
+ var templateObject_1$1, templateObject_2, templateObject_3, templateObject_4;
31319
+
31320
+ var getWidth = function getWidth(type) {
31321
+ return type === 'date' ? '205px' : type === 'datetime-local' ? '235px' : '320px';
31322
+ };
31323
+
31324
+ var StyledInput = styled(Input$2).withConfig({
31325
+ displayName: "Datepicker__StyledInput",
31326
+ componentId: "sc-1ijxhje-0"
31327
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ::-webkit-calendar-picker-indicator {\n margin-left: 0px;\n }\n"], ["\n ::-webkit-calendar-picker-indicator {\n margin-left: 0px;\n }\n"])));
31328
+ var nextUniqueId = 0;
31329
+ var Datepicker = /*#__PURE__*/React.forwardRef(function (_a, ref) {
31330
+ var id = _a.id,
31331
+ _b = _a.type,
31332
+ type = _b === void 0 ? 'date' : _b,
31333
+ required = _a.required,
31334
+ readOnly = _a.readOnly,
31335
+ disabled = _a.disabled,
31336
+ label = _a.label,
31337
+ width = _a.width,
31338
+ errorMessage = _a.errorMessage,
31339
+ tip = _a.tip,
31340
+ style = _a.style,
31341
+ className = _a.className,
31342
+ rest = __rest(_a, ["id", "type", "required", "readOnly", "disabled", "label", "width", "errorMessage", "tip", "style", "className"]);
31343
+
31344
+ var uniqueId = React.useState(id !== null && id !== void 0 ? id : "datepickerInput-" + nextUniqueId++)[0];
31345
+ var componentWidth = width ? width : getWidth(type);
31346
+
31347
+ var inputProps = __assign({
31348
+ label: label,
31349
+ errorMessage: errorMessage,
31350
+ ref: ref,
31351
+ readOnly: readOnly,
31352
+ tabIndex: readOnly ? -1 : 0,
31353
+ required: required,
31354
+ disabled: disabled,
31355
+ type: type
31356
+ }, rest);
31357
+
31358
+ var outerInputContainerProps = {
31359
+ width: componentWidth,
31360
+ style: style,
31361
+ className: className
31362
+ };
31363
+ var labelProps = {
31364
+ htmlFor: uniqueId,
31365
+ disabled: disabled
31366
+ };
31367
+ return jsxRuntime.jsxs(OuterInputContainer, __assign({}, outerInputContainerProps, {
31368
+ children: [jsxRuntime.jsxs(InputContainer$2, {
31369
+ children: [jsxRuntime.jsx(StyledInput, __assign({}, inputProps), void 0), label && jsxRuntime.jsxs(SingleLineLabel, __assign({}, labelProps, {
31370
+ typographyType: "supportingStyleLabel01",
31371
+ forwardedAs: "label"
31372
+ }, {
31373
+ children: [label, " ", required && jsxRuntime.jsx(RequiredMarker, {}, void 0)]
31374
+ }), void 0)]
31375
+ }, void 0), errorMessage && jsxRuntime.jsx(InputMessage, {
31376
+ message: errorMessage,
31377
+ messageType: "error"
31378
+ }, void 0), tip && !errorMessage && jsxRuntime.jsx(InputMessage, {
31379
+ message: tip,
31380
+ messageType: "tip"
31381
+ }, void 0)]
31382
+ }), void 0);
31383
+ });
31384
+ var templateObject_1;
30975
31385
 
30976
31386
  exports.Body = Body$1;
30977
31387
  exports.Breadcrumb = Breadcrumb;
@@ -30984,6 +31394,7 @@ exports.CardAccordionHeader = CardAccordionHeader;
30984
31394
  exports.Cell = Cell;
30985
31395
  exports.Checkbox = Checkbox;
30986
31396
  exports.CheckboxGroup = CheckboxGroup;
31397
+ exports.Datepicker = Datepicker;
30987
31398
  exports.DescriptionList = DescriptionList;
30988
31399
  exports.DescriptionListDesc = DescriptionListDesc;
30989
31400
  exports.DescriptionListGroup = DescriptionListGroup;