Repository navigation
0.4.0
·
2 commits
to development
since this release
Features
- [Breaking]
styles.cssis built with Tailwind CSS v4 and sits in the kit'sui.base/ui.utilitiescascade layers instead of being unlayered — a host's unlayered CSS and the kit'sdial-*classes now win over a file-manager utility that sets the same property (!-prefixed classes still win), andhover:applies only on hover-capable devices; class names, theme tokens and props are unchanged, so migrate by re-checking host overrides that relied on the old cascade order and following the kit's Tailwind v4 migration guide for the preflight differences (#71, #72) - [Breaking] Peer dependency
@epam/ai-dial-ui-kitraised from^0.15.0to^0.16.0— consumers must install the stable 0.16 kit and keep loading itsstyles.cssalongside this package's (hosts on a0.16.0-devbuild move to0.16.0); this release relies on its Tailwind v4 layers, theFileNameiconprop and itsDropdownaccessibility fixes (#71, #76, #87, #92, #95, 02c3684, 419ba31) DialFoldersTreefollows the 2.0 tree item — clicking the caret only expands or collapses a folder, clicking a row selects it and expands it when closed but never collapses it, and the caret gets its own 20px hover tint;selectOnCaretClicknow defaults tofalsein bothDialFoldersTreeandDialFileManager, so passtrueto keep the old caret-selects behaviour (#76)getItemActionRestrictionadded toDialFileManager—(file, action) => string | undefineddisables Move, Download, Rename or Delete for individual items (for example a folder that must keep its path) in the grid menu, tree menu and bulk actions bar, showing the returned reason beside the action (#88, #91)- Custom item icons —
DialFoldersTree.getItemIcon,treeOptions.getItemIconandgridOptions.getItemIconreplace a row's type icon in the tree, the grid and the compact list, for example to mark a special folder; returnundefinedto keep the default (#87, #88) toolbarOptions.additionalButtonsexposed — host controls render in the header toolbar before the Add button, and before the Sort menu in the compact view (#77)hideHiddenFilesLabeladded toDialDestinationFolderPopupanddestinationFolderPopupOptions— the Copy/Move popup's hidden-files toggle switches to it (default"Hide hidden files") while hidden files are shown, matching the main toolbar and making the label localizable (#84)
Fixes
- Upload rejections are no longer silent — an oversized or unsupported file, a dropped folder or a failed
onValidateUploadnow shows a dismissible error notification above the grid unless the host handles the newonUploadValidationErrorcallback (exported with theFileUploadValidation*types), and only the oversized files in a selection are rejected instead of the whole batch (#83) - Row "more" menu buttons in the grid and
DialFoldersTreenow have an accessible name — set through the newgridOptions.rowActionsLabelandcontextMenuButtonLabel(also viatreeOptions), both defaulting to"More actions"; tree rows with no menu items no longer announcearia-haspopup="menu"(#92) - Move can no longer nest a folder inside itself — the destination popup and the phone sheet disable Move when the target is a moved folder or one of its subfolders, with a tooltip set by the new
destinationFolderPopupOptions.movedIntoItselfTooltip(#74) - Cmd/Ctrl+A, C, V, X and Z in the inline rename and new-folder inputs act on the input text instead of reaching AG Grid, which selected every row (#73)
- Creating a folder with a dot-prefixed name runs the duplicate-name check and
onCreateFolderValidatebefore the hidden-item warning — reserved names such as.dial_foldercan no longer be confirmed, matching the rename fix from 0.3.1 (#90) treeOptions.headeris drawn above the compact navigation card — a host's title no longer vanishes when the manager collapses to one column;header: nullstill hides it (#78)DialFoldersTreefile rows keep a caret-width slot withshowFiles— file and folder icons on the same level now line up (#75)- Section chips are semibold in every state, and tree rows and the grid name cell's shared indicator use the same subtle hover and selected backgrounds as the grid rows (#76)
- Shadow tokens match the design and the kit —
shadow-sm/shadow-mdare two-layer,shadow-xsis a single centred glow andshadow-lgtakes the design's values; a theme that set--shadow-xs-2should note that it is no longer read (#76, d92237a)
Other
styles.cssshrinks from about 58 KB to 17 KB — it no longer re-emits the kit's utilities, so the kit'sstyles.cssmust still be loaded alongside it (#71, #72)- Security-relevant dev dependency upgrades:
vite-plugin-dtsto~5.1.2, droppingsprintf-js(GHSA-hp3w-g68c-fv3c); Storybook to 10.6.2 (GHSA-f2ph-cmg5-wxc8, GHSA-px85-f4q5-jh77);zodoverridden to^4.6.6(CVE-2023-54404);vitest/@vitest/coverage-v8to^4.1.12for@vitest/mocker(CVE-2026-112949, CVE-2026-112950);globto^14.0.2(CVE-2026-118773) andminimatchto^11.0.1(CVE-2026-118764) — all build/test-time only, none reach consumer runtime (#71, #79, #81, #95)