@alfadocs/ui-kit 0.81.0 → 0.83.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 (85) hide show
  1. package/dist/_chunks/{actions-cell-renderer-DLrcSTK_.js → actions-cell-renderer-DaL80uqL.js} +2 -2
  2. package/dist/_chunks/chart-GFLv4cXm.js +609 -0
  3. package/dist/_chunks/{editable-currency-cell-renderer-GwfA9tTR.js → editable-currency-cell-renderer-Dus_sBvX.js} +2 -2
  4. package/dist/_chunks/{face-scheme-C0rk21gg.js → face-scheme-CjQAHvSP.js} +2 -2
  5. package/dist/_chunks/{file-manager-DfTG7bxx.js → file-manager-DLJlinIO.js} +3 -3
  6. package/dist/_chunks/{header-settings-DMfdx0Vq.js → header-settings-CLwFqMHI.js} +2 -2
  7. package/dist/_chunks/{icon-button-group-C_lqXTAj.js → icon-button-group-BLHPN6jg.js} +178 -163
  8. package/dist/_chunks/{marketplace-app-shell-Bxq1PYAj.js → marketplace-app-shell-Br2yebEK.js} +2 -2
  9. package/dist/_chunks/{patient-table-DweKjiXg.js → patient-table-BHzmUbzu.js} +2 -2
  10. package/dist/_chunks/{payment-request-card-C0fqlKqO.js → payment-request-card-d-RmzsUd.js} +15 -13
  11. package/dist/_chunks/{theme-toggle-BJCz_UOi.js → theme-toggle-B4mOrQX1.js} +2 -2
  12. package/dist/agent-catalog.json +139 -4
  13. package/dist/agent-i18n/en.json +14 -1
  14. package/dist/components/chart/chart.d.ts +36 -1
  15. package/dist/components/chart/index.js +1 -1
  16. package/dist/components/data-table/index.js +2 -2
  17. package/dist/components/face-scheme/index.js +1 -1
  18. package/dist/components/file-manager/index.js +1 -1
  19. package/dist/components/header-settings/index.js +1 -1
  20. package/dist/components/icon-button-group/index.js +1 -1
  21. package/dist/components/index.d.ts +1 -0
  22. package/dist/components/patient-table/index.js +1 -1
  23. package/dist/components/payment-card/index.js +1 -1
  24. package/dist/components/theme-toggle/index.js +1 -1
  25. package/dist/i18n/locales/ar.d.ts +8 -0
  26. package/dist/i18n/locales/ar.js +8 -0
  27. package/dist/i18n/locales/de.d.ts +8 -0
  28. package/dist/i18n/locales/de.js +8 -0
  29. package/dist/i18n/locales/el.d.ts +8 -0
  30. package/dist/i18n/locales/el.js +8 -0
  31. package/dist/i18n/locales/en.d.ts +8 -0
  32. package/dist/i18n/locales/en.js +8 -0
  33. package/dist/i18n/locales/es.d.ts +8 -0
  34. package/dist/i18n/locales/es.js +8 -0
  35. package/dist/i18n/locales/fr.d.ts +8 -0
  36. package/dist/i18n/locales/fr.js +8 -0
  37. package/dist/i18n/locales/hi.d.ts +8 -0
  38. package/dist/i18n/locales/hi.js +8 -0
  39. package/dist/i18n/locales/it.d.ts +8 -0
  40. package/dist/i18n/locales/it.js +8 -0
  41. package/dist/i18n/locales/ja.d.ts +8 -0
  42. package/dist/i18n/locales/ja.js +8 -0
  43. package/dist/i18n/locales/nl.d.ts +8 -0
  44. package/dist/i18n/locales/nl.js +8 -0
  45. package/dist/i18n/locales/pl.d.ts +8 -0
  46. package/dist/i18n/locales/pl.js +8 -0
  47. package/dist/i18n/locales/pt.d.ts +8 -0
  48. package/dist/i18n/locales/pt.js +8 -0
  49. package/dist/i18n/locales/ro.d.ts +8 -0
  50. package/dist/i18n/locales/ro.js +8 -0
  51. package/dist/i18n/locales/ru.d.ts +8 -0
  52. package/dist/i18n/locales/ru.js +8 -0
  53. package/dist/i18n/locales/sq.d.ts +8 -0
  54. package/dist/i18n/locales/sq.js +8 -0
  55. package/dist/i18n/locales/sv.d.ts +8 -0
  56. package/dist/i18n/locales/sv.js +8 -0
  57. package/dist/i18n/locales/tr.d.ts +8 -0
  58. package/dist/i18n/locales/tr.js +8 -0
  59. package/dist/i18n/locales/zh.d.ts +8 -0
  60. package/dist/i18n/locales/zh.js +8 -0
  61. package/dist/index.js +1270 -963
  62. package/dist/locales/ar.json +8 -0
  63. package/dist/locales/de.json +8 -0
  64. package/dist/locales/el.json +8 -0
  65. package/dist/locales/en.json +8 -0
  66. package/dist/locales/es.json +8 -0
  67. package/dist/locales/fr.json +8 -0
  68. package/dist/locales/hi.json +8 -0
  69. package/dist/locales/it.json +8 -0
  70. package/dist/locales/ja.json +8 -0
  71. package/dist/locales/nl.json +8 -0
  72. package/dist/locales/pl.json +8 -0
  73. package/dist/locales/pt.json +8 -0
  74. package/dist/locales/ro.json +8 -0
  75. package/dist/locales/ru.json +8 -0
  76. package/dist/locales/sq.json +8 -0
  77. package/dist/locales/sv.json +8 -0
  78. package/dist/locales/tr.json +8 -0
  79. package/dist/locales/zh.json +8 -0
  80. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  81. package/dist/patterns/payment-automation-upsell/index.d.ts +3 -0
  82. package/dist/patterns/payment-automation-upsell/payment-automation-upsell.d.ts +93 -0
  83. package/dist/tokens.css +1 -1
  84. package/package.json +1 -1
  85. package/dist/_chunks/chart-CpkpA74k.js +0 -374
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "سلسلة",
2620
2620
  "value": "قيمة"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "نوع المخطط",
