@zyzgroup/core-web 0.1.11 → 0.1.13
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/dist/better.css +0 -8
- package/dist/theme.css +26 -0
- package/dist/zyzgroup_core_web.iife.js +21 -23
- package/dist/zyzgroup_core_web.iife.js.map +1 -1
- package/dist/zyzgroup_core_web.js +8762 -6751
- package/dist/zyzgroup_core_web.js.map +1 -1
- package/dist/zyzgroup_core_web.umd.cjs +21 -23
- package/dist/zyzgroup_core_web.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/types/color.d.ts +114 -0
- package/types/color.d.ts.map +1 -0
- package/types/hooks/index.d.ts +4 -2
- package/types/hooks/index.d.ts.map +1 -1
- package/types/hooks/onDocumentReady.d.ts +3 -0
- package/types/hooks/onDocumentReady.d.ts.map +1 -0
- package/types/hooks/useElement.d.ts +1 -1
- package/types/hooks/useElement.d.ts.map +1 -1
- package/types/hooks/useElementEventBus.d.ts +1 -1
- package/types/hooks/useElementEventBus.d.ts.map +1 -1
- package/types/hooks/useEventListener.d.ts +1 -1
- package/types/hooks/useEventListener.d.ts.map +1 -1
- package/types/hooks/useFeRouteChange.d.ts +9 -0
- package/types/hooks/useFeRouteChange.d.ts.map +1 -0
- package/types/hooks/useHotKey.d.ts +1 -1
- package/types/hooks/useHotKey.d.ts.map +1 -1
- package/types/hooks/useIntersection.d.ts +3 -0
- package/types/hooks/useIntersection.d.ts.map +1 -0
- package/types/hooks/useLoadImage.d.ts +1 -1
- package/types/hooks/useLoadImage.d.ts.map +1 -1
- package/types/hooks/useMedia.d.ts +1 -1
- package/types/hooks/useMutation.d.ts +1 -4
- package/types/hooks/useMutation.d.ts.map +1 -1
- package/types/hooks/useResize.d.ts +1 -0
- package/types/hooks/useResize.d.ts.map +1 -1
- package/types/hooks/useSafeArea.d.ts.map +1 -1
- package/types/hooks/useScroll.d.ts +1 -5
- package/types/hooks/useScroll.d.ts.map +1 -1
- package/types/hooks/useStyle.d.ts.map +1 -1
- package/types/hooks/useTheme.d.ts +2 -0
- package/types/hooks/useTheme.d.ts.map +1 -1
- package/types/hooks/useVisible.d.ts +12 -5
- package/types/hooks/useVisible.d.ts.map +1 -1
- package/types/hooks/useWindow.d.ts +0 -15
- package/types/hooks/useWindow.d.ts.map +1 -1
- package/types/index.d.ts +1 -1
- package/types/math/{core/BufferAttribute.d.ts → BufferAttribute.d.ts} +4 -11
- package/types/math/BufferAttribute.d.ts.map +1 -0
- package/types/math/{core/Cylindrical.d.ts → Cylindrical.d.ts} +1 -1
- package/types/math/Cylindrical.d.ts.map +1 -0
- package/types/math/{core/Euler.d.ts → Euler.d.ts} +5 -7
- package/types/math/Euler.d.ts.map +1 -0
- package/types/math/Matrix.d.ts +210 -93
- package/types/math/Matrix.d.ts.map +1 -1
- package/types/math/{core/Quaternion.d.ts → Quaternion.d.ts} +7 -7
- package/types/math/Quaternion.d.ts.map +1 -0
- package/types/math/{core/Spherical.d.ts → Spherical.d.ts} +1 -1
- package/types/math/Spherical.d.ts.map +1 -0
- package/types/math/{core/SphericalHarmonics3.d.ts → SphericalHarmonics3.d.ts} +1 -1
- package/types/math/SphericalHarmonics3.d.ts.map +1 -0
- package/types/math/Vector.d.ts +202 -0
- package/types/math/Vector.d.ts.map +1 -0
- package/types/math/_core/Frustum.d.ts +1 -0
- package/types/math/_core/Frustum.d.ts.map +1 -0
- package/types/math/{core → _core}/constants.d.ts +0 -5
- package/types/math/_core/constants.d.ts.map +1 -0
- package/types/math/core/Box2.d.ts +1 -1
- package/types/math/core/Box2.d.ts.map +1 -1
- package/types/math/core/Box3.d.ts +7 -7
- package/types/math/core/Box3.d.ts.map +1 -1
- package/types/math/core/Line3.d.ts +2 -2
- package/types/math/core/Line3.d.ts.map +1 -1
- package/types/math/core/Object3D.d.ts +8 -6
- package/types/math/core/Object3D.d.ts.map +1 -1
- package/types/math/core/Plane.d.ts +5 -6
- package/types/math/core/Plane.d.ts.map +1 -1
- package/types/math/core/Ray.d.ts +2 -2
- package/types/math/core/Ray.d.ts.map +1 -1
- package/types/math/core/Sphere.d.ts +4 -4
- package/types/math/core/Sphere.d.ts.map +1 -1
- package/types/math/core/Triangle.d.ts +4 -5
- package/types/math/core/Triangle.d.ts.map +1 -1
- package/types/math/index.d.ts +2 -0
- package/types/math/index.d.ts.map +1 -1
- package/types/math/line/PathD.d.ts +3 -3
- package/types/math/line/PathD.d.ts.map +1 -1
- package/types/wxJSSDK.d.ts.map +1 -1
- package/types/hooks/useHistoryRouter.d.ts +0 -5
- package/types/hooks/useHistoryRouter.d.ts.map +0 -1
- package/types/math/core/BufferAttribute.d.ts.map +0 -1
- package/types/math/core/Color.d.ts +0 -59
- package/types/math/core/Color.d.ts.map +0 -1
- package/types/math/core/ColorManagement.d.ts +0 -20
- package/types/math/core/ColorManagement.d.ts.map +0 -1
- package/types/math/core/Cylindrical.d.ts.map +0 -1
- package/types/math/core/Euler.d.ts.map +0 -1
- package/types/math/core/Frustum.d.ts +0 -21
- package/types/math/core/Frustum.d.ts.map +0 -1
- package/types/math/core/Matrix.d.ts +0 -16
- package/types/math/core/Matrix.d.ts.map +0 -1
- package/types/math/core/Matrix2.d.ts +0 -19
- package/types/math/core/Matrix2.d.ts.map +0 -1
- package/types/math/core/Matrix3.d.ts +0 -46
- package/types/math/core/Matrix3.d.ts.map +0 -1
- package/types/math/core/Matrix4.d.ts +0 -66
- package/types/math/core/Matrix4.d.ts.map +0 -1
- package/types/math/core/Quaternion.d.ts.map +0 -1
- package/types/math/core/Spherical.d.ts.map +0 -1
- package/types/math/core/SphericalHarmonics3.d.ts.map +0 -1
- package/types/math/core/Vector.d.ts +0 -19
- package/types/math/core/Vector.d.ts.map +0 -1
- package/types/math/core/Vector2.d.ts +0 -66
- package/types/math/core/Vector2.d.ts.map +0 -1
- package/types/math/core/Vector3.d.ts +0 -80
- package/types/math/core/Vector3.d.ts.map +0 -1
- package/types/math/core/Vector4.d.ts +0 -64
- package/types/math/core/Vector4.d.ts.map +0 -1
- package/types/math/core/constants.d.ts.map +0 -1
- package/types/math/core/index.d.ts +0 -9
- package/types/math/core/index.d.ts.map +0 -1
- package/types/theme.d.ts +0 -57
- package/types/theme.d.ts.map +0 -1
package/dist/better.css
CHANGED
|
@@ -382,14 +382,6 @@ https://developer.mozilla.org/en-US/docs/Web/CSS/@media/hover
|
|
|
382
382
|
/* .a:hover {} */
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
@media (prefers-color-scheme: dark) {
|
|
386
|
-
:root {
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
@media (prefers-color-scheme: light) {
|
|
390
|
-
:root {
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
385
|
@media (orientation: landscape) {
|
|
394
386
|
:root {
|
|
395
387
|
}
|
package/dist/theme.css
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--border-radius: 4px;
|
|
3
|
+
--button-height: 44px;
|
|
4
|
+
--xg-blue: "#5a82f0";
|
|
5
|
+
--xg-red: "#fa503c";
|
|
6
|
+
--xg-green: "#328a8c";
|
|
7
|
+
--xg-orange: "#fa8c00";
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* 浅色模式 */
|
|
11
|
+
html[data-theme="light"]:root {
|
|
12
|
+
}
|
|
13
|
+
/* 浅色模式 */
|
|
14
|
+
@media (prefers-color-scheme: light) {
|
|
15
|
+
:root {
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* 深色模式 */
|
|
20
|
+
html[data-theme="dark"]:root {
|
|
21
|
+
}
|
|
22
|
+
/* 深色模式 */
|
|
23
|
+
@media (prefers-color-scheme: dark) {
|
|
24
|
+
:root {
|
|
25
|
+
}
|
|
26
|
+
}
|