Skip to content

Commit 491d098

Browse files
committed
v0.11.1
1 parent 9587a49 commit 491d098

File tree

16 files changed

+61
-51
lines changed

16 files changed

+61
-51
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## 0.11.1
4+
5+
### Patch Changes
6+
7+
- fix: BottomNavItem type
8+
- 8c325984 fix: Card
9+
- 2020074f docs: coverage update
10+
- cbd25300 fix: BottomNavItem: types, docs: tooltip to bottom-nav examples
11+
- 1b97cb19 fix: BottomNav: remove attribute href from element button
12+
- b003187e fix: package.json "node": "^20.0.0"
13+
314
## 0.11.0
415

516
### Minor Changes

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-5-ui-lib",
3-
"version": "0.11.0",
3+
"version": "0.11.1",
44
"description": "Svelte 5 UI Lib is a UI library built from scratch to leverage Svelte 5's runes system, creating smooth, reactive components.",
55
"license": "MIT",
66
"main": "dist/index.js",
@@ -641,4 +641,4 @@
641641
},
642642
"./package.json": "./package.json"
643643
}
644-
}
644+
}

src/lib/bottom-navigation/BottomNav.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@
4444
@props:outerClass: string;
4545
@props:innerClass: string;
4646
@props:activeClass: string;
47-
@props:activeUrl: string = '';
47+
@props:activeUrl: string = "";
4848
-->

src/lib/bottom-navigation/BottomNavItem.svelte

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
@component
7272
[Go to docs](https://svelte-5-ui-lib.codewithshin.com/)
7373
## Props
74-
@props: children: Snippet;
75-
@props:btnName: string;
76-
@props:appBtnPosition: AppBtn"static" | "fixed" | "absolute" | "relative" | "sticky" | undefined = "middle";
77-
@props:target: string;
78-
@props:activeClass: string;
79-
@props:href: string = "";
80-
@props:btnClass: string;
81-
@props:spanClass: string;
74+
@props: children: any;
75+
@props:btnName: any;
76+
@props:appBtnPosition: any = "middle";
77+
@props:target: any;
78+
@props:activeClass: any;
79+
@props:href: any = "";
80+
@props:btnClass: any;
81+
@props:spanClass: any;
8282
-->

src/lib/cards/Card.svelte

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,16 @@
6060
@component
6161
[Go to docs](https://svelte-5-ui-lib.codewithshin.com/)
6262
## Props
63-
@props: children: Snippet;
64-
@props:href: string;
65-
@props:color: "gray" | "primary" | "secondary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | undefined = "gray";
66-
@props:horizontal: boolean = false;
67-
@props:shadow: "sm" | "normal" | "lg" | "md" | "xl" | "2xl" | "inner" | undefined = "md";
68-
@props:reverse: boolean = false;
69-
@props:img: {
70-
src: string | undefined | null;
71-
@props:padding: "sm" | "lg" | "md" | "xl" | "xs" | "none" | undefined = "lg";
72-
@props:size: "sm" | "md" | "lg" | "xl" | "xs" | undefined = "sm";
63+
@props: children: any;
64+
@props:href: string } & HTMLAnchorAttributes) | ({ href?: never } & HTMLAttributes<HTMLDivElement>));
65+
@props:color: any = "gray";
66+
@props:horizontal: any = false;
67+
@props:shadow: any = "md";
68+
@props:reverse: any = false;
69+
@props:img: any;
70+
@props:padding: any = "lg";
71+
@props:size: any = "sm";
7372
@props:class: string;
74-
@props:imgClass: string;
75-
@props:contentClass: string;
76-
@props:onclick: () => void;
73+
@props:imgClass: any;
74+
@props:contentClass: any;
7775
-->

src/lib/dropdown/Dropdown.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@
3636
@props:backdropClass: string;
3737
@props:params: ParamsType;
3838
@props:transition: TransitionFunc = fly;
39-
@props:activeUrl: string = '';
39+
@props:activeUrl: string = "";
4040
-->

src/lib/nav/NavUl.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
[Go to docs](https://svelte-5-ui-lib.codewithshin.com/)
2828
## Props
2929
@props: children: Snippet;
30-
@props:activeUrl: string = '';
30+
@props:activeUrl: string = "";
3131
@props:class: string;
3232
-->

src/lib/sidebar/Sidebar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@
9090
@props:ariaLabel: string;
9191
@props:nonActiveClass: string;
9292
@props:activeClass: string;
93-
@props:activeUrl: string = '';
93+
@props:activeUrl: string = "";
9494
@props:class: string;
9595
-->

src/lib/sidebar/SidebarItem.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,6 @@
5050
@props:activeClass: string;
5151
@props:nonActiveClass: string;
5252
@props:aClass: string;
53+
@props:active: boolean;
5354
@props:class: string;
5455
-->

src/routes/component-data/BottomNav.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
["outerClass", "string", ""],
99
["innerClass", "string", ""],
1010
["activeClass", "string", ""],
11-
["activeUrl", "string", "''"]
11+
["activeUrl", "string", "\"\""]
1212
]
1313
}

0 commit comments

Comments
 (0)