@athome-solution/feedjet 1.2.0 → 1.4.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.
@@ -1,3 +1,3 @@
1
- .fj label,.fj label>p{font-size:14px;color:#5e5e5e;margin:0}.fj label{display:grid}.fj label>p>span{color:#d80c2e}.fj label>input,.fj label>textarea{padding:.5rem;border:1px solid #d7e1e5;border-radius:8px;margin-top:.5rem}.fj label>input:focus,.fj label>textarea:focus{outline:none;border-color:#2a3a7a}.fj label textarea{resize:none}.fj label.fj-checkbox-label{display:flex;align-items:center;gap:.5rem}.fj label.fj-checkbox-label>p{color:#000}.fj label.fj-checkbox-label>input{margin:0}.fj label input[type=checkbox]{position:relative}.fj label input[type=checkbox]::before{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);content:"";display:inline-block;width:1rem;height:1rem;border:1px solid #d7e1e5;border-radius:4px;margin-right:.5rem;background:#fff}.fj label input[type=checkbox]:checked::before{content:"✔";color:#fff;font-size:1rem;text-align:center;background-color:#2a3a7a;border-color:#2a3a7a;line-height:1rem}.fj .fj-error{font-size:16px;margin:0;color:#d80c2e}.fj button.fj-btn{padding:.3rem .75rem;margin:0;border:1px solid rgba(0,0,0,0);outline:none;font-weight:600;letter-spacing:.5px;border-radius:8px;transition-property:color,background-color,border-color;transition-duration:300ms;cursor:pointer;background:#2a3a7a;color:#fff}.fj button.fj-btn.fj-btn-secondary{background:#e2e4ee;color:#000}.fj button.fj-btn.fj-btn-loading{pointer-events:none;cursor:not-allowed;background:#d7e1e5;color:#fff}.fj button.fj-btn:focus{outline:none;border-color:#e2e4ee}.fj button.fj-btn:focus.fj-btn-secondary{border-color:#2a3a7a}.fj button.fj-btn:hover{background:hsl(228,48.7804878049%,45.7254901961%)}.fj button.fj-btn:hover.fj-btn-secondary{background:hsl(230,26.0869565217%,81.8823529412%)}.fj-feedbot-modal{font-family:"Roboto",sans-serif;z-index:10;position:fixed;right:4rem;bottom:4rem}.fj-feedbot-modal .fj-feedbot-title{font-size:1.5rem;font-weight:bold;margin:0 0 1rem;max-width:16rem}.fj-feedbot-modal .fj-feedbot-subtitle{max-width:16rem}.fj-feedbot-modal>.fj-feedbot-bubble{width:8rem;height:8rem;border-radius:10000px;background-color:#fff;display:flex;justify-content:center;cursor:pointer}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-text{position:absolute;bottom:100%;right:75%;background-color:#c5e5ee;padding:.6rem .75rem;width:max-content;border-radius:10000px;color:#d80c2e;font-weight:900;transform:rotate(-4deg);box-shadow:0 .2rem .4rem rgba(0,0,0,.1607843137)}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-text::before{content:"";position:absolute;height:0;width:0;border-top:1rem solid #c5e5ee;border-left:1rem solid rgba(0,0,0,0);bottom:-0.9rem;right:1.3rem}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-robot{position:absolute;width:5rem;bottom:1rem}.fj-feedbot-modal>.fj-feedbot-form,.fj-feedbot-modal>.fj-feedbot-thanks{padding:1rem;width:24rem;border-radius:.75rem;box-shadow:rgba(34,34,34,.3764705882) 1px 1px 5px;color:#000;background-color:#fff}.fj-feedbot-modal>.fj-feedbot-form>.fj-feedbot-robot,.fj-feedbot-modal>.fj-feedbot-thanks>.fj-feedbot-robot{position:absolute;width:5rem;right:2rem;animation:fj-feedbot-bounce 3s infinite}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-header{min-height:8rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-presentation{padding:1rem .5rem;background-color:#c5e5ee;border-radius:.25rem;box-shadow:0 .2rem .4rem rgba(0,0,0,.1607843137);margin:0 0 1.5rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars{border:solid #c5e5ee 1px;border-radius:10000px;display:flex;justify-content:center;margin-top:.5rem;margin-bottom:1.5rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper{display:flex;flex-direction:row-reverse;width:fit-content}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button{background:none;border:none;cursor:pointer;font-size:1.5rem;color:#ea9da1;transition:color 300ms;width:3rem;height:3rem;padding:.5rem;margin:0}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button[aria-checked=true]{color:#d80c2e}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button[aria-checked=true]~button{color:#d80c2e}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper:hover button{color:#ea9da1 !important}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper:hover button:hover{color:#d80c2e !important}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper:hover button:hover~button{color:#d80c2e !important}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-quality{margin-bottom:1.5rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-closed{margin-bottom:.5rem;gap:5px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-closed-answers{display:grid;grid-template-columns:fit-content(100%) fit-content(100%);gap:10px;padding-left:10px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-anonymous{margin-bottom:1.5rem;justify-content:flex-end}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-footer-buttons{display:flex;justify-content:space-between}@keyframes fj-feedbot-bounce{0%{top:-0.5rem}50%{top:0rem}100%{top:-0.5rem}}
1
+ .fj label,.fj label>p{font-size:14px;color:#5e5e5e;margin:0}.fj label{display:grid}.fj label>p>span{color:#d80c2e}.fj label>input,.fj label>textarea{padding:.5rem;border:1px solid #d7e1e5;border-radius:8px;margin-top:.5rem}.fj label>input:focus,.fj label>textarea:focus{outline:none;border-color:#2a3a7a}.fj label textarea{resize:none}.fj label.fj-checkbox-label{display:flex;align-items:center;gap:.5rem}.fj label.fj-checkbox-label>p{color:#000}.fj label.fj-checkbox-label>input{margin:0}.fj label input[type=checkbox]{position:relative}.fj label input[type=checkbox]::before{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);content:"";display:inline-block;width:1rem;height:1rem;border:1px solid #d7e1e5;border-radius:4px;margin-right:.5rem;background:#fff}.fj label input[type=checkbox]:checked::before{content:"✔";color:#fff;font-size:1rem;text-align:center;background-color:#2a3a7a;border-color:#2a3a7a;line-height:1rem}.fj .fj-error{font-size:16px;margin:0;color:#d80c2e}.fj button.fj-btn{padding:.3rem .75rem;margin:0;border:1px solid rgba(0,0,0,0);outline:none;font-weight:600;letter-spacing:.5px;border-radius:8px;transition-property:color,background-color,border-color;transition-duration:300ms;cursor:pointer;background:#2a3a7a;color:#fff}.fj button.fj-btn.fj-btn-secondary{background:#e2e4ee;color:#000}.fj button.fj-btn.fj-btn-loading{pointer-events:none;cursor:not-allowed;background:#d7e1e5;color:#fff}.fj button.fj-btn:focus{outline:none;border-color:#e2e4ee}.fj button.fj-btn:focus.fj-btn-secondary{border-color:#2a3a7a}.fj button.fj-btn:hover{background:hsl(228,48.7804878049%,45.7254901961%)}.fj button.fj-btn:hover.fj-btn-secondary{background:hsl(230,26.0869565217%,81.8823529412%)}.fj-feedbot-modal{font-family:"Roboto",sans-serif;z-index:10;position:fixed;right:4rem;bottom:4rem}.fj-feedbot-modal .fj-feedbot-title{font-size:1.5rem;font-weight:bold;margin:0 0 1rem;max-width:16rem}.fj-feedbot-modal .fj-feedbot-subtitle{max-width:16rem}.fj-feedbot-modal>.fj-feedbot-bubble{width:8rem;height:8rem;border-radius:10000px;background-color:#fff;display:flex;justify-content:center;cursor:pointer}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-text{position:absolute;bottom:100%;right:75%;background-color:#c5e5ee;padding:.6rem .75rem;width:max-content;border-radius:10000px;color:#d80c2e;font-weight:900;transform:rotate(-4deg);box-shadow:0 .2rem .4rem rgba(0,0,0,.1607843137)}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-text::before{content:"";position:absolute;height:0;width:0;border-top:1rem solid #c5e5ee;border-left:1rem solid rgba(0,0,0,0);bottom:-0.9rem;right:1.3rem}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-robot{position:absolute;width:5rem;bottom:1rem}.fj-feedbot-modal>.fj-feedbot-form,.fj-feedbot-modal>.fj-feedbot-thanks{padding:1rem;width:24rem;border-radius:.75rem;box-shadow:rgba(34,34,34,.3764705882) 1px 1px 5px;color:#000;background-color:#fff}.fj-feedbot-modal>.fj-feedbot-form>.fj-feedbot-robot,.fj-feedbot-modal>.fj-feedbot-thanks>.fj-feedbot-robot{position:absolute;width:5rem;right:2rem;animation:fj-feedbot-bounce 3s infinite}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-header{min-height:8rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-presentation{padding:1rem .5rem;background-color:#c5e5ee;border-radius:.25rem;box-shadow:0 .2rem .4rem rgba(0,0,0,.1607843137);margin:0 0 1.5rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars{border:solid #c5e5ee 1px;border-radius:10000px;display:flex;justify-content:center;margin-top:.5rem;margin-bottom:1.5rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper{display:flex;flex-direction:row-reverse;width:fit-content}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button{background:none;border:none;cursor:pointer;font-size:1.5rem;color:#ea9da1;transition:color 300ms;width:3rem;height:3rem;padding:.5rem;margin:0}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button[aria-checked=true]{color:#d80c2e}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button[aria-checked=true]~button{color:#d80c2e}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper:hover button{color:#ea9da1 !important}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper:hover button:hover{color:#d80c2e !important}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper:hover button:hover~button{color:#d80c2e !important}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-required{color:#d80c2e}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-quality{margin-bottom:1.5rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-label>p{font-size:14px;color:#5e5e5e;margin:0}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-closed{margin-bottom:.5rem;gap:5px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-closed-answers{display:grid;grid-template-columns:fit-content(100%) fit-content(100%);gap:10px;padding-left:10px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-anonymous{margin-bottom:1.5rem;justify-content:flex-end}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-footer-buttons{display:flex;justify-content:space-between}.fj-feedbot-modal .fj-feedbot-btn-close{margin-top:1rem !important}@keyframes fj-feedbot-bounce{0%{top:-0.5rem}50%{top:0rem}100%{top:-0.5rem}}
2
2
 
3
3
  /*# sourceMappingURL=feedbot.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/scss/_main.scss","../../src/scss/feedbot.scss"],"names":[],"mappings":"CAWE,sBAEE,eACA,MAZI,QAaJ,SAGF,UACE,aAGE,iBACE,MAlBA,QAsBJ,mCAEE,cACA,yBACA,kBACA,iBAEA,+CACE,aAEA,aA9BE,QAkCN,mBACE,YAGF,4BACE,aACA,mBACA,UAEA,8BACE,WAGF,kCACE,SAIJ,+BACE,kBAEA,uCACE,kBACA,QACA,SACA,gCACA,WACA,qBACA,WACA,YACA,yBACA,kBACA,mBACA,gBAGF,+CACE,YACA,WACA,eACA,kBACA,iBA3EE,QA4EF,aA5EE,QA6EF,iBAKN,cACE,eACA,SACA,MAvFI,QA0FN,kBACE,qBACA,SAEA,+BACA,aAEA,gBACA,oBAEA,kBAEA,wDACA,0BAEA,eAEA,WAzGM,QA0GN,WAEA,mCACE,WA5GM,QA6GN,WAGF,iCACE,oBACA,mBACA,WAxHQ,QAyHR,WAGF,wBACE,aACA,aAzHM,QA2HN,yCACE,aA7HE,QAiIN,wBACE,kDAEA,yCACE,kDCjIR,kBACE,gCAEA,WAEA,eACA,WACA,YAEA,oCACE,iBACA,iBACA,gBACA,gBAGF,uCACE,gBAGF,qCACE,WACA,YACA,cAzBS,QA0BT,sBAEA,aACA,uBAEA,eAEA,sDACE,kBACA,YACA,UAEA,iBA5CU,QA6CV,qBACA,kBACA,cAzCO,QA0CP,MA5CQ,QA6CR,gBACA,wBAEA,iDAEA,8DACE,WACA,kBACA,SACA,QACA,8BACA,qCACA,eACA,aAIJ,uDACE,kBACA,WACA,YAIJ,wEAEE,aACA,YACA,qBACA,kDACA,WACA,sBAEA,4GACE,kBACA,WACA,WACA,wCAKF,sDACE,gBAGF,4DACE,mBACA,iBAjGU,QAkGV,qBACA,iDACA,kBAGF,qDACE,yBACA,cAnGO,QAoGP,aACA,uBACA,iBACA,qBAEA,+EACE,aACA,2BACA,kBAEA,sFACE,gBACA,YACA,eACA,iBACA,MAtHG,QAuHH,uBAEA,WACA,YACA,cACA,SAEA,yGACE,MA9HE,QAgIF,gHACE,MAjIA,QAuIJ,4FACE,yBAEA,kGACE,yBAEA,yGACE,yBAQZ,uDACE,qBAGF,sDACE,oBACA,QAGF,8DACE,aACE,0DACF,SACA,kBAGF,yDACE,qBACA,yBAGF,8DACE,aACA,8BAKN,6BACE,GACE,YAEF,IACE,SAEF,KACE","file":"feedbot.css","sourceRoot":""}
1
+ {"version":3,"sources":["../../src/scss/_main.scss","../../src/scss/feedbot.scss"],"names":[],"mappings":"CAWE,sBAEE,eACA,MAZI,QAaJ,SAGF,UACE,aAGE,iBACE,MAlBA,QAsBJ,mCAEE,cACA,yBACA,kBACA,iBAE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sDACE,oBACA,QAGF,8DACE,aACE,0DACF,SACA,kBAGF,yDACE,qBACA,yBAGF,8DACE,aACA,8BAGJ,wCACE,2BAIJ,6BACE,GACE,YAEF,IACE,SAEF,KACE","file":"feedbot.css","sourceRoot":""}
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ type MaybeFunction<T> = T | (() => T);
2
2
  interface UserType {
3
3
  id: string;
4
4
  fullName?: string;
5
+ profile?: string;
5
6
  }
6
7
 
7
8
  type MaybeHTMLElement = HTMLElement | null | undefined;