@ledgerhq/lumen-ui-react 0.0.60 → 0.0.62

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.
@@ -1,4 +1,4 @@
1
- export { type SupportedLocale } from './languages';
1
+ export { type SupportedLocale, Languages } from './languages';
2
2
  export { I18nProvider } from './I18nProvider';
3
3
  export { useCommonTranslation } from './useCommonTranslation';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,10 +1,40 @@
1
- const n = {
1
+ const d = {
2
+ de: {
3
+ id: "de"
4
+ },
2
5
  en: {
3
6
  id: "en"
7
+ },
8
+ es: {
9
+ id: "es"
10
+ },
11
+ fr: {
12
+ id: "fr"
13
+ },
14
+ ja: {
15
+ id: "ja"
16
+ },
17
+ ko: {
18
+ id: "ko"
19
+ },
20
+ pt: {
21
+ id: "pt"
22
+ },
23
+ ru: {
24
+ id: "ru"
25
+ },
26
+ th: {
27
+ id: "th"
28
+ },
29
+ tr: {
30
+ id: "tr"
31
+ },
32
+ zh: {
33
+ id: "zh"
4
34
  }
5
- }, o = n.en.id, A = "common";
35
+ }, i = d.en.id, t = "common";
6
36
  export {
7
- o as DEFAULT_LANGUAGE,
8
- A as I18N_DEFAULT_NAMESPACE,
9
- n as Languages
37
+ i as DEFAULT_LANGUAGE,
38
+ t as I18N_DEFAULT_NAMESPACE,
39
+ d as Languages
10
40
  };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from './lib/Components';
2
2
  export * from './lib/Patterns';
