Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@20minutes/hela

Package Overview
Dependencies
Maintainers
2
Versions
332
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@20minutes/hela - npm Package Compare versions

Comparing version 0.1.167 to 0.1.168

277

dist/js/scripts.es.js
var k = Object.defineProperty;
var I = (e, t, s) => t in e ? k(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
var m = (e, t, s) => (I(e, typeof t != "symbol" ? t + "" : t, s), s);
const C = (e) => {
var p = (e, t, s) => (I(e, typeof t != "symbol" ? t + "" : t, s), s);
const H = (e) => {
e.stopImmediatePropagation(), e.preventDefault();
const t = e.currentTarget, s = t.parentElement, o = s == null ? void 0 : s.querySelector(
`#${t.getAttribute("aria-controls")}`
);
t.getAttribute("aria-expanded") === "true" ? (t.setAttribute("aria-expanded", "false"), o == null || o.setAttribute("aria-hidden", "true")) : (t.setAttribute("aria-expanded", "true"), o == null || o.setAttribute("aria-hidden", "false"));
}, W = (e = document.querySelector(
const t = e.currentTarget;
if (t instanceof HTMLButtonElement) {
const s = t.parentElement, o = s == null ? void 0 : s.querySelector(
`#${t.getAttribute("aria-controls")}`
);
t.getAttribute("aria-expanded") === "true" ? (t.setAttribute("aria-expanded", "false"), o == null || o.setAttribute("aria-hidden", "true")) : (t.setAttribute("aria-expanded", "true"), o == null || o.setAttribute("aria-hidden", "false"));
}
}, M = (e = document.querySelector(
".js-collapse__button"

@@ -15,6 +18,6 @@ )) => {

s.addEventListener("click", (o) => {
C(o);
H(o);
});
});
}, D = (e, t) => {
}, W = (e, t) => {
const s = document.querySelector(

@@ -24,4 +27,4 @@ `#${t}`

if (s) {
const o = s.querySelector(".js-countdown-days"), n = s.querySelector(".js-countdown-hours"), c = s.querySelector(".js-countdown-minutes"), a = s.querySelector(".js-countdown-seconds");
if (!o || !n || !c || !a)
const o = s.querySelector(".js-countdown-days"), n = s.querySelector(".js-countdown-hours"), a = s.querySelector(".js-countdown-minutes"), c = s.querySelector(".js-countdown-seconds");
if (!o || !n || !a || !c)
return;

@@ -31,28 +34,30 @@ window.counters = {

};
const i = window.counters[e], l = new Date(i).getTime(), d = setInterval(() => {
const u = (/* @__PURE__ */ new Date()).getTime(), f = l - u;
const i = window.counters[e], r = new Date(i).getTime(), d = setInterval(() => {
const u = (/* @__PURE__ */ new Date()).getTime(), f = r - u;
if (f <= 0)
clearInterval(d);
else {
const g = Math.floor(f / 864e5), b = Math.floor(f % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), h = Math.floor(f % (1e3 * 60 * 60) / (1e3 * 60)), x = Math.floor(f % (1e3 * 60) / 1e3);
o.innerHTML = g.toString(), n.innerHTML = b.toString(), c.innerHTML = h.toString(), a.innerHTML = x.toString();
const m = Math.floor(f / 864e5), b = Math.floor(f % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), h = Math.floor(f % (1e3 * 60 * 60) / (1e3 * 60)), x = Math.floor(f % (1e3 * 60) / 1e3);
o.innerHTML = m.toString(), n.innerHTML = b.toString(), a.innerHTML = h.toString(), c.innerHTML = x.toString();
}
}, 1e3);
}
}, j = (e) => {
}, C = (e) => {
var s;
e.setAttribute("aria-expanded", "true"), (s = e.previousElementSibling) == null || s.setAttribute("aria-hidden", "false");
const t = e.querySelector(".js-expandButton__label");
e.setAttribute("aria-expanded", "true"), t.innerHTML = "Voir moins", (s = e.previousElementSibling) == null || s.setAttribute("aria-hidden", "false");
}, F = (e) => {
t instanceof HTMLButtonElement && (t.innerHTML = "Voir moins");
}, D = (e) => {
var s;
(s = e.previousElementSibling) == null || s.setAttribute("aria-hidden", "true"), e.setAttribute("aria-expanded", "false");
const t = e.querySelector(".js-expandButton__label");
e.setAttribute("aria-expanded", "false"), t.innerHTML = "Voir plus", (s = e.previousElementSibling) == null || s.setAttribute("aria-hidden", "true");
}, H = (e) => {
t instanceof HTMLButtonElement && (t.innerHTML = "Voir plus");
}, j = (e) => {
const t = e.currentTarget;
return e.preventDefault(), t.getAttribute("aria-expanded") === "true" ? F(t) : j(t);
}, M = (e = document.querySelector(
return e.preventDefault(), t instanceof HTMLButtonElement ? t.getAttribute("aria-expanded") === "true" ? D(t) : C(t) : null;
}, F = (e = document.querySelector(
".js-expandButton"
)) => {
e && document.querySelectorAll(".js-expandButton").forEach((s) => s.addEventListener("click", H));
}, r = {
e && document.querySelectorAll(".js-expandButton").forEach((s) => s.addEventListener("click", j));
}, l = {
inert: ":not([inert]):not([inert] *)",

@@ -63,37 +68,37 @@ negTabIndex: ':not([tabindex^="-"])',

var R = [
`a[href]${r.inert}${r.negTabIndex}`,
`area[href]${r.inert}${r.negTabIndex}`,
`input:not([type="hidden"]):not([type="radio"])${r.inert}${r.negTabIndex}${r.disabled}`,
`input[type="radio"]${r.inert}${r.negTabIndex}${r.disabled}`,
`select${r.inert}${r.negTabIndex}${r.disabled}`,
`textarea${r.inert}${r.negTabIndex}${r.disabled}`,
`button${r.inert}${r.negTabIndex}${r.disabled}`,
`details${r.inert} > summary:first-of-type${r.negTabIndex}`,
`a[href]${l.inert}${l.negTabIndex}`,
`area[href]${l.inert}${l.negTabIndex}`,
`input:not([type="hidden"]):not([type="radio"])${l.inert}${l.negTabIndex}${l.disabled}`,
`input[type="radio"]${l.inert}${l.negTabIndex}${l.disabled}`,
`select${l.inert}${l.negTabIndex}${l.disabled}`,
`textarea${l.inert}${l.negTabIndex}${l.disabled}`,
`button${l.inert}${l.negTabIndex}${l.disabled}`,
`details${l.inert} > summary:first-of-type${l.negTabIndex}`,
// Discard until Firefox supports `:has()`
// See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
// `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
`iframe${r.inert}${r.negTabIndex}`,
`audio[controls]${r.inert}${r.negTabIndex}`,
`video[controls]${r.inert}${r.negTabIndex}`,
`[contenteditable]${r.inert}${r.negTabIndex}`,
`[tabindex]${r.inert}${r.negTabIndex}`
`iframe${l.inert}${l.negTabIndex}`,
`audio[controls]${l.inert}${l.negTabIndex}`,
`video[controls]${l.inert}${l.negTabIndex}`,
`[contenteditable]${l.inert}${l.negTabIndex}`,
`[tabindex]${l.inert}${l.negTabIndex}`
];
function S(e) {
function _(e) {
(e.querySelector("[autofocus]") || e).focus();
}
function O(e) {
const t = y(e, !0), s = t ? y(e, !1) || t : null;
const t = g(e, !0), s = t ? g(e, !1) || t : null;
return [t, s];
}
function y(e, t) {
if (t && L(e))
function g(e, t) {
if (t && w(e))
return e;
if (N(e))
if (K(e))
if (e.shadowRoot) {
let s = w(e.shadowRoot, t);
let s = S(e.shadowRoot, t);
for (; s; ) {
const o = y(s, t);
const o = g(s, t);
if (o)
return o;
s = E(s, t);
s = L(s, t);
}

@@ -106,3 +111,3 @@ } else if (e.localName === "slot") {

for (const o of s) {
const n = y(o, t);
const n = g(o, t);
if (n)

@@ -112,34 +117,34 @@ return n;

} else {
let s = w(e, t);
let s = S(e, t);
for (; s; ) {
const o = y(s, t);
const o = g(s, t);
if (o)
return o;
s = E(s, t);
s = L(s, t);
}
}
return !t && L(e) ? e : null;
return !t && w(e) ? e : null;
}
function w(e, t) {
function S(e, t) {
return t ? e.firstElementChild : e.lastElementChild;
}
function E(e, t) {
function L(e, t) {
return t ? e.nextElementSibling : e.previousElementSibling;
}
const K = (e) => e.matches("details:not([open]) *") && !e.matches("details>summary:first-of-type") ? !0 : !(e.offsetWidth || e.offsetHeight || e.getClientRects().length), L = (e) => {
const B = (e) => e.matches("details:not([open]) *") && !e.matches("details>summary:first-of-type") ? !0 : !(e.offsetWidth || e.offsetHeight || e.getClientRects().length), w = (e) => {
var t;
return (t = e.shadowRoot) != null && t.delegatesFocus ? !1 : e.matches(R.join(",")) && !K(e);
return (t = e.shadowRoot) != null && t.delegatesFocus ? !1 : e.matches(R.join(",")) && !B(e);
};
function N(e) {
function K(e) {
return e.shadowRoot && e.getAttribute("tabindex") === "-1" ? !1 : !e.matches(":disabled,[hidden],[inert]");
}
function _(e = document) {
function E(e = document) {
const t = e.activeElement;
return t ? t.shadowRoot ? _(t.shadowRoot) || document.activeElement : t : null;
return t ? t.shadowRoot ? E(t.shadowRoot) || document.activeElement : t : null;
}
function B(e, t) {
function N(e, t) {
const [s, o] = O(e);
if (!s)
return t.preventDefault();
const n = _();
const n = E();
t.shiftKey && n === s ? (o.focus(), t.preventDefault()) : !t.shiftKey && n === o && (s.focus(), t.preventDefault());

@@ -149,6 +154,6 @@ }

constructor(t) {
m(this, "$el");
m(this, "id");
m(this, "previouslyFocused");
m(this, "shown");
p(this, "$el");
p(this, "id");
p(this, "previouslyFocused");
p(this, "shown");
this.$el = t, this.id = this.$el.getAttribute("data-a11y-dialog") || this.$el.id, this.previouslyFocused = null, this.shown = !1, this.maintainFocus = this.maintainFocus.bind(this), this.bindKeypress = this.bindKeypress.bind(this), this.handleTriggerClicks = this.handleTriggerClicks.bind(this), this.show = this.show.bind(this), this.hide = this.hide.bind(this), this.$el.setAttribute("aria-hidden", "true"), this.$el.setAttribute("aria-modal", "true"), this.$el.setAttribute("tabindex", "-1"), this.$el.hasAttribute("role") || this.$el.setAttribute("role", "dialog"), document.addEventListener("click", this.handleTriggerClicks, !0);

@@ -169,3 +174,3 @@ }

var s;
return this.shown ? this : (this.shown = !0, this.$el.removeAttribute("aria-hidden"), this.previouslyFocused = _(), ((s = this.previouslyFocused) == null ? void 0 : s.tagName) === "BODY" && (t != null && t.target) && (this.previouslyFocused = t.target), (t == null ? void 0 : t.type) === "focus" ? this.maintainFocus(t) : S(this.$el), document.body.addEventListener("focus", this.maintainFocus, !0), this.$el.addEventListener("keydown", this.bindKeypress, !0), this.fire("show", t), this);
return this.shown ? this : (this.shown = !0, this.$el.removeAttribute("aria-hidden"), this.previouslyFocused = E(), ((s = this.previouslyFocused) == null ? void 0 : s.tagName) === "BODY" && (t != null && t.target) && (this.previouslyFocused = t.target), (t == null ? void 0 : t.type) === "focus" ? this.maintainFocus(t) : _(this.$el), document.body.addEventListener("focus", this.maintainFocus, !0), this.$el.addEventListener("keydown", this.bindKeypress, !0), this.fire("show", t), this);
}

@@ -225,3 +230,3 @@ /**

}
t.key === "Escape" && this.$el.getAttribute("role") !== "alertdialog" && !s && (t.preventDefault(), this.hide(t)), t.key === "Tab" && B(this.$el, t);
t.key === "Escape" && this.$el.getAttribute("role") !== "alertdialog" && !s && (t.preventDefault(), this.hide(t)), t.key === "Tab" && N(this.$el, t);
}

@@ -235,11 +240,13 @@ /**

maintainFocus(t) {
t.target.closest('[aria-modal="true"], [data-a11y-dialog-ignore-focus-trap]') || S(this.$el);
t.target.closest('[aria-modal="true"], [data-a11y-dialog-ignore-focus-trap]') || _(this.$el);
}
}
function $() {
function T() {
for (const e of document.querySelectorAll("[data-a11y-dialog]"))
new q(e);
}
typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", $) : $());
typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", T) : T());
const P = () => document.querySelectorAll(".js-modal").forEach((e) => {
if (!(e instanceof HTMLElement))
return;
const t = new q(e), s = {

@@ -254,6 +261,7 @@ x: 0,

});
}), V = ({ navigatedList: e, nextBtn: t, prevBtn: s }) => {
}), z = ({ navigatedList: e, nextBtn: t, prevBtn: s }) => {
var a, c, i, r, d, u, f, m;
const o = e.scrollLeft > 0, n = e.scrollLeft + e.clientWidth < e.scrollWidth;
o && n ? (t.classList.add("o-nav-button--visible"), s.classList.add("o-nav-button--visible")) : o ? (t.classList.remove("o-nav-button--visible"), s.classList.add("o-nav-button--visible")) : n ? (t.classList.add("o-nav-button--visible"), s.classList.remove("o-nav-button--visible")) : (t.classList.remove("o-nav-button--visible"), s.classList.remove("o-nav-button--visible"));
}, z = ({
o && n ? ((a = t.classList) == null || a.add("o-nav-button--visible"), (c = s.classList) == null || c.add("o-nav-button--visible")) : o ? ((i = t.classList) == null || i.remove("o-nav-button--visible"), (r = s.classList) == null || r.add("o-nav-button--visible")) : n ? ((d = t.classList) == null || d.add("o-nav-button--visible"), (u = s.classList) == null || u.remove("o-nav-button--visible")) : ((f = t.classList) == null || f.remove("o-nav-button--visible"), (m = s.classList) == null || m.remove("o-nav-button--visible"));
}, V = ({
navigatedList: e,

@@ -265,13 +273,13 @@ nextBtn: t,

if (e) {
const n = e.closest(".js-overview-bar-container"), c = n == null ? void 0 : n.querySelector(".c-stepper"), a = c == null ? void 0 : c.querySelectorAll(".c-stepper__item");
if (a) {
const i = Array.from(a).findIndex(
(l) => l.classList.contains("c-stepper__item--loading")
const n = e.closest(".js-overview-bar-container"), a = n == null ? void 0 : n.querySelector(".c-stepper"), c = a == null ? void 0 : a.querySelectorAll(".c-stepper__item");
if (c) {
const i = Array.from(c).findIndex(
(r) => r.classList.contains("c-stepper__item--loading")
);
if (i < 0)
a[0].classList.add("c-stepper__item--loading");
c[0].classList.add("c-stepper__item--loading");
else {
a[i].classList.remove("c-stepper__item--loading"), a[i].classList.add("c-stepper__item--loaded");
const l = a[i].querySelector(".c-stepper__loader");
l && l instanceof HTMLElement && (l.style.transition = "width 0s linear"), i + 1 < a.length && a[i + 1].classList.add("c-stepper__item--loading");
c[i].classList.remove("c-stepper__item--loading"), c[i].classList.add("c-stepper__item--loaded");
const r = c[i].querySelector(".c-stepper__loader");
r && r instanceof HTMLElement && (r.style.transition = "width 0s linear"), i + 1 < c.length && c[i + 1].classList.add("c-stepper__item--loading");
}

@@ -315,32 +323,32 @@ }

if (e) {
const c = e.closest(".js-overview-bar-container"), a = c == null ? void 0 : c.querySelector(".c-stepper"), i = a == null ? void 0 : a.querySelectorAll(".c-stepper__item");
const a = e.closest(".js-overview-bar-container"), c = a == null ? void 0 : a.querySelector(".c-stepper"), i = c == null ? void 0 : c.querySelectorAll(".c-stepper__item");
if (i) {
const l = Array.from(i).findIndex(
const r = Array.from(i).findIndex(
(d) => d.classList.contains("c-stepper__item--loading")
);
l < 0 ? i[0].classList.add("c-stepper__item--loading") : (i[l].classList.remove("c-stepper__item--loading"), i[l].classList.remove("c-stepper__item--loaded"), l - 1 > 0 && (i[l - 1].classList.remove("c-stepper__item--loading"), i[l - 1].classList.remove("c-stepper__item--loaded"), setTimeout(() => {
const d = i[l - 1].querySelector(".c-stepper__loader");
i[l - 1].classList.add("c-stepper__item--loading"), d && d instanceof HTMLElement && (d.style.transition = `width ${n / 1e3}s linear`);
r < 0 ? i[0].classList.add("c-stepper__item--loading") : (i[r].classList.remove("c-stepper__item--loading"), i[r].classList.remove("c-stepper__item--loaded"), r - 1 > 0 && (i[r - 1].classList.remove("c-stepper__item--loading"), i[r - 1].classList.remove("c-stepper__item--loaded"), setTimeout(() => {
const d = i[r - 1].querySelector(".c-stepper__loader");
i[r - 1].classList.add("c-stepper__item--loading"), d && d instanceof HTMLElement && (d.style.transition = `width ${n / 1e3}s linear`);
}, 0)));
}
if (e.clientWidth < e.scrollLeft) {
let l = e.scrollLeft;
let r = e.scrollLeft;
switch (o) {
case "partners":
l -= e.clientWidth + 32;
r -= e.clientWidth + 32;
break;
case "rubrics":
l -= e.clientWidth - 36;
r -= e.clientWidth - 36;
break;
case "overviewbar":
l -= e.clientWidth - 24;
r -= e.clientWidth - 24;
break;
default:
l -= Math.ceil(e.clientWidth * 0.6);
r -= Math.ceil(e.clientWidth * 0.6);
break;
}
e.scrollTo({
left: l,
left: r,
behavior: "smooth"
}), t.classList.add("o-nav-button--visible"), l === 0 && s.classList.remove("o-nav-button--visible");
}), t.classList.add("o-nav-button--visible"), r === 0 && s.classList.remove("o-nav-button--visible");
} else

@@ -353,3 +361,3 @@ e.scrollTo({

}, G = ({ navigatedList: e, nextBtn: t, prevBtn: s }) => {
V({
z({
navigatedList: e,

@@ -362,3 +370,3 @@ nextBtn: t,

for (const t of Array.from(e)) {
const { sliderVariant: s } = t.dataset, { sliderAuto: o } = t.dataset, { sliderDelay: n } = t.dataset, c = n ? parseInt(n, 10) : 3e3, a = t.closest(".js-overview-bar-container"), i = a == null ? void 0 : a.querySelector(".c-stepper"), l = i == null ? void 0 : i.querySelectorAll(".c-stepper__item");
const { sliderVariant: s } = t.dataset, { sliderAuto: o } = t.dataset, { sliderDelay: n } = t.dataset, a = n ? parseInt(n, 10) : 3e3, c = t.closest(".js-overview-bar-container"), i = c == null ? void 0 : c.querySelector(".c-stepper"), r = i == null ? void 0 : i.querySelectorAll(".c-stepper__item");
if (t) {

@@ -372,5 +380,5 @@ const d = t.querySelector(

);
if (d && d.clientWidth < d.scrollWidth && (u == null || u.classList.add("o-nav-button--visible")), u == null || u.addEventListener(
if (d && d.clientWidth < d.scrollWidth && (u == null || u.classList.add("o-nav-button--visible")), d && u && f && (u == null || u.addEventListener(
"click",
z.bind(!1, {
V.bind(!1, {
navigatedList: d,

@@ -388,19 +396,19 @@ nextBtn: u,

sliderVariant: s,
delay: c
delay: a
})
), o === "true" && u) {
const g = i ? i.querySelector(".c-stepper__item--loading") : null;
l && (l.forEach((b) => {
)), o === "true" && u) {
const m = i ? i.querySelector(".c-stepper__item--loading") : null;
r && (r.forEach((b) => {
const h = b.querySelector(".c-stepper__loader");
h && h instanceof HTMLElement && (h.style.transition = `width ${c / 1e3}s linear`);
}), g || l[0].classList.add("c-stepper__item--loading")), setInterval(() => {
u.classList.contains("o-nav-button--visible") ? u.click() : d && f && (d.scrollLeft = 0, l && (l.forEach((b) => {
h && h instanceof HTMLElement && (h.style.transition = `width ${a / 1e3}s linear`);
}), m || r[0].classList.add("c-stepper__item--loading")), setInterval(() => {
u.classList.contains("o-nav-button--visible") ? u.click() : d && f && (d.scrollLeft = 0, r && (r.forEach((b) => {
const h = b.querySelector(".c-stepper__loader");
h && h instanceof HTMLElement && (h.style.transition = "width 0s linear"), b.classList.remove("c-stepper__item--loading"), b.classList.remove("c-stepper__item--loaded"), setTimeout(() => {
h && h instanceof HTMLElement && (h.style.transition = `width ${c / 1e3}s linear`);
h && h instanceof HTMLElement && (h.style.transition = `width ${a / 1e3}s linear`);
}, 0);
}), setTimeout(() => {
l[0].classList.add("c-stepper__item--loading");
r[0].classList.add("c-stepper__item--loading");
}, 0)), f.click());
}, c);
}, a);
}

@@ -411,27 +419,25 @@ }

const e = document.querySelectorAll(".js-navigation-container");
for (const t of Array.from(e)) {
const { sliderVariant: s } = t.dataset;
for (const t of Array.from(e))
if (t) {
const o = t.querySelector(
const s = t.querySelector(
".js-navigation-container__list"
), o = t.querySelector(
".o-nav-button--next-button"
), n = t.querySelector(
".o-nav-button--next-button"
), c = t.querySelector(
".o-nav-button--previous-button"
);
window.addEventListener(
s && o && n && window.addEventListener(
"resize",
G.bind(!1, {
navigatedList: o,
nextBtn: n,
prevBtn: c,
sliderVariant: s
navigatedList: s,
nextBtn: o,
prevBtn: n
})
);
}
}
}, J = () => {
const e = document.querySelector(".js-limit-scroll-progress-bar"), t = document.querySelector(".c-progress__bar"), { documentElement: s } = document;
const e = document.querySelector(".js-limit-scroll-progress-bar"), t = document.querySelector(".c-progress__bar");
if (!t)
return;
const { documentElement: s } = document;
let o = s.scrollHeight - s.clientHeight;

@@ -442,14 +448,14 @@ if (!o)

e && (o = e.scrollHeight - s.clientHeight + (window.pageYOffset + e.getBoundingClientRect().top));
const c = Math.round(n / o * 100);
t.style.width = `${c}%`, c >= 100 && (t.style.width = "100%");
const a = Math.round(n / o * 100);
t.style.width = `${a}%`, a >= 100 && (t.style.width = "100%");
}, Q = () => {
document.querySelector(".c-progress") && window.addEventListener("scroll", J);
};
let p, v = 0;
let y, v = 0;
const Z = () => {
p = null, document.body.getBoundingClientRect().top > v + 2 && (p = "up"), document.body.getBoundingClientRect().top < v - 2 && (p = "down"), v = document.body.getBoundingClientRect().top;
y = null, document.body.getBoundingClientRect().top > v + 2 && (y = "up"), document.body.getBoundingClientRect().top < v - 2 && (y = "down"), v = document.body.getBoundingClientRect().top;
const e = document.querySelector(".c-read-also-banner");
if (e) {
const t = e.dataset.bannerLimitTop || "0";
p === "up" && -document.body.getBoundingClientRect().top >= parseInt(t, 10) && (e.classList.remove("c-read-also-banner__scrolldirection--down"), e.style.paddingTop = "0.75em", e.style.paddingBottom = "0.75em", e.style.borderWidth = "1px", e.classList.contains("c-read-also-banner__scrolldirection--up") || e.classList.add("c-read-also-banner__scrolldirection--up")), (p === "down" || -document.body.getBoundingClientRect().top <= parseInt(t, 10)) && (e.classList.remove("c-read-also-banner__scrolldirection--up"), e.style.paddingTop = "0", e.style.paddingBottom = "0", e.style.borderWidth = "0", e.classList.contains("c-read-also-banner__scrolldirection--down") || e.classList.add("c-read-also-banner__scrolldirection--down"));
y === "up" && -document.body.getBoundingClientRect().top >= parseInt(t, 10) && (e.classList.remove("c-read-also-banner__scrolldirection--down"), e.style.paddingTop = "0.75em", e.style.paddingBottom = "0.75em", e.style.borderWidth = "1px", e.classList.contains("c-read-also-banner__scrolldirection--up") || e.classList.add("c-read-also-banner__scrolldirection--up")), (y === "down" || -document.body.getBoundingClientRect().top <= parseInt(t, 10)) && (e.classList.remove("c-read-also-banner__scrolldirection--up"), e.style.paddingTop = "0", e.style.paddingBottom = "0", e.style.borderWidth = "0", e.classList.contains("c-read-also-banner__scrolldirection--down") || e.classList.add("c-read-also-banner__scrolldirection--down"));
}

@@ -468,3 +474,6 @@ }, ee = (e = document.querySelector(

e.preventDefault();
const t = e.currentTarget, s = (o = t.closest(".js-search-toggle")) == null ? void 0 : o.querySelector(".c-search-form");
const t = e.currentTarget;
if (!(t instanceof HTMLButtonElement))
return;
const s = (o = t.closest(".js-search-toggle")) == null ? void 0 : o.querySelector(".c-search-form");
t.setAttribute("aria-hidden", "true"), s == null || s.setAttribute("aria-hidden", "false");

@@ -503,6 +512,5 @@ }, se = (e = document.querySelector(

)) => {
e && e.addEventListener(
"click",
(t) => ne(t)
);
e && e.addEventListener("click", (t) => {
ne(t);
});
}, le = ({

@@ -513,4 +521,7 @@ tabsContainerElement: e,

t.preventDefault();
const s = t.target, o = e.querySelectorAll('[role="tab"]'), n = e.querySelectorAll('[role="tabpanel"]'), c = s.getAttribute("aria-controls"), a = Object.values(n).find(
(i) => i.id === c
const s = t.target;
if (!(s instanceof HTMLButtonElement))
return;
const o = e.querySelectorAll('[role="tab"]'), n = e.querySelectorAll('[role="tabpanel"]'), a = s.getAttribute("aria-controls"), c = Object.values(n).find(
(i) => i.id === a
);

@@ -521,4 +532,4 @@ o.forEach((i) => {

i.setAttribute("aria-hidden", "true");
}), s.setAttribute("aria-selected", "true"), a && a.removeAttribute("aria-hidden");
}, T = (e) => e.code === "ArrowLeft" || e.keyCode === 39, A = (e) => e.code === "ArrowRight" || e.keyCode === 37, ce = (e = document.querySelector(".js-tabs")) => {
}), s.setAttribute("aria-selected", "true"), c && c.removeAttribute("aria-hidden");
}, $ = (e) => e.code === "ArrowLeft" || e.keyCode === 39, A = (e) => e.code === "ArrowRight" || e.keyCode === 37, ce = (e = document.querySelector(".js-tabs")) => {
if (e) {

@@ -535,3 +546,3 @@ const t = e.querySelectorAll('[role="tab"]');

s.addEventListener("keydown", (n) => {
n instanceof KeyboardEvent && (T(n) || A(n)) && (t[o].setAttribute("tabindex", "-1"), T(n) ? (o += 1, o >= t.length && (o = 0)) : A(n) && (o -= 1, o < 0 && (o = t.length - 1)), t[o].setAttribute("tabindex", "0"), t[o].focus());
n instanceof KeyboardEvent && ($(n) || A(n)) && (t[o].setAttribute("tabindex", "-1"), $(n) ? (o += 1, o >= t.length && (o = 0)) : A(n) && (o -= 1, o < 0 && (o = t.length - 1)), t[o].setAttribute("tabindex", "0"), t[o].focus());
});

@@ -541,3 +552,3 @@ }

}, de = () => {
M(), ce(), W(), Q(), se(), ie(), P(), ee(), re(), D("olympicsGames", "countdown-olympics-games"), X(), U();
F(), ce(), M(), Q(), se(), ie(), P(), ee(), re(), W("olympicsGames", "countdown-olympics-games"), X(), U();
};

@@ -544,0 +555,0 @@ export {

@@ -1,1 +0,1 @@

(function(b,u){typeof exports=="object"&&typeof module<"u"?u(exports):typeof define=="function"&&define.amd?define(["exports"],u):(b=typeof globalThis<"u"?globalThis:b||self,u(b.scripts={}))})(this,function(b){"use strict";var ae=Object.defineProperty;var de=(b,u,p)=>u in b?ae(b,u,{enumerable:!0,configurable:!0,writable:!0,value:p}):b[u]=p;var S=(b,u,p)=>(de(b,typeof u!="symbol"?u+"":u,p),p);const u=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget,s=t.parentElement,o=s==null?void 0:s.querySelector(`#${t.getAttribute("aria-controls")}`);t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),o==null||o.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),o==null||o.setAttribute("aria-hidden","false"))},p=(e=document.querySelector(".js-collapse__button"))=>{e&&document.querySelectorAll(".c-collapse__button").forEach(s=>{s.addEventListener("click",o=>{u(o)})})},j=(e,t)=>{const s=document.querySelector(`#${t}`);if(s){const o=s.querySelector(".js-countdown-days"),n=s.querySelector(".js-countdown-hours"),c=s.querySelector(".js-countdown-minutes"),a=s.querySelector(".js-countdown-seconds");if(!o||!n||!c||!a)return;window.counters={olympicsGames:"2024-07-26 20:00:00"};const i=window.counters[e],l=new Date(i).getTime(),d=setInterval(()=>{const f=new Date().getTime(),h=l-f;if(h<=0)clearInterval(d);else{const E=Math.floor(h/864e5),y=Math.floor(h%(1e3*60*60*24)/(1e3*60*60)),m=Math.floor(h%(1e3*60*60)/(1e3*60)),ce=Math.floor(h%(1e3*60)/1e3);o.innerHTML=E.toString(),n.innerHTML=y.toString(),c.innerHTML=m.toString(),a.innerHTML=ce.toString()}},1e3)}},C=e=>{var s;const t=e.querySelector(".js-expandButton__label");e.setAttribute("aria-expanded","true"),t.innerHTML="Voir moins",(s=e.previousElementSibling)==null||s.setAttribute("aria-hidden","false")},W=e=>{var s;const t=e.querySelector(".js-expandButton__label");e.setAttribute("aria-expanded","false"),t.innerHTML="Voir plus",(s=e.previousElementSibling)==null||s.setAttribute("aria-hidden","true")},D=e=>{const t=e.currentTarget;return e.preventDefault(),t.getAttribute("aria-expanded")==="true"?W(t):C(t)},F=(e=document.querySelector(".js-expandButton"))=>{e&&document.querySelectorAll(".js-expandButton").forEach(s=>s.addEventListener("click",D))},r={inert:":not([inert]):not([inert] *)",negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"};var M=[`a[href]${r.inert}${r.negTabIndex}`,`area[href]${r.inert}${r.negTabIndex}`,`input:not([type="hidden"]):not([type="radio"])${r.inert}${r.negTabIndex}${r.disabled}`,`input[type="radio"]${r.inert}${r.negTabIndex}${r.disabled}`,`select${r.inert}${r.negTabIndex}${r.disabled}`,`textarea${r.inert}${r.negTabIndex}${r.disabled}`,`button${r.inert}${r.negTabIndex}${r.disabled}`,`details${r.inert} > summary:first-of-type${r.negTabIndex}`,`iframe${r.inert}${r.negTabIndex}`,`audio[controls]${r.inert}${r.negTabIndex}`,`video[controls]${r.inert}${r.negTabIndex}`,`[contenteditable]${r.inert}${r.negTabIndex}`,`[tabindex]${r.inert}${r.negTabIndex}`];function L(e){(e.querySelector("[autofocus]")||e).focus()}function H(e){const t=g(e,!0),s=t?g(e,!1)||t:null;return[t,s]}function g(e,t){if(t&&A(e))return e;if(O(e))if(e.shadowRoot){let s=$(e.shadowRoot,t);for(;s;){const o=g(s,t);if(o)return o;s=T(s,t)}}else if(e.localName==="slot"){const s=e.assignedElements({flatten:!0});t||s.reverse();for(const o of s){const n=g(o,t);if(n)return n}}else{let s=$(e,t);for(;s;){const o=g(s,t);if(o)return o;s=T(s,t)}}return!t&&A(e)?e:null}function $(e,t){return t?e.firstElementChild:e.lastElementChild}function T(e,t){return t?e.nextElementSibling:e.previousElementSibling}const R=e=>e.matches("details:not([open]) *")&&!e.matches("details>summary:first-of-type")?!0:!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),A=e=>{var t;return(t=e.shadowRoot)!=null&&t.delegatesFocus?!1:e.matches(M.join(","))&&!R(e)};function O(e){return e.shadowRoot&&e.getAttribute("tabindex")==="-1"?!1:!e.matches(":disabled,[hidden],[inert]")}function _(e=document){const t=e.activeElement;return t?t.shadowRoot?_(t.shadowRoot)||document.activeElement:t:null}function K(e,t){const[s,o]=H(e);if(!s)return t.preventDefault();const n=_();t.shiftKey&&n===s?(o.focus(),t.preventDefault()):!t.shiftKey&&n===o&&(s.focus(),t.preventDefault())}class q{constructor(t){S(this,"$el");S(this,"id");S(this,"previouslyFocused");S(this,"shown");this.$el=t,this.id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0)),this.fire("destroy"),this}show(t){var s;return this.shown?this:(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=_(),((s=this.previouslyFocused)==null?void 0:s.tagName)==="BODY"&&(t!=null&&t.target)&&(this.previouslyFocused=t.target),(t==null?void 0:t.type)==="focus"?this.maintainFocus(t):L(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0),this.fire("show",t),this)}hide(t){var s,o;return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),(o=(s=this.previouslyFocused)==null?void 0:s.focus)==null||o.call(s),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.fire("hide",t),this):this}on(t,s,o){return this.$el.addEventListener(t,s,o),this}off(t,s,o){return this.$el.removeEventListener(t,s,o),this}fire(t,s){this.$el.dispatchEvent(new CustomEvent(t,{detail:s,cancelable:!0}))}handleTriggerClicks(t){const s=t.target;s.closest(`[data-a11y-dialog-show="${this.id}"]`)&&this.show(t),(s.closest(`[data-a11y-dialog-hide="${this.id}"]`)||s.closest("[data-a11y-dialog-hide]")&&s.closest('[aria-modal="true"]')===this.$el)&&this.hide(t)}bindKeypress(t){var o;if(((o=document.activeElement)==null?void 0:o.closest('[aria-modal="true"]'))!==this.$el)return;let s=!1;try{s=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}t.key==="Escape"&&this.$el.getAttribute("role")!=="alertdialog"&&!s&&(t.preventDefault(),this.hide(t)),t.key==="Tab"&&K(this.$el,t)}maintainFocus(t){t.target.closest('[aria-modal="true"], [data-a11y-dialog-ignore-focus-trap]')||L(this.$el)}}function x(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new q(e)}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",x):x());const N=()=>document.querySelectorAll(".js-modal").forEach(e=>{const t=new q(e),s={x:0,y:0};t.on("show",()=>{s.x=window.scrollX,s.y=window.scrollY,document.body.classList.add("noscroll"),document.body.style.top=`-${s.y}px`}).on("hide",()=>{document.body.classList.remove("noscroll"),document.body.style.top="",(window.scrollY!==s.y||window.scrollX!==s.x)&&window.scroll(s.x,s.y)})}),B=({navigatedList:e,nextBtn:t,prevBtn:s})=>{const o=e.scrollLeft>0,n=e.scrollLeft+e.clientWidth<e.scrollWidth;o&&n?(t.classList.add("o-nav-button--visible"),s.classList.add("o-nav-button--visible")):o?(t.classList.remove("o-nav-button--visible"),s.classList.add("o-nav-button--visible")):n?(t.classList.add("o-nav-button--visible"),s.classList.remove("o-nav-button--visible")):(t.classList.remove("o-nav-button--visible"),s.classList.remove("o-nav-button--visible"))},P=({navigatedList:e,nextBtn:t,prevBtn:s,sliderVariant:o})=>{if(e){const n=e.closest(".js-overview-bar-container"),c=n==null?void 0:n.querySelector(".c-stepper"),a=c==null?void 0:c.querySelectorAll(".c-stepper__item");if(a){const i=Array.from(a).findIndex(l=>l.classList.contains("c-stepper__item--loading"));if(i<0)a[0].classList.add("c-stepper__item--loading");else{a[i].classList.remove("c-stepper__item--loading"),a[i].classList.add("c-stepper__item--loaded");const l=a[i].querySelector(".c-stepper__loader");l&&l instanceof HTMLElement&&(l.style.transition="width 0s linear"),i+1<a.length&&a[i+1].classList.add("c-stepper__item--loading")}}if(e.scrollWidth-e.clientWidth>e.clientWidth){let i=e.scrollLeft;switch(o){case"partners":i+=e.clientWidth+32;break;case"rubrics":i+=e.clientWidth-36;break;case"overviewbar":i+=e.clientWidth-20;break;default:i+=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:i,behavior:"smooth"}),s.classList.add("o-nav-button--visible"),i+e.clientWidth>=e.scrollWidth&&t.classList.remove("o-nav-button--visible")}else{const i=e.scrollWidth-e.clientWidth;e.scrollTo({left:i,behavior:"smooth"}),t.classList.remove("o-nav-button--visible"),s.classList.add("o-nav-button--visible")}}},V=({navigatedList:e,nextBtn:t,prevBtn:s,sliderVariant:o,delay:n})=>{if(e){const c=e.closest(".js-overview-bar-container"),a=c==null?void 0:c.querySelector(".c-stepper"),i=a==null?void 0:a.querySelectorAll(".c-stepper__item");if(i){const l=Array.from(i).findIndex(d=>d.classList.contains("c-stepper__item--loading"));l<0?i[0].classList.add("c-stepper__item--loading"):(i[l].classList.remove("c-stepper__item--loading"),i[l].classList.remove("c-stepper__item--loaded"),l-1>0&&(i[l-1].classList.remove("c-stepper__item--loading"),i[l-1].classList.remove("c-stepper__item--loaded"),setTimeout(()=>{const d=i[l-1].querySelector(".c-stepper__loader");i[l-1].classList.add("c-stepper__item--loading"),d&&d instanceof HTMLElement&&(d.style.transition=`width ${n/1e3}s linear`)},0)))}if(e.clientWidth<e.scrollLeft){let l=e.scrollLeft;switch(o){case"partners":l-=e.clientWidth+32;break;case"rubrics":l-=e.clientWidth-36;break;case"overviewbar":l-=e.clientWidth-24;break;default:l-=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:l,behavior:"smooth"}),t.classList.add("o-nav-button--visible"),l===0&&s.classList.remove("o-nav-button--visible")}else e.scrollTo({left:0,behavior:"smooth"}),s.classList.remove("o-nav-button--visible"),e.clientWidth<e.scrollWidth&&t.classList.add("o-nav-button--visible")}},z=({navigatedList:e,nextBtn:t,prevBtn:s})=>{B({navigatedList:e,nextBtn:t,prevBtn:s})},Y=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e)){const{sliderVariant:s}=t.dataset,{sliderAuto:o}=t.dataset,{sliderDelay:n}=t.dataset,c=n?parseInt(n,10):3e3,a=t.closest(".js-overview-bar-container"),i=a==null?void 0:a.querySelector(".c-stepper"),l=i==null?void 0:i.querySelectorAll(".c-stepper__item");if(t){const d=t.querySelector(".js-navigation-container__list"),f=t.querySelector(".o-nav-button--next-button"),h=t.querySelector(".o-nav-button--previous-button");if(d&&d.clientWidth<d.scrollWidth&&(f==null||f.classList.add("o-nav-button--visible")),f==null||f.addEventListener("click",P.bind(!1,{navigatedList:d,nextBtn:f,prevBtn:h,sliderVariant:s})),h==null||h.addEventListener("click",V.bind(!1,{navigatedList:d,nextBtn:f,prevBtn:h,sliderVariant:s,delay:c})),o==="true"&&f){const E=i?i.querySelector(".c-stepper__item--loading"):null;l&&(l.forEach(y=>{const m=y.querySelector(".c-stepper__loader");m&&m instanceof HTMLElement&&(m.style.transition=`width ${c/1e3}s linear`)}),E||l[0].classList.add("c-stepper__item--loading")),setInterval(()=>{f.classList.contains("o-nav-button--visible")?f.click():d&&h&&(d.scrollLeft=0,l&&(l.forEach(y=>{const m=y.querySelector(".c-stepper__loader");m&&m instanceof HTMLElement&&(m.style.transition="width 0s linear"),y.classList.remove("c-stepper__item--loading"),y.classList.remove("c-stepper__item--loaded"),setTimeout(()=>{m&&m instanceof HTMLElement&&(m.style.transition=`width ${c/1e3}s linear`)},0)}),setTimeout(()=>{l[0].classList.add("c-stepper__item--loading")},0)),h.click())},c)}}}},G=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e)){const{sliderVariant:s}=t.dataset;if(t){const o=t.querySelector(".js-navigation-container__list"),n=t.querySelector(".o-nav-button--next-button"),c=t.querySelector(".o-nav-button--previous-button");window.addEventListener("resize",z.bind(!1,{navigatedList:o,nextBtn:n,prevBtn:c,sliderVariant:s}))}}},X=()=>{const e=document.querySelector(".js-limit-scroll-progress-bar"),t=document.querySelector(".c-progress__bar"),{documentElement:s}=document;if(!t)return;let o=s.scrollHeight-s.clientHeight;if(!o)return;const n=s.scrollTop;e&&(o=e.scrollHeight-s.clientHeight+(window.pageYOffset+e.getBoundingClientRect().top));const c=Math.round(n/o*100);t.style.width=`${c}%`,c>=100&&(t.style.width="100%")},U=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",X)};let v,w=0;const J=()=>{v=null,document.body.getBoundingClientRect().top>w+2&&(v="up"),document.body.getBoundingClientRect().top<w-2&&(v="down"),w=document.body.getBoundingClientRect().top;const e=document.querySelector(".c-read-also-banner");if(e){const t=e.dataset.bannerLimitTop||"0";v==="up"&&-document.body.getBoundingClientRect().top>=parseInt(t,10)&&(e.classList.remove("c-read-also-banner__scrolldirection--down"),e.style.paddingTop="0.75em",e.style.paddingBottom="0.75em",e.style.borderWidth="1px",e.classList.contains("c-read-also-banner__scrolldirection--up")||e.classList.add("c-read-also-banner__scrolldirection--up")),(v==="down"||-document.body.getBoundingClientRect().top<=parseInt(t,10))&&(e.classList.remove("c-read-also-banner__scrolldirection--up"),e.style.paddingTop="0",e.style.paddingBottom="0",e.style.borderWidth="0",e.classList.contains("c-read-also-banner__scrolldirection--down")||e.classList.add("c-read-also-banner__scrolldirection--down"))}},Q=(e=document.querySelector(".c-read-also-banner"))=>{if(e){let t;window.addEventListener("scroll",()=>{clearTimeout(t),t=setTimeout(J,100)})}},Z=e=>{var o;e.preventDefault();const t=e.currentTarget,s=(o=t.closest(".js-search-toggle"))==null?void 0:o.querySelector(".c-search-form");t.setAttribute("aria-hidden","true"),s==null||s.setAttribute("aria-hidden","false")},ee=(e=document.querySelector(".js-search-toggle"))=>{if(e){const t=e.querySelector(".c-header__search-button");t==null||t.addEventListener("click",Z)}},te=()=>{if(typeof navigator.share=="function"){const e=document.title,t=window.location.href;navigator.share({title:e,url:t}).then(()=>{console.log("Contenu partagé avec succès")}).catch(s=>{console.log(s)})}},se=(e=document.querySelector(".js-mobile-share-button"))=>{e&&e.addEventListener("click",te)},oe=e=>{const{target:t}=e;if(t instanceof Element){const s=t.closest(".c-search-form--button");s&&(e.preventDefault(),s.classList.remove("c-search-form--button"))}},ie=(e=document.querySelector(".c-search-form--button"))=>{e&&e.addEventListener("click",t=>oe(t))},ne=({tabsContainerElement:e,event:t})=>{t.preventDefault();const s=t.target,o=e.querySelectorAll('[role="tab"]'),n=e.querySelectorAll('[role="tabpanel"]'),c=s.getAttribute("aria-controls"),a=Object.values(n).find(i=>i.id===c);o.forEach(i=>{i.setAttribute("aria-selected","false")}),n.forEach(i=>{i.setAttribute("aria-hidden","true")}),s.setAttribute("aria-selected","true"),a&&a.removeAttribute("aria-hidden")},k=e=>e.code==="ArrowLeft"||e.keyCode===39,I=e=>e.code==="ArrowRight"||e.keyCode===37,re=(e=document.querySelector(".js-tabs"))=>{if(e){const t=e.querySelectorAll('[role="tab"]');t.forEach(o=>{o.addEventListener("click",n=>{ne({tabsContainerElement:e,event:n})})});const s=e.querySelector('[role="tablist"]');if(s&&t.length>0){let o=0;s.addEventListener("keydown",n=>{n instanceof KeyboardEvent&&(k(n)||I(n))&&(t[o].setAttribute("tabindex","-1"),k(n)?(o+=1,o>=t.length&&(o=0)):I(n)&&(o-=1,o<0&&(o=t.length-1)),t[o].setAttribute("tabindex","0"),t[o].focus())})}}},le=()=>{F(),re(),p(),U(),ee(),se(),N(),Q(),ie(),j("olympicsGames","countdown-olympics-games"),Y(),G()};b.initScripts=le,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})});
(function(b,h){typeof exports=="object"&&typeof module<"u"?h(exports):typeof define=="function"&&define.amd?define(["exports"],h):(b=typeof globalThis<"u"?globalThis:b||self,h(b.scripts={}))})(this,function(b){"use strict";var ae=Object.defineProperty;var de=(b,h,p)=>h in b?ae(b,h,{enumerable:!0,configurable:!0,writable:!0,value:p}):b[h]=p;var S=(b,h,p)=>(de(b,typeof h!="symbol"?h+"":h,p),p);const h=e=>{e.stopImmediatePropagation(),e.preventDefault();const t=e.currentTarget;if(t instanceof HTMLButtonElement){const s=t.parentElement,o=s==null?void 0:s.querySelector(`#${t.getAttribute("aria-controls")}`);t.getAttribute("aria-expanded")==="true"?(t.setAttribute("aria-expanded","false"),o==null||o.setAttribute("aria-hidden","true")):(t.setAttribute("aria-expanded","true"),o==null||o.setAttribute("aria-hidden","false"))}},p=(e=document.querySelector(".js-collapse__button"))=>{e&&document.querySelectorAll(".c-collapse__button").forEach(s=>{s.addEventListener("click",o=>{h(o)})})},M=(e,t)=>{const s=document.querySelector(`#${t}`);if(s){const o=s.querySelector(".js-countdown-days"),n=s.querySelector(".js-countdown-hours"),a=s.querySelector(".js-countdown-minutes"),c=s.querySelector(".js-countdown-seconds");if(!o||!n||!a||!c)return;window.counters={olympicsGames:"2024-07-26 20:00:00"};const i=window.counters[e],r=new Date(i).getTime(),d=setInterval(()=>{const u=new Date().getTime(),f=r-u;if(f<=0)clearInterval(d);else{const g=Math.floor(f/864e5),y=Math.floor(f%(1e3*60*60*24)/(1e3*60*60)),m=Math.floor(f%(1e3*60*60)/(1e3*60)),ce=Math.floor(f%(1e3*60)/1e3);o.innerHTML=g.toString(),n.innerHTML=y.toString(),a.innerHTML=m.toString(),c.innerHTML=ce.toString()}},1e3)}},H=e=>{var s;e.setAttribute("aria-expanded","true"),(s=e.previousElementSibling)==null||s.setAttribute("aria-hidden","false");const t=e.querySelector(".js-expandButton__label");t instanceof HTMLButtonElement&&(t.innerHTML="Voir moins")},j=e=>{var s;(s=e.previousElementSibling)==null||s.setAttribute("aria-hidden","true"),e.setAttribute("aria-expanded","false");const t=e.querySelector(".js-expandButton__label");t instanceof HTMLButtonElement&&(t.innerHTML="Voir plus")},W=e=>{const t=e.currentTarget;return e.preventDefault(),t instanceof HTMLButtonElement?t.getAttribute("aria-expanded")==="true"?j(t):H(t):null},C=(e=document.querySelector(".js-expandButton"))=>{e&&document.querySelectorAll(".js-expandButton").forEach(s=>s.addEventListener("click",W))},l={inert:":not([inert]):not([inert] *)",negTabIndex:':not([tabindex^="-"])',disabled:":not(:disabled)"};var D=[`a[href]${l.inert}${l.negTabIndex}`,`area[href]${l.inert}${l.negTabIndex}`,`input:not([type="hidden"]):not([type="radio"])${l.inert}${l.negTabIndex}${l.disabled}`,`input[type="radio"]${l.inert}${l.negTabIndex}${l.disabled}`,`select${l.inert}${l.negTabIndex}${l.disabled}`,`textarea${l.inert}${l.negTabIndex}${l.disabled}`,`button${l.inert}${l.negTabIndex}${l.disabled}`,`details${l.inert} > summary:first-of-type${l.negTabIndex}`,`iframe${l.inert}${l.negTabIndex}`,`audio[controls]${l.inert}${l.negTabIndex}`,`video[controls]${l.inert}${l.negTabIndex}`,`[contenteditable]${l.inert}${l.negTabIndex}`,`[tabindex]${l.inert}${l.negTabIndex}`];function w(e){(e.querySelector("[autofocus]")||e).focus()}function F(e){const t=v(e,!0),s=t?v(e,!1)||t:null;return[t,s]}function v(e,t){if(t&&A(e))return e;if(O(e))if(e.shadowRoot){let s=T(e.shadowRoot,t);for(;s;){const o=v(s,t);if(o)return o;s=$(s,t)}}else if(e.localName==="slot"){const s=e.assignedElements({flatten:!0});t||s.reverse();for(const o of s){const n=v(o,t);if(n)return n}}else{let s=T(e,t);for(;s;){const o=v(s,t);if(o)return o;s=$(s,t)}}return!t&&A(e)?e:null}function T(e,t){return t?e.firstElementChild:e.lastElementChild}function $(e,t){return t?e.nextElementSibling:e.previousElementSibling}const R=e=>e.matches("details:not([open]) *")&&!e.matches("details>summary:first-of-type")?!0:!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),A=e=>{var t;return(t=e.shadowRoot)!=null&&t.delegatesFocus?!1:e.matches(D.join(","))&&!R(e)};function O(e){return e.shadowRoot&&e.getAttribute("tabindex")==="-1"?!1:!e.matches(":disabled,[hidden],[inert]")}function _(e=document){const t=e.activeElement;return t?t.shadowRoot?_(t.shadowRoot)||document.activeElement:t:null}function B(e,t){const[s,o]=F(e);if(!s)return t.preventDefault();const n=_();t.shiftKey&&n===s?(o.focus(),t.preventDefault()):!t.shiftKey&&n===o&&(s.focus(),t.preventDefault())}class q{constructor(t){S(this,"$el");S(this,"id");S(this,"previouslyFocused");S(this,"shown");this.$el=t,this.id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0)),this.fire("destroy"),this}show(t){var s;return this.shown?this:(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=_(),((s=this.previouslyFocused)==null?void 0:s.tagName)==="BODY"&&(t!=null&&t.target)&&(this.previouslyFocused=t.target),(t==null?void 0:t.type)==="focus"?this.maintainFocus(t):w(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0),this.fire("show",t),this)}hide(t){var s,o;return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),(o=(s=this.previouslyFocused)==null?void 0:s.focus)==null||o.call(s),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.fire("hide",t),this):this}on(t,s,o){return this.$el.addEventListener(t,s,o),this}off(t,s,o){return this.$el.removeEventListener(t,s,o),this}fire(t,s){this.$el.dispatchEvent(new CustomEvent(t,{detail:s,cancelable:!0}))}handleTriggerClicks(t){const s=t.target;s.closest(`[data-a11y-dialog-show="${this.id}"]`)&&this.show(t),(s.closest(`[data-a11y-dialog-hide="${this.id}"]`)||s.closest("[data-a11y-dialog-hide]")&&s.closest('[aria-modal="true"]')===this.$el)&&this.hide(t)}bindKeypress(t){var o;if(((o=document.activeElement)==null?void 0:o.closest('[aria-modal="true"]'))!==this.$el)return;let s=!1;try{s=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}t.key==="Escape"&&this.$el.getAttribute("role")!=="alertdialog"&&!s&&(t.preventDefault(),this.hide(t)),t.key==="Tab"&&B(this.$el,t)}maintainFocus(t){t.target.closest('[aria-modal="true"], [data-a11y-dialog-ignore-focus-trap]')||w(this.$el)}}function x(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new q(e)}typeof document<"u"&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",x):x());const K=()=>document.querySelectorAll(".js-modal").forEach(e=>{if(!(e instanceof HTMLElement))return;const t=new q(e),s={x:0,y:0};t.on("show",()=>{s.x=window.scrollX,s.y=window.scrollY,document.body.classList.add("noscroll"),document.body.style.top=`-${s.y}px`}).on("hide",()=>{document.body.classList.remove("noscroll"),document.body.style.top="",(window.scrollY!==s.y||window.scrollX!==s.x)&&window.scroll(s.x,s.y)})}),N=({navigatedList:e,nextBtn:t,prevBtn:s})=>{var a,c,i,r,d,u,f,g;const o=e.scrollLeft>0,n=e.scrollLeft+e.clientWidth<e.scrollWidth;o&&n?((a=t.classList)==null||a.add("o-nav-button--visible"),(c=s.classList)==null||c.add("o-nav-button--visible")):o?((i=t.classList)==null||i.remove("o-nav-button--visible"),(r=s.classList)==null||r.add("o-nav-button--visible")):n?((d=t.classList)==null||d.add("o-nav-button--visible"),(u=s.classList)==null||u.remove("o-nav-button--visible")):((f=t.classList)==null||f.remove("o-nav-button--visible"),(g=s.classList)==null||g.remove("o-nav-button--visible"))},P=({navigatedList:e,nextBtn:t,prevBtn:s,sliderVariant:o})=>{if(e){const n=e.closest(".js-overview-bar-container"),a=n==null?void 0:n.querySelector(".c-stepper"),c=a==null?void 0:a.querySelectorAll(".c-stepper__item");if(c){const i=Array.from(c).findIndex(r=>r.classList.contains("c-stepper__item--loading"));if(i<0)c[0].classList.add("c-stepper__item--loading");else{c[i].classList.remove("c-stepper__item--loading"),c[i].classList.add("c-stepper__item--loaded");const r=c[i].querySelector(".c-stepper__loader");r&&r instanceof HTMLElement&&(r.style.transition="width 0s linear"),i+1<c.length&&c[i+1].classList.add("c-stepper__item--loading")}}if(e.scrollWidth-e.clientWidth>e.clientWidth){let i=e.scrollLeft;switch(o){case"partners":i+=e.clientWidth+32;break;case"rubrics":i+=e.clientWidth-36;break;case"overviewbar":i+=e.clientWidth-20;break;default:i+=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:i,behavior:"smooth"}),s.classList.add("o-nav-button--visible"),i+e.clientWidth>=e.scrollWidth&&t.classList.remove("o-nav-button--visible")}else{const i=e.scrollWidth-e.clientWidth;e.scrollTo({left:i,behavior:"smooth"}),t.classList.remove("o-nav-button--visible"),s.classList.add("o-nav-button--visible")}}},z=({navigatedList:e,nextBtn:t,prevBtn:s,sliderVariant:o,delay:n})=>{if(e){const a=e.closest(".js-overview-bar-container"),c=a==null?void 0:a.querySelector(".c-stepper"),i=c==null?void 0:c.querySelectorAll(".c-stepper__item");if(i){const r=Array.from(i).findIndex(d=>d.classList.contains("c-stepper__item--loading"));r<0?i[0].classList.add("c-stepper__item--loading"):(i[r].classList.remove("c-stepper__item--loading"),i[r].classList.remove("c-stepper__item--loaded"),r-1>0&&(i[r-1].classList.remove("c-stepper__item--loading"),i[r-1].classList.remove("c-stepper__item--loaded"),setTimeout(()=>{const d=i[r-1].querySelector(".c-stepper__loader");i[r-1].classList.add("c-stepper__item--loading"),d&&d instanceof HTMLElement&&(d.style.transition=`width ${n/1e3}s linear`)},0)))}if(e.clientWidth<e.scrollLeft){let r=e.scrollLeft;switch(o){case"partners":r-=e.clientWidth+32;break;case"rubrics":r-=e.clientWidth-36;break;case"overviewbar":r-=e.clientWidth-24;break;default:r-=Math.ceil(e.clientWidth*.6);break}e.scrollTo({left:r,behavior:"smooth"}),t.classList.add("o-nav-button--visible"),r===0&&s.classList.remove("o-nav-button--visible")}else e.scrollTo({left:0,behavior:"smooth"}),s.classList.remove("o-nav-button--visible"),e.clientWidth<e.scrollWidth&&t.classList.add("o-nav-button--visible")}},V=({navigatedList:e,nextBtn:t,prevBtn:s})=>{N({navigatedList:e,nextBtn:t,prevBtn:s})},Y=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e)){const{sliderVariant:s}=t.dataset,{sliderAuto:o}=t.dataset,{sliderDelay:n}=t.dataset,a=n?parseInt(n,10):3e3,c=t.closest(".js-overview-bar-container"),i=c==null?void 0:c.querySelector(".c-stepper"),r=i==null?void 0:i.querySelectorAll(".c-stepper__item");if(t){const d=t.querySelector(".js-navigation-container__list"),u=t.querySelector(".o-nav-button--next-button"),f=t.querySelector(".o-nav-button--previous-button");if(d&&d.clientWidth<d.scrollWidth&&(u==null||u.classList.add("o-nav-button--visible")),d&&u&&f&&(u==null||u.addEventListener("click",P.bind(!1,{navigatedList:d,nextBtn:u,prevBtn:f,sliderVariant:s})),f==null||f.addEventListener("click",z.bind(!1,{navigatedList:d,nextBtn:u,prevBtn:f,sliderVariant:s,delay:a}))),o==="true"&&u){const g=i?i.querySelector(".c-stepper__item--loading"):null;r&&(r.forEach(y=>{const m=y.querySelector(".c-stepper__loader");m&&m instanceof HTMLElement&&(m.style.transition=`width ${a/1e3}s linear`)}),g||r[0].classList.add("c-stepper__item--loading")),setInterval(()=>{u.classList.contains("o-nav-button--visible")?u.click():d&&f&&(d.scrollLeft=0,r&&(r.forEach(y=>{const m=y.querySelector(".c-stepper__loader");m&&m instanceof HTMLElement&&(m.style.transition="width 0s linear"),y.classList.remove("c-stepper__item--loading"),y.classList.remove("c-stepper__item--loaded"),setTimeout(()=>{m&&m instanceof HTMLElement&&(m.style.transition=`width ${a/1e3}s linear`)},0)}),setTimeout(()=>{r[0].classList.add("c-stepper__item--loading")},0)),f.click())},a)}}}},G=()=>{const e=document.querySelectorAll(".js-navigation-container");for(const t of Array.from(e))if(t){const s=t.querySelector(".js-navigation-container__list"),o=t.querySelector(".o-nav-button--next-button"),n=t.querySelector(".o-nav-button--previous-button");s&&o&&n&&window.addEventListener("resize",V.bind(!1,{navigatedList:s,nextBtn:o,prevBtn:n}))}},X=()=>{const e=document.querySelector(".js-limit-scroll-progress-bar"),t=document.querySelector(".c-progress__bar");if(!t)return;const{documentElement:s}=document;let o=s.scrollHeight-s.clientHeight;if(!o)return;const n=s.scrollTop;e&&(o=e.scrollHeight-s.clientHeight+(window.pageYOffset+e.getBoundingClientRect().top));const a=Math.round(n/o*100);t.style.width=`${a}%`,a>=100&&(t.style.width="100%")},U=()=>{document.querySelector(".c-progress")&&window.addEventListener("scroll",X)};let E,L=0;const J=()=>{E=null,document.body.getBoundingClientRect().top>L+2&&(E="up"),document.body.getBoundingClientRect().top<L-2&&(E="down"),L=document.body.getBoundingClientRect().top;const e=document.querySelector(".c-read-also-banner");if(e){const t=e.dataset.bannerLimitTop||"0";E==="up"&&-document.body.getBoundingClientRect().top>=parseInt(t,10)&&(e.classList.remove("c-read-also-banner__scrolldirection--down"),e.style.paddingTop="0.75em",e.style.paddingBottom="0.75em",e.style.borderWidth="1px",e.classList.contains("c-read-also-banner__scrolldirection--up")||e.classList.add("c-read-also-banner__scrolldirection--up")),(E==="down"||-document.body.getBoundingClientRect().top<=parseInt(t,10))&&(e.classList.remove("c-read-also-banner__scrolldirection--up"),e.style.paddingTop="0",e.style.paddingBottom="0",e.style.borderWidth="0",e.classList.contains("c-read-also-banner__scrolldirection--down")||e.classList.add("c-read-also-banner__scrolldirection--down"))}},Q=(e=document.querySelector(".c-read-also-banner"))=>{if(e){let t;window.addEventListener("scroll",()=>{clearTimeout(t),t=setTimeout(J,100)})}},Z=e=>{var o;e.preventDefault();const t=e.currentTarget;if(!(t instanceof HTMLButtonElement))return;const s=(o=t.closest(".js-search-toggle"))==null?void 0:o.querySelector(".c-search-form");t.setAttribute("aria-hidden","true"),s==null||s.setAttribute("aria-hidden","false")},ee=(e=document.querySelector(".js-search-toggle"))=>{if(e){const t=e.querySelector(".c-header__search-button");t==null||t.addEventListener("click",Z)}},te=()=>{if(typeof navigator.share=="function"){const e=document.title,t=window.location.href;navigator.share({title:e,url:t}).then(()=>{console.log("Contenu partagé avec succès")}).catch(s=>{console.log(s)})}},se=(e=document.querySelector(".js-mobile-share-button"))=>{e&&e.addEventListener("click",te)},oe=e=>{const{target:t}=e;if(t instanceof Element){const s=t.closest(".c-search-form--button");s&&(e.preventDefault(),s.classList.remove("c-search-form--button"))}},ie=(e=document.querySelector(".c-search-form--button"))=>{e&&e.addEventListener("click",t=>{oe(t)})},ne=({tabsContainerElement:e,event:t})=>{t.preventDefault();const s=t.target;if(!(s instanceof HTMLButtonElement))return;const o=e.querySelectorAll('[role="tab"]'),n=e.querySelectorAll('[role="tabpanel"]'),a=s.getAttribute("aria-controls"),c=Object.values(n).find(i=>i.id===a);o.forEach(i=>{i.setAttribute("aria-selected","false")}),n.forEach(i=>{i.setAttribute("aria-hidden","true")}),s.setAttribute("aria-selected","true"),c&&c.removeAttribute("aria-hidden")},k=e=>e.code==="ArrowLeft"||e.keyCode===39,I=e=>e.code==="ArrowRight"||e.keyCode===37,re=(e=document.querySelector(".js-tabs"))=>{if(e){const t=e.querySelectorAll('[role="tab"]');t.forEach(o=>{o.addEventListener("click",n=>{ne({tabsContainerElement:e,event:n})})});const s=e.querySelector('[role="tablist"]');if(s&&t.length>0){let o=0;s.addEventListener("keydown",n=>{n instanceof KeyboardEvent&&(k(n)||I(n))&&(t[o].setAttribute("tabindex","-1"),k(n)?(o+=1,o>=t.length&&(o=0)):I(n)&&(o-=1,o<0&&(o=t.length-1)),t[o].setAttribute("tabindex","0"),t[o].focus())})}}},le=()=>{C(),re(),p(),U(),ee(),se(),K(),Q(),ie(),M("olympicsGames","countdown-olympics-games"),Y(),G()};b.initScripts=le,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})});
import React from 'react';
declare const _default: {
title: string;
component: React.FC<import("./DividerSection").DividerSectionProps>;
component: React.FC<import('../../../components/atoms/DividerSection').DividerSectionProps>;
args: {

@@ -53,7 +53,7 @@ hasDiode: boolean;

export default _default;
export declare const Overview: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./DividerSection").DividerSectionProps>;
export declare const HasBigDiode: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./DividerSection").DividerSectionProps>;
export declare const HasThemeColor: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./DividerSection").DividerSectionProps>;
export declare const HasDiodeShift: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./DividerSection").DividerSectionProps>;
export declare const HasMaxWidth: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./DividerSection").DividerSectionProps>;
export declare const Mobile: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./DividerSection").DividerSectionProps>;
export declare const Overview: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../../../components/atoms/DividerSection').DividerSectionProps>;
export declare const HasBigDiode: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../../../components/atoms/DividerSection').DividerSectionProps>;
export declare const HasThemeColor: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../../../components/atoms/DividerSection').DividerSectionProps>;
export declare const HasDiodeShift: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../../../components/atoms/DividerSection').DividerSectionProps>;
export declare const HasMaxWidth: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../../../components/atoms/DividerSection').DividerSectionProps>;
export declare const Mobile: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../../../components/atoms/DividerSection').DividerSectionProps>;
import React from 'react';
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../..").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "as" | `data-${string}` | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("../../../..").SystemProps> & import("../../../..").SystemProps & Omit<import("../../../..").PropsOf<"div">, "color" | "align" | "ref"> & {
as?: import("../../../..").As<any> | undefined;
} & Record<`data-${string}`, string> & import("../../../..").OmitCommonProps<any, "slot" | "style" | "title" | "as" | `data-${string}` | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("../../../..").SystemProps> & {
as?: import("../../../..").As<any> | undefined;
}>;
declare const _default: {
title: string;
component: import("../../../..").ComponentWithAs<"div", import("./Box").BoxProps<"div">>;
args: {
children: string;
as: string;
};
parameters: {
controls: {
exclude: string[];
};
};
argTypes: {
m?: import("@storybook/csf").InputType | undefined;
mt?: import("@storybook/csf").InputType | undefined;
mr?: import("@storybook/csf").InputType | undefined;
mb?: import("@storybook/csf").InputType | undefined;
ml?: import("@storybook/csf").InputType | undefined;
mx?: import("@storybook/csf").InputType | undefined;
my?: import("@storybook/csf").InputType | undefined;
p?: import("@storybook/csf").InputType | undefined;
pt?: import("@storybook/csf").InputType | undefined;
pr?: import("@storybook/csf").InputType | undefined;
pb?: import("@storybook/csf").InputType | undefined;
pl?: import("@storybook/csf").InputType | undefined;
px?: import("@storybook/csf").InputType | undefined;
py?: import("@storybook/csf").InputType | undefined;
borderColor?: import("@storybook/csf").InputType | undefined;
bg?: import("@storybook/csf").InputType | undefined;
color?: import("@storybook/csf").InputType | undefined;
radius?: import("@storybook/csf").InputType | undefined;
};
};
export default _default;

@@ -8,0 +36,0 @@ export declare const Overview: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../..").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "as" | `data-${string}` | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("../../../..").SystemProps> & import("../../../..").SystemProps & Omit<import("../../../..").PropsOf<"div">, "color" | "align" | "ref"> & {

import React from 'react';
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../..").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "as" | `data-${string}` | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("../../../..").SystemProps | keyof import("../../../..").FlexBoxSystemProps> & import("../../../..").FlexBoxSystemProps & import("../../../..").SystemProps & Omit<import("../../../..").PropsOf<"div">, "color" | "align" | "ref"> & {
as?: import("../../../..").As<any> | undefined;
} & Record<`data-${string}`, string> & import("../../../..").OmitCommonProps<any, "slot" | "style" | "title" | "as" | `data-${string}` | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("../../../..").SystemProps | keyof import("../../../..").FlexBoxSystemProps> & {
as?: import("../../../..").As<any> | undefined;
}>;
declare const _default: {
title: string;
component: import("../../../..").ComponentWithAs<"div", import('../../../../components').FlexProps<"div">>;
args: {
bg: string;
p: string;
gap: string;
justifyContent: string;
children: React.JSX.Element[];
};
parameters: {
controls: {
exclude: string[];
};
};
argTypes: {
inline: {
type: string;
description: string;
};
direction: {
options: readonly ["column", "row", "column-reverse", "row-reverse"];
description: string;
};
wrap: {
options: readonly ["wrap", "wrap-reverse", "no-wrap"];
description: string;
};
m?: import("@storybook/csf").InputType | undefined;
mt?: import("@storybook/csf").InputType | undefined;
mr?: import("@storybook/csf").InputType | undefined;
mb?: import("@storybook/csf").InputType | undefined;
ml?: import("@storybook/csf").InputType | undefined;
mx?: import("@storybook/csf").InputType | undefined;
my?: import("@storybook/csf").InputType | undefined;
p?: import("@storybook/csf").InputType | undefined;
pt?: import("@storybook/csf").InputType | undefined;
pr?: import("@storybook/csf").InputType | undefined;
pb?: import("@storybook/csf").InputType | undefined;
pl?: import("@storybook/csf").InputType | undefined;
px?: import("@storybook/csf").InputType | undefined;
py?: import("@storybook/csf").InputType | undefined;
borderColor?: import("@storybook/csf").InputType | undefined;
bg?: import("@storybook/csf").InputType | undefined;
color?: import("@storybook/csf").InputType | undefined;
radius?: import("@storybook/csf").InputType | undefined;
};
};
export default _default;

@@ -8,0 +51,0 @@ export declare const Overview: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("../../../..").OmitCommonProps<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "as" | `data-${string}` | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("../../../..").SystemProps | keyof import("../../../..").FlexBoxSystemProps> & import("../../../..").FlexBoxSystemProps & import("../../../..").SystemProps & Omit<import("../../../..").PropsOf<"div">, "color" | "align" | "ref"> & {

@@ -1,3 +0,40 @@

declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import('../../../../components').GridProps>;
import React from 'react';
declare const _default: {
title: string;
component: React.FC<import('../../../../components').GridProps>;
args: {
children: React.JSX.Element;
as: string;
};
parameters: {
controls: {
exclude: string[];
};
};
argTypes: {
colsNumber: {
options: readonly [2, 3, 4, 6, 12, "2-of-3"];
description: string;
};
m?: import("@storybook/csf").InputType | undefined;
mt?: import("@storybook/csf").InputType | undefined;
mr?: import("@storybook/csf").InputType | undefined;
mb?: import("@storybook/csf").InputType | undefined;
ml?: import("@storybook/csf").InputType | undefined;
mx?: import("@storybook/csf").InputType | undefined;
my?: import("@storybook/csf").InputType | undefined;
p?: import("@storybook/csf").InputType | undefined;
pt?: import("@storybook/csf").InputType | undefined;
pr?: import("@storybook/csf").InputType | undefined;
pb?: import("@storybook/csf").InputType | undefined;
pl?: import("@storybook/csf").InputType | undefined;
px?: import("@storybook/csf").InputType | undefined;
py?: import("@storybook/csf").InputType | undefined;
borderColor?: import("@storybook/csf").InputType | undefined;
bg?: import("@storybook/csf").InputType | undefined;
color?: import("@storybook/csf").InputType | undefined;
radius?: import("@storybook/csf").InputType | undefined;
};
};
export default _default;
export declare const Overview: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../../../../components').GridProps>;

@@ -8,3 +8,3 @@ import React from 'react';

name: string;
logoUrl: any;
logoUrl: string;
};

@@ -11,0 +11,0 @@ hasText: boolean;

@@ -316,2 +316,128 @@ export declare const tokenVariables: {

};
typography: {
heading: {
'xxs-3': {
description: string;
fontSize: {
value: string;
};
};
'xxs-2': {
description: string;
fontSize: {
value: string;
};
};
xxs: {
description: string;
fontSize: {
value: string;
};
};
xs: {
description: string;
fontSize: {
value: string;
};
};
s: {
description: string;
fontSize: {
value: string;
};
};
m: {
description: string;
fontSize: {
value: string;
};
};
l: {
description: string;
fontSize: {
value: string;
};
};
xl: {
description: string;
fontSize: {
value: string;
};
};
xxl: {
description: string;
fontSize: {
value: string;
};
};
'xxl-2': {
description: string;
fontSize: {
value: string;
};
};
};
text: {
'xxs-3': {
description: string;
fontSize: {
value: string;
};
};
'xxs-2': {
description: string;
fontSize: {
value: string;
};
};
xxs: {
description: string;
fontSize: {
value: string;
};
};
xs: {
description: string;
fontSize: {
value: string;
};
};
s: {
description: string;
fontSize: {
value: string;
};
};
m: {
description: string;
fontSize: {
value: string;
};
lineHeight: {
value: string;
};
};
l: {
description: string;
fontSize: {
value: string;
};
lineHeight: {
value: string;
};
};
xl: {
description: string;
fontSize: {
value: string;
};
};
xxl: {
description: string;
fontSize: {
value: string;
};
};
};
};
breakpoint: {

@@ -625,128 +751,2 @@ xs: {

};
typography: {
heading: {
'xxs-3': {
description: string;
fontSize: {
value: string;
};
};
'xxs-2': {
description: string;
fontSize: {
value: string;
};
};
xxs: {
description: string;
fontSize: {
value: string;
};
};
xs: {
description: string;
fontSize: {
value: string;
};
};
s: {
description: string;
fontSize: {
value: string;
};
};
m: {
description: string;
fontSize: {
value: string;
};
};
l: {
description: string;
fontSize: {
value: string;
};
};
xl: {
description: string;
fontSize: {
value: string;
};
};
xxl: {
description: string;
fontSize: {
value: string;
};
};
'xxl-2': {
description: string;
fontSize: {
value: string;
};
};
};
text: {
'xxs-3': {
description: string;
fontSize: {
value: string;
};
};
'xxs-2': {
description: string;
fontSize: {
value: string;
};
};
xxs: {
description: string;
fontSize: {
value: string;
};
};
xs: {
description: string;
fontSize: {
value: string;
};
};
s: {
description: string;
fontSize: {
value: string;
};
};
m: {
description: string;
fontSize: {
value: string;
};
lineHeight: {
value: string;
};
};
l: {
description: string;
fontSize: {
value: string;
};
lineHeight: {
value: string;
};
};
xl: {
description: string;
fontSize: {
value: string;
};
};
xxl: {
description: string;
fontSize: {
value: string;
};
};
};
};
};
{
"name": "@20minutes/hela",
"version": "0.1.167",
"version": "0.1.168",
"repository": "git@github.com:20minutes/hela.git",

@@ -51,4 +51,4 @@ "license": "MIT",

"npm": "please-use-yarn-instead",
"yarn": ">= 1.2.0",
"node": ">=18"
"yarn": ">= 1.22.0",
"node": ">=20"
},

@@ -67,3 +67,3 @@ "dependencies": {

"@20minutes/eslint-config": "^1.2.6",
"@aws-sdk/client-s3": "3.465.0",
"@aws-sdk/client-s3": "3.468.0",
"@babel/core": "^7.23.5",

@@ -74,13 +74,13 @@ "@babel/eslint-parser": "^7.23.3",

"@octokit/core": "5.0.2",
"@storybook/addon-actions": "^7.6.3",
"@storybook/addon-essentials": "^7.6.3",
"@storybook/addon-links": "^7.6.3",
"@storybook/addon-mdx-gfm": "^7.6.3",
"@storybook/blocks": "^7.6.3",
"@storybook/react": "^7.6.3",
"@storybook/react-vite": "^7.6.3",
"@storybook/addon-actions": "^7.6.4",
"@storybook/addon-essentials": "^7.6.4",
"@storybook/addon-links": "^7.6.4",
"@storybook/addon-mdx-gfm": "^7.6.4",
"@storybook/blocks": "^7.6.4",
"@storybook/react": "^7.6.4",
"@storybook/react-vite": "^7.6.4",
"@svgr/cli": "^8.1.0",
"@testing-library/react": "^14.1.2",
"@types/merge-stream": "^1.1.5",
"@types/node": "^20.10.3",
"@types/node": "^20.10.4",
"@types/react": "^18.2.42",

@@ -120,4 +120,4 @@ "@types/react-dom": "^18.2.17",

"sass": "^1.69.5",
"storybook": "^7.6.3",
"style-dictionary": "^3.9.0",
"storybook": "^7.6.4",
"style-dictionary": "^3.9.1",
"stylelint": "^15.11.0",

@@ -131,4 +131,4 @@ "stylelint-config-standard-scss": "^11.1.0",

"vite-plugin-dts": "^3.6.4",
"vite-tsconfig-paths": "^4.2.1",
"vitest": "^1.0.1"
"vite-tsconfig-paths": "^4.2.2",
"vitest": "^1.0.2"
},

@@ -135,0 +135,0 @@ "resolutions": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc