Skip to content

test/add test for themeprovider#576

Merged
gamegee merged 3 commits intomainfrom
test/add-test-for-themeprovider
Mar 19, 2026
Merged

test/add test for themeprovider#576
gamegee merged 3 commits intomainfrom
test/add-test-for-themeprovider

Conversation

@gamegee
Copy link
Collaborator

@gamegee gamegee commented Mar 18, 2026

  • chore: update app-sandbox-rnative versions
  • test(ui-rnative): make sure to test the ThemeProvider with real components that consume the theme

gamegee added 2 commits March 18, 2026 14:36
Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
…nents that consume the theme

Signed-off-by: Simon Bruneaud <simon.bruneaud@ledger.fr>
@gamegee gamegee requested a review from a team as a code owner March 18, 2026 13:37
@vercel
Copy link

vercel bot commented Mar 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ldls Ready Ready Preview, Comment Mar 18, 2026 4:06pm
ldls-react-native Ready Ready Preview, Comment Mar 18, 2026 4:06pm

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the React Native sandbox app to consume newer Lumen design system packages, and adjusts a ThemeProvider render test to use the real theme set and a broader set of UI components.

Changes:

  • Bumped @ledgerhq/lumen-design-core to 0.1.5 and @ledgerhq/lumen-ui-rnative to 0.1.11 for the RN sandbox app.
  • Updated the lockfile to reflect the new dependency versions/workspace resolutions.
  • Updated ThemeProvider test to render with ledgerLiveThemes and several representative components.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
package-lock.json Updates locked dependency versions/resolution for the sandbox RN app.
libs/ui-rnative/src/lib/Components/ThemeProvider/ThemeProvider.test.tsx Switches the test to real ledgerLiveThemes and exercises more components under ThemeProvider.
apps/app-sandbox-rnative/package.json Bumps Lumen package versions used by the RN sandbox app.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@gamegee gamegee merged commit 4fc5dfe into main Mar 19, 2026
16 checks passed
@gamegee gamegee deleted the test/add-test-for-themeprovider branch March 19, 2026 15:09
This was referenced Mar 19, 2026
zel-kass pushed a commit that referenced this pull request Mar 20, 2026
* 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>
zel-kass added a commit that referenced this pull request Mar 20, 2026
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants