@selfcommunity/react-theme-default 0.5.0-alpha.10 → 0.5.0-alpha.12

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.
@@ -143,6 +143,20 @@ declare const Component: {
143
143
  opacity: number;
144
144
  };
145
145
  };
146
+ '& .SCFeedObject-obj-element': {
147
+ position: string;
148
+ '& .SCFeedObject-new': {
149
+ position: string;
150
+ top: string;
151
+ left: string;
152
+ width: string;
153
+ height: string;
154
+ backgroundColor: any;
155
+ border: string;
156
+ borderRadius: string;
157
+ filter: string;
158
+ };
159
+ };
146
160
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
147
161
  [x: number]: {
148
162
  borderRadius: any;
@@ -146,6 +146,20 @@ const Component = {
146
146
  opacity: 1
147
147
  }
148
148
  },
149
+ '& .SCFeedObject-obj-element': {
150
+ position: 'relative',
151
+ '& .SCFeedObject-new': {
152
+ position: 'absolute',
153
+ top: '10px',
154
+ left: '10px',
155
+ width: '9px',
156
+ height: '9px',
157
+ backgroundColor: theme.palette.secondary.main,
158
+ border: `1px solid ${theme.palette.common.white}`,
159
+ borderRadius: '9999px',
160
+ filter: 'drop-shadow(0 0 2px rgba(0, 0, 0, 0.50))'
161
+ }
162
+ },
149
163
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
150
164
  border: `0 none`,
151
165
  boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
@@ -176,8 +176,20 @@ declare const Component: {
176
176
  height: string;
177
177
  '& .SCMediaFile-badge-pdf': {
178
178
  position: string;
179
- bottom: string;
179
+ bottom: any;
180
180
  left: number;
181
+ width: any;
182
+ height: any;
183
+ border: string;
184
+ borderLeft: number;
185
+ borderTopRightRadius: string;
186
+ borderBottomRightRadius: string;
187
+ '& .SCMediaFile-pdf': {
188
+ height: string;
189
+ fontWeight: number;
190
+ lineHeight: number;
191
+ padding: string;
192
+ };
181
193
  };
182
194
  };
183
195
  '& .SCMediaFile-text-wrapper': {
@@ -176,8 +176,20 @@ const Component = {
176
176
  height: '50px',
177
177
  '& .SCMediaFile-badge-pdf': {
178
178
  position: 'absolute',
179
- bottom: '8px',
180
- left: 0
179
+ bottom: theme.spacing(1),
180
+ left: 0,
181
+ width: theme.spacing(4),
182
+ height: theme.spacing(2),
183
+ border: '1px solid #DDD',
184
+ borderLeft: 0,
185
+ borderTopRightRadius: '3px',
186
+ borderBottomRightRadius: '3px',
187
+ '& .SCMediaFile-pdf': {
188
+ height: '100%',
189
+ fontWeight: 600,
190
+ lineHeight: 1,
191
+ padding: '1px'
192
+ }
181
193
  }
182
194
  },
183
195
  '& .SCMediaFile-text-wrapper': {
@@ -0,0 +1,18 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCUserAutocomplete-info': {
5
+ [x: number]: {
6
+ alignItems: string;
7
+ };
8
+ marginTop: any;
9
+ display: string;
10
+ '& .MuiIcon-root': {
11
+ marginRight: any;
12
+ };
13
+ };
14
+ };
15
+ autocompleteRoot: ({ theme }: any) => {};
16
+ };
17
+ };
18
+ export default Component;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .SCUserAutocomplete-info': {
7
+ marginTop: theme.spacing(3),
8
+ display: 'flex',
9
+ [theme.breakpoints.up('sm')]: {
10
+ alignItems: 'center'
11
+ },
12
+ '& .MuiIcon-root': {
13
+ marginRight: theme.spacing(0.5)
14
+ }
15
+ }
16
+ }),
17
+ autocompleteRoot: ({ theme }) => ({})
18
+ }
19
+ };
20
+ exports.default = Component;
@@ -4086,6 +4086,20 @@ declare const theme: {
4086
4086
  opacity: number;
4087
4087
  };
4088
4088
  };
