@ledgerhq/lumen-ui-react 0.0.78 → 0.0.80

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 (59) hide show
  1. package/ai-rules/RULES.md +0 -80
  2. package/dist/i18n/locales/de.json.d.ts +4 -0
  3. package/dist/i18n/locales/de.json.js +4 -4
  4. package/dist/i18n/locales/en.json.d.ts +4 -0
  5. package/dist/i18n/locales/en.json.js +1 -1
  6. package/dist/i18n/locales/es.json.d.ts +4 -0
  7. package/dist/i18n/locales/es.json.js +1 -1
  8. package/dist/i18n/locales/fr.json.d.ts +4 -0
  9. package/dist/i18n/locales/fr.json.js +1 -1
  10. package/dist/i18n/locales/ja.json.d.ts +4 -0
  11. package/dist/i18n/locales/ja.json.js +1 -1
  12. package/dist/i18n/locales/ko.json.d.ts +4 -0
  13. package/dist/i18n/locales/ko.json.js +1 -1
  14. package/dist/i18n/locales/pt.json.d.ts +4 -0
  15. package/dist/i18n/locales/pt.json.js +1 -1
  16. package/dist/i18n/locales/ru.json.d.ts +4 -0
  17. package/dist/i18n/locales/ru.json.js +1 -1
  18. package/dist/i18n/locales/th.json.d.ts +4 -0
  19. package/dist/i18n/locales/th.json.js +1 -1
  20. package/dist/i18n/locales/tr.json.d.ts +4 -0
  21. package/dist/i18n/locales/tr.json.js +1 -1
  22. package/dist/i18n/locales/zh.json.d.ts +4 -0
  23. package/dist/i18n/locales/zh.json.js +1 -1
  24. package/dist/index.js +62 -60
  25. package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
  26. package/dist/lib/Components/Avatar/Avatar.js +50 -33
  27. package/dist/lib/Components/Avatar/types.d.ts +0 -1
  28. package/dist/lib/Components/Avatar/types.d.ts.map +1 -1
  29. package/dist/lib/Components/PageIndicator/PageIndicator.d.ts +11 -0
  30. package/dist/lib/Components/PageIndicator/PageIndicator.d.ts.map +1 -0
  31. package/dist/lib/Components/PageIndicator/PageIndicator.js +88 -0
  32. package/dist/lib/Components/PageIndicator/index.d.ts +3 -0
  33. package/dist/lib/Components/PageIndicator/index.d.ts.map +1 -0
  34. package/dist/lib/Components/PageIndicator/types.d.ts +12 -0
  35. package/dist/lib/Components/PageIndicator/types.d.ts.map +1 -0
  36. package/dist/lib/Components/Subheader/Subheader.d.ts.map +1 -1
  37. package/dist/lib/Components/Subheader/Subheader.js +39 -39
  38. package/dist/lib/Components/index.d.ts +1 -0
  39. package/dist/lib/Components/index.d.ts.map +1 -1
  40. package/dist/lib/Symbols/Icons/Chart5.d.ts +26 -0
  41. package/dist/lib/Symbols/Icons/Chart5.d.ts.map +1 -0
  42. package/dist/lib/Symbols/Icons/Chart5.js +39 -0
  43. package/dist/lib/Symbols/Icons/Chart5Fill.d.ts +26 -0
  44. package/dist/lib/Symbols/Icons/Chart5Fill.d.ts.map +1 -0
  45. package/dist/lib/Symbols/Icons/Chart5Fill.js +25 -0
  46. package/dist/lib/Symbols/Icons/CurveDown.d.ts +26 -0
  47. package/dist/lib/Symbols/Icons/CurveDown.d.ts.map +1 -0
  48. package/dist/lib/Symbols/Icons/CurveDown.js +63 -0
  49. package/dist/lib/Symbols/Icons/CurveUp.d.ts +26 -0
  50. package/dist/lib/Symbols/Icons/CurveUp.d.ts.map +1 -0
  51. package/dist/lib/Symbols/Icons/CurveUp.js +62 -0
  52. package/dist/lib/Symbols/Icons/Target.d.ts +26 -0
  53. package/dist/lib/Symbols/Icons/Target.d.ts.map +1 -0
  54. package/dist/lib/Symbols/Icons/Target.js +28 -0
  55. package/dist/lib/Symbols/index.d.ts +5 -0
  56. package/dist/lib/Symbols/index.d.ts.map +1 -1
  57. package/dist/lib/Symbols/index.js +448 -438
  58. package/dist/package.json +1 -1
  59. package/package.json +1 -1
