@zovaris/sephiro 0.6.1 → 0.7.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/dist/components.css +2119 -103
- package/dist/index.css +2129 -102
- package/dist/index.d.ts +274 -4
- package/dist/index.js +2409 -316
- package/dist/index.js.map +1 -1
- package/dist/themes.css +11 -0
- package/package.json +6 -2
package/dist/themes.css
CHANGED
|
@@ -29,8 +29,11 @@
|
|
|
29
29
|
--sph-motion-fast: 120ms;
|
|
30
30
|
--sph-motion-normal: 180ms;
|
|
31
31
|
--sph-motion-slow: 280ms;
|
|
32
|
+
--sph-motion-stagger: 26ms;
|
|
32
33
|
--sph-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
33
34
|
--sph-ease-emphasis: cubic-bezier(0.16, 1, 0.3, 1);
|
|
35
|
+
--sph-ease-exit: cubic-bezier(0.4, 0, 1, 1);
|
|
36
|
+
--sph-ease-spring: cubic-bezier(0.3, 1.45, 0.45, 1);
|
|
34
37
|
--sph-control-height-sm: 32px;
|
|
35
38
|
--sph-control-height-md: 36px;
|
|
36
39
|
--sph-control-height-lg: 40px;
|
|
@@ -189,10 +192,18 @@
|
|
|
189
192
|
color-scheme: dark;
|
|
190
193
|
}
|
|
191
194
|
|
|
195
|
+
:where([data-sephiro-motion="off"]) {
|
|
196
|
+
--sph-motion-fast: 0ms;
|
|
197
|
+
--sph-motion-normal: 0ms;
|
|
198
|
+
--sph-motion-slow: 0ms;
|
|
199
|
+
--sph-motion-stagger: 0ms;
|
|
200
|
+
}
|
|
201
|
+
|
|
192
202
|
@media (prefers-reduced-motion: reduce) {
|
|
193
203
|
:where(:root, [data-sephiro-theme]) {
|
|
194
204
|
--sph-motion-fast: 0ms;
|
|
195
205
|
--sph-motion-normal: 0ms;
|
|
196
206
|
--sph-motion-slow: 0ms;
|
|
207
|
+
--sph-motion-stagger: 0ms;
|
|
197
208
|
}
|
|
198
209
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zovaris/sephiro",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Reusable desktop UI primitives for React and Preact applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -36,11 +36,15 @@
|
|
|
36
36
|
"test": "bun test"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"react": ">=18"
|
|
39
|
+
"react": ">=18",
|
|
40
|
+
"react-dom": ">=18"
|
|
40
41
|
},
|
|
41
42
|
"peerDependenciesMeta": {
|
|
42
43
|
"react": {
|
|
43
44
|
"optional": true
|
|
45
|
+
},
|
|
46
|
+
"react-dom": {
|
|
47
|
+
"optional": true
|
|
44
48
|
}
|
|
45
49
|
},
|
|
46
50
|
"devDependencies": {
|