Skip to content

Commit 4ece538

Browse files
committed
v1.6.6
1 parent 3d584d3 commit 4ece538

File tree

310 files changed

+397
-382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

310 files changed

+397
-382
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flowbite-svelte",
3-
"version": "1.6.5",
3+
"version": "1.6.6",
44
"description": "Flowbite components for Svelte",
55
"main": "dist/index.js",
66
"author": {

src/lib/datepicker/Datepicker.svelte

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import { Button, ToolbarButton, type DatepickerProps, cn } from "$lib";
77
import { datepicker } from "./theme";
88
9-
let { value = $bindable(), defaultDate = null, range = false, rangeFrom = $bindable(), rangeTo = $bindable(), locale = "default", firstDayOfWeek = 0, dateFormat, placeholder = "Select date", disabled = false, required = false, inputClass = "", color = "primary", inline = false, autohide = true, showActionButtons = false, title = "", onselect, onclear, onapply, btnClass, inputmode = "none", classes, monthColor="alternative", monthBtnSelected ='bg-primary-500 text-white', monthBtn='text-gray-700 dark:text-gray-300', class: className }: DatepickerProps = $props();
9+
let { value = $bindable(), defaultDate = null, range = false, rangeFrom = $bindable(), rangeTo = $bindable(), locale = "default", firstDayOfWeek = 0, dateFormat, placeholder = "Select date", disabled = false, required = false, inputClass = "", color = "primary", inline = false, autohide = true, showActionButtons = false, title = "", onselect, onclear, onapply, btnClass, inputmode = "none", classes, monthColor = "alternative", monthBtnSelected = "bg-primary-500 text-white", monthBtn = "text-gray-700 dark:text-gray-300", class: className }: DatepickerProps = $props();
1010
1111
const dateFormatDefault = { year: "numeric", month: "long", day: "numeric" };
1212
// const dateFormatOptions = $derived(dateFormat ?? dateFormatDefault);
@@ -307,7 +307,10 @@
307307
@prop onclear
308308
@prop onapply
309309
@prop btnClass
310-
@prop inputmode = 'none'
310+
@prop inputmode = "none"
311311
@prop classes
312+
@prop monthColor = "alternative"
313+
@prop monthBtnSelected = 'bg-primary-500 text-white'
314+
@prop monthBtn = 'text-gray-700 dark:text-gray-300'
312315
@prop class: className
313316
-->

src/lib/device-mockups/Android.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@component
2525
[Go to docs](https://flowbite-svelte.com/)
2626
## Type
27-
[AndroidProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L523)
27+
[AndroidProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L526)
2828
## Props
2929
@prop children
3030
@prop divClass

src/lib/device-mockups/DefaultMockup.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@component
2424
[Go to docs](https://flowbite-svelte.com/)
2525
## Type
26-
[DefaultMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L534)
26+
[DefaultMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L537)
2727
## Props
2828
@prop children
2929
@prop divClass

src/lib/device-mockups/Desktop.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
@component
2222
[Go to docs](https://flowbite-svelte.com/)
2323
## Type
24-
[MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L515)
24+
[MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L518)
2525
## Props
2626
@prop children
2727
@prop divClass

src/lib/device-mockups/DeviceMockup.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
@component
3333
[Go to docs](https://flowbite-svelte.com/)
3434
## Type
35-
[DeviceMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L510)
35+
[DeviceMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L513)
3636
## Props
3737
@prop children
3838
@prop device = "default"

src/lib/device-mockups/Ios.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@component
2424
[Go to docs](https://flowbite-svelte.com/)
2525
## Type
26-
[IosProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L544)
26+
[IosProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L547)
2727
## Props
2828
@prop children
2929
@prop divClass

src/lib/device-mockups/Laptop.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@component
2525
[Go to docs](https://flowbite-svelte.com/)
2626
## Type
27-
[MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L515)
27+
[MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L518)
2828
## Props
2929
@prop children
3030
@prop divClass

src/lib/device-mockups/Smartwatch.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
@component
2626
[Go to docs](https://flowbite-svelte.com/)
2727
## Type
28-
[SmartwatchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L554)
28+
[SmartwatchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L557)
2929
## Props
3030
@prop children
3131
@prop divClass

0 commit comments

Comments
 (0)