@alfadocs/ui-kit 0.44.0 → 0.45.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 (120) hide show
  1. package/dist/_chunks/{alia-sidebar-BpX4z_af.js → alia-sidebar-Be8FhKYd.js} +332 -237
  2. package/dist/_chunks/{autocomplete-DIgdhCGJ.js → autocomplete-CDqxB68B.js} +2 -2
  3. package/dist/_chunks/bmi-calculator-CQqXTVNL.js +258 -0
  4. package/dist/_chunks/{booking-CtLwaxkK.js → booking-DlDVuWMd.js} +2 -2
  5. package/dist/_chunks/{cycle-calculator-ChHBcjet.js → cycle-calculator-KxA8dqDf.js} +31 -20
  6. package/dist/_chunks/{due-date-calculator-CYXKLoof.js → due-date-calculator-mFxpHLml.js} +51 -39
  7. package/dist/_chunks/{editable-currency-cell-renderer-9jqwDv5x.js → editable-currency-cell-renderer-BEBUQl9P.js} +2 -2
  8. package/dist/_chunks/{freemium-paywall-BLXESpH4.js → freemium-paywall-BYist2sJ.js} +2 -2
  9. package/dist/_chunks/{gestational-age-calculator-sRmoqgVr.js → gestational-age-calculator-gWI_uRA1.js} +52 -39
  10. package/dist/_chunks/insert-result-C5ABnzDl.js +711 -0
  11. package/dist/_chunks/{marketplace-app-shell-Dc5cTIt8.js → marketplace-app-shell-Gfsf78ge.js} +2 -2
  12. package/dist/_chunks/{patient-search-DPe2ZYEL.js → patient-search-CocVcGJ3.js} +2 -2
  13. package/dist/_chunks/{payment-form-BzVsG6Ks.js → payment-form-DqEiEJRO.js} +247 -195
  14. package/dist/_chunks/{pdf-viewer-B6MC6VTx.js → pdf-viewer-CWEXTlwq.js} +2 -2
  15. package/dist/_chunks/{practice-results-CrLpEiiW.js → practice-results-DDi-kvaD.js} +2 -2
  16. package/dist/_chunks/{pregnancy-weight-gain-C5YhfYnL.js → pregnancy-weight-gain-BtEHaSqy.js} +26 -13
  17. package/dist/_chunks/{search-bar-CP6wUJFY.js → search-bar-CvN_S0jW.js} +2 -2
  18. package/dist/_chunks/{search-input-C1C3jQpD.js → search-input-D3aMvi4l.js} +2 -2
  19. package/dist/_chunks/{sign-document-B-3k_0LO.js → sign-document-BCyLpFHJ.js} +2 -2
  20. package/dist/_chunks/{sign-in-with-alfadocs-button-DeHBFRNS.js → sign-in-with-alfadocs-button-CuYn_kKP.js} +2 -2
  21. package/dist/_chunks/{social-sign-in-button-X54ySJr1.js → social-sign-in-button-uJYLM366.js} +2 -2
  22. package/dist/_chunks/{spinner-CCByyvcb.js → spinner-OjQNn8oN.js} +7 -3
  23. package/dist/_chunks/{transcript-panel-CR7VY1uw.js → transcript-panel-B4HiC7ed.js} +2 -2
  24. package/dist/_chunks/{unit-converter-Ds9jalbN.js → unit-converter-u3CwNDpP.js} +63 -52
  25. package/dist/_chunks/{wallet-pay-button-DK4ESYge.js → wallet-pay-button-DuDPBlCO.js} +2 -2
  26. package/dist/agent-catalog.json +1 -1
  27. package/dist/components/_shared/banded-gauge.d.ts +193 -0
  28. package/dist/components/_shared/insert-result.d.ts +81 -8
  29. package/dist/components/autocomplete/index.js +1 -1
  30. package/dist/components/bmi-calculator/bmi-calculator.d.ts +2 -2
  31. package/dist/components/bmi-calculator/index.js +1 -1
  32. package/dist/components/booking/index.js +1 -1
  33. package/dist/components/cycle-calculator/cycle-calculator.d.ts +2 -2
  34. package/dist/components/cycle-calculator/index.js +1 -1
  35. package/dist/components/data-table/index.js +1 -1
  36. package/dist/components/due-date-calculator/due-date-calculator.d.ts +2 -2
  37. package/dist/components/due-date-calculator/index.js +1 -1
  38. package/dist/components/freemium-paywall/index.js +1 -1
  39. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +2 -2
  40. package/dist/components/gestational-age-calculator/index.js +1 -1
  41. package/dist/components/patient-search/index.js +1 -1
  42. package/dist/components/payment-form/index.js +1 -1
  43. package/dist/components/payment-form/payment-form.d.ts +24 -2
  44. package/dist/components/pdf-viewer/index.js +1 -1
  45. package/dist/components/practice-results/index.js +1 -1
  46. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  47. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +2 -2
  48. package/dist/components/search-bar/index.js +1 -1
  49. package/dist/components/search-input/index.js +1 -1
  50. package/dist/components/sign-document/index.js +1 -1
  51. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  52. package/dist/components/social-sign-in-button/index.js +1 -1
  53. package/dist/components/spinner/index.js +1 -1
  54. package/dist/components/spinner/spinner.d.ts +2 -2
  55. package/dist/components/transcript-panel/index.js +1 -1
  56. package/dist/components/unit-converter/index.js +1 -1
  57. package/dist/components/unit-converter/unit-converter.d.ts +2 -2
  58. package/dist/components/wallet-pay-button/index.js +1 -1
  59. package/dist/i18n/locales/ar.d.ts +1 -1
  60. package/dist/i18n/locales/ar.js +1 -1
  61. package/dist/i18n/locales/de.d.ts +1 -1
  62. package/dist/i18n/locales/de.js +1 -1
  63. package/dist/i18n/locales/el.d.ts +1 -1
  64. package/dist/i18n/locales/el.js +1 -1
  65. package/dist/i18n/locales/en.d.ts +1 -1
  66. package/dist/i18n/locales/en.js +1 -1
  67. package/dist/i18n/locales/es.d.ts +1 -1
  68. package/dist/i18n/locales/es.js +1 -1
  69. package/dist/i18n/locales/fr.d.ts +1 -1
  70. package/dist/i18n/locales/fr.js +1 -1
  71. package/dist/i18n/locales/hi.d.ts +1 -1
  72. package/dist/i18n/locales/hi.js +1 -1
  73. package/dist/i18n/locales/it.d.ts +1 -1
  74. package/dist/i18n/locales/it.js +1 -1
  75. package/dist/i18n/locales/ja.d.ts +1 -1
  76. package/dist/i18n/locales/ja.js +1 -1
  77. package/dist/i18n/locales/nl.d.ts +1 -1
  78. package/dist/i18n/locales/nl.js +1 -1
  79. package/dist/i18n/locales/pl.d.ts +1 -1
  80. package/dist/i18n/locales/pl.js +1 -1
  81. package/dist/i18n/locales/pt.d.ts +1 -1
  82. package/dist/i18n/locales/pt.js +1 -1
  83. package/dist/i18n/locales/ro.d.ts +1 -1
  84. package/dist/i18n/locales/ro.js +1 -1
  85. package/dist/i18n/locales/ru.d.ts +1 -1
  86. package/dist/i18n/locales/ru.js +1 -1
  87. package/dist/i18n/locales/sq.d.ts +1 -1
  88. package/dist/i18n/locales/sq.js +1 -1
  89. package/dist/i18n/locales/sv.d.ts +1 -1
  90. package/dist/i18n/locales/sv.js +1 -1
  91. package/dist/i18n/locales/tr.d.ts +1 -1
  92. package/dist/i18n/locales/tr.js +1 -1
  93. package/dist/i18n/locales/zh.d.ts +1 -1
  94. package/dist/i18n/locales/zh.js +1 -1
  95. package/dist/index.js +25 -25
  96. package/dist/locales/ar.json +1 -1
  97. package/dist/locales/de.json +1 -1
  98. package/dist/locales/el.json +1 -1
  99. package/dist/locales/en.json +1 -1
  100. package/dist/locales/es.json +1 -1
  101. package/dist/locales/fr.json +1 -1
  102. package/dist/locales/hi.json +1 -1
  103. package/dist/locales/it.json +1 -1
  104. package/dist/locales/ja.json +1 -1
  105. package/dist/locales/nl.json +1 -1
  106. package/dist/locales/pl.json +1 -1
  107. package/dist/locales/pt.json +1 -1
  108. package/dist/locales/ro.json +1 -1
  109. package/dist/locales/ru.json +1 -1
  110. package/dist/locales/sq.json +1 -1
  111. package/dist/locales/sv.json +1 -1
  112. package/dist/locales/tr.json +1 -1
  113. package/dist/locales/zh.json +1 -1
  114. package/dist/patterns/alia-assistant/alia-types.d.ts +20 -0
  115. package/dist/patterns/alia-assistant/index.js +1 -1
  116. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  117. package/dist/tokens.css +1 -1
  118. package/package.json +1 -1
  119. package/dist/_chunks/bmi-calculator-DFPWL2OJ.js +0 -273
  120. package/dist/_chunks/insert-result-CoC1oo6R.js +0 -334
