@tanglemedia/svelte-starter-auth-shadcn 0.0.1 → 0.0.3
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/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/lib/components/ui/auth-layout/auth-layout.svelte +38 -32
- package/dist/lib/components/ui/auth-layout/auth-layout.svelte.d.ts +12 -11
- package/dist/lib/components/ui/forgot-password/forgot-password-form.svelte +1 -5
- package/dist/lib/components/ui/index.d.ts +5 -0
- package/dist/lib/components/ui/index.js +5 -0
- package/dist/lib/components/ui/login-form/login-form.svelte +1 -5
- package/dist/lib/components/ui/register-form/register-form.svelte +1 -5
- package/dist/lib/components/ui/reset-password/reset-form.svelte +1 -5
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/hooks/index.js +1 -0
- package/dist/lib/index.d.ts +3 -0
- package/dist/lib/index.js +3 -0
- package/package.json +4 -42
- package/src/index.ts +1 -0
- package/src/lib/components/ui/auth-layout/auth-layout.svelte +38 -32
- package/src/lib/components/ui/forgot-password/forgot-password-form.svelte +1 -5
- package/src/lib/components/ui/index.ts +5 -0
- package/src/lib/components/ui/login-form/login-form.svelte +1 -5
- package/src/lib/components/ui/register-form/register-form.svelte +1 -5
- package/src/lib/components/ui/reset-password/reset-form.svelte +1 -5
- package/src/lib/hooks/index.ts +1 -0
- package/src/lib/index.ts +3 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib';
|
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn
|
|
2
|
+
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn';
|
|
3
3
|
// import { getConfig } from '@tanglemedia/svelte-starter-core';
|
|
4
4
|
|
|
5
5
|
interface Props {
|
|
6
|
-
logo?: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
logo?: string | null;
|
|
7
|
+
backgroundImage?: string | null;
|
|
8
|
+
name?: string | null;
|
|
9
|
+
quote?: string | null;
|
|
10
|
+
quoteAuthor?: string | null;
|
|
11
|
+
layoutMode?: string | null;
|
|
12
|
+
leftSideBackground?: string | null;
|
|
13
|
+
rightSideBackground?: string | null;
|
|
14
|
+
opacity?: number | null;
|
|
15
|
+
logoClass?: string | null;
|
|
16
|
+
filterClass?: string | null;
|
|
17
|
+
backgroundImageClass?: string | null;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
let {
|
|
20
|
-
logo,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
logo = null,
|
|
22
|
+
backgroundImage = "https://images.unsplash.com/photo-1590069261209-f8e9b8642343?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1376&q=80",
|
|
23
|
+
name = "Tangle Media Inc.",
|
|
24
|
+
quote = "",
|
|
25
|
+
quoteAuthor = "",
|
|
24
26
|
layoutMode,
|
|
25
27
|
leftSideBackground,
|
|
26
28
|
rightSideBackground,
|
|
27
29
|
opacity,
|
|
28
|
-
logoClass,
|
|
30
|
+
logoClass = "",
|
|
29
31
|
filterClass,
|
|
30
|
-
|
|
32
|
+
backgroundImageClass = "",
|
|
31
33
|
children
|
|
32
34
|
}: Props = $props();
|
|
33
35
|
</script>
|
|
@@ -37,41 +39,45 @@
|
|
|
37
39
|
>
|
|
38
40
|
<div class="bg-muted relative hidden h-full flex-col p-10 text-white lg:flex dark:border-r">
|
|
39
41
|
<div
|
|
40
|
-
class="absolute inset-0 bg-background"
|
|
42
|
+
class="absolute inset-0 bg-background {backgroundImageClass}"
|
|
41
43
|
style="
|
|
42
44
|
background-image:
|
|
43
|
-
url(
|
|
45
|
+
url({backgroundImage});"
|
|
44
46
|
></div>
|
|
45
47
|
<div class="relative z-20 flex items-center text-lg font-medium text-shadow-lg">
|
|
46
|
-
|
|
48
|
+
{#if logo}
|
|
49
|
+
<img src={logo} alt="logo" class={logoClass} />
|
|
50
|
+
{:else}
|
|
51
|
+
{name}
|
|
52
|
+
{/if}
|
|
47
53
|
</div>
|
|
48
54
|
<div class="relative z-20 mt-auto">
|
|
49
55
|
<blockquote class="space-y-2">
|
|
50
56
|
<p class="text-lg text-shadow-lg">
|
|
51
|
-
|
|
52
|
-
stunning designs to my clients faster than ever before. Highly
|
|
53
|
-
recommended!”
|
|
57
|
+
{quote}
|
|
54
58
|
</p>
|
|
55
|
-
<footer class="text-sm text-shadow-lg">
|
|
59
|
+
<footer class="text-sm text-shadow-lg">{quoteAuthor}</footer>
|
|
56
60
|
</blockquote>
|
|
57
61
|
</div>
|
|
58
62
|
<div class="absolute top-0 bottom-0 left-0 right-0 bg-primary-500/10 filter blur(2px)"></div>
|
|
59
63
|
</div>
|
|
60
|
-
<div class="lg:hidden absolute top-0 left-0 right-0 bottom-1/2 z-[-1]" style="
|
|
64
|
+
<div class="lg:hidden absolute top-0 left-0 right-0 bottom-1/2 z-[-1] {backgroundImageClass}" style="
|
|
61
65
|
mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
|
|
62
66
|
background-image:
|
|
63
|
-
url(
|
|
67
|
+
url({backgroundImage});
|
|
64
68
|
background-size: cover;
|
|
65
69
|
background-position: center">
|
|
66
70
|
<div class="text-white top-6 left-6 absolute text-lg font-medium z-20 text-shadow-lg">
|
|
67
|
-
|
|
71
|
+
{#if logo}
|
|
72
|
+
<img src={logo} alt="logo" class={logoClass} />
|
|
73
|
+
{:else}
|
|
74
|
+
{name}
|
|
75
|
+
{/if}
|
|
68
76
|
<blockquote class="space-y-2 mt-2 mr-4">
|
|
69
77
|
<p class="text-sm text-shadow-lg">
|
|
70
|
-
|
|
71
|
-
stunning designs to my clients faster than ever before. Highly
|
|
72
|
-
recommended!”
|
|
78
|
+
{quote}
|
|
73
79
|
</p>
|
|
74
|
-
<footer class="text-xs text-shadow-lg">
|
|
80
|
+
<footer class="text-xs text-shadow-lg">{quoteAuthor}</footer>
|
|
75
81
|
</blockquote>
|
|
76
82
|
</div>
|
|
77
83
|
<div class="absolute top-0 bottom-0 left-0 right-0 bg-primary-500/10 filter blur(2px)"></div>
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
interface Props {
|
|
2
|
-
logo?: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
logo?: string | null;
|
|
3
|
+
backgroundImage?: string | null;
|
|
4
|
+
name?: string | null;
|
|
5
|
+
quote?: string | null;
|
|
6
|
+
quoteAuthor?: string | null;
|
|
7
|
+
layoutMode?: string | null;
|
|
8
|
+
leftSideBackground?: string | null;
|
|
9
|
+
rightSideBackground?: string | null;
|
|
10
|
+
opacity?: number | null;
|
|
11
|
+
logoClass?: string | null;
|
|
12
|
+
filterClass?: string | null;
|
|
13
|
+
backgroundImageClass?: string | null;
|
|
13
14
|
}
|
|
14
15
|
declare const AuthLayout: import("svelte").Component<Props, {}, "">;
|
|
15
16
|
type AuthLayout = ReturnType<typeof AuthLayout>;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
|
|
3
|
-
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn/Button';
|
|
4
|
-
import { Input } from '@tanglemedia/svelte-starter-ui-shadcn/Input';
|
|
5
|
-
import { Label } from '@tanglemedia/svelte-starter-ui-shadcn/Label';
|
|
6
|
-
import * as Form from '@tanglemedia/svelte-starter-ui-shadcn/Form';
|
|
2
|
+
import { Button, Card, Input, Label, Form } from '@tanglemedia/svelte-starter-ui-shadcn';
|
|
7
3
|
import type { Snippet } from 'svelte';
|
|
8
4
|
|
|
9
5
|
interface Props {
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import
|
|
3
|
-
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn/Button';
|
|
4
|
-
import { Input } from '@tanglemedia/svelte-starter-ui-shadcn/Input';
|
|
5
|
-
import { Label } from '@tanglemedia/svelte-starter-ui-shadcn/Label';
|
|
6
|
-
import * as Form from '@tanglemedia/svelte-starter-ui-shadcn/Form';
|
|
2
|
+
import { Button, Card, Input, Label, Form } from '@tanglemedia/svelte-starter-ui-shadcn';
|
|
7
3
|
import type { Snippet } from 'svelte';
|
|
8
4
|
|
|
9
5
|
interface Props {
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import
|
|
3
|
-
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn/Button';
|
|
4
|
-
import { Input } from '@tanglemedia/svelte-starter-ui-shadcn/Input';
|
|
5
|
-
import { Label } from '@tanglemedia/svelte-starter-ui-shadcn/Label';
|
|
6
|
-
import * as Form from '@tanglemedia/svelte-starter-ui-shadcn/Form';
|
|
2
|
+
import { Button, Card, Input, Label, Form } from '@tanglemedia/svelte-starter-ui-shadcn';
|
|
7
3
|
|
|
8
4
|
interface Props {
|
|
9
5
|
superform: any;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import
|
|
3
|
-
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn/Button';
|
|
4
|
-
import { Input } from '@tanglemedia/svelte-starter-ui-shadcn/Input';
|
|
5
|
-
import { Label } from '@tanglemedia/svelte-starter-ui-shadcn/Label';
|
|
6
|
-
import * as Form from '@tanglemedia/svelte-starter-ui-shadcn/Form';
|
|
2
|
+
import { Button, Card, Input, Label, Form } from '@tanglemedia/svelte-starter-ui-shadcn';
|
|
7
3
|
import type { Snippet } from 'svelte';
|
|
8
4
|
|
|
9
5
|
interface Props {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './is-mobile.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './is-mobile.svelte';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanglemedia/svelte-starter-auth-shadcn",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"main": "src/index.ts",
|
|
5
5
|
"types": "src/index.ts",
|
|
6
6
|
"description": "Auth features and components for use in svelte websites",
|
|
@@ -16,45 +16,7 @@
|
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
18
|
"types": "./dist/index.d.ts",
|
|
19
|
-
"svelte": "./dist/index.js"
|
|
20
|
-
"import": "./dist/index.js",
|
|
21
|
-
"default": "./dist/index.js"
|
|
22
|
-
},
|
|
23
|
-
"./Login-Form": {
|
|
24
|
-
"default": "./src/lib/components/ui/login-form/index.ts",
|
|
25
|
-
"types": "./src/lib/components/ui/login-form/index.ts",
|
|
26
|
-
"svelte": "./src/lib/components/ui/login-form/index.ts",
|
|
27
|
-
"import": "./src/lib/components/ui/login-form/index.ts"
|
|
28
|
-
},
|
|
29
|
-
"./Register-Form": {
|
|
30
|
-
"default": "./src/lib/components/ui/register-form/index.ts",
|
|
31
|
-
"types": "./src/lib/components/ui/register-form/index.ts",
|
|
32
|
-
"svelte": "./src/lib/components/ui/register-form/index.ts",
|
|
33
|
-
"import": "./src/lib/components/ui/register-form/index.ts"
|
|
34
|
-
},
|
|
35
|
-
"./Reset-Password-Form": {
|
|
36
|
-
"default": "./src/lib/components/ui/reset-password/index.ts",
|
|
37
|
-
"types": "./src/lib/components/ui/reset-password/index.ts",
|
|
38
|
-
"svelte": "./src/lib/components/ui/reset-password/index.ts",
|
|
39
|
-
"import": "./src/lib/components/ui/reset-password/index.ts"
|
|
40
|
-
},
|
|
41
|
-
"./Forgot-Password-Form": {
|
|
42
|
-
"default": "./src/lib/components/ui/forgot-password/index.ts",
|
|
43
|
-
"types": "./src/lib/components/ui/forgot-password/index.ts",
|
|
44
|
-
"svelte": "./src/lib/components/ui/forgot-password/index.ts",
|
|
45
|
-
"import": "./src/lib/components/ui/forgot-password/index.ts"
|
|
46
|
-
},
|
|
47
|
-
"./Auth-Layout": {
|
|
48
|
-
"default": "./src/lib/components/ui/auth-layout/index.ts",
|
|
49
|
-
"types": "./src/lib/components/ui/auth-layout/index.ts",
|
|
50
|
-
"svelte": "./src/lib/components/ui/auth-layout/index.ts",
|
|
51
|
-
"import": "./src/lib/components/ui/auth-layout/index.ts"
|
|
52
|
-
},
|
|
53
|
-
"./hooks": {
|
|
54
|
-
"default": "./src/lib/hooks"
|
|
55
|
-
},
|
|
56
|
-
"./utils": {
|
|
57
|
-
"default": "./src/lib/utils"
|
|
19
|
+
"svelte": "./dist/index.js"
|
|
58
20
|
}
|
|
59
21
|
},
|
|
60
22
|
"devDependencies": {
|
|
@@ -82,9 +44,9 @@
|
|
|
82
44
|
"typescript-eslint": "^8.20.0",
|
|
83
45
|
"vite": "^6.0.0",
|
|
84
46
|
"vitest": "^3.0.0",
|
|
85
|
-
"@tanglemedia/svelte-starter-ui-shadcn": "0.0.1",
|
|
86
47
|
"@internal/eslint-config": "0.0.0",
|
|
87
|
-
"@tanglemedia/svelte-starter-core": "2.0.0"
|
|
48
|
+
"@tanglemedia/svelte-starter-core": "2.0.0",
|
|
49
|
+
"@tanglemedia/svelte-starter-ui-shadcn": "0.0.6"
|
|
88
50
|
},
|
|
89
51
|
"dependencies": {},
|
|
90
52
|
"peerDependencies": {
|
package/src/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib';
|
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn
|
|
2
|
+
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn';
|
|
3
3
|
// import { getConfig } from '@tanglemedia/svelte-starter-core';
|
|
4
4
|
|
|
5
5
|
interface Props {
|
|
6
|
-
logo?: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
logo?: string | null;
|
|
7
|
+
backgroundImage?: string | null;
|
|
8
|
+
name?: string | null;
|
|
9
|
+
quote?: string | null;
|
|
10
|
+
quoteAuthor?: string | null;
|
|
11
|
+
layoutMode?: string | null;
|
|
12
|
+
leftSideBackground?: string | null;
|
|
13
|
+
rightSideBackground?: string | null;
|
|
14
|
+
opacity?: number | null;
|
|
15
|
+
logoClass?: string | null;
|
|
16
|
+
filterClass?: string | null;
|
|
17
|
+
backgroundImageClass?: string | null;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
let {
|
|
20
|
-
logo,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
logo = null,
|
|
22
|
+
backgroundImage = "https://images.unsplash.com/photo-1590069261209-f8e9b8642343?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1376&q=80",
|
|
23
|
+
name = "Tangle Media Inc.",
|
|
24
|
+
quote = "",
|
|
25
|
+
quoteAuthor = "",
|
|
24
26
|
layoutMode,
|
|
25
27
|
leftSideBackground,
|
|
26
28
|
rightSideBackground,
|
|
27
29
|
opacity,
|
|
28
|
-
logoClass,
|
|
30
|
+
logoClass = "",
|
|
29
31
|
filterClass,
|
|
30
|
-
|
|
32
|
+
backgroundImageClass = "",
|
|
31
33
|
children
|
|
32
34
|
}: Props = $props();
|
|
33
35
|
</script>
|
|
@@ -37,41 +39,45 @@
|
|
|
37
39
|
>
|
|
38
40
|
<div class="bg-muted relative hidden h-full flex-col p-10 text-white lg:flex dark:border-r">
|
|
39
41
|
<div
|
|
40
|
-
class="absolute inset-0 bg-background"
|
|
42
|
+
class="absolute inset-0 bg-background {backgroundImageClass}"
|
|
41
43
|
style="
|
|
42
44
|
background-image:
|
|
43
|
-
url(
|
|
45
|
+
url({backgroundImage});"
|
|
44
46
|
></div>
|
|
45
47
|
<div class="relative z-20 flex items-center text-lg font-medium text-shadow-lg">
|
|
46
|
-
|
|
48
|
+
{#if logo}
|
|
49
|
+
<img src={logo} alt="logo" class={logoClass} />
|
|
50
|
+
{:else}
|
|
51
|
+
{name}
|
|
52
|
+
{/if}
|
|
47
53
|
</div>
|
|
48
54
|
<div class="relative z-20 mt-auto">
|
|
49
55
|
<blockquote class="space-y-2">
|
|
50
56
|
<p class="text-lg text-shadow-lg">
|
|
51
|
-
|
|
52
|
-
stunning designs to my clients faster than ever before. Highly
|
|
53
|
-
recommended!”
|
|
57
|
+
{quote}
|
|
54
58
|
</p>
|
|
55
|
-
<footer class="text-sm text-shadow-lg">
|
|
59
|
+
<footer class="text-sm text-shadow-lg">{quoteAuthor}</footer>
|
|
56
60
|
</blockquote>
|
|
57
61
|
</div>
|
|
58
62
|
<div class="absolute top-0 bottom-0 left-0 right-0 bg-primary-500/10 filter blur(2px)"></div>
|
|
59
63
|
</div>
|
|
60
|
-
<div class="lg:hidden absolute top-0 left-0 right-0 bottom-1/2 z-[-1]" style="
|
|
64
|
+
<div class="lg:hidden absolute top-0 left-0 right-0 bottom-1/2 z-[-1] {backgroundImageClass}" style="
|
|
61
65
|
mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
|
|
62
66
|
background-image:
|
|
63
|
-
url(
|
|
67
|
+
url({backgroundImage});
|
|
64
68
|
background-size: cover;
|
|
65
69
|
background-position: center">
|
|
66
70
|
<div class="text-white top-6 left-6 absolute text-lg font-medium z-20 text-shadow-lg">
|
|
67
|
-
|
|
71
|
+
{#if logo}
|
|
72
|
+
<img src={logo} alt="logo" class={logoClass} />
|
|
73
|
+
{:else}
|
|
74
|
+
{name}
|
|
75
|
+
{/if}
|
|
68
76
|
<blockquote class="space-y-2 mt-2 mr-4">
|
|
69
77
|
<p class="text-sm text-shadow-lg">
|
|
70
|
-
|
|
71
|
-
stunning designs to my clients faster than ever before. Highly
|
|
72
|
-
recommended!”
|
|
78
|
+
{quote}
|
|
73
79
|
</p>
|
|
74
|
-
<footer class="text-xs text-shadow-lg">
|
|
80
|
+
<footer class="text-xs text-shadow-lg">{quoteAuthor}</footer>
|
|
75
81
|
</blockquote>
|
|
76
82
|
</div>
|
|
77
83
|
<div class="absolute top-0 bottom-0 left-0 right-0 bg-primary-500/10 filter blur(2px)"></div>
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
|
|
3
|
-
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn/Button';
|
|
4
|
-
import { Input } from '@tanglemedia/svelte-starter-ui-shadcn/Input';
|
|
5
|
-
import { Label } from '@tanglemedia/svelte-starter-ui-shadcn/Label';
|
|
6
|
-
import * as Form from '@tanglemedia/svelte-starter-ui-shadcn/Form';
|
|
2
|
+
import { Button, Card, Input, Label, Form } from '@tanglemedia/svelte-starter-ui-shadcn';
|
|
7
3
|
import type { Snippet } from 'svelte';
|
|
8
4
|
|
|
9
5
|
interface Props {
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import
|
|
3
|
-
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn/Button';
|
|
4
|
-
import { Input } from '@tanglemedia/svelte-starter-ui-shadcn/Input';
|
|
5
|
-
import { Label } from '@tanglemedia/svelte-starter-ui-shadcn/Label';
|
|
6
|
-
import * as Form from '@tanglemedia/svelte-starter-ui-shadcn/Form';
|
|
2
|
+
import { Button, Card, Input, Label, Form } from '@tanglemedia/svelte-starter-ui-shadcn';
|
|
7
3
|
import type { Snippet } from 'svelte';
|
|
8
4
|
|
|
9
5
|
interface Props {
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import
|
|
3
|
-
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn/Button';
|
|
4
|
-
import { Input } from '@tanglemedia/svelte-starter-ui-shadcn/Input';
|
|
5
|
-
import { Label } from '@tanglemedia/svelte-starter-ui-shadcn/Label';
|
|
6
|
-
import * as Form from '@tanglemedia/svelte-starter-ui-shadcn/Form';
|
|
2
|
+
import { Button, Card, Input, Label, Form } from '@tanglemedia/svelte-starter-ui-shadcn';
|
|
7
3
|
|
|
8
4
|
interface Props {
|
|
9
5
|
superform: any;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import
|
|
3
|
-
import { Button } from '@tanglemedia/svelte-starter-ui-shadcn/Button';
|
|
4
|
-
import { Input } from '@tanglemedia/svelte-starter-ui-shadcn/Input';
|
|
5
|
-
import { Label } from '@tanglemedia/svelte-starter-ui-shadcn/Label';
|
|
6
|
-
import * as Form from '@tanglemedia/svelte-starter-ui-shadcn/Form';
|
|
2
|
+
import { Button, Card, Input, Label, Form } from '@tanglemedia/svelte-starter-ui-shadcn';
|
|
7
3
|
import type { Snippet } from 'svelte';
|
|
8
4
|
|
|
9
5
|
interface Props {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './is-mobile.svelte';
|
package/src/lib/index.ts
ADDED