@appquality/unguess-design-system 2.4.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/build/hooks/useWindowSize.d.ts +4 -0
  3. package/build/index.d.ts +18 -0
  4. package/build/index.js +633 -160
  5. package/build/stories/avatar/_types.d.ts +2 -0
  6. package/build/stories/avatar/index.stories.d.ts +2 -5
  7. package/build/stories/counter/_types.d.ts +5 -0
  8. package/build/stories/counter/index.d.ts +13 -0
  9. package/build/stories/counter/index.stories.d.ts +15 -0
  10. package/build/stories/dropdowns/multiselect/index.stories.d.ts +1 -1
  11. package/build/stories/dropdowns/select/index.d.ts +2 -2
  12. package/build/stories/dropdowns/select/index.stories.d.ts +2 -2
  13. package/build/stories/icons/_types.d.ts +7 -0
  14. package/build/stories/icons/index.d.ts +4 -0
  15. package/build/stories/icons/index.stories.d.ts +6 -0
  16. package/build/stories/login-form/_types.d.ts +4 -0
  17. package/build/stories/logo/_types.d.ts +9 -0
  18. package/build/stories/logo/index.d.ts +13 -0
  19. package/build/stories/logo/index.stories.d.ts +6 -0
  20. package/build/stories/modals/_types.d.ts +34 -0
  21. package/build/stories/modals/index.d.ts +10 -0
  22. package/build/stories/modals/index.stories.d.ts +19 -0
  23. package/build/stories/navigation/app-header/_types.d.ts +17 -0
  24. package/build/stories/navigation/app-header/index.d.ts +8 -0
  25. package/build/stories/navigation/app-header/index.stories.d.ts +6 -0
  26. package/build/stories/navigation/body/_types.d.ts +5 -0
  27. package/build/stories/navigation/body/index.d.ts +7 -0
  28. package/build/stories/navigation/chrome/_types.d.ts +7 -0
  29. package/build/stories/navigation/chrome/index.d.ts +10 -0
  30. package/build/stories/navigation/content/_types.d.ts +2 -0
  31. package/build/stories/navigation/content/index.d.ts +7 -0
  32. package/build/stories/navigation/header/_types.d.ts +5 -0
  33. package/build/stories/navigation/header/header-item/_types.d.ts +32 -0
  34. package/build/stories/navigation/header/header-item/brandItem.d.ts +4 -0
  35. package/build/stories/navigation/header/header-item/headerItem.d.ts +4 -0
  36. package/build/stories/navigation/header/header-item/headerItemIcon.d.ts +4 -0
  37. package/build/stories/navigation/header/header-item/headerItemText.d.ts +4 -0
  38. package/build/stories/navigation/header/header-item/index.d.ts +5 -0
  39. package/build/stories/navigation/header/header-item/utils.d.ts +13 -0
  40. package/build/stories/navigation/header/index.d.ts +13 -0
  41. package/build/stories/navigation/main/_types.d.ts +2 -0
  42. package/build/stories/navigation/main/index.d.ts +7 -0
  43. package/build/stories/navigation/nav/_types.d.ts +5 -0
  44. package/build/stories/navigation/nav/index.d.ts +10 -0
  45. package/build/stories/navigation/nav/nav-item/_types.d.ts +29 -0
  46. package/build/stories/navigation/nav/nav-item/index.d.ts +7 -0
  47. package/build/stories/navigation/nav/nav-item/navDivider.d.ts +4 -0
  48. package/build/stories/navigation/nav/nav-item/navItem.d.ts +4 -0
  49. package/build/stories/navigation/nav/nav-item/navItemIcon.d.ts +4 -0
  50. package/build/stories/navigation/nav/nav-item/navItemProject.d.ts +8 -0
  51. package/build/stories/navigation/nav/nav-item/navItemText.d.ts +4 -0
  52. package/build/stories/navigation/nav/nav-item/navToggle.d.ts +4 -0
  53. package/build/stories/navigation/sidebar/_types.d.ts +15 -0
  54. package/build/stories/navigation/sidebar/index.d.ts +10 -0
  55. package/build/stories/navigation/sidebar/index.stories.d.ts +9 -0
  56. package/build/stories/page/index.d.ts +8 -0
  57. package/build/stories/page/index.stories.d.ts +6 -0
  58. package/build/stories/table/_types.d.ts +10 -2
  59. package/build/stories/table/index.d.ts +3 -2
  60. package/build/stories/table/index.stories.d.ts +8 -0
  61. package/package.json +5 -3
package/build/index.js CHANGED
@@ -13,11 +13,15 @@ var reactNotifications = require('@zendeskgarden/react-notifications');
13
13
  var reactDropdowns = require('@zendeskgarden/react-dropdowns');
14
14
  var reactForms = require('@zendeskgarden/react-forms');
15
15
  var reactGrid = require('@zendeskgarden/react-grid');
16
+ var React = require('react');
16
17
  var reactLoaders = require('@zendeskgarden/react-loaders');
17
18
  var formik = require('formik');
18
- var React = require('react');
19
- var reactTables = require('@zendeskgarden/react-tables');
19
+ var reactModals = require('@zendeskgarden/react-modals');
20
+ var reactChrome = require('@zendeskgarden/react-chrome');
20
21
  var reactTypography = require('@zendeskgarden/react-typography');
22
+ var reactPagination = require('@zendeskgarden/react-pagination');
23
+ var reactTables = require('@zendeskgarden/react-tables');
24
+ var reactTags = require('@zendeskgarden/react-tags');
21
25
 
22
26
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
27
 
@@ -68,6 +72,18 @@ var __assign = function() {
68
72
  return __assign.apply(this, arguments);
69
73
  };
70
74
 
