aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/src/components/icons/StarFillIcon.tsx
diff options
context:
space:
mode:
authorDavid Cho-Lerat <117642976+david-cho-lerat-sonarsource@users.noreply.github.com>2024-10-22 15:19:18 +0200
committersonartech <sonartech@sonarsource.com>2024-10-22 20:03:10 +0000
commitd9f6920331a0f274f1d6227c2af74d6dbfe84aa2 (patch)
tree3228b99c665c03e6c1bf2a1f68d9d90865f8558b /server/sonar-web/design-system/src/components/icons/StarFillIcon.tsx
parentc33a6b9956802dfa00133e304326887b901af901 (diff)
downloadsonarqube-d9f6920331a0f274f1d6227c2af74d6dbfe84aa2.tar.gz
sonarqube-d9f6920331a0f274f1d6227c2af74d6dbfe84aa2.zip
SONAR-23206 Remove design-system build to have it as normal code inside sonar-web (#12088)
Co-authored-by: Grégoire Aubert <gregoire.aubert@sonarsource.com> Co-authored-by: Jeremy Davis <jeremy.davis@sonarsource.com>
Diffstat (limited to 'server/sonar-web/design-system/src/components/icons/StarFillIcon.tsx')
-rw-r--r--server/sonar-web/design-system/src/components/icons/StarFillIcon.tsx37
1 files changed, 0 insertions, 37 deletions
diff --git a/server/sonar-web/design-system/src/components/icons/StarFillIcon.tsx b/server/sonar-web/design-system/src/components/icons/StarFillIcon.tsx
deleted file mode 100644
index 6fcdd73f8d4..00000000000
--- a/server/sonar-web/design-system/src/components/icons/StarFillIcon.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2024 SonarSource SA
- * mailto:info AT sonarsource DOT com
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-import styled from '@emotion/styled';
-import { StarFillIcon as OcticonStarFillIcon } from '@primer/octicons-react';
-import { themeColor } from '../../helpers';
-import { OcticonHoc } from './Icon';
-
-/** @deprecated Use IconStar with the isFilled prop from Echoes instead, if possible.
- *
- * Be aware that the full icon set is not yet available in Echoes, and therefore you may not be able
- * to replace all of the icons yet. There are situations where it is OK to ignore this deprecation
- * warning when revisiting old code, but all new code should use the icons from Echoes.
- */
-export const StarFillIcon = styled(OcticonHoc(OcticonStarFillIcon))`
- // provide a default fill color that is different from the default icon
- fill: ${themeColor('iconFavorite')};
-`;
-
-StarFillIcon.displayName = 'StarFillIcon';