sag_components 1.0.229 → 1.0.231

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.
@@ -62,13 +62,16 @@ var Datepicker = function Datepicker(_ref) {
62
62
  paddingLeft: "10px !important",
63
63
  borderRadius: "12px",
64
64
  width: width
65
+ //color: labelColor,
65
66
  },
67
+
66
68
  "& .MuiOutlinedInput-root": {
67
69
  borderRadius: "12px",
68
70
  fontFamily: "Poppins",
69
71
  fontSize: "14px",
70
72
  fontWidth: 400,
71
73
  width: width,
74
+ //color: labelColor,
72
75
  legend: {
73
76
  marginLeft: "10px"
74
77
  },
@@ -78,16 +81,18 @@ var Datepicker = function Datepicker(_ref) {
78
81
  paddingLeft: "10px"
79
82
  },
80
83
  "& .MuiOutlinedInput-notchedOutline": {
81
- borderColor: "#E7E7E7",
82
- color: labelColor
84
+ borderColor: "#E7E7E7"
85
+ //color: labelColor,
83
86
  },
87
+
84
88
  "&:hover .MuiOutlinedInput-notchedOutline": {
85
- borderColor: labelColor,
86
- color: labelColor
89
+ borderColor: disabled ? "#E7E7E7" : ""
90
+ //color: labelColor,
87
91
  },
92
+
88
93
  "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
89
- borderColor: labelColor,
90
- color: labelColor
94
+ //borderColor: labelColor,
95
+ //color: labelColor,
91
96
  }
92
97
  },
93
98
  "& .MuiInputLabel-outlined:not(.MuiInputLabel-shrink)": {
@@ -96,12 +101,12 @@ var Datepicker = function Datepicker(_ref) {
96
101
  // after changing its padding-left.
97
102
  transform: "translate(14px, 18px) scale(1);",
98
103
  fontSize: "14px",
99
- color: "#212121"
104
+ color: disabled ? "#E7E7E7" : valueState ? labelColor : "#757575"
100
105
  },
101
106
  "& .MuiInputLabel-outlined": {
102
107
  fontFamily: "Poppins",
103
108
  paddingLeft: "10px",
104
- color: labelColor,
109
+ color: disabled ? "#E7E7E7" : valueState ? labelColor : "#757575",
105
110
  fontWidth: 400,
106
111
  fontSize: "18px"
107
112
  },
@@ -110,6 +115,7 @@ var Datepicker = function Datepicker(_ref) {
110
115
  paddingLeft: "4px",
111
116
  paddingRight: 0,
112
117
  background: "white"
118
+ //color: labelColor,
113
119
  }
114
120
  };
115
121
  } else {
@@ -111,7 +111,7 @@ var Dropdown = function Dropdown(_ref) {
111
111
  "& .MuiOutlinedInput-root": {
112
112
  borderRadius: "12px",
113
113
  legend: {
114
- marginLeft: "12px"
114
+ marginLeft: "10px"
115
115
  }
116
116
  },
117
117
  "& .MuiAutocomplete-inputRoot": {
@@ -123,16 +123,13 @@ var Dropdown = function Dropdown(_ref) {
123
123
  paddingLeft: "10px"
124
124
  },
125
125
  "& .MuiOutlinedInput-notchedOutline": {
126
- borderColor: "#E7E7E7",
127
- color: labelColor
126
+ borderColor: "#E7E7E7"
128
127
  },
129
128
  "&:hover .MuiOutlinedInput-notchedOutline": {
130
- borderColor: labelColor,
131
- color: labelColor
129
+ borderColor: disabled ? "#E7E7E7" : ""
132
130
  },
133
131
  "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
134
- borderColor: labelColor,
135
- color: labelColor
132
+ //borderColor: "#757575",
136
133
  }
137
134
  },
138
135
  "& .MuiInputLabel-outlined:not(.MuiInputLabel-shrink)": {
@@ -141,11 +138,11 @@ var Dropdown = function Dropdown(_ref) {
141
138
  // after changing its padding-left.
142
139
  transform: "translate(14px, 18px) scale(1);",
143
140
  fontSize: "14px",
144
- color: "#212121"
141
+ color: disabled ? "#E7E7E7" : currentInputValue && currentInputValue.length > 0 ? "#212121" : "#757575"
145
142
  },
146
143
  "& .MuiInputLabel-outlined": {
147
144
  paddingLeft: "10px",
148
- color: labelColor,
145
+ color: disabled ? "#E7E7E7" : labelColor,
149
146
  fontSize: "18px"
150
147
  },
151
148
  "& .MuiInputLabel-shrink": {
@@ -165,6 +162,7 @@ var Dropdown = function Dropdown(_ref) {
165
162
  syntheticBaseEvent: event,
166
163
  inputValue: newInputValue
167
164
  });
165
+ console.log("newInputValue", newInputValue);
168
166
  };
169
167
  var onChangeHandler = function onChangeHandler(event, newValue) {
170
168
  setCurrentOption({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.229",
3
+ "version": "1.0.231",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {