@vaneui/md 0.3.1-alpha.20260104125946.4a6b7b2 → 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.js CHANGED
@@ -8583,7 +8583,7 @@ const VARIANT = ['variant'];
8583
8583
  /** Component property keys mapping categories to their available values */
8584
8584
  const ComponentKeys = {
8585
8585
  /** Color appearance options */
8586
- appearance: ['primary', 'brand', 'accent', 'secondary', 'tertiary', 'success', 'danger', 'warning', 'info'],
8586
+ appearance: ['primary', 'brand', 'accent', 'secondary', 'tertiary', 'success', 'danger', 'warning', 'info', 'link'],
8587
8587
  /** Border visibility: includes all border variations and noBorder (border, borderT, borderB, etc., noBorder) */
8588
8588
  border: ['border', 'borderT', 'borderB', 'borderL', 'borderR', 'borderX', 'borderY', 'noBorder'],
8589
8589
  /** Column breakpoints for responsive grid layouts */
@@ -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 = [];
@@ -12268,6 +12269,8 @@ const themeDefaults = {
12268
12269
  itemsCenter: true,
12269
12270
  gap: true,
12270
12271
  outline: true,
12272
+ primary: true,
12273
+ sharp: true,
12271
12274
  },
12272
12275
  section: {
12273
12276
  md: true,
@@ -12282,6 +12285,7 @@ const themeDefaults = {
12282
12285
  noRing: true,
12283
12286
  noShadow: true,
12284
12287
  responsive: true,
12288
+ sharp: true,
12285
12289
  },
12286
12290
  stack: {
12287
12291
  md: true,
@@ -12293,6 +12297,8 @@ const themeDefaults = {
12293
12297
  noBorder: true,
12294
12298
  noRing: true,
12295
12299
  outline: true,
12300
+ primary: true,
12301
+ sharp: true,
12296
12302
  },
12297
12303
  row: {
12298
12304
  row: true,
@@ -12303,6 +12309,8 @@ const themeDefaults = {
12303
12309
  noBorder: true,
12304
12310
  noRing: true,
12305
12311
  outline: true,
12312
+ primary: true,
12313
+ sharp: true,
12306
12314
  },
12307
12315
  col: {
12308
12316
  column: true,
@@ -12312,6 +12320,8 @@ const themeDefaults = {
12312
12320
  noBorder: true,
12313
12321
  noRing: true,
12314
12322
  outline: true,
12323
+ primary: true,
12324
+ sharp: true,
12315
12325
  },
12316
12326
  grid2: {
12317
12327
  md: true,
@@ -12319,6 +12329,7 @@ const themeDefaults = {
12319
12329
  gap: true,
12320
12330
  sharp: true,
12321
12331
  outline: true,
12332
+ primary: true,
12322
12333
  },
12323
12334
  grid3: {
12324
12335
  md: true,
@@ -12326,6 +12337,7 @@ const themeDefaults = {
12326
12337
  gap: true,
12327
12338
  sharp: true,
12328
12339
  outline: true,
12340
+ primary: true,
12329
12341
  },
12330
12342
  grid4: {
12331
12343
  md: true,
@@ -12333,6 +12345,7 @@ const themeDefaults = {
12333
12345
  gap: true,
12334
12346
  sharp: true,
12335
12347
  outline: true,
12348
+ primary: true,
12336
12349
  },
12337
12350
  grid5: {
12338
12351
  md: true,
@@ -12340,6 +12353,7 @@ const themeDefaults = {
12340
12353
  gap: true,
12341
12354
  sharp: true,
12342
12355
  outline: true,
12356
+ primary: true,
12343
12357
  },
12344
12358
  grid6: {
12345
12359
  md: true,
@@ -12347,6 +12361,7 @@ const themeDefaults = {
12347
12361
  gap: true,
12348
12362
  sharp: true,
12349
12363
  outline: true,
12364
+ primary: true,
12350
12365
  },
12351
12366
  divider: {
12352
12367
  md: true,
@@ -12361,6 +12376,7 @@ const themeDefaults = {
12361
12376
  sans: true,
12362
12377
  medium: true,
12363
12378
  outline: true,
12379
+ primary: true,
12364
12380
  },
12365
12381
  img: {
12366
12382
  md: true,
@@ -12382,6 +12398,7 @@ const themeDefaults = {
12382
12398
  sans: true,
12383
12399
  textLeft: true,
12384
12400
  outline: true,
12401
+ primary: true,
12385
12402
  },
12386
12403
  title: {
12387
12404
  md: true,
@@ -12390,6 +12407,7 @@ const themeDefaults = {
12390
12407
  textLeft: true,
12391
12408
  responsive: true,
12392
12409
  outline: true,
12410
+ primary: true,
12393
12411
  },
12394
12412
  pageTitle: {
12395
12413
  md: true,
@@ -12398,6 +12416,7 @@ const themeDefaults = {
12398
12416
  textLeft: true,
12399
12417
  responsive: true,
12400
12418
  outline: true,
12419
+ primary: true,
12401
12420
  },
12402
12421
  sectionTitle: {
12403
12422
  md: true,
@@ -12406,17 +12425,19 @@ const themeDefaults = {
12406
12425
  textLeft: true,
12407
12426
  responsive: true,
12408
12427
  outline: true,
12428
+ primary: true,
12409
12429
  },
12410
12430
  link: {
12411
12431
  md: true,
12412
12432
  underline: true,
12413
12433
  sans: true,
12414
12434
  outline: true,
12435
+ link: true,
12415
12436
  },
12416
12437
  listItem: {
12438
+ outline: true,
12417
12439
  md: true,
12418
12440
  sans: true,
12419
- outline: true,
12420
12441
  },
12421
12442
  list: {
12422
12443
  md: true,
@@ -12425,6 +12446,7 @@ const themeDefaults = {
12425
12446
  padding: true,
12426
12447
  disc: true,
12427
12448
  outline: true,
12449
+ primary: true,
12428
12450
  },
12429
12451
  checkbox: {
12430
12452
  input: {
@@ -12743,7 +12765,7 @@ const listItemTheme = new ComponentTheme("li", "vane-list-item", {
12743
12765
  lineHeight: new LineHeightTheme(),
12744
12766
  },
12745
12767
  appearance: {
12746
- text: new SimpleConsumerTheme({ base: textConsumerClass }, 'text'),
12768
+ text: new SimpleConsumerTheme({ base: textConsumerClass, alwaysOutput: true }, 'text'),
12747
12769
  },
12748
12770
  typography: defaultTypographyThemes,
12749
12771
  layout: defaultLayoutsThemes,