fix(pagination): DLT-2373 invalid prop combination on end buttons#684
fix(pagination): DLT-2373 invalid prop combination on end buttons#684Brad Paugh (braddialpad) merged 3 commits intostagingfrom
Conversation
| :disabled="isLastPage" | ||
| kind="muted" | ||
| :importance="isLastPage ? 'primary' : 'clear'" | ||
| :class="isLastPage ? 'd-fc-black-300 d-bgc-transparent' : 'd-fc-tertiary'" |
There was a problem hiding this comment.
You removed this classes that's why the Percy tests detected changes.
Those classes shouldn't be there anyways haven't we removed all utility classes from components?
Can you please update this?
There was a problem hiding this comment.
ah yeah, it's because the default disabled styling makes it "filled". Added the specific disabled styling to the less file, fixed.
| } | ||
|
|
||
| if (this.currentPage > end) { | ||
| console.log('END=', end); |
There was a problem hiding this comment.
Forgot to remove console log
There was a problem hiding this comment.
I did remove it that's why it's red 😄.
There was a problem hiding this comment.
🙃 my bad haha
|
✔️ Deploy previews ready! |
Julio Ortega (juliodialpad)
left a comment
There was a problem hiding this comment.
Perfect! that's way more clear, thanks.
## [8.50.4](dialtone-css/v8.50.3...dialtone-css/v8.50.4) (2025-03-31) ### Bug Fixes * **Pagination:** DLT-2373 invalid prop combination on end buttons ([#684](#684)) ([517debb](517debb))
# [2.180.0](dialtone-vue2/v2.179.1...dialtone-vue2/v2.180.0) (2025-03-31) ### Bug Fixes * **Pagination:** DLT-2373 invalid prop combination on end buttons ([#684](#684)) ([517debb](517debb)) ### Features * **Editor:** DP-131851 added editor support to encase text with div tags ([#685](#685)) ([d0429a3](d0429a3))
# [3.173.0](dialtone-vue3/v3.172.1...dialtone-vue3/v3.173.0) (2025-03-31) ### Bug Fixes * **Pagination:** DLT-2373 invalid prop combination on end buttons ([#684](#684)) ([517debb](517debb)) ### Features * **Editor:** DP-131851 added editor support to encase text with div tags ([#685](#685)) ([d0429a3](d0429a3))
# [9.107.0](dialtone/v9.106.1...dialtone/v9.107.0) (2025-03-31) ### Bug Fixes * **Pagination:** DLT-2373 invalid prop combination on end buttons ([#684](#684)) ([517debb](517debb)) ### Features * **Editor:** DP-131851 added editor support to encase text with div tags ([#685](#685)) ([d0429a3](d0429a3))
fix(pagination): DLT-2373 invalid prop combination on end buttons
Obligatory GIF (super important!)
🛠️ Type Of Change
These types will increment the version number on release:
📖 Jira Ticket
https://dialpad.atlassian.net/browse/DLT-2373
📖 Description
Removed unnecessary conditionals from kind and importance props on the end "arrow" buttons in the pagination component.
💡 Context
It was possible for the pagination component end buttons to display a "primary muted" button which is an invalid combination. Found that the kind and importance conditionals for the end buttons were not even needed anyways.
📝 Checklist
For all PRs: