@bento-core/table 1.0.1-ctdc.2 → 1.0.1-ctdc.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.
@@ -58,7 +58,7 @@ const defaultTheme = () => ({
58
58
  root: {
59
59
  color: '#fff',
60
60
  fontSize: '0.875rem',
61
- marginTop: '6px',
61
+ marginTop: '0px',
62
62
  fontFamily: 'Lato',
63
63
  borderRadius: '4px',
64
64
  marginBottom: '10px',
@@ -66,16 +66,26 @@ const defaultTheme = () => ({
66
66
  width: '133px',
67
67
  height: '45px',
68
68
  '&.okBtn': {
69
- width: '133px',
69
+ width: '97px',
70
70
  height: '45px',
71
71
  cursor: 'pointer',
72
- background: '#42779a'
72
+ background: '#3E74B6',
73
+ borderRadius: '10px',
74
+ fontSize: '14px',
75
+ fontWeight: '500',
76
+ fontFamily: 'Roboto',
77
+ marginLeft: '9px'
73
78
  },
74
79
  '&.cancelBtn': {
75
- width: '133px',
80
+ fontSize: '14px',
81
+ fontWeight: '500',
82
+ marginRight: '9px',
83
+ fontFamily: 'Roboto',
84
+ width: '97px',
76
85
  height: '45px',
77
86
  cursor: 'pointer',
78
- background: '#98a19e'
87
+ background: '#4F5D69',
88
+ borderRadius: '10px'
79
89
  }
80
90
  }
81
91
  },
@@ -131,23 +141,41 @@ const defaultTheme = () => ({
131
141
  },
132
142
  MuiDialog: {
133
143
  paper: {
134
- width: '431px',
135
- height: '170px',
136
- borderRadius: '25px',
144
+ width: '458px',
145
+ height: '233px',
137
146
  textAlign: 'center',
138
- backgroundColor: '#E8DFDC',
139
- border: '2px solid #A61401'
147
+ backgroundColor: '#fff',
148
+ border: '2px solid #BA1F40',
149
+ borderRadius: '10px'
140
150
  }
141
151
  },
142
152
  MuiDialogContent: {
143
153
  root: {
144
- padding: '40px 20px 0px 20px',
154
+ display: 'flex',
155
+ flex: 'none',
156
+ padding: '0px',
157
+ justifyContent: 'center',
158
+ alignItems: 'Center',
145
159
  '&.alter-content': {
146
160
  fontFamily: 'Lato',
147
161
  size: '16px'
148
162
  }
149
163
  }
150
164
  },
165
+ MuiDialogContentText: {
166
+ root: {
167
+ color: '#000',
168
+ height: '60px',
169
+ fontWeight: '400',
170
+ marginTop: '20px',
171
+ fontSize: '17px',
172
+ fontFamily: 'Roboto',
173
+ display: 'flex',
174
+ flexDirection: 'column',
175
+ justifyContent: 'center',
176
+ alignItem: 'center'
177
+ }
178
+ },
151
179
  MuiDialogActions: {
152
180
  root: {
153
181
  justifyContent: 'center',
@@ -34,10 +34,10 @@ function RemoveAllDialogView(props) {
34
34
  }, generateModalMessage(count))), /*#__PURE__*/_react.default.createElement(_core.DialogActions, null, /*#__PURE__*/_react.default.createElement(_core.Button, {
35
35
  className: "cancelBtn",
36
36
  onClick: () => toggleDisplay()
37
- }, "Cancel"), /*#__PURE__*/_react.default.createElement(_core.Button, {
37
+ }, "No"), /*#__PURE__*/_react.default.createElement(_core.Button, {
38
38
  className: "okBtn",
39
39
  onClick: deleteAllFiles
40
- }, "Ok"))));
40
+ }, "Yes"))));
41
41
  }
42
42
  var _default = RemoveAllDialogView;
43
43
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/table",
3
- "version": "1.0.1-ctdc.2",
3
+ "version": "1.0.1-ctdc.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -52,7 +52,7 @@ const defaultTheme = () => ({
52
52
  root: {
53
53
  color: '#fff',
54
54
  fontSize: '0.875rem',
55
- marginTop: '6px',
55
+ marginTop: '0px',
56
56
  fontFamily: 'Lato',
57
57
  borderRadius: '4px',
58
58
  marginBottom: '10px',
@@ -60,16 +60,26 @@ const defaultTheme = () => ({
60
60
  width: '133px',
61
61
  height: '45px',
62
62
  '&.okBtn': {
63
- width: '133px',
63
+ width: '97px',
64
64
  height: '45px',
65
65
  cursor: 'pointer',
66
- background: '#42779a',
66
+ background: '#3E74B6',
67
+ borderRadius: '10px',
68
+ fontSize: '14px',
69
+ fontWeight: '500',
70
+ fontFamily: 'Roboto',
71
+ marginLeft: '9px',
67
72
  },
68
73
  '&.cancelBtn': {
69
- width: '133px',
74
+ fontSize: '14px',
75
+ fontWeight: '500',
76
+ marginRight: '9px',
77
+ fontFamily: 'Roboto',
78
+ width: '97px',
70
79
  height: '45px',
71
80
  cursor: 'pointer',
72
- background: '#98a19e',
81
+ background: '#4F5D69',
82
+ borderRadius: '10px',
73
83
  },
74
84
  },
75
85
  },
@@ -125,23 +135,41 @@ const defaultTheme = () => ({
125
135
  },
126
136
  MuiDialog: {
127
137
  paper: {
128
- width: '431px',
129
- height: '170px',
130
- borderRadius: '25px',
138
+ width: '458px',
139
+ height: '233px',
131
140
  textAlign: 'center',
132
- backgroundColor: '#E8DFDC',
133
- border: '2px solid #A61401',
141
+ backgroundColor: '#fff',
142
+ border: '2px solid #BA1F40',
143
+ borderRadius: '10px',
134
144
  },
135
145
  },
136
146
  MuiDialogContent: {
137
147
  root: {
138
- padding: '40px 20px 0px 20px',
148
+ display: 'flex',
149
+ flex: 'none',
150
+ padding: '0px',
151
+ justifyContent: 'center',
152
+ alignItems: 'Center',
139
153
  '&.alter-content': {
140
154
  fontFamily: 'Lato',
141
155
  size: '16px',
142
156
  },
143
157
  },
144
158
  },
159
+ MuiDialogContentText: {
160
+ root: {
161
+ color: '#000',
162
+ height: '60px',
163
+ fontWeight: '400',
164
+ marginTop: '20px',
165
+ fontSize: '17px',
166
+ fontFamily: 'Roboto',
167
+ display: 'flex',
168
+ flexDirection: 'column',
169
+ justifyContent: 'center',
170
+ alignItem: 'center',
171
+ },
172
+ },
145
173
  MuiDialogActions: {
146
174
  root: {
147
175
  justifyContent: 'center',
@@ -52,10 +52,10 @@ function RemoveAllDialogView(props) {
52
52
  </DialogContent>
53
53
  <DialogActions>
54
54
  <Button className="cancelBtn" onClick={() => toggleDisplay()}>
55
- Cancel
55
+ No
56
56
  </Button>
57
57
  <Button className="okBtn" onClick={deleteAllFiles}>
58
- Ok
58
+ Yes
59
59
  </Button>
60
60
  </DialogActions>
61
61
  </Dialog>