flowbite-svelte 1.6.2 → 1.6.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 (197) hide show
  1. package/dist/datepicker/Datepicker.svelte +70 -18
  2. package/dist/forms/textarea/Textarea.svelte +1 -1
  3. package/dist/forms/textarea/Textarea.svelte.d.ts +1 -1
  4. package/dist/forms/timepicker/Timepicker.svelte +39 -33
  5. package/dist/forms/timepicker/Timepicker.svelte.d.ts +1 -0
  6. package/dist/forms/toggle/Toggle.svelte +1 -1
  7. package/dist/forms/toggle/Toggle.svelte.d.ts +1 -1
  8. package/dist/gallery/Gallery.svelte +1 -1
  9. package/dist/gallery/Gallery.svelte.d.ts +1 -1
  10. package/dist/indicator/Indicator.svelte +1 -1
  11. package/dist/indicator/Indicator.svelte.d.ts +1 -1
  12. package/dist/kbd/Kbd.svelte +1 -1
  13. package/dist/kbd/Kbd.svelte.d.ts +1 -1
  14. package/dist/list-group/Listgroup.svelte +1 -1
  15. package/dist/list-group/Listgroup.svelte.d.ts +1 -1
  16. package/dist/list-group/ListgroupItem.svelte +1 -1
  17. package/dist/list-group/ListgroupItem.svelte.d.ts +1 -1
  18. package/dist/mega-menu/MegaMenu.svelte +1 -1
  19. package/dist/mega-menu/MegaMenu.svelte.d.ts +1 -1
  20. package/dist/modal/Modal.svelte +1 -1
  21. package/dist/modal/Modal.svelte.d.ts +1 -1
  22. package/dist/navbar/Menu.svelte +1 -1
  23. package/dist/navbar/Menu.svelte.d.ts +1 -1
  24. package/dist/navbar/NavBrand.svelte +1 -1
  25. package/dist/navbar/NavBrand.svelte.d.ts +1 -1
  26. package/dist/navbar/NavContainer.svelte +1 -1
  27. package/dist/navbar/NavContainer.svelte.d.ts +1 -1
  28. package/dist/navbar/NavHamburger.svelte +1 -1
  29. package/dist/navbar/NavHamburger.svelte.d.ts +1 -1
  30. package/dist/navbar/NavLi.svelte +1 -1
  31. package/dist/navbar/NavLi.svelte.d.ts +1 -1
  32. package/dist/navbar/NavUl.svelte +1 -1
  33. package/dist/navbar/NavUl.svelte.d.ts +1 -1
  34. package/dist/navbar/Navbar.svelte +1 -1
  35. package/dist/navbar/Navbar.svelte.d.ts +1 -1
  36. package/dist/pagination/Pagination.svelte +1 -1
  37. package/dist/pagination/Pagination.svelte.d.ts +1 -1
  38. package/dist/pagination/PaginationButton.svelte +1 -1
  39. package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
  40. package/dist/pagination/PaginationItem.svelte +1 -1
  41. package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
  42. package/dist/pagination/PaginationNav.svelte +1 -1
  43. package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
  44. package/dist/popover/Popover.svelte +1 -1
  45. package/dist/popover/Popover.svelte.d.ts +1 -1
  46. package/dist/progress/Progressbar.svelte +1 -1
  47. package/dist/progress/Progressbar.svelte.d.ts +1 -1
  48. package/dist/progress/Progressradial.svelte +1 -1
  49. package/dist/progress/Progressradial.svelte.d.ts +1 -1
  50. package/dist/rating/AdvancedRating.svelte +1 -1
  51. package/dist/rating/AdvancedRating.svelte.d.ts +1 -1
  52. package/dist/rating/CustomIcon.svelte +1 -1
  53. package/dist/rating/CustomIcon.svelte.d.ts +1 -1
  54. package/dist/rating/Heart.svelte +1 -1
  55. package/dist/rating/Heart.svelte.d.ts +1 -1
  56. package/dist/rating/Rating.svelte +1 -1
  57. package/dist/rating/Rating.svelte.d.ts +1 -1
  58. package/dist/rating/RatingComment.svelte +1 -1
  59. package/dist/rating/RatingComment.svelte.d.ts +1 -1
  60. package/dist/rating/Review.svelte +1 -1
  61. package/dist/rating/Review.svelte.d.ts +1 -1
  62. package/dist/rating/ScoreRating.svelte +1 -1
  63. package/dist/rating/ScoreRating.svelte.d.ts +1 -1
  64. package/dist/rating/Star.svelte +1 -1
  65. package/dist/rating/Star.svelte.d.ts +1 -1
  66. package/dist/rating/Thumbup.svelte +1 -1
  67. package/dist/rating/Thumbup.svelte.d.ts +1 -1
  68. package/dist/sidebar/Sidebar.svelte +1 -1
  69. package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
  70. package/dist/sidebar/SidebarBrand.svelte +1 -1
  71. package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
  72. package/dist/sidebar/SidebarButton.svelte +1 -1
  73. package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
  74. package/dist/sidebar/SidebarCta.svelte +1 -1
  75. package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
  76. package/dist/sidebar/SidebarDropdownWrapper.svelte +1 -1
  77. package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +1 -1
  78. package/dist/sidebar/SidebarGroup.svelte +1 -1
  79. package/dist/sidebar/SidebarGroup.svelte.d.ts +1 -1
  80. package/dist/sidebar/SidebarItem.svelte +1 -1
  81. package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
  82. package/dist/skeleton/CardPlaceholder.svelte +1 -1
  83. package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
  84. package/dist/skeleton/ImagePlaceholder.svelte +1 -1
  85. package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
  86. package/dist/skeleton/ListPlaceholder.svelte +1 -1
  87. package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
  88. package/dist/skeleton/Skeleton.svelte +1 -1
  89. package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
  90. package/dist/skeleton/TestimonialPlaceholder.svelte +1 -1
  91. package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
  92. package/dist/skeleton/TextPlaceholder.svelte +1 -1
  93. package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
  94. package/dist/skeleton/VideoPlaceholder.svelte +1 -1
  95. package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
  96. package/dist/skeleton/WidgetPlaceholder.svelte +1 -1
  97. package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
  98. package/dist/speed-dial/SpeedDial.svelte +1 -1
  99. package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
  100. package/dist/speed-dial/SpeedDialButton.svelte +1 -1
  101. package/dist/speed-dial/SpeedDialButton.svelte.d.ts +1 -1
  102. package/dist/speed-dial/SpeedDialTrigger.svelte +1 -1
  103. package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +1 -1
  104. package/dist/spinner/Spinner.svelte +1 -1
  105. package/dist/spinner/Spinner.svelte.d.ts +1 -1
  106. package/dist/stepindicator/StepIndicator.svelte +1 -1
  107. package/dist/stepindicator/StepIndicator.svelte.d.ts +1 -1
  108. package/dist/stepper/BreadcrumbStepper.svelte +1 -1
  109. package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
  110. package/dist/stepper/DetailedStepper.svelte +1 -1
  111. package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
  112. package/dist/stepper/ProgressStepper.svelte +1 -1
  113. package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
  114. package/dist/stepper/Stepper.svelte +1 -1
  115. package/dist/stepper/Stepper.svelte.d.ts +1 -1
  116. package/dist/stepper/TimelineStepper.svelte +1 -1
  117. package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
  118. package/dist/stepper/VerticalStepper.svelte +1 -1
  119. package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
  120. package/dist/table/Table.svelte +1 -1
  121. package/dist/table/Table.svelte.d.ts +1 -1
  122. package/dist/table/TableBody.svelte +1 -1
  123. package/dist/table/TableBody.svelte.d.ts +1 -1
  124. package/dist/table/TableBodyCell.svelte +1 -1
  125. package/dist/table/TableBodyCell.svelte.d.ts +1 -1
  126. package/dist/table/TableBodyRow.svelte +1 -1
  127. package/dist/table/TableBodyRow.svelte.d.ts +1 -1
  128. package/dist/table/TableHead.svelte +1 -1
  129. package/dist/table/TableHead.svelte.d.ts +1 -1
  130. package/dist/table/TableHeadCell.svelte +1 -1
  131. package/dist/table/TableHeadCell.svelte.d.ts +1 -1
  132. package/dist/table/TableSearch.svelte +1 -1
  133. package/dist/table/TableSearch.svelte.d.ts +1 -1
  134. package/dist/tabs/TabItem.svelte +1 -1
  135. package/dist/tabs/TabItem.svelte.d.ts +1 -1
  136. package/dist/tabs/Tabs.svelte +1 -1
  137. package/dist/tabs/Tabs.svelte.d.ts +1 -1
  138. package/dist/theme/Theme.svelte +1 -1
  139. package/dist/theme/Theme.svelte.d.ts +1 -1
  140. package/dist/timeline/Activity.svelte +1 -1
  141. package/dist/timeline/Activity.svelte.d.ts +1 -1
  142. package/dist/timeline/ActivityItem.svelte +1 -1
  143. package/dist/timeline/ActivityItem.svelte.d.ts +1 -1
  144. package/dist/timeline/Group.svelte +1 -1
  145. package/dist/timeline/Group.svelte.d.ts +1 -1
  146. package/dist/timeline/GroupItem.svelte +1 -1
  147. package/dist/timeline/GroupItem.svelte.d.ts +1 -1
  148. package/dist/timeline/Timeline.svelte +1 -1
  149. package/dist/timeline/Timeline.svelte.d.ts +1 -1
  150. package/dist/timeline/TimelineItem.svelte +1 -1
  151. package/dist/timeline/TimelineItem.svelte.d.ts +1 -1
  152. package/dist/toast/Toast.svelte +1 -1
  153. package/dist/toast/Toast.svelte.d.ts +1 -1
  154. package/dist/toolbar/Toolbar.svelte +1 -1
  155. package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
  156. package/dist/toolbar/ToolbarButton.svelte +1 -1
  157. package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
  158. package/dist/toolbar/ToolbarGroup.svelte +1 -1
  159. package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
  160. package/dist/tooltip/Tooltip.svelte +1 -1
  161. package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
  162. package/dist/types.d.ts +1 -0
  163. package/dist/typography/anchor/A.svelte +1 -1
  164. package/dist/typography/anchor/A.svelte.d.ts +1 -1
  165. package/dist/typography/blockquote/Blockquote.svelte +1 -1
  166. package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
  167. package/dist/typography/descriptionlist/DescriptionList.svelte +1 -1
  168. package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
  169. package/dist/typography/heading/Heading.svelte +1 -1
  170. package/dist/typography/heading/Heading.svelte.d.ts +1 -1
  171. package/dist/typography/hr/Hr.svelte +1 -1
  172. package/dist/typography/hr/Hr.svelte.d.ts +1 -1
  173. package/dist/typography/img/EnhancedImg.svelte +1 -1
  174. package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
  175. package/dist/typography/img/Img.svelte +1 -1
  176. package/dist/typography/img/Img.svelte.d.ts +1 -1
  177. package/dist/typography/layout/Layout.svelte +1 -1
  178. package/dist/typography/layout/Layout.svelte.d.ts +1 -1
  179. package/dist/typography/list/Li.svelte +1 -1
  180. package/dist/typography/list/Li.svelte.d.ts +1 -1
  181. package/dist/typography/list/List.svelte +1 -1
  182. package/dist/typography/list/List.svelte.d.ts +1 -1
  183. package/dist/typography/mark/Mark.svelte +1 -1
  184. package/dist/typography/mark/Mark.svelte.d.ts +1 -1
  185. package/dist/typography/paragraph/P.svelte +1 -1
  186. package/dist/typography/paragraph/P.svelte.d.ts +1 -1
  187. package/dist/typography/secondary/Secondary.svelte +1 -1
  188. package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
  189. package/dist/typography/span/Span.svelte +1 -1
  190. package/dist/typography/span/Span.svelte.d.ts +1 -1
  191. package/dist/utils/Arrow.svelte +1 -1
  192. package/dist/utils/Arrow.svelte.d.ts +1 -1
  193. package/dist/utils/Popper.svelte +1 -1
  194. package/dist/utils/Popper.svelte.d.ts +1 -1
  195. package/dist/video/Video.svelte +1 -1
  196. package/dist/video/Video.svelte.d.ts +1 -1
  197. package/package.json +1 -1
