@alfadocs/ui-kit 1.90.2 → 1.91.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/dist/_chunks/{agenda-card-BDuvreCe.js → agenda-card-BhY342MA.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-D-jvptdo.js → agenda-tray-BmxBGEci.js} +2 -2
  3. package/dist/_chunks/{alia-sidebar-CsTRAxC8.js → alia-sidebar-ovRX_oti.js} +3 -3
  4. package/dist/_chunks/{appointment-card-5JMWi9_f.js → appointment-card-Bstc1p7a.js} +2 -2
  5. package/dist/_chunks/{appointment-peek-39BwVMUf.js → appointment-peek-C0kKqnFk.js} +2 -2
  6. package/dist/_chunks/{appointment-timeline-1-Za2miy.js → appointment-timeline-rbt9AwHO.js} +2 -2
  7. package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js → appointment-tray-6zd8RLIL.js} +2 -2
  8. package/dist/_chunks/{avatar-BPiPL7ND.js → avatar-a6042Ox2.js} +52 -52
  9. package/dist/_chunks/{balance-badge-cell-D9VhFp0L.js → balance-badge-cell-BtJvre1-.js} +2 -2
  10. package/dist/_chunks/booking-opt_h7Uc.js +4590 -0
  11. package/dist/_chunks/{calendar-ClB-jWH1.js → calendar-CmiMS4FJ.js} +2 -2
  12. package/dist/_chunks/{calendar-appointment-editor-dialog-CiAGAX2t.js → calendar-appointment-editor-dialog-sJKLoVJ2.js} +7 -7
  13. package/dist/_chunks/{care-plan-card-BYCPNDvA.js → care-plan-card-DD9rEWYN.js} +2 -2
  14. package/dist/_chunks/{care-plan-header-BzsAg6oY.js → care-plan-header-CXUJQt8Q.js} +2 -2
  15. package/dist/_chunks/{chat-message-CmFJdEre.js → chat-message-LRO_6Ee3.js} +2 -2
  16. package/dist/_chunks/{clinical-note-card-Caidqcwa.js → clinical-note-card-Cut2lNmu.js} +3 -3
  17. package/dist/_chunks/{contact-card-Czu60UvU.js → contact-card-ClvEDM9e.js} +2 -2
  18. package/dist/_chunks/{contact-profile-card-Da1vmJQI.js → contact-profile-card-CX45mZA3.js} +106 -95
  19. package/dist/_chunks/{dependent-selector-C4kOgO8b.js → dependent-selector-CyNi7M_f.js} +2 -2
  20. package/dist/_chunks/{entity-summary-BLxzSSXK.js → entity-summary-B_bOloqP.js} +3 -3
  21. package/dist/_chunks/error-page-B0fGNTRB.js +419 -0
  22. package/dist/_chunks/{languages-CZqBaPwI.js → languages-CGLX6Qpe.js} +3 -15
  23. package/dist/_chunks/link-DtCfnLnF.js +332 -0
  24. package/dist/_chunks/{link-cell-renderer-CnCgudvq.js → link-cell-renderer-BS3V4LA6.js} +2 -2
  25. package/dist/_chunks/{marketplace-app-shell-CmZx0Oam.js → marketplace-app-shell-CJQtx3sv.js} +2 -2
  26. package/dist/_chunks/{message-card-CvCnCssc.js → message-card-B6SduXJv.js} +2 -2
  27. package/dist/_chunks/{message-tray-IJYvy6Cf.js → message-tray-Cllf-v0G.js} +2 -2
  28. package/dist/_chunks/{nav-grid-Oc4aCPrg.js → nav-grid-D2xVcHTO.js} +2 -2
  29. package/dist/_chunks/{note-attachment-DIlIQ7JF.js → note-attachment-cnj2JRrg.js} +2 -2
  30. package/dist/_chunks/{note-timeline-KzL52MmB.js → note-timeline-BrjHBQfx.js} +2 -2
  31. package/dist/_chunks/{notes-panel-Dywo6R55.js → notes-panel-ib7I3aNf.js} +2 -2
  32. package/dist/_chunks/{operator-hero-6aAIQaFZ.js → operator-hero-C_5B-8Qp.js} +43 -41
  33. package/dist/_chunks/{patient-details-BUr7Oemx.js → patient-details-BjcUpD9S.js} +3 -3
  34. package/dist/_chunks/{patient-field-row-bJk8Q_qr.js → patient-field-row-B0tdiaWi.js} +2 -2
  35. package/dist/_chunks/{patient-summary-card-CCQZ8X37.js → patient-summary-card-Cvv6_Ugk.js} +4 -4
  36. package/dist/_chunks/{payment-request-card-MndSlVoK.js → payment-request-card-BfGauFY0.js} +2 -2
  37. package/dist/_chunks/{practice-profile-hero-qfrsFQI_.js → practice-profile-hero-ClzE-4CB.js} +76 -73
  38. package/dist/_chunks/{practice-results-DQuOfqej.js → practice-results-CQ_KvEXK.js} +517 -514
  39. package/dist/_chunks/{product-hub-panel-Blag8t8f.js → product-hub-panel-bHi7lkVD.js} +2 -2
  40. package/dist/_chunks/public-footer-IoRWoAMz.js +596 -0
  41. package/dist/_chunks/{signature-request-DjY-X62H.js → signature-request-DvhyrRpn.js} +3 -3
  42. package/dist/_chunks/{signed-out-frame-G-3ATOdu.js → signed-out-frame-CgRXOUzi.js} +2 -2
  43. package/dist/_chunks/{slot-grid-DrwynKeN.js → slot-grid-B-IAFX3C.js} +180 -169
  44. package/dist/_chunks/{timeline-wUuTDFY_.js → timeline-BcYHdP56.js} +2 -2
  45. package/dist/_chunks/{use-appointment-details-read-BytPq3Ux.js → use-appointment-details-read-D8vDg0sg.js} +5 -5
  46. package/dist/agent-catalog.json +2 -2
  47. package/dist/components/_shared/social-brand-icons.d.ts +29 -0
  48. package/dist/components/agenda-card/index.js +1 -1
  49. package/dist/components/agenda-tray/index.js +1 -1
  50. package/dist/components/appointment-card/index.js +2 -2
  51. package/dist/components/appointment-details-panel/index.js +1 -1
  52. package/dist/components/appointment-peek/index.js +1 -1
  53. package/dist/components/appointment-timeline/index.js +1 -1
  54. package/dist/components/avatar/avatar.d.ts +14 -0
  55. package/dist/components/avatar/index.js +1 -1
  56. package/dist/components/booking/booking-types.d.ts +26 -0
  57. package/dist/components/booking/index.js +1 -1
  58. package/dist/components/booking/slot-load-state.d.ts +11 -0
  59. package/dist/components/calendar/index.js +1 -1
  60. package/dist/components/care-plan-card/index.js +1 -1
  61. package/dist/components/care-plan-header/index.js +1 -1
  62. package/dist/components/chat-message/index.js +1 -1
  63. package/dist/components/clinical-note-card/index.js +1 -1
  64. package/dist/components/contact-card/index.js +1 -1
  65. package/dist/components/contact-profile-card/index.js +1 -1
  66. package/dist/components/data-table/index.js +1 -1
  67. package/dist/components/dependent-selector/index.js +1 -1
  68. package/dist/components/entity-summary/index.js +1 -1
  69. package/dist/components/link/index.js +1 -1
  70. package/dist/components/link/link.d.ts +10 -1
  71. package/dist/components/link/social-url.d.ts +71 -0
  72. package/dist/components/message-card/index.js +1 -1
  73. package/dist/components/message-tray/index.js +1 -1
  74. package/dist/components/nav-grid/index.js +1 -1
  75. package/dist/components/note-timeline/index.js +1 -1
  76. package/dist/components/notes-panel/index.js +1 -1
  77. package/dist/components/operator-hero/index.js +1 -1
  78. package/dist/components/operator-hero/operator-hero.d.ts +6 -0
  79. package/dist/components/patient-details/index.js +1 -1
  80. package/dist/components/patient-summary-card/index.js +1 -1
  81. package/dist/components/patient-table/index.js +1 -1
  82. package/dist/components/payment-card/index.js +1 -1
  83. package/dist/components/practice-profile-hero/index.js +1 -1
  84. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +6 -0
  85. package/dist/components/practice-results/index.js +1 -1
  86. package/dist/components/practice-results/practice-results.d.ts +8 -2
  87. package/dist/components/product-hub-tray/index.js +1 -1
  88. package/dist/components/public-footer/index.js +1 -1
  89. package/dist/components/public-footer/public-footer.d.ts +13 -1
  90. package/dist/components/public-footer/socials.d.ts +6 -5
  91. package/dist/components/slot-grid/index.js +1 -1
  92. package/dist/components/slot-grid/slot-grid.d.ts +2 -0
  93. package/dist/components/timeline/index.js +1 -1
  94. package/dist/i18n/config.js +224 -96
  95. package/dist/i18n/locales/ar.d.ts +3 -0
  96. package/dist/i18n/locales/ar.js +4 -1
  97. package/dist/i18n/locales/de.d.ts +3 -0
  98. package/dist/i18n/locales/de.js +4 -1
  99. package/dist/i18n/locales/el.d.ts +3 -0
  100. package/dist/i18n/locales/el.js +4 -1
  101. package/dist/i18n/locales/en.d.ts +3 -0
  102. package/dist/i18n/locales/en.js +3 -0
  103. package/dist/i18n/locales/es.d.ts +3 -0
  104. package/dist/i18n/locales/es.js +4 -1
  105. package/dist/i18n/locales/fr.d.ts +3 -0
  106. package/dist/i18n/locales/fr.js +4 -1
  107. package/dist/i18n/locales/hi.d.ts +3 -0
  108. package/dist/i18n/locales/hi.js +4 -1
  109. package/dist/i18n/locales/it.d.ts +3 -0
  110. package/dist/i18n/locales/it.js +4 -1
  111. package/dist/i18n/locales/ja.d.ts +3 -0
  112. package/dist/i18n/locales/ja.js +4 -1
  113. package/dist/i18n/locales/nl.d.ts +3 -0
  114. package/dist/i18n/locales/nl.js +4 -1
  115. package/dist/i18n/locales/pl.d.ts +3 -0
  116. package/dist/i18n/locales/pl.js +4 -1
  117. package/dist/i18n/locales/pt.d.ts +3 -0
  118. package/dist/i18n/locales/pt.js +4 -1
  119. package/dist/i18n/locales/ro.d.ts +3 -0
  120. package/dist/i18n/locales/ro.js +4 -1
  121. package/dist/i18n/locales/ru.d.ts +3 -0
  122. package/dist/i18n/locales/ru.js +4 -1
  123. package/dist/i18n/locales/sq.d.ts +3 -0
  124. package/dist/i18n/locales/sq.js +4 -1
  125. package/dist/i18n/locales/sv.d.ts +3 -0
  126. package/dist/i18n/locales/sv.js +4 -1
  127. package/dist/i18n/locales/tr.d.ts +3 -0
  128. package/dist/i18n/locales/tr.js +4 -1
  129. package/dist/i18n/locales/zh.d.ts +3 -0
  130. package/dist/i18n/locales/zh.js +4 -1
  131. package/dist/index.js +42 -42
  132. package/dist/locales/ar.json +4 -1
  133. package/dist/locales/de.json +4 -1
  134. package/dist/locales/el.json +4 -1
  135. package/dist/locales/en.json +3 -0
  136. package/dist/locales/es.json +4 -1
  137. package/dist/locales/fr.json +4 -1
  138. package/dist/locales/hi.json +4 -1
  139. package/dist/locales/it.json +4 -1
  140. package/dist/locales/ja.json +4 -1
  141. package/dist/locales/nl.json +4 -1
  142. package/dist/locales/pl.json +4 -1
  143. package/dist/locales/pt.json +4 -1
  144. package/dist/locales/ro.json +4 -1
  145. package/dist/locales/ru.json +4 -1
  146. package/dist/locales/sq.json +4 -1
  147. package/dist/locales/sv.json +4 -1
  148. package/dist/locales/tr.json +4 -1
  149. package/dist/locales/zh.json +4 -1
  150. package/dist/patterns/alia-assistant/index.js +1 -1
  151. package/dist/patterns/calendar/index.js +1 -1
  152. package/dist/patterns/error-page/error-page-english.d.ts +71 -0
  153. package/dist/patterns/error-page/index.js +1 -1
  154. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  155. package/dist/patterns/signature-request/index.js +1 -1
  156. package/dist/patterns/signed-out-frame/index.js +1 -1
  157. package/dist/tokens.css +1 -1
  158. package/package.json +1 -1
  159. package/dist/_chunks/booking-CcE_oviI.js +0 -4373
  160. package/dist/_chunks/error-page-Bhai-spN.js +0 -344
  161. package/dist/_chunks/link-N5_YpLtm.js +0 -138
  162. package/dist/_chunks/public-footer-CXOrdAaS.js +0 -568
