@datagouv/components-next 1.0.2-dev.59 → 1.0.2-dev.60

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.
@@ -1,4 +1,4 @@
1
- import { c as Ke } from "./main-jWuVtc9s.js";
1
+ import { c as Ke } from "./main-C-0Gkcks.js";
2
2
  import We from "vue";
3
3
  function Fe(I, K) {
4
4
  for (var V = 0; V < K.length; V++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datagouv/components-next",
3
- "version": "1.0.2-dev.59",
3
+ "version": "1.0.2-dev.60",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "engines": {
@@ -292,7 +292,7 @@
292
292
  :class="i % 2 === 1 ? 'bg-gray-lowest-2' : 'bg-white'"
293
293
  >
294
294
  <div
295
- v-for="col in mobileVisibleFields(row, i)"
295
+ v-for="col in mobileVisibleFields(i)"
296
296
  :key="col"
297
297
  class="flex flex-col gap-0.5 min-w-0"
298
298
  >
@@ -751,7 +751,7 @@ const mobileFilterOpen = ref(false)
751
751
  const mobileExpandedRows = ref(new Set<number>())
752
752
  const mobileFilterExpandedCol = ref<string | null>(null)
753
753
 
754
- function mobileVisibleFields(row: TabularRow, index: number): string[] {
754
+ function mobileVisibleFields(index: number): string[] {
755
755
  if (displayedColumns.value.length <= 4 || mobileExpandedRows.value.has(index)) {
756
756
  return displayedColumns.value
757
757
  }