@@ -10,6 +10,7 @@
10
10
  const dateFormatOptions = $derived(dateFormat ?? dateFormatDefault);
11
11
  // Internal state
12
12
  let isOpen: boolean = $state(inline);
13
+ let showMonthSelector: boolean = $state(false);
13
14
  let inputElement: HTMLInputElement | null = $state(null);
14
15
  let datepickerContainerElement: HTMLDivElement;
15
16
  let currentMonth: Date = $state(value || defaultDate || new Date());
@@ -62,6 +63,11 @@
62
63
  };
63
64
  let weekdays = getWeekdayNames();
64
65
 
66
+ const getMonthNames = (): string[] => {
67
+ return Array.from({ length: 12 }, (_, i) => new Date(2000, i, 1).toLocaleDateString(locale, { month: "short" }));
68
+ };
69
+ let monthNames = getMonthNames();
70
+
65
71
  const addMonth = (date: Date, increment: number): Date => new Date(date.getFullYear(), date.getMonth() + increment, 1);
66
72
  const addDay = (date: Date, increment: number): Date => new Date(date.getFullYear(), date.getMonth(), date.getDate() + increment);
67
73
 
@@ -69,6 +75,21 @@
69
75
  currentMonth = new Date(currentMonth.getFullYear(), currentMonth.getMonth() + increment, 1);
