# UnifiedFiler v1.8.2 Notes

## Main changes

- Added a Windows 11 inspired flat Explorer theme (`theme: 'windows11'`).
- Replaced the separate New Folder / New File toolbar buttons with a configurable New menu.
- Added `newMenuItems` so a Host can define additional creation templates such as Text, Markdown, JSON, package files, or domain-specific file types.
- Added `showStorageSelector` to hide the drive/storage combo box when the Host wants a breadcrumb-centered layout.
- Added `treeStorageMode`:
  - `all`: show all registered storages in the tree.
  - `active`: show only the currently selected storage in the tree.
- Added configurable `detailColumns`, `columnWidths`, `defaultColumnWidth`, and `minColumnWidth`.
- Changed detail-column resizing to adjacent-column resizing so moving a splitter adjusts the neighboring column instead of expanding both sides.
- Hardened ListView / DetailView folder double-click navigation by normalizing entry ids as strings and avoiding selector escaping issues.
- Expanded demo parameter panels for theme, storage selector visibility, tree storage mode, and custom New menu templates.

## Example

```javascript
$('#host').fileExplorer({
    theme: 'windows11',
    showStorageSelector: false,
    treeStorageMode: 'active',
    detailColumns: ['name', 'updatedAt', 'type', 'size'],
    columnWidths: {
        name: 320,
        updatedAt: 220,
        type: 190,
        size: 120
    },
    newMenuItems: [
        { id: 'folder', label: 'Folder', action: 'newFolder', iconClass: 'fa-folder' },
        { id: 'text', label: 'Text File', action: 'createFile', defaultName: 'untitled.txt', mimeType: 'text/plain', content: '' },
        { id: 'markdown', label: 'Markdown File', action: 'createFile', defaultName: 'untitled.md', mimeType: 'text/markdown', content: '# New Document\n' }
    ]
});
```
