@gravitee/graphene-core 2.51.0 → 2.52.0-feat-layout-content-width-tiers.35c2ff9

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,14 @@
1
+ /**
2
+ * Wraps a state update in a View Transition so the browser captures
3
+ * a screenshot before mutation, eliminating overlay/flash artifacts
4
+ * during page navigation. Falls back to direct execution when the
5
+ * API is unavailable.
6
+ *
7
+ * Call this at the router level around your navigation action:
8
+ * ```tsx
9
+ * startLayoutTransition(() => navigate('/apis'));
10
+ * ```
11
+ */
12
+ declare function startLayoutTransition(update: () => void): void;
13
+ export { startLayoutTransition };
14
+ //# sourceMappingURL=view-transitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-transitions.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions.ts"],"names":[],"mappings":"AASA;;;;;;;;;;GAUG;AACH,iBAAS,qBAAqB,CAAC,MAAM,EAAE,MAAM,IAAI,GAAG,IAAI,CASvD;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}