flowbite-svelte 0.22.11 → 0.22.14
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/CHANGELOG.md +30 -0
- package/badges/Badge.svelte +1 -1
- package/badges/Badge.svelte.d.ts +1 -1
- package/forms/Input.svelte +8 -1
- package/forms/Toggle.svelte +2 -10
- package/index.d.ts +1 -0
- package/index.js +2 -0
- package/list-group/List.svelte +1 -1
- package/list-group/ListItem.svelte +1 -1
- package/megamenu/MegaMenu.svelte +30 -0
- package/megamenu/MegaMenu.svelte.d.ts +24 -0
- package/navbar/NavDropdown.svelte +18 -14
- package/navbar/NavDropdown.svelte.d.ts +8 -6
- package/package.json +3 -1
- package/utils/CloseButton.svelte +3 -3
- package/utils/OptsButton.svelte +18 -0
- package/utils/OptsButton.svelte.d.ts +27 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.22.14](https://github.com/themesberg/flowbite-svelte/compare/v0.22.13...v0.22.14) (2022-07-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* $$restProps before $$props.class ([9378cf5](https://github.com/themesberg/flowbite-svelte/commit/9378cf5349446ec8355317e98e462e379350a697))
|
|
11
|
+
* add padding to w-full ([e1008c9](https://github.com/themesberg/flowbite-svelte/commit/e1008c9620f18b42664059595ae3fe1e421e097b))
|
|
12
|
+
* layout and Toc padding ([6a67345](https://github.com/themesberg/flowbite-svelte/commit/6a6734545429c7228a1bf3cbc58f7e4739dbfe65))
|
|
13
|
+
* various minor fixes ([9ac3296](https://github.com/themesberg/flowbite-svelte/commit/9ac3296635db9e7af2a45cc928477ac15e831dc4))
|
|
14
|
+
|
|
15
|
+
### [0.22.13](https://github.com/themesberg/flowbite-svelte/compare/v0.22.12...v0.22.13) (2022-07-24)
|
|
16
|
+
|
|
17
|
+
### [0.22.12](https://github.com/themesberg/flowbite-svelte/compare/v0.22.11...v0.22.12) (2022-07-24)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* megamenu - code skel ([d02c5c7](https://github.com/themesberg/flowbite-svelte/commit/d02c5c78a5360f623ffe3fb3659265d679e43426))
|
|
23
|
+
* megamenu - wip ([02bbabc](https://github.com/themesberg/flowbite-svelte/commit/02bbabcdda0f924aefa2829a94e3b822bdb0bbf6))
|
|
24
|
+
* megamenu + examples ([2f24a26](https://github.com/themesberg/flowbite-svelte/commit/2f24a268dfe474da45a654d6a4bd128f4175ae44))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* layout and index page ([7db0e00](https://github.com/themesberg/flowbite-svelte/commit/7db0e00d1094d4d03a7386fd96c13c5b2ee09f6f))
|
|
30
|
+
* layout logo ([1a78683](https://github.com/themesberg/flowbite-svelte/commit/1a78683e734bf0dae58fe704bd652fcef196dae9))
|
|
31
|
+
* layout width ([e17969e](https://github.com/themesberg/flowbite-svelte/commit/e17969ec2c6f2938ed1a7c7b8f083bd3da6801e8))
|
|
32
|
+
* position and classes ([caa1f13](https://github.com/themesberg/flowbite-svelte/commit/caa1f136e964503ff1976c7de7c006615038489b))
|
|
33
|
+
* removed console.log ([f0f7ee9](https://github.com/themesberg/flowbite-svelte/commit/f0f7ee96bc48310ed245c00678960ac9d2eaa05b))
|
|
34
|
+
|
|
5
35
|
### [0.22.11](https://github.com/themesberg/flowbite-svelte/compare/v0.22.10...v0.22.11) (2022-07-23)
|
|
6
36
|
|
|
7
37
|
|
package/badges/Badge.svelte
CHANGED
package/badges/Badge.svelte.d.ts
CHANGED
package/forms/Input.svelte
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
<script>import classNames from 'classnames';
|
|
2
|
+
import { getContext } from 'svelte';
|
|
2
3
|
export let type = 'text';
|
|
3
4
|
export let value = '';
|
|
4
5
|
export let size = 'md';
|
|
5
6
|
export let inputClass = 'block w-full border disabled:cursor-not-allowed disabled:opacity-50 rounded-lg';
|
|
6
7
|
export let color = 'base';
|
|
7
8
|
const colorClasses = {
|
|
8
|
-
base: 'bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:
|
|
9
|
+
base: 'bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500',
|
|
9
10
|
green: 'border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500',
|
|
10
11
|
red: 'border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500'
|
|
11
12
|
};
|
|
12
13
|
export let ref = null;
|
|
14
|
+
// tinted if put in component having its own background
|
|
15
|
+
let background = getContext('background');
|
|
13
16
|
// you need to this to avoid 2-way binding
|
|
14
17
|
function setType(node) {
|
|
15
18
|
node.type = type;
|
|
@@ -25,6 +28,10 @@ function setType(node) {
|
|
|
25
28
|
class={classNames(
|
|
26
29
|
inputClass,
|
|
27
30
|
colorClasses[color],
|
|
31
|
+
color === 'base' &&
|
|
32
|
+
(background
|
|
33
|
+
? 'dark:bg-gray-600 dark:border-gray-500'
|
|
34
|
+
: 'dark:bg-gray-700 dark:border-gray-600'),
|
|
28
35
|
{
|
|
29
36
|
'p-2 sm:text-xs': size === 'sm',
|
|
30
37
|
'p-2.5 text-sm': size === 'md',
|
package/forms/Toggle.svelte
CHANGED
|
@@ -23,18 +23,10 @@ const sizes = {
|
|
|
23
23
|
large: 'w-14 h-7 after:top-0.5 after:left-[4px] after:h-6 after:w-6'
|
|
24
24
|
};
|
|
25
25
|
let divClass;
|
|
26
|
-
$: divClass = classNames(common, background ? 'dark:bg-gray-600 dark:border-gray-500' : 'dark:bg-gray-700 dark:border-gray-600', colors[$$restProps.color ?? 'blue'], sizes[size]);
|
|
26
|
+
$: divClass = classNames(common, background ? 'dark:bg-gray-600 dark:border-gray-500' : 'dark:bg-gray-700 dark:border-gray-600', colors[$$restProps.color ?? 'blue'], sizes[size], 'relative');
|
|
27
27
|
</script>
|
|
28
28
|
|
|
29
|
-
<Checkbox
|
|
30
|
-
custom
|
|
31
|
-
class="relative {$$props.class}"
|
|
32
|
-
{value}
|
|
33
|
-
bind:checked
|
|
34
|
-
bind:group
|
|
35
|
-
{...$$restProps}
|
|
36
|
-
on:click
|
|
37
|
-
>
|
|
29
|
+
<Checkbox custom {...$$restProps} class={$$props.class} {value} bind:checked bind:group on:click>
|
|
38
30
|
<div class={divClass} />
|
|
39
31
|
<slot />
|
|
40
32
|
</Checkbox>
|
package/index.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export { default as MediumModal } from './modals/MediumModal.svelte';
|
|
|
59
59
|
export { default as ModalButton } from './modals/ModalButton.svelte';
|
|
60
60
|
export { default as SignInModal } from './modals/SignInModal.svelte';
|
|
61
61
|
export { default as SmallModal } from './modals/SmallModal.svelte';
|
|
62
|
+
export { default as MegaMenu } from './megamenu/MegaMenu.svelte';
|
|
62
63
|
export { default as Navbar } from './navbar/Navbar.svelte';
|
|
63
64
|
export { default as NavBrand } from './navbar/NavBrand.svelte';
|
|
64
65
|
export { default as NavHamburger } from './navbar/NavHamburger.svelte';
|
package/index.js
CHANGED
|
@@ -75,6 +75,8 @@ export { default as MediumModal } from './modals/MediumModal.svelte';
|
|
|
75
75
|
export { default as ModalButton } from './modals/ModalButton.svelte';
|
|
76
76
|
export { default as SignInModal } from './modals/SignInModal.svelte';
|
|
77
77
|
export { default as SmallModal } from './modals/SmallModal.svelte';
|
|
78
|
+
// MegaMenu
|
|
79
|
+
export { default as MegaMenu } from './megamenu/MegaMenu.svelte';
|
|
78
80
|
// Navbar
|
|
79
81
|
export { default as Navbar } from './navbar/Navbar.svelte';
|
|
80
82
|
export { default as NavBrand } from './navbar/NavBrand.svelte';
|
package/list-group/List.svelte
CHANGED
|
@@ -6,7 +6,7 @@ export let active = false;
|
|
|
6
6
|
setContext('background', true);
|
|
7
7
|
$: setContext('active', active);
|
|
8
8
|
let groupClass;
|
|
9
|
-
$: groupClass = classNames('rounded-lg border border-gray-200 dark:border-gray-600', 'divide-y divide-gray-200 dark:divide-gray-600', $$props.class);
|
|
9
|
+
$: groupClass = classNames('text-gray-900 bg-white dark:text-gray-200 dark:bg-gray-700', 'rounded-lg border border-gray-200 dark:border-gray-600', 'divide-y divide-gray-200 dark:divide-gray-600', $$props.class);
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<svelte:element this={active ? 'div' : 'ul'} class={groupClass}>
|
|
@@ -8,7 +8,7 @@ export let href = '';
|
|
|
8
8
|
let dispatch = createEventDispatcher();
|
|
9
9
|
const states = {
|
|
10
10
|
current: 'text-white bg-blue-700 dark:text-white dark:bg-gray-800',
|
|
11
|
-
normal: '
|
|
11
|
+
normal: '',
|
|
12
12
|
disabled: 'text-gray-900 bg-gray-100 dark:bg-gray-600 dark:text-gray-400'
|
|
13
13
|
};
|
|
14
14
|
let focusClass = 'focus:z-40 focus:outline-none focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:focus:ring-gray-500 dark:focus:text-white';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script>import { setContext, afterUpdate } from 'svelte';
|
|
2
|
+
import classNames from 'classnames';
|
|
3
|
+
export let items = [];
|
|
4
|
+
export let full = false;
|
|
5
|
+
setContext('background', true);
|
|
6
|
+
let wrapperClass;
|
|
7
|
+
$: wrapperClass = classNames('border-gray-100 shadow-md dark:border-gray-700', full ? 'border-y' : 'rounded-lg border', full ? 'bg-white dark:bg-gray-800' : 'bg-white dark:bg-gray-700', $$props.class);
|
|
8
|
+
let ulClass;
|
|
9
|
+
$: ulClass = classNames('grid grid-flow-row gap-y-4 md:gap-x-0 auto-col-max auto-row-max', full && $$slots.extra ? 'sm:grid-cols-2' : 'sm:grid-cols-2 md:grid-cols-3', 'text-sm font-medium', 'text-gray-500 dark:text-gray-400', full && $$slots.extra && 'md:w-2/3');
|
|
10
|
+
function init(node) {
|
|
11
|
+
if (full) {
|
|
12
|
+
node.parentElement.classList.add('inset-x-0');
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<div class={wrapperClass} use:init>
|
|
18
|
+
<div class="flex flex-col md:flex-row p-4 max-w-screen-xl justify-center mx-auto">
|
|
19
|
+
<ul class={ulClass}>
|
|
20
|
+
{#each items as item, index}
|
|
21
|
+
<li>
|
|
22
|
+
<slot {item} {index} />
|
|
23
|
+
</li>
|
|
24
|
+
{:else}
|
|
25
|
+
<slot />
|
|
26
|
+
{/each}
|
|
27
|
+
</ul>
|
|
28
|
+
{#if full && $$slots.extra}<div class="md:w-1/3 mt-4 md:mt-0"><slot name="extra" /></div>{/if}
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { LinkType } from '../types';
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
items?: (LinkType & {
|
|
7
|
+
[propName: string]: any;
|
|
8
|
+
})[];
|
|
9
|
+
full?: boolean;
|
|
10
|
+
};
|
|
11
|
+
events: {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
};
|
|
14
|
+
slots: {
|
|
15
|
+
default: {};
|
|
16
|
+
extra: {};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare type MegaMenuProps = typeof __propDef.props;
|
|
20
|
+
export declare type MegaMenuEvents = typeof __propDef.events;
|
|
21
|
+
export declare type MegaMenuSlots = typeof __propDef.slots;
|
|
22
|
+
export default class MegaMenu extends SvelteComponentTyped<MegaMenuProps, MegaMenuEvents, MegaMenuSlots> {
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
<script>
|
|
1
|
+
<script>import { clickOutside } from '../utils/clickOutside';
|
|
2
|
+
export let liButtonClass = 'flex items-center';
|
|
2
3
|
export let name;
|
|
4
|
+
export let child = [];
|
|
3
5
|
let hidden = true;
|
|
4
6
|
let block = false;
|
|
5
|
-
export let child;
|
|
6
7
|
const handleDropdown = () => {
|
|
7
8
|
hidden = !hidden;
|
|
8
9
|
block = !block;
|
|
9
10
|
};
|
|
10
|
-
export let dropdownDiv;
|
|
11
|
-
export let dropdownLinkClassWithChild;
|
|
12
|
-
export let rel;
|
|
11
|
+
export let dropdownDiv = '';
|
|
12
|
+
export let dropdownLinkClassWithChild = undefined;
|
|
13
|
+
export let rel = undefined;
|
|
14
|
+
let liClass = 'flex justify-center py-2 pr-4 pl-3 text-gray-700 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700';
|
|
13
15
|
</script>
|
|
14
16
|
|
|
15
|
-
<li>
|
|
17
|
+
<li use:clickOutside={() => !hidden && handleDropdown()} class={liClass}>
|
|
16
18
|
<button on:click={() => handleDropdown()} class={liButtonClass}
|
|
17
19
|
>{name}
|
|
18
20
|
<svg
|
|
@@ -29,13 +31,15 @@ export let rel;
|
|
|
29
31
|
>
|
|
30
32
|
|
|
31
33
|
<!-- Dropdown menu -->
|
|
32
|
-
<div class:hidden class
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
<div class:hidden class="absolute {dropdownDiv} mt-8 z-10">
|
|
35
|
+
<slot>
|
|
36
|
+
<ul class="py-1" aria-labelledby="dropdownLargeButton">
|
|
37
|
+
{#each child as item}
|
|
38
|
+
<li>
|
|
39
|
+
<a href={item.href} {rel} class={dropdownLinkClassWithChild}>{item.name}</a>
|
|
40
|
+
</li>
|
|
41
|
+
{/each}
|
|
42
|
+
</ul>
|
|
43
|
+
</slot>
|
|
40
44
|
</div>
|
|
41
45
|
</li>
|
|
@@ -2,17 +2,19 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { NavbarType } from '../types';
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
|
-
liButtonClass
|
|
5
|
+
liButtonClass?: string;
|
|
6
6
|
name: string;
|
|
7
|
-
child
|
|
8
|
-
dropdownDiv
|
|
9
|
-
dropdownLinkClassWithChild
|
|
10
|
-
rel
|
|
7
|
+
child?: NavbarType[];
|
|
8
|
+
dropdownDiv?: string;
|
|
9
|
+
dropdownLinkClassWithChild?: string;
|
|
10
|
+
rel?: string;
|
|
11
11
|
};
|
|
12
12
|
events: {
|
|
13
13
|
[evt: string]: CustomEvent<any>;
|
|
14
14
|
};
|
|
15
|
-
slots: {
|
|
15
|
+
slots: {
|
|
16
|
+
default: {};
|
|
17
|
+
};
|
|
16
18
|
};
|
|
17
19
|
export declare type NavDropdownProps = typeof __propDef.props;
|
|
18
20
|
export declare type NavDropdownEvents = typeof __propDef.events;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flowbite-svelte",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.14",
|
|
4
4
|
"description": "Flowbite components for Svelte",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": {
|
|
@@ -163,6 +163,7 @@
|
|
|
163
163
|
"./kbd/Kbd.svelte": "./kbd/Kbd.svelte",
|
|
164
164
|
"./list-group/List.svelte": "./list-group/List.svelte",
|
|
165
165
|
"./list-group/ListItem.svelte": "./list-group/ListItem.svelte",
|
|
166
|
+
"./megamenu/MegaMenu.svelte": "./megamenu/MegaMenu.svelte",
|
|
166
167
|
"./modals/ExtraLargeModal.svelte": "./modals/ExtraLargeModal.svelte",
|
|
167
168
|
"./modals/LargeModal.svelte": "./modals/LargeModal.svelte",
|
|
168
169
|
"./modals/MediumModal.svelte": "./modals/MediumModal.svelte",
|
|
@@ -232,6 +233,7 @@
|
|
|
232
233
|
"./tooltips/Tooltip.svelte": "./tooltips/Tooltip.svelte",
|
|
233
234
|
"./types": "./types.js",
|
|
234
235
|
"./utils/CloseButton.svelte": "./utils/CloseButton.svelte",
|
|
236
|
+
"./utils/OptsButton.svelte": "./utils/OptsButton.svelte",
|
|
235
237
|
"./utils/clickOutside": "./utils/clickOutside.js",
|
|
236
238
|
"./utils/generateId": "./utils/generateId.js"
|
|
237
239
|
},
|
package/utils/CloseButton.svelte
CHANGED
|
@@ -12,14 +12,14 @@ const colors = {
|
|
|
12
12
|
default: 'focus:ring-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700'
|
|
13
13
|
};
|
|
14
14
|
let buttonClass = '';
|
|
15
|
-
$: buttonClass = classNames('ml-auto -mx-1 -my-1.5 rounded-lg focus:ring-2 p-1.5
|
|
15
|
+
$: buttonClass = classNames('ml-auto -mx-1 -my-1.5 rounded-lg focus:ring-2 p-1.5 focus:outline-none', colors[color], $$props.class);
|
|
16
16
|
</script>
|
|
17
17
|
|
|
18
18
|
<button on:click type="button" class={buttonClass} aria-label="Close">
|
|
19
19
|
<slot>
|
|
20
20
|
<span class="sr-only">Close</span>
|
|
21
|
-
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"
|
|
22
|
-
|
|
21
|
+
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
22
|
+
<path
|
|
23
23
|
fill-rule="evenodd"
|
|
24
24
|
d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
|
|
25
25
|
clip-rule="evenodd"
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import CloseButton from './CloseButton.svelte';
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<CloseButton on:click {...$$props}>
|
|
6
|
+
<span class="sr-only">Open options</span>
|
|
7
|
+
<svg
|
|
8
|
+
class="w-6 h-6"
|
|
9
|
+
aria-hidden="true"
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
viewBox="0 0 20 20"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
d="M6 10a2 2 0 11-4 0 2 2 0 014 0zM12 10a2 2 0 11-4 0 2 2 0 014 0zM16 12a2 2 0 100-4 2 2 0 000 4z"
|
|
16
|
+
/>
|
|
17
|
+
</svg>
|
|
18
|
+
</CloseButton>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} OptsButtonProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} OptsButtonEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} OptsButtonSlots */
|
|
4
|
+
export default class OptsButton extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
}, {
|
|
7
|
+
click: MouseEvent;
|
|
8
|
+
} & {
|
|
9
|
+
[evt: string]: CustomEvent<any>;
|
|
10
|
+
}, {}> {
|
|
11
|
+
}
|
|
12
|
+
export type OptsButtonProps = typeof __propDef.props;
|
|
13
|
+
export type OptsButtonEvents = typeof __propDef.events;
|
|
14
|
+
export type OptsButtonSlots = typeof __propDef.slots;
|
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
|
16
|
+
declare const __propDef: {
|
|
17
|
+
props: {
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
};
|
|
20
|
+
events: {
|
|
21
|
+
click: MouseEvent;
|
|
22
|
+
} & {
|
|
23
|
+
[evt: string]: CustomEvent<any>;
|
|
24
|
+
};
|
|
25
|
+
slots: {};
|
|
26
|
+
};
|
|
27
|
+
export {};
|