mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
feat(types): regenerate types using sveld@0.10.2
This commit is contained in:
parent
5eb0ac9faf
commit
816f574412
173 changed files with 172 additions and 193 deletions
|
@ -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>;
|
||||||
}
|
}
|
|
@ -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;
|
||||||
}
|
}
|
|
@ -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;
|
||||||
}
|
}
|
|
@ -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;
|
||||||
}
|
}
|
|
@ -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" };
|
||||||
}
|
}
|
|
@ -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" };
|
||||||
}
|
}
|
|
@ -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" };
|
||||||
}
|
}
|
|
@ -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;
|
||||||
}
|
}
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue