flowbite-svelte 1.14.2 → 1.14.4

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 (179) hide show
  1. package/dist/accordion/Accordion.svelte +2 -2
  2. package/dist/accordion/Accordion.svelte.d.ts +1 -1
  3. package/dist/accordion/AccordionItem.svelte +2 -2
  4. package/dist/accordion/AccordionItem.svelte.d.ts +1 -1
  5. package/dist/alert/Alert.svelte +1 -1
  6. package/dist/avatar/Avatar.svelte +1 -1
  7. package/dist/badge/Badge.svelte +1 -1
  8. package/dist/banner/Banner.svelte +1 -1
  9. package/dist/bottom-navigation/BottomNav.svelte +1 -1
  10. package/dist/bottom-navigation/BottomNavHeader.svelte +2 -2
  11. package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +1 -1
  12. package/dist/bottom-navigation/BottomNavHeaderItem.svelte +2 -2
  13. package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +1 -1
  14. package/dist/bottom-navigation/BottomNavItem.svelte +2 -2
  15. package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +1 -1
  16. package/dist/breadcrumb/Breadcrumb.svelte +2 -2
  17. package/dist/breadcrumb/Breadcrumb.svelte.d.ts +1 -1
  18. package/dist/breadcrumb/BreadcrumbItem.svelte +1 -1
  19. package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +1 -1
  20. package/dist/button-group/ButtonGroup.svelte +2 -2
  21. package/dist/button-group/ButtonGroup.svelte.d.ts +1 -1
  22. package/dist/buttons/Button.svelte +2 -2
  23. package/dist/buttons/Button.svelte.d.ts +1 -1
  24. package/dist/buttons/GradientButton.svelte +1 -1
  25. package/dist/card/Card.svelte +2 -2
  26. package/dist/card/Card.svelte.d.ts +1 -1
  27. package/dist/carousel/ControlButton.svelte +1 -1
  28. package/dist/carousel/ControlButton.svelte.d.ts +1 -1
  29. package/dist/carousel/Slide.svelte +1 -1
  30. package/dist/carousel/Slide.svelte.d.ts +1 -1
  31. package/dist/carousel/Thumbnail.svelte +1 -1
  32. package/dist/carousel/Thumbnail.svelte.d.ts +1 -1
  33. package/dist/clipboard/Clipboard.svelte +1 -1
  34. package/dist/clipboard/Clipboard.svelte.d.ts +1 -1
  35. package/dist/darkmode/DarkMode.svelte +2 -2
  36. package/dist/darkmode/DarkMode.svelte.d.ts +1 -1
  37. package/dist/device-mockups/Android.svelte +2 -2
  38. package/dist/device-mockups/Android.svelte.d.ts +1 -1
  39. package/dist/device-mockups/DefaultMockup.svelte +2 -2
  40. package/dist/device-mockups/DefaultMockup.svelte.d.ts +1 -1
  41. package/dist/device-mockups/Desktop.svelte +2 -2
  42. package/dist/device-mockups/Desktop.svelte.d.ts +1 -1
  43. package/dist/device-mockups/Ios.svelte +1 -1
  44. package/dist/device-mockups/Laptop.svelte +2 -2
  45. package/dist/device-mockups/Laptop.svelte.d.ts +1 -1
  46. package/dist/device-mockups/Smartwatch.svelte +2 -2
  47. package/dist/device-mockups/Smartwatch.svelte.d.ts +1 -1
  48. package/dist/device-mockups/Tablet.svelte +1 -1
  49. package/dist/drawer/Drawer.svelte +2 -2
  50. package/dist/drawer/Drawer.svelte.d.ts +2 -2
  51. package/dist/drawer/Drawerhead.svelte +2 -2
  52. package/dist/drawer/Drawerhead.svelte.d.ts +1 -1
  53. package/dist/dropdown/Dropdown.svelte +1 -1
  54. package/dist/dropdown/DropdownDivider.svelte +2 -2
  55. package/dist/dropdown/DropdownDivider.svelte.d.ts +1 -1
  56. package/dist/dropdown/DropdownGroup.svelte +2 -2
  57. package/dist/dropdown/DropdownGroup.svelte.d.ts +1 -1
  58. package/dist/dropdown/DropdownHeader.svelte +2 -2
  59. package/dist/dropdown/DropdownHeader.svelte.d.ts +1 -1
  60. package/dist/dropdown/DropdownItem.svelte +2 -2
  61. package/dist/dropdown/DropdownItem.svelte.d.ts +1 -1
  62. package/dist/footer/Footer.svelte +2 -2
  63. package/dist/footer/Footer.svelte.d.ts +1 -1
  64. package/dist/footer/FooterBrand.svelte +2 -2
  65. package/dist/footer/FooterBrand.svelte.d.ts +1 -1
  66. package/dist/footer/FooterCopyright.svelte +2 -2
  67. package/dist/footer/FooterCopyright.svelte.d.ts +1 -1
  68. package/dist/footer/FooterIcon.svelte +2 -2
  69. package/dist/footer/FooterIcon.svelte.d.ts +1 -1
  70. package/dist/footer/FooterLink.svelte +2 -2
  71. package/dist/footer/FooterLink.svelte.d.ts +1 -1
  72. package/dist/footer/FooterLinkGroup.svelte +2 -2
  73. package/dist/footer/FooterLinkGroup.svelte.d.ts +1 -1
  74. package/dist/forms/button-toggle/ButtonToggle.svelte +2 -2
  75. package/dist/forms/button-toggle/ButtonToggle.svelte.d.ts +1 -1
  76. package/dist/forms/button-toggle/CheckIcon.svelte +1 -1
  77. package/dist/forms/button-toggle/CheckIcon.svelte.d.ts +1 -1
  78. package/dist/forms/checkbox/Checkbox.svelte +1 -1
  79. package/dist/forms/checkbox/CheckboxButton.svelte +1 -1
  80. package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +1 -1
  81. package/dist/forms/dropzone/Dropzone.svelte +2 -2
  82. package/dist/forms/dropzone/Dropzone.svelte.d.ts +1 -1
  83. package/dist/forms/fileupload/Fileupload.svelte +1 -1
  84. package/dist/forms/floating-label/FloatingLabelInput.svelte +1 -1
  85. package/dist/forms/helper/Helper.svelte +2 -2
  86. package/dist/forms/helper/Helper.svelte.d.ts +1 -1
  87. package/dist/forms/input-field/Input.svelte +2 -1
  88. package/dist/forms/label/Label.svelte +2 -2
  89. package/dist/forms/label/Label.svelte.d.ts +1 -1
  90. package/dist/forms/phoneinput/PhoneInput.svelte +2 -2
  91. package/dist/forms/phoneinput/PhoneInput.svelte.d.ts +1 -1
  92. package/dist/forms/radio/Radio.svelte +1 -1
  93. package/dist/forms/radio/RadioButton.svelte +1 -1
  94. package/dist/forms/range/Range.svelte +2 -2
  95. package/dist/forms/range/Range.svelte.d.ts +1 -1
  96. package/dist/forms/search/Search.svelte +1 -1
  97. package/dist/forms/select/MultiSelect.svelte +1 -1
  98. package/dist/forms/select/Select.svelte +1 -1
  99. package/dist/forms/textarea/Textarea.svelte +1 -1
  100. package/dist/forms/timepicker/Timepicker.svelte +1 -1
  101. package/dist/gallery/Gallery.svelte +2 -2
  102. package/dist/gallery/Gallery.svelte.d.ts +1 -1
  103. package/dist/indicator/Indicator.svelte +1 -1
  104. package/dist/indicator/Indicator.svelte.d.ts +1 -1
  105. package/dist/kbd/Kbd.svelte +2 -2
  106. package/dist/kbd/Kbd.svelte.d.ts +1 -1
  107. package/dist/list-group/Listgroup.svelte +1 -1
  108. package/dist/list-group/ListgroupItem.svelte +1 -1
  109. package/dist/list-group/ListgroupItem.svelte.d.ts +1 -1
  110. package/dist/modal/Modal.svelte +1 -1
  111. package/dist/pagination/Pagination.svelte +2 -1
  112. package/dist/pagination/PaginationButton.svelte +1 -1
  113. package/dist/pagination/PaginationItem.svelte +1 -1
  114. package/dist/progress/Progressbar.svelte +1 -1
  115. package/dist/progress/Progressradial.svelte +1 -1
  116. package/dist/rating/AdvancedRating.svelte +1 -1
  117. package/dist/rating/Rating.svelte +1 -1
  118. package/dist/rating/Review.svelte +1 -1
  119. package/dist/rating/ScoreRating.svelte +1 -1
  120. package/dist/sidebar/Sidebar.svelte +1 -1
  121. package/dist/sidebar/SidebarBrand.svelte +1 -1
  122. package/dist/sidebar/SidebarButton.svelte +1 -1
  123. package/dist/sidebar/SidebarCta.svelte +1 -1
  124. package/dist/sidebar/SidebarItem.svelte +1 -1
  125. package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
  126. package/dist/skeleton/CardPlaceholder.svelte +1 -1
  127. package/dist/skeleton/ImagePlaceholder.svelte +1 -1
  128. package/dist/skeleton/ListPlaceholder.svelte +1 -1
  129. package/dist/skeleton/Skeleton.svelte +1 -1
  130. package/dist/skeleton/TestimonialPlaceholder.svelte +2 -2
  131. package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
  132. package/dist/skeleton/TextPlaceholder.svelte +1 -1
  133. package/dist/skeleton/VideoPlaceholder.svelte +1 -1
  134. package/dist/skeleton/WidgetPlaceholder.svelte +2 -2
  135. package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
  136. package/dist/spinner/Spinner.svelte +1 -1
  137. package/dist/step-indicator/StepIndicator.svelte +2 -2
  138. package/dist/step-indicator/StepIndicator.svelte.d.ts +1 -1
  139. package/dist/stepper/BreadcrumbStepper.svelte +2 -2
  140. package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
  141. package/dist/stepper/DetailedStepper.svelte +2 -2
  142. package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
  143. package/dist/stepper/ProgressStepper.svelte +2 -2
  144. package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
  145. package/dist/stepper/Stepper.svelte +2 -2
  146. package/dist/stepper/Stepper.svelte.d.ts +1 -1
  147. package/dist/stepper/TimelineStepper.svelte +2 -2
  148. package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
  149. package/dist/stepper/VerticalStepper.svelte +2 -2
  150. package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
  151. package/dist/table/Table.svelte +3 -2
  152. package/dist/table/Table.svelte.d.ts +1 -1
  153. package/dist/table/TableBody.svelte +1 -1
  154. package/dist/table/TableBodyCell.svelte +1 -1
  155. package/dist/table/TableBodyRow.svelte +1 -1
  156. package/dist/table/TableHead.svelte +2 -1
  157. package/dist/table/TableHeadCell.svelte +1 -1
  158. package/dist/table/TableSearch.svelte +1 -1
  159. package/dist/tabs/TabItem.svelte +2 -2
  160. package/dist/tabs/TabItem.svelte.d.ts +1 -1
  161. package/dist/tabs/Tabs.svelte +1 -1
  162. package/dist/timeline/Activity.svelte +1 -1
  163. package/dist/timeline/Group.svelte +1 -1
  164. package/dist/timeline/GroupItem.svelte +1 -1
  165. package/dist/timeline/Timeline.svelte +1 -1
  166. package/dist/timeline/TimelineItem.svelte +1 -1
  167. package/dist/toast/Toast.svelte +1 -1
  168. package/dist/toolbar/Toolbar.svelte +1 -1
  169. package/dist/toolbar/ToolbarButton.svelte +1 -1
  170. package/dist/toolbar/ToolbarGroup.svelte +1 -1
  171. package/dist/types.d.ts +2 -2
  172. package/dist/types.js +1 -2
  173. package/dist/typography/img/EnhancedImg.svelte +1 -1
  174. package/dist/typography/img/Img.svelte +1 -1
  175. package/dist/utils/Arrow.svelte +1 -1
  176. package/dist/utils/Arrow.svelte.d.ts +1 -1
  177. package/dist/utils/CloseButton.svelte +2 -2
  178. package/dist/utils/CloseButton.svelte.d.ts +1 -1
  179. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  <script lang="ts">
