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.
Files changed (159) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/accordions/Accordion.svelte.d.ts +3 -3
  3. package/accordions/AccordionItem.svelte.d.ts +3 -3
  4. package/alerts/Alert.svelte.d.ts +3 -3
  5. package/avatar/Avatar.svelte +1 -1
  6. package/avatar/Avatar.svelte.d.ts +3 -3
  7. package/avatar/Dot.svelte.d.ts +3 -3
  8. package/avatar/Placeholder.svelte.d.ts +3 -3
  9. package/badges/Badge.svelte.d.ts +3 -3
  10. package/breadcrumbs/Breadcrumb.svelte.d.ts +3 -3
  11. package/breadcrumbs/BreadcrumbItem.svelte.d.ts +3 -3
  12. package/buttongroups/ButtonGroup.svelte.d.ts +3 -3
  13. package/buttons/Button.svelte.d.ts +3 -3
  14. package/cards/Card.svelte.d.ts +3 -3
  15. package/carousels/Caption.svelte.d.ts +3 -3
  16. package/carousels/Carousel.svelte.d.ts +3 -3
  17. package/carousels/CarouselTransition.svelte.d.ts +3 -3
  18. package/carousels/Indicator.svelte.d.ts +3 -3
  19. package/carousels/Slide.svelte.d.ts +3 -3
  20. package/carousels/Thumbnail.svelte.d.ts +3 -3
  21. package/darkmode/DarkMode.svelte.d.ts +3 -3
  22. package/datepicker/Calender.svelte.d.ts +6 -2
  23. package/datepicker/Datepicker.svelte.d.ts +3 -3
  24. package/drawer/Drawer.svelte.d.ts +3 -3
  25. package/dropdowns/Dropdown.svelte.d.ts +3 -3
  26. package/dropdowns/DropdownDivider.svelte.d.ts +3 -3
  27. package/dropdowns/DropdownHeader.svelte.d.ts +3 -3
  28. package/dropdowns/DropdownItem.svelte.d.ts +3 -3
  29. package/footer/Footer.svelte.d.ts +3 -3
  30. package/footer/FooterBrand.svelte.d.ts +3 -3
  31. package/footer/FooterCopyright.svelte.d.ts +3 -3
  32. package/footer/FooterIcon.svelte.d.ts +3 -3
  33. package/footer/FooterLink.svelte.d.ts +3 -3
  34. package/footer/FooterLinkGroup.svelte.d.ts +3 -3
  35. package/forms/Checkbox.svelte.d.ts +3 -3
  36. package/forms/Dropzone.svelte +27 -24
  37. package/forms/Dropzone.svelte.d.ts +11 -8
  38. package/forms/Fileupload.svelte +21 -23
  39. package/forms/Fileupload.svelte.d.ts +4 -4
  40. package/forms/FloatingLabelInput.svelte.d.ts +3 -3
  41. package/forms/Helper.svelte.d.ts +3 -3
  42. package/forms/Input.svelte.d.ts +3 -3
  43. package/forms/InputAddon.svelte.d.ts +3 -3
  44. package/forms/Label.svelte.d.ts +3 -3
  45. package/forms/NumberInput.svelte.d.ts +3 -3
  46. package/forms/Radio.svelte.d.ts +3 -3
  47. package/forms/RadioInline.svelte.d.ts +6 -2
  48. package/forms/Range.svelte.d.ts +3 -3
  49. package/forms/Search.svelte.d.ts +3 -3
  50. package/forms/Select.svelte.d.ts +3 -3
  51. package/forms/SimpleSearch.svelte.d.ts +4 -4
  52. package/forms/Textarea.svelte.d.ts +3 -3
  53. package/forms/Toggle.svelte.d.ts +4 -4
  54. package/forms/VoiceSearch.svelte.d.ts +3 -3
  55. package/index.d.ts +0 -1
  56. package/index.js +0 -1
  57. package/kbd/ArrowKeyDown.svelte.d.ts +3 -3
  58. package/kbd/ArrowKeyLeft.svelte.d.ts +3 -3
  59. package/kbd/ArrowKeyRight.svelte.d.ts +3 -3
  60. package/kbd/ArrowKeyUp.svelte.d.ts +3 -3
  61. package/kbd/Kbd.svelte.d.ts +3 -3
  62. package/list-group/Listgroup.svelte.d.ts +3 -3
  63. package/list-group/ListgroupItem.svelte +1 -1
  64. package/list-group/ListgroupItem.svelte.d.ts +3 -3
  65. package/megamenu/MegaMenu.svelte.d.ts +3 -3
  66. package/modals/Modal.svelte.d.ts +3 -3
  67. package/navbar/Menu.svelte.d.ts +3 -3
  68. package/navbar/NavBrand.svelte.d.ts +3 -3
  69. package/navbar/NavDropdown.svelte.d.ts +3 -3
  70. package/navbar/NavHamburger.svelte.d.ts +3 -3
  71. package/navbar/NavLi.svelte.d.ts +3 -3
  72. package/navbar/NavUl.svelte.d.ts +3 -3
  73. package/navbar/Navbar.svelte.d.ts +3 -3
  74. package/package.json +15 -16
  75. package/paginations/Pagination.svelte.d.ts +3 -3
  76. package/paginations/PaginationItem.svelte.d.ts +3 -3
  77. package/popover/Popover.svelte.d.ts +3 -3
  78. package/progressbars/Progressbar.svelte.d.ts +3 -3
  79. package/ratings/AdvancedRating.svelte.d.ts +3 -3
  80. package/ratings/Rating.svelte.d.ts +3 -3
  81. package/ratings/RatingComment.svelte.d.ts +3 -3
  82. package/ratings/Review.svelte.d.ts +3 -3
  83. package/ratings/ScoreRating.svelte.d.ts +3 -3
  84. package/ratings/Star.svelte.d.ts +3 -3
  85. package/sidebars/Sidebar.svelte.d.ts +3 -3
  86. package/sidebars/SidebarBrand.svelte.d.ts +3 -3
  87. package/sidebars/SidebarCta.svelte.d.ts +3 -3
  88. package/sidebars/SidebarDropdownItem.svelte.d.ts +3 -3
  89. package/sidebars/SidebarDropdownWrapper.svelte.d.ts +3 -3
  90. package/sidebars/SidebarGroup.svelte.d.ts +3 -3
  91. package/sidebars/SidebarItem.svelte.d.ts +3 -3
  92. package/sidebars/SidebarWrapper.svelte.d.ts +3 -3
  93. package/skeleton/CardPlaceholder.svelte.d.ts +3 -3
  94. package/skeleton/ImagePlaceholder.svelte.d.ts +3 -3
  95. package/skeleton/ListPlaceholder.svelte.d.ts +3 -3
  96. package/skeleton/Skeleton.svelte.d.ts +3 -3
  97. package/skeleton/TestimonialPlaceholder.svelte.d.ts +3 -3
  98. package/skeleton/TextPlaceholder.svelte.d.ts +3 -3
  99. package/skeleton/VideoPlaceholder.svelte.d.ts +3 -3
  100. package/skeleton/WidgetPlaceholder.svelte.d.ts +3 -3
  101. package/speed-dial/SpeedDial.svelte.d.ts +3 -3
  102. package/speed-dial/SpeedDialButton.svelte.d.ts +3 -3
  103. package/spinners/Spinner.svelte.d.ts +3 -3
  104. package/tables/Table.svelte.d.ts +3 -3
  105. package/tables/TableBody.svelte.d.ts +2 -2
  106. package/tables/TableBodyCell.svelte.d.ts +3 -3
  107. package/tables/TableBodyRow.svelte.d.ts +3 -3
  108. package/tables/TableHead.svelte.d.ts +3 -3
  109. package/tables/TableHeadCell.svelte.d.ts +4 -4
  110. package/tables/TableSearch.svelte.d.ts +3 -3
  111. package/tabs/TabHead.svelte.d.ts +3 -3
  112. package/tabs/TabHeadItem.svelte.d.ts +3 -3
  113. package/tabs/TabItem.svelte.d.ts +3 -3
  114. package/tabs/Tabs.svelte.d.ts +3 -3
  115. package/timelines/Activity.svelte.d.ts +3 -3
  116. package/timelines/ActivityItem.svelte.d.ts +3 -3
  117. package/timelines/Group.svelte.d.ts +3 -3
  118. package/timelines/GroupItem.svelte.d.ts +3 -3
  119. package/timelines/Timeline.svelte.d.ts +3 -3
  120. package/timelines/TimelineHorizontal.svelte.d.ts +3 -3
  121. package/timelines/TimelineItem.svelte.d.ts +3 -3
  122. package/timelines/TimelineItemHorizontal.svelte.d.ts +3 -3
  123. package/timelines/TimelineItemVertical.svelte.d.ts +3 -3
  124. package/toasts/Toast.svelte.d.ts +3 -3
  125. package/toolbar/Toolbar.svelte.d.ts +3 -3
  126. package/toolbar/ToolbarButton.svelte.d.ts +3 -3
  127. package/toolbar/ToolbarGroup.svelte.d.ts +4 -4
  128. package/tooltips/Tooltip.svelte.d.ts +3 -3
  129. package/types.d.ts +19 -19
  130. package/typography/A.svelte +3 -1
  131. package/typography/A.svelte.d.ts +5 -3
  132. package/typography/Blockquote.svelte.d.ts +3 -3
  133. package/typography/DescriptionList.svelte.d.ts +3 -3
  134. package/typography/Heading.svelte.d.ts +3 -3
  135. package/typography/Hr.svelte.d.ts +3 -3
  136. package/typography/Img.svelte.d.ts +3 -3
  137. package/typography/Layout.svelte.d.ts +3 -3
  138. package/typography/Li.svelte.d.ts +3 -3
  139. package/typography/List.svelte.d.ts +3 -3
  140. package/typography/Mark.svelte.d.ts +3 -3
  141. package/typography/P.svelte.d.ts +4 -4
  142. package/typography/Secondary.svelte.d.ts +3 -3
  143. package/typography/Span.svelte.d.ts +3 -3
  144. package/typography/Ul.svelte.d.ts +3 -3
  145. package/utils/Chevron.svelte.d.ts +3 -3
  146. package/utils/ChevronDown.svelte.d.ts +3 -3
  147. package/utils/ChevronLeft.svelte.d.ts +3 -3
  148. package/utils/ChevronRight.svelte.d.ts +3 -3
  149. package/utils/ChevronUp.svelte.d.ts +3 -3
  150. package/utils/CloseButton.svelte.d.ts +3 -3
  151. package/utils/Frame.svelte.d.ts +3 -3
  152. package/utils/InformationCircle.svelte.d.ts +3 -3
  153. package/utils/Popper.svelte +1 -1
  154. package/utils/Popper.svelte.d.ts +3 -3
  155. package/utils/UserCircle.svelte.d.ts +3 -3
  156. package/utils/Wrapper.svelte.d.ts +3 -3
  157. package/video/Video.svelte.d.ts +3 -3
  158. package/forms/Iconinput.svelte +0 -81
  159. package/forms/Iconinput.svelte.d.ts +0 -39
