@thefittingroom/shop-ui 1.4.35 → 1.4.37

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/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * thefittingroom v1.4.35 (2024-08-16T18:53:33.943Z)
2
+ * thefittingroom v1.4.37 (2024-08-16T19:02:15.745Z)
3
3
  * Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
4
4
  */
5
5
  function loadImageRecursive(imageURL, imageURLs) {
@@ -25990,7 +25990,7 @@ var L = {
25990
25990
  UsernameOrPasswordIncorrect: 'Username or password is incorrect.',
25991
25991
  // Modal
25992
25992
  ModalTagline: 'End size uncertainty with',
25993
- ModalText: 'Our technology captures your precise measurements, and considers things like fabric stretch and your individual physique for the perfect fit every time.',
25993
+ ModalText: 'Our technology captures your precise measurements, and considers things like fabric stretch and your individual physique to find your perfect fit every time.',
25994
25994
  };
25995
25995
 
25996
25996
  const validateEmail = (email) => {
@@ -26318,7 +26318,6 @@ const ScanCodeModal = (props) => {
26318
26318
  document.getElementById('tfr-sign-in-nav').style.marginBottom = '0';
26319
26319
  if (isMobile) {
26320
26320
  const videoElement = document.getElementById('tfr-video');
26321
- videoElement === null || videoElement === void 0 ? void 0 : videoElement.pause();
26322
26321
  videoElement.classList.add('tfr-video-responsive');
26323
26322
  }
26324
26323
  (_a = document.getElementById('tfr-sign-in-nav')) === null || _a === void 0 ? void 0 : _a.addEventListener('click', onSignInNav);
@@ -26352,7 +26351,6 @@ const ScanCodeModal = (props) => {
26352
26351
 
26353
26352
  <div id="tfr-sign-in-nav" tfr-element="true" class="tfr-body-font tfr-mt-20 tfr-16-default tfr-c-black-o5 tfr-underline tfr-cursor">${L.HaveAcc}</div>
26354
26353
  </div>`;
26355
- const shouldAutoplay = isMobile ? 'autoplay playsinline' : '';
26356
26354
  const body = () => {
26357
26355
  return `
26358
26356
  <div tfr-element="true">
@@ -26360,7 +26358,7 @@ const ScanCodeModal = (props) => {
26360
26358
 
26361
26359
  </div>
26362
26360
  <div tfr-element="true" class="tfr-logo-box">
26363
- <video id="tfr-video" controls loop ${shouldAutoplay}>
26361
+ <video id="tfr-video" controls loop autoplay playsinline>
26364
26362
  <source src="https://assets.dev.thefittingroom.xyz/videos/the-fitting-room.mp4" />
26365
26363
  </video>
26366
26364