prime-ui-kit 0.21.0 → 0.21.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.
@@ -26,7 +26,10 @@ same place. Structure it by what people do, not by how the backend is split.
26
26
  it stays folded; its `…` row marks the page).
27
27
  - **One level of nesting.** `Sidebar.Sub` is one section with 2–6 views of the same objects
28
28
  (Сделки → Новые · В работе · Закрытые). The parent only discloses; an overview page is the first
29
- child («Все сделки»). Never a sub-list inside a sub-list — split the section or use page tabs.
29
+ child («Все сделки»). Never a sub-list inside a sub-list — split the section. Facets of one section
30
+ («Мессенджеры» → «Каналы» · «Статистика») are no sub-list: they are route links in the page's
31
+ `Page.Tools`, and the section's item stays `current` on every sub-route (a `NavLink` without `end`,
32
+ or `current={pathname.startsWith("/messengers")}`).
30
33
  - **Icons.** Every top-level item and every sub-list parent has a distinct icon (on the rail the
31
34
  icon is all that is left); children of a sub-list have none.
32
35
  - **Numbers and dots.** A plain `Sidebar.ItemCount` is information (12 new deals): it leaves the