@knitli/docs-components 1.1.6 → 1.1.7

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,10 @@ 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.7
8
+
9
+ - fix: Another path resolution issue
10
+
7
11
  #### 1.1.6
8
12
 
9
13
  - fix: typo in Footer component
@@ -0,0 +1,7 @@
1
+ export declare const faviconIco: string;
2
+ export declare const faviconSvg: string;
3
+ export type FaviconAssets = {
4
+ faviconIco: string;
5
+ faviconSvg: string;
6
+ };
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assets/favicon/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,UAAU,QAAiC,CAAC;AACzD,eAAO,MAAM,UAAU,QAAiC,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -0,0 +1,10 @@
1
+ // SPDX-FileCopyrightText: 2025 Knitli Inc.
2
+ // SPDX-License-Identifier: MIT OR Apache-2.0
3
+ //
4
+ // Local logo asset exports - files are copied from @knitli/shared-layouts during build.
5
+ // Do not edit paths here; run `bun run copy-assets` to refresh from source.
6
+ import { dirname, join } from "node:path";
7
+ import { fileURLToPath } from "node:url";
8
+ const __dirname = dirname(fileURLToPath(import.meta.url));
9
+ export const faviconIco = join(__dirname, "favicon.ico");
10
+ export const faviconSvg = join(__dirname, "favicon.svg");
package/dist/index.d.ts CHANGED
@@ -13,6 +13,8 @@ export declare const DocsAssets: {
13
13
  headlineLogoDark: string;
14
14
  headlineLogoLight: string;
15
15
  knitliWordmark: string;
16
+ faviconIco: string;
17
+ faviconSvg: string;
16
18
  docsStyle: string;
17
19
  };
18
20
  declare const _default: {
@@ -30,6 +32,8 @@ declare const _default: {
30
32
  headlineLogoDark: string;
31
33
  headlineLogoLight: string;
32
34
  knitliWordmark: string;
35
+ faviconIco: string;
36
+ faviconSvg: string;
33
37
  docsStyle: string;
34
38
  };
35
39
  DocsBreadcrumb: () => Promise<typeof import("*.astro")>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,cAAc,kBAAkB,CAAC;AAoBjC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;CAetB,CAAC;;;;;;;;;;;;;;;;;;;;;;AAQF,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,cAAc,kBAAkB,CAAC;AAsBjC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;CAiBtB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAQF,wBAGE"}
package/dist/index.js CHANGED
@@ -7,6 +7,7 @@
7
7
  // Export type definitions
8
8
  export * from "./types/index.js";
9
9
  import { codeweaverPrimary, codeweaverReverse, headlineLogoDark, headlineLogoLight, knitliLogo, knitliWordmark, recocoLogoMed, recocoLogoSm, recocoLogoXl, threadLogoDark, threadLogoLight, } from "./assets/logos/index.js";
10
+ import { faviconIco, faviconSvg } from "./assets/favicon/index.js";
10
11
  import { codeweaverTheme, variables } from "./assets/styles/index.js";
11
12
  import { docsStyle } from "./styles/index.js";
12
13
  export const DocsAssets = {
@@ -23,6 +24,8 @@ export const DocsAssets = {
23
24
  headlineLogoDark,
24
25
  headlineLogoLight,
25
26
  knitliWordmark,
27
+ faviconIco,
28
+ faviconSvg,
26
29
  docsStyle,
27
30
  };
28
31
  const components = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knitli/docs-components",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "Shared branded components for Knitli documentation sites",
5
5
  "keywords": [
6
6
  "knitli",
@@ -0,0 +1,18 @@
1
+ // SPDX-FileCopyrightText: 2025 Knitli Inc.
2
+ // SPDX-License-Identifier: MIT OR Apache-2.0
3
+ //
4
+ // Local logo asset exports - files are copied from @knitli/shared-layouts during build.
5
+ // Do not edit paths here; run `bun run copy-assets` to refresh from source.
6
+
7
+ import { dirname, join } from "node:path";
8
+ import { fileURLToPath } from "node:url";
9
+
10
+ const __dirname = dirname(fileURLToPath(import.meta.url));
11
+
12
+ export const faviconIco = join(__dirname, "favicon.ico");
13
+ export const faviconSvg = join(__dirname, "favicon.svg");
14
+
15
+ export type FaviconAssets = {
16
+ faviconIco: string;
17
+ faviconSvg: string;
18
+ };
package/src/index.d.ts CHANGED
@@ -14,6 +14,8 @@ export type DocsAssets = {
14
14
  codeweaverPrimary: string;
15
15
  codeweaverReverse: string;
16
16
  codeweaverTheme: string;
17
+ faviconIco: string;
18
+ faviconSvg: string;
17
19
  variables: string;
18
20
  threadLogoDark: string;
19
21
  threadLogoLight: string;
package/src/index.ts CHANGED
@@ -22,6 +22,8 @@ import {
22
22
  threadLogoLight,
23
23
  } from "./assets/logos/index.js";
24
24
 
25
+ import { faviconIco, faviconSvg } from "./assets/favicon/index.js";
26
+
25
27
  import { codeweaverTheme, variables } from "./assets/styles/index.js";
26
28
 
27
29
  import { docsStyle } from "./styles/index.js";
@@ -40,6 +42,8 @@ export const DocsAssets = {
40
42
  headlineLogoDark,
41
43
  headlineLogoLight,
42
44
  knitliWordmark,
45
+ faviconIco,
46
+ faviconSvg,
43
47
  docsStyle,
44
48
  };
45
49