@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260604044508 → 0.8.1-dev.20260605114817
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 -2
- package/dist/index.mjs +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5743,6 +5743,7 @@ var DivContainer = async (props) => {
|
|
|
5743
5743
|
}
|
|
5744
5744
|
let Wrapper;
|
|
5745
5745
|
let wrapperProps;
|
|
5746
|
+
let noLinkColor = false;
|
|
5746
5747
|
switch (true) {
|
|
5747
5748
|
case props.node.componentProperties?.type === "slider":
|
|
5748
5749
|
Wrapper = Slider_default;
|
|
@@ -5763,7 +5764,8 @@ var DivContainer = async (props) => {
|
|
|
5763
5764
|
const currentPath = decodeURIComponent(PathUtility_default.removeTrailingSlash(props.path) + "?" + queryObjectToString(props.query));
|
|
5764
5765
|
const resolvedHref = decodeURIComponent(href || "");
|
|
5765
5766
|
const isSelected = currentPath === resolvedHref;
|
|
5766
|
-
|
|
5767
|
+
noLinkColor = true;
|
|
5768
|
+
wrapperProps = { href, "data-isSelected": isSelected, "data-path": currentPath, "data-href": resolvedHref };
|
|
5767
5769
|
break;
|
|
5768
5770
|
default: {
|
|
5769
5771
|
const replacementTag = props.node.replaceDivTagWith;
|
|
@@ -5794,7 +5796,7 @@ var DivContainer = async (props) => {
|
|
|
5794
5796
|
{
|
|
5795
5797
|
id: guid,
|
|
5796
5798
|
style: combinedStyles,
|
|
5797
|
-
className: classNames ||
|
|
5799
|
+
className: classNames || `undefined${noLinkColor ? "no-link-color" : ""}`,
|
|
5798
5800
|
...wrapperProps,
|
|
5799
5801
|
children: dataToRender.map(
|
|
5800
5802
|
(item, idx) => item?.links?.view && renderLink ? renderChildren(props.node.children, props, item, idx, props.href ? void 0 : item?.links?.view)?.map(
|
package/dist/index.mjs
CHANGED
|
@@ -4137,6 +4137,7 @@ var DivContainer = async (props) => {
|
|
|
4137
4137
|
}
|
|
4138
4138
|
let Wrapper;
|
|
4139
4139
|
let wrapperProps;
|
|
4140
|
+
let noLinkColor = false;
|
|
4140
4141
|
switch (true) {
|
|
4141
4142
|
case props.node.componentProperties?.type === "slider":
|
|
4142
4143
|
Wrapper = Slider_default;
|
|
@@ -4157,7 +4158,8 @@ var DivContainer = async (props) => {
|
|
|
4157
4158
|
const currentPath = decodeURIComponent(PathUtility_default.removeTrailingSlash(props.path) + "?" + queryObjectToString(props.query));
|
|
4158
4159
|
const resolvedHref = decodeURIComponent(href || "");
|
|
4159
4160
|
const isSelected = currentPath === resolvedHref;
|
|
4160
|
-
|
|
4161
|
+
noLinkColor = true;
|
|
4162
|
+
wrapperProps = { href, "data-isSelected": isSelected, "data-path": currentPath, "data-href": resolvedHref };
|
|
4161
4163
|
break;
|
|
4162
4164
|
default: {
|
|
4163
4165
|
const replacementTag = props.node.replaceDivTagWith;
|
|
@@ -4188,7 +4190,7 @@ var DivContainer = async (props) => {
|
|
|
4188
4190
|
{
|
|
4189
4191
|
id: guid,
|
|
4190
4192
|
style: combinedStyles,
|
|
4191
|
-
className: classNames ||
|
|
4193
|
+
className: classNames || `undefined${noLinkColor ? "no-link-color" : ""}`,
|
|
4192
4194
|
...wrapperProps,
|
|
4193
4195
|
children: dataToRender.map(
|
|
4194
4196
|
(item, idx) => item?.links?.view && renderLink ? renderChildren(props.node.children, props, item, idx, props.href ? void 0 : item?.links?.view)?.map(
|
package/package.json
CHANGED