groundfloor-react-ui 1.0.2 → 1.0.5
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/components/{Form → DesignComponent/StyledComponent}/StyledComponent.js +12 -17
- package/components/DesignComponent/StyledComponent/index.js +1 -0
- package/components/DesignComponent/index.js +1 -0
- package/components/Footer/FooterContent.js +1 -0
- package/components/Form/FormComponent.js +3 -3
- package/components/Form/SubmitComponent.js +1 -1
- package/components/Form/index.js +0 -1
- package/components/Inputs/DropdownSelect.js +176 -174
- package/components/Inputs/DropzoneInput.js +2 -4
- package/components/Modal/ModalComp.js +5 -4
- package/components/constants/defaultStyle.js +2 -4
- package/dist/index.es.js +469 -468
- package/dist/index.js +469 -468
- package/index.js +1 -0
- package/package.json +1 -1
|
@@ -9,7 +9,8 @@ import defaultThemeColor from '../constants/defaultThemeColor';
|
|
|
9
9
|
|
|
10
10
|
const customStyles = {
|
|
11
11
|
overlay: {
|
|
12
|
-
zIndex: '
|
|
12
|
+
zIndex: '999999',
|
|
13
|
+
backgroundColor: 'rgb(0 0 0 / 30%)'
|
|
13
14
|
},
|
|
14
15
|
content: {
|
|
15
16
|
borderColor: defaultThemeColor.border,
|
|
@@ -20,7 +21,7 @@ const customStyles = {
|
|
|
20
21
|
marginRight: '-50%',
|
|
21
22
|
padding: '0px',
|
|
22
23
|
transform: 'translate(-50%, -50%)',
|
|
23
|
-
maxHeight: '75vh'
|
|
24
|
+
maxHeight: '75vh'
|
|
24
25
|
},
|
|
25
26
|
};
|
|
26
27
|
|
|
@@ -72,7 +73,7 @@ const ModalFooter = styled.div`
|
|
|
72
73
|
`;
|
|
73
74
|
|
|
74
75
|
const CommonDiv = styled.div`
|
|
75
|
-
padding:
|
|
76
|
+
padding: 2rem 3rem 0rem 3rem;
|
|
76
77
|
`;
|
|
77
78
|
|
|
78
79
|
Modal.setAppElement('#root');
|
|
@@ -188,4 +189,4 @@ ModalComp.defaultProps = {
|
|
|
188
189
|
customModalHeaderStyle: {},
|
|
189
190
|
customModalBodyStyle: {},
|
|
190
191
|
customModalFooterStyle: {},
|
|
191
|
-
};
|
|
192
|
+
};
|
|
@@ -396,8 +396,7 @@ const defaultStyles = {
|
|
|
396
396
|
* Default Style of the dropZone component
|
|
397
397
|
*/
|
|
398
398
|
'dropzone-parent': {
|
|
399
|
-
'width': '
|
|
400
|
-
'max-width': '514px',
|
|
399
|
+
'width': '100%',
|
|
401
400
|
'height': '86px',
|
|
402
401
|
'padding-left': '8px',
|
|
403
402
|
'padding-right': '8px',
|
|
@@ -410,7 +409,6 @@ const defaultStyles = {
|
|
|
410
409
|
},
|
|
411
410
|
'dropzone-file-div': {
|
|
412
411
|
'width': 'inherit',
|
|
413
|
-
'max-width': '532px',
|
|
414
412
|
'height': '38px',
|
|
415
413
|
'display': 'flex',
|
|
416
414
|
'justify-content': 'center',
|
|
@@ -745,7 +743,7 @@ const defaultStyles = {
|
|
|
745
743
|
cursor: 'pointer'
|
|
746
744
|
},
|
|
747
745
|
'modalComp-modal-body': {
|
|
748
|
-
'margin-top': '
|
|
746
|
+
'margin-top': '20px',
|
|
749
747
|
'margin-bottom': '15px',
|
|
750
748
|
},
|
|
751
749
|
'modalComp-modal-footer': {
|