feat: make icon optional in WorkSideMenuGroup and WorkSideMenuItem#3595
Conversation
29096fe to
d0d5758
Compare
|
Here was my process:
|
d0d5758 to
e14d613
Compare
e14d613 to
329c9e5
Compare
|
I've rebased this commit against the latest |
fe8df92 to
8d091b5
Compare
8d091b5 to
584b5b6
Compare
|
I've resolved the latest merge conflicts. |
|
🎉 This PR is included in version 1.11.0-dev.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…sponsive grids Side menu: - Remove stale useGroupShadowDomFixes workaround (chevrons hidden after #3595) - Fix Foundations sub-menu navigation (missing onNavigate handler) Push drawer filters (Examples, Components, Tokens pages): - Replace overlay drawer with push drawer portaled outside content card - Responsive auto-fill grids that reflow when drawer opens - Filter button toggles drawer, modal fallback <1024px with z-index handling - Mobile header z-index drops when drawer open via :has([open]) - Layout padding and --card-padding-h variable for sticky toolbar sync Multi-sort tables: - Enable sort-mode="multi" and _multisort events on all tables - Add sort-order prop for visual 1/2 badges - Remove redundant sort chips, keep filter/search chips only Homepage and misc: - Service pattern links go to /examples/public-form and /examples/workspace - Responsive pattern card grid with auto-fit - Support page button compact, component card thumbnail margin fix - Sticky toolbar constrained to content card width - Mobile header: body-s typography, adjusted spacing and icon padding
…ort, responsive grids Side menu: - Remove stale useGroupShadowDomFixes workaround (chevrons hidden after #3595) - Fix Foundations sub-menu navigation (missing onNavigate handler) Push drawer filters (Examples, Components, Tokens pages): - Replace overlay drawer with push drawer portaled outside content card - Responsive auto-fill grids that reflow when drawer opens - Filter button toggles drawer, modal fallback <1024px with z-index handling - Mobile header z-index drops when drawer open via :has([open]) - Layout padding and --card-padding-h variable for sticky toolbar sync Multi-sort tables: - Enable sort-mode="multi" and _multisort events on all tables - Add sort-order prop for visual 1/2 badges - Remove redundant sort chips, keep filter/search chips only Homepage and misc: - Service pattern links go to /examples/public-form and /examples/workspace - Responsive pattern card grid with auto-fit - Support page button compact, component card thumbnail margin fix - Sticky toolbar constrained to content card width - Mobile header: body-s typography, adjusted spacing and icon padding
…ti-sort, responsive grids Side menu: - Remove stale useGroupShadowDomFixes workaround (chevrons hidden after #3595) - Fix Foundations sub-menu navigation (missing onNavigate handler) Push drawer filters (Examples, Components, Tokens pages): - Replace overlay drawer with push drawer portaled outside content card - Responsive auto-fill grids that reflow when drawer opens - Filter button toggles drawer, modal fallback <1024px with z-index handling - Mobile header z-index drops when drawer open via :has([open]) - Layout padding and --card-padding-h variable for sticky toolbar sync Multi-sort tables: - Enable sort-mode="multi" and _multisort events on all tables - Add sort-order prop for visual 1/2 badges - Remove redundant sort chips, keep filter/search chips only Homepage and misc: - Service pattern links go to /examples/public-form and /examples/workspace - Responsive pattern card grid with auto-fit - Support page button compact, component card thumbnail margin fix - Sticky toolbar constrained to content card width - Mobile header: body-s typography, adjusted spacing and icon padding
…ti-sort, responsive grids Side menu: - Remove stale useGroupShadowDomFixes workaround (chevrons hidden after #3595) - Fix Foundations sub-menu navigation (missing onNavigate handler) Push drawer filters (Examples, Components, Tokens pages): - Replace overlay drawer with push drawer portaled outside content card - Responsive auto-fill grids that reflow when drawer opens - Filter button toggles drawer, modal fallback <1024px with z-index handling - Mobile header z-index drops when drawer open via :has([open]) - Layout padding and --card-padding-h variable for sticky toolbar sync Multi-sort tables: - Enable sort-mode="multi" and _multisort events on all tables - Add sort-order prop for visual 1/2 badges - Remove redundant sort chips, keep filter/search chips only Responsive container-aware layout: - Container queries for toolbar stacking and view switching - useContainerNarrow hook (ResizeObserver) replaces viewport-based useMobile - Tables auto-switch to cards when container narrows, user can override - Horizontal scroll on tables with edge shadows and card-edge bleed - Mobile icon-only filter button with search + filter on one row - Table column width constraints (name, value) Homepage and misc: - Service pattern links go to /examples/public-form and /examples/workspace - Responsive pattern card grid with auto-fit - Support page button compact, component card thumbnail margin fix - Sticky toolbar constrained to content card width - Mobile header: body-s typography, adjusted spacing and icon padding - Fix description ellipsis truncation (was checking full body length) - Table 1px border overflow workaround (calc 100% - 2px)
…ti-sort, responsive grids Side menu: - Remove stale useGroupShadowDomFixes workaround (chevrons hidden after #3595) - Fix Foundations sub-menu navigation (missing onNavigate handler) Push drawer filters (Examples, Components, Tokens pages): - Replace overlay drawer with push drawer portaled outside content card - Responsive auto-fill grids that reflow when drawer opens - Filter button toggles drawer, modal fallback <1024px with z-index handling - Mobile header z-index drops when drawer open via :has([open]) - Layout padding and --card-padding-h variable for sticky toolbar sync Multi-sort tables: - Enable sort-mode="multi" and _multisort events on all tables - Add sort-order prop for visual 1/2 badges - Remove redundant sort chips, keep filter/search chips only Responsive container-aware layout: - Container queries for toolbar stacking and view switching - useContainerNarrow hook (ResizeObserver) replaces viewport-based useMobile - Tables auto-switch to cards when container narrows, user can override - Horizontal scroll on tables with edge shadows and card-edge bleed - Mobile icon-only filter button with search + filter on one row - Table column width constraints (name, value) Homepage and misc: - Service pattern links go to /examples/public-form and /examples/workspace - Responsive pattern card grid with auto-fit - Support page button compact, component card thumbnail margin fix - Sticky toolbar constrained to content card width - Mobile header: body-s typography, adjusted spacing and icon padding - Fix description ellipsis truncation (was checking full body length) - Table 1px border overflow workaround (calc 100% - 2px)
…ti-sort, responsive grids Side menu: - Remove stale useGroupShadowDomFixes workaround (chevrons hidden after #3595) - Fix Foundations sub-menu navigation (missing onNavigate handler) Push drawer filters (Examples, Components, Tokens pages): - Replace overlay drawer with push drawer portaled outside content card - Responsive auto-fill grids that reflow when drawer opens - Filter button toggles drawer, modal fallback <1024px with z-index handling - Mobile header z-index drops when drawer open via :has([open]) - Layout padding and --card-padding-h variable for sticky toolbar sync Multi-sort tables: - Enable sort-mode="multi" and _multisort events on all tables - Add sort-order prop for visual 1/2 badges - Remove redundant sort chips, keep filter/search chips only Responsive container-aware layout: - Container queries for toolbar stacking and view switching - useContainerNarrow hook (ResizeObserver) replaces viewport-based useMobile - Tables auto-switch to cards when container narrows, user can override - Horizontal scroll on tables with edge shadows and card-edge bleed - Mobile icon-only filter button with search + filter on one row - Table column width constraints (name, value) Homepage and misc: - Service pattern links go to /examples/public-form and /examples/workspace - Responsive pattern card grid with auto-fit - Support page button compact, component card thumbnail margin fix - Sticky toolbar constrained to content card width - Mobile header: body-s typography, adjusted spacing and icon padding - Fix description ellipsis truncation (was checking full body length) - Table 1px border overflow workaround (calc 100% - 2px)
…ti-sort, responsive grids Side menu: - Remove stale useGroupShadowDomFixes workaround (chevrons hidden after #3595) - Fix Foundations sub-menu navigation (missing onNavigate handler) Push drawer filters (Examples, Components, Tokens pages): - Replace overlay drawer with push drawer portaled outside content card - Responsive auto-fill grids that reflow when drawer opens - Filter button toggles drawer, modal fallback <1024px with z-index handling - Mobile header z-index drops when drawer open via :has([open]) - Layout padding and --card-padding-h variable for sticky toolbar sync Multi-sort tables: - Enable sort-mode="multi" and _multisort events on all tables - Add sort-order prop for visual 1/2 badges - Remove redundant sort chips, keep filter/search chips only Responsive container-aware layout: - Container queries for toolbar stacking and view switching - useContainerNarrow hook (ResizeObserver) replaces viewport-based useMobile - Tables auto-switch to cards when container narrows, user can override - Horizontal scroll on tables with edge shadows and card-edge bleed - Mobile icon-only filter button with search + filter on one row - Table column width constraints (name, value) Homepage and misc: - Service pattern links go to /examples/public-form and /examples/workspace - Responsive pattern card grid with auto-fit - Support page button compact, component card thumbnail margin fix - Sticky toolbar constrained to content card width - Mobile header: body-s typography, adjusted spacing and icon padding - Fix description ellipsis truncation (was checking full body length) - Table 1px border overflow workaround (calc 100% - 2px)
…ti-sort, responsive grids Side menu: - Remove stale useGroupShadowDomFixes workaround (chevrons hidden after #3595) - Fix Foundations sub-menu navigation (missing onNavigate handler) Push drawer filters (Examples, Components, Tokens pages): - Replace overlay drawer with push drawer portaled outside content card - Responsive auto-fill grids that reflow when drawer opens - Filter button toggles drawer, modal fallback <1024px with z-index handling - Mobile header z-index drops when drawer open via :has([open]) - Layout padding and --card-padding-h variable for sticky toolbar sync Multi-sort tables: - Enable sort-mode="multi" and _multisort events on all tables - Add sort-order prop for visual 1/2 badges - Remove redundant sort chips, keep filter/search chips only Responsive container-aware layout: - Container queries for toolbar stacking and view switching - useContainerNarrow hook (ResizeObserver) replaces viewport-based useMobile - Tables auto-switch to cards when container narrows, user can override - Horizontal scroll on tables with edge shadows and card-edge bleed - Mobile icon-only filter button with search + filter on one row - Table column width constraints (name, value) Homepage and misc: - Service pattern links go to /examples/public-form and /examples/workspace - Responsive pattern card grid with auto-fit - Support page button compact, component card thumbnail margin fix - Sticky toolbar constrained to content card width - Mobile header: body-s typography, adjusted spacing and icon padding - Fix description ellipsis truncation (was checking full body length) - Table 1px border overflow workaround (calc 100% - 2px)
Co-authored-by: bdfranck <1479091+bdfranck@users.noreply.github.com> Co-authored-by: Vanessa Tran <vanessa.m.tran@gov.ab.ca> Co-authored-by: GitHub Copilot <copilot@github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Benji Franck <benjamin.franck@gmail.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Thomas Jeffery <thomaswjeffery@gmail.com> Co-authored-by: Eric Hoff <eric@highfructose.ca> Co-authored-by: Dustin Nielsen <nielsen.dustin@gmail.com> Co-authored-by: Thomas Jeffery <82968683+twjeffery@users.noreply.github.com> Co-authored-by: mxsoco <miguel.soco@gov.ab.ca> fix(#3399): correct V2 checkbox spacing behavior fix(#3493): show tooltip on hover for Work Side Menu Group fix(#3455,#3450): Updated top and bottom positioning for Popover fix(#3273): keep Side Menu Group open Closes #2893 fix the PushDrawer open prop so the docs site works (#3542) fix: use Node 22 for Netlify deploys (#3543) fix(#3397): use existing design tokens in Astro docs (#3515) fix(#3581): use dynamic content collection for nav instead of hardcoded list Closes #3581 fix(#3498): modified padding and border on radio group. fix(#3497): fixed how the Angular Calendar and DatePicker components pass Dates to the Svelte Calendar component fix(#3497): remove build dependency on tests using library code fix(#3607): update the interaction area to just around the checkbox or radio input and label fix(#3505): Fix icon click and focus on Link fix(#3673): docs site bug sweep - push drawer filters, side menu, multi-sort, responsive grids Fixes workaround (chevrons hidden after #3595) fix(#3540): add manual positioning to Popover when the browser does not support CSS anchor positioning fix(#3614): add padding for all IconSizes fix(#3411): audit and improve all component configuration examples fix(#3685): adjust width of "reveal" slot for checkbox and radio buttons fix(#3685): remove width calculation from Radio Item
|
🎉 This PR is included in version 2.0.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 2.0.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 7.0.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 5.0.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 7.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 5.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
WorkSideMenuGroupalways rendered a leading icon, reserving space for it even when none was needed — requiring shadow DOM workarounds to hide it.WorkSideMenuItemhad the same issue: thegoa-iconelement was always mounted even with an emptyiconprop.Before (the change)
WorkSideMenuGroup.iconwas required; always rendered agoa-iconin the summary headerWorkSideMenuItemalways mounted agoa-iconelement even whenicon="", consuming layout spaceAfter (the change)
WorkSideMenuGroup—iconis now optional across all three frameworks. The leadinggoa-iconis only rendered wheniconis provided; no space is reserved when omitted.WorkSideMenuItem—goa-iconis conditionally rendered via{#if icon}, consistent with the existing optional prop contract.React / Angular:
iconprop changed from required to optional in both wrappers (GoabWorkSideMenuGroupProps,@Input() icon?: GoabIconType).Make sure that you've checked the boxes below before you submit the PR
Steps needed to test
WorkSideMenuGroupwithout theiconprop — confirm no icon element is mounted and heading text is flush left with no reserved icon gap.WorkSideMenuGroupwithicon="star"— confirm existing icon behavior is unchanged.WorkSideMenuItemwithouticon— confirm no icon element is mounted.WorkSideMenuItemwithicon="star"— confirm icon renders as before.Original prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.