@speakeasy-api/moonshine 1.18.1 → 1.19.0

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.
Files changed (24) hide show
  1. package/dist/components/AppLayout/index.d.ts +8 -5
  2. package/dist/{createCustomLucideIcon-cDqUoZBR.mjs → createCustomLucideIcon-CqjkpU4K.mjs} +2 -2
  3. package/dist/{createCustomLucideIcon-cDqUoZBR.mjs.map → createCustomLucideIcon-CqjkpU4K.mjs.map} +1 -1
  4. package/dist/{gems-g0yBo9Bc.mjs → gems-41yTIyvd.mjs} +2 -2
  5. package/dist/{gems-g0yBo9Bc.mjs.map → gems-41yTIyvd.mjs.map} +1 -1
  6. package/dist/{go-CKP5vJhW.mjs → go-oIkIgMCf.mjs} +2 -2
  7. package/dist/{go-CKP5vJhW.mjs.map → go-oIkIgMCf.mjs.map} +1 -1
  8. package/dist/{index-Bd9Fo-Tm.mjs → index-DqTeAfUI.mjs} +26 -20
  9. package/dist/{index-Bd9Fo-Tm.mjs.map → index-DqTeAfUI.mjs.map} +1 -1
  10. package/dist/index.d.ts +1 -1
  11. package/dist/{maven-DzJu3p9k.mjs → maven-geqX5geg.mjs} +2 -2
  12. package/dist/{maven-DzJu3p9k.mjs.map → maven-geqX5geg.mjs.map} +1 -1
  13. package/dist/moonshine.es.js +1 -1
  14. package/dist/{npm-CbFMEWVp.mjs → npm-DhOpelro.mjs} +2 -2
  15. package/dist/{npm-CbFMEWVp.mjs.map → npm-DhOpelro.mjs.map} +1 -1
  16. package/dist/{nuget-GVWyWn0L.mjs → nuget-CC_Er82n.mjs} +2 -2
  17. package/dist/{nuget-GVWyWn0L.mjs.map → nuget-CC_Er82n.mjs.map} +1 -1
  18. package/dist/{packagist-BvK-uYCG.mjs → packagist-DLdwiJQy.mjs} +2 -2
  19. package/dist/{packagist-BvK-uYCG.mjs.map → packagist-DLdwiJQy.mjs.map} +1 -1
  20. package/dist/{pypi-CX90O1cv.mjs → pypi-Ct0GJOtO.mjs} +2 -2
  21. package/dist/{pypi-CX90O1cv.mjs.map → pypi-Ct0GJOtO.mjs.map} +1 -1
  22. package/dist/style.css +1 -1
  23. package/package.json +1 -1
  24. package/types/utilities.d.ts +1 -1