2624
+ "line": "خطي",
2625
+ "bar": "أعمدة",
2626
+ "area": "مساحي",
2627
+ "pie": "دائري",
2628
+ "donut": "حلقي"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Serie",
2620
2620
  "value": "Wert"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Diagrammtyp",
2624
+ "line": "Linie",
2625
+ "bar": "Balken",
2626
+ "area": "Fläche",
2627
+ "pie": "Kreis",
2628
+ "donut": "Ring"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Σειρά",
2620
2620
  "value": "Τιμή"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Τύπος γραφήματος",
2624
+ "line": "Γραμμή",
2625
+ "bar": "Ράβδοι",
2626
+ "area": "Περιοχή",
2627
+ "pie": "Πίτα",
2628
+ "donut": "Δακτύλιος"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Series",
2620
2620
  "value": "Value"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Chart type",
2624
+ "line": "Line",
2625
+ "bar": "Bar",
2626
+ "area": "Area",
2627
+ "pie": "Pie",
2628
+ "donut": "Donut"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Serie",
2620
2620
  "value": "Valor"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Tipo de gráfico",
2624
+ "line": "Línea",
2625
+ "bar": "Barras",
2626
+ "area": "Área",
2627
+ "pie": "Circular",
2628
+ "donut": "Anillo"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Série",
2620
2620
  "value": "Valeur"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Type de graphique",
2624
+ "line": "Ligne",
2625
+ "bar": "Barres",
2626
+ "area": "Aires",
2627
+ "pie": "Secteurs",
2628
+ "donut": "Anneau"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "श्रृंखला",
2620
2620
  "value": "मान"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "चार्ट प्रकार",
2624
+ "line": "रेखा",
2625
+ "bar": "बार",
2626
+ "area": "क्षेत्र",
2627
+ "pie": "पाई",
2628
+ "donut": "डोनट"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Serie",
2620
2620
  "value": "Valore"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Tipo di grafico",
2624
+ "line": "Linea",
2625
+ "bar": "Barre",
2626
+ "area": "Area",
2627
+ "pie": "Torta",
2628
+ "donut": "Ciambella"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "シリーズ",
2620
2620
  "value": "値"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "グラフの種類",