75
+ function __rest(s, e) {
76
+ var t = {};
77
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
78
+ t[p] = s[p];
79
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
80
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
81
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
82
+ t[p[i]] = s[p[i]];
83
+ }
84
+ return t;
85
+ }
86
+
71
87
  function __makeTemplateObject(cooked, raw) {
72
88
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
73
89
  return cooked;
@@ -208,8 +224,8 @@ var gradients = {
208
224
 
209
225
  var theme = __assign(__assign({}, reactTheming.DEFAULT_THEME), { palette: palette, fonts: __assign(__assign({}, reactTheming.DEFAULT_THEME.fonts), { system: '"Poppins",sans-serif,Helvetica,Arial,sans-serif' }), gradients: gradients });
210
226
 
211
- var GlobalStyle = styled.createGlobalStyle(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n body {\n font-family: ", ";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n \n "], ["\n body {\n font-family: ", ";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n \n "])), theme.fonts.system);
212
- var templateObject_1$h;
227
+ var GlobalStyle = styled.createGlobalStyle(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n body {\n font-family: ", ";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n \n "], ["\n body {\n font-family: ", ";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n \n svg {\n max-height: 100%;\n }\n \n "])), theme.fonts.system);
228
+ var templateObject_1$w;
213
229
 
214
230
  /**
215
231
  * Accordions are headers that can be expanded to reveal content or collapsed to hide it.
@@ -224,7 +240,8 @@ Accordion.Header = reactAccordions.Accordion.Header;
224
240
  Accordion.Label = reactAccordions.Accordion.Label;
225
241
  Accordion.Panel = reactAccordions.Accordion.Panel;
226
242
 
227
- var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
243
+ // import useWindowSize from "../../hooks/useWindowSize";
244
+ var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
228
245
  return "\n background: ".concat(props.backgroundColor || theme.gradients.dark, ";\n ");
229
246
  });
230
247
  /**
@@ -235,10 +252,19 @@ var UgAvatar = styled__default["default"](reactAvatars.Avatar)(templateObject_1$
235
252
  */
236
253
  var Avatar = function (props) {
237
254
  var fixedBadge = props.badge && props.badge > 9 ? "9+" : props.badge;
238
- return jsxRuntime.jsx(UgAvatar, __assign({}, props, { badge: fixedBadge }));
255
+ var wrapChildren = function (type) {
256
+ if (type === "icon")
257
+ return props.children;
258
+ if (type === "image")
259
+ return jsxRuntime.jsx("img", { alt: "avatar", src: props.children });
260
+ if (type === "text")
261
+ return jsxRuntime.jsx(Avatar.Text, { children: props.children });
262
+ };
263
+ // const { width } = useWindowSize();
264
+ return (jsxRuntime.jsx(UgAvatar, __assign({}, props, { badge: fixedBadge, children: wrapChildren(props.avatarType || "text"), size: props.size || "small" })));
239
265
  };
240
266
  Avatar.Text = UgAvatar.Text;
241
- var templateObject_1$g;
267
+ var templateObject_1$v;
242
268
 
243
269
  /**
244
270
  * Breadcrumbs mark and communicate a user’s location in the product.
@@ -259,7 +285,7 @@ var Breadcrumb = function (props) { return jsxRuntime.jsx(reactBreadcrumbs.Bread
259
285
  */
260
286
  var Anchor = function (props) { return jsxRuntime.jsx(reactButtons.Anchor, __assign({}, props)); };
261
287
 
262
- var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$f || (templateObject_1$f = __makeTemplateObject([""], [""])));
288
+ var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$u || (templateObject_1$u = __makeTemplateObject([""], [""])));
263
289
  /**
264
290
  * Buttons let users take action quickly.
265
291
  * Use a Button to enable actions or decisions that are important to a user’s workflow.
@@ -271,7 +297,7 @@ var UgButton = styled__default["default"](reactButtons.Button)(templateObject_1$
271
297
  var Button = function (props) { return jsxRuntime.jsx(UgButton, __assign({}, props)); };
272
298
  Button.StartIcon = UgButton.StartIcon;
273
299
  Button.EndIcon = UgButton.EndIcon;
274
- var templateObject_1$f;
300
+ var templateObject_1$u;
275
301
 
276
302
  /**
277
303
  A Button group lets users make a selection from a set of options.
@@ -314,25 +340,25 @@ var Card = function (props) { return jsxRuntime.jsx(reactNotifications.Well, __a
314
340
  */
315
341
  var Close = function (props) { return jsxRuntime.jsx(reactNotifications.Close, __assign({}, props)); };
316
342
 
317
- var UgField$1 = styled__default["default"](reactDropdowns.Field)(templateObject_1$e || (templateObject_1$e = __makeTemplateObject([""], [""])));
343
+ var UgField$1 = styled__default["default"](reactDropdowns.Field)(templateObject_1$t || (templateObject_1$t = __makeTemplateObject([""], [""])));
318
344
  var Field$1 = function (props) { return jsxRuntime.jsx(UgField$1, __assign({}, props)); };
319
- var templateObject_1$e;
345
+ var templateObject_1$t;
320
346
 
321
347
  var index$1 = /*#__PURE__*/Object.freeze({
322
348
  __proto__: null,
323
349
  Field: Field$1
324
350
  });
325
351
 
326
- var UgItem = styled__default["default"](reactDropdowns.Item)(templateObject_1$d || (templateObject_1$d = __makeTemplateObject([""], [""])));
352
+ var UgItem = styled__default["default"](reactDropdowns.Item)(templateObject_1$s || (templateObject_1$s = __makeTemplateObject([""], [""])));
327
353
  var Item = function (props) { return jsxRuntime.jsx(UgItem, __assign({}, props)); };
328
- var templateObject_1$d;
354
+ var templateObject_1$s;
329
355
 
330
- var UgMenu = styled__default["default"](reactDropdowns.Menu)(templateObject_1$c || (templateObject_1$c = __makeTemplateObject([""], [""])));
356
+ var UgMenu = styled__default["default"](reactDropdowns.Menu)(templateObject_1$r || (templateObject_1$r = __makeTemplateObject([""], [""])));
331
357
  /**
332
358
  * A Menu is a wrapper for items elements
333
359
  **/
334
360
  var Menu = function (props) { return jsxRuntime.jsx(UgMenu, __assign({}, props)); };
335
- var templateObject_1$c;
361
+ var templateObject_1$r;
336
362
 
337
363
  /**
338
364
  * Multiselect lets users select multiple items from a list. Options are dynamically filtered as a user types in the input field and their selections appear as tags in the input field.
@@ -357,7 +383,7 @@ var Select = function (props) { return jsxRuntime.jsx(reactDropdowns.Select, __a
357
383
  var Dropdown = function (props) { return jsxRuntime.jsx(reactDropdowns.Dropdown, __assign({}, props)); };
358
384
  var Message = function (props) { return jsxRuntime.jsx(reactDropdowns.Message, __assign({}, props)); };
359
385
 
360
- var UgCheckbox = styled__default["default"](reactForms.Checkbox)(templateObject_1$b || (templateObject_1$b = __makeTemplateObject([""], [""])));
386
+ var UgCheckbox = styled__default["default"](reactForms.Checkbox)(templateObject_1$q || (templateObject_1$q = __makeTemplateObject([""], [""])));
361
387
  /**
362
388
  * A Checkbox lets users select and unselect options from a list.
363
389
  * <hr>
@@ -369,21 +395,21 @@ var UgCheckbox = styled__default["default"](reactForms.Checkbox)(templateObject_
369
395
  * - To let users activate an option that takes effect immediately, use a Toggle instead
370
396
  **/
371
397
  var Checkbox = function (props) { return jsxRuntime.jsx(UgCheckbox, __assign({}, props)); };
372
- var templateObject_1$b;
398
+ var templateObject_1$q;
373
399
 
374
- var UgField = styled__default["default"](reactForms.Field)(templateObject_1$a || (templateObject_1$a = __makeTemplateObject([""], [""])));
400
+ var UgField = styled__default["default"](reactForms.Field)(templateObject_1$p || (templateObject_1$p = __makeTemplateObject([""], [""])));
375
401
  /**
376
402
  * A Field is a wrapper for input elements
377
403
  **/
378
404
  var Field = function (props) { return jsxRuntime.jsx(UgField, __assign({}, props)); };
379
- var templateObject_1$a;
405
+ var templateObject_1$p;
380
406
 
381
407
  var index = /*#__PURE__*/Object.freeze({
382
408
  __proto__: null,
383
409
  Field: Field
384
410
  });
385
411
 
386
- var UgInput = styled__default["default"](reactForms.Input)(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject([""], [""])));
412
+ var UgInput = styled__default["default"](reactForms.Input)(templateObject_1$o || (templateObject_1$o = __makeTemplateObject([""], [""])));
387
413
  /**
388
414
  * An Input lets users enter text into a field.
389
415
  * <hr>
@@ -392,9 +418,9 @@ var UgInput = styled__default["default"](reactForms.Input)(templateObject_1$9 ||
392
418
  * - To enter multiline text, use a Textarea
393
419
  **/
394
420
  var Input = function (props) { return jsxRuntime.jsx(UgInput, __assign({}, props)); };
395
- var templateObject_1$9;
421
+ var templateObject_1$o;
396
422
 
397
- var UgRadio = styled__default["default"](reactForms.Radio)(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject([""], [""])));
423
+ var UgRadio = styled__default["default"](reactForms.Radio)(templateObject_1$n || (templateObject_1$n = __makeTemplateObject([""], [""])));
398
424
  /**
399
425
  * Radio buttons let users choose a single option among two or more mutually exclusive options.
400
426
  * <hr>
@@ -406,9 +432,9 @@ var UgRadio = styled__default["default"](reactForms.Radio)(templateObject_1$8 ||
406
432
  * - To select from a long list of options, use Select instead
407
433
  **/
408
434
  var Radio = function (props) { return jsxRuntime.jsx(UgRadio, __assign({}, props)); };
409
- var templateObject_1$8;
435
+ var templateObject_1$n;
410
436
 
411
- var UgTextarea = styled__default["default"](reactForms.Textarea)(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject([""], [""])));
437
+ var UgTextarea = styled__default["default"](reactForms.Textarea)(templateObject_1$m || (templateObject_1$m = __makeTemplateObject([""], [""])));
412
438
  /**
413
439
  * A Textarea is a form control for multi-line text.
414
440
  * <hr>
@@ -416,9 +442,9 @@ var UgTextarea = styled__default["default"](reactForms.Textarea)(templateObject_
416
442
  * - To enter multi-line text
417
443
  **/
418
444
  var Textarea = function (props) { return jsxRuntime.jsx(UgTextarea, __assign({}, props)); };
419
- var templateObject_1$7;
445
+ var templateObject_1$m;
420
446
 
421
- var UgToggle = styled__default["default"](reactForms.Toggle)(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject([""], [""])));
447
+ var UgToggle = styled__default["default"](reactForms.Toggle)(templateObject_1$l || (templateObject_1$l = __makeTemplateObject([""], [""])));
422
448
  /**
423
449
  * A Toggle lets users turn something on and off like a light switch. Unlike a Checkbox, which is used for selection, a Toggle is used for activation.
424
450
  * <hr>
@@ -429,7 +455,7 @@ var UgToggle = styled__default["default"](reactForms.Toggle)(templateObject_1$6
429
455
  * - To let users select from a list of settings, use Checkboxes instead
430
456
  **/
431
457
  var Toggle = function (props) { return jsxRuntime.jsx(UgToggle, __assign({}, props)); };
432
- var templateObject_1$6;
458
+ var templateObject_1$l;
433
459
 
434
460
  var Col = function (props) { return jsxRuntime.jsx(reactGrid.Col, __assign({}, props)); };
435
461
 
@@ -443,15 +469,112 @@ var Row = function (props) { return jsxRuntime.jsx(reactGrid.Row, __assign({}, p
443
469
  */
444
470
  var Grid = function (props) { return jsxRuntime.jsx(reactGrid.Grid, __assign({}, props)); };
445
471
 
446
- var UgLabel = styled__default["default"](reactForms.Label)(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject([""], [""])));
472
+ var _path$9;
473
+
474
+ function _extends$a() { _extends$a = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
475
+
476
+ var SvgUgSquare = function SvgUgSquare(props) {
477
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
478
+ width: 24,
479
+ height: 24,
480
+ viewBox: "0 0 24 24",
481
+ fill: "none",
482
+ xmlns: "http://www.w3.org/2000/svg"
483
+ }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
484
+ d: "M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM18 19H6C5.45 19 5 18.55 5 18V6C5 5.45 5.45 5 6 5H18C18.55 5 19 5.45 19 6V18C19 18.55 18.55 19 18 19Z",
485
+ fill: "#E80C7A"
486
+ })));
487
+ };
488
+
489
+ var _path$8;
490
+
491
+ function _extends$9() { _extends$9 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
492
+
493
+ var SvgUgCircle = function SvgUgCircle(props) {
494
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
495
+ width: 24,
496
+ height: 24,
497
+ viewBox: "0 0 24 24",
498
+ fill: "none",
499
+ xmlns: "http://www.w3.org/2000/svg"
500
+ }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
501
+ d: "M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",
502
+ fill: "#FFCD1A"
503
+ })));
504
+ };
505
+
506
+ var _path$7;
507
+
508
+ function _extends$8() { _extends$8 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
509
+
510
+ var SvgUgTriangle = function SvgUgTriangle(props) {
511
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
512
+ width: 24,
513
+ height: 24,
514
+ viewBox: "0 0 24 24",
515
+ fill: "none",
516
+ xmlns: "http://www.w3.org/2000/svg"
517
+ }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
518
+ d: "M11.9993 7.32625L18.3893 17.5563H5.60929L11.9993 7.32625ZM11.1493 4.91625L2.94929 18.0262C2.53929 18.6962 3.01929 19.5563 3.79929 19.5563H20.1993C20.9893 19.5563 21.4593 18.6962 21.0493 18.0262L12.8493 4.91625C12.4593 4.28625 11.5393 4.28625 11.1493 4.91625Z",
519
+ fill: "#7B0DFF"
520
+ })));
521
+ };
522
+
523
+ var StyledUgIcon = styled__default["default"].span(templateObject_1$k || (templateObject_1$k = __makeTemplateObject([""], [""])));
524
+ var Icon = function (props) {
525
+ var children = function (type, size) {
526
+ if (size === void 0) { size = 24; }
527
+ if (type === "square")
528
+ return jsxRuntime.jsx(SvgUgSquare, __assign({}, props && !props.size, props && { width: size, height: size }));
529
+ if (type === "triangle")
530
+ return jsxRuntime.jsx(SvgUgTriangle, __assign({}, props && !props.size, props && { width: size, height: size }));
531
+ if (type === "circle")
532
+ return jsxRuntime.jsx(SvgUgCircle, __assign({}, props && !props.size, props && { width: size, height: size }));
533
+ };
534
+ return (jsxRuntime.jsx(StyledUgIcon, { children: children(props.type, props.size) }));
535
+ };
536
+ var templateObject_1$k;
537
+
538
+ var UgLabel = styled__default["default"](reactForms.Label)(templateObject_1$j || (templateObject_1$j = __makeTemplateObject([""], [""])));
447
539
  /**
448
540
  * A Label is used to specify a title for an input.
449
541
  * <hr>
450
542
  **/
451
543
  var Label = function (props) { return jsxRuntime.jsx(UgLabel, __assign({}, props)); };
452
- var templateObject_1$5;
544
+ var templateObject_1$j;
545
+
546
+ var UgProgress = styled__default["default"](reactLoaders.Progress)(templateObject_1$i || (templateObject_1$i = __makeTemplateObject([""], [""])));
547
+ /**
548
+ * A Progress loader communicates progress when downloading or uploading content.
549
+ * <hr>
550
+ * Used for this:
551
+ * - To communicate the amount of time left when downloading or uploading content
552
+ *
553
+ Not for this:
554
+ - When the loading time is unknown, use a Spinner instead
555
+ - When loading page content, use a Skeleton loader instead
556
+ */
557
+ var Progress = function (props) { return jsxRuntime.jsx(UgProgress, __assign({}, props)); };
558
+ var templateObject_1$i;
559
+
560
+ var UgSkeleton = styled__default["default"](reactLoaders.Skeleton)(templateObject_1$h || (templateObject_1$h = __makeTemplateObject([""], [""])));
561
+ /**
562
+ * A Skeleton loader shows users a blank version of a page or section of a page into which content is gradually loaded. It provides a visual estimate of the space needed.
563
+ * <hr>
564
+ * Used for this:
565
+ - Skeleton is the default loader, used whenever the system can predict the format of the loading content
566
+ - To progressively load different parts of a page
567
+ - To avoid large layout shifts
568
+
569
+ * Not for this:
570
+ - When the system doesn’t have control over the content that is loading, use a Spinner instead
571
+ - To indicate that a component (like a button or search input) is busy, use Dots instead
572
+ - To communicate a typing status, use Inline instead
573
+ */
574
+ var Skeleton = function (props) { return jsxRuntime.jsx(UgSkeleton, __assign({}, props)); };
575
+ var templateObject_1$h;
453
576
 
454
- var UgSpinner = styled__default["default"](reactLoaders.Spinner)(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject([""], [""])));
577
+ var UgSpinner = styled__default["default"](reactLoaders.Spinner)(templateObject_1$g || (templateObject_1$g = __makeTemplateObject([""], [""])));
455
578
  /**
456
579
  * Breadcrumbs mark and communicate a user’s location in the product.
457
580
  * <hr>
@@ -460,142 +583,435 @@ var UgSpinner = styled__default["default"](reactLoaders.Spinner)(templateObject_
460
583
  - To provide a quick way to navigate to ancestor pages
461
584
  */
462
585
  var Spinner = function (props) { return jsxRuntime.jsx(UgSpinner, __assign({}, props)); };
463
- var templateObject_1$4;
586
+ var templateObject_1$g;
464
587
 
465
588
  /**
466
589
  * Title is a basic component used to display a title. Often used in card headers.
467
590
  */
468
591
  var Title = function (props) { return jsxRuntime.jsx(reactNotifications.Title, __assign({}, props)); };
469
592
 
