@selfcommunity/react-theme-default 0.4.5-payments.155 → 0.4.5-payments.158
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/SCCourse.d.ts +21 -17
- package/lib/cjs/components/SCCourse.js +24 -20
- package/lib/cjs/components/SCPaywalls.d.ts +12 -0
- package/lib/cjs/components/SCPaywalls.js +12 -0
- package/lib/cjs/components/SCUserCreatedCoursesWidget.d.ts +8 -0
- package/lib/cjs/components/SCUserCreatedCoursesWidget.js +10 -0
- package/lib/cjs/index.d.ts +45 -18
- package/lib/cjs/index.js +5 -1
- package/lib/esm/components/SCCourse.d.ts +21 -17
- package/lib/esm/components/SCCourse.js +24 -20
- package/lib/esm/components/SCPaywalls.d.ts +12 -0
- package/lib/esm/components/SCPaywalls.js +10 -0
- package/lib/esm/components/SCUserCreatedCoursesWidget.d.ts +8 -0
- package/lib/esm/components/SCUserCreatedCoursesWidget.js +8 -0
- package/lib/esm/index.d.ts +45 -18
- package/lib/esm/index.js +5 -1
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
package/lib/esm/index.d.ts
CHANGED
|
@@ -1743,14 +1743,19 @@ declare const theme: {
|
|
|
1743
1743
|
};
|
|
1744
1744
|
SCCourse: {
|
|
1745
1745
|
styleOverrides: {
|
|
1746
|
-
root: (
|
|
1746
|
+
root: () => {
|
|
1747
|
+
width: string;
|
|
1748
|
+
};
|
|
1747
1749
|
snippetRoot: ({ theme }: any) => {
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1750
|
+
'& .SCBaseItemButton-image': {
|
|
1751
|
+
'& .SCCourse-snippet-avatar': {
|
|
1752
|
+
width: number;
|
|
1753
|
+
height: number;
|
|
1754
|
+
'& img': {
|
|
1755
|
+
borderRadius: string;
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1758
|
+
'& .SCCourse-snippet-avatar-user-profile-view': {
|
|
1754
1759
|
width: number;
|
|
1755
1760
|
height: number;
|
|
1756
1761
|
'& img': {
|
|
@@ -1775,9 +1780,10 @@ declare const theme: {
|
|
|
1775
1780
|
};
|
|
1776
1781
|
};
|
|
1777
1782
|
};
|
|
1778
|
-
'& .
|
|
1783
|
+
'& .SCBaseItemButton-text': {
|
|
1779
1784
|
fontSize: any;
|
|
1780
|
-
|
|
1785
|
+
textAlign: string;
|
|
1786
|
+
'& .SCBaseItemButton-primary > a': {
|
|
1781
1787
|
color: any;
|
|
1782
1788
|
textDecoration: string;
|
|
1783
1789
|
'&:hover': {
|
|
@@ -1785,9 +1791,13 @@ declare const theme: {
|
|
|
1785
1791
|
};
|
|
1786
1792
|
'& p': {
|
|
1787
1793
|
fontWeight: any;
|
|
1794
|
+
whiteSpace: string;
|
|
1795
|
+
overflow: string;
|
|
1796
|
+
textOverflow: string;
|
|
1797
|
+
display: string;
|
|
1788
1798
|
};
|
|
1789
1799
|
};
|
|
1790
|
-
'& .
|
|
1800
|
+
'& .SSCBaseItemButton-secondary > a': {
|
|
1791
1801
|
color: any;
|
|
1792
1802
|
};
|
|
1793
1803
|
};
|
|
@@ -1954,6 +1964,7 @@ declare const theme: {
|
|
|
1954
1964
|
};
|
|
1955
1965
|
};
|
|
1956
1966
|
skeletonRoot: ({ theme }: any) => {
|
|
1967
|
+
width: string;
|
|
1957
1968
|
'& .SCCourse-skeleton-preview-root': {
|
|
1958
1969
|
[x: number]: {
|
|
1959
1970
|
minHeight: string;
|
|
@@ -1978,10 +1989,6 @@ declare const theme: {
|
|
|
1978
1989
|
};
|
|
1979
1990
|
};
|
|
1980
1991
|
'& .SCCourse-skeleton-snippet-root': {
|
|
1981
|
-
overflow: string;
|
|
1982
|
-
boxSizing: string;
|
|
1983
|
-
paddingLeft: string;
|
|
1984
|
-
paddingRight: string;
|
|
1985
1992
|
'& .SCCourse-skeleton-snippet-image': {
|
|
1986
1993
|
position: string;
|
|
1987
1994
|
'& .MuiSkeleton-root': {
|
|
@@ -1995,9 +2002,6 @@ declare const theme: {
|
|
|
1995
2002
|
transform: string;
|
|
1996
2003
|
};
|
|
1997
2004
|
};
|
|
1998
|
-
'& .SCBaseItem-actions': {
|
|
1999
|
-
maxWidth: string;
|
|
2000
|
-
};
|
|
2001
2005
|
};
|
|
2002
2006
|
};
|
|
2003
2007
|
};
|
|
@@ -4326,7 +4330,9 @@ declare const theme: {
|
|
|
4326
4330
|
textAlign: string;
|
|
4327
4331
|
color: any;
|
|
4328
4332
|
marginBottom: any;
|
|
4329
|
-
fontWeight: any;
|
|
4333
|
+
fontWeight: any; /**
|
|
4334
|
+
* Style assets - Exports - End
|
|
4335
|
+
*/
|
|
4330
4336
|
fontSize: string;
|
|
4331
4337
|
};
|
|
4332
4338
|
'& .SCFeedObject-poll-object-voters .MuiTypography-root': {
|
|
@@ -7600,6 +7606,9 @@ declare const theme: {
|
|
|
7600
7606
|
display: string;
|
|
7601
7607
|
flexDirection: string;
|
|
7602
7608
|
alignItems: string;
|
|
7609
|
+
/**
|
|
7610
|
+
* Style assets - Imports - Start
|
|
7611
|
+
*/
|
|
7603
7612
|
'& .SCOnBoardingWidget-app-image': {
|
|
7604
7613
|
width: string;
|
|
7605
7614
|
};
|
|
@@ -8666,6 +8675,13 @@ declare const theme: {
|
|
|
8666
8675
|
};
|
|
8667
8676
|
};
|
|
8668
8677
|
};
|
|
8678
|
+
SCUserCreatedCoursesWidget: {
|
|
8679
|
+
styleOverrides: {
|
|
8680
|
+
root: ({ theme }: any) => {};
|
|
8681
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
8682
|
+
dialogRoot: ({ theme }: any) => {};
|
|
8683
|
+
};
|
|
8684
|
+
};
|
|
8669
8685
|
SCUserFeedTemplate: {
|
|
8670
8686
|
styleOverrides: {
|
|
8671
8687
|
root: ({ theme }: any) => {};
|
|
@@ -11481,6 +11497,17 @@ declare const theme: {
|
|
|
11481
11497
|
};
|
|
11482
11498
|
};
|
|
11483
11499
|
};
|
|
11500
|
+
SCPaywalls: {
|
|
11501
|
+
styleOverrides: {
|
|
11502
|
+
root: ({ theme }: {
|
|
11503
|
+
theme: any;
|
|
11504
|
+
}) => {
|
|
11505
|
+
'& .SCPaywalls-error': {
|
|
11506
|
+
margin: any;
|
|
11507
|
+
};
|
|
11508
|
+
};
|
|
11509
|
+
};
|
|
11510
|
+
};
|
|
11484
11511
|
};
|
|
11485
11512
|
selfcommunity: {
|
|
11486
11513
|
user: {
|
package/lib/esm/index.js
CHANGED
|
@@ -186,6 +186,7 @@ import SCUserConnectionsRequestsSentWidget from './components/SCUserConnectionsR
|
|
|
186
186
|
import SCUserConnectionsRequestsWidget from './components/SCUserConnectionsRequestsWidget';
|
|
187
187
|
import SCUserConnectionsWidget from './components/SCUserConnectionsWidget';
|
|
188
188
|
import SCUserCounters from './components/SCUserCounters';
|
|
189
|
+
import SCUserCreatedCoursesWidget from './components/SCUserCreatedCoursesWidget';
|
|
189
190
|
import SCUserFeedTemplate from './components/SCUserFeedTemplate';
|
|
190
191
|
import SCUserFollowedUsersWidget from './components/SCUserFollowedUsersWidget';
|
|
191
192
|
import SCUserFollowersWidget from './components/SCUserFollowersWidget';
|
|
@@ -207,6 +208,7 @@ import SCPaymentProductPrice from './components/SCPaymentProductPrice';
|
|
|
207
208
|
import SCCheckout from './components/SCCheckout';
|
|
208
209
|
import SCCheckoutReturnDialog from './components/SCCheckoutReturnDialog';
|
|
209
210
|
import SCHiddenPurchasableContent from './components/SCHiddenPurchasableContent';
|
|
211
|
+
import SCPaywalls from './components/SCPaywalls';
|
|
210
212
|
/**
|
|
211
213
|
* Style fragments - Imports - End
|
|
212
214
|
*/
|
|
@@ -439,6 +441,7 @@ const theme = {
|
|
|
439
441
|
SCUserConnectionsRequestsWidget,
|
|
440
442
|
SCUserConnectionsWidget,
|
|
441
443
|
SCUserCounters,
|
|
444
|
+
SCUserCreatedCoursesWidget,
|
|
442
445
|
SCUserFeedTemplate,
|
|
443
446
|
SCUserFollowedUsersWidget,
|
|
444
447
|
SCUserFollowersWidget,
|
|
@@ -492,7 +495,8 @@ const theme = {
|
|
|
492
495
|
SCPaymentProductPrice,
|
|
493
496
|
SCCheckout,
|
|
494
497
|
SCCheckoutReturnDialog,
|
|
495
|
-
SCHiddenPurchasableContent
|
|
498
|
+
SCHiddenPurchasableContent,
|
|
499
|
+
SCPaywalls
|
|
496
500
|
},
|
|
497
501
|
selfcommunity: {
|
|
498
502
|
user: {
|