@gataca/qr 2.0.8 → 2.0.10

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.
Files changed (50) hide show
  1. package/dist/cjs/gataca-autoqr.cjs.entry.js +1 -1
  2. package/dist/cjs/gataca-qr_2.cjs.entry.js +46 -25
  3. package/dist/cjs/gataca-qrws.cjs.entry.js +63 -13
  4. package/dist/cjs/gataca-ssibutton_2.cjs.entry.js +1 -1
  5. package/dist/cjs/gatacaqr.cjs.js +2 -2
  6. package/dist/cjs/{index-a49c526c.js → index-f214ab7a.js} +57 -0
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/collection/components/gataca-qr/components/qr/QR.js +5 -0
  9. package/dist/collection/components/gataca-qr/components/retryButton/RetryButton.js +13 -0
  10. package/dist/collection/components/gataca-qr/components/success/Success.js +8 -0
  11. package/dist/collection/components/gataca-qr/gataca-qr.css +78 -73
  12. package/dist/collection/components/gataca-qr/gataca-qr.js +9 -23
  13. package/dist/collection/components/gataca-qrws/components/qr/QR.js +5 -0
  14. package/dist/collection/components/gataca-qrws/components/retryButton/RetryButton.js +13 -0
  15. package/dist/collection/components/gataca-qrws/components/success/Success.js +8 -0
  16. package/dist/collection/components/gataca-qrws/gataca-qrws.css +98 -73
  17. package/dist/collection/components/gataca-qrws/gataca-qrws.js +387 -13
  18. package/dist/components/gataca-qr2.js +44 -23
  19. package/dist/components/gataca-qrws2.js +83 -13
  20. package/dist/components/index.js +1 -1
  21. package/dist/esm/gataca-autoqr.entry.js +1 -1
  22. package/dist/esm/gataca-qr_2.entry.js +44 -23
  23. package/dist/esm/gataca-qrws.entry.js +63 -13
  24. package/dist/esm/gataca-ssibutton_2.entry.js +1 -1
  25. package/dist/esm/gatacaqr.js +3 -3
  26. package/dist/esm/{index-6929cc53.js → index-570c9813.js} +57 -0
  27. package/dist/esm/loader.js +3 -3
  28. package/dist/gatacaqr/gatacaqr.esm.js +1 -1
  29. package/dist/gatacaqr/{p-49c7cbac.entry.js → p-3d1a6526.entry.js} +1 -1
  30. package/dist/gatacaqr/p-4b2b3ddc.entry.js +1 -0
  31. package/dist/gatacaqr/p-4e11e0d2.entry.js +1 -0
  32. package/dist/gatacaqr/{p-e715b443.entry.js → p-bd6bd52f.entry.js} +1 -1
  33. package/dist/gatacaqr/p-ea783014.js +1 -0
  34. package/dist/gatacaqr/p-ec0f00a6.js +2 -0
  35. package/dist/types/components/gataca-qr/components/qr/QR.d.ts +9 -0
  36. package/dist/types/components/gataca-qr/components/retryButton/RetryButton.d.ts +13 -0
  37. package/dist/types/components/gataca-qr/components/success/Success.d.ts +7 -0
  38. package/dist/types/components/gataca-qrws/components/qr/QR.d.ts +9 -0
  39. package/dist/types/components/gataca-qrws/components/retryButton/RetryButton.d.ts +13 -0
  40. package/dist/types/components/gataca-qrws/components/success/Success.d.ts +7 -0
  41. package/dist/types/components/gataca-qrws/gataca-qrws.d.ts +102 -1
  42. package/dist/types/components.d.ts +160 -0
  43. package/package.json +2 -1
  44. package/dist/gatacaqr/p-1d72ef98.entry.js +0 -1
  45. package/dist/gatacaqr/p-554598aa.js +0 -2
  46. package/dist/gatacaqr/p-aa580c47.entry.js +0 -1
  47. package/dist/gatacaqr/p-e6f1b2b6.js +0 -1
  48. package/dist/cjs/{logo_gataca-2d5c8a85.js → gat-icon-alert-0ad19b26.js} +2 -2
  49. package/dist/components/{gat-icon-refresh.js → gat-icon-alert.js} +2 -2
  50. package/dist/esm/{logo_gataca-273fcfb8.js → gat-icon-alert-7b06ef3a.js} +2 -2
