@cloudtower/eagle 0.30.3 → 0.30.4
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/dist/cjs/core/Loading/index.js +23 -2
- package/dist/cjs/coreX/CircleLoading/index.js +66 -0
- package/dist/cjs/index.js +3 -0
- package/dist/cjs/stats1.html +1 -1
- package/dist/cjs/styles/token/animation.js +11 -1
- package/dist/components.css +3103 -3083
- package/dist/esm/core/Loading/index.js +22 -2
- package/dist/esm/coreX/CircleLoading/index.js +59 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/stats1.html +1 -1
- package/dist/esm/styles/token/animation.js +11 -2
- package/dist/src/core/Loading/loading.type.d.ts +2 -2
- package/dist/src/coreX/CircleLoading/index.d.ts +3 -0
- package/dist/src/coreX/index.d.ts +2 -0
- package/dist/src/styles/token/animation.d.ts +4 -0
- package/dist/stories/docs/core/Loading.stories.d.ts +2 -2
- package/dist/stories/docs/coreX/CircleLoading.stories.d.ts +20 -0
- package/dist/style.css +3055 -3036
- package/package.json +4 -4
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
const Animation = {
|
|
2
|
-
loading: "loading 1600ms ease-out infinite"
|
|
2
|
+
loading: "loading 1600ms ease-out infinite",
|
|
3
|
+
circleRotate: "rotate 1200ms cubic-bezier(0.33, 0, 0.67, 1) infinite"
|
|
4
|
+
};
|
|
5
|
+
const Keyframes = {
|
|
6
|
+
rotate: `
|
|
7
|
+
@keyframes rotate {
|
|
8
|
+
from { transform: rotate(0deg); }
|
|
9
|
+
to { transform: rotate(360deg); }
|
|
10
|
+
}
|
|
11
|
+
`
|
|
3
12
|
};
|
|
4
13
|
|
|
5
|
-
export { Animation };
|
|
14
|
+
export { Animation, Keyframes };
|
|
@@ -19,6 +19,7 @@ export * from "./SummaryTable";
|
|
|
19
19
|
export * from "./SwitchWithText";
|
|
20
20
|
export * from "./TabMenu";
|
|
21
21
|
export * from "./UnitWithChart";
|
|
22
|
+
export * from "./CircleLoading";
|
|
22
23
|
export { default as BarChart } from "./BarChart";
|
|
23
24
|
export { default as BatchOperation } from "./BatchOperation";
|
|
24
25
|
export { default as ChartWithTooltip } from "./ChartWithTooltip";
|
|
@@ -39,3 +40,4 @@ export { default as SummaryTable } from "./SummaryTable";
|
|
|
39
40
|
export { default as SwitchWithText } from "./SwitchWithText";
|
|
40
41
|
export { default as TabMenu } from "./TabMenu";
|
|
41
42
|
export { default as UnitWithChart } from "./UnitWithChart";
|
|
43
|
+
export { default as CircleLoading } from "./CircleLoading";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, React.HTMLAttributes<HTMLDivElement> & {
|
|
3
3
|
fullView?: boolean | undefined;
|
|
4
4
|
} & {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
}>;
|
|
7
7
|
export default _default;
|
|
8
|
-
export declare const Basic: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
8
|
+
export declare const Basic: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, React.HTMLAttributes<HTMLDivElement> & {
|
|
9
9
|
fullView?: boolean | undefined;
|
|
10
10
|
} & {
|
|
11
11
|
children?: React.ReactNode;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import CircleLoading from "../../../src/coreX/CircleLoading";
|
|
2
|
+
import { StoryObj } from "@storybook/react";
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* 目前应用场景:
|
|
6
|
+
* * arcfra 中取代三角 loading
|
|
7
|
+
*/
|
|
8
|
+
declare const _default: {
|
|
9
|
+
title: string;
|
|
10
|
+
component: import("../../../src").LoadingComponentType;
|
|
11
|
+
parameters: {
|
|
12
|
+
design: {
|
|
13
|
+
type: string;
|
|
14
|
+
url: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
type Story = StoryObj<typeof CircleLoading>;
|
|
20
|
+
export declare const Basic: Story;
|