import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import { ExtractPropTypes } from 'vue'; import { PropType } from 'vue'; import { PublicProps } from 'vue'; declare type __VLS_NonUndefinedable = T extends undefined ? never : T; declare type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; declare type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; declare type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; declare type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; export declare interface ChipProps { /** * The color for the chip that determines both the text and bg color. Needs to * be one of the brand colors in our design system (not a shade). */ colorScheme?: StashPrimaryColorGroup; /** * The shade of the provided color to use for the background color. This effects the inferred * text color unless a specific text color is provided. Currently only `light` and `main` * shades are supported. `dark` may be added in the future. */ shade?: 'light' | 'main'; /** * The size of the chip. */ size?: 'small' | 'medium'; /** * The type of border radius to use. */ radius?: 'none' | 'standard' | 'pill'; /** * The background color of the chip. Needs to be one of our design system colors. */ bgColor?: StashCommonColor; /** * The color of the chip text. Needs to be one of our design system colors. */ textColor?: StashCommonColor; /** * Determines if a close icon is surfaced. */ isRemovable?: boolean; /** * Determines if background and text color in Chip should be overidden. */ shouldOverrideColors?: boolean; /** * Determines if the chip is disabled. */ disabled?: boolean; } declare const _default: __VLS_WithTemplateSlots, { size: string; radius: string; colorScheme: string; shade: string; bgColor: undefined; textColor: undefined; isRemovable: boolean; shouldOverrideColors: boolean; disabled: boolean; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { click: () => void; remove: () => void; }, string, PublicProps, Readonly, { size: string; radius: string; colorScheme: string; shade: string; bgColor: undefined; textColor: undefined; isRemovable: boolean; shouldOverrideColors: boolean; disabled: boolean; }>>> & Readonly<{ onRemove?: (() => any) | undefined; onClick?: (() => any) | undefined; }>, { disabled: boolean; size: "small" | "medium"; shade: "main" | "light"; colorScheme: StashPrimaryColorGroup; radius: "standard" | "none" | "pill"; bgColor: "ice-700" | "purple-700" | "purple-500" | "purple-100" | "royal-700" | "royal-500" | "royal-100" | "blue-700" | "blue-500" | "blue-100" | "teal-700" | "teal-500" | "teal-100" | "green-700" | "green-500" | "green-100" | "seafoam-700" | "seafoam-500" | "seafoam-100" | "yellow-700" | "yellow-500" | "yellow-100" | "orange-700" | "orange-500" | "orange-100" | "red-700" | "red-500" | "red-100" | "ice-500" | "ice-200" | "ice-100" | "white" | "black"; textColor: "ice-700" | "purple-700" | "purple-500" | "purple-100" | "royal-700" | "royal-500" | "royal-100" | "blue-700" | "blue-500" | "blue-100" | "teal-700" | "teal-500" | "teal-100" | "green-700" | "green-500" | "green-100" | "seafoam-700" | "seafoam-500" | "seafoam-100" | "yellow-700" | "yellow-500" | "yellow-100" | "orange-700" | "orange-500" | "orange-100" | "red-700" | "red-500" | "red-100" | "ice-500" | "ice-200" | "ice-100" | "white" | "black"; isRemovable: boolean; shouldOverrideColors: boolean; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { default?(_: {}): any; }>; export default _default; declare type StashCommonColor = `${StashCommonColors}`; /** * A limited list of stash brand colors, only including their 100, 500, and 700 shades. */ declare enum StashCommonColors { Purple700 = "purple-700", Purple500 = "purple-500", Purple100 = "purple-100", Royal700 = "royal-700", Royal500 = "royal-500", Royal100 = "royal-100", Blue700 = "blue-700", Blue500 = "blue-500", Blue100 = "blue-100", Teal700 = "teal-700", Teal500 = "teal-500", Teal100 = "teal-100", Green700 = "green-700", Green500 = "green-500", Green100 = "green-100", Seafoam700 = "seafoam-700", Seafoam500 = "seafoam-500", Seafoam100 = "seafoam-100", Yellow700 = "yellow-700", Yellow500 = "yellow-500", Yellow100 = "yellow-100", Orange700 = "orange-700", Orange500 = "orange-500", Orange100 = "orange-100", Red700 = "red-700", Red500 = "red-500", Red100 = "red-100", Ice700 = "ice-700", Ice500 = "ice-500", Ice200 = "ice-200",// This is the one outlier, but it's used purposefully in a few places Ice100 = "ice-100", White = "white", Black = "black" } /** * The names of the color groups. */ declare type StashPrimaryColorGroup = 'blue' | 'green' | 'ice' | 'orange' | 'purple' | 'red' | 'royal' | 'seafoam' | 'teal' | 'yellow'; export { }