/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { IconLibraryMutator, IconLibraryResolver } from "./components/icon-library/icon-library-registry"; export namespace Components { interface SlAlert { /** * Set to true to make the alert closable. */ "closable": boolean; /** * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the alert before it closes (e.g. moves the mouse over it), the timer will restart. */ "duration": number; /** * Hides the alert */ "hide": () => Promise; /** * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods. */ "open": boolean; /** * Shows the alert. */ "show": () => Promise; /** * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by calling this method again. The returned promise will resolve after the alert is hidden. */ "toast": () => Promise; /** * The type of alert. */ "type": 'primary' | 'success' | 'info' | 'warning' | 'danger'; } interface SlAnimation { /** * Clears all KeyframeEffects caused by this animation and aborts its playback. */ "cancel": () => Promise; /** * The number of milliseconds to delay the start of the animation. */ "delay": number; /** * Determines the direction of playback as well as the behavior when reaching the end of an iteration. */ "direction": PlaybackDirection; /** * The number of milliseconds each iteration of the animation takes to complete. */ "duration": number; /** * The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function such as `cubic-bezier(0, 1, .76, 1.14)`. */ "easing": string; /** * The number of milliseconds to delay after the active period of an animation sequence. */ "endDelay": number; /** * Sets how the animation applies styles to its target before and after its execution. */ "fill": FillMode; /** * Sets the playback time to the end of the animation corresponding to the current playback direction. */ "finish": () => Promise; /** * Gets a list of all supported animation names. */ "getAnimationNames": () => Promise; /** * Gets the current time of the animation in milliseconds. */ "getCurrentTime": () => Promise; /** * Gets a list of all supported easing function names. */ "getEasingNames": () => Promise; /** * The offset at which to start the animation, usually between 0 (start) and 1 (end). */ "iterationStart": number; /** * The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops. */ "iterations": number; /** * The keyframes to use for the animation. If this is set, `name` will be ignored. */ "keyframes": Keyframe[]; /** * The name of the built-in animation to use. For custom animations, use the `keyframes` prop. */ "name": string; /** * Pauses the animation. The animation will resume when this prop is removed. */ "pause": boolean; /** * Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this to `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This value can be changed without causing the animation to restart. */ "playbackRate": number; /** * Sets the current time of the animation in milliseconds. */ "setCurrentTime": (time: number) => Promise; } interface SlAvatar { /** * Alternative text for the image. */ "alt": string; /** * The image source to use for the avatar. */ "image": string; /** * Initials to use as a fallback when no image is available (1-2 characters max recommended). */ "initials": string; /** * The shape of the avatar. */ "shape": 'circle' | 'square' | 'rounded'; } interface SlBadge { /** * Set to true to draw a pill-style badge with rounded edges. */ "pill": boolean; /** * Set to true to make the badge pulsate to draw attention. */ "pulse": boolean; /** * The badge's type. */ "type": 'primary' | 'success' | 'info' | 'warning' | 'danger'; } interface SlButton { /** * Set to true to draw the button with a caret for use with dropdowns, popovers, etc. */ "caret": boolean; /** * Set to true to draw a circle button. */ "circle": boolean; /** * Set to true to disable the button. */ "disabled": boolean; /** * Tells the browser to download the linked file as this filename. Only used when `href` is set. */ "download": string; /** * When set, the underlying button will be rendered as an `` with this `href` instead of a `