@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.
@@ -310,9 +310,9 @@ interface NestedParameterToggleProps {
310
310
  className?: string;
311
311
  }
312
312
  /**
313
- * "Show/Hide Child Attributes" toggle button (Scalar/Clerk-style).
314
- * When collapsed: standalone rounded pill.
315
- * When expanded: top of a unified bordered container (rounded-t, no bottom border).
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";
@@ -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 w-full", "font-sans text-[13px] font-medium", "text-[var(--openpkg-text-secondary)]", "bg-transparent", "border border-[var(--openpkg-border-medium)]", "px-4 py-3", "cursor-pointer", "transition-all duration-150", "hover:text-[var(--openpkg-text-primary)]", expanded ? "rounded-t-lg rounded-b-none border-b-[var(--openpkg-border-subtle)]" : "rounded-lg", className),
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", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openpkg-ts/ui",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "UI primitives and components for OpenPkg documentation",
5
5
  "homepage": "https://github.com/ryanwaits/openpkg-ts#readme",
6
6
  "repository": {