@alfadocs/ui-kit 0.31.2 → 0.31.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,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.31.2",
3
+ "packageVersion": "0.31.4",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -1,4 +1,4 @@
1
- import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-BIZ9GSer.js";
1
+ import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-A4o9xI2n.js";
2
2
  export {
3
3
  A as Booking,
4
4
  R as CONFIRMATION_CHANNEL_ORDER,
@@ -1,4 +1,4 @@
1
- import { P as t, p as a } from "../../_chunks/practice-results-JQunxBIg.js";
1
+ import { P as t, p as a } from "../../_chunks/practice-results-dOlljaAK.js";
2
2
  export {
3
3
  t as PracticeResults,
4
4
  a as practiceResultsAgent
@@ -113,6 +113,25 @@ export interface PracticeResultsProps extends Omit<ComponentPropsWithoutRef<'div
113
113
  consentGranted?: boolean;
114
114
  /** Fires when the patient clicks the "Load map" CTA in the consent placeholder. */
115
115
  onConsentRequest?: () => void;
116
+ /**
117
+ * @default false
118
+ * 0.31.4: bypass the embedded `<MapView>`'s GDPR consent placeholder
119
+ * entirely. Use when the consumer's page already gates the Google
120
+ * Maps loader script at a higher level (e.g. Usercentrics / OneTrust
121
+ * / any CMP that decides per-cookie-category whether to load Google
122
+ * Maps). Forwarded to every internal `<MapView>` instance —
123
+ * `split-list-map`'s right column and `map-first`'s main canvas.
124
+ * `rich-cards` static thumbnails are unaffected (they dropped the
125
+ * consent gate in 0.31.3 — see CHANGELOG).
126
+ *
127
+ * When `true`, `consentGranted` and `onConsentRequest` are ignored:
128
+ * the kit assumes the CMP at the page level has already made the
129
+ * call and the map loader script is either present or properly
130
+ * blocked. Setting both `consentGranted={false}` and
131
+ * `skipConsentGate={true}` is well-defined — gate skipped, no
132
+ * placeholder rendered.
133
+ */
134
+ skipConsentGate?: boolean;
116
135
  /** Fires when the patient scrolls to the bottom of the list. */
117
136
  onLoadMore?: () => void;
118
137
  /** True while the next page is loading — kit shows a Spinner at the list tail. */
package/dist/index.js CHANGED
@@ -126,10 +126,10 @@ import { S as Tn, a as Cn } from "./_chunks/suggestion-chip-C4kxWUIs.js";
126
126
  import { s as Pn } from "./_chunks/suggestion-chip.agent-6sNWFj7m.js";
127
127
  import { T as hn, t as In } from "./_chunks/transcript-panel-DyhTpAP7.js";
128
128
  import { T as En } from "./_chunks/typing-indicator-DHeVN4ob.js";
129
- import { B as kn, C as Nn, O as Bn, b as Mn } from "./_chunks/booking-BIZ9GSer.js";
129
+ import { B as kn, C as Nn, O as Bn, b as Mn } from "./_chunks/booking-A4o9xI2n.js";
130
130
  import { C as Dn, c as wn, r as On } from "./_chunks/calendar-YHFknAGv.js";
131
131
  import { P as vn, p as Vn } from "./_chunks/patient-search-hFiYbqcl.js";
132
- import { P as Gn, p as Wn } from "./_chunks/practice-results-JQunxBIg.js";
132
+ import { P as Gn, p as Wn } from "./_chunks/practice-results-dOlljaAK.js";
133
133
  import { P as Kn, f as jn, p as Yn, a as zn, s as qn, b as Qn, c as Jn } from "./_chunks/payment-form-D5rgnZu7.js";
134
134
  import { P as Zn, p as $n } from "./_chunks/pdf-viewer-DvtEHcEP.js";
135
135
  import { R as ep, r as rp } from "./_chunks/reviews-panel-yanuBZs-.js";