Skip to content

Commit

Permalink
feat: add composition recording icon
Browse files Browse the repository at this point in the history
  • Loading branch information
kostasdano committed Oct 27, 2023
1 parent ff6d463 commit e3f4234
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/components/Icon/__snapshots__/Icon.stories.storyshot
Original file line number Diff line number Diff line change
Expand Up @@ -2672,6 +2672,44 @@ exports[`Storyshots Design System/Icon Icons Gallery 1`] = `
</p>
</div>
</div>
<div
style={
Object {
"margin": 5,
}
}
>
<div
style={
Object {
"alignItems": "center",
"display": "flex",
"flexDirection": "column",
"justifyContent": "center",
"padding": "1rem",
"width": 150,
}
}
>
<span
className="emotion-2"
onClick={[Function]}
>
<span
className="emotion-3"
/>
</span>
<p
style={
Object {
"paddingTop": "8px",
}
}
>
compositionRecording
</p>
</div>
</div>
<div
style={
Object {
Expand Down
7 changes: 7 additions & 0 deletions src/components/Icon/assets/compositionRecording.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/components/Icon/assets/iconSelector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import CloseIcon from './close.svg';
import CmsProcessIcon from './cms-process.svg';
import CompositionIconV2 from './composition-v2.svg';
import CompositionIcon from './composition.svg';
import CompositionRecordingIcon from './compositionRecording.svg';
import ConcertIcon from './concert.svg';
import ConfirmedMatchesIcon from './confirmed-matches.svg';
import ConflictsIcon from './conflicts.svg';
Expand Down Expand Up @@ -239,6 +240,7 @@ const iconSelector: { [key in AcceptedIconNames]: string } = {
closeTag: CloseTagIcon,
cmsProcess: CmsProcessIcon,
composition: CompositionIcon,
compositionRecording: CompositionRecordingIcon,
compositionV2: CompositionIconV2,
concert: ConcertIcon,
confirmedMatches: ConfirmedMatchesIcon,
Expand Down
1 change: 1 addition & 0 deletions src/components/Icon/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export type AcceptedIconNames =
| 'closeTag'
| 'cmsProcess'
| 'composition'
| 'compositionRecording'
| 'compositionV2'
| 'confirmedMatches'
| 'conflicts'
Expand Down

0 comments on commit e3f4234

Please sign in to comment.