2
- import { type AccordionCtxType, type AccordionProps } from "..";
2
+ import type { AccordionCtxType, AccordionProps } from "..";
3
3
  import { getTheme } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
5
  import { setContext } from "svelte";
6
- import { accordion } from "./";
6
+ import { accordion } from "./theme";
7
7
  import { createSingleSelectionContext } from "../utils/singleselection.svelte";
8
8
 
9
9
  let { children, flush, activeClass, inactiveClass, multiple = false, class: className, transitionType, ...restProps }: AccordionProps = $props();
@@ -1,4 +1,4 @@
1
- import { type AccordionProps } from "..";
1
+ import type { AccordionProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,11 +1,11 @@
1
1
  <script lang="ts">
2
- import { type AccordionCtxType, type AccordionItemProps, type ParamsType } from "..";
2
+ import type { AccordionCtxType, AccordionItemProps, ParamsType } from "..";
3
3
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
4
4
  import { useSingleSelection } from "../utils/singleselection.svelte";
5
5
  import clsx from "clsx";
6
6
  import { getContext } from "svelte";
7
7
  import { slide } from "svelte/transition";
8
- import { accordionItem } from ".";
8
+ import { accordionItem } from "./theme";
9
9
 
10
10
  let { children, header, arrowup, arrowdown, open = $bindable(false), activeClass, inactiveClass, transitionType = slide, transitionParams, class: className, classes, headerClass, contentClass }: AccordionItemProps = $props();
11
11
 
@@ -1,4 +1,4 @@
1
- import { type AccordionItemProps } from "..";
1
+ import type { AccordionItemProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { fade } from "svelte/transition";
3
- import { alert } from ".";
3
+ import { alert } from "./theme";
4
4
  import clsx from "clsx";
5
5
  import { type AlertProps, type ParamsType, CloseButton } from "..";
6
6
  import { getTheme } from "../theme/themeUtils";
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { avatar } from ".";
2
+ import { avatar } from "./theme";
3
3
  import clsx from "clsx";
4
4
  import { type AvatarProps, Indicator } from "..";
5
5
  import { getTheme } from "../theme/themeUtils";
@@ -3,7 +3,7 @@
3
3
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
5
  import { fade } from "svelte/transition";
6
- import { badge } from ".";
6
+ import { badge } from "./theme";
7
7
  import { createDismissableContext } from "../utils/dismissable";
8
8
 
9
9
  let { children, icon, badgeStatus = $bindable(true), color = "primary", large = false, dismissable = false, class: className, classes, border, href, target, rounded, transition = fade, params, aClass, ...restProps }: BadgeProps = $props();
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { fade } from "svelte/transition";
3
- import { banner } from ".";
3
+ import { banner } from "./theme";
4
4
  import clsx from "clsx";
5
5
  import { type ParamsType, type BannerProps, CloseButton } from "..";
6
6
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
@@ -3,7 +3,7 @@
3
3
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
5
  import { setContext } from "svelte";
6
- import { bottomNav } from ".";
6
+ import { bottomNav } from "./theme";
7
7
 
8
8
  let { children, header, position = "fixed", navType = "default", class: className, classes, outerClass, innerClass, activeClass, activeUrl = "", ...restProps }: BottomNavProps = $props();
9
9
 
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { bottomNavHeader } from ".";
2
+ import { bottomNavHeader } from "./theme";
3
3
  import clsx from "clsx";
4
- import { type BottomNavHeaderProps } from "..";
4
+ import type { BottomNavHeaderProps } from "..";
5
5
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
6
6
 
7
7
  let { children, class: className, classes, outerClass, innerClass, ...restProps }: BottomNavHeaderProps = $props();
@@ -1,4 +1,4 @@
1
- import { type BottomNavHeaderProps } from "..";
1
+ import type { BottomNavHeaderProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { bottomNavHeaderItem } from ".";
2
+ import { bottomNavHeaderItem } from "./theme";
3
3
  import clsx from "clsx";
4
- import { type BottomNavHeaderItemProps } from "..";
4
+ import type { BottomNavHeaderItemProps } from "..";
5
5
  import { getTheme } from "../theme/themeUtils";
6
6
 
7
7
  let { itemName, active, class: className, ...restProps }: BottomNavHeaderItemProps = $props();
@@ -1,4 +1,4 @@
1
- import { type BottomNavHeaderItemProps } from "..";
1
+ import type { BottomNavHeaderItemProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,10 +1,10 @@
1
1
  <script lang="ts">
2
- import { type BottomNavContextType, type BottomNavItemProps } from "..";
2
+ import type { BottomNavContextType, BottomNavItemProps } from "..";
3
3
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
5
  import { getContext } from "svelte";
6
6
  import type { HTMLAnchorAttributes, HTMLButtonAttributes } from "svelte/elements";
7
- import { bottomNavItem } from ".";
7
+ import { bottomNavItem } from "./theme";
8
8
 
9
9
  let { children, btnName, appBtnPosition = "middle", activeClass, class: className, classes, btnClass, spanClass, active: manualActive, ...restProps }: BottomNavItemProps = $props();
10
10
 
@@ -1,4 +1,4 @@
1
- import { type BottomNavItemProps } from "..";
1
+ import type { BottomNavItemProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { breadcrumb } from ".";
2
+ import { breadcrumb } from "./theme";
3
3
  import clsx from "clsx";
4
- import { type BreadcrumbProps } from "..";
4
+ import type { BreadcrumbProps } from "..";
5
5
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
6
6
 
7
7
  let { children, solid = false, class: className, classes, olClass, ariaLabel = "Breadcrumb", ...restProps }: BreadcrumbProps = $props();
@@ -1,4 +1,4 @@
1
- import { type BreadcrumbProps } from "..";
1
+ import type { BreadcrumbProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { type BreadcrumbItemProps } from "..";
2
+ import type { BreadcrumbItemProps } from "..";
3
3
  import { getTheme } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
5
  import { breadcrumbItem } from "./index";
@@ -1,4 +1,4 @@
1
- import { type BreadcrumbItemProps } from "..";
1
+ import type { BreadcrumbItemProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,8 +1,8 @@
1
1
  <script lang="ts">
2
2
  import { setContext } from "svelte";
3
- import { buttonGroup } from ".";
3
+ import { buttonGroup } from "./theme";
4
4
  import clsx from "clsx";
5
- import { type ButtonGroupProps } from "..";
5
+ import type { ButtonGroupProps } from "..";
6
6
  import { getTheme } from "../theme/themeUtils";
7
7
 
8
8
  let { children, size = "md", disabled, class: className, ...restProps }: ButtonGroupProps = $props();
@@ -1,4 +1,4 @@
1
- import { type ButtonGroupProps } from "..";
1
+ import type { ButtonGroupProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,9 +1,9 @@
1
1
  <script lang="ts">
2
2
  import { getContext } from "svelte";
3
3
  import clsx from "clsx";
4
- import { type SizeType, type ButtonProps } from "..";
4
+ import type { SizeType, ButtonProps } from "..";
5
5
  import { getTheme } from "../theme/themeUtils";
6
- import { button } from ".";
6
+ import { button } from "./theme";
7
7
 
8
8
  const group: SizeType = getContext("group");
9
9
  const ctxDisabled: boolean | undefined = getContext("disabled");
@@ -1,4 +1,4 @@
1
- import { type ButtonProps } from "..";
1
+ import type { ButtonProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { getContext } from "svelte";
3
- import { gradientButton } from ".";
3
+ import { gradientButton } from "./theme";
4
4
  import clsx from "clsx";
5
5
  import { type GradientButtonProps, type SizeType, Button } from "..";
6
6
  import { getTheme } from "../theme/themeUtils";
@@ -1,8 +1,8 @@
1
1
  <script lang="ts">
2
- import { type CardProps } from "..";
2
+ import type { CardProps } from "..";
3
3
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
- import { card } from ".";
5
+ import { card } from "./theme";
6
6
 
7
7
  let { children, color = "gray", horizontal = false, shadow = "md", reverse = false, img, size = "sm", class: className, classes, imgClass, ...restProps }: CardProps = $props();
8
8
 
@@ -1,4 +1,4 @@
1
- import { type CardProps } from "..";
1
+ import type { CardProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { controlButton } from "./theme";
3
3
  import clsx from "clsx";
4
- import { type ControlButtonProps } from "..";
4
+ import type { ControlButtonProps } from "..";
5
5
  import { getTheme } from "../theme/themeUtils";
6
6
 
7
7
  let { children, forward, name, class: className, spanClass, ...restProps }: ControlButtonProps = $props();
@@ -1,4 +1,4 @@
1
- import { type ControlButtonProps } from "..";
1
+ import type { ControlButtonProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { type SlideProps, type CarouselState } from "..";
2
+ import type { SlideProps, CarouselState } from "..";
3
3
  import { getTheme } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
5
  import { getContext } from "svelte";
@@ -1,4 +1,4 @@
1
- import { type SlideProps } from "..";
1
+ import type { SlideProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { thumbnail } from "./theme";
3
- import { type ThumbnailProps } from "..";
3
+ import type { ThumbnailProps } from "..";
4
4
  import clsx from "clsx";
5
5
  import { getTheme } from "../theme/themeUtils";
6
6
 
@@ -1,4 +1,4 @@
1
- import { type ThumbnailProps } from "..";
1
+ import type { ThumbnailProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import Button from "../buttons/Button.svelte";
3
3
  import clsx from "clsx";
4
- import { type ClipboardProps } from "..";
4
+ import type { ClipboardProps } from "..";
5
5
  import { clipboard } from "./theme";
6
6
  import type { MouseEventHandler } from "svelte/elements";
7
7
  import { getTheme } from "../theme/themeUtils";
@@ -1,4 +1,4 @@
1
- import { type ClipboardProps } from "..";
1
+ import type { ClipboardProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { darkmode } from ".";
2
+ import { darkmode } from "./theme";
3
3
  import clsx from "clsx";
4
- import { type DarkmodeProps } from "..";
4
+ import type { DarkmodeProps } from "..";
5
5
  import { getTheme } from "../theme/themeUtils";
6
6
 
7
7
  // const THEME_PREFERENCE_KEY = 'color-theme';
@@ -1,4 +1,4 @@
1
- import { type DarkmodeProps } from "..";
1
+ import type { DarkmodeProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,8 +1,8 @@
1
1
  <script lang="ts">
2
- import { type AndroidProps } from "..";
2
+ import type { AndroidProps } from "..";
3
3
  import { warnThemeDeprecation } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
- import { android } from ".";
5
+ import { android } from "./theme";
6
6
 
7
7
  let { children, class: className, classes, divClass, div2Class, div3Class, div4Class, div5Class, div6Class, div7Class, ...restProps }: AndroidProps = $props();
8
8
 
@@ -1,4 +1,4 @@
1
- import { type AndroidProps } from "..";
1
+ import type { AndroidProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,8 +1,8 @@
1
1
  <script lang="ts">
2
- import { type DefaultMockupProps } from "..";
2
+ import type { DefaultMockupProps } from "..";
3
3
  import { warnThemeDeprecation } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
- import { defaultMockup } from ".";
5
+ import { defaultMockup } from "./theme";
6
6
 
7
7
  let { children, class: className, classes, divClass, div2Class, div3Class, div4Class, div5Class, div6Class, ...restProps }: DefaultMockupProps = $props();
8
8
 
@@ -1,4 +1,4 @@
1
- import { type DefaultMockupProps } from "..";
1
+ import type { DefaultMockupProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,8 +1,8 @@
1
1
  <script lang="ts">
2
- import { type DesktopProps } from "..";
2
+ import type { DesktopProps } from "..";
3
3
  import { warnThemeDeprecation } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
- import { desktop } from ".";
5
+ import { desktop } from "./theme";
6
6
 
7
7
  let { children, class: className, classes, divClass, div2Class, div3Class, div4Class, ...restProps }: DesktopProps = $props();
8
8
 
@@ -1,4 +1,4 @@
1
- import { type DesktopProps } from "..";
1
+ import type { DesktopProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { ios } from ".";
2
+ import { ios } from "./theme";
3
3
  import { type IosProps, cn } from "..";
4
4
  import { warnThemeDeprecation } from "../theme/themeUtils";
5
5
  import clsx from "clsx";
@@ -1,8 +1,8 @@
1
1
  <script lang="ts">
2
- import { type LaptopProps } from "..";
2
+ import type { LaptopProps } from "..";
3
3
  import { warnThemeDeprecation } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
- import { laptop } from ".";
5
+ import { laptop } from "./theme";
6
6
 
7
7
  let { children, class: className, classes, divClass, div2Class, div3Class, div4Class, ...restProps }: LaptopProps = $props();
8
8
 
@@ -1,4 +1,4 @@
1
- import { type LaptopProps } from "..";
1
+ import type { LaptopProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,8 +1,8 @@
1
1
  <script lang="ts">
2
- import { type SmartwatchProps } from "..";
2
+ import type { SmartwatchProps } from "..";
3
3
  import { warnThemeDeprecation } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
- import { smartwatch } from ".";
5
+ import { smartwatch } from "./theme";
6
6
 
7
7
  let { children, class: className, classes, divClass, div2Class, div3Class, div4Class, div5Class, div6Class, ...restProps }: SmartwatchProps = $props();
8
8
 
@@ -1,4 +1,4 @@
1
- import { type SmartwatchProps } from "..";
1
+ import type { SmartwatchProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { tablet } from ".";
2
+ import { tablet } from "./theme";
3
3
  import { type TabletProps, cn } from "..";
4
4
  import { warnThemeDeprecation } from "../theme/themeUtils";
5
5
  import clsx from "clsx";
@@ -1,11 +1,11 @@
1
1
  <script lang="ts">
2
- import { type DrawerProps } from "..";
2
+ import type { DrawerProps } from "..";
3
3
  import Dialog from "../dialog/Dialog.svelte";
4
4
  import { getTheme } from "../theme/themeUtils";
5
5
  import clsx from "clsx";
6
6
  import { sineIn } from "svelte/easing";
7
7
  import { fly } from "svelte/transition";
8
- import { drawer } from ".";
8
+ import { drawer } from "./theme";
9
9
  import { setContext, tick } from "svelte";
10
10
 
11
11
  let { children, open = $bindable(false), hidden = $bindable(), modal, offset, width, dismissable = offset ? false : undefined, placement = "left", class: className, transitionParams, transition = fly, outsideclose, activateClickOutside, ...restProps }: DrawerProps = $props();
@@ -1,4 +1,4 @@
1
- import { type DrawerProps } from "..";
1
+ import type { DrawerProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -19,6 +19,6 @@ import { type DrawerProps } from "..";
19
19
  * @prop activateClickOutside
20
20
  * @prop ...restProps
21
21
  */
22
- declare const Drawer: import("svelte").Component<DrawerProps, {}, "hidden" | "open">;
22
+ declare const Drawer: import("svelte").Component<DrawerProps, {}, "open" | "hidden">;
23
23
  type Drawer = ReturnType<typeof Drawer>;
24
24
  export default Drawer;
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { drawerhead } from ".";
2
+ import { drawerhead } from "./theme";
3
3
  import clsx from "clsx";
4
- import { type DrawerheadProps } from "..";
4
+ import type { DrawerheadProps } from "..";
5
5
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
6
6
 
7
7
  let { closeIcon, children, buttonClass, svgClass, class: className, classes, ...restProps }: DrawerheadProps = $props();
@@ -1,4 +1,4 @@
1
- import { type DrawerheadProps } from "..";
1
+ import type { DrawerheadProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -3,7 +3,7 @@
3
3
  import { getTheme } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
5
  import { setContext } from "svelte";
6
- import { dropdown } from "./";
6
+ import { dropdown } from "./theme";
7
7
 
8
8
  let { children, simple = false, placement = "bottom", offset = 2, class: className, activeUrl = "", isOpen = $bindable(false), ...restProps }: DropdownProps = $props();
9
9
 
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { dropdownDivider } from ".";
2
+ import { dropdownDivider } from "./theme";
3
3
  import clsx from "clsx";
4
- import { type DropdownDividerProps } from "..";
4
+ import type { DropdownDividerProps } from "..";
5
5
  import { getTheme } from "../theme/themeUtils";
6
6
 
7
7
  let { class: className, ...restProps }: DropdownDividerProps = $props();
@@ -1,4 +1,4 @@
1
- import { type DropdownDividerProps } from "..";
1
+ import type { DropdownDividerProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { dropdownGroup } from ".";
2
+ import { dropdownGroup } from "./theme";
3
3
  import clsx from "clsx";
4
- import { type DropdownGroupProps } from "..";
4
+ import type { DropdownGroupProps } from "..";
5
5
  import { getTheme } from "../theme/themeUtils";
6
6
 
7
7
  let { children, class: className, ...restProps }: DropdownGroupProps = $props();
@@ -1,4 +1,4 @@
1
- import { type DropdownGroupProps } from "..";
1
+ import type { DropdownGroupProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { dropdownHeader } from ".";
2
+ import { dropdownHeader } from "./theme";
3
3
  import clsx from "clsx";
4
- import { type DropdownHeaderProps } from "..";
4
+ import type { DropdownHeaderProps } from "..";
5
5
  import { getTheme } from "../theme/themeUtils";
6
6
 
7
7
  let { children, class: className, ...restProps }: DropdownHeaderProps = $props();
@@ -1,4 +1,4 @@
1
- import { type DropdownHeaderProps } from "..";
1
+ import type { DropdownHeaderProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,8 +1,8 @@
1
1
  <script lang="ts">
2
2
  import { getContext } from "svelte";
3
- import { dropdownItem } from ".";
3
+ import { dropdownItem } from "./theme";
4
4
  import clsx from "clsx";
5
- import { type DropdownItemProps } from "..";
5
+ import type { DropdownItemProps } from "..";
6
6
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
7
7
 
8
8
  let { aClass, children, activeClass, liClass, classes, class: className, ...restProps }: DropdownItemProps = $props();
@@ -1,4 +1,4 @@
1
- import { type DropdownItemProps } from "..";
1
+ import type { DropdownItemProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { footer } from ".";
2
+ import { footer } from "./theme";
3
3
  import clsx from "clsx";
4
- import { type FooterProps } from "..";
4
+ import type { FooterProps } from "..";
5
5
  import { getTheme } from "../theme/themeUtils";
6
6
 
7
7
  let { children, footerType = "default", class: className, ...restProps }: FooterProps = $props();
@@ -1,4 +1,4 @@
1
- import { type FooterProps } from "..";
1
+ import type { FooterProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { footerBrand } from ".";
2
+ import { footerBrand } from "./theme";
3
3
  import clsx from "clsx";
4
- import { type FooterBrandProps } from "..";
4
+ import type { FooterBrandProps } from "..";
5
5
  import { getTheme } from "../theme/themeUtils";
6
6
 
7
7
  let { children, aClass, spanClass, imgClass, href, src, alt, name, ...restProps }: FooterBrandProps = $props();