imbric-theme 0.6.8 → 0.6.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,11 @@
23
23
  outline: none;
24
24
  }
25
25
 
26
+ .input:disabled::placeholder {
27
+ color: #9a9a9a;
28
+ font-weight: var(--font-weight-light);
29
+ }
30
+
26
31
  .input:disabled {
27
32
  background: #dedede;
28
33
  }
@@ -5,7 +5,7 @@ import styles from './DynamicSelect.module.css'
5
5
  import withStyles from '../../hocs/withStyles'
6
6
 
7
7
 
8
- export const DynamicSelect = ({ getStyles, optionsSelect, defaultValue, placeholder, isMulti, isClearable, isDisabled, isLoading, isRtl, isSearchable, isInline, onChange, onFocus, onBlur, closeMenuOnSelect }) => {
8
+ export const DynamicSelect = ({ getStyles, optionsSelect, value, defaultValue, placeholder, isMulti, isClearable, isDisabled, isLoading, isRtl, isSearchable, isInline, onChange, onFocus, onBlur, closeMenuOnSelect }) => {
9
9
 
10
10
 
11
11
  const customStyles = {
@@ -74,6 +74,7 @@ export const DynamicSelect = ({ getStyles, optionsSelect, defaultValue, placehol
74
74
  styles={customStyles}
75
75
  options={optionsSelect}
76
76
  defaultValue={defaultValue}
77
+ value={value}
77
78
  isMulti={isMulti}
78
79
  isClearable={isClearable}
79
80
  isDisabled={isDisabled}
@@ -93,6 +94,7 @@ export const DynamicSelect = ({ getStyles, optionsSelect, defaultValue, placehol
93
94
  DynamicSelect.propTypes = {
94
95
  getStyles: PropTypes.func.isRequired,
95
96
  defaultValue: PropTypes.any,
97
+ value: PropTypes.any,
96
98
  placeholder: PropTypes.string,
97
99
  isMulti: PropTypes.bool,
98
100
  isClearable: PropTypes.bool,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imbric-theme",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "description": "Components library IMBRIC",
5
5
  "private": false,
6
6
  "main": "index.js",