earthnut 0.1.5 → 0.1.7-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/705/index.cjs +7 -0
- package/705/index.mjs +7 -0
- package/BackgroundRipple/index.cjs +7 -1
- package/BackgroundRipple/index.mjs +7 -1
- package/Layout/index.cjs +7 -1
- package/Layout/index.mjs +6 -0
- package/LazyBackgroundRipple/index.cjs +7 -0
- package/LazyBackgroundRipple/index.mjs +7 -0
- package/README.md +1 -1
- package/components/button/button.d.ts +6 -0
- package/components/button/index.d.ts +6 -0
- package/components/index.d.ts +11 -2
- package/components/layout/EnLayoutContent.d.ts +6 -0
- package/components/layout/content.d.ts +6 -0
- package/components/layout/footer.d.ts +6 -0
- package/components/layout/generate-class.d.ts +6 -0
- package/components/layout/get-value.d.ts +6 -0
- package/components/layout/header.d.ts +6 -0
- package/components/layout/index.d.ts +6 -0
- package/components/layout/layout.d.ts +6 -0
- package/components/layout/sideBar.d.ts +6 -0
- package/components/layout/types.d.ts +6 -0
- package/components/marquee/MarqueeEle.d.ts +6 -0
- package/components/marquee/index.d.ts +6 -0
- package/components/marquee/type.d.ts +6 -0
- package/components/menu/index.d.ts +6 -0
- package/components/menu/menu.d.ts +6 -0
- package/components/ripples/Content.d.ts +8 -0
- package/components/ripples/LazyRippleEle.d.ts +51 -0
- package/components/ripples/RipplesEle.d.ts +10 -2
- package/components/ripples/index.d.ts +7 -0
- package/components/ripples/types.d.ts +6 -0
- package/components/ripples/useOptionUpdate.d.ts +8 -2
- package/customHooks/index.d.ts +7 -0
- package/customHooks/useAnimationFrame.d.ts +6 -0
- package/customHooks/useInputIsComposing.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/create-background-color.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/create-linear-gradient.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/default-background/_createImageData.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/default-background/circleDataList.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/default-background/createCanvasElementBySize.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/default-background/createDefault.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/default-background/index.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/load-image.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/run-side.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/type.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/utils/bind-image.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/utils/create-canvas-element.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/utils/create-image-by-src.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/utils/get-background-style.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/utils/hide-css-background.d.ts +6 -0
- package/customHooks/useRipples/buildBackground/utils/restore-css-background.d.ts +6 -0
- package/customHooks/useRipples/callback/can-side.d.ts +6 -0
- package/customHooks/useRipples/callback/destroy.d.ts +6 -0
- package/customHooks/useRipples/callback/drop.d.ts +6 -0
- package/customHooks/useRipples/callback/extract-url.d.ts +6 -0
- package/customHooks/useRipples/callback/fade.d.ts +6 -0
- package/customHooks/useRipples/callback/get-new-image.d.ts +6 -0
- package/customHooks/useRipples/callback/reload-background.d.ts +6 -0
- package/customHooks/useRipples/callback/scale.d.ts +6 -0
- package/customHooks/useRipples/index.d.ts +8 -2
- package/customHooks/useRipples/init/index.d.ts +6 -0
- package/customHooks/useRipples/init/initEvent.d.ts +6 -0
- package/customHooks/useRipples/init/initShaders.d.ts +6 -0
- package/customHooks/useRipples/init/initTexture.d.ts +6 -0
- package/customHooks/useRipples/render/computeTextureBoundaries.d.ts +6 -0
- package/customHooks/useRipples/render/draw.d.ts +6 -0
- package/customHooks/useRipples/render/drawQuad.d.ts +6 -0
- package/customHooks/useRipples/render/dropAtPointer.d.ts +6 -0
- package/customHooks/useRipples/render/index.d.ts +6 -0
- package/customHooks/useRipples/render/swapBufferIndices.d.ts +6 -0
- package/customHooks/useRipples/render/update.d.ts +6 -0
- package/customHooks/useRipples/rippersData/defaultData.d.ts +6 -0
- package/customHooks/useRipples/rippersData/fadeData.d.ts +6 -0
- package/customHooks/useRipples/rippersData/index.d.ts +6 -0
- package/customHooks/useRipples/rippersData/loadConfig.d.ts +6 -0
- package/customHooks/useRipples/rippersData/renderData.d.ts +6 -0
- package/customHooks/useRipples/rippersData/useOptions.d.ts +6 -0
- package/customHooks/useRipples/rippersData/vertexSource.d.ts +6 -0
- package/customHooks/useRipples/ripple.html.d.ts +6 -0
- package/customHooks/useRipples/ripplesClass.d.ts +6 -0
- package/customHooks/useRipples/tools.d.ts +6 -0
- package/customHooks/useRipples/types.d.ts +8 -9
- package/customHooks/useRipples/use-lazy-ripple.d.ts +13 -0
- package/customHooks/useTimeId.d.ts +7 -1
- package/dog.d.ts +6 -0
- package/index.cjs +7 -1
- package/index.d.ts +8 -4
- package/index.mjs +7 -1
- package/package.json +16 -5
- package/useAnimationFrame/index.cjs +6 -0
- package/useAnimationFrame/index.mjs +6 -0
- package/useInputIsComposing/index.cjs +6 -0
- package/useInputIsComposing/index.mjs +6 -0
- package/useLazyRipples/index.cjs +7 -0
- package/useLazyRipples/index.mjs +7 -0
- package/useRipples/index.cjs +7 -1
- package/useRipples/index.mjs +7 -1
- package/useTimeId/index.cjs +7 -1
- package/useTimeId/index.mjs +7 -1
- package/index.js.LICENSE.txt +0 -79
package/useTimeId/index.cjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license MIT
|
|
3
|
+
* earthnut@useTimeId/index.cjs
|
|
4
|
+
* Copyright (c) 2025 earthnut.dev
|
|
5
|
+
* 请在项目根参看详细许可证明
|
|
6
|
+
*/
|
|
7
|
+
"use client";(()=>{"use strict";var e={953:e=>{e.exports=require("react")}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var u=r[o]={exports:{}};return e[o](u,u.exports,t),u.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};t.r(o),t.d(o,{useTimeId:()=>u});var n=t(953);function u(){var e=(0,n.useRef)(void 0);return(0,n.useEffect)(function(){return function(){return e.current&&clearTimeout(e.current)}},[]),e}module.exports.earthnut=o})();
|
package/useTimeId/index.mjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license MIT
|
|
3
|
+
* earthnut@useTimeId/index.mjs
|
|
4
|
+
* Copyright (c) 2025 earthnut.dev
|
|
5
|
+
* 请在项目根参看详细许可证明
|
|
6
|
+
*/
|
|
7
|
+
"use client";import*as e from"react";var r={649:(r,t,o)=>{r.exports=(e=>{var r={};return o.d(r,e),r})({useEffect:()=>e.useEffect,useRef:()=>e.useRef})}},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var u=t[e]={exports:{}};return r[e](u,u.exports,o),u.exports}o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var n={};o.d(n,{O:()=>f});var u=o(649);function f(){var e=(0,u.useRef)(void 0);return(0,u.useEffect)(function(){return function(){return e.current&&clearTimeout(e.current)}},[]),e}const s=n.O;export{s as useTimeId};
|
package/index.js.LICENSE.txt
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `input` 类型收缩
|
|
3
|
-
*
|
|
4
|
-
* @packageDocumentation
|
|
5
|
-
* @module @a-type-of-js/isType
|
|
6
|
-
* @license MIT
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* 检测 Javascript 数据类型工具之: array
|
|
11
|
-
*
|
|
12
|
-
* @packageDocumentation
|
|
13
|
-
* @module @a-type-of-js/array
|
|
14
|
-
* @license MIT
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 检测 Javascript 数据类型工具之: boolean
|
|
19
|
-
*
|
|
20
|
-
* @packageDocumentation
|
|
21
|
-
* @module @a-type-of-js/boolean
|
|
22
|
-
* @license MIT
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* 检测 Javascript 数据类型工具之: null
|
|
27
|
-
*
|
|
28
|
-
* @packageDocumentation
|
|
29
|
-
* @module @a-type-of-js/null
|
|
30
|
-
* @license MIT
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* 检测 Javascript 数据类型工具之: number
|
|
35
|
-
*
|
|
36
|
-
* @packageDocumentation
|
|
37
|
-
* @module @a-type-of-js/number
|
|
38
|
-
* @license MIT
|
|
39
|
-
*/
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* 检测 Javascript 数据类型工具之: object
|
|
43
|
-
*
|
|
44
|
-
* @packageDocumentation
|
|
45
|
-
* @module @a-type-of-js/object
|
|
46
|
-
* @license MIT
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* 检测 Javascript 数据类型工具之: string
|
|
51
|
-
*
|
|
52
|
-
* @packageDocumentation
|
|
53
|
-
* @module @a-type-of-js/string
|
|
54
|
-
* @license MIT
|
|
55
|
-
*/
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* 获取随机字符串
|
|
59
|
-
*
|
|
60
|
-
* @packageDocumentation
|
|
61
|
-
* @module @a-js-tools/get-random-string
|
|
62
|
-
* @license MIT
|
|
63
|
-
*/
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* 过去随机数
|
|
67
|
-
*
|
|
68
|
-
* @packageDocumentation
|
|
69
|
-
* @module @a-js-tools/get-random-number
|
|
70
|
-
* @license MIT
|
|
71
|
-
*/
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* 防抖和节流
|
|
75
|
-
*
|
|
76
|
-
* @packageDocumentation
|
|
77
|
-
* @module @a-js-tools/performance
|
|
78
|
-
* @license MIT
|
|
79
|
-
*/
|