globalfy-design-system 0.21.0 → 0.22.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.
@@ -1,2 +1,2 @@
1
1
  import { LogoProps } from ".";
2
- export declare function Logo({ variant }: LogoProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function Logo({ variant, className, short, width, height }: LogoProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,15 @@
1
- export type LogoProps = {
2
- variant?: "mobile" | "desktop";
3
- };
1
+ interface CommonProps {
2
+ variant?: "default" | "dark" | "light";
3
+ className?: string;
4
+ short?: boolean;
5
+ }
6
+ interface LogoWidthProps extends CommonProps {
7
+ width?: number;
8
+ height?: never;
9
+ }
10
+ interface LogoHeightProps extends CommonProps {
11
+ width?: never;
12
+ height?: number;
13
+ }
14
+ export type LogoProps = LogoWidthProps | LogoHeightProps;
15
+ export {};