@webpros/mui-theme 0.4.6 → 0.4.8

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webpros/mui-theme",
3
3
  "description": "MUI v7 theme for WebPros products",
4
- "version": "0.4.6",
4
+ "version": "0.4.8",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -8,6 +8,7 @@ export const getTooltip = (theme) => {
8
8
  color: colors.inverseSchemes.surfaces.onSurface,
9
9
  borderRadius: '6px',
10
10
  padding: '8px 12px',
11
+ fontSize: '12px',
11
12
  '& .MuiTooltip-arrow': {
12
13
  color: colors.inverseSchemes.surfaces.surface,
13
14
  },
@@ -1,21 +1,17 @@
1
1
  // Copyright 2025 WebPros International GmbH. All rights reserved.
2
2
  import { typographyVariants } from '../../../tokens/typography';
3
3
  export const getBreadcrumbs = (theme) => {
4
- const { spacing, colors } = theme;
4
+ const { colors } = theme;
5
5
  return {
6
6
  MuiBreadcrumbs: {
7
- defaultProps: {
8
- separator: '/',
9
- },
10
7
  styleOverrides: {
11
- root: {
12
- color: colors.schemes.typography.onSurface,
13
- },
14
- separator: Object.assign({ marginLeft: spacing(1), marginRight: spacing(1), color: colors.schemes.surfaces.onSurfaceVariant }, typographyVariants.BodySmall),
15
- li: {
16
- // Collapsed ellipsis button
17
- '& button': Object.assign({ color: colors.schemes.surfaces.onSurfaceVariant }, typographyVariants.BodySmall),
18
- },
8
+ root: Object.assign(Object.assign({ color: colors.schemes.base.primaryVariant }, typographyVariants.BodySmall), { '& li button': {
9
+ backgroundColor: colors.schemes.surfaces.surface,
10
+ color: colors.schemes.surfaces.onSurfaceVariant,
11
+ '&:hover, &:focus, &:active': {
12
+ backgroundColor: colors.schemes.surfaces.surface,
13
+ },
14
+ } }),
19
15
  },
20
16
  },
21
17
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webpros/mui-theme",
3
3
  "description": "MUI v7 theme for WebPros products",
4
- "version": "0.4.6",
4
+ "version": "0.4.8",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",