Skip to content

Commit ad71b8f

Browse files
lizhengDesignConnerKang
authored andcommitted
feat(juno-icon): Add ai-indicator-border and ContactCenter icons.
1 parent ebc0ca1 commit ad71b8f

13 files changed

+828
-646
lines changed

packages/juno-icon/__tests__/__snapshots__/icons.snapshot.test.tsx.snap

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@
33
exports[`icon svg file expect svg file to match snapshot 1`] = `
44
"export default \`<svg aria-hidden=\\"true\\" style=\\"position: absolute; width: 0; height: 0; overflow: hidden;\\" version=\\"1.1\\" xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:xlink=\\"http://www.w3.org/1999/xlink\\">
55
<defs>
6+
<symbol id=\\"icon-ContactCenter\\" viewBox=\\"0 0 32 32\\">
7+
<title>ContactCenter</title>
8+
<path d=\\"M6.559 18.72c2.651 0 4.8 2.149 4.8 4.8-0 0.868-0.234 1.68-0.637 2.383 1.56 0.876 3.361 1.376 5.278 1.376 1.16 0 2.276-0.185 3.323-0.523l0.684 1.88c-1.261 0.416-2.608 0.644-4.008 0.644-2.435 0-4.711-0.68-6.648-1.861-0.787 0.565-1.75 0.902-2.792 0.902-2.651-0-4.8-2.149-4.8-4.8s2.149-4.8 4.8-4.8z\\"></path>
9+
<path d=\\"M23.789 6.284c4.116 3.128 5.831 8.308 4.719 13.091 2.038 1.556 2.5 4.457 1.012 6.573-1.525 2.168-4.521 2.691-6.689 1.166s-2.689-4.519-1.164-6.688c1.152-1.637 3.141-2.336 4.98-1.923 0.744-3.893-0.697-8.031-4.008-10.583l1.15-1.636z\\"></path>
10+
<path d=\\"M16 0c2.651 0 4.8 2.149 4.8 4.8s-2.149 4.8-4.8 4.8c-2.002 0-3.717-1.226-4.438-2.967-3.613 1.631-6.167 5.191-6.35 9.367h-2c0.191-5.166 3.441-9.549 7.992-11.391 0.1-2.563 2.208-4.609 4.795-4.609z\\"></path>
11+
</symbol>
12+
<symbol id=\\"icon-ai-indicator-border\\" viewBox=\\"0 0 32 32\\">
13+
<title>ai-indicator-border</title>
14+
<path d=\\"M20.797 7.735c0.266 0.088 0.508 0.174 0.729 0.262 0.012 0.005 0.024 0.009 0.036 0.014 0.027 0.011 0.054 0.022 0.080 0.033l0.004 0.002c1.241 0.51 1.812 1.081 2.321 2.323l0.002 0.004c0.015 0.036 0.029 0.072 0.044 0.109 0.003 0.007 0.005 0.013 0.008 0.020 0.086 0.22 0.171 0.46 0.258 0.723 0.319 0.944 1.613 0.944 1.932 0 0.087-0.263 0.172-0.503 0.258-0.723 0.003-0.007 0.005-0.014 0.008-0.020 0.015-0.037 0.029-0.073 0.044-0.109l0.002-0.004c0.509-1.242 1.079-1.812 2.321-2.323l0.004-0.001c0.032-0.013 0.063-0.026 0.096-0.039 0.007-0.003 0.014-0.005 0.021-0.008 0.221-0.087 0.463-0.174 0.729-0.262 0.942-0.32 0.942-1.617 0-1.937-0.266-0.088-0.508-0.174-0.729-0.262-0.007-0.003-0.014-0.005-0.021-0.008-0.032-0.013-0.064-0.026-0.096-0.039l-0.004-0.001c-1.242-0.51-1.812-1.080-2.321-2.322l-0.002-0.005c-0.015-0.036-0.029-0.072-0.044-0.109-0.003-0.007-0.005-0.013-0.008-0.020-0.086-0.22-0.171-0.46-0.258-0.723-0.319-0.944-1.613-0.944-1.932 0-0.087 0.263-0.172 0.503-0.258 0.723-0.003 0.007-0.005 0.014-0.008 0.020-0.015 0.037-0.029 0.073-0.044 0.109l-0.002 0.004c-0.509 1.242-1.080 1.812-2.321 2.323l-0.007 0.003c-0.037 0.015-0.075 0.030-0.113 0.045-0.017 0.007-0.034 0.013-0.051 0.020-0.208 0.081-0.432 0.16-0.678 0.242-0.463 0.16-0.703 0.56-0.703 0.976s0.24 0.816 0.703 0.96zM24.245 6.766c0.186-0.143 0.365-0.3 0.537-0.472 0.169-0.169 0.322-0.346 0.463-0.529 0.141 0.183 0.294 0.359 0.463 0.529 0.172 0.172 0.351 0.329 0.537 0.472-0.186 0.143-0.365 0.3-0.537 0.472-0.169 0.169-0.323 0.346-0.463 0.528-0.141-0.183-0.294-0.359-0.463-0.528-0.172-0.172-0.351-0.329-0.537-0.472zM6.407 14.585l-3.21 0.912c-0.942 0.272-1.597 1.136-1.597 2.113s0.655 1.841 1.581 2.113l3.21 0.928c2.428 0.688 4.28 2.561 4.983 4.994l0.926 3.217c0.271 0.928 1.102 1.537 2.108 1.537s1.837-0.624 2.108-1.537l0.926-3.217c0.687-2.433 2.555-4.29 4.983-4.994l3.21-0.912c0.668-0.193 1.191-0.683 1.44-1.3 0.102-0.254 0.158-0.528 0.158-0.813 0-0.958-0.63-1.808-1.529-2.097-0.016-0.005-0.032-0.010-0.048-0.015l-0.004-0.001v0.016l-3.21-0.928c-2.428-0.688-4.28-2.561-4.983-4.994l-0.926-3.233c-0.271-0.928-1.134-1.585-2.108-1.585s-1.837 0.656-2.108 1.585l-0.926 3.217c-0.687 2.433-2.555 4.29-4.983 4.994zM13.698 10.25l0.726-2.522 0.729 2.545c0.927 3.21 3.39 5.715 6.628 6.635l2.497 0.722-2.52 0.716c-3.208 0.931-5.706 3.4-6.622 6.641l-0.002 0.007-0.725 2.517-0.729-2.531c-0.927-3.21-3.39-5.715-6.628-6.635l-2.525-0.73 2.548-0.724c3.208-0.931 5.705-3.401 6.622-6.641z\\"></path>
15+
</symbol>
16+
<symbol id=\\"icon-CompactViewMD\\" viewBox=\\"0 0 32 32\\">
17+
<title>CompactViewMD</title>
18+
<path d=\\"M22.501 2.8h-13c-1.767 0-3.2 1.433-3.2 3.2v20c-0.002 1.768 1.432 3.2 3.2 3.2h13c1.767 0 3.2-1.433 3.2-3.2v-20c0-1.767-1.433-3.2-3.2-3.2zM9.501 5.2h13c0.442 0 0.8 0.358 0.8 0.8v13.8h-14.6v-13.8c0-0.442 0.358-0.8 0.8-0.8zM22.501 26.8h-13c0 0-0.001 0-0.002 0-0.442 0-0.8-0.358-0.8-0.8v-3.8h14.6v3.8c0 0.441-0.357 0.799-0.798 0.8z\\"></path>
19+
</symbol>
20+
<symbol id=\\"icon-LargeViewMD\\" viewBox=\\"0 0 32 32\\">
21+
<title>LargeViewMD</title>
22+
<path d=\\"M28.52 2.8h-25.019c-1.767 0-3.2 1.433-3.2 3.2v20c-0.002 1.768 1.432 3.2 3.2 3.2h25.019c1.767 0 3.2-1.433 3.2-3.2v-20c0-1.767-1.433-3.2-3.2-3.2zM2.701 26v-20c0-0.442 0.358-0.8 0.8-0.8h8.8v21.6h-8.8c-0.442 0-0.8-0.358-0.8-0.8zM29.32 26c0 0.442-0.358 0.8-0.8 0.8h-13.819v-21.6h13.819c0.442 0 0.8 0.358 0.8 0.8v20zM10 11c0 1.381-1.12 2.501-2.501 2.501s-2.501-1.12-2.501-2.501c0-1.381 1.12-2.501 2.501-2.501s2.501 1.12 2.501 2.501z\\"></path>
23+
</symbol>
624
<symbol id=\\"icon-statistics\\" viewBox=\\"0 0 32 32\\">
725
<title>statistics</title>
826
<path d=\\"M28.272 1c1.507 0 2.728 1.221 2.728 2.728v24.545c0 1.507-1.221 2.728-2.728 2.728h-24.545c-1.507 0-2.728-1.221-2.728-2.728v-1.619l9.56-9.56 4.158 4.144c0.39 0.389 1.022 0.389 1.412 0l8.87-8.841v3.814c0 0.552 0.448 1 1 1s1-0.448 1-1v-6.223c0-0.518-0.394-0.944-0.898-0.995l-0.102-0.005h-6.223c-0.552 0-1 0.448-1 1s0.448 1 1 1h3.805l-8.159 8.128-4.158-4.143c-0.366-0.365-0.946-0.388-1.338-0.067l-0.075 0.068-8.852 8.852v-20.099c0-1.507 1.221-2.728 2.728-2.728h24.545z\\"></path>
@@ -138,7 +156,7 @@ exports[`icon svg file expect svg file to match snapshot 1`] = `
138156
</symbol>
139157
<symbol id=\\"icon-ai-indicator\\" viewBox=\\"0 0 34 32\\">
140158
<title>ai-indicator</title>
141-
<path d=\\"M25.453 3.322c0.665 2.016 1.213 2.564 3.224 3.231 0.872 0.296 0.872 1.497 0 1.793-2.011 0.667-2.558 1.215-3.224 3.231-0.296 0.874-1.494 0.874-1.789 0-0.665-2.016-1.213-2.564-3.224-3.231-0.429-0.133-0.651-0.504-0.651-0.889s0.222-0.756 0.651-0.904c2.011-0.667 2.558-1.215 3.224-3.231 0.296-0.874 1.494-0.874 1.789 0zM21.963 14.704l2.972 0.86v-0.015c0.858 0.252 1.464 1.052 1.464 1.956s-0.606 1.704-1.479 1.956l-2.972 0.845c-2.248 0.652-3.978 2.371-4.614 4.624l-0.858 2.979c-0.251 0.845-1.020 1.423-1.952 1.423s-1.701-0.563-1.952-1.423l-0.858-2.979c-0.651-2.253-2.366-3.987-4.614-4.624l-2.972-0.86c-0.858-0.252-1.464-1.052-1.464-1.956s0.606-1.704 1.479-1.956l2.972-0.845c2.248-0.652 3.978-2.371 4.614-4.624l0.858-2.979c0.251-0.86 1.050-1.467 1.952-1.467s1.701 0.608 1.952 1.467l0.858 2.994c0.651 2.253 2.366 3.987 4.614 4.624z\\"></path>
159+
<path d=\\"M22.263 14.64c-2.36-0.669-4.161-2.49-4.845-4.855l-0.901-3.144c-0.264-0.903-1.102-1.541-2.050-1.541s-1.786 0.638-2.050 1.541l-0.901 3.128c-0.668 2.365-2.484 4.171-4.845 4.855l-3.121 0.887c-0.916 0.265-1.553 1.105-1.553 2.054s0.637 1.79 1.537 2.054l3.121 0.903c2.36 0.669 4.161 2.49 4.845 4.855l0.901 3.128c0.264 0.903 1.071 1.494 2.050 1.494s1.786-0.607 2.050-1.494l0.901-3.128c0.668-2.366 2.484-4.171 4.845-4.855l3.121-0.887c0.627-0.181 1.123-0.631 1.373-1.202 0.116-0.263 0.179-0.552 0.179-0.852 0-0.931-0.613-1.758-1.487-2.039-0.015-0.005-0.031-0.010-0.047-0.014l-0.004-0.001v0.016l-3.121-0.903zM23.806 17.585l-2.204-0.637c-3.171-0.901-5.581-3.354-6.489-6.497l-0.001-0.005-0.644-2.247-0.642 2.229c-0.898 3.172-3.343 5.591-6.484 6.502l-0.013 0.004-2.242 0.637 2.231 0.645c3.171 0.901 5.582 3.354 6.489 6.497l0.644 2.238 0.642-2.231c0.898-3.173 3.343-5.591 6.484-6.502l0.012-0.004 2.214-0.629zM21.583 5.741c-0.005 0.002-0.011 0.005-0.016 0.007-0.063 0.027-0.127 0.053-0.194 0.079-0.017 0.007-0.033 0.013-0.050 0.020-0.202 0.078-0.42 0.156-0.659 0.235-0.45 0.156-0.683 0.545-0.683 0.949s0.233 0.794 0.683 0.934c0.258 0.086 0.494 0.169 0.709 0.254 0.012 0.005 0.023 0.009 0.035 0.014 0.056 0.022 0.11 0.045 0.164 0.067 0.004 0.002 0.008 0.003 0.011 0.005 1.112 0.473 1.652 1.013 2.124 2.126 0.002 0.004 0.004 0.008 0.005 0.012 0.026 0.062 0.052 0.126 0.078 0.192 0.003 0.007 0.005 0.013 0.008 0.020 0.084 0.214 0.166 0.447 0.251 0.703 0.311 0.918 1.568 0.918 1.879 0 0.085-0.256 0.167-0.489 0.251-0.703 0.003-0.007 0.005-0.013 0.008-0.020 0.026-0.066 0.052-0.129 0.078-0.192 0.002-0.004 0.003-0.008 0.005-0.012 0.473-1.113 1.012-1.652 2.125-2.126l0.011-0.005c0.058-0.025 0.118-0.049 0.179-0.073 0.007-0.003 0.013-0.005 0.020-0.008 0.215-0.085 0.451-0.169 0.709-0.254 0.916-0.311 0.916-1.572 0-1.883-0.258-0.086-0.494-0.169-0.709-0.254-0.007-0.003-0.013-0.005-0.020-0.008-0.061-0.024-0.121-0.049-0.179-0.073l-0.011-0.005c-1.112-0.473-1.652-1.013-2.125-2.126-0.002-0.004-0.003-0.008-0.005-0.012-0.026-0.062-0.052-0.126-0.078-0.192-0.003-0.007-0.005-0.013-0.008-0.020-0.084-0.214-0.166-0.447-0.251-0.703-0.31-0.918-1.568-0.918-1.879 0-0.084 0.256-0.167 0.489-0.251 0.703-0.003 0.007-0.005 0.013-0.008 0.020-0.026 0.066-0.052 0.129-0.078 0.192-0.002 0.004-0.003 0.008-0.005 0.012-0.472 1.113-1.012 1.652-2.124 2.126zM24.988 6.158c-0.124 0.156-0.258 0.307-0.403 0.453-0.148 0.149-0.302 0.285-0.461 0.412 0.159 0.126 0.313 0.263 0.461 0.412 0.145 0.146 0.279 0.297 0.403 0.453 0.124-0.156 0.258-0.307 0.403-0.453 0.148-0.149 0.302-0.285 0.461-0.412-0.159-0.126-0.313-0.263-0.461-0.412-0.145-0.146-0.279-0.297-0.403-0.453z\\"></path>
142160
</symbol>
143161
<symbol id=\\"icon-take-notes\\" viewBox=\\"0 0 32 32\\">
144162
<title>take-notes</title>
Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 7 additions & 0 deletions
Loading
Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)