@rpcbase/client 0.26.0 → 0.27.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.
@@ -15,6 +15,9 @@ import "./sign-in.scss"
15
15
 
16
16
  const log = debug("rb:auth:signin")
17
17
 
18
+
19
+ const SIGNIN_WITH_GITHUB = false
20
+
18
21
  const SignIn = ({
19
22
  name,
20
23
  logo,
@@ -120,27 +123,31 @@ const SignIn = ({
120
123
 
121
124
  </form>
122
125
 
123
- <hr />
124
- <p className="text-muted">OR</p>
125
-
126
- <a href="/signup"
127
- className="sign-in-github-btn p-2 btn-lg w-100"
128
- style={{}}>
129
- <div style={{}} className="me-2">
130
- <svg height="28px" width="28px" viewBox="0 0 16 16" style={{fill: "currentColor"}}>
131
- <path fillRule={"evenodd"} d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38
132
- 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01
133
- 1.08.58 1.23.82.72 1.21 1.87.87
134
- 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12
135
- 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08
136
- 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0
137
- .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/>
138
- </svg>
139
- </div>
140
- <div className="">
141
- Sign in with GitHub
142
- </div>
143
- </a>
126
+ {SIGNIN_WITH_GITHUB && (
127
+ <>
128
+ <hr />
129
+ <p className="text-muted">OR</p>
130
+
131
+ <a href="/signup"
132
+ className="sign-in-github-btn p-2 btn-lg w-100"
133
+ style={{}}>
134
+ <div style={{}} className="me-2">
135
+ <svg height="28px" width="28px" viewBox="0 0 16 16" style={{fill: "currentColor"}}>
136
+ <path fillRule={"evenodd"} d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38
137
+ 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01
138
+ 1.08.58 1.23.82.72 1.21 1.87.87
139
+ 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12
140
+ 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08
141
+ 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0
142
+ .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/>
143
+ </svg>
144
+ </div>
145
+ <div className="">
146
+ Sign in with GitHub
147
+ </div>
148
+ </a>
149
+ </>
150
+ )}
144
151
 
145
152
  </div>
146
153
  </div>
@@ -45,6 +45,10 @@
45
45
  border-bottom-left-radius: 0;
46
46
  }
47
47
 
48
+ input:-webkit-autofill::first-line {
49
+ // color: red;
50
+ }
51
+
48
52
  .form-signin #input-password {
49
53
  margin-bottom: 10px;
50
54
  border-top-left-radius: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/client",
3
- "version": "0.26.0",
3
+ "version": "0.27.0",
4
4
  "scripts": {
5
5
  "test": "echo \"Error: no test specified\" && exit 0"
6
6
  },