hart-estate-widget 0.0.43 → 0.0.46

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.
@@ -0,0 +1 @@
1
+ *,*:before,*:after{box-sizing:border-box;-webkit-box-sizing:border-box;margin:0;padding:0}html,body{font-size:20px}.widget-application{--vh: 100vh;width:100%;height:calc(100*var(--vh));overflow:hidden;position:relative;z-index:1;background-color:#fff}.widget-application *,.widget-application *:before,.widget-application *:after{font-family:"Roboto Mono",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;outline:none;font-weight:700;text-decoration:none;color:#413e3e}.widget-application .widget-logo{position:absolute;left:45px;top:30px;z-index:3}@media only screen and (max-width: 545px){.widget-application .widget-logo{left:20px;top:20px}}.widget-application .widget-logo img{display:block;width:82px;height:82px;object-fit:contain;object-position:center}@media only screen and (max-width: 900px){.widget-application .widget-logo img{width:65px;height:65px}}.widget-application .widget-enter-fullscreen,.widget-application .widget-exit-fullscreen{position:absolute;right:45px;top:36px;z-index:3;ouline:none;border:none;box-shadow:none;background:transparent;cursor:pointer;padding:10px}@media only screen and (max-width: 545px){.widget-application .widget-enter-fullscreen,.widget-application .widget-exit-fullscreen{right:20px;top:20px}}.widget-application .widget-enter-fullscreen img,.widget-application .widget-exit-fullscreen img{display:block;width:50px;height:50px;object-fit:contain;object-position:center}@media only screen and (max-width: 900px){.widget-application .widget-enter-fullscreen img,.widget-application .widget-exit-fullscreen img{width:40px;height:40px}}.widget-application .widget-close{position:absolute;display:flex;align-items:center;justify-content:center;z-index:3;right:15px;top:15px;color:#000;background-color:#fac62d;padding:5px 15px;border-radius:10px;font-size:.8rem;border:none;cursor:pointer}.widget-application .widget-close:hover{box-shadow:1px 1px 10px rgba(0,0,0,.15)}.widget-application .widget-tab-buttons{position:absolute;z-index:3;right:44px;bottom:35px;display:flex;align-items:center;justify-content:flex-end}@media only screen and (max-width: 545px){.widget-application .widget-tab-buttons{right:20px;bottom:20px}}.widget-application .widget-tab-button{ouline:none;border:none;box-shadow:none;background:transparent;cursor:pointer;width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;background-color:#eaeaea;color:#413e3e;font-size:28px;line-height:120%;font-weight:bold;margin-left:40px}@media only screen and (max-width: 900px){.widget-application .widget-tab-button{width:60px;height:60px;font-size:24px;margin-left:20px}}@media only screen and (max-width: 545px){.widget-application .widget-tab-button{margin-left:10px}}.widget-application .widget-tab-button--active{background-color:#fac62d}.widget-application .widget-tab{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:60px 30px}@media(max-width: 630px){.widget-application .widget-tab{padding:60px 15px}}.widget-application .widget-tab__image{max-width:100%;max-height:100%;object-fit:contain;display:block}.widget-application .widget-tab__threesixty{width:100%;height:100%;touch-action:none;-webkit-touch-action:none}.widget-application .widget-tab__threesixty-start{ouline:none;border:none;box-shadow:none;background:transparent;cursor:pointer;position:absolute;left:50%;bottom:35px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;padding:0 30px 0 27px;background-color:#eaeaea;border-radius:38px;height:72px}@media only screen and (max-width: 900px){.widget-application .widget-tab__threesixty-start{height:60px;width:60px;padding:0;left:45px;transform:none}}@media only screen and (max-width: 545px){.widget-application .widget-tab__threesixty-start{left:20px;bottom:20px}}.widget-application .widget-tab__threesixty-start img{display:block;margin-right:20px;position:relative;top:2px}@media only screen and (max-width: 900px){.widget-application .widget-tab__threesixty-start img{width:30px;margin-right:0}}.widget-application .widget-tab__threesixty-start span{font-size:24px;font-weight:bold;color:#413e3e;text-transform:uppercase}@media only screen and (max-width: 900px){.widget-application .widget-tab__threesixty-start span{display:none}}.widget-application .widget-tab__threesixty-container{width:100% !important;height:100% !important;position:relative;background-image:none !important}.widget-application .widget-tab__threesixty-container img{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);max-width:100%;max-height:100%;width:600px;height:600px;object-fit:contain;opacity:0;user-select:none;-webkit-user-select:none;user-drag:none;-webkit-user-drag:none}.widget-application .widget-tab__threesixty-container img.active{opacity:1}.widget-application .widget-tab__threesixty--active .widget-tab__threesixty-container{cursor:move}.widget-application .widget-tab-menu{position:absolute;z-index:3;left:15px;top:15px;max-height:100%;overflow-y:auto;padding-bottom:30px}.widget-application .widget-tab-menu__wallpapers{display:flex;flex-wrap:wrap;align-items:flex-start;margin-top:10px;width:100%}.widget-application .widget-tab-menu__wallpapers img{width:30px;height:30px;display:block;object-fit:cover;cursor:pointer;margin-right:10px;margin-block-end:10px}.widget-application .widget-tab-menu ul{list-style-type:none}.widget-application .widget-tab-menu ul li{color:#000;background-color:#fac62d;padding:5px 15px;border-radius:10px;font-size:.7rem;border:none;cursor:pointer;margin-bottom:15px;width:200px;user-select:none;-webkit-user-select:none;user-drag:none;-webkit-user-drag:none}.widget-application .widget-tab-menu ul li label{display:flex;cursor:inherit;width:100%}.widget-application .widget-tab-menu ul li input[type=color]{cursor:pointer;margin-left:auto;width:50px;height:20px;border:0;border-radius:5px}.widget-application .widget-tab-menu ul li input[type=color]::-webkit-color-swatch-wrapper{display:none !important}.widget-application .widget-tab-menu ul li input[type=file]{display:none}.widget-application .widget-tab-menu ul li:nth-child(1){position:relative}.widget-application .widget-tab-menu ul li:nth-child(1)::after{--bar-width: 2px;content:"";width:20px;height:15px;display:block;background:repeating-linear-gradient(180deg, #000000, #000000 var(--bar-width), rgba(0, 0, 0, 0) var(--bar-width), rgba(0, 0, 0, 0) calc(var(--bar-width) * 3));position:absolute;right:10px;top:50%;transform:translateY(-50%)}.widget-application .widget-instructions{position:absolute;z-index:2;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-position:center;background-repeat:no-repeat;background-size:cover}.widget-application .widget-instructions__content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background-color:rgba(234,234,234,.85);border-radius:20px;overflow:hidden;width:400px;max-width:calc(100% - 60px);padding:36px 30px 30px 30px;backdrop-filter:blur(5px);-moz-backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.widget-application .widget-instructions__steps{display:flex;align-items:flex-start;justify-content:center}.widget-application .widget-instructions__step{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;margin:0 15px}@media only screen and (max-width: 900px){.widget-application .widget-instructions__step{margin:0 10px}}.widget-application .widget-instructions__step img{display:block;width:52px;height:80px;object-fit:contain;object-position:center}.widget-application .widget-instructions__step p{color:#413e3e;font-size:20px;font-weight:bold;text-align:center;margin-top:10px;max-width:135px}@media only screen and (max-width: 900px){.widget-application .widget-instructions__step p{font-size:18px}}.widget-application .widget-instructions button{ouline:none;border:none;box-shadow:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;height:44px;padding:0 33px;border-radius:52px;background-color:#fac62d;color:#413e3e;font-size:24px;font-weight:bold;text-transform:uppercase;margin:25px auto 0 auto}.widget-application .widget-tab__panorama{width:100%;height:100%;position:absolute;left:0;top:0;z-index:2}.widget-application .widget-tab__panorama-overlay{width:100%;height:100%;overflow:hidden;background:#fff !important}.widget-application .widget-tab__panorama-controls{position:absolute;left:50%;bottom:35px;display:flex;align-items:center;justify-content:center;padding:8px;border-radius:38px;background-color:rgba(0,0,0,.2);transform:translateX(-50%);backdrop-filter:blur(5px);-moz-backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}@media only screen and (max-width: 900px){.widget-application .widget-tab__panorama-controls{right:45px;left:unset;transform:none;bottom:120px}}@media only screen and (max-width: 545px){.widget-application .widget-tab__panorama-controls{right:20px;bottom:100px}}.widget-application .widget-tab__panorama-controls-button{ouline:none;border:none;box-shadow:none;background:transparent;cursor:pointer;width:55px;height:55px;border-radius:50%;background-color:#fff;display:flex;align-items:center;justify-content:center;margin-right:18px}@media only screen and (max-width: 900px){.widget-application .widget-tab__panorama-controls-button{width:40px;height:40px}}.widget-application .widget-tab__panorama-controls-button img{display:block}@media only screen and (max-width: 900px){.widget-application .widget-tab__panorama-controls-button img{transform:scale(0.7)}}.widget-application .widget-tab__panorama-controls-button:nth-last-child(1){margin-right:0}.widget-application .widget-tab__panorama-map{position:absolute;left:45px;bottom:35px;z-index:3;border-radius:10px;opacity:1;transition:opacity .5s;overflow:hidden}@media only screen and (max-width: 545px){.widget-application .widget-tab__panorama-map{left:20px;bottom:20px}}.widget-application .widget-tab__panorama-map--hidden{opacity:0;pointer-events:none}.widget-application .widget-tab__panorama-map img{width:195px;border-radius:inherit;display:block;user-select:none;-webkit-user-select:none;user-drag:none;-webkit-user-drag:none}@media only screen and (max-width: 900px){.widget-application .widget-tab__panorama-map img{width:150px}}.widget-application .widget-tab__panorama-map img:hover{box-shadow:1px 1px 10px rgba(0,0,0,.15)}.widget-application .widget-tab__panorama-map svg{position:absolute;left:0;top:0;width:195px;height:100%;z-index:3;display:block;border-radius:inherit}@media only screen and (max-width: 900px){.widget-application .widget-tab__panorama-map svg{width:150px}}.widget-application .widget-tab__panorama-map svg polygon{opacity:0;fill:#fac62d;cursor:pointer}.widget-application .widget-tab__panorama-map svg polygon:hover{opacity:.3}.widget-application .widget-tab__panorama-map__fov{position:absolute;left:0;top:0;width:0px;height:0px;border-radius:50%;border:30px solid transparent;border-top:40px solid rgba(250,198,45,.4);transform:translate(-50%, -50%) rotate(0rad);transform-origin:50% 50%;z-index:4;pointer-events:none}.widget-application .widget-tab__panorama-map__dot{position:absolute;left:0;top:0;transform:translate(-50%, -50%);width:5px;height:5px;background-color:#fac62d;border-radius:50%;z-index:5;visibility:hidden;pointer-events:none}.widget-application .widget-tab__panorama-map__dot--big{border:2px solid #fac62d;box-shadow:inset 0 0 0 2px #fff;width:15px;height:15px}.widget-application .widget-tab__panorama-map__dot--active{visibility:visible}.widget-loader{display:block;position:relative;width:80px;height:80px}.widget-loader--absolute{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.widget-loader--sm{transform:translate(-50%, -50%) scale(0.75)}.widget-loader div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#fac62d;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.widget-loader div:nth-child(1){left:8px;animation:widget-loader-1 .6s infinite}.widget-loader div:nth-child(2){left:8px;animation:widget-loader-2 .6s infinite}.widget-loader div:nth-child(3){left:32px;animation:widget-loader-2 .6s infinite}.widget-loader div:nth-child(4){left:56px;animation:widget-loader-3 .6s infinite}@keyframes widget-loader-1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes widget-loader-3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes widget-loader-2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}.widget-application .widget-tab__model{width:100%;height:100%;position:absolute;left:0;top:0;z-index:2}.widget-application .widget-tab__model-scene{width:100%;height:100%;display:block}.widget-application .widget-tab__model-joystick{position:absolute;left:100px;bottom:100px;opacity:0;pointer-events:none}@media only screen and (max-width: 545px){.widget-application .widget-tab__model-joystick{left:50%;transform:translateX(-50%)}}.widget-application .widget-tab__model-joystick--active{opacity:1;pointer-events:unset}/*# sourceMappingURL=app.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../../src/assets/sass/index.sass","../../../src/assets/sass/vars.sass","../../../src/assets/sass/mixin.sass","../../../src/assets/sass/components/tabs.sass","../../../src/assets/sass/components/instructions.sass","../../../src/assets/sass/components/panorama.sass","../../../src/assets/sass/components/loader.sass","../../../src/assets/sass/components/model.sass"],"names":[],"mappings":"AAGA,mBACE,sBACA,8BACA,SACA,UAEF,UACE,eAEF,oBACE,YAEA,WACA,2BACA,gBACA,kBACA,UACA,iBCfM,KDiBN,+EACE,qCACA,mCACA,kCACA,aACA,gBACA,qBACA,MClBQ,QDoBV,iCACE,kBACA,UACA,SACA,UACA,0CALF,iCAMI,UACA,UACF,qCACE,cACA,WACA,YACA,mBACA,uBACA,0CANF,qCAOI,WACA,aAEN,yFAEE,kBACA,WACA,SACA,UErDF,YACA,YACA,gBACA,uBACA,eFmDE,aACA,0CARF,yFASI,WACA,UACF,iGACE,cACA,WACA,YACA,mBACA,uBACA,0CANF,iGAOI,WACA,aAEN,kCACE,kBACA,aACA,mBACA,uBACA,UACA,WACA,SACA,MCxEI,KDyEJ,iBCtEQ,QDuER,iBACA,mBACA,gBACA,YACA,eACA,wCACE,wCGlFJ,wCACE,kBACA,UACA,WACA,YACA,aACA,mBACA,yBACA,0CARF,wCASI,WACA,aACJ,uCDdA,YACA,YACA,gBACA,uBACA,eCYE,WACA,YACA,kBACA,aACA,mBACA,uBACA,iBFhBG,QEiBH,MFbQ,QEcR,eACA,iBACA,iBACA,iBACA,0CAdF,uCAeI,WACA,YACA,eACA,kBACF,0CAnBF,uCAoBI,kBACF,+CACE,iBF5BM,QE8BV,gCACE,WACA,YACA,aACA,mBACA,uBACA,kBACA,yBAPF,gCAQI,mBACF,uCACE,eACA,gBACA,mBACA,cACF,4CACE,WACA,YACA,kBACA,0BACA,kDDzDJ,YACA,YACA,gBACA,uBACA,eCuDM,kBACA,SACA,YACA,2BACA,aACA,mBACA,uBACA,sBACA,iBF7DD,QE8DC,mBACA,YACA,0CAbF,kDAcI,YACA,WACA,UACA,UACA,gBACF,0CAnBF,kDAoBI,UACA,aACF,sDACE,cACA,kBACA,kBACA,QACA,0CALF,sDAMI,WACA,gBACJ,uDACE,eACA,iBACA,MFhFE,QEiFF,yBACA,0CALF,uDAMI,cACN,sDACE,sBACA,uBACA,kBACA,iCACA,0DACE,kBACA,SACA,QACA,gCACA,eACA,gBACA,YACA,aACA,mBACA,UFhGR,iBACA,yBACA,eACA,uBE+FQ,iEACE,UAEJ,sFACE,YAEN,qCACE,kBACA,UACA,UACA,SACA,gBACA,gBACA,oBACA,iDACE,aACA,eACA,uBACA,gBACA,WACA,qDACE,WACA,YACA,cACA,iBACA,eACA,kBACA,sBACJ,wCACE,qBACA,2CACE,MFzIF,KE0IE,iBFvIE,QEwIF,iBACA,mBACA,gBACA,YACA,eACA,mBACA,YFzIR,iBACA,yBACA,eACA,uBEwIQ,iDACE,aACA,eACA,WAEA,6DACE,eACA,iBACA,WACA,YACA,SACA,kBACA,2FACE,wBACJ,4DACE,aACJ,wDACE,kBACA,+DACE,iBACA,WACA,WACA,YACA,cACA,gKACA,kBACA,WACA,QACA,2BCjLZ,yCACE,kBACA,UACA,OACA,MACA,WACA,YACA,aACA,mBACA,uBACA,2BACA,4BACA,sBAEA,kDACE,aACA,sBACA,mBACA,2BACA,uCACA,mBACA,gBACA,YACA,4BACA,4BFpBJ,0BACA,+BACA,kCEoBE,gDACE,aACA,uBACA,uBACF,+CACE,aACA,sBACA,mBACA,2BACA,cACA,0CANF,+CAOI,eACF,mDACE,cACA,WACA,YACA,mBACA,uBACF,iDACE,MHtCI,QGuCJ,eACA,iBACA,kBACA,gBACA,gBACA,0CAPF,iDAQI,gBACN,gDFxDF,YACA,YACA,gBACA,uBACA,eEsDI,aACA,mBACA,uBACA,YACA,eACA,mBACA,iBHxDM,QGyDN,MHvDM,QGwDN,eACA,iBACA,yBACA,wBCjEF,0CACE,WACA,YACA,kBACA,OACA,MACA,UACA,kDACE,WACA,YACA,gBACA,2BACF,mDACE,kBACA,SACA,YACA,aACA,mBACA,uBACA,YACA,mBACA,gCACA,2BHnBN,0BACA,+BACA,kCGmBM,0CAZF,mDAaI,WACA,WACA,eACA,cACF,0CAjBF,mDAkBI,WACA,cACF,0DHpCN,YACA,YACA,gBACA,uBACA,eGkCQ,WACA,YACA,kBACA,iBJrCF,KIsCE,aACA,mBACA,uBACA,kBACA,0CAVF,0DAWI,WACA,aACF,8DACE,cACA,0CAFF,8DAGI,sBACJ,4EACE,eACN,8CACE,kBACA,UACA,YACA,UACA,mBACA,UACA,uBACA,gBACA,0CATF,8CAUI,UACA,aACF,sDACE,UACA,oBACF,kDACE,YACA,sBACA,cJ5DR,iBACA,yBACA,eACA,uBI2DQ,0CALF,kDAMI,aACF,wDACE,wCACJ,kDACE,kBACA,OACA,MACA,YACA,YACA,UACA,cACA,sBACA,0CATF,kDAUI,aACF,0DACE,UACA,KJpFA,QIqFA,eACA,gEACE,WACN,mDACE,kBACA,OACA,MACA,UACA,WACA,kBACA,8BACA,0CACA,6CACA,yBACA,UACA,oBACF,mDACE,kBACA,OACA,MACA,gCACA,UACA,WACA,iBJ5GE,QI6GF,kBACA,UACA,kBACA,oBACA,wDACE,yBACA,gCACA,WACA,YACF,2DAGE,mBChIZ,eACE,cACA,kBACA,WACA,YACA,yBACE,kBACA,SACA,QACA,gCACF,mBACE,4CACF,mBACE,kBACA,SACA,WACA,YACA,kBACA,WLXQ,QKYR,mDACA,gCACE,SACA,uCACF,gCACE,SACA,uCACF,gCACE,UACA,uCACF,gCACE,UACA,uCAEN,2BACE,GACE,mBACF,KACE,oBAEJ,2BACE,GACE,mBACF,KACE,oBAEJ,2BACE,GACE,0BAEF,KACE,8BChDA,uCACE,WACA,YACA,kBACA,OACA,MACA,UACA,6CACE,WACA,YACA,cACF,gDACE,kBACA,WACA,aACA,UACA,oBACA,0CANF,gDAOI,SACA,4BACF,wDACE,UACA","file":"app.css"}
@@ -1,108 +1,98 @@
1
1
  @font-face {
2
- font-family: 'Roboto Mono';
3
- src: url('RobotoMono-Light.eot');
4
- src: local('Roboto Mono Light'), local('RobotoMono-Light'),
5
- url('RobotoMono-Light.eot?#iefix') format('embedded-opentype'),
6
- url('RobotoMono-Light.woff2') format('woff2'),
7
- url('RobotoMono-Light.woff') format('woff'),
8
- url('RobotoMono-Light.ttf') format('truetype');
9
- font-weight: 300;
10
- font-style: normal;
2
+ font-family: 'Roboto Mono';
3
+ src: url('RobotoMono-Light.ttf');
4
+ src: local('Roboto Mono Light'), local('RobotoMono-Light'),
5
+ url('RobotoMono-Light.woff2') format('woff2'),
6
+ url('RobotoMono-Light.woff') format('woff'),
7
+ url('RobotoMono-Light.ttf') format('truetype');
8
+ font-weight: 300;
9
+ font-style: normal;
11
10
  }
12
11
 
13
12
  @font-face {
14
- font-family: 'Roboto Mono';
15
- src: url('RobotoMono-Bold.eot');
16
- src: local('Roboto Mono Bold'), local('RobotoMono-Bold'),
17
- url('RobotoMono-Bold.eot?#iefix') format('embedded-opentype'),
18
- url('RobotoMono-Bold.woff2') format('woff2'),
19
- url('RobotoMono-Bold.woff') format('woff'),
20
- url('RobotoMono-Bold.ttf') format('truetype');
21
- font-weight: bold;
22
- font-style: normal;
13
+ font-family: 'Roboto Mono';
14
+ src: url('RobotoMono-Bold.ttf');
15
+ src: local('Roboto Mono Bold'), local('RobotoMono-Bold'),
16
+ url('RobotoMono-Bold.woff2') format('woff2'),
17
+ url('RobotoMono-Bold.woff') format('woff'),
18
+ url('RobotoMono-Bold.ttf') format('truetype');
19
+ font-weight: bold;
20
+ font-style: normal;
23
21
  }
24
22
 
25
23
  @font-face {
26
- font-family: 'Roboto Mono';
27
- src: url('RobotoMono-LightItalic.eot');
28
- src: local('Roboto Mono Light Italic'), local('RobotoMono-LightItalic'),
29
- url('RobotoMono-LightItalic.eot?#iefix') format('embedded-opentype'),
30
- url('RobotoMono-LightItalic.woff2') format('woff2'),
31
- url('RobotoMono-LightItalic.woff') format('woff'),
32
- url('RobotoMono-LightItalic.ttf') format('truetype');
33
- font-weight: 300;
34
- font-style: italic;
24
+ font-family: 'Roboto Mono';
25
+ src: url('RobotoMono-LightItalic.ttf');
26
+ src: local('Roboto Mono Light Italic'), local('RobotoMono-LightItalic'),
27
+ url('RobotoMono-LightItalic.woff2') format('woff2'),
28
+ url('RobotoMono-LightItalic.woff') format('woff'),
29
+ url('RobotoMono-LightItalic.ttf') format('truetype');
30
+ font-weight: 300;
31
+ font-style: italic;
35
32
  }
36
33
 
37
34
  @font-face {
38
- font-family: 'Roboto Mono';
39
- src: url('RobotoMono-Italic.eot');
40
- src: local('Roboto Mono Italic'), local('RobotoMono-Italic'),
41
- url('RobotoMono-Italic.eot?#iefix') format('embedded-opentype'),
42
- url('RobotoMono-Italic.woff2') format('woff2'),
43
- url('RobotoMono-Italic.woff') format('woff'),
44
- url('RobotoMono-Italic.ttf') format('truetype');
45
- font-weight: normal;
46
- font-style: italic;
35
+ font-family: 'Roboto Mono';
36
+ src: url('RobotoMono-Italic.ttf');
37
+ src: local('Roboto Mono Italic'), local('RobotoMono-Italic'),
38
+ url('RobotoMono-Italic.woff2') format('woff2'),
39
+ url('RobotoMono-Italic.woff') format('woff'),
40
+ url('RobotoMono-Italic.ttf') format('truetype');
41
+ font-weight: normal;
42
+ font-style: italic;
47
43
  }
48
44
 
49
45
  @font-face {
50
- font-family: 'Roboto Mono';
51
- src: url('RobotoMono-Thin.eot');
52
- src: local('Roboto Mono Thin'), local('RobotoMono-Thin'),
53
- url('RobotoMono-Thin.eot?#iefix') format('embedded-opentype'),
54
- url('RobotoMono-Thin.woff2') format('woff2'),
55
- url('RobotoMono-Thin.woff') format('woff'),
56
- url('RobotoMono-Thin.ttf') format('truetype');
57
- font-weight: 100;
58
- font-style: normal;
46
+ font-family: 'Roboto Mono';
47
+ src: url('RobotoMono-Thin.ttf');
48
+ src: local('Roboto Mono Thin'), local('RobotoMono-Thin'),
49
+ url('RobotoMono-Thin.woff2') format('woff2'),
50
+ url('RobotoMono-Thin.woff') format('woff'),
51
+ url('RobotoMono-Thin.ttf') format('truetype');
52
+ font-weight: 100;
53
+ font-style: normal;
59
54
  }
60
55
 
61
56
  @font-face {
62
- font-family: 'Roboto Mono';
63
- src: url('RobotoMono-Regular.eot');
64
- src: local('Roboto Mono'), local('RobotoMono-Regular'),
65
- url('RobotoMono-Regular.eot?#iefix') format('embedded-opentype'),
66
- url('RobotoMono-Regular.woff2') format('woff2'),
67
- url('RobotoMono-Regular.woff') format('woff'),
68
- url('RobotoMono-Regular.ttf') format('truetype');
69
- font-weight: normal;
70
- font-style: normal;
57
+ font-family: 'Roboto Mono';
58
+ src: url('RobotoMono-Regular.ttf');
59
+ src: local('Roboto Mono'), local('RobotoMono-Regular'),
60
+ url('RobotoMono-Regular.woff2') format('woff2'),
61
+ url('RobotoMono-Regular.woff') format('woff'),
62
+ url('RobotoMono-Regular.ttf') format('truetype');
63
+ font-weight: normal;
64
+ font-style: normal;
71
65
  }
72
66
 
73
67
  @font-face {
74
- font-family: 'Roboto Mono';
75
- src: url('RobotoMono-Medium.eot');
76
- src: local('Roboto Mono Medium'), local('RobotoMono-Medium'),
77
- url('RobotoMono-Medium.eot?#iefix') format('embedded-opentype'),
78
- url('RobotoMono-Medium.woff2') format('woff2'),
79
- url('RobotoMono-Medium.woff') format('woff'),
80
- url('RobotoMono-Medium.ttf') format('truetype');
81
- font-weight: 500;
82
- font-style: normal;
68
+ font-family: 'Roboto Mono';
69
+ src: url('RobotoMono-Medium.ttf');
70
+ src: local('Roboto Mono Medium'), local('RobotoMono-Medium'),
71
+ url('RobotoMono-Medium.woff2') format('woff2'),
72
+ url('RobotoMono-Medium.woff') format('woff'),
73
+ url('RobotoMono-Medium.ttf') format('truetype');
74
+ font-weight: 500;
75
+ font-style: normal;
83
76
  }
84
77
 
85
78
  @font-face {
86
- font-family: 'Roboto Mono';
87
- src: url('RobotoMono-BoldItalic.eot');
88
- src: local('Roboto Mono Bold Italic'), local('RobotoMono-BoldItalic'),
89
- url('RobotoMono-BoldItalic.eot?#iefix') format('embedded-opentype'),
90
- url('RobotoMono-BoldItalic.woff2') format('woff2'),
91
- url('RobotoMono-BoldItalic.woff') format('woff'),
92
- url('RobotoMono-BoldItalic.ttf') format('truetype');
93
- font-weight: bold;
94
- font-style: italic;
79
+ font-family: 'Roboto Mono';
80
+ src: url('RobotoMono-BoldItalic.ttf');
81
+ src: local('Roboto Mono Bold Italic'), local('RobotoMono-BoldItalic'),
82
+ url('RobotoMono-BoldItalic.woff2') format('woff2'),
83
+ url('RobotoMono-BoldItalic.woff') format('woff'),
84
+ url('RobotoMono-BoldItalic.ttf') format('truetype');
85
+ font-weight: bold;
86
+ font-style: italic;
95
87
  }
96
88
 
97
89
  @font-face {
98
- font-family: 'Roboto Mono';
99
- src: url('RobotoMono-MediumItalic.eot');
100
- src: local('Roboto Mono Medium Italic'), local('RobotoMono-MediumItalic'),
101
- url('RobotoMono-MediumItalic.eot?#iefix') format('embedded-opentype'),
102
- url('RobotoMono-MediumItalic.woff2') format('woff2'),
103
- url('RobotoMono-MediumItalic.woff') format('woff'),
104
- url('RobotoMono-MediumItalic.ttf') format('truetype');
105
- font-weight: 500;
106
- font-style: italic;
107
- }
108
-
90
+ font-family: 'Roboto Mono';
91
+ src: url('RobotoMono-MediumItalic.ttf');
92
+ src: local('Roboto Mono Medium Italic'), local('RobotoMono-MediumItalic'),
93
+ url('RobotoMono-MediumItalic.woff2') format('woff2'),
94
+ url('RobotoMono-MediumItalic.woff') format('woff'),
95
+ url('RobotoMono-MediumItalic.ttf') format('truetype');
96
+ font-weight: 500;
97
+ font-style: italic;
98
+ }
@@ -1,4 +1,3 @@
1
- @import '../fonts/RobotoMono/RobotoMono.css'
2
1
  @import './vars'