4089
+ '& .SCFeedObject-obj-element': {
4090
+ position: string;
4091
+ '& .SCFeedObject-new': {
4092
+ position: string;
4093
+ top: string;
4094
+ left: string;
4095
+ width: string;
4096
+ height: string;
4097
+ backgroundColor: any;
4098
+ border: string;
4099
+ borderRadius: string;
4100
+ filter: string;
4101
+ };
4102
+ };
4089
4103
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
4090
4104
  [x: number]: {
4091
4105
  borderRadius: any;
@@ -4406,9 +4420,7 @@ declare const theme: {
4406
4420
  };
4407
4421
  };
4408
4422
  };
4409
- }; /**
4410
- * Export default theme
4411
- */
4423
+ };
4412
4424
  };
4413
4425
  };
4414
4426
  '&.SCFeedObject-snippet': {
@@ -6671,8 +6683,20 @@ declare const theme: {
6671
6683
  height: string;
6672
6684
  '& .SCMediaFile-badge-pdf': {
6673
6685
  position: string;
6674
- bottom: string;
6686
+ bottom: any;
6675
6687
  left: number;
6688
+ width: any;
6689
+ height: any;
6690
+ border: string;
6691
+ borderLeft: number;
6692
+ borderTopRightRadius: string;
6693
+ borderBottomRightRadius: string;
6694
+ '& .SCMediaFile-pdf': {
6695
+ height: string;
6696
+ fontWeight: number;
6697
+ lineHeight: number;
6698
+ padding: string;
6699
+ };
6676
6700
  };
6677
6701
  };
6678
6702
  '& .SCMediaFile-text-wrapper': {
@@ -8041,9 +8065,6 @@ declare const theme: {
8041
8065
  alignItems: string;
8042
8066
  marginRight: any;
8043
8067
  '& .MuiIcon-root': {
8044
- /**
8045
- * Style assets - Imports - Start
8046
- */
8047
8068
  margin: any;
8048
8069
  };
8049
8070
  };
@@ -9043,6 +9064,23 @@ declare const theme: {
9043
9064
  };
9044
9065
  };
9045
9066
  };
