@sierra-95/svelte-scaffold 1.0.42 → 1.0.44

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.
@@ -9,6 +9,7 @@ export type SectionItem = {
9
9
  };
10
10
  export type Section = {
11
11
  label: string;
12
+ hidden?: boolean;
12
13
  items: SectionItem[];
13
14
  };
14
15
  export type SearchResult = {
@@ -67,7 +67,7 @@
67
67
 
68
68
  </script>
69
69
  <nav id="sierra-menu">
70
- {#each sections as section, i}
70
+ {#each sections.filter(section => !section.hidden) as section, i}
71
71
  {#if section.label}
72
72
  <div style="width: 80%;">
73
73
  <h3 style="font-size:small; {isMenuOpen? '':'display:none;'}">{section.label}</h3>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sierra-95/svelte-scaffold",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",