@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.
Files changed (87) hide show
  1. package/lib/cjs/components/SCChangeGroupCoverButton.d.ts +9 -0
  2. package/lib/cjs/components/SCChangeGroupCoverButton.js +11 -0
  3. package/lib/cjs/components/SCChangeGroupPictureButton.d.ts +9 -0
  4. package/lib/cjs/components/SCChangeGroupPictureButton.js +11 -0
  5. package/lib/cjs/components/SCCreateGroup.d.ts +85 -0
  6. package/lib/cjs/components/SCCreateGroup.js +88 -0
  7. package/lib/cjs/components/SCCreateGroupButton.d.ts +10 -0
  8. package/lib/cjs/components/SCCreateGroupButton.js +12 -0
  9. package/lib/cjs/components/SCGroup.d.ts +36 -0
  10. package/lib/cjs/components/SCGroup.js +38 -0
  11. package/lib/cjs/components/SCGroupFeedTemplate.d.ts +43 -0
  12. package/lib/cjs/components/SCGroupFeedTemplate.js +45 -0
  13. package/lib/cjs/components/SCGroupHeader.d.ts +120 -0
  14. package/lib/cjs/components/SCGroupHeader.js +121 -0
  15. package/lib/cjs/components/SCGroupInfoWidget.d.ts +32 -0
  16. package/lib/cjs/components/SCGroupInfoWidget.js +34 -0
  17. package/lib/cjs/components/SCGroupInviteButton.d.ts +48 -0
  18. package/lib/cjs/components/SCGroupInviteButton.js +51 -0
  19. package/lib/cjs/components/SCGroupMembersButton.d.ts +22 -0
  20. package/lib/cjs/components/SCGroupMembersButton.js +24 -0
  21. package/lib/cjs/components/SCGroupMembersWidget.d.ts +12 -0
  22. package/lib/cjs/components/SCGroupMembersWidget.js +14 -0
  23. package/lib/cjs/components/SCGroupRequestsWidget.d.ts +8 -0
  24. package/lib/cjs/components/SCGroupRequestsWidget.js +10 -0
  25. package/lib/cjs/components/SCGroupTemplate.d.ts +17 -0
  26. package/lib/cjs/components/SCGroupTemplate.js +19 -0
  27. package/lib/cjs/components/SCGroups.d.ts +7 -0
  28. package/lib/cjs/components/SCGroups.js +9 -0
  29. package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
  30. package/lib/cjs/components/SCNavigationToolbar.js +1 -1
  31. package/lib/cjs/components/SCPrivateMessageEditor.d.ts +0 -3
  32. package/lib/cjs/components/SCPrivateMessageEditor.js +0 -3
  33. package/lib/cjs/fonts/community/icons.eot +0 -0
  34. package/lib/cjs/fonts/community/icons.svg +7 -3
  35. package/lib/cjs/fonts/community/icons.ttf +0 -0
  36. package/lib/cjs/fonts/community/icons.woff +0 -0
  37. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  38. package/lib/cjs/fonts/community-icons.css +12 -6
  39. package/lib/cjs/index.d.ts +454 -4
  40. package/lib/cjs/index.js +39 -2
  41. package/lib/esm/components/SCChangeGroupCoverButton.d.ts +9 -0
  42. package/lib/esm/components/SCChangeGroupCoverButton.js +9 -0
  43. package/lib/esm/components/SCChangeGroupPictureButton.d.ts +9 -0
  44. package/lib/esm/components/SCChangeGroupPictureButton.js +9 -0
  45. package/lib/esm/components/SCCreateGroup.d.ts +85 -0
  46. package/lib/esm/components/SCCreateGroup.js +86 -0
  47. package/lib/esm/components/SCCreateGroupButton.d.ts +10 -0
  48. package/lib/esm/components/SCCreateGroupButton.js +10 -0
  49. package/lib/esm/components/SCGroup.d.ts +36 -0
  50. package/lib/esm/components/SCGroup.js +36 -0
  51. package/lib/esm/components/SCGroupFeedTemplate.d.ts +43 -0
  52. package/lib/esm/components/SCGroupFeedTemplate.js +43 -0
  53. package/lib/esm/components/SCGroupHeader.d.ts +120 -0
  54. package/lib/esm/components/SCGroupHeader.js +119 -0
  55. package/lib/esm/components/SCGroupInfoWidget.d.ts +32 -0
  56. package/lib/esm/components/SCGroupInfoWidget.js +32 -0
  57. package/lib/esm/components/SCGroupInviteButton.d.ts +48 -0
  58. package/lib/esm/components/SCGroupInviteButton.js +49 -0
  59. package/lib/esm/components/SCGroupMembersButton.d.ts +22 -0
  60. package/lib/esm/components/SCGroupMembersButton.js +22 -0
  61. package/lib/esm/components/SCGroupMembersWidget.d.ts +12 -0
  62. package/lib/esm/components/SCGroupMembersWidget.js +12 -0
  63. package/lib/esm/components/SCGroupRequestsWidget.d.ts +8 -0
  64. package/lib/esm/components/SCGroupRequestsWidget.js +8 -0
  65. package/lib/esm/components/SCGroupTemplate.d.ts +17 -0
  66. package/lib/esm/components/SCGroupTemplate.js +17 -0
  67. package/lib/esm/components/SCGroups.d.ts +7 -0
  68. package/lib/esm/components/SCGroups.js +7 -0
  69. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  70. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  71. package/lib/esm/components/SCPrivateMessageEditor.d.ts +0 -3
  72. package/lib/esm/components/SCPrivateMessageEditor.js +0 -3
  73. package/lib/esm/fonts/community/icons.eot +0 -0
  74. package/lib/esm/fonts/community/icons.svg +7 -3
  75. package/lib/esm/fonts/community/icons.ttf +0 -0
  76. package/lib/esm/fonts/community/icons.woff +0 -0
  77. package/lib/esm/fonts/community/icons.woff2 +0 -0
  78. package/lib/esm/fonts/community-icons.css +12 -6
  79. package/lib/esm/index.d.ts +454 -4
  80. package/lib/esm/index.js +39 -2
  81. package/lib/umd/community/icons.eot +0 -0
  82. package/lib/umd/community/icons.svg +7 -3
  83. package/lib/umd/community/icons.ttf +0 -0
  84. package/lib/umd/community/icons.woff +0 -0
  85. package/lib/umd/community/icons.woff2 +0 -0
  86. package/lib/umd/react-theme-default.js +2 -2
  87. package/package.json +4 -4
