@ledgerhq/lumen-ui-react 0.0.76 → 0.0.78
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/ai-rules/RULES.md +117 -0
- package/dist/i18n/locales/de.json.d.ts +5 -0
- package/dist/i18n/locales/de.json.js +1 -1
- package/dist/i18n/locales/en.json.d.ts +5 -0
- package/dist/i18n/locales/en.json.js +1 -1
- package/dist/i18n/locales/es.json.d.ts +5 -0
- package/dist/i18n/locales/es.json.js +1 -1
- package/dist/i18n/locales/fr.json.d.ts +5 -0
- package/dist/i18n/locales/fr.json.js +4 -4
- package/dist/i18n/locales/ja.json.d.ts +5 -0
- package/dist/i18n/locales/ja.json.js +1 -1
- package/dist/i18n/locales/ko.json.d.ts +5 -0
- package/dist/i18n/locales/ko.json.js +1 -1
- package/dist/i18n/locales/pt.json.d.ts +5 -0
- package/dist/i18n/locales/pt.json.js +1 -1
- package/dist/i18n/locales/ru.json.d.ts +5 -0
- package/dist/i18n/locales/ru.json.js +1 -1
- package/dist/i18n/locales/th.json.d.ts +5 -0
- package/dist/i18n/locales/th.json.js +1 -1
- package/dist/i18n/locales/tr.json.d.ts +5 -0
- package/dist/i18n/locales/tr.json.js +1 -1
- package/dist/i18n/locales/zh.json.d.ts +5 -0
- package/dist/i18n/locales/zh.json.js +1 -1
- package/dist/index.js +119 -111
- package/dist/lib/Components/Avatar/Avatar.d.ts +26 -0
- package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/lib/Components/Avatar/Avatar.js +70 -0
- package/dist/lib/Components/Avatar/index.d.ts +3 -0
- package/dist/lib/Components/Avatar/index.d.ts.map +1 -0
- package/dist/lib/Components/Avatar/types.d.ts +39 -0
- package/dist/lib/Components/Avatar/types.d.ts.map +1 -0
- package/dist/lib/Components/SideBar/SideBar.d.ts +101 -0
- package/dist/lib/Components/SideBar/SideBar.d.ts.map +1 -0
- package/dist/lib/Components/SideBar/SideBar.js +206 -0
- package/dist/lib/Components/SideBar/index.d.ts +3 -0
- package/dist/lib/Components/SideBar/index.d.ts.map +1 -0
- package/dist/lib/Components/SideBar/types.d.ts +136 -0
- package/dist/lib/Components/SideBar/types.d.ts.map +1 -0
- package/dist/lib/Components/Subheader/Subheader.d.ts.map +1 -1
- package/dist/lib/Components/Subheader/Subheader.js +4 -1
- package/dist/lib/Components/Tag/Tag.d.ts +1 -1
- package/dist/lib/Components/index.d.ts +2 -0
- package/dist/lib/Components/index.d.ts.map +1 -1
- package/dist/lib/Symbols/Icons/ChevronAscending.d.ts +26 -0
- package/dist/lib/Symbols/Icons/ChevronAscending.d.ts.map +1 -0
- package/dist/lib/Symbols/Icons/ChevronAscending.js +40 -0
- package/dist/lib/Symbols/Icons/ChevronDescending.d.ts +26 -0
- package/dist/lib/Symbols/Icons/ChevronDescending.d.ts.map +1 -0
- package/dist/lib/Symbols/Icons/ChevronDescending.js +40 -0
- package/dist/lib/Symbols/Icons/Infinite.d.ts +26 -0
- package/dist/lib/Symbols/Icons/Infinite.d.ts.map +1 -0
- package/dist/lib/Symbols/Icons/Infinite.js +28 -0
- package/dist/lib/Symbols/Icons/InfiniteFill.d.ts +26 -0
- package/dist/lib/Symbols/Icons/InfiniteFill.d.ts.map +1 -0
- package/dist/lib/Symbols/Icons/InfiniteFill.js +25 -0
- package/dist/lib/Symbols/index.d.ts +4 -0
- package/dist/lib/Symbols/index.d.ts.map +1 -1
- package/dist/lib/Symbols/index.js +436 -428
- package/dist/node_modules/i18next/dist/esm/i18next.js +47 -45
- package/dist/package.json +1 -1
- package/dist/utils/useControllableState/index.d.ts +2 -0
- package/dist/utils/useControllableState/index.d.ts.map +1 -0
- package/dist/utils/useControllableState/useControllableState.d.ts +31 -0
- package/dist/utils/useControllableState/useControllableState.d.ts.map +1 -0
- package/dist/utils/useControllableState/useControllableState.js +25 -0
- package/package.json +1 -1
package/ai-rules/RULES.md
CHANGED
|
@@ -238,8 +238,45 @@ const InteractiveList = () => (
|
|
|
238
238
|
- Import compound components together: `Select, SelectTrigger, SelectContent, SelectItem, SelectItemText`
|
|
239
239
|
- Example: `import { Button, Banner, Tag } from '@ledgerhq/lumen-ui-react'`
|
|
240
240
|
|
|
241
|
+
### Available Components
|
|
242
|
+
|
|
243
|
+
Below is a complete list of all available Lumen components. Click any component name to view its documentation and interactive examples in Storybook.
|
|
244
|
+
|
|
245
|
+
- [AddressInput](https://ldls.vercel.app/?path=/docs/input-addressinput--docs) - Input field for cryptocurrency addresses
|
|
246
|
+
- [AmountDisplay](https://ldls.vercel.app/?path=/docs/communication-amountdisplay--docs) - Display formatted amounts with currency
|
|
247
|
+
- [AmountInput](https://ldls.vercel.app/?path=/docs/input-amountinput--docs) - Input field for amount values
|
|
248
|
+
- [Banner](https://ldls.vercel.app/?path=/docs/communication-banner--docs) - Alert and notification banners
|
|
249
|
+
- [Button](https://ldls.vercel.app/?path=/docs/action-button--docs) - Primary action button component
|
|
250
|
+
- [CardButton](https://ldls.vercel.app/?path=/docs/action-cardbutton--docs) - Card-style interactive button
|
|
251
|
+
- [Checkbox](https://ldls.vercel.app/?path=/docs/selection-checkbox--docs) - Checkbox input for selections
|
|
252
|
+
- [Dialog](https://ldls.vercel.app/?path=/docs/containment-dialog--docs) - Modal dialog and sheet component
|
|
253
|
+
- [Divider](https://ldls.vercel.app/?path=/docs/layout-divider--docs) - Visual separator line
|
|
254
|
+
- [Icon](https://ldls.vercel.app/?path=/docs/symbols-interface-icons--docs) - Interface icon components
|
|
255
|
+
- [IconButton](https://ldls.vercel.app/?path=/docs/action-iconbutton--docs) - Button with icon only
|
|
256
|
+
- [InteractiveIcon](https://ldls.vercel.app/?path=/docs/action-interactiveicon--docs) - Interactive icon with states
|
|
257
|
+
- [Link](https://ldls.vercel.app/?path=/docs/action-link--docs) - Hyperlink component
|
|
258
|
+
- [ListItem](https://ldls.vercel.app/?path=/docs/containment-listitem--docs) - List item with flexible composition
|
|
259
|
+
- [Menu](https://ldls.vercel.app/?path=/docs/selection-menu--docs) - Dropdown menu component
|
|
260
|
+
- [NavBar](https://ldls.vercel.app/?path=/docs/navigation-navbar--docs) - Top navigation bar
|
|
261
|
+
- [SearchInput](https://ldls.vercel.app/?path=/docs/input-searchinput--docs) - Search input field
|
|
262
|
+
- [Select](https://ldls.vercel.app/?path=/docs/selection-select--docs) - Dropdown select component
|
|
263
|
+
- [SideBar](https://ldls.vercel.app/?path=/docs/navigation-sidebar--docs) - Side navigation panel
|
|
264
|
+
- [Skeleton](https://ldls.vercel.app/?path=/docs/communication-skeleton--docs) - Loading placeholder skeleton
|
|
265
|
+
- [Spinner](https://ldls.vercel.app/?path=/docs/communication-spinner--docs) - Loading spinner indicator
|
|
266
|
+
- [Spot](https://ldls.vercel.app/?path=/docs/communication-spot--docs) - Icon container with background
|
|
267
|
+
- [Stepper](https://ldls.vercel.app/?path=/docs/feedback-stepper--docs) - Multi-step progress indicator
|
|
268
|
+
- [Subheader](https://ldls.vercel.app/?path=/docs/communication-subheader--docs) - Section subheader component
|
|
269
|
+
- [Switch](https://ldls.vercel.app/?path=/docs/selection-switch--docs) - Toggle switch component
|
|
270
|
+
- [Tag](https://ldls.vercel.app/?path=/docs/communication-tag--docs) - Label and tag component
|
|
271
|
+
- [TextInput](https://ldls.vercel.app/?path=/docs/input-textinput--docs) - Text input field
|
|
272
|
+
- [Tile](https://ldls.vercel.app/?path=/docs/containment-tile--docs) - Content container tile
|
|
273
|
+
- [TileButton](https://ldls.vercel.app/?path=/docs/action-tilebutton--docs) - Interactive tile button
|
|
274
|
+
- [Tooltip](https://ldls.vercel.app/?path=/docs/communication-tooltip--docs) - Tooltip overlay component
|
|
275
|
+
|
|
241
276
|
### Icons
|
|
242
277
|
|
|
278
|
+
[View all available icons in Storybook →](https://ldls.vercel.app/?path=/docs/symbols-interface-icons--docs)
|
|
279
|
+
|
|
243
280
|
- Always import icons from `/symbols` entry point
|
|
244
281
|
- Import: `import { ArrowRight, CheckCircle } from '@ledgerhq/lumen-ui-react/symbols'`
|
|
245
282
|
- Use as components: `<ArrowRight size={20} />`
|
|
@@ -320,3 +357,83 @@ Use ONLY the unique part after the last hyphen of the CSS variable name.
|
|
|
320
357
|
- Transform: replace `/` with `-`
|
|
321
358
|
- Result: `body-3` (transform `body/3` → `body-3`)
|
|
322
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
|
+
```
|
|
@@ -21,6 +21,11 @@ declare const _default: {
|
|
|
21
21
|
},
|
|
22
22
|
"navBar": {
|
|
23
23
|
"goBackAriaLabel": "Zurück"
|
|
24
|
+
},
|
|
25
|
+
"sideBar": {
|
|
26
|
+
"navigationAriaLabel": "Seitennavigation",
|
|
27
|
+
"collapseAriaLabel": "Seitenleiste einklappen",
|
|
28
|
+
"expandAriaLabel": "Seitenleiste ausklappen"
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
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" } }, a = {
|
|
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
2
|
components: e
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -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" } }, 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)" }, navBar: { goBackAriaLabel: "Go back" }, sideBar: { navigationAriaLabel: "Sidebar navigation", collapseAriaLabel: "Collapse sidebar", expandAriaLabel: "Expand sidebar" } }, e = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -21,6 +21,11 @@ declare const _default: {
|
|
|
21
21
|
},
|
|
22
22
|
"navBar": {
|
|
23
23
|
"goBackAriaLabel": "Volver"
|
|
24
|
+
},
|
|
25
|
+
"sideBar": {
|
|
26
|
+
"navigationAriaLabel": "Navegación lateral",
|
|
27
|
+
"collapseAriaLabel": "Contraer barra lateral",
|
|
28
|
+
"expandAriaLabel": "Expandir barra lateral"
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
31
|
}
|
|
@@ -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" } }, e = {
|
|
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 = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -21,6 +21,11 @@ declare const _default: {
|
|
|
21
21
|
},
|
|
22
22
|
"navBar": {
|
|
23
23
|
"goBackAriaLabel": "Retour"
|
|
24
|
+
},
|
|
25
|
+
"sideBar": {
|
|
26
|
+
"navigationAriaLabel": "Navigation latérale",
|
|
27
|
+
"collapseAriaLabel": "Réduire la barre latérale",
|
|
28
|
+
"expandAriaLabel": "Développer la barre latérale"
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
31
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
components:
|
|
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 = {
|
|
2
|
+
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
a as components,
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const a = { addressInput: { qrCodeAriaLabel: "QRコードをスキャン" }, baseInput: { clearInputAriaLabel: "インプットを削除" }, spinner: { loadingAriaLabel: "読み込み中" }, dialogHeader: { goBackAriaLabel: "戻る", closeAriaLabel: "閉じる" }, banner: { closeAriaLabel: "閉じる" }, link: { opensInNewTabAriaLabel: "(新しいタブで開く)" }, navBar: { goBackAriaLabel: "戻る" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "QRコードをスキャン" }, 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: "돌아가기" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "QR 코드 스캔" }, 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 {
|
|
@@ -21,6 +21,11 @@ declare const _default: {
|
|
|
21
21
|
},
|
|
22
22
|
"navBar": {
|
|
23
23
|
"goBackAriaLabel": "Voltar"
|
|
24
|
+
},
|
|
25
|
+
"sideBar": {
|
|
26
|
+
"navigationAriaLabel": "Navegação lateral",
|
|
27
|
+
"collapseAriaLabel": "Recolher barra lateral",
|
|
28
|
+
"expandAriaLabel": "Expandir barra lateral"
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
31
|
}
|
|
@@ -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" } }, e = {
|
|
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 = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -21,6 +21,11 @@ declare const _default: {
|
|
|
21
21
|
},
|
|
22
22
|
"navBar": {
|
|
23
23
|
"goBackAriaLabel": "Назад"
|
|
24
|
+
},
|
|
25
|
+
"sideBar": {
|
|
26
|
+
"navigationAriaLabel": "Боковая навигация",
|
|
27
|
+
"collapseAriaLabel": "Свернуть боковую панель",
|
|
28
|
+
"expandAriaLabel": "Развернуть боковую панель"
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const a = { addressInput: { qrCodeAriaLabel: "Сканировать QR-код" }, baseInput: { clearInputAriaLabel: "Очистить поле" }, spinner: { loadingAriaLabel: "Загрузка" }, dialogHeader: { goBackAriaLabel: "Назад", closeAriaLabel: "Закрыть" }, banner: { closeAriaLabel: "Закрыть" }, link: { opensInNewTabAriaLabel: "(открывается в новой вкладке)" }, navBar: { goBackAriaLabel: "Назад" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "Сканировать QR-код" }, 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: "ย้อนกลับ" } }, e = {
|
|
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 = {
|
|
2
2
|
components: a
|
|
3
3
|
};
|
|
4
4
|
export {
|
|
@@ -21,6 +21,11 @@ declare const _default: {
|
|
|
21
21
|
},
|
|
22
22
|
"navBar": {
|
|
23
23
|
"goBackAriaLabel": "Geri dön"
|
|
24
|
+
},
|
|
25
|
+
"sideBar": {
|
|
26
|
+
"navigationAriaLabel": "Kenar çubuğu gezintisi",
|
|
27
|
+
"collapseAriaLabel": "Kenar çubuğunu daralt",
|
|
28
|
+
"expandAriaLabel": "Kenar çubuğunu genişlet"
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
31
|
}
|
|
@@ -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" } }, e = {
|
|
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 = {
|
|
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: "返回" } }, e = {
|
|
1
|
+
const a = { addressInput: { qrCodeAriaLabel: "扫描二维码" }, 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,119 +1,127 @@
|
|
|
1
1
|
import { Languages as t } from "./i18n/languages.js";
|
|
2
|
-
import { AddressInput as
|
|
3
|
-
import { AmountInput as
|
|
2
|
+
import { AddressInput as i } from "./lib/Components/AddressInput/AddressInput.js";
|
|
3
|
+
import { AmountInput as a } from "./lib/Components/AmountInput/AmountInput.js";
|
|
4
4
|
import { AmountDisplay as m } from "./lib/Components/AmountDisplay/AmountDisplay.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
5
|
+
import { Avatar as l } from "./lib/Components/Avatar/Avatar.js";
|
|
6
|
+
import { Banner as f } from "./lib/Components/Banner/Banner.js";
|
|
7
|
+
import { BaseInput as T } from "./lib/Components/BaseInput/BaseInput.js";
|
|
8
|
+
import { Button as d } from "./lib/Components/Button/Button.js";
|
|
9
|
+
import { BaseButton as c } from "./lib/Components/Button/BaseButton.js";
|
|
10
|
+
import { CardButton as B } from "./lib/Components/CardButton/CardButton.js";
|
|
11
|
+
import { Checkbox as h } from "./lib/Components/Checkbox/Checkbox.js";
|
|
12
|
+
import { Dialog as L, DialogBody as M, DialogContent as D, DialogFooter as v, DialogTrigger as A } from "./lib/Components/Dialog/Dialog.js";
|
|
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";
|
|
16
|
+
import { InteractiveIcon as F } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
|
|
17
|
+
import { Link as j } from "./lib/Components/Link/Link.js";
|
|
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 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
|
+
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";
|
|
33
35
|
export {
|
|
34
|
-
|
|
36
|
+
i as AddressInput,
|
|
35
37
|
m as AmountDisplay,
|
|
36
|
-
|
|
37
|
-
l as
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
T as
|
|
41
|
-
d as
|
|
42
|
-
B as
|
|
43
|
-
h as
|
|
38
|
+
a as AmountInput,
|
|
39
|
+
l as Avatar,
|
|
40
|
+
f as Banner,
|
|
41
|
+
c as BaseButton,
|
|
42
|
+
T as BaseInput,
|
|
43
|
+
d as Button,
|
|
44
|
+
B as CardButton,
|
|
45
|
+
h as Checkbox,
|
|
46
|
+
L as Dialog,
|
|
44
47
|
M as DialogBody,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
D as DialogContent,
|
|
49
|
+
v as DialogFooter,
|
|
50
|
+
N as DialogHeader,
|
|
51
|
+
A as DialogTrigger,
|
|
52
|
+
y as Divider,
|
|
53
|
+
P as IconButton,
|
|
54
|
+
F as InteractiveIcon,
|
|
52
55
|
t as Languages,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
56
|
+
j as Link,
|
|
57
|
+
z as ListItem,
|
|
58
|
+
E as ListItemContent,
|
|
59
|
+
J as ListItemDescription,
|
|
60
|
+
K as ListItemIcon,
|
|
61
|
+
O as ListItemLeading,
|
|
62
|
+
Q as ListItemSpot,
|
|
63
|
+
U as ListItemTitle,
|
|
64
|
+
V as ListItemTrailing,
|
|
65
|
+
W as ListItemTruncate,
|
|
66
|
+
Y as Menu,
|
|
67
|
+
Z as MenuCheckboxItem,
|
|
68
|
+
_ as MenuContent,
|
|
69
|
+
$ as MenuGroup,
|
|
70
|
+
ee as MenuItem,
|
|
71
|
+
oe as MenuLabel,
|
|
72
|
+
te as MenuPortal,
|
|
73
|
+
re as MenuRadioGroup,
|
|
74
|
+
ie as MenuRadioItem,
|
|
75
|
+
ne as MenuSeparator,
|
|
76
|
+
ae as MenuSub,
|
|
77
|
+
pe as MenuSubContent,
|
|
78
|
+
me as MenuSubTrigger,
|
|
79
|
+
ue as MenuTrigger,
|
|
80
|
+
xe as NavBar,
|
|
81
|
+
fe as NavBarBackButton,
|
|
82
|
+
Se as NavBarCoinCapsule,
|
|
83
|
+
Te as NavBarTitle,
|
|
84
|
+
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,
|
|
89
92
|
Me as SelectSeparator,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
ke as
|
|
93
|
-
Ne as
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
Pe as
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
Qe as
|
|
105
|
-
|
|
106
|
-
Ve as
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
ro as
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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
|
|
119
127
|
};
|