@knitli/docs-components 1.1.6 → 1.1.8

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,14 @@ 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.8
8
+
9
+ - fix: build asset propagation issue
10
+
11
+ #### 1.1.7
12
+
13
+ - fix: Another path resolution issue
14
+
7
15
  #### 1.1.6
8
16
 
9
17
  - fix: typo in Footer component
Binary file
@@ -0,0 +1,86 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ id="Layer_1"
4
+ data-name="Layer 1"
5
+ viewBox="0 0 400.00001 399.99999"
6
+ version="1.1"
7
+ sodipodi:docname="favicon.svg"
8
+ inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
9
+ width="400"
10
+ height="400"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ xmlns:svg="http://www.w3.org/2000/svg"
15
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
16
+ xmlns:cc="http://creativecommons.org/ns#"
17
+ xmlns:dc="http://purl.org/dc/elements/1.1/">
18
+ <title
19
+ id="title1">knitli favicon</title>
20
+ <sodipodi:namedview
21
+ id="namedview1"
22
+ pagecolor="#000000"
23
+ bordercolor="#ffffff"
24
+ borderopacity="1"
25
+ inkscape:showpageshadow="false"
26
+ inkscape:pageopacity="0"
27
+ inkscape:pagecheckerboard="1"
28
+ inkscape:deskcolor="#505050"
29
+ inkscape:zoom="3.6830872"
30
+ inkscape:cx="168.60855"
31
+ inkscape:cy="197.79602"
32
+ inkscape:window-width="2560"
33
+ inkscape:window-height="1529"
34
+ inkscape:window-x="-8"
35
+ inkscape:window-y="-8"
36
+ inkscape:window-maximized="1"
37
+ inkscape:current-layer="Layer_1" />
38
+ <defs
39
+ id="defs1">
40
+ <style
41
+ id="style1">
42
+ .cls-1 {
43
+ fill: #ea5932;
44
+ }
45
+ </style>
46
+ </defs>
47
+ <metadata
48
+ id="metadata1">
49
+ <rdf:RDF>
50
+ <cc:Work
51
+ rdf:about="">
52
+ <dc:creator>Knitli Inc.</dc:creator>
53
+ <dc:publisher>Knitli Inc.</dc:publisher>
54
+ <dc:rights>© 2025 Knitli Inc. All Rights Reserved.<cc:Agent>
55
+ <dc:title>knitli official favicon</dc:title>
56
+ </cc:Agent>
57
+ </dc:rights>
58
+ <dc:description>official knitli favicon</dc:description>
59
+ <dc:subject>Brand Identity</dc:subject>
60
+ <dc:type>Image</dc:type>
61
+ <dc:language>en</dc:language>
62
+ <dc:format>image/svg+xml</dc:format>
63
+ <dc:source>Signcraft (DesignCrowd) / SleighVisual (99Designs)</dc:source>
64
+ <dc:coverage>all</dc:coverage>
65
+ <dc:contributor>Design: Adam/Signcraft (DesignCrowd username), Owned: Knitli Inc.</dc:contributor>
66
+ <dc:relation>original reference design</dc:relation>
67
+ <dc:date>2025-04-07</dc:date>
68
+ <dc:identifier>952316bb-88e4-4e75-aeec-a81e3dddc965</dc:identifier>
69
+ <dc:title>knitli favicon</dc:title>
70
+ </cc:Work>
71
+ </rdf:RDF>
72
+ </metadata>
73
+ <path
74
+ style="fill:#1e061b"
75
+ d="M 0,0 H 400 V 400 H 0 Z"
76
+ id="rect1" />
77
+ <path
78
+ style="fill:#ea5932;fill-opacity:1"
79
+ d="m 362.23,157.08392 c -7.41,-2.72 -15.31,-4.08 -23.45,-4.08 -25.16,0 -47.42,12.37 -62.01,23.11 -3.66,-4.58 -6.91,-9.5 -9.98,-14.71 -2.97,-5.27 -5.61,-10.54 -7.75,-16 16.6,-7.27 38.43,-20.36 51.02,-42.15 4.08,-7.049996 6.84,-14.569996 8.19,-22.349996 3.43,-19.64 -5.15,-39.12 -21.44,-48.54 -16.25,-9.37 -37.44,-7.08 -52.74,5.7 -6.04,5.05 -11.17,11.2 -15.25,18.28 -12.57,21.78 -13,47.209996 -11,65.249996 -5.83,0.89 -11.78,1.32 -17.83,1.31 -6.05,0 -12,-0.42 -17.83,-1.31 2,-18.04 1.57,-43.479996 -11,-65.249996 -4.09,-7.08 -9.21,-13.23 -15.25,-18.28 -15.3,-12.78 -36.49,-15.07 -52.74,-5.7 -16.290001,9.42 -24.860001,28.91 -21.440001,48.54 1.35,7.78 4.12,15.3 8.19,22.349996 12.590001,21.79 34.420001,34.88 51.020001,42.15 -2.14,5.46 -4.78,10.73 -7.75,16 -3.07,5.21 -6.32,10.13 -9.98,14.71 -14.6,-10.74 -36.850001,-23.1 -62.010001,-23.11 -8.14,0 -16.04,1.36 -23.45,4.08 -18.72,6.85 -31.3100002,24.02 -31.3200002,42.83 0,18.76 12.5900002,35.97 31.3100002,42.82 7.39,2.71 15.28,4.07 23.46,4.07 25.14,0 47.380001,-12.34 62.010001,-23.1 3.69,4.6 7.03,9.54 10.05,14.79 3.04,5.24 5.64,10.61 7.78,16.1 -16.63,7.29 -38.44,20.38 -51.010001,42.15 -4.09,7.08 -6.86,14.59 -8.2,22.35 -3.42,19.64 5.19,39.14 21.430001,48.53 16.3,9.4 37.46,7.08 52.76,-5.71 6.06,-5.06 11.19,-11.21 15.26,-18.27 12.57,-21.8 13,-47.25 10.99,-65.26 5.79,-0.88 11.68,-1.23 17.73,-1.29 6.05,0.06 11.93,0.41 17.73,1.29 -2,18.01 -1.58,43.46 10.99,65.26 4.07,7.05 9.2,13.21 15.26,18.27 15.29,12.78 36.46,15.1 52.76,5.71 16.24,-9.39 24.85,-28.89 21.43,-48.53 -1.35,-7.76 -4.11,-15.27 -8.2,-22.35 -12.57,-21.77 -34.38,-34.86 -51.01,-42.15 2.14,-5.5 4.75,-10.86 7.78,-16.1 3.02,-5.25 6.37,-10.18 10.05,-14.79 14.63,10.76 36.87,23.1 62.01,23.1 8.18,0 16.06,-1.36 23.46,-4.07 18.72,-6.86 31.3,-24.07 31.31,-42.82 -0.01,-18.82 -12.6,-35.98 -31.32,-42.84 z m -301.050001,55.07 c -4.09,0 -7.96,-0.66 -11.52,-1.96 -4.88,-1.79 -8.55,-6.21 -8.55,-10.28 0.02,-4.06 3.68,-8.5 8.54,-10.28 3.58,-1.3 7.46,-1.97 11.53,-1.97 10.85,0.01 23.42,4.43 35.61,12.24 -12.22,7.83 -24.77,12.25 -35.61,12.24 z M 119.93,85.903924 c -2.04,-3.52 -3.4,-7.21 -4.06,-10.96 -0.9,-5.1 1.12,-10.49 4.63,-12.54 3.53,-2.04 9.19,-1.06 13.18,2.27 2.91,2.44 5.42,5.45 7.46,9 5.42,9.38 7.87,22.46 7.2,36.959996 -12.86,-6.65 -22.97,-15.329996 -28.4,-24.719996 z m 21.31,240.439996 c -2.03,3.53 -4.55,6.55 -7.46,9 -3.97,3.33 -9.64,4.28 -13.17,2.26 -3.53,-2.04 -5.52,-7.43 -4.63,-12.55 0.66,-3.74 2.02,-7.42 4.07,-10.96 5.41,-9.39 15.52,-18.05 28.41,-24.71 0.67,14.46 -1.79,27.56 -7.21,36.96 z m 95.47,-105.17 c -4.38,7.52 -8.07,15.34 -11.04,23.4 -8.44,-1.45 -17,-2.12 -25.68,-2.13 -8.69,0.01 -17.25,0.68 -25.68,2.13 -2.96,-8.06 -6.65,-15.88 -11.04,-23.4 -4.32,-7.56 -9.25,-14.66 -14.75,-21.26 5.48,-6.58 10.33,-13.66 14.69,-21.18 4.34,-7.53 8.04,-15.28 11,-23.31 8.46,1.46 17.08,2.18 25.78,2.14 8.71,0.03 17.32,-0.68 25.78,-2.14 2.96,8.03 6.66,15.78 11,23.31 4.35,7.52 9.21,14.6 14.69,21.18 -5.5,6.6 -10.42,13.7 -14.75,21.26 z m 43.23,92.92 c 2.05,3.54 3.41,7.22 4.07,10.96 0.89,5.12 -1.1,10.51 -4.63,12.55 -3.53,2.02 -9.2,1.07 -13.17,-2.26 -2.92,-2.45 -5.44,-5.47 -7.46,-9 -5.41,-9.4 -7.87,-22.5 -7.21,-36.96 12.89,6.67 22.99,15.33 28.41,24.71 z m -28.29,-203.47 c -0.67,-14.499996 1.78,-27.569996 7.2,-36.959996 2.04,-3.55 4.55,-6.56 7.46,-9 3.99,-3.33 9.65,-4.3 13.18,-2.27 3.51,2.05 5.52,7.43 4.63,12.54 -0.66,3.75 -2.02,7.44 -4.06,10.96 -5.43,9.39 -15.55,18.069996 -28.4,24.719996 z m 98.67,99.57 c -3.57,1.3 -7.43,1.96 -11.52,1.96 -10.84,0 -23.39,-4.41 -35.61,-12.24 12.19,-7.81 24.77,-12.23 35.61,-12.24 4.07,0 7.95,0.66 11.53,1.97 4.87,1.78 8.53,6.21 8.54,10.28 0,4.07 -3.67,8.5 -8.55,10.28 z"
80
+ id="path1" />
81
+ <path
82
+ class="cls-1"
83
+ d="m 362.23,157.08392 c -7.41,-2.72 -15.31,-4.08 -23.45,-4.08 -25.16,0 -47.42,12.37 -62.01,23.11 -3.66,-4.58 -6.91,-9.5 -9.98,-14.71 -2.97,-5.27 -5.61,-10.54 -7.75,-16 16.6,-7.27 38.43,-20.36 51.02,-42.15 4.08,-7.049996 6.84,-14.569996 8.19,-22.349996 3.43,-19.64 -5.15,-39.12 -21.44,-48.54 -16.25,-9.37 -37.44,-7.08 -52.74,5.7 -6.04,5.05 -11.17,11.2 -15.25,18.28 -12.57,21.78 -13,47.209996 -11,65.249996 -5.83,0.89 -11.78,1.32 -17.83,1.31 -6.05,0 -12,-0.42 -17.83,-1.31 2,-18.04 1.57,-43.479996 -11,-65.249996 -4.09,-7.08 -9.21,-13.23 -15.25,-18.28 -15.3,-12.78 -36.49,-15.07 -52.74,-5.7 -16.290001,9.42 -24.860001,28.91 -21.440001,48.54 1.35,7.78 4.12,15.3 8.19,22.349996 12.590001,21.79 34.420001,34.88 51.020001,42.15 -2.14,5.46 -4.78,10.73 -7.75,16 -3.07,5.21 -6.32,10.13 -9.98,14.71 -14.6,-10.74 -36.850001,-23.1 -62.010001,-23.11 -8.14,0 -16.04,1.36 -23.45,4.08 -18.72,6.85 -31.3100002,24.02 -31.3200002,42.83 0,18.76 12.5900002,35.97 31.3100002,42.82 7.39,2.71 15.28,4.07 23.46,4.07 25.14,0 47.380001,-12.34 62.010001,-23.1 3.69,4.6 7.03,9.54 10.05,14.79 3.04,5.24 5.64,10.61 7.78,16.1 -16.63,7.29 -38.44,20.38 -51.010001,42.15 -4.09,7.08 -6.86,14.59 -8.2,22.35 -3.42,19.64 5.19,39.14 21.430001,48.53 16.3,9.4 37.46,7.08 52.76,-5.71 6.06,-5.06 11.19,-11.21 15.26,-18.27 12.57,-21.8 13,-47.25 10.99,-65.26 5.79,-0.88 11.68,-1.23 17.73,-1.29 6.05,0.06 11.93,0.41 17.73,1.29 -2,18.01 -1.58,43.46 10.99,65.26 4.07,7.05 9.2,13.21 15.26,18.27 15.29,12.78 36.46,15.1 52.76,5.71 16.24,-9.39 24.85,-28.89 21.43,-48.53 -1.35,-7.76 -4.11,-15.27 -8.2,-22.35 -12.57,-21.77 -34.38,-34.86 -51.01,-42.15 2.14,-5.5 4.75,-10.86 7.78,-16.1 3.02,-5.25 6.37,-10.18 10.05,-14.79 14.63,10.76 36.87,23.1 62.01,23.1 8.18,0 16.06,-1.36 23.46,-4.07 18.72,-6.86 31.3,-24.07 31.31,-42.82 -0.01,-18.82 -12.6,-35.98 -31.32,-42.84 z m -301.050001,55.07 c -4.09,0 -7.96,-0.66 -11.52,-1.96 -4.88,-1.79 -8.55,-6.21 -8.55,-10.28 0.02,-4.06 3.68,-8.5 8.54,-10.28 3.58,-1.3 7.46,-1.97 11.53,-1.97 10.85,0.01 23.42,4.43 35.61,12.24 -12.22,7.83 -24.77,12.25 -35.61,12.24 z M 119.93,85.903924 c -2.04,-3.52 -3.4,-7.21 -4.06,-10.96 -0.9,-5.1 1.12,-10.49 4.63,-12.54 3.53,-2.04 9.19,-1.06 13.18,2.27 2.91,2.44 5.42,5.45 7.46,9 5.42,9.38 7.87,22.46 7.2,36.959996 -12.86,-6.65 -22.97,-15.329996 -28.4,-24.719996 z m 21.31,240.439996 c -2.03,3.53 -4.55,6.55 -7.46,9 -3.97,3.33 -9.64,4.28 -13.17,2.26 -3.53,-2.04 -5.52,-7.43 -4.63,-12.55 0.66,-3.74 2.02,-7.42 4.07,-10.96 5.41,-9.39 15.52,-18.05 28.41,-24.71 0.67,14.46 -1.79,27.56 -7.21,36.96 z m 95.47,-105.17 c -4.38,7.52 -8.07,15.34 -11.04,23.4 -8.44,-1.45 -17,-2.12 -25.68,-2.13 -8.69,0.01 -17.25,0.68 -25.68,2.13 -2.96,-8.06 -6.65,-15.88 -11.04,-23.4 -4.32,-7.56 -9.25,-14.66 -14.75,-21.26 5.48,-6.58 10.33,-13.66 14.69,-21.18 4.34,-7.53 8.04,-15.28 11,-23.31 8.46,1.46 17.08,2.18 25.78,2.14 8.71,0.03 17.32,-0.68 25.78,-2.14 2.96,8.03 6.66,15.78 11,23.31 4.35,7.52 9.21,14.6 14.69,21.18 -5.5,6.6 -10.42,13.7 -14.75,21.26 z m 43.23,92.92 c 2.05,3.54 3.41,7.22 4.07,10.96 0.89,5.12 -1.1,10.51 -4.63,12.55 -3.53,2.02 -9.2,1.07 -13.17,-2.26 -2.92,-2.45 -5.44,-5.47 -7.46,-9 -5.41,-9.4 -7.87,-22.5 -7.21,-36.96 12.89,6.67 22.99,15.33 28.41,24.71 z m -28.29,-203.47 c -0.67,-14.499996 1.78,-27.569996 7.2,-36.959996 2.04,-3.55 4.55,-6.56 7.46,-9 3.99,-3.33 9.65,-4.3 13.18,-2.27 3.51,2.05 5.52,7.43 4.63,12.54 -0.66,3.75 -2.02,7.44 -4.06,10.96 -5.43,9.39 -15.55,18.069996 -28.4,24.719996 z m 98.67,99.57 c -3.57,1.3 -7.43,1.96 -11.52,1.96 -10.84,0 -23.39,-4.41 -35.61,-12.24 12.19,-7.81 24.77,-12.23 35.61,-12.24 4.07,0 7.95,0.66 11.53,1.97 4.87,1.78 8.53,6.21 8.54,10.28 0,4.07 -3.67,8.5 -8.55,10.28 z"
84
+ id="path2"
85
+ style="display:none;fill:#ea5932;fill-opacity:1" />
86
+ </svg>
@@ -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");
Binary file
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.8",
4
4
  "description": "Shared branded components for Knitli documentation sites",
5
5
  "keywords": [
6
6
  "knitli",
@@ -9,6 +9,7 @@ const pkgRoot = resolve(__dirname, "..");
9
9
 
10
10
  const copies = [
11
11
  { src: `${pkgRoot}/src/assets/logos`, dest: `${pkgRoot}/dist/assets/logos` },
12
+ { src: `${pkgRoot}/src/assets/favicon`, dest: `${pkgRoot}/dist/assets/favicon` },
12
13
  {
13
14
  src: `${pkgRoot}/src/assets/styles`,
14
15
  dest: `${pkgRoot}/dist/assets/styles`,
@@ -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