@vaneui/ui 0.0.12 → 0.0.13

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/all.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.0.12 | MIT License | https://tailwindcss.com */
2
2
  @layer theme, utilities;
3
3
  @layer theme {
4
4
  :root, :host {
@@ -141,12 +141,21 @@
141
141
  .flex-row-reverse {
142
142
  flex-direction: row-reverse;
143
143
  }
144
+ .items-baseline {
145
+ align-items: baseline;
146
+ }
144
147
  .items-center {
145
148
  align-items: center;
146
149
  }
150
+ .items-end {
151
+ align-items: flex-end;
152
+ }
147
153
  .items-start {
148
154
  align-items: flex-start;
149
155
  }
156
+ .items-stretch {
157
+ align-items: stretch;
158
+ }
150
159
  .justify-around {
151
160
  justify-content: space-around;
152
161
  }
@@ -460,9 +469,6 @@
460
469
  --tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
461
470
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
462
471
  }
463
- .filter {
464
- filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
465
- }
466
472
  .transition-all {
467
473
  transition-property: all;
468
474
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -801,46 +807,6 @@
801
807
  inherits: false;
802
808
  initial-value: 0 0 #0000;
803
809
  }
804
- @property --tw-blur {
805
- syntax: "*";
806
- inherits: false;
807
- }
808
- @property --tw-brightness {
809
- syntax: "*";
810
- inherits: false;
811
- }
812
- @property --tw-contrast {
813
- syntax: "*";
814
- inherits: false;
815
- }
816
- @property --tw-grayscale {
817
- syntax: "*";
818
- inherits: false;
819
- }
820
- @property --tw-hue-rotate {
821
- syntax: "*";
822
- inherits: false;
823
- }
824
- @property --tw-invert {
825
- syntax: "*";
826
- inherits: false;
827
- }
828
- @property --tw-opacity {
829
- syntax: "*";
830
- inherits: false;
831
- }
832
- @property --tw-saturate {
833
- syntax: "*";
834
- inherits: false;
835
- }
836
- @property --tw-sepia {
837
- syntax: "*";
838
- inherits: false;
839
- }
840
- @property --tw-drop-shadow {
841
- syntax: "*";
842
- inherits: false;
843
- }
844
810
  @property --tw-duration {
845
811
  syntax: "*";
846
812
  inherits: false;
package/dist/complex.css CHANGED
@@ -1,47 +1,3 @@
1
- /*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.0.12 | MIT License | https://tailwindcss.com */
2
2
  @layer theme, utilities;
3
- @layer utilities {
4
- .filter {
5
- filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
6
- }
7
- }
8
- @property --tw-blur {
9
- syntax: "*";
10
- inherits: false;
11
- }
12
- @property --tw-brightness {
13
- syntax: "*";
14
- inherits: false;
15
- }
16
- @property --tw-contrast {
17
- syntax: "*";
18
- inherits: false;
19
- }
20
- @property --tw-grayscale {
21
- syntax: "*";
22
- inherits: false;
23
- }
24
- @property --tw-hue-rotate {
25
- syntax: "*";
26
- inherits: false;
27
- }
28
- @property --tw-invert {
29
- syntax: "*";
30
- inherits: false;
31
- }
32
- @property --tw-opacity {
33
- syntax: "*";
34
- inherits: false;
35
- }
36
- @property --tw-saturate {
37
- syntax: "*";
38
- inherits: false;
39
- }
40
- @property --tw-sepia {
41
- syntax: "*";
42
- inherits: false;
43
- }
44
- @property --tw-drop-shadow {
45
- syntax: "*";
46
- inherits: false;
47
- }
3
+ @layer utilities;
@@ -82,10 +82,12 @@ export interface ReverseProps {
82
82
  export interface GapProps {
83
83
  noGap?: boolean;
84
84
  }
85
- export interface CenteredProps {
86
- centered?: boolean;
87
- vCentered?: boolean;
88
- hCentered?: boolean;
85
+ export interface ItemsProps {
86
+ itemsStart?: boolean;
87
+ itemsEnd?: boolean;
88
+ itemsCenter?: boolean;
89
+ itemsBaseline?: boolean;
90
+ itemsStretch?: boolean;
89
91
  }
90
92
  export interface JustifyProps {
91
93
  justifyStart?: boolean;
@@ -98,9 +100,9 @@ export interface JustifyProps {
98
100
  justifyBaseline?: boolean;
99
101
  }
100
102
  export type BaseComponentProps = TagProps & Partial<SizeProps & HideProps & PositionProps> & React.HTMLProps<HTMLElement>;
101
- export type LayoutComponentProps = BaseComponentProps & ReverseProps & CenteredProps;
103
+ export type LayoutComponentProps = BaseComponentProps & ReverseProps & ItemsProps;
102
104
  export type FontProps = FontWeightProps & FontStyleProps & TextDecorationProps & TextTransformProps & FontFamilyProps & TextAppearanceProps & CommonAppearanceProps;
103
105
  export type TypographyComponentProps = BaseComponentProps & FontProps;
104
106
  export type GridProps = BaseComponentProps & GapProps;
105
- export type RowProps = BaseComponentProps & GapProps & ReverseProps & CenteredProps & BreakpointProps & JustifyProps;
106
- export type ColProps = BaseComponentProps & GapProps & ReverseProps & CenteredProps;
107
+ export type RowProps = BaseComponentProps & GapProps & ReverseProps & ItemsProps & BreakpointProps & JustifyProps;
108
+ export type ColProps = BaseComponentProps & GapProps & ReverseProps & ItemsProps;
@@ -1,4 +1,4 @@
1
- import { BaseComponentProps, BreakpointProps, CenteredProps, CommonAppearanceProps, FontFamilyProps, FontStyleProps, FontWeightProps, GapProps, HideProps, PositionProps, ReverseProps, TextAppearanceProps, TextDecorationProps, TextTransformProps, SizeProps } from "../ui/props/props";
1
+ import { BaseComponentProps, BreakpointProps, ItemsProps, CommonAppearanceProps, FontFamilyProps, FontStyleProps, FontWeightProps, GapProps, HideProps, PositionProps, ReverseProps, TextAppearanceProps, TextDecorationProps, TextTransformProps, SizeProps } from "../ui/props/props";
2
2
  import { CommonAppearanceSettings, FontFamilySettings, FontStyleSettings, FontWeightSettings, TextAppearanceSettings, TextDecorationSettings, TextTransformSettings, TypographySettings } from "../ui/settings";
3
3
  export declare function componentBuilder(baseProps: BaseComponentProps, defaultTag: string, baseClasses?: string): {
4
4
  withBooleanProps: <T extends Record<string, string>>(propMap: Record<keyof T, string>, fallbackKey?: keyof T, settings?: {
@@ -7,7 +7,7 @@ export declare function componentBuilder(baseProps: BaseComponentProps, defaultT
7
7
  withSizes: (sizeMap: Record<keyof SizeProps, string>) => /*elided*/ any;
8
8
  withBreakpoints: (breakpointMap: Record<keyof BreakpointProps, string>) => /*elided*/ any;
9
9
  withReverse: (reverseMap: Record<keyof ReverseProps, string>) => /*elided*/ any;
10
- withCentered: (centeredMap: Record<keyof CenteredProps, string>) => /*elided*/ any;
10
+ withItems: (itemsMap: Record<keyof ItemsProps, string>) => /*elided*/ any;
11
11
  withHide: (hideMap: Record<keyof HideProps, string>) => /*elided*/ any;
12
12
  withPosition: (positionMap: Record<keyof PositionProps, string>) => /*elided*/ any;
13
13
  withFontWeight: (fontWeight: Record<keyof FontWeightProps, string>, settings: FontWeightSettings) => /*elided*/ any;
package/dist/index.esm.js CHANGED
@@ -2807,7 +2807,7 @@ function componentBuilder(baseProps, defaultTag, baseClasses) {
2807
2807
  withSizes: (sizeMap) => withBooleanProps(sizeMap, "md"),
2808
2808
  withBreakpoints: (breakpointMap) => withBooleanProps(breakpointMap),
2809
2809
  withReverse: (reverseMap) => withBooleanProps(reverseMap),
2810
- withCentered: (centeredMap) => withBooleanProps(centeredMap),
2810
+ withItems: (itemsMap) => withBooleanProps(itemsMap),
2811
2811
  withHide: (hideMap) => withBooleanProps(hideMap),
2812
2812
  withPosition: (positionMap) => withBooleanProps(positionMap),
2813
2813
  withFontWeight: (fontWeight, settings) => withBooleanProps(fontWeight, undefined, settings),
@@ -2924,13 +2924,15 @@ const Chip = (props) => componentBuilder(props, "span", "rounded-full w-fit h-fi
2924
2924
  })
2925
2925
  .build();
2926
2926
 
2927
- const centeredClasses = {
2928
- centered: "items-center justify-center",
2929
- vCentered: "items-center",
2930
- hCentered: "justify-center"
2927
+ const itemsClasses = {
2928
+ itemsStart: "items-start",
2929
+ itemsEnd: "items-end",
2930
+ itemsCenter: "items-center",
2931
+ itemsBaseline: "items-baseline",
2932
+ itemsStretch: "items-stretch"
2931
2933
  };
2932
2934
  const Section = (props) => componentBuilder(props, "section", "w-full flex flex-col items-start")
2933
- .withCentered(centeredClasses)
2935
+ .withItems(itemsClasses)
2934
2936
  .withSizes({
2935
2937
  xs: "py-6 max-lg:py-4 max-md:py-2",
2936
2938
  sm: "py-8 max-lg:py-6 max-md:py-4",
@@ -2947,7 +2949,7 @@ const Section = (props) => componentBuilder(props, "section", "w-full flex flex-
2947
2949
  })
2948
2950
  .build();
2949
2951
  const Container = (props) => componentBuilder(props, "div", "flex flex-col mx-auto w-full")
2950
- .withCentered(centeredClasses)
2952
+ .withItems(itemsClasses)
2951
2953
  .withSizes({
2952
2954
  xs: "max-w-3xl gap-2 max-lg:gap-1",
2953
2955
  sm: "max-w-4xl gap-4 max-lg:gap-3 max-md:gap-2",
@@ -2968,14 +2970,14 @@ const Col = (props) => componentBuilder(props, "div", "flex flex-col")
2968
2970
  .withReverse({
2969
2971
  reverse: "flex-col-reverse"
2970
2972
  })
2971
- .withCentered(centeredClasses)
2973
+ .withItems(itemsClasses)
2972
2974
  .build();
2973
2975
  const Row = (props) => componentBuilder(props, "div", "flex flex-row")
2974
2976
  .withGaps({ noGap: "gap-0" }, commonGaps)
2975
2977
  .withReverse({
2976
2978
  reverse: "flex-row-reverse"
2977
2979
  })
2978
- .withCentered(centeredClasses)
2980
+ .withItems(itemsClasses)
2979
2981
  .withBreakpoints({
2980
2982
  xsCol: "max-xs:flex-col",
2981
2983
  smCol: "max-sm:flex-col",