@alfadocs/ui-kit 0.8.1 → 0.9.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/{agenda-card-CalZqycc.js → agenda-card-DU13wUTA.js} +4 -4
- package/dist/_chunks/{agenda-tray-3ffFDQZC.js → agenda-tray-gQUXklO4.js} +9 -9
- package/dist/_chunks/{ai-prompt-input-DLgY8lrW.js → ai-prompt-input-bAJwYu84.js} +45 -45
- package/dist/_chunks/{alert-CVMq99Cq.js → alert-pgdXrEO5.js} +2 -2
- package/dist/_chunks/{app-frame-CDJOgPXe.js → app-frame-BYx1gcV7.js} +2 -2
- package/dist/_chunks/{audio-recorder-cOl_Z_Pk.js → audio-recorder-BHBonrFf.js} +54 -54
- package/dist/_chunks/{audio-visualiser-ByDEFLNm.js → audio-visualiser-I-T4Z7EU.js} +2 -2
- package/dist/_chunks/{autocomplete-D4oUZbsP.js → autocomplete-C34hbfKh.js} +6 -6
- package/dist/_chunks/{avatar-Dcr6XuDQ.js → avatar-I10iCDs8.js} +2 -2
- package/dist/_chunks/{badge-DKFbntoa.js → badge-cLYVGlMh.js} +2 -2
- package/dist/_chunks/{balance-cell-renderer-BuExGe6u.js → balance-cell-renderer-DWWtX-VM.js} +5 -5
- package/dist/_chunks/{breadcrumb-D1snXjPb.js → breadcrumb--YI7lcHA.js} +4 -4
- package/dist/_chunks/{button-group-CONver7M.js → button-group-Bh2g_Ng-.js} +2 -2
- package/dist/_chunks/{chat-container-ClzsWXp2.js → chat-container-izziXViv.js} +4 -4
- package/dist/_chunks/{chat-message-DoAhgUTj.js → chat-message-g3lxpXM_.js} +2 -2
- package/dist/_chunks/{checkbox-group-CarPLDIC.js → checkbox-group-Qkm3Rg1S.js} +6 -6
- package/dist/_chunks/{color-picker-CTIcHlDF.js → color-picker-BPfcByHH.js} +13 -13
- package/dist/_chunks/{combobox-BLWruOxK.js → combobox-DUpWoPPk.js} +6 -6
- package/dist/_chunks/{contact-card-DNyATxKv.js → contact-card-VJIUqKB2.js} +13 -13
- package/dist/_chunks/{date-picker-B1PO1ZQP.js → date-picker-BD5FYW08.js} +3 -3
- package/dist/_chunks/{date-range-picker-mix2nEVC.js → date-range-picker-BZLVgcXE.js} +27 -27
- package/dist/_chunks/{date-time-picker-Dnong_BY.js → date-time-picker-CCoRWX7R.js} +5 -5
- package/dist/_chunks/{description-list-BYA77Yud.js → description-list-y7Hk51KI.js} +16 -16
- package/dist/_chunks/{dialog-W8uDfXD8.js → dialog-DRp6Dejy.js} +2 -2
- package/dist/_chunks/{file-upload-C947ACDK.js → file-upload-BVbfiANR.js} +81 -81
- package/dist/_chunks/{floating-action-button-C8OYj8mE.js → floating-action-button-pojvb9gG.js} +6 -6
- package/dist/_chunks/{form-field-Bmkeh7WY.js → form-field-BOm9hK35.js} +2 -2
- package/dist/_chunks/{freemium-paywall-B9kIDtm1.js → freemium-paywall-BTEiVkes.js} +29 -29
- package/dist/_chunks/{key-value-pair-CgWvAIGb.js → key-value-pair-AbrRwesr.js} +14 -14
- package/dist/_chunks/{leo-sidebar-BWECDYpu.js → leo-sidebar-B054wsZm.js} +8 -8
- package/dist/_chunks/{link-BcYW1eNM.js → link-BGpwaFik.js} +2 -2
- package/dist/_chunks/{list-qP6p0NTw.js → list-DcjV0m5B.js} +2 -2
- package/dist/_chunks/{message-card-DjvsB_3U.js → message-card-c6R0-qXq.js} +6 -6
- package/dist/_chunks/{message-tray-BbnAzlLH.js → message-tray-Fsend-du.js} +21 -21
- package/dist/_chunks/{multi-select-wqqrgjUQ.js → multi-select-Bh-xR8kP.js} +10 -10
- package/dist/_chunks/{navigation-menu-ClbHeawy.js → navigation-menu-Bav1d_wA.js} +2 -2
- package/dist/_chunks/{notification-card-uTPEvAQS.js → notification-card-CRIE2Cuk.js} +3 -3
- package/dist/_chunks/{notification-tray-PGtMqXbP.js → notification-tray-CfXNYrxv.js} +21 -21
- package/dist/_chunks/{number-input-Q7wkHnvQ.js → number-input-mpSLk-ld.js} +3 -3
- package/dist/_chunks/{otp-input-C9gUByF0.js → otp-input-CI-Zv5q6.js} +2 -2
- package/dist/_chunks/{pagination-3AC4zTsi.js → pagination-OQBlnb1H.js} +7 -7
- package/dist/_chunks/{patient-shell-IhMULVrt.js → patient-shell-BS2V6V1b.js} +3 -3
- package/dist/_chunks/{payment-form-C3HMAsGG.js → payment-form-CI77oIx1.js} +3 -3
- package/dist/_chunks/{pdf-viewer-DO95bm2o.js → pdf-viewer-CNETPubN.js} +3 -3
- package/dist/_chunks/{phone-input-CSHJOJ13.js → phone-input-DtBVs5fz.js} +7 -7
- package/dist/_chunks/{popover-DekUKNBk.js → popover--derJ_wq.js} +2 -2
- package/dist/_chunks/{progress-C11tqhoI.js → progress-B-PSO5OS.js} +4 -4
- package/dist/_chunks/{recaptcha-widget-NyfOfLII.js → recaptcha-widget-Kp1XntuE.js} +3 -3
- package/dist/_chunks/{resizable-mpXXyIsN.js → resizable-COV-cnth.js} +3 -3
- package/dist/_chunks/{search-bar-BTDfgYtg.js → search-bar-DmZZ9UvV.js} +2 -2
- package/dist/_chunks/{search-input-CdJIEjFo.js → search-input-BBtSRH-Q.js} +4 -4
- package/dist/_chunks/{select-BOU_Osnf.js → select-i9MwQeQy.js} +20 -20
- package/dist/_chunks/{sheet-BAg7GY9j.js → sheet-BT0izeoI.js} +9 -9
- package/dist/_chunks/{sidebar-Bx3wCDyy.js → sidebar-CoLHtVrP.js} +83 -83
- package/dist/_chunks/{sign-in-with-alfadocs-button-B9UrqOqH.js → sign-in-with-alfadocs-button-4zZC-I6y.js} +3 -3
- package/dist/_chunks/{skip-link-DmZ3c6cb.js → skip-link-BaSMtPwB.js} +2 -2
- package/dist/_chunks/{slider-BT2bZWsy.js → slider-CkR6CLun.js} +3 -3
- package/dist/_chunks/{sparkline-_gy8aJDG.js → sparkline-D4Np8ikf.js} +15 -15
- package/dist/_chunks/{spinner-DLaYfLPl.js → spinner-DirtWZNG.js} +2 -2
- package/dist/_chunks/{stat-B9PHSPbN.js → stat-CDQ_a0vk.js} +4 -4
- package/dist/_chunks/{switch-C0psfIQF.js → switch-D916VW86.js} +2 -2
- package/dist/_chunks/{tabs-BZQy_Rmb.js → tabs-Cg794H0Q.js} +3 -3
- package/dist/_chunks/{tag-DuLMjRbF.js → tag-CQmHRM4Y.js} +3 -3
- package/dist/_chunks/{task-card-Dw_ZJDL8.js → task-card-BUVMh6HN.js} +2 -2
- package/dist/_chunks/{task-tray-XlIW9ueh.js → task-tray-B3A2fRGR.js} +13 -13
- package/dist/_chunks/{text-area-CO9Dz0qX.js → text-area-DHtcpcLv.js} +13 -13
- package/dist/_chunks/{text-input-DZwt9L8H.js → text-input-1oqFRbVI.js} +2 -2
- package/dist/_chunks/{theme-toggle-B3UR6ouK.js → theme-toggle-B3meAb3y.js} +14 -14
- package/dist/_chunks/{time-picker-DvPUmHH-.js → time-picker-DeVZkIY2.js} +2 -2
- package/dist/_chunks/{timeline-BvmnQadS.js → timeline-BaSULpSJ.js} +2 -2
- package/dist/_chunks/{toast.agent-DihA6MON.js → toast.agent-32WNQ-_x.js} +2 -2
- package/dist/_chunks/{transaction-chip-DE6DITun.js → transaction-chip-eVbolm0B.js} +2 -2
- package/dist/_chunks/{transcript-panel-Bx5ANMsv.js → transcript-panel-BpJqPr7I.js} +8 -8
- package/dist/_chunks/{typing-indicator-BZ5jXZPn.js → typing-indicator-DHeVN4ob.js} +9 -9
- package/dist/_chunks/{use-password-requirements-DgEYdN4H.js → use-password-requirements-B1M8lE2t.js} +29 -32
- package/dist/_chunks/{warning-stack-CdLIe534.js → warning-stack-CeRihME9.js} +15 -15
- package/dist/_chunks/{workflow-map-CESZNNZe.js → workflow-map-D3MvrsZV.js} +4 -4
- package/dist/agent-catalog.json +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/audio-visualiser/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/floating-action-button/index.js +1 -1
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +2 -2
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/navigation-menu/index.js +2 -2
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/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/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar.d.ts +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/skip-link/index.js +1 -1
- package/dist/components/skip-link/skip-link.d.ts +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/typing-indicator/index.js +1 -1
- package/dist/components/typing-indicator/typing-indicator.d.ts +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/config.d.ts +2 -1
- package/dist/i18n/config.js +49 -31
- package/dist/i18n/registerUiBundle.d.ts +15 -0
- package/dist/index.js +77 -77
- package/dist/patterns/leo-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-
|
|
1
|
+
import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-CI77oIx1.js";
|
|
2
2
|
export {
|
|
3
3
|
r as PaymentForm,
|
|
4
4
|
s as formatPaymentAmount,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as a, a as l, b as S, c, d as s, e as o, f as r, g as p, h as g, i, j as m } from "../../_chunks/select-
|
|
1
|
+
import { S as a, a as l, b as S, c, d as s, e as o, f as r, g as p, h as g, i, j as m } from "../../_chunks/select-i9MwQeQy.js";
|
|
2
2
|
export {
|
|
3
3
|
a as Select,
|
|
4
4
|
l as SelectContent,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as m, i as n, j as l, k as c, l as I, m as g, n as p, o as u, p as P, s as f, u as B, q as F } from "../../_chunks/sidebar-
|
|
1
|
+
import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as m, i as n, j as l, k as c, l as I, m as g, n as p, o as u, p as P, s as f, u as B, q as F } from "../../_chunks/sidebar-CoLHtVrP.js";
|
|
2
2
|
export {
|
|
3
3
|
r as Sidebar,
|
|
4
4
|
i as SidebarBody,
|
|
@@ -126,7 +126,7 @@ export interface SidebarPinButtonProps extends Omit<ComponentPropsWithoutRef<'bu
|
|
|
126
126
|
}
|
|
127
127
|
declare const SidebarPinButton: import("react").ForwardRefExoticComponent<SidebarPinButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
128
128
|
/**
|
|
129
|
-
* Renders `<SidebarSection heading={t('
|
|
129
|
+
* Renders `<SidebarSection heading={t('navigation.sidebar.favorites')}>` with an
|
|
130
130
|
* empty-state prompt when no children are supplied. When `onReorder` is
|
|
131
131
|
* provided, children rendered as `<SidebarFavoriteItem>` become drag-and-drop
|
|
132
132
|
* and keyboard reorderable (Alt+↑ / Alt+↓).
|
|
@@ -26,7 +26,7 @@ export interface SkipLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorEleme
|
|
|
26
26
|
* navigation chrome and land directly on the page's main content.
|
|
27
27
|
*
|
|
28
28
|
* Visible label is supplied by the consumer (typically via
|
|
29
|
-
* `useTranslation(
|
|
29
|
+
* `useTranslation()` against `navigation.skipLink.toContent`),
|
|
30
30
|
* so the component itself stays i18n-free at the prop level.
|
|
31
31
|
*/
|
|
32
32
|
export declare const SkipLink: import("react").ForwardRefExoticComponent<SkipLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -6,7 +6,7 @@ declare const indicatorVariants: (props?: ({
|
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
type NativeDivProps = Omit<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-live' | 'aria-atomic'>;
|
|
8
8
|
export interface TypingIndicatorProps extends NativeDivProps, VariantProps<typeof indicatorVariants> {
|
|
9
|
-
/** Optional override. When omitted, uses t('
|
|
9
|
+
/** Optional override. When omitted, uses t('chat.typing'). */
|
|
10
10
|
label?: string;
|
|
11
11
|
/** Hide the visible label, keeping only the animated dots. The label still
|
|
12
12
|
* carries the accessible name via aria-label. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-
|
|
1
|
+
import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-D3MvrsZV.js";
|
|
2
2
|
export {
|
|
3
3
|
r as CORE_PATIENT_FIELDS,
|
|
4
4
|
e as WorkflowCard,
|
package/dist/i18n/config.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import i18next from 'i18next';
|
|
2
2
|
export default i18next;
|
|
3
|
-
export { enUi, arUi, uiResources, LOCALES_WITH_BUNDLES } from './resources';
|
|
3
|
+
export { enUi, itUi, deUi, arUi, uiResources, LOCALES_WITH_BUNDLES } from './resources';
|
|
4
|
+
export { registerUiBundle } from './registerUiBundle';
|
|
4
5
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/i18n/config.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { default as
|
|
3
|
-
import { initReactI18next as
|
|
4
|
-
const
|
|
1
|
+
import t from "i18next";
|
|
2
|
+
import { default as b } from "i18next";
|
|
3
|
+
import { initReactI18next as l } from "react-i18next";
|
|
4
|
+
const a = {
|
|
5
5
|
common: {
|
|
6
6
|
save: "Save",
|
|
7
7
|
cancel: "Cancel",
|
|
@@ -980,7 +980,7 @@ const e = {
|
|
|
980
980
|
label: "{{state}} {{amount}}"
|
|
981
981
|
}
|
|
982
982
|
}
|
|
983
|
-
},
|
|
983
|
+
}, n = {
|
|
984
984
|
common: {
|
|
985
985
|
save: "Salva",
|
|
986
986
|
cancel: "Annulla",
|
|
@@ -1925,7 +1925,7 @@ const e = {
|
|
|
1925
1925
|
label: "{{state}} {{amount}}"
|
|
1926
1926
|
}
|
|
1927
1927
|
}
|
|
1928
|
-
},
|
|
1928
|
+
}, i = {
|
|
1929
1929
|
common: {
|
|
1930
1930
|
save: "Speichern",
|
|
1931
1931
|
cancel: "Abbrechen",
|
|
@@ -2870,42 +2870,60 @@ const e = {
|
|
|
2870
2870
|
label: "{{state}} {{amount}}"
|
|
2871
2871
|
}
|
|
2872
2872
|
}
|
|
2873
|
-
},
|
|
2874
|
-
en:
|
|
2875
|
-
it:
|
|
2876
|
-
de:
|
|
2877
|
-
ar:
|
|
2878
|
-
}
|
|
2879
|
-
|
|
2873
|
+
}, o = {}, p = ["en", "it", "de", "ar"], m = {
|
|
2874
|
+
en: a,
|
|
2875
|
+
it: n,
|
|
2876
|
+
de: i,
|
|
2877
|
+
ar: o
|
|
2878
|
+
};
|
|
2879
|
+
function g(r, s) {
|
|
2880
|
+
t.addResourceBundle(
|
|
2881
|
+
r,
|
|
2882
|
+
"ui",
|
|
2883
|
+
s,
|
|
2884
|
+
/* deep */
|
|
2885
|
+
!0,
|
|
2886
|
+
/* overwrite */
|
|
2887
|
+
!1
|
|
2888
|
+
);
|
|
2889
|
+
}
|
|
2890
|
+
const c = {}, e = typeof import.meta < "u" && typeof c < "u" && !1;
|
|
2891
|
+
t.use(l).init({
|
|
2880
2892
|
lng: "en",
|
|
2881
2893
|
fallbackLng: "en",
|
|
2882
2894
|
ns: ["ui"],
|
|
2883
2895
|
defaultNS: "ui",
|
|
2884
|
-
debug:
|
|
2885
|
-
saveMissing:
|
|
2896
|
+
debug: e,
|
|
2897
|
+
saveMissing: e,
|
|
2886
2898
|
missingKeyHandler: void 0,
|
|
2887
2899
|
interpolation: {
|
|
2888
2900
|
escapeValue: !1
|
|
2889
2901
|
},
|
|
2890
|
-
//
|
|
2891
|
-
//
|
|
2892
|
-
//
|
|
2893
|
-
//
|
|
2894
|
-
// We mirror the bundle under a `ui` sub-key so both call sites resolve
|
|
2895
|
-
// to the same strings rather than rendering the raw key.
|
|
2902
|
+
// Bare keys only — components call `t('common.save')` and resolve via
|
|
2903
|
+
// defaultNS 'ui'. The namespaced form `t('ui.common.save')` is rejected
|
|
2904
|
+
// by `scripts/check-no-namespaced-i18n.ts` so the two conventions cannot
|
|
2905
|
+
// drift apart again.
|
|
2896
2906
|
resources: {
|
|
2897
|
-
en: { ui:
|
|
2898
|
-
//
|
|
2899
|
-
//
|
|
2900
|
-
// changeLanguage('
|
|
2901
|
-
|
|
2907
|
+
en: { ui: a },
|
|
2908
|
+
// Italian + German are real production locales; auto-registering them
|
|
2909
|
+
// here means a consumer that imports '@alfadocs/ui-kit/i18n' and calls
|
|
2910
|
+
// `changeLanguage('it' | 'de')` gets the right bundle with zero wiring.
|
|
2911
|
+
it: { ui: n },
|
|
2912
|
+
de: { ui: i },
|
|
2913
|
+
// Arabic is non-production — it exists so `changeLanguage('ar')`
|
|
2914
|
+
// resolves without a 404 and `i18n.dir('ar')` returns 'rtl' for RTL
|
|
2915
|
+
// story coverage. Keys fall back to English.
|
|
2916
|
+
ar: { ui: o }
|
|
2902
2917
|
}
|
|
2903
2918
|
});
|
|
2904
2919
|
export {
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2920
|
+
p as LOCALES_WITH_BUNDLES,
|
|
2921
|
+
o as arUi,
|
|
2922
|
+
i as deUi,
|
|
2923
|
+
b as default,
|
|
2924
|
+
a as enUi,
|
|
2925
|
+
n as itUi,
|
|
2926
|
+
g as registerUiBundle,
|
|
2927
|
+
m as uiResources
|
|
2910
2928
|
};
|
|
2911
2929
|
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Register or extend the `ui` namespace bundle for a locale.
|
|
3
|
+
*
|
|
4
|
+
* Use this only when:
|
|
5
|
+
* - You're shipping a locale the kit doesn't bundle yet (currently
|
|
6
|
+
* en / it / de / ar are auto-registered; ask the DS team before
|
|
7
|
+
* adding more)
|
|
8
|
+
* - You're overriding individual kit strings for a specific consumer
|
|
9
|
+
*
|
|
10
|
+
* Calling `i18next.addResourceBundle` directly is considered private
|
|
11
|
+
* API — go through this helper so that the deep-merge / overwrite
|
|
12
|
+
* semantics stay consistent across consumers.
|
|
13
|
+
*/
|
|
14
|
+
export declare function registerUiBundle(locale: string, bundle: Record<string, unknown>): void;
|
|
15
|
+
//# sourceMappingURL=registerUiBundle.d.ts.map
|