Skip to content

Commit 8a77b47

Browse files
committed
v1.5.6
1 parent ea6ca05 commit 8a77b47

File tree

222 files changed

+290
-291
lines changed

Some content is hidden

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

222 files changed

+290
-291
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.5.6
4+
5+
### Patch Changes
6+
7+
- - aa464ce7a fix: #1631, change MultiSelectProps extends to HTMLAttributes HTMLDivElement and move ...restProps to div
8+
- 311cf7365 fix: indentation from tabs to spaces
9+
- 60380de4d feat: improve combobox continuous suggestions
10+
311
## 1.5.5
412

513
### Patch Changes

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.5.5",
3+
"version": "1.5.6",
44
"description": "Flowbite components for Svelte",
55
"main": "dist/index.js",
66
"author": {

src/lib/forms/floating-label/FloatingLabelInput.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
return;
3838
}
3939
40-
const fullSearchTerm = ((value as string) || '').toLowerCase();
41-
const lastSpaceIndex = fullSearchTerm.lastIndexOf(' ');
40+
const fullSearchTerm = ((value as string) || "").toLowerCase();
41+
const lastSpaceIndex = fullSearchTerm.lastIndexOf(" ");
4242
const searchTerm = lastSpaceIndex === -1 ? fullSearchTerm : fullSearchTerm.substring(lastSpaceIndex + 1);
4343
4444
if (searchTerm === "" && !backspaceUsed) {
@@ -113,13 +113,13 @@
113113
}
114114
115115
function selectItem(item: string) {
116-
const currentValue = (value as string) || '';
117-
const lastSpaceIndex = currentValue.lastIndexOf(' ');
116+
const currentValue = (value as string) || "";
117+
const lastSpaceIndex = currentValue.lastIndexOf(" ");
118118
119119
if (lastSpaceIndex === -1) {
120-
value = item + ' '; // Replace the whole value if no space, add trailing space
120+
value = item + " "; // Replace the whole value if no space, add trailing space
121121
} else {
122-
value = currentValue.substring(0, lastSpaceIndex + 1) + item + ' '; // Replace last word, add trailing space
122+
value = currentValue.substring(0, lastSpaceIndex + 1) + item + " "; // Replace last word, add trailing space
123123
}
124124
125125
if (onSelect) onSelect(item);

src/lib/forms/input-field/Input.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
return;
5353
}
5454
55-
const fullSearchTerm = ((value as string) || '').toLowerCase();
56-
const lastSpaceIndex = fullSearchTerm.lastIndexOf(' ');
55+
const fullSearchTerm = ((value as string) || "").toLowerCase();
56+
const lastSpaceIndex = fullSearchTerm.lastIndexOf(" ");
5757
const searchTerm = lastSpaceIndex === -1 ? fullSearchTerm : fullSearchTerm.substring(lastSpaceIndex + 1);
5858
5959
// Show suggestions if:
@@ -171,13 +171,13 @@
171171
}
172172
173173
function selectItem(item: string) {
174-
const currentValue = (value as string) || '';
175-
const lastSpaceIndex = currentValue.lastIndexOf(' ');
174+
const currentValue = (value as string) || "";
175+
const lastSpaceIndex = currentValue.lastIndexOf(" ");
176176
177177
if (lastSpaceIndex === -1) {
178-
value = item + ' '; // Replace the whole value if no space, add trailing space
178+
value = item + " "; // Replace the whole value if no space, add trailing space
179179
} else {
180-
value = currentValue.substring(0, lastSpaceIndex + 1) + item + ' '; // Replace last word, add trailing space
180+
value = currentValue.substring(0, lastSpaceIndex + 1) + item + " "; // Replace last word, add trailing space
181181
}
182182
183183
if (onSelect) {

src/lib/forms/tags/Tags.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
@component
6666
[Go to docs](https://flowbite-svelte.com/)
6767
## Type
68-
[TagsProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L867)
68+
[TagsProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L873)
6969
## Props
7070
@prop value = $bindable([])
7171
@prop itemClass

src/lib/forms/textarea/Textarea.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
@component
5555
[Go to docs](https://flowbite-svelte.com/)
5656
## Type
57-
[TextareaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L913)
57+
[TextareaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L919)
5858
## Props
5959
@prop header
6060
@prop footer

src/lib/forms/timepicker/Timepicker.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
@component
221221
[Go to docs](https://flowbite-svelte.com/)
222222
## Type
223-
[TimepickerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L885)
223+
[TimepickerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L891)
224224
## Props
225225
@prop id = "time"
226226
@prop endId = "end-time"

src/lib/forms/toggle/Toggle.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
@component
2323
[Go to docs](https://flowbite-svelte.com/)
2424
## Type
25-
[ToggleProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L935)
25+
[ToggleProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L941)
2626
## Props
2727
@prop children
2828
@prop size = "default"

src/lib/gallery/Gallery.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
@component
3636
[Go to docs](https://flowbite-svelte.com/)
3737
## Type
38-
[GalleryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L952)
38+
[GalleryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L958)
3939
## Props
4040
@prop children
4141
@prop figure

src/lib/indicator/Indicator.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
@component
2929
[Go to docs](https://flowbite-svelte.com/)
3030
## Type
31-
[IndicatorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L963)
31+
[IndicatorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L969)
3232
## Props
3333
@prop children
3434
@prop color = "primary"

0 commit comments

Comments
 (0)