@ledgerhq/lumen-ui-rnative 0.1.65 → 0.1.66
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/module/index.js +1 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.js +1 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.js.map +1 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.js +1 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.js.map +1 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.js +1 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.js.map +1 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.js +1 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.js.map +1 -1
- package/dist/module/lib/Components/core/Banner/Banner.js +1 -1
- package/dist/module/lib/Components/core/Banner/Banner.js.map +1 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheetHeader.js +1 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheetHeader.js.map +1 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.js +1 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.js.map +1 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.js +1 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.js.map +1 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.js +1 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.js.map +1 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.js +1 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.js.map +1 -1
- package/dist/module/lib/Components/core/Spinner/Spinner.js +1 -1
- package/dist/module/lib/Components/core/Spinner/Spinner.js.map +1 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.js +1 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.js.map +1 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.js +5 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.js.map +1 -1
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.js +2 -2
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js +9 -0
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js.map +1 -1
- package/dist/module/lib/Components/core/Toast/hooks/useToastAccessibility.js +1 -1
- package/dist/module/lib/Components/core/Toast/hooks/useToastAccessibility.js.map +1 -1
- package/dist/module/lib/Components/core/Trend/Trend.js +1 -1
- package/dist/module/lib/Components/core/Trend/Trend.js.map +1 -1
- package/dist/module/lib/Components/internal/BaseInput/BaseInput.js +1 -1
- package/dist/module/lib/Components/internal/BaseInput/BaseInput.js.map +1 -1
- package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js +6 -2
- package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js.map +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.js +8 -4
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.js.map +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutRing.js +12 -3
- package/dist/module/lib/Components/visualization/DonutChart/DonutRing.js.map +1 -1
- package/dist/module/lib/Components/visualization/Legend/Legend.js +1 -1
- package/dist/module/lib/Components/visualization/Legend/Legend.js.map +1 -1
- package/dist/module/lib/Components/visualization/Legend/Legend.test.js +12 -8
- package/dist/module/lib/Components/visualization/Legend/Legend.test.js.map +1 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.js +8 -2
- package/dist/module/lib/Components/visualization/LineChart/LineChart.js.map +1 -1
- package/dist/module/lib/Components/visualization/LineChart/utils.js +3 -2
- package/dist/module/lib/Components/visualization/LineChart/utils.js.map +1 -1
- package/dist/module/lib/Components/visualization/LineChart/utils.test.js +8 -4
- package/dist/module/lib/Components/visualization/LineChart/utils.test.js.map +1 -1
- package/dist/module/lib/Components/visualization/config.js +1 -4
- package/dist/module/lib/Components/visualization/config.js.map +1 -1
- package/dist/module/translations/index.js +5 -0
- package/dist/module/translations/index.js.map +1 -0
- package/dist/module/{i18n → translations}/languages.js +0 -6
- package/dist/module/translations/languages.js.map +1 -0
- package/dist/module/{i18n → translations}/locales/de.json +0 -3
- package/{src/i18n → dist/module/translations}/locales/en.json +9 -3
- package/{src/i18n → dist/module/translations}/locales/es.json +0 -3
- package/dist/module/{i18n → translations}/locales/fr.json +0 -3
- package/{src/i18n → dist/module/translations}/locales/ja.json +0 -3
- package/dist/module/{i18n → translations}/locales/ko.json +0 -3
- package/dist/module/{i18n → translations}/locales/pt.json +0 -3
- package/dist/module/{i18n → translations}/locales/ru.json +0 -3
- package/dist/module/{i18n → translations}/locales/th.json +0 -3
- package/dist/module/{i18n → translations}/locales/tr.json +0 -3
- package/{src/i18n → dist/module/translations}/locales/zh.json +0 -3
- package/dist/module/translations/translations.js +36 -0
- package/dist/module/translations/translations.js.map +1 -0
- package/dist/module/translations/translations.test.js +34 -0
- package/dist/module/translations/translations.test.js.map +1 -0
- package/dist/typescript/src/index.d.ts +1 -1
- package/dist/typescript/src/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Subheader/Subheader.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/ThemeProvider/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/ThemeProvider/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChart.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutRing.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Legend/Legend.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Legend/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/visualization/LineChart/LineChart.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/LineChart.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/utils.d.ts +2 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/utils.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/config.d.ts +0 -3
- package/dist/typescript/src/lib/Components/visualization/config.d.ts.map +1 -1
- package/dist/typescript/src/translations/index.d.ts +3 -0
- package/dist/typescript/src/translations/index.d.ts.map +1 -0
- package/dist/typescript/src/{i18n → translations}/languages.d.ts +0 -5
- package/dist/typescript/src/translations/languages.d.ts.map +1 -0
- package/dist/typescript/src/translations/translations.d.ts +421 -0
- package/dist/typescript/src/translations/translations.d.ts.map +1 -0
- package/package.json +3 -5
- package/src/index.ts +1 -1
- package/src/lib/Components/core/AddressInput/AddressInput.tsx +1 -1
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.tsx +1 -1
- package/src/lib/Components/core/AmountInput/AmountInput.tsx +1 -1
- package/src/lib/Components/core/Avatar/Avatar.tsx +1 -1
- package/src/lib/Components/core/Banner/Banner.tsx +1 -1
- package/src/lib/Components/core/BottomSheet/BottomSheetHeader.tsx +1 -1
- package/src/lib/Components/core/ContentBanner/ContentBanner.tsx +1 -1
- package/src/lib/Components/core/MediaBanner/MediaBanner.tsx +1 -1
- package/src/lib/Components/core/MediaCard/MediaCard.tsx +1 -1
- package/src/lib/Components/core/NavBar/NavBar.tsx +1 -1
- package/src/lib/Components/core/Spinner/Spinner.tsx +1 -1
- package/src/lib/Components/core/Stepper/Stepper.tsx +1 -1
- package/src/lib/Components/core/Subheader/Subheader.tsx +3 -1
- package/src/lib/Components/core/ThemeProvider/ThemeProvider.test.tsx +11 -0
- package/src/lib/Components/core/ThemeProvider/ThemeProvider.tsx +3 -3
- package/src/lib/Components/core/ThemeProvider/types.ts +1 -1
- package/src/lib/Components/core/Toast/hooks/useToastAccessibility.ts +1 -1
- package/src/lib/Components/core/Trend/Trend.tsx +1 -1
- package/src/lib/Components/internal/BaseInput/BaseInput.tsx +1 -1
- package/src/lib/Components/visualization/CartesianChart/CartesianChart.tsx +4 -2
- package/src/lib/Components/visualization/CartesianChart/types.ts +1 -1
- package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +1 -3
- package/src/lib/Components/visualization/DonutChart/DonutChart.tsx +7 -3
- package/src/lib/Components/visualization/DonutChart/DonutRing.tsx +11 -1
- package/src/lib/Components/visualization/DonutChart/types.ts +1 -1
- package/src/lib/Components/visualization/Legend/Legend.test.tsx +9 -8
- package/src/lib/Components/visualization/Legend/Legend.tsx +1 -1
- package/src/lib/Components/visualization/Legend/types.ts +2 -2
- package/src/lib/Components/visualization/LineChart/LineChart.tsx +10 -2
- package/src/lib/Components/visualization/LineChart/types.ts +1 -1
- package/src/lib/Components/visualization/LineChart/utils.test.ts +4 -0
- package/src/lib/Components/visualization/LineChart/utils.ts +6 -2
- package/src/lib/Components/visualization/config.ts +0 -3
- package/src/translations/index.ts +2 -0
- package/src/{i18n → translations}/languages.ts +0 -6
- package/src/{i18n → translations}/locales/de.json +0 -3
- package/{dist/module/i18n → src/translations}/locales/en.json +9 -3
- package/{dist/module/i18n → src/translations}/locales/es.json +0 -3
- package/src/{i18n → translations}/locales/fr.json +0 -3
- package/{dist/module/i18n → src/translations}/locales/ja.json +0 -3
- package/src/{i18n → translations}/locales/ko.json +0 -3
- package/src/{i18n → translations}/locales/pt.json +0 -3
- package/src/{i18n → translations}/locales/ru.json +0 -3
- package/src/{i18n → translations}/locales/th.json +0 -3
- package/src/{i18n → translations}/locales/tr.json +0 -3
- package/{dist/module/i18n → src/translations}/locales/zh.json +0 -3
- package/src/translations/translations.test.ts +56 -0
- package/src/translations/translations.ts +21 -0
- package/dist/module/i18n/I18nProvider.js +0 -20
- package/dist/module/i18n/I18nProvider.js.map +0 -1
- package/dist/module/i18n/i18n.js +0 -82
- package/dist/module/i18n/i18n.js.map +0 -1
- package/dist/module/i18n/index.js +0 -6
- package/dist/module/i18n/index.js.map +0 -1
- package/dist/module/i18n/languages.js.map +0 -1
- package/dist/module/i18n/useCommonTranslation.js +0 -8
- package/dist/module/i18n/useCommonTranslation.js.map +0 -1
- package/dist/typescript/src/i18n/I18nProvider.d.ts +0 -8
- package/dist/typescript/src/i18n/I18nProvider.d.ts.map +0 -1
- package/dist/typescript/src/i18n/i18n.d.ts +0 -13
- package/dist/typescript/src/i18n/i18n.d.ts.map +0 -1
- package/dist/typescript/src/i18n/index.d.ts +0 -4
- package/dist/typescript/src/i18n/index.d.ts.map +0 -1
- package/dist/typescript/src/i18n/languages.d.ts.map +0 -1
- package/dist/typescript/src/i18n/useCommonTranslation.d.ts +0 -2
- package/dist/typescript/src/i18n/useCommonTranslation.d.ts.map +0 -1
- package/src/i18n/I18nProvider.tsx +0 -20
- package/src/i18n/i18n.ts +0 -107
- package/src/i18n/index.ts +0 -3
- package/src/i18n/useCommonTranslation.ts +0 -6
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { describe, expect, it } from '@jest/globals';
|
|
4
|
+
import { dictionaries } from "./translations.js";
|
|
5
|
+
const flatten = (dictionary, prefix = '') => Object.entries(dictionary).reduce((entries, [key, value]) => {
|
|
6
|
+
const path = prefix ? `${prefix}.${key}` : key;
|
|
7
|
+
return typeof value === 'string' ? {
|
|
8
|
+
...entries,
|
|
9
|
+
[path]: value
|
|
10
|
+
} : {
|
|
11
|
+
...entries,
|
|
12
|
+
...flatten(value, path)
|
|
13
|
+
};
|
|
14
|
+
}, {});
|
|
15
|
+
const placeholdersOf = value => [...value.matchAll(/\{\{\s*(\w+)\s*\}\}/g)].map(([, name]) => name).sort();
|
|
16
|
+
|
|
17
|
+
// Keys that are allowed to fall back to en until they are translated.
|
|
18
|
+
const UNTRANSLATED_KEYS = ['components.trend.positiveAriaLabel', 'components.trend.negativeAriaLabel', 'components.trend.neutralAriaLabel', 'components.chart.emptyLabel', 'components.chart.loadingAriaLabel', 'components.chart.defaultAriaLabel', 'components.chart.selectedSegmentAriaLabel', 'components.subheader.moreInfoAriaLabel'];
|
|
19
|
+
const source = flatten(dictionaries.en);
|
|
20
|
+
const locales = Object.entries(dictionaries).filter(([locale]) => locale !== 'en').map(([locale, dictionary]) => [locale, flatten(dictionary)]);
|
|
21
|
+
describe('translation dictionaries', () => {
|
|
22
|
+
it.each(locales)('%s has no key that en lacks', (_, entries) => {
|
|
23
|
+
expect(Object.keys(entries).filter(key => !(key in source))).toEqual([]);
|
|
24
|
+
});
|
|
25
|
+
it.each(locales)('%s translates every en key', (_, entries) => {
|
|
26
|
+
const missing = Object.keys(source).filter(key => !(key in entries) && !UNTRANSLATED_KEYS.includes(key));
|
|
27
|
+
expect(missing).toEqual([]);
|
|
28
|
+
});
|
|
29
|
+
it.each(locales)('%s uses the same placeholders as en', (_, entries) => {
|
|
30
|
+
const mismatches = Object.entries(entries).filter(([key, value]) => placeholdersOf(value).join() !== placeholdersOf(source[key] ?? '').join());
|
|
31
|
+
expect(mismatches).toEqual([]);
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=translations.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["describe","expect","it","dictionaries","flatten","dictionary","prefix","Object","entries","reduce","key","value","path","placeholdersOf","matchAll","map","name","sort","UNTRANSLATED_KEYS","source","en","locales","filter","locale","each","_","keys","toEqual","missing","includes","mismatches","join"],"sourceRoot":"../../../src","sources":["translations/translations.test.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { type SupportedLocale, Languages } from './
|
|
1
|
+
export { type SupportedLocale, Languages } from './translations';
|
|
2
2
|
export { RuntimeConstants, useControllableState } from './lib/utils';
|
|
3
3
|
export { useTheme, useStyleSheet } from './styles';
|
|
4
4
|
export * from './lib/Components';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACnD,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subheader.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/Subheader/Subheader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Subheader.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/Subheader/Subheader.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,mCAK5B,mBAAmB,4CAyBrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,4CAM1B,iBAAiB,4CA8BnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,wCAM5B,mBAAmB,4CAqBrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,+BAI3B,kBAAkB,4CAYpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,yBAI/B,sBAAsB,4CAoBxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,mCAKlC,yBAAyB,4CAkB3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,SAAS,GAAI,mCAKvB,cAAc,4CAiBhB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PropsWithChildren } from 'react';
|
|
2
2
|
import type { ColorSchemeName } from 'react-native';
|
|
3
|
-
import type { SupportedLocale } from '../../../../i18n/languages';
|
|
4
3
|
import type { LumenThemes } from '../../../../styles';
|
|
4
|
+
import type { SupportedLocale } from '../../../../translations/languages';
|
|
5
5
|
export type ThemeProviderProps = PropsWithChildren & {
|
|
6
6
|
/**
|
|
7
7
|
* The colors scheme of the theme.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/ThemeProvider/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/ThemeProvider/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAE1E,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAAG;IACnD;;OAEG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB;;OAEG;IACH,MAAM,EAAE,WAAW,CAAC;CACrB,CAAC"}
|
package/dist/typescript/src/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CartesianChart.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/CartesianChart/CartesianChart.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CartesianChart.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/CartesianChart/CartesianChart.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AASnD,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,KAAK,EACL,KAAK,EACL,KAAK,EACL,MAAuB,EACvB,KAAK,EACL,WAAW,EACX,SAAS,EACT,QAAgB,EAChB,OAAO,EACP,QAAQ,EACR,eAAuB,EACvB,wBAAwB,EACxB,OAAc,EACd,YAAY,GACb,EAAE,QAAQ,CAAC,mBAAmB,CAAC,2CAwF/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DonutChart.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/DonutChart/DonutChart.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DonutChart.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/DonutChart/DonutChart.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAS/C,wBAAgB,UAAU,CAAC,EACzB,MAAM,EAAE,UAAU,EAClB,IAAW,EACX,kBAAkB,EAClB,OAAe,EACf,QAAQ,EAAE,YAAY,EACtB,eAAsB,EACtB,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,mBAA2B,GAC5B,EAAE,eAAe,2CAwHjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DonutRing.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/DonutChart/DonutRing.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DonutRing.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/DonutChart/DonutRing.tsx"],"names":[],"mappings":"AAWA,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,WAAW,CAAC;AAOnB,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,SAAS,CAAC;AAiKjB,KAAK,cAAc,GAAG;IACpB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,QAAQ,EAAE,aAAa,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,gEAMvB,cAAc,4CAuChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Legend.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/Legend/Legend.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAe3C,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,
|
|
1
|
+
{"version":3,"file":"Legend.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/Legend/Legend.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAe3C,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,kBAAkB,EAClB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,WAAW,kDAmBb"}
|
|
@@ -21,8 +21,8 @@ export type LegendProps = {
|
|
|
21
21
|
*/
|
|
22
22
|
series: LegendItem[];
|
|
23
23
|
/**
|
|
24
|
-
* Accessible label for the legend
|
|
25
|
-
*
|
|
24
|
+
* Accessible label for the legend list. Optional: each item already carries
|
|
25
|
+
* its own visible text.
|
|
26
26
|
*/
|
|
27
27
|
accessibilityLabel?: string;
|
|
28
28
|
} & Omit<BoxProps, 'children'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LineChartProps } from './types';
|
|
2
|
-
export declare function LineChart({ series: seriesProp, showArea, areaType, showXAxis, showYAxis, xAxis, yAxis, width, height, inset, children, enableScrubbing, onScrubberPositionChange, animate, magnetRadius, loading, emptyLabel, connectNulls, enableColorContrast, }: LineChartProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function LineChart({ series: seriesProp, showArea, areaType, showXAxis, showYAxis, xAxis, yAxis, width, height, inset, children, enableScrubbing, onScrubberPositionChange, animate, magnetRadius, loading, emptyLabel: emptyLabelProp, connectNulls, enableColorContrast, }: LineChartProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=LineChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineChart.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/LineChart/LineChart.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LineChart.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/LineChart/LineChart.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAGV,cAAc,EAEf,MAAM,SAAS,CAAC;AA+GjB,wBAAgB,SAAS,CAAC,EACxB,MAAM,EAAE,UAAU,EAClB,QAAgB,EAChB,QAAqB,EACrB,SAAiB,EACjB,SAAiB,EACjB,KAAK,EACL,KAAK,EACL,KAAK,EACL,MAAuC,EACvC,KAAK,EACL,QAAQ,EACR,eAAuB,EACvB,wBAAwB,EACxB,OAAO,EACP,YAAY,EACZ,OAAe,EACf,UAAU,EAAE,cAAc,EAC1B,YAAY,EACZ,mBAA2B,GAC5B,EAAE,cAAc,2CA6FhB"}
|
|
@@ -50,7 +50,7 @@ export type LineChartProps = LineRenderOptions & Pick<CartesianChartProps, 'widt
|
|
|
50
50
|
/**
|
|
51
51
|
* Text shown in the centre of the chart when there is no data and the chart
|
|
52
52
|
* is not loading.
|
|
53
|
-
* @default 'No data'
|
|
53
|
+
* @default 'No data' (translated)
|
|
54
54
|
*/
|
|
55
55
|
emptyLabel?: string;
|
|
56
56
|
/**
|
|
@@ -33,8 +33,9 @@ export declare const getChartDisplayStates: ({ loading, hasData, }: ChartDisplay
|
|
|
33
33
|
* Accessibility label matching the chart's current state: the loading label
|
|
34
34
|
* while loading, the empty label when there is nothing to draw, otherwise none.
|
|
35
35
|
*/
|
|
36
|
-
export declare const getChartAriaLabel: ({ loading, hasData, emptyLabel, }: ChartDisplayStateParams & {
|
|
36
|
+
export declare const getChartAriaLabel: ({ loading, hasData, emptyLabel, loadingLabel, }: ChartDisplayStateParams & {
|
|
37
37
|
emptyLabel: string;
|
|
38
|
+
loadingLabel: string;
|
|
38
39
|
}) => string | undefined;
|
|
39
40
|
/**
|
|
40
41
|
* Whether any series has at least `chartConfig.emptyState.minDrawablePoints`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/LineChart/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEzD,KAAK,wBAAwB,GAAG;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;IACtC,aAAa,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;IACtC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAAI,qEAMhC,wBAAwB,KAAG,OAAO,CAAC,UAAU,CAAC,GAAG,SAanD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,uBAGnC,uBAAuB,KAAG,kBAK3B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/visualization/LineChart/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEzD,KAAK,wBAAwB,GAAG;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;IACtC,aAAa,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;IACtC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAAI,qEAMhC,wBAAwB,KAAG,OAAO,CAAC,UAAU,CAAC,GAAG,SAanD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,uBAGnC,uBAAuB,KAAG,kBAK3B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,iDAK/B,uBAAuB,GAAG;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB,KAAG,MAAM,GAAG,SAUZ,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,GACxB,QAAQ,MAAM,EAAE,GAAG,SAAS,EAC5B,QAAQ,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KACnC,OAYF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,MAAM,EAC5C,UAAU,CAAC,EACX,YAAY,OAAO,CAAC,CAAC,CAAC,KACrB,CAUF,CAAC"}
|
|
@@ -55,8 +55,6 @@ export declare const chartConfig: {
|
|
|
55
55
|
};
|
|
56
56
|
readonly emptyState: {
|
|
57
57
|
readonly minDrawablePoints: 2;
|
|
58
|
-
readonly loadingAriaLabel: "Loading chart";
|
|
59
|
-
readonly defaultLabel: "No data";
|
|
60
58
|
readonly gridLineRatios: readonly [0.3, 0.5, 0.7];
|
|
61
59
|
readonly placeholderViewWidth: 728;
|
|
62
60
|
readonly placeholderViewHeight: 208;
|
|
@@ -122,7 +120,6 @@ export declare const chartConfig: {
|
|
|
122
120
|
readonly loading: {
|
|
123
121
|
readonly duration: 2000;
|
|
124
122
|
readonly minOpacity: 0.5;
|
|
125
|
-
readonly ariaLabel: "Loading donut chart";
|
|
126
123
|
};
|
|
127
124
|
};
|
|
128
125
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/visualization/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW;;;8BAGqC,UAAU;;;;;;;;;;;;;;;;;;;;;QAyBnE,uFAAuF
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/visualization/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW;;;8BAGqC,UAAU;;;;;;;;;;;;;;;;;;;;;QAyBnE,uFAAuF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA4CvF,wEAAwE;;;;YAItE,8EAA8E;;YAE9E;;;;eAIG;;;QAGL,oFAAoF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC9E,CAAC;AAEX,2DAA2D;AAC3D,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,YAAY,EAAE,MAAM,CAAC;IACrB,wEAAwE;IACxE,aAAa,EAAE,MAAM,CAAC;IACtB,4EAA4E;IAC5E,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;CAAyB,CAAC;AAErD,eAAO,MAAM,iBAAiB;;;;;CAAgC,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,cAAc,CAAC;AAEvD,KAAK,KAAK,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;AAElD;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,GAAI,GAAG,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BvB,CAAC;AAEd,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAShE,eAAO,MAAM,cAAc,QAAO,WAQjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/translations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -44,9 +44,4 @@ export declare const DEFAULT_LANGUAGE: "en";
|
|
|
44
44
|
* Supported locales type
|
|
45
45
|
*/
|
|
46
46
|
export type SupportedLocale = keyof typeof Languages;
|
|
47
|
-
/**
|
|
48
|
-
* Default namespace for i18n
|
|
49
|
-
* Currently there is only one namespace
|
|
50
|
-
*/
|
|
51
|
-
export declare const I18N_DEFAULT_NAMESPACE = "common";
|
|
52
47
|
//# sourceMappingURL=languages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"languages.d.ts","sourceRoot":"","sources":["../../../../src/translations/languages.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC6B,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,gBAAgB,MAAkB,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,SAAS,CAAC"}
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
export declare const dictionaries: {
|
|
2
|
+
de: {
|
|
3
|
+
common: {
|
|
4
|
+
closeAriaLabel: string;
|
|
5
|
+
};
|
|
6
|
+
components: {
|
|
7
|
+
addressInput: {
|
|
8
|
+
qrCodeAriaLabel: string;
|
|
9
|
+
};
|
|
10
|
+
amountDisplay: {
|
|
11
|
+
amountHiddenAriaLabel: string;
|
|
12
|
+
};
|
|
13
|
+
avatar: {
|
|
14
|
+
defaultAriaLabel: string;
|
|
15
|
+
};
|
|
16
|
+
baseInput: {
|
|
17
|
+
clearInputAriaLabel: string;
|
|
18
|
+
};
|
|
19
|
+
spinner: {
|
|
20
|
+
loadingAriaLabel: string;
|
|
21
|
+
};
|
|
22
|
+
bottomSheetHeader: {
|
|
23
|
+
goBackAriaLabel: string;
|
|
24
|
+
closeAriaLabel: string;
|
|
25
|
+
};
|
|
26
|
+
banner: {
|
|
27
|
+
closeAriaLabel: string;
|
|
28
|
+
};
|
|
29
|
+
stepper: {
|
|
30
|
+
progressAriaLabel: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
en: {
|
|
35
|
+
common: {
|
|
36
|
+
closeAriaLabel: string;
|
|
37
|
+
};
|
|
38
|
+
components: {
|
|
39
|
+
addressInput: {
|
|
40
|
+
qrCodeAriaLabel: string;
|
|
41
|
+
};
|
|
42
|
+
amountDisplay: {
|
|
43
|
+
amountHiddenAriaLabel: string;
|
|
44
|
+
};
|
|
45
|
+
avatar: {
|
|
46
|
+
defaultAriaLabel: string;
|
|
47
|
+
};
|
|
48
|
+
baseInput: {
|
|
49
|
+
clearInputAriaLabel: string;
|
|
50
|
+
};
|
|
51
|
+
spinner: {
|
|
52
|
+
loadingAriaLabel: string;
|
|
53
|
+
};
|
|
54
|
+
bottomSheetHeader: {
|
|
55
|
+
goBackAriaLabel: string;
|
|
56
|
+
closeAriaLabel: string;
|
|
57
|
+
};
|
|
58
|
+
banner: {
|
|
59
|
+
closeAriaLabel: string;
|
|
60
|
+
};
|
|
61
|
+
stepper: {
|
|
62
|
+
progressAriaLabel: string;
|
|
63
|
+
};
|
|
64
|
+
trend: {
|
|
65
|
+
positiveAriaLabel: string;
|
|
66
|
+
negativeAriaLabel: string;
|
|
67
|
+
neutralAriaLabel: string;
|
|
68
|
+
};
|
|
69
|
+
chart: {
|
|
70
|
+
emptyLabel: string;
|
|
71
|
+
loadingAriaLabel: string;
|
|
72
|
+
defaultAriaLabel: string;
|
|
73
|
+
selectedSegmentAriaLabel: string;
|
|
74
|
+
};
|
|
75
|
+
subheader: {
|
|
76
|
+
moreInfoAriaLabel: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
es: {
|
|
81
|
+
common: {
|
|
82
|
+
closeAriaLabel: string;
|
|
83
|
+
};
|
|
84
|
+
components: {
|
|
85
|
+
addressInput: {
|
|
86
|
+
qrCodeAriaLabel: string;
|
|
87
|
+
};
|
|
88
|
+
amountDisplay: {
|
|
89
|
+
amountHiddenAriaLabel: string;
|
|
90
|
+
};
|
|
91
|
+
avatar: {
|
|
92
|
+
defaultAriaLabel: string;
|
|
93
|
+
};
|
|
94
|
+
baseInput: {
|
|
95
|
+
clearInputAriaLabel: string;
|
|
96
|
+
};
|
|
97
|
+
spinner: {
|
|
98
|
+
loadingAriaLabel: string;
|
|
99
|
+
};
|
|
100
|
+
bottomSheetHeader: {
|
|
101
|
+
goBackAriaLabel: string;
|
|
102
|
+
closeAriaLabel: string;
|
|
103
|
+
};
|
|
104
|
+
banner: {
|
|
105
|
+
closeAriaLabel: string;
|
|
106
|
+
};
|
|
107
|
+
stepper: {
|
|
108
|
+
progressAriaLabel: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
fr: {
|
|
113
|
+
common: {
|
|
114
|
+
closeAriaLabel: string;
|
|
115
|
+
};
|
|
116
|
+
components: {
|
|
117
|
+
addressInput: {
|
|
118
|
+
qrCodeAriaLabel: string;
|
|
119
|
+
};
|
|
120
|
+
amountDisplay: {
|
|
121
|
+
amountHiddenAriaLabel: string;
|
|
122
|
+
};
|
|
123
|
+
avatar: {
|
|
124
|
+
defaultAriaLabel: string;
|
|
125
|
+
};
|
|
126
|
+
baseInput: {
|
|
127
|
+
clearInputAriaLabel: string;
|
|
128
|
+
};
|
|
129
|
+
spinner: {
|
|
130
|
+
loadingAriaLabel: string;
|
|
131
|
+
};
|
|
132
|
+
bottomSheetHeader: {
|
|
133
|
+
goBackAriaLabel: string;
|
|
134
|
+
closeAriaLabel: string;
|
|
135
|
+
};
|
|
136
|
+
banner: {
|
|
137
|
+
closeAriaLabel: string;
|
|
138
|
+
};
|
|
139
|
+
stepper: {
|
|
140
|
+
progressAriaLabel: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
ja: {
|
|
145
|
+
common: {
|
|
146
|
+
closeAriaLabel: string;
|
|
147
|
+
};
|
|
148
|
+
components: {
|
|
149
|
+
addressInput: {
|
|
150
|
+
qrCodeAriaLabel: string;
|
|
151
|
+
};
|
|
152
|
+
amountDisplay: {
|
|
153
|
+
amountHiddenAriaLabel: string;
|
|
154
|
+
};
|
|
155
|
+
avatar: {
|
|
156
|
+
defaultAriaLabel: string;
|
|
157
|
+
};
|
|
158
|
+
baseInput: {
|
|
159
|
+
clearInputAriaLabel: string;
|
|
160
|
+
};
|
|
161
|
+
spinner: {
|
|
162
|
+
loadingAriaLabel: string;
|
|
163
|
+
};
|
|
164
|
+
bottomSheetHeader: {
|
|
165
|
+
goBackAriaLabel: string;
|
|
166
|
+
closeAriaLabel: string;
|
|
167
|
+
};
|
|
168
|
+
banner: {
|
|
169
|
+
closeAriaLabel: string;
|
|
170
|
+
};
|
|
171
|
+
stepper: {
|
|
172
|
+
progressAriaLabel: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
ko: {
|
|
177
|
+
common: {
|
|
178
|
+
closeAriaLabel: string;
|
|
179
|
+
};
|
|
180
|
+
components: {
|
|
181
|
+
addressInput: {
|
|
182
|
+
qrCodeAriaLabel: string;
|
|
183
|
+
};
|
|
184
|
+
amountDisplay: {
|
|
185
|
+
amountHiddenAriaLabel: string;
|
|
186
|
+
};
|
|
187
|
+
avatar: {
|
|
188
|
+
defaultAriaLabel: string;
|
|
189
|
+
};
|
|
190
|
+
baseInput: {
|
|
191
|
+
clearInputAriaLabel: string;
|
|
192
|
+
};
|
|
193
|
+
spinner: {
|
|
194
|
+
loadingAriaLabel: string;
|
|
195
|
+
};
|
|
196
|
+
bottomSheetHeader: {
|
|
197
|
+
goBackAriaLabel: string;
|
|
198
|
+
closeAriaLabel: string;
|
|
199
|
+
};
|
|
200
|
+
banner: {
|
|
201
|
+
closeAriaLabel: string;
|
|
202
|
+
};
|
|
203
|
+
stepper: {
|
|
204
|
+
progressAriaLabel: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
pt: {
|
|
209
|
+
common: {
|
|
210
|
+
closeAriaLabel: string;
|
|
211
|
+
};
|
|
212
|
+
components: {
|
|
213
|
+
addressInput: {
|
|
214
|
+
qrCodeAriaLabel: string;
|
|
215
|
+
};
|
|
216
|
+
amountDisplay: {
|
|
217
|
+
amountHiddenAriaLabel: string;
|
|
218
|
+
};
|
|
219
|
+
avatar: {
|
|
220
|
+
defaultAriaLabel: string;
|
|
221
|
+
};
|
|
222
|
+
baseInput: {
|
|
223
|
+
clearInputAriaLabel: string;
|
|
224
|
+
};
|
|
225
|
+
spinner: {
|
|
226
|
+
loadingAriaLabel: string;
|
|
227
|
+
};
|
|
228
|
+
bottomSheetHeader: {
|
|
229
|
+
goBackAriaLabel: string;
|
|
230
|
+
closeAriaLabel: string;
|
|
231
|
+
};
|
|
232
|
+
banner: {
|
|
233
|
+
closeAriaLabel: string;
|
|
234
|
+
};
|
|
235
|
+
stepper: {
|
|
236
|
+
progressAriaLabel: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
ru: {
|
|
241
|
+
common: {
|
|
242
|
+
closeAriaLabel: string;
|
|
243
|
+
};
|
|
244
|
+
components: {
|
|
245
|
+
addressInput: {
|
|
246
|
+
qrCodeAriaLabel: string;
|
|
247
|
+
};
|
|
248
|
+
amountDisplay: {
|
|
249
|
+
amountHiddenAriaLabel: string;
|
|
250
|
+
};
|
|
251
|
+
avatar: {
|
|
252
|
+
defaultAriaLabel: string;
|
|
253
|
+
};
|
|
254
|
+
baseInput: {
|
|
255
|
+
clearInputAriaLabel: string;
|
|
256
|
+
};
|
|
257
|
+
spinner: {
|
|
258
|
+
loadingAriaLabel: string;
|
|
259
|
+
};
|
|
260
|
+
bottomSheetHeader: {
|
|
261
|
+
goBackAriaLabel: string;
|
|
262
|
+
closeAriaLabel: string;
|
|
263
|
+
};
|
|
264
|
+
banner: {
|
|
265
|
+
closeAriaLabel: string;
|
|
266
|
+
};
|
|
267
|
+
stepper: {
|
|
268
|
+
progressAriaLabel: string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
th: {
|
|
273
|
+
common: {
|
|
274
|
+
closeAriaLabel: string;
|
|
275
|
+
};
|
|
276
|
+
components: {
|
|
277
|
+
addressInput: {
|
|
278
|
+
qrCodeAriaLabel: string;
|
|
279
|
+
};
|
|
280
|
+
amountDisplay: {
|
|
281
|
+
amountHiddenAriaLabel: string;
|
|
282
|
+
};
|
|
283
|
+
avatar: {
|
|
284
|
+
defaultAriaLabel: string;
|
|
285
|
+
};
|
|
286
|
+
baseInput: {
|
|
287
|
+
clearInputAriaLabel: string;
|
|
288
|
+
};
|
|
289
|
+
spinner: {
|
|
290
|
+
loadingAriaLabel: string;
|
|
291
|
+
};
|
|
292
|
+
bottomSheetHeader: {
|
|
293
|
+
goBackAriaLabel: string;
|
|
294
|
+
closeAriaLabel: string;
|
|
295
|
+
};
|
|
296
|
+
banner: {
|
|
297
|
+
closeAriaLabel: string;
|
|
298
|
+
};
|
|
299
|
+
stepper: {
|
|
300
|
+
progressAriaLabel: string;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
tr: {
|
|
305
|
+
common: {
|
|
306
|
+
closeAriaLabel: string;
|
|
307
|
+
};
|
|
308
|
+
components: {
|
|
309
|
+
addressInput: {
|
|
310
|
+
qrCodeAriaLabel: string;
|
|
311
|
+
};
|
|
312
|
+
amountDisplay: {
|
|
313
|
+
amountHiddenAriaLabel: string;
|
|
314
|
+
};
|
|
315
|
+
avatar: {
|
|
316
|
+
defaultAriaLabel: string;
|
|
317
|
+
};
|
|
318
|
+
baseInput: {
|
|
319
|
+
clearInputAriaLabel: string;
|
|
320
|
+
};
|
|
321
|
+
spinner: {
|
|
322
|
+
loadingAriaLabel: string;
|
|
323
|
+
};
|
|
324
|
+
bottomSheetHeader: {
|
|
325
|
+
goBackAriaLabel: string;
|
|
326
|
+
closeAriaLabel: string;
|
|
327
|
+
};
|
|
328
|
+
banner: {
|
|
329
|
+
closeAriaLabel: string;
|
|
330
|
+
};
|
|
331
|
+
stepper: {
|
|
332
|
+
progressAriaLabel: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
zh: {
|
|
337
|
+
common: {
|
|
338
|
+
closeAriaLabel: string;
|
|
339
|
+
};
|
|
340
|
+
components: {
|
|
341
|
+
addressInput: {
|
|
342
|
+
qrCodeAriaLabel: string;
|
|
343
|
+
};
|
|
344
|
+
amountDisplay: {
|
|
345
|
+
amountHiddenAriaLabel: string;
|
|
346
|
+
};
|
|
347
|
+
avatar: {
|
|
348
|
+
defaultAriaLabel: string;
|
|
349
|
+
};
|
|
350
|
+
baseInput: {
|
|
351
|
+
clearInputAriaLabel: string;
|
|
352
|
+
};
|
|
353
|
+
spinner: {
|
|
354
|
+
loadingAriaLabel: string;
|
|
355
|
+
};
|
|
356
|
+
bottomSheetHeader: {
|
|
357
|
+
goBackAriaLabel: string;
|
|
358
|
+
closeAriaLabel: string;
|
|
359
|
+
};
|
|
360
|
+
banner: {
|
|
361
|
+
closeAriaLabel: string;
|
|
362
|
+
};
|
|
363
|
+
stepper: {
|
|
364
|
+
progressAriaLabel: string;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
export declare const TranslationsProvider: import("react").FC<{
|
|
370
|
+
locale?: "de" | "en" | "es" | "fr" | "ja" | "ko" | "pt" | "ru" | "th" | "tr" | "zh" | undefined;
|
|
371
|
+
children: import("react").ReactNode;
|
|
372
|
+
}>, useCommonTranslation: () => {
|
|
373
|
+
locale: "de" | "en" | "es" | "fr" | "ja" | "ko" | "pt" | "ru" | "th" | "tr" | "zh";
|
|
374
|
+
t: import("@ledgerhq/lumen-utils-shared").Translate<{
|
|
375
|
+
common: {
|
|
376
|
+
closeAriaLabel: string;
|
|
377
|
+
};
|
|
378
|
+
components: {
|
|
379
|
+
addressInput: {
|
|
380
|
+
qrCodeAriaLabel: string;
|
|
381
|
+
};
|
|
382
|
+
amountDisplay: {
|
|
383
|
+
amountHiddenAriaLabel: string;
|
|
384
|
+
};
|
|
385
|
+
avatar: {
|
|
386
|
+
defaultAriaLabel: string;
|
|
387
|
+
};
|
|
388
|
+
baseInput: {
|
|
389
|
+
clearInputAriaLabel: string;
|
|
390
|
+
};
|
|
391
|
+
spinner: {
|
|
392
|
+
loadingAriaLabel: string;
|
|
393
|
+
};
|
|
394
|
+
bottomSheetHeader: {
|
|
395
|
+
goBackAriaLabel: string;
|
|
396
|
+
closeAriaLabel: string;
|
|
397
|
+
};
|
|
398
|
+
banner: {
|
|
399
|
+
closeAriaLabel: string;
|
|
400
|
+
};
|
|
401
|
+
stepper: {
|
|
402
|
+
progressAriaLabel: string;
|
|
403
|
+
};
|
|
404
|
+
trend: {
|
|
405
|
+
positiveAriaLabel: string;
|
|
406
|
+
negativeAriaLabel: string;
|
|
407
|
+
neutralAriaLabel: string;
|
|
408
|
+
};
|
|
409
|
+
chart: {
|
|
410
|
+
emptyLabel: string;
|
|
411
|
+
loadingAriaLabel: string;
|
|
412
|
+
defaultAriaLabel: string;
|
|
413
|
+
selectedSegmentAriaLabel: string;
|
|
414
|
+
};
|
|
415
|
+
subheader: {
|
|
416
|
+
moreInfoAriaLabel: string;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
}>;
|
|
420
|
+
};
|
|
421
|
+
//# sourceMappingURL=translations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/translations/translations.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiD,CAAC;AAE3E,eAAO,MAAQ,oBAAoB;;;IAAmB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItE,CAAC"}
|