470
- var _g;
593
+ /**
594
+ * Login Form
595
+ * <hr>
596
+ * Used for this:
597
+ - Login user to the application
598
+ */
599
+ var LoginForm = function (props) { return (jsxRuntime.jsxs(Card, __assign({ isFloating: true }, { children: [jsxRuntime.jsx(Title, __assign({ style: { textAlign: "center", margin: theme.space.md } }, { children: props.title })), jsxRuntime.jsx(formik.Formik, __assign({}, props, { initialValues: props.initialValues, onSubmit: props.onSubmit, validate: props.validate }, { children: function (_a) {
600
+ var values = _a.values, errors = _a.errors, touched = _a.touched, handleChange = _a.handleChange, handleSubmit = _a.handleSubmit, isSubmitting = _a.isSubmitting;
601
+ return (jsxRuntime.jsxs(formik.Form, __assign({ onSubmit: handleSubmit }, { children: [jsxRuntime.jsxs(Field, { children: [jsxRuntime.jsx(Input, __assign({ type: "email", name: "email", placeholder: props.placeholderEmail, onChange: handleChange, value: values.email }, (touched && values.email
602
+ ? (touched.email = true)
603
+ : (touched.email = false)), (errors && errors.email
604
+ ? { validation: "error" }
605
+ : touched.email
606
+ ? { validation: "success" }
607
+ : ""))), errors.email ? (jsxRuntime.jsx(Message, __assign({ validation: "error" }, { children: errors.email }))) : ("")] }), jsxRuntime.jsxs(Field, __assign({ style: { marginTop: theme.space.md } }, { children: [jsxRuntime.jsx(Input, __assign({ type: "password", name: "password", placeholder: props.placeholderPassword, onChange: handleChange, value: values.password }, (touched && values.password
608
+ ? (touched.password = true)
609
+ : (touched.password = false)), (errors && errors.password
610
+ ? { validation: "error" }
611
+ : touched.password
612
+ ? { validation: "success" }
613
+ : ""))), errors.password ? (jsxRuntime.jsx(Message, __assign({ validation: "error" }, { children: errors.password }))) : ("")] })), jsxRuntime.jsx("br", {}), jsxRuntime.jsx(Button, __assign({ type: "submit", isStretched: true, disabled: Object.keys(errors).length ? true : isSubmitting ? true : false, isPrimary: true }, { children: props.buttonText }))] })));
614
+ } }))] }))); };
615
+
616
+ var img$2 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e%3c!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' %5b %3c!ENTITY ns_extend 'http://ns.adobe.com/Extensibility/1.0/'%3e %3c!ENTITY ns_ai 'http://ns.adobe.com/AdobeIllustrator/10.0/'%3e %3c!ENTITY ns_graphs 'http://ns.adobe.com/Graphs/1.0/'%3e %3c!ENTITY ns_vars 'http://ns.adobe.com/Variables/1.0/'%3e %3c!ENTITY ns_imrep 'http://ns.adobe.com/ImageReplacement/1.0/'%3e %3c!ENTITY ns_sfw 'http://ns.adobe.com/SaveForWeb/1.0/'%3e %3c!ENTITY ns_custom 'http://ns.adobe.com/GenericCustomNamespace/1.0/'%3e %3c!ENTITY ns_adobe_xpath 'http://ns.adobe.com/XPath/1.0/'%3e%5d%3e%3csvg enable-background='new 0 0 479.42 154.1' version='1.1' viewBox='0 0 479.42 154.1' xml:space='preserve' xmlns='http://www.w3.org/2000/svg'%3e%3cstyle type='text/css'%3e .st0%7bfill:%23003A57%3b%7d .st1%7bfill:%2354C38A%3b%7d .st2%7bfill:%23B2C4CD%3b%7d .st3%7bfill:%23809CAB%3b%7d .st4%7bfill:%23CCEDDC%3b%7d .st5%7bfill:%23CCD8DD%3b%7d .st6%7bfill:%23E5EBEE%3b%7d .st7%7bfill:%23A9E1C5%3b%7d%3c/style%3e%3cswitch%3e %3cforeignObject width='1' height='1' requiredExtensions='http://ns.adobe.com/AdobeIllustrator/10.0/'%3e %3c/foreignObject%3e %3cg%3e %3cpath class='st0' d='m203.46 43.96c1.66 0 3.06 0.82 3.06 2.56 0 0.83-0.48 1.54-1.36 1.88 1.11 0.31 1.64 1.33 1.64 2.18 0 1.94-1.63 2.52-3.35 2.52h-3.99v-9.13h4zm-2.85 3.93h2.91c1.1 0 1.89-0.4 1.89-1.36 0-1.02-0.82-1.54-1.94-1.54h-2.86v2.9zm0 4.13h2.86c0.95 0 2.22-0.25 2.22-1.49-0.01-1.15-1.17-1.62-2.16-1.62h-2.91v3.11z'/%3e %3cpath class='st0' d='M212.75%2c43.96h6.41V45h-5.29v2.86h5.07v1.06h-5.07v3.09h5.5v1.08h-6.62V43.96z'/%3e %3cpath class='st0' d='m235.85 44.78c-1.16 0-2.4 0.46-2.4 1.56 0 0.99 1.13 1.28 2.48 1.5 1.83 0.29 3.62 0.65 3.62 2.71-0.01 2.05-1.97 2.71-3.72 2.71-1.62 0-3.16-0.59-3.86-2.11l0.94-0.55c0.59 1.08 1.81 1.6 2.93 1.6 1.11 0 2.58-0.35 2.58-1.69 0.01-1.13-1.26-1.46-2.63-1.67-1.76-0.27-3.47-0.68-3.47-2.53-0.03-1.9 1.92-2.55 3.49-2.55 1.36 0 2.65 0.27 3.45 1.66l-0.86 0.53c-0.48-0.79-1.54-1.15-2.55-1.17z'/%3e %3cpath class='st0' d='m250.07 50.22h-0.23l-3.31-4.64v7.51h-1.12v-9.13h1.36l3.21 4.69 3.18-4.69h1.36v9.13h-1.12v-7.49l-3.33 4.62z'/%3e %3cpath class='st0' d='m265.37 43.96 4.09 9.13h-1.23l-0.9-2.01h-5.22l-0.89 2.01h-1.22l4.09-9.13h1.28zm-0.64 1.15-2.16 4.93h4.33l-2.17-4.93z'/%3e %3cpath class='st0' d='m278.31 49.8h-2.22v3.29h-1.13v-9.13h4.15c2.06 0 3.09 1.43 3.09 2.92 0.01 1.38-0.74 2.67-2.62 2.83l3.01 3.38h-1.43l-2.85-3.29zm2.75-2.89c0.01-0.91-0.64-1.93-1.96-1.93h-3.01v3.81h2.96c1.37 0 2.01-0.85 2.01-1.88z'/%3e %3cpath class='st0' d='m287.15 44.98v-1.02h7.35v1.02h-3.12v8.11h-1.12v-8.11h-3.11z'/%3e %3cpath class='st0' d='m313.34 43.96v1.08h-5.2v3.18h4.98v1.06h-4.98v3.82h-1.14v-9.14h6.34z'/%3e %3cpath class='st0' d='m322.57 49.8h-2.22v3.29h-1.13v-9.13h4.15c2.06 0 3.09 1.43 3.09 2.92 0.01 1.38-0.74 2.67-2.62 2.83l3.01 3.38h-1.43l-2.85-3.29zm2.76-2.89c0.01-0.91-0.64-1.93-1.96-1.93h-3.01v3.81h2.96c1.37 0 2.01-0.85 2.01-1.88z'/%3e %3cpath class='st0' d='m341.26 48.55c-0.01 2.39-1.5 4.72-4.63 4.72s-4.64-2.32-4.64-4.72c0-2.65 1.77-4.75 4.65-4.75 3.1 0.02 4.64 2.34 4.62 4.75zm-4.61-3.7c-2.32 0-3.52 1.71-3.52 3.7 0 1.85 1.12 3.65 3.52 3.65s3.48-1.85 3.48-3.65c0.01-1.85-1.1-3.68-3.48-3.7z'/%3e %3cpath class='st0' d='m351.84 50.22h-0.23l-3.31-4.64v7.51h-1.12v-9.13h1.36l3.21 4.69 3.18-4.69h1.36v9.13h-1.12v-7.49l-3.33 4.62z'/%3e %3cpath class='st0' d='m368.77 44.98v-1.02h7.35v1.02h-3.12v8.11h-1.12v-8.11h-3.11z'/%3e %3cpath class='st0' d='m387.97 48.97h-5.22v4.12h-1.13v-9.13h1.13v3.95h5.22v-3.95h1.13v9.13h-1.13v-4.12z'/%3e %3cpath class='st0' d='M395.58%2c43.96H402V45h-5.29v2.86h5.07v1.06h-5.07v3.09h5.5v1.08h-6.62V43.96z'/%3e %3cpath class='st0' d='m418.68 44.78c-1.16 0-2.4 0.46-2.4 1.56 0 0.99 1.13 1.28 2.48 1.5 1.83 0.29 3.62 0.65 3.62 2.71-0.01 2.05-1.97 2.71-3.72 2.71-1.62 0-3.15-0.59-3.86-2.11l0.94-0.55c0.59 1.08 1.81 1.6 2.93 1.6 1.11 0 2.58-0.35 2.58-1.69 0.01-1.13-1.26-1.46-2.63-1.67-1.76-0.27-3.47-0.68-3.47-2.53-0.03-1.9 1.92-2.55 3.49-2.55 1.36 0 2.65 0.27 3.46 1.66l-0.86 0.53c-0.49-0.79-1.54-1.15-2.56-1.17z'/%3e %3cpath class='st0' d='m427.25 44.98v-1.02h7.35v1.02h-3.12v8.11h-1.12v-8.11h-3.11z'/%3e %3cpath class='st0' d='m443.63 43.96 4.09 9.13h-1.23l-0.9-2.01h-5.22l-0.89 2.01h-1.24l4.09-9.13h1.3zm-0.64 1.15-2.16 4.93h4.33l-2.17-4.93z'/%3e %3cpath class='st0' d='m456.57 49.8h-2.22v3.29h-1.13v-9.13h4.15c2.06 0 3.09 1.43 3.09 2.92 0.01 1.38-0.74 2.67-2.62 2.83l3.01 3.38h-1.43l-2.85-3.29zm2.75-2.89c0.01-0.91-0.64-1.93-1.96-1.93h-3.01v3.81h2.96c1.37 0 2.01-0.85 2.01-1.88z'/%3e %3cpath class='st0' d='m465.41 44.98v-1.02h7.35v1.02h-3.12v8.11h-1.12v-8.11h-3.11z'/%3e %3cpath class='st0' d='m157.64 115.24v-24.59c0-6.81-3.65-10.72-10.03-10.72-6 0-9.44 3.91-9.44 10.72v24.59h-8.58v-24.59c0-11.51 6.93-18.66 18.08-18.66 11.26 0 18.54 7.32 18.54 18.66v24.59h-8.57z'/%3e %3cpath class='st0' d='m214.63 116.35c-16.55 0-22.44-11.2-22.44-21.67 0-15.87 11.27-22.98 22.44-22.98 5.93 0 11.53 2.3 15.77 6.49l0.34 0.34-5.54 5.67-0.35-0.33c-2.55-2.44-6.57-4.02-10.23-4.02-8.14 0-13.82 6.1-13.82 14.83 0 6.48 3.63 13.4 13.82 13.4 3.51 0 6.11-0.89 8.89-3.07v-6.64h-10.61v-7.97h19.29v17.55l-0.63 0.76c-4.49 5.14-10.03 7.64-16.93 7.64z'/%3e %3cpath class='st0' d='m277.01 115.24c-11.26 0-18.54-7.32-18.54-18.66v-24.59h8.58v24.59c0 6.81 3.65 10.72 10.02 10.72 6 0 9.44-3.91 9.44-10.72v-24.59h8.58v24.59c0 11.51-6.92 18.66-18.08 18.66z'/%3e %3cpolygon class='st0' points='321.07 115.24 321.07 72.25 354.94 72.25 354.94 80.65 329.64 80.65 329.64 90.13 350.81 90.13 350.81 98.24 329.64 98.24 329.64 106.72 354.94 106.72 354.94 115.24'/%3e %3cpath class='st0' d='m397.19 116.06c-9.41 0-15.35-3.37-18.16-10.29l-0.17-0.41 7.25-3.76 0.2 0.5c1.55 3.85 5.66 6.14 10.99 6.14 2.08 0 8.86-0.4 8.86-5.61 0-3.05-2.94-4.85-8.97-5.5-14.45-1.72-16.4-7.43-16.4-12.79 0-8.43 8.14-12.27 16.22-12.33 8.06 0 13.73 2.88 16.41 8.34l0.21 0.43-6.92 3.56-0.23-0.39c-1.25-2.08-4.91-4.29-9.22-4.29-4.89 0-7.93 1.88-7.93 4.92 0 2.99 3.45 4.01 8.63 4.63 8.73 1.08 16.8 3.45 16.8 13.43-0.02 9.89-9.09 13.42-17.57 13.42z'/%3e %3cpath class='st0' d='m457.03 116.25c-9.4 0-15.33-3.36-18.14-10.28l-0.17-0.41 7.25-3.75 0.2 0.5c1.55 3.84 5.65 6.13 10.98 6.13 2.08 0 8.85-0.4 8.85-5.61 0-3.05-2.93-4.85-8.96-5.49-14.44-1.72-16.38-7.42-16.38-12.78 0-8.42 8.14-12.25 16.2-12.32 8.05 0 13.71 2.88 16.39 8.33l0.21 0.43-6.92 3.56-0.23-0.39c-1.25-2.08-4.9-4.29-9.21-4.29-4.89 0-7.93 1.88-7.93 4.91 0 2.99 3.45 4.01 8.62 4.62 8.72 1.07 16.79 3.44 16.79 13.42-0.01 9.9-9.07 13.42-17.55 13.42z'/%3e %3cpath class='st0' d='m94.63 93.63v4.23h-0.03c-0.36 6.13-3.75 9.62-9.43 9.62-6.03 0-9.62-3.49-10.01-9.62h-0.03v-4.23h-8.58v4.23 0.01 0.05c0.49 10.69 7.66 17.52 18.55 17.52 10.79 0 17.63-6.68 18.09-17.52v-4.29h-8.56z'/%3e %3crect class='st1' x='66.55' y='72.02' width='8.6' height='8.6'/%3e %3crect class='st0' x='94.41' y='72.02' width='8.72' height='8.72'/%3e %3crect class='st2' transform='matrix(-1.837e-16 1 -1 -1.837e-16 103.01 7.8599)' x='43.27' y='51.13' width='8.6' height='8.6'/%3e %3crect class='st3' transform='matrix(-1.837e-16 1 -1 -1.837e-16 126.9 6.4839)' x='55.9' y='62.39' width='8.6' height='8.6'/%3e %3crect class='st4' transform='matrix(-1.837e-16 1 -1 -1.837e-16 94.995 31.397)' x='27.5' y='58.89' width='8.6' height='8.6'/%3e %3crect class='st5' transform='matrix(-1.837e-16 1 -1 -1.837e-16 64.365 27.091)' x='14.34' y='41.43' width='8.6' height='8.6'/%3e %3crect class='st6' transform='matrix(-1.837e-16 1 -1 -1.837e-16 138.08 66.268)' x='31.6' y='97.87' width='8.6' height='8.6'/%3e %3crect class='st7' transform='matrix(-1.837e-16 1 -1 -1.837e-16 137.84 35.856)' x='46.69' y='82.55' width='8.6' height='8.6'/%3e %3c/g%3e%3c/switch%3e%3c/svg%3e";
617
+
618
+ var img$1 = "data:image/svg+xml,%3c%3fxml version='1.0' encoding='utf-8'%3f%3e%3c!-- Generator: Adobe Illustrator 26.0.1%2c SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3e%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 532 311.3' style='enable-background:new 0 0 532 311.3%3b' xml:space='preserve'%3e%3cstyle type='text/css'%3e .st0%7bfill:%23003A57%3b%7d .st1%7bfill:%2354C38A%3b%7d .st2%7bfill:%23B2C4CD%3b%7d .st3%7bfill:%23809CAB%3b%7d .st4%7bfill:%23CCEDDC%3b%7d .st5%7bfill:%23CCD8DD%3b%7d .st6%7bfill:%23E5EBEE%3b%7d .st7%7bfill:%23A9E1C5%3b%7d%3c/style%3e%3cg%3e %3cg%3e %3cpath class='st0' d='M89.4%2c278.2c2.4%2c0%2c4.4%2c1.2%2c4.4%2c3.7c0%2c1.2-0.7%2c2.2-1.9%2c2.7c1.6%2c0.4%2c2.4%2c1.9%2c2.4%2c3.1c0%2c2.8-2.3%2c3.6-4.8%2c3.6 h-5.7v-13.1H89.4z M85.3%2c283.8h4.2c1.6%2c0%2c2.7-0.6%2c2.7-1.9c0-1.5-1.2-2.2-2.8-2.2h-4.1V283.8z M85.3%2c289.8h4.1 c1.4%2c0%2c3.2-0.4%2c3.2-2.1c0-1.6-1.7-2.3-3.1-2.3h-4.2V289.8z'/%3e %3cpath class='st0' d='M101.9%2c278.2h9.2v1.5h-7.6v4.1h7.3v1.5h-7.3v4.4h7.9v1.6h-9.5V278.2z'/%3e %3cpath class='st0' d='M133.5%2c279.4c-1.7%2c0-3.4%2c0.7-3.4%2c2.2c0%2c1.4%2c1.6%2c1.8%2c3.6%2c2.2c2.6%2c0.4%2c5.2%2c0.9%2c5.2%2c3.9c0%2c2.9-2.8%2c3.9-5.3%2c3.9 c-2.3%2c0-4.5-0.8-5.5-3l1.3-0.8c0.8%2c1.6%2c2.6%2c2.3%2c4.2%2c2.3c1.6%2c0%2c3.7-0.5%2c3.7-2.4c0-1.6-1.8-2.1-3.8-2.4c-2.5-0.4-5-1-5-3.6 c0-2.7%2c2.8-3.7%2c5-3.7c1.9%2c0%2c3.8%2c0.4%2c5%2c2.4l-1.2%2c0.8C136.5%2c279.9%2c135%2c279.4%2c133.5%2c279.4z'/%3e %3cpath class='st0' d='M153.1%2c287.2h-0.3l-4.8-6.7v10.8h-1.6v-13.1h1.9l4.6%2c6.7l4.6-6.7h1.9v13.1h-1.6v-10.7L153.1%2c287.2z'/%3e %3cpath class='st0' d='M174.3%2c278.2l5.9%2c13.1h-1.8l-1.3-2.9h-7.5l-1.3%2c2.9h-1.8l5.9-13.1H174.3z M173.4%2c279.8l-3.1%2c7.1h6.2 L173.4%2c279.8z'/%3e %3cpath class='st0' d='M192.1%2c286.6h-3.2v4.7h-1.6v-13.1h5.9c3%2c0%2c4.4%2c2.1%2c4.4%2c4.2c0%2c2-1.1%2c3.8-3.8%2c4.1l4.3%2c4.8h-2.1L192.1%2c286.6z M196%2c282.4c0-1.3-0.9-2.8-2.8-2.8h-4.3v5.5h4.2C195.1%2c285.1%2c196%2c283.9%2c196%2c282.4z'/%3e %3cpath class='st0' d='M204%2c279.7v-1.5h10.6v1.5h-4.5v11.6h-1.6v-11.6H204z'/%3e %3cpath class='st0' d='M240%2c278.2v1.6h-7.5v4.6h7.1v1.5h-7.1v5.5h-1.6v-13.1H240z'/%3e %3cpath class='st0' d='M252.5%2c286.6h-3.2v4.7h-1.6v-13.1h5.9c3%2c0%2c4.4%2c2.1%2c4.4%2c4.2c0%2c2-1.1%2c3.8-3.8%2c4.1l4.3%2c4.8h-2.1L252.5%2c286.6z M256.4%2c282.4c0-1.3-0.9-2.8-2.8-2.8h-4.3v5.5h4.2C255.5%2c285.1%2c256.4%2c283.9%2c256.4%2c282.4z'/%3e %3cpath class='st0' d='M278.5%2c284.8c0%2c3.4-2.2%2c6.8-6.6%2c6.8c-4.5%2c0-6.7-3.3-6.7-6.8c0-3.8%2c2.5-6.8%2c6.7-6.8 C276.3%2c278%2c278.5%2c281.3%2c278.5%2c284.8z M271.9%2c279.5c-3.3%2c0-5.1%2c2.5-5.1%2c5.3c0%2c2.7%2c1.6%2c5.2%2c5.1%2c5.2c3.4%2c0%2c5-2.7%2c5-5.2 C276.9%2c282.1%2c275.3%2c279.5%2c271.9%2c279.5z'/%3e %3cpath class='st0' d='M292.9%2c287.2h-0.3l-4.8-6.7v10.8h-1.6v-13.1h1.9l4.6%2c6.7l4.6-6.7h1.9v13.1h-1.6v-10.7L292.9%2c287.2z'/%3e %3cpath class='st0' d='M315.6%2c279.7v-1.5h10.6v1.5h-4.5v11.6h-1.6v-11.6H315.6z'/%3e %3cpath class='st0' d='M342.4%2c285.4h-7.5v5.9h-1.6v-13.1h1.6v5.7h7.5v-5.7h1.6v13.1h-1.6V285.4z'/%3e %3cpath class='st0' d='M352.6%2c278.2h9.2v1.5h-7.6v4.1h7.3v1.5h-7.3v4.4h7.9v1.6h-9.5V278.2z'/%3e %3cpath class='st0' d='M384.1%2c279.4c-1.7%2c0-3.4%2c0.7-3.4%2c2.2c0%2c1.4%2c1.6%2c1.8%2c3.6%2c2.2c2.6%2c0.4%2c5.2%2c0.9%2c5.2%2c3.9c0%2c2.9-2.8%2c3.9-5.3%2c3.9 c-2.3%2c0-4.5-0.8-5.5-3l1.3-0.8c0.8%2c1.6%2c2.6%2c2.3%2c4.2%2c2.3c1.6%2c0%2c3.7-0.5%2c3.7-2.4c0-1.6-1.8-2.1-3.8-2.4c-2.5-0.4-5-1-5-3.6 c0-2.7%2c2.8-3.7%2c5-3.7c1.9%2c0%2c3.8%2c0.4%2c5%2c2.4l-1.2%2c0.8C387.1%2c279.9%2c385.6%2c279.4%2c384.1%2c279.4z'/%3e %3cpath class='st0' d='M395.7%2c279.7v-1.5h10.6v1.5h-4.5v11.6h-1.6v-11.6H395.7z'/%3e %3cpath class='st0' d='M418.4%2c278.2l5.9%2c13.1h-1.8l-1.3-2.9h-7.5l-1.3%2c2.9h-1.8l5.9-13.1H418.4z M417.5%2c279.8l-3.1%2c7.1h6.2 L417.5%2c279.8z'/%3e %3cpath class='st0' d='M436.2%2c286.6H433v4.7h-1.6v-13.1h5.9c3%2c0%2c4.4%2c2.1%2c4.4%2c4.2c0%2c2-1.1%2c3.8-3.8%2c4.1l4.3%2c4.8h-2.1L436.2%2c286.6z M440.1%2c282.4c0-1.3-0.9-2.8-2.8-2.8H433v5.5h4.2C439.2%2c285.1%2c440.1%2c283.9%2c440.1%2c282.4z'/%3e %3cpath class='st0' d='M448.1%2c279.7v-1.5h10.6v1.5h-4.5v11.6h-1.6v-11.6H448.1z'/%3e %3c/g%3e%3c/g%3e%3cpath class='st0' d='M144.4%2c246.7v-27.4c0-7.6-4.1-11.9-11.2-11.9c-6.7%2c0-10.5%2c4.4-10.5%2c11.9v27.4h-9.6v-27.4 c0-12.8%2c7.7-20.8%2c20.1-20.8c12.5%2c0%2c20.7%2c8.2%2c20.7%2c20.8v27.4H144.4z'/%3e%3cpath class='st0' d='M207.9%2c248c-18.4%2c0-25-12.5-25-24.1c0-17.7%2c12.6-25.6%2c25-25.6c6.6%2c0%2c12.8%2c2.6%2c17.6%2c7.2l0.4%2c0.4l-6.2%2c6.3 l-0.4-0.4c-2.8-2.7-7.3-4.5-11.4-4.5c-9.1%2c0-15.4%2c6.8-15.4%2c16.5c0%2c7.2%2c4%2c14.9%2c15.4%2c14.9c3.9%2c0%2c6.8-1%2c9.9-3.4v-7.4H206v-8.9h21.5 v19.5l-0.7%2c0.9C221.8%2c245.2%2c215.6%2c248%2c207.9%2c248z'/%3e%3cpath class='st0' d='M277.4%2c246.7c-12.5%2c0-20.7-8.2-20.7-20.8v-27.4h9.6V226c0%2c7.6%2c4.1%2c11.9%2c11.2%2c11.9c6.7%2c0%2c10.5-4.4%2c10.5-11.9 v-27.4h9.6V226C297.5%2c238.8%2c289.8%2c246.7%2c277.4%2c246.7z'/%3e%3cpath class='st0' d='M63.4%2c246.7c-12.5%2c0-20.7-8.2-20.7-20.8v-27.4h9.6V226c0%2c7.6%2c4.1%2c11.9%2c11.2%2c11.9c6.7%2c0%2c10.5-4.4%2c10.5-11.9 v-27.4h9.6V226C83.6%2c238.8%2c75.8%2c246.7%2c63.4%2c246.7z'/%3e%3cpolygon class='st0' points='326.4%2c246.7 326.4%2c198.9 364.2%2c198.9 364.2%2c208.2 336%2c208.2 336%2c218.8 359.6%2c218.8 359.6%2c227.8 336%2c227.8 336%2c237.3 364.2%2c237.3 364.2%2c246.7 '/%3e%3cpath class='st0' d='M411.2%2c247.6c-10.5%2c0-17.1-3.7-20.2-11.5l-0.2-0.5l8.1-4.2l0.2%2c0.6c1.7%2c4.3%2c6.3%2c6.8%2c12.2%2c6.8 c2.3%2c0%2c9.9-0.5%2c9.9-6.2c0-3.4-3.3-5.4-10-6.1c-16.1-1.9-18.3-8.3-18.3-14.2c0-9.4%2c9.1-13.7%2c18.1-13.7c9%2c0%2c15.3%2c3.2%2c18.3%2c9.3l0.2%2c0.5 l-7.7%2c4l-0.3-0.4c-1.4-2.3-5.5-4.8-10.3-4.8c-5.4%2c0-8.8%2c2.1-8.8%2c5.5c0%2c3.3%2c3.8%2c4.5%2c9.6%2c5.2c9.7%2c1.2%2c18.7%2c3.8%2c18.7%2c15 C430.7%2c243.7%2c420.7%2c247.6%2c411.2%2c247.6z'/%3e%3cpath class='st0' d='M477.9%2c247.6c-10.5%2c0-17.1-3.7-20.2-11.5l-0.2-0.5l8.1-4.2l0.2%2c0.6c1.7%2c4.3%2c6.3%2c6.8%2c12.2%2c6.8 c2.3%2c0%2c9.9-0.5%2c9.9-6.2c0-3.4-3.3-5.4-10-6.1c-16.1-1.9-18.3-8.3-18.3-14.2c0-9.4%2c9.1-13.7%2c18.1-13.7c9%2c0%2c15.3%2c3.2%2c18.3%2c9.3l0.2%2c0.5 l-7.7%2c4l-0.3-0.4c-1.4-2.3-5.5-4.8-10.3-4.8c-5.4%2c0-8.8%2c2.1-8.8%2c5.5c0%2c3.3%2c3.8%2c4.5%2c9.6%2c5.2c9.7%2c1.2%2c18.7%2c3.8%2c18.7%2c15 C497.4%2c243.7%2c487.3%2c247.6%2c477.9%2c247.6z'/%3e%3cg%3e %3cpath class='st0' d='M296.2%2c105.8v8h-0.1c-0.7%2c11.6-7.1%2c18.2-17.8%2c18.2c-11.4%2c0-18.2-6.6-18.9-18.2h-0.1v-8h-16.2v8h0c0%2c0%2c0%2c0%2c0%2c0 v0.1h0c0.9%2c20.2%2c14.5%2c33.1%2c35.1%2c33.1c20.4%2c0%2c33.3-12.6%2c34.2-33.1h0v-8.1H296.2z'/%3e %3crect x='243.2' y='65' class='st1' width='16.3' height='16.3'/%3e %3crect x='295.8' y='65' class='st0' width='16.5' height='16.5'/%3e %3crect x='199.1' y='25.5' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 240.8896 -173.6676)' class='st2' width='16.3' height='16.3'/%3e %3crect x='223' y='46.8' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 286.0495 -176.2692)' class='st3' width='16.3' height='16.3'/%3e %3crect x='169.3' y='40.2' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 225.7338 -129.1657)' class='st4' width='16.3' height='16.3'/%3e %3crect x='144.4' y='7.1' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 167.8209 -137.3073)' class='st5' width='16.3' height='16.3'/%3e %3crect x='177.1' y='113.8' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 307.1887 -63.2329)' class='st6' width='16.3' height='16.3'/%3e %3crect x='205.6' y='84.9' transform='matrix(-1.836970e-16 1 -1 -1.836970e-16 306.7381 -120.7343)' class='st7' width='16.3' height='16.3'/%3e%3c/g%3e%3c/svg%3e";
619
+
620
+ var img = "data:image/svg+xml,%3csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M17.2597 12.9199V14.767H17.2367C17.075 17.4452 15.5974 18.969 13.127 18.969C10.4949 18.969 8.92496 17.4452 8.76335 14.767H8.74026V12.9199H5V14.767V14.7901C5.20779 19.4538 8.34777 22.4322 13.1039 22.4322C17.8139 22.4322 20.7922 19.5231 21 14.7901V12.9199H17.2597Z' fill='%23003A57'/%3e%3cpath d='M8.78629 3.5H5.02295V7.26335H8.78629V3.5Z' fill='%2370C38A'/%3e%3cpath d='M20.9768 3.5H17.1672V7.30952H20.9768V3.5Z' fill='%23003A57'/%3e%3c/svg%3e";
621
+
622
+ /**
623
+ * A Logo is a visual way to represent a brand logo.
624
+ * <hr>
625
+ * Used for this:
626
+ * - To visually represent a brand or product
627
+ *
628
+ * Not for this:
629
+ * - To visually represent a common image
630
+ */
631
+ var Logo = function (props) {
632
+ var _a;
633
+ return (jsxRuntime.jsx("img", __assign({}, props && !props.type, props && props.type === "horizontal" && { width: "".concat(props.size) }, props && props.type === "vertical" && { height: "".concat(props.size) }, props && props.type === "icon" && { width: "".concat(props.size) } && { height: "".concat(props.size) }, { className: props.className, alt: (_a = props.alt) !== null && _a !== void 0 ? _a : "Unguess Logo", src: {
634
+ 'horizontal': img$2,
635
+ 'vertical': img$1,
636
+ 'icon': img,
637
+ }[props.type] })));
638
+ };
639
+
640
+ var ugModalBody = styled__default["default"](reactModals.Body)(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
641
+ var theme = _a.theme;
642
+ return theme.palette.grey["800"];
643
+ });
644
+ var Modal = function (props) { return jsxRuntime.jsx(reactModals.Modal, __assign({}, props)); };
645
+ var FooterItem = reactModals.FooterItem;
646
+ Modal.Header = reactModals.Header;
647
+ Modal.Body = ugModalBody;
648
+ Modal.Footer = reactModals.Footer;
649
+ var templateObject_1$f;
650
+
651
+ /**
652
+ * A Body defines the main content of an HTML document which displays on the browser
653
+ */
654
+ var Body$1 = function (props) { return jsxRuntime.jsx(reactChrome.Body, __assign({}, props)); };
655
+
656
+ /**
657
+ * A Content defines the main content of an HTML document which displays on the browser
658
+ */
659
+ var Content = function (props) { return jsxRuntime.jsx(reactChrome.Content, __assign({}, props)); };
660
+
661
+ var UgHeaderItem = styled__default["default"](reactChrome.HeaderItem)(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (props) { return props.hasLogo && "border-right: none"; });
662
+ var HeaderItem = function (props) { return jsxRuntime.jsx(UgHeaderItem, __assign({}, props)); };
663
+ var templateObject_1$e;
664
+
665
+ var HeaderItemText = function (props) { return jsxRuntime.jsx(reactChrome.HeaderItemText, __assign({}, props)); };
666
+
667
+ var HeaderItemIcon = function (props) { return (jsxRuntime.jsx(reactChrome.HeaderItemIcon, __assign({}, props))); };
668
+
669
+ var _path$6;
670
+
671
+ function _extends$7() { _extends$7 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
672
+
673
+ var SvgMenuStroke = function SvgMenuStroke(props) {
674
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
675
+ xmlns: "http://www.w3.org/2000/svg",
676
+ width: 16,
677
+ height: 16,
678
+ focusable: "false",
679
+ viewBox: "0 0 16 16"
680
+ }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
681
+ fill: "none",
682
+ stroke: "currentColor",
683
+ strokeLinecap: "round",
684
+ d: "M1.5 3.5h13m-13 4h13m-13 4h13"
685
+ })));
686
+ };
687
+
688
+ var LogoIconContainer = styled__default["default"](reactChrome.HeaderItem)(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n margin-right: 2px;\n border-right: none;\n @media (max-width: ", ") {\n right: 0;\n left: 0;\n margin-right: auto;\n margin-left: auto;\n position: absolute;\n }\n"], ["\n margin-right: 2px;\n border-right: none;\n @media (max-width: ", ") {\n right: 0;\n left: 0;\n margin-right: auto;\n margin-left: auto;\n position: absolute;\n }\n"])), function (_a) {
689
+ var theme = _a.theme;
690
+ return theme.breakpoints.sm;
691
+ });
692
+ var BrandName = styled__default["default"](reactChrome.HeaderItem)(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n margin-right: auto;\n margin-left: -8px;\n color: ", ";\n pointer-events: none;\n @media (max-width: ", ") {\n display: none;\n }\n"], ["\n margin-right: auto;\n margin-left: -8px;\n color: ", ";\n pointer-events: none;\n @media (max-width: ", ") {\n display: none;\n }\n"])), function (_a) {
693
+ var theme = _a.theme;
694
+ return theme.palette.blue["600"];
695
+ }, function (_a) {
696
+ var theme = _a.theme;
697
+ return theme.breakpoints.sm;
698
+ });
699
+ var MenuItem = styled__default["default"](reactChrome.HeaderItem)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: ", ";\n position: absolute;\n left: 0;\n @media (min-width: ", ") {\n display: none;\n }\n"], ["\n color: ", ";\n position: absolute;\n left: 0;\n @media (min-width: ", ") {\n display: none;\n }\n"])), function (_a) {
700
+ var theme = _a.theme;
701
+ return theme.palette.blue["600"];
702
+ }, function (_a) {
703
+ var theme = _a.theme;
704
+ return theme.breakpoints.sm;
705
+ });
706
+ var BrandItem = function (props) {
707
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs(MenuItem, __assign({}, props, { onClick: props.toggleMenu }, { children: [jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsx(SvgMenuStroke, {}) }), props.menuLabel && jsxRuntime.jsx(HeaderItemText, { children: props.menuLabel })] })), jsxRuntime.jsx(LogoIconContainer, __assign({}, props, { hasLogo: true }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsx(Logo, { type: "icon", size: 150 }) }) })), props.brandName && (jsxRuntime.jsx(BrandName, __assign({}, props, { children: jsxRuntime.jsx(HeaderItemText, { children: props.brandName }) })))] }));
708
+ };
709
+ var templateObject_1$d, templateObject_2$3, templateObject_3;
710
+
711
+ /**
712
+ * An Header is a visual way to display general information.
713
+ * This can include navList Items, modal, profile settings.
714
+ */
715
+ var Header = function (props) { return jsxRuntime.jsx(reactChrome.Header, __assign({}, props)); };
716
+ Header.HeaderItem = HeaderItem;
717
+ Header.HeaderItemText = HeaderItemText;
718
+ Header.HeaderItemIcon = HeaderItemIcon;
719
+
720
+ var _path$5, _path2;
721
+
722
+ function _extends$6() { _extends$6 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
723
+
724
+ var SvgMegaphoneStroke = function SvgMegaphoneStroke(props) {
725
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
726
+ xmlns: "http://www.w3.org/2000/svg",
727
+ width: 16,
728
+ height: 16,
729
+ focusable: "false",
730
+ viewBox: "0 0 16 16"
731
+ }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
732
+ fill: "none",
733
+ stroke: "currentColor",
734
+ d: "M4.5 4.5v7H4a3.5 3.5 0 010-7h.5zm0 7h3V14a1.5 1.5 0 01-3 0v-2.5z"
735
+ })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
736
+ fill: "currentColor",
737
+ d: "M5 5v6h6l4 4V1l-4 4H5zM14.293.293C14.923-.337 16 .109 16 1v14c0 .89-1.077 1.337-1.707.707L10.586 12H5a1 1 0 01-1-1V5a1 1 0 011-1h5.586L14.293.293z"
738
+ })));
739
+ };
740
+
741
+ var _path$4;
742
+
743
+ function _extends$5() { _extends$5 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
744
+
745
+ var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
746
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
747
+ xmlns: "http://www.w3.org/2000/svg",
748
+ width: 16,
749
+ height: 16,
750
+ focusable: "false",
751
+ viewBox: "0 0 16 16"
752
+ }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
753
+ fill: "currentColor",
754
+ d: "M12.688 5.61a.5.5 0 01.69.718l-.066.062-5 4a.5.5 0 01-.542.054l-.082-.054-5-4a.5.5 0 01.55-.83l.074.05L8 9.359l4.688-3.75z"
755
+ })));
756
+ };
757
+
758
+ var ChevronButton = styled__default["default"](IconButton)(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n @media (max-width: ", ") {\n display: none;\n }\n"], ["\n @media (max-width: ", ") {\n display: none;\n }\n"])), function (_a) {
759
+ var theme = _a.theme;
760
+ return theme.breakpoints.sm;
761
+ });
762
+ /**
763
+ * An Header is a visual way to display general information.
764
+ * This can include navList Items, modal, profile settings.
765
+ */
766
+ var AppHeader = function (_a) {
767
+ var brand = _a.brand, avatar = _a.avatar, args = __rest(_a, ["brand", "avatar"]);
768
+ return (jsxRuntime.jsxs(Header, __assign({}, args, { children: [jsxRuntime.jsx(BrandItem, __assign({}, brand, { toggleMenu: args.onSidebarMenuToggle })), args.hasChangelog && (jsxRuntime.jsx(HeaderItem, __assign({ onClick: args.onChangelogClick, style: { marginRight: "-" + theme.space.sm } }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsx(SvgMegaphoneStroke, {}) }) }))), jsxRuntime.jsx(HeaderItem, __assign({ isRound: true, onClick: avatar === null || avatar === void 0 ? void 0 : avatar.onProfileModalToggle }, { children: jsxRuntime.jsx(HeaderItemIcon, { children: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Avatar, __assign({}, avatar)), jsxRuntime.jsx(ChevronButton, __assign({ size: "small" }, { children: jsxRuntime.jsx(SvgChevronDownStroke, {}) }))] }) }) }))] })));
769
+ };
770
+ var templateObject_1$c;
771
+
772
+ /**
773
+ * A Main defines the main content of an HTML document which displays on the browser
774
+ */
775
+ var Main = function (props) { return jsxRuntime.jsx(reactChrome.Main, __assign({}, props)); };
776
+
777
+ var UgNav = styled__default["default"](reactChrome.Nav)(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n border-right: ", ";\n border-color: ", ";\n ", "\n ", "\n transition: width 0.25s ease-in-out;\n padding-top: ", ";\n padding-left: ", ";\n"], ["\n border-right: ", ";\n border-color: ", ";\n ", "\n ", "\n transition: width 0.25s ease-in-out;\n padding-top: ", ";\n padding-left: ", ";\n"])), function (_a) {
778
+ var theme = _a.theme;
779
+ return theme.borders.sm;
780
+ }, function (_a) {
781
+ var theme = _a.theme;
782
+ return reactTheming.getColor(theme.colors.neutralHue, 300);
783
+ }, function (props) { return !props.isExpanded && "width: ".concat(props.theme.space.base * 9, "px;"); }, function (props) {
784
+ return "\n @media (max-width: ".concat(props.theme.breakpoints.sm, ") {\n width: ").concat(props.isExpanded ? "100%" : "0", ";\n border-right: none;\n }\n ");
785
+ }, function (_a) {
786
+ var theme = _a.theme;
787
+ return theme.space.sm;
788
+ }, function (_a) {
789
+ var theme = _a.theme;
790
+ return theme.space.xs;
791
+ });
792
+ /**
793
+ * The Nav component provides a high-level layout structure and sets a framework for navigating around dashboards.
794
+ * <br>
795
+ * Used for this:
796
+ - To give a consistent dashboard and navigation experience
797
+ */
798
+ var Nav = function (props) { return jsxRuntime.jsx(UgNav, __assign({}, props)); };
799
+ var templateObject_1$b;
800
+
801
+ var SelectedItemStyle = styled.css(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (props) { return props.theme.palette.kale["100"]; });
802
+ var UgNavItem$2 = styled__default["default"](reactChrome.NavItem)(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n border-top-left-radius: ", "px;\n border-bottom-left-radius: ", "px;\n ", "\n ", "\n &:hover, &:focus {\n ", "\n }\n opacity: 1;\n color: ", ";\n font-weight: ", ";\n ", "\n"], ["\n border-top-left-radius: ", "px;\n border-bottom-left-radius: ", "px;\n ", "\n ", "\n &:hover, &:focus {\n ", "\n }\n opacity: 1;\n color: ", ";\n font-weight: ", ";\n ", "\n"])), function (props) { return props.theme.space.base * 6; }, function (props) { return props.theme.space.base * 6; }, function (props) { return !props.isExpanded && "display: none;"; }, function (props) { return props.isCurrent && SelectedItemStyle; }, SelectedItemStyle, function (props) { return props.theme.palette.blue["600"]; }, function (props) { return props.theme.fontWeights.medium; }, function (props) {
803
+ return props.isCurrent &&
804
+ "\n color: ".concat(props.theme.palette.blue["700"], ";\n font-weight: ").concat(props.theme.fontWeights.semibold, ";\n ");
805
+ });
806
+ var NavItem = function (props) {
807
+ // const { isExpanded } = props;
808
+ return jsxRuntime.jsx(UgNavItem$2, __assign({}, props));
809
+ };
810
+ var templateObject_1$a, templateObject_2$2;
811
+
812
+ var UgNavIcon = styled__default["default"](reactChrome.NavItemIcon)(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject([""], [""])));
813
+ var NavItemIcon = function (props) { return jsxRuntime.jsx(UgNavIcon, __assign({}, props)); };
814
+ var templateObject_1$9;
815
+
816
+ /**
817
+ * Use Ellipsis to automatically provide text content with a native title attribute and text-overflow styling.
818
+ */
819
+ var Ellipsis = function (props) { return jsxRuntime.jsx(reactTypography.Ellipsis, __assign({}, props)); };
820
+
821
+ var NavItemText = function (props) { return (jsxRuntime.jsx(reactChrome.NavItemText, __assign({}, props, { children: jsxRuntime.jsx(Ellipsis, __assign({ style: { width: "180px" } }, { children: props.children })) }))); };
822
+
823
+ var _path$3;
824
+
825
+ function _extends$4() { _extends$4 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
826
+
827
+ var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
828
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
829
+ xmlns: "http://www.w3.org/2000/svg",
830
+ width: 16,
831
+ height: 16,
832
+ focusable: "false",
833
+ viewBox: "0 0 16 16"
834
+ }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
835
+ fill: "currentColor",
836
+ d: "M5.61 3.312a.5.5 0 01.718-.69l.062.066 4 5a.5.5 0 01.054.542l-.054.082-4 5a.5.5 0 01-.83-.55l.05-.074L9.359 8l-3.75-4.688z"
837
+ })));
838
+ };
839
+
840
+ var _path$2;
841
+
842
+ function _extends$3() { _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
843
+
844
+ var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
845
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
846
+ xmlns: "http://www.w3.org/2000/svg",
847
+ width: 16,
848
+ height: 16,
849
+ focusable: "false",
850
+ viewBox: "0 0 16 16"
851
+ }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
852
+ fill: "currentColor",
853
+ d: "M10.39 12.688a.5.5 0 01-.718.69l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L6.641 8l3.75 4.688z"
854
+ })));
855
+ };
856
+
857
+ var StyledToggle = styled__default["default"](IconButton)(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n width: ", "px;\n height: ", "px;\n min-width: ", ";\n position: absolute;\n top: ", "px;\n right: -", "px;\n background: ", "};\n z-index: 1;\n @media (max-width: ", ") {\n display: none;\n }\n"], ["\n width: ", "px;\n height: ", "px;\n min-width: ", ";\n position: absolute;\n top: ", "px;\n right: -", "px;\n background: ", "};\n z-index: 1;\n @media (max-width: ", ") {\n display: none;\n }\n"])), function (_a) {
858
+ var theme = _a.theme;
859
+ return theme.space.base * 6;
860
+ }, function (_a) {
861
+ var theme = _a.theme;
862
+ return theme.space.base * 6;
863
+ }, function (_a) {
864
+ var theme = _a.theme;
865
+ return theme.space.md;
866
+ }, function (_a) {
867
+ var theme = _a.theme;
868
+ return theme.space.base * 3;
869
+ }, function (_a) {
870
+ var theme = _a.theme;
871
+ return theme.space.base * 3;
872
+ }, function (_a) {
873
+ var theme = _a.theme;
874
+ return theme.gradients.dark;
875
+ }, function (_a) {
876
+ var theme = _a.theme;
877
+ return theme.breakpoints.sm;
878
+ });
879
+ var NavToggle = function (props) {
880
+ return (jsxRuntime.jsx(StyledToggle, __assign({}, props, { isPrimary: true, size: "small" }, { children: props.isExpanded ? (jsxRuntime.jsx(SvgChevronLeftStroke, { style: { width: "100%" } })) : (jsxRuntime.jsx(SvgChevronRightStroke, { style: { width: "100%" } })) })));
881
+ };
882
+ var templateObject_1$8;
883
+
884
+ var UgNavItem$1 = styled__default["default"](reactChrome.NavItem)(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n width: 100%;\n min-height: ", ";\n opacity: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n padding-right: ", ";\n pointer-events: none;\n\n &:after {\n background: ", ";\n height: 1px;\n flex: 1;\n content: \"\";\n }\n\n span {\n background: #fff;\n margin: 0;\n margin-right: ", ";\n color: ", ";\n font-size: ", ";\n }\n ", "\n"], ["\n width: 100%;\n min-height: ", ";\n opacity: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n padding-right: ", ";\n pointer-events: none;\n\n &:after {\n background: ", ";\n height: 1px;\n flex: 1;\n content: \"\";\n }\n\n span {\n background: #fff;\n margin: 0;\n margin-right: ", ";\n color: ", ";\n font-size: ", ";\n }\n ", "\n"])), function (props) { return props.theme.space.lg; }, function (props) { return props.theme.space.sm; }, function (props) { return props.theme.palette.grey["200"]; }, function (props) { return props.theme.space.sm; }, function (props) { return props.theme.palette.grey["500"]; }, function (props) { return props.theme.fontSizes.sm; }, function (props) { return !props.isExpanded && "display: none;"; });
885
+ var NavDivider = function (props) { return (jsxRuntime.jsx(UgNavItem$1, __assign({}, props, { id: "ciolla" }, { children: jsxRuntime.jsx("span", { children: props.children }) }))); };
886
+ var templateObject_1$7;
887
+
888
+ var UgProjectSubtitle = styled__default["default"](NavItemText)(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n"], ["\n color: ", ";\n font-size: ", ";\n"])), function (props) { return props.theme.palette.grey["500"]; }, function (props) { return props.theme.fontSizes.sm; });
889
+ var UgNavItem = styled__default["default"](NavItem)(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n flex-flow: column;\n align-items: flex-start;\n"], ["\n flex-flow: column;\n align-items: flex-start;\n"])));
890
+ var NavItemProject = function (props) { return jsxRuntime.jsx(UgNavItem, __assign({}, props)); };
891
+ NavItemProject.Title = NavItemText;
892
+ NavItemProject.SubTitle = UgProjectSubtitle;
893
+ var templateObject_1$6, templateObject_2$1;
894
+
895
+ var _path$1;
896
+
897
+ function _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
898
+
899
+ var SvgHomeFill = function SvgHomeFill(props) {
900
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
901
+ xmlns: "http://www.w3.org/2000/svg",
902
+ width: 26,
903
+ height: 26,
904
+ focusable: "false",
905
+ viewBox: "0 0 26 26"
906
+ }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
907
+ fill: "currentColor",
908
+ d: "M23.885 13.2l-1.328 1.639a.522.522 0 01-.737.084l-1.444-1.155v7.182c0 .577-.474 1.05-1.054 1.05H16.51c-.58 0-1.054-.473-1.054-1.05v-3.182a2.43 2.43 0 00-.716-1.732 2.448 2.448 0 00-1.74-.714 2.45 2.45 0 00-1.739.714 2.43 2.43 0 00-.716 1.732v3.182c0 .577-.474 1.05-1.054 1.05H6.678c-.582 0-1.054-.47-1.054-1.05v-7.182L4.18 14.923a.522.522 0 01-.737-.084L2.115 13.2a.52.52 0 01.084-.735l10.474-8.348a.51.51 0 01.654 0L23.8 12.466a.52.52 0 01.084.735"
909
+ })));
910
+ };
911
+
912
+ var _linearGradient, _path;
913
+
914
+ function _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
915
+
916
+ var SvgHomeFillStyled = function SvgHomeFillStyled(props) {
917
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
918
+ xmlns: "http://www.w3.org/2000/svg",
919
+ width: 26,
920
+ height: 26,
921
+ focusable: "false",
922
+ viewBox: "0 0 26 26"
923
+ }, props), _linearGradient || (_linearGradient = /*#__PURE__*/React__namespace.createElement("linearGradient", {
924
+ id: "unguessIconGradient"
925
+ }, /*#__PURE__*/React__namespace.createElement("stop", {
926
+ className: "stop1",
927
+ offset: "11.98%",
928
+ stopColor: "#70c38a"
929
+ }), /*#__PURE__*/React__namespace.createElement("stop", {
930
+ className: "stop3",
931
+ offset: "100%",
932
+ stopColor: "#001825"
933
+ }))), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
934
+ fill: "url(#unguessIconGradient)",
935
+ d: "M23.885 13.2l-1.328 1.639a.522.522 0 01-.737.084l-1.444-1.155v7.182c0 .577-.474 1.05-1.054 1.05H16.51c-.58 0-1.054-.473-1.054-1.05v-3.182a2.43 2.43 0 00-.716-1.732 2.448 2.448 0 00-1.74-.714 2.45 2.45 0 00-1.739.714 2.43 2.43 0 00-.716 1.732v3.182c0 .577-.474 1.05-1.054 1.05H6.678c-.582 0-1.054-.47-1.054-1.05v-7.182L4.18 14.923a.522.522 0 01-.737-.084L2.115 13.2a.52.52 0 01.084-.735l10.474-8.348a.51.51 0 01.654 0L23.8 12.466a.52.52 0 01.084.735"
936
+ })));
937
+ };
938
+
939
+ var _g, _defs;
471
940
 