package/ai-rules/RULES.md CHANGED
@@ -357,83 +357,3 @@ Use ONLY the unique part after the last hyphen of the CSS variable name.
357
357
  - Transform: replace `/` with `-`
358
358
  - Result: `body-3` (transform `body/3` → `body-3`)
359
359
  - Example: `/* heading/2-semi-bold */` → `heading-3-semi-bold`
360
-
361
- ---
362
-
363
- ## React Native Components
364
-
365
- Lumen also provides a comprehensive set of React Native components via `@ledgerhq/lumen-ui-rnative`.
366
-
367
- ### Available React Native Components
368
-
369
- Below is a complete list of all available Lumen React Native components. Click any component name to view its documentation and interactive examples in Storybook.
370
-
371
- **Components:**
372
-
373
- - [Button](https://ldls.vercel.app/?path=/docs/action-button--docs) - Primary action button component
374
- - [CardButton](https://ldls.vercel.app/?path=/docs/action-cardbutton--docs) - Card-style interactive button
375
- - [IconButton](https://ldls.vercel.app/?path=/docs/action-iconbutton--docs) - Button with icon only
376
- - [InteractiveIcon](https://ldls.vercel.app/?path=/docs/action-interactiveicon--docs) - Interactive icon with states
377
- - [Link](https://ldls.vercel.app/?path=/docs/action-link--docs) - Hyperlink component
378
- - [TileButton](https://ldls.vercel.app/?path=/docs/action-tilebutton--docs) - Interactive tile button
379
- - [AmountDisplay](https://ldls.vercel.app/?path=/docs/communication-amountdisplay--docs) - Display formatted amounts with currency
380
- - [Banner](https://ldls.vercel.app/?path=/docs/communication-banner--docs) - Alert and notification banners
381
- - [Spinner](https://ldls.vercel.app/?path=/docs/communication-spinner--docs) - Loading spinner indicator
382
- - [Spot](https://ldls.vercel.app/?path=/docs/communication-spot--docs) - Icon container with background
383
- - [Subheader](https://ldls.vercel.app/?path=/docs/communication-subheader--docs) - Section subheader component
384
- - [Tag](https://ldls.vercel.app/?path=/docs/communication-tag--docs) - Label and tag component
385
- - [Tooltip](https://ldls.vercel.app/?path=/docs/communication-tooltip--docs) - Tooltip overlay component
386
- - [BottomSheet](https://ldls.vercel.app/?path=/docs/containment-bottomsheet--docs) - Bottom sheet modal component
387
- - [ListItem](https://ldls.vercel.app/?path=/docs/containment-listitem--docs) - List item with flexible composition
388
- - [Tile](https://ldls.vercel.app/?path=/docs/containment-tile--docs) - Content container tile
389
- - [AddressInput](https://ldls.vercel.app/?path=/docs/input-addressinput--docs) - Input field for cryptocurrency addresses
390
- - [AmountInput](https://ldls.vercel.app/?path=/docs/input-amountinput--docs) - Input field for amount values
391
- - [SearchInput](https://ldls.vercel.app/?path=/docs/input-searchinput--docs) - Search input field
392
- - [TextInput](https://ldls.vercel.app/?path=/docs/input-textinput--docs) - Text input field
393
- - [Divider](https://ldls.vercel.app/?path=/docs/layout-divider--docs) - Visual separator line
394
- - [TabBar](https://ldls.vercel.app/?path=/docs/navigation-tabbar--docs) - Bottom tab navigation bar
395
- - [Checkbox](https://ldls.vercel.app/?path=/docs/selection-checkbox--docs) - Checkbox input for selections
396
- - [Select](https://ldls.vercel.app/?path=/docs/selection-select--docs) - Dropdown select component
397
- - [Switch](https://ldls.vercel.app/?path=/docs/selection-switch--docs) - Toggle switch component
398
-
399
- **Symbols:**
400
-
401
- - [Icon](https://ldls.vercel.app/?path=/docs/symbols-interface-icons--docs) - Interface icon components
402
-
403
- **Utility Components:**
404
-
405
- - [Box](https://ldls.vercel.app/?path=/docs/utility-box--docs) - Layout container with style props
406
- - [LinearGradient](https://ldls.vercel.app/?path=/docs/utility-lineargradient--docs) - Linear gradient component
407
- - [Pressable](https://ldls.vercel.app/?path=/docs/utility-pressable--docs) - Pressable wrapper with visual feedback
408
- - [RadialGradient](https://ldls.vercel.app/?path=/docs/utility-radialgradient--docs) - Radial gradient component
409
- - [Text](https://ldls.vercel.app/?path=/docs/utility-text--docs) - Text component with style props
410
-
411
- ### React Native Style System
412
-
413
- Lumen React Native uses a custom style system called `lx` that provides type-safe access to design tokens. Explore the style system documentation:
414
-
415
- - [Colors](https://ldls.vercel.app/?path=/docs/style-system-theme-colors--docs) - Semantic color tokens for background, text, and borders
416
- - [Spacings](https://ldls.vercel.app/?path=/docs/style-system-theme-spacings--docs) - Spacing scale for padding, margin, and gaps
417
- - [Sizes](https://ldls.vercel.app/?path=/docs/style-system-theme-sizes--docs) - Size tokens for width and height
418
- - [Shadows](https://ldls.vercel.app/?path=/docs/style-system-theme-shadows--docs) - Elevation shadow styles
419
- - [Border Width](https://ldls.vercel.app/?path=/docs/style-system-theme-border-width--docs) - Border width tokens
420
- - [Border Radius](https://ldls.vercel.app/?path=/docs/style-system-theme-border-radius--docs) - Border radius tokens
421
-
422
- #### Style System Usage
423
-
424
- ```tsx
425
- import { Box, Text } from '@ledgerhq/lumen-ui-rnative';
426
-
427
- // Using lx prop for type-safe styling
428
- <Box
429
- lx={{
430
- backgroundColor: 'base',
431
- padding: 16,
432
- borderRadius: 'md',
433
- borderWidth: 1,
434
- borderColor: 'muted',
435
- }}
436
- >
437
- <Text lx={{ color: 'base', fontSize: 'body-2' }}>Styled with design tokens</Text>
438
- </Box>;
439
- ```
@@ -3,6 +3,10 @@ declare const _default: {
3
3
  "addressInput": {
4
4
  "qrCodeAriaLabel": "QR-Code scannen"
5
5
  },
6
+ "avatar": {
7
+ "defaultAlt": "Benutzer-Avatar",
8
+ "notificationAriaLabel": "Hat Benachrichtigung"
9
+ },
6
10
  "baseInput": {
7
11
  "clearInputAriaLabel": "Eingabe löschen"
8
12
  },
@@ -1,7 +1,7 @@
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)" }, navBar: { goBackAriaLabel: "Zurück" }, sideBar: { navigationAriaLabel: "Seitennavigation", collapseAriaLabel: "Seitenleiste einklappen", expandAriaLabel: "Seitenleiste ausklappen" } }, a = {
2
- components: e
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
- e as components,
6
- a as default
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
  },
@@ -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" } }, 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
  },
@@ -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" } }, e = {
2
2
  components: a
3
3
  };
4
4
  export {
@@ -3,6 +3,10 @@ declare const _default: {
3
3
  "addressInput": {
4
4
  "qrCodeAriaLabel": "QRコードをスキャン"
5
5
  },
6
+ "avatar": {
7
+ "defaultAlt": "ユーザーアバター",
8
+ "notificationAriaLabel": "通知あり"
9
+ },
6
10
  "baseInput": {
7
11
  "clearInputAriaLabel": "インプットを削除"
8
12
  },
@@ -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 {
@@ -3,6 +3,10 @@ declare const _default: {
3
3
  "addressInput": {
4
4
  "qrCodeAriaLabel": "QR 코드 스캔"
5
5
  },
6
+ "avatar": {
7
+ "defaultAlt": "사용자 아바타",
8
+ "notificationAriaLabel": "알림 있음"
9
+ },
6
10
  "baseInput": {
7
11
  "clearInputAriaLabel": "입력 값 지우기"
8
12
  },
@@ -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 {
@@ -3,6 +3,10 @@ declare const _default: {
3
3
  "addressInput": {
4
4
  "qrCodeAriaLabel": "Escanear QR Code"
5
5
  },
6
+ "avatar": {
7
+ "defaultAlt": "Avatar do usuário",
8
+ "notificationAriaLabel": "Tem notificação"
9
+ },
6
10
  "baseInput": {
7
11
  "clearInputAriaLabel": "Limpar input"
8
12
  },
@@ -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 {
@@ -3,6 +3,10 @@ declare const _default: {
3
3
  "addressInput": {
4
4
  "qrCodeAriaLabel": "Сканировать QR-код"
5
5
  },
6
+ "avatar": {
7
+ "defaultAlt": "Аватар пользователя",
8
+ "notificationAriaLabel": "Есть уведомление"
9
+ },
6
10
  "baseInput": {
7
11
  "clearInputAriaLabel": "Очистить поле"
8
12
  },
@@ -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 {
@@ -3,6 +3,10 @@ declare const _default: {
3
3
  "addressInput": {
4
4
  "qrCodeAriaLabel": "สแกน QR Code"
5
5
  },
6
+ "avatar": {
7
+ "defaultAlt": "อวาตาร์ผู้ใช้",
8
+ "notificationAriaLabel": "มีการแจ้งเตือน"
9
+ },
6
10
  "baseInput": {
7
11
  "clearInputAriaLabel": "ล้างอินพุต"
8
12
  },
@@ -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 {
@@ -3,6 +3,10 @@ declare const _default: {
3
3
  "addressInput": {
4
4
  "qrCodeAriaLabel": "Karekodu okut"
5
5
  },
6
+ "avatar": {
7
+ "defaultAlt": "Kullanıcı avatarı",
8
+ "notificationAriaLabel": "Bildirim var"
9
+ },
6
10
  "baseInput": {
7
11
  "clearInputAriaLabel": "Girdiyi temizle"
8
12
  },
@@ -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 {
@@ -3,6 +3,10 @@ declare const _default: {
3
3
  "addressInput": {
4
4
  "qrCodeAriaLabel": "扫描二维码"
5
5
  },
6
+ "avatar": {
7
+ "defaultAlt": "用户头像",
8
+ "notificationAriaLabel": "有通知"
9
+ },
6
10
  "baseInput": {
7
11
  "clearInputAriaLabel": "清空输入框"
8
12
  },
@@ -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
@@ -11,27 +11,28 @@ import { CardButton as B } from "./lib/Components/CardButton/CardButton.js";
11
11
  import { Checkbox as h } from "./lib/Components/Checkbox/Checkbox.js";
12
12
  import { Dialog as L, DialogBody as M, DialogContent as D, DialogFooter as v, DialogTrigger as A } from "./lib/Components/Dialog/Dialog.js";
13
13
  import { DialogHeader as N } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
14
- import { Divider as y } from "./lib/Components/Divider/Divider.js";
15
- import { IconButton as P } from "./lib/Components/IconButton/IconButton.js";
14
+ import { Divider as w } from "./lib/Components/Divider/Divider.js";
15
+ import { IconButton as G } from "./lib/Components/IconButton/IconButton.js";
16
16
  import { InteractiveIcon as F } 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
19
  import { Menu as Y, MenuCheckboxItem as Z, MenuContent as _, MenuGroup as $, MenuItem as ee, MenuLabel as oe, MenuPortal as te, MenuRadioGroup as re, MenuRadioItem as ie, MenuSeparator as ne, MenuSub as ae, MenuSubContent as pe, MenuSubTrigger as me, MenuTrigger as ue } from "./lib/Components/Menu/Menu.js";
20
20
  import { NavBar as xe, NavBarBackButton as fe, NavBarCoinCapsule as Se, NavBarTitle as Te, NavBarTrailing as ge } from "./lib/Components/NavBar/NavBar.js";
21
- import { SearchInput as Ie } from "./lib/Components/SearchInput/SearchInput.js";
22
- import { Select as se, SelectContent as Be, SelectGroup as be, SelectItem as he, SelectItemText as Ce, SelectLabel as Le, SelectSeparator as Me, SelectTrigger as De } from "./lib/Components/Select/Select.js";
23
- import { SideBar as Ae, SideBarCollapseToggle as ke, SideBarItem as Ne, SideBarLeading as we, SideBarTrailing as ye } from "./lib/Components/SideBar/SideBar.js";
24
- import { Skeleton as Pe } from "./lib/Components/Skeleton/Skeleton.js";
25
- import { Spinner as Fe } from "./lib/Components/Spinner/Spinner.js";
26
- import { Spot as je } from "./lib/Components/Spot/Spot.js";
27
- import { Subheader as ze, SubheaderAction as Ee, SubheaderCount as Je, SubheaderDescription as Ke, SubheaderInfo as Oe, SubheaderRow as Qe, SubheaderShowMore as Ue, SubheaderTitle as Ve } from "./lib/Components/Subheader/Subheader.js";
28
- import { Switch as Xe } from "./lib/Components/Switch/Switch.js";
29
- import { Tag as Ze } from "./lib/Components/Tag/Tag.js";
30
- import { TextInput as $e } from "./lib/Components/TextInput/TextInput.js";
31
- import { Tile as oo, TileContent as to, TileDescription as ro, TileSecondaryAction as io, TileSpot as no, TileTitle as ao, TileTrailingContent as po } from "./lib/Components/Tile/Tile.js";
32
- import { TileButton as uo } from "./lib/Components/TileButton/TileButton.js";
33
- import { Tooltip as xo, TooltipContent as fo, TooltipProvider as So, TooltipTrigger as To } from "./lib/Components/Tooltip/Tooltip.js";
34
- import { ThemeProvider as Io, useTheme as co } from "./lib/Components/ThemeProvider/ThemeProvider.js";
21
+ import { PageIndicator as Ie } from "./lib/Components/PageIndicator/PageIndicator.js";
22
+ import { SearchInput as se } from "./lib/Components/SearchInput/SearchInput.js";
23
+ import { Select as be, SelectContent as he, SelectGroup as Ce, SelectItem as Le, SelectItemText as Me, SelectLabel as De, SelectSeparator as ve, SelectTrigger as Ae } from "./lib/Components/Select/Select.js";
24
+ import { SideBar as Ne, SideBarCollapseToggle as Pe, SideBarItem as we, SideBarLeading as ye, SideBarTrailing as Ge } from "./lib/Components/SideBar/SideBar.js";
25
+ import { Skeleton as Fe } from "./lib/Components/Skeleton/Skeleton.js";
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 { Tag as $e } from "./lib/Components/Tag/Tag.js";
31
+ import { TextInput as oo } from "./lib/Components/TextInput/TextInput.js";
32
+ import { Tile as ro, TileContent as io, TileDescription as no, TileSecondaryAction as ao, TileSpot as po, TileTitle as mo, TileTrailingContent as uo } from "./lib/Components/Tile/Tile.js";
33
+ import { TileButton as xo } from "./lib/Components/TileButton/TileButton.js";
34
+ import { Tooltip as So, TooltipContent as To, TooltipProvider as go, TooltipTrigger as Io } from "./lib/Components/Tooltip/Tooltip.js";
35
+ import { ThemeProvider as so, useTheme as Bo } from "./lib/Components/ThemeProvider/ThemeProvider.js";
35
36
  export {
36
37
  i as AddressInput,
37
38
  m as AmountDisplay,
@@ -49,8 +50,8 @@ export {
49
50
  v as DialogFooter,
50
51
  N as DialogHeader,
51
52
  A as DialogTrigger,
52
- y as Divider,
53
- P as IconButton,
53
+ w as Divider,
54
+ G as IconButton,
54
55
  F as InteractiveIcon,
55
56
  t as Languages,
56
57
  j as Link,
@@ -82,46 +83,47 @@ export {
82
83
  Se as NavBarCoinCapsule,
83
84
  Te as NavBarTitle,
84
85
  ge as NavBarTrailing,
85
- Ie as SearchInput,
86
- se as Select,
87
- Be as SelectContent,
88
- be as SelectGroup,
89
- he as SelectItem,
90
- Ce as SelectItemText,
91
- Le as SelectLabel,
92
- Me as SelectSeparator,
93
- De as SelectTrigger,
94
- Ae as SideBar,
95
- ke as SideBarCollapseToggle,
96
- Ne as SideBarItem,
97
- we as SideBarLeading,
98
- ye as SideBarTrailing,
99
- Pe as Skeleton,
100
- Fe as Spinner,
101
- je as Spot,
102
- ze as Subheader,
103
- Ee as SubheaderAction,
104
- Je as SubheaderCount,
105
- Ke as SubheaderDescription,
106
- Oe as SubheaderInfo,
107
- Qe as SubheaderRow,
108
- Ue as SubheaderShowMore,
109
- Ve as SubheaderTitle,
110
- Xe as Switch,
111
- Ze as Tag,
112
- $e as TextInput,
113
- Io as ThemeProvider,
114
- oo as Tile,
115
- uo as TileButton,
116
- to as TileContent,
117
- ro as TileDescription,
118
- io as TileSecondaryAction,
119
- no as TileSpot,
120
- ao as TileTitle,
121
- po as TileTrailingContent,
122
- xo as Tooltip,
123
- fo as TooltipContent,
124
- So as TooltipProvider,
125
- To as TooltipTrigger,
126
- co as useTheme
86
+ Ie as PageIndicator,
87
+ se as SearchInput,
88
+ be as Select,
89
+ he as SelectContent,
90
+ Ce as SelectGroup,
91
+ Le as SelectItem,
92
+ Me as SelectItemText,
93
+ De as SelectLabel,
94
+ ve as SelectSeparator,
95
+ Ae as SelectTrigger,
96
+ Ne as SideBar,
97
+ Pe as SideBarCollapseToggle,
98
+ we as SideBarItem,
99
+ ye as SideBarLeading,
100
+ Ge as SideBarTrailing,
101
+ Fe as Skeleton,
102
+ je as Spinner,
103
+ ze as Spot,
104
+ Je as Subheader,
105
+ Ke as SubheaderAction,
106
+ Oe as SubheaderCount,
107
+ Qe as SubheaderDescription,
108
+ Ue as SubheaderInfo,
109
+ Ve as SubheaderRow,
110
+ We as SubheaderShowMore,
111
+ Xe as SubheaderTitle,
112
+ Ze as Switch,
113
+ $e as Tag,
114
+ oo as TextInput,
115
+ so as ThemeProvider,
116
+ ro as Tile,
117
+ xo as TileButton,
118
+ io as TileContent,
119
+ no as TileDescription,
120
+ ao as TileSecondaryAction,
121
+ po as TileSpot,
122
+ mo as TileTitle,
123
+ uo as TileTrailingContent,
124
+ So as Tooltip,
125
+ To as TooltipContent,
126
+ go as TooltipProvider,
127
+ Io as TooltipTrigger,
128
+ Bo as useTheme
127
129
  };
@@ -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;AAkC1B;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM;;;;;;;+EA2ClB,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"}
@@ -1,9 +1,10 @@
1
- import { jsxs as p, jsx as t } from "react/jsx-runtime";
2
- import { cva as s } from "class-variance-authority";
3
- import a from "react";
4
- import { User as z } from "../../Symbols/Icons/User.js";
5
- const i = {
6
- root: s(
1
+ import { jsxs as g, jsx as r } from "react/jsx-runtime";
2
+ import { cva as n } from "class-variance-authority";
3
+ import t from "react";
4
+ import { useCommonTranslation as h } from "../../../i18n/useCommonTranslation.js";
5
+ import { User as A } from "../../Symbols/Icons/User.js";
6
+ const d = {
7
+ root: n(
7
8
  "relative inline-flex items-center justify-center rounded-full bg-muted-transparent transition-colors",
8
9
  {
9
10
  variants: {
@@ -17,7 +18,7 @@ const i = {
17
18
  }
18
19
  }
19
20
  ),
20
- notification: s("absolute top-0 right-0 rounded-full bg-error-strong", {
21
+ notification: n("absolute top-0 right-0 rounded-full bg-error-strong", {
21
22
  variants: {
22
23
  size: {
23
24
  sm: "size-10",
@@ -25,38 +26,54 @@ const i = {
25
26
  }
26
27
  }
27
28
  })
28
- }, b = {
29
+ }, j = {
29
30
  sm: 16,
30
31
  md: 24
31
- }, g = a.forwardRef(
32
+ }, x = t.forwardRef(
32
33
  ({
33
- className: l,
34
- src: e,
35
- alt: n = "avatar",
36
- size: r = "md",
37
- imgLoading: d,
38
- showNotification: f = !1,
39
- ...m
40
- }, c) => {
41
- const [u, o] = a.useState(!1), v = !e || u;
42
- return a.useEffect(() => {
43
- o(!1);
44
- }, [e]), /* @__PURE__ */ p(
34
+ className: m,
35
+ src: a,
36
+ alt: c,
37
+ size: e = "md",
38
+ imgLoading: f,
39
+ showNotification: o = !1,
40
+ ...u
41
+ }, v) => {
42
+ const { t: i } = h(), [p, s] = t.useState(!1), b = !a || p, l = c || i("components.avatar.defaultAlt"), z = o ? `${l}, ${i("components.avatar.notificationAriaLabel")}` : l;
43
+ return t.useEffect(() => {
44
+ s(!1);
45
+ }, [a]), /* @__PURE__ */ g(
45
46
  "div",
46
47
  {
47
- ref: c,
48
- className: i.root({ size: r, className: l }),
49
- ...m,
48
+ ref: v,
49
+ className: d.root({ size: e, className: m }),
50
+ role: "img",
51
+ "aria-label": z,
52
+ ...u,
50
53
  children: [
51
- f && /* @__PURE__ */ t("div", { className: i.notification({ size: r }) }),
52
- v ? /* @__PURE__ */ t(z, { size: b[r] }) : /* @__PURE__ */ t(
54
+ o && /* @__PURE__ */ r(
55
+ "div",
56
+ {
57
+ className: d.notification({ size: e }),
58
+ "aria-hidden": "true"
59
+ }
60
+ ),
61
+ b ? /* @__PURE__ */ r(
62
+ A,
63
+ {
64
+ size: j[e],
65
+ "aria-label": "Fallback Icon",
66
+ "aria-hidden": "true"
67
+ }
68
+ ) : /* @__PURE__ */ r(
53
69
  "img",
54
70
  {
55
- src: e,
56
- alt: n,
57
- loading: d,
58
- onError: () => o(!0),
59
- className: "size-full overflow-hidden rounded-full object-cover"
71
+ src: a,
72
+ alt: "",
73
+ loading: f,
74
+ onError: () => s(!0),
75
+ className: "size-full overflow-hidden rounded-full object-cover",
76
+ "aria-hidden": "true"
60
77
  }
61
78
  )
62
79
  ]
@@ -64,7 +81,7 @@ const i = {
64
81
  );
65
82
  }
66
83
  );
67
- g.displayName = "Avatar";
84
+ x.displayName = "Avatar";
68
85
  export {
69
- g as Avatar
86
+ x as Avatar
70
87
  };
@@ -7,7 +7,6 @@ export type AvatarProps = {
7
7
  /**
8
8
  * Alternative text for the image.
9
9
  * @optional
10
- * @default avatar
11
10
  */
12
11
  alt?: string;
13
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC/B,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC/B,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * A page indicator component that shows the current position within a set of pages (e.g. carousel or onboarding).
3
+ *
4
+ * Renders a row of dots: the active dot is highlighted, and when there are more pages than visible dots,
5
+ * edge dots shrink and the strip scrolls to keep the current page in view.
6
+ */
7
+ export declare const PageIndicator: import('react').ForwardRefExoticComponent<{
8
+ currentPage: number;
9
+ totalPages: number;
10
+ } & Omit<import('react').HTMLAttributes<HTMLDivElement>, "children"> & import('react').RefAttributes<HTMLDivElement>>;
11
+ //# sourceMappingURL=PageIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageIndicator.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/PageIndicator/PageIndicator.tsx"],"names":[],"mappings":"AAuFA;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;qHA8CzB,CAAC"}