@tidbcloud/uikit 2.2.7 → 2.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tidbcloud/uikit
2
2
 
3
+ ## 2.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(Radio): fix disabled color for label in theme ([#510](https://github.com/tidbcloud/tidbcloud-uikit/pull/510))
8
+
3
9
  ## 2.2.7
4
10
 
5
11
  ### Patch Changes
@@ -911,7 +911,10 @@ const theme = createTheme.createTheme({
911
911
  "--radio-icon-color": props.variant === "outline" ? themeColor(theme2, color, shade) : theme2.white + " !important"
912
912
  },
913
913
  label: {
914
- lineHeight: `${size}px`
914
+ lineHeight: `${size}px`,
915
+ "&[data-disabled]": {
916
+ color: themeColor(theme2, color, 6)
917
+ }
915
918
  },
916
919
  icon: {
917
920
  transform: "var(--radio-icon-transform, scale(0.2))"
@@ -909,7 +909,10 @@ const theme = createTheme({
909
909
  "--radio-icon-color": props.variant === "outline" ? themeColor(theme2, color, shade) : theme2.white + " !important"
910
910
  },
911
911
  label: {
912
- lineHeight: `${size}px`
912
+ lineHeight: `${size}px`,
913
+ "&[data-disabled]": {
914
+ color: themeColor(theme2, color, 6)
915
+ }
913
916
  },
914
917
  icon: {
915
918
  transform: "var(--radio-icon-transform, scale(0.2))"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",