@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.js
CHANGED
|
@@ -1032,24 +1032,24 @@ var Wrapper = import_styled_components4.default.div(_templateObject5());
|
|
|
1032
1032
|
var SignInContainer = import_styled_components4.default.div(_templateObject6());
|
|
1033
1033
|
var TitleContainer = import_styled_components4.default.div(_templateObject7());
|
|
1034
1034
|
var QRContainer = import_styled_components4.default.div(_templateObject8(), function(props) {
|
|
1035
|
-
return props
|
|
1035
|
+
return props.$theme === "dark" ? "border: 10px black solid" : "";
|
|
1036
1036
|
}, function(props) {
|
|
1037
|
-
return props
|
|
1037
|
+
return props.$theme === "dark" ? "border-radius: 26px" : "";
|
|
1038
1038
|
}, function(props) {
|
|
1039
|
-
return props
|
|
1039
|
+
return props.$theme === "dark" ? "line-height: 0" : "";
|
|
1040
1040
|
});
|
|
1041
1041
|
var Title = import_styled_components4.default.h4(_templateObject9(), function(props) {
|
|
1042
|
-
return props
|
|
1042
|
+
return props.$theme === "dark" ? "#0F0F10" : "#ffffff";
|
|
1043
1043
|
});
|
|
1044
1044
|
var InstructionsContainer = import_styled_components4.default.div(_templateObject10());
|
|
1045
1045
|
var InstructionsTitle = import_styled_components4.default.h4(_templateObject11(), function(props) {
|
|
1046
|
-
return props
|
|
1046
|
+
return props.$theme === "dark" ? "#0F0F10" : "#ffffff";
|
|
1047
1047
|
});
|
|
1048
1048
|
var InstructionsSubtitle = import_styled_components4.default.p(_templateObject12(), function(props) {
|
|
1049
|
-
return props
|
|
1049
|
+
return props.$theme === "dark" ? "#0F0F10" : "#ffffff";
|
|
1050
1050
|
});
|
|
1051
1051
|
var InstructionsDescription = import_styled_components4.default.ul(_templateObject13(), function(props) {
|
|
1052
|
-
return props
|
|
1052
|
+
return props.$theme === "dark" ? "#292D36" : "#c4ccd4";
|
|
1053
1053
|
});
|
|
1054
1054
|
var InstructionsDescriptionItem = import_styled_components4.default.li(_templateObject14());
|
|
1055
1055
|
var DownloadTitleContainer = import_styled_components4.default.div(_templateObject15());
|
|
@@ -1124,7 +1124,7 @@ var SignInWithYourSelf = function(param) {
|
|
|
1124
1124
|
width: "48",
|
|
1125
1125
|
height: "48"
|
|
1126
1126
|
}), /* @__PURE__ */ import_react4.default.createElement(TitleContainer, null, /* @__PURE__ */ import_react4.default.createElement(Title, {
|
|
1127
|
-
|
|
1127
|
+
$theme: theme
|
|
1128
1128
|
}, isCYS ? "Connect your" : "Sign in with your"), theme === "dark" ? /* @__PURE__ */ import_react4.default.createElement(SelfTextLogoBlack_default, {
|
|
1129
1129
|
width: "102",
|
|
1130
1130
|
height: "22"
|
|
@@ -1132,7 +1132,7 @@ var SignInWithYourSelf = function(param) {
|
|
|
1132
1132
|
width: "102",
|
|
1133
1133
|
height: "22"
|
|
1134
1134
|
})), /* @__PURE__ */ import_react4.default.createElement(QRContainer, {
|
|
1135
|
-
|
|
1135
|
+
$theme: theme
|
|
1136
1136
|
}, /* @__PURE__ */ import_react4.default.createElement(QrCode_default, {
|
|
1137
1137
|
challengeUrl: challengeUrl,
|
|
1138
1138
|
size: 200,
|
|
@@ -1146,17 +1146,17 @@ var SignInWithYourSelf = function(param) {
|
|
|
1146
1146
|
onClick: onSiwysPress,
|
|
1147
1147
|
glow: true
|
|
1148
1148
|
})), /* @__PURE__ */ import_react4.default.createElement(InstructionsContainer, null, /* @__PURE__ */ import_react4.default.createElement(InstructionsTitle, {
|
|
1149
|
-
|
|
1149
|
+
$theme: theme
|
|
1150
1150
|
}, isCYS ? "Connect your SELF\u2122 Guide:" : "Sign in with your SELF\u2122 Guide:"), /* @__PURE__ */ import_react4.default.createElement("div", null, /* @__PURE__ */ import_react4.default.createElement(InstructionsSubtitle, {
|
|
1151
|
-
|
|
1151
|
+
$theme: theme
|
|
1152
1152
|
}, 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__ */ import_react4.default.createElement(InstructionsDescription, {
|
|
1153
|
-
|
|
1153
|
+
$theme: theme
|
|
1154
1154
|
}, /* @__PURE__ */ import_react4.default.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__ */ import_react4.default.createElement(InstructionsDescriptionItem, null, "Approve the connection request within the SELF\xAE app."))), /* @__PURE__ */ import_react4.default.createElement("div", null, /* @__PURE__ */ import_react4.default.createElement(InstructionsSubtitle, {
|
|
1155
|
-
|
|
1155
|
+
$theme: theme
|
|
1156
1156
|
}, 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__ */ import_react4.default.createElement(InstructionsDescription, {
|
|
1157
|
-
|
|
1157
|
+
$theme: theme
|
|
1158
1158
|
}, /* @__PURE__ */ import_react4.default.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__ */ import_react4.default.createElement(InstructionsDescriptionItem, null, "Use the scanning feature in the SELF\xAE app to scan the QR code."), /* @__PURE__ */ import_react4.default.createElement(InstructionsDescriptionItem, null, "Approve the connection request within the SELF\xAE app."))), /* @__PURE__ */ import_react4.default.createElement(ParentDownloadContainer, null, /* @__PURE__ */ import_react4.default.createElement(DownloadTitleContainer, null, /* @__PURE__ */ import_react4.default.createElement(InstructionsTitle, {
|
|
1159
|
-
|
|
1159
|
+
$theme: theme
|
|
1160
1160
|
}, "Don\u2019t have the"), theme === "dark" ? /* @__PURE__ */ import_react4.default.createElement(SelfTextLogoBlack_default, {
|
|
1161
1161
|
width: "58",
|
|
1162
1162
|
height: "12"
|
|
@@ -1164,7 +1164,7 @@ var SignInWithYourSelf = function(param) {
|
|
|
1164
1164
|
width: "58",
|
|
1165
1165
|
height: "12"
|
|
1166
1166
|
}), /* @__PURE__ */ import_react4.default.createElement(InstructionsTitle, {
|
|
1167
|
-
|
|
1167
|
+
$theme: theme
|
|
1168
1168
|
}, " app?")), /* @__PURE__ */ import_react4.default.createElement(DownloadContainer, null, /* @__PURE__ */ import_react4.default.createElement(DownloadContainerFlex, null, /* @__PURE__ */ import_react4.default.createElement(DownloadAppTitle, null, "Available to download now:"), /* @__PURE__ */ import_react4.default.createElement(AppIconsContainer, null, /* @__PURE__ */ import_react4.default.createElement(IconDark_default, {
|
|
1169
1169
|
width: "56",
|
|
1170
1170
|
height: "56"
|