@pzerelles/headlessui-svelte 2.1.2-next.49 → 2.1.2-next.50
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.
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
2
|
import { Label } from "../index.js"
|
|
3
3
|
import type { Props } from "../utils/types.js"
|
|
4
|
+
import type { ClassValue } from "svelte/elements"
|
|
4
5
|
|
|
5
6
|
const DEFAULT_LEGEND_TAG = "div" as const
|
|
6
7
|
|
|
7
8
|
export type LegendOwnProps = {
|
|
8
9
|
element?: HTMLElement
|
|
9
|
-
class?:
|
|
10
|
+
class?: ClassValue
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
export type LegendProps = Props<typeof DEFAULT_LEGEND_TAG, {}, LegendOwnProps>
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { Props } from "../utils/types.js";
|
|
2
|
+
import type { ClassValue } from "svelte/elements";
|
|
2
3
|
declare const DEFAULT_LEGEND_TAG: "div";
|
|
3
4
|
export type LegendOwnProps = {
|
|
4
5
|
element?: HTMLElement;
|
|
5
|
-
class?:
|
|
6
|
+
class?: ClassValue;
|
|
6
7
|
};
|
|
7
8
|
export type LegendProps = Props<typeof DEFAULT_LEGEND_TAG, {}, LegendOwnProps>;
|
|
8
9
|
declare const Legend: import("svelte").Component<LegendProps, {}, "">;
|