@luscii-healthtech/web-ui 2.8.0 → 2.9.0

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.
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { FlexContainerProps } from "./types/FlexContainerProps.type";
3
+ /**
4
+ * Container to be used for layouting instead of divs around the project.
5
+ * The spacing here has been coded according to our guidelines.
6
+ */
7
+ export declare const FlexColumn: React.FC<FlexContainerProps>;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { FlexContainerBaseProps } from "./types/FlexContainerProps.type";
3
+ /**
4
+ * Container to be used for layouting instead of divs around the project.
5
+ * The spacing here has been coded according to our guidelines.
6
+ */
7
+ export declare const FlexContainer: React.FC<FlexContainerBaseProps & {
8
+ type: "column" | "row";
9
+ }>;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { FlexContainerProps } from "./types/FlexContainerProps.type";
3
+ /**
4
+ * Container to be used for layouting instead of divs around the project.
5
+ * The spacing here has been coded according to our guidelines.
6
+ */
7
+ export declare const FlexRow: React.FC<FlexContainerProps>;
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ declare type FlexContainerBase = {
3
+ alignItems?: "center" | "start" | "end";
4
+ justifyContent?: "center" | "start" | "end" | "between";
5
+ verticallySpaced?: boolean;
6
+ horitontallySpaced?: boolean;
7
+ hasPadding?: boolean;
8
+ };
9
+ export declare type FlexContainerBaseProps = FlexContainerBase & {
10
+ children: React.ReactNode;
11
+ };
12
+ export declare type FlexContainerProps = Omit<FlexContainerBaseProps, "verticallySpaced" | "horitontallySpaced"> & {
13
+ spaced?: boolean;
14
+ };
15
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ export { FlexColumn } from "./components/Container/FlexColumn";
2
+ export { FlexRow } from "./components/Container/FlexRow";
3
+ export type { FlexContainerProps } from "./components/Container/types/FlexContainerProps.type";
1
4
  export { default as Toaster, TOASTER_TYPE_OPTIONS, } from "./components/Toaster/Toaster";
2
5
  export { toast } from "./components/Toaster/toast";
3
6
  export { default as Avatar } from "./components/Avatar/Avatar";
@@ -1139,6 +1139,10 @@ video {
1139
1139
  align-items: flex-start;
1140
1140
  }
1141
1141
 
1142
+ .items-end {
1143
+ align-items: flex-end;
1144
+ }
1145
+
1142
1146
  .items-center {
1143
1147
  align-items: center;
1144
1148
  }