@madie/madie-design-system 1.2.1 → 1.2.2

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,6 @@ const autoCompleteStyles = {
15
15
  marginTop: "8px",
16
16
  borderRadius: "3px",
17
17
  height: 40,
18
- border: "1px solid #DDDDDD",
19
18
  "& .MuiOutlinedInput-notchedOutline": {
20
19
  borderRadius: "3px",
21
20
  "& legend": {
@@ -183,6 +182,14 @@ const AutoComplete = ({
183
182
  return (
184
183
  <TextField
185
184
  sx={{
185
+ border: "none",
186
+ "& .MuiOutlinedInput-notchedOutline": {
187
+ borderRadius: "3px",
188
+ borderColor: "#8C8C8C",
189
+ "& legend": {
190
+ width: 0,
191
+ },
192
+ },
186
193
  "& .MuiInputBase-input": {
187
194
  opacity: 1,
188
195
  color: "#333",
@@ -205,6 +212,11 @@ const AutoComplete = ({
205
212
  ? renderOptionMultiple(props, option, selected)
206
213
  : renderOptionSingle(props, option);
207
214
  }}
215
+ ChipProps={{sx:{
216
+ '& .MuiChip-deleteIcon': {
217
+ color: "#757575",
218
+ },
219
+ }}}
208
220
  {...rest}
209
221
  onChange={(_event, selectedVal, reason, detail ) =>
210
222
  onChange(id, selectedVal || "", reason, detail)