globalfy-design-system 1.7.0 → 1.8.1

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,10 @@
1
+ /// <reference types="react" />
2
+ export type ErrorStateProps = {
3
+ icon?: React.ReactElement;
4
+ title?: string;
5
+ subtitle?: string;
6
+ onClick?: () => void;
7
+ buttonText?: string;
8
+ buttonIcon?: React.ReactElement;
9
+ };
10
+ export declare const ErrorState: ({ icon, title, subtitle, onClick, buttonText, buttonIcon }: ErrorStateProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { ErrorStateProps } from './error-state';
2
+ import { StoryObj } from '@storybook/react';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: ({ icon, title, subtitle, onClick, buttonText, buttonIcon }: ErrorStateProps) => import("react/jsx-runtime").JSX.Element;
7
+ tags: string[];
8
+ };
9
+ export default meta;
10
+ type Story = StoryObj<typeof meta>;
11
+ export declare const Playground: Story;
12
+ export declare const WithIcon: Story;
13
+ export declare const ServerConnectionError: Story;
14
+ export declare const SomethingWentWrong: Story;
15
+ export declare const PageNotFound: Story;
@@ -0,0 +1 @@
1
+ export * from './error-state';
@@ -1 +1,2 @@
1
1
  export * from './DatePickerInput';
2
+ export * from './error-state';