adverich-kun-ui
Version:
Una librería de componentes Vue.js con Tailwind CSS
55 lines (54 loc) • 1.91 kB
JavaScript
const e = {
title: { type: String, default: null },
titleSize: {},
subtitle: { type: String, default: null },
subTitleSize: {},
text: { type: String, default: null },
textColor: { type: String, default: "text-black dark:text-white" },
bgColor: { type: String, default: "bg-transparent" },
flat: { type: Boolean, default: !1 },
rounded: {
type: [Boolean, String],
default: !0,
validator: (t) => typeof t == "boolean" || ["sm", "md", "lg", "xl"].includes(t)
},
outlined: { type: Boolean, default: !1 },
outlineColor: { type: String, default: "border-gray-300 dark:border-gray-600" },
elevation: {
type: [String, Number],
default: 1,
validator: (t) => ["0", "1", "2", "3", "4", "5", "", 0, 1, 2, 3, 4, 5].includes(t)
},
to: [String, Object],
href: String,
replace: Boolean,
// Nuevos props
tag: { type: String, default: "div" },
disabled: { type: Boolean, default: !1 },
ripple: { type: Boolean, default: !0 },
variant: { type: String, default: "elevated" },
height: { type: String, default: null },
width: { type: String, default: null },
maxHeight: { type: String, default: null },
maxWidth: { type: String, default: null },
minHeight: { type: String, default: null },
minWidth: { type: String, default: null },
position: { type: String, default: null },
prependIcon: { type: String, default: null },
appendIcon: { type: String, default: null },
prependAvatar: { type: String, default: null },
appendAvatar: { type: String, default: null },
image: { type: String, default: null },
loading: { type: Boolean, default: !1 },
density: {
type: String,
default: "default",
validator: (t) => ["default", "comfortable", "compact"].includes(t)
},
tile: { type: Boolean, default: !1 },
exact: { type: Boolean, default: !1 },
scrollable: { type: Boolean, default: !1 }
};
export {
e as kunCardProps
};