Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions android/app/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
</resources>
<color name="ic_launcher_background">#F4F7F4</color>
</resources>
9 changes: 9 additions & 0 deletions assets/capgo-sheets-logo-foreground.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions assets/capgo-sheets-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions examples/angular-app/public/capgo-sheets-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions examples/angular-app/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,11 @@ const DETACHED_CENTER_QUERY = '(min-width: 43.75rem)';
<cap-sheet-outlet #travelOutlet [attr.for]="depthOutletFor" data-travel-type="depth" class="demo-depth-stage">
<main class="demo-app">
<header class="demo-hero">
<div>
<p class="demo-kicker">Angular playground</p>
<div class="demo-hero-copy">
<div class="demo-brand">
<img class="demo-logo" src="/capgo-sheets-logo.svg" alt="" />
<p class="demo-kicker">Angular playground</p>
</div>
<h1>Capgo Sheets usecases</h1>
<p>Open every sheet pattern from the real preview viewport. No fake phone frame, no clipped overlay.</p>
</div>
Expand Down
10 changes: 10 additions & 0 deletions examples/react-app/public/capgo-sheets-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions examples/react-app/src/UsecaseGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,11 @@ export function UsecaseGallery() {
<TravelOutlet for={depthOutletFor} className="demo-depth-stage" type="depth">
<main className="demo-app">
<header className="demo-hero">
<div>
<p className="demo-kicker">React playground</p>
<div className="demo-hero-copy">
<div className="demo-brand">
<img className="demo-logo" src="/capgo-sheets-logo.svg" alt="" />
<p className="demo-kicker">React playground</p>
</div>
<h1>Capgo Sheets usecases</h1>
<p>Open every sheet pattern from the real preview viewport. No fake phone frame, no clipped overlay.</p>
</div>
Expand Down
18 changes: 18 additions & 0 deletions examples/shared/usecase-gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,24 @@ cap-sheet-trigger.demo-link {
padding-block: 1em 1.25em;
}

.demo-hero-copy {
min-width: 0;
}

.demo-brand {
display: flex;
align-items: center;
gap: 0.75em;
}

.demo-logo {
width: 3rem;
height: 3rem;
flex: 0 0 auto;
border-radius: 0.875rem;
box-shadow: 0 0.75rem 2rem rgb(20 23 22 / 0.14);
}

.demo-hero h1 {
max-width: 12em;
margin: 0;
Expand Down
10 changes: 10 additions & 0 deletions examples/solid-app/public/capgo-sheets-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions examples/solid-app/src/UsecaseGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,11 @@ export function UsecaseGallery() {
<TravelOutlet for={depthOutletFor} class="demo-depth-stage" type="depth">
<main class="demo-app">
<header class="demo-hero">
<div>
<p class="demo-kicker">Solid playground</p>
<div class="demo-hero-copy">
<div class="demo-brand">
<img class="demo-logo" src="/capgo-sheets-logo.svg" alt="" />
<p class="demo-kicker">Solid playground</p>
</div>
<h1>Capgo Sheets usecases</h1>
<p>Open every sheet pattern from the real preview viewport. No fake phone frame, no clipped overlay.</p>
</div>
Expand Down
10 changes: 10 additions & 0 deletions examples/svelte-app/public/capgo-sheets-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions examples/svelte-app/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,11 @@
<cap-sheet-outlet use:travelOutlet={'depth'} for={depthOutletFor} class="demo-depth-stage">
<main class="demo-app">
<header class="demo-hero">
<div>
<p class="demo-kicker">Svelte playground</p>
<div class="demo-hero-copy">
<div class="demo-brand">
<img class="demo-logo" src="/capgo-sheets-logo.svg" alt="" />
<p class="demo-kicker">Svelte playground</p>
</div>
<h1>Capgo Sheets usecases</h1>
<p>Open every sheet pattern from the real preview viewport. No fake phone frame, no clipped overlay.</p>
</div>
Expand Down
10 changes: 10 additions & 0 deletions examples/vue-app/public/capgo-sheets-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions examples/vue-app/src/UsecaseGallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,11 @@ function booleanAttributes(options?: SheetOptions): Record<string, string> {
<cap-sheet-outlet :ref="travelOutletRefFor('depth')" :for="depthOutletFor" class="demo-depth-stage">
<main class="demo-app">
<header class="demo-hero">
<div>
<p class="demo-kicker">Vue playground</p>
<div class="demo-hero-copy">
<div class="demo-brand">
<img class="demo-logo" src="/capgo-sheets-logo.svg" alt="" />
<p class="demo-kicker">Vue playground</p>
</div>
<h1>Capgo Sheets usecases</h1>
<p>Open every sheet pattern from the real preview viewport. No fake phone frame, no clipped overlay.</p>
</div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.