@vaneui/ui 0.9.0-alpha.20260107081332.7a31978 → 0.9.0-alpha.20260107161941.dfd1c72

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.
Files changed (55) hide show
  1. package/dist/components/ui/badge.d.ts +3 -3
  2. package/dist/components/ui/badge.d.ts.map +1 -1
  3. package/dist/components/ui/button.d.ts +3 -3
  4. package/dist/components/ui/button.d.ts.map +1 -1
  5. package/dist/components/ui/card.d.ts +3 -3
  6. package/dist/components/ui/card.d.ts.map +1 -1
  7. package/dist/components/ui/chip.d.ts +3 -3
  8. package/dist/components/ui/chip.d.ts.map +1 -1
  9. package/dist/components/ui/code.d.ts +3 -3
  10. package/dist/components/ui/code.d.ts.map +1 -1
  11. package/dist/components/ui/col.d.ts +3 -3
  12. package/dist/components/ui/col.d.ts.map +1 -1
  13. package/dist/components/ui/container.d.ts +3 -3
  14. package/dist/components/ui/container.d.ts.map +1 -1
  15. package/dist/components/ui/grid.d.ts +7 -7
  16. package/dist/components/ui/grid.d.ts.map +1 -1
  17. package/dist/components/ui/input.d.ts +3 -3
  18. package/dist/components/ui/input.d.ts.map +1 -1
  19. package/dist/components/ui/props/keys.d.ts +33 -32
  20. package/dist/components/ui/props/keys.d.ts.map +1 -1
  21. package/dist/components/ui/props/propDescriptions.d.ts +1 -1
  22. package/dist/components/ui/props/propDescriptions.d.ts.map +1 -1
  23. package/dist/components/ui/props/props.d.ts +2 -0
  24. package/dist/components/ui/props/props.d.ts.map +1 -1
  25. package/dist/components/ui/props/responsiveProps.d.ts +8 -0
  26. package/dist/components/ui/props/responsiveProps.d.ts.map +1 -0
  27. package/dist/components/ui/props/transparentProps.d.ts +8 -0
  28. package/dist/components/ui/props/transparentProps.d.ts.map +1 -0
  29. package/dist/components/ui/row.d.ts +3 -3
  30. package/dist/components/ui/row.d.ts.map +1 -1
  31. package/dist/components/ui/section.d.ts +3 -3
  32. package/dist/components/ui/section.d.ts.map +1 -1
  33. package/dist/components/ui/stack.d.ts +3 -3
  34. package/dist/components/ui/stack.d.ts.map +1 -1
  35. package/dist/components/ui/theme/appearance/simpleConsumerTheme.d.ts.map +1 -1
  36. package/dist/components/ui/theme/defaults.d.ts.map +1 -1
  37. package/dist/components/ui/theme/size/fontSizeTheme.d.ts +7 -5
  38. package/dist/components/ui/theme/size/fontSizeTheme.d.ts.map +1 -1
  39. package/dist/components/ui/theme/size/gapTheme.d.ts +6 -4
  40. package/dist/components/ui/theme/size/gapTheme.d.ts.map +1 -1
  41. package/dist/components/ui/theme/size/pxTheme.d.ts +6 -4
  42. package/dist/components/ui/theme/size/pxTheme.d.ts.map +1 -1
  43. package/dist/components/ui/theme/size/pyTheme.d.ts +6 -4
  44. package/dist/components/ui/theme/size/pyTheme.d.ts.map +1 -1
  45. package/dist/components/ui/theme/typographyTheme.d.ts +2 -1
  46. package/dist/components/ui/theme/typographyTheme.d.ts.map +1 -1
  47. package/dist/components/ui/typography.d.ts +7 -7
  48. package/dist/components/ui/typography.d.ts.map +1 -1
  49. package/dist/index.esm.js +102 -36
  50. package/dist/index.esm.js.map +1 -1
  51. package/dist/index.js +104 -35
  52. package/dist/index.js.map +1 -1
  53. package/dist/ui.css +37 -0
  54. package/dist/vars.css +4 -0
  55. package/package.json +1 -1
package/dist/index.esm.js CHANGED
@@ -51,6 +51,12 @@ const TYPOGRAPHY_STYLE = ['fontWeight', 'fontStyle', 'textDecoration', 'textTran
51
51
  const LIST_STYLE = ['listStyle'];
52
52
  /** Variant properties for filled/outline styling modes */
53
53
  const VARIANT = ['variant'];
54
+ /** Transparent background property */
55
+ const TRANSPARENT = ['transparent'];
56
+ /** Responsive sizing property for breakpoint-specific sizing */
57
+ const RESPONSIVE = ['responsive'];
58
+ /** Common modifier properties available to all components */
59
+ const COMMON_MODIFIERS = [...TRANSPARENT, ...RESPONSIVE];
54
60
  /** All available component property categories combined */
55
61
  const COMPONENT_PROPS_CATEGORY = [
56
62
  ...VISUAL_CORE,
@@ -64,6 +70,8 @@ const COMPONENT_PROPS_CATEGORY = [
64
70
  ...VISUAL_DECORATION,
65
71
  ...SHAPE,
66
72
  ...VARIANT,
73
+ ...TRANSPARENT,
74
+ ...RESPONSIVE,
67
75
  ];
68
76
  /**
69
77
  * Describes category for which the appearance can be applied
@@ -131,11 +139,15 @@ const ComponentKeys = {
131
139
  variant: ['filled', 'outline'],
132
140
  /** Flex item wrapping behavior: wrap, no-wrap, or wrap-reverse */
133
141
  wrap: ['flexWrap', 'flexNoWrap', 'flexWrapReverse'],
142
+ /** Transparent background: disables background color when true */
143
+ transparent: ['transparent'],
144
+ /** Responsive sizing: enables breakpoint-specific py/px/gap/fs when true */
145
+ responsive: ['responsive'],
134
146
  };
135
147
  /** All border side keys (excluding noBorder since it doesn't have a CSS class) */
136
148
  const BORDER_KEYS = ['border', 'borderT', 'borderB', 'borderL', 'borderR', 'borderX', 'borderY'];
137
- /** Common responsive breakpoint keys used across all themes */
138
- const RESPONSIVE_BREAKPOINT_KEYS = ['desktop', 'tablet', 'mobile'];
149
+ /** Common responsive breakpoint keys used across all themes (includes 'base' for non-responsive mode) */
150
+ const RESPONSIVE_BREAKPOINT_KEYS = ['base', 'desktop', 'tablet', 'mobile'];
139
151
  /** Composite categories built from core blocks */
140
152
  /** Complete layout category including core and flex properties */
141
153
  const LAYOUT_FULL = [...LAYOUT_CORE, ...LAYOUT_FLEX];
@@ -146,7 +158,7 @@ const VISUAL_LAYOUT = [...VISUAL_CORE, ...BORDER, ...VISUAL_DECORATION_LAYOUT, .
146
158
  /** Complete typography category for text styling */
147
159
  const TYPOGRAPHY_FULL = [...TYPOGRAPHY_STYLE];
148
160
  /** Categories for interactive components like buttons, badges, chips */
149
- const INTERACTIVE_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_FULL, ...TYPOGRAPHY_STYLE, ...PADDING, ...VARIANT];
161
+ const INTERACTIVE_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_FULL, ...TYPOGRAPHY_STYLE, ...PADDING, ...VARIANT, ...COMMON_MODIFIERS];
150
162
  /** Button component categories */
151
163
  const BUTTON_CATEGORIES = INTERACTIVE_CATEGORIES;
152
164
  /** Badge component categories */
@@ -157,36 +169,36 @@ const CHIP_CATEGORIES = INTERACTIVE_CATEGORIES;
157
169
  const CODE_CATEGORIES = INTERACTIVE_CATEGORIES;
158
170
  /** Typography component categories */
159
171
  /** Categories for typography components like Text, Title, Link */
160
- const TYPOGRAPHY_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_CORE, ...VISUAL_CORE, ...VARIANT];
172
+ const TYPOGRAPHY_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_CORE, ...VISUAL_CORE, ...VARIANT, ...COMMON_MODIFIERS];
161
173
  /** Categories for list components with typography and list-specific styling */
162
- const LIST_CATEGORIES = [...TYPOGRAPHY_FULL, ...LIST_STYLE, ...LAYOUT_CORE, ...VISUAL_CORE, ...PADDING, ...VARIANT];
174
+ const LIST_CATEGORIES = [...TYPOGRAPHY_FULL, ...LIST_STYLE, ...LAYOUT_CORE, ...VISUAL_CORE, ...PADDING, ...VARIANT, ...COMMON_MODIFIERS];
163
175
  /** Layout component categories */
164
176
  /** Categories for grid layout components */
165
- const GRID_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_LAYOUT, ...VARIANT];
177
+ const GRID_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_LAYOUT, ...VARIANT, ...COMMON_MODIFIERS];
166
178
  /** Categories for container layout components */
167
- const CONTAINER_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_LAYOUT, ...VARIANT];
179
+ const CONTAINER_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_LAYOUT, ...VARIANT, ...COMMON_MODIFIERS];
168
180
  /** Categories for column layout components */
169
- const COL_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_LAYOUT, ...VARIANT];
181
+ const COL_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_LAYOUT, ...VARIANT, ...COMMON_MODIFIERS];
170
182
  /** Categories for row layout components with responsive breakpoints */
171
- const ROW_CATEGORIES = [...LAYOUT_FULL, ...BREAKPOINT, ...VISUAL_LAYOUT, ...VARIANT];
183
+ const ROW_CATEGORIES = [...LAYOUT_FULL, ...BREAKPOINT, ...VISUAL_LAYOUT, ...VARIANT, ...COMMON_MODIFIERS];
172
184
  /** Categories for stack layout components with responsive and padding support */
173
- const STACK_CATEGORIES = [...LAYOUT_FULL, ...BREAKPOINT, ...PADDING, ...VISUAL_LAYOUT, ...VARIANT];
185
+ const STACK_CATEGORIES = [...LAYOUT_FULL, ...BREAKPOINT, ...PADDING, ...VISUAL_LAYOUT, ...VARIANT, ...COMMON_MODIFIERS];
174
186
  /** Categories for card components with full typography and layout support */
175
- const CARD_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_FULL, ...BREAKPOINT, ...VISUAL_LAYOUT, ...PADDING, ...VARIANT];
187
+ const CARD_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_FULL, ...BREAKPOINT, ...VISUAL_LAYOUT, ...PADDING, ...VARIANT, ...COMMON_MODIFIERS];
176
188
  /** Categories for divider components with basic layout and visual properties */
177
- const DIVIDER_CATEGORIES = [...LAYOUT_CORE, ...VISUAL_CORE, ...PADDING, ...VARIANT];
189
+ const DIVIDER_CATEGORIES = [...LAYOUT_CORE, ...VISUAL_CORE, ...PADDING, ...VARIANT, ...COMMON_MODIFIERS];
178
190
  /** Categories for section layout components with full responsive support */
179
- const SECTION_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_LAYOUT, ...PADDING, ...BREAKPOINT, ...VARIANT];
191
+ const SECTION_CATEGORIES = [...LAYOUT_FULL, ...VISUAL_LAYOUT, ...PADDING, ...BREAKPOINT, ...VARIANT, ...COMMON_MODIFIERS];
180
192
  /** Form component categories */
181
193
  /** Categories for checkbox form components */
