UNPKG

@wikimedia/codex

Version:

Codex Design System for Wikimedia

53 lines (52 loc) 1.69 kB
/** * A linear indicator of progress. * * Currently only supports indeterminate type (i.e. the bar will scroll across the width of the * display and then reappear at the start, rather than reflecting a specific amount of progress * having been made). * * A smaller, inline version is available for use within other components, e.g. a menu or dialog. */ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ /** * Whether this is the smaller, inline variant. */ inline: { type: BooleanConstructor; default: boolean; }; /** * Whether the progress bar is disabled. */ disabled: { type: BooleanConstructor; default: boolean; }; }>, { rootClasses: import("vue").ComputedRef<{ 'cdx-progress-bar--block': boolean; 'cdx-progress-bar--inline': boolean; 'cdx-progress-bar--enabled': boolean; 'cdx-progress-bar--disabled': boolean; }>; computedAriaHidden: import("vue").ComputedRef<"true" | undefined>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** * Whether this is the smaller, inline variant. */ inline: { type: BooleanConstructor; default: boolean; }; /** * Whether the progress bar is disabled. */ disabled: { type: BooleanConstructor; default: boolean; }; }>> & Readonly<{}>, { disabled: boolean; inline: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;