@ox-content/vite-plugin 2.66.0 → 2.67.0
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.
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/dist/vitepress.cjs.map +1 -1
- package/dist/vitepress.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1921,7 +1921,8 @@ function toRustNavItem(item) {
|
|
|
1921
1921
|
path: item.path,
|
|
1922
1922
|
href: item.href,
|
|
1923
1923
|
children: item.children?.map(toRustNavItem),
|
|
1924
|
-
collapsed: item.collapsed
|
|
1924
|
+
collapsed: item.collapsed,
|
|
1925
|
+
stickyCollapsed: item.stickyCollapsed
|
|
1925
1926
|
};
|
|
1926
1927
|
}
|
|
1927
1928
|
function convertNavGroupsForRust(navGroups) {
|
|
@@ -1930,6 +1931,7 @@ function convertNavGroupsForRust(navGroups) {
|
|
|
1930
1931
|
const converted = navGroups.map((group) => ({
|
|
1931
1932
|
title: group.title,
|
|
1932
1933
|
collapsed: group.collapsed,
|
|
1934
|
+
stickyCollapsed: group.stickyCollapsed,
|
|
1933
1935
|
items: group.items.map(toRustNavItem)
|
|
1934
1936
|
}));
|
|
1935
1937
|
navGroupsForRustCache.set(navGroups, converted);
|