@tempots/ui 2.5.6 → 2.6.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/index.cjs +1 -1
- package/index.js +323 -315
- package/package.json +1 -1
- package/renderables/anchor.d.ts +4 -0
- package/utils/view-transition.d.ts +1 -0
package/package.json
CHANGED
package/renderables/anchor.d.ts
CHANGED
|
@@ -11,6 +11,10 @@ export type AnchorOptions = Merge<{
|
|
|
11
11
|
* Can be a string or a Signal containing a string.
|
|
12
12
|
*/
|
|
13
13
|
href: Value<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Whether to use a view transition when navigating to the anchor.
|
|
16
|
+
*/
|
|
17
|
+
withViewTransition?: boolean;
|
|
14
18
|
}, HandleAnchorClickOptions>;
|
|
15
19
|
/**
|
|
16
20
|
* Represents either a string value (or Signal of string) for the href,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const withViewTransition: (callback: () => void) => void;
|