flowbite-svelte 1.14.3 → 1.14.5
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 +3 -2
- package/dist/avatar/Avatar.svelte +3 -2
- package/dist/badge/Badge.svelte +3 -2
- package/dist/banner/Banner.svelte +3 -2
- package/dist/bottom-navigation/BottomNav.svelte +3 -2
- 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/breadcrumb/BreadcrumbItem.svelte +1 -1
- package/dist/button-group/ButtonGroup.svelte +1 -1
- package/dist/buttons/Button.svelte +1 -1
- package/dist/buttons/GradientButton.svelte +3 -2
- package/dist/buttons/GradientButton.svelte.d.ts +1 -1
- package/dist/card/Card.svelte +1 -1
- package/dist/carousel/Carousel.svelte +2 -1
- package/dist/carousel/CarouselIndicators.svelte +2 -1
- package/dist/carousel/CarouselIndicators.svelte.d.ts +1 -1
- package/dist/carousel/Controls.svelte +2 -1
- package/dist/carousel/Controls.svelte.d.ts +1 -1
- package/dist/carousel/Thumbnails.svelte +2 -1
- package/dist/carousel/Thumbnails.svelte.d.ts +1 -1
- package/dist/darkmode/DarkMode.svelte +1 -1
- package/dist/datepicker/Datepicker.svelte +3 -1
- package/dist/datepicker/Datepicker.svelte.d.ts +2 -2
- 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 +2 -2
- package/dist/device-mockups/Ios.svelte.d.ts +1 -1
- package/dist/device-mockups/Laptop.svelte +1 -1
- package/dist/device-mockups/Smartwatch.svelte +1 -1
- package/dist/device-mockups/Tablet.svelte +2 -2
- package/dist/device-mockups/Tablet.svelte.d.ts +1 -1
- package/dist/dialog/Dialog.svelte +3 -1
- package/dist/dialog/Dialog.svelte.d.ts +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/fileupload/Fileupload.svelte.d.ts +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/tags/theme.d.ts +3 -3
- 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/timeline/theme.d.ts +12 -12
- 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
|
@@ -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";
|
|
@@ -8,8 +8,8 @@ export declare const tags: import("tailwind-variants").TVReturnType<{
|
|
|
8
8
|
span?: import("tailwind-merge").ClassNameValue;
|
|
9
9
|
base?: import("tailwind-merge").ClassNameValue;
|
|
10
10
|
close?: import("tailwind-merge").ClassNameValue;
|
|
11
|
-
tag?: import("tailwind-merge").ClassNameValue;
|
|
12
11
|
error?: import("tailwind-merge").ClassNameValue;
|
|
12
|
+
tag?: import("tailwind-merge").ClassNameValue;
|
|
13
13
|
info?: import("tailwind-merge").ClassNameValue;
|
|
14
14
|
warning?: import("tailwind-merge").ClassNameValue;
|
|
15
15
|
};
|
|
@@ -21,8 +21,8 @@ export declare const tags: import("tailwind-variants").TVReturnType<{
|
|
|
21
21
|
span?: import("tailwind-merge").ClassNameValue;
|
|
22
22
|
base?: import("tailwind-merge").ClassNameValue;
|
|
23
23
|
close?: import("tailwind-merge").ClassNameValue;
|
|
24
|
-
tag?: import("tailwind-merge").ClassNameValue;
|
|
25
24
|
error?: import("tailwind-merge").ClassNameValue;
|
|
25
|
+
tag?: import("tailwind-merge").ClassNameValue;
|
|
26
26
|
info?: import("tailwind-merge").ClassNameValue;
|
|
27
27
|
warning?: import("tailwind-merge").ClassNameValue;
|
|
28
28
|
};
|
|
@@ -43,8 +43,8 @@ export declare const tags: import("tailwind-variants").TVReturnType<{
|
|
|
43
43
|
span?: import("tailwind-merge").ClassNameValue;
|
|
44
44
|
base?: import("tailwind-merge").ClassNameValue;
|
|
45
45
|
close?: import("tailwind-merge").ClassNameValue;
|
|
46
|
-
tag?: import("tailwind-merge").ClassNameValue;
|
|
47
46
|
error?: import("tailwind-merge").ClassNameValue;
|
|
47
|
+
tag?: import("tailwind-merge").ClassNameValue;
|
|
48
48
|
info?: import("tailwind-merge").ClassNameValue;
|
|
49
49
|
warning?: import("tailwind-merge").ClassNameValue;
|
|
50
50
|
};
|
|
@@ -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/timeline/theme.d.ts
CHANGED
|
@@ -12,10 +12,10 @@ export declare const activityItem: import("tailwind-variants").TVReturnType<{
|
|
|
12
12
|
img?: import("tailwind-merge").ClassNameValue;
|
|
13
13
|
span?: import("tailwind-merge").ClassNameValue;
|
|
14
14
|
title?: import("tailwind-merge").ClassNameValue;
|
|
15
|
-
inner?: import("tailwind-merge").ClassNameValue;
|
|
16
|
-
text?: import("tailwind-merge").ClassNameValue;
|
|
17
|
-
time?: import("tailwind-merge").ClassNameValue;
|
|
18
15
|
li?: import("tailwind-merge").ClassNameValue;
|
|
16
|
+
time?: import("tailwind-merge").ClassNameValue;
|
|
17
|
+
text?: import("tailwind-merge").ClassNameValue;
|
|
18
|
+
inner?: import("tailwind-merge").ClassNameValue;
|
|
19
19
|
outer?: import("tailwind-merge").ClassNameValue;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
@@ -25,10 +25,10 @@ export declare const activityItem: import("tailwind-variants").TVReturnType<{
|
|
|
25
25
|
img?: import("tailwind-merge").ClassNameValue;
|
|
26
26
|
span?: import("tailwind-merge").ClassNameValue;
|
|
27
27
|
title?: import("tailwind-merge").ClassNameValue;
|
|
28
|
-
inner?: import("tailwind-merge").ClassNameValue;
|
|
29
|
-
text?: import("tailwind-merge").ClassNameValue;
|
|
30
|
-
time?: import("tailwind-merge").ClassNameValue;
|
|
31
28
|
li?: import("tailwind-merge").ClassNameValue;
|
|
29
|
+
time?: import("tailwind-merge").ClassNameValue;
|
|
30
|
+
text?: import("tailwind-merge").ClassNameValue;
|
|
31
|
+
inner?: import("tailwind-merge").ClassNameValue;
|
|
32
32
|
outer?: import("tailwind-merge").ClassNameValue;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
@@ -47,10 +47,10 @@ export declare const activityItem: import("tailwind-variants").TVReturnType<{
|
|
|
47
47
|
img?: import("tailwind-merge").ClassNameValue;
|
|
48
48
|
span?: import("tailwind-merge").ClassNameValue;
|
|
49
49
|
title?: import("tailwind-merge").ClassNameValue;
|
|
50
|
-
inner?: import("tailwind-merge").ClassNameValue;
|
|
51
|
-
text?: import("tailwind-merge").ClassNameValue;
|
|
52
|
-
time?: import("tailwind-merge").ClassNameValue;
|
|
53
50
|
li?: import("tailwind-merge").ClassNameValue;
|
|
51
|
+
time?: import("tailwind-merge").ClassNameValue;
|
|
52
|
+
text?: import("tailwind-merge").ClassNameValue;
|
|
53
|
+
inner?: import("tailwind-merge").ClassNameValue;
|
|
54
54
|
outer?: import("tailwind-merge").ClassNameValue;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
@@ -77,16 +77,16 @@ export declare const group: import("tailwind-variants").TVReturnType<{
|
|
|
77
77
|
[key: string]: {
|
|
78
78
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
79
79
|
div?: import("tailwind-merge").ClassNameValue;
|
|
80
|
-
time?: import("tailwind-merge").ClassNameValue;
|
|
81
80
|
ol?: import("tailwind-merge").ClassNameValue;
|
|
81
|
+
time?: import("tailwind-merge").ClassNameValue;
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
84
|
} | {
|
|
85
85
|
[x: string]: {
|
|
86
86
|
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
87
87
|
div?: import("tailwind-merge").ClassNameValue;
|
|
88
|
-
time?: import("tailwind-merge").ClassNameValue;
|
|
89
88
|
ol?: import("tailwind-merge").ClassNameValue;
|
|
89
|
+
time?: import("tailwind-merge").ClassNameValue;
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
92
|
} | {}, {
|
|
@@ -97,8 +97,8 @@ export declare const group: import("tailwind-variants").TVReturnType<{
|
|
|
97
97
|
[key: string]: {
|
|
98
98
|
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
99
99
|
div?: import("tailwind-merge").ClassNameValue;
|
|
100
|
-
time?: import("tailwind-merge").ClassNameValue;
|
|
101
100
|
ol?: import("tailwind-merge").ClassNameValue;
|
|
101
|
+
time?: import("tailwind-merge").ClassNameValue;
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
} | {}, {
|
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";
|