Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit efa3e89

Browse files
VyshnaviDasarikuzhelov
authored andcommitted
feat(Icons): added icon for table-add and table-delete (#643)
* Exported two icons * Made change in change.log * Made changes in change.log
1 parent c0b31a5 commit efa3e89

File tree

6 files changed

+55
-0
lines changed

6 files changed

+55
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
6868
- Export `canvas-add-page` SVG icon @priyankar205 ([#601](https://github.com/stardust-ui/react/pull/601))
6969
- Add `sizeModifier` variable (with `x` and `xx` values) to `Icon`'s Teams theme styles @priyankar205 ([#601](https://github.com/stardust-ui/react/pull/601))
7070
- Add `offset` prop to `Popup` to extend set of popup positioning options @kuzhelov ([#606](https://github.com/stardust-ui/react/pull/606))
71+
- Export `table-add` and `table-delete` SVG icon @VyshnaviDasari ([#643](https://github.com/stardust-ui/react/pull/643))
7172

7273
### Documentation
7374
- Add `prettier` support throughout the docs @levithomason ([#568](https://github.com/stardust-ui/react/pull/568))

src/themes/teams/components/Icon/svg/ProcessedIcons/icons-table-add.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ export default {
2121
</svg>
2222
),
2323
styles: {},
24+
exportedAs: 'table-add',
2425
} as TeamsProcessedSvgIconSpec

src/themes/teams/components/Icon/svg/ProcessedIcons/icons-table-delete.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ export default {
2121
</svg>
2222
),
2323
styles: {},
24+
exportedAs: 'table-delete',
2425
} as TeamsProcessedSvgIconSpec

src/themes/teams/components/Icon/svg/icons/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ import send from './send'
5050
import sticker from './sticker'
5151
import strike from './strike'
5252
import table from './table'
53+
import tableAdd from './tableAdd'
54+
import tableDelete from './tableDelete'
5355
import teamCreate from './teamCreate'
5456
import teams from './teams'
5557
import translation from './translation'
@@ -108,6 +110,8 @@ export default {
108110
sticker,
109111
strike,
110112
table,
113+
'table-add': tableAdd,
114+
'table-delete': tableDelete,
111115
teams,
112116
translation,
113117
'trash-can': trashCan,
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import * as React from 'react'
2+
import { TeamsProcessedSvgIconSpec } from '../types'
3+
4+
export default {
5+
icon: ({ classes }) => (
6+
<svg
7+
role="presentation"
8+
focusable="false"
9+
viewBox="8 8 16 16"
10+
className={classes.svg}
11+
aria-labelledby="icons_insert_table_column_row"
12+
>
13+
<g>
14+
<g className={classes.outlinePart}>
15+
<path d="M21 9.5c0-.827-.673-1.5-1.5-1.5h-10C8.673 8 8 8.673 8 9.5v10c0 .827.673 1.5 1.5 1.5H17v-4h4V9.5zM19.5 9a.5.5 0 0 1 .5.5V12h-3V9h2.5zM16 12h-3V9h3v3zM9.5 9H12v3H9V9.5a.5.5 0 0 1 .5-.5zM9 13h3v3H9v-3zm0 6.5V17h3v3H9.5a.5.5 0 0 1-.5-.5zm7 .5h-3v-3h3v3zm-3-4v-3h3v3h-3zm4 0v-3h3v3h-3zM22 22h2v-1h-2v-2h-1v2h-2v1h2v2h1z" />
16+
</g>
17+
<g className={classes.filledPart}>
18+
<path d="M22 22h2v-1h-2v-2h-1v2h-2v1h2v2h1zM13 13h3v3h-3zM8 13h4v3H8zM17 12h4V9.5c0-.827-.673-1.5-1.5-1.5H17v4zM13 17h3v4h-3zM12 12V8H9.5C8.673 8 8 8.673 8 9.5V12h4zM12 17H8v2.5c0 .827.673 1.5 1.5 1.5H12v-4zM17 13h4v3h-4zM13 8h3v4h-3z" />
19+
</g>
20+
</g>
21+
</svg>
22+
),
23+
styles: {},
24+
} as TeamsProcessedSvgIconSpec
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import * as React from 'react'
2+
import { TeamsProcessedSvgIconSpec } from '../types'
3+
4+
export default {
5+
icon: ({ classes }) => (
6+
<svg
7+
role="presentation"
8+
focusable="false"
9+
viewBox="8 8 16 16"
10+
className={classes.svg}
11+
aria-labelledby="icons_delete_table_column_row"
12+
>
13+
<g>
14+
<g className={classes.outlinePart}>
15+
<path d="M21 9.5c0-.827-.673-1.5-1.5-1.5h-10C8.673 8 8 8.673 8 9.5v10c0 .827.673 1.5 1.5 1.5H17v-4h4V9.5zM19.5 9a.5.5 0 0 1 .5.5V12h-3V9h2.5zM16 12h-3V9h3v3zM9.5 9H12v3H9V9.5a.5.5 0 0 1 .5-.5zM9 13h3v3H9v-3zm0 6.5V17h3v3H9.5a.5.5 0 0 1-.5-.5zm7 .5h-3v-3h3v3zm-3-4v-3h3v3h-3zm4 0v-3h3v3h-3zM22.207 21.5l1.414-1.414-.707-.707-1.414 1.414-1.414-1.414-.707.707 1.414 1.414-1.414 1.414.707.707 1.414-1.414 1.414 1.414.707-.707z" />
16+
</g>
17+
<g className={classes.filledPart}>
18+
<path d="M22.207 21.5l1.414-1.414-.707-.707-1.414 1.414-1.414-1.414-.707.707 1.414 1.414-1.414 1.414.707.707 1.414-1.414 1.414 1.414.707-.707zM13 13h3v3h-3zM8 13h4v3H8zM17 12h4V9.5c0-.827-.673-1.5-1.5-1.5H17v4zM13 17h3v4h-3zM12 12V8H9.5C8.673 8 8 8.673 8 9.5V12h4zM12 17H8v2.5c0 .827.673 1.5 1.5 1.5H12v-4zM17 13h4v3h-4zM13 8h3v4h-3z" />
19+
</g>
20+
</g>
21+
</svg>
22+
),
23+
styles: {},
24+
} as TeamsProcessedSvgIconSpec

0 commit comments

Comments
 (0)