182
- const CHECKBOX_CATEGORIES = [...LAYOUT_CORE, ...VISUAL_CORE, ...BORDER, ...VISUAL_DECORATION, ...SHAPE, ...VARIANT];
194
+ const CHECKBOX_CATEGORIES = [...LAYOUT_CORE, ...VISUAL_CORE, ...BORDER, ...VISUAL_DECORATION, ...SHAPE, ...VARIANT, ...COMMON_MODIFIERS];
183
195
  /** Categories for label form components with typography support */
184
- const LABEL_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_FULL, ...VISUAL_CORE, ...VARIANT];
196
+ const LABEL_CATEGORIES = [...TYPOGRAPHY_FULL, ...LAYOUT_FULL, ...VISUAL_CORE, ...VARIANT, ...COMMON_MODIFIERS];
185
197
  /** Categories for input form components with interactive and form-specific properties */
186
198
  const INPUT_CATEGORIES = [...INTERACTIVE_CATEGORIES];
187
199
  /** Media component categories */
188
200
  /** Categories for image media components */
189
- const IMG_CATEGORIES = [...LAYOUT_CORE, ...VISUAL_CORE, ...BORDER, ...VISUAL_DECORATION, ...SHAPE, ...VARIANT];
201
+ const IMG_CATEGORIES = [...LAYOUT_CORE, ...VISUAL_CORE, ...BORDER, ...VISUAL_DECORATION, ...SHAPE, ...VARIANT, ...COMMON_MODIFIERS];
190
202
  /** All available component names in the library */
191
203
  const COMPONENT = ['button', 'badge', 'chip', 'code', 'card', 'divider', 'container', 'row', 'col', 'stack', 'section',
192
204
  'grid2', 'grid3', 'grid4', 'grid5', 'grid6', 'pageTitle', 'sectionTitle', 'title', 'text', 'link', 'list', 'listItem', 'checkbox', 'label', 'img', 'input'];
@@ -225,7 +237,7 @@ const ComponentCategories = {
225
237
  * Auto-generated prop descriptions from JSDoc comments.
226
238
  * DO NOT EDIT MANUALLY - Run 'npm run props:generate' to regenerate.
227
239
  *
228
- * Generated on: 2026-01-07T08:13:34.116Z
240
+ * Generated on: 2026-01-07T16:19:42.428Z
229
241
  */
230
242
  const PropDescriptions = {
231
243
  "appearance": {
@@ -612,6 +624,15 @@ const PropDescriptions = {
612
624
  }
613
625
  }
614
626
  },
627
+ "responsive": {
628
+ "name": "Responsive",
629
+ "description": "Responsive prop for enabling breakpoint-specific sizing",
630
+ "props": {
631
+ "responsive": {
632
+ "description": "Enable responsive sizing - uses breakpoint-specific classes for font size, padding, and gap"
633
+ }
634
+ }
635
+ },
615
636
  "reverse": {
616
637
  "name": "Reverse",
617
638
  "description": "Reverse props for reversing child order",
@@ -735,6 +756,15 @@ const PropDescriptions = {
735
756
  }
736
757
  }
737
758
  },