472
941
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
473
942
 
474
- var SvgLogo = function SvgLogo(props) {
943
+ var SvgToken = function SvgToken(props) {
475
944
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
476
- xmlns: "http://www.w3.org/2000/svg",
477
- width: 189.135,
478
- height: 30.792,
479
- viewBox: "0 0 189.135 30.792"
945
+ fill: "none",
946
+ viewBox: "0 0 32 32",
947
+ xmlns: "http://www.w3.org/2000/svg"
480
948
  }, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
481
- id: "Group_2",
482
- "data-name": "Group 2",
483
- transform: "translate(-356.09 231.603)"
949
+ clipPath: "url(#a)"
484
950
  }, /*#__PURE__*/React__namespace.createElement("path", {
485
- id: "Path_10",
486
- "data-name": "Path 10",
487
- d: "M531.1-170.478v-10.108c0-2.8-1.5-4.406-4.12-4.406-2.466,0-3.881,1.606-3.881,4.406v10.108h-3.525v-10.108c0-4.73,2.847-7.669,7.43-7.669,4.629,0,7.62,3.01,7.62,7.669v10.108Z",
488
- transform: "translate(-116.123 -30.79)",
489
- fill: "#003a57"
490
- }), /*#__PURE__*/React__namespace.createElement("path", {
491
- id: "Path_11",
492
- "data-name": "Path 11",
493
- d: "M617.594-170.308c-6.8,0-9.223-4.6-9.223-8.906,0-6.523,4.632-9.443,9.223-9.443a9.179,9.179,0,0,1,6.482,2.667l.141.139-2.276,2.331-.143-.136a6.385,6.385,0,0,0-4.2-1.651c-3.343,0-5.678,2.506-5.678,6.093,0,2.662,1.492,5.508,5.678,5.508a5.452,5.452,0,0,0,3.654-1.263V-177.7h-4.365v-3.277h7.928v7.212l-.261.314A8.759,8.759,0,0,1,617.594-170.308Z",
494
- transform: "translate(-179.191 -30.504)",
495
- fill: "#003a57"
496
- }), /*#__PURE__*/React__namespace.createElement("path", {
497
- id: "Path_12",
498
- "data-name": "Path 12",
499
- d: "M710.01-170.478c-4.629,0-7.621-3.01-7.621-7.669v-10.107h3.525v10.107c0,2.8,1.5,4.407,4.119,4.407,2.467,0,3.881-1.606,3.881-4.407v-10.107h3.525v10.107C717.44-173.416,714.592-170.478,710.01-170.478Z",
500
- transform: "translate(-245.97 -30.79)",
501
- fill: "#003a57"
951
+ d: "m32 16c0 8.8363-7.1635 16-16 16-8.8369 0-16-7.1635-16-16 0-8.8367 7.1632-16 16-16 8.8364 0 16 7.1632 16 16z",
952
+ clipRule: "evenodd",
953
+ fill: "#9FD7B1",
954
+ fillRule: "evenodd"
955
+ }), /*#__PURE__*/React__namespace.createElement("rect", {
956
+ x: 4.129,
957
+ y: 4.129,
958
+ width: 23.742,
959
+ height: 23.742,
960
+ rx: 11.871,
961
+ fill: "#003A57"
502
962
  }), /*#__PURE__*/React__namespace.createElement("path", {
503
- id: "Path_13",
504
- "data-name": "Path 13",
505
- d: "M791.18-170.215v-17.669H805.1v3.453h-10.4v3.9h8.7v3.334h-8.7v3.484h10.4v3.5Z",
506
- transform: "translate(-309.038 -31.053)",
507
- fill: "#003a57"
963
+ d: "m18.662 16.433v1.1544h-0.0144c-0.1011 1.6739-1.0246 2.6263-2.5686 2.6263-1.645 0-2.6263-0.9524-2.7273-2.6263h-0.0144v-1.1544h-2.3377v1.1688c0.1299 2.9149 2.0924 4.7764 5.065 4.7764 2.9437 0 4.8052-1.8182 4.9351-4.7764v-1.1688h-2.3377z",
964
+ fill: "#fff"
508
965
  }), /*#__PURE__*/React__namespace.createElement("path", {
509
- id: "Path_14",
510
- "data-name": "Path 14",
511
- d: "M880.688-170.132c-3.866,0-6.307-1.383-7.463-4.229l-.069-.169,2.981-1.545.082.2c.636,1.58,2.324,2.524,4.516,2.524.854,0,3.642-.166,3.642-2.306,0-1.254-1.206-1.993-3.687-2.26-5.94-.706-6.741-3.054-6.741-5.258,0-3.465,3.347-5.042,6.665-5.067,3.311,0,5.642,1.186,6.743,3.429l.086.176-2.846,1.463-.1-.16a4.623,4.623,0,0,0-3.79-1.764c-2.011,0-3.26.774-3.26,2.02,0,1.228,1.417,1.648,3.546,1.9,3.587.442,6.905,1.417,6.905,5.52C887.9-171.582,884.176-170.132,880.688-170.132Z",
512
- transform: "translate(-367.264 -30.802)",
513
- fill: "#003a57"
966
+ d: "m13.367 10.545h-2.3522v2.3521h2.3522v-2.3521z",
967
+ fill: "#54C38A"
514
968
  }), /*#__PURE__*/React__namespace.createElement("path", {
515
- id: "Path_15",
516
- "data-name": "Path 15",
517
- d: "M965.594-169.8c-3.862,0-6.3-1.382-7.455-4.225l-.068-.169,2.978-1.543.082.2c.636,1.579,2.322,2.521,4.511,2.521.854,0,3.639-.166,3.639-2.3,0-1.253-1.2-1.991-3.684-2.257-5.933-.705-6.733-3.051-6.733-5.252,0-3.461,3.344-5.036,6.657-5.062,3.307,0,5.636,1.184,6.736,3.425l.086.176-2.843,1.461-.1-.16a4.619,4.619,0,0,0-3.786-1.762c-2.009,0-3.257.773-3.257,2.018,0,1.227,1.416,1.647,3.543,1.9,3.583.442,6.9,1.416,6.9,5.514C972.8-171.253,969.079-169.8,965.594-169.8Z",
518
- transform: "translate(-427.577 -31.049)",
519
- fill: "#003a57"
520
- }), /*#__PURE__*/React__namespace.createElement("g", {
521
- id: "Group_1",
522
- "data-name": "Group 1",
523
- transform: "translate(356.09 -231.603)"
524
- }, /*#__PURE__*/React__namespace.createElement("path", {
525
- id: "Path_16",
526
- "data-name": "Path 16",
527
- d: "M441.7-157.552v1.74h-.013c-.149,2.52-1.542,3.954-3.874,3.954a3.812,3.812,0,0,1-4.112-3.954h-.012v-1.74h-3.525v1.74h0v.023h0c.2,4.391,3.148,7.2,7.624,7.2,4.434,0,7.245-2.745,7.434-7.2h0v-1.762Z",
528
- transform: "translate(-408.704 179.006)",
529
- fill: "#003a57"
530
- }), /*#__PURE__*/React__namespace.createElement("rect", {
531
- id: "Rectangle_55",
532
- "data-name": "Rectangle 55",
533
- width: 3.535,
534
- height: 3.535,
535
- transform: "translate(21.459 12.573)",
536
- fill: "#54c38a"
537
- }), /*#__PURE__*/React__namespace.createElement("rect", {
538
- id: "Rectangle_56",
539
- "data-name": "Rectangle 56",
540
- width: 3.585,
541
- height: 3.585,
542
- transform: "translate(32.908 12.573)",
543
- fill: "#003a57"
544
- }), /*#__PURE__*/React__namespace.createElement("rect", {
545
- id: "Rectangle_57",
546
- "data-name": "Rectangle 57",
547
- width: 3.535,
548
- height: 3.535,
549
- transform: "translate(15.427 3.989) rotate(90)",
550
- fill: "#b2c4cd"
551
- }), /*#__PURE__*/React__namespace.createElement("rect", {
552
- id: "Rectangle_58",
553
- "data-name": "Rectangle 58",
554
- width: 3.535,
555
- height: 3.535,
556
- transform: "translate(20.618 8.614) rotate(90)",
557
- fill: "#809cab"
558
- }), /*#__PURE__*/React__namespace.createElement("rect", {
559
- id: "Rectangle_59",
560
- "data-name": "Rectangle 59",
561
- width: 3.535,
562
- height: 3.535,
563
- transform: "translate(8.944 7.179) rotate(90)",
564
- fill: "#cceddc"
565
- }), /*#__PURE__*/React__namespace.createElement("rect", {
566
- id: "Rectangle_60",
567
- "data-name": "Rectangle 60",
568
- width: 3.535,
569
- height: 3.535,
570
- transform: "translate(3.535 0) rotate(90)",
571
- fill: "#ccd8dd"
572
- }), /*#__PURE__*/React__namespace.createElement("rect", {
573
- id: "Rectangle_61",
574
- "data-name": "Rectangle 61",
575
- width: 3.535,
576
- height: 3.535,
577
- transform: "translate(10.631 23.196) rotate(90)",
578
- fill: "#e5ebee"
579
- }), /*#__PURE__*/React__namespace.createElement("rect", {
580
- id: "Rectangle_62",
581
- "data-name": "Rectangle 62",
582
- width: 3.535,
583
- height: 3.535,
584
- transform: "translate(16.831 16.898) rotate(90)",
585
- fill: "#a9e1c5"
969
+ d: "m20.986 10.545h-2.381v2.381h2.381v-2.381z",
970
+ fill: "#fff"
971
+ }))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
972
+ id: "a"
973
+ }, /*#__PURE__*/React__namespace.createElement("rect", {
974
+ width: 32,
975
+ height: 32,
976
+ fill: "#fff"
586
977
  })))));