@@ -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/cjs/index.js CHANGED
@@ -119,6 +119,20 @@ const SCUserFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCUse
119
119
  const SCChangeCoverButton_1 = tslib_1.__importDefault(require("./components/SCChangeCoverButton"));
120
120
  const SCPrivateMessageSettingsIconButton_1 = tslib_1.__importDefault(require("./components/SCPrivateMessageSettingsIconButton"));
121
121
  const SCLanguageSwitcher_1 = tslib_1.__importDefault(require("./components/SCLanguageSwitcher"));
122
+ const SCGroupHeader_1 = tslib_1.__importDefault(require("./components/SCGroupHeader"));
123
+ const SCChangeGroupCoverButton_1 = tslib_1.__importDefault(require("./components/SCChangeGroupCoverButton"));
124
+ const SCChangeGroupPictureButton_1 = tslib_1.__importDefault(require("./components/SCChangeGroupPictureButton"));
125
+ const SCGroupMembersButton_1 = tslib_1.__importDefault(require("./components/SCGroupMembersButton"));
126
+ const SCCreateGroupButton_1 = tslib_1.__importDefault(require("./components/SCCreateGroupButton"));
127
+ const SCCreateGroup_1 = tslib_1.__importDefault(require("./components/SCCreateGroup"));
128
+ const SCGroupInviteButton_1 = tslib_1.__importDefault(require("./components/SCGroupInviteButton"));
129
+ const SCGroupInfoWidget_1 = tslib_1.__importDefault(require("./components/SCGroupInfoWidget"));
130
+ const SCGroup_1 = tslib_1.__importDefault(require("./components/SCGroup"));
131
+ const SCGroupTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupTemplate"));
132
+ const SCGroupFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupFeedTemplate"));
133
+ const SCGroupMembersWidget_1 = tslib_1.__importDefault(require("./components/SCGroupMembersWidget"));
134
+ const SCGroupRequestsWidget_1 = tslib_1.__importDefault(require("./components/SCGroupRequestsWidget"));
135
+ const SCGroups_1 = tslib_1.__importDefault(require("./components/SCGroups"));
122
136
  /**
123
137
  * Style fragments - Imports - End
124
138
  */
@@ -168,7 +182,8 @@ const theme = {
168
182
  }
169
183
  },
170
184
  shape: {
171
- borderRadius: 20
185
+ borderRadius: 20,
186
+ borderRadiusSm: 10
172
187
  },
173
188
  spacing: 8,
