@cloudtower/eagle 0.27.87 → 0.27.89
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/stats1.html +1 -1
- package/dist/components.css +2054 -1743
- package/dist/esm/stats1.html +1 -1
- package/dist/src/core/Avatar/avatar.type.d.ts +7 -0
- package/dist/src/core/Avatar/index.d.ts +4 -0
- package/dist/src/core/Nav/index.d.ts +4 -0
- package/dist/src/core/Nav/nav.type.d.ts +17 -0
- package/dist/src/core/Nav/style.d.ts +3 -0
- package/dist/src/core/index.d.ts +2 -0
- package/dist/stories/docs/core/Avatar.stories.d.ts +9 -0
- package/dist/stories/docs/core/Nav.stories.d.ts +9 -0
- package/dist/style.css +1713 -1447
- package/package.json +4 -4
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type NavProps = {
|
|
3
|
+
/**
|
|
4
|
+
* 导航栏左侧区域
|
|
5
|
+
*/
|
|
6
|
+
left?: React.ReactNode[];
|
|
7
|
+
/**
|
|
8
|
+
* 导航栏右侧区域
|
|
9
|
+
*/
|
|
10
|
+
right?: React.ReactNode[];
|
|
11
|
+
/**
|
|
12
|
+
* 导航栏中央区域
|
|
13
|
+
*/
|
|
14
|
+
center?: React.ReactNode[];
|
|
15
|
+
isScrolled?: boolean;
|
|
16
|
+
navRef?: React.RefObject<HTMLHeadElement>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Header: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement> & Record<never, unknown>>;
|
|
3
|
+
export declare const NavCenterStyle: import("@linaria/core").LinariaClassName;
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -82,6 +82,8 @@ export * from "./Tooltip";
|
|
|
82
82
|
export * from "./Truncate";
|
|
83
83
|
export * from "./Typo";
|
|
84
84
|
export * from "./Units";
|
|
85
|
+
export * from "./Avatar";
|
|
86
|
+
export * from "./Nav";
|
|
85
87
|
export declare const units: {
|
|
86
88
|
Percent: import("./Units").PercentFn;
|
|
87
89
|
Byte: import("./Units").UnitFn;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Nav from "../../../src/core/Nav";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Nav>;
|
|
6
|
+
/**
|
|
7
|
+
* 导航栏分为三个区域,可以通过 left、right、center 来进行对应的设置
|
|
8
|
+
*/
|
|
9
|
+
export declare const Basic: Story;
|