-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* element crossing * dependencies * prepare for release * formatting
- Loading branch information
Showing
6 changed files
with
2,219 additions
and
1,692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'astro-vtbot': minor | ||
--- | ||
|
||
Integrates `@vtbag/element-crossing` to transfer selected HTML state to the next page on CSS-only cross-deocument view transitions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
export interface Props { | ||
experimentalFeatures?: boolean; | ||
} | ||
import crossingURL from '@vtbag/element-crossing?url'; | ||
import experimentalURL from '@vtbag/element-crossing/experimental?url'; | ||
const { experimentalFeatures = false } = Astro.props; | ||
console.log(`"${experimentalFeatures}":${typeof experimentalFeatures}`); | ||
--- | ||
|
||
{experimentalFeatures && <script is:inline data-astro-rerun src={experimentalURL} />} | ||
<script is:inline data-astro-rerun src={crossingURL}></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default function ElementCrossing(_props: import('./ElementCrossing.astro').Props): any; |
Oops, something went wrong.