@skyscanner/backpack-web 18.2.0 → 18.2.1

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.
@@ -43,7 +43,7 @@ export type Props = {
43
43
  portalStyle: ?Object,
44
44
  portalClassName: ?string,
45
45
  renderTarget: ?() => ?HTMLElement,
46
- popperModifiers: ?Object,
46
+ popperModifiers: ?Array<Object>,
47
47
  };
48
48
 
49
49
  export const propTypes = {
@@ -55,7 +55,7 @@ export const propTypes = {
55
55
  portalStyle: PropTypes.object, // eslint-disable-line react/forbid-prop-types
56
56
  portalClassName: PropTypes.string,
57
57
  renderTarget: PropTypes.func,
58
- popperModifiers: PropTypes.object, // eslint-disable-line react/forbid-prop-types
58
+ popperModifiers: PropTypes.arrayOf(PropTypes.object), // eslint-disable-line react/forbid-prop-types
59
59
  };
60
60
 
61
61
  export const defaultProps = {
@@ -50,7 +50,7 @@ export type Props = {
50
50
  portalStyle: ?Object,
51
51
  portalClassName: ?string,
52
52
  renderTarget: ?() => HTMLElement,
53
- popperModifiers: ?Object,
53
+ popperModifiers: ?Array<Object>,
54
54
  };
55
55
 
56
56
  type State = {
@@ -72,7 +72,7 @@ class BpkTooltipPortal extends Component<Props, State> {
72
72
  portalStyle: PropTypes.object, // eslint-disable-line react/forbid-prop-types
73
73
  portalClassName: PropTypes.string,
74
74
  renderTarget: PropTypes.func,
75
- popperModifiers: PropTypes.object, // eslint-disable-line react/forbid-prop-types
75
+ popperModifiers: PropTypes.arrayOf(PropTypes.object), // eslint-disable-line react/forbid-prop-types
76
76
  };
77
77
 
78
78
  static defaultProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyscanner/backpack-web",
3
- "version": "18.2.0",
3
+ "version": "18.2.1",
4
4
  "description": "Backpack Design System web library",
5
5
  "repository": {
6
6
  "type": "git",