bloom-player 2.14.4 → 2.15.0-alpha.2
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/dist/{bloomPlayer-DZmRaLMc.css → bloomPlayer-XPqbUuvA.css} +1 -1
- package/dist/{bloomPlayer.C2kDXvYW.js → bloomPlayer.1Giy7eCx.js} +39 -39
- package/dist/bloomplayer.htm +2 -2
- package/lib/animation.d.ts +49 -0
- package/lib/index.d.ts +1 -0
- package/lib/shared.es.js +3516 -3242
- package/lib/shared.es.js.map +1 -1
- package/package.json +1 -1
- package/src/shared/dragActivityRuntime.ts +0 -4
- package/src/shared/index.ts +3 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "A library for displaying Bloom books in iframes or WebViews",
|
|
4
4
|
"author": "SIL Global",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.15.0-alpha.2",
|
|
7
7
|
"private": false,
|
|
8
8
|
"// sideeffects might need to be ['*.css'] to avoid 'shaking' our CSS, if we ever get tree shaking working": "",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -925,10 +925,6 @@ function startDragWordInSentence(e: PointerEvent) {
|
|
|
925
925
|
draggableReposition.style.position = "absolute";
|
|
926
926
|
draggableReposition.style.left = wordBeingRepositioned.offsetLeft + "px";
|
|
927
927
|
draggableReposition.style.top = wordBeingRepositioned.offsetTop + "px";
|
|
928
|
-
draggableReposition.setAttribute(
|
|
929
|
-
"lang",
|
|
930
|
-
wordBeingRepositioned.getAttribute("lang")!,
|
|
931
|
-
);
|
|
932
928
|
// We don't want it to show while we're dragging the clone. We need something to take up the space,
|
|
933
929
|
// though, until we decide it has moved. We could mess with its own properties, but then we have
|
|
934
930
|
// to put everything back. Also, we want to move it in the paragraph, and if we move the thing
|