@gataca/qr 2.0.9 → 2.0.11

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 (28) hide show
  1. package/dist/cjs/gataca-qr_2.cjs.entry.js +2 -3
  2. package/dist/cjs/gataca-qrws.cjs.entry.js +61 -11
  3. package/dist/cjs/gatacaqr.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/components/gataca-qr/gataca-qr.css +28 -110
  6. package/dist/collection/components/gataca-qr/gataca-qr.js +1 -2
  7. package/dist/collection/components/gataca-qrws/components/qr/QR.js +5 -0
  8. package/dist/collection/components/gataca-qrws/components/retryButton/RetryButton.js +13 -0
  9. package/dist/collection/components/gataca-qrws/components/success/Success.js +8 -0
  10. package/dist/collection/components/gataca-qrws/gataca-qrws.css +98 -73
  11. package/dist/collection/components/gataca-qrws/gataca-qrws.js +387 -13
  12. package/dist/components/gataca-qr2.js +2 -3
  13. package/dist/components/gataca-qrws2.js +83 -13
  14. package/dist/esm/gataca-qr_2.entry.js +2 -3
  15. package/dist/esm/gataca-qrws.entry.js +62 -12
  16. package/dist/esm/gatacaqr.js +1 -1
  17. package/dist/esm/loader.js +1 -1
  18. package/dist/gatacaqr/gatacaqr.esm.js +1 -1
  19. package/dist/gatacaqr/p-272337d9.entry.js +1 -0
  20. package/dist/gatacaqr/p-d7877349.entry.js +1 -0
  21. package/dist/types/components/gataca-qrws/components/qr/QR.d.ts +9 -0
  22. package/dist/types/components/gataca-qrws/components/retryButton/RetryButton.d.ts +13 -0
  23. package/dist/types/components/gataca-qrws/components/success/Success.d.ts +7 -0
  24. package/dist/types/components/gataca-qrws/gataca-qrws.d.ts +102 -1
  25. package/dist/types/components.d.ts +160 -0
  26. package/package.json +1 -1
  27. package/dist/gatacaqr/p-23197d75.entry.js +0 -1
  28. package/dist/gatacaqr/p-c134f057.entry.js +0 -1
@@ -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
  }