From bae158a91100faa377e67debf1b8ab1729ec10f1 Mon Sep 17 00:00:00 2001 From: andreeapescar Date: Tue, 24 Sep 2024 16:34:42 +0300 Subject: [PATCH] feat: update pie-lib/pie-toolbox-math-rendering-module PD-3989,4103,3865 --- package.json | 2 +- src/demo/NIB-multi-items-players.html | 6 +++--- yarn.lock | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 0e95f5b..7bde28f 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@material/tab-bar": "^2.2.0", "@pie-framework/pie-configure-events": "^1.4.1", "@pie-framework/pie-player-events": "^0.1.0", - "@pie-lib/pie-toolbox-math-rendering-module": "1.21.0", + "@pie-lib/pie-toolbox-math-rendering-module": "2.0.1", "async-retry": "^1.2.3", "lodash": "^4.17.15", "parse-package-name": "^0.1.0" diff --git a/src/demo/NIB-multi-items-players.html b/src/demo/NIB-multi-items-players.html index fd67d1a..95c3dfa 100644 --- a/src/demo/NIB-multi-items-players.html +++ b/src/demo/NIB-multi-items-players.html @@ -35,8 +35,8 @@ } pie-player { - width: 20vw; - height: 10vh; + width: 30vw; + /*height: 30vh;*/ margin: 1vw; overflow: hidden; background: lightcyan; @@ -10442,7 +10442,6 @@ }; Object.keys(configs) - .slice(0, 0) .forEach(id => { const player = document.createElement("pie-player"); player.id = "player" + id; @@ -10450,6 +10449,7 @@ players.appendChild(player); // player.reFetchBundle = true; + // player.useMathRenderingAccessible = true; player.bundleEndpoints = endpoints; player.addCorrectResponse = true; player.config = configs[id]; diff --git a/yarn.lock b/yarn.lock index 9f5cdbf..4285b06 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1054,10 +1054,10 @@ resolved "https://registry.yarnpkg.com/@pie-framework/pie-player-events/-/pie-player-events-0.1.0.tgz#0150904118fd604559982ab658967811c053ffe3" integrity sha512-6H1tlRGmcZ3Wt+8HMqu5KugVcwwyNrMylfI5rIpvOSt0T82QDmjRj+2sPgQG5zos/w6MtwUqn/QZ+8Rq2EXSOA== -"@pie-lib/pie-toolbox-math-rendering-module@1.21.0": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@pie-lib/pie-toolbox-math-rendering-module/-/pie-toolbox-math-rendering-module-1.21.0.tgz#b1c143c7d3b2693cf93ad1129aa2702f22ba2c3e" - integrity sha512-77PTBtOaaSpcEsQmV/oy4uDHszFrjjo9RlovuL7VVzVyHoBYqGTltYKXjTxPkJ6igJzt4DgnRsgjLXn1NOnV7Q== +"@pie-lib/pie-toolbox-math-rendering-module@2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@pie-lib/pie-toolbox-math-rendering-module/-/pie-toolbox-math-rendering-module-2.0.1.tgz#130092a523b7374f5fbb3a0fd22878b0c547e608" + integrity sha512-TwMEPcTTWa0ESqf14LkAmltYX8zVyjh3NQI7RE8tb8qXMN8FuNDa1glFUHSbNl/xE1dxzgcVWp9S2e7rdZ0Jpg== "@release-it/conventional-changelog@^1.0.0": version "1.1.4"