diff --git a/helper/classes.json b/helper/classes.json index aad6bc0..20d4b39 100644 --- a/helper/classes.json +++ b/helper/classes.json @@ -133,5 +133,6 @@ }, "VUpload": { "is-fullwidth": ["expanded"] - } + }, + "VPagination": {} } diff --git a/helper/mappings.json b/helper/mappings.json index 4f97d6d..809832c 100644 --- a/helper/mappings.json +++ b/helper/mappings.json @@ -768,7 +768,6 @@ "VUpload": { "always": [ "file", - "is-fullwidth", "file-label", "file-input", "file-cta", @@ -783,5 +782,21 @@ ], "unstable": ["has-name"] + }, + "VPagination": { + "always": [ + "pagination", + "pagination-previous", + "pagination-next", + "pagination-list", + "pagination-ellipsis", + "pagination-link", + "is-current" + ], + "optional": [ + "is-simple", + "is-rounded" + ], + "unstable": ["has-name"] } } \ No newline at end of file diff --git a/src/components/compounds/Pagination/Pagination.vue b/src/components/compounds/Pagination/Pagination.vue new file mode 100644 index 0000000..14c3b8d --- /dev/null +++ b/src/components/compounds/Pagination/Pagination.vue @@ -0,0 +1,234 @@ + + + diff --git a/src/components/compounds/Pagination/PaginationItem.vue b/src/components/compounds/Pagination/PaginationItem.vue new file mode 100644 index 0000000..6230067 --- /dev/null +++ b/src/components/compounds/Pagination/PaginationItem.vue @@ -0,0 +1,51 @@ + + + + + \ No newline at end of file diff --git a/src/components/index.js b/src/components/index.js index a598ca5..ec860dd 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -96,4 +96,8 @@ export { default as VTable } from './compounds/Table/Table.vue' export { default as DataGrid } from './compounds/Table/DataGrid.ts' +export { default as VPagination } from './compounds/Pagination/Pagination.vue' + +export { default as VPaginationItem } from './compounds/Pagination/PaginationItem.vue' + export * from './global-settings'