@campminder/components 0.7.0 → 0.7.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.
|
@@ -85,14 +85,12 @@ export declare class SideNav extends LitElement {
|
|
|
85
85
|
* `MenuTree` (`../menu-tree`, generic — see that file's move note) instead. Icon binding is the only
|
|
86
86
|
* piece of that pipeline still intrinsic to rendering; see `icon-map.ts`.
|
|
87
87
|
*
|
|
88
|
-
* Not sorted here.
|
|
89
|
-
* name at every level
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
* fix belongs where the JSON is authored, not in a render-time sort this
|
|
95
|
-
* component would then always pay for.
|
|
88
|
+
* Not sorted here: the tree arrives in display order. System sorts by `sortOrder`
|
|
89
|
+
* then name, at every level, on the label the camp actually sees, so the order
|
|
90
|
+
* depends on each camp's terminology and cannot be fixed in the committed JSON.
|
|
91
|
+
* The server does it in `getFilteredMenu`, after terms resolve (AB#29742). The
|
|
92
|
+
* raw tree exported for client use (`CAMPMINDER_TREE`, `loadCampminderTree`) is
|
|
93
|
+
* neither resolved nor sorted; a host rendering it directly gets on-disk order.
|
|
96
94
|
*/
|
|
97
95
|
tree: MenuTree;
|
|
98
96
|
/**
|