@athome-solution/feedjet 2.1.3 → 2.1.4
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/css/feedbot.css +1 -1
- package/dist/css/feedbot.css.map +1 -1
- package/dist/feedbot.d.ts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/css/feedbot.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.fj label,.fj label>p{font-size:16px;color:#64748b;margin:0}.fj label>p>span{color:#d80c2e}.fj label>input,.fj label>textarea{padding:.5rem;border:1px solid #e4e4e4;border-radius:8px;color:#000;transition:border-color 200ms ease-in-out,box-shadow 200ms ease-in-out}.fj label>input:hover,.fj label>textarea:hover{border-color:hsl(0,0%,76%)}.fj label>input:focus,.fj label>textarea:focus{outline:none;border-color:#4966d8;box-shadow:0 0 0 3px rgba(73,102,216,.1)}.fj label textarea{resize:none}.fj label.fj-checkbox-label{display:flex;align-items:center;gap:10px}.fj label.fj-checkbox-label>p{color:#000}.fj label.fj-checkbox-label>input{margin:0}.fj label input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#4966d8;transition:transform 150ms ease-in-out}.fj label input[type=checkbox]:hover{transform:scale(1.1)}.fj button{height:36px}.fj .fj-error{font-size:14px;font-weight:500;margin:0 0 1rem 0;padding:.75rem 1rem;color:#d80c2e;background-color:rgba(216,12,46,.08);border-left:3px solid #d80c2e;border-radius:4px;line-height:1.4}.fj button.fj-btn{padding:.3rem .75rem;margin:0;border:1px solid rgba(0,0,0,0);outline:none;font-weight:400;letter-spacing:.5px;border-radius:8px;transition:color 200ms ease-in-out,background-color 200ms ease-in-out,border-color 200ms ease-in-out,transform 200ms ease-in-out,box-shadow 200ms ease-in-out;cursor:pointer;background:#4966d8;color:#fff}.fj button.fj-btn.fj-btn-secondary{background:#fff;border-color:#4966d8;color:#4966d8}.fj button.fj-btn.fj-btn-loading{pointer-events:none;cursor:not-allowed;background:#e4e4e4;color:#fff}.fj button.fj-btn:focus{outline:none;box-shadow:0 0 0 3px rgba(73,102,216,.2)}.fj button.fj-btn:focus.fj-btn-secondary{box-shadow:0 0 0 3px rgba(73,102,216,.15)}.fj button.fj-btn:hover:not(:disabled):not(.fj-btn-loading){background:rgb(49.2,81.9923076923,210.9);transform:translateY(-1px);box-shadow:0 4px 8px rgba(0,0,0,.15)}.fj button.fj-btn:hover:not(:disabled):not(.fj-btn-loading).fj-btn-secondary{background:rgb(223.85,232.75,241.65);border-color:rgb(49.2,81.9923076923,210.9)}.fj button.fj-btn:active:not(:disabled):not(.fj-btn-loading){transform:translateY(0);box-shadow:0 2px 4px rgba(0,0,0,.1)}body.fj-feedbot-open{overflow:hidden}.fj-feedbot-modal{font-family:"DM Sans",sans-serif;z-index:10;position:fixed;inset:0;width:100%;height:100%}@media(min-width: 769px){.fj-feedbot-modal{top:auto;right:4rem;bottom:4rem;left:auto;max-width:460px;height:auto}}.fj-feedbot-modal .fj-feedbot-title{font-weight:700;font-size:28px;line-height:100%;letter-spacing:0;margin-bottom:12px}.fj-feedbot-modal .fj-feedbot-subtitle{font-weight:400;font-size:18px;line-height:100%;letter-spacing:0}.fj-feedbot-modal>.fj-feedbot-bubble{position:fixed;bottom:1.5rem;right:1.5rem;width:80px;height:80px;border-radius:10000px;box-shadow:0 4px 12px rgba(73,102,216,.15),0 2px 6px rgba(73,102,216,.1);background-color:#fff;display:flex;justify-content:center;align-items:center;cursor:pointer;transition:transform 200ms ease-in-out,box-shadow 200ms ease-in-out;animation:bubble-appear 400ms cubic-bezier(0.34, 1.56, 0.64, 1)}@media(min-width: 769px){.fj-feedbot-modal>.fj-feedbot-bubble{width:100px;height:100px;bottom:2rem;right:2rem}}.fj-feedbot-modal>.fj-feedbot-bubble:hover{transform:scale(1.1);box-shadow:0 8px 20px rgba(73,102,216,.2),0 4px 10px rgba(73,102,216,.15)}.fj-feedbot-modal>.fj-feedbot-bubble:active{transform:scale(1.05);box-shadow:0 4px 12px rgba(73,102,216,.15),0 2px 6px rgba(73,102,216,.1)}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-text{position:absolute;right:80%;bottom:70%;background-color:#4966d8;padding:4px 16px;width:max-content;border-radius:10000px 10000px .25rem 10000px;color:#fff;font-weight:700;font-size:14px;box-shadow:0 .2rem .4rem rgba(0,0,0,.1607843137)}@media(min-width: 769px){.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-text{padding:4px 22px;font-size:18px}}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-text::after{content:"";position:absolute;bottom:10px;right:0;width:0;height:0;border-style:solid;border-width:1rem 0 0 1rem;border-color:#4966d8 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0);transform:translateY(100%)}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-robot{position:absolute;width:48px}@media(min-width: 769px){.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-robot{width:60px}}.fj-feedbot-modal>.fj-feedbot-form,.fj-feedbot-modal>.fj-feedbot-thanks{padding:1.25rem 1rem 1rem;border-radius:0;box-shadow:rgba(34,34,34,.3764705882) 1px 1px 5px;color:#000;background-color:#fff;display:flex;flex-direction:column;height:100%;animation:modal-appear 300ms cubic-bezier(0.34, 1.56, 0.64, 1)}@media(min-width: 769px){.fj-feedbot-modal>.fj-feedbot-form,.fj-feedbot-modal>.fj-feedbot-thanks{border-radius:24px;height:auto;padding:32px 30px 24px}}.fj-feedbot-modal>.fj-feedbot-thanks>.fj-feedbot-robot{position:absolute;width:90px;right:80px;left:35px;top:135px}.fj-feedbot-modal .fj-feedbot-btn-close{margin-top:1rem !important}.fj-feedbot-modal>.fj-feedbot-form input:not([type=checkbox]):not([type=radio]),.fj-feedbot-modal>.fj-feedbot-form textarea{width:100%;box-sizing:border-box}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-rating label>p,.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-quality>p,.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-label>p{font-weight:400;font-size:16px;line-height:20px;letter-spacing:0;color:#64748b;margin:0 0 8px 0}.fj-feedbot-modal>.fj-feedbot-form input[type=checkbox],.fj-feedbot-modal>.fj-feedbot-form input[type=radio]{cursor:pointer;accent-color:#4966d8;transition:transform 150ms ease-in-out}.fj-feedbot-modal>.fj-feedbot-form input[type=checkbox]:hover,.fj-feedbot-modal>.fj-feedbot-form input[type=radio]:hover{transform:scale(1.1)}.fj-feedbot-modal>.fj-feedbot-form input[type=radio]{width:22px;height:22px;margin:0}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-header{min-height:8rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-presentation-wrapper{position:relative;margin-bottom:1.5rem;margin-left:45px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-presentation-wrapper .fj-feedbot-robot{position:absolute;left:-45px;top:40%;transform:translateY(-50%);width:90px;z-index:1}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-presentation{padding:1rem 1.25rem 1rem 3rem;background-color:#f1f5f9;border-radius:100rem;border:1px solid #f1f5f9;box-shadow:0 1px 3px 0 rgba(109,122,186,.1019607843);margin:0;font-weight:500;font-size:16px;line-height:100%;letter-spacing:0}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-rating{margin-bottom:1.5rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars{border:solid #e2e8f0 1px;border-radius:10000px;display:flex;justify-content:center}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper{display:flex;flex-direction:row-reverse;width:fit-content;gap:20px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button{background:none;border:none;cursor:pointer;font-size:1.5rem;transition:transform 150ms ease-in-out;width:3rem;height:3rem;padding:.5rem;margin:0}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button:hover{transform:scale(1.15)}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button:active{transform:scale(1.05)}.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-closed{margin-bottom:1.5rem;gap:8px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-closed-answers{display:grid;grid-template-columns:fit-content(100%) fit-content(100%);gap:8px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-closed-answers label{font-size:16px;color:#000;cursor:pointer;transition:color 200ms ease-in-out}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-closed-answers label:hover{color:#4966d8}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-anonymous{margin-bottom:1.5rem;justify-content:flex-start;cursor:pointer}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-anonymous p{font-size:16px;color:#000;cursor:pointer;transition:color 200ms ease-in-out}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-anonymous p:hover{color:#4966d8}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-footer-buttons{display:flex;gap:1rem;margin-top:auto}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-footer-buttons button{flex:1}@keyframes bubble-appear{0%{transform:scale(0) translateY(20px);opacity:0}100%{transform:scale(1) translateY(0);opacity:1}}@keyframes modal-appear{0%{transform:scale(0.9);opacity:0}100%{transform:scale(1);opacity:1}}
|
|
1
|
+
.fj label,.fj label>p{font-size:16px;color:#64748b;margin:0}.fj label>p>span{color:#d80c2e}.fj label>input,.fj label>textarea{padding:.5rem;border:1px solid #e4e4e4;border-radius:8px;color:#000;transition:border-color 200ms ease-in-out,box-shadow 200ms ease-in-out}.fj label>input:hover,.fj label>textarea:hover{border-color:hsl(0,0%,76%)}.fj label>input:focus,.fj label>textarea:focus{outline:none;border-color:#4966d8;box-shadow:0 0 0 3px rgba(73,102,216,.1)}.fj label textarea{resize:none}.fj label.fj-checkbox-label{display:flex;align-items:center;gap:10px}.fj label.fj-checkbox-label>p{color:#000}.fj label.fj-checkbox-label>input{margin:0}.fj label input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#4966d8;transition:transform 150ms ease-in-out}.fj label input[type=checkbox]:hover{transform:scale(1.1)}.fj button{height:36px}.fj .fj-error{font-size:14px;font-weight:500;margin:0 0 1rem 0;padding:.75rem 1rem;color:#d80c2e;background-color:rgba(216,12,46,.08);border-left:3px solid #d80c2e;border-radius:4px;line-height:1.4}.fj button.fj-btn{padding:.3rem .75rem;margin:0;border:1px solid rgba(0,0,0,0);outline:none;font-weight:400;letter-spacing:.5px;border-radius:8px;transition:color 200ms ease-in-out,background-color 200ms ease-in-out,border-color 200ms ease-in-out,transform 200ms ease-in-out,box-shadow 200ms ease-in-out;cursor:pointer;background:#4966d8;color:#fff}.fj button.fj-btn.fj-btn-secondary{background:#fff;border-color:#4966d8;color:#4966d8}.fj button.fj-btn.fj-btn-loading{pointer-events:none;cursor:not-allowed;background:#e4e4e4;color:#fff}.fj button.fj-btn:focus{outline:none;box-shadow:0 0 0 3px rgba(73,102,216,.2)}.fj button.fj-btn:focus.fj-btn-secondary{box-shadow:0 0 0 3px rgba(73,102,216,.15)}.fj button.fj-btn:hover:not(:disabled):not(.fj-btn-loading){background:rgb(49.2,81.9923076923,210.9);transform:translateY(-1px);box-shadow:0 4px 8px rgba(0,0,0,.15)}.fj button.fj-btn:hover:not(:disabled):not(.fj-btn-loading).fj-btn-secondary{background:rgb(223.85,232.75,241.65);border-color:rgb(49.2,81.9923076923,210.9)}.fj button.fj-btn:active:not(:disabled):not(.fj-btn-loading){transform:translateY(0);box-shadow:0 2px 4px rgba(0,0,0,.1)}body.fj-feedbot-open{overflow:hidden}.fj-feedbot-modal{font-family:"DM Sans",sans-serif;z-index:10;position:fixed;inset:0;width:100%;height:100%}@media(min-width: 769px){.fj-feedbot-modal{top:auto;right:4rem;bottom:4rem;left:auto;max-width:460px;height:auto}}.fj-feedbot-modal .fj-feedbot-title{font-weight:700;font-size:28px;line-height:100%;letter-spacing:0;margin-bottom:12px}.fj-feedbot-modal .fj-feedbot-subtitle{font-weight:400;font-size:18px;line-height:100%;letter-spacing:0}.fj-feedbot-modal>.fj-feedbot-bubble{position:fixed;bottom:1.5rem;right:1.5rem;width:80px;height:80px;border-radius:10000px;box-shadow:0 4px 12px rgba(73,102,216,.15),0 2px 6px rgba(73,102,216,.1);background-color:#fff;display:flex;justify-content:center;align-items:center;cursor:pointer;transition:transform 200ms ease-in-out,box-shadow 200ms ease-in-out;animation:bubble-appear 400ms cubic-bezier(0.34, 1.56, 0.64, 1)}@media(min-width: 769px){.fj-feedbot-modal>.fj-feedbot-bubble{width:100px;height:100px;bottom:2rem;right:2rem}}.fj-feedbot-modal>.fj-feedbot-bubble:hover{transform:scale(1.1);box-shadow:0 8px 20px rgba(73,102,216,.2),0 4px 10px rgba(73,102,216,.15)}.fj-feedbot-modal>.fj-feedbot-bubble:active{transform:scale(1.05);box-shadow:0 4px 12px rgba(73,102,216,.15),0 2px 6px rgba(73,102,216,.1)}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-text{position:absolute;right:80%;bottom:70%;background-color:#4966d8;padding:4px 16px;width:max-content;border-radius:10000px 10000px .25rem 10000px;color:#fff;font-weight:700;font-size:14px;box-shadow:0 .2rem .4rem rgba(0,0,0,.1607843137)}@media(min-width: 769px){.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-text{padding:4px 22px;font-size:18px}}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-text::after{content:"";position:absolute;bottom:10px;right:0;width:0;height:0;border-style:solid;border-width:1rem 0 0 1rem;border-color:#4966d8 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0);transform:translateY(100%)}.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-robot{position:absolute;width:48px}@media(min-width: 769px){.fj-feedbot-modal>.fj-feedbot-bubble>.fj-feedbot-robot{width:60px}}.fj-feedbot-modal>.fj-feedbot-form,.fj-feedbot-modal>.fj-feedbot-thanks{padding:1.25rem 1rem 1rem;border-radius:0;box-shadow:rgba(34,34,34,.3764705882) 1px 1px 5px;color:#000;background-color:#fff;display:flex;flex-direction:column;height:100%;animation:modal-appear 300ms cubic-bezier(0.34, 1.56, 0.64, 1)}@media(min-width: 769px){.fj-feedbot-modal>.fj-feedbot-form,.fj-feedbot-modal>.fj-feedbot-thanks{border-radius:24px;height:auto;padding:32px 30px 24px}}.fj-feedbot-modal>.fj-feedbot-thanks>.fj-feedbot-robot{position:absolute;width:90px;right:80px;left:35px;top:135px}.fj-feedbot-modal .fj-feedbot-btn-close{margin-top:1rem !important}.fj-feedbot-modal>.fj-feedbot-form input:not([type=checkbox]):not([type=radio]),.fj-feedbot-modal>.fj-feedbot-form textarea{width:100%;box-sizing:border-box}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-rating label>p,.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-quality>p,.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-label>p{font-weight:400;font-size:16px;line-height:20px;letter-spacing:0;color:#64748b;margin:0 0 8px 0}.fj-feedbot-modal>.fj-feedbot-form input[type=checkbox],.fj-feedbot-modal>.fj-feedbot-form input[type=radio]{cursor:pointer;accent-color:#4966d8;transition:transform 150ms ease-in-out}.fj-feedbot-modal>.fj-feedbot-form input[type=checkbox]:hover,.fj-feedbot-modal>.fj-feedbot-form input[type=radio]:hover{transform:scale(1.1)}.fj-feedbot-modal>.fj-feedbot-form input[type=radio]{width:22px;height:22px;margin:0}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-header{min-height:8rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-presentation-wrapper{position:relative;margin-bottom:1.5rem;margin-left:45px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-presentation-wrapper .fj-feedbot-robot{position:absolute;left:-45px;top:40%;transform:translateY(-50%);width:90px;z-index:1}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-presentation{padding:1rem 1.25rem 1rem 3rem;background-color:#f1f5f9;border-radius:100rem;border:1px solid #f1f5f9;box-shadow:0 1px 3px 0 rgba(109,122,186,.1019607843);margin:0;font-weight:500;font-size:16px;line-height:100%;letter-spacing:0}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-rating{margin-bottom:1.5rem}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars{border:solid #e2e8f0 1px;border-radius:10000px;display:flex;justify-content:center}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper{display:flex;flex-direction:row-reverse;width:fit-content;gap:20px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button{background:none;border:none;cursor:pointer;font-size:1.5rem;transition:transform 150ms ease-in-out;width:3rem;height:3rem;padding:.5rem;margin:0}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button:hover{transform:scale(1.15)}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-stars .fj-feedbot-stars-wrapper button:active{transform:scale(1.05)}.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-closed{margin-bottom:1.5rem;gap:8px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-closed-answers{display:grid;grid-template-columns:fit-content(100%) fit-content(100%);gap:8px}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-closed-answers label{font-size:16px;color:#000;cursor:pointer;transition:color 200ms ease-in-out}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-closed-answers label:hover{color:#4966d8}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-anonymous{margin-bottom:1.5rem;justify-content:flex-start;cursor:pointer}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-anonymous p{font-size:16px;color:#000;cursor:pointer;transition:color 200ms ease-in-out}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-anonymous p:hover{color:#4966d8}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-footer-buttons{display:flex;gap:1rem;margin-top:auto}.fj-feedbot-modal>.fj-feedbot-form .fj-feedbot-footer-buttons button{flex:1}.fj-feedbot-pending-test,.fj-feedbot-error{background-color:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center}.fj-feedbot-pending-test .fj-feedbot-pending-test-content,.fj-feedbot-pending-test .fj-feedbot-error-content,.fj-feedbot-error .fj-feedbot-pending-test-content,.fj-feedbot-error .fj-feedbot-error-content{display:flex;flex-direction:column;gap:1.75rem;background-color:#fff;box-shadow:0 4px 24px rgba(0,0,0,.15);max-width:500px;width:100%;animation:modal-appear 300ms cubic-bezier(0.34, 1.56, 0.64, 1)}@media(min-width: 769px){.fj-feedbot-pending-test .fj-feedbot-pending-test-content,.fj-feedbot-pending-test .fj-feedbot-error-content,.fj-feedbot-error .fj-feedbot-pending-test-content,.fj-feedbot-error .fj-feedbot-error-content{padding:35px}}.fj-feedbot-pending-test .fj-feedbot-header,.fj-feedbot-error .fj-feedbot-header{position:relative;margin-left:45px;margin-bottom:1rem}@media(min-width: 769px){.fj-feedbot-pending-test .fj-feedbot-header,.fj-feedbot-error .fj-feedbot-header{margin-left:80px}}.fj-feedbot-pending-test .fj-feedbot-header .fj-feedbot-robot,.fj-feedbot-error .fj-feedbot-header .fj-feedbot-robot{position:absolute;left:-45px;top:40%;transform:translateY(-50%);width:90px;z-index:1;color:#4966d8}@media(min-width: 769px){.fj-feedbot-pending-test .fj-feedbot-header .fj-feedbot-robot,.fj-feedbot-error .fj-feedbot-header .fj-feedbot-robot{left:-80px;width:120px}}.fj-feedbot-pending-test .fj-feedbot-header .fj-feedbot-robot svg,.fj-feedbot-error .fj-feedbot-header .fj-feedbot-robot svg{width:100%;height:100%}.fj-feedbot-pending-test .fj-feedbot-speech-bubble,.fj-feedbot-error .fj-feedbot-speech-bubble{position:relative;padding:1rem 1.25rem 1rem 3rem;background-color:#f8fafc;box-shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);border-radius:100rem}@media(min-width: 769px){.fj-feedbot-pending-test .fj-feedbot-speech-bubble,.fj-feedbot-error .fj-feedbot-speech-bubble{padding:1rem 1.25rem 1rem 3.25rem}}.fj-feedbot-pending-test .fj-feedbot-speech-bubble-error,.fj-feedbot-error .fj-feedbot-speech-bubble-error{background-color:hsl(350,89.4736842105%,94.4705882353%)}.fj-feedbot-pending-test .fj-feedbot-speech-bubble-error .fj-feedbot-title,.fj-feedbot-error .fj-feedbot-speech-bubble-error .fj-feedbot-title{color:#d80c2e}.fj-feedbot-pending-test .fj-feedbot-title,.fj-feedbot-error .fj-feedbot-title{margin:0 0 .5rem 0;font-size:18px;font-weight:bold;color:#4966d8}.fj-feedbot-pending-test .fj-feedbot-text,.fj-feedbot-error .fj-feedbot-text{margin:0;font-size:14px;line-height:1.5;color:#6b7280}.fj-feedbot-pending-test .fj-feedbot-footer-buttons,.fj-feedbot-error .fj-feedbot-footer-buttons{display:flex;gap:1rem;margin-top:auto}.fj-feedbot-pending-test .fj-feedbot-footer-buttons button,.fj-feedbot-error .fj-feedbot-footer-buttons button{flex:1}@keyframes bubble-appear{0%{transform:scale(0) translateY(20px);opacity:0}100%{transform:scale(1) translateY(0);opacity:1}}@keyframes modal-appear{0%{transform:scale(0.9);opacity:0}100%{transform:scale(1);opacity:1}}
|
|
2
2
|
|
|
3
3
|
/*# sourceMappingURL=feedbot.css.map */
|
package/dist/css/feedbot.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/scss/_main.scss","../../src/scss/feedbot.scss"],"names":[],"mappings":"AAgBE,sBAEE,eACA,MAhBI,QAiBJ,SAKA,iBACE,MArBE,QAyBJ,mCAEE,cACA,yBACA,kBACA,WACA,WA1Ba,4DA4Bb,+CACE,2BAGF,+CACE,aACA,aAtCE,QAuCF,yCAIJ,mBACE,YAIF,4BACE,aACA,mBACA,SAEA,8BACE,WAGF,kCACE,SAKJ,+BACE,WACA,YACA,eACA,aAnEI,QAoEJ,WA/DgB,4BAiEhB,qCACE,qBAKN,WACE,YAIF,cACE,eACA,gBACA,kBACA,oBACA,MAvFI,QAwFJ,qCACA,8BACA,kBACA,gBAIF,kBACE,qBACA,SACA,+BACA,aACA,gBACA,oBACA,kBACA,WAhGgB,mJAiGhB,eACA,WAxGM,QAyGN,WAGA,mCACE,gBACA,aA9GI,QA+GJ,MA/GI,QAmHN,iCACE,oBACA,mBACA,WAxHQ,QAyHR,WAIF,wBACE,aACA,yCAEA,yCACE,0CAKJ,4DACE,yCACA,2BACA,qCAEA,6EACE,qCACA,2CAKJ,6DACE,wBACA,
|
|
1
|
+
{"version":3,"sources":["../../src/scss/_main.scss","../../src/scss/feedbot.scss"],"names":[],"mappings":"AAgBE,sBAEE,eACA,MAhBI,QAiBJ,SAKA,iBACE,MArBE,QAyBJ,mCAEE,cACA,yBACA,kBACA,WACA,WA1Ba,4DA4Bb,+CACE,2BAGF,+CACE,aACA,aAtCE,QAuCF,yCAIJ,mBACE,YAIF,4BACE,aACA,mBACA,SAEA,8BACE,WAGF,kCACE,SAKJ,+BACE,WACA,YACA,eACA,aAnEI,QAoEJ,WA/DgB,4BAiEhB,qCACE,qBAKN,WACE,YAIF,cACE,eACA,gBACA,kBACA,oBACA,MAvFI,QAwFJ,qCACA,8BACA,kBACA,gBAIF,kBACE,qBACA,SACA,+BACA,aACA,gBACA,oBACA,kBACA,WAhGgB,mJAiGhB,eACA,WAxGM,QAyGN,WAGA,mCACE,gBACA,aA9GI,QA+GJ,MA/GI,QAmHN,iCACE,oBACA,mBACA,WAxHQ,QAyHR,WAIF,wBACE,aACA,yCAEA,yCACE,0CAKJ,4DACE,yCACA,2BACA,qCAEA,6EACE,qCACA,2CAKJ,6DACE,wBACA,oCCtIN,qBACE,gBAGF,kBACE,iCACA,WACA,eACA,QACA,WACA,YAEA,yBARF,kBASI,SACA,WACA,YACA,UACA,gBACA,aAIF,oCACE,gBACA,eACA,iBACA,iBACA,mBAGF,uCACE,gBACA,eACA,iBACA,iBAIF,qCACE,eACA,cACA,aACA,WACA,YACA,cA3DS,QA4DT,yEACA,sBACA,aACA,uBACA,mBACA,eACA,WArDgB,yDAsDhB,gEAEA,yBAhBF,qCAiBI,YACA,aACA,YACA,YAGF,2CACE,qBACA,0EAGF,4CACE,sBACA,yEAGF,sDACE,kBACA,UACA,WACA,iBDxFI,QCyFJ,iBACA,kBACA,6CACA,WACA,gBACA,eACA,iDAEA,yBAbF,sDAcI,iBACA,gBAGF,6DACE,WACA,kBACA,YACA,QACA,QACA,SACA,mBACA,2BACA,+DACA,2BAIJ,uDACE,kBACA,WAEA,yBAJF,uDAKI,YAMN,wEAEE,0BACA,gBACA,kDACA,WACA,sBACA,aACA,sBACA,YACA,+DAEA,yBAZF,wEAaI,mBACA,YACA,wBAKF,uDACE,kBACA,WACA,WACA,UACA,UAIJ,wCACE,2BAIA,4HAEE,WACA,sBAIF,8KAGE,gBACA,eACA,iBACA,iBACA,MDlLE,QCmLF,iBAIF,6GAEE,eACA,aDvLI,QCwLJ,WA/KiB,4BAiLjB,yHACE,qBAIJ,qDACE,WACA,YACA,SAIF,sDACE,gBAGF,oEACE,kBACA,cA7MmB,OA8MnB,iBAEA,sFACE,kBACA,WACA,QACA,2BACA,WACA,UAIJ,4DACE,+BACA,iBD1NM,QC2NN,qBACA,yBACA,qDACA,SACA,gBACA,eACA,iBACA,iBAIF,sDACE,cAzOmB,OA4OrB,qDACE,yBACA,cA/OO,QAgPP,aACA,uBAEA,+EACE,aACA,2BACA,kBACA,SAEA,sFACE,gBACA,YACA,eACA,iBACA,WAnPa,4BAoPb,WACA,YACA,cACA,SAEA,4FACE,sBAGF,6FACE,sBAMR,wDACE,MD/QE,QCkRJ,uDACE,cAnRmB,OAsRrB,sDACE,cAvRmB,OAwRnB,QAGF,8DACE,aACA,0DACA,QAEA,oEACE,eACA,WACA,eACA,WAzRW,wBA2RX,0EACE,MDtSA,QC2SN,yDACE,cA7SmB,OA8SnB,2BACA,eAEA,2DACE,eACA,WACA,eACA,WA1SW,wBA4SX,iEACE,MDvTA,QC4TN,8DACE,aACA,SACA,gBAEA,qEACE,OAOR,2CAEE,gCACA,aACA,uBACA,mBAEA,4MAEE,aACA,sBACA,YACA,sBACA,sCACA,gBACA,WACA,+DAEA,yBAXF,4MAYI,cAIJ,iFACE,kBACA,iBACA,mBAEA,yBALF,iFAMI,kBAGF,qHACE,kBACA,WACA,QACA,2BACA,WACA,UACA,MDhXI,QCkXJ,yBATF,qHAUI,WACA,aAGF,6HACE,WACA,YAKN,+FACE,kBACA,+BACA,yBACA,8DACA,qBAEA,yBAPF,+FAQI,mCAIJ,2GACE,wDAEA,+IACE,MD/YE,QCmZN,+EACE,mBACA,eACA,iBACA,MDtZM,QCyZR,6EACE,SACA,eACA,gBACA,cAGF,iGACE,aACA,SACA,gBAEA,+GACE,OAMN,yBACE,GACE,oCACA,UAEF,KACE,iCACA,WAIJ,wBACE,GACE,qBACA,UAEF,KACE,mBACA","file":"feedbot.css","sourceRoot":""}
|
package/dist/feedbot.d.ts
CHANGED
|
@@ -11,10 +11,16 @@ export declare class Feedbot {
|
|
|
11
11
|
private submitError;
|
|
12
12
|
private survey;
|
|
13
13
|
private baseApiUrl;
|
|
14
|
+
private connectivityError;
|
|
15
|
+
private integrationStatus;
|
|
14
16
|
get user(): UserType | undefined;
|
|
15
17
|
constructor(options: FeedbotOptions);
|
|
16
18
|
private render;
|
|
17
19
|
increment(): Promise<void>;
|
|
20
|
+
private checkConnectivity;
|
|
21
|
+
private closeModal;
|
|
22
|
+
private renderError;
|
|
23
|
+
private renderPendingTest;
|
|
18
24
|
submit(): Promise<void>;
|
|
19
25
|
}
|
|
20
26
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -63,10 +63,16 @@ declare class Feedbot {
|
|
|
63
63
|
private submitError;
|
|
64
64
|
private survey;
|
|
65
65
|
private baseApiUrl;
|
|
66
|
+
private connectivityError;
|
|
67
|
+
private integrationStatus;
|
|
66
68
|
get user(): UserType | undefined;
|
|
67
69
|
constructor(options: FeedbotOptions);
|
|
68
70
|
private render;
|
|
69
71
|
increment(): Promise<void>;
|
|
72
|
+
private checkConnectivity;
|
|
73
|
+
private closeModal;
|
|
74
|
+
private renderError;
|
|
75
|
+
private renderPendingTest;
|
|
70
76
|
submit(): Promise<void>;
|
|
71
77
|
}
|
|
72
78
|
|