@vaneui/ui 0.0.11 → 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/index.js CHANGED
@@ -2809,7 +2809,7 @@ function componentBuilder(baseProps, defaultTag, baseClasses) {
2809
2809
  withSizes: (sizeMap) => withBooleanProps(sizeMap, "md"),
2810
2810
  withBreakpoints: (breakpointMap) => withBooleanProps(breakpointMap),
2811
2811
  withReverse: (reverseMap) => withBooleanProps(reverseMap),
2812
- withCentered: (centeredMap) => withBooleanProps(centeredMap),
2812
+ withItems: (itemsMap) => withBooleanProps(itemsMap),
2813
2813
  withHide: (hideMap) => withBooleanProps(hideMap),
2814
2814
  withPosition: (positionMap) => withBooleanProps(positionMap),
2815
2815
  withFontWeight: (fontWeight, settings) => withBooleanProps(fontWeight, undefined, settings),
@@ -2926,13 +2926,15 @@ const Chip = (props) => componentBuilder(props, "span", "rounded-full w-fit h-fi
2926
2926
  })
2927
2927
  .build();
2928
2928
 
2929
- const centeredClasses = {
2930
- centered: "items-center justify-center",
2931
- vCentered: "items-center",
2932
- hCentered: "justify-center"
2929
+ const itemsClasses = {
2930
+ itemsStart: "items-start",
2931
+ itemsEnd: "items-end",
2932
+ itemsCenter: "items-center",
2933
+ itemsBaseline: "items-baseline",
2934
+ itemsStretch: "items-stretch"
2933
2935
  };
2934
2936
  const Section = (props) => componentBuilder(props, "section", "w-full flex flex-col items-start")
2935
- .withCentered(centeredClasses)
2937
+ .withItems(itemsClasses)
2936
2938
  .withSizes({
2937
2939
  xs: "py-6 max-lg:py-4 max-md:py-2",
2938
2940
  sm: "py-8 max-lg:py-6 max-md:py-4",
@@ -2949,7 +2951,7 @@ const Section = (props) => componentBuilder(props, "section", "w-full flex flex-
2949
2951
  })
2950
2952
  .build();
2951
2953
  const Container = (props) => componentBuilder(props, "div", "flex flex-col mx-auto w-full")
2952
- .withCentered(centeredClasses)
2954
+ .withItems(itemsClasses)
2953
2955
  .withSizes({
2954
2956
  xs: "max-w-3xl gap-2 max-lg:gap-1",
2955
2957
  sm: "max-w-4xl gap-4 max-lg:gap-3 max-md:gap-2",
@@ -2970,14 +2972,14 @@ const Col = (props) => componentBuilder(props, "div", "flex flex-col")
2970
2972
  .withReverse({
2971
2973
  reverse: "flex-col-reverse"
2972
2974
  })
2973
- .withCentered(centeredClasses)
2975
+ .withItems(itemsClasses)
2974
2976
  .build();
2975
2977
  const Row = (props) => componentBuilder(props, "div", "flex flex-row")
2976
2978
  .withGaps({ noGap: "gap-0" }, commonGaps)
2977
2979
  .withReverse({
2978
2980
  reverse: "flex-row-reverse"
2979
2981
  })
2980
- .withCentered(centeredClasses)
2982
+ .withItems(itemsClasses)
2981
2983
  .withBreakpoints({
2982
2984
  xsCol: "max-xs:flex-col",
2983
2985
  smCol: "max-sm:flex-col",