Skip to content

Commit

Permalink
feat(Icon): add new icon ViewInConversationThread
Browse files Browse the repository at this point in the history
  • Loading branch information
233mawile authored and 233mawile-rc committed Jun 14, 2024
1 parent 6827211 commit 8519b26
Show file tree
Hide file tree
Showing 8 changed files with 657 additions and 602 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
exports[`icon svg file expect svg file to match snapshot 1`] = `
"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\\">
<defs>
<symbol id=\\"icon-view-in-conversation-thread\\" viewBox=\\"0 0 32 32\\">
<title>view-in-conversation-thread</title>
<path d=\\"M25.333 4c1.473 0 2.667 1.194 2.667 2.667v2.667h-2v-2.667c0-0.327-0.236-0.599-0.547-0.656l-0.12-0.011h-18.667c-0.327 0-0.599 0.236-0.656 0.547l-0.011 0.12v13.333c0 0.327 0.236 0.599 0.547 0.656l0.12 0.011h4.804l4.529 4.683 4.529-4.683h4.804c0.327 0 0.599-0.236 0.656-0.547l0.011-0.12v-2.667h2v2.667c0 1.473-1.194 2.667-2.667 2.667h-3.956l-4.914 5.081c-0.235 0.227-0.595 0.247-0.852 0.063l-0.091-0.079-4.898-5.065h-3.956c-1.473 0-2.667-1.194-2.667-2.667v-13.333c0-1.473 1.194-2.667 2.667-2.667h18.667zM19.385 8.627c0.355 0.355 0.386 0.911 0.095 1.302l-0.097 0.112-2.299 2.292h13.916c0.552 0 1 0.448 1 1s-0.448 1-1 1h-13.645l1.976 1.704c0.38 0.328 0.453 0.88 0.192 1.291l-0.088 0.119c-0.328 0.38-0.88 0.453-1.291 0.192l-0.119-0.088-3.525-3.044c-0.008-0.008-0.018-0.018-0.033-0.032-0.607-0.608-0.646-1.568-0.119-2.222l0.122-0.135 3.502-3.493c0.391-0.39 1.024-0.389 1.414 0.002z\\"></path>
</symbol>
<symbol id=\\"icon-recording-insights\\" viewBox=\\"0 0 32 32\\">
<title>recording-insights</title>
<path d=\\"M25.581 1.167c-0.074-0.222-0.444-0.222-0.493 0l-0.419 1.433c-0.369 1.31-1.379 2.323-2.709 2.718l-1.181 0.346c-0.201 0.057-0.445 0.126-0.445 0.321 0 0.123 0.074 0.222 0.197 0.247l1.429 0.42c1.305 0.371 2.315 1.384 2.709 2.718l0.327 1.119c0.007 0.021 0.013 0.043 0.019 0.066 0.056 0.201 0.124 0.446 0.319 0.446 0.123 0 0.221-0.074 0.246-0.198l0.419-1.433c0.369-1.31 1.379-2.323 2.709-2.718l1.18-0.346c0.2-0.056 0.446-0.126 0.446-0.321 0-0.123-0.074-0.222-0.197-0.247l-1.428-0.42c-1.305-0.371-2.315-1.384-2.709-2.718l-0.419-1.433z\\"></path>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,224 changes: 623 additions & 601 deletions packages/juno-icon/devUtils/iconJsonSymbol.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions packages/juno-icon/devUtils/iconSymbol.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
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">
<defs>
<symbol id="icon-view-in-conversation-thread" viewBox="0 0 32 32">
<title>view-in-conversation-thread</title>
<path d="M25.333 4c1.473 0 2.667 1.194 2.667 2.667v2.667h-2v-2.667c0-0.327-0.236-0.599-0.547-0.656l-0.12-0.011h-18.667c-0.327 0-0.599 0.236-0.656 0.547l-0.011 0.12v13.333c0 0.327 0.236 0.599 0.547 0.656l0.12 0.011h4.804l4.529 4.683 4.529-4.683h4.804c0.327 0 0.599-0.236 0.656-0.547l0.011-0.12v-2.667h2v2.667c0 1.473-1.194 2.667-2.667 2.667h-3.956l-4.914 5.081c-0.235 0.227-0.595 0.247-0.852 0.063l-0.091-0.079-4.898-5.065h-3.956c-1.473 0-2.667-1.194-2.667-2.667v-13.333c0-1.473 1.194-2.667 2.667-2.667h18.667zM19.385 8.627c0.355 0.355 0.386 0.911 0.095 1.302l-0.097 0.112-2.299 2.292h13.916c0.552 0 1 0.448 1 1s-0.448 1-1 1h-13.645l1.976 1.704c0.38 0.328 0.453 0.88 0.192 1.291l-0.088 0.119c-0.328 0.38-0.88 0.453-1.291 0.192l-0.119-0.088-3.525-3.044c-0.008-0.008-0.018-0.018-0.033-0.032-0.607-0.608-0.646-1.568-0.119-2.222l0.122-0.135 3.502-3.493c0.391-0.39 1.024-0.389 1.414 0.002z"></path>
</symbol>
<symbol id="icon-recording-insights" viewBox="0 0 32 32">
<title>recording-insights</title>
<path d="M25.581 1.167c-0.074-0.222-0.444-0.222-0.493 0l-0.419 1.433c-0.369 1.31-1.379 2.323-2.709 2.718l-1.181 0.346c-0.201 0.057-0.445 0.126-0.445 0.321 0 0.123 0.074 0.222 0.197 0.247l1.429 0.42c1.305 0.371 2.315 1.384 2.709 2.718l0.327 1.119c0.007 0.021 0.013 0.043 0.019 0.066 0.056 0.201 0.124 0.446 0.319 0.446 0.123 0 0.221-0.074 0.246-0.198l0.419-1.433c0.369-1.31 1.379-2.323 2.709-2.718l1.18-0.346c0.2-0.056 0.446-0.126 0.446-0.321 0-0.123-0.074-0.222-0.197-0.247l-1.428-0.42c-1.305-0.371-2.315-1.384-2.709-2.718l-0.419-1.433z"></path>
Expand Down
1 change: 1 addition & 0 deletions packages/juno-icon/devUtils/svgToComponentMapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
'7': '7',
'8': '8',
'9': '9',
ViewInConversationThread: 'view-in-conversation-thread',
RecordingInsights: 'recording-insights',
KeypadOffSp: 'keypad-off_sp',
Disposition: 'Disposition',
Expand Down
18 changes: 18 additions & 0 deletions packages/juno-icon/src/ViewInConversationThread.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import * as React from 'react';
import { SVGProps, Ref, forwardRef, memo } from 'react';

const ViewInConversationThread = memo(
forwardRef((props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => (
<svg
viewBox="0 0 32 32"
xmlns="http://www.w3.org/2000/svg"
ref={ref}
{...props}
>
<path d="M25.333 4A2.667 2.667 0 0 1 28 6.667v2.667h-2V6.667a.668.668 0 0 0-.547-.656L25.333 6H6.666a.668.668 0 0 0-.656.547l-.011.12V20c0 .327.236.599.547.656l.12.011h4.804l4.529 4.683 4.529-4.683h4.804a.668.668 0 0 0 .656-.547l.011-.12v-2.667h2V20a2.667 2.667 0 0 1-2.667 2.667h-3.956l-4.914 5.081a.668.668 0 0 1-.852.063l-.091-.079-4.898-5.065H6.665A2.667 2.667 0 0 1 3.998 20V6.667A2.667 2.667 0 0 1 6.665 4h18.667zm-5.948 4.627a1 1 0 0 1 .095 1.302l-.097.112-2.299 2.292H31a1 1 0 0 1 0 2H17.355l1.976 1.704a1 1 0 0 1 .192 1.291l-.088.119a1 1 0 0 1-1.291.192l-.119-.088-3.525-3.044a1.667 1.667 0 0 1-.152-2.254l.122-.135 3.502-3.493a1 1 0 0 1 1.414.002z" />
</svg>
)),
);
ViewInConversationThread.displayName = 'ViewInConversationThread';
ViewInConversationThread['iconName'] = 'view-in-conversation-thread';
export default ViewInConversationThread;
1 change: 1 addition & 0 deletions packages/juno-icon/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ export { default as VideocamOffBorder } from './VideocamOffBorder';
export { default as VideocamOff } from './VideocamOff';
export { default as Videocam } from './Videocam';
export { default as ViewBorder } from './ViewBorder';
export { default as ViewInConversationThread } from './ViewInConversationThread';
export { default as ViewLogBorder } from './ViewLogBorder';
export { default as View } from './View';
export { default as VoicemailBorder } from './VoicemailBorder';
Expand Down
2 changes: 1 addition & 1 deletion sync-github.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"latestCommitSHA": "487dbf1167cba3c17013c8e5f09c40ecd4b4468e"
"latestCommitSHA": "30d7cf2f145cf4d79c76a5b3d993b98d8e7736bf"
}

0 comments on commit 8519b26

Please sign in to comment.