@knitli/docs-components 1.0.3 → 1.0.4

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
@@ -1,14 +1,10 @@
1
- # Changelog
1
+ ### Changelog
2
2
 
3
- All notable changes to this project will be documented in this file.
3
+ All notable changes to this project will be documented in this file. Dates are displayed in UTC.
4
4
 
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
+ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
7
6
 
8
- ## [Unreleased]
7
+ #### 1.0.4
9
8
 
10
- ### Added
11
- - Initial package structure
12
- - DocsHeader component with Knitli branding
13
- - Copper Archive CSS theme
14
- - Logo assets and usage guide
9
+ - chore: Updated licensing and README to clarify difference between Knitli brand assets (proprietary) and the rest of the project (MIT OR Apache-2.0).
10
+ - chore: Updated configuration and tsconfig
package/README.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # @knitli/docs-components
2
2
 
3
- Shared branded components for Knitli documentation sites. This package is **not licensed**, which means you cannot include its components in your project without Knitli's written authorization. For license inquiries, contact <license_request@knitli.com>
3
+ Shared branded components for Knitli documentation sites.
4
+
5
+ ## License
6
+
7
+ ### Knitli Brand Assets
8
+
9
+ This package includes Knitli brand assets, such as the Knitli logo. These are proprietary and not licensed. You may not use or modify them in any way without Knitli's written permission.
10
+
11
+ ### Other Materials
12
+
13
+ All other materials in this package are licensed under either the Apache-2.0 or MIT license. You can choose either.
4
14
 
5
15
  ## Installation
6
16
 
@@ -203,8 +213,4 @@ npm publish
203
213
 
204
214
  ## Changelog
205
215
 
206
- See [CHANGELOG.md](./CHANGELOG.md)
207
-
208
- ## License
209
-
210
- Not licensed.
216
+ See [CHANGELOG.md](./CHANGELOG.md)
package/package.json CHANGED
@@ -1,11 +1,23 @@
1
1
  {
2
2
  "author": "Knitli Inc.",
3
3
  "description": "Shared branded components for Knitli documentation sites",
4
+ "dependencies": {
5
+ "astro": "catalog:astro-core",
6
+ "lightningcss": "catalog:optimization",
7
+ "svgo": "catalog:optimization"
8
+
9
+ },
4
10
  "devDependencies": {
5
- "@types/node": "^24.0.0",
6
- "astro": "^5.17.0",
11
+ "astro": "catalog:astro-core",
7
12
  "auto-changelog": "^2.4.0",
8
- "typescript": "^5.3.0"
13
+ "typescript": "catalog:dev-common",
14
+ "bun": "catalog:dev-common",
15
+ "@biomejs/biome": "catalog:dev-common",
16
+ "@types/node": "catalog:types",
17
+ "@knitli/tsconfig": "*"
18
+ },
19
+ "engine": {
20
+ "node": ">=24.0.0"
9
21
  },
10
22
  "exports": {
11
23
  ".": "./dist/index.js",
@@ -31,7 +43,7 @@
31
43
  "components",
32
44
  "starlight"
33
45
  ],
34
- "license": "LicenseRef-Not_Licensed",
46
+ "license": "(MIT OR Apache-2.0) AND LicenseRef-KnitliProprietary",
35
47
  "main": "./dist/index.js",
36
48
  "name": "@knitli/docs-components",
37
49
  "peerDependencies": {
@@ -43,11 +55,12 @@
43
55
  "url": "git+https://github.com/knitli/knitli-site.git"
44
56
  },
45
57
  "scripts": {
46
- "build": "tsc",
58
+ "build": "bunx tsc",
47
59
  "prepublishOnly": "bun run build",
48
- "version": "auto-changelog -p && git add CHANGELOG.md"
60
+ "version": "auto-changelog -p && git add CHANGELOG.md",
61
+ "publish": "bun publish --access public"
49
62
  },
50
63
  "type": "module",
51
64
  "types": "./dist/index.d.ts",
52
- "version": "1.0.3"
65
+ "version": "1.0.4"
53
66
  }
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './types/index.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,cAAc,kBAAkB,CAAC"}
package/dist/index.js DELETED
@@ -1,13 +0,0 @@
1
- // SPDX-FileCopyrightText: 2025 Knitli Inc.
2
- // SPDX-FileContributor: Adam Poulemanos <adam@knit.li>
3
- //
4
- // SPDX-License-Identifier: MIT OR Apache-2.0
5
- //
6
- // Main exports for @knitli/docs-components package
7
- // Export type definitions
8
- export * from './types/index.js';
9
- // Components are exported via package.json exports field
10
- // Import them directly:
11
- // import DocsHeader from '@knitli/docs-components/DocsHeader.astro';
12
- // import DocsFooter from '@knitli/docs-components/DocsFooter.astro';
13
- // import DocsBreadcrumb from '@knitli/docs-components/DocsBreadcrumb.astro';
@@ -1,72 +0,0 @@
1
- /**
2
- * Supported Knitli products for documentation
3
- */
4
- export type ProductName = 'ReCoco' | 'CodeWeaver' | 'Thread';
5
- /**
6
- * Site URLs configuration
7
- */
8
- export interface SiteUrls {
9
- marketing: string;
10
- blog: string;
11
- docs: string;
12
- }
13
- /**
14
- * Props for DocsHeader component
15
- */
16
- export interface DocsHeaderProps {
17
- /**
18
- * Current product being documented
19
- */
20
- currentProduct?: ProductName;
21
- /**
22
- * Current URL path
23
- */
24
- currentPath?: string;
25
- /**
26
- * URL to the product's documentation home
27
- */
28
- productUrl?: string;
29
- /**
30
- * Whether to show breadcrumb navigation
31
- * @default true
32
- */
33
- showBreadcrumb?: boolean;
34
- /**
35
- * Visual variant of the header
36
- * @default 'default'
37
- */
38
- variant?: 'default' | 'minimal';
39
- }
40
- /**
41
- * Props for DocsFooter component
42
- */
43
- export interface DocsFooterProps {
44
- /**
45
- * Visual variant of the footer
46
- * @default 'default'
47
- */
48
- variant?: 'default' | 'minimal';
49
- }
50
- /**
51
- * Props for DocsBreadcrumb component
52
- */
53
- export interface DocsBreadcrumbProps {
54
- /**
55
- * Current product name
56
- */
57
- product?: ProductName;
58
- /**
59
- * URL to the product's documentation home
60
- */
61
- productUrl?: string;
62
- /**
63
- * Current path within the product docs
64
- */
65
- path?: string;
66
- /**
67
- * Visual variant of the breadcrumb
68
- * @default 'default'
69
- */
70
- variant?: 'default' | 'compact';
71
- }
72
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,YAAY,GAAG,QAAQ,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,cAAc,CAAC,EAAE,WAAW,CAAC;IAE7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC"}
@@ -1,7 +0,0 @@
1
- // SPDX-FileCopyrightText: 2025 Knitli Inc.
2
- // SPDX-FileContributor: Adam Poulemanos <adam@knit.li>
3
- //
4
- // SPDX-License-Identifier: MIT OR Apache-2.0
5
- //
6
- // TypeScript type definitions for docs-components package
7
- export {};