flowbite-svelte 1.17.0 → 1.17.2
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.
- package/dist/forms/input-field/theme.js +1 -1
- package/dist/types.d.ts +6 -1
- package/dist/typography/img/EnhancedImg.svelte +2 -1
- package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
- package/dist/typography/img/Img.svelte +24 -10
- package/dist/typography/img/Img.svelte.d.ts +4 -2
- package/dist/typography/img/theme.d.ts +36 -15
- package/dist/typography/img/theme.js +6 -5
- package/dist/typography/layout/Layout.svelte +1 -1
- package/dist/typography/layout/Layout.svelte.d.ts +1 -1
- package/dist/typography/list/Li.svelte +1 -1
- package/dist/typography/list/Li.svelte.d.ts +1 -1
- package/dist/typography/list/List.svelte +1 -1
- package/dist/typography/list/List.svelte.d.ts +1 -1
- package/dist/typography/mark/Mark.svelte +1 -1
- package/dist/typography/mark/Mark.svelte.d.ts +1 -1
- package/dist/typography/paragraph/P.svelte +1 -1
- package/dist/typography/paragraph/P.svelte.d.ts +1 -1
- package/dist/typography/secondary/Secondary.svelte +1 -1
- package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
- package/dist/typography/span/Span.svelte +1 -1
- package/dist/typography/span/Span.svelte.d.ts +1 -1
- package/dist/utils/Arrow.svelte +1 -1
- package/dist/utils/Arrow.svelte.d.ts +1 -1
- package/dist/utils/Popper.svelte +1 -1
- package/dist/utils/Popper.svelte.d.ts +1 -1
- package/dist/video/Video.svelte +1 -1
- package/dist/video/Video.svelte.d.ts +1 -1
- package/package.json +19 -20
|
@@ -89,7 +89,7 @@ export const input = tv({
|
|
|
89
89
|
false: { base: "rounded-lg", input: "rounded-lg" },
|
|
90
90
|
true: {
|
|
91
91
|
base: "first:rounded-s-lg last:rounded-e-lg not-first:-ms-px group",
|
|
92
|
-
input: "group-first:rounded-s-lg group-last:rounded-e-lg group-not-first:-ms-px"
|
|
92
|
+
input: "group-first:rounded-s-lg group-last:rounded-e-lg group-not-first:-ms-px h-full"
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
},
|
package/dist/types.d.ts
CHANGED
|
@@ -1660,13 +1660,18 @@ export interface Picture {
|
|
|
1660
1660
|
h: number;
|
|
1661
1661
|
};
|
|
1662
1662
|
}
|
|
1663
|
-
export interface ImgProps extends ImgVariants, HTMLImgAttributes {
|
|
1663
|
+
export interface ImgProps extends ImgVariants, Omit<HTMLImgAttributes, "children"> {
|
|
1664
|
+
children?: Snippet<[{
|
|
1665
|
+
class: string;
|
|
1666
|
+
restProps: any;
|
|
1667
|
+
}]>;
|
|
1664
1668
|
size?: ImgVariants["size"];
|
|
1665
1669
|
effect?: ImgVariants["effect"];
|
|
1666
1670
|
caption?: string;
|
|
1667
1671
|
figClass?: string;
|
|
1668
1672
|
captionClass?: string;
|
|
1669
1673
|
href?: HTMLAnchorElement["href"];
|
|
1674
|
+
align?: ImgVariants["align"];
|
|
1670
1675
|
}
|
|
1671
1676
|
export interface EnhandedImgProps extends ImgVariants, Omit<HTMLImgAttributes, "src"> {
|
|
1672
1677
|
src: string | Picture;
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
const theme = getTheme("img");
|
|
23
23
|
|
|
24
24
|
let { base, figure, caption: figureCaption } = $derived(img({ size }));
|
|
25
|
+
console.warn("EnhancedImg is deprecated. Please use Img instead.");
|
|
25
26
|
</script>
|
|
26
27
|
|
|
27
28
|
{#snippet imageSlot()}
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
@component
|
|
50
51
|
[Go to docs](https://flowbite-svelte.com/)
|
|
51
52
|
## Type
|
|
52
|
-
[EnhandedImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
53
|
+
[EnhandedImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1948)
|
|
53
54
|
## Props
|
|
54
55
|
@prop src
|
|
55
56
|
@prop href
|
|
@@ -2,7 +2,7 @@ import type { EnhandedImgProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [EnhandedImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [EnhandedImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1948)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop src
|
|
8
8
|
* @prop href
|
|
@@ -4,36 +4,48 @@
|
|
|
4
4
|
import type { ImgProps } from "../../types";
|
|
5
5
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
6
6
|
|
|
7
|
-
let { size
|
|
7
|
+
let { children, size, effect, align, caption, class: className, classes, figClass, captionClass, href, ...restProps }: ImgProps = $props();
|
|
8
8
|
|
|
9
9
|
warnThemeDeprecation(
|
|
10
10
|
"Img",
|
|
11
11
|
{ figClass, captionClass },
|
|
12
12
|
{
|
|
13
|
-
figClass: "
|
|
13
|
+
figClass: "figure",
|
|
14
14
|
captionClass: "caption"
|
|
15
15
|
}
|
|
16
16
|
);
|
|
17
|
+
|
|
17
18
|
const styling = $derived({
|
|
18
|
-
|
|
19
|
-
caption: captionClass
|
|
19
|
+
figure: figClass || classes?.figure,
|
|
20
|
+
caption: captionClass || classes?.caption
|
|
20
21
|
});
|
|
21
22
|
|
|
22
23
|
const theme = getTheme("img");
|
|
23
24
|
|
|
24
|
-
let { base, figure, caption: figureCaption } = $derived(img({ size, effect }));
|
|
25
|
+
let { base, figure, caption: figureCaption } = $derived(img({ size, effect, align }));
|
|
26
|
+
|
|
27
|
+
// Determine if using slot or traditional props
|
|
28
|
+
const useSlot = $derived(!!children);
|
|
29
|
+
// Compute the final class string to pass to children
|
|
30
|
+
const imgClass = $derived(base({ class: clsx(theme?.base, className) }));
|
|
25
31
|
</script>
|
|
26
32
|
|
|
27
33
|
{#snippet imageSlot()}
|
|
28
34
|
{#if caption}
|
|
29
|
-
<figure class={figure({ class: clsx(theme?.figure, styling.
|
|
30
|
-
|
|
35
|
+
<figure class={figure({ class: clsx(theme?.figure, styling.figure) })}>
|
|
36
|
+
{#if useSlot}
|
|
37
|
+
{@render children?.({ class: imgClass, restProps })}
|
|
38
|
+
{:else}
|
|
39
|
+
<img {...restProps} class={imgClass} />
|
|
40
|
+
{/if}
|
|
31
41
|
<figcaption class={figureCaption({ class: clsx(theme?.caption, styling.caption) })}>
|
|
32
42
|
{@html caption}
|
|
33
43
|
</figcaption>
|
|
34
44
|
</figure>
|
|
45
|
+
{:else if useSlot}
|
|
46
|
+
{@render children?.({ class: imgClass, restProps })}
|
|
35
47
|
{:else}
|
|
36
|
-
<img {...restProps} class={
|
|
48
|
+
<img {...restProps} class={imgClass} />
|
|
37
49
|
{/if}
|
|
38
50
|
{/snippet}
|
|
39
51
|
|
|
@@ -51,8 +63,10 @@
|
|
|
51
63
|
## Type
|
|
52
64
|
[ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1937)
|
|
53
65
|
## Props
|
|
54
|
-
@prop
|
|
55
|
-
@prop
|
|
66
|
+
@prop children
|
|
67
|
+
@prop size
|
|
68
|
+
@prop effect
|
|
69
|
+
@prop align
|
|
56
70
|
@prop caption
|
|
57
71
|
@prop class: className
|
|
58
72
|
@prop classes
|
|
@@ -4,8 +4,10 @@ import type { ImgProps } from "../../types";
|
|
|
4
4
|
* ## Type
|
|
5
5
|
* [ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1937)
|
|
6
6
|
* ## Props
|
|
7
|
-
* @prop
|
|
8
|
-
* @prop
|
|
7
|
+
* @prop children
|
|
8
|
+
* @prop size
|
|
9
|
+
* @prop effect
|
|
10
|
+
* @prop align
|
|
9
11
|
* @prop caption
|
|
10
12
|
* @prop class: className
|
|
11
13
|
* @prop classes
|
|
@@ -31,10 +31,6 @@ export declare const img: import("tailwind-variants").TVReturnType<{
|
|
|
31
31
|
base: string;
|
|
32
32
|
figure: string;
|
|
33
33
|
};
|
|
34
|
-
none: {
|
|
35
|
-
base: string;
|
|
36
|
-
figure: string;
|
|
37
|
-
};
|
|
38
34
|
};
|
|
39
35
|
effect: {
|
|
40
36
|
grayscale: {
|
|
@@ -55,8 +51,19 @@ export declare const img: import("tailwind-variants").TVReturnType<{
|
|
|
55
51
|
"hue-rotate": {
|
|
56
52
|
base: string;
|
|
57
53
|
};
|
|
58
|
-
|
|
54
|
+
};
|
|
55
|
+
align: {
|
|
56
|
+
left: {
|
|
59
57
|
base: string;
|
|
58
|
+
figure: string;
|
|
59
|
+
};
|
|
60
|
+
center: {
|
|
61
|
+
base: string;
|
|
62
|
+
figure: string;
|
|
63
|
+
};
|
|
64
|
+
right: {
|
|
65
|
+
base: string;
|
|
66
|
+
figure: string;
|
|
60
67
|
};
|
|
61
68
|
};
|
|
62
69
|
}, {
|
|
@@ -93,10 +100,6 @@ export declare const img: import("tailwind-variants").TVReturnType<{
|
|
|
93
100
|
base: string;
|
|
94
101
|
figure: string;
|
|
95
102
|
};
|
|
96
|
-
none: {
|
|
97
|
-
base: string;
|
|
98
|
-
figure: string;
|
|
99
|
-
};
|
|
100
103
|
};
|
|
101
104
|
effect: {
|
|
102
105
|
grayscale: {
|
|
@@ -117,8 +120,19 @@ export declare const img: import("tailwind-variants").TVReturnType<{
|
|
|
117
120
|
"hue-rotate": {
|
|
118
121
|
base: string;
|
|
119
122
|
};
|
|
120
|
-
|
|
123
|
+
};
|
|
124
|
+
align: {
|
|
125
|
+
left: {
|
|
121
126
|
base: string;
|
|
127
|
+
figure: string;
|
|
128
|
+
};
|
|
129
|
+
center: {
|
|
130
|
+
base: string;
|
|
131
|
+
figure: string;
|
|
132
|
+
};
|
|
133
|
+
right: {
|
|
134
|
+
base: string;
|
|
135
|
+
figure: string;
|
|
122
136
|
};
|
|
123
137
|
};
|
|
124
138
|
}, {
|
|
@@ -155,10 +169,6 @@ export declare const img: import("tailwind-variants").TVReturnType<{
|
|
|
155
169
|
base: string;
|
|
156
170
|
figure: string;
|
|
157
171
|
};
|
|
158
|
-
none: {
|
|
159
|
-
base: string;
|
|
160
|
-
figure: string;
|
|
161
|
-
};
|
|
162
172
|
};
|
|
163
173
|
effect: {
|
|
164
174
|
grayscale: {
|
|
@@ -179,8 +189,19 @@ export declare const img: import("tailwind-variants").TVReturnType<{
|
|
|
179
189
|
"hue-rotate": {
|
|
180
190
|
base: string;
|
|
181
191
|
};
|
|
182
|
-
|
|
192
|
+
};
|
|
193
|
+
align: {
|
|
194
|
+
left: {
|
|
195
|
+
base: string;
|
|
196
|
+
figure: string;
|
|
197
|
+
};
|
|
198
|
+
center: {
|
|
183
199
|
base: string;
|
|
200
|
+
figure: string;
|
|
201
|
+
};
|
|
202
|
+
right: {
|
|
203
|
+
base: string;
|
|
204
|
+
figure: string;
|
|
184
205
|
};
|
|
185
206
|
};
|
|
186
207
|
}, {
|
|
@@ -13,8 +13,7 @@ export const img = tv({
|
|
|
13
13
|
lg: { base: "max-w-lg", figure: "max-w-lg" },
|
|
14
14
|
xl: { base: "max-w-xl", figure: "max-w-xl" },
|
|
15
15
|
"2xl": { base: "max-w-2xl", figure: "max-w-2xl" },
|
|
16
|
-
full: { base: "max-w-full", figure: "max-w-full" }
|
|
17
|
-
none: { base: "", figure: "" }
|
|
16
|
+
full: { base: "max-w-full", figure: "max-w-full" }
|
|
18
17
|
},
|
|
19
18
|
effect: {
|
|
20
19
|
grayscale: {
|
|
@@ -32,10 +31,12 @@ export const img = tv({
|
|
|
32
31
|
},
|
|
33
32
|
"hue-rotate": {
|
|
34
33
|
base: "hue-rotate-60 filter transition-all duration-300 hover:hue-rotate-0"
|
|
35
|
-
},
|
|
36
|
-
none: {
|
|
37
|
-
base: "transition-all duration-300"
|
|
38
34
|
}
|
|
35
|
+
},
|
|
36
|
+
align: {
|
|
37
|
+
left: { base: "mx-0", figure: "mx-0" },
|
|
38
|
+
center: { base: "mx-auto", figure: "mx-auto" },
|
|
39
|
+
right: { base: "ml-auto mr-0", figure: "ml-auto mr-0" }
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
42
|
});
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@component
|
|
20
20
|
[Go to docs](https://flowbite-svelte.com/)
|
|
21
21
|
## Type
|
|
22
|
-
[LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
22
|
+
[LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1961)
|
|
23
23
|
## Props
|
|
24
24
|
@prop children
|
|
25
25
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { LayoutProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1961)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
@component
|
|
19
19
|
[Go to docs](https://flowbite-svelte.com/)
|
|
20
20
|
## Type
|
|
21
|
-
[LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
21
|
+
[LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1974)
|
|
22
22
|
## Props
|
|
23
23
|
@prop children
|
|
24
24
|
@prop icon
|
|
@@ -2,7 +2,7 @@ import type { LiProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1974)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop icon
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
@component
|
|
29
29
|
[Go to docs](https://flowbite-svelte.com/)
|
|
30
30
|
## Type
|
|
31
|
-
[ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
31
|
+
[ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1966)
|
|
32
32
|
## Props
|
|
33
33
|
@prop children
|
|
34
34
|
@prop tag = "ul"
|
|
@@ -2,7 +2,7 @@ import type { ListProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1966)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop tag = "ul"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1980)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { MarkProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1980)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@component
|
|
20
20
|
[Go to docs](https://flowbite-svelte.com/)
|
|
21
21
|
## Type
|
|
22
|
-
[ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
22
|
+
[ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1985)
|
|
23
23
|
## Props
|
|
24
24
|
@prop children
|
|
25
25
|
@prop class: className = "text-gray-900 dark:text-white"
|
|
@@ -2,7 +2,7 @@ import type { ParagraphProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1985)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className = "text-gray-900 dark:text-white"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1993)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { SecondaryProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1993)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
@component
|
|
35
35
|
[Go to docs](https://flowbite-svelte.com/)
|
|
36
36
|
## Type
|
|
37
|
-
[SpanProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
37
|
+
[SpanProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1998)
|
|
38
38
|
## Props
|
|
39
39
|
@prop children
|
|
40
40
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { SpanProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SpanProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SpanProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1998)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
package/dist/utils/Arrow.svelte
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
@component
|
|
51
51
|
[Go to docs](https://flowbite-svelte.com/)
|
|
52
52
|
## Type
|
|
53
|
-
[ArrowProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
53
|
+
[ArrowProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2040)
|
|
54
54
|
## Props
|
|
55
55
|
@prop placement = "top"
|
|
56
56
|
@prop cords
|
|
@@ -2,7 +2,7 @@ import type { ArrowProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ArrowProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ArrowProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2040)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop placement = "top"
|
|
8
8
|
* @prop cords
|
package/dist/utils/Popper.svelte
CHANGED
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
@component
|
|
214
214
|
[Go to docs](https://flowbite-svelte.com/)
|
|
215
215
|
## Type
|
|
216
|
-
[PopperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
216
|
+
[PopperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2020)
|
|
217
217
|
## Props
|
|
218
218
|
@prop triggeredBy
|
|
219
219
|
@prop triggerDelay = 200
|
|
@@ -2,7 +2,7 @@ import type { PopperProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [PopperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [PopperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2020)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop triggeredBy
|
|
8
8
|
* @prop triggerDelay = 200
|
package/dist/video/Video.svelte
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
@component
|
|
22
22
|
[Go to docs](https://flowbite-svelte.com/)
|
|
23
23
|
## Type
|
|
24
|
-
[VideoProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
24
|
+
[VideoProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2007)
|
|
25
25
|
## Props
|
|
26
26
|
@prop children
|
|
27
27
|
@prop type = "video/mp4"
|
|
@@ -2,7 +2,7 @@ import type { VideoProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [VideoProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [VideoProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2007)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop type = "video/mp4"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flowbite-svelte",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.2",
|
|
4
4
|
"description": "Flowbite components for Svelte",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": {
|
|
@@ -16,27 +16,27 @@
|
|
|
16
16
|
"@docsearch/css": "^4.1.0",
|
|
17
17
|
"@docsearch/js": "^4.1.0",
|
|
18
18
|
"@eslint/compat": "^1.4.0",
|
|
19
|
-
"@eslint/js": "^9.
|
|
19
|
+
"@eslint/js": "^9.37.0",
|
|
20
20
|
"@flowbite-svelte-plugins/chart": "^0.2.4",
|
|
21
|
-
"@flowbite-svelte-plugins/datatable": "^0.4.
|
|
21
|
+
"@flowbite-svelte-plugins/datatable": "^0.4.1",
|
|
22
22
|
"@flowbite-svelte-plugins/texteditor": "^0.25.5",
|
|
23
23
|
"@playwright/test": "^1.55.1",
|
|
24
24
|
"@resvg/resvg-js": "^2.6.2",
|
|
25
|
-
"@sveltejs/adapter-auto": "^6.1.
|
|
26
|
-
"@sveltejs/adapter-vercel": "^5.10.
|
|
27
|
-
"@sveltejs/enhanced-img": "0.
|
|
28
|
-
"@sveltejs/kit": "^2.
|
|
25
|
+
"@sveltejs/adapter-auto": "^6.1.1",
|
|
26
|
+
"@sveltejs/adapter-vercel": "^5.10.3",
|
|
27
|
+
"@sveltejs/enhanced-img": "0.8.3",
|
|
28
|
+
"@sveltejs/kit": "^2.44.0",
|
|
29
29
|
"@sveltejs/package": "^2.5.4",
|
|
30
|
-
"@sveltejs/vite-plugin-svelte": "^6.2.
|
|
30
|
+
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
31
31
|
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
|
|
32
|
-
"@tailwindcss/vite": "^4.1.
|
|
33
|
-
"@testing-library/jest-dom": "^6.
|
|
32
|
+
"@tailwindcss/vite": "^4.1.14",
|
|
33
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
34
34
|
"@testing-library/svelte": "^5.2.8",
|
|
35
35
|
"@testing-library/user-event": "^14.6.1",
|
|
36
36
|
"@tiptap/core": "3.4.4",
|
|
37
37
|
"dayjs": "^1.11.18",
|
|
38
38
|
"deepmerge": "^4.3.1",
|
|
39
|
-
"eslint": "^9.
|
|
39
|
+
"eslint": "^9.37.0",
|
|
40
40
|
"eslint-config-prettier": "^10.1.8",
|
|
41
41
|
"eslint-plugin-svelte": "^3.12.4",
|
|
42
42
|
"flowbite-svelte-admin-dashboard": "^2.0.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"globals": "^16.4.0",
|
|
48
48
|
"highlight.js": "^11.11.1",
|
|
49
49
|
"jsdom": "^27.0.0",
|
|
50
|
-
"katex": "^0.16.
|
|
50
|
+
"katex": "^0.16.23",
|
|
51
51
|
"lowlight": "^3.3.0",
|
|
52
52
|
"mdsvex": "^0.12.6",
|
|
53
53
|
"mdsvexamples": "^0.5.0",
|
|
@@ -55,24 +55,23 @@
|
|
|
55
55
|
"prettier-plugin-svelte": "^3.4.0",
|
|
56
56
|
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
57
57
|
"prism-themes": "^1.9.0",
|
|
58
|
-
"publint": "^0.3.
|
|
58
|
+
"publint": "^0.3.14",
|
|
59
59
|
"runatics": "^0.1.4",
|
|
60
60
|
"runes-meta-tags": "^0.4.5",
|
|
61
61
|
"satori": "^0.18.3",
|
|
62
62
|
"satori-html": "^0.3.2",
|
|
63
|
-
"simple-datatables": "^10.0.0",
|
|
64
63
|
"super-sitemap": "^1.0.5",
|
|
65
|
-
"svelte": "^5.39.
|
|
64
|
+
"svelte": "^5.39.9",
|
|
66
65
|
"svelte-check": "^4.3.2",
|
|
67
66
|
"svelte-doc-llm": "^0.4.1",
|
|
68
67
|
"svelte-lib-helpers": "^0.4.31",
|
|
69
68
|
"svelte-meta-tags": "^4.4.1",
|
|
70
69
|
"svelte-rune-highlight": "^0.7.1",
|
|
71
|
-
"tailwindcss": "^4.1.
|
|
72
|
-
"tsx": "^4.20.
|
|
73
|
-
"typescript": "^5.9.
|
|
74
|
-
"typescript-eslint": "^8.
|
|
75
|
-
"vite": "^7.1.
|
|
70
|
+
"tailwindcss": "^4.1.14",
|
|
71
|
+
"tsx": "^4.20.6",
|
|
72
|
+
"typescript": "^5.9.3",
|
|
73
|
+
"typescript-eslint": "^8.45.0",
|
|
74
|
+
"vite": "^7.1.9",
|
|
76
75
|
"vite-plugin-devtools-json": "^1.0.0",
|
|
77
76
|
"vitest": "^3.2.4"
|
|
78
77
|
},
|