Skip to content

Commit 073eb9d

Browse files
committed
v1.14.6
1 parent c13e88b commit 073eb9d

Some content is hidden

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

61 files changed

+104
-64
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions

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

src/lib/drawer/DrawerHandle.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { getTheme } from "$lib/theme/themeUtils";
3-
import type { DrawerHandleProps } from "$lib/types";
3+
import type { DrawerHandleProps } from "$lib";
44
import clsx from "clsx";
55
import { drawerhandle } from "./theme";
66
import { getContext } from "svelte";

src/lib/dropdown/Dropdown.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<script lang="ts">
2-
import { DropdownGroup, type DropdownProps, Popper } from "$lib";
2+
import type { DropdownProps } from "$lib";
3+
import Popper from "$lib/utils/Popper.svelte";
4+
import DropdownGroup from "./DropdownGroup.svelte";
35
import { getTheme } from "$lib/theme/themeUtils";
46
import clsx from "clsx";
57
import { setContext } from "svelte";

src/lib/forms/button-toggle/ButtonToggleGroup.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<script lang="ts">
22
import { setContext } from "svelte";
33
import clsx from "clsx";
4-
import { type ButtonToggleGroupProps, buttonToggleGroup } from "$lib";
4+
import type { ButtonToggleGroupProps } from "$lib";
5+
import { buttonToggleGroup } from "./theme";
56
import { getTheme } from "$lib/theme/themeUtils";
67
78
let { multiSelect = false, name = "toggle-group", value = multiSelect ? [] : null, color, size = "md", roundedSize = "md", onSelect = (val: any) => {}, children, ctxIconClass, ctxBtnClass, class: className, ...restProps }: ButtonToggleGroupProps = $props();

src/lib/forms/checkbox/Checkbox.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<script lang="ts">
22
import { checkbox } from "./theme";
33
import clsx from "clsx";
4-
import { type CheckboxProps, Label } from "$lib";
4+
import { type CheckboxProps } from "$lib";
5+
import Label from "$lib/forms/label/Label.svelte";
56
import { getTheme, warnThemeDeprecation } from "$lib/theme/themeUtils";
67
78
let { children, color = "primary", custom, inline, tinted, rounded, group = $bindable([]), choices = [], checked = $bindable(false), classes, class: className, divClass, disabled, value, labelProps = {}, ...restProps }: CheckboxProps = $props();

src/lib/forms/fileupload/Fileupload.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<script lang="ts">
22
import { fileupload } from "./theme";
33
import clsx from "clsx";
4-
import { CloseButton, type FileuploadProps } from "$lib";
4+
import type { FileuploadProps } from "$lib";
5+
import CloseButton from "$lib/utils/CloseButton.svelte";
56
import { getTheme, warnThemeDeprecation } from "$lib/theme/themeUtils";
67
import { createDismissableContext } from "$lib/utils/dismissable";
78

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
import { idGenerator } from "../../utils";
33
import { floatingLabelInput } from "./theme";
44
import clsx from "clsx";
5-
import { type FloatingLabelInputProps, CloseButton } from "$lib";
5+
import type { FloatingLabelInputProps } from "$lib";
6+
import CloseButton from "$lib/utils/CloseButton.svelte";
67
import { getTheme, warnThemeDeprecation } from "$lib/theme/themeUtils";
78
import { createDismissableContext } from "$lib/utils/dismissable";
89

src/lib/forms/input-addon/InputAddon.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
import type { SizeType } from "$lib/types";
33
import { getContext } from "svelte";
44
import clsx from "clsx";
5-
import { type InputAddonProps, clampSize } from "$lib";
5+
import type { InputAddonProps } from "$lib";
6+
import { clampSize } from "$lib/forms/input-field";
67
78
let { children, class: className, size, ...restProps }: InputAddonProps = $props();
89

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<script lang="ts">
22
import { getContext } from "svelte";
33
import clsx from "clsx";
4-
import { CloseButton, type SizeType, type InputProps, type InputValue } from "$lib";
4+
import type { SizeType, InputProps, InputValue } from "$lib";
5+
import CloseButton from "$lib/utils/CloseButton.svelte";
56
import { input } from "./theme";
67
import { clampSize } from "./index";
78
import { getTheme, warnThemeDeprecation } from "$lib/theme/themeUtils";

0 commit comments

Comments
 (0)