@vaneui/ui 0.3.1-alpha.20251213103636.79707b4 → 0.3.1-alpha.20251214141144.6dd59c5

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
@@ -4850,6 +4850,7 @@ const textTheme = createTypographyComponentTheme("p", "p-0 m-0 w-fit", new FontS
4850
4850
  const linkTheme = new ComponentTheme("a", "hover:underline w-fit cursor-pointer", {
4851
4851
  size: {
4852
4852
  text: new FontSizeTheme(),
4853
+ lineHeight: LineHeightTheme.createDefault(),
4853
4854
  },
4854
4855
  appearance: {
4855
4856
  text: GenericVariantTheme.createTypographyTextTheme(),
@@ -4857,10 +4858,11 @@ const linkTheme = new ComponentTheme("a", "hover:underline w-fit cursor-pointer"
4857
4858
  typography: defaultTypographyThemes,
4858
4859
  layout: defaultLayoutsThemes,
4859
4860
  }, themeDefaults.link, TYPOGRAPHY_CATEGORIES);
4860
- // List specific theme
4861
+ // ListItem specific theme
4861
4862
  const listItemTheme = new ComponentTheme("li", "", {
4862
4863
  size: {
4863
4864
  text: new FontSizeTheme(),
4865
+ lineHeight: LineHeightTheme.createDefault(),
4864
4866
  },
4865
4867
  appearance: {
4866
4868
  text: GenericVariantTheme.createTypographyTextTheme(),
@@ -4872,6 +4874,7 @@ const listItemTheme = new ComponentTheme("li", "", {
4872
4874
  const listTheme = new ComponentTheme("ul", "list-inside", {
4873
4875
  size: {
4874
4876
  text: new FontSizeTheme(),
4877
+ lineHeight: LineHeightTheme.createDefault(),
4875
4878
  paddingLeft: new PlTheme(),
4876
4879
  },
4877
4880
  appearance: {
@@ -5448,6 +5451,7 @@ const Button = react.forwardRef(function Button(props, ref) {
5448
5451
  const theme = useTheme();
5449
5452
  return jsxRuntime.jsx(ThemedComponent, { ref: ref, theme: theme.button, ...props });
5450
5453
  });
5454
+ Button.displayName = 'Button';
5451
5455
 
5452
5456
  /**
5453
5457
  * A compact badge component for displaying status, labels, or counts.
@@ -5486,6 +5490,7 @@ const Badge = react.forwardRef(function Badge(props, ref) {
5486
5490
  const theme = useTheme();
5487
5491
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.badge, ref: ref, ...props });
5488
5492
  });
5493
+ Badge.displayName = 'Badge';
5489
5494
 
5490
5495
  /**
5491
5496
  * A visual separator component for dividing content sections.
@@ -5520,6 +5525,7 @@ const Divider = react.forwardRef(function Divider(props, ref) {
5520
5525
  const theme = useTheme();
5521
5526
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.divider, ref: ref, ...props });
5522
5527
  });
5528
+ Divider.displayName = 'Divider';
5523
5529
 
5524
5530
  /**
5525
5531
  * A chip component for displaying tags, filters, or selections.
@@ -5558,6 +5564,7 @@ const Chip = react.forwardRef(function Chip(props, ref) {
5558
5564
  const theme = useTheme();
5559
5565
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.chip, ref: ref, ...props });
5560
5566
  });
5567
+ Chip.displayName = 'Chip';
5561
5568
 
5562
5569
  /**
5563
5570
  * An inline code component for displaying code snippets or technical terms.
@@ -5596,6 +5603,7 @@ const Code = react.forwardRef(function Code(props, ref) {
5596
5603
  const theme = useTheme();
5597
5604
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.code, ref: ref, ...props });
5598
5605
  });
5606
+ Code.displayName = 'Code';
5599
5607
 
5600
5608
  /**
5601
5609
  * A styled checkbox component for forms and selections.
@@ -5639,7 +5647,7 @@ const Checkbox = react.forwardRef(function Checkbox(props, ref) {
5639
5647
  const {
5640
5648
  // Size props
5641
5649
  xs, sm, md, lg, xl,
5642
- // Appearance props
5650
+ // Appearance props
5643
5651
  default: defaultProp, accent, primary, secondary, tertiary, success, danger, warning, info, transparent,
5644
5652
  // Variant props
5645
5653
  filled, outline,
@@ -5665,6 +5673,7 @@ const Checkbox = react.forwardRef(function Checkbox(props, ref) {
5665
5673
  };
5666
5674
  return (jsxRuntime.jsxs(ThemedComponent, { theme: theme.checkbox.wrapper, ref: ref, ...themeProps, children: [jsxRuntime.jsx(ThemedComponent, { theme: theme.checkbox.input, ...inputProps }), jsxRuntime.jsx(ThemedComponent, { theme: theme.checkbox.check, ...themeProps, children: theme.checkbox.check.themes.checkElement() })] }));
5667
5675
  });
5676
+ Checkbox.displayName = 'Checkbox';
5668
5677
 
5669
5678
  /**
5670
5679
  * A label component for form fields and inputs.
@@ -5709,6 +5718,7 @@ const Label = react.forwardRef(function Label(props, ref) {
5709
5718
  const theme = useTheme();
5710
5719
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.label, ref: ref, ...props });
5711
5720
  });
5721
+ Label.displayName = 'Label';
5712
5722
 
5713
5723
  /**
5714
5724
  * An image component with styling and layout support.
@@ -5747,6 +5757,7 @@ const Img = react.forwardRef(function Img(props, ref) {
5747
5757
  const theme = useTheme();
5748
5758
  return (jsxRuntime.jsx(ThemedComponent, { theme: theme.img, ref: ref, ...props }));
5749
5759
  });
5760
+ Img.displayName = 'Img';
5750
5761
 
5751
5762
  /**
5752
5763
  * A text input field component for forms and user data entry.
@@ -5785,6 +5796,7 @@ const Input = react.forwardRef(function Input(props, ref) {
5785
5796
  const theme = useTheme();
5786
5797
  return jsxRuntime.jsx(ThemedComponent, { ref: ref, theme: theme.input, ...props });
5787
5798
  });
5799
+ Input.displayName = 'Input';
5788
5800
 
5789
5801
  /**
5790
5802
  * A semantic section container for grouping related content.
@@ -5826,6 +5838,7 @@ const Section = react.forwardRef(function Section(props, ref) {
5826
5838
  const theme = useTheme();
5827
5839
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.section, ref: ref, ...props });
5828
5840
  });
5841
+ Section.displayName = 'Section';
5829
5842
 
5830
5843
  /**
5831
5844
  * A page-level content wrapper with maximum width constraints.
@@ -5866,6 +5879,7 @@ const Container = react.forwardRef(function Container(props, ref) {
5866
5879
  const theme = useTheme();
5867
5880
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.container, ref: ref, ...props });
5868
5881
  });
5882
+ Container.displayName = 'Container';
5869
5883
 
5870
5884
  /**
5871
5885
  * A column flex container for vertical content organization.
@@ -5909,6 +5923,7 @@ const Col = react.forwardRef(function Col(props, ref) {
5909
5923
  const theme = useTheme();
5910
5924
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.col, ref: ref, ...props });
5911
5925
  });
5926
+ Col.displayName = 'Col';
5912
5927
 
5913
5928
  /**
5914
5929
  * A horizontal flex container for arranging elements side-by-side.
@@ -5951,6 +5966,7 @@ const Row = react.forwardRef(function Row(props, ref) {
5951
5966
  const theme = useTheme();
5952
5967
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.row, ref: ref, ...props });
5953
5968
  });
5969
+ Row.displayName = 'Row';
5954
5970
 
5955
5971
  /**
5956
5972
  * A 2-column CSS grid container.
@@ -5984,6 +6000,7 @@ const Grid2 = react.forwardRef(function Grid2(props, ref) {
5984
6000
  const theme = useTheme();
5985
6001
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.grid2, ref: ref, ...props });
5986
6002
  });
6003
+ Grid2.displayName = 'Grid2';
5987
6004
  /**
5988
6005
  * A 3-column CSS grid container.
5989
6006
  *
@@ -6006,6 +6023,7 @@ const Grid3 = react.forwardRef(function Grid3(props, ref) {
6006
6023
  const theme = useTheme();
6007
6024
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.grid3, ref: ref, ...props });
6008
6025
  });
6026
+ Grid3.displayName = 'Grid3';
6009
6027
  /**
6010
6028
  * A 4-column CSS grid container.
6011
6029
  *
@@ -6029,6 +6047,7 @@ const Grid4 = react.forwardRef(function Grid4(props, ref) {
6029
6047
  const theme = useTheme();
6030
6048
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.grid4, ref: ref, ...props });
6031
6049
  });
6050
+ Grid4.displayName = 'Grid4';
6032
6051
  /**
6033
6052
  * A 5-column CSS grid container.
6034
6053
  *
@@ -6053,6 +6072,7 @@ const Grid5 = react.forwardRef(function Grid5(props, ref) {
6053
6072
  const theme = useTheme();
6054
6073
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.grid5, ref: ref, ...props });
6055
6074
  });
6075
+ Grid5.displayName = 'Grid5';
6056
6076
  /**
6057
6077
  * A 6-column CSS grid container.
6058
6078
  *
@@ -6078,6 +6098,7 @@ const Grid6 = react.forwardRef(function Grid6(props, ref) {
6078
6098
  const theme = useTheme();
6079
6099
  return jsxRuntime.jsx(ThemedComponent, { theme: theme.grid6, ref: ref, ...props });
6080
6100
  });
6101
+ Grid6.displayName = 'Grid6';
6081
6102
 
6082
6103
  /**
6083
6104
  * A container component for grouping related content with padding and borders.
@@ -6123,6 +6144,7 @@ const Card = react.forwardRef(function Card(props, ref) {
6123
6144
  const theme = useTheme();
6124
6145
  return jsxRuntime.jsx(ThemedComponent, { ref: ref, theme: theme.card, ...props });
6125
6146
  });
6147
+ Card.displayName = 'Card';
6126
6148
 
6127
6149
  /**
6128
6150
  * A vertical flex container for stacking elements.
@@ -6166,6 +6188,7 @@ const Stack = react.forwardRef(function Stack(props, ref) {
6166
6188
  const stackTheme = theme.stack;
6167
6189
  return jsxRuntime.jsx(ThemedComponent, { theme: stackTheme, ref: ref, ...props });
6168
6190
  });
6191
+ Stack.displayName = 'Stack';
6169
6192
 
6170
6193
  /**
6171
6194
  * A top-level page heading component (h1).
@@ -6198,6 +6221,7 @@ const PageTitle = react.forwardRef(function PageTitle(props, ref) {
6198
6221
  const theme = useTheme();
6199
6222
  return jsxRuntime.jsx(ThemedComponent, { ref: ref, theme: theme.pageTitle, ...props });
6200
6223
  });
6224
+ PageTitle.displayName = 'PageTitle';
6201
6225
  /**
6202
6226
  * A section heading component (h2).
6203
6227
  *
@@ -6229,6 +6253,7 @@ const SectionTitle = react.forwardRef(function SectionTitle(props, ref) {
6229
6253
  const theme = useTheme();
6230
6254
  return jsxRuntime.jsx(ThemedComponent, { ref: ref, theme: theme.sectionTitle, ...props });
6231
6255
  });
6256
+ SectionTitle.displayName = 'SectionTitle';
6232
6257
  /**
6233
6258
  * A subsection heading component (h3).
6234
6259
  *
@@ -6259,6 +6284,7 @@ const Title = react.forwardRef(function Title(props, ref) {
6259
6284
  const theme = useTheme();
6260
6285
  return jsxRuntime.jsx(ThemedComponent, { ref: ref, theme: theme.title, ...props });
6261
6286
  });
6287
+ Title.displayName = 'Title';
6262
6288
  /**
6263
6289
  * A body text component (p).
6264
6290
  *
@@ -6296,6 +6322,7 @@ const Text = react.forwardRef(function Text(props, ref) {
6296
6322
  const theme = useTheme();
6297
6323
  return jsxRuntime.jsx(ThemedComponent, { ref: ref, theme: theme.text, ...props });
6298
6324
  });
6325
+ Text.displayName = 'Text';
6299
6326
  /**
6300
6327
  * An anchor link component (a).
6301
6328
  *
@@ -6329,6 +6356,7 @@ const Link = react.forwardRef(function Link(props, ref) {
6329
6356
  const theme = useTheme();
6330
6357
  return jsxRuntime.jsx(ThemedComponent, { ref: ref, theme: theme.link, ...props });
6331
6358
  });
6359
+ Link.displayName = 'Link';
6332
6360
  /**
6333
6361
  * A list item component (li).
6334
6362
  *
@@ -6363,6 +6391,7 @@ const ListItem = react.forwardRef(function ListItem(props, ref) {
6363
6391
  const theme = useTheme();
6364
6392
  return jsxRuntime.jsx(ThemedComponent, { ref: ref, theme: theme.listItem, ...props });
6365
6393
  });
6394
+ ListItem.displayName = 'ListItem';
6366
6395
  /**
6367
6396
  * A list container component (ul or ol).
6368
6397
  *
@@ -6403,6 +6432,7 @@ const List = react.forwardRef(function List(props, ref) {
6403
6432
  const theme = useTheme();
6404
6433
  return jsxRuntime.jsx(ThemedComponent, { ref: ref, theme: theme.list, ...props });
6405
6434
  });
6435
+ List.displayName = 'List';
6406
6436
 
6407
6437
  exports.ACTIVE = ACTIVE;
6408
6438
  exports.APPEARANCE_CATEGORY = APPEARANCE_CATEGORY;