@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.
- package/dist/_chunks/{contact-profile-card-Ce-LIDU8.js → contact-profile-card-C2mTxAlN.js} +53 -52
- package/dist/_chunks/{map-view-knHSNLoe.js → map-view-ZgbhfRqy.js} +384 -376
- package/dist/_chunks/{practice-results-Dwm5tzLV.js → practice-results-YD4dvqje.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/contact-profile-card/contact-profile-card.d.ts +21 -0
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -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-
|
|
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-
|
|
1568
|
+
//# sourceMappingURL=practice-results-YD4dvqje.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -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-
|
|
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,
|
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-
|
|
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-
|
|
134
|
-
import { P as Jn, p as Xn } from "./_chunks/practice-results-
|
|
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