@cloudtower/eagle 0.28.9 → 0.28.11
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/Antd5Anchor/index.js +30 -0
- package/dist/cjs/core/index.js +24 -24
- package/dist/cjs/index.js +250 -248
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +1659 -1658
- package/dist/esm/core/Antd5Anchor/index.js +24 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/stats1.html +1 -1
- package/dist/src/core/Antd5Anchor/Antd5Anchor.type.d.ts +7 -0
- package/dist/src/core/Antd5Anchor/index.d.ts +4 -0
- package/dist/src/core/index.d.ts +2 -0
- package/dist/stories/docs/core/Antd5Anchor.stories.d.ts +13 -0
- package/dist/style.css +1633 -1633
- package/package.json +4 -4
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AnchorLinkProps, AnchorProps } from "antd5";
|
|
2
|
+
import { FC } from "react";
|
|
3
|
+
export type Antd5AnchorComponentType = FC<AnchorProps> & {
|
|
4
|
+
Link: FC<AnchorLinkProps>;
|
|
5
|
+
};
|
|
6
|
+
export type Antd5AnchorProps = AnchorProps;
|
|
7
|
+
export type Antd5AnchorLinkProps = AnchorLinkProps;
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AccordionCard";
|
|
2
2
|
export * from "./Alert";
|
|
3
|
+
export * from "./Antd5Anchor";
|
|
3
4
|
export * from "./Antd5Dropdown";
|
|
4
5
|
export * from "./Arch";
|
|
5
6
|
export * from "./Badge";
|
|
@@ -97,6 +98,7 @@ export declare const units: {
|
|
|
97
98
|
export { units as Units };
|
|
98
99
|
export { default as AccordionCard } from "./AccordionCard";
|
|
99
100
|
export { default as Alert } from "./Alert";
|
|
101
|
+
export { default as Antd5Anchor } from "./Antd5Anchor";
|
|
100
102
|
export { default as Arch } from "./Arch";
|
|
101
103
|
export { default as Avatar } from "./Avatar";
|
|
102
104
|
export { default as Badge } from "./Badge";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Antd5AnchorProps } from "../../../src/core";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
import React from "react";
|
|
4
|
+
type Story = StoryObj<React.FC<Antd5AnchorProps>>;
|
|
5
|
+
/**
|
|
6
|
+
* Antd5Anchor 是 antd5 的 Anchor 组件。
|
|
7
|
+
*
|
|
8
|
+
* 详细用法参考:https://ant.design/components/anchor-cn
|
|
9
|
+
* API 保持一致
|
|
10
|
+
*/
|
|
11
|
+
declare const meta: Meta<React.FC<Antd5AnchorProps>>;
|
|
12
|
+
export default meta;
|
|
13
|
+
export declare const Basic: Story;
|