groundfloor-react-ui 1.0.1 → 1.0.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.
- package/README.md +7 -0
- package/assets/icons/eye-hide.svg +1 -1
- package/components/Button/PrimaryButton.js +4 -7
- package/components/Button/SecondaryButton.js +7 -8
- package/components/Footer/{FooterContentLev3.js → FooterContent.js} +5 -2
- package/components/Footer/index.js +1 -1
- package/components/Form/FormComponent.js +4 -1
- package/components/Icon/Icon.js +10 -0
- package/components/Inputs/CheckBoxInput.js +1 -1
- package/components/Inputs/DateSelect.js +1 -2
- package/components/Inputs/DropdownSelect.js +1 -1
- package/components/Inputs/DropzoneInput.js +1 -1
- package/components/Inputs/NumericInput.js +5 -9
- package/components/Inputs/PasswordInput.js +192 -0
- package/components/Inputs/TextArea.js +2 -2
- package/components/Inputs/TextInput.js +4 -2
- package/components/Inputs/TimeInput.js +2 -2
- package/components/Inputs/index.js +1 -0
- package/components/Modal/ModalComp.js +17 -6
- package/components/constants/defaultStyle.js +11 -10
- package/dist/index.es.js +225 -165
- package/dist/index.js +265 -205
- package/package.json +1 -1
|
@@ -15,13 +15,13 @@ const defaultStyles = {
|
|
|
15
15
|
'padding-left': '6px',
|
|
16
16
|
'font-style': 'normal',
|
|
17
17
|
'font-weight': 'normal',
|
|
18
|
-
'font-size': '
|
|
18
|
+
'font-size': '14px',
|
|
19
19
|
'display': 'flex',
|
|
20
20
|
'width': 'inherit',
|
|
21
21
|
'align-items': 'flex-start',
|
|
22
|
-
'color': '
|
|
23
|
-
'margin-bottom': '0'
|
|
24
|
-
|
|
22
|
+
'color': `${defaultThemeColor.variant['neutral-2']}`,
|
|
23
|
+
'margin-bottom': '0',
|
|
24
|
+
'padding-bottom': '0'
|
|
25
25
|
},
|
|
26
26
|
'button': {
|
|
27
27
|
'color': 'red',
|
|
@@ -144,7 +144,7 @@ const defaultStyles = {
|
|
|
144
144
|
'textbox-wrapper': {
|
|
145
145
|
'border': `1px solid ${defaultThemeColor.border}`,
|
|
146
146
|
'border-radius': '4px',
|
|
147
|
-
'padding': '
|
|
147
|
+
'padding': '6.5px 7px',
|
|
148
148
|
'display': 'flex',
|
|
149
149
|
'align-items': 'center',
|
|
150
150
|
'line-height': '.5rem',
|
|
@@ -243,7 +243,7 @@ const defaultStyles = {
|
|
|
243
243
|
fontSize: '14px',
|
|
244
244
|
fontWeight: '600',
|
|
245
245
|
'&:first-of-type': {
|
|
246
|
-
paddingLeft: '0px' //Remove default value since already apply the paddingLeft to the whole table to align the head to the body
|
|
246
|
+
paddingLeft: '0px !important' //Remove default value since already apply the paddingLeft to the whole table to align the head to the body
|
|
247
247
|
},
|
|
248
248
|
},
|
|
249
249
|
},
|
|
@@ -322,8 +322,8 @@ const defaultStyles = {
|
|
|
322
322
|
},
|
|
323
323
|
'radio-label': {
|
|
324
324
|
'display': 'block',
|
|
325
|
-
'margin-bottom': '
|
|
326
|
-
'color': '
|
|
325
|
+
'margin-bottom': '7px',
|
|
326
|
+
'color': `${defaultThemeColor.variant['neutral-2']}`
|
|
327
327
|
},
|
|
328
328
|
'option-text': {
|
|
329
329
|
// 'background-color': `${defaultThemeColor.bgColor}`,
|
|
@@ -365,7 +365,8 @@ const defaultStyles = {
|
|
|
365
365
|
},
|
|
366
366
|
'check-label': {
|
|
367
367
|
'display': 'block',
|
|
368
|
-
'margin-bottom': '
|
|
368
|
+
'margin-bottom': '7px',
|
|
369
|
+
'color': `${defaultThemeColor.variant['neutral-2']}`
|
|
369
370
|
},
|
|
370
371
|
'checkbox-option-text': {
|
|
371
372
|
'font-size': '16px',
|
|
@@ -375,7 +376,7 @@ const defaultStyles = {
|
|
|
375
376
|
'toggle-switch-wrapper': {
|
|
376
377
|
'display': 'flex',
|
|
377
378
|
'align-items': 'center',
|
|
378
|
-
'gap': '
|
|
379
|
+
'gap': '7px',
|
|
379
380
|
'width': 'fit-content',
|
|
380
381
|
},
|
|
381
382
|
'toggle-switch-checkbox-label': {
|