@alfadocs/ui-kit 0.25.1 → 0.25.2

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 (178) hide show
  1. package/dist/_chunks/{agenda-card-BmpaUG1h.js → agenda-card-CznB7K8e.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-DiInnVqk.js → agenda-tray-C_bha7oK.js} +4 -4
  3. package/dist/_chunks/{ai-prompt-input-B5MdixzR.js → ai-prompt-input-Bka3jX3i.js} +2 -2
  4. package/dist/_chunks/{alia-sidebar-CUi2UCbY.js → alia-sidebar-CnvXq95r.js} +92 -109
  5. package/dist/_chunks/{audio-recorder-D4xM3H5i.js → audio-recorder-OB6IV9B1.js} +2 -2
  6. package/dist/_chunks/{autocomplete-C7xq06bP.js → autocomplete-CUh0f7Dj.js} +2 -2
  7. package/dist/_chunks/{avatar-BpFohgWG.js → avatar-D_H4emLo.js} +7 -7
  8. package/dist/_chunks/{benefit-card-DXmrAyfn.js → benefit-card-CjYM8vNr.js} +29 -29
  9. package/dist/_chunks/booking-CXngC-1u.js +1743 -0
  10. package/dist/_chunks/{calendar-zy0tUUVG.js → calendar-9eOXumpH.js} +113 -142
  11. package/dist/_chunks/{card-C353dU-H.js → card-DKTMLVrw.js} +11 -11
  12. package/dist/_chunks/{carousel.agent-DnPiqijR.js → carousel.agent-C9swH-Uf.js} +2 -2
  13. package/dist/_chunks/{chat-input-B3XmFGDw.js → chat-input-BfDcz1Yi.js} +2 -2
  14. package/dist/_chunks/{chat-message-W3k8rLOA.js → chat-message-fg221-yx.js} +2 -2
  15. package/dist/_chunks/{command-palette-DkL-aW4O.js → command-palette-11BieSNq.js} +2 -2
  16. package/dist/_chunks/{contact-card-CjG7c-1q.js → contact-card-CeEfEAxh.js} +2 -2
  17. package/dist/_chunks/{date-picker-BIoSLRly.js → date-picker-D0Ry1dMz.js} +26 -27
  18. package/dist/_chunks/{date-range-picker-9gANFNG9.js → date-range-picker-DYgHzMOo.js} +19 -20
  19. package/dist/_chunks/{date-time-picker-DG7BiGdb.js → date-time-picker-CGmGtcyc.js} +10 -11
  20. package/dist/_chunks/{description-list-Bsga4IW8.js → description-list-yl3y3QKg.js} +34 -24
  21. package/dist/_chunks/{dialog-DUomPCRS.js → dialog-BBXqpZIt.js} +2 -2
  22. package/dist/_chunks/{editable-currency-cell-renderer-DJB5MxAI.js → editable-currency-cell-renderer-DSReCae7.js} +7 -7
  23. package/dist/_chunks/{empty-state-3CLJIXSj.js → empty-state-BLy7tigq.js} +13 -33
  24. package/dist/_chunks/eye-LHlSU38h.js +21 -0
  25. package/dist/_chunks/{freemium-paywall-CM6V1zNf.js → freemium-paywall-B9c8Ylww.js} +11 -11
  26. package/dist/_chunks/{header-DqmKROIY.js → header-B8V_sNPy.js} +2 -2
  27. package/dist/_chunks/icon-button-BRHSSFmZ.js +70 -0
  28. package/dist/_chunks/{isSameDay-ecuM8PBB.js → isSameDay-DHG8Xade.js} +4 -4
  29. package/dist/_chunks/{key-value-pair-DBuOCtIc.js → key-value-pair-CqeKiP__.js} +2 -2
  30. package/dist/_chunks/{locale-picker-BxEUUPW7.js → locale-picker-BHxbTNmR.js} +297 -208
  31. package/dist/_chunks/{map-view-CcwycFQX.js → map-view-DyB8tr6c.js} +9 -9
  32. package/dist/_chunks/{matrix-rain-CRPMXcVx.js → matrix-rain-sDOUUwZp.js} +35 -35
  33. package/dist/_chunks/{message-card-i61k1TGc.js → message-card-DjRtA8GG.js} +3 -3
  34. package/dist/_chunks/{message-tray-DrV7G-wR.js → message-tray-DfsAMncP.js} +3 -3
  35. package/dist/_chunks/monitor-D-SFdbrU.js +16 -0
  36. package/dist/_chunks/{notification-card-ejOw5g6g.js → notification-card-B_847w5g.js} +3 -3
  37. package/dist/_chunks/{notification-tray-D_69dXFY.js → notification-tray-6f7smmT1.js} +22 -19
  38. package/dist/_chunks/patient-shell-Bq8CjRYF.js +173 -0
  39. package/dist/_chunks/{payment-form-F7uh0Rqr.js → payment-form-Ds3rxvad.js} +2 -2
  40. package/dist/_chunks/{pdf-viewer-CuYaVR1I.js → pdf-viewer-CIuaocnq.js} +2 -2
  41. package/dist/_chunks/{popover--derJ_wq.js → popover-D0slaBB9.js} +17 -13
  42. package/dist/_chunks/{privacy-lock-BKsI6ReN.js → privacy-lock-BI4vi9Ud.js} +2 -2
  43. package/dist/_chunks/{public-header.agent-BQ3r6Hgq.js → public-header.agent-5U3S9QiC.js} +49 -41
  44. package/dist/_chunks/react-day-picker-D3yzgvDB.js +3127 -0
  45. package/dist/_chunks/{recaptcha-widget-Kp1XntuE.js → recaptcha-widget-BtBNb6tB.js} +2 -2
  46. package/dist/_chunks/{search-bar-DORSAzNt.js → search-bar-BRMW1-WG.js} +2 -2
  47. package/dist/_chunks/{search-input-BtEJAJHa.js → search-input-CIA6pPfn.js} +2 -2
  48. package/dist/_chunks/{sheet-BT0izeoI.js → sheet-D8M8hf8B.js} +2 -2
  49. package/dist/_chunks/{sign-in-with-alfadocs-button-4zZC-I6y.js → sign-in-with-alfadocs-button-BI0fVonM.js} +2 -2
  50. package/dist/_chunks/{slot-grid-CgpYgBkW.js → slot-grid-DoodeQGZ.js} +4 -4
  51. package/dist/_chunks/sparkles-CuYXqQLg.js +23 -0
  52. package/dist/_chunks/{spinner-DirtWZNG.js → spinner-CCByyvcb.js} +2 -2
  53. package/dist/_chunks/stepper-accordion-BfS6lUB9.js +257 -0
  54. package/dist/_chunks/stepper-accordion.agent-C4quJ-MD.js +71 -0
  55. package/dist/_chunks/stethoscope-B8kpbtjh.js +35 -0
  56. package/dist/_chunks/{sun-Eweh5fvi.js → sun-BuXE0xUS.js} +3 -15
  57. package/dist/_chunks/{task-tray-B3A2fRGR.js → task-tray-Bcmrrs8m.js} +3 -3
  58. package/dist/_chunks/{theme-toggle-FrotC2VI.js → theme-toggle-nPzb378f.js} +37 -36
  59. package/dist/_chunks/{timeline-jmd7lfDf.js → timeline-CR7HjZCK.js} +3 -3
  60. package/dist/_chunks/{toast.agent-32WNQ-_x.js → toast.agent-CTF6nIj5.js} +2 -2
  61. package/dist/_chunks/{transcript-panel-DUrjx5sa.js → transcript-panel-QUQ9XJmf.js} +2 -2
  62. package/dist/_chunks/{use-password-requirements-C9vKBSVn.js → use-password-requirements-E0sSfx5X.js} +38 -53
  63. package/dist/_chunks/use-theme-C2dHKUAN.js +145 -0
  64. package/dist/_chunks/{workflow-map-BR6txfFX.js → workflow-map-BKsKdYvZ.js} +5 -5
  65. package/dist/agent-catalog.json +56 -51
  66. package/dist/components/agenda-card/index.js +1 -1
  67. package/dist/components/agenda-tray/index.js +1 -1
  68. package/dist/components/ai-prompt-input/index.js +1 -1
  69. package/dist/components/audio-recorder/index.js +1 -1
  70. package/dist/components/autocomplete/index.js +1 -1
  71. package/dist/components/avatar/index.js +1 -1
  72. package/dist/components/benefit-card/index.js +1 -1
  73. package/dist/components/booking/booking.agent.d.ts +4 -0
  74. package/dist/components/booking/booking.d.ts +91 -0
  75. package/dist/components/booking/index.d.ts +4 -0
  76. package/dist/components/booking/index.js +6 -0
  77. package/dist/components/button/index.js +1 -1
  78. package/dist/components/calendar/index.js +1 -1
  79. package/dist/components/card/index.js +1 -1
  80. package/dist/components/carousel/index.js +1 -1
  81. package/dist/components/chat-input/index.js +1 -1
  82. package/dist/components/chat-message/index.js +1 -1
  83. package/dist/components/command-palette/index.js +1 -1
  84. package/dist/components/contact-card/index.js +1 -1
  85. package/dist/components/data-table/index.js +1 -1
  86. package/dist/components/date-picker/index.js +1 -1
  87. package/dist/components/date-range-picker/index.js +1 -1
  88. package/dist/components/date-time-picker/index.js +1 -1
  89. package/dist/components/description-list/index.js +1 -1
  90. package/dist/components/dialog/index.js +1 -1
  91. package/dist/components/empty-state/index.js +1 -1
  92. package/dist/components/freemium-paywall/index.js +1 -1
  93. package/dist/components/header/index.js +1 -1
  94. package/dist/components/header-settings/index.js +16 -15
  95. package/dist/components/icon-button/index.js +1 -1
  96. package/dist/components/index.d.ts +1 -1
  97. package/dist/components/key-value-pair/index.js +1 -1
  98. package/dist/components/locale-picker/index.js +1 -1
  99. package/dist/components/map-view/index.js +1 -1
  100. package/dist/components/matrix-rain/index.js +1 -1
  101. package/dist/components/message-card/index.js +1 -1
  102. package/dist/components/message-tray/index.js +1 -1
  103. package/dist/components/notification-card/index.js +1 -1
  104. package/dist/components/notification-tray/index.js +1 -1
  105. package/dist/components/password-input/index.js +1 -1
  106. package/dist/components/payment-form/index.js +1 -1
  107. package/dist/components/pdf-viewer/index.js +1 -1
  108. package/dist/components/popover/index.js +1 -1
  109. package/dist/components/privacy-lock/index.js +1 -1
  110. package/dist/components/public-header/index.js +1 -1
  111. package/dist/components/recaptcha-widget/index.js +1 -1
  112. package/dist/components/search-bar/index.js +1 -1
  113. package/dist/components/search-input/index.js +1 -1
  114. package/dist/components/sheet/index.js +1 -1
  115. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  116. package/dist/components/slot-grid/index.js +1 -1
  117. package/dist/components/spinner/index.js +1 -1
  118. package/dist/components/stepper-accordion/index.js +4 -3
  119. package/dist/components/task-tray/index.js +1 -1
  120. package/dist/components/theme-toggle/index.js +1 -1
  121. package/dist/components/timeline/index.js +1 -1
  122. package/dist/components/toast/index.js +1 -1
  123. package/dist/components/transcript-panel/index.js +1 -1
  124. package/dist/components/workflow/index.js +1 -1
  125. package/dist/hooks/index.js +1 -1
  126. package/dist/i18n/config.js +1090 -46
  127. package/dist/i18n/locales/ar.d.ts +58 -0
  128. package/dist/i18n/locales/de.d.ts +58 -0
  129. package/dist/i18n/locales/el.d.ts +58 -0
  130. package/dist/i18n/locales/es.d.ts +58 -0
  131. package/dist/i18n/locales/fr.d.ts +58 -0
  132. package/dist/i18n/locales/hi.d.ts +58 -0
  133. package/dist/i18n/locales/ja.d.ts +58 -0
  134. package/dist/i18n/locales/nl.d.ts +58 -0
  135. package/dist/i18n/locales/pl.d.ts +58 -0
  136. package/dist/i18n/locales/pt.d.ts +58 -0
  137. package/dist/i18n/locales/ro.d.ts +58 -0
  138. package/dist/i18n/locales/ru.d.ts +58 -0
  139. package/dist/i18n/locales/sq.d.ts +58 -0
  140. package/dist/i18n/locales/sv.d.ts +58 -0
  141. package/dist/i18n/locales/tr.d.ts +58 -0
  142. package/dist/i18n/locales/zh.d.ts +58 -0
  143. package/dist/i18n/resources.d.ts +116 -0
  144. package/dist/index.js +270 -269
  145. package/dist/locales/ar.json +59 -1
  146. package/dist/locales/de.json +59 -1
  147. package/dist/locales/el.json +59 -1
  148. package/dist/locales/en.json +59 -1
  149. package/dist/locales/es.json +59 -1
  150. package/dist/locales/fr.json +59 -1
  151. package/dist/locales/hi.json +59 -1
  152. package/dist/locales/it.json +59 -1
  153. package/dist/locales/ja.json +59 -1
  154. package/dist/locales/nl.json +59 -1
  155. package/dist/locales/pl.json +59 -1
  156. package/dist/locales/pt.json +59 -1
  157. package/dist/locales/ro.json +59 -1
  158. package/dist/locales/ru.json +59 -1
  159. package/dist/locales/sq.json +59 -1
  160. package/dist/locales/sv.json +59 -1
  161. package/dist/locales/tr.json +59 -1
  162. package/dist/locales/zh.json +59 -1
  163. package/dist/patterns/alia-assistant/index.js +1 -1
  164. package/dist/patterns/patient-shell/index.js +1 -1
  165. package/dist/tokens.css +1 -1
  166. package/package.json +5 -1
  167. package/dist/_chunks/icon-button-C4CGcYuz.js +0 -54
  168. package/dist/_chunks/isSameMonth-5wNF2f4I.js +0 -1307
  169. package/dist/_chunks/patient-shell-B164drIa.js +0 -173
  170. package/dist/_chunks/react-day-picker-C5F3-TTX.js +0 -1827
  171. package/dist/_chunks/stepper-C-sIpRRU.js +0 -7
  172. package/dist/_chunks/stepper-accordion.agent-ckKYZCIP.js +0 -322
  173. package/dist/_chunks/stepper-calendar-BLOJUE0-.js +0 -648
  174. package/dist/_chunks/use-theme-B1cwAXJR.js +0 -145
  175. package/dist/components/stepper-calendar/index.d.ts +0 -4
  176. package/dist/components/stepper-calendar/index.js +0 -6
  177. package/dist/components/stepper-calendar/stepper-calendar.agent.d.ts +0 -4
  178. package/dist/components/stepper-calendar/stepper-calendar.d.ts +0 -62
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.25.1",
3
+ "packageVersion": "0.25.2",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -401,6 +401,61 @@
401
401
  }
