@cloudwick/astral-ui 5.0.2 → 5.0.3
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/README.md +1 -1
- package/dist/components/progress/progressVariants.js +4 -1
- package/dist/components/progress/progressVariants.js.map +1 -1
- package/dist/css/index.min.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +2 -2
- package/dist/components/emptyState/emptyState.d.ts +0 -43
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudwick/astral-ui",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"description": "UI Library for Cloudwick",
|
|
5
5
|
"homepage": "https://www.astral-ui.amorphic.link/",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
@@ -146,4 +146,4 @@
|
|
|
146
146
|
},
|
|
147
147
|
"packageManager": "yarn@4.4.1",
|
|
148
148
|
"type": "module"
|
|
149
|
-
}
|
|
149
|
+
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { EmptyStateContent, type IEmptyStateContentProps } from "./emptyStateContent";
|
|
3
|
-
import { EmptyStateCTA, type IEmptyStateCTAProps } from "./emptyStateCta";
|
|
4
|
-
declare const lightSvgs: {
|
|
5
|
-
analytics: string;
|
|
6
|
-
dashboard: string;
|
|
7
|
-
"data-upload": string;
|
|
8
|
-
workspaces: string;
|
|
9
|
-
waiting: string;
|
|
10
|
-
otp: string;
|
|
11
|
-
searching: string;
|
|
12
|
-
notification: string;
|
|
13
|
-
"no-files": string;
|
|
14
|
-
"no-access": string;
|
|
15
|
-
"no-connections": string;
|
|
16
|
-
"forgot-password": string;
|
|
17
|
-
favorite: string;
|
|
18
|
-
login: string;
|
|
19
|
-
"file-upload": string;
|
|
20
|
-
"empty-data": string;
|
|
21
|
-
"empty-data-2": string;
|
|
22
|
-
"empty-data-3": string;
|
|
23
|
-
"empty-data-4": string;
|
|
24
|
-
datapipeline: string;
|
|
25
|
-
};
|
|
26
|
-
export interface IEmptyStateProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
27
|
-
/** Set a supported Empty State image variant */
|
|
28
|
-
imageVariant?: keyof typeof lightSvgs;
|
|
29
|
-
/** Alt text for the image (used only when there is no content) */
|
|
30
|
-
imageAltText?: string;
|
|
31
|
-
/** Custom image element, if provided it will override the variant images */
|
|
32
|
-
customImage?: React.ReactElement<HTMLImageElement>;
|
|
33
|
-
/** Override container styles */
|
|
34
|
-
className?: string;
|
|
35
|
-
/** Provide content and/or CTA children */
|
|
36
|
-
children?: React.ReactElement<IEmptyStateContentProps> | React.ReactElement<IEmptyStateCTAProps> | [React.ReactElement<IEmptyStateContentProps>, React.ReactElement<IEmptyStateCTAProps>];
|
|
37
|
-
}
|
|
38
|
-
type TEmptyStateComponent = React.ForwardRefExoticComponent<IEmptyStateProps & React.RefAttributes<HTMLDivElement>> & {
|
|
39
|
-
Content: typeof EmptyStateContent;
|
|
40
|
-
CTA: typeof EmptyStateCTA;
|
|
41
|
-
};
|
|
42
|
-
export declare const EmptyState: TEmptyStateComponent;
|
|
43
|
-
export {};
|