@@ -1,4 +1,5 @@
1
1
  @import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@100;300;400;500;600;700&display=swap");
2
+ @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700&display=swap");
2
3
  /* http://meyerweb.com/eric/tools/css/reset/
3
4
  v2.0 | 20110126
4
5
  License: none (public domain)
@@ -111,7 +112,7 @@ img {
111
112
  .popUpContainer .modal-window__content .hidenText {
112
113
  display: none;
113
114
  }
114
- .popUpContainer .modal-window p {
115
+ .popUpContainer .modal-window .modalText {
115
116
  font-family: "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
116
117
  font-size: 20px;
117
118
  font-style: normal;
@@ -119,7 +120,6 @@ img {
119
120
  line-height: 24px;
120
121
  margin-top: 10px;
121
122
  letter-spacing: 1px;
122
- color: #1e1e20;
123
123
  }
124
124
  .popUpContainer .modal-window .qrTitleContainer {
125
125
  padding: 14px 24px;
@@ -131,12 +131,12 @@ img {
131
131
  line-height: 23.5px;
132
132
  }
133
133
  .popUpContainer .modal-window .qrDescription {
134
- font-weight: 400;
134
+ font-family: "Poppins", "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
135
135
  font-size: 14px;
136
- line-height: 16.5px;
137
- padding-top: 12px;
138
- padding-bottom: 5px;
139
- color: #A1A1A1;
136
+ font-style: normal;
137
+ font-weight: 400;
138
+ line-height: 16px;
139
+ color: #707074;
140
140
  }
141
141
  .popUpContainer .modal-window .bold {
142
142
  font-weight: 600;
@@ -160,112 +160,117 @@ img {
160
160
  .popUpContainer .noBoxShadow {
161
161
  box-shadow: none;
162
162
  }
163
- .popUpContainer .reload {
163
+ .popUpContainer .is-visible {
164
+ opacity: 1;
165
+ visibility: visible;
166
+ }
167
+
168
+ .is-transparent {
169
+ opacity: 0;
170
+ }
171
+
172
+ .success {
173
+ display: flex;
174
+ height: 300px;
175
+ flex-direction: column;
176
+ justify-content: center;
177
+ align-items: center;
178
+ padding: 0px;
179
+ }
180
+ .success > img {
181
+ padding-bottom: 12px;
182
+ }
183
+ .success > .successMsg {
184
+ line-height: 23.5px;
185
+ color: var(--neutral-1000, #1e1e20);
186
+ text-align: center;
187
+ font-family: "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
188
+ font-size: 20px;
189
+ font-style: normal;
190
+ font-weight: 700;
191
+ line-height: 24px;
192
+ }
193
+
194
+ .reload {
164
195
  height: 252px;
165
196
  width: 252px;
166
- border: 1px dashed #A1A1A1;
197
+ border: 1px dashed #a1a1a1;
167
198
  border-radius: 12px;
168
199
  position: relative;
169
200
  top: 24px;
170
201
  margin: 0 24px 24px;
171
202
  display: flex;
203
+ overflow: hidden;
172
204
  justify-content: center;
173
205
  align-items: center;
174
206
  }
175
- .popUpContainer #qrwait {
207
+
208
+ #qrwait {
176
209
  display: flex;
177
210
  justify-content: center;
178
211
  }
179
- .popUpContainer #qrwait,
180
- .popUpContainer #notify {
212
+
213
+ #qrwait,
214
+ #notify {
181
215
  width: 100%;
182
216
  height: 100%;
183
217
  top: 0;
184
218
  left: 0;
185
219
  border-radius: 20px;
186
220
  }
187
- .popUpContainer #notify {
221
+
222
+ #notify {
188
223
  z-index: 10;
189
- background-color: gray;
190
224
  position: absolute;
191
225
  justify-self: center;
192
226
  justify-items: center;
193
227
  justify-content: center;
194
228
  align-items: center;
195
229
  align-content: center;
196
- align-self: center;
197
230
  display: flex;
198
231
  flex-direction: column;
199
- padding: 24px;
200
232
  box-sizing: border-box;
201
- /* Auto layout */
202
- display: flex;
203
- flex-direction: column;
204
- justify-content: center;
205
- align-items: center;
206
233
  padding: 20px;
