@yourself_id/siwys-react-js 0.8.0 → 0.9.0
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/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -950,24 +950,24 @@ var Wrapper = styled4.div(_templateObject5());
|
|
|
950
950
|
var SignInContainer = styled4.div(_templateObject6());
|
|
951
951
|
var TitleContainer = styled4.div(_templateObject7());
|
|
952
952
|
var QRContainer = styled4.div(_templateObject8(), function(props) {
|
|
953
|
-
return props
|
|
953
|
+
return props.$theme === "dark" ? "border: 10px black solid" : "";
|
|
954
954
|
}, function(props) {
|
|
955
|
-
return props
|
|
955
|
+
return props.$theme === "dark" ? "border-radius: 26px" : "";
|
|
956
956
|
}, function(props) {
|
|
957
|
-
return props
|
|
957
|
+
return props.$theme === "dark" ? "line-height: 0" : "";
|
|
958
958
|
});
|
|
959
959
|
var Title = styled4.h4(_templateObject9(), function(props) {
|
|
960
|
-
return props
|
|
960
|
+
return props.$theme === "dark" ? "#0F0F10" : "#ffffff";
|
|
961
961
|
});
|
|
962
962
|
var InstructionsContainer = styled4.div(_templateObject10());
|
|
963
963
|
var InstructionsTitle = styled4.h4(_templateObject11(), function(props) {
|
|
964
|
-
return props
|
|
964
|
+
return props.$theme === "dark" ? "#0F0F10" : "#ffffff";
|
|
965
965
|
});
|
|
966
966
|
var InstructionsSubtitle = styled4.p(_templateObject12(), function(props) {
|
|
967
|
-
return props
|
|
967
|
+
return props.$theme === "dark" ? "#0F0F10" : "#ffffff";
|
|
968
968
|
});
|
|
969
969
|
var InstructionsDescription = styled4.ul(_templateObject13(), function(props) {
|
|
970
|
-
return props
|
|
970
|
+
return props.$theme === "dark" ? "#292D36" : "#c4ccd4";
|
|
971
971
|
});
|
|
972
972
|
var InstructionsDescriptionItem = styled4.li(_templateObject14());
|
|
973
973
|
var DownloadTitleContainer = styled4.div(_templateObject15());
|
|
@@ -1042,7 +1042,7 @@ var SignInWithYourSelf = function(param) {
|
|
|
1042
1042
|
width: "48",
|
|
1043
1043
|
height: "48"
|
|
1044
1044
|
}), /* @__PURE__ */ React17.createElement(TitleContainer, null, /* @__PURE__ */ React17.createElement(Title, {
|
|
1045
|
-
|
|
1045
|
+
$theme: theme
|
|
1046
1046
|
}, isCYS ? "Connect your" : "Sign in with your"), theme === "dark" ? /* @__PURE__ */ React17.createElement(SelfTextLogoBlack_default, {
|
|
1047
1047
|
width: "102",
|
|
1048
1048
|
height: "22"
|
|
@@ -1050,7 +1050,7 @@ var SignInWithYourSelf = function(param) {
|
|
|
1050
1050
|
width: "102",
|
|
1051
1051
|
height: "22"
|
|
1052
1052
|
})), /* @__PURE__ */ React17.createElement(QRContainer, {
|
|
1053
|
-
|
|
1053
|
+
$theme: theme
|
|
1054
1054
|
}, /* @__PURE__ */ React17.createElement(QrCode_default, {
|
|
1055
1055
|
challengeUrl: challengeUrl,
|
|
1056
1056
|
size: 200,
|
|
@@ -1064,17 +1064,17 @@ var SignInWithYourSelf = function(param) {
|
|
|
1064
1064
|
onClick: onSiwysPress,
|
|
1065
1065
|
glow: true
|
|
1066
1066
|
})), /* @__PURE__ */ React17.createElement(InstructionsContainer, null, /* @__PURE__ */ React17.createElement(InstructionsTitle, {
|
|
1067
|
-
|
|
1067
|
+
$theme: theme
|
|
1068
1068
|
}, isCYS ? "Connect your SELF\u2122 Guide:" : "Sign in with your SELF\u2122 Guide:"), /* @__PURE__ */ React17.createElement("div", null, /* @__PURE__ */ React17.createElement(InstructionsSubtitle, {
|
|
1069
|
-
|
|
1069
|
+
$theme: theme
|
|
1070
1070
|
}, isCYS ? "If you have the SELF\xAE\xA0mobile app:" : "If you are signing in on a device that has the SELF\xAE app installed:"), /* @__PURE__ */ React17.createElement(InstructionsDescription, {
|
|
1071
|
-
|
|
1071
|
+
$theme: theme
|
|
1072
1072
|
}, /* @__PURE__ */ React17.createElement(InstructionsDescriptionItem, null, isCYS ? "Use scanning feature in the SELF\xAE app to scan the QR code." : 'Tap the "Sign in with your SELF\u2122" button.'), /* @__PURE__ */ React17.createElement(InstructionsDescriptionItem, null, "Approve the connection request within the SELF\xAE app."))), /* @__PURE__ */ React17.createElement("div", null, /* @__PURE__ */ React17.createElement(InstructionsSubtitle, {
|
|
1073
|
-
|
|
1073
|
+
$theme: theme
|
|
1074
1074
|
}, isCYS ? "If you do not have the SELF\xAE mobile app:" : "If you are not signing in on a device that has the SELF\xAE app installed:"), /* @__PURE__ */ React17.createElement(InstructionsDescription, {
|
|
1075
|
-
|
|
1075
|
+
$theme: theme
|
|
1076
1076
|
}, /* @__PURE__ */ React17.createElement(InstructionsDescriptionItem, null, isCYS ? "Download and open the SELF\xAE ID app from the App Store." : "Open the SELF\xAE app on the device with the app installed."), /* @__PURE__ */ React17.createElement(InstructionsDescriptionItem, null, "Use the scanning feature in the SELF\xAE app to scan the QR code."), /* @__PURE__ */ React17.createElement(InstructionsDescriptionItem, null, "Approve the connection request within the SELF\xAE app."))), /* @__PURE__ */ React17.createElement(ParentDownloadContainer, null, /* @__PURE__ */ React17.createElement(DownloadTitleContainer, null, /* @__PURE__ */ React17.createElement(InstructionsTitle, {
|
|
1077
|
-
|
|
1077
|
+
$theme: theme
|
|
1078
1078
|
}, "Don\u2019t have the"), theme === "dark" ? /* @__PURE__ */ React17.createElement(SelfTextLogoBlack_default, {
|
|
1079
1079
|
width: "58",
|
|
1080
1080
|
height: "12"
|
|
@@ -1082,7 +1082,7 @@ var SignInWithYourSelf = function(param) {
|
|
|
1082
1082
|
width: "58",
|
|
1083
1083
|
height: "12"
|
|
1084
1084
|
}), /* @__PURE__ */ React17.createElement(InstructionsTitle, {
|
|
1085
|
-
|
|
1085
|
+
$theme: theme
|
|
1086
1086
|
}, " app?")), /* @__PURE__ */ React17.createElement(DownloadContainer, null, /* @__PURE__ */ React17.createElement(DownloadContainerFlex, null, /* @__PURE__ */ React17.createElement(DownloadAppTitle, null, "Available to download now:"), /* @__PURE__ */ React17.createElement(AppIconsContainer, null, /* @__PURE__ */ React17.createElement(IconDark_default, {
|
|
1087
1087
|
width: "56",
|
|
1088
1088
|
height: "56"
|