@alfadocs/ui-kit 0.41.2 → 0.42.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.
- package/dist/_chunks/address-autocomplete-CSjMrBvu.js +358 -0
- package/dist/_chunks/{alia-sidebar-DXsYPinm.js → alia-sidebar-BpX4z_af.js} +2 -2
- package/dist/_chunks/{bmi-calculator-DnEr513I.js → bmi-calculator-D4juUcyF.js} +57 -51
- package/dist/_chunks/{breadcrumb-CLlhx7qo.js → breadcrumb-OTbaY70e.js} +4 -4
- package/dist/_chunks/cycle-calculator-DsZbyzX6.js +191 -0
- package/dist/_chunks/{document-scanner-CqS_klIr.js → document-scanner-BqLsGs4Y.js} +7 -7
- package/dist/_chunks/{dropdown-menu-BC5ZdOMo.js → dropdown-menu-CUEXqKis.js} +2 -2
- package/dist/_chunks/{due-date-calculator-CUspKSTw.js → due-date-calculator-s_CBgaFs.js} +53 -40
- package/dist/_chunks/{editable-currency-cell-renderer-DgkCIIcO.js → editable-currency-cell-renderer-BhUkRiPZ.js} +2 -2
- package/dist/_chunks/{freemium-paywall-BAk3a6er.js → freemium-paywall-BLXESpH4.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CsQ05qDy.js → gestational-age-calculator-CWOG3bkI.js} +56 -43
- package/dist/_chunks/{header-settings-CBLwUK6t.js → header-settings-Bx0Biimh.js} +2 -2
- package/dist/_chunks/index.modern-D2LGACWg.js +1529 -0
- package/dist/_chunks/insert-result-DtQQeSSf.js +227 -0
- package/dist/_chunks/{kbd-Cglkd7CY.js → kbd-D855ZXIW.js} +2 -2
- package/dist/_chunks/map-view-Tb5VfK9Y.js +333 -0
- package/dist/_chunks/marketplace-app-shell-kVAVycz_.js +391 -0
- package/dist/_chunks/{patient-search-CBq62kmL.js → patient-search-DPe2ZYEL.js} +2 -2
- package/dist/_chunks/{patient-shell-DF81lALv.js → patient-shell-lDX3wwu6.js} +2 -2
- package/dist/_chunks/{payment-form-Dy3WIIsC.js → payment-form-BzVsG6Ks.js} +5 -5
- package/dist/_chunks/{pdf-viewer-Cy6Ul3hZ.js → pdf-viewer-B6MC6VTx.js} +139 -126
- package/dist/_chunks/{practice-results-C0d4IL5E.js → practice-results-CrLpEiiW.js} +4 -4
- package/dist/_chunks/pregnancy-weight-gain-B7kBK-ZR.js +223 -0
- package/dist/_chunks/{public-header.agent-B2dDg2_d.js → public-header.agent-BY6FH71R.js} +2 -2
- package/dist/_chunks/radio-group-CLjK-SlK.js +167 -0
- package/dist/_chunks/{rich-text-editor-DLbg2852.js → rich-text-editor-DhGIBd4a.js} +10 -10
- package/dist/_chunks/{sheet-BV-yuLE2.js → sheet-xbzu4YiY.js} +7 -7
- package/dist/_chunks/{sign-document-CpLDZ6Db.js → sign-document-QHfcNKFj.js} +5 -5
- package/dist/_chunks/{signature-capture-DoiBd6i3.js → signature-capture-CpMBhqQ9.js} +6 -6
- package/dist/_chunks/tab-bar-C4II-7ej.js +86 -0
- package/dist/_chunks/{theme-toggle-DpC28kt5.js → theme-toggle-ClATnY4Q.js} +2 -2
- package/dist/_chunks/{toast.agent-WHHfw5VX.js → toast.agent-B0MCsvdZ.js} +2 -2
- package/dist/_chunks/{unit-converter-EUwO6QYq.js → unit-converter-D1UrEUxa.js} +46 -40
- package/dist/_chunks/{workflow-map-C3gB0FvB.js → workflow-map-BFNpzTiw.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/brand/product-lockup/product-lockup.d.ts +16 -0
- package/dist/components/_shared/insert-result.d.ts +21 -4
- package/dist/components/address-autocomplete/address-autocomplete.d.ts +77 -0
- package/dist/components/address-autocomplete/index.d.ts +4 -0
- package/dist/components/address-autocomplete/index.js +6 -0
- package/dist/components/address-autocomplete/parse-address.d.ts +52 -0
- package/dist/components/bmi-calculator/bmi-calculator.d.ts +11 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/cycle-calculator/cycle-calculator.d.ts +12 -2
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/due-date-calculator.d.ts +11 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +12 -2
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/kbd/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +12 -2
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/tab-bar/index.d.ts +3 -0
- package/dist/components/tab-bar/index.js +5 -0
- package/dist/components/tab-bar/tab-bar.d.ts +61 -0
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/unit-converter/unit-converter.d.ts +11 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +17 -0
- package/dist/i18n/locales/ar.js +18 -1
- package/dist/i18n/locales/de.d.ts +17 -0
- package/dist/i18n/locales/de.js +18 -1
- package/dist/i18n/locales/el.d.ts +17 -0
- package/dist/i18n/locales/el.js +18 -1
- package/dist/i18n/locales/en.d.ts +17 -0
- package/dist/i18n/locales/en.js +18 -1
- package/dist/i18n/locales/es.d.ts +17 -0
- package/dist/i18n/locales/es.js +18 -1
- package/dist/i18n/locales/fr.d.ts +17 -0
- package/dist/i18n/locales/fr.js +18 -1
- package/dist/i18n/locales/hi.d.ts +17 -0
- package/dist/i18n/locales/hi.js +18 -1
- package/dist/i18n/locales/it.d.ts +17 -0
- package/dist/i18n/locales/it.js +18 -1
- package/dist/i18n/locales/ja.d.ts +17 -0
- package/dist/i18n/locales/ja.js +18 -1
- package/dist/i18n/locales/nl.d.ts +17 -0
- package/dist/i18n/locales/nl.js +18 -1
- package/dist/i18n/locales/pl.d.ts +17 -0
- package/dist/i18n/locales/pl.js +18 -1
- package/dist/i18n/locales/pt.d.ts +17 -0
- package/dist/i18n/locales/pt.js +18 -1
- package/dist/i18n/locales/ro.d.ts +17 -0
- package/dist/i18n/locales/ro.js +18 -1
- package/dist/i18n/locales/ru.d.ts +17 -0
- package/dist/i18n/locales/ru.js +18 -1
- package/dist/i18n/locales/sq.d.ts +17 -0
- package/dist/i18n/locales/sq.js +18 -1
- package/dist/i18n/locales/sv.d.ts +17 -0
- package/dist/i18n/locales/sv.js +18 -1
- package/dist/i18n/locales/tr.d.ts +17 -0
- package/dist/i18n/locales/tr.js +18 -1
- package/dist/i18n/locales/zh.d.ts +17 -0
- package/dist/i18n/locales/zh.js +18 -1
- package/dist/index.js +604 -599
- package/dist/locales/ar.json +18 -1
- package/dist/locales/de.json +18 -1
- package/dist/locales/el.json +18 -1
- package/dist/locales/en.json +18 -1
- package/dist/locales/es.json +18 -1
- package/dist/locales/fr.json +18 -1
- package/dist/locales/hi.json +18 -1
- package/dist/locales/it.json +18 -1
- package/dist/locales/ja.json +18 -1
- package/dist/locales/nl.json +18 -1
- package/dist/locales/pl.json +18 -1
- package/dist/locales/pt.json +18 -1
- package/dist/locales/ro.json +18 -1
- package/dist/locales/ru.json +18 -1
- package/dist/locales/sq.json +18 -1
- package/dist/locales/sv.json +18 -1
- package/dist/locales/tr.json +18 -1
- package/dist/locales/zh.json +18 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +30 -3
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +16 -1
- package/dist/_chunks/cycle-calculator-B5Uj9QeT.js +0 -185
- package/dist/_chunks/insert-result-yJ0QavoN.js +0 -133
- package/dist/_chunks/map-view-qJLybrmN.js +0 -1850
- package/dist/_chunks/marketplace-app-shell-BlxVizU4.js +0 -296
- package/dist/_chunks/pregnancy-weight-gain-BCdi-JSv.js +0 -209
- package/dist/_chunks/radio-group-BcF92GEF.js +0 -152
package/dist/locales/tr.json
CHANGED
|
@@ -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",
|
package/dist/locales/zh.json
CHANGED
|
@@ -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": "预产期",
|
|
@@ -80,6 +80,18 @@ export interface MarketplaceAppShellProps {
|
|
|
80
80
|
sidebarState?: SidebarMode;
|
|
81
81
|
/** Override the accessible name of the `<main>` landmark. */
|
|
82
82
|
mainAriaLabel?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Chrome variant. `'standalone'` (default) renders the full shell — branded
|
|
85
|
+
* Header, Sidebar, and account menu. `'embedded'` is for apps running INSIDE
|
|
86
|
+
* the AlfaDocs platform iframe (consumers detect this with
|
|
87
|
+
* `window !== window.top`): it drops the Header, Sidebar, account menu, and
|
|
88
|
+
* product lockup — the platform already brands and identifies the session
|
|
89
|
+
* around the iframe — and renders the `nav` items as a single slim top tab
|
|
90
|
+
* strip. `onSignOut`, `onToggleFullscreen`, `productName`, `productHref`, and
|
|
91
|
+
* `sidebarState` are ignored in `'embedded'`; the `<main>` landmark,
|
|
92
|
+
* `mainAriaLabel`, and the skip link are kept.
|
|
93
|
+
*/
|
|
94
|
+
variant?: 'standalone' | 'embedded';
|
|
83
95
|
/** Children render inside the main content region. */
|
|
84
96
|
children: ReactNode;
|
|
85
97
|
}
|
|
@@ -102,14 +114,29 @@ export interface ConnectWithAlfadocsProps {
|
|
|
102
114
|
onConnect?: () => void;
|
|
103
115
|
/** Optional footer content below the button (e.g. a "what's this?" link). */
|
|
104
116
|
footer?: ReactNode;
|
|
117
|
+
/**
|
|
118
|
+
* Visual layout. `'card'` (default) is the centred card on the warm-grey
|
|
119
|
+
* canvas — unchanged. `'split'` adds, at `lg:` and up, a two-panel desktop
|
|
120
|
+
* layout: a brand panel on the inline-start and the connect card on the
|
|
121
|
+
* inline-end. Below `lg:`, `'split'` collapses to exactly the card layout —
|
|
122
|
+
* so it falls back gracefully inside iframes / embeds that never reach
|
|
123
|
+
* desktop width. Use `'split'` for full-page desktop logins.
|
|
124
|
+
*/
|
|
125
|
+
layout?: 'card' | 'split';
|
|
126
|
+
/**
|
|
127
|
+
* Optional content shown under the lockup in the `'split'` brand panel (a
|
|
128
|
+
* tagline, value props, an illustration). Ignored in `'card'` and below `lg:`.
|
|
129
|
+
*/
|
|
130
|
+
brandPanel?: ReactNode;
|
|
105
131
|
className?: string;
|
|
106
132
|
}
|
|
107
133
|
/**
|
|
108
134
|
* The pre-auth "Connect with AlfaDocs" screen. Centred white card on the
|
|
109
135
|
* warm-grey canvas with the AlfaDocs wordmark + product name, copy, an error
|
|
110
|
-
* slot, and the primary connect CTA.
|
|
111
|
-
*
|
|
112
|
-
* browser to the server-side
|
|
136
|
+
* slot, and the primary connect CTA. An opt-in `layout="split"` adds a desktop
|
|
137
|
+
* two-panel brand layout (lg+). Presentational — `onConnect` should call
|
|
138
|
+
* `useAlfadocsAuth().connect()`, which redirects the browser to the server-side
|
|
139
|
+
* BFF that runs the real OAuth2 + PKCE flow.
|
|
113
140
|
*/
|
|
114
141
|
export declare const ConnectWithAlfadocs: import("react").ForwardRefExoticComponent<ConnectWithAlfadocsProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
115
142
|
//# sourceMappingURL=marketplace-app-shell.d.ts.map
|