@openpkg-ts/adapters 0.3.14 → 0.3.15
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.
|
@@ -6,7 +6,7 @@ interface SidebarKindBadgeProps {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Sidebar badge component for fumadocs page tree.
|
|
9
|
-
* Wraps @openpkg-ts/
|
|
9
|
+
* Wraps @openpkg-ts/registry KindBadge with size="sm" for sidebar use.
|
|
10
10
|
*
|
|
11
11
|
* Uses createElement instead of JSX for compatibility with
|
|
12
12
|
* fumadocs transformPageTree server context.
|
package/dist/fumadocs/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface SidebarKindBadgeProps {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* Sidebar badge component for fumadocs page tree.
|
|
12
|
-
* Wraps @openpkg-ts/
|
|
12
|
+
* Wraps @openpkg-ts/registry KindBadge with size="sm" for sidebar use.
|
|
13
13
|
*
|
|
14
14
|
* Uses createElement instead of JSX for compatibility with
|
|
15
15
|
* fumadocs transformPageTree server context.
|
package/dist/fumadocs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/fumadocs/components/sidebar-badge.tsx
|
|
2
2
|
import { KIND_LABELS } from "@openpkg-ts/spec";
|
|
3
|
-
import { KindBadge as UIKindBadge } from "@openpkg-ts/
|
|
3
|
+
import { KindBadge as UIKindBadge } from "@openpkg-ts/registry/badge";
|
|
4
4
|
import { createElement } from "react";
|
|
5
5
|
var SUPPORTED_KINDS = new Set(Object.keys(KIND_LABELS));
|
|
6
6
|
function SidebarKindBadge({ kind, className }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openpkg-ts/adapters",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.15",
|
|
4
4
|
"description": "Framework adapters for OpenPkg - Fumadocs, Docusaurus, Mintlify, etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openpkg",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"typecheck": "tsc --noEmit"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@openpkg-ts/sdk": "^0.
|
|
49
|
+
"@openpkg-ts/sdk": "^0.36.0",
|
|
50
50
|
"@openpkg-ts/spec": "^0.35.1",
|
|
51
|
-
"@openpkg-ts/
|
|
51
|
+
"@openpkg-ts/registry": "workspace:*"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"fumadocs-core": "^16.0.0",
|