174
189
  mixins: {
@@ -297,7 +312,21 @@ const theme = {
297
312
  SCNotificationFeedTemplate: SCNotificationFeedTemplate_1.default,
298
313
  SCUserFeedTemplate: SCUserFeedTemplate_1.default,
299
314
  SCChangeCoverButton: SCChangeCoverButton_1.default,
300
- SCPrivateMessageSettingsIconButton: SCPrivateMessageSettingsIconButton_1.default
315
+ SCPrivateMessageSettingsIconButton: SCPrivateMessageSettingsIconButton_1.default,
316
+ SCGroupHeader: SCGroupHeader_1.default,
317
+ SCChangeGroupCoverButton: SCChangeGroupCoverButton_1.default,
318
+ SCChangeGroupPictureButton: SCChangeGroupPictureButton_1.default,
319
+ SCGroupMembersButton: SCGroupMembersButton_1.default,
320
+ SCCreateGroupButton: SCCreateGroupButton_1.default,
321
+ SCCreateGroup: SCCreateGroup_1.default,
322
+ SCGroupInviteButton: SCGroupInviteButton_1.default,
323
+ SCGroupInfoWidget: SCGroupInfoWidget_1.default,
324
+ SCGroup: SCGroup_1.default,
325
+ SCGroupTemplate: SCGroupTemplate_1.default,
326
+ SCGroupFeedTemplate: SCGroupFeedTemplate_1.default,
327
+ SCGroupMembersWidget: SCGroupMembersWidget_1.default,
328
+ SCGroupRequestsWidget: SCGroupRequestsWidget_1.default,
329
+ SCGroups: SCGroups_1.default
301
330
  },
302
331
  selfcommunity: {
303
332
  user: {
@@ -314,6 +343,14 @@ const theme = {
314
343
  sizeMedium: 40,
315
344
  sizeLarge: 50
316
345
  }
346
+ },
347
+ group: {
348
+ avatar: {
349
+ sizeSmall: 40,
350
+ sizeMedium: 60,
351
+ sizeLarge: 90,
352
+ sizeXLarge: 120
353
+ }
317
354
  }
318
355
  }
319
356
  };
@@ -0,0 +1,9 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ padding: any;
5
+ minWidth: string;
6
+ };
7
+ };
8
+ };
9
+ export default Component;
@@ -0,0 +1,9 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ padding: theme.spacing(1),
5
+ minWidth: 'auto'
6
+ })
7
+ }
8
+ };
9
+ export default Component;
@@ -0,0 +1,9 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ padding: any;
5
+ minWidth: string;
6
+ };
7
+ };
8
+ };
9
+ export default Component;
@@ -0,0 +1,9 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ padding: theme.spacing(1),
5
+ minWidth: 'auto'
6
+ })
7
+ }
8
+ };
9
+ export default Component;
@@ -0,0 +1,85 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCCreateGroup-cover': {
5
+ position: string;
6
+ height: number;
7
+ minHeight: number;
8
+ '& .SCCreateGroup-avatar': {
9
+ top: number;
10
+ display: string;
11
+ position: string;
12
+ transform: string;
13
+ left: string;
14
+ '& .MuiAvatar-root': {
15
+ height: any;
16
+ width: any;
17
+ borderRadius: string;
18
+ border: string;
19
+ objectFit: string;
20
+ '& img': {
21
+ height: any;
22
+ width: any;
23
+ };
24
+ };
25
+ };
26
+ '& .SCChangeGroupPictureButton-root': {
27
+ top: number;
28
+ left: string;
29
+ transform: string;
30
+ position: string;
31
+ display: string;
32
+ };
33
+ '& .SCChangeGroupCoverButton-root': {
34
+ position: string;
35
+ right: any;
36
+ bottom: any;
37
+ };
38
+ };
39
+ '& .SCCreateGroup-header': {
40
+ marginTop: any;
41
+ color: any;
42
+ };
43
+ '& .SCCreateGroup-switch': {
44
+ '& .MuiButtonBase-root': {
45
+ '&.Mui-checked': {
46
+ color: any;
47
+ '& + .MuiSwitch-track': {
48
+ backgroundColor: any;
49
+ };
50
+ };
51
+ };
52
+ };
53
+ '& .SCCreateGroup-switch-label': {
54
+ fontWeight: any;
55
+ display: string;
56
+ alignItems: string;
57
+ justifyContent: string;
58
+ gap: any;
59
+ };
60
+ '& .SCCreateGroup-active': {
61
+ color: any;
62
+ };
63
+ '& .SCCreateGroup-privacy-section': {
64
+ marginTop: any;
65
+ '& .SCCreateGroup-privacy-section-info': {
66
+ marginBottom: any;
67
+ };
68
+ };
69
+ '& .SCCreateGroup-visibility-section-info': {
70
+ marginTop: any;
71
+ };
72
+ '& .MuiDivider-root': {
73
+ marginTop: any;
74
+ border: string;
75
+ };
76
+ '& .SCCreateGroup-invite-section': {
77
+ marginTop: any;
78
+ display: string;
79
+ justifyContent: string;
80
+ alignItems: string;
81
+ };
82
+ };
83
+ };
84
+ };
85
+ export default Component;