@selfcommunity/react-theme-default 0.4.5-payments.148 → 0.4.5-payments.150

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 (78) hide show
  1. package/lib/cjs/components/SCAccordionLessons.d.ts +3 -0
  2. package/lib/cjs/components/SCAccordionLessons.js +3 -0
  3. package/lib/cjs/components/SCCategoryFollowButton.d.ts +8 -0
  4. package/lib/cjs/components/SCCategoryFollowButton.js +10 -0
  5. package/lib/cjs/components/SCCategoryHeader.d.ts +4 -0
  6. package/lib/cjs/components/SCCategoryHeader.js +5 -1
  7. package/lib/cjs/components/SCCheckout.d.ts +3 -1
  8. package/lib/cjs/components/SCCheckout.js +3 -1
  9. package/lib/cjs/components/SCCommentObjectReply.d.ts +7 -0
  10. package/lib/cjs/components/SCCommentObjectReply.js +8 -1
  11. package/lib/cjs/components/SCComposer.d.ts +13 -0
  12. package/lib/cjs/components/SCComposer.js +14 -22
  13. package/lib/cjs/components/SCCourse.d.ts +25 -6
  14. package/lib/cjs/components/SCCourse.js +28 -9
  15. package/lib/cjs/components/SCCourseDashboard.d.ts +15 -1
  16. package/lib/cjs/components/SCCourseDashboard.js +16 -2
  17. package/lib/cjs/components/SCCourses.d.ts +0 -1
  18. package/lib/cjs/components/SCCourses.js +0 -1
  19. package/lib/cjs/components/SCEditCourse.d.ts +6 -0
  20. package/lib/cjs/components/SCEditCourse.js +6 -0
  21. package/lib/cjs/components/SCEditor.d.ts +0 -20
  22. package/lib/cjs/components/SCEditor.js +0 -20
  23. package/lib/cjs/components/SCHiddenPurchasableContent.d.ts +8 -0
  24. package/lib/cjs/components/SCHiddenPurchasableContent.js +10 -0
  25. package/lib/cjs/components/SCLessonCommentObject.d.ts +3 -0
  26. package/lib/cjs/components/SCLessonCommentObject.js +3 -0
  27. package/lib/cjs/components/SCLessonFilePreview.d.ts +31 -0
  28. package/lib/cjs/components/SCLessonFilePreview.js +33 -0
  29. package/lib/cjs/components/SCLessonObject.d.ts +22 -4
  30. package/lib/cjs/components/SCLessonObject.js +22 -5
  31. package/lib/cjs/components/SCLessonTemplate.d.ts +5 -1
  32. package/lib/cjs/components/SCLessonTemplate.js +6 -1
  33. package/lib/cjs/components/SCPaymentProduct.d.ts +0 -7
  34. package/lib/cjs/components/SCPaymentProduct.js +3 -10
  35. package/lib/cjs/components/SCPaymentProductPrice.d.ts +7 -0
  36. package/lib/cjs/components/SCPaymentProductPrice.js +8 -1
  37. package/lib/cjs/index.d.ts +158 -44
  38. package/lib/cjs/index.js +7 -1
  39. package/lib/esm/components/SCAccordionLessons.d.ts +3 -0
  40. package/lib/esm/components/SCAccordionLessons.js +3 -0
  41. package/lib/esm/components/SCCategoryFollowButton.d.ts +8 -0
  42. package/lib/esm/components/SCCategoryFollowButton.js +8 -0
  43. package/lib/esm/components/SCCategoryHeader.d.ts +4 -0
  44. package/lib/esm/components/SCCategoryHeader.js +5 -1
  45. package/lib/esm/components/SCCheckout.d.ts +3 -1
  46. package/lib/esm/components/SCCheckout.js +3 -1
  47. package/lib/esm/components/SCCommentObjectReply.d.ts +7 -0
  48. package/lib/esm/components/SCCommentObjectReply.js +8 -1
  49. package/lib/esm/components/SCComposer.d.ts +13 -0
  50. package/lib/esm/components/SCComposer.js +14 -22
  51. package/lib/esm/components/SCCourse.d.ts +25 -6
  52. package/lib/esm/components/SCCourse.js +28 -9
  53. package/lib/esm/components/SCCourseDashboard.d.ts +15 -1
  54. package/lib/esm/components/SCCourseDashboard.js +16 -2
  55. package/lib/esm/components/SCCourses.d.ts +0 -1
  56. package/lib/esm/components/SCCourses.js +0 -1
  57. package/lib/esm/components/SCEditCourse.d.ts +6 -0
  58. package/lib/esm/components/SCEditCourse.js +6 -0
  59. package/lib/esm/components/SCEditor.d.ts +0 -20
  60. package/lib/esm/components/SCEditor.js +0 -20
  61. package/lib/esm/components/SCHiddenPurchasableContent.d.ts +8 -0
  62. package/lib/esm/components/SCHiddenPurchasableContent.js +8 -0
  63. package/lib/esm/components/SCLessonCommentObject.d.ts +3 -0
  64. package/lib/esm/components/SCLessonCommentObject.js +3 -0
  65. package/lib/esm/components/SCLessonFilePreview.d.ts +31 -0
  66. package/lib/esm/components/SCLessonFilePreview.js +31 -0
  67. package/lib/esm/components/SCLessonObject.d.ts +22 -4
  68. package/lib/esm/components/SCLessonObject.js +22 -5
  69. package/lib/esm/components/SCLessonTemplate.d.ts +5 -1
  70. package/lib/esm/components/SCLessonTemplate.js +6 -1
  71. package/lib/esm/components/SCPaymentProduct.d.ts +0 -7
  72. package/lib/esm/components/SCPaymentProduct.js +3 -10
  73. package/lib/esm/components/SCPaymentProductPrice.d.ts +7 -0
  74. package/lib/esm/components/SCPaymentProductPrice.js +8 -1
  75. package/lib/esm/index.d.ts +158 -44
  76. package/lib/esm/index.js +7 -1
  77. package/lib/umd/react-theme-default.js +1 -1
  78. package/package.json +2 -2