@@ -3,7 +3,7 @@ import { forwardRef as A, useRef as T, useMemo as F, useImperativeHandle as G }
3
3
  import { c as y } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as L } from "react-i18next";
5
5
  import { E as re } from "./empty-state-DwJ5YNzz.js";
6
- import { L as X } from "./link-N5_YpLtm.js";
6
+ import { L as X } from "./link-DtCfnLnF.js";
7
7
  import { S as E } from "./separator-CYU_bGFn.js";
8
8
  import { i as W } from "./is-safe-url-DkETxeHz.js";
9
9
  import { u as J } from "./registry-DvAUVLHh.js";
@@ -682,4 +682,4 @@ export {
682
682
  me as b,
683
683
  Ne as p
684
684
  };
685
- //# sourceMappingURL=product-hub-panel-Blag8t8f.js.map
685
+ //# sourceMappingURL=product-hub-panel-bHi7lkVD.js.map
@@ -0,0 +1,596 @@
1
+ import { jsxs as i, jsx as t, Fragment as p } from "react/jsx-runtime";
2
+ import { forwardRef as O, useMemo as E, useImperativeHandle as P } from "react";
3
+ import { c as D } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as G } from "react-i18next";
5
+ import { S as _, L as m } from "./link-DtCfnLnF.js";
6
+ import { S as u } from "./separator-CYU_bGFn.js";
7
+ import { L as j } from "./logo-hIsyVE96.js";
8
+ import { A as X, b as K, c as Y, a as U } from "./accordion-Ch3xp0mX.js";
9
+ const z = "https://www.alfadocs.com", R = {
10
+ privacy: "/privacy-prenotazione-online",
11
+ terms: "/it/condizioni-di-utilizzo",
12
+ contacts: "/it/contattaci"
13
+ }, W = {
14
+ it: R,
15
+ en: {
16
+ privacy: "/en/privacy",
17
+ terms: "/en/terms-of-use",
18
+ contacts: "/en/contact-us"
19
+ },
20
+ de: {
21
+ privacy: "/de/datenschutz",
22
+ terms: "/de/nutzungsbedingungen",
23
+ contacts: "/de/kontakt"
24
+ },
25
+ fr: {
26
+ privacy: "/fr/confidentialite",
27
+ terms: "/fr/conditions-utilisation",
28
+ contacts: "/fr/contact"
29
+ },
30
+ es: {
31
+ privacy: "/es/privacidad",
32
+ terms: "/es/condiciones-uso",
33
+ contacts: "/es/contacto"
34
+ }
35
+ }, B = "https://";
36
+ function q(e) {
37
+ return !e || !e.startsWith(B) ? z : e.replace(/\/+$/, "");
38
+ }
39
+ function A(e, n, a) {
40
+ var r, l;
41
+ const o = (r = a == null ? void 0 : a[n]) == null ? void 0 : r[e];
42
+ if (o) return o;
43
+ const s = (l = W[e]) == null ? void 0 : l[n];
44
+ return s || R[n];
45
+ }
46
+ function J(e, n, a) {
47
+ const o = q(n), s = (e || "it").split("-")[0];
48
+ return {
49
+ privacy: `${o}${A(s, "privacy", a)}`,
50
+ terms: `${o}${A(s, "terms", a)}`,
51
+ contacts: `${o}${A(s, "contacts", a)}`
52
+ };
53
+ }
54
+ const Q = [
55
+ "linkedin",
56
+ "youtube",
57
+ "instagram",
58
+ "facebook"
59
+ ], Z = {
60
+ linkedin: "https://www.linkedin.com/company/alfadocs",
61
+ youtube: "https://www.youtube.com/@alfadocs",
62
+ instagram: "https://www.instagram.com/alfadocs",
63
+ facebook: "https://www.facebook.com/alfadocs"
64
+ }, tt = {
65
+ linkedin: _.linkedin,
66
+ youtube: _.youtube,
67
+ instagram: _.instagram,
68
+ facebook: _.facebook
69
+ }, et = "AlfaDocs GmbH", nt = "P.IVA DE301955405", at = D(
70
+ [
71
+ "ds:w-full",
72
+ "ds:text-[color:var(--muted-foreground)]",
73
+ "ds:text-[length:var(--font-size-sm)]",
74
+ "ds:bg-[var(--background)]"
75
+ ].join(" "),
76
+ {
77
+ variants: {
78
+ variant: {
79
+ minimal: [
80
+ "ds:py-[var(--spacing-sm)]",
81
+ "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
82
+ "ds:border-block-start ds:border-[var(--border)]"
83
+ ].join(" "),
84
+ // 0.30.5: compact got a polish pass — bumped vertical padding to
85
+ // `lg` (~24px) so the footer reads as a real landmark, not a
86
+ // one-line afterthought, plus a stronger top border in
87
+ // accessible mode (the default `--border` clears 3:1 in light /
88
+ // dark; accessible bumps to a heavier weight).
89
+ //
90
+ // 0.31.2: forced-colors top-border fallback. Windows High
91
+ // Contrast strips `--border` to whatever the system maps it
92
+ // to — which is often invisible against `Canvas`. Pinning to
93
+ // `CanvasText` keeps the landmark edge visible for users on
94
+ // strict HC themes.
95
+ compact: [
96
+ "ds:py-[var(--spacing-lg)]",
97
+ "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
98
+ "ds:border-block-start ds:border-[var(--border)]",
99
+ // 2px in the accessible themes, none elsewhere (--accessible-on).
100
+ "ds:[border-block-start-width:calc(var(--border-width-md)*var(--accessible-on,0))]",
101
+ "ds:forced-colors:[border-block-start-color:CanvasText]"
102
+ ].join(" "),
103
+ full: [
104
+ "ds:py-[var(--spacing-xl)]",
105
+ "ds:ps-[var(--spacing-lg)] ds:pe-[var(--spacing-lg)]",
106
+ "ds:bg-[var(--muted)]"
107
+ ].join(" ")
108
+ }
109
+ },
110
+ defaultVariants: { variant: "compact" }
111
+ }
112
+ ), st = /^(https?:\/\/|mailto:|tel:|\/(?!\/))/i;
113
+ function I(e) {
114
+ return st.test(e) ? e : "#";
115
+ }
116
+ function F({
117
+ copyright: e,
118
+ align: n = "center"
119
+ }) {
120
+ return /* @__PURE__ */ t(
121
+ "p",
122
+ {
123
+ className: [
124
+ "ds:m-0 ds:text-[color:var(--muted-foreground)]",
125
+ "ds:text-[length:var(--font-size-sm)]",
126
+ n === "center" ? "ds:text-center" : "ds:text-start"
127
+ ].join(" "),
128
+ children: e
129
+ }
130
+ );
131
+ }
132
+ const ot = O(
133
+ function({
134
+ variant: n,
135
+ marketingBaseUrl: a,
136
+ legalUrlOverrides: o,
137
+ linkGroups: s,
138
+ socials: r,
139
+ logoSlot: l,
140
+ extraNavSlot: c,
141
+ trustBadgesSlot: b,
142
+ showTagline: v = !1,
143
+ showCopyright: h = !0,
144
+ id: y,
145
+ "aria-label": f
146
+ }, x) {
147
+ const { t: d, i18n: $ } = G("ui"), g = E(
148
+ () => J($.language, a, o),
149
+ [$.language, a, o]
150
+ );
151
+ P(
152
+ x,
153
+ () => ({
154
+ getVariant: () => n,
155
+ getLegalUrls: () => g
156
+ }),
157
+ [n, g]
158
+ );
159
+ const S = (/* @__PURE__ */ new Date()).getFullYear(), N = h ? d("footer.copyright", {
160
+ year: S,
161
+ entity: et,
162
+ vat: nt
163
+ }) : void 0, L = v ? d("footer.tagline") : void 0, V = f ?? d("footer.nav.label"), w = {
164
+ privacy: d("footer.nav.privacy"),
165
+ terms: d("footer.nav.terms"),
166
+ contacts: d("footer.nav.contacts")
167
+ }, T = E(() => r !== void 0 ? r : Q.map((H) => ({ network: H })), [r]);
168
+ return /* @__PURE__ */ i(
169
+ "footer",
170
+ {
171
+ id: y,
172
+ role: "contentinfo",
173
+ "aria-label": V,
174
+ "data-component": "public-footer",
175
+ "data-component-id": y,
176
+ "data-variant": n,
177
+ className: at({ variant: n }),
178
+ children: [
179
+ n === "minimal" && /* @__PURE__ */ t(
180
+ lt,
181
+ {
182
+ legalUrls: g,
183
+ labels: w,
184
+ copyright: N,
185
+ trustBadgesSlot: b,
186
+ extraNavSlot: c
187
+ }
188
+ ),
189
+ n === "compact" && /* @__PURE__ */ t(
190
+ ct,
191
+ {
192
+ legalUrls: g,
193
+ labels: w,
194
+ copyright: N,
195
+ tagline: L,
196
+ socials: T,
197
+ logoSlot: l,
198
+ extraNavSlot: c,
199
+ t: d
200
+ }
201
+ ),
202
+ n === "full" && /* @__PURE__ */ t(
203
+ mt,
204
+ {
205
+ legalUrls: g,
206
+ labels: w,
207
+ copyright: N,
208
+ tagline: L,
209
+ linkGroups: s,
210
+ socials: T,
211
+ logoSlot: l,
212
+ extraNavSlot: c,
213
+ trustBadgesSlot: b,
214
+ t: d
215
+ }
216
+ )
217
+ ]
218
+ }
219
+ );
220
+ }
221
+ ), C = 'ds:relative ds:before:absolute ds:before:inset-x-0 ds:before:inset-y-[calc((var(--accessible-target-floor,var(--spacing-lg))-100%)/-2)] ds:before:content-[""]', k = [
222
+ "ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:text-muted-foreground ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:no-underline ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:underline-offset-4",
223
+ "ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:hover:text-foreground ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:hover:underline ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:active:opacity-80",
224
+ "ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:focus-visible:outline-[length:var(--focus-ring-width)] ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:focus-visible:outline-solid",
225
+ "ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:focus-visible:outline-ring ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
226
+ "ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:forced-colors:focus-visible:outline-[CanvasText]"
227
+ ].join(" "), it = [
228
+ "ds:[&_button]:m-0 ds:[&_button]:inline ds:[&_button]:h-auto ds:[&_button]:min-h-0 ds:[&_button]:p-0",
229
+ "ds:[&_button]:cursor-pointer ds:[&_button]:appearance-none ds:[&_button]:border-0 ds:[&_button]:bg-transparent",
230
+ "ds:[&_button]:rounded-[var(--radius-xs)] ds:[&_button]:font-[inherit] ds:[&_button]:font-normal ds:[&_button]:text-[length:inherit]",
231
+ "ds:[&_button]:text-muted-foreground ds:[&_button]:no-underline ds:[&_button]:underline-offset-4",
232
+ "ds:[&_button]:hover:text-foreground ds:[&_button]:hover:underline ds:[&_button]:active:opacity-80",
233
+ "ds:[&_button]:focus-visible:outline-[length:var(--focus-ring-width)] ds:[&_button]:focus-visible:outline-solid",
234
+ "ds:[&_button]:focus-visible:outline-ring ds:[&_button]:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
235
+ "ds:[&_button]:forced-colors:focus-visible:outline-[CanvasText]"
236
+ ].join(" "), rt = `${k} ${it}`, dt = 'ds:[&_:is(a,button)]:relative ds:[&_:is(a,button)]:before:absolute ds:[&_:is(a,button)]:before:inset-x-0 ds:[&_:is(a,button)]:before:inset-y-[calc((var(--accessible-target-floor,var(--spacing-lg))-100%)/-2)] ds:[&_:is(a,button)]:before:block ds:[&_:is(a,button)]:before:content-[""]';
237
+ function lt({
238
+ legalUrls: e,
239
+ labels: n,
240
+ copyright: a,
241
+ trustBadgesSlot: o,
242
+ extraNavSlot: s
243
+ }) {
244
+ return /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-sm)]", children: [
245
+ o && /* @__PURE__ */ t(
246
+ "span",
247
+ {
248
+ "data-slot": "trust-badges",
249
+ className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)] ds:me-[var(--spacing-sm)]",
250
+ children: o
251
+ }
252
+ ),
253
+ /* @__PURE__ */ t(
254
+ m,
255
+ {
256
+ href: e.privacy,
257
+ external: !0,
258
+ externalIcon: !1,
259
+ intent: "subtle",
260
+ className: C,
261
+ children: n.privacy
262
+ }
263
+ ),
264
+ /* @__PURE__ */ t(u, { orientation: "vertical", className: "ds:h-4" }),
265
+ /* @__PURE__ */ t(
266
+ m,
267
+ {
268
+ href: e.terms,
269
+ external: !0,
270
+ externalIcon: !1,
271
+ intent: "subtle",
272
+ className: C,
273
+ children: n.terms
274
+ }
275
+ ),
276
+ s ? /* @__PURE__ */ i(p, { children: [
277
+ /* @__PURE__ */ t(u, { orientation: "vertical", className: "ds:h-4" }),
278
+ /* @__PURE__ */ t(
279
+ "span",
280
+ {
281
+ "data-slot": "extra-nav",
282
+ className: [
283
+ "ds:inline-flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-sm)]",
284
+ rt,
285
+ dt
286
+ ].join(" "),
287
+ children: s
288
+ }
289
+ )
290
+ ] }) : null,
291
+ a ? /* @__PURE__ */ i(p, { children: [
292
+ /* @__PURE__ */ t(u, { orientation: "vertical", className: "ds:h-4" }),
293
+ /* @__PURE__ */ t("span", { children: a })
294
+ ] }) : null
295
+ ] });
296
+ }
297
+ function M({
298
+ socials: e,
299
+ t: n,
300
+ size: a
301
+ }) {
302
+ if (e.length === 0) return null;
303
+ const o = a === "sm" ? "ds:size-4" : "ds:size-5";
304
+ return /* @__PURE__ */ t(
305
+ "ul",
306
+ {
307
+ "data-slot": "socials",
308
+ className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
309
+ children: e.map((s) => {
310
+ const r = tt[s.network], l = s.href ?? Z[s.network], c = n(`footer.social.aria.${s.network}`);
311
+ return /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(
312
+ m,
313
+ {
314
+ href: I(l),
315
+ external: !0,
316
+ externalIcon: !1,
317
+ intent: "subtle",
318
+ "aria-label": c,
319
+ className: "ds:inline-flex ds:items-center ds:justify-center ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)]",
320
+ children: /* @__PURE__ */ t(
321
+ r,
322
+ {
323
+ "aria-hidden": "true",
324
+ className: o,
325
+ focusable: "false"
326
+ }
327
+ )
328
+ }
329
+ ) }, s.network);
330
+ })
331
+ }
332
+ );
333
+ }
334
+ function ct({
335
+ legalUrls: e,
336
+ labels: n,
337
+ copyright: a,
338
+ tagline: o,
339
+ socials: s,
340
+ logoSlot: r,
341
+ extraNavSlot: l,
342
+ t: c
343
+ }) {
344
+ return /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-md)]", children: [
345
+ s.length > 0 ? /* @__PURE__ */ t(M, { socials: s, t: c, size: "sm" }) : null,
346
+ /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-sm)]", children: [
347
+ r !== void 0 ? r !== null && r !== !1 && r !== "" ? /* @__PURE__ */ i(p, { children: [
348
+ /* @__PURE__ */ t(
349
+ "span",
350
+ {
351
+ "data-slot": "compact-logo",
352
+ className: "ds:inline-flex ds:items-center ds:opacity-70",
353
+ children: r
354
+ }
355
+ ),
356
+ /* @__PURE__ */ t(u, { orientation: "vertical", className: "ds:h-4" })
357
+ ] }) : null : (
358
+ // No consumer override — render the kit's default small
359
+ // wordmark, muted so it reads as marker not headline.
360
+ /* @__PURE__ */ i(p, { children: [
361
+ /* @__PURE__ */ t(
362
+ "span",
363
+ {
364
+ "data-slot": "compact-logo",
365
+ className: "ds:inline-flex ds:items-center ds:opacity-70",
366
+ children: /* @__PURE__ */ t(j, { variant: "wordmark", tone: "auto", "aria-label": "Alfadocs" })
367
+ }
368
+ ),
369
+ /* @__PURE__ */ t(u, { orientation: "vertical", className: "ds:h-4" })
370
+ ] })
371
+ ),
372
+ /* @__PURE__ */ t(
373
+ m,
374
+ {
375
+ href: e.privacy,
376
+ external: !0,
377
+ externalIcon: !1,
378
+ intent: "subtle",
379
+ children: n.privacy
380
+ }
381
+ ),
382
+ /* @__PURE__ */ t(u, { orientation: "vertical", className: "ds:h-4" }),
383
+ /* @__PURE__ */ t(
384
+ m,
385
+ {
386
+ href: e.terms,
387
+ external: !0,
388
+ externalIcon: !1,
389
+ intent: "subtle",
390
+ children: n.terms
391
+ }
392
+ ),
393
+ /* @__PURE__ */ t(u, { orientation: "vertical", className: "ds:h-4" }),
394
+ /* @__PURE__ */ t(
395
+ m,
396
+ {
397
+ href: e.contacts,
398
+ external: !0,
399
+ externalIcon: !1,
400
+ intent: "subtle",
401
+ children: n.contacts
402
+ }
403
+ ),
404
+ l && /* @__PURE__ */ i(p, { children: [
405
+ /* @__PURE__ */ t(u, { orientation: "vertical", className: "ds:h-4" }),
406
+ /* @__PURE__ */ t("span", { "data-slot": "extra-nav", className: k, children: l })
407
+ ] })
408
+ ] }),
409
+ a ? /* @__PURE__ */ t(F, { copyright: a }) : null,
410
+ o ? /* @__PURE__ */ t(
411
+ "p",
412
+ {
413
+ "data-slot": "tagline",
414
+ className: "ds:m-0 ds:text-center ds:text-[color:var(--muted-foreground)] ds:text-[length:var(--font-size-xs)] ds:italic",
415
+ children: o
416
+ }
417
+ ) : null
418
+ ] });
419
+ }
420
+ function ut(e, n) {
421
+ return {
422
+ key: "legal",
423
+ links: [
424
+ { href: e.privacy, label: n.privacy, external: !0 },
425
+ { href: e.terms, label: n.terms, external: !0 },
426
+ { href: e.contacts, label: n.contacts, external: !0 }
427
+ ]
428
+ };
429
+ }
430
+ function mt({
431
+ legalUrls: e,
432
+ labels: n,
433
+ copyright: a,
434
+ tagline: o,
435
+ linkGroups: s,
436
+ socials: r,
437
+ logoSlot: l,
438
+ extraNavSlot: c,
439
+ trustBadgesSlot: b,
440
+ t: v
441
+ }) {
442
+ const h = [
443
+ ...s ?? [],
444
+ ut(e, n)
445
+ ];
446
+ return /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xl)]", children: [
447
+ /* @__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: [
448
+ /* @__PURE__ */ t("div", { className: "ds:lg:w-[15rem] ds:lg:shrink-0", children: /* @__PURE__ */ i(
449
+ "div",
450
+ {
451
+ "data-slot": "brand",
452
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
453
+ children: [
454
+ /* @__PURE__ */ t("div", { className: "ds:inline-flex", children: l ?? /* @__PURE__ */ t(j, { variant: "wordmark", tone: "auto", "aria-label": "Alfadocs" }) }),
455
+ /* @__PURE__ */ t(M, { socials: r, t: v, size: "md" })
456
+ ]
457
+ }
458
+ ) }),
459
+ /* @__PURE__ */ i("div", { className: "ds:flex-1 ds:min-w-0", children: [
460
+ /* @__PURE__ */ t(
461
+ "div",
462
+ {
463
+ className: "ds:hidden ds:md:grid ds:md:grid-cols-2 ds:lg:grid-cols-4 ds:gap-[var(--spacing-lg)]",
464
+ "data-slot": "link-columns-grid",
465
+ "data-columns": h.length,
466
+ children: /* @__PURE__ */ t(ft, { columns: h, t: v })
467
+ }
468
+ ),
469
+ /* @__PURE__ */ t("div", { className: "ds:md:hidden", "data-slot": "link-columns-accordion", children: /* @__PURE__ */ t(X, { type: "multiple", children: h.map((f, x) => /* @__PURE__ */ i(
470
+ K,
471
+ {
472
+ value: `${x}-${f.key}`,
473
+ children: [
474
+ /* @__PURE__ */ t(Y, { children: v(`footer.group.${f.key}`, {
475
+ defaultValue: f.key
476
+ }) }),
477
+ /* @__PURE__ */ t(U, { children: /* @__PURE__ */ t("ul", { className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: f.links.map((d) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(
478
+ m,
479
+ {
480
+ href: I(d.href),
481
+ external: d.external,
482
+ externalIcon: !1,
483
+ intent: "subtle",
484
+ children: d.label
485
+ }
486
+ ) }, `${f.key}-${d.href}-${d.label}`)) }) })
487
+ ]
488
+ },
489
+ `${x}-${f.key}`
490
+ )) }) })
491
+ ] })
492
+ ] }),
493
+ /* @__PURE__ */ t(u, { orientation: "horizontal" }),
494
+ /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:sm:flex-row ds:sm:items-center ds:sm:justify-between", children: [
495
+ a ? /* @__PURE__ */ t(F, { copyright: a, align: "start" }) : null,
496
+ /* @__PURE__ */ i(
497
+ "div",
498
+ {
499
+ "data-slot": "bottom-legal",
500
+ className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)] ds:sm:justify-end",
501
+ children: [
502
+ /* @__PURE__ */ t(
503
+ m,
504
+ {
505
+ href: e.privacy,
506
+ external: !0,
507
+ externalIcon: !1,
508
+ intent: "subtle",
509
+ children: n.privacy
510
+ }
511
+ ),
512
+ /* @__PURE__ */ t(u, { orientation: "vertical", className: "ds:h-4" }),
513
+ /* @__PURE__ */ t(
514
+ m,
515
+ {
516
+ href: e.terms,
517
+ external: !0,
518
+ externalIcon: !1,
519
+ intent: "subtle",
520
+ children: n.terms
521
+ }
522
+ ),
523
+ (b || c) && /* @__PURE__ */ i(p, { children: [
524
+ /* @__PURE__ */ t(u, { orientation: "vertical", className: "ds:h-4" }),
525
+ b && /* @__PURE__ */ t(
526
+ "span",
527
+ {
528
+ "data-slot": "trust-badges",
529
+ className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]",
530
+ children: b
531
+ }
532
+ ),
533
+ c && /* @__PURE__ */ t(
534
+ "span",
535
+ {
536
+ "data-slot": "extra-nav",
537
+ className: `ds:inline-flex ds:items-center ${k}`,
538
+ children: c
539
+ }
540
+ )
541
+ ] })
542
+ ]
543
+ }
544
+ )
545
+ ] }),
546
+ o ? /* @__PURE__ */ t(
547
+ "p",
548
+ {
549
+ "data-slot": "tagline",
550
+ className: "ds:m-0 ds:text-center ds:text-[color:var(--muted-foreground)] ds:text-[length:var(--font-size-xs)] ds:italic",
551
+ children: o
552
+ }
553
+ ) : null
554
+ ] });
555
+ }
556
+ function ft({
557
+ columns: e,
558
+ t: n
559
+ }) {
560
+ return /* @__PURE__ */ t(p, { children: e.map((a, o) => /* @__PURE__ */ i(
561
+ "section",
562
+ {
563
+ "aria-labelledby": `public-footer-group-${o}-${a.key}`,
564
+ children: [
565
+ /* @__PURE__ */ t(
566
+ "h3",
567
+ {
568
+ id: `public-footer-group-${o}-${a.key}`,
569
+ className: "ds:m-0 ds:mb-[var(--spacing-sm)] ds:text-[color:var(--foreground)] ds:text-[length:var(--font-size-sm)] ds:font-medium",
570
+ children: n(`footer.group.${a.key}`, { defaultValue: a.key })
571
+ }
572
+ ),
573
+ /* @__PURE__ */ t("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((s) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(
574
+ m,
575
+ {
576
+ href: I(s.href),
577
+ external: s.external,
578
+ externalIcon: !1,
579
+ intent: "subtle",
580
+ children: s.label
581
+ }
582
+ ) }, `${a.key}-${s.href}-${s.label}`)) })
583
+ ]
584
+ },
585
+ `${o}-${a.key}`
586
+ )) });
587
+ }
588
+ ot.displayName = "PublicFooter";
589
+ export {
590
+ z as D,
591
+ ot as P,
592
+ Q as S,
593
+ Z as a,
594
+ J as c
595
+ };
596
+ //# sourceMappingURL=public-footer-IoRWoAMz.js.map
@@ -10,8 +10,8 @@ import { s as La, S as ze } from "./select-4S-eYZUf.js";
10
10
  import { S as It } from "./switch-D--x7n6h.js";