2624
+ "line": "折れ線",
2625
+ "bar": "棒",
2626
+ "area": "面",
2627
+ "pie": "円",
2628
+ "donut": "ドーナツ"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Reeks",
2620
2620
  "value": "Waarde"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Grafiektype",
2624
+ "line": "Lijn",
2625
+ "bar": "Staaf",
2626
+ "area": "Vlak",
2627
+ "pie": "Cirkel",
2628
+ "donut": "Ring"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Seria",
2620
2620
  "value": "Wartość"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Typ wykresu",
2624
+ "line": "Liniowy",
2625
+ "bar": "Słupkowy",
2626
+ "area": "Warstwowy",
2627
+ "pie": "Kołowy",
2628
+ "donut": "Pierścieniowy"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Série",
2620
2620
  "value": "Valor"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Tipo de gráfico",
2624
+ "line": "Linha",
2625
+ "bar": "Barras",
2626
+ "area": "Área",
2627
+ "pie": "Circular",
2628
+ "donut": "Anel"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Serie",
2620
2620
  "value": "Valoare"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Tip de grafic",
2624
+ "line": "Linie",
2625
+ "bar": "Bare",
2626
+ "area": "Arie",
2627
+ "pie": "Circular",
2628
+ "donut": "Inel"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Серия",
2620
2620
  "value": "Значение"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Тип диаграммы",
2624
+ "line": "Линия",
2625
+ "bar": "Столбцы",
2626
+ "area": "Область",
2627
+ "pie": "Круговая",
2628
+ "donut": "Кольцевая"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Seri",
2620
2620
  "value": "Vlerë"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Lloji i grafikut",
2624
+ "line": "Vijë",
2625
+ "bar": "Shtylla",
2626
+ "area": "Sipërfaqe",
2627
+ "pie": "Rrethor",
2628
+ "donut": "Unazë"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Serie",
2620
2620
  "value": "Värde"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Diagramtyp",
2624
+ "line": "Linje",
2625
+ "bar": "Stapel",
2626
+ "area": "Yta",
2627
+ "pie": "Cirkel",
2628
+ "donut": "Ring"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "Seri",
2620
2620
  "value": "Değer"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "Grafik türü",
2624
+ "line": "Çizgi",
2625
+ "bar": "Sütun",
2626
+ "area": "Alan",
2627
+ "pie": "Pasta",
2628
+ "donut": "Halka"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -2618,6 +2618,14 @@
2618
2618
  "table": {
2619
2619
  "series": "系列",
2620
2620
  "value": "值"
2621
+ },
2622
+ "typeSwitcher": {
2623
+ "label": "图表类型",
2624
+ "line": "折线",
2625
+ "bar": "柱状",
2626
+ "area": "面积",
2627
+ "pie": "饼图",
2628
+ "donut": "环形"
2621
2629
  }
2622
2630
  },
