Run "yarn build:docs"

This commit is contained in:
metonym 2023-07-19 08:21:36 -07:00
commit bd37bd0f17
188 changed files with 808 additions and 689 deletions

View file

@ -1,8 +1,9 @@
/// <reference types="svelte" />
import type { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
export interface InlineNotificationProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
type RestProps = SvelteHTMLElements["div"];
export interface InlineNotificationProps extends RestProps {
/**
* Specify the kind of notification
* @default "error"

View file

@ -1,4 +1,3 @@
/// <reference types="svelte" />
import type { SvelteComponentTyped } from "svelte";
import type { ButtonProps } from "../Button/Button.svelte";

View file

@ -1,8 +1,9 @@
/// <reference types="svelte" />
import type { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
export interface NotificationButtonProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["button"]> {
type RestProps = SvelteHTMLElements["button"];
export interface NotificationButtonProps extends RestProps {
/**
* Set the type of notification
* @default "toast"
@ -13,7 +14,7 @@ export interface NotificationButtonProps
* Specify the icon to render
* @default undefined
*/
icon?: typeof import("svelte").SvelteComponent;
icon?: typeof import("svelte").SvelteComponent<any>;
/**
* Specify the title of the icon

View file

@ -1,4 +1,3 @@
/// <reference types="svelte" />
import type { SvelteComponentTyped } from "svelte";
export interface NotificationIconProps {
@ -29,6 +28,6 @@ export interface NotificationIconProps {
export default class NotificationIcon extends SvelteComponentTyped<
NotificationIconProps,
{},
Record<string, any>,
{}
> {}

View file

@ -1,8 +1,9 @@
/// <reference types="svelte" />
import type { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
export interface ToastNotificationProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
type RestProps = SvelteHTMLElements["div"];
export interface ToastNotificationProps extends RestProps {
/**
* Specify the kind of notification
* @default "error"