@tidbcloud/uikit 2.7.6 → 2.7.7

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.7.7
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(uikit): simplify hover styles in theme ([#641](https://github.com/tidbcloud/tidbcloud-uikit/pull/641))
8
+
3
9
  ## 2.7.6
4
10
 
5
11
  ### Patch Changes
@@ -1308,9 +1308,7 @@ const theme = createTheme.createTheme({
1308
1308
  color: themeColor(theme2, "carbon", 8)
1309
1309
  },
1310
1310
  "&:hover": {
1311
- [u.light]: {
1312
- backgroundColor: themeColor(theme2, "carbon", 2)
1313
- }
1311
+ backgroundColor: themeColor(theme2, "carbon", 2)
1314
1312
  },
1315
1313
  "&[data-active]": {
1316
1314
  color: themeColor(theme2, "carbon", 9),
@@ -1306,9 +1306,7 @@ const theme = createTheme({
1306
1306
  color: themeColor(theme2, "carbon", 8)
1307
1307
  },
1308
1308
  "&:hover": {
1309
- [u.light]: {
1310
- backgroundColor: themeColor(theme2, "carbon", 2)
1311
- }
1309
+ backgroundColor: themeColor(theme2, "carbon", 2)
1312
1310
  },
1313
1311
  "&[data-active]": {
1314
1312
  color: themeColor(theme2, "carbon", 9),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.7.6",
3
+ "version": "2.7.7",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",