@alfadocs/ui-kit 1.90.2 → 1.92.0

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 (171) hide show
  1. package/README.md +24 -0
  2. package/dist/_chunks/{agenda-card-BDuvreCe.js → agenda-card-BhY342MA.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-D-jvptdo.js → agenda-tray-BmxBGEci.js} +2 -2
  4. package/dist/_chunks/{alia-sidebar-CsTRAxC8.js → alia-sidebar-ovRX_oti.js} +3 -3
  5. package/dist/_chunks/{appointment-card-5JMWi9_f.js → appointment-card-Bstc1p7a.js} +2 -2
  6. package/dist/_chunks/{appointment-peek-39BwVMUf.js → appointment-peek-C0kKqnFk.js} +2 -2
  7. package/dist/_chunks/{appointment-timeline-1-Za2miy.js → appointment-timeline-rbt9AwHO.js} +2 -2
  8. package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js → appointment-tray-6zd8RLIL.js} +2 -2
  9. package/dist/_chunks/{avatar-BPiPL7ND.js → avatar-a6042Ox2.js} +52 -52
  10. package/dist/_chunks/{balance-badge-cell-D9VhFp0L.js → balance-badge-cell-BtJvre1-.js} +2 -2
  11. package/dist/_chunks/{calendar-ClB-jWH1.js → calendar-CmiMS4FJ.js} +2 -2
  12. package/dist/_chunks/{calendar-appointment-editor-dialog-CiAGAX2t.js → calendar-appointment-editor-dialog-sJKLoVJ2.js} +7 -7
  13. package/dist/_chunks/{care-plan-card-BYCPNDvA.js → care-plan-card-DD9rEWYN.js} +2 -2
  14. package/dist/_chunks/{care-plan-header-BzsAg6oY.js → care-plan-header-CXUJQt8Q.js} +2 -2
  15. package/dist/_chunks/{chat-message-CmFJdEre.js → chat-message-LRO_6Ee3.js} +2 -2
  16. package/dist/_chunks/{clinical-note-card-Caidqcwa.js → clinical-note-card-Cut2lNmu.js} +3 -3
  17. package/dist/_chunks/{contact-card-Czu60UvU.js → contact-card-ClvEDM9e.js} +2 -2
  18. package/dist/_chunks/{contact-profile-card-Da1vmJQI.js → contact-profile-card-CX45mZA3.js} +106 -95
  19. package/dist/_chunks/{dependent-selector-C4kOgO8b.js → dependent-selector-CyNi7M_f.js} +2 -2
  20. package/dist/_chunks/{entity-summary-BLxzSSXK.js → entity-summary-B_bOloqP.js} +3 -3
  21. package/dist/_chunks/error-page-B0fGNTRB.js +419 -0
  22. package/dist/_chunks/{languages-CZqBaPwI.js → languages-CGLX6Qpe.js} +3 -15
  23. package/dist/_chunks/link-DtCfnLnF.js +332 -0
  24. package/dist/_chunks/{link-cell-renderer-CnCgudvq.js → link-cell-renderer-BS3V4LA6.js} +2 -2
  25. package/dist/_chunks/{marketplace-app-shell-CmZx0Oam.js → marketplace-app-shell-CJQtx3sv.js} +2 -2
  26. package/dist/_chunks/{message-card-CvCnCssc.js → message-card-B6SduXJv.js} +2 -2
  27. package/dist/_chunks/{message-tray-IJYvy6Cf.js → message-tray-Cllf-v0G.js} +2 -2
  28. package/dist/_chunks/{nav-grid-Oc4aCPrg.js → nav-grid-D2xVcHTO.js} +2 -2
  29. package/dist/_chunks/{note-attachment-DIlIQ7JF.js → note-attachment-cnj2JRrg.js} +2 -2
  30. package/dist/_chunks/{note-timeline-KzL52MmB.js → note-timeline-BrjHBQfx.js} +2 -2
  31. package/dist/_chunks/{notes-panel-Dywo6R55.js → notes-panel-ib7I3aNf.js} +2 -2
  32. package/dist/_chunks/{operator-hero-6aAIQaFZ.js → operator-hero-C_5B-8Qp.js} +43 -41
  33. package/dist/_chunks/{patient-details-BUr7Oemx.js → patient-details-BjcUpD9S.js} +3 -3
  34. package/dist/_chunks/{patient-field-row-bJk8Q_qr.js → patient-field-row-B0tdiaWi.js} +2 -2
  35. package/dist/_chunks/{patient-summary-card-CCQZ8X37.js → patient-summary-card-Cvv6_Ugk.js} +4 -4
  36. package/dist/_chunks/{payment-request-card-MndSlVoK.js → payment-request-card-BfGauFY0.js} +2 -2
  37. package/dist/_chunks/{practice-profile-hero-qfrsFQI_.js → practice-profile-hero-ClzE-4CB.js} +76 -73
  38. package/dist/_chunks/{practice-results-DQuOfqej.js → practice-results-Bls-mygM.js} +620 -595
  39. package/dist/_chunks/{product-hub-panel-Blag8t8f.js → product-hub-panel-bHi7lkVD.js} +2 -2
  40. package/dist/_chunks/public-footer-IoRWoAMz.js +596 -0
  41. package/dist/_chunks/reserved.agent-C1gLyK2R.js +4610 -0
  42. package/dist/_chunks/{signature-request-DjY-X62H.js → signature-request-DvhyrRpn.js} +3 -3
  43. package/dist/_chunks/{signed-out-frame-G-3ATOdu.js → signed-out-frame-CgRXOUzi.js} +2 -2
  44. package/dist/_chunks/{slot-grid-DrwynKeN.js → slot-grid-B-IAFX3C.js} +180 -169
  45. package/dist/_chunks/{timeline-wUuTDFY_.js → timeline-BcYHdP56.js} +2 -2
  46. package/dist/_chunks/{use-appointment-details-read-BytPq3Ux.js → use-appointment-details-read-D8vDg0sg.js} +5 -5
  47. package/dist/ag-grid.css +2746 -0
  48. package/dist/agent-catalog.json +16 -2
  49. package/dist/apexcharts.css +40 -0
  50. package/dist/components/_shared/social-brand-icons.d.ts +29 -0
  51. package/dist/components/agenda-card/index.js +1 -1
  52. package/dist/components/agenda-tray/index.js +1 -1
  53. package/dist/components/appointment-card/index.js +2 -2
  54. package/dist/components/appointment-details-panel/index.js +1 -1
  55. package/dist/components/appointment-peek/index.js +1 -1
  56. package/dist/components/appointment-timeline/index.js +1 -1
  57. package/dist/components/avatar/avatar.d.ts +14 -0
  58. package/dist/components/avatar/index.js +1 -1
  59. package/dist/components/booking/booking-types.d.ts +26 -0
  60. package/dist/components/booking/index.d.ts +3 -0
  61. package/dist/components/booking/index.js +6 -4
  62. package/dist/components/booking/reserved.agent.d.ts +4 -0
  63. package/dist/components/booking/reserved.d.ts +9 -6
  64. package/dist/components/booking/slot-load-state.d.ts +11 -0
  65. package/dist/components/calendar/index.js +1 -1
  66. package/dist/components/care-plan-card/index.js +1 -1
  67. package/dist/components/care-plan-header/index.js +1 -1
  68. package/dist/components/chat-message/index.js +1 -1
  69. package/dist/components/clinical-note-card/index.js +1 -1
  70. package/dist/components/contact-card/index.js +1 -1
  71. package/dist/components/contact-profile-card/index.js +1 -1
  72. package/dist/components/data-table/index.js +1 -1
  73. package/dist/components/dependent-selector/index.js +1 -1
  74. package/dist/components/entity-summary/index.js +1 -1
  75. package/dist/components/link/index.js +1 -1
  76. package/dist/components/link/link.d.ts +10 -1
  77. package/dist/components/link/social-url.d.ts +71 -0
  78. package/dist/components/message-card/index.js +1 -1
  79. package/dist/components/message-tray/index.js +1 -1
  80. package/dist/components/nav-grid/index.js +1 -1
  81. package/dist/components/note-timeline/index.js +1 -1
  82. package/dist/components/notes-panel/index.js +1 -1
  83. package/dist/components/operator-hero/index.js +1 -1
  84. package/dist/components/operator-hero/operator-hero.d.ts +6 -0
  85. package/dist/components/patient-details/index.js +1 -1
  86. package/dist/components/patient-summary-card/index.js +1 -1
  87. package/dist/components/patient-table/index.js +1 -1
  88. package/dist/components/payment-card/index.js +1 -1
  89. package/dist/components/practice-profile-hero/index.js +1 -1
  90. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +6 -0
  91. package/dist/components/practice-results/index.js +1 -1
  92. package/dist/components/practice-results/practice-results.d.ts +9 -3
  93. package/dist/components/product-hub-tray/index.js +1 -1
  94. package/dist/components/public-footer/index.js +1 -1
  95. package/dist/components/public-footer/public-footer.d.ts +13 -1
  96. package/dist/components/public-footer/socials.d.ts +6 -5
  97. package/dist/components/slot-grid/index.js +1 -1
  98. package/dist/components/slot-grid/slot-grid.d.ts +2 -0
  99. package/dist/components/timeline/index.js +1 -1
  100. package/dist/core.css +2 -0
  101. package/dist/fullcalendar.css +56 -0
  102. package/dist/i18n/config.js +225 -97
  103. package/dist/i18n/locales/ar.d.ts +4 -0
  104. package/dist/i18n/locales/ar.js +6 -2
  105. package/dist/i18n/locales/de.d.ts +4 -0
  106. package/dist/i18n/locales/de.js +6 -2
  107. package/dist/i18n/locales/el.d.ts +4 -0
  108. package/dist/i18n/locales/el.js +6 -2
  109. package/dist/i18n/locales/en.d.ts +6 -2
  110. package/dist/i18n/locales/en.js +5 -1
  111. package/dist/i18n/locales/es.d.ts +4 -0
  112. package/dist/i18n/locales/es.js +6 -2
  113. package/dist/i18n/locales/fr.d.ts +4 -0
  114. package/dist/i18n/locales/fr.js +6 -2
  115. package/dist/i18n/locales/hi.d.ts +4 -0
  116. package/dist/i18n/locales/hi.js +6 -2
  117. package/dist/i18n/locales/it.d.ts +4 -0
  118. package/dist/i18n/locales/it.js +6 -2
  119. package/dist/i18n/locales/ja.d.ts +4 -0
  120. package/dist/i18n/locales/ja.js +6 -2
  121. package/dist/i18n/locales/nl.d.ts +4 -0
  122. package/dist/i18n/locales/nl.js +6 -2
  123. package/dist/i18n/locales/pl.d.ts +4 -0
  124. package/dist/i18n/locales/pl.js +6 -2
  125. package/dist/i18n/locales/pt.d.ts +4 -0
  126. package/dist/i18n/locales/pt.js +6 -2
  127. package/dist/i18n/locales/ro.d.ts +4 -0
  128. package/dist/i18n/locales/ro.js +6 -2
  129. package/dist/i18n/locales/ru.d.ts +4 -0
  130. package/dist/i18n/locales/ru.js +6 -2
  131. package/dist/i18n/locales/sq.d.ts +4 -0
  132. package/dist/i18n/locales/sq.js +6 -2
  133. package/dist/i18n/locales/sv.d.ts +4 -0
  134. package/dist/i18n/locales/sv.js +6 -2
  135. package/dist/i18n/locales/tr.d.ts +4 -0
  136. package/dist/i18n/locales/tr.js +6 -2
  137. package/dist/i18n/locales/zh.d.ts +4 -0
  138. package/dist/i18n/locales/zh.js +6 -2
  139. package/dist/index.js +473 -471
  140. package/dist/locales/ar.json +6 -2
  141. package/dist/locales/de.json +6 -2
  142. package/dist/locales/el.json +6 -2
  143. package/dist/locales/en.json +5 -1
  144. package/dist/locales/es.json +6 -2
  145. package/dist/locales/fr.json +6 -2
  146. package/dist/locales/hi.json +6 -2
  147. package/dist/locales/it.json +6 -2
  148. package/dist/locales/ja.json +6 -2
  149. package/dist/locales/nl.json +6 -2
  150. package/dist/locales/pl.json +6 -2
  151. package/dist/locales/pt.json +6 -2
  152. package/dist/locales/ro.json +6 -2
  153. package/dist/locales/ru.json +6 -2
  154. package/dist/locales/sq.json +6 -2
  155. package/dist/locales/sv.json +6 -2
  156. package/dist/locales/tr.json +6 -2
  157. package/dist/locales/zh.json +6 -2
  158. package/dist/patterns/alia-assistant/index.js +1 -1
  159. package/dist/patterns/calendar/index.js +1 -1
  160. package/dist/patterns/error-page/error-page-english.d.ts +71 -0
  161. package/dist/patterns/error-page/index.js +1 -1
  162. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  163. package/dist/patterns/signature-request/index.js +1 -1
  164. package/dist/patterns/signed-out-frame/index.js +1 -1
  165. package/dist/redactor.css +54 -0
  166. package/dist/tokens.css +1 -1
  167. package/package.json +10 -3
  168. package/dist/_chunks/booking-CcE_oviI.js +0 -4373
  169. package/dist/_chunks/error-page-Bhai-spN.js +0 -344
  170. package/dist/_chunks/link-N5_YpLtm.js +0 -138
  171. package/dist/_chunks/public-footer-CXOrdAaS.js +0 -568