402
402
  }
403
403
  },
404
+ {
405
+ "kind": "component",
406
+ "id": "booking",
407
+ "capabilities": [
408
+ "navigate",
409
+ "view_change"
410
+ ],
411
+ "state": [
412
+ {
413
+ "name": "currentStep",
414
+ "type": "number",
415
+ "description": "Zero-indexed active step within the active variant. Variants with no step machine report 0."
416
+ },
417
+ {
418
+ "name": "totalSteps",
419
+ "type": "number",
420
+ "description": "Total number of steps in the active variant. Single-screen variants report 1."
421
+ },
422
+ {
423
+ "name": "variant",
424
+ "type": "string",
425
+ "description": "Active variant — one of `inline-list`, `accordion`, `calendar`, `flexible`, `progress`."
426
+ }
427
+ ],
428
+ "actions": [
429
+ {
430
+ "name": "goto_step",
431
+ "safety": "read",
432
+ "argsType": "{ step: number }",
433
+ "description": "Jump to the given step within the active variant. Steps beyond first-incomplete are gated internally."
434
+ },
435
+ {
436
+ "name": "next",
437
+ "safety": "read",
438
+ "description": "Advance to the next step when the current step has a valid value."
439
+ },
440
+ {
441
+ "name": "previous",
442
+ "safety": "read",
443
+ "description": "Return to the previous step."
444
+ }
445
+ ],
446
+ "domHooks": {
447
+ "root": {
448
+ "attr": "data-component",
449
+ "value": "booking",
450
+ "description": "Marks the Booking root region."
451
+ },
452
+ "instanceId": {
453
+ "attr": "data-component-id",
454
+ "sourceProp": "id",
455
+ "description": "Sourced from the id prop."
456
+ }
457
+ }
458
+ },
404
459
  {
405
460
  "kind": "component",
406
461
  "id": "breadcrumb",
@@ -3396,56 +3451,6 @@
3396
3451
  }
