@alfadocs/ui-kit 0.41.2 → 0.43.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 (199) hide show
  1. package/dist/_chunks/address-autocomplete-CSjMrBvu.js +358 -0
  2. package/dist/_chunks/{alia-sidebar-DXsYPinm.js → alia-sidebar-BpX4z_af.js} +2 -2
  3. package/dist/_chunks/{ar-Cn_NxqkN.js → ar-DEz65ZJW.js} +2 -2
  4. package/dist/_chunks/bmi-calculator-DuVSFDuw.js +259 -0
  5. package/dist/_chunks/{booking-4mCw3Mpl.js → booking-CtLwaxkK.js} +4 -4
  6. package/dist/_chunks/{breadcrumb-CLlhx7qo.js → breadcrumb-OTbaY70e.js} +4 -4
  7. package/dist/_chunks/{calculator-dialog-B74fqpFZ.js → calculator-dialog-DdexHrTP.js} +2 -2
  8. package/dist/_chunks/{chart-Cbt0_sKv.js → chart-Cg3e9EH9.js} +101 -99
  9. package/dist/_chunks/cycle-calculator-Dln-y1k_.js +192 -0
  10. package/dist/_chunks/{date-picker-CvQfs6Xh.js → date-picker-Bq7xhMA-.js} +109 -108
  11. package/dist/_chunks/date-picker-variants-DLi1Va_e.js +3238 -0
  12. package/dist/_chunks/{date-range-picker-U9fn1g9d.js → date-range-picker-DcXuI9y7.js} +20 -19
  13. package/dist/_chunks/{date-time-picker-Cva0ZCWw.js → date-time-picker-RimumeLR.js} +18 -17
  14. package/dist/_chunks/{de-BMM2H7Bs.js → de-bTBGdjPS.js} +2 -2
  15. package/dist/_chunks/{dialog-Cee13rHU.js → dialog-DOYgd75U.js} +46 -37
  16. package/dist/_chunks/{document-scanner-CqS_klIr.js → document-scanner-BqLsGs4Y.js} +7 -7
  17. package/dist/_chunks/{dropdown-menu-BC5ZdOMo.js → dropdown-menu-CUEXqKis.js} +2 -2
  18. package/dist/_chunks/{due-date-calculator-CUspKSTw.js → due-date-calculator-Cc4dRqTI.js} +62 -41
  19. package/dist/_chunks/{editable-currency-cell-renderer-DgkCIIcO.js → editable-currency-cell-renderer-9jqwDv5x.js} +3 -3
  20. package/dist/_chunks/{el-BYPonAaK.js → el-BWG5RXxa.js} +6 -6
  21. package/dist/_chunks/{es-CMkVCQ4F.js → es-DfO_G435.js} +2 -2
  22. package/dist/_chunks/{fr-BcuWxqft.js → fr-BTn24bs8.js} +2 -2
  23. package/dist/_chunks/{freemium-paywall-BAk3a6er.js → freemium-paywall-BLXESpH4.js} +2 -2
  24. package/dist/_chunks/{gestation-BXEgDGmP.js → gestation-mWF4AXea.js} +3 -3
  25. package/dist/_chunks/{gestational-age-calculator-CsQ05qDy.js → gestational-age-calculator-ZMSrzkRW.js} +59 -45
  26. package/dist/_chunks/{header-CTZWX-tm.js → header-Ce1Br27u.js} +70 -75
  27. package/dist/_chunks/{header-settings-CBLwUK6t.js → header-settings-Bx0Biimh.js} +2 -2
  28. package/dist/_chunks/{hi-wkq_rQAh.js → hi-Dj3oYd84.js} +2 -2
  29. package/dist/_chunks/index.modern-D2LGACWg.js +1529 -0
  30. package/dist/_chunks/insert-result-DisOY2G-.js +243 -0
  31. package/dist/_chunks/{isSameWeek-Bim5ftRd.js → isSameWeek-HfxKk6Lz.js} +2 -2
  32. package/dist/_chunks/{it-GiQrQ9p4.js → it-Y85ofIQQ.js} +7 -7
  33. package/dist/_chunks/{ja-qfYg3Rua.js → ja-CQ7J6YoA.js} +2 -2
  34. package/dist/_chunks/{kbd-Cglkd7CY.js → kbd-D855ZXIW.js} +2 -2
  35. package/dist/_chunks/map-view-Tb5VfK9Y.js +333 -0
  36. package/dist/_chunks/marketplace-app-shell-Dc5cTIt8.js +428 -0
  37. package/dist/_chunks/{nl-xOogO4sZ.js → nl-D9kHCmp3.js} +2 -2
  38. package/dist/_chunks/{patient-search-CBq62kmL.js → patient-search-DPe2ZYEL.js} +2 -2
  39. package/dist/_chunks/{patient-shell-DF81lALv.js → patient-shell-CnT4L8gn.js} +3 -3
  40. package/dist/_chunks/{payment-form-Dy3WIIsC.js → payment-form-BzVsG6Ks.js} +5 -5
  41. package/dist/_chunks/{pdf-viewer-Cy6Ul3hZ.js → pdf-viewer-B6MC6VTx.js} +139 -126
  42. package/dist/_chunks/{pl-GnOW6eGK.js → pl-B3Smqpkr.js} +3 -3
  43. package/dist/_chunks/{practice-results-C0d4IL5E.js → practice-results-CrLpEiiW.js} +4 -4
  44. package/dist/_chunks/pregnancy-weight-gain-zZL5Ir2-.js +224 -0
  45. package/dist/_chunks/{pt-_bV5b5RW.js → pt-D3J-1c_7.js} +6 -6
  46. package/dist/_chunks/{public-header.agent-B2dDg2_d.js → public-header.agent-BY6FH71R.js} +2 -2
  47. package/dist/_chunks/radio-group-CLjK-SlK.js +167 -0
  48. package/dist/_chunks/{rich-text-editor-DLbg2852.js → rich-text-editor-DhGIBd4a.js} +10 -10
  49. package/dist/_chunks/{ro-BEcyh5Nj.js → ro-BKAbbEA3.js} +2 -2
  50. package/dist/_chunks/{ru-Bi86hqMf.js → ru-BeG8f0Ep.js} +3 -3
  51. package/dist/_chunks/{sheet-BV-yuLE2.js → sheet-xbzu4YiY.js} +7 -7
  52. package/dist/_chunks/sign-document-B-3k_0LO.js +344 -0
  53. package/dist/_chunks/{signature-capture-DoiBd6i3.js → signature-capture-CpMBhqQ9.js} +6 -6
  54. package/dist/_chunks/{sq-BujHSAWu.js → sq-_hRPaeUy.js} +6 -6
  55. package/dist/_chunks/subDays-Dv7q9S7u.js +8 -0
  56. package/dist/_chunks/{sv-C8AeDrTA.js → sv-g009fSpe.js} +2 -2
  57. package/dist/_chunks/tab-bar-Xetknddo.js +105 -0
  58. package/dist/_chunks/{theme-toggle-DpC28kt5.js → theme-toggle-ClATnY4Q.js} +2 -2
  59. package/dist/_chunks/{toast.agent-WHHfw5VX.js → toast.agent-B0MCsvdZ.js} +2 -2
  60. package/dist/_chunks/{tr-CMSs_Vgf.js → tr-OKUOuhMW.js} +2 -2
  61. package/dist/_chunks/{unit-converter-EUwO6QYq.js → unit-converter-CuXCXJhK.js} +46 -40
  62. package/dist/_chunks/{workflow-map-C3gB0FvB.js → workflow-map-BFNpzTiw.js} +2 -2
  63. package/dist/_chunks/{zh-CN-eXB-PFu4.js → zh-CN-De4zwEhx.js} +3 -3
  64. package/dist/agent-catalog.json +1 -1
  65. package/dist/brand/product-lockup/product-lockup.d.ts +16 -0
  66. package/dist/components/_shared/calendar-class-names.d.ts +8 -0
  67. package/dist/components/_shared/index.d.ts +2 -0
  68. package/dist/components/_shared/insert-result.d.ts +78 -6
  69. package/dist/components/address-autocomplete/address-autocomplete.d.ts +77 -0
  70. package/dist/components/address-autocomplete/index.d.ts +4 -0
  71. package/dist/components/address-autocomplete/index.js +6 -0
  72. package/dist/components/address-autocomplete/parse-address.d.ts +52 -0
  73. package/dist/components/badge/badge.d.ts +1 -1
  74. package/dist/components/bmi-calculator/bmi-calculator.d.ts +11 -1
  75. package/dist/components/bmi-calculator/index.js +1 -1
  76. package/dist/components/booking/index.js +1 -1
  77. package/dist/components/breadcrumb/index.js +1 -1
  78. package/dist/components/calculator-dialog/index.js +1 -1
  79. package/dist/components/card/card.d.ts +1 -1
  80. package/dist/components/chart/chart.d.ts +10 -0
  81. package/dist/components/chart/index.js +1 -1
  82. package/dist/components/cycle-calculator/cycle-calculator.d.ts +12 -2
  83. package/dist/components/cycle-calculator/index.js +1 -1
  84. package/dist/components/data-table/index.js +1 -1
  85. package/dist/components/date-picker/date-picker.d.ts +0 -1
  86. package/dist/components/date-picker/index.js +1 -1
  87. package/dist/components/date-range-picker/date-range-picker.d.ts +0 -1
  88. package/dist/components/date-range-picker/index.js +1 -1
  89. package/dist/components/date-time-picker/date-time-picker.d.ts +0 -1
  90. package/dist/components/date-time-picker/index.js +1 -1
  91. package/dist/components/dialog/index.js +1 -1
  92. package/dist/components/document-scanner/index.js +1 -1
  93. package/dist/components/dropdown-menu/index.js +1 -1
  94. package/dist/components/due-date-calculator/due-date-calculator.d.ts +11 -1
  95. package/dist/components/due-date-calculator/index.js +2 -2
  96. package/dist/components/freemium-paywall/index.js +1 -1
  97. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +12 -2
  98. package/dist/components/gestational-age-calculator/index.js +1 -1
  99. package/dist/components/header/header.d.ts +8 -0
  100. package/dist/components/header/index.js +1 -1
  101. package/dist/components/header-settings/index.js +1 -1
  102. package/dist/components/index.d.ts +3 -1
  103. package/dist/components/kbd/index.js +1 -1
  104. package/dist/components/map-view/index.js +1 -1
  105. package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
  106. package/dist/components/patient-search/index.js +1 -1
  107. package/dist/components/payment-form/index.js +1 -1
  108. package/dist/components/pdf-viewer/index.js +1 -1
  109. package/dist/components/practice-results/index.js +1 -1
  110. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  111. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +12 -2
  112. package/dist/components/public-header/index.js +1 -1
  113. package/dist/components/public-header/public-header.d.ts +1 -1
  114. package/dist/components/radio-group/index.js +1 -1
  115. package/dist/components/rich-text-editor/index.js +1 -1
  116. package/dist/components/sheet/index.js +1 -1
  117. package/dist/components/sign-document/index.js +1 -1
  118. package/dist/components/sign-document/sign-document.d.ts +12 -0
  119. package/dist/components/signature-capture/index.js +1 -1
  120. package/dist/components/stat/stat.d.ts +1 -1
  121. package/dist/components/tab-bar/index.d.ts +3 -0
  122. package/dist/components/tab-bar/index.js +5 -0
  123. package/dist/components/tab-bar/tab-bar.d.ts +104 -0
  124. package/dist/components/theme-toggle/index.js +1 -1
  125. package/dist/components/toast/index.js +1 -1
  126. package/dist/components/unit-converter/index.js +1 -1
  127. package/dist/components/unit-converter/unit-converter.d.ts +11 -1
  128. package/dist/components/workflow/index.js +1 -1
  129. package/dist/i18n/locales/ar.d.ts +17 -0
  130. package/dist/i18n/locales/ar.js +18 -1
  131. package/dist/i18n/locales/de.d.ts +17 -0
  132. package/dist/i18n/locales/de.js +18 -1
  133. package/dist/i18n/locales/el.d.ts +17 -0
  134. package/dist/i18n/locales/el.js +18 -1
  135. package/dist/i18n/locales/en.d.ts +17 -0
  136. package/dist/i18n/locales/en.js +18 -1
  137. package/dist/i18n/locales/es.d.ts +17 -0
  138. package/dist/i18n/locales/es.js +18 -1
  139. package/dist/i18n/locales/fr.d.ts +17 -0
  140. package/dist/i18n/locales/fr.js +18 -1
  141. package/dist/i18n/locales/hi.d.ts +17 -0
  142. package/dist/i18n/locales/hi.js +18 -1
  143. package/dist/i18n/locales/it.d.ts +17 -0
  144. package/dist/i18n/locales/it.js +18 -1
  145. package/dist/i18n/locales/ja.d.ts +17 -0
  146. package/dist/i18n/locales/ja.js +18 -1
  147. package/dist/i18n/locales/nl.d.ts +17 -0
  148. package/dist/i18n/locales/nl.js +18 -1
  149. package/dist/i18n/locales/pl.d.ts +17 -0
  150. package/dist/i18n/locales/pl.js +18 -1
  151. package/dist/i18n/locales/pt.d.ts +17 -0
  152. package/dist/i18n/locales/pt.js +18 -1
  153. package/dist/i18n/locales/ro.d.ts +17 -0
  154. package/dist/i18n/locales/ro.js +18 -1
  155. package/dist/i18n/locales/ru.d.ts +17 -0
  156. package/dist/i18n/locales/ru.js +18 -1
  157. package/dist/i18n/locales/sq.d.ts +17 -0
  158. package/dist/i18n/locales/sq.js +18 -1
  159. package/dist/i18n/locales/sv.d.ts +17 -0
  160. package/dist/i18n/locales/sv.js +18 -1
  161. package/dist/i18n/locales/tr.d.ts +17 -0
  162. package/dist/i18n/locales/tr.js +18 -1
  163. package/dist/i18n/locales/zh.d.ts +17 -0
  164. package/dist/i18n/locales/zh.js +18 -1
  165. package/dist/index.js +605 -599
  166. package/dist/locales/ar.json +18 -1
  167. package/dist/locales/de.json +18 -1
  168. package/dist/locales/el.json +18 -1
  169. package/dist/locales/en.json +18 -1
  170. package/dist/locales/es.json +18 -1
  171. package/dist/locales/fr.json +18 -1
  172. package/dist/locales/hi.json +18 -1
  173. package/dist/locales/it.json +18 -1
  174. package/dist/locales/ja.json +18 -1
  175. package/dist/locales/nl.json +18 -1
  176. package/dist/locales/pl.json +18 -1
  177. package/dist/locales/pt.json +18 -1
  178. package/dist/locales/ro.json +18 -1
  179. package/dist/locales/ru.json +18 -1
  180. package/dist/locales/sq.json +18 -1
  181. package/dist/locales/sv.json +18 -1
  182. package/dist/locales/tr.json +18 -1
  183. package/dist/locales/zh.json +18 -1
  184. package/dist/patterns/alia-assistant/index.js +1 -1
  185. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  186. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +87 -4
  187. package/dist/patterns/patient-shell/index.js +1 -1
  188. package/dist/tokens.css +1411 -2
  189. package/package.json +16 -1
  190. package/dist/_chunks/bmi-calculator-DnEr513I.js +0 -213
  191. package/dist/_chunks/cycle-calculator-B5Uj9QeT.js +0 -185
  192. package/dist/_chunks/insert-result-yJ0QavoN.js +0 -133
  193. package/dist/_chunks/map-view-qJLybrmN.js +0 -1850
  194. package/dist/_chunks/marketplace-app-shell-BlxVizU4.js +0 -296
  195. package/dist/_chunks/pregnancy-weight-gain-BCdi-JSv.js +0 -209
  196. package/dist/_chunks/radio-group-BcF92GEF.js +0 -152
  197. package/dist/_chunks/react-day-picker-CdtIiKjx.js +0 -3174
  198. package/dist/_chunks/sign-document-CpLDZ6Db.js +0 -316
  199. package/dist/_chunks/subDays-_T9YeKPX.js +0 -8
