@norges-domstoler/dds-components 0.0.12 → 0.0.16
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/components/Breadcrumbs/Breadcrumb.tokens.d.ts +3 -0
- package/dist/components/Button/Button.styles.d.ts +17 -9
- package/dist/components/GlobalMessage/GlobalMessage.d.ts +2 -0
- package/dist/components/LocalMessage/LocalMessage.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +678 -270
- package/dist/index.js +695 -287
- package/package.json +2 -1
package/dist/index.es.js
CHANGED
|
@@ -3,6 +3,344 @@ import React__default, { useRef, useDebugValue, useContext, createElement, forwa
|
|
|
3
3
|
import * as ReactDOM from 'react-dom';
|
|
4
4
|
import { createPortal } from 'react-dom';
|
|
5
5
|
|
|
6
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
7
|
+
|
|
8
|
+
function getDefaultExportFromCjs (x) {
|
|
9
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
function getAugmentedNamespace(n) {
|
|
13
|
+
if (n.__esModule) return n;
|
|
14
|
+
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
15
|
+
Object.keys(n).forEach(function (k) {
|
|
16
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
17
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () {
|
|
20
|
+
return n[k];
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
return a;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function createCommonjsModule(fn) {
|
|
28
|
+
var module = { exports: {} };
|
|
29
|
+
return fn(module, module.exports), module.exports;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
createCommonjsModule(function (module, exports) {
|
|
33
|
+
(function (global, factory) {
|
|
34
|
+
factory() ;
|
|
35
|
+
}(commonjsGlobal, (function () {
|
|
36
|
+
/**
|
|
37
|
+
* Applies the :focus-visible polyfill at the given scope.
|
|
38
|
+
* A scope in this case is either the top-level Document or a Shadow Root.
|
|
39
|
+
*
|
|
40
|
+
* @param {(Document|ShadowRoot)} scope
|
|
41
|
+
* @see https://github.com/WICG/focus-visible
|
|
42
|
+
*/
|
|
43
|
+
function applyFocusVisiblePolyfill(scope) {
|
|
44
|
+
var hadKeyboardEvent = true;
|
|
45
|
+
var hadFocusVisibleRecently = false;
|
|
46
|
+
var hadFocusVisibleRecentlyTimeout = null;
|
|
47
|
+
|
|
48
|
+
var inputTypesAllowlist = {
|
|
49
|
+
text: true,
|
|
50
|
+
search: true,
|
|
51
|
+
url: true,
|
|
52
|
+
tel: true,
|
|
53
|
+
email: true,
|
|
54
|
+
password: true,
|
|
55
|
+
number: true,
|
|
56
|
+
date: true,
|
|
57
|
+
month: true,
|
|
58
|
+
week: true,
|
|
59
|
+
time: true,
|
|
60
|
+
datetime: true,
|
|
61
|
+
'datetime-local': true
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Helper function for legacy browsers and iframes which sometimes focus
|
|
66
|
+
* elements like document, body, and non-interactive SVG.
|
|
67
|
+
* @param {Element} el
|
|
68
|
+
*/
|
|
69
|
+
function isValidFocusTarget(el) {
|
|
70
|
+
if (
|
|
71
|
+
el &&
|
|
72
|
+
el !== document &&
|
|
73
|
+
el.nodeName !== 'HTML' &&
|
|
74
|
+
el.nodeName !== 'BODY' &&
|
|
75
|
+
'classList' in el &&
|
|
76
|
+
'contains' in el.classList
|
|
77
|
+
) {
|
|
78
|
+
return true;
|
|
79
|
+
}
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Computes whether the given element should automatically trigger the
|
|
85
|
+
* `focus-visible` class being added, i.e. whether it should always match
|
|
86
|
+
* `:focus-visible` when focused.
|
|
87
|
+
* @param {Element} el
|
|
88
|
+
* @return {boolean}
|
|
89
|
+
*/
|
|
90
|
+
function focusTriggersKeyboardModality(el) {
|
|
91
|
+
var type = el.type;
|
|
92
|
+
var tagName = el.tagName;
|
|
93
|
+
|
|
94
|
+
if (tagName === 'INPUT' && inputTypesAllowlist[type] && !el.readOnly) {
|
|
95
|
+
return true;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
if (tagName === 'TEXTAREA' && !el.readOnly) {
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (el.isContentEditable) {
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Add the `focus-visible` class to the given element if it was not added by
|
|
111
|
+
* the author.
|
|
112
|
+
* @param {Element} el
|
|
113
|
+
*/
|
|
114
|
+
function addFocusVisibleClass(el) {
|
|
115
|
+
if (el.classList.contains('focus-visible')) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
el.classList.add('focus-visible');
|
|
119
|
+
el.setAttribute('data-focus-visible-added', '');
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Remove the `focus-visible` class from the given element if it was not
|
|
124
|
+
* originally added by the author.
|
|
125
|
+
* @param {Element} el
|
|
126
|
+
*/
|
|
127
|
+
function removeFocusVisibleClass(el) {
|
|
128
|
+
if (!el.hasAttribute('data-focus-visible-added')) {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
el.classList.remove('focus-visible');
|
|
132
|
+
el.removeAttribute('data-focus-visible-added');
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* If the most recent user interaction was via the keyboard;
|
|
137
|
+
* and the key press did not include a meta, alt/option, or control key;
|
|
138
|
+
* then the modality is keyboard. Otherwise, the modality is not keyboard.
|
|
139
|
+
* Apply `focus-visible` to any current active element and keep track
|
|
140
|
+
* of our keyboard modality state with `hadKeyboardEvent`.
|
|
141
|
+
* @param {KeyboardEvent} e
|
|
142
|
+
*/
|
|
143
|
+
function onKeyDown(e) {
|
|
144
|
+
if (e.metaKey || e.altKey || e.ctrlKey) {
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (isValidFocusTarget(scope.activeElement)) {
|
|
149
|
+
addFocusVisibleClass(scope.activeElement);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
hadKeyboardEvent = true;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* If at any point a user clicks with a pointing device, ensure that we change
|
|
157
|
+
* the modality away from keyboard.
|
|
158
|
+
* This avoids the situation where a user presses a key on an already focused
|
|
159
|
+
* element, and then clicks on a different element, focusing it with a
|
|
160
|
+
* pointing device, while we still think we're in keyboard modality.
|
|
161
|
+
* @param {Event} e
|
|
162
|
+
*/
|
|
163
|
+
function onPointerDown(e) {
|
|
164
|
+
hadKeyboardEvent = false;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* On `focus`, add the `focus-visible` class to the target if:
|
|
169
|
+
* - the target received focus as a result of keyboard navigation, or
|
|
170
|
+
* - the event target is an element that will likely require interaction
|
|
171
|
+
* via the keyboard (e.g. a text box)
|
|
172
|
+
* @param {Event} e
|
|
173
|
+
*/
|
|
174
|
+
function onFocus(e) {
|
|
175
|
+
// Prevent IE from focusing the document or HTML element.
|
|
176
|
+
if (!isValidFocusTarget(e.target)) {
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {
|
|
181
|
+
addFocusVisibleClass(e.target);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* On `blur`, remove the `focus-visible` class from the target.
|
|
187
|
+
* @param {Event} e
|
|
188
|
+
*/
|
|
189
|
+
function onBlur(e) {
|
|
190
|
+
if (!isValidFocusTarget(e.target)) {
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
if (
|
|
195
|
+
e.target.classList.contains('focus-visible') ||
|
|
196
|
+
e.target.hasAttribute('data-focus-visible-added')
|
|
197
|
+
) {
|
|
198
|
+
// To detect a tab/window switch, we look for a blur event followed
|
|
199
|
+
// rapidly by a visibility change.
|
|
200
|
+
// If we don't see a visibility change within 100ms, it's probably a
|
|
201
|
+
// regular focus change.
|
|
202
|
+
hadFocusVisibleRecently = true;
|
|
203
|
+
window.clearTimeout(hadFocusVisibleRecentlyTimeout);
|
|
204
|
+
hadFocusVisibleRecentlyTimeout = window.setTimeout(function() {
|
|
205
|
+
hadFocusVisibleRecently = false;
|
|
206
|
+
}, 100);
|
|
207
|
+
removeFocusVisibleClass(e.target);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* If the user changes tabs, keep track of whether or not the previously
|
|
213
|
+
* focused element had .focus-visible.
|
|
214
|
+
* @param {Event} e
|
|
215
|
+
*/
|
|
216
|
+
function onVisibilityChange(e) {
|
|
217
|
+
if (document.visibilityState === 'hidden') {
|
|
218
|
+
// If the tab becomes active again, the browser will handle calling focus
|
|
219
|
+
// on the element (Safari actually calls it twice).
|
|
220
|
+
// If this tab change caused a blur on an element with focus-visible,
|
|
221
|
+
// re-apply the class when the user switches back to the tab.
|
|
222
|
+
if (hadFocusVisibleRecently) {
|
|
223
|
+
hadKeyboardEvent = true;
|
|
224
|
+
}
|
|
225
|
+
addInitialPointerMoveListeners();
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Add a group of listeners to detect usage of any pointing devices.
|
|
231
|
+
* These listeners will be added when the polyfill first loads, and anytime
|
|
232
|
+
* the window is blurred, so that they are active when the window regains
|
|
233
|
+
* focus.
|
|
234
|
+
*/
|
|
235
|
+
function addInitialPointerMoveListeners() {
|
|
236
|
+
document.addEventListener('mousemove', onInitialPointerMove);
|
|
237
|
+
document.addEventListener('mousedown', onInitialPointerMove);
|
|
238
|
+
document.addEventListener('mouseup', onInitialPointerMove);
|
|
239
|
+
document.addEventListener('pointermove', onInitialPointerMove);
|
|
240
|
+
document.addEventListener('pointerdown', onInitialPointerMove);
|
|
241
|
+
document.addEventListener('pointerup', onInitialPointerMove);
|
|
242
|
+
document.addEventListener('touchmove', onInitialPointerMove);
|
|
243
|
+
document.addEventListener('touchstart', onInitialPointerMove);
|
|
244
|
+
document.addEventListener('touchend', onInitialPointerMove);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
function removeInitialPointerMoveListeners() {
|
|
248
|
+
document.removeEventListener('mousemove', onInitialPointerMove);
|
|
249
|
+
document.removeEventListener('mousedown', onInitialPointerMove);
|
|
250
|
+
document.removeEventListener('mouseup', onInitialPointerMove);
|
|
251
|
+
document.removeEventListener('pointermove', onInitialPointerMove);
|
|
252
|
+
document.removeEventListener('pointerdown', onInitialPointerMove);
|
|
253
|
+
document.removeEventListener('pointerup', onInitialPointerMove);
|
|
254
|
+
document.removeEventListener('touchmove', onInitialPointerMove);
|
|
255
|
+
document.removeEventListener('touchstart', onInitialPointerMove);
|
|
256
|
+
document.removeEventListener('touchend', onInitialPointerMove);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* When the polfyill first loads, assume the user is in keyboard modality.
|
|
261
|
+
* If any event is received from a pointing device (e.g. mouse, pointer,
|
|
262
|
+
* touch), turn off keyboard modality.
|
|
263
|
+
* This accounts for situations where focus enters the page from the URL bar.
|
|
264
|
+
* @param {Event} e
|
|
265
|
+
*/
|
|
266
|
+
function onInitialPointerMove(e) {
|
|
267
|
+
// Work around a Safari quirk that fires a mousemove on <html> whenever the
|
|
268
|
+
// window blurs, even if you're tabbing out of the page. ¯\_(ツ)_/¯
|
|
269
|
+
if (e.target.nodeName && e.target.nodeName.toLowerCase() === 'html') {
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
hadKeyboardEvent = false;
|
|
274
|
+
removeInitialPointerMoveListeners();
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// For some kinds of state, we are interested in changes at the global scope
|
|
278
|
+
// only. For example, global pointer input, global key presses and global
|
|
279
|
+
// visibility change should affect the state at every scope:
|
|
280
|
+
document.addEventListener('keydown', onKeyDown, true);
|
|
281
|
+
document.addEventListener('mousedown', onPointerDown, true);
|
|
282
|
+
document.addEventListener('pointerdown', onPointerDown, true);
|
|
283
|
+
document.addEventListener('touchstart', onPointerDown, true);
|
|
284
|
+
document.addEventListener('visibilitychange', onVisibilityChange, true);
|
|
285
|
+
|
|
286
|
+
addInitialPointerMoveListeners();
|
|
287
|
+
|
|
288
|
+
// For focus and blur, we specifically care about state changes in the local
|
|
289
|
+
// scope. This is because focus / blur events that originate from within a
|
|
290
|
+
// shadow root are not re-dispatched from the host element if it was already
|
|
291
|
+
// the active element in its own scope:
|
|
292
|
+
scope.addEventListener('focus', onFocus, true);
|
|
293
|
+
scope.addEventListener('blur', onBlur, true);
|
|
294
|
+
|
|
295
|
+
// We detect that a node is a ShadowRoot by ensuring that it is a
|
|
296
|
+
// DocumentFragment and also has a host property. This check covers native
|
|
297
|
+
// implementation and polyfill implementation transparently. If we only cared
|
|
298
|
+
// about the native implementation, we could just check if the scope was
|
|
299
|
+
// an instance of a ShadowRoot.
|
|
300
|
+
if (scope.nodeType === Node.DOCUMENT_FRAGMENT_NODE && scope.host) {
|
|
301
|
+
// Since a ShadowRoot is a special kind of DocumentFragment, it does not
|
|
302
|
+
// have a root element to add a class to. So, we add this attribute to the
|
|
303
|
+
// host element instead:
|
|
304
|
+
scope.host.setAttribute('data-js-focus-visible', '');
|
|
305
|
+
} else if (scope.nodeType === Node.DOCUMENT_NODE) {
|
|
306
|
+
document.documentElement.classList.add('js-focus-visible');
|
|
307
|
+
document.documentElement.setAttribute('data-js-focus-visible', '');
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
// It is important to wrap all references to global window and document in
|
|
312
|
+
// these checks to support server-side rendering use cases
|
|
313
|
+
// @see https://github.com/WICG/focus-visible/issues/199
|
|
314
|
+
if (typeof window !== 'undefined' && typeof document !== 'undefined') {
|
|
315
|
+
// Make the polyfill helper globally available. This can be used as a signal
|
|
316
|
+
// to interested libraries that wish to coordinate with the polyfill for e.g.,
|
|
317
|
+
// applying the polyfill to a shadow root:
|
|
318
|
+
window.applyFocusVisiblePolyfill = applyFocusVisiblePolyfill;
|
|
319
|
+
|
|
320
|
+
// Notify interested libraries of the polyfill's presence, in case the
|
|
321
|
+
// polyfill was loaded lazily:
|
|
322
|
+
var event;
|
|
323
|
+
|
|
324
|
+
try {
|
|
325
|
+
event = new CustomEvent('focus-visible-polyfill-ready');
|
|
326
|
+
} catch (error) {
|
|
327
|
+
// IE11 does not support using CustomEvent as a constructor directly:
|
|
328
|
+
event = document.createEvent('CustomEvent');
|
|
329
|
+
event.initCustomEvent('focus-visible-polyfill-ready', false, false, {});
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
window.dispatchEvent(event);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
if (typeof document !== 'undefined') {
|
|
336
|
+
// Apply the polyfill to the global document, so that no JavaScript
|
|
337
|
+
// coordination is required to use the polyfill in the top-level document:
|
|
338
|
+
applyFocusVisiblePolyfill(document);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
})));
|
|
342
|
+
});
|
|
343
|
+
|
|
6
344
|
/*! *****************************************************************************
|
|
7
345
|
Copyright (c) Microsoft Corporation.
|
|
8
346
|
|
|
@@ -56,41 +394,17 @@ function __makeTemplateObject(cooked, raw) {
|
|
|
56
394
|
return cooked;
|
|
57
395
|
}
|
|
58
396
|
|
|
59
|
-
function getDefaultExportFromCjs (x) {
|
|
60
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
function getAugmentedNamespace(n) {
|
|
64
|
-
if (n.__esModule) return n;
|
|
65
|
-
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
66
|
-
Object.keys(n).forEach(function (k) {
|
|
67
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
68
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
get: function () {
|
|
71
|
-
return n[k];
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
});
|
|
75
|
-
return a;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
function createCommonjsModule(fn) {
|
|
79
|
-
var module = { exports: {} };
|
|
80
|
-
return fn(module, module.exports), module.exports;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
397
|
/*
|
|
84
398
|
object-assign
|
|
85
399
|
(c) Sindre Sorhus
|
|
86
400
|
@license MIT
|
|
87
401
|
*/
|
|
88
402
|
/* eslint-disable no-unused-vars */
|
|
89
|
-
var getOwnPropertySymbols$
|
|
90
|
-
var hasOwnProperty$
|
|
91
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
403
|
+
var getOwnPropertySymbols$2 = Object.getOwnPropertySymbols;
|
|
404
|
+
var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
|
|
405
|
+
var propIsEnumerable$1 = Object.prototype.propertyIsEnumerable;
|
|
92
406
|
|
|
93
|
-
function toObject(val) {
|
|
407
|
+
function toObject$1(val) {
|
|
94
408
|
if (val === null || val === undefined) {
|
|
95
409
|
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
96
410
|
}
|
|
@@ -98,7 +412,7 @@ function toObject(val) {
|
|
|
98
412
|
return Object(val);
|
|
99
413
|
}
|
|
100
414
|
|
|
101
|
-
function shouldUseNative() {
|
|
415
|
+
function shouldUseNative$1() {
|
|
102
416
|
try {
|
|
103
417
|
if (!Object.assign) {
|
|
104
418
|
return false;
|
|
@@ -142,24 +456,24 @@ function shouldUseNative() {
|
|
|
142
456
|
}
|
|
143
457
|
}
|
|
144
458
|
|
|
145
|
-
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
459
|
+
var objectAssign$1 = shouldUseNative$1() ? Object.assign : function (target, source) {
|
|
146
460
|
var from;
|
|
147
|
-
var to = toObject(target);
|
|
461
|
+
var to = toObject$1(target);
|
|
148
462
|
var symbols;
|
|
149
463
|
|
|
150
464
|
for (var s = 1; s < arguments.length; s++) {
|
|
151
465
|
from = Object(arguments[s]);
|
|
152
466
|
|
|
153
467
|
for (var key in from) {
|
|
154
|
-
if (hasOwnProperty$
|
|
468
|
+
if (hasOwnProperty$2.call(from, key)) {
|
|
155
469
|
to[key] = from[key];
|
|
156
470
|
}
|
|
157
471
|
}
|
|
158
472
|
|
|
159
|
-
if (getOwnPropertySymbols$
|
|
160
|
-
symbols = getOwnPropertySymbols$
|
|
473
|
+
if (getOwnPropertySymbols$2) {
|
|
474
|
+
symbols = getOwnPropertySymbols$2(from);
|
|
161
475
|
for (var i = 0; i < symbols.length; i++) {
|
|
162
|
-
if (propIsEnumerable.call(from, symbols[i])) {
|
|
476
|
+
if (propIsEnumerable$1.call(from, symbols[i])) {
|
|
163
477
|
to[symbols[i]] = from[symbols[i]];
|
|
164
478
|
}
|
|
165
479
|
}
|
|
@@ -198,7 +512,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
198
512
|
(function() {
|
|
199
513
|
|
|
200
514
|
var React = React__default;
|
|
201
|
-
var _assign = objectAssign;
|
|
515
|
+
var _assign = objectAssign$1;
|
|
202
516
|
|
|
203
517
|
// ATTENTION
|
|
204
518
|
// When adding new symbols to this file,
|
|
@@ -2665,7 +2979,7 @@ function getStatics(component) {
|
|
|
2665
2979
|
|
|
2666
2980
|
var defineProperty = Object.defineProperty;
|
|
2667
2981
|
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
|
2668
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
2982
|
+
var getOwnPropertySymbols$1 = Object.getOwnPropertySymbols;
|
|
2669
2983
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2670
2984
|
var getPrototypeOf = Object.getPrototypeOf;
|
|
2671
2985
|
var objectPrototype = Object.prototype;
|
|
@@ -2682,8 +2996,8 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
|
2682
2996
|
|
|
2683
2997
|
var keys = getOwnPropertyNames(sourceComponent);
|
|
2684
2998
|
|
|
2685
|
-
if (getOwnPropertySymbols) {
|
|
2686
|
-
keys = keys.concat(getOwnPropertySymbols(sourceComponent));
|
|
2999
|
+
if (getOwnPropertySymbols$1) {
|
|
3000
|
+
keys = keys.concat(getOwnPropertySymbols$1(sourceComponent));
|
|
2687
3001
|
}
|
|
2688
3002
|
|
|
2689
3003
|
var targetStatics = getStatics(targetComponent);
|
|
@@ -11423,10 +11737,10 @@ var ddsBaseTokens = {
|
|
|
11423
11737
|
fontPackages: fontPackages,
|
|
11424
11738
|
};
|
|
11425
11739
|
|
|
11426
|
-
var Colors$j = ddsBaseTokens.colors, FontPackages$
|
|
11740
|
+
var Colors$j = ddsBaseTokens.colors, FontPackages$h = ddsBaseTokens.fontPackages, BorderRadius$4 = ddsBaseTokens.borderRadius, Border$8 = ddsBaseTokens.border;
|
|
11427
11741
|
var textDefault$8 = {
|
|
11428
11742
|
textColor: Colors$j.DdsColorNeutralsGray9,
|
|
11429
|
-
font: FontPackages$
|
|
11743
|
+
font: FontPackages$h.body_sans_02.base,
|
|
11430
11744
|
};
|
|
11431
11745
|
var focus$1 = {
|
|
11432
11746
|
colorDefault: Colors$j.DdsColorWarningDarker,
|
|
@@ -11444,7 +11758,7 @@ var ddsReferenceTokens = {
|
|
|
11444
11758
|
borderWidth: Border$8.BordersDdsBorderStyle1StrokeWeight,
|
|
11445
11759
|
borderColor: Colors$j.DdsColorNeutralsGray5,
|
|
11446
11760
|
textColor: textDefault$8.textColor,
|
|
11447
|
-
font: FontPackages$
|
|
11761
|
+
font: FontPackages$h.supportingStyle_inputtext_02.base,
|
|
11448
11762
|
hover: {
|
|
11449
11763
|
backgroundColor: Colors$j.DdsColorInteractiveLightest,
|
|
11450
11764
|
borderColor: focus$1.color__TextInput,
|
|
@@ -11467,7 +11781,7 @@ var ddsReferenceTokens = {
|
|
|
11467
11781
|
};
|
|
11468
11782
|
|
|
11469
11783
|
var Colors$i = ddsBaseTokens.colors,
|
|
11470
|
-
FontPackages$
|
|
11784
|
+
FontPackages$g = ddsBaseTokens.fontPackages,
|
|
11471
11785
|
Spacing$o = ddsBaseTokens.spacing;
|
|
11472
11786
|
var textDefault$7 = ddsReferenceTokens.textDefault;
|
|
11473
11787
|
var textColors = {
|
|
@@ -11497,8 +11811,8 @@ var aBase = {
|
|
|
11497
11811
|
width: 'fit-content'
|
|
11498
11812
|
};
|
|
11499
11813
|
var aMarginsBase = {
|
|
11500
|
-
marginTop: FontPackages$
|
|
11501
|
-
marginBottom: FontPackages$
|
|
11814
|
+
marginTop: FontPackages$g.body_sans_02.paragraph.paragraphSpacing,
|
|
11815
|
+
marginBottom: FontPackages$g.body_sans_02.paragraph.paragraphSpacing
|
|
11502
11816
|
};
|
|
11503
11817
|
var aHoverBase = {
|
|
11504
11818
|
color: Colors$i.DdsColorInteractiveDark
|
|
@@ -11510,7 +11824,7 @@ var aFocusBase = {
|
|
|
11510
11824
|
outline: 'none'
|
|
11511
11825
|
};
|
|
11512
11826
|
|
|
11513
|
-
var aBoldBase = __assign(__assign({}, FontPackages$
|
|
11827
|
+
var aBoldBase = __assign(__assign({}, FontPackages$g.body_sans_02), {
|
|
11514
11828
|
fontWeight: 600
|
|
11515
11829
|
});
|
|
11516
11830
|
|
|
@@ -11526,268 +11840,268 @@ var italicBase = {
|
|
|
11526
11840
|
|
|
11527
11841
|
var headingSans01Base = __assign({
|
|
11528
11842
|
color: textDefault$7.textColor
|
|
11529
|
-
}, FontPackages$
|
|
11843
|
+
}, FontPackages$g.heading_sans_01.base);
|
|
11530
11844
|
|
|
11531
11845
|
var headingSans01MarginsBase = {
|
|
11532
|
-
marginTop: FontPackages$
|
|
11533
|
-
marginBottom: FontPackages$
|
|
11846
|
+
marginTop: FontPackages$g.heading_sans_01.paragraph.paragraphSpacing,
|
|
11847
|
+
marginBottom: FontPackages$g.heading_sans_01.paragraph.paragraphSpacing
|
|
11534
11848
|
};
|
|
11535
11849
|
|
|
11536
11850
|
var headingSans02Base = __assign({
|
|
11537
11851
|
color: textDefault$7.textColor
|
|
11538
|
-
}, FontPackages$
|
|
11852
|
+
}, FontPackages$g.heading_sans_02.base);
|
|
11539
11853
|
|
|
11540
11854
|
var headingSans02MarginsBase = {
|
|
11541
|
-
marginTop: FontPackages$
|
|
11542
|
-
marginBottom: FontPackages$
|
|
11855
|
+
marginTop: FontPackages$g.heading_sans_02.paragraph.paragraphSpacing,
|
|
11856
|
+
marginBottom: FontPackages$g.heading_sans_02.paragraph.paragraphSpacing
|
|
11543
11857
|
};
|
|
11544
11858
|
|
|
11545
11859
|
var headingSans03Base = __assign({
|
|
11546
11860
|
color: textDefault$7.textColor
|
|
11547
|
-
}, FontPackages$
|
|
11861
|
+
}, FontPackages$g.heading_sans_03.base);
|
|
11548
11862
|
|
|
11549
11863
|
var headingSans03MarginsBase = {
|
|
11550
|
-
marginTop: FontPackages$
|
|
11551
|
-
marginBottom: FontPackages$
|
|
11864
|
+
marginTop: FontPackages$g.heading_sans_03.paragraph.paragraphSpacing,
|
|
11865
|
+
marginBottom: FontPackages$g.heading_sans_03.paragraph.paragraphSpacing
|
|
11552
11866
|
};
|
|
11553
11867
|
|
|
11554
11868
|
var headingSans04Base = __assign({
|
|
11555
11869
|
color: textDefault$7.textColor
|
|
11556
|
-
}, FontPackages$
|
|
11870
|
+
}, FontPackages$g.heading_sans_04.base);
|
|
11557
11871
|
|
|
11558
11872
|
var headingSans04MarginsBase = {
|
|
11559
|
-
marginTop: FontPackages$
|
|
11560
|
-
marginBottom: FontPackages$
|
|
11873
|
+
marginTop: FontPackages$g.heading_sans_04.paragraph.paragraphSpacing,
|
|
11874
|
+
marginBottom: FontPackages$g.heading_sans_04.paragraph.paragraphSpacing
|
|
11561
11875
|
};
|
|
11562
11876
|
|
|
11563
11877
|
var headingSans05Base = __assign({
|
|
11564
11878
|
color: textDefault$7.textColor
|
|
11565
|
-
}, FontPackages$
|
|
11879
|
+
}, FontPackages$g.heading_sans_05.base);
|
|
11566
11880
|
|
|
11567
11881
|
var headingSans05MarginsBase = {
|
|
11568
|
-
marginTop: FontPackages$
|
|
11569
|
-
marginBottom: FontPackages$
|
|
11882
|
+
marginTop: FontPackages$g.heading_sans_05.paragraph.paragraphSpacing,
|
|
11883
|
+
marginBottom: FontPackages$g.heading_sans_05.paragraph.paragraphSpacing
|
|
11570
11884
|
};
|
|
11571
11885
|
|
|
11572
11886
|
var headingSans06Base = __assign({
|
|
11573
11887
|
color: textDefault$7.textColor
|
|
11574
|
-
}, FontPackages$
|
|
11888
|
+
}, FontPackages$g.heading_sans_06.base);
|
|
11575
11889
|
|
|
11576
11890
|
var headingSans06MarginsBase = {
|
|
11577
|
-
marginTop: FontPackages$
|
|
11578
|
-
marginBottom: FontPackages$
|
|
11891
|
+
marginTop: FontPackages$g.heading_sans_06.paragraph.paragraphSpacing,
|
|
11892
|
+
marginBottom: FontPackages$g.heading_sans_06.paragraph.paragraphSpacing
|
|
11579
11893
|
};
|
|
11580
11894
|
|
|
11581
11895
|
var headingSans07Base = __assign({
|
|
11582
11896
|
color: textDefault$7.textColor
|
|
11583
|
-
}, FontPackages$
|
|
11897
|
+
}, FontPackages$g.heading_sans_07.base);
|
|
11584
11898
|
|
|
11585
11899
|
var headingSans07MarginsBase = {
|
|
11586
|
-
marginTop: FontPackages$
|
|
11587
|
-
marginBottom: FontPackages$
|
|
11900
|
+
marginTop: FontPackages$g.heading_sans_07.paragraph.paragraphSpacing,
|
|
11901
|
+
marginBottom: FontPackages$g.heading_sans_07.paragraph.paragraphSpacing
|
|
11588
11902
|
};
|
|
11589
11903
|
|
|
11590
11904
|
var headingSans08Base = __assign({
|
|
11591
11905
|
color: textDefault$7.textColor
|
|
11592
|
-
}, FontPackages$
|
|
11906
|
+
}, FontPackages$g.heading_sans_08.base);
|
|
11593
11907
|
|
|
11594
11908
|
var headingSans08MarginsBase = {
|
|
11595
|
-
marginTop: FontPackages$
|
|
11596
|
-
marginBottom: FontPackages$
|
|
11909
|
+
marginTop: FontPackages$g.heading_sans_08.paragraph.paragraphSpacing,
|
|
11910
|
+
marginBottom: FontPackages$g.heading_sans_08.paragraph.paragraphSpacing
|
|
11597
11911
|
};
|
|
11598
11912
|
|
|
11599
11913
|
var bodySans01Base$1 = __assign({
|
|
11600
11914
|
color: textDefault$7.textColor
|
|
11601
|
-
}, FontPackages$
|
|
11915
|
+
}, FontPackages$g.body_sans_01.base);
|
|
11602
11916
|
|
|
11603
11917
|
var bodySans01MarginsBase = {
|
|
11604
|
-
marginTop: FontPackages$
|
|
11605
|
-
marginBottom: FontPackages$
|
|
11918
|
+
marginTop: FontPackages$g.body_sans_01.paragraph.paragraphSpacing,
|
|
11919
|
+
marginBottom: FontPackages$g.body_sans_01.paragraph.paragraphSpacing
|
|
11606
11920
|
};
|
|
11607
11921
|
|
|
11608
11922
|
var bodySans02Base$1 = __assign({
|
|
11609
11923
|
color: textDefault$7.textColor
|
|
11610
|
-
}, FontPackages$
|
|
11924
|
+
}, FontPackages$g.body_sans_02.base);
|
|
11611
11925
|
|
|
11612
11926
|
var bodySans02MarginsBase = {
|
|
11613
|
-
marginTop: FontPackages$
|
|
11614
|
-
marginBottom: FontPackages$
|
|
11927
|
+
marginTop: FontPackages$g.body_sans_02.paragraph.paragraphSpacing,
|
|
11928
|
+
marginBottom: FontPackages$g.body_sans_02.paragraph.paragraphSpacing
|
|
11615
11929
|
};
|
|
11616
11930
|
|
|
11617
11931
|
var bodySans03Base$1 = __assign({
|
|
11618
11932
|
color: textDefault$7.textColor
|
|
11619
|
-
}, FontPackages$
|
|
11933
|
+
}, FontPackages$g.body_sans_03.base);
|
|
11620
11934
|
|
|
11621
11935
|
var bodySans03MarginsBase = {
|
|
11622
|
-
marginTop: FontPackages$
|
|
11623
|
-
marginBottom: FontPackages$
|
|
11936
|
+
marginTop: FontPackages$g.body_sans_03.paragraph.paragraphSpacing,
|
|
11937
|
+
marginBottom: FontPackages$g.body_sans_03.paragraph.paragraphSpacing
|
|
11624
11938
|
};
|
|
11625
11939
|
|
|
11626
11940
|
var bodySans04Base$1 = __assign({
|
|
11627
11941
|
color: textDefault$7.textColor
|
|
11628
|
-
}, FontPackages$
|
|
11942
|
+
}, FontPackages$g.body_sans_04.base);
|
|
11629
11943
|
|
|
11630
11944
|
var bodySans04MarginsBase = {
|
|
11631
|
-
marginTop: FontPackages$
|
|
11632
|
-
marginBottom: FontPackages$
|
|
11945
|
+
marginTop: FontPackages$g.body_sans_04.paragraph.paragraphSpacing,
|
|
11946
|
+
marginBottom: FontPackages$g.body_sans_04.paragraph.paragraphSpacing
|
|
11633
11947
|
};
|
|
11634
11948
|
|
|
11635
11949
|
var bodySerif01Base$1 = __assign({
|
|
11636
11950
|
color: textDefault$7.textColor
|
|
11637
|
-
}, FontPackages$
|
|
11951
|
+
}, FontPackages$g.body_serif_01.base);
|
|
11638
11952
|
|
|
11639
11953
|
var bodySerif01MarginsBase = {
|
|
11640
|
-
marginTop: FontPackages$
|
|
11641
|
-
marginBottom: FontPackages$
|
|
11954
|
+
marginTop: FontPackages$g.body_serif_01.paragraph.paragraphSpacing,
|
|
11955
|
+
marginBottom: FontPackages$g.body_serif_01.paragraph.paragraphSpacing
|
|
11642
11956
|
};
|
|
11643
11957
|
|
|
11644
11958
|
var bodySerif02Base$1 = __assign({
|
|
11645
11959
|
color: textDefault$7.textColor
|
|
11646
|
-
}, FontPackages$
|
|
11960
|
+
}, FontPackages$g.body_serif_02.base);
|
|
11647
11961
|
|
|
11648
11962
|
var bodySerif02MarginsBase = {
|
|
11649
|
-
marginTop: FontPackages$
|
|
11650
|
-
marginBottom: FontPackages$
|
|
11963
|
+
marginTop: FontPackages$g.body_serif_02.paragraph.paragraphSpacing,
|
|
11964
|
+
marginBottom: FontPackages$g.body_serif_02.paragraph.paragraphSpacing
|
|
11651
11965
|
};
|
|
11652
11966
|
|
|
11653
11967
|
var bodySerif03Base$1 = __assign({
|
|
11654
11968
|
color: textDefault$7.textColor
|
|
11655
|
-
}, FontPackages$
|
|
11969
|
+
}, FontPackages$g.body_serif_03.base);
|
|
11656
11970
|
|
|
11657
11971
|
var bodySerif03MarginsBase = {
|
|
11658
|
-
marginTop: FontPackages$
|
|
11659
|
-
marginBottom: FontPackages$
|
|
11972
|
+
marginTop: FontPackages$g.body_serif_03.paragraph.paragraphSpacing,
|
|
11973
|
+
marginBottom: FontPackages$g.body_serif_03.paragraph.paragraphSpacing
|
|
11660
11974
|
};
|
|
11661
11975
|
|
|
11662
11976
|
var bodySerif04Base$1 = __assign({
|
|
11663
11977
|
color: textDefault$7.textColor
|
|
11664
|
-
}, FontPackages$
|
|
11978
|
+
}, FontPackages$g.body_serif_04.base);
|
|
11665
11979
|
|
|
11666
11980
|
var bodySerif04MarginsBase = {
|
|
11667
|
-
marginTop: FontPackages$
|
|
11668
|
-
marginBottom: FontPackages$
|
|
11981
|
+
marginTop: FontPackages$g.body_serif_04.paragraph.paragraphSpacing,
|
|
11982
|
+
marginBottom: FontPackages$g.body_serif_04.paragraph.paragraphSpacing
|
|
11669
11983
|
};
|
|
11670
11984
|
|
|
11671
11985
|
var leadSans01Base = __assign({
|
|
11672
11986
|
color: textDefault$7.textColor
|
|
11673
|
-
}, FontPackages$
|
|
11987
|
+
}, FontPackages$g.lead_sans_01.base);
|
|
11674
11988
|
|
|
11675
11989
|
var leadSans01MarginsBase = {
|
|
11676
|
-
marginTop: FontPackages$
|
|
11677
|
-
marginBottom: FontPackages$
|
|
11990
|
+
marginTop: FontPackages$g.lead_sans_01.paragraph.paragraphSpacing,
|
|
11991
|
+
marginBottom: FontPackages$g.lead_sans_01.paragraph.paragraphSpacing
|
|
11678
11992
|
};
|
|
11679
11993
|
|
|
11680
11994
|
var leadSans02Base = __assign({
|
|
11681
11995
|
color: textDefault$7.textColor
|
|
11682
|
-
}, FontPackages$
|
|
11996
|
+
}, FontPackages$g.lead_sans_02.base);
|
|
11683
11997
|
|
|
11684
11998
|
var leadSans02MarginsBase = {
|
|
11685
|
-
marginTop: FontPackages$
|
|
11686
|
-
marginBottom: FontPackages$
|
|
11999
|
+
marginTop: FontPackages$g.lead_sans_02.paragraph.paragraphSpacing,
|
|
12000
|
+
marginBottom: FontPackages$g.lead_sans_02.paragraph.paragraphSpacing
|
|
11687
12001
|
};
|
|
11688
12002
|
|
|
11689
12003
|
var leadSans03Base = __assign({
|
|
11690
12004
|
color: textDefault$7.textColor
|
|
11691
|
-
}, FontPackages$
|
|
12005
|
+
}, FontPackages$g.lead_sans_03.base);
|
|
11692
12006
|
|
|
11693
12007
|
var leadSans03MarginsBase = {
|
|
11694
|
-
marginTop: FontPackages$
|
|
11695
|
-
marginBottom: FontPackages$
|
|
12008
|
+
marginTop: FontPackages$g.lead_sans_03.paragraph.paragraphSpacing,
|
|
12009
|
+
marginBottom: FontPackages$g.lead_sans_03.paragraph.paragraphSpacing
|
|
11696
12010
|
};
|
|
11697
12011
|
|
|
11698
12012
|
var leadSans04Base = __assign({
|
|
11699
12013
|
color: textDefault$7.textColor
|
|
11700
|
-
}, FontPackages$
|
|
12014
|
+
}, FontPackages$g.lead_sans_04.base);
|
|
11701
12015
|
|
|
11702
12016
|
var leadSans04MarginsBase = {
|
|
11703
|
-
marginTop: FontPackages$
|
|
11704
|
-
marginBottom: FontPackages$
|
|
12017
|
+
marginTop: FontPackages$g.lead_sans_04.paragraph.paragraphSpacing,
|
|
12018
|
+
marginBottom: FontPackages$g.lead_sans_04.paragraph.paragraphSpacing
|
|
11705
12019
|
};
|
|
11706
12020
|
|
|
11707
12021
|
var leadSans05Base = __assign({
|
|
11708
12022
|
color: textDefault$7.textColor
|
|
11709
|
-
}, FontPackages$
|
|
12023
|
+
}, FontPackages$g.lead_sans_05.base);
|
|
11710
12024
|
|
|
11711
12025
|
var leadSans05MarginsBase = {
|
|
11712
|
-
marginTop: FontPackages$
|
|
11713
|
-
marginBottom: FontPackages$
|
|
12026
|
+
marginTop: FontPackages$g.lead_sans_05.paragraph.paragraphSpacing,
|
|
12027
|
+
marginBottom: FontPackages$g.lead_sans_05.paragraph.paragraphSpacing
|
|
11714
12028
|
};
|
|
11715
12029
|
|
|
11716
12030
|
var supportingStyleLabel01Base = __assign(__assign({
|
|
11717
12031
|
color: Colors$i.DdsColorNeutralsGray7
|
|
11718
|
-
}, FontPackages$
|
|
12032
|
+
}, FontPackages$g.supportingStyle_label_01.base), {
|
|
11719
12033
|
margin: 0
|
|
11720
12034
|
});
|
|
11721
12035
|
|
|
11722
12036
|
var supportingStyleLabel01MarginsBase = {
|
|
11723
|
-
marginTop: FontPackages$
|
|
11724
|
-
marginBottom: FontPackages$
|
|
12037
|
+
marginTop: FontPackages$g.supportingStyle_label_01.paragraph.paragraphSpacing,
|
|
12038
|
+
marginBottom: FontPackages$g.supportingStyle_label_01.paragraph.paragraphSpacing
|
|
11725
12039
|
};
|
|
11726
12040
|
|
|
11727
12041
|
var supportingStyleHelperText01Base = __assign(__assign({
|
|
11728
12042
|
color: Colors$i.DdsColorNeutralsGray6
|
|
11729
|
-
}, FontPackages$
|
|
12043
|
+
}, FontPackages$g.supportingStyle_helpertext_01.base), {
|
|
11730
12044
|
margin: 0
|
|
11731
12045
|
});
|
|
11732
12046
|
|
|
11733
12047
|
var supportingStyleHelperText01MarginsBase = {
|
|
11734
|
-
marginTop: FontPackages$
|
|
11735
|
-
marginBottom: FontPackages$
|
|
12048
|
+
marginTop: FontPackages$g.supportingStyle_helpertext_01.paragraph.paragraphSpacing,
|
|
12049
|
+
marginBottom: FontPackages$g.supportingStyle_helpertext_01.paragraph.paragraphSpacing
|
|
11736
12050
|
};
|
|
11737
12051
|
|
|
11738
12052
|
var supportingStyleInputText01Base = __assign(__assign({
|
|
11739
12053
|
color: textDefault$7.textColor
|
|
11740
|
-
}, FontPackages$
|
|
12054
|
+
}, FontPackages$g.supportingStyle_inputtext_01.base), {
|
|
11741
12055
|
margin: 0
|
|
11742
12056
|
});
|
|
11743
12057
|
|
|
11744
12058
|
var supportingStyleInputText01MarginsBase = {
|
|
11745
|
-
marginTop: FontPackages$
|
|
11746
|
-
marginBottom: FontPackages$
|
|
12059
|
+
marginTop: FontPackages$g.supportingStyle_inputtext_01.paragraph.paragraphSpacing,
|
|
12060
|
+
marginBottom: FontPackages$g.supportingStyle_inputtext_01.paragraph.paragraphSpacing
|
|
11747
12061
|
};
|
|
11748
12062
|
|
|
11749
12063
|
var supportingStyleInputText02Base = __assign(__assign({
|
|
11750
12064
|
color: textDefault$7.textColor
|
|
11751
|
-
}, FontPackages$
|
|
12065
|
+
}, FontPackages$g.supportingStyle_inputtext_02.base), {
|
|
11752
12066
|
margin: 0
|
|
11753
12067
|
});
|
|
11754
12068
|
|
|
11755
12069
|
var supportingStyleInputText02MarginsBase = {
|
|
11756
|
-
marginTop: FontPackages$
|
|
11757
|
-
marginBottom: FontPackages$
|
|
12070
|
+
marginTop: FontPackages$g.supportingStyle_inputtext_02.paragraph.paragraphSpacing,
|
|
12071
|
+
marginBottom: FontPackages$g.supportingStyle_inputtext_02.paragraph.paragraphSpacing
|
|
11758
12072
|
};
|
|
11759
12073
|
|
|
11760
12074
|
var supportingStyleInputText03Base = __assign(__assign({
|
|
11761
12075
|
color: textDefault$7.textColor
|
|
11762
|
-
}, FontPackages$
|
|
12076
|
+
}, FontPackages$g.supportingStyle_inputtext_03.base), {
|
|
11763
12077
|
margin: 0
|
|
11764
12078
|
});
|
|
11765
12079
|
|
|
11766
12080
|
var supportingStyleInputText03MarginsBase = {
|
|
11767
|
-
marginTop: FontPackages$
|
|
11768
|
-
marginBottom: FontPackages$
|
|
12081
|
+
marginTop: FontPackages$g.supportingStyle_inputtext_03.paragraph.paragraphSpacing,
|
|
12082
|
+
marginBottom: FontPackages$g.supportingStyle_inputtext_03.paragraph.paragraphSpacing
|
|
11769
12083
|
};
|
|
11770
12084
|
|
|
11771
12085
|
var supportingStylePlaceholderText01Base = __assign(__assign({
|
|
11772
12086
|
color: Colors$i.DdsColorNeutralsGray6
|
|
11773
|
-
}, FontPackages$
|
|
12087
|
+
}, FontPackages$g.supportingStyle_placeholdertext_01.base), {
|
|
11774
12088
|
margin: 0
|
|
11775
12089
|
});
|
|
11776
12090
|
|
|
11777
12091
|
var supportingStylePlaceholderText01MarginsBase = {
|
|
11778
|
-
marginTop: FontPackages$
|
|
11779
|
-
marginBottom: FontPackages$
|
|
12092
|
+
marginTop: FontPackages$g.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing,
|
|
12093
|
+
marginBottom: FontPackages$g.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing
|
|
11780
12094
|
};
|
|
11781
12095
|
|
|
11782
12096
|
var supportingStyleTiny01Base = __assign(__assign({
|
|
11783
12097
|
color: textDefault$7.textColor
|
|
11784
|
-
}, FontPackages$
|
|
12098
|
+
}, FontPackages$g.supportingStyle_tiny_01.base), {
|
|
11785
12099
|
margin: 0
|
|
11786
12100
|
});
|
|
11787
12101
|
|
|
11788
12102
|
var supportingStyleTiny01MarginsBase = {
|
|
11789
|
-
marginTop: FontPackages$
|
|
11790
|
-
marginBottom: FontPackages$
|
|
12103
|
+
marginTop: FontPackages$g.supportingStyle_tiny_01.paragraph.paragraphSpacing,
|
|
12104
|
+
marginBottom: FontPackages$g.supportingStyle_tiny_01.paragraph.paragraphSpacing
|
|
11791
12105
|
};
|
|
11792
12106
|
var selectionBase = {
|
|
11793
12107
|
color: textDefault$7.textColor,
|
|
@@ -12438,6 +12752,95 @@ if (process.env.NODE_ENV === 'production') {
|
|
|
12438
12752
|
}
|
|
12439
12753
|
});
|
|
12440
12754
|
|
|
12755
|
+
/*
|
|
12756
|
+
object-assign
|
|
12757
|
+
(c) Sindre Sorhus
|
|
12758
|
+
@license MIT
|
|
12759
|
+
*/
|
|
12760
|
+
/* eslint-disable no-unused-vars */
|
|
12761
|
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
12762
|
+
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
12763
|
+
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
12764
|
+
|
|
12765
|
+
function toObject(val) {
|
|
12766
|
+
if (val === null || val === undefined) {
|
|
12767
|
+
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
12768
|
+
}
|
|
12769
|
+
|
|
12770
|
+
return Object(val);
|
|
12771
|
+
}
|
|
12772
|
+
|
|
12773
|
+
function shouldUseNative() {
|
|
12774
|
+
try {
|
|
12775
|
+
if (!Object.assign) {
|
|
12776
|
+
return false;
|
|
12777
|
+
}
|
|
12778
|
+
|
|
12779
|
+
// Detect buggy property enumeration order in older V8 versions.
|
|
12780
|
+
|
|
12781
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
12782
|
+
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
12783
|
+
test1[5] = 'de';
|
|
12784
|
+
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
12785
|
+
return false;
|
|
12786
|
+
}
|
|
12787
|
+
|
|
12788
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
12789
|
+
var test2 = {};
|
|
12790
|
+
for (var i = 0; i < 10; i++) {
|
|
12791
|
+
test2['_' + String.fromCharCode(i)] = i;
|
|
12792
|
+
}
|
|
12793
|
+
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
12794
|
+
return test2[n];
|
|
12795
|
+
});
|
|
12796
|
+
if (order2.join('') !== '0123456789') {
|
|
12797
|
+
return false;
|
|
12798
|
+
}
|
|
12799
|
+
|
|
12800
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
12801
|
+
var test3 = {};
|
|
12802
|
+
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
12803
|
+
test3[letter] = letter;
|
|
12804
|
+
});
|
|
12805
|
+
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
12806
|
+
'abcdefghijklmnopqrst') {
|
|
12807
|
+
return false;
|
|
12808
|
+
}
|
|
12809
|
+
|
|
12810
|
+
return true;
|
|
12811
|
+
} catch (err) {
|
|
12812
|
+
// We don't expect any of the above to throw, but better to be safe.
|
|
12813
|
+
return false;
|
|
12814
|
+
}
|
|
12815
|
+
}
|
|
12816
|
+
|
|
12817
|
+
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
12818
|
+
var from;
|
|
12819
|
+
var to = toObject(target);
|
|
12820
|
+
var symbols;
|
|
12821
|
+
|
|
12822
|
+
for (var s = 1; s < arguments.length; s++) {
|
|
12823
|
+
from = Object(arguments[s]);
|
|
12824
|
+
|
|
12825
|
+
for (var key in from) {
|
|
12826
|
+
if (hasOwnProperty$1.call(from, key)) {
|
|
12827
|
+
to[key] = from[key];
|
|
12828
|
+
}
|
|
12829
|
+
}
|
|
12830
|
+
|
|
12831
|
+
if (getOwnPropertySymbols) {
|
|
12832
|
+
symbols = getOwnPropertySymbols(from);
|
|
12833
|
+
for (var i = 0; i < symbols.length; i++) {
|
|
12834
|
+
if (propIsEnumerable.call(from, symbols[i])) {
|
|
12835
|
+
to[symbols[i]] = from[symbols[i]];
|
|
12836
|
+
}
|
|
12837
|
+
}
|
|
12838
|
+
}
|
|
12839
|
+
}
|
|
12840
|
+
|
|
12841
|
+
return to;
|
|
12842
|
+
};
|
|
12843
|
+
|
|
12441
12844
|
/**
|
|
12442
12845
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
12443
12846
|
*
|
|
@@ -19495,23 +19898,23 @@ function useIsFocusVisible() {
|
|
|
19495
19898
|
}
|
|
19496
19899
|
|
|
19497
19900
|
var utils = /*#__PURE__*/Object.freeze({
|
|
19498
|
-
|
|
19499
|
-
|
|
19500
|
-
|
|
19501
|
-
|
|
19502
|
-
|
|
19503
|
-
|
|
19504
|
-
|
|
19505
|
-
|
|
19506
|
-
|
|
19507
|
-
|
|
19508
|
-
|
|
19509
|
-
|
|
19510
|
-
|
|
19511
|
-
|
|
19512
|
-
|
|
19513
|
-
|
|
19514
|
-
|
|
19901
|
+
__proto__: null,
|
|
19902
|
+
capitalize: capitalize,
|
|
19903
|
+
createChainedFunction: createChainedFunction,
|
|
19904
|
+
createSvgIcon: createSvgIcon$1,
|
|
19905
|
+
debounce: debounce,
|
|
19906
|
+
deprecatedPropType: deprecatedPropType,
|
|
19907
|
+
isMuiElement: isMuiElement,
|
|
19908
|
+
ownerDocument: ownerDocument,
|
|
19909
|
+
ownerWindow: ownerWindow,
|
|
19910
|
+
requirePropFactory: requirePropFactory,
|
|
19911
|
+
setRef: setRef,
|
|
19912
|
+
unsupportedProp: unsupportedProp,
|
|
19913
|
+
useControlled: useControlled,
|
|
19914
|
+
useEventCallback: useEventCallback,
|
|
19915
|
+
useForkRef: useForkRef,
|
|
19916
|
+
unstable_useId: useId,
|
|
19917
|
+
useIsFocusVisible: useIsFocusVisible
|
|
19515
19918
|
});
|
|
19516
19919
|
|
|
19517
19920
|
var _utils = /*@__PURE__*/getAugmentedNamespace(utils);
|
|
@@ -19693,13 +20096,13 @@ var useRadioButtonGroup = function useRadioButtonGroup() {
|
|
|
19693
20096
|
var Colors$h = ddsBaseTokens.colors,
|
|
19694
20097
|
Border$7 = ddsBaseTokens.border,
|
|
19695
20098
|
Spacing$n = ddsBaseTokens.spacing,
|
|
19696
|
-
FontPackages$
|
|
20099
|
+
FontPackages$f = ddsBaseTokens.fontPackages;
|
|
19697
20100
|
var radioButtonBase = {
|
|
19698
20101
|
border: '1px solid',
|
|
19699
20102
|
borderColor: Colors$h.DdsColorNeutralsGray5,
|
|
19700
20103
|
backgroundColor: Colors$h.DdsColorNeutralsWhite,
|
|
19701
|
-
height: FontPackages$
|
|
19702
|
-
width: FontPackages$
|
|
20104
|
+
height: FontPackages$f.supportingStyle_inputtext_02.numbers.fontSizeNumber,
|
|
20105
|
+
width: FontPackages$f.supportingStyle_inputtext_02.numbers.fontSizeNumber
|
|
19703
20106
|
};
|
|
19704
20107
|
var radioButtonHoverBase = {
|
|
19705
20108
|
border: '2px solid',
|
|
@@ -20096,15 +20499,15 @@ var templateObject_1$z, templateObject_2$p, templateObject_3$i;
|
|
|
20096
20499
|
var Colors$f = ddsBaseTokens.colors,
|
|
20097
20500
|
Border$6 = ddsBaseTokens.border,
|
|
20098
20501
|
Spacing$k = ddsBaseTokens.spacing,
|
|
20099
|
-
FontPackages$
|
|
20502
|
+
FontPackages$e = ddsBaseTokens.fontPackages,
|
|
20100
20503
|
BorderRadius$3 = ddsBaseTokens.borderRadius;
|
|
20101
20504
|
var checkboxBase = {
|
|
20102
20505
|
border: '1px solid',
|
|
20103
20506
|
backgroundColor: Colors$f.DdsColorNeutralsWhite,
|
|
20104
20507
|
borderColor: Colors$f.DdsColorNeutralsGray5,
|
|
20105
20508
|
borderRadius: BorderRadius$3.RadiiDdsBorderRadius1Radius,
|
|
20106
|
-
height: FontPackages$
|
|
20107
|
-
width: FontPackages$
|
|
20509
|
+
height: FontPackages$e.supportingStyle_inputtext_02.base.fontSize,
|
|
20510
|
+
width: FontPackages$e.supportingStyle_inputtext_02.base.fontSize
|
|
20108
20511
|
};
|
|
20109
20512
|
var checkboxCheckedBase = {
|
|
20110
20513
|
border: '2px solid',
|
|
@@ -20160,11 +20563,11 @@ var checkmarkIndeterminateBase = {
|
|
|
20160
20563
|
borderWidth: '1px 0 0 0'
|
|
20161
20564
|
};
|
|
20162
20565
|
|
|
20163
|
-
var containerBase$3 = __assign({}, FontPackages$
|
|
20566
|
+
var containerBase$3 = __assign({}, FontPackages$e.body_sans_02.base);
|
|
20164
20567
|
|
|
20165
|
-
var containerWithLabelBase$1 = __assign(__assign({}, FontPackages$
|
|
20568
|
+
var containerWithLabelBase$1 = __assign(__assign({}, FontPackages$e.body_sans_02.base), {
|
|
20166
20569
|
marginRight: Spacing$k.SizesDdsSpacingLocalX075,
|
|
20167
|
-
padding: "0 " + Spacing$k.SizesDdsSpacingLocalX025 + " 0 " + (FontPackages$
|
|
20570
|
+
padding: "0 " + Spacing$k.SizesDdsSpacingLocalX025 + " 0 " + (FontPackages$e.supportingStyle_inputtext_02.numbers.fontSizeNumber + Spacing$k.SizesDdsSpacingLocalX075NumberPx) + "px"
|
|
20168
20571
|
});
|
|
20169
20572
|
|
|
20170
20573
|
var containerNoLabelBase$1 = {
|
|
@@ -20389,47 +20792,47 @@ var calculateHeightWithLineHeight = function calculateHeightWithLineHeight(lineH
|
|
|
20389
20792
|
var Colors$e = ddsBaseTokens.colors,
|
|
20390
20793
|
Border$5 = ddsBaseTokens.border,
|
|
20391
20794
|
Spacing$i = ddsBaseTokens.spacing,
|
|
20392
|
-
FontPackages$
|
|
20795
|
+
FontPackages$d = ddsBaseTokens.fontPackages,
|
|
20393
20796
|
BorderRadius$2 = ddsBaseTokens.borderRadius,
|
|
20394
20797
|
OuterShadow$1 = ddsBaseTokens.outerShadow;
|
|
20395
20798
|
var focus = ddsReferenceTokens.focus;
|
|
20396
20799
|
|
|
20397
|
-
var justIconSmallBase = __assign(__assign({}, FontPackages$
|
|
20800
|
+
var justIconSmallBase = __assign(__assign({}, FontPackages$d.supportingStyle_inputtext_02.base), {
|
|
20398
20801
|
padding: Spacing$i.SizesDdsSpacingLocalX05
|
|
20399
20802
|
});
|
|
20400
20803
|
|
|
20401
20804
|
var justIconWrapperSmallBase = {
|
|
20402
|
-
height: calculateHeightWithLineHeight(FontPackages$
|
|
20403
|
-
width: calculateHeightWithLineHeight(FontPackages$
|
|
20805
|
+
height: calculateHeightWithLineHeight(FontPackages$d.body_sans_01.numbers.lineHeightNumber, FontPackages$d.body_sans_01.numbers.fontSizeNumber) + "px",
|
|
20806
|
+
width: calculateHeightWithLineHeight(FontPackages$d.body_sans_01.numbers.lineHeightNumber, FontPackages$d.body_sans_01.numbers.fontSizeNumber) + "px"
|
|
20404
20807
|
};
|
|
20405
20808
|
|
|
20406
|
-
var textSmallBase = __assign(__assign({}, FontPackages$
|
|
20809
|
+
var textSmallBase = __assign(__assign({}, FontPackages$d.body_sans_01.base), {
|
|
20407
20810
|
padding: Spacing$i.SizesDdsSpacingLocalX05 + " " + (Spacing$i.SizesDdsSpacingLocalX1NumberPx - 2) + "px"
|
|
20408
20811
|
});
|
|
20409
20812
|
|
|
20410
|
-
var justIconMediumBase = __assign(__assign({}, FontPackages$
|
|
20813
|
+
var justIconMediumBase = __assign(__assign({}, FontPackages$d.heading_sans_03.base), {
|
|
20411
20814
|
padding: Spacing$i.SizesDdsSpacingLocalX075
|
|
20412
20815
|
});
|
|
20413
20816
|
|
|
20414
20817
|
var justIconWrapperMediumBase = {
|
|
20415
|
-
height: calculateHeightWithLineHeight(FontPackages$
|
|
20416
|
-
width: calculateHeightWithLineHeight(FontPackages$
|
|
20818
|
+
height: calculateHeightWithLineHeight(FontPackages$d.body_sans_02.numbers.lineHeightNumber, FontPackages$d.body_sans_02.numbers.fontSizeNumber) + "px",
|
|
20819
|
+
width: calculateHeightWithLineHeight(FontPackages$d.body_sans_02.numbers.lineHeightNumber, FontPackages$d.body_sans_02.numbers.fontSizeNumber) + "px"
|
|
20417
20820
|
};
|
|
20418
20821
|
|
|
20419
|
-
var textMediumBase = __assign(__assign({}, FontPackages$
|
|
20822
|
+
var textMediumBase = __assign(__assign({}, FontPackages$d.body_sans_02.base), {
|
|
20420
20823
|
padding: Spacing$i.SizesDdsSpacingLocalX075 + " " + (Spacing$i.SizesDdsSpacingLocalX15NumberPx - 2) + "px"
|
|
20421
20824
|
});
|
|
20422
20825
|
|
|
20423
|
-
var justIconLargeBase = __assign(__assign({}, FontPackages$
|
|
20826
|
+
var justIconLargeBase = __assign(__assign({}, FontPackages$d.heading_sans_04.base), {
|
|
20424
20827
|
padding: Spacing$i.SizesDdsSpacingLocalX1
|
|
20425
20828
|
});
|
|
20426
20829
|
|
|
20427
20830
|
var justIconWrapperLargeBase = {
|
|
20428
|
-
height: calculateHeightWithLineHeight(FontPackages$
|
|
20429
|
-
width: calculateHeightWithLineHeight(FontPackages$
|
|
20831
|
+
height: calculateHeightWithLineHeight(FontPackages$d.supportingStyle_inputtext_03.numbers.lineHeightNumber, FontPackages$d.supportingStyle_inputtext_03.numbers.fontSizeNumber) + "px",
|
|
20832
|
+
width: calculateHeightWithLineHeight(FontPackages$d.supportingStyle_inputtext_03.numbers.lineHeightNumber, FontPackages$d.supportingStyle_inputtext_03.numbers.fontSizeNumber) + "px"
|
|
20430
20833
|
};
|
|
20431
20834
|
|
|
20432
|
-
var textLargeBase = __assign(__assign({}, FontPackages$
|
|
20835
|
+
var textLargeBase = __assign(__assign({}, FontPackages$d.supportingStyle_inputtext_03.base), {
|
|
20433
20836
|
padding: Spacing$i.SizesDdsSpacingLocalX1 + " " + (Spacing$i.SizesDdsSpacingLocalX2NumberPx - 2) + "px"
|
|
20434
20837
|
});
|
|
20435
20838
|
|
|
@@ -20914,56 +21317,53 @@ function Spinner(_a) {
|
|
|
20914
21317
|
}
|
|
20915
21318
|
var templateObject_1$w, templateObject_2$m;
|
|
20916
21319
|
|
|
20917
|
-
var
|
|
20918
|
-
|
|
20919
|
-
};
|
|
20920
|
-
var ButtonContent = styled.span.withConfig({
|
|
20921
|
-
displayName: "Buttonstyles__ButtonContent",
|
|
21320
|
+
var ButtonWrapper$1 = styled.button.withConfig({
|
|
21321
|
+
displayName: "Buttonstyles__ButtonWrapper",
|
|
20922
21322
|
componentId: "sc-14dutqk-0"
|
|
20923
|
-
})(
|
|
20924
|
-
var
|
|
20925
|
-
|
|
20926
|
-
appearance = _a.appearance,
|
|
20927
|
-
Icon = _a.Icon;
|
|
20928
|
-
return purpose && appearance && buttonContentStyle(purpose, appearance, label, Icon);
|
|
21323
|
+
})(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n ", "\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: fit-content;\n width: ", ";\n cursor: pointer;\n box-shadow: none;\n text-decoration: none;\n transition: background-color 0.2s, text-decoration-color 0.2s, box-shadow 0.2s,\n border-color 0.2s, color 0.2s;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n\n\n\n &:focus-visible, &.focus-visible {\n outline: ", " solid ", ";\n outline-offset: 2px;\n }\n\n *::selection {\n ", "\n }\n"], ["\n ", "\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: fit-content;\n width: ", ";\n cursor: pointer;\n box-shadow: none;\n text-decoration: none;\n transition: background-color 0.2s, text-decoration-color 0.2s, box-shadow 0.2s,\n border-color 0.2s, color 0.2s;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n\n\n\n &:focus-visible, &.focus-visible {\n outline: ", " solid ", ";\n outline-offset: 2px;\n }\n\n *::selection {\n ", "\n }\n"])), buttonTokens.base, function (_a) {
|
|
21324
|
+
var fullWidth = _a.fullWidth;
|
|
21325
|
+
return fullWidth ? '100%' : 'fit-content';
|
|
20929
21326
|
}, function (_a) {
|
|
20930
|
-
var
|
|
20931
|
-
|
|
20932
|
-
|
|
20933
|
-
|
|
20934
|
-
|
|
21327
|
+
var appearance = _a.appearance,
|
|
21328
|
+
purpose = _a.purpose;
|
|
21329
|
+
return Ae(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n ", "\n ", "\n\n &:hover {\n ", "\n }\n\n &:active {\n ", "\n }\n "], ["\n ", "\n ", "\n\n &:hover {\n ", "\n }\n\n &:active {\n ", "\n }\n "])), buttonTokens.appearance[appearance].base, buttonTokens.appearance[appearance][purpose].base, buttonTokens.appearance[appearance][purpose].hover.base, buttonTokens.appearance[appearance][purpose].active.base);
|
|
21330
|
+
}, function (_a) {
|
|
21331
|
+
var hasIcon = _a.hasIcon,
|
|
21332
|
+
hasLabel = _a.hasLabel,
|
|
21333
|
+
appearance = _a.appearance,
|
|
21334
|
+
purpose = _a.purpose;
|
|
21335
|
+
return hasIcon && !hasLabel && appearance === 'borderless' && Ae(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "], ["\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "])), buttonTokens.appearance[appearance][purpose].justIcon.hover.base, buttonTokens.appearance[appearance][purpose].justIcon.active.base);
|
|
20935
21336
|
}, function (_a) {
|
|
20936
21337
|
var size = _a.size,
|
|
20937
|
-
|
|
20938
|
-
return
|
|
20939
|
-
})
|
|
20940
|
-
var
|
|
20941
|
-
|
|
20942
|
-
|
|
20943
|
-
|
|
20944
|
-
|
|
20945
|
-
|
|
20946
|
-
}, ButtonContent, buttonTokens.focusOutline.width, buttonTokens.focusOutline.color);
|
|
21338
|
+
hasLabel = _a.hasLabel;
|
|
21339
|
+
return hasLabel ? Ae(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].text.base) : Ae(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIcon.base);
|
|
21340
|
+
}, function (_a) {
|
|
21341
|
+
var fullWidth = _a.fullWidth,
|
|
21342
|
+
hasIcon = _a.hasIcon,
|
|
21343
|
+
hasLabel = _a.hasLabel,
|
|
21344
|
+
isLoading = _a.isLoading;
|
|
21345
|
+
return fullWidth && (!hasIcon || !hasLabel || isLoading ? Ae(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "]))) : Ae(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n justify-content: space-between;\n "], ["\n justify-content: space-between;\n "]))));
|
|
21346
|
+
}, buttonTokens.focusOutline.width, buttonTokens.focusOutline.color, typographyTokens.selection.base);
|
|
20947
21347
|
var IconWithTextWrapper = styled(IconWrapper$1).withConfig({
|
|
20948
21348
|
displayName: "Buttonstyles__IconWithTextWrapper",
|
|
20949
|
-
componentId: "sc-14dutqk-
|
|
20950
|
-
})(
|
|
21349
|
+
componentId: "sc-14dutqk-1"
|
|
21350
|
+
})(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
20951
21351
|
var size = _a.size,
|
|
20952
21352
|
iconPosition = _a.iconPosition;
|
|
20953
|
-
return
|
|
21353
|
+
return iconPosition === 'left' ? Ae(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n margin-inline-end: ", ";\n "], ["\n margin-inline-end: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : iconPosition === 'right' ? Ae(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["\n margin-inline-start: ", ";\n "], ["\n margin-inline-start: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : '';
|
|
20954
21354
|
});
|
|
20955
21355
|
var JustIconWrapper = styled.span.withConfig({
|
|
20956
21356
|
displayName: "Buttonstyles__JustIconWrapper",
|
|
20957
|
-
componentId: "sc-14dutqk-
|
|
20958
|
-
})(
|
|
21357
|
+
componentId: "sc-14dutqk-2"
|
|
21358
|
+
})(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) {
|
|
20959
21359
|
var size = _a.size;
|
|
20960
|
-
return
|
|
21360
|
+
return Ae(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIconWrapper.base);
|
|
20961
21361
|
});
|
|
20962
21362
|
var Label$2 = styled.span.withConfig({
|
|
20963
21363
|
displayName: "Buttonstyles__Label",
|
|
20964
|
-
componentId: "sc-14dutqk-
|
|
20965
|
-
})(
|
|
20966
|
-
var templateObject_1$v, templateObject_2$l, templateObject_3$f, templateObject_4$d, templateObject_5$a, templateObject_6$9, templateObject_7$7, templateObject_8$4, templateObject_9$4, templateObject_10$2, templateObject_11$1, templateObject_12, templateObject_13
|
|
21364
|
+
componentId: "sc-14dutqk-3"
|
|
21365
|
+
})(templateObject_13 || (templateObject_13 = __makeTemplateObject([""], [""])));
|
|
21366
|
+
var templateObject_1$v, templateObject_2$l, templateObject_3$f, templateObject_4$d, templateObject_5$a, templateObject_6$9, templateObject_7$7, templateObject_8$4, templateObject_9$4, templateObject_10$2, templateObject_11$1, templateObject_12, templateObject_13;
|
|
20967
21367
|
|
|
20968
21368
|
var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
20969
21369
|
var label = _a.label,
|
|
@@ -20978,8 +21378,10 @@ var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20978
21378
|
appearance = _e === void 0 ? 'filled' : _e,
|
|
20979
21379
|
href = _a.href,
|
|
20980
21380
|
target = _a.target,
|
|
20981
|
-
|
|
20982
|
-
|
|
21381
|
+
_f = _a.loading,
|
|
21382
|
+
loading = _f === void 0 ? false : _f,
|
|
21383
|
+
_g = _a.fullWidth,
|
|
21384
|
+
fullWidth = _g === void 0 ? false : _g,
|
|
20983
21385
|
className = _a.className,
|
|
20984
21386
|
style = _a.style,
|
|
20985
21387
|
Icon = _a.Icon,
|
|
@@ -20994,23 +21396,18 @@ var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20994
21396
|
rel: href ? 'noreferrer noopener' : undefined,
|
|
20995
21397
|
target: href && target ? target : undefined,
|
|
20996
21398
|
ref: ref,
|
|
20997
|
-
fullWidth: fullWidth,
|
|
20998
|
-
disabled: disabled
|
|
20999
|
-
}, rest);
|
|
21000
|
-
|
|
21001
|
-
var contentProps = {
|
|
21002
|
-
iconPosition: iconPosition,
|
|
21003
21399
|
appearance: appearance,
|
|
21004
21400
|
purpose: purpose,
|
|
21005
|
-
|
|
21006
|
-
size: size,
|
|
21007
|
-
Icon: Icon,
|
|
21401
|
+
iconPosition: iconPosition,
|
|
21008
21402
|
fullWidth: fullWidth,
|
|
21009
|
-
|
|
21010
|
-
|
|
21403
|
+
hasLabel: !!label,
|
|
21404
|
+
hasIcon: !!Icon,
|
|
21405
|
+
isLoading: loading,
|
|
21406
|
+
disabled: disabled,
|
|
21407
|
+
size: size,
|
|
21011
21408
|
className: className,
|
|
21012
21409
|
style: style
|
|
21013
|
-
};
|
|
21410
|
+
}, rest);
|
|
21014
21411
|
|
|
21015
21412
|
var iconElement = Icon && iconPosition && size && jsxRuntime.jsx(IconWithTextWrapper, {
|
|
21016
21413
|
Icon: Icon,
|
|
@@ -21019,28 +21416,28 @@ var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
21019
21416
|
size: size
|
|
21020
21417
|
}, void 0);
|
|
21021
21418
|
|
|
21022
|
-
|
|
21023
|
-
|
|
21024
|
-
|
|
21025
|
-
|
|
21026
|
-
|
|
21027
|
-
|
|
21028
|
-
|
|
21029
|
-
|
|
21030
|
-
|
|
21031
|
-
}
|
|
21032
|
-
|
|
21033
|
-
|
|
21034
|
-
|
|
21035
|
-
|
|
21036
|
-
|
|
21037
|
-
|
|
21038
|
-
}
|
|
21039
|
-
|
|
21040
|
-
|
|
21041
|
-
|
|
21042
|
-
}, void 0)
|
|
21043
|
-
}
|
|
21419
|
+
var hasLabel = !!label;
|
|
21420
|
+
var isIconButton = !hasLabel && !!Icon;
|
|
21421
|
+
return jsxRuntime.jsxs(ButtonWrapper$1, __assign({}, wrapperProps, {
|
|
21422
|
+
children: [loading && jsxRuntime.jsx(JustIconWrapper, __assign({
|
|
21423
|
+
size: size
|
|
21424
|
+
}, {
|
|
21425
|
+
children: jsxRuntime.jsx(Spinner, {
|
|
21426
|
+
color: buttonTokens.appearance[appearance][purpose].base.color,
|
|
21427
|
+
size: buttonTokens.sizes[size].justIcon.base.fontSize
|
|
21428
|
+
}, void 0)
|
|
21429
|
+
}), void 0), isIconButton && !loading && jsxRuntime.jsx(JustIconWrapper, __assign({
|
|
21430
|
+
size: size
|
|
21431
|
+
}, {
|
|
21432
|
+
children: jsxRuntime.jsx(IconWrapper$1, {
|
|
21433
|
+
Icon: Icon,
|
|
21434
|
+
iconSize: "inline"
|
|
21435
|
+
}, void 0)
|
|
21436
|
+
}), void 0), hasLabel && !loading && jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
21437
|
+
children: [iconPosition === 'left' && iconElement, jsxRuntime.jsx(Label$2, {
|
|
21438
|
+
children: label
|
|
21439
|
+
}, void 0), iconPosition === 'right' && iconElement]
|
|
21440
|
+
}, void 0)]
|
|
21044
21441
|
}), void 0);
|
|
21045
21442
|
});
|
|
21046
21443
|
|
|
@@ -21120,13 +21517,13 @@ var templateObject_1$u;
|
|
|
21120
21517
|
|
|
21121
21518
|
var Colors$b = ddsBaseTokens.colors,
|
|
21122
21519
|
Spacing$f = ddsBaseTokens.spacing,
|
|
21123
|
-
FontPackages$
|
|
21520
|
+
FontPackages$c = ddsBaseTokens.fontPackages;
|
|
21124
21521
|
var TextInput$2 = ddsReferenceTokens.textInput;
|
|
21125
21522
|
var inputBase$2 = {
|
|
21126
21523
|
border: "1px solid " + Colors$b.DdsColorNeutralsGray5
|
|
21127
21524
|
};
|
|
21128
21525
|
var inputWithLabelBase = {
|
|
21129
|
-
padding: Spacing$f.SizesDdsSpacingLocalX075NumberPx + FontPackages$
|
|
21526
|
+
padding: Spacing$f.SizesDdsSpacingLocalX075NumberPx + FontPackages$c.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * FontPackages$c.supportingStyle_label_01.numbers.fontSizeNumber + "px " + Spacing$f.SizesDdsSpacingLocalX1 + " " + Spacing$f.SizesDdsSpacingLocalX075 + " " + Spacing$f.SizesDdsSpacingLocalX1
|
|
21130
21527
|
};
|
|
21131
21528
|
var inputNoLabelBase$1 = {
|
|
21132
21529
|
padding: Spacing$f.SizesDdsSpacingLocalX075 + " " + Spacing$f.SizesDdsSpacingLocalX1 + " " + Spacing$f.SizesDdsSpacingLocalX075 + " " + Spacing$f.SizesDdsSpacingLocalX1
|
|
@@ -28325,7 +28722,7 @@ var ReactSelect = index;
|
|
|
28325
28722
|
|
|
28326
28723
|
var Colors$a = ddsBaseTokens.colors,
|
|
28327
28724
|
Spacing$e = ddsBaseTokens.spacing,
|
|
28328
|
-
FontPackages$
|
|
28725
|
+
FontPackages$b = ddsBaseTokens.fontPackages,
|
|
28329
28726
|
BorderRadius$1 = ddsBaseTokens.borderRadius,
|
|
28330
28727
|
Border$4 = ddsBaseTokens.border;
|
|
28331
28728
|
var textDefault$6 = ddsReferenceTokens.textDefault;
|
|
@@ -28336,7 +28733,7 @@ var labelBase = __assign({
|
|
|
28336
28733
|
paddingLeft: Spacing$e.SizesDdsSpacingLocalX1,
|
|
28337
28734
|
paddingBottom: 0,
|
|
28338
28735
|
paddingRight: Spacing$e.SizesDdsSpacingLocalX05
|
|
28339
|
-
}, FontPackages$
|
|
28736
|
+
}, FontPackages$b.supportingStyle_label_01.base);
|
|
28340
28737
|
|
|
28341
28738
|
var labelHoverBase = {
|
|
28342
28739
|
color: Colors$a.DdsColorInteractiveBase
|
|
@@ -28350,11 +28747,11 @@ var containerBase$2 = {
|
|
|
28350
28747
|
borderColor: Colors$a.DdsColorNeutralsGray5,
|
|
28351
28748
|
backgroundColor: Colors$a.DdsColorNeutralsWhite
|
|
28352
28749
|
};
|
|
28353
|
-
var withLabelHeight = Spacing$e.SizesDdsSpacingLocalX075NumberPx * 2 + FontPackages$
|
|
28750
|
+
var withLabelHeight = Spacing$e.SizesDdsSpacingLocalX075NumberPx * 2 + FontPackages$b.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * FontPackages$b.supportingStyle_label_01.numbers.fontSizeNumber + FontPackages$b.supportingStyle_inputtext_02.numbers.lineHeightNumber * 0.01 * FontPackages$b.supportingStyle_inputtext_02.numbers.fontSizeNumber + Border$4.BordersDdsBorderStyle1StrokeWeightNumberPx * 2;
|
|
28354
28751
|
var containerWithLabelBase = {
|
|
28355
28752
|
height: withLabelHeight + "px"
|
|
28356
28753
|
};
|
|
28357
|
-
var noLabelHeight = Spacing$e.SizesDdsSpacingLocalX075NumberPx * 2 + FontPackages$
|
|
28754
|
+
var noLabelHeight = Spacing$e.SizesDdsSpacingLocalX075NumberPx * 2 + FontPackages$b.supportingStyle_inputtext_02.numbers.lineHeightNumber * 0.01 * FontPackages$b.supportingStyle_inputtext_02.numbers.fontSizeNumber + Border$4.BordersDdsBorderStyle1StrokeWeightNumberPx * 2;
|
|
28358
28755
|
var containerNoLabelBase = {
|
|
28359
28756
|
height: noLabelHeight + "px"
|
|
28360
28757
|
};
|
|
@@ -28378,7 +28775,7 @@ var containerDangerFocusBase = {
|
|
|
28378
28775
|
|
|
28379
28776
|
var inputBase$1 = __assign({
|
|
28380
28777
|
padding: "0 " + Spacing$e.SizesDdsSpacingLocalX05 + " 0 " + Spacing$e.SizesDdsSpacingLocalX1
|
|
28381
|
-
}, FontPackages$
|
|
28778
|
+
}, FontPackages$b.supportingStyle_inputtext_02.base);
|
|
28382
28779
|
|
|
28383
28780
|
var inputNoLabelBase = {
|
|
28384
28781
|
paddingTop: Spacing$e.SizesDdsSpacingLocalX075
|
|
@@ -28386,7 +28783,7 @@ var inputNoLabelBase = {
|
|
|
28386
28783
|
|
|
28387
28784
|
var placeholderBase = __assign({
|
|
28388
28785
|
color: Colors$a.DdsColorNeutralsGray6
|
|
28389
|
-
}, FontPackages$
|
|
28786
|
+
}, FontPackages$b.supportingStyle_placeholdertext_01.base);
|
|
28390
28787
|
|
|
28391
28788
|
var dropdownIndicatorBase = {
|
|
28392
28789
|
color: Colors$a.DdsColorNeutralsGray6,
|
|
@@ -28414,7 +28811,7 @@ var optionsListBase = {
|
|
|
28414
28811
|
|
|
28415
28812
|
var optionBase = __assign(__assign({
|
|
28416
28813
|
padding: Spacing$e.SizesDdsSpacingLocalX05 + " " + Spacing$e.SizesDdsSpacingLocalX1
|
|
28417
|
-
}, FontPackages$
|
|
28814
|
+
}, FontPackages$b.body_sans_02.base), {
|
|
28418
28815
|
color: textDefault$6.textColor
|
|
28419
28816
|
});
|
|
28420
28817
|
|
|
@@ -28424,14 +28821,14 @@ var optionHoverBase = {
|
|
|
28424
28821
|
|
|
28425
28822
|
var optionSelectedBase = __assign(__assign({
|
|
28426
28823
|
backgroundColor: Colors$a.DdsColorInteractiveLightest
|
|
28427
|
-
}, FontPackages$
|
|
28824
|
+
}, FontPackages$b.body_sans_02.base), {
|
|
28428
28825
|
fontWeight: 600
|
|
28429
28826
|
});
|
|
28430
28827
|
|
|
28431
28828
|
var noOptionsMessageBase = __assign({
|
|
28432
28829
|
padding: Spacing$e.SizesDdsSpacingLocalX05 + " " + Spacing$e.SizesDdsSpacingLocalX1,
|
|
28433
28830
|
color: Colors$a.DdsColorNeutralsGray6
|
|
28434
|
-
}, FontPackages$
|
|
28831
|
+
}, FontPackages$b.supportingStyle_placeholdertext_01.base);
|
|
28435
28832
|
|
|
28436
28833
|
var containerDisabledBase = {
|
|
28437
28834
|
backgroundColor: Colors$a.DdsColorNeutralsGray1,
|
|
@@ -28816,13 +29213,13 @@ var InfoOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(InfoOutlined);
|
|
|
28816
29213
|
|
|
28817
29214
|
var Colors$9 = ddsBaseTokens.colors,
|
|
28818
29215
|
Spacing$d = ddsBaseTokens.spacing,
|
|
28819
|
-
FontPackages$
|
|
29216
|
+
FontPackages$a = ddsBaseTokens.fontPackages;
|
|
28820
29217
|
|
|
28821
29218
|
var containerBase$1 = __assign(__assign({
|
|
28822
29219
|
borderBottom: '2px solid',
|
|
28823
29220
|
padding: "0 " + Spacing$d.SizesDdsSpacingLocalX1,
|
|
28824
29221
|
width: '100%'
|
|
28825
|
-
}, FontPackages$
|
|
29222
|
+
}, FontPackages$a.body_sans_02.base), {
|
|
28826
29223
|
color: Colors$9.DdsColorNeutralsGray8
|
|
28827
29224
|
});
|
|
28828
29225
|
|
|
@@ -28920,8 +29317,9 @@ var GlobalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28920
29317
|
_b = _a.purpose,
|
|
28921
29318
|
purpose = _b === void 0 ? 'info' : _b,
|
|
28922
29319
|
closable = _a.closable,
|
|
29320
|
+
onClose = _a.onClose,
|
|
28923
29321
|
children = _a.children,
|
|
28924
|
-
rest = __rest(_a, ["message", "purpose", "closable", "children"]);
|
|
29322
|
+
rest = __rest(_a, ["message", "purpose", "closable", "onClose", "children"]);
|
|
28925
29323
|
|
|
28926
29324
|
var _c = useState(false),
|
|
28927
29325
|
isClosed = _c[0],
|
|
@@ -28952,7 +29350,8 @@ var GlobalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28952
29350
|
purpose: buttonPurpose,
|
|
28953
29351
|
appearance: "borderless",
|
|
28954
29352
|
onClick: function onClick() {
|
|
28955
|
-
|
|
29353
|
+
setClosed(true);
|
|
29354
|
+
onClose && onClose();
|
|
28956
29355
|
},
|
|
28957
29356
|
size: "small"
|
|
28958
29357
|
}, void 0)
|
|
@@ -29017,7 +29416,7 @@ var EmojiObjectsOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(EmojiObjects
|
|
|
29017
29416
|
|
|
29018
29417
|
var Colors$8 = ddsBaseTokens.colors,
|
|
29019
29418
|
Spacing$c = ddsBaseTokens.spacing,
|
|
29020
|
-
FontPackages$
|
|
29419
|
+
FontPackages$9 = ddsBaseTokens.fontPackages,
|
|
29021
29420
|
BorderRadius = ddsBaseTokens.borderRadius,
|
|
29022
29421
|
Border$3 = ddsBaseTokens.border,
|
|
29023
29422
|
OuterShadow = ddsBaseTokens.outerShadow;
|
|
@@ -29027,7 +29426,7 @@ var containerBase = __assign(__assign({
|
|
|
29027
29426
|
borderRadius: BorderRadius.RadiiDdsBorderRadius1Radius,
|
|
29028
29427
|
border: Border$3.BordersDdsBorderStyle1StrokeWeight + " solid",
|
|
29029
29428
|
padding: "0 " + Spacing$c.SizesDdsSpacingLocalX1
|
|
29030
|
-
}, FontPackages$
|
|
29429
|
+
}, FontPackages$9.body_sans_02.base), {
|
|
29031
29430
|
color: Colors$8.DdsColorNeutralsGray8
|
|
29032
29431
|
});
|
|
29033
29432
|
|
|
@@ -29202,12 +29601,13 @@ var LocalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29202
29601
|
_b = _a.purpose,
|
|
29203
29602
|
purpose = _b === void 0 ? 'info' : _b,
|
|
29204
29603
|
closable = _a.closable,
|
|
29604
|
+
onClose = _a.onClose,
|
|
29205
29605
|
_c = _a.width,
|
|
29206
29606
|
width = _c === void 0 ? localMessageTokens.container.defaultWidth : _c,
|
|
29207
29607
|
_d = _a.layout,
|
|
29208
29608
|
layout = _d === void 0 ? 'horisontal' : _d,
|
|
29209
29609
|
children = _a.children,
|
|
29210
|
-
rest = __rest(_a, ["message", "purpose", "closable", "width", "layout", "children"]);
|
|
29610
|
+
rest = __rest(_a, ["message", "purpose", "closable", "onClose", "width", "layout", "children"]);
|
|
29211
29611
|
|
|
29212
29612
|
var _e = useState(false),
|
|
29213
29613
|
isClosed = _e[0],
|
|
@@ -29243,7 +29643,8 @@ var LocalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29243
29643
|
purpose: buttonPurpose,
|
|
29244
29644
|
appearance: "borderless",
|
|
29245
29645
|
onClick: function onClick() {
|
|
29246
|
-
|
|
29646
|
+
setClosed(true);
|
|
29647
|
+
onClose && onClose();
|
|
29247
29648
|
},
|
|
29248
29649
|
size: "small"
|
|
29249
29650
|
}, void 0);
|
|
@@ -29291,23 +29692,23 @@ exports.default = _default;
|
|
|
29291
29692
|
var SearchOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(SearchOutlined);
|
|
29292
29693
|
|
|
29293
29694
|
var Spacing$b = ddsBaseTokens.spacing,
|
|
29294
|
-
FontPackages$
|
|
29695
|
+
FontPackages$8 = ddsBaseTokens.fontPackages;
|
|
29295
29696
|
var textDefault$5 = ddsReferenceTokens.textDefault;
|
|
29296
29697
|
var inputBase = {
|
|
29297
29698
|
paddingRight: Spacing$b.SizesDdsSpacingLocalX05
|
|
29298
29699
|
};
|
|
29299
29700
|
|
|
29300
|
-
var smallBase$1 = __assign(__assign({}, FontPackages$
|
|
29701
|
+
var smallBase$1 = __assign(__assign({}, FontPackages$8.supportingStyle_inputtext_01.base), {
|
|
29301
29702
|
paddingTop: Spacing$b.SizesDdsSpacingLocalX05,
|
|
29302
29703
|
paddingBottom: Spacing$b.SizesDdsSpacingLocalX05
|
|
29303
29704
|
});
|
|
29304
29705
|
|
|
29305
|
-
var mediumBase = __assign(__assign({}, FontPackages$
|
|
29706
|
+
var mediumBase = __assign(__assign({}, FontPackages$8.supportingStyle_inputtext_02.base), {
|
|
29306
29707
|
paddingTop: Spacing$b.SizesDdsSpacingLocalX075,
|
|
29307
29708
|
paddingBottom: Spacing$b.SizesDdsSpacingLocalX075
|
|
29308
29709
|
});
|
|
29309
29710
|
|
|
29310
|
-
var largeBase = __assign(__assign({}, FontPackages$
|
|
29711
|
+
var largeBase = __assign(__assign({}, FontPackages$8.supportingStyle_inputtext_03.base), {
|
|
29311
29712
|
paddingTop: Spacing$b.SizesDdsSpacingLocalX1,
|
|
29312
29713
|
paddingBottom: Spacing$b.SizesDdsSpacingLocalX1
|
|
29313
29714
|
});
|
|
@@ -29528,17 +29929,17 @@ var Head = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29528
29929
|
var templateObject_1$j;
|
|
29529
29930
|
|
|
29530
29931
|
var Colors$6 = ddsBaseTokens.colors,
|
|
29531
|
-
FontPackages$
|
|
29932
|
+
FontPackages$7 = ddsBaseTokens.fontPackages,
|
|
29532
29933
|
Border$2 = ddsBaseTokens.border;
|
|
29533
29934
|
var textDefault$4 = ddsReferenceTokens.textDefault;
|
|
29534
29935
|
|
|
29535
29936
|
var bodyRowBase = __assign({
|
|
29536
29937
|
color: textDefault$4.textColor
|
|
29537
|
-
}, FontPackages$
|
|
29938
|
+
}, FontPackages$7.body_sans_02.base);
|
|
29538
29939
|
|
|
29539
29940
|
var headRowBase = __assign(__assign({
|
|
29540
29941
|
color: textDefault$4.textColor
|
|
29541
|
-
}, FontPackages$
|
|
29942
|
+
}, FontPackages$7.body_sans_02.base), {
|
|
29542
29943
|
fontWeight: 600,
|
|
29543
29944
|
textAlign: 'left'
|
|
29544
29945
|
});
|
|
@@ -29556,7 +29957,7 @@ var bodyHoverBase = {
|
|
|
29556
29957
|
backgroundColor: Colors$6.DdsColorSecondaryLightest
|
|
29557
29958
|
};
|
|
29558
29959
|
|
|
29559
|
-
var bodySumBase = __assign(__assign({}, FontPackages$
|
|
29960
|
+
var bodySumBase = __assign(__assign({}, FontPackages$7.body_sans_02.base), {
|
|
29560
29961
|
fontWeight: 600,
|
|
29561
29962
|
borderTop: Border$2.BordersDdsBorderStyle1StrokeWeight + " solid " + Colors$6.DdsColorNeutralsGray4,
|
|
29562
29963
|
borderBottom: Border$2.BordersDdsBorderStyle1StrokeWeight + " solid " + Colors$6.DdsColorNeutralsGray4,
|
|
@@ -29947,13 +30348,20 @@ exports.default = _default;
|
|
|
29947
30348
|
var ArrowBackOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(ArrowBackOutlined);
|
|
29948
30349
|
|
|
29949
30350
|
var Colors$5 = ddsBaseTokens.colors,
|
|
29950
|
-
Spacing$9 = ddsBaseTokens.spacing
|
|
30351
|
+
Spacing$9 = ddsBaseTokens.spacing,
|
|
30352
|
+
FontPackages$6 = ddsBaseTokens.fontPackages;
|
|
29951
30353
|
var iconBase$1 = {
|
|
29952
30354
|
color: Colors$5.DdsColorInteractiveBase,
|
|
29953
30355
|
marginLeft: Spacing$9.SizesDdsSpacingLocalX05,
|
|
29954
30356
|
marginRight: Spacing$9.SizesDdsSpacingLocalX05
|
|
29955
30357
|
};
|
|
30358
|
+
|
|
30359
|
+
var breadcrumbBase = __assign({}, FontPackages$6.body_sans_02.base);
|
|
30360
|
+
|
|
29956
30361
|
var breadcrumbTokens = {
|
|
30362
|
+
breadcrumb: {
|
|
30363
|
+
base: breadcrumbBase
|
|
30364
|
+
},
|
|
29957
30365
|
icon: {
|
|
29958
30366
|
base: iconBase$1,
|
|
29959
30367
|
size: 'small'
|
|
@@ -29967,7 +30375,7 @@ var List$2 = styled.ol.withConfig({
|
|
|
29967
30375
|
var ListItem$2 = styled.li.withConfig({
|
|
29968
30376
|
displayName: "Breadcrumbs__ListItem",
|
|
29969
30377
|
componentId: "sc-xdj21o-1"
|
|
29970
|
-
})(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n"], ["\n align-items: center;\n display: flex;\n"])));
|
|
30378
|
+
})(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n ", "\n"], ["\n align-items: center;\n display: flex;\n ", "\n"])), breadcrumbTokens.breadcrumb.base);
|
|
29971
30379
|
var BreadcrumbIcon = styled(ChevronRightOutlinedIcon).withConfig({
|
|
29972
30380
|
displayName: "Breadcrumbs__BreadcrumbIcon",
|
|
29973
30381
|
componentId: "sc-xdj21o-2"
|
|
@@ -30478,7 +30886,7 @@ var StyledList = styled.ul.withConfig({
|
|
|
30478
30886
|
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]);
|
|
30479
30887
|
}, function (_a) {
|
|
30480
30888
|
var listType = _a.listType;
|
|
30481
|
-
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);
|
|
30889
|
+
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);
|
|
30482
30890
|
});
|
|
30483
30891
|
var List = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30484
30892
|
var _b = _a.listType,
|