@openpkg-ts/ui 0.6.0 → 0.6.1
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/docskit/index.d.ts +3 -3
- package/dist/docskit/index.js +2 -2
- package/package.json +1 -1
package/dist/docskit/index.d.ts
CHANGED
|
@@ -310,9 +310,9 @@ interface NestedParameterToggleProps {
|
|
|
310
310
|
className?: string;
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
|
-
* "Show/Hide Child Attributes" toggle button (
|
|
314
|
-
* When collapsed:
|
|
315
|
-
* When expanded: top of
|
|
313
|
+
* "Show/Hide Child Attributes" toggle button (Stripe-style).
|
|
314
|
+
* When collapsed: inline-block rounded pill button.
|
|
315
|
+
* When expanded: full-width top of unified bordered container.
|
|
316
316
|
*/
|
|
317
317
|
declare function NestedParameterToggle({ expanded, onToggle, className }: NestedParameterToggleProps): ReactNode11;
|
|
318
318
|
import { ReactNode as ReactNode12 } from "react";
|
package/dist/docskit/index.js
CHANGED
|
@@ -1309,7 +1309,7 @@ function APIReferenceLayout({
|
|
|
1309
1309
|
rightWidth = "42%"
|
|
1310
1310
|
}) {
|
|
1311
1311
|
return /* @__PURE__ */ jsxs12("div", {
|
|
1312
|
-
className: cn("openpkg-api-layout", "max-w-[1600px] mx-auto", "flex flex-col", "lg:grid", className),
|
|
1312
|
+
className: cn("openpkg-api-layout", "max-w-[1600px] mx-auto", "flex flex-col", "lg:grid lg:items-start", className),
|
|
1313
1313
|
style: {
|
|
1314
1314
|
"--openpkg-left-width": leftWidth,
|
|
1315
1315
|
"--openpkg-right-width": rightWidth
|
|
@@ -1896,7 +1896,7 @@ function NestedParameterToggle({
|
|
|
1896
1896
|
return /* @__PURE__ */ jsxs20("button", {
|
|
1897
1897
|
type: "button",
|
|
1898
1898
|
onClick: onToggle,
|
|
1899
|
-
className: cn("openpkg-nested-toggle", "flex items-center gap-2
|
|
1899
|
+
className: cn("openpkg-nested-toggle", "flex items-center gap-2", "font-sans text-[13px] font-medium", "text-[var(--openpkg-text-secondary)]", "bg-transparent", "border border-[var(--openpkg-border-medium)]", "px-2 py-1.5", "cursor-pointer", "transition-[width,border-radius,border-color,color] duration-200 ease-out", "hover:text-[var(--openpkg-text-primary)]", expanded ? "w-full rounded-t-md rounded-b-none border-b-[var(--openpkg-border-subtle)]" : "w-fit rounded-md", className),
|
|
1900
1900
|
"aria-expanded": expanded,
|
|
1901
1901
|
children: [
|
|
1902
1902
|
/* @__PURE__ */ jsx38("span", {
|