587
978
  };
588
979
 
589
980
  /**
590
- * Login Form
981
+ * Use Span to style and format inline text elements.
591
982
  * <hr>
592
983
  * Used for this:
593
- - Login user to the application
984
+ - To apply styles to short strings of text
985
+ - To include icons inline with text
986
+ * Not for this:
987
+ - To style an entire block of text, use Paragraph instead
988
+ */
989
+ var Span = function (props) { return jsxRuntime.jsx(reactTypography.Span, __assign({}, props)); };
990
+
991
+ var TokenContainer = styled__default["default"].div(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
992
+ /**
993
+ * The UNGUESS Sidebar component provides a high-level layout structure and sets a framework for navigating around projects.
994
+ * <br>
995
+ * Used for this:
996
+ - To give a consistent dashboard and navigation experience
997
+ */
998
+ var Sidebar = function (props) {
999
+ var _a = React.useState(props.currentRoute || "home"), nav = _a[0], setNav = _a[1];
1000
+ var toggleNav = function () {
1001
+ props.onToggleMenu && props.onToggleMenu();
1002
+ };
1003
+ return (jsxRuntime.jsxs(Nav, __assign({}, props, { children: [jsxRuntime.jsx(NavToggle, { onClick: toggleNav, isExpanded: props.isExpanded }), props.tokens && (jsxRuntime.jsx(NavItem, __assign({ hasLogo: true, isExpanded: props.isExpanded, style: { pointerEvents: "none", paddingTop: 0 } }, { children: jsxRuntime.jsx(Card, __assign({ style: { padding: theme.space.sm, width: "70%" } }, { children: jsxRuntime.jsxs(TokenContainer, { children: [jsxRuntime.jsx(SvgToken, { width: 32 }), jsxRuntime.jsx(Span, __assign({ isBold: true, style: { marginLeft: theme.space.xs } }, { children: "12 Tokens" }))] }) })) }))), jsxRuntime.jsxs(NavItem, __assign({ isExpanded: props.isExpanded, isCurrent: nav === "home", onClick: function () { return setNav("home"); } }, { children: [jsxRuntime.jsx(NavItemIcon, __assign({ isStyled: true }, { children: nav === "home" ? jsxRuntime.jsx(SvgHomeFillStyled, {}) : jsxRuntime.jsx(SvgHomeFill, {}) })), jsxRuntime.jsx(NavItemText, { children: props.homeItemLabel || "My Campaigns" })] })), jsxRuntime.jsx(NavDivider, __assign({ isExpanded: props.isExpanded }, { children: props.dividerLabel || "" })), props.projects &&
1004
+ props.projects.map(function (project) { return (jsxRuntime.jsxs(NavItemProject, __assign({ isExpanded: props.isExpanded, isCurrent: nav === project.id, onClick: function () { return setNav(project.id); } }, { children: [jsxRuntime.jsx(NavItemProject.Title, { title: project.title, children: project.title }), jsxRuntime.jsx(NavItemProject.SubTitle, { children: project.campaigns })] }))); }), jsxRuntime.jsxs(NavItem, __assign({ isExpanded: props.isExpanded, hasBrandmark: true, title: "Be smart from the start", style: { pointerEvents: "none" } }, { children: [jsxRuntime.jsx(NavItemIcon, { children: jsxRuntime.jsx(Logo, { type: "icon", size: 150 }) }), jsxRuntime.jsx(NavItemText, { children: "UNGUESS" })] }))] })));
1005
+ };
1006
+ var templateObject_1$5;
1007
+
1008
+ /**
1009
+ * The Chrome component provides a high-level layout structure and sets a framework for navigating around Zendesk products.
1010
+ * <br>
1011
+ * Used for this:
1012
+ - To give a consistent dashboard and navigation experience
594
1013
  */
595
- var LoginForm = function (props) { return (jsxRuntime.jsx(Grid, { children: jsxRuntime.jsx(Row, __assign({ justifyContent: "center", alignItems: "center" }, { children: jsxRuntime.jsxs(Col, __assign({ size: 4, xs: 12, sm: 12 }, { children: [jsxRuntime.jsx(SvgLogo, { style: { marginBottom: theme.space.md } }), jsxRuntime.jsx(formik.Formik, __assign({}, props, { initialValues: props.initialValues, onSubmit: props.onSubmit, validate: props.validate }, { children: function (_a) {
596
- var values = _a.values, errors = _a.errors, touched = _a.touched, handleChange = _a.handleChange, handleSubmit = _a.handleSubmit, isSubmitting = _a.isSubmitting;
597
- return (jsxRuntime.jsx(formik.Form, __assign({ onSubmit: handleSubmit }, { children: jsxRuntime.jsxs(Card, __assign({ isFloating: true }, { children: [jsxRuntime.jsx(Title, __assign({ style: { textAlign: "center", margin: theme.space.md } }, { children: "Log In" })), jsxRuntime.jsxs(Field, { children: [jsxRuntime.jsx(Input, __assign({ type: "email", name: "email", placeholder: "Email Address", onChange: handleChange, value: values.email }, touched && values.email ? touched.email = true : touched.email = false, errors && errors.email ? { validation: "error" } : (touched.email ? { validation: "success" } : ""))), (errors.email) ? (jsxRuntime.jsx(Message, __assign({ validation: "error" }, { children: errors.email }))) : ""] }), jsxRuntime.jsxs(Field, __assign({ style: { marginTop: theme.space.md } }, { children: [jsxRuntime.jsx(Input, __assign({ type: "password", name: "password", placeholder: "Password", onChange: handleChange, value: values.password }, touched && values.password ? touched.password = true : touched.password = false, errors && errors.password ? { validation: "error" } : (touched.password ? { validation: "success" } : ""))), (errors.password) ? (jsxRuntime.jsx(Message, __assign({ validation: "error" }, { children: errors.password }))) : ""] })), jsxRuntime.jsx("br", {}), jsxRuntime.jsx(Button, __assign({ type: "submit", isStretched: true, disabled: (Object.keys(errors).length) ? true : (isSubmitting) ? true : false, isPrimary: true }, { children: "Log in" }))] })) })));
598
- } }))] })) })) })); };
1014
+ var Chrome = function (props) { return jsxRuntime.jsx(reactChrome.Chrome, __assign({}, props)); };
599
1015
 
600
1016
  /**
601
1017
  * A Notification is a passive status update that keeps users informed of system progress.
@@ -608,6 +1024,18 @@ var Notification = function (props) { return (jsxRuntime.jsx(reactNotifications.
608
1024
  var ToastProvider = function (props) { return jsxRuntime.jsx(reactNotifications.ToastProvider, __assign({}, props)); };
609
1025
  var useToast = reactNotifications.useToast;
610
1026
 
1027
+ var UgPagination = styled__default["default"](reactPagination.Pagination)(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject([""], [""])));
1028
+ /**
1029
+ * Pagination separates content into pages and allows users to navigate between those pages.
1030
+
1031
+ * Used for this:
1032
+ - To divide large amounts of data into manageable chunks
1033
+
1034
+ */
1035
+ var Pagination = function (props) { return jsxRuntime.jsx(UgPagination, __assign({}, props)); };
1036
+ var CursorPagination = reactPagination.CursorPagination;
1037
+ var templateObject_1$4;
1038
+
611
1039
  var UgTable = styled__default["default"](reactTables.Table)(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject([""], [""])));
