@selfcommunity/react-theme-default 0.2.0-live.66 → 0.2.0-live.68

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.
@@ -4858,6 +4858,33 @@ declare const theme: {
4858
4858
  backgroundColor: string;
4859
4859
  };
4860
4860
  };
4861
+ liveStreamRoot: ({ theme }: any) => {
4862
+ '& .SCNotification-username, & a': {
4863
+ fontWeight: any;
4864
+ };
4865
+ '& .SCNotificationItem-primary': {
4866
+ '& .MuiIcon-root': {
4867
+ float: string;
4868
+ fontSize: string;
4869
+ marginLeft: any;
4870
+ };
4871
+ '& .SCEvent-root': {
4872
+ width: string;
4873
+ '& .SCEvent-snippet-root': {
4874
+ paddingLeft: string;
4875
+ };
4876
+ };
4877
+ };
4878
+ '& .SCNotificationItem-secondary': {
4879
+ textTransform: string;
4880
+ };
4881
+ '& .SCNotification-snippet-time': {
4882
+ paddingLeft: any;
4883
+ };
4884
+ '& .SCEvent-snippet-root': {
4885
+ backgroundColor: string;
4886
+ };
4887
+ };
4861
4888
  groupRoot: ({ theme }: any) => {};
4862
4889
  undeletedForRoot: ({ theme }: any) => {
4863
4890
  '& .SCNotification-undeleted-icon': {
@@ -8634,6 +8661,106 @@ declare const theme: {
8634
8661
  };
8635
8662
  };
8636
8663
  };
