diff --git a/src/theme/pagination.ts b/src/theme/pagination.ts index 28082b03..27f20cdd 100644 --- a/src/theme/pagination.ts +++ b/src/theme/pagination.ts @@ -3,6 +3,6 @@ export default { root: '', list: 'flex items-center gap-1', ellipsis: 'pointer-events-none', - label: 'min-w-5' + label: 'min-w-5 text-center' } } diff --git a/test/components/__snapshots__/Pagination.spec.ts.snap b/test/components/__snapshots__/Pagination.spec.ts.snap index 1a2f7b84..93e2f842 100644 --- a/test/components/__snapshots__/Pagination.spec.ts.snap +++ b/test/components/__snapshots__/Pagination.spec.ts.snap @@ -9,19 +9,19 @@ exports[`Pagination > renders with active color black correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -42,19 +42,19 @@ exports[`Pagination > renders with active color gray correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -75,19 +75,19 @@ exports[`Pagination > renders with active color green correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -108,19 +108,19 @@ exports[`Pagination > renders with active color primary correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -141,19 +141,19 @@ exports[`Pagination > renders with active color red correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -174,19 +174,19 @@ exports[`Pagination > renders with active color white correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -207,19 +207,19 @@ exports[`Pagination > renders with active variant ghost correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -240,19 +240,19 @@ exports[`Pagination > renders with active variant link correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -273,19 +273,19 @@ exports[`Pagination > renders with active variant outline correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -306,19 +306,19 @@ exports[`Pagination > renders with active variant soft correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -339,19 +339,19 @@ exports[`Pagination > renders with active variant solid correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -372,19 +372,19 @@ exports[`Pagination > renders with active variant subtle correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -405,19 +405,19 @@ exports[`Pagination > renders with as correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -438,19 +438,19 @@ exports[`Pagination > renders with class correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -471,19 +471,19 @@ exports[`Pagination > renders with color black correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -504,19 +504,19 @@ exports[`Pagination > renders with color gray correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -537,19 +537,19 @@ exports[`Pagination > renders with color green correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -570,19 +570,19 @@ exports[`Pagination > renders with color primary correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -603,19 +603,19 @@ exports[`Pagination > renders with color red correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -636,19 +636,19 @@ exports[`Pagination > renders with color white correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -669,19 +669,19 @@ exports[`Pagination > renders with defaultPage correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -702,19 +702,19 @@ exports[`Pagination > renders with disabled correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -735,19 +735,19 @@ exports[`Pagination > renders with ellipsis slot correctly 1`] = ` - 1 + 1 Ellipsis slot - 4 + 4 - 5 + 5 - 6 + 6 Ellipsis slot - 10 + 10 @@ -768,25 +768,25 @@ exports[`Pagination > renders with ellipsisIcon correctly 1`] = ` - 1 + 1 - 4 + 4 - 5 + 5 - 6 + 6 - 10 + 10 @@ -804,19 +804,19 @@ exports[`Pagination > renders with first slot correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -837,19 +837,19 @@ exports[`Pagination > renders with firstIcon correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -888,19 +888,19 @@ exports[`Pagination > renders with itemsPerPage correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -921,19 +921,19 @@ exports[`Pagination > renders with last slot correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -951,19 +951,19 @@ exports[`Pagination > renders with lastIcon correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -984,19 +984,19 @@ exports[`Pagination > renders with next slot correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 Next slot @@ -1014,19 +1014,19 @@ exports[`Pagination > renders with nextIcon correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1047,19 +1047,19 @@ exports[`Pagination > renders with page correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1077,19 +1077,19 @@ exports[`Pagination > renders with prev slot correctly 1`] = ` Prev slot - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1110,19 +1110,19 @@ exports[`Pagination > renders with prevIcon correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1143,31 +1143,31 @@ exports[`Pagination > renders with showEdges correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 - 6 + 6 - 7 + 7 - 10 + 10 @@ -1188,25 +1188,25 @@ exports[`Pagination > renders with siblingCount correctly 1`] = ` - 1 + 1 - 4 + 4 - 5 + 5 - 6 + 6 - 10 + 10 @@ -1227,19 +1227,19 @@ exports[`Pagination > renders with size lg correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1260,19 +1260,19 @@ exports[`Pagination > renders with size md correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1293,19 +1293,19 @@ exports[`Pagination > renders with size sm correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1326,19 +1326,19 @@ exports[`Pagination > renders with size xl correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1359,19 +1359,19 @@ exports[`Pagination > renders with size xs correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1392,19 +1392,19 @@ exports[`Pagination > renders with total correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1425,19 +1425,19 @@ exports[`Pagination > renders with ui correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1458,19 +1458,19 @@ exports[`Pagination > renders with variant ghost correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1491,19 +1491,19 @@ exports[`Pagination > renders with variant link correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1524,19 +1524,19 @@ exports[`Pagination > renders with variant outline correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1557,19 +1557,19 @@ exports[`Pagination > renders with variant soft correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1590,19 +1590,19 @@ exports[`Pagination > renders with variant solid correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1623,19 +1623,19 @@ exports[`Pagination > renders with variant subtle correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5 @@ -1652,19 +1652,19 @@ exports[`Pagination > renders without showControls correctly 1`] = ` - 1 + 1 - 2 + 2 - 3 + 3 - 4 + 4 - 5 + 5