207
- background: rgba(255, 255, 255, 0.9);
208
- /* Grey Colors/Grey 400 */
234
+ background: rgba(255, 255, 255, 0.95);
209
235
  }
210
- .popUpContainer .notify-text {
211
- font-family: "Work Sans";
212
- font-style: normal;
213
- font-weight: 400;
214
- font-size: 14px;
215
- line-height: 16px;
216
- text-align: center;
217
- font-feature-settings: "salt" on;
218
- color: #8B8B8B;
219
- flex: none;
220
- order: 1;
221
- align-self: stretch;
222
- flex-grow: 0;
223
- }
224
- .popUpContainer .alert {
236
+ #notify > img {
237
+ padding-bottom: 12px;
238
+ }
239
+
240
+ .alert {
225
241
  display: flex;
226
242
  flex-direction: row;
227
- align-items: center;
228
243
  justify-content: start;
229
244
  width: 252px;
230
245
  position: absolute;
231
- bottom: 0;
232
- background: #FFE5E5;
233
- border-radius: 12px;
246
+ bottom: 0px;
247
+ border: 1px solid #ee888c;
248
+ background: #ffdedf;
249
+ border-radius: 11px;
250
+ box-sizing: border-box;
251
+ padding: 12px;
252
+ align-items: center;
253
+ gap: 12px;
234
254
  }
