earthnut 1.1.0 → 1.1.2-alpha.0
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/client.mjs +1 -2
- package/index.mjs +33 -2
- package/layoutUtil.mjs +1 -2
- package/package.json +42 -17
- package/server.mjs +1 -2
- package/styles/common.css.d.ts +3 -0
- package/styles/common.scss.d.ts +3 -0
- package/styles/flex.scss.d.ts +3 -0
- package/styles/header.scss.d.ts +3 -0
- package/styles/image.scss.d.ts +3 -0
- package/styles/input.scss.d.ts +3 -0
- package/styles/loading-keyframes.scss.d.ts +3 -0
- package/styles/reset.css.d.ts +3 -0
- package/styles/reset.scss.d.ts +3 -0
- package/styles/respond.scss.d.ts +3 -0
- package/styles/root-normal-dark.scss.d.ts +3 -0
- package/styles/root-normal-light.scss.d.ts +3 -0
- package/styles/root-weird-dark.scss.d.ts +3 -0
- package/styles/root.scss.d.ts +3 -0
- package/styles/text.scss.d.ts +3 -0
- package/styles/vars-color.scss.d.ts +3 -0
- package/styles/vars-size.scss.d.ts +3 -0
- package/type/components/Details/index.d.ts +3 -1
- package/type/index.d.ts +3 -2
- package/client.mjs.map +0 -1
- package/layoutUtil.mjs.map +0 -1
- package/server.mjs.map +0 -1
|
@@ -7,12 +7,14 @@
|
|
|
7
7
|
export type DetailsProps = {
|
|
8
8
|
title?: string;
|
|
9
9
|
children: React.ReactNode;
|
|
10
|
+
open?: boolean;
|
|
10
11
|
};
|
|
11
12
|
/**
|
|
12
13
|
*
|
|
13
14
|
* @param DetailsProps
|
|
15
|
+
* @param DetailsProps.open 是否默认展开
|
|
14
16
|
* @param DetailsProps.children 子组件
|
|
15
17
|
* @param DetailsProps.title 标题
|
|
16
18
|
* @returns
|
|
17
19
|
*/
|
|
18
|
-
export declare function Details({ title, children }: DetailsProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function Details({ title, children, open }: DetailsProps): import("react/jsx-runtime").JSX.Element;
|
package/type/index.d.ts
CHANGED
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
* Copyright (c) 2025 earthnut.dev
|
|
5
5
|
* 请在项目根参看详细许可证明
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export { useLazyRipples, BackgroundRipple, LazyBackgroundRipple, useTimeId, useInputIsComposing, useRipples, Image, EnImage, useColorMode, ThemeColorModeProvider, Switch, EnSwitch, Details, EnDetails, } from './index.client';
|
|
8
|
+
export type { UseAnimationFrameResult, AnimationFrameOption, Ripples, BackgroundRipplesProps, RipplesOptions, RippleImgUrl, LayoutProps, LayoutSideBarProps, LayoutHeaderProps, LayoutFooterProps, EnImageProps, ColorMode, ThemeContextType, ThemeColorModeProviderProps, } from './index.client';
|
|
9
|
+
export { Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSideBar, EnLayout, EnLayoutContent, EnLayoutFooter, EnLayoutHeader, EnLayoutSideBar, _en, en, enc, } from './index.server';
|