9067
+ SCUserAutocomplete: {
9068
+ styleOverrides: {
9069
+ root: ({ theme }: any) => {
9070
+ '& .SCUserAutocomplete-info': {
9071
+ [x: number]: {
9072
+ alignItems: string;
9073
+ };
9074
+ marginTop: any;
9075
+ display: string;
9076
+ '& .MuiIcon-root': {
9077
+ marginRight: any;
9078
+ };
9079
+ };
9080
+ };
9081
+ autocompleteRoot: ({ theme }: any) => {};
9082
+ };
9083
+ };
9046
9084
  SCUserCategoriesFollowedWidget: {
9047
9085
  styleOverrides: {
9048
9086
  root: ({ theme }: any) => {};
package/lib/cjs/index.js CHANGED
@@ -187,6 +187,7 @@ const SCToastNotifications_1 = tslib_1.__importDefault(require("./components/SCT
187
187
  const SCUser_1 = tslib_1.__importDefault(require("./components/SCUser"));
188
188
  const SCUserActionIconButton_1 = tslib_1.__importDefault(require("./components/SCUserActionIconButton"));
189
189
  const SCUserAvatar_1 = tslib_1.__importDefault(require("./components/SCUserAvatar"));
190
+ const SCUserAutocomplete_1 = tslib_1.__importDefault(require("./components/SCUserAutocomplete"));
190
191
  const SCUserCategoriesFollowedWidget_1 = tslib_1.__importDefault(require("./components/SCUserCategoriesFollowedWidget"));
191
192
  const SCUserConnectionsRequestsSentWidget_1 = tslib_1.__importDefault(require("./components/SCUserConnectionsRequestsSentWidget"));
192
193
  const SCUserConnectionsRequestsWidget_1 = tslib_1.__importDefault(require("./components/SCUserConnectionsRequestsWidget"));
@@ -458,6 +459,7 @@ const theme = {
458
459
  SCUser: SCUser_1.default,
459
460
  SCUserActionIconButton: SCUserActionIconButton_1.default,
460
461
  SCUserAvatar: SCUserAvatar_1.default,
462
+ SCUserAutocomplete: SCUserAutocomplete_1.default,
461
463
  SCUserCategoriesFollowedWidget: SCUserCategoriesFollowedWidget_1.default,
462
464
  SCUserConnectionsRequestsSentWidget: SCUserConnectionsRequestsSentWidget_1.default,
463
465
  SCUserConnectionsRequestsWidget: SCUserConnectionsRequestsWidget_1.default,
@@ -143,6 +143,20 @@ declare const Component: {
143
143
  opacity: number;
144
144
  };
145
145
  };
146
+ '& .SCFeedObject-obj-element': {
147
+ position: string;
148
+ '& .SCFeedObject-new': {
149
+ position: string;
150
+ top: string;
151
+ left: string;
152
+ width: string;
153
+ height: string;
154
+ backgroundColor: any;
155
+ border: string;
156
+ borderRadius: string;
157
+ filter: string;
158
+ };
159
+ };
146
160
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
147
161
  [x: number]: {
148
162
  borderRadius: any;
@@ -144,6 +144,20 @@ const Component = {
144
144
  opacity: 1
145
145
  }
146
146
  },
147
+ '& .SCFeedObject-obj-element': {
148
+ position: 'relative',
149
+ '& .SCFeedObject-new': {
150
+ position: 'absolute',
151
+ top: '10px',
152
+ left: '10px',
153
+ width: '9px',
154
+ height: '9px',
155
+ backgroundColor: theme.palette.secondary.main,
156
+ border: `1px solid ${theme.palette.common.white}`,
157
+ borderRadius: '9999px',
158
+ filter: 'drop-shadow(0 0 2px rgba(0, 0, 0, 0.50))'
159
+ }
160
+ },
147
161
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
148
162
  border: `0 none`,
149
163
  boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
@@ -176,8 +176,20 @@ declare const Component: {
176
176
  height: string;
177
177
  '& .SCMediaFile-badge-pdf': {
178
178
  position: string;
179
- bottom: string;
179
+ bottom: any;
180
180
  left: number;
181
+ width: any;
182
+ height: any;
183
+ border: string;
184
+ borderLeft: number;
185
+ borderTopRightRadius: string;
186
+ borderBottomRightRadius: string;
187
+ '& .SCMediaFile-pdf': {
188
+ height: string;
189
+ fontWeight: number;
190
+ lineHeight: number;
191
+ padding: string;
192
+ };
181
193
  };
182
194
  };
183
195
  '& .SCMediaFile-text-wrapper': {
@@ -174,8 +174,20 @@ const Component = {
174
174
  height: '50px',
175
175
  '& .SCMediaFile-badge-pdf': {
176
176
  position: 'absolute',
177
- bottom: '8px',
178
- left: 0
177
+ bottom: theme.spacing(1),
178
+ left: 0,
179
+ width: theme.spacing(4),
180
+ height: theme.spacing(2),
181
+ border: '1px solid #DDD',
182
+ borderLeft: 0,
183
+ borderTopRightRadius: '3px',
184
+ borderBottomRightRadius: '3px',
185
+ '& .SCMediaFile-pdf': {
186
+ height: '100%',
187
+ fontWeight: 600,
188
+ lineHeight: 1,
189
+ padding: '1px'
190
+ }
179
191
  }
180
192
  },
181
193
  '& .SCMediaFile-text-wrapper': {
@@ -0,0 +1,18 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCUserAutocomplete-info': {
5
+ [x: number]: {
6
+ alignItems: string;
7
+ };
8
+ marginTop: any;
9
+ display: string;
10
+ '& .MuiIcon-root': {
11
+ marginRight: any;
12
+ };
13
+ };
14
+ };
15
+ autocompleteRoot: ({ theme }: any) => {};
16
+ };
17
+ };
18
+ export default Component;
@@ -0,0 +1,18 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCUserAutocomplete-info': {
5
+ marginTop: theme.spacing(3),
6
+ display: 'flex',
7
+ [theme.breakpoints.up('sm')]: {
8
+ alignItems: 'center'
9
+ },
10
+ '& .MuiIcon-root': {
11
+ marginRight: theme.spacing(0.5)
12
+ }
13
+ }
14
+ }),
15
+ autocompleteRoot: ({ theme }) => ({})
16
+ }
17
+ };
18
+ export default Component;
@@ -4086,6 +4086,20 @@ declare const theme: {
4086
4086
  opacity: number;
4087
4087
  };