2623
2631
  "editor": {
@@ -1,4 +1,4 @@
1
- import { C as l, M as o } from "../../_chunks/marketplace-app-shell-Bxq1PYAj.js";
1
+ import { C as l, M as o } from "../../_chunks/marketplace-app-shell-Br2yebEK.js";
2
2
  export {
3
3
  l as ConnectWithAlfadocs,
4
4
  o as MarketplaceAppShell
@@ -0,0 +1,3 @@
1
+ export { PaymentAutomationUpsell } from './payment-automation-upsell';
2
+ export type { PaymentAutomationUpsellProps, PaymentAutomationUpsellLabels, PaymentAutomationUpsellRole, PaymentAutomationUpsellStep, PaymentAutomationUpsellFeature, PaymentAutomationUpsellMetric, PaymentAutomationUpsellPreviewRow, PaymentAutomationUpsellRequestStatus, } from './payment-automation-upsell';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,93 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ /** Who is viewing the surface — drives which CTA is shown. */
3
+ export type PaymentAutomationUpsellRole = 'owner' | 'member';
4
+ /** Status of a mock payment request in the preview. */
5
+ export type PaymentAutomationUpsellRequestStatus = 'paid' | 'authorized' | 'pending' | 'overdue';
6
+ export interface PaymentAutomationUpsellStep {
7
+ id: string;
8
+ /** Pre-translated step title. */
9
+ title: string;
10
+ /** Pre-translated step body. */
11
+ description: string;
12
+ /** Optional icon override; a sensible default is chosen per position. */
13
+ icon?: ReactNode;
14
+ }
15
+ export interface PaymentAutomationUpsellFeature {
16
+ id: string;
17
+ /** Pre-translated single line of the "what's included" checklist. */
18
+ label: string;
19
+ }
20
+ export interface PaymentAutomationUpsellMetric {
21
+ id: string;
22
+ /** Headline value, already formatted/localised, e.g. "3×" or "−75%". */
23
+ value: string;
24
+ /** Pre-translated caption under the value. */
25
+ label: string;
26
+ }
27
+ export interface PaymentAutomationUpsellPreviewRow {
28
+ id: string;
29
+ /** Pre-translated row title, e.g. "Richiesta RDP-2026-0042". */
30
+ title: string;
31
+ /** Optional pre-translated secondary line (plan / date). Never real PHI. */
32
+ meta?: string;
33
+ /** Amount in minor units (cents); formatted with `locale` + `currency`. */
34
+ amountCents: number;
35
+ /** Drives the status badge colour + icon. */
36
+ status: PaymentAutomationUpsellRequestStatus;
37
+ /** Pre-translated status label shown in the badge. */
38
+ statusLabel: string;
39
+ }
40
+ export interface PaymentAutomationUpsellLabels {
41
+ /** Small eyebrow above the headline — usually the module name. */
42
+ eyebrow?: string;
43
+ /** Serif display headline. */
44
+ title: string;
45
+ /** One- or two-sentence supporting subtitle. */
46
+ subtitle: string;
47
+ /** Heading for the "how it works" step column. */
48
+ howItWorksHeading: string;
49
+ /** Heading for the mock preview. */
50
+ previewHeading: string;
51
+ /** Optional small caption flagging the preview as illustrative. */
52
+ previewCaption?: string;
53
+ /** Title of the right-hand call-to-action card. */
54
+ ctaCardTitle: string;
55
+ /** Optional pitch line under the CTA card title. */
56
+ ctaCardSubtitle?: string;
57
+ /** Optional heading above the feature checklist. */
58
+ featuresHeading?: string;
59
+ /** Optional price / plan note, e.g. "Incluso nel piano Premium". */
60
+ priceNote?: string;
61
+ /** Owner primary CTA label. */
62
+ activateLabel: string;
63
+ /** Member: notice title explaining they cannot self-activate. */
64
+ memberNoticeTitle?: string;
65
+ /** Member: notice body. */
66
+ memberNoticeDescription?: string;
67
+ /** Member CTA label. */
68
+ notifyAdminLabel?: string;
69
+ }
70
+ export interface PaymentAutomationUpsellProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
71
+ /** Who is viewing. Owners can self-activate; members ask an admin. Default `owner`. */
72
+ role?: PaymentAutomationUpsellRole;
73
+ /** All user-visible copy — pre-translated by the host app. */
74
+ labels: PaymentAutomationUpsellLabels;
75
+ /** "How it works" steps, rendered as numbered BenefitCards. */
76
+ steps: PaymentAutomationUpsellStep[];
77
+ /** "What's included" checklist. */
78
+ features: PaymentAutomationUpsellFeature[];
79
+ /** Optional proof metrics shown in the CTA card. */
80
+ metrics?: PaymentAutomationUpsellMetric[];
81
+ /** Mock payment-request rows for the preview. */
82
+ previewRows: PaymentAutomationUpsellPreviewRow[];
83
+ /** BCP-47 locale used for currency formatting. Default `it-IT`. */
84
+ locale?: string;
85
+ /** ISO-4217 currency for the preview amounts. Default `EUR`. */
86
+ currency?: string;
87
+ /** Owner CTA handler — host navigates to the activation / upgrade flow. */
88
+ onActivate?: () => void;
89
+ /** Member CTA handler — host notifies the practice owner / admin. */
90
+ onNotifyAdmin?: () => void;
91
+ }
92
+ export declare const PaymentAutomationUpsell: import("react").ForwardRefExoticComponent<PaymentAutomationUpsellProps & import("react").RefAttributes<HTMLElement>>;
93
+ //# sourceMappingURL=payment-automation-upsell.d.ts.map