From 6ea8cfc5400b25d59b3f8dc032dbc9ba3eca67b8 Mon Sep 17 00:00:00 2001 From: Michael Haschke Date: Mon, 7 Sep 2026 10:08:28 +0200 Subject: [PATCH] add canonical toggle icons for tree nodes --- CHANGELOG.md | 3 +++ src/components/Icon/canonicalIconNames.tsx | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d0318eae..e8cc9f91e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Added `cutOff` property to set maximum number of raw Markdown characters to render - new `utils` methods: - `truncateMarkdownDisplay`: helper function to iterate over `Markdown` renderings to improve the experienced `cutOff` value +- new icons: + - `toggler-treenode-closed` + - `toggler-treenode-expanded` ### Changed diff --git a/src/components/Icon/canonicalIconNames.tsx b/src/components/Icon/canonicalIconNames.tsx index fc8d01219..116807ac7 100644 --- a/src/components/Icon/canonicalIconNames.tsx +++ b/src/components/Icon/canonicalIconNames.tsx @@ -220,6 +220,8 @@ const canonicalIcons = { "toggler-star-filled": icons.StarFilled, "toggler-table": icons.Table, "toggler-tree": icons.TreeViewAlt, + "toggler-treenode-closed": icons.ChevronRight, + "toggler-treenode-expanded": icons.ChevronDown, "toggler-pin-empty": icons.Pin, "toggler-pin-filled": icons.PinFilled,