@selfcommunity/react-theme-default 0.4.2-alpha.0 → 0.4.2-alpha.1

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.
@@ -708,23 +708,31 @@ declare const theme: {
708
708
  };
709
709
  SCCategoryFollowersButton: {
710
710
  styleOverrides: {
711
- root: ({ theme }: any) => {
711
+ root: ({ theme, followers }: any) => {
712
712
  padding: any;
713
- '& .MuiAvatarGroup-root .MuiAvatar-root': {
714
- width: string;
715
- height: any;
716
- border: string;
717
- fontSize: string;
718
- '&.MuiAvatar-colorDefault': {
719
- marginLeft: number;
720
- backgroundColor: string;
721
- color: any;
713
+ '& .MuiAvatarGroup-root': {
714
+ '& .MuiAvatar-root': {
715
+ '&:first-of-type': {
716
+ width: any;
717
+ };
718
+ '&:not(:first-of-type)': {
719
+ width: any;
720
+ };
721
+ height: any;
722
722
  border: string;
723
- borderRadius: number;
724
- padding: number;
723
+ fontSize: string;
724
+ '&.MuiAvatar-colorDefault': {
725
+ marginLeft: number;
726
+ backgroundColor: string;
727
+ color: any;
728
+ border: string;
729
+ borderRadius: number;
730
+ padding: number;
731
+ };
725
732
  };
726
733
  };
727
734
  };
735
+ dialogRoot: () => {};
728
736
  };
729
737
  };
730
738
  SCCategoryHeader: {
@@ -3277,23 +3285,31 @@ declare const theme: {
3277
3285
  };
3278
3286
  SCGroupMembersButton: {
3279
3287
  styleOverrides: {
3280
- root: ({ theme }: any) => {
3288
+ root: ({ theme, subscribers }: any) => {
3281
3289
  padding: any;
3282
- '& .MuiAvatarGroup-root .MuiAvatar-root': {
3283
- width: string;
3284
- height: any;
3285
- border: string;
3286
- fontSize: string;
3287
- '&.MuiAvatar-colorDefault': {
3288
- marginLeft: number;
3289
- backgroundColor: string;
3290
- color: any;
3290
+ '& .MuiAvatarGroup-root': {
3291
+ '& .MuiAvatar-root': {
3292
+ '&:first-of-type': {
3293
+ width: any;
3294
+ };
3295
+ '&:not(:first-of-type)': {
3296
+ width: any;
3297
+ };
3298
+ height: any;
3291
3299
  border: string;
3292
- borderRadius: number;
3293
- padding: number;
3300
+ fontSize: string;
3301
+ '&.MuiAvatar-colorDefault': {
3302
+ marginLeft: number;
3303
+ backgroundColor: string;
3304
+ color: any;
3305
+ border: string;
3306
+ borderRadius: number;
3307
+ padding: number;
3308
+ };
3294
3309
  };
3295
3310
  };
3296
3311
  };
3312
+ dialogRoot: () => {};
3297
3313
  };
3298
3314
  };
3299
3315
  SCGroupMembersWidget: {
@@ -7710,12 +7726,10 @@ declare const theme: {
7710
7726
  };
7711
7727
  SCEventParticipantsButton: {
7712
7728
  styleOverrides: {
7713
- root: ({ theme }: {
7729
+ root: ({ theme, followers }: {
7714
7730
  theme: any;
7731
+ followers: any;
7715
7732
  }) => {
7716
- /**
7717
- * Style fragments - Imports - Start
7718
- */
7719
7733
  gap: any;
7720
7734
  marginTop: string;
7721
7735
  minWidth: string;
@@ -7723,7 +7737,12 @@ declare const theme: {
7723
7737
  backgroundColor: string;
7724
7738
  };
7725
7739
  '& .MuiAvatarGroup-avatar': {
7726
- width: string;
7740
+ '&:first-of-type': {
7741
+ width: any;
7742
+ };
7743
+ '&:not(:first-of-type)': {
7744
+ width: any;
7745
+ };
7727
7746
  height: any;
7728
7747
  border: string;
7729
7748
  fontSize: string;
package/lib/esm/index.js CHANGED
@@ -233,8 +233,6 @@ const theme = {
233
233
  MuiAppBar,
234
234
  MuiAutocomplete,
235
235
  MuiAvatar,
236
- // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
237
- // @ts-ignore
238
236
  MuiButton,
239
237
  MuiContainer,
240
238
  MuiDialog,