612
1040
  /**
613
1041
  * A Table organizes data into columns and rows. Tables make it easier for users to compare and analyze information.
@@ -629,6 +1057,39 @@ var GroupRow = function (props) { return jsxRuntime.jsx(reactTables.GroupRow, __
629
1057
  var Caption = function (props) { return jsxRuntime.jsx(reactTables.Caption, __assign({}, props)); };
630
1058
  var templateObject_1$3;
631
1059
 
1060
+ /**
1061
+ * Tags let users categorize content using a keyword.
1062
+
1063
+ * Used for this:
1064
+ - To add metadata to an element such as category, attribute, or property
1065
+ - To communicate status
1066
+ - To represent parameters of a filter
1067
+
1068
+ * Not for this:
1069
+ - To prompt an action by the user, use a Button instead
1070
+ */
1071
+ var Tag = function (props) { return jsxRuntime.jsx(reactTags.Tag, __assign({}, props)); };
1072
+ Tag.Avatar = reactTags.Tag.Avatar;
1073
+ Tag.Close = reactTags.Tag.Close;
1074
+
1075
+ /**
1076
+ * Tiles are Radio buttons styled with icons or images.
1077
+
1078
+ * Used for this:
1079
+ - Like Radios, Tiles are for choices that can't occur at the same time
1080
+
1081
+ * Not for this:
1082
+ - To choose more than one option at once, use a Checkbox instead
1083
+ - To select from a long list of options, use a Select
1084
+ - To define an action, use a Button instead
1085
+ - For navigation, use an Anchor instead
1086
+ */
1087
+ var Tiles = function (props) { return jsxRuntime.jsx(reactForms.Tiles, __assign({}, props)); };
1088
+ Tiles.Description = reactForms.Tiles.Description;
1089
+ Tiles.Icon = reactForms.Tiles.Icon;
1090
+ Tiles.Label = reactForms.Tiles.Label;
1091
+ Tiles.Tile = reactForms.Tiles.Tile;
1092
+
632
1093
  /**
633
1094
  * A Trigger is a wrapper for input elements
634
1095
  **/
