@veltra/styles 1.1.33 → 1.1.35

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.
@@ -0,0 +1,19 @@
1
+ .fade-scale-enter-active {
2
+ will-change: scale, opacity;
3
+ transition: scale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
4
+ }
5
+
6
+ .fade-scale-leave-active {
7
+ will-change: scale, opacity;
8
+ transition: scale 0.2s ease-in, opacity 0.15s ease-in;
9
+ }
10
+
11
+ .fade-scale-enter-from {
12
+ scale: 0.8;
13
+ opacity: 0;
14
+ }
15
+
16
+ .fade-scale-leave-to {
17
+ scale: 0.9;
18
+ opacity: 0;
19
+ }
@@ -0,0 +1,26 @@
1
+ // 平滑缩放 — 简洁专业,类似 macOS 风格
2
+ // 仅使用 scale/opacity,不与拖拽 translate 冲突
3
+
4
+ .fade-scale-enter-active {
5
+ will-change: scale, opacity;
6
+ transition:
7
+ scale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
8
+ opacity 0.35s ease;
9
+ }
10
+
11
+ .fade-scale-leave-active {
12
+ will-change: scale, opacity;
13
+ transition:
14
+ scale 0.2s ease-in,
15
+ opacity 0.15s ease-in;
16
+ }
17
+
18
+ .fade-scale-enter-from {
19
+ scale: 0.8;
20
+ opacity: 0;
21
+ }
22
+
23
+ .fade-scale-leave-to {
24
+ scale: 0.9;
25
+ opacity: 0;
26
+ }
@@ -1,3 +1,4 @@
1
+ import "./fade-scale.css";
1
2
  import "./fade.css";
2
3
  import "./slide.css";
3
4
  import "./spring.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltra/styles",
3
- "version": "1.1.33",
3
+ "version": "1.1.35",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -39,8 +39,8 @@
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@cat-kit/core": ">=1.1.6",
42
- "@veltra/compositions": "1.1.33",
43
- "@veltra/utils": "1.1.33",
42
+ "@veltra/compositions": "1.1.35",
43
+ "@veltra/utils": "1.1.35",
44
44
  "vue": ">=3.5.0"
45
45
  }
46
46
  }
@@ -0,0 +1,26 @@
1
+ // 平滑缩放 — 简洁专业,类似 macOS 风格
2
+ // 仅使用 scale/opacity,不与拖拽 translate 冲突
3
+
4
+ .fade-scale-enter-active {
5
+ will-change: scale, opacity;
6
+ transition:
7
+ scale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
8
+ opacity 0.35s ease;
9
+ }
10
+
11
+ .fade-scale-leave-active {
12
+ will-change: scale, opacity;
13
+ transition:
14
+ scale 0.2s ease-in,
15
+ opacity 0.15s ease-in;
16
+ }
17
+
18
+ .fade-scale-enter-from {
19
+ scale: 0.8;
20
+ opacity: 0;
21
+ }
22
+
23
+ .fade-scale-leave-to {
24
+ scale: 0.9;
25
+ opacity: 0;
26
+ }
@@ -1,3 +1,4 @@
1
+ import './fade-scale.scss'
1
2
  import './fade.scss'
2
3
  import './slide.scss'
3
4
  import './spring.scss'