@selfcommunity/react-theme-default 0.4.5-alpha.5 → 0.4.5-alpha.7
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/SCCreateLiveStreamButton.d.ts +12 -0
- package/lib/cjs/components/SCCreateLiveStreamButton.js +14 -0
- package/lib/cjs/components/SCFeedObjectDetailTemplate.d.ts +11 -0
- package/lib/cjs/components/SCFeedObjectDetailTemplate.js +12 -1
- package/lib/cjs/components/SCLiveStreamSelector.js +1 -1
- package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +3 -0
- package/lib/cjs/components/SCNavigationMenuDrawer.js +3 -0
- package/lib/cjs/index.d.ts +25 -0
- package/lib/cjs/index.js +2 -0
- package/lib/esm/components/SCCreateLiveStreamButton.d.ts +12 -0
- package/lib/esm/components/SCCreateLiveStreamButton.js +12 -0
- package/lib/esm/components/SCFeedObjectDetailTemplate.d.ts +11 -0
- package/lib/esm/components/SCFeedObjectDetailTemplate.js +12 -1
- package/lib/esm/components/SCLiveStreamSelector.js +1 -1
- package/lib/esm/components/SCNavigationMenuDrawer.d.ts +3 -0
- package/lib/esm/components/SCNavigationMenuDrawer.js +3 -0
- package/lib/esm/index.d.ts +25 -0
- package/lib/esm/index.js +2 -0
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .MuiButton-startIcon': {
|
|
7
|
+
'& .MuiIcon-root': {
|
|
8
|
+
fontSize: '1.2rem'
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
})
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
exports.default = Component;
|
|
@@ -12,8 +12,19 @@ declare const Component: {
|
|
|
12
12
|
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
13
|
'& span': {
|
|
14
14
|
display: string;
|
|
15
|
+
};
|
|
16
|
+
'& span:not(:has(+ a))': {
|
|
15
17
|
width: string;
|
|
16
18
|
};
|
|
19
|
+
'& a': {
|
|
20
|
+
display: string;
|
|
21
|
+
margin: any;
|
|
22
|
+
};
|
|
23
|
+
'& a:hover': {
|
|
24
|
+
'& span': {
|
|
25
|
+
textDecoration: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
17
28
|
};
|
|
18
29
|
};
|
|
19
30
|
};
|
|
@@ -13,8 +13,19 @@ const Component = {
|
|
|
13
13
|
'& .SCFeedObject-content': {
|
|
14
14
|
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
15
15
|
'& span': {
|
|
16
|
-
display: 'inline-block'
|
|
16
|
+
display: 'inline-block'
|
|
17
|
+
},
|
|
18
|
+
'& span:not(:has(+ a))': {
|
|
17
19
|
width: '100%'
|
|
20
|
+
},
|
|
21
|
+
'& a': {
|
|
22
|
+
display: 'inline-block',
|
|
23
|
+
margin: theme.spacing(0, 0.3)
|
|
24
|
+
},
|
|
25
|
+
'& a:hover': {
|
|
26
|
+
'& span': {
|
|
27
|
+
textDecoration: 'underline'
|
|
28
|
+
}
|
|
18
29
|
}
|
|
19
30
|
}
|
|
20
31
|
}
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -2908,8 +2908,19 @@ declare const theme: {
|
|
|
2908
2908
|
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
2909
2909
|
'& span': {
|
|
2910
2910
|
display: string;
|
|
2911
|
+
};
|
|
2912
|
+
'& span:not(:has(+ a))': {
|
|
2911
2913
|
width: string;
|
|
2912
2914
|
};
|
|
2915
|
+
'& a': {
|
|
2916
|
+
display: string;
|
|
2917
|
+
margin: any;
|
|
2918
|
+
};
|
|
2919
|
+
'& a:hover': {
|
|
2920
|
+
'& span': {
|
|
2921
|
+
textDecoration: string;
|
|
2922
|
+
};
|
|
2923
|
+
};
|
|
2913
2924
|
};
|
|
2914
2925
|
};
|
|
2915
2926
|
};
|
|
@@ -4484,6 +4495,9 @@ declare const theme: {
|
|
|
4484
4495
|
maxWidth: string;
|
|
4485
4496
|
};
|
|
4486
4497
|
'& .SCNavigationMenuDrawer-drawer-footer': {
|
|
4498
|
+
marginTop: any;
|
|
4499
|
+
};
|
|
4500
|
+
'& .SCNavigationMenuDrawer-drawer-footer-live': {
|
|
4487
4501
|
padding: any;
|
|
4488
4502
|
};
|
|
4489
4503
|
};
|
|
@@ -8917,6 +8931,17 @@ declare const theme: {
|
|
|
8917
8931
|
};
|
|
8918
8932
|
};
|
|
8919
8933
|
};
|
|
8934
|
+
SCCreateLiveStreamButton: {
|
|
8935
|
+
styleOverrides: {
|
|
8936
|
+
root: ({ theme }: any) => {
|
|
8937
|
+
'& .MuiButton-startIcon': {
|
|
8938
|
+
'& .MuiIcon-root': {
|
|
8939
|
+
fontSize: string;
|
|
8940
|
+
};
|
|
8941
|
+
};
|
|
8942
|
+
};
|
|
8943
|
+
};
|
|
8944
|
+
};
|
|
8920
8945
|
SCCreateLiveStreamDialog: {
|
|
8921
8946
|
styleOverrides: {
|
|
8922
8947
|
root: ({ theme }: any) => {
|
package/lib/cjs/index.js
CHANGED
|
@@ -145,6 +145,7 @@ const SCSearchAutocomplete_1 = tslib_1.__importDefault(require("./components/SCS
|
|
|
145
145
|
const SCSnippetNotifications_1 = tslib_1.__importDefault(require("./components/SCSnippetNotifications"));
|
|
146
146
|
const SCSuggestedEventsWidget_1 = tslib_1.__importDefault(require("./components/SCSuggestedEventsWidget"));
|
|
147
147
|
const SCLiveStream_1 = tslib_1.__importDefault(require("./components/SCLiveStream"));
|
|
148
|
+
const SCCreateLiveStreamButton_1 = tslib_1.__importDefault(require("./components/SCCreateLiveStreamButton"));
|
|
148
149
|
const SCLiveStreamDialog_1 = tslib_1.__importDefault(require("./components/SCLiveStreamDialog"));
|
|
149
150
|
const SCLiveStreamSelector_1 = tslib_1.__importDefault(require("./components/SCLiveStreamSelector"));
|
|
150
151
|
const SCLiveStreamForm_1 = tslib_1.__importDefault(require("./components/SCLiveStreamForm"));
|
|
@@ -431,6 +432,7 @@ const theme = {
|
|
|
431
432
|
SCLiveStreamInfoDetails: SCLiveStreamInfoDetails_1.default,
|
|
432
433
|
SCUpScalingTierBadge: SCUpScalingTierBadge_1.default,
|
|
433
434
|
SCUserLiveStreamWidget: SCUserLiveStreamWidget_1.default,
|
|
435
|
+
SCCreateLiveStreamButton: SCCreateLiveStreamButton_1.default,
|
|
434
436
|
SCCreateLiveStreamDialog: SCLiveStreamDialog_1.default,
|
|
435
437
|
SCLiveStreamSelector: SCLiveStreamSelector_1.default,
|
|
436
438
|
SCLiveStreamForm: SCLiveStreamForm_1.default,
|
|
@@ -12,8 +12,19 @@ declare const Component: {
|
|
|
12
12
|
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
13
|
'& span': {
|
|
14
14
|
display: string;
|
|
15
|
+
};
|
|
16
|
+
'& span:not(:has(+ a))': {
|
|
15
17
|
width: string;
|
|
16
18
|
};
|
|
19
|
+
'& a': {
|
|
20
|
+
display: string;
|
|
21
|
+
margin: any;
|
|
22
|
+
};
|
|
23
|
+
'& a:hover': {
|
|
24
|
+
'& span': {
|
|
25
|
+
textDecoration: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
17
28
|
};
|
|
18
29
|
};
|
|
19
30
|
};
|
|
@@ -11,8 +11,19 @@ const Component = {
|
|
|
11
11
|
'& .SCFeedObject-content': {
|
|
12
12
|
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
13
|
'& span': {
|
|
14
|
-
display: 'inline-block'
|
|
14
|
+
display: 'inline-block'
|
|
15
|
+
},
|
|
16
|
+
'& span:not(:has(+ a))': {
|
|
15
17
|
width: '100%'
|
|
18
|
+
},
|
|
19
|
+
'& a': {
|
|
20
|
+
display: 'inline-block',
|
|
21
|
+
margin: theme.spacing(0, 0.3)
|
|
22
|
+
},
|
|
23
|
+
'& a:hover': {
|
|
24
|
+
'& span': {
|
|
25
|
+
textDecoration: 'underline'
|
|
26
|
+
}
|
|
16
27
|
}
|
|
17
28
|
}
|
|
18
29
|
}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -2908,8 +2908,19 @@ declare const theme: {
|
|
|
2908
2908
|
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
2909
2909
|
'& span': {
|
|
2910
2910
|
display: string;
|
|
2911
|
+
};
|
|
2912
|
+
'& span:not(:has(+ a))': {
|
|
2911
2913
|
width: string;
|
|
2912
2914
|
};
|
|
2915
|
+
'& a': {
|
|
2916
|
+
display: string;
|
|
2917
|
+
margin: any;
|
|
2918
|
+
};
|
|
2919
|
+
'& a:hover': {
|
|
2920
|
+
'& span': {
|
|
2921
|
+
textDecoration: string;
|
|
2922
|
+
};
|
|
2923
|
+
};
|
|
2913
2924
|
};
|
|
2914
2925
|
};
|
|
2915
2926
|
};
|
|
@@ -4484,6 +4495,9 @@ declare const theme: {
|
|
|
4484
4495
|
maxWidth: string;
|
|
4485
4496
|
};
|
|
4486
4497
|
'& .SCNavigationMenuDrawer-drawer-footer': {
|
|
4498
|
+
marginTop: any;
|
|
4499
|
+
};
|
|
4500
|
+
'& .SCNavigationMenuDrawer-drawer-footer-live': {
|
|
4487
4501
|
padding: any;
|
|
4488
4502
|
};
|
|
4489
4503
|
};
|
|
@@ -8917,6 +8931,17 @@ declare const theme: {
|
|
|
8917
8931
|
};
|
|
8918
8932
|
};
|
|
8919
8933
|
};
|
|
8934
|
+
SCCreateLiveStreamButton: {
|
|
8935
|
+
styleOverrides: {
|
|
8936
|
+
root: ({ theme }: any) => {
|
|
8937
|
+
'& .MuiButton-startIcon': {
|
|
8938
|
+
'& .MuiIcon-root': {
|
|
8939
|
+
fontSize: string;
|
|
8940
|
+
};
|
|
8941
|
+
};
|
|
8942
|
+
};
|
|
8943
|
+
};
|
|
8944
|
+
};
|
|
8920
8945
|
SCCreateLiveStreamDialog: {
|
|
8921
8946
|
styleOverrides: {
|
|
8922
8947
|
root: ({ theme }: any) => {
|
package/lib/esm/index.js
CHANGED
|
@@ -141,6 +141,7 @@ import SCSearchAutocomplete from './components/SCSearchAutocomplete';
|
|
|
141
141
|
import SCSnippetNotifications from './components/SCSnippetNotifications';
|
|
142
142
|
import SCSuggestedEventsWidget from './components/SCSuggestedEventsWidget';
|
|
143
143
|
import SCLiveStream from './components/SCLiveStream';
|
|
144
|
+
import SCCreateLiveStreamButton from './components/SCCreateLiveStreamButton';
|
|
144
145
|
import SCCreateLiveStreamDialog from './components/SCLiveStreamDialog';
|
|
145
146
|
import SCLiveStreamSelector from './components/SCLiveStreamSelector';
|
|
146
147
|
import SCLiveStreamForm from './components/SCLiveStreamForm';
|
|
@@ -419,6 +420,7 @@ const theme = {
|
|
|
419
420
|
SCLiveStreamInfoDetails,
|
|
420
421
|
SCUpScalingTierBadge,
|
|
421
422
|
SCUserLiveStreamWidget,
|
|
423
|
+
SCCreateLiveStreamButton,
|
|
422
424
|
SCCreateLiveStreamDialog,
|
|
423
425
|
SCLiveStreamSelector,
|
|
424
426
|
SCLiveStreamForm,
|