Skip to content

Commit e43944c

Browse files
committed
v0.5.0
1 parent 2bfd9fd commit e43944c

File tree

94 files changed

+702
-604
lines changed

Some content is hidden

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

94 files changed

+702
-604
lines changed

CHANGELOG.md

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

3+
## 0.5.0
4+
5+
### Minor Changes
6+
7+
- fix: add missing attributes, target, disabled, etc.
8+
39
## 0.4.13
410

511
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-5-ui-lib",
3-
"version": "0.4.13",
3+
"version": "0.5.0",
44
"description": "A UI library for Svelte 5.",
55
"license": "MIT",
66
"main": "dist/index.js",

src/lib/alert/Alert.svelte

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,13 @@
131131
@component
132132
[Go to docs](https://svelte-5-ui-lib.codewithshin.com/)
133133
## Props
134-
@props: children: Snippet;
135-
@props:icon?: Snippet;
136-
@props:closeIcon?: any;
137-
@props:color?: ColorVariant; = 'primary';
138-
@props:border?: boolean;
139-
@props:rounded?: boolean; = true;
140-
@props:divclass?: string;
141-
@props:dismissable?: boolean;
142-
@props:defaultClass?: string;
134+
@prop children
135+
@prop icon
136+
@prop closeIcon
137+
@prop color = 'primary'
138+
@prop rounded = true
139+
@prop border
140+
@prop divclass
141+
@prop dismissable
142+
@prop ...attributes
143143
-->

src/lib/avatar/Avatar.svelte

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,16 @@
9494
@component
9595
[Go to docs](https://svelte-5-ui-lib.codewithshin.com/)
9696
## Props
97-
@props: children?: Snippet;
98-
@props:href?: string | undefined;
99-
@props:src?: string | undefined;
100-
@props:rounded?: boolean;
101-
@props:border?: boolean;
102-
@props:stacked?: boolean;
103-
@props:dot?: object | undefined;
104-
@props:alt?: string | undefined;
105-
@props:size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'none'; = 'md';
106-
@props:class?: string | undefined;
107-
@props:onclick?: () => void;
97+
@prop children
98+
@prop src
99+
@prop href
100+
@prop rounded
101+
@prop border
102+
@prop stacked
103+
@prop dot
104+
@prop alt
105+
@prop size = 'md'
106+
@prop class: classname
107+
@prop onclick
108+
@prop ...attributes
108109
-->

src/lib/badge/Badge.svelte

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,14 @@
132132
@component
133133
[Go to docs](https://svelte-5-ui-lib.codewithshin.com/)
134134
## Props
135-
@props: children: Snippet;
136-
@props:icon?: Snippet;
137-
@props:color?: ColorVariant; = 'primary';
138-
@props:large?: boolean; = false;
139-
@props:dismissable?: boolean; = false;
140-
@props:divclass?: string;
141-
@props:border?: boolean;
142-
@props:href?: string;
143-
@props:rounded?: boolean;
135+
@prop children
136+
@prop icon
137+
@prop color = 'primary'
138+
@prop large = false
139+
@prop dismissable = false
140+
@prop divclass
141+
@prop border
142+
@prop href
143+
@prop rounded
144+
@prop ...attributes
144145
-->

src/lib/banner/Banner.svelte

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,14 @@
8484
@component
8585
[Go to docs](https://svelte-5-ui-lib.codewithshin.com/)
8686
## Props
87-
@props: children: Snippet;
88-
@props:header?: Snippet;
89-
@props:id?: string;
90-
@props:position?: 'static' | 'fixed' | 'absolute' | 'relative' | 'sticky'; = 'sticky';
91-
@props:dismissable?: boolean; = true;
92-
@props:color?: ColorVariant; = 'gray';
93-
@props:bannerType?: 'default' | 'bottom' | 'cta' | 'signup' | 'info'; = 'default';
94-
@props:divclass?: string | undefined;
95-
@props:div2class?: string | undefined;
87+
@prop children
88+
@prop header
89+
@prop id
90+
@prop position = 'sticky'
91+
@prop dismissable = true
92+
@prop color = 'gray'
93+
@prop bannerType = 'default'
94+
@prop divclass
95+
@prop div2class
96+
@prop ...attributes
9697
-->

src/lib/bottom-navigation/BottomNav.svelte

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@
9494
@component
9595
[Go to docs](https://svelte-5-ui-lib.codewithshin.com/)
9696
## Props
97-
@props: children: Snippet;
98-
@props:header?: Snippet;
99-
@props:activeUrl?: string;
100-
@props:position?: 'static' | 'fixed' | 'absolute' | 'relative' | 'sticky'; = 'fixed';
101-
@props:navType?: BottomNavVariantType; = 'default';
102-
@props:divclass?: string;
103-
@props:div2class?: string;
104-
@props:activeClass?: string;
97+
@prop children
98+
@prop header
99+
@prop position = 'fixed'
100+
@prop navType = 'default'
101+
@prop divclass
102+
@prop div2class
103+
@prop activeClass
104+
@prop ...attributes
105105
-->

src/lib/bottom-navigation/BottomNavItem.svelte

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,14 @@
125125
@component
126126
[Go to docs](https://svelte-5-ui-lib.codewithshin.com/)
127127
## Props
128-
@props: children: Snippet;
129-
@props:btnName?: string;
130-
@props:appBtnPosition?: 'left' | 'middle' | 'right'; = 'middle';
131-
@props:activeClass?: string;
132-
@props:href?: string; = '';
133-
@props:exact?: boolean; = true;
134-
@props:btnclass?: string;
135-
@props:spanclass?: string;
128+
@prop children
129+
@prop btnName
130+
@prop appBtnPosition = 'middle'
131+
@prop target
132+
@prop activeClass
133+
@prop href = ''
134+
@prop exact = true
135+
@prop btnclass
136+
@prop spanclass
137+
@prop ...attributes
136138
-->

src/lib/breadcrumb/Breadcrumb.svelte

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@
5151
@component
5252
[Go to docs](https://svelte-5-ui-lib.codewithshin.com/)
5353
## Props
54-
@props: children: Snippet;
55-
@props:solid?: boolean; = false;
56-
@props:navclass?: string | undefined;
57-
@props:solidclass?: string | undefined;
58-
@props:olclass?: string | undefined;
59-
@props:ariaLabel?: string | undefined; = 'Breadcrumb';
60-
@props:class?: string | undefined;
54+
@prop children
55+
@prop solid = false
56+
@prop navclass
57+
@prop solidclass
58+
@prop olclass
59+
@prop ariaLabel = 'Breadcrumb'
60+
@prop class: classname
61+
@prop ...attributes
6162
-->

src/lib/breadcrumb/BreadcrumbItem.svelte

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,13 @@
9595
@component
9696
[Go to docs](https://svelte-5-ui-lib.codewithshin.com/)
9797
## Props
98-
@props: children: Snippet;
99-
@props:icon?: Snippet;
100-
@props:home?: boolean; = false;
101-
@props:href?: string | undefined;
102-
@props:a2class?: string | undefined;
103-
@props:spanclass?: string | undefined;
104-
@props:aclass?: string | undefined;
105-
@props:class?: string | undefined;
98+
@prop children
99+
@prop icon
100+
@prop home = false
101+
@prop href
102+
@prop a2class
103+
@prop spanclass
104+
@prop aclass
105+
@prop class: classname
106+
@prop ...attributes
106107
-->

0 commit comments

Comments
 (0)