feat(webkit): [ENG-47357] add footer composition component - #877
Draft
isaque-bock-azion wants to merge 9 commits into
Draft
feat(webkit): [ENG-47357] add footer composition component#877isaque-bock-azion wants to merge 9 commits into
isaque-bock-azion wants to merge 9 commits into
Conversation
- token the social-bar border-top width (--border-width-default) instead of the implicit 1px - add active and visited states to Footer.Link per the Design task's state scope - add a size-limit budget for footer-root - cover both single-slot branches of the social bar's conditional render
- add the column divider borders and fix the social-bar border token (--border-default, not --border-muted), per node 5467:1642 - remove the outer columns padding/gap in favor of per-column padding, matching Figma's flex-1 + 0 column-gap layout - fix the social-bar right-cluster gap (status <-> language) to --spacing-lg, and lock the bar to h-14 at md+ - enrich the story: all 7 social icons, the language Select (with an explicit aria-label so the combobox has an accessible name distinct from its displayed value), matching the frame's anatomy
border-(length:--border-width-default) sets width on ALL FOUR sides, not just the paired border-r/border-t. Combined with border-r/border-t, every column and the social bar picked up unwanted left/top/bottom borders too — visible as a doubled line at each column seam and an inconsistent right edge. Switched to the per-side border-r-(length:...) / border-t-(length:...) form already used in panel-header.vue / table-row.vue, with border-0 to zero every side first.
isaque-bock-azion
marked this pull request as draft
August 12, 2026 18:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
layout/footercomposition component (Footer+Footer.Column+Footer.Link) — the page-footer counterpart toGlobalHeader, ported from the site's footer and rewritten on semantic tokens (--bg-canvas,--border-muted,--text-muted/--text-default,--spacing-*,.text-label-sm), per epic ENG-47354.mdbreakpoint: 4-column grid folds to the 2×2 mobile grid, and the social bar stacks with the status/language cluster above the brand/social cluster (FigmaType=Default/Type=Mobile)..specs/footer.md), flat exports (./footer,./footer-root,./footer-column,./footer-link), theComponents/Layout/Footerstory, and a co-located browser-mode test suite (20 tests incl. axe).How to test
pnpm storybook:dev→ openComponents/Layout/Footer→ Default: four link columns over the social bar; resize below 768px and confirm the 2×2 grid and the stacked bar (status above brand).pnpm --filter webkit exec vitest run src/components/layout/footer/footer.test.ts→ 20 tests pass (compound API, provide/inject testids, conditional social bar, nav landmarks, attr fallthrough, axe).pnpm webkit:lint && pnpm webkit:type-check && pnpm webkit:type-coverage && pnpm storybook:build→ all green.Notes
Brand,IconButton,StatusIndicator,Select) and renders only when a social slot is provided.max-w-(--container-5xl)(1192px) until tokenized.Storybook Regenerate Baselineworkflow run on this branch (macOS renders don't match the linux snapshots).