70
76
  }
71
77
 
78
+ function changeYear(increment: number) {
79
+ currentMonth = new Date(currentMonth.getFullYear() + increment, currentMonth.getMonth(), 1);
80
+ }
81
+
82
+ function selectMonth(monthIndex: number, event: MouseEvent) {
83
+ event.stopPropagation();
84
+ currentMonth = new Date(currentMonth.getFullYear(), monthIndex, 1);
85
+ showMonthSelector = false;
86
+ }
87
+
88
+ function toggleMonthSelector(event: MouseEvent) {
89
+ event.stopPropagation();
90
+ showMonthSelector = !showMonthSelector;
91
+ }
92
+
72
93
  function handleDaySelect(day: Date) {
73
94
  if (range) {
74
95
  if (!rangeFrom || (rangeFrom && rangeTo)) {
@@ -98,6 +119,7 @@
98
119
  function handleClickOutside(event: MouseEvent) {
99
120
  if (isOpen && datepickerContainerElement && !datepickerContainerElement.contains(event.target as Node)) {
100
121
  isOpen = false;
122
+ showMonthSelector = false;
101
123
  }
102
124
  }
103
125
 
@@ -133,6 +155,7 @@
133
155
  break;
134
156
  case "Escape":
135
157
  isOpen = false;
158
+ showMonthSelector = false;
136
159
  inputElement?.focus();
137
160
  break;
138
161
  default:
@@ -180,6 +203,14 @@
180
203
  </ToolbarButton>
181
204
  {/snippet}
182
205
 
206
+ {#snippet yearNavButton(forward: boolean)}
207
+ <ToolbarButton color="dark" onclick={() => changeYear(forward ? 1 : -1)} size="lg" aria-label={forward ? "Next year" : "Previous year"}>
208
+ <svg class="h-3 w-3 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
209
+ <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d={forward ? "M1 5h12m0 0L9 1m4 4L9 9" : "M13 5H1m0 0 4 4M1 5l4-4"}></path>
210
+ </svg>
211
+ </ToolbarButton>
212
+ {/snippet}
213
+
183
214
  <div bind:this={datepickerContainerElement} class={["relative", inline && "inline-block"]}>
184
215
  {#if !inline}
185
216
  <div class="relative">
@@ -197,25 +228,46 @@
197
228
  {#if title}
198
229
  <h2 class={titleVariant()}>{title}</h2>
199
230
  {/if}
200
- <div class={nav()}>
201
- {@render navButton(false)}
202
- <h3 class={polite()} aria-live="polite">
203
- {currentMonth.toLocaleString(locale, { month: "long", year: "numeric" })}
204
- </h3>
205
- {@render navButton(true)}
206
- </div>
207
- <div class={grid()} role="grid">
208
- {#each weekdays as day}
209
- <div class={columnHeader()} role="columnheader">{day}</div>
210
- {/each}
211
- {#each daysInMonth as day}
212
- {@const current = day.getMonth() !== currentMonth.getMonth()}
213
- <button type="button" color={isSelected(day) ? color : "alternative"} class={dayButton({ current, today: isToday(day), color: isInRange(day) ? color : undefined })} onclick={() => handleDaySelect(day)} onkeydown={handleCalendarKeydown} aria-label={day.toLocaleDateString(locale, { weekday: "long", year: "numeric", month: "long", day: "numeric" })} aria-selected={isSelected(day)} role="gridcell">
214
- {day.getDate()}
231
+
232
+ {#if showMonthSelector}
233
+ <!-- Month/Year Selector View -->
234
+ <div class={nav()}>
235
+ {@render yearNavButton(false)}
236
+ <h3 class={polite()} aria-live="polite">
237
+ {currentMonth.getFullYear()}
238
+ </h3>
239
+ {@render yearNavButton(true)}
240
+ </div>
241
+ <div class="grid grid-cols-4 gap-2 p-4">
242
+ {#each monthNames as month, index}
243
+ <button type="button" class="rounded-lg px-3 py-2 text-sm hover:bg-gray-100 focus:ring-2 focus:ring-blue-500 dark:hover:bg-gray-700 {currentMonth.getMonth() === index ? 'bg-blue-500 text-white' : 'text-gray-700 dark:text-gray-300'}" onclick={(event) => selectMonth(index, event)}>
244
+ {month}
245
+ </button>
246
+ {/each}
247
+ </div>
248
+ {:else}
249
+ <!-- Regular Calendar View -->
250
+ <div class={nav()}>
251
+ {@render navButton(false)}
252
+ <button type="button" class={cn(polite(), "cursor-pointer rounded px-2 py-1 hover:bg-gray-100 dark:hover:bg-gray-700")} aria-live="polite" onclick={(event) => toggleMonthSelector(event)}>
253
+ {currentMonth.toLocaleString(locale, { month: "long", year: "numeric" })}
215
254
  </button>
216
- {/each}
217
- </div>
218
- {#if showActionButtons}
255
+ {@render navButton(true)}
256
+ </div>
257
+ <div class={grid()} role="grid">
258
+ {#each weekdays as day}
259
+ <div class={columnHeader()} role="columnheader">{day}</div>
260
+ {/each}
261
+ {#each daysInMonth as day}
262
+ {@const current = day.getMonth() !== currentMonth.getMonth()}
263
+ <button type="button" color={isSelected(day) ? color : "alternative"} class={dayButton({ current, today: isToday(day), color: isInRange(day) ? color : undefined })} onclick={() => handleDaySelect(day)} onkeydown={handleCalendarKeydown} aria-label={day.toLocaleDateString(locale, { weekday: "long", year: "numeric", month: "long", day: "numeric" })} aria-selected={isSelected(day)} role="gridcell">
264
+ {day.getDate()}
265
+ </button>
266
+ {/each}
267
+ </div>
268
+ {/if}
269
+
270
+ {#if showActionButtons && !showMonthSelector}
219
271
  <div class={actionButtons()}>
220
272
  <Button onclick={() => handleDaySelect(new Date())} {color} size="sm">Today</Button>
221
273
  <Button onclick={handleClear} color="red" size="sm">Clear</Button>
@@ -54,7 +54,7 @@
54
54
  @component
55
55
  [Go to docs](https://flowbite-svelte.com/)
56
56
  ## Type
57
- [TextareaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L922)
57
+ [TextareaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L923)
58
58
  ## Props
59
59
  @prop header
60
60
  @prop footer
@@ -2,7 +2,7 @@ import { type TextareaProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [TextareaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L922)
5
+ * [TextareaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L923)
6
6
  * ## Props
7
7
  * @prop header
8
8
  * @prop footer
@@ -1,12 +1,13 @@
1
1
  <script lang="ts">
2
- import { Dropdown, DropdownItem, Button, Input, ButtonGroup, Select, InputAddon, Label, Toggle, type TimepickerProps, type TimePickerOption, cn } from "../..";
2
+ import { Dropdown, DropdownItem, Button, Input, ButtonGroup, Select, Label, Toggle, type TimepickerProps, type TimePickerOption, cn } from "../..";
3
+ import { twMerge } from "tailwind-merge";
3
4
 
4
5
  // Props
5
- let { id = "time", endId = "end-time", value = $bindable("00:00"), endValue = $bindable("00:00"), min = "", max = "", required = true, disabled = false, inputColor, buttonColor = "primary", Icon, type = "default", optionLabel = "Options", options = [], size = "md", divClass, inputClass, selectClass, timerangeLabel = "Choose time range", timerangeButtonLabel = "Save time", timeIntervals = [], columns = 2, onselect }: TimepickerProps = $props();
6
+ let { id = "time", endId = "end-time", value = $bindable("00:00"), endValue = $bindable("00:00"), min = "", max = "", required = true, disabled = false, inputColor, buttonColor = "primary", Icon, iconClass = "h-5 w-5 text-gray-500 dark:text-gray-400", type = "default", optionLabel = "Options", options = [], size = "md", divClass, inputClass, selectClass, timerangeLabel = "Choose time range", timerangeButtonLabel = "Save time", timeIntervals = [], columns = 2, onselect }: TimepickerProps = $props();
6
7
 
7
8
  const defaultDivClass = "inline-flex rounded-lg shadow-sm";
8
9
  const acturalDivCls = cn(defaultDivClass, divClass);
9
- const defaultInputClass = "block disabled:cursor-not-allowed disabled:opacity-50 rtl:text-right focus:ring-0 focus:outline-none border-r-0";
10
+ const defaultInputClass = "block disabled:cursor-not-allowed disabled:opacity-50 rtl:text-right focus:ring-0 focus:outline-none rounded-e-lg";
10
11
  const inputCls = cn(defaultInputClass, inputClass);
11
12
  const defaultSelectClass = "text-gray-900 disabled:text-gray-400 bg-gray-50 border border-gray-300 rounded-r-lg rounded-l-none focus:ring-0 focus:outline-none block w-full border-l-1 focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:disabled:text-gray-500 dark:focus:ring-primary-500 dark:focus:border-primary-500";
12
13
  const selectCls = cn(defaultSelectClass, selectClass);
@@ -116,21 +117,21 @@
116
117
  {#if type !== "inline-buttons"}
117
118
  <ButtonGroup {size} class={acturalDivCls}>
118
119
  {#if type === "default"}
119
- <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("rounded-l-lg", inputCls)} bind:value onchange={(e) => handleTimeChange(e)} />
120
- <InputAddon class="rounded-r-lg">
120
+ <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("relative px-2 pr-8", inputCls)} bind:value onchange={(e) => handleTimeChange(e)} />
121
+ <div class="pointer-events-none absolute inset-y-0 end-0 top-0 flex items-center pe-3.5">
121
122
  {#if Icon}
122
- <Icon class="h-4 w-4 text-gray-500 dark:text-gray-400" />
123
+ <Icon class={iconClass} />
123
124
  {:else}
124
125
  <svg class="h-4 w-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
125
126
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6v4l3.276 3.276M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />
126
127
  </svg>
127
128
  {/if}
128
- </InputAddon>
129
+ </div>
129
130
  {:else if type === "select"}
130
- <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("w-1/3 rounded-l-lg", inputCls)} bind:value onchange={(e) => handleTimeChange(e)} />
131
+ <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={twMerge(cn("w-1/3 rounded-l-lg", inputCls), "rounded-e-none")} bind:value onchange={(e) => handleTimeChange(e)} />
131
132
  <Select selectClass={selectCls} onchange={handleOptionSelect} items={options} value={selectedOption} />
132
133
  {:else if type === "dropdown"}
133
- <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("rounded-l-lg", inputCls)} bind:value onchange={(e) => handleTimeChange(e)} />
134
+ <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={twMerge(cn("rounded-l-lg", inputCls), "rounded-e-none")} bind:value onchange={(e) => handleTimeChange(e)} />
134
135
  <Button color={buttonColor} class="!rounded-r-lg">
135
136
  {optionLabel}
136
137
  <svg class="ml-2 h-4 w-4" aria-hidden="true" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg>
@@ -143,27 +144,31 @@
143
144
  {/each}
144
145
  </Dropdown>
145
146
  {:else if type === "range"}
146
- <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("rounded-l-lg", inputCls)} bind:value onchange={(e) => handleTimeChange(e)} />
147
- <InputAddon class="rounded-none">
148
- {#if Icon}
149
- <Icon class="h-4 w-4 text-gray-500 dark:text-gray-400" />
150
- {:else}
151
- <svg class="h-4 w-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
152
- <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6v4l3.276 3.276M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />
153
- </svg>
154
- {/if}
155
- </InputAddon>
147
+ <div class="relative">
148
+ <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={twMerge(cn("relative pr-8", inputCls))} bind:value onchange={(e) => handleTimeChange(e)} />
149
+ <button type="button" class="pointer-events-none absolute inset-y-0 top-0 right-0 flex items-center border-0 bg-transparent pe-3.5" onclick={() => document.getElementById(id)?.click()} aria-label="Open time picker">
150
+ {#if Icon}
151
+ <Icon class={iconClass} />
152
+ {:else}
153
+ <svg class="h-4 w-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
154
+ <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6v4l3.276 3.276M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />
155
+ </svg>
156
+ {/if}
157
+ </button>
158
+ </div>
156
159
  <span class="flex items-center justify-center px-2 text-gray-500 dark:text-gray-400">-</span>
157
- <Input id={endId} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("rounded-none", inputCls)} bind:value={endValue} onchange={(e) => handleTimeChange(e, true)} />
158
- <InputAddon class="rounded-r-lg">
159
- {#if Icon}
160
- <Icon class="h-4 w-4 text-gray-500 dark:text-gray-400" />
161
- {:else}
162
- <svg class="h-4 w-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
163
- <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6v4l3.276 3.276M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />
164
- </svg>
165
- {/if}
166
- </InputAddon>
160
+ <div class="relative">
161
+ <Input id={endId} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn(inputCls, "relative pr-8")} bind:value={endValue} onchange={(e) => handleTimeChange(e, true)} />
162
+ <button type="button" class="pointer-events-none absolute inset-y-0 top-0 right-0 flex items-center border-0 bg-transparent pe-3.5" onclick={() => document.getElementById(endId)?.click()} aria-label="Open end time picker">
163
+ {#if Icon}
164
+ <Icon class={iconClass} />
165
+ {:else}
166
+ <svg class="h-4 w-4 text-gray-500 dark:text-gray-400" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
167
+ <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6v4l3.276 3.276M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />
168
+ </svg>
169
+ {/if}
170
+ </button>
171
+ </div>
167
172
  {:else if type === "timerange-dropdown"}
168
173
  <Button color={buttonColor} {size} class="!rounded-r-lg">
169
174
  {timerangeLabel}
@@ -174,11 +179,11 @@
174
179
  <div class="flex space-x-4">
175
180
  <div class="flex flex-col">
176
181
  <Label for={id}>Start time:</Label>
177
- <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("w-24 rounded-l-lg !border-r", inputCls)} bind:value onchange={(e) => handleTimeChange(e)} />
182
+ <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("w-24 rounded-l-lg !border-r px-2", inputCls)} bind:value onchange={(e) => handleTimeChange(e)} />
178
183
  </div>
179
184
  <div class="flex flex-col">
180
185
  <Label for={endId}>End time:</Label>
181
- <Input id={endId} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("w-24 rounded-l-lg !border-r", inputCls)} bind:value={endValue} onchange={(e) => handleTimeChange(e, true)} />
186
+ <Input id={endId} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("w-24 rounded-l-lg !border-r px-2", inputCls)} bind:value={endValue} onchange={(e) => handleTimeChange(e, true)} />
182
187
  </div>
183
188
  </div>
184
189
  <Button color={buttonColor} class="w-full !rounded-l-lg" onclick={applyTimerange}>
@@ -195,11 +200,11 @@
195
200
  <div class="flex space-x-4 p-2.5">
196
201
  <div class="flex flex-col">
197
202
  <Label for={id}>Start time:</Label>
198
- <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("w-24 rounded-lg !border-r", inputCls)} bind:value onchange={(e) => handleTimeChange(e)} />
203
+ <Input {id} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("w-24 rounded-lg !border-r px-2", inputCls)} bind:value onchange={(e) => handleTimeChange(e)} />
199
204
  </div>
200
205
  <div class="flex flex-col">
201
206
  <Label for={endId}>End time:</Label>
202
- <Input id={endId} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("w-24 rounded-lg !border-r", inputCls)} bind:value={endValue} onchange={(e) => handleTimeChange(e, true)} />
207
+ <Input id={endId} color={inputColor} type="time" {min} {max} {required} {disabled} class={cn("w-24 rounded-lg !border-r px-2", inputCls)} bind:value={endValue} onchange={(e) => handleTimeChange(e, true)} />
203
208
  </div>
204
209
  </div>
205
210
  {/if}
@@ -233,6 +238,7 @@
233
238
  @prop inputColor
234
239
  @prop buttonColor = "primary"
235
240
  @prop Icon
241
+ @prop iconClass = "h-5 w-5 text-gray-500 dark:text-gray-400"
236
242
  @prop type = "default"
237
243
  @prop optionLabel = "Options"
238
244
  @prop options = []
@@ -15,6 +15,7 @@ import { type TimepickerProps } from "../..";
15
15
  * @prop inputColor
16
16
  * @prop buttonColor = "primary"
17
17
  * @prop Icon
18
+ * @prop iconClass = "h-5 w-5 text-gray-500 dark:text-gray-400"
18
19
  * @prop type = "default"
19
20
  * @prop optionLabel = "Options"
20
21
  * @prop options = []
@@ -22,7 +22,7 @@
22
22
  @component
23
23
  [Go to docs](https://flowbite-svelte.com/)
24
24
  ## Type
25
- [ToggleProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L944)
25
+ [ToggleProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L945)
26
26
  ## Props
27
27
  @prop children
28
28
  @prop size = "default"
@@ -2,7 +2,7 @@ import { type ToggleProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [ToggleProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L944)
5
+ * [ToggleProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L945)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop size = "default"
@@ -35,7 +35,7 @@
35
35
  @component
36
36
  [Go to docs](https://flowbite-svelte.com/)
37
37
  ## Type
38
- [GalleryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L961)
38
+ [GalleryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L962)
39
39
  ## Props
40
40
  @prop children
41
41
  @prop figure
@@ -2,7 +2,7 @@ import { type GalleryProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [GalleryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L961)
5
+ * [GalleryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L962)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop figure
@@ -28,7 +28,7 @@
28
28
  @component
29
29
  [Go to docs](https://flowbite-svelte.com/)
30
30
  ## Type
31
- [IndicatorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L972)
31
+ [IndicatorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L973)
32
32
  ## Props
33
33
  @prop children
34
34
  @prop color = "primary"
@@ -2,7 +2,7 @@ import { type IndicatorProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [IndicatorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L972)
5
+ * [IndicatorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L973)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop color = "primary"
@@ -14,7 +14,7 @@
14
14
  @component
15
15
  [Go to docs](https://flowbite-svelte.com/)
16
16
  ## Type
17
- [KbdProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L983)
17
+ [KbdProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L984)
18
18
  ## Props
19
19
  @prop children
20
20
  @prop class: className
@@ -2,7 +2,7 @@ import { type KbdProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [KbdProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L983)
5
+ * [KbdProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L984)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop class: className
@@ -42,7 +42,7 @@
42
42
  @component
43
43
  [Go to docs](https://flowbite-svelte.com/)
44
44
  ## Type
45
- [ListgroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1002)
45
+ [ListgroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1003)
46
46
  ## Props
47
47
  @prop children
48
48
  @prop items
@@ -2,7 +2,7 @@ import { type ListgroupProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [ListgroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1002)
5
+ * [ListgroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1003)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop items
@@ -41,7 +41,7 @@
41
41
  @component
42
42
  [Go to docs](https://flowbite-svelte.com/)
43
43
  ## Type
44
- [ListgroupItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1013)
44
+ [ListgroupItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1014)
45
45
  ## Props
46
46
  @prop children
47
47
  @prop active
@@ -2,7 +2,7 @@ import { type ListgroupItemProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [ListgroupItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1013)
5
+ * [ListgroupItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1014)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop active
@@ -31,7 +31,7 @@
31
31
  @component
32
32
  [Go to docs](https://flowbite-svelte.com/)
33
33
  ## Type
34
- [MegaMenuProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1024)
34
+ [MegaMenuProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1025)
35
35
  ## Props
36
36
  @prop children
37
37
  @prop extra
@@ -2,7 +2,7 @@ import { type MegaMenuProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [MegaMenuProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1024)
5
+ * [MegaMenuProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1025)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop extra
@@ -91,7 +91,7 @@
91
91
  @component
92
92
  [Go to docs](https://flowbite-svelte.com/)
93
93
  ## Type
94
- [ModalProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1035)
94
+ [ModalProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1036)
95
95
  ## Props
96
96
  @prop children
97
97
  @prop oncancel
@@ -2,7 +2,7 @@ import { type ModalProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [ModalProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1035)
5
+ * [ModalProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1036)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop oncancel
@@ -33,7 +33,7 @@
33
33
  @component
34
34
  [Go to docs](https://flowbite-svelte.com/)
35
35
  ## Type
36
- [MenuProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1053)
36
+ [MenuProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1054)
37
37
  ## Props
38
38
  @prop size = "24"
39
39
  @prop color = "currentColor"
@@ -2,7 +2,7 @@ import type { MenuProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [MenuProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1053)
5
+ * [MenuProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1054)
6
6
  * ## Props
7
7
  * @prop size = "24"
8
8
  * @prop color = "currentColor"
@@ -15,7 +15,7 @@
15
15
  @component
16
16
  [Go to docs](https://flowbite-svelte.com/)
17
17
  ## Type
18
- [NavBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1073)
18
+ [NavBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1074)
19
19
  ## Props
20
20
  @prop children
21
21
  @prop class: className
@@ -2,7 +2,7 @@ import type { NavBrandProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [NavBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1073)
5
+ * [NavBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1074)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop class: className
@@ -15,7 +15,7 @@
15
15
  @component
16
16
  [Go to docs](https://flowbite-svelte.com/)
17
17
  ## Type
18
- [NavContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1075)
18
+ [NavContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1076)
19
19
  ## Props
20
20
  @prop children
21
21
  @prop fluid
@@ -2,7 +2,7 @@ import type { NavContainerProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [NavContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1075)
5
+ * [NavContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1076)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop fluid
@@ -26,7 +26,7 @@
26
26
  @component
27
27
  [Go to docs](https://flowbite-svelte.com/)
28
28
  ## Type
29
- [NavHamburgerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1079)
29
+ [NavHamburgerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1080)
30
30
  ## Props
31
31
  @prop children
32
32
  @prop onclick
@@ -2,7 +2,7 @@ import clsx from "clsx";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [NavHamburgerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1079)
5
+ * [NavHamburgerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1080)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop onclick
@@ -36,7 +36,7 @@
36
36
  @component
37
37
  [Go to docs](https://flowbite-svelte.com/)
38
38
  ## Type
39
- [NavLiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1099)
39
+ [NavLiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1100)
40
40
  ## Props
41
41
  @prop children
42
42
  @prop activeClass
@@ -2,7 +2,7 @@ import type { NavLiProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [NavLiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1099)
5
+ * [NavLiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1100)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop activeClass
@@ -72,7 +72,7 @@
72
72
  @component
73
73
  [Go to docs](https://flowbite-svelte.com/)
74
74
  ## Type
75
- [NavUlProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1084)
75
+ [NavUlProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1085)
76
76
  ## Props
77
77
  @prop children
78
78
  @prop activeUrl
@@ -2,7 +2,7 @@ import type { NavUlProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [NavUlProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1084)
5
+ * [NavUlProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1085)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop activeUrl
@@ -43,7 +43,7 @@
43
43
  @component
44
44
  [Go to docs](https://flowbite-svelte.com/)
45
45
  ## Type
46
- [NavbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1066)
46
+ [NavbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1067)
47
47
  ## Props
48
48
  @prop children
49
49
  @prop fluid
@@ -2,7 +2,7 @@ import type { NavbarProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [NavbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1066)
5
+ * [NavbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1067)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop fluid
@@ -50,7 +50,7 @@
50
50
  @component
51
51
  [Go to docs](https://flowbite-svelte.com/)
52
52
  ## Type
53
- [PaginationProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1164)
53
+ [PaginationProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1165)
54
54
  ## Props
55
55
  @prop pages = []
56
56
  @prop previous