8664
+ SCUserLiveStreamWidget: {
8665
+ styleOverrides: {
8666
+ root: ({ theme }: {
8667
+ theme: any;
8668
+ }) => {
8669
+ '& .SCUserLiveStreamWidget-content': {
8670
+ padding: string;
8671
+ '& .SCUserLiveStreamWidget-header': {
8672
+ flexDirection: string;
8673
+ justifyContent: string;
8674
+ alignItems: string;
8675
+ marginBottom: any;
8676
+ '& .SCUserLiveStreamWidget-avatar-wrapper': {
8677
+ flexDirection: string;
8678
+ alignItems: string;
8679
+ color: string;
8680
+ padding: number;
8681
+ minWidth: string;
8682
+ '& .SCUserLiveStreamWidget-avatar': {
8683
+ width: any;
8684
+ height: any;
8685
+ };
8686
+ };
8687
+ '& h4': {
8688
+ marginLeft: number;
8689
+ lineHeight: string;
8690
+ };
8691
+ };
8692
+ '& .SCUserLiveStreamWidget-live-wrapper': {
8693
+ gap: any;
8694
+ '& .SCUserLiveStreamWidget-live': {
8695
+ '& > div': {
8696
+ padding: string;
8697
+ '& > .SCBaseItem-content': {
8698
+ '& > .SCBaseItem-text': {
8699
+ margin: number;
8700
+ };
8701
+ };
8702
+ };
8703
+ };
8704
+ };
8705
+ };
8706
+ '& .SCUserLiveStreamWidget-actions': {
8707
+ padding: string;
8708
+ justifyContent: string;
8709
+ '& .SCSuggestedEventsWidget-actionButton': {
8710
+ color: any;
8711
+ };
8712
+ };
8713
+ };
8714
+ skeletonRoot: ({ theme }: {
8715
+ theme: any;
8716
+ }) => {
8717
+ '& .SCUserLiveStreamWidget-content': {
8718
+ padding: string;
8719
+ '& .SCUserLiveStreamWidget-user': {
8720
+ marginBottom: any;
8721
+ '& > .SCBaseItem-content': {
8722
+ '& > .SCBaseItem-text': {
8723
+ margin: number;
8724
+ };
8725
+ };
8726
+ '& > .SCBaseItem-actions': {
8727
+ display: string;
8728
+ };
8729
+ };
8730
+ '& .SCUserLiveStreamWidget-live-wrapper': {
8731
+ gap: any;
8732
+ '& .SCUserLiveStreamWidget-live': {
8733
+ '& > div': {
8734
+ padding: string;
8735
+ '& > .SCBaseItem-content': {
8736
+ '& > .SCBaseItem-text': {
8737
+ margin: number;
8738
+ };
8739
+ };
8740
+ };
8741
+ };
8742
+ };
8743
+ };
8744
+ '& .SCUserLiveStreamWidget-actions': {
8745
+ padding: string;
8746
+ justifyContent: string;
8747
+ };
8748
+ };
8749
+ dialogRoot: ({ theme }: {
8750
+ theme: any;
8751
+ }) => {
8752
+ '& .SCUserLiveStreamWidget-infinite-scroll': {
8753
+ [x: number]: {
8754
+ height: string;
8755
+ };
8756
+ height: string;
8757
+ '& .SCEvent-root': {
8758
+ width: string;
8759
+ };
8760
+ };
8761
+ };
8762
+ };
8763
+ };
8637
8764
  SCCreateLiveStreamDialog: {
8638
8765
  styleOverrides: {
8639
8766
  root: ({ theme }: any) => {
@@ -8649,6 +8776,71 @@ declare const theme: {
8649
8776
  };
8650
8777
  };
8651
8778
  };
8779
+ SCLiveStreamSelector: {
8780
+ styleOverrides: {
8781
+ root: ({ theme }: any) => {
8782
+ '& .SCLiveStreamSelector-warning': {
8783
+ margin: any;
8784
+ };
8785
+ '& .SCLiveStreamSelector-options': {
8786
+ [x: number]: {
8787
+ display: string;
8788
+ };
8789
+ display: string;
8790
+ justifyContent: string;
8791
+ alignItems: string;
8792
+ '& > div': {
8793
+ [x: number]: {
8794
+ margin: string;
8795
+ marginBottom: any;
8796
+ };
8797
+ width: string;
8798
+ };
8799
+ };
8800
+ '& .SCLiveStreamSelector-actions': {
8801
+ display: string;
8802
+ justifyContent: string;
8803
+ alignItems: string;
8804
+ marginTop: any;
8805
+ };
8806
+ };
8807
+ optionCardRoot: ({ theme, selected }: any) => {
8808
+ maxWidth: number;
8809
+ height: number;
8810
+ padding: any;
8811
+ margin: any;
8812
+ cursor: string;
8813
+ transition: any;
8814
+ backgroundColor: any;
8815
+ '&:hover': {
8816
+ backgroundColor: any;
8817
+ boxShadow: any;
8818
+ };
8819
+ border: string;
8820
+ "& > div": {
8821
+ display: string;
8822
+ justifyContent: string;
8823
+ alignItems: string;
8824
+ marginBottom: number;
8825
+ maxWidth: string;
8826
+ };
8827
+ "& ul": {
8828
+ marginTop: any;
8829
+ padding: number;
8830
+ listStyle: string;
8831
+ };
8832
+ };
8833
+ featureItemRoot: ({ theme, selected }: any) => {
8834
+ display: string;
8835
+ alignItems: string;
8836
+ gap: any;
8837
+ marginBottom: any;
8838
+ '&:last-child': {
8839
+ marginBottom: number;
8840
+ };
8841
+ };
8842
+ };
8843
+ };
8652
8844
  SCLiveStreamForm: {
8653
8845
  styleOverrides: {
8654
8846
  root: ({ theme }: any) => {
@@ -8699,16 +8891,6 @@ declare const theme: {
8699
8891
  "& .SCLiveStreamRoom-content": {
8700
8892
  width: string;
8701
8893
  };
8702
- "& .SCLiveStreamRoom-end-conference-wrap": {
8703
- display: string;
8704
- justifyContent: string;
8705
- alignItems: string;
8706
- alignContent: string;
8707
- flexDirection: string;
8708
- "& .SCLiveStreamRoom-btn-back-home": {
8709
- marginTop: any;
8710
- };
8711
- };
8712
8894
  "& .SCLiveStreamRoom-prejoin": {
8713
8895
  padding: any;
8714
8896
  display: string;
@@ -8761,6 +8943,18 @@ declare const theme: {
8761
8943
  };
8762
8944
  };
8763
8945
  };
8946
+ dialogRoot: ({ theme }: any) => {
8947
+ "& .SCLiveStreamRoom-end-conference-wrap": {
8948
+ display: string;
8949
+ justifyContent: string;
8950
+ alignItems: string;
8951
+ alignContent: string;
8952
+ flexDirection: string;
8953
+ "& .SCLiveStreamVideoConference-btn-back-home": {
8954
+ marginTop: any;
8955
+ };
8956
+ };
8957
+ };
8764
8958
  };
8765
8959
  };
8766
8960
  SCLiveStreamVideoConference: {
@@ -8769,6 +8963,8 @@ declare const theme: {
8769
8963
  height: string;
8770
8964
  width: string;
8771
8965
  overflowY: string;
8966
+ };
8967
+ dialogRoot: ({ theme }: any) => {
8772
8968
  "& .SCLiveStreamVideoConference-end-conference-wrap": {
8773
8969
  display: string;
8774
8970
  justifyContent: string;
package/lib/cjs/index.js CHANGED
@@ -144,11 +144,13 @@ const SCSnippetNotifications_1 = tslib_1.__importDefault(require("./components/S
144
144
  const SCSuggestedEventsWidget_1 = tslib_1.__importDefault(require("./components/SCSuggestedEventsWidget"));
145
145
  const SCLiveStream_1 = tslib_1.__importDefault(require("./components/SCLiveStream"));
146
146
  const SCLiveStreamDialog_1 = tslib_1.__importDefault(require("./components/SCLiveStreamDialog"));
147
+ const SCLiveStreamSelector_1 = tslib_1.__importDefault(require("./components/SCLiveStreamSelector"));
147
148
  const SCLiveStreamForm_1 = tslib_1.__importDefault(require("./components/SCLiveStreamForm"));
148
149
  const SCLiveStreamFormSettings_1 = tslib_1.__importDefault(require("./components/SCLiveStreamFormSettings"));
149
150
  const SCLiveStreamRoom_1 = tslib_1.__importDefault(require("./components/SCLiveStreamRoom"));
150
151
  const SCLiveStreamVideoConference_1 = tslib_1.__importDefault(require("./components/SCLiveStreamVideoConference"));
151
152
  const SCLiveStreamInfoDetails_1 = tslib_1.__importDefault(require("./components/SCLiveStreamInfoDetails"));
153
+ const SCUserLiveStreamWidget_1 = tslib_1.__importDefault(require("./components/SCUserLiveStreamWidget"));
152
154
  const SCToastNotifications_1 = tslib_1.__importDefault(require("./components/SCToastNotifications"));
153
155
  const SCUser_1 = tslib_1.__importDefault(require("./components/SCUser"));
154
156
  const SCUserActionIconButton_1 = tslib_1.__importDefault(require("./components/SCUserActionIconButton"));
@@ -401,7 +403,9 @@ const theme = {
401
403
  SCWidget: SCWidget_1.default,
402
404
  SCLiveStream: SCLiveStream_1.default,
403
405
  SCLiveStreamInfoDetails: SCLiveStreamInfoDetails_1.default,
406
+ SCUserLiveStreamWidget: SCUserLiveStreamWidget_1.default,
404
407
  SCCreateLiveStreamDialog: SCLiveStreamDialog_1.default,
408
+ SCLiveStreamSelector: SCLiveStreamSelector_1.default,
405
409
  SCLiveStreamForm: SCLiveStreamForm_1.default,
406
410
  SCLiveStreamFormSettings: SCLiveStreamFormSettings_1.default,
407
411
  SCLiveStreamRoom: SCLiveStreamRoom_1.default,
@@ -8,16 +8,6 @@ declare const Component: {
8
8
  "& .SCLiveStreamRoom-content": {
9
9
  width: string;
10
10
  };
11
- "& .SCLiveStreamRoom-end-conference-wrap": {
12
- display: string;
13
- justifyContent: string;
14
- alignItems: string;
15
- alignContent: string;
16
- flexDirection: string;
17
- "& .SCLiveStreamRoom-btn-back-home": {
18
- marginTop: any;
19
- };
20
- };
21
11
  "& .SCLiveStreamRoom-prejoin": {
22
12
  padding: any;
23
13
  display: string;
@@ -70,6 +60,18 @@ declare const Component: {
70
60
  };
71
61
  };
72
62
  };
63
+ dialogRoot: ({ theme }: any) => {
64
+ "& .SCLiveStreamRoom-end-conference-wrap": {
65
+ display: string;
66
+ justifyContent: string;
67
+ alignItems: string;
68
+ alignContent: string;
69
+ flexDirection: string;
70
+ "& .SCLiveStreamVideoConference-btn-back-home": {
71
+ marginTop: any;
72
+ };
73
+ };
74
+ };
73
75
  };
74
76
  };
75
77
  export default Component;
@@ -8,16 +8,6 @@ const Component = {
8
8
  [`& .SCLiveStreamRoom-content`]: {
9
9
  width: '100%'
10
10
  },
11
- [`& .SCLiveStreamRoom-end-conference-wrap`]: {
12
- display: 'flex',
13
- justifyContent: 'center',
14
- alignItems: 'center',
15
- alignContent: 'center',
16
- flexDirection: 'column',
17
- [`& .SCLiveStreamRoom-btn-back-home`]: {
18
- marginTop: theme.spacing(2)
19
- }
20
- },
21
11
  [`& .SCLiveStreamRoom-prejoin`]: {
22
12
  padding: theme.spacing(2),
23
13
  display: 'grid',
@@ -69,6 +59,18 @@ const Component = {
69
59
  backgroundColor: theme.palette.primary.dark
70
60
  }
71
61
  }
62
+ }),
63
+ dialogRoot: ({ theme }) => ({
64
+ [`& .SCLiveStreamRoom-end-conference-wrap`]: {
65
+ display: 'flex',
66
+ justifyContent: 'center',
67
+ alignItems: 'center',
68
+ alignContent: 'center',
69
+ flexDirection: 'column',
70
+ [`& .SCLiveStreamVideoConference-btn-back-home`]: {
71
+ marginTop: theme.spacing(2)
72
+ }
73
+ }
72
74
  })
73
75
  }
74
76
  };
@@ -0,0 +1,66 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCLiveStreamSelector-warning': {
5
+ margin: any;
6
+ };
7
+ '& .SCLiveStreamSelector-options': {
8
+ [x: number]: {
9
+ display: string;
10
+ };
11
+ display: string;
12
+ justifyContent: string;
13
+ alignItems: string;
14
+ '& > div': {
15
+ [x: number]: {
16
+ margin: string;
17
+ marginBottom: any;
18
+ };
19
+ width: string;
20
+ };
21
+ };
22
+ '& .SCLiveStreamSelector-actions': {
23
+ display: string;
24
+ justifyContent: string;
25
+ alignItems: string;
26
+ marginTop: any;
27
+ };
28
+ };
29
+ optionCardRoot: ({ theme, selected }: any) => {
30
+ maxWidth: number;
31
+ height: number;
32
+ padding: any;
33
+ margin: any;
34
+ cursor: string;
35
+ transition: any;
36
+ backgroundColor: any;
37
+ '&:hover': {
38
+ backgroundColor: any;
39
+ boxShadow: any;
40
+ };
41
+ border: string;
42
+ "& > div": {
43
+ display: string;
44
+ justifyContent: string;
45
+ alignItems: string;
46
+ marginBottom: number;
47
+ maxWidth: string;
48
+ };
49
+ "& ul": {
50
+ marginTop: any;
51
+ padding: number;
52
+ listStyle: string;
53
+ };
54
+ };
55
+ featureItemRoot: ({ theme, selected }: any) => {
56
+ display: string;
57
+ alignItems: string;
58
+ gap: any;
59
+ marginBottom: any;
60
+ '&:last-child': {
61
+ marginBottom: number;
62
+ };
63
+ };
64
+ };
65
+ };
66
+ export default Component;
@@ -0,0 +1,68 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCLiveStreamSelector-warning': {
5
+ margin: theme.spacing(2, 5, 2, 5)
6
+ },
7
+ '& .SCLiveStreamSelector-options': {
8
+ display: 'flex',
9
+ justifyContent: 'center',
10
+ alignItems: 'center',
11
+ [theme.breakpoints.down('sm')]: {
12
+ display: 'block'
13
+ },
14
+ '& > div': {
15
+ width: '290px',
16
+ [theme.breakpoints.down('sm')]: {
17
+ margin: '0px auto',
18
+ marginBottom: theme.spacing(2)
19
+ }
20
+ }
21
+ },
22
+ '& .SCLiveStreamSelector-actions': {
23
+ display: 'flex',
24
+ justifyContent: 'flex-end',
25
+ alignItems: 'flex-end',
26
+ marginTop: theme.spacing(4)
27
+ }
28
+ }),
29
+ optionCardRoot: ({ theme, selected }) => ({
30
+ maxWidth: 300,
31
+ height: 350,
32
+ padding: theme.spacing(3),
33
+ margin: theme.spacing(0, 3),
34
+ cursor: 'pointer',
35
+ transition: theme.transitions.create(['background-color', 'box-shadow'], {
36
+ duration: theme.transitions.duration.short
37
+ }),
38
+ backgroundColor: selected ? theme.palette.grey[100] : theme.palette.background.paper,
39
+ '&:hover': {
40
+ backgroundColor: theme.palette.grey[50],
41
+ boxShadow: theme.shadows[2]
42
+ },
43
+ border: `1px solid ${theme.palette.divider}`,
44
+ [`& > div`]: {
45
+ display: 'flex',
46
+ justifyContent: 'space-between',
47
+ alignItems: 'center',
48
+ marginBottom: 2,
49
+ maxWidth: '300px'
50
+ },
51
+ [`& ul`]: {
52
+ marginTop: theme.spacing(2),
53
+ padding: 0,
54
+ listStyle: 'none'
55
+ }
56
+ }),
57
+ featureItemRoot: ({ theme, selected }) => ({
58
+ display: 'flex',
59
+ alignItems: 'flex-start',
60
+ gap: theme.spacing(1.5),
61
+ marginBottom: theme.spacing(2),
62
+ '&:last-child': {
63
+ marginBottom: 0
64
+ }
65
+ })
66
+ }
67
+ };
68
+ export default Component;
@@ -4,6 +4,8 @@ declare const Component: {
4
4
  height: string;
5
5
  width: string;
6
6
  overflowY: string;
7
+ };
8
+ dialogRoot: ({ theme }: any) => {
7
9
  "& .SCLiveStreamVideoConference-end-conference-wrap": {
8
10
  display: string;
9
11
  justifyContent: string;
@@ -3,7 +3,9 @@ const Component = {
3
3
  root: ({ theme }) => ({
4
4
  height: '100vh',
5
5
  width: '100%',
6
- overflowY: 'hidden',
6
+ overflowY: 'hidden'
7
+ }),
8
+ dialogRoot: ({ theme }) => ({
7
9
  [`& .SCLiveStreamVideoConference-end-conference-wrap`]: {
8
10
  display: 'flex',
9
11
  justifyContent: 'center',
@@ -305,6 +305,33 @@ declare const Component: {
305
305
  backgroundColor: string;
306
306
  };
307
307
  };
308
+ liveStreamRoot: ({ theme }: any) => {
309
+ '& .SCNotification-username, & a': {
310
+ fontWeight: any;
311
+ };
312
+ '& .SCNotificationItem-primary': {
313
+ '& .MuiIcon-root': {
314
+ float: string;
315
+ fontSize: string;
316
+ marginLeft: any;
317
+ };
318
+ '& .SCEvent-root': {
319
+ width: string;
320
+ '& .SCEvent-snippet-root': {
321
+ paddingLeft: string;
322
+ };
323
+ };
324
+ };
325
+ '& .SCNotificationItem-secondary': {
326
+ textTransform: string;
327
+ };
328
+ '& .SCNotification-snippet-time': {
329
+ paddingLeft: any;
330
+ };
331
+ '& .SCEvent-snippet-root': {
332
+ backgroundColor: string;
333
+ };
334
+ };
308
335
  groupRoot: ({ theme }: any) => {};
309
336
  undeletedForRoot: ({ theme }: any) => {
310
337
  '& .SCNotification-undeleted-icon': {
@@ -307,6 +307,33 @@ const Component = {
307
307
  backgroundColor: 'transparent !important'
308
308
  }
309
309
  }),
310
+ liveStreamRoot: ({ theme }) => ({
311
+ '& .SCNotification-username, & a': {
312
+ fontWeight: theme.typography.fontWeightBold
313
+ },
314
+ '& .SCNotificationItem-primary': {
315
+ '& .MuiIcon-root': {
316
+ float: 'right',
317
+ fontSize: '20px',
318
+ marginLeft: theme.spacing(0.5)
319
+ },
320
+ '& .SCEvent-root': {
321
+ width: '100%',
322
+ '& .SCEvent-snippet-root': {
323
+ paddingLeft: '0 !important'
324
+ }
325
+ }
326
+ },
327
+ '& .SCNotificationItem-secondary': {
328
+ textTransform: 'capitalize'
329
+ },
330
+ '& .SCNotification-snippet-time': {
331
+ paddingLeft: theme.spacing(5)
332
+ },
333
+ '& .SCEvent-snippet-root': {
334
+ backgroundColor: 'transparent !important'
335
+ }
336
+ }),
310
337
  groupRoot: ({ theme }) => ({}),
311
338
  undeletedForRoot: ({ theme }) => ({
312
339
  '& .SCNotification-undeleted-icon': {
@@ -0,0 +1,101 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ '& .SCUserLiveStreamWidget-content': {
7
+ padding: string;
8
+ '& .SCUserLiveStreamWidget-header': {
9
+ flexDirection: string;
10
+ justifyContent: string;
11
+ alignItems: string;
12
+ marginBottom: any;
13
+ '& .SCUserLiveStreamWidget-avatar-wrapper': {
14
+ flexDirection: string;
15
+ alignItems: string;
16
+ color: string;
17
+ padding: number;
18
+ minWidth: string;
19
+ '& .SCUserLiveStreamWidget-avatar': {
20
+ width: any;
21
+ height: any;
22
+ };
23
+ };
24
+ '& h4': {
25
+ marginLeft: number;
26
+ lineHeight: string;
27
+ };
28
+ };
29
+ '& .SCUserLiveStreamWidget-live-wrapper': {
30
+ gap: any;
31
+ '& .SCUserLiveStreamWidget-live': {
32
+ '& > div': {
33
+ padding: string;
34
+ '& > .SCBaseItem-content': {
35
+ '& > .SCBaseItem-text': {
36
+ margin: number;
37
+ };
38
+ };
39
+ };
40
+ };
41
+ };
42
+ };
43
+ '& .SCUserLiveStreamWidget-actions': {
44
+ padding: string;
45
+ justifyContent: string;
46
+ '& .SCSuggestedEventsWidget-actionButton': {
47
+ color: any;
48
+ };
49
+ };
50
+ };
51
+ skeletonRoot: ({ theme }: {
52
+ theme: any;
53
+ }) => {
54
+ '& .SCUserLiveStreamWidget-content': {
55
+ padding: string;
56
+ '& .SCUserLiveStreamWidget-user': {
57
+ marginBottom: any;
58
+ '& > .SCBaseItem-content': {
59
+ '& > .SCBaseItem-text': {
60
+ margin: number;
61
+ };
62
+ };
63
+ '& > .SCBaseItem-actions': {
64
+ display: string;
65
+ };
66
+ };
67
+ '& .SCUserLiveStreamWidget-live-wrapper': {
68
+ gap: any;
69
+ '& .SCUserLiveStreamWidget-live': {
70
+ '& > div': {
71
+ padding: string;
72
+ '& > .SCBaseItem-content': {
73
+ '& > .SCBaseItem-text': {
74
+ margin: number;
75
+ };
76
+ };
77
+ };
78
+ };
79
+ };
80
+ };
81
+ '& .SCUserLiveStreamWidget-actions': {
82
+ padding: string;
83
+ justifyContent: string;
84
+ };
85
+ };
86
+ dialogRoot: ({ theme }: {
87
+ theme: any;
88
+ }) => {
89
+ '& .SCUserLiveStreamWidget-infinite-scroll': {
90
+ [x: number]: {
91
+ height: string;
92
+ };
93
+ height: string;
94
+ '& .SCEvent-root': {
95
+ width: string;
96
+ };
97
+ };
98
+ };
99
+ };
100
+ };
101
+ export default Component;