@alfadocs/ui-kit 0.33.10 → 0.33.11

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.33.10",
3
+ "packageVersion": "0.33.11",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -179,6 +179,21 @@ export interface BookingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'ari
179
179
  * reflect the new ISO when this fires.
180
180
  */
181
181
  onDateSelect?: (iso: string) => void;
182
+ /**
183
+ * Fires when the visible 4-day window starts or shifts. Used by
184
+ * two-query consumers to lazy-fetch `dailySlots/{date}` for the
185
+ * newly-visible days. Receives the inclusive ISO date strings of
186
+ * the first and last visible day in the window. Fires on mount
187
+ * (with the resolved initial window) and on every prev/next
188
+ * arrow click, internal jump-to-next-available action, and
189
+ * automatic re-sync triggered by `availableDates` arriving.
190
+ *
191
+ * Only fires when `datePickerStyle='four-day-grid'` — the
192
+ * month-calendar picker has no "window" concept; consumers using
193
+ * that style fetch availability per visible month and don't need
194
+ * this signal.
195
+ */
196
+ onWindowChange?: (startIso: string, endIso: string) => void;
182
197
  /**
183
198
  * @default 'month-calendar'
184
199
  * Selects the date + slot picker rendered inside the cascade's date
@@ -1,4 +1,4 @@
1
- import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-x4GlW5cb.js";
1
+ import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-Db4BQ9eH.js";
2
2
  export {
3
3
  A as Booking,
4
4
  R as CONFIRMATION_CHANNEL_ORDER,
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ import { S as Tn, a as bn } from "./_chunks/suggestion-chip-C4kxWUIs.js";
126
126
  import { s as Rn } from "./_chunks/suggestion-chip.agent-6sNWFj7m.js";
127
127
  import { T as hn, t as Fn } from "./_chunks/transcript-panel-DyhTpAP7.js";
128
128
  import { T as Ln } from "./_chunks/typing-indicator-DHeVN4ob.js";
129
- import { B as kn, C as On, O as _n, b as yn } from "./_chunks/booking-x4GlW5cb.js";
129
+ import { B as kn, C as On, O as _n, b as yn } from "./_chunks/booking-Db4BQ9eH.js";
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "0.33.10",
3
+ "version": "0.33.11",
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",