@vaneui/ui 0.3.1-alpha.20250914202143.38eda80 → 0.3.1-alpha.20250916140129.7475230

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 (71) hide show
  1. package/dist/components/ui/classes/gapClasses.d.ts +3 -0
  2. package/dist/components/ui/classes/gapClasses.d.ts.map +1 -0
  3. package/dist/components/ui/props/border.d.ts +0 -18
  4. package/dist/components/ui/props/border.d.ts.map +1 -1
  5. package/dist/components/ui/theme/appearance/appearanceTheme.d.ts +10 -0
  6. package/dist/components/ui/theme/appearance/appearanceTheme.d.ts.map +1 -1
  7. package/dist/components/ui/theme/appearance/genericVariantTheme.d.ts +2 -0
  8. package/dist/components/ui/theme/appearance/genericVariantTheme.d.ts.map +1 -1
  9. package/dist/components/ui/theme/appearance/shadowAppearanceTheme.d.ts +10 -0
  10. package/dist/components/ui/theme/appearance/shadowAppearanceTheme.d.ts.map +1 -1
  11. package/dist/components/ui/theme/containerTheme.d.ts.map +1 -1
  12. package/dist/components/ui/theme/gridTheme.d.ts.map +1 -1
  13. package/dist/components/ui/theme/layout/borderTheme.d.ts +7 -0
  14. package/dist/components/ui/theme/layout/borderTheme.d.ts.map +1 -1
  15. package/dist/components/ui/theme/layout/directionTheme.d.ts +4 -0
  16. package/dist/components/ui/theme/layout/directionTheme.d.ts.map +1 -1
  17. package/dist/components/ui/theme/layout/displayTheme.d.ts +11 -0
  18. package/dist/components/ui/theme/layout/displayTheme.d.ts.map +1 -1
  19. package/dist/components/ui/theme/layout/focusVisibleTheme.d.ts +5 -0
  20. package/dist/components/ui/theme/layout/focusVisibleTheme.d.ts.map +1 -1
  21. package/dist/components/ui/theme/layout/hideTheme.d.ts +5 -0
  22. package/dist/components/ui/theme/layout/hideTheme.d.ts.map +1 -1
  23. package/dist/components/ui/theme/layout/itemsTheme.d.ts +5 -0
  24. package/dist/components/ui/theme/layout/itemsTheme.d.ts.map +1 -1
  25. package/dist/components/ui/theme/layout/justifyTheme.d.ts +8 -0
  26. package/dist/components/ui/theme/layout/justifyTheme.d.ts.map +1 -1
  27. package/dist/components/ui/theme/layout/overflowTheme.d.ts +15 -0
  28. package/dist/components/ui/theme/layout/overflowTheme.d.ts.map +1 -1
  29. package/dist/components/ui/theme/layout/positionTheme.d.ts +5 -0
  30. package/dist/components/ui/theme/layout/positionTheme.d.ts.map +1 -1
  31. package/dist/components/ui/theme/layout/radiusTheme.d.ts +3 -0
  32. package/dist/components/ui/theme/layout/radiusTheme.d.ts.map +1 -1
  33. package/dist/components/ui/theme/layout/ringTheme.d.ts +5 -0
  34. package/dist/components/ui/theme/layout/ringTheme.d.ts.map +1 -1
  35. package/dist/components/ui/theme/layout/wrapTheme.d.ts +3 -0
  36. package/dist/components/ui/theme/layout/wrapTheme.d.ts.map +1 -1
  37. package/dist/components/ui/theme/list/listStyleTheme.d.ts +2 -0
  38. package/dist/components/ui/theme/list/listStyleTheme.d.ts.map +1 -1
  39. package/dist/components/ui/theme/size/breakpointTheme.d.ts +5 -0
  40. package/dist/components/ui/theme/size/breakpointTheme.d.ts.map +1 -1
  41. package/dist/components/ui/theme/size/gapTheme.d.ts +5 -0
  42. package/dist/components/ui/theme/size/gapTheme.d.ts.map +1 -1
  43. package/dist/components/ui/theme/size/paddingTheme.d.ts +5 -0
  44. package/dist/components/ui/theme/size/paddingTheme.d.ts.map +1 -1
  45. package/dist/components/ui/theme/size/plTheme.d.ts +1 -0
  46. package/dist/components/ui/theme/size/plTheme.d.ts.map +1 -1
  47. package/dist/components/ui/theme/size/pxTheme.d.ts +1 -0
  48. package/dist/components/ui/theme/size/pxTheme.d.ts.map +1 -1
  49. package/dist/components/ui/theme/size/pyTheme.d.ts +1 -0
  50. package/dist/components/ui/theme/size/pyTheme.d.ts.map +1 -1
  51. package/dist/components/ui/theme/size/sizeTheme.d.ts +5 -0
  52. package/dist/components/ui/theme/size/sizeTheme.d.ts.map +1 -1
  53. package/dist/components/ui/theme/typography/fontFamilyTheme.d.ts +3 -0
  54. package/dist/components/ui/theme/typography/fontFamilyTheme.d.ts.map +1 -1
  55. package/dist/components/ui/theme/typography/fontStyleTheme.d.ts +2 -0
  56. package/dist/components/ui/theme/typography/fontStyleTheme.d.ts.map +1 -1
  57. package/dist/components/ui/theme/typography/fontWeightTheme.d.ts +9 -0
  58. package/dist/components/ui/theme/typography/fontWeightTheme.d.ts.map +1 -1
  59. package/dist/components/ui/theme/typography/textAlignTheme.d.ts +4 -0
  60. package/dist/components/ui/theme/typography/textAlignTheme.d.ts.map +1 -1
  61. package/dist/components/ui/theme/typography/textDecorationTheme.d.ts +4 -0
  62. package/dist/components/ui/theme/typography/textDecorationTheme.d.ts.map +1 -1
  63. package/dist/components/ui/theme/typography/textTransformTheme.d.ts +4 -0
  64. package/dist/components/ui/theme/typography/textTransformTheme.d.ts.map +1 -1
  65. package/dist/index.esm.js +142 -36
  66. package/dist/index.esm.js.map +1 -1
  67. package/dist/index.js +141 -43
  68. package/dist/index.js.map +1 -1
  69. package/dist/ui.css +57 -74
  70. package/dist/vars.css +35 -25
  71. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -52,24 +52,8 @@ const BORDER_Y = 'borderY';
