@nadicodeai/ui 12.1.250 → 12.1.251

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.
@@ -14,6 +14,6 @@ import { cn } from "../lib/utils.js";
14
14
  * @access The label is a `button` with `aria-expanded` when it toggles.
15
15
  */
16
16
  function DisclosureRow({ action, children, className, onToggle, open, trailing, }) {
17
- return (_jsxs("div", { className: cn("group/disclosure-row relative flex w-full max-w-full min-w-0 text-muted-foreground", className), "data-slot": "disclosure-row", children: [_jsxs("button", { "aria-expanded": onToggle ? open : undefined, className: cn("nc-transition-paint flex min-w-0 max-w-fit items-start gap-1.5 text-left", onToggle ? "hover:text-foreground focus-visible:text-foreground" : "cursor-default"), disabled: !onToggle, onClick: onToggle, type: "button", children: [_jsx("span", { className: "flex min-w-0 flex-col gap-0.5", children: children }), onToggle ? (_jsx("span", { className: "flex shrink-0 items-center justify-center", children: _jsx(ChevronRightIcon, { "aria-hidden": "true", className: "nc-transition-transform size-3 data-[state=open]:rotate-90", "data-icon": "inline-end", "data-state": open ? "open" : "closed" }) })) : null] }), action ? (_jsx("span", { className: "ml-auto flex shrink-0 items-center self-start pl-1.5", children: action })) : null, trailing ? (_jsx("span", { className: "pointer-events-none absolute top-0 right-1 flex items-center", children: trailing })) : null] }));
17
+ return (_jsxs("div", { className: cn("group/disclosure-row relative flex w-full max-w-full min-w-0 text-muted-foreground", className), "data-slot": "disclosure-row", children: [_jsxs("button", { "aria-expanded": onToggle ? open : undefined, className: cn("nc-transition-paint flex min-w-0 max-w-fit items-start gap-1.5 text-left", onToggle ? "hover:text-foreground focus-visible:text-foreground" : "cursor-default"), disabled: !onToggle, onClick: onToggle, type: "button", children: [_jsx("span", { className: "flex min-w-0 flex-col gap-0.5", children: children }), onToggle ? (_jsx("span", { className: "flex h-lh shrink-0 items-center justify-center", children: _jsx(ChevronRightIcon, { "aria-hidden": "true", className: "nc-transition-transform size-3 data-[state=open]:rotate-90", "data-icon": "inline-end", "data-state": open ? "open" : "closed" }) })) : null] }), action ? (_jsx("span", { className: "ml-auto flex shrink-0 items-center self-start pl-1.5", children: action })) : null, trailing ? (_jsx("span", { className: "pointer-events-none absolute top-0 right-1 flex items-center", children: trailing })) : null] }));
18
18
  }
19
19
  export { DisclosureRow };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/ui",
3
- "version": "12.1.250",
3
+ "version": "12.1.251",
4
4
  "type": "module",
5
5
  "imports": {
6
6
  "#jsx": "./src/jsx/index.ts",
@@ -82,7 +82,7 @@
82
82
  "@headless-tree/react": "1.8.0",
83
83
  "@iconify-icons/logos": "^2.0.3",
84
84
  "@iconify/react": "^6.0.2",
85
- "@nadicodeai/design-system": "12.1.250",
85
+ "@nadicodeai/design-system": "12.1.251",
86
86
  "@tanstack/react-table": "^9.3.1",
87
87
  "@vgpu/wgsl": "0.6.0",
88
88
  "class-variance-authority": "^0.7.1",