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
|
@@ -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.Em> & HTMLAttributes<HTMLElement>;
|
|
5
5
|
declare const MarkdownEm: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownEm = ReturnType<typeof MarkdownEm>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
3
|
+
import type { Tokens } from "marked";
|
|
4
4
|
|
|
5
5
|
let { token }: MarkdownComponentProps<Tokens.Escape> = $props();
|
|
6
6
|
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
2
|
+
import type { Tokens } from "marked";
|
|
3
3
|
declare const MarkdownEscape: import("svelte").Component<MarkdownComponentProps<Tokens.Escape>, {}, "">;
|
|
4
4
|
type MarkdownEscape = ReturnType<typeof MarkdownEscape>;
|
|
5
5
|
export default MarkdownEscape;
|
|
@@ -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.Heading> & HTMLAttributes<HTMLHeadingElement>;
|
|
5
5
|
declare const MarkdownHeading: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownHeading = ReturnType<typeof MarkdownHeading>;
|
|
@@ -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.Hr> & HTMLAttributes<HTMLHRElement>;
|
|
5
5
|
declare const MarkdownHr: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownHr = ReturnType<typeof MarkdownHr>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
3
|
+
import type { Tokens } from "marked";
|
|
4
4
|
|
|
5
5
|
let { token }: MarkdownComponentProps<Tokens.HTML | Tokens.Tag> = $props();
|
|
6
6
|
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
2
|
+
import type { Tokens } from "marked";
|
|
3
3
|
declare const MarkdownHtml: import("svelte").Component<MarkdownComponentProps<Tokens.HTML | Tokens.Tag>, {}, "">;
|
|
4
4
|
type MarkdownHtml = ReturnType<typeof MarkdownHtml>;
|
|
5
5
|
export default MarkdownHtml;
|
|
@@ -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 { HTMLImgAttributes } 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 { HTMLImgAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.Image> & HTMLImgAttributes;
|
|
5
5
|
declare const MarkdownImage: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownImage = ReturnType<typeof MarkdownImage>;
|
|
@@ -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 { HTMLAnchorAttributes } 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 { HTMLAnchorAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.Link> & HTMLAnchorAttributes;
|
|
5
5
|
declare const MarkdownLink: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownLink = ReturnType<typeof MarkdownLink>;
|
|
@@ -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 { HTMLLiAttributes } 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 { HTMLLiAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.ListItem> & HTMLLiAttributes;
|
|
5
5
|
declare const MarkdownListItem: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownListItem = ReturnType<typeof MarkdownListItem>;
|
|
@@ -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 { HTMLOlAttributes } from "svelte/elements";
|
|
5
5
|
import MarkdownTokens from "./markdown-tokens.svelte";
|
|
6
6
|
|
|
7
7
|
let {
|
|
@@ -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 { HTMLOlAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.List> & HTMLOlAttributes;
|
|
5
5
|
declare const MarkdownList: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownList = ReturnType<typeof MarkdownList>;
|
|
@@ -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.Paragraph> & HTMLAttributes<HTMLParagraphElement>;
|
|
5
5
|
declare const MarkdownParagraph: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownParagraph = ReturnType<typeof MarkdownParagraph>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
3
|
+
import type { Tokens } from "marked";
|
|
4
4
|
|
|
5
5
|
let { children }: MarkdownComponentProps<Tokens.Space> = $props();
|
|
6
6
|
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
2
|
+
import type { Tokens } from "marked";
|
|
3
3
|
declare const MarkdownSpace: import("svelte").Component<MarkdownComponentProps<Tokens.Space>, {}, "">;
|
|
4
4
|
type MarkdownSpace = ReturnType<typeof MarkdownSpace>;
|
|
5
5
|
export default MarkdownSpace;
|
|
@@ -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.Strong> & HTMLAttributes<HTMLElement>;
|
|
5
5
|
declare const MarkdownStrong: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownStrong = ReturnType<typeof MarkdownStrong>;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
type HTMLTdAttributes,
|
|
6
|
-
type HTMLThAttributes,
|
|
7
|
-
} from "svelte/elements";
|
|
2
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
3
|
+
import type { MarkedToken, Tokens } from "marked";
|
|
4
|
+
import type { HTMLTdAttributes, HTMLThAttributes } from "svelte/elements";
|
|
8
5
|
import MarkdownTokens from "./markdown-tokens.svelte";
|
|
9
6
|
|
|
10
7
|
let {
|
|
@@ -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 { HTMLTdAttributes, HTMLThAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.TableCell> & (HTMLThAttributes | HTMLTdAttributes);
|
|
5
5
|
declare const MarkdownTableCell: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownTableCell = ReturnType<typeof MarkdownTableCell>;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
getMarkdownContext,
|
|
4
4
|
type MarkdownComponentProps,
|
|
5
5
|
} from "./index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import type { Tokens } from "marked";
|
|
7
|
+
import type { HTMLTableAttributes } from "svelte/elements";
|
|
8
8
|
|
|
9
9
|
let {
|
|
10
10
|
token,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MarkdownComponentProps } from "./index.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { Tokens } from "marked";
|
|
3
|
+
import type { HTMLTableAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = MarkdownComponentProps<Tokens.Table> & HTMLTableAttributes;
|
|
5
5
|
declare const MarkdownTable: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
6
|
type MarkdownTable = ReturnType<typeof MarkdownTable>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
3
|
+
import type { Tokens } from "marked";
|
|
4
4
|
|
|
5
5
|
let { children }: MarkdownComponentProps<Tokens.Text> = $props();
|
|
6
6
|
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { MarkdownComponentProps } from "./index.js";
|
|
2
|
+
import type { Tokens } from "marked";
|
|
3
3
|
declare const MarkdownText: import("svelte").Component<MarkdownComponentProps<Tokens.Text>, {}, "">;
|
|
4
4
|
type MarkdownText = ReturnType<typeof MarkdownText>;
|
|
5
5
|
export default MarkdownText;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MarkdownComponentProps } from "./index.js";
|
|
2
2
|
import { type MarkedOptions, type Tokens } from "marked";
|
|
3
|
-
import {
|
|
3
|
+
import type { Snippet } from "svelte";
|
|
4
4
|
export type MarkdownProps = {
|
|
5
5
|
value: string;
|
|
6
6
|
options?: MarkedOptions;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { getMenuContext } from "./index.js";
|
|
4
4
|
import { mergeComponentProps } from "../merge-props.js";
|
|
5
5
|
import { Popover, type PopoverProps } from "../popover/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import type { ClassName } from "../utils.js";
|
|
7
|
+
import type { Snippet } from "svelte";
|
|
8
8
|
import { twMerge } from "tailwind-merge";
|
|
9
9
|
|
|
10
10
|
export type MenuContentProps = {
|
|
@@ -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 MenuContentProps = {
|
|
6
6
|
children: Snippet;
|
|
7
7
|
} & ClassName & Variants & Omit<PopoverProps, "children" | "open">;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { getMenuContext } from "./index.js";
|
|
4
4
|
import { mergeProps } from "../merge-props.js";
|
|
5
5
|
import { Shortcut } from "../shortcut/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import type { ClassName, ElementRef } from "../utils.js";
|
|
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 MenuItemProps = {
|
|
@@ -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 { HTMLButtonAttributes } from "svelte/elements";
|
|
5
5
|
export type MenuItemProps = {
|
|
6
6
|
onSelect?: (el: HTMLElement) => void;
|
|
7
7
|
children: Snippet<[]>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
|
-
import {
|
|
2
|
+
import type { Variants } from "../base.js";
|
|
3
3
|
import { getMenuContext } from "./index.js";
|
|
4
4
|
import { mergeProps } from "../merge-props.js";
|
|
5
5
|
import { Shortcut } from "../shortcut/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import type { ClassName } from "../utils.js";
|
|
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 MenuTriggerProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { Variants } from "../base.js";
|
|
2
|
+
import type { ClassName } from "../utils.js";
|
|
3
|
+
import type { Snippet } from "svelte";
|
|
4
|
+
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
5
5
|
export type MenuTriggerProps = {
|
|
6
6
|
children?: Snippet;
|
|
7
7
|
} & ClassName & Variants & HTMLButtonAttributes;
|
package/dist/menu/menu.svelte
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script module lang="ts">
|
|
2
2
|
import { MenuContext, setMenuContext } from "./index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { ElementRef } from "../utils.js";
|
|
4
|
+
import type { Snippet } from "svelte";
|
|
5
5
|
|
|
6
6
|
export type MenuProps = {
|
|
7
7
|
open?: boolean;
|
package/dist/modal/modal.svelte
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { events } from "../index.js";
|
|
3
3
|
import { mergeProps } from "../merge-props.js";
|
|
4
4
|
import { Shortcut } from "../shortcut/index.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import type { ClassName } from "../utils.js";
|
|
6
|
+
import type { Snippet } from "svelte";
|
|
7
|
+
import type { HTMLDialogAttributes } from "svelte/elements";
|
|
8
8
|
import { scale } from "svelte/transition";
|
|
9
9
|
import { twMerge } from "tailwind-merge";
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { ClassName } from "../utils.js";
|
|
2
|
+
import type { Snippet } from "svelte";
|
|
3
|
+
import type { HTMLDialogAttributes } from "svelte/elements";
|
|
4
4
|
export type ModalProps = {
|
|
5
5
|
ref?: HTMLDialogElement;
|
|
6
6
|
onCancel?: () => void;
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
type ToggleEventWithTarget,
|
|
10
10
|
} from "../utils.js";
|
|
11
11
|
import * as floatingUi from "@floating-ui/dom";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import type { Snippet } from "svelte";
|
|
13
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
14
14
|
import { scale } from "svelte/transition";
|
|
15
15
|
import { twMerge, type ClassNameValue } from "tailwind-merge";
|
|
16
16
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ClassName, type ElementRef } from "../utils.js";
|
|
2
2
|
import * as floatingUi from "@floating-ui/dom";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { Snippet } from "svelte";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
import { type ClassNameValue } from "tailwind-merge";
|
|
6
6
|
export type PopoverProps = {
|
|
7
7
|
arrow?: boolean;
|
package/dist/portal/proxy.svelte
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script module lang="ts">
|
|
2
2
|
import { Box } from "../box/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import type { Shortcut } from "./index.js";
|
|
4
4
|
import { noop, type ClassName, type ElementRef } from "../utils.js";
|
|
5
|
-
import {
|
|
5
|
+
import type { HTMLInputAttributes } from "svelte/elements";
|
|
6
6
|
import { twMerge, type ClassNameValue } from "tailwind-merge";
|
|
7
7
|
|
|
8
8
|
export type ShortcutBadgeProps = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Shortcut } from "./index.js";
|
|
2
2
|
import { type ClassName, type ElementRef } from "../utils.js";
|
|
3
|
-
import {
|
|
3
|
+
import type { HTMLInputAttributes } from "svelte/elements";
|
|
4
4
|
import { type ClassNameValue } from "tailwind-merge";
|
|
5
5
|
export type ShortcutBadgeProps = {
|
|
6
6
|
shortcut: Shortcut;
|