@@ -3,7 +3,7 @@ import { type VariantProps } from 'class-variance-authority';
3
3
  export type PracticeResultsVariant = 'split-list-map' | 'map-first' | 'rich-cards';
4
4
  /** Heading levels the results title accepts. */
5
5
  export type PracticeResultsHeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
6
- export type PracticeResultsSort = 'distance' | 'rating' | 'next-available' | 'relevance';
6
+ export type PracticeResultsSort = 'distance' | 'rating' | 'next-available' | 'price' | 'relevance';
7
7
  /**
8
8
  * Where the result-selection event originated.
9
9
  *
@@ -60,6 +60,12 @@ export interface PracticeResult {
60
60
  bookingHref?: string;
61
61
  /** Avatar / logo URL. */
62
62
  imageUrl?: string;
63
+ /**
64
+ * Text alternative for the photo's `<img>`, for image search and crawlers.
65
+ * Pass the practice name. Leave it out and the photo stays decorative
66
+ * (`alt=""`), as before. Added in 1.91.0.
67
+ */
68
+ imageAlt?: string;
63
69
  /** Practice location. Required by the two map variants. */
64
70
  location?: {
65
71
  lat: number;
@@ -98,7 +104,7 @@ export interface PracticeResult {
98
104
  * Use `firstVisitPrice` for new integrations; a finite minimum wins when
99
105
  * both are set.
100
106
  * Price in the smallest currency unit (cents / centesimi).
101
- * Rendered as a labelled "First visit cost" row on every card in both
107
+ * Rendered as a labelled "First visit cost" chip on every card in both
102
108
  * densities (booking-website maps the practice's long-standing
103
109
  * first-visit price setting here). Same convention as
104
110
  * `ContactProfileCard.firstVisitPriceCents` — the KIT formats, the
@@ -107,7 +113,7 @@ export interface PracticeResult {
107
113
  * `0` is a real value meaning "free" and renders the translated word
108
114
  * "Free" (`common.freeOfCharge`), never a zero amount. Omit the
109
115
  * field (or pass `undefined`) when the practice has not set a price —
110
- * the row then disappears completely. Added for HTP-6136.
116
+ * the label and chip disappear completely. Added for HTP-6136.
111
117
  */
112
118
  firstVisitPriceCents?: number;
113
119
  /**
@@ -1,4 +1,4 @@
1
- import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-Blag8t8f.js";
1
+ import { P as u, a as o, p as t, b as e } from "../../_chunks/product-hub-panel-bHi7lkVD.js";
2
2
  import { i as s } from "../../_chunks/is-safe-url-DkETxeHz.js";
3
3
  export {
4
4
  u as ProductHubPanel,
@@ -1,4 +1,4 @@
1
- import { D as s, a as e, P as r, S as A, c as L } from "../../_chunks/public-footer-CXOrdAaS.js";
1
+ import { D as s, a as e, P as r, S as A, c as L } from "../../_chunks/public-footer-IoRWoAMz.js";
2
2
  import { p as _ } from "../../_chunks/public-footer.agent-CRZCrq3_.js";
3
3
  export {
4
4
  s as DEFAULT_MARKETING_BASE_URL,
@@ -34,7 +34,19 @@ export interface PublicFooterProps {
34
34
  socials?: PublicFooterSocial[];
35
35
  /** `full` variant: custom logo node. Default: kit's wordmark Logo. */
36
36
  logoSlot?: ReactNode;
37
- /** Extra surface-specific links — appended after the standard nav row in compact + full. Ignored by minimal. */
37
+ /**
38
+ * Extra surface-specific links, appended after the standard legal links in
39
+ * every variant. A `<Link>`, an `<a>`, a `<button>` or the kit's
40
+ * `<Button intent="link">` all work: the slot gives anchors the footer link
41
+ * look (muted text, underline on hover, focus ring) in every variant, and in
42
+ * `minimal` bare buttons and `Button intent="link"` too, so a host "Cookie
43
+ * settings" button that reopens its consent manager sits in line with
44
+ * Privacy and Terms. In `compact` and `full` host buttons keep their own
45
+ * look. In `minimal` the slot comes after Terms and before
46
+ * the copyright line, so tab order follows reading order, in RTL too. The
47
+ * host owns the label and the click handler. Minimal ignored this slot
48
+ * before 1.91.0.
49
+ */
38
50
  extraNavSlot?: ReactNode;
39
51
  /** Trust badges (HIPAA, ISO). Rendered at the start of `minimal`'s row, or in the bottom strip of `full`. */
40
52
  trustBadgesSlot?: ReactNode;
@@ -1,9 +1,10 @@
1
- import type { ComponentType, SVGProps } from 'react';
2
1
  export declare const SOCIAL_NETWORKS: readonly ["linkedin", "youtube", "instagram", "facebook"];
3
2
  export type SocialNetwork = (typeof SOCIAL_NETWORKS)[number];
4
3
  export declare const DEFAULT_SOCIAL_URLS: Record<SocialNetwork, string>;
5
- type IconProps = SVGProps<SVGSVGElement>;
6
- type SocialIcon = ComponentType<IconProps>;
7
- export declare const SOCIAL_ICONS: Record<SocialNetwork, SocialIcon>;
8
- export {};
4
+ export declare const SOCIAL_ICONS: {
5
+ linkedin: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
6
+ youtube: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
7
+ instagram: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
8
+ facebook: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement>>;
9
+ };
9
10
  //# sourceMappingURL=socials.d.ts.map
@@ -1,4 +1,4 @@
1
- import { S as i, f as t, i as e, s as r } from "../../_chunks/slot-grid-DrwynKeN.js";
1
+ import { S as i, f as t, i as e, s as r } from "../../_chunks/slot-grid-B-IAFX3C.js";
2
2
  export {
3
3
  i as SlotGrid,
4
4
  t as findFirstAvailable,
@@ -29,6 +29,8 @@ export interface SlotGridProps extends Omit<HTMLAttributes<HTMLDivElement>, 'ari
29
29
  days: SlotGridDay[];
30
30
  /** Visual / interactive state. Defaults to `'default'`. */
31
31
  state?: SlotGridState;
32
+ /** Localised guidance below the empty title, for an empty day or range. */
33
+ emptyDescription?: string;
32
34
  /** Density of the slot buttons and day headers. Defaults to `'md'`. */
33
35
  size?: SlotGridSize;
34
36
  /** Id of the currently selected slot (controlled). */
@@ -1,4 +1,4 @@
1
- import { T as t, t as m } from "../../_chunks/timeline-wUuTDFY_.js";
1
+ import { T as t, t as m } from "../../_chunks/timeline-BcYHdP56.js";
2
2
  export {
3
3
  t as Timeline,
4
4
  m as timelineAgent