@tidbcloud/uikit 2.3.2 → 2.3.3
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 +18 -0
- package/dist/theme/theme.mjs +18 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/theme/theme.cjs
CHANGED
|
@@ -1190,6 +1190,24 @@ const theme = createTheme.createTheme({
|
|
|
1190
1190
|
withArrow: true,
|
|
1191
1191
|
shadow: "md"
|
|
1192
1192
|
}
|
|
1193
|
+
},
|
|
1194
|
+
Accordion: {
|
|
1195
|
+
styles: (theme2, props) => {
|
|
1196
|
+
if (props.variant === "contained") {
|
|
1197
|
+
return {
|
|
1198
|
+
item: {
|
|
1199
|
+
"--item-border-color": themeColor(theme2, "carbon", 4),
|
|
1200
|
+
"--item-filled-color": "inherit"
|
|
1201
|
+
},
|
|
1202
|
+
control: {
|
|
1203
|
+
"&:hover": {
|
|
1204
|
+
backgroundColor: "inherit"
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
};
|
|
1208
|
+
}
|
|
1209
|
+
return {};
|
|
1210
|
+
}
|
|
1193
1211
|
}
|
|
1194
1212
|
}
|
|
1195
1213
|
});
|
package/dist/theme/theme.mjs
CHANGED
|
@@ -1188,6 +1188,24 @@ const theme = createTheme({
|
|
|
1188
1188
|
withArrow: true,
|
|
1189
1189
|
shadow: "md"
|
|
1190
1190
|
}
|
|
1191
|
+
},
|
|
1192
|
+
Accordion: {
|
|
1193
|
+
styles: (theme2, props) => {
|
|
1194
|
+
if (props.variant === "contained") {
|
|
1195
|
+
return {
|
|
1196
|
+
item: {
|
|
1197
|
+
"--item-border-color": themeColor(theme2, "carbon", 4),
|
|
1198
|
+
"--item-filled-color": "inherit"
|
|
1199
|
+
},
|
|
1200
|
+
control: {
|
|
1201
|
+
"&:hover": {
|
|
1202
|
+
backgroundColor: "inherit"
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
};
|
|
1206
|
+
}
|
|
1207
|
+
return {};
|
|
1208
|
+
}
|
|
1191
1209
|
}
|
|
1192
1210
|
}
|
|
1193
1211
|
});
|