zz-shopify-components 0.9.0 → 0.10.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.
@@ -92,7 +92,7 @@
92
92
  {% assign eu_country_list = 'Deutschland,Germany,La France,France,España,Italia,Österreich,Belgium,Bulgaria,Croatia,Czech Republic,Denmark,Estonia,Finland,Hungary,Ireland,Latvia,Lithuania,Luxembourg,Monaco,Netherlands,Poland,Portugal,Romania,Slovakia,Slovenia,Sweden' | split: ',' %}
93
93
 
94
94
  <div class="tw-w-full tw-flex tw-flex-col tw-items-center tw-justify-center">
95
- <zz-radio-tabs name="edu-form-type" class="tw-bg-[#F5F5F6] lg:tw-w-[388px]">
95
+ <zz-radio-tabs name="edu-form-type-{{ block.id }}" class="tw-bg-[#F5F5F6] lg:tw-w-[388px]">
96
96
  <zz-radio-tabs-item value="email" checked>Verify my email</zz-radio-tabs-item>
97
97
  <zz-radio-tabs-item value="manual">Upload student card</zz-radio-tabs-item>
98
98
  </zz-radio-tabs>
@@ -482,19 +482,19 @@
482
482
  identityDocumentUrl = result.url
483
483
  fileUploadLoading.classList.add('tw-hidden')
484
484
  } else {
485
- removeEduVerifyFile()
485
+ window['removeEduVerifyFile{{ block.id }}']()
486
486
  fileUploadLoading.classList.add('tw-hidden')
487
487
  zzShowToast('File upload failed, please try again.')
488
488
  }
489
489
 
490
490
  } catch (error) {
491
- removeEduVerifyFile()
491
+ window['removeEduVerifyFile{{ block.id }}']()
492
492
  fileUploadLoading.classList.add('tw-hidden')
493
493
  zzShowToast('File upload failed, please try again.')
494
494
  }
495
495
 
496
496
  } else {
497
- removeEduVerifyFile()
497
+ window['removeEduVerifyFile{{ block.id }}']()
498
498
  fileUploadLoading.classList.add('tw-hidden')
499
499
  zzShowToast('File upload failed, please try again.')
500
500
  }
@@ -502,7 +502,7 @@
502
502
  }).catch((err) => {
503
503
  zzShowToast(EduErrorCodeConf[500].en)
504
504
  fileUploadLoading.classList.add('tw-hidden')
505
- removeEduVerifyFile()
505
+ window['removeEduVerifyFile{{ block.id }}']()
506
506
  });
507
507
  }
508
508
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zz-shopify-components",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Reusable Shopify components for theme projects",
5
5
  "keywords": [
6
6
  "shopify",