@micromag/screen-urbania-horoscope 0.3.425 → 0.3.429
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/assets/css/styles.css +3 -3
- package/es/index.js +3 -5
- package/lib/index.js +118 -163
- package/package.json +24 -15
package/assets/css/styles.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.micromag-screen-urbania-horoscope-sign-card-container{-ms-flex-align:center;-webkit-touch-callout:none;align-items:center;background-color:#1d3af2;border:0;border-radius:10px;display:-ms-flexbox;display:flex;-webkit-filter:drop-shadow(0 0 6px rgba(0,0,0,.7));filter:drop-shadow(0 0 6px rgba(0,0,0,.7));-ms-flex-direction:column;flex-direction:column;height:100%;padding:5px;position:relative;-webkit-transition:-webkit-transform .3s cubic-bezier(.41,1.69,.04,.67);transition:-webkit-transform .3s cubic-bezier(.41,1.69,.04,.67)
|
|
2
|
-
.micromag-screen-urbania-horoscope-sign-modal-modalButton{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:inherit;cursor:pointer;display:inline-block;font-family:inherit;padding:0;position:relative}.micromag-screen-urbania-horoscope-sign-modal-container{height:100%;overflow:hidden;width:100%}.micromag-screen-urbania-horoscope-sign-modal-disabled.micromag-screen-urbania-horoscope-sign-modal-container{overflow:hidden;pointer-events:none}.micromag-screen-urbania-horoscope-sign-modal-hidden.micromag-screen-urbania-horoscope-sign-modal-container{display:none;visibility:hidden}.micromag-screen-urbania-horoscope-sign-modal-placeholder.micromag-screen-urbania-horoscope-sign-modal-container .micromag-screen-urbania-horoscope-sign-modal-content{padding:6px;position:relative}.micromag-screen-urbania-horoscope-sign-modal-container{position:relative}.micromag-screen-urbania-horoscope-sign-modal-modalButton{-webkit-transition:-webkit-transform .3s cubic-bezier(.41,1.69,.04,.67);transition:-webkit-transform .3s cubic-bezier(.41,1.69,.04,.67)
|
|
3
|
-
.micromag-screen-urbania-horoscope-close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:inherit;cursor:pointer;display:inline-block;font-family:inherit;padding:0;position:relative}.micromag-screen-urbania-horoscope-backdrop,.micromag-screen-urbania-horoscope-container .micromag-screen-urbania-horoscope-background,.micromag-screen-urbania-horoscope-signsGridContainer{height:100%;left:0;position:absolute;top:0;width:100%}.micromag-screen-urbania-horoscope-container{height:100%;overflow:hidden;position:relative;width:100%}.micromag-screen-urbania-horoscope-disabled.micromag-screen-urbania-horoscope-container{overflow:hidden;pointer-events:none}.micromag-screen-urbania-horoscope-hidden.micromag-screen-urbania-horoscope-container{display:none;visibility:hidden}.micromag-screen-urbania-horoscope-placeholder.micromag-screen-urbania-horoscope-container .micromag-screen-urbania-horoscope-content{padding:6px;position:relative}.micromag-screen-urbania-horoscope-emptyText,.micromag-screen-urbania-horoscope-emptyTitle{border:2px dashed #343434;color:#343434;margin:5px auto}.micromag-screen-urbania-horoscope-close:focus-visible{outline:3px solid #a13dff;outline-offset:4px}.micromag-screen-urbania-horoscope-container{-ms-touch-action:none;touch-action:none}.micromag-screen-urbania-horoscope-container .micromag-screen-urbania-horoscope-background{z-index:0}.micromag-screen-urbania-horoscope-container .micromag-screen-urbania-horoscope-content{z-index:1}.micromag-screen-urbania-horoscope-container.micromag-screen-urbania-horoscope-isPlaceholder .micromag-screen-urbania-horoscope-layout{padding:10px}.micromag-screen-urbania-horoscope-layout{-ms-flex-align:center;-ms-flex-pack:justify;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;justify-content:space-between;text-align:center}.micromag-screen-urbania-horoscope-placeholderGrid{grid-gap:5px;display:grid;gap:5px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr)}.micromag-screen-urbania-horoscope-placeholderItem{background-color:#6c6c6c;height:1.5em;width:1.5em}.micromag-screen-urbania-horoscope-emptyText,.micromag-screen-urbania-horoscope-emptyTitle{margin:10px auto;width:100%}.micromag-screen-urbania-horoscope-emptyTitle{height:100px}.micromag-screen-urbania-horoscope-emptyText{height:50px}.micromag-screen-urbania-horoscope-headerContainer{width:280px}.micromag-screen-urbania-horoscope-title{-webkit-text-stroke:1px #000f66;color:#0ff;font-family:Agrandir Tight,sans-serif;font-size:48px;font-weight:700;letter-spacing:-1px;text-shadow:-3px -3px 0 #000f66;text-transform:uppercase}.micromag-screen-urbania-horoscope-title,.micromag-screen-urbania-horoscope-titleImage{-webkit-filter:drop-shadow(0 0 6px rgba(0,0,0,.7));filter:drop-shadow(0 0 6px rgba(0,0,0,.7))}.micromag-screen-urbania-horoscope-titleImage{height:auto;width:100%}.micromag-screen-urbania-horoscope-titlePlaceholder{background-color:#343434;padding:10px}.micromag-screen-urbania-horoscope-description{color:#0ff;-webkit-filter:drop-shadow(0 0 3px rgba(0,0,0,.7));filter:drop-shadow(0 0 3px rgba(0,0,0,.7));font-family:Agrandir Tight,sans-serif;font-size:18px;font-weight:700;margin-bottom:8px;padding:10px}.micromag-screen-urbania-horoscope-description p,.micromag-screen-urbania-horoscope-description span{font-weight:700!important}.micromag-screen-urbania-horoscope-descriptionPlaceholder{padding:10px 10px 30px}.micromag-screen-urbania-horoscope-button{background-color:#fffc00;border-radius:24px;-webkit-box-shadow:0 0 0 6px rgba(255,250,0,.6);box-shadow:0 0 0 6px rgba(255,250,0,.6);padding:8px 15px 4px;-webkit-transition:-webkit-box-shadow .2s cubic-bezier(.41,1.69,.04,.67);transition:-webkit-box-shadow .2s cubic-bezier(.41,1.69,.04,.67)
|
|
1
|
+
.micromag-screen-urbania-horoscope-sign-card-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-touch-callout:none;align-items:center;background-color:#1d3af2;border:0;border-radius:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-filter:drop-shadow(0 0 6px rgba(0,0,0,.7));filter:drop-shadow(0 0 6px rgba(0,0,0,.7));-ms-flex-direction:column;flex-direction:column;height:100%;padding:5px;position:relative;-webkit-transition:-webkit-transform .3s cubic-bezier(.41,1.69,.04,.67);transition:-webkit-transform .3s cubic-bezier(.41,1.69,.04,.67);transition:transform .3s cubic-bezier(.41,1.69,.04,.67);transition:transform .3s cubic-bezier(.41,1.69,.04,.67),-webkit-transform .3s cubic-bezier(.41,1.69,.04,.67);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.micromag-screen-urbania-horoscope-sign-card-container:hover{-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05);z-index:2}.micromag-screen-urbania-horoscope-sign-card-container:active{-webkit-transform:scale(.95);-ms-transform:scale(.95);transform:scale(.95)}.micromag-screen-urbania-horoscope-sign-card-placeholder{background-color:#b3b3b3;height:30px;margin:1px;width:30px}.micromag-screen-urbania-horoscope-sign-card-thumbnail{max-height:50px;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.micromag-screen-urbania-horoscope-sign-card-name{background-color:#fffc00;border-radius:24px;-webkit-box-shadow:0 0 0 2px rgba(255,250,0,.6);box-shadow:0 0 0 2px rgba(255,250,0,.6);color:#222;font-family:Agrandir Tight,sans-serif;font-size:12px;font-weight:700;margin-bottom:.4rem!important;padding:2px 5px 0!important;width:100%}.micromag-screen-urbania-horoscope-sign-card-date{color:#fffa00;font-family:Agrandir,sans-serif;font-size:8px}.micromag-screen-urbania-horoscope-sign-card-arrow{display:inline-block;font-size:20px;padding-bottom:2px;padding-right:5px;vertical-align:middle}.micromag-screen-urbania-horoscope-sign-card-emptyText{margin-top:5px;padding:10px;width:100%}
|
|
2
|
+
.micromag-screen-urbania-horoscope-sign-modal-modalButton{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:inherit;cursor:pointer;display:inline-block;font-family:inherit;padding:0;position:relative}.micromag-screen-urbania-horoscope-sign-modal-container{height:100%;overflow:hidden;width:100%}.micromag-screen-urbania-horoscope-sign-modal-disabled.micromag-screen-urbania-horoscope-sign-modal-container{overflow:hidden;pointer-events:none}.micromag-screen-urbania-horoscope-sign-modal-hidden.micromag-screen-urbania-horoscope-sign-modal-container{display:none;visibility:hidden}.micromag-screen-urbania-horoscope-sign-modal-placeholder.micromag-screen-urbania-horoscope-sign-modal-container .micromag-screen-urbania-horoscope-sign-modal-content{padding:6px;position:relative}.micromag-screen-urbania-horoscope-sign-modal-container{position:relative}.micromag-screen-urbania-horoscope-sign-modal-modalButton{-webkit-transition:-webkit-transform .3s cubic-bezier(.41,1.69,.04,.67);transition:-webkit-transform .3s cubic-bezier(.41,1.69,.04,.67);transition:transform .3s cubic-bezier(.41,1.69,.04,.67);transition:transform .3s cubic-bezier(.41,1.69,.04,.67),-webkit-transform .3s cubic-bezier(.41,1.69,.04,.67)}.micromag-screen-urbania-horoscope-sign-modal-modalButton:active{-webkit-transform:scale(.95);-ms-transform:scale(.95);transform:scale(.95)}.micromag-screen-urbania-horoscope-sign-modal-modal{background-color:#0ff;border-radius:22px;-webkit-box-shadow:0 0 4px #010f66;box-shadow:0 0 4px #010f66;color:#1d3af2;margin:52px 18px 30px;padding:10px}.micromag-screen-urbania-horoscope-sign-modal-name{font-family:Agrandir Tight,sans-serif;font-weight:900;padding:7px auto 5px;text-transform:uppercase}.micromag-screen-urbania-horoscope-sign-modal-wordContainer{border:1px solid #1d3af2;border-radius:9px;margin-bottom:5px;padding:6px 6px 3px;text-transform:uppercase}.micromag-screen-urbania-horoscope-sign-modal-wordOfTheWeek{font-family:Agrandir Tight,sans-serif;font-size:8px;font-weight:500;letter-spacing:.03rem;padding-bottom:2px}.micromag-screen-urbania-horoscope-sign-modal-word{font-family:Agrandir Narrow,sans-serif;font-size:16px;font-weight:700}.micromag-screen-urbania-horoscope-sign-modal-description{font-family:Roboto,sans-serif;font-size:12px;line-height:1.2;padding-bottom:5px}.micromag-screen-urbania-horoscope-sign-modal-description p{margin-bottom:1em}.micromag-screen-urbania-horoscope-sign-modal-description p:last-child{margin-bottom:0}.micromag-screen-urbania-horoscope-sign-modal-illustration{height:auto;margin:0 auto;pointer-events:none;width:75%}.micromag-screen-urbania-horoscope-sign-modal-arrow{font-size:20px;padding-right:5px;vertical-align:middle}
|
|
3
|
+
.micromag-screen-urbania-horoscope-close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:inherit;cursor:pointer;display:inline-block;font-family:inherit;padding:0;position:relative}.micromag-screen-urbania-horoscope-backdrop,.micromag-screen-urbania-horoscope-container .micromag-screen-urbania-horoscope-background,.micromag-screen-urbania-horoscope-signsGridContainer{height:100%;left:0;position:absolute;top:0;width:100%}.micromag-screen-urbania-horoscope-container{height:100%;overflow:hidden;position:relative;width:100%}.micromag-screen-urbania-horoscope-disabled.micromag-screen-urbania-horoscope-container{overflow:hidden;pointer-events:none}.micromag-screen-urbania-horoscope-hidden.micromag-screen-urbania-horoscope-container{display:none;visibility:hidden}.micromag-screen-urbania-horoscope-placeholder.micromag-screen-urbania-horoscope-container .micromag-screen-urbania-horoscope-content{padding:6px;position:relative}.micromag-screen-urbania-horoscope-emptyText,.micromag-screen-urbania-horoscope-emptyTitle{border:2px dashed #343434;color:#343434;margin:5px auto}.micromag-screen-urbania-horoscope-close.micromag-screen-urbania-horoscope-focus-visible{outline:3px solid #a13dff;outline-offset:4px}.micromag-screen-urbania-horoscope-close:focus-visible{outline:3px solid #a13dff;outline-offset:4px}.micromag-screen-urbania-horoscope-container{-ms-touch-action:none;touch-action:none}.micromag-screen-urbania-horoscope-container .micromag-screen-urbania-horoscope-background{z-index:0}.micromag-screen-urbania-horoscope-container .micromag-screen-urbania-horoscope-content{z-index:1}.micromag-screen-urbania-horoscope-container.micromag-screen-urbania-horoscope-isPlaceholder .micromag-screen-urbania-horoscope-layout{padding:10px}.micromag-screen-urbania-horoscope-layout{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;justify-content:space-between;text-align:center}.micromag-screen-urbania-horoscope-placeholderGrid{grid-gap:5px;display:grid;gap:5px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr)}.micromag-screen-urbania-horoscope-placeholderItem{background-color:#6c6c6c;height:1.5em;width:1.5em}.micromag-screen-urbania-horoscope-emptyText,.micromag-screen-urbania-horoscope-emptyTitle{margin:10px auto;width:100%}.micromag-screen-urbania-horoscope-emptyTitle{height:100px}.micromag-screen-urbania-horoscope-emptyText{height:50px}.micromag-screen-urbania-horoscope-headerContainer{width:280px}.micromag-screen-urbania-horoscope-title{-webkit-text-stroke:1px #000f66;color:#0ff;font-family:Agrandir Tight,sans-serif;font-size:48px;font-weight:700;letter-spacing:-1px;text-shadow:-3px -3px 0 #000f66;text-transform:uppercase}.micromag-screen-urbania-horoscope-title,.micromag-screen-urbania-horoscope-titleImage{-webkit-filter:drop-shadow(0 0 6px rgba(0,0,0,.7));filter:drop-shadow(0 0 6px rgba(0,0,0,.7))}.micromag-screen-urbania-horoscope-titleImage{height:auto;width:100%}.micromag-screen-urbania-horoscope-titlePlaceholder{background-color:#343434;padding:10px}.micromag-screen-urbania-horoscope-description{color:#0ff;-webkit-filter:drop-shadow(0 0 3px rgba(0,0,0,.7));filter:drop-shadow(0 0 3px rgba(0,0,0,.7));font-family:Agrandir Tight,sans-serif;font-size:18px;font-weight:700;margin-bottom:8px;padding:10px}.micromag-screen-urbania-horoscope-description p,.micromag-screen-urbania-horoscope-description span{font-weight:700!important}.micromag-screen-urbania-horoscope-descriptionPlaceholder{padding:10px 10px 30px}.micromag-screen-urbania-horoscope-button{background-color:#fffc00;border-radius:24px;-webkit-box-shadow:0 0 0 6px rgba(255,250,0,.6);box-shadow:0 0 0 6px rgba(255,250,0,.6);padding:8px 15px 4px;-webkit-transition:-webkit-box-shadow .2s cubic-bezier(.41,1.69,.04,.67);transition:-webkit-box-shadow .2s cubic-bezier(.41,1.69,.04,.67);transition:box-shadow .2s cubic-bezier(.41,1.69,.04,.67);transition:box-shadow .2s cubic-bezier(.41,1.69,.04,.67),-webkit-box-shadow .2s cubic-bezier(.41,1.69,.04,.67)}.micromag-screen-urbania-horoscope-button:hover{-webkit-box-shadow:0 0 0 12px rgba(255,250,0,.6);box-shadow:0 0 0 12px rgba(255,250,0,.6)}.micromag-screen-urbania-horoscope-button:active{-webkit-box-shadow:0 0 0 3px rgba(255,250,0,.3);box-shadow:0 0 0 3px rgba(255,250,0,.3)}.micromag-screen-urbania-horoscope-buttonLabel{color:#000;font-family:Agrandir Tight,sans-serif;font-size:22px;font-weight:700;letter-spacing:.03rem}.micromag-screen-urbania-horoscope-header{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.75)),to(rgba(0,0,0,0)));background-image:linear-gradient(rgba(0,0,0,.75),rgba(0,0,0,0));left:0;padding:10px;position:fixed;top:0;width:100%;z-index:4}.micromag-screen-urbania-horoscope-buttons,.micromag-screen-urbania-horoscope-header{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.micromag-screen-urbania-horoscope-buttons{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;position:relative}.micromag-screen-urbania-horoscope-close{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:700;margin-left:auto}.micromag-screen-urbania-horoscope-signsGridContainer{padding:2.5rem 1rem;-ms-touch-action:none;touch-action:none;z-index:3}.micromag-screen-urbania-horoscope-signsGridContainer.micromag-screen-urbania-horoscope-isPlaceholder{padding:0}.micromag-screen-urbania-horoscope-signs{-webkit-box-pack:justify;-ms-flex-pack:justify;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:space-between}.micromag-screen-urbania-horoscope-author{color:#0ff;-webkit-filter:drop-shadow(0 0 3px rgba(0,0,0,.7));filter:drop-shadow(0 0 3px rgba(0,0,0,.7));margin:5px auto 0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.micromag-screen-urbania-horoscope-collaborator{color:#0ff}.micromag-screen-urbania-horoscope-authorBackground{background-color:#161719!important}.micromag-screen-urbania-horoscope-authorBackground p{font-weight:400!important;text-transform:none!important}.micromag-screen-urbania-horoscope-modal{height:100%;left:0;position:fixed;right:0;top:0;-ms-touch-action:none;touch-action:none;width:100%;z-index:6}.micromag-screen-urbania-horoscope-backdrop{background-color:rgba(0,0,0,.75);pointer-events:none;z-index:1}.micromag-screen-urbania-horoscope-backdropVideo{pointer-events:none}
|
package/es/index.js
CHANGED
|
@@ -359,7 +359,6 @@ var defaultProps$1 = {
|
|
|
359
359
|
className: null
|
|
360
360
|
};
|
|
361
361
|
var SignModal = function SignModal(_ref) {
|
|
362
|
-
var _ref3;
|
|
363
362
|
var width = _ref.width,
|
|
364
363
|
height = _ref.height,
|
|
365
364
|
sign = _ref.sign,
|
|
@@ -389,7 +388,7 @@ var SignModal = function SignModal(_ref) {
|
|
|
389
388
|
return /*#__PURE__*/React.createElement(Container, {
|
|
390
389
|
width: width,
|
|
391
390
|
height: height,
|
|
392
|
-
className: classNames([styles$1.container, (
|
|
391
|
+
className: classNames([styles$1.container, _defineProperty(_defineProperty({}, styles$1.withoutTransitions, transitionDisabled), className, className !== null)])
|
|
393
392
|
}, /*#__PURE__*/React.createElement("button", {
|
|
394
393
|
type: "button",
|
|
395
394
|
className: styles$1.modalButton,
|
|
@@ -430,7 +429,7 @@ var SignModal = function SignModal(_ref) {
|
|
|
430
429
|
SignModal.propTypes = propTypes$1;
|
|
431
430
|
SignModal.defaultProps = defaultProps$1;
|
|
432
431
|
|
|
433
|
-
var styles = {"close":"micromag-screen-urbania-horoscope-close","backdrop":"micromag-screen-urbania-horoscope-backdrop","signsGridContainer":"micromag-screen-urbania-horoscope-signsGridContainer","container":"micromag-screen-urbania-horoscope-container","background":"micromag-screen-urbania-horoscope-background","disabled":"micromag-screen-urbania-horoscope-disabled","hidden":"micromag-screen-urbania-horoscope-hidden","placeholder":"micromag-screen-urbania-horoscope-placeholder","content":"micromag-screen-urbania-horoscope-content","emptyTitle":"micromag-screen-urbania-horoscope-emptyTitle","emptyText":"micromag-screen-urbania-horoscope-emptyText","isPlaceholder":"micromag-screen-urbania-horoscope-isPlaceholder","layout":"micromag-screen-urbania-horoscope-layout","placeholderGrid":"micromag-screen-urbania-horoscope-placeholderGrid","placeholderItem":"micromag-screen-urbania-horoscope-placeholderItem","headerContainer":"micromag-screen-urbania-horoscope-headerContainer","title":"micromag-screen-urbania-horoscope-title","titleImage":"micromag-screen-urbania-horoscope-titleImage","titlePlaceholder":"micromag-screen-urbania-horoscope-titlePlaceholder","description":"micromag-screen-urbania-horoscope-description","descriptionPlaceholder":"micromag-screen-urbania-horoscope-descriptionPlaceholder","button":"micromag-screen-urbania-horoscope-button","buttonLabel":"micromag-screen-urbania-horoscope-buttonLabel","header":"micromag-screen-urbania-horoscope-header","buttons":"micromag-screen-urbania-horoscope-buttons","signs":"micromag-screen-urbania-horoscope-signs","author":"micromag-screen-urbania-horoscope-author","collaborator":"micromag-screen-urbania-horoscope-collaborator","authorBackground":"micromag-screen-urbania-horoscope-authorBackground","modal":"micromag-screen-urbania-horoscope-modal","backdropVideo":"micromag-screen-urbania-horoscope-backdropVideo"};
|
|
432
|
+
var styles = {"close":"micromag-screen-urbania-horoscope-close","backdrop":"micromag-screen-urbania-horoscope-backdrop","signsGridContainer":"micromag-screen-urbania-horoscope-signsGridContainer","container":"micromag-screen-urbania-horoscope-container","background":"micromag-screen-urbania-horoscope-background","disabled":"micromag-screen-urbania-horoscope-disabled","hidden":"micromag-screen-urbania-horoscope-hidden","placeholder":"micromag-screen-urbania-horoscope-placeholder","content":"micromag-screen-urbania-horoscope-content","emptyTitle":"micromag-screen-urbania-horoscope-emptyTitle","emptyText":"micromag-screen-urbania-horoscope-emptyText","focus-visible":"micromag-screen-urbania-horoscope-focus-visible","isPlaceholder":"micromag-screen-urbania-horoscope-isPlaceholder","layout":"micromag-screen-urbania-horoscope-layout","placeholderGrid":"micromag-screen-urbania-horoscope-placeholderGrid","placeholderItem":"micromag-screen-urbania-horoscope-placeholderItem","headerContainer":"micromag-screen-urbania-horoscope-headerContainer","title":"micromag-screen-urbania-horoscope-title","titleImage":"micromag-screen-urbania-horoscope-titleImage","titlePlaceholder":"micromag-screen-urbania-horoscope-titlePlaceholder","description":"micromag-screen-urbania-horoscope-description","descriptionPlaceholder":"micromag-screen-urbania-horoscope-descriptionPlaceholder","button":"micromag-screen-urbania-horoscope-button","buttonLabel":"micromag-screen-urbania-horoscope-buttonLabel","header":"micromag-screen-urbania-horoscope-header","buttons":"micromag-screen-urbania-horoscope-buttons","signs":"micromag-screen-urbania-horoscope-signs","author":"micromag-screen-urbania-horoscope-author","collaborator":"micromag-screen-urbania-horoscope-collaborator","authorBackground":"micromag-screen-urbania-horoscope-authorBackground","modal":"micromag-screen-urbania-horoscope-modal","backdropVideo":"micromag-screen-urbania-horoscope-backdropVideo"};
|
|
434
433
|
|
|
435
434
|
var Astrologie = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20906.64%20139.48%22%3E%20%20%20%20%3Cpath%20d%3D%22M35.88%2C4.42h35.5l34.66%2C119.78h-28.43l-5.89-23.72H35.55l-6.22%2C23.72H1.4L35.88%2C4.42Zm31.8%2C75.54l-13.63-52.15h-.34l-14.13%2C52.15h28.09Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M123.37%2C122.51c-6.84-3.36-12.17-8.13-15.98-14.3-3.81-6.17-5.78-13.34-5.89-21.53l26.24-4.21c0%2C7.07%2C1.96%2C12.73%2C5.89%2C16.99%2C3.92%2C4.26%2C8.92%2C6.39%2C14.97%2C6.39%2C4.82%2C0%2C8.72-1.29%2C11.69-3.87%2C2.97-2.58%2C4.46-5.89%2C4.46-9.92%2C0-3.37-1.15-6.2-3.45-8.5-2.3-2.3-6.03-4.34-11.19-6.14l-14.64-4.71c-10.66-3.25-18.37-7.68-23.13-13.29-4.77-5.61-7.15-13.01-7.15-22.21%2C0-10.88%2C3.53-19.63%2C10.6-26.24%2C7.07-6.62%2C16.99-9.93%2C29.78-9.93%2C11.89%2C0%2C21.48%2C3.23%2C28.77%2C9.67%2C7.29%2C6.45%2C11.05%2C15.17%2C11.27%2C26.16l-25.57%2C4.88c.11-5.83-1.24-10.51-4.04-14.05-2.8-3.53-6.45-5.3-10.94-5.3-3.93%2C0-7.12%2C1.21-9.59%2C3.62-2.47%2C2.41-3.7%2C5.47-3.7%2C9.17s1.15%2C6.54%2C3.45%2C8.83c2.3%2C2.3%2C6.08%2C4.23%2C11.36%2C5.8l13.96%2C4.71c10.88%2C3.25%2C18.76%2C7.66%2C23.64%2C13.21s7.32%2C12.93%2C7.32%2C22.12c0%2C7.29-1.74%2C13.79-5.22%2C19.51-3.48%2C5.72-8.52%2C10.18-15.14%2C13.38-6.62%2C3.2-14.58%2C4.79-23.89%2C4.79s-17.05-1.68-23.89-5.05Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M213.03%2C28.64h-28.26V4.42h84.96V28.64h-28.26V124.2h-28.43V28.64Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M335.5%2C122.35c-3.59-3.25-5.95-7.63-7.07-13.12l-5.05-21.37c-.79-2.92-2.19-5.3-4.21-7.15s-4.26-2.78-6.73-2.78h-10.09v46.26h-28.26V4.42h46.1c8.86%2C0%2C16.6%2C1.54%2C23.22%2C4.63%2C6.62%2C3.09%2C11.72%2C7.46%2C15.31%2C13.12%2C3.59%2C5.66%2C5.38%2C12.31%2C5.38%2C19.94%2C0%2C7.18-2.08%2C13.6-6.22%2C19.26-4.15%2C5.67-9.76%2C9.51-16.82%2C11.52v.17c2.8%2C1.24%2C4.96%2C3%2C6.48%2C5.3%2C1.51%2C2.3%2C2.66%2C5.13%2C3.45%2C8.5l3.53%2C15.48c.67%2C3.7%2C2.19%2C5.55%2C4.54%2C5.55%2C2.13%2C0%2C4.15-1.29%2C6.06-3.87l6.73%2C13.63c-2.8%2C2.92-6.2%2C5.24-10.18%2C6.98-3.98%2C1.74-8.05%2C2.61-12.2%2C2.61-5.72%2C0-10.38-1.63-13.96-4.88Zm-16.82-64.26c5.05%2C0%2C9.14-1.46%2C12.28-4.37%2C3.14-2.92%2C4.71-6.78%2C4.71-11.61%2C0-5.16-1.54-9.17-4.63-12.03-3.09-2.86-7.21-4.29-12.37-4.29h-16.32V58.08h16.32Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M396.23%2C119.74c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M489.26%2C4.42h28.26V99.97h37.68v24.23h-65.95V4.42Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M580.28%2C119.74c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M693.75%2C119.65c-7.68-5.05-13.6-12.31-17.75-21.79-4.15-9.48-6.22-20.66-6.22-33.56s2.21-24.25%2C6.65-33.73c4.43-9.48%2C10.77-16.77%2C19.01-21.87%2C8.24-5.1%2C17.97-7.65%2C29.19-7.65s21.53%2C3.28%2C29.95%2C9.84c8.41%2C6.56%2C14.19%2C15.56%2C17.33%2C27l-26.58%2C5.72c-1.8-5.72-4.54-10.2-8.24-13.46-3.7-3.25-7.96-4.88-12.79-4.88-8.08%2C0-14.44%2C3.42-19.09%2C10.26-4.66%2C6.84-6.98%2C16.21-6.98%2C28.09s2.63%2C21.84%2C7.91%2C28.85c5.27%2C7.01%2C12.5%2C10.51%2C21.7%2C10.51%2C8.19%2C0%2C14.66-2.49%2C19.43-7.49%2C4.77-4.99%2C7.26-11.92%2C7.49-20.78h-37.18v-18.51h64.26V124.2h-20.86l-1.68-18.67h-.17c-3.93%2C6.73-9.31%2C12.03-16.15%2C15.9-6.84%2C3.87-14.19%2C5.8-22.04%2C5.8-10.43%2C0-19.49-2.52-27.17-7.57Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M789.56%2C4.42h28.26V124.2h-28.26V4.42Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M827.74%2C4.42h68.81V27.13h-41.55v25.57h34.82v20.19h-34.82v28.6h43.24v22.71h-70.49V4.42Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M43.24%2C15.29h35.5l34.66%2C119.78h-28.43l-5.89-23.72H42.91l-6.22%2C23.72H8.76L43.24%2C15.29Zm31.8%2C75.54l-13.63-52.15h-.34l-14.13%2C52.15h28.09Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M130.73%2C133.38c-6.84-3.36-12.17-8.13-15.98-14.3-3.81-6.17-5.78-13.34-5.89-21.53l26.24-4.21c0%2C7.07%2C1.96%2C12.73%2C5.89%2C16.99%2C3.92%2C4.26%2C8.92%2C6.39%2C14.97%2C6.39%2C4.82%2C0%2C8.72-1.29%2C11.69-3.87%2C2.97-2.58%2C4.46-5.89%2C4.46-9.92%2C0-3.37-1.15-6.2-3.45-8.5-2.3-2.3-6.03-4.34-11.19-6.14l-14.64-4.71c-10.66-3.25-18.37-7.68-23.13-13.29-4.77-5.61-7.15-13.01-7.15-22.21%2C0-10.88%2C3.53-19.63%2C10.6-26.24%2C7.07-6.62%2C16.99-9.93%2C29.78-9.93%2C11.89%2C0%2C21.48%2C3.23%2C28.77%2C9.67%2C7.29%2C6.45%2C11.05%2C15.17%2C11.27%2C26.16l-25.57%2C4.88c.11-5.83-1.24-10.51-4.04-14.05-2.8-3.53-6.45-5.3-10.94-5.3-3.93%2C0-7.12%2C1.21-9.59%2C3.62-2.47%2C2.41-3.7%2C5.47-3.7%2C9.17s1.15%2C6.54%2C3.45%2C8.83c2.3%2C2.3%2C6.08%2C4.23%2C11.36%2C5.8l13.96%2C4.71c10.88%2C3.25%2C18.76%2C7.66%2C23.64%2C13.21s7.32%2C12.93%2C7.32%2C22.12c0%2C7.29-1.74%2C13.79-5.22%2C19.51-3.48%2C5.72-8.52%2C10.18-15.14%2C13.38-6.62%2C3.2-14.58%2C4.79-23.89%2C4.79s-17.05-1.68-23.89-5.05Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M220.39%2C39.51h-28.26V15.29h84.96v24.23h-28.26v95.56h-28.43V39.51Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M342.86%2C133.22c-3.59-3.25-5.95-7.63-7.07-13.12l-5.05-21.37c-.79-2.92-2.19-5.3-4.21-7.15s-4.26-2.78-6.73-2.78h-10.09v46.26h-28.26V15.29h46.1c8.86%2C0%2C16.6%2C1.54%2C23.22%2C4.63%2C6.62%2C3.09%2C11.72%2C7.46%2C15.31%2C13.12%2C3.59%2C5.66%2C5.38%2C12.31%2C5.38%2C19.94%2C0%2C7.18-2.08%2C13.6-6.22%2C19.26-4.15%2C5.67-9.76%2C9.51-16.82%2C11.52v.17c2.8%2C1.24%2C4.96%2C3%2C6.48%2C5.3%2C1.51%2C2.3%2C2.66%2C5.13%2C3.45%2C8.5l3.53%2C15.48c.67%2C3.7%2C2.19%2C5.55%2C4.54%2C5.55%2C2.13%2C0%2C4.15-1.29%2C6.06-3.87l6.73%2C13.63c-2.8%2C2.92-6.2%2C5.24-10.18%2C6.98-3.98%2C1.74-8.05%2C2.61-12.2%2C2.61-5.72%2C0-10.38-1.63-13.96-4.88Zm-16.82-64.26c5.05%2C0%2C9.14-1.46%2C12.28-4.37%2C3.14-2.92%2C4.71-6.78%2C4.71-11.61%2C0-5.16-1.54-9.17-4.63-12.03-3.09-2.86-7.21-4.29-12.37-4.29h-16.32v32.3h16.32Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M403.59%2C130.61c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M496.62%2C15.29h28.26V110.84h37.68v24.23h-65.95V15.29Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M587.64%2C130.61c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M701.11%2C130.53c-7.68-5.05-13.6-12.31-17.75-21.79-4.15-9.48-6.22-20.66-6.22-33.56s2.21-24.25%2C6.65-33.73c4.43-9.48%2C10.77-16.77%2C19.01-21.87%2C8.24-5.1%2C17.97-7.65%2C29.19-7.65s21.53%2C3.28%2C29.95%2C9.84c8.41%2C6.56%2C14.19%2C15.56%2C17.33%2C27l-26.58%2C5.72c-1.8-5.72-4.54-10.2-8.24-13.46-3.7-3.25-7.96-4.88-12.79-4.88-8.08%2C0-14.44%2C3.42-19.09%2C10.26-4.66%2C6.84-6.98%2C16.21-6.98%2C28.09s2.63%2C21.84%2C7.91%2C28.85c5.27%2C7.01%2C12.5%2C10.51%2C21.7%2C10.51%2C8.19%2C0%2C14.66-2.49%2C19.43-7.49%2C4.77-4.99%2C7.26-11.92%2C7.49-20.78h-37.18v-18.51h64.26v67.97h-20.86l-1.68-18.67h-.17c-3.93%2C6.73-9.31%2C12.03-16.15%2C15.9-6.84%2C3.87-14.19%2C5.8-22.04%2C5.8-10.43%2C0-19.49-2.52-27.17-7.57Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M796.92%2C15.29h28.26v119.78h-28.26V15.29Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M835.1%2C15.29h68.81v22.71h-41.55v25.57h34.82v20.19h-34.82v28.6h43.24v22.71h-70.49V15.29Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%3C%2Fsvg%3E";
|
|
436
435
|
|
|
@@ -509,7 +508,6 @@ var defaultProps = {
|
|
|
509
508
|
className: null
|
|
510
509
|
};
|
|
511
510
|
var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
512
|
-
var _ref7;
|
|
513
511
|
var defaultSigns = _ref.defaultSigns,
|
|
514
512
|
signsValue = _ref.signs,
|
|
515
513
|
title = _ref.title,
|
|
@@ -748,7 +746,7 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
748
746
|
};
|
|
749
747
|
}, [showModal, onCloseModal, showSignsGrid, onCloseSignsGrid]);
|
|
750
748
|
return /*#__PURE__*/React.createElement("div", Object.assign({
|
|
751
|
-
className: classNames([styles.container, (
|
|
749
|
+
className: classNames([styles.container, _defineProperty(_defineProperty({}, className, className !== null), styles.isPlaceholder, isPlaceholder)]),
|
|
752
750
|
"data-screen-ready": true
|
|
753
751
|
}, showSignsGrid ? stopDragEventsPropagation : null), !isView ? /*#__PURE__*/React.createElement("div", mouseBlocker) : null, /*#__PURE__*/React.createElement(Container, {
|
|
754
752
|
width: width,
|
package/lib/index.js
CHANGED
|
@@ -50,53 +50,10 @@ var taurusThumbnail = require('../assets/images/822018b354054d62.png');
|
|
|
50
50
|
var virgoThumbnail = require('../assets/images/b3e1e35461e78e82.png');
|
|
51
51
|
var Scroll = require('@micromag/element-scroll');
|
|
52
52
|
|
|
53
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
54
|
-
|
|
55
|
-
var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
|
|
56
|
-
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
57
|
-
var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray);
|
|
58
|
-
var _objectSpread__default = /*#__PURE__*/_interopDefaultLegacy(_objectSpread);
|
|
59
|
-
var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
60
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
61
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
62
|
-
var Background__default = /*#__PURE__*/_interopDefaultLegacy(Background);
|
|
63
|
-
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
64
|
-
var Container__default = /*#__PURE__*/_interopDefaultLegacy(Container);
|
|
65
|
-
var Heading__default = /*#__PURE__*/_interopDefaultLegacy(Heading);
|
|
66
|
-
var Keypad__default = /*#__PURE__*/_interopDefaultLegacy(Keypad);
|
|
67
|
-
var Layout__default = /*#__PURE__*/_interopDefaultLegacy(Layout);
|
|
68
|
-
var Text__default = /*#__PURE__*/_interopDefaultLegacy(Text);
|
|
69
|
-
var Author__default = /*#__PURE__*/_interopDefaultLegacy(Author);
|
|
70
|
-
var aquarius__default = /*#__PURE__*/_interopDefaultLegacy(aquarius);
|
|
71
|
-
var aries__default = /*#__PURE__*/_interopDefaultLegacy(aries);
|
|
72
|
-
var cancer__default = /*#__PURE__*/_interopDefaultLegacy(cancer);
|
|
73
|
-
var capricorn__default = /*#__PURE__*/_interopDefaultLegacy(capricorn);
|
|
74
|
-
var gemini__default = /*#__PURE__*/_interopDefaultLegacy(gemini);
|
|
75
|
-
var leo__default = /*#__PURE__*/_interopDefaultLegacy(leo);
|
|
76
|
-
var libra__default = /*#__PURE__*/_interopDefaultLegacy(libra);
|
|
77
|
-
var pisces__default = /*#__PURE__*/_interopDefaultLegacy(pisces);
|
|
78
|
-
var sagittarius__default = /*#__PURE__*/_interopDefaultLegacy(sagittarius);
|
|
79
|
-
var scorpio__default = /*#__PURE__*/_interopDefaultLegacy(scorpio);
|
|
80
|
-
var taurus__default = /*#__PURE__*/_interopDefaultLegacy(taurus);
|
|
81
|
-
var virgo__default = /*#__PURE__*/_interopDefaultLegacy(virgo);
|
|
82
|
-
var aquariusThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(aquariusThumbnail);
|
|
83
|
-
var ariesThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(ariesThumbnail);
|
|
84
|
-
var cancerThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(cancerThumbnail);
|
|
85
|
-
var capricornThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(capricornThumbnail);
|
|
86
|
-
var geminiThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(geminiThumbnail);
|
|
87
|
-
var leoThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(leoThumbnail);
|
|
88
|
-
var libraThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(libraThumbnail);
|
|
89
|
-
var piscesThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(piscesThumbnail);
|
|
90
|
-
var sagittariusThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(sagittariusThumbnail);
|
|
91
|
-
var scorpioThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(scorpioThumbnail);
|
|
92
|
-
var taurusThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(taurusThumbnail);
|
|
93
|
-
var virgoThumbnail__default = /*#__PURE__*/_interopDefaultLegacy(virgoThumbnail);
|
|
94
|
-
var Scroll__default = /*#__PURE__*/_interopDefaultLegacy(Scroll);
|
|
95
|
-
|
|
96
53
|
var signs = [{
|
|
97
54
|
id: 'aries',
|
|
98
|
-
image:
|
|
99
|
-
thumbnail:
|
|
55
|
+
image: aries,
|
|
56
|
+
thumbnail: ariesThumbnail,
|
|
100
57
|
label: reactIntl.defineMessage({
|
|
101
58
|
id: "/PJA/1",
|
|
102
59
|
defaultMessage: [{
|
|
@@ -113,8 +70,8 @@ var signs = [{
|
|
|
113
70
|
})
|
|
114
71
|
}, {
|
|
115
72
|
id: 'taurus',
|
|
116
|
-
image:
|
|
117
|
-
thumbnail:
|
|
73
|
+
image: taurus,
|
|
74
|
+
thumbnail: taurusThumbnail,
|
|
118
75
|
label: reactIntl.defineMessage({
|
|
119
76
|
id: "XKcyqx",
|
|
120
77
|
defaultMessage: [{
|
|
@@ -131,8 +88,8 @@ var signs = [{
|
|
|
131
88
|
})
|
|
132
89
|
}, {
|
|
133
90
|
id: 'gemini',
|
|
134
|
-
image:
|
|
135
|
-
thumbnail:
|
|
91
|
+
image: gemini,
|
|
92
|
+
thumbnail: geminiThumbnail,
|
|
136
93
|
label: reactIntl.defineMessage({
|
|
137
94
|
id: "4g35M0",
|
|
138
95
|
defaultMessage: [{
|
|
@@ -149,8 +106,8 @@ var signs = [{
|
|
|
149
106
|
})
|
|
150
107
|
}, {
|
|
151
108
|
id: 'cancer',
|
|
152
|
-
image:
|
|
153
|
-
thumbnail:
|
|
109
|
+
image: cancer,
|
|
110
|
+
thumbnail: cancerThumbnail,
|
|
154
111
|
label: reactIntl.defineMessage({
|
|
155
112
|
id: "0acGK7",
|
|
156
113
|
defaultMessage: [{
|
|
@@ -167,8 +124,8 @@ var signs = [{
|
|
|
167
124
|
})
|
|
168
125
|
}, {
|
|
169
126
|
id: 'leo',
|
|
170
|
-
image:
|
|
171
|
-
thumbnail:
|
|
127
|
+
image: leo,
|
|
128
|
+
thumbnail: leoThumbnail,
|
|
172
129
|
label: reactIntl.defineMessage({
|
|
173
130
|
id: "EEUc6n",
|
|
174
131
|
defaultMessage: [{
|
|
@@ -185,8 +142,8 @@ var signs = [{
|
|
|
185
142
|
})
|
|
186
143
|
}, {
|
|
187
144
|
id: 'virgo',
|
|
188
|
-
image:
|
|
189
|
-
thumbnail:
|
|
145
|
+
image: virgo,
|
|
146
|
+
thumbnail: virgoThumbnail,
|
|
190
147
|
label: reactIntl.defineMessage({
|
|
191
148
|
id: "6bd963",
|
|
192
149
|
defaultMessage: [{
|
|
@@ -203,8 +160,8 @@ var signs = [{
|
|
|
203
160
|
})
|
|
204
161
|
}, {
|
|
205
162
|
id: 'libra',
|
|
206
|
-
image:
|
|
207
|
-
thumbnail:
|
|
163
|
+
image: libra,
|
|
164
|
+
thumbnail: libraThumbnail,
|
|
208
165
|
label: reactIntl.defineMessage({
|
|
209
166
|
id: "M/FGRs",
|
|
210
167
|
defaultMessage: [{
|
|
@@ -221,8 +178,8 @@ var signs = [{
|
|
|
221
178
|
})
|
|
222
179
|
}, {
|
|
223
180
|
id: 'scorpio',
|
|
224
|
-
image:
|
|
225
|
-
thumbnail:
|
|
181
|
+
image: scorpio,
|
|
182
|
+
thumbnail: scorpioThumbnail,
|
|
226
183
|
label: reactIntl.defineMessage({
|
|
227
184
|
id: "YyPYHk",
|
|
228
185
|
defaultMessage: [{
|
|
@@ -239,8 +196,8 @@ var signs = [{
|
|
|
239
196
|
})
|
|
240
197
|
}, {
|
|
241
198
|
id: 'sagittarius',
|
|
242
|
-
image:
|
|
243
|
-
thumbnail:
|
|
199
|
+
image: sagittarius,
|
|
200
|
+
thumbnail: sagittariusThumbnail,
|
|
244
201
|
label: reactIntl.defineMessage({
|
|
245
202
|
id: "7mMPO4",
|
|
246
203
|
defaultMessage: [{
|
|
@@ -257,8 +214,8 @@ var signs = [{
|
|
|
257
214
|
})
|
|
258
215
|
}, {
|
|
259
216
|
id: 'capricorn',
|
|
260
|
-
image:
|
|
261
|
-
thumbnail:
|
|
217
|
+
image: capricorn,
|
|
218
|
+
thumbnail: capricornThumbnail,
|
|
262
219
|
label: reactIntl.defineMessage({
|
|
263
220
|
id: "NumcrW",
|
|
264
221
|
defaultMessage: [{
|
|
@@ -275,8 +232,8 @@ var signs = [{
|
|
|
275
232
|
})
|
|
276
233
|
}, {
|
|
277
234
|
id: 'aquarius',
|
|
278
|
-
image:
|
|
279
|
-
thumbnail:
|
|
235
|
+
image: aquarius,
|
|
236
|
+
thumbnail: aquariusThumbnail,
|
|
280
237
|
label: reactIntl.defineMessage({
|
|
281
238
|
id: "fBii8l",
|
|
282
239
|
defaultMessage: [{
|
|
@@ -293,8 +250,8 @@ var signs = [{
|
|
|
293
250
|
})
|
|
294
251
|
}, {
|
|
295
252
|
id: 'pisces',
|
|
296
|
-
image:
|
|
297
|
-
thumbnail:
|
|
253
|
+
image: pisces,
|
|
254
|
+
thumbnail: piscesThumbnail,
|
|
298
255
|
label: reactIntl.defineMessage({
|
|
299
256
|
id: "dxAumJ",
|
|
300
257
|
defaultMessage: [{
|
|
@@ -314,16 +271,16 @@ var signs = [{
|
|
|
314
271
|
var styles$2 = {"container":"micromag-screen-urbania-horoscope-sign-card-container","placeholder":"micromag-screen-urbania-horoscope-sign-card-placeholder","thumbnail":"micromag-screen-urbania-horoscope-sign-card-thumbnail","name":"micromag-screen-urbania-horoscope-sign-card-name","date":"micromag-screen-urbania-horoscope-sign-card-date","arrow":"micromag-screen-urbania-horoscope-sign-card-arrow","emptyText":"micromag-screen-urbania-horoscope-sign-card-emptyText"};
|
|
315
272
|
|
|
316
273
|
var propTypes$2 = {
|
|
317
|
-
className:
|
|
318
|
-
sign:
|
|
319
|
-
id:
|
|
274
|
+
className: PropTypes.string,
|
|
275
|
+
sign: PropTypes.shape({
|
|
276
|
+
id: PropTypes.string,
|
|
320
277
|
label: core.PropTypes.textElement,
|
|
321
278
|
date: core.PropTypes.message,
|
|
322
|
-
thumbnail:
|
|
279
|
+
thumbnail: PropTypes.string,
|
|
323
280
|
word: core.PropTypes.headingElement,
|
|
324
281
|
description: core.PropTypes.textElement
|
|
325
282
|
}),
|
|
326
|
-
onClick:
|
|
283
|
+
onClick: PropTypes.func
|
|
327
284
|
};
|
|
328
285
|
var defaultProps$2 = {
|
|
329
286
|
className: null,
|
|
@@ -343,11 +300,11 @@ var SignCard = function SignCard(_ref) {
|
|
|
343
300
|
label = _ref2$label === void 0 ? null : _ref2$label,
|
|
344
301
|
_ref2$date = _ref2.date,
|
|
345
302
|
date = _ref2$date === void 0 ? null : _ref2$date;
|
|
346
|
-
return /*#__PURE__*/
|
|
347
|
-
placeholder: /*#__PURE__*/
|
|
303
|
+
return /*#__PURE__*/React.createElement(components.ScreenElement, {
|
|
304
|
+
placeholder: /*#__PURE__*/React.createElement(components.PlaceholderTitle, {
|
|
348
305
|
className: styles$2.placeholder
|
|
349
306
|
}),
|
|
350
|
-
emptyLabel: /*#__PURE__*/
|
|
307
|
+
emptyLabel: /*#__PURE__*/React.createElement(reactIntl.FormattedMessage, {
|
|
351
308
|
id: "ceaRdq",
|
|
352
309
|
defaultMessage: [{
|
|
353
310
|
"type": 0,
|
|
@@ -356,22 +313,22 @@ var SignCard = function SignCard(_ref) {
|
|
|
356
313
|
}),
|
|
357
314
|
emptyClassName: styles$2.emptyText,
|
|
358
315
|
isEmpty: !id
|
|
359
|
-
}, /*#__PURE__*/
|
|
360
|
-
className:
|
|
316
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
317
|
+
className: classNames([styles$2.container, _defineProperty({}, className, className !== null)]),
|
|
361
318
|
type: "button",
|
|
362
319
|
onClick: onClick
|
|
363
|
-
}, thumbnail !== null ? /*#__PURE__*/
|
|
320
|
+
}, thumbnail !== null ? /*#__PURE__*/React.createElement("img", {
|
|
364
321
|
className: styles$2.thumbnail,
|
|
365
322
|
src: thumbnail,
|
|
366
323
|
alt: id,
|
|
367
324
|
loading: "lazy"
|
|
368
|
-
}) : null, /*#__PURE__*/
|
|
325
|
+
}) : null, /*#__PURE__*/React.createElement("div", {
|
|
369
326
|
className: styles$2.gridText
|
|
370
|
-
}, /*#__PURE__*/
|
|
327
|
+
}, /*#__PURE__*/React.createElement("h2", {
|
|
371
328
|
className: styles$2.name
|
|
372
|
-
}, label !== null ? /*#__PURE__*/
|
|
329
|
+
}, label !== null ? /*#__PURE__*/React.createElement(reactIntl.FormattedMessage, label) : null), /*#__PURE__*/React.createElement("p", {
|
|
373
330
|
className: styles$2.date
|
|
374
|
-
}, date !== null ? /*#__PURE__*/
|
|
331
|
+
}, date !== null ? /*#__PURE__*/React.createElement(reactIntl.FormattedMessage, date) : null))));
|
|
375
332
|
};
|
|
376
333
|
SignCard.propTypes = propTypes$2;
|
|
377
334
|
SignCard.defaultProps = defaultProps$2;
|
|
@@ -379,21 +336,21 @@ SignCard.defaultProps = defaultProps$2;
|
|
|
379
336
|
var styles$1 = {"modalButton":"micromag-screen-urbania-horoscope-sign-modal-modalButton","container":"micromag-screen-urbania-horoscope-sign-modal-container","disabled":"micromag-screen-urbania-horoscope-sign-modal-disabled","hidden":"micromag-screen-urbania-horoscope-sign-modal-hidden","placeholder":"micromag-screen-urbania-horoscope-sign-modal-placeholder","content":"micromag-screen-urbania-horoscope-sign-modal-content","modal":"micromag-screen-urbania-horoscope-sign-modal-modal","name":"micromag-screen-urbania-horoscope-sign-modal-name","wordContainer":"micromag-screen-urbania-horoscope-sign-modal-wordContainer","wordOfTheWeek":"micromag-screen-urbania-horoscope-sign-modal-wordOfTheWeek","word":"micromag-screen-urbania-horoscope-sign-modal-word","description":"micromag-screen-urbania-horoscope-sign-modal-description","illustration":"micromag-screen-urbania-horoscope-sign-modal-illustration","arrow":"micromag-screen-urbania-horoscope-sign-modal-arrow"};
|
|
380
337
|
|
|
381
338
|
var propTypes$1 = {
|
|
382
|
-
width:
|
|
383
|
-
height:
|
|
384
|
-
sign:
|
|
385
|
-
id:
|
|
339
|
+
width: PropTypes.number,
|
|
340
|
+
height: PropTypes.number,
|
|
341
|
+
sign: PropTypes.shape({
|
|
342
|
+
id: PropTypes.string,
|
|
386
343
|
label: core.PropTypes.textElement,
|
|
387
344
|
date: core.PropTypes.message,
|
|
388
|
-
image:
|
|
345
|
+
image: PropTypes.string,
|
|
389
346
|
word: core.PropTypes.headingElement,
|
|
390
347
|
description: core.PropTypes.textElement
|
|
391
348
|
}),
|
|
392
349
|
subtitle: core.PropTypes.headingElement,
|
|
393
|
-
current:
|
|
394
|
-
transitionDisabled:
|
|
395
|
-
onClick:
|
|
396
|
-
className:
|
|
350
|
+
current: PropTypes.bool,
|
|
351
|
+
transitionDisabled: PropTypes.bool,
|
|
352
|
+
onClick: PropTypes.func,
|
|
353
|
+
className: PropTypes.string
|
|
397
354
|
};
|
|
398
355
|
var defaultProps$1 = {
|
|
399
356
|
width: null,
|
|
@@ -406,7 +363,6 @@ var defaultProps$1 = {
|
|
|
406
363
|
className: null
|
|
407
364
|
};
|
|
408
365
|
var SignModal = function SignModal(_ref) {
|
|
409
|
-
var _ref3;
|
|
410
366
|
var width = _ref.width,
|
|
411
367
|
height = _ref.height,
|
|
412
368
|
sign = _ref.sign,
|
|
@@ -433,11 +389,11 @@ var SignModal = function SignModal(_ref) {
|
|
|
433
389
|
var hasWord = utils.isTextFilled(word);
|
|
434
390
|
var hasSubtitle = utils.isTextFilled(subtitle);
|
|
435
391
|
var scrollingDisabled = !isEdit && transitionDisabled || !current;
|
|
436
|
-
return /*#__PURE__*/
|
|
392
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
437
393
|
width: width,
|
|
438
394
|
height: height,
|
|
439
|
-
className:
|
|
440
|
-
}, /*#__PURE__*/
|
|
395
|
+
className: classNames([styles$1.container, _defineProperty(_defineProperty({}, styles$1.withoutTransitions, transitionDisabled), className, className !== null)])
|
|
396
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
441
397
|
type: "button",
|
|
442
398
|
className: styles$1.modalButton,
|
|
443
399
|
onClick: function onClick(e) {
|
|
@@ -445,30 +401,30 @@ var SignModal = function SignModal(_ref) {
|
|
|
445
401
|
_onClick(e);
|
|
446
402
|
}
|
|
447
403
|
}
|
|
448
|
-
}, /*#__PURE__*/
|
|
404
|
+
}, /*#__PURE__*/React.createElement(Scroll, {
|
|
449
405
|
disabled: scrollingDisabled,
|
|
450
406
|
verticalAlign: "middle"
|
|
451
|
-
}, /*#__PURE__*/
|
|
407
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
452
408
|
className: styles$1.modal
|
|
453
|
-
}, label !== null ? /*#__PURE__*/
|
|
409
|
+
}, label !== null ? /*#__PURE__*/React.createElement(components.ScreenElement, null, /*#__PURE__*/React.createElement("h2", {
|
|
454
410
|
className: styles$1.name
|
|
455
|
-
}, /*#__PURE__*/
|
|
411
|
+
}, /*#__PURE__*/React.createElement(reactIntl.FormattedMessage, label))) : null, hasWord ? /*#__PURE__*/React.createElement("div", {
|
|
456
412
|
className: styles$1.wordContainer
|
|
457
|
-
}, hasSubtitle ? /*#__PURE__*/
|
|
413
|
+
}, hasSubtitle ? /*#__PURE__*/React.createElement(Heading, Object.assign({
|
|
458
414
|
className: styles$1.wordOfTheWeek
|
|
459
|
-
}, subtitle)) : /*#__PURE__*/
|
|
415
|
+
}, subtitle)) : /*#__PURE__*/React.createElement("h3", {
|
|
460
416
|
className: styles$1.wordOfTheWeek
|
|
461
|
-
}, /*#__PURE__*/
|
|
417
|
+
}, /*#__PURE__*/React.createElement(reactIntl.FormattedMessage, {
|
|
462
418
|
id: "+vzDdb",
|
|
463
419
|
defaultMessage: [{
|
|
464
420
|
"type": 0,
|
|
465
421
|
"value": "Word of the Week"
|
|
466
422
|
}]
|
|
467
|
-
})), /*#__PURE__*/
|
|
423
|
+
})), /*#__PURE__*/React.createElement(Text, Object.assign({
|
|
468
424
|
className: styles$1.word
|
|
469
|
-
}, word))) : null, description ? /*#__PURE__*/
|
|
425
|
+
}, word))) : null, description ? /*#__PURE__*/React.createElement(Text, Object.assign({
|
|
470
426
|
className: styles$1.description
|
|
471
|
-
}, description)) : null, image ? /*#__PURE__*/
|
|
427
|
+
}, description)) : null, image ? /*#__PURE__*/React.createElement("img", {
|
|
472
428
|
className: styles$1.illustration,
|
|
473
429
|
src: image,
|
|
474
430
|
alt: label
|
|
@@ -477,7 +433,7 @@ var SignModal = function SignModal(_ref) {
|
|
|
477
433
|
SignModal.propTypes = propTypes$1;
|
|
478
434
|
SignModal.defaultProps = defaultProps$1;
|
|
479
435
|
|
|
480
|
-
var styles = {"close":"micromag-screen-urbania-horoscope-close","backdrop":"micromag-screen-urbania-horoscope-backdrop","signsGridContainer":"micromag-screen-urbania-horoscope-signsGridContainer","container":"micromag-screen-urbania-horoscope-container","background":"micromag-screen-urbania-horoscope-background","disabled":"micromag-screen-urbania-horoscope-disabled","hidden":"micromag-screen-urbania-horoscope-hidden","placeholder":"micromag-screen-urbania-horoscope-placeholder","content":"micromag-screen-urbania-horoscope-content","emptyTitle":"micromag-screen-urbania-horoscope-emptyTitle","emptyText":"micromag-screen-urbania-horoscope-emptyText","isPlaceholder":"micromag-screen-urbania-horoscope-isPlaceholder","layout":"micromag-screen-urbania-horoscope-layout","placeholderGrid":"micromag-screen-urbania-horoscope-placeholderGrid","placeholderItem":"micromag-screen-urbania-horoscope-placeholderItem","headerContainer":"micromag-screen-urbania-horoscope-headerContainer","title":"micromag-screen-urbania-horoscope-title","titleImage":"micromag-screen-urbania-horoscope-titleImage","titlePlaceholder":"micromag-screen-urbania-horoscope-titlePlaceholder","description":"micromag-screen-urbania-horoscope-description","descriptionPlaceholder":"micromag-screen-urbania-horoscope-descriptionPlaceholder","button":"micromag-screen-urbania-horoscope-button","buttonLabel":"micromag-screen-urbania-horoscope-buttonLabel","header":"micromag-screen-urbania-horoscope-header","buttons":"micromag-screen-urbania-horoscope-buttons","signs":"micromag-screen-urbania-horoscope-signs","author":"micromag-screen-urbania-horoscope-author","collaborator":"micromag-screen-urbania-horoscope-collaborator","authorBackground":"micromag-screen-urbania-horoscope-authorBackground","modal":"micromag-screen-urbania-horoscope-modal","backdropVideo":"micromag-screen-urbania-horoscope-backdropVideo"};
|
|
436
|
+
var styles = {"close":"micromag-screen-urbania-horoscope-close","backdrop":"micromag-screen-urbania-horoscope-backdrop","signsGridContainer":"micromag-screen-urbania-horoscope-signsGridContainer","container":"micromag-screen-urbania-horoscope-container","background":"micromag-screen-urbania-horoscope-background","disabled":"micromag-screen-urbania-horoscope-disabled","hidden":"micromag-screen-urbania-horoscope-hidden","placeholder":"micromag-screen-urbania-horoscope-placeholder","content":"micromag-screen-urbania-horoscope-content","emptyTitle":"micromag-screen-urbania-horoscope-emptyTitle","emptyText":"micromag-screen-urbania-horoscope-emptyText","focus-visible":"micromag-screen-urbania-horoscope-focus-visible","isPlaceholder":"micromag-screen-urbania-horoscope-isPlaceholder","layout":"micromag-screen-urbania-horoscope-layout","placeholderGrid":"micromag-screen-urbania-horoscope-placeholderGrid","placeholderItem":"micromag-screen-urbania-horoscope-placeholderItem","headerContainer":"micromag-screen-urbania-horoscope-headerContainer","title":"micromag-screen-urbania-horoscope-title","titleImage":"micromag-screen-urbania-horoscope-titleImage","titlePlaceholder":"micromag-screen-urbania-horoscope-titlePlaceholder","description":"micromag-screen-urbania-horoscope-description","descriptionPlaceholder":"micromag-screen-urbania-horoscope-descriptionPlaceholder","button":"micromag-screen-urbania-horoscope-button","buttonLabel":"micromag-screen-urbania-horoscope-buttonLabel","header":"micromag-screen-urbania-horoscope-header","buttons":"micromag-screen-urbania-horoscope-buttons","signs":"micromag-screen-urbania-horoscope-signs","author":"micromag-screen-urbania-horoscope-author","collaborator":"micromag-screen-urbania-horoscope-collaborator","authorBackground":"micromag-screen-urbania-horoscope-authorBackground","modal":"micromag-screen-urbania-horoscope-modal","backdropVideo":"micromag-screen-urbania-horoscope-backdropVideo"};
|
|
481
437
|
|
|
482
438
|
var Astrologie = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20906.64%20139.48%22%3E%20%20%20%20%3Cpath%20d%3D%22M35.88%2C4.42h35.5l34.66%2C119.78h-28.43l-5.89-23.72H35.55l-6.22%2C23.72H1.4L35.88%2C4.42Zm31.8%2C75.54l-13.63-52.15h-.34l-14.13%2C52.15h28.09Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M123.37%2C122.51c-6.84-3.36-12.17-8.13-15.98-14.3-3.81-6.17-5.78-13.34-5.89-21.53l26.24-4.21c0%2C7.07%2C1.96%2C12.73%2C5.89%2C16.99%2C3.92%2C4.26%2C8.92%2C6.39%2C14.97%2C6.39%2C4.82%2C0%2C8.72-1.29%2C11.69-3.87%2C2.97-2.58%2C4.46-5.89%2C4.46-9.92%2C0-3.37-1.15-6.2-3.45-8.5-2.3-2.3-6.03-4.34-11.19-6.14l-14.64-4.71c-10.66-3.25-18.37-7.68-23.13-13.29-4.77-5.61-7.15-13.01-7.15-22.21%2C0-10.88%2C3.53-19.63%2C10.6-26.24%2C7.07-6.62%2C16.99-9.93%2C29.78-9.93%2C11.89%2C0%2C21.48%2C3.23%2C28.77%2C9.67%2C7.29%2C6.45%2C11.05%2C15.17%2C11.27%2C26.16l-25.57%2C4.88c.11-5.83-1.24-10.51-4.04-14.05-2.8-3.53-6.45-5.3-10.94-5.3-3.93%2C0-7.12%2C1.21-9.59%2C3.62-2.47%2C2.41-3.7%2C5.47-3.7%2C9.17s1.15%2C6.54%2C3.45%2C8.83c2.3%2C2.3%2C6.08%2C4.23%2C11.36%2C5.8l13.96%2C4.71c10.88%2C3.25%2C18.76%2C7.66%2C23.64%2C13.21s7.32%2C12.93%2C7.32%2C22.12c0%2C7.29-1.74%2C13.79-5.22%2C19.51-3.48%2C5.72-8.52%2C10.18-15.14%2C13.38-6.62%2C3.2-14.58%2C4.79-23.89%2C4.79s-17.05-1.68-23.89-5.05Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M213.03%2C28.64h-28.26V4.42h84.96V28.64h-28.26V124.2h-28.43V28.64Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M335.5%2C122.35c-3.59-3.25-5.95-7.63-7.07-13.12l-5.05-21.37c-.79-2.92-2.19-5.3-4.21-7.15s-4.26-2.78-6.73-2.78h-10.09v46.26h-28.26V4.42h46.1c8.86%2C0%2C16.6%2C1.54%2C23.22%2C4.63%2C6.62%2C3.09%2C11.72%2C7.46%2C15.31%2C13.12%2C3.59%2C5.66%2C5.38%2C12.31%2C5.38%2C19.94%2C0%2C7.18-2.08%2C13.6-6.22%2C19.26-4.15%2C5.67-9.76%2C9.51-16.82%2C11.52v.17c2.8%2C1.24%2C4.96%2C3%2C6.48%2C5.3%2C1.51%2C2.3%2C2.66%2C5.13%2C3.45%2C8.5l3.53%2C15.48c.67%2C3.7%2C2.19%2C5.55%2C4.54%2C5.55%2C2.13%2C0%2C4.15-1.29%2C6.06-3.87l6.73%2C13.63c-2.8%2C2.92-6.2%2C5.24-10.18%2C6.98-3.98%2C1.74-8.05%2C2.61-12.2%2C2.61-5.72%2C0-10.38-1.63-13.96-4.88Zm-16.82-64.26c5.05%2C0%2C9.14-1.46%2C12.28-4.37%2C3.14-2.92%2C4.71-6.78%2C4.71-11.61%2C0-5.16-1.54-9.17-4.63-12.03-3.09-2.86-7.21-4.29-12.37-4.29h-16.32V58.08h16.32Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M396.23%2C119.74c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M489.26%2C4.42h28.26V99.97h37.68v24.23h-65.95V4.42Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M580.28%2C119.74c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M693.75%2C119.65c-7.68-5.05-13.6-12.31-17.75-21.79-4.15-9.48-6.22-20.66-6.22-33.56s2.21-24.25%2C6.65-33.73c4.43-9.48%2C10.77-16.77%2C19.01-21.87%2C8.24-5.1%2C17.97-7.65%2C29.19-7.65s21.53%2C3.28%2C29.95%2C9.84c8.41%2C6.56%2C14.19%2C15.56%2C17.33%2C27l-26.58%2C5.72c-1.8-5.72-4.54-10.2-8.24-13.46-3.7-3.25-7.96-4.88-12.79-4.88-8.08%2C0-14.44%2C3.42-19.09%2C10.26-4.66%2C6.84-6.98%2C16.21-6.98%2C28.09s2.63%2C21.84%2C7.91%2C28.85c5.27%2C7.01%2C12.5%2C10.51%2C21.7%2C10.51%2C8.19%2C0%2C14.66-2.49%2C19.43-7.49%2C4.77-4.99%2C7.26-11.92%2C7.49-20.78h-37.18v-18.51h64.26V124.2h-20.86l-1.68-18.67h-.17c-3.93%2C6.73-9.31%2C12.03-16.15%2C15.9-6.84%2C3.87-14.19%2C5.8-22.04%2C5.8-10.43%2C0-19.49-2.52-27.17-7.57Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M789.56%2C4.42h28.26V124.2h-28.26V4.42Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M827.74%2C4.42h68.81V27.13h-41.55v25.57h34.82v20.19h-34.82v28.6h43.24v22.71h-70.49V4.42Z%22%20fill%3D%22%23000f66%22%20stroke%3D%22aqua%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M43.24%2C15.29h35.5l34.66%2C119.78h-28.43l-5.89-23.72H42.91l-6.22%2C23.72H8.76L43.24%2C15.29Zm31.8%2C75.54l-13.63-52.15h-.34l-14.13%2C52.15h28.09Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M130.73%2C133.38c-6.84-3.36-12.17-8.13-15.98-14.3-3.81-6.17-5.78-13.34-5.89-21.53l26.24-4.21c0%2C7.07%2C1.96%2C12.73%2C5.89%2C16.99%2C3.92%2C4.26%2C8.92%2C6.39%2C14.97%2C6.39%2C4.82%2C0%2C8.72-1.29%2C11.69-3.87%2C2.97-2.58%2C4.46-5.89%2C4.46-9.92%2C0-3.37-1.15-6.2-3.45-8.5-2.3-2.3-6.03-4.34-11.19-6.14l-14.64-4.71c-10.66-3.25-18.37-7.68-23.13-13.29-4.77-5.61-7.15-13.01-7.15-22.21%2C0-10.88%2C3.53-19.63%2C10.6-26.24%2C7.07-6.62%2C16.99-9.93%2C29.78-9.93%2C11.89%2C0%2C21.48%2C3.23%2C28.77%2C9.67%2C7.29%2C6.45%2C11.05%2C15.17%2C11.27%2C26.16l-25.57%2C4.88c.11-5.83-1.24-10.51-4.04-14.05-2.8-3.53-6.45-5.3-10.94-5.3-3.93%2C0-7.12%2C1.21-9.59%2C3.62-2.47%2C2.41-3.7%2C5.47-3.7%2C9.17s1.15%2C6.54%2C3.45%2C8.83c2.3%2C2.3%2C6.08%2C4.23%2C11.36%2C5.8l13.96%2C4.71c10.88%2C3.25%2C18.76%2C7.66%2C23.64%2C13.21s7.32%2C12.93%2C7.32%2C22.12c0%2C7.29-1.74%2C13.79-5.22%2C19.51-3.48%2C5.72-8.52%2C10.18-15.14%2C13.38-6.62%2C3.2-14.58%2C4.79-23.89%2C4.79s-17.05-1.68-23.89-5.05Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M220.39%2C39.51h-28.26V15.29h84.96v24.23h-28.26v95.56h-28.43V39.51Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M342.86%2C133.22c-3.59-3.25-5.95-7.63-7.07-13.12l-5.05-21.37c-.79-2.92-2.19-5.3-4.21-7.15s-4.26-2.78-6.73-2.78h-10.09v46.26h-28.26V15.29h46.1c8.86%2C0%2C16.6%2C1.54%2C23.22%2C4.63%2C6.62%2C3.09%2C11.72%2C7.46%2C15.31%2C13.12%2C3.59%2C5.66%2C5.38%2C12.31%2C5.38%2C19.94%2C0%2C7.18-2.08%2C13.6-6.22%2C19.26-4.15%2C5.67-9.76%2C9.51-16.82%2C11.52v.17c2.8%2C1.24%2C4.96%2C3%2C6.48%2C5.3%2C1.51%2C2.3%2C2.66%2C5.13%2C3.45%2C8.5l3.53%2C15.48c.67%2C3.7%2C2.19%2C5.55%2C4.54%2C5.55%2C2.13%2C0%2C4.15-1.29%2C6.06-3.87l6.73%2C13.63c-2.8%2C2.92-6.2%2C5.24-10.18%2C6.98-3.98%2C1.74-8.05%2C2.61-12.2%2C2.61-5.72%2C0-10.38-1.63-13.96-4.88Zm-16.82-64.26c5.05%2C0%2C9.14-1.46%2C12.28-4.37%2C3.14-2.92%2C4.71-6.78%2C4.71-11.61%2C0-5.16-1.54-9.17-4.63-12.03-3.09-2.86-7.21-4.29-12.37-4.29h-16.32v32.3h16.32Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M403.59%2C130.61c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M496.62%2C15.29h28.26V110.84h37.68v24.23h-65.95V15.29Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M587.64%2C130.61c-8.52-5.21-15.14-12.62-19.85-22.21-4.71-9.59-7.07-20.66-7.07-33.23s2.36-23.64%2C7.07-33.23c4.71-9.59%2C11.33-16.99%2C19.85-22.21%2C8.52-5.21%2C18.45-7.82%2C29.78-7.82s21.28%2C2.61%2C29.86%2C7.82c8.58%2C5.22%2C15.22%2C12.59%2C19.94%2C22.12%2C4.71%2C9.53%2C7.07%2C20.58%2C7.07%2C33.14s-2.36%2C23.8-7.07%2C33.39c-4.71%2C9.59-11.36%2C16.99-19.94%2C22.21s-18.53%2C7.82-29.86%2C7.82-21.26-2.61-29.78-7.82Zm50.47-27c5.16-7.07%2C7.74-16.54%2C7.74-28.43s-2.58-21.37-7.74-28.43c-5.16-7.07-12.06-10.6-20.69-10.6s-15.51%2C3.53-20.61%2C10.6c-5.1%2C7.07-7.65%2C16.54-7.65%2C28.43s2.55%2C21.37%2C7.65%2C28.43c5.1%2C7.07%2C11.97%2C10.6%2C20.61%2C10.6s15.53-3.53%2C20.69-10.6Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M701.11%2C130.53c-7.68-5.05-13.6-12.31-17.75-21.79-4.15-9.48-6.22-20.66-6.22-33.56s2.21-24.25%2C6.65-33.73c4.43-9.48%2C10.77-16.77%2C19.01-21.87%2C8.24-5.1%2C17.97-7.65%2C29.19-7.65s21.53%2C3.28%2C29.95%2C9.84c8.41%2C6.56%2C14.19%2C15.56%2C17.33%2C27l-26.58%2C5.72c-1.8-5.72-4.54-10.2-8.24-13.46-3.7-3.25-7.96-4.88-12.79-4.88-8.08%2C0-14.44%2C3.42-19.09%2C10.26-4.66%2C6.84-6.98%2C16.21-6.98%2C28.09s2.63%2C21.84%2C7.91%2C28.85c5.27%2C7.01%2C12.5%2C10.51%2C21.7%2C10.51%2C8.19%2C0%2C14.66-2.49%2C19.43-7.49%2C4.77-4.99%2C7.26-11.92%2C7.49-20.78h-37.18v-18.51h64.26v67.97h-20.86l-1.68-18.67h-.17c-3.93%2C6.73-9.31%2C12.03-16.15%2C15.9-6.84%2C3.87-14.19%2C5.8-22.04%2C5.8-10.43%2C0-19.49-2.52-27.17-7.57Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M796.92%2C15.29h28.26v119.78h-28.26V15.29Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M835.1%2C15.29h68.81v22.71h-41.55v25.57h34.82v20.19h-34.82v28.6h43.24v22.71h-70.49V15.29Z%22%20fill%3D%22aqua%22%20stroke%3D%22%23000f66%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222.1%22%2F%3E%3C%2Fsvg%3E";
|
|
483
439
|
|
|
@@ -501,7 +457,7 @@ var stopDragEventsPropagation = {
|
|
|
501
457
|
return e.stopPropagation();
|
|
502
458
|
}
|
|
503
459
|
};
|
|
504
|
-
var mouseBlocker =
|
|
460
|
+
var mouseBlocker = _objectSpread(_objectSpread({}, stopDragEventsPropagation), {}, {
|
|
505
461
|
onClick: function onClick(e) {
|
|
506
462
|
return e.stopPropagation();
|
|
507
463
|
},
|
|
@@ -516,12 +472,12 @@ var mouseBlocker = _objectSpread__default["default"](_objectSpread__default["def
|
|
|
516
472
|
}
|
|
517
473
|
});
|
|
518
474
|
var propTypes = {
|
|
519
|
-
defaultSigns:
|
|
520
|
-
id:
|
|
475
|
+
defaultSigns: PropTypes.arrayOf(PropTypes.shape({
|
|
476
|
+
id: PropTypes.string,
|
|
521
477
|
label: core.PropTypes.textElement
|
|
522
478
|
})),
|
|
523
|
-
signs:
|
|
524
|
-
id:
|
|
479
|
+
signs: PropTypes.arrayOf(PropTypes.shape({
|
|
480
|
+
id: PropTypes.string,
|
|
525
481
|
label: core.PropTypes.textElement,
|
|
526
482
|
word: core.PropTypes.headingElement,
|
|
527
483
|
description: core.PropTypes.textElement
|
|
@@ -531,13 +487,13 @@ var propTypes = {
|
|
|
531
487
|
author: core.PropTypes.authorElement,
|
|
532
488
|
button: core.PropTypes.button,
|
|
533
489
|
signSubtitle: core.PropTypes.headingElement,
|
|
534
|
-
spacing:
|
|
490
|
+
spacing: PropTypes.number,
|
|
535
491
|
background: core.PropTypes.backgroundElement,
|
|
536
492
|
popupBackground: core.PropTypes.backgroundElement,
|
|
537
|
-
current:
|
|
538
|
-
active:
|
|
539
|
-
type:
|
|
540
|
-
className:
|
|
493
|
+
current: PropTypes.bool,
|
|
494
|
+
active: PropTypes.bool,
|
|
495
|
+
type: PropTypes.string,
|
|
496
|
+
className: PropTypes.string
|
|
541
497
|
};
|
|
542
498
|
var defaultProps = {
|
|
543
499
|
defaultSigns: signs,
|
|
@@ -556,7 +512,6 @@ var defaultProps = {
|
|
|
556
512
|
className: null
|
|
557
513
|
};
|
|
558
514
|
var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
559
|
-
var _ref7;
|
|
560
515
|
var defaultSigns = _ref.defaultSigns,
|
|
561
516
|
signsValue = _ref.signs,
|
|
562
517
|
title = _ref.title,
|
|
@@ -582,7 +537,7 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
582
537
|
var hasAuthor = author !== null && utils.isTextFilled(author.name);
|
|
583
538
|
var signs = React.useMemo(function () {
|
|
584
539
|
return defaultSigns.map(function (defaultSign, index) {
|
|
585
|
-
return
|
|
540
|
+
return _objectSpread(_objectSpread({}, signsValue !== null ? signsValue.find(function (_ref2) {
|
|
586
541
|
var signValueId = _ref2.id;
|
|
587
542
|
return signValueId === defaultSign.id;
|
|
588
543
|
}) || signsValue[index] : null), defaultSign);
|
|
@@ -606,15 +561,15 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
606
561
|
var backgroundPlaying = current && (isView || isEdit);
|
|
607
562
|
var mediaShouldLoad = !isPlaceholder && (current || active);
|
|
608
563
|
var _useState = React.useState(false),
|
|
609
|
-
_useState2 =
|
|
564
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
610
565
|
showSignsGrid = _useState2[0],
|
|
611
566
|
setShowSignsGrid = _useState2[1];
|
|
612
567
|
var _useState3 = React.useState(null),
|
|
613
|
-
_useState4 =
|
|
568
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
614
569
|
selectedSign = _useState4[0],
|
|
615
570
|
setSelectedSign = _useState4[1];
|
|
616
571
|
var _useState5 = React.useState(false),
|
|
617
|
-
_useState6 =
|
|
572
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
618
573
|
showModal = _useState6[0],
|
|
619
574
|
setShowModal = _useState6[1];
|
|
620
575
|
var _ref3 = popupBackground || {},
|
|
@@ -649,9 +604,9 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
649
604
|
}, [setShowModal, trackScreenEvent]);
|
|
650
605
|
var computeSignsGridProgress = React.useCallback(function (_ref5) {
|
|
651
606
|
var dragActive = _ref5.active,
|
|
652
|
-
_ref5$movement =
|
|
607
|
+
_ref5$movement = _slicedToArray(_ref5.movement, 2),
|
|
653
608
|
my = _ref5$movement[1],
|
|
654
|
-
_ref5$velocity =
|
|
609
|
+
_ref5$velocity = _slicedToArray(_ref5.velocity, 2),
|
|
655
610
|
vy = _ref5$velocity[1];
|
|
656
611
|
var progress = Math.max(0, my) / (window.innerHeight * 0.8);
|
|
657
612
|
var reachedThreshold = vy > 0.3 || Math.abs(progress) > 0.3;
|
|
@@ -678,9 +633,9 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
678
633
|
showSignsGridProgress = _useDragProgress.progress;
|
|
679
634
|
var computeModalProgress = React.useCallback(function (_ref6) {
|
|
680
635
|
var dragActive = _ref6.active,
|
|
681
|
-
_ref6$movement =
|
|
636
|
+
_ref6$movement = _slicedToArray(_ref6.movement, 2),
|
|
682
637
|
my = _ref6$movement[1],
|
|
683
|
-
_ref6$velocity =
|
|
638
|
+
_ref6$velocity = _slicedToArray(_ref6.velocity, 2),
|
|
684
639
|
vy = _ref6$velocity[1];
|
|
685
640
|
var damper = 0.5;
|
|
686
641
|
var p = Math.max(0, my) / window.innerHeight;
|
|
@@ -794,14 +749,14 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
794
749
|
document.removeEventListener('keyup', keyup);
|
|
795
750
|
};
|
|
796
751
|
}, [showModal, onCloseModal, showSignsGrid, onCloseSignsGrid]);
|
|
797
|
-
return /*#__PURE__*/
|
|
798
|
-
className:
|
|
752
|
+
return /*#__PURE__*/React.createElement("div", Object.assign({
|
|
753
|
+
className: classNames([styles.container, _defineProperty(_defineProperty({}, className, className !== null), styles.isPlaceholder, isPlaceholder)]),
|
|
799
754
|
"data-screen-ready": true
|
|
800
|
-
}, showSignsGrid ? stopDragEventsPropagation : null), !isView ? /*#__PURE__*/
|
|
755
|
+
}, showSignsGrid ? stopDragEventsPropagation : null), !isView ? /*#__PURE__*/React.createElement("div", mouseBlocker) : null, /*#__PURE__*/React.createElement(Container, {
|
|
801
756
|
width: width,
|
|
802
757
|
height: height,
|
|
803
758
|
className: styles.content
|
|
804
|
-
}, /*#__PURE__*/
|
|
759
|
+
}, /*#__PURE__*/React.createElement(Layout, {
|
|
805
760
|
className: styles.layout,
|
|
806
761
|
style: !isPlaceholder ? {
|
|
807
762
|
padding: spacing,
|
|
@@ -809,26 +764,26 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
809
764
|
paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing
|
|
810
765
|
} : null,
|
|
811
766
|
height: height * 0.8
|
|
812
|
-
}, isPlaceholder ? /*#__PURE__*/
|
|
767
|
+
}, isPlaceholder ? /*#__PURE__*/React.createElement("div", {
|
|
813
768
|
className: styles.placeholderGrid
|
|
814
|
-
},
|
|
815
|
-
return /*#__PURE__*/
|
|
769
|
+
}, _toConsumableArray(Array(12).keys()).map(function () {
|
|
770
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
816
771
|
className: styles.placeholderItem
|
|
817
772
|
});
|
|
818
|
-
})) : null, /*#__PURE__*/
|
|
773
|
+
})) : null, /*#__PURE__*/React.createElement(web.animated.div, {
|
|
819
774
|
className: styles.headerContainer,
|
|
820
775
|
style: getHeaderStyles(showSignsGridProgress)
|
|
821
|
-
}, /*#__PURE__*/
|
|
776
|
+
}, /*#__PURE__*/React.createElement(components.ScreenElement, {
|
|
822
777
|
emptyClassName: styles.emptyText
|
|
823
|
-
}, hasTitle ? /*#__PURE__*/
|
|
778
|
+
}, hasTitle ? /*#__PURE__*/React.createElement(Heading, Object.assign({
|
|
824
779
|
className: styles.title
|
|
825
|
-
}, title)) : /*#__PURE__*/
|
|
780
|
+
}, title)) : /*#__PURE__*/React.createElement("img", {
|
|
826
781
|
src: Astrologie,
|
|
827
782
|
alt: "",
|
|
828
783
|
className: styles.titleImage
|
|
829
|
-
})), /*#__PURE__*/
|
|
784
|
+
})), /*#__PURE__*/React.createElement(components.ScreenElement, {
|
|
830
785
|
key: "description",
|
|
831
|
-
emptyLabel: /*#__PURE__*/
|
|
786
|
+
emptyLabel: /*#__PURE__*/React.createElement(reactIntl.FormattedMessage, {
|
|
832
787
|
id: "EQdIAR",
|
|
833
788
|
defaultMessage: [{
|
|
834
789
|
"type": 0,
|
|
@@ -837,10 +792,10 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
837
792
|
}),
|
|
838
793
|
emptyClassName: styles.emptyText,
|
|
839
794
|
isEmpty: !hasDescription
|
|
840
|
-
}, hasDescription ? /*#__PURE__*/
|
|
795
|
+
}, hasDescription ? /*#__PURE__*/React.createElement(Text, Object.assign({
|
|
841
796
|
className: styles.description
|
|
842
|
-
}, description)) : null)), /*#__PURE__*/
|
|
843
|
-
emptyLabel: /*#__PURE__*/
|
|
797
|
+
}, description)) : null)), /*#__PURE__*/React.createElement(components.ScreenElement, {
|
|
798
|
+
emptyLabel: /*#__PURE__*/React.createElement(reactIntl.FormattedMessage, {
|
|
844
799
|
id: "bv3rRe",
|
|
845
800
|
defaultMessage: [{
|
|
846
801
|
"type": 0,
|
|
@@ -849,16 +804,16 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
849
804
|
}),
|
|
850
805
|
emptyClassName: styles.emptyText,
|
|
851
806
|
isEmpty: !hasButton
|
|
852
|
-
}, hasButton ? /*#__PURE__*/
|
|
807
|
+
}, hasButton ? /*#__PURE__*/React.createElement(Button, Object.assign({
|
|
853
808
|
className: styles.button,
|
|
854
809
|
type: "button",
|
|
855
810
|
onClick: onOpenSignsGrid,
|
|
856
811
|
withoutBootstrapStyles: true
|
|
857
|
-
}, button), /*#__PURE__*/
|
|
812
|
+
}, button), /*#__PURE__*/React.createElement(Text, Object.assign({
|
|
858
813
|
className: styles.buttonLabel
|
|
859
814
|
}, button, {
|
|
860
815
|
inline: true
|
|
861
|
-
}))) : null), isView && !isPlaceholder ? /*#__PURE__*/
|
|
816
|
+
}))) : null), isView && !isPlaceholder ? /*#__PURE__*/React.createElement(web.animated.div, {
|
|
862
817
|
className: styles.header,
|
|
863
818
|
style: {
|
|
864
819
|
opacity: showSignsGridProgress,
|
|
@@ -866,9 +821,9 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
866
821
|
return p < 0.25 ? 'none' : 'auto';
|
|
867
822
|
})
|
|
868
823
|
}
|
|
869
|
-
}, /*#__PURE__*/
|
|
824
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
870
825
|
className: styles.buttons
|
|
871
|
-
}, /*#__PURE__*/
|
|
826
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
872
827
|
className: styles.close,
|
|
873
828
|
onClick: onCloseSignsGrid,
|
|
874
829
|
label: intl.formatMessage({
|
|
@@ -879,32 +834,32 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
879
834
|
}]
|
|
880
835
|
}),
|
|
881
836
|
iconPosition: "right",
|
|
882
|
-
icon: /*#__PURE__*/
|
|
837
|
+
icon: /*#__PURE__*/React.createElement("svg", {
|
|
883
838
|
className: styles.closeIcon,
|
|
884
839
|
xmlns: "http://www.w3.org/2000/svg",
|
|
885
840
|
width: "10",
|
|
886
841
|
height: "16",
|
|
887
842
|
viewBox: "0 0 10 16",
|
|
888
843
|
fill: "currentColor"
|
|
889
|
-
}, /*#__PURE__*/
|
|
844
|
+
}, /*#__PURE__*/React.createElement("polygon", {
|
|
890
845
|
points: "9.95 4.11 8.89 3.05 5 6.94 1.11 3.05 0.05 4.11 3.94 8 0.05 11.89 1.11 12.95 5 9.06 8.89 12.95 9.95 11.89 6.06 8 9.95 4.11"
|
|
891
846
|
})),
|
|
892
847
|
withoutStyle: true
|
|
893
|
-
}))) : null, !isPlaceholder ? /*#__PURE__*/
|
|
848
|
+
}))) : null, !isPlaceholder ? /*#__PURE__*/React.createElement(web.animated.div, Object.assign({
|
|
894
849
|
className: styles.signsGridContainer,
|
|
895
850
|
style: getSignsContainerStyles(showSignsGridProgress)
|
|
896
|
-
}, bindSignsDrag()), /*#__PURE__*/
|
|
851
|
+
}, bindSignsDrag()), /*#__PURE__*/React.createElement(Keypad, {
|
|
897
852
|
columns: 3,
|
|
898
853
|
spacing: 5,
|
|
899
854
|
items: signs.map(function (sign) {
|
|
900
855
|
var _ref8 = sign || {},
|
|
901
856
|
_ref8$id = _ref8.id,
|
|
902
857
|
id = _ref8$id === void 0 ? null : _ref8$id;
|
|
903
|
-
return /*#__PURE__*/
|
|
858
|
+
return /*#__PURE__*/React.createElement(web.animated.div, {
|
|
904
859
|
key: id,
|
|
905
860
|
className: styles.sign,
|
|
906
861
|
style: getSignStyles(showSignsGridProgress)
|
|
907
|
-
}, /*#__PURE__*/
|
|
862
|
+
}, /*#__PURE__*/React.createElement(SignCard, {
|
|
908
863
|
key: id,
|
|
909
864
|
sign: sign,
|
|
910
865
|
onClick: function onClick(e) {
|
|
@@ -912,9 +867,9 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
912
867
|
}
|
|
913
868
|
}));
|
|
914
869
|
})
|
|
915
|
-
}), /*#__PURE__*/
|
|
870
|
+
}), /*#__PURE__*/React.createElement(components.ScreenElement, {
|
|
916
871
|
key: "author",
|
|
917
|
-
emptyLabel: /*#__PURE__*/
|
|
872
|
+
emptyLabel: /*#__PURE__*/React.createElement(reactIntl.FormattedMessage, {
|
|
918
873
|
id: "xYqGzM",
|
|
919
874
|
defaultMessage: [{
|
|
920
875
|
"type": 0,
|
|
@@ -923,35 +878,35 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
923
878
|
}),
|
|
924
879
|
emptyClassName: styles.emptyText,
|
|
925
880
|
isEmpty: !hasAuthor
|
|
926
|
-
}, hasAuthor && !isPlaceholder ? /*#__PURE__*/
|
|
881
|
+
}, hasAuthor && !isPlaceholder ? /*#__PURE__*/React.createElement(Author, {
|
|
927
882
|
author: author,
|
|
928
883
|
className: styles.author,
|
|
929
884
|
collaboratorClassName: styles.collaborator,
|
|
930
885
|
backgroundClassName: styles.authorBackground,
|
|
931
886
|
shouldLoad: mediaShouldLoad,
|
|
932
887
|
style: getAuthorStyles(showSignsGridProgress)
|
|
933
|
-
}) : null)) : null, /*#__PURE__*/
|
|
888
|
+
}) : null)) : null, /*#__PURE__*/React.createElement(web.animated.div, Object.assign({
|
|
934
889
|
className: styles.modal,
|
|
935
890
|
style: getModalStyles(showModalProgress)
|
|
936
|
-
}, bindModalDrag()), /*#__PURE__*/
|
|
891
|
+
}, bindModalDrag()), /*#__PURE__*/React.createElement(SignModal, {
|
|
937
892
|
width: width,
|
|
938
893
|
height: height,
|
|
939
894
|
sign: signs[selectedSign],
|
|
940
895
|
subtitle: signSubtitle,
|
|
941
896
|
onClick: onCloseModal
|
|
942
|
-
})), !isPlaceholder ? /*#__PURE__*/
|
|
897
|
+
})), !isPlaceholder ? /*#__PURE__*/React.createElement(web.animated.div, {
|
|
943
898
|
className: styles.backdrop,
|
|
944
899
|
style: getBackdropStyles(showSignsGridProgress)
|
|
945
|
-
}, popupBackgroundUrl !== null ? /*#__PURE__*/
|
|
900
|
+
}, popupBackgroundUrl !== null ? /*#__PURE__*/React.createElement("video", {
|
|
946
901
|
className: styles.videoBackdrop,
|
|
947
902
|
autoPlay: true,
|
|
948
903
|
muted: true,
|
|
949
904
|
loop: true,
|
|
950
905
|
playsInline: true
|
|
951
|
-
}, /*#__PURE__*/
|
|
906
|
+
}, /*#__PURE__*/React.createElement("source", {
|
|
952
907
|
src: popupBackgroundUrl,
|
|
953
908
|
type: "video/mp4"
|
|
954
|
-
})) : null) : null)), !isPlaceholder ? /*#__PURE__*/
|
|
909
|
+
})) : null) : null)), !isPlaceholder ? /*#__PURE__*/React.createElement(Background, {
|
|
955
910
|
background: background,
|
|
956
911
|
width: width,
|
|
957
912
|
height: height,
|
|
@@ -965,7 +920,7 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
|
|
|
965
920
|
};
|
|
966
921
|
UrbaniaHoroscope.propTypes = propTypes;
|
|
967
922
|
UrbaniaHoroscope.defaultProps = defaultProps;
|
|
968
|
-
var UrbaniaHoroscope$1 = /*#__PURE__*/
|
|
923
|
+
var UrbaniaHoroscope$1 = /*#__PURE__*/React.memo(UrbaniaHoroscope);
|
|
969
924
|
|
|
970
925
|
var definition = [{
|
|
971
926
|
id: 'urbania-horoscope',
|
|
@@ -1131,5 +1086,5 @@ var definition = [{
|
|
|
1131
1086
|
}];
|
|
1132
1087
|
|
|
1133
1088
|
exports.UrbaniaHoroscope = UrbaniaHoroscope$1;
|
|
1134
|
-
exports
|
|
1089
|
+
exports.default = definition;
|
|
1135
1090
|
exports.signs = signs;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-urbania-horoscope",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.429",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -32,6 +32,15 @@
|
|
|
32
32
|
"license": "ISC",
|
|
33
33
|
"main": "lib/index.js",
|
|
34
34
|
"module": "es/index.js",
|
|
35
|
+
"style": "assets/css/styles.css",
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"require": "./lib/index.js",
|
|
39
|
+
"import": "./es/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./assets/css/*.css": "./assets/css/*.css",
|
|
42
|
+
"./assets/images/*": "./assets/css/*"
|
|
43
|
+
},
|
|
35
44
|
"files": [
|
|
36
45
|
"lib",
|
|
37
46
|
"es",
|
|
@@ -51,19 +60,19 @@
|
|
|
51
60
|
},
|
|
52
61
|
"dependencies": {
|
|
53
62
|
"@babel/runtime": "^7.13.10",
|
|
54
|
-
"@micromag/core": "^0.3.
|
|
55
|
-
"@micromag/element-background": "^0.3.
|
|
56
|
-
"@micromag/element-button": "^0.3.
|
|
57
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
58
|
-
"@micromag/element-container": "^0.3.
|
|
59
|
-
"@micromag/element-grid": "^0.3.
|
|
60
|
-
"@micromag/element-heading": "^0.3.
|
|
61
|
-
"@micromag/element-keypad": "^0.3.
|
|
62
|
-
"@micromag/element-layout": "^0.3.
|
|
63
|
-
"@micromag/element-scroll": "^0.3.
|
|
64
|
-
"@micromag/element-text": "^0.3.
|
|
65
|
-
"@micromag/element-urbania-author": "^0.3.
|
|
66
|
-
"@micromag/transforms": "^0.3.
|
|
63
|
+
"@micromag/core": "^0.3.429",
|
|
64
|
+
"@micromag/element-background": "^0.3.429",
|
|
65
|
+
"@micromag/element-button": "^0.3.429",
|
|
66
|
+
"@micromag/element-call-to-action": "^0.3.429",
|
|
67
|
+
"@micromag/element-container": "^0.3.429",
|
|
68
|
+
"@micromag/element-grid": "^0.3.429",
|
|
69
|
+
"@micromag/element-heading": "^0.3.429",
|
|
70
|
+
"@micromag/element-keypad": "^0.3.429",
|
|
71
|
+
"@micromag/element-layout": "^0.3.429",
|
|
72
|
+
"@micromag/element-scroll": "^0.3.429",
|
|
73
|
+
"@micromag/element-text": "^0.3.429",
|
|
74
|
+
"@micromag/element-urbania-author": "^0.3.429",
|
|
75
|
+
"@micromag/transforms": "^0.3.429",
|
|
67
76
|
"@react-spring/core": "^9.6.1",
|
|
68
77
|
"@react-spring/web": "^9.6.1",
|
|
69
78
|
"@use-gesture/react": "^10.2.4",
|
|
@@ -78,5 +87,5 @@
|
|
|
78
87
|
"access": "public",
|
|
79
88
|
"registry": "https://registry.npmjs.org/"
|
|
80
89
|
},
|
|
81
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "f15e72b88ecfda4c54b87626513149b58572c52b"
|
|
82
91
|
}
|