Run "yarn build:docs"

This commit is contained in:
Eric Liu 2022-04-03 11:12:44 -07:00
commit 0d1a60d848
12 changed files with 108 additions and 85 deletions

View file

@ -31,7 +31,8 @@
export let menuOptionsClass = undefined;
/**
* Specify the icon to render
* Specify the icon to render.
* Defaults to `<OverflowMenuVertical />`
* @type {typeof import("svelte").SvelteComponent}
*/
export let icon = OverflowMenuVertical;

View file

@ -53,10 +53,11 @@
export let labelText = "";
/**
* Specify the icon to render
* Specify the icon to render.
* Defaults to `<Search />`
* @type {typeof import("svelte").SvelteComponent}
*/
export let icon = Search;
export let icon = IconSearch;
/** Set an id for the input element */
export let id = "ccs-" + Math.random().toString(36);
@ -66,7 +67,7 @@
import { createEventDispatcher } from "svelte";
import Close from "../icons/Close.svelte";
import Search from "../icons/Search.svelte";
import IconSearch from "../icons/IconSearch.svelte";
import SearchSkeleton from "./SearchSkeleton.svelte";
const dispatch = createEventDispatcher();

View file

@ -28,7 +28,7 @@
import { createEventDispatcher, tick } from "svelte";
import Close from "../icons/Close.svelte";
import Search from "../icons/Search.svelte";
import IconSearch from "../icons/IconSearch.svelte";
const dispatch = createEventDispatcher();
@ -72,7 +72,7 @@
active = true;
}}"
>
<Search size="{20}" title="Search" />
<IconSearch size="{20}" title="Search" />
</button>
<input
bind:this="{ref}"