feat(types): regenerate types using sveld@0.10.2

This commit is contained in:
metonym 2021-10-15 17:11:59 -07:00
commit 816f574412
173 changed files with 172 additions and 193 deletions

View file

@ -30,8 +30,6 @@ export default class Breakpoint extends SvelteComponentTyped<
> { > {
/** /**
* Reference the Carbon grid breakpoints * Reference the Carbon grid breakpoints
* @constant
* @default { sm: 320, md: 672, lg: 1056, xlg: 1312, max: 1584, }
*/ */
breakpoints: Record<BreakpointSize, BreakpointValue>; breakpoints: Record<BreakpointSize, BreakpointValue>;
} }

View file

@ -157,7 +157,6 @@ export default class ComboBox extends SvelteComponentTyped<
> { > {
/** /**
* Clear the combo box programmatically * Clear the combo box programmatically
* @default () => { selectedIndex = -1; highlightedIndex = -1; open = false; inputValue = ""; ref?.focus(); }
*/ */
clear: () => void; clear: () => void;
} }

View file

@ -80,8 +80,6 @@ export default class FileUploader extends SvelteComponentTyped<
> { > {
/** /**
* Override the default behavior of clearing the array of uploaded files * Override the default behavior of clearing the array of uploaded files
* @constant
* @default () => { files = []; }
*/ */
clearFiles: () => void; clearFiles: () => void;
} }

View file

@ -53,8 +53,6 @@ export default class ImageLoader extends SvelteComponentTyped<
> { > {
/** /**
* Method invoked to load the image provided a `src` value * Method invoked to load the image provided a `src` value
* @constant
* @default (url) => { if (image != null) image = null; loaded = false; error = false; image = new Image(); image.src = url || src; image.onload = () => (loaded = true); image.onerror = () => (error = true); }
*/ */
loadImage: (url?: string) => void; loadImage: (url?: string) => void;
} }

View file

@ -57,8 +57,6 @@ export default class ListBoxField extends SvelteComponentTyped<
> { > {
/** /**
* Default translation ids * Default translation ids
* @constant
* @default { close: "close", open: "open" }
*/ */
translationIds: { close: "close"; open: "open" }; translationIds: { close: "close"; open: "open" };
} }

View file

@ -25,8 +25,6 @@ export default class ListBoxMenuIcon extends SvelteComponentTyped<
> { > {
/** /**
* Default translation ids * Default translation ids
* @constant
* @default { close: "close", open: "open" }
*/ */
translationIds: { close: "close"; open: "open" }; translationIds: { close: "close"; open: "open" };
} }

View file

@ -36,8 +36,6 @@ export default class ListBoxSelection extends SvelteComponentTyped<
> { > {
/** /**
* Default translation ids * Default translation ids
* @constant
* @default { clearAll: "clearAll", clearSelection: "clearSelection", }
*/ */
translationIds: { clearAll: "clearAll"; clearSelection: "clearSelection" }; translationIds: { clearAll: "clearAll"; clearSelection: "clearSelection" };
} }

View file

@ -25,13 +25,11 @@ export default class LocalStorage extends SvelteComponentTyped<
> { > {
/** /**
* Remove the persisted key value from the browser's local storage * Remove the persisted key value from the browser's local storage
* @default () => { localStorage.removeItem(key); }
*/ */
clearItem: () => void; clearItem: () => void;
/** /**
* Clear all key values from the browser's local storage * Clear all key values from the browser's local storage
* @default () => { localStorage.clear(); }
*/ */
clearAll: () => void; clearAll: () => void;
} }

View file

@ -154,8 +154,6 @@ export default class NumberInput extends SvelteComponentTyped<
> { > {
/** /**
* Default translation ids * Default translation ids
* @constant
* @default { increment: "increment", decrement: "decrement", }
*/ */
translationIds: { increment: "increment"; decrement: "decrement" }; translationIds: { increment: "increment"; decrement: "decrement" };
} }

Some files were not shown because too many files have changed in this diff Show more