UNPKG

@cfxjs/react-ui

Version:

Modern and minimalist React UI library.

53 lines (52 loc) 3.62 kB
export declare const tuple: <T extends string[]>(...args: T) => T; export declare const variantsTuple: <T extends ("solid" | "line" | "text")[]>(...args: T) => T; declare const buttonVariants: ["solid", "line", "text"]; declare const tabVariants: ["solid", "line"]; declare const inputVariants: ["solid", "line"]; declare const buttonColors: ["default", "primary", "secondary", "success", "warning", "error"]; declare const tagColors: ["default", "primary", "secondary", "success", "warning", "error"]; declare const messageColors: ["default", "primary", "success", "warning", "error"]; declare const notificationColors: ["default", "primary", "success", "warning", "error"]; declare const notificationPlacement: ["right-start", "left-start"]; declare const selectVariants: ["line", "text"]; declare const normalSizes: ["mini", "small", "medium", "large"]; declare const tagSizes: ["small", "medium", "large"]; declare const normalTypes: ["default", "primary", "secondary", "success", "warning", "error"]; declare const inputColors: ["default", "primary", "success", "warning", "error"]; declare const themeTypes: ["dark", "light"]; declare const snippetColors: ["default", "secondary", "success", "warning", "error", "dark", "lite"]; declare const cardVariants: ["solid", "line"]; declare const cardColors: ["default", "primary", "success", "warning", "error"]; declare const copyTypes: ["default", "slient", "prevent"]; declare const triggerTypes: ["hover", "click"]; declare const placement: ["auto", "auto-start", "auto-end", "top", "top-start", "top-end", "left", "left-start", "left-end", "bottom", "bottom-start", "bottom-end", "right", "right-start", "right-end"]; declare const dividerAlign: ["start", "center", "end", "left", "right"]; declare const paginationVariants: ["line", "solid"]; declare const skeletonVariants: ["text", "circle", "rect"]; declare const skeletonAnimations: ["pulse", "wave", "none"]; export declare type ButtonColors = typeof buttonColors[number]; export declare type TagColors = typeof tagColors[number]; export declare type ButtonVariants = typeof buttonVariants[number]; export declare type TabVariant = typeof tabVariants[number]; export declare type TagVariants = ButtonVariants; export declare type MessageColors = typeof messageColors[number]; export declare type NotificationColors = typeof notificationColors[number]; export declare type NotificationPlacement = typeof notificationPlacement[number]; export declare type NormalSizes = typeof normalSizes[number]; export declare type TagSizes = typeof tagSizes[number]; export declare type SelectVariants = typeof selectVariants[number]; export declare type NormalTypes = typeof normalTypes[number]; export declare type InputColors = typeof inputColors[number]; export declare type InputVariantTypes = typeof inputVariants[number]; export declare type ThemeTypes = typeof themeTypes[number]; export declare type SnippetColors = typeof snippetColors[number]; export declare type CardColors = typeof cardColors[number]; export declare type CardVariants = typeof cardVariants[number]; export declare type CopyTypes = typeof copyTypes[number]; export declare type TriggerTypes = typeof triggerTypes[number]; export declare type Placement = typeof placement[number]; export declare type DividerAlign = typeof dividerAlign[number]; export declare type PaginationVariants = typeof paginationVariants[number]; export declare type SkeletonVariants = typeof skeletonVariants[number]; export declare type SkeletonAnimations = typeof skeletonAnimations[number]; export { normalSizes, inputVariants, inputColors, normalTypes, themeTypes };