@micromag/screen-map 0.4.4 → 0.4.6
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 +1 -1
- package/es/index.js +1 -1
- package/es/styles.css +1 -1
- package/package.json +15 -15
package/assets/css/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.container{height:100%;overflow:hidden;position:relative;width:100%}.container .background{height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.container .content{z-index:1}.container .placeholder{height:100%}.container .markerOverlayContainer{background-color:rgba(28,28,28,.4);opacity:0;pointer-events:none;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.container .
|
|
1
|
+
.micromag-screen-map-container{height:100%;overflow:hidden;position:relative;width:100%}.micromag-screen-map-container .micromag-screen-map-background{height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.micromag-screen-map-container .micromag-screen-map-content{z-index:1}.micromag-screen-map-container .micromag-screen-map-placeholder{height:100%}.micromag-screen-map-container .micromag-screen-map-markerOverlayContainer{background-color:rgba(28,28,28,.4);height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;width:100%}.micromag-screen-map-container .micromag-screen-map-markerOverlayScrollable{height:100%;left:0;position:absolute;top:0;width:100%}.micromag-screen-map-container .micromag-screen-map-markerOverlaySafe{display:block;width:100%}.micromag-screen-map-container .micromag-screen-map-markerOverlay{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;width:100%}.micromag-screen-map-container .micromag-screen-map-markerOverlayContent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-ms-flex-positive:1;background-color:var(--mm-white);flex-grow:1;padding:0 20px;-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s ease;transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.micromag-screen-map-container .micromag-screen-map-markerOverlayContentInner{color:var(--mm-black)}.micromag-screen-map-container .micromag-screen-map-swipeIndicator{border:2px solid var(--mm-gray-500);border-radius:2px;margin:10px auto;width:30px}.micromag-screen-map-container .micromag-screen-map-splash{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;left:0;position:absolute;top:0;width:100%;-ms-flex-pack:center;background-color:rgba(28,28,28,.75);justify-content:center;padding:20px;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-description,.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-title{margin:10px 0}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-button{display:inline-block}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyButton,.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyDescription,.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyTitle{margin:5px auto;width:100%}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyTitle{height:50px}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyDescription{height:80px}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyButton{height:70px}.micromag-screen-map-container .micromag-screen-map-splashButton{margin-top:10px}.micromag-screen-map-container .micromag-screen-map-closeButton{background-color:rgba(43,43,43,.8);border-radius:50%;display:block;font-size:30px;height:44px;line-height:0;opacity:0;padding:0;pointer-events:none;position:absolute;right:20px;text-align:center;top:20px;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;width:44px}.micromag-screen-map-container .micromag-screen-map-markerDescription,.micromag-screen-map-container .micromag-screen-map-markerImage,.micromag-screen-map-container .micromag-screen-map-markerSubtitle,.micromag-screen-map-container .micromag-screen-map-markerTitle{margin-bottom:20px}.micromag-screen-map-container.micromag-screen-map-hasSelectedMarker .micromag-screen-map-markerOverlayContainer{opacity:1;pointer-events:auto}.micromag-screen-map-container.micromag-screen-map-hasSelectedMarker .micromag-screen-map-markerOverlayContent{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}.micromag-screen-map-container.micromag-screen-map-opened .micromag-screen-map-splash{opacity:0;pointer-events:none}.micromag-screen-map-container.micromag-screen-map-opened .micromag-screen-map-closeButton{opacity:1;pointer-events:all}
|
package/es/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import Text from '@micromag/element-text';
|
|
|
19
19
|
import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';
|
|
20
20
|
import _extends from '@babel/runtime/helpers/extends';
|
|
21
21
|
|
|
22
|
-
var styles = {"container":"container","background":"background","content":"content","placeholder":"placeholder","markerOverlayContainer":"markerOverlayContainer","markerOverlayScrollable":"markerOverlayScrollable","markerOverlaySafe":"markerOverlaySafe","markerOverlay":"markerOverlay","markerOverlayContent":"markerOverlayContent","markerOverlayContentInner":"markerOverlayContentInner","swipeIndicator":"swipeIndicator","splash":"splash","title":"title","description":"description","button":"button","emptyTitle":"emptyTitle","emptyDescription":"emptyDescription","emptyButton":"emptyButton","splashButton":"splashButton","closeButton":"closeButton","markerImage":"markerImage","markerTitle":"markerTitle","markerSubtitle":"markerSubtitle","markerDescription":"markerDescription","hasSelectedMarker":"hasSelectedMarker","opened":"opened"};
|
|
22
|
+
var styles = {"container":"micromag-screen-map-container","background":"micromag-screen-map-background","content":"micromag-screen-map-content","placeholder":"micromag-screen-map-placeholder","markerOverlayContainer":"micromag-screen-map-markerOverlayContainer","markerOverlayScrollable":"micromag-screen-map-markerOverlayScrollable","markerOverlaySafe":"micromag-screen-map-markerOverlaySafe","markerOverlay":"micromag-screen-map-markerOverlay","markerOverlayContent":"micromag-screen-map-markerOverlayContent","markerOverlayContentInner":"micromag-screen-map-markerOverlayContentInner","swipeIndicator":"micromag-screen-map-swipeIndicator","splash":"micromag-screen-map-splash","title":"micromag-screen-map-title","description":"micromag-screen-map-description","button":"micromag-screen-map-button","emptyTitle":"micromag-screen-map-emptyTitle","emptyDescription":"micromag-screen-map-emptyDescription","emptyButton":"micromag-screen-map-emptyButton","splashButton":"micromag-screen-map-splashButton","closeButton":"micromag-screen-map-closeButton","markerImage":"micromag-screen-map-markerImage","markerTitle":"micromag-screen-map-markerTitle","markerSubtitle":"micromag-screen-map-markerSubtitle","markerDescription":"micromag-screen-map-markerDescription","hasSelectedMarker":"micromag-screen-map-hasSelectedMarker","opened":"micromag-screen-map-opened"};
|
|
23
23
|
|
|
24
24
|
var defaultCenter = {
|
|
25
25
|
lat: 45.5,
|
package/es/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.container{height:100%;overflow:hidden;position:relative;width:100%}.container .background{height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.container .content{z-index:1}.container .placeholder{height:100%}.container .markerOverlayContainer{background-color:rgba(28,28,28,.4);opacity:0;pointer-events:none;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.container .
|
|
1
|
+
.micromag-screen-map-container{height:100%;overflow:hidden;position:relative;width:100%}.micromag-screen-map-container .micromag-screen-map-background{height:100%;left:0;position:absolute;top:0;width:100%;z-index:0}.micromag-screen-map-container .micromag-screen-map-content{z-index:1}.micromag-screen-map-container .micromag-screen-map-placeholder{height:100%}.micromag-screen-map-container .micromag-screen-map-markerOverlayContainer{background-color:rgba(28,28,28,.4);height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;width:100%}.micromag-screen-map-container .micromag-screen-map-markerOverlayScrollable{height:100%;left:0;position:absolute;top:0;width:100%}.micromag-screen-map-container .micromag-screen-map-markerOverlaySafe{display:block;width:100%}.micromag-screen-map-container .micromag-screen-map-markerOverlay{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;width:100%}.micromag-screen-map-container .micromag-screen-map-markerOverlayContent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-ms-flex-positive:1;background-color:var(--mm-white);flex-grow:1;padding:0 20px;-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s ease;transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.micromag-screen-map-container .micromag-screen-map-markerOverlayContentInner{color:var(--mm-black)}.micromag-screen-map-container .micromag-screen-map-swipeIndicator{border:2px solid var(--mm-gray-500);border-radius:2px;margin:10px auto;width:30px}.micromag-screen-map-container .micromag-screen-map-splash{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;left:0;position:absolute;top:0;width:100%;-ms-flex-pack:center;background-color:rgba(28,28,28,.75);justify-content:center;padding:20px;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-description,.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-title{margin:10px 0}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-button{display:inline-block}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyButton,.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyDescription,.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyTitle{margin:5px auto;width:100%}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyTitle{height:50px}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyDescription{height:80px}.micromag-screen-map-container .micromag-screen-map-splash .micromag-screen-map-emptyButton{height:70px}.micromag-screen-map-container .micromag-screen-map-splashButton{margin-top:10px}.micromag-screen-map-container .micromag-screen-map-closeButton{background-color:rgba(43,43,43,.8);border-radius:50%;display:block;font-size:30px;height:44px;line-height:0;opacity:0;padding:0;pointer-events:none;position:absolute;right:20px;text-align:center;top:20px;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;width:44px}.micromag-screen-map-container .micromag-screen-map-markerDescription,.micromag-screen-map-container .micromag-screen-map-markerImage,.micromag-screen-map-container .micromag-screen-map-markerSubtitle,.micromag-screen-map-container .micromag-screen-map-markerTitle{margin-bottom:20px}.micromag-screen-map-container.micromag-screen-map-hasSelectedMarker .micromag-screen-map-markerOverlayContainer{opacity:1;pointer-events:auto}.micromag-screen-map-container.micromag-screen-map-hasSelectedMarker .micromag-screen-map-markerOverlayContent{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}.micromag-screen-map-container.micromag-screen-map-opened .micromag-screen-map-splash{opacity:0;pointer-events:none}.micromag-screen-map-container.micromag-screen-map-opened .micromag-screen-map-closeButton{opacity:1;pointer-events:all}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-map",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -60,19 +60,19 @@
|
|
|
60
60
|
"react-dom": "^18.3.0 || ^19.0.0"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@babel/runtime": "^7.
|
|
64
|
-
"@micromag/core": "^0.4.
|
|
65
|
-
"@micromag/element-background": "^0.4.
|
|
66
|
-
"@micromag/element-button": "^0.4.
|
|
67
|
-
"@micromag/element-container": "^0.4.
|
|
68
|
-
"@micromag/element-footer": "^0.4.
|
|
69
|
-
"@micromag/element-header": "^0.4.
|
|
70
|
-
"@micromag/element-heading": "^0.4.
|
|
71
|
-
"@micromag/element-image": "^0.4.
|
|
72
|
-
"@micromag/element-map": "^0.4.
|
|
73
|
-
"@micromag/element-scroll": "^0.4.
|
|
74
|
-
"@micromag/element-text": "^0.4.
|
|
75
|
-
"@micromag/transforms": "^0.4.
|
|
63
|
+
"@babel/runtime": "^7.28.6",
|
|
64
|
+
"@micromag/core": "^0.4.6",
|
|
65
|
+
"@micromag/element-background": "^0.4.6",
|
|
66
|
+
"@micromag/element-button": "^0.4.6",
|
|
67
|
+
"@micromag/element-container": "^0.4.6",
|
|
68
|
+
"@micromag/element-footer": "^0.4.6",
|
|
69
|
+
"@micromag/element-header": "^0.4.6",
|
|
70
|
+
"@micromag/element-heading": "^0.4.6",
|
|
71
|
+
"@micromag/element-image": "^0.4.6",
|
|
72
|
+
"@micromag/element-map": "^0.4.6",
|
|
73
|
+
"@micromag/element-scroll": "^0.4.6",
|
|
74
|
+
"@micromag/element-text": "^0.4.6",
|
|
75
|
+
"@micromag/transforms": "^0.4.6",
|
|
76
76
|
"classnames": "^2.2.6",
|
|
77
77
|
"lodash": "^4.17.23",
|
|
78
78
|
"react-intl": "^8.1.3",
|
|
@@ -82,6 +82,6 @@
|
|
|
82
82
|
"access": "public",
|
|
83
83
|
"registry": "https://registry.npmjs.org/"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "cf8440c2851b864167a1f545aa56551d55473263",
|
|
86
86
|
"types": "es/index.d.ts"
|
|
87
87
|
}
|