Repository navigation
0.3.0
·
35 commits
to development
since this release
Features
- [Breaking] Peer dependency
@epam/ai-dial-ui-kitraised from^0.14.0to^0.15.0— consumers must install the stable 0.15 kit (hosts on a0.15.0-devbuild move to0.15.0), which carries the 2.0FilterChips,Breadcrumbs,InlineSelectTrigger, andButtonDropdown.dropdownPropsthis release is built on (#42, #43, #47, #52, #60) - [Breaking] Storage tabs moved from the toolbar into the folders panel and are drawn as
FilterChips, a namedrole="group"ofaria-pressedtoggles instead of atablist— migratetoolbarOptions.tabs/activeTab/onTabChangetotreeOptions.tabs/activeTab/onTabChange, pass items as{ value, label }instead of{ id, label }(countanddisabledare gone), and typeactiveTabasDialFileManagerTabs;useDialFileManagerTabsreturns the new shape (#42) - [Breaking]
DialFileManagerTabs.Alladded as the first enum member for a combined My files / Shared / Organization view, anduseDialFileManagerTabslists it first —Record<DialFileManagerTabs, …>literals such as tab labels must add anallkey; filter it out oftabsif the host does not offer it (#51) - [Breaking] The folders panel is fixed at 360px and truncates long names — it no longer resizes or collapses, so
treeOptions.widthand the built-in "collapse all" button are removed; a host that wants collapse-all renders its own button intreeOptions.additionalButtonsand drives it fromtreeOptions.onExpandedPathsChange(#42, #56) - [Breaking] The bulk actions bar floats over the bottom of the grid instead of replacing the header, so the breadcrumbs and Add button stay reachable mid-selection —
bulkActionsToolbarOptions.getSelectionLabelmust now return only the wording ("items selected", not"4 items selected") because the bar draws the count as a badge, and the newclearSelectionLabelnames its close button; actions run Download, Move to, Copy to, Duplicate, Delete, with Delete in the danger colour (#42) - [Breaking] The breadcrumb trail is the 2.0
Breadcrumbs, drawn as the content column's heading and collapsing long paths behind an ellipsis menu instead of scrolling — innavigationPanelOptionsrenamelabelClassNametoitemClassNameand droponBeforeNavigate(the 2.0 trail has no navigation guard);size,maxVisibleItems(default 4), andoverflowAriaLabelare new (#43) - [Breaking] Props removed along with the old toolbar row and the collapsible compact search —
managerLabel(title the manager withtreeOptions.header, now shown while the panel is expanded),toolbarOptions.hiddenFilesSwitcherLabel(move the translation ontoshowHiddenFilesLabel/hideHiddenFilesLabel), andnavigationPanelOptions.isCompactView/backButtonLabel;navigationPanelOptionsalso accepts only the eight search props it actually forwards, soreadOnly,name, and focus handlers stop type-checking (#42) - [Breaking]
gridOptions.wrapperBorderremoved — the grid panel draws rounded corners and a small shadow instead of a border, and the drag-over outline follows its radius; restyle it through the newgridOptions.containerClassName(#55) - File Manager layout rebuilt to the 2.0 design — the hidden-files switch and Add button sit in the content header beside the breadcrumbs, the search field spans the head of the grid card with a new
placeholder, and the section chips stay reachable at the top of the content column in compact view (#42, #53, 4e5b5b2) DialFileManagerSortDropdownadded — a Sort menu (Name / Modified date / Size, then Ascending / Descending) at the trailing edge of the search row, configured through the newsortOptions(sort/defaultSort/onSortChangeplus localizable labels) and exported with theSortOptionsandFileManagerSort*types; rows now default to folders first, then name ascending — passsortOptions={{ sortable: false }}to keep source order and hide the menu (#47)DialFoldersTreeis now a keyboard-accessible ARIA tree —role="tree"/treeitemrows with roving focus, Arrow / Home / End navigation mirrored under RTL, and Enter/Space activation, plus newariaLabel(default"Folders"),autoFocus, andonEscapeprops for hosting the tree in a dismissible overlay; the oldaria-label="folders-tree"/"folder"attributes are gone, so update any test selectors that relied on them (#50)- Folders tree and empty states restyled to 2.0 — pill-shaped rows with a tighter per-level indent, names drawn by the kit's
FileName/FolderName, and an empty folder or no-results search showing only the empty state with the grid and bulk-actions bar hidden; the no-results title is set by the newsearchEmptyStateTitle(default"No data") (#47, 4b104a6, b2bb4c1) - The delete confirmation follows the DIAL delete design — ghost Cancel, a
DangerButtonDelete led by a trash icon, and a header close control named by the newdeleteConfirmationOptions.closeLabel(default"Close dialog");titleRenderer/contentRenderernow receive the items as a second argument so a host can title it "Delete folder" or "Delete file" bynodeType(#59) - Layout class hooks added —
contentClassNameandcontentHeaderClassNameonDialFileManagerplusgridOptions.containerClassNamemerge extra classes onto the content column, its header, and the grid panel, so a class likepb-0orshadow-noneoverrides the matching default (#55, #57) skipForbiddenSymbolsCheckForActionsadded toDialFileManager— keeps actions such as Duplicate, Copy, Move, and Download in the tree and grid menus of items whose names matchforbiddenSymbolsRegExp, which otherwise hides them (#49)gridOptions.additionalGridOptionscan now setrowHeightandheaderHeight— the File Manager's built-in 44px values previously overwrote them (#46)
Fixes
- A file found by search can now be selected — selection falls back to
searchResultswhen the hit lives in a folder the tree has not loaded, instead of pruning the row as stale on the same render (#42) - In compact view, several roots (such as the new
Alltab) open on a list of the roots instead of showing only the first root's contents — selecting one browses it, and a leading breadcrumb named after the active tab returns to the list (#58) - Delete is painted in the danger colour and moved to the end of the folders-tree and grid context menus, matching the bulk actions bar (#48, #54)
- The Add and Sort menus open at their design widths (108px / 240px) instead of the width of their trigger button (#52)
- The Copy/Move destination popup matches the design — its grid gets spacing, its tree sits in a 360px card like the main folders panel, and its tree header is always hidden rather than repeating the main tree's
header(#57)
Other
classnamesdropped fromdependencies— replaced by the UI Kit'smergeClasses, so one less package is installed alongside the File Manager (#43)- Security-relevant dev dependency upgrades:
postcss-selector-parseroverridden to^7.1.6(GHSA-rj75-hqrm-r3gf),vitest/@vitest/coverage-v8to^4.1.11(GHSA-82fw-gwwq-j7x9), and Storybook'sesbuildto^0.28.1(GHSA-g7r4-m6w7-qqqr) — all build/test-time only, none reach consumer runtime (#60)