@elench/shell 0.1.7 → 0.1.8

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.
@@ -4,6 +4,6 @@ import { cn } from "../../../lib/utils.js";
4
4
  import { useShellSurface } from "./shell-surface.js";
5
5
  export function SidebarNewButton({ className, noun, type = "button", ...props }) {
6
6
  const { isCompact, isNarrow } = useShellSurface();
7
- return (_jsxs("button", { className: cn("mx-0.5 mt-1 mb-1.5 flex w-[calc(100%-4px)] items-center justify-center gap-1.5 rounded-[7px] border border-border bg-bg-elevated px-3 py-[7px] text-[12px] font-medium text-fg-secondary transition-all", "hover:border-border-light hover:bg-bg-hover hover:text-fg", "active:translate-y-px active:bg-bg-active", "disabled:pointer-events-none disabled:opacity-50", isCompact && "mt-0.5 mb-1 px-2.5 py-1.5", isNarrow && "mx-0 mt-0.5 w-full gap-1 px-2 py-1.5 text-[11.5px]", className), type: type, ...props, children: [_jsx(PlusIcon, { className: cn("size-3.5", isNarrow && "size-3") }), _jsxs("span", { className: "min-w-0 truncate", children: ["New ", noun] })] }));
7
+ return (_jsxs("button", { className: cn("mx-0.5 mt-1 mb-1.5 flex w-[calc(100%-4px)] items-center justify-center gap-1.5 rounded-[7px] bg-bg-elevated px-3 py-[7px] text-[12px] font-medium text-fg-secondary transition-all", "hover:bg-bg-hover hover:text-fg", "active:translate-y-px active:bg-bg-active", "disabled:pointer-events-none disabled:opacity-50", isCompact && "mt-0.5 mb-1 px-2.5 py-1.5", isNarrow && "mx-0 mt-0.5 w-full gap-1 px-2 py-1.5 text-[11.5px]", className), type: type, ...props, children: [_jsx(PlusIcon, { className: cn("size-3.5", isNarrow && "size-3") }), _jsxs("span", { className: "min-w-0 truncate", children: ["New ", noun] })] }));
8
8
  }
9
9
  //# sourceMappingURL=sidebar-new-button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar-new-button.js","sourceRoot":"","sources":["../../../../src/components/shell/primitives/sidebar-new-button.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AASlD,MAAM,UAAU,gBAAgB,CAAC,EAC/B,SAAS,EACT,IAAI,EACJ,IAAI,GAAG,QAAQ,EACf,GAAG,KAAK,EACc;IACtB,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,eAAe,EAAE,CAAC;IAElD,OAAO,CACL,kBACE,SAAS,EAAE,EAAE,CACX,yMAAyM,EACzM,2DAA2D,EAC3D,2CAA2C,EAC3C,kDAAkD,EAClD,SAAS,IAAI,2BAA2B,EACxC,QAAQ,IAAI,oDAAoD,EAChE,SAAS,CACV,EACD,IAAI,EAAE,IAAI,KACN,KAAK,aAET,KAAC,QAAQ,IAAC,SAAS,EAAE,EAAE,CAAC,UAAU,EAAE,QAAQ,IAAI,QAAQ,CAAC,GAAI,EAC7D,gBAAM,SAAS,EAAC,kBAAkB,qBAAM,IAAI,IAAQ,IAC7C,CACV,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"sidebar-new-button.js","sourceRoot":"","sources":["../../../../src/components/shell/primitives/sidebar-new-button.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AASlD,MAAM,UAAU,gBAAgB,CAAC,EAC/B,SAAS,EACT,IAAI,EACJ,IAAI,GAAG,QAAQ,EACf,GAAG,KAAK,EACc;IACtB,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,eAAe,EAAE,CAAC;IAElD,OAAO,CACL,kBACE,SAAS,EAAE,EAAE,CACX,oLAAoL,EACpL,iCAAiC,EACjC,2CAA2C,EAC3C,kDAAkD,EAClD,SAAS,IAAI,2BAA2B,EACxC,QAAQ,IAAI,oDAAoD,EAChE,SAAS,CACV,EACD,IAAI,EAAE,IAAI,KACN,KAAK,aAET,KAAC,QAAQ,IAAC,SAAS,EAAE,EAAE,CAAC,UAAU,EAAE,QAAQ,IAAI,QAAQ,CAAC,GAAI,EAC7D,gBAAM,SAAS,EAAC,kBAAkB,qBAAM,IAAI,IAAQ,IAC7C,CACV,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/shell",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "The Avocado-derived Elench desktop shell packaged behind a public domain API.",
5
5
  "type": "module",
6
6
  "private": false,