3
2
  @import './mixin'
4
3
 
@@ -0,0 +1,2 @@
1
+ @import url(./assets/fonts/RobotoMono/RobotoMono.css);
2
+ @import url(./assets/css/app.css);
package/build/index.js CHANGED
@@ -54,7 +54,7 @@ Object.defineProperty(exports, "Widget", {
54
54
 
55
55
  var _react = _interopRequireDefault(require("react"));
56
56
 
57
- require("./assets/sass/index.sass");
57
+ require("./index.css");
58
58
 
59
59
  var _apiStore = _interopRequireDefault(require("./store/apiStore"));
60
60
 
package/package.json CHANGED
@@ -3,19 +3,21 @@
3
3
  "description": "HART Estate widget",
4
4
  "author": "HART",
5
5
  "keywords": [],
6
- "version": "0.0.43",
6
+ "version": "0.0.46",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "module": "build/index.js",
10
+ "type": "module",
10
11
  "files": [
11
12
  "build",
12
13
  "README.md"
13
14
  ],
14
15
  "scripts": {
15
16
  "babel": "babel src --out-dir build --copy-files",
16
- "start": "npm run babel -- --watch",
17
+ "start": "npm run build:sass && npm run babel -- --watch",
17
18
  "start-example": "cd ./example && npm run start",
18
- "build": "rm -rf build && NODE_ENV=production npm run babel",
19
+ "build": "rm -rf build && NODE_ENV=production npm run babel && npm run build:sass",
20
+ "build:sass": "sass src/assets/sass/index.sass:build/assets/css/app.css --style compressed",
19
21
  "local-tunnel": "Lt --port 9000 --subdomain estate-widget --local-host localhost"
20
22
  },
21
23
  "dependencies": {
@@ -52,16 +54,9 @@
52
54
  "webpack-cli": "^4.9.2",
53
55
  "webpack-dev-server": "^4.7.4"
54
56
  },
55
- "browserslist": {
56
- "production": [
57
- ">0.2%",
58
- "not dead",
59
- "not op_mini all"
60
- ],
61
- "development": [
62
- "last 1 chrome version",
63
- "last 1 firefox version",
64
- "last 1 safari version"
65
- ]
66
- }
57
+ "browserslist": [
58
+ ">0.2%",
59
+ "not dead",
60
+ "not op_mini all"
61
+ ]
67
62
  }