Skip to content

Commit

Permalink
fix(comp:icon): three icon are added (#1685)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangliming0618 committed Sep 18, 2023
1 parent 9f97bb3 commit bdb7ba1
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/components/icon/demo/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export const allIcons = [
'file',
'filter-filled',
'filter',
'fit-to-view',
'folder-add',
'folder-open',
'folder',
Expand Down Expand Up @@ -212,6 +213,7 @@ export const allIcons = [
'search',
'security-alert',
'security-scan',
'select',
'send',
'server-star',
'server',
Expand All @@ -231,6 +233,7 @@ export const allIcons = [
'tag',
'tags',
'team',
'thumbnail',
'thunderbolt',
'tool',
'transmit',
Expand Down
15 changes: 15 additions & 0 deletions packages/components/icon/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,11 @@ export const Filter = {
svg: '<svg viewBox="0 0 1024 1024" focusable="false"><path d="M883.2 128c7.04 0 12.8 5.76 12.8 12.8v140.16a12.8 12.8 0 0 1-6.016 10.816L640 448v376.064a12.8 12.8 0 0 1-7.04 11.52l-230.4 115.2a12.8 12.8 0 0 1-18.56-11.52V448L134.016 291.776a12.8 12.8 0 0 1-6.016-10.88V140.8c0-7.04 5.76-12.8 12.8-12.8h742.4zM832 191.936H192v60.608l256 160v443.84l128-64v-379.84L832 252.48v-60.544z"/></svg>',
}

export const FitToView = {
name: 'fit-to-view',
svg: '<svg viewBox="0 0 1024 1024" focusable="false"><path fill-rule="evenodd" d="M320 140.8v38.4c0 7.07-5.73 12.8-12.8 12.8H192v115.2c0 7.07-5.73 12.8-12.8 12.8h-38.4c-7.07 0-12.8-5.73-12.8-12.8V140.8c0-7.07 5.73-12.8 12.8-12.8h166.4c7.07 0 12.8 5.73 12.8 12.8M883.2 320h-38.4c-7.072 0-12.8-5.73-12.8-12.8V192H716.8c-7.07 0-12.8-5.73-12.8-12.8v-38.4c0-7.07 5.73-12.8 12.8-12.8h166.4c7.072 0 12.8 5.73 12.8 12.8v166.4c0 7.07-5.728 12.8-12.8 12.8m-256 256H396.8c-7.07 0-12.8-5.73-12.8-12.8V460.8c0-7.07 5.73-12.8 12.8-12.8h230.4c7.07 0 12.8 5.73 12.8 12.8v102.4c0 7.07-5.73 12.8-12.8 12.8M140.8 704h38.4c7.07 0 12.8 5.73 12.8 12.8V832h115.2c7.07 0 12.8 5.728 12.8 12.8v38.4c0 7.072-5.73 12.8-12.8 12.8H140.8c-7.07 0-12.8-5.728-12.8-12.8V716.8c0-7.07 5.73-12.8 12.8-12.8M704 883.2v-38.4c0-7.072 5.73-12.8 12.8-12.8H832V716.8c0-7.07 5.728-12.8 12.8-12.8h38.4c7.072 0 12.8 5.73 12.8 12.8v166.4c0 7.072-5.728 12.8-12.8 12.8H716.8c-7.07 0-12.8-5.728-12.8-12.8"/></svg>',
}

export const FolderAdd = {
name: 'folder-add',
svg: '<svg viewBox="0 0 1024 1024" focusable="false"><path fill-rule="evenodd" d="M64 128V76.8C64 69.73 69.73 64 76.8 64h347.153a12.8 12.8 0 0 1 9.051 3.749L557.255 192h326.047c7.072 0 12.698 5.83 12.698 12.9v102.3c0 7.07-5.728 12.8-12.8 12.8h-38.4c-7.072 0-12.8-5.73-12.8-12.8V256H128v512h179.2c7.07 0 12.8 5.728 12.8 12.8v38.4c0 7.072-5.73 12.8-12.8 12.8H76.696C69.626 832 64 826.17 64 819.098V128Zm64 64h338.752l-64-64H128v64Zm544 768c159.06 0 288-128.94 288-288 0-159.058-128.94-288-288-288-159.058 0-288 128.942-288 288 0 159.06 128.942 288 288 288Zm0-64c123.712 0 224-100.288 224-224S795.712 448 672 448 448 548.288 448 672s100.288 224 224 224Zm-19.2-384c-7.07 0-12.8 5.73-12.8 12.8V640H524.8c-7.07 0-12.8 5.73-12.8 12.8v38.4c0 7.07 5.73 12.8 12.8 12.8H640v115.2c0 7.072 5.73 12.8 12.8 12.8h38.4c7.07 0 12.8-5.728 12.8-12.8V704h115.2c7.072 0 12.8-5.73 12.8-12.8v-38.4c0-7.07-5.728-12.8-12.8-12.8H704V524.8c0-7.07-5.73-12.8-12.8-12.8h-38.4Z"/></svg>',
Expand Down Expand Up @@ -1070,6 +1075,11 @@ export const SecurityScan = {
svg: '<svg viewBox="0 0 1024 1024" focusable="false"><path fill-rule="evenodd" d="M546.696 943.75a708.559 708.559 0 0 0 126.706-94.816c9.83-9.241-.62-26.195-13.899-23.795a287.688 287.688 0 0 1-55.986 4.544c-3.12-.051-6.107.96-8.529 2.925a642.555 642.555 0 0 1-62.605 44.954l-19.418 11.68-2.185-1.248C313.782 772.755 192 561.354 192 332.122l-.06-145.922 321.216-58.24 319.041 58.176.026 147.667-.333 20.695-.019.596c-.102 3.12.858 6.079 2.79 8.533a288.341 288.341 0 0 1 30.042 46.89c6.15 12.014 26.323 10.003 27.718-3.42a708.78 708.78 0 0 0 3.802-73.294v-201.01L518.977 64h-11.445L128 132.764v199.358c0 259.424 141.877 498.073 369.782 622.01l15.606 8.486 33.308-18.868Zm61.632-178.028a224.021 224.021 0 0 0 134.14-44.602l94.063 94.06c4.999 5 13.107 5 18.106 0l27.149-27.148c5.004-4.998 5.004-13.107 0-18.106l-94.061-94.064a224.019 224.019 0 0 0 44.601-134.14c0-123.711-100.286-224-223.998-224-123.712 0-224 100.289-224 224 0 123.712 100.288 224 224 224Zm0-64c88.366 0 159.998-71.634 159.998-160 0-88.365-71.632-160-159.998-160-88.366 0-160 71.635-160 160 0 88.366 71.634 160 160 160Z"/></svg>',
}

export const Select = {
name: 'select',
svg: '<svg viewBox="0 0 1024 1024" focusable="false"><path fill-rule="evenodd" d="M64 128v768c0 35.347 28.654 64 64 64h768c35.347 0 64-28.653 64-64V128c0-35.346-28.653-64-64-64H128c-35.346 0-64 28.654-64 64Zm832 768H128V128h768v768ZM774.598 440.294l-253.661 253.66c-4.998 4.998-12.872 4.998-17.87 0l-253.659-253.66c-4.999-4.998-5.002-12.868-.003-17.867l27.39-27.39c4.999-4.999 12.927-4.938 17.926.06l208.288 208.289a12.66 12.66 0 0 0 17.986 0L729.28 395.098c4.998-5 12.928-5.06 17.926-.061l27.392 27.39c4.999 4.999 4.999 12.869 0 17.867Z"/></svg>',
}

export const Send = {
name: 'send',
svg: '<svg viewBox="0 0 1024 1024" focusable="false"><path d="M922.624 80.256a44.608 44.608 0 0 1 57.408 49.344l-1.536 6.656-262.4 830.976a33.152 33.152 0 0 1-51.456 16.512l-3.648-3.072-252.16-252.16 45.056-45.056 216.576 216.576 236.288-748.16-750.208 234.176L322.56 552.064l-45.056 45.12L75.712 395.392a33.152 33.152 0 0 1 9.856-53.568l3.712-1.536L922.624 80.256z"/><path d="M961.088 102.208a35.072 35.072 0 0 0-49.024-7.68l-644.16 468.8v259.136a38.272 38.272 0 0 0 66.88 25.408l624.128-701.824a35.072 35.072 0 0 0 2.176-43.904zM734.4 302.592 331.648 755.52V595.776L734.4 302.592z"/></svg>',
Expand Down Expand Up @@ -1165,6 +1175,11 @@ export const Team = {
svg: '<svg viewBox="0 0 1024 1024" focusable="false"><path fill-rule="evenodd" d="M800 256a191.992 191.992 0 0 1-76.623 153.467c123.497 45.538 211.56 164.279 211.56 303.589 0 1.626-.019 3.38-.07 5.274l-.563 13.004c-1.357 23.706-20.973 42.221-44.755 42.24l-44.762-.038c-7.065-.006-12.787-5.734-12.787-12.8v-38.394c0-7.078 5.74-12.806 12.813-12.8l26.035.026-.224-9.462C868.397 654.8 854.547 612.55 832 576.274V576h-.173c-28.243-45.318-70.08-81.29-119.806-102.212-4.892-2.058-8.021-6.724-8.021-12.031V345.502c0-3.118 1.143-6.094 3.116-8.508A128 128 0 0 0 736 256c0-70.692-57.308-128-128-128-43.244 0-83.38 21.816-106.952 57.676-2.512 3.822-6.716 6.324-11.29 6.324h-44.675c-8.835 0-14.965-8.806-11.249-16.82C465.032 107.882 532.736 64 608 64c106.038 0 192 85.962 192 192ZM608 448a192 192 0 0 1-76.623 153.467c123.497 45.538 211.56 164.28 211.56 303.589 0 1.626-.019 3.38-.07 5.274l-.563 13.004c-1.357 23.706-20.972 42.221-44.756 42.24l-556.259-.499c-23.77-.025-43.39-18.605-44.69-42.31a502.627 502.627 0 0 1-.331-6.701L96 905.056c0-137.574 85.887-255.092 206.966-301.855A192.001 192.001 0 0 1 224 448c0-106.038 85.962-192 192-192s192 85.962 192 192ZM416 576c70.692 0 128-57.308 128-128 0-70.692-57.308-128-128-128-70.692 0-128 57.308-128 128 0 70.692 57.308 128 128 128ZM160.064 901.056l-.064 4c0-143.302 116.168-259.47 259.47-259.47l12.95.317c132.994 6.537 239.664 113.207 246.201 246.2l.227 9.465-518.784-.512Z"/></svg>',
}

export const Thumbnail = {
name: 'thumbnail',
svg: '<svg viewBox="0 0 1024 1024" focusable="false"><path fill-rule="evenodd" d="M883.2 128c5.893 0 10.853 3.98 12.343 9.397L896 140.8v742.4c0 5.893-3.978 10.853-9.396 12.343L883.2 896H140.8c-5.891 0-10.853-3.978-12.343-9.396L128 883.2V140.8c0-5.891 3.98-10.853 9.397-12.343L140.8 128h742.4ZM832 192H704v307.2c0 7.07-5.73 12.8-12.8 12.8H192v320h640V192Zm-192 0H192v256h448V192Z"/></svg>',
}

export const Thunderbolt = {
name: 'thunderbolt',
svg: '<svg viewBox="0 0 1024 1024" focusable="false"><path fill-rule="evenodd" d="m302.227 958.464 553.267-552.815c8.07-8.062 2.362-21.853-9.043-21.855l-253.862-.047L659.002 79.53c1.743-7.981-4.336-15.53-12.505-15.53h-349.65a12.8 12.8 0 0 0-12.495 10.023L176.31 560.216c-1.777 7.995 4.309 15.579 12.5 15.576l143.17-.045-51.48 371.907c-1.682 12.154 13.047 19.482 21.727 10.81Zm62.523-152.96 38.712-279.155c1.067-7.693-4.907-14.556-12.674-14.558l-138.23-.046 85.312-383.808h245.056l-66.352 304.33c-1.74 7.981 4.34 15.529 12.51 15.527l193.682-.049L364.75 805.504Z"/></svg>',
Expand Down
2 changes: 2 additions & 0 deletions scripts/gulp/icons/assets/fit-to-view.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions scripts/gulp/icons/assets/select.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions scripts/gulp/icons/assets/thumbnail.svg
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 bdb7ba1

Please sign in to comment.