@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260604044508 → 0.8.1-dev.20260605123150
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 +5 -2
- package/dist/index.mjs +5 -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;
|
|
@@ -5785,7 +5787,8 @@ var DivContainer = async (props) => {
|
|
|
5785
5787
|
const classNames = [
|
|
5786
5788
|
containerPaddingClass,
|
|
5787
5789
|
props.node.autoFormat && "auto-format",
|
|
5788
|
-
props.node.bgClass
|
|
5790
|
+
props.node.bgClass,
|
|
5791
|
+
noLinkColor && "no-link-color"
|
|
5789
5792
|
].filter(Boolean).join(" ");
|
|
5790
5793
|
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_react50.default.Fragment, { children: [
|
|
5791
5794
|
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("style", { dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS } }),
|
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;
|
|
@@ -4179,7 +4181,8 @@ var DivContainer = async (props) => {
|
|
|
4179
4181
|
const classNames = [
|
|
4180
4182
|
containerPaddingClass,
|
|
4181
4183
|
props.node.autoFormat && "auto-format",
|
|
4182
|
-
props.node.bgClass
|
|
4184
|
+
props.node.bgClass,
|
|
4185
|
+
noLinkColor && "no-link-color"
|
|
4183
4186
|
].filter(Boolean).join(" ");
|
|
4184
4187
|
return /* @__PURE__ */ jsxs32(React41.Fragment, { children: [
|
|
4185
4188
|
/* @__PURE__ */ jsx59("style", { dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS } }),
|
package/package.json
CHANGED