@m4l/components 9.2.2 → 9.2.5

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.
@@ -10,7 +10,6 @@ const actionsContainerStyles = {
10
10
  width: "100%",
11
11
  gap: theme.vars.size.baseSpacings.sp3,
12
12
  paddingTop: theme.vars.size.baseSpacings.sp3,
13
- paddingRight: theme.vars.size.baseSpacings.sp3,
14
13
  paddingBottom: theme.vars.size.baseSpacings.sp3,
15
14
  paddingLeft: "0",
16
15
  height: "auto",
@@ -86,7 +86,7 @@ const areasAdminStyles = {
86
86
  pointerEvents: "auto"
87
87
  },
88
88
  '& [class*="M4LIcon-icon"]': {
89
- backgroundColor: ownerState.isAreaSelected ? theme.vars.palette.primary.contrastText : theme.vars.palette.primary.enabled
89
+ backgroundColor: `${ownerState.isAreaSelected ? theme.vars.palette.primary.contrastText : theme.vars.palette.default} !important`
90
90
  }
91
91
  }),
92
92
  /**
@@ -91,7 +91,8 @@ const AreaChip = (props) => {
91
91
  type: "menuItem",
92
92
  startIcon: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.DELETE_AREA}`,
93
93
  label: `${getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_delete_area))}`,
94
- onClick: onClickDeleteArea
94
+ onClick: onClickDeleteArea,
95
+ color: "error"
95
96
  }
96
97
  ];
97
98
  const classes = getComponentClasses(AREAS_ADMIN_KEY_COMPONENT, AreasAdminSlots);
@@ -72,7 +72,8 @@ const ChipMobile = (props) => {
72
72
  type: "menuItem",
73
73
  startIcon: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.DELETE_AREA}`,
74
74
  label: `${getLabel(getAreasDictionary(AREAS_DICCTIONARY.label_delete_area))}`,
75
- onClick: onClickDeleteArea
75
+ onClick: onClickDeleteArea,
76
+ color: "error"
76
77
  }
77
78
  ];
78
79
  return /* @__PURE__ */ jsxs(ChipMobileRootStyled, { selected, disabled, ownerState: {}, children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.2.2",
3
+ "version": "9.2.5",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0 --no-warn-ignored"
@@ -0,0 +1 @@
1
+ export declare const handle_mock: import('msw').HttpHandler[];