flowbite-svelte 0.28.3 → 0.28.9
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 +34 -0
- package/accordions/Accordion.svelte.d.ts +3 -3
- package/accordions/AccordionItem.svelte.d.ts +3 -3
- package/alerts/Alert.svelte.d.ts +3 -3
- package/avatar/Avatar.svelte +2 -2
- package/avatar/Avatar.svelte.d.ts +3 -3
- package/avatar/Dot.svelte.d.ts +3 -3
- package/avatar/Placeholder.svelte.d.ts +3 -3
- package/badges/Badge.svelte.d.ts +3 -3
- package/breadcrumbs/Breadcrumb.svelte.d.ts +3 -3
- package/breadcrumbs/BreadcrumbItem.svelte.d.ts +3 -3
- package/buttongroups/ButtonGroup.svelte.d.ts +3 -3
- package/buttons/Button.svelte +2 -2
- package/buttons/Button.svelte.d.ts +3 -3
- package/cards/Card.svelte.d.ts +3 -3
- package/carousels/Caption.svelte.d.ts +3 -3
- package/carousels/Carousel.svelte.d.ts +3 -3
- package/carousels/CarouselTransition.svelte.d.ts +3 -3
- package/carousels/Indicator.svelte.d.ts +3 -3
- package/carousels/Slide.svelte.d.ts +3 -3
- package/carousels/Thumbnail.svelte.d.ts +3 -3
- package/darkmode/DarkMode.svelte.d.ts +3 -3
- package/datepicker/Calender.svelte.d.ts +6 -2
- package/datepicker/Datepicker.svelte.d.ts +3 -3
- package/drawer/Drawer.svelte.d.ts +3 -3
- package/dropdowns/Dropdown.svelte.d.ts +3 -3
- package/dropdowns/DropdownDivider.svelte.d.ts +3 -3
- package/dropdowns/DropdownHeader.svelte.d.ts +3 -3
- package/dropdowns/DropdownItem.svelte.d.ts +3 -3
- package/footer/Footer.svelte.d.ts +3 -3
- package/footer/FooterBrand.svelte.d.ts +3 -3
- package/footer/FooterCopyright.svelte.d.ts +3 -3
- package/footer/FooterIcon.svelte.d.ts +3 -3
- package/footer/FooterLink.svelte.d.ts +3 -3
- package/footer/FooterLinkGroup.svelte.d.ts +3 -3
- package/forms/Checkbox.svelte.d.ts +3 -3
- package/forms/Dropzone.svelte +27 -24
- package/forms/Dropzone.svelte.d.ts +11 -8
- package/forms/Fileupload.svelte +21 -23
- package/forms/Fileupload.svelte.d.ts +4 -4
- package/forms/FloatingLabelInput.svelte.d.ts +3 -3
- package/forms/Helper.svelte.d.ts +3 -3
- package/forms/Input.svelte.d.ts +3 -3
- package/forms/InputAddon.svelte.d.ts +3 -3
- package/forms/Label.svelte.d.ts +3 -3
- package/forms/NumberInput.svelte.d.ts +3 -3
- package/forms/Radio.svelte.d.ts +3 -3
- package/forms/RadioInline.svelte.d.ts +6 -2
- package/forms/Range.svelte.d.ts +3 -3
- package/forms/Search.svelte.d.ts +3 -3
- package/forms/Select.svelte.d.ts +3 -3
- package/forms/SimpleSearch.svelte.d.ts +4 -4
- package/forms/Textarea.svelte.d.ts +3 -3
- package/forms/Toggle.svelte.d.ts +4 -4
- package/forms/VoiceSearch.svelte.d.ts +3 -3
- package/index.d.ts +0 -1
- package/index.js +0 -1
- package/kbd/ArrowKeyDown.svelte.d.ts +3 -3
- package/kbd/ArrowKeyLeft.svelte.d.ts +3 -3
- package/kbd/ArrowKeyRight.svelte.d.ts +3 -3
- package/kbd/ArrowKeyUp.svelte.d.ts +3 -3
- package/kbd/Kbd.svelte.d.ts +3 -3
- package/list-group/Listgroup.svelte.d.ts +3 -3
- package/list-group/ListgroupItem.svelte +1 -1
- package/list-group/ListgroupItem.svelte.d.ts +3 -3
- package/megamenu/MegaMenu.svelte.d.ts +3 -3
- package/modals/Modal.svelte.d.ts +3 -3
- package/navbar/Menu.svelte.d.ts +3 -3
- package/navbar/NavBrand.svelte.d.ts +3 -3
- package/navbar/NavDropdown.svelte.d.ts +3 -3
- package/navbar/NavHamburger.svelte.d.ts +3 -3
- package/navbar/NavLi.svelte.d.ts +3 -3
- package/navbar/NavUl.svelte.d.ts +3 -3
- package/navbar/Navbar.svelte.d.ts +3 -3
- package/package.json +15 -16
- package/paginations/Pagination.svelte.d.ts +3 -3
- package/paginations/PaginationItem.svelte.d.ts +3 -3
- package/popover/Popover.svelte.d.ts +3 -3
- package/progressbars/Progressbar.svelte.d.ts +3 -3
- package/ratings/AdvancedRating.svelte.d.ts +3 -3
- package/ratings/Rating.svelte.d.ts +3 -3
- package/ratings/RatingComment.svelte.d.ts +3 -3
- package/ratings/Review.svelte.d.ts +3 -3
- package/ratings/ScoreRating.svelte.d.ts +3 -3
- package/ratings/Star.svelte.d.ts +3 -3
- package/sidebars/Sidebar.svelte.d.ts +3 -3
- package/sidebars/SidebarBrand.svelte.d.ts +3 -3
- package/sidebars/SidebarCta.svelte.d.ts +3 -3
- package/sidebars/SidebarDropdownItem.svelte.d.ts +3 -3
- package/sidebars/SidebarDropdownWrapper.svelte.d.ts +3 -3
- package/sidebars/SidebarGroup.svelte.d.ts +3 -3
- package/sidebars/SidebarItem.svelte.d.ts +3 -3
- package/sidebars/SidebarWrapper.svelte.d.ts +3 -3
- package/skeleton/CardPlaceholder.svelte.d.ts +3 -3
- package/skeleton/ImagePlaceholder.svelte.d.ts +3 -3
- package/skeleton/ListPlaceholder.svelte.d.ts +3 -3
- package/skeleton/Skeleton.svelte.d.ts +3 -3
- package/skeleton/TestimonialPlaceholder.svelte.d.ts +3 -3
- package/skeleton/TextPlaceholder.svelte.d.ts +3 -3
- package/skeleton/VideoPlaceholder.svelte.d.ts +3 -3
- package/skeleton/WidgetPlaceholder.svelte.d.ts +3 -3
- package/speed-dial/SpeedDial.svelte.d.ts +3 -3
- package/speed-dial/SpeedDialButton.svelte.d.ts +3 -3
- package/spinners/Spinner.svelte.d.ts +3 -3
- package/tables/Table.svelte.d.ts +3 -3
- package/tables/TableBody.svelte.d.ts +2 -2
- package/tables/TableBodyCell.svelte.d.ts +3 -3
- package/tables/TableBodyRow.svelte.d.ts +3 -3
- package/tables/TableHead.svelte.d.ts +3 -3
- package/tables/TableHeadCell.svelte.d.ts +4 -4
- package/tables/TableSearch.svelte.d.ts +3 -3
- package/tabs/TabHead.svelte.d.ts +3 -3
- package/tabs/TabHeadItem.svelte.d.ts +3 -3
- package/tabs/TabItem.svelte.d.ts +3 -3
- package/tabs/Tabs.svelte.d.ts +3 -3
- package/timelines/Activity.svelte.d.ts +3 -3
- package/timelines/ActivityItem.svelte.d.ts +3 -3
- package/timelines/Group.svelte.d.ts +3 -3
- package/timelines/GroupItem.svelte.d.ts +3 -3
- package/timelines/Timeline.svelte.d.ts +3 -3
- package/timelines/TimelineHorizontal.svelte.d.ts +3 -3
- package/timelines/TimelineItem.svelte.d.ts +3 -3
- package/timelines/TimelineItemHorizontal.svelte.d.ts +3 -3
- package/timelines/TimelineItemVertical.svelte.d.ts +3 -3
- package/toasts/Toast.svelte.d.ts +3 -3
- package/toolbar/Toolbar.svelte.d.ts +3 -3
- package/toolbar/ToolbarButton.svelte.d.ts +3 -3
- package/toolbar/ToolbarGroup.svelte.d.ts +4 -4
- package/tooltips/Tooltip.svelte +5 -5
- package/tooltips/Tooltip.svelte.d.ts +3 -3
- package/types.d.ts +19 -19
- package/typography/A.svelte +3 -1
- package/typography/A.svelte.d.ts +5 -3
- package/typography/Blockquote.svelte.d.ts +3 -3
- package/typography/DescriptionList.svelte.d.ts +3 -3
- package/typography/Heading.svelte.d.ts +3 -3
- package/typography/Hr.svelte.d.ts +3 -3
- package/typography/Img.svelte.d.ts +3 -3
- package/typography/Layout.svelte.d.ts +3 -3
- package/typography/Li.svelte.d.ts +3 -3
- package/typography/List.svelte.d.ts +3 -3
- package/typography/Mark.svelte.d.ts +3 -3
- package/typography/P.svelte.d.ts +4 -4
- package/typography/Secondary.svelte.d.ts +3 -3
- package/typography/Span.svelte.d.ts +3 -3
- package/typography/Ul.svelte.d.ts +3 -3
- package/utils/Chevron.svelte.d.ts +3 -3
- package/utils/ChevronDown.svelte.d.ts +3 -3
- package/utils/ChevronLeft.svelte.d.ts +3 -3
- package/utils/ChevronRight.svelte.d.ts +3 -3
- package/utils/ChevronUp.svelte.d.ts +3 -3
- package/utils/CloseButton.svelte.d.ts +3 -3
- package/utils/Frame.svelte.d.ts +3 -3
- package/utils/InformationCircle.svelte.d.ts +3 -3
- package/utils/Popper.svelte +2 -2
- package/utils/Popper.svelte.d.ts +3 -3
- package/utils/UserCircle.svelte.d.ts +3 -3
- package/utils/Wrapper.svelte.d.ts +3 -3
- package/video/Video.svelte.d.ts +3 -3
- package/forms/Iconinput.svelte +0 -81
- package/forms/Iconinput.svelte.d.ts +0 -39
|
@@ -14,9 +14,9 @@ declare const __propDef: {
|
|
|
14
14
|
};
|
|
15
15
|
slots: {};
|
|
16
16
|
};
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
17
|
+
export type ChevronRightProps = typeof __propDef.props;
|
|
18
|
+
export type ChevronRightEvents = typeof __propDef.events;
|
|
19
|
+
export type ChevronRightSlots = typeof __propDef.slots;
|
|
20
20
|
export default class ChevronRight extends SvelteComponentTyped<ChevronRightProps, ChevronRightEvents, ChevronRightSlots> {
|
|
21
21
|
}
|
|
22
22
|
export {};
|
|
@@ -14,9 +14,9 @@ declare const __propDef: {
|
|
|
14
14
|
};
|
|
15
15
|
slots: {};
|
|
16
16
|
};
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
17
|
+
export type ChevronUpProps = typeof __propDef.props;
|
|
18
|
+
export type ChevronUpEvents = typeof __propDef.events;
|
|
19
|
+
export type ChevronUpSlots = typeof __propDef.slots;
|
|
20
20
|
export default class ChevronUp extends SvelteComponentTyped<ChevronUpProps, ChevronUpEvents, ChevronUpSlots> {
|
|
21
21
|
}
|
|
22
22
|
export {};
|
|
@@ -15,9 +15,9 @@ declare const __propDef: {
|
|
|
15
15
|
default: {};
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
18
|
+
export type CloseButtonProps = typeof __propDef.props;
|
|
19
|
+
export type CloseButtonEvents = typeof __propDef.events;
|
|
20
|
+
export type CloseButtonSlots = typeof __propDef.slots;
|
|
21
21
|
export default class CloseButton extends SvelteComponentTyped<CloseButtonProps, CloseButtonEvents, CloseButtonSlots> {
|
|
22
22
|
}
|
|
23
23
|
export {};
|
package/utils/Frame.svelte.d.ts
CHANGED
|
@@ -27,9 +27,9 @@ declare const __propDef: {
|
|
|
27
27
|
default: {};
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
30
|
+
export type FrameProps = typeof __propDef.props;
|
|
31
|
+
export type FrameEvents = typeof __propDef.events;
|
|
32
|
+
export type FrameSlots = typeof __propDef.slots;
|
|
33
33
|
export default class Frame extends SvelteComponentTyped<FrameProps, FrameEvents, FrameSlots> {
|
|
34
34
|
}
|
|
35
35
|
export {};
|
|
@@ -14,9 +14,9 @@ declare const __propDef: {
|
|
|
14
14
|
};
|
|
15
15
|
slots: {};
|
|
16
16
|
};
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
17
|
+
export type InformationCircleProps = typeof __propDef.props;
|
|
18
|
+
export type InformationCircleEvents = typeof __propDef.events;
|
|
19
|
+
export type InformationCircleSlots = typeof __propDef.slots;
|
|
20
20
|
export default class InformationCircle extends SvelteComponentTyped<InformationCircleProps, InformationCircleEvents, InformationCircleSlots> {
|
|
21
21
|
}
|
|
22
22
|
export {};
|
package/utils/Popper.svelte
CHANGED
|
@@ -113,7 +113,7 @@ onMount(() => {
|
|
|
113
113
|
};
|
|
114
114
|
});
|
|
115
115
|
function optional(pred, func) {
|
|
116
|
-
return pred && func;
|
|
116
|
+
return (pred && func) || null;
|
|
117
117
|
}
|
|
118
118
|
</script>
|
|
119
119
|
|
|
@@ -134,6 +134,6 @@ function optional(pred, func) {
|
|
|
134
134
|
{...$$restProps}
|
|
135
135
|
class={classNames('z-10 outline-none', $$props.class)}>
|
|
136
136
|
<slot />
|
|
137
|
-
{#if arrow}<div data-popper-arrow class="tooltip-arrow
|
|
137
|
+
{#if arrow}<div data-popper-arrow class="tooltip-arrow" />{/if}
|
|
138
138
|
</Frame>
|
|
139
139
|
{/if}
|
package/utils/Popper.svelte.d.ts
CHANGED
|
@@ -20,9 +20,9 @@ declare const __propDef: {
|
|
|
20
20
|
default: {};
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
23
|
+
export type PopperProps = typeof __propDef.props;
|
|
24
|
+
export type PopperEvents = typeof __propDef.events;
|
|
25
|
+
export type PopperSlots = typeof __propDef.slots;
|
|
26
26
|
export default class Popper extends SvelteComponentTyped<PopperProps, PopperEvents, PopperSlots> {
|
|
27
27
|
}
|
|
28
28
|
export {};
|
|
@@ -14,9 +14,9 @@ declare const __propDef: {
|
|
|
14
14
|
};
|
|
15
15
|
slots: {};
|
|
16
16
|
};
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
17
|
+
export type UserCircleProps = typeof __propDef.props;
|
|
18
|
+
export type UserCircleEvents = typeof __propDef.events;
|
|
19
|
+
export type UserCircleSlots = typeof __propDef.slots;
|
|
20
20
|
export default class UserCircle extends SvelteComponentTyped<UserCircleProps, UserCircleEvents, UserCircleSlots> {
|
|
21
21
|
}
|
|
22
22
|
export {};
|
|
@@ -14,9 +14,9 @@ declare const __propDef: {
|
|
|
14
14
|
default: {};
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
17
|
+
export type WrapperProps = typeof __propDef.props;
|
|
18
|
+
export type WrapperEvents = typeof __propDef.events;
|
|
19
|
+
export type WrapperSlots = typeof __propDef.slots;
|
|
20
20
|
export default class Wrapper extends SvelteComponentTyped<WrapperProps, WrapperEvents, WrapperSlots> {
|
|
21
21
|
}
|
|
22
22
|
export {};
|
package/video/Video.svelte.d.ts
CHANGED
|
@@ -15,9 +15,9 @@ declare const __propDef: {
|
|
|
15
15
|
default: {};
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
18
|
+
export type VideoProps = typeof __propDef.props;
|
|
19
|
+
export type VideoEvents = typeof __propDef.events;
|
|
20
|
+
export type VideoSlots = typeof __propDef.slots;
|
|
21
21
|
export default class Video extends SvelteComponentTyped<VideoProps, VideoEvents, VideoSlots> {
|
|
22
22
|
}
|
|
23
23
|
export {};
|
package/forms/Iconinput.svelte
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
<script>import classNames from 'classnames';
|
|
2
|
-
export let value = '';
|
|
3
|
-
export let size = 'md';
|
|
4
|
-
export let noBorder = false;
|
|
5
|
-
export let inputClass = 'rounded-none rounded-r-lg bg-gray-50 border border-gray-300 text-gray-900 focus:ring-blue-500 focus:border-blue-500 block flex-1 min-w-0 w-full border-gray-300 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500';
|
|
6
|
-
export let spanClass = 'inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 rounded-l-md border border-r-0 border-gray-300 dark:bg-gray-600 dark:text-gray-400 dark:border-gray-600';
|
|
7
|
-
export let noBorderInputClass = 'bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500';
|
|
8
|
-
export let pointerEvent = false;
|
|
9
|
-
export let noBorderDivClass = 'flex absolute inset-y-0 left-0 items-center pl-3';
|
|
10
|
-
</script>
|
|
11
|
-
|
|
12
|
-
{#if noBorder}
|
|
13
|
-
<div class="relative">
|
|
14
|
-
<div
|
|
15
|
-
class={classNames(
|
|
16
|
-
noBorderDivClass,
|
|
17
|
-
{
|
|
18
|
-
'p-2 sm:text-xs': size === 'sm',
|
|
19
|
-
'p-2.5 text-sm': size === 'md',
|
|
20
|
-
'sm:text-md p-4': size === 'lg'
|
|
21
|
-
},
|
|
22
|
-
pointerEvent ? 'cursor-pointer' : 'pointer-events-none'
|
|
23
|
-
)}>
|
|
24
|
-
<slot />
|
|
25
|
-
</div>
|
|
26
|
-
<input
|
|
27
|
-
{...$$restProps}
|
|
28
|
-
bind:value
|
|
29
|
-
on:blur
|
|
30
|
-
on:change
|
|
31
|
-
on:click
|
|
32
|
-
on:focus
|
|
33
|
-
on:keydown
|
|
34
|
-
on:keypress
|
|
35
|
-
on:keyup
|
|
36
|
-
on:mouseover
|
|
37
|
-
on:mouseenter
|
|
38
|
-
on:mouseleave
|
|
39
|
-
on:paste
|
|
40
|
-
on:input
|
|
41
|
-
class={classNames(
|
|
42
|
-
noBorderInputClass,
|
|
43
|
-
{
|
|
44
|
-
'p-2 sm:text-xs pl-9': size === 'sm',
|
|
45
|
-
'p-2.5 text-sm pl-10': size === 'md',
|
|
46
|
-
'sm:text-md p-4 pl-11': size === 'lg'
|
|
47
|
-
},
|
|
48
|
-
$$props.class
|
|
49
|
-
)} />
|
|
50
|
-
</div>
|
|
51
|
-
{:else}
|
|
52
|
-
<div class="flex">
|
|
53
|
-
<span class={spanClass}>
|
|
54
|
-
<slot />
|
|
55
|
-
</span>
|
|
56
|
-
<input
|
|
57
|
-
{...$$restProps}
|
|
58
|
-
bind:value
|
|
59
|
-
on:blur
|
|
60
|
-
on:change
|
|
61
|
-
on:click
|
|
62
|
-
on:focus
|
|
63
|
-
on:keydown
|
|
64
|
-
on:keypress
|
|
65
|
-
on:keyup
|
|
66
|
-
on:mouseover
|
|
67
|
-
on:mouseenter
|
|
68
|
-
on:mouseleave
|
|
69
|
-
on:paste
|
|
70
|
-
on:input
|
|
71
|
-
class={classNames(
|
|
72
|
-
inputClass,
|
|
73
|
-
{
|
|
74
|
-
'p-2 sm:text-xs': size === 'sm',
|
|
75
|
-
'p-2.5 text-sm': size === 'md',
|
|
76
|
-
'sm:text-md p-4': size === 'lg'
|
|
77
|
-
},
|
|
78
|
-
$$props.class
|
|
79
|
-
)} />
|
|
80
|
-
</div>
|
|
81
|
-
{/if}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
value?: string | undefined;
|
|
6
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
7
|
-
noBorder?: boolean | undefined;
|
|
8
|
-
inputClass?: string | undefined;
|
|
9
|
-
spanClass?: string | undefined;
|
|
10
|
-
noBorderInputClass?: string | undefined;
|
|
11
|
-
pointerEvent?: boolean | undefined;
|
|
12
|
-
noBorderDivClass?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
events: {
|
|
15
|
-
blur: FocusEvent;
|
|
16
|
-
change: Event;
|
|
17
|
-
click: MouseEvent;
|
|
18
|
-
focus: FocusEvent;
|
|
19
|
-
keydown: KeyboardEvent;
|
|
20
|
-
keypress: KeyboardEvent;
|
|
21
|
-
keyup: KeyboardEvent;
|
|
22
|
-
mouseover: MouseEvent;
|
|
23
|
-
mouseenter: MouseEvent;
|
|
24
|
-
mouseleave: MouseEvent;
|
|
25
|
-
paste: ClipboardEvent;
|
|
26
|
-
input: Event;
|
|
27
|
-
} & {
|
|
28
|
-
[evt: string]: CustomEvent<any>;
|
|
29
|
-
};
|
|
30
|
-
slots: {
|
|
31
|
-
default: {};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export declare type IconinputProps = typeof __propDef.props;
|
|
35
|
-
export declare type IconinputEvents = typeof __propDef.events;
|
|
36
|
-
export declare type IconinputSlots = typeof __propDef.slots;
|
|
37
|
-
export default class Iconinput extends SvelteComponentTyped<IconinputProps, IconinputEvents, IconinputSlots> {
|
|
38
|
-
}
|
|
39
|
-
export {};
|