vueless
Version:
Vue Styleless UI Component Library, powered by Tailwind CSS.
62 lines (61 loc) • 1.38 kB
text/typescript
export default /*tw*/ {
pagination: "flex",
paginationButton: {
base: "{UButton} font-normal",
variants: {
size: {
sm: "text-small",
md: "text-medium",
lg: "text-large",
},
},
defaults: {
size: "xs",
},
},
firstButton: "{>paginationButton}",
lastButton: "{>paginationButton}",
prevButton: "{>paginationButton}",
nextButton: "{>paginationButton}",
inactiveButton: "{>paginationButton}",
activeButton: "{>paginationButton}",
ellipsis: "{>paginationButton} {>inactiveButton}",
paginationIcon: {
base: "{UIcon}",
defaults: {
size: {
sm: "xs",
md: "sm",
lg: "md",
},
},
},
lastIcon: "{>paginationIcon}",
firstIcon: "{>paginationIcon}",
prevIcon: "{>paginationIcon}",
nextIcon: "{>paginationIcon}",
/* These are used for a11y. */
i18n: {
first: "Go to first page",
last: "Go to last page",
prev: "Go to previous page",
next: "Go to next page",
currentPage: "Current page, page",
goToPage: "Go to page",
},
defaults: {
variant: "solid",
size: "md",
limit: 5,
perPage: 20,
disabled: false,
ellipsis: true,
showFirst: true,
showLast: true,
/* icons */
firstIcon: "first_page",
lastIcon: "last_page",
nextIcon: "chevron_right",
prevIcon: "chevron_left",
},
};