enr 1.0.1 → 1.0.2
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 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/type/components/ThemeContext/index.d.ts +1 -1
- package/type/components/button/button.d.ts +1 -1
- package/type/components/switch/index.d.ts +1 -1
- package/type/customHooks/useRipples/callback/reload-background.d.ts +4 -0
- package/type/customHooks/useRipples/ripplesClass.d.ts +0 -3
package/package.json
CHANGED
|
@@ -22,4 +22,4 @@ import { ThemeColorModeProviderProps, ThemeContextType } from './types';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare function useColorMode(): ThemeContextType;
|
|
24
24
|
/** */
|
|
25
|
-
export declare function ThemeColorModeProvider({ children, initialTheme }: ThemeColorModeProviderProps): import("react").JSX.Element;
|
|
25
|
+
export declare function ThemeColorModeProvider({ children, initialTheme }: ThemeColorModeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,4 +11,4 @@ import { HTMLAttributes } from 'react';
|
|
|
11
11
|
export declare function Switch({ value, change, children, ...props }: {
|
|
12
12
|
value: boolean;
|
|
13
13
|
change?: (e?: React.MouseEvent) => void;
|
|
14
|
-
} & HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
14
|
+
} & HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,7 +16,6 @@ import { FadeData } from './rippersData/fadeData';
|
|
|
16
16
|
* 魔改自大佬的[jQuey 代码](https://github.com/sirxemic/jquery.ripples)
|
|
17
17
|
*/
|
|
18
18
|
export declare class Ripples extends RipplesData {
|
|
19
|
-
#private;
|
|
20
19
|
/** 渲染数据 */
|
|
21
20
|
renderData: RipplesRenderData | null;
|
|
22
21
|
/** 使用参数 */
|
|
@@ -38,8 +37,6 @@ export declare class Ripples extends RipplesData {
|
|
|
38
37
|
* 缓进缓出
|
|
39
38
|
*/
|
|
40
39
|
fade(): void;
|
|
41
|
-
/** 元素的尺寸发生变化 */
|
|
42
|
-
reloadBackground(): void;
|
|
43
40
|
/** 销毁 */
|
|
44
41
|
destroy(): void;
|
|
45
42
|
/** 展示元素 */
|