@vaneui/ui 0.9.0-alpha.20260107161941.dfd1c72 → 0.9.0-alpha.20260108153335.d1109b4

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
@@ -239,7 +239,7 @@ const ComponentCategories = {
239
239
  * Auto-generated prop descriptions from JSDoc comments.
240
240
  * DO NOT EDIT MANUALLY - Run 'npm run props:generate' to regenerate.
241
241
  *
242
- * Generated on: 2026-01-07T16:19:42.428Z
242
+ * Generated on: 2026-01-08T15:33:36.789Z
243
243
  */
244
244
  const PropDescriptions = {
245
245
  "appearance": {
@@ -4379,7 +4379,6 @@ const themeDefaults = {
4379
4379
  itemsCenter: true,
4380
4380
  gap: true,
4381
4381
  outline: true,
4382
- primary: true,
4383
4382
  sharp: true,
4384
4383
  },
4385
4384
  section: {
@@ -4387,7 +4386,6 @@ const themeDefaults = {
4387
4386
  flex: true,
4388
4387
  column: true,
4389
4388
  outline: true,
4390
- primary: true,
4391
4389
  itemsStart: true,
4392
4390
  gap: true,
4393
4391
  padding: true,
@@ -4407,7 +4405,6 @@ const themeDefaults = {
4407
4405
  noBorder: true,
4408
4406
  noRing: true,
4409
4407
  outline: true,
4410
- primary: true,
4411
4408
  sharp: true,
4412
4409
  },
4413
4410
  row: {
@@ -4419,7 +4416,6 @@ const themeDefaults = {
4419
4416
  noBorder: true,
4420
4417
  noRing: true,
4421
4418
  outline: true,
4422
- primary: true,
4423
4419
  sharp: true,
4424
4420
  },
4425
4421
  col: {
@@ -4430,48 +4426,42 @@ const themeDefaults = {
4430
4426
  noBorder: true,
4431
4427
  noRing: true,
4432
4428
  outline: true,
4433
- primary: true,
4434
4429
  sharp: true,
4435
4430
  },
4436
4431
  grid2: {
4437
4432
  md: true,
4438
4433
  grid: true,
4439
4434
  gap: true,
4440
- sharp: true,
4441
4435
  outline: true,
4442
- primary: true,
4436
+ sharp: true,
4443
4437
  },
4444
4438
  grid3: {
4445
4439
  md: true,
4446
4440
  grid: true,
4447
4441
  gap: true,
4448
- sharp: true,
4449
4442
  outline: true,
4450
- primary: true,
4443
+ sharp: true,
4451
4444
  },
4452
4445
  grid4: {
4453
4446
  md: true,
4454
4447
  grid: true,
4455
4448
  gap: true,
4456
- sharp: true,
4457
4449
  outline: true,
4458
- primary: true,
4450
+ sharp: true,
4459
4451
  },
4460
4452
  grid5: {
4461
4453
  md: true,
4462
4454
  grid: true,
4463
4455
  gap: true,
4464
- sharp: true,
4465
4456
  outline: true,
4466
- primary: true,
4457
+ sharp: true,
4467
4458
  },
4468
4459
  grid6: {
4469
4460
  md: true,
4470
4461
  grid: true,
4471
4462
  gap: true,
4472
- sharp: true,
4473
4463
  outline: true,
4474
- primary: true,
4464
+ sharp: true,
4475
4465
  },
4476
4466
  divider: {
4477
4467
  md: true,
@@ -4891,7 +4881,7 @@ const createTypographyComponentTheme = (tag, base = "text-balance", fontSizeThem
4891
4881
  }, defaults, categories, (props) => {
4892
4882
  // Determine tag based on href prop
4893
4883
  return props.href ? "a" : tag;
4894
- });
4884
+ }, 'ui');
4895
4885
  };
4896
4886
  // Page title specific theme - uses responsive font size
4897
4887
  const pageTitleTheme = createTypographyComponentTheme("h1", "vane-page-title text-balance tracking-tight w-fit", new FontSizeTheme(), mergeDefaults(themeDefaults.pageTitle, { semibold: true }), new LineHeightTheme(), TYPOGRAPHY_CATEGORIES);
@@ -4912,7 +4902,7 @@ const linkTheme = new ComponentTheme("a", "vane-link hover:underline w-fit curso
4912
4902
  },
4913
4903
  typography: defaultTypographyThemes,
4914
4904
  layout: defaultLayoutsThemes,
4915
- }, themeDefaults.link, TYPOGRAPHY_CATEGORIES);
4905
+ }, themeDefaults.link, TYPOGRAPHY_CATEGORIES, undefined, 'ui');
4916
4906
  // ListItem specific theme
4917
4907
  const listItemTheme = new ComponentTheme("li", "vane-list-item", {
4918
4908
  size: {
@@ -4924,7 +4914,7 @@ const listItemTheme = new ComponentTheme("li", "vane-list-item", {
4924
4914
  },
4925
4915
  typography: defaultTypographyThemes,
4926
4916
  layout: defaultLayoutsThemes,
4927
- }, themeDefaults.listItem, TYPOGRAPHY_CATEGORIES);
4917
+ }, themeDefaults.listItem, TYPOGRAPHY_CATEGORIES, undefined, 'ui');
4928
4918
  // List specific theme
