@knowcode/doc-builder 1.3.4 → 1.3.5

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/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to @knowcode/doc-builder will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.3.5] - 2025-07-19
9
+
10
+ ### Fixed
11
+ - Restored proper header and breadcrumb heights for better visual hierarchy
12
+ - Header height increased from 40px to 56px
13
+ - Breadcrumb height restored from 0px to 40px
14
+ - Removed duplicate "Home" link from sidebar to eliminate confusion
15
+ - Cleaned up orphaned CSS styles for removed sidebar breadcrumbs
16
+
17
+ ### Improved
18
+ - Better spacing and visual weight for header components
19
+ - Cleaner sidebar with single-purpose filter input
20
+ - More professional appearance with proper proportions
21
+
8
22
  ## [1.3.4] - 2025-07-19
9
23
 
10
24
  ### Fixed
@@ -125,8 +125,8 @@
125
125
  /* Layout */
126
126
  --container-padding-mobile: 20px;
127
127
  --container-padding-desktop: 40px;
128
- --header-height: 40px;
129
- --breadcrumb-height: 0px;
128
+ --header-height: 56px;
129
+ --breadcrumb-height: 40px;
130
130
  --sidebar-width: 280px;
131
131
  }
132
132
 
@@ -337,33 +337,6 @@ pre code {
337
337
  border-bottom: 1px solid var(--color-border-default);
338
338
  }
339
339
 
340
- /* Sidebar Breadcrumbs */
341
- .sidebar-breadcrumbs {
342
- margin-bottom: var(--space-6);
343
- }
344
-
345
- .sidebar-home-link {
346
- display: inline-flex;
347
- align-items: center;
348
- gap: var(--space-2);
349
- padding: var(--space-2) var(--space-3);
350
- color: var(--color-text-secondary);
351
- text-decoration: none;
352
- border-radius: var(--radius-base);
353
- font-size: 0.875rem;
354
- font-weight: 500;
355
- transition: all 0.2s;
356
- }
357
-
358
- .sidebar-home-link:hover {
359
- background: var(--color-bg-secondary);
360
- color: var(--color-text-primary);
361
- }
362
-
363
- .sidebar-home-link i {
364
- font-size: 1rem;
365
- }
366
-
367
340
  .filter-box {
368
341
  position: relative;
369
342
  }
@@ -529,11 +502,6 @@ pre code {
529
502
  border-bottom: 1px solid var(--color-border-default);
530
503
  }
531
504
 
532
- /* Already defined above, but ensure consistency */
533
- .sidebar-breadcrumbs {
534
- margin-bottom: var(--space-6);
535
- }
536
-
537
505
  .filter-box {
538
506
  position: relative;
539
507
  display: flex;
@@ -44,8 +44,8 @@
44
44
  /* Layout */
45
45
  --sidebar-width: 280px;
46
46
  --content-max-width: 65rem;
47
- --header-height: 40px;
48
- --breadcrumb-height: 0px;
47
+ --header-height: 56px;
48
+ --breadcrumb-height: 40px;
49
49
  --banner-offset: 0rem;
50
50
 
51
51
  /* Transitions */
@@ -865,33 +865,6 @@ em, i {
865
865
  z-index: 10;
866
866
  }
867
867
 
868
- /* Sidebar Breadcrumbs */
869
- .sidebar-breadcrumbs {
870
- margin-bottom: var(--space-xl);
871
- }
872
-
873
- .sidebar-home-link {
874
- display: inline-flex;
875
- align-items: center;
876
- gap: 0.5rem;
877
- padding: 0.5rem 0.75rem;
878
- color: var(--text-secondary);
879
- text-decoration: none;
880
- border-radius: 0.375rem;
881
- font-size: 0.875rem;
882
- font-weight: 500;
883
- transition: all 0.2s;
884
- }
885
-
886
- .sidebar-home-link:hover {
887
- background: var(--bg-secondary);
888
- color: var(--text-primary);
889
- }
890
-
891
- .sidebar-home-link i {
892
- font-size: 1rem;
893
- }
894
-
895
868
  .filter-box {
896
869
  position: relative;
897
870
  width: 100%;
@@ -979,15 +952,6 @@ em, i {
979
952
  background: var(--bg-secondary);
980
953
  }
981
954
 
982
- [data-theme="dark"] .sidebar-home-link {
983
- color: var(--text-secondary);
984
- }
985
-
986
- [data-theme="dark"] .sidebar-home-link:hover {
987
- background: var(--bg-tertiary);
988
- color: var(--text-primary);
989
- }
990
-
991
955
  [data-theme="dark"] .filter-input {
992
956
  border-color: rgba(255, 255, 255, 0.1);
993
957
  background: var(--bg-tertiary);
@@ -144,12 +144,6 @@ function generateHTML(title, content, navigation, currentPath = '', config = {})
144
144
  <!-- Sidebar -->
145
145
  <aside class="sidebar">
146
146
  <div class="sidebar-header">
147
- <div class="sidebar-breadcrumbs">
148
- <a href="/index.html" class="sidebar-home-link">
149
- <i class="fas fa-home"></i>
150
- <span>Home</span>
151
- </a>
152
- </div>
153
147
  <div class="filter-box">
154
148
  <input type="text" placeholder="Filter items..." class="filter-input" id="nav-filter">
155
149
  <i class="fas fa-search filter-icon"></i>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowcode/doc-builder",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Reusable documentation builder for markdown-based sites with Vercel deployment support",
5
5
  "main": "index.js",
6
6
  "bin": {