@idds/js 1.0.94 → 1.0.96

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.
@@ -3567,7 +3567,7 @@ var InaUI = (() => {
3567
3567
  this.state.totalPages = Math.ceil(this.state.total / this.state.pageSize);
3568
3568
  if (this.state.totalPages < 1) this.state.totalPages = 1;
3569
3569
  this.elements.pagination.innerHTML = `
3570
- <div class="${PREFIX}-pagination">
3570
+ <nav class="${PREFIX}-pagination ${PREFIX}-pagination ${PREFIX}-pagination ${PREFIX}-pagination--full-width ${PREFIX}-pagination--size-md ${PREFIX}-pagination--variant-default" aria-label="Pagination navigation">
3571
3571
  <div class="${PREFIX}-pagination__nav-container">
3572
3572
  <div class="${PREFIX}-pagination__page-info">
3573
3573
  Halaman
@@ -3592,7 +3592,7 @@ var InaUI = (() => {
3592
3592
  ).join("")}
3593
3593
  </select>
3594
3594
  </div>
3595
- </div>
3595
+ </nav>
3596
3596
  `;
3597
3597
  const navButtons = this.elements.pagination.querySelector(
3598
3598
  `.${PREFIX}-pagination__nav-buttons`
@@ -3644,10 +3644,10 @@ var InaUI = (() => {
3644
3644
  navButtons.appendChild(btn);
3645
3645
  };
3646
3646
  const SVG = {
3647
- first: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ina-pagination__nav-icon"><path d="M11 7l-5 5l5 5"></path><path d="M17 7l-5 5l5 5"></path></svg>',
3648
- prev: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ina-pagination__nav-icon"><path d="M15 6l-6 6l6 6"></path></svg>',
3649
- next: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ina-pagination__nav-icon"><path d="M9 6l6 6l-6 6"></path></svg>',
3650
- last: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ina-pagination__nav-icon"><path d="M7 7l5 5l-5 5"></path><path d="M13 7l5 5l-5 5"></path></svg>'
3647
+ first: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ina-pagination__nav-icon"><path d="M11 18L5 12L11 6M19 18L13 12L19 6"></path></svg>',
3648
+ prev: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ina-pagination__nav-icon"><path d="M15 18L9 12L15 6"></path></svg>',
3649
+ next: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ina-pagination__nav-icon"><path d="M9 18L15 12L9 6"></path></svg>',
3650
+ last: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ina-pagination__nav-icon"><path d="M13 18L19 12L13 6M5 18L11 12L5 6"></path></svg>'
3651
3651
  };
3652
3652
  createBtn(true, this.state.currentPage > 1, SVG.first, () => {
3653
3653
  this.state.currentPage = 1;
package/dist/index.js CHANGED
@@ -3649,7 +3649,7 @@ var Table = class {
3649
3649
  this.state.totalPages = Math.ceil(this.state.total / this.state.pageSize);
3650
3650
  if (this.state.totalPages < 1) this.state.totalPages = 1;
3651
3651
  this.elements.pagination.innerHTML = `
3652
- <div class="${PREFIX}-pagination">
3652
+ <nav class="${PREFIX}-pagination ${PREFIX}-pagination ${PREFIX}-pagination ${PREFIX}-pagination--full-width ${PREFIX}-pagination--size-md ${PREFIX}-pagination--variant-default" aria-label="Pagination navigation">
3653
3653
  <div class="${PREFIX}-pagination__nav-container">
3654
3654
  <div class="${PREFIX}-pagination__page-info">
3655
3655
  Halaman
@@ -3674,7 +3674,7 @@ var Table = class {
3674
3674
  ).join("")}
3675
3675
  </select>
3676
3676
  </div>
3677
- </div>
3677
+ </nav>
3678
3678
  `;
3679
3679
  const navButtons = this.elements.pagination.querySelector(
3680
3680
  `.${PREFIX}-pagination__nav-buttons`
@@ -3726,10 +3726,10 @@ var Table = class {
3726
3726
  navButtons.appendChild(btn);
3727
3727
  };
3728
3728
  const SVG = {
3729
- first: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ina-pagination__nav-icon"><path d="M11 7l-5 5l5 5"></path><path d="M17 7l-5 5l5 5"></path></svg>',
3730
- prev: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ina-pagination__nav-icon"><path d="M15 6l-6 6l6 6"></path></svg>',
3731
- next: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ina-pagination__nav-icon"><path d="M9 6l6 6l-6 6"></path></svg>',
3732
- last: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ina-pagination__nav-icon"><path d="M7 7l5 5l-5 5"></path><path d="M13 7l5 5l-5 5"></path></svg>'
3729
+ first: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ina-pagination__nav-icon"><path d="M11 18L5 12L11 6M19 18L13 12L19 6"></path></svg>',
3730
+ prev: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ina-pagination__nav-icon"><path d="M15 18L9 12L15 6"></path></svg>',
3731
+ next: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ina-pagination__nav-icon"><path d="M9 18L15 12L9 6"></path></svg>',
3732
+ last: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="ina-pagination__nav-icon"><path d="M13 18L19 12L13 6M5 18L11 12L5 6"></path></svg>'
3733
3733
  };
3734
3734
  createBtn(true, this.state.currentPage > 1, SVG.first, () => {
3735
3735
  this.state.currentPage = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idds/js",
3
- "version": "1.0.94",
3
+ "version": "1.0.96",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },