@kaizen/components 1.7.9 → 1.7.11
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/CHANGELOG.md +11 -3
- package/dist/cjs/dts/Brand/Brand.d.ts +11 -0
- package/dist/cjs/dts/Brand/index.d.ts +1 -0
- package/dist/cjs/dts/index.d.ts +2 -1
- package/dist/cjs/future.js +1 -1
- package/dist/cjs/{index-89a2803d.js → index-7f3aa247.js} +1 -1
- package/dist/cjs/{index-89a2803d.js.map → index-7f3aa247.js.map} +1 -1
- package/dist/cjs/index.css +2 -1
- package/dist/cjs/index.js +1696 -588
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/dts/Brand/Brand.d.ts +11 -0
- package/dist/esm/dts/Brand/index.d.ts +1 -0
- package/dist/esm/dts/index.d.ts +2 -1
- package/dist/esm/future.js +1 -1
- package/dist/esm/{index-cd3cb19d.js → index-cce2ecd8.js} +1 -1
- package/dist/esm/{index-cd3cb19d.js.map → index-cce2ecd8.js.map} +1 -1
- package/dist/esm/index.css +2 -1
- package/dist/esm/index.js +1684 -577
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +143 -133
- package/dist/styles.css +1 -1
- package/package.json +7 -6
package/dist/esm/index.js
CHANGED
|
@@ -1,429 +1,25 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign, b as __spreadArray, c as __spreadArrays, d as classNames, e as classnamesExports } from './index-cce2ecd8.js';
|
|
1
2
|
import * as React from 'react';
|
|
2
|
-
import React__default, {
|
|
3
|
-
import { _ as __rest, a as __assign, b as __spreadArray, c as __spreadArrays, d as classNames, e as classnamesExports } from './index-cd3cb19d.js';
|
|
3
|
+
import React__default, { useState, useEffect, PureComponent, useRef, forwardRef, useMemo, useCallback, useContext, useLayoutEffect, createElement, createContext } from 'react';
|
|
4
4
|
import { makeCssVariableDefinitionsMap } from '@kaizen/design-tokens';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function() {
|
|
9
|
-
function ThemeManager2(theme, rootElementId, apply) {
|
|
10
|
-
if (rootElementId === void 0) {
|
|
11
|
-
rootElementId = "";
|
|
12
|
-
}
|
|
13
|
-
if (apply === void 0) {
|
|
14
|
-
apply = true;
|
|
15
|
-
}
|
|
16
|
-
var _this = this;
|
|
17
|
-
this.themeChangeListeners = [];
|
|
18
|
-
this.rootElement = null;
|
|
19
|
-
this.getRootElement = function() {
|
|
20
|
-
return _this.rootElement;
|
|
21
|
-
};
|
|
22
|
-
this.getRootElementId = function() {
|
|
23
|
-
return _this.rootElementId;
|
|
24
|
-
};
|
|
25
|
-
this.getCurrentTheme = function() {
|
|
26
|
-
return _this.theme;
|
|
27
|
-
};
|
|
28
|
-
this.setRootElement = function(element) {
|
|
29
|
-
_this.rootElement = element;
|
|
30
|
-
};
|
|
31
|
-
this.setRootElementId = function(rootElementId2) {
|
|
32
|
-
return _this.rootElementId = rootElementId2;
|
|
33
|
-
};
|
|
34
|
-
this.setAndApplyTheme = function(theme2, force) {
|
|
35
|
-
if (!force) {
|
|
36
|
-
if (_this.theme === theme2)
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
_this.theme = theme2;
|
|
40
|
-
_this.applyCurrentTheme();
|
|
41
|
-
_this.notifyThemeChangeListeners(theme2);
|
|
42
|
-
};
|
|
43
|
-
this.addThemeChangeListener = function(listener) {
|
|
44
|
-
_this.themeChangeListeners.push(listener);
|
|
45
|
-
};
|
|
46
|
-
this.removeThemeChangeListener = function(listener) {
|
|
47
|
-
_this.themeChangeListeners = _this.themeChangeListeners.filter(function(l) {
|
|
48
|
-
return l !== listener;
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
this.applyCurrentTheme = function() {
|
|
52
|
-
var _a;
|
|
53
|
-
if (typeof window !== "undefined") {
|
|
54
|
-
_this.setRootElement((_a = document.getElementById(_this.rootElementId)) !== null && _a !== void 0 ? _a : document.documentElement);
|
|
55
|
-
var cssVariableDefinitions = makeCssVariableDefinitionsMap(_this.theme);
|
|
56
|
-
Object.entries(cssVariableDefinitions).forEach(function(_a2) {
|
|
57
|
-
var _b;
|
|
58
|
-
var key = _a2[0], value = _a2[1];
|
|
59
|
-
(_b = _this.rootElement) === null || _b === void 0 ? void 0 : _b.style.setProperty(key, value);
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
this.notifyThemeChangeListeners = function(theme2) {
|
|
64
|
-
_this.themeChangeListeners.forEach(function(listener) {
|
|
65
|
-
return listener(theme2);
|
|
66
|
-
});
|
|
67
|
-
};
|
|
68
|
-
this.theme = theme;
|
|
69
|
-
this.rootElementId = rootElementId;
|
|
70
|
-
if (apply)
|
|
71
|
-
this.applyCurrentTheme();
|
|
72
|
-
}
|
|
73
|
-
return ThemeManager2;
|
|
74
|
-
}()
|
|
75
|
-
);
|
|
6
|
+
const ORIGIN_BASE_URL = "https://d1e7r7b0lb8p4d.cloudfront.net";
|
|
7
|
+
const assetUrl = (path) => [ORIGIN_BASE_URL, path].join("/");
|
|
76
8
|
|
|
77
|
-
var
|
|
78
|
-
themeKey: "heart",
|
|
79
|
-
animation: {
|
|
80
|
-
easingFunction: {
|
|
81
|
-
easeInOut: "cubic-bezier(0.455, 0.03, 0.515, 0.955)",
|
|
82
|
-
easeIn: "cubic-bezier(0.55, 0.085, 0.68, 0.53)",
|
|
83
|
-
easeOut: "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
|
|
84
|
-
linear: "linear",
|
|
85
|
-
bounceIn: "cubic-bezier(0.485, 0.155, 0.24, 1.245)",
|
|
86
|
-
bounceOut: "cubic-bezier(0.485, 0.155, 0.515, 0.845)",
|
|
87
|
-
bounceInOut: "cubic-bezier(0.76, -0.245, 0.24, 1.245)"
|
|
88
|
-
},
|
|
89
|
-
duration: {
|
|
90
|
-
instant: "0ms",
|
|
91
|
-
immediate: "100ms",
|
|
92
|
-
rapid: "200ms",
|
|
93
|
-
fast: "300ms",
|
|
94
|
-
slow: "400ms",
|
|
95
|
-
deliberate: "700ms"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
border: {
|
|
99
|
-
solid: {
|
|
100
|
-
borderWidth: "2px",
|
|
101
|
-
borderRadius: "7px",
|
|
102
|
-
borderStyle: "solid",
|
|
103
|
-
borderColor: "#e1e2ea"
|
|
104
|
-
},
|
|
105
|
-
dashed: {
|
|
106
|
-
borderWidth: "2px",
|
|
107
|
-
borderRadius: "7px",
|
|
108
|
-
borderStyle: "dashed"
|
|
109
|
-
},
|
|
110
|
-
borderless: {
|
|
111
|
-
borderWidth: "2px",
|
|
112
|
-
borderRadius: "7px",
|
|
113
|
-
borderStyle: "solid",
|
|
114
|
-
borderColor: "transparent"
|
|
115
|
-
},
|
|
116
|
-
focusRing: {
|
|
117
|
-
borderWidth: "2px",
|
|
118
|
-
borderRadius: "10px",
|
|
119
|
-
borderStyle: "solid"
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
color: {
|
|
123
|
-
purple: {
|
|
124
|
-
100: "#f4edf8",
|
|
125
|
-
200: "#dfc9ea",
|
|
126
|
-
300: "#c9a5dd",
|
|
127
|
-
400: "#ae67b1",
|
|
128
|
-
500: "#844587",
|
|
129
|
-
600: "#5f3361",
|
|
130
|
-
700: "#4a234d",
|
|
131
|
-
800: "#2f2438"
|
|
132
|
-
},
|
|
133
|
-
blue: {
|
|
134
|
-
100: "#e6f6ff",
|
|
135
|
-
200: "#bde2f5",
|
|
136
|
-
300: "#73c0e8",
|
|
137
|
-
400: "#008bd6",
|
|
138
|
-
500: "#0168b3",
|
|
139
|
-
600: "#004970",
|
|
140
|
-
700: "#003157"
|
|
141
|
-
},
|
|
142
|
-
green: {
|
|
143
|
-
100: "#e8f8f4",
|
|
144
|
-
200: "#c4ede2",
|
|
145
|
-
300: "#8fdbc7",
|
|
146
|
-
400: "#5dcbad",
|
|
147
|
-
500: "#44a289",
|
|
148
|
-
600: "#2c7d67",
|
|
149
|
-
700: "#22594a"
|
|
150
|
-
},
|
|
151
|
-
yellow: {
|
|
152
|
-
100: "#fff9e4",
|
|
153
|
-
200: "#ffeeb3",
|
|
154
|
-
300: "#ffe36e",
|
|
155
|
-
400: "#ffca4d",
|
|
156
|
-
500: "#ffb600",
|
|
157
|
-
600: "#c68600",
|
|
158
|
-
700: "#876400"
|
|
159
|
-
},
|
|
160
|
-
red: {
|
|
161
|
-
100: "#fdeaee",
|
|
162
|
-
200: "#f9c2cb",
|
|
163
|
-
300: "#f597a8",
|
|
164
|
-
400: "#e0707d",
|
|
165
|
-
500: "#c93b55",
|
|
166
|
-
600: "#a82433",
|
|
167
|
-
700: "#6c1e20"
|
|
168
|
-
},
|
|
169
|
-
orange: {
|
|
170
|
-
100: "#fff0e8",
|
|
171
|
-
200: "#ffd1b9",
|
|
172
|
-
300: "#ffb08a",
|
|
173
|
-
400: "#ff9461",
|
|
174
|
-
500: "#e96c2f",
|
|
175
|
-
600: "#b74302",
|
|
176
|
-
700: "#903c00"
|
|
177
|
-
},
|
|
178
|
-
gray: {
|
|
179
|
-
100: "#f9f9f9",
|
|
180
|
-
200: "#f4f4f5",
|
|
181
|
-
300: "#eaeaec",
|
|
182
|
-
400: "#cdcdd0",
|
|
183
|
-
500: "#8c8c97",
|
|
184
|
-
600: "#524e56"
|
|
185
|
-
},
|
|
186
|
-
white: "#ffffff"
|
|
187
|
-
},
|
|
188
|
-
dataViz: {
|
|
189
|
-
favorable: "#7dd5bd",
|
|
190
|
-
unfavorable: "#e68d97"
|
|
191
|
-
},
|
|
192
|
-
layout: {
|
|
193
|
-
contentMaxWidth: "1392px",
|
|
194
|
-
contentMaxWidthWithSidebar: "1080px",
|
|
195
|
-
contentSideMargin: "72px",
|
|
196
|
-
mobileActionsDrawerHeight: "60px",
|
|
197
|
-
navigationBarHeight: "72px",
|
|
198
|
-
breakpoints: {
|
|
199
|
-
medium: "768px",
|
|
200
|
-
large: "1080px"
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
shadow: {
|
|
204
|
-
small: {
|
|
205
|
-
boxShadow: "0px 3px 16px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1)"
|
|
206
|
-
},
|
|
207
|
-
large: {
|
|
208
|
-
boxShadow: "0px 8px 40px rgba(0, 0, 0, 0.08), 0px 3px 9px rgba(0, 0, 0, 0.1)"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
spacing: {
|
|
212
|
-
xs: "0.375rem",
|
|
213
|
-
sm: "0.75rem",
|
|
214
|
-
md: "1.5rem",
|
|
215
|
-
lg: "2.25rem",
|
|
216
|
-
xl: "3rem",
|
|
217
|
-
xxl: "3.75rem",
|
|
218
|
-
xxxl: "4.5rem",
|
|
219
|
-
xxxxl: "5.25rem",
|
|
220
|
-
xxxxxl: "6rem",
|
|
221
|
-
0: "0",
|
|
222
|
-
1: ".0625rem",
|
|
223
|
-
2: ".125rem",
|
|
224
|
-
4: ".25rem",
|
|
225
|
-
6: ".375rem",
|
|
226
|
-
8: ".5rem",
|
|
227
|
-
12: ".75rem",
|
|
228
|
-
16: "1rem",
|
|
229
|
-
24: "1.5rem",
|
|
230
|
-
32: "2rem",
|
|
231
|
-
40: "2.5rem",
|
|
232
|
-
48: "3rem",
|
|
233
|
-
56: "3.5rem",
|
|
234
|
-
64: "4rem",
|
|
235
|
-
72: "4.5rem",
|
|
236
|
-
80: "5rem",
|
|
237
|
-
96: "6rem",
|
|
238
|
-
112: "7rem",
|
|
239
|
-
128: "8rem",
|
|
240
|
-
160: "10rem",
|
|
241
|
-
200: "12.5rem",
|
|
242
|
-
240: "15rem",
|
|
243
|
-
280: "17.5rem",
|
|
244
|
-
320: "20rem"
|
|
245
|
-
},
|
|
246
|
-
typography: {
|
|
247
|
-
dataLarge: {
|
|
248
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
249
|
-
fontWeight: 700,
|
|
250
|
-
fontSize: "5.25rem",
|
|
251
|
-
lineHeight: "5.25rem",
|
|
252
|
-
letterSpacing: "normal"
|
|
253
|
-
},
|
|
254
|
-
dataLargeUnits: {
|
|
255
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
256
|
-
fontWeight: 700,
|
|
257
|
-
fontSize: "2.625rem",
|
|
258
|
-
lineHeight: "5.25rem",
|
|
259
|
-
letterSpacing: "normal"
|
|
260
|
-
},
|
|
261
|
-
dataMedium: {
|
|
262
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
263
|
-
fontWeight: 700,
|
|
264
|
-
fontSize: "3rem",
|
|
265
|
-
lineHeight: "5rem",
|
|
266
|
-
letterSpacing: "normal"
|
|
267
|
-
},
|
|
268
|
-
dataMediumUnits: {
|
|
269
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
270
|
-
fontWeight: 700,
|
|
271
|
-
fontSize: "1.5rem",
|
|
272
|
-
lineHeight: "5rem",
|
|
273
|
-
letterSpacing: "normal"
|
|
274
|
-
},
|
|
275
|
-
dataSmall: {
|
|
276
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
277
|
-
fontWeight: 700,
|
|
278
|
-
fontSize: "1.5rem",
|
|
279
|
-
lineHeight: "1.5rem",
|
|
280
|
-
letterSpacing: "normal"
|
|
281
|
-
},
|
|
282
|
-
dataSmallUnits: {
|
|
283
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
284
|
-
fontWeight: 700,
|
|
285
|
-
fontSize: "1.125rem",
|
|
286
|
-
lineHeight: "1.5rem",
|
|
287
|
-
letterSpacing: "normal"
|
|
288
|
-
},
|
|
289
|
-
display0: {
|
|
290
|
-
fontFamily: '"Tiempos Headline", Georgia, serif',
|
|
291
|
-
fontWeight: 800,
|
|
292
|
-
fontSize: "4.5rem",
|
|
293
|
-
lineHeight: "5.25rem",
|
|
294
|
-
letterSpacing: "0em"
|
|
295
|
-
},
|
|
296
|
-
heading1: {
|
|
297
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
298
|
-
fontWeight: 700,
|
|
299
|
-
fontSize: "2.125rem",
|
|
300
|
-
lineHeight: "2.625rem",
|
|
301
|
-
letterSpacing: "normal"
|
|
302
|
-
},
|
|
303
|
-
heading2: {
|
|
304
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
305
|
-
fontWeight: 700,
|
|
306
|
-
fontSize: "1.75rem",
|
|
307
|
-
lineHeight: "2.25rem",
|
|
308
|
-
letterSpacing: "normal"
|
|
309
|
-
},
|
|
310
|
-
heading3: {
|
|
311
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
312
|
-
fontWeight: 700,
|
|
313
|
-
fontSize: "1.375rem",
|
|
314
|
-
lineHeight: "1.875rem",
|
|
315
|
-
letterSpacing: "normal"
|
|
316
|
-
},
|
|
317
|
-
heading4: {
|
|
318
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
319
|
-
fontWeight: 600,
|
|
320
|
-
fontSize: "1.125rem",
|
|
321
|
-
lineHeight: "1.5rem",
|
|
322
|
-
letterSpacing: "normal"
|
|
323
|
-
},
|
|
324
|
-
heading5: {
|
|
325
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
326
|
-
fontWeight: 600,
|
|
327
|
-
fontSize: "1rem",
|
|
328
|
-
lineHeight: "1.5rem",
|
|
329
|
-
letterSpacing: "normal"
|
|
330
|
-
},
|
|
331
|
-
heading6: {
|
|
332
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
333
|
-
fontWeight: 700,
|
|
334
|
-
fontSize: "0.875rem",
|
|
335
|
-
lineHeight: "1.5rem",
|
|
336
|
-
letterSpacing: "normal"
|
|
337
|
-
},
|
|
338
|
-
paragraphIntroLede: {
|
|
339
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
340
|
-
fontWeight: 400,
|
|
341
|
-
fontSize: "1.25rem",
|
|
342
|
-
lineHeight: "1.875rem",
|
|
343
|
-
letterSpacing: "0"
|
|
344
|
-
},
|
|
345
|
-
paragraphBody: {
|
|
346
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
347
|
-
fontWeight: 400,
|
|
348
|
-
fontSize: "1rem",
|
|
349
|
-
lineHeight: "1.5rem",
|
|
350
|
-
letterSpacing: "normal"
|
|
351
|
-
},
|
|
352
|
-
paragraphSmall: {
|
|
353
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
354
|
-
fontWeight: 400,
|
|
355
|
-
fontSize: "0.875rem",
|
|
356
|
-
lineHeight: "1.125rem",
|
|
357
|
-
letterSpacing: "normal"
|
|
358
|
-
},
|
|
359
|
-
paragraphExtraSmall: {
|
|
360
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
361
|
-
fontWeight: 400,
|
|
362
|
-
fontSize: "0.75rem",
|
|
363
|
-
lineHeight: "1.125rem",
|
|
364
|
-
letterSpacing: "normal"
|
|
365
|
-
},
|
|
366
|
-
paragraphBold: {
|
|
367
|
-
fontWeight: 600
|
|
368
|
-
},
|
|
369
|
-
buttonPrimary: {
|
|
370
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
371
|
-
fontWeight: 700,
|
|
372
|
-
fontSize: "1.125rem",
|
|
373
|
-
lineHeight: "1.5rem",
|
|
374
|
-
letterSpacing: "normal"
|
|
375
|
-
},
|
|
376
|
-
buttonSecondary: {
|
|
377
|
-
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
378
|
-
fontWeight: 500,
|
|
379
|
-
fontSize: "1rem",
|
|
380
|
-
lineHeight: "1.5rem",
|
|
381
|
-
letterSpacing: "normal"
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
};
|
|
9
|
+
var styles$e = {"img":"Brand-module_img__uWvra"};
|
|
385
10
|
|
|
386
|
-
var
|
|
387
|
-
|
|
388
|
-
var
|
|
389
|
-
var ThemeProvider = function(_a) {
|
|
390
|
-
var themeManager = _a.themeManager, props = __rest(_a, ["themeManager"]);
|
|
391
|
-
var themeManagerInstance = useState(function() {
|
|
392
|
-
return themeManager || new ThemeManager(defaultTheme);
|
|
393
|
-
})[0];
|
|
394
|
-
var _b = useState(themeManagerInstance.getCurrentTheme()), theme = _b[0], setTheme = _b[1];
|
|
395
|
-
useEffect(function() {
|
|
396
|
-
var cancelled = false;
|
|
397
|
-
var listener = function(newTheme) {
|
|
398
|
-
if (!cancelled)
|
|
399
|
-
setTheme(newTheme);
|
|
400
|
-
};
|
|
401
|
-
themeManagerInstance.addThemeChangeListener(listener);
|
|
402
|
-
return function() {
|
|
403
|
-
cancelled = true;
|
|
404
|
-
themeManagerInstance.removeThemeChangeListener(listener);
|
|
405
|
-
};
|
|
406
|
-
}, []);
|
|
11
|
+
var Brand = function(_a) {
|
|
12
|
+
var variant = _a.variant, alt = _a.alt, _b = _a.reversed, reversed = _b === void 0 ? false : _b, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["variant", "alt", "reversed", "classNameOverride"]);
|
|
13
|
+
var brandTheme = reversed ? "-reversed" : "-default";
|
|
407
14
|
return React__default.createElement(
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
React__default.createElement(
|
|
411
|
-
React__default.createElement("
|
|
412
|
-
React__default.createElement("
|
|
413
|
-
React__default.createElement("link", { rel: "preload", href: "https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff2", as: "font", type: "font/woff2", crossOrigin: "anonymous" }),
|
|
414
|
-
React__default.createElement("link", { rel: "preload", href: "https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff2", as: "font", type: "font/woff2", crossOrigin: "anonymous" }),
|
|
415
|
-
React__default.createElement("link", { rel: "preload", href: "https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff2", as: "font", type: "font/woff2", crossOrigin: "anonymous" })
|
|
15
|
+
"picture",
|
|
16
|
+
__assign({ className: classNameOverride }, restProps),
|
|
17
|
+
React__default.createElement("source", { srcSet: assetUrl("brand/".concat(variant, "-reversed.svg")), media: "(forced-colors: active) and (prefers-color-scheme: dark)" }),
|
|
18
|
+
React__default.createElement("source", { srcSet: assetUrl("brand/".concat(variant, "-default.svg")), media: "(forced-colors: active) and (prefers-color-scheme: light)" }),
|
|
19
|
+
React__default.createElement("img", { src: assetUrl("brand/".concat(variant).concat(brandTheme, ".svg")), alt, className: styles$e.img })
|
|
416
20
|
);
|
|
417
21
|
};
|
|
418
|
-
|
|
419
|
-
return useContext(ThemeContext);
|
|
420
|
-
};
|
|
421
|
-
|
|
422
|
-
var KaizenProvider = function(_a) {
|
|
423
|
-
var children = _a.children, themeManager = _a.themeManager;
|
|
424
|
-
return React__default.createElement(ThemeProvider, { themeManager }, children);
|
|
425
|
-
};
|
|
426
|
-
KaizenProvider.displayName = "KaizenProvider";
|
|
22
|
+
Brand.displayName = "Brand";
|
|
427
23
|
|
|
428
24
|
var zeroRightClassName = 'right-scroll-bar-position';
|
|
429
25
|
var fullWidthClassName = 'width-before-scroll-bar';
|
|
@@ -3772,8 +3368,8 @@ var hideOthers = function (originalTarget, parentNode, markerName) {
|
|
|
3772
3368
|
};
|
|
3773
3369
|
|
|
3774
3370
|
var Style = styleSingleton();
|
|
3775
|
-
var styles$
|
|
3776
|
-
var InteractivityDisabler = function () { return React.createElement(Style, { styles: styles$
|
|
3371
|
+
var styles$d = "\n [" + focusHiddenMarker + "] {\n pointer-events: none !important;\n }\n";
|
|
3372
|
+
var InteractivityDisabler = function () { return React.createElement(Style, { styles: styles$d }); };
|
|
3777
3373
|
|
|
3778
3374
|
var extractRef = function (ref) {
|
|
3779
3375
|
return 'current' in ref ? ref.current : ref;
|
|
@@ -37247,14 +36843,14 @@ function Reference(_ref) {
|
|
|
37247
36843
|
// Public types
|
|
37248
36844
|
|
|
37249
36845
|
var esm = /*#__PURE__*/Object.freeze({
|
|
37250
|
-
|
|
37251
|
-
|
|
37252
|
-
|
|
37253
|
-
|
|
37254
|
-
|
|
36846
|
+
__proto__: null,
|
|
36847
|
+
Manager: Manager,
|
|
36848
|
+
Popper: Popper,
|
|
36849
|
+
Reference: Reference,
|
|
36850
|
+
usePopper: usePopper
|
|
37255
36851
|
});
|
|
37256
36852
|
|
|
37257
|
-
var styles$
|
|
36853
|
+
var styles$c = {"filterPopover":"FilterPopover-module_filterPopover__OgOEM"};
|
|
37258
36854
|
|
|
37259
36855
|
var FilterPopover = function(_a) {
|
|
37260
36856
|
var children = _a.children, referenceElement = _a.referenceElement, popperOptions = _a.popperOptions, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "referenceElement", "popperOptions", "classNameOverride"]);
|
|
@@ -37267,7 +36863,7 @@ var FilterPopover = function(_a) {
|
|
|
37267
36863
|
}
|
|
37268
36864
|
}
|
|
37269
36865
|
], placement: "bottom-start", strategy: "fixed" }, popperOptions)), popperStyles = _c.styles, popperAttributes = _c.attributes;
|
|
37270
|
-
return React__default.createElement("div", __assign({ ref: setPopperElement, style: popperStyles === null || popperStyles === void 0 ? void 0 : popperStyles.popper }, popperAttributes === null || popperAttributes === void 0 ? void 0 : popperAttributes.popper, { className: classNames(styles$
|
|
36866
|
+
return React__default.createElement("div", __assign({ ref: setPopperElement, style: popperStyles === null || popperStyles === void 0 ? void 0 : popperStyles.popper }, popperAttributes === null || popperAttributes === void 0 ? void 0 : popperAttributes.popper, { className: classNames(styles$c.filterPopover, classNameOverride), role: "dialog", "aria-modal": "true" }, restProps), children);
|
|
37271
36867
|
};
|
|
37272
36868
|
FilterPopover.displayName = "FilterPopover";
|
|
37273
36869
|
|
|
@@ -37312,31 +36908,31 @@ var Filter = function(_a) {
|
|
|
37312
36908
|
};
|
|
37313
36909
|
Filter.displayName = "Filter";
|
|
37314
36910
|
|
|
37315
|
-
var styles$
|
|
36911
|
+
var styles$b = {"filterContents":"FilterContents-module_filterContents__uNUpd"};
|
|
37316
36912
|
|
|
37317
36913
|
var FilterContents = function(_a) {
|
|
37318
36914
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "classNameOverride"]);
|
|
37319
|
-
return React__default.createElement("div", __assign({ className: classNames(styles$
|
|
36915
|
+
return React__default.createElement("div", __assign({ className: classNames(styles$b.filterContents, classNameOverride) }, restProps), children);
|
|
37320
36916
|
};
|
|
37321
36917
|
FilterContents.displayName = "FilterContents";
|
|
37322
36918
|
|
|
37323
|
-
var yellow
|
|
37324
|
-
var reset
|
|
37325
|
-
var warn
|
|
37326
|
-
console.warn("".concat(yellow
|
|
36919
|
+
var yellow = "\x1B[33m ";
|
|
36920
|
+
var reset = "\x1B[0m ";
|
|
36921
|
+
var warn = function(message) {
|
|
36922
|
+
console.warn("".concat(yellow, "\nKAIZEN WARNING:\n").concat(singleLine(message)).concat(reset, "\n"));
|
|
37327
36923
|
};
|
|
37328
|
-
var singleLine
|
|
36924
|
+
var singleLine = function(message) {
|
|
37329
36925
|
return message.replace(/^ +/gm, " ").replace(/\n|\r/gm, "").trim();
|
|
37330
36926
|
};
|
|
37331
36927
|
|
|
37332
|
-
var styles$
|
|
36928
|
+
var styles$a = {"icon":"SVG-module_icon__FE6iP","inheritSize":"SVG-module_inheritSize__wiKMe","interactiveIconWrapper":"SVG-module_interactiveIconWrapper__ACcob","disabled":"SVG-module_disabled__WB5BU","hover":"SVG-module_hover__QivVO","active":"SVG-module_active__R9jic","reversedInteractiveIconWrapper":"SVG-module_reversedInteractiveIconWrapper__hTsnf SVG-module_interactiveIconWrapper__ACcob"};
|
|
37333
36929
|
|
|
37334
36930
|
var SVG = function(_a) {
|
|
37335
36931
|
var _b, _c;
|
|
37336
36932
|
var _d = _a.inheritSize, inheritSize = _d === void 0 ? false : _d, _e = _a.role, role = _e === void 0 ? "img" : _e, _f = _a.title, title = _f === void 0 ? "" : _f, _g = _a.desc, desc = _g === void 0 ? "" : _g, _h = _a.viewBox, viewBox = _h === void 0 ? "0 0 20 20" : _h, classNameOverride = _a.classNameOverride, children = _a.children, props = __rest(_a, ["inheritSize", "role", "title", "desc", "viewBox", "classNameOverride", "children"]);
|
|
37337
36933
|
var isMeaningfulImg = role === "img";
|
|
37338
36934
|
if (isMeaningfulImg && !title) {
|
|
37339
|
-
warn
|
|
36935
|
+
warn(`
|
|
37340
36936
|
Icon with role "img" missing a title attribute.
|
|
37341
36937
|
|
|
37342
36938
|
Assistive technologies that enable vision-impaired users to read web pages
|
|
@@ -37361,7 +36957,7 @@ var SVG = function(_a) {
|
|
|
37361
36957
|
return React__default.createElement(
|
|
37362
36958
|
"svg",
|
|
37363
36959
|
__assign({
|
|
37364
|
-
className: classNames(styles$
|
|
36960
|
+
className: classNames(styles$a.icon, classNameOverride, (_c = {}, _c[styles$a.inheritSize] = inheritSize, _c)),
|
|
37365
36961
|
viewBox,
|
|
37366
36962
|
// Work around IE11 making all SVGs focusable.
|
|
37367
36963
|
// See http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-4
|
|
@@ -37430,15 +37026,15 @@ var isRefObject = function(ref) {
|
|
|
37430
37026
|
return ref !== null && "current" in ref;
|
|
37431
37027
|
};
|
|
37432
37028
|
|
|
37433
|
-
var styles$
|
|
37029
|
+
var styles$9 = {"filterButtonBase":"FilterButtonBase-module_filterButtonBase__I8mV-"};
|
|
37434
37030
|
|
|
37435
37031
|
var FilterButtonBase = forwardRef(function(_a, ref) {
|
|
37436
37032
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "classNameOverride"]);
|
|
37437
|
-
return React__default.createElement("button", __assign({ ref, className: classNames(styles$
|
|
37033
|
+
return React__default.createElement("button", __assign({ ref, className: classNames(styles$9.filterButtonBase, classNameOverride) }, restProps), children);
|
|
37438
37034
|
});
|
|
37439
37035
|
FilterButtonBase.displayName = "FilterButtonBase";
|
|
37440
37036
|
|
|
37441
|
-
var styles$
|
|
37037
|
+
var styles$8 = {"filterButton":"FilterButton-module_filterButton__Q2dMX","labelContainer":"FilterButton-module_labelContainer__5G-MD","hasSelectedValues":"FilterButton-module_hasSelectedValues__dyQkL","labelSeparator":"FilterButton-module_labelSeparator__xrkAx"};
|
|
37442
37038
|
|
|
37443
37039
|
var FilterButton = forwardRef(function(_a, ref) {
|
|
37444
37040
|
var label = _a.label, selectedValue = _a.selectedValue, _b = _a.isOpen, isOpen = _b === void 0 ? false : _b, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["label", "selectedValue", "isOpen", "classNameOverride"]);
|
|
@@ -37447,15 +37043,15 @@ var FilterButton = forwardRef(function(_a, ref) {
|
|
|
37447
37043
|
var selectedValuesLabel = selectedValue;
|
|
37448
37044
|
return React__default.createElement(
|
|
37449
37045
|
FilterButtonBase,
|
|
37450
|
-
__assign({ ref: triggerRef, classNameOverride: classNames(styles$
|
|
37451
|
-
React__default.createElement("span", { className: styles$
|
|
37046
|
+
__assign({ ref: triggerRef, classNameOverride: classNames(styles$8.filterButton, classNameOverride), "aria-haspopup": "true", "aria-expanded": isOpen }, restProps),
|
|
37047
|
+
React__default.createElement("span", { className: styles$8.labelContainer }, selectedValuesLabel ? React__default.createElement(
|
|
37452
37048
|
React__default.Fragment,
|
|
37453
37049
|
null,
|
|
37454
37050
|
React__default.createElement(
|
|
37455
37051
|
"span",
|
|
37456
|
-
{ className: styles$
|
|
37052
|
+
{ className: styles$8.hasSelectedValues },
|
|
37457
37053
|
React__default.createElement("span", null, label),
|
|
37458
|
-
React__default.createElement("span", { className: styles$
|
|
37054
|
+
React__default.createElement("span", { className: styles$8.labelSeparator }, ":")
|
|
37459
37055
|
),
|
|
37460
37056
|
React__default.createElement("span", null, selectedValuesLabel)
|
|
37461
37057
|
) : label),
|
|
@@ -37470,20 +37066,20 @@ var Tooltip$1 = {};
|
|
|
37470
37066
|
|
|
37471
37067
|
var Tooltip = {};
|
|
37472
37068
|
|
|
37473
|
-
var require$$3 = /*@__PURE__*/getAugmentedNamespace(esm);
|
|
37069
|
+
var require$$3$2 = /*@__PURE__*/getAugmentedNamespace(esm);
|
|
37474
37070
|
|
|
37475
37071
|
var AppearanceAnim = {};
|
|
37476
37072
|
|
|
37477
37073
|
function c(u,e,c){var i=this,a=useRef(null),o=useRef(0),f=useRef(null),l=useRef([]),m=useRef(),v=useRef(),d=useRef(u),p=useRef(!0);useEffect(function(){d.current=u;},[u]);var g=!e&&0!==e&&"undefined"!=typeof window;if("function"!=typeof u)throw new TypeError("Expected a function");e=+e||0;var w=!!(c=c||{}).leading,s=!("trailing"in c)||!!c.trailing,x="maxWait"in c,y=x?Math.max(+c.maxWait||0,e):null;useEffect(function(){return p.current=!0,function(){p.current=!1;}},[]);var h=useMemo(function(){var r=function(r){var n=l.current,t=m.current;return l.current=m.current=null,o.current=r,v.current=d.current.apply(t,n)},n=function(r,n){g&&cancelAnimationFrame(f.current),f.current=g?requestAnimationFrame(r):setTimeout(r,n);},t=function(r){if(!p.current)return !1;var n=r-a.current;return !a.current||n>=e||n<0||x&&r-o.current>=y},u=function(n){return f.current=null,s&&l.current?r(n):(l.current=m.current=null,v.current)},c=function r(){var c=Date.now();if(t(c))return u(c);if(p.current){var i=e-(c-a.current),f=x?Math.min(i,y-(c-o.current)):i;n(r,f);}},h=function(){var u=Date.now(),d=t(u);if(l.current=[].slice.call(arguments),m.current=i,a.current=u,d){if(!f.current&&p.current)return o.current=a.current,n(c,e),w?r(a.current):v.current;if(x)return n(c,e),r(a.current)}return f.current||n(c,e),v.current};return h.cancel=function(){f.current&&(g?cancelAnimationFrame(f.current):clearTimeout(f.current)),o.current=0,l.current=a.current=m.current=f.current=null;},h.isPending=function(){return !!f.current},h.flush=function(){return f.current?u(Date.now()):v.current},h},[w,x,e,y,s,g]);return h}function i(r,n){return r===n}function a(r){return "function"==typeof r?function(){return r}:r}function o(n,t,o){var f,l,m=o&&o.equalityFn||i,v=(f=useState(a(n)),l=f[1],[f[0],useCallback(function(r){return l(a(r))},[])]),d=v[0],p=v[1],g=c(useCallback(function(r){return p(r)},[p]),t,o),w=useRef(n);return m(w.current,n)||(g(n),w.current=n),[d,g]}function f$1(r,n,t){var u=void 0===t?{}:t,e=u.leading,i=u.trailing;return c(r,n,{maxWait:n,leading:void 0===e||e,trailing:void 0===i||i})}
|
|
37478
37074
|
|
|
37479
37075
|
var index_module = /*#__PURE__*/Object.freeze({
|
|
37480
|
-
|
|
37481
|
-
|
|
37482
|
-
|
|
37483
|
-
|
|
37076
|
+
__proto__: null,
|
|
37077
|
+
useDebounce: o,
|
|
37078
|
+
useDebouncedCallback: c,
|
|
37079
|
+
useThrottledCallback: f$1
|
|
37484
37080
|
});
|
|
37485
37081
|
|
|
37486
|
-
var require$$1$
|
|
37082
|
+
var require$$1$5 = /*@__PURE__*/getAugmentedNamespace(index_module);
|
|
37487
37083
|
|
|
37488
37084
|
(function(exports) {
|
|
37489
37085
|
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
@@ -37545,7 +37141,7 @@ var require$$1$1 = /*@__PURE__*/getAugmentedNamespace(index_module);
|
|
|
37545
37141
|
exports.__esModule = true;
|
|
37546
37142
|
exports.useAnimation = exports.AnimationProvider = exports.AnimationContext = void 0;
|
|
37547
37143
|
var react_1 = __importStar(React__default);
|
|
37548
|
-
var use_debounce_1 = require$$1$
|
|
37144
|
+
var use_debounce_1 = require$$1$5;
|
|
37549
37145
|
var ANIM_DURATION_MS = 400;
|
|
37550
37146
|
exports.AnimationContext = react_1["default"].createContext({
|
|
37551
37147
|
isVisible: false,
|
|
@@ -38193,24 +37789,24 @@ function version(uuid) {
|
|
|
38193
37789
|
}
|
|
38194
37790
|
|
|
38195
37791
|
var esmBrowser = /*#__PURE__*/Object.freeze({
|
|
38196
|
-
|
|
38197
|
-
|
|
38198
|
-
|
|
38199
|
-
|
|
38200
|
-
|
|
38201
|
-
|
|
38202
|
-
|
|
38203
|
-
|
|
38204
|
-
|
|
38205
|
-
|
|
37792
|
+
__proto__: null,
|
|
37793
|
+
NIL: nil,
|
|
37794
|
+
parse: parse,
|
|
37795
|
+
stringify: stringify,
|
|
37796
|
+
v1: v1,
|
|
37797
|
+
v3: v3$1,
|
|
37798
|
+
v4: v4,
|
|
37799
|
+
v5: v5$1,
|
|
37800
|
+
validate: validate,
|
|
37801
|
+
version: version
|
|
38206
37802
|
});
|
|
38207
37803
|
|
|
38208
|
-
var require$$1 = /*@__PURE__*/getAugmentedNamespace(esmBrowser);
|
|
37804
|
+
var require$$1$4 = /*@__PURE__*/getAugmentedNamespace(esmBrowser);
|
|
38209
37805
|
|
|
38210
37806
|
useUuid$1.__esModule = true;
|
|
38211
37807
|
useUuid$1.useUuid = void 0;
|
|
38212
37808
|
var react_1 = React__default;
|
|
38213
|
-
var uuid_1 = require$$1;
|
|
37809
|
+
var uuid_1 = require$$1$4;
|
|
38214
37810
|
var useUuid = function() {
|
|
38215
37811
|
return (0, react_1.useMemo)(function() {
|
|
38216
37812
|
return (0, uuid_1.v4)();
|
|
@@ -38221,11 +37817,11 @@ useUuid$1.useUuid = useUuid;
|
|
|
38221
37817
|
var Tooltip_module = {"tooltip":"Tooltip-module_tooltip__80yPv","tooltipContent":"Tooltip-module_tooltipContent__gXHKT","default":"Tooltip-module_default__oLBfa","informative":"Tooltip-module_informative__Lw2ZJ","positive":"Tooltip-module_positive__31-es","cautionary":"Tooltip-module_cautionary__jr2QQ","highlight":"Tooltip-module_highlight__b5HMe","arrow":"Tooltip-module_arrow__LWe4h","arrowInner":"Tooltip-module_arrowInner__whQvw","arrowMain":"Tooltip-module_arrowMain__VSut6","arrowShadow":"Tooltip-module_arrowShadow__cwgsV","displayInline":"Tooltip-module_displayInline__iojZb","displayBlock":"Tooltip-module_displayBlock__RfmWl","displayInlineBlock":"Tooltip-module_displayInlineBlock__2q-e6","displayFlex":"Tooltip-module_displayFlex__orTOm","displayInlineFlex":"Tooltip-module_displayInlineFlex__z-4AS"};
|
|
38222
37818
|
|
|
38223
37819
|
var Tooltip_module$1 = /*#__PURE__*/Object.freeze({
|
|
38224
|
-
|
|
38225
|
-
|
|
37820
|
+
__proto__: null,
|
|
37821
|
+
default: Tooltip_module
|
|
38226
37822
|
});
|
|
38227
37823
|
|
|
38228
|
-
var require$$6 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
37824
|
+
var require$$6$1 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
38229
37825
|
|
|
38230
37826
|
(function(exports) {
|
|
38231
37827
|
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
@@ -38280,10 +37876,10 @@ var require$$6 = /*@__PURE__*/getAugmentedNamespace(Tooltip_module$1);
|
|
|
38280
37876
|
var react_1 = __importStar(React__default);
|
|
38281
37877
|
var react_dom_1 = __importDefault(reactDomExports);
|
|
38282
37878
|
var classnames_1 = __importDefault(classnamesExports);
|
|
38283
|
-
var react_popper_1 = require$$3;
|
|
37879
|
+
var react_popper_1 = require$$3$2;
|
|
38284
37880
|
var AppearanceAnim_1 = AppearanceAnim;
|
|
38285
37881
|
var useUuid_1 = useUuid$1;
|
|
38286
|
-
var Tooltip_module_scss_1 = __importDefault(require$$6);
|
|
37882
|
+
var Tooltip_module_scss_1 = __importDefault(require$$6$1);
|
|
38287
37883
|
var positionToPlacement = /* @__PURE__ */ new Map([
|
|
38288
37884
|
["above", "top"],
|
|
38289
37885
|
["below", "bottom"],
|
|
@@ -38469,7 +38065,7 @@ var ClearIcon = function(props) {
|
|
|
38469
38065
|
);
|
|
38470
38066
|
};
|
|
38471
38067
|
|
|
38472
|
-
var styles$
|
|
38068
|
+
var styles$7 = {"buttonGroup":"ButtonGroup-module_buttonGroup__bsy2X","child":"ButtonGroup-module_child__K6AP-","firstChild":"ButtonGroup-module_firstChild__uEn1j","lastChild":"ButtonGroup-module_lastChild__Vicsx"};
|
|
38473
38069
|
|
|
38474
38070
|
var isFilterButton = function(node) {
|
|
38475
38071
|
return React__default.isValidElement(node) && node.type === FilterButtonBase;
|
|
@@ -38477,11 +38073,11 @@ var isFilterButton = function(node) {
|
|
|
38477
38073
|
var ButtonGroup = function(_a) {
|
|
38478
38074
|
var children = _a.children, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "classNameOverride"]);
|
|
38479
38075
|
var childCount = React__default.Children.count(children);
|
|
38480
|
-
var containerProps = __assign({ role: "group", className: classNames(styles$
|
|
38076
|
+
var containerProps = __assign({ role: "group", className: classNames(styles$7.buttonGroup, classNameOverride) }, restProps);
|
|
38481
38077
|
if (childCount === 1)
|
|
38482
38078
|
return React__default.createElement("div", __assign({}, containerProps), children);
|
|
38483
38079
|
return React__default.createElement("div", __assign({}, containerProps), React__default.Children.map(children, function(child, index) {
|
|
38484
|
-
var buttonClassNames = classNames(styles$
|
|
38080
|
+
var buttonClassNames = classNames(styles$7.child, index === 0 && styles$7.firstChild, index === childCount - 1 && styles$7.lastChild, child.props.classNameOverride);
|
|
38485
38081
|
if (child.type === tooltip.Tooltip) {
|
|
38486
38082
|
var button = child.props.children;
|
|
38487
38083
|
if (isFilterButton(button)) {
|
|
@@ -45009,46 +44605,46 @@ function $af383d3bef1cfdc9$export$c3f9f39876e4bc7(props) {
|
|
|
45009
44605
|
};
|
|
45010
44606
|
}
|
|
45011
44607
|
|
|
45012
|
-
var styles$
|
|
44608
|
+
var styles$6 = {"listBox":"ListBox-module_listBox__FQ9sQ","focus":"ListBox-module_focus__Tm-jn"};
|
|
45013
44609
|
|
|
45014
44610
|
var ListBox = function(_a) {
|
|
45015
44611
|
var children = _a.children, menuProps = _a.menuProps, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "menuProps", "classNameOverride"]);
|
|
45016
44612
|
var state = useSelectContext().state;
|
|
45017
44613
|
var ref = React__default.useRef(null);
|
|
45018
44614
|
var listBoxProps = $c132121280ec012d$export$50eacbbf140a3141(__assign(__assign({}, menuProps), { disallowEmptySelection: true, autoFocus: "first" }), state, ref).listBoxProps;
|
|
45019
|
-
return React__default.createElement("ul", __assign({ ref, className: classNames(styles$
|
|
44615
|
+
return React__default.createElement("ul", __assign({ ref, className: classNames(styles$6.listBox, classNameOverride) }, listBoxProps, restProps), children);
|
|
45020
44616
|
};
|
|
45021
44617
|
ListBox.displayName = "ListBox";
|
|
45022
44618
|
|
|
45023
|
-
var styles$
|
|
44619
|
+
var styles$5 = {"heading":"Heading-module_heading__Fe11y","display-0":"Heading-module_display-0__As5Ny","heading-1":"Heading-module_heading-1__fMzkm","heading-2":"Heading-module_heading-2__bgkcr","heading-3":"Heading-module_heading-3__ZRUkC","heading-4":"Heading-module_heading-4__XbONZ","heading-5":"Heading-module_heading-5__fj2Gb","heading-6":"Heading-module_heading-6__Cmand","dark":"Heading-module_dark__9m1Av","dark-reduced-opacity":"Heading-module_dark-reduced-opacity__APHzM","white":"Heading-module_white__6Flbw","white-reduced-opacity":"Heading-module_white-reduced-opacity__-3jNg","positive":"Heading-module_positive__uTfoL","small":"Heading-module_small__I8UMW","large":"Heading-module_large__wKrUS","negative":"Heading-module_negative__hcnMm"};
|
|
45024
44620
|
|
|
45025
|
-
var __defProp$
|
|
44621
|
+
var __defProp$1 = Object.defineProperty;
|
|
45026
44622
|
var __defProps = Object.defineProperties;
|
|
45027
44623
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
45028
|
-
var __getOwnPropSymbols$
|
|
45029
|
-
var __hasOwnProp$
|
|
45030
|
-
var __propIsEnum$
|
|
45031
|
-
var __defNormalProp$
|
|
45032
|
-
var __spreadValues$
|
|
44624
|
+
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
44625
|
+
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
44626
|
+
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
44627
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
44628
|
+
var __spreadValues$1 = (a, b) => {
|
|
45033
44629
|
for (var prop in b || (b = {}))
|
|
45034
|
-
if (__hasOwnProp$
|
|
45035
|
-
__defNormalProp$
|
|
45036
|
-
if (__getOwnPropSymbols$
|
|
45037
|
-
for (var prop of __getOwnPropSymbols$
|
|
45038
|
-
if (__propIsEnum$
|
|
45039
|
-
__defNormalProp$
|
|
44630
|
+
if (__hasOwnProp$1.call(b, prop))
|
|
44631
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
44632
|
+
if (__getOwnPropSymbols$1)
|
|
44633
|
+
for (var prop of __getOwnPropSymbols$1(b)) {
|
|
44634
|
+
if (__propIsEnum$1.call(b, prop))
|
|
44635
|
+
__defNormalProp$1(a, prop, b[prop]);
|
|
45040
44636
|
}
|
|
45041
44637
|
return a;
|
|
45042
44638
|
};
|
|
45043
44639
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
45044
|
-
var __objRest$
|
|
44640
|
+
var __objRest$1 = (source, exclude) => {
|
|
45045
44641
|
var target = {};
|
|
45046
44642
|
for (var prop in source)
|
|
45047
|
-
if (__hasOwnProp$
|
|
44643
|
+
if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
45048
44644
|
target[prop] = source[prop];
|
|
45049
|
-
if (source != null && __getOwnPropSymbols$
|
|
45050
|
-
for (var prop of __getOwnPropSymbols$
|
|
45051
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
44645
|
+
if (source != null && __getOwnPropSymbols$1)
|
|
44646
|
+
for (var prop of __getOwnPropSymbols$1(source)) {
|
|
44647
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))
|
|
45052
44648
|
target[prop] = source[prop];
|
|
45053
44649
|
}
|
|
45054
44650
|
return target;
|
|
@@ -45061,7 +44657,7 @@ const Heading = (_a) => {
|
|
|
45061
44657
|
variant,
|
|
45062
44658
|
color = "dark",
|
|
45063
44659
|
classNameOverride
|
|
45064
|
-
} = _b, restProps = __objRest$
|
|
44660
|
+
} = _b, restProps = __objRest$1(_b, [
|
|
45065
44661
|
"children",
|
|
45066
44662
|
"tag",
|
|
45067
44663
|
"variant",
|
|
@@ -45070,13 +44666,13 @@ const Heading = (_a) => {
|
|
|
45070
44666
|
]);
|
|
45071
44667
|
const inferredTag = tag === void 0 ? translateHeadingLevelToTag(variant) : tag;
|
|
45072
44668
|
const className = classNames([
|
|
45073
|
-
styles$
|
|
45074
|
-
styles$
|
|
44669
|
+
styles$5.heading,
|
|
44670
|
+
styles$5[variant],
|
|
45075
44671
|
classNameOverride,
|
|
45076
|
-
styles$
|
|
45077
|
-
VARIANTS_24PX_OR_GREATER.includes(variant) ? styles$
|
|
44672
|
+
styles$5[color],
|
|
44673
|
+
VARIANTS_24PX_OR_GREATER.includes(variant) ? styles$5.large : styles$5.small
|
|
45078
44674
|
]);
|
|
45079
|
-
return createElement(inferredTag, __spreadProps(__spreadValues$
|
|
44675
|
+
return createElement(inferredTag, __spreadProps(__spreadValues$1({}, restProps), { className }), children);
|
|
45080
44676
|
};
|
|
45081
44677
|
Heading.displayName = "Heading";
|
|
45082
44678
|
const translateHeadingLevelToTag = (headingLevel) => {
|
|
@@ -45098,67 +44694,107 @@ const translateHeadingLevelToTag = (headingLevel) => {
|
|
|
45098
44694
|
}
|
|
45099
44695
|
};
|
|
45100
44696
|
|
|
45101
|
-
|
|
45102
|
-
const reset = "\x1B[0m ";
|
|
45103
|
-
const warn = (message) => {
|
|
45104
|
-
console.warn(
|
|
45105
|
-
`${yellow}
|
|
45106
|
-
CULTUREAMP UI WARNING:
|
|
45107
|
-
${singleLine(message)}${reset}
|
|
45108
|
-
`
|
|
45109
|
-
);
|
|
45110
|
-
};
|
|
45111
|
-
const singleLine = (message) => message.replace(/^ +/gm, " ").replace(/\n|\r/gm, "").trim();
|
|
44697
|
+
var componentLibrary = {};
|
|
45112
44698
|
|
|
45113
|
-
var
|
|
44699
|
+
var components = {};
|
|
45114
44700
|
|
|
45115
|
-
var
|
|
45116
|
-
|
|
45117
|
-
var
|
|
45118
|
-
|
|
45119
|
-
var
|
|
45120
|
-
|
|
45121
|
-
|
|
45122
|
-
|
|
45123
|
-
|
|
45124
|
-
|
|
45125
|
-
|
|
45126
|
-
|
|
45127
|
-
|
|
45128
|
-
|
|
45129
|
-
|
|
45130
|
-
|
|
45131
|
-
|
|
45132
|
-
|
|
45133
|
-
|
|
45134
|
-
|
|
45135
|
-
|
|
45136
|
-
|
|
45137
|
-
|
|
45138
|
-
|
|
45139
|
-
|
|
45140
|
-
|
|
45141
|
-
|
|
45142
|
-
|
|
45143
|
-
|
|
45144
|
-
|
|
45145
|
-
|
|
45146
|
-
|
|
45147
|
-
|
|
45148
|
-
|
|
45149
|
-
|
|
45150
|
-
|
|
45151
|
-
}
|
|
45152
|
-
|
|
45153
|
-
|
|
45154
|
-
"
|
|
45155
|
-
|
|
45156
|
-
|
|
45157
|
-
|
|
45158
|
-
|
|
45159
|
-
|
|
45160
|
-
|
|
45161
|
-
|
|
44701
|
+
var Dropdown$1 = {};
|
|
44702
|
+
|
|
44703
|
+
var Dropdown = {};
|
|
44704
|
+
|
|
44705
|
+
var img$2 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg width='20px' height='20px' viewBox='0 0 20 20' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e %3c!-- Generator: Sketch 44.1 (41455) - http://www.bohemiancoding.com/sketch --%3e %3ctitle%3eIcons/Directional/chevron-down%3c/title%3e %3cdesc%3eCreated with Sketch.%3c/desc%3e %3cdefs%3e %3cpolygon id='path-1' points='6.17916667 6.84500003 10 10.746733 13.8208333 6.84500003 15 8.04913353 10 13.155 5 8.04913353'%3e%3c/polygon%3e %3c/defs%3e %3cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='Icons/Directional/chevron-down'%3e %3cmask id='mask-2' fill='white'%3e %3cuse xlink:href='%23path-1'%3e%3c/use%3e %3c/mask%3e %3cuse fill='black' xlink:href='%23path-1'%3e%3c/use%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
|
|
44706
|
+
|
|
44707
|
+
var chevronDown_icon = /*#__PURE__*/Object.freeze({
|
|
44708
|
+
__proto__: null,
|
|
44709
|
+
default: img$2
|
|
44710
|
+
});
|
|
44711
|
+
|
|
44712
|
+
var require$$2$1 = /*@__PURE__*/getAugmentedNamespace(chevronDown_icon);
|
|
44713
|
+
|
|
44714
|
+
var img$1 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg width='20px' height='20px' viewBox='0 0 20 20' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e %3c!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch --%3e %3ctitle%3emeatballs%3c/title%3e %3cdesc%3eCreated with Sketch.%3c/desc%3e %3cdefs%3e %3cpath d='M4%2c8 C2.9%2c8 2%2c8.9 2%2c10 C2%2c11.1 2.9%2c12 4%2c12 C5.1%2c12 6%2c11.1 6%2c10 C6%2c8.9 5.1%2c8 4%2c8 L4%2c8 Z M16%2c8 C14.9%2c8 14%2c8.9 14%2c10 C14%2c11.1 14.9%2c12 16%2c12 C17.1%2c12 18%2c11.1 18%2c10 C18%2c8.9 17.1%2c8 16%2c8 L16%2c8 Z M10%2c8 C8.9%2c8 8%2c8.9 8%2c10 C8%2c11.1 8.9%2c12 10%2c12 C11.1%2c12 12%2c11.1 12%2c10 C12%2c8.9 11.1%2c8 10%2c8 L10%2c8 Z' id='path-1'%3e%3c/path%3e %3c/defs%3e %3cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='meatballs'%3e %3cmask id='mask-2' fill='white'%3e %3cuse xlink:href='%23path-1'%3e%3c/use%3e %3c/mask%3e %3cuse id='Icons/Actions/metballs' fill='black' xlink:href='%23path-1'%3e%3c/use%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
|
|
44715
|
+
|
|
44716
|
+
var ellipsis_icon = /*#__PURE__*/Object.freeze({
|
|
44717
|
+
__proto__: null,
|
|
44718
|
+
default: img$1
|
|
44719
|
+
});
|
|
44720
|
+
|
|
44721
|
+
var require$$3$1 = /*@__PURE__*/getAugmentedNamespace(ellipsis_icon);
|
|
44722
|
+
|
|
44723
|
+
var Icon$1 = {};
|
|
44724
|
+
|
|
44725
|
+
var Icon = {};
|
|
44726
|
+
|
|
44727
|
+
var console$1 = {};
|
|
44728
|
+
|
|
44729
|
+
(function(exports) {
|
|
44730
|
+
exports.__esModule = true;
|
|
44731
|
+
exports.singleLine = exports.warn = exports.error = void 0;
|
|
44732
|
+
var red = "\x1B[31m ";
|
|
44733
|
+
var yellow = "\x1B[33m ";
|
|
44734
|
+
var reset = "\x1B[0m ";
|
|
44735
|
+
var error = function(message) {
|
|
44736
|
+
throw new Error("".concat(red, "\nCULTUREAMP UI ERROR:\n").concat((0, exports.singleLine)(message)).concat(reset, "\n"));
|
|
44737
|
+
};
|
|
44738
|
+
exports.error = error;
|
|
44739
|
+
var warn = function(message) {
|
|
44740
|
+
console.warn("".concat(yellow, "\nCULTUREAMP UI WARNING:\n").concat((0, exports.singleLine)(message)).concat(reset, "\n"));
|
|
44741
|
+
};
|
|
44742
|
+
exports.warn = warn;
|
|
44743
|
+
var singleLine = function(message) {
|
|
44744
|
+
return message.replace(/^ +/gm, " ").replace(/\n|\r/gm, "").trim();
|
|
44745
|
+
};
|
|
44746
|
+
exports.singleLine = singleLine;
|
|
44747
|
+
})(console$1);
|
|
44748
|
+
|
|
44749
|
+
var Icon_module = {"icon":"Icon-module_icon__1r20x","inheritSize":"Icon-module_inheritSize__xtkKA","interactiveIconWrapper":"Icon-module_interactiveIconWrapper__ieTrE","disabled":"Icon-module_disabled__bqMQV","hover":"Icon-module_hover__EdRCd","active":"Icon-module_active__d47mz","reversedInteractiveIconWrapper":"Icon-module_reversedInteractiveIconWrapper__sZ6CO Icon-module_interactiveIconWrapper__ieTrE"};
|
|
44750
|
+
|
|
44751
|
+
var Icon_module$1 = /*#__PURE__*/Object.freeze({
|
|
44752
|
+
__proto__: null,
|
|
44753
|
+
default: Icon_module
|
|
44754
|
+
});
|
|
44755
|
+
|
|
44756
|
+
var require$$3 = /*@__PURE__*/getAugmentedNamespace(Icon_module$1);
|
|
44757
|
+
|
|
44758
|
+
(function(exports) {
|
|
44759
|
+
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
44760
|
+
__assign = Object.assign || function(t) {
|
|
44761
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
44762
|
+
s = arguments[i];
|
|
44763
|
+
for (var p in s)
|
|
44764
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
44765
|
+
t[p] = s[p];
|
|
44766
|
+
}
|
|
44767
|
+
return t;
|
|
44768
|
+
};
|
|
44769
|
+
return __assign.apply(this, arguments);
|
|
44770
|
+
};
|
|
44771
|
+
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
44772
|
+
var t = {};
|
|
44773
|
+
for (var p in s)
|
|
44774
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
44775
|
+
t[p] = s[p];
|
|
44776
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
44777
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44778
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
44779
|
+
t[p[i]] = s[p[i]];
|
|
44780
|
+
}
|
|
44781
|
+
return t;
|
|
44782
|
+
};
|
|
44783
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
44784
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
44785
|
+
};
|
|
44786
|
+
exports.__esModule = true;
|
|
44787
|
+
exports.Icon = void 0;
|
|
44788
|
+
var react_1 = __importDefault(React__default);
|
|
44789
|
+
var classnames_1 = __importDefault(classnamesExports);
|
|
44790
|
+
var console_1 = console$1;
|
|
44791
|
+
var Icon_module_scss_1 = __importDefault(require$$3);
|
|
44792
|
+
var Icon = function(_a) {
|
|
44793
|
+
var _b, _c;
|
|
44794
|
+
var icon = _a.icon, _d = _a.inheritSize, inheritSize = _d === void 0 ? false : _d, _e = _a.role, role = _e === void 0 ? "img" : _e, _f = _a.title, title = _f === void 0 ? "" : _f, _g = _a.desc, desc = _g === void 0 ? "" : _g, classNameOverride = _a.classNameOverride, props = __rest(_a, ["icon", "inheritSize", "role", "title", "desc", "classNameOverride"]);
|
|
44795
|
+
var isMeaningfulImg = role === "img";
|
|
44796
|
+
if (isMeaningfulImg && !title) {
|
|
44797
|
+
(0, console_1.warn)(`
|
|
45162
44798
|
Icon with role "img" missing a title attribute.
|
|
45163
44799
|
|
|
45164
44800
|
Assistive technologies that enable vision-impaired users to read web pages
|
|
@@ -45170,28 +44806,1077 @@ const Icon = (_a) => {
|
|
|
45170
44806
|
Either add the missing title prop, or set this icon's role to
|
|
45171
44807
|
"presentation" to indicate it is not meaningful.
|
|
45172
44808
|
`);
|
|
45173
|
-
|
|
45174
|
-
|
|
45175
|
-
|
|
45176
|
-
|
|
45177
|
-
|
|
45178
|
-
|
|
44809
|
+
}
|
|
44810
|
+
var renderTitle = function() {
|
|
44811
|
+
return isMeaningfulImg && !!title && react_1["default"].createElement("title", null, title);
|
|
44812
|
+
};
|
|
44813
|
+
var renderDesc = function() {
|
|
44814
|
+
return isMeaningfulImg && !!desc && react_1["default"].createElement("desc", null, desc);
|
|
44815
|
+
};
|
|
44816
|
+
var accessibilityProps = (_b = {
|
|
44817
|
+
role
|
|
44818
|
+
}, _b["aria-hidden"] = isMeaningfulImg ? void 0 : true, _b);
|
|
44819
|
+
return react_1["default"].createElement(
|
|
44820
|
+
"svg",
|
|
44821
|
+
__assign({
|
|
44822
|
+
className: (0, classnames_1["default"])(Icon_module_scss_1["default"].icon, classNameOverride, (_c = {}, _c[Icon_module_scss_1["default"].inheritSize] = inheritSize, _c)),
|
|
44823
|
+
viewBox: icon.viewBox,
|
|
44824
|
+
// Work around IE11 making all SVGs focusable.
|
|
44825
|
+
// See http://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-4
|
|
44826
|
+
focusable: "false"
|
|
44827
|
+
}, accessibilityProps, props),
|
|
44828
|
+
renderTitle(),
|
|
44829
|
+
renderDesc(),
|
|
44830
|
+
react_1["default"].createElement("use", { xlinkHref: "#".concat(icon.id) })
|
|
44831
|
+
);
|
|
45179
44832
|
};
|
|
45180
|
-
|
|
45181
|
-
|
|
45182
|
-
|
|
45183
|
-
|
|
45184
|
-
|
|
45185
|
-
|
|
45186
|
-
|
|
45187
|
-
|
|
45188
|
-
|
|
45189
|
-
|
|
45190
|
-
|
|
45191
|
-
|
|
44833
|
+
exports.Icon = Icon;
|
|
44834
|
+
exports.Icon.displayName = "Icon";
|
|
44835
|
+
})(Icon);
|
|
44836
|
+
|
|
44837
|
+
(function(exports) {
|
|
44838
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
44839
|
+
if (k2 === void 0)
|
|
44840
|
+
k2 = k;
|
|
44841
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
44842
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
44843
|
+
desc = { enumerable: true, get: function() {
|
|
44844
|
+
return m[k];
|
|
44845
|
+
} };
|
|
44846
|
+
}
|
|
44847
|
+
Object.defineProperty(o, k2, desc);
|
|
44848
|
+
} : function(o, m, k, k2) {
|
|
44849
|
+
if (k2 === void 0)
|
|
44850
|
+
k2 = k;
|
|
44851
|
+
o[k2] = m[k];
|
|
44852
|
+
});
|
|
44853
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
44854
|
+
for (var p in m)
|
|
44855
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
44856
|
+
__createBinding(exports2, m, p);
|
|
44857
|
+
};
|
|
44858
|
+
exports.__esModule = true;
|
|
44859
|
+
__exportStar(Icon, exports);
|
|
44860
|
+
})(Icon$1);
|
|
44861
|
+
|
|
44862
|
+
var DropdownMenu = {};
|
|
44863
|
+
|
|
44864
|
+
var Dropdown_module = {"dropdown":"Dropdown-module_dropdown__09sgL","buttonReset":"Dropdown-module_buttonReset__O69sc","dropdownButton":"Dropdown-module_dropdownButton__FiRVW Dropdown-module_buttonReset__O69sc","dropdownControlAction":"Dropdown-module_dropdownControlAction__iWJog","dropdownIcon":"Dropdown-module_dropdownIcon__tZfDQ","dropdownLabel":"Dropdown-module_dropdownLabel__bpY-X","dropdownHoverArea":"Dropdown-module_dropdownHoverArea__M-Y-K","isOpen":"Dropdown-module_isOpen__Kf4XR","chevronIcon":"Dropdown-module_chevronIcon__Ieh4i","menuContainer":"Dropdown-module_menuContainer__xl9MT","reversedColor":"Dropdown-module_reversedColor__rGeiB"};
|
|
44865
|
+
|
|
44866
|
+
var Dropdown_module$1 = /*#__PURE__*/Object.freeze({
|
|
44867
|
+
__proto__: null,
|
|
44868
|
+
default: Dropdown_module
|
|
44869
|
+
});
|
|
44870
|
+
|
|
44871
|
+
var require$$6 = /*@__PURE__*/getAugmentedNamespace(Dropdown_module$1);
|
|
44872
|
+
|
|
44873
|
+
(function(exports) {
|
|
44874
|
+
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
44875
|
+
var extendStatics = function(d, b) {
|
|
44876
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
44877
|
+
d2.__proto__ = b2;
|
|
44878
|
+
} || function(d2, b2) {
|
|
44879
|
+
for (var p in b2)
|
|
44880
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
44881
|
+
d2[p] = b2[p];
|
|
44882
|
+
};
|
|
44883
|
+
return extendStatics(d, b);
|
|
44884
|
+
};
|
|
44885
|
+
return function(d, b) {
|
|
44886
|
+
if (typeof b !== "function" && b !== null)
|
|
44887
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
44888
|
+
extendStatics(d, b);
|
|
44889
|
+
function __() {
|
|
44890
|
+
this.constructor = d;
|
|
44891
|
+
}
|
|
44892
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
44893
|
+
};
|
|
44894
|
+
}();
|
|
44895
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
44896
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
44897
|
+
};
|
|
44898
|
+
exports.__esModule = true;
|
|
44899
|
+
var react_1 = __importDefault(React__default);
|
|
44900
|
+
var Dropdown_module_scss_1 = __importDefault(require$$6);
|
|
44901
|
+
var DropdownMenu = (
|
|
44902
|
+
/** @class */
|
|
44903
|
+
function(_super) {
|
|
44904
|
+
__extends(DropdownMenu2, _super);
|
|
44905
|
+
function DropdownMenu2() {
|
|
44906
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
44907
|
+
_this.menu = react_1["default"].createRef();
|
|
44908
|
+
_this.handleDocumentClick = function(e) {
|
|
44909
|
+
if (_this.menu && _this.menu.current && e.target instanceof Node && !_this.menu.current.contains(e.target)) {
|
|
44910
|
+
_this.props.hideDropdownMenu();
|
|
44911
|
+
}
|
|
44912
|
+
};
|
|
44913
|
+
_this.handleDocumentResize = function() {
|
|
44914
|
+
_this.props.hideDropdownMenu();
|
|
44915
|
+
};
|
|
44916
|
+
return _this;
|
|
44917
|
+
}
|
|
44918
|
+
DropdownMenu2.prototype.componentDidMount = function() {
|
|
44919
|
+
document.addEventListener("click", this.handleDocumentClick, false);
|
|
44920
|
+
window.addEventListener("resize", this.handleDocumentResize, false);
|
|
44921
|
+
this.positionMenu();
|
|
44922
|
+
};
|
|
44923
|
+
DropdownMenu2.prototype.componentWillUnmount = function() {
|
|
44924
|
+
document.removeEventListener("click", this.handleDocumentClick, false);
|
|
44925
|
+
window.removeEventListener("resize", this.handleDocumentResize, false);
|
|
44926
|
+
};
|
|
44927
|
+
DropdownMenu2.prototype.render = function() {
|
|
44928
|
+
var _a = this.props, hideDropdownMenu = _a.hideDropdownMenu, children = _a.children;
|
|
44929
|
+
return (
|
|
44930
|
+
// Disabling instead of addressing because this component is deprecated
|
|
44931
|
+
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
|
44932
|
+
react_1["default"].createElement("div", { className: Dropdown_module_scss_1["default"].menuContainer, ref: this.menu, onClick: hideDropdownMenu }, children)
|
|
44933
|
+
);
|
|
44934
|
+
};
|
|
44935
|
+
DropdownMenu2.prototype.positionMenu = function() {
|
|
44936
|
+
var menu = this.menu;
|
|
44937
|
+
if (!this.props.position || !menu) {
|
|
44938
|
+
return;
|
|
44939
|
+
}
|
|
44940
|
+
if (menu.current) {
|
|
44941
|
+
var pos = this.props.position;
|
|
44942
|
+
var innerHeight_1 = window.innerHeight;
|
|
44943
|
+
var rect = menu.current.getBoundingClientRect();
|
|
44944
|
+
if (pos.bottom > innerHeight_1 - rect.height) {
|
|
44945
|
+
menu.current.style.bottom = "24px";
|
|
44946
|
+
menu.current.style.top = "auto";
|
|
44947
|
+
} else {
|
|
44948
|
+
menu.current.style.top = "24px";
|
|
44949
|
+
menu.current.style.bottom = "auto";
|
|
44950
|
+
}
|
|
44951
|
+
}
|
|
44952
|
+
};
|
|
44953
|
+
DropdownMenu2.displayName = "DropdownMenu";
|
|
44954
|
+
return DropdownMenu2;
|
|
44955
|
+
}(react_1["default"].Component)
|
|
44956
|
+
);
|
|
44957
|
+
exports["default"] = DropdownMenu;
|
|
44958
|
+
})(DropdownMenu);
|
|
44959
|
+
|
|
44960
|
+
(function(exports) {
|
|
44961
|
+
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
44962
|
+
var extendStatics = function(d, b) {
|
|
44963
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
44964
|
+
d2.__proto__ = b2;
|
|
44965
|
+
} || function(d2, b2) {
|
|
44966
|
+
for (var p in b2)
|
|
44967
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
44968
|
+
d2[p] = b2[p];
|
|
44969
|
+
};
|
|
44970
|
+
return extendStatics(d, b);
|
|
44971
|
+
};
|
|
44972
|
+
return function(d, b) {
|
|
44973
|
+
if (typeof b !== "function" && b !== null)
|
|
44974
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
44975
|
+
extendStatics(d, b);
|
|
44976
|
+
function __() {
|
|
44977
|
+
this.constructor = d;
|
|
44978
|
+
}
|
|
44979
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
44980
|
+
};
|
|
44981
|
+
}();
|
|
44982
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
44983
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
44984
|
+
};
|
|
44985
|
+
exports.__esModule = true;
|
|
44986
|
+
var react_1 = __importDefault(React__default);
|
|
44987
|
+
var classnames_1 = __importDefault(classnamesExports);
|
|
44988
|
+
var chevron_down_icon_svg_1 = __importDefault(require$$2$1);
|
|
44989
|
+
var ellipsis_icon_svg_1 = __importDefault(require$$3$1);
|
|
44990
|
+
var Icon_1 = Icon$1;
|
|
44991
|
+
var DropdownMenu_1 = __importDefault(DropdownMenu);
|
|
44992
|
+
var Dropdown_module_scss_1 = __importDefault(require$$6);
|
|
44993
|
+
var Dropdown = (
|
|
44994
|
+
/** @class */
|
|
44995
|
+
function(_super) {
|
|
44996
|
+
__extends(Dropdown2, _super);
|
|
44997
|
+
function Dropdown2(props) {
|
|
44998
|
+
var _this = _super.call(this, props) || this;
|
|
44999
|
+
_this.dropdownButton = react_1["default"].createRef();
|
|
45000
|
+
_this.toggleDropdownMenu = function(e) {
|
|
45001
|
+
e.stopPropagation();
|
|
45002
|
+
var currentState = _this.state.isMenuVisible;
|
|
45003
|
+
_this.setState({
|
|
45004
|
+
isMenuVisible: !currentState
|
|
45005
|
+
});
|
|
45006
|
+
};
|
|
45007
|
+
_this.hideDropdownMenu = function() {
|
|
45008
|
+
_this.setState({
|
|
45009
|
+
isMenuVisible: false
|
|
45010
|
+
});
|
|
45011
|
+
};
|
|
45012
|
+
_this.renderIcon = function(icon) {
|
|
45013
|
+
if (!icon)
|
|
45014
|
+
return;
|
|
45015
|
+
return react_1["default"].createElement(
|
|
45016
|
+
"span",
|
|
45017
|
+
{ className: Dropdown_module_scss_1["default"].dropdownIcon },
|
|
45018
|
+
react_1["default"].createElement(Icon_1.Icon, { icon, role: "img", title: "Open menu" })
|
|
45019
|
+
);
|
|
45020
|
+
};
|
|
45021
|
+
_this.renderDownArrow = function() {
|
|
45022
|
+
var _a = _this.props, label = _a.label, controlAction = _a.controlAction;
|
|
45023
|
+
if (!label || !controlAction)
|
|
45024
|
+
return;
|
|
45025
|
+
return react_1["default"].createElement(
|
|
45026
|
+
"span",
|
|
45027
|
+
{ className: Dropdown_module_scss_1["default"].chevronIcon },
|
|
45028
|
+
react_1["default"].createElement(Icon_1.Icon, { icon: chevron_down_icon_svg_1["default"], role: "img", title: "Open menu" })
|
|
45029
|
+
);
|
|
45030
|
+
};
|
|
45031
|
+
_this.renderButtonContent = function() {
|
|
45032
|
+
var label = _this.props.label;
|
|
45033
|
+
var icon = _this.props.icon;
|
|
45034
|
+
if (!icon && !label) {
|
|
45035
|
+
icon = ellipsis_icon_svg_1["default"];
|
|
45036
|
+
}
|
|
45037
|
+
return react_1["default"].createElement(
|
|
45038
|
+
react_1["default"].Fragment,
|
|
45039
|
+
null,
|
|
45040
|
+
_this.renderIcon(icon),
|
|
45041
|
+
label && react_1["default"].createElement("span", { className: Dropdown_module_scss_1["default"].dropdownLabel }, label),
|
|
45042
|
+
_this.renderDownArrow()
|
|
45043
|
+
);
|
|
45044
|
+
};
|
|
45045
|
+
_this.renderReversedButtonContent = function() {
|
|
45046
|
+
var _a = _this.props, icon = _a.icon, label = _a.label;
|
|
45047
|
+
return react_1["default"].createElement(
|
|
45048
|
+
react_1["default"].Fragment,
|
|
45049
|
+
null,
|
|
45050
|
+
_this.renderDownArrow(),
|
|
45051
|
+
label && react_1["default"].createElement("span", { className: Dropdown_module_scss_1["default"].dropdownLabel }, label),
|
|
45052
|
+
_this.renderIcon(icon)
|
|
45053
|
+
);
|
|
45054
|
+
};
|
|
45055
|
+
_this.state = {
|
|
45056
|
+
isMenuVisible: Boolean(props.menuVisible)
|
|
45057
|
+
};
|
|
45058
|
+
return _this;
|
|
45059
|
+
}
|
|
45060
|
+
Dropdown2.prototype.getPosition = function() {
|
|
45061
|
+
return this.dropdownButton && this.dropdownButton.current ? this.dropdownButton.current.getBoundingClientRect() : null;
|
|
45062
|
+
};
|
|
45063
|
+
Dropdown2.prototype.renderDropdownMenu = function() {
|
|
45064
|
+
return react_1["default"].createElement(DropdownMenu_1["default"], { hideDropdownMenu: this.hideDropdownMenu, position: this.getPosition() }, this.props.children);
|
|
45065
|
+
};
|
|
45066
|
+
Dropdown2.prototype.render = function() {
|
|
45067
|
+
var _a;
|
|
45068
|
+
var _b = this.props, controlAction = _b.controlAction, automationId = _b.automationId, iconPosition = _b.iconPosition, reversedColor = _b.reversedColor;
|
|
45069
|
+
var reverseIcon = iconPosition === "end";
|
|
45070
|
+
var btnClass = (0, classnames_1["default"])(Dropdown_module_scss_1["default"].dropdownButton, (_a = {}, _a[Dropdown_module_scss_1["default"].dropdownControlAction] = controlAction, _a[Dropdown_module_scss_1["default"].isOpen] = this.state.isMenuVisible, _a[Dropdown_module_scss_1["default"].reversedColor] = reversedColor, _a));
|
|
45071
|
+
return react_1["default"].createElement(
|
|
45072
|
+
"div",
|
|
45073
|
+
{ className: Dropdown_module_scss_1["default"].dropdown },
|
|
45074
|
+
react_1["default"].createElement(
|
|
45075
|
+
"button",
|
|
45076
|
+
{ className: btnClass, onClick: this.toggleDropdownMenu, onMouseDown: function(e) {
|
|
45077
|
+
return e.preventDefault();
|
|
45078
|
+
}, ref: this.dropdownButton, "data-automation-id": automationId },
|
|
45079
|
+
!reverseIcon && this.renderButtonContent(),
|
|
45080
|
+
reverseIcon && this.renderReversedButtonContent()
|
|
45081
|
+
),
|
|
45082
|
+
this.state.isMenuVisible && this.renderDropdownMenu()
|
|
45083
|
+
);
|
|
45084
|
+
};
|
|
45085
|
+
Dropdown2.displayName = "Dropdown";
|
|
45086
|
+
Dropdown2.defaultProps = {
|
|
45087
|
+
iconPosition: "start"
|
|
45088
|
+
};
|
|
45089
|
+
return Dropdown2;
|
|
45090
|
+
}(react_1["default"].Component)
|
|
45091
|
+
);
|
|
45092
|
+
exports["default"] = Dropdown;
|
|
45093
|
+
})(Dropdown);
|
|
45094
|
+
|
|
45095
|
+
(function(exports) {
|
|
45096
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45097
|
+
if (k2 === void 0)
|
|
45098
|
+
k2 = k;
|
|
45099
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45100
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45101
|
+
desc = { enumerable: true, get: function() {
|
|
45102
|
+
return m[k];
|
|
45103
|
+
} };
|
|
45104
|
+
}
|
|
45105
|
+
Object.defineProperty(o, k2, desc);
|
|
45106
|
+
} : function(o, m, k, k2) {
|
|
45107
|
+
if (k2 === void 0)
|
|
45108
|
+
k2 = k;
|
|
45109
|
+
o[k2] = m[k];
|
|
45110
|
+
});
|
|
45111
|
+
exports.__esModule = true;
|
|
45112
|
+
exports.Dropdown = void 0;
|
|
45113
|
+
var Dropdown_1 = Dropdown;
|
|
45114
|
+
__createBinding(exports, Dropdown_1, "default", "Dropdown");
|
|
45115
|
+
})(Dropdown$1);
|
|
45116
|
+
|
|
45117
|
+
var Layout$1 = {};
|
|
45118
|
+
|
|
45119
|
+
var Layout = {};
|
|
45120
|
+
|
|
45121
|
+
var Layout_module = {"root":"Layout-module_root__SgXZT","navigationBar":"Layout-module_navigationBar__1xbfp","page":"Layout-module_page__ZSTUO","header":"Layout-module_header__X1E96","footer":"Layout-module_footer__wFknz","body":"Layout-module_body__r1d-M","bodyInner":"Layout-module_bodyInner__e5WA6","sidebar":"Layout-module_sidebar__FSH-B","content":"Layout-module_content__6gaoR","toasts":"Layout-module_toasts__ZDy2G","announcers":"Layout-module_announcers__fAmmq"};
|
|
45122
|
+
|
|
45123
|
+
var Layout_module$1 = /*#__PURE__*/Object.freeze({
|
|
45124
|
+
__proto__: null,
|
|
45125
|
+
default: Layout_module
|
|
45126
|
+
});
|
|
45127
|
+
|
|
45128
|
+
var require$$1$3 = /*@__PURE__*/getAugmentedNamespace(Layout_module$1);
|
|
45129
|
+
|
|
45130
|
+
(function(exports) {
|
|
45131
|
+
var __extends = commonjsGlobal && commonjsGlobal.__extends || function() {
|
|
45132
|
+
var extendStatics = function(d, b) {
|
|
45133
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
45134
|
+
d2.__proto__ = b2;
|
|
45135
|
+
} || function(d2, b2) {
|
|
45136
|
+
for (var p in b2)
|
|
45137
|
+
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
45138
|
+
d2[p] = b2[p];
|
|
45139
|
+
};
|
|
45140
|
+
return extendStatics(d, b);
|
|
45141
|
+
};
|
|
45142
|
+
return function(d, b) {
|
|
45143
|
+
if (typeof b !== "function" && b !== null)
|
|
45144
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
45145
|
+
extendStatics(d, b);
|
|
45146
|
+
function __() {
|
|
45147
|
+
this.constructor = d;
|
|
45148
|
+
}
|
|
45149
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
45150
|
+
};
|
|
45151
|
+
}();
|
|
45152
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45153
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45154
|
+
};
|
|
45155
|
+
exports.__esModule = true;
|
|
45156
|
+
var react_1 = __importDefault(React__default);
|
|
45157
|
+
var Layout_module_scss_1 = __importDefault(require$$1$3);
|
|
45158
|
+
var NavigationBar = function(_a) {
|
|
45159
|
+
var children = _a.children;
|
|
45160
|
+
return react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].navigationBar }, children);
|
|
45161
|
+
};
|
|
45162
|
+
NavigationBar.displayName = "NavigationBar";
|
|
45163
|
+
var Sidebar = function(_a) {
|
|
45164
|
+
var children = _a.children;
|
|
45165
|
+
return react_1["default"].createElement(
|
|
45166
|
+
"div",
|
|
45167
|
+
{ className: Layout_module_scss_1["default"].sidebar },
|
|
45168
|
+
react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].sidebarInner }, children)
|
|
45169
|
+
);
|
|
45170
|
+
};
|
|
45171
|
+
Sidebar.displayName = "Sidebar";
|
|
45172
|
+
var Header = function(_a) {
|
|
45173
|
+
var children = _a.children;
|
|
45174
|
+
return react_1["default"].createElement("aside", { className: Layout_module_scss_1["default"].header }, children);
|
|
45175
|
+
};
|
|
45176
|
+
Header.displayName = "Header";
|
|
45177
|
+
var Footer = function(_a) {
|
|
45178
|
+
var children = _a.children;
|
|
45179
|
+
return react_1["default"].createElement("footer", { className: Layout_module_scss_1["default"].footer }, children);
|
|
45180
|
+
};
|
|
45181
|
+
Footer.displayName = "Footer";
|
|
45182
|
+
var Toasts = function(_a) {
|
|
45183
|
+
var children = _a.children;
|
|
45184
|
+
return react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].toasts, "aria-live": "assertive" }, children);
|
|
45185
|
+
};
|
|
45186
|
+
Toasts.displayName = "Toasts";
|
|
45187
|
+
var Announcers = function(_a) {
|
|
45188
|
+
var children = _a.children;
|
|
45189
|
+
return react_1["default"].createElement("div", { className: Layout_module_scss_1["default"].announcers, "aria-live": "assertive" }, children);
|
|
45190
|
+
};
|
|
45191
|
+
Announcers.displayName = "Announcers";
|
|
45192
|
+
var Layout = (
|
|
45193
|
+
/** @class */
|
|
45194
|
+
function(_super) {
|
|
45195
|
+
__extends(Layout2, _super);
|
|
45196
|
+
function Layout2() {
|
|
45197
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
45198
|
+
}
|
|
45199
|
+
Layout2.prototype.render = function() {
|
|
45200
|
+
var content = react_1["default"].Children.toArray(this.props.children);
|
|
45201
|
+
var navbar = extractChildOfType(content, NavigationBar);
|
|
45202
|
+
var header = extractChildOfType(content, Header);
|
|
45203
|
+
var sidebar = extractChildOfType(content, Sidebar);
|
|
45204
|
+
var footer = extractChildOfType(content, Footer);
|
|
45205
|
+
var announcers = extractChildOfType(content, Announcers);
|
|
45206
|
+
var toasts = extractChildOfType(content, Toasts);
|
|
45207
|
+
return react_1["default"].createElement(
|
|
45208
|
+
"div",
|
|
45209
|
+
{ className: Layout_module_scss_1["default"].root },
|
|
45210
|
+
navbar,
|
|
45211
|
+
announcers,
|
|
45212
|
+
react_1["default"].createElement(
|
|
45213
|
+
"div",
|
|
45214
|
+
{ className: Layout_module_scss_1["default"].page },
|
|
45215
|
+
header,
|
|
45216
|
+
toasts,
|
|
45217
|
+
react_1["default"].createElement(
|
|
45218
|
+
"div",
|
|
45219
|
+
{ className: Layout_module_scss_1["default"].body },
|
|
45220
|
+
react_1["default"].createElement(
|
|
45221
|
+
"div",
|
|
45222
|
+
{ className: Layout_module_scss_1["default"].bodyInner },
|
|
45223
|
+
sidebar,
|
|
45224
|
+
react_1["default"].createElement("main", { className: Layout_module_scss_1["default"].content }, content)
|
|
45225
|
+
)
|
|
45226
|
+
),
|
|
45227
|
+
footer
|
|
45228
|
+
)
|
|
45229
|
+
);
|
|
45230
|
+
};
|
|
45231
|
+
Layout2.displayName = "Layout";
|
|
45232
|
+
Layout2.NavigationBar = NavigationBar;
|
|
45233
|
+
Layout2.Sidebar = Sidebar;
|
|
45234
|
+
Layout2.Header = Header;
|
|
45235
|
+
Layout2.Footer = Footer;
|
|
45236
|
+
Layout2.Toasts = Toasts;
|
|
45237
|
+
Layout2.Announcers = Announcers;
|
|
45238
|
+
return Layout2;
|
|
45239
|
+
}(react_1["default"].Component)
|
|
45192
45240
|
);
|
|
45241
|
+
var extractChildOfType = function(children, type) {
|
|
45242
|
+
var match = children.find(function(child) {
|
|
45243
|
+
if (react_1["default"].isValidElement(child) && typeof child.type === "function") {
|
|
45244
|
+
return child.type.displayName === type.displayName;
|
|
45245
|
+
}
|
|
45246
|
+
return false;
|
|
45247
|
+
});
|
|
45248
|
+
if (match) {
|
|
45249
|
+
var index = children.indexOf(match);
|
|
45250
|
+
children.splice(index, 1);
|
|
45251
|
+
}
|
|
45252
|
+
return match;
|
|
45253
|
+
};
|
|
45254
|
+
exports["default"] = Layout;
|
|
45255
|
+
})(Layout);
|
|
45256
|
+
|
|
45257
|
+
(function(exports) {
|
|
45258
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45259
|
+
if (k2 === void 0)
|
|
45260
|
+
k2 = k;
|
|
45261
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45262
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45263
|
+
desc = { enumerable: true, get: function() {
|
|
45264
|
+
return m[k];
|
|
45265
|
+
} };
|
|
45266
|
+
}
|
|
45267
|
+
Object.defineProperty(o, k2, desc);
|
|
45268
|
+
} : function(o, m, k, k2) {
|
|
45269
|
+
if (k2 === void 0)
|
|
45270
|
+
k2 = k;
|
|
45271
|
+
o[k2] = m[k];
|
|
45272
|
+
});
|
|
45273
|
+
exports.__esModule = true;
|
|
45274
|
+
exports.Layout = void 0;
|
|
45275
|
+
var Layout_1 = Layout;
|
|
45276
|
+
__createBinding(exports, Layout_1, "default", "Layout");
|
|
45277
|
+
})(Layout$1);
|
|
45278
|
+
|
|
45279
|
+
var MenuList$1 = {};
|
|
45280
|
+
|
|
45281
|
+
var MenuList = {};
|
|
45282
|
+
|
|
45283
|
+
var Menu_module = {"menuList":"Menu-module_menuList__behqY","header":"Menu-module_header__MMpNm","header__title":"Menu-module_header__title__4QK0E","menuItem":"Menu-module_menuItem__0rlZg Icon-module_interactiveIconWrapper__ieTrE","menuItem--active":"Menu-module_menuItem--active__xr3IS Icon-module_active__d47mz","menuItem__Icon":"Menu-module_menuItem__Icon__SEvH-","menuItem--destructive":"Menu-module_menuItem--destructive__bg0qx","menuItem__Label":"Menu-module_menuItem__Label__KPrkg","hoverIcon":"Menu-module_hoverIcon__WCsbC","separator":"Menu-module_separator__RCRVm"};
|
|
45284
|
+
|
|
45285
|
+
var Menu_module$1 = /*#__PURE__*/Object.freeze({
|
|
45286
|
+
__proto__: null,
|
|
45287
|
+
default: Menu_module
|
|
45288
|
+
});
|
|
45289
|
+
|
|
45290
|
+
var require$$1$2 = /*@__PURE__*/getAugmentedNamespace(Menu_module$1);
|
|
45291
|
+
|
|
45292
|
+
(function(exports) {
|
|
45293
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45294
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45295
|
+
};
|
|
45296
|
+
exports.__esModule = true;
|
|
45297
|
+
var react_1 = __importDefault(React__default);
|
|
45298
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45299
|
+
var MenuList = function(props) {
|
|
45300
|
+
return react_1["default"].createElement("div", { className: Menu_module_scss_1["default"].menuList }, props.children);
|
|
45301
|
+
};
|
|
45302
|
+
MenuList.displayName = "MenuList";
|
|
45303
|
+
exports["default"] = MenuList;
|
|
45304
|
+
})(MenuList);
|
|
45305
|
+
|
|
45306
|
+
var MenuHeader = {};
|
|
45307
|
+
|
|
45308
|
+
(function(exports) {
|
|
45309
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45310
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45311
|
+
};
|
|
45312
|
+
exports.__esModule = true;
|
|
45313
|
+
var react_1 = __importDefault(React__default);
|
|
45314
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45315
|
+
var MenuHeader = function(props) {
|
|
45316
|
+
return react_1["default"].createElement(
|
|
45317
|
+
"div",
|
|
45318
|
+
{ className: Menu_module_scss_1["default"].header },
|
|
45319
|
+
react_1["default"].createElement("span", { className: Menu_module_scss_1["default"].header__title }, props.title)
|
|
45320
|
+
);
|
|
45321
|
+
};
|
|
45322
|
+
MenuHeader.displayName = "MenuHeader";
|
|
45323
|
+
exports["default"] = MenuHeader;
|
|
45324
|
+
})(MenuHeader);
|
|
45325
|
+
|
|
45326
|
+
var MenuItem = {};
|
|
45327
|
+
|
|
45328
|
+
(function(exports) {
|
|
45329
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45330
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45331
|
+
};
|
|
45332
|
+
exports.__esModule = true;
|
|
45333
|
+
var react_1 = __importDefault(React__default);
|
|
45334
|
+
var classnames_1 = __importDefault(classnamesExports);
|
|
45335
|
+
var Icon_1 = Icon$1;
|
|
45336
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45337
|
+
var MenuItem = function(props) {
|
|
45338
|
+
var _a;
|
|
45339
|
+
var icon = props.icon, hoverIcon = props.hoverIcon, children = props.children, action = props.action, active = props.active, destructive = props.destructive, automationId = props.automationId;
|
|
45340
|
+
var isLink = typeof action === "string";
|
|
45341
|
+
var label = react_1["default"].createElement(
|
|
45342
|
+
"span",
|
|
45343
|
+
{ className: Menu_module_scss_1["default"].menuItem__Label },
|
|
45344
|
+
children,
|
|
45345
|
+
isLink && "\u2026"
|
|
45346
|
+
);
|
|
45347
|
+
var iconNode = icon && react_1["default"].createElement(
|
|
45348
|
+
"span",
|
|
45349
|
+
{ className: Menu_module_scss_1["default"].menuItem__Icon },
|
|
45350
|
+
react_1["default"].createElement(Icon_1.Icon, { icon, role: "presentation" })
|
|
45351
|
+
);
|
|
45352
|
+
var className = (0, classnames_1["default"])((_a = {}, _a[Menu_module_scss_1["default"].menuItem] = true, _a[Menu_module_scss_1["default"].hoverIcon] = icon && hoverIcon, _a[Menu_module_scss_1["default"]["menuItem--active"]] = active, _a[Menu_module_scss_1["default"]["menuItem--destructive"]] = destructive, _a));
|
|
45353
|
+
if (typeof action === "string") {
|
|
45354
|
+
return react_1["default"].createElement(
|
|
45355
|
+
"a",
|
|
45356
|
+
{ href: action, className, "data-automation-id": automationId },
|
|
45357
|
+
label,
|
|
45358
|
+
iconNode
|
|
45359
|
+
);
|
|
45360
|
+
}
|
|
45361
|
+
return (
|
|
45362
|
+
// Disabling instead of addressing because this component is deprecated.
|
|
45363
|
+
// eslint-disable-next-line jsx-a11y/anchor-is-valid
|
|
45364
|
+
react_1["default"].createElement(
|
|
45365
|
+
"a",
|
|
45366
|
+
{ href: "#", onClick: action, className, "data-automation-id": automationId },
|
|
45367
|
+
label,
|
|
45368
|
+
iconNode
|
|
45369
|
+
)
|
|
45370
|
+
);
|
|
45371
|
+
};
|
|
45372
|
+
MenuItem.displayName = "MenuItem";
|
|
45373
|
+
exports["default"] = MenuItem;
|
|
45374
|
+
})(MenuItem);
|
|
45375
|
+
|
|
45376
|
+
var MenuSeparator = {};
|
|
45377
|
+
|
|
45378
|
+
(function(exports) {
|
|
45379
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45380
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45381
|
+
};
|
|
45382
|
+
exports.__esModule = true;
|
|
45383
|
+
var react_1 = __importDefault(React__default);
|
|
45384
|
+
var Menu_module_scss_1 = __importDefault(require$$1$2);
|
|
45385
|
+
var MenuSeparator = function() {
|
|
45386
|
+
return react_1["default"].createElement("hr", { className: Menu_module_scss_1["default"].separator });
|
|
45387
|
+
};
|
|
45388
|
+
MenuSeparator.displayName = "MenuSeparator";
|
|
45389
|
+
exports["default"] = MenuSeparator;
|
|
45390
|
+
})(MenuSeparator);
|
|
45391
|
+
|
|
45392
|
+
(function(exports) {
|
|
45393
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45394
|
+
if (k2 === void 0)
|
|
45395
|
+
k2 = k;
|
|
45396
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45397
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45398
|
+
desc = { enumerable: true, get: function() {
|
|
45399
|
+
return m[k];
|
|
45400
|
+
} };
|
|
45401
|
+
}
|
|
45402
|
+
Object.defineProperty(o, k2, desc);
|
|
45403
|
+
} : function(o, m, k, k2) {
|
|
45404
|
+
if (k2 === void 0)
|
|
45405
|
+
k2 = k;
|
|
45406
|
+
o[k2] = m[k];
|
|
45407
|
+
});
|
|
45408
|
+
exports.__esModule = true;
|
|
45409
|
+
exports.MenuSeparator = exports.MenuItem = exports.MenuHeader = exports.MenuList = void 0;
|
|
45410
|
+
var MenuList_1 = MenuList;
|
|
45411
|
+
__createBinding(exports, MenuList_1, "default", "MenuList");
|
|
45412
|
+
var MenuHeader_1 = MenuHeader;
|
|
45413
|
+
__createBinding(exports, MenuHeader_1, "default", "MenuHeader");
|
|
45414
|
+
var MenuItem_1 = MenuItem;
|
|
45415
|
+
__createBinding(exports, MenuItem_1, "default", "MenuItem");
|
|
45416
|
+
var MenuSeparator_1 = MenuSeparator;
|
|
45417
|
+
__createBinding(exports, MenuSeparator_1, "default", "MenuSeparator");
|
|
45418
|
+
})(MenuList$1);
|
|
45419
|
+
|
|
45420
|
+
var Text$1 = {};
|
|
45421
|
+
|
|
45422
|
+
var Text = {};
|
|
45423
|
+
|
|
45424
|
+
var Text_module = {"page-title":"Text-module_page-title__LPGyH","default-style":"Text-module_default-style__wxvqC","title":"Text-module_title__zDZi1","display":"Text-module_display__4XAjg","heading":"Text-module_heading__bdw3r","lede":"Text-module_lede__rvztp","paragraph":"Text-module_paragraph__65c7w","body":"Text-module_body__5HknB","body-bold":"Text-module_body-bold__M2YFx","small":"Text-module_small__VBWdb","small-bold":"Text-module_small-bold__IFUAu","notification":"Text-module_notification__jl725","label":"Text-module_label__gUBTw","control-action":"Text-module_control-action__BErPr","button":"Text-module_button__nPbRH","inheritBaseline":"Text-module_inheritBaseline__D0Lfs","inline":"Text-module_inline__KlYw2","defaultStyle":"Text-module_defaultStyle__Tka8v Text-module_default-style__wxvqC","pageTitle":"Text-module_pageTitle__-NMTK Text-module_page-title__LPGyH","bodyBold":"Text-module_bodyBold__CCDF7 Text-module_body-bold__M2YFx","smallBold":"Text-module_smallBold__TdPug Text-module_small-bold__IFUAu","controlAction":"Text-module_controlAction__WB-Pz Text-module_control-action__BErPr","zen-display-0":"Text-module_zen-display-0__s1w7g","zen-heading-1":"Text-module_zen-heading-1__YX01A","zen-heading-2":"Text-module_zen-heading-2__JVOtq","zen-heading-3":"Text-module_zen-heading-3__JOT3q","zen-data-large":"Text-module_zen-data-large__EgwWh","zen-data-large-units":"Text-module_zen-data-large-units__lZjpK","zen-data-medium":"Text-module_zen-data-medium__wKodD","zen-data-medium-units":"Text-module_zen-data-medium-units__zh-e8","zen-data-small":"Text-module_zen-data-small__LtxHR","zen-data-small-units":"Text-module_zen-data-small-units__0RtFJ"};
|
|
45425
|
+
|
|
45426
|
+
var Text_module$1 = /*#__PURE__*/Object.freeze({
|
|
45427
|
+
__proto__: null,
|
|
45428
|
+
default: Text_module
|
|
45429
|
+
});
|
|
45430
|
+
|
|
45431
|
+
var require$$2 = /*@__PURE__*/getAugmentedNamespace(Text_module$1);
|
|
45432
|
+
|
|
45433
|
+
(function(exports) {
|
|
45434
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45435
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45436
|
+
};
|
|
45437
|
+
exports.__esModule = true;
|
|
45438
|
+
var react_1 = __importDefault(React__default);
|
|
45439
|
+
var classnames_1 = __importDefault(classnamesExports);
|
|
45440
|
+
var Text_module_scss_1 = __importDefault(require$$2);
|
|
45441
|
+
var Text = function(_a) {
|
|
45442
|
+
var _b;
|
|
45443
|
+
var tag = _a.tag, children = _a.children, _c = _a.inheritBaseline, inheritBaseline = _c === void 0 ? false : _c, _d = _a.inline, inline = _d === void 0 ? false : _d, _e = _a.style, style = _e === void 0 ? "default-style" : _e;
|
|
45444
|
+
return react_1["default"].createElement(tag, {
|
|
45445
|
+
className: (0, classnames_1["default"])(Text_module_scss_1["default"][style], (_b = {}, _b[Text_module_scss_1["default"].inheritBaseline] = inheritBaseline, _b[Text_module_scss_1["default"].inline] = inline, _b))
|
|
45446
|
+
}, children);
|
|
45447
|
+
};
|
|
45448
|
+
Text.displayName = "Text";
|
|
45449
|
+
exports["default"] = Text;
|
|
45450
|
+
})(Text);
|
|
45451
|
+
|
|
45452
|
+
(function(exports) {
|
|
45453
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45454
|
+
if (k2 === void 0)
|
|
45455
|
+
k2 = k;
|
|
45456
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45457
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45458
|
+
desc = { enumerable: true, get: function() {
|
|
45459
|
+
return m[k];
|
|
45460
|
+
} };
|
|
45461
|
+
}
|
|
45462
|
+
Object.defineProperty(o, k2, desc);
|
|
45463
|
+
} : function(o, m, k, k2) {
|
|
45464
|
+
if (k2 === void 0)
|
|
45465
|
+
k2 = k;
|
|
45466
|
+
o[k2] = m[k];
|
|
45467
|
+
});
|
|
45468
|
+
exports.__esModule = true;
|
|
45469
|
+
exports.Text = void 0;
|
|
45470
|
+
var Text_1 = Text;
|
|
45471
|
+
__createBinding(exports, Text_1, "default", "Text");
|
|
45472
|
+
})(Text$1);
|
|
45473
|
+
|
|
45474
|
+
var Spacing = {};
|
|
45475
|
+
|
|
45476
|
+
var padding = {};
|
|
45477
|
+
|
|
45478
|
+
var util = {};
|
|
45479
|
+
|
|
45480
|
+
util.__esModule = true;
|
|
45481
|
+
util.convertFractionToString = void 0;
|
|
45482
|
+
var convertFractionToString = function(fraction) {
|
|
45483
|
+
switch (fraction) {
|
|
45484
|
+
case 0:
|
|
45485
|
+
default:
|
|
45486
|
+
return "0";
|
|
45487
|
+
case 0.25:
|
|
45488
|
+
return "0-point-25";
|
|
45489
|
+
case 0.5:
|
|
45490
|
+
return "0-point-5";
|
|
45491
|
+
case 0.75:
|
|
45492
|
+
return "0-point-75";
|
|
45493
|
+
case 1:
|
|
45494
|
+
return "1";
|
|
45495
|
+
case 1.25:
|
|
45496
|
+
return "1-point-25";
|
|
45497
|
+
case 1.5:
|
|
45498
|
+
return "1-point-5";
|
|
45499
|
+
case 1.75:
|
|
45500
|
+
return "1-point-75";
|
|
45501
|
+
case 2:
|
|
45502
|
+
return "2";
|
|
45503
|
+
case 2.5:
|
|
45504
|
+
return "2-point-5";
|
|
45505
|
+
case 3:
|
|
45506
|
+
return "3";
|
|
45507
|
+
case 3.5:
|
|
45508
|
+
return "3-point-5";
|
|
45509
|
+
case 4:
|
|
45510
|
+
return "4";
|
|
45511
|
+
}
|
|
45193
45512
|
};
|
|
45194
|
-
|
|
45513
|
+
util.convertFractionToString = convertFractionToString;
|
|
45514
|
+
|
|
45515
|
+
var Padding_module = {"p-0":"Padding-module_p-0__MEDlm","pt-0":"Padding-module_pt-0__2lPMY","pr-0":"Padding-module_pr-0__tgwOG","pb-0":"Padding-module_pb-0__h-og-","pl-0":"Padding-module_pl-0__KQQIN","p-0-point-25":"Padding-module_p-0-point-25__WR6Pl","pt-0-point-25":"Padding-module_pt-0-point-25__OHxwL","pr-0-point-25":"Padding-module_pr-0-point-25__dw3lt","pb-0-point-25":"Padding-module_pb-0-point-25__R-G37","pl-0-point-25":"Padding-module_pl-0-point-25__4H6f8","p-0-point-5":"Padding-module_p-0-point-5__5z-Tg","pt-0-point-5":"Padding-module_pt-0-point-5__BILAZ","pr-0-point-5":"Padding-module_pr-0-point-5__Qdc6L","pb-0-point-5":"Padding-module_pb-0-point-5__FJOcg","pl-0-point-5":"Padding-module_pl-0-point-5__gctiZ","p-0-point-75":"Padding-module_p-0-point-75__SCNgd","pt-0-point-75":"Padding-module_pt-0-point-75__Cve0I","pr-0-point-75":"Padding-module_pr-0-point-75__11l9x","pb-0-point-75":"Padding-module_pb-0-point-75__WfgDh","pl-0-point-75":"Padding-module_pl-0-point-75__YKbVF","p-1":"Padding-module_p-1__jIDUT","pt-1":"Padding-module_pt-1__r358b","pr-1":"Padding-module_pr-1__fdsMH","pb-1":"Padding-module_pb-1__gkHqH","pl-1":"Padding-module_pl-1__1fvrt","p-1-point-25":"Padding-module_p-1-point-25__9q2Tk","pt-1-point-25":"Padding-module_pt-1-point-25__uYpt3","pr-1-point-25":"Padding-module_pr-1-point-25__8xYeA","pb-1-point-25":"Padding-module_pb-1-point-25__JwIfB","pl-1-point-25":"Padding-module_pl-1-point-25__-w5XU","p-1-point-5":"Padding-module_p-1-point-5__LICS6","pt-1-point-5":"Padding-module_pt-1-point-5__p9H7t","pr-1-point-5":"Padding-module_pr-1-point-5__agJTp","pb-1-point-5":"Padding-module_pb-1-point-5__Ig7SW","pl-1-point-5":"Padding-module_pl-1-point-5__iBcnI","p-1-point-75":"Padding-module_p-1-point-75__lctpg","pt-1-point-75":"Padding-module_pt-1-point-75__MVIUz","pr-1-point-75":"Padding-module_pr-1-point-75__A-Ur-","pb-1-point-75":"Padding-module_pb-1-point-75__TctUk","pl-1-point-75":"Padding-module_pl-1-point-75__ahplz","p-2":"Padding-module_p-2__iEsEq","pt-2":"Padding-module_pt-2__-uaDE","pr-2":"Padding-module_pr-2__py781","pb-2":"Padding-module_pb-2__75eso","pl-2":"Padding-module_pl-2__4L8zZ","p-2-point-5":"Padding-module_p-2-point-5__fFM5N","pt-2-point-5":"Padding-module_pt-2-point-5__aDZvm","pr-2-point-5":"Padding-module_pr-2-point-5__H-fJW","pb-2-point-5":"Padding-module_pb-2-point-5__0oSvZ","pl-2-point-5":"Padding-module_pl-2-point-5__BGKgq","p-3":"Padding-module_p-3__LltVV","pt-3":"Padding-module_pt-3__Ew6IB","pr-3":"Padding-module_pr-3__ehVq5","pb-3":"Padding-module_pb-3__u8K7J","pl-3":"Padding-module_pl-3__GLx74","p-3-point-5":"Padding-module_p-3-point-5__PyzuE","pt-3-point-5":"Padding-module_pt-3-point-5__qKa2E","pr-3-point-5":"Padding-module_pr-3-point-5__xJlsH","pb-3-point-5":"Padding-module_pb-3-point-5__H4D4H","pl-3-point-5":"Padding-module_pl-3-point-5__krW-a","p-4":"Padding-module_p-4__boMST","pt-4":"Padding-module_pt-4__lHX5n","pr-4":"Padding-module_pr-4__sl2rR","pb-4":"Padding-module_pb-4__ffDeO","pl-4":"Padding-module_pl-4__mRkKo"};
|
|
45516
|
+
|
|
45517
|
+
var Padding_module$1 = /*#__PURE__*/Object.freeze({
|
|
45518
|
+
__proto__: null,
|
|
45519
|
+
default: Padding_module
|
|
45520
|
+
});
|
|
45521
|
+
|
|
45522
|
+
var require$$1$1 = /*@__PURE__*/getAugmentedNamespace(Padding_module$1);
|
|
45523
|
+
|
|
45524
|
+
(function(exports) {
|
|
45525
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45526
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45527
|
+
};
|
|
45528
|
+
exports.__esModule = true;
|
|
45529
|
+
exports.paddingClasses = exports.p = exports.py = exports.px = exports.pl = exports.pb = exports.pr = exports.pt = void 0;
|
|
45530
|
+
var util_1 = util;
|
|
45531
|
+
var Padding_module_scss_1 = __importDefault(require$$1$1);
|
|
45532
|
+
var pt = function(unit) {
|
|
45533
|
+
return [
|
|
45534
|
+
Padding_module_scss_1["default"]["pt-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45535
|
+
];
|
|
45536
|
+
};
|
|
45537
|
+
exports.pt = pt;
|
|
45538
|
+
var pr = function(unit) {
|
|
45539
|
+
return [
|
|
45540
|
+
Padding_module_scss_1["default"]["pr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45541
|
+
];
|
|
45542
|
+
};
|
|
45543
|
+
exports.pr = pr;
|
|
45544
|
+
var pb = function(unit) {
|
|
45545
|
+
return [
|
|
45546
|
+
Padding_module_scss_1["default"]["pb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45547
|
+
];
|
|
45548
|
+
};
|
|
45549
|
+
exports.pb = pb;
|
|
45550
|
+
var pl = function(unit) {
|
|
45551
|
+
return [
|
|
45552
|
+
Padding_module_scss_1["default"]["pl-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45553
|
+
];
|
|
45554
|
+
};
|
|
45555
|
+
exports.pl = pl;
|
|
45556
|
+
var px = function(unit) {
|
|
45557
|
+
return [
|
|
45558
|
+
Padding_module_scss_1["default"]["pl-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45559
|
+
Padding_module_scss_1["default"]["pr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45560
|
+
];
|
|
45561
|
+
};
|
|
45562
|
+
exports.px = px;
|
|
45563
|
+
var py = function(unit) {
|
|
45564
|
+
return [
|
|
45565
|
+
Padding_module_scss_1["default"]["pt-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45566
|
+
Padding_module_scss_1["default"]["pb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45567
|
+
];
|
|
45568
|
+
};
|
|
45569
|
+
exports.py = py;
|
|
45570
|
+
var p = function(unit) {
|
|
45571
|
+
var classes = [];
|
|
45572
|
+
if (typeof unit === "number") {
|
|
45573
|
+
classes.push(Padding_module_scss_1["default"]["p-".concat((0, util_1.convertFractionToString)(unit))]);
|
|
45574
|
+
} else {
|
|
45575
|
+
Object.keys(unit).forEach(function(key) {
|
|
45576
|
+
classes.push(Padding_module_scss_1["default"]["p-".concat((0, util_1.convertFractionToString)(unit[key]), "--").concat(key)]);
|
|
45577
|
+
});
|
|
45578
|
+
}
|
|
45579
|
+
return classes;
|
|
45580
|
+
};
|
|
45581
|
+
exports.p = p;
|
|
45582
|
+
var paddingClasses = function(_a) {
|
|
45583
|
+
var padding2 = _a.p, paddingTop = _a.pt, paddingRight = _a.pr, paddingBottom = _a.pb, paddingLeft = _a.pl, paddingXAxis = _a.px, paddingYAxis = _a.py, _b = _a.rtl, rtl = _b === void 0 ? false : _b;
|
|
45584
|
+
var classes = [];
|
|
45585
|
+
if (padding2 !== void 0)
|
|
45586
|
+
classes.push.apply(classes, (0, exports.p)(padding2));
|
|
45587
|
+
if (paddingTop !== void 0)
|
|
45588
|
+
classes.push.apply(classes, (0, exports.pt)(paddingTop));
|
|
45589
|
+
if (paddingBottom !== void 0)
|
|
45590
|
+
classes.push.apply(classes, (0, exports.pb)(paddingBottom));
|
|
45591
|
+
if (paddingXAxis !== void 0)
|
|
45592
|
+
classes.push.apply(classes, (0, exports.px)(paddingXAxis));
|
|
45593
|
+
if (paddingYAxis !== void 0)
|
|
45594
|
+
classes.push.apply(classes, (0, exports.py)(paddingYAxis));
|
|
45595
|
+
if (rtl) {
|
|
45596
|
+
if (paddingRight !== void 0)
|
|
45597
|
+
classes.push.apply(classes, (0, exports.pl)(paddingRight));
|
|
45598
|
+
if (paddingLeft !== void 0)
|
|
45599
|
+
classes.push.apply(classes, (0, exports.pr)(paddingLeft));
|
|
45600
|
+
} else {
|
|
45601
|
+
if (paddingRight !== void 0)
|
|
45602
|
+
classes.push.apply(classes, (0, exports.pr)(paddingRight));
|
|
45603
|
+
if (paddingLeft !== void 0)
|
|
45604
|
+
classes.push.apply(classes, (0, exports.pl)(paddingLeft));
|
|
45605
|
+
}
|
|
45606
|
+
if (padding2 === void 0 && paddingTop === void 0 && paddingRight === void 0 && paddingBottom === void 0 && paddingLeft === void 0 && paddingXAxis === void 0 && paddingYAxis === void 0) {
|
|
45607
|
+
classes.push.apply(classes, (0, exports.p)(0));
|
|
45608
|
+
}
|
|
45609
|
+
return classes;
|
|
45610
|
+
};
|
|
45611
|
+
exports.paddingClasses = paddingClasses;
|
|
45612
|
+
})(padding);
|
|
45613
|
+
|
|
45614
|
+
var margin = {};
|
|
45615
|
+
|
|
45616
|
+
var Margin_module = {"m-0":"Margin-module_m-0__hSA96","mt-0":"Margin-module_mt-0__7WGbv","mr-0":"Margin-module_mr-0__CX8k-","mb-0":"Margin-module_mb-0__LjHy2","ml-0":"Margin-module_ml-0__Ffq2J","m-0-point-25":"Margin-module_m-0-point-25__RrkvF","mt-0-point-25":"Margin-module_mt-0-point-25__lOnmq","mr-0-point-25":"Margin-module_mr-0-point-25__JYjnr","mb-0-point-25":"Margin-module_mb-0-point-25__aSIWe","ml-0-point-25":"Margin-module_ml-0-point-25__UIx-6","m-0-point-5":"Margin-module_m-0-point-5__o1ClI","mt-0-point-5":"Margin-module_mt-0-point-5__Hlw6J","mr-0-point-5":"Margin-module_mr-0-point-5__lTVga","mb-0-point-5":"Margin-module_mb-0-point-5__09Kv0","ml-0-point-5":"Margin-module_ml-0-point-5__IyBy5","m-0-point-75":"Margin-module_m-0-point-75__IttHs","mt-0-point-75":"Margin-module_mt-0-point-75__8aL1j","mr-0-point-75":"Margin-module_mr-0-point-75__1iTsr","mb-0-point-75":"Margin-module_mb-0-point-75__bcGVL","ml-0-point-75":"Margin-module_ml-0-point-75__UoIM3","m-1":"Margin-module_m-1__WoH7S","mt-1":"Margin-module_mt-1__rmDMg","mr-1":"Margin-module_mr-1__bFRhS","mb-1":"Margin-module_mb-1__6Siyc","ml-1":"Margin-module_ml-1__j3WF6","m-1-point-25":"Margin-module_m-1-point-25__aslNk","mt-1-point-25":"Margin-module_mt-1-point-25__l-Kna","mr-1-point-25":"Margin-module_mr-1-point-25__yKHfB","mb-1-point-25":"Margin-module_mb-1-point-25__k7Wnb","ml-1-point-25":"Margin-module_ml-1-point-25__tKCHD","m-1-point-5":"Margin-module_m-1-point-5__e5RRa","mt-1-point-5":"Margin-module_mt-1-point-5__0oleV","mr-1-point-5":"Margin-module_mr-1-point-5__UV2Ds","mb-1-point-5":"Margin-module_mb-1-point-5__DgIcA","ml-1-point-5":"Margin-module_ml-1-point-5__-a31T","m-1-point-75":"Margin-module_m-1-point-75__IxxDx","mt-1-point-75":"Margin-module_mt-1-point-75__zBEJc","mr-1-point-75":"Margin-module_mr-1-point-75__7oQH3","mb-1-point-75":"Margin-module_mb-1-point-75__CyezZ","ml-1-point-75":"Margin-module_ml-1-point-75__8AcEE","m-2":"Margin-module_m-2__xDAX5","mt-2":"Margin-module_mt-2__BaPgk","mr-2":"Margin-module_mr-2__-8KSg","mb-2":"Margin-module_mb-2__lqKMm","ml-2":"Margin-module_ml-2__y6zUv","m-2-point-5":"Margin-module_m-2-point-5__nPaB6","mt-2-point-5":"Margin-module_mt-2-point-5__NtVq0","mr-2-point-5":"Margin-module_mr-2-point-5__u5ycP","mb-2-point-5":"Margin-module_mb-2-point-5__KoWcH","ml-2-point-5":"Margin-module_ml-2-point-5__rKkfV","m-3":"Margin-module_m-3__3Xx0F","mt-3":"Margin-module_mt-3__M2Jx3","mr-3":"Margin-module_mr-3__Ydznr","mb-3":"Margin-module_mb-3__-jI8t","ml-3":"Margin-module_ml-3__GKa-l","m-3-point-5":"Margin-module_m-3-point-5__3ZDkz","mt-3-point-5":"Margin-module_mt-3-point-5__VBSF-","mr-3-point-5":"Margin-module_mr-3-point-5__wf0U2","mb-3-point-5":"Margin-module_mb-3-point-5__OMror","ml-3-point-5":"Margin-module_ml-3-point-5__ootW1","m-4":"Margin-module_m-4__dZ985","mt-4":"Margin-module_mt-4__BUm9K","mr-4":"Margin-module_mr-4__mKUUj","mb-4":"Margin-module_mb-4__dO-YX","ml-4":"Margin-module_ml-4__EE62n"};
|
|
45617
|
+
|
|
45618
|
+
var Margin_module$1 = /*#__PURE__*/Object.freeze({
|
|
45619
|
+
__proto__: null,
|
|
45620
|
+
default: Margin_module
|
|
45621
|
+
});
|
|
45622
|
+
|
|
45623
|
+
var require$$1 = /*@__PURE__*/getAugmentedNamespace(Margin_module$1);
|
|
45624
|
+
|
|
45625
|
+
(function(exports) {
|
|
45626
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45627
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45628
|
+
};
|
|
45629
|
+
exports.__esModule = true;
|
|
45630
|
+
exports.marginClasses = exports.m = exports.my = exports.mx = exports.ml = exports.mb = exports.mr = exports.mt = void 0;
|
|
45631
|
+
var util_1 = util;
|
|
45632
|
+
var Margin_module_scss_1 = __importDefault(require$$1);
|
|
45633
|
+
var mt = function(unit) {
|
|
45634
|
+
return [
|
|
45635
|
+
Margin_module_scss_1["default"]["mt-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45636
|
+
];
|
|
45637
|
+
};
|
|
45638
|
+
exports.mt = mt;
|
|
45639
|
+
var mr = function(unit) {
|
|
45640
|
+
return [
|
|
45641
|
+
Margin_module_scss_1["default"]["mr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45642
|
+
];
|
|
45643
|
+
};
|
|
45644
|
+
exports.mr = mr;
|
|
45645
|
+
var mb = function(unit) {
|
|
45646
|
+
return [
|
|
45647
|
+
Margin_module_scss_1["default"]["mb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45648
|
+
];
|
|
45649
|
+
};
|
|
45650
|
+
exports.mb = mb;
|
|
45651
|
+
var ml = function(unit) {
|
|
45652
|
+
return [
|
|
45653
|
+
Margin_module_scss_1["default"]["ml-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45654
|
+
];
|
|
45655
|
+
};
|
|
45656
|
+
exports.ml = ml;
|
|
45657
|
+
var mx = function(unit) {
|
|
45658
|
+
return [
|
|
45659
|
+
Margin_module_scss_1["default"]["ml-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45660
|
+
Margin_module_scss_1["default"]["mr-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45661
|
+
];
|
|
45662
|
+
};
|
|
45663
|
+
exports.mx = mx;
|
|
45664
|
+
var my = function(unit) {
|
|
45665
|
+
return [
|
|
45666
|
+
Margin_module_scss_1["default"]["mt-".concat((0, util_1.convertFractionToString)(unit))],
|
|
45667
|
+
Margin_module_scss_1["default"]["mb-".concat((0, util_1.convertFractionToString)(unit))]
|
|
45668
|
+
];
|
|
45669
|
+
};
|
|
45670
|
+
exports.my = my;
|
|
45671
|
+
var m = function(unit) {
|
|
45672
|
+
var classes = [];
|
|
45673
|
+
if (typeof unit === "number") {
|
|
45674
|
+
classes.push(Margin_module_scss_1["default"]["m-".concat((0, util_1.convertFractionToString)(unit))]);
|
|
45675
|
+
} else {
|
|
45676
|
+
Object.keys(unit).forEach(function(key) {
|
|
45677
|
+
classes.push(Margin_module_scss_1["default"]["m-".concat((0, util_1.convertFractionToString)(unit[key]), "--").concat(key)]);
|
|
45678
|
+
});
|
|
45679
|
+
}
|
|
45680
|
+
return classes;
|
|
45681
|
+
};
|
|
45682
|
+
exports.m = m;
|
|
45683
|
+
var marginClasses = function(_a) {
|
|
45684
|
+
var margin2 = _a.m, marginTop = _a.mt, marginRight = _a.mr, marginBottom = _a.mb, marginLeft = _a.ml, marginXAxis = _a.mx, marginYAxis = _a.my, _b = _a.rtl, rtl = _b === void 0 ? false : _b;
|
|
45685
|
+
var classes = [];
|
|
45686
|
+
if (margin2 !== void 0)
|
|
45687
|
+
classes.push.apply(classes, (0, exports.m)(margin2));
|
|
45688
|
+
if (marginTop !== void 0)
|
|
45689
|
+
classes.push.apply(classes, (0, exports.mt)(marginTop));
|
|
45690
|
+
if (marginBottom !== void 0)
|
|
45691
|
+
classes.push.apply(classes, (0, exports.mb)(marginBottom));
|
|
45692
|
+
if (marginXAxis !== void 0)
|
|
45693
|
+
classes.push.apply(classes, (0, exports.mx)(marginXAxis));
|
|
45694
|
+
if (marginYAxis !== void 0)
|
|
45695
|
+
classes.push.apply(classes, (0, exports.my)(marginYAxis));
|
|
45696
|
+
if (rtl) {
|
|
45697
|
+
if (marginRight !== void 0)
|
|
45698
|
+
classes.push.apply(classes, (0, exports.ml)(marginRight));
|
|
45699
|
+
if (marginLeft !== void 0)
|
|
45700
|
+
classes.push.apply(classes, (0, exports.mr)(marginLeft));
|
|
45701
|
+
} else {
|
|
45702
|
+
if (marginRight !== void 0)
|
|
45703
|
+
classes.push.apply(classes, (0, exports.mr)(marginRight));
|
|
45704
|
+
if (marginLeft !== void 0)
|
|
45705
|
+
classes.push.apply(classes, (0, exports.ml)(marginLeft));
|
|
45706
|
+
}
|
|
45707
|
+
if (margin2 === void 0 && marginTop === void 0 && marginRight === void 0 && marginBottom === void 0 && marginLeft === void 0 && marginXAxis === void 0 && marginYAxis === void 0) {
|
|
45708
|
+
classes.push.apply(classes, (0, exports.m)(0));
|
|
45709
|
+
}
|
|
45710
|
+
return classes;
|
|
45711
|
+
};
|
|
45712
|
+
exports.marginClasses = marginClasses;
|
|
45713
|
+
})(margin);
|
|
45714
|
+
|
|
45715
|
+
var types = {};
|
|
45716
|
+
|
|
45717
|
+
types.__esModule = true;
|
|
45718
|
+
|
|
45719
|
+
(function(exports) {
|
|
45720
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45721
|
+
if (k2 === void 0)
|
|
45722
|
+
k2 = k;
|
|
45723
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45724
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45725
|
+
desc = { enumerable: true, get: function() {
|
|
45726
|
+
return m[k];
|
|
45727
|
+
} };
|
|
45728
|
+
}
|
|
45729
|
+
Object.defineProperty(o, k2, desc);
|
|
45730
|
+
} : function(o, m, k, k2) {
|
|
45731
|
+
if (k2 === void 0)
|
|
45732
|
+
k2 = k;
|
|
45733
|
+
o[k2] = m[k];
|
|
45734
|
+
});
|
|
45735
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45736
|
+
for (var p in m)
|
|
45737
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
45738
|
+
__createBinding(exports2, m, p);
|
|
45739
|
+
};
|
|
45740
|
+
exports.__esModule = true;
|
|
45741
|
+
__exportStar(padding, exports);
|
|
45742
|
+
__exportStar(margin, exports);
|
|
45743
|
+
__exportStar(types, exports);
|
|
45744
|
+
})(Spacing);
|
|
45745
|
+
|
|
45746
|
+
var Box$1 = {};
|
|
45747
|
+
|
|
45748
|
+
var Box = {};
|
|
45749
|
+
|
|
45750
|
+
(function(exports) {
|
|
45751
|
+
var __assign = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
45752
|
+
__assign = Object.assign || function(t) {
|
|
45753
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
45754
|
+
s = arguments[i];
|
|
45755
|
+
for (var p in s)
|
|
45756
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
45757
|
+
t[p] = s[p];
|
|
45758
|
+
}
|
|
45759
|
+
return t;
|
|
45760
|
+
};
|
|
45761
|
+
return __assign.apply(this, arguments);
|
|
45762
|
+
};
|
|
45763
|
+
var __rest = commonjsGlobal && commonjsGlobal.__rest || function(s, e) {
|
|
45764
|
+
var t = {};
|
|
45765
|
+
for (var p in s)
|
|
45766
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
45767
|
+
t[p] = s[p];
|
|
45768
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
45769
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
45770
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45771
|
+
t[p[i]] = s[p[i]];
|
|
45772
|
+
}
|
|
45773
|
+
return t;
|
|
45774
|
+
};
|
|
45775
|
+
var __spreadArray = commonjsGlobal && commonjsGlobal.__spreadArray || function(to, from, pack) {
|
|
45776
|
+
if (pack || arguments.length === 2)
|
|
45777
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
45778
|
+
if (ar || !(i in from)) {
|
|
45779
|
+
if (!ar)
|
|
45780
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
45781
|
+
ar[i] = from[i];
|
|
45782
|
+
}
|
|
45783
|
+
}
|
|
45784
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
45785
|
+
};
|
|
45786
|
+
var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
45787
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
45788
|
+
};
|
|
45789
|
+
exports.__esModule = true;
|
|
45790
|
+
exports.Box = void 0;
|
|
45791
|
+
var react_1 = __importDefault(React__default);
|
|
45792
|
+
var classnames_1 = __importDefault(classnamesExports);
|
|
45793
|
+
var Spacing_1 = Spacing;
|
|
45794
|
+
var Box = function(_a) {
|
|
45795
|
+
var children = _a.children, _b = _a.rtl, rtl = _b === void 0 ? false : _b, m = _a.m, mt = _a.mt, mr = _a.mr, mb = _a.mb, ml = _a.ml, mx = _a.mx, my = _a.my, p = _a.p, pt = _a.pt, pr = _a.pr, pb = _a.pb, pl = _a.pl, px = _a.px, py = _a.py, classNameOverride = _a.classNameOverride, restProps = __rest(_a, ["children", "rtl", "m", "mt", "mr", "mb", "ml", "mx", "my", "p", "pt", "pr", "pb", "pl", "px", "py", "classNameOverride"]);
|
|
45796
|
+
var classes = __spreadArray(__spreadArray([], (0, Spacing_1.paddingClasses)({ p, pt, pr, pb, pl, px, py, rtl }), true), (0, Spacing_1.marginClasses)({ m, mt, mr, mb, ml, mx, my, rtl }), true);
|
|
45797
|
+
return react_1["default"].createElement("div", __assign({ className: (0, classnames_1["default"])(classes, classNameOverride) }, restProps), children);
|
|
45798
|
+
};
|
|
45799
|
+
exports.Box = Box;
|
|
45800
|
+
exports.Box.displayName = "Box";
|
|
45801
|
+
})(Box);
|
|
45802
|
+
|
|
45803
|
+
(function(exports) {
|
|
45804
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45805
|
+
if (k2 === void 0)
|
|
45806
|
+
k2 = k;
|
|
45807
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45808
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45809
|
+
desc = { enumerable: true, get: function() {
|
|
45810
|
+
return m[k];
|
|
45811
|
+
} };
|
|
45812
|
+
}
|
|
45813
|
+
Object.defineProperty(o, k2, desc);
|
|
45814
|
+
} : function(o, m, k, k2) {
|
|
45815
|
+
if (k2 === void 0)
|
|
45816
|
+
k2 = k;
|
|
45817
|
+
o[k2] = m[k];
|
|
45818
|
+
});
|
|
45819
|
+
exports.__esModule = true;
|
|
45820
|
+
exports.Box = void 0;
|
|
45821
|
+
var Box_1 = Box;
|
|
45822
|
+
__createBinding(exports, Box_1, "Box");
|
|
45823
|
+
})(Box$1);
|
|
45824
|
+
|
|
45825
|
+
(function(exports) {
|
|
45826
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45827
|
+
if (k2 === void 0)
|
|
45828
|
+
k2 = k;
|
|
45829
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45830
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45831
|
+
desc = { enumerable: true, get: function() {
|
|
45832
|
+
return m[k];
|
|
45833
|
+
} };
|
|
45834
|
+
}
|
|
45835
|
+
Object.defineProperty(o, k2, desc);
|
|
45836
|
+
} : function(o, m, k, k2) {
|
|
45837
|
+
if (k2 === void 0)
|
|
45838
|
+
k2 = k;
|
|
45839
|
+
o[k2] = m[k];
|
|
45840
|
+
});
|
|
45841
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45842
|
+
for (var p in m)
|
|
45843
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
45844
|
+
__createBinding(exports2, m, p);
|
|
45845
|
+
};
|
|
45846
|
+
exports.__esModule = true;
|
|
45847
|
+
__exportStar(Dropdown$1, exports);
|
|
45848
|
+
__exportStar(Layout$1, exports);
|
|
45849
|
+
__exportStar(Icon$1, exports);
|
|
45850
|
+
__exportStar(MenuList$1, exports);
|
|
45851
|
+
__exportStar(Text$1, exports);
|
|
45852
|
+
__exportStar(Spacing, exports);
|
|
45853
|
+
__exportStar(Box$1, exports);
|
|
45854
|
+
})(components);
|
|
45855
|
+
|
|
45856
|
+
(function(exports) {
|
|
45857
|
+
var __createBinding = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
45858
|
+
if (k2 === void 0)
|
|
45859
|
+
k2 = k;
|
|
45860
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
45861
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
45862
|
+
desc = { enumerable: true, get: function() {
|
|
45863
|
+
return m[k];
|
|
45864
|
+
} };
|
|
45865
|
+
}
|
|
45866
|
+
Object.defineProperty(o, k2, desc);
|
|
45867
|
+
} : function(o, m, k, k2) {
|
|
45868
|
+
if (k2 === void 0)
|
|
45869
|
+
k2 = k;
|
|
45870
|
+
o[k2] = m[k];
|
|
45871
|
+
});
|
|
45872
|
+
var __exportStar = commonjsGlobal && commonjsGlobal.__exportStar || function(m, exports2) {
|
|
45873
|
+
for (var p in m)
|
|
45874
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
|
|
45875
|
+
__createBinding(exports2, m, p);
|
|
45876
|
+
};
|
|
45877
|
+
exports.__esModule = true;
|
|
45878
|
+
__exportStar(components, exports);
|
|
45879
|
+
})(componentLibrary);
|
|
45195
45880
|
|
|
45196
45881
|
var img = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3csvg width='20px' height='20px' viewBox='0 0 20 20' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e %3c!-- Generator: Sketch 44.1 (41455) - http://www.bohemiancoding.com/sketch --%3e %3ctitle%3eIcons/Informational/check%3c/title%3e %3cdesc%3eCreated with Sketch.%3c/desc%3e %3cdefs%3e %3cpolygon id='path-1' points='8.33333333 14.3416667 4.16666667 10.175 5.34166667 9 8.33333333 11.9833333 14.6583333 5.65833333 15.8333333 6.84166667'%3e%3c/polygon%3e %3c/defs%3e %3cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3e %3cg id='Icons/Informational/check'%3e %3cmask id='mask-2' fill='white'%3e %3cuse xlink:href='%23path-1'%3e%3c/use%3e %3c/mask%3e %3cuse fill='black' xlink:href='%23path-1'%3e%3c/use%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
|
|
45197
45882
|
var check = img;
|
|
@@ -45214,7 +45899,7 @@ var Option = function(_a) {
|
|
|
45214
45899
|
classNameOverride
|
|
45215
45900
|
]), "aria-label": item.textValue }),
|
|
45216
45901
|
item.rendered,
|
|
45217
|
-
React__default.createElement("span", { className: classNames([styles$4.icon, isSelected && styles$4.isSelected]) }, isSelected && React__default.createElement(Icon, { icon: check, role: "presentation" }))
|
|
45902
|
+
React__default.createElement("span", { className: classNames([styles$4.icon, isSelected && styles$4.isSelected]) }, isSelected && React__default.createElement(componentLibrary.Icon, { icon: check, role: "presentation" }))
|
|
45218
45903
|
);
|
|
45219
45904
|
};
|
|
45220
45905
|
Option.displayName = "Option";
|
|
@@ -45400,5 +46085,427 @@ FilterSelect.SectionDivider = SectionDivider;
|
|
|
45400
46085
|
FilterSelect.Option = Option;
|
|
45401
46086
|
FilterSelect.ItemDefaultRender = ListItem;
|
|
45402
46087
|
|
|
45403
|
-
|
|
46088
|
+
var ThemeManager = (
|
|
46089
|
+
/** @class */
|
|
46090
|
+
function() {
|
|
46091
|
+
function ThemeManager2(theme, rootElementId, apply) {
|
|
46092
|
+
if (rootElementId === void 0) {
|
|
46093
|
+
rootElementId = "";
|
|
46094
|
+
}
|
|
46095
|
+
if (apply === void 0) {
|
|
46096
|
+
apply = true;
|
|
46097
|
+
}
|
|
46098
|
+
var _this = this;
|
|
46099
|
+
this.themeChangeListeners = [];
|
|
46100
|
+
this.rootElement = null;
|
|
46101
|
+
this.getRootElement = function() {
|
|
46102
|
+
return _this.rootElement;
|
|
46103
|
+
};
|
|
46104
|
+
this.getRootElementId = function() {
|
|
46105
|
+
return _this.rootElementId;
|
|
46106
|
+
};
|
|
46107
|
+
this.getCurrentTheme = function() {
|
|
46108
|
+
return _this.theme;
|
|
46109
|
+
};
|
|
46110
|
+
this.setRootElement = function(element) {
|
|
46111
|
+
_this.rootElement = element;
|
|
46112
|
+
};
|
|
46113
|
+
this.setRootElementId = function(rootElementId2) {
|
|
46114
|
+
return _this.rootElementId = rootElementId2;
|
|
46115
|
+
};
|
|
46116
|
+
this.setAndApplyTheme = function(theme2, force) {
|
|
46117
|
+
if (!force) {
|
|
46118
|
+
if (_this.theme === theme2)
|
|
46119
|
+
return;
|
|
46120
|
+
}
|
|
46121
|
+
_this.theme = theme2;
|
|
46122
|
+
_this.applyCurrentTheme();
|
|
46123
|
+
_this.notifyThemeChangeListeners(theme2);
|
|
46124
|
+
};
|
|
46125
|
+
this.addThemeChangeListener = function(listener) {
|
|
46126
|
+
_this.themeChangeListeners.push(listener);
|
|
46127
|
+
};
|
|
46128
|
+
this.removeThemeChangeListener = function(listener) {
|
|
46129
|
+
_this.themeChangeListeners = _this.themeChangeListeners.filter(function(l) {
|
|
46130
|
+
return l !== listener;
|
|
46131
|
+
});
|
|
46132
|
+
};
|
|
46133
|
+
this.applyCurrentTheme = function() {
|
|
46134
|
+
var _a;
|
|
46135
|
+
if (typeof window !== "undefined") {
|
|
46136
|
+
_this.setRootElement((_a = document.getElementById(_this.rootElementId)) !== null && _a !== void 0 ? _a : document.documentElement);
|
|
46137
|
+
var cssVariableDefinitions = makeCssVariableDefinitionsMap(_this.theme);
|
|
46138
|
+
Object.entries(cssVariableDefinitions).forEach(function(_a2) {
|
|
46139
|
+
var _b;
|
|
46140
|
+
var key = _a2[0], value = _a2[1];
|
|
46141
|
+
(_b = _this.rootElement) === null || _b === void 0 ? void 0 : _b.style.setProperty(key, value);
|
|
46142
|
+
});
|
|
46143
|
+
}
|
|
46144
|
+
};
|
|
46145
|
+
this.notifyThemeChangeListeners = function(theme2) {
|
|
46146
|
+
_this.themeChangeListeners.forEach(function(listener) {
|
|
46147
|
+
return listener(theme2);
|
|
46148
|
+
});
|
|
46149
|
+
};
|
|
46150
|
+
this.theme = theme;
|
|
46151
|
+
this.rootElementId = rootElementId;
|
|
46152
|
+
if (apply)
|
|
46153
|
+
this.applyCurrentTheme();
|
|
46154
|
+
}
|
|
46155
|
+
return ThemeManager2;
|
|
46156
|
+
}()
|
|
46157
|
+
);
|
|
46158
|
+
|
|
46159
|
+
var heartTheme = {
|
|
46160
|
+
themeKey: "heart",
|
|
46161
|
+
animation: {
|
|
46162
|
+
easingFunction: {
|
|
46163
|
+
easeInOut: "cubic-bezier(0.455, 0.03, 0.515, 0.955)",
|
|
46164
|
+
easeIn: "cubic-bezier(0.55, 0.085, 0.68, 0.53)",
|
|
46165
|
+
easeOut: "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
|
|
46166
|
+
linear: "linear",
|
|
46167
|
+
bounceIn: "cubic-bezier(0.485, 0.155, 0.24, 1.245)",
|
|
46168
|
+
bounceOut: "cubic-bezier(0.485, 0.155, 0.515, 0.845)",
|
|
46169
|
+
bounceInOut: "cubic-bezier(0.76, -0.245, 0.24, 1.245)"
|
|
46170
|
+
},
|
|
46171
|
+
duration: {
|
|
46172
|
+
instant: "0ms",
|
|
46173
|
+
immediate: "100ms",
|
|
46174
|
+
rapid: "200ms",
|
|
46175
|
+
fast: "300ms",
|
|
46176
|
+
slow: "400ms",
|
|
46177
|
+
deliberate: "700ms"
|
|
46178
|
+
}
|
|
46179
|
+
},
|
|
46180
|
+
border: {
|
|
46181
|
+
solid: {
|
|
46182
|
+
borderWidth: "2px",
|
|
46183
|
+
borderRadius: "7px",
|
|
46184
|
+
borderStyle: "solid",
|
|
46185
|
+
borderColor: "#e1e2ea"
|
|
46186
|
+
},
|
|
46187
|
+
dashed: {
|
|
46188
|
+
borderWidth: "2px",
|
|
46189
|
+
borderRadius: "7px",
|
|
46190
|
+
borderStyle: "dashed"
|
|
46191
|
+
},
|
|
46192
|
+
borderless: {
|
|
46193
|
+
borderWidth: "2px",
|
|
46194
|
+
borderRadius: "7px",
|
|
46195
|
+
borderStyle: "solid",
|
|
46196
|
+
borderColor: "transparent"
|
|
46197
|
+
},
|
|
46198
|
+
focusRing: {
|
|
46199
|
+
borderWidth: "2px",
|
|
46200
|
+
borderRadius: "10px",
|
|
46201
|
+
borderStyle: "solid"
|
|
46202
|
+
}
|
|
46203
|
+
},
|
|
46204
|
+
color: {
|
|
46205
|
+
purple: {
|
|
46206
|
+
100: "#f4edf8",
|
|
46207
|
+
200: "#dfc9ea",
|
|
46208
|
+
300: "#c9a5dd",
|
|
46209
|
+
400: "#ae67b1",
|
|
46210
|
+
500: "#844587",
|
|
46211
|
+
600: "#5f3361",
|
|
46212
|
+
700: "#4a234d",
|
|
46213
|
+
800: "#2f2438"
|
|
46214
|
+
},
|
|
46215
|
+
blue: {
|
|
46216
|
+
100: "#e6f6ff",
|
|
46217
|
+
200: "#bde2f5",
|
|
46218
|
+
300: "#73c0e8",
|
|
46219
|
+
400: "#008bd6",
|
|
46220
|
+
500: "#0168b3",
|
|
46221
|
+
600: "#004970",
|
|
46222
|
+
700: "#003157"
|
|
46223
|
+
},
|
|
46224
|
+
green: {
|
|
46225
|
+
100: "#e8f8f4",
|
|
46226
|
+
200: "#c4ede2",
|
|
46227
|
+
300: "#8fdbc7",
|
|
46228
|
+
400: "#5dcbad",
|
|
46229
|
+
500: "#44a289",
|
|
46230
|
+
600: "#2c7d67",
|
|
46231
|
+
700: "#22594a"
|
|
46232
|
+
},
|
|
46233
|
+
yellow: {
|
|
46234
|
+
100: "#fff9e4",
|
|
46235
|
+
200: "#ffeeb3",
|
|
46236
|
+
300: "#ffe36e",
|
|
46237
|
+
400: "#ffca4d",
|
|
46238
|
+
500: "#ffb600",
|
|
46239
|
+
600: "#c68600",
|
|
46240
|
+
700: "#876400"
|
|
46241
|
+
},
|
|
46242
|
+
red: {
|
|
46243
|
+
100: "#fdeaee",
|
|
46244
|
+
200: "#f9c2cb",
|
|
46245
|
+
300: "#f597a8",
|
|
46246
|
+
400: "#e0707d",
|
|
46247
|
+
500: "#c93b55",
|
|
46248
|
+
600: "#a82433",
|
|
46249
|
+
700: "#6c1e20"
|
|
46250
|
+
},
|
|
46251
|
+
orange: {
|
|
46252
|
+
100: "#fff0e8",
|
|
46253
|
+
200: "#ffd1b9",
|
|
46254
|
+
300: "#ffb08a",
|
|
46255
|
+
400: "#ff9461",
|
|
46256
|
+
500: "#e96c2f",
|
|
46257
|
+
600: "#b74302",
|
|
46258
|
+
700: "#903c00"
|
|
46259
|
+
},
|
|
46260
|
+
gray: {
|
|
46261
|
+
100: "#f9f9f9",
|
|
46262
|
+
200: "#f4f4f5",
|
|
46263
|
+
300: "#eaeaec",
|
|
46264
|
+
400: "#cdcdd0",
|
|
46265
|
+
500: "#8c8c97",
|
|
46266
|
+
600: "#524e56"
|
|
46267
|
+
},
|
|
46268
|
+
white: "#ffffff"
|
|
46269
|
+
},
|
|
46270
|
+
dataViz: {
|
|
46271
|
+
favorable: "#7dd5bd",
|
|
46272
|
+
unfavorable: "#e68d97"
|
|
46273
|
+
},
|
|
46274
|
+
layout: {
|
|
46275
|
+
contentMaxWidth: "1392px",
|
|
46276
|
+
contentMaxWidthWithSidebar: "1080px",
|
|
46277
|
+
contentSideMargin: "72px",
|
|
46278
|
+
mobileActionsDrawerHeight: "60px",
|
|
46279
|
+
navigationBarHeight: "72px",
|
|
46280
|
+
breakpoints: {
|
|
46281
|
+
medium: "768px",
|
|
46282
|
+
large: "1080px"
|
|
46283
|
+
}
|
|
46284
|
+
},
|
|
46285
|
+
shadow: {
|
|
46286
|
+
small: {
|
|
46287
|
+
boxShadow: "0px 3px 16px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1)"
|
|
46288
|
+
},
|
|
46289
|
+
large: {
|
|
46290
|
+
boxShadow: "0px 8px 40px rgba(0, 0, 0, 0.08), 0px 3px 9px rgba(0, 0, 0, 0.1)"
|
|
46291
|
+
}
|
|
46292
|
+
},
|
|
46293
|
+
spacing: {
|
|
46294
|
+
xs: "0.375rem",
|
|
46295
|
+
sm: "0.75rem",
|
|
46296
|
+
md: "1.5rem",
|
|
46297
|
+
lg: "2.25rem",
|
|
46298
|
+
xl: "3rem",
|
|
46299
|
+
xxl: "3.75rem",
|
|
46300
|
+
xxxl: "4.5rem",
|
|
46301
|
+
xxxxl: "5.25rem",
|
|
46302
|
+
xxxxxl: "6rem",
|
|
46303
|
+
0: "0",
|
|
46304
|
+
1: ".0625rem",
|
|
46305
|
+
2: ".125rem",
|
|
46306
|
+
4: ".25rem",
|
|
46307
|
+
6: ".375rem",
|
|
46308
|
+
8: ".5rem",
|
|
46309
|
+
12: ".75rem",
|
|
46310
|
+
16: "1rem",
|
|
46311
|
+
24: "1.5rem",
|
|
46312
|
+
32: "2rem",
|
|
46313
|
+
40: "2.5rem",
|
|
46314
|
+
48: "3rem",
|
|
46315
|
+
56: "3.5rem",
|
|
46316
|
+
64: "4rem",
|
|
46317
|
+
72: "4.5rem",
|
|
46318
|
+
80: "5rem",
|
|
46319
|
+
96: "6rem",
|
|
46320
|
+
112: "7rem",
|
|
46321
|
+
128: "8rem",
|
|
46322
|
+
160: "10rem",
|
|
46323
|
+
200: "12.5rem",
|
|
46324
|
+
240: "15rem",
|
|
46325
|
+
280: "17.5rem",
|
|
46326
|
+
320: "20rem"
|
|
46327
|
+
},
|
|
46328
|
+
typography: {
|
|
46329
|
+
dataLarge: {
|
|
46330
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46331
|
+
fontWeight: 700,
|
|
46332
|
+
fontSize: "5.25rem",
|
|
46333
|
+
lineHeight: "5.25rem",
|
|
46334
|
+
letterSpacing: "normal"
|
|
46335
|
+
},
|
|
46336
|
+
dataLargeUnits: {
|
|
46337
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46338
|
+
fontWeight: 700,
|
|
46339
|
+
fontSize: "2.625rem",
|
|
46340
|
+
lineHeight: "5.25rem",
|
|
46341
|
+
letterSpacing: "normal"
|
|
46342
|
+
},
|
|
46343
|
+
dataMedium: {
|
|
46344
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46345
|
+
fontWeight: 700,
|
|
46346
|
+
fontSize: "3rem",
|
|
46347
|
+
lineHeight: "5rem",
|
|
46348
|
+
letterSpacing: "normal"
|
|
46349
|
+
},
|
|
46350
|
+
dataMediumUnits: {
|
|
46351
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46352
|
+
fontWeight: 700,
|
|
46353
|
+
fontSize: "1.5rem",
|
|
46354
|
+
lineHeight: "5rem",
|
|
46355
|
+
letterSpacing: "normal"
|
|
46356
|
+
},
|
|
46357
|
+
dataSmall: {
|
|
46358
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46359
|
+
fontWeight: 700,
|
|
46360
|
+
fontSize: "1.5rem",
|
|
46361
|
+
lineHeight: "1.5rem",
|
|
46362
|
+
letterSpacing: "normal"
|
|
46363
|
+
},
|
|
46364
|
+
dataSmallUnits: {
|
|
46365
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46366
|
+
fontWeight: 700,
|
|
46367
|
+
fontSize: "1.125rem",
|
|
46368
|
+
lineHeight: "1.5rem",
|
|
46369
|
+
letterSpacing: "normal"
|
|
46370
|
+
},
|
|
46371
|
+
display0: {
|
|
46372
|
+
fontFamily: '"Tiempos Headline", Georgia, serif',
|
|
46373
|
+
fontWeight: 800,
|
|
46374
|
+
fontSize: "4.5rem",
|
|
46375
|
+
lineHeight: "5.25rem",
|
|
46376
|
+
letterSpacing: "0em"
|
|
46377
|
+
},
|
|
46378
|
+
heading1: {
|
|
46379
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46380
|
+
fontWeight: 700,
|
|
46381
|
+
fontSize: "2.125rem",
|
|
46382
|
+
lineHeight: "2.625rem",
|
|
46383
|
+
letterSpacing: "normal"
|
|
46384
|
+
},
|
|
46385
|
+
heading2: {
|
|
46386
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46387
|
+
fontWeight: 700,
|
|
46388
|
+
fontSize: "1.75rem",
|
|
46389
|
+
lineHeight: "2.25rem",
|
|
46390
|
+
letterSpacing: "normal"
|
|
46391
|
+
},
|
|
46392
|
+
heading3: {
|
|
46393
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46394
|
+
fontWeight: 700,
|
|
46395
|
+
fontSize: "1.375rem",
|
|
46396
|
+
lineHeight: "1.875rem",
|
|
46397
|
+
letterSpacing: "normal"
|
|
46398
|
+
},
|
|
46399
|
+
heading4: {
|
|
46400
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46401
|
+
fontWeight: 600,
|
|
46402
|
+
fontSize: "1.125rem",
|
|
46403
|
+
lineHeight: "1.5rem",
|
|
46404
|
+
letterSpacing: "normal"
|
|
46405
|
+
},
|
|
46406
|
+
heading5: {
|
|
46407
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46408
|
+
fontWeight: 600,
|
|
46409
|
+
fontSize: "1rem",
|
|
46410
|
+
lineHeight: "1.5rem",
|
|
46411
|
+
letterSpacing: "normal"
|
|
46412
|
+
},
|
|
46413
|
+
heading6: {
|
|
46414
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46415
|
+
fontWeight: 700,
|
|
46416
|
+
fontSize: "0.875rem",
|
|
46417
|
+
lineHeight: "1.5rem",
|
|
46418
|
+
letterSpacing: "normal"
|
|
46419
|
+
},
|
|
46420
|
+
paragraphIntroLede: {
|
|
46421
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46422
|
+
fontWeight: 400,
|
|
46423
|
+
fontSize: "1.25rem",
|
|
46424
|
+
lineHeight: "1.875rem",
|
|
46425
|
+
letterSpacing: "0"
|
|
46426
|
+
},
|
|
46427
|
+
paragraphBody: {
|
|
46428
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46429
|
+
fontWeight: 400,
|
|
46430
|
+
fontSize: "1rem",
|
|
46431
|
+
lineHeight: "1.5rem",
|
|
46432
|
+
letterSpacing: "normal"
|
|
46433
|
+
},
|
|
46434
|
+
paragraphSmall: {
|
|
46435
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46436
|
+
fontWeight: 400,
|
|
46437
|
+
fontSize: "0.875rem",
|
|
46438
|
+
lineHeight: "1.125rem",
|
|
46439
|
+
letterSpacing: "normal"
|
|
46440
|
+
},
|
|
46441
|
+
paragraphExtraSmall: {
|
|
46442
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46443
|
+
fontWeight: 400,
|
|
46444
|
+
fontSize: "0.75rem",
|
|
46445
|
+
lineHeight: "1.125rem",
|
|
46446
|
+
letterSpacing: "normal"
|
|
46447
|
+
},
|
|
46448
|
+
paragraphBold: {
|
|
46449
|
+
fontWeight: 600
|
|
46450
|
+
},
|
|
46451
|
+
buttonPrimary: {
|
|
46452
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46453
|
+
fontWeight: 700,
|
|
46454
|
+
fontSize: "1.125rem",
|
|
46455
|
+
lineHeight: "1.5rem",
|
|
46456
|
+
letterSpacing: "normal"
|
|
46457
|
+
},
|
|
46458
|
+
buttonSecondary: {
|
|
46459
|
+
fontFamily: '"Inter", "Noto Sans", Helvetica, Arial, sans-serif',
|
|
46460
|
+
fontWeight: 500,
|
|
46461
|
+
fontSize: "1rem",
|
|
46462
|
+
lineHeight: "1.5rem",
|
|
46463
|
+
letterSpacing: "normal"
|
|
46464
|
+
}
|
|
46465
|
+
}
|
|
46466
|
+
};
|
|
46467
|
+
|
|
46468
|
+
var defaultTheme = heartTheme;
|
|
46469
|
+
|
|
46470
|
+
var ThemeContext = createContext(defaultTheme);
|
|
46471
|
+
var ThemeProvider = function(_a) {
|
|
46472
|
+
var themeManager = _a.themeManager, props = __rest(_a, ["themeManager"]);
|
|
46473
|
+
var themeManagerInstance = useState(function() {
|
|
46474
|
+
return themeManager || new ThemeManager(defaultTheme);
|
|
46475
|
+
})[0];
|
|
46476
|
+
var _b = useState(themeManagerInstance.getCurrentTheme()), theme = _b[0], setTheme = _b[1];
|
|
46477
|
+
useEffect(function() {
|
|
46478
|
+
var cancelled = false;
|
|
46479
|
+
var listener = function(newTheme) {
|
|
46480
|
+
if (!cancelled)
|
|
46481
|
+
setTheme(newTheme);
|
|
46482
|
+
};
|
|
46483
|
+
themeManagerInstance.addThemeChangeListener(listener);
|
|
46484
|
+
return function() {
|
|
46485
|
+
cancelled = true;
|
|
46486
|
+
themeManagerInstance.removeThemeChangeListener(listener);
|
|
46487
|
+
};
|
|
46488
|
+
}, []);
|
|
46489
|
+
return React__default.createElement(
|
|
46490
|
+
React__default.Fragment,
|
|
46491
|
+
null,
|
|
46492
|
+
React__default.createElement(ThemeContext.Provider, { value: theme }, props.children),
|
|
46493
|
+
React__default.createElement("link", { rel: "preload", href: "https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-bold.woff2", as: "font", type: "font/woff2", crossOrigin: "anonymous" }),
|
|
46494
|
+
React__default.createElement("link", { rel: "preload", href: "https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-demi-bold.woff2", as: "font", type: "font/woff2", crossOrigin: "anonymous" }),
|
|
46495
|
+
React__default.createElement("link", { rel: "preload", href: "https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-medium.woff2", as: "font", type: "font/woff2", crossOrigin: "anonymous" }),
|
|
46496
|
+
React__default.createElement("link", { rel: "preload", href: "https://d1e7r7b0lb8p4d.cloudfront.net/fonts/inter/inter-regular.woff2", as: "font", type: "font/woff2", crossOrigin: "anonymous" }),
|
|
46497
|
+
React__default.createElement("link", { rel: "preload", href: "https://d1e7r7b0lb8p4d.cloudfront.net/fonts/tiempos/tiempos-headline-bold.woff2", as: "font", type: "font/woff2", crossOrigin: "anonymous" })
|
|
46498
|
+
);
|
|
46499
|
+
};
|
|
46500
|
+
var useTheme = function() {
|
|
46501
|
+
return useContext(ThemeContext);
|
|
46502
|
+
};
|
|
46503
|
+
|
|
46504
|
+
var KaizenProvider = function(_a) {
|
|
46505
|
+
var children = _a.children, themeManager = _a.themeManager;
|
|
46506
|
+
return React__default.createElement(ThemeProvider, { themeManager }, children);
|
|
46507
|
+
};
|
|
46508
|
+
KaizenProvider.displayName = "KaizenProvider";
|
|
46509
|
+
|
|
46510
|
+
export { Brand, Filter, FilterButton, FilterButtonRemovable, FilterContents, FilterSelect, KaizenProvider, ThemeContext, ThemeManager, ThemeProvider, defaultTheme, heartTheme, useTheme };
|
|
45404
46511
|
//# sourceMappingURL=index.js.map
|