@redneckz/wildless-cms-uni-blocks 0.15.336 → 0.15.338
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 +2 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ContentPage/normalizeBlock.d.ts +1 -2
- package/bundle/components/ContentPage/normalizePage.d.ts +1 -2
- package/dist/components/ContentPage/normalizeBlock.d.ts +1 -2
- package/dist/components/ContentPage/normalizeBlock.js +2 -7
- package/dist/components/ContentPage/normalizeBlock.js.map +1 -1
- package/dist/components/ContentPage/normalizePage.d.ts +1 -2
- package/dist/components/ContentPage/normalizePage.js +1 -1
- package/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/dist/components/Header/isHrefActive.js +1 -1
- package/dist/components/Header/isHrefActive.js.map +1 -1
- package/lib/components/ContentPage/normalizeBlock.d.ts +1 -2
- package/lib/components/ContentPage/normalizeBlock.js +2 -7
- package/lib/components/ContentPage/normalizeBlock.js.map +1 -1
- package/lib/components/ContentPage/normalizePage.d.ts +1 -2
- package/lib/components/ContentPage/normalizePage.js +1 -1
- package/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/lib/components/Header/isHrefActive.js +1 -1
- package/lib/components/Header/isHrefActive.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +1 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ContentPage/normalizePage.d.ts +1 -2
- package/mobile/dist/components/ContentPage/normalizePage.d.ts +1 -2
- package/mobile/dist/components/ContentPage/normalizePage.js +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/dist/components/Header/isHrefActive.js +1 -1
- package/mobile/dist/components/Header/isHrefActive.js.map +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.d.ts +1 -2
- package/mobile/lib/components/ContentPage/normalizePage.js +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/lib/components/Header/isHrefActive.js +1 -1
- package/mobile/lib/components/Header/isHrefActive.js.map +1 -1
- package/mobile/src/components/ContentPage/normalizePage.ts +2 -5
- package/mobile/src/components/Header/isHrefActive.ts +1 -1
- package/package.json +1 -1
- package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -3
- package/src/components/ContentPage/ContentPage.fixture.tsx +2 -2
- package/src/components/ContentPage/normalizeBlock.ts +4 -12
- package/src/components/ContentPage/normalizePage.ts +2 -5
- package/src/components/Header/isHrefActive.ts +1 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -4202,7 +4202,7 @@
|
|
|
4202
4202
|
});
|
|
4203
4203
|
|
|
4204
4204
|
const isHrefActive = (pathname) => ({ href }) => Boolean(href &&
|
|
4205
|
-
withoutQuery(isURL(href) ? globalThis?.location
|
|
4205
|
+
withoutQuery(isURL(href) ? globalThis?.location?.href : pathname).startsWith(withoutQuery(href)));
|
|
4206
4206
|
|
|
4207
4207
|
const isTopItemActive = (pathname) => isHrefActive(projectSettings.BASE_PATH || pathname);
|
|
4208
4208
|
|
|
@@ -6177,7 +6177,7 @@
|
|
|
6177
6177
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6178
6178
|
});
|
|
6179
6179
|
|
|
6180
|
-
const packageVersion = "0.15.
|
|
6180
|
+
const packageVersion = "0.15.337";
|
|
6181
6181
|
|
|
6182
6182
|
exports.Blocks = Blocks;
|
|
6183
6183
|
exports.ContentPage = ContentPage;
|