@instructure/ui-range-input 9.0.2-snapshot-2 → 9.0.2-snapshot-4
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/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [9.0.2-snapshot-
|
|
6
|
+
## [9.0.2-snapshot-4](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-4) (2024-06-05)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-range-input
|
|
9
9
|
|
package/es/RangeInput/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _dec2, _dec3, _class,
|
|
1
|
+
var _dec, _dec2, _dec3, _class, _RangeInput;
|
|
2
2
|
/*
|
|
3
3
|
* The MIT License (MIT)
|
|
4
4
|
*
|
|
@@ -41,7 +41,7 @@ import { allowedProps, propTypes } from './props';
|
|
|
41
41
|
category: components
|
|
42
42
|
---
|
|
43
43
|
**/
|
|
44
|
-
let RangeInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (
|
|
44
|
+
let RangeInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_RangeInput = class RangeInput extends Component {
|
|
45
45
|
constructor(props) {
|
|
46
46
|
super(props);
|
|
47
47
|
this.ref = null;
|
|
@@ -166,7 +166,7 @@ let RangeInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
166
166
|
})), this.renderValue()));
|
|
167
167
|
/* eslint-enable jsx-a11y/no-redundant-roles */
|
|
168
168
|
}
|
|
169
|
-
},
|
|
169
|
+
}, _RangeInput.displayName = "RangeInput", _RangeInput.componentId = 'RangeInput', _RangeInput.allowedProps = allowedProps, _RangeInput.propTypes = propTypes, _RangeInput.defaultProps = {
|
|
170
170
|
step: 1,
|
|
171
171
|
formatValue: val => val,
|
|
172
172
|
// If min and max has default value, they don't give a warning if not set, even if they are required props.
|
|
@@ -180,6 +180,6 @@ let RangeInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
180
180
|
disabled: false,
|
|
181
181
|
readOnly: false,
|
|
182
182
|
thumbVariant: 'deprecated'
|
|
183
|
-
},
|
|
183
|
+
}, _RangeInput)) || _class) || _class) || _class);
|
|
184
184
|
export default RangeInput;
|
|
185
185
|
export { RangeInput };
|
package/lib/RangeInput/index.js
CHANGED
|
@@ -19,7 +19,7 @@ var _withDeterministicId = require("@instructure/ui-react-utils/lib/Deterministi
|
|
|
19
19
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
20
20
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
21
21
|
var _props = require("./props");
|
|
22
|
-
var _dec, _dec2, _dec3, _class,
|
|
22
|
+
var _dec, _dec2, _dec3, _class, _RangeInput;
|
|
23
23
|
/*
|
|
24
24
|
* The MIT License (MIT)
|
|
25
25
|
*
|
|
@@ -49,7 +49,7 @@ var _dec, _dec2, _dec3, _class, _class2;
|
|
|
49
49
|
category: components
|
|
50
50
|
---
|
|
51
51
|
**/
|
|
52
|
-
let RangeInput = exports.RangeInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (
|
|
52
|
+
let RangeInput = exports.RangeInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_RangeInput = class RangeInput extends _react.Component {
|
|
53
53
|
constructor(props) {
|
|
54
54
|
super(props);
|
|
55
55
|
this.ref = null;
|
|
@@ -174,7 +174,7 @@ let RangeInput = exports.RangeInput = (_dec = (0, _withDeterministicId.withDeter
|
|
|
174
174
|
})), this.renderValue()));
|
|
175
175
|
/* eslint-enable jsx-a11y/no-redundant-roles */
|
|
176
176
|
}
|
|
177
|
-
},
|
|
177
|
+
}, _RangeInput.displayName = "RangeInput", _RangeInput.componentId = 'RangeInput', _RangeInput.allowedProps = _props.allowedProps, _RangeInput.propTypes = _props.propTypes, _RangeInput.defaultProps = {
|
|
178
178
|
step: 1,
|
|
179
179
|
formatValue: val => val,
|
|
180
180
|
// If min and max has default value, they don't give a warning if not set, even if they are required props.
|
|
@@ -188,5 +188,5 @@ let RangeInput = exports.RangeInput = (_dec = (0, _withDeterministicId.withDeter
|
|
|
188
188
|
disabled: false,
|
|
189
189
|
readOnly: false,
|
|
190
190
|
thumbVariant: 'deprecated'
|
|
191
|
-
},
|
|
191
|
+
}, _RangeInput)) || _class) || _class) || _class);
|
|
192
192
|
var _default = exports.default = RangeInput;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-range-input",
|
|
3
|
-
"version": "9.0.2-snapshot-
|
|
3
|
+
"version": "9.0.2-snapshot-4",
|
|
4
4
|
"description": "A styled HTML range input",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,27 +23,27 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "^7.
|
|
27
|
-
"@instructure/console": "9.0.2-snapshot-
|
|
28
|
-
"@instructure/emotion": "9.0.2-snapshot-
|
|
29
|
-
"@instructure/shared-types": "9.0.2-snapshot-
|
|
30
|
-
"@instructure/ui-color-utils": "9.0.2-snapshot-
|
|
31
|
-
"@instructure/ui-dom-utils": "9.0.2-snapshot-
|
|
32
|
-
"@instructure/ui-form-field": "9.0.2-snapshot-
|
|
33
|
-
"@instructure/ui-i18n": "9.0.2-snapshot-
|
|
34
|
-
"@instructure/ui-prop-types": "9.0.2-snapshot-
|
|
35
|
-
"@instructure/ui-react-utils": "9.0.2-snapshot-
|
|
36
|
-
"@instructure/ui-testable": "9.0.2-snapshot-
|
|
37
|
-
"@instructure/ui-utils": "9.0.2-snapshot-
|
|
38
|
-
"@instructure/ui-view": "9.0.2-snapshot-
|
|
39
|
-
"@instructure/uid": "9.0.2-snapshot-
|
|
26
|
+
"@babel/runtime": "^7.24.5",
|
|
27
|
+
"@instructure/console": "9.0.2-snapshot-4",
|
|
28
|
+
"@instructure/emotion": "9.0.2-snapshot-4",
|
|
29
|
+
"@instructure/shared-types": "9.0.2-snapshot-4",
|
|
30
|
+
"@instructure/ui-color-utils": "9.0.2-snapshot-4",
|
|
31
|
+
"@instructure/ui-dom-utils": "9.0.2-snapshot-4",
|
|
32
|
+
"@instructure/ui-form-field": "9.0.2-snapshot-4",
|
|
33
|
+
"@instructure/ui-i18n": "9.0.2-snapshot-4",
|
|
34
|
+
"@instructure/ui-prop-types": "9.0.2-snapshot-4",
|
|
35
|
+
"@instructure/ui-react-utils": "9.0.2-snapshot-4",
|
|
36
|
+
"@instructure/ui-testable": "9.0.2-snapshot-4",
|
|
37
|
+
"@instructure/ui-utils": "9.0.2-snapshot-4",
|
|
38
|
+
"@instructure/ui-view": "9.0.2-snapshot-4",
|
|
39
|
+
"@instructure/uid": "9.0.2-snapshot-4",
|
|
40
40
|
"prop-types": "^15.8.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@instructure/ui-babel-preset": "9.0.2-snapshot-
|
|
44
|
-
"@instructure/ui-test-locator": "9.0.2-snapshot-
|
|
45
|
-
"@instructure/ui-test-utils": "9.0.2-snapshot-
|
|
46
|
-
"@instructure/ui-themes": "9.0.2-snapshot-
|
|
43
|
+
"@instructure/ui-babel-preset": "9.0.2-snapshot-4",
|
|
44
|
+
"@instructure/ui-test-locator": "9.0.2-snapshot-4",
|
|
45
|
+
"@instructure/ui-test-utils": "9.0.2-snapshot-4",
|
|
46
|
+
"@instructure/ui-themes": "9.0.2-snapshot-4"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": ">=16.8 <=18"
|