build: add script to generate component index

- move typedefs for correct type parsing
This commit is contained in:
Eric Liu 2020-08-13 17:24:00 -07:00
commit 5968e22bd9
14 changed files with 5518 additions and 207 deletions

View file

@ -1,8 +1,4 @@
<script>
/**
* @typedef {{ id: string; text: string; }} ComboBoxItem
*/
/**
* Set the combobox items
* @type {ComboBoxItem[]} [items=[]]
@ -111,6 +107,10 @@
*/
export let ref = null;
/**
* @typedef {{ id: string; text: string; }} ComboBoxItem
*/
import { createEventDispatcher, afterUpdate } from "svelte";
import WarningFilled16 from "carbon-icons-svelte/lib/WarningFilled16";
import {