fix(plain actions): update tokens to vertical-plain - #8495
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughUpdated spacing custom properties across 11 PatternFly components, replacing default or generic spacer tokens with plain control and action spacing tokens for padding, margins, insets, and offsets. ChangesPlain control spacing
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/patternfly/components/Table/table.scss`:
- Around line 120-121: Update the table button padding variables near the action
padding definitions so --#{$table}__button--PaddingBlockStart and
--#{$table}__button--PaddingBlockEnd use
--pf-t--global--spacer--control--vertical--plain instead of
--pf-t--global--spacer--sm. Leave the existing action padding variables
unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: ab957bc4-b530-4c0e-af7b-6b4a5d13d8d2
📒 Files selected for processing (12)
src/patternfly/components/Accordion/accordion.scsssrc/patternfly/components/Alert/alert.scsssrc/patternfly/components/Breadcrumb/breadcrumb.scsssrc/patternfly/components/Button/button.scsssrc/patternfly/components/Card/card.scsssrc/patternfly/components/DataList/data-list.scsssrc/patternfly/components/Hint/hint.scsssrc/patternfly/components/ModalBox/modal-box.scsssrc/patternfly/components/Nav/nav.scsssrc/patternfly/components/Popover/popover.scsssrc/patternfly/components/Table/table.scsssrc/patternfly/components/TreeView/tree-view.scss
|
Preview: https://pf-pr-8495.surge.sh A11y report: https://pf-pr-8495-a11y.surge.sh |
mcoker
left a comment
There was a problem hiding this comment.
Some others I found that we should update or ask design about
- Accordion toggle - inline padding still uses
spacer--md- If we're updating accordion and nav, should other things like them be updated?
- Menu items
- Dual list selector items
- Tree view items/nodes
- Wizard nav/step links
- If we're updating accordion and nav, should other things like them be updated?
- Toggle group buttons need semantic spacers (regular and compact)
- Random but I think this could use the text-to-element token
|
🎉 This PR is included in version 6.6.0-prerelease.22 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* fix: address word-break/overflow-wrap bug (#8487) * chore(input group): add radius modifier (#8483) * fix(table): nested table sorting (#8491) * fix(tree-view): revert caret rotations (#8490) * fix(a11y): ignore target-size rule for WCAG 2.2 bump (#8493) * fix(tree): update tree table and DLS tree toggle icon direction (#8502) * fix: update disabled description to use text color token (#8497) * fix(plain actions): update tokens to vertical-plain (#8495) * fix: address bottom pagination bugs (#8498) * fix: address bottom pagination bugs * fix: round border-radius on default bottom in glass * chore(primary details): fix drawer and toolbar (#8509) * fix(modal): footer action spacing (#8526) --------- Co-authored-by: Michael Coker <35148959+mcoker@users.noreply.github.com> Co-authored-by: Andrew Ronaldson <aronalds@redhat.com> Co-authored-by: Jake Miller <jake83miller@gmail.com> Co-authored-by: Eric Olkowski <70952936+thatblindgeye@users.noreply.github.com> Co-authored-by: Jake Miller <jakmille@redhat.com>
Closes #8251
Update 12 components to use
--pf-t--global--spacer--control--vertical--plainfor plain-styled actions. Updates were applied to specific--pf-t--global--spacer--control--vertical--defaultor the raw--pf-t--global--spacer--smtokens in block paddings and margin offsets.Summary by CodeRabbit