3397
3452
  }
3398
3453
  },
3399
- {
3400
- "kind": "component",
3401
- "id": "stepper-calendar",
3402
- "capabilities": [
3403
- "navigate",
3404
- "view_change"
3405
- ],
3406
- "state": [
3407
- {
3408
- "name": "currentStep",
3409
- "type": "number",
3410
- "description": "Zero-indexed active step (0 = service, 1 = date, 2 = time, 3 = details)."
3411
- },
3412
- {
3413
- "name": "totalSteps",
3414
- "type": "number",
3415
- "description": "Total number of steps in the booking flow (always 4)."
3416
- }
3417
- ],
3418
- "actions": [
3419
- {
3420
- "name": "goto_step",
3421
- "safety": "read",
3422
- "argsType": "{ step: number }",
3423
- "description": "Jump to the given step. Steps beyond the first-incomplete are gated internally."
3424
- },
3425
- {
3426
- "name": "next",
3427
- "safety": "read",
3428
- "description": "Advance to the next step when the current step has a valid value."
3429
- },
3430
- {
3431
- "name": "previous",
3432
- "safety": "read",
3433
- "description": "Return to the previous step."
3434
- }
3435
- ],
3436
- "domHooks": {
3437
- "root": {
3438
- "attr": "data-component",
3439
- "value": "stepper-calendar",
3440
- "description": "Marks the StepperCalendar root region."
3441
- },
3442
- "instanceId": {
3443
- "attr": "data-component-id",
3444
- "sourceProp": "id",
3445
- "description": "Sourced from the id prop."
3446
- }
3447
- }
3448
- },
3449
3454
  {
3450
3455
  "kind": "component",
3451
3456
  "id": "stepper-progress",
@@ -1,4 +1,4 @@
1
- import { A as r, i as d } from "../../_chunks/agenda-card-BmpaUG1h.js";
1
+ import { A as r, i as d } from "../../_chunks/agenda-card-CznB7K8e.js";
2
2
  import { a as n } from "../../_chunks/agenda-card.agent-B_R47-c9.js";
3
3
  export {
4
4
  r as AgendaCard,
@@ -1,4 +1,4 @@
1
- import { A as r, a as g } from "../../_chunks/agenda-tray-DiInnVqk.js";
1
+ import { A as r, a as g } from "../../_chunks/agenda-tray-C_bha7oK.js";
2
2
  export {
3
3
  r as AgendaTray,
4
4
  g as agendaTrayAgent
@@ -1,4 +1,4 @@
1
- import { A as a, a as o } from "../../_chunks/ai-prompt-input-B5MdixzR.js";
1
+ import { A as a, a as o } from "../../_chunks/ai-prompt-input-Bka3jX3i.js";
2
2
  export {
3
3
  a as AIPromptInput,
4
4
  o as aiPromptInputAgent
@@ -1,4 +1,4 @@
1
- import { A as r, a } from "../../_chunks/audio-recorder-D4xM3H5i.js";
1
+ import { A as r, a } from "../../_chunks/audio-recorder-OB6IV9B1.js";
2
2
  export {
3
3
  r as AudioRecorder,
4
4
  a as audioRecorderAgent
@@ -1,4 +1,4 @@
1
- import { A as e, a as o, b as m } from "../../_chunks/autocomplete-C7xq06bP.js";
1
+ import { A as e, a as o, b as m } from "../../_chunks/autocomplete-CUh0f7Dj.js";
2
2
  export {
3
3
  e as Autocomplete,
4
4
  o as autocompleteAgent,
@@ -1,4 +1,4 @@
1
- import { A as o, g as r, n as t } from "../../_chunks/avatar-BpFohgWG.js";
1
+ import { A as o, g as r, n as t } from "../../_chunks/avatar-D_H4emLo.js";
2
2
  export {
3
3
  o as Avatar,
4
4
  r as getInitials,
@@ -1,4 +1,4 @@
1
- import { B as a } from "../../_chunks/benefit-card-DXmrAyfn.js";
1
+ import { B as a } from "../../_chunks/benefit-card-CjYM8vNr.js";
2
2
  export {
3
3
  a as BenefitCard
4
4
  };
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { BookingHandle } from './booking';
3
+ export declare const bookingAgent: AgentAdapter<BookingHandle>;
4
+ //# sourceMappingURL=booking.agent.d.ts.map
@@ -0,0 +1,91 @@
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ export type BookingVariant = 'inline-list' | 'accordion' | 'calendar' | 'flexible' | 'progress';
4
+ /** Service offering rendered in the service selector of every variant. */
5
+ export interface BookingService {
6
+ id: string;
7
+ /** Already-translated label (consumer owns data i18n). */
8
+ label: string;
9
+ /** Duration in minutes — shown alongside the label. */
10
+ durationMin: number;
11
+ /** Optional secondary line, e.g. "Prima visita o consulto". */
12
+ description?: string;
13
+ /** Optional price token — already formatted by the consumer. */
14
+ price?: string;
15
+ /** Optional payment hint — "Paga in studio" / "Paga online". */
16
+ paymentHint?: string;
17
+ /** Optional specialty id used to filter when a specialty chip is active. */
18
+ specialtyId?: string;
19
+ /** Optional icon — defaults to a stethoscope glyph. */
20
+ icon?: ReactNode;
21
+ }
22
+ /** Specialty chip rendered above the service list in `inline-list`. */
23
+ export interface BookingSpecialty {
24
+ id: string;
25
+ label: string;
26
+ /**
27
+ * Optional icon override. When omitted, a keyword-based heuristic picks
28
+ * an icon from the specialty's label (cardio → HeartPulse, derma →
29
+ * Sparkles, etc.) and renders it in the accent colour.
30
+ */
31
+ icon?: ReactNode;
32
+ }
33
+ /** One slot in an `availableSlots[date]` array. */
34
+ export interface BookingSlot {
35
+ /** Stable key — consumer-defined. Opaque to the component. */
36
+ key: string;
37
+ /** HH:mm 24h. */
38
+ time: string;
39
+ available: boolean;
40
+ /** Optional tooltip explaining a disabled slot. */
41
+ unavailableReason?: string;
42
+ }
43
+ /** Booking selection — controlled by the consumer. */
44
+ export interface BookingValue {
45
+ serviceId?: string;
46
+ specialtyId?: string;
47
+ /** ISO yyyy-mm-dd. */
48
+ date?: string;
49
+ /** HH:mm 24h. */
50
+ time?: string;
51
+ /** Slot lookup key — opaque to the component; passed through to onSubmit. */
52
+ slotKey?: string;
53
+ }
54
+ declare const rootVariants: (props?: ({
55
+ variant?: "progress" | "calendar" | "accordion" | "inline-list" | "flexible" | null | undefined;
56
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
57
+ export interface BookingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'aria-label' | 'onChange' | 'onSubmit'>, VariantProps<typeof rootVariants> {
58
+ services: BookingService[];
59
+ /** Optional — hides the specialty chip row when absent. */
60
+ specialties?: BookingSpecialty[];
61
+ availableDates: string[];
62
+ availableSlots: Record<string, BookingSlot[]>;
63
+ value: BookingValue;
64
+ onChange: (next: BookingValue) => void;
65
+ onSubmit?: (value: BookingValue) => void;
66
+ /** Optional pre-filter slot rendered above the variant body. */
67
+ filtersSlot?: ReactNode;
68
+ /** Optional details/contact form rendered after the slot pick. */
69
+ detailsSlot?: ReactNode;
70
+ /** Optional sticky CTA strip below the body. */
71
+ ctaSlot?: ReactNode;
72
+ /** Header content. `null` omits the header. Defaults to variant title + subtitle. */
73
+ heading?: ReactNode;
74
+ loadingDates?: boolean;
75
+ loadingSlots?: boolean;
76
+ /** Override aria-label on the root region. */
77
+ 'aria-label'?: string;
78
+ /** Agent-readiness instance id. */
79
+ id?: string;
80
+ }
81
+ export interface BookingHandle {
82
+ getCurrentStep: () => number;
83
+ getTotalSteps: () => number;
84
+ gotoStep: (step: number) => void;
85
+ next: () => void;
86
+ previous: () => void;
87
+ getVariant: () => BookingVariant;
88
+ }
89
+ export declare const Booking: import("react").ForwardRefExoticComponent<BookingProps & import("react").RefAttributes<HTMLDivElement>>;
90
+ export {};
91
+ //# sourceMappingURL=booking.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { Booking } from './booking';
2
+ export type { BookingProps, BookingHandle, BookingVariant, BookingValue, BookingService, BookingSpecialty, BookingSlot, } from './booking';
3
+ export { bookingAgent } from './booking.agent';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { B as n, b as a } from "../../_chunks/booking-CXngC-1u.js";
2
+ export {
3
+ n as Booking,
4
+ a as bookingAgent
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { B as r } from "../../_chunks/button-DD_0Xdmr.js";
2
- import { I as e } from "../../_chunks/icon-button-C4CGcYuz.js";
2
+ import { I as e } from "../../_chunks/icon-button-BRHSSFmZ.js";
3
3
  import { b as f } from "../../_chunks/button.agent-BuGZBktn.js";
4
4
  export {
5
5
  r as Button,
@@ -1,4 +1,4 @@
1
- import { C as r, c as l, r as n } from "../../_chunks/calendar-zy0tUUVG.js";
1
+ import { C as r, c as l, r as n } from "../../_chunks/calendar-9eOXumpH.js";
2
2
  export {
3
3
  r as Calendar,
4
4
  l as calendarAgent,
@@ -1,4 +1,4 @@
1
- import { C as o } from "../../_chunks/card-C353dU-H.js";
1
+ import { C as o } from "../../_chunks/card-DKTMLVrw.js";
2
2
  export {
3
3
  o as Card
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as o, c as r } from "../../_chunks/carousel.agent-DnPiqijR.js";
1
+ import { C as o, c as r } from "../../_chunks/carousel.agent-C9swH-Uf.js";
2
2
  export {
3
3
  o as Carousel,
4
4
  r as carouselAgent
@@ -1,4 +1,4 @@
1
- import { C as n, c as p } from "../../_chunks/chat-input-B3XmFGDw.js";
1
+ import { C as n, c as p } from "../../_chunks/chat-input-BfDcz1Yi.js";
2
2
  export {
3
3
  n as ChatInput,
4
4
  p as chatInputAgent
@@ -1,4 +1,4 @@
1
- import { C as s } from "../../_chunks/chat-message-W3k8rLOA.js";
1
+ import { C as s } from "../../_chunks/chat-message-fg221-yx.js";
2
2
  export {
3
3
  s as ChatMessage
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as t, a as e, b as o, c as s, d as n, e as d, f as i, g as C, h as r, i as l, j as c, k as h, u as g } from "../../_chunks/command-palette-DkL-aW4O.js";
1
+ import { C as t, a as e, b as o, c as s, d as n, e as d, f as i, g as C, h as r, i as l, j as c, k as h, u as g } from "../../_chunks/command-palette-11BieSNq.js";
2
2
  export {
3
3
  t as CommandEmpty,
4
4
  e as CommandGroup,
@@ -1,4 +1,4 @@
1
- import { C as r } from "../../_chunks/contact-card-CjG7c-1q.js";
1
+ import { C as r } from "../../_chunks/contact-card-CeEfEAxh.js";
2
2
  export {
3
3
  r as ContactCard
4
4
  };
@@ -1,4 +1,4 @@
1
- import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-DJB5MxAI.js";
1
+ import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-DSReCae7.js";
2
2
  export {
3
3
  l as ActionsCellRenderer,
4
4
  r as BalanceCellRenderer,
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-picker-BIoSLRly.js";
1
+ import { D as r, d as t } from "../../_chunks/date-picker-D0Ry1dMz.js";
2
2
  export {
3
3
  r as DatePicker,
4
4
  t as datePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-range-picker-9gANFNG9.js";
1
+ import { D as r, d as t } from "../../_chunks/date-range-picker-DYgHzMOo.js";
2
2
  export {
3
3
  r as DateRangePicker,
4
4
  t as dateRangePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as i, d as r } from "../../_chunks/date-time-picker-DG7BiGdb.js";
1
+ import { D as i, d as r } from "../../_chunks/date-time-picker-CGmGtcyc.js";
2
2
  export {
3
3
  i as DateTimePicker,
4
4
  r as dateTimePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as r } from "../../_chunks/description-list-Bsga4IW8.js";
1
+ import { D as r } from "../../_chunks/description-list-yl3y3QKg.js";
2
2
  export {
3
3
  r as DescriptionList
4
4
  };
@@ -1,4 +1,4 @@
1
- import { D as g, d } from "../../_chunks/dialog-DUomPCRS.js";
1
+ import { D as g, d } from "../../_chunks/dialog-BBXqpZIt.js";
2
2
  export {
3
3
  g as Dialog,
4
4
  d as dialogAgent
@@ -1,4 +1,4 @@
1
- import { E as e } from "../../_chunks/empty-state-3CLJIXSj.js";
1
+ import { E as e } from "../../_chunks/empty-state-BLy7tigq.js";
2
2
  export {
3
3
  e as EmptyState
4
4
  };
@@ -1,4 +1,4 @@
1
- import { F as m, f as l } from "../../_chunks/freemium-paywall-CM6V1zNf.js";
1
+ import { F as m, f as l } from "../../_chunks/freemium-paywall-B9c8Ylww.js";
2
2
  export {
3
3
  m as FreemiumPaywall,
4
4
  l as freemiumPaywallAgent
@@ -1,4 +1,4 @@
1
- import { H as r, a as d, b as H, c as s, d as n, e as t, f as i, g as o } from "../../_chunks/header-DqmKROIY.js";
1
+ import { H as r, a as d, b as H, c as s, d as n, e as t, f as i, g as o } from "../../_chunks/header-B8V_sNPy.js";
2
2
  export {
3
3
  r as Header,
4
4
  d as HeaderBrand,
@@ -1,17 +1,18 @@
1
- import { jsx as e, jsxs as d } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
2
  import { forwardRef as A, useRef as p, useImperativeHandle as C, useCallback as x, useMemo as I } from "react";
3
3
  import { c as N } from "../../_chunks/index-D2ZczOXr.js";
4
4
  import { useTranslation as E } from "react-i18next";
5
- import { I as o } from "../../_chunks/icon-button-C4CGcYuz.js";
6
- import { I as R } from "../../_chunks/icon-button-group-DeV3FpNY.js";
5
+ import { I as o } from "../../_chunks/icon-button-BRHSSFmZ.js";
6
+ import { I as M } from "../../_chunks/icon-button-group-DeV3FpNY.js";
7
7
  import { D as r } from "../../_chunks/dropdown-menu-DZxwF23X.js";
8
- import { S as M } from "../../_chunks/switch-D916VW86.js";
9
- import { c as v, a as _, L as H } from "../../_chunks/locale-picker-BxEUUPW7.js";
8
+ import { S as R } from "../../_chunks/switch-D916VW86.js";
9
+ import { c as v, a as _, L as H } from "../../_chunks/locale-picker-BHxbTNmR.js";
10
10
  import { u as O } from "../../_chunks/use-locale-BkCIHujH.js";
11
- import { u as P } from "../../_chunks/use-theme-B1cwAXJR.js";
11
+ import { u as P } from "../../_chunks/use-theme-C2dHKUAN.js";
12
12
  import { u as j } from "../../_chunks/registry-C9nwlNyL.js";
13
13
  import { S as K } from "../../_chunks/settings-ca2Yi9R8.js";
14
- import { S as D, M as z, a as V } from "../../_chunks/sun-Eweh5fvi.js";
14
+ import { S as D, M as z } from "../../_chunks/sun-BuXE0xUS.js";
15
+ import { M as V } from "../../_chunks/monitor-D-SFdbrU.js";
15
16
  const B = {
16
17
  id: "header-settings",
17
18
  capabilities: ["view_change"],
@@ -117,7 +118,7 @@ const F = N("ds:inline-flex ds:items-center", {
117
118
  "data-component-id": m,
118
119
  className: F({ align: g, className: w }),
119
120
  ...L,
120
- children: /* @__PURE__ */ d(r.Root, { children: [
121
+ children: /* @__PURE__ */ l(r.Root, { children: [
121
122
  /* @__PURE__ */ e(r.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
122
123
  o,
123
124
  {
@@ -127,15 +128,15 @@ const F = N("ds:inline-flex ds:items-center", {
127
128
  "aria-label": s("navigation.headerSettings.trigger")
128
129
  }
129
130
  ) }),
130
- /* @__PURE__ */ e(r.Portal, { children: /* @__PURE__ */ d(
131
+ /* @__PURE__ */ e(r.Portal, { children: /* @__PURE__ */ l(
131
132
  r.Content,
132
133
  {
133
134
  align: g,
134
135
  sideOffset: 8,
135
136
  className: U,
136
137
  onKeyDownCapture: (a) => {
137
- const l = a.target;
138
- (l == null ? void 0 : l.tagName) === "INPUT" && // Always allow Escape so the menu can close.
138
+ const d = a.target;
139
+ (d == null ? void 0 : d.tagName) === "INPUT" && // Always allow Escape so the menu can close.
139
140
  a.key !== "Escape" && a.stopPropagation();
140
141
  },
141
142
  children: [
@@ -155,7 +156,7 @@ const F = N("ds:inline-flex ds:items-center", {
155
156
  // flex container we make this div into.
156
157
  "ds:flex ds:[&>*]:flex-1"
157
158
  ].join(" "),
158
- children: /* @__PURE__ */ e(_, { variant: "compact" })
159
+ children: /* @__PURE__ */ e(_, { variant: "compact", popoverSide: "end" })
159
160
  }
160
161
  ),
161
162
  /* @__PURE__ */ e(r.Separator, {}),
@@ -166,8 +167,8 @@ const F = N("ds:inline-flex ds:items-center", {
166
167
  role: "group",
167
168
  "aria-label": s("navigation.headerSettings.appearance.label"),
168
169
  className: "ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
169
- children: /* @__PURE__ */ d(
170
- R,
170
+ children: /* @__PURE__ */ l(
171
+ M,
171
172
  {
172
173
  role: "radiogroup",
173
174
  mode: "toggle-single",
@@ -217,7 +218,7 @@ const F = N("ds:inline-flex ds:items-center", {
217
218
  ),
218
219
  className: "ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]",
219
220
  children: /* @__PURE__ */ e(
220
- M,
221
+ R,
221
222
  {
222
223
  label: s("navigation.headerSettings.appearance.accessible"),
223
224
  labelSide: "start",
@@ -1,4 +1,4 @@
1
- import { I as n } from "../../_chunks/icon-button-C4CGcYuz.js";
1
+ import { I as n } from "../../_chunks/icon-button-BRHSSFmZ.js";
2
2
  export {
3
3
  n as IconButton
4
4
  };
@@ -70,7 +70,6 @@ export * from './search-bar';
70
70
  export * from './sidebar';
71
71
  export * from './skip-link';
72
72
  export * from './stepper-accordion';
73
- export * from './stepper-calendar';
74
73
  export * from './stepper-progress';
75
74
  export * from './tabs';
76
75
  export * from './theme-toggle';
@@ -115,6 +114,7 @@ export * from './streaming-text';
115
114
  export * from './suggestion-chip';
116
115
  export * from './transcript-panel';
117
116
  export * from './typing-indicator';
117
+ export * from './booking';
118
118
  export * from './calendar';
119
119
  export * from './payment-form';
120
120
  export * from './pdf-viewer';
@@ -1,4 +1,4 @@
1
- import { K as r } from "../../_chunks/key-value-pair-DBuOCtIc.js";
1
+ import { K as r } from "../../_chunks/key-value-pair-CqeKiP__.js";
2
2
  export {
3
3
  r as KeyValuePair
4
4
  };
@@ -1,4 +1,4 @@
1
- import { L, a as c, b as r } from "../../_chunks/locale-picker-BxEUUPW7.js";
1
+ import { L, a as c, b as r } from "../../_chunks/locale-picker-BHxbTNmR.js";
2
2
  export {
3
3
  L as LOCALE_STORAGE_KEY,
4
4
  c as LocalePicker,
@@ -1,4 +1,4 @@
1
- import { M as o } from "../../_chunks/map-view-CcwycFQX.js";
1
+ import { M as o } from "../../_chunks/map-view-DyB8tr6c.js";
2
2
  export {
3
3
  o as MapView
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as i } from "../../_chunks/matrix-rain-CRPMXcVx.js";
1
+ import { M as i } from "../../_chunks/matrix-rain-sDOUUwZp.js";
2
2
  export {
3
3
  i as MatrixRain
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as a, i as r } from "../../_chunks/message-card-i61k1TGc.js";
1
+ import { M as a, i as r } from "../../_chunks/message-card-DjRtA8GG.js";
2
2
  import { m } from "../../_chunks/message-card.agent-4IeIgrnJ.js";
3
3
  export {
4
4
  a as MessageCard,
@@ -1,4 +1,4 @@
1
- import { M as s, m as r } from "../../_chunks/message-tray-DrV7G-wR.js";
1
+ import { M as s, m as r } from "../../_chunks/message-tray-DfsAMncP.js";
2
2
  export {
3
3
  s as MessageTray,
4
4
  r as messageTrayAgent
@@ -1,4 +1,4 @@
1
- import { N as a, i as t } from "../../_chunks/notification-card-ejOw5g6g.js";
1
+ import { N as a, i as t } from "../../_chunks/notification-card-B_847w5g.js";
2
2
  import { n as f } from "../../_chunks/notification-card.agent-Rqt3ofk9.js";
3
3
  export {
4
4
  a as NotificationCard,
@@ -1,4 +1,4 @@
1
- import { N as o, n as t } from "../../_chunks/notification-tray-D_69dXFY.js";
1
+ import { N as o, n as t } from "../../_chunks/notification-tray-6f7smmT1.js";
2
2
  export {
3
3
  o as NotificationTray,
4
4
  t as notificationTrayAgent
@@ -1,4 +1,4 @@
1
- import { P as r, u as a } from "../../_chunks/use-password-requirements-C9vKBSVn.js";
1
+ import { P as r, u as a } from "../../_chunks/use-password-requirements-E0sSfx5X.js";
2
2
  export {
3
3
  r as PasswordInput,
4
4
  a as usePasswordRequirements
@@ -1,4 +1,4 @@
1
- import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-F7uh0Rqr.js";
1
+ import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-Ds3rxvad.js";
2
2
  export {
3
3
  r as PaymentForm,
4
4
  s as formatPaymentAmount,
@@ -1,4 +1,4 @@
1
- import { P as p, p as a } from "../../_chunks/pdf-viewer-CuYaVR1I.js";
1
+ import { P as p, p as a } from "../../_chunks/pdf-viewer-CIuaocnq.js";
2
2
  export {
3
3
  p as PDFViewer,
4
4
  a as pdfViewerAgent
@@ -1,4 +1,4 @@
1
- import { P as e, p as r } from "../../_chunks/popover--derJ_wq.js";
1
+ import { P as e, p as r } from "../../_chunks/popover-D0slaBB9.js";
2
2
  export {
3
3
  e as Popover,
4
4
  r as popoverAgent
@@ -1,4 +1,4 @@
1
- import { P as o, p as r } from "../../_chunks/privacy-lock-BKsI6ReN.js";
1
+ import { P as o, p as r } from "../../_chunks/privacy-lock-BI4vi9Ud.js";
2
2
  export {
3
3
  o as PrivacyLock,
4
4
  r as privacyLockAgent
@@ -1,4 +1,4 @@
1
- import { P as r, p } from "../../_chunks/public-header.agent-BQ3r6Hgq.js";
1
+ import { P as r, p } from "../../_chunks/public-header.agent-5U3S9QiC.js";
2
2
  export {
3
3
  r as PublicHeader,
4
4
  p as publicHeaderAgent
@@ -1,4 +1,4 @@
1
- import { R as t, r as c } from "../../_chunks/recaptcha-widget-Kp1XntuE.js";
1
+ import { R as t, r as c } from "../../_chunks/recaptcha-widget-BtBNb6tB.js";
2
2
  export {
3
3
  t as RecaptchaWidget,
4
4
  c as recaptchaWidgetAgent
@@ -1,4 +1,4 @@
1
- import { S as e, f as s, s as t } from "../../_chunks/search-bar-DORSAzNt.js";
1
+ import { S as e, f as s, s as t } from "../../_chunks/search-bar-BRMW1-WG.js";
2
2
  export {
3
3
  e as SearchBar,
4
4
  s as filterSearchResults,