@tidbcloud/uikit 2.0.0-beta.77 → 2.0.0-beta.78
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 +6 -0
- package/dist/theme/theme.cjs +6 -1
- package/dist/theme/theme.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/theme/theme.cjs
CHANGED
|
@@ -386,7 +386,12 @@ const theme = createTheme.createTheme({
|
|
|
386
386
|
px: 10,
|
|
387
387
|
lh: 1.5,
|
|
388
388
|
fw: 500,
|
|
389
|
-
variant: "light"
|
|
389
|
+
variant: "light",
|
|
390
|
+
/**
|
|
391
|
+
* mantine changed the default component to `a` instead of `button` in v7
|
|
392
|
+
* we need to set it back to `button` to keep the same behavior as before
|
|
393
|
+
*/
|
|
394
|
+
component: "button"
|
|
390
395
|
},
|
|
391
396
|
styles: (theme2, props) => {
|
|
392
397
|
const withThemeColor = (shade) => themeColor(theme2, props.color ?? theme2.primaryColor, shade);
|
package/dist/theme/theme.js
CHANGED
|
@@ -384,7 +384,12 @@ const theme = createTheme({
|
|
|
384
384
|
px: 10,
|
|
385
385
|
lh: 1.5,
|
|
386
386
|
fw: 500,
|
|
387
|
-
variant: "light"
|
|
387
|
+
variant: "light",
|
|
388
|
+
/**
|
|
389
|
+
* mantine changed the default component to `a` instead of `button` in v7
|
|
390
|
+
* we need to set it back to `button` to keep the same behavior as before
|
|
391
|
+
*/
|
|
392
|
+
component: "button"
|
|
388
393
|
},
|
|
389
394
|
styles: (theme2, props) => {
|
|
390
395
|
const withThemeColor = (shade) => themeColor(theme2, props.color ?? theme2.primaryColor, shade);
|