aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/src/components
diff options
context:
space:
mode:
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>2024-05-22 18:30:27 +0200
committersonartech <sonartech@sonarsource.com>2024-05-23 20:02:49 +0000
commit9a31def6857bcf996941613ddf8711c14a9bfdde (patch)
tree52bcf14f242880bf8a3db8b8e825c300673ebc63 /server/sonar-web/design-system/src/components
parent2625e07854990cbffe6a7fda0d358803f0a3a064 (diff)
downloadsonarqube-9a31def6857bcf996941613ddf8711c14a9bfdde.tar.gz
sonarqube-9a31def6857bcf996941613ddf8711c14a9bfdde.zip
SONAR-22261 Upgrade to echoes-react 0.3.0 and update deprecation notice
Diffstat (limited to 'server/sonar-web/design-system/src/components')
-rw-r--r--server/sonar-web/design-system/src/components/icons/Icon.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/server/sonar-web/design-system/src/components/icons/Icon.tsx b/server/sonar-web/design-system/src/components/icons/Icon.tsx
index dd86a89e647..17d1b67d3d1 100644
--- a/server/sonar-web/design-system/src/components/icons/Icon.tsx
+++ b/server/sonar-web/design-system/src/components/icons/Icon.tsx
@@ -39,10 +39,9 @@ interface Props {
* - ~`aria-hidden`~ is now inferred from the absence of an `aria-label`
* - ~`data-guiding-id`~ is no longer passed down to the DOM, put it on a wrapper instead
* - ~`description`~ doesn't exist anymore
- * - ~`fill`~ doesn't exist anymore, icon colors cannot be overrriden anymore, they take the color
- * of their surroundings (currentColor) or have an intrinsic color. If you need to change the
- * color, either make sure the wrapper has a color, or define a styled(MyIcon). Those cases should
- * be rare and happen only during the transition to Echoes icons.
+ * - ~`fill`~ is now `color`. You can use "echoes-colors-icons-*" design tokens for the `color`
+ * prop. Without a specific `color`, icons take the color of their surroundings (currentColor)
+ * or have an intrinsic color.
* - ~`height`~ doesn't exist anymore, icons are sized based on the font-size of their parent
* - ~`transform`~ doesn't exist anymore
* - ~`viewbox`~ doesn't exist anymore, icons are sized based on the font-size of their parent