@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.
Files changed (121) hide show
  1. package/dist/better.css +0 -8
  2. package/dist/theme.css +26 -0
  3. package/dist/zyzgroup_core_web.iife.js +21 -23
  4. package/dist/zyzgroup_core_web.iife.js.map +1 -1
  5. package/dist/zyzgroup_core_web.js +8762 -6751
  6. package/dist/zyzgroup_core_web.js.map +1 -1
  7. package/dist/zyzgroup_core_web.umd.cjs +21 -23
  8. package/dist/zyzgroup_core_web.umd.cjs.map +1 -1
  9. package/package.json +1 -1
  10. package/types/color.d.ts +114 -0
  11. package/types/color.d.ts.map +1 -0
  12. package/types/hooks/index.d.ts +4 -2
  13. package/types/hooks/index.d.ts.map +1 -1
  14. package/types/hooks/onDocumentReady.d.ts +3 -0
  15. package/types/hooks/onDocumentReady.d.ts.map +1 -0
  16. package/types/hooks/useElement.d.ts +1 -1
  17. package/types/hooks/useElement.d.ts.map +1 -1
  18. package/types/hooks/useElementEventBus.d.ts +1 -1
  19. package/types/hooks/useElementEventBus.d.ts.map +1 -1
  20. package/types/hooks/useEventListener.d.ts +1 -1
  21. package/types/hooks/useEventListener.d.ts.map +1 -1
  22. package/types/hooks/useFeRouteChange.d.ts +9 -0
  23. package/types/hooks/useFeRouteChange.d.ts.map +1 -0
  24. package/types/hooks/useHotKey.d.ts +1 -1
  25. package/types/hooks/useHotKey.d.ts.map +1 -1
  26. package/types/hooks/useIntersection.d.ts +3 -0
  27. package/types/hooks/useIntersection.d.ts.map +1 -0
  28. package/types/hooks/useLoadImage.d.ts +1 -1
  29. package/types/hooks/useLoadImage.d.ts.map +1 -1
  30. package/types/hooks/useMedia.d.ts +1 -1
  31. package/types/hooks/useMutation.d.ts +1 -4
  32. package/types/hooks/useMutation.d.ts.map +1 -1
  33. package/types/hooks/useResize.d.ts +1 -0
  34. package/types/hooks/useResize.d.ts.map +1 -1
  35. package/types/hooks/useSafeArea.d.ts.map +1 -1
  36. package/types/hooks/useScroll.d.ts +1 -5
  37. package/types/hooks/useScroll.d.ts.map +1 -1
  38. package/types/hooks/useStyle.d.ts.map +1 -1
  39. package/types/hooks/useTheme.d.ts +2 -0
  40. package/types/hooks/useTheme.d.ts.map +1 -1
  41. package/types/hooks/useVisible.d.ts +12 -5
  42. package/types/hooks/useVisible.d.ts.map +1 -1
  43. package/types/hooks/useWindow.d.ts +0 -15
  44. package/types/hooks/useWindow.d.ts.map +1 -1
  45. package/types/index.d.ts +1 -1
  46. package/types/math/{core/BufferAttribute.d.ts → BufferAttribute.d.ts} +4 -11
  47. package/types/math/BufferAttribute.d.ts.map +1 -0
  48. package/types/math/{core/Cylindrical.d.ts → Cylindrical.d.ts} +1 -1
  49. package/types/math/Cylindrical.d.ts.map +1 -0
  50. package/types/math/{core/Euler.d.ts → Euler.d.ts} +5 -7
  51. package/types/math/Euler.d.ts.map +1 -0
  52. package/types/math/Matrix.d.ts +210 -93
  53. package/types/math/Matrix.d.ts.map +1 -1
  54. package/types/math/{core/Quaternion.d.ts → Quaternion.d.ts} +7 -7
  55. package/types/math/Quaternion.d.ts.map +1 -0
  56. package/types/math/{core/Spherical.d.ts → Spherical.d.ts} +1 -1
  57. package/types/math/Spherical.d.ts.map +1 -0
  58. package/types/math/{core/SphericalHarmonics3.d.ts → SphericalHarmonics3.d.ts} +1 -1
  59. package/types/math/SphericalHarmonics3.d.ts.map +1 -0
  60. package/types/math/Vector.d.ts +202 -0
  61. package/types/math/Vector.d.ts.map +1 -0
  62. package/types/math/_core/Frustum.d.ts +1 -0
  63. package/types/math/_core/Frustum.d.ts.map +1 -0
  64. package/types/math/{core → _core}/constants.d.ts +0 -5
  65. package/types/math/_core/constants.d.ts.map +1 -0
  66. package/types/math/core/Box2.d.ts +1 -1
  67. package/types/math/core/Box2.d.ts.map +1 -1
  68. package/types/math/core/Box3.d.ts +7 -7
  69. package/types/math/core/Box3.d.ts.map +1 -1
  70. package/types/math/core/Line3.d.ts +2 -2
  71. package/types/math/core/Line3.d.ts.map +1 -1
  72. package/types/math/core/Object3D.d.ts +8 -6
  73. package/types/math/core/Object3D.d.ts.map +1 -1
  74. package/types/math/core/Plane.d.ts +5 -6
  75. package/types/math/core/Plane.d.ts.map +1 -1
  76. package/types/math/core/Ray.d.ts +2 -2
  77. package/types/math/core/Ray.d.ts.map +1 -1
  78. package/types/math/core/Sphere.d.ts +4 -4
  79. package/types/math/core/Sphere.d.ts.map +1 -1
  80. package/types/math/core/Triangle.d.ts +4 -5
  81. package/types/math/core/Triangle.d.ts.map +1 -1
  82. package/types/math/index.d.ts +2 -0
  83. package/types/math/index.d.ts.map +1 -1
  84. package/types/math/line/PathD.d.ts +3 -3
  85. package/types/math/line/PathD.d.ts.map +1 -1
  86. package/types/wxJSSDK.d.ts.map +1 -1
  87. package/types/hooks/useHistoryRouter.d.ts +0 -5
  88. package/types/hooks/useHistoryRouter.d.ts.map +0 -1
  89. package/types/math/core/BufferAttribute.d.ts.map +0 -1
  90. package/types/math/core/Color.d.ts +0 -59
  91. package/types/math/core/Color.d.ts.map +0 -1
  92. package/types/math/core/ColorManagement.d.ts +0 -20
  93. package/types/math/core/ColorManagement.d.ts.map +0 -1
  94. package/types/math/core/Cylindrical.d.ts.map +0 -1
  95. package/types/math/core/Euler.d.ts.map +0 -1
  96. package/types/math/core/Frustum.d.ts +0 -21
  97. package/types/math/core/Frustum.d.ts.map +0 -1
  98. package/types/math/core/Matrix.d.ts +0 -16
  99. package/types/math/core/Matrix.d.ts.map +0 -1
  100. package/types/math/core/Matrix2.d.ts +0 -19
  101. package/types/math/core/Matrix2.d.ts.map +0 -1
  102. package/types/math/core/Matrix3.d.ts +0 -46
  103. package/types/math/core/Matrix3.d.ts.map +0 -1
  104. package/types/math/core/Matrix4.d.ts +0 -66
  105. package/types/math/core/Matrix4.d.ts.map +0 -1
  106. package/types/math/core/Quaternion.d.ts.map +0 -1
  107. package/types/math/core/Spherical.d.ts.map +0 -1
  108. package/types/math/core/SphericalHarmonics3.d.ts.map +0 -1
  109. package/types/math/core/Vector.d.ts +0 -19
  110. package/types/math/core/Vector.d.ts.map +0 -1
  111. package/types/math/core/Vector2.d.ts +0 -66
  112. package/types/math/core/Vector2.d.ts.map +0 -1
  113. package/types/math/core/Vector3.d.ts +0 -80
  114. package/types/math/core/Vector3.d.ts.map +0 -1
  115. package/types/math/core/Vector4.d.ts +0 -64
  116. package/types/math/core/Vector4.d.ts.map +0 -1
  117. package/types/math/core/constants.d.ts.map +0 -1
  118. package/types/math/core/index.d.ts +0 -9
  119. package/types/math/core/index.d.ts.map +0 -1
  120. package/types/theme.d.ts +0 -57
  121. 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
+ }