@neovici/cosmoz-queue 3.3.2 → 3.4.1

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.
@@ -42,7 +42,7 @@ export const renderPagination = (pagination) => {
42
42
  const { pageNumber = -1, onPage } = pagination;
43
43
  const totalPages = pagination.totalPages ??
44
44
  Math.ceil((pagination.totalAvailable ?? 0) / (pagination.pageSize ?? 0));
45
- return html ` <div class="tabn-pagination">
45
+ return html ` <div class="tabn-pagination" slot="stats">
46
46
  <cosmoz-button
47
47
  title="${t('Previous page')}"
48
48
  class="button-page page-prev"
@@ -69,7 +69,7 @@ export const renderStats = ({ pagination, index, items, totalAvailable, nav, act
69
69
  if (items.length < 1) {
70
70
  return nothing;
71
71
  }
72
- return html `<div class="tabn-stats">
72
+ return html `<div class="tabn-stats" slot="stats">
73
73
  ${(() => {
74
74
  if (pagination) {
75
75
  const { pageNumber, pageSize } = pagination;
@@ -117,7 +117,7 @@ export const renderQueue = ({ header, heading, afterHeading, index, tabnav, item
117
117
  : undefined;
118
118
  const tabn = html `
119
119
  <cosmoz-tabs-next class="tabn">
120
- <div class="tabn-heading">${heading}${afterHeading}</div>
120
+ <div class="tabn-heading" slot="tabs">${heading}${afterHeading}</div>
121
121
  ${renderTabs({ ...tabnav, className: 'tabn-tab' })}
122
122
  ${renderStats({
123
123
  pagination,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-queue",
3
- "version": "3.3.2",
3
+ "version": "3.4.1",
4
4
  "description": "A reusable queue component for master-detail views with list, split, and queue modes",
5
5
  "keywords": [
6
6
  "web-components",
@@ -68,7 +68,7 @@
68
68
  "@neovici/cosmoz-resizable": "^2.0.0",
69
69
  "@neovici/cosmoz-router": "^11.2.8",
70
70
  "@neovici/cosmoz-slider": "^5.2.1",
71
- "@neovici/cosmoz-tabs": "^10.0.0",
71
+ "@neovici/cosmoz-tabs": "^11.1.0",
72
72
  "@neovici/cosmoz-tokens": "^3.4.0 || ^4.0.0",
73
73
  "@neovici/cosmoz-utils": "^6.22.0",
74
74
  "@pionjs/pion": "^2.10.0",