@agregio-solutions/design-system 1.84.1 → 1.84.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/design-system.cjs
CHANGED
|
@@ -894,7 +894,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Fo]+=1);const zm=l.createCont
|
|
|
894
894
|
`,Kl=S(re)`
|
|
895
895
|
color: var(--color-content-neutral-tertiary);
|
|
896
896
|
font-size: 24px;
|
|
897
|
-
`,FB=({links:e,...t})=>{const n=je(MB);if(!e.length||e.length<2)return null;const r=e[0],a=e.length>1?e[e.length-1]:null,o=e.slice(1,-1);return d.jsx("nav",{...t,"aria-label":n.breadcrumbs,children:d.jsxs(PB,{children:[d.jsxs(Wo,{"data-last-link":e.length===1?"true":void 0,children:[d.jsx(AB,{name:"home","aria-hidden":!0}),d.jsx(cr,{href:r.href,"aria-current":e.length===1?"page":void 0,children:r.text||n.home})]}),e.length>4?d.jsxs(gp,{children:[d.jsxs(Wo,{children:[d.jsx(Kl,{name:"chevron_right","aria-hidden":!0}),d.jsx(TB,{type:"button","aria-label":n.showMore,children:"..."})]}),d.jsx(wn,{children:d.jsx(Ap,{children:d.jsx(yo,{children:o.map((i,u)=>d.jsx(Cr,{id:i.text,text:i.text,href:i.href},u))})})})]}):o.map((i,u)=>d.jsxs(Wo,{children:[d.jsx(Kl,{name:"chevron_right","aria-hidden":!0}),d.jsx(cr,{href:i.href,"aria-current":u===e.length-1?"page":void 0,children:i.text})]},u)),a&&d.jsxs(Wo,{"data-last-link":!0,children:[d.jsx(Kl,{name:"chevron_right","aria-hidden":!0}),d.jsx(cr,{href:a.href,"aria-current":"page",children:a.text})]})]})})},MB={en:{home:"Home",showMore:"Show more",breadcrumbs:"Breadcrumbs"},fr:{home:"Accueil",showMore:"Afficher plus",breadcrumbs:"Fil d'Ariane"}},Fp=br`
|
|
897
|
+
`,FB=({links:e,...t})=>{const n=je(MB);if(!e.length||e.length<2)return null;const r=e[0],a=e.length>1?e[e.length-1]:null,o=e.slice(1,-1);return d.jsx("nav",{...t,"aria-label":n.breadcrumbs,children:d.jsxs(PB,{children:[d.jsxs(Wo,{"data-last-link":e.length===1?"true":void 0,children:[d.jsx(AB,{name:"home","aria-hidden":!0}),d.jsx(cr,{href:r.href,"aria-current":e.length===1?"page":void 0,routerOptions:r.routerOptions,children:r.text||n.home})]}),e.length>4?d.jsxs(gp,{children:[d.jsxs(Wo,{children:[d.jsx(Kl,{name:"chevron_right","aria-hidden":!0}),d.jsx(TB,{type:"button","aria-label":n.showMore,children:"..."})]}),d.jsx(wn,{children:d.jsx(Ap,{children:d.jsx(yo,{children:o.map((i,u)=>d.jsx(Cr,{id:i.text,text:i.text,href:i.href,routerOptions:i.routerOptions},u))})})})]}):o.map((i,u)=>d.jsxs(Wo,{children:[d.jsx(Kl,{name:"chevron_right","aria-hidden":!0}),d.jsx(cr,{href:i.href,"aria-current":u===e.length-1?"page":void 0,routerOptions:i.routerOptions,children:i.text})]},u)),a&&d.jsxs(Wo,{"data-last-link":!0,children:[d.jsx(Kl,{name:"chevron_right","aria-hidden":!0}),d.jsx(cr,{href:a.href,"aria-current":"page",routerOptions:a.routerOptions,children:a.text})]})]})})},MB={en:{home:"Home",showMore:"Show more",breadcrumbs:"Breadcrumbs"},fr:{home:"Accueil",showMore:"Afficher plus",breadcrumbs:"Fil d'Ariane"}},Fp=br`
|
|
898
898
|
display: inline-block;
|
|
899
899
|
background: var(--color-content-neutral-primary-reversed);
|
|
900
900
|
padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-sm)
|
package/dist/design-system.js
CHANGED
|
@@ -26403,6 +26403,7 @@ const IB = P.ol`
|
|
|
26403
26403
|
{
|
|
26404
26404
|
href: r.href,
|
|
26405
26405
|
"aria-current": e.length === 1 ? "page" : void 0,
|
|
26406
|
+
routerOptions: r.routerOptions,
|
|
26406
26407
|
children: r.text || n.home
|
|
26407
26408
|
}
|
|
26408
26409
|
)
|
|
@@ -26417,7 +26418,8 @@ const IB = P.ol`
|
|
|
26417
26418
|
{
|
|
26418
26419
|
id: i.text,
|
|
26419
26420
|
text: i.text,
|
|
26420
|
-
href: i.href
|
|
26421
|
+
href: i.href,
|
|
26422
|
+
routerOptions: i.routerOptions
|
|
26421
26423
|
},
|
|
26422
26424
|
u
|
|
26423
26425
|
)) }) }) })
|
|
@@ -26428,13 +26430,22 @@ const IB = P.ol`
|
|
|
26428
26430
|
{
|
|
26429
26431
|
href: i.href,
|
|
26430
26432
|
"aria-current": u === e.length - 1 ? "page" : void 0,
|
|
26433
|
+
routerOptions: i.routerOptions,
|
|
26431
26434
|
children: i.text
|
|
26432
26435
|
}
|
|
26433
26436
|
)
|
|
26434
26437
|
] }, u)),
|
|
26435
26438
|
a && /* @__PURE__ */ N(ni, { "data-last-link": !0, children: [
|
|
26436
26439
|
/* @__PURE__ */ f(Ul, { name: "chevron_right", "aria-hidden": !0 }),
|
|
26437
|
-
/* @__PURE__ */ f(
|
|
26440
|
+
/* @__PURE__ */ f(
|
|
26441
|
+
yr,
|
|
26442
|
+
{
|
|
26443
|
+
href: a.href,
|
|
26444
|
+
"aria-current": "page",
|
|
26445
|
+
routerOptions: a.routerOptions,
|
|
26446
|
+
children: a.text
|
|
26447
|
+
}
|
|
26448
|
+
)
|
|
26438
26449
|
] })
|
|
26439
26450
|
] }) });
|
|
26440
26451
|
}, OB = {
|
package/package.json
CHANGED