From 448f3a487c314d3e0b0687a31cd112a2c6763ded Mon Sep 17 00:00:00 2001 From: Priyadi Iman Nurcahyo <1102197+priyadi@users.noreply.github.com> Date: Thu, 4 Apr 2024 08:44:01 +0000 Subject: [PATCH] fix: change infinite scrolling breakpoint to 768px (#29) --- CHANGELOG.md | 2 ++ packages/rekapager-bundle/assets/dist/infinite-scrolling.js | 2 +- packages/rekapager-bundle/assets/src/infinite-scrolling.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bec21b..7179f84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ * feat: infinite scrolling * feat: AssetMapper compatibility +* fix: js module +* fix: change infinite scrolling breakpoint to 768px ## 0.6.2 diff --git a/packages/rekapager-bundle/assets/dist/infinite-scrolling.js b/packages/rekapager-bundle/assets/dist/infinite-scrolling.js index 8f75e88..420eeba 100644 --- a/packages/rekapager-bundle/assets/dist/infinite-scrolling.js +++ b/packages/rekapager-bundle/assets/dist/infinite-scrolling.js @@ -114,7 +114,7 @@ var _default = /*#__PURE__*/function (_Controller) { _defineProperty(_default, "values", { breakpoint: { type: String, - "default": '576px' + "default": '768px' }, pagination: { type: String, diff --git a/packages/rekapager-bundle/assets/src/infinite-scrolling.js b/packages/rekapager-bundle/assets/src/infinite-scrolling.js index 6349f7e..aa00fa2 100644 --- a/packages/rekapager-bundle/assets/src/infinite-scrolling.js +++ b/packages/rekapager-bundle/assets/src/infinite-scrolling.js @@ -13,7 +13,7 @@ import { Controller } from '@hotwired/stimulus'; export default class extends Controller { static values = { - breakpoint: { type: String, default: '576px' }, + breakpoint: { type: String, default: '768px' }, pagination: { type: String, default: '.pagination' }, controllerName: { type: String, default: 'rekalogika--rekapager-bundle--infinite-scrolling' } }