flowbite-svelte 1.11.3 → 1.11.4
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/alert/Alert.svelte +1 -1
- package/dist/badge/Badge.svelte +1 -1
- package/dist/banner/Banner.svelte +1 -1
- package/dist/bottom-navigation/theme.d.ts +9 -9
- package/dist/device-mockups/theme.d.ts +138 -138
- package/dist/drawer/Drawer.svelte +1 -1
- package/dist/drawer/theme.d.ts +12 -12
- package/dist/dropdown/DropdownItem.svelte +6 -6
- package/dist/dropdown/theme.d.ts +21 -15
- package/dist/dropdown/theme.js +3 -2
- package/dist/footer/theme.d.ts +33 -33
- package/dist/forms/fileupload/Fileupload.svelte +1 -1
- package/dist/forms/floating-label/FloatingLabelInput.svelte +1 -1
- package/dist/forms/input-field/Input.svelte +1 -1
- package/dist/forms/search/Search.svelte +1 -1
- package/dist/forms/select/MultiSelect.svelte +1 -1
- package/dist/forms/select/Select.svelte +1 -1
- package/dist/forms/tags/theme.d.ts +27 -27
- package/dist/forms/textarea/Textarea.svelte +1 -1
- package/dist/gallery/theme.d.ts +9 -9
- package/dist/modal/Modal.svelte +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 +5 -5
- package/dist/navbar/NavHamburger.svelte.d.ts +83 -35
- package/dist/navbar/NavLi.svelte +4 -3
- package/dist/navbar/NavLi.svelte.d.ts +1 -1
- package/dist/navbar/NavUl.svelte +4 -3
- package/dist/navbar/NavUl.svelte.d.ts +1 -1
- package/dist/navbar/Navbar.svelte +4 -2
- package/dist/navbar/Navbar.svelte.d.ts +2 -1
- package/dist/navbar/theme.d.ts +140 -19
- package/dist/navbar/theme.js +123 -12
- package/dist/pagination/Pagination.svelte +1 -1
- package/dist/pagination/Pagination.svelte.d.ts +1 -1
- package/dist/pagination/PaginationButton.svelte +1 -1
- package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
- package/dist/pagination/PaginationItem.svelte +1 -1
- package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
- package/dist/pagination/PaginationNav.svelte +1 -1
- package/dist/pagination/PaginationNav.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/progress/Progressradial.svelte +1 -1
- package/dist/progress/Progressradial.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/rating/theme.d.ts +72 -72
- 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/sidebar/theme.d.ts +42 -42
- 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/TestimonialPlaceholder.svelte +1 -1
- package/dist/skeleton/TestimonialPlaceholder.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/skeleton/WidgetPlaceholder.svelte +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/theme.d.ts +33 -33
- 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/stepindicator/StepIndicator.svelte +1 -1
- package/dist/stepindicator/StepIndicator.svelte.d.ts +1 -1
- package/dist/stepper/BreadcrumbStepper.svelte +1 -1
- package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
- package/dist/stepper/DetailedStepper.svelte +1 -1
- package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
- package/dist/stepper/ProgressStepper.svelte +1 -1
- package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
- package/dist/stepper/Stepper.svelte +1 -1
- package/dist/stepper/Stepper.svelte.d.ts +1 -1
- package/dist/stepper/TimelineStepper.svelte +1 -1
- package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
- package/dist/stepper/VerticalStepper.svelte +1 -1
- package/dist/stepper/VerticalStepper.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/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/timeline/theme.d.ts +63 -63
- package/dist/toast/Toast.svelte +2 -2
- 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 +2 -0
- package/dist/typography/anchor/A.svelte +1 -1
- package/dist/typography/anchor/A.svelte.d.ts +1 -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/Arrow.svelte +1 -1
- package/dist/utils/Arrow.svelte.d.ts +1 -1
- package/dist/utils/CloseButton.svelte +1 -1
- package/dist/utils/Popper.svelte +1 -1
- package/dist/utils/Popper.svelte.d.ts +1 -1
- package/dist/utils/singleselection.svelte.d.ts +13 -5
- package/dist/utils/singleselection.svelte.js +40 -13
- package/dist/video/Video.svelte +1 -1
- package/dist/video/Video.svelte.d.ts +1 -1
- package/package.json +11 -8
- /package/dist/utils/{dismissable.svelte.d.ts → dismissable.d.ts} +0 -0
- /package/dist/utils/{dismissable.svelte.js → dismissable.js} +0 -0
package/dist/footer/theme.d.ts
CHANGED
|
@@ -28,18 +28,18 @@ export declare const footer: import("tailwind-variants").TVReturnType<{
|
|
|
28
28
|
export type FooterBrandVariants = VariantProps<typeof footerBrand> & Classes<typeof footerBrand>;
|
|
29
29
|
export declare const footerBrand: import("tailwind-variants").TVReturnType<{
|
|
30
30
|
[key: string]: {
|
|
31
|
-
[key: string]: import("tailwind-
|
|
32
|
-
img?: import("tailwind-
|
|
33
|
-
span?: import("tailwind-
|
|
34
|
-
base?: import("tailwind-
|
|
31
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
32
|
+
img?: import("tailwind-merge").ClassNameValue;
|
|
33
|
+
span?: import("tailwind-merge").ClassNameValue;
|
|
34
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
} | {
|
|
38
38
|
[x: string]: {
|
|
39
|
-
[x: string]: import("tailwind-
|
|
40
|
-
img?: import("tailwind-
|
|
41
|
-
span?: import("tailwind-
|
|
42
|
-
base?: import("tailwind-
|
|
39
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
40
|
+
img?: import("tailwind-merge").ClassNameValue;
|
|
41
|
+
span?: import("tailwind-merge").ClassNameValue;
|
|
42
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
} | {}, {
|
|
@@ -48,10 +48,10 @@ export declare const footerBrand: import("tailwind-variants").TVReturnType<{
|
|
|
48
48
|
img: string;
|
|
49
49
|
}, undefined, {
|
|
50
50
|
[key: string]: {
|
|
51
|
-
[key: string]: import("tailwind-
|
|
52
|
-
img?: import("tailwind-
|
|
53
|
-
span?: import("tailwind-
|
|
54
|
-
base?: import("tailwind-
|
|
51
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
52
|
+
img?: import("tailwind-merge").ClassNameValue;
|
|
53
|
+
span?: import("tailwind-merge").ClassNameValue;
|
|
54
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
} | {}, {
|
|
@@ -66,18 +66,18 @@ export declare const footerBrand: import("tailwind-variants").TVReturnType<{
|
|
|
66
66
|
export type FooterCopyrightVariants = VariantProps<typeof footerCopyright> & Classes<typeof footerCopyright>;
|
|
67
67
|
export declare const footerCopyright: import("tailwind-variants").TVReturnType<{
|
|
68
68
|
[key: string]: {
|
|
69
|
-
[key: string]: import("tailwind-
|
|
70
|
-
base?: import("tailwind-
|
|
71
|
-
link?: import("tailwind-
|
|
72
|
-
bySpan?: import("tailwind-
|
|
69
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
70
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
71
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
72
|
+
bySpan?: import("tailwind-merge").ClassNameValue;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
75
|
} | {
|
|
76
76
|
[x: string]: {
|
|
77
|
-
[x: string]: import("tailwind-
|
|
78
|
-
base?: import("tailwind-
|
|
79
|
-
link?: import("tailwind-
|
|
80
|
-
bySpan?: import("tailwind-
|
|
77
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
78
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
79
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
80
|
+
bySpan?: import("tailwind-merge").ClassNameValue;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
} | {}, {
|
|
@@ -86,10 +86,10 @@ export declare const footerCopyright: import("tailwind-variants").TVReturnType<{
|
|
|
86
86
|
bySpan: string;
|
|
87
87
|
}, undefined, {
|
|
88
88
|
[key: string]: {
|
|
89
|
-
[key: string]: import("tailwind-
|
|
90
|
-
base?: import("tailwind-
|
|
91
|
-
link?: import("tailwind-
|
|
92
|
-
bySpan?: import("tailwind-
|
|
89
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
90
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
91
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
92
|
+
bySpan?: import("tailwind-merge").ClassNameValue;
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
95
|
} | {}, {
|
|
@@ -106,16 +106,16 @@ export declare const footerLinkGroup: import("tailwind-variants").TVReturnType<{
|
|
|
106
106
|
export type FooterLinkVariants = VariantProps<typeof footerLink> & Classes<typeof footerLink>;
|
|
107
107
|
export declare const footerLink: import("tailwind-variants").TVReturnType<{
|
|
108
108
|
[key: string]: {
|
|
109
|
-
[key: string]: import("tailwind-
|
|
110
|
-
base?: import("tailwind-
|
|
111
|
-
link?: import("tailwind-
|
|
109
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
110
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
111
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
114
|
} | {
|
|
115
115
|
[x: string]: {
|
|
116
|
-
[x: string]: import("tailwind-
|
|
117
|
-
base?: import("tailwind-
|
|
118
|
-
link?: import("tailwind-
|
|
116
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
117
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
118
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
119
119
|
};
|
|
120
120
|
};
|
|
121
121
|
} | {}, {
|
|
@@ -123,9 +123,9 @@ export declare const footerLink: import("tailwind-variants").TVReturnType<{
|
|
|
123
123
|
link: string;
|
|
124
124
|
}, undefined, {
|
|
125
125
|
[key: string]: {
|
|
126
|
-
[key: string]: import("tailwind-
|
|
127
|
-
base?: import("tailwind-
|
|
128
|
-
link?: import("tailwind-
|
|
126
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
127
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
128
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
131
|
} | {}, {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { CloseButton, type FileuploadProps } from "../..";
|
|
5
5
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
6
|
-
import { createDismissableContext } from "../../utils/dismissable
|
|
6
|
+
import { createDismissableContext } from "../../utils/dismissable";
|
|
7
7
|
|
|
8
8
|
let { files = $bindable(), size = "md", clearable = false, elementRef = $bindable(), class: className, classes, clearableSvgClass, clearableColor = "none", clearableClass, clearableOnClick, wrapperClass, ...restProps }: FileuploadProps = $props();
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { type FloatingLabelInputProps, CloseButton } from "../..";
|
|
6
6
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
7
|
-
import { createDismissableContext } from "../../utils/dismissable
|
|
7
|
+
import { createDismissableContext } from "../../utils/dismissable";
|
|
8
8
|
|
|
9
9
|
let { children, id = idGenerator(), value = $bindable(), elementRef = $bindable(), variant = "standard", size = "default", color = "default", class: className, classes, inputClass, labelClass, clearable, clearableSvgClass, clearableColor = "none", clearableClass, clearableOnClick, data = [], maxSuggestions = 5, onSelect, comboClass, ...restProps }: FloatingLabelInputProps = $props();
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { CloseButton, type SizeType, type InputProps, type InputValue } from "../..";
|
|
5
5
|
import { input, clampSize } from ".";
|
|
6
6
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
7
|
-
import { createDismissableContext } from "../../utils/dismissable
|
|
7
|
+
import { createDismissableContext } from "../../utils/dismissable";
|
|
8
8
|
|
|
9
9
|
let { children, left, right, value = $bindable(), elementRef = $bindable(), clearable = false, size, color = "default", class: className, classes, wrapperClass, leftClass, rightClass, divClass, clearableSvgClass, clearableColor = "none", clearableClass, clearableOnClick, data = [], maxSuggestions = 5, onSelect, comboClass, comboItemClass, onInput, onFocus, onBlur, onKeydown, oninput, onfocus, onblur, onkeydown, ...restProps }: InputProps<InputValue> = $props();
|
|
10
10
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { CloseButton, type SearchProps } from "../..";
|
|
5
5
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
6
|
-
import { createDismissableContext } from "../../utils/dismissable
|
|
6
|
+
import { createDismissableContext } from "../../utils/dismissable";
|
|
7
7
|
|
|
8
8
|
let { children, inputClass, size, placeholder = "Search", value = $bindable(), elementRef = $bindable(), clearable = false, clearableSvgClass, clearableColor = "none", clearableClass, clearableOnClick, class: className, classes, ...restProps }: SearchProps = $props();
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { multiSelect } from ".";
|
|
5
5
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
6
6
|
import { onMount } from "svelte";
|
|
7
|
-
import { createDismissableContext } from "../../utils/dismissable
|
|
7
|
+
import { createDismissableContext } from "../../utils/dismissable";
|
|
8
8
|
|
|
9
9
|
// Consider reusing that component - https://svelecte.vercel.app/
|
|
10
10
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { type SelectProps, CloseButton } from "../..";
|
|
5
5
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
6
|
-
import { createDismissableContext } from "../../utils/dismissable
|
|
6
|
+
import { createDismissableContext } from "../../utils/dismissable";
|
|
7
7
|
|
|
8
8
|
let { children, items, value = $bindable(), elementRef = $bindable(), underline, size = "md", disabled, placeholder = "Choose option ...", clearable, clearableColor = "none", clearableOnClick, onClear, clearableSvgClass, clearableClass, selectClass, class: className, classes, ...restProps }: SelectProps<T> = $props();
|
|
9
9
|
|
|
@@ -3,28 +3,28 @@ import type { Classes } from "../../theme/themeUtils";
|
|
|
3
3
|
export type TagsVariants = VariantProps<typeof tags> & Classes<typeof tags>;
|
|
4
4
|
export declare const tags: import("tailwind-variants").TVReturnType<{
|
|
5
5
|
[key: string]: {
|
|
6
|
-
[key: string]: import("tailwind-
|
|
7
|
-
input?: import("tailwind-
|
|
8
|
-
span?: import("tailwind-
|
|
9
|
-
base?: import("tailwind-
|
|
10
|
-
close?: import("tailwind-
|
|
11
|
-
tag?: import("tailwind-
|
|
12
|
-
error?: import("tailwind-
|
|
13
|
-
info?: import("tailwind-
|
|
14
|
-
warning?: import("tailwind-
|
|
6
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
7
|
+
input?: import("tailwind-merge").ClassNameValue;
|
|
8
|
+
span?: import("tailwind-merge").ClassNameValue;
|
|
9
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
10
|
+
close?: import("tailwind-merge").ClassNameValue;
|
|
11
|
+
tag?: import("tailwind-merge").ClassNameValue;
|
|
12
|
+
error?: import("tailwind-merge").ClassNameValue;
|
|
13
|
+
info?: import("tailwind-merge").ClassNameValue;
|
|
14
|
+
warning?: import("tailwind-merge").ClassNameValue;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
} | {
|
|
18
18
|
[x: string]: {
|
|
19
|
-
[x: string]: import("tailwind-
|
|
20
|
-
input?: import("tailwind-
|
|
21
|
-
span?: import("tailwind-
|
|
22
|
-
base?: import("tailwind-
|
|
23
|
-
close?: import("tailwind-
|
|
24
|
-
tag?: import("tailwind-
|
|
25
|
-
error?: import("tailwind-
|
|
26
|
-
info?: import("tailwind-
|
|
27
|
-
warning?: import("tailwind-
|
|
19
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
20
|
+
input?: import("tailwind-merge").ClassNameValue;
|
|
21
|
+
span?: import("tailwind-merge").ClassNameValue;
|
|
22
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
23
|
+
close?: import("tailwind-merge").ClassNameValue;
|
|
24
|
+
tag?: import("tailwind-merge").ClassNameValue;
|
|
25
|
+
error?: import("tailwind-merge").ClassNameValue;
|
|
26
|
+
info?: import("tailwind-merge").ClassNameValue;
|
|
27
|
+
warning?: import("tailwind-merge").ClassNameValue;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
} | {}, {
|
|
@@ -38,15 +38,15 @@ export declare const tags: import("tailwind-variants").TVReturnType<{
|
|
|
38
38
|
error: string;
|
|
39
39
|
}, undefined, {
|
|
40
40
|
[key: string]: {
|
|
41
|
-
[key: string]: import("tailwind-
|
|
42
|
-
input?: import("tailwind-
|
|
43
|
-
span?: import("tailwind-
|
|
44
|
-
base?: import("tailwind-
|
|
45
|
-
close?: import("tailwind-
|
|
46
|
-
tag?: import("tailwind-
|
|
47
|
-
error?: import("tailwind-
|
|
48
|
-
info?: import("tailwind-
|
|
49
|
-
warning?: import("tailwind-
|
|
41
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
42
|
+
input?: import("tailwind-merge").ClassNameValue;
|
|
43
|
+
span?: import("tailwind-merge").ClassNameValue;
|
|
44
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
45
|
+
close?: import("tailwind-merge").ClassNameValue;
|
|
46
|
+
tag?: import("tailwind-merge").ClassNameValue;
|
|
47
|
+
error?: import("tailwind-merge").ClassNameValue;
|
|
48
|
+
info?: import("tailwind-merge").ClassNameValue;
|
|
49
|
+
warning?: import("tailwind-merge").ClassNameValue;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
} | {}, {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { type TextareaProps, CloseButton } from "../..";
|
|
5
5
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
6
|
-
import { createDismissableContext } from "../../utils/dismissable
|
|
6
|
+
import { createDismissableContext } from "../../utils/dismissable";
|
|
7
7
|
|
|
8
8
|
let { header, footer, addon, value = $bindable(), elementRef = $bindable(), divClass, innerClass, headerClass, footerClass, addonClass, disabled, class: className, classes, clearable, clearableSvgClass, clearableColor = "none", clearableClass, clearableOnClick, textareaClass, ...restProps }: TextareaProps = $props();
|
|
9
9
|
|
package/dist/gallery/theme.d.ts
CHANGED
|
@@ -3,16 +3,16 @@ import type { Classes } from "../theme/themeUtils";
|
|
|
3
3
|
export type GalleryVariants = VariantProps<typeof gallery> & Classes<typeof gallery>;
|
|
4
4
|
export declare const gallery: import("tailwind-variants").TVReturnType<{
|
|
5
5
|
[key: string]: {
|
|
6
|
-
[key: string]: import("tailwind-
|
|
7
|
-
div?: import("tailwind-
|
|
8
|
-
image?: import("tailwind-
|
|
6
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
7
|
+
div?: import("tailwind-merge").ClassNameValue;
|
|
8
|
+
image?: import("tailwind-merge").ClassNameValue;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
} | {
|
|
12
12
|
[x: string]: {
|
|
13
|
-
[x: string]: import("tailwind-
|
|
14
|
-
div?: import("tailwind-
|
|
15
|
-
image?: import("tailwind-
|
|
13
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
14
|
+
div?: import("tailwind-merge").ClassNameValue;
|
|
15
|
+
image?: import("tailwind-merge").ClassNameValue;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
} | {}, {
|
|
@@ -20,9 +20,9 @@ export declare const gallery: import("tailwind-variants").TVReturnType<{
|
|
|
20
20
|
div: string;
|
|
21
21
|
}, undefined, {
|
|
22
22
|
[key: string]: {
|
|
23
|
-
[key: string]: import("tailwind-
|
|
24
|
-
div?: import("tailwind-
|
|
25
|
-
image?: import("tailwind-
|
|
23
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
24
|
+
div?: import("tailwind-merge").ClassNameValue;
|
|
25
|
+
image?: import("tailwind-merge").ClassNameValue;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
} | {}, {
|
package/dist/modal/Modal.svelte
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { fade } from "svelte/transition";
|
|
6
6
|
import { modal as modalStyle } from ".";
|
|
7
7
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
8
|
-
import { createDismissableContext } from "../utils/dismissable
|
|
8
|
+
import { createDismissableContext } from "../utils/dismissable";
|
|
9
9
|
|
|
10
10
|
let { children, onaction = () => true, oncancel, onsubmit, ontoggle, form = false, modal = true, autoclose = false, focustrap = false, header, footer, title, open = $bindable(false), permanent = false, dismissable = true, closeBtnClass, headerClass, bodyClass, footerClass, outsideclose = true, size = "md", placement, class: className, classes, params, transition = fade, fullscreen = false, ...restProps }: ModalProps = $props();
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[NavBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[NavBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1082)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { NavBrandProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [NavBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [NavBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1082)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[NavContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[NavContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1084)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@prop fluid
|
|
@@ -2,7 +2,7 @@ import type { NavContainerProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [NavContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [NavContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1084)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop fluid
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import ToolbarButton from "../toolbar/ToolbarButton.svelte";
|
|
5
5
|
import Menu from "./Menu.svelte";
|
|
6
6
|
import { navbarHamburger } from "./theme";
|
|
7
|
-
import type { NavbarState, NavHamburgerProps } from "../types";
|
|
7
|
+
import type { NavbarState, NavHamburgerProps, NavbarBreakpoint } from "../types";
|
|
8
8
|
import type { MouseEventHandler } from "svelte/elements";
|
|
9
9
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
10
10
|
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
const styling = $derived(classes ?? { menu: menuClass });
|
|
15
15
|
|
|
16
16
|
const theme = getTheme("navbarHamburger");
|
|
17
|
+
const navState = getContext<NavbarState>("navState");
|
|
18
|
+
const navBreakpoint = getContext<NavbarBreakpoint>("breakpoint");
|
|
19
|
+
const { base, menu } = navbarHamburger({ breakpoint: navBreakpoint });
|
|
17
20
|
|
|
18
|
-
let { base, menu } = navbarHamburger();
|
|
19
|
-
|
|
20
|
-
let navState = getContext<NavbarState>("navState");
|
|
21
21
|
const toggle: MouseEventHandler<HTMLButtonElement> = (ev) => {
|
|
22
22
|
navState.hidden = !navState.hidden;
|
|
23
23
|
};
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
@component
|
|
32
32
|
[Go to docs](https://flowbite-svelte.com/)
|
|
33
33
|
## Type
|
|
34
|
-
[NavHamburgerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
34
|
+
[NavHamburgerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1088)
|
|
35
35
|
## Props
|
|
36
36
|
@prop children
|
|
37
37
|
@prop onclick
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
3
3
|
* ## Type
|
|
4
|
-
* [NavHamburgerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
4
|
+
* [NavHamburgerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1088)
|
|
5
5
|
* ## Props
|
|
6
6
|
* @prop children
|
|
7
7
|
* @prop onclick
|
|
@@ -16,63 +16,111 @@ declare const NavHamburger: import("svelte").Component<import("../toolbar/theme"
|
|
|
16
16
|
} & import("svelte/elements").HTMLButtonAttributes & {
|
|
17
17
|
name?: string;
|
|
18
18
|
} & import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
base
|
|
22
|
-
menu?: import("tailwind-variants").ClassValue;
|
|
19
|
+
breakpoint: {
|
|
20
|
+
sm: {
|
|
21
|
+
base: string;
|
|
23
22
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
base
|
|
29
|
-
|
|
23
|
+
md: {
|
|
24
|
+
base: string;
|
|
25
|
+
};
|
|
26
|
+
lg: {
|
|
27
|
+
base: string;
|
|
28
|
+
};
|
|
29
|
+
xl: {
|
|
30
|
+
base: string;
|
|
30
31
|
};
|
|
31
32
|
};
|
|
32
|
-
}
|
|
33
|
+
}, {
|
|
33
34
|
base: string;
|
|
34
35
|
menu: string;
|
|
35
36
|
}, undefined, {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
base
|
|
39
|
-
|
|
37
|
+
breakpoint: {
|
|
38
|
+
sm: {
|
|
39
|
+
base: string;
|
|
40
|
+
};
|
|
41
|
+
md: {
|
|
42
|
+
base: string;
|
|
43
|
+
};
|
|
44
|
+
lg: {
|
|
45
|
+
base: string;
|
|
46
|
+
};
|
|
47
|
+
xl: {
|
|
48
|
+
base: string;
|
|
40
49
|
};
|
|
41
50
|
};
|
|
42
|
-
}
|
|
51
|
+
}, {
|
|
43
52
|
base: string;
|
|
44
53
|
menu: string;
|
|
45
|
-
}, import("tailwind-variants").TVReturnType<
|
|
54
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
55
|
+
breakpoint: {
|
|
56
|
+
sm: {
|
|
57
|
+
base: string;
|
|
58
|
+
};
|
|
59
|
+
md: {
|
|
60
|
+
base: string;
|
|
61
|
+
};
|
|
62
|
+
lg: {
|
|
63
|
+
base: string;
|
|
64
|
+
};
|
|
65
|
+
xl: {
|
|
66
|
+
base: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}, {
|
|
46
70
|
base: string;
|
|
47
71
|
menu: string;
|
|
48
72
|
}, undefined, unknown, unknown, undefined>>> & import("../theme/themeUtils").Classes<import("tailwind-variants").TVReturnType<{
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
base
|
|
52
|
-
menu?: import("tailwind-variants").ClassValue;
|
|
73
|
+
breakpoint: {
|
|
74
|
+
sm: {
|
|
75
|
+
base: string;
|
|
53
76
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
base
|
|
59
|
-
|
|
77
|
+
md: {
|
|
78
|
+
base: string;
|
|
79
|
+
};
|
|
80
|
+
lg: {
|
|
81
|
+
base: string;
|
|
82
|
+
};
|
|
83
|
+
xl: {
|
|
84
|
+
base: string;
|
|
60
85
|
};
|
|
61
86
|
};
|
|
62
|
-
}
|
|
87
|
+
}, {
|
|
63
88
|
base: string;
|
|
64
89
|
menu: string;
|
|
65
90
|
}, undefined, {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
base
|
|
69
|
-
|
|
91
|
+
breakpoint: {
|
|
92
|
+
sm: {
|
|
93
|
+
base: string;
|
|
94
|
+
};
|
|
95
|
+
md: {
|
|
96
|
+
base: string;
|
|
97
|
+
};
|
|
98
|
+
lg: {
|
|
99
|
+
base: string;
|
|
100
|
+
};
|
|
101
|
+
xl: {
|
|
102
|
+
base: string;
|
|
70
103
|
};
|
|
71
104
|
};
|
|
72
|
-
}
|
|
105
|
+
}, {
|
|
73
106
|
base: string;
|
|
74
107
|
menu: string;
|
|
75
|
-
}, import("tailwind-variants").TVReturnType<
|
|
108
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
109
|
+
breakpoint: {
|
|
110
|
+
sm: {
|
|
111
|
+
base: string;
|
|
112
|
+
};
|
|
113
|
+
md: {
|
|
114
|
+
base: string;
|
|
115
|
+
};
|
|
116
|
+
lg: {
|
|
117
|
+
base: string;
|
|
118
|
+
};
|
|
119
|
+
xl: {
|
|
120
|
+
base: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}, {
|
|
76
124
|
base: string;
|
|
77
125
|
menu: string;
|
|
78
126
|
}, undefined, unknown, unknown, undefined>>> & {
|
package/dist/navbar/NavLi.svelte
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getTheme } from "../theme/themeUtils";
|
|
3
|
-
import type { NavbarState, NavLiProps } from "../types";
|
|
3
|
+
import type { NavbarState, NavLiProps, NavbarBreakpoint } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { getContext } from "svelte";
|
|
6
6
|
import { navbarLi } from "./theme";
|
|
7
7
|
|
|
8
8
|
let navState = getContext<NavbarState>("navState");
|
|
9
|
+
let navBreakpoint = getContext<NavbarBreakpoint>("breakpoint");
|
|
9
10
|
|
|
10
11
|
let { children, activeClass, nonActiveClass, class: className, ...restProps }: NavLiProps = $props();
|
|
11
12
|
|
|
12
13
|
const theme = getTheme("navbarLi");
|
|
13
14
|
|
|
14
15
|
let active = $derived(navState.activeUrl ? restProps.href === navState.activeUrl : false);
|
|
15
|
-
let liClass = $derived(navbarLi({ hidden: navState.hidden, class: clsx(active ? (activeClass ?? navState.activeClass) : (nonActiveClass ?? navState.nonActiveClass), theme, className) }));
|
|
16
|
+
let liClass = $derived(navbarLi({ breakpoint: navBreakpoint, hidden: navState.hidden, class: clsx(active ? (activeClass ?? navState.activeClass) : (nonActiveClass ?? navState.nonActiveClass), theme, className) }));
|
|
16
17
|
</script>
|
|
17
18
|
|
|
18
19
|
<li>
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
@component
|
|
32
33
|
[Go to docs](https://flowbite-svelte.com/)
|
|
33
34
|
## Type
|
|
34
|
-
[NavLiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
35
|
+
[NavLiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1109)
|
|
35
36
|
## Props
|
|
36
37
|
@prop children
|
|
37
38
|
@prop activeClass
|
|
@@ -2,7 +2,7 @@ import type { NavLiProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [NavLiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [NavLiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1109)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop activeClass
|
package/dist/navbar/NavUl.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
3
|
-
import type { NavbarState, NavUlProps } from "../types";
|
|
3
|
+
import type { NavbarState, NavUlProps, NavbarBreakpoint } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { getContext } from "svelte";
|
|
6
6
|
import { sineIn } from "svelte/easing";
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
import { navbarUl } from "./theme";
|
|
10
10
|
|
|
11
11
|
let navState = getContext<NavbarState>("navState");
|
|
12
|
+
let navBreakpoint = getContext<NavbarBreakpoint>("breakpoint");
|
|
12
13
|
|
|
13
14
|
let { children, activeUrl = $bindable(), ulClass, slideParams, transition = slide, transitionParams, activeClass, nonActiveClass, respectMotionPreference = true, class: clasName, classes, ...restProps }: NavUlProps = $props();
|
|
14
15
|
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
|
|
41
42
|
let hidden: boolean = $derived(navState.hidden ?? true);
|
|
42
43
|
|
|
43
|
-
let { base, ul, active, nonActive } = $derived(navbarUl({ hidden }));
|
|
44
|
+
let { base, ul, active, nonActive } = $derived(navbarUl({ hidden, breakpoint: navBreakpoint }));
|
|
44
45
|
|
|
45
46
|
$effect(() => {
|
|
46
47
|
navState.activeClass = active({ class: clsx(theme?.active, styling.active) });
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
@component
|
|
71
72
|
[Go to docs](https://flowbite-svelte.com/)
|
|
72
73
|
## Type
|
|
73
|
-
[NavUlProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
74
|
+
[NavUlProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1094)
|
|
74
75
|
## Props
|
|
75
76
|
@prop children
|
|
76
77
|
@prop activeUrl = $bindable()
|
|
@@ -2,7 +2,7 @@ import type { NavUlProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [NavUlProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [NavUlProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1094)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop activeUrl = $bindable()
|