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