@startsimpli/ui 0.4.54 → 0.4.55

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": "@startsimpli/ui",
3
- "version": "0.4.54",
3
+ "version": "0.4.55",
4
4
  "description": "Shared UI components package for StartSimpli applications",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -451,7 +451,11 @@ export function UnifiedTable<TData>({
451
451
 
452
452
  {/* Filters */}
453
453
  {filtersConfig?.enabled && filtersConfig.config && (
454
- <TableFilters config={filtersConfig.config} filters={filters} />
454
+ <TableFilters
455
+ config={filtersConfig.config}
456
+ filters={filters}
457
+ defaultExpanded={filtersConfig?.defaultExpanded ?? false}
458
+ />
455
459
  )}
456
460
 
457
461
  {/* Bulk Actions Bar */}
@@ -121,6 +121,8 @@ export interface FiltersConfig {
121
121
  onChange: (filters: FilterState) => void
122
122
  presets?: FilterPreset[]
123
123
  showPresets?: boolean // Show preset chips in toolbar (default: true if presets provided)
124
+ // Render the filter panel expanded on first mount instead of collapsed behind the "Filters" toggle (default: false)
125
+ defaultExpanded?: boolean
124
126
  }
125
127
 
126
128
  export interface FilterConfig {