@alfadocs/ui-kit 0.33.2 → 0.33.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.
@@ -7,7 +7,7 @@ import { A as we } from "./avatar-BNQNhoyL.js";
7
7
  import { B as G } from "./button-DD_0Xdmr.js";
8
8
  import { D as H } from "./dropdown-menu-BC5ZdOMo.js";
9
9
  import { E as Qe } from "./empty-state-BLy7tigq.js";
10
- import { M as Je } from "./map-view-knHSNLoe.js";
10
+ import { M as Je } from "./map-view-ZgbhfRqy.js";
11
11
  import { R as ke } from "./rating-BRD7O74e.js";
12
12
  import { S as z } from "./sheet-BV-yuLE2.js";
13
13
  import { S as We } from "./skeleton-CZbwyJAA.js";
@@ -1565,4 +1565,4 @@ export {
1565
1565
  kt as P,
1566
1566
  it as p
1567
1567
  };
1568
- //# sourceMappingURL=practice-results-Dwm5tzLV.js.map
1568
+ //# sourceMappingURL=practice-results-YD4dvqje.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.33.2",
3
+ "packageVersion": "0.33.4",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -121,6 +121,27 @@ export interface ContactProfileCardProps extends Omit<ComponentPropsWithoutRef<'
121
121
  * variant, or a coloured chip strip. Optional.
122
122
  */
123
123
  headerSlot?: ReactNode;
124
+ /**
125
+ * Render an arbitrary map widget at the top of the card chrome —
126
+ * replaces the built-in static `<img>` thumbnail that
127
+ * `googleMapsApiKey` would otherwise produce. Use this when you
128
+ * want an interactive map inside the card boundary instead of a
129
+ * fixed image:
130
+ *
131
+ * <ContactProfileCard
132
+ * mapSlot={
133
+ * <PracticeMap practice={practice} googleMapsApiKey={key} />
134
+ * }
135
+ * …
136
+ * />
137
+ *
138
+ * When both `mapSlot` and `googleMapsApiKey` are provided, the slot
139
+ * wins (explicit > implicit). When neither is provided, no map area
140
+ * renders. The slot is unstyled — pass through any container chrome
141
+ * the consumer wants (e.g. a fixed height wrapper). The kit
142
+ * positions it where the static thumbnail would have lived.
143
+ */
144
+ mapSlot?: ReactNode;
124
145
  /**
125
146
  * Rendered at the end of the card body, below the rows. Use for
126
147
  * a "Book now" `<Button>` or a "View full profile" link.
@@ -1,4 +1,4 @@
1
- import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-Ce-LIDU8.js";
1
+ import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-C2mTxAlN.js";
2
2
  export {
3
3
  _ as CONTACT_PROFILE_CARD_ROW_ICONS,
4
4
  O as CONTACT_PROFILE_CARD_ROW_KEYS,
@@ -1,4 +1,4 @@
1
- import { M as o } from "../../_chunks/map-view-knHSNLoe.js";
1
+ import { M as o } from "../../_chunks/map-view-ZgbhfRqy.js";
2
2
  export {
3
3
  o as MapView
4
4
  };
@@ -1,4 +1,4 @@
1
- import { P as t, p as a } from "../../_chunks/practice-results-Dwm5tzLV.js";
1
+ import { P as t, p as a } from "../../_chunks/practice-results-YD4dvqje.js";
2
2
  export {
3
3
  t as PracticeResults,
4
4
  a as practiceResultsAgent
package/dist/index.js CHANGED
@@ -56,7 +56,7 @@ import { K as Lr, k as Nr } from "./_chunks/kbd-Cglkd7CY.js";
56
56
  import { K as Or, a as _r } from "./_chunks/key-value-pair-CkQIb9EG.js";
57
57
  import { L as Br, l as Mr } from "./_chunks/list-BOwqwy03.js";
58
58
  import { L as wr } from "./_chunks/logo-_Z-jLq80.js";
59
- import { M as vr } from "./_chunks/map-view-knHSNLoe.js";
59
+ import { M as vr } from "./_chunks/map-view-ZgbhfRqy.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";
@@ -130,8 +130,8 @@ import { B as kn, C as On, O as _n, b as yn } from "./_chunks/booking-h_kBZM6M.j
130
130
  import { C as Mn, c as Dn, r as wn } from "./_chunks/calendar-YHFknAGv.js";
131
131
  import { O as vn, o as Hn } from "./_chunks/operator-hero-7LiiP7zi.js";
132
132
  import { P as Gn, p as Un } from "./_chunks/patient-search-CBq62kmL.js";
133
- import { C as Yn, a as jn, b as zn, c as qn } from "./_chunks/contact-profile-card-Ce-LIDU8.js";
134
- import { P as Jn, p as Xn } from "./_chunks/practice-results-Dwm5tzLV.js";
133
+ import { C as Yn, a as jn, b as zn, c as qn } from "./_chunks/contact-profile-card-C2mTxAlN.js";
134
+ import { P as Jn, p as Xn } from "./_chunks/practice-results-YD4dvqje.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";
137
137
  import { R as lp, r as fp } from "./_chunks/reviews-panel-Dow8Dzoa.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "0.33.2",
3
+ "version": "0.33.4",
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",