@instructure/ui-tag 8.9.2-snapshot.4 → 8.9.2-snapshot.7

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/es/Tag/index.js CHANGED
@@ -95,7 +95,7 @@ let Tag = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = test
95
95
  onClick = _this$props4.onClick,
96
96
  margin = _this$props4.margin,
97
97
  styles = _this$props4.styles;
98
- const passthroughProps = View.omitViewProps(omitProps(this.props, Tag.propTypes), Tag);
98
+ const passthroughProps = View.omitViewProps(omitProps(this.props, Tag.allowedProps), Tag);
99
99
  return jsx(View, Object.assign({}, passthroughProps, {
100
100
  ref: this.handleRef,
101
101
  elementRef: this.props.elementRef,
package/lib/Tag/index.js CHANGED
@@ -89,7 +89,7 @@ let Tag = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec
89
89
  margin = _this$props4.margin,
90
90
  styles = _this$props4.styles;
91
91
 
92
- const passthroughProps = _View.View.omitViewProps((0, _omitProps.omitProps)(this.props, Tag.propTypes), Tag);
92
+ const passthroughProps = _View.View.omitViewProps((0, _omitProps.omitProps)(this.props, Tag.allowedProps), Tag);
93
93
 
94
94
  return (0, _emotion.jsx)(_View.View, Object.assign({}, passthroughProps, {
95
95
  ref: this.handleRef,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-tag",
3
- "version": "8.9.2-snapshot.4+bf1e82efc",
3
+ "version": "8.9.2-snapshot.7+1a56581cd",
4
4
  "description": "A tag component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -25,22 +25,22 @@
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.13.10",
28
- "@instructure/console": "8.9.2-snapshot.4+bf1e82efc",
29
- "@instructure/emotion": "8.9.2-snapshot.4+bf1e82efc",
30
- "@instructure/shared-types": "8.9.2-snapshot.4+bf1e82efc",
31
- "@instructure/ui-color-utils": "8.9.2-snapshot.4+bf1e82efc",
32
- "@instructure/ui-dom-utils": "8.9.2-snapshot.4+bf1e82efc",
33
- "@instructure/ui-icons": "8.9.2-snapshot.4+bf1e82efc",
34
- "@instructure/ui-react-utils": "8.9.2-snapshot.4+bf1e82efc",
35
- "@instructure/ui-testable": "8.9.2-snapshot.4+bf1e82efc",
36
- "@instructure/ui-view": "8.9.2-snapshot.4+bf1e82efc",
28
+ "@instructure/console": "8.9.2-snapshot.7+1a56581cd",
29
+ "@instructure/emotion": "8.9.2-snapshot.7+1a56581cd",
30
+ "@instructure/shared-types": "8.9.2-snapshot.7+1a56581cd",
31
+ "@instructure/ui-color-utils": "8.9.2-snapshot.7+1a56581cd",
32
+ "@instructure/ui-dom-utils": "8.9.2-snapshot.7+1a56581cd",
33
+ "@instructure/ui-icons": "8.9.2-snapshot.7+1a56581cd",
34
+ "@instructure/ui-react-utils": "8.9.2-snapshot.7+1a56581cd",
35
+ "@instructure/ui-testable": "8.9.2-snapshot.7+1a56581cd",
36
+ "@instructure/ui-view": "8.9.2-snapshot.7+1a56581cd",
37
37
  "prop-types": "^15"
38
38
  },
39
39
  "devDependencies": {
40
- "@instructure/ui-babel-preset": "8.9.2-snapshot.4+bf1e82efc",
41
- "@instructure/ui-test-locator": "8.9.2-snapshot.4+bf1e82efc",
42
- "@instructure/ui-test-utils": "8.9.2-snapshot.4+bf1e82efc",
43
- "@instructure/ui-themes": "8.9.2-snapshot.4+bf1e82efc"
40
+ "@instructure/ui-babel-preset": "8.9.2-snapshot.7+1a56581cd",
41
+ "@instructure/ui-test-locator": "8.9.2-snapshot.7+1a56581cd",
42
+ "@instructure/ui-test-utils": "8.9.2-snapshot.7+1a56581cd",
43
+ "@instructure/ui-themes": "8.9.2-snapshot.7+1a56581cd"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": ">=16.8 <=17"
@@ -49,5 +49,5 @@
49
49
  "access": "public"
50
50
  },
51
51
  "sideEffects": false,
52
- "gitHead": "bf1e82efccb682510708448efd369eddaa24f74b"
52
+ "gitHead": "1a56581cde6bd3b4f9fe5cd11ae420bd1222fe15"
53
53
  }
package/src/Tag/index.tsx CHANGED
@@ -108,7 +108,7 @@ class Tag extends Component<TagProps> {
108
108
  } = this.props
109
109
 
110
110
  const passthroughProps = View.omitViewProps(
111
- omitProps(this.props, Tag.propTypes),
111
+ omitProps(this.props, Tag.allowedProps),
112
112
  Tag
113
113
  )
114
114