File tree 9 files changed +146
-131
lines changed
9 files changed +146
-131
lines changed Original file line number Diff line number Diff line change 50
50
"prettier-plugin-svelte" : " ^3.2.7" ,
51
51
"prettier-plugin-tailwindcss" : " ^0.6.8" ,
52
52
"pretty-quick" : " ^4.0.0" ,
53
- "svelte" : " ^5.0.0-next.264 " ,
53
+ "svelte" : " ^5.15.0 " ,
54
54
"svelte-eslint-parser" : " ^0.42.0" ,
55
55
"typescript" : " ^5.6.3" ,
56
56
"typescript-eslint" : " ^8.10.0"
Original file line number Diff line number Diff line change 68
68
"remark-code-import" : " ^1.2.0" ,
69
69
"remark-gfm" : " ^4.0.0" ,
70
70
"rimraf" : " ^4.4.1" ,
71
- "runed" : " ^0.15.2" ,
72
71
"shiki" : " ^1.2.1" ,
73
- "svelte" : " ^5.0 .0" ,
72
+ "svelte" : " ^5.15 .0" ,
74
73
"svelte-check" : " ^4.0.5" ,
75
74
"svelte-local-storage-store" : " ^0.6.4" ,
76
75
"svelte-persisted-store" : " ^0.11.0" ,
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import { MediaQuery } from " runed " ;
2
+ import { MediaQuery } from " svelte/reactivity " ;
3
3
import * as Breadcrumb from " $lib/registry/default/ui/breadcrumb/index.js" ;
4
4
import * as Drawer from " $lib/registry/default/ui/drawer/index.js" ;
5
5
import * as DropdownMenu from " $lib/registry/default/ui/dropdown-menu/index.js" ;
30
30
<Breadcrumb .Separator />
31
31
{#if items .length > ITEMS_TO_DISPLAY }
32
32
<Breadcrumb .Item >
33
- {#if isDesktop .matches }
33
+ {#if isDesktop .current }
34
34
<DropdownMenu .Root bind:open >
35
35
<DropdownMenu .Trigger
36
36
class =" flex items-center gap-1"
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import { MediaQuery } from " runed " ;
2
+ import { MediaQuery } from " svelte/reactivity " ;
3
3
import * as Dialog from " $lib/registry/default/ui/dialog/index.js" ;
4
4
import * as Drawer from " $lib/registry/default/ui/drawer/index.js" ;
5
5
import { Input } from " $lib/registry/default/ui/input/index.js" ;
10
10
const isDesktop = new MediaQuery (" (min-width: 768px)" );
11
11
</script >
12
12
13
- {#if isDesktop .matches }
13
+ {#if isDesktop .current }
14
14
<Dialog .Root bind:open >
15
15
<Dialog .Trigger class ={buttonVariants ({ variant: " outline" })}>Edit Profile</Dialog .Trigger >
16
16
<Dialog .Content class =" sm:max-w-[425px]" >
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
2
import ChevronLeft from " lucide-svelte/icons/chevron-left" ;
3
3
import ChevronRight from " lucide-svelte/icons/chevron-right" ;
4
- import { MediaQuery } from " runed " ;
4
+ import { MediaQuery } from " svelte/reactivity " ;
5
5
import * as Pagination from " $lib/registry/default/ui/pagination/index.js" ;
6
6
7
7
const isDesktop = new MediaQuery (" (min-width: 768px)" );
8
8
9
9
const count = 20 ;
10
10
11
- const perPage = $derived (isDesktop .matches ? 3 : 8 );
12
- const siblingCount = $derived (isDesktop .matches ? 1 : 0 );
11
+ const perPage = $derived (isDesktop .current ? 3 : 8 );
12
+ const siblingCount = $derived (isDesktop .current ? 1 : 0 );
13
13
</script >
14
14
15
15
<Pagination .Root {count } {perPage } {siblingCount }>
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import { MediaQuery } from " runed " ;
2
+ import { MediaQuery } from " svelte/reactivity " ;
3
3
import * as Breadcrumb from " $lib/registry/new-york/ui/breadcrumb/index.js" ;
4
4
import * as Drawer from " $lib/registry/new-york/ui/drawer/index.js" ;
5
5
import * as DropdownMenu from " $lib/registry/new-york/ui/dropdown-menu/index.js" ;
30
30
<Breadcrumb .Separator />
31
31
{#if items .length > ITEMS_TO_DISPLAY }
32
32
<Breadcrumb .Item >
33
- {#if isDesktop .matches }
33
+ {#if isDesktop .current }
34
34
<DropdownMenu .Root bind:open >
35
35
<DropdownMenu .Trigger
36
36
class =" flex items-center gap-1"
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import { MediaQuery } from " runed " ;
2
+ import { MediaQuery } from " svelte/reactivity " ;
3
3
import * as Dialog from " $lib/registry/new-york/ui/dialog/index.js" ;
4
4
import * as Drawer from " $lib/registry/new-york/ui/drawer/index.js" ;
5
5
import { Input } from " $lib/registry/new-york/ui/input/index.js" ;
10
10
const isDesktop = new MediaQuery (" (min-width: 768px)" );
11
11
</script >
12
12
13
- {#if isDesktop .matches }
13
+ {#if isDesktop .current }
14
14
<Dialog .Root bind:open >
15
15
<Dialog .Trigger class ={buttonVariants ({ variant: " outline" })}>Edit Profile</Dialog .Trigger >
16
16
<Dialog .Content class =" sm:max-w-[425px]" >
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import { MediaQuery } from " runed " ;
2
+ import { MediaQuery } from " svelte/reactivity " ;
3
3
import * as Pagination from " $lib/registry/new-york/ui/pagination/index.js" ;
4
4
5
5
const isDesktop = new MediaQuery (" (min-width: 768px)" );
6
6
7
7
const count = 20 ;
8
- const perPage = $derived (isDesktop .matches ? 3 : 8 );
9
- const siblingCount = $derived (isDesktop .matches ? 1 : 0 );
8
+ const perPage = $derived (isDesktop .current ? 3 : 8 );
9
+ const siblingCount = $derived (isDesktop .current ? 1 : 0 );
10
10
</script >
11
11
12
12
<Pagination .Root {count } {perPage } {siblingCount }>
You can’t perform that action at this time.
0 commit comments