@thefittingroom/shop-ui 0.1.7 → 0.1.8
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 +22 -18
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +50 -50
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* thefittingroom v0.1.
|
|
2
|
+
* thefittingroom v0.1.8 (2024-01-04T18:51:57.912Z)
|
|
3
3
|
* Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
/*!
|
|
@@ -23278,13 +23278,13 @@ var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r
|
|
|
23278
23278
|
var css$6 = ".tfr-bg-aquamarina-strong{background-color:#209da7}.tfr-c-white{color:#fff}.tfr-c-brand{color:#209da7}.tfr-c-dark{color:#000}.tfr-c-dark-o5{color:rgba(0,0,0,.5)}.tfr-c-red{color:red}";
|
|
23279
23279
|
n(css$6,{});
|
|
23280
23280
|
|
|
23281
|
-
var css$5 = ".tfr-home-button-container{display:flex;flex-wrap:wrap;margin:20px}.tfr-home-button-container>button{border:0;cursor:pointer;height:60px;margin:20px;width:200px}.tfr-home-button-container>button:hover{background-color:#e6e6e6}[data-tfr=hidden]{display:none}.tfr-modal{align-items:center;background-color:rgba(0,0,0,.53);display:flex;height:100%;justify-content:center;left:0;overflow:auto;position:fixed;top:0;width:100%;z-index:10000}.tfr-modal-content{margin-left:auto;margin-right:auto;text-align:center;width:90%}.tfr-modal-content-container{background-color:#fff;border:1px solid #434343;border-radius:0;box-shadow:0 6px 6px #00000029;height:100%;line-height:normal;margin:auto;max-width:709px;width:100%}
|
|
23281
|
+
var css$5 = ".tfr-home-button-container{display:flex;flex-wrap:wrap;margin:20px}.tfr-home-button-container>button{border:0;cursor:pointer;height:60px;margin:20px;width:200px}.tfr-home-button-container>button:hover{background-color:#e6e6e6}[data-tfr=hidden]{display:none}.tfr-modal{align-items:center;background-color:rgba(0,0,0,.53);display:flex;height:100%;justify-content:center;left:0;overflow:auto;position:fixed;top:0;width:100%;z-index:10000}.tfr-modal-content{margin-left:auto;margin-right:auto;text-align:center;width:90%}.tfr-modal-content-flex{align-items:center;display:flex;height:calc(100% - 56px)}.tfr-modal-content-container{background-color:#fff;border:1px solid #434343;border-radius:0;box-shadow:0 6px 6px #00000029;height:100%;line-height:normal;margin:auto;max-width:709px;overflow:auto;width:100%}.tfr-close-container{text-align:end}.tfr-close{color:#aaa;font-size:28px;font-weight:700;height:50px;width:50px}.tfr-close:focus,.tfr-close:hover{color:#000;text-decoration:none}.tfr-cursor:hover{cursor:pointer}.tfr-underline{text-decoration:underline}.tfr-standard-button{border:0;border-radius:3px;color:#fff;height:43px;width:138px}.tfr-logo-container{align-items:center;display:flex}.tfr-modal-title-logo-container{align-items:center;display:flex;justify-content:center}.tfr-girl-clothes{display:inline-block;height:316px;width:253px}.tfr-t-a-center{text-align:center}.tfr-w-70-p{width:70%}.tfr-w-80-p{width:80%}.tfr-w-85-p{width:85%}.tfr-w-150{width:150px}.tfr-h-150{height:150px}.tfr-d-none{display:none}.tfr-d-block{display:block}.tfr-d-flex{display:flex}.tfr-how-it-works-item{align-items:center;display:flex;justify-items:center}.tfr-try-on-content{margin-left:60px}#tfr-tryon-image{max-width:30vw}.progress-bar{background-color:#fff;border:1px solid #bdbdbd;height:10px;margin:15px auto 0;width:55%}.progress-bar-fill{animation-duration:120s;animation-name:progress;background-color:#209da7;color:#fff;display:block;font-size:16px;height:100%;text-align:center;transition:width .6s linear}.tfr-logo-box{background-color:#209da7;height:180px;margin:40px auto;max-width:430px}.tfr-flex,.tfr-logo-box{align-items:center;display:flex;justify-content:center}";
|
|
23282
23282
|
n(css$5,{});
|
|
23283
23283
|
|
|
23284
23284
|
var css$4 = "input{border:none;box-shadow:none!important;width:100%}input:focus,select:focus,textarea:focus{border:none;outline:none}.tfr-fieldset{margin-left:auto;margin-right:auto;width:65%}.tfr-fieldset,.tfr-fieldset-inline{border-color:rgba(0,0,0,.5);border-radius:10px;border-width:1px;padding:5px 10px 10px;text-align:left}.tfr-fieldset-inline{margin-right:10px;width:250px}.tfr-fieldset-err{border-color:red}";
|
|
23285
23285
|
n(css$4,{});
|
|
23286
23286
|
|
|
23287
|
-
var css$3 = "@media screen and (max-width:702px){.tfr-modal-title-logo-container{display:flex;flex-direction:column-
|
|
23287
|
+
var css$3 = "@media screen and (max-width:702px){.tfr-modal-title-logo-container{display:flex;flex-direction:column}}@media screen and (min-width:600px){.tfr-modal-content-container{border-radius:10px;height:auto}.tfr-logo-box{height:380px}}@media screen and (max-width:599px){.tfr-mobile-hidden{display:none}}@media screen and (max-width:500px){.tfr-fieldset{width:90%}.tfr-how-it-works-item{flex-direction:column}.tfr-try-on-content{margin-left:0;margin-top:20px}}";
|
|
23288
23288
|
n(css$3,{});
|
|
23289
23289
|
|
|
23290
23290
|
var css$2 = ".tfr-mt-10{margin-top:10px}.tfr-mt-20{margin-top:20px}.tfr-mt-15{margin-top:15px}.tfr-mt-30{margin-top:30px}.mt-40{margin-top:40px}.tfr-mb-40{margin-bottom:40px}.tfr-mb-20{margin-bottom:20px}.tfr-mr-10{margin-right:10px}.tfr-mr-15{margin-right:15px}.tfr-mt-50{margin-top:50px}.tfr-mt-60{margin-top:60px}.tfr-mb-60{margin-bottom:60px}.tfr-mr-20{margin-right:20px}.tfr-mt-15-p{margin-top:15%}.tfr-mb-13-p{margin-bottom:13%}.tfr-m-h-auto{margin-left:auto;margin-right:auto}.tfr-pt-20{padding-top:20px}.tfr-pb-50{padding-bottom:50px}.tfr-p-20{padding:20px}.tfr-pr-20{padding-right:20px}.tfr-pl-20{padding-left:20px}.tfr-pb-7-p{padding-bottom:7%}";
|
|
@@ -23452,20 +23452,24 @@ const InitModalManager = (elementID) => {
|
|
|
23452
23452
|
<span id="tfr-close-container" class="tfr-close tfr-cursor">×</span>
|
|
23453
23453
|
</div>
|
|
23454
23454
|
|
|
23455
|
-
<div class="tfr-modal-content
|
|
23456
|
-
|
|
23457
|
-
|
|
23458
|
-
|
|
23459
|
-
<
|
|
23460
|
-
<
|
|
23461
|
-
|
|
23462
|
-
|
|
23463
|
-
|
|
23464
|
-
|
|
23465
|
-
|
|
23466
|
-
|
|
23467
|
-
|
|
23468
|
-
|
|
23455
|
+
<div class="tfr-modal-content-flex">
|
|
23456
|
+
<div class="tfr-modal-content tfr-pt-20 tfr-pb-50">
|
|
23457
|
+
<div class="tfr-modal-title-logo-container">
|
|
23458
|
+
<div tfr-element="true" class="tfr-title-font tfr-mobile-hidden tfr-light-24-300 tfr-c-dark tfr-mr-10">${L.VirtualTryOnWith}</div>
|
|
23459
|
+
<div tfr-element="true" class="tfr-logo-container">
|
|
23460
|
+
<div class="tfr-mr-15">
|
|
23461
|
+
<svg width="26" height="47" viewBox="0 0 68 124" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
23462
|
+
<path d="M0.911938 0L67.4819 17.09V106.49L0.911938 123.51V0Z" fill="#209DA7">
|
|
23463
|
+
</path>
|
|
23464
|
+
<path d="M52.8019 64.44C54.7791 64.44 56.3819 62.4387 56.3819 59.97C56.3819 57.5013 54.7791 55.5 52.8019 55.5C50.8248 55.5 49.2219 57.5013 49.2219 59.97C49.2219 62.4387 50.8248 64.44 52.8019 64.44Z" fill="white">
|
|
23465
|
+
</path>
|
|
23466
|
+
</svg>
|
|
23467
|
+
</div>
|
|
23468
|
+
<div tfr-element="true" class="tfr-title-font tfr-light-24-500 tfr-c-dark tfr-mr-10">${L.TheFittingRoom}</div>
|
|
23469
|
+
</div>
|
|
23470
|
+
</div>
|
|
23471
|
+
${modalBody}
|
|
23472
|
+
</div>
|
|
23469
23473
|
</div>
|
|
23470
23474
|
</div>
|
|
23471
23475
|
</div>
|
|
@@ -35928,7 +35932,7 @@ const ScanCodeModal = (props) => {
|
|
|
35928
35932
|
};
|
|
35929
35933
|
const body = () => {
|
|
35930
35934
|
return `
|
|
35931
|
-
<div tfr-element="true" class="tfr-logo-box">
|
|
35935
|
+
<div tfr-element="true" class="tfr-logo-box tfr-mobile-hidden">
|
|
35932
35936
|
<div class="tfr-mr-15">
|
|
35933
35937
|
<svg width="26" height="47" viewBox="0 0 68 124" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
35934
35938
|
<path d="M0.911938 0L67.4819 17.09V106.49L0.911938 123.51V0Z" fill="white">
|