@selfcommunity/react-theme-default 0.4.5-payments.192 → 0.4.5-payments.195

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.
@@ -3,12 +3,13 @@ const Component = {
3
3
  root: ({ theme }) => ({
4
4
  borderRadius: 0,
5
5
  paddingBottom: 0,
6
+ paddingLeft: theme.spacing(),
7
+ paddingRight: theme.spacing(),
6
8
  overflow: 'visible',
7
9
  [theme.breakpoints.up('sm')]: {
8
10
  borderRadius: theme.shape.borderRadiusSm
9
11
  },
10
12
  '& .SCBaseItemButton-image': {
11
- marginRight: theme.spacing(1.25),
12
13
  '& .MuiAvatar-root': {
13
14
  width: theme.selfcommunity.group.avatar.sizeSmall,
14
15
  height: theme.selfcommunity.group.avatar.sizeSmall,
@@ -38,7 +39,10 @@ const Component = {
38
39
  }
39
40
  }
40
41
  }),
41
- skeletonRoot: ({ theme }) => ({})
42
+ skeletonRoot: ({ theme }) => ({
43
+ paddingLeft: theme.spacing(),
44
+ paddingRight: theme.spacing(),
45
+ })
42
46
  }
43
47
  };
44
48
  export default Component;
@@ -0,0 +1,13 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCCategory-category-image': {
5
+ paddingLeft: any;
6
+ };
7
+ '& .SCGroup-avatar': {
8
+ marginLeft: any;
9
+ };
10
+ };
11
+ };
12
+ };
13
+ export default Component;
@@ -0,0 +1,13 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCCategory-category-image': {
5
+ paddingLeft: theme.spacing(1)
6
+ },
7
+ '& .SCGroup-avatar': {
8
+ marginLeft: theme.spacing(1)
9
+ }
10
+ })
11
+ }
12
+ };
13
+ export default Component;
@@ -773,6 +773,10 @@ declare const theme: {
773
773
  textOverflow: string;
774
774
  display: string;
775
775
  };
776
+ '&.MuiPaper-outlined': {
777
+ paddingLeft: any;
778
+ paddingRight: any;
779
+ };
776
780
  };
777
781
  skeletonRoot: ({ theme }: any) => {
778
782
  '& .SCCategory-image': {
@@ -787,6 +791,10 @@ declare const theme: {
787
791
  '& .SCCategory-action': {
788
792
  margin: any;
789
793
  };
794
+ '&.MuiPaper-outlined': {
795
+ paddingLeft: any;
796
+ paddingRight: any;
797
+ };
790
798
  };
791
799
  };
792
800
  };
@@ -1767,7 +1775,7 @@ declare const theme: {
1767
1775
  };
1768
1776
  SCCourse: {
1769
1777
  styleOverrides: {
1770
- root: () => {
1778
+ root: ({ theme }: any) => {
1771
1779
  width: string;
1772
1780
  };
1773
1781
  snippetRoot: ({ theme }: any) => {
@@ -1848,6 +1856,9 @@ declare const theme: {
1848
1856
  padding: any;
1849
1857
  };
1850
1858
  };
1859
+ '& .SCBaseItemButton-actions': {
1860
+ marginRight: any;
1861
+ };
1851
1862
  };
1852
1863
  previewRoot: ({ theme }: any) => {
1853
1864
  [x: number]: {
@@ -2041,6 +2052,10 @@ declare const theme: {
2041
2052
  };
2042
2053
  };
2043
2054
  };
2055
+ '&.MuiPaper-outlined': {
2056
+ paddingLeft: any;
2057
+ paddingRight: any;
2058
+ };
2044
2059
  };
2045
2060
  };
2046
2061
  };
@@ -4721,9 +4736,10 @@ declare const theme: {
4721
4736
  };
4722
4737
  borderRadius: number;
4723
4738
  paddingBottom: number;
4739
+ paddingLeft: any;
4740
+ paddingRight: any;
4724
4741
  overflow: string;
