@ringcentral/juno 2.13.1 → 2.14.0

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.
@@ -16,7 +16,7 @@ var _RcSelect = react_1.forwardRef(function (inProps, ref) {
16
16
  var props = foundation_1.useThemeProps({ props: inProps, name: 'RcSelect' });
17
17
  var children = props.children, onChange = props.onChange, defaultValue = props.defaultValue, SelectInputPropsProp = props.SelectInputProps, MenuProps = props.MenuProps, textVariant = props.textVariant, placeholder = props.placeholder, renderValue = props.renderValue, displayEmpty = props.displayEmpty, variant = props.variant, size = props.size, value = props.value, virtualize = props.virtualize,
18
18
  // * below is should pick into TextField props
19
- focused = props.focused, gutterBottom = props.gutterBottom, helperText = props.helperText, color = props.color, label = props.label, id = props.id, className = props.className, validate = props.validate, InputProps = props.InputProps, required = props.required, fullWidth = props.fullWidth, disabled = props.disabled, error = props.error, rest = tslib_1.__rest(props, ["children", "onChange", "defaultValue", "SelectInputProps", "MenuProps", "textVariant", "placeholder", "renderValue", "displayEmpty", "variant", "size", "value", "virtualize", "focused", "gutterBottom", "helperText", "color", "label", "id", "className", "validate", "InputProps", "required", "fullWidth", "disabled", "error"]);
19
+ focused = props.focused, gutterBottom = props.gutterBottom, helperText = props.helperText, color = props.color, label = props.label, id = props.id, className = props.className, title = props.title, validate = props.validate, InputProps = props.InputProps, required = props.required, fullWidth = props.fullWidth, disabled = props.disabled, error = props.error, rest = tslib_1.__rest(props, ["children", "onChange", "defaultValue", "SelectInputProps", "MenuProps", "textVariant", "placeholder", "renderValue", "displayEmpty", "variant", "size", "value", "virtualize", "focused", "gutterBottom", "helperText", "color", "label", "id", "className", "title", "validate", "InputProps", "required", "fullWidth", "disabled", "error"]);
20
20
  var hasDefaultValue = foundation_1.hasValue(defaultValue);
21
21
  var nonValue = (!foundation_1.hasValue(value) && !hasDefaultValue) ||
22
22
  // * if that can't displayEmpty, and that value === '', same as no value
@@ -70,7 +70,7 @@ var _RcSelect = react_1.forwardRef(function (inProps, ref) {
70
70
  }, [InputProps, placeholder, nonValue, applyClasses, variant]);
71
71
  var valueIsNumber = typeof value === 'number';
72
72
  var currValue = valueIsNumber ? value : value || '';
73
- return (react_1.default.createElement(utils_1.RcSelectTextField, { ref: ref, id: id, className: className,
73
+ return (react_1.default.createElement(utils_1.RcSelectTextField, { ref: ref, id: id, className: className, title: title,
74
74
  // for when that is select type that type will be select onChange, just any for ignore that
75
75
  onChange: onChange, color: color, select: true, focused: focused, gutterBottom: gutterBottom, helperText: helperText, label: label,
76
76
  // when that has defaultValue, and that value always to be undefined
@@ -14,7 +14,7 @@ var _RcSelect = forwardRef(function (inProps, ref) {
14
14
  var props = useThemeProps({ props: inProps, name: 'RcSelect' });
15
15
  var children = props.children, onChange = props.onChange, defaultValue = props.defaultValue, SelectInputPropsProp = props.SelectInputProps, MenuProps = props.MenuProps, textVariant = props.textVariant, placeholder = props.placeholder, renderValue = props.renderValue, displayEmpty = props.displayEmpty, variant = props.variant, size = props.size, value = props.value, virtualize = props.virtualize,
16
16
  // * below is should pick into TextField props
17
- focused = props.focused, gutterBottom = props.gutterBottom, helperText = props.helperText, color = props.color, label = props.label, id = props.id, className = props.className, validate = props.validate, InputProps = props.InputProps, required = props.required, fullWidth = props.fullWidth, disabled = props.disabled, error = props.error, rest = __rest(props, ["children", "onChange", "defaultValue", "SelectInputProps", "MenuProps", "textVariant", "placeholder", "renderValue", "displayEmpty", "variant", "size", "value", "virtualize", "focused", "gutterBottom", "helperText", "color", "label", "id", "className", "validate", "InputProps", "required", "fullWidth", "disabled", "error"]);
17
+ focused = props.focused, gutterBottom = props.gutterBottom, helperText = props.helperText, color = props.color, label = props.label, id = props.id, className = props.className, title = props.title, validate = props.validate, InputProps = props.InputProps, required = props.required, fullWidth = props.fullWidth, disabled = props.disabled, error = props.error, rest = __rest(props, ["children", "onChange", "defaultValue", "SelectInputProps", "MenuProps", "textVariant", "placeholder", "renderValue", "displayEmpty", "variant", "size", "value", "virtualize", "focused", "gutterBottom", "helperText", "color", "label", "id", "className", "title", "validate", "InputProps", "required", "fullWidth", "disabled", "error"]);
18
18
  var hasDefaultValue = hasValue(defaultValue);
19
19
  var nonValue = (!hasValue(value) && !hasDefaultValue) ||
20
20
  // * if that can't displayEmpty, and that value === '', same as no value
@@ -68,7 +68,7 @@ var _RcSelect = forwardRef(function (inProps, ref) {
68
68
  }, [InputProps, placeholder, nonValue, applyClasses, variant]);
69
69
  var valueIsNumber = typeof value === 'number';
70
70
  var currValue = valueIsNumber ? value : value || '';
71
- return (React.createElement(RcSelectTextField, { ref: ref, id: id, className: className,
71
+ return (React.createElement(RcSelectTextField, { ref: ref, id: id, className: className, title: title,
72
72
  // for when that is select type that type will be select onChange, just any for ignore that
73
73
  onChange: onChange, color: color, select: true, focused: focused, gutterBottom: gutterBottom, helperText: helperText, label: label,
74
74
  // when that has defaultValue, and that value always to be undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ringcentral/juno",
3
- "version": "2.13.1",
3
+ "version": "2.14.0",
4
4
  "author": "RingCentral",
5
5
  "license": "MIT",
6
6
  "main": "./index.js",