@@ -646,11 +1107,6 @@ var UgCode = styled__default["default"](reactTypography.Code)(templateObject_1$2
646
1107
  var Code = function (props) { return jsxRuntime.jsx(UgCode, __assign({}, props)); };
647
1108
  var templateObject_1$2;
648
1109
 
649
- /**
650
- * Use Ellipsis to automatically provide text content with a native title attribute and text-overflow styling.
651
- */
652
- var Ellipsis = function (props) { return jsxRuntime.jsx(reactTypography.Ellipsis, __assign({}, props)); };
653
-
654
1110
  var UgOrderedList = styled__default["default"](reactTypography.OrderedList)(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject([""], [""])));
655
1111
  var UgUnorderedList = styled__default["default"](reactTypography.UnorderedList)(templateObject_2 || (templateObject_2 = __makeTemplateObject([""], [""])));
656
1112
  /**
@@ -671,17 +1127,6 @@ var UgParagraph = styled__default["default"](reactTypography.Paragraph)(template
671
1127
  var Paragraph = function (props) { return jsxRuntime.jsx(UgParagraph, __assign({}, props)); };
672
1128
  var templateObject_1;
673
1129
 
674
- /**
675
- * Use Span to style and format inline text elements.
676
- * <hr>
677
- * Used for this:
678
- - To apply styles to short strings of text
679
- - To include icons inline with text
680
- * Not for this:
681
- - To style an entire block of text, use Paragraph instead
682
- */
683
- var Span = function (props) { return jsxRuntime.jsx(reactTypography.Span, __assign({}, props)); };
684
-
685
1130
  /**
686
1131
  * Type components come in small, medium, large, extra-large, extra-extra-large, and extra-extra-extra-large.
687
1132
  */
