@tutti-os/workbench-surface 0.0.13 → 0.0.15
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/index.js +13 -41
- package/dist/index.js.map +1 -1
- package/dist/styles/workbench.css +25 -0
- package/package.json +6 -6
|
@@ -98,6 +98,31 @@
|
|
|
98
98
|
height 0.22s cubic-bezier(0.4, 0, 0.2, 1);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
/* 应用打开时从底部进入并展开的动画。仅命中带 onboarding-auto 标记的节点,
|
|
102
|
+
使用独立的 translate/scale 属性(不占用 transform,避免与 mission-control
|
|
103
|
+
的 matrix 变换冲突)。 */
|
|
104
|
+
@keyframes workbench-shell-enter {
|
|
105
|
+
from {
|
|
106
|
+
opacity: 0;
|
|
107
|
+
translate: 0 56px;
|
|
108
|
+
scale: 0.9;
|
|
109
|
+
}
|
|
110
|
+
to {
|
|
111
|
+
opacity: 1;
|
|
112
|
+
translate: 0 0;
|
|
113
|
+
scale: 1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
.workbench-window-shell[data-launch-source="onboarding-auto"][data-presentation-mode="default"][data-genie-state="visible"] {
|
|
117
|
+
transform-origin: bottom center;
|
|
118
|
+
animation: workbench-shell-enter 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
119
|
+
}
|
|
120
|
+
@media (prefers-reduced-motion: reduce) {
|
|
121
|
+
.workbench-window-shell[data-launch-source="onboarding-auto"] {
|
|
122
|
+
animation: none;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
101
126
|
.workbench-window-shell[data-presentation-mode="mission-control"] {
|
|
102
127
|
pointer-events: auto;
|
|
103
128
|
will-change: transform;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tutti-os/workbench-surface",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@tutti-os/config-tsconfig": "0.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
38
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
39
|
-
"@tutti-os/workbench-snapshot": "0.0.
|
|
40
|
-
"@tutti-os/ui-system": "0.0.
|
|
37
|
+
"@tutti-os/ui-i18n-runtime": "0.0.15",
|
|
38
|
+
"@tutti-os/ui-react-hooks": "0.0.15",
|
|
39
|
+
"@tutti-os/workbench-snapshot": "0.0.15",
|
|
40
|
+
"@tutti-os/ui-system": "0.0.15"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "^19.1.0",
|
|
@@ -49,6 +49,6 @@
|
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "tsup --config tsup.config.ts && node ../../../tools/scripts/copy-package-assets.mjs src/styles dist/styles",
|
|
51
51
|
"test": "node --test --experimental-strip-types ./src/**/*.test.ts",
|
|
52
|
-
"typecheck": "
|
|
52
|
+
"typecheck": "node ../../../tools/scripts/run-tsgo-typecheck.mjs"
|
|
53
53
|
}
|
|
54
54
|
}
|