@alfadocs/ui-kit 0.31.7 → 0.31.8

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 (61) hide show
  1. package/dist/_chunks/practice-profile-card-CfAMeTxQ.js +339 -0
  2. package/dist/agent-catalog.json +1 -1
  3. package/dist/components/practice-profile-card/index.js +1 -1
  4. package/dist/components/practice-profile-card/practice-profile-card.d.ts +20 -0
  5. package/dist/i18n/locales/ar.d.ts +3 -0
  6. package/dist/i18n/locales/ar.js +3 -0
  7. package/dist/i18n/locales/de.d.ts +3 -0
  8. package/dist/i18n/locales/de.js +3 -0
  9. package/dist/i18n/locales/el.d.ts +3 -0
  10. package/dist/i18n/locales/el.js +3 -0
  11. package/dist/i18n/locales/en.d.ts +3 -0
  12. package/dist/i18n/locales/en.js +3 -0
  13. package/dist/i18n/locales/es.d.ts +3 -0
  14. package/dist/i18n/locales/es.js +3 -0
  15. package/dist/i18n/locales/fr.d.ts +3 -0
  16. package/dist/i18n/locales/fr.js +3 -0
  17. package/dist/i18n/locales/hi.d.ts +3 -0
  18. package/dist/i18n/locales/hi.js +3 -0
  19. package/dist/i18n/locales/it.d.ts +3 -0
  20. package/dist/i18n/locales/it.js +3 -0
  21. package/dist/i18n/locales/ja.d.ts +3 -0
  22. package/dist/i18n/locales/ja.js +3 -0
  23. package/dist/i18n/locales/nl.d.ts +3 -0
  24. package/dist/i18n/locales/nl.js +3 -0
  25. package/dist/i18n/locales/pl.d.ts +3 -0
  26. package/dist/i18n/locales/pl.js +3 -0
  27. package/dist/i18n/locales/pt.d.ts +3 -0
  28. package/dist/i18n/locales/pt.js +3 -0
  29. package/dist/i18n/locales/ro.d.ts +3 -0
  30. package/dist/i18n/locales/ro.js +3 -0
  31. package/dist/i18n/locales/ru.d.ts +3 -0
  32. package/dist/i18n/locales/ru.js +3 -0
  33. package/dist/i18n/locales/sq.d.ts +3 -0
  34. package/dist/i18n/locales/sq.js +3 -0
  35. package/dist/i18n/locales/sv.d.ts +3 -0
  36. package/dist/i18n/locales/sv.js +3 -0
  37. package/dist/i18n/locales/tr.d.ts +3 -0
  38. package/dist/i18n/locales/tr.js +3 -0
  39. package/dist/i18n/locales/zh.d.ts +3 -0
  40. package/dist/i18n/locales/zh.js +3 -0
  41. package/dist/index.js +1 -1
  42. package/dist/locales/ar.json +3 -0
  43. package/dist/locales/de.json +3 -0
  44. package/dist/locales/el.json +3 -0
  45. package/dist/locales/en.json +3 -0
  46. package/dist/locales/es.json +3 -0
  47. package/dist/locales/fr.json +3 -0
  48. package/dist/locales/hi.json +3 -0
  49. package/dist/locales/it.json +3 -0
  50. package/dist/locales/ja.json +3 -0
  51. package/dist/locales/nl.json +3 -0
  52. package/dist/locales/pl.json +3 -0
  53. package/dist/locales/pt.json +3 -0
  54. package/dist/locales/ro.json +3 -0
  55. package/dist/locales/ru.json +3 -0
  56. package/dist/locales/sq.json +3 -0
  57. package/dist/locales/sv.json +3 -0
  58. package/dist/locales/tr.json +3 -0
  59. package/dist/locales/zh.json +3 -0
  60. package/package.json +1 -1
  61. package/dist/_chunks/practice-profile-card-DwZo7ggW.js +0 -305
@@ -1203,6 +1203,9 @@ export declare const ruUi: {
1203
1203
  readonly value: {
1204
1204
  readonly yesShort: "Yes";
1205
1205
  };
1206
+ readonly map: {
1207
+ readonly alt: "Карта с указанием {{address}}";
1208
+ };
1206
1209
  };
