Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(IconKey): adding IconKey to library (#584)
### **PR Type** Enhancement, Tests ___ ### **Description** - Added a new `IconKey` component with SVG paths and properties. - Exported the `IconKey` component in the index file. - Added tests for the `IconKey` component in the generic icons prop tests. - Updated the configuration file to include the new `IconKey` component. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>IconKey.tsx</strong><dd><code>Add new IconKey component with SVG paths</code> </dd></summary> <hr> packages/ui-icons/src/components/Icons/IconKey.tsx <li>Added a new <code>IconKey</code> component.<br> <li> Implemented SVG paths for the key icon.<br> <li> Included properties such as <code>className</code>, <code>viewBox</code>, <code>spacing</code>, <code>title</code>, and <br><code>monotone</code>.<br> </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/584/files#diff-3801125bedf6f72cebd58f63972aab4cc71bd99b92d92770d689e9016c1072ab">+48/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>index.ts</strong><dd><code>Export new IconKey component</code> </dd></summary> <hr> packages/ui-icons/src/components/index.ts - Exported the new `IconKey` component. </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/584/files#diff-4f3e22845cbac8896595cfd9a6abe7f59dc5d277327b6ec19a3aeff101a6cade">+2/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>config.json</strong><dd><code>Add configuration for new IconKey component</code> </dd></summary> <hr> packages/ui-icons/lib/icons/config.json <li>Added configuration for the new <code>IconKey</code> component.<br> <li> Included properties such as <code>name</code>, <code>title</code>, and <code>monotone</code>.<br> </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/584/files#diff-4bb5c7987be35a4dbd7c6be920e2d67f9aba415836f6fe1b2d9ec544715915bd">+5/-0</a> </td> </tr> </table></td></tr><tr><td><strong>Tests</strong></td><td><table> <tr> <td> <details> <summary><strong>Icons.test.tsx</strong><dd><code>Add tests for new IconKey component</code> </dd></summary> <hr> packages/ui-icons/src/components/Icons/__tests__/Icons.test.tsx <li>Added tests for the new <code>IconKey</code> component.<br> <li> Included <code>IconKey</code> in the generic icons prop tests.<br> </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/584/files#diff-95f02b63b19d2516c8d36a259865650f808e4aa2fa31246931d9cef007d02fec">+9/-0</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new "Key" icon with a monotone style. - Added a new `IconKey` component for displaying the key icon. - **Tests** - Included tests for the new `IconKey` component. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information