@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.
|
@@ -5857,7 +5857,7 @@ const MapLegendControl = /*#__PURE__*/styled__default(MapControl)(_templateObjec
|
|
|
5857
5857
|
const MapLegendContainer = /*#__PURE__*/styled__default.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"])));
|
|
5858
5858
|
const MapLegendHeader = /*#__PURE__*/styled__default.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"])));
|
|
5859
5859
|
const MapLegendDescriptionContainer = /*#__PURE__*/styled__default.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"])));
|
|
5860
|
-
const MaximizedLegendContainer = /*#__PURE__*/styled__default.div(_templateObject12$1 || (_templateObject12$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: ", ";\n top: 0;\n opacity: ", ";\n overflow: hidden;\n transition: opacity 0.5s;\n"])), _ref8 => {
|
|
5860
|
+
const MaximizedLegendContainer = /*#__PURE__*/styled__default.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 => {
|
|
5861
5861
|
let {
|
|
5862
5862
|
isShown
|
|
5863
5863
|
} = _ref8;
|
|
@@ -5867,13 +5867,18 @@ const MaximizedLegendContainer = /*#__PURE__*/styled__default.div(_templateObjec
|
|
|
5867
5867
|
isShown
|
|
5868
5868
|
} = _ref9;
|
|
5869
5869
|
return isShown ? 1 : 0;
|
|
5870
|
+
}, _ref10 => {
|
|
5871
|
+
let {
|
|
5872
|
+
isShown
|
|
5873
|
+
} = _ref10;
|
|
5874
|
+
return isShown ? "visible" : "hidden";
|
|
5870
5875
|
});
|
|
5871
5876
|
const MinimizedLegendContainer = /*#__PURE__*/styled__default(MaximizedLegendContainer)(_templateObject13$1 || (_templateObject13$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: calc(100% - 1.5rem);\n padding-right: 1.5rem;\n"])));
|
|
5872
5877
|
const MapLegendSectionContainer = /*#__PURE__*/styled__default.div(_templateObject14$1 || (_templateObject14$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n \n :not(:last-child) {\n margin-bottom: 1rem;\n }\n"])));
|
|
5873
|
-
const MapLegendSectionItems = /*#__PURE__*/styled__default.div(_templateObject15$1 || (_templateObject15$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n height: ", "px;\n overflow: hidden;\n transition: height 0.5s;\n"])),
|
|
5878
|
+
const MapLegendSectionItems = /*#__PURE__*/styled__default.div(_templateObject15$1 || (_templateObject15$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n height: ", "px;\n overflow: hidden;\n transition: height 0.5s;\n"])), _ref11 => {
|
|
5874
5879
|
let {
|
|
5875
5880
|
height
|
|
5876
|
-
} =
|
|
5881
|
+
} = _ref11;
|
|
5877
5882
|
return height;
|
|
5878
5883
|
});
|
|
5879
5884
|
const MapLegendValueDescr = /*#__PURE__*/styled__default.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"])));
|
|
@@ -5895,32 +5900,32 @@ const StrokeWidthLegendItemMixin = function StrokeWidthLegendItemMixin(value) {
|
|
|
5895
5900
|
};
|
|
5896
5901
|
|
|
5897
5902
|
const StrokeColorLegendItemMixin = /*#__PURE__*/styled.css(_templateObject19 || (_templateObject19 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-right: 0.5rem;\n width: 1.5rem;\n"])));
|
|
5898
|
-
const MapLegendItem = /*#__PURE__*/styled__default.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"])),
|
|
5903
|
+
const MapLegendItem = /*#__PURE__*/styled__default.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 => {
|
|
5899
5904
|
let {
|
|
5900
5905
|
parameter
|
|
5901
|
-
} =
|
|
5906
|
+
} = _ref12;
|
|
5902
5907
|
return isParameterType(["strokeColor", "stroke.color"], parameter) ? 0.25 : 1;
|
|
5903
|
-
},
|
|
5908
|
+
}, _ref13 => {
|
|
5904
5909
|
let {
|
|
5905
5910
|
value
|
|
5906
|
-
} =
|
|
5911
|
+
} = _ref13;
|
|
5907
5912
|
return typeof value === "number" ? "none" : value;
|
|
5908
|
-
},
|
|
5913
|
+
}, _ref14 => {
|
|
5909
5914
|
let {
|
|
5910
5915
|
isHidden
|
|
5911
|
-
} =
|
|
5916
|
+
} = _ref14;
|
|
5912
5917
|
return isHidden ? 0.28 : 1;
|
|
5913
|
-
},
|
|
5918
|
+
}, _ref15 => {
|
|
5914
5919
|
let {
|
|
5915
5920
|
value,
|
|
5916
5921
|
parameter
|
|
5917
|
-
} =
|
|
5922
|
+
} = _ref15;
|
|
5918
5923
|
return isParameterType("size", parameter) && SizeLegendItemMixin(value);
|
|
5919
|
-
},
|
|
5924
|
+
}, _ref16 => {
|
|
5920
5925
|
let {
|
|
5921
5926
|
value,
|
|
5922
5927
|
parameter
|
|
5923
|
-
} =
|
|
5928
|
+
} = _ref16;
|
|
5924
5929
|
return isParameterType(["strokeWidth", "stroke.width"], parameter) && StrokeWidthLegendItemMixin(value);
|
|
5925
5930
|
});
|
|
5926
5931
|
const MapLegendOther = /*#__PURE__*/styled__default(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"])));
|
|
@@ -5932,31 +5937,31 @@ const SizeMinimizedLegendLabel = /*#__PURE__*/styled__default.div(_templateObjec
|
|
|
5932
5937
|
const SizeMinimizedLegendDown = /*#__PURE__*/styled__default.div(_templateObject27 || (_templateObject27 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: rgba(48, 69, 79, 0.65);\n"])));
|
|
5933
5938
|
const SizeMinimizedLegendUp = /*#__PURE__*/styled__default(SizeMinimizedLegendDown)(_templateObject28 || (_templateObject28 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
5934
5939
|
const SingleSizeLegendItemsMixin = /*#__PURE__*/styled.css(_templateObject29 || (_templateObject29 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 4rem;\n margin-right: 0.75rem;\n\n ", ":after {\n margin: 0 auto;\n }\n"])), MapLegendItem);
|
|
5935
|
-
const SingleLegendItemsMixin = /*#__PURE__*/styled.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"])),
|
|
5940
|
+
const SingleLegendItemsMixin = /*#__PURE__*/styled.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 => {
|
|
5936
5941
|
let {
|
|
5937
5942
|
isSize
|
|
5938
|
-
} =
|
|
5943
|
+
} = _ref17;
|
|
5939
5944
|
return isSize && SingleSizeLegendItemsMixin;
|
|
5940
|
-
}, MapLegendItem,
|
|
5945
|
+
}, MapLegendItem, _ref18 => {
|
|
5941
5946
|
let {
|
|
5942
5947
|
parameter
|
|
5943
|
-
} =
|
|
5948
|
+
} = _ref18;
|
|
5944
5949
|
return isParameterType(["strokeColor", "stroke.color"], parameter) && StrokeColorLegendItemMixin;
|
|
5945
5950
|
});
|
|
5946
|
-
const MapLegendItems = /*#__PURE__*/styled__default.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"])),
|
|
5951
|
+
const MapLegendItems = /*#__PURE__*/styled__default.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 => {
|
|
5947
5952
|
let {
|
|
5948
5953
|
isSize
|
|
5949
|
-
} =
|
|
5954
|
+
} = _ref19;
|
|
5950
5955
|
return isSize && SizeLegendItemsMixin;
|
|
5951
|
-
},
|
|
5956
|
+
}, _ref20 => {
|
|
5952
5957
|
let {
|
|
5953
5958
|
isStrokeWidth
|
|
5954
|
-
} =
|
|
5959
|
+
} = _ref20;
|
|
5955
5960
|
return isStrokeWidth && StrokeWidthLegendItemsMixin;
|
|
5956
|
-
},
|
|
5961
|
+
}, _ref21 => {
|
|
5957
5962
|
let {
|
|
5958
5963
|
isSingle
|
|
5959
|
-
} =
|
|
5964
|
+
} = _ref21;
|
|
5960
5965
|
return isSingle && SingleLegendItemsMixin;
|
|
5961
5966
|
});
|
|
5962
5967
|
const MapLegendItemsContainer = /*#__PURE__*/styled__default.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);
|