@@ -694,43 +1139,69 @@ var XXXL = function (props) { return jsxRuntime.jsx(reactTypography.XXXL, __assi
694
1139
 
695
1140
  exports.Accordion = Accordion;
696
1141
  exports.Anchor = Anchor;
1142
+ exports.AppHeader = AppHeader;
697
1143
  exports.Avatar = Avatar;
698
1144
  exports.Blockquote = Blockquote;
1145
+ exports.Body = Body$1;
1146
+ exports.BrandItem = BrandItem;
699
1147
  exports.Breadcrumb = Breadcrumb;
700
1148
  exports.Button = Button;
701
1149
  exports.ButtonGroup = ButtonGroup;
702
1150
  exports.Caption = Caption;
703
1151
  exports.Card = Card;
704
1152
  exports.Checkbox = Checkbox;
1153
+ exports.Chrome = Chrome;
705
1154
  exports.Close = Close;
706
1155
  exports.Code = Code;
707
1156
  exports.Col = Col;
1157
+ exports.Content = Content;
1158
+ exports.CursorPagination = CursorPagination;
708
1159
  exports.Dropdown = Dropdown;
709
1160
  exports.DropdownField = index$1;
710
1161
  exports.Ellipsis = Ellipsis;
1162
+ exports.FooterItem = FooterItem;
711
1163
  exports.FormField = index;
712
1164
  exports.GlobalStyle = GlobalStyle;
713
1165
  exports.Grid = Grid;
714
1166
  exports.GroupRow = GroupRow;
1167
+ exports.Header = Header;
715
1168
  exports.HeaderCell = HeaderCell;
1169
+ exports.HeaderItem = HeaderItem;
1170
+ exports.HeaderItemIcon = HeaderItemIcon;
1171
+ exports.HeaderItemText = HeaderItemText;
716
1172
  exports.HeaderRow = HeaderRow;
1173
+ exports.Icon = Icon;
717
1174
  exports.IconButton = IconButton;
718
1175
  exports.Input = Input;
719
1176
  exports.Item = Item;
720
1177
  exports.LG = LG;
721
1178
  exports.Label = Label;
722
1179
  exports.LoginForm = LoginForm;
1180
+ exports.Logo = Logo;
723
1181
  exports.MD = MD;
1182
+ exports.Main = Main;
724
1183
  exports.Menu = Menu;
725
1184
  exports.Message = Message;
1185
+ exports.Modal = Modal;
726
1186
  exports.Multiselect = Multiselect;
1187
+ exports.Nav = Nav;
1188
+ exports.NavDivider = NavDivider;
1189
+ exports.NavItem = NavItem;
1190
+ exports.NavItemIcon = NavItemIcon;
1191
+ exports.NavItemProject = NavItemProject;
1192
+ exports.NavItemText = NavItemText;
1193
+ exports.NavToggle = NavToggle;
727
1194
  exports.Notification = Notification;
728
1195
  exports.OrderedList = OrderedList;
1196
+ exports.Pagination = Pagination;
729
1197
  exports.Paragraph = Paragraph;
1198
+ exports.Progress = Progress;
730
1199
  exports.Radio = Radio;
731
1200
  exports.Row = Row;
732
1201
  exports.SM = SM;
733
1202
  exports.Select = Select;
1203
+ exports.Sidebar = Sidebar;
1204
+ exports.Skeleton = Skeleton;
734
1205
  exports.Span = Span;
735
1206
  exports.Spinner = Spinner;
736
1207
  exports.SplitButton = SplitButton;
@@ -738,7 +1209,9 @@ exports.Table = Table;
738
1209
  exports.TableCell = Cell;
739
1210
  exports.TableHead = Head;
740
1211
  exports.TableRow = Body;
1212
+ exports.Tag = Tag;
741
1213
  exports.Textarea = Textarea;
1214
+ exports.Tiles = Tiles;
742
1215
  exports.Title = Title;
743
1216
  exports.ToastProvider = ToastProvider;
744
1217
  exports.Toggle = Toggle;