@selfcommunity/react-theme-default 0.3.0-alpha.0 → 0.3.0-alpha.2

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.
@@ -68,6 +68,14 @@ declare const Component: {
68
68
  '& .SCEventForm-active': {
69
69
  color: any;
70
70
  };
71
+ '& .SCEventForm-actions': {
72
+ marginTop: any;
73
+ display: string;
74
+ justifyContent: string;
75
+ '& button': {
76
+ width: string;
77
+ };
78
+ };
71
79
  '& .SCEventForm-privacy-section': {
72
80
  marginTop: any;
73
81
  justifyContent: string;
@@ -71,6 +71,14 @@ const Component = {
71
71
  '& .SCEventForm-active': {
72
72
  color: theme.palette.secondary.main
73
73
  },
74
+ '& .SCEventForm-actions': {
75
+ marginTop: theme.spacing(2),
76
+ display: 'flex',
77
+ justifyContent: 'flex-end',
78
+ '& button': {
79
+ width: 'fit-content'
80
+ }
81
+ },
74
82
  '& .SCEventForm-privacy-section': {
75
83
  marginTop: theme.spacing(2),
76
84
  justifyContent: 'center',
@@ -0,0 +1,13 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .MuiDialogTitle-root': {
5
+ '& span': {
6
+ flexGrow: number;
7
+ textAlign: string;
8
+ };
9
+ };
10
+ };
11
+ };
12
+ };
13
+ export default Component;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .MuiDialogTitle-root': {
7
+ '& span': {
8
+ flexGrow: 1,
9
+ textAlign: 'center'
10
+ }
11
+ }
12
+ })
13
+ }
14
+ };
15
+ exports.default = Component;
@@ -5349,6 +5349,9 @@ declare const theme: {
5349
5349
  border: string;
5350
5350
  objectFit: string;
5351
5351
  };
5352
+ /**
5353
+ * Export default theme
5354
+ */
5352
5355
  '& .MuiBadge-badge': {
5353
5356
  right: any;
5354
5357
  top: any;
@@ -6878,6 +6881,14 @@ declare const theme: {
6878
6881
  '& .SCEventForm-active': {
6879
6882
  color: any;
6880
6883
  };
6884
+ '& .SCEventForm-actions': {
6885
+ marginTop: any;
6886
+ display: string;
6887
+ justifyContent: string;
6888
+ '& button': {
6889
+ width: string;
6890
+ };
6891
+ };
6881
6892
  '& .SCEventForm-privacy-section': {
6882
6893
  marginTop: any;
6883
6894
  justifyContent: string;
@@ -6918,6 +6929,18 @@ declare const theme: {
6918
6929
  };
6919
6930
  };
6920
6931
  };
6932
+ SCEventFormDialog: {
6933
+ styleOverrides: {
6934
+ root: ({ theme }: any) => {
6935
+ '& .MuiDialogTitle-root': {
6936
+ '& span': {
6937
+ flexGrow: number;
6938
+ textAlign: string;
6939
+ };
6940
+ };
6941
+ };
6942
+ };
6943
+ };
6921
6944
  SCCreateEventButton: {
6922
6945
  styleOverrides: {
6923
6946
  root: ({ theme }: any) => {
package/lib/cjs/index.js CHANGED
@@ -67,6 +67,7 @@ const SCEmojiPicker_1 = tslib_1.__importDefault(require("./components/SCEmojiPic
67
67
  const SCEvent_1 = tslib_1.__importDefault(require("./components/SCEvent"));
68
68
  const SCEventActionsMenu_1 = tslib_1.__importDefault(require("./components/SCEventActionsMenu"));
69
69
  const SCEventForm_1 = tslib_1.__importDefault(require("./components/SCEventForm"));
70
+ const SCEventFormDialog_1 = tslib_1.__importDefault(require("./components/SCEventFormDialog"));
70
71
  const SCEventHeader_1 = tslib_1.__importDefault(require("./components/SCEventHeader"));
71
72
  const SCEventInfoDetails_1 = tslib_1.__importDefault(require("./components/SCEventInfoDetails"));
72
73
  const SCEventInfoWidget_1 = tslib_1.__importDefault(require("./components/SCEventInfoWidget"));
@@ -369,6 +370,7 @@ const theme = {
369
370
  SCUserSubscribedGroupsWidget: SCUserSubscribedGroupsWidget_1.default,
370
371
  SCUserSuggestionWidget: SCUserSuggestionWidget_1.default,
371
372
  SCEventForm: SCEventForm_1.default,
373
+ SCEventFormDialog: SCEventFormDialog_1.default,
372
374
  SCCreateEventButton: SCCreateEventButton_1.default,
373
375
  SCEventLocationWidget: SCEventLocationWidget_1.default,
374
376
  SCEvent: SCEvent_1.default,
@@ -68,6 +68,14 @@ declare const Component: {
68
68
  '& .SCEventForm-active': {
69
69
  color: any;
70
70
  };
71
+ '& .SCEventForm-actions': {
72
+ marginTop: any;
73
+ display: string;
74
+ justifyContent: string;
75
+ '& button': {
76
+ width: string;
77
+ };
78
+ };
71
79
  '& .SCEventForm-privacy-section': {
72
80
  marginTop: any;
73
81
  justifyContent: string;
@@ -69,6 +69,14 @@ const Component = {
69
69
  '& .SCEventForm-active': {
70
70
  color: theme.palette.secondary.main
71
71
  },
72
+ '& .SCEventForm-actions': {
73
+ marginTop: theme.spacing(2),
74
+ display: 'flex',
75
+ justifyContent: 'flex-end',
76
+ '& button': {
77
+ width: 'fit-content'
78
+ }
79
+ },
72
80
  '& .SCEventForm-privacy-section': {
73
81
  marginTop: theme.spacing(2),
74
82
  justifyContent: 'center',
@@ -0,0 +1,13 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .MuiDialogTitle-root': {
5
+ '& span': {
6
+ flexGrow: number;
7
+ textAlign: string;
8
+ };
9
+ };
10
+ };
11
+ };
12
+ };
13
+ export default Component;
@@ -0,0 +1,13 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .MuiDialogTitle-root': {
5
+ '& span': {
6
+ flexGrow: 1,
7
+ textAlign: 'center'
8
+ }
9
+ }
10
+ })
11
+ }
12
+ };
13
+ export default Component;
@@ -5349,6 +5349,9 @@ declare const theme: {
5349
5349
  border: string;
5350
5350
  objectFit: string;
5351
5351
  };
5352
+ /**
5353
+ * Export default theme
5354
+ */
5352
5355
  '& .MuiBadge-badge': {
5353
5356
  right: any;
5354
5357
  top: any;
@@ -6878,6 +6881,14 @@ declare const theme: {
6878
6881
  '& .SCEventForm-active': {
6879
6882
  color: any;
6880
6883
  };
6884
+ '& .SCEventForm-actions': {
6885
+ marginTop: any;
6886
+ display: string;
6887
+ justifyContent: string;
6888
+ '& button': {
6889
+ width: string;
6890
+ };
6891
+ };
6881
6892
  '& .SCEventForm-privacy-section': {
6882
6893
  marginTop: any;
6883
6894
  justifyContent: string;
@@ -6918,6 +6929,18 @@ declare const theme: {
6918
6929
  };
6919
6930
  };
6920
6931
  };
6932
+ SCEventFormDialog: {
6933
+ styleOverrides: {
6934
+ root: ({ theme }: any) => {
6935
+ '& .MuiDialogTitle-root': {
6936
+ '& span': {
6937
+ flexGrow: number;
6938
+ textAlign: string;
6939
+ };
6940
+ };
6941
+ };
6942
+ };
6943
+ };
6921
6944
  SCCreateEventButton: {
6922
6945
  styleOverrides: {
6923
6946
  root: ({ theme }: any) => {
package/lib/esm/index.js CHANGED
@@ -64,6 +64,7 @@ import SCEmojiPicker from './components/SCEmojiPicker';
64
64
  import SCEvent from './components/SCEvent';
65
65
  import SCEventActionsMenu from './components/SCEventActionsMenu';
66
66
  import SCEventForm from './components/SCEventForm';
67
+ import SCEventFormDialog from './components/SCEventFormDialog';
67
68
  import SCEventHeader from './components/SCEventHeader';
68
69
  import SCEventInfoDetails from './components/SCEventInfoDetails';
69
70
  import SCEventInfoWidget from './components/SCEventInfoWidget';
@@ -366,6 +367,7 @@ const theme = {
366
367
  SCUserSubscribedGroupsWidget,
367
368
  SCUserSuggestionWidget,
368
369
  SCEventForm,
370
+ SCEventFormDialog,
369
371
  SCCreateEventButton,
370
372
  SCEventLocationWidget,
371
373
  SCEvent,