@@ -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 size = 'sm';
4
- export let inputClass = 'block w-full text-gray-900 bg-gray-50 rounded-lg border border-gray-300 cursor-pointer dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400';
4
+ export let files = undefined;
5
+ export let inputClass = 'border !p-0 dark:text-gray-400';
5
6
  </script>
6
7
 
7
- <input
8
- {...$$restProps}
9
- on:change
10
- on:keyup
11
- on:keydown
12
- on:keypress
13
- on:focus
14
- on:blur
15
- on:click
16
- on:mouseover
17
- on:mouseenter
18
- on:mouseleave
19
- on:paste
20
- bind:value
21
- class={classNames(inputClass, {
22
- 'mb-5 text-xs': size === 'xs',
23
- 'mb-5 text-sm': size === 'sm',
24
- 'text-lg': size === 'lg'
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
- size?: "xs" | "sm" | "lg" | undefined;
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 declare type FileuploadProps = typeof __propDef.props;
27
- export declare type FileuploadEvents = typeof __propDef.events;
28
- export declare type FileuploadSlots = typeof __propDef.slots;
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 declare type FloatingLabelInputProps = typeof __propDef.props;
32
- export declare type FloatingLabelInputEvents = typeof __propDef.events;
33
- export declare type FloatingLabelInputSlots = typeof __propDef.slots;
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 {};
@@ -12,9 +12,9 @@ declare const __propDef: {
12
12
  default: {};
13
13
  };
14
14
  };
15
- export declare type HelperProps = typeof __propDef.props;
16
- export declare type HelperEvents = typeof __propDef.events;
17
- export declare type HelperSlots = typeof __propDef.slots;
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 {};
@@ -37,9 +37,9 @@ declare const __propDef: {
37
37
  right: {};
38
38
  };
39
39
  };
40
- export declare type InputProps = typeof __propDef.props;
41
- export declare type InputEvents = typeof __propDef.events;
42
- export declare type InputSlots = typeof __propDef.slots;
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 declare type InputAddonProps = typeof __propDef.props;
15
- export declare type InputAddonEvents = typeof __propDef.events;
16
- export declare type InputAddonSlots = typeof __propDef.slots;
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 {};
@@ -13,9 +13,9 @@ declare const __propDef: {
13
13
  default: {};
14
14
  };
15
15
  };