52
52
  const NO_BORDER = 'noBorder';
53
53
  /** All border property values - includes all border variations and noBorder */
54
54
  const BORDER_VALUES = [BORDER$1, BORDER_T, BORDER_B, BORDER_L, BORDER_R, BORDER_X, BORDER_Y, NO_BORDER];
55
- /** All borderT property values */
56
- const BORDER_T_VALUES = [BORDER_T];
57
- /** All borderB property values */
58
- const BORDER_B_VALUES = [BORDER_B];
59
- /** All borderL property values */
60
- const BORDER_L_VALUES = [BORDER_L];
61
- /** All borderR property values */
62
- const BORDER_R_VALUES = [BORDER_R];
63
- /** All borderX property values */
64
- const BORDER_X_VALUES = [BORDER_X];
65
- /** All borderY property values */
66
- const BORDER_Y_VALUES = [BORDER_Y];
67
- /** All noBorder property values */
68
- const NO_BORDER_VALUES = [NO_BORDER];
69
55
  /** All border side keys (excluding noBorder since it doesn't have a CSS class) */
70
56
  const BORDER_KEYS = [BORDER$1, BORDER_T, BORDER_B, BORDER_L, BORDER_R, BORDER_X, BORDER_Y];
71
- /** All border keys including noBorder for category purposes */
72
- const ALL_BORDER_KEYS = [...BORDER_KEYS, NO_BORDER];
73
57
 
74
58
  /** Extra-small column breakpoint - responsive grid column sizing for xs screens */
75
59
  const XS_COL = 'xsCol';
@@ -584,10 +568,15 @@ const ComponentCategories = {
584
568
  class HideTheme extends BaseTheme {
585
569
  constructor() {
586
570
  super(...arguments);
571
+ /** Hide element on extra-small screens and below */
587
572
  this.xsHide = "max-xs:hidden";
573
+ /** Hide element on small screens and below */
588
574
  this.smHide = "max-sm:hidden";
575
+ /** Hide element on medium screens and below */
589
576
  this.mdHide = "max-md:hidden";
577
+ /** Hide element on large screens and below */
590
578
  this.lgHide = "max-lg:hidden";
579
+ /** Hide element on extra-large screens and below */
591
580
  this.xlHide = "max-xl:hidden";
592
581
  }
593
582
  getClasses(extractedKeys) {
@@ -598,10 +587,15 @@ class HideTheme extends BaseTheme {
598
587
  class ItemsTheme extends BaseTheme {
599
588
  constructor() {
600
589
  super(...arguments);
590
+ /** Align flex items to the start of the cross axis */
601
591
  this.itemsStart = "items-start";
592
+ /** Align flex items to the end of the cross axis */
602
593
  this.itemsEnd = "items-end";
594
+ /** Center flex items along the cross axis */
603
595
  this.itemsCenter = "items-center";
596
+ /** Align flex items along their baseline */
604
597
  this.itemsBaseline = "items-baseline";
598
+ /** Stretch flex items to fill the cross axis */
605
599
  this.itemsStretch = "items-stretch";
606
600
  }
607
601
  getClasses(extractedKeys) {
@@ -612,13 +606,21 @@ class ItemsTheme extends BaseTheme {
612
606
  class JustifyTheme extends BaseTheme {
613
607
  constructor() {
614
608
  super(...arguments);
609
+ /** Pack flex items toward the start of the main axis */
615
610
  this.justifyStart = "justify-start";
611
+ /** Pack flex items toward the end of the main axis */
616
612
  this.justifyEnd = "justify-end";
613
+ /** Pack flex items around the center of the main axis */
617
614
  this.justifyCenter = "justify-center";
615
+ /** Distribute flex items with equal space between them */
618
616
  this.justifyBetween = "justify-between";
617
+ /** Distribute flex items with equal space around them */
619
618
  this.justifyAround = "justify-around";
619
+ /** Distribute flex items with equal space around them, including edges */
620
620
  this.justifyEvenly = "justify-evenly";
621
+ /** Stretch flex items to fill the main axis */
621
622
  this.justifyStretch = "justify-stretch";
623
+ /** Align flex items along their baseline on the main axis */
622
624
  this.justifyBaseline = "justify-baseline";
623
625
  }
624
626
  getClasses(extractedKeys) {
@@ -629,10 +631,15 @@ class JustifyTheme extends BaseTheme {
629
631
  class PositionTheme extends BaseTheme {
630
632
  constructor() {
631
633
  super(...arguments);
634
+ /** Relative positioning - positioned relative to its normal position */
632
635
  this.relative = "relative";
636
+ /** Absolute positioning - positioned relative to its closest positioned ancestor */
633
637
  this.absolute = "absolute";
638
+ /** Fixed positioning - positioned relative to the viewport */
634
639
  this.fixed = "fixed";
640
+ /** Sticky positioning - toggles between relative and fixed based on scroll position */
635
641
  this.sticky = "sticky";
642
+ /** Static positioning - default positioning, not affected by top/left/right/bottom */
636
643
  this.static = "static";
637
644
  }
638
645
  getClasses(extractedKeys) {
@@ -643,7 +650,9 @@ class PositionTheme extends BaseTheme {
643
650
  class FontStyleTheme extends BaseTheme {
644
651
  constructor() {
645
652
  super(...arguments);
653
+ /** Italic font style - slanted text */
646
654
  this.italic = "italic";
655
+ /** Normal font style - upright text (not italic) */
647
656
  this.notItalic = "not-italic";
648
657
  }
649
658
  getClasses(extractedKeys) {
@@ -654,8 +663,11 @@ class FontStyleTheme extends BaseTheme {
654
663
  class FontFamilyTheme extends BaseTheme {
655
664
  constructor() {
656
665
  super(...arguments);
666
+ /** Sans-serif font family - clean, modern fonts without serifs */
657
667
  this.sans = "font-sans";
668
+ /** Serif font family - traditional fonts with serifs */
658
669
  this.serif = "font-serif";
670
+ /** Monospace font family - fixed-width fonts for code and data */
659
671
  this.mono = "font-mono";
660
672
  }
661
673
  getClasses(extractedKeys) {
@@ -666,14 +678,23 @@ class FontFamilyTheme extends BaseTheme {
666
678
  class FontWeightTheme extends BaseTheme {
667
679
  constructor() {
668
680
  super(...arguments);
681
+ /** Thin font weight (100) - lightest weight */
669
682
  this.thin = "font-thin";
683
+ /** Extra-light font weight (200) - very light */
670
684
  this.extralight = "font-extralight";
685
+ /** Light font weight (300) - lighter than normal */
671
686
  this.light = "font-light";
687
+ /** Normal font weight (400) - default font weight */
672
688
  this.normal = "font-normal";
689
+ /** Medium font weight (500) - slightly bold */
673
690
  this.medium = "font-medium";
691
+ /** Semi-bold font weight (600) - moderately bold */
674
692
  this.semibold = "font-semibold";
693
+ /** Bold font weight (700) - standard bold */
675
694
  this.bold = "font-bold";
695
+ /** Extra-bold font weight (800) - very bold */
676
696
  this.extrabold = "font-extrabold";
697
+ /** Black font weight (900) - heaviest weight */
677
698
  this.black = "font-black";
678
699
  }
679
700
  getClasses(extractedKeys) {
@@ -684,9 +705,13 @@ class FontWeightTheme extends BaseTheme {
684
705
  class TextDecorationTheme extends BaseTheme {
685
706
  constructor() {
686
707
  super(...arguments);
708
+ /** Underline text decoration - line below text */
687
709
  this.underline = "underline";
710
+ /** Line-through text decoration - strikethrough */
688
711
  this.lineThrough = "line-through";
712
+ /** Remove underline text decoration */
689
713
  this.noUnderline = "no-underline";
714
+ /** Overline text decoration - line above text */
690
715
  this.overline = "overline";
691
716
  }
692
717
  getClasses(extractedKeys) {
@@ -697,9 +722,13 @@ class TextDecorationTheme extends BaseTheme {
697
722
  class TextTransformTheme extends BaseTheme {
698
723
  constructor() {
699
724
  super(...arguments);
725
+ /** Transform text to UPPERCASE */
700
726
  this.uppercase = "uppercase";
727
+ /** Transform text to lowercase */
701
728
  this.lowercase = "lowercase";
729
+ /** Capitalize First Letter Of Each Word */
702
730
  this.capitalize = "capitalize";
731
+ /** Normal case - no text transformation */
703
732
  this.normalCase = "normal-case";
704
733
  }
705
734
  getClasses(extractedKeys) {
@@ -710,9 +739,13 @@ class TextTransformTheme extends BaseTheme {
710
739
  class TextAlignTheme extends BaseTheme {
711
740
  constructor() {
712
741
  super(...arguments);
742
+ /** Left-align text */
713
743
  this.textLeft = "text-left";
744
+ /** Center-align text */
714
745
  this.textCenter = "text-center";
746
+ /** Right-align text */
715
747
  this.textRight = "text-right";
748
+ /** Justify text - stretch lines to fill width */
716
749
  this.textJustify = "text-justify";
717
750
  }
718
751
  getClasses(extractedKeys) {
@@ -723,16 +756,27 @@ class TextAlignTheme extends BaseTheme {
723
756
  class DisplayTheme extends BaseTheme {
724
757
  constructor() {
725
758
  super(...arguments);
759
+ /** Inline display - element flows with text */
726
760
  this.inline = "inline";
761
+ /** Block display - element takes full width */
727
762
  this.block = "block";
763
+ /** Inline-block display - element flows with text but can have width/height */
728
764
  this.inlineBlock = "inline-block";
765
+ /** Flex display - creates a flex container */
729
766
  this.flex = "flex";
767
+ /** Inline-flex display - creates an inline flex container */
730
768
  this.inlineFlex = "inline-flex";
769
+ /** Grid display - creates a grid container */
731
770
  this.grid = "grid";
771
+ /** Inline-grid display - creates an inline grid container */
732
772
  this.inlineGrid = "inline-grid";
773
+ /** Contents display - element's children behave as if they are direct children of the parent */
733
774
  this.contents = "contents";
775
+ /** Table display - element behaves like a table */
734
776
  this.table = "table";
777
+ /** Table-cell display - element behaves like a table cell */
735
778
  this.tableCell = "table-cell";
779
+ /** Hidden display - element is completely removed from layout */
736
780
  this.hidden = "hidden";
737
781
  }
738
782
  getClasses(extractedKeys) {
@@ -3454,20 +3498,35 @@ const twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
3454
3498
  class OverflowTheme extends BaseTheme {
3455
3499
  constructor() {
3456
3500
  super(...arguments);
3501
+ /** Auto overflow - adds scrollbars when content overflows */
3457
3502
  this.overflowAuto = 'overflow-auto';
3503
+ /** Hidden overflow - clips content that overflows */
3458
3504
  this.overflowHidden = 'overflow-hidden';
3505
+ /** Clip overflow - clips content without scrollbars */
3459
3506
  this.overflowClip = 'overflow-clip';
3507
+ /** Visible overflow - content overflows and remains visible */
3460
3508
  this.overflowVisible = 'overflow-visible';
3509
+ /** Scroll overflow - always shows scrollbars */
3461
3510
  this.overflowScroll = 'overflow-scroll';
3511
+ /** Auto horizontal overflow - adds horizontal scrollbar when needed */
3462
3512
  this.overflowXAuto = 'overflow-x-auto';
3513
+ /** Auto vertical overflow - adds vertical scrollbar when needed */
3463
3514
  this.overflowYAuto = 'overflow-y-auto';
3515
+ /** Hidden horizontal overflow - clips content horizontally */
3464
3516
  this.overflowXHidden = 'overflow-x-hidden';
3517
+ /** Hidden vertical overflow - clips content vertically */
3465
3518
  this.overflowYHidden = 'overflow-y-hidden';
3519
+ /** Clip horizontal overflow - clips content horizontally without scrollbars */
3466
3520
  this.overflowXClip = 'overflow-x-clip';
3521
+ /** Clip vertical overflow - clips content vertically without scrollbars */
3467
3522
  this.overflowYClip = 'overflow-y-clip';
3523
+ /** Visible horizontal overflow - content overflows horizontally and remains visible */
3468
3524
  this.overflowXVisible = 'overflow-x-visible';
3525
+ /** Visible vertical overflow - content overflows vertically and remains visible */
3469
3526
  this.overflowYVisible = 'overflow-y-visible';
3527
+ /** Scroll horizontal overflow - always shows horizontal scrollbar */
3470
3528
  this.overflowXScroll = 'overflow-x-scroll';
3529
+ /** Scroll vertical overflow - always shows vertical scrollbar */
3471
3530
  this.overflowYScroll = 'overflow-y-scroll';
3472
3531
  }
3473
3532
  getClasses(extractedKeys) {
@@ -3597,10 +3656,15 @@ class ComponentTheme {
3597
3656
  class SizeTheme extends BaseTheme {
3598
3657
  constructor(sizeMap, useDefaultKey = true) {
3599
3658
  super();
3659
+ /** Extra-small size variant */
3600
3660
  this.xs = "";
3661
+ /** Small size variant */
3601
3662
  this.sm = "";
3663
+ /** Medium size variant (default) */
3602
3664
  this.md = "";
3665
+ /** Large size variant */
3603
3666
  this.lg = "";
3667
+ /** Extra-large size variant */
3604
3668
  this.xl = "";
3605
3669
  this.useDefaultKey = useDefaultKey;
3606
3670
  ComponentKeys.size.forEach((key) => {
@@ -3615,14 +3679,27 @@ class SizeTheme extends BaseTheme {
3615
3679
  }
3616
3680
  }
3617
3681
 
3682
+ const layoutGapClasses = {
3683
+ xs: "gap-(--layout-gap-xs)",
3684
+ sm: "gap-(--layout-gap-sm)",
3685
+ md: "gap-(--layout-gap-md)",
3686
+ lg: "gap-(--layout-gap-lg)",
3687
+ xl: "gap-(--layout-gap-xl)",
3688
+ };
3689
+
3618
3690
  class GapTheme extends BaseTheme {
3619
3691
  constructor(sizeMap) {
3620
3692
  super();
3621
- this.xs = 'gap-2';
3622
- this.sm = 'gap-3';
3623
- this.md = 'gap-4';
3624
- this.lg = 'gap-5';
3625
- this.xl = 'gap-6';
3693
+ /** Extra-small gap - uses CSS variable --layout-gap-xs */
3694
+ this.xs = layoutGapClasses.xs;
3695
+ /** Small gap - uses CSS variable --layout-gap-sm */
3696
+ this.sm = layoutGapClasses.sm;
3697
+ /** Medium gap - uses CSS variable --layout-gap-md */
3698
+ this.md = layoutGapClasses.md;
3699
+ /** Large gap - uses CSS variable --layout-gap-lg */
3700
+ this.lg = layoutGapClasses.lg;
3701
+ /** Extra-large gap - uses CSS variable --layout-gap-xl */
3702
+ this.xl = layoutGapClasses.xl;
3626
3703
  if (sizeMap) {
3627
3704
  ComponentKeys.size.forEach((key) => {
3628
3705
  if (sizeMap[key] !== undefined) {
@@ -3659,7 +3736,9 @@ const layoutBorderRadiusClasses = {
3659
3736
  class RadiusTheme extends BaseTheme {
3660
3737
  constructor(roundedClasses) {
3661
3738
  super();
3739
+ /** Pill shape - fully rounded corners */
3662
3740
  this.pill = "rounded-full";
3741
+ /** Sharp shape - no rounded corners */
3663
3742
  this.sharp = "rounded-none";
3664
3743
  this.rounded = roundedClasses;
3665
3744
  }
@@ -3691,12 +3770,19 @@ class RadiusTheme extends BaseTheme {
3691
3770
  class BorderTheme extends BaseTheme {
3692
3771
  constructor() {
3693
3772
  super(...arguments);
3773
+ /** Show border - adds appearance-based border styling */
3694
3774
  this.border = "border";
3775
+ /** Show top border */
3695
3776
  this.borderT = "border-t";
3777
+ /** Show bottom border */
3696
3778
  this.borderB = "border-b";
3779
+ /** Show left border */
3697
3780
  this.borderL = "border-l";
3781
+ /** Show right border */
3698
3782
  this.borderR = "border-r";
3783
+ /** Show horizontal borders (left and right) */
3699
3784
  this.borderX = "border-x";
3785
+ /** Show vertical borders (top and bottom) */
3700
3786
  this.borderY = "border-y";
3701
3787
  }
3702
3788
  getClasses(extractedKeys) {
@@ -3718,10 +3804,15 @@ class BorderTheme extends BaseTheme {
3718
3804
  class RingTheme extends BaseTheme {
3719
3805
  constructor() {
3720
3806
  super(...arguments);
3807
+ /** Base ring styling - ring with inset positioning */
3721
3808
  this.base = "ring ring-inset";
3809
+ /** Ring styling on hover state */
3722
3810
  this.hover = "";
3811
+ /** Ring styling on active state */
3723
3812
  this.active = "";
3813
+ /** Ring styling on focus state */
3724
3814
  this.focus = "";
3815
+ /** Ring styling on focus-visible state for keyboard navigation */
3725
3816
  this.focusVisible = "";
3726
3817
  }
3727
3818
  getClasses(extractedKeys) {
@@ -3734,10 +3825,15 @@ class RingTheme extends BaseTheme {
3734
3825
  class FocusVisibleTheme extends BaseTheme {
3735
3826
  constructor() {
3736
3827
  super(...arguments);
3828
+ /** Base focus-visible styling */
3737
3829
  this.base = "";
3830
+ /** Focus-visible styling on hover state */
3738
3831
  this.hover = "";
3832
+ /** Focus-visible styling on active state */
3739
3833
  this.active = "";
3834
+ /** Focus-visible styling on focus state */
3740
3835
  this.focus = "";
3836
+ /** Focus-visible styling for keyboard navigation - outline on focus */
3741
3837
  this.focusVisible = "focus-visible:outline-2 focus-visible:outline-offset-2";
3742
3838
  }
3743
3839
  getClasses(extractedKeys) {
@@ -3750,10 +3846,15 @@ class FocusVisibleTheme extends BaseTheme {
3750
3846
  class PaddingTheme extends BaseTheme {
3751
3847
  constructor(initial) {
3752
3848
  super();
3849
+ /** Extra-small padding - varies by component implementation */
3753
3850
  this.xs = "";
3851
+ /** Small padding - varies by component implementation */
3754
3852
  this.sm = "";
3853
+ /** Medium padding - varies by component implementation */
3755
3854
  this.md = "";
3855
+ /** Large padding - varies by component implementation */
3756
3856
  this.lg = "";
3857
+ /** Extra-large padding - varies by component implementation */
3757
3858
  this.xl = "";
3758
3859
  if (initial) {
3759
3860
  ComponentKeys.size.forEach((key) => {
@@ -3773,6 +3874,7 @@ class PaddingTheme extends BaseTheme {
3773
3874
  }
3774
3875
  }
3775
3876
 
3877
+ /** Horizontal padding theme - controls left and right padding */
3776
3878
  class PxTheme extends PaddingTheme {
3777
3879
  constructor(sizeMap) {
3778
3880
  super(sizeMap);
@@ -3787,6 +3889,7 @@ class PxTheme extends PaddingTheme {
3787
3889
  }
3788
3890
  }
3789
3891
 
3892
+ /** Vertical padding theme - controls top and bottom padding */
3790
3893
  class PyTheme extends PaddingTheme {
3791
3894
  constructor(sizeMap) {
3792
3895
  super(sizeMap);
@@ -4364,8 +4467,11 @@ class GenericVariantTheme extends BaseTheme {
4364
4467
  class WrapTheme extends BaseTheme {
4365
4468
  constructor() {
4366
4469
  super(...arguments);
4470
+ /** Allow flex items to wrap to new lines */
4367
4471
  this.flexWrap = "flex-wrap";
4472
+ /** Prevent flex items from wrapping - keep on single line */
4368
4473
  this.flexNoWrap = "flex-nowrap";
4474
+ /** Allow flex items to wrap in reverse order */
4369
4475
  this.flexWrapReverse = "flex-wrap-reverse";
4370
4476
  }
4371
4477
  getClasses(extractedKeys) {
@@ -4376,9 +4482,13 @@ class WrapTheme extends BaseTheme {
4376
4482
  class DirectionTheme extends BaseTheme {
4377
4483
  constructor() {
4378
4484
  super(...arguments);
4485
+ /** Horizontal flex direction - items flow left to right */
4379
4486
  this.row = "flex-row";
4487
+ /** Vertical flex direction - items flow top to bottom */
4380
4488
  this.column = "flex-col";
4489
+ /** Reversed horizontal flex direction - items flow right to left */
4381
4490
  this.rowReverse = "flex-row-reverse";
4491
+ /** Reversed vertical flex direction - items flow bottom to top */
4382
4492
  this.columnReverse = "flex-col-reverse";
4383
4493
  }
4384
4494
  getClasses(extractedKeys) {
@@ -4823,6 +4933,7 @@ const mergeDefaults = (baseDefaults, overrideDefaults) => {
4823
4933
  return finalDefaults;
4824
4934
  };
4825
4935
 
4936
+ /** Left padding theme - controls left padding only */
4826
4937
  class PlTheme extends PaddingTheme {
4827
4938
  constructor(sizeMap) {
4828
4939
  super(sizeMap);
@@ -4840,7 +4951,9 @@ class PlTheme extends PaddingTheme {
4840
4951
  class ListStyleTheme extends BaseTheme {
4841
4952
  constructor() {
4842
4953
  super(...arguments);
4954
+ /** Disc list style - bullet points for unordered lists */
4843
4955
  this.disc = 'list-disc';
4956
+ /** Decimal list style - numbers for ordered lists */
4844
4957
  this.decimal = 'list-decimal';
4845
4958
  }
4846
4959
  getClasses(extractedKeys) {
@@ -4932,10 +5045,15 @@ const listTheme = new ComponentTheme("ul", "list-inside", {
4932
5045
  class BreakpointTheme extends BaseTheme {
4933
5046
  constructor() {
4934
5047
  super(...arguments);
5048
+ /** Switch to column layout on extra-small screens and below */
4935
5049
  this.xsCol = "max-xs:flex-col";
5050
+ /** Switch to column layout on small screens and below */
4936
5051
  this.smCol = "max-sm:flex-col";
5052
+ /** Switch to column layout on medium screens and below */
4937
5053
  this.mdCol = "max-md:flex-col";
5054
+ /** Switch to column layout on large screens and below */
4938
5055
  this.lgCol = "max-lg:flex-col";
5056
+ /** Switch to column layout on extra-large screens and below */
4939
5057
  this.xlCol = "max-xl:flex-col";
4940
5058
  }
4941
5059
  getClasses(extractedKeys) {
@@ -5022,13 +5140,7 @@ const defaultDividerTheme = new ComponentTheme("div", "h-px w-full", {
5022
5140
 
5023
5141
  const defaultContainerTheme = new ComponentTheme("div", "flex-col mx-auto w-full", {
5024
5142
  size: {
5025
- gap: new GapTheme({
5026
- xs: 'gap-2 max-lg:gap-1',
5027
- sm: 'gap-4 max-lg:gap-3 max-md:gap-2',
5028
- md: 'gap-6 max-lg:gap-5 max-md:gap-4',
5029
- lg: 'gap-8 max-lg:gap-7 max-md:gap-6',
5030
- xl: 'gap-10 max-lg:gap-9 max-md:gap-8',
5031
- }),
5143
+ gap: new GapTheme(),
5032
5144
  maxWidth: new SizeTheme({ xs: 'max-w-3xl', sm: 'max-w-4xl', md: 'max-w-5xl', lg: 'max-w-6xl', xl: 'max-w-7xl' }),
5033
5145
  },
5034
5146
  layout: {
@@ -5131,13 +5243,7 @@ const defaultSectionTheme = new ComponentTheme("div", "w-full flex-col", {
5131
5243
 
5132
5244
  const gridSubThemes = {
5133
5245
  size: {
5134
- gap: new GapTheme({
5135
- xs: "gap-2",
5136
- sm: "gap-4 max-lg:gap-2",
5137
- md: "gap-6 max-lg:gap-4",
5138
- lg: "gap-8 max-lg:gap-6 max-md:gap-4",
5139
- xl: "gap-10 max-lg:gap-8 max-md:gap-6"
5140
- }),
5246
+ gap: new GapTheme(),
5141
5247
  },
5142
5248
  appearance: {
5143
5249
  background: GenericVariantTheme.createLayoutBgAppearanceTheme(),
@@ -5578,7 +5684,6 @@ const List = react.forwardRef(function List(props, ref) {
5578
5684
  exports.ABSOLUTE = ABSOLUTE;
5579
5685
  exports.ACCENT = ACCENT;
5580
5686
  exports.ACTIVE = ACTIVE;
5581
- exports.ALL_BORDER_KEYS = ALL_BORDER_KEYS;
5582
5687
  exports.APPEARANCE_CATEGORY = APPEARANCE_CATEGORY;
5583
5688
  exports.APPEARANCE_VALUES = APPEARANCE_VALUES;
5584
5689
  exports.BADGE_CATEGORIES = BADGE_CATEGORIES;
@@ -5588,19 +5693,13 @@ exports.BLOCK = BLOCK;
5588
5693
  exports.BOLD = BOLD;
5589
5694
  exports.BORDER = BORDER;
5590
5695
  exports.BORDER_B = BORDER_B;
5591
- exports.BORDER_B_VALUES = BORDER_B_VALUES;
5592
5696
  exports.BORDER_KEYS = BORDER_KEYS;
5593
5697
  exports.BORDER_L = BORDER_L;
5594
- exports.BORDER_L_VALUES = BORDER_L_VALUES;
5595
5698
  exports.BORDER_R = BORDER_R;
5596
- exports.BORDER_R_VALUES = BORDER_R_VALUES;
5597
5699
  exports.BORDER_T = BORDER_T;
5598
- exports.BORDER_T_VALUES = BORDER_T_VALUES;
5599
5700
  exports.BORDER_VALUES = BORDER_VALUES;
5600
5701
  exports.BORDER_X = BORDER_X;
5601
- exports.BORDER_X_VALUES = BORDER_X_VALUES;
5602
5702
  exports.BORDER_Y = BORDER_Y;
5603
- exports.BORDER_Y_VALUES = BORDER_Y_VALUES;
5604
5703
  exports.BREAKPOINT = BREAKPOINT;
5605
5704
  exports.BREAKPOINT_VALUES = BREAKPOINT_VALUES;
5606
5705
  exports.BUTTON_CATEGORIES = BUTTON_CATEGORIES;
@@ -5716,7 +5815,6 @@ exports.NORMAL = NORMAL;
5716
5815
  exports.NORMAL_CASE = NORMAL_CASE;
5717
5816
  exports.NOT_ITALIC = NOT_ITALIC;
5718
5817
  exports.NO_BORDER = NO_BORDER;
5719
- exports.NO_BORDER_VALUES = NO_BORDER_VALUES;
5720
5818
  exports.NO_FOCUS_VISIBLE_OUTLINE = NO_FOCUS_VISIBLE_OUTLINE;
5721
5819
  exports.NO_GAP = NO_GAP;
5722
5820
  exports.NO_PADDING = NO_PADDING;