Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

jboix
Copy link
Member

@jboix jboix commented Sep 16, 2025

Description

Allows the current icon to be updated so that extending components can reflect dynamic state changes.

Changes Made

  • Extended the SvgButton and SvgComponent API to allow the displayed icon to be updated so that components can reflect dynamic state changes.

Checklist

  • I have followed the project's style and contribution guidelines.
  • I have performed a self-review of my own changes.
  • I have made corresponding changes to the documentation.
  • I have added tests that prove my fix is effective or that my feature works.

Allows the current icon to be updated so that extending components can
reflect dynamic state changes.
@jboix jboix self-assigned this Sep 16, 2025
@jboix jboix added this to Pillarbox Sep 16, 2025
@github-project-automation github-project-automation bot moved this to πŸ“‹ Backlog in Pillarbox Sep 16, 2025
@jboix jboix moved this from πŸ“‹ Backlog to 🍿 Code Review in Pillarbox Sep 16, 2025
@jboix jboix requested a review from amtins September 16, 2025 06:50
Copy link

Coverage Report

Status Category Percentage Covered / Total
πŸ”΅ Lines 96.78% 4402 / 4548
πŸ”΅ Statements 96.78% 4402 / 4548
πŸ”΅ Functions 93.8% 318 / 339
πŸ”΅ Branches 88.81% 524 / 590
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/svg-button/src/svg-button.js 100% 100% 100% 100%
packages/svg-button/src/svg-component.js 97.27% 88.88% 100% 97.27% 67-70
packages/svg-button/src/svg-icon-loader.js 100% 85.71% 100% 100%
Generated in workflow #209 for commit de34a5f by the Vitest Coverage Report Action

Copy link

github-actions bot commented Sep 16, 2025

PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-09-17 07:45 UTC

Copy link
Member

@amtins amtins left a comment

Choose a reason for hiding this comment

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

Great work thank you!

@jboix jboix merged commit aff8a6f into main Sep 17, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from 🍿 Code Review to βœ… Done in Pillarbox Sep 17, 2025
@jboix jboix deleted the feat/allow-icon-change branch September 17, 2025 07:45
Copy link

πŸŽ‰ This PR is included in version @srgssr/svg-button-v1.1.0 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: βœ… Done
Development

Successfully merging this pull request may close these issues.

2 participants