Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(icons): adding IconPasskey (#612)
### **PR Type** enhancement ___ ### **Description** - Introduced a new `IconPasskey` component in the `ui-icons` package. - Added SVG paths and customization options for the `IconPasskey`. - Updated the component index to include and export the `IconPasskey`. - Configured the `IconPasskey` in the icons configuration file with properties like `name`, `title`, and `monotone`. ___ ### **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>IconPasskey.tsx</strong><dd><code>Add new IconPasskey component with SVG paths</code> </dd></summary> <hr> packages/ui-icons/src/components/Icons/IconPasskey.tsx <li>Added a new <code>IconPasskey</code> component.<br> <li> Implemented SVG paths for the icon.<br> <li> Included properties for customization such as <code>className</code>, <code>viewBox</code>, and <br><code>title</code>.<br> </details> </td> <td><a href="https://github.com/versini-org/ui-components/pull/612/files#diff-a473746d16853699dc87f16fbbdba39cfe674568b8cdf21648391e7055352dc3">+49/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>index.ts</strong><dd><code>Export new IconPasskey component</code> </dd></summary> <hr> packages/ui-icons/src/components/index.ts <li>Imported the new <code>IconPasskey</code> component.<br> <li> Exported the <code>IconPasskey</code> for external use.<br> </details> </td> <td><a href="https://github.com/versini-org/ui-components/pull/612/files#diff-4f3e22845cbac8896595cfd9a6abe7f59dc5d277327b6ec19a3aeff101a6cade">+2/-0</a> </td> </tr> </table></td></tr><tr><td><strong>Configuration changes</strong></td><td><table> <tr> <td> <details> <summary><strong>config.json</strong><dd><code>Add IconPasskey configuration</code> </dd></summary> <hr> packages/ui-icons/lib/icons/config.json <li>Added configuration for the new <code>IconPasskey</code>.<br> <li> Set properties such as <code>name</code>, <code>title</code>, and <code>monotone</code>.<br> </details> </td> <td><a href="https://github.com/versini-org/ui-components/pull/612/files#diff-4bb5c7987be35a4dbd7c6be920e2d67f9aba415836f6fe1b2d9ec544715915bd">+5/-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 "Passkey" icon to the icon library, enhancing the available icon set. - Added a reusable `IconPasskey` component for SVG representation of the passkey icon. - Updated the icon index to include the new `IconPasskey` for easy access within the application. - **Tests** - Enhanced test coverage by adding tests for the new `IconPasskey` component. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information