@@ -182,6 +182,19 @@
182
182
  "results_many": "{{count}} sonuç",
183
183
  "results_other": "{{count}} sonuç"
184
184
  },
185
+ "addressAutocomplete": {
186
+ "ariaLabel": "Adres",
187
+ "listLabel": "Adres önerileri",
188
+ "placeholder": "Bir adres yazmaya başlayın…",
189
+ "loading": "Öneriler yükleniyor…",
190
+ "noResults": "Eşleşen adres yok",
191
+ "results_one": "{{count}} öneri",
192
+ "results_zero": "{{count}} öneri",
193
+ "results_two": "{{count}} öneri",
194
+ "results_few": "{{count}} öneri",
195
+ "results_many": "{{count}} öneri",
196
+ "results_other": "{{count}} öneri"
197
+ },
185
198
  "phone": {
186
199
  "placeholder": "Telefon numarası",
187
200
  "searchCountry": "Ülke ara…",
@@ -1393,7 +1406,8 @@
1393
1406
  "download": "İndir",
1394
1407
  "loading": "PDF yükleniyor…",
1395
1408
  "error": "PDF yüklenemedi",
1396
- "pageOverlay": "{{page}}. sayfa katmanı"
1409
+ "pageOverlay": "{{page}}. sayfa katmanı",
1410
+ "pagesRegionLabel": "Belge sayfaları"
1397
1411
  },