16
- export declare type LabelProps = typeof __propDef.props;
17
- export declare type LabelEvents = typeof __propDef.events;
18
- export declare type LabelSlots = typeof __propDef.slots;
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 declare type NumberInputProps = typeof __propDef.props;
13
- export declare type NumberInputEvents = typeof __propDef.events;
14
- export declare type NumberInputSlots = typeof __propDef.slots;
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 {};
@@ -30,9 +30,9 @@ declare const __propDef: {
30
30
  default: {};
31
31
  };
32
32
  };
33
- export declare type RadioProps = typeof __propDef.props;
34
- export declare type RadioEvents = typeof __propDef.events;
35
- export declare type RadioSlots = typeof __propDef.slots;
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
  };
@@ -16,9 +16,9 @@ declare const __propDef: {
16
16
  };
17
17
  slots: {};
18
18
  };
19
- export declare type RangeProps = typeof __propDef.props;
20
- export declare type RangeEvents = typeof __propDef.events;
21
- export declare type RangeSlots = typeof __propDef.slots;
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 {};
@@ -26,9 +26,9 @@ declare const __propDef: {
26
26
  default: {};
27
27
  };
28
28
  };
29
- export declare type SearchProps = typeof __propDef.props;
30
- export declare type SearchEvents = typeof __propDef.events;
31
- export declare type SearchSlots = typeof __propDef.slots;
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 {};
@@ -19,9 +19,9 @@ declare const __propDef: {
19
19
  };
