@selfcommunity/react-theme-default 1.2.5-alpha.2 → 1.2.5-alpha.3

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.
@@ -80,7 +80,7 @@ declare const Component: {
80
80
  cursor: string;
81
81
  };
82
82
  '& .SCMediaFile-title .MuiTypography-root': {
83
- color: string;
83
+ color: any;
84
84
  backgroundColor: any;
85
85
  opacity: number;
86
86
  };
@@ -163,9 +163,7 @@ declare const Component: {
163
163
  zIndex: number;
164
164
  };
165
165
  triggerMenuRoot: () => {};
166
- docRoot: ({ theme }: {
167
- theme: any;
168
- }) => {
166
+ docRoot: ({ theme }: any) => {
169
167
  border: string;
170
168
  borderRadius: string;
171
169
  padding: any;
@@ -199,13 +197,9 @@ declare const Component: {
199
197
  };
200
198
  '& .SCMediaFile-action-wrapper': {
201
199
  flexDirection: string;
200
+ alignItems: string;
202
201
  gap: string;
203
202
  marginLeft: string;
204
- '& .SCMediaFile-action': {
205
- '&:hover': {
206
- backgroundColor: any;
207
- };
208
- };
209
203
  };
210
204
  };
211
205
  };
@@ -85,8 +85,8 @@ const Component = {
85
85
  cursor: 'pointer'
86
86
  },
87
87
  '& .SCMediaFile-title .MuiTypography-root': {
88
- color: '#FFF',
89
- backgroundColor: theme.palette.getContrastText('#FFF'),
88
+ color: theme.palette.common.white,
89
+ backgroundColor: theme.palette.getContrastText(theme.palette.common.white),
90
90
  opacity: 0.6
91
91
  },
92
92
  '& .SCMediaFile-icon-file': {
@@ -204,13 +204,9 @@ const Component = {
204
204
  },
205
205
  '& .SCMediaFile-action-wrapper': {
206
206
  flexDirection: 'row',
207
+ alignItems: 'center',
207
208
  gap: '8px',
208
- marginLeft: 'auto',
209
- '& .SCMediaFile-action': {
210
- '&:hover': {
211
- backgroundColor: theme.palette.common.white
212
- }
213
- }
209
+ marginLeft: 'auto'
214
210
  }
215
211
  })
216
212
  }
@@ -6699,7 +6699,7 @@ declare const theme: {
6699
6699
  cursor: string;
6700
6700
  };
6701
6701
  '& .SCMediaFile-title .MuiTypography-root': {
6702
- color: string;
6702
+ color: any;
6703
6703
  backgroundColor: any;
6704
6704
  opacity: number;
6705
6705
  };
@@ -6782,9 +6782,7 @@ declare const theme: {
6782
6782
  zIndex: number;
6783
6783
  };
6784
6784
  triggerMenuRoot: () => {};
6785
- docRoot: ({ theme }: {
6786
- theme: any;
6787
- }) => {
6785
+ docRoot: ({ theme }: any) => {
6788
6786
  border: string;
6789
6787
  borderRadius: string;
6790
6788
  padding: any;
@@ -6818,13 +6816,9 @@ declare const theme: {
6818
6816
  };
6819
6817
  '& .SCMediaFile-action-wrapper': {
6820
6818
  flexDirection: string;
6819
+ alignItems: string;
6821
6820
  gap: string;
6822
6821
  marginLeft: string;
6823
- '& .SCMediaFile-action': {
6824
- '&:hover': {
6825
- backgroundColor: any;
6826
- };
6827
- };
6828
6822
  };
6829
6823
  };
6830
6824
  };
@@ -80,7 +80,7 @@ declare const Component: {
80
80
  cursor: string;
81
81
  };
82
82
  '& .SCMediaFile-title .MuiTypography-root': {
83
- color: string;
83
+ color: any;
84
84
  backgroundColor: any;
85
85
  opacity: number;
86
86
  };
@@ -163,9 +163,7 @@ declare const Component: {
163
163
  zIndex: number;
164
164
  };
165
165
  triggerMenuRoot: () => {};
166
- docRoot: ({ theme }: {
167
- theme: any;
168
- }) => {
166
+ docRoot: ({ theme }: any) => {
169
167
  border: string;
170
168
  borderRadius: string;
171
169
  padding: any;
@@ -199,13 +197,9 @@ declare const Component: {
199
197
  };
200
198
  '& .SCMediaFile-action-wrapper': {
201
199
  flexDirection: string;
200
+ alignItems: string;
202
201
  gap: string;
203
202
  marginLeft: string;
204
- '& .SCMediaFile-action': {
205
- '&:hover': {
206
- backgroundColor: any;
207
- };
208
- };
209
203
  };
210
204
  };
211
205
  };
@@ -83,8 +83,8 @@ const Component = {
83
83
  cursor: 'pointer'
84
84
  },
85
85
  '& .SCMediaFile-title .MuiTypography-root': {
86
- color: '#FFF',
87
- backgroundColor: theme.palette.getContrastText('#FFF'),
86
+ color: theme.palette.common.white,
87
+ backgroundColor: theme.palette.getContrastText(theme.palette.common.white),
88
88
  opacity: 0.6
89
89
  },
90
90
  '& .SCMediaFile-icon-file': {
@@ -202,13 +202,9 @@ const Component = {
202
202
  },
203
203
  '& .SCMediaFile-action-wrapper': {
204
204
  flexDirection: 'row',
205
+ alignItems: 'center',
205
206
  gap: '8px',
206
- marginLeft: 'auto',
207
- '& .SCMediaFile-action': {
208
- '&:hover': {
209
- backgroundColor: theme.palette.common.white
210
- }
211
- }
207
+ marginLeft: 'auto'
212
208
  }
213
209
  })
214
210
  }
@@ -6699,7 +6699,7 @@ declare const theme: {
6699
6699
  cursor: string;
6700
6700
  };
6701
6701
  '& .SCMediaFile-title .MuiTypography-root': {
6702
- color: string;
6702
+ color: any;
6703
6703
  backgroundColor: any;
6704
6704
  opacity: number;
6705
6705
  };
@@ -6782,9 +6782,7 @@ declare const theme: {
6782
6782
  zIndex: number;
6783
6783
  };
6784
6784
  triggerMenuRoot: () => {};
6785
- docRoot: ({ theme }: {
6786
- theme: any;
6787
- }) => {
6785
+ docRoot: ({ theme }: any) => {
6788
6786
  border: string;
6789
6787
  borderRadius: string;
6790
6788
  padding: any;
@@ -6818,13 +6816,9 @@ declare const theme: {
6818
6816
  };
6819
6817
  '& .SCMediaFile-action-wrapper': {
6820
6818
  flexDirection: string;
6819
+ alignItems: string;
6821
6820
  gap: string;
6822
6821
  marginLeft: string;
6823
- '& .SCMediaFile-action': {
6824
- '&:hover': {
6825
- backgroundColor: any;
6826
- };
6827
- };
6828
6822
  };
6829
6823
  };
6830
6824
  };