@20minutes/hela 2.16.10 → 2.17.0
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.es.js +1062 -869
- package/dist/index.umd.cjs +1 -0
- package/dist/js/scripts.es.js +7 -4
- package/dist/js/{scripts.umd.js → scripts.umd.cjs} +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +69 -69
- package/dist/scss/abstracts/variables/_variables.scss +45 -46
- package/dist/src/components/atoms/InlineSeparator/InlineSeparator.stories.d.ts +1 -1
- package/dist/src/components/atoms/Link/Link.d.ts +5 -3
- package/dist/src/components/atoms/Link/Link.stories.d.ts +3 -1
- package/dist/src/components/atoms/ScrollToTopButton/ScrollToTopButton.stories.d.ts +112 -112
- package/dist/src/components/atoms/SkipLink/SkipLink.stories.d.ts +1 -1
- package/dist/src/components/molecules/DiscoverList/DiscoverList.stories.d.ts +104 -104
- package/dist/src/components/molecules/Elections/SearchBanner/SearchBanner.stories.d.ts +69 -69
- package/dist/src/components/molecules/VerticalTimeline/VerticalTimeline.stories.d.ts +105 -105
- package/dist/src/components/organisms/Footer/Footer.stories.d.ts +2 -2
- package/dist/src/constants/cssProperties/typography.d.ts +5 -4
- package/dist/src/constants/tokenNameList.d.ts +5 -5
- package/dist/src/constants/tokenVariables.d.ts +364 -132
- package/dist/src/helpers/forwardRef.d.ts +2 -2
- package/dist/src/helpers/imgHelper.d.ts +1 -1
- package/dist/src/helpers/storybookHelper.d.ts +3 -3
- package/dist/src/helpers/systemPropsHelper/classNameWithModifier.d.ts +2 -2
- package/dist/src/helpers/systemPropsHelper/classNamesWithModifiers.d.ts +3 -3
- package/dist/src/helpers/systemPropsHelper/typographySystemClassName.d.ts +1 -1
- package/dist/src/types/ComponentWithAs.d.ts +3 -2
- package/dist/style.css +1 -1
- package/package.json +38 -40
- package/dist/index.umd.js +0 -1
package/dist/js/scripts.es.js
CHANGED
|
@@ -4743,8 +4743,11 @@ const Di = () => {
|
|
|
4743
4743
|
return Array.from(s).find((o, r, a) => {
|
|
4744
4744
|
if (r === a.length - 1)
|
|
4745
4745
|
return !1;
|
|
4746
|
-
const l =
|
|
4747
|
-
|
|
4746
|
+
const l = o.textContent, c = a[r + 1].textContent;
|
|
4747
|
+
if (!l || !c)
|
|
4748
|
+
return !1;
|
|
4749
|
+
const h = N(l), d = N(c);
|
|
4750
|
+
return t >= h && t < d ? (e = l, i = c, n = r, !0) : !1;
|
|
4748
4751
|
}), { currentIntervalStartTime: e, currentIntervalEndTime: i, currentIntervalIndex: n };
|
|
4749
4752
|
}, Ki = () => {
|
|
4750
4753
|
const s = document.querySelectorAll(".c-timeline__time");
|
|
@@ -4808,7 +4811,7 @@ const Di = () => {
|
|
|
4808
4811
|
const s = document.querySelector(".c-map-towns");
|
|
4809
4812
|
if (!s) {
|
|
4810
4813
|
new MutationObserver((n, o) => {
|
|
4811
|
-
document.querySelector(".c-map-towns") && (o.disconnect(), Ot());
|
|
4814
|
+
typeof document < "u" && document.querySelector(".c-map-towns") && (o.disconnect(), Ot());
|
|
4812
4815
|
}).observe(document.body, { childList: !0, subtree: !0 });
|
|
4813
4816
|
return;
|
|
4814
4817
|
}
|
|
@@ -4886,7 +4889,7 @@ const X = () => {
|
|
|
4886
4889
|
return;
|
|
4887
4890
|
if (!document.querySelector(".c-map-towns")) {
|
|
4888
4891
|
new MutationObserver((d, u) => {
|
|
4889
|
-
document.querySelector(".c-map-towns") && (u.disconnect(), X());
|
|
4892
|
+
typeof document < "u" && document.querySelector(".c-map-towns") && (u.disconnect(), X());
|
|
4890
4893
|
}).observe(document.body, { childList: !0, subtree: !0 });
|
|
4891
4894
|
return;
|
|
4892
4895
|
}
|