@selfcommunity/react-theme-default 1.2.0-alpha.1 → 1.2.0-alpha.3

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 (42) hide show
  1. package/lib/cjs/components/SCBaseItemButton.d.ts +2 -2
  2. package/lib/cjs/components/SCBaseItemButton.js +7 -2
  3. package/lib/cjs/components/SCEventForm.js +7 -3
  4. package/lib/cjs/components/SCEventHeader.d.ts +6 -6
  5. package/lib/cjs/components/SCEventHeader.js +17 -7
  6. package/lib/cjs/components/SCEventMembersWidget.js +7 -2
  7. package/lib/cjs/components/SCEventSubscribeButton.d.ts +2 -0
  8. package/lib/cjs/components/SCEventSubscribeButton.js +7 -2
  9. package/lib/cjs/components/SCNavigationSettingsIconButton.d.ts +7 -4
  10. package/lib/cjs/components/SCNavigationSettingsIconButton.js +10 -4
  11. package/lib/cjs/components/SCOnBoardingWidget.js +10 -3
  12. package/lib/cjs/components/SCPrivateMessageEditor.js +4 -2
  13. package/lib/cjs/components/SCPrivateMessageSnippetItem.d.ts +3 -0
  14. package/lib/cjs/components/SCPrivateMessageSnippetItem.js +6 -0
  15. package/lib/cjs/components/SCPrivateMessageSnippets.d.ts +0 -10
  16. package/lib/cjs/components/SCPrivateMessageSnippets.js +2 -11
  17. package/lib/cjs/components/SCPrivateMessageThread.js +9 -5
  18. package/lib/cjs/components/SCUser.d.ts +3 -0
  19. package/lib/cjs/components/SCUser.js +6 -0
  20. package/lib/cjs/index.d.ts +26 -22
  21. package/lib/esm/components/SCBaseItemButton.d.ts +2 -2
  22. package/lib/esm/components/SCBaseItemButton.js +7 -2
  23. package/lib/esm/components/SCEventForm.js +7 -3
  24. package/lib/esm/components/SCEventHeader.d.ts +6 -6
  25. package/lib/esm/components/SCEventHeader.js +18 -8
  26. package/lib/esm/components/SCEventMembersWidget.js +7 -2
  27. package/lib/esm/components/SCEventSubscribeButton.d.ts +2 -0
  28. package/lib/esm/components/SCEventSubscribeButton.js +7 -2
  29. package/lib/esm/components/SCNavigationSettingsIconButton.d.ts +7 -4
  30. package/lib/esm/components/SCNavigationSettingsIconButton.js +10 -4
  31. package/lib/esm/components/SCOnBoardingWidget.js +10 -3
  32. package/lib/esm/components/SCPrivateMessageEditor.js +4 -2
  33. package/lib/esm/components/SCPrivateMessageSnippetItem.d.ts +3 -0
  34. package/lib/esm/components/SCPrivateMessageSnippetItem.js +6 -0
  35. package/lib/esm/components/SCPrivateMessageSnippets.d.ts +0 -10
  36. package/lib/esm/components/SCPrivateMessageSnippets.js +2 -11
  37. package/lib/esm/components/SCPrivateMessageThread.js +7 -3
  38. package/lib/esm/components/SCUser.d.ts +3 -0
  39. package/lib/esm/components/SCUser.js +6 -0
  40. package/lib/esm/index.d.ts +26 -22
  41. package/lib/umd/react-theme-default.js +1 -1
  42. package/package.json +2 -2
@@ -562,10 +562,10 @@ declare const theme: {
562
562
  marginTop: any;
563
563
  marginBottom: any;
564
564
  '& .SCBaseItemButton-primary': {
565
- color: any;
565
+ color: string;
566
566
  };
567
567
  '& .SCBaseItemButton-secondary': {
568
- color: any;
568
+ color: string;
569
569
  };
570
570
  };
571
571
  };
@@ -6981,10 +6981,13 @@ declare const theme: {
6981
6981
  padding: number;
6982
6982
  };
6983
6983
  };
6984
- '& .SCNavigationSettingsIconButton-item .MuiListItemIcon-root': {
6985
- marginLeft: any;
6986
- marginBottom: any;
6987
- color: any;
6984
+ '& .SCNavigationSettingsIconButton-item': {
6985
+ color: string;
6986
+ '& .MuiListItemIcon-root': {
6987
+ marginLeft: any;
6988
+ marginBottom: any;
6989
+ color: any;
6990
+ };
6988
6991
  };
6989
6992
  };
6990
6993
  drawerRoot: ({ theme }: any) => {
@@ -8111,6 +8114,9 @@ declare const theme: {
8111
8114
  '& .SCOnBoardingWidget-app-image-android': {
8112
8115
  width: string;
8113
8116
  marginTop: any;
8117
+ /**
8118
+ * Style assets - Imports - Start
8119
+ */
8114
8120
  marginBottom: any;
8115
8121
  };
8116
8122
  };
@@ -8442,6 +8448,9 @@ declare const theme: {
8442
8448
  padding: string;
8443
8449
  boxShadow: string;
8444
8450
  marginBottom: any;
8451
+ '& .SCPrivateMessageSnippetItem-contrast-color': {
8452
+ color: string;
8453
+ };
8445
8454
  '& .SCPrivateMessageSnippetItem-time': {
8446
8455
  float: string;
8447
8456
  fontSize: any;
@@ -8522,25 +8531,15 @@ declare const theme: {
8522
8531
  };
8523
8532
  };
8524
8533
  '& .SCPrivateMessageSnippets-new-message-button': {
8525
- color: string;
8526
8534
  alignSelf: string;
8527
- backgroundColor: string;
8528
- '&:hover': {
8529
- borderWidth: string;
8530
- backgroundColor: any;
8531
- };
8532
8535
  };
8533
8536
  '& .MuiList-root': {
8534
8537
  flexGrow: number;
8535
8538
  overflowY: string;
8536
8539
  padding: any;
8537
- '& .Mui-selected': {
8538
- backgroundColor: any;
8539
- };
8540
8540
  '& .MuiButtonBase-root, MuiListItemButton-root': {
8541
8541
  '&:hover': {
8542
8542
  borderRadius: string;
8543
- backgroundColor: any;
8544
8543
  };
8545
8544
  };
8546
8545
  };
@@ -9064,6 +9063,9 @@ declare const theme: {
9064
9063
  borderRadius: number;
9065
9064
  paddingBottom: number;
9066
9065
  overflow: string;
9066
+ '& .SCUser-contrast-color': {
9067
+ color: string;
9068
+ };
9067
9069
  '& .MuiChip-root': {
9068
9070
  height: string;
9069
9071
  };
@@ -10121,6 +10123,9 @@ declare const theme: {
10121
10123
  SCEventHeader: {
10122
10124
  styleOverrides: {
10123
10125
  root: ({ theme, isEventAdmin, isEventFinished }: any) => {
10126
+ '& .SCEventHeader-contrast-color': {
10127
+ color: string;
10128
+ };
10124
10129
  '& .SCEventHeader-cover': {
10125
10130
  [x: number]: {
10126
10131
  borderRadius: any;
@@ -10161,8 +10166,6 @@ declare const theme: {
10161
10166
  '& .SCEventHeader-chip': {
10162
10167
  marginLeft: any;
10163
10168
  marginBottom: any;
10164
- backgroundColor: any;
10165
- color: any;
10166
10169
  border: string;
10167
10170
  '& .SCEventHeader-chip-icon': {
10168
10171
  marginLeft: any;
@@ -10172,7 +10175,7 @@ declare const theme: {
10172
10175
  textTransform: string;
10173
10176
  fontSize: string;
10174
10177
  fontWeight: any;
10175
- color: any;
10178
+ color: string;
10176
10179
  paddingLeft: any;
10177
10180
  };
10178
10181
  '& .SCEventHeader-info': {
@@ -10181,7 +10184,7 @@ declare const theme: {
10181
10184
  fontSize: string;
10182
10185
  fontWeight: any;
10183
10186
  paddingLeft: any;
10184
- color: any;
10187
+ color: string;
10185
10188
  };
10186
10189
  '& .SCEventHeader-visibility': {
10187
10190
  display: string;
@@ -10189,11 +10192,10 @@ declare const theme: {
10189
10192
  alignItems: string;
10190
10193
  gap: any;
10191
10194
  paddingLeft: any;
10192
- color: any;
10193
10195
  '& .SCEventHeader-visibility-item': {
10194
10196
  fontSize: any;
10195
10197
  fontWeight: any;
10196
- color: any;
10198
+ color: string;
10197
10199
  display: string;
10198
10200
  justifyContent: string;
10199
10201
  alignItems: string;
@@ -10367,6 +10369,7 @@ declare const theme: {
10367
10369
  padding: string;
10368
10370
  };
10369
10371
  backgroundColor: any;
10372
+ color: any;
10370
10373
  justifyContent: string;
10371
10374
  height: number;
10372
10375
  borderRadius: string;
@@ -10430,6 +10433,7 @@ declare const theme: {
10430
10433
  '& .MuiList-root .SCEventSubscribeButton-item': {
10431
10434
  paddingTop: number;
10432
10435
  paddingBottom: number;
10436
+ color: string;
10433
10437
  '&.Mui-disabled': {
10434
10438
  paddingTop: any;
10435
10439
  paddingBottom: any;