@alfadocs/ui-kit 1.56.0 → 1.58.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 (257) hide show
  1. package/dist/_chunks/{address-fields-BfjxS05Z.js → address-fields-CJtu7LQU.js} +2 -2
  2. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
  3. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
  4. package/dist/_chunks/alia-sidebar-dybRpWml.js +1284 -0
  5. package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js → anamnesis-summary-rows-M-FUkw9p.js} +6 -6
  6. package/dist/_chunks/{app-frame-B-0O9CrU.js → app-frame-CqmDh2v5.js} +2 -2
  7. package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
  8. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
  9. package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js → balance-badge-cell-CGoJZlKf.js} +3 -3
  10. package/dist/_chunks/{booking-WyNGKPE2.js → booking-CiFSAMR-.js} +4 -4
  11. package/dist/_chunks/{calculator-dialog-pCPWta7h.js → calculator-dialog-CzQv03p0.js} +2 -2
  12. package/dist/_chunks/{calendar-workspace-Du2ryaI-.js → calendar-workspace-DNHzjG7O.js} +19 -19
  13. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
  14. package/dist/_chunks/{care-plan-header-DUX_SVvF.js → care-plan-header-BMwZIgHJ.js} +2 -2
  15. package/dist/_chunks/{chart-HsF1KHbx.js → chart-ZMkX-Gqy.js} +338 -341
  16. package/dist/_chunks/{city-input-BC_nYINn.js → city-input-3J3bz9EO.js} +2 -2
  17. package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
  18. package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
  19. package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
  20. package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js → contact-profile-card-CMyBYgRR.js} +2 -2
  21. package/dist/_chunks/{control-room-rail-Tx2jW250.js → control-room-rail-CJ85HkS2.js} +2 -2
  22. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
  23. package/dist/_chunks/dashboard-grid-Cs7cJAsA.js +933 -0
  24. package/dist/_chunks/{data-table-D8fuhqO1.js → data-table-Yn5xiGzs.js} +3 -3
  25. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
  26. package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
  27. package/dist/_chunks/{date-range-picker-CtUOI38x.js → date-range-picker-CFk-5O3R.js} +176 -171
  28. package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
  29. package/dist/_chunks/{dialog-CUzbnKLw.js → dialog-Dn-iQ0Jp.js} +2 -2
  30. package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
  31. package/dist/_chunks/{due-date-calculator-CSjklbyw.js → due-date-calculator-D_qFUiHp.js} +2 -2
  32. package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
  33. package/dist/_chunks/{face-scheme-BicuUA2K.js → face-scheme-DSKDdIsb.js} +2 -2
  34. package/dist/_chunks/{file-manager-Cc_uO8r2.js → file-manager-DEtkQR1F.js} +4 -4
  35. package/dist/_chunks/{forgot-password-form-DEx-M_QR.js → forgot-password-form-CEqOmNuX.js} +2 -2
  36. package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js → gestational-age-calculator-CZi43xKG.js} +2 -2
  37. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
  38. package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
  39. package/dist/_chunks/{heatmap-Gf9r7Tn1.js → heatmap-DiyOSQk9.js} +2 -2
  40. package/dist/_chunks/{help-me-write-templates-fV-Apf72.js → help-me-write-templates-CM1p6qkm.js} +3 -3
  41. package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
  42. package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-rOFTawXk.js} +3 -3
  43. package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
  44. package/dist/_chunks/{kit-extensions-Byfxy6sy.js → kit-extensions-DYVxWcqv.js} +4 -4
  45. package/dist/_chunks/{link-cell-renderer-TeJNvymP.js → link-cell-renderer-C1wOyxDF.js} +3 -3
  46. package/dist/_chunks/link-gRw3NtOt.js +137 -0
  47. package/dist/_chunks/{list-RRN2TJ_7.js → list-CNnn7DOD.js} +75 -73
  48. package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
  49. package/dist/_chunks/{login-dev-card-DmZ1B0lB.js → login-dev-card-CIim81VB.js} +2 -2
  50. package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js +613 -0
  51. package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-DmU0poD7.js} +76 -69
  52. package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
  53. package/dist/_chunks/navigation-dismiss-B1mcW1CT.js +9 -0
  54. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
  55. package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
  56. package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
  57. package/dist/_chunks/{notes-panel-DceRhthG.js → notes-panel-DHLHsxpW.js} +4 -4
  58. package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-DPU-Xg0i.js} +83 -76
  59. package/dist/_chunks/{panel-subview-BT-Apwgb.js → panel-subview-D4o6ar6_.js} +61 -47
  60. package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-BCaVuaXz.js} +2 -2
  61. package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-jcRSTrp4.js} +7 -7
  62. package/dist/_chunks/{patient-summary-card-9nQWTQf6.js → patient-summary-card-kQIfPQOE.js} +4 -4
  63. package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js → payment-automation-upsell-C4wHOxsp.js} +2 -2
  64. package/dist/_chunks/{payment-request-card-CwDpwXUC.js → payment-request-card-DAniJNLX.js} +2 -2
  65. package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
  66. package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
  67. package/dist/_chunks/popover-BG75rYjN.js +367 -0
  68. package/dist/_chunks/{practice-results-Dhbo-fc_.js → practice-results-D07wgCqV.js} +2 -2
  69. package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js → pregnancy-dating-BFzv9g1N.js} +2 -2
  70. package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DCYX0rPG.js} +103 -96
  71. package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
  72. package/dist/_chunks/{public-header.agent-pr2hyiND.js → public-header.agent-C1SlVSYt.js} +2 -2
  73. package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
  74. package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-DrSR9Sjk.js} +4 -4
  75. package/dist/_chunks/{rich-text-editor-CkFfmA3v.js → rich-text-editor-UgXri8h6.js} +490 -485
  76. package/dist/_chunks/{scroll-area-ZtFCv9K7.js → scroll-area-CY5SLYNw.js} +104 -74
  77. package/dist/_chunks/{search-bar-DQJS0wJN.js → search-bar-mA4bPe3t.js} +294 -255
  78. package/dist/_chunks/{sheet-C7SwIxwB.js → sheet-Dtjk0CVv.js} +3 -3
  79. package/dist/_chunks/sidebar-D4Wllqfz.js +2029 -0
  80. package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
  81. package/dist/_chunks/{signature-request-DhbpB9N9.js → signature-request-dAVgE0_5.js} +3 -3
  82. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-DOJpobp8.js} +3 -3
  83. package/dist/_chunks/{state-backed-text-input-DECQy5aA.js → state-backed-text-input-Cgh4ms3p.js} +2 -2
  84. package/dist/_chunks/{task-editor-ByyRu29Y.js → task-editor-BflEZmcF.js} +7 -6
  85. package/dist/_chunks/{tool-rail-Bwyuw_Ot.js → tool-rail-CTq1KwxW.js} +115 -114
  86. package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js → use-appointment-details-read-izwoXh-G.js} +8 -8
  87. package/dist/_chunks/use-state-backed-input-DhRQo6gM.js +57 -0
  88. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-an-bpQfF.js} +3 -3
  89. package/dist/_chunks/{widget-picker-DXYBMTfe.js → widget-picker-DlJOgYrZ.js} +80 -57
  90. package/dist/agent-catalog.json +3 -3
  91. package/dist/agent-i18n/en.json +1 -1
  92. package/dist/components/_shared/navigation-dismiss.d.ts +8 -0
  93. package/dist/components/_shared/non-modal-tab-exit.d.ts +15 -4
  94. package/dist/components/_shared/use-state-backed-input.d.ts +3 -2
  95. package/dist/components/address-fields/index.js +1 -1
  96. package/dist/components/ai-credits-notice/index.js +1 -1
  97. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
  98. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  99. package/dist/components/ai-permission-notice/index.js +1 -1
  100. package/dist/components/app-frame/index.js +1 -1
  101. package/dist/components/appointment-details-panel/index.js +1 -1
  102. package/dist/components/appointment-peek/index.js +1 -1
  103. package/dist/components/appointment-timeline/index.js +1 -1
  104. package/dist/components/booking/index.js +1 -1
  105. package/dist/components/calculator-dialog/index.js +1 -1
  106. package/dist/components/care-plan-card/index.js +1 -1
  107. package/dist/components/care-plan-header/index.js +1 -1
  108. package/dist/components/chart/chart.d.ts +5 -5
  109. package/dist/components/chart/index.js +1 -1
  110. package/dist/components/city-input/index.js +1 -1
  111. package/dist/components/clinical-note-card/index.js +1 -1
  112. package/dist/components/color-picker/index.js +1 -1
  113. package/dist/components/contact-card/index.js +1 -1
  114. package/dist/components/contact-profile-card/index.js +1 -1
  115. package/dist/components/control-room-rail/index.js +1 -1
  116. package/dist/components/cycle-calculator/index.js +1 -1
  117. package/dist/components/dashboard-grid/dashboard-grid.d.ts +33 -8
  118. package/dist/components/dashboard-grid/index.js +1 -1
  119. package/dist/components/data-table/index.js +2 -2
  120. package/dist/components/data-table-tabs/index.js +1 -1
  121. package/dist/components/date-picker/index.js +1 -1
  122. package/dist/components/date-range-picker/index.js +1 -1
  123. package/dist/components/date-time-picker/index.js +1 -1
  124. package/dist/components/dialog/index.js +1 -1
  125. package/dist/components/document-preview/index.js +1 -1
  126. package/dist/components/due-date-calculator/index.js +1 -1
  127. package/dist/components/entity-summary/index.js +1 -1
  128. package/dist/components/face-scheme/index.js +1 -1
  129. package/dist/components/file-manager/index.js +1 -1
  130. package/dist/components/gestational-age-calculator/index.js +1 -1
  131. package/dist/components/hcg-doubling/index.js +1 -1
  132. package/dist/components/header-settings/index.js +1 -1
  133. package/dist/components/heatmap/index.js +1 -1
  134. package/dist/components/hover-card/index.js +1 -1
  135. package/dist/components/icon-picker/index.js +1 -1
  136. package/dist/components/info-tip/index.js +1 -1
  137. package/dist/components/link/index.js +1 -1
  138. package/dist/components/link/link.d.ts +5 -3
  139. package/dist/components/list/index.js +1 -1
  140. package/dist/components/locale-picker/index.js +1 -1
  141. package/dist/components/message-tray/index.js +1 -1
  142. package/dist/components/nav-grid/index.js +1 -1
  143. package/dist/components/note-timeline/index.js +1 -1
  144. package/dist/components/notes-panel/index.js +1 -1
  145. package/dist/components/notification-tray/index.js +1 -1
  146. package/dist/components/panel-subview/index.js +1 -1
  147. package/dist/components/patient-details/index.js +1 -1
  148. package/dist/components/patient-summary-card/index.js +1 -1
  149. package/dist/components/patient-table/index.js +1 -1
  150. package/dist/components/payment-card/index.js +1 -1
  151. package/dist/components/pdf-viewer/index.js +1 -1
  152. package/dist/components/phone-input/index.js +1 -1
  153. package/dist/components/popover/index.js +1 -1
  154. package/dist/components/popover/popover.d.ts +1 -1
  155. package/dist/components/practice-results/index.js +1 -1
  156. package/dist/components/pregnancy-dating/index.js +1 -1
  157. package/dist/components/product-hub-tray/index.js +1 -1
  158. package/dist/components/public-footer/index.js +1 -1
  159. package/dist/components/public-header/index.js +1 -1
  160. package/dist/components/radiograph-panel/index.js +1 -1
  161. package/dist/components/rich-text-editor/index.js +2 -2
  162. package/dist/components/scroll-area/index.js +1 -1
  163. package/dist/components/scroll-area/scroll-area.d.ts +6 -5
  164. package/dist/components/search-bar/index.js +1 -1
  165. package/dist/components/search-bar/search-bar.d.ts +1 -1
  166. package/dist/components/sheet/index.js +1 -1
  167. package/dist/components/sidebar/index.d.ts +1 -1
  168. package/dist/components/sidebar/index.js +1 -1
  169. package/dist/components/sidebar/sidebar-move.d.ts +88 -0
  170. package/dist/components/sidebar/sidebar.d.ts +26 -1
  171. package/dist/components/sign-document/index.js +1 -1
  172. package/dist/components/task-editor/index.js +1 -1
  173. package/dist/components/tool-rail/index.js +1 -1
  174. package/dist/components/voice-control-panel/index.js +1 -1
  175. package/dist/components/widget-picker/index.js +1 -1
  176. package/dist/host-compat.css +2 -1
  177. package/dist/i18n/locales/ar.d.ts +24 -0
  178. package/dist/i18n/locales/ar.js +26 -2
  179. package/dist/i18n/locales/de.d.ts +24 -0
  180. package/dist/i18n/locales/de.js +26 -2
  181. package/dist/i18n/locales/el.d.ts +24 -0
  182. package/dist/i18n/locales/el.js +26 -2
  183. package/dist/i18n/locales/en.d.ts +24 -0
  184. package/dist/i18n/locales/en.js +26 -2
  185. package/dist/i18n/locales/es.d.ts +24 -0
  186. package/dist/i18n/locales/es.js +26 -2
  187. package/dist/i18n/locales/fr.d.ts +24 -0
  188. package/dist/i18n/locales/fr.js +26 -2
  189. package/dist/i18n/locales/hi.d.ts +24 -0
  190. package/dist/i18n/locales/hi.js +26 -2
  191. package/dist/i18n/locales/it.d.ts +24 -0
  192. package/dist/i18n/locales/it.js +26 -2
  193. package/dist/i18n/locales/ja.d.ts +24 -0
  194. package/dist/i18n/locales/ja.js +26 -2
  195. package/dist/i18n/locales/nl.d.ts +24 -0
  196. package/dist/i18n/locales/nl.js +26 -2
  197. package/dist/i18n/locales/pl.d.ts +24 -0
  198. package/dist/i18n/locales/pl.js +26 -2
  199. package/dist/i18n/locales/pt.d.ts +24 -0
  200. package/dist/i18n/locales/pt.js +26 -2
  201. package/dist/i18n/locales/ro.d.ts +24 -0
  202. package/dist/i18n/locales/ro.js +26 -2
  203. package/dist/i18n/locales/ru.d.ts +24 -0
  204. package/dist/i18n/locales/ru.js +26 -2
  205. package/dist/i18n/locales/sq.d.ts +24 -0
  206. package/dist/i18n/locales/sq.js +26 -2
  207. package/dist/i18n/locales/sv.d.ts +24 -0
  208. package/dist/i18n/locales/sv.js +26 -2
  209. package/dist/i18n/locales/tr.d.ts +24 -0
  210. package/dist/i18n/locales/tr.js +26 -2
  211. package/dist/i18n/locales/zh.d.ts +24 -0
  212. package/dist/i18n/locales/zh.js +26 -2
  213. package/dist/index.js +204 -203
  214. package/dist/locales/ar.json +26 -2
  215. package/dist/locales/de.json +26 -2
  216. package/dist/locales/el.json +26 -2
  217. package/dist/locales/en.json +26 -2
  218. package/dist/locales/es.json +26 -2
  219. package/dist/locales/fr.json +26 -2
  220. package/dist/locales/hi.json +26 -2
  221. package/dist/locales/it.json +26 -2
  222. package/dist/locales/ja.json +26 -2
  223. package/dist/locales/nl.json +26 -2
  224. package/dist/locales/pl.json +26 -2
  225. package/dist/locales/pt.json +26 -2
  226. package/dist/locales/ro.json +26 -2
  227. package/dist/locales/ru.json +26 -2
  228. package/dist/locales/sq.json +26 -2
  229. package/dist/locales/sv.json +26 -2
  230. package/dist/locales/tr.json +26 -2
  231. package/dist/locales/zh.json +26 -2
  232. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
  233. package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
  234. package/dist/patterns/alia-assistant/index.d.ts +2 -0
  235. package/dist/patterns/alia-assistant/index.js +6 -5
  236. package/dist/patterns/anamnesis/index.js +1 -1
  237. package/dist/patterns/calendar/index.js +1 -1
  238. package/dist/patterns/forgot-password-form/index.js +1 -1
  239. package/dist/patterns/help-me-write-templates/index.js +1 -1
  240. package/dist/patterns/login-form/index.js +1 -1
  241. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  242. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +40 -10
  243. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  244. package/dist/patterns/registration-form/index.js +1 -1
  245. package/dist/patterns/signature-request/index.js +1 -1
  246. package/dist/patterns/signed-out-frame/index.js +1 -1
  247. package/dist/tokens.css +1 -1
  248. package/package.json +1 -1
  249. package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
  250. package/dist/_chunks/alia-sidebar-DOei4Iyu.js +0 -1183
  251. package/dist/_chunks/dashboard-grid-DfEY2qci.js +0 -844
  252. package/dist/_chunks/link-2HokYuIi.js +0 -130
  253. package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js +0 -541
  254. package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js +0 -65
  255. package/dist/_chunks/popover-BI3oV3eY.js +0 -305
  256. package/dist/_chunks/sidebar-DLsG2AIk.js +0 -1349
  257. package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +0 -59
