kosui 0.0.31 → 0.0.32
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.
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
}: MarkdownComponentProps<Tokens.Link> & HTMLAnchorAttributes = $props();
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
|
+
<!-- Maybe there's a better way to handle this. See https://github.com/sveltejs/eslint-plugin-svelte/issues/1314-->
|
|
14
|
+
<!-- eslint-disable-next-line svelte/no-navigation-without-resolve -->
|
|
13
15
|
<a href={token.href} title={token.title} {...restProps}>
|
|
14
16
|
{@render children()}
|
|
15
17
|
</a>
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
type SizeProp,
|
|
12
12
|
} from "../base.js";
|
|
13
13
|
import { mergeProps } from "../merge-props.js";
|
|
14
|
-
import { SwitchThumb, type SwitchThumbProps } from "./index.js";
|
|
15
14
|
import type { ClassName } from "../utils.js";
|
|
16
15
|
import type { Snippet } from "svelte";
|
|
17
16
|
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
18
17
|
import { twMerge } from "tailwind-merge";
|
|
18
|
+
import SwitchThumb, { type SwitchThumbProps } from "./switch-thumb.svelte";
|
|
19
19
|
|
|
20
20
|
export const SWITCH_COLORS = COLORS;
|
|
21
21
|
export type SwitchColor = Color;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type Color, type ColorProp, type Radius, type RadiusProp, type Size, type SizeProp } from "../base.js";
|
|
2
|
-
import { type SwitchThumbProps } from "./index.js";
|
|
3
2
|
import type { ClassName } from "../utils.js";
|
|
4
3
|
import type { Snippet } from "svelte";
|
|
5
4
|
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
5
|
+
import { type SwitchThumbProps } from "./switch-thumb.svelte";
|
|
6
6
|
export declare const SWITCH_COLORS: readonly ["primary", "secondary", "tertiary", "error", "plain", "inherit"];
|
|
7
7
|
export type SwitchColor = Color;
|
|
8
8
|
export type SwitchColorProp = ColorProp;
|