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.
@@ -0,0 +1,3 @@
1
+ declare const styles: { [key: string]: string };
2
+
3
+
@@ -0,0 +1,3 @@
1
+ declare const styles: { [key: string]: string };
2
+
3
+
@@ -0,0 +1,3 @@
1
+ declare const styles: { [key: string]: string };
2
+
3
+
@@ -0,0 +1,3 @@
1
+ declare const styles: { [key: string]: string };
2
+
3
+
@@ -0,0 +1,3 @@
1
+ declare const styles: { [key: string]: string };
2
+
3
+
@@ -0,0 +1,3 @@
1
+ declare const styles: { [key: string]: string };
2
+
3
+
@@ -0,0 +1,3 @@
1
+ declare const styles: { [key: string]: string };
2
+
3
+
@@ -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 * from './index.client';
8
- export * from './index.server';
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';