@inappstory/slide-api 0.1.30 → 0.1.32
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/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6224,6 +6224,10 @@ class Slider {
|
|
|
6224
6224
|
bullets.appendChild(bullet);
|
|
6225
6225
|
}
|
|
6226
6226
|
}
|
|
6227
|
+
else {
|
|
6228
|
+
// additionally hide bullets container for single slide
|
|
6229
|
+
bullets.classList.add("hidden");
|
|
6230
|
+
}
|
|
6227
6231
|
// const onUpdateActiveIndex = (activeIndex: number) => {
|
|
6228
6232
|
// if (activeIndex >= 0 && activeIndex < count) {
|
|
6229
6233
|
// for (const bullet of bullets.querySelectorAll(".cards-slider__bullet--active")) {
|
|
@@ -7667,7 +7671,7 @@ class WidgetTimer extends WidgetBase {
|
|
|
7667
7671
|
}
|
|
7668
7672
|
mountTimerGroup(timerRenderer) {
|
|
7669
7673
|
const time = this.getCurrentTime();
|
|
7670
|
-
const content = this.
|
|
7674
|
+
const content = this.element.querySelector(".narrative-element-text-lines");
|
|
7671
7675
|
content.innerHTML = "";
|
|
7672
7676
|
const timerGroup = timerRenderer.render(time);
|
|
7673
7677
|
content.appendChild(timerGroup);
|