Skip to content

Commit 74792c5

Browse files
committed
v1.13.14
1 parent d098638 commit 74792c5

File tree

12 files changed

+132
-7
lines changed

12 files changed

+132
-7
lines changed

CHANGELOG.md

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

3+
## 1.13.14
4+
5+
### Patch Changes
6+
7+
- docs: disabled example to file-input
8+
fix: add disabled style to FloatingLabelInput, PhoneInput, SearchInput, Textarea
9+
310
## 1.13.13
411

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

src/routes/docs-examples/forms/file-input/Disabled.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
</script>
44

55
<Label for="with_helper" class="pb-2">Upload file</Label>
6-
<Fileupload disabled id="with_helper" class="mb-2" />
6+
<Fileupload disabled id="with_helper" class="mb-2" />

src/routes/docs-examples/forms/number-input/Disabled.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
<form class="mx-auto max-w-sm space-y-2">
66
<Input disabled type="number" id="number-input" aria-describedby="helper-text-explanation" placeholder="90210" required />
77

8-
<PhoneInput classes={{input:"rounded-lg"}} placeholder="123-456-7890" disabled phoneType="countryCode" />
9-
</form>
8+
<PhoneInput classes={{ input: "rounded-lg" }} placeholder="123-456-7890" disabled phoneType="countryCode" />
9+
</form>

src/routes/docs-examples/forms/search-input/Disabled.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
<Search disabled>
66
<Button disabled class="me-1">Search</Button>
7-
</Search>
7+
</Search>

src/routes/docs-examples/forms/textarea/Disabled.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
import { Textarea } from "flowbite-svelte";
33
</script>
44

5-
<Textarea disabled id="textarea-id" placeholder="Your message" rows={4} name="message" class="w-full" />
5+
<Textarea disabled id="textarea-id" placeholder="Your message" rows={4} name="message" class="w-full" />

static/llm/context-full.txt

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# undefined Documentation - Full Context
2-
# Generated on 2025-09-19T13:09:26.440Z
2+
# Generated on 2025-09-21T08:07:56.350Z
33
# This file contains all documentation concatenated in logical order
44

55

@@ -17973,6 +17973,17 @@ The file input component can be used to upload one or more files from the device
1797317973
<Helper color="emerald" class="mt-2">Selected files: {fileNames}</Helper>
1797417974
```
1797517975

17976+
## Disabled
17977+
17978+
```svelte
17979+
<script lang="ts">
17980+
import { Fileupload, Label } from "flowbite-svelte";
17981+
</script>
17982+
17983+
<Label for="with_helper" class="pb-2">Upload file</Label>
17984+
<Fileupload disabled id="with_helper" class="mb-2" />
17985+
```
17986+
1797617987
## Sizes
1797717988

1797817989
```svelte
@@ -18948,6 +18959,20 @@ Use this component to set a number value inside a form field by applying the typ
1894818959
</form>
1894918960
```
1895018961

18962+
## Disabled
18963+
18964+
```svelte
18965+
<script lang="ts">
18966+
import { PhoneInput, Input } from "flowbite-svelte";
18967+
</script>
18968+
18969+
<form class="mx-auto max-w-sm space-y-2">
18970+
<Input disabled type="number" id="number-input" aria-describedby="helper-text-explanation" placeholder="90210" required />
18971+
18972+
<PhoneInput classes={{ input: "rounded-lg" }} placeholder="123-456-7890" disabled phoneType="countryCode" />
18973+
</form>
18974+
```
18975+
1895118976
## ZIP code input
1895218977

1895318978
Use this example with an icon and helper text to set a ZIP code value inside a form field by also applying the pattern attribute to validate the input using a regular expression for a 5 digit number.
@@ -19960,6 +19985,18 @@ You will also find more advanced search components on this page including dropdo
1996019985
</Search>
1996119986
```
1996219987

19988+
## Disabled
19989+
19990+
```svelte
19991+
<script lang="ts">
19992+
import { Search, Button } from "flowbite-svelte";
19993+
</script>
19994+
19995+
<Search disabled>
19996+
<Button disabled class="me-1">Search</Button>
19997+
</Search>
19998+
```
19999+
1996320000
## Search input with clearable
1996420001

1996520002
Use the simplest form of a search input component with an icon and a search button next to the text field.
@@ -20678,6 +20715,18 @@ Get started with the default example of a textarea component below.
2067820715
<Textarea id="textarea-id" placeholder="Your message" rows={4} name="message" class="w-full" />
2067920716
```
2068020717

20718+
## Disabled
20719+
20720+
Get started with the default example of a textarea component below.
20721+
20722+
```svelte
20723+
<script lang="ts">
20724+
import { Textarea } from "flowbite-svelte";
20725+
</script>
20726+
20727+
<Textarea disabled id="textarea-id" placeholder="Your message" rows={4} name="message" class="w-full" />
20728+
```
20729+
2068120730
## Clearable
2068220731

2068320732
```svelte
@@ -20943,6 +20992,16 @@ Use this example of a default timepicker component to allow the user to select a
2094320992
<Timepicker />
2094420993
```
2094520994

20995+
## Disabled
20996+
20997+
```svelte
20998+
<script lang="ts">
20999+
import { Timepicker } from "flowbite-svelte";
21000+
</script>
21001+
21002+
<Timepicker disabled />
21003+
```
21004+
2094621005
## Using state and bind
2094721006

2094821007
```svelte

static/llm/forms/file-input.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ The file input component can be used to upload one or more files from the device
4242
<Helper color="emerald" class="mt-2">Selected files: {fileNames}</Helper>
4343
```
4444

45+
## Disabled
46+
47+
```svelte
48+
<script lang="ts">
49+
import { Fileupload, Label } from "flowbite-svelte";
50+
</script>
51+
52+
<Label for="with_helper" class="pb-2">Upload file</Label>
53+
<Fileupload disabled id="with_helper" class="mb-2" />
54+
```
55+
4556
## Sizes
4657

4758
```svelte

static/llm/forms/number-input.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@ Use this component to set a number value inside a form field by applying the typ
1818
</form>
1919
```
2020

21+
## Disabled
22+
23+
```svelte
24+
<script lang="ts">
25+
import { PhoneInput, Input } from "flowbite-svelte";
26+
</script>
27+
28+
<form class="mx-auto max-w-sm space-y-2">
29+
<Input disabled type="number" id="number-input" aria-describedby="helper-text-explanation" placeholder="90210" required />
30+
31+
<PhoneInput classes={{ input: "rounded-lg" }} placeholder="123-456-7890" disabled phoneType="countryCode" />
32+
</form>
33+
```
34+
2135
## ZIP code input
2236

2337
Use this example with an icon and helper text to set a ZIP code value inside a form field by also applying the pattern attribute to validate the input using a regular expression for a 5 digit number.

static/llm/forms/search-input.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ You will also find more advanced search components on this page including dropdo
2525
</Search>
2626
```
2727

28+
## Disabled
29+
30+
```svelte
31+
<script lang="ts">
32+
import { Search, Button } from "flowbite-svelte";
33+
</script>
34+
35+
<Search disabled>
36+
<Button disabled class="me-1">Search</Button>
37+
</Search>
38+
```
39+
2840
## Search input with clearable
2941

3042
Use the simplest form of a search input component with an icon and a search button next to the text field.

0 commit comments

Comments
 (0)