medly / medly-components

🧩 Medly components provides numerous themable react components, each with multiple varitaions of sizes, colors, position etc.
https://medly.github.io/medly-components/
MIT License
79 stars 54 forks source link

refactor: add icon colors in textfield theme #739

Closed gmukul01 closed 10 months ago

gmukul01 commented 10 months ago

affects: @medly-components/core, @medly-components/forms, @medly-components/theme

BREAKING CHANGE: textfield theme needs to be updated to include the icon theme

Description

Extract the icon colors as separate colors in TextField component.

Type of change

How has this been tested?

Updated the existing unit test cases.

Fixes #

What is the current behaviour?

Right now we are using label color for icon color

What is the new behaviour?

Add new values in the theme to color the icon in textField component.

Does this PR introduce a breaking change?

Note: (Replace This Text: If this PR contains a breaking change please describe the impact and migration path for existing application.)

Additional context

(Replace This Text: Please describe any other related information or add screenshots of the PR.)

Checklist

nx-cloud[bot] commented 10 months ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 6c843ec0ea5ef9115cff180b30799e4a008ded9e. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

πŸ“‚ See all runs for this CI Pipeline Execution


βœ… Successfully ran 3 targets - [`lerna run test --stream --parallel --since=origin/master`](https://cloud.nx.app/runs/WLRR3J8fUo?utm_source=pull-request&utm_medium=comment) - [`lerna run build`](https://cloud.nx.app/runs/AgoBvAFdlj?utm_source=pull-request&utm_medium=comment) - [`lerna run lint --stream --parallel --since=origin/master`](https://cloud.nx.app/runs/dXH0MXZ3va?utm_source=pull-request&utm_medium=comment)

Sent with πŸ’Œ from NxCloud.

sonarcloud[bot] commented 10 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
1.1% Duplication on New Code

See analysis details on SonarCloud