@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 +5 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -703,14 +703,17 @@ const ModBanner = ({
|
|
|
703
703
|
};
|
|
704
704
|
ModBanner.displayName = "ModBanner";
|
|
705
705
|
|
|
706
|
+
const ITEM = `.${Breadcrumbs.breadcrumbsClasses.li}`;
|
|
707
|
+
const EXPANDED_TRAIL = `.${Breadcrumbs.breadcrumbsClasses.ol}:not(:has(> li > .${ButtonBase.buttonBaseClasses.root})):has(> ${ITEM} ~ ${ITEM} ~ ${ITEM})`;
|
|
706
708
|
const StyledBreadcrumbs = styles.styled(Breadcrumbs)(({ theme }) => ({
|
|
707
709
|
[`& .${Breadcrumbs.breadcrumbsClasses.separator}`]: {
|
|
708
710
|
margin: 0,
|
|
709
711
|
color: designSystemTokens.semanticColors.color.icon.utility
|
|
710
712
|
},
|
|
711
713
|
[`& .${Breadcrumbs.breadcrumbsClasses.ol}`]: {
|
|
712
|
-
gap: designSystemTokens.spacing.spacing_1
|
|
713
|
-
|
|
714
|
+
gap: designSystemTokens.spacing.spacing_1
|
|
715
|
+
},
|
|
716
|
+
[`& ${EXPANDED_TRAIL}`]: {
|
|
714
717
|
[theme.breakpoints.down("md")]: { rowGap: designSystemTokens.spacing.spacing_4 }
|
|
715
718
|
},
|
|
716
719
|
// The "…" that expands a collapsed trail.
|