@openpkg-ts/react 0.3.1 → 0.3.2
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/dist/styled.js +3 -3
- package/package.json +3 -3
package/dist/styled.js
CHANGED
|
@@ -3816,7 +3816,7 @@ function groupByKind(exports) {
|
|
|
3816
3816
|
return KIND_ORDER.filter((kind) => groups.has(kind)).map((kind) => ({
|
|
3817
3817
|
kind,
|
|
3818
3818
|
label: KIND_LABELS[kind],
|
|
3819
|
-
exports: groups.get(kind)
|
|
3819
|
+
exports: groups.get(kind)?.sort((a, b) => a.name.localeCompare(b.name))
|
|
3820
3820
|
}));
|
|
3821
3821
|
}
|
|
3822
3822
|
function ExportIndexPage({
|
|
@@ -3988,7 +3988,7 @@ ${exp.name}(${sig?.parameters?.map((p) => p.name).join(", ") || ""})`,
|
|
|
3988
3988
|
children: [
|
|
3989
3989
|
hasParams && /* @__PURE__ */ jsx7(ParameterList3, {
|
|
3990
3990
|
title: "Parameters",
|
|
3991
|
-
children: sig.parameters
|
|
3991
|
+
children: sig.parameters?.map((param, index) => {
|
|
3992
3992
|
const apiParam = specParamToAPIParam(param);
|
|
3993
3993
|
return /* @__PURE__ */ jsx7(APIParameterItem3, {
|
|
3994
3994
|
name: apiParam.name,
|
|
@@ -5686,7 +5686,7 @@ function FullAPIReferencePage({
|
|
|
5686
5686
|
if (!groups.has(kind)) {
|
|
5687
5687
|
groups.set(kind, []);
|
|
5688
5688
|
}
|
|
5689
|
-
groups.get(kind)
|
|
5689
|
+
groups.get(kind)?.push(exp);
|
|
5690
5690
|
}
|
|
5691
5691
|
return groups;
|
|
5692
5692
|
}, [filteredExports]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openpkg-ts/react",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "React components for OpenPkg specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openpkg",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@openpkg-ts/spec": "^0.34.1",
|
|
45
|
-
"@openpkg-ts/sdk": "^0.
|
|
46
|
-
"@openpkg-ts/ui": "^0.1.
|
|
45
|
+
"@openpkg-ts/sdk": "^0.35.0",
|
|
46
|
+
"@openpkg-ts/ui": "^0.1.6",
|
|
47
47
|
"lucide-react": "^0.468.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|