@redneckz/wildless-cms-uni-blocks 0.6.44 → 0.6.45
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/bundle/bundle.umd.js +3 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/services/sitemap/isTopItemActive.js +3 -1
- package/dist/services/sitemap/isTopItemActive.js.map +1 -1
- package/lib/services/sitemap/isTopItemActive.js +3 -1
- package/lib/services/sitemap/isTopItemActive.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/services/sitemap/isTopItemActive.js +3 -1
- package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -1
- package/mobile/lib/services/sitemap/isTopItemActive.js +3 -1
- package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -1
- package/mobile/src/services/sitemap/isTopItemActive.ts +3 -1
- package/package.json +1 -1
- package/src/services/sitemap/isTopItemActive.ts +3 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -2274,7 +2274,8 @@
|
|
|
2274
2274
|
|
|
2275
2275
|
const isTopItemActive = (router) => (topItem) => topItem.items?.some(isSubItemActive(router)) ||
|
|
2276
2276
|
isHrefActive(topItem.href, router) ||
|
|
2277
|
-
checkIsHrefSameOrigin(topItem.href, router)
|
|
2277
|
+
checkIsHrefSameOrigin(topItem.href, router) ||
|
|
2278
|
+
Boolean(projectSettings.BASE_PATH?.startsWith(topItem.href || '/'));
|
|
2278
2279
|
|
|
2279
2280
|
const TEXT_CLASSES$2 = 'font-sans text-s-light';
|
|
2280
2281
|
const LINK_CLASSES$1 = 'inline-block border border-solid bg-transparent text-center no-underline';
|
|
@@ -4124,7 +4125,7 @@
|
|
|
4124
4125
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
|
|
4125
4126
|
}
|
|
4126
4127
|
|
|
4127
|
-
const packageVersion = "0.6.
|
|
4128
|
+
const packageVersion = "0.6.45";
|
|
4128
4129
|
|
|
4129
4130
|
exports.Blocks = Blocks;
|
|
4130
4131
|
exports.ContentPage = ContentPage;
|