759
+ "transparent": {
760
+ "name": "Transparent",
761
+ "description": "Transparent prop for disabling background color",
762
+ "props": {
763
+ "transparent": {
764
+ "description": "Disable background color - makes component background transparent"
765
+ }
766
+ }
767
+ },
738
768
  "variant": {
739
769
  "name": "Variant",
740
770
  "description": "Variant props for controlling component style variations",
@@ -3895,12 +3925,14 @@ class ComponentTheme {
3895
3925
  }
3896
3926
 
3897
3927
  /**
3898
- * Font size theme - applies text size using pre-computed breakpoint variables.
3899
- * CSS computes --fs-desktop/tablet/mobile from --fs-unit (with fallbacks for responsive overrides).
3928
+ * Font size theme - applies text size using CSS variables.
3929
+ * Uses breakpoint-specific variables when responsive=true, otherwise uses simple --fs variable.
3900
3930
  */
3901
3931
  class FontSizeTheme extends BaseTheme {
3902
3932
  constructor() {
3903
3933
  super(...arguments);
3934
+ /** Base: apply font size using --fs (non-responsive) */
3935
+ this.base = "text-(length:--fs)";
3904
3936
  /** Desktop: apply font size using --fs-desktop */
3905
3937
  this.desktop = "text-(length:--fs-desktop)";
3906
3938
  /** Tablet: apply font size using --fs-tablet */
@@ -3908,8 +3940,13 @@ class FontSizeTheme extends BaseTheme {
3908
3940
  /** Mobile: apply font size using --fs-mobile */
3909
3941
  this.mobile = "max-mobile:text-(length:--fs-mobile)";
3910
3942
  }
3911
- getClasses(_extractedKeys) {
3912
- return [this.desktop, this.tablet, this.mobile];
3943
+ getClasses(extractedKeys) {
3944
+ // Use breakpoint-specific classes if responsive=true
3945
+ if ((extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.responsive) === 'responsive') {
3946
+ return [this.desktop, this.tablet, this.mobile];
3947
+ }
3948
+ // Otherwise use simple --fs variable
3949
+ return [this.base];
3913
3950
  }
3914
3951
  }
3915
3952
 
@@ -3930,12 +3967,14 @@ class LineHeightTheme extends BaseTheme {
3930
3967
  }
3931
3968
 
3932
3969
  /**
3933
- * Gap theme - applies gap using pre-computed breakpoint variables.
3934
- * CSS computes --gap-desktop/tablet/mobile from --gap-unit (with fallbacks for responsive overrides).
3970
+ * Gap theme - applies gap using CSS variables.
3971
+ * Uses breakpoint-specific variables when responsive=true, otherwise uses simple --gap variable.
3935
3972
  */
3936
3973
  class GapTheme extends BaseTheme {
3937
3974
  constructor() {
3938
3975
  super(...arguments);
3976
+ /** Base: apply gap using --gap (non-responsive) */
3977
+ this.base = "gap-(--gap)";
3939
3978
  /** Desktop: apply gap using --gap-desktop */
3940
3979
  this.desktop = "gap-(--gap-desktop)";
3941
3980
  /** Tablet: apply gap using --gap-tablet */
@@ -3945,7 +3984,12 @@ class GapTheme extends BaseTheme {
3945
3984
  }
3946
3985
  getClasses(extractedKeys) {
3947
3986
  if ((extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.gap) === 'gap') {
3948
- return [this.desktop, this.tablet, this.mobile];
3987
+ // Use breakpoint-specific classes if responsive=true
3988
+ if ((extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.responsive) === 'responsive') {
3989
+ return [this.desktop, this.tablet, this.mobile];
3990
+ }
3991
+ // Otherwise use simple --gap variable
3992
+ return [this.base];
3949
3993
  }
3950
3994
  return [];
3951
3995
  }
@@ -4063,12 +4107,14 @@ class FocusVisibleTheme extends BaseTheme {
4063
4107
  }
4064
4108
 
4065
4109
  /**
4066
- * Horizontal padding theme - applies px using pre-computed breakpoint variables.
4067
- * CSS computes --px-desktop/tablet/mobile from --py-unit and --aspect-ratio.
4110
+ * Horizontal padding theme - applies px using CSS variables.
4111
+ * Uses breakpoint-specific variables when responsive=true, otherwise uses simple --px variable.
4068
4112
  */
4069
4113
  class PxTheme extends BaseTheme {
4070
4114
  constructor() {
4071
4115
  super(...arguments);
4116
+ /** Base: apply horizontal padding using --px (non-responsive) */
4117
+ this.base = "px-(--px)";
4072
4118
  /** Desktop: apply horizontal padding using --px-desktop */
4073
4119
  this.desktop = "px-(--px-desktop)";
4074
4120
  /** Tablet: apply horizontal padding using --px-tablet */
@@ -4078,19 +4124,26 @@ class PxTheme extends BaseTheme {
4078
4124
  }
4079
4125
  getClasses(extractedKeys) {
4080
4126
  if ((extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.padding) === 'padding' || (extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.padding) === undefined) {
4081
- return [this.desktop, this.tablet, this.mobile];
4127
+ // Use breakpoint-specific classes if responsive=true
4128
+ if ((extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.responsive) === 'responsive') {
4129
+ return [this.desktop, this.tablet, this.mobile];
4130
+ }
4131
+ // Otherwise use simple --px variable
4132
+ return [this.base];
4082
4133
  }
4083
4134
  return [];
4084
4135
  }
4085
4136
  }
4086
4137
 
4087
4138
  /**
4088
- * Vertical padding theme - applies py using pre-computed breakpoint variables.
4089
- * CSS computes --py-desktop/tablet/mobile from --py-unit (with fallbacks for responsive overrides).
4139
+ * Vertical padding theme - applies py using CSS variables.
4140
+ * Uses breakpoint-specific variables when responsive=true, otherwise uses simple --py variable.
4090
4141
  */
4091
4142
  class PyTheme extends BaseTheme {
4092
4143
  constructor() {
4093
4144
  super(...arguments);
4145
+ /** Base: apply vertical padding using --py (non-responsive) */
4146
+ this.base = "py-(--py)";
4094
4147
  /** Desktop: apply vertical padding using --py-desktop */
4095
4148
  this.desktop = "py-(--py-desktop)";
4096
4149
  /** Tablet: apply vertical padding using --py-tablet */
@@ -4100,7 +4153,12 @@ class PyTheme extends BaseTheme {
4100
4153
  }
4101
4154
  getClasses(extractedKeys) {
4102
4155
  if ((extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.padding) === 'padding' || (extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.padding) === undefined) {
4103
- return [this.desktop, this.tablet, this.mobile];
4156
+ // Use breakpoint-specific classes if responsive=true
4157
+ if ((extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.responsive) === 'responsive') {
4158
+ return [this.desktop, this.tablet, this.mobile];
4159
+ }
4160
+ // Otherwise use simple --py variable
4161
+ return [this.base];
4104
4162
  }
4105
4163
  return [];
4106
4164
  }
@@ -4149,6 +4207,10 @@ class SimpleConsumerTheme extends BaseTheme {
4149
4207
  if (this.category === 'focusVisible' && (extractedKeys.focusVisible === 'noFocusVisible' || extractedKeys.focusVisible === undefined)) {
4150
4208
  return [];
4151
4209
  }
4210
+ // Handle transparent prop - don't output background classes if transparent is true
4211
+ if (this.category === 'bg' && extractedKeys.transparent === 'transparent') {
4212
+ return [];
4213
+ }
4152
4214
  // Only output classes if an appearance is set (unless alwaysOutput is true)
4153
4215
  if (!this.alwaysOutput && !(extractedKeys === null || extractedKeys === void 0 ? void 0 : extractedKeys.appearance)) {
4154
4216
  return [];
@@ -4331,6 +4393,7 @@ const themeDefaults = {
4331
4393
  noRing: true,
4332
4394
  noShadow: true,
4333
4395
  sharp: true,
4396
+ responsive: true,
4334
4397
  },
4335
4398
  stack: {
4336
4399
  md: true,
@@ -4452,6 +4515,7 @@ const themeDefaults = {
4452
4515
  textLeft: true,
4453
4516
  outline: true,
4454
4517
  primary: true,
4518
+ responsive: true,
4455
4519
  },
4456
4520
  pageTitle: {
4457
4521
  md: true,
@@ -4460,6 +4524,7 @@ const themeDefaults = {
4460
4524
  textLeft: true,
4461
4525
  outline: true,
4462
4526
  primary: true,
4527
+ responsive: true,
4463
4528
  },
4464
4529
  sectionTitle: {
4465
4530
  md: true,
@@ -4468,6 +4533,7 @@ const themeDefaults = {
4468
4533
  textLeft: true,
4469
4534
  outline: true,
4470
4535
  primary: true,
4536
+ responsive: true,
4471
4537
  },
4472
4538
  link: {
4473
4539
  md: true,
@@ -4809,7 +4875,7 @@ class ListStyleTheme extends BaseTheme {
4809
4875
  }
4810
4876
  }
4811
4877
 
4812
- const createTypographyComponentTheme = (tag, base = "text-balance", fontSizeTheme = new FontSizeTheme(), defaults = {}, lineHeightTheme = new LineHeightTheme()) => {
4878
+ const createTypographyComponentTheme = (tag, base = "text-balance", fontSizeTheme = new FontSizeTheme(), defaults = {}, lineHeightTheme = new LineHeightTheme(), categories = TYPOGRAPHY_CATEGORIES) => {
4813
4879
  return new ComponentTheme(tag, base, {
4814
4880
  size: {
4815
4881
  text: fontSizeTheme,
@@ -4820,17 +4886,17 @@ const createTypographyComponentTheme = (tag, base = "text-balance", fontSizeThem
4820
4886
  },
4821
4887
  typography: defaultTypographyThemes,
4822
4888
  layout: defaultLayoutsThemes,
4823
- }, defaults, TYPOGRAPHY_CATEGORIES, (props) => {
4889
+ }, defaults, categories, (props) => {
4824
4890
  // Determine tag based on href prop
4825
4891
  return props.href ? "a" : tag;
4826
4892
  });
4827
4893
  };
4828
4894
  // Page title specific theme - uses responsive font size
4829
- const pageTitleTheme = createTypographyComponentTheme("h1", "vane-page-title text-balance tracking-tight w-fit", new FontSizeTheme(), mergeDefaults(themeDefaults.pageTitle, { semibold: true }), new LineHeightTheme());
4895
+ const pageTitleTheme = createTypographyComponentTheme("h1", "vane-page-title text-balance tracking-tight w-fit", new FontSizeTheme(), mergeDefaults(themeDefaults.pageTitle, { semibold: true }), new LineHeightTheme(), TYPOGRAPHY_CATEGORIES);
4830
4896
  // Section title specific theme - uses responsive font size
4831
- const sectionTitleTheme = createTypographyComponentTheme("h2", "vane-section-title text-balance w-fit", new FontSizeTheme(), mergeDefaults(themeDefaults.sectionTitle, { semibold: true }), new LineHeightTheme());
4897
+ const sectionTitleTheme = createTypographyComponentTheme("h2", "vane-section-title text-balance w-fit", new FontSizeTheme(), mergeDefaults(themeDefaults.sectionTitle, { semibold: true }), new LineHeightTheme(), TYPOGRAPHY_CATEGORIES);
4832
4898
  // Title specific theme - uses responsive font size
4833
- const titleTheme = createTypographyComponentTheme("h3", "vane-title text-balance w-fit", new FontSizeTheme(), mergeDefaults(themeDefaults.title, { semibold: true }), new LineHeightTheme());
4899
+ const titleTheme = createTypographyComponentTheme("h3", "vane-title text-balance w-fit", new FontSizeTheme(), mergeDefaults(themeDefaults.title, { semibold: true }), new LineHeightTheme(), TYPOGRAPHY_CATEGORIES);
4834
4900
  // Text specific theme
4835
4901
  const textTheme = createTypographyComponentTheme("p", "vane-text p-0 m-0 w-fit", new FontSizeTheme(), themeDefaults.text);
4836
4902
  // Link specific theme - uses LinkVariantTheme for link-specific colors
@@ -6380,5 +6446,5 @@ const List = forwardRef(function List(props, ref) {
6380
6446
  });
6381
6447
  List.displayName = 'List';
6382
6448
 
6383
- export { ACTIVE, APPEARANCE_CATEGORY, BADGE_CATEGORIES, BASE, BORDER, BORDER_KEYS, BREAKPOINT, BUTTON_CATEGORIES, Badge, Button, CARD_CATEGORIES, CHECKBOX_CATEGORIES, CHIP_CATEGORIES, CODE_CATEGORIES, COL_CATEGORIES, COMPONENT, COMPONENT_PROPS_CATEGORY, CONTAINER_CATEGORIES, Card, Checkbox, Chip, Code, Col, ComponentCategories, ComponentKeys, Container, DIVIDER_CATEGORIES, Divider, FOCUS, FOCUS_VISIBLE, GRID_CATEGORIES, Grid2, Grid3, Grid4, Grid5, Grid6, HOVER, IMG_CATEGORIES, INPUT_CATEGORIES, INTERACTIVE_CATEGORIES, Img, Input, LABEL_CATEGORIES, LAYOUT_CORE, LAYOUT_FLEX, LAYOUT_FULL, LIST_CATEGORIES, LIST_STYLE, Label, Link, List, ListItem, MODE_VALUES, ModeKeys, PADDING, PageTitle, PropDescriptions, RESPONSIVE_BREAKPOINT_KEYS, ROW_CATEGORIES, Row, SECTION_CATEGORIES, SHAPE, STACK_CATEGORIES, Section, SectionTitle, Stack, TYPOGRAPHY_CATEGORIES, TYPOGRAPHY_FULL, TYPOGRAPHY_STYLE, Text, ThemeProvider, Title, VARIANT, VISUAL_CORE, VISUAL_DECORATION, VISUAL_DECORATION_LAYOUT, VISUAL_FULL, VISUAL_LAYOUT, defaultTheme, getCategoryDescription, getCategoryName, getPropDescription, themeDefaults, useTheme };
6449
+ export { ACTIVE, APPEARANCE_CATEGORY, BADGE_CATEGORIES, BASE, BORDER, BORDER_KEYS, BREAKPOINT, BUTTON_CATEGORIES, Badge, Button, CARD_CATEGORIES, CHECKBOX_CATEGORIES, CHIP_CATEGORIES, CODE_CATEGORIES, COL_CATEGORIES, COMMON_MODIFIERS, COMPONENT, COMPONENT_PROPS_CATEGORY, CONTAINER_CATEGORIES, Card, Checkbox, Chip, Code, Col, ComponentCategories, ComponentKeys, Container, DIVIDER_CATEGORIES, Divider, FOCUS, FOCUS_VISIBLE, GRID_CATEGORIES, Grid2, Grid3, Grid4, Grid5, Grid6, HOVER, IMG_CATEGORIES, INPUT_CATEGORIES, INTERACTIVE_CATEGORIES, Img, Input, LABEL_CATEGORIES, LAYOUT_CORE, LAYOUT_FLEX, LAYOUT_FULL, LIST_CATEGORIES, LIST_STYLE, Label, Link, List, ListItem, MODE_VALUES, ModeKeys, PADDING, PageTitle, PropDescriptions, RESPONSIVE, RESPONSIVE_BREAKPOINT_KEYS, ROW_CATEGORIES, Row, SECTION_CATEGORIES, SHAPE, STACK_CATEGORIES, Section, SectionTitle, Stack, TRANSPARENT, TYPOGRAPHY_CATEGORIES, TYPOGRAPHY_FULL, TYPOGRAPHY_STYLE, Text, ThemeProvider, Title, VARIANT, VISUAL_CORE, VISUAL_DECORATION, VISUAL_DECORATION_LAYOUT, VISUAL_FULL, VISUAL_LAYOUT, defaultTheme, getCategoryDescription, getCategoryName, getPropDescription, themeDefaults, useTheme };
6384
6450
  //# sourceMappingURL=index.esm.js.map