1207
1210
  readonly operatorHero: {
1208
1211
  readonly regionLabel: "Operator profile";
@@ -1188,6 +1188,9 @@ const e = {
1188
1188
  },
1189
1189
  value: {
1190
1190
  yesShort: "Yes"
1191
+ },
1192
+ map: {
1193
+ alt: "Карта с указанием {{address}}"
1191
1194
  }
1192
1195
  },
1193
1196
  operatorHero: {
@@ -1203,6 +1203,9 @@ export declare const sqUi: {
1203
1203
  readonly value: {
1204
1204
  readonly yesShort: "Yes";
1205
1205
  };
1206
+ readonly map: {
1207
+ readonly alt: "Hartë që tregon {{address}}";
1208
+ };
1206
1209
  };
1207
1210
  readonly operatorHero: {
1208
1211
  readonly regionLabel: "Operator profile";
@@ -1188,6 +1188,9 @@ const e = {
1188
1188
  },
1189
1189
  value: {
1190
1190
  yesShort: "Yes"
1191
+ },
1192
+ map: {
1193
+ alt: "Hartë që tregon {{address}}"
1191
1194
  }
1192
1195
  },
1193
1196
  operatorHero: {
@@ -1203,6 +1203,9 @@ export declare const svUi: {
1203
1203
  readonly value: {
1204
1204
  readonly yesShort: "Yes";
1205
1205
  };
1206
+ readonly map: {
1207
+ readonly alt: "Karta som visar {{address}}";
1208
+ };
1206
1209
  };
1207
1210
  readonly operatorHero: {
1208
1211
  readonly regionLabel: "Operator profile";
@@ -1188,6 +1188,9 @@ const e = {
1188
1188
  },
1189
1189
  value: {
1190
1190
  yesShort: "Yes"
1191
+ },
1192
+ map: {
1193
+ alt: "Karta som visar {{address}}"
1191
1194
  }
1192
1195
  },
1193
1196
  operatorHero: {
@@ -1203,6 +1203,9 @@ export declare const trUi: {
1203
1203
  readonly value: {
1204
1204
  readonly yesShort: "Yes";
1205
1205
  };
1206
+ readonly map: {
1207
+ readonly alt: "{{address}} adresini gösteren harita";
1208
+ };
1206
1209
  };
1207
1210
  readonly operatorHero: {
1208
1211
  readonly regionLabel: "Operator profile";
@@ -1188,6 +1188,9 @@ const e = {
1188
1188
  },
1189
1189
  value: {
1190
1190
  yesShort: "Yes"
1191
+ },
1192
+ map: {
1193
+ alt: "{{address}} adresini gösteren harita"
1191
1194
  }
1192
1195
  },
1193
1196
  operatorHero: {
@@ -1203,6 +1203,9 @@ export declare const zhUi: {
1203
1203
  readonly value: {
1204
1204
  readonly yesShort: "Yes";
1205
1205
  };
1206
+ readonly map: {
1207
+ readonly alt: "显示 {{address}} 的地图";
1208
+ };
1206
1209
  };
1207
1210
  readonly operatorHero: {
1208
1211
  readonly regionLabel: "Operator profile";
@@ -1188,6 +1188,9 @@ const e = {
1188
1188
  },
1189
1189
  value: {
1190
1190
  yesShort: "Yes"
1191
+ },
1192
+ map: {
1193
+ alt: "显示 {{address}} 的地图"
1191
1194
  }
1192
1195
  },
1193
1196
  operatorHero: {
package/dist/index.js CHANGED
@@ -130,7 +130,7 @@ import { B as Nn, C as _n, O as yn, b as Bn } from "./_chunks/booking-A4o9xI2n.j
130
130
  import { C as On, c as Dn, r as wn } from "./_chunks/calendar-YHFknAGv.js";
131
131
  import { O as vn, o as Hn } from "./_chunks/operator-hero-BsjE-kJF.js";
132
132
  import { P as Gn, p as Un } from "./_chunks/patient-search-CSDru7QW.js";
133
- import { P as Yn, a as jn, b as zn, p as qn } from "./_chunks/practice-profile-card-DwZo7ggW.js";
133
+ import { P as Yn, a as jn, b as zn, p as qn } from "./_chunks/practice-profile-card-CfAMeTxQ.js";
134
134
  import { P as Jn, p as Xn } from "./_chunks/practice-results-CIkAdwRm.js";
135
135
  import { P as $n, f as ap, p as ep, a as rp, s as op, b as tp, c as sp } from "./_chunks/payment-form-D5rgnZu7.js";
136
136
  import { P as np, p as pp } from "./_chunks/pdf-viewer-DvtEHcEP.js";
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "خريطة تعرض {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Karte mit {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Χάρτης που δείχνει το {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Map showing {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Mapa que muestra {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Carte montrant {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "{{address}} दिखाने वाला मानचित्र"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Sì"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Mappa che mostra {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "{{address}} を示す地図"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Kaart met {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Mapa pokazująca {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Mapa mostrando {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Hartă care arată {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Карта с указанием {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Hartë që tregon {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "Karta som visar {{address}}"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "{{address}} adresini gösteren harita"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
@@ -1198,6 +1198,9 @@
1198
1198
  },
1199
1199
  "value": {
1200
1200
  "yesShort": "Yes"
1201
+ },
1202
+ "map": {
1203
+ "alt": "显示 {{address}} 的地图"
1201
1204
  }
1202
1205
  },
1203
1206
  "operatorHero": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "0.31.7",
3
+ "version": "0.31.8",
4
4
  "type": "module",
5
5
  "description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
6
6
  "license": "BUSL-1.1",
@@ -1,305 +0,0 @@
1
- import { jsxs as d, jsx as e, Fragment as _ } from "react/jsx-runtime";
2
- import { forwardRef as ie, useId as te, useMemo as ne } from "react";
3
- import { c as le } from "./index-D2ZczOXr.js";
4
- import { useTranslation as oe } from "react-i18next";
5
- import { B as N } from "./badge-B9Cr6iEB.js";
6
- import { C as F } from "./card-CNri9ssR.js";
7
- import { K as se, a as ce } from "./key-value-pair-CYE7NSpM.js";
8
- import { L as s } from "./link-DrD_cRUg.js";
9
- import { u as de } from "./registry-nPAVE19X.js";
10
- import { S } from "./stethoscope-DT5qCW8Y.js";
11
- import { H as $, S as E, L as H } from "./shield-check-BhHyReu8.js";
12
- import { c as V } from "./createLucideIcon-CrFbzy84.js";
13
- import { G as K } from "./globe-BkEFMNSg.js";
14
- import { M as L } from "./mail-C8irm52s.js";
15
- import { M as O } from "./message-circle-C23eicgb.js";
16
- import { M as B } from "./map-pin-B8STOPMJ.js";
17
- /**
18
- * @license lucide-react v1.8.0 - ISC
19
- *
20
- * This source code is licensed under the ISC license.
21
- * See the LICENSE file in the root directory of this source tree.
22
- */
23
- const pe = [
24
- ["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
25
- ["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }],
26
- ["path", { d: "M6 12h.01M18 12h.01", key: "113zkx" }]
27
- ], G = V("banknote", pe);
28
- /**
29
- * @license lucide-react v1.8.0 - ISC
30
- *
31
- * This source code is licensed under the ISC license.
32
- * See the LICENSE file in the root directory of this source tree.
33
- */
34
- const fe = [
35
- [
36
- "path",
37
- {
38
- d: "M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",
39
- key: "9njp5v"
40
- }
41
- ]
42
- ], U = V("phone", fe), ue = {
43
- id: "practice-profile-card",
44
- capabilities: ["view_change"],
45
- state: {
46
- profession: {
47
- type: "string",
48
- descriptionKey: "ui.agent.practiceProfileCard.state.profession",
49
- description: "Profession string the card is currently rendering — undefined when the consumer omitted it.",
50
- read: (r) => r.getProfession()
51
- }
52
- },
53
- actions: {},
54
- domHooks: {
55
- root: {
56
- attr: "data-component",
57
- value: "practice-profile-card",
58
- description: "Marks the PracticeProfileCard root region."
59
- },
60
- instanceId: {
61
- attr: "data-component-id",
62
- sourceProp: "id",
63
- description: "Sourced from the id prop."
64
- }
65
- }
66
- }, he = le("ds:w-full ds:text-[color:var(--foreground)]", {
67
- variants: {
68
- // Matches the kit's other `surface` props (Booking, ReviewsPanel).
69
- // The card itself renders `<Card variant="elevated">` so the
70
- // `surface="flat"` opt-out is rare — most consumers want the
71
- // boundary.
72
- surface: {
73
- flat: "",
74
- elevated: ""
75
- }
76
- },
77
- defaultVariants: { surface: "elevated" }
78
- });
79
- function me(r) {
80
- return r.replace(/[^\d+]/g, "");
81
- }
82
- function ve(r, l) {
83
- const t = `https://wa.me/${r}`;
84
- return l ? `${t}?text=${encodeURIComponent(l)}` : t;
85
- }
86
- function Pe(r) {
87
- return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(r.line)}`;
88
- }
89
- function ge(r, l, t) {
90
- try {
91
- return new Intl.NumberFormat(t, {
92
- style: "currency",
93
- currency: l
94
- }).format(r / 100);
95
- } catch {
96
- return (r / 100).toFixed(2);
97
- }
98
- }
99
- const xe = ie(
100
- ({
101
- heading: r,
102
- description: l,
103
- address: t,
104
- phone: p,
105
- whatsappNumber: f,
106
- whatsappMessage: j,
107
- email: u,
108
- website: h,
109
- languages: m,
110
- languageLabels: c,
111
- insurances: v,
112
- firstVisitPriceCents: P,
113
- currencyCode: y = "EUR",
114
- profession: g,
115
- specializedInFearPatients: q,
116
- onPhoneClick: T,
117
- onWhatsAppClick: W,
118
- onMapClick: D,
119
- onEmailClick: z,
120
- headerSlot: Y,
121
- footerSlot: J,
122
- surface: b = "elevated",
123
- "aria-label": Q,
124
- id: x,
125
- className: X,
126
- ...Z
127
- }, ee) => {
128
- const { t: a, i18n: C } = oe(), k = te(), w = C.language ?? "en", A = r ?? a("practiceProfileCard.heading"), ae = Q ?? A, I = ne(() => {
129
- if (P != null)
130
- return ge(P, y, w);
131
- }, [P, y, w]), i = [];
132
- if (t && i.push({
133
- key: "address",
134
- icon: /* @__PURE__ */ e(B, { "aria-hidden": "true" }),
135
- label: a("practiceProfileCard.label.address"),
136
- value: /* @__PURE__ */ d("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
137
- /* @__PURE__ */ e("span", { children: t.line }),
138
- t.lat != null && t.lng != null ? /* @__PURE__ */ e(
139
- s,
140
- {
141
- href: Pe(t),
142
- external: !0,
143
- intent: "default",
144
- onClick: D,
145
- children: a("practiceProfileCard.openInGoogleMaps")
146
- }
147
- ) : null
148
- ] })
149
- }), p && i.push({
150
- key: "phone",
151
- icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
152
- label: a("practiceProfileCard.label.phone"),
153
- value: /* @__PURE__ */ e(
154
- s,
155
- {
156
- href: `tel:${me(p)}`,
157
- intent: "default",
158
- onClick: T,
159
- children: p
160
- }
161
- )
162
- }), f && i.push({
163
- key: "whatsapp",
164
- icon: /* @__PURE__ */ e(O, { "aria-hidden": "true" }),
165
- label: a("practiceProfileCard.label.whatsapp"),
166
- value: /* @__PURE__ */ e(
167
- s,
168
- {
169
- href: ve(f, j),
170
- external: !0,
171
- intent: "default",
172
- onClick: W,
173
- children: f
174
- }
175
- )
176
- }), u && i.push({
177
- key: "email",
178
- icon: /* @__PURE__ */ e(L, { "aria-hidden": "true" }),
179
- label: a("practiceProfileCard.label.email"),
180
- value: /* @__PURE__ */ e(
181
- s,
182
- {
183
- href: `mailto:${u}`,
184
- intent: "default",
185
- onClick: z,
186
- children: u
187
- }
188
- )
189
- }), h && i.push({
190
- key: "website",
191
- icon: /* @__PURE__ */ e(K, { "aria-hidden": "true" }),
192
- label: a("practiceProfileCard.label.website"),
193
- value: /* @__PURE__ */ e(s, { href: h, external: !0, intent: "default", children: h })
194
- }), m && m.length > 0) {
195
- const n = (o) => {
196
- if (c != null && c[o]) return c[o];
197
- const R = `languages.${o}`;
198
- return C.exists(R) ? a(R) : o.toUpperCase();
199
- };
200
- i.push({
201
- key: "languages",
202
- icon: /* @__PURE__ */ e(H, { "aria-hidden": "true" }),
203
- label: a("practiceProfileCard.label.languages"),
204
- value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: m.map((o) => /* @__PURE__ */ e(N, { variant: "neutral", children: n(o) }, o)) })
205
- });
206
- }
207
- v && v.length > 0 && i.push({
208
- key: "insurances",
209
- icon: /* @__PURE__ */ e(E, { "aria-hidden": "true" }),
210
- label: a("practiceProfileCard.label.insurances"),
211
- value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((n) => /* @__PURE__ */ e(N, { variant: "info", children: n }, n)) })
212
- }), I && i.push({
213
- key: "firstVisitPrice",
214
- icon: /* @__PURE__ */ e(G, { "aria-hidden": "true" }),
215
- label: a("practiceProfileCard.label.firstVisitPrice"),
216
- value: I
217
- }), q && i.push({
218
- key: "expertForAnxiousPatients",
219
- icon: /* @__PURE__ */ e($, { "aria-hidden": "true" }),
220
- label: a("practiceProfileCard.label.expertForAnxiousPatients"),
221
- value: a("practiceProfileCard.value.yesShort")
222
- }), g && i.push({
223
- key: "profession",
224
- icon: /* @__PURE__ */ e(S, { "aria-hidden": "true" }),
225
- label: a("practiceProfileCard.label.profession"),
226
- value: g
227
- }), de(
228
- ue,
229
- { getProfession: () => g },
230
- x
231
- );
232
- const re = /* @__PURE__ */ d(_, { children: [
233
- l ? /* @__PURE__ */ e("p", { className: "type-body-sm ds:m-0 ds:whitespace-pre-line", children: l }) : null,
234
- i.length > 0 ? /* @__PURE__ */ e(se, { rowGap: "md", children: i.map((n) => /* @__PURE__ */ e(
235
- ce,
236
- {
237
- icon: n.icon,
238
- label: n.label,
239
- value: n.value
240
- },
241
- n.key
242
- )) }) : null,
243
- J
244
- ] }), M = /* @__PURE__ */ d(_, { children: [
245
- /* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
246
- Y,
247
- /* @__PURE__ */ e(
248
- "h2",
249
- {
250
- id: k,
251
- className: "type-title-card ds:m-0 ds:text-[color:var(--foreground)]",
252
- children: A
253
- }
254
- )
255
- ] }),
256
- re
257
- ] });
258
- return /* @__PURE__ */ e(
259
- "div",
260
- {
261
- ref: ee,
262
- role: "region",
263
- "aria-label": ae,
264
- "aria-labelledby": k,
265
- "data-component": "practice-profile-card",
266
- "data-component-id": x,
267
- id: x,
268
- className: he({ surface: b, className: X }),
269
- ...Z,
270
- children: b === "elevated" ? /* @__PURE__ */ e(F, { variant: "elevated", children: /* @__PURE__ */ e(F.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: M }) }) : /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: M })
271
- }
272
- );
273
- }
274
- );
275
- xe.displayName = "PracticeProfileCard";
276
- const Ve = [
277
- "address",
278
- "phone",
279
- "whatsapp",
280
- "email",
281
- "website",
282
- "languages",
283
- "insurances",
284
- "firstVisitPrice",
285
- "expertForAnxiousPatients",
286
- "profession"
287
- ], Ke = {
288
- address: B,
289
- phone: U,
290
- whatsapp: O,
291
- email: L,
292
- website: K,
293
- languages: H,
294
- insurances: E,
295
- firstVisitPrice: G,
296
- expertForAnxiousPatients: $,
297
- profession: S
298
- };
299
- export {
300
- Ke as P,
301
- Ve as a,
302
- xe as b,
303
- ue as p
304
- };
305
- //# sourceMappingURL=practice-profile-card-DwZo7ggW.js.map