@janiscommerce/ui-web 0.45.0 → 1.0.0

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.
package/dist/index.esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { useState, useEffect, useRef, PureComponent, useMemo, useCallback, useLayoutEffect, createContext, forwardRef, useImperativeHandle } from 'react';
3
- import styled$h, { css, keyframes } from 'styled-components';
3
+ import styled$i, { css, createGlobalStyle, keyframes } from 'styled-components';
4
4
  import * as ReactDOM from 'react-dom';
5
5
  import ReactDOM__default from 'react-dom';
6
6
 
@@ -5246,7 +5246,7 @@ $$b({ target: 'Array', stat: true, forced: INCORRECT_ITERATION$1 }, {
5246
5246
  from: from
5247
5247
  });
5248
5248
 
5249
- var SkeletonContainer = styled$h.div.withConfig({
5249
+ var SkeletonContainer = styled$i.div.withConfig({
5250
5250
  displayName: "styles__SkeletonContainer",
5251
5251
  componentId: "sc-1xnupv9-0"
5252
5252
  })(["border-radius:", ";height:", ";width:", ";background-color:", ";animation:pulse 1.5s ease-in-out infinite;@keyframes pulse{0%{opacity:0.4;}50%{opacity:0.8;}100%{opacity:0.4;}}"], function (_ref) {
@@ -5291,8 +5291,8 @@ Skeleton.defaultProps = {
5291
5291
  width: '100%'
5292
5292
  };
5293
5293
 
5294
- var styled$g = {
5295
- Image: styled$h.img.withConfig({
5294
+ var styled$h = {
5295
+ Image: styled$i.img.withConfig({
5296
5296
  displayName: "styles__Image",
5297
5297
  componentId: "sc-uljfj3-0"
5298
5298
  })(["width:", ";height:", ";display:", ";border-radius:", ";"], function (_ref) {
@@ -5396,8 +5396,8 @@ var mixins = {
5396
5396
  }
5397
5397
  };
5398
5398
 
5399
- var styled$f = {
5400
- Initials: styled$h.div.withConfig({
5399
+ var styled$g = {
5400
+ Initials: styled$i.div.withConfig({
5401
5401
  displayName: "styles__Initials",
5402
5402
  componentId: "sc-qlu7od-0"
5403
5403
  })(["width:", ";height:", ";border-radius:", ";font-weight:500;color:", ";background-color:", ";text-transform:uppercase;", ";"], function (_ref) {
@@ -5420,7 +5420,7 @@ var InitialsAvatar = function InitialsAvatar(_ref) {
5420
5420
  mainColor = _ref.mainColor,
5421
5421
  imageSize = _ref.imageSize,
5422
5422
  rounded = _ref.rounded;
5423
- return /*#__PURE__*/React__default.createElement(styled$f.Initials, {
5423
+ return /*#__PURE__*/React__default.createElement(styled$g.Initials, {
5424
5424
  color: mainColor,
5425
5425
  size: imageSize,
5426
5426
  rounded: rounded
@@ -5586,7 +5586,7 @@ var Avatar = function Avatar(_ref) {
5586
5586
  imageSize: imageSize,
5587
5587
  rounded: rounded
5588
5588
  });
5589
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(styled$g.Image, {
5589
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(styled$h.Image, {
5590
5590
  ref: imageRef,
5591
5591
  src: url,
5592
5592
  alt: "".concat(firstname, " ").concat(lastname),
@@ -5630,7 +5630,7 @@ $$7({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
5630
5630
 
5631
5631
  var _templateObject$4;
5632
5632
  var styles$2 = {
5633
- Svg: styled$h.svg.withConfig({
5633
+ Svg: styled$i.svg.withConfig({
5634
5634
  displayName: "styles__Svg",
5635
5635
  componentId: "sc-jf3e5i-0"
5636
5636
  })(["fill:", ";", " ", ";", ";"], function (props) {
@@ -5638,7 +5638,7 @@ var styles$2 = {
5638
5638
  }, mediaBreaks.onlyPrint(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n\t\t\tfill: ", ";\n\t\t"])), palette.darkGrey), mixins.transition('fill'), function (props) {
5639
5639
  return props.styles;
5640
5640
  }),
5641
- Path: styled$h.path.withConfig({
5641
+ Path: styled$i.path.withConfig({
5642
5642
  displayName: "styles__Path",
5643
5643
  componentId: "sc-jf3e5i-1"
5644
5644
  })(["fill:inherit;", ";"], function (props) {
@@ -5646,15 +5646,15 @@ var styles$2 = {
5646
5646
  })
5647
5647
  };
5648
5648
  ({
5649
- Grid: styled$h.div.withConfig({
5649
+ Grid: styled$i.div.withConfig({
5650
5650
  displayName: "styles__Grid",
5651
5651
  componentId: "sc-jf3e5i-2"
5652
5652
  })(["display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:15px;"]),
5653
- Item: styled$h.div.withConfig({
5653
+ Item: styled$i.div.withConfig({
5654
5654
  displayName: "styles__Item",
5655
5655
  componentId: "sc-jf3e5i-3"
5656
5656
  })(["padding:5px;border:1px dashed #ccc;cursor:default;display:grid;justify-items:center;justify-content:center;grid-row-gap:5px;", ";& ", "{", ";}&:hover{color:", ";}&:hover ", "{fill:", ";}"], mixins.transition('color'), styles$2.Svg, mixins.transition('fill'), palette.blue, styles$2.Svg, palette.blue),
5657
- SearchInput: styled$h.input.withConfig({
5657
+ SearchInput: styled$i.input.withConfig({
5658
5658
  displayName: "styles__SearchInput",
5659
5659
  componentId: "sc-jf3e5i-4"
5660
5660
  })(["margin-bottom:10px;padding:5px;"])
@@ -7117,8 +7117,8 @@ var getChipVariant = function getChipVariant(props) {
7117
7117
  return variantStyles[variant] || '';
7118
7118
  };
7119
7119
 
7120
- var styled$e = {
7121
- Chip: styled$h.button.withConfig({
7120
+ var styled$f = {
7121
+ Chip: styled$i.button.withConfig({
7122
7122
  displayName: "styles__Chip",
7123
7123
  componentId: "sc-1vnh4co-0"
7124
7124
  })(["padding:", ";cursor:", ";font-size:13px;color:", ";height:", ";width:", ";min-width:36px;border-radius:", ";display:inline-flex;justify-content:center;align-items:center;pointer-events:", ";white-space:nowrap;.chip-icon{", ";}", ";", ";", " ", " ", " ", ""], function (props) {
@@ -7146,11 +7146,11 @@ var styled$e = {
7146
7146
  }, function (props) {
7147
7147
  return props.textColor && "color: ".concat(getColor(props.textColor), ";");
7148
7148
  }, mediaBreaks.onlyPrint(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n\t\t\tborder: 1px solid ", ";\n\t\t"])), palette.darkGrey)),
7149
- DeleteButton: styled$h.button.withConfig({
7149
+ DeleteButton: styled$i.button.withConfig({
7150
7150
  displayName: "styles__DeleteButton",
7151
7151
  componentId: "sc-1vnh4co-1"
7152
7152
  })(["width:16px;height:16px;margin-left:12px;"]),
7153
- Children: styled$h.div.withConfig({
7153
+ Children: styled$i.div.withConfig({
7154
7154
  displayName: "styles__Children",
7155
7155
  componentId: "sc-1vnh4co-2"
7156
7156
  })(["text-overflow:ellipsis;overflow:hidden;"])
@@ -7175,7 +7175,7 @@ var Chip = function Chip(_ref) {
7175
7175
  props = _objectWithoutProperties(_ref, _excluded$9);
7176
7176
 
7177
7177
  if (!children && !icon) return null;
7178
- return /*#__PURE__*/React__default.createElement(styled$e.Chip, _extends$1({
7178
+ return /*#__PURE__*/React__default.createElement(styled$f.Chip, _extends$1({
7179
7179
  as: props.onClick ? 'button' : 'div',
7180
7180
  backgroundColor: backgroundColor,
7181
7181
  borderColor: borderColor,
@@ -7193,7 +7193,7 @@ var Chip = function Chip(_ref) {
7193
7193
  name: icon,
7194
7194
  color: iconColor,
7195
7195
  size: iconSize
7196
- }), children && /*#__PURE__*/React__default.createElement(styled$e.Children, null, children), onDelete && /*#__PURE__*/React__default.createElement(styled$e.DeleteButton, {
7196
+ }), children && /*#__PURE__*/React__default.createElement(styled$f.Children, null, children), onDelete && /*#__PURE__*/React__default.createElement(styled$f.DeleteButton, {
7197
7197
  type: "button",
7198
7198
  onClick: onDelete
7199
7199
  }, /*#__PURE__*/React__default.createElement(Icon, {
@@ -7215,8 +7215,8 @@ Chip.defaultProps = {
7215
7215
  hasLink: false
7216
7216
  };
7217
7217
 
7218
- var styled$d = {
7219
- AvatarGroup: styled$h(Chip).withConfig({
7218
+ var styled$e = {
7219
+ AvatarGroup: styled$i(Chip).withConfig({
7220
7220
  displayName: "styles__AvatarGroup",
7221
7221
  componentId: "sc-1jnt2lr-0"
7222
7222
  })(["pointer-events:none;", " background:", ";", " & div{display:flex;& div,img,span{&:not(:first-child){margin-left:-4px;}}span:first-of-type{margin-left:0px;}}"], function (_ref) {
@@ -7351,7 +7351,7 @@ var AvatarGroup = function AvatarGroup(_ref) {
7351
7351
  badgeColor = _ref.badgeColor;
7352
7352
  var extraCount = users.length > usersToDisplay ? users.length - usersToDisplay : 0;
7353
7353
  var hasExtraCount = extraCount > 0;
7354
- return /*#__PURE__*/React__default.createElement(styled$d.AvatarGroup, {
7354
+ return /*#__PURE__*/React__default.createElement(styled$e.AvatarGroup, {
7355
7355
  disabled: true,
7356
7356
  showFull: showFull
7357
7357
  }, /*#__PURE__*/React__default.createElement(AvatarList, {
@@ -7442,8 +7442,8 @@ var getButtonStyles = function getButtonStyles(_ref) {
7442
7442
  return variantStyles[variant] || '';
7443
7443
  };
7444
7444
 
7445
- var styled$c = {
7446
- Button: styled$h.button.withConfig({
7445
+ var styled$d = {
7446
+ Button: styled$i.button.withConfig({
7447
7447
  displayName: "styles__Button",
7448
7448
  componentId: "sc-buf2do-0"
7449
7449
  })(["display:flex;align-items:center;justify-content:center;height:36px;width:", ";flex-shrink:", ";border-radius:", ";padding:", ";cursor:", ";border:none;font-size:13px;font-weight:500;position:relative;", ";z-index:0;&:before{content:'';border-radius:50px;position:absolute;left:0;top:0;z-index:-1;width:100%;height:100%;}&:after{content:'';border-radius:50px;position:absolute;z-index:-1;width:100%;height:100%;transition:all 0.25s ", ";transform:scale(0,0);top:0;bottom:0;left:0;right:0;}&:focus:after,&:hover:after,&:active:after{transform:scale(1,1);}&:active{-webkit-tap-highlight-color:", ";}.button-icon{margin-right:", ";fill:", ";", ";}&:disabled{&:hover{background-color:transparent;}}", " .button-icon{fill:", ";}", ";"], function (_ref2) {
@@ -7491,7 +7491,7 @@ var Button = function Button(_ref) {
7491
7491
  disabled = _ref.disabled,
7492
7492
  props = _objectWithoutProperties(_ref, _excluded$8);
7493
7493
 
7494
- return /*#__PURE__*/React__default.createElement(styled$c.Button, _extends$1({
7494
+ return /*#__PURE__*/React__default.createElement(styled$d.Button, _extends$1({
7495
7495
  color: color,
7496
7496
  iconColor: iconColor || fontColor,
7497
7497
  fontColor: fontColor,
@@ -7516,8 +7516,8 @@ Button.defaultProps = {
7516
7516
  disabled: false
7517
7517
  };
7518
7518
 
7519
- var styled$b = {
7520
- Container: styled$h.label.withConfig({
7519
+ var styled$c = {
7520
+ Container: styled$i.label.withConfig({
7521
7521
  displayName: "styles__Container",
7522
7522
  componentId: "sc-18bfcwf-0"
7523
7523
  })(["background:", ";border:1px solid ", ";border-radius:", "px;width:16px;height:16px;line-height:16px;position:relative;cursor:pointer;display:flex;transition:background ", " 0.2s;user-select:none;margin-right:12px;", ";"], function (props) {
@@ -7529,7 +7529,7 @@ var styled$b = {
7529
7529
  }, timingFunctions$1.standard, function (props) {
7530
7530
  return props.styles;
7531
7531
  }),
7532
- Input: styled$h.input.withConfig({
7532
+ Input: styled$i.input.withConfig({
7533
7533
  displayName: "styles__Input",
7534
7534
  componentId: "sc-18bfcwf-1"
7535
7535
  })(["opacity:0;position:absolute;cursor:pointer;"]),
@@ -7563,18 +7563,18 @@ var Checkbox = function Checkbox(_ref) {
7563
7563
 
7564
7564
  var _props$checked = props.checked,
7565
7565
  conntroledChecked = _props$checked === void 0 ? checked : _props$checked;
7566
- return /*#__PURE__*/React__default.createElement(styled$b.Container, {
7566
+ return /*#__PURE__*/React__default.createElement(styled$c.Container, {
7567
7567
  checked: conntroledChecked,
7568
7568
  rounded: rounded,
7569
7569
  styles: styles
7570
- }, /*#__PURE__*/React__default.createElement(styled$b.Input, _extends$1({}, props, {
7570
+ }, /*#__PURE__*/React__default.createElement(styled$c.Input, _extends$1({}, props, {
7571
7571
  type: "checkbox",
7572
7572
  disabled: disabled,
7573
7573
  autoComplete: autoComplete ? 'on' : 'off',
7574
7574
  onChange: handleChange
7575
7575
  })), /*#__PURE__*/React__default.createElement(Icon, {
7576
7576
  name: "check_bold",
7577
- styles: styled$b.iconCheckStyles,
7577
+ styles: styled$c.iconCheckStyles,
7578
7578
  rounded: rounded
7579
7579
  }));
7580
7580
  };
@@ -7586,18 +7586,18 @@ Checkbox.defaultProps = {
7586
7586
  }
7587
7587
  };
7588
7588
 
7589
- var styled$a = {
7590
- Wrapper: styled$h.div.withConfig({
7589
+ var styled$b = {
7590
+ Wrapper: styled$i.div.withConfig({
7591
7591
  displayName: "styles__Wrapper",
7592
7592
  componentId: "sc-zbd85t-0"
7593
7593
  })(["display:flex;align-items:center;"]),
7594
- ColorSample: styled$h.div.withConfig({
7594
+ ColorSample: styled$i.div.withConfig({
7595
7595
  displayName: "styles__ColorSample",
7596
7596
  componentId: "sc-zbd85t-1"
7597
7597
  })(["display:block;width:16px;height:16px;background-color:", ";border:1px solid ", ";border-radius:50%;"], function (props) {
7598
7598
  return props.color;
7599
7599
  }, palette.grey),
7600
- Label: styled$h.span.withConfig({
7600
+ Label: styled$i.span.withConfig({
7601
7601
  displayName: "styles__Label",
7602
7602
  componentId: "sc-zbd85t-2"
7603
7603
  })(["margin-left:5px;text-transform:", ";"], function (props) {
@@ -7610,9 +7610,9 @@ var Color = function Color(_ref) {
7610
7610
  showLabel = _ref.showLabel;
7611
7611
  if (!color) return null;
7612
7612
  var colorCode = getColor(color);
7613
- return /*#__PURE__*/React__default.createElement(styled$a.Wrapper, null, /*#__PURE__*/React__default.createElement(styled$a.ColorSample, {
7613
+ return /*#__PURE__*/React__default.createElement(styled$b.Wrapper, null, /*#__PURE__*/React__default.createElement(styled$b.ColorSample, {
7614
7614
  color: colorCode
7615
- }), showLabel && /*#__PURE__*/React__default.createElement(styled$a.Label, {
7615
+ }), showLabel && /*#__PURE__*/React__default.createElement(styled$b.Label, {
7616
7616
  color: colorCode
7617
7617
  }, colorCode));
7618
7618
  };
@@ -7628,7 +7628,7 @@ var statusColor = function statusColor(props) {
7628
7628
  if (checked) return palette.blue;
7629
7629
  return palette.darkGrey;
7630
7630
  };
7631
- var Ball = styled$h.div.withConfig({
7631
+ var Ball = styled$i.div.withConfig({
7632
7632
  displayName: "styles__Ball",
7633
7633
  componentId: "sc-rtzdt3-0"
7634
7634
  })(["width:16px;height:16px;border-radius:50%;position:absolute;top:4px;left:4px;background-color:", ";transition:all ", " 0.2s;", ""], palette.white, timingFunctions$1.standard, function (props) {
@@ -7639,8 +7639,8 @@ var iconCheckStyles = css(["position:absolute;fill:", ";", ""], function (props)
7639
7639
  }, onlyPrint(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n\t\tfill: ", " !important;\n\t"])), function (props) {
7640
7640
  return props.checked ? palette.black : palette.darkGrey;
7641
7641
  }));
7642
- var styled$9 = {
7643
- OuterContainer: styled$h.div.withConfig({
7642
+ var styled$a = {
7643
+ OuterContainer: styled$i.div.withConfig({
7644
7644
  displayName: "styles__OuterContainer",
7645
7645
  componentId: "sc-rtzdt3-1"
7646
7646
  })(["display:flex;width:44px;align-items:center;pointer-events:", ";align-self:center;position:relative;", " &:active ", "{box-shadow:0px 0px 0px 10px ", ";", " svg{fill:", ";}}"], function (props) {
@@ -7650,12 +7650,12 @@ var styled$9 = {
7650
7650
  iconCheckStyles, function (props) {
7651
7651
  return props.checked ? palette.blue : palette.darkGrey;
7652
7652
  }),
7653
- Input: styled$h.input.withConfig({
7653
+ Input: styled$i.input.withConfig({
7654
7654
  displayName: "styles__Input",
7655
7655
  componentId: "sc-rtzdt3-2"
7656
7656
  })(["position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1;"]),
7657
7657
  Ball: Ball,
7658
- Container: styled$h.div.withConfig({
7658
+ Container: styled$i.div.withConfig({
7659
7659
  displayName: "styles__Container",
7660
7660
  componentId: "sc-rtzdt3-3"
7661
7661
  })(["width:44px;height:24px;background-color:", ";border-radius:50px;position:relative;", ""], function (props) {
@@ -7689,10 +7689,10 @@ var Switch = function Switch(_ref) {
7689
7689
 
7690
7690
  var _props$checked = props.checked,
7691
7691
  controledChecked = _props$checked === void 0 ? checked : _props$checked;
7692
- return /*#__PURE__*/React__default.createElement(styled$9.OuterContainer, {
7692
+ return /*#__PURE__*/React__default.createElement(styled$a.OuterContainer, {
7693
7693
  disabled: disabled,
7694
7694
  checked: checked
7695
- }, /*#__PURE__*/React__default.createElement(styled$9.Input, {
7695
+ }, /*#__PURE__*/React__default.createElement(styled$a.Input, {
7696
7696
  checked: controledChecked,
7697
7697
  id: id,
7698
7698
  name: name,
@@ -7700,10 +7700,10 @@ var Switch = function Switch(_ref) {
7700
7700
  disabled: disabled,
7701
7701
  autoComplete: autoComplete ? 'on' : 'off',
7702
7702
  onChange: handleChange
7703
- }), /*#__PURE__*/React__default.createElement(styled$9.Container, {
7703
+ }), /*#__PURE__*/React__default.createElement(styled$a.Container, {
7704
7704
  checked: controledChecked,
7705
7705
  disabled: disabled
7706
- }, /*#__PURE__*/React__default.createElement(styled$9.Ball, {
7706
+ }, /*#__PURE__*/React__default.createElement(styled$a.Ball, {
7707
7707
  checked: controledChecked,
7708
7708
  disabled: disabled
7709
7709
  }, /*#__PURE__*/React__default.createElement(Icon, {
@@ -7711,7 +7711,7 @@ var Switch = function Switch(_ref) {
7711
7711
  disabled: disabled,
7712
7712
  name: "check_bold",
7713
7713
  size: 16,
7714
- styles: styled$9.iconCheckStyles
7714
+ styles: styled$a.iconCheckStyles
7715
7715
  }))));
7716
7716
  };
7717
7717
 
@@ -7793,14 +7793,14 @@ var hoverAndFocusColor = function hoverAndFocusColor(props) {
7793
7793
  return palette.black;
7794
7794
  };
7795
7795
 
7796
- var styled$8 = {
7797
- Container: styled$h.div.withConfig({
7796
+ var styled$9 = {
7797
+ Container: styled$i.div.withConfig({
7798
7798
  displayName: "styles__Container",
7799
7799
  componentId: "sc-1fhkfhs-0"
7800
7800
  })(["position:relative;width:", ";"], function (props) {
7801
7801
  return props.fullWidth ? '100%' : 'auto';
7802
7802
  }),
7803
- FloatingLabel: styled$h.div.withConfig({
7803
+ FloatingLabel: styled$i.div.withConfig({
7804
7804
  displayName: "styles__FloatingLabel",
7805
7805
  componentId: "sc-1fhkfhs-1"
7806
7806
  })(["position:absolute;font-size:", ";font-weight:400;color:", ";height:30px;line-height:30px;bottom:0;left:0;", " transform-origin:top left;transform:", ";transition:all 0.2s ", ";", ""], fontSize$1, function (props) {
@@ -7815,7 +7815,7 @@ var styled$8 = {
7815
7815
  isFloating = _ref2.isFloating;
7816
7816
  return hasIcon && !isFloating && "padding-left: 32px";
7817
7817
  }),
7818
- Input: styled$h.input.withConfig({
7818
+ Input: styled$i.input.withConfig({
7819
7819
  displayName: "styles__Input",
7820
7820
  componentId: "sc-1fhkfhs-2"
7821
7821
  })(["@keyframes onAutoFill{}", " height:34px;border:none;font-size:", ";font-weight:400;color:", ";transition:color 0.2s ", ";cursor:pointer;width:100%;border-bottom:1px solid ", ";border-radius:0;", " ", " ", " &:hover{border-color:", ";}&:focus{border-color:", ";caret-color:", ";outline:none;}&:disabled{background-color:", ";color:", ";border-color:", ";cursor:default;}&:-webkit-autofill{animation-name:onAutoFill;}::-webkit-inner-spin-button{appearance:none;}", ""], function (props) {
@@ -7836,11 +7836,11 @@ var styled$8 = {
7836
7836
  }, function (props) {
7837
7837
  return hoverAndFocusColor(props);
7838
7838
  }, palette.white, palette.grey, palette.grey, mediaBreaks.onlyPrint(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n\t\t\tborder-bottom: none;\n\t\t"])))),
7839
- ErrorMessage: styled$h.span.withConfig({
7839
+ ErrorMessage: styled$i.span.withConfig({
7840
7840
  displayName: "styles__ErrorMessage",
7841
7841
  componentId: "sc-1fhkfhs-3"
7842
7842
  })(["color:", ";font-size:12px;line-height:14px;transform:translateY(-6px);word-break:break-word;"], palette.statusRed),
7843
- InputIcon: styled$h(Icon).withConfig({
7843
+ InputIcon: styled$i(Icon).withConfig({
7844
7844
  displayName: "styles__InputIcon",
7845
7845
  componentId: "sc-1fhkfhs-4"
7846
7846
  })(["position:absolute;flex-shrink:0;flex-grow:0;margin-right:8px;height:100%;"])
@@ -7946,11 +7946,11 @@ var Input = /*#__PURE__*/function (_PureComponent) {
7946
7946
 
7947
7947
  var autoCompleteOff = props.type === 'password' ? 'new-password' : 'off';
7948
7948
  var isFloating = isFocused || !!value.toString();
7949
- return /*#__PURE__*/React__default.createElement(styled$8.Container, {
7949
+ return /*#__PURE__*/React__default.createElement(styled$9.Container, {
7950
7950
  fullWidth: props.fullWidth
7951
- }, /*#__PURE__*/React__default.createElement(styled$8.Container, {
7951
+ }, /*#__PURE__*/React__default.createElement(styled$9.Container, {
7952
7952
  fullWidth: props.fullWidth
7953
- }, hasFloatingLabel && /*#__PURE__*/React__default.createElement(styled$8.FloatingLabel, {
7953
+ }, hasFloatingLabel && /*#__PURE__*/React__default.createElement(styled$9.FloatingLabel, {
7954
7954
  "data-test": "floatingLabel",
7955
7955
  error: error,
7956
7956
  onClick: this.handleLabelClick,
@@ -7959,10 +7959,10 @@ var Input = /*#__PURE__*/function (_PureComponent) {
7959
7959
  isFloating: isFloating,
7960
7960
  hasIcon: !!icon,
7961
7961
  isTranslateActive: isTranslateActive
7962
- }, props.label), icon && /*#__PURE__*/React__default.createElement(styled$8.InputIcon, {
7962
+ }, props.label), icon && /*#__PURE__*/React__default.createElement(styled$9.InputIcon, {
7963
7963
  name: icon,
7964
7964
  color: error ? 'statusRed' : 'black'
7965
- }), /*#__PURE__*/React__default.createElement(styled$8.Input, _extends$1({}, props, {
7965
+ }), /*#__PURE__*/React__default.createElement(styled$9.Input, _extends$1({}, props, {
7966
7966
  ref: this.input,
7967
7967
  placeholder: hasFloatingLabel && !isFloating ? '' : placeholder,
7968
7968
  onBlur: this.handleBlur,
@@ -7975,7 +7975,7 @@ var Input = /*#__PURE__*/function (_PureComponent) {
7975
7975
  error: error,
7976
7976
  hasIcon: !!icon,
7977
7977
  onAnimationStart: this.handleFocus
7978
- }))), error && /*#__PURE__*/React__default.createElement(styled$8.ErrorMessage, {
7978
+ }))), error && /*#__PURE__*/React__default.createElement(styled$9.ErrorMessage, {
7979
7979
  "data-test": "errorMessage"
7980
7980
  }, errorMessage));
7981
7981
  }
@@ -8021,14 +8021,14 @@ var placeholderColor = function placeholderColor(props) {
8021
8021
  return palette.darkGreyPressed;
8022
8022
  };
8023
8023
 
8024
- var styled$7 = {
8025
- Container: styled$h.div.withConfig({
8024
+ var styled$8 = {
8025
+ Container: styled$i.div.withConfig({
8026
8026
  displayName: "styles__Container",
8027
8027
  componentId: "sc-wtau65-0"
8028
8028
  })(["position:relative;width:", ";"], function (props) {
8029
8029
  return props.fullWidth ? '100%' : 'auto';
8030
8030
  }),
8031
- Textarea: styled$h.textarea.withConfig({
8031
+ Textarea: styled$i.textarea.withConfig({
8032
8032
  displayName: "styles__Textarea",
8033
8033
  componentId: "sc-wtau65-1"
8034
8034
  })(["border:none;border-bottom:1px solid ", ";border-radius:0;height:23px;max-height:350px;padding:0 9px 4px 0;resize:none;font-size:", ";font-weight:400;color:", ";", ";width:", ";", " ", " &:hover{border-color:", ";}&:focus{border-color:", ";caret-color:", ";outline:none;}&:disabled{background-color:", ";color:", ";border-color:", ";cursor:default;}", " ", ""], palette.grey, fontSize, palette.black, mixins.transition('color,border-color', '0.2s'), function (props) {
@@ -8038,7 +8038,7 @@ var styled$7 = {
8038
8038
  })), mixins.scrollbar(palette.grey, palette.base), palette.black, palette.blue, palette.blue, palette.white, palette.grey, palette.grey, function (props) {
8039
8039
  return props.error && "\n\t\t\t&, &:hover, &:focus {\n\t\t\t\tborder-color: ".concat(palette.statusRed, "\n\t\t\t}\n\t\t");
8040
8040
  }, mediaBreaks.onlyPrint(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\tmin-height: initial;\n\t\t\theight: auto !important;\n\t\t\tborder-bottom: none;\n\t\t"])))),
8041
- FloatingLabel: styled$h.div.withConfig({
8041
+ FloatingLabel: styled$i.div.withConfig({
8042
8042
  displayName: "styles__FloatingLabel",
8043
8043
  componentId: "sc-wtau65-2"
8044
8044
  })(["position:absolute;font-size:", ";font-weight:400;color:", ";height:24px;line-height:22px;top:0;left:0;pointer-events:", ";transform-origin:top left;transform:", ";transition:all 0.2s ", ";"], fontSize, function (props) {
@@ -8049,7 +8049,7 @@ var styled$7 = {
8049
8049
  }, function (props) {
8050
8050
  return props.isFloating && 'translate(0, -18px) scale(0.75)';
8051
8051
  }, timingFunctions.standard),
8052
- ErrorMessage: styled$h.span.withConfig({
8052
+ ErrorMessage: styled$i.span.withConfig({
8053
8053
  displayName: "styles__ErrorMessage",
8054
8054
  componentId: "sc-wtau65-3"
8055
8055
  })(["color:", ";font-size:12px;line-height:14px;display:block;word-break:break-word;"], palette.statusRed)
@@ -8160,9 +8160,9 @@ var Textarea = /*#__PURE__*/function (_PureComponent) {
8160
8160
  var props = _objectWithoutProperties(_this$props, _excluded$4);
8161
8161
 
8162
8162
  var isFloating = isFocused || !!value;
8163
- return /*#__PURE__*/React__default.createElement(styled$7.Container, {
8163
+ return /*#__PURE__*/React__default.createElement(styled$8.Container, {
8164
8164
  fullWidth: props.fullWidth
8165
- }, hasFloatingLabel && /*#__PURE__*/React__default.createElement(styled$7.FloatingLabel, _extends$1({}, props, {
8165
+ }, hasFloatingLabel && /*#__PURE__*/React__default.createElement(styled$8.FloatingLabel, _extends$1({}, props, {
8166
8166
  "data-test": "floatingLabel",
8167
8167
  error: error,
8168
8168
  onClick: this.handleLabelClick,
@@ -8170,7 +8170,7 @@ var Textarea = /*#__PURE__*/function (_PureComponent) {
8170
8170
  isFocused: isFocused,
8171
8171
  isFloating: isFloating,
8172
8172
  isTranslateActive: isTranslateActive
8173
- }), label), /*#__PURE__*/React__default.createElement(styled$7.Textarea, _extends$1({}, props, {
8173
+ }), label), /*#__PURE__*/React__default.createElement(styled$8.Textarea, _extends$1({}, props, {
8174
8174
  ref: this.textarea,
8175
8175
  placeholder: hasFloatingLabel && !isFloating ? '' : placeholder,
8176
8176
  onBlur: this.handleBlur,
@@ -8181,7 +8181,7 @@ var Textarea = /*#__PURE__*/function (_PureComponent) {
8181
8181
  value: value,
8182
8182
  autoComplete: autoComplete ? 'on' : 'off',
8183
8183
  disabled: disabled
8184
- })), error && /*#__PURE__*/React__default.createElement(styled$7.ErrorMessage, {
8184
+ })), error && /*#__PURE__*/React__default.createElement(styled$8.ErrorMessage, {
8185
8185
  "data-test": "errorMessage"
8186
8186
  }, errorMessage));
8187
8187
  }
@@ -8249,8 +8249,8 @@ var getBorders = function getBorders(value) {
8249
8249
  return 'initial';
8250
8250
  };
8251
8251
 
8252
- var styled$6 = {
8253
- ImageWrapper: styled$h.div.withConfig({
8252
+ var styled$7 = {
8253
+ ImageWrapper: styled$i.div.withConfig({
8254
8254
  displayName: "styles__ImageWrapper",
8255
8255
  componentId: "sc-vrvp1c-0"
8256
8256
  })(["width:", ";height:", ";border-radius:", ";", ";overflow:hidden;display:flex;justify-content:center;align-items:center;"], function (_ref) {
@@ -8266,7 +8266,7 @@ var styled$6 = {
8266
8266
  var background = _ref4.background;
8267
8267
  return background && "background-color: ".concat(background);
8268
8268
  }),
8269
- Image: styled$h.img.withConfig({
8269
+ Image: styled$i.img.withConfig({
8270
8270
  displayName: "styles__Image",
8271
8271
  componentId: "sc-vrvp1c-1"
8272
8272
  })(["width:", ";height:", ";border-radius:", ";"], function (_ref5) {
@@ -8295,7 +8295,7 @@ var Image = function Image(_ref) {
8295
8295
  errorImage = _useState2[0],
8296
8296
  setErrorImage = _useState2[1];
8297
8297
 
8298
- return errorImage ? /*#__PURE__*/React__default.createElement(styled$6.ImageWrapper, {
8298
+ return errorImage ? /*#__PURE__*/React__default.createElement(styled$7.ImageWrapper, {
8299
8299
  background: background,
8300
8300
  width: width || height,
8301
8301
  height: height || width
@@ -8303,7 +8303,7 @@ var Image = function Image(_ref) {
8303
8303
  name: errorImage,
8304
8304
  size: (width || height) * 0.35 || 20,
8305
8305
  color: palette.lightGreyPressed
8306
- })) : /*#__PURE__*/React__default.createElement(styled$6.Image, {
8306
+ })) : /*#__PURE__*/React__default.createElement(styled$7.Image, {
8307
8307
  src: url,
8308
8308
  alt: altText || url,
8309
8309
  width: width,
@@ -9103,8 +9103,8 @@ QRCode.defaultProps = {
9103
9103
 
9104
9104
  function u(){return (u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);}return e}).apply(this,arguments)}function c(e,r){if(null==e)return {};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function i(e){var t=useRef(e),n=useRef(function(e){t.current&&t.current(e);});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},f=function(e){return "touches"in e},v=function(e){return e&&e.ownerDocument.defaultView||self},d=function(e,r,t){var n=e.getBoundingClientRect(),o=f(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return {left:s((o.pageX-(n.left+v(e).pageXOffset))/n.width),top:s((o.pageY-(n.top+v(e).pageYOffset))/n.height)}},h=function(e){!f(e)&&e.preventDefault();},m=React__default.memo(function(o){var a=o.onMove,l=o.onKey,s=c(o,["onMove","onKey"]),m=useRef(null),g=i(a),p=i(l),b=useRef(null),_=useRef(!1),x=useMemo(function(){var e=function(e){h(e),(f(e)?e.touches.length>0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1);},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r);}return [function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier);}n.focus(),g(d(n,r,b.current)),t(!0);}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}));},t]},[p,g]),C=x[0],E=x[1],H=x[2];return useEffect(function(){return H},[H]),React__default.createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))}),g=function(e){return e.filter(Boolean).join(" ")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return React__default.createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},React__default.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},x=function(e){return "#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},N=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return {h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},w=function(e){var r=N(e);return "hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},q=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return {r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},z=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},B=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return {h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},K=React__default.memo(function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return React__default.createElement("div",{className:o},React__default.createElement(m,{onMove:function(e){n({h:360*e.left});},onKey:function(e){n({h:s(t+360*e.left,0,360)});},"aria-label":"Hue","aria-valuetext":b(t)},React__default.createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:w({h:t,s:100,v:100,a:1})})))}),L=React__default.memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:w({h:t.h,s:100,v:100,a:1})};return React__default.createElement("div",{className:"react-colorful__saturation",style:o},React__default.createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top});},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)});},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},React__default.createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:w(t)})))}),A=function(e,r){if(e===r)return !0;for(var t in e)if(e[t]!==r[t])return !1;return !0};function T(e,t,l){var u=i(l),c=useState(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=useRef({color:t,hsva:s});useEffect(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r);}},[t,e]),useEffect(function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r));},[s,e,u]);var d=useCallback(function(e){f(function(r){return Object.assign({},r,e)});},[]);return [s,d]}var P="undefined"!=typeof window?useLayoutEffect:useEffect,X=function(){return ("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0)},R=new Map,V=function(e){P(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=X();n&&t.setAttribute("nonce",n),r.head.appendChild(t);}},[]);},$$4=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=useRef(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return React__default.createElement("div",u({},s,{ref:f,className:m}),React__default.createElement(L,{hsva:d,onChange:h}),React__default.createElement(K,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},G={defaultColor:"000",toHsva:function(e){return B(x(e))},fromHsva:function(e){return t=(r=q(e)).g,n=r.b,"#"+z(r.r)+z(t)+z(n);var r,t,n;},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||A(x(e),x(r))}},J=function(r){return React__default.createElement($$4,u({},r,{colorModel:G}))};
9105
9105
 
9106
- var styled$5 = {
9107
- ClickableWrapper: styled$h.div.withConfig({
9106
+ var styled$6 = {
9107
+ ClickableWrapper: styled$i.div.withConfig({
9108
9108
  displayName: "styles__ClickableWrapper",
9109
9109
  componentId: "sc-lreg3c-0"
9110
9110
  })(["display:flex;align-items:center;border:none;cursor:pointer;&:before{content:'';z-index:1;display:inline-block;border:1px solid ", ";background-color:", ";border-radius:48%;width:14px;height:14px;margin:7px 4px;position:absolute;margin-bottom:", "px;}"], palette.grey, function (props) {
@@ -9112,19 +9112,19 @@ var styled$5 = {
9112
9112
  }, function (props) {
9113
9113
  return props.error ? '25' : '7';
9114
9114
  }),
9115
- ClosePickerWrapper: styled$h.div.withConfig({
9115
+ ClosePickerWrapper: styled$i.div.withConfig({
9116
9116
  displayName: "styles__ClosePickerWrapper",
9117
9117
  componentId: "sc-lreg3c-1"
9118
9118
  })(["position:fixed;top:0px;right:0px;bottom:0px;left:0px;"]),
9119
- Input: styled$h(Input).withConfig({
9119
+ Input: styled$i(Input).withConfig({
9120
9120
  displayName: "styles__Input",
9121
9121
  componentId: "sc-lreg3c-2"
9122
9122
  })(["padding-left:26px;"]),
9123
- PickerWrapper: styled$h.div.withConfig({
9123
+ PickerWrapper: styled$i.div.withConfig({
9124
9124
  displayName: "styles__PickerWrapper",
9125
9125
  componentId: "sc-lreg3c-3"
9126
9126
  })(["position:absolute;top:31px;z-index:2;left:0;margin-top:15px;"]),
9127
- Wrapper: styled$h.div.withConfig({
9127
+ Wrapper: styled$i.div.withConfig({
9128
9128
  displayName: "styles__Wrapper",
9129
9129
  componentId: "sc-lreg3c-4"
9130
9130
  })(["display:flex;flex-direction:column;width:100%;position:relative;"])
@@ -9168,13 +9168,13 @@ var ColorPicker = function ColorPicker(_ref) {
9168
9168
  var value = colorValue || DEFAULT_COLOR;
9169
9169
 
9170
9170
  if (isCollapsable) {
9171
- return /*#__PURE__*/React__default.createElement(styled$5.Wrapper, null, /*#__PURE__*/React__default.createElement(styled$5.ClickableWrapper, {
9171
+ return /*#__PURE__*/React__default.createElement(styled$6.Wrapper, null, /*#__PURE__*/React__default.createElement(styled$6.ClickableWrapper, {
9172
9172
  "data-test": "collapsible-picker",
9173
9173
  color: value,
9174
9174
  role: "presentation",
9175
9175
  onClick: toggleStateVisible,
9176
9176
  error: error
9177
- }, /*#__PURE__*/React__default.createElement(styled$5.Input, {
9177
+ }, /*#__PURE__*/React__default.createElement(styled$6.Input, {
9178
9178
  value: colorValue,
9179
9179
  fullWidth: true,
9180
9180
  onChange: function onChange(_ref2) {
@@ -9183,10 +9183,10 @@ var ColorPicker = function ColorPicker(_ref) {
9183
9183
  },
9184
9184
  errorMessage: errorMessage,
9185
9185
  error: error
9186
- })), pickerVisible && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(styled$5.ClosePickerWrapper, {
9186
+ })), pickerVisible && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(styled$6.ClosePickerWrapper, {
9187
9187
  onClick: handleClosePicker,
9188
9188
  role: "presentation"
9189
- }), /*#__PURE__*/React__default.createElement(styled$5.PickerWrapper, null, /*#__PURE__*/React__default.createElement(J, {
9189
+ }), /*#__PURE__*/React__default.createElement(styled$6.PickerWrapper, null, /*#__PURE__*/React__default.createElement(J, {
9190
9190
  color: value,
9191
9191
  onChange: change
9192
9192
  }))));
@@ -9244,9 +9244,9 @@ var FrameContextProvider = FrameContext.Provider,
9244
9244
  Context.FrameContextProvider = FrameContextProvider;
9245
9245
  Context.FrameContextConsumer = FrameContextConsumer;
9246
9246
 
9247
- var Content$2 = {};
9247
+ var Content$3 = {};
9248
9248
 
9249
- Object.defineProperty(Content$2, "__esModule", {
9249
+ Object.defineProperty(Content$3, "__esModule", {
9250
9250
  value: true
9251
9251
  });
9252
9252
 
@@ -9269,7 +9269,7 @@ function _possibleConstructorReturn$1(self, call) { if (!self) { throw new Refer
9269
9269
  function _inherits$1(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // eslint-disable-line no-unused-vars
9270
9270
 
9271
9271
 
9272
- var Content$1 = function (_Component) {
9272
+ var Content$2 = function (_Component) {
9273
9273
  _inherits$1(Content, _Component);
9274
9274
 
9275
9275
  function Content() {
@@ -9298,12 +9298,12 @@ var Content$1 = function (_Component) {
9298
9298
  return Content;
9299
9299
  }(_react$1.Component);
9300
9300
 
9301
- Content$1.propTypes = {
9301
+ Content$2.propTypes = {
9302
9302
  children: _propTypes2$1.default.element.isRequired,
9303
9303
  contentDidMount: _propTypes2$1.default.func.isRequired,
9304
9304
  contentDidUpdate: _propTypes2$1.default.func.isRequired
9305
9305
  };
9306
- Content$2.default = Content$1;
9306
+ Content$3.default = Content$2;
9307
9307
 
9308
9308
  Object.defineProperty(Frame$2, "__esModule", {
9309
9309
  value: true
@@ -9328,7 +9328,7 @@ var _propTypes2 = _interopRequireDefault(_propTypes);
9328
9328
 
9329
9329
  var _Context = Context;
9330
9330
 
9331
- var _Content = Content$2;
9331
+ var _Content = Content$3;
9332
9332
 
9333
9333
  var _Content2 = _interopRequireDefault(_Content);
9334
9334
 
@@ -9550,12 +9550,12 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
9550
9550
 
9551
9551
  var Frame = /*@__PURE__*/getDefaultExportFromCjs(lib$1);
9552
9552
 
9553
- var styled$4 = {
9554
- Wrapper: styled$h.div.withConfig({
9553
+ var styled$5 = {
9554
+ Wrapper: styled$i.div.withConfig({
9555
9555
  displayName: "styles__Wrapper",
9556
9556
  componentId: "sc-3jodl7-0"
9557
9557
  })(["display:flex;align-items:center;align-self:center;height:100%;max-height:36px;overflow:hidden;white-space:nowrap;"]),
9558
- Icon: styled$h(Icon).withConfig({
9558
+ Icon: styled$i(Icon).withConfig({
9559
9559
  displayName: "styles__Icon",
9560
9560
  componentId: "sc-3jodl7-1"
9561
9561
  })(["margin-right:6px;flex-shrink:0;"])
@@ -9563,7 +9563,7 @@ var styled$4 = {
9563
9563
 
9564
9564
  var DefaultError = function DefaultError(_ref) {
9565
9565
  var message = _ref.message;
9566
- return /*#__PURE__*/React__default.createElement(styled$4.Wrapper, null, /*#__PURE__*/React__default.createElement(styled$4.Icon, {
9566
+ return /*#__PURE__*/React__default.createElement(styled$5.Wrapper, null, /*#__PURE__*/React__default.createElement(styled$5.Icon, {
9567
9567
  name: "exclamation_circle",
9568
9568
  color: "statusRed"
9569
9569
  }), /*#__PURE__*/React__default.createElement("p", {
@@ -9675,12 +9675,12 @@ HTML.defaultProps = {
9675
9675
  height: 'medium'
9676
9676
  };
9677
9677
 
9678
- var styled$3 = {
9679
- LinkWrapper: styled$h.div.withConfig({
9678
+ var styled$4 = {
9679
+ LinkWrapper: styled$i.div.withConfig({
9680
9680
  displayName: "styles__LinkWrapper",
9681
9681
  componentId: "sc-fhfdft-0"
9682
9682
  })(["display:flex;color:", ";align-items:center;font-size:13px;& a{text-decoration:none;color:inherit;}"], getColor('blue')),
9683
- StyledIcon: styled$h(Icon).withConfig({
9683
+ StyledIcon: styled$i(Icon).withConfig({
9684
9684
  displayName: "styles__StyledIcon",
9685
9685
  componentId: "sc-fhfdft-1"
9686
9686
  })(["margin-right:8px;"])
@@ -9696,12 +9696,12 @@ var Link = function Link(_ref) {
9696
9696
  props = _objectWithoutProperties(_ref, _excluded$3);
9697
9697
 
9698
9698
  var renderIcon = function renderIcon() {
9699
- return icon ? /*#__PURE__*/React__default.createElement(styled$3.StyledIcon, {
9699
+ return icon ? /*#__PURE__*/React__default.createElement(styled$4.StyledIcon, {
9700
9700
  name: icon
9701
9701
  }) : null;
9702
9702
  };
9703
9703
 
9704
- return /*#__PURE__*/React__default.createElement(styled$3.LinkWrapper, props, renderIcon(), /*#__PURE__*/React__default.createElement("a", {
9704
+ return /*#__PURE__*/React__default.createElement(styled$4.LinkWrapper, props, renderIcon(), /*#__PURE__*/React__default.createElement("a", {
9705
9705
  href: href,
9706
9706
  target: target
9707
9707
  }, children || href));
@@ -9778,7 +9778,7 @@ var setPosition = function setPosition(position, open) {
9778
9778
  return positions[position];
9779
9779
  };
9780
9780
 
9781
- var Drawer$1 = styled$h.div.withConfig({
9781
+ var Drawer$1 = styled$i.div.withConfig({
9782
9782
  displayName: "styles__Drawer",
9783
9783
  componentId: "sc-1tz9fgf-0"
9784
9784
  })(["box-sizing:border-box;background-color:#ffffff;overflow:hidden;position:absolute;box-shadow:0px 2px 5px 0px #27394727;border-radius:3px;", ";z-index:999;"], function (_ref3) {
@@ -9788,29 +9788,29 @@ var Drawer$1 = styled$h.div.withConfig({
9788
9788
  var transitionTime = transitionDuration / 1000;
9789
9789
  return css(["", ";", ";"], position && setPosition(position, open), transitionDuration && "transition: ".concat(getPropertyForTransition(position), " ").concat(transitionTime, "s ease"));
9790
9790
  });
9791
- var Content = styled$h.div.withConfig({
9791
+ var Content$1 = styled$i.div.withConfig({
9792
9792
  displayName: "styles__Content",
9793
9793
  componentId: "sc-1tz9fgf-1"
9794
9794
  })(["min-height:300px;min-width:300px;box-sizing:border-box;padding:16px 28px 32px 32px;"]);
9795
- var Header = styled$h.div.withConfig({
9795
+ var Header = styled$i.div.withConfig({
9796
9796
  displayName: "styles__Header",
9797
9797
  componentId: "sc-1tz9fgf-2"
9798
9798
  })(["display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;"]);
9799
- var CloseBtn = styled$h(Button).withConfig({
9799
+ var CloseBtn = styled$i(Button).withConfig({
9800
9800
  displayName: "styles__CloseBtn",
9801
9801
  componentId: "sc-1tz9fgf-3"
9802
9802
  })(["padding:0;background-color:transparent;margin-left:auto;"]);
9803
- var Children = styled$h.div.withConfig({
9803
+ var Children = styled$i.div.withConfig({
9804
9804
  displayName: "styles__Children",
9805
9805
  componentId: "sc-1tz9fgf-4"
9806
9806
  })(["width:inherit;"]);
9807
- var Overlay = styled$h.div.withConfig({
9807
+ var Overlay = styled$i.div.withConfig({
9808
9808
  displayName: "styles__Overlay",
9809
9809
  componentId: "sc-1tz9fgf-5"
9810
9810
  })(["position:absolute;width:100%;height:100%;top:0;left:0;visibility:hidden;pointer-events:none;z-index:998;"]);
9811
- var styled$2 = {
9811
+ var styled$3 = {
9812
9812
  Drawer: Drawer$1,
9813
- Content: Content,
9813
+ Content: Content$1,
9814
9814
  Header: Header,
9815
9815
  CloseBtn: CloseBtn,
9816
9816
  Children: Children,
@@ -9832,16 +9832,16 @@ var Drawer = function Drawer(_ref) {
9832
9832
  var drawerRef = useRef(null);
9833
9833
  return /*#__PURE__*/React__default.createElement(ClickAwayListener, {
9834
9834
  onClickAway: closeOnClickAway && open && handleClose
9835
- }, /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(styled$2.Drawer, _extends$1({
9835
+ }, /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(styled$3.Drawer, _extends$1({
9836
9836
  open: open,
9837
9837
  position: position,
9838
9838
  transitionDuration: transitionDuration,
9839
9839
  fullScreen: fullScreen,
9840
9840
  className: "drawer",
9841
9841
  ref: drawerRef
9842
- }, props), /*#__PURE__*/React__default.createElement(styled$2.Content, {
9842
+ }, props), /*#__PURE__*/React__default.createElement(styled$3.Content, {
9843
9843
  className: "drawer__content"
9844
- }, /*#__PURE__*/React__default.createElement(styled$2.Header, null, handleClose && typeof handleClose === 'function' && /*#__PURE__*/React__default.createElement(styled$2.CloseBtn, {
9844
+ }, /*#__PURE__*/React__default.createElement(styled$3.Header, null, handleClose && typeof handleClose === 'function' && /*#__PURE__*/React__default.createElement(styled$3.CloseBtn, {
9845
9845
  onClick: handleClose,
9846
9846
  type: "button",
9847
9847
  rounded: true
@@ -9850,7 +9850,7 @@ var Drawer = function Drawer(_ref) {
9850
9850
  name: "cross_light",
9851
9851
  width: 24,
9852
9852
  height: 24
9853
- }))), /*#__PURE__*/React__default.createElement(styled$2.Children, null, children))), /*#__PURE__*/React__default.createElement(styled$2.Overlay, {
9853
+ }))), /*#__PURE__*/React__default.createElement(styled$3.Children, null, children))), /*#__PURE__*/React__default.createElement(styled$3.Overlay, {
9854
9854
  className: "drawer__overlay",
9855
9855
  transitionDuration: transitionDuration
9856
9856
  })));
@@ -15917,16 +15917,23 @@ class Autocomplete extends React.PureComponent {
15917
15917
  }
15918
15918
  Autocomplete.contextType = MapContext;
15919
15919
 
15920
+ var Content = styled$i.div.withConfig({
15921
+ displayName: "styles__Content",
15922
+ componentId: "sc-1sl7owm-0"
15923
+ })(["padding:10px;"]);
15924
+ var styled$2 = {
15925
+ Content: Content
15926
+ };
15927
+
15920
15928
  var InfoWindow = function InfoWindow(_ref) {
15921
15929
  var infoWindowHandles = _ref.infoWindowHandles,
15922
15930
  data = _ref.data,
15923
15931
  children = _ref.children;
15924
-
15925
- var infoWindowProps = _objectSpread2({}, infoWindowHandles);
15926
-
15927
- return /*#__PURE__*/React__default.createElement("div", infoWindowProps, /*#__PURE__*/React__default.createElement(InfoWindow$1, {
15932
+ return /*#__PURE__*/React__default.createElement(InfoWindow$1, {
15928
15933
  position: data
15929
- }, children));
15934
+ }, /*#__PURE__*/React__default.createElement(styled$2.Content, _extends$1({
15935
+ className: "google-map-component__info-window--content"
15936
+ }, infoWindowHandles), children));
15930
15937
  };
15931
15938
 
15932
15939
  var getCoordsFromEvent = function getCoordsFromEvent() {
@@ -15977,11 +15984,12 @@ var Marker = function Marker(_ref) {
15977
15984
  position = _ref2.position,
15978
15985
  animation = _ref2.animation,
15979
15986
  overlay = _ref2.overlay,
15980
- infoWindowChildren = _ref2.infoWindowChildren,
15981
15987
  isDraggable = _ref2.isDraggable,
15982
- zIndex = _ref2.zIndex;
15988
+ zIndex = _ref2.zIndex,
15989
+ infoWindowOpen = _ref2.infoWindowOpen;
15983
15990
 
15984
- var _markerOptions$onLoad = markerOptions.onLoad,
15991
+ var infoWindowContent = markerOptions.infoWindowContent,
15992
+ _markerOptions$onLoad = markerOptions.onLoad,
15985
15993
  _onLoad = _markerOptions$onLoad === void 0 ? function () {} : _markerOptions$onLoad,
15986
15994
  _markerOptions$onClic = markerOptions.onClick,
15987
15995
  _onClick = _markerOptions$onClic === void 0 ? function () {} : _markerOptions$onClic,
@@ -15990,32 +15998,18 @@ var Marker = function Marker(_ref) {
15990
15998
  _markerOptions$onDrag2 = markerOptions.onDragStart,
15991
15999
  _onDragStart = _markerOptions$onDrag2 === void 0 ? function () {} : _markerOptions$onDrag2,
15992
16000
  _markerOptions$onDrag3 = markerOptions.onDragEnd,
15993
- _onDragEnd = _markerOptions$onDrag3 === void 0 ? function () {} : _markerOptions$onDrag3;
16001
+ _onDragEnd = _markerOptions$onDrag3 === void 0 ? function () {} : _markerOptions$onDrag3,
16002
+ _markerOptions$onMark = markerOptions.onMarkerMouseOver,
16003
+ onMarkerMouseOver = _markerOptions$onMark === void 0 ? function () {} : _markerOptions$onMark,
16004
+ _markerOptions$onMark2 = markerOptions.onMarkerMouseOut,
16005
+ onMarkerMouseOut = _markerOptions$onMark2 === void 0 ? function () {} : _markerOptions$onMark2,
16006
+ _markerOptions$onInfo = markerOptions.onInfoWindowMouseEnter,
16007
+ onInfoWindowMouseEnter = _markerOptions$onInfo === void 0 ? function () {} : _markerOptions$onInfo,
16008
+ _markerOptions$onInfo2 = markerOptions.onInfoWindowMouseLeave,
16009
+ onInfoWindowMouseLeave = _markerOptions$onInfo2 === void 0 ? function () {} : _markerOptions$onInfo2;
15994
16010
 
15995
16011
  var markerRef = useRef(null);
15996
16012
  var timeoutRef = useRef(null);
15997
-
15998
- var _useState3 = useState(false),
15999
- _useState4 = _slicedToArray(_useState3, 2),
16000
- infoWindowOpen = _useState4[0],
16001
- setInfoWindowOpen = _useState4[1];
16002
-
16003
- var _useState5 = useState(false),
16004
- _useState6 = _slicedToArray(_useState5, 2),
16005
- mouseOverInfoWindow = _useState6[0],
16006
- setMouseOverInfoWindow = _useState6[1];
16007
-
16008
- var openInfoWindow = function openInfoWindow() {
16009
- return setInfoWindowOpen(true);
16010
- };
16011
-
16012
- var closeInfoWindow = function closeInfoWindow() {
16013
- return setInfoWindowOpen(false);
16014
- };
16015
-
16016
- var delayedInfoWindowHover = debounce(function () {
16017
- if (!mouseOverInfoWindow) closeInfoWindow();
16018
- }, 100);
16019
16013
  useEffect(function () {
16020
16014
  setMarker(markerData);
16021
16015
  }, [markerData]);
@@ -16094,22 +16088,16 @@ var Marker = function Marker(_ref) {
16094
16088
  },
16095
16089
  onMouseOver: function onMouseOver() {
16096
16090
  if (isValidAnimation(animation)) stopAnimation();
16097
- openInfoWindow();
16091
+ onMarkerMouseOver();
16098
16092
  },
16099
16093
  onMouseOut: function onMouseOut() {
16100
16094
  if (isValidAnimation(animation)) startAnimation();
16101
- delayedInfoWindowHover();
16095
+ onMarkerMouseOut();
16102
16096
  }
16103
16097
  };
16104
16098
  var infoWindowHandles = {
16105
- onMouseEnter: function onMouseEnter() {
16106
- delayedInfoWindowHover.cancel();
16107
- setMouseOverInfoWindow(true);
16108
- },
16109
- onMouseLeave: function onMouseLeave() {
16110
- closeInfoWindow();
16111
- setMouseOverInfoWindow(false);
16112
- }
16099
+ onMouseEnter: onInfoWindowMouseEnter,
16100
+ onMouseLeave: onInfoWindowMouseLeave
16113
16101
  };
16114
16102
 
16115
16103
  var _getPixelPositionOffset = function getPixelPositionOffset(width) {
@@ -16126,11 +16114,11 @@ var Marker = function Marker(_ref) {
16126
16114
  getPixelPositionOffset: function getPixelPositionOffset(width) {
16127
16115
  return _getPixelPositionOffset(width);
16128
16116
  }
16129
- }, overlay()), infoWindowOpen && infoWindowChildren && /*#__PURE__*/React__default.createElement(InfoWindow, {
16117
+ }, overlay()), infoWindowOpen && infoWindowContent && /*#__PURE__*/React__default.createElement(InfoWindow, {
16130
16118
  className: "google-map-component__info-window",
16131
16119
  data: position,
16132
16120
  infoWindowHandles: infoWindowHandles
16133
- }, infoWindowChildren()));
16121
+ }, infoWindowContent()));
16134
16122
  };
16135
16123
 
16136
16124
  var Marker$1 = /*#__PURE__*/React__default.memo(Marker, function (prev, next) {
@@ -16146,14 +16134,75 @@ var Markers = function Markers(_ref) {
16146
16134
  markers = _ref$markers === void 0 ? [] : _ref$markers,
16147
16135
  _ref$markerOptions = _ref.markerOptions,
16148
16136
  markerOptions = _ref$markerOptions === void 0 ? {} : _ref$markerOptions;
16137
+
16138
+ var _useState = useState(null),
16139
+ _useState2 = _slicedToArray(_useState, 2),
16140
+ activeMarkerId = _useState2[0],
16141
+ setActiveMarkerId = _useState2[1];
16142
+
16143
+ var _useState3 = useState(false),
16144
+ _useState4 = _slicedToArray(_useState3, 2),
16145
+ mouseOverInfoWindow = _useState4[0],
16146
+ setMouseOverInfoWindow = _useState4[1];
16147
+
16148
+ var openInfoWindow = function openInfoWindow(markerId) {
16149
+ return setActiveMarkerId(markerId);
16150
+ };
16151
+
16152
+ var closeInfoWindow = function closeInfoWindow() {
16153
+ return setActiveMarkerId(null);
16154
+ };
16155
+
16156
+ var infoWindowContent = markerOptions.infoWindowContent,
16157
+ _markerOptions$onInfo = markerOptions.onInfoWindowChange,
16158
+ onInfoWindowChange = _markerOptions$onInfo === void 0 ? function () {} : _markerOptions$onInfo;
16159
+ var delayedInfoWindowHover = debounce(function () {
16160
+ if (!mouseOverInfoWindow) closeInfoWindow();
16161
+ }, 100);
16162
+
16163
+ var handleMarkerMouseOver = function handleMarkerMouseOver(markerId) {
16164
+ if (!infoWindowContent) return;
16165
+ onInfoWindowChange();
16166
+ openInfoWindow(markerId);
16167
+ };
16168
+
16169
+ var handleMarkerMouseOut = function handleMarkerMouseOut() {
16170
+ return delayedInfoWindowHover();
16171
+ };
16172
+
16173
+ var handleInfoWindowMouseEnter = function handleInfoWindowMouseEnter() {
16174
+ delayedInfoWindowHover.cancel();
16175
+ setMouseOverInfoWindow(true);
16176
+ };
16177
+
16178
+ var handleInfoWindowMouseLeave = function handleInfoWindowMouseLeave() {
16179
+ closeInfoWindow();
16180
+ setMouseOverInfoWindow(false);
16181
+ };
16182
+
16183
+ useEffect(function () {
16184
+ return function () {
16185
+ delayedInfoWindowHover.cancel();
16186
+ };
16187
+ }, []);
16149
16188
  if (!markers.length) return null;
16150
16189
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, markers.map(function (marker, idx) {
16151
16190
  var _marker$position, _marker$position2;
16152
16191
 
16192
+ var uniqueId = "".concat(marker === null || marker === void 0 ? void 0 : (_marker$position = marker.position) === null || _marker$position === void 0 ? void 0 : _marker$position.lat, "-").concat(marker === null || marker === void 0 ? void 0 : (_marker$position2 = marker.position) === null || _marker$position2 === void 0 ? void 0 : _marker$position2.lng, "/").concat(idx.toString());
16153
16193
  return /*#__PURE__*/React__default.createElement(Marker$1, {
16154
- markerData: _objectSpread2({}, marker),
16155
- markerOptions: markerOptions,
16156
- key: "".concat(idx.toString(), "-").concat(marker === null || marker === void 0 ? void 0 : (_marker$position = marker.position) === null || _marker$position === void 0 ? void 0 : _marker$position.lat, "-").concat(marker === null || marker === void 0 ? void 0 : (_marker$position2 = marker.position) === null || _marker$position2 === void 0 ? void 0 : _marker$position2.lng),
16194
+ markerData: _objectSpread2(_objectSpread2({}, marker), {}, {
16195
+ infoWindowOpen: (marker === null || marker === void 0 ? void 0 : marker.showInfoWindow) || activeMarkerId === uniqueId
16196
+ }),
16197
+ markerOptions: _objectSpread2(_objectSpread2({}, markerOptions), {}, {
16198
+ onMarkerMouseOver: function onMarkerMouseOver() {
16199
+ return handleMarkerMouseOver(uniqueId);
16200
+ },
16201
+ onMarkerMouseOut: handleMarkerMouseOut,
16202
+ onInfoWindowMouseEnter: handleInfoWindowMouseEnter,
16203
+ onInfoWindowMouseLeave: handleInfoWindowMouseLeave
16204
+ }),
16205
+ key: uniqueId,
16157
16206
  readOnly: readOnly,
16158
16207
  markerIdx: idx
16159
16208
  });
@@ -35389,12 +35438,13 @@ var parsePlaces = (function (places, parsedData) {
35389
35438
  }, _objectSpread2({}, parsedData));
35390
35439
  });
35391
35440
 
35441
+ var InfoWindowStyles = createGlobalStyle([".gm-style-iw{&.gm-style-iw-c{padding:0 !important;border-radius:0;border:none;max-height:unset !important;}&-chr{display:none;}&-tc,button.gm-ui-hover-effect{display:none !important;}&-d{overflow:unset !important;max-height:unset !important;}}"]);
35392
35442
  var styled$1 = {
35393
- LoadingElement: styled$h.div.withConfig({
35443
+ LoadingElement: styled$i.div.withConfig({
35394
35444
  displayName: "styles__LoadingElement",
35395
35445
  componentId: "sc-z1wxm2-0"
35396
35446
  })(["height:100%;"]),
35397
- SearchBoxWrapper: styled$h.div.withConfig({
35447
+ SearchBoxWrapper: styled$i.div.withConfig({
35398
35448
  displayName: "styles__SearchBoxWrapper",
35399
35449
  componentId: "sc-z1wxm2-1"
35400
35450
  })(["z-index:0;position:relative;right:0px;top:0px;background:", ";margin:10px;padding:4px 8px 6px;border-radius:2px;width:auto;box-shadow:rgba(0,0,0,0.3) 0px 1px 4px -1px;"], palette.white)
@@ -35534,7 +35584,7 @@ var Map$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
35534
35584
  }
35535
35585
  }, [mapRef.current, markers]);
35536
35586
  if (!isLoaded) return null;
35537
- return /*#__PURE__*/React__default.createElement(GoogleMap, _extends$1({
35587
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(InfoWindowStyles, null), /*#__PURE__*/React__default.createElement(GoogleMap, _extends$1({
35538
35588
  className: "google-map-component",
35539
35589
  onLoad: onLoad,
35540
35590
  mapContainerStyle: {
@@ -35553,12 +35603,12 @@ var Map$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
35553
35603
  callbackOnSuccessDirections: callbackOnSuccessDirections,
35554
35604
  callbackOnErrorDirections: callbackOnErrorDirections,
35555
35605
  googleMapsApiKey: googleMapsApiKey
35556
- }));
35606
+ })));
35557
35607
  });
35558
35608
  Map$1.displayName = 'Map';
35559
35609
 
35560
35610
  var rotate = keyframes(["to{transform:rotate(360deg);}"]);
35561
- var Spinner$1 = styled$h.div.withConfig({
35611
+ var Spinner$1 = styled$i.div.withConfig({
35562
35612
  displayName: "styles__Spinner",
35563
35613
  componentId: "sc-1e490ps-0"
35564
35614
  })(["", ""], function (_ref) {
@@ -35569,7 +35619,7 @@ var Spinner$1 = styled$h.div.withConfig({
35569
35619
  backSpinnerColor = _ref.backSpinnerColor;
35570
35620
  return css(["width:", "px;height:", "px;border-radius:50%;background-color:transparent;border-top:", "px solid ", ";border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";animation:", " ", "s linear infinite;position:absolute;"], size, size, thickness, getColor(color), thickness, getColor(color), thickness, getColor(color), thickness, getColor(backSpinnerColor), rotate, duration);
35571
35621
  });
35572
- var SpinnerWrapper = styled$h.div.withConfig({
35622
+ var SpinnerWrapper = styled$i.div.withConfig({
35573
35623
  displayName: "styles__SpinnerWrapper",
35574
35624
  componentId: "sc-1e490ps-1"
35575
35625
  })(["position:relative;display:flex;justify-content:center;align-items:center;width:", "px;height:", "px;"], function (_ref2) {
@@ -35579,7 +35629,7 @@ var SpinnerWrapper = styled$h.div.withConfig({
35579
35629
  var size = _ref3.size;
35580
35630
  return size;
35581
35631
  });
35582
- var CenterContent = styled$h.div.withConfig({
35632
+ var CenterContent = styled$i.div.withConfig({
35583
35633
  displayName: "styles__CenterContent",
35584
35634
  componentId: "sc-1e490ps-2"
35585
35635
  })(["position:absolute;display:flex;justify-content:center;align-items:center;"]);
@@ -35615,7 +35665,7 @@ var Spinner = function Spinner(_ref) {
35615
35665
  };
35616
35666
 
35617
35667
  var show = keyframes(["0%{opacity:0;}to{opacity:1;}"]);
35618
- var Container = styled$h.section.withConfig({
35668
+ var Container = styled$i.section.withConfig({
35619
35669
  displayName: "styles__Container",
35620
35670
  componentId: "sc-19kt9g-0"
35621
35671
  })(["display:flex;justify-content:center;align-items:center;width:100vw;height:100vh;position:fixed;top:0;left:0;background:", ";", ";z-index:100;animation:", " 0.2s ease-in;"], function (_ref) {
@@ -35625,7 +35675,7 @@ var Container = styled$h.section.withConfig({
35625
35675
  var effect = _ref2.effect;
35626
35676
  return effect && css(effect);
35627
35677
  }, show);
35628
- var LoaderContainer = styled$h.div.withConfig({
35678
+ var LoaderContainer = styled$i.div.withConfig({
35629
35679
  displayName: "styles__LoaderContainer",
35630
35680
  componentId: "sc-19kt9g-1"
35631
35681
  })(["position:relative;display:flex;justify-content:center;align-items:center;width:115px;height:115px;"]);
@@ -35656,7 +35706,7 @@ var FullLoader = function FullLoader(_ref) {
35656
35706
  })));
35657
35707
  };
35658
35708
 
35659
- var Bar = styled$h.div.withConfig({
35709
+ var Bar = styled$i.div.withConfig({
35660
35710
  displayName: "styles__Bar",
35661
35711
  componentId: "sc-1baov1w-0"
35662
35712
  })(["width:100%;height:", ";background-color:", ";border-radius:10px;overflow:hidden;"], function (_ref) {
@@ -35670,7 +35720,7 @@ var progressAnimation = function progressAnimation() {
35670
35720
  return keyframes(["0%{transform:scaleX(0);}100%{transform:scaleX(", ");}"], scale);
35671
35721
  };
35672
35722
 
35673
- var ProgressFill = styled$h.div.withConfig({
35723
+ var ProgressFill = styled$i.div.withConfig({
35674
35724
  displayName: "styles__ProgressFill",
35675
35725
  componentId: "sc-1baov1w-1"
35676
35726
  })(["width:100%;height:100%;transform-origin:left center;background-color:", ";", ""], function (_ref2) {