@trackunit/css-core 1.22.9-alpha-0611f91ebcd.0 → 1.22.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/css-core",
3
- "version": "1.22.9-alpha-0611f91ebcd.0",
3
+ "version": "1.22.9",
4
4
  "main": "src/lib/core.css",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -35,3 +35,31 @@ body,
35
35
  animation: none;
36
36
  mix-blend-mode: normal;
37
37
  }
38
+
39
+ /*
40
+ * Shared-element morphs from @trackunit/react-view-transition-hooks. The class
41
+ * is set alongside the transition name and says how the two snapshots scale
42
+ * while the box animates between source and target.
43
+ */
44
+ ::view-transition-group(*.morph-image),
45
+ ::view-transition-group(*.morph-text) {
46
+ animation-duration: 300ms;
47
+ animation-timing-function: cubic-bezier(0.2, 0, 0, 1);
48
+ }
49
+
50
+ ::view-transition-group(*.morph-image) {
51
+ overflow: clip;
52
+ }
53
+
54
+ ::view-transition-old(*.morph-image),
55
+ ::view-transition-new(*.morph-image) {
56
+ width: 100%;
57
+ height: 100%;
58
+ object-fit: cover;
59
+ }
60
+
61
+ ::view-transition-old(*.morph-text),
62
+ ::view-transition-new(*.morph-text) {
63
+ width: auto;
64
+ height: 100%;
65
+ }
@@ -1 +0,0 @@
1
- {"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../libs/css/core/migrations/entry.ts"],"names":[],"mappings":"","sourcesContent":["export {};\n"]}