11
11
  import { A as $ } from "./alert-9kEwDza3.js";
12
12
  import { S as kt } from "./separator-CYU_bGFn.js";
13
- import { A as bs } from "./avatar-BPiPL7ND.js";
14
- import { L as Ma } from "./link-N5_YpLtm.js";
13
+ import { A as bs } from "./avatar-a6042Ox2.js";
14
+ import { L as Ma } from "./link-DtCfnLnF.js";
15
15
  import { L as Ln } from "./list-CNnn7DOD.js";
16
16
  import { a as Wt, T as jt } from "./tooltip-uEBdD1-5.js";
17
17
  import { a as Bt } from "./whatsapp-button-DV9JFmtq.js";
@@ -2445,4 +2445,4 @@ ki.displayName = "SignatureRequestModal";
2445
2445
  export {
2446
2446
  ki as S
2447
2447
  };
2448
- //# sourceMappingURL=signature-request-DjY-X62H.js.map
2448
+ //# sourceMappingURL=signature-request-DvhyrRpn.js.map
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as e, Fragment as v } from "react/jsx-runtime";
2
2
  import { forwardRef as y } from "react";
3
3
  import { c as H } from "./index-D2ZczOXr.js";
4
4
  import { A as S } from "./app-frame-DUPEwu4E.js";
5
- import { P as x } from "./public-footer-CXOrdAaS.js";
5
+ import { P as x } from "./public-footer-IoRWoAMz.js";
6
6
  import { useTranslation as b } from "react-i18next";
7
7
  import { B as u } from "./button-DohK_Ak_.js";
8
8
  import { H as N, g as O, f as F, a as z, d as B } from "./header-l_B8MV0g.js";
@@ -168,4 +168,4 @@ export {
168
168
  V as S,
169
169
  w as a
170
170
  };
171
- //# sourceMappingURL=signed-out-frame-G-3ATOdu.js.map
171
+ //# sourceMappingURL=signed-out-frame-CgRXOUzi.js.map