@@ -1,130 +0,0 @@
1
- import { jsxs as k, jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as L } from "react";
3
- import { c as j } from "./index-D2ZczOXr.js";
4
- import { useTranslation as T } from "react-i18next";
5
- import { E as z } from "./external-link-CY6zAXXU.js";
6
- const E = j(
7
- [
8
- "ds:underline-offset-4",
9
- "ds:rounded-[var(--radius-xs)]",
10
- "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
11
- "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
12
- "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
13
- "ds:forced-colors:focus-visible:outline-[CanvasText]",
14
- "ds:aria-disabled:cursor-not-allowed ds:aria-disabled:opacity-50 ds:aria-disabled:no-underline"
15
- ].join(" "),
16
- {
17
- variants: {
18
- intent: {
19
- // `--primary` is 4.23:1 as text on the dark page, so the link
20
- // re-points it (and its hover step) at `--primary-readable`, which
21
- // differs only in the dark theme. The colour classes stay as they
22
- // were: a host still on an older token sheet keeps today's look,
23
- // and a consumer `className` wins or loses exactly as before.
24
- default: "ds:[--primary:var(--primary-readable)] ds:[--primary-hover:var(--primary-readable-hover)] ds:text-primary ds:underline ds:hover:text-primary-hover ds:active:opacity-80",
25
- subtle: "ds:text-muted-foreground ds:no-underline ds:hover:text-foreground ds:hover:underline ds:active:opacity-80",
26
- inverted: "ds:text-primary-foreground ds:underline ds:hover:opacity-90 ds:active:opacity-80"
27
- },
28
- weight: {
29
- normal: "ds:font-normal",
30
- strong: "ds:font-semibold"
31
- },
32
- // When the link carries an icon, the anchor itself becomes a flex
33
- // container so glyphs centre on the text optical centre — the
34
- // previous `vertical-align: -0.125em` heuristic over-corrected when
35
- // the link was the only thing on its line (e.g. each <li> of a
36
- // vertical sidebar nav). Text-only links remain plain `inline` so
37
- // they wrap naturally inside a paragraph.
38
- hasIcon: {
39
- no: "ds:inline",
40
- yes: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"
41
- }
42
- },
43
- defaultVariants: {
44
- intent: "default",
45
- weight: "normal",
46
- hasIcon: "no"
47
- }
48
- }
49
- ), I = L(
50
- ({
51
- href: f,
52
- external: s = !1,
53
- externalIcon: u = !0,
54
- disabled: n = !1,
55
- startIcon: i,
56
- endIcon: a,
57
- intent: o,
58
- weight: m,
59
- className: v,
60
- children: p,
61
- target: h,
62
- rel: t,
63
- onClick: r,
64
- ...g
65
- }, y) => {
66
- const { t: b } = T("ui"), x = s ? "_blank" : h, w = s ? [t, "noopener", "noreferrer"].filter(Boolean).join(" ") : t, d = b("link.opensInNewTab", "Opens in a new tab"), N = (c) => {
67
- if (n) {
68
- c.preventDefault();
69
- return;
70
- }
71
- r == null || r(c);
72
- }, l = s && u;
73
- return /* @__PURE__ */ k(
74
- "a",
75
- {
76
- ref: y,
77
- href: n ? void 0 : f,
78
- role: n ? "link" : void 0,
79
- "aria-disabled": n || void 0,
80
- target: x,
81
- rel: w || void 0,
82
- onClick: N,
83
- "data-component": "link",
84
- "data-intent": o ?? "default",
85
- className: E({
86
- intent: o,
87
- weight: m,
88
- hasIcon: !!(i || a || l) ? "yes" : "no",
89
- className: v
90
- }),
91
- ...g,
92
- children: [
93
- i ? /* @__PURE__ */ e(
94
- "span",
95
- {
96
- "aria-hidden": "true",
97
- className: "ds:inline-flex ds:items-center ds:[&_svg]:size-[1em]",
98
- children: i
99
- }
100
- ) : null,
101
- p,
102
- l ? /* @__PURE__ */ e(
103
- "span",
104
- {
105
- className: "ds:inline-flex ds:items-center",
106
- "aria-label": d,
107
- children: /* @__PURE__ */ e(z, { "aria-hidden": "true", className: "ds:size-[1em]" })
108
- }
109
- ) : s ? (
110
- // External wiring without the glyph — keep the SR-only
111
- // "opens in new tab" announcement so the affordance reads.
112
- /* @__PURE__ */ e("span", { className: "ds:sr-only", children: d })
113
- ) : a ? /* @__PURE__ */ e(
114
- "span",
115
- {
116
- "aria-hidden": "true",
117
- className: "ds:inline-flex ds:items-center ds:[&_svg]:size-[1em]",
118
- children: a
119
- }
120
- ) : null
121
- ]
122
- }
123
- );
124
- }
125
- );
126
- I.displayName = "Link";
127
- export {
128
- I as L
129
- };
130
- //# sourceMappingURL=link-2HokYuIi.js.map
@@ -1,541 +0,0 @@
1
- import { jsxs as r, jsx as a, Fragment as L } from "react/jsx-runtime";
2
- import { forwardRef as k, useState as E } from "react";
3
- import { useTranslation as N, Trans as D } from "react-i18next";
4
- import { c as u } from "./index-D2ZczOXr.js";
5
- import { A as F } from "./app-frame-B-0O9CrU.js";
6
- import { A as w } from "./avatar-WZY3eGE7.js";
7
- import { A as K } from "./alert-BhCstf2h.js";
8
- import { C as A } from "./card-DMO2nkt4.js";
9
- import { D as p } from "./dropdown-menu-BQSNVp4x.js";
10
- import { T as q } from "./tab-bar-Bm-rJB7Y.js";
11
- import { a as z, H as G, g as J, f as T, e as Q, c as U, d as X } from "./header-B9552pLh.js";
12
- import { H as Y } from "./header-settings-ge_3gYEq.js";
13
- import { S as Z } from "./sign-in-with-alfadocs-button-D91_x8DX.js";
14
- import { S as _, g as aa, b as ea, a as sa, j as ta, k as ra, i as na, h as I } from "./sidebar-DLsG2AIk.js";
15
- import { T as da } from "./theme-root-BOO73p5t.js";
16
- import { a as ia } from "./tooltip-Cp-PLePW.js";
17
- import { u as la } from "./use-theme-CAuo6EYT.js";
18
- import { A as oa, L as ca } from "./logo-hIsyVE96.js";
19
- import { A as ma } from "./Alfadocs_Logo_Mark-Z_b6ZI1g.js";
20
- import { M as pa } from "./maximize-2-BYd2Kti7.js";
21
- import { L as ua } from "./log-out-oDS6zO5d.js";
22
- const fa = u("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), ha = u(
23
- [
24
- "ds:[font-family:var(--font-serif)]",
25
- "ds:font-semibold",
26
- "ds:leading-none",
27
- "ds:tracking-[0.01em]",
28
- "ds:whitespace-nowrap",
29
- // Forced-colors: drop the transparent text-fill and paint the label
30
- // as solid CanvasText so it never disappears under Windows HCM —
31
- // a gradient/transparent fill has no meaning there.
32
- "ds:forced-colors:text-[CanvasText]",
33
- "ds:forced-colors:[-webkit-text-fill-color:CanvasText]"
34
- ],
35
- {
36
- variants: {
37
- size: {
38
- sm: "ds:text-[calc(var(--logo-size-sm)*0.95)]",
39
- md: "ds:text-[calc(var(--logo-size-md)*0.95)]",
40
- lg: "ds:text-[calc(var(--logo-size-lg)*0.95)]",
41
- xl: "ds:text-[calc(var(--logo-size-xl)*0.95)]"
42
- },
43
- tone: {
44
- // Brand gradient filled into the glyphs via background-clip:text.
45
- // `--gradient-wordmark` rides the theme aliases, so it stays
46
- // AA-safe and adapts per theme on its own (and flattens to a solid
47
- // ink in the accessible / forced-colors blocks — see tokens).
48
- gradient: [
49
- "ds:italic",
50
- "ds:bg-[image:var(--gradient-wordmark)]",
51
- "ds:bg-clip-text",
52
- "ds:text-transparent",
53
- "ds:[-webkit-text-fill-color:transparent]"
54
- ],
55
- // Monochrome: solid currentColor ink, upright, no gradient — for
56
- // print, single-colour work, and coloured chrome (e.g. app-shell
57
- // headers) where the lockup must ride the surrounding ink.
58
- solid: "ds:text-current"
59
- }
60
- },
61
- defaultVariants: { size: "md", tone: "gradient" }
62
- }
63
- ), ga = u("ds:whitespace-nowrap", {
64
- variants: {
65
- size: {
66
- sm: "ds:[--lockup-unit:var(--logo-size-sm)]",
67
- md: "ds:[--lockup-unit:var(--logo-size-md)]",
68
- lg: "ds:[--lockup-unit:var(--logo-size-lg)]",
69
- xl: "ds:[--lockup-unit:var(--logo-size-xl)]"
70
- }
71
- },
72
- defaultVariants: { size: "md" }
73
- }), g = k(
74
- ({
75
- name: s,
76
- variant: n = "standard",
77
- monochrome: e = !1,
78
- tone: t = "auto",
79
- size: d = "md",
80
- className: l,
81
- ...m
82
- }, o) => {
83
- const { t: i } = N("ui");
84
- if (n === "maker") {
85
- const c = t === "inherit", f = c ? "" : e ? "ds:text-[color:var(--foreground)]" : "ds:text-[color:var(--primary)]", h = c ? "" : e ? "ds:text-[color:var(--foreground)]" : "ds:text-[color:var(--primary)]", v = c ? "" : "ds:text-[color:var(--muted-foreground)]", x = c ? "" : "ds:text-[color:var(--foreground)]";
86
- return /* @__PURE__ */ r(
87
- "span",
88
- {
89
- ref: o,
90
- role: "img",
91
- "aria-label": i("productLockup.makerLabel", { name: s.trim() }),
92
- className: ga({ size: d, className: l }),
93
- "data-component": "product-lockup",
94
- ...m,
95
- children: [
96
- /* @__PURE__ */ a(
97
- ma,
98
- {
99
- "aria-hidden": !0,
100
- className: `ds:inline-block ds:align-middle ds:me-[var(--spacing-sm)] ds:h-[calc(var(--lockup-unit)*0.88)] ds:w-auto ds:forced-colors:text-[CanvasText] ${f}`
101
- }
102
- ),
103
- /* @__PURE__ */ a(
104
- "span",
105
- {
106
- "aria-hidden": !0,
107
- className: `ds:align-middle ds:[font-family:var(--font-serif)] ds:font-semibold ds:italic ds:leading-none ds:tracking-[0.01em] ${h} ds:text-[calc(var(--lockup-unit)*0.95)]`,
108
- children: s
109
- }
110
- ),
111
- /* @__PURE__ */ a(
112
- "span",
113
- {
114
- "aria-hidden": !0,
115
- className: `ds:align-text-top ds:ms-[var(--spacing-sm)] ds:inline-flex ds:items-baseline ds:gap-[var(--spacing-2xs)] ${v}`,
116
- children: /* @__PURE__ */ a(
117
- D,
118
- {
119
- ns: "ui",
120
- t: i,
121
- i18nKey: "productLockup.attribution",
122
- components: {
123
- text: /* @__PURE__ */ a("span", { className: "ds:text-[calc(var(--lockup-unit)*0.4)] ds:leading-none" }),
124
- brand: /* @__PURE__ */ a(
125
- oa,
126
- {
127
- "aria-hidden": !0,
128
- viewBox: "168 0 637 125",
129
- className: `ds:h-[calc(var(--lockup-unit)*0.45)] ds:w-auto ds:forced-colors:text-[CanvasText] ${x}`
130
- }
131
- )
132
- }
133
- }
134
- )
135
- }
136
- )
137
- ]
138
- }
139
- );
140
- }
141
- return /* @__PURE__ */ r(
142
- "span",
143
- {
144
- ref: o,
145
- role: "img",
146
- "aria-label": `Alfadocs ${s}`.trim(),
147
- className: fa({ className: l }),
148
- "data-component": "product-lockup",
149
- ...m,
150
- children: [
151
- /* @__PURE__ */ a(
152
- ca,
153
- {
154
- variant: e ? "monochrome" : "wordmark",
155
- tone: t,
156
- size: d,
157
- decorative: !0
158
- }
159
- ),
160
- /* @__PURE__ */ a(
161
- "span",
162
- {
163
- "aria-hidden": !0,
164
- className: ha({
165
- size: d,
166
- tone: e ? "solid" : "gradient"
167
- }),
168
- children: s
169
- }
170
- )
171
- ]
172
- }
173
- );
174
- }
175
- );
176
- g.displayName = "ProductLockup";
177
- function va(s) {
178
- return s > 99 ? "99+" : String(s);
179
- }
180
- function xa({
181
- user: s,
182
- labels: n,
183
- onSignOut: e,
184
- onToggleFullscreen: t
185
- }) {
186
- const { t: d } = N("ui"), l = n.fullscreen ?? d("marketplaceAppShell.settings.fullscreen");
187
- return (
188
- // Non-modal: an account menu shouldn't inert/aria-hide the whole shell
189
- // behind it (which leaves the still-focusable chrome inside an
190
- // aria-hidden region — an `aria-hidden-focus` violation).
191
- /* @__PURE__ */ r(p.Root, { modal: !1, children: [
192
- /* @__PURE__ */ a(p.Trigger, { asChild: !0, children: /* @__PURE__ */ a(
193
- "button",
194
- {
195
- type: "button",
196
- "aria-label": n.accountMenu,
197
- "data-testid": "marketplace-account-trigger",
198
- className: "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0 ds:size-10 ds:rounded-[var(--radius-full)] ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]",
199
- children: /* @__PURE__ */ a("span", { "aria-hidden": "true", children: /* @__PURE__ */ a(w, { name: s.name, src: s.avatarSrc, size: "md" }) })
200
- }
201
- ) }),
202
- /* @__PURE__ */ r(p.Content, { align: "end", collisionPadding: 16, children: [
203
- /* @__PURE__ */ a(p.Label, { children: /* @__PURE__ */ r("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
204
- /* @__PURE__ */ a("span", { "aria-hidden": "true", children: /* @__PURE__ */ a(w, { name: s.name, src: s.avatarSrc, size: "sm" }) }),
205
- /* @__PURE__ */ r("span", { className: "ds:flex ds:flex-col ds:min-w-0", children: [
206
- /* @__PURE__ */ a("span", { className: "type-label ds:text-[color:var(--foreground)] ds:truncate", children: s.name }),
207
- s.email ? /* @__PURE__ */ a("span", { className: "type-meta ds:truncate", children: s.email }) : null
208
- ] })
209
- ] }) }),
210
- t ? /* @__PURE__ */ r(L, { children: [
211
- /* @__PURE__ */ a(p.Separator, {}),
212
- /* @__PURE__ */ a(
213
- p.Item,
214
- {
215
- startIcon: /* @__PURE__ */ a(pa, { "aria-hidden": !0 }),
216
- onSelect: t,
217
- "data-testid": "marketplace-fullscreen",
218
- children: l
219
- }
220
- )
221
- ] }) : null,
222
- /* @__PURE__ */ a(p.Separator, {}),
223
- /* @__PURE__ */ a(
224
- p.Item,
225
- {
226
- startIcon: /* @__PURE__ */ a(ua, { "aria-hidden": !0 }),
227
- onSelect: e,
228
- "data-testid": "marketplace-sign-out",
229
- children: n.signOut
230
- }
231
- )
232
- ] })
233
- ] })
234
- );
235
- }
236
- function ba({
237
- nav: s,
238
- renderLink: n
239
- }) {
240
- return /* @__PURE__ */ a(sa, { children: s.map((e) => {
241
- const t = typeof e.badgeCount == "number" && e.badgeCount > 0 ? e.badgeCount : void 0, d = /* @__PURE__ */ r(L, { children: [
242
- e.icon ? /* @__PURE__ */ a(ta, { children: e.icon }) : null,
243
- /* @__PURE__ */ a(ra, { children: e.label }),
244
- t !== void 0 ? /* @__PURE__ */ a(na, { children: va(t) }) : null
245
- ] });
246
- return n ? /* @__PURE__ */ a(I, { asChild: !0, isActive: e.isActive, children: n({
247
- href: e.href,
248
- children: d,
249
- "aria-current": e.isActive ? "page" : void 0
250
- }) }, e.id) : /* @__PURE__ */ a(
251
- I,
252
- {
253
- href: e.href,
254
- "aria-label": e.label,
255
- isActive: e.isActive,
256
- ...e.onClick ? { onClick: e.onClick } : {},
257
- children: d
258
- },
259
- e.id
260
- );
261
- }) });
262
- }
263
- const M = u("ds:bg-[color:var(--app-shell-background)]", {
264
- variants: {
265
- variant: {
266
- standalone: "",
267
- embedded: [
268
- "ds:flex-1",
269
- "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
270
- "ds:pt-[var(--spacing-lg)] ds:pb-[var(--spacing-md)]"
271
- ].join(" ")
272
- }
273
- },
274
- defaultVariants: { variant: "standalone" }
275
- });
276
- function ka({
277
- nav: s,
278
- ariaLabel: n,
279
- renderLink: e
280
- }) {
281
- const t = e ? ({
282
- href: d,
283
- className: l,
284
- children: m,
285
- "aria-current": o,
286
- "data-tab-id": i
287
- }) => e({
288
- href: d,
289
- className: l,
290
- children: m,
291
- "aria-current": o,
292
- // Forward the agent DOM hook — without it a consumer-router tab is
293
- // invisible to `[data-tab-id]` lookups (PRS §26 §6).
294
- "data-tab-id": i
295
- }) : void 0;
296
- return /* @__PURE__ */ a(
297
- q,
298
- {
299
- items: s,
300
- ariaLabel: n,
301
- ...t ? { renderLink: t } : {}
302
- }
303
- );
304
- }
305
- const Na = k(
306
- ({
307
- productName: s,
308
- productHref: n = "/",
309
- nav: e,
310
- renderLink: t,
311
- user: d,
312
- labels: l,
313
- onSignOut: m,
314
- onToggleFullscreen: o,
315
- sidebarState: i,
316
- collapsibleSidebar: c = !1,
317
- mainAriaLabel: f,
318
- variant: h = "standalone",
319
- children: v
320
- }, x) => {
321
- const { t: b } = N("ui"), B = t ? /* @__PURE__ */ a(z, { asChild: !0, children: t({
322
- href: n,
323
- children: /* @__PURE__ */ a(
324
- g,
325
- {
326
- name: s,
327
- size: "md",
328
- monochrome: !0,
329
- variant: "maker"
330
- }
331
- )
332
- }) }) : /* @__PURE__ */ a(
333
- z,
334
- {
335
- href: n,
336
- logo: /* @__PURE__ */ a(
337
- g,
338
- {
339
- name: s,
340
- size: "md",
341
- monochrome: !0,
342
- variant: "maker"
343
- }
344
- )
345
- }
346
- ), { theme: H, accessibility: V, resolvedTheme: y } = la(), j = H !== "system" || V !== "system", O = y.startsWith("dark") ? "dark" : "light", $ = y.endsWith("-accessible"), [R, C] = E(!1), W = /* @__PURE__ */ a(ia, { children: /* @__PURE__ */ a(
347
- F,
348
- {
349
- mainAriaLabel: f,
350
- mainClassName: M({ variant: "standalone" }),
351
- header: /* @__PURE__ */ r(G, { children: [
352
- /* @__PURE__ */ r(J, { children: [
353
- /* @__PURE__ */ a(T, { href: "#main-content" }),
354
- /* @__PURE__ */ a(Q, { onMenuOpen: () => C(!0) }),
355
- B
356
- ] }),
357
- /* @__PURE__ */ a(U, {}),
358
- /* @__PURE__ */ r(X, { children: [
359
- /* @__PURE__ */ a(Y, { size: "sm" }),
360
- /* @__PURE__ */ a(
361
- xa,
362
- {
363
- user: d,
364
- labels: l,
365
- onSignOut: m,
366
- onToggleFullscreen: o
367
- }
368
- )
369
- ] })
370
- ] }),
371
- sidebar: /* @__PURE__ */ r(
372
- _,
373
- {
374
- ...i !== void 0 ? { state: i } : { defaultState: "expanded" },
375
- open: R,
376
- onOpenChange: C,
377
- "aria-label": b("navigation.sidebar.label"),
378
- "data-testid": "marketplace-app-shell-sidebar",
379
- children: [
380
- c && i === void 0 ? (
381
- // No justify override: SidebarHeader centres its child in the
382
- // icon rail (`justify-center`) and left-aligns it when expanded,
383
- // matching the nav icons below. `justify-end` here would win over
384
- // the icon-mode centring and offset the toggle in the rail.
385
- /* @__PURE__ */ a(aa, { children: /* @__PURE__ */ a(ea, {}) })
386
- ) : null,
387
- /* @__PURE__ */ a(ba, { nav: e, renderLink: t })
388
- ]
389
- }
390
- ),
391
- children: v
392
- }
393
- ) }), P = (
394
- // The shell owns the warm-grey canvas; TabBar's strip is transparent and
395
- // floats its pill on it, and `<main>` continues the same surface.
396
- /* @__PURE__ */ r("div", { className: "ds:flex ds:min-h-dvh ds:flex-col ds:bg-[color:var(--app-shell-background)]", children: [
397
- /* @__PURE__ */ a(T, { href: "#main-content" }),
398
- /* @__PURE__ */ a(
399
- ka,
400
- {
401
- nav: e,
402
- ariaLabel: b("navigation.sidebar.label"),
403
- renderLink: t
404
- }
405
- ),
406
- /* @__PURE__ */ a(
407
- "main",
408
- {
409
- id: "main-content",
410
- tabIndex: -1,
411
- "aria-label": f ?? b("navigation.main.label", "Main content"),
412
- className: M({ variant: "embedded" }),
413
- children: v
414
- }
415
- )
416
- ] })
417
- ), S = h === "embedded" ? P : W;
418
- return j ? /* @__PURE__ */ a(
419
- da,
420
- {
421
- ref: x,
422
- theme: O,
423
- accessible: $,
424
- className: "ds:contents",
425
- "data-component": "marketplace-app-shell",
426
- children: S
427
- }
428
- ) : /* @__PURE__ */ a(
429
- "div",
430
- {
431
- ref: x,
432
- className: "ds:contents",
433
- "data-component": "marketplace-app-shell",
434
- children: S
435
- }
436
- );
437
- }
438
- );
439
- Na.displayName = "MarketplaceAppShell";
440
- const ya = u(
441
- "ds:flex ds:min-h-dvh ds:bg-[color:var(--app-shell-background)]",
442
- {
443
- variants: {
444
- layout: {
445
- card: "",
446
- split: "ds:flex-col ds:lg:flex-row"
447
- }
448
- },
449
- defaultVariants: { layout: "card" }
450
- }
451
- ), Ca = u("ds:w-full", {
452
- variants: {
453
- layout: {
454
- card: "ds:max-w-[400px]",
455
- split: "ds:max-w-[400px] ds:lg:max-w-[480px]"
456
- }
457
- },
458
- defaultVariants: { layout: "card" }
459
- }), Sa = u("", {
460
- variants: {
461
- layout: { card: "", split: "ds:lg:hidden" }
462
- },
463
- defaultVariants: { layout: "card" }
464
- }), wa = k(
465
- ({
466
- productName: s,
467
- title: n,
468
- description: e,
469
- connectLabel: t,
470
- status: d = "idle",
471
- error: l,
472
- onConnect: m,
473
- footer: o,
474
- layout: i = "card",
475
- brandPanel: c,
476
- className: f
477
- }, h) => /* @__PURE__ */ r(
478
- "div",
479
- {
480
- ref: h,
481
- "data-component": "connect-with-alfadocs",
482
- className: `${ya({ layout: i })} ${f ?? ""}`,
483
- children: [
484
- i === "split" ? (
485
- // Desktop brand panel (lg+ only): a bold `--primary` surface with the
486
- // monochrome lockup riding the `--primary-foreground` ink, plus an
487
- // optional `brandPanel` slot. Decorative — the card carries the real
488
- // heading + CTA, and shows its own lockup below `lg:`.
489
- /* @__PURE__ */ r("div", { className: "ds:hidden ds:lg:flex ds:lg:w-[55%] ds:flex-col ds:items-center ds:justify-center ds:gap-[var(--spacing-lg)] ds:bg-[color:var(--primary)] ds:text-[color:var(--primary-foreground)] ds:ps-[var(--spacing-2xl)] ds:pe-[var(--spacing-2xl)] ds:pt-[var(--spacing-2xl)] ds:pb-[var(--spacing-2xl)] ds:text-start", children: [
490
- /* @__PURE__ */ a(
491
- g,
492
- {
493
- name: s,
494
- size: "lg",
495
- monochrome: !0,
496
- tone: "inherit",
497
- variant: "maker"
498
- }
499
- ),
500
- c ? /* @__PURE__ */ a("div", { className: "type-body ds:max-w-[28rem] ds:text-start", children: c }) : null
501
- ] })
502
- ) : null,
503
- /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-1 ds:items-center ds:justify-center ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ a(A, { className: Ca({ layout: i }), children: /* @__PURE__ */ r(A.Body, { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center", children: [
504
- /* @__PURE__ */ a(
505
- g,
506
- {
507
- name: s,
508
- size: "lg",
509
- variant: "maker",
510
- className: Sa({ layout: i })
511
- }
512
- ),
513
- /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
514
- /* @__PURE__ */ a("h1", { className: "type-title-card", children: n }),
515
- /* @__PURE__ */ a("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: e })
516
- ] }),
517
- d === "error" && l ? /* @__PURE__ */ a(K, { variant: "error", className: "ds:w-full ds:text-start", children: l }) : null,
518
- /* @__PURE__ */ a(
519
- Z,
520
- {
521
- intent: "primary",
522
- className: "ds:w-full",
523
- loading: d === "connecting",
524
- onClick: m,
525
- label: t,
526
- "data-testid": "connect-with-alfadocs-button"
527
- }
528
- ),
529
- o ? /* @__PURE__ */ a("div", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: o }) : null
530
- ] }) }) })
531
- ]
532
- }
533
- )
534
- );
535
- wa.displayName = "ConnectWithAlfadocs";
536
- export {
537
- wa as C,
538
- Na as M,
539
- g as P
540
- };
541
- //# sourceMappingURL=marketplace-app-shell-Dcx-JEjg.js.map