1398
1412
  "mapView": {
1399
1413
  "label": "Harita",
@@ -1863,6 +1877,9 @@
1863
1877
  "text": "Metin ekle",
1864
1878
  "image": "Resim ekle",
1865
1879
  "textImage": "Metin + resim ekle",
1880
+ "copyText": "Metni kopyala",
1881
+ "copyImage": "Resmi kopyala",
1882
+ "copyTextImage": "Metin + resim kopyala",
1866
1883
  "title": {
1867
1884
  "bmi": "Vücut kitle indeksi",
1868
1885
  "dueDate": "Tahmini doğum tarihi",
@@ -171,6 +171,19 @@
171
171
  "results_many": "{{count}} 个结果",
172
172
  "results_other": "{{count}} 个结果"
173
173
  },
174
+ "addressAutocomplete": {
175
+ "ariaLabel": "地址",
176
+ "listLabel": "地址建议",
177
+ "placeholder": "开始输入地址…",
178
+ "loading": "正在加载建议…",
179
+ "noResults": "没有匹配的地址",
180
+ "results_one": "{{count}} 条建议",
181
+ "results_zero": "{{count}} 条建议",
182
+ "results_two": "{{count}} 条建议",
183
+ "results_few": "{{count}} 条建议",
184
+ "results_many": "{{count}} 条建议",
185
+ "results_other": "{{count}} 条建议"
186
+ },
174
187
  "phone": {
175
188
  "placeholder": "电话号码",
176
189
  "searchCountry": "搜索国家……",
@@ -1393,7 +1406,8 @@
1393
1406
  "download": "下载",
1394
1407
  "loading": "PDF 加载中……",
1395
1408
  "error": "无法加载 PDF",
1396
- "pageOverlay": "第 {{page}} 页叠加层"
1409
+ "pageOverlay": "第 {{page}} 页叠加层",
1410
+ "pagesRegionLabel": "文档页面"
1397
1411
  },
1398
1412
  "mapView": {
1399
1413
  "label": "地图",
@@ -1863,6 +1877,9 @@
1863
1877
  "text": "插入文本",
1864
1878
  "image": "插入图片",
1865
1879
  "textImage": "插入文本 + 图片",
1880
+ "copyText": "复制文本",
1881
+ "copyImage": "复制图片",
1882
+ "copyTextImage": "复制文本 + 图片",
1866
1883
  "title": {
1867
1884
  "bmi": "身体质量指数",
1868
1885
  "dueDate": "预产期",
@@ -1,4 +1,4 @@
1
- import { A as i, a as A, b as d, c as l } from "../../_chunks/alia-sidebar-DXsYPinm.js";
1
+ import { A as i, a as A, b as d, c as l } from "../../_chunks/alia-sidebar-BpX4z_af.js";
2
2
  export {
3
3
  i as AliaChatSurface,
4
4
  A as AliaEmbedded,
@@ -1,4 +1,4 @@
1
- import { C as l, M as o } from "../../_chunks/marketplace-app-shell-BlxVizU4.js";
1
+ import { C as l, M as o } from "../../_chunks/marketplace-app-shell-Dc5cTIt8.js";
2
2
  export {
3
3
  l as ConnectWithAlfadocs,
4
4
  o as MarketplaceAppShell
@@ -23,7 +23,7 @@
23
23
  * its own i18n; the only kit-owned strings reuse existing translated `ui.*`
24
24
  * keys (sidebar label, skip link, menu button).
25
25
  */
26
- import { type ReactNode } from 'react';
26
+ import { type MouseEvent, type ReactNode } from 'react';
27
27
  import { type SidebarMode } from '../../components/sidebar';
28
28
  export interface MarketplaceNavItem {
29
29
  id: string;
@@ -36,7 +36,39 @@ export interface MarketplaceNavItem {
36
36
  badgeCount?: number;
37
37
  /** Mark the item as the current page (`aria-current='page'`). */
38
38
  isActive?: boolean;
39
+ /**
40
+ * Optional click handler threaded onto the nav link's `<a>`. The lightweight
41
+ * alternative to `renderLink`: intercept a same-origin click (call
42
+ * `event.preventDefault()`) and route client-side without a full page load —
43
+ * no router `<Link>` needed. Applies to both the standalone sidebar item and
44
+ * the embedded tab. When `renderLink` is supplied it's handed through to the
45
+ * consumer's link element instead.
46
+ */
47
+ onClick?: (event: MouseEvent<HTMLAnchorElement>) => void;
39
48
  }
49
+ /**
50
+ * Props the shell hands to `renderLink` for each nav item. The consumer returns
51
+ * their router's `<Link to={href}>` carrying the same `className` (the kit's
52
+ * active styling) and `aria-current` (`'page'` on the active item) so a tab /
53
+ * sidebar-item click is a client-side route change, not a full page reload.
54
+ */
55
+ export interface MarketplaceRenderLinkProps {
56
+ /** The item's destination — feed it to your router's `to` / `href`. */
57
+ href: string;
58
+ /** The kit's classes — apply verbatim to the link element. */
59
+ className?: string;
60
+ /** Icon + label + badge — render as the link's children. */
61
+ children: ReactNode;
62
+ /** `'page'` on the active item, otherwise omitted — forward to the link. */
63
+ 'aria-current'?: 'page';
64
+ }
65
+ /**
66
+ * Render a nav item through the consumer's router instead of the kit's own
67
+ * `<a>`. Returned by the consumer; the shell forwards `href`, the kit's
68
+ * `className`, the item children, and `aria-current` so the active styling and
69
+ * the `aria-current="page"` marker survive a client-side route change.
70
+ */
71
+ export type MarketplaceRenderLink = (props: MarketplaceRenderLinkProps) => ReactNode;
40
72
  export interface MarketplaceAppUser {
41
73
  /** Display name — drives the avatar initials + the account-menu header. */
42
74
  name: string;
@@ -64,6 +96,30 @@ export interface MarketplaceAppShellProps {
64
96
  productHref?: string;
65
97
  /** Sidebar nav items, in order. */
66
98
  nav: MarketplaceNavItem[];
99
+ /**
100
+ * Render nav items (and the brand lockup) through the consumer's router so a
101
+ * tab / item click is a client-side route change with **no full-page reload
102
+ * or session flash**. Wire it to your router's `<Link>`:
103
+ *
104
+ * ```tsx
105
+ * import { Link } from '@tanstack/react-router';
106
+ * <MarketplaceAppShell
107
+ * nav={nav}
108
+ * renderLink={({ href, className, children, ...rest }) => (
109
+ * <Link to={href} className={className} {...rest}>{children}</Link>
110
+ * )}
111
+ * />
112
+ * ```
113
+ *
114
+ * Threaded to the standalone sidebar items, the embedded top tab strip, and
115
+ * the brand lockup. The kit forwards the same `className` + `aria-current` so
116
+ * the active styling and the `aria-current="page"` marker survive in both
117
+ * modes. Omit it to render the plain `<a href>` exactly as before — non-routed
118
+ * consumers are byte-for-byte unaffected. A per-item `onClick` (a
119
+ * click-interceptor shim) is the lighter alternative when you don't want to
120
+ * thread a router `<Link>`.
121
+ */
122
+ renderLink?: MarketplaceRenderLink;
67
123
  /** The signed-in user shown in the account menu. */
68
124
  user: MarketplaceAppUser;
69
125
  /** Consumer-localised chrome labels owned by the shell. */
@@ -80,6 +136,18 @@ export interface MarketplaceAppShellProps {
80
136
  sidebarState?: SidebarMode;
81
137
  /** Override the accessible name of the `<main>` landmark. */
82
138
  mainAriaLabel?: string;
139
+ /**
140
+ * Chrome variant. `'standalone'` (default) renders the full shell — branded
141
+ * Header, Sidebar, and account menu. `'embedded'` is for apps running INSIDE
142
+ * the AlfaDocs platform iframe (consumers detect this with
143
+ * `window !== window.top`): it drops the Header, Sidebar, account menu, and
144
+ * product lockup — the platform already brands and identifies the session
145
+ * around the iframe — and renders the `nav` items as a single slim top tab
146
+ * strip. `onSignOut`, `onToggleFullscreen`, `productName`, `productHref`, and
147
+ * `sidebarState` are ignored in `'embedded'`; the `<main>` landmark,
148
+ * `mainAriaLabel`, and the skip link are kept.
149
+ */
150
+ variant?: 'standalone' | 'embedded';
83
151
  /** Children render inside the main content region. */
84
152
  children: ReactNode;
85
153
  }
@@ -102,14 +170,29 @@ export interface ConnectWithAlfadocsProps {
102
170
  onConnect?: () => void;
103
171
  /** Optional footer content below the button (e.g. a "what's this?" link). */
104
172
  footer?: ReactNode;
173
+ /**
174
+ * Visual layout. `'card'` (default) is the centred card on the warm-grey
175
+ * canvas — unchanged. `'split'` adds, at `lg:` and up, a two-panel desktop
176
+ * layout: a brand panel on the inline-start and the connect card on the
177
+ * inline-end. Below `lg:`, `'split'` collapses to exactly the card layout —
178
+ * so it falls back gracefully inside iframes / embeds that never reach
179
+ * desktop width. Use `'split'` for full-page desktop logins.
180
+ */
181
+ layout?: 'card' | 'split';
182
+ /**
183
+ * Optional content shown under the lockup in the `'split'` brand panel (a
184
+ * tagline, value props, an illustration). Ignored in `'card'` and below `lg:`.
185
+ */
186
+ brandPanel?: ReactNode;
105
187
  className?: string;
106
188
  }
107
189
  /**
108
190
  * The pre-auth "Connect with AlfaDocs" screen. Centred white card on the
109
191
  * warm-grey canvas with the AlfaDocs wordmark + product name, copy, an error
110
- * slot, and the primary connect CTA. Presentational
111
- * `onConnect` should call `useAlfadocsAuth().connect()`, which redirects the
112
- * browser to the server-side BFF that runs the real OAuth2 + PKCE flow.
192
+ * slot, and the primary connect CTA. An opt-in `layout="split"` adds a desktop
193
+ * two-panel brand layout (lg+). Presentational `onConnect` should call
194
+ * `useAlfadocsAuth().connect()`, which redirects the browser to the server-side
195
+ * BFF that runs the real OAuth2 + PKCE flow.
113
196
  */
114
197
  export declare const ConnectWithAlfadocs: import("react").ForwardRefExoticComponent<ConnectWithAlfadocsProps & import("react").RefAttributes<HTMLDivElement>>;
115
198
  //# sourceMappingURL=marketplace-app-shell.d.ts.map
@@ -1,4 +1,4 @@
1
- import { P as a } from "../../_chunks/patient-shell-DF81lALv.js";
1
+ import { P as a } from "../../_chunks/patient-shell-CnT4L8gn.js";
2
2
  export {
3
3
  a as PatientShell
4
4
  };