enr 1.0.2 → 1.1.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 -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/Details/index.d.ts +18 -0
- package/type/customHooks/useRipples/buildBackground/default-background/circleDataList.d.ts +1 -1
- package/type/index.client.d.ts +1 -0
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license MIT
|
|
3
|
+
* enr@type/components/Details/index.d.ts
|
|
4
|
+
* Copyright (c) 2025 earthnut.dev
|
|
5
|
+
* 请在项目根参看详细许可证明
|
|
6
|
+
*/
|
|
7
|
+
export type DetailsProps = {
|
|
8
|
+
title?: string;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param DetailsProps
|
|
14
|
+
* @param DetailsProps.children 子组件
|
|
15
|
+
* @param DetailsProps.title 标题
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
18
|
+
export declare function Details({ title, children }: DetailsProps): import("react/jsx-runtime").JSX.Element;
|
package/type/index.client.d.ts
CHANGED
|
@@ -18,3 +18,4 @@ export type { EnImageProps } from './components/image';
|
|
|
18
18
|
export { useColorMode, ThemeColorModeProvider } from './components/ThemeContext';
|
|
19
19
|
export type { ColorMode, ThemeContextType, ThemeColorModeProviderProps, } from './components/ThemeContext/types';
|
|
20
20
|
export { Switch, Switch as EnSwitch } from './components/switch';
|
|
21
|
+
export { Details, Details as EnDetails } from './components/Details';
|