4929
4919
  const listTheme = new ComponentTheme("ul", "vane-list list-inside", {
4930
4920
  size: {
@@ -4944,7 +4934,7 @@ const listTheme = new ComponentTheme("ul", "vane-list list-inside", {
4944
4934
  // Check if decimal is set in props
4945
4935
  const hasDecimal = componentProps === null || componentProps === void 0 ? void 0 : componentProps.decimal;
4946
4936
  return hasDecimal ? "ol" : "ul";
4947
- });
4937
+ }, 'ui');
4948
4938
 
4949
4939
  class BreakpointTheme extends BaseTheme {
4950
4940
  constructor() {
@@ -5015,7 +5005,7 @@ const defaultDividerTheme = new ComponentTheme("div", "vane-divider h-(--bw) w-f
5015
5005
  },
5016
5006
  appearance: {
5017
5007
  // CSS-based approach: uses --border-color variable for divider background
5018
- background: new SimpleConsumerTheme({ base: '[background:var(--border-color)]' }, 'bg'),
5008
+ background: new SimpleConsumerTheme({ base: 'bg-(--border-color)' }, 'bg'),
5019
5009
  },
5020
5010
  layout: defaultLayoutsThemes,
5021
5011
  }, themeDefaults.divider, DIVIDER_CATEGORIES, undefined, 'layout');
@@ -5168,10 +5158,10 @@ const gridSubThemes = {
5168
5158
  },
5169
5159
  };
5170
5160
  const defaultGrid2Theme = new ComponentTheme("div", "vane-grid vane-grid-2 grid-cols-1 md:grid-cols-2", gridSubThemes, themeDefaults.grid2, GRID_CATEGORIES, undefined, 'layout');
5171
- const defaultGrid3Theme = new ComponentTheme("div", "vane-grid vane-grid-3 grid-cols-1 md:grid-cols-3", gridSubThemes, themeDefaults.grid3, GRID_CATEGORIES);
5172
- const defaultGrid4Theme = new ComponentTheme("div", "vane-grid vane-grid-4 grid-cols-1 sm:grid-cols-2 lg:grid-cols-4", gridSubThemes, themeDefaults.grid4, GRID_CATEGORIES);
5173
- const defaultGrid5Theme = new ComponentTheme("div", "vane-grid vane-grid-5 grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5", gridSubThemes, themeDefaults.grid5, GRID_CATEGORIES);
5174
- const defaultGrid6Theme = new ComponentTheme("div", "vane-grid vane-grid-6 grid-cols-1 sm:grid-cols-2 md:grid-cols-4 lg:grid-cols-6", gridSubThemes, themeDefaults.grid6, GRID_CATEGORIES);
5161
+ const defaultGrid3Theme = new ComponentTheme("div", "vane-grid vane-grid-3 grid-cols-1 md:grid-cols-3", gridSubThemes, themeDefaults.grid3, GRID_CATEGORIES, undefined, 'layout');
5162
+ const defaultGrid4Theme = new ComponentTheme("div", "vane-grid vane-grid-4 grid-cols-1 sm:grid-cols-2 lg:grid-cols-4", gridSubThemes, themeDefaults.grid4, GRID_CATEGORIES, undefined, 'layout');
5163
+ const defaultGrid5Theme = new ComponentTheme("div", "vane-grid vane-grid-5 grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5", gridSubThemes, themeDefaults.grid5, GRID_CATEGORIES, undefined, 'layout');
5164
+ const defaultGrid6Theme = new ComponentTheme("div", "vane-grid vane-grid-6 grid-cols-1 sm:grid-cols-2 md:grid-cols-4 lg:grid-cols-6", gridSubThemes, themeDefaults.grid6, GRID_CATEGORIES, undefined, 'layout');
5175
5165
 
5176
5166
  var _a, _b, _c;
5177
5167
  const defaultCheckboxTheme = new ComponentTheme("input", "vane-checkbox peer col-start-1 row-start-1 cursor-pointer appearance-none ring-transparent size-(--size)", {
@@ -5206,7 +5196,7 @@ const defaultCheckTheme = new ComponentTheme("span", "invisible col-start-1 row-
5206
5196
  ...defaultLayoutsThemes,
5207
5197
  focusVisible: new FocusVisibleTheme()
5208
5198
  },
5209
- }, ((_b = themeDefaults.checkbox) === null || _b === void 0 ? void 0 : _b.check) || {}, CHECKBOX_CATEGORIES);
5199
+ }, ((_b = themeDefaults.checkbox) === null || _b === void 0 ? void 0 : _b.check) || {}, CHECKBOX_CATEGORIES, undefined, 'ui');
5210
5200
  const defaultCheckboxWrapperTheme = new ComponentTheme("span", "", {
5211
5201
  size: {
5212
5202
  height: new SizeTheme({
@@ -5225,7 +5215,7 @@ const defaultCheckboxWrapperTheme = new ComponentTheme("span", "", {
5225
5215
  variant: new SimpleConsumerTheme({ base: '' }, 'bg'),
5226
5216
  focusVisible: new SimpleConsumerTheme({ base: focusVisibleConsumerClass }, 'focusVisible')
5227
5217
  }
5228
- }, ((_c = themeDefaults.checkbox) === null || _c === void 0 ? void 0 : _c.wrapper) || {}, CHECKBOX_CATEGORIES);
5218
+ }, ((_c = themeDefaults.checkbox) === null || _c === void 0 ? void 0 : _c.wrapper) || {}, CHECKBOX_CATEGORIES, undefined, 'ui');
5229
5219
 
5230
5220
  const defaultLabelTheme = new ComponentTheme("label", "vane-label has-[input]:cursor-pointer cursor-default", {
5231
5221
  size: {