cozy-ui 140.1.1 → 140.1.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [140.1.2](https://github.com/cozy/cozy-ui/compare/v140.1.1...v140.1.2) (2026-07-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **Autocomplete:** Small size is now the same as TextField component ([f4b75a5](https://github.com/cozy/cozy-ui/commit/f4b75a5))
7
+
1
8
  ## [140.1.1](https://github.com/cozy/cozy-ui/compare/v140.1.0...v140.1.1) (2026-06-25)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui",
3
- "version": "140.1.1",
3
+ "version": "140.1.2",
4
4
  "description": "Cozy apps UI SDK",
5
5
  "engines": {
6
6
  "node": "24.x"
@@ -11,7 +11,13 @@ const options = ['one', 'two', 'three']
11
11
  <DemoProvider>
12
12
  <Autocomplete
13
13
  options={options}
14
- renderInput={params => <TextField {...params} label="Basic" />}
14
+ renderInput={params => <TextField {...params} label="Basic" variant="outlined" />}
15
+ />
16
+ <Autocomplete
17
+ className="u-mt-1"
18
+ options={options}
19
+ size="small"
20
+ renderInput={params => <TextField {...params} label="Basic" variant="outlined" />}
15
21
  />
16
22
  </DemoProvider>
17
23
  ```
@@ -959,6 +959,53 @@ export const makeLightOverrides = theme => ({
959
959
  padding: '8px 12px'
960
960
  }
961
961
  },
962
+ MuiAutocomplete: {
963
+ inputRoot: {
964
+ '&[class*="MuiInput-root"]': {
965
+ paddingBottom: undefined,
966
+ '& $input': {
967
+ padding: undefined
968
+ }
969
+ },
970
+ '&[class*="MuiInput-root"][class*="MuiInput-marginDense"]': {
971
+ '& $input': {
972
+ padding: undefined
973
+ },
974
+ '& $input:first-child': {
975
+ padding: undefined
976
+ }
977
+ },
978
+ '&[class*="MuiOutlinedInput-root"]': {
979
+ padding: undefined,
980
+ '& $input': {
981
+ padding: undefined
982
+ },
983
+ '& $input:first-child': {
984
+ paddingLeft: undefined
985
+ }
986
+ },
987
+ '&[class*="MuiOutlinedInput-root"][class*="MuiOutlinedInput-marginDense"]':
988
+ {
989
+ padding: undefined,
990
+ '& $input': {
991
+ padding: undefined
992
+ }
993
+ },
994
+ '&[class*="MuiFilledInput-root"]': {
995
+ paddingTop: undefined,
996
+ paddingLeft: undefined,
997
+ '& $input': {
998
+ padding: undefined
999
+ }
1000
+ },
1001
+ '&[class*="MuiFilledInput-root"][class*="MuiFilledInput-marginDense"]': {
1002
+ paddingBottom: undefined,
1003
+ '& $input': {
1004
+ padding: undefined
1005
+ }
1006
+ }
1007
+ }
1008
+ },
962
1009
  MuiIconButton: {
963
1010
  root: {
964
1011
  color: theme.palette.text.secondary,
@@ -981,6 +981,52 @@ export function makeDarkOverrides(theme: any): {
981
981
  padding: string;
982
982
  };
983
983
  };
984
+ MuiAutocomplete: {
985
+ inputRoot: {
986
+ '&[class*="MuiInput-root"]': {
987
+ paddingBottom: undefined;
988
+ '& $input': {
989
+ padding: undefined;
990
+ };
991
+ };
992
+ '&[class*="MuiInput-root"][class*="MuiInput-marginDense"]': {
993
+ '& $input': {
994
+ padding: undefined;
995
+ };
996
+ '& $input:first-child': {
997
+ padding: undefined;
998
+ };
999
+ };
1000
+ '&[class*="MuiOutlinedInput-root"]': {
1001
+ padding: undefined;
1002
+ '& $input': {
1003
+ padding: undefined;
1004
+ };
1005
+ '& $input:first-child': {
1006
+ paddingLeft: undefined;
1007
+ };
1008
+ };
1009
+ '&[class*="MuiOutlinedInput-root"][class*="MuiOutlinedInput-marginDense"]': {
1010
+ padding: undefined;
1011
+ '& $input': {
1012
+ padding: undefined;
1013
+ };
1014
+ };
1015
+ '&[class*="MuiFilledInput-root"]': {
1016
+ paddingTop: undefined;
1017
+ paddingLeft: undefined;
1018
+ '& $input': {
1019
+ padding: undefined;
1020
+ };
1021
+ };
1022
+ '&[class*="MuiFilledInput-root"][class*="MuiFilledInput-marginDense"]': {
1023
+ paddingBottom: undefined;
1024
+ '& $input': {
1025
+ padding: undefined;
1026
+ };
1027
+ };
1028
+ };
1029
+ };
984
1030
  MuiIconButton: {
985
1031
  root: {
986
1032
  color: any;
@@ -981,6 +981,52 @@ export function makeLightOverrides(theme: any): {
981
981
  padding: string;
982
982
  };
983
983
  };
984
+ MuiAutocomplete: {
985
+ inputRoot: {
986
+ '&[class*="MuiInput-root"]': {
987
+ paddingBottom: undefined;
988
+ '& $input': {
989
+ padding: undefined;
990
+ };
991
+ };
992
+ '&[class*="MuiInput-root"][class*="MuiInput-marginDense"]': {
993
+ '& $input': {
994
+ padding: undefined;
995
+ };
996
+ '& $input:first-child': {
997
+ padding: undefined;
998
+ };
999
+ };
1000
+ '&[class*="MuiOutlinedInput-root"]': {
1001
+ padding: undefined;
1002
+ '& $input': {
1003
+ padding: undefined;
1004
+ };
1005
+ '& $input:first-child': {
1006
+ paddingLeft: undefined;
1007
+ };
1008
+ };
1009
+ '&[class*="MuiOutlinedInput-root"][class*="MuiOutlinedInput-marginDense"]': {
1010
+ padding: undefined;
1011
+ '& $input': {
1012
+ padding: undefined;
1013
+ };
1014
+ };
1015
+ '&[class*="MuiFilledInput-root"]': {
1016
+ paddingTop: undefined;
1017
+ paddingLeft: undefined;
1018
+ '& $input': {
1019
+ padding: undefined;
1020
+ };
1021
+ };
1022
+ '&[class*="MuiFilledInput-root"][class*="MuiFilledInput-marginDense"]': {
1023
+ paddingBottom: undefined;
1024
+ '& $input': {
1025
+ padding: undefined;
1026
+ };
1027
+ };
1028
+ };
1029
+ };
984
1030
  MuiIconButton: {
985
1031
  root: {
986
1032
  color: any;
@@ -906,6 +906,52 @@ export var makeLightOverrides = function makeLightOverrides(theme) {
906
906
  padding: '8px 12px'
907
907
  }
908
908
  },
909
+ MuiAutocomplete: {
910
+ inputRoot: {
911
+ '&[class*="MuiInput-root"]': {
912
+ paddingBottom: undefined,
913
+ '& $input': {
914
+ padding: undefined
915
+ }
916
+ },
917
+ '&[class*="MuiInput-root"][class*="MuiInput-marginDense"]': {
918
+ '& $input': {
919
+ padding: undefined
920
+ },
921
+ '& $input:first-child': {
922
+ padding: undefined
923
+ }
924
+ },
925
+ '&[class*="MuiOutlinedInput-root"]': {
926
+ padding: undefined,
927
+ '& $input': {
928
+ padding: undefined
929
+ },
930
+ '& $input:first-child': {
931
+ paddingLeft: undefined
932
+ }
933
+ },
934
+ '&[class*="MuiOutlinedInput-root"][class*="MuiOutlinedInput-marginDense"]': {
935
+ padding: undefined,
936
+ '& $input': {
937
+ padding: undefined
938
+ }
939
+ },
940
+ '&[class*="MuiFilledInput-root"]': {
941
+ paddingTop: undefined,
942
+ paddingLeft: undefined,
943
+ '& $input': {
944
+ padding: undefined
945
+ }
946
+ },
947
+ '&[class*="MuiFilledInput-root"][class*="MuiFilledInput-marginDense"]': {
948
+ paddingBottom: undefined,
949
+ '& $input': {
950
+ padding: undefined
951
+ }
952
+ }
953
+ }
954
+ },
909
955
  MuiIconButton: {
910
956
  root: {
911
957
  color: theme.palette.text.secondary,