@unbxd-ui/unbxd-react-components 0.2.98 → 0.2.99
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.
|
@@ -15,7 +15,7 @@ var _Form = require("./Form");
|
|
|
15
15
|
|
|
16
16
|
var _FormElementWrapper = _interopRequireDefault(require("./FormElementWrapper"));
|
|
17
17
|
|
|
18
|
-
var _excluded = ["label", "name", "min", "max", "className", "value", "defaultValue", "appearance", "onChange", "disabled", "showBubble", "inputStyle", "bubbleStyle"];
|
|
18
|
+
var _excluded = ["label", "name", "min", "max", "className", "value", "defaultValue", "appearance", "onChange", "disabled", "showBubble", "inputStyle", "bubbleStyle", "inputClassName"];
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
21
|
|
|
@@ -63,6 +63,7 @@ var RangeSlider = function RangeSlider(props) {
|
|
|
63
63
|
inputStyle = _props$inputStyle === void 0 ? {} : _props$inputStyle,
|
|
64
64
|
_props$bubbleStyle = props.bubbleStyle,
|
|
65
65
|
bubbleStyle = _props$bubbleStyle === void 0 ? {} : _props$bubbleStyle,
|
|
66
|
+
inputClassName = props.inputClassName,
|
|
66
67
|
restProps = _objectWithoutProperties(props, _excluded);
|
|
67
68
|
|
|
68
69
|
var _useContext = (0, _react.useContext)(_Form.FormContext),
|
|
@@ -103,7 +104,7 @@ var RangeSlider = function RangeSlider(props) {
|
|
|
103
104
|
id: name,
|
|
104
105
|
defaultValue: defaultValue,
|
|
105
106
|
disabled: disabled,
|
|
106
|
-
className: "RCB-form-el RCB-input-range ".concat(
|
|
107
|
+
className: "RCB-form-el RCB-input-range ".concat(inputClassName),
|
|
107
108
|
onChange: onInputChange
|
|
108
109
|
}, restProps), {}, {
|
|
109
110
|
showBubble: showBubble
|
|
@@ -132,9 +133,12 @@ var RangeSlider = function RangeSlider(props) {
|
|
|
132
133
|
};
|
|
133
134
|
|
|
134
135
|
RangeSlider.propTypes = {
|
|
135
|
-
/** Pass any additional classNames to Input component */
|
|
136
|
+
/** Pass any additional classNames to Input component container */
|
|
136
137
|
className: _propTypes["default"].string,
|
|
137
138
|
|
|
139
|
+
/** Pass any additional classNames to Input component */
|
|
140
|
+
inputClassName: _propTypes["default"].string,
|
|
141
|
+
|
|
138
142
|
/** Minimum value for range slider */
|
|
139
143
|
min: _propTypes["default"].string.isRequired,
|
|
140
144
|
|