@cloudtower/eagle 0.27.89 → 0.27.91
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/Antd5Dropdown/Antd5Dropdown.js +30 -0
- package/dist/cjs/core/InputPassword/index.js +72 -0
- package/dist/cjs/core/Modal/index.js +5 -3
- package/dist/cjs/core/index.js +9 -9
- package/dist/cjs/index.js +180 -175
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +2235 -2227
- package/dist/esm/core/Antd5Dropdown/Antd5Dropdown.js +24 -0
- package/dist/esm/core/InputPassword/index.js +62 -0
- package/dist/esm/core/Modal/index.js +5 -3
- package/dist/esm/index.js +2 -0
- package/dist/esm/stats1.html +1 -1
- package/dist/src/core/Antd5Dropdown/Antd5Dropdown.d.ts +3 -0
- package/dist/src/core/Antd5Dropdown/Antd5Dropdown.type.d.ts +2 -0
- package/dist/src/core/Antd5Dropdown/index.d.ts +2 -0
- package/dist/src/core/InputPassword/index.d.ts +10 -0
- package/dist/src/core/Modal/modal.type.d.ts +1 -0
- package/dist/src/core/index.d.ts +3 -0
- package/dist/stories/docs/core/Antd5Dropdown.stories.d.ts +12 -0
- package/dist/stories/docs/core/Input.simple.stories.d.ts +8 -10
- package/dist/stories/docs/core/InputPassword.stories.d.ts +20 -0
- package/dist/style.css +2084 -2077
- package/package.json +4 -4
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PasswordProps } from "antd/lib/input";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export declare const AntdPasswordInputStyled: import("@linaria/react").StyledMeta & React.ForwardRefExoticComponent<PasswordProps & React.RefAttributes<unknown>>;
|
|
4
|
+
declare const InputPassword: React.FC<PasswordProps & {
|
|
5
|
+
/**
|
|
6
|
+
* 使用变量控制是否显示 error 效果
|
|
7
|
+
*/
|
|
8
|
+
error?: boolean;
|
|
9
|
+
}>;
|
|
10
|
+
export default InputPassword;
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from "./Input";
|
|
|
34
34
|
export * from "./InputGroup";
|
|
35
35
|
export * from "./InputInteger";
|
|
36
36
|
export * from "./InputNumber";
|
|
37
|
+
export * from "./InputPassword";
|
|
37
38
|
export * from "./InputTagItem";
|
|
38
39
|
export * from "./KitStoreProvider";
|
|
39
40
|
export * from "./Link";
|
|
@@ -84,6 +85,7 @@ export * from "./Typo";
|
|
|
84
85
|
export * from "./Units";
|
|
85
86
|
export * from "./Avatar";
|
|
86
87
|
export * from "./Nav";
|
|
88
|
+
export * from "./Antd5Dropdown";
|
|
87
89
|
export declare const units: {
|
|
88
90
|
Percent: import("./Units").PercentFn;
|
|
89
91
|
Byte: import("./Units").UnitFn;
|
|
@@ -127,6 +129,7 @@ export { default as Input } from "./Input";
|
|
|
127
129
|
export { default as InputGroup } from "./InputGroup";
|
|
128
130
|
export { default as InputInteger } from "./InputInteger";
|
|
129
131
|
export { default as InputNumber } from "./InputNumber";
|
|
132
|
+
export { default as InputPassword } from "./InputPassword";
|
|
130
133
|
export { default as InputTagItem } from "./InputTagItem";
|
|
131
134
|
export { default as KitStoreProvider } from "./KitStoreProvider";
|
|
132
135
|
export { default as Link } from "./Link";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Antd5DropdownProps } from "../../../src/core";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
import React from "react";
|
|
4
|
+
type Story = StoryObj<React.FC<Antd5DropdownProps>>;
|
|
5
|
+
/**
|
|
6
|
+
* 本Dropdown是 antd5 的 Dropdown 组件。
|
|
7
|
+
*
|
|
8
|
+
* 详细用法参考:https://ant.design/components/dropdown-cn
|
|
9
|
+
*/
|
|
10
|
+
declare const meta: Meta<React.FC<Antd5DropdownProps>>;
|
|
11
|
+
export default meta;
|
|
12
|
+
export declare const Basic: Story;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import Input from "../../../src/core/Input";
|
|
3
|
+
import { CoreMeta } from "../../types";
|
|
4
|
+
import { StoryObj } from "@storybook/react";
|
|
5
|
+
declare const _default: CoreMeta<import("react").FC<import("antd/lib/input").InputProps & {
|
|
3
6
|
error?: boolean | undefined;
|
|
4
|
-
}
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
}>;
|
|
7
|
+
}>>;
|
|
7
8
|
export default _default;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} & {
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}>;
|
|
9
|
+
type Story = StoryObj<typeof Input>;
|
|
10
|
+
export declare const NumberInput: Story;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import InputPassword from "../../../src/core/InputPassword";
|
|
3
|
+
import { StoryObj } from "@storybook/react";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
component: import("react").FC<import("antd/lib/input").PasswordProps & {
|
|
6
|
+
error?: boolean | undefined;
|
|
7
|
+
}>;
|
|
8
|
+
title: "Core/InputPassword | 密码输入";
|
|
9
|
+
parameters: {
|
|
10
|
+
design: {
|
|
11
|
+
type: string;
|
|
12
|
+
url: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof InputPassword>;
|
|
18
|
+
export declare const SmallSize: Story;
|
|
19
|
+
export declare const MiddleSize: Story;
|
|
20
|
+
export declare const LargeSize: Story;
|