@selfcommunity/react-theme-default 0.1.9-alpha.2 → 0.1.9-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.
@@ -20,6 +20,13 @@ declare const Component: {
20
20
  backgroundColor: any;
21
21
  };
22
22
  };
23
+ '& .SCGroupFeedTemplate-tab-content': {
24
+ '& .SCGroupFeedTemplate-members': {
25
+ display: string;
26
+ flexDirection: string;
27
+ gap: any;
28
+ };
29
+ };
23
30
  };
24
31
  tabRoot: ({ theme }: any) => {
25
32
  textTransform: string;
@@ -17,10 +17,17 @@ const Component = {
17
17
  backgroundColor: 'transparent'
18
18
  },
19
19
  '& .MuiTabs-indicatorSpan': {
20
- maxWidth: '30%',
20
+ maxWidth: '40%',
21
21
  width: '100%',
22
22
  backgroundColor: theme.palette.secondary.main
23
23
  }
24
+ },
25
+ '& .SCGroupFeedTemplate-tab-content': {
26
+ '& .SCGroupFeedTemplate-members': {
27
+ display: 'flex',
28
+ flexDirection: 'column',
29
+ gap: theme.spacing(2)
30
+ }
24
31
  }
25
32
  }),
26
33
  tabRoot: ({ theme }) => ({
@@ -1,6 +1,10 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
- root: ({ theme }: any) => {};
3
+ root: ({ theme }: any) => {
4
+ '& .SCGroupMembersWidget-button': {
5
+ marginTop: any;
6
+ };
7
+ };
4
8
  skeletonRoot: ({ theme }: any) => {};
5
9
  dialogRoot: ({ theme }: any) => {};
6
10
  };
@@ -2,7 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const Component = {
4
4
  styleOverrides: {
5
- root: ({ theme }) => ({}),
5
+ root: ({ theme }) => ({
6
+ '& .SCGroupMembersWidget-button': {
7
+ marginTop: theme.spacing(1)
8
+ }
9
+ }),
6
10
  skeletonRoot: ({ theme }) => ({}),
7
11
  dialogRoot: ({ theme }) => ({})
8
12
  }
@@ -0,0 +1,7 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ skeletonRoot: ({ theme }: any) => {};
5
+ };
6
+ };
7
+ export default Component;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({}),
6
+ skeletonRoot: ({ theme }) => ({})
7
+ }
8
+ };
9
+ exports.default = Component;
@@ -24,7 +24,7 @@ declare const Component: {
24
24
  flexGrow: number;
25
25
  textAlign: string;
26
26
  alignSelf: string;
27
- '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
27
+ '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
28
28
  paddingTop: number;
29
29
  paddingLeft: any;
30
30
  paddingRight: any;
@@ -15,7 +15,7 @@ const Component = {
15
15
  flexGrow: 1,
16
16
  textAlign: 'center',
17
17
  alignSelf: 'end',
18
- '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
18
+ '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
19
19
  paddingTop: 12,
20
20
  paddingLeft: theme.spacing(1),
21
21
  paddingRight: theme.spacing(1),
@@ -2,9 +2,6 @@ declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
4
  backgroundColor: string;
5
- '& .MuiIcon-root': {
6
- fontSize: string;
7
- };
8
5
  '& .SCPrivateMessageEditor-message-input': {
9
6
  width: string;
10
7
  };
@@ -5,9 +5,6 @@ const Component = {
5
5
  styleOverrides: {
6
6
  root: ({ theme }) => ({
7
7
  backgroundColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.activatedOpacity),
8
- '& .MuiIcon-root': {
9
- fontSize: '1.57rem'
10
- },
11
8
  '& .SCPrivateMessageEditor-message-input': {
12
9
  width: '100%'
13
10
  },
@@ -3254,7 +3254,7 @@ declare const theme: {
3254
3254
  flexGrow: number;
3255
3255
  textAlign: string;
3256
3256
  alignSelf: string;
3257
- '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
3257
+ '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
3258
3258
  paddingTop: number;
3259
3259
  paddingLeft: any;
3260
3260
  paddingRight: any;
@@ -4886,9 +4886,6 @@ declare const theme: {
4886
4886
  styleOverrides: {
4887
4887
  root: ({ theme }: any) => {
4888
4888
  backgroundColor: string;
4889
- '& .MuiIcon-root': {
4890
- fontSize: string;
4891
- };
4892
4889
  '& .SCPrivateMessageEditor-message-input': {
4893
4890
  width: string;
4894
4891
  };
@@ -5937,6 +5934,13 @@ declare const theme: {
5937
5934
  backgroundColor: any;
5938
5935
  };
5939
5936
  };
5937
+ '& .SCGroupFeedTemplate-tab-content': {
5938
+ '& .SCGroupFeedTemplate-members': {
5939
+ display: string;
5940
+ flexDirection: string;
5941
+ gap: any;
5942
+ };
5943
+ };
5940
5944
  };
5941
5945
  tabRoot: ({ theme }: any) => {
5942
5946
  textTransform: string;
@@ -5952,7 +5956,11 @@ declare const theme: {
5952
5956
  };
5953
5957
  SCGroupMembersWidget: {
5954
5958
  styleOverrides: {
5955
- root: ({ theme }: any) => {};
5959
+ root: ({ theme }: any) => {
5960
+ '& .SCGroupMembersWidget-button': {
5961
+ marginTop: any;
5962
+ };
5963
+ };
5956
5964
  skeletonRoot: ({ theme }: any) => {};
5957
5965
  dialogRoot: ({ theme }: any) => {};
5958
5966
  };
@@ -5964,6 +5972,12 @@ declare const theme: {
5964
5972
  dialogRoot: ({ theme }: any) => {};
5965
5973
  };
5966
5974
  };
5975
+ SCGroups: {
5976
+ styleOverrides: {
5977
+ root: ({ theme }: any) => {};
5978
+ skeletonRoot: ({ theme }: any) => {};
5979
+ };
5980
+ };
5967
5981
  };
5968
5982
  selfcommunity: {
5969
5983
  user: {
package/lib/cjs/index.js CHANGED
@@ -132,6 +132,7 @@ const SCGroupTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupT
132
132
  const SCGroupFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupFeedTemplate"));
133
133
  const SCGroupMembersWidget_1 = tslib_1.__importDefault(require("./components/SCGroupMembersWidget"));
134
134
  const SCGroupRequestsWidget_1 = tslib_1.__importDefault(require("./components/SCGroupRequestsWidget"));
135
+ const SCGroups_1 = tslib_1.__importDefault(require("./components/SCGroups"));
135
136
  /**
136
137
  * Style fragments - Imports - End
137
138
  */
@@ -324,7 +325,8 @@ const theme = {
324
325
  SCGroupTemplate: SCGroupTemplate_1.default,
325
326
  SCGroupFeedTemplate: SCGroupFeedTemplate_1.default,
326
327
  SCGroupMembersWidget: SCGroupMembersWidget_1.default,
327
- SCGroupRequestsWidget: SCGroupRequestsWidget_1.default
328
+ SCGroupRequestsWidget: SCGroupRequestsWidget_1.default,
329
+ SCGroups: SCGroups_1.default
328
330
  },
329
331
  selfcommunity: {
330
332
  user: {
@@ -20,6 +20,13 @@ declare const Component: {
20
20
  backgroundColor: any;
21
21
  };
22
22
  };
23
+ '& .SCGroupFeedTemplate-tab-content': {
24
+ '& .SCGroupFeedTemplate-members': {
25
+ display: string;
26
+ flexDirection: string;
27
+ gap: any;
28
+ };
29
+ };
23
30
  };
24
31
  tabRoot: ({ theme }: any) => {
25
32
  textTransform: string;
@@ -15,10 +15,17 @@ const Component = {
15
15
  backgroundColor: 'transparent'
16
16
  },
17
17
  '& .MuiTabs-indicatorSpan': {
18
- maxWidth: '30%',
18
+ maxWidth: '40%',
19
19
  width: '100%',
20
20
  backgroundColor: theme.palette.secondary.main
21
21
  }
22
+ },
23
+ '& .SCGroupFeedTemplate-tab-content': {
24
+ '& .SCGroupFeedTemplate-members': {
25
+ display: 'flex',
26
+ flexDirection: 'column',
27
+ gap: theme.spacing(2)
28
+ }
22
29
  }
23
30
  }),
24
31
  tabRoot: ({ theme }) => ({
@@ -1,6 +1,10 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
- root: ({ theme }: any) => {};
3
+ root: ({ theme }: any) => {
4
+ '& .SCGroupMembersWidget-button': {
5
+ marginTop: any;
6
+ };
7
+ };
4
8
  skeletonRoot: ({ theme }: any) => {};
5
9
  dialogRoot: ({ theme }: any) => {};
6
10
  };
@@ -1,6 +1,10 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
- root: ({ theme }) => ({}),
3
+ root: ({ theme }) => ({
4
+ '& .SCGroupMembersWidget-button': {
5
+ marginTop: theme.spacing(1)
6
+ }
7
+ }),
4
8
  skeletonRoot: ({ theme }) => ({}),
5
9
  dialogRoot: ({ theme }) => ({})
6
10
  }
@@ -0,0 +1,7 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ skeletonRoot: ({ theme }: any) => {};
5
+ };
6
+ };
7
+ export default Component;
@@ -0,0 +1,7 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({}),
4
+ skeletonRoot: ({ theme }) => ({})
5
+ }
6
+ };
7
+ export default Component;
@@ -24,7 +24,7 @@ declare const Component: {
24
24
  flexGrow: number;
25
25
  textAlign: string;
26
26
  alignSelf: string;
27
- '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
27
+ '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
28
28
  paddingTop: number;
29
29
  paddingLeft: any;
30
30
  paddingRight: any;
@@ -13,7 +13,7 @@ const Component = {
13
13
  flexGrow: 1,
14
14
  textAlign: 'center',
15
15
  alignSelf: 'end',
16
- '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
16
+ '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
17
17
  paddingTop: 12,
18
18
  paddingLeft: theme.spacing(1),
19
19
  paddingRight: theme.spacing(1),
@@ -2,9 +2,6 @@ declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
4
  backgroundColor: string;
5
- '& .MuiIcon-root': {
6
- fontSize: string;
7
- };
8
5
  '& .SCPrivateMessageEditor-message-input': {
9
6
  width: string;
10
7
  };
@@ -3,9 +3,6 @@ const Component = {
3
3
  styleOverrides: {
4
4
  root: ({ theme }) => ({
5
5
  backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity),
6
- '& .MuiIcon-root': {
7
- fontSize: '1.57rem'
8
- },
9
6
  '& .SCPrivateMessageEditor-message-input': {
10
7
  width: '100%'
11
8
  },
@@ -3254,7 +3254,7 @@ declare const theme: {
3254
3254
  flexGrow: number;
3255
3255
  textAlign: string;
3256
3256
  alignSelf: string;
3257
- '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
3257
+ '& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
3258
3258
  paddingTop: number;
3259
3259
  paddingLeft: any;
3260
3260
  paddingRight: any;
@@ -4886,9 +4886,6 @@ declare const theme: {
4886
4886
  styleOverrides: {
4887
4887
  root: ({ theme }: any) => {
4888
4888
  backgroundColor: string;
4889
- '& .MuiIcon-root': {
4890
- fontSize: string;
4891
- };
4892
4889
  '& .SCPrivateMessageEditor-message-input': {
4893
4890
  width: string;
4894
4891
  };
@@ -5937,6 +5934,13 @@ declare const theme: {
5937
5934
  backgroundColor: any;
5938
5935
  };
5939
5936
  };
5937
+ '& .SCGroupFeedTemplate-tab-content': {
5938
+ '& .SCGroupFeedTemplate-members': {
5939
+ display: string;
5940
+ flexDirection: string;
5941
+ gap: any;
5942
+ };
5943
+ };
5940
5944
  };
5941
5945
  tabRoot: ({ theme }: any) => {
5942
5946
  textTransform: string;
@@ -5952,7 +5956,11 @@ declare const theme: {
5952
5956
  };
5953
5957
  SCGroupMembersWidget: {
5954
5958
  styleOverrides: {
5955
- root: ({ theme }: any) => {};
5959
+ root: ({ theme }: any) => {
5960
+ '& .SCGroupMembersWidget-button': {
5961
+ marginTop: any;
5962
+ };
5963
+ };
5956
5964
  skeletonRoot: ({ theme }: any) => {};
5957
5965
  dialogRoot: ({ theme }: any) => {};
5958
5966
  };
@@ -5964,6 +5972,12 @@ declare const theme: {
5964
5972
  dialogRoot: ({ theme }: any) => {};
5965
5973
  };
5966
5974
  };
5975
+ SCGroups: {
5976
+ styleOverrides: {
5977
+ root: ({ theme }: any) => {};
5978
+ skeletonRoot: ({ theme }: any) => {};
5979
+ };
5980
+ };
5967
5981
  };
5968
5982
  selfcommunity: {
5969
5983
  user: {
package/lib/esm/index.js CHANGED
@@ -129,6 +129,7 @@ import SCGroupTemplate from './components/SCGroupTemplate';
129
129
  import SCGroupFeedTemplate from './components/SCGroupFeedTemplate';
130
130
  import SCGroupMembersWidget from './components/SCGroupMembersWidget';
131
131
  import SCGroupRequestsWidget from './components/SCGroupRequestsWidget';
132
+ import SCGroups from './components/SCGroups';
132
133
  /**
133
134
  * Style fragments - Imports - End
134
135
  */
@@ -321,7 +322,8 @@ const theme = {
321
322
  SCGroupTemplate,
322
323
  SCGroupFeedTemplate,
323
324
  SCGroupMembersWidget,
324
- SCGroupRequestsWidget
325
+ SCGroupRequestsWidget,
326
+ SCGroups
325
327
  },
326
328
  selfcommunity: {
327
329
  user: {