@alfadocs/ui-kit 0.32.2 → 0.32.4

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.
@@ -1,7 +1,7 @@
1
1
  import { jsxs as v, jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as _, useContext as k, Children as w, createContext as y } from "react";
2
+ import { forwardRef as b, useContext as k, Children as w, createContext as y } from "react";
3
3
  import { c as s } from "./index-D2ZczOXr.js";
4
- const b = [
4
+ const _ = [
5
5
  "violet",
6
6
  "purple",
7
7
  "magenta",
@@ -44,17 +44,17 @@ const b = [
44
44
  // matches Card.elevated and PublicFooter compact. The thicker
45
45
  // line reads as a deliberate boundary rather than a hairline.
46
46
  //
47
- // 0.31.9: `border-t-0` on both variants the 4px accent strip
48
- // (absolutely positioned at top:0 inside the border-box) sits
49
- // BELOW the top border, so visually you see a thin grey
50
- // hairline, then the brand strip. That dilutes the brand
51
- // marker. Dropping the top border lets the accent strip BE the
52
- // card's top edge. The 3px-and-up strip carries enough
53
- // contrast (~5:1 on white in light theme, similar in dark) to
54
- // satisfy the accessible theme's ≥3:1 boundary requirement
55
- // without the extra hairline.
56
- elevated: "ds:shadow-[var(--shadow-card)] ds:border ds:border-t-0 ds:border-[color:var(--card-border)] ds:[.theme-accessible_&]:border-2 ds:[.theme-accessible_&]:border-t-0",
57
- outlined: "ds:border ds:border-t-0 ds:border-[color:var(--card-border)] ds:[.theme-accessible_&]:border-2 ds:[.theme-accessible_&]:border-t-0"
47
+ // 0.32.3: restored full 4-sided border. 0.31.9 dropped
48
+ // `border-top` so the accent strip would be the card's literal
49
+ // top edge but with `border-radius: lg` on all 4 corners the
50
+ // side borders curve toward a non-existent top edge, leaving
51
+ // the top corners visually "open" (visible page-bg slivers
52
+ // where the rounded corner outline should close). The 1px
53
+ // hairline above the accent strip is the cheaper visual cost
54
+ // subtle in light theme (14% black) and matches dark-theme
55
+ // chrome where shadow alone loses contrast.
56
+ elevated: "ds:shadow-[var(--shadow-card)] ds:border ds:border-[color:var(--card-border)] ds:[.theme-accessible_&]:border-2",
57
+ outlined: "ds:border ds:border-[color:var(--card-border)] ds:[.theme-accessible_&]:border-2"
58
58
  }
59
59
  },
60
60
  defaultVariants: { variant: "elevated" }
@@ -153,9 +153,9 @@ const b = [
153
153
  }
154
154
  );
155
155
  function S(a, o) {
156
- return a !== "auto" ? a : o ? b[o.index % b.length] : "primary";
156
+ return a !== "auto" ? a : o ? _[o.index % _.length] : "primary";
157
157
  }
