-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
69 changed files
with
787 additions
and
466 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
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 @@ | ||
<script lang="ts"> | ||
import { Text } from '@immich/ui'; | ||
import type { Snippet } from 'svelte'; | ||
type Props = { | ||
children: Snippet; | ||
}; | ||
const { children }: Props = $props(); | ||
</script> | ||
|
||
<Text color="muted">{@render children()}</Text> |
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,17 @@ | ||
<script lang="ts"> | ||
import ExampleCard from '$docs/components/ComponentExampleCard.svelte'; | ||
import type { ExampleItem } from '$docs/constants.js'; | ||
import { Stack } from '@immich/ui'; | ||
type Props = { | ||
examples: ExampleItem[]; | ||
}; | ||
const { examples }: Props = $props(); | ||
</script> | ||
|
||
<Stack gap={4} class="mt-4"> | ||
{#each examples as { title, code, component }} | ||
<ExampleCard {title} {code} {component} /> | ||
{/each} | ||
</Stack> |
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 @@ | ||
<script lang="ts"> | ||
import ComponentTipCard from '$docs/components/ComponentTipCard.svelte'; | ||
import { asComponentHref } from '$docs/utilities.js'; | ||
import { Link, Text } from '@immich/ui'; | ||
</script> | ||
|
||
<ComponentTipCard> | ||
<Text | ||
>This component can be used with the <Link href={asComponentHref('Field')}>Field</Link> component | ||
to build forms</Text | ||
> | ||
</ComponentTipCard> |
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,15 @@ | ||
<script lang="ts"> | ||
import { Alert } from '@immich/ui'; | ||
import { mdiLightbulbOnOutline } from '@mdi/js'; | ||
import type { Snippet } from 'svelte'; | ||
type Props = { | ||
children: Snippet; | ||
}; | ||
const { children }: Props = $props(); | ||
</script> | ||
|
||
<Alert color="success" class="mt-4" title="Tip" icon={mdiLightbulbOnOutline}> | ||
{@render children()} | ||
</Alert> |
This file was deleted.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.