@ledgerhq/lumen-ui-react 0.0.63 → 0.0.65

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 (52) hide show
  1. package/dist/i18n/locales/de.json.d.ts +23 -2
  2. package/dist/i18n/locales/de.json.js +4 -4
  3. package/dist/i18n/locales/en.json.d.ts +5 -1
  4. package/dist/i18n/locales/en.json.js +1 -1
  5. package/dist/i18n/locales/es.json.d.ts +23 -2
  6. package/dist/i18n/locales/es.json.js +4 -4
  7. package/dist/i18n/locales/fr.json.d.ts +6 -2
  8. package/dist/i18n/locales/fr.json.js +1 -1
  9. package/dist/i18n/locales/ja.json.d.ts +23 -2
  10. package/dist/i18n/locales/ja.json.js +4 -4
  11. package/dist/i18n/locales/ko.json.d.ts +23 -2
  12. package/dist/i18n/locales/ko.json.js +4 -4
  13. package/dist/i18n/locales/pt.json.d.ts +23 -2
  14. package/dist/i18n/locales/pt.json.js +4 -4
  15. package/dist/i18n/locales/ru.json.d.ts +23 -2
  16. package/dist/i18n/locales/ru.json.js +4 -4
  17. package/dist/i18n/locales/th.json.d.ts +23 -2
  18. package/dist/i18n/locales/th.json.js +4 -4
  19. package/dist/i18n/locales/tr.json.d.ts +23 -2
  20. package/dist/i18n/locales/tr.json.js +4 -4
  21. package/dist/i18n/locales/zh.json.d.ts +23 -2
  22. package/dist/i18n/locales/zh.json.js +4 -4
  23. package/dist/lib/Components/AddressInput/AddressInput.js +2 -2
  24. package/dist/lib/Components/AmountInput/AmountInput.js +2 -2
  25. package/dist/lib/Components/BaseInput/BaseInput.d.ts +1 -0
  26. package/dist/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
  27. package/dist/lib/Components/BaseInput/BaseInput.js +66 -65
  28. package/dist/lib/Components/BaseInput/types.d.ts +5 -1
  29. package/dist/lib/Components/BaseInput/types.d.ts.map +1 -1
  30. package/dist/lib/Components/Button/BaseButton.d.ts.map +1 -1
  31. package/dist/lib/Components/Button/BaseButton.js +1 -1
  32. package/dist/lib/Components/CardButton/CardButton.js +1 -1
  33. package/dist/lib/Components/Checkbox/Checkbox.js +7 -7
  34. package/dist/lib/Components/Dialog/Dialog.js +4 -4
  35. package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.js +3 -3
  36. package/dist/lib/Components/InteractiveIcon/InteractiveIcon.js +7 -7
  37. package/dist/lib/Components/ListItem/ListItem.js +1 -1
  38. package/dist/lib/Components/Menu/Menu.js +5 -5
  39. package/dist/lib/Components/SearchInput/SearchInput.d.ts +3 -2
  40. package/dist/lib/Components/SearchInput/SearchInput.d.ts.map +1 -1
  41. package/dist/lib/Components/SearchInput/SearchInput.js +45 -13
  42. package/dist/lib/Components/SearchInput/types.d.ts +7 -1
  43. package/dist/lib/Components/SearchInput/types.d.ts.map +1 -1
  44. package/dist/lib/Components/Select/Select.js +64 -64
  45. package/dist/lib/Components/Subheader/Subheader.js +1 -1
  46. package/dist/lib/Components/Switch/Switch.js +3 -3
  47. package/dist/lib/Components/Tile/Tile.d.ts +15 -9
  48. package/dist/lib/Components/Tile/Tile.d.ts.map +1 -1
  49. package/dist/lib/Components/Tile/Tile.js +131 -133
  50. package/dist/lib/Components/Tooltip/Tooltip.js +2 -2
  51. package/dist/package.json +1 -1
  52. package/package.json +1 -1
