@mw-kit/mw-ui 1.7.23 → 1.7.25

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.
@@ -420,6 +420,14 @@ var getSpacings = function getSpacings(value, defaults) {
420
420
  };
421
421
  return values.top + " " + values.right + " " + values.bottom + " " + values.left;
422
422
  };
423
+ var getBorder = function getBorder(config) {
424
+ return 'color' in config ? {
425
+ top: config,
426
+ left: config,
427
+ bottom: config,
428
+ right: config
429
+ } : config;
430
+ };
423
431
 
424
432
  var Transition = function Transition(props) {
425
433
  var active = props.active,
@@ -12619,8 +12627,8 @@ var ScrollContainer = function ScrollContainer(props) {
12619
12627
  })), after);
12620
12628
  };
12621
12629
 
12622
- var _templateObject$8, _templateObject2$7, _templateObject3$7, _templateObject4$6, _templateObject5$5, _templateObject6$3, _templateObject7$3, _templateObject8$3, _templateObject9$3;
12623
- var Option = styled.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: ", ";\n color: ", ";\n display: flex;\n\n > :nth-child(1) {\n flex: 1;\n }\n\n ", ";\n\n :hover {\n background-color: ", ";\n }\n"])), function (_ref) {
12630
+ var _templateObject$8, _templateObject2$7, _templateObject3$7, _templateObject4$6, _templateObject5$5, _templateObject6$3, _templateObject7$3, _templateObject8$3, _templateObject9$3, _templateObject10$2;
12631
+ var Option = styled.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: ", ";\n color: ", ";\n display: flex;\n\n > :nth-child(1) {\n flex: 1;\n }\n\n ", ";\n\n ", ";\n\n :hover {\n background-color: ", ";\n }\n"])), function (_ref) {
12624
12632
  var theme = _ref.theme;
12625
12633
  return theme.useTypography('p');
12626
12634
  }, function (_ref2) {
@@ -12638,11 +12646,25 @@ var Option = styled.div(_templateObject$8 || (_templateObject$8 = _taggedTemplat
12638
12646
 
12639
12647
  return css(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n opacity: 0.3;\n "])));
12640
12648
  }, function (_ref5) {
12641
- var theme = _ref5.theme;
12649
+ var border = _ref5.border,
12650
+ theme = _ref5.theme;
12651
+ if (!border) return;
12652
+ var config = getBorder(border);
12653
+ return keys(config).filter(function (k) {
12654
+ return config[k] !== undefined;
12655
+ }).map(function (pos) {
12656
+ var cfg = config[pos];
12657
+ var width = cfg.width || '1px';
12658
+ var style = cfg.style || 'solid';
12659
+ var color = isKeyOf(theme.colors, cfg.color) ? theme.colors[cfg.color] : cfg.color;
12660
+ return css(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteralLoose(["\n border-", "-width: ", ";\n border-", "-style: ", ";\n border-", "-color: ", ";\n "])), pos, width, pos, style, pos, color);
12661
+ });
12662
+ }, function (_ref6) {
12663
+ var theme = _ref6.theme;
12642
12664
  return theme.colors.iceWhite;
12643
12665
  });
12644
- var Container$2 = styled(AbsoluteContainer)(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteralLoose(["\n display: flex;\n\n > div {\n display: flex;\n width: 100%;\n\n > div:nth-child(1) {\n background-color: ", ";\n border-radius: 4px;\n\n ", "\n }\n\n ", "\n\n ", "\n }\n"])), function (_ref6) {
12645
- var theme = _ref6.theme;
12666
+ var Container$2 = styled(AbsoluteContainer)(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteralLoose(["\n display: flex;\n\n > div {\n display: flex;\n width: 100%;\n\n > div:nth-child(1) {\n background-color: ", ";\n border-radius: 4px;\n\n ", "\n }\n\n ", "\n\n ", "\n }\n"])), function (_ref7) {
12667
+ var theme = _ref7.theme;
12646
12668
  return theme.colors.white;
12647
12669
  }, function (props) {
12648
12670
  if (!props.containerSpacing) return;
@@ -12650,31 +12672,31 @@ var Container$2 = styled(AbsoluteContainer)(_templateObject4$6 || (_templateObje
12650
12672
  var tmp = spacing.split(' ');
12651
12673
  tmp[1] = "calc(" + props.theme.spacings.s1 + " / 2)";
12652
12674
  spacing = tmp.join(' ');
12653
- return css(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), spacing);
12654
- }, function (_ref7) {
12655
- var bordered = _ref7.bordered;
12675
+ return css(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n "])), spacing);
12676
+ }, function (_ref8) {
12677
+ var bordered = _ref8.bordered;
12656
12678
  if (!bordered) return;
12657
- return css(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteralLoose(["\n ", " {\n :not(:last-child) {\n border-bottom: 1px solid\n ", ";\n }\n }\n "])), Option, function (_ref8) {
12658
- var theme = _ref8.theme;
12679
+ return css(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteralLoose(["\n ", " {\n :not(:last-child) {\n border-bottom: 1px solid\n ", ";\n }\n }\n "])), Option, function (_ref9) {
12680
+ var theme = _ref9.theme;
12659
12681
  return theme.getColor('greyishBlue', 10);
12660
12682
  });
12661
12683
  }, function (props) {
12662
12684
  var theme = props.theme;
12663
12685
 
12664
12686
  if (!props.itemSpacing) {
12665
- return css(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteralLoose(["\n ", " {\n margin: ", " 0px ", "\n ", ";\n }\n "])), Delimiter, theme.spacings.s1, theme.spacings.s1, theme.spacings.s1);
12687
+ return css(_templateObject8$3 || (_templateObject8$3 = _taggedTemplateLiteralLoose(["\n ", " {\n margin: ", " 0px ", "\n ", ";\n }\n "])), Delimiter, theme.spacings.s1, theme.spacings.s1, theme.spacings.s1);
12666
12688
  }
12667
12689
 
12668
12690
  var spacing = getSpacings(props.itemSpacing, {
12669
12691
  right: '0'
12670
12692
  });
12671
- return css(_templateObject8$3 || (_templateObject8$3 = _taggedTemplateLiteralLoose(["\n ", " {\n padding: ", ";\n }\n ", " {\n margin: ", ";\n }\n "])), Option, spacing, Delimiter, spacing);
12693
+ return css(_templateObject9$3 || (_templateObject9$3 = _taggedTemplateLiteralLoose(["\n ", " {\n padding: ", ";\n }\n ", " {\n margin: ", ";\n }\n "])), Option, spacing, Delimiter, spacing);
12672
12694
  });
12673
- var Delimiter = styled.div(_templateObject9$3 || (_templateObject9$3 = _taggedTemplateLiteralLoose(["\n ", ";\n\n border-bottom: 1px solid ", ";\n margin: 14px;\n width: calc(100% - 28px);\n"])), function (_ref9) {
12674
- var theme = _ref9.theme;
12675
- return theme.useTypography('p');
12676
- }, function (_ref10) {
12695
+ var Delimiter = styled.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n ", ";\n\n border-bottom: 1px solid ", ";\n margin: 14px;\n width: calc(100% - 28px);\n"])), function (_ref10) {
12677
12696
  var theme = _ref10.theme;
12697
+ return theme.useTypography('p');
12698
+ }, function (_ref11) {
12699
+ var theme = _ref11.theme;
12678
12700
  return theme.colors.greyishBlue;
12679
12701
  });
12680
12702
 
@@ -12761,7 +12783,8 @@ var MenuComponent = function MenuComponent(props, ref) {
12761
12783
  key: index
12762
12784
  }, React__default.createElement(OptionContent, null, React__default.createElement(Option, {
12763
12785
  onClick: onClick,
12764
- disabled: disabled
12786
+ disabled: disabled,
12787
+ border: option.border
12765
12788
  }, isString(label.element) ? React__default.createElement(EllipsisContainer$1, null, label.element) : label.element, caret ? React__default.createElement(Icon, {
12766
12789
  type: 'semantic',
12767
12790
  icon: 'caret right',
@@ -12925,7 +12948,7 @@ var Indicator = function Indicator(props) {
12925
12948
  }, props)));
12926
12949
  };
12927
12950
 
12928
- var _templateObject$b, _templateObject2$a, _templateObject3$9, _templateObject4$8, _templateObject5$7, _templateObject6$5, _templateObject7$5, _templateObject8$5, _templateObject9$5, _templateObject10$2, _templateObject11$2;
12951
+ var _templateObject$b, _templateObject2$a, _templateObject3$9, _templateObject4$8, _templateObject5$7, _templateObject6$5, _templateObject7$5, _templateObject8$5, _templateObject9$5, _templateObject10$3, _templateObject11$2;
12929
12952
  var Footer = styled.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n > button:last-child {\n margin-left: auto;\n }\n"])));
12930
12953
  var WeekContainer = styled.div(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n\n :not(:first-child) {\n border-top: 1px solid ", ";\n }\n\n > * {\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n width: 32px;\n height: 32px;\n\n color: ", ";\n box-shadow: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n border: 1px solid transparent;\n :not(:last-child) {\n border-right-color: ", ";\n }\n }\n"])), function (_ref) {
12931
12954
  var theme = _ref.theme;
@@ -12982,7 +13005,7 @@ var DayContainer = styled.button(_templateObject4$8 || (_templateObject4$8 = _ta
12982
13005
  return;
12983
13006
  }
12984
13007
 
12985
- return css(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n :after {\n content: '';\n position: absolute;\n top: -60%;\n right: -60%;\n width: 100%;\n height: 100%;\n background-color: ", ";\n transform: rotate(45deg);\n }\n "])), theme.colors[appearance === 'active' ? 'white' : 'blue']);
13008
+ return css(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteralLoose(["\n :after {\n content: '';\n position: absolute;\n top: -60%;\n right: -60%;\n width: 100%;\n height: 100%;\n background-color: ", ";\n transform: rotate(45deg);\n }\n "])), theme.colors[appearance === 'active' ? 'white' : 'blue']);
12986
13009
  });
12987
13010
  var DayIndicator = styled(Indicator).attrs({
12988
13011
  size: 'mini'
@@ -13557,7 +13580,7 @@ var getTimeProps = function getTimeProps(time, value) {
13557
13580
  });
13558
13581
  };
13559
13582
 
13560
- var _templateObject$e, _templateObject2$b, _templateObject3$a, _templateObject4$9, _templateObject5$8, _templateObject6$6, _templateObject7$6, _templateObject8$6, _templateObject9$6, _templateObject10$3, _templateObject11$3, _templateObject12$2;
13583
+ var _templateObject$e, _templateObject2$b, _templateObject3$a, _templateObject4$9, _templateObject5$8, _templateObject6$6, _templateObject7$6, _templateObject8$6, _templateObject9$6, _templateObject10$4, _templateObject11$3, _templateObject12$2;
13561
13584
  var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n padding: 0\n ", ";\n font-family: 'Lato', sans-serif;\n font-weight: ", ";\n border-radius: 4px;\n position: relative;\n user-select: none;\n\n ", ";\n\n ", ";\n\n color: ", ";\n\n :disabled {\n ", "\n }\n\n :hover {\n cursor: ", ";\n\n ", "\n }\n\n :active {\n ", ";\n }\n\n ", "\n"])), function (_ref) {
13562
13585
  var theme = _ref.theme,
13563
13586
  appearance = _ref.appearance;
@@ -13629,7 +13652,7 @@ var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemp
13629
13652
  }
13630
13653
 
13631
13654
  if (['link', 'bordeless'].includes(appearance)) {
13632
- return css(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor('blue', 50));
13655
+ return css(_templateObject10$4 || (_templateObject10$4 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor('blue', 50));
13633
13656
  }
13634
13657
 
13635
13658
  return css(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor(color || 'blue'));
@@ -14272,13 +14295,13 @@ var Header$1 = function Header() {
14272
14295
 
14273
14296
  var getOptions = function getOptions(props, options) {
14274
14297
  return options.map(function (option) {
14298
+ var value = option.value,
14299
+ onClick = option.onClick,
14300
+ data = option.data;
14275
14301
  var label = isString(option.label) ? {
14276
14302
  text: option.label,
14277
14303
  element: option.label
14278
14304
  } : option.label;
14279
- var value = option.value,
14280
- onClick = option.onClick,
14281
- data = option.data;
14282
14305
  return {
14283
14306
  label: label,
14284
14307
  onClick: onClick ? function (index, _option, event) {
@@ -14288,11 +14311,16 @@ var getOptions = function getOptions(props, options) {
14288
14311
  data: data
14289
14312
  }, event);
14290
14313
  } : function () {
14291
- props.setValue(value, option);
14314
+ props.setValue(value === props.value ? '' : value, option);
14292
14315
  },
14293
14316
  data: data,
14294
14317
  disabled: option.disabled,
14295
- rules: option.rules
14318
+ rules: option.rules,
14319
+ border: {
14320
+ left: {
14321
+ color: value === props.value ? 'blue' : 'transparent'
14322
+ }
14323
+ }
14296
14324
  };
14297
14325
  });
14298
14326
  };
@@ -14302,7 +14330,7 @@ var getInputValue = function getInputValue(value, options, parsedOptions) {
14302
14330
  return option.value === value;
14303
14331
  });
14304
14332
  var selected = parsedOptions[selectedIndex];
14305
- return selected ? selected.label.text : '';
14333
+ return selected ? selected.label.text : value;
14306
14334
  };
14307
14335
 
14308
14336
  var useSelect = function useSelect(props) {
@@ -15415,7 +15443,7 @@ var Switch = function Switch(props) {
15415
15443
  })), React__default.createElement("span", null), label.after && React__default.createElement(LabelContainer$3, null, label.after));
15416
15444
  };
15417
15445
 
15418
- var _templateObject$q, _templateObject2$l, _templateObject3$g, _templateObject4$d, _templateObject5$b, _templateObject6$9, _templateObject7$9, _templateObject8$8, _templateObject9$8, _templateObject10$4, _templateObject11$4, _templateObject12$3, _templateObject13$2, _templateObject14$2, _templateObject15$1, _templateObject16;
15446
+ var _templateObject$q, _templateObject2$l, _templateObject3$g, _templateObject4$d, _templateObject5$b, _templateObject6$9, _templateObject7$9, _templateObject8$8, _templateObject9$8, _templateObject10$5, _templateObject11$4, _templateObject12$3, _templateObject13$2, _templateObject14$2, _templateObject15$1, _templateObject16;
15419
15447
  var bullet = css(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: ", ";\n height: ", ";\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n box-shadow: 0px 1px 3px ", ";\n"])), function (_ref) {
15420
15448
  var theme = _ref.theme;
15421
15449
  return theme.spacings.s4;
@@ -15459,7 +15487,7 @@ var InputContainer = styled.div(_templateObject6$9 || (_templateObject6$9 = _tag
15459
15487
  return css(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteralLoose(["\n ", " > span {\n background-color: ", ";\n }\n\n ", " {\n /** firefox */\n ::-moz-range-thumb {\n border-color: ", ";\n }\n /** ie */\n ::-ms-thumb {\n border-color: ", ";\n }\n /** chrome */\n ::-webkit-slider-thumb {\n border-color: ", ";\n }\n }\n "])), SelectedArea, theme.colors.warningRed, Input$2, theme.colors.warningRed, theme.colors.warningRed, theme.colors.warningRed);
15460
15488
  });
15461
15489
  var MinMaxLabelContainer = styled.div(_templateObject9$8 || (_templateObject9$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n padding-bottom: 2px;\n"])));
15462
- var LabelsContainer = styled.div(_templateObject10$4 || (_templateObject10$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 7px;\n\n ", "\n"])), function (_ref11) {
15490
+ var LabelsContainer = styled.div(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 7px;\n\n ", "\n"])), function (_ref11) {
15463
15491
  var position = _ref11.position;
15464
15492
 
15465
15493
  if (position === 'bottom') {
@@ -15877,7 +15905,7 @@ var parse = function parse(value) {
15877
15905
  });
15878
15906
  };
15879
15907
 
15880
- var _templateObject$s, _templateObject2$n, _templateObject3$i, _templateObject4$f, _templateObject5$d, _templateObject6$b, _templateObject7$b, _templateObject8$9, _templateObject9$9, _templateObject10$5, _templateObject11$5;
15908
+ var _templateObject$s, _templateObject2$n, _templateObject3$i, _templateObject4$f, _templateObject5$d, _templateObject6$b, _templateObject7$b, _templateObject8$9, _templateObject9$9, _templateObject10$6, _templateObject11$5;
15881
15909
  var RelativeContainer$5 = styled.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n position: relative;\n user-select: none;\n min-width: 220px;\n\n > input,\n > label > input {\n color: transparent;\n background-color: transparent;\n width: 1px;\n height: 1px;\n position: absolute;\n left: 0;\n bottom: 0;\n border: 0;\n padding: 0;\n overflow: hidden;\n outline: none;\n box-shadow: none;\n }\n"])));
15882
15910
  var LabelContainer$5 = styled.div(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n flex: 1;\n text-align: center;\n\n ", ";\n"])), function (_ref) {
15883
15911
  var theme = _ref.theme;
@@ -15920,7 +15948,7 @@ var Button$4 = styled.button(_templateObject8$9 || (_templateObject8$9 = _tagged
15920
15948
  if (!onClick) return;
15921
15949
  return css(_templateObject9$9 || (_templateObject9$9 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
15922
15950
  });
15923
- var LabelText$1 = styled.label(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref10) {
15951
+ var LabelText$1 = styled.label(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref10) {
15924
15952
  var theme = _ref10.theme;
15925
15953
  return theme.spacings.s1;
15926
15954
  }, function (_ref11) {
@@ -16950,7 +16978,7 @@ var AppliedFilters = Object.assign(function (props) {
16950
16978
  Menu: AppliedFiltersMenu
16951
16979
  });
16952
16980
 
16953
- var _templateObject$A, _templateObject2$s, _templateObject3$m, _templateObject4$h, _templateObject5$e, _templateObject6$c, _templateObject7$c, _templateObject8$a, _templateObject9$a, _templateObject10$6;
16981
+ var _templateObject$A, _templateObject2$s, _templateObject3$m, _templateObject4$h, _templateObject5$e, _templateObject6$c, _templateObject7$c, _templateObject8$a, _templateObject9$a, _templateObject10$7;
16954
16982
  var Container$9 = styled.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n width: 100%;\n background: #fff;\n border: 1px solid #d4d4d5;\n border-radius: 4px;\n border-left-width: 5px;\n padding: 14px;\n ", "\n ", "\n ", "\n ", "\n\n ", "\n ", "\n ", "\n\n ", "\n ", "\n"])), function (props) {
16955
16983
  return props.size === 'mini' && css(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n width: 394px;\n height: 99px;\n "])));
16956
16984
  }, function (props) {
@@ -16968,7 +16996,7 @@ var Container$9 = styled.div(_templateObject$A || (_templateObject$A = _taggedTe
16968
16996
  }, function (props) {
16969
16997
  return props.borderType === 'danger' && css(_templateObject9$a || (_templateObject9$a = _taggedTemplateLiteralLoose(["\n border-left-color: #e23851;\n "])));
16970
16998
  }, function (props) {
16971
- return props.borderType === 'none' && css(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n border: 1px solid #d4d4d5;\n "])));
16999
+ return props.borderType === 'none' && css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n border: 1px solid #d4d4d5;\n "])));
16972
17000
  });
16973
17001
 
16974
17002
  var _excluded$1 = ["children"];
@@ -17384,7 +17412,7 @@ var useContext$2 = function useContext() {
17384
17412
  return React__default.useContext(Provider$2);
17385
17413
  };
17386
17414
 
17387
- var _templateObject$D, _templateObject2$t, _templateObject3$n, _templateObject4$i, _templateObject5$f, _templateObject6$d, _templateObject7$d, _templateObject8$b, _templateObject9$b, _templateObject10$7, _templateObject11$6, _templateObject12$4, _templateObject13$3, _templateObject14$3, _templateObject15$2;
17415
+ var _templateObject$D, _templateObject2$t, _templateObject3$n, _templateObject4$i, _templateObject5$f, _templateObject6$d, _templateObject7$d, _templateObject8$b, _templateObject9$b, _templateObject10$8, _templateObject11$6, _templateObject12$4, _templateObject13$3, _templateObject14$3, _templateObject15$2;
17388
17416
  var aligns = {
17389
17417
  self: {
17390
17418
  horizontal: {
@@ -17467,7 +17495,7 @@ var Col = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLi
17467
17495
 
17468
17496
  if (align.text !== undefined) {
17469
17497
  var _v4 = align.text;
17470
- styles.push(css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n text-align: ", ";\n "])), _v4));
17498
+ styles.push(css(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose(["\n text-align: ", ";\n "])), _v4));
17471
17499
  }
17472
17500
 
17473
17501
  return styles;
@@ -17543,7 +17571,7 @@ var Grid$1 = function Grid$1(props) {
17543
17571
  }, React__default.createElement(Grid, Object.assign({}, gridProps)));
17544
17572
  };
17545
17573
 
17546
- var _templateObject$F, _templateObject2$v, _templateObject3$p, _templateObject4$j, _templateObject5$g, _templateObject6$e, _templateObject7$e, _templateObject8$c, _templateObject9$c, _templateObject10$8;
17574
+ var _templateObject$F, _templateObject2$v, _templateObject3$p, _templateObject4$j, _templateObject5$g, _templateObject6$e, _templateObject7$e, _templateObject8$c, _templateObject9$c, _templateObject10$9;
17547
17575
  var horizontalAligns = {
17548
17576
  around: 'space-around',
17549
17577
  between: 'space-between',
@@ -17618,7 +17646,7 @@ var Row = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLi
17618
17646
  if (!hover) return;
17619
17647
  var h = hover === true ? ['lightGrey', 50] : hover;
17620
17648
  var c = Array.isArray(h) ? theme.getColor.apply(theme, h) : theme.colors[h];
17621
- return css(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
17649
+ return css(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
17622
17650
  });
17623
17651
 
17624
17652
  var Row$1 = function Row$1(props) {
@@ -17671,7 +17699,7 @@ var widths = {
17671
17699
  default: '642.5px'
17672
17700
  };
17673
17701
 
17674
- var _templateObject$G, _templateObject2$w, _templateObject3$q, _templateObject4$k, _templateObject5$h, _templateObject6$f, _templateObject7$f, _templateObject8$d, _templateObject9$d, _templateObject10$9;
17702
+ var _templateObject$G, _templateObject2$w, _templateObject3$q, _templateObject4$k, _templateObject5$h, _templateObject6$f, _templateObject7$f, _templateObject8$d, _templateObject9$d, _templateObject10$a;
17675
17703
  var Background = styled.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n backdrop-filter: blur(3px);\n background-color: ", ";\n"])), function (_ref) {
17676
17704
  var theme = _ref.theme;
17677
17705
  return theme.getColor('black', 25);
@@ -17704,7 +17732,7 @@ var Container$b = styled.div(_templateObject9$d || (_templateObject9$d = _tagged
17704
17732
  customSize = _ref6.customSize,
17705
17733
  color = _ref6.color,
17706
17734
  inverted = _ref6.inverted;
17707
- return css(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n box-shadow: 0 0 21px 7px ", ";\n\n width: ", ";\n\n height: ", ";\n\n ", " {\n background-color: ", ";\n color: ", ";\n }\n "])), theme.colors.white, theme.getColor('black', 15), size === 'custom' && customSize ? customSize.width || 'auto' : widths[size], size === 'custom' && customSize ? customSize.height || 'auto' : heights[size], Header$5, inverted ? theme.isDarkColor(color) : theme.colors[color], inverted ? theme.colors[color] : theme.isDarkColor(color));
17735
+ return css(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n box-shadow: 0 0 21px 7px ", ";\n\n width: ", ";\n\n height: ", ";\n\n ", " {\n background-color: ", ";\n color: ", ";\n }\n "])), theme.colors.white, theme.getColor('black', 15), size === 'custom' && customSize ? customSize.width || 'auto' : widths[size], size === 'custom' && customSize ? customSize.height || 'auto' : heights[size], Header$5, inverted ? theme.isDarkColor(color) : theme.colors[color], inverted ? theme.colors[color] : theme.isDarkColor(color));
17708
17736
  });
17709
17737
 
17710
17738
  var _excluded$2 = ["children"];
@@ -17901,7 +17929,7 @@ var Modal$1 = Object.assign(Modal, {
17901
17929
  Audit: Audit
17902
17930
  });
17903
17931
 
17904
- var _templateObject$K, _templateObject2$x, _templateObject3$r, _templateObject4$l, _templateObject5$i, _templateObject6$g, _templateObject7$g, _templateObject8$e, _templateObject9$e, _templateObject10$a, _templateObject11$7;
17932
+ var _templateObject$K, _templateObject2$x, _templateObject3$r, _templateObject4$l, _templateObject5$i, _templateObject6$g, _templateObject7$g, _templateObject8$e, _templateObject9$e, _templateObject10$b, _templateObject11$7;
17905
17933
  var Container$c = styled.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
17906
17934
  var Header$6 = styled.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
17907
17935
  var HeaderImage = styled.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
@@ -17916,7 +17944,7 @@ var HeaderLine = styled.div(_templateObject6$g || (_templateObject6$g = _taggedT
17916
17944
  }, function (props) {
17917
17945
  return props.size === 'medium' && css(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n width: 45%;\n "])));
17918
17946
  }, function (props) {
17919
- return props.size === 'large' && css(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
17947
+ return props.size === 'large' && css(_templateObject10$b || (_templateObject10$b = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
17920
17948
  });
17921
17949
  var MainLine = styled(HeaderLine)(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
17922
17950
 
@@ -18187,7 +18215,7 @@ var Template6 = function Template6(props) {
18187
18215
  })));
18188
18216
  };
18189
18217
 
18190
- var _templateObject$R, _templateObject2$E, _templateObject3$y, _templateObject4$r, _templateObject5$o, _templateObject6$l, _templateObject7$l, _templateObject8$j, _templateObject9$h, _templateObject10$b;
18218
+ var _templateObject$R, _templateObject2$E, _templateObject3$y, _templateObject4$r, _templateObject5$o, _templateObject6$l, _templateObject7$l, _templateObject8$j, _templateObject9$h, _templateObject10$c;
18191
18219
  var Container$i = styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 110px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
18192
18220
  var Header$9 = styled.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
18193
18221
  var HeaderLine$6 = styled.div(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 14px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
@@ -18209,7 +18237,7 @@ var CustomLine$3 = styled(HeaderLine$6)(_templateObject8$j || (_templateObject8$
18209
18237
  return props.color;
18210
18238
  });
18211
18239
  var Main$2 = styled.div(_templateObject9$h || (_templateObject9$h = _taggedTemplateLiteralLoose(["\n margin: 10px 0;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-evenly;\n"])));
18212
- var Circle$1 = styled.div(_templateObject10$b || (_templateObject10$b = _taggedTemplateLiteralLoose(["\n width: 30px;\n height: 30px;\n background-color: #ebebeb;\n border-radius: 50%;\n margin: 0 16px;\n"])));
18240
+ var Circle$1 = styled.div(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n width: 30px;\n height: 30px;\n background-color: #ebebeb;\n border-radius: 50%;\n margin: 0 16px;\n"])));
18213
18241
 
18214
18242
  var Template7 = function Template7(props) {
18215
18243
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
@@ -18264,7 +18292,7 @@ var Template8 = function Template8(props) {
18264
18292
  })));
18265
18293
  };
18266
18294
 
18267
- var _templateObject$T, _templateObject2$G, _templateObject3$A, _templateObject4$t, _templateObject5$q, _templateObject6$n, _templateObject7$n, _templateObject8$l, _templateObject9$j, _templateObject10$c;
18295
+ var _templateObject$T, _templateObject2$G, _templateObject3$A, _templateObject4$t, _templateObject5$q, _templateObject6$n, _templateObject7$n, _templateObject8$l, _templateObject9$j, _templateObject10$d;
18268
18296
  var Container$k = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
18269
18297
  var Header$b = styled.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
18270
18298
  var HeaderLine$8 = styled.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 7px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
@@ -18286,7 +18314,7 @@ var CustomLine$5 = styled(HeaderLine$8)(_templateObject8$l || (_templateObject8$
18286
18314
  return props.color;
18287
18315
  });
18288
18316
  var Main$4 = styled.div(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n padding: 14px;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
18289
- var Circle$2 = styled.div(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
18317
+ var Circle$2 = styled.div(_templateObject10$d || (_templateObject10$d = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
18290
18318
 
18291
18319
  var Template8$1 = function Template8(props) {
18292
18320
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
@@ -18303,7 +18331,7 @@ var Template8$1 = function Template8(props) {
18303
18331
  })), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
18304
18332
  };
18305
18333
 
18306
- var _templateObject$U, _templateObject2$H, _templateObject3$B, _templateObject4$u, _templateObject5$r, _templateObject6$o, _templateObject7$o, _templateObject8$m, _templateObject9$k, _templateObject10$d, _templateObject11$8;
18334
+ var _templateObject$U, _templateObject2$H, _templateObject3$B, _templateObject4$u, _templateObject5$r, _templateObject6$o, _templateObject7$o, _templateObject8$m, _templateObject9$k, _templateObject10$e, _templateObject11$8;
18307
18335
  var Container$l = styled.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n width: 395px;\n height: 245px;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: #f5f5f5 0% 0% no-repeat padding-box;\n"])));
18308
18336
  var Header$c = styled.div(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
18309
18337
  var HeaderLine$9 = styled.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n height: ", ";\n background-color: #ebebeb;\n margin-left: 7px;\n\n & + div {\n margin-top: 7px;\n }\n\n ", "\n ", "\n\n ", "\n\n ", "\n"])), function (props) {
@@ -18325,7 +18353,7 @@ var CustomLine$6 = styled(HeaderLine$9)(_templateObject8$m || (_templateObject8$
18325
18353
  return props.color;
18326
18354
  });
18327
18355
  var GraphLine = styled(CustomLine$6)(_templateObject9$k || (_templateObject9$k = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
18328
- var Main$5 = styled.div(_templateObject10$d || (_templateObject10$d = _taggedTemplateLiteralLoose(["\n flex: 1;\n padding: 0 7px 72px 7px;\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: center;\n"])));
18356
+ var Main$5 = styled.div(_templateObject10$e || (_templateObject10$e = _taggedTemplateLiteralLoose(["\n flex: 1;\n padding: 0 7px 72px 7px;\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: center;\n"])));
18329
18357
  var Circle$3 = styled.div(_templateObject11$8 || (_templateObject11$8 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
18330
18358
 
18331
18359
  var Template10 = function Template10(props) {