@opengeoweb/shared 13.2.1 → 14.0.0

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/index.esm.js CHANGED
@@ -960,17 +960,19 @@ var ToggleMenu = function ToggleMenu(_ref) {
960
960
  },
961
961
  anchorOrigin: anchorOrigin,
962
962
  transformOrigin: transformOrigin,
963
- BackdropProps: {
964
- style: {
965
- opacity: 0,
966
- transition: 'none'
967
- }
963
+ slotProps: {
964
+ backdrop: {
965
+ style: {
966
+ opacity: 0,
967
+ transition: 'none'
968
+ }
969
+ },
970
+ list: Object.assign({}, children && {
971
+ style: {
972
+ padding: '0px'
973
+ }
974
+ })
968
975
  },
969
- MenuListProps: Object.assign({}, children && {
970
- style: {
971
- padding: '0px'
972
- }
973
- }),
974
976
  children: [menuTitle && jsx(ListSubheader, {
975
977
  "data-testid": "toggleMenuTitle",
976
978
  children: jsx(Typography, {
@@ -3000,7 +3002,6 @@ var DraggableComponent = function DraggableComponent(_ref) {
3000
3002
  height: height
3001
3003
  });
3002
3004
  var newPos = calculateNewPosition(position, isRightAligned, handle, delta);
3003
- // eslint-disable-next-line no-param-reassign
3004
3005
  var parent = node.parentNode;
3005
3006
  parent.style.transform = "translate(" + newPos.x + "px, " + newPos.y + "px)";
3006
3007
  }, [onChangeSize, position, isRightAligned]);
@@ -5195,9 +5196,11 @@ var FilterOption = function FilterOption(_ref) {
5195
5196
  checked: checked,
5196
5197
  tabIndex: -1,
5197
5198
  disableRipple: true,
5198
- inputProps: {
5199
- 'aria-labelledby': optionId,
5200
- 'aria-label': optionId
5199
+ slotProps: {
5200
+ input: {
5201
+ 'aria-labelledby': optionId,
5202
+ 'aria-label': optionId
5203
+ }
5201
5204
  },
5202
5205
  name: optionId
5203
5206
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/shared",
3
- "version": "13.2.1",
3
+ "version": "14.0.0",
4
4
  "description": "GeoWeb shared library with shared components and utils for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -8,7 +8,7 @@
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
10
  "dependencies": {
11
- "@opengeoweb/theme": "13.2.1",
11
+ "@opengeoweb/theme": "14.0.0",
12
12
  "react-draggable": "^4.4.6",
13
13
  "re-resizable": "^6.9.11",
14
14
  "lodash": "^4.17.21",
@@ -81,6 +81,7 @@ export interface PlotParameter {
81
81
  plotId: string;
82
82
  unit?: string;
83
83
  propertyName: string;
84
+ propertyLabel?: string;
84
85
  plotType: PlotType | 'area';
85
86
  enabled?: boolean;
86
87
  color?: string;