@thefittingroom/shop-ui 3.1.0 → 3.1.3

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 (63) hide show
  1. package/dist/esm/index.js +21 -25
  2. package/dist/esm/index.js.map +1 -1
  3. package/dist/esm/index.min.js +4 -4
  4. package/dist/esm/index.min.js.map +1 -1
  5. package/package.json +3 -3
  6. /package/{.env.tmp → .env.dev} +0 -0
  7. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/ErrorModal.js +0 -0
  8. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/ErrorModal.js.map +0 -0
  9. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/FitModal.js +0 -0
  10. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/FitModal.js.map +0 -0
  11. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/ForgotPasswordModal.js +0 -0
  12. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/ForgotPasswordModal.js.map +0 -0
  13. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/LoadingAvatarModal.js +0 -0
  14. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/LoadingAvatarModal.js.map +0 -0
  15. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/LoggedOutModal.js +0 -0
  16. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/LoggedOutModal.js.map +0 -0
  17. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/ModalManager.js +0 -0
  18. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/ModalManager.js.map +0 -0
  19. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/NoAvatarModal.js +0 -0
  20. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/NoAvatarModal.js.map +0 -0
  21. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/ResetLinkModal.js +0 -0
  22. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/ResetLinkModal.js.map +0 -0
  23. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/ScanCodeModal.js +0 -0
  24. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/ScanCodeModal.js.map +0 -0
  25. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/SignInModal.js +0 -0
  26. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/SignInModal.js.map +0 -0
  27. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/SizeErrorModal.js +0 -0
  28. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/SizeErrorModal.js.map +0 -0
  29. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/TryOnModal.js +0 -0
  30. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Modals/TryOnModal.js.map +0 -0
  31. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/SizeRec.js +0 -0
  32. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/SizeRec.js.map +0 -0
  33. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Vto.js +0 -0
  34. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/Vto.js.map +0 -0
  35. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/index.js +0 -0
  36. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/index.js.map +0 -0
  37. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/locale.js +0 -0
  38. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/locale.js.map +0 -0
  39. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/slider.js +0 -0
  40. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/slider.js.map +0 -0
  41. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/svgs.js +0 -0
  42. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/svgs.js.map +0 -0
  43. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/uiError.js +0 -0
  44. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/components/uiError.js.map +0 -0
  45. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/helpers/telephone.js +0 -0
  46. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/helpers/telephone.js.map +0 -0
  47. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/helpers/validations.js +0 -0
  48. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/helpers/validations.js.map +0 -0
  49. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/index.js +0 -0
  50. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/index.js.map +0 -0
  51. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/init.js +0 -0
  52. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/init.js.map +0 -0
  53. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/styles/index.js +0 -0
  54. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/styles/index.js.map +0 -0
  55. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/tfr-modal.js +0 -0
  56. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/tfr-modal.js.map +0 -0
  57. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/tfr-size-rec.js +0 -0
  58. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/tfr-size-rec.js.map +0 -0
  59. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/tfr.js +0 -0
  60. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/tfr.js.map +0 -0
  61. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/types/index.js +0 -0
  62. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/esm/types/index.js.map +0 -0
  63. /package/.rollup.cache/home/{runner/work/shop-sdk-ui → codeliger/code/thefittingroom}/shop-sdk-ui/dist/tsconfig.tsbuildinfo +0 -0
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * thefittingroom v3.1.0 (2025-07-31T21:47:36.975Z)
2
+ * thefittingroom v3.1.3 (2025-08-01T01:11:35.663Z)
3
3
  * Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
4
4
  */
