@lingk/sync 1.0.40 → 1.0.41

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.
@@ -392,6 +392,7 @@ module.exports =
392
392
  _react2.default.createElement(
393
393
  Button,
394
394
  {
395
+ type: 'brand',
395
396
  onClick: this.upload,
396
397
  style: { marginTop: 4, marginLeft: 20, verticalAlign: 'top', height: 36 },
397
398
  disabled: uploading },
@@ -466,7 +467,7 @@ module.exports =
466
467
  var UploadIcon = function UploadIcon() {
467
468
  return _react2.default.createElement(
468
469
  'svg',
469
- { fill: '#666', height: '24', viewBox: '0 0 24 24', width: '24' },
470
+ { fill: '#FFF', height: '24', viewBox: '0 0 24 24', width: '24' },
470
471
  _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }),
471
472
  _react2.default.createElement('path', { d: 'M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z' })
472
473
  );
@@ -574,7 +575,7 @@ module.exports =
574
575
  }),
575
576
  index === 0 && _react2.default.createElement(
576
577
  Button,
577
- {
578
+ { type: 'brand',
578
579
  onClick: function onClick() {
579
580
  return onCheck(creds);
580
581
  },
@@ -582,7 +583,13 @@ module.exports =
582
583
  marginBottom: 2, height: 30, lineHeight: '10px'
583
584
  },
584
585
  disabled: credsDisabledCheck },
585
- 'Test Connection'
586
+ _react2.default.createElement(
587
+ 'span',
588
+ { style: { display: 'inline-block', verticalAlign: 'top', marginTop: 3 } },
589
+ 'Test Connection'
590
+ ),
591
+ '\xA0\xA0',
592
+ _react2.default.createElement(Loop, null)
586
593
  )
587
594
  );
588
595
  })
@@ -591,6 +598,16 @@ module.exports =
591
598
  );
592
599
  };
593
600
 
601
+ var Loop = function Loop() {
602
+ return _react2.default.createElement(
603
+ 'svg',
604
+ { fill: '#FFFFFF', height: '18', viewBox: '0 0 24 24', width: '18',
605
+ style: { marginTop: -1 } },
606
+ _react2.default.createElement('path', { d: 'M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z' }),
607
+ _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' })
608
+ );
609
+ };
610
+
594
611
  exports.default = Google;
595
612
 
596
613
  /***/ },
@@ -783,12 +800,19 @@ module.exports =
783
800
  _react2.default.createElement(
784
801
  Button,
785
802
  {
803
+ type: 'brand',
786
804
  onClick: function onClick() {
787
805
  return check(_this2.state.actualCreds);
788
806
  },
789
- style: { marginLeft: 8, marginBottom: 2, height: 30, lineHeight: '10px' },
807
+ style: { marginLeft: 8, marginBottom: 2, height: 30, lineHeight: '10px', marginTop: -1 },
790
808
  disabled: !hasEndpoint || credsDisabledCheck },
791
- 'Test Connection'
809
+ _react2.default.createElement(
810
+ 'span',
811
+ { style: { display: 'inline-block', verticalAlign: 'top', marginTop: 3 } },
812
+ 'Test Connection'
813
+ ),
814
+ '\xA0\xA0',
815
+ _react2.default.createElement(Loop, null)
792
816
  ),
793
817
  _react2.default.createElement(
794
818
  'div',
@@ -836,13 +860,19 @@ module.exports =
836
860
  onChange: _this2.onChange }),
837
861
  index === 0 && noRootUrl && _react2.default.createElement(
838
862
  Button,
839
- {
863
+ { type: 'brand',
840
864
  onClick: function onClick() {
841
865
  return check(_this2.state.actualCreds);
842
866
  },
843
- style: { marginLeft: 8, marginBottom: 4, height: 30, lineHeight: '10px' },
867
+ style: { marginLeft: 8, marginBottom: 4, height: 30, lineHeight: '10px', marginTop: -1 },
844
868
  disabled: credsDisabledCheck },
845
- 'Test Connection'
869
+ _react2.default.createElement(
870
+ 'span',
871
+ { style: { display: 'inline-block', verticalAlign: 'top', marginTop: 3 } },
872
+ 'Test Connection'
873
+ ),
874
+ '\xA0\xA0',
875
+ _react2.default.createElement(Loop, null)
846
876
  ),
847
877
  credType === 'password' && _react2.default.createElement(Key, { showPass: _this2.state.showPass,
848
878
  onClick: function onClick() {
@@ -886,6 +916,16 @@ module.exports =
886
916
  _react2.default.createElement('path', { d: 'M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z' })
887
917
  );
888
918
  };
919
+
920
+ var Loop = function Loop() {
921
+ return _react2.default.createElement(
922
+ 'svg',
923
+ { fill: '#FFFFFF', height: '18', viewBox: '0 0 24 24', width: '18',
924
+ style: { marginTop: -1 } },
925
+ _react2.default.createElement('path', { d: 'M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z' }),
926
+ _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' })
927
+ );
928
+ };
889
929
 
890
930
  /***/ },
891
931
 
@@ -971,7 +1011,7 @@ module.exports =
971
1011
  var Spinner = inputs.Spinner;
972
1012
  var Button = inputs.Button;
973
1013
  var userName = creds && creds.userName;
974
- var btnStyle = { height: 30, lineHeight: '11px' };
1014
+ var btnStyle = { height: 30, lineHeight: '11px', marginTop: -1 };
975
1015
  return _react2.default.createElement(
976
1016
  'div',
977
1017
  null,
@@ -1025,12 +1065,18 @@ module.exports =
1025
1065
  ),
1026
1066
  _react2.default.createElement(
1027
1067
  Button,
1028
- {
1068
+ { type: 'brand',
1029
1069
  onClick: function onClick() {
1030
1070
  return onCheck(creds);
1031
1071
  },
1032
1072
  style: Object.assign({ marginLeft: 8 }, btnStyle) },
1033
- 'Test Connection'
1073
+ _react2.default.createElement(
1074
+ 'span',
1075
+ { style: { display: 'inline-block', verticalAlign: 'top', marginTop: 3 } },
1076
+ 'Test Connection'
1077
+ ),
1078
+ '\xA0\xA0',
1079
+ _react2.default.createElement(Loop, null)
1034
1080
  ),
1035
1081
  _react2.default.createElement(
1036
1082
  'div',
@@ -1128,6 +1174,16 @@ module.exports =
1128
1174
  return DotDot;
1129
1175
  }(_react.Component);
1130
1176
 
1177
+ var Loop = function Loop() {
1178
+ return _react2.default.createElement(
1179
+ 'svg',
1180
+ { fill: '#FFFFFF', height: '18', viewBox: '0 0 24 24', width: '18',
1181
+ style: { marginTop: -1 } },
1182
+ _react2.default.createElement('path', { d: 'M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z' }),
1183
+ _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' })
1184
+ );
1185
+ };
1186
+
1131
1187
  exports.default = Oauth;
1132
1188
 
1133
1189
  /***/ },