flowbite-svelte 1.14.3 → 1.14.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/accordion/Accordion.svelte +1 -1
- package/dist/accordion/AccordionItem.svelte +1 -1
- package/dist/alert/Alert.svelte +1 -1
- package/dist/avatar/Avatar.svelte +1 -1
- package/dist/badge/Badge.svelte +1 -1
- package/dist/banner/Banner.svelte +1 -1
- package/dist/bottom-navigation/BottomNav.svelte +1 -1
- package/dist/bottom-navigation/BottomNavHeader.svelte +1 -1
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte +1 -1
- package/dist/bottom-navigation/BottomNavItem.svelte +1 -1
- package/dist/breadcrumb/Breadcrumb.svelte +1 -1
- package/dist/button-group/ButtonGroup.svelte +1 -1
- package/dist/buttons/Button.svelte +1 -1
- package/dist/buttons/GradientButton.svelte +1 -1
- package/dist/card/Card.svelte +1 -1
- package/dist/darkmode/DarkMode.svelte +1 -1
- package/dist/device-mockups/Android.svelte +1 -1
- package/dist/device-mockups/DefaultMockup.svelte +1 -1
- package/dist/device-mockups/Desktop.svelte +1 -1
- package/dist/device-mockups/Ios.svelte +1 -1
- package/dist/device-mockups/Laptop.svelte +1 -1
- package/dist/device-mockups/Smartwatch.svelte +1 -1
- package/dist/device-mockups/Tablet.svelte +1 -1
- package/dist/drawer/Drawer.svelte +1 -1
- package/dist/drawer/Drawer.svelte.d.ts +1 -1
- package/dist/drawer/Drawerhead.svelte +1 -1
- package/dist/dropdown/Dropdown.svelte +1 -1
- package/dist/dropdown/DropdownDivider.svelte +1 -1
- package/dist/dropdown/DropdownGroup.svelte +1 -1
- package/dist/dropdown/DropdownHeader.svelte +1 -1
- package/dist/dropdown/DropdownItem.svelte +1 -1
- package/dist/footer/Footer.svelte +1 -1
- package/dist/footer/FooterBrand.svelte +1 -1
- package/dist/footer/FooterCopyright.svelte +1 -1
- package/dist/footer/FooterIcon.svelte +1 -1
- package/dist/footer/FooterLink.svelte +1 -1
- package/dist/footer/FooterLinkGroup.svelte +1 -1
- package/dist/forms/button-toggle/ButtonToggle.svelte +1 -1
- package/dist/forms/checkbox/Checkbox.svelte +1 -1
- package/dist/forms/dropzone/Dropzone.svelte +1 -1
- package/dist/forms/fileupload/Fileupload.svelte +1 -1
- package/dist/forms/floating-label/FloatingLabelInput.svelte +1 -1
- package/dist/forms/helper/Helper.svelte +1 -1
- package/dist/forms/input-field/Input.svelte +2 -1
- package/dist/forms/label/Label.svelte +1 -1
- package/dist/forms/phoneinput/PhoneInput.svelte +1 -1
- package/dist/forms/radio/Radio.svelte +1 -1
- package/dist/forms/radio/RadioButton.svelte +1 -1
- package/dist/forms/range/Range.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/textarea/Textarea.svelte +1 -1
- package/dist/forms/timepicker/Timepicker.svelte +1 -1
- package/dist/gallery/Gallery.svelte +1 -1
- package/dist/kbd/Kbd.svelte +1 -1
- package/dist/list-group/Listgroup.svelte +1 -1
- package/dist/modal/Modal.svelte +1 -1
- package/dist/pagination/Pagination.svelte +2 -1
- package/dist/pagination/PaginationButton.svelte +1 -1
- package/dist/pagination/PaginationItem.svelte +1 -1
- package/dist/progress/Progressbar.svelte +1 -1
- package/dist/progress/Progressradial.svelte +1 -1
- package/dist/rating/AdvancedRating.svelte +1 -1
- package/dist/rating/Rating.svelte +1 -1
- package/dist/rating/Review.svelte +1 -1
- package/dist/rating/ScoreRating.svelte +1 -1
- package/dist/sidebar/Sidebar.svelte +1 -1
- package/dist/sidebar/SidebarBrand.svelte +1 -1
- package/dist/sidebar/SidebarButton.svelte +1 -1
- package/dist/sidebar/SidebarCta.svelte +1 -1
- package/dist/skeleton/CardPlaceholder.svelte +1 -1
- package/dist/skeleton/ImagePlaceholder.svelte +1 -1
- package/dist/skeleton/ListPlaceholder.svelte +1 -1
- package/dist/skeleton/Skeleton.svelte +1 -1
- package/dist/skeleton/TestimonialPlaceholder.svelte +1 -1
- package/dist/skeleton/TextPlaceholder.svelte +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte +1 -1
- package/dist/spinner/Spinner.svelte +1 -1
- package/dist/step-indicator/StepIndicator.svelte +1 -1
- package/dist/stepper/BreadcrumbStepper.svelte +1 -1
- package/dist/stepper/DetailedStepper.svelte +1 -1
- package/dist/stepper/ProgressStepper.svelte +1 -1
- package/dist/stepper/Stepper.svelte +1 -1
- package/dist/stepper/TimelineStepper.svelte +1 -1
- package/dist/stepper/VerticalStepper.svelte +1 -1
- package/dist/table/Table.svelte +2 -1
- package/dist/table/TableBody.svelte +1 -1
- package/dist/table/TableBodyCell.svelte +1 -1
- package/dist/table/TableBodyRow.svelte +1 -1
- package/dist/table/TableHead.svelte +2 -1
- package/dist/table/TableHeadCell.svelte +1 -1
- package/dist/table/TableSearch.svelte +1 -1
- package/dist/tabs/TabItem.svelte +1 -1
- package/dist/tabs/Tabs.svelte +1 -1
- package/dist/timeline/Activity.svelte +1 -1
- package/dist/timeline/Group.svelte +1 -1
- package/dist/timeline/GroupItem.svelte +1 -1
- package/dist/timeline/Timeline.svelte +1 -1
- package/dist/timeline/TimelineItem.svelte +1 -1
- package/dist/toast/Toast.svelte +1 -1
- package/dist/toolbar/Toolbar.svelte +1 -1
- package/dist/toolbar/ToolbarButton.svelte +1 -1
- package/dist/toolbar/ToolbarGroup.svelte +1 -1
- package/dist/typography/img/EnhancedImg.svelte +1 -1
- package/dist/typography/img/Img.svelte +1 -1
- package/dist/utils/CloseButton.svelte +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { getTheme } from "../theme/themeUtils";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { setContext } from "svelte";
|
|
6
|
-
import { accordion } from "./";
|
|
6
|
+
import { accordion } from "./theme";
|
|
7
7
|
import { createSingleSelectionContext } from "../utils/singleselection.svelte";
|
|
8
8
|
|
|
9
9
|
let { children, flush, activeClass, inactiveClass, multiple = false, class: className, transitionType, ...restProps }: AccordionProps = $props();
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { getContext } from "svelte";
|
|
7
7
|
import { slide } from "svelte/transition";
|
|
8
|
-
import { accordionItem } from "
|
|
8
|
+
import { accordionItem } from "./theme";
|
|
9
9
|
|
|
10
10
|
let { children, header, arrowup, arrowdown, open = $bindable(false), activeClass, inactiveClass, transitionType = slide, transitionParams, class: className, classes, headerClass, contentClass }: AccordionItemProps = $props();
|
|
11
11
|
|
package/dist/alert/Alert.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { fade } from "svelte/transition";
|
|
3
|
-
import { alert } from "
|
|
3
|
+
import { alert } from "./theme";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { type AlertProps, type ParamsType, CloseButton } from "..";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
package/dist/badge/Badge.svelte
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { fade } from "svelte/transition";
|
|
6
|
-
import { badge } from "
|
|
6
|
+
import { badge } from "./theme";
|
|
7
7
|
import { createDismissableContext } from "../utils/dismissable";
|
|
8
8
|
|
|
9
9
|
let { children, icon, badgeStatus = $bindable(true), color = "primary", large = false, dismissable = false, class: className, classes, border, href, target, rounded, transition = fade, params, aClass, ...restProps }: BadgeProps = $props();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { fade } from "svelte/transition";
|
|
3
|
-
import { banner } from "
|
|
3
|
+
import { banner } from "./theme";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { type ParamsType, type BannerProps, CloseButton } from "..";
|
|
6
6
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { setContext } from "svelte";
|
|
6
|
-
import { bottomNav } from "
|
|
6
|
+
import { bottomNav } from "./theme";
|
|
7
7
|
|
|
8
8
|
let { children, header, position = "fixed", navType = "default", class: className, classes, outerClass, innerClass, activeClass, activeUrl = "", ...restProps }: BottomNavProps = $props();
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { getContext } from "svelte";
|
|
6
6
|
import type { HTMLAnchorAttributes, HTMLButtonAttributes } from "svelte/elements";
|
|
7
|
-
import { bottomNavItem } from "
|
|
7
|
+
import { bottomNavItem } from "./theme";
|
|
8
8
|
|
|
9
9
|
let { children, btnName, appBtnPosition = "middle", activeClass, class: className, classes, btnClass, spanClass, active: manualActive, ...restProps }: BottomNavItemProps = $props();
|
|
10
10
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import type { SizeType, ButtonProps } from "..";
|
|
5
5
|
import { getTheme } from "../theme/themeUtils";
|
|
6
|
-
import { button } from "
|
|
6
|
+
import { button } from "./theme";
|
|
7
7
|
|
|
8
8
|
const group: SizeType = getContext("group");
|
|
9
9
|
const ctxDisabled: boolean | undefined = getContext("disabled");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getContext } from "svelte";
|
|
3
|
-
import { gradientButton } from "
|
|
3
|
+
import { gradientButton } from "./theme";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { type GradientButtonProps, type SizeType, Button } from "..";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
package/dist/card/Card.svelte
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { CardProps } from "..";
|
|
3
3
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { card } from "
|
|
5
|
+
import { card } from "./theme";
|
|
6
6
|
|
|
7
7
|
let { children, color = "gray", horizontal = false, shadow = "md", reverse = false, img, size = "sm", class: className, classes, imgClass, ...restProps }: CardProps = $props();
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { AndroidProps } from "..";
|
|
3
3
|
import { warnThemeDeprecation } from "../theme/themeUtils";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { android } from "
|
|
5
|
+
import { android } from "./theme";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, classes, divClass, div2Class, div3Class, div4Class, div5Class, div6Class, div7Class, ...restProps }: AndroidProps = $props();
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { DefaultMockupProps } from "..";
|
|
3
3
|
import { warnThemeDeprecation } from "../theme/themeUtils";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { defaultMockup } from "
|
|
5
|
+
import { defaultMockup } from "./theme";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, classes, divClass, div2Class, div3Class, div4Class, div5Class, div6Class, ...restProps }: DefaultMockupProps = $props();
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { DesktopProps } from "..";
|
|
3
3
|
import { warnThemeDeprecation } from "../theme/themeUtils";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { desktop } from "
|
|
5
|
+
import { desktop } from "./theme";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, classes, divClass, div2Class, div3Class, div4Class, ...restProps }: DesktopProps = $props();
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { LaptopProps } from "..";
|
|
3
3
|
import { warnThemeDeprecation } from "../theme/themeUtils";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { laptop } from "
|
|
5
|
+
import { laptop } from "./theme";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, classes, divClass, div2Class, div3Class, div4Class, ...restProps }: LaptopProps = $props();
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { SmartwatchProps } from "..";
|
|
3
3
|
import { warnThemeDeprecation } from "../theme/themeUtils";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { smartwatch } from "
|
|
5
|
+
import { smartwatch } from "./theme";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, classes, divClass, div2Class, div3Class, div4Class, div5Class, div6Class, ...restProps }: SmartwatchProps = $props();
|
|
8
8
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { sineIn } from "svelte/easing";
|
|
7
7
|
import { fly } from "svelte/transition";
|
|
8
|
-
import { drawer } from "
|
|
8
|
+
import { drawer } from "./theme";
|
|
9
9
|
import { setContext, tick } from "svelte";
|
|
10
10
|
|
|
11
11
|
let { children, open = $bindable(false), hidden = $bindable(), modal, offset, width, dismissable = offset ? false : undefined, placement = "left", class: className, transitionParams, transition = fly, outsideclose, activateClickOutside, ...restProps }: DrawerProps = $props();
|
|
@@ -19,6 +19,6 @@ import type { DrawerProps } from "..";
|
|
|
19
19
|
* @prop activateClickOutside
|
|
20
20
|
* @prop ...restProps
|
|
21
21
|
*/
|
|
22
|
-
declare const Drawer: import("svelte").Component<DrawerProps, {}, "
|
|
22
|
+
declare const Drawer: import("svelte").Component<DrawerProps, {}, "open" | "hidden">;
|
|
23
23
|
type Drawer = ReturnType<typeof Drawer>;
|
|
24
24
|
export default Drawer;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { getTheme } from "../theme/themeUtils";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { setContext } from "svelte";
|
|
6
|
-
import { dropdown } from "./";
|
|
6
|
+
import { dropdown } from "./theme";
|
|
7
7
|
|
|
8
8
|
let { children, simple = false, placement = "bottom", offset = 2, class: className, activeUrl = "", isOpen = $bindable(false), ...restProps }: DropdownProps = $props();
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getContext } from "svelte";
|
|
3
|
-
import { dropdownItem } from "
|
|
3
|
+
import { dropdownItem } from "./theme";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import type { DropdownItemProps } from "..";
|
|
6
6
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getContext } from "svelte";
|
|
3
3
|
import CheckIcon from "./CheckIcon.svelte";
|
|
4
|
-
import { buttonToggle } from "
|
|
4
|
+
import { buttonToggle } from "./theme";
|
|
5
5
|
import type { ButtonToggleVariants } from "./theme";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import type { ButtonToggleProps, ButtonToggleContext } from "../..";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { DragEventHandler, ChangeEventHandler } from "svelte/elements";
|
|
3
|
-
import { dropzone } from "
|
|
3
|
+
import { dropzone } from "./theme";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import type { DropzoneProps } from "../..";
|
|
6
6
|
import { getTheme } from "../../theme/themeUtils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { idGenerator } from "../../utils";
|
|
3
|
-
import { floatingLabelInput } from "
|
|
3
|
+
import { floatingLabelInput } from "./theme";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { type FloatingLabelInputProps, CloseButton } from "../..";
|
|
6
6
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import { getContext } from "svelte";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { CloseButton, type SizeType, type InputProps, type InputValue } from "../..";
|
|
5
|
-
import { input
|
|
5
|
+
import { input } from "./theme";
|
|
6
|
+
import { clampSize } from "./index";
|
|
6
7
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
7
8
|
import { createDismissableContext } from "../../utils/dismissable";
|
|
8
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" generics="T">
|
|
2
2
|
import { getContext } from "svelte";
|
|
3
|
-
import { radio } from "
|
|
3
|
+
import { radio } from "./theme";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { type RadioProps, Label } from "../..";
|
|
6
6
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" generics="T">
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { Button, type RadioButtonProps } from "../..";
|
|
4
|
-
import { radioButton } from "
|
|
4
|
+
import { radioButton } from "./theme";
|
|
5
5
|
import { getTheme } from "../../theme/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, group = $bindable<T>(), value = $bindable<T>(), inline, pill, outline, size, color, shadow, checkedClass, class: className, ...restProps }: RadioButtonProps<T> = $props();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" generics="T">
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { Badge, CloseButton, type MultiSelectProps, type SelectOptionType } from "../..";
|
|
4
|
-
import { multiSelect } from "
|
|
4
|
+
import { multiSelect } from "./theme";
|
|
5
5
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
6
6
|
import { onMount } from "svelte";
|
|
7
7
|
import { createDismissableContext } from "../../utils/dismissable";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts" generics="T">
|
|
2
|
-
import { select as selectCls } from "
|
|
2
|
+
import { select as selectCls } from "./theme";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { type SelectProps, CloseButton } from "../..";
|
|
5
5
|
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { Dropdown, DropdownItem, Button, Input, ButtonGroup, Select, Label, Toggle, type TimepickerProps, type TimePickerOption } from "../..";
|
|
4
|
-
import { timepicker } from "
|
|
4
|
+
import { timepicker } from "./theme";
|
|
5
5
|
import { parse, isValid, isBefore, isAfter } from "date-fns";
|
|
6
6
|
import { getTheme } from "../../theme/themeUtils";
|
|
7
7
|
|
package/dist/kbd/Kbd.svelte
CHANGED
package/dist/modal/Modal.svelte
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { sineIn } from "svelte/easing";
|
|
6
6
|
import { fade } from "svelte/transition";
|
|
7
|
-
import { modal as modalStyle } from "
|
|
7
|
+
import { modal as modalStyle } from "./theme";
|
|
8
8
|
|
|
9
9
|
let { children, header, footer, title, open = $bindable(false), permanent = false, dismissable = true, closeBtnClass, headerClass, bodyClass, footerClass, size = "md", placement, class: className, classes, transitionParams, transition = fade, fullscreen = false, ...restProps }: ModalProps = $props();
|
|
10
10
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { setContext } from "svelte";
|
|
3
|
-
import { pagination
|
|
3
|
+
import { pagination } from "./theme";
|
|
4
|
+
import { PaginationItem } from "..";
|
|
4
5
|
import type { PaginationProps } from "../types";
|
|
5
6
|
import { getTheme } from "../theme/themeUtils";
|
|
6
7
|
import clsx from "clsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { paginationButton } from "
|
|
3
|
+
import { paginationButton } from "./theme";
|
|
4
4
|
import type { PaginationButtonProps } from "../types";
|
|
5
5
|
import { getContext } from "svelte";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { paginationItem } from "
|
|
3
|
+
import { paginationItem } from "./theme";
|
|
4
4
|
import type { PaginationItemProps } from "../types";
|
|
5
5
|
import { getContext } from "svelte";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { cubicOut } from "svelte/easing";
|
|
5
5
|
import { Tween } from "svelte/motion";
|
|
6
|
-
import { progressbar } from "
|
|
6
|
+
import { progressbar } from "./theme";
|
|
7
7
|
import { getTheme } from "../theme/themeUtils";
|
|
8
8
|
|
|
9
9
|
let { progress = "45", precision = 0, tweenDuration = 400, animate = false, size = "h-2.5", labelInside = false, labelOutside = "", easing = cubicOut, color = "primary", class: className, classes, ...restProps }: ProgressbarProps = $props();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import Star from "./Star.svelte";
|
|
4
|
-
import { rating as ratingVariants } from "
|
|
4
|
+
import { rating as ratingVariants } from "./theme";
|
|
5
5
|
import type { RatingProps } from "../types";
|
|
6
6
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { review as reviewVariants } from "
|
|
3
|
+
import { review as reviewVariants } from "./theme";
|
|
4
4
|
import type { ReviewProps } from "../types";
|
|
5
5
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
6
6
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { setContext } from "svelte";
|
|
6
6
|
import { sineIn } from "svelte/easing";
|
|
7
7
|
import { fly } from "svelte/transition";
|
|
8
|
-
import { sidebar } from "
|
|
8
|
+
import { sidebar } from "./theme";
|
|
9
9
|
|
|
10
10
|
let { children, isOpen = false, closeSidebar, isSingle = true, breakpoint = "md", alwaysOpen = false, position = "fixed", activateClickOutside = true, backdrop = true, backdropClass, transition = fly, params, divClass, ariaLabel, nonActiveClass, activeClass, activeUrl = "", class: className, classes, disableBreakpoints = false, ...restProps }: SidebarProps = $props();
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import type { StepIndicatorProps } from "..";
|
|
4
|
-
import { stepIndicator, getStepStateClasses, type StepIndicatorTheme } from "
|
|
4
|
+
import { stepIndicator, getStepStateClasses, type StepIndicatorTheme } from "./theme";
|
|
5
5
|
import { getTheme } from "../theme/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { steps = ["Step 1", "Step 2", "Step 3", "Step 4", "Step 5"], currentStep = 1, size = "md", color = "primary", glow = false, hideLabel = false, completedCustom = "", currentCustom = "", class: className, classes, ...restProps }: StepIndicatorProps = $props();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { setContext } from "svelte";
|
|
3
|
-
import { breadcrumbStepper } from "
|
|
3
|
+
import { breadcrumbStepper } from "./theme";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import type { BreadcrumbStepperProps } from "..";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { setContext } from "svelte";
|
|
3
|
-
import { detailedStepper } from "
|
|
3
|
+
import { detailedStepper } from "./theme";
|
|
4
4
|
import type { DetailedStepperProps } from "..";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { setContext } from "svelte";
|
|
3
|
-
import { progressStepper } from "
|
|
3
|
+
import { progressStepper } from "./theme";
|
|
4
4
|
import type { ProgressStepperProps } from "..";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { setContext } from "svelte";
|
|
3
|
-
import { timelineStepper } from "
|
|
3
|
+
import { timelineStepper } from "./theme";
|
|
4
4
|
import type { TimelineStepperProps } from "..";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { setContext } from "svelte";
|
|
3
|
-
import { verticalStepper } from "
|
|
3
|
+
import { verticalStepper } from "./theme";
|
|
4
4
|
import type { VerticalStepperProps } from "..";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
package/dist/table/Table.svelte
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { setContext } from "svelte";
|
|
3
|
-
import { table as tableCls
|
|
3
|
+
import { table as tableCls } from "./theme";
|
|
4
|
+
import { TableHead, TableBody } from "..";
|
|
4
5
|
import clsx from "clsx";
|
|
5
6
|
import type { TableProps, TableCtxType } from "..";
|
|
6
7
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { TableBodyRow, TableBodyCell } from "
|
|
3
|
+
import { TableBodyRow, TableBodyCell } from "..";
|
|
4
4
|
import type { TableBodyProps, CellValue, BodyRow } from "../types";
|
|
5
5
|
|
|
6
6
|
let { children, bodyItems, class: className, ...restProps }: TableBodyProps = $props();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getContext } from "svelte";
|
|
3
|
-
import { tableBodyRow } from "
|
|
3
|
+
import { tableBodyRow } from "./theme";
|
|
4
4
|
import type { TableBodyRowProps, TableCtxType } from "../types";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getContext } from "svelte";
|
|
3
|
-
import { TableHeadCell
|
|
3
|
+
import { TableHeadCell } from "..";
|
|
4
|
+
import { tableHead } from "./theme";
|
|
4
5
|
import type { TableHeadProps, TableCtxType, HeadItemType } from "../types";
|
|
5
6
|
import clsx from "clsx";
|
|
6
7
|
import { getTheme } from "../theme/themeUtils";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { setContext } from "svelte";
|
|
3
3
|
import type { TableSearchProps, TableSearchType } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { tableSearch } from "
|
|
5
|
+
import { tableSearch } from "./theme";
|
|
6
6
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
7
7
|
|
|
8
8
|
let { children, header, footer, divClass, inputValue = $bindable(), striped = false, hoverable = false, customColor = "", color = "default", innerDivClass, inputClass, searchClass, svgDivClass, svgClass, tableClass, class: className, classes, placeholder = "Search", ...restProps }: TableSearchProps = $props();
|
package/dist/tabs/TabItem.svelte
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useSingleSelection } from "../utils/singleselection.svelte";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { getContext } from "svelte";
|
|
7
|
-
import { tabItem, tabs } from "
|
|
7
|
+
import { tabItem, tabs } from "./theme";
|
|
8
8
|
|
|
9
9
|
let { children, titleSlot, open = $bindable(false), title = "Tab title", key, activeClass, inactiveClass, class: className, classes, disabled, tabStyle, ...restProps }: TabitemProps = $props();
|
|
10
10
|
|
package/dist/tabs/Tabs.svelte
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { createSingleSelectionContext, useSingleSelection } from "../utils/singleselection.svelte";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { setContext } from "svelte";
|
|
7
|
-
import { tabs } from "
|
|
7
|
+
import { tabs } from "./theme";
|
|
8
8
|
|
|
9
9
|
let { children, selected = $bindable(), tabStyle = "none", ulClass, contentClass, divider = true, class: className, classes, ...restProps }: TabsProps = $props();
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { setContext } from "svelte";
|
|
3
|
-
import { timeline, type TimelineVariants } from "
|
|
3
|
+
import { timeline, type TimelineVariants } from "./theme";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import type { TimelineProps } from "../types";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getContext } from "svelte";
|
|
3
|
-
import { timelineItem, type TimelineVariants } from "
|
|
3
|
+
import { timelineItem, type TimelineVariants } from "./theme";
|
|
4
4
|
import type { TimelineItemProps, DateFormat } from "../types";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
package/dist/toast/Toast.svelte
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { CloseButton } from "..";
|
|
3
3
|
import type { ParamsType } from "../types";
|
|
4
|
-
import { toast } from "
|
|
4
|
+
import { toast } from "./theme";
|
|
5
5
|
import type { ToastProps } from "../types";
|
|
6
6
|
import { fly } from "svelte/transition";
|
|
7
7
|
import clsx from "clsx";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import type { ToolbarProps } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { setContext } from "svelte";
|
|
6
|
-
import { toolbar } from "./";
|
|
6
|
+
import { toolbar } from "./theme";
|
|
7
7
|
|
|
8
8
|
let { children, end, color, embedded, class: className, classes, ...restProps }: ToolbarProps = $props();
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getContext } from "svelte";
|
|
3
|
-
import { toolbarButton } from "
|
|
3
|
+
import { toolbarButton } from "./theme";
|
|
4
4
|
import type { ToolbarButtonProps } from "../types";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { getTheme } from "../theme/themeUtils";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import type { ToolbarGroupProps } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { getContext } from "svelte";
|
|
6
|
-
import { toolbarGroup } from "
|
|
6
|
+
import { toolbarGroup } from "./theme";
|
|
7
7
|
|
|
8
8
|
let { children, spacing, padding, position = "middle", class: className, ...restProps }: ToolbarGroupProps = $props();
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import type { CloseButtonProps } from "..";
|
|
4
|
-
import { closeButton } from "
|
|
4
|
+
import { closeButton } from "./theme";
|
|
5
5
|
import { useDismiss } from "./dismissable";
|
|
6
6
|
|
|
7
7
|
let { children, color = "gray", onclick: onclickorg, name = "Close", ariaLabel, size = "md", class: className, svgClass, ...restProps }: CloseButtonProps = $props();
|