@moderneinc/design-system-components 7.7.0-alpha.6001df → 7.7.0-alpha.9ece73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -701,14 +701,17 @@ const ModBanner = ({
701
701
  };
702
702
  ModBanner.displayName = "ModBanner";
703
703
 
704
+ const ITEM = `.${breadcrumbsClasses.li}`;
705
+ const EXPANDED_TRAIL = `.${breadcrumbsClasses.ol}:not(:has(> li > .${buttonBaseClasses.root})):has(> ${ITEM} ~ ${ITEM} ~ ${ITEM})`;
704
706
  const StyledBreadcrumbs = styled(Breadcrumbs)(({ theme }) => ({
705
707
  [`& .${breadcrumbsClasses.separator}`]: {
706
708
  margin: 0,
707
709
  color: semanticColors.color.icon.utility
708
710
  },
709
711
  [`& .${breadcrumbsClasses.ol}`]: {
710
- gap: spacing.spacing_1,
711
- // An expanded trail that wraps keeps its lines' hit areas apart.
712
+ gap: spacing.spacing_1
713
+ },
714
+ [`& ${EXPANDED_TRAIL}`]: {
712
715
  [theme.breakpoints.down("md")]: { rowGap: spacing.spacing_4 }
713
716
  },
714
717
  // The "…" that expands a collapsed trail.