@@ -1666,7 +1666,7 @@
1666
1666
  "overweight": "25,0 – 29,9",
1667
1667
  "obese": "30,0 и более"
1668
1668
  },
1669
- "gaugeAria": "Индекс массы тела {{bmi}}, {{category}}",
1669
+ "gaugeAria": "Индекс массы тела {{bmi}} {{category}} ({{range}})",
1670
1670
  "empty": "Введите рост и вес, чтобы рассчитать ИМТ."
1671
1671
  },
1672
1672
  "dueDateCalculator": {
@@ -1666,7 +1666,7 @@
1666
1666
  "overweight": "25,0 – 29,9",
1667
1667
  "obese": "30,0 e lart"
1668
1668
  },
1669
- "gaugeAria": "Indeksi i masës trupore {{bmi}}, {{category}}",
1669
+ "gaugeAria": "Indeksi i masës trupore {{bmi}} {{category}} ({{range}})",
1670
1670
  "empty": "Vendos gjatësinë dhe peshën për të llogaritur IMT-në."
1671
1671
  },
1672
1672
  "dueDateCalculator": {
@@ -1666,7 +1666,7 @@
1666
1666
  "overweight": "25,0 – 29,9",
1667
1667
  "obese": "30,0 och högre"
1668
1668
  },
