UNPKG

@vuecs/navigation

Version:

A package for multi level navigations.

99 lines 3.56 kB
import type { ExtractPublicPropTypes, PropType, SlotsType } from 'vue'; import type { ThemeClassesOverride, VariantValues } from '@vuecs/core'; import type { StepperThemeClasses } from './types'; export type StepperItemSlotProps = { state: 'active' | 'completed' | 'inactive'; }; declare const stepperItemProps: { /** 1-based step index. Required by Reka — used to determine completion / active state. */ step: { type: NumberConstructor; required: boolean; }; /** Block interaction with this step. */ disabled: { type: BooleanConstructor; default: boolean; }; /** Force completion state. Reka derives this automatically when `false`. */ completed: { type: BooleanConstructor; default: boolean; }; /** Theme-class overrides for this component instance. */ themeClass: { type: PropType<ThemeClassesOverride<StepperThemeClasses>>; default: any; }; /** Theme-variant values for this component instance. */ themeVariant: { type: PropType<VariantValues>; default: any; }; }; export type StepperItemProps = ExtractPublicPropTypes<typeof stepperItemProps>; declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ /** 1-based step index. Required by Reka — used to determine completion / active state. */ step: { type: NumberConstructor; required: boolean; }; /** Block interaction with this step. */ disabled: { type: BooleanConstructor; default: boolean; }; /** Force completion state. Reka derives this automatically when `false`. */ completed: { type: BooleanConstructor; default: boolean; }; /** Theme-class overrides for this component instance. */ themeClass: { type: PropType<ThemeClassesOverride<StepperThemeClasses>>; default: any; }; /** Theme-variant values for this component instance. */ themeVariant: { type: PropType<VariantValues>; default: any; }; }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** 1-based step index. Required by Reka — used to determine completion / active state. */ step: { type: NumberConstructor; required: boolean; }; /** Block interaction with this step. */ disabled: { type: BooleanConstructor; default: boolean; }; /** Force completion state. Reka derives this automatically when `false`. */ completed: { type: BooleanConstructor; default: boolean; }; /** Theme-class overrides for this component instance. */ themeClass: { type: PropType<ThemeClassesOverride<StepperThemeClasses>>; default: any; }; /** Theme-variant values for this component instance. */ themeVariant: { type: PropType<VariantValues>; default: any; }; }>> & Readonly<{}>, { themeClass: ThemeClassesOverride<StepperThemeClasses>; themeVariant: VariantValues; disabled: boolean; completed: boolean; }, SlotsType<{ default: StepperItemSlotProps; }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //# sourceMappingURL=StepperItem.vue.d.ts.map