@everymatrix/general-player-sms-verification-form 1.13.14 → 1.13.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-sms-verification-form",
3
- "version": "1.13.14",
3
+ "version": "1.13.16",
4
4
  "main": "index.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "a5cf232b09fe0b3050e2243fb25404a2e17f382f"
38
+ "gitHead": "586fd8038cd1f675aab3c6a81922c36e5d8faa34"
39
39
  }
@@ -172,8 +172,8 @@ import { onMount } from 'svelte';
172
172
  </script>
173
173
 
174
174
 
175
- <div class="Container SmsVerificationContainer" bind:this={customStylingContainer} part="SmsVerificationContainer">
176
- <h3 class="Title" part="Title">
175
+ <div class="Container SmsVerificationContainer" bind:this={customStylingContainer}>
176
+ <h3 class="Title">
177
177
  {#if isSmsValid}
178
178
  {$_('title')}
179
179
  {:else}
@@ -181,30 +181,28 @@ import { onMount } from 'svelte';
181
181
  {/if}
182
182
  </h3>
183
183
 
184
- <div class="Field SmsVerificationField {!isSmsValid ? 'InvalidField' : ''}" part="SmsVerificationField {!isSmsValid ? 'InvalidField' : ''}">
184
+ <div class="Field SmsVerificationField {!isSmsValid ? 'InvalidField' : ''}">
185
185
  <label for="SmsCode">
186
- {$_('code')}:<span class="FormRequired" part="FormRequired">*</span>
186
+ {$_('code')}:<span class="FormRequired">*</span>
187
187
  </label>
188
188
  <input bind:value={smsCode} type="text" id="SmsCode" on:keydown={(e) => checkNumeric(e)} inputmode="numeric" pattern="[0-9]*" maxlength="6"/>
189
189
 
190
190
  {#if !isSmsValid}
191
- <p class="InvalidInput" part="InvalidInput">{$_('smsCodeError')}</p>
191
+ <p class="InvalidInput">{$_('smsCodeError')}</p>
192
192
  {/if}
193
193
  </div>
194
194
 
195
195
  {#if timer}
196
- <p class="SmsVerificationResendMessage" part="SmsVerificationResendMessage">{$_('resendMessage')}</p>
196
+ <p class="SmsVerificationResendMessage">{$_('resendMessage')}</p>
197
197
  {/if}
198
198
 
199
199
  <button
200
200
  class="Button SmsVerificationValidate"
201
- part="SmsVerificationValidate"
202
201
  on:click={activateUser}>
203
202
  {$_('activate')}
204
203
  </button>
205
204
  <button
206
205
  class="Button SmsVerificationResend"
207
- part="SmsVerificationResend"
208
206
  on:click={resendCode}
209
207
  disabled={timer}>
210
208
  {$_('resend')} {#if timer}<span class="SmsVerificationResendTimer">(0:{secondsLeft < 10 ? '0' : ''}{secondsLeft})</span>{/if}
@@ -214,7 +212,6 @@ import { onMount } from 'svelte';
214
212
 
215
213
  <style lang="scss">
216
214
 
217
-
218
215
  *,
219
216
  *::before,
220
217
  *::after {
@@ -233,7 +230,7 @@ import { onMount } from 'svelte';
233
230
  }
234
231
 
235
232
  .Field {
236
- color: var(--emfe-w-color-gray-300, #58586B);
233
+ color: var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));
237
234
  display: flex;
238
235
  flex-direction: column;
239
236
  padding-bottom: 30px;
@@ -258,9 +255,9 @@ import { onMount } from 'svelte';
258
255
 
259
256
  &.InvalidField {
260
257
  input {
261
- border: 1px solid var(--emfe-w-color-primary, #D0046C);
258
+ border: 1px solid vvar(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));
262
259
  background: var(--emfe-w-color-primary-50, #FBECF4);
263
- color: var(--emfe-w-color-primary, #D0046C);
260
+ color: var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));
264
261
  }
265
262
  }
266
263
 
@@ -273,7 +270,7 @@ import { onMount } from 'svelte';
273
270
  margin-top: 20px;
274
271
  }
275
272
  .InvalidInput {
276
- color: var(--emfe-w-color-error, #FD2839);
273
+ color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
277
274
  font-size: 10px;
278
275
  line-height: 10px;
279
276
  }
@@ -281,13 +278,13 @@ import { onMount } from 'svelte';
281
278
  .ErrorMessage {
282
279
  margin: 0 0 15px 0;
283
280
  font-size: 12px;
284
- color: var(--emfe-w-color-error, #FD2839);
281
+ color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
285
282
  }
286
283
 
287
284
  .Button {
288
- color: var(--emfe-w-color-white, #FFFFFF);
289
- background: var(--emfe-w-color-primary, #D0046C);
290
- border: 1px solid var(--emfe-w-color-primary, #D0046C);
285
+ color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
286
+ background: var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));
287
+ border: 1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));
291
288
  border-radius: 5px;
292
289
  width: 100%;
293
290
  height: 60px;
@@ -302,8 +299,8 @@ import { onMount } from 'svelte';
302
299
  cursor: not-allowed;
303
300
  }
304
301
  &.SmsVerificationResend {
305
- background: var(--emfe-w-color-gray-50, #F9F8F8);
306
- color: var(--emfe-w-color-black, #000000);
302
+ background: var(--emfe-w-registration-color-bg, var(--emfe-w-color-gray-50, #F9F8F8));
303
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));
307
304
  }
308
305
  }
309
306
  </style>