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

Commit 438cfa4

Browse files
authored
Merge pull request #14 from hypertrace/update-expander-toggle-icon
feat(expander toggle component): Update icons
2 parents 19c9149 + 5af9e99 commit 438cfa4

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

projects/assets-library/assets/icons/collapsed.svg

-3
This file was deleted.

projects/assets-library/assets/icons/expanded.svg

-3
This file was deleted.
Loading
Loading

projects/assets-library/src/icons/icon-library.module.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const iconsRootPath = 'assets/icons';
3030
{ key: IconType.Close, url: `${iconsRootPath}/close.svg` },
3131
{ key: IconType.CloseCircle, url: `${iconsRootPath}/close-circle.svg` },
3232
{ key: IconType.CollapseAll, url: `${iconsRootPath}/collapse-all.svg` },
33-
{ key: IconType.Collapsed, url: `${iconsRootPath}/collapsed.svg` },
33+
{ key: IconType.Collapsed, url: `${iconsRootPath}/plus-square.svg` },
3434
{ key: IconType.Compare, url: `${iconsRootPath}/compare.svg` },
3535
{ key: IconType.CopyToClipboard, url: `${iconsRootPath}/copy-to-clipboard.svg` },
3636
{ key: IconType.Custom, url: `${iconsRootPath}/custom.svg` },
@@ -39,7 +39,7 @@ const iconsRootPath = 'assets/icons';
3939
{ key: IconType.Device, url: `${iconsRootPath}/device.svg` },
4040
{ key: IconType.Edge, url: `${iconsRootPath}/edge.svg` },
4141
{ key: IconType.ExpandAll, url: `${iconsRootPath}/expand-all.svg` },
42-
{ key: IconType.Expanded, url: `${iconsRootPath}/expanded.svg` },
42+
{ key: IconType.Expanded, url: `${iconsRootPath}/minus-square.svg` },
4343
{ key: IconType.FileCode, url: `${iconsRootPath}/file-code.svg` },
4444
{ key: IconType.Filter, url: `${iconsRootPath}/filter.svg` },
4545
{ key: IconType.Helm, url: `${iconsRootPath}/helm.svg` },

projects/assets-library/src/icons/icon-type.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const enum IconType {
2323
Close = 'svg:close',
2424
CloseCircle = 'svg:close-circle',
2525
CollapseAll = 'svg:collapse-all',
26-
Collapsed = 'svg:collapsed',
26+
Collapsed = 'svg:plus-square',
2727
Compare = 'svg:compare',
2828
CompareArrows = 'compare_arrows',
2929
CopyToClipboard = 'svg:copy-to-clipboard',
@@ -39,7 +39,7 @@ export const enum IconType {
3939
Empty = 'panorama_fish_eye',
4040
Expand = 'launch',
4141
ExpandAll = 'svg:expand-all',
42-
Expanded = 'svg:expanded',
42+
Expanded = 'svg:minus-square',
4343
Favorite = 'favorite_border',
4444
FileCode = 'svg:file-code',
4545
Filter = 'svg:filter',

projects/components/src/expander/expander-toggle.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { IconSize } from '../icon/icon-size';
1010
<div class="expander-toggle">
1111
<htc-icon
1212
[icon]="this.getIconType()"
13-
size="${IconSize.ExtraSmall}"
13+
size="${IconSize.Small}"
1414
[showTooltip]="this.showTooltip"
1515
[label]="this.getTooltipText()"
1616
></htc-icon>

0 commit comments

Comments
 (0)