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