@vaneui/md 0.3.1-alpha.20260104192853.8b57fd2 → 0.9.0-alpha.20260105111433.5364a62
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/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css +352 -271
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -12078,6 +12078,7 @@ class SimpleConsumerTheme extends BaseTheme {
|
|
|
12078
12078
|
this.active = config.active || '';
|
|
12079
12079
|
this.focusVisible = config.focusVisible || '';
|
|
12080
12080
|
this.category = category;
|
|
12081
|
+
this.alwaysOutput = config.alwaysOutput || false;
|
|
12081
12082
|
}
|
|
12082
12083
|
getClasses(extractedKeys) {
|
|
12083
12084
|
// Handle conditional categories - only output if the feature is enabled
|
|
@@ -12099,8 +12100,8 @@ class SimpleConsumerTheme extends BaseTheme {
|
|
|
12099
12100
|
if (this.category === 'focusVisible' && (extractedKeys.focusVisible === 'noFocusVisible' || extractedKeys.focusVisible === undefined)) {
|
|
12100
12101
|
return [];
|
|
12101
12102
|
}
|
|
12102
|
-
// Only output classes if an appearance or transparent is set
|
|
12103
|
-
if (!(extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.appearance) && !(extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.transparent)) {
|
|
12103
|
+
// Only output classes if an appearance or transparent is set (unless alwaysOutput is true)
|
|
12104
|
+
if (!this.alwaysOutput && !(extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.appearance) && !(extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.transparent)) {
|
|
12104
12105
|
return [];
|
|
12105
12106
|
}
|
|
12106
12107
|
const classes = [];
|
|
@@ -12432,10 +12433,9 @@ const themeDefaults = {
|
|
|
12432
12433
|
link: true,
|
|
12433
12434
|
},
|
|
12434
12435
|
listItem: {
|
|
12436
|
+
outline: true,
|
|
12435
12437
|
md: true,
|
|
12436
12438
|
sans: true,
|
|
12437
|
-
outline: true,
|
|
12438
|
-
primary: true,
|
|
12439
12439
|
},
|
|
12440
12440
|
list: {
|
|
12441
12441
|
md: true,
|
|
@@ -12763,7 +12763,7 @@ const listItemTheme = new ComponentTheme("li", "vane-list-item", {
|
|
|
12763
12763
|
lineHeight: new LineHeightTheme(),
|
|
12764
12764
|
},
|
|
12765
12765
|
appearance: {
|
|
12766
|
-
text: new SimpleConsumerTheme({ base: textConsumerClass }, 'text'),
|
|
12766
|
+
text: new SimpleConsumerTheme({ base: textConsumerClass, alwaysOutput: true }, 'text'),
|
|
12767
12767
|
},
|
|
12768
12768
|
typography: defaultTypographyThemes,
|
|
12769
12769
|
layout: defaultLayoutsThemes,
|