@instructure/ui-i18n 8.9.2-snapshot.1 → 8.9.2-snapshot.12

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.
@@ -87,8 +87,11 @@ const bidirectional = decorator(ComposedComponent => {
87
87
  }
88
88
 
89
89
  hoistNonReactStatics(BidirectionalForwardingRef, ComposedComponent);
90
- BidirectionalForwardingRef.defaultProps = ComposedComponent.defaultProps;
91
- BidirectionalForwardingRef.propTypes = ComposedComponent.propTypes;
90
+ BidirectionalForwardingRef.defaultProps = ComposedComponent.defaultProps; // eslint-disable-next-line react/forbid-foreign-prop-types
91
+
92
+ BidirectionalForwardingRef.propTypes = ComposedComponent.propTypes; // @ts-expect-error These static fields exist on InstUI components
93
+
94
+ BidirectionalForwardingRef.allowedProps = ComposedComponent.allowedProps;
92
95
  return BidirectionalForwardingRef;
93
96
  });
94
97
  bidirectional.DIRECTION = DIRECTION;
@@ -75,8 +75,11 @@ const bidirectional = (0, _decorator.decorator)(ComposedComponent => {
75
75
  }
76
76
 
77
77
  (0, _hoistNonReactStatics.default)(BidirectionalForwardingRef, ComposedComponent);
78
- BidirectionalForwardingRef.defaultProps = ComposedComponent.defaultProps;
79
- BidirectionalForwardingRef.propTypes = ComposedComponent.propTypes;
78
+ BidirectionalForwardingRef.defaultProps = ComposedComponent.defaultProps; // eslint-disable-next-line react/forbid-foreign-prop-types
79
+
80
+ BidirectionalForwardingRef.propTypes = ComposedComponent.propTypes; // @ts-expect-error These static fields exist on InstUI components
81
+
82
+ BidirectionalForwardingRef.allowedProps = ComposedComponent.allowedProps;
80
83
  return BidirectionalForwardingRef;
81
84
  });
82
85
  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.1+11d97b23e",
3
+ "version": "8.9.2-snapshot.12+6231ada93",
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.1+11d97b23e",
28
- "@instructure/ui-test-utils": "8.9.2-snapshot.1+11d97b23e",
27
+ "@instructure/ui-babel-preset": "8.9.2-snapshot.12+6231ada93",
28
+ "@instructure/ui-test-utils": "8.9.2-snapshot.12+6231ada93",
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.1+11d97b23e",
34
- "@instructure/ui-decorator": "8.9.2-snapshot.1+11d97b23e",
35
- "@instructure/ui-dom-utils": "8.9.2-snapshot.1+11d97b23e",
36
- "@instructure/ui-prop-types": "8.9.2-snapshot.1+11d97b23e",
37
- "@instructure/ui-react-utils": "8.9.2-snapshot.1+11d97b23e",
38
- "@instructure/ui-utils": "8.9.2-snapshot.1+11d97b23e",
33
+ "@instructure/shared-types": "8.9.2-snapshot.12+6231ada93",
34
+ "@instructure/ui-decorator": "8.9.2-snapshot.12+6231ada93",
35
+ "@instructure/ui-dom-utils": "8.9.2-snapshot.12+6231ada93",
36
+ "@instructure/ui-prop-types": "8.9.2-snapshot.12+6231ada93",
37
+ "@instructure/ui-react-utils": "8.9.2-snapshot.12+6231ada93",
38
+ "@instructure/ui-utils": "8.9.2-snapshot.12+6231ada93",
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": "11d97b23ea6f8360db54acd61c9caf51d787354b"
50
+ "gitHead": "6231ada93bd4299d640b5d39d7e44b0f54852b2a"
51
51
  }
@@ -95,7 +95,10 @@ const bidirectional: BidirectionalType = decorator((ComposedComponent) => {
95
95
  }
96
96
  hoistNonReactStatics(BidirectionalForwardingRef, ComposedComponent)
97
97
  BidirectionalForwardingRef.defaultProps = ComposedComponent.defaultProps
98
+ // eslint-disable-next-line react/forbid-foreign-prop-types
98
99
  BidirectionalForwardingRef.propTypes = ComposedComponent.propTypes
100
+ // @ts-expect-error These static fields exist on InstUI components
101
+ BidirectionalForwardingRef.allowedProps = ComposedComponent.allowedProps
99
102
  return BidirectionalForwardingRef
100
103
  }) as BidirectionalType
101
104
 
@@ -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,iBA4BE,CAAA;AAGvB,eAAe,aAAa,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,CAAA"}