3
- export { type SupportedLocale } from './i18n';
3
+ export { type SupportedLocale, Languages } from './i18n';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
package/dist/index.js CHANGED
@@ -1,97 +1,99 @@
1
- import { AddressInput as o } from "./lib/Components/AddressInput/AddressInput.js";
2
- import { AmountInput as n } from "./lib/Components/AmountInput/AmountInput.js";
3
- import { Banner as p } from "./lib/Components/Banner/Banner.js";
4
- import { BaseInput as u } from "./lib/Components/BaseInput/BaseInput.js";
5
- import { Button as x } from "./lib/Components/Button/Button.js";
6
- import { BaseButton as f } from "./lib/Components/Button/BaseButton.js";
7
- import { CardButton as I } from "./lib/Components/CardButton/CardButton.js";
8
- import { Checkbox as S } from "./lib/Components/Checkbox/Checkbox.js";
9
- import { Dialog as s, DialogBody as M, DialogContent as d, DialogFooter as L, DialogTrigger as C } from "./lib/Components/Dialog/Dialog.js";
10
- import { DialogHeader as b } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
11
- import { Divider as h } from "./lib/Components/Divider/Divider.js";
12
- import { IconButton as v } from "./lib/Components/IconButton/IconButton.js";
13
- import { InteractiveIcon as G } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
14
- import { Link as y } from "./lib/Components/Link/Link.js";
15
- import { ListItem as w, ListItemContent as F, ListItemDescription as H, ListItemIcon as j, ListItemLeading as q, ListItemSpot as z, ListItemTitle as E, ListItemTrailing as J, ListItemTruncate as K } from "./lib/Components/ListItem/ListItem.js";
16
- import { Menu as O, MenuCheckboxItem as Q, MenuContent as U, MenuGroup as V, MenuItem as W, MenuLabel as X, MenuPortal as Y, MenuRadioGroup as Z, MenuRadioItem as _, MenuSeparator as $, MenuSub as ee, MenuSubContent as te, MenuSubTrigger as oe, MenuTrigger as re } from "./lib/Components/Menu/Menu.js";
17
- import { SearchInput as ie } from "./lib/Components/SearchInput/SearchInput.js";
18
- import { Select as me, SelectContent as ue, SelectGroup as le, SelectItem as xe, SelectItemText as ae, SelectLabel as fe, SelectSeparator as Te, SelectTrigger as Ie } from "./lib/Components/Select/Select.js";
19
- import { Skeleton as Se } from "./lib/Components/Skeleton/Skeleton.js";
20
- import { Spot as se } from "./lib/Components/Spot/Spot.js";
21
- import { Subheader as de } from "./lib/Components/Subheader/Subheader.js";
22
- import { Switch as Ce } from "./lib/Components/Switch/Switch.js";
23
- import { Tag as be } from "./lib/Components/Tag/Tag.js";
24
- import { TextInput as he } from "./lib/Components/TextInput/TextInput.js";
25
- import { Tile as ve, TileContent as Ae, TileDescription as Ge, TileSecondaryAction as Pe, TileSpot as ye, TileTitle as Re } from "./lib/Components/Tile/Tile.js";
26
- import { Tooltip as Fe, TooltipContent as He, TooltipProvider as je, TooltipTrigger as qe } from "./lib/Components/Tooltip/Tooltip.js";
27
- import { ThemeProvider as Ee, useTheme as Je } from "./lib/Components/ThemeProvider/ThemeProvider.js";
1
+ import { Languages as o } from "./i18n/languages.js";
2
+ import { AddressInput as n } from "./lib/Components/AddressInput/AddressInput.js";
3
+ import { AmountInput as p } from "./lib/Components/AmountInput/AmountInput.js";
4
+ import { Banner as u } from "./lib/Components/Banner/Banner.js";
5
+ import { BaseInput as l } from "./lib/Components/BaseInput/BaseInput.js";
6
+ import { Button as f } from "./lib/Components/Button/Button.js";
7
+ import { BaseButton as I } from "./lib/Components/Button/BaseButton.js";
8
+ import { CardButton as g } from "./lib/Components/CardButton/CardButton.js";
9
+ import { Checkbox as s } from "./lib/Components/Checkbox/Checkbox.js";
10
+ import { Dialog as M, DialogBody as d, DialogContent as C, DialogFooter as D, DialogTrigger as b } from "./lib/Components/Dialog/Dialog.js";
11
+ import { DialogHeader as h } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
12
+ import { Divider as v } from "./lib/Components/Divider/Divider.js";
13
+ import { IconButton as G } from "./lib/Components/IconButton/IconButton.js";
14
+ import { InteractiveIcon as y } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
15
+ import { Link as w } from "./lib/Components/Link/Link.js";
16
+ import { ListItem as H, ListItemContent as j, ListItemDescription as q, ListItemIcon as z, ListItemLeading as E, ListItemSpot as J, ListItemTitle as K, ListItemTrailing as N, ListItemTruncate as O } from "./lib/Components/ListItem/ListItem.js";
17
+ import { Menu as U, MenuCheckboxItem as V, MenuContent as W, MenuGroup as X, MenuItem as Y, MenuLabel as Z, MenuPortal as _, MenuRadioGroup as $, MenuRadioItem as ee, MenuSeparator as te, MenuSub as oe, MenuSubContent as re, MenuSubTrigger as ne, MenuTrigger as ie } from "./lib/Components/Menu/Menu.js";
18
+ import { SearchInput as me } from "./lib/Components/SearchInput/SearchInput.js";
19
+ import { Select as xe, SelectContent as le, SelectGroup as ae, SelectItem as fe, SelectItemText as Te, SelectLabel as Ie, SelectSeparator as ce, SelectTrigger as ge } from "./lib/Components/Select/Select.js";
20
+ import { Skeleton as se } from "./lib/Components/Skeleton/Skeleton.js";
21
+ import { Spot as Me } from "./lib/Components/Spot/Spot.js";
22
+ import { Subheader as Ce } from "./lib/Components/Subheader/Subheader.js";
23
+ import { Switch as be } from "./lib/Components/Switch/Switch.js";
24
+ import { Tag as he } from "./lib/Components/Tag/Tag.js";
25
+ import { TextInput as ve } from "./lib/Components/TextInput/TextInput.js";
26
+ import { Tile as Ge, TileContent as Pe, TileDescription as ye, TileSecondaryAction as Re, TileSpot as we, TileTitle as Fe } from "./lib/Components/Tile/Tile.js";
27
+ import { Tooltip as je, TooltipContent as qe, TooltipProvider as ze, TooltipTrigger as Ee } from "./lib/Components/Tooltip/Tooltip.js";
28
+ import { ThemeProvider as Ke, useTheme as Ne } from "./lib/Components/ThemeProvider/ThemeProvider.js";
28
29
  export {
29
- o as AddressInput,
30
- n as AmountInput,
31
- p as Banner,
32
- f as BaseButton,
33
- u as BaseInput,
34
- x as Button,
35
- I as CardButton,
36
- S as Checkbox,
37
- s as Dialog,
38
- M as DialogBody,
39
- d as DialogContent,
40
- L as DialogFooter,
41
- b as DialogHeader,
42
- C as DialogTrigger,
43
- h as Divider,
44
- v as IconButton,
45
- G as InteractiveIcon,
46
- y as Link,
47
- w as ListItem,
48
- F as ListItemContent,
49
- H as ListItemDescription,
50
- j as ListItemIcon,
51
- q as ListItemLeading,
52
- z as ListItemSpot,
53
- E as ListItemTitle,
54
- J as ListItemTrailing,
55
- K as ListItemTruncate,
56
- O as Menu,
57
- Q as MenuCheckboxItem,
58
- U as MenuContent,
59
- V as MenuGroup,
60
- W as MenuItem,
61
- X as MenuLabel,
62
- Y as MenuPortal,
63
- Z as MenuRadioGroup,
64
- _ as MenuRadioItem,
65
- $ as MenuSeparator,
66
- ee as MenuSub,
67
- te as MenuSubContent,
68
- oe as MenuSubTrigger,
69
- re as MenuTrigger,
70
- ie as SearchInput,
71
- me as Select,
72
- ue as SelectContent,
73
- le as SelectGroup,
74
- xe as SelectItem,
75
- ae as SelectItemText,
76
- fe as SelectLabel,
77
- Te as SelectSeparator,
78
- Ie as SelectTrigger,
79
- Se as Skeleton,
80
- se as Spot,
81
- de as Subheader,
82
- Ce as Switch,
83
- be as Tag,
84
- he as TextInput,
85
- Ee as ThemeProvider,
86
- ve as Tile,
87
- Ae as TileContent,
88
- Ge as TileDescription,
89
- Pe as TileSecondaryAction,
90
- ye as TileSpot,
91
- Re as TileTitle,
92
- Fe as Tooltip,
93
- He as TooltipContent,
94
- je as TooltipProvider,
95
- qe as TooltipTrigger,
96
- Je as useTheme
30
+ n as AddressInput,
31
+ p as AmountInput,
32
+ u as Banner,
33
+ I as BaseButton,
34
+ l as BaseInput,
35
+ f as Button,
36
+ g as CardButton,
37
+ s as Checkbox,
38
+ M as Dialog,
39
+ d as DialogBody,
40
+ C as DialogContent,
41
+ D as DialogFooter,
42
+ h as DialogHeader,
43
+ b as DialogTrigger,
44
+ v as Divider,
45
+ G as IconButton,
46
+ y as InteractiveIcon,
47
+ o as Languages,
48
+ w as Link,
49
+ H as ListItem,
50
+ j as ListItemContent,
51
+ q as ListItemDescription,
52
+ z as ListItemIcon,
53
+ E as ListItemLeading,
54
+ J as ListItemSpot,
55
+ K as ListItemTitle,
56
+ N as ListItemTrailing,
57
+ O as ListItemTruncate,
58
+ U as Menu,
59
+ V as MenuCheckboxItem,
60
+ W as MenuContent,
61
+ X as MenuGroup,
62
+ Y as MenuItem,
63
+ Z as MenuLabel,
64
+ _ as MenuPortal,
65
+ $ as MenuRadioGroup,
66
+ ee as MenuRadioItem,
67
+ te as MenuSeparator,
68
+ oe as MenuSub,
69
+ re as MenuSubContent,
70
+ ne as MenuSubTrigger,
71
+ ie as MenuTrigger,
72
+ me as SearchInput,
73
+ xe as Select,
74
+ le as SelectContent,
75
+ ae as SelectGroup,
76
+ fe as SelectItem,
77
+ Te as SelectItemText,
78
+ Ie as SelectLabel,
79
+ ce as SelectSeparator,
80
+ ge as SelectTrigger,
81
+ se as Skeleton,
82
+ Me as Spot,
83
+ Ce as Subheader,
84
+ be as Switch,
85
+ he as Tag,
86
+ ve as TextInput,
87
+ Ke as ThemeProvider,
88
+ Ge as Tile,
89
+ Pe as TileContent,
90
+ ye as TileDescription,
91
+ Re as TileSecondaryAction,
92
+ we as TileSpot,
93
+ Fe as TileTitle,
94
+ je as Tooltip,
95
+ qe as TooltipContent,
96
+ ze as TooltipProvider,
97
+ Ee as TooltipTrigger,
98
+ Ne as useTheme
97
99
  };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-react",
3
- "version": "0.0.59",
3
+ "version": "0.0.61",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "keywords": [
@@ -41,7 +41,7 @@
41
41
  ]
42
42
  },
43
43
  "dependencies": {
44
- "@ledgerhq/lumen-utils-shared": "0.0.13",
44
+ "@ledgerhq/lumen-utils-shared": "0.0.15",
45
45
  "i18next": "^23.7.0",
46
46
  "react-i18next": "^14.0.0"
47
47
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-react",
3
- "version": "0.0.60",
3
+ "version": "0.0.62",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "keywords": [
@@ -41,7 +41,7 @@
41
41
  ]
42
42
  },
43
43
  "dependencies": {
44
- "@ledgerhq/lumen-utils-shared": "0.0.14",
44
+ "@ledgerhq/lumen-utils-shared": "0.0.15",
45
45
  "i18next": "^23.7.0",
46
46
  "react-i18next": "^14.0.0"
47
47
  },