@@ -1,5 +1,26 @@
1
1
  declare const _default: {
2
- "components": {}
3
- };
2
+ "components": {
3
+ "addressInput": {
4
+ "qrCodeAriaLabel": "QR-Code scannen"
5
+ },
6
+ "baseInput": {
7
+ "clearInputAriaLabel": "Eingabe löschen"
8
+ },
9
+ "spinner": {
10
+ "loadingAriaLabel": "Wird geladen"
11
+ },
12
+ "dialogHeader": {
13
+ "goBackAriaLabel": "Zurück",
14
+ "closeAriaLabel": "Schließen"
15
+ },
16
+ "banner": {
17
+ "closeAriaLabel": "Schließen"
18
+ },
19
+ "link": {
20
+ "opensInNewTabAriaLabel": "(Öffnet in neuem Tab)"
21
+ }
22
+ }
23
+ }
24
+ ;
4
25
 
5
26
  export default _default;
@@ -1,7 +1,7 @@
1
- const o = {}, t = {
2
- components: o
1
+ const e = { addressInput: { qrCodeAriaLabel: "QR-Code scannen" }, baseInput: { clearInputAriaLabel: "Eingabe löschen" }, spinner: { loadingAriaLabel: "Wird geladen" }, dialogHeader: { goBackAriaLabel: "Zurück", closeAriaLabel: "Schließen" }, banner: { closeAriaLabel: "Schließen" }, link: { opensInNewTabAriaLabel: "(Öffnet in neuem Tab)" } }, a = {
2
+ components: e
3
3
  };
4
4
  export {
5
- o as components,
6
- t as default
5
+ e as components,
6
+ a as default
7
7
  };
@@ -15,8 +15,12 @@ declare const _default: {
15
15
  },
16
16
  "banner": {
17
17
  "closeAriaLabel": "Close"
18
+ },
19
+ "link": {
20
+ "opensInNewTabAriaLabel": "(opens in a new tab)"
18
21
  }
19
22
  }
20
- };
23
+ }
24
+ ;
21
25
 
22
26
  export default _default;