4088
4088
  };
4089
+ '& .SCFeedObject-obj-element': {
4090
+ position: string;
4091
+ '& .SCFeedObject-new': {
4092
+ position: string;
4093
+ top: string;
4094
+ left: string;
4095
+ width: string;
4096
+ height: string;
4097
+ backgroundColor: any;
4098
+ border: string;
4099
+ borderRadius: string;
4100
+ filter: string;
4101
+ };
4102
+ };
4089
4103
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
4090
4104
  [x: number]: {
4091
4105
  borderRadius: any;
@@ -4406,9 +4420,7 @@ declare const theme: {
4406
4420
  };
4407
4421
  };
4408
4422
  };
4409
- }; /**
4410
- * Export default theme
4411
- */
4423
+ };
4412
4424
  };
4413
4425
  };
4414
4426
  '&.SCFeedObject-snippet': {
@@ -6671,8 +6683,20 @@ declare const theme: {
6671
6683
  height: string;
6672
6684
  '& .SCMediaFile-badge-pdf': {
6673
6685
  position: string;
6674
- bottom: string;
6686
+ bottom: any;
6675
6687
  left: number;
6688
+ width: any;
6689
+ height: any;
6690
+ border: string;
6691
+ borderLeft: number;
6692
+ borderTopRightRadius: string;
6693
+ borderBottomRightRadius: string;
6694
+ '& .SCMediaFile-pdf': {
6695
+ height: string;
6696
+ fontWeight: number;
6697
+ lineHeight: number;
6698
+ padding: string;
6699
+ };
6676
6700
  };
6677
6701
  };
6678
6702
  '& .SCMediaFile-text-wrapper': {
@@ -8041,9 +8065,6 @@ declare const theme: {
8041
8065
  alignItems: string;
8042
8066
  marginRight: any;
8043
8067
  '& .MuiIcon-root': {
8044
- /**
8045
- * Style assets - Imports - Start
8046
- */
8047
8068
  margin: any;
8048
8069
  };
8049
8070
  };
@@ -9043,6 +9064,23 @@ declare const theme: {
9043
9064
  };
9044
9065
  };
9045
9066
  };
9067
+ SCUserAutocomplete: {
9068
+ styleOverrides: {
9069
+ root: ({ theme }: any) => {
9070
+ '& .SCUserAutocomplete-info': {
9071
+ [x: number]: {
9072
+ alignItems: string;
9073
+ };
9074
+ marginTop: any;
9075
+ display: string;
9076
+ '& .MuiIcon-root': {
9077
+ marginRight: any;
9078
+ };
9079
+ };
9080
+ };
9081
+ autocompleteRoot: ({ theme }: any) => {};
9082
+ };
9083
+ };
9046
9084
  SCUserCategoriesFollowedWidget: {
9047
9085
  styleOverrides: {
9048
9086
  root: ({ theme }: any) => {};
package/lib/esm/index.js CHANGED
@@ -183,6 +183,7 @@ import SCToastNotifications from './components/SCToastNotifications';
183
183
  import SCUser from './components/SCUser';
184
184
  import SCUserActionIconButton from './components/SCUserActionIconButton';
185
185
  import SCUserAvatar from './components/SCUserAvatar';
186
+ import SCUserAutocomplete from './components/SCUserAutocomplete';
186
187
  import SCUserCategoriesFollowedWidget from './components/SCUserCategoriesFollowedWidget';
187
188
  import SCUserConnectionsRequestsSentWidget from './components/SCUserConnectionsRequestsSentWidget';
188
189
  import SCUserConnectionsRequestsWidget from './components/SCUserConnectionsRequestsWidget';
@@ -446,6 +447,7 @@ const theme = {
446
447
  SCUser,
447
448
  SCUserActionIconButton,
448
449
  SCUserAvatar,
450
+ SCUserAutocomplete,
449
451
  SCUserCategoriesFollowedWidget,
450
452
  SCUserConnectionsRequestsSentWidget,
451
453
  SCUserConnectionsRequestsWidget,