@evergis/react 2.0.175 → 2.0.176

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/react.esm.js CHANGED
@@ -5862,7 +5862,7 @@ const MapLegendControl = /*#__PURE__*/styled(MapControl)(_templateObject8$2 || (
5862
5862
  const MapLegendContainer = /*#__PURE__*/styled.div(_templateObject9$1 || (_templateObject9$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n padding-bottom: 1rem;\n box-sizing: border-box;\n\n canvas {\n height: 1.625rem;\n width: 1.625rem;\n }\n"])));
5863
5863
  const MapLegendHeader = /*#__PURE__*/styled.div(_templateObject10$1 || (_templateObject10$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n max-width: 15rem;\n margin-bottom: 0.25rem;\n font-size: 0.75rem;\n font-weight: bold;\n"])));
5864
5864
  const MapLegendDescriptionContainer = /*#__PURE__*/styled.div(_templateObject11$1 || (_templateObject11$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 0.5rem;\n font-weight: 400;\n font-size: 0.625rem;\n color: rgba(48, 69, 79, 0.65);\n"])));
5865
- const MaximizedLegendContainer = /*#__PURE__*/styled.div(_templateObject12$1 || (_templateObject12$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: ", ";\n top: 0;\n opacity: ", ";\n overflow: hidden;\n transition: opacity 0.5s;\n"])), _ref8 => {
5865
+ const MaximizedLegendContainer = /*#__PURE__*/styled.div(_templateObject12$1 || (_templateObject12$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: ", ";\n top: 0;\n opacity: ", ";\n visibility: ", ";\n overflow: hidden;\n transition: opacity 0.5s, visibility 0.5s;\n"])), _ref8 => {
5866
5866
  let {
5867
5867
  isShown
5868
5868
  } = _ref8;
@@ -5872,13 +5872,18 @@ const MaximizedLegendContainer = /*#__PURE__*/styled.div(_templateObject12$1 ||
5872
5872
  isShown
5873
5873
  } = _ref9;
5874
5874
  return isShown ? 1 : 0;
5875
+ }, _ref10 => {
5876
+ let {
5877
+ isShown
5878
+ } = _ref10;
5879
+ return isShown ? "visible" : "hidden";
5875
5880
  });
5876
5881
  const MinimizedLegendContainer = /*#__PURE__*/styled(MaximizedLegendContainer)(_templateObject13$1 || (_templateObject13$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: calc(100% - 1.5rem);\n padding-right: 1.5rem;\n"])));
5877
5882
  const MapLegendSectionContainer = /*#__PURE__*/styled.div(_templateObject14$1 || (_templateObject14$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n \n :not(:last-child) {\n margin-bottom: 1rem;\n }\n"])));
5878
- const MapLegendSectionItems = /*#__PURE__*/styled.div(_templateObject15$1 || (_templateObject15$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n height: ", "px;\n overflow: hidden;\n transition: height 0.5s;\n"])), _ref10 => {
5883
+ const MapLegendSectionItems = /*#__PURE__*/styled.div(_templateObject15$1 || (_templateObject15$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n height: ", "px;\n overflow: hidden;\n transition: height 0.5s;\n"])), _ref11 => {
5879
5884
  let {
5880
5885
  height
5881
- } = _ref10;
5886
+ } = _ref11;
5882
5887
  return height;
5883
5888
  });
5884
5889
  const MapLegendValueDescr = /*#__PURE__*/styled.div(_templateObject16$1 || (_templateObject16$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n min-height: 1rem;\n margin-bottom: 0.25rem;\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1rem;\n"])));
@@ -5900,32 +5905,32 @@ const StrokeWidthLegendItemMixin = function StrokeWidthLegendItemMixin(value) {
5900
5905
  };
5901
5906
 
5902
5907
  const StrokeColorLegendItemMixin = /*#__PURE__*/css(_templateObject19 || (_templateObject19 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-right: 0.5rem;\n width: 1.5rem;\n"])));
5903
- const MapLegendItem = /*#__PURE__*/styled.div(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex: 1;\n height: ", "rem;\n background: ", ";\n border: 1px rgba(48, 69, 79, 0.1) solid;\n margin-right: -1px;\n color: rgba(48, 69, 79, 0.65);\n opacity: ", ";\n\n ", "\n\n ", "\n"])), _ref11 => {
5908
+ const MapLegendItem = /*#__PURE__*/styled.div(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex: 1;\n height: ", "rem;\n background: ", ";\n border: 1px rgba(48, 69, 79, 0.1) solid;\n margin-right: -1px;\n color: rgba(48, 69, 79, 0.65);\n opacity: ", ";\n\n ", "\n\n ", "\n"])), _ref12 => {
5904
5909
  let {
5905
5910
  parameter
5906
- } = _ref11;
5911
+ } = _ref12;
5907
5912
  return isParameterType(["strokeColor", "stroke.color"], parameter) ? 0.25 : 1;
5908
- }, _ref12 => {
5913
+ }, _ref13 => {
5909
5914
  let {
5910
5915
  value
5911
- } = _ref12;
5916
+ } = _ref13;
5912
5917
  return typeof value === "number" ? "none" : value;
5913
- }, _ref13 => {
5918
+ }, _ref14 => {
5914
5919
  let {
5915
5920
  isHidden
5916
- } = _ref13;
5921
+ } = _ref14;
5917
5922
  return isHidden ? 0.28 : 1;
5918
- }, _ref14 => {
5923
+ }, _ref15 => {
5919
5924
  let {
5920
5925
  value,
5921
5926
  parameter
5922
- } = _ref14;
5927
+ } = _ref15;
5923
5928
  return isParameterType("size", parameter) && SizeLegendItemMixin(value);
5924
- }, _ref15 => {
5929
+ }, _ref16 => {
5925
5930
  let {
5926
5931
  value,
5927
5932
  parameter
5928
- } = _ref15;
5933
+ } = _ref16;
5929
5934
  return isParameterType(["strokeWidth", "stroke.width"], parameter) && StrokeWidthLegendItemMixin(value);
5930
5935
  });
5931
5936
  const MapLegendOther = /*#__PURE__*/styled(MapLegendItem)(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n flex: none;\n position: relative;\n width: 1rem;\n margin-left: 0.25rem;\n border-radius: 0.125rem;\n"])));
@@ -5937,31 +5942,31 @@ const SizeMinimizedLegendLabel = /*#__PURE__*/styled.div(_templateObject26 || (_
5937
5942
  const SizeMinimizedLegendDown = /*#__PURE__*/styled.div(_templateObject27 || (_templateObject27 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: rgba(48, 69, 79, 0.65);\n"])));
5938
5943
  const SizeMinimizedLegendUp = /*#__PURE__*/styled(SizeMinimizedLegendDown)(_templateObject28 || (_templateObject28 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
5939
5944
  const SingleSizeLegendItemsMixin = /*#__PURE__*/css(_templateObject29 || (_templateObject29 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 4rem;\n margin-right: 0.75rem;\n\n ", ":after {\n margin: 0 auto;\n }\n"])), MapLegendItem);
5940
- const SingleLegendItemsMixin = /*#__PURE__*/css(_templateObject30 || (_templateObject30 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n justify-content: center;\n width: 2rem;\n height: auto;\n margin: 0;\n ", "\n \n ", " {\n position: relative;\n top: 0;\n left: 0;\n display: flex;\n align-content: center;\n justify-content: center;\n margin: 0;\n height: auto;\n width: auto;\n\n ", "\n }\n"])), _ref16 => {
5945
+ const SingleLegendItemsMixin = /*#__PURE__*/css(_templateObject30 || (_templateObject30 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n justify-content: center;\n width: 2rem;\n height: auto;\n margin: 0;\n ", "\n \n ", " {\n position: relative;\n top: 0;\n left: 0;\n display: flex;\n align-content: center;\n justify-content: center;\n margin: 0;\n height: auto;\n width: auto;\n\n ", "\n }\n"])), _ref17 => {
5941
5946
  let {
5942
5947
  isSize
5943
- } = _ref16;
5948
+ } = _ref17;
5944
5949
  return isSize && SingleSizeLegendItemsMixin;
5945
- }, MapLegendItem, _ref17 => {
5950
+ }, MapLegendItem, _ref18 => {
5946
5951
  let {
5947
5952
  parameter
5948
- } = _ref17;
5953
+ } = _ref18;
5949
5954
  return isParameterType(["strokeColor", "stroke.color"], parameter) && StrokeColorLegendItemMixin;
5950
5955
  });
5951
- const MapLegendItems = /*#__PURE__*/styled.div(_templateObject31 || (_templateObject31 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0.125rem;\n\n ", ";\n ", ";\n ", ";\n"])), _ref18 => {
5956
+ const MapLegendItems = /*#__PURE__*/styled.div(_templateObject31 || (_templateObject31 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0.125rem;\n\n ", ";\n ", ";\n ", ";\n"])), _ref19 => {
5952
5957
  let {
5953
5958
  isSize
5954
- } = _ref18;
5959
+ } = _ref19;
5955
5960
  return isSize && SizeLegendItemsMixin;
5956
- }, _ref19 => {
5961
+ }, _ref20 => {
5957
5962
  let {
5958
5963
  isStrokeWidth
5959
- } = _ref19;
5964
+ } = _ref20;
5960
5965
  return isStrokeWidth && StrokeWidthLegendItemsMixin;
5961
- }, _ref20 => {
5966
+ }, _ref21 => {
5962
5967
  let {
5963
5968
  isSingle
5964
- } = _ref20;
5969
+ } = _ref21;
5965
5970
  return isSingle && SingleLegendItemsMixin;
5966
5971
  });
5967
5972
  const MapLegendItemsContainer = /*#__PURE__*/styled.div(_templateObject32 || (_templateObject32 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n \n ", " {\n :first-child {\n border-top-left-radius: 0.125rem;\n border-bottom-left-radius: 0.125rem;\n }\n\n :last-child {\n border-top-right-radius: 0.125rem;\n border-bottom-right-radius: 0.125rem;\n }\n }\n"])), MapLegendItem);