5
5
  function loadImageRecursive(imageURL, imageURLs) {
@@ -47,7 +47,7 @@ const InitImageSlider = (sliderID, onChange) => {
47
47
  };
48
48
 
49
49
  /*!
50
- * thefittingroom v2.0.1 (2025-07-31T05:00:17.540Z)
50
+ * thefittingroom v2.0.3 (2025-08-01T01:07:24.111Z)
51
51
  * Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
52
52
  */
53
53
  // Code generated by tygo. DO NOT EDIT.
@@ -17775,36 +17775,36 @@ class Config {
17775
17775
  }
17776
17776
  const devKeys = {
17777
17777
  firebase: {
17778
- apiKey: process.env.DEV_FIREBASE_API_KEY,
17779
- authDomain: process.env.DEV_FIREBASE_AUTH_DOMAIN,
17780
- projectId: process.env.DEV_FIREBASE_PROJECT_ID,
17781
- storageBucket: process.env.DEV_FIREBASE_STORAGE_BUCKET,
17782
- messagingSenderId: process.env.DEV_FIREBASE_MESSAGING_SENDER_ID,
17783
- appId: process.env.DEV_FIREBASE_APP_ID,
17778
+ apiKey: undefined,
17779
+ authDomain: undefined,
17780
+ projectId: undefined,
17781
+ storageBucket: undefined,
17782
+ messagingSenderId: undefined,
17783
+ appId: undefined,
17784
17784
  },
17785
17785
  api: {
17786
- url: process.env.DEV_API_ENDPOINT,
17786
+ url: undefined,
17787
17787
  },
17788
17788
  config: {
17789
- avatarTimeout: Number(process.env.DEV_AVATAR_TIMEOUT_MS),
17790
- vtoTimeout: Number(process.env.DEV_VTO_TIMEOUT_MS),
17789
+ avatarTimeout: Number(undefined),
17790
+ vtoTimeout: Number(undefined),
17791
17791
  },
17792
17792
  };
17793
17793
  const prodKeys = {
17794
17794
  firebase: {
17795
- apiKey: process.env.PROD_FIREBASE_API_KEY,
17796
- authDomain: process.env.PROD_FIREBASE_AUTH_DOMAIN,
17797
- projectId: process.env.PROD_FIREBASE_PROJECT_ID,
17798
- storageBucket: process.env.PROD_FIREBASE_STORAGE_BUCKET,
17799
- messagingSenderId: process.env.PROD_FIREBASE_MESSAGING_SENDER_ID,
17800
- appId: process.env.PROD_FIREBASE_APP_ID,
17795
+ apiKey: undefined,
17796
+ authDomain: undefined,
17797
+ projectId: undefined,
17798
+ storageBucket: undefined,
17799
+ messagingSenderId: undefined,
17800
+ appId: undefined,
17801
17801
  },
17802
17802
  api: {
17803
- url: process.env.PROD_API_ENDPOINT,
17803
+ url: undefined,
17804
17804
  },
17805
17805
  config: {
17806
- avatarTimeout: Number(process.env.PROD_AVATAR_TIMEOUT_MS),
17807
- vtoTimeout: Number(process.env.PROD_VTO_TIMEOUT_MS),
17806
+ avatarTimeout: Number(undefined),
17807
+ vtoTimeout: Number(undefined),
17808
17808
  },
17809
17809
  };
17810
17810
 
@@ -27904,10 +27904,6 @@ class TfrSizeRec {
27904
27904
  }
27905
27905
  }
27906
27906
 
27907
- process.env.ASSETS_URL + '/tfr-logo.svg';
27908
- process.env.ASSETS_URL + '/apose-logo.svg';
27909
- process.env.ASSETS_URL + '/app-store-logo.svg';
27910
- process.env.ASSETS_URL + '/qr-code-logo.svg';
27911
27907
  var AvatarState;
27912
27908
  (function (AvatarState) {
27913
27909
  AvatarState["NOT_CREATED"] = "NOT_CREATED";
@@ -27925,7 +27921,7 @@ class FittingRoom {
27925
27921
  const env = _env
27926
27922
  ? _env
27927
27923
  : typeof process !== 'undefined'
27928
- ? "production"
27924
+ ? process.env.NODE_ENV
27929
27925
  : 'dev';
27930
27926
  console.log('tfr-env', env);
27931
27927
  this.tfrModal = new TfrModal(modalDivId, this.signIn.bind(this), this.forgotPassword.bind(this), this.submitTel.bind(this));