@instructure/ui-range-input 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.
@@ -143,10 +143,10 @@ let RangeInput = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2
143
143
  formatValue = _this$props4.formatValue,
144
144
  disabled = _this$props4.disabled,
145
145
  readOnly = _this$props4.readOnly;
146
- const props = omitProps(this.props, RangeInput.propTypes);
146
+ const props = omitProps(this.props, RangeInput.allowedProps);
147
147
  /* eslint-disable jsx-a11y/no-redundant-roles */
148
148
 
149
- return jsx(FormField, Object.assign({}, pickProps(this.props, FormField.propTypes), {
149
+ return jsx(FormField, Object.assign({}, pickProps(this.props, FormField.allowedProps), {
150
150
  id: this.id
151
151
  }), jsx("div", {
152
152
  css: (_this$props$styles2 = this.props.styles) === null || _this$props$styles2 === void 0 ? void 0 : _this$props$styles2.rangeInput
@@ -139,10 +139,10 @@ let RangeInput = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
139
139
  formatValue = _this$props4.formatValue,
140
140
  disabled = _this$props4.disabled,
141
141
  readOnly = _this$props4.readOnly;
142
- const props = (0, _omitProps.omitProps)(this.props, RangeInput.propTypes);
142
+ const props = (0, _omitProps.omitProps)(this.props, RangeInput.allowedProps);
143
143
  /* eslint-disable jsx-a11y/no-redundant-roles */
144
144
 
145
- return (0, _emotion.jsx)(_FormField.FormField, Object.assign({}, (0, _pickProps.pickProps)(this.props, _FormField.FormField.propTypes), {
145
+ return (0, _emotion.jsx)(_FormField.FormField, Object.assign({}, (0, _pickProps.pickProps)(this.props, _FormField.FormField.allowedProps), {
146
146
  id: this.id
147
147
  }), (0, _emotion.jsx)("div", {
148
148
  css: (_this$props$styles2 = this.props.styles) === null || _this$props$styles2 === void 0 ? void 0 : _this$props$styles2.rangeInput
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-range-input",
3
- "version": "8.9.2-snapshot.4+bf1e82efc",
3
+ "version": "8.9.2-snapshot.7+1a56581cd",
4
4
  "description": "A styled HTML range input",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -25,26 +25,26 @@
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-form-field": "8.9.2-snapshot.4+bf1e82efc",
34
- "@instructure/ui-i18n": "8.9.2-snapshot.4+bf1e82efc",
35
- "@instructure/ui-prop-types": "8.9.2-snapshot.4+bf1e82efc",
36
- "@instructure/ui-react-utils": "8.9.2-snapshot.4+bf1e82efc",
37
- "@instructure/ui-testable": "8.9.2-snapshot.4+bf1e82efc",
38
- "@instructure/ui-utils": "8.9.2-snapshot.4+bf1e82efc",
39
- "@instructure/ui-view": "8.9.2-snapshot.4+bf1e82efc",
40
- "@instructure/uid": "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-form-field": "8.9.2-snapshot.7+1a56581cd",
34
+ "@instructure/ui-i18n": "8.9.2-snapshot.7+1a56581cd",
35
+ "@instructure/ui-prop-types": "8.9.2-snapshot.7+1a56581cd",
36
+ "@instructure/ui-react-utils": "8.9.2-snapshot.7+1a56581cd",
37
+ "@instructure/ui-testable": "8.9.2-snapshot.7+1a56581cd",
38
+ "@instructure/ui-utils": "8.9.2-snapshot.7+1a56581cd",
39
+ "@instructure/ui-view": "8.9.2-snapshot.7+1a56581cd",
40
+ "@instructure/uid": "8.9.2-snapshot.7+1a56581cd",
41
41
  "prop-types": "^15"
42
42
  },
43
43
  "devDependencies": {
44
- "@instructure/ui-babel-preset": "8.9.2-snapshot.4+bf1e82efc",
45
- "@instructure/ui-test-locator": "8.9.2-snapshot.4+bf1e82efc",
46
- "@instructure/ui-test-utils": "8.9.2-snapshot.4+bf1e82efc",
47
- "@instructure/ui-themes": "8.9.2-snapshot.4+bf1e82efc"
44
+ "@instructure/ui-babel-preset": "8.9.2-snapshot.7+1a56581cd",
45
+ "@instructure/ui-test-locator": "8.9.2-snapshot.7+1a56581cd",
46
+ "@instructure/ui-test-utils": "8.9.2-snapshot.7+1a56581cd",
47
+ "@instructure/ui-themes": "8.9.2-snapshot.7+1a56581cd"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "react": ">=16.8 <=17"
@@ -53,5 +53,5 @@
53
53
  "access": "public"
54
54
  },
55
55
  "sideEffects": false,
56
- "gitHead": "bf1e82efccb682510708448efd369eddaa24f74b"
56
+ "gitHead": "1a56581cde6bd3b4f9fe5cd11ae420bd1222fe15"
57
57
  }
@@ -175,12 +175,15 @@ class RangeInput extends Component<RangeInputProps> {
175
175
  render() {
176
176
  const { formatValue, disabled, readOnly } = this.props
177
177
 
178
- const props = omitProps(this.props, RangeInput.propTypes)
178
+ const props = omitProps(this.props, RangeInput.allowedProps)
179
179
 
180
180
  /* eslint-disable jsx-a11y/no-redundant-roles */
181
181
  return (
182
182
  // @ts-expect-error ts-migrate(2554) FIXME: no overload..
183
- <FormField {...pickProps(this.props, FormField.propTypes)} id={this.id}>
183
+ <FormField
184
+ {...pickProps(this.props, FormField.allowedProps)}
185
+ id={this.id}
186
+ >
184
187
  <div css={this.props.styles?.rangeInput}>
185
188
  <input
186
189
  css={this.props.styles?.rangeInputInput}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/RangeInput/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C;;;;GAIG;AACH,cAEM,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAe;IAE1C,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;;;;;;;MAYlB;IAED,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAAO;IACtC,cAAc,EAAE;QAAE,MAAM,IAAI,IAAI,CAAA;KAAE,GAAG,IAAI,CAAO;IAChD,eAAe,EAAE;QAAE,MAAM,IAAI,IAAI,CAAA;KAAE,GAAG,IAAI,CAAO;gBAGrC,KAAK,KAAA;IAejB,iBAAiB;IAkBjB,oBAAoB;IAWpB,kBAAkB;IAKlB,YAAY,uBAUX;IAGD,UAAU,aAAW;IAErB,IAAI,KAAK,QAKR;IAED,IAAI,OAAO,wBAOV;IAED,IAAI,EAAE,QAGL;IAGD,WAAW;IAgBX,MAAM;CAsCP;AAED,eAAe,UAAU,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/RangeInput/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C;;;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