@micromag/core 0.3.182 → 0.3.187
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/components.js +1 -1
- package/es/hooks.js +2 -1
- package/lib/components.js +1 -1
- package/lib/hooks.js +2 -1
- package/package.json +2 -2
package/assets/css/styles.css
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
.micromag-core-screens-preview-stack{position:relative;overflow:hidden}.micromag-core-screens-preview-stack .micromag-core-screens-preview-stackScreen{position:relative;z-index:10}.micromag-core-screens-preview-stack .micromag-core-screens-preview-stackItem{position:absolute;top:0;left:0;border:1px solid #adadad;background-color:#494949}.micromag-core-screens-preview-stack .micromag-core-screens-preview-stackItem:first-child{z-index:3}.micromag-core-screens-preview-stack .micromag-core-screens-preview-stackItem:nth-child(2){z-index:2}.micromag-core-screens-preview-stack .micromag-core-screens-preview-stackItem:nth-child(3){z-index:1}.micromag-core-screens-preview-screen{overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
|
29
29
|
.micromag-core-placeholders-conversation-container{padding:10px;text-align:center;mix-blend-mode:difference}.micromag-core-placeholders-conversation-container .micromag-core-placeholders-conversation-icon{width:25px;height:auto;margin:3px auto auto;color:hsla(0,0%,100%,.6)}.micromag-core-placeholders-conversation-container .micromag-core-placeholders-conversation-message{width:80%;height:23px;margin:3px 1px 0;background-color:hsla(0,0%,100%,.6)}.micromag-core-placeholders-conversation-container .micromag-core-placeholders-conversation-placeholderMessage0{width:65%}.micromag-core-placeholders-conversation-container .micromag-core-placeholders-conversation-placeholderMessage1{margin-left:auto}.micromag-core-placeholders-conversation-container .micromag-core-placeholders-conversation-placeholderMessage2{width:65%}.micromag-core-placeholders-conversation-container .micromag-core-placeholders-conversation-placeholderMessage3{width:50%;margin-left:auto}
|
|
30
30
|
.micromag-core-placeholders-quiz-answer-container{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;mix-blend-mode:difference}.micromag-core-placeholders-quiz-answer-container .micromag-core-placeholders-quiz-answer-block{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.micromag-core-placeholders-quiz-answer-container .micromag-core-placeholders-quiz-answer-answer{width:12px;margin-right:6px;padding:0 1px;color:hsla(0,0%,100%,.6)}.micromag-core-placeholders-quiz-answer-container .micromag-core-placeholders-quiz-answer-answerIcon{display:block;width:100%;height:100%;color:hsla(0,0%,100%,.6)}.micromag-core-placeholders-quiz-answer-container.micromag-core-placeholders-quiz-answer-good .micromag-core-placeholders-quiz-answer-answer{padding:0}
|
|
31
|
-
.micromag-core-placeholders-share-options-container .micromag-core-placeholders-share-options-box{display:block;background-color:rgba(0,0,0,0)}.micromag-core-placeholders-share-options-container .micromag-core-placeholders-share-options-icon{width:10px;height:auto;color:#1c1c1c}.micromag-core-placeholders-share-options-item{width:100%;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:3px;background-color:#dedede}.micromag-core-placeholders-share-options-item+.micromag-core-placeholders-share-options-item{margin-top:5px}
|
|
31
|
+
.micromag-core-placeholders-share-options-container .micromag-core-placeholders-share-options-box{display:block;background-color:rgba(0,0,0,0)}.micromag-core-placeholders-share-options-container .micromag-core-placeholders-share-options-icon{width:10px;height:auto;color:#1c1c1c}.micromag-core-placeholders-share-options-item{width:100%;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:3px;background-color:#dedede}.micromag-core-placeholders-share-options-item+.micromag-core-placeholders-share-options-item{margin-top:5px}.micromag-core-placeholders-share-options-button{font-size:1rem}
|
|
32
32
|
.micromag-core-placeholders-survey-answer-container{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;mix-blend-mode:difference}.micromag-core-placeholders-survey-answer-container .micromag-core-placeholders-survey-answer-block{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.micromag-core-placeholders-survey-answer-container .micromag-core-placeholders-survey-answer-percent{margin-left:4px}.micromag-core-placeholders-survey-answer-container .micromag-core-placeholders-survey-answer-percentIcon{padding:1px;color:hsla(0,0%,100%,.6)}
|
|
33
33
|
.micromag-core-screens-container .micromag-core-screens-screen{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;-webkit-transform:translate(100%);-ms-transform:translate(100%);transform:translate(100%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.micromag-core-screens-container .micromag-core-screens-screen.micromag-core-screens-visible{-webkit-transform:translate(0);-ms-transform:translate(0);transform:translate(0)}
|
|
34
34
|
.micromag-core-transitions-transition-container.micromag-core-transitions-transition-fullscreen{position:absolute;top:0;left:0;width:100%;height:100%}
|
package/es/components.js
CHANGED
|
@@ -3855,7 +3855,7 @@ var Answer$1 = function Answer(_ref) {
|
|
|
3855
3855
|
})));
|
|
3856
3856
|
};
|
|
3857
3857
|
|
|
3858
|
-
var styles$3 = {"container":"micromag-core-placeholders-share-options-container","box":"micromag-core-placeholders-share-options-box","icon":"micromag-core-placeholders-share-options-icon","item":"micromag-core-placeholders-share-options-item"};
|
|
3858
|
+
var styles$3 = {"container":"micromag-core-placeholders-share-options-container","box":"micromag-core-placeholders-share-options-box","icon":"micromag-core-placeholders-share-options-icon","item":"micromag-core-placeholders-share-options-item","button":"micromag-core-placeholders-share-options-button"};
|
|
3859
3859
|
|
|
3860
3860
|
var Title = function Title(props) {
|
|
3861
3861
|
return /*#__PURE__*/React.createElement(PlaceholderBlock, Object.assign({}, props, {
|
package/es/hooks.js
CHANGED
|
@@ -292,7 +292,8 @@ function useDragProgress() {
|
|
|
292
292
|
}
|
|
293
293
|
}, [setDragState, disabled, onTap, computeProgress, setDragState, onProgress]);
|
|
294
294
|
var bind = useDrag(onDragContent, {
|
|
295
|
-
filterTaps: true
|
|
295
|
+
filterTaps: true,
|
|
296
|
+
preventDefault: true
|
|
296
297
|
});
|
|
297
298
|
var springedProgress = useSpringValue(progress, dragging || disabled, springParams);
|
|
298
299
|
useEffect(function () {
|
package/lib/components.js
CHANGED
|
@@ -3896,7 +3896,7 @@ var Answer$1 = function Answer(_ref) {
|
|
|
3896
3896
|
})));
|
|
3897
3897
|
};
|
|
3898
3898
|
|
|
3899
|
-
var styles$3 = {"container":"micromag-core-placeholders-share-options-container","box":"micromag-core-placeholders-share-options-box","icon":"micromag-core-placeholders-share-options-icon","item":"micromag-core-placeholders-share-options-item"};
|
|
3899
|
+
var styles$3 = {"container":"micromag-core-placeholders-share-options-container","box":"micromag-core-placeholders-share-options-box","icon":"micromag-core-placeholders-share-options-icon","item":"micromag-core-placeholders-share-options-item","button":"micromag-core-placeholders-share-options-button"};
|
|
3900
3900
|
|
|
3901
3901
|
var Title = function Title(props) {
|
|
3902
3902
|
return /*#__PURE__*/React__default["default"].createElement(PlaceholderBlock, Object.assign({}, props, {
|
package/lib/hooks.js
CHANGED
|
@@ -330,7 +330,8 @@ function useDragProgress() {
|
|
|
330
330
|
}
|
|
331
331
|
}, [setDragState, disabled, onTap, computeProgress, setDragState, onProgress]);
|
|
332
332
|
var bind = react$1.useDrag(onDragContent, {
|
|
333
|
-
filterTaps: true
|
|
333
|
+
filterTaps: true,
|
|
334
|
+
preventDefault: true
|
|
334
335
|
});
|
|
335
336
|
var springedProgress = useSpringValue(progress, dragging || disabled, springParams);
|
|
336
337
|
react.useEffect(function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.187",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"publishConfig": {
|
|
134
134
|
"access": "public"
|
|
135
135
|
},
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "db3cc46d717c8588e90155a8f58240d481273278"
|
|
137
137
|
}
|