@mw-kit/mw-ui 1.7.41 → 1.7.42

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.
@@ -13695,7 +13695,7 @@ var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemp
13695
13695
  var appearance = _ref4.appearance,
13696
13696
  color = _ref4.color,
13697
13697
  theme = _ref4.theme;
13698
- var bgColor = ['bordered', 'link', 'bordeless'].includes(appearance) ? 'transparent' : theme.getColor(color || 'blue');
13698
+ var bgColor = ['bordered', 'link', 'borderless'].includes(appearance) ? 'transparent' : theme.getColor(color || 'blue');
13699
13699
  var borderColor = appearance !== 'bordered' ? bgColor : theme.getColor(color || 'blue');
13700
13700
  return css(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n border: 1px solid ", ";\n "])), bgColor, borderColor);
13701
13701
  }, function (_ref5) {
@@ -13705,7 +13705,7 @@ var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemp
13705
13705
  theme = _ref5.theme;
13706
13706
  if (loading) return 'transparent';
13707
13707
 
13708
- if (['link', 'bordeless'].includes(appearance)) {
13708
+ if (['link', 'borderless'].includes(appearance)) {
13709
13709
  return color ? theme.colors[color] : theme.getColor('greyishBlue', 50);
13710
13710
  }
13711
13711
 
@@ -13719,7 +13719,7 @@ var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemp
13719
13719
  loading = _ref6.loading,
13720
13720
  theme = _ref6.theme;
13721
13721
 
13722
- if (['bordered', 'link', 'bordeless'].includes(appearance)) {
13722
+ if (['bordered', 'link', 'borderless'].includes(appearance)) {
13723
13723
  return css(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n opacity: 0.3;\n pointer-events: none;\n "])));
13724
13724
  }
13725
13725
 
@@ -13735,7 +13735,7 @@ var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemp
13735
13735
 
13736
13736
  if (appearance === 'bordered') {
13737
13737
  return css(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteralLoose(["\n color: ", ";\n border: 1px solid ", ";\n "])), theme.getColor(color || 'blue', 70), theme.getColor(color || 'blue', 70));
13738
- } else if (['link', 'bordeless'].includes(appearance)) {
13738
+ } else if (['link', 'borderless'].includes(appearance)) {
13739
13739
  return css(_templateObject7$7 || (_templateObject7$7 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.colors.blue);
13740
13740
  }
13741
13741
 
@@ -13749,7 +13749,7 @@ var Button = styled.button(_templateObject$e || (_templateObject$e = _taggedTemp
13749
13749
  return css(_templateObject9$6 || (_templateObject9$6 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n "])), theme.getColor('iceWhite'));
13750
13750
  }
13751
13751
 
13752
- if (['link', 'bordeless'].includes(appearance)) {
13752
+ if (['link', 'borderless'].includes(appearance)) {
13753
13753
  return css(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n color: ", ";\n "])), theme.getColor('blue', 50));
13754
13754
  }
13755
13755
 
@@ -16163,6 +16163,10 @@ var LabelText$1 = styled.label(_templateObject11$5 || (_templateObject11$5 = _ta
16163
16163
  });
16164
16164
 
16165
16165
  var Component$1 = React__default.forwardRef(function (props, ref) {
16166
+ var center = props.center || {
16167
+ x: 50,
16168
+ y: 50
16169
+ };
16166
16170
  var value = parse(props.value);
16167
16171
 
16168
16172
  var _useState = useState(null),
@@ -16316,6 +16320,10 @@ var Component$1 = React__default.forwardRef(function (props, ref) {
16316
16320
  close: function close() {
16317
16321
  return setOpen(null);
16318
16322
  },
16323
+ center: center,
16324
+ references: {
16325
+ bottom: '35px'
16326
+ },
16319
16327
  options: [{
16320
16328
  label: 'Hoje',
16321
16329
  onClick: function onClick() {
@@ -16347,6 +16355,7 @@ var Component$1 = React__default.forwardRef(function (props, ref) {
16347
16355
  itemSpacing: 's3',
16348
16356
  bordered: true
16349
16357
  }), React__default.createElement(Calendar, Object.assign({}, props.calendar || {}, {
16358
+ center: center,
16350
16359
  type: 'interval',
16351
16360
  absolute: true,
16352
16361
  open: open === 'calendar',
@@ -18050,7 +18059,7 @@ var ConfirmDelete = function ConfirmDelete(props) {
18050
18059
  color: 'greyishBlue',
18051
18060
  inverted: true,
18052
18061
  footer: [{
18053
- appearance: 'bordeless',
18062
+ appearance: 'borderless',
18054
18063
  content: 'Cancelar',
18055
18064
  onClick: cancelAction
18056
18065
  }, {
@@ -18128,7 +18137,7 @@ var Audit = function Audit(props) {
18128
18137
  color: 'greyishBlue',
18129
18138
  inverted: true,
18130
18139
  footer: [{
18131
- appearance: 'bordeless',
18140
+ appearance: 'borderless',
18132
18141
  content: 'Cancelar',
18133
18142
  onClick: cancelAction
18134
18143
  }, {