158
- const p = _(
158
+ const p = b(
159
159
  ({ columns: a = 3, children: o, className: c, ...d }, l) => {
160
160
  const i = w.toArray(o);
161
161
  return /* @__PURE__ */ r(
@@ -171,7 +171,7 @@ const p = _(
171
171
  }
172
172
  );
173
173
  p.displayName = "BenefitCard.Row";
174
- const x = _(
174
+ const x = b(
175
175
  ({
176
176
  step: a,
177
177
  icon: o,
@@ -241,4 +241,4 @@ const H = Object.assign(x, {
241
241
  export {
242
242
  H as B
243
243
  };
244
- //# sourceMappingURL=benefit-card-_Sc-MGha.js.map
244
+ //# sourceMappingURL=benefit-card-Xnxj4Gmo.js.map
@@ -33,18 +33,18 @@ const L = "https://www.alfadocs.com", F = {
33
33
  contacts: "/es/contacto"
34
34
  }
35
35
  }, B = "https://";
36
- function K(t) {
37
- return !t || !t.startsWith(B) ? L : t.replace(/\/+$/, "");
36
+ function K(s) {
37
+ return !s || !s.startsWith(B) ? L : s.replace(/\/+$/, "");
38
38
  }
39
- function k(t, s, a) {
39
+ function k(s, t, a) {
40
40
  var c, l;
41
- const r = (c = a == null ? void 0 : a[s]) == null ? void 0 : c[t];
41
+ const r = (c = a == null ? void 0 : a[t]) == null ? void 0 : c[s];
42
42
  if (r) return r;
43
- const n = (l = Y[t]) == null ? void 0 : l[s];
44
- return n || F[s];
43
+ const n = (l = Y[s]) == null ? void 0 : l[t];
44
+ return n || F[t];
45
45
  }
46
- function W(t, s, a) {
47
- const r = K(s), n = (t || "it").split("-")[0];
46
+ function W(s, t, a) {
47
+ const r = K(t), n = (s || "it").split("-")[0];
48
48
  return {
49
49
  privacy: `${r}${k(n, "privacy", a)}`,
50
50
  terms: `${r}${k(n, "terms", a)}`,
@@ -65,12 +65,12 @@ const X = [
65
65
  viewBox: "0 0 24 24",
66
66
  fill: "currentColor",
67
67
  xmlns: "http://www.w3.org/2000/svg"
68
- }, J = (t) => /* @__PURE__ */ e("svg", { ...y, ...t, children: /* @__PURE__ */ e("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.063 2.063 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }) }), Q = (t) => /* @__PURE__ */ e("svg", { ...y, ...t, children: /* @__PURE__ */ e("path", { d: "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" }) }), Z = (t) => /* @__PURE__ */ e("svg", { ...y, ...t, children: /* @__PURE__ */ e("path", { d: "M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z" }) }), ee = (t) => /* @__PURE__ */ e("svg", { ...y, ...t, children: /* @__PURE__ */ e("path", { d: "M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" }) }), te = {
68
+ }, J = (s) => /* @__PURE__ */ e("svg", { ...y, ...s, children: /* @__PURE__ */ e("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.063 2.063 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }) }), Q = (s) => /* @__PURE__ */ e("svg", { ...y, ...s, children: /* @__PURE__ */ e("path", { d: "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" }) }), Z = (s) => /* @__PURE__ */ e("svg", { ...y, ...s, children: /* @__PURE__ */ e("path", { d: "M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z" }) }), ee = (s) => /* @__PURE__ */ e("svg", { ...y, ...s, children: /* @__PURE__ */ e("path", { d: "M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" }) }), se = {
69
69
  linkedin: J,
70
70
  youtube: Q,
71
71
  instagram: Z,
72
72
  facebook: ee
73
- }, se = "AlfaDocs GmbH", ae = "P.IVA DE301955405", ne = R(
73
+ }, te = "AlfaDocs GmbH", ae = "P.IVA DE301955405", ne = R(
74
74
  [
75
75
  "ds:w-full",
76
76
  "ds:text-[color:var(--muted-foreground)]",
@@ -113,12 +113,12 @@ const X = [
113
113
  defaultVariants: { variant: "compact" }
114
114
  }
115
115
  ), re = /^(https?:\/\/|mailto:|tel:|\/(?!\/))/i;
116
- function I(t) {
117
- return re.test(t) ? t : "#";
116
+ function I(s) {
117
+ return re.test(s) ? s : "#";
118
118
  }
119
119
  function M({
120
- copyright: t,
121
- align: s = "center"
120
+ copyright: s,
121
+ align: t = "center"
122
122
  }) {
123
123
  return /* @__PURE__ */ e(
124
124
  "p",
@@ -126,15 +126,15 @@ function M({
126
126
  className: [
127
127
  "ds:m-0 ds:text-[color:var(--muted-foreground)]",
128
128
  "ds:text-[length:var(--font-size-sm)]",
129
- s === "center" ? "ds:text-center" : "ds:text-start"
129
+ t === "center" ? "ds:text-center" : "ds:text-start"
130
130
  ].join(" "),
131
- children: t
131
+ children: s
132
132
  }
133
133
  );
134
134
  }
135
135
  const ce = H(
136
136
  function({
137
- variant: s,
137
+ variant: t,
138
138
  marketingBaseUrl: a,
139
139
  legalUrlOverrides: r,
140
140
  linkGroups: n,
@@ -142,7 +142,7 @@ const ce = H(
142
142
  logoSlot: l,
143
143
  extraNavSlot: d,
144
144
  trustBadgesSlot: h,
145
- showTagline: v = !0,
145
+ showTagline: v = !1,
146
146
  id: g,
147
147
  "aria-label": z
148
148
  }, p) {
@@ -153,14 +153,14 @@ const ce = H(
153
153
  P(
154
154
  p,
155
155
  () => ({
156
- getVariant: () => s,
156
+ getVariant: () => t,
157
157
  getLegalUrls: () => x
158
158
  }),
159
- [s, x]
159
+ [t, x]
160
160
  );
161
161
  const j = (/* @__PURE__ */ new Date()).getFullYear(), N = o("footer.copyright", {
162
162
  year: j,
163
- entity: se,
163
+ entity: te,
164
164
  vat: ae
165
165
  }), $ = v ? o("footer.tagline") : void 0, E = z ?? o("footer.nav.label"), w = {
166
166
  privacy: o("footer.nav.privacy"),
@@ -174,10 +174,10 @@ const ce = H(
174
174
  role: "contentinfo",
175
175
  "aria-label": E,
176
176
  "data-component": "public-footer",
177
- "data-variant": s,
178
- className: ne({ variant: s }),
177
+ "data-variant": t,
178
+ className: ne({ variant: t }),
179
179
  children: [
180
- s === "minimal" && /* @__PURE__ */ e(
180
+ t === "minimal" && /* @__PURE__ */ e(
181
181
  ie,
182
182
  {
183
183
  legalUrls: x,
@@ -186,7 +186,7 @@ const ce = H(
186
186
  trustBadgesSlot: h
187
187
  }
188
188
  ),
189
- s === "compact" && /* @__PURE__ */ e(
189
+ t === "compact" && /* @__PURE__ */ e(
190
190
  le,
191
191
  {
192
192
  legalUrls: x,
@@ -199,7 +199,7 @@ const ce = H(
199
199
  t: o
200
200
  }
201
201
  ),
202
- s === "full" && /* @__PURE__ */ e(
202
+ t === "full" && /* @__PURE__ */ e(
203
203
  de,
204
204
  {
205
205
  legalUrls: x,
@@ -220,8 +220,8 @@ const ce = H(
220
220
  }
221
221
  );
222
222
  function ie({
223
- legalUrls: t,
224
- labels: s,
223
+ legalUrls: s,
224
+ labels: t,
225
225
  copyright: a,
226
226
  trustBadgesSlot: r
227
227
  }) {
@@ -237,22 +237,22 @@ function ie({
237
237
  /* @__PURE__ */ e(
238
238
  f,
239
239
  {
240
- href: t.privacy,
240
+ href: s.privacy,
241
241
  external: !0,
242
242
  externalIcon: !1,
243
243
  intent: "subtle",
244
- children: s.privacy
244
+ children: t.privacy
245
245
  }
246
246
  ),
247
247
  /* @__PURE__ */ e(m, { orientation: "vertical", className: "ds:h-4" }),
248
248
  /* @__PURE__ */ e(
249
249
  f,
250
250
  {
251
- href: t.terms,
251
+ href: s.terms,
252
252
  external: !0,
253
253
  externalIcon: !1,
254
254
  intent: "subtle",
255
- children: s.terms
255
+ children: t.terms
256
256
  }
257
257
  ),
258
258
  /* @__PURE__ */ e(m, { orientation: "vertical", className: "ds:h-4" }),
@@ -260,19 +260,19 @@ function ie({
260
260
  ] });
261
261
  }
262
262
  function _({
263
- socials: t,
264
- t: s,
263
+ socials: s,
264
+ t,
265
265
  size: a
266
266
  }) {
267
- if (t.length === 0) return null;
267
+ if (s.length === 0) return null;
268
268
  const r = a === "sm" ? "ds:size-4" : "ds:size-5";
269
269
  return /* @__PURE__ */ e(
270
270
  "ul",
271
271
  {
272
272
  "data-slot": "socials",
273
273
  className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
274
- children: t.map((n) => {
275
- const c = te[n.network], l = n.href ?? q[n.network], d = s(`footer.social.aria.${n.network}`);
274
+ children: s.map((n) => {
275
+ const c = se[n.network], l = n.href ?? q[n.network], d = t(`footer.social.aria.${n.network}`);
276
276
  return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
277
277
  f,
278
278
  {
@@ -297,8 +297,8 @@ function _({
297
297
  );
298
298
  }
299
299
  function le({
300
- legalUrls: t,
301
- labels: s,
300
+ legalUrls: s,
301
+ labels: t,
302
302
  copyright: a,
303
303
  tagline: r,
304
304
  socials: n,
@@ -337,33 +337,33 @@ function le({
337
337
  /* @__PURE__ */ e(
338
338
  f,
339
339
  {
340
- href: t.privacy,
340
+ href: s.privacy,
341
341
  external: !0,
342
342
  externalIcon: !1,
343
343
  intent: "subtle",
344
- children: s.privacy
344
+ children: t.privacy
345
345
  }
346
346
  ),
347
347
  /* @__PURE__ */ e(m, { orientation: "vertical", className: "ds:h-4" }),
348
348
  /* @__PURE__ */ e(
349
349
  f,
350
350
  {
351
- href: t.terms,
351
+ href: s.terms,
352
352
  external: !0,
353
353
  externalIcon: !1,
354
354
  intent: "subtle",
355
- children: s.terms
355
+ children: t.terms
356
356
  }
357
357
  ),
358
358
  /* @__PURE__ */ e(m, { orientation: "vertical", className: "ds:h-4" }),
359
359
  /* @__PURE__ */ e(
360
360
  f,
361
361
  {
362
- href: t.contacts,
362
+ href: s.contacts,
363
363
  external: !0,
364
364
  externalIcon: !1,
365
365
  intent: "subtle",
366
- children: s.contacts
366
+ children: t.contacts
367
367
  }
368
368
  ),
369
369
  l && /* @__PURE__ */ i(b, { children: [
@@ -382,19 +382,19 @@ function le({
382
382
  ) : null
383
383
  ] });
384
384
  }
385
- function oe(t, s) {
385
+ function oe(s, t) {
386
386
  return {
387
387
  key: "legal",
388
388
  links: [
389
- { href: t.privacy, label: s.privacy, external: !0 },
390
- { href: t.terms, label: s.terms, external: !0 },
391
- { href: t.contacts, label: s.contacts, external: !0 }
389
+ { href: s.privacy, label: t.privacy, external: !0 },
390
+ { href: s.terms, label: t.terms, external: !0 },
391
+ { href: s.contacts, label: t.contacts, external: !0 }
392
392
  ]
393
393
  };
394
394
  }
395
395
  function de({
396
- legalUrls: t,
397
- labels: s,
396
+ legalUrls: s,
397
+ labels: t,
398
398
  copyright: a,
399
399
  tagline: r,
400
400
  linkGroups: n,
@@ -406,7 +406,7 @@ function de({
406
406
  }) {
407
407
  const g = [
408
408
  ...n ?? [],
409
- oe(t, s)
409
+ oe(s, t)
410
410
  ];
411
411
  return /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xl)]", children: [
412
412
  /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xl)] ds:lg:flex-row ds:lg:items-start ds:lg:gap-[var(--spacing-xl)]", children: [
@@ -467,22 +467,22 @@ function de({
467
467
  /* @__PURE__ */ e(
468
468
  f,
469
469
  {
470
- href: t.privacy,
470
+ href: s.privacy,
471
471
  external: !0,
472
472
  externalIcon: !1,
473
473
  intent: "subtle",
474
- children: s.privacy
474
+ children: t.privacy
475
475
  }
476
476
  ),
477
477
  /* @__PURE__ */ e(m, { orientation: "vertical", className: "ds:h-4" }),
478
478
  /* @__PURE__ */ e(
479
479
  f,
480
480
  {
481
- href: t.terms,
481
+ href: s.terms,
482
482
  external: !0,
483
483
  externalIcon: !1,
484
484
  intent: "subtle",
485
- children: s.terms
485
+ children: t.terms
486
486
  }
487
487
  ),
488
488
  (h || d) && /* @__PURE__ */ i(b, { children: [
@@ -519,10 +519,10 @@ function de({
519
519
  ] });
520
520
  }
521
521
  function me({
522
- columns: t,
523
- t: s
522
+ columns: s,
523
+ t
524
524
  }) {
525
- return /* @__PURE__ */ e(b, { children: t.map((a, r) => /* @__PURE__ */ i(
525
+ return /* @__PURE__ */ e(b, { children: s.map((a, r) => /* @__PURE__ */ i(
526
526
  "section",
527
527
  {
528
528
  "aria-labelledby": `public-footer-group-${r}-${a.key}`,
@@ -532,7 +532,7 @@ function me({
532
532
  {
533
533
  id: `public-footer-group-${r}-${a.key}`,
534
534
  className: "ds:m-0 ds:mb-[var(--spacing-sm)] ds:text-[color:var(--foreground)] ds:text-[length:var(--font-size-sm)] ds:font-medium",
535
- children: s(`footer.group.${a.key}`, { defaultValue: a.key })
535
+ children: t(`footer.group.${a.key}`, { defaultValue: a.key })
536
536
  }
537
537
  ),
538
538
  /* @__PURE__ */ e("ul", { className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: a.links.map((n) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
@@ -558,12 +558,12 @@ const ye = {
558
558
  variant: {
559
559
  type: "string",
560
560
  description: "Active variant — one of `minimal`, `compact`, `full`.",
561
- read: (t) => t.getVariant()
561
+ read: (s) => s.getVariant()
562
562
  },
563
563
  legalUrls: {
564
564
  type: "object",
565
565
  description: "Resolved legal URLs for the active locale + marketingBaseUrl + overrides: `{ privacy, terms, contacts }`.",
566
- read: (t) => t.getLegalUrls()
566
+ read: (s) => s.getLegalUrls()
567
567
  }
568
568
  },
569
569
  actions: {},
@@ -588,4 +588,4 @@ export {
588
588
  W as c,
589
589
  ye as p
590
590
  };
591
- //# sourceMappingURL=public-footer.agent-Bh0rnx4i.js.map
591
+ //# sourceMappingURL=public-footer.agent-Cjfe5jus.js.map
@@ -14,14 +14,21 @@ const P = V("ds:flex ds:flex-col ds:h-full", {
14
14
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
15
15
  "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]"
16
16
  ].join(" "),
17
- // White card surface with the shared card shadow — matches
18
- // `Card variant="elevated"` tokens (`--card` + `--shadow-card`) so
19
- // a grid of elevated Stats reads as a set of shaded panels without
20
- // nesting a Card around each one.
17
+ // White card surface with the shared card shadow + border
18
+ // matches `Card variant="elevated"` and `BenefitCard.elevated`
19
+ // tokens (`--card`, `--card-border`, `--shadow-card`,
20
+ // `--radius-lg`) so a grid of elevated Stats reads as a set of
21
+ // shaded panels without nesting a Card around each one. The
22
+ // border is essential in dark mode: shadow alone on a dark
23
+ // surface loses contrast and the card boundary disappears.
24
+ // Accessible theme bumps to `border-2` to match Card / Benefit-
25
+ // Card's 0.31.5 accessibility uplift.
21
26
  elevated: [
22
27
  "ds:gap-[var(--spacing-xs)]",
23
28
  "ds:bg-[var(--card)]",
24
29
  "ds:text-[var(--card-foreground)]",
30
+ "ds:border ds:border-[color:var(--card-border)]",
31
+ "ds:[.theme-accessible_&]:border-2",
25
32
  "ds:shadow-[var(--shadow-card)]",
26
33
  "ds:rounded-[var(--radius-lg)]",
27
34
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
@@ -144,8 +151,8 @@ function dt(d, t) {
144
151
  l && (o = l[0], e = e.slice(0, -1).trimEnd());
145
152
  let u = "", m = ".";
146
153
  try {
147
- const x = new Intl.NumberFormat(t).formatToParts(12345.6);
148
- for (const n of x)
154
+ const b = new Intl.NumberFormat(t).formatToParts(12345.6);
155
+ for (const n of b)
149
156
  n.type === "group" ? u = n.value : n.type === "decimal" && (m = n.value);
150
157
  } catch {
151
158
  }
@@ -174,9 +181,9 @@ const ct = X(
174
181
  loading: g = !1,
175
182
  animate: s = !1,
176
183
  animateOnEveryView: v = !1,
177
- animateDurationMs: x = 1600,
184
+ animateDurationMs: b = 1600,
178
185
  animateLocale: n,
179
- animateSeparators: b,
186
+ animateSeparators: x,
180
187
  variant: h = "default",
181
188
  size: y = "md",
182
189
  align: I = "start",
@@ -184,7 +191,7 @@ const ct = X(
184
191
  className: j,
185
192
  ...k
186
193
  }, R) => {
187
- const { i18n: K } = B(), T = Z(), f = e ?? K.language, Y = O(() => {
194
+ const { i18n: K } = B(), T = Z(), f = e ?? K.language, _ = O(() => {
188
195
  if (typeof t == "string") return t;
189
196
  switch (c) {
190
197
  case "currency":
@@ -205,7 +212,7 @@ const ct = X(
205
212
  }
206
213
  }, [t, c, f, a])(), N = n ?? f;
207
214
  tt(!1);
208
- const r = et(() => s ? typeof t == "number" ? Number.isFinite(t) ? { target: t, sign: "", suffix: "" } : null : dt(t, N) : null, [s, t, N]), _ = s && r !== null, q = (r == null ? void 0 : r.target) ?? 0, F = (r == null ? void 0 : r.sign) ?? "", $ = (r == null ? void 0 : r.suffix) ?? "", H = O(
215
+ const r = et(() => s ? typeof t == "number" ? Number.isFinite(t) ? { target: t, sign: "", suffix: "" } : null : dt(t, N) : null, [s, t, N]), Y = s && r !== null, q = (r == null ? void 0 : r.target) ?? 0, F = (r == null ? void 0 : r.sign) ?? "", $ = (r == null ? void 0 : r.suffix) ?? "", H = O(
209
216
  (w) => {
210
217
  const E = (() => {
211
218
  try {
@@ -218,15 +225,15 @@ const ct = X(
218
225
  })();
219
226
  let p;
220
227
  if (E)
221
- if (b) {
222
- const A = Math.abs(w), D = Math.trunc(A), G = A - D, J = b.thousand ?? "", S = String(D).replace(
228
+ if (x) {
229
+ const A = Math.abs(w), D = Math.trunc(A), G = A - D, J = x.thousand ?? "", S = String(D).replace(
223
230
  /\B(?=(\d{3})+(?!\d))/g,
224
231
  J
225
232
  );
226
233
  if (G === 0)
227
234
  p = S;
228
235
  else {
229
- const L = G.toFixed(6).replace(/0+$/, "").slice(2), Q = b.decimal ?? ".";
236
+ const L = G.toFixed(6).replace(/0+$/, "").slice(2), Q = x.decimal ?? ".";
230
237
  p = L ? S + Q + L : S;
231
238
  }
232
239
  } else
@@ -236,11 +243,11 @@ const ct = X(
236
243
  let W = F;
237
244
  return F === "" && w < 0 && (W = "-"), `${W}${p}${$}`;
238
245
  },
239
- [N, b, F, $]
246
+ [N, x, F, $]
240
247
  ), C = st({
241
248
  to: q,
242
249
  from: 0,
243
- durationMs: x,
250
+ durationMs: b,
244
251
  startOnVisible: !0,
245
252
  retriggerOnReEntry: v,
246
253
  // `formatter` is the only path we use — it owns both the locale
@@ -298,7 +305,7 @@ const ct = X(
298
305
  }
299
306
  )
300
307
  ] }),
301
- _ ? (
308
+ Y ? (
302
309
  // The animated number is wrapped in an `aria-live="off"` span
303
310
  // so screen readers don't announce every interpolated frame.
304
311
  // The `role="group"` ancestor (with `aria-labelledby` pointing
@@ -313,7 +320,7 @@ const ct = X(
313
320
  children: C.value
314
321
  }
315
322
  )
316
- ) : /* @__PURE__ */ i("span", { className: U({ size: y, variant: h, intent: M }), children: Y }),
323
+ ) : /* @__PURE__ */ i("span", { className: U({ size: y, variant: h, intent: M }), children: _ }),
317
324
  o != null && l != null && /* @__PURE__ */ i(
318
325
  it,
319
326
  {
@@ -332,4 +339,4 @@ ct.displayName = "Stat";
332
339
  export {
333
340
  ct as S
334
341
  };
335
- //# sourceMappingURL=stat-DhAA5ltU.js.map
342
+ //# sourceMappingURL=stat-Bs80Z6Yv.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.32.2",
3
+ "packageVersion": "0.32.4",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -1,4 +1,4 @@
1
- import { B as a } from "../../_chunks/benefit-card-_Sc-MGha.js";
1
+ import { B as a } from "../../_chunks/benefit-card-Xnxj4Gmo.js";
2
2
  export {
3
3
  a as BenefitCard
4
4
  };
@@ -1,4 +1,4 @@
1
- import { D as s, a as A, P as L, S as e, c as S, p as _ } from "../../_chunks/public-footer.agent-Bh0rnx4i.js";
1
+ import { D as s, a as A, P as L, S as e, c as S, p as _ } from "../../_chunks/public-footer.agent-Cjfe5jus.js";
2
2
  export {
3
3
  s as DEFAULT_MARKETING_BASE_URL,
4
4
  A as DEFAULT_SOCIAL_URLS,
@@ -39,10 +39,15 @@ export interface PublicFooterProps {
39
39
  /** Trust badges (HIPAA, ISO). Rendered at the start of `minimal`'s row, or in the bottom strip of `full`. */
40
40
  trustBadgesSlot?: ReactNode;
41
41
  /**
42
- * @default true
43
- * Render the brand tagline ("German technology, Italian design") in the
44
- * bottom microcopy row of `compact` and `full` variants. Lean surfaces
45
- * (e.g. embedded booking widget) can opt out.
42
+ * @default false
43
+ * Render the brand tagline ("German technology, Italian design") in
44
+ * the bottom microcopy row of `compact` and `full` variants.
45
+ *
46
+ * 0.32.4: default flipped to `false`. The tagline was loud on
47
+ * booking-website's deployed footer and didn't carry product
48
+ * meaning for end-users; marketing surfaces can opt back in
49
+ * explicitly with `showTagline`. The `footer.tagline` i18n key
50
+ * stays available so the opt-in path still works.
46
51
  */
47
52
  showTagline?: boolean;
48
53
  'aria-label'?: string;
@@ -1,4 +1,4 @@
1
- import { S as o } from "../../_chunks/stat-DhAA5ltU.js";
1
+ import { S as o } from "../../_chunks/stat-Bs80Z6Yv.js";
2
2
  export {
3
3
  o as Stat
4
4
  };
package/dist/index.js CHANGED
@@ -44,7 +44,7 @@ import { T as Te, t as be } from "./_chunks/time-picker-B5umYwfv.js";
44
44
  import { A as Re, a as Ie, b as he, c as Fe, d as Ee } from "./_chunks/accordion-bSU21uTV.js";
45
45
  import { A as Ne, g as ke, n as Oe } from "./_chunks/avatar-BNQNhoyL.js";
46
46
  import { B as ye } from "./_chunks/badge-zsf5i5bH.js";
47
- import { B as Me } from "./_chunks/benefit-card-_Sc-MGha.js";
47
+ import { B as Me } from "./_chunks/benefit-card-Xnxj4Gmo.js";
48
48
  import { C as we } from "./_chunks/card-DPmk26CL.js";
49
49
  import { C as ve, c as He } from "./_chunks/carousel.agent-DrX96W-1.js";
50
50
  import { C as Ge } from "./_chunks/contact-card-Cf8Ktyt3.js";
@@ -60,7 +60,7 @@ import { M as vr } from "./_chunks/map-view-knHSNLoe.js";
60
60
  import { R as Wr } from "./_chunks/rating-BRD7O74e.js";
61
61
  import { S as Ur } from "./_chunks/skeleton-CZbwyJAA.js";
62
62
  import { S as Yr, s as jr, u as zr } from "./_chunks/sparkline-DEROcSl0.js";
63
- import { S as Qr } from "./_chunks/stat-DhAA5ltU.js";
63
+ import { S as Qr } from "./_chunks/stat-Bs80Z6Yv.js";
64
64
  import { T as Xr } from "./_chunks/tag-CyoaEmf_.js";
65
65
  import { T as $r, t as ao } from "./_chunks/timeline-DQa5Tyz4.js";
66
66
  import { T as ro } from "./_chunks/timestamp-BV2lC-wV.js";
@@ -71,7 +71,7 @@ import { N as Do, a as wo, b as Vo, c as vo, d as Ho, e as Wo, f as Go, g as Uo,
71
71
  import { S as jo } from "./_chunks/skip-link-BaSMtPwB.js";
72
72
  import { L as qo } from "./_chunks/link-DrD_cRUg.js";
73
73
  import { P as Jo, a as Xo, b as Zo, c as $o, d as at, e as et, f as rt, g as ot, p as tt } from "./_chunks/pagination-DQOgnxxw.js";
74
- import { D as it, a as nt, P as pt, S as mt, c as lt, p as ft } from "./_chunks/public-footer.agent-Bh0rnx4i.js";
74
+ import { D as it, a as nt, P as pt, S as mt, c as lt, p as ft } from "./_chunks/public-footer.agent-Cjfe5jus.js";
75
75
  import { P as gt, p as ct } from "./_chunks/public-header.agent-B2dDg2_d.js";
76
76
  import { S as At, f as ut, s as St } from "./_chunks/search-bar-CP6wUJFY.js";
77
77
  import { S as Tt, a as bt, b as Pt, c as Rt, d as It, e as ht, f as Ft, g as Et, h as Lt, i as Nt, j as kt, k as Ot, l as _t, m as yt, n as Bt, o as Mt, p as Dt, s as wt, u as Vt } from "./_chunks/sidebar-BbR8f6oe.js";