powr-sdk-web 1.9.3 → 1.9.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/dist/auth/index.js +15 -6
- package/package.json +1 -1
package/dist/auth/index.js
CHANGED
|
@@ -377,13 +377,17 @@ var PowrLogin = function PowrLogin(_ref) {
|
|
|
377
377
|
var styles = {
|
|
378
378
|
container: {
|
|
379
379
|
fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
|
|
380
|
-
padding: '20px'
|
|
380
|
+
padding: '20px',
|
|
381
|
+
display: 'flex',
|
|
382
|
+
justifyContent: 'center',
|
|
383
|
+
alignItems: 'center'
|
|
381
384
|
},
|
|
382
385
|
card: {
|
|
383
386
|
borderRadius: '16px',
|
|
384
387
|
padding: '40px',
|
|
385
|
-
width: '
|
|
386
|
-
maxWidth: '400px'
|
|
388
|
+
width: '400px',
|
|
389
|
+
maxWidth: '400px',
|
|
390
|
+
minWidth: '400px'
|
|
387
391
|
},
|
|
388
392
|
header: {
|
|
389
393
|
textAlign: 'center',
|
|
@@ -580,15 +584,19 @@ var styles = {
|
|
|
580
584
|
position: 'relative',
|
|
581
585
|
display: 'flex',
|
|
582
586
|
alignItems: 'center',
|
|
583
|
-
width: '100%'
|
|
587
|
+
width: '100%',
|
|
588
|
+
minHeight: '48px'
|
|
584
589
|
},
|
|
585
590
|
passwordInput: {
|
|
586
591
|
paddingRight: '45px',
|
|
587
|
-
width: '100%'
|
|
592
|
+
width: '100%',
|
|
593
|
+
boxSizing: 'border-box'
|
|
588
594
|
},
|
|
589
595
|
eyeButton: {
|
|
590
596
|
position: 'absolute',
|
|
591
597
|
right: '12px',
|
|
598
|
+
top: '50%',
|
|
599
|
+
transform: 'translateY(-50%)',
|
|
592
600
|
background: 'none',
|
|
593
601
|
border: 'none',
|
|
594
602
|
cursor: 'pointer',
|
|
@@ -597,7 +605,8 @@ var styles = {
|
|
|
597
605
|
alignItems: 'center',
|
|
598
606
|
justifyContent: 'center',
|
|
599
607
|
color: '#9ca3af',
|
|
600
|
-
transition: 'color 0.2s ease'
|
|
608
|
+
transition: 'color 0.2s ease',
|
|
609
|
+
zIndex: 1
|
|
601
610
|
},
|
|
602
611
|
eyeIcon: {
|
|
603
612
|
width: '20px',
|