@idds/js 1.0.88 → 1.0.89

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.
@@ -755,11 +755,14 @@ var InaUI = (() => {
755
755
  yearCont.appendChild(yearPicker.element);
756
756
  controls.append(monthCont, yearCont);
757
757
  header.appendChild(controls);
758
- const showNextBtn = mode === "single" && !isNextMonth || isNextMonth;
758
+ const showNextBtn = true;
759
759
  if (showNextBtn) {
760
760
  const nextBtn = document.createElement("button");
761
761
  nextBtn.type = "button";
762
762
  nextBtn.className = `${PREFIX}-date-picker__nav-button`;
763
+ if (!isNextMonth && (mode === "range" || mode === "multiple")) {
764
+ nextBtn.classList.add(`${PREFIX}-date-picker__nav-button--mobile-only`);
765
+ }
763
766
  nextBtn.innerHTML = this.createIcon("chevron-right");
764
767
  nextBtn.onclick = (e) => {
765
768
  e.stopPropagation();
package/dist/index.js CHANGED
@@ -745,11 +745,14 @@ var DatePicker = class {
745
745
  yearCont.appendChild(yearPicker.element);
746
746
  controls.append(monthCont, yearCont);
747
747
  header.appendChild(controls);
748
- const showNextBtn = mode === "single" && !isNextMonth || isNextMonth;
748
+ const showNextBtn = true;
749
749
  if (showNextBtn) {
750
750
  const nextBtn = document.createElement("button");
751
751
  nextBtn.type = "button";
752
752
  nextBtn.className = `${PREFIX}-date-picker__nav-button`;
753
+ if (!isNextMonth && (mode === "range" || mode === "multiple")) {
754
+ nextBtn.classList.add(`${PREFIX}-date-picker__nav-button--mobile-only`);
755
+ }
753
756
  nextBtn.innerHTML = this.createIcon("chevron-right");
754
757
  nextBtn.onclick = (e) => {
755
758
  e.stopPropagation();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idds/js",
3
- "version": "1.0.88",
3
+ "version": "1.0.89",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },