@datagouv/components-next 1.0.2-dev.170 → 1.0.2-dev.171

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datagouv/components-next",
3
- "version": "1.0.2-dev.170",
3
+ "version": "1.0.2-dev.171",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "engines": {
@@ -682,8 +682,9 @@ const props = defineProps<{
682
682
  // Note: combined via AND with any existing column-specific `contains` filters,
683
683
  // so it acts as an additional narrowing constraint, not a replacement.
684
684
  globalSearch?: string
685
- // Initial filters applied on mount, e.g. { 'Administration': { contains: 'Ministère' } }.
686
- // Used when navigating from the detail page badge with query params.
685
+ // Filters seeded on mount, e.g. { 'Administration': { contains: 'Ministère' } }.
686
+ // The explorer owns them afterwards: later changes to this prop are ignored,
687
+ // so pass a fresh instance (or remount) to reset them.
687
688
  initialFilters?: Record<string, ColumnFilters>
688
689
  // When set, renders <a> tags inside the specified column cells for native
689
690
  // browser UX (hover URL, ctrl+click, middle-click).