@woosmap/ui 4.236.10 → 4.236.11

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/.eslintrc CHANGED
@@ -29,6 +29,9 @@
29
29
  "react/jsx-no-bind": 0,
30
30
  "react/prefer-stateless-function": 0,
31
31
  "react/no-unused-class-component-methods": 0,
32
+ "react/require-default-props": ["error", {
33
+ "ignoreFunctionalComponents": true
34
+ }],
32
35
  "class-methods-use-this": 0,
33
36
  "react/jsx-filename-extension": [
34
37
  1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.236.10",
3
+ "version": "4.236.11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -107,11 +107,6 @@ function withLayer(MyComponent) {
107
107
  placement: PropTypes.string,
108
108
  disableClickOutside: PropTypes.bool,
109
109
  };
110
- WrappedComponent.defaultProps = {
111
- container: null,
112
- placement: 'bottom-center',
113
- disableClickOutside: false,
114
- };
115
110
  return React.forwardRef((props, ref) => <WrappedComponent {...props} forwardedRef={ref} />);
116
111
  }
117
112