Skip to content

Commit

Permalink
feat(svg): add waving-hand (#395)
Browse files Browse the repository at this point in the history
* feat(svg): add waving-hand

* chore: eslint file match
  • Loading branch information
adamdehaven authored Sep 26, 2024
1 parent a42fc73 commit 5906e22
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ export default [
...eslintKongUiConfig,
// Allow v-html in the ComponentTemplate
{
files: ['src/__template__/ComponentTemplate.vue'],
files: [
'src/__template__/ComponentTemplate.vue',
'src/components/**',
],
rules: {
'vue/no-v-html': 'off',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ exports[`generate > \`/src/components/index.ts\` file > has exports that match t
"VitalsIcon",
"WarningOutlineIcon",
"WarningIcon",
"WavingHandIcon",
"WidgetsIcon",
"WorkspacesIcon",
"WorldPrivateIcon",
Expand Down Expand Up @@ -810,6 +811,7 @@ exports[`generate > does not remove icons from the previous build 1`] = `
"UnfoldMoreIcon.vue",
"UploadIcon.vue",
"VisibilityIcon.vue",
"VisibilityOffIcon.vue",
"VitalsIcon.vue",
"WarningIcon.vue",
"WarningOutlineIcon.vue",
Expand Down
1 change: 1 addition & 0 deletions src/tests/__snapshots__/WavingHandIcon.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<span class="kui-icon waving-hand-icon" data-testid="kui-icon-wrapper-waving-hand-icon" style="box-sizing: border-box; color: rgb(0, 68, 244); display: inline-flex; flex-shrink: 0; height: 32px; line-height: 0; width: 32px;"><svg data-testid="kui-icon-svg-waving-hand-icon" fill="none" height="100%" role="img" viewBox="0 0 24 24" width="100%" xmlns="http://www.w3.org/2000/svg"><title data-testid="kui-icon-svg-title">My custom title</title><path d="M6.9999 23.025C7.28324 23.025 7.52074 22.925 7.7124 22.725C7.90407 22.525 7.9999 22.2833 7.9999 22C7.9999 21.7166 7.90407 21.4791 7.7124 21.2875C7.52074 21.0958 7.28324 21 6.9999 21C5.8999 21 4.95824 20.6083 4.1749 19.825C3.39157 19.0416 2.9999 18.1 2.9999 17C2.9999 16.7166 2.8999 16.475 2.6999 16.275C2.4999 16.075 2.25823 15.975 1.9749 15.975C1.69157 15.975 1.45407 16.075 1.2624 16.275C1.07073 16.475 0.974901 16.7166 0.974901 17C0.974901 18.6666 1.5624 20.0875 2.7374 21.2625C3.9124 22.4375 5.33324 23.025 6.9999 23.025ZM21.9999 7.99998C22.2832 7.99998 22.5249 7.90414 22.7249 7.71248C22.9249 7.52081 23.0249 7.28331 23.0249 6.99998C23.0249 5.33331 22.4374 3.91248 21.2624 2.73748C20.0874 1.56248 18.6666 0.974976 16.9999 0.974976C16.7166 0.974976 16.4749 1.07081 16.2749 1.26248C16.0749 1.45414 15.9749 1.69164 15.9749 1.97498C15.9749 2.25831 16.0749 2.49998 16.2749 2.69998C16.4749 2.89998 16.7166 2.99998 16.9999 2.99998C18.0999 2.99998 19.0416 3.39164 19.8249 4.17498C20.6082 4.95831 20.9999 5.89998 20.9999 6.99998C20.9999 7.28331 21.0957 7.52081 21.2874 7.71248C21.4791 7.90414 21.7166 7.99998 21.9999 7.99998ZM18.6999 18.725C20.2166 17.2083 20.9749 15.3833 20.9749 13.25C20.9749 11.1166 20.2166 9.29164 18.6999 7.77498L17.2499 6.29998C17.1666 6.21664 17.0666 6.17498 16.9499 6.17498C16.8332 6.17498 16.7332 6.21664 16.6499 6.29998C16.1666 6.78331 15.9249 7.37081 15.9249 8.06248C15.9249 8.75414 16.1666 9.34164 16.6499 9.82498L16.9999 10.175C17.1999 10.375 17.2999 10.6125 17.2999 10.8875C17.2999 11.1625 17.1999 11.4 16.9999 11.6L16.0999 12.5C15.6666 12.9333 15.4499 13.4583 15.4499 14.075C15.4499 14.6916 15.6666 15.2166 16.0999 15.65C16.2499 15.8 16.3249 15.9791 16.3249 16.1875C16.3249 16.3958 16.2499 16.575 16.0999 16.725C15.9499 16.875 15.7707 16.95 15.5624 16.95C15.3541 16.95 15.1749 16.875 15.0249 16.725C14.2916 15.9916 13.9249 15.1125 13.9249 14.0875C13.9249 13.0625 14.2999 12.175 15.0499 11.425L15.5999 10.875C15.1666 10.4416 14.8582 9.95414 14.6749 9.41248C14.4916 8.87081 14.4166 8.31664 14.4499 7.74998L9.9749 3.27498C9.7749 3.07498 9.5374 2.97498 9.2624 2.97498C8.9874 2.97498 8.7499 3.07498 8.5499 3.27498C8.3499 3.47498 8.2499 3.71248 8.2499 3.98748C8.2499 4.26248 8.3499 4.49998 8.5499 4.69998L13.2249 9.37498L12.1749 10.425L6.1499 4.42498C5.9499 4.22498 5.71657 4.12498 5.4499 4.12498C5.18323 4.12498 4.9499 4.22498 4.7499 4.42498C4.5499 4.62498 4.4499 4.85831 4.4499 5.12498C4.4499 5.39164 4.5499 5.62498 4.7499 5.82498L10.7499 11.85L9.6999 12.9L4.3999 7.59998C4.1999 7.39998 3.9624 7.29998 3.6874 7.29998C3.4124 7.29998 3.1749 7.39998 2.9749 7.59998C2.7749 7.79998 2.6749 8.03748 2.6749 8.31248C2.6749 8.58748 2.7749 8.82498 2.9749 9.02498L8.2749 14.325L7.2249 15.375L3.1749 11.325C2.9749 11.125 2.7374 11.025 2.4624 11.025C2.1874 11.025 1.9499 11.125 1.7499 11.325C1.5499 11.525 1.4499 11.7625 1.4499 12.0375C1.4499 12.3125 1.5499 12.55 1.7499 12.75L7.7499 18.725C9.26657 20.2416 11.0916 21 13.2249 21C15.3582 21 17.1832 20.2416 18.6999 18.725Z" fill="currentColor"></path></svg></span>
3 changes: 3 additions & 0 deletions svg/solid/waving-hand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5906e22

Please sign in to comment.