@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.
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { Antd5DropdownProps } from "./Antd5Dropdown.type";
3
+ export declare const Antd5Dropdown: React.FC<Antd5DropdownProps>;
@@ -0,0 +1,2 @@
1
+ import { DropdownProps } from "antd5";
2
+ export type Antd5DropdownProps = DropdownProps;
@@ -0,0 +1,2 @@
1
+ export * from "./Antd5Dropdown";
2
+ export * from "./Antd5Dropdown.type";
@@ -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;
@@ -24,6 +24,7 @@ export type ModalProps = Omit<AntdModalProps, "okType"> & {
24
24
  children?: React.ReactNode;
25
25
  showCancel?: boolean;
26
26
  showOk?: boolean;
27
+ closeIcon?: React.ReactNode;
27
28
  wizard?: {
28
29
  step: number;
29
30
  onStepChange?: (step: number) => void;
@@ -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
- import React from "react";
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("antd/lib/input").InputProps & {
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
- export declare const NumberInput: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("antd/lib/input").InputProps & {
9
- error?: boolean | undefined;
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;