Commit 8812a69
[M]DLS-535-feat(ui-rnative): add MediaCard component (#571)
* feat(MediaCard): add MediaCard component with leading and trailing content support
- Introduced MediaCard component to display images with customizable content.
- Added MediaCardLeadingContent and MediaCardTrailingContent for flexible layouts.
- Updated App.tsx to include MediaCards in the sandbox.
- Enhanced internationalization files with new close button labels in multiple languages.
- Added tests and documentation for MediaCard component functionality.
* feat(ui-rnative): implement MediaCard component with customizable content slots
* refactor(MediaCard): simplify component structure by removing leading and trailing content slots
* nx release plan
* chore(dependencies): bump @ledgerhq/lumen-design-core to 0.1.5 and @ledgerhq/lumen-ui-rnative to 0.1.11
* refactor(MediaCard): replace RadialGradient with LinearGradient and adjust gradient colors for design fidelity
* 💄 (figma): Sync Figma Design Tokens & Symbols (#579)
* 💄 (figma): Sync Figma Design Tokens & Symbols
* fix: remove is-utility: dark
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
---------
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
Co-authored-by: gamegee <15988848+gamegee@users.noreply.github.com>
Co-authored-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
* test/add test for themeprovider (#576)
* chore: update app-sandbox-rnative versions
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
* test(ui-rnative): make sure to test the ThemeProvider with real components that consume the theme
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* feat(design-core): add whiteHover et whitePressed semantic tokens for theme JS (rn) (#580)
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
* feat(InteractiveIcon): add appearance prop for customizable icon colors and replace Pressable in MediaCard with new InteractiveIcon
* feat(MediaCard): spread props in MediaCardTitle for enhanced flexibility
* feat(MediaCard): add interactive close functionality to MediaCard story
* refactor(MediaCard): replace ReactNode import with type import for improved type clarity
* Dls 634/fix amount display (#584)
* fix(amount-display): fix ui-react AmountDisplay baseline issue + add 0.5px more width for each char
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
* nx plan
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
* fix(ui-react): fix amountdisplay failing test
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
---------
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
* feat(MediaCard): enhance documentation and update styles for improved layout
* feat(MediaCard): update close button behavior and enhance accessibility features
* refactor(MediaCard): update image rendering logic and enhance component structure
* refactor(MediaCard): streamline component structure and update props handling
---------
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gamegee <15988848+gamegee@users.noreply.github.com>
Co-authored-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>1 parent 5a164b3 commit 8812a69
File tree
24 files changed
+786
-4
lines changed- .nx/version-plans
- apps/app-sandbox-rnative/src/app
- blocks
- libs/ui-rnative/src
- i18n/locales
- lib/Components
- InteractiveIcon
- MediaCard
24 files changed
+786
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
184 | 188 | | |
185 | 189 | | |
186 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
0 commit comments