235
- .popUpContainer .alert img {
236
- margin: 12px;
255
+ .alert > img {
256
+ margin: 0;
237
257
  }
238
- .popUpContainer .alert p {
239
- font-weight: 400;
258
+ .alert > p {
259
+ font-family: "Poppins", "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
240
260
  font-size: 14px;
241
- line-height: 16px;
242
- color: black;
243
- }
244
- .popUpContainer .success {
245
- display: flex;
246
- height: 300px;
247
- flex-direction: column;
248
- justify-content: center;
249
- align-items: center;
250
- padding: 0px;
251
- }
252
- .popUpContainer .success .successMsg {
253
- line-height: 23.5px;
254
- color: var(--neutral-1000, #1E1E20);
255
- text-align: center;
256
- /* Heading/6 */
257
- font-family: "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
258
- font-size: 20px;
259
261
  font-style: normal;
260
- font-weight: 700;
261
- line-height: 24px;
262
- /* 120% */
263
- }
264
- .popUpContainer .is-visible {
265
- opacity: 1;
266
- visibility: visible;
262
+ font-weight: 400;
263
+ margin-top: 0;
264
+ line-height: 16px;
265
+ color: #1e1e20;
267
266
  }
268
267
 
269
- .is-transparent {
270
- opacity: 0;
268
+ .notify-text {
269
+ font-family: "Poppins", "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
270
+ font-size: 14px;
271
+ font-style: normal;
272
+ font-weight: 400;
273
+ line-height: 16px;
274
+ color: #707074;
275
+ text-align: center;
271
276
  }
@@ -1,10 +1,10 @@
1
1
  import { h, } from "@stencil/core";
2
- import alertIcon from "../../assets/icons/gat-icon-alert.svg";
3
- import successIcon from "../../assets/icons/gat-icon-check.svg";
4
- import refreshIcon from "../../assets/icons/gat-icon-refresh.svg";
5
2
  import logoGataca from "../../assets/images/logo_gataca.svg";
6
3
  import "../gataca-qrdisplay/gataca-qrdisplay";
7
4
  import { base64UrlEncode, checkMobile, RESULT_STATUS } from "../../utils/utils";
5
+ import { Success } from "./components/success/Success";
6
+ import { RetryButton } from "./components/retryButton/RetryButton";
7
+ import { QR } from "./components/qr/QR";
8
8
  const DEEP_LINK_PREFIX = "https://gataca.page.link/?apn=com.gatacaapp&ibi=com.gataca.wallet&link=";
9
9
  //Default values
10
10
  const DEFAULT_SESSION_TIMEOUT = 300; //5mins as in connect
@@ -152,33 +152,19 @@ export class GatacaQR {
152
152
  }
153
153
  }
154
154
  renderSuccess() {
155
- var _a;
156
- return (h("div", { class: "success", style: {
157
- height: this.modalHeight
158
- ? ((_a = this.modalHeight) === null || _a === void 0 ? void 0 : _a.toString()) + "px"
159
- : "300px",
160
- } }, h("img", { src: successIcon, height: 52, width: 52 }), h("p", { class: "successMsg" }, this.successLoginLabel)));
155
+ return (h(Success, { modalHeight: this === null || this === void 0 ? void 0 : this.modalHeight, successLoginLabel: this === null || this === void 0 ? void 0 : this.successLoginLabel }));
161
156
  }
162
157
  renderRetryButton(errorMessage) {
163
- var _a;
164
- return (h("div", { class: "reload", style: {
165
- width: (this.modalWidth - 50).toString() + "px",
166
- height: this.modalWidth
167
- ? ((_a = (this.modalWidth - 50)) === null || _a === void 0 ? void 0 : _a.toString()) + "px"
168
- : "",
169
- } }, h("div", { id: "notify", onClick: () => this.display() }, h("img", { src: refreshIcon, height: 24, width: 24 }), h("p", { class: "qrDescription" }, this.clickInsideBoxLabel, " "), errorMessage ? (h("p", { class: "qrDescription bold" }, this.refreshQrLabel)) : (h("p", { class: "qrDescription bold" }, this.scanQrLabel)), errorMessage && (h("div", { class: "alert", style: {
170
- width: (this.modalWidth - 50).toString() + "px",
171
- } }, h("img", { src: alertIcon, height: 24, width: 24 }), h("p", null, errorMessage)))), h("div", { id: "qrwait" }, this.renderRetryQR(this.waitingStartSessionLabel))));
158
+ return (h(RetryButton, { errorMessage: errorMessage, modalWidth: this === null || this === void 0 ? void 0 : this.modalWidth, clickInsideBoxLabel: this === null || this === void 0 ? void 0 : this.clickInsideBoxLabel, refreshQrLabel: this === null || this === void 0 ? void 0 : this.refreshQrLabel, scanQrLabel: this === null || this === void 0 ? void 0 : this.scanQrLabel, waitingStartSessionLabel: this === null || this === void 0 ? void 0 : this.waitingStartSessionLabel, display: this === null || this === void 0 ? void 0 : this.display, renderRetryQR: this === null || this === void 0 ? void 0 : this.renderRetryQR }));
172
159
  }
173
160
  renderQR(value, useLogo) {
174
- return (h("gataca-qrdisplay", { qrData: value, rounded: true, size: this.qrSize, "logo-size": useLogo ? 0.33 : 0, "logo-src": this.logoSrc }));
161
+ return (h(QR, { value: value, useLogo: useLogo, size: (this === null || this === void 0 ? void 0 : this.qrSize) || undefined, logoSrc: this === null || this === void 0 ? void 0 : this.logoSrc }));
175
162
  }
176
163
  renderRetryQR(value, useLogo) {
177
- return (h("gataca-qrdisplay", { qrData: value, rounded: true, size: this.qrSize - 50, "logo-size": useLogo ? 0.33 : 0, "logo-src": this.logoSrc }));
164
+ return (h(QR, { value: value, useLogo: useLogo, size: (this === null || this === void 0 ? void 0 : this.qrSize) ? (this === null || this === void 0 ? void 0 : this.qrSize) - 50 : undefined, logoSrc: this === null || this === void 0 ? void 0 : this.logoSrc }));
178
165
  }
179
166
  render() {
180
167
  var _a, _b;
181
- console.log("result", this.result);
182
168
  return (h("div", { class: "popUpContainer" }, h("div", { class: `is-visible modal-window ${this.hideModalTexts ? "" : "large-modal"} ${this.hideModalBoxShadow ? "noBoxShadow" : ""}`, style: {
183
169
  width: (this.modalWidth - 2).toString() + "px",
184
170
  height: this.modalHeight
@@ -186,8 +172,8 @@ export class GatacaQR {
186
172
  : "",
187
173
  }, onClick: (event) => {
188
174
  event.stopPropagation();
189
- } }, h("div", { class: "modal-window__content" }, h("div", { class: `qrTitleContainer ${this.hideModalTexts ? "hidenText" : ""}` }, h("p", { class: "qrTitle", style: { color: this.modalTitleColor || "#1e1e20" } }, this.qrModalTitle), !this.hideBrandTitle && (h("p", { class: "qrBrand" }, this.byBrandLabel, " ", h("span", null, h("img", { src: logoGataca })))), this.result !== RESULT_STATUS.SUCCESS &&
190
- !this.hideQrModalDescription && (h("p", { class: "qrDescription" }, this.qrModalDescription))), h("div", { class: "qrSection", style: {
175
+ } }, h("div", { class: "modal-window__content" }, h("div", { class: `qrTitleContainer ${this.hideModalTexts ? "hidenText" : ""}` }, h("p", { class: "qrTitle modalText", style: { color: this.modalTitleColor || "#1e1e20" } }, this.qrModalTitle), !this.hideBrandTitle && (h("p", { class: "qrBrand modalText" }, this.byBrandLabel, " ", h("span", null, h("img", { src: logoGataca })))), this.result !== RESULT_STATUS.SUCCESS &&
176
+ !this.hideQrModalDescription && (h("p", { class: "qrDescription modalText" }, this.qrModalDescription))), h("div", { class: "qrSection", style: {
191
177
  width: this.modalWidth.toString() + "px",
192
178
  height: this.modalWidth
193
179
  ? ((_b = this.modalWidth) === null || _b === void 0 ? void 0 : _b.toString()) + "px"
@@ -0,0 +1,5 @@
1
+ import { h } from "@stencil/core";
2
+ export const QR = (props) => {
3
+ const { value, useLogo, logoSrc, size } = props;
4
+ return (h("gataca-qrdisplay", { qrData: value, rounded: true, size: size, "logo-size": useLogo ? 0.33 : 0, "logo-src": logoSrc }));
5
+ };
@@ -0,0 +1,13 @@
1
+ import { h } from "@stencil/core";
2
+ import refreshIcon from "../../../../assets/icons/gat-icon-refresh.svg";
3
+ import alertIcon from "../../../../assets/icons/gat-icon-alert.svg";
4
+ export const RetryButton = (props) => {
5
+ var _a;
6
+ const { errorMessage, modalWidth, clickInsideBoxLabel, refreshQrLabel, scanQrLabel, waitingStartSessionLabel, display, renderRetryQR, } = props;
7
+ return (h("div", { class: "reload", style: {
8
+ width: (modalWidth - 48).toString() + "px",
9
+ height: modalWidth ? ((_a = (modalWidth - 48)) === null || _a === void 0 ? void 0 : _a.toString()) + "px" : "",
10
+ } }, h("div", { id: "notify", onClick: () => display() }, h("img", { src: refreshIcon, height: 24, width: 24 }), h("p", { class: "notify-text" }, clickInsideBoxLabel, " "), errorMessage ? (h("p", { class: "notify-text bold" }, refreshQrLabel)) : (h("p", { class: "notify-text bold" }, scanQrLabel)), errorMessage && (h("div", { class: "alert", style: {
11
+ width: (modalWidth - 48).toString() + "px",
12
+ } }, h("img", { src: alertIcon, height: 24, width: 24 }), h("p", null, errorMessage)))), h("div", { id: "qrwait" }, renderRetryQR(waitingStartSessionLabel))));
13
+ };
@@ -0,0 +1,8 @@
1
+ import successIcon from "../../../../assets/icons/gat-icon-check.svg";
2
+ import { h } from "@stencil/core";
3
+ export const Success = (props) => {
4
+ const { modalHeight, successLoginLabel } = props;
5
+ return (h("div", { class: "success", style: {
6
+ height: modalHeight ? (modalHeight === null || modalHeight === void 0 ? void 0 : modalHeight.toString()) + "px" : "300px",
7
+ } }, h("img", { src: successIcon, height: 52, width: 52 }), h("p", { class: "successMsg" }, successLoginLabel)));
8
+ };
@@ -1,3 +1,5 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@100;300;400;500;600;700&display=swap");
2
+ @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700&display=swap");
1
3
  /* http://meyerweb.com/eric/tools/css/reset/
2
4
  v2.0 | 20110126
3
5
  License: none (public domain)
@@ -78,9 +80,14 @@ img {
78
80
  margin-right: 10px;
79
81
  }
80
82
 
83
+ .popUpContainer .large-modal {
84
+ width: 300px;
85
+ min-height: 350px;
86
+ }
81
87
  .popUpContainer .modal-window {
82
88
  position: relative;
83
89
  border-radius: 6px;
90
+ overflow: hidden;
84
91
  color: rgba(24, 27, 94, 0.8);
85
92
  box-shadow: 0px 3px 10px rgba(48, 48, 48, 0.1);
86
93
  display: flex;
@@ -89,8 +96,6 @@ img {
89
96
  align-items: center;
90
97
  display: flex;
91
98
  z-index: 1001;
92
- width: 300px;
93
- min-height: 408px;
94
99
  padding: 1px;
95
100
  background-color: white;
96
101
  border-radius: 12px;
@@ -104,12 +109,17 @@ img {
104
109
  height: 100%;
105
110
  text-align: left;
106
111
  }
107
- .popUpContainer .modal-window p {
108
- font-family: "Work Sans", "Helvetica Neue", sans-serif;
109
- font-weight: normal;
110
- font-size: 12px;
112
+ .popUpContainer .modal-window__content .hidenText {
113
+ display: none;
114
+ }
115
+ .popUpContainer .modal-window .modalText {
116
+ font-family: "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
117
+ font-size: 20px;
118
+ font-style: normal;
119
+ font-weight: 700;
120
+ line-height: 24px;
121
+ margin-top: 10px;
111
122
  letter-spacing: 1px;
112
- color: #1e1e20;
113
123
  }
114
124
  .popUpContainer .modal-window .qrTitleContainer {
115
125
  padding: 14px 24px;
@@ -121,12 +131,12 @@ img {
121
131
  line-height: 23.5px;
122
132
  }
123
133
  .popUpContainer .modal-window .qrDescription {
124
- font-weight: 400;
134
+ font-family: "Poppins", "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
125
135
  font-size: 14px;
126
- line-height: 16.5px;
127
- padding-top: 12px;
128
- padding-bottom: 5px;
129
- color: #A1A1A1;
136
+ font-style: normal;
137
+ font-weight: 400;
138
+ line-height: 16px;
139
+ color: #707074;
130
140
  }
131
141
  .popUpContainer .modal-window .bold {
132
142
  font-weight: 600;
@@ -147,105 +157,120 @@ img {
147
157
  width: 252px;
148
158
  height: 252px;
149
159
  }
150
- .popUpContainer .reload {
160
+ .popUpContainer .noBoxShadow {
161
+ box-shadow: none;
162
+ }
163
+ .popUpContainer .is-visible {
164
+ opacity: 1;
165
+ visibility: visible;
166
+ }
167
+
168
+ .is-transparent {
169
+ opacity: 0;
170
+ }
171
+
172
+ .success {
173
+ display: flex;
174
+ height: 300px;
175
+ flex-direction: column;
176
+ justify-content: center;
177
+ align-items: center;
178
+ padding: 0px;
179
+ }
180
+ .success > img {
181
+ padding-bottom: 12px;
182
+ }
183
+ .success > .successMsg {
184
+ line-height: 23.5px;
185
+ color: var(--neutral-1000, #1e1e20);
186
+ text-align: center;
187
+ font-family: "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
188
+ font-size: 20px;
189
+ font-style: normal;
190
+ font-weight: 700;
191
+ line-height: 24px;
192
+ }
193
+
194
+ .reload {
151
195
  height: 252px;
152
196
  width: 252px;
153
- border: 1px dashed #A1A1A1;
197
+ border: 1px dashed #a1a1a1;
154
198
  border-radius: 12px;
155
199
  position: relative;
156
- margin: 24px;
200
+ top: 24px;
201
+ margin: 0 24px 24px;
157
202
  display: flex;
203
+ overflow: hidden;
158
204
  justify-content: center;
159
205
  align-items: center;
160
206
  }
161
- .popUpContainer #qrwait {
207
+
208
+ #qrwait {
162
209
  display: flex;
163
210
  justify-content: center;
164
211
  }
165
- .popUpContainer #qrwait,
166
- .popUpContainer #notify {
212
+
213
+ #qrwait,
214
+ #notify {
167
215
  width: 100%;
168
216
  height: 100%;
169
217
  top: 0;
170
218
  left: 0;
171
219
  border-radius: 20px;
172
220
  }
173
- .popUpContainer #notify {
221
+
222
+ #notify {
174
223
  z-index: 10;
175
- background-color: gray;
176
224
  position: absolute;
177
225
  justify-self: center;
178
226
  justify-items: center;
179
227
  justify-content: center;
180
228
  align-items: center;
181
229
  align-content: center;
182
- align-self: center;
183
230
  display: flex;
184
231
  flex-direction: column;
185
- padding: 24px;
186
232
  box-sizing: border-box;
187
- /* Auto layout */
188
- display: flex;
189
- flex-direction: column;
190
- justify-content: center;
191
- align-items: center;
192
233
  padding: 20px;
193
- background: rgba(255, 255, 255, 0.9);
194
- /* Grey Colors/Grey 400 */
234
+ background: rgba(255, 255, 255, 0.95);
195
235
  }
196
- .popUpContainer .notify-text {
197
- font-family: "Work Sans";
198
- font-style: normal;
199
- font-weight: 400;
200
- font-size: 14px;
201
- line-height: 16px;
202
- text-align: center;
203
- font-feature-settings: "salt" on;
204
- color: #8B8B8B;
205
- flex: none;
206
- order: 1;
207
- align-self: stretch;
208
- flex-grow: 0;
209
- }
210
- .popUpContainer .alert {
236
+ #notify > img {
237
+ padding-bottom: 12px;
238
+ }
239
+
240
+ .alert {
211
241
  display: flex;
212
242
  flex-direction: row;
213
- align-items: center;
214
243
  justify-content: start;
215
244
  width: 252px;
216
245
  position: absolute;
217
- bottom: 0;
218
- background: #FFE5E5;
219
- border-radius: 12px;
246
+ bottom: 0px;
247
+ border: 1px solid #ee888c;
248
+ background: #ffdedf;
249
+ border-radius: 11px;
250
+ box-sizing: border-box;
251
+ padding: 12px;
252
+ align-items: center;
253
+ gap: 12px;
220
254
  }
221
- .popUpContainer .alert img {
222
- margin: 12px;
255
+ .alert > img {
256
+ margin: 0;
223
257
  }
224
- .popUpContainer .alert p {
225
- font-weight: 400;
258
+ .alert > p {
259
+ font-family: "Poppins", "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
226
260
  font-size: 14px;
261
+ font-style: normal;
262
+ font-weight: 400;
263
+ margin-top: 0;
227
264
  line-height: 16px;
228
- color: black;
229
- }
230
- .popUpContainer .success {
231
- display: flex;
232
- height: 300px;
233
- flex-direction: column;
234
- justify-content: center;
235
- align-items: center;
236
- padding: 0px;
237
- }
238
- .popUpContainer .success .successMsg {
239
- margin-top: 20px;
240
- font-size: 20px;
241
- font-weight: 600;
242
- line-height: 23.5px;
243
- }
244
- .popUpContainer .is-visible {
245
- opacity: 1;
246
- visibility: visible;
265
+ color: #1e1e20;
247
266
  }
248
267
 
249
- .is-transparent {
250
- opacity: 0;
268
+ .notify-text {
269
+ font-family: "Poppins", "Ubuntu", "Work Sans", "Helvetica Neue", sans-serif;
270
+ font-size: 14px;
271
+ font-style: normal;
272
+ font-weight: 400;
273
+ line-height: 16px;
274
+ color: #707074;
275
+ text-align: center;
251
276
  }