Skip to content

Commit

Permalink
chore: Update icons (#2721)
Browse files Browse the repository at this point in the history
  • Loading branch information
at-susie authored Sep 23, 2024
1 parent 67b55ef commit 98b14d0
Show file tree
Hide file tree
Showing 102 changed files with 398 additions and 450 deletions.
8 changes: 8 additions & 0 deletions pages/icon/icons-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
SPDX-License-Identifier: Apache-2.0
*/

.wrapper {
display: flex;
flex-wrap: wrap;
gap: 4px;
padding-block-end: 8px;
padding-block-start: 2px;
}

.invertedIconsScenario {
background: #333;

Expand Down
4 changes: 2 additions & 2 deletions pages/icon/icons-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import ScreenshotArea from '../utils/screenshot-area';

import styles from './icons-list.scss';

const sizes = ['small', 'normal', 'big', 'large'] as const;
const sizes = ['small', 'normal', 'medium', 'big', 'large'] as const;

export default function IconsList({ variant }: { variant: IconProps['variant'] }) {
const className = variant === 'inverted' ? styles.invertedIconsScenario : undefined;
return (
<ScreenshotArea key={variant} className={className}>
<h1 className={styles.header}>{variant}</h1>
{sizes.map(size => (
<div key={size}>
<div key={size} className={styles.wrapper}>
{Object.keys(icons).map(icon => (
<Icon key={icon} name={icon as IconProps['name']} variant={variant} size={size} />
))}
Expand Down
6 changes: 3 additions & 3 deletions src/icon/icons/add-plus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions src/icon/icons/anchor-link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/icon/icons/angle-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/icon/icons/angle-left-double.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/icon/icons/angle-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/icon/icons/angle-right-double.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/icon/icons/angle-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/icon/icons/angle-up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/icon/icons/arrow-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/icon/icons/arrow-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions src/icon/icons/audio-full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/icon/icons/audio-half.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/icon/icons/audio-off.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions src/icon/icons/bug.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions src/icon/icons/calendar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 3 additions & 5 deletions src/icon/icons/call.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/icon/icons/caret-down-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/icon/icons/caret-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/icon/icons/caret-left-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/icon/icons/caret-right-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/icon/icons/caret-up-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/icon/icons/caret-up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 3 additions & 6 deletions src/icon/icons/check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/icon/icons/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 3 additions & 6 deletions src/icon/icons/contact.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/icon/icons/copy.svg
8 changes: 4 additions & 4 deletions src/icon/icons/delete-marker.svg
10 changes: 5 additions & 5 deletions src/icon/icons/download.svg
47 changes: 7 additions & 40 deletions src/icon/icons/drag-indicator.svg
5 changes: 3 additions & 2 deletions src/icon/icons/edit.svg
10 changes: 5 additions & 5 deletions src/icon/icons/ellipsis.svg
8 changes: 4 additions & 4 deletions src/icon/icons/envelope.svg
Loading

0 comments on commit 98b14d0

Please sign in to comment.