Skip to content

Commit

Permalink
Remove gridicons-help
Browse files Browse the repository at this point in the history
  • Loading branch information
dkmyta committed Oct 25, 2024
1 parent 1d4c960 commit 9bffa18
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions projects/js-packages/components/components/gridicon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ class Gridicon extends Component< GridiconProps > {
'gridicons-star-outline',
'gridicons-star',
'gridicons-help-outline',
'gridicons-help',
];

if ( iconNeedsOffset.indexOf( icon ) >= 0 ) {
Expand Down Expand Up @@ -88,8 +87,6 @@ class Gridicon extends Component< GridiconProps > {
return __( 'Has a video.', 'jetpack' );
case 'gridicons-help-outline':
return __( 'Help outline', 'jetpack' );
case 'gridicons-help':
return __( 'Help', 'jetpack' );
}
}

Expand Down Expand Up @@ -290,12 +287,6 @@ class Gridicon extends Component< GridiconProps > {
<path d="M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-1.962-2v-.528c0-.4.082-.74.246-1.017.163-.276.454-.546.87-.808.333-.21.572-.397.717-.565.146-.168.22-.36.22-.577 0-.172-.078-.308-.234-.41-.156-.1-.358-.15-.608-.15-.62 0-1.34.22-2.168.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.287-.23.362-.6.705-1.11 1.03-.43.278-.7.48-.807.61-.108.13-.163.282-.163.458V13h-1.885z" />
</g>
);
case 'gridicons-help':
return (
<g>
<path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm2.003-6.41c-.23.36-.6.704-1.108 1.028-.43.28-.7.482-.808.61-.108.13-.163.283-.163.46V13H11.04v-.528c0-.4.08-.74.245-1.017.163-.276.454-.546.872-.808.332-.21.57-.397.716-.565.145-.168.217-.36.217-.577 0-.172-.077-.308-.233-.41-.156-.1-.358-.15-.608-.15-.62 0-1.342.22-2.17.658l-.854-1.67c1.02-.58 2.084-.872 3.194-.872.913 0 1.63.202 2.15.603.52.4.78.948.78 1.64 0 .495-.116.924-.347 1.286z" />
</g>
);
}
}

Expand Down

0 comments on commit 9bffa18

Please sign in to comment.