@@ -1,17 +1,21 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
+ [x: number]: {
5
+ padding: any;
6
+ };
4
7
  display: string;
5
8
  flexDirection: string;
6
- padding: any;
7
9
  '& .SCLessonObject-content': {
8
10
  padding: string;
9
11
  '& .SCLessonObject-text': {
10
12
  '& > div:first-of-type': {
11
- height: string;
12
13
  img: {
13
- height: string;
14
- objectFit: string;
14
+ display: string;
15
+ margin: string;
16
+ width: string;
17
+ maxWidth: string;
18
+ position: string;
15
19
  };
16
20
  padding: string;
17
21
  };
@@ -25,6 +29,20 @@ declare const Component: {
25
29
  color: string;
26
30
  };
27
31
  };
32
+ '& .SCLessonObject-medias-section': {
33
+ display: string;
34
+ '& .SCLessonFilePreview-root': {
35
+ marginBottom: any;
36
+ };
37
+ '& .SCMediaLink-display-root': {
38
+ marginBottom: any;
39
+ '& > div > div': {
40
+ [x: number]: {
41
+ height: string;
42
+ };
43
+ };
44
+ };
45
+ };
28
46
  };
29
47
  '& .SCLessonObject-content-edit': {
30
48
  padding: string;
@@ -3,19 +3,22 @@ const Component = {
3
3
  root: ({ theme }) => ({
4
4
  display: 'flex',
5
5
  flexDirection: 'column',
6
- padding: theme.spacing(1),
6
+ [theme.breakpoints.up('sm')]: {
7
+ padding: theme.spacing(1)
8
+ },
7
9
  '& .SCLessonObject-content': {
8
10
  padding: `${theme.spacing(2)} !important`,
9
11
  '& .SCLessonObject-text': {
10
12
  '& > div:first-of-type': {
11
- height: '240px',
12
13
  img: {
13
- height: '240px',
14
- objectFit: 'cover'
14
+ display: 'block',
15
+ margin: '0 auto',
16
+ width: 'auto !important',
17
+ maxWidth: '100% !important',
18
+ position: 'relative !important'
15
19
  },
16
20
  padding: '0 !important'
17
21
  },
18
- // '& .SCEditor-paragraph': {}
19
22
  '& > div:has(> a)': {
20
23
  borderRadius: '5px',
21
24
  padding: theme.spacing(1),
@@ -25,6 +28,20 @@ const Component = {
25
28
  textDecoration: 'none',
26
29
  color: 'inherit'
27
30
  }
31
+ },
32
+ '& .SCLessonObject-medias-section': {
33
+ display: 'flex',
34
+ '& .SCLessonFilePreview-root': {
35
+ marginBottom: theme.spacing(1)
36
+ },
37
+ '& .SCMediaLink-display-root': {
38
+ marginBottom: theme.spacing(1),
39
+ '& > div > div': {
40
+ [theme.breakpoints.down('md')]: {
41
+ height: '240px !important'
42
+ }
43
+ }
44
+ }
28
45
  }
29
46
  },
30
47
  '& .SCLessonObject-content-edit': {
@@ -8,10 +8,14 @@ declare const Component: {
8
8
  justifyContent: string;
9
9
  marginBottom: any;
10
10
  };
11
+ '& .SCLessonTemplate-button': {
12
+ alignSelf: string;
13
+ marginTop: string;
14
+ };
11
15
  width: string;
12
16
  display: string;
13
17
  flexDirection: string;
14
- overflow: string;
18
+ paddingBottom: any;
15
19
  transition: any;
16
20
  marginRight: number;
17
21
  };
@@ -1,7 +1,9 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
3
  root: () => ({}),
4
- containerRoot: ({ theme, open }) => (Object.assign(Object.assign({ display: 'flex', flexDirection: 'column', overflow: 'hidden', transition: theme.transitions.create('margin', {
4
+ containerRoot: ({ theme, open }) => (Object.assign(Object.assign({ display: 'flex', flexDirection: 'column', paddingBottom: theme.mixins.toolbar.minHeight,
5
+ //overflow: 'hidden',
6
+ transition: theme.transitions.create('margin', {
5
7
  easing: theme.transitions.easing.sharp,
6
8
  duration: theme.transitions.duration.leavingScreen
7
9
  }), marginRight: 0 }, (open && {
@@ -12,6 +14,9 @@ const Component = {
12
14
  alignItems: 'center',
13
15
  justifyContent: 'space-between',
14
16
  marginBottom: theme.spacing(1)
17
+ }, '& .SCLessonTemplate-button': {
18
+ alignSelf: 'center',
19
+ marginTop: 'auto'
15
20
  } }))
16
21
  }
17
22
  };
@@ -25,10 +25,6 @@ declare const Component: {
25
25
  };
26
26
  };
27
27
  '& .SCPaymentProductPrice-root': {
28
- [x: number]: {
29
- width: string;
30
- borderRadius: string;
31
- };
32
28
  marginBottom: any;
33
29
  width: string;
34
30
  borderRadius: string;
@@ -46,9 +42,6 @@ declare const Component: {
46
42
  };
47
43
  };
48
44
  '& .SCPaymentProductPrice-skeleton-root': {
49
- [x: number]: {
50
- width: string;
51
- };
52
45
  marginBottom: any;
53
46
  width: string;
54
47
  };
@@ -24,12 +24,8 @@ const Component = {
24
24
  },
25
25
  '& .SCPaymentProductPrice-root': {
26
26
  marginBottom: theme.spacing(),
27
- width: '95%',
28
- borderRadius: '3px',
29
- [theme.breakpoints.down('md')]: {
30
- width: '88%',
31
- borderRadius: '3px'
32
- }
27
+ width: 'auto',
28
+ borderRadius: '3px'
33
29
  }
34
30
  }),
35
31
  skeletonRoot: ({ theme }) => ({
@@ -43,10 +39,7 @@ const Component = {
43
39
  },
44
40
  '& .SCPaymentProductPrice-skeleton-root': {
45
41
  marginBottom: theme.spacing(),
46
- width: '95%',
47
- [theme.breakpoints.down('md')]: {
48
- width: '88%'
49
- }
42
+ width: 'auto'
50
43
  }
51
44
  })
52
45
  }
@@ -4,6 +4,13 @@ declare const Component: {
4
4
  theme: any;
5
5
  }) => {
6
6
  borderRadius: string;
7
+ '& .SCPaymentProductPrice-button-purchased': {
8
+ backgroundColor: string;
9
+ color: string;
10
+ };
11
+ '& .SCPaymentProductPrice-purchased-at': {
12
+ textDecoration: string;
13
+ };
7
14
  };
8
15
  skeletonRoot: ({ theme }: {
9
16
  theme: any;
@@ -1,7 +1,14 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
3
  root: ({ theme }) => ({
4
- borderRadius: '3px'
4
+ borderRadius: '3px',
5
+ '& .SCPaymentProductPrice-button-purchased': {
6
+ backgroundColor: `${theme.palette.secondary.main} !important`,
7
+ color: `${theme.palette.secondary.contrastText} !important`
8
+ },
9
+ '& .SCPaymentProductPrice-purchased-at': {
10
+ textDecoration: 'underline'
11
+ }
5
12
  }),
6
13
  skeletonRoot: ({ theme }) => ({
7
14
  borderRadius: '3px'
@@ -240,6 +240,9 @@ declare const theme: {
240
240
  }) => {
241
241
  border: string;
242
242
  borderRadius: string;
243
+ '& .SCAccordionLessons-empty': {
244
+ padding: any;
245
+ };
243
246
  '& .SCAccordionLessons-accordion': {
244
247
  '& .SCAccordionLessons-summary': {
245
248
  flexDirection: string;
@@ -814,6 +817,13 @@ declare const theme: {
814
817
  dialogRoot: () => {};
815
818
  };
816
819
  };
820
+ SCCategoryFollowButton: {
821
+ styleOverrides: {
822
+ root: ({ theme }: any) => {
823
+ padding: any;
824
+ };
825
+ };
826
+ };
817
827
  SCCategoryHeader: {
818
828
  defaultProps: {
819
829
  CategoryFollowButtonProps: {
@@ -862,6 +872,10 @@ declare const theme: {
862
872
  '& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
863
873
  textAlign: string;
864
874
  marginBottom: any;
875
+ '& button': {
876
+ marginLeft: any;
877
+ marginRight: any;
878
+ };
865
879
  };
866
880
  '& .SCCategoryHeader-followed': {
867
881
  marginBottom: string;
@@ -1182,6 +1196,13 @@ declare const theme: {
1182
1196
  '& .SCCommentObjectReply-comment': {
1183
1197
  overflow: string;
1184
1198
  borderRadius: number;
1199
+ '& .SCCommentObjectReply-media': {
1200
+ maxWidth: number;
1201
+ padding: any;
1202
+ '& .SCMediaFile-media': {
1203
+ height: string;
1204
+ };
1205
+ };
1185
1206
  };
1186
1207
  '& .SCCommentObjectReply-actions': {
1187
1208
  marginLeft: any;
@@ -1445,11 +1466,24 @@ declare const theme: {
1445
1466
  };
1446
1467
  };
1447
1468
  contentLessonRoot: ({ theme }: any) => {
1469
+ padding: any;
1448
1470
  '& .SCEditor-root': {
1449
1471
  '& .SCEditor-content': {
1450
1472
  paddingTop: any;
1451
1473
  };
1452
1474
  };
1475
+ '& .SCComposer-content-lesson-medias': {
1476
+ '& .SCMediaFile-preview-root': {
1477
+ marginBottom: any;
1478
+ '& .SCMediaFile-media': {
1479
+ height: string;
1480
+ maxWidth: number;
1481
+ };
1482
+ };
1483
+ '& .SCMediaLink-preview-root': {
1484
+ marginBottom: any;
1485
+ };
1486
+ };
1453
1487
  };
1454
1488
  layerTransitionRoot: ({ theme }: any) => {
1455
1489
  position: string;
@@ -1771,7 +1805,10 @@ declare const theme: {
1771
1805
  };
1772
1806
  };
1773
1807
  previewRoot: ({ theme }: any) => {
1774
- minHeight: string;
1808
+ [x: number]: {
1809
+ minHeight: string;
1810
+ };
1811
+ height: string;
1775
1812
  '& .SCCourse-preview-image-wrapper': {
1776
1813
  position: string;
1777
1814
  '& .SCCourse-preview-image': {
@@ -1797,12 +1834,19 @@ declare const theme: {
1797
1834
  height: any;
1798
1835
  border: string;
1799
1836
  };
1837
+ '.MuiBadge-badge': {
1838
+ left: any;
1839
+ top: any;
1840
+ };
1800
1841
  };
1801
1842
  '& .SCCourse-preview-content': {
1802
1843
  padding: any;
1803
1844
  '& .SCCourse-preview-creator': {
1804
- paddingTop: number;
1805
- marginBottom: any;
1845
+ textDecoration: string;
1846
+ color: string;
1847
+ '& .MuiTypography-root': {
1848
+ marginBottom: any;
1849
+ };
1806
1850
  };
1807
1851
  '& .SCCourse-preview-name-wrapper': {
1808
1852
  textDecoration: string;
@@ -1866,7 +1910,10 @@ declare const theme: {
1866
1910
  };
1867
1911
  };
1868
1912
  createPlaceholderRoot: ({ theme }: any) => {
1869
- minHeight: string;
1913
+ [x: number]: {
1914
+ minHeight: string;
1915
+ };
1916
+ height: string;
1870
1917
  '& .SCCourse-create-placeholder-image-wrapper': {
1871
1918
  position: string;
1872
1919
  '& .SCCourse-create-placeholder-image': {
@@ -1908,18 +1955,24 @@ declare const theme: {
1908
1955
  };
1909
1956
  skeletonRoot: ({ theme }: any) => {
1910
1957
  '& .SCCourse-skeleton-preview-root': {
1958
+ [x: number]: {
1959
+ minHeight: string;
1960
+ };
1961
+ height: string;
1911
1962
  '& .SCCourse-skeleton-preview-avatar': {
1912
1963
  position: string;
1913
- bottom: string;
1964
+ bottom: any;
1914
1965
  left: any;
1966
+ width: any;
1967
+ height: any;
1915
1968
  border: string;
1916
1969
  };
1917
1970
  '& .SCCourse-skeleton-preview-content': {
1918
1971
  padding: string;
1972
+ minHeight: number;
1919
1973
  };
1920
1974
  '& .SCCourse-skeleton-preview-actions': {
1921
1975
  display: string;
1922
- marginTop: any;
1923
1976
  justifyContent: string;
1924
1977
  padding: any;
1925
1978
  };
@@ -1995,6 +2048,9 @@ declare const theme: {
1995
2048
  root: ({ theme }: {
1996
2049
  theme: any;
1997
2050
  }) => {
2051
+ [x: number]: {
2052
+ marginBottom: string;
2053
+ };
1998
2054
  '& .SCCourseDashboard-header': {
1999
2055
  [x: number]: {
2000
2056
  paddingLeft: string;
@@ -2140,9 +2196,20 @@ declare const theme: {
2140
2196
  width: string;
2141
2197
  height: string;
2142
2198
  };
2199
+ '& a': {
2200
+ textDecoration: string;
2201
+ color: string;
2202
+ };
2203
+ '& .MuiBadge-root': {
2204
+ marginRight: any;
2205
+ };
2143
2206
  };
2144
2207
  '& .SCCourseDashboard-actions-wrapper': {
2145
- flexDirection: string;
2208
+ [x: number]: {
2209
+ flexDirection: string;
2210
+ margin: number;
2211
+ };
2212
+ margin: string;
2146
2213
  gap: string;
2147
2214
  };
2148
2215
  };
@@ -2380,7 +2447,6 @@ declare const theme: {
2380
2447
  };
2381
2448
  };
2382
2449
  '& .SCCourses-no-results': {
2383
- marginTop: any;
2384
2450
  display: string;
2385
2451
  flexDirection: string;
2386
2452
  alignItems: string;
@@ -3080,26 +3146,6 @@ declare const theme: {
3080
3146
  '& .SCEditor-listItem': {
3081
3147
  margin: string;
3082
3148
  };
3083
- '& .SCEditor-document': {
3084
- '& .selected': {
3085
- border: string;
3086
- };
3087
- '& .MuiBox-root': {
3088
- padding: any;
3089
- borderRadius: string;
3090
- background: any;
3091
- '& a': {
3092
- display: string;
3093
- alignItems: string;
3094
- width: string;
3095
- '& img': {
3096
- height: any;
3097
- width: any;
3098
- marginRight: any;
3099
- };
3100
- };
3101
- };
3102
- };
3103
3149
  };
3104
3150
  toolbar: ({ theme }: any) => {
3105
3151
  '& .SCEditor-placeholder': {
@@ -3245,6 +3291,9 @@ declare const theme: {
3245
3291
  root: ({ theme }: {
3246
3292
  theme: any;
3247
3293
  }) => {
3294
+ [x: number]: {
3295
+ marginBottom: string;
3296
+ };
3248
3297
  '& .SCEditCourse-header': {
3249
3298
  [x: number]: {
3250
3299
  paddingLeft: any;
@@ -3344,6 +3393,9 @@ declare const theme: {
3344
3393
  '& .SCEditCourse-cell-padding': {
3345
3394
  paddingRight: number;
3346
3395
  };
3396
+ '& .MuiTableCell-root': {
3397
+ textWrapMode: string;
3398
+ };
3347
3399
  '& .SCEditCourse-table-header': {
3348
3400
  '& .SCEditCourse-table-header-typography': {
3349
3401
  textTransform: string;
@@ -5366,6 +5418,9 @@ declare const theme: {
5366
5418
  maxWidth: string;
5367
5419
  };
5368
5420
  };
5421
+ '& .SCLessonCommentObject-media-content': {
5422
+ marginBottom: any;
5423
+ };
5369
5424
  };
5370
5425
  '& .SCLessonCommentObject-avatar': {
5371
5426
  top: any;
@@ -5514,6 +5569,36 @@ declare const theme: {
5514
5569
  };
5515
5570
  };
5516
5571
  };
5572
+ SCLessonFilePreview: {
5573
+ styleOverrides: {
5574
+ root: ({ theme }: any) => {
5575
+ backgroundSize: string;
5576
+ backgroundPosition: string;
5577
+ position: string;
5578
+ borderRadius: number;
5579
+ margin: any;
5580
+ width: string;
5581
+ height: string;
5582
+ flexBasis: number;
5583
+ flexGrow: number;
5584
+ flexShrink: number;
5585
+ '& .SCLessonFilePreview-title': {
5586
+ position: string;
5587
+ left: any;
5588
+ top: any;
5589
+ borderRadius: any;
5590
+ background: string;
5591
+ color: any;
5592
+ fontSize: string;
5593
+ padding: any;
5594
+ maxWidth: number;
5595
+ textOverflow: string;
5596
+ overflow: string;
5597
+ whiteSpace: string;
5598
+ };
5599
+ };
5600
+ };
5601
+ };
5517
5602
  SCLessonTemplate: {
5518
5603
  styleOverrides: {
5519
5604
  root: () => {};
@@ -5524,10 +5609,14 @@ declare const theme: {
5524
5609
  justifyContent: string;
5525
5610
  marginBottom: any;
5526
5611
  };
5612
+ '& .SCLessonTemplate-button': {
5613
+ alignSelf: string;
5614
+ marginTop: string;
5615
+ };
5527
5616
  width: string;
5528
5617
  display: string;
5529
5618
  flexDirection: string;
5530
- overflow: string;
5619
+ paddingBottom: any;
5531
5620
  transition: any;
5532
5621
  marginRight: number;
5533
5622
  };
@@ -5536,17 +5625,21 @@ declare const theme: {
5536
5625
  SCLessonObject: {
5537
5626
  styleOverrides: {
5538
5627
  root: ({ theme }: any) => {
5628
+ [x: number]: {
5629
+ padding: any;
5630
+ };
5539
5631
  display: string;
5540
5632
  flexDirection: string;
5541
- padding: any;
5542
5633
  '& .SCLessonObject-content': {
5543
5634
  padding: string;
5544
5635
  '& .SCLessonObject-text': {
5545
5636
  '& > div:first-of-type': {
5546
- height: string;
5547
5637
  img: {
5548
- height: string;
5549
- objectFit: string;
5638
+ display: string;
5639
+ margin: string;
5640
+ width: string;
5641
+ maxWidth: string;
5642
+ position: string;
5550
5643
  };
5551
5644
  padding: string;
5552
5645
  };
@@ -5560,6 +5653,20 @@ declare const theme: {
5560
5653
  color: string;
5561
5654
  };
5562
5655
  };
5656
+ '& .SCLessonObject-medias-section': {
5657
+ display: string;
5658
+ '& .SCLessonFilePreview-root': {
5659
+ marginBottom: any;
5660
+ };
5661
+ '& .SCMediaLink-display-root': {
5662
+ marginBottom: any;
5663
+ '& > div > div': {
5664
+ [x: number]: {
5665
+ height: string;
5666
+ };
5667
+ };
5668
+ };
5669
+ };
5563
5670
  };
5564
5671
  '& .SCLessonObject-content-edit': {
5565
5672
  padding: string;
@@ -7481,9 +7588,7 @@ declare const theme: {
7481
7588
  };
7482
7589
  '& .SCOnBoardingWidget-app-summary': {
7483
7590
  whiteSpace: string;
7484
- margin: any; /**
7485
- * Style assets - Imports - Start
7486
- */
7591
+ margin: any;
7487
7592
  };
7488
7593
  '& .SCOnBoardingWidget-app-tabs': {
7489
7594
  padding: any;
@@ -11225,10 +11330,6 @@ declare const theme: {
11225
11330
  };
11226
11331
  };
11227
11332
  '& .SCPaymentProductPrice-root': {
11228
- [x: number]: {
11229
- width: string;
11230
- borderRadius: string;
11231
- };
11232
11333
  marginBottom: any;
11233
11334
  width: string;
11234
11335
  borderRadius: string;
@@ -11246,9 +11347,6 @@ declare const theme: {
11246
11347
  };
11247
11348
  };
11248
11349
  '& .SCPaymentProductPrice-skeleton-root': {
11249
- [x: number]: {
11250
- width: string;
11251
- };
11252
11350
  marginBottom: any;
11253
11351
  width: string;
11254
11352
  };
@@ -11261,6 +11359,13 @@ declare const theme: {
11261
11359
  theme: any;
11262
11360
  }) => {
11263
11361
  borderRadius: string;
11362
+ '& .SCPaymentProductPrice-button-purchased': {
11363
+ backgroundColor: string;
11364
+ color: string;
11365
+ };
11366
+ '& .SCPaymentProductPrice-purchased-at': {
11367
+ textDecoration: string;
11368
+ };
11264
11369
  };
11265
11370
  skeletonRoot: ({ theme }: {
11266
11371
  theme: any;
@@ -11316,8 +11421,10 @@ declare const theme: {
11316
11421
  bottom: any;
11317
11422
  };
11318
11423
  "& .SCCheckout-object": {
11424
+ [x: number]: {
11425
+ minWidth: number;
11426
+ };
11319
11427
  marginTop: any;
11320
- minWidth: number;
11321
11428
  };
11322
11429
  };
11323
11430
  };
@@ -11347,6 +11454,13 @@ declare const theme: {
11347
11454
  };
11348
11455
  };
11349
11456
  };
11457
+ SCHiddenPurchasableContent: {
11458
+ styleOverrides: {
11459
+ root: ({ theme }: any) => {
11460
+ padding: any;
11461
+ };
11462
+ };
11463
+ };
11350
11464
  };
11351
11465
  selfcommunity: {
11352
11466
  user: {
package/lib/esm/index.js CHANGED
@@ -37,6 +37,7 @@ import SCCategory from './components/SCCategory';
37
37
  import SCCategoryAutocomplete from './components/SCCategoryAutocomplete';
38
38
  import SCCategoryFeedTemplate from './components/SCCategoryFeedTemplate';
39
39
  import SCCategoryFollowersButton from './components/SCCategoryFollowersButton';
40
+ import SCCategoryFollowButton from './components/SCCategoryFollowButton';
40
41
  import SCCategoryHeader from './components/SCCategoryHeader';
41
42
  import SCCategoryTemplate from './components/SCCategoryTemplate';
42
43
  import SCCategoryTrendingFeedWidget from './components/SCCategoryTrendingFeedWidget';
@@ -125,6 +126,7 @@ import SCLessonCommentObject from './components/SCLessonCommentObject';
125
126
  import SCLessonCommentObjects from './components/SCLessonCommentObjects';
126
127
  import SCCourseCompletedDialog from './components/SCCourseCompletedDialog';
127
128
  import SCLessonEditForm from './components/SCLessonEditForm';
129
+ import SCLessonFilePreview from './components/SCLessonFilePreview';
128
130
  import SCLessonTemplate from './components/SCLessonTemplate';
129
131
  import SCLessonObject from './components/SCLessonObject';
130
132
  import SCLessonReleaseMenu from './components/SCLessonReleaseMenu';
@@ -204,6 +206,7 @@ import SCPaymentProduct from './components/SCPaymentProduct';
204
206
  import SCPaymentProductPrice from './components/SCPaymentProductPrice';
205
207
  import SCCheckout from './components/SCCheckout';
206
208
  import SCCheckoutReturnDialog from './components/SCCheckoutReturnDialog';
209
+ import SCHiddenPurchasableContent from './components/SCHiddenPurchasableContent';
207
210
  /**
208
211
  * Style fragments - Imports - End
209
212
  */
@@ -319,6 +322,7 @@ const theme = {
319
322
  SCCategoryAutocomplete,
320
323
  SCCategoryFeedTemplate,
321
324
  SCCategoryFollowersButton,
325
+ SCCategoryFollowButton,
322
326
  SCCategoryHeader,
323
327
  SCCategoryTemplate,
324
328
  SCCategoryTrendingFeedWidget,
@@ -389,6 +393,7 @@ const theme = {
389
393
  SCLessonCommentObjects,
390
394
  SCCourseCompletedDialog,
391
395
  SCLessonEditForm,
396
+ SCLessonFilePreview,
392
397
  SCLessonTemplate,
393
398
  SCLessonObject,
394
399
  SCLessonReleaseMenu,
@@ -486,7 +491,8 @@ const theme = {
486
491
  SCPaymentProduct,
487
492
  SCPaymentProductPrice,
488
493
  SCCheckout,
489
- SCCheckoutReturnDialog
494
+ SCCheckoutReturnDialog,
495
+ SCHiddenPurchasableContent
490
496
  },
491
497
  selfcommunity: {
492
498
  user: {