20
20
  slots: {};
21
21
  };
22
- export declare type SelectProps = typeof __propDef.props;
23
- export declare type SelectEvents = typeof __propDef.events;
24
- export declare type SelectSlots = typeof __propDef.slots;
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]: any;
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 declare type SimpleSearchProps = typeof __propDef.props;
14
- export declare type SimpleSearchEvents = typeof __propDef.events;
15
- export declare type SimpleSearchSlots = typeof __propDef.slots;
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 declare type TextareaProps = typeof __propDef.props;
28
- export declare type TextareaEvents = typeof __propDef.events;
29
- export declare type TextareaSlots = typeof __propDef.slots;
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 {};
@@ -2,7 +2,7 @@ import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
4
  [x: string]: any;
5
- size?: "default" | "small" | "large" | undefined;
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 declare type ToggleProps = typeof __propDef.props;
21
- export declare type ToggleEvents = typeof __propDef.events;
22
- export declare type ToggleSlots = typeof __propDef.slots;
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 declare type VoiceSearchProps = typeof __propDef.props;
24
- export declare type VoiceSearchEvents = typeof __propDef.events;
25
- export declare type VoiceSearchSlots = typeof __propDef.slots;
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 declare type ArrowKeyDownProps = typeof __propDef.props;
13
- export declare type ArrowKeyDownEvents = typeof __propDef.events;
14
- export declare type ArrowKeyDownSlots = typeof __propDef.slots;
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 declare type ArrowKeyLeftProps = typeof __propDef.props;
13
- export declare type ArrowKeyLeftEvents = typeof __propDef.events;
14
- export declare type ArrowKeyLeftSlots = typeof __propDef.slots;
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 declare type ArrowKeyRightProps = typeof __propDef.props;
13
- export declare type ArrowKeyRightEvents = typeof __propDef.events;
14
- export declare type ArrowKeyRightSlots = typeof __propDef.slots;
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 declare type ArrowKeyUpProps = typeof __propDef.props;
13
- export declare type ArrowKeyUpEvents = typeof __propDef.events;
14
- export declare type ArrowKeyUpSlots = typeof __propDef.slots;
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 {};
@@ -11,9 +11,9 @@ declare const __propDef: {
11
11
  default: {};
12
12
  };
