Skip to content

Commit 412d0e2

Browse files
committed
> Gitignore updated at 2024-08-17 18:16:32
1 parent def0adc commit 412d0e2

File tree

118 files changed

+616
-429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+616
-429
lines changed

src/lib/accordion/Accordion.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class: className,
1717
transition = undefined,
1818
params,
19-
...attributes
19+
...restProps
2020
}: Props = $props();
2121
2222
const ctx: AccordionCtxType = {
@@ -39,7 +39,7 @@
3939
);
4040
</script>
4141

42-
<div {...attributes} class={accordionClass} color="none">
42+
<div {...restProps} class={accordionClass} color="none">
4343
{@render children()}
4444
</div>
4545

@@ -55,5 +55,5 @@
5555
@prop class: className
5656
@prop transition = undefined
5757
@prop params
58-
@prop ...attributes
58+
@prop ...restProps
5959
-->

src/lib/alert/Alert.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
transition = fade,
1717
params,
1818
onclick,
19-
...attributes
19+
...restProps
2020
}: Props = $props();
2121
2222
let divCls = $derived(
@@ -35,7 +35,7 @@
3535
{#if alertStatus}
3636
<div
3737
role="alert"
38-
{...attributes}
38+
{...restProps}
3939
transition:transition={params}
4040
class={divCls}
4141
>
@@ -103,5 +103,5 @@
103103
@prop transition = fade
104104
@prop params
105105
@prop onclick
106-
@prop ...attributes
106+
@prop ...restProps
107107
-->

src/lib/avatar/Avatar.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
alt,
1515
size = 'md',
1616
onclick,
17-
...attributes
17+
...restProps
1818
}: Props = $props();
1919
2020
dot = dot && { placement: 'top-right', color: 'gray', size: 'lg', ...dot };
@@ -36,7 +36,7 @@
3636
role={href ? 'link' : 'img'}
3737
{onclick}
3838
{href}
39-
{...attributes}
39+
{...restProps}
4040
class={avatarClass}
4141
>
4242
{#if src}
@@ -62,7 +62,7 @@
6262
{/if}
6363
</svelte:element>
6464
{:else}
65-
<img {alt} {src} {...attributes} class={avatarClass} />
65+
<img {alt} {src} {...restProps} class={avatarClass} />
6666
{/if}
6767

6868
<!--
@@ -80,5 +80,5 @@
8080
@prop alt
8181
@prop size = 'md'
8282
@prop onclick
83-
@prop ...attributes
83+
@prop ...restProps
8484
-->

src/lib/badge/Badge.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
transition = fade,
1919
params,
2020
onclick,
21-
...attributes
21+
...restProps
2222
}: Props = $props();
2323
2424
let badgeClass = $derived(
@@ -34,7 +34,7 @@
3434
</script>
3535

3636
{#if badgeStatus}
37-
<div {...attributes} transition:transition={params} class={badgeClass}>
37+
<div {...restProps} transition:transition={params} class={badgeClass}>
3838
{#if href}
3939
<a {href}>
4040
{@render children()}
@@ -95,5 +95,5 @@
9595
@prop transition = fade
9696
@prop params
9797
@prop onclick
98-
@prop ...attributes
98+
@prop ...restProps
9999
-->

src/lib/banner/Banner.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
innerClass,
1616
transition = fade,
1717
params,
18-
...attributes
18+
...restProps
1919
}: Props = $props();
2020
2121
const { base, insideDiv } = banner({
@@ -36,7 +36,7 @@
3636
<div
3737
tabindex="-1"
3838
class={bannerClass}
39-
{...attributes}
39+
{...restProps}
4040
transition:transition={params}
4141
>
4242
{#if header}
@@ -75,5 +75,5 @@
7575
@prop innerClass
7676
@prop transition = fade
7777
@prop params
78-
@prop ...attributes
78+
@prop ...restProps
7979
-->

src/lib/bottom-navigation/BottomNav.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
outerClass,
1616
innerClass,
1717
activeClass,
18-
...attributes
18+
...restProps
1919
}: Props = $props();
2020
2121
const activeCls = twMerge(
@@ -32,7 +32,7 @@
3232
const innerCls = $derived(inner({ class: innerClass }));
3333
</script>
3434

35-
<div {...attributes} class={outerCls}>
35+
<div {...restProps} class={outerCls}>
3636
{#if header}
3737
{@render header()}
3838
{/if}
@@ -53,5 +53,5 @@
5353
@prop outerClass
5454
@prop innerClass
5555
@prop activeClass
56-
@prop ...attributes
56+
@prop ...restProps
5757
-->

src/lib/bottom-navigation/BottomNavItem.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
exact = true,
2020
btnClass,
2121
spanClass,
22-
...attributes
22+
...restProps
2323
}: Props = $props();
2424
2525
const navType: BottomNavVariantType = getContext('navType');
@@ -56,7 +56,7 @@
5656
{href}
5757
{target}
5858
role={href ? 'link' : 'button'}
59-
{...attributes}
59+
{...restProps}
6060
class={btnCls}
6161
>
6262
{@render children()}
@@ -76,5 +76,5 @@
7676
@prop exact = true
7777
@prop btnClass
7878
@prop spanClass
79-
@prop ...attributes
79+
@prop ...restProps
8080
-->

src/lib/breadcrumb/Breadcrumb.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
solidClass,
99
olClass,
1010
ariaLabel = 'Breadcrumb',
11-
...attributes
11+
...restProps
1212
}: Props = $props();
1313
const { base, list } = breadcrumb({ solid });
1414
let classNav = $derived(base({ class: navClass }));
1515
let classList = $derived(list({ class: olClass }));
1616
</script>
1717

18-
<nav aria-label={ariaLabel} {...attributes} class={classNav}>
18+
<nav aria-label={ariaLabel} {...restProps} class={classNav}>
1919
<ol class={classList}>
2020
{@render children()}
2121
</ol>
@@ -31,5 +31,5 @@
3131
@prop solidClass
3232
@prop olClass
3333
@prop ariaLabel = 'Breadcrumb'
34-
@prop ...attributes
34+
@prop ...restProps
3535
-->

src/lib/breadcrumb/BreadcrumbItem.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
spanClass,
1212
homeClass,
1313
class: className,
14-
...attributes
14+
...restProps
1515
}: Props = $props();
1616
1717
const { item, icon: breacrumbIcon } = breadcrumb({
@@ -21,7 +21,7 @@
2121
});
2222
</script>
2323

24-
<li class={item()} {...attributes}>
24+
<li class={item()} {...restProps}>
2525
{#if home}
2626
<a class={item({ home: true, class: homeClass })} {href}>
2727
{#if icon}
@@ -86,5 +86,5 @@
8686
@prop spanClass
8787
@prop homeClass
8888
@prop class: className
89-
@prop ...attributes
89+
@prop ...restProps
9090
-->

src/lib/buttongroup/ButtonGroup.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
children,
77
size = 'md',
88
class: className,
9-
...attributes
9+
...restProps
1010
}: Props = $props();
1111
1212
let groupClass = $derived(buttonGroup({ size, className }));
1313
setContext('group', size);
1414
</script>
1515

16-
<div {...attributes} class={groupClass} role="group">
16+
<div {...restProps} class={groupClass} role="group">
1717
{@render children()}
1818
</div>
1919

@@ -24,5 +24,5 @@
2424
@prop children
2525
@prop size = 'md'
2626
@prop class: className
27-
@prop ...attributes
27+
@prop ...restProps
2828
-->

0 commit comments

Comments
 (0)