@mw-kit/mw-ui 1.6.12 → 1.6.13

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.
@@ -12597,14 +12597,14 @@ var getMask = function getMask(mask) {
12597
12597
  };
12598
12598
  };
12599
12599
 
12600
- var _templateObject$c, _templateObject2$a, _templateObject3$a, _templateObject4$9, _templateObject5$8, _templateObject6$6, _templateObject7$4, _templateObject8$3, _templateObject9$3, _templateObject10$2, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1;
12600
+ var _templateObject$c, _templateObject2$a, _templateObject3$a, _templateObject4$9, _templateObject5$8, _templateObject6$6, _templateObject7$4, _templateObject8$3, _templateObject9$3, _templateObject10$2, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15;
12601
12601
  var IconContainer = styled.button(_templateObject$c || (_templateObject$c = _taggedTemplateLiteralLoose(["\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 17px;\n\n background-color: transparent;\n border: none;\n box-shadow: none;\n padding: 0;\n\n ", "\n"])), function (_ref) {
12602
12602
  var onClick = _ref.onClick,
12603
12603
  disabled = _ref.disabled;
12604
12604
  if (!onClick || disabled) return;
12605
12605
  return css(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
12606
12606
  });
12607
- var Input = styled.input(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n line-height: 17px;\n\n ::placeholder {\n color: ", ";\n\n line-height: 17px;\n\n ", "\n }\n\n display: block;\n width: ", ";\n box-sizing: border-box;\n\n ", ";\n\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: 4px;\n\n background-color: ", ";\n\n box-shadow: none;\n outline: none;\n\n ", "\n\n ", "\n"])), function (_ref2) {
12607
+ var Input = styled.input(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n line-height: 17px;\n\n ::placeholder {\n color: ", ";\n\n line-height: 17px;\n\n ", "\n }\n\n display: block;\n width: ", ";\n box-sizing: border-box;\n\n ", ";\n\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: 4px;\n\n ", ";\n\n box-shadow: none;\n outline: none;\n\n ", "\n\n ", "\n"])), function (_ref2) {
12608
12608
  var theme = _ref2.theme;
12609
12609
  return theme.useTypography('p');
12610
12610
  }, function (_ref3) {
@@ -12643,19 +12643,20 @@ var Input = styled.input(_templateObject3$a || (_templateObject3$a = _taggedTemp
12643
12643
  }, function (_ref10) {
12644
12644
  var theme = _ref10.theme,
12645
12645
  invalid = _ref10.invalid;
12646
- return invalid ? theme.getColor('warningRed', 5) : theme.colors.white;
12646
+ var color = invalid ? theme.getColor('warningRed', 5) : theme.colors.white;
12647
+ return css(_templateObject7$4 || (_templateObject7$4 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n /** google chrome blue background */\n -webkit-box-shadow: 0 0 0px 1000px ", "; inset !important;\n "])), color, color);
12647
12648
  }, function (_ref11) {
12648
12649
  var arrows = _ref11.arrows;
12649
12650
  if (arrows) return;
12650
- return css(_templateObject7$4 || (_templateObject7$4 = _taggedTemplateLiteralLoose(["\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: textfield;\n "])));
12651
+ return css(_templateObject8$3 || (_templateObject8$3 = _taggedTemplateLiteralLoose(["\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: textfield;\n "])));
12651
12652
  }, function (_ref12) {
12652
12653
  var readOnly = _ref12.readOnly,
12653
12654
  onClick = _ref12.onClick,
12654
12655
  disabled = _ref12.disabled;
12655
12656
  if (!readOnly) return;
12656
- return css(_templateObject8$3 || (_templateObject8$3 = _taggedTemplateLiteralLoose(["\n cursor: ", ";\n "])), !onClick || disabled ? 'unset' : 'pointer');
12657
+ return css(_templateObject9$3 || (_templateObject9$3 = _taggedTemplateLiteralLoose(["\n cursor: ", ";\n "])), !onClick || disabled ? 'unset' : 'pointer');
12657
12658
  });
12658
- var Label = styled.label(_templateObject9$3 || (_templateObject9$3 = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n width: ", ";\n box-sizing: border-box;\n position: relative;\n display: block;\n\n ", "\n\n > ", " {\n bottom: ", ";\n }\n\n ", "\n"])), function (_ref13) {
12659
+ var Label = styled.label(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n ", ";\n\n color: ", ";\n\n width: ", ";\n box-sizing: border-box;\n position: relative;\n display: block;\n\n ", "\n\n > ", " {\n bottom: ", ";\n }\n\n ", "\n"])), function (_ref13) {
12659
12660
  var theme = _ref13.theme;
12660
12661
  return theme.useTypography('p');
12661
12662
  }, function (_ref14) {
@@ -12667,7 +12668,7 @@ var Label = styled.label(_templateObject9$3 || (_templateObject9$3 = _taggedTemp
12667
12668
  }, function (_ref16) {
12668
12669
  var disabled = _ref16.disabled;
12669
12670
  if (!disabled) return;
12670
- return css(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
12671
+ return css(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteralLoose(["\n opacity: 0.5;\n "])));
12671
12672
  }, IconContainer, function (_ref17) {
12672
12673
  var theme = _ref17.theme,
12673
12674
  paddingless = _ref17.paddingless;
@@ -12682,18 +12683,18 @@ var Label = styled.label(_templateObject9$3 || (_templateObject9$3 = _taggedTemp
12682
12683
  var padding = paddingless ? '0px' : theme.spacings.s3;
12683
12684
 
12684
12685
  if (position === 'right') {
12685
- return css(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteralLoose(["\n > ", " {\n width: ", ";\n right: calc(", " / 2);\n }\n\n > ", " {\n padding-right: calc(", " + ", ");\n }\n "])), IconContainer, width, padding, Input, padding, width);
12686
+ return css(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteralLoose(["\n > ", " {\n width: ", ";\n right: calc(", " / 2);\n }\n\n > ", " {\n padding-right: calc(", " + ", ");\n }\n "])), IconContainer, width, padding, Input, padding, width);
12686
12687
  }
12687
12688
 
12688
- return css(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteralLoose(["\n > ", " {\n width: ", ";\n left: calc(", " / 2);\n }\n\n > ", " {\n padding-left: calc(", " + ", ");\n }\n "])), IconContainer, width, padding, Input, padding, width);
12689
+ return css(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose(["\n > ", " {\n width: ", ";\n left: calc(", " / 2);\n }\n\n > ", " {\n padding-left: calc(", " + ", ");\n }\n "])), IconContainer, width, padding, Input, padding, width);
12689
12690
  });
12690
- var LabelText = styled.div(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref19) {
12691
+ var LabelText = styled.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n"])), function (_ref19) {
12691
12692
  var theme = _ref19.theme;
12692
12693
  return theme.spacings.s1;
12693
12694
  }, function (_ref20) {
12694
12695
  var required = _ref20.required;
12695
12696
  if (!required) return;
12696
- return css(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
12697
+ return css(_templateObject15 || (_templateObject15 = _taggedTemplateLiteralLoose(["\n :after {\n content: ' *';\n }\n "])));
12697
12698
  });
12698
12699
 
12699
12700
  var Input$1 = React__default.forwardRef(function (props, ref) {
@@ -14677,7 +14678,7 @@ var Switch = function Switch(props) {
14677
14678
  })), React__default.createElement("span", null), label && React__default.createElement(LabelContainer$1, null, label));
14678
14679
  };
14679
14680
 
14680
- var _templateObject$n, _templateObject2$j, _templateObject3$h, _templateObject4$e, _templateObject5$d, _templateObject6$b, _templateObject7$9, _templateObject8$6, _templateObject9$6, _templateObject10$4, _templateObject11$3, _templateObject12$3, _templateObject13$3, _templateObject14$2, _templateObject15, _templateObject16;
14681
+ var _templateObject$n, _templateObject2$j, _templateObject3$h, _templateObject4$e, _templateObject5$d, _templateObject6$b, _templateObject7$9, _templateObject8$6, _templateObject9$6, _templateObject10$4, _templateObject11$3, _templateObject12$3, _templateObject13$3, _templateObject14$2, _templateObject15$1, _templateObject16;
14681
14682
  var bullet = css(_templateObject$n || (_templateObject$n = _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) {
14682
14683
  var theme = _ref.theme;
14683
14684
  return theme.spacings.s4;
@@ -14692,7 +14693,7 @@ var bullet = css(_templateObject$n || (_templateObject$n = _taggedTemplateLitera
14692
14693
  return theme.getColor('black', 10);
14693
14694
  });
14694
14695
  var Input$2 = styled.input(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose(["\n appearance: none;\n width: 100%;\n height: 10px;\n background-color: transparent;\n outline: none;\n position: relative;\n z-index: 3;\n margin: 0;\n\n :not(:disabled) {\n cursor: pointer;\n }\n\n /** firefox */\n ::-moz-range-thumb {\n ", "\n }\n /** ie */\n ::-ms-thumb {\n ", "\n }\n /** chrome */\n ::-webkit-slider-thumb {\n ", "\n }\n"])), bullet, bullet, bullet);
14695
- var Label$4 = styled.label(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n ", ";\n\n width: ", ";\n box-sizing: border-box;\n display: block;\n position: relative;\n\n ", "\n\n > div:first-child {\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n }\n"])), function (_ref5) {
14696
+ var Label$4 = styled.label(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n ", ";\n line-height: 19px;\n\n width: ", ";\n box-sizing: border-box;\n display: block;\n position: relative;\n\n ", "\n\n > div:first-child {\n display: inline-block;\n margin-bottom: ", ";\n\n ", "\n }\n"])), function (_ref5) {
14696
14697
  var theme = _ref5.theme;
14697
14698
  return theme.useTypography('p');
14698
14699
  }, function (_ref6) {
@@ -14738,7 +14739,7 @@ var SelectedArea = styled.div(_templateObject13$3 || (_templateObject13$3 = _tag
14738
14739
  return percent;
14739
14740
  });
14740
14741
  var MarkersContainer = styled.div(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteralLoose(["\n height: 17px;\n"])));
14741
- var Marker = styled.div(_templateObject15 || (_templateObject15 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n width: 40px;\n text-align: center;\n left: ", ";\n z-index: 2;\n\n :first-child {\n left: 0;\n text-align: left;\n\n :after {\n left: 0;\n }\n }\n :last-child {\n right: 0;\n left: unset;\n text-align: right;\n\n :after {\n right: 0;\n left: unset;\n }\n }\n\n ", "\n"])), function (_ref14) {
14742
+ var Marker = styled.div(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n width: 40px;\n text-align: center;\n left: ", ";\n z-index: 2;\n\n :first-child {\n left: 0;\n text-align: left;\n\n :after {\n left: 0;\n }\n }\n :last-child {\n right: 0;\n left: unset;\n text-align: right;\n\n :after {\n right: 0;\n left: unset;\n }\n }\n\n ", "\n"])), function (_ref14) {
14742
14743
  var left = _ref14.left;
14743
14744
  return left;
14744
14745
  }, function (_ref15) {
@@ -17039,7 +17040,7 @@ var useContext$2 = function useContext() {
17039
17040
  return React__default.useContext(Provider$2);
17040
17041
  };
17041
17042
 
17042
- var _templateObject$M, _templateObject2$C, _templateObject3$A, _templateObject4$w, _templateObject5$u, _templateObject6$q, _templateObject7$n, _templateObject8$j, _templateObject9$h, _templateObject10$c, _templateObject11$6, _templateObject12$4, _templateObject13$4, _templateObject14$3, _templateObject15$1;
17043
+ var _templateObject$M, _templateObject2$C, _templateObject3$A, _templateObject4$w, _templateObject5$u, _templateObject6$q, _templateObject7$n, _templateObject8$j, _templateObject9$h, _templateObject10$c, _templateObject11$6, _templateObject12$4, _templateObject13$4, _templateObject14$3, _templateObject15$2;
17043
17044
  var aligns = {
17044
17045
  self: {
17045
17046
  horizontal: {
@@ -17153,7 +17154,7 @@ var Col = styled.div(_templateObject$M || (_templateObject$M = _taggedTemplateLi
17153
17154
  }, function (_ref9) {
17154
17155
  var pointer = _ref9.pointer;
17155
17156
  if (!pointer) return;
17156
- return css(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
17157
+ return css(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
17157
17158
  });
17158
17159
 
17159
17160
  var Col$1 = function Col$1(props) {