@knitli/docs-components 1.1.0 → 1.1.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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,25 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### 1.1.1
8
+
9
+ > 2026-02-19
10
+
11
+ - feat: Add `PageFrame.astro` — Starlight `PageFrame` override with fixed cross-site subnav bar (breadcrumb left, Knitli Home + Blog links right)
12
+ - feat: Add `Footer.astro` — Starlight `Footer` override that preserves native page-level footer (edit link, last updated, pagination, credits) and appends Knitli brand footer below
13
+ - feat: Update `DocsBreadcrumb.astro` — migrate styles to Starlight CSS variables, add `inline` variant for embedding in subnav bars, fix segment href generation, update Documentation link to point to `https://docs.knitli.com`
14
+ - feat: `PageFrame` reads `PUBLIC_DOCS_PRODUCT` env var to conditionally render breadcrumb; derives content path from `BASE_URL` for correct segment stripping across sub-path and standalone deployments
15
+ - feat: `PageFrame` uses `var(--sl-subnav-height, 2rem)` CSS fallback — no manual variable definition required in consuming sites
16
+ - fix: Subnav links correctly right-aligned when no breadcrumb is present (`margin-inline-start: auto`)
17
+ - chore: Remove `DocsHeader.astro` and `DocsFooter.astro` (replaced by `PageFrame.astro` and `Footer.astro`); stubs remain with hard errors to guide migration
18
+ - chore: Update `package.json` exports — add `PageFrame.astro`, `Footer.astro`; remove `DocsHeader.astro`, `DocsFooter.astro`; add `@astrojs/starlight >=0.30.0` peer dependency
19
+
20
+ #### 1.1.0
21
+
22
+ > 2026-02-19
23
+
24
+ - chore: Bump version
25
+
7
26
  #### 1.0.4
8
27
 
9
28
  - chore: Updated licensing and README to clarify difference between Knitli brand assets (proprietary) and the rest of the project (MIT OR Apache-2.0).
package/package.json CHANGED
@@ -66,5 +66,5 @@
66
66
  },
67
67
  "type": "module",
68
68
  "types": "./dist/index.d.ts",
69
- "version": "1.1.0"
69
+ "version": "1.1.1"
70
70
  }
@@ -172,6 +172,7 @@ const currentPath = Astro.url.pathname
172
172
  gap: 1.25rem;
173
173
  align-items: center;
174
174
  flex-shrink: 0;
175
+ margin-inline-start: auto;
175
176
  }
176
177
 
177
178
  .subnav-link {