13
13
  };
14
- export declare type KbdProps = typeof __propDef.props;
15
- export declare type KbdEvents = typeof __propDef.events;
16
- export declare type KbdSlots = typeof __propDef.slots;
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 declare type ListgroupProps = typeof __propDef.props;
19
- export declare type ListgroupEvents = typeof __propDef.events;
20
- export declare type ListgroupSlots = typeof __propDef.slots;
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-0 sm: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);
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 declare type ListgroupItemProps = typeof __propDef.props;
31
- export declare type ListgroupItemEvents = typeof __propDef.events;
32
- export declare type ListgroupItemSlots = typeof __propDef.slots;
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 declare type MegaMenuProps = typeof __propDef.props;
23
- export declare type MegaMenuEvents = typeof __propDef.events;
24
- export declare type MegaMenuSlots = typeof __propDef.slots;
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 {};
@@ -22,9 +22,9 @@ declare const __propDef: {
22
22
  footer: {};
23
23
  };
24
24
  };
25
- export declare type ModalProps = typeof __propDef.props;
26
- export declare type ModalEvents = typeof __propDef.events;
27
- export declare type ModalSlots = typeof __propDef.slots;
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 {};
@@ -14,9 +14,9 @@ declare const __propDef: {
14
14
  };
15
15
  slots: {};
16
16
  };
17
- export declare type MenuProps = typeof __propDef.props;
18
- export declare type MenuEvents = typeof __propDef.events;
19
- export declare type MenuSlots = typeof __propDef.slots;
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 declare type NavBrandProps = typeof __propDef.props;
15
- export declare type NavBrandEvents = typeof __propDef.events;
16
- export declare type NavBrandSlots = typeof __propDef.slots;
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 declare type NavDropdownProps = typeof __propDef.props;
31
- export declare type NavDropdownEvents = typeof __propDef.events;
32
- export declare type NavDropdownSlots = typeof __propDef.slots;
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 declare type NavHamburgerProps = typeof __propDef.props;
15
- export declare type NavHamburgerEvents = typeof __propDef.events;
16
- export declare type NavHamburgerSlots = typeof __propDef.slots;
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 {};
@@ -25,9 +25,9 @@ declare const __propDef: {
25
25
  default: {};
26
26
  };
27
27
  };
28
- export declare type NavLiProps = typeof __propDef.props;
29
- export declare type NavLiEvents = typeof __propDef.events;
30
- export declare type NavLiSlots = typeof __propDef.slots;
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 {};
@@ -13,9 +13,9 @@ declare const __propDef: {
13
13
  default: {};
14
14
  };
15
15
  };
16
- export declare type NavUlProps = typeof __propDef.props;
17
- export declare type NavUlEvents = typeof __propDef.events;
18
- export declare type NavUlSlots = typeof __propDef.slots;
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 declare type NavbarProps = typeof __propDef.props;
21
- export declare type NavbarEvents = typeof __propDef.events;
22
- export declare type NavbarSlots = typeof __propDef.slots;
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.4",
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.27.1",
16
- "@sveltejs/adapter-vercel": "1.0.0-next.78",
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.43.0",
20
- "@typescript-eslint/parser": "^5.43.0",
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.27.0",
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.7.1",
31
- "prettier-plugin-svelte": "^2.8.0",
30
+ "prettier": "^2.8.1",
31
+ "prettier-plugin-svelte": "^2.9.0",
32
32
  "prism-themes": "^1.9.0",
33
- "svelte": "^3.53.1",
34
- "svelte-check": "^2.9.2",
35
- "svelte-meta-tags": "^2.6.3",
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.20",
37
+ "svelte2tsx": "^0.5.22",
38
38
  "tailwindcss": "^3.2.4",
39
39
  "tslib": "^2.4.1",
40
- "typescript": "^4.8.4",
41
- "vite": "^3.2.3"
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.3"
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",