@micromag/core 0.3.601 → 0.3.605
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/hooks.js +1 -4
- package/package.json +2 -2
package/assets/css/styles.css
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
.micromag-core-screens-screen-sizer-container,.micromag-core-screens-screen-sizer-frame{position:relative}.micromag-core-screens-screen-sizer-screen{left:0;position:absolute;top:0;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}
|
|
26
26
|
.micromag-core-screens-screen-container{font-family:Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.1}.micromag-core-screens-screen-container address,.micromag-core-screens-screen-container blockquote,.micromag-core-screens-screen-container caption,.micromag-core-screens-screen-container dl,.micromag-core-screens-screen-container figure,.micromag-core-screens-screen-container h1,.micromag-core-screens-screen-container h2,.micromag-core-screens-screen-container h3,.micromag-core-screens-screen-container h4,.micromag-core-screens-screen-container h5,.micromag-core-screens-screen-container h6,.micromag-core-screens-screen-container label,.micromag-core-screens-screen-container legend,.micromag-core-screens-screen-container li,.micromag-core-screens-screen-container ol,.micromag-core-screens-screen-container p,.micromag-core-screens-screen-container pre,.micromag-core-screens-screen-container ul{margin:0;padding:0}.micromag-core-screens-screen-container *,.micromag-core-screens-screen-container :after,.micromag-core-screens-screen-container :before{-webkit-box-sizing:border-box;box-sizing:border-box}.micromag-core-screens-screen-container h1,.micromag-core-screens-screen-container h2,.micromag-core-screens-screen-container h3,.micromag-core-screens-screen-container h4,.micromag-core-screens-screen-container h5,.micromag-core-screens-screen-container h6,.micromag-core-screens-screen-container li,.micromag-core-screens-screen-container p{font-weight:inherit}.micromag-core-screens-screen-container{background-color:#1c1c1c;color:#fff}
|
|
27
27
|
.micromag-core-screens-screen-placeholder-screen{background-color:transparent;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
|
28
|
-
.micromag-core-screens-preview-stack{overflow:hidden;position:relative}.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{background-color:#494949;border:1px solid #adadad;left:0;position:absolute;top:0}.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}
|
|
28
|
+
.micromag-core-screens-preview-stack{overflow:hidden;position:relative}.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{background-color:#494949;border:1px solid #adadad;left:0;position:absolute;top:0}.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}.micromag-core-screens-preview-screen *{content-visibility:auto}
|
|
29
29
|
.micromag-core-placeholders-conversation-container{mix-blend-mode:difference;padding:10px;text-align:center}.micromag-core-placeholders-conversation-container .micromag-core-placeholders-conversation-icon{color:hsla(0,0%,100%,.6);height:auto;margin:3px auto auto;width:25px}.micromag-core-placeholders-conversation-container .micromag-core-placeholders-conversation-message{background-color:hsla(0,0%,100%,.6);height:23px;margin:3px 1px 0;width:80%}.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{margin-left:auto;width:50%}
|
|
30
30
|
.micromag-core-placeholders-quiz-answer-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;mix-blend-mode:difference}.micromag-core-placeholders-quiz-answer-container .micromag-core-placeholders-quiz-answer-block{-ms-flex-positive:1;flex-grow:1}.micromag-core-placeholders-quiz-answer-container .micromag-core-placeholders-quiz-answer-answer{color:hsla(0,0%,100%,.6);margin-right:6px;padding:0 1px;width:12px}.micromag-core-placeholders-quiz-answer-container .micromag-core-placeholders-quiz-answer-answerIcon{color:hsla(0,0%,100%,.6);display:block;height:100%;width:100%}.micromag-core-placeholders-quiz-answer-container.micromag-core-placeholders-quiz-answer-good .micromag-core-placeholders-quiz-answer-answer{padding:0}
|
|
31
31
|
.micromag-core-placeholders-share-options-container .micromag-core-placeholders-share-options-box{background-color:transparent;display:block}.micromag-core-placeholders-share-options-container .micromag-core-placeholders-share-options-icon{color:#1c1c1c;height:auto;width:10px}.micromag-core-placeholders-share-options-item{background-color:#dedede;display:-ms-flexbox;display:flex;padding:3px;width:100%}.micromag-core-placeholders-share-options-item+.micromag-core-placeholders-share-options-item{margin-top:5px}.micromag-core-placeholders-share-options-button{font-size:1rem}
|
package/es/hooks.js
CHANGED
|
@@ -632,13 +632,10 @@ var useDimensionObserver = function useDimensionObserver() {
|
|
|
632
632
|
var useIsVisible = function useIsVisible() {
|
|
633
633
|
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
634
634
|
rootMargin = _ref.rootMargin,
|
|
635
|
-
_ref$threshold = _ref.threshold,
|
|
636
|
-
threshold = _ref$threshold === void 0 ? 1 : _ref$threshold,
|
|
637
635
|
_ref$persist = _ref.persist,
|
|
638
636
|
persist = _ref$persist === void 0 ? false : _ref$persist;
|
|
639
637
|
var _useIntersectionObser = useIntersectionObserver({
|
|
640
|
-
rootMargin: rootMargin
|
|
641
|
-
threshold: threshold
|
|
638
|
+
rootMargin: rootMargin
|
|
642
639
|
}),
|
|
643
640
|
ref = _useIntersectionObser.ref,
|
|
644
641
|
isIntersecting = _useIntersectionObser.entry.isIntersecting;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.605",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -144,5 +144,5 @@
|
|
|
144
144
|
"access": "public",
|
|
145
145
|
"registry": "https://registry.npmjs.org/"
|
|
146
146
|
},
|
|
147
|
-
"gitHead": "
|
|
147
|
+
"gitHead": "6cdf9b727b794de87e0cfe2e7cf437859661d6b8"
|
|
148
148
|
}
|