flowbite-svelte 1.1.0 → 1.1.1
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/modal/Modal.svelte +6 -5
- package/dist/modal/Modal.svelte.d.ts +1 -0
- package/dist/navbar/Menu.svelte +1 -1
- package/dist/navbar/Menu.svelte.d.ts +1 -1
- package/dist/navbar/NavBrand.svelte +1 -1
- package/dist/navbar/NavBrand.svelte.d.ts +1 -1
- package/dist/navbar/NavContainer.svelte +1 -1
- package/dist/navbar/NavContainer.svelte.d.ts +1 -1
- package/dist/navbar/NavHamburger.svelte +1 -1
- package/dist/navbar/NavHamburger.svelte.d.ts +1 -1
- package/dist/navbar/NavLi.svelte +1 -1
- package/dist/navbar/NavLi.svelte.d.ts +1 -1
- package/dist/navbar/NavUl.svelte +1 -1
- package/dist/navbar/NavUl.svelte.d.ts +1 -1
- package/dist/navbar/Navbar.svelte +1 -1
- package/dist/navbar/Navbar.svelte.d.ts +1 -1
- package/dist/pagination/Pagination.svelte +1 -1
- package/dist/pagination/Pagination.svelte.d.ts +1 -1
- package/dist/pagination/PaginationItem.svelte +1 -1
- package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
- package/dist/popover/Popover.svelte +1 -1
- package/dist/popover/Popover.svelte.d.ts +1 -1
- package/dist/progress/Progressbar.svelte +1 -1
- package/dist/progress/Progressbar.svelte.d.ts +1 -1
- package/dist/rating/AdvancedRating.svelte +1 -1
- package/dist/rating/AdvancedRating.svelte.d.ts +1 -1
- package/dist/rating/CustomIcon.svelte +1 -1
- package/dist/rating/CustomIcon.svelte.d.ts +1 -1
- package/dist/rating/Heart.svelte +1 -1
- package/dist/rating/Heart.svelte.d.ts +1 -1
- package/dist/rating/Rating.svelte +1 -1
- package/dist/rating/Rating.svelte.d.ts +1 -1
- package/dist/rating/RatingComment.svelte +1 -1
- package/dist/rating/RatingComment.svelte.d.ts +1 -1
- package/dist/rating/Review.svelte +1 -1
- package/dist/rating/Review.svelte.d.ts +1 -1
- package/dist/rating/ScoreRating.svelte +1 -1
- package/dist/rating/ScoreRating.svelte.d.ts +1 -1
- package/dist/rating/Star.svelte +1 -1
- package/dist/rating/Star.svelte.d.ts +1 -1
- package/dist/rating/Thumbup.svelte +1 -1
- package/dist/rating/Thumbup.svelte.d.ts +1 -1
- package/dist/sidebar/Sidebar.svelte +1 -1
- package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarBrand.svelte +1 -1
- package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarButton.svelte +1 -1
- package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarCta.svelte +1 -1
- package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarDropdownWrapper.svelte +1 -1
- package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarGroup.svelte +1 -1
- package/dist/sidebar/SidebarGroup.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarItem.svelte +1 -1
- package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
- package/dist/skeleton/CardPlaceholder.svelte +1 -1
- package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ImagePlaceholder.svelte +1 -1
- package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ListPlaceholder.svelte +1 -1
- package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/Skeleton.svelte +1 -1
- package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
- package/dist/skeleton/TextPlaceholder.svelte +1 -1
- package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDial.svelte +1 -1
- package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDialButton.svelte +1 -1
- package/dist/speed-dial/SpeedDialButton.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDialTrigger.svelte +1 -1
- package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +1 -1
- package/dist/spinner/Spinner.svelte +1 -1
- package/dist/spinner/Spinner.svelte.d.ts +1 -1
- package/dist/steps/StepIndicator.svelte +1 -1
- package/dist/steps/StepIndicator.svelte.d.ts +1 -1
- package/dist/table/Table.svelte +1 -1
- package/dist/table/Table.svelte.d.ts +1 -1
- package/dist/table/TableBody.svelte +1 -1
- package/dist/table/TableBody.svelte.d.ts +1 -1
- package/dist/table/TableBodyCell.svelte +1 -1
- package/dist/table/TableBodyCell.svelte.d.ts +1 -1
- package/dist/table/TableBodyRow.svelte +1 -1
- package/dist/table/TableBodyRow.svelte.d.ts +1 -1
- package/dist/table/TableHead.svelte +1 -1
- package/dist/table/TableHead.svelte.d.ts +1 -1
- package/dist/table/TableHeadCell.svelte +1 -1
- package/dist/table/TableHeadCell.svelte.d.ts +1 -1
- package/dist/table/TableSearch.svelte +1 -1
- package/dist/table/TableSearch.svelte.d.ts +1 -1
- package/dist/tabs/TabItem.svelte +1 -1
- package/dist/tabs/TabItem.svelte.d.ts +1 -1
- package/dist/tabs/Tabs.svelte +1 -1
- package/dist/tabs/Tabs.svelte.d.ts +1 -1
- package/dist/theme/Theme.svelte +1 -1
- package/dist/theme/Theme.svelte.d.ts +1 -1
- package/dist/timeline/Activity.svelte +1 -1
- package/dist/timeline/Activity.svelte.d.ts +1 -1
- package/dist/timeline/ActivityItem.svelte +1 -1
- package/dist/timeline/ActivityItem.svelte.d.ts +1 -1
- package/dist/timeline/Group.svelte +1 -1
- package/dist/timeline/Group.svelte.d.ts +1 -1
- package/dist/timeline/GroupItem.svelte +1 -1
- package/dist/timeline/GroupItem.svelte.d.ts +1 -1
- package/dist/timeline/Timeline.svelte +1 -1
- package/dist/timeline/Timeline.svelte.d.ts +1 -1
- package/dist/timeline/TimelineItem.svelte +1 -1
- package/dist/timeline/TimelineItem.svelte.d.ts +1 -1
- package/dist/toast/Toast.svelte +1 -1
- package/dist/toast/Toast.svelte.d.ts +1 -1
- package/dist/toolbar/Toolbar.svelte +1 -1
- package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarButton.svelte +1 -1
- package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarGroup.svelte +1 -1
- package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
- package/dist/tooltip/Tooltip.svelte +1 -1
- package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
- package/dist/types.d.ts +21 -1
- package/dist/typography/anchor/A.svelte +33 -5
- package/dist/typography/anchor/A.svelte.d.ts +4 -1
- package/dist/typography/blockquote/Blockquote.svelte +1 -1
- package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
- package/dist/typography/descriptionlist/DescriptionList.svelte +1 -1
- package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
- package/dist/typography/heading/Heading.svelte +1 -1
- package/dist/typography/heading/Heading.svelte.d.ts +1 -1
- package/dist/typography/hr/Hr.svelte +1 -1
- package/dist/typography/hr/Hr.svelte.d.ts +1 -1
- package/dist/typography/img/EnhancedImg.svelte +1 -1
- package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
- package/dist/typography/img/Img.svelte +1 -1
- package/dist/typography/img/Img.svelte.d.ts +1 -1
- 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/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 +1 -1
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
@component
|
|
27
27
|
[Go to docs](https://flowbite-svelte.com/)
|
|
28
28
|
## Type
|
|
29
|
-
[TooltipProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
29
|
+
[TooltipProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1634)
|
|
30
30
|
## Props
|
|
31
31
|
@prop type = "dark"
|
|
32
32
|
@prop color = undefined
|
|
@@ -2,7 +2,7 @@ import type { TooltipProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TooltipProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TooltipProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1634)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop type = "dark"
|
|
8
8
|
* @prop color = undefined
|
package/dist/types.d.ts
CHANGED
|
@@ -811,6 +811,7 @@ export interface ModalProps extends ModalVariants, HTMLDialogAttributes {
|
|
|
811
811
|
bodyClass?: string;
|
|
812
812
|
footerClass?: string;
|
|
813
813
|
closeBtnClass?: string;
|
|
814
|
+
onclose?: () => void;
|
|
814
815
|
}
|
|
815
816
|
export interface MenuProps extends SVGAttributes<SVGSVGElement> {
|
|
816
817
|
size?: string;
|
|
@@ -1362,9 +1363,28 @@ export interface TooltipProps extends PopperProps {
|
|
|
1362
1363
|
type?: "light" | "dark" | "auto";
|
|
1363
1364
|
color?: TooltipVariants["color"];
|
|
1364
1365
|
}
|
|
1365
|
-
export interface AnchorProps
|
|
1366
|
+
export interface AnchorProps {
|
|
1366
1367
|
children: Snippet;
|
|
1367
1368
|
color?: AnchorVariants["color"];
|
|
1369
|
+
asButton?: boolean;
|
|
1370
|
+
onclick?: (event: MouseEvent) => void;
|
|
1371
|
+
id?: string;
|
|
1372
|
+
class?: string;
|
|
1373
|
+
style?: string;
|
|
1374
|
+
tabindex?: number;
|
|
1375
|
+
title?: string;
|
|
1376
|
+
role?: string;
|
|
1377
|
+
"aria-label"?: string;
|
|
1378
|
+
"data-testid"?: string;
|
|
1379
|
+
href?: string;
|
|
1380
|
+
target?: string;
|
|
1381
|
+
rel?: string;
|
|
1382
|
+
download?: string | boolean;
|
|
1383
|
+
type?: "button" | "submit" | "reset";
|
|
1384
|
+
disabled?: boolean;
|
|
1385
|
+
name?: string;
|
|
1386
|
+
value?: string | number | string[];
|
|
1387
|
+
[key: string]: any;
|
|
1368
1388
|
}
|
|
1369
1389
|
export interface BlockquoteProps extends HTMLBlockquoteAttributes {
|
|
1370
1390
|
children: Snippet;
|
|
@@ -3,22 +3,50 @@
|
|
|
3
3
|
import { anchor } from "./index";
|
|
4
4
|
import type { AnchorProps } from "../../types";
|
|
5
5
|
|
|
6
|
-
let { children, color = "primary", class: className, ...restProps }: AnchorProps = $props();
|
|
6
|
+
let { children, color = "primary", asButton = false, onclick, href = "#", class: className, ...restProps }: AnchorProps = $props();
|
|
7
|
+
|
|
7
8
|
let linkClass = $derived(anchor({ color, class: clsx(className) }));
|
|
9
|
+
|
|
10
|
+
// Handle click events when in button mode
|
|
11
|
+
function handleClick(event: MouseEvent) {
|
|
12
|
+
if (asButton) {
|
|
13
|
+
event.preventDefault(); // Prevent default anchor behavior
|
|
14
|
+
}
|
|
15
|
+
// Forward the onclick handler if provided
|
|
16
|
+
if (onclick) {
|
|
17
|
+
onclick(event);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
let buttonProps = $derived(() => {
|
|
22
|
+
const { href, target, rel, download, ...filtered } = restProps;
|
|
23
|
+
return filtered;
|
|
24
|
+
});
|
|
8
25
|
</script>
|
|
9
26
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
27
|
+
{#if asButton}
|
|
28
|
+
<!-- Render as a button that looks like a link -->
|
|
29
|
+
<button type="button" class={linkClass} onclick={handleClick} {...buttonProps}>
|
|
30
|
+
{@render children()}
|
|
31
|
+
</button>
|
|
32
|
+
{:else}
|
|
33
|
+
<!-- Standard anchor behavior -->
|
|
34
|
+
<a {href} class={linkClass} onclick={handleClick} {...restProps}>
|
|
35
|
+
{@render children()}
|
|
36
|
+
</a>
|
|
37
|
+
{/if}
|
|
13
38
|
|
|
14
39
|
<!--
|
|
15
40
|
@component
|
|
16
41
|
[Go to docs](https://flowbite-svelte.com/)
|
|
17
42
|
## Type
|
|
18
|
-
[AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
43
|
+
[AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1641)
|
|
19
44
|
## Props
|
|
20
45
|
@prop children
|
|
21
46
|
@prop color = "primary"
|
|
47
|
+
@prop asButton = false
|
|
48
|
+
@prop onclick
|
|
49
|
+
@prop href = "#"
|
|
22
50
|
@prop class: className
|
|
23
51
|
@prop ...restProps
|
|
24
52
|
-->
|
|
@@ -2,10 +2,13 @@ import type { AnchorProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1641)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop color = "primary"
|
|
9
|
+
* @prop asButton = false
|
|
10
|
+
* @prop onclick
|
|
11
|
+
* @prop href = "#"
|
|
9
12
|
* @prop class: className
|
|
10
13
|
* @prop ...restProps
|
|
11
14
|
*/
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
@component
|
|
26
26
|
[Go to docs](https://flowbite-svelte.com/)
|
|
27
27
|
## Type
|
|
28
|
-
[BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
28
|
+
[BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1670)
|
|
29
29
|
## Props
|
|
30
30
|
@prop children
|
|
31
31
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { BlockquoteProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1670)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
@component
|
|
22
22
|
[Go to docs](https://flowbite-svelte.com/)
|
|
23
23
|
## Type
|
|
24
|
-
[DescriptionListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
24
|
+
[DescriptionListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1680)
|
|
25
25
|
## Props
|
|
26
26
|
@prop children
|
|
27
27
|
@prop tag
|
|
@@ -2,7 +2,7 @@ import type { DescriptionListProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [DescriptionListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [DescriptionListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1680)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop tag
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
@component
|
|
17
17
|
[Go to docs](https://flowbite-svelte.com/)
|
|
18
18
|
## Type
|
|
19
|
-
[HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
19
|
+
[HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1686)
|
|
20
20
|
## Props
|
|
21
21
|
@prop children
|
|
22
22
|
@prop tag = "h1"
|
|
@@ -2,7 +2,7 @@ import type { HeadingProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1686)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop tag = "h1"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
@component
|
|
24
24
|
[Go to docs](https://flowbite-svelte.com/)
|
|
25
25
|
## Type
|
|
26
|
-
[HrProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
26
|
+
[HrProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1692)
|
|
27
27
|
## Props
|
|
28
28
|
@prop children
|
|
29
29
|
@prop divClass
|
|
@@ -2,7 +2,7 @@ import type { HrProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [HrProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [HrProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1692)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop divClass
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
@component
|
|
34
34
|
[Go to docs](https://flowbite-svelte.com/)
|
|
35
35
|
## Type
|
|
36
|
-
[EnhandedImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
36
|
+
[EnhandedImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1712)
|
|
37
37
|
## Props
|
|
38
38
|
@prop src
|
|
39
39
|
@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#L1712)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop src
|
|
8
8
|
* @prop href
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
@component
|
|
34
34
|
[Go to docs](https://flowbite-svelte.com/)
|
|
35
35
|
## Type
|
|
36
|
-
[ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
36
|
+
[ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1703)
|
|
37
37
|
## Props
|
|
38
38
|
@prop size = "none"
|
|
39
39
|
@prop effect = "none"
|
|
@@ -2,7 +2,7 @@ import type { ImgProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1703)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "none"
|
|
8
8
|
* @prop effect = "none"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
@component
|
|
17
17
|
[Go to docs](https://flowbite-svelte.com/)
|
|
18
18
|
## Type
|
|
19
|
-
[LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
19
|
+
[LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1724)
|
|
20
20
|
## Props
|
|
21
21
|
@prop children
|
|
22
22
|
@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#L1724)
|
|
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
|
-
[LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
22
|
+
[LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1737)
|
|
23
23
|
## Props
|
|
24
24
|
@prop children
|
|
25
25
|
@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#L1737)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop icon
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
@component
|
|
26
26
|
[Go to docs](https://flowbite-svelte.com/)
|
|
27
27
|
## Type
|
|
28
|
-
[ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
28
|
+
[ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1729)
|
|
29
29
|
## Props
|
|
30
30
|
@prop children
|
|
31
31
|
@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#L1729)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop tag = "ul"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@component
|
|
15
15
|
[Go to docs](https://flowbite-svelte.com/)
|
|
16
16
|
## Type
|
|
17
|
-
[MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
17
|
+
[MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1743)
|
|
18
18
|
## Props
|
|
19
19
|
@prop children
|
|
20
20
|
@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#L1743)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
@component
|
|
17
17
|
[Go to docs](https://flowbite-svelte.com/)
|
|
18
18
|
## Type
|
|
19
|
-
[ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
19
|
+
[ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1748)
|
|
20
20
|
## Props
|
|
21
21
|
@prop children
|
|
22
22
|
@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#L1748)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className = "text-gray-900 dark:text-white"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@component
|
|
15
15
|
[Go to docs](https://flowbite-svelte.com/)
|
|
16
16
|
## Type
|
|
17
|
-
[SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
17
|
+
[SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1762)
|
|
18
18
|
## Props
|
|
19
19
|
@prop children
|
|
20
20
|
@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#L1762)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
@component
|
|
32
32
|
[Go to docs](https://flowbite-svelte.com/)
|
|
33
33
|
## Type
|
|
34
|
-
[SpanProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
34
|
+
[SpanProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1767)
|
|
35
35
|
## Props
|
|
36
36
|
@prop children
|
|
37
37
|
@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#L1767)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
package/dist/utils/Popper.svelte
CHANGED
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
@component
|
|
204
204
|
[Go to docs](https://flowbite-svelte.com/)
|
|
205
205
|
## Type
|
|
206
|
-
[PopperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
206
|
+
[PopperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1795)
|
|
207
207
|
## Props
|
|
208
208
|
@prop triggeredBy
|
|
209
209
|
@prop trigger = "click"
|
|
@@ -2,7 +2,7 @@ import type { PopperProps } from "..";
|
|
|
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#L1795)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop triggeredBy
|
|
8
8
|
* @prop trigger = "click"
|
package/dist/video/Video.svelte
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[VideoProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[VideoProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1781)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@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#L1781)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop type = "video/mp4"
|