@selfcommunity/react-theme-default 0.1.9-alpha.1 → 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.
- package/lib/cjs/components/SCChangeGroupCoverButton.d.ts +9 -0
- package/lib/cjs/components/SCChangeGroupCoverButton.js +11 -0
- package/lib/cjs/components/SCChangeGroupPictureButton.d.ts +9 -0
- package/lib/cjs/components/SCChangeGroupPictureButton.js +11 -0
- package/lib/cjs/components/SCCreateGroup.d.ts +85 -0
- package/lib/cjs/components/SCCreateGroup.js +88 -0
- package/lib/cjs/components/SCCreateGroupButton.d.ts +10 -0
- package/lib/cjs/components/SCCreateGroupButton.js +12 -0
- package/lib/cjs/components/SCGroup.d.ts +36 -0
- package/lib/cjs/components/SCGroup.js +38 -0
- package/lib/cjs/components/SCGroupFeedTemplate.d.ts +43 -0
- package/lib/cjs/components/SCGroupFeedTemplate.js +45 -0
- package/lib/cjs/components/SCGroupHeader.d.ts +120 -0
- package/lib/cjs/components/SCGroupHeader.js +121 -0
- package/lib/cjs/components/SCGroupInfoWidget.d.ts +32 -0
- package/lib/cjs/components/SCGroupInfoWidget.js +34 -0
- package/lib/cjs/components/SCGroupInviteButton.d.ts +48 -0
- package/lib/cjs/components/SCGroupInviteButton.js +51 -0
- package/lib/cjs/components/SCGroupMembersButton.d.ts +22 -0
- package/lib/cjs/components/SCGroupMembersButton.js +24 -0
- package/lib/cjs/components/SCGroupMembersWidget.d.ts +12 -0
- package/lib/cjs/components/SCGroupMembersWidget.js +14 -0
- package/lib/cjs/components/SCGroupRequestsWidget.d.ts +8 -0
- package/lib/cjs/components/SCGroupRequestsWidget.js +10 -0
- package/lib/cjs/components/SCGroupTemplate.d.ts +17 -0
- package/lib/cjs/components/SCGroupTemplate.js +19 -0
- package/lib/cjs/components/SCGroups.d.ts +7 -0
- package/lib/cjs/components/SCGroups.js +9 -0
- package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/cjs/components/SCNavigationToolbar.js +1 -1
- package/lib/cjs/components/SCPrivateMessageEditor.d.ts +0 -3
- package/lib/cjs/components/SCPrivateMessageEditor.js +0 -3
- package/lib/cjs/fonts/community/icons.eot +0 -0
- package/lib/cjs/fonts/community/icons.svg +7 -3
- package/lib/cjs/fonts/community/icons.ttf +0 -0
- package/lib/cjs/fonts/community/icons.woff +0 -0
- package/lib/cjs/fonts/community/icons.woff2 +0 -0
- package/lib/cjs/fonts/community-icons.css +12 -6
- package/lib/cjs/index.d.ts +454 -4
- package/lib/cjs/index.js +39 -2
- package/lib/esm/components/SCChangeGroupCoverButton.d.ts +9 -0
- package/lib/esm/components/SCChangeGroupCoverButton.js +9 -0
- package/lib/esm/components/SCChangeGroupPictureButton.d.ts +9 -0
- package/lib/esm/components/SCChangeGroupPictureButton.js +9 -0
- package/lib/esm/components/SCCreateGroup.d.ts +85 -0
- package/lib/esm/components/SCCreateGroup.js +86 -0
- package/lib/esm/components/SCCreateGroupButton.d.ts +10 -0
- package/lib/esm/components/SCCreateGroupButton.js +10 -0
- package/lib/esm/components/SCGroup.d.ts +36 -0
- package/lib/esm/components/SCGroup.js +36 -0
- package/lib/esm/components/SCGroupFeedTemplate.d.ts +43 -0
- package/lib/esm/components/SCGroupFeedTemplate.js +43 -0
- package/lib/esm/components/SCGroupHeader.d.ts +120 -0
- package/lib/esm/components/SCGroupHeader.js +119 -0
- package/lib/esm/components/SCGroupInfoWidget.d.ts +32 -0
- package/lib/esm/components/SCGroupInfoWidget.js +32 -0
- package/lib/esm/components/SCGroupInviteButton.d.ts +48 -0
- package/lib/esm/components/SCGroupInviteButton.js +49 -0
- package/lib/esm/components/SCGroupMembersButton.d.ts +22 -0
- package/lib/esm/components/SCGroupMembersButton.js +22 -0
- package/lib/esm/components/SCGroupMembersWidget.d.ts +12 -0
- package/lib/esm/components/SCGroupMembersWidget.js +12 -0
- package/lib/esm/components/SCGroupRequestsWidget.d.ts +8 -0
- package/lib/esm/components/SCGroupRequestsWidget.js +8 -0
- package/lib/esm/components/SCGroupTemplate.d.ts +17 -0
- package/lib/esm/components/SCGroupTemplate.js +17 -0
- package/lib/esm/components/SCGroups.d.ts +7 -0
- package/lib/esm/components/SCGroups.js +7 -0
- package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/esm/components/SCNavigationToolbar.js +1 -1
- package/lib/esm/components/SCPrivateMessageEditor.d.ts +0 -3
- package/lib/esm/components/SCPrivateMessageEditor.js +0 -3
- package/lib/esm/fonts/community/icons.eot +0 -0
- package/lib/esm/fonts/community/icons.svg +7 -3
- package/lib/esm/fonts/community/icons.ttf +0 -0
- package/lib/esm/fonts/community/icons.woff +0 -0
- package/lib/esm/fonts/community/icons.woff2 +0 -0
- package/lib/esm/fonts/community-icons.css +12 -6
- package/lib/esm/index.d.ts +454 -4
- package/lib/esm/index.js +39 -2
- package/lib/umd/community/icons.eot +0 -0
- package/lib/umd/community/icons.svg +7 -3
- package/lib/umd/community/icons.ttf +0 -0
- package/lib/umd/community/icons.woff +0 -0
- package/lib/umd/community/icons.woff2 +0 -0
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
package/lib/esm/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ declare const theme: {
|
|
|
36
36
|
};
|
|
37
37
|
shape: {
|
|
38
38
|
borderRadius: number;
|
|
39
|
+
borderRadiusSm: number;
|
|
39
40
|
};
|
|
40
41
|
spacing: number;
|
|
41
42
|
mixins: {
|
|
@@ -3253,7 +3254,7 @@ declare const theme: {
|
|
|
3253
3254
|
flexGrow: number;
|
|
3254
3255
|
textAlign: string;
|
|
3255
3256
|
alignSelf: string;
|
|
3256
|
-
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
|
|
3257
|
+
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
|
|
3257
3258
|
paddingTop: number;
|
|
3258
3259
|
paddingLeft: any;
|
|
3259
3260
|
paddingRight: any;
|
|
@@ -4885,9 +4886,6 @@ declare const theme: {
|
|
|
4885
4886
|
styleOverrides: {
|
|
4886
4887
|
root: ({ theme }: any) => {
|
|
4887
4888
|
backgroundColor: string;
|
|
4888
|
-
'& .MuiIcon-root': {
|
|
4889
|
-
fontSize: string;
|
|
4890
|
-
};
|
|
4891
4889
|
'& .SCPrivateMessageEditor-message-input': {
|
|
4892
4890
|
width: string;
|
|
4893
4891
|
};
|
|
@@ -5536,6 +5534,450 @@ declare const theme: {
|
|
|
5536
5534
|
};
|
|
5537
5535
|
};
|
|
5538
5536
|
};
|
|
5537
|
+
SCGroupHeader: {
|
|
5538
|
+
styleOverrides: {
|
|
5539
|
+
root: ({ theme }: any) => {
|
|
5540
|
+
'& .SCGroupHeader-cover': {
|
|
5541
|
+
[x: number]: {
|
|
5542
|
+
borderRadius: any;
|
|
5543
|
+
margin?: undefined;
|
|
5544
|
+
} | {
|
|
5545
|
+
margin: any;
|
|
5546
|
+
borderRadius?: undefined;
|
|
5547
|
+
};
|
|
5548
|
+
position: string;
|
|
5549
|
+
height: number;
|
|
5550
|
+
minHeight: number;
|
|
5551
|
+
borderRadius: number;
|
|
5552
|
+
background: string;
|
|
5553
|
+
boxShadow: string;
|
|
5554
|
+
};
|
|
5555
|
+
'& .SCGroupHeader-info': {
|
|
5556
|
+
display: string;
|
|
5557
|
+
flexDirection: string;
|
|
5558
|
+
justifyContent: string;
|
|
5559
|
+
alignItems: string;
|
|
5560
|
+
'& .SCGroupHeader-members': {
|
|
5561
|
+
marginBottom: string;
|
|
5562
|
+
'& .SCGroupHeader-members-counter': {
|
|
5563
|
+
fontSize: string;
|
|
5564
|
+
fontWeight: any;
|
|
5565
|
+
display: string;
|
|
5566
|
+
};
|
|
5567
|
+
};
|
|
5568
|
+
'& .SCGroupHeader-visibility': {
|
|
5569
|
+
display: string;
|
|
5570
|
+
justifyContent: string;
|
|
5571
|
+
alignItems: string;
|
|
5572
|
+
gap: any;
|
|
5573
|
+
'& .SCGroupHeader-visibility-item': {
|
|
5574
|
+
fontSize: any;
|
|
5575
|
+
fontWeight: any;
|
|
5576
|
+
display: string;
|
|
5577
|
+
justifyContent: string;
|
|
5578
|
+
alignItems: string;
|
|
5579
|
+
gap: any;
|
|
5580
|
+
};
|
|
5581
|
+
};
|
|
5582
|
+
};
|
|
5583
|
+
'& .SCGroupHeader-avatar': {
|
|
5584
|
+
top: number;
|
|
5585
|
+
display: string;
|
|
5586
|
+
position: string;
|
|
5587
|
+
transform: string;
|
|
5588
|
+
left: string;
|
|
5589
|
+
'& .MuiAvatar-root': {
|
|
5590
|
+
height: any;
|
|
5591
|
+
width: any;
|
|
5592
|
+
borderRadius: string;
|
|
5593
|
+
border: string;
|
|
5594
|
+
objectFit: string;
|
|
5595
|
+
};
|
|
5596
|
+
};
|
|
5597
|
+
'& .SCGroupHeader-change-picture': {
|
|
5598
|
+
top: number;
|
|
5599
|
+
left: string;
|
|
5600
|
+
transform: string;
|
|
5601
|
+
position: string;
|
|
5602
|
+
display: string;
|
|
5603
|
+
};
|
|
5604
|
+
'& .SCGroupHeader-name': {
|
|
5605
|
+
marginTop: number;
|
|
5606
|
+
marginBottom: any;
|
|
5607
|
+
fontWeight: any;
|
|
5608
|
+
fontSize: string;
|
|
5609
|
+
textAlign: string;
|
|
5610
|
+
};
|
|
5611
|
+
'& .SCGroupHeader-change-cover': {
|
|
5612
|
+
position: string;
|
|
5613
|
+
right: any;
|
|
5614
|
+
bottom: any;
|
|
5615
|
+
};
|
|
5616
|
+
};
|
|
5617
|
+
skeletonRoot: ({ theme }: any) => {
|
|
5618
|
+
position: string;
|
|
5619
|
+
'& .SCGroupHeader-cover': {
|
|
5620
|
+
[x: number]: {
|
|
5621
|
+
margin: any;
|
|
5622
|
+
};
|
|
5623
|
+
height: number;
|
|
5624
|
+
};
|
|
5625
|
+
'& .SCGroupHeader-avatar': {
|
|
5626
|
+
top: number;
|
|
5627
|
+
display: string;
|
|
5628
|
+
position: string;
|
|
5629
|
+
transform: string;
|
|
5630
|
+
left: string;
|
|
5631
|
+
"& .MuiSkeleton-root": {
|
|
5632
|
+
border: string;
|
|
5633
|
+
};
|
|
5634
|
+
};
|
|
5635
|
+
'& .SCGroupHeader-section': {
|
|
5636
|
+
display: string;
|
|
5637
|
+
justifyContent: string;
|
|
5638
|
+
'& .SCGroupHeader-name': {
|
|
5639
|
+
marginTop: number;
|
|
5640
|
+
textAlign: string;
|
|
5641
|
+
"& .MuiSkeleton-root": {
|
|
5642
|
+
justifyContent: string;
|
|
5643
|
+
};
|
|
5644
|
+
};
|
|
5645
|
+
'& .SCGroupHeader-actions': {
|
|
5646
|
+
[x: number]: {
|
|
5647
|
+
margin: any;
|
|
5648
|
+
};
|
|
5649
|
+
height: string;
|
|
5650
|
+
marginTop: any;
|
|
5651
|
+
};
|
|
5652
|
+
};
|
|
5653
|
+
};
|
|
5654
|
+
};
|
|
5655
|
+
};
|
|
5656
|
+
SCChangeGroupCoverButton: {
|
|
5657
|
+
styleOverrides: {
|
|
5658
|
+
root: ({ theme }: any) => {
|
|
5659
|
+
padding: any;
|
|
5660
|
+
minWidth: string;
|
|
5661
|
+
};
|
|
5662
|
+
};
|
|
5663
|
+
};
|
|
5664
|
+
SCChangeGroupPictureButton: {
|
|
5665
|
+
styleOverrides: {
|
|
5666
|
+
root: ({ theme }: any) => {
|
|
5667
|
+
padding: any;
|
|
5668
|
+
minWidth: string;
|
|
5669
|
+
};
|
|
5670
|
+
};
|
|
5671
|
+
};
|
|
5672
|
+
SCGroupMembersButton: {
|
|
5673
|
+
styleOverrides: {
|
|
5674
|
+
root: ({ theme }: any) => {
|
|
5675
|
+
padding: any;
|
|
5676
|
+
'& .MuiAvatarGroup-root .MuiAvatar-root': {
|
|
5677
|
+
width: any;
|
|
5678
|
+
height: any;
|
|
5679
|
+
border: string;
|
|
5680
|
+
fontSize: string;
|
|
5681
|
+
'&.MuiAvatar-colorDefault': {
|
|
5682
|
+
marginLeft: number;
|
|
5683
|
+
backgroundColor: string;
|
|
5684
|
+
color: any;
|
|
5685
|
+
border: string;
|
|
5686
|
+
borderRadius: number;
|
|
5687
|
+
padding: number;
|
|
5688
|
+
};
|
|
5689
|
+
};
|
|
5690
|
+
};
|
|
5691
|
+
};
|
|
5692
|
+
};
|
|
5693
|
+
SCCreateGroupButton: {
|
|
5694
|
+
styleOverrides: {
|
|
5695
|
+
root: ({ theme }: any) => {
|
|
5696
|
+
'& .MuiIcon-root': {
|
|
5697
|
+
fontSize: string;
|
|
5698
|
+
};
|
|
5699
|
+
};
|
|
5700
|
+
};
|
|
5701
|
+
};
|
|
5702
|
+
SCCreateGroup: {
|
|
5703
|
+
styleOverrides: {
|
|
5704
|
+
root: ({ theme }: any) => {
|
|
5705
|
+
'& .SCCreateGroup-cover': {
|
|
5706
|
+
position: string;
|
|
5707
|
+
height: number;
|
|
5708
|
+
minHeight: number;
|
|
5709
|
+
'& .SCCreateGroup-avatar': {
|
|
5710
|
+
top: number;
|
|
5711
|
+
display: string;
|
|
5712
|
+
position: string;
|
|
5713
|
+
transform: string;
|
|
5714
|
+
left: string;
|
|
5715
|
+
'& .MuiAvatar-root': {
|
|
5716
|
+
height: any;
|
|
5717
|
+
width: any;
|
|
5718
|
+
borderRadius: string;
|
|
5719
|
+
border: string;
|
|
5720
|
+
objectFit: string;
|
|
5721
|
+
'& img': {
|
|
5722
|
+
height: any;
|
|
5723
|
+
width: any;
|
|
5724
|
+
};
|
|
5725
|
+
};
|
|
5726
|
+
};
|
|
5727
|
+
'& .SCChangeGroupPictureButton-root': {
|
|
5728
|
+
top: number;
|
|
5729
|
+
left: string;
|
|
5730
|
+
transform: string;
|
|
5731
|
+
position: string;
|
|
5732
|
+
display: string;
|
|
5733
|
+
};
|
|
5734
|
+
'& .SCChangeGroupCoverButton-root': {
|
|
5735
|
+
position: string;
|
|
5736
|
+
right: any;
|
|
5737
|
+
bottom: any;
|
|
5738
|
+
};
|
|
5739
|
+
};
|
|
5740
|
+
'& .SCCreateGroup-header': {
|
|
5741
|
+
marginTop: any;
|
|
5742
|
+
color: any;
|
|
5743
|
+
};
|
|
5744
|
+
'& .SCCreateGroup-switch': {
|
|
5745
|
+
'& .MuiButtonBase-root': {
|
|
5746
|
+
'&.Mui-checked': {
|
|
5747
|
+
color: any;
|
|
5748
|
+
'& + .MuiSwitch-track': {
|
|
5749
|
+
backgroundColor: any;
|
|
5750
|
+
};
|
|
5751
|
+
};
|
|
5752
|
+
};
|
|
5753
|
+
};
|
|
5754
|
+
'& .SCCreateGroup-switch-label': {
|
|
5755
|
+
fontWeight: any;
|
|
5756
|
+
display: string;
|
|
5757
|
+
alignItems: string;
|
|
5758
|
+
justifyContent: string;
|
|
5759
|
+
gap: any;
|
|
5760
|
+
};
|
|
5761
|
+
'& .SCCreateGroup-active': {
|
|
5762
|
+
color: any;
|
|
5763
|
+
};
|
|
5764
|
+
'& .SCCreateGroup-privacy-section': {
|
|
5765
|
+
marginTop: any;
|
|
5766
|
+
'& .SCCreateGroup-privacy-section-info': {
|
|
5767
|
+
marginBottom: any;
|
|
5768
|
+
};
|
|
5769
|
+
};
|
|
5770
|
+
'& .SCCreateGroup-visibility-section-info': {
|
|
5771
|
+
marginTop: any;
|
|
5772
|
+
};
|
|
5773
|
+
'& .MuiDivider-root': {
|
|
5774
|
+
marginTop: any;
|
|
5775
|
+
border: string;
|
|
5776
|
+
};
|
|
5777
|
+
'& .SCCreateGroup-invite-section': {
|
|
5778
|
+
marginTop: any;
|
|
5779
|
+
display: string;
|
|
5780
|
+
justifyContent: string;
|
|
5781
|
+
alignItems: string;
|
|
5782
|
+
};
|
|
5783
|
+
};
|
|
5784
|
+
};
|
|
5785
|
+
};
|
|
5786
|
+
SCGroupInviteButton: {
|
|
5787
|
+
styleOverrides: {
|
|
5788
|
+
root: ({ theme }: any) => {
|
|
5789
|
+
'& .MuiIcon-root': {
|
|
5790
|
+
fontSize: string;
|
|
5791
|
+
};
|
|
5792
|
+
};
|
|
5793
|
+
dialogRoot: ({ theme }: any) => {
|
|
5794
|
+
'& .SCBaseDialog-title-root span ': {
|
|
5795
|
+
width: string;
|
|
5796
|
+
display: string;
|
|
5797
|
+
alignItems: string;
|
|
5798
|
+
justifyContent: string;
|
|
5799
|
+
'& .SCGroupInviteButton-dialog-title': {
|
|
5800
|
+
fontWeight: any;
|
|
5801
|
+
fontSize: any;
|
|
5802
|
+
};
|
|
5803
|
+
};
|
|
5804
|
+
'& .SCGroupInviteButton-input': {
|
|
5805
|
+
backgroundColor: string;
|
|
5806
|
+
borderRadius: any;
|
|
5807
|
+
height: any;
|
|
5808
|
+
padding: any;
|
|
5809
|
+
'& .SCGroupInviteButton-icon ': {
|
|
5810
|
+
marginLeft: any;
|
|
5811
|
+
};
|
|
5812
|
+
'&.Mui-focused .MuiOutlinedInput-notchedOutline': {
|
|
5813
|
+
border: string;
|
|
5814
|
+
};
|
|
5815
|
+
};
|
|
5816
|
+
'& .SCGroupInviteButton-invited-box': {
|
|
5817
|
+
marginTop: any;
|
|
5818
|
+
marginBottom: any;
|
|
5819
|
+
};
|
|
5820
|
+
'& .SCGroupInviteButton-suggested': {
|
|
5821
|
+
'& h4': {
|
|
5822
|
+
marginBottom: any;
|
|
5823
|
+
};
|
|
5824
|
+
'& .SCUser-root': {
|
|
5825
|
+
'&:hover': {
|
|
5826
|
+
backgroundColor: string;
|
|
5827
|
+
};
|
|
5828
|
+
};
|
|
5829
|
+
};
|
|
5830
|
+
};
|
|
5831
|
+
};
|
|
5832
|
+
};
|
|
5833
|
+
SCGroupInfoWidget: {
|
|
5834
|
+
styleOverrides: {
|
|
5835
|
+
root: ({ theme }: any) => {
|
|
5836
|
+
'& .SCGroupInfoWidget-title': {
|
|
5837
|
+
fontWeight: any;
|
|
5838
|
+
marginBottom: any;
|
|
5839
|
+
};
|
|
5840
|
+
'& .SCGroupInfoWidget-description': {
|
|
5841
|
+
marginBottom: any;
|
|
5842
|
+
};
|
|
5843
|
+
'& .SCGroupInfoWidget-privacy': {
|
|
5844
|
+
marginBottom: any;
|
|
5845
|
+
'& .SCGroupInfoWidget-privacy-title': {
|
|
5846
|
+
color: any;
|
|
5847
|
+
fontWeight: any;
|
|
5848
|
+
display: string;
|
|
5849
|
+
alignItems: string;
|
|
5850
|
+
gap: any;
|
|
5851
|
+
};
|
|
5852
|
+
};
|
|
5853
|
+
'& .SCGroupInfoWidget-visibility-title': {
|
|
5854
|
+
color: any;
|
|
5855
|
+
fontWeight: any;
|
|
5856
|
+
display: string;
|
|
5857
|
+
alignItems: string;
|
|
5858
|
+
gap: any;
|
|
5859
|
+
};
|
|
5860
|
+
};
|
|
5861
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
5862
|
+
};
|
|
5863
|
+
};
|
|
5864
|
+
SCGroup: {
|
|
5865
|
+
styleOverrides: {
|
|
5866
|
+
root: ({ theme }: any) => {
|
|
5867
|
+
[x: number]: {
|
|
5868
|
+
borderRadius: any;
|
|
5869
|
+
};
|
|
5870
|
+
borderRadius: number;
|
|
5871
|
+
paddingBottom: number;
|
|
5872
|
+
overflow: string;
|
|
5873
|
+
'& .SCBaseItemButton-image': {
|
|
5874
|
+
marginRight: any;
|
|
5875
|
+
'& .MuiAvatar-root': {
|
|
5876
|
+
width: any;
|
|
5877
|
+
height: any;
|
|
5878
|
+
'& img': {
|
|
5879
|
+
borderRadius: number;
|
|
5880
|
+
};
|
|
5881
|
+
};
|
|
5882
|
+
};
|
|
5883
|
+
'& .SCBaseItemButton-primary': {
|
|
5884
|
+
fontWeight: any;
|
|
5885
|
+
};
|
|
5886
|
+
'& .SCBaseItemButton-secondary': {
|
|
5887
|
+
fontSize: string;
|
|
5888
|
+
};
|
|
5889
|
+
'& .SCGroup-actions': {
|
|
5890
|
+
'& .MuiIcon-root': {
|
|
5891
|
+
fontSize: string;
|
|
5892
|
+
color: any;
|
|
5893
|
+
};
|
|
5894
|
+
};
|
|
5895
|
+
};
|
|
5896
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
5897
|
+
};
|
|
5898
|
+
};
|
|
5899
|
+
SCGroupTemplate: {
|
|
5900
|
+
styleOverrides: {
|
|
5901
|
+
root: ({ theme }: any) => {
|
|
5902
|
+
marginTop: number;
|
|
5903
|
+
'& .SCCategoryTemplate-feed': {
|
|
5904
|
+
marginTop: any;
|
|
5905
|
+
};
|
|
5906
|
+
};
|
|
5907
|
+
skeletonRoot: ({ theme }: any) => {
|
|
5908
|
+
[x: number]: {
|
|
5909
|
+
marginTop: number;
|
|
5910
|
+
};
|
|
5911
|
+
marginTop: number;
|
|
5912
|
+
};
|
|
5913
|
+
};
|
|
5914
|
+
};
|
|
5915
|
+
SCGroupFeedTemplate: {
|
|
5916
|
+
styleOverrides: {
|
|
5917
|
+
root: ({ theme }: any) => {
|
|
5918
|
+
marginTop: number;
|
|
5919
|
+
'& .SCGroupFeedTemplate-feed': {
|
|
5920
|
+
marginTop: any;
|
|
5921
|
+
};
|
|
5922
|
+
'& .SCGroupFeedTemplate-tabs': {
|
|
5923
|
+
'& .MuiTabs-flexContainer': {
|
|
5924
|
+
borderBottom: string;
|
|
5925
|
+
};
|
|
5926
|
+
'& .MuiTabs-indicator': {
|
|
5927
|
+
display: string;
|
|
5928
|
+
justifyContent: string;
|
|
5929
|
+
backgroundColor: string;
|
|
5930
|
+
};
|
|
5931
|
+
'& .MuiTabs-indicatorSpan': {
|
|
5932
|
+
maxWidth: string;
|
|
5933
|
+
width: string;
|
|
5934
|
+
backgroundColor: any;
|
|
5935
|
+
};
|
|
5936
|
+
};
|
|
5937
|
+
'& .SCGroupFeedTemplate-tab-content': {
|
|
5938
|
+
'& .SCGroupFeedTemplate-members': {
|
|
5939
|
+
display: string;
|
|
5940
|
+
flexDirection: string;
|
|
5941
|
+
gap: any;
|
|
5942
|
+
};
|
|
5943
|
+
};
|
|
5944
|
+
};
|
|
5945
|
+
tabRoot: ({ theme }: any) => {
|
|
5946
|
+
textTransform: string;
|
|
5947
|
+
fontWeight: any;
|
|
5948
|
+
};
|
|
5949
|
+
skeletonRoot: ({ theme }: any) => {
|
|
5950
|
+
[x: number]: {
|
|
5951
|
+
marginTop: number;
|
|
5952
|
+
};
|
|
5953
|
+
marginTop: number;
|
|
5954
|
+
};
|
|
5955
|
+
};
|
|
5956
|
+
};
|
|
5957
|
+
SCGroupMembersWidget: {
|
|
5958
|
+
styleOverrides: {
|
|
5959
|
+
root: ({ theme }: any) => {
|
|
5960
|
+
'& .SCGroupMembersWidget-button': {
|
|
5961
|
+
marginTop: any;
|
|
5962
|
+
};
|
|
5963
|
+
};
|
|
5964
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
5965
|
+
dialogRoot: ({ theme }: any) => {};
|
|
5966
|
+
};
|
|
5967
|
+
};
|
|
5968
|
+
SCGroupRequestsWidget: {
|
|
5969
|
+
styleOverrides: {
|
|
5970
|
+
root: ({ theme }: any) => {};
|
|
5971
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
5972
|
+
dialogRoot: ({ theme }: any) => {};
|
|
5973
|
+
};
|
|
5974
|
+
};
|
|
5975
|
+
SCGroups: {
|
|
5976
|
+
styleOverrides: {
|
|
5977
|
+
root: ({ theme }: any) => {};
|
|
5978
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
5979
|
+
};
|
|
5980
|
+
};
|
|
5539
5981
|
};
|
|
5540
5982
|
selfcommunity: {
|
|
5541
5983
|
user: {
|
|
@@ -5553,6 +5995,14 @@ declare const theme: {
|
|
|
5553
5995
|
sizeLarge: number;
|
|
5554
5996
|
};
|
|
5555
5997
|
};
|
|
5998
|
+
group: {
|
|
5999
|
+
avatar: {
|
|
6000
|
+
sizeSmall: number;
|
|
6001
|
+
sizeMedium: number;
|
|
6002
|
+
sizeLarge: number;
|
|
6003
|
+
sizeXLarge: number;
|
|
6004
|
+
};
|
|
6005
|
+
};
|
|
5556
6006
|
};
|
|
5557
6007
|
};
|
|
5558
6008
|
export default theme;
|
package/lib/esm/index.js
CHANGED
|
@@ -116,6 +116,20 @@ import SCUserFeedTemplate from './components/SCUserFeedTemplate';
|
|
|
116
116
|
import SCChangeCoverButton from './components/SCChangeCoverButton';
|
|
117
117
|
import SCPrivateMessageSettingsIconButton from './components/SCPrivateMessageSettingsIconButton';
|
|
118
118
|
import SCLanguageSwitcher from './components/SCLanguageSwitcher';
|
|
119
|
+
import SCGroupHeader from './components/SCGroupHeader';
|
|
120
|
+
import SCChangeGroupCoverButton from './components/SCChangeGroupCoverButton';
|
|
121
|
+
import SCChangeGroupPictureButton from './components/SCChangeGroupPictureButton';
|
|
122
|
+
import SCGroupMembersButton from './components/SCGroupMembersButton';
|
|
123
|
+
import SCCreateGroupButton from './components/SCCreateGroupButton';
|
|
124
|
+
import SCCreateGroup from './components/SCCreateGroup';
|
|
125
|
+
import SCGroupInviteButton from './components/SCGroupInviteButton';
|
|
126
|
+
import SCGroupInfoWidget from './components/SCGroupInfoWidget';
|
|
127
|
+
import SCGroup from './components/SCGroup';
|
|
128
|
+
import SCGroupTemplate from './components/SCGroupTemplate';
|
|
129
|
+
import SCGroupFeedTemplate from './components/SCGroupFeedTemplate';
|
|
130
|
+
import SCGroupMembersWidget from './components/SCGroupMembersWidget';
|
|
131
|
+
import SCGroupRequestsWidget from './components/SCGroupRequestsWidget';
|
|
132
|
+
import SCGroups from './components/SCGroups';
|
|
119
133
|
/**
|
|
120
134
|
* Style fragments - Imports - End
|
|
121
135
|
*/
|
|
@@ -165,7 +179,8 @@ const theme = {
|
|
|
165
179
|
}
|
|
166
180
|
},
|
|
167
181
|
shape: {
|
|
168
|
-
borderRadius: 20
|
|
182
|
+
borderRadius: 20,
|
|
183
|
+
borderRadiusSm: 10
|
|
169
184
|
},
|
|
170
185
|
spacing: 8,
|
|
171
186
|
mixins: {
|
|
@@ -294,7 +309,21 @@ const theme = {
|
|
|
294
309
|
SCNotificationFeedTemplate,
|
|
295
310
|
SCUserFeedTemplate,
|
|
296
311
|
SCChangeCoverButton,
|
|
297
|
-
SCPrivateMessageSettingsIconButton
|
|
312
|
+
SCPrivateMessageSettingsIconButton,
|
|
313
|
+
SCGroupHeader,
|
|
314
|
+
SCChangeGroupCoverButton,
|
|
315
|
+
SCChangeGroupPictureButton,
|
|
316
|
+
SCGroupMembersButton,
|
|
317
|
+
SCCreateGroupButton,
|
|
318
|
+
SCCreateGroup,
|
|
319
|
+
SCGroupInviteButton,
|
|
320
|
+
SCGroupInfoWidget,
|
|
321
|
+
SCGroup,
|
|
322
|
+
SCGroupTemplate,
|
|
323
|
+
SCGroupFeedTemplate,
|
|
324
|
+
SCGroupMembersWidget,
|
|
325
|
+
SCGroupRequestsWidget,
|
|
326
|
+
SCGroups
|
|
298
327
|
},
|
|
299
328
|
selfcommunity: {
|
|
300
329
|
user: {
|
|
@@ -311,6 +340,14 @@ const theme = {
|
|
|
311
340
|
sizeMedium: 40,
|
|
312
341
|
sizeLarge: 50
|
|
313
342
|
}
|
|
343
|
+
},
|
|
344
|
+
group: {
|
|
345
|
+
avatar: {
|
|
346
|
+
sizeSmall: 40,
|
|
347
|
+
sizeMedium: 60,
|
|
348
|
+
sizeLarge: 90,
|
|
349
|
+
sizeXLarge: 120
|
|
350
|
+
}
|
|
314
351
|
}
|
|
315
352
|
}
|
|
316
353
|
};
|
|
Binary file
|