kosui 0.0.27 → 0.0.28
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/autocomplete/autocomplete-content.svelte +2 -2
- package/dist/autocomplete/autocomplete-content.svelte.d.ts +2 -2
- package/dist/autocomplete/autocomplete-item.svelte +3 -3
- package/dist/autocomplete/autocomplete-item.svelte.d.ts +3 -3
- package/dist/autocomplete/autocomplete.svelte +2 -2
- package/dist/autocomplete/autocomplete.svelte.d.ts +2 -2
- package/dist/box/box.svelte +2 -2
- package/dist/box/box.svelte.d.ts +2 -2
- package/dist/breadcrumbs/breadcrumbs.svelte +1 -1
- package/dist/breadcrumbs/breadcrumbs.svelte.d.ts +1 -1
- package/dist/button/button.svelte +3 -3
- package/dist/button/button.svelte.d.ts +3 -3
- package/dist/chip/chip.svelte +1 -1
- package/dist/chip/chip.svelte.d.ts +1 -1
- package/dist/command/action.svelte.d.ts +1 -1
- package/dist/command/action.svelte.js +0 -1
- package/dist/command/command-content.svelte +2 -2
- package/dist/command/command-content.svelte.d.ts +2 -2
- package/dist/command/command-input.svelte +2 -2
- package/dist/command/command-input.svelte.d.ts +2 -2
- package/dist/command/command-item.svelte +3 -3
- package/dist/command/command-item.svelte.d.ts +3 -3
- package/dist/command/command.svelte +2 -2
- package/dist/command/command.svelte.d.ts +2 -2
- package/dist/common/divider.svelte +2 -2
- package/dist/common/divider.svelte.d.ts +2 -2
- package/dist/common/header.svelte +3 -3
- package/dist/common/header.svelte.d.ts +3 -3
- package/dist/dialog/dialog-button.svelte +1 -1
- package/dist/dialog/dialog-button.svelte.d.ts +1 -1
- package/dist/dialog/dialog.svelte +2 -2
- package/dist/dialog/dialog.svelte.d.ts +2 -2
- package/dist/dialog/dialoguer-context.svelte.d.ts +3 -3
- package/dist/dialog/dialoguer-context.svelte.js +0 -3
- package/dist/dialog/dialoguer.svelte +1 -1
- package/dist/dialog/dialoguer.svelte.d.ts +1 -1
- package/dist/fab/fab.svelte +1 -1
- package/dist/fab/fab.svelte.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/input/input.svelte +1 -1
- package/dist/input/input.svelte.d.ts +1 -1
- package/dist/link/link.svelte +1 -1
- package/dist/link/link.svelte.d.ts +1 -1
- package/dist/markdown/markdown-blockquote.svelte +3 -3
- package/dist/markdown/markdown-blockquote.svelte.d.ts +3 -3
- package/dist/markdown/markdown-br.svelte +3 -3
- package/dist/markdown/markdown-br.svelte.d.ts +3 -3
- package/dist/markdown/markdown-code.svelte +3 -3
- package/dist/markdown/markdown-code.svelte.d.ts +3 -3
- package/dist/markdown/markdown-codespan.svelte +3 -3
- package/dist/markdown/markdown-codespan.svelte.d.ts +3 -3
- package/dist/markdown/markdown-context.svelte.d.ts +1 -1
- package/dist/markdown/markdown-context.svelte.js +0 -1
- package/dist/markdown/markdown-def.svelte +3 -3
- package/dist/markdown/markdown-def.svelte.d.ts +3 -3
- package/dist/markdown/markdown-del.svelte +3 -3
- package/dist/markdown/markdown-del.svelte.d.ts +3 -3
- package/dist/markdown/markdown-em.svelte +3 -3
- package/dist/markdown/markdown-em.svelte.d.ts +3 -3
- package/dist/markdown/markdown-escape.svelte +2 -2
- package/dist/markdown/markdown-escape.svelte.d.ts +2 -2
- package/dist/markdown/markdown-heading.svelte +3 -3
- package/dist/markdown/markdown-heading.svelte.d.ts +3 -3
- package/dist/markdown/markdown-hr.svelte +3 -3
- package/dist/markdown/markdown-hr.svelte.d.ts +3 -3
- package/dist/markdown/markdown-html.svelte +2 -2
- package/dist/markdown/markdown-html.svelte.d.ts +2 -2
- package/dist/markdown/markdown-image.svelte +3 -3
- package/dist/markdown/markdown-image.svelte.d.ts +3 -3
- package/dist/markdown/markdown-link.svelte +3 -3
- package/dist/markdown/markdown-link.svelte.d.ts +3 -3
- package/dist/markdown/markdown-list-item.svelte +3 -3
- package/dist/markdown/markdown-list-item.svelte.d.ts +3 -3
- package/dist/markdown/markdown-list.svelte +3 -3
- package/dist/markdown/markdown-list.svelte.d.ts +3 -3
- package/dist/markdown/markdown-paragraph.svelte +3 -3
- package/dist/markdown/markdown-paragraph.svelte.d.ts +3 -3
- package/dist/markdown/markdown-space.svelte +2 -2
- package/dist/markdown/markdown-space.svelte.d.ts +2 -2
- package/dist/markdown/markdown-strong.svelte +3 -3
- package/dist/markdown/markdown-strong.svelte.d.ts +3 -3
- package/dist/markdown/markdown-table-cell.svelte +3 -6
- package/dist/markdown/markdown-table-cell.svelte.d.ts +3 -3
- package/dist/markdown/markdown-table.svelte +2 -2
- package/dist/markdown/markdown-table.svelte.d.ts +2 -2
- package/dist/markdown/markdown-text.svelte +2 -2
- package/dist/markdown/markdown-text.svelte.d.ts +2 -2
- package/dist/markdown/markdown-token.svelte +1 -1
- package/dist/markdown/markdown-token.svelte.d.ts +1 -1
- package/dist/markdown/markdown-tokens.svelte +1 -1
- package/dist/markdown/markdown-tokens.svelte.d.ts +1 -1
- package/dist/markdown/markdown.svelte +1 -1
- package/dist/markdown/markdown.svelte.d.ts +1 -1
- package/dist/menu/menu-actions.svelte +1 -1
- package/dist/menu/menu-actions.svelte.d.ts +1 -1
- package/dist/menu/menu-content.svelte +2 -2
- package/dist/menu/menu-content.svelte.d.ts +2 -2
- package/dist/menu/menu-item.svelte +3 -3
- package/dist/menu/menu-item.svelte.d.ts +3 -3
- package/dist/menu/menu-trigger.svelte +4 -4
- package/dist/menu/menu-trigger.svelte.d.ts +4 -4
- package/dist/menu/menu.svelte +2 -2
- package/dist/menu/menu.svelte.d.ts +2 -2
- package/dist/modal/modal.svelte +3 -3
- package/dist/modal/modal.svelte.d.ts +3 -3
- package/dist/popover/popover.svelte +2 -2
- package/dist/popover/popover.svelte.d.ts +2 -2
- package/dist/portal/proxy.svelte +1 -1
- package/dist/portal/proxy.svelte.d.ts +1 -1
- package/dist/progress/circular-progress.svelte +1 -1
- package/dist/progress/circular-progress.svelte.d.ts +1 -1
- package/dist/shortcut/shortcut-badge.svelte +2 -2
- package/dist/shortcut/shortcut-badge.svelte.d.ts +2 -2
- package/dist/shortcut/shortcut.d.ts +2 -0
- package/dist/shortcut/shortcut.js +2 -0
- package/dist/skeleton/skeleton.svelte +1 -1
- package/dist/skeleton/skeleton.svelte.d.ts +1 -1
- package/dist/slider/index.d.ts +8 -0
- package/dist/slider/index.js +8 -0
- package/dist/slider/slider-context.svelte.d.ts +48 -0
- package/dist/slider/slider-context.svelte.js +192 -0
- package/dist/slider/slider-handle-label-arrow.svelte +18 -0
- package/dist/slider/slider-handle-label-arrow.svelte.d.ts +6 -0
- package/dist/slider/slider-handle-label.svelte +31 -0
- package/dist/slider/slider-handle-label.svelte.d.ts +6 -0
- package/dist/slider/slider-handle.svelte +51 -0
- package/dist/slider/slider-handle.svelte.d.ts +6 -0
- package/dist/slider/slider-mark-dot.svelte +25 -0
- package/dist/slider/slider-mark-dot.svelte.d.ts +6 -0
- package/dist/slider/slider-mark-label.svelte +37 -0
- package/dist/slider/slider-mark-label.svelte.d.ts +9 -0
- package/dist/slider/slider-mark.svelte +33 -0
- package/dist/slider/slider-mark.svelte.d.ts +9 -0
- package/dist/slider/slider.svelte +227 -0
- package/dist/slider/slider.svelte.d.ts +41 -0
- package/dist/switch/switch-thumb.svelte +2 -2
- package/dist/switch/switch-thumb.svelte.d.ts +2 -2
- package/dist/switch/switch.svelte +3 -3
- package/dist/switch/switch.svelte.d.ts +3 -3
- package/dist/textarea/textarea.svelte +2 -2
- package/dist/textarea/textarea.svelte.d.ts +2 -2
- package/dist/toggle/toggle-button.svelte +3 -3
- package/dist/toggle/toggle-button.svelte.d.ts +3 -3
- package/dist/toggle/toggle-group.svelte +2 -2
- package/dist/toggle/toggle-group.svelte.d.ts +2 -2
- package/dist/tooltip/tooltip.svelte +6 -5
- package/dist/tooltip/tooltip.svelte.d.ts +2 -2
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +0 -1
- package/package.json +5 -5
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { getAutocompleteContext } from "./index.js";
|
|
3
3
|
import { baseClasses, type Variants } from "../base.js";
|
|
4
4
|
import { Popover, type PopoverProps } from "../popover/index.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import type { ClassName } from "../utils.js";
|
|
6
|
+
import type { Snippet } from "svelte";
|
|
7
7
|
import { twMerge } from "tailwind-merge";
|
|
8
8
|
|
|
9
9
|
export type AutocompleteProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Variants } from "../base.js";
|
|
2
2
|
import { type PopoverProps } from "../popover/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { ClassName } from "../utils.js";
|
|
4
|
+
import type { Snippet } from "svelte";
|
|
5
5
|
export type AutocompleteProps = {
|
|
6
6
|
children: Snippet;
|
|
7
7
|
} & ClassName & Variants & Omit<PopoverProps, "children">;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { getAutocompleteContext } from "./index.js";
|
|
3
3
|
import { baseClasses, type Variants } from "../base.js";
|
|
4
4
|
import { mergeProps } from "../merge-props.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import type { ClassName, ElementRef } from "../utils.js";
|
|
6
|
+
import type { Snippet } from "svelte";
|
|
7
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
8
8
|
import { twMerge } from "tailwind-merge";
|
|
9
9
|
|
|
10
10
|
export type AutocompleteItemProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Variants } from "../base.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { ClassName, ElementRef } from "../utils.js";
|
|
3
|
+
import type { Snippet } from "svelte";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
export type AutocompleteItemProps = {
|
|
6
6
|
onSelect?: (el: HTMLElement) => void;
|
|
7
7
|
children: Snippet;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
AutocompleteContext,
|
|
4
4
|
setAutocompleteContext,
|
|
5
5
|
} from "./index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import type { ClassName } from "../utils.js";
|
|
7
|
+
import type { Snippet } from "svelte";
|
|
8
8
|
|
|
9
9
|
export type AutocompleteProps = {
|
|
10
10
|
children: Snippet;
|
package/dist/box/box.svelte
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { baseClasses, type Variants } from "../base.js";
|
|
3
3
|
import { noop, type ClassName, type ElementRef } from "../utils.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import type { Snippet } from "svelte";
|
|
5
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
6
6
|
import { twMerge } from "tailwind-merge";
|
|
7
7
|
|
|
8
8
|
export type BoxProps = {
|
package/dist/box/box.svelte.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Variants } from "../base.js";
|
|
2
2
|
import { type ClassName, type ElementRef } from "../utils.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { Snippet } from "svelte";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
export type BoxProps = {
|
|
6
6
|
centered?: boolean;
|
|
7
7
|
backdrop?: boolean;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { mergeProps } from "../merge-props.js";
|
|
4
4
|
import { Tooltip, type TooltipTriggerProps } from "../tooltip/index.js";
|
|
5
5
|
import { noop, type ClassName, type ElementRef } from "../utils.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import type { Icon } from "@lucide/svelte";
|
|
7
|
+
import type { Snippet } from "svelte";
|
|
8
|
+
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
9
9
|
import { twMerge } from "tailwind-merge";
|
|
10
10
|
|
|
11
11
|
export type ButtonProps = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type Variants } from "../base.js";
|
|
2
2
|
import { type ClassName, type ElementRef } from "../utils.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import type { Icon } from "@lucide/svelte";
|
|
4
|
+
import type { Snippet } from "svelte";
|
|
5
|
+
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
6
6
|
export type ButtonProps = {
|
|
7
7
|
icon?: typeof Icon;
|
|
8
8
|
size?: number;
|
package/dist/chip/chip.svelte
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
2
|
import { Box, type BoxProps } from "../box/index.js";
|
|
3
3
|
import { X } from "@lucide/svelte";
|
|
4
|
-
import {
|
|
4
|
+
import type { Snippet } from "svelte";
|
|
5
5
|
import { twMerge } from "tailwind-merge";
|
|
6
6
|
|
|
7
7
|
export type ChipProps = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script module lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { ClassName } from "../utils.js";
|
|
3
|
+
import type { Snippet } from "svelte";
|
|
4
4
|
import { twMerge } from "tailwind-merge";
|
|
5
5
|
|
|
6
6
|
export type CommandContentProps = { children: Snippet } & ClassName;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { baseClasses, type Variants } from "../base.js";
|
|
3
3
|
import { getCommandContext } from "./index.js";
|
|
4
4
|
import { mergeProps } from "../merge-props.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import type { ClassName, ElementRef } from "../utils.js";
|
|
6
|
+
import type { HTMLInputAttributes } from "svelte/elements";
|
|
7
7
|
import { twMerge } from "tailwind-merge";
|
|
8
8
|
|
|
9
9
|
export type CommandInputProps = {} & ElementRef &
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Variants } from "../base.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { ClassName, ElementRef } from "../utils.js";
|
|
3
|
+
import type { HTMLInputAttributes } from "svelte/elements";
|
|
4
4
|
export type CommandInputProps = {} & ElementRef & ClassName & Variants & HTMLInputAttributes;
|
|
5
5
|
declare const CommandInput: import("svelte").Component<CommandInputProps, {}, "value">;
|
|
6
6
|
type CommandInput = ReturnType<typeof CommandInput>;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { baseClasses, type Variants } from "../base.js";
|
|
3
3
|
import { getCommandContext } from "./index.js";
|
|
4
4
|
import { mergeProps } from "../merge-props.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import type { ClassName, ElementRef } from "../utils.js";
|
|
6
|
+
import type { Snippet } from "svelte";
|
|
7
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
8
8
|
import { twMerge } from "tailwind-merge";
|
|
9
9
|
|
|
10
10
|
export type CommandItemProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Variants } from "../base.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { ClassName, ElementRef } from "../utils.js";
|
|
3
|
+
import type { Snippet } from "svelte";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
export type CommandItemProps = {
|
|
6
6
|
onSelect?: (el: HTMLElement) => void;
|
|
7
7
|
children: Snippet<[]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script module lang="ts">
|
|
2
2
|
import { CommandContext, setCommandContext } from "./index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { ClassName } from "../utils.js";
|
|
4
|
+
import type { Snippet } from "svelte";
|
|
5
5
|
import { twMerge } from "tailwind-merge";
|
|
6
6
|
|
|
7
7
|
export type CommandProps = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script module lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { ClassName } from "../utils.js";
|
|
3
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
4
4
|
import { twMerge } from "tailwind-merge";
|
|
5
5
|
|
|
6
6
|
export type DividerProps = {} & ClassName & HTMLAttributes<HTMLHRElement>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ClassName } from "../utils.js";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
3
|
export type DividerProps = {} & ClassName & HTMLAttributes<HTMLHRElement>;
|
|
4
4
|
declare const Divider: import("svelte").Component<DividerProps, {}, "">;
|
|
5
5
|
type Divider = ReturnType<typeof Divider>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script module lang="ts">
|
|
2
2
|
import { baseClasses, type Variants } from "../base.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import type { ClassName } from "../utils.js";
|
|
4
|
+
import type { Snippet } from "svelte";
|
|
5
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
6
6
|
import { twMerge } from "tailwind-merge";
|
|
7
7
|
|
|
8
8
|
export type HeaderProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Variants } from "../base.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { ClassName } from "../utils.js";
|
|
3
|
+
import type { Snippet } from "svelte";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
export type HeaderProps = {
|
|
6
6
|
children: Snippet;
|
|
7
7
|
} & ClassName & Variants & HTMLAttributes<HTMLDivElement>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script module lang="ts">
|
|
2
2
|
import { mergeComponentProps } from "../merge-props.js";
|
|
3
3
|
import { Modal, type ModalProps } from "../modal/index.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import type { Icon } from "@lucide/svelte";
|
|
5
|
+
import type { Snippet } from "svelte";
|
|
6
6
|
import { twMerge } from "tailwind-merge";
|
|
7
7
|
|
|
8
8
|
export type DialogProps<T> = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ModalProps } from "../modal/index.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { Icon } from "@lucide/svelte";
|
|
3
|
+
import type { Snippet } from "svelte";
|
|
4
4
|
export type DialogProps<T> = {
|
|
5
5
|
ref?: HTMLDialogElement;
|
|
6
6
|
onSelect?: (value: T | undefined) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { Variants } from "../base.js";
|
|
2
|
+
import type { InputProps } from "../input/index.js";
|
|
3
|
+
import type { Icon } from "@lucide/svelte";
|
|
4
4
|
import { type Snippet } from "svelte";
|
|
5
5
|
export type DialoguerButtonProps<T> = {
|
|
6
6
|
text: string;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
type DialoguerButtonProps,
|
|
6
6
|
} from "./index.js";
|
|
7
7
|
import { Input } from "../input/index.js";
|
|
8
|
-
import {
|
|
8
|
+
import type { Snippet } from "svelte";
|
|
9
9
|
import DialogButton from "./dialog-button.svelte";
|
|
10
10
|
import Dialog from "./dialog.svelte";
|
|
11
11
|
|
package/dist/fab/fab.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { Button, type ButtonProps } from "../button/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import type { ElementRef } from "../utils.js";
|
|
4
4
|
import { twMerge } from "tailwind-merge";
|
|
5
5
|
|
|
6
6
|
export type FabProps = {} & ElementRef & ButtonProps;
|
package/dist/fab/fab.svelte.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ButtonProps } from "../button/index.js";
|
|
2
|
-
import {
|
|
2
|
+
import type { ElementRef } from "../utils.js";
|
|
3
3
|
export type FabProps = {} & ElementRef & ButtonProps;
|
|
4
4
|
declare const Fab: import("svelte").Component<FabProps, {}, "el">;
|
|
5
5
|
type Fab = ReturnType<typeof Fab>;
|
package/dist/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export * from "./portal/index.js";
|
|
|
33
33
|
export * from "./progress/index.js";
|
|
34
34
|
export * from "./shortcut/index.js";
|
|
35
35
|
export * from "./skeleton/index.js";
|
|
36
|
+
export * from "./slider/index.js";
|
|
36
37
|
export * from "./switch/index.js";
|
|
37
38
|
export * from "./textarea/index.js";
|
|
38
39
|
export * from "./toggle/index.js";
|
package/dist/index.js
CHANGED
|
@@ -33,6 +33,7 @@ export * from "./portal/index.js";
|
|
|
33
33
|
export * from "./progress/index.js";
|
|
34
34
|
export * from "./shortcut/index.js";
|
|
35
35
|
export * from "./skeleton/index.js";
|
|
36
|
+
export * from "./slider/index.js";
|
|
36
37
|
export * from "./switch/index.js";
|
|
37
38
|
export * from "./textarea/index.js";
|
|
38
39
|
export * from "./toggle/index.js";
|
package/dist/input/input.svelte
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
type SizeProp,
|
|
12
12
|
} from "../base.js";
|
|
13
13
|
import { noop, type ClassName, type ElementRef } from "../utils.js";
|
|
14
|
-
import {
|
|
14
|
+
import type { HTMLInputAttributes } from "svelte/elements";
|
|
15
15
|
import { twMerge } from "tailwind-merge";
|
|
16
16
|
|
|
17
17
|
export const INPUT_VARIANTS = ["outlined", "filled", "inherit"] as const;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Color, type ColorProp, type Radius, type RadiusProp, type Size, type SizeProp } from "../base.js";
|
|
2
2
|
import { type ClassName, type ElementRef } from "../utils.js";
|
|
3
|
-
import {
|
|
3
|
+
import type { HTMLInputAttributes } from "svelte/elements";
|
|
4
4
|
export declare const INPUT_VARIANTS: readonly ["outlined", "filled", "inherit"];
|
|
5
5
|
export type InputVariant = (typeof INPUT_VARIANTS)[number];
|
|
6
6
|
export type InputVariantProp = {
|
package/dist/link/link.svelte
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script module lang="ts">
|
|
2
2
|
import { baseClasses, type Variants } from "../base.js";
|
|
3
3
|
import { noop, type ClassName, type ElementRef } from "../utils.js";
|
|
4
|
-
import {
|
|
4
|
+
import type { Snippet } from "svelte";
|
|
5
5
|
import type {
|
|
6
6
|
HTMLAnchorAttributes,
|
|
7
7
|
HTMLButtonAttributes,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Variants } from "../base.js";
|
|
2
2
|
import { type ClassName, type ElementRef } from "../utils.js";
|
|
3
|
-
import {
|
|
3
|
+
import type { Snippet } from "svelte";
|
|
4
4
|
import type { HTMLAnchorAttributes, HTMLButtonAttributes } from "svelte/elements";
|
|
5
5
|
export type LinkProps = {
|
|
6
6
|
children: Snippet;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
3
|
+
import type { Tokens } from "marked";
|
|
4
|
+
import type { HTMLQuoteAttributes } from "svelte/elements";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
children,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
2
|
+
import type { Tokens } from "marked";
|
|
3
|
+
import type { HTMLQuoteAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.Blockquote> & HTMLQuoteAttributes;
|
|
5
5
|
declare const MarkdownBlockquote: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownBlockquote = ReturnType<typeof MarkdownBlockquote>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
3
|
+
import type { Tokens } from "marked";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
...restProps
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
2
|
+
import type { Tokens } from "marked";
|
|
3
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.Br> & HTMLAttributes<HTMLBRElement>;
|
|
5
5
|
declare const MarkdownBr: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownBr = ReturnType<typeof MarkdownBr>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
3
|
+
import type { Tokens } from "marked";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
token,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
2
|
+
import type { Tokens } from "marked";
|
|
3
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.Code> & HTMLAttributes<HTMLPreElement>;
|
|
5
5
|
declare const MarkdownCode: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownCode = ReturnType<typeof MarkdownCode>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
3
|
+
import type { Tokens } from "marked";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
token,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
2
|
+
import type { Tokens } from "marked";
|
|
3
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.Codespan> & HTMLAttributes<HTMLElement>;
|
|
5
5
|
declare const MarkdownCodespan: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownCodespan = ReturnType<typeof MarkdownCodespan>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
3
|
+
import type { Tokens } from "marked";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
children,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
2
|
+
import type { Tokens } from "marked";
|
|
3
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.Def> & HTMLAttributes<HTMLElement>;
|
|
5
5
|
declare const MarkdownDef: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownDef = ReturnType<typeof MarkdownDef>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
3
|
+
import type { Tokens } from "marked";
|
|
4
|
+
import type { HTMLDelAttributes } from "svelte/elements";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
children,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
2
|
+
import type { Tokens } from "marked";
|
|
3
|
+
import type { HTMLDelAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.Del> & HTMLDelAttributes;
|
|
5
5
|
declare const MarkdownDel: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownDel = ReturnType<typeof MarkdownDel>;
|