1669
- "gaugeAria": "Body mass index {{bmi}}, {{category}}",
1669
+ "gaugeAria": "Body mass index {{bmi}} {{category}} ({{range}})",
1670
1670
  "empty": "Ange längd och vikt för att beräkna BMI."
1671
1671
  },
1672
1672
  "dueDateCalculator": {
@@ -1666,7 +1666,7 @@
1666
1666
  "overweight": "25,0 – 29,9",
1667
1667
  "obese": "30,0 ve üzeri"
1668
1668
  },
1669
- "gaugeAria": "Vücut kitle indeksi {{bmi}}, {{category}}",
1669
+ "gaugeAria": "Vücut kitle indeksi {{bmi}} {{category}} ({{range}})",
1670
1670
  "empty": "VKİ’yi hesaplamak için boy ve kilo girin."
1671
1671
  },
1672
1672
  "dueDateCalculator": {
@@ -1666,7 +1666,7 @@
1666
1666
  "overweight": "25.0 – 29.9",
1667
1667
  "obese": "30.0 及以上"
1668
1668
  },
1669
- "gaugeAria": "身体质量指数 {{bmi}}, {{category}}",
1669
+ "gaugeAria": "身体质量指数 {{bmi}} {{category}}({{range}})",
1670
1670
  "empty": "输入身高和体重以计算 BMI。"
1671
1671
  },
1672
1672
  "dueDateCalculator": {
@@ -118,5 +118,25 @@ export interface AliaChatSurfaceProps {
118
118
  * popout mode to inject a close button. Leave undefined otherwise.
119
119
  */
120
120
  headerEndSlot?: ReactNode;
121
+ /**
122
+ * CONVERSATION-ENDED / UI-LOCKED state. When set, Alia renders
123
+ * `ended.note` as a centred, locked system divider at the END of the
124
+ * message list and freezes forward interaction: the composer
125
+ * (`ChatInput`, including send + attach) is disabled, and the
126
+ * suggestion chips + the stop-generating button stop rendering. The
127
+ * header and existing message history stay visible and read-only — only
128
+ * NEW input is blocked.
129
+ *
130
+ * The surface stays presentational: it does NOT decide *when* to end.
131
+ * The consuming app owns the termination decision (e.g. a detected
132
+ * jailbreak / safety violation, or any policy that closes the session)
133
+ * and supplies the notice via `note`. Because `note` is a
134
+ * consumer-provided `ReactNode`, the copy lives in the host app — no
135
+ * new keys are added to the DS `ui.*` locale bundles.
136
+ */
137
+ ended?: {
138
+ /** Consumer-provided notice shown in the locked end divider. */
139
+ note: ReactNode;
140
+ };
121
141
  }
122
142
  //# sourceMappingURL=alia-types.d.ts.map
@@ -1,4 +1,4 @@
1
- import { A as i, a as A, b as d, c as l } from "../../_chunks/alia-sidebar-BpX4z_af.js";
1
+ import { A as i, a as A, b as d, c as l } from "../../_chunks/alia-sidebar-Be8FhKYd.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-Dc5cTIt8.js";
1
+ import { C as l, M as o } from "../../_chunks/marketplace-app-shell-Gfsf78ge.js";
2
2
  export {
3
3
  l as ConnectWithAlfadocs,
4
4
  o as MarketplaceAppShell