@ciridae/ui 2.83.0 → 2.83.1

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.
@@ -155,7 +155,7 @@ export function AppNavigation({ sections, activeId: ownActiveId = null, renderLi
155
155
  return (_jsxs(AppSidebar, { "aria-label": labels.navigation, collapsed: collapsed, ...props, children: [_jsxs(AppSidebarNav, { ref: room.navRef, children: [header, sectionRuns(sections).map((run) => run.panel ? (_jsx(SidebarPanel, { children: run.sections.map(sectionBlock) }, run.sections[0].id)) : (_jsx(Fragment, { children: run.sections.map(sectionBlock) }, run.sections[0].id)))] }), _jsxs(AppSidebarRail, { children: [railHeader, sections
156
156
  .filter((section) => section.rail !== false && section.items.length > 0)
157
157
  .map((section) => (_jsxs("div", { className: railSection, children: [section.label && _jsx(SidebarRailRule, {}), section.railControl ??
158
- section.items.map((item) => (_jsx(Tooltip, { content: item.label, side: "inline-end", children: _jsx(SidebarItem, { "aria-label": item.label, icon: item.icon, active: activeIds.includes(item.id), href: item.href, render: item.render ?? renderLink?.(item), onClick: item.onSelect }) }, item.id)))] }, section.id)))] }), _jsxs(AppSidebarFooter, { ref: room.footerRef, children: [collapsed && onExpand && (_jsx(AppSidebarRail, { className: expandButtonRail, children: _jsx(Tooltip, { content: locale.labels.common.expand, side: "inline-end", children: _jsx(IconButton, { "aria-label": locale.labels.common.expand, size: "medium", onClick: onExpand, children: _jsx(CaretLineRightIcon, { className: cx(icon({ size: "small" }), directional) }) }) }) })), footer] })] }));
158
+ section.items.map((item) => (_jsx(Tooltip, { content: item.label, side: "inline-end", children: _jsx(SidebarItem, { "aria-label": item.label, icon: item.icon, active: activeIds.includes(item.id), href: item.href, render: item.render ?? renderLink?.(item), onClick: item.onSelect }) }, item.id)))] }, section.id)))] }), _jsxs(AppSidebarFooter, { ref: room.footerRef, children: [collapsed && onExpand && (_jsx(AppSidebarRail, { className: expandButtonRail, children: _jsx(Tooltip, { content: locale.labels.shell.expandSidebar, side: "inline-end", children: _jsx(IconButton, { "aria-label": locale.labels.shell.expandSidebar, size: "medium", onClick: onExpand, children: _jsx(CaretLineRightIcon, { className: cx(icon({ size: "small" }), directional) }) }) }) })), footer] })] }));
159
159
  }
160
160
  /* A workspace's mark: its edge is a gradient, so it is drawn under the face through a transparent border. */
161
161
  const workspaceMark = css({
@@ -81,6 +81,7 @@ export declare const englishLabels: {
81
81
  shell: {
82
82
  menu: string;
83
83
  breadcrumb: string;
84
+ expandSidebar: string;
84
85
  parentPages: string;
85
86
  signingIn: string;
86
87
  signInFailed: string;
@@ -78,6 +78,7 @@ export const englishLabels = {
78
78
  shell: {
79
79
  menu: "Menu",
80
80
  breadcrumb: "Breadcrumb",
81
+ expandSidebar: "Expand sidebar",
81
82
  parentPages: "Parent pages",
82
83
  signingIn: "Signing in",
83
84
  signInFailed: "Sign-in failed",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ciridae/ui",
3
- "version": "2.83.0",
3
+ "version": "2.83.1",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",