@instructure/ui-i18n 8.9.2-snapshot.2 → 8.9.2-snapshot.3

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.
@@ -88,7 +88,9 @@ const bidirectional = decorator(ComposedComponent => {
88
88
 
89
89
  hoistNonReactStatics(BidirectionalForwardingRef, ComposedComponent);
90
90
  BidirectionalForwardingRef.defaultProps = ComposedComponent.defaultProps;
91
- BidirectionalForwardingRef.propTypes = ComposedComponent.propTypes;
91
+ BidirectionalForwardingRef.propTypes = ComposedComponent.propTypes; // @ts-expect-error These static fields exist on InstUI components
92
+
93
+ BidirectionalForwardingRef.allowedProps = ComposedComponent.allowedProps;
92
94
  return BidirectionalForwardingRef;
93
95
  });
94
96
  bidirectional.DIRECTION = DIRECTION;
@@ -76,7 +76,9 @@ const bidirectional = (0, _decorator.decorator)(ComposedComponent => {
76
76
 
77
77
  (0, _hoistNonReactStatics.default)(BidirectionalForwardingRef, ComposedComponent);
78
78
  BidirectionalForwardingRef.defaultProps = ComposedComponent.defaultProps;
79
- BidirectionalForwardingRef.propTypes = ComposedComponent.propTypes;
79
+ BidirectionalForwardingRef.propTypes = ComposedComponent.propTypes; // @ts-expect-error These static fields exist on InstUI components
80
+
81
+ BidirectionalForwardingRef.allowedProps = ComposedComponent.allowedProps;
80
82
  return BidirectionalForwardingRef;
81
83
  });
82
84
  exports.bidirectional = bidirectional;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-i18n",
3
- "version": "8.9.2-snapshot.2+99becd926",
3
+ "version": "8.9.2-snapshot.3+ddc7880d5",
4
4
  "description": "Helper components and utilities for internationalization.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -24,18 +24,18 @@
24
24
  },
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "@instructure/ui-babel-preset": "8.9.2-snapshot.2+99becd926",
28
- "@instructure/ui-test-utils": "8.9.2-snapshot.2+99becd926",
27
+ "@instructure/ui-babel-preset": "8.9.2-snapshot.3+ddc7880d5",
28
+ "@instructure/ui-test-utils": "8.9.2-snapshot.3+ddc7880d5",
29
29
  "@types/hoist-non-react-statics": "^3.3.1"
30
30
  },
31
31
  "dependencies": {
32
32
  "@babel/runtime": "^7.13.10",
33
- "@instructure/shared-types": "8.9.2-snapshot.2+99becd926",
34
- "@instructure/ui-decorator": "8.9.2-snapshot.2+99becd926",
35
- "@instructure/ui-dom-utils": "8.9.2-snapshot.2+99becd926",
36
- "@instructure/ui-prop-types": "8.9.2-snapshot.2+99becd926",
37
- "@instructure/ui-react-utils": "8.9.2-snapshot.2+99becd926",
38
- "@instructure/ui-utils": "8.9.2-snapshot.2+99becd926",
33
+ "@instructure/shared-types": "8.9.2-snapshot.3+ddc7880d5",
34
+ "@instructure/ui-decorator": "8.9.2-snapshot.3+ddc7880d5",
35
+ "@instructure/ui-dom-utils": "8.9.2-snapshot.3+ddc7880d5",
36
+ "@instructure/ui-prop-types": "8.9.2-snapshot.3+ddc7880d5",
37
+ "@instructure/ui-react-utils": "8.9.2-snapshot.3+ddc7880d5",
38
+ "@instructure/ui-utils": "8.9.2-snapshot.3+ddc7880d5",
39
39
  "hoist-non-react-statics": "^3.3.2",
40
40
  "moment-timezone": "^0.5",
41
41
  "prop-types": "^15"
@@ -47,5 +47,5 @@
47
47
  "access": "public"
48
48
  },
49
49
  "sideEffects": false,
50
- "gitHead": "99becd9267e62cb5cc016317e4a77bcd1eb585a9"
50
+ "gitHead": "ddc7880d5a2f7d4d0596332e8d49cb9b1de68024"
51
51
  }
@@ -96,6 +96,8 @@ const bidirectional: BidirectionalType = decorator((ComposedComponent) => {
96
96
  hoistNonReactStatics(BidirectionalForwardingRef, ComposedComponent)
97
97
  BidirectionalForwardingRef.defaultProps = ComposedComponent.defaultProps
98
98
  BidirectionalForwardingRef.propTypes = ComposedComponent.propTypes
99
+ // @ts-expect-error These static fields exist on InstUI components
100
+ BidirectionalForwardingRef.allowedProps = ComposedComponent.allowedProps
99
101
  return BidirectionalForwardingRef
100
102
  }) as BidirectionalType
101
103
 
@@ -1 +1 @@
1
- {"version":3,"file":"bidirectional.d.ts","sourceRoot":"","sources":["../src/bidirectional.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAE,SAAS,EAAwB,MAAM,wBAAwB,CAAA;AAOxE,oBAAY,kBAAkB,GAAG;IAC/B,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;CACpB,CAAA;AAMD,aAAK,iBAAiB,GAAG;IAEvB,IAAI,CAAC,iBAAiB,EAAE,GAAG,KAAK,GAAG,CAAA;IACnC,SAAS,EAAE,OAAO,SAAS,CAAA;CAC5B,CAAA;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,QAAA,MAAM,aAAa,EAAE,iBAyBE,CAAA;AAGvB,eAAe,aAAa,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"bidirectional.d.ts","sourceRoot":"","sources":["../src/bidirectional.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAE,SAAS,EAAwB,MAAM,wBAAwB,CAAA;AAOxE,oBAAY,kBAAkB,GAAG;IAC/B,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;CACpB,CAAA;AAMD,aAAK,iBAAiB,GAAG;IAEvB,IAAI,CAAC,iBAAiB,EAAE,GAAG,KAAK,GAAG,CAAA;IACnC,SAAS,EAAE,OAAO,SAAS,CAAA;CAC5B,CAAA;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,QAAA,MAAM,aAAa,EAAE,iBA2BE,CAAA;AAGvB,eAAe,aAAa,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,CAAA"}