@@ -1,4 +1,4 @@
1
- const a = { addressInput: { qrCodeAriaLabel: "Scan QR code" }, baseInput: { clearInputAriaLabel: "Clear input" }, spinner: { loadingAriaLabel: "Loading" }, dialogHeader: { goBackAriaLabel: "Go back", closeAriaLabel: "Close" }, banner: { closeAriaLabel: "Close" } }, e = {
1
+ const a = { addressInput: { qrCodeAriaLabel: "Scan QR code" }, baseInput: { clearInputAriaLabel: "Clear input" }, spinner: { loadingAriaLabel: "Loading" }, dialogHeader: { goBackAriaLabel: "Go back", closeAriaLabel: "Close" }, banner: { closeAriaLabel: "Close" }, link: { opensInNewTabAriaLabel: "(opens in a new tab)" } }, e = {
2
2
  components: a
3
3
  };
4
4
  export {
@@ -1,5 +1,26 @@
1
1
  declare const _default: {
2
- "components": {}
3
- };
2
+ "components": {
3
+ "addressInput": {
4
+ "qrCodeAriaLabel": "Escanear código QR"
5
+ },
6
+ "baseInput": {
7
+ "clearInputAriaLabel": "Borrar entrada"
8
+ },
9
+ "spinner": {
10
+ "loadingAriaLabel": "Cargando"
11
+ },
12
+ "dialogHeader": {
13
+ "goBackAriaLabel": "Volver",
14
+ "closeAriaLabel": "Cerrar"
15
+ },
16
+ "banner": {
17
+ "closeAriaLabel": "Cerrar"
18
+ },
19
+ "link": {
20
+ "opensInNewTabAriaLabel": "(se abre en una pestaña nueva)"
21
+ }
22
+ }
23
+ }
24
+ ;
4
25
 
5
26
  export default _default;
@@ -1,7 +1,7 @@
1
- const o = {}, s = {
2
- components: o
1
+ const a = { addressInput: { qrCodeAriaLabel: "Escanear código QR" }, baseInput: { clearInputAriaLabel: "Borrar entrada" }, spinner: { loadingAriaLabel: "Cargando" }, dialogHeader: { goBackAriaLabel: "Volver", closeAriaLabel: "Cerrar" }, banner: { closeAriaLabel: "Cerrar" }, link: { opensInNewTabAriaLabel: "(se abre en una pestaña nueva)" } }, e = {
2
+ components: a
3
3
  };
4
4
  export {
5
- o as components,
6
- s as default
5
+ a as components,
6
+ e as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  declare const _default: {
2
2
  "components": {
3
3
  "addressInput": {
4
- "qrCodeAriaLabel": "Scanner le QR code"
4
+ "qrCodeAriaLabel": "Scanner le code QR"
5
5
  },
6
6
  "baseInput": {
7
7
  "clearInputAriaLabel": "Effacer la saisie"
@@ -15,8 +15,12 @@ declare const _default: {
15
15
  },
16
16
  "banner": {
17
17
  "closeAriaLabel": "Fermer"
18
+ },
19
+ "link": {
20
+ "opensInNewTabAriaLabel": "(s'ouvre dans un nouvel onglet)"
18
21
  }
19
22
  }
20
- };
23
+ }
24
+ ;
21
25
 
22
26
  export default _default;
@@ -1,4 +1,4 @@
1
- const e = { addressInput: { qrCodeAriaLabel: "Scanner le QR code" }, baseInput: { clearInputAriaLabel: "Effacer la saisie" }, spinner: { loadingAriaLabel: "Chargement" }, dialogHeader: { goBackAriaLabel: "Retour", closeAriaLabel: "Fermer" }, banner: { closeAriaLabel: "Fermer" } }, a = {
1
+ const e = { addressInput: { qrCodeAriaLabel: "Scanner le code QR" }, baseInput: { clearInputAriaLabel: "Effacer la saisie" }, spinner: { loadingAriaLabel: "Chargement" }, dialogHeader: { goBackAriaLabel: "Retour", closeAriaLabel: "Fermer" }, banner: { closeAriaLabel: "Fermer" }, link: { opensInNewTabAriaLabel: "(s'ouvre dans un nouvel onglet)" } }, a = {
2
2
  components: e
3
3
  };
4
4
  export {
@@ -1,5 +1,26 @@
1
1
  declare const _default: {
2
- "components": {}
3
- };
2
+ "components": {
3
+ "addressInput": {
4
+ "qrCodeAriaLabel": "QRコードをスキャン"
5
+ },
6
+ "baseInput": {
7
+ "clearInputAriaLabel": "インプットを削除"
8
+ },
9
+ "spinner": {
10
+ "loadingAriaLabel": "読み込み中"
11
+ },
12
+ "dialogHeader": {
13
+ "goBackAriaLabel": "戻る",
14
+ "closeAriaLabel": "閉じる"
15
+ },
16
+ "banner": {
17
+ "closeAriaLabel": "閉じる"
18
+ },
19
+ "link": {
20
+ "opensInNewTabAriaLabel": "(新しいタブで開く)"
21
+ }
22
+ }
23
+ }
24
+ ;
4
25
 
5
26
  export default _default;
@@ -1,7 +1,7 @@
1
- const o = {}, t = {
2
- components: o
1
+ const a = { addressInput: { qrCodeAriaLabel: "QRコードをスキャン" }, baseInput: { clearInputAriaLabel: "インプットを削除" }, spinner: { loadingAriaLabel: "読み込み中" }, dialogHeader: { goBackAriaLabel: "戻る", closeAriaLabel: "閉じる" }, banner: { closeAriaLabel: "閉じる" }, link: { opensInNewTabAriaLabel: "(新しいタブで開く)" } }, e = {
2
+ components: a
3
3
  };
4
4
  export {
5
- o as components,
6
- t as default
5
+ a as components,
6
+ e as default
7
7
  };
@@ -1,5 +1,26 @@
1
1
  declare const _default: {
2
- "components": {}
3
- };
2
+ "components": {
3
+ "addressInput": {
4
+ "qrCodeAriaLabel": "QR 코드 스캔"
5
+ },
6
+ "baseInput": {
7
+ "clearInputAriaLabel": "입력 값 지우기"
8
+ },
9
+ "spinner": {
10
+ "loadingAriaLabel": "로딩중"
11
+ },
12
+ "dialogHeader": {
13
+ "goBackAriaLabel": "돌아가기",
14
+ "closeAriaLabel": "닫기"
15
+ },
16
+ "banner": {
17
+ "closeAriaLabel": "닫기"
18
+ },
19
+ "link": {
20
+ "opensInNewTabAriaLabel": "(새 탭에서 열기)"
21
+ }
22
+ }
23
+ }
24
+ ;
4
25
 
5
26
  export default _default;
@@ -1,7 +1,7 @@
1
- const o = {}, t = {
2
- components: o
1
+ const a = { addressInput: { qrCodeAriaLabel: "QR 코드 스캔" }, baseInput: { clearInputAriaLabel: "입력 값 지우기" }, spinner: { loadingAriaLabel: "로딩중" }, dialogHeader: { goBackAriaLabel: "돌아가기", closeAriaLabel: "닫기" }, banner: { closeAriaLabel: "닫기" }, link: { opensInNewTabAriaLabel: "(새 탭에서 열기)" } }, e = {
2
+ components: a
3
3
  };
4
4
  export {
5
- o as components,
6
- t as default
5
+ a as components,
6
+ e as default
7
7
  };
@@ -1,5 +1,26 @@
1
1
  declare const _default: {
2
- "components": {}
3
- };
2
+ "components": {
3
+ "addressInput": {
4
+ "qrCodeAriaLabel": "Escanear QR Code"
5
+ },
6
+ "baseInput": {
7
+ "clearInputAriaLabel": "Limpar input"
8
+ },
9
+ "spinner": {
10
+ "loadingAriaLabel": "Carregando"
11
+ },
12
+ "dialogHeader": {
13
+ "goBackAriaLabel": "Voltar",
14
+ "closeAriaLabel": "Fechar"
15
+ },
16
+ "banner": {
17
+ "closeAriaLabel": "Fechar"
18
+ },
19
+ "link": {
20
+ "opensInNewTabAriaLabel": "(abre em uma nova aba)"
21
+ }
22
+ }
23
+ }
24
+ ;
4
25
 
5
26
  export default _default;
@@ -1,7 +1,7 @@
1
- const t = {}, o = {
2
- components: t
1
+ const a = { addressInput: { qrCodeAriaLabel: "Escanear QR Code" }, baseInput: { clearInputAriaLabel: "Limpar input" }, spinner: { loadingAriaLabel: "Carregando" }, dialogHeader: { goBackAriaLabel: "Voltar", closeAriaLabel: "Fechar" }, banner: { closeAriaLabel: "Fechar" }, link: { opensInNewTabAriaLabel: "(abre em uma nova aba)" } }, e = {
2
+ components: a
3
3
  };
4
4
  export {
5
- t as components,
6
- o as default
5
+ a as components,
6
+ e as default
7
7
  };
@@ -1,5 +1,26 @@
1
1
  declare const _default: {
2
- "components": {}
3
- };
2
+ "components": {
3
+ "addressInput": {
4
+ "qrCodeAriaLabel": "Сканировать QR-код"
5
+ },
6
+ "baseInput": {
7
+ "clearInputAriaLabel": "Очистить поле"
8
+ },
9
+ "spinner": {
10
+ "loadingAriaLabel": "Загрузка"
11
+ },
12
+ "dialogHeader": {
13
+ "goBackAriaLabel": "Назад",
14
+ "closeAriaLabel": "Закрыть"
15
+ },
16
+ "banner": {
17
+ "closeAriaLabel": "Закрыть"
18
+ },
19
+ "link": {
20
+ "opensInNewTabAriaLabel": "(открывается в новой вкладке)"
21
+ }
22
+ }
23
+ }
24
+ ;
4
25
 
5
26
  export default _default;
@@ -1,7 +1,7 @@
1
- const o = {}, t = {
2
- components: o
1
+ const a = { addressInput: { qrCodeAriaLabel: "Сканировать QR-код" }, baseInput: { clearInputAriaLabel: "Очистить поле" }, spinner: { loadingAriaLabel: "Загрузка" }, dialogHeader: { goBackAriaLabel: "Назад", closeAriaLabel: "Закрыть" }, banner: { closeAriaLabel: "Закрыть" }, link: { opensInNewTabAriaLabel: "(открывается в новой вкладке)" } }, e = {
2
+ components: a
3
3
  };
4
4
  export {
5
- o as components,
6
- t as default
5
+ a as components,
6
+ e as default
7
7
  };
@@ -1,5 +1,26 @@
1
1
  declare const _default: {
2
- "components": {}
3
- };
2
+ "components": {
3
+ "addressInput": {
4
+ "qrCodeAriaLabel": "สแกน QR Code"
5
+ },
6
+ "baseInput": {
7
+ "clearInputAriaLabel": "ล้างอินพุต"
8
+ },
9
+ "spinner": {
10
+ "loadingAriaLabel": "กำลังโหลด"
11
+ },
12
+ "dialogHeader": {
13
+ "goBackAriaLabel": "ย้อนกลับ",
14
+ "closeAriaLabel": "ปิด"
15
+ },
16
+ "banner": {
17
+ "closeAriaLabel": "ปิด"
18
+ },
19
+ "link": {
20
+ "opensInNewTabAriaLabel": "(เปิดในแท็บใหม่)"
21
+ }
22
+ }
23
+ }
24
+ ;
4
25
 
5
26
  export default _default;
@@ -1,7 +1,7 @@
1
- const t = {}, o = {
2
- components: t
1
+ const a = { addressInput: { qrCodeAriaLabel: "สแกน QR Code" }, baseInput: { clearInputAriaLabel: "ล้างอินพุต" }, spinner: { loadingAriaLabel: "กำลังโหลด" }, dialogHeader: { goBackAriaLabel: "ย้อนกลับ", closeAriaLabel: "ปิด" }, banner: { closeAriaLabel: "ปิด" }, link: { opensInNewTabAriaLabel: "(เปิดในแท็บใหม่)" } }, e = {
2
+ components: a
3
3
  };
4
4
  export {
5
- t as components,
6
- o as default
5
+ a as components,
6
+ e as default
7
7
  };
@@ -1,5 +1,26 @@
1
1
  declare const _default: {
2
- "components": {}
3
- };
2
+ "components": {
3
+ "addressInput": {
4
+ "qrCodeAriaLabel": "Karekodu okut"
5
+ },
6
+ "baseInput": {
7
+ "clearInputAriaLabel": "Girdiyi temizle"
8
+ },
9
+ "spinner": {
10
+ "loadingAriaLabel": "Yükleniyor"
11
+ },
12
+ "dialogHeader": {
13
+ "goBackAriaLabel": "Geri dön",
14
+ "closeAriaLabel": "Kapat"
15
+ },
16
+ "banner": {
17
+ "closeAriaLabel": "Kapat"
18
+ },
19
+ "link": {
20
+ "opensInNewTabAriaLabel": "(yeni sekmede açılır)"
21
+ }
22
+ }
23
+ }
24
+ ;
4
25
 
5
26
  export default _default;
@@ -1,7 +1,7 @@
1
- const t = {}, o = {
2
- components: t
1
+ const a = { addressInput: { qrCodeAriaLabel: "Karekodu okut" }, baseInput: { clearInputAriaLabel: "Girdiyi temizle" }, spinner: { loadingAriaLabel: "Yükleniyor" }, dialogHeader: { goBackAriaLabel: "Geri dön", closeAriaLabel: "Kapat" }, banner: { closeAriaLabel: "Kapat" }, link: { opensInNewTabAriaLabel: "(yeni sekmede açılır)" } }, e = {
2
+ components: a
3
3
  };
4
4
  export {
5
- t as components,
6
- o as default
5
+ a as components,
6
+ e as default
7
7
  };
@@ -1,5 +1,26 @@
1
1
  declare const _default: {
2
- "components": {}
3
- };
2
+ "components": {
3
+ "addressInput": {
4
+ "qrCodeAriaLabel": "扫描二维码"
5
+ },
6
+ "baseInput": {
7
+ "clearInputAriaLabel": "清空输入框"
8
+ },
9
+ "spinner": {
10
+ "loadingAriaLabel": "加载中"
11
+ },
12
+ "dialogHeader": {
13
+ "goBackAriaLabel": "返回",
14
+ "closeAriaLabel": "关闭"
15
+ },
16
+ "banner": {
17
+ "closeAriaLabel": "关闭"
18
+ },
19
+ "link": {
20
+ "opensInNewTabAriaLabel": "(在新选项卡中打开)"
21
+ }
22
+ }
23
+ }
24
+ ;
4
25
 
5
26
  export default _default;
@@ -1,7 +1,7 @@
1
- const o = {}, t = {
2
- components: o
1
+ const a = { addressInput: { qrCodeAriaLabel: "扫描二维码" }, baseInput: { clearInputAriaLabel: "清空输入框" }, spinner: { loadingAriaLabel: "加载中" }, dialogHeader: { goBackAriaLabel: "返回", closeAriaLabel: "关闭" }, banner: { closeAriaLabel: "关闭" }, link: { opensInNewTabAriaLabel: "(在新选项卡中打开)" } }, e = {
2
+ components: a
3
3
  };
4
4
  export {
5
- o as components,
6
- t as default
5
+ a as components,
6
+ e as default
7
7
  };
@@ -8,7 +8,7 @@ const u = f.forwardRef(({ prefix: t = "To:", suffix: o, onQrCodeClick: r, ...a }
8
8
  const { t: i } = p(), d = /* @__PURE__ */ e(
9
9
  "span",
10
10
  {
11
- className: "text-nowrap text-base body-1 group-has-[:disabled]:text-disabled",
11
+ className: "body-1 text-nowrap text-base group-has-disabled:text-disabled",
12
12
  "aria-hidden": "true",
13
13
  children: t
14
14
  }
@@ -18,7 +18,7 @@ const u = f.forwardRef(({ prefix: t = "To:", suffix: o, onQrCodeClick: r, ...a }
18
18
  iconType: "filled",
19
19
  onClick: r,
20
20
  "aria-label": i("components.addressInput.qrCodeAriaLabel"),
21
- className: "group-has-[:disabled]:text-disabled",
21
+ className: "group-has-disabled:text-disabled",
22
22
  children: /* @__PURE__ */ e(m, { size: 20 })
23
23
  }
24
24
  );
@@ -4,10 +4,10 @@ import { cva as z } from "class-variance-authority";
4
4
  import M, { useRef as p, useState as h, useMemo as _, useLayoutEffect as q, useEffect as D } from "react";
5
5
  const L = z(
6
6
  [
7
- "bg-transparent caret-active outline-none transition-colors heading-0",
7
+ "bg-transparent heading-0 caret-active outline-hidden transition-colors",
8
8
  "text-base placeholder:text-muted-subtle",
9
9
  "disabled:cursor-not-allowed disabled:bg-base-transparent disabled:text-disabled",
10
- '[&[aria-invalid="true"]]:text-error',
10
+ "aria-invalid:text-error",
11
11
  "[&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
12
12
  "h-56"
13
13
  ],
@@ -27,6 +27,7 @@ export declare const BaseInput: React.ForwardRefExoticComponent<{
27
27
  onClear?: () => void;
28
28
  hideClearButton?: boolean;
29
29
  className?: string;
30
+ containerClassName?: string;
30
31
  inputClassName?: string;
31
32
  labelClassName?: string;
32
33
  } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "prefix"> & React.RefAttributes<HTMLInputElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/BaseInput/BaseInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AA+B1B;;;;;;;;;;;;;;;;;;GAkBG;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;iHAyLrB,CAAC"}
1
+ {"version":3,"file":"BaseInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/BaseInput/BaseInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AA+B1B;;;;;;;;;;;;;;;;;;GAkBG;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;iHA0LrB,CAAC"}