@ledgerhq/lumen-ui-react 0.0.79 → 0.0.81
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/i18n/locales/de.json.d.ts +4 -0
- package/dist/i18n/locales/de.json.js +4 -4
- package/dist/i18n/locales/en.json.d.ts +8 -0
- package/dist/i18n/locales/en.json.js +1 -1
- package/dist/i18n/locales/es.json.d.ts +4 -0
- package/dist/i18n/locales/es.json.js +1 -1
- package/dist/i18n/locales/fr.json.d.ts +8 -0
- package/dist/i18n/locales/fr.json.js +1 -1
- package/dist/i18n/locales/ja.json.d.ts +4 -0
- package/dist/i18n/locales/ja.json.js +1 -1
- package/dist/i18n/locales/ko.json.d.ts +4 -0
- package/dist/i18n/locales/ko.json.js +1 -1
- package/dist/i18n/locales/pt.json.d.ts +4 -0
- package/dist/i18n/locales/pt.json.js +1 -1
- package/dist/i18n/locales/ru.json.d.ts +4 -0
- package/dist/i18n/locales/ru.json.js +1 -1
- package/dist/i18n/locales/th.json.d.ts +4 -0
- package/dist/i18n/locales/th.json.js +1 -1
- package/dist/i18n/locales/tr.json.d.ts +4 -0
- package/dist/i18n/locales/tr.json.js +1 -1
- package/dist/i18n/locales/zh.json.d.ts +4 -0
- package/dist/i18n/locales/zh.json.js +1 -1
- package/dist/index.js +109 -90
- package/dist/lib/Components/AmountInput/AmountInput.js +14 -14
- package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/lib/Components/Avatar/Avatar.js +50 -33
- package/dist/lib/Components/Avatar/types.d.ts +0 -1
- package/dist/lib/Components/Avatar/types.d.ts.map +1 -1
- package/dist/lib/Components/Banner/Banner.js +2 -2
- package/dist/lib/Components/BaseInput/BaseInput.js +9 -9
- package/dist/lib/Components/CardButton/CardButton.d.ts.map +1 -1
- package/dist/lib/Components/CardButton/CardButton.js +9 -9
- package/dist/lib/Components/Dialog/Dialog.js +2 -2
- package/dist/lib/Components/Menu/Menu.js +4 -4
- package/dist/lib/Components/PageIndicator/PageIndicator.d.ts +11 -0
- package/dist/lib/Components/PageIndicator/PageIndicator.d.ts.map +1 -0
- package/dist/lib/Components/PageIndicator/PageIndicator.js +88 -0
- package/dist/lib/Components/PageIndicator/index.d.ts +3 -0
- package/dist/lib/Components/PageIndicator/index.d.ts.map +1 -0
- package/dist/lib/Components/PageIndicator/types.d.ts +12 -0
- package/dist/lib/Components/PageIndicator/types.d.ts.map +1 -0
- package/dist/lib/Components/Select/Select.js +4 -4
- package/dist/lib/Components/SideBar/SideBar.js +16 -16
- package/dist/lib/Components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/lib/Components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/lib/Components/Skeleton/Skeleton.js +78 -27
- package/dist/lib/Components/Skeleton/types.d.ts +1 -1
- package/dist/lib/Components/Skeleton/types.d.ts.map +1 -1
- package/dist/lib/Components/Spot/Spot.d.ts +1 -1
- package/dist/lib/Components/Spot/Spot.d.ts.map +1 -1
- package/dist/lib/Components/Spot/Spot.js +27 -25
- package/dist/lib/Components/Subheader/Subheader.d.ts.map +1 -1
- package/dist/lib/Components/Subheader/Subheader.js +13 -5
- package/dist/lib/Components/Table/Table.d.ts +158 -0
- package/dist/lib/Components/Table/Table.d.ts.map +1 -0
- package/dist/lib/Components/Table/Table.js +390 -0
- package/dist/lib/Components/Table/constants.d.ts +3 -0
- package/dist/lib/Components/Table/constants.d.ts.map +1 -0
- package/dist/lib/Components/Table/constants.js +5 -0
- package/dist/lib/Components/Table/index.d.ts +3 -0
- package/dist/lib/Components/Table/index.d.ts.map +1 -0
- package/dist/lib/Components/Table/types.d.ts +245 -0
- package/dist/lib/Components/Table/types.d.ts.map +1 -0
- package/dist/lib/Components/Table/utils/useThrottledScrollBottom.d.ts +39 -0
- package/dist/lib/Components/Table/utils/useThrottledScrollBottom.d.ts.map +1 -0
- package/dist/lib/Components/Table/utils/useThrottledScrollBottom.js +39 -0
- package/dist/lib/Components/Tile/Tile.js +9 -9
- package/dist/lib/Components/TileButton/TileButton.js +5 -5
- package/dist/lib/Components/index.d.ts +2 -0
- package/dist/lib/Components/index.d.ts.map +1 -1
- package/dist/lib/Symbols/Icons/Chart5.d.ts +26 -0
- package/dist/lib/Symbols/Icons/Chart5.d.ts.map +1 -0
- package/dist/lib/Symbols/Icons/Chart5.js +39 -0
- package/dist/lib/Symbols/Icons/Chart5Fill.d.ts +26 -0
- package/dist/lib/Symbols/Icons/Chart5Fill.d.ts.map +1 -0
- package/dist/lib/Symbols/Icons/Chart5Fill.js +25 -0
- package/dist/lib/Symbols/Icons/CurveDown.d.ts +26 -0
- package/dist/lib/Symbols/Icons/CurveDown.d.ts.map +1 -0
- package/dist/lib/Symbols/Icons/CurveDown.js +63 -0
- package/dist/lib/Symbols/Icons/CurveUp.d.ts +26 -0
- package/dist/lib/Symbols/Icons/CurveUp.d.ts.map +1 -0
- package/dist/lib/Symbols/Icons/CurveUp.js +62 -0
- package/dist/lib/Symbols/Icons/Target.d.ts +26 -0
- package/dist/lib/Symbols/Icons/Target.d.ts.map +1 -0
- package/dist/lib/Symbols/Icons/Target.js +28 -0
- package/dist/lib/Symbols/index.d.ts +5 -0
- package/dist/lib/Symbols/index.d.ts.map +1 -1
- package/dist/lib/Symbols/index.js +448 -438
- package/dist/libs/utils-shared/dist/index.js +101 -54
- package/dist/package.json +4 -3
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/types.d.ts +2 -0
- package/dist/types/types.d.ts.map +1 -0
- package/package.json +5 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
components:
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "QR-Code scannen" }, avatar: { defaultAlt: "Benutzer-Avatar", notificationAriaLabel: "Hat Benachrichtigung" }, 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)" }, navBar: { goBackAriaLabel: "Zurück" }, sideBar: { navigationAriaLabel: "Seitennavigation", collapseAriaLabel: "Seitenleiste einklappen", expandAriaLabel: "Seitenleiste ausklappen" } }, e = {
|
|
2
|
+
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
a as components,
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -3,6 +3,10 @@ declare const _default: {
|
|
|
3
3
|
"addressInput": {
|
|
4
4
|
"qrCodeAriaLabel": "Scan QR code"
|
|
5
5
|
},
|
|
6
|
+
"avatar": {
|
|
7
|
+
"defaultAlt": "User avatar",
|
|
8
|
+
"notificationAriaLabel": "Has notification"
|
|
9
|
+
},
|
|
6
10
|
"baseInput": {
|
|
7
11
|
"clearInputAriaLabel": "Clear input"
|
|
8
12
|
},
|
|
@@ -26,6 +30,10 @@ declare const _default: {
|
|
|
26
30
|
"navigationAriaLabel": "Sidebar navigation",
|
|
27
31
|
"collapseAriaLabel": "Collapse sidebar",
|
|
28
32
|
"expandAriaLabel": "Expand sidebar"
|
|
33
|
+
},
|
|
34
|
+
"table": {
|
|
35
|
+
"ascAriaLabel": "Sort ascending",
|
|
36
|
+
"descAriaLabel": "Sort descending"
|
|
29
37
|
}
|
|
30
38
|
}
|
|
31
39
|
}
|
|
@@ -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" }, link: { opensInNewTabAriaLabel: "(opens in a new tab)" }, navBar: { goBackAriaLabel: "Go back" }, sideBar: { navigationAriaLabel: "Sidebar navigation", collapseAriaLabel: "Collapse sidebar", expandAriaLabel: "Expand sidebar" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "Scan QR code" }, avatar: { defaultAlt: "User avatar", notificationAriaLabel: "Has notification" }, baseInput: { clearInputAriaLabel: "Clear input" }, spinner: { loadingAriaLabel: "Loading" }, dialogHeader: { goBackAriaLabel: "Go back", closeAriaLabel: "Close" }, banner: { closeAriaLabel: "Close" }, link: { opensInNewTabAriaLabel: "(opens in a new tab)" }, navBar: { goBackAriaLabel: "Go back" }, sideBar: { navigationAriaLabel: "Sidebar navigation", collapseAriaLabel: "Collapse sidebar", expandAriaLabel: "Expand sidebar" }, table: { ascAriaLabel: "Sort ascending", descAriaLabel: "Sort descending" } }, e = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -3,6 +3,10 @@ declare const _default: {
|
|
|
3
3
|
"addressInput": {
|
|
4
4
|
"qrCodeAriaLabel": "Escanear código QR"
|
|
5
5
|
},
|
|
6
|
+
"avatar": {
|
|
7
|
+
"defaultAlt": "Avatar de usuario",
|
|
8
|
+
"notificationAriaLabel": "Tiene notificación"
|
|
9
|
+
},
|
|
6
10
|
"baseInput": {
|
|
7
11
|
"clearInputAriaLabel": "Borrar entrada"
|
|
8
12
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
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)" }, navBar: { goBackAriaLabel: "Volver" }, sideBar: { navigationAriaLabel: "Navegación lateral", collapseAriaLabel: "Contraer barra lateral", expandAriaLabel: "Expandir barra lateral" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "Escanear código QR" }, avatar: { defaultAlt: "Avatar de usuario", notificationAriaLabel: "Tiene notificación" }, baseInput: { clearInputAriaLabel: "Borrar entrada" }, spinner: { loadingAriaLabel: "Cargando" }, dialogHeader: { goBackAriaLabel: "Volver", closeAriaLabel: "Cerrar" }, banner: { closeAriaLabel: "Cerrar" }, link: { opensInNewTabAriaLabel: "(se abre en una pestaña nueva)" }, navBar: { goBackAriaLabel: "Volver" }, sideBar: { navigationAriaLabel: "Navegación lateral", collapseAriaLabel: "Contraer barra lateral", expandAriaLabel: "Expandir barra lateral" } }, e = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -3,6 +3,10 @@ declare const _default: {
|
|
|
3
3
|
"addressInput": {
|
|
4
4
|
"qrCodeAriaLabel": "Scanner le code QR"
|
|
5
5
|
},
|
|
6
|
+
"avatar": {
|
|
7
|
+
"defaultAlt": "Avatar de l'utilisateur",
|
|
8
|
+
"notificationAriaLabel": "A une notification"
|
|
9
|
+
},
|
|
6
10
|
"baseInput": {
|
|
7
11
|
"clearInputAriaLabel": "Effacer la saisie"
|
|
8
12
|
},
|
|
@@ -26,6 +30,10 @@ declare const _default: {
|
|
|
26
30
|
"navigationAriaLabel": "Navigation latérale",
|
|
27
31
|
"collapseAriaLabel": "Réduire la barre latérale",
|
|
28
32
|
"expandAriaLabel": "Développer la barre latérale"
|
|
33
|
+
},
|
|
34
|
+
"table": {
|
|
35
|
+
"ascAriaLabel": "Trier par ordre croissant",
|
|
36
|
+
"descAriaLabel": "Trier par ordre décroissant"
|
|
29
37
|
}
|
|
30
38
|
}
|
|
31
39
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const a = { 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)" }, navBar: { goBackAriaLabel: "Retour" }, sideBar: { navigationAriaLabel: "Navigation latérale", collapseAriaLabel: "Réduire la barre latérale", expandAriaLabel: "Développer la barre latérale" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "Scanner le code QR" }, avatar: { defaultAlt: "Avatar de l'utilisateur", notificationAriaLabel: "A une notification" }, baseInput: { clearInputAriaLabel: "Effacer la saisie" }, spinner: { loadingAriaLabel: "Chargement" }, dialogHeader: { goBackAriaLabel: "Retour", closeAriaLabel: "Fermer" }, banner: { closeAriaLabel: "Fermer" }, link: { opensInNewTabAriaLabel: "(s'ouvre dans un nouvel onglet)" }, navBar: { goBackAriaLabel: "Retour" }, sideBar: { navigationAriaLabel: "Navigation latérale", collapseAriaLabel: "Réduire la barre latérale", expandAriaLabel: "Développer la barre latérale" }, table: { ascAriaLabel: "Trier par ordre croissant", descAriaLabel: "Trier par ordre décroissant" } }, e = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const a = { addressInput: { qrCodeAriaLabel: "QRコードをスキャン" }, baseInput: { clearInputAriaLabel: "インプットを削除" }, spinner: { loadingAriaLabel: "読み込み中" }, dialogHeader: { goBackAriaLabel: "戻る", closeAriaLabel: "閉じる" }, banner: { closeAriaLabel: "閉じる" }, link: { opensInNewTabAriaLabel: "(新しいタブで開く)" }, navBar: { goBackAriaLabel: "戻る" }, sideBar: { navigationAriaLabel: "サイドバーナビゲーション", collapseAriaLabel: "サイドバーを折りたたむ", expandAriaLabel: "サイドバーを展開する" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "QRコードをスキャン" }, avatar: { defaultAlt: "ユーザーアバター", notificationAriaLabel: "通知あり" }, baseInput: { clearInputAriaLabel: "インプットを削除" }, spinner: { loadingAriaLabel: "読み込み中" }, dialogHeader: { goBackAriaLabel: "戻る", closeAriaLabel: "閉じる" }, banner: { closeAriaLabel: "閉じる" }, link: { opensInNewTabAriaLabel: "(新しいタブで開く)" }, navBar: { goBackAriaLabel: "戻る" }, sideBar: { navigationAriaLabel: "サイドバーナビゲーション", collapseAriaLabel: "サイドバーを折りたたむ", expandAriaLabel: "サイドバーを展開する" } }, e = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const a = { addressInput: { qrCodeAriaLabel: "QR 코드 스캔" }, baseInput: { clearInputAriaLabel: "입력 값 지우기" }, spinner: { loadingAriaLabel: "로딩중" }, dialogHeader: { goBackAriaLabel: "돌아가기", closeAriaLabel: "닫기" }, banner: { closeAriaLabel: "닫기" }, link: { opensInNewTabAriaLabel: "(새 탭에서 열기)" }, navBar: { goBackAriaLabel: "돌아가기" }, sideBar: { navigationAriaLabel: "사이드바 탐색", collapseAriaLabel: "사이드바 접기", expandAriaLabel: "사이드바 펼치기" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "QR 코드 스캔" }, avatar: { defaultAlt: "사용자 아바타", notificationAriaLabel: "알림 있음" }, baseInput: { clearInputAriaLabel: "입력 값 지우기" }, spinner: { loadingAriaLabel: "로딩중" }, dialogHeader: { goBackAriaLabel: "돌아가기", closeAriaLabel: "닫기" }, banner: { closeAriaLabel: "닫기" }, link: { opensInNewTabAriaLabel: "(새 탭에서 열기)" }, navBar: { goBackAriaLabel: "돌아가기" }, sideBar: { navigationAriaLabel: "사이드바 탐색", collapseAriaLabel: "사이드바 접기", expandAriaLabel: "사이드바 펼치기" } }, e = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
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)" }, navBar: { goBackAriaLabel: "Voltar" }, sideBar: { navigationAriaLabel: "Navegação lateral", collapseAriaLabel: "Recolher barra lateral", expandAriaLabel: "Expandir barra lateral" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "Escanear QR Code" }, avatar: { defaultAlt: "Avatar do usuário", notificationAriaLabel: "Tem notificação" }, baseInput: { clearInputAriaLabel: "Limpar input" }, spinner: { loadingAriaLabel: "Carregando" }, dialogHeader: { goBackAriaLabel: "Voltar", closeAriaLabel: "Fechar" }, banner: { closeAriaLabel: "Fechar" }, link: { opensInNewTabAriaLabel: "(abre em uma nova aba)" }, navBar: { goBackAriaLabel: "Voltar" }, sideBar: { navigationAriaLabel: "Navegação lateral", collapseAriaLabel: "Recolher barra lateral", expandAriaLabel: "Expandir barra lateral" } }, e = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const a = { addressInput: { qrCodeAriaLabel: "Сканировать QR-код" }, baseInput: { clearInputAriaLabel: "Очистить поле" }, spinner: { loadingAriaLabel: "Загрузка" }, dialogHeader: { goBackAriaLabel: "Назад", closeAriaLabel: "Закрыть" }, banner: { closeAriaLabel: "Закрыть" }, link: { opensInNewTabAriaLabel: "(открывается в новой вкладке)" }, navBar: { goBackAriaLabel: "Назад" }, sideBar: { navigationAriaLabel: "Боковая навигация", collapseAriaLabel: "Свернуть боковую панель", expandAriaLabel: "Развернуть боковую панель" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "Сканировать QR-код" }, avatar: { defaultAlt: "Аватар пользователя", notificationAriaLabel: "Есть уведомление" }, baseInput: { clearInputAriaLabel: "Очистить поле" }, spinner: { loadingAriaLabel: "Загрузка" }, dialogHeader: { goBackAriaLabel: "Назад", closeAriaLabel: "Закрыть" }, banner: { closeAriaLabel: "Закрыть" }, link: { opensInNewTabAriaLabel: "(открывается в новой вкладке)" }, navBar: { goBackAriaLabel: "Назад" }, sideBar: { navigationAriaLabel: "Боковая навигация", collapseAriaLabel: "Свернуть боковую панель", expandAriaLabel: "Развернуть боковую панель" } }, e = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const a = { addressInput: { qrCodeAriaLabel: "สแกน QR Code" }, baseInput: { clearInputAriaLabel: "ล้างอินพุต" }, spinner: { loadingAriaLabel: "กำลังโหลด" }, dialogHeader: { goBackAriaLabel: "ย้อนกลับ", closeAriaLabel: "ปิด" }, banner: { closeAriaLabel: "ปิด" }, link: { opensInNewTabAriaLabel: "(เปิดในแท็บใหม่)" }, navBar: { goBackAriaLabel: "ย้อนกลับ" }, sideBar: { navigationAriaLabel: "การนำทางแถบด้านข้าง", collapseAriaLabel: "ย่อแถบด้านข้าง", expandAriaLabel: "ขยายแถบด้านข้าง" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "สแกน QR Code" }, avatar: { defaultAlt: "อวาตาร์ผู้ใช้", notificationAriaLabel: "มีการแจ้งเตือน" }, baseInput: { clearInputAriaLabel: "ล้างอินพุต" }, spinner: { loadingAriaLabel: "กำลังโหลด" }, dialogHeader: { goBackAriaLabel: "ย้อนกลับ", closeAriaLabel: "ปิด" }, banner: { closeAriaLabel: "ปิด" }, link: { opensInNewTabAriaLabel: "(เปิดในแท็บใหม่)" }, navBar: { goBackAriaLabel: "ย้อนกลับ" }, sideBar: { navigationAriaLabel: "การนำทางแถบด้านข้าง", collapseAriaLabel: "ย่อแถบด้านข้าง", expandAriaLabel: "ขยายแถบด้านข้าง" } }, e = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
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)" }, navBar: { goBackAriaLabel: "Geri dön" }, sideBar: { navigationAriaLabel: "Kenar çubuğu gezintisi", collapseAriaLabel: "Kenar çubuğunu daralt", expandAriaLabel: "Kenar çubuğunu genişlet" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "Karekodu okut" }, avatar: { defaultAlt: "Kullanıcı avatarı", notificationAriaLabel: "Bildirim var" }, 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)" }, navBar: { goBackAriaLabel: "Geri dön" }, sideBar: { navigationAriaLabel: "Kenar çubuğu gezintisi", collapseAriaLabel: "Kenar çubuğunu daralt", expandAriaLabel: "Kenar çubuğunu genişlet" } }, e = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const a = { addressInput: { qrCodeAriaLabel: "扫描二维码" }, baseInput: { clearInputAriaLabel: "清空输入框" }, spinner: { loadingAriaLabel: "加载中" }, dialogHeader: { goBackAriaLabel: "返回", closeAriaLabel: "关闭" }, banner: { closeAriaLabel: "关闭" }, link: { opensInNewTabAriaLabel: "(在新选项卡中打开)" }, navBar: { goBackAriaLabel: "返回" }, sideBar: { navigationAriaLabel: "侧边栏导航", collapseAriaLabel: "收起侧边栏", expandAriaLabel: "展开侧边栏" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "扫描二维码" }, avatar: { defaultAlt: "用户头像", notificationAriaLabel: "有通知" }, baseInput: { clearInputAriaLabel: "清空输入框" }, spinner: { loadingAriaLabel: "加载中" }, dialogHeader: { goBackAriaLabel: "返回", closeAriaLabel: "关闭" }, banner: { closeAriaLabel: "关闭" }, link: { opensInNewTabAriaLabel: "(在新选项卡中打开)" }, navBar: { goBackAriaLabel: "返回" }, sideBar: { navigationAriaLabel: "侧边栏导航", collapseAriaLabel: "收起侧边栏", expandAriaLabel: "展开侧边栏" } }, e = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
package/dist/index.js
CHANGED
|
@@ -1,58 +1,60 @@
|
|
|
1
|
-
import { Languages as
|
|
2
|
-
import { AddressInput as
|
|
3
|
-
import { AmountInput as
|
|
4
|
-
import { AmountDisplay as
|
|
5
|
-
import { Avatar as
|
|
6
|
-
import { Banner as
|
|
7
|
-
import { BaseInput as
|
|
8
|
-
import { Button as
|
|
1
|
+
import { Languages as r } from "./i18n/languages.js";
|
|
2
|
+
import { AddressInput as a } from "./lib/Components/AddressInput/AddressInput.js";
|
|
3
|
+
import { AmountInput as i } from "./lib/Components/AmountInput/AmountInput.js";
|
|
4
|
+
import { AmountDisplay as p } from "./lib/Components/AmountDisplay/AmountDisplay.js";
|
|
5
|
+
import { Avatar as T } from "./lib/Components/Avatar/Avatar.js";
|
|
6
|
+
import { Banner as x } from "./lib/Components/Banner/Banner.js";
|
|
7
|
+
import { BaseInput as S } from "./lib/Components/BaseInput/BaseInput.js";
|
|
8
|
+
import { Button as b } from "./lib/Components/Button/Button.js";
|
|
9
9
|
import { BaseButton as c } from "./lib/Components/Button/BaseButton.js";
|
|
10
10
|
import { CardButton as B } from "./lib/Components/CardButton/CardButton.js";
|
|
11
|
-
import { Checkbox as
|
|
12
|
-
import { Dialog as
|
|
13
|
-
import { DialogHeader as
|
|
14
|
-
import { Divider as
|
|
15
|
-
import { IconButton as
|
|
16
|
-
import { InteractiveIcon as
|
|
11
|
+
import { Checkbox as C } from "./lib/Components/Checkbox/Checkbox.js";
|
|
12
|
+
import { Dialog as h, DialogBody as M, DialogContent as D, DialogFooter as v, DialogTrigger as A } from "./lib/Components/Dialog/Dialog.js";
|
|
13
|
+
import { DialogHeader as w } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
|
|
14
|
+
import { Divider as H } from "./lib/Components/Divider/Divider.js";
|
|
15
|
+
import { IconButton as y } from "./lib/Components/IconButton/IconButton.js";
|
|
16
|
+
import { InteractiveIcon as P } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
|
|
17
17
|
import { Link as j } from "./lib/Components/Link/Link.js";
|
|
18
18
|
import { ListItem as z, ListItemContent as E, ListItemDescription as J, ListItemIcon as K, ListItemLeading as O, ListItemSpot as Q, ListItemTitle as U, ListItemTrailing as V, ListItemTruncate as W } from "./lib/Components/ListItem/ListItem.js";
|
|
19
|
-
import { Menu as Y, MenuCheckboxItem as Z, MenuContent as _, MenuGroup as $, MenuItem as ee, MenuLabel as oe, MenuPortal as
|
|
20
|
-
import { NavBar as
|
|
19
|
+
import { Menu as Y, MenuCheckboxItem as Z, MenuContent as _, MenuGroup as $, MenuItem as ee, MenuLabel as oe, MenuPortal as re, MenuRadioGroup as te, MenuRadioItem as ae, MenuSeparator as ne, MenuSub as ie, MenuSubContent as le, MenuSubTrigger as pe, MenuTrigger as me } from "./lib/Components/Menu/Menu.js";
|
|
20
|
+
import { NavBar as ue, NavBarBackButton as xe, NavBarCoinCapsule as fe, NavBarTitle as Se, NavBarTrailing as de } from "./lib/Components/NavBar/NavBar.js";
|
|
21
|
+
import { PageIndicator as ge } from "./lib/Components/PageIndicator/PageIndicator.js";
|
|
21
22
|
import { SearchInput as Ie } from "./lib/Components/SearchInput/SearchInput.js";
|
|
22
|
-
import { Select as se, SelectContent as
|
|
23
|
-
import { SideBar as
|
|
23
|
+
import { Select as se, SelectContent as Ce, SelectGroup as Le, SelectItem as he, SelectItemText as Me, SelectLabel as De, SelectSeparator as ve, SelectTrigger as Ae } from "./lib/Components/Select/Select.js";
|
|
24
|
+
import { SideBar as we, SideBarCollapseToggle as ke, SideBarItem as He, SideBarLeading as Ne, SideBarTrailing as ye } from "./lib/Components/SideBar/SideBar.js";
|
|
24
25
|
import { Skeleton as Pe } from "./lib/Components/Skeleton/Skeleton.js";
|
|
25
|
-
import { Spinner as
|
|
26
|
-
import { Spot as
|
|
27
|
-
import { Subheader as
|
|
28
|
-
import { Switch as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
26
|
+
import { Spinner as je } from "./lib/Components/Spinner/Spinner.js";
|
|
27
|
+
import { Spot as ze } from "./lib/Components/Spot/Spot.js";
|
|
28
|
+
import { Subheader as Je, SubheaderAction as Ke, SubheaderCount as Oe, SubheaderDescription as Qe, SubheaderInfo as Ue, SubheaderRow as Ve, SubheaderShowMore as We, SubheaderTitle as Xe } from "./lib/Components/Subheader/Subheader.js";
|
|
29
|
+
import { Switch as Ze } from "./lib/Components/Switch/Switch.js";
|
|
30
|
+
import { Table as $e, TableActionBar as eo, TableActionBarLeading as oo, TableActionBarTrailing as ro, TableBody as to, TableCell as ao, TableCellContent as no, TableGroupHeaderRow as io, TableHeader as lo, TableHeaderCell as po, TableHeaderRow as mo, TableInfoIcon as To, TableLoadingRow as uo, TableRoot as xo, TableRow as fo, TableSortButton as So } from "./lib/Components/Table/Table.js";
|
|
31
|
+
import { Tag as go } from "./lib/Components/Tag/Tag.js";
|
|
32
|
+
import { TextInput as Io } from "./lib/Components/TextInput/TextInput.js";
|
|
33
|
+
import { Tile as so, TileContent as Co, TileDescription as Lo, TileSecondaryAction as ho, TileSpot as Mo, TileTitle as Do, TileTrailingContent as vo } from "./lib/Components/Tile/Tile.js";
|
|
34
|
+
import { TileButton as Ro } from "./lib/Components/TileButton/TileButton.js";
|
|
35
|
+
import { Tooltip as ko, TooltipContent as Ho, TooltipProvider as No, TooltipTrigger as yo } from "./lib/Components/Tooltip/Tooltip.js";
|
|
36
|
+
import { ThemeProvider as Po, useTheme as Fo } from "./lib/Components/ThemeProvider/ThemeProvider.js";
|
|
35
37
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
a as AddressInput,
|
|
39
|
+
p as AmountDisplay,
|
|
40
|
+
i as AmountInput,
|
|
41
|
+
T as Avatar,
|
|
42
|
+
x as Banner,
|
|
41
43
|
c as BaseButton,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
S as BaseInput,
|
|
45
|
+
b as Button,
|
|
44
46
|
B as CardButton,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
C as Checkbox,
|
|
48
|
+
h as Dialog,
|
|
47
49
|
M as DialogBody,
|
|
48
50
|
D as DialogContent,
|
|
49
51
|
v as DialogFooter,
|
|
50
|
-
|
|
52
|
+
w as DialogHeader,
|
|
51
53
|
A as DialogTrigger,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
H as Divider,
|
|
55
|
+
y as IconButton,
|
|
56
|
+
P as InteractiveIcon,
|
|
57
|
+
r as Languages,
|
|
56
58
|
j as Link,
|
|
57
59
|
z as ListItem,
|
|
58
60
|
E as ListItemContent,
|
|
@@ -69,59 +71,76 @@ export {
|
|
|
69
71
|
$ as MenuGroup,
|
|
70
72
|
ee as MenuItem,
|
|
71
73
|
oe as MenuLabel,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
re as MenuPortal,
|
|
75
|
+
te as MenuRadioGroup,
|
|
76
|
+
ae as MenuRadioItem,
|
|
75
77
|
ne as MenuSeparator,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
ie as MenuSub,
|
|
79
|
+
le as MenuSubContent,
|
|
80
|
+
pe as MenuSubTrigger,
|
|
81
|
+
me as MenuTrigger,
|
|
82
|
+
ue as NavBar,
|
|
83
|
+
xe as NavBarBackButton,
|
|
84
|
+
fe as NavBarCoinCapsule,
|
|
85
|
+
Se as NavBarTitle,
|
|
86
|
+
de as NavBarTrailing,
|
|
87
|
+
ge as PageIndicator,
|
|
85
88
|
Ie as SearchInput,
|
|
86
89
|
se as Select,
|
|
87
|
-
|
|
88
|
-
|
|
90
|
+
Ce as SelectContent,
|
|
91
|
+
Le as SelectGroup,
|
|
89
92
|
he as SelectItem,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
Me as SelectItemText,
|
|
94
|
+
De as SelectLabel,
|
|
95
|
+
ve as SelectSeparator,
|
|
96
|
+
Ae as SelectTrigger,
|
|
97
|
+
we as SideBar,
|
|
95
98
|
ke as SideBarCollapseToggle,
|
|
96
|
-
|
|
97
|
-
|
|
99
|
+
He as SideBarItem,
|
|
100
|
+
Ne as SideBarLeading,
|
|
98
101
|
ye as SideBarTrailing,
|
|
99
102
|
Pe as Skeleton,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
io as
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
103
|
+
je as Spinner,
|
|
104
|
+
ze as Spot,
|
|
105
|
+
Je as Subheader,
|
|
106
|
+
Ke as SubheaderAction,
|
|
107
|
+
Oe as SubheaderCount,
|
|
108
|
+
Qe as SubheaderDescription,
|
|
109
|
+
Ue as SubheaderInfo,
|
|
110
|
+
Ve as SubheaderRow,
|
|
111
|
+
We as SubheaderShowMore,
|
|
112
|
+
Xe as SubheaderTitle,
|
|
113
|
+
Ze as Switch,
|
|
114
|
+
$e as Table,
|
|
115
|
+
eo as TableActionBar,
|
|
116
|
+
oo as TableActionBarLeading,
|
|
117
|
+
ro as TableActionBarTrailing,
|
|
118
|
+
to as TableBody,
|
|
119
|
+
ao as TableCell,
|
|
120
|
+
no as TableCellContent,
|
|
121
|
+
io as TableGroupHeaderRow,
|
|
122
|
+
lo as TableHeader,
|
|
123
|
+
po as TableHeaderCell,
|
|
124
|
+
mo as TableHeaderRow,
|
|
125
|
+
To as TableInfoIcon,
|
|
126
|
+
uo as TableLoadingRow,
|
|
127
|
+
xo as TableRoot,
|
|
128
|
+
fo as TableRow,
|
|
129
|
+
So as TableSortButton,
|
|
130
|
+
go as Tag,
|
|
131
|
+
Io as TextInput,
|
|
132
|
+
Po as ThemeProvider,
|
|
133
|
+
so as Tile,
|
|
134
|
+
Ro as TileButton,
|
|
135
|
+
Co as TileContent,
|
|
136
|
+
Lo as TileDescription,
|
|
137
|
+
ho as TileSecondaryAction,
|
|
138
|
+
Mo as TileSpot,
|
|
139
|
+
Do as TileTitle,
|
|
140
|
+
vo as TileTrailingContent,
|
|
141
|
+
ko as Tooltip,
|
|
142
|
+
Ho as TooltipContent,
|
|
143
|
+
No as TooltipProvider,
|
|
144
|
+
yo as TooltipTrigger,
|
|
145
|
+
Fo as useTheme
|
|
127
146
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { getFontSize as
|
|
1
|
+
import { jsxs as V, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { getFontSize as j, cn as a, textFormatter as F } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
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
|
-
const
|
|
5
|
+
const G = z(
|
|
6
6
|
[
|
|
7
7
|
"bg-transparent heading-0 caret-active outline-hidden transition-colors",
|
|
8
8
|
"text-base placeholder:text-muted-subtle",
|
|
@@ -28,7 +28,7 @@ const L = z(
|
|
|
28
28
|
"group-has-[input:placeholder-shown]:text-muted-subtle",
|
|
29
29
|
"group-has-[input:disabled]:cursor-not-allowed group-has-[input:disabled]:text-disabled",
|
|
30
30
|
'group-has-[input[aria-invalid="true"]]:text-error'
|
|
31
|
-
),
|
|
31
|
+
), H = M.forwardRef(
|
|
32
32
|
({
|
|
33
33
|
className: x,
|
|
34
34
|
currencyText: r,
|
|
@@ -42,8 +42,8 @@ const L = z(
|
|
|
42
42
|
onChange: C,
|
|
43
43
|
...N
|
|
44
44
|
}, A) => {
|
|
45
|
-
const c = p(null), s = p(null), [n, f] = h(u.toString()), [
|
|
46
|
-
function
|
|
45
|
+
const c = p(null), s = p(null), [n, f] = h(u.toString()), [k, m] = h(!1), g = p(n);
|
|
46
|
+
function E(...t) {
|
|
47
47
|
return (e) => {
|
|
48
48
|
t.forEach((o) => {
|
|
49
49
|
o && (typeof o == "function" ? o(e) : o.current = e);
|
|
@@ -51,7 +51,7 @@ const L = z(
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
const i = _(
|
|
54
|
-
() =>
|
|
54
|
+
() => j(n) + "px",
|
|
55
55
|
[n]
|
|
56
56
|
);
|
|
57
57
|
q(() => {
|
|
@@ -62,7 +62,7 @@ const L = z(
|
|
|
62
62
|
}, [n]), D(() => {
|
|
63
63
|
f(u.toString());
|
|
64
64
|
}, [u]);
|
|
65
|
-
const
|
|
65
|
+
const I = (t) => {
|
|
66
66
|
const e = F(t.target.value, {
|
|
67
67
|
allowDecimals: y,
|
|
68
68
|
thousandsSeparator: R,
|
|
@@ -71,7 +71,7 @@ const L = z(
|
|
|
71
71
|
});
|
|
72
72
|
f(e), C({ ...t, target: { ...t.target, value: e } }), e !== g.current && m(!0), g.current = e;
|
|
73
73
|
};
|
|
74
|
-
return /* @__PURE__ */
|
|
74
|
+
return /* @__PURE__ */ V(
|
|
75
75
|
"div",
|
|
76
76
|
{
|
|
77
77
|
className: "group relative flex items-center justify-center transition-transform",
|
|
@@ -103,14 +103,14 @@ const L = z(
|
|
|
103
103
|
/* @__PURE__ */ l(
|
|
104
104
|
"input",
|
|
105
105
|
{
|
|
106
|
-
ref:
|
|
106
|
+
ref: E(A, s),
|
|
107
107
|
type: "text",
|
|
108
108
|
inputMode: "decimal",
|
|
109
109
|
disabled: w,
|
|
110
110
|
value: n,
|
|
111
|
-
onChange:
|
|
111
|
+
onChange: I,
|
|
112
112
|
onAnimationEnd: () => m(!1),
|
|
113
|
-
className: a(
|
|
113
|
+
className: a(G({ isChanging: k }), x),
|
|
114
114
|
...N,
|
|
115
115
|
style: { fontSize: i, letterSpacing: "normal" }
|
|
116
116
|
}
|
|
@@ -128,7 +128,7 @@ const L = z(
|
|
|
128
128
|
);
|
|
129
129
|
}
|
|
130
130
|
);
|
|
131
|
-
|
|
131
|
+
H.displayName = "AmountInput";
|
|
132
132
|
export {
|
|
133
|
-
|
|
133
|
+
H as AmountInput
|
|
134
134
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAmC1B;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM;;;;;;;+EA4DlB,CAAC"}
|