Upgrade gitlab-ui and migrate gl-pagination
What does this MR do?
gitlab-ui v4.0.0
was released recently and contains some breaking changes in the GlPagination
component.
This MR updates the pagination_links
component, that uses GlPagination
under the hood, to reflect those breaking changes.
Specifically:
-
firstText
andlastText
props have been removed since these pagination items now show the page number instead of text - Added internationalized props
labelFirstPage
,labelPrevPage
,labelNextPage
andlabelLastPage
that are used for accessibility - The
change
prop has been replaced by aninput
event listener - The
page
prop has been renamed tovalue
- Tests have been updated accordingly
Does this MR meet the acceptance criteria?
Conformity
Performance and testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process.
Closes #62097 (closed)
Edited by Paul Gascou-Vaillancourt