4725
4742
  '& .SCBaseItemButton-image': {
4726
- marginRight: any;
4727
4743
  '& .MuiAvatar-root': {
4728
4744
  width: any;
4729
4745
  height: any;
@@ -4753,7 +4769,10 @@ declare const theme: {
4753
4769
  };
4754
4770
  };
4755
4771
  };
4756
- skeletonRoot: ({ theme }: any) => {};
4772
+ skeletonRoot: ({ theme }: any) => {
4773
+ paddingLeft: any;
4774
+ paddingRight: any;
4775
+ };
4757
4776
  };
4758
4777
  };
4759
4778
  SCGroupActionsMenu: {
@@ -11775,6 +11794,33 @@ declare const theme: {
11775
11794
  margin: any;
11776
11795
  width: string;
11777
11796
  };
11797
+ "& .SCCheckout-payment-order": {
11798
+ display: string;
11799
+ flexDirection: string;
11800
+ justifyContent: string;
11801
+ alignItems: string;
11802
+ margin: any;
11803
+ '& .SCPaymentOrder-root': {
11804
+ width: string;
11805
+ display: string;
11806
+ flexDirection: string;
11807
+ justifyContent: string;
11808
+ alignItems: string;
11809
+ '& .SCPaymentOrder-content-object': {
11810
+ minWidth: number;
11811
+ };
11812
+ '& .SCPaymentOrder-details': {
11813
+ minWidth: number;
11814
+ };
11815
+ '& .SCPaymentOrderPdfButton-root': {
11816
+ paddingLeft: any;
11817
+ paddingRight: any;
11818
+ };
11819
+ };
11820
+ '& .SCPaymentOrder-skeleton-root': {
11821
+ minWidth: number;
11822
+ };
11823
+ };
11778
11824
  "& .SCCategory-root": {
11779
11825
  borderRadius: any;
11780
11826
  '& a': {
@@ -11821,6 +11867,12 @@ declare const theme: {
11821
11867
  '& .SCCourse-preview-root': {
11822
11868
  minHeight: string;
11823
11869
  };
11870
+ '& .SCCategory-category-image': {
11871
+ paddingLeft: any;
11872
+ };
11873
+ '& .SCGroup-avatar': {
11874
+ marginLeft: any;
11875
+ };
11824
11876
  };
11825
11877
  };
11826
11878
  };
@@ -12019,6 +12071,18 @@ declare const theme: {
12019
12071
  };
12020
12072
  };
12021
12073
  };
12074
+ SCPaymentOrders: {
12075
+ styleOverrides: {
12076
+ root: ({ theme }: any) => {
12077
+ '& .SCCategory-category-image': {
12078
+ paddingLeft: any;
12079
+ };
12080
+ '& .SCGroup-avatar': {
12081
+ marginLeft: any;
12082
+ };
12083
+ };
12084
+ };
12085
+ };
12022
12086
  };
12023
12087
  selfcommunity: {
12024
12088
  user: {
package/lib/esm/index.js CHANGED
@@ -214,6 +214,7 @@ import SCHiddenPurchasableContent from './components/SCHiddenPurchasableContent'
214
214
  import SCPaywalls from './components/SCPaywalls';
215
215
  import SCPaywallsConfigurator from './components/SCPaywallsConfigurator';
216
216
  import SCPdfPreview from './components/SCPdfPreview';
217
+ import SCPaymentOrders from './components/SCPaymentOrders';
217
218
  /**
218
219
  * Style fragments - Imports - End
219
220
  */
@@ -506,7 +507,8 @@ const theme = {
506
507
  SCHiddenPurchasableContent,
507
508
  SCPaywalls,
508
509
  SCPaywallsConfigurator,
509
- SCPdfPreview
510
+ SCPdfPreview,
511
+ SCPaymentOrders
510
512
  },
511
513
  selfcommunity: {
512
514
  user: {