flowbite-svelte 0.14.14 → 0.15.0
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/CHANGELOG.md +28 -0
- package/LICENSE +22 -0
- package/README.md +84 -76
- package/accordions/AccordionDefault.svelte +1 -1
- package/accordions/AccordionItem.svelte +1 -1
- package/alerts/Alert.svelte +1 -1
- package/alerts/BorderAlert.svelte +1 -1
- package/alerts/InfoAlert.svelte +1 -1
- package/auth/Confirm.svelte +1 -1
- package/auth/ForgotPassword.svelte +1 -1
- package/auth/Login.svelte +1 -1
- package/auth/Register.svelte +1 -1
- package/auth/Reset.svelte +1 -1
- package/avatar/Avatar.svelte +1 -1
- package/badges/Badge.svelte +1 -1
- package/badges/BadgeIcon.svelte +1 -1
- package/badges/BadgeLink.svelte +1 -1
- package/breadcrumbs/Breadcrumb.svelte +1 -1
- package/buttongroups/ButtonGroup.svelte +5 -5
- package/buttongroups/ButtonGroupOutline.svelte +5 -5
- package/buttons/Button.svelte +1 -1
- package/buttons/ColorShadowButton.svelte +1 -1
- package/buttons/GradientDuotoneButton.svelte +1 -1
- package/buttons/GradientMonochromeButton.svelte +1 -1
- package/buttons/GradientOutlineButton.svelte +1 -1
- package/cards/Card.svelte +1 -1
- package/cards/CtaCard.svelte +1 -1
- package/cards/EcommerceCard.svelte +1 -1
- package/cards/HorizontalCard.svelte +1 -1
- package/cards/InteractiveCard.svelte +1 -1
- package/cards/ListCard.svelte +1 -1
- package/cards/SignInCard.svelte +1 -1
- package/carousels/Caption.svelte +1 -1
- package/carousels/Carousel.svelte +16 -60
- package/carousels/Carousel.svelte.d.ts +2 -0
- package/carousels/CarouselTransition.svelte +16 -60
- package/carousels/CarouselTransition.svelte.d.ts +2 -0
- package/carousels/Indicator.svelte +1 -1
- package/carousels/Slide.svelte +1 -1
- package/carousels/Thumbnail.svelte +1 -1
- package/darkmode/DarkMode.svelte +1 -1
- package/dropdowns/DropdownDefault.svelte +1 -1
- package/dropdowns/ImgDropdown.svelte +1 -1
- package/footer/LogoFooter.svelte +1 -1
- package/footer/SimpleFooter.svelte +1 -1
- package/footer/SitemapFooter.svelte +2 -4
- package/footer/SocialMediaFooter.svelte +2 -2
- package/forms/Checkbox.svelte +1 -1
- package/forms/Fileupload.svelte +1 -1
- package/forms/FloatingLabelInput.svelte +1 -1
- package/forms/Iconinput.svelte +4 -3
- package/forms/Iconinput.svelte.d.ts +1 -0
- package/forms/Input.svelte +1 -1
- package/forms/Radio.svelte +1 -1
- package/forms/Select.svelte +1 -1
- package/forms/SingleCheckbox.svelte +1 -1
- package/forms/Textarea.svelte +1 -1
- package/forms/Toggle.svelte +1 -1
- package/list-group/List.svelte +5 -5
- package/modals/ExtraLargeModal.svelte +1 -1
- package/modals/LargeModal.svelte +1 -1
- package/modals/MediumModal.svelte +1 -1
- package/modals/ModalButton.svelte +1 -1
- package/modals/SignInModal.svelte +1 -1
- package/modals/SmallModal.svelte +1 -1
- package/navbar/DropdownNavbar.svelte +1 -1
- package/navbar/NavDropdown.svelte +1 -1
- package/navbar/Navbar.svelte +1 -1
- package/package.json +4 -3
- package/paginations/Next.svelte +1 -1
- package/paginations/Pagination.svelte +1 -1
- package/paginations/Previous.svelte +1 -1
- package/paginations/TableData.svelte +1 -1
- package/progressbars/Progressbar.svelte +1 -1
- package/ratings/AdvancedRating.svelte +1 -1
- package/ratings/Rating.svelte +3 -3
- package/ratings/RatingComment.svelte +1 -1
- package/ratings/ScoreRating.svelte +1 -1
- package/sidebars/Sidebar.svelte +5 -14
- package/sidebars/SidebarDropdown.svelte +5 -27
- package/spinners/Spinner.svelte +1 -1
- package/spinners/SpinnerButton.svelte +1 -1
- package/tables/Table.svelte +1 -1
- package/tables/TableCheckbox.svelte +1 -1
- package/tables/TableDefaultRow.svelte +1 -1
- package/tables/TableSearch.svelte +1 -1
- package/tabs/DefaultTabs.svelte +1 -1
- package/tabs/FullWidthTabs.svelte +1 -1
- package/tabs/IconTabs.svelte +3 -3
- package/tabs/InteractiveTabHead.svelte +1 -1
- package/tabs/InteractiveTabs.svelte +1 -1
- package/tabs/PillTabs.svelte +1 -1
- package/tabs/TabContent.svelte +1 -1
- package/tabs/UnderlineTabs.svelte +1 -1
- package/timelines/Activity.svelte +1 -1
- package/timelines/ActivityItem.svelte +1 -1
- package/timelines/Group.svelte +1 -1
- package/timelines/GroupItem.svelte +1 -1
- package/timelines/Timeline.svelte +1 -1
- package/timelines/TimelineHorizontal.svelte +1 -1
- package/timelines/TimelineItem.svelte +1 -1
- package/timelines/TimelineItemHorizontal.svelte +6 -20
- package/timelines/TimelineItemVertical.svelte +8 -34
- package/toasts/Toast.svelte +1 -1
- package/tooltips/LightTooltip.svelte +1 -1
- package/tooltips/Tooltip.svelte +1 -1
- package/types.d.ts +11 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.15.0](https://github.com/themesberg/flowbite-svelte/compare/v0.14.17...v0.15.0) (2022-04-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* update props dir files ([e52cfcb](https://github.com/themesberg/flowbite-svelte/commit/e52cfcbba6ce7fae124803f670ba280e95c96e85))
|
|
11
|
+
|
|
12
|
+
### [0.14.17](https://github.com/themesberg/flowbite-svelte/compare/v0.14.16...v0.14.17) (2022-04-25)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* update heroicons ([9a96fca](https://github.com/themesberg/flowbite-svelte/commit/9a96fca12b1e3adc61088a56ae2c3d3ad65ceb67))
|
|
18
|
+
|
|
19
|
+
### [0.14.16](https://github.com/themesberg/flowbite-svelte/compare/v0.14.15...v0.14.16) (2022-04-24)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* update svelte to 3.47.0 ([2c51f1c](https://github.com/themesberg/flowbite-svelte/commit/2c51f1c21907f7a977249e3dfe7c2fe46dd85553))
|
|
25
|
+
|
|
26
|
+
### [0.14.15](https://github.com/themesberg/flowbite-svelte/compare/v0.14.14...v0.14.15) (2022-04-23)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* add loop to carousel components ([0ae0d66](https://github.com/themesberg/flowbite-svelte/commit/0ae0d66aaf74c7b588978ce88ab7c5117ee4a4e2))
|
|
32
|
+
|
|
5
33
|
### [0.14.14](https://github.com/themesberg/flowbite-svelte/compare/v0.14.13...v0.14.14) (2022-04-21)
|
|
6
34
|
|
|
7
35
|
|
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Shinichi Okada
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
package/README.md
CHANGED
|
@@ -1,162 +1,170 @@
|
|
|
1
1
|
# FLOWBITE-SVELTE
|
|
2
2
|
|
|
3
|
-
[
|
|
3
|
+
[](https://www.npmjs.com/package/flowbite-svelte)
|
|
4
|
+
[](https://www.npmjs.com/package/flowbite-svelte)
|
|
5
|
+
[](https://github.com/themesberg/flowbite-svelte/releases)
|
|
6
|
+
[](https://github.com/themesberg/flowbite-svelte/blob/main/LICENSE)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
[Flowbite-Svelte](https://flowbite-svelte.com/) is an official Flowbite component library for Svelte. All interactivities are handled by Svelte.
|
|
4
11
|
|
|
5
12
|
## Installation
|
|
6
13
|
|
|
7
|
-
- [Getting started](https://flowbite-svelte.
|
|
8
|
-
- [About](https://flowbite-svelte.
|
|
9
|
-
- [Type list](https://flowbite-svelte.
|
|
10
|
-
- [CLI](https://flowbite-svelte.
|
|
14
|
+
- [Getting started](https://flowbite-svelte.com/getting-started)
|
|
15
|
+
- [About](https://flowbite-svelte.com/about)
|
|
16
|
+
- [Type list](https://flowbite-svelte.com/type-list)
|
|
17
|
+
- [CLI](https://flowbite-svelte.com/cli)
|
|
11
18
|
|
|
12
19
|
## Accordion components
|
|
13
20
|
|
|
14
|
-
- [Default accordion](https://flowbite-svelte.
|
|
15
|
-
- [Icon accordion](https://flowbite-svelte.
|
|
21
|
+
- [Default accordion](https://flowbite-svelte.com/accordions/default)
|
|
22
|
+
- [Icon accordion](https://flowbite-svelte.com/accordions/icon-accordion)
|
|
16
23
|
|
|
17
24
|
## Alert components
|
|
18
25
|
|
|
19
|
-
- [Default alert](https://flowbite-svelte.
|
|
20
|
-
- [Border alert](https://flowbite-svelte.
|
|
21
|
-
- [Information alert](https://flowbite-svelte.
|
|
22
|
-
- [Animation alert](https://flowbite-svelte.
|
|
26
|
+
- [Default alert](https://flowbite-svelte.com/alerts/default-alert)
|
|
27
|
+
- [Border alert](https://flowbite-svelte.com/alerts/border-alert)
|
|
28
|
+
- [Information alert](https://flowbite-svelte.com/alerts/information-alert)
|
|
29
|
+
- [Animation alert](https://flowbite-svelte.com/alerts/animation)
|
|
23
30
|
|
|
24
31
|
## Avatar components
|
|
25
32
|
|
|
26
|
-
- [Avatar](https://flowbite-svelte.
|
|
33
|
+
- [Avatar](https://flowbite-svelte.com/avatar)
|
|
27
34
|
|
|
28
35
|
## Badges components
|
|
29
36
|
|
|
30
|
-
- [Default badge](https://flowbite-svelte.
|
|
31
|
-
- [Icon badge](https://flowbite-svelte.
|
|
32
|
-
- [Link badge](https://flowbite-svelte.
|
|
37
|
+
- [Default badge](https://flowbite-svelte.com/badges/default)
|
|
38
|
+
- [Icon badge](https://flowbite-svelte.com/badges/badge-icon)
|
|
39
|
+
- [Link badge](https://flowbite-svelte.com/badges/badge-link)
|
|
33
40
|
|
|
34
41
|
## Breadcrumb components
|
|
35
42
|
|
|
36
|
-
- [Breadcrumb](https://flowbite-svelte.
|
|
43
|
+
- [Breadcrumb](https://flowbite-svelte.com/breadcrumbs)
|
|
37
44
|
|
|
38
45
|
## Button group compnents
|
|
39
46
|
|
|
40
|
-
- [Default button group](https://flowbite-svelte.
|
|
41
|
-
- [Outline button group](https://flowbite-svelte.
|
|
47
|
+
- [Default button group](https://flowbite-svelte.com/button-groups/default)
|
|
48
|
+
- [Outline button group](https://flowbite-svelte.com/button-groups/outline)
|
|
42
49
|
|
|
43
50
|
## Button components
|
|
44
51
|
|
|
45
|
-
- [Setup](https://flowbite-svelte.
|
|
46
|
-
- [Default Button](https://flowbite-svelte.
|
|
47
|
-
- [Colored Shadow Button](https://flowbite-svelte.
|
|
48
|
-
- [Gradient Duotone Button](https://flowbite-svelte.
|
|
49
|
-
- [Gradient Monochrome Button](https://flowbite-svelte.
|
|
50
|
-
- [Gradietn Outline Button](https://flowbite-svelte.
|
|
51
|
-
- [Outlined Button](https://flowbite-svelte.
|
|
52
|
-
- [Rounded Button](https://flowbite-svelte.
|
|
52
|
+
- [Setup](https://flowbite-svelte.com/buttons/setup)
|
|
53
|
+
- [Default Button](https://flowbite-svelte.com/buttons/default)
|
|
54
|
+
- [Colored Shadow Button](https://flowbite-svelte.com/buttons/colored-shadow)
|
|
55
|
+
- [Gradient Duotone Button](https://flowbite-svelte.com/buttons/gradient-duotone)
|
|
56
|
+
- [Gradient Monochrome Button](https://flowbite-svelte.com/buttons/gradient-monochrome)
|
|
57
|
+
- [Gradietn Outline Button](https://flowbite-svelte.com/buttons/gradient-outline)
|
|
58
|
+
- [Outlined Button](https://flowbite-svelte.com/buttons/outlined)
|
|
59
|
+
- [Rounded Button](https://flowbite-svelte.com/buttons/rounded)
|
|
53
60
|
|
|
54
61
|
## Card components
|
|
55
62
|
|
|
56
|
-
- [Default Card](https://flowbite-svelte.
|
|
57
|
-
- [CTA Card](https://flowbite-svelte.
|
|
58
|
-
- [Ecommerce Card](https://flowbite-svelte.
|
|
59
|
-
- [Horizontal Card](https://flowbite-svelte.
|
|
60
|
-
- [Interactive Card](https://flowbite-svelte.
|
|
61
|
-
- [List Card](https://flowbite-svelte.
|
|
62
|
-
- [Signin Card](https://flowbite-svelte.
|
|
63
|
+
- [Default Card](https://flowbite-svelte.com/cards/card)
|
|
64
|
+
- [CTA Card](https://flowbite-svelte.com/cards/cta)
|
|
65
|
+
- [Ecommerce Card](https://flowbite-svelte.com/cards/ecommerce)
|
|
66
|
+
- [Horizontal Card](https://flowbite-svelte.com/cards/horizontal)
|
|
67
|
+
- [Interactive Card](https://flowbite-svelte.com/cards/interactive)
|
|
68
|
+
- [List Card](https://flowbite-svelte.com/cards/list)
|
|
69
|
+
- [Signin Card](https://flowbite-svelte.com/cards/signin)
|
|
63
70
|
|
|
64
71
|
## Carousel components
|
|
65
72
|
|
|
66
|
-
- [Carousel](https://flowbite-svelte.
|
|
67
|
-
- [Carousel with transition](https://flowbite-svelte.
|
|
73
|
+
- [Carousel](https://flowbite-svelte.com/carousels/default)
|
|
74
|
+
- [Carousel with transition](https://flowbite-svelte.com/carousels/transition)
|
|
68
75
|
|
|
69
76
|
## Dark mode components
|
|
70
77
|
|
|
71
|
-
- [Dark mode](https://flowbite-svelte.
|
|
78
|
+
- [Dark mode](https://flowbite-svelte.com/darkmode)
|
|
72
79
|
|
|
73
80
|
## Dropdown components
|
|
74
81
|
|
|
75
|
-
- [Dropdown](https://flowbite-svelte.
|
|
76
|
-
- [Dropdown with Image](https://flowbite-svelte.
|
|
82
|
+
- [Dropdown](https://flowbite-svelte.com/dropdowns/default)
|
|
83
|
+
- [Dropdown with Image](https://flowbite-svelte.com/dropdowns/image)
|
|
77
84
|
|
|
78
85
|
## Form components
|
|
79
86
|
|
|
80
|
-
- [Forms](https://flowbite-svelte.
|
|
87
|
+
- [Forms](https://flowbite-svelte.com/forms)
|
|
81
88
|
|
|
82
89
|
## Footer components
|
|
83
90
|
|
|
84
|
-
- [Default Footer](https://flowbite-svelte.
|
|
85
|
-
- [Footer with Logo](https://flowbite-svelte.
|
|
86
|
-
- [Footer with Sitemap](https://flowbite-svelte.
|
|
87
|
-
- [Footer with Socialmedia](https://flowbite-svelte.
|
|
91
|
+
- [Default Footer](https://flowbite-svelte.com/footer/default)
|
|
92
|
+
- [Footer with Logo](https://flowbite-svelte.com/footer/logo)
|
|
93
|
+
- [Footer with Sitemap](https://flowbite-svelte.com/footer/sitemap)
|
|
94
|
+
- [Footer with Socialmedia](https://flowbite-svelte.com/footer/socialmedia)
|
|
88
95
|
|
|
89
96
|
## Icons components
|
|
90
97
|
|
|
91
|
-
- [Heroicons](https://flowbite-svelte.
|
|
92
|
-
- [Simpleicons](https://flowbite-svelte.
|
|
98
|
+
- [Heroicons](https://flowbite-svelte.com/icons/heroicons)
|
|
99
|
+
- [Simpleicons](https://flowbite-svelte.com/icons/simple-icons)
|
|
100
|
+
- [Feathericons](https://flowbite-svelte.com/icons/feathericons)
|
|
93
101
|
|
|
94
102
|
## List group components
|
|
95
103
|
|
|
96
|
-
- [List group](https://flowbite-svelte.
|
|
104
|
+
- [List group](https://flowbite-svelte.com/list-group)
|
|
97
105
|
|
|
98
106
|
## Modal components
|
|
99
107
|
|
|
100
|
-
- [Small Modal](https://flowbite-svelte.
|
|
101
|
-
- [Medium Modal](https://flowbite-svelte.
|
|
102
|
-
- [Large Modal](https://flowbite-svelte.
|
|
103
|
-
- [Extra Large Modal](https://flowbite-svelte.
|
|
104
|
-
- [Signin Modal](https://flowbite-svelte.
|
|
105
|
-
- [All Modals](https://flowbite-svelte.
|
|
108
|
+
- [Small Modal](https://flowbite-svelte.com/modals/small)
|
|
109
|
+
- [Medium Modal](https://flowbite-svelte.com/modals/medium)
|
|
110
|
+
- [Large Modal](https://flowbite-svelte.com/modals/large)
|
|
111
|
+
- [Extra Large Modal](https://flowbite-svelte.com/modals/extra-large)
|
|
112
|
+
- [Signin Modal](https://flowbite-svelte.com/modals/signin)
|
|
113
|
+
- [All Modals](https://flowbite-svelte.com/modals/all-modals)
|
|
106
114
|
|
|
107
115
|
## Navbar components
|
|
108
116
|
|
|
109
|
-
- [Default Navbar](https://flowbite-svelte.
|
|
110
|
-
- [Dropdown Navbar](https://flowbite-svelte.
|
|
117
|
+
- [Default Navbar](https://flowbite-svelte.com/navbars/default)
|
|
118
|
+
- [Dropdown Navbar](https://flowbite-svelte.com/navbars/dropdown)
|
|
111
119
|
|
|
112
120
|
## Pagination components
|
|
113
121
|
|
|
114
|
-
- [Pagination](https://flowbite-svelte.
|
|
122
|
+
- [Pagination](https://flowbite-svelte.com/paginations)
|
|
115
123
|
|
|
116
124
|
## Progress bar
|
|
117
125
|
|
|
118
|
-
- [Probress bar](https://flowbite-svelte.
|
|
126
|
+
- [Probress bar](https://flowbite-svelte.com/progressbars)
|
|
119
127
|
|
|
120
128
|
## Sidebar components
|
|
121
129
|
|
|
122
|
-
- [Sidebar](https://flowbite-svelte.
|
|
130
|
+
- [Sidebar](https://flowbite-svelte.com/sidebars)
|
|
123
131
|
|
|
124
132
|
## Spinner components
|
|
125
133
|
|
|
126
|
-
- [Default Spinner](https://flowbite-svelte.
|
|
127
|
-
- [Button Spinner](https://flowbite-svelte.
|
|
134
|
+
- [Default Spinner](https://flowbite-svelte.com/spinners/default)
|
|
135
|
+
- [Button Spinner](https://flowbite-svelte.com/spinners/button-spinner)
|
|
128
136
|
|
|
129
137
|
## Tab components
|
|
130
138
|
|
|
131
|
-
- [Default Tabs](https://flowbite-svelte.
|
|
132
|
-
- [Underline Tabs](https://flowbite-svelte.
|
|
133
|
-
- [Icon Tabs](https://flowbite-svelte.
|
|
134
|
-
- [Full width Tabs](https://flowbite-svelte.
|
|
135
|
-
- [Interactive Tabs](https://flowbite-svelte.
|
|
136
|
-
- [Interactive Tabs 2](https://flowbite-svelte.
|
|
137
|
-
- [Multiple Interactive Tabs](https://flowbite-svelte.
|
|
138
|
-
- [Pill Tabs](https://flowbite-svelte.
|
|
139
|
+
- [Default Tabs](https://flowbite-svelte.com/tabs/default-tabs)
|
|
140
|
+
- [Underline Tabs](https://flowbite-svelte.com/tabs/underline-tabs)
|
|
141
|
+
- [Icon Tabs](https://flowbite-svelte.com/tabs/icon-tabs)
|
|
142
|
+
- [Full width Tabs](https://flowbite-svelte.com/tabs/full-width-tabs)
|
|
143
|
+
- [Interactive Tabs](https://flowbite-svelte.com/tabs/interactive-tabs)
|
|
144
|
+
- [Interactive Tabs 2](https://flowbite-svelte.com/tabs/interactive-tabs-2)
|
|
145
|
+
- [Multiple Interactive Tabs](https://flowbite-svelte.com/tabs/multiple-interactive-tabs)
|
|
146
|
+
- [Pill Tabs](https://flowbite-svelte.com/tabs/pilltabs)
|
|
139
147
|
|
|
140
148
|
## Table components
|
|
141
149
|
|
|
142
|
-
- [Tables](https://flowbite-svelte.
|
|
150
|
+
- [Tables](https://flowbite-svelte.com/tables)
|
|
143
151
|
|
|
144
152
|
## Timeline components
|
|
145
153
|
|
|
146
|
-
- [Default timeline](https://flowbite-svelte.
|
|
147
|
-
- [Vetical timeline](https://flowbite-svelte.
|
|
148
|
-
- [Horizontal timeline](https://flowbite-svelte.
|
|
149
|
-
- [Activity log](https://flowbite-svelte.
|
|
150
|
-
- [Grouped timeline](https://flowbite-svelte.
|
|
154
|
+
- [Default timeline](https://flowbite-svelte.com/timelines/default)
|
|
155
|
+
- [Vetical timeline](https://flowbite-svelte.com/timelines/vertical)
|
|
156
|
+
- [Horizontal timeline](https://flowbite-svelte.com/timelines/horizontal)
|
|
157
|
+
- [Activity log](https://flowbite-svelte.com/timelines/activity)
|
|
158
|
+
- [Grouped timeline](https://flowbite-svelte.com/timelines/group)
|
|
151
159
|
|
|
152
160
|
## Toast components
|
|
153
161
|
|
|
154
|
-
- [Toast](https://flowbite-svelte.
|
|
162
|
+
- [Toast](https://flowbite-svelte.com/toasts)
|
|
155
163
|
|
|
156
164
|
## Tooltip components
|
|
157
165
|
|
|
158
|
-
- [Default Tooltip](https://flowbite-svelte.
|
|
159
|
-
- [Light Tooltip](https://flowbite-svelte.
|
|
166
|
+
- [Default Tooltip](https://flowbite-svelte.com/tooltips/default)
|
|
167
|
+
- [Light Tooltip](https://flowbite-svelte.com/tooltips/light)
|
|
160
168
|
|
|
161
169
|
## Tests
|
|
162
170
|
|
package/alerts/Alert.svelte
CHANGED
package/alerts/InfoAlert.svelte
CHANGED
package/auth/Confirm.svelte
CHANGED
package/auth/Login.svelte
CHANGED
package/auth/Register.svelte
CHANGED
package/auth/Reset.svelte
CHANGED
package/avatar/Avatar.svelte
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script
|
|
1
|
+
<script>export let avatar = {};
|
|
2
2
|
let isCircle = avatar.round ? 'rounded-full' : 'rounded';
|
|
3
3
|
let isBorder = avatar.border ? 'p-1 ring-2 ring-gray-300 dark:ring-gray-500' : '';
|
|
4
4
|
export let avatarClass = `w-${avatar.size} h-${avatar.size} ${isCircle} ${isBorder}`;
|
package/badges/Badge.svelte
CHANGED
package/badges/BadgeIcon.svelte
CHANGED
package/badges/BadgeLink.svelte
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script
|
|
1
|
+
<script>export let crumbs = [];
|
|
2
2
|
export let homeClass = 'inline-flex items-center text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white';
|
|
3
3
|
export let crumbClass = 'ml-1 text-sm font-medium text-gray-700 hover:text-gray-900 md:ml-2 dark:text-gray-400 dark:hover:text-white';
|
|
4
4
|
export let solid = false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script
|
|
1
|
+
<script>export let buttons;
|
|
2
2
|
let btnLength = buttons.length;
|
|
3
3
|
let classFirst = 'inline-flex relative items-center py-2 px-4 text-sm font-medium text-gray-900 bg-white rounded-l-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-blue-500 dark:focus:text-white';
|
|
4
4
|
let classMiddle = 'inline-flex relative items-center py-2 px-4 text-sm font-medium text-gray-900 bg-white border-t border-b border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-blue-500 dark:focus:text-white';
|
|
@@ -6,11 +6,11 @@ let classLast = 'inline-flex relative items-center py-2 px-4 text-sm font-medium
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<div class="inline-flex rounded-md shadow-sm" role="group">
|
|
9
|
-
{#each buttons as { name, icon, href, rel }, i}
|
|
9
|
+
{#each buttons as { name, icon, href, rel, iconClass, iconSize }, i}
|
|
10
10
|
{#if i === 0}
|
|
11
11
|
<button type="button" class={classFirst}>
|
|
12
12
|
{#if icon}
|
|
13
|
-
<svelte:component this={icon}
|
|
13
|
+
<svelte:component this={icon} size={iconSize} class="mr-2 {iconClass}" />
|
|
14
14
|
{/if}
|
|
15
15
|
{#if href}
|
|
16
16
|
<a {href} {rel}>{name}</a>
|
|
@@ -21,7 +21,7 @@ let classLast = 'inline-flex relative items-center py-2 px-4 text-sm font-medium
|
|
|
21
21
|
{:else if i === btnLength - 1}
|
|
22
22
|
<button type="button" class={classLast}>
|
|
23
23
|
{#if icon}
|
|
24
|
-
<svelte:component this={icon}
|
|
24
|
+
<svelte:component this={icon} size={iconSize} class="mr-2 {iconClass}" />
|
|
25
25
|
{/if}
|
|
26
26
|
{#if href}
|
|
27
27
|
<a {href} {rel}>{name}</a>
|
|
@@ -32,7 +32,7 @@ let classLast = 'inline-flex relative items-center py-2 px-4 text-sm font-medium
|
|
|
32
32
|
{:else}
|
|
33
33
|
<button type="button" class={classMiddle}>
|
|
34
34
|
{#if icon}
|
|
35
|
-
<svelte:component this={icon}
|
|
35
|
+
<svelte:component this={icon} size={iconSize} class="mr-2 {iconClass}" />
|
|
36
36
|
{/if}
|
|
37
37
|
{#if href}
|
|
38
38
|
<a {href} {rel}>{name}</a>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script
|
|
1
|
+
<script>export let buttons;
|
|
2
2
|
let btnLength = buttons.length;
|
|
3
3
|
let classFirst = 'inline-flex items-center py-2 px-4 text-sm font-medium text-gray-900 bg-transparent rounded-l-lg border border-gray-900 hover:bg-gray-900 hover:text-white focus:z-10 focus:ring-2 focus:ring-gray-500 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700';
|
|
4
4
|
let classMiddle = 'inline-flex items-center py-2 px-4 text-sm font-medium text-gray-900 bg-transparent border-t border-b border-gray-900 hover:bg-gray-900 hover:text-white focus:z-10 focus:ring-2 focus:ring-gray-500 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700';
|
|
@@ -6,11 +6,11 @@ let classLast = 'inline-flex items-center py-2 px-4 text-sm font-medium text-gra
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<div class="inline-flex rounded-md shadow-sm">
|
|
9
|
-
{#each buttons as { href, name, rel, icon }, i}
|
|
9
|
+
{#each buttons as { href, name, rel, icon, iconClass, iconSize }, i}
|
|
10
10
|
{#if i === 0}
|
|
11
11
|
<button type="button" class={classFirst}>
|
|
12
12
|
{#if icon}
|
|
13
|
-
<svelte:component this={icon}
|
|
13
|
+
<svelte:component this={icon} size={iconSize} class="mr-2 {iconClass}" />
|
|
14
14
|
{/if}
|
|
15
15
|
{#if href}
|
|
16
16
|
<a {href} {rel}>{name}</a>
|
|
@@ -21,7 +21,7 @@ let classLast = 'inline-flex items-center py-2 px-4 text-sm font-medium text-gra
|
|
|
21
21
|
{:else if i === btnLength - 1}
|
|
22
22
|
<button type="button" class={classLast}>
|
|
23
23
|
{#if icon}
|
|
24
|
-
<svelte:component this={icon}
|
|
24
|
+
<svelte:component this={icon} size={iconSize} class="mr-2 {iconClass}" />
|
|
25
25
|
{/if}
|
|
26
26
|
{#if href}
|
|
27
27
|
<a {href} {rel}>{name}</a>
|
|
@@ -32,7 +32,7 @@ let classLast = 'inline-flex items-center py-2 px-4 text-sm font-medium text-gra
|
|
|
32
32
|
{:else}
|
|
33
33
|
<button type="button" class={classMiddle}>
|
|
34
34
|
{#if icon}
|
|
35
|
-
<svelte:component this={icon}
|
|
35
|
+
<svelte:component this={icon} size={iconSize} class="mr-2 {iconClass}" />
|
|
36
36
|
{/if}
|
|
37
37
|
{#if href}
|
|
38
38
|
<a {href} {rel}>{name}</a>
|
package/buttons/Button.svelte
CHANGED
package/cards/Card.svelte
CHANGED
package/cards/CtaCard.svelte
CHANGED
package/cards/ListCard.svelte
CHANGED
package/cards/SignInCard.svelte
CHANGED
package/carousels/Caption.svelte
CHANGED