@@ -14,10 +14,11 @@ interface AppLayoutSidebarProps {
14
14
  interface AppLayoutBreadcrumbProps extends PropsWithChildren {
15
15
  className?: string;
16
16
  }
17
- interface AppLayoutBreadcrumbItemProps extends MotionProps, PropsWithChildren {
17
+ export interface AppLayoutBreadcrumbItemProps extends MotionProps, PropsWithChildren {
18
18
  className?: string;
19
19
  active?: boolean;
20
20
  children?: React.ReactNode;
21
+ disabled?: boolean;
21
22
  onClick?: () => void;
22
23
  }
23
24
  interface AppLayoutCollapseButtonProps extends PropsWithChildren {
@@ -32,9 +33,10 @@ interface AppLayoutHeaderProps extends PropsWithChildren {
32
33
  interface AppLayoutNavProps extends HTMLAttributes<HTMLDivElement> {
33
34
  className?: string;
34
35
  }
35
- interface AppLayoutNavItemProps extends HTMLAttributes<HTMLDivElement> {
36
+ export interface AppLayoutNavItemProps extends HTMLAttributes<HTMLButtonElement> {
36
37
  title: string;
37
38
  icon: IconName;
39
+ children?: React.ReactNode;
38
40
  render?: ({ title, icon, active, }: {
39
41
  title: string;
40
42
  icon: React.ReactNode;
@@ -42,8 +44,9 @@ interface AppLayoutNavItemProps extends HTMLAttributes<HTMLDivElement> {
42
44
  }) => React.ReactNode;
43
45
  className?: string;
44
46
  active?: boolean;
47
+ disabled?: boolean;
45
48
  }
46
- interface AppLayoutNavItemGroupProps extends HTMLAttributes<HTMLDivElement> {
49
+ export interface AppLayoutNavItemGroupProps extends HTMLAttributes<HTMLDivElement> {
47
50
  className?: string;
48
51
  /**
49
52
  * The name of the group.
@@ -75,7 +78,7 @@ export declare const AppLayout: {
75
78
  displayName: string;
76
79
  };
77
80
  BreadcrumbItem: {
78
- ({ children, className, active, onClick, ...props }: AppLayoutBreadcrumbItemProps): import("react/jsx-runtime").JSX.Element;
81
+ ({ children, className, active, disabled, onClick, ...props }: AppLayoutBreadcrumbItemProps): import("react/jsx-runtime").JSX.Element;
79
82
  displayName: string;
80
83
  };
81
84
  CollapseButton: {
@@ -95,7 +98,7 @@ export declare const AppLayout: {
95
98
  displayName: string;
96
99
  };
97
100
  NavItem: {
98
- ({ title, icon, render, className, active, ...props }: AppLayoutNavItemProps): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
101
+ ({ title, icon, render, className, active, disabled, ...props }: AppLayoutNavItemProps): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
99
102
  displayName: string;
100
103
  };
101
104
  NavItemGroup: {
@@ -1,4 +1,4 @@
1
- import { c as m, t as n } from "./index-Bd9Fo-Tm.mjs";
1
+ import { c as m, t as n } from "./index-DqTeAfUI.mjs";
2
2
  import { forwardRef as p, createElement as f } from "react";
3
3
  import { I as i } from "./lucide-icons-BDw0imyx.mjs";
4
4
  const C = (e, t, r) => {
@@ -16,4 +16,4 @@ const C = (e, t, r) => {
16
16
  export {
17
17
  C as c
18
18
  };
19
- //# sourceMappingURL=createCustomLucideIcon-cDqUoZBR.mjs.map
19
+ //# sourceMappingURL=createCustomLucideIcon-CqjkpU4K.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"createCustomLucideIcon-cDqUoZBR.mjs","sources":["../src/components/Icon/customIcons/createCustomLucideIcon.ts"],"sourcesContent":["import { cn, toKebabCase } from '@/lib/utils'\nimport { Icon, IconNode, LucideProps } from 'lucide-react'\nimport { createElement, forwardRef } from 'react'\n\nconst createCustomLucideIcon = (\n iconName: string,\n iconNode: IconNode,\n lucideProps?: Partial<LucideProps>\n) => {\n const Component = forwardRef<SVGSVGElement, LucideProps>(\n ({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: cn(`lucide-${toKebabCase(iconName)}`, className),\n ...{ ...(lucideProps ?? {}), ...props },\n })\n )\n\n Component.displayName = `${iconName}`\n\n return Component\n}\n\nexport default createCustomLucideIcon\n"],"names":["createCustomLucideIcon","iconName","iconNode","lucideProps","Component","forwardRef","className","props","ref","createElement","Icon","cn","toKebabCase"],"mappings":";;;AAIA,MAAMA,IAAyB,CAC7BC,GACAC,GACAC,MACG;AACH,QAAMC,IAAYC;AAAA,IAChB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAS,GAAAC,MACxBC,EAAcC,GAAM;AAAA,MAClB,KAAAF;AAAA,MACA,UAAAN;AAAA,MACA,WAAWS,EAAG,UAAUC,EAAYX,CAAQ,CAAC,IAAIK,CAAS;AAAA,MACrD,GAAIH,KAAe,CAAC;AAAA,MAAI,GAAGI;AAAA,IACjC,CAAA;AAAA,EACL;AAEU,SAAAH,EAAA,cAAc,GAAGH,CAAQ,IAE5BG;AACT;"}
1
+ {"version":3,"file":"createCustomLucideIcon-CqjkpU4K.mjs","sources":["../src/components/Icon/customIcons/createCustomLucideIcon.ts"],"sourcesContent":["import { cn, toKebabCase } from '@/lib/utils'\nimport { Icon, IconNode, LucideProps } from 'lucide-react'\nimport { createElement, forwardRef } from 'react'\n\nconst createCustomLucideIcon = (\n iconName: string,\n iconNode: IconNode,\n lucideProps?: Partial<LucideProps>\n) => {\n const Component = forwardRef<SVGSVGElement, LucideProps>(\n ({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: cn(`lucide-${toKebabCase(iconName)}`, className),\n ...{ ...(lucideProps ?? {}), ...props },\n })\n )\n\n Component.displayName = `${iconName}`\n\n return Component\n}\n\nexport default createCustomLucideIcon\n"],"names":["createCustomLucideIcon","iconName","iconNode","lucideProps","Component","forwardRef","className","props","ref","createElement","Icon","cn","toKebabCase"],"mappings":";;;AAIA,MAAMA,IAAyB,CAC7BC,GACAC,GACAC,MACG;AACH,QAAMC,IAAYC;AAAA,IAChB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAS,GAAAC,MACxBC,EAAcC,GAAM;AAAA,MAClB,KAAAF;AAAA,MACA,UAAAN;AAAA,MACA,WAAWS,EAAG,UAAUC,EAAYX,CAAQ,CAAC,IAAIK,CAAS;AAAA,MACrD,GAAIH,KAAe,CAAC;AAAA,MAAI,GAAGI;AAAA,IACjC,CAAA;AAAA,EACL;AAEU,SAAAH,EAAA,cAAc,GAAGH,CAAQ,IAE5BG;AACT;"}
@@ -1,4 +1,4 @@
1
- import { c as L } from "./createCustomLucideIcon-cDqUoZBR.mjs";
1
+ import { c as L } from "./createCustomLucideIcon-CqjkpU4K.mjs";
2
2
  const o = [
3
3
  [
4
4
  "path",
@@ -21,4 +21,4 @@ const o = [
21
21
  export {
22
22
  e as default
23
23
  };
24
- //# sourceMappingURL=gems-g0yBo9Bc.mjs.map
24
+ //# sourceMappingURL=gems-41yTIyvd.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"gems-g0yBo9Bc.mjs","sources":["../src/components/Icon/customIcons/gems.ts"],"sourcesContent":["import { IconNode } from 'lucide-react'\nimport createCustomLucideIcon from './createCustomLucideIcon'\n\nconst iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M156.139 157.469L196.307 117.301L168.177 89.1397V89.0126H88.2885L88.4113 89.2582L88.2885 89.1354L60.6496 117.296L128.5 184.929',\n key: 'path-1',\n },\n ],\n [\n 'path',\n {\n d: 'M128.5 14L29 71.0835V185.25L128.5 242.333L228 185.25V71.0829L128.5 14ZM208.96 174.341L128.5 220.767L48.0401 174.34V81.7386L128.5 35.3114L208.96 81.3762',\n key: 'path-2',\n },\n ],\n]\n\nconst icon = createCustomLucideIcon('gems', iconNode, {\n viewBox: '0 0 256 256',\n fill: 'currentColor',\n})\n\nexport { icon as default }\n"],"names":["iconNode","icon","createCustomLucideIcon"],"mappings":";AAGA,MAAMA,IAAqB;AAAA,EACzB;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EAET;AAAA,EACA;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EACP;AAEJ,GAEMC,IAAOC,EAAuB,QAAQF,GAAU;AAAA,EACpD,SAAS;AAAA,EACT,MAAM;AACR,CAAC;"}
1
+ {"version":3,"file":"gems-41yTIyvd.mjs","sources":["../src/components/Icon/customIcons/gems.ts"],"sourcesContent":["import { IconNode } from 'lucide-react'\nimport createCustomLucideIcon from './createCustomLucideIcon'\n\nconst iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M156.139 157.469L196.307 117.301L168.177 89.1397V89.0126H88.2885L88.4113 89.2582L88.2885 89.1354L60.6496 117.296L128.5 184.929',\n key: 'path-1',\n },\n ],\n [\n 'path',\n {\n d: 'M128.5 14L29 71.0835V185.25L128.5 242.333L228 185.25V71.0829L128.5 14ZM208.96 174.341L128.5 220.767L48.0401 174.34V81.7386L128.5 35.3114L208.96 81.3762',\n key: 'path-2',\n },\n ],\n]\n\nconst icon = createCustomLucideIcon('gems', iconNode, {\n viewBox: '0 0 256 256',\n fill: 'currentColor',\n})\n\nexport { icon as default }\n"],"names":["iconNode","icon","createCustomLucideIcon"],"mappings":";AAGA,MAAMA,IAAqB;AAAA,EACzB;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EAET;AAAA,EACA;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EACP;AAEJ,GAEMC,IAAOC,EAAuB,QAAQF,GAAU;AAAA,EACpD,SAAS;AAAA,EACT,MAAM;AACR,CAAC;"}
@@ -1,4 +1,4 @@
1
- import { c } from "./createCustomLucideIcon-cDqUoZBR.mjs";
1
+ import { c } from "./createCustomLucideIcon-CqjkpU4K.mjs";
2
2
  const o = [
3
3
  [
4
4
  "path",
@@ -21,4 +21,4 @@ const o = [
21
21
  export {
22
22
  e as default
23
23
  };
24
- //# sourceMappingURL=go-CKP5vJhW.mjs.map
24
+ //# sourceMappingURL=go-oIkIgMCf.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"go-CKP5vJhW.mjs","sources":["../src/components/Icon/customIcons/go.ts"],"sourcesContent":["import { IconNode } from 'lucide-react'\nimport createCustomLucideIcon from './createCustomLucideIcon'\n\nconst iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M11.156 54.829c-.243 0-.303-.122-.182-.303l1.273-1.637c.12-.182.424-.303.666-.303H34.55c.243 0 .303.182.182.364l-1.03 1.576c-.121.181-.424.363-.606.363zM2.004 60.404c-.242 0-.303-.12-.182-.303l1.273-1.636c.121-.182.424-.303.667-.303h27.636c.242 0 .364.182.303.364l-.485 1.454c-.06.243-.303.364-.545.364zM16.67 65.98c-.242 0-.302-.182-.181-.364l.848-1.515c.122-.182.364-.363.607-.363h12.12c.243 0 .364.181.364.424l-.12 1.454c0 .243-.243.425-.425.425zM79.58 53.738c-3.819.97-6.425 1.697-10.182 2.666-.91.243-.97.303-1.758-.606-.909-1.03-1.576-1.697-2.848-2.303-3.819-1.878-7.516-1.333-10.97.91-4.121 2.666-6.242 6.605-6.182 11.514.06 4.849 3.394 8.849 8.182 9.516 4.121.545 7.576-.91 10.303-4 .545-.667 1.03-1.394 1.636-2.243H56.064c-1.272 0-1.575-.788-1.151-1.818.788-1.879 2.242-5.03 3.09-6.606.183-.364.607-.97 1.516-.97h22.06c-.12 1.637-.12 3.273-.363 4.91-.667 4.363-2.303 8.363-4.97 11.878-4.364 5.758-10.06 9.333-17.273 10.303-5.939.788-11.454-.364-16.302-4-4.485-3.394-7.03-7.879-7.697-13.454-.788-6.606 1.151-12.546 5.151-17.758 4.303-5.636 10-9.212 16.97-10.485 5.697-1.03 11.151-.363 16.06 2.97 3.212 2.121 5.515 5.03 7.03 8.545.364.546.122.849-.606 1.03z',\n key: 'path-1',\n },\n ],\n [\n 'path',\n {\n d: 'M99.64 87.253c-5.515-.122-10.546-1.697-14.788-5.334-3.576-3.09-5.818-7.03-6.545-11.697-1.091-6.848.787-12.909 4.909-18.302 4.424-5.819 9.757-8.849 16.97-10.122 6.181-1.09 12-.484 17.272 3.091 4.788 3.273 7.757 7.697 8.545 13.515 1.03 8.182-1.333 14.849-6.97 20.546-4 4.06-8.909 6.606-14.545 7.757-1.636.303-3.273.364-4.848.546zm14.424-24.485c-.06-.788-.06-1.394-.182-2-1.09-6-6.606-9.394-12.363-8.06-5.637 1.272-9.273 4.848-10.606 10.545-1.091 4.727 1.212 9.515 5.575 11.454 3.334 1.455 6.667 1.273 9.879-.363 4.788-2.485 7.394-6.364 7.697-11.576z',\n key: 'path-2',\n },\n ],\n]\n\nconst icon = createCustomLucideIcon('go', iconNode, {\n viewBox: '0 0 128 128',\n fill: 'currentColor',\n})\n\nexport { icon as default }\n"],"names":["iconNode","icon","createCustomLucideIcon"],"mappings":";AAGA,MAAMA,IAAqB;AAAA,EACzB;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EAET;AAAA,EACA;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EACP;AAEJ,GAEMC,IAAOC,EAAuB,MAAMF,GAAU;AAAA,EAClD,SAAS;AAAA,EACT,MAAM;AACR,CAAC;"}
1
+ {"version":3,"file":"go-oIkIgMCf.mjs","sources":["../src/components/Icon/customIcons/go.ts"],"sourcesContent":["import { IconNode } from 'lucide-react'\nimport createCustomLucideIcon from './createCustomLucideIcon'\n\nconst iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M11.156 54.829c-.243 0-.303-.122-.182-.303l1.273-1.637c.12-.182.424-.303.666-.303H34.55c.243 0 .303.182.182.364l-1.03 1.576c-.121.181-.424.363-.606.363zM2.004 60.404c-.242 0-.303-.12-.182-.303l1.273-1.636c.121-.182.424-.303.667-.303h27.636c.242 0 .364.182.303.364l-.485 1.454c-.06.243-.303.364-.545.364zM16.67 65.98c-.242 0-.302-.182-.181-.364l.848-1.515c.122-.182.364-.363.607-.363h12.12c.243 0 .364.181.364.424l-.12 1.454c0 .243-.243.425-.425.425zM79.58 53.738c-3.819.97-6.425 1.697-10.182 2.666-.91.243-.97.303-1.758-.606-.909-1.03-1.576-1.697-2.848-2.303-3.819-1.878-7.516-1.333-10.97.91-4.121 2.666-6.242 6.605-6.182 11.514.06 4.849 3.394 8.849 8.182 9.516 4.121.545 7.576-.91 10.303-4 .545-.667 1.03-1.394 1.636-2.243H56.064c-1.272 0-1.575-.788-1.151-1.818.788-1.879 2.242-5.03 3.09-6.606.183-.364.607-.97 1.516-.97h22.06c-.12 1.637-.12 3.273-.363 4.91-.667 4.363-2.303 8.363-4.97 11.878-4.364 5.758-10.06 9.333-17.273 10.303-5.939.788-11.454-.364-16.302-4-4.485-3.394-7.03-7.879-7.697-13.454-.788-6.606 1.151-12.546 5.151-17.758 4.303-5.636 10-9.212 16.97-10.485 5.697-1.03 11.151-.363 16.06 2.97 3.212 2.121 5.515 5.03 7.03 8.545.364.546.122.849-.606 1.03z',\n key: 'path-1',\n },\n ],\n [\n 'path',\n {\n d: 'M99.64 87.253c-5.515-.122-10.546-1.697-14.788-5.334-3.576-3.09-5.818-7.03-6.545-11.697-1.091-6.848.787-12.909 4.909-18.302 4.424-5.819 9.757-8.849 16.97-10.122 6.181-1.09 12-.484 17.272 3.091 4.788 3.273 7.757 7.697 8.545 13.515 1.03 8.182-1.333 14.849-6.97 20.546-4 4.06-8.909 6.606-14.545 7.757-1.636.303-3.273.364-4.848.546zm14.424-24.485c-.06-.788-.06-1.394-.182-2-1.09-6-6.606-9.394-12.363-8.06-5.637 1.272-9.273 4.848-10.606 10.545-1.091 4.727 1.212 9.515 5.575 11.454 3.334 1.455 6.667 1.273 9.879-.363 4.788-2.485 7.394-6.364 7.697-11.576z',\n key: 'path-2',\n },\n ],\n]\n\nconst icon = createCustomLucideIcon('go', iconNode, {\n viewBox: '0 0 128 128',\n fill: 'currentColor',\n})\n\nexport { icon as default }\n"],"names":["iconNode","icon","createCustomLucideIcon"],"mappings":";AAGA,MAAMA,IAAqB;AAAA,EACzB;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EAET;AAAA,EACA;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EACP;AAEJ,GAEMC,IAAOC,EAAuB,MAAMF,GAAU;AAAA,EAClD,SAAS;AAAA,EACT,MAAM;AACR,CAAC;"}
@@ -4464,13 +4464,13 @@ const x4 = {
4464
4464
  }
4465
4465
  return t;
4466
4466
  }, cu = {
4467
- npm: () => import("./npm-CbFMEWVp.mjs"),
4468
- pypi: () => import("./pypi-CX90O1cv.mjs"),
4469
- nuget: () => import("./nuget-GVWyWn0L.mjs"),
4470
- go: () => import("./go-CKP5vJhW.mjs"),
4471
- gems: () => import("./gems-g0yBo9Bc.mjs"),
4472
- maven: () => import("./maven-DzJu3p9k.mjs"),
4473
- packagist: () => import("./packagist-BvK-uYCG.mjs")
4467
+ npm: () => import("./npm-DhOpelro.mjs"),
4468
+ pypi: () => import("./pypi-Ct0GJOtO.mjs"),
4469
+ nuget: () => import("./nuget-CC_Er82n.mjs"),
4470
+ go: () => import("./go-oIkIgMCf.mjs"),
4471
+ gems: () => import("./gems-41yTIyvd.mjs"),
4472
+ maven: () => import("./maven-geqX5geg.mjs"),
4473
+ packagist: () => import("./packagist-DLdwiJQy.mjs")
4474
4474
  };
4475
4475
  function F4() {
4476
4476
  return /* @__PURE__ */ u("div", {});
@@ -31205,19 +31205,22 @@ const q9 = () => /* @__PURE__ */ u("span", { className: "text-muted-foreground t
31205
31205
  children: A,
31206
31206
  className: e,
31207
31207
  active: t = !1,
31208
- onClick: n,
31209
- ...o
31208
+ disabled: n = !1,
31209
+ onClick: o,
31210
+ ...r
31210
31211
  }) => /* @__PURE__ */ u(
31211
- XA.div,
31212
+ XA.button,
31212
31213
  {
31214
+ disabled: n,
31213
31215
  className: nA(
31214
31216
  "typography-body-md text-muted-foreground cursor-pointer rounded-md px-1.5 select-none",
31215
31217
  t && "text-foreground cursor-default",
31216
31218
  !t && "hover:text-foreground hover:bg-accent",
31219
+ n && "hover:text-muted-foreground cursor-default opacity-50 hover:bg-transparent",
31217
31220
  e
31218
31221
  ),
31219
- onClick: n,
31220
- ...o,
31222
+ onClick: o,
31223
+ ...r,
31221
31224
  children: A
31222
31225
  }
31223
31226
  );
@@ -31279,22 +31282,25 @@ const Zb = ({
31279
31282
  render: t,
31280
31283
  className: n,
31281
31284
  active: o,
31282
- ...r
31285
+ disabled: r,
31286
+ ...i
31283
31287
  }) => {
31284
- const { collapsed: i } = gs();
31285
- return t ? t({ title: A, icon: e, active: o, ...r }) : /* @__PURE__ */ u(AB, { children: /* @__PURE__ */ tA(eB, { children: [
31288
+ const { collapsed: s } = gs();
31289
+ return t ? t({ title: A, icon: e, active: o, ...i }) : /* @__PURE__ */ u(AB, { children: /* @__PURE__ */ tA(eB, { children: [
31286
31290
  /* @__PURE__ */ u(tB, { asChild: !0, children: /* @__PURE__ */ tA(
31287
- "div",
31291
+ "button",
31288
31292
  {
31293
+ disabled: r,
31289
31294
  className: nA(
31290
31295
  "text-muted-foreground hover:text-foreground flex h-9 w-fit cursor-pointer items-center gap-3",
31291
31296
  o && "text-foreground",
31297
+ r && "hover:text-muted-foreground cursor-default opacity-50 hover:bg-transparent",
31292
31298
  n
31293
31299
  ),
31294
- ...r,
31300
+ ...i,
31295
31301
  children: [
31296
31302
  /* @__PURE__ */ u(Ae, { name: e, className: "size-6", strokeWidth: 1.3 }),
31297
- i ? null : /* @__PURE__ */ u(
31303
+ s ? null : /* @__PURE__ */ u(
31298
31304
  XA.span,
31299
31305
  {
31300
31306
  initial: { opacity: 0 },
@@ -31312,7 +31318,7 @@ const Zb = ({
31312
31318
  {
31313
31319
  className: "bg-foreground text-background border-foreground flex flex-row items-center gap-2 text-sm",
31314
31320
  side: "right",
31315
- hidden: !i,
31321
+ hidden: !s || r,
31316
31322
  children: [
31317
31323
  /* @__PURE__ */ u(y7, { className: "fill-foreground" }),
31318
31324
  A
@@ -51047,4 +51053,4 @@ export {
51047
51053
  pL as y,
51048
51054
  WoA as z
51049
51055
  };
51050
- //# sourceMappingURL=index-Bd9Fo-Tm.mjs.map
51056
+ //# sourceMappingURL=index-DqTeAfUI.mjs.map