globalfy-design-system 0.122.0 → 1.0.2

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/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ Proprietary License
2
+
3
+ Globalfy Design System
4
+
5
+ Copyright (c) 2024 Globalfy
6
+
7
+ All rights reserved.
8
+
9
+ This software and associated documentation files (the "Software") are the proprietary and confidential information of Globalfy and may not be copied, modified, or distributed without express permission. Unauthorized use of the Software is strictly prohibited.
@@ -1,3 +1,9 @@
1
- import { AvatarProps } from './Avatar.types';
2
-
1
+ export type AvatarProps = {
2
+ size?: "sm" | "md" | "lg" | "xs";
3
+ image?: string;
4
+ label?: string;
5
+ border?: boolean;
6
+ className?: string;
7
+ "data-testid"?: string;
8
+ };
3
9
  export declare const Avatar: ({ size, className, border, image, label, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,10 +2,13 @@ import { StoryObj } from '@storybook/react';
2
2
 
3
3
  declare const meta: {
4
4
  title: string;
5
- component: ({ size, className, border, image, label, ...props }: import('./Avatar.types').AvatarProps) => import("react/jsx-runtime").JSX.Element;
5
+ component: ({ size, className, border, image, label, ...props }: import('./Avatar').AvatarProps) => import("react/jsx-runtime").JSX.Element;
6
6
  tags: string[];
7
7
  };
8
8
  export default meta;
9
9
  type Story = StoryObj<typeof meta>;
10
10
  export declare const Playground: Story;
11
11
  export declare const Sizes: () => import("react/jsx-runtime").JSX.Element;
12
+ export declare const NoImageOrLabel: Story;
13
+ export declare const OnlyLabel: Story;
14
+ export declare const ImageAndLabel: Story;
@@ -1,2 +1 @@
1
1
  export * from './Avatar';
2
- export * from './Avatar.types';