earthnut 1.0.1 → 1.0.3
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/layoutUtil.mjs +1 -1
- package/layoutUtil.mjs.map +1 -1
- package/package.json +1 -1
- package/server.mjs +1 -1
- package/server.mjs.map +1 -1
- package/styles/common.css +1 -1
- package/styles/common.scss +1 -0
- package/styles/loading-keyframes.scss +32 -33
- 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/buildBackground/default-background/circleDataList.d.ts +1 -1
- package/type/customHooks/useRipples/callback/reload-background.d.ts +4 -0
- package/type/customHooks/useRipples/ripplesClass.d.ts +0 -3
|
@@ -4,25 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
100%,
|
|
6
6
|
0% {
|
|
7
|
-
background-size:
|
|
8
|
-
10% 10%,
|
|
9
|
-
10% 10%,
|
|
10
|
-
10% 10%,
|
|
11
|
-
10% 10%;
|
|
12
|
-
background-position:
|
|
13
|
-
25% 45%,
|
|
14
|
-
41.7% 45%,
|
|
15
|
-
58.3% 45%,
|
|
16
|
-
75% 45%;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
20%,
|
|
20
|
-
80% {
|
|
21
7
|
background-size: 2.5% 2.5%;
|
|
22
8
|
background-position: 25% 45%;
|
|
23
9
|
}
|
|
24
10
|
|
|
25
|
-
|
|
11
|
+
3.258% {
|
|
26
12
|
background-size:
|
|
27
13
|
3.75% 3.75%,
|
|
28
14
|
2.5% 2.5%,
|
|
@@ -36,7 +22,7 @@
|
|
|
36
22
|
25% 45%;
|
|
37
23
|
}
|
|
38
24
|
|
|
39
|
-
|
|
25
|
+
6.516% {
|
|
40
26
|
background-size:
|
|
41
27
|
5% 5%,
|
|
42
28
|
2.5% 2.5%,
|
|
@@ -50,7 +36,7 @@
|
|
|
50
36
|
25% 45%;
|
|
51
37
|
}
|
|
52
38
|
|
|
53
|
-
|
|
39
|
+
9.774% {
|
|
54
40
|
background-size:
|
|
55
41
|
6.25% 6.25%,
|
|
56
42
|
2.5% 2.5%,
|
|
@@ -64,7 +50,7 @@
|
|
|
64
50
|
25% 45%;
|
|
65
51
|
}
|
|
66
52
|
|
|
67
|
-
|
|
53
|
+
13.032% {
|
|
68
54
|
background-size:
|
|
69
55
|
7.5% 7.5%,
|
|
70
56
|
3.75% 3.75%,
|
|
@@ -79,7 +65,7 @@
|
|
|
79
65
|
25% 45%;
|
|
80
66
|
}
|
|
81
67
|
|
|
82
|
-
|
|
68
|
+
16.29% {
|
|
83
69
|
background-size:
|
|
84
70
|
8.75% 8.75%,
|
|
85
71
|
5% 5%,
|
|
@@ -94,7 +80,7 @@
|
|
|
94
80
|
25% 45%;
|
|
95
81
|
}
|
|
96
82
|
|
|
97
|
-
|
|
83
|
+
19.548% {
|
|
98
84
|
background-size:
|
|
99
85
|
10% 10%,
|
|
100
86
|
6.25% 6.25%,
|
|
@@ -110,7 +96,7 @@
|
|
|
110
96
|
25% 45%;
|
|
111
97
|
}
|
|
112
98
|
|
|
113
|
-
|
|
99
|
+
22.806% {
|
|
114
100
|
background-size:
|
|
115
101
|
10% 10%,
|
|
116
102
|
7.5% 7.5%,
|
|
@@ -130,15 +116,28 @@
|
|
|
130
116
|
$Pi: 3.1415926;
|
|
131
117
|
|
|
132
118
|
@for $i from 18 through 33 {
|
|
133
|
-
#{calc($i /
|
|
134
|
-
background-position:
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
119
|
+
#{calc((($i - 10 )/ 31 ) * 100%)} {
|
|
120
|
+
background-position:
|
|
121
|
+
#{(50 - (25 * cos(($Pi * ($i - 10)) / 12))) *
|
|
122
|
+
1%}
|
|
123
|
+
#{(45 - 25 * sin(($Pi * ($i - 10)) / 12)) *
|
|
124
|
+
1%},
|
|
125
|
+
#{(50 - (25 * cos(($Pi * ($i - 13)) / 12))) *
|
|
126
|
+
1%}
|
|
127
|
+
#{(45 - 25 * sin(($Pi * ($i - 13)) / 12)) *
|
|
128
|
+
1%},
|
|
129
|
+
#{(50 - (25 * cos(($Pi * ($i - 15)) / 12))) *
|
|
130
|
+
1%}
|
|
131
|
+
#{(45 - 25 * sin(($Pi * ($i - 15)) / 12)) *
|
|
132
|
+
1%},
|
|
133
|
+
#{(50 - (25 * cos(($Pi * ($i - 17)) / 12))) *
|
|
134
|
+
1%}
|
|
135
|
+
#{(45 - 25 * sin(($Pi * ($i - 17)) / 12)) *
|
|
136
|
+
1%};
|
|
138
137
|
}
|
|
139
138
|
}
|
|
140
139
|
|
|
141
|
-
|
|
140
|
+
78.192% {
|
|
142
141
|
background-size:
|
|
143
142
|
10% 10%,
|
|
144
143
|
7.5% 7.5%,
|
|
@@ -155,7 +154,7 @@
|
|
|
155
154
|
48% 70%;
|
|
156
155
|
}
|
|
157
156
|
|
|
158
|
-
|
|
157
|
+
81.45% {
|
|
159
158
|
background-size:
|
|
160
159
|
8.75% 8.75%,
|
|
161
160
|
7.5% 7.5%,
|
|
@@ -172,7 +171,7 @@
|
|
|
172
171
|
43.53% 69.15%;
|
|
173
172
|
}
|
|
174
173
|
|
|
175
|
-
|
|
174
|
+
84.708% {
|
|
176
175
|
background-size:
|
|
177
176
|
7.5% 7.5%,
|
|
178
177
|
7.5% 7.5%,
|
|
@@ -189,7 +188,7 @@
|
|
|
189
188
|
37.45% 66.65%;
|
|
190
189
|
}
|
|
191
190
|
|
|
192
|
-
|
|
191
|
+
87.966% {
|
|
193
192
|
background-size:
|
|
194
193
|
6.25% 6.25%,
|
|
195
194
|
6.25% 6.25%,
|
|
@@ -206,7 +205,7 @@
|
|
|
206
205
|
32.32% 62.68%;
|
|
207
206
|
}
|
|
208
207
|
|
|
209
|
-
|
|
208
|
+
91.224% {
|
|
210
209
|
background-size:
|
|
211
210
|
5% 5%,
|
|
212
211
|
5% 5%,
|
|
@@ -223,7 +222,7 @@
|
|
|
223
222
|
28.35% 57.45%;
|
|
224
223
|
}
|
|
225
224
|
|
|
226
|
-
|
|
225
|
+
97.482% {
|
|
227
226
|
background-size:
|
|
228
227
|
3.75% 3.75%,
|
|
229
228
|
3.75% 3.75%,
|
|
@@ -239,4 +238,4 @@
|
|
|
239
238
|
// 位置 23
|
|
240
239
|
25.85% 51.47%;
|
|
241
240
|
}
|
|
242
|
-
}
|
|
241
|
+
}
|
|
@@ -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
|
/** 展示元素 */
|