@mw-kit/mw-ui 1.7.71 → 1.7.74

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.
@@ -71,7 +71,6 @@ var colors = {
71
71
  milkWhite: '#FCFFF5',
72
72
  orange: '#FB8702',
73
73
  pink: '#E23851',
74
- platinum: '#E2E2E3',
75
74
  purple: '#8E66BB',
76
75
  red: '#C31717',
77
76
  silver: '#B2B2B2',
@@ -691,7 +690,7 @@ var AbsoluteContainer = React__default.forwardRef(function (props, fowardedRef)
691
690
  if (props.position) return;
692
691
  setPosition(getPosition);
693
692
  }, [ref]);
694
- var htmlProps = filterObject(props, ['center', 'position', 'children']);
693
+ var htmlProps = filterObject(props, ['center', 'position', 'children', 'content']);
695
694
  var cssKeys = {
696
695
  width: 'width',
697
696
  'max-width': 'maxWidth',
@@ -719,7 +718,9 @@ var AbsoluteContainer = React__default.forwardRef(function (props, fowardedRef)
719
718
  position: position,
720
719
  ref: setRef,
721
720
  transition: _extends({}, propsTransition, transition)
722
- }), React__default.createElement("div", null, props.children));
721
+ }), React__default.createElement("div", {
722
+ children: 'content' in props ? React__default.createElement(props.content, null) : props.children
723
+ }));
723
724
  }
724
725
  });
725
726
  });
@@ -12568,25 +12569,21 @@ var Input$1 = React__default.forwardRef(function (props, ref) {
12568
12569
  });
12569
12570
  Input$1.displayName = 'Input';
12570
12571
 
12571
- var _templateObject$6, _templateObject2$6, _templateObject3$6, _templateObject4$4, _templateObject5$4, _templateObject6$3, _templateObject7$3, _templateObject8$2, _templateObject9$2, _templateObject10$2;
12572
+ var _templateObject$6, _templateObject2$6, _templateObject3$6, _templateObject4$4, _templateObject5$4, _templateObject6$3, _templateObject7$3, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$2;
12572
12573
  var size = '17px';
12573
- var Checkmark = styled.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n position: relative;\n height: ", ";\n width: ", ";\n background-color: ", ";\n\n border-style: solid;\n border-color: ", ";\n border-width: 1px;\n border-radius: 4px;\n\n transition-property: border-color;\n transition-duration: 0.25s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n\n :after {\n content: '';\n position: absolute;\n\n left: 50%;\n top: 50%;\n height: 0;\n width: 0;\n\n border-style: solid;\n border-color: ", ";\n border-width: 0;\n transform: rotate(45deg);\n\n transition-property: width height border-width top left;\n transition-duration: 0.25s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n\n /** if there is a label, it will be placed after this element */\n + * {\n flex: 1;\n }\n"])), size, size, function (_ref) {
12574
+ var Checkmark = styled.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n position: relative;\n height: ", ";\n width: ", ";\n background-color: ", ";\n\n border-style: solid;\n border-color: transparent;\n border-width: 1px;\n border-radius: 4px;\n\n transition-property: border-color;\n transition-duration: 0.25s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n\n :after {\n content: '';\n position: absolute;\n\n left: 50%;\n top: 50%;\n height: 0;\n width: 0;\n\n border-style: solid;\n border-color: ", ";\n border-width: 0;\n transform: rotate(45deg);\n\n transition-property: width height border-width top left;\n transition-duration: 0.25s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n\n /** if there is a label, it will be placed after this element */\n + * {\n flex: 1;\n }\n"])), size, size, function (_ref) {
12574
12575
  var theme = _ref.theme;
12575
12576
  return theme.colors.white;
12576
12577
  }, function (_ref2) {
12577
- var theme = _ref2.theme,
12578
- viewMode = _ref2.$viewMode;
12579
- return viewMode ? 'transparent' : theme.colors.blue;
12580
- }, function (_ref3) {
12581
- var theme = _ref3.theme;
12578
+ var theme = _ref2.theme;
12582
12579
  return theme.colors.blue;
12583
12580
  });
