flowbite-svelte 0.28.4 → 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 +27 -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 +1 -1
- 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.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.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 +1 -1
- 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
package/forms/Fileupload.svelte
CHANGED
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
<script>import classNames from 'classnames';
|
|
2
|
+
import Input from './Input.svelte';
|
|
2
3
|
export let value = '';
|
|
3
|
-
export let
|
|
4
|
-
export let inputClass = '
|
|
4
|
+
export let files = undefined;
|
|
5
|
+
export let inputClass = 'border !p-0 dark:text-gray-400';
|
|
5
6
|
</script>
|
|
6
7
|
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})}
|
|
26
|
-
type="file"
|
|
27
|
-
/>
|
|
8
|
+
<Input {...$$restProps} class={classNames(inputClass, $$props.class)} let:props>
|
|
9
|
+
<input
|
|
10
|
+
type="file"
|
|
11
|
+
on:change
|
|
12
|
+
on:keyup
|
|
13
|
+
on:keydown
|
|
14
|
+
on:keypress
|
|
15
|
+
on:focus
|
|
16
|
+
on:blur
|
|
17
|
+
on:click
|
|
18
|
+
on:mouseover
|
|
19
|
+
on:mouseenter
|
|
20
|
+
on:mouseleave
|
|
21
|
+
on:paste
|
|
22
|
+
bind:value
|
|
23
|
+
bind:files
|
|
24
|
+
{...props} />
|
|
25
|
+
</Input>
|
|
@@ -3,7 +3,7 @@ declare const __propDef: {
|
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
value?: string | undefined;
|
|
6
|
-
|
|
6
|
+
files?: FileList | undefined;
|
|
7
7
|
inputClass?: string | undefined;
|
|
8
8
|
};
|
|
9
9
|
events: {
|
|
@@ -23,9 +23,9 @@ declare const __propDef: {
|
|
|
23
23
|
};
|
|
24
24
|
slots: {};
|
|
25
25
|
};
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
26
|
+
export type FileuploadProps = typeof __propDef.props;
|
|
27
|
+
export type FileuploadEvents = typeof __propDef.events;
|
|
28
|
+
export type FileuploadSlots = typeof __propDef.slots;
|
|
29
29
|
export default class Fileupload extends SvelteComponentTyped<FileuploadProps, FileuploadEvents, FileuploadSlots> {
|
|
30
30
|
}
|
|
31
31
|
export {};
|
|
@@ -28,9 +28,9 @@ declare const __propDef: {
|
|
|
28
28
|
};
|
|
29
29
|
slots: {};
|
|
30
30
|
};
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
31
|
+
export type FloatingLabelInputProps = typeof __propDef.props;
|
|
32
|
+
export type FloatingLabelInputEvents = typeof __propDef.events;
|
|
33
|
+
export type FloatingLabelInputSlots = typeof __propDef.slots;
|
|
34
34
|
export default class FloatingLabelInput extends SvelteComponentTyped<FloatingLabelInputProps, FloatingLabelInputEvents, FloatingLabelInputSlots> {
|
|
35
35
|
}
|
|
36
36
|
export {};
|
package/forms/Helper.svelte.d.ts
CHANGED
|
@@ -12,9 +12,9 @@ declare const __propDef: {
|
|
|
12
12
|
default: {};
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
15
|
+
export type HelperProps = typeof __propDef.props;
|
|
16
|
+
export type HelperEvents = typeof __propDef.events;
|
|
17
|
+
export type HelperSlots = typeof __propDef.slots;
|
|
18
18
|
export default class Helper extends SvelteComponentTyped<HelperProps, HelperEvents, HelperSlots> {
|
|
19
19
|
}
|
|
20
20
|
export {};
|
package/forms/Input.svelte.d.ts
CHANGED
|
@@ -37,9 +37,9 @@ declare const __propDef: {
|
|
|
37
37
|
right: {};
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
40
|
+
export type InputProps = typeof __propDef.props;
|
|
41
|
+
export type InputEvents = typeof __propDef.events;
|
|
42
|
+
export type InputSlots = typeof __propDef.slots;
|
|
43
43
|
export default class Input extends SvelteComponentTyped<InputProps, InputEvents, InputSlots> {
|
|
44
44
|
}
|
|
45
45
|
export {};
|
|
@@ -11,9 +11,9 @@ declare const __propDef: {
|
|
|
11
11
|
default: {};
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
14
|
+
export type InputAddonProps = typeof __propDef.props;
|
|
15
|
+
export type InputAddonEvents = typeof __propDef.events;
|
|
16
|
+
export type InputAddonSlots = typeof __propDef.slots;
|
|
17
17
|
export default class InputAddon extends SvelteComponentTyped<InputAddonProps, InputAddonEvents, InputAddonSlots> {
|
|
18
18
|
}
|
|
19
19
|
export {};
|
package/forms/Label.svelte.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ declare const __propDef: {
|
|
|
13
13
|
default: {};
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
16
|
+
export type LabelProps = typeof __propDef.props;
|
|
17
|
+
export type LabelEvents = typeof __propDef.events;
|
|
18
|
+
export type LabelSlots = typeof __propDef.slots;
|
|
19
19
|
export default class Label extends SvelteComponentTyped<LabelProps, LabelEvents, LabelSlots> {
|
|
20
20
|
}
|
|
21
21
|
export {};
|
|
@@ -9,9 +9,9 @@ declare const __propDef: {
|
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
12
|
+
export type NumberInputProps = typeof __propDef.props;
|
|
13
|
+
export type NumberInputEvents = typeof __propDef.events;
|
|
14
|
+
export type NumberInputSlots = typeof __propDef.slots;
|
|
15
15
|
export default class NumberInput extends SvelteComponentTyped<NumberInputProps, NumberInputEvents, NumberInputSlots> {
|
|
16
16
|
}
|
|
17
17
|
export {};
|
package/forms/Radio.svelte.d.ts
CHANGED
|
@@ -30,9 +30,9 @@ declare const __propDef: {
|
|
|
30
30
|
default: {};
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
33
|
+
export type RadioProps = typeof __propDef.props;
|
|
34
|
+
export type RadioEvents = typeof __propDef.events;
|
|
35
|
+
export type RadioSlots = typeof __propDef.slots;
|
|
36
36
|
export default class Radio extends SvelteComponentTyped<RadioProps, RadioEvents, RadioSlots> {
|
|
37
37
|
}
|
|
38
38
|
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/** @typedef {typeof __propDef.props} RadioInlineProps */
|
|
2
2
|
/** @typedef {typeof __propDef.events} RadioInlineEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} RadioInlineSlots */
|
|
4
|
-
export default class RadioInline extends SvelteComponentTyped<{
|
|
4
|
+
export default class RadioInline extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
5
7
|
[evt: string]: CustomEvent<any>;
|
|
6
8
|
}, {
|
|
7
9
|
default: {};
|
|
@@ -12,7 +14,9 @@ export type RadioInlineEvents = typeof __propDef.events;
|
|
|
12
14
|
export type RadioInlineSlots = typeof __propDef.slots;
|
|
13
15
|
import { SvelteComponentTyped } from "svelte";
|
|
14
16
|
declare const __propDef: {
|
|
15
|
-
props: {
|
|
17
|
+
props: {
|
|
18
|
+
[x: string]: never;
|
|
19
|
+
};
|
|
16
20
|
events: {
|
|
17
21
|
[evt: string]: CustomEvent<any>;
|
|
18
22
|
};
|
package/forms/Range.svelte.d.ts
CHANGED
|
@@ -16,9 +16,9 @@ declare const __propDef: {
|
|
|
16
16
|
};
|
|
17
17
|
slots: {};
|
|
18
18
|
};
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
19
|
+
export type RangeProps = typeof __propDef.props;
|
|
20
|
+
export type RangeEvents = typeof __propDef.events;
|
|
21
|
+
export type RangeSlots = typeof __propDef.slots;
|
|
22
22
|
export default class Range extends SvelteComponentTyped<RangeProps, RangeEvents, RangeSlots> {
|
|
23
23
|
}
|
|
24
24
|
export {};
|
package/forms/Search.svelte.d.ts
CHANGED
|
@@ -26,9 +26,9 @@ declare const __propDef: {
|
|
|
26
26
|
default: {};
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
29
|
+
export type SearchProps = typeof __propDef.props;
|
|
30
|
+
export type SearchEvents = typeof __propDef.events;
|
|
31
|
+
export type SearchSlots = typeof __propDef.slots;
|
|
32
32
|
export default class Search extends SvelteComponentTyped<SearchProps, SearchEvents, SearchSlots> {
|
|
33
33
|
}
|
|
34
34
|
export {};
|
package/forms/Select.svelte.d.ts
CHANGED
|
@@ -19,9 +19,9 @@ declare const __propDef: {
|
|
|
19
19
|
};
|
|
20
20
|
slots: {};
|
|
21
21
|
};
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
22
|
+
export type SelectProps = typeof __propDef.props;
|
|
23
|
+
export type SelectEvents = typeof __propDef.events;
|
|
24
|
+
export type SelectSlots = typeof __propDef.slots;
|
|
25
25
|
export default class Select extends SvelteComponentTyped<SelectProps, SelectEvents, SelectSlots> {
|
|
26
26
|
}
|
|
27
27
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
|
-
[x: string]:
|
|
4
|
+
[x: string]: never;
|
|
5
5
|
};
|
|
6
6
|
events: {
|
|
7
7
|
submit: SubmitEvent;
|
|
@@ -10,9 +10,9 @@ declare const __propDef: {
|
|
|
10
10
|
};
|
|
11
11
|
slots: {};
|
|
12
12
|
};
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
13
|
+
export type SimpleSearchProps = typeof __propDef.props;
|
|
14
|
+
export type SimpleSearchEvents = typeof __propDef.events;
|
|
15
|
+
export type SimpleSearchSlots = typeof __propDef.slots;
|
|
16
16
|
export default class SimpleSearch extends SvelteComponentTyped<SimpleSearchProps, SimpleSearchEvents, SimpleSearchSlots> {
|
|
17
17
|
}
|
|
18
18
|
export {};
|
|
@@ -24,9 +24,9 @@ declare const __propDef: {
|
|
|
24
24
|
footer: {};
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
27
|
+
export type TextareaProps = typeof __propDef.props;
|
|
28
|
+
export type TextareaEvents = typeof __propDef.events;
|
|
29
|
+
export type TextareaSlots = typeof __propDef.slots;
|
|
30
30
|
export default class Textarea extends SvelteComponentTyped<TextareaProps, TextareaEvents, TextareaSlots> {
|
|
31
31
|
}
|
|
32
32
|
export {};
|
package/forms/Toggle.svelte.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
size?: "default" | "
|
|
5
|
+
size?: "default" | "large" | "small" | undefined;
|
|
6
6
|
group?: (string | number)[] | undefined;
|
|
7
7
|
value?: string | number | undefined;
|
|
8
8
|
checked?: boolean | undefined;
|
|
@@ -17,9 +17,9 @@ declare const __propDef: {
|
|
|
17
17
|
default: {};
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
20
|
+
export type ToggleProps = typeof __propDef.props;
|
|
21
|
+
export type ToggleEvents = typeof __propDef.events;
|
|
22
|
+
export type ToggleSlots = typeof __propDef.slots;
|
|
23
23
|
export default class Toggle extends SvelteComponentTyped<ToggleProps, ToggleEvents, ToggleSlots> {
|
|
24
24
|
}
|
|
25
25
|
export {};
|
|
@@ -20,9 +20,9 @@ declare const __propDef: {
|
|
|
20
20
|
};
|
|
21
21
|
slots: {};
|
|
22
22
|
};
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
23
|
+
export type VoiceSearchProps = typeof __propDef.props;
|
|
24
|
+
export type VoiceSearchEvents = typeof __propDef.events;
|
|
25
|
+
export type VoiceSearchSlots = typeof __propDef.slots;
|
|
26
26
|
export default class VoiceSearch extends SvelteComponentTyped<VoiceSearchProps, VoiceSearchEvents, VoiceSearchSlots> {
|
|
27
27
|
}
|
|
28
28
|
export {};
|
package/index.d.ts
CHANGED
|
@@ -28,7 +28,6 @@ export { default as Dropzone } from './forms/Dropzone.svelte';
|
|
|
28
28
|
export { default as Fileupload } from './forms/Fileupload.svelte';
|
|
29
29
|
export { default as FloatingLabelInput } from './forms/FloatingLabelInput.svelte';
|
|
30
30
|
export { default as Helper } from './forms/Helper.svelte';
|
|
31
|
-
export { default as Iconinput } from './forms/Iconinput.svelte';
|
|
32
31
|
export { default as Input } from './forms/Input.svelte';
|
|
33
32
|
export { default as InputAddon } from './forms/InputAddon.svelte';
|
|
34
33
|
export { default as Label } from './forms/Label.svelte';
|
package/index.js
CHANGED
|
@@ -43,7 +43,6 @@ export { default as Dropzone } from './forms/Dropzone.svelte';
|
|
|
43
43
|
export { default as Fileupload } from './forms/Fileupload.svelte';
|
|
44
44
|
export { default as FloatingLabelInput } from './forms/FloatingLabelInput.svelte';
|
|
45
45
|
export { default as Helper } from './forms/Helper.svelte';
|
|
46
|
-
export { default as Iconinput } from './forms/Iconinput.svelte';
|
|
47
46
|
export { default as Input } from './forms/Input.svelte';
|
|
48
47
|
export { default as InputAddon } from './forms/InputAddon.svelte';
|
|
49
48
|
export { default as Label } from './forms/Label.svelte';
|
|
@@ -9,9 +9,9 @@ declare const __propDef: {
|
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
12
|
+
export type ArrowKeyDownProps = typeof __propDef.props;
|
|
13
|
+
export type ArrowKeyDownEvents = typeof __propDef.events;
|
|
14
|
+
export type ArrowKeyDownSlots = typeof __propDef.slots;
|
|
15
15
|
export default class ArrowKeyDown extends SvelteComponentTyped<ArrowKeyDownProps, ArrowKeyDownEvents, ArrowKeyDownSlots> {
|
|
16
16
|
}
|
|
17
17
|
export {};
|
|
@@ -9,9 +9,9 @@ declare const __propDef: {
|
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
12
|
+
export type ArrowKeyLeftProps = typeof __propDef.props;
|
|
13
|
+
export type ArrowKeyLeftEvents = typeof __propDef.events;
|
|
14
|
+
export type ArrowKeyLeftSlots = typeof __propDef.slots;
|
|
15
15
|
export default class ArrowKeyLeft extends SvelteComponentTyped<ArrowKeyLeftProps, ArrowKeyLeftEvents, ArrowKeyLeftSlots> {
|
|
16
16
|
}
|
|
17
17
|
export {};
|
|
@@ -9,9 +9,9 @@ declare const __propDef: {
|
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
12
|
+
export type ArrowKeyRightProps = typeof __propDef.props;
|
|
13
|
+
export type ArrowKeyRightEvents = typeof __propDef.events;
|
|
14
|
+
export type ArrowKeyRightSlots = typeof __propDef.slots;
|
|
15
15
|
export default class ArrowKeyRight extends SvelteComponentTyped<ArrowKeyRightProps, ArrowKeyRightEvents, ArrowKeyRightSlots> {
|
|
16
16
|
}
|
|
17
17
|
export {};
|
|
@@ -9,9 +9,9 @@ declare const __propDef: {
|
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
12
|
+
export type ArrowKeyUpProps = typeof __propDef.props;
|
|
13
|
+
export type ArrowKeyUpEvents = typeof __propDef.events;
|
|
14
|
+
export type ArrowKeyUpSlots = typeof __propDef.slots;
|
|
15
15
|
export default class ArrowKeyUp extends SvelteComponentTyped<ArrowKeyUpProps, ArrowKeyUpEvents, ArrowKeyUpSlots> {
|
|
16
16
|
}
|
|
17
17
|
export {};
|
package/kbd/Kbd.svelte.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ declare const __propDef: {
|
|
|
11
11
|
default: {};
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
14
|
+
export type KbdProps = typeof __propDef.props;
|
|
15
|
+
export type KbdEvents = typeof __propDef.events;
|
|
16
|
+
export type KbdSlots = typeof __propDef.slots;
|
|
17
17
|
export default class Kbd extends SvelteComponentTyped<KbdProps, KbdEvents, KbdSlots> {
|
|
18
18
|
}
|
|
19
19
|
export {};
|
|
@@ -15,9 +15,9 @@ declare const __propDef: {
|
|
|
15
15
|
default: {};
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
18
|
+
export type ListgroupProps = typeof __propDef.props;
|
|
19
|
+
export type ListgroupEvents = typeof __propDef.events;
|
|
20
|
+
export type ListgroupSlots = typeof __propDef.slots;
|
|
21
21
|
export default class Listgroup extends SvelteComponentTyped<ListgroupProps, ListgroupEvents, ListgroupSlots> {
|
|
22
22
|
}
|
|
23
23
|
export {};
|
|
@@ -16,7 +16,7 @@ let hoverClass = 'hover:bg-gray-100 hover:text-blue-700 dark:hover:bg-gray-600 d
|
|
|
16
16
|
let state;
|
|
17
17
|
$: state = disabled ? 'disabled' : current ? 'current' : 'normal';
|
|
18
18
|
let itemClass;
|
|
19
|
-
$: itemClass = classNames('py-2 px-
|
|
19
|
+
$: itemClass = classNames('py-2 px-4 w-full text-sm font-medium', 'first:rounded-t-lg last:rounded-b-lg', states[state], active && state === 'disabled' && 'cursor-not-allowed', active && state === 'normal' && hoverClass, active && state === 'normal' && focusClass, $$props.class);
|
|
20
20
|
</script>
|
|
21
21
|
|
|
22
22
|
{#if !active}
|
|
@@ -27,9 +27,9 @@ declare const __propDef: {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
30
|
+
export type ListgroupItemProps = typeof __propDef.props;
|
|
31
|
+
export type ListgroupItemEvents = typeof __propDef.events;
|
|
32
|
+
export type ListgroupItemSlots = typeof __propDef.slots;
|
|
33
33
|
export default class ListgroupItem extends SvelteComponentTyped<ListgroupItemProps, ListgroupItemEvents, ListgroupItemSlots> {
|
|
34
34
|
}
|
|
35
35
|
export {};
|
|
@@ -19,9 +19,9 @@ declare const __propDef: {
|
|
|
19
19
|
extra: {};
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
22
|
+
export type MegaMenuProps = typeof __propDef.props;
|
|
23
|
+
export type MegaMenuEvents = typeof __propDef.events;
|
|
24
|
+
export type MegaMenuSlots = typeof __propDef.slots;
|
|
25
25
|
export default class MegaMenu extends SvelteComponentTyped<MegaMenuProps, MegaMenuEvents, MegaMenuSlots> {
|
|
26
26
|
}
|
|
27
27
|
export {};
|
package/modals/Modal.svelte.d.ts
CHANGED
|
@@ -22,9 +22,9 @@ declare const __propDef: {
|
|
|
22
22
|
footer: {};
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
25
|
+
export type ModalProps = typeof __propDef.props;
|
|
26
|
+
export type ModalEvents = typeof __propDef.events;
|
|
27
|
+
export type ModalSlots = typeof __propDef.slots;
|
|
28
28
|
export default class Modal extends SvelteComponentTyped<ModalProps, ModalEvents, ModalSlots> {
|
|
29
29
|
}
|
|
30
30
|
export {};
|
package/navbar/Menu.svelte.d.ts
CHANGED
|
@@ -14,9 +14,9 @@ declare const __propDef: {
|
|
|
14
14
|
};
|
|
15
15
|
slots: {};
|
|
16
16
|
};
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
17
|
+
export type MenuProps = typeof __propDef.props;
|
|
18
|
+
export type MenuEvents = typeof __propDef.events;
|
|
19
|
+
export type MenuSlots = typeof __propDef.slots;
|
|
20
20
|
export default class Menu extends SvelteComponentTyped<MenuProps, MenuEvents, MenuSlots> {
|
|
21
21
|
}
|
|
22
22
|
export {};
|
|
@@ -11,9 +11,9 @@ declare const __propDef: {
|
|
|
11
11
|
default: {};
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
14
|
+
export type NavBrandProps = typeof __propDef.props;
|
|
15
|
+
export type NavBrandEvents = typeof __propDef.events;
|
|
16
|
+
export type NavBrandSlots = typeof __propDef.slots;
|
|
17
17
|
export default class NavBrand extends SvelteComponentTyped<NavBrandProps, NavBrandEvents, NavBrandSlots> {
|
|
18
18
|
}
|
|
19
19
|
export {};
|
|
@@ -27,9 +27,9 @@ declare const __propDef: {
|
|
|
27
27
|
default: {};
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
30
|
+
export type NavDropdownProps = typeof __propDef.props;
|
|
31
|
+
export type NavDropdownEvents = typeof __propDef.events;
|
|
32
|
+
export type NavDropdownSlots = typeof __propDef.slots;
|
|
33
33
|
export default class NavDropdown extends SvelteComponentTyped<NavDropdownProps, NavDropdownEvents, NavDropdownSlots> {
|
|
34
34
|
}
|
|
35
35
|
export {};
|
|
@@ -11,9 +11,9 @@ declare const __propDef: {
|
|
|
11
11
|
};
|
|
12
12
|
slots: {};
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
14
|
+
export type NavHamburgerProps = typeof __propDef.props;
|
|
15
|
+
export type NavHamburgerEvents = typeof __propDef.events;
|
|
16
|
+
export type NavHamburgerSlots = typeof __propDef.slots;
|
|
17
17
|
export default class NavHamburger extends SvelteComponentTyped<NavHamburgerProps, NavHamburgerEvents, NavHamburgerSlots> {
|
|
18
18
|
}
|
|
19
19
|
export {};
|
package/navbar/NavLi.svelte.d.ts
CHANGED
|
@@ -25,9 +25,9 @@ declare const __propDef: {
|
|
|
25
25
|
default: {};
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
28
|
+
export type NavLiProps = typeof __propDef.props;
|
|
29
|
+
export type NavLiEvents = typeof __propDef.events;
|
|
30
|
+
export type NavLiSlots = typeof __propDef.slots;
|
|
31
31
|
export default class NavLi extends SvelteComponentTyped<NavLiProps, NavLiEvents, NavLiSlots> {
|
|
32
32
|
}
|
|
33
33
|
export {};
|
package/navbar/NavUl.svelte.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ declare const __propDef: {
|
|
|
13
13
|
default: {};
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
16
|
+
export type NavUlProps = typeof __propDef.props;
|
|
17
|
+
export type NavUlEvents = typeof __propDef.events;
|
|
18
|
+
export type NavUlSlots = typeof __propDef.slots;
|
|
19
19
|
export default class NavUl extends SvelteComponentTyped<NavUlProps, NavUlEvents, NavUlSlots> {
|
|
20
20
|
}
|
|
21
21
|
export {};
|
|
@@ -17,9 +17,9 @@ declare const __propDef: {
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
20
|
+
export type NavbarProps = typeof __propDef.props;
|
|
21
|
+
export type NavbarEvents = typeof __propDef.events;
|
|
22
|
+
export type NavbarSlots = typeof __propDef.slots;
|
|
23
23
|
export default class Navbar extends SvelteComponentTyped<NavbarProps, NavbarEvents, NavbarSlots> {
|
|
24
24
|
}
|
|
25
25
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flowbite-svelte",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.9",
|
|
4
4
|
"description": "Flowbite components for Svelte",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": {
|
|
@@ -12,33 +12,33 @@
|
|
|
12
12
|
"homepage": "https://flowbite-svelte.com/",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@playwright/test": "^1.
|
|
16
|
-
"@sveltejs/adapter-vercel": "
|
|
15
|
+
"@playwright/test": "^1.28.1",
|
|
16
|
+
"@sveltejs/adapter-vercel": "next",
|
|
17
17
|
"@sveltejs/kit": "next",
|
|
18
18
|
"@sveltejs/package": "1.0.0-next.3",
|
|
19
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
20
|
-
"@typescript-eslint/parser": "^5.
|
|
19
|
+
"@typescript-eslint/eslint-plugin": "^5.46.0",
|
|
20
|
+
"@typescript-eslint/parser": "^5.46.0",
|
|
21
21
|
"autoprefixer": "^10.4.13",
|
|
22
22
|
"createprops": "^0.4.9",
|
|
23
|
-
"eslint": "^8.
|
|
23
|
+
"eslint": "^8.29.0",
|
|
24
24
|
"eslint-config-prettier": "^8.5.0",
|
|
25
25
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
26
26
|
"mdsvex": "^0.10.6",
|
|
27
27
|
"mdsvexamples": "^0.3.2",
|
|
28
28
|
"postcss": "^8.4.19",
|
|
29
29
|
"postcss-load-config": "^4.0.1",
|
|
30
|
-
"prettier": "^2.
|
|
31
|
-
"prettier-plugin-svelte": "^2.
|
|
30
|
+
"prettier": "^2.8.1",
|
|
31
|
+
"prettier-plugin-svelte": "^2.9.0",
|
|
32
32
|
"prism-themes": "^1.9.0",
|
|
33
|
-
"svelte": "^3.
|
|
34
|
-
"svelte-check": "^2.
|
|
35
|
-
"svelte-meta-tags": "^2.6.
|
|
33
|
+
"svelte": "^3.54.0",
|
|
34
|
+
"svelte-check": "^2.10.2",
|
|
35
|
+
"svelte-meta-tags": "^2.6.4",
|
|
36
36
|
"svelte-preprocess": "^4.10.7",
|
|
37
|
-
"svelte2tsx": "^0.5.
|
|
37
|
+
"svelte2tsx": "^0.5.22",
|
|
38
38
|
"tailwindcss": "^3.2.4",
|
|
39
39
|
"tslib": "^2.4.1",
|
|
40
|
-
"typescript": "^4.
|
|
41
|
-
"vite": "^
|
|
40
|
+
"typescript": "^4.9.4",
|
|
41
|
+
"vite": "^4.0.0"
|
|
42
42
|
},
|
|
43
43
|
"type": "module",
|
|
44
44
|
"keywords": [
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"@popperjs/core": "^2.11.6",
|
|
88
88
|
"classnames": "^2.3.2",
|
|
89
|
-
"flowbite": "^1.5.
|
|
89
|
+
"flowbite": "^1.5.5"
|
|
90
90
|
},
|
|
91
91
|
"engines": {
|
|
92
92
|
"npm": ">=7.0.0",
|
|
@@ -139,7 +139,6 @@
|
|
|
139
139
|
"./forms/Fileupload.svelte": "./forms/Fileupload.svelte",
|
|
140
140
|
"./forms/FloatingLabelInput.svelte": "./forms/FloatingLabelInput.svelte",
|
|
141
141
|
"./forms/Helper.svelte": "./forms/Helper.svelte",
|
|
142
|
-
"./forms/Iconinput.svelte": "./forms/Iconinput.svelte",
|
|
143
142
|
"./forms/Input.svelte": "./forms/Input.svelte",
|
|
144
143
|
"./forms/InputAddon.svelte": "./forms/InputAddon.svelte",
|
|
145
144
|
"./forms/Label.svelte": "./forms/Label.svelte",
|