@vincentgraul/react-components 1.0.66 → 1.0.67
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/flex/flex.d.ts +2 -1
- package/dist/react-components.js +12 -10
- package/package.json +1 -1
package/dist/flex/flex.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type FlexProps = {
|
|
|
4
4
|
direction?: "row" | "column";
|
|
5
5
|
justifyContent?: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly" | "stretch";
|
|
6
6
|
alignItems?: "start" | "center" | "end" | "stretch";
|
|
7
|
+
alignSelf?: "start" | "center" | "end" | "stretch";
|
|
7
8
|
wrap?: "nowrap" | "wrap" | "wrap-reverse";
|
|
8
9
|
width?: number;
|
|
9
10
|
height?: number;
|
|
@@ -11,4 +12,4 @@ export type FlexProps = {
|
|
|
11
12
|
gap?: number;
|
|
12
13
|
className?: string;
|
|
13
14
|
};
|
|
14
|
-
export declare const Flex: ({ className, children, direction, justifyContent, alignItems, wrap, width, height, padding, gap, }: FlexProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const Flex: ({ className, children, direction, justifyContent, alignItems, alignSelf, wrap, width, height, padding, gap, }: FlexProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/react-components.js
CHANGED
|
@@ -48861,24 +48861,26 @@ const ID = ({
|
|
|
48861
48861
|
direction: g,
|
|
48862
48862
|
justifyContent: y,
|
|
48863
48863
|
alignItems: w,
|
|
48864
|
-
|
|
48865
|
-
|
|
48866
|
-
|
|
48867
|
-
|
|
48868
|
-
|
|
48864
|
+
alignSelf: R,
|
|
48865
|
+
wrap: F,
|
|
48866
|
+
width: x,
|
|
48867
|
+
height: C,
|
|
48868
|
+
padding: H,
|
|
48869
|
+
gap: B
|
|
48869
48870
|
}) => /* @__PURE__ */ c(
|
|
48870
48871
|
"div",
|
|
48871
48872
|
{
|
|
48872
48873
|
className: O8(BD.container, r),
|
|
48873
48874
|
style: {
|
|
48874
|
-
width: `${
|
|
48875
|
-
height:
|
|
48875
|
+
width: `${x ?? 100}%`,
|
|
48876
|
+
height: C !== void 0 ? `${C}rem` : "auto",
|
|
48876
48877
|
flexDirection: g,
|
|
48877
48878
|
justifyContent: y,
|
|
48878
48879
|
alignItems: w,
|
|
48879
|
-
|
|
48880
|
-
|
|
48881
|
-
|
|
48880
|
+
alignSelf: R,
|
|
48881
|
+
flexWrap: F,
|
|
48882
|
+
padding: H,
|
|
48883
|
+
gap: `${B ?? 0}rem`
|
|
48882
48884
|
},
|
|
48883
48885
|
children: d
|
|
48884
48886
|
}
|