12584
- var Label$1 = styled.label(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n\n ", "\n\n ", "\n\n ", "\n\n display: flex;\n align-items: center;\n\n user-select: none;\n min-height: ", ";\n min-width: ", ";\n gap: ", ";\n\n > input {\n position: absolute;\n opacity: 0;\n height: 1px;\n width: 1px;\n }\n\n :hover ", " {\n background-color: ", ";\n }\n\n > input:checked ~ ", " {\n :after {\n width: 5px;\n height: 9.5px;\n border-width: 0 2px 2px 0;\n left: 5px;\n top: 1px;\n }\n }\n\n ", ";\n\n ", "\n"])), function (_ref4) {
12585
- var theme = _ref4.theme;
12581
+ var Label$1 = styled.label(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 14px;\n\n ", "\n\n ", "\n\n ", "\n\n display: flex;\n align-items: center;\n\n user-select: none;\n min-height: ", ";\n min-width: ", ";\n gap: ", ";\n\n > input {\n position: absolute;\n opacity: 0;\n height: 1px;\n width: 1px;\n }\n\n :hover ", " {\n background-color: ", ";\n }\n ", "\n\n > input:checked ~ ", " {\n :after {\n width: 5px;\n height: 9.5px;\n border-width: 0 2px 2px 0;\n left: 5px;\n top: 1px;\n }\n }\n\n ", ";\n\n ", "\n"])), function (_ref3) {
12582
+ var theme = _ref3.theme;
12586
12583
  return theme.useTypography('p');
12587
- }, function (_ref5) {
12588
- var padding = _ref5.$padding,
12589
- theme = _ref5.theme;
12584
+ }, function (_ref4) {
12585
+ var padding = _ref4.$padding,
12586
+ theme = _ref4.theme;
12590
12587
  if (!padding) return;
12591
12588
  var _padding = {
12592
12589
  top: '0',
@@ -12628,9 +12625,9 @@ var Label$1 = styled.label(_templateObject2$6 || (_templateObject2$6 = _taggedTe
12628
12625
  }
12629
12626
 
12630
12627
  return css(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n padding-top: ", ";\n padding-left: ", ";\n padding-right: ", ";\n padding-bottom: ", ";\n "])), _padding.top, _padding.left, _padding.right, _padding.bottom);
12631
- }, function (_ref6) {
12632
- var disabled = _ref6.$disabled,
12633
- readOnly = _ref6.$readOnly;
12628
+ }, function (_ref5) {
12629
+ var disabled = _ref5.$disabled,
12630
+ readOnly = _ref5.$readOnly;
12634
12631
 
12635
12632
  if (disabled) {
12636
12633
  return css(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
@@ -12638,35 +12635,42 @@ var Label$1 = styled.label(_templateObject2$6 || (_templateObject2$6 = _taggedTe
12638
12635
 
12639
12636
  if (readOnly) return;
12640
12637
  return css(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
12641
- }, function (_ref7) {
12642
- var theme = _ref7.theme,
12643
- bordered = _ref7.$bordered,
12644
- invalid = _ref7.$invalid;
12638
+ }, function (_ref6) {
12639
+ var theme = _ref6.theme,
12640
+ bordered = _ref6.$bordered,
12641
+ invalid = _ref6.$invalid;
12645
12642
  if (!bordered) return;
12646
12643
  return css(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteralLoose(["\n padding: ", " ", ";\n\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: 4px;\n "])), theme.spacings.s2, theme.spacings.s3, theme.colors[invalid ? 'warningRed' : 'lightGrey']);
12647
- }, size, size, function (_ref8) {
12648
- var theme = _ref8.theme;
12644
+ }, size, size, function (_ref7) {
12645
+ var theme = _ref7.theme;
12649
12646
  return theme.spacings.s1;
12650
- }, Checkmark, function (_ref9) {
12651
- var theme = _ref9.theme;
12647
+ }, Checkmark, function (_ref8) {
12648
+ var theme = _ref8.theme;
12652
12649
  return theme.colors.iceWhite;
12653
- }, Checkmark, function (_ref10) {
12654
- var theme = _ref10.theme,
12655
- invalid = _ref10.$invalid;
12650
+ }, function (_ref9) {
12651
+ var theme = _ref9.theme,
12652
+ viewMode = _ref9.$viewMode;
12653
+ return viewMode ? css(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteralLoose(["\n > input ~ ", " {\n border-color: transparent;\n }\n "])), Checkmark) : css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n > input ~ ", " {\n border-color: ", ";\n }\n > input:checked ~ ", " {\n border-color: ", ";\n }\n "])), Checkmark, theme.colors.lightestGrey, Checkmark, function (_ref10) {
12654
+ var theme = _ref10.theme;
12655
+ return theme.colors.blue;
12656
+ });
12657
+ }, Checkmark, function (_ref11) {
12658
+ var theme = _ref11.theme,
12659
+ invalid = _ref11.$invalid;
12656
12660
  if (!invalid) return;
12657
- return css(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteralLoose(["\n ", ",\n > input:checked ~ ", ", \n > input:checked ~ ", ":after {\n border-color: ", ";\n }\n "])), Checkmark, Checkmark, Checkmark, theme.colors.warningRed);
12658
- }, function (_ref11) {
12659
- var width = _ref11.$width;
12660
- return width && css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n width: ", ";\n "])), width);
12661
+ return css(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n ", ",\n > input:checked ~ ", ", \n > input:checked ~ ", ":after {\n border-color: ", ";\n }\n "])), Checkmark, Checkmark, Checkmark, theme.colors.warningRed);
12662
+ }, function (_ref12) {
12663
+ var width = _ref12.$width;
12664
+ return width && css(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n width: ", ";\n "])), width);
12661
12665
  });
12662
- var LabelContent = styled.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n ", "\n line-height: 14px;\n flex: 1;\n overflow: hidden;\n\n ", "\n"])), function (_ref12) {
12663
- var theme = _ref12.theme;
12666
+ var LabelContent = styled.div(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n ", "\n line-height: 14px;\n flex: 1;\n overflow: hidden;\n\n ", "\n"])), function (_ref13) {
12667
+ var theme = _ref13.theme;
12664
12668
  return theme.useTypography('p');
12665
- }, function (_ref13) {
12666
- var required = _ref13.required,
12667
- viewMode = _ref13.viewMode;
12669
+ }, function (_ref14) {
12670
+ var required = _ref14.required,
12671
+ viewMode = _ref14.viewMode;
12668
12672
  if (!required || viewMode) return;
12669
- return css(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
12673
+ return css(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
12670
12674
  });
12671
12675
 
12672
12676
  var Checkbox = React__default.forwardRef(function (props, ref) {
@@ -12704,14 +12708,13 @@ var Checkbox = React__default.forwardRef(function (props, ref) {
12704
12708
  "$bordered": !viewMode && bordered,
12705
12709
  "$padding": padding,
12706
12710
  "$readOnly": props.readOnly || viewMode,
12707
- "$width": props.width
12711
+ "$width": props.width,
12712
+ "$viewMode": viewMode
12708
12713
  }, React__default.createElement("input", Object.assign({}, htmlProps, {
12709
12714
  type: 'checkbox',
12710
12715
  ref: ref,
12711
12716
  disabled: htmlProps.disabled || viewMode
12712
- })), React__default.createElement(Checkmark, {
12713
- "$viewMode": viewMode
12714
- }), React__default.createElement(LabelComponent, Object.assign({}, {
12717
+ })), React__default.createElement(Checkmark, null), React__default.createElement(LabelComponent, Object.assign({}, {
12715
12718
  disabled: disabled,
12716
12719
  required: required,
12717
12720
  viewMode: viewMode,
@@ -13222,7 +13225,7 @@ var Indicator = function Indicator(props) {
13222
13225
  }, props)));
13223
13226
  };
13224
13227
 
13225
- var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$5, _templateObject11$2;
13228
+ var _templateObject$e, _templateObject2$c, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$5, _templateObject11$3;
13226
13229
  var Footer = styled.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n > button:last-child {\n margin-left: auto;\n }\n"])));
13227
13230
  var WeekContainer = styled.div(_templateObject2$c || (_templateObject2$c = _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) {
13228
13231
  var theme = _ref.theme;
@@ -13286,7 +13289,7 @@ var DayContainer = styled.button(_templateObject4$8 || (_templateObject4$8 = _ta
13286
13289
  });
13287
13290
  var DayIndicator = styled(Indicator).attrs({
13288
13291
  size: 'mini'
13289
- })(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: calc(", " - 1px);\n left: calc(50% - (", " / 2) + 1px);\n"])), sizes.mini, sizes.mini);
13292
+ })(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: calc(", " - 1px);\n left: calc(50% - (", " / 2) + 1px);\n"])), sizes.mini, sizes.mini);
13290
13293
 
13291
13294
  var getCalendar = function getCalendar(d) {
13292
13295
  var date = new Date(d.getTime());
@@ -15790,7 +15793,7 @@ var bullet = css(_templateObject$t || (_templateObject$t = _taggedTemplateLitera
15790
15793
  return bulletSize;
15791
15794
  }, function (_ref3) {
15792
15795
  var theme = _ref3.theme;
15793
- return theme.colors.platinum;
15796
+ return theme.colors.lightestGrey;
15794
15797
  }, function (_ref4) {
15795
15798
  var theme = _ref4.theme;
15796
15799
  return theme.getColor('black', 10);
@@ -16175,7 +16178,7 @@ var LabelContainer$5 = styled.div(_templateObject$E || (_templateObject$E = _tag
16175
16178
  var theme = _ref.theme;
16176
16179
  return theme.useTypography('p');
16177
16180
  });
16178
- var Label$6 = styled.label(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n\n ", "\n\n ", "\n\n", "\n\n > input {\n position: absolute;\n top: 0;\n left: 0;\n height: 0;\n width: 0;\n /* Chrome, Safari, Edge, Opera */\n :-webkit-outer-spin-button,\n :-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n -moz-appearance: none;\n }\n\n > span {\n height: 17px;\n width: 17px;\n min-height: 17px;\n min-width: 17px;\n max-height: 17px;\n max-width: 17px;\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n position: relative;\n transition-property: border-color;\n transition-duration: 0.5s;\n transition-timing-function: ease-in-out;\n :before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n height: 0;\n width: 0;\n border-radius: 100%;\n transition-property: top, left, width, height, background-color;\n transition-duration: 0.5s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n }\n > input:checked + span {\n :before {\n top: calc(50% - 4.5px);\n left: calc(50% - 4.5px);\n height: 9px;\n width: 9px;\n }\n }\n"])), function (_ref2) {
16181
+ var Label$6 = styled.label(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: ", ";\n\n ", "\n\n ", "\n\n", "\n\n > input {\n position: absolute;\n top: 0;\n left: 0;\n height: 0;\n width: 0;\n /* Chrome, Safari, Edge, Opera */\n :-webkit-outer-spin-button,\n :-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n -moz-appearance: none;\n }\n\n > span {\n align-self: center;\n height: 17px;\n width: 17px;\n min-height: 17px;\n min-width: 17px;\n max-height: 17px;\n max-width: 17px;\n border-radius: 100%;\n border-width: 1px;\n border-style: solid;\n background-color: ", ";\n position: relative;\n transition-property: border-color;\n transition-duration: 0.5s;\n transition-timing-function: ease-in-out;\n :before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n height: 0;\n width: 0;\n border-radius: 100%;\n transition-property: top, left, width, height, background-color;\n transition-duration: 0.5s;\n transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);\n }\n }\n > input:checked + span {\n :before {\n top: calc(50% - 4.5px);\n left: calc(50% - 4.5px);\n height: 9px;\n width: 9px;\n }\n }\n"])), function (_ref2) {
16179
16182
  var theme = _ref2.theme;
16180
16183
  return theme.spacings.s1;
16181
16184
  }, function (_ref3) {
@@ -16194,24 +16197,30 @@ var Label$6 = styled.label(_templateObject2$t || (_templateObject2$t = _taggedTe
16194
16197
  var invalid = _ref5.invalid;
16195
16198
 
16196
16199
  if (!invalid) {
16197
- return css(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref6) {
16200
+ return css(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n > input:checked + span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref6) {
16198
16201
  var theme = _ref6.theme;
16199
- return theme.colors.blue;
16202
+ return theme.colors.lightestGrey;
16200
16203
  }, function (_ref7) {
16201
16204
  var theme = _ref7.theme;
16205
+ return theme.colors.lightestGrey;
16206
+ }, function (_ref8) {
16207
+ var theme = _ref8.theme;
16208
+ return theme.colors.blue;
16209
+ }, function (_ref9) {
16210
+ var theme = _ref9.theme;
16202
16211
  return theme.colors.blue;
16203
16212
  });
16204
16213
  }
16205
16214
 
16206
- return css(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref8) {
16207
- var theme = _ref8.theme;
16215
+ return css(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n > span {\n border-color: ", ";\n :before {\n background-color: ", ";\n }\n }\n "])), function (_ref10) {
16216
+ var theme = _ref10.theme;
16208
16217
  return theme.colors.warningRed;
16209
- }, function (_ref9) {
16210
- var theme = _ref9.theme;
16218
+ }, function (_ref11) {
16219
+ var theme = _ref11.theme;
16211
16220
  return theme.colors.warningRed;
16212
16221
  });
16213
- }, function (_ref10) {
16214
- var theme = _ref10.theme;
16222
+ }, function (_ref12) {
16223
+ var theme = _ref12.theme;
16215
16224
  return theme.colors.white;
16216
16225
  });
16217
16226
 
@@ -16413,7 +16422,7 @@ var parse = function parse(value) {
16413
16422
  });
16414
16423
  };
16415
16424
 
16416
- var _templateObject$F, _templateObject2$u, _templateObject3$o, _templateObject4$f, _templateObject5$d, _templateObject6$b, _templateObject7$b, _templateObject8$9, _templateObject9$8, _templateObject10$7, _templateObject11$3, _templateObject12$2;
16425
+ var _templateObject$F, _templateObject2$u, _templateObject3$o, _templateObject4$f, _templateObject5$d, _templateObject6$b, _templateObject7$b, _templateObject8$9, _templateObject9$8, _templateObject10$7, _templateObject11$4, _templateObject12$3;
16417
16426
  var RelativeContainer$5 = styled.div(_templateObject$F || (_templateObject$F = _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"])));
16418
16427
  var LabelContainer$6 = styled.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n ", "\n line-height: 17px;\n flex: 1;\n\n :first-child {\n text-align: left;\n }\n :not(:first-child) {\n text-align: center;\n }\n\n ", "\n\n ", ";\n"])), function (_ref) {
16419
16428
  var theme = _ref.theme;
@@ -16463,13 +16472,13 @@ var Button$4 = styled.button(_templateObject9$8 || (_templateObject9$8 = _tagged
16463
16472
  if (!onClick) return;
16464
16473
  return css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n :not(:disabled) {\n cursor: pointer;\n }\n "])));
16465
16474
  });
16466
- var LabelText$1 = styled.label(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref12) {
16475
+ var LabelText$1 = styled.label(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref12) {
16467
16476
  var theme = _ref12.theme;
16468
16477
  return theme.spacings.s1;
16469
16478
  }, function (_ref13) {
16470
16479
  var required = _ref13.required;
16471
16480
  if (!required) return;
16472
- return css(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
16481
+ return css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
16473
16482
  });
16474
16483
 
16475
16484
  var Component$1 = React__default.forwardRef(function (props, ref) {
@@ -17956,7 +17965,7 @@ var useContext$3 = function useContext() {
17956
17965
  return React__default.useContext(Provider$3);
17957
17966
  };
17958
17967
 
17959
- var _templateObject$Q, _templateObject2$A, _templateObject3$t, _templateObject4$i, _templateObject5$f, _templateObject6$d, _templateObject7$d, _templateObject8$b, _templateObject9$a, _templateObject10$9, _templateObject11$4, _templateObject12$3, _templateObject13$2, _templateObject14$2, _templateObject15$2;
17968
+ var _templateObject$Q, _templateObject2$A, _templateObject3$t, _templateObject4$i, _templateObject5$f, _templateObject6$d, _templateObject7$d, _templateObject8$b, _templateObject9$a, _templateObject10$9, _templateObject11$5, _templateObject12$4, _templateObject13$2, _templateObject14$2, _templateObject15$2;
17960
17969
  var aligns = {
17961
17970
  self: {
17962
17971
  horizontal: {
@@ -18047,13 +18056,13 @@ var Col = styled.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLi
18047
18056
  var bordered = _ref5.bordered,
18048
18057
  lightestGrey = _ref5.theme.colors.lightestGrey;
18049
18058
  if (!bordered) return;
18050
- return css(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-right: 1px solid ", ";\n }\n "])), lightestGrey);
18059
+ return css(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n :not(:last-child) {\n border-right: 1px solid ", ";\n }\n "])), lightestGrey);
18051
18060
  }, function (_ref6) {
18052
18061
  var fontColor = _ref6.fontColor,
18053
18062
  theme = _ref6.theme;
18054
18063
  if (fontColor === undefined) return;
18055
18064
  var c = Array.isArray(fontColor) ? theme.getColor.apply(theme, fontColor) : theme.colors[fontColor];
18056
- return css(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
18065
+ return css(_templateObject12$4 || (_templateObject12$4 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), c);
18057
18066
  }, function (_ref7) {
18058
18067
  var backgroundColor = _ref7.backgroundColor,
18059
18068
  theme = _ref7.theme;
@@ -18187,9 +18196,9 @@ var Row = styled.div(_templateObject$S || (_templateObject$S = _taggedTemplateLi
18187
18196
  return c;
18188
18197
  }, function (_ref7) {
18189
18198
  var borderless = _ref7.borderless,
18190
- platinum = _ref7.theme.colors.platinum;
18199
+ lightestGrey = _ref7.theme.colors.lightestGrey;
18191
18200
  if (borderless) return;
18192
- return css(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n :last-child {\n border-bottom: 1px solid transparent;\n }\n "])), platinum);
18201
+ return css(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n :last-child {\n border-bottom: 1px solid transparent;\n }\n "])), lightestGrey);
18193
18202
  }, function (_ref8) {
18194
18203
  var hover = _ref8.hover,
18195
18204
  theme = _ref8.theme;
@@ -18482,7 +18491,7 @@ var Modal$1 = Object.assign(Modal, {
18482
18491
  Audit: Audit
18483
18492
  });
18484
18493
 
18485
- var _templateObject$X, _templateObject2$E, _templateObject3$x, _templateObject4$l, _templateObject5$i, _templateObject6$g, _templateObject7$g, _templateObject8$e, _templateObject9$d, _templateObject10$c, _templateObject11$5;
18494
+ var _templateObject$X, _templateObject2$E, _templateObject3$x, _templateObject4$l, _templateObject5$i, _templateObject6$g, _templateObject7$g, _templateObject8$e, _templateObject9$d, _templateObject10$c, _templateObject11$6;
18486
18495
  var Container$c = styled.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 300px;\n position: absolute;\n padding: 14px;\n"])));
18487
18496
  var Header$6 = styled.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
18488
18497
  var HeaderImage = styled.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n width: 43px;\n height: 44px;\n background-color: #ebebeb;\n"])));
@@ -18499,7 +18508,7 @@ var HeaderLine = styled.div(_templateObject6$g || (_templateObject6$g = _taggedT
18499
18508
  }, function (props) {
18500
18509
  return props.size === 'large' && css(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n width: 75%;\n "])));
18501
18510
  });
18502
- var MainLine = styled(HeaderLine)(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
18511
+ var MainLine = styled(HeaderLine)(_templateObject11$6 || (_templateObject11$6 = _taggedTemplateLiteralLoose(["\n margin-bottom: 14px;\n margin-left: 0;\n"])));
18503
18512
 
18504
18513
  var Template1 = function Template1(props) {
18505
18514
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);
@@ -18884,7 +18893,7 @@ var Template8$1 = function Template8(props) {
18884
18893
  })), React__default.createElement(Main$4, null, React__default.createElement(Circle$2, null)));
18885
18894
  };
18886
18895
 
18887
- var _templateObject$15, _templateObject2$O, _templateObject3$H, _templateObject4$u, _templateObject5$r, _templateObject6$o, _templateObject7$o, _templateObject8$m, _templateObject9$j, _templateObject10$f, _templateObject11$6;
18896
+ var _templateObject$15, _templateObject2$O, _templateObject3$H, _templateObject4$u, _templateObject5$r, _templateObject6$o, _templateObject7$o, _templateObject8$m, _templateObject9$j, _templateObject10$f, _templateObject11$7;
18888
18897
  var Container$l = styled.div(_templateObject$15 || (_templateObject$15 = _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"])));
18889
18898
  var Header$c = styled.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 14px;\n width: 100%;\n"])));
18890
18899
  var HeaderLine$9 = styled.div(_templateObject3$H || (_templateObject3$H = _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) {
@@ -18907,7 +18916,7 @@ var CustomLine$6 = styled(HeaderLine$9)(_templateObject8$m || (_templateObject8$
18907
18916
  });
18908
18917
  var GraphLine = styled(CustomLine$6)(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n margin: 0 7px;\n"])));
18909
18918
  var Main$5 = styled.div(_templateObject10$f || (_templateObject10$f = _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"])));
18910
- var Circle$3 = styled.div(_templateObject11$6 || (_templateObject11$6 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
18919
+ var Circle$3 = styled.div(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n width: 128px;\n height: 128px;\n background-color: #ebebeb;\n border-radius: 50%;\n"])));
18911
18920
 
18912
18921
  var Template10 = function Template10(props) {
18913
18922
  if (!props.loading) return React__default.createElement(React__default.Fragment, null);