@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. core-js's `sortCategoriesData` sorted by `sort_order` then
89
- * name at every level because the base64 fixture arrived unsorted; verified
90
- * 2026-09-02 that the committed `campminder.json` categories are already in
91
- * `sortOrder` order on disk, and `drift.test.ts` pins that order — so imposing a
92
- * second sort here would just be a no-op that could silently start doing
93
- * something the day the JSON stops being pre-sorted. If that's ever untrue, the
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campminder/components",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"