@evergis/react 4.0.86 → 4.0.87
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.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +4 -3
- package/dist/react.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/react.esm.js
CHANGED
|
@@ -7622,13 +7622,14 @@ const RoundedBackgroundContainerWrapper = styled(Flex) `
|
|
|
7622
7622
|
const ALIAS_DEFAULT_MAX_LENGTH = 28;
|
|
7623
7623
|
const RoundedBackgroundContainer = memo(({ type, elementConfig, feature, renderElement, }) => {
|
|
7624
7624
|
const { t } = useGlobalContext();
|
|
7625
|
-
const { dataSources } = useWidgetContext(type);
|
|
7626
|
-
const { attributes } = useRelatedDataSourceAttributes({
|
|
7625
|
+
const { dataSources, attributes: ctxAttributes } = useWidgetContext(type);
|
|
7626
|
+
const { attributes: dsAttributes } = useRelatedDataSourceAttributes({
|
|
7627
7627
|
type,
|
|
7628
7628
|
elementConfig,
|
|
7629
7629
|
dataSources,
|
|
7630
7630
|
feature,
|
|
7631
7631
|
});
|
|
7632
|
+
const attributes = isEmpty(dsAttributes) ? ctxAttributes : dsAttributes;
|
|
7632
7633
|
const { id, options, style, children } = elementConfig || {};
|
|
7633
7634
|
const { maxLength, wordBreak, center, fontColor, innerTemplateStyle, inlineUnits, big, bigIcon, hideEmpty, colorAttribute } = options || {};
|
|
7634
7635
|
const iconElement = children?.find(item => item.id === "icon");
|
|
@@ -10193,7 +10194,7 @@ const BackgroundHeaderWrapper = styled.div `
|
|
|
10193
10194
|
content: "";
|
|
10194
10195
|
position: absolute;
|
|
10195
10196
|
inset: 0;
|
|
10196
|
-
z-index:
|
|
10197
|
+
z-index: 100;
|
|
10197
10198
|
pointer-events: none;
|
|
10198
10199
|
background: ${({ $bgColor }) => $bgColor || "linear-gradient(96.55deg, #FFFCD3 0%, #B4DC47 100%)"};
|
|
10199
10200
|
}
|