feat: add dividers to the sidebar and wrap long titles

Update @tnsu/ui-kit to 0.14.0: thin lines between sidebar items make the
long menu easier to scan, and long titles such as "Загрузить работы из
сметы" wrap to a second line instead of being cut off.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Тимур Городецкий
2026-10-23 17:56:48 +05:00
parent f3e098ee84
commit a9af74ba02
3 changed files with 6 additions and 5 deletions
+4 -4
View File
@@ -17,7 +17,7 @@
"@microsoft/sp-office-ui-fabric-core": "1.22.1",
"@microsoft/sp-property-pane": "1.22.1",
"@microsoft/sp-webpart-base": "1.22.1",
"@tnsu/ui-kit": "^0.13.0",
"@tnsu/ui-kit": "^0.14.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"tslib": "2.3.1"
@@ -6659,9 +6659,9 @@
"license": "0BSD"
},
"node_modules/@tnsu/ui-kit": {
"version": "0.13.0",
"resolved": "http://git.tnsu.kz/api/packages/timur.gorodetskiy/npm/%40tnsu%2Fui-kit/-/0.13.0/ui-kit-0.13.0.tgz",
"integrity": "sha512-FfIfPIXQyDwEb5v8n7EIxfn5V9CYURP98veTK9XUEplq/1lAJF8CXpVDZ/6i1DBOiNqSSs/zGMrydphXw6IMzQ==",
"version": "0.14.0",
"resolved": "http://git.tnsu.kz/api/packages/timur.gorodetskiy/npm/%40tnsu%2Fui-kit/-/0.14.0/ui-kit-0.14.0.tgz",
"integrity": "sha512-Vun9AUM9jL8rttbsbKo5Yh6TUz1srkNqxiO6mmzebrSo1JOASNJqNjJPMTS+8Jt3MTrJPklvh0TbeqGQzw7qxQ==",
"license": "ISC",
"peerDependencies": {
"@fluentui/react": "^8.106.4",
+1 -1
View File
@@ -21,7 +21,7 @@
"@microsoft/sp-office-ui-fabric-core": "1.22.1",
"@microsoft/sp-property-pane": "1.22.1",
"@microsoft/sp-webpart-base": "1.22.1",
"@tnsu/ui-kit": "^0.13.0",
"@tnsu/ui-kit": "^0.14.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"tslib": "2.3.1"
+1
View File
@@ -37,6 +37,7 @@ export const AppShell: React.FC = () => {
onToggleCollapsed={() => setIsCollapsed((prev) => !prev)}
mobileOpen={isMobileMenuOpen}
onMobileClose={() => setIsMobileMenuOpen(false)}
dividers
/>
}
mobileToggle={<SidebarToggle onClick={() => setIsMobileMenuOpen(true)} />}