@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.
- package/components/AutoComplete/AutoComplete.jsx +13 -1
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/main.9ac140bf.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/main.d03a93ad.iframe.bundle.js +0 -1
|
@@ -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)
|