ownui-system 0.1.4 → 0.1.5

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.
@@ -15,6 +15,7 @@ type SnackBarContextValue = {
15
15
  action?: SnackBarAction;
16
16
  type?: SnackBarType;
17
17
  delay: number;
18
+ zIndex: number;
18
19
  openSnackBar: (message: string, options?: SnackBarOptions) => void;
19
20
  closeSnackBar: () => void;
20
21
  resetSnackBar: () => void;
@@ -1,7 +1,6 @@
1
1
  import { type PropsWithChildren } from "react";
2
2
  type SnackBarAreaProps = {
3
- className?: string;
4
3
  zIndex?: number;
5
4
  } & PropsWithChildren;
6
- declare function SnackBarProvider({ children, className, zIndex, }: SnackBarAreaProps): import("react/jsx-runtime").JSX.Element;
5
+ declare function SnackBarProvider({ children, zIndex }: SnackBarAreaProps): import("react/jsx-runtime").JSX.Element;
7
6
  export default SnackBarProvider;
@@ -1,4 +1,4 @@
1
- export declare const baseStyle = "fixed z-[var(--zIndex)] flex items-center justify-center w-full h-full top-0 left-0 ";
1
+ export declare const baseStyle = "fixed z-[var(--zIndex)] flex items-center justify-center top-0 left-0 ";
2
2
  export declare const itemPositionStyle = "fixed left-[50%] bottom-10";
3
3
  export declare const itemStyle = "flex items-center justify-between gap-12 rounded-xl text-white w-fit min-w-[144px] h-14 bg-gray-950 opacity-95 shadow-[0px_4px_10px_0px_rgba(106,113,126,0.40)]";
4
4
  export declare const withActionStyle = "pl-8 pr-6";