@brightlocal/ui-components 2.18.0 → 2.20.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 (67) hide show
  1. package/README.md +1 -1
  2. package/component-meta.json +11 -2
  3. package/dist/alert-dialog.cjs +1 -1
  4. package/dist/alert-dialog.d.ts.map +1 -1
  5. package/dist/alert-dialog.js +34 -33
  6. package/dist/blocks/sidebar.cjs +1 -1
  7. package/dist/blocks/sidebar.d.ts +20 -0
  8. package/dist/blocks/sidebar.d.ts.map +1 -1
  9. package/dist/blocks/sidebar.js +423 -390
  10. package/dist/browser-entry.d.ts +2 -0
  11. package/dist/browser-entry.d.ts.map +1 -1
  12. package/dist/context-menu.cjs +1 -1
  13. package/dist/context-menu.d.ts.map +1 -1
  14. package/dist/context-menu.js +47 -46
  15. package/dist/dialog.cjs +1 -1
  16. package/dist/dialog.d.ts.map +1 -1
  17. package/dist/dialog.js +35 -34
  18. package/dist/dropdown-menu.cjs +1 -1
  19. package/dist/dropdown-menu.d.ts.map +1 -1
  20. package/dist/dropdown-menu.js +48 -47
  21. package/dist/global-layout.cjs +1 -1
  22. package/dist/global-layout.d.ts.map +1 -1
  23. package/dist/global-layout.js +44 -42
  24. package/dist/hooks/use-overlay-pointer-lock.cjs +1 -0
  25. package/dist/hooks/use-overlay-pointer-lock.d.ts +20 -0
  26. package/dist/hooks/use-overlay-pointer-lock.d.ts.map +1 -0
  27. package/dist/hooks/use-overlay-pointer-lock.js +39 -0
  28. package/dist/index.cjs +1 -1
  29. package/dist/index.d.ts +1 -0
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +88 -86
  32. package/dist/logo.cjs +1 -1
  33. package/dist/logo.d.ts.map +1 -1
  34. package/dist/logo.js +44 -37
  35. package/dist/popover.cjs +1 -1
  36. package/dist/popover.d.ts.map +1 -1
  37. package/dist/popover.js +21 -20
  38. package/dist/select.cjs +1 -1
  39. package/dist/select.d.ts.map +1 -1
  40. package/dist/select.js +25 -23
  41. package/dist/separator.cjs +1 -1
  42. package/dist/separator.d.ts +14 -0
  43. package/dist/separator.d.ts.map +1 -1
  44. package/dist/separator.js +90 -44
  45. package/dist/sheet.cjs +1 -1
  46. package/dist/sheet.d.ts.map +1 -1
  47. package/dist/sheet.js +29 -28
  48. package/dist/stepper.cjs +1 -1
  49. package/dist/stepper.d.ts +15 -13
  50. package/dist/stepper.d.ts.map +1 -1
  51. package/dist/stepper.js +84 -85
  52. package/package.json +3 -3
  53. package/src/blocks/sidebar.tsx +81 -14
  54. package/src/browser-entry.ts +10 -0
  55. package/src/components/alert-dialog.tsx +20 -14
  56. package/src/components/context-menu.tsx +19 -13
  57. package/src/components/dialog.tsx +4 -0
  58. package/src/components/dropdown-menu.tsx +4 -0
  59. package/src/components/global-layout.tsx +3 -1
  60. package/src/components/logo.tsx +19 -25
  61. package/src/components/popover.tsx +22 -16
  62. package/src/components/select.tsx +4 -0
  63. package/src/components/separator.tsx +91 -23
  64. package/src/components/sheet.tsx +4 -0
  65. package/src/components/stepper.tsx +93 -80
  66. package/src/hooks/use-overlay-pointer-lock.ts +128 -0
  67. package/src/index.ts +1 -0
package/README.md CHANGED
@@ -34,7 +34,7 @@ This package includes 65 components and 3 blocks built on Radix UI primitives an
34
34
  - **GlobalLayout** - Full-page layout wrapper
35
35
  - **ResizablePanel** - Panels that can be resized by users
36
36
  - **ScrollArea** - Custom scrollable areas with styled scrollbars
37
- - **Separator** - Visual dividers between content
37
+ - **Separator** - Visual divider between content with configurable spacing
38
38
  - **Skeleton** - Loading placeholder components
39
39
  - **SplitLayout** - Split-pane layouts
40
40
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightlocal/ui-components",
3
- "version": "2.18.0",
3
+ "version": "2.20.0",
4
4
  "description": "Machine-readable registry of all components in the BrightLocal Design System",
5
5
  "components": [
6
6
  {
@@ -1860,12 +1860,18 @@
1860
1860
  "orientation": [
1861
1861
  "horizontal",
1862
1862
  "vertical"
1863
+ ],
1864
+ "spacing": [
1865
+ "default",
1866
+ "sm",
1867
+ "md",
1868
+ "lg"
1863
1869
  ]
1864
1870
  },
1865
1871
  "props": [
1866
1872
  "decorative"
1867
1873
  ],
1868
- "description": "Visual divider between content"
1874
+ "description": "Visual divider between content with configurable spacing"
1869
1875
  },
1870
1876
  {
1871
1877
  "name": "Sheet",
@@ -2615,6 +2621,9 @@
2615
2621
  },
2616
2622
  "SidebarSwitcher": {
2617
2623
  "triggerAriaLabel": "string — default: \"Switch workspace\""
2624
+ },
2625
+ "SidebarAccountDropdown": {
2626
+ "triggerAriaLabel": "string — default: \"Account menu\""
2618
2627
  }
2619
2628
  },
2620
2629
  "description": "Complex sidebar navigation with collapsible support"
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),N=require("react"),b=require("@radix-ui/react-alert-dialog"),s=require("@brightlocal/ui-components/lib/utils"),c=require("@brightlocal/ui-components/button");function g(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const i=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(a,e,i.get?i:{enumerable:!0,get:()=>t[e]})}}return a.default=t,Object.freeze(a)}const o=g(N),r=g(b);function f({dataHook:t,trackingEl:a,trackingLabel:e,...i}){return l.jsx(r.Root,{"data-hook":t,"data-slot":"alert-dialog","data-tracking-el":a,"data-tracking-label":e,...i})}f.displayName="AlertDialog";const m=o.forwardRef((t,a)=>l.jsx(r.Trigger,{ref:a,"data-slot":"alert-dialog-trigger",...t}));m.displayName="AlertDialogTrigger";function n({...t}){return l.jsx(r.Portal,{...t})}n.displayName="AlertDialogPortal";const d=o.forwardRef(({className:t,...a},e)=>l.jsx(r.Overlay,{ref:e,className:s.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),"data-slot":"alert-dialog-overlay",...a}));d.displayName="AlertDialogOverlay";const D=o.forwardRef(({className:t,...a},e)=>l.jsxs(n,{children:[l.jsx(d,{}),l.jsx(r.Content,{ref:e,className:s.cn("border-border bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),"data-slot":"alert-dialog-content",...a})]}));D.displayName="AlertDialogContent";const u=o.forwardRef(({className:t,...a},e)=>l.jsx("div",{ref:e,className:s.cn("flex flex-col gap-2 text-center sm:text-left",t),"data-slot":"alert-dialog-header",...a}));u.displayName="AlertDialogHeader";const A=o.forwardRef(({className:t,...a},e)=>l.jsx("div",{ref:e,className:s.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),"data-slot":"alert-dialog-footer",...a}));A.displayName="AlertDialogFooter";const p=o.forwardRef(({className:t,dataHook:a,...e},i)=>l.jsx(r.Title,{ref:i,className:s.cn("text-lg font-semibold",t),"data-hook":a,"data-slot":"alert-dialog-title",...e}));p.displayName="AlertDialogTitle";const x=o.forwardRef(({className:t,dataHook:a,...e},i)=>l.jsx(r.Description,{ref:i,className:s.cn("text-muted-foreground text-sm",t),"data-hook":a,"data-slot":"alert-dialog-description",...e}));x.displayName="AlertDialogDescription";const y=o.forwardRef(({className:t,...a},e)=>l.jsx(r.Action,{ref:e,className:s.cn(c.ButtonVariants(),t),"data-slot":"alert-dialog-action",...a}));y.displayName="AlertDialogAction";const j=o.forwardRef(({className:t,...a},e)=>l.jsx(r.Cancel,{ref:e,className:s.cn(c.ButtonVariants({variant:"outline"}),t),"data-slot":"alert-dialog-cancel",...a}));j.displayName="AlertDialogCancel";exports.AlertDialog=f;exports.AlertDialogAction=y;exports.AlertDialogCancel=j;exports.AlertDialogContent=D;exports.AlertDialogDescription=x;exports.AlertDialogFooter=A;exports.AlertDialogHeader=u;exports.AlertDialogOverlay=d;exports.AlertDialogPortal=n;exports.AlertDialogTitle=p;exports.AlertDialogTrigger=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),N=require("react"),b=require("@radix-ui/react-alert-dialog"),s=require("@brightlocal/ui-components/lib/utils"),v=require("@brightlocal/ui-components/hooks/use-overlay-pointer-lock"),c=require("@brightlocal/ui-components/button");function g(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const o=g(N),r=g(b);function f({dataHook:e,trackingEl:t,trackingLabel:a,...i}){return l.jsx(r.Root,{"data-hook":e,"data-slot":"alert-dialog","data-tracking-el":t,"data-tracking-label":a,...i})}f.displayName="AlertDialog";const m=o.forwardRef((e,t)=>l.jsx(r.Trigger,{ref:t,"data-slot":"alert-dialog-trigger",...e}));m.displayName="AlertDialogTrigger";function n({...e}){return l.jsx(r.Portal,{...e})}n.displayName="AlertDialogPortal";const d=o.forwardRef(({className:e,...t},a)=>l.jsx(r.Overlay,{ref:a,className:s.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),"data-slot":"alert-dialog-overlay",...t}));d.displayName="AlertDialogOverlay";const u=o.forwardRef(({className:e,...t},a)=>(v.useOverlayPointerLock(),l.jsxs(n,{children:[l.jsx(d,{}),l.jsx(r.Content,{ref:a,className:s.cn("border-border bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),"data-slot":"alert-dialog-content",...t})]})));u.displayName="AlertDialogContent";const D=o.forwardRef(({className:e,...t},a)=>l.jsx("div",{ref:a,className:s.cn("flex flex-col gap-2 text-center sm:text-left",e),"data-slot":"alert-dialog-header",...t}));D.displayName="AlertDialogHeader";const A=o.forwardRef(({className:e,...t},a)=>l.jsx("div",{ref:a,className:s.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),"data-slot":"alert-dialog-footer",...t}));A.displayName="AlertDialogFooter";const p=o.forwardRef(({className:e,dataHook:t,...a},i)=>l.jsx(r.Title,{ref:i,className:s.cn("text-lg font-semibold",e),"data-hook":t,"data-slot":"alert-dialog-title",...a}));p.displayName="AlertDialogTitle";const x=o.forwardRef(({className:e,dataHook:t,...a},i)=>l.jsx(r.Description,{ref:i,className:s.cn("text-muted-foreground text-sm",e),"data-hook":t,"data-slot":"alert-dialog-description",...a}));x.displayName="AlertDialogDescription";const y=o.forwardRef(({className:e,...t},a)=>l.jsx(r.Action,{ref:a,className:s.cn(c.ButtonVariants(),e),"data-slot":"alert-dialog-action",...t}));y.displayName="AlertDialogAction";const j=o.forwardRef(({className:e,...t},a)=>l.jsx(r.Cancel,{ref:a,className:s.cn(c.ButtonVariants({variant:"outline"}),e),"data-slot":"alert-dialog-cancel",...t}));j.displayName="AlertDialogCancel";exports.AlertDialog=f;exports.AlertDialogAction=y;exports.AlertDialogCancel=j;exports.AlertDialogContent=u;exports.AlertDialogDescription=x;exports.AlertDialogFooter=A;exports.AlertDialogHeader=D;exports.AlertDialogOverlay=d;exports.AlertDialogPortal=n;exports.AlertDialogTitle=p;exports.AlertDialogTrigger=m;
@@ -1 +1 @@
1
- {"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../src/components/alert-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,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ACnB;AAED,QAAA,MAAM,gBAAgB,+GAWpB,CAAC;AAIH;;GAEG;AACH,UAAU,2BAA4B,SAAQ,KAAK,CAAC,cAAc,CAChE,OAAO,oBAAoB,CAAC,WAAW,CACxC;IACC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,sBAAsB,uHAW1B,CAAC;AAIH,QAAA,MAAM,iBAAiB,6KAUrB,CAAC;AAIH,QAAA,MAAM,iBAAiB,6KAUrB,CAAC;AAIH,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,CAAC;AAEF,YAAY,EACV,2BAA2B,EAC3B,gBAAgB,EAChB,qBAAqB,GACtB,CAAC"}
@@ -1,15 +1,16 @@
1
- import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
- import * as o from "react";
1
+ import { jsx as o, jsxs as c } from "react/jsx-runtime";
2
+ import * as l from "react";
3
3
  import * as r from "@radix-ui/react-alert-dialog";
4
4
  import { cn as i } from "@brightlocal/ui-components/lib/utils";
5
+ import { useOverlayPointerLock as m } from "@brightlocal/ui-components/hooks/use-overlay-pointer-lock";
5
6
  import { ButtonVariants as s } from "@brightlocal/ui-components/button";
6
- function m({
7
+ function f({
7
8
  dataHook: a,
8
9
  trackingEl: t,
9
10
  trackingLabel: e,
10
11
  ...d
11
12
  }) {
12
- return /* @__PURE__ */ l(
13
+ return /* @__PURE__ */ o(
13
14
  r.Root,
14
15
  {
15
16
  "data-hook": a,
@@ -20,8 +21,8 @@ function m({
20
21
  }
21
22
  );
22
23
  }
23
- m.displayName = "AlertDialog";
24
- const f = o.forwardRef((a, t) => /* @__PURE__ */ l(
24
+ f.displayName = "AlertDialog";
25
+ const p = l.forwardRef((a, t) => /* @__PURE__ */ o(
25
26
  r.Trigger,
26
27
  {
27
28
  ref: t,
@@ -29,14 +30,14 @@ const f = o.forwardRef((a, t) => /* @__PURE__ */ l(
29
30
  ...a
30
31
  }
31
32
  ));
32
- f.displayName = "AlertDialogTrigger";
33
+ p.displayName = "AlertDialogTrigger";
33
34
  function n({
34
35
  ...a
35
36
  }) {
36
- return /* @__PURE__ */ l(r.Portal, { ...a });
37
+ return /* @__PURE__ */ o(r.Portal, { ...a });
37
38
  }
38
39
  n.displayName = "AlertDialogPortal";
39
- const g = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ l(
40
+ const g = l.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ o(
40
41
  r.Overlay,
41
42
  {
42
43
  ref: e,
@@ -49,9 +50,9 @@ const g = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ l(
49
50
  }
50
51
  ));
51
52
  g.displayName = "AlertDialogOverlay";
52
- const p = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ c(n, { children: [
53
- /* @__PURE__ */ l(g, {}),
54
- /* @__PURE__ */ l(
53
+ const A = l.forwardRef(({ className: a, ...t }, e) => (m(), /* @__PURE__ */ c(n, { children: [
54
+ /* @__PURE__ */ o(g, {}),
55
+ /* @__PURE__ */ o(
55
56
  r.Content,
56
57
  {
57
58
  ref: e,
@@ -63,9 +64,9 @@ const p = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ c(n, { chi
63
64
  ...t
64
65
  }
65
66
  )
66
- ] }));
67
- p.displayName = "AlertDialogContent";
68
- const A = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ l(
67
+ ] })));
68
+ A.displayName = "AlertDialogContent";
69
+ const D = l.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ o(
69
70
  "div",
70
71
  {
71
72
  ref: e,
@@ -74,8 +75,8 @@ const A = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ l(
74
75
  ...t
75
76
  }
76
77
  ));
77
- A.displayName = "AlertDialogHeader";
78
- const D = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ l(
78
+ D.displayName = "AlertDialogHeader";
79
+ const u = l.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ o(
79
80
  "div",
80
81
  {
81
82
  ref: e,
@@ -87,8 +88,8 @@ const D = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ l(
87
88
  ...t
88
89
  }
89
90
  ));
90
- D.displayName = "AlertDialogFooter";
91
- const N = o.forwardRef(({ className: a, dataHook: t, ...e }, d) => /* @__PURE__ */ l(
91
+ u.displayName = "AlertDialogFooter";
92
+ const N = l.forwardRef(({ className: a, dataHook: t, ...e }, d) => /* @__PURE__ */ o(
92
93
  r.Title,
93
94
  {
94
95
  ref: d,
@@ -99,7 +100,7 @@ const N = o.forwardRef(({ className: a, dataHook: t, ...e }, d) => /* @__PURE__
99
100
  }
100
101
  ));
101
102
  N.displayName = "AlertDialogTitle";
102
- const u = o.forwardRef(({ className: a, dataHook: t, ...e }, d) => /* @__PURE__ */ l(
103
+ const x = l.forwardRef(({ className: a, dataHook: t, ...e }, d) => /* @__PURE__ */ o(
103
104
  r.Description,
104
105
  {
105
106
  ref: d,
@@ -109,8 +110,8 @@ const u = o.forwardRef(({ className: a, dataHook: t, ...e }, d) => /* @__PURE__
109
110
  ...e
110
111
  }
111
112
  ));
112
- u.displayName = "AlertDialogDescription";
113
- const x = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ l(
113
+ x.displayName = "AlertDialogDescription";
114
+ const y = l.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ o(
114
115
  r.Action,
115
116
  {
116
117
  ref: e,
@@ -119,8 +120,8 @@ const x = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ l(
119
120
  ...t
120
121
  }
121
122
  ));
122
- x.displayName = "AlertDialogAction";
123
- const y = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ l(
123
+ y.displayName = "AlertDialogAction";
124
+ const w = l.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ o(
124
125
  r.Cancel,
125
126
  {
126
127
  ref: e,
@@ -129,17 +130,17 @@ const y = o.forwardRef(({ className: a, ...t }, e) => /* @__PURE__ */ l(
129
130
  ...t
130
131
  }
131
132
  ));
132
- y.displayName = "AlertDialogCancel";
133
+ w.displayName = "AlertDialogCancel";
133
134
  export {
134
- m as AlertDialog,
135
- x as AlertDialogAction,
136
- y as AlertDialogCancel,
137
- p as AlertDialogContent,
138
- u as AlertDialogDescription,
139
- D as AlertDialogFooter,
140
- A as AlertDialogHeader,
135
+ f as AlertDialog,
136
+ y as AlertDialogAction,
137
+ w as AlertDialogCancel,
138
+ A as AlertDialogContent,
139
+ x as AlertDialogDescription,
140
+ u as AlertDialogFooter,
141
+ D as AlertDialogHeader,
141
142
  g as AlertDialogOverlay,
142
143
  n as AlertDialogPortal,
143
144
  N as AlertDialogTitle,
144
- f as AlertDialogTrigger
145
+ p as AlertDialogTrigger
145
146
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),Oe=require("react"),k=require("@radix-ui/react-slot"),T=require("class-variance-authority"),m=require("@brightlocal/icons"),l=require("@brightlocal/ui-components/lib/utils"),H=require("../button.cjs"),_e=require("../input.cjs"),F=require("../separator.cjs"),N=require("../dropdown-menu.cjs"),_=require("../popover.cjs"),R=require("../sheet.cjs"),E=require("../accordion.cjs"),Ee=require("@radix-ui/react-accordion"),Te=require("../scroll-area.cjs"),G=require("../skeleton.cjs"),I=require("../tooltip.cjs"),Pe=require("../hooks/use-breakpoint.cjs");function U(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=U(Oe),ze=U(Ee),v="focus-visible:[box-shadow:0_0_0_1px_color-mix(in_srgb,var(--color-sidebar-ring)_50%,transparent),0_0_0_3px_rgba(0,0,0,0.1)]";var K=(e=>(e.LEFT="left",e))(K||{}),V=(e=>(e.SIDEBAR="sidebar",e))(V||{}),$=(e=>(e.OFFCANVAS="offcanvas",e.ICON="icon",e.NONE="none",e))($||{}),W=(e=>(e.DEFAULT="default",e.SM="sm",e.XS="xs",e))(W||{}),X=(e=>(e.DEFAULT="default",e.COLLAPSIBLE="collapsible",e.ACTION="action",e))(X||{}),Y=(e=>(e.SIMPLE="simple",e.COLLAPSIBLE="collapsible",e.DROPDOWN="dropdown",e.BADGE="badge",e.BIG_ICON="bigIcon",e.CHECKBOX="checkbox",e))(Y||{}),Z=(e=>(e.DEFAULT="default",e.SM="sm",e.LG="lg",e))(Z||{}),J=(e=>(e.DEFAULT="default",e.BORDER="border",e.INDENT="indent",e))(J||{}),Q=(e=>(e.SM="sm",e.MD="md",e))(Q||{}),ee=(e=>(e.CARET="caret",e.HORIZONTAL="horizontal",e.VERTICAL="vertical",e.UP_DOWN="upDown",e.PLUS_MINUS="plusMinus",e.DOTS="dots",e))(ee||{});const Be="sidebar:state",Le=3600*24*7,qe="224px",Ge="336px",He="48px",Fe="b",ae=i.createContext(null);function y(){const e=i.useContext(ae);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}const te=i.forwardRef(({dataHook:e,trackingEl:r,trackingLabel:t,defaultOpen:o=!0,open:s,onOpenChange:n,className:d,style:c,children:u,...b},f)=>{const p=Pe.useIsBelowBreakpoint("lg"),[x,S]=i.useState(!1),[g,O]=i.useState(o),j=s??g,M=i.useCallback(h=>{const w=typeof h=="function"?h(j):h;n?n(w):O(w),document.cookie=`${Be}=${w}; path=/; max-age=${Le}`},[n,j]),C=i.useCallback(()=>p?S(h=>!h):M(h=>!h),[p,M,S]);i.useEffect(()=>{const h=w=>{w.key===Fe&&(w.metaKey||w.ctrlKey)&&(w.preventDefault(),C())};return window.addEventListener("keydown",h),()=>window.removeEventListener("keydown",h)},[C]);const q=j?"expanded":"collapsed",Ae=i.useMemo(()=>({state:q,open:j,setOpen:M,isMobile:p,openMobile:x,setOpenMobile:S,toggleSidebar:C}),[q,j,M,p,x,S,C]);return a.jsx(ae.Provider,{value:Ae,children:a.jsx(I.TooltipProvider,{delayDuration:0,children:a.jsx("div",{ref:f,className:l.cn("group/sidebar-wrapper flex min-h-svh w-full",d),"data-hook":e,"data-slot":"sidebar-provider","data-tracking-el":r||"sidebar-provider","data-tracking-label":t,style:{"--sidebar-width":qe,"--sidebar-width-icon":He,...c},...b,children:u})})})});te.displayName="SidebarProvider";const re=i.forwardRef(({dataHook:e,trackingEl:r,trackingLabel:t,side:o="left",variant:s="sidebar",collapsible:n="offcanvas",embedded:d,mobileTitle:c,mobileDescription:u,className:b,children:f,...p},x)=>{const{isMobile:S,state:g,openMobile:O,setOpenMobile:j}=y();return n==="none"?a.jsx("div",{ref:x,className:l.cn("text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",b),"data-hook":e,"data-slot":"sidebar","data-tracking-el":r||"sidebar","data-tracking-label":t,...p,children:f}):S?a.jsx(R.Sheet,{open:O,onOpenChange:j,children:a.jsxs(R.SheetContent,{className:"bg-sidebar-background text-sidebar-foreground w-(--sidebar-width) p-6","data-hook":`${e}-mobile-content`,"data-mobile":"true","data-sidebar":"sidebar",side:"left",style:{"--sidebar-width":`min(${Ge}, calc(100vw - 40px))`},children:[a.jsx(R.SheetTitle,{className:"sr-only",children:c??"Navigation"}),a.jsx(R.SheetDescription,{className:"sr-only",children:u??"Main navigation menu"}),a.jsx("div",{className:"flex h-full w-full flex-col",children:f})]})}):a.jsx("div",{ref:x,className:l.cn("group text-sidebar-foreground flex h-full shrink-0 flex-col overflow-hidden transition-[width] duration-200 ease-linear",g==="expanded"&&"w-(--sidebar-width)",n==="icon"&&g==="collapsed"&&"w-(--sidebar-width-icon)",n==="offcanvas"&&g==="collapsed"&&"w-0",b),"data-collapsible":g==="collapsed"?n:"","data-hook":e,"data-side":o,"data-slot":"sidebar","data-state":g,"data-tracking-el":r||"sidebar","data-tracking-label":t,"data-variant":s,...p,children:f})});re.displayName="Sidebar";const P=i.forwardRef(({className:e,onClick:r,dataHook:t="sidebar-trigger",toggleAriaLabel:o,children:s,...n},d)=>{const{toggleSidebar:c}=y(),u=o??"Toggle Sidebar";return a.jsxs(H.Button,{ref:d,iconOnly:!0,"aria-label":u,className:l.cn("h-7 w-7",e),"data-slot":"sidebar-trigger",dataHook:t,size:"sm",variant:"ghost",onClick:b=>{r?.(b),c()},...n,children:[s||a.jsx(m.PanelLeft,{}),a.jsx("span",{className:"sr-only",children:u})]})});P.displayName="SidebarTrigger";const oe=i.forwardRef(({className:e,toggleAriaLabel:r,...t},o)=>{const{toggleSidebar:s}=y(),n=r??"Toggle Sidebar";return a.jsx("button",{ref:o,"aria-label":n,className:l.cn("hover:after:bg-sidebar-border absolute inset-y-0 -right-4 z-20 hidden w-4 -translate-x-1/2 transition-transform ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-0.5 sm:flex","cursor-w-resize","in-data-[state=collapsed]:cursor-e-resize","group-data-[collapsible=offcanvas]:hover:bg-sidebar-background group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","in-data-[collapsible=offcanvas]:-right-2",e),"data-slot":"sidebar-rail",tabIndex:-1,title:n,onClick:s,...t})});oe.displayName="SidebarRail";const se=i.forwardRef(({className:e,dataHook:r,trackingEl:t,trackingLabel:o,...s},n)=>a.jsx("main",{ref:n,className:l.cn("bg-background relative flex min-h-svh flex-1 flex-col",e),"data-hook":r,"data-slot":"sidebar-inset","data-tracking-el":t||"sidebar-inset","data-tracking-label":o,...s}));se.displayName="SidebarInset";const ne=i.forwardRef(({className:e,...r},t)=>a.jsx(_e.Input,{ref:t,className:l.cn("bg-background h-8 w-full shadow-none",v,e),"data-slot":"sidebar-input",dataHook:"sidebar-input",...r}));ne.displayName="SidebarInput";const ie=i.forwardRef(({className:e,dataHook:r,...t},o)=>a.jsx("header",{ref:o,className:l.cn("pr-section-xs flex flex-col gap-2 pt-2 pb-9 pl-8",e),"data-hook":r,"data-slot":"sidebar-header",...t}));ie.displayName="SidebarHeader";const de=i.forwardRef(({className:e,dataHook:r,...t},o)=>a.jsx("footer",{ref:o,className:l.cn("flex flex-col gap-2 p-2",e),"data-hook":r,"data-slot":"sidebar-footer",...t}));de.displayName="SidebarFooter";const le=i.forwardRef(({className:e,...r},t)=>a.jsx(F.Separator,{ref:t,className:l.cn("bg-sidebar-border mx-2 my-5 w-auto group-data-[collapsible=icon]:mx-0",e),"data-slot":"sidebar-separator",...r}));le.displayName="SidebarSeparator";const ce=i.forwardRef(({className:e,dataHook:r,ariaLabel:t="Sidebar",children:o,...s},n)=>{const{isMobile:d}=y(),c=i.useCallback(u=>{const b=u?.querySelector('[data-slot="scroll-area-viewport"]');b&&(b.tabIndex=-1),typeof n=="function"?n(u):n&&(n.current=u)},[n]);return a.jsx(Te.ScrollArea,{ref:c,className:l.cn("min-h-0 flex-1 group-data-[collapsible=icon]:overflow-hidden [&_[data-slot=scroll-area-viewport]>div]:block!",e),dataHook:r??"sidebar-content-scroll",scrollOrientation:d?"both":"vertical",...s,children:a.jsx("nav",{"aria-label":t,className:"flex flex-col gap-2","data-slot":"sidebar-content",children:o})})});ce.displayName="SidebarContent";const ue=i.forwardRef(({className:e,dataHook:r,...t},o)=>a.jsx("div",{ref:o,className:l.cn("relative flex w-full min-w-0 flex-col p-2",e),"data-hook":r,"data-slot":"sidebar-group",...t}));ue.displayName="SidebarGroup";const Ue=T.cva(["flex h-8 shrink-0 items-center rounded-md px-2 font-medium text-sidebar-foreground/70 outline-none transition-[margin,opacity] duration-200 ease-linear [&>svg]:shrink-0 group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",v],{variants:{size:{default:"text-sm",sm:"text-sm",xs:"text-xs"},variant:{default:"",collapsible:"w-full justify-between cursor-pointer hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",action:"w-full justify-between cursor-pointer hover:bg-sidebar-accent hover:text-sidebar-accent-foreground"}},defaultVariants:{size:"sm",variant:"default"}}),be=i.forwardRef(({className:e,dataHook:r,asChild:t=!1,size:o="sm",variant:s="default",isOpen:n=!1,onToggle:d,onAction:c,children:u,...b},f)=>{const p=t?k.Slot:"div",x=()=>{s==="collapsible"&&d?d():s==="action"&&c&&c()},S=g=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),x())};return a.jsxs(p,{ref:f,className:l.cn(Ue({size:o,variant:s}),e),"data-hook":r,"data-slot":"sidebar-group-label","data-variant":s,role:s!=="default"?"button":void 0,tabIndex:s!=="default"?0:void 0,onClick:s!=="default"?x:void 0,onKeyDown:s!=="default"?S:void 0,...b,children:[a.jsx("span",{children:u}),s==="collapsible"&&a.jsx(m.ChevronDown,{className:l.cn("shrink-0 transition-transform duration-200",n&&"rotate-180"),size:16}),s==="action"&&a.jsx(m.Plus,{className:"shrink-0",size:16})]})});be.displayName="SidebarGroupLabel";const pe=i.forwardRef(({className:e,asChild:r=!1,...t},o)=>{const s=r?k.Slot:"button";return a.jsx(s,{ref:o,className:l.cn("text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform outline-none [&>svg]:shrink-0",v,"after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),"data-slot":"sidebar-group-action",...t})});pe.displayName="SidebarGroupAction";const fe=i.forwardRef(({className:e,dataHook:r,...t},o)=>a.jsx("div",{ref:o,className:l.cn("w-full text-sm",e),"data-hook":r,"data-slot":"sidebar-group-content",...t}));fe.displayName="SidebarGroupContent";const me=i.forwardRef(({className:e,dataHook:r,...t},o)=>a.jsx("ul",{ref:o,className:l.cn("flex w-full min-w-0 flex-col gap-1",e),"data-hook":r,"data-slot":"sidebar-menu",...t}));me.displayName="SidebarMenu";const z=i.forwardRef(({className:e,dataHook:r,...t},o)=>a.jsx("li",{ref:o,className:l.cn("group/menu-item relative",e),"data-hook":r,"data-slot":"sidebar-menu-item",...t}));z.displayName="SidebarMenuItem";const xe=i.forwardRef(({type:e="caret",isActive:r=!1,className:t,...o},s)=>{const n={ref:s,className:l.cn("shrink-0 transition-transform",r&&e==="caret"&&"rotate-90",t),"data-slot":"sidebar-collapse-icon",...o};switch(e){case"horizontal":return a.jsx(m.ChevronRight,{...n});case"vertical":return a.jsx(m.ChevronDown,{...n});case"upDown":return a.jsx(m.ChevronsUpDown,{...n});case"plusMinus":return r?a.jsx(m.Minus,{...n}):a.jsx(m.Plus,{...n});case"dots":return a.jsx(m.Ellipsis,{...n});default:return a.jsx(m.ChevronRight,{...n})}});xe.displayName="SidebarCollapseIcon";const Ke=T.cva(["peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-full px-6 py-2 text-left text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow,opacity,width,height,padding] duration-150 ease-in-out hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-semibold data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 group-data-[collapsible=icon]:rounded-md [&>span:last-of-type]:truncate [&>svg]:shrink-0 [&>svg]:opacity-70 data-[active=true]:[&>svg]:opacity-100 group-data-[collapsible=icon]:[&>span]:hidden group-data-[collapsible=icon]:[&>div]:hidden",v],{variants:{variant:{simple:"",collapsible:"[&>[data-collapse-icon]]:ml-auto [&>[data-collapse-icon]]:transition-transform data-[state=open]:[&>[data-collapse-icon]]:rotate-90",dropdown:"group-has-[[data-sidebar=menu-action]]/menu-item:pr-8",badge:"group-has-[[data-sidebar=menu-badge]]/menu-item:pr-16",bigIcon:"h-auto flex-col items-start gap-1 rounded-lg p-3 [&>svg]:size-6 [&>svg]:rounded-md [&>svg]:bg-sidebar-foreground [&>svg]:p-1 [&>svg]:text-sidebar-background [&>svg]:opacity-100 hover:[&>svg]:bg-sidebar-foreground hover:[&>svg]:text-sidebar-background group-data-[collapsible=icon]:!size-10 group-data-[collapsible=icon]:!p-2 group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:[&>svg]:size-6",checkbox:"px-3 [&>[data-checkbox]]:size-4 [&>[data-checkbox]]:shrink-0 [&>[data-checkbox]]:rounded [&>[data-checkbox]]:border [&>[data-checkbox]]:border-sidebar-foreground/30 data-[checked=true]:[&>[data-checkbox]]:bg-primary data-[checked=true]:[&>[data-checkbox]]:border-primary data-[checked=true]:[&>[data-checkbox]]:text-primary-foreground"},size:{default:"h-12 text-sm/4",sm:"h-7 text-xs/4",lg:"h-12 text-sm/4 group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"simple",size:"default"}}),A=i.forwardRef(({asChild:e=!1,isActive:r=!1,variant:t="simple",size:o="default",tooltip:s,className:n,dataHook:d,...c},u)=>{const b=e?k.Slot:"button",{isMobile:f,state:p}=y(),x=a.jsx(b,{ref:u,className:l.cn(Ke({variant:t,size:o}),n),"data-active":r,"data-hook":d,"data-size":o,"data-slot":"sidebar-menu-button","data-variant":t,...c});return s?(typeof s=="string"&&(s={children:s,dataHook:"sidebar-menu-button-tooltip"}),a.jsxs(I.Tooltip,{children:[a.jsx(I.TooltipTrigger,{asChild:!0,children:x}),a.jsx(I.TooltipContent,{hideArrow:!0,...s,align:"center",className:l.cn("bg-foreground text-background border-none",s.className),hidden:p!=="collapsed"||f,side:"right",sideOffset:8})]})):x});A.displayName="SidebarMenuButton";const ge=i.forwardRef(({className:e,asChild:r=!1,showOnHover:t=!1,...o},s)=>{const n=r?k.Slot:"button";return a.jsx(n,{ref:s,className:l.cn("text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform outline-none [&>svg]:shrink-0",v,"after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","peer-data-[size=bigIcon]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",e),"data-slot":"sidebar-menu-action",...o})});ge.displayName="SidebarMenuAction";const he=i.forwardRef(({className:e,...r},t)=>a.jsx("div",{ref:t,className:l.cn("text-sidebar-foreground pointer-events-none absolute inset-y-0 right-4 my-auto flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","group-data-[collapsible=icon]:hidden",e),"data-slot":"sidebar-menu-badge",...r}));he.displayName="SidebarMenuBadge";const ve=i.forwardRef(({className:e,showIcon:r=!1,...t},o)=>{const s=i.useId(),n=i.useMemo(()=>{let d=0;for(let c=0;c<s.length;c++)d=(d<<5)-d+s.charCodeAt(c),d|=0;return`${Math.abs(d)%40+50}%`},[s]);return a.jsxs("div",{ref:o,className:l.cn("flex h-8 items-center gap-2 rounded-md px-2",e),"data-slot":"sidebar-menu-skeleton",...t,children:[r&&a.jsx(G.Skeleton,{className:"size-4 rounded-md","data-slot":"sidebar-menu-skeleton-icon"}),a.jsx(G.Skeleton,{className:"h-4 max-w-[--skeleton-width] flex-1","data-slot":"sidebar-menu-skeleton-text",style:{"--skeleton-width":n}})]})});ve.displayName="SidebarMenuSkeleton";const Ve=T.cva("flex min-w-0 flex-col items-start gap-1 py-1 group-data-[collapsible=icon]:hidden",{variants:{variant:{default:"px-10",border:"border-l border-sidebar-border ml-10 pl-1 pr-10",indent:"px-10"}},defaultVariants:{variant:"border"}}),B=i.forwardRef(({className:e,variant:r="border",dataHook:t,...o},s)=>a.jsx("ul",{ref:s,className:l.cn(Ve({variant:r}),e),"data-hook":t,"data-slot":"sidebar-menu-sub",...o}));B.displayName="SidebarMenuSub";const Se=i.forwardRef(({dataHook:e,...r},t)=>a.jsx("li",{ref:t,"data-hook":e,"data-slot":"sidebar-menu-sub-item",...r}));Se.displayName="SidebarMenuSubItem";const we=i.forwardRef(({asChild:e=!1,size:r="md",isActive:t,className:o,dataHook:s,...n},d)=>{const c=e?k.Slot:"a";return a.jsx(c,{ref:d,className:l.cn("text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-foreground flex h-7 min-w-0 items-center gap-2 overflow-hidden rounded-md px-2 transition-[color,background-color,box-shadow,opacity] duration-150 ease-in-out outline-none disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-of-type]:truncate [&>svg]:shrink-0",v,"data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",r==="sm"&&"text-xs",r==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),"data-active":t,"data-hook":s,"data-size":r,"data-slot":"sidebar-menu-sub-button",...n})});we.displayName="SidebarMenuSubButton";function je({dataHook:e,className:r,children:t,defaultOpen:o,open:s,onOpenChange:n}){return a.jsx(z,{children:a.jsx(E.Accordion,{collapsible:!0,className:r,dataHook:e??"sidebar-menu-collapsible",defaultValue:o?"item":void 0,type:"single",value:s!==void 0?s?"item":"":void 0,onValueChange:n?d=>n(d==="item"):void 0,children:a.jsx(E.AccordionItem,{className:"group/collapsible border-none",value:"item",children:t})})})}je.displayName="SidebarMenuCollapsible";const Ne=i.forwardRef(({children:e,className:r,...t},o)=>a.jsx(ze.Trigger,{asChild:!0,children:a.jsxs(A,{ref:o,className:r,variant:"collapsible",...t,children:[e,a.jsx(m.ChevronRight,{"data-collapse-icon":!0,className:"opacity-100! transition-transform duration-200 ease-out group-data-[collapsible=icon]:hidden",size:12})]})}));Ne.displayName="SidebarMenuCollapsibleTrigger";const ye=i.forwardRef(({dataHook:e,children:r,...t},o)=>a.jsx(E.AccordionContent,{className:"p-0",children:a.jsx(B,{ref:o,dataHook:e,...t,children:r})}));ye.displayName="SidebarMenuCollapsibleContent";const ke=i.forwardRef(({className:e,dataHook:r="sidebar-drawer",trackingEl:t,trackingLabel:o,children:s,...n},d)=>a.jsx("div",{ref:d,className:e,"data-hook":r,"data-slot":"sidebar-drawer","data-tracking-el":t,"data-tracking-label":o,...n,children:a.jsx(P,{dataHook:`${r}-trigger`,children:a.jsx(m.Menu,{size:24})})}));ke.displayName="SidebarDrawer";const Me=i.forwardRef(({className:e,dataHook:r="sidebar-header-button",children:t,...o},s)=>a.jsx(H.Button,{ref:s,...o,iconOnly:!0,className:l.cn("hover:bg-sidebar-accent hover:text-sidebar-accent-foreground size-7 rounded-md shadow-none",v,e),"data-slot":"sidebar-header-button",dataHook:r,size:"sm",variant:"ghost",children:t}));Me.displayName="SidebarHeaderButton";const L=i.forwardRef(({className:e,dataHook:r="sidebar-popover-trigger",icon:t,triggerAriaLabel:o,children:s,...n},d)=>a.jsxs("button",{ref:d,"aria-label":o??"Switch workspace",className:l.cn("text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground flex items-center gap-2 rounded-md px-1.5 py-2 text-sm font-semibold transition-colors duration-200 ease-out outline-none",v,e),"data-hook":r,"data-slot":"sidebar-popover-trigger",type:"button",...n,children:[t&&a.jsx("span",{className:"bg-sidebar-primary text-sidebar-primary-foreground flex size-5 shrink-0 items-center justify-center rounded-md",children:t}),a.jsx("span",{className:"truncate",children:s}),a.jsx(m.ChevronDown,{className:"shrink-0 opacity-50",size:16})]}));L.displayName="SidebarPopoverTrigger";const D=i.forwardRef(({className:e,dataHook:r,icon:t,shortcut:o,children:s,...n},d)=>a.jsxs("button",{ref:d,className:l.cn("text-popover-foreground hover:bg-accent hover:text-accent-foreground focus-visible:bg-accent focus-visible:text-accent-foreground flex h-10 w-full items-center gap-2 rounded-xs p-2 text-sm transition-colors duration-150 ease-in-out outline-none",v,e),"data-hook":r,"data-slot":"sidebar-popover-menu-item",type:"button",...n,children:[t&&a.jsx("span",{className:"border-border flex size-6 shrink-0 items-center justify-center rounded-xs border [&_svg]:size-4",children:t}),a.jsx("span",{className:"min-w-px flex-1 truncate text-left",children:s}),o&&a.jsx("span",{className:"text-popover-foreground/60 shrink-0 text-xs",children:o})]}));D.displayName="SidebarPopoverMenuItem";const Ce=i.forwardRef(({className:e,dataHook:r="sidebar-popover-menu",groupTitle:t="Teams",items:o,addActionLabel:s,addActionIcon:n,onAddAction:d,children:c,...u},b)=>a.jsx("div",{ref:b,className:l.cn("flex flex-col",e),"data-hook":r,"data-slot":"sidebar-popover-menu",...u,children:c||a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"flex flex-col items-start p-1",children:[t&&a.jsx("div",{className:"flex w-full items-center px-2 py-1.5",children:a.jsx("span",{className:"text-muted-foreground flex-1 text-xs font-medium",children:t})}),o?.map((f,p)=>a.jsx(D,{icon:f.icon,shortcut:f.shortcut,onClick:f.onClick,children:f.label},p))]}),d&&a.jsxs(a.Fragment,{children:[a.jsx(F.Separator,{}),a.jsx("div",{className:"flex flex-col items-start p-1",children:a.jsx(D,{icon:n||a.jsx(m.Plus,{size:16}),onClick:d,children:s??"Add team"})})]})]})}));Ce.displayName="SidebarPopoverMenu";function Re({dataHook:e="sidebar-switcher",icon:r,label:t,triggerAriaLabel:o,triggerClassName:s,children:n}){return a.jsxs(_.Popover,{children:[a.jsx(_.PopoverTrigger,{asChild:!0,children:a.jsx(L,{className:s,dataHook:`${e}-trigger`,icon:r,triggerAriaLabel:o,children:t})}),a.jsx(_.PopoverContent,{align:"start",className:"w-[316px] p-0",dataHook:`${e}-content`,side:"bottom",sideOffset:4,children:n})]})}Re.displayName="SidebarSwitcher";function Ie({dataHook:e="sidebar-account-dropdown",name:r,email:t,avatar:o,menuGroups:s,triggerAriaLabel:n,align:d="end",side:c="top",children:u}){return a.jsxs(N.DropdownMenu,{children:[a.jsx(N.DropdownMenuTrigger,{asChild:!0,children:a.jsxs(A,{"aria-label":n??"Account menu",className:"h-auto py-1.5",dataHook:`${e}-button`,size:"lg",children:[o,a.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5 leading-none",children:[a.jsx("span",{className:"truncate text-sm font-semibold",children:r}),a.jsx("span",{className:"truncate text-xs font-normal",children:t})]})]})}),a.jsx(N.DropdownMenuContent,{align:d,className:"w-56",dataHook:`${e}-content`,side:c,sideOffset:4,children:u||a.jsxs(a.Fragment,{children:[a.jsxs(N.DropdownMenuLabel,{className:"flex items-center gap-2 px-1 py-1.5",children:[o,a.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5 leading-none",children:[a.jsx("span",{className:"truncate text-sm font-semibold",children:r}),a.jsx("span",{className:"truncate text-xs font-normal",children:t})]})]}),s?.map((b,f)=>a.jsxs(i.Fragment,{children:[a.jsx(N.DropdownMenuSeparator,{}),b.map((p,x)=>a.jsxs(N.DropdownMenuItem,{onClick:p.onClick,children:[p.icon,p.label]},x))]},f))]})})]})}Ie.displayName="SidebarAccountDropdown";const De=i.forwardRef(({className:e,dataHook:r,senderName:t,title:o,description:s,timestamp:n,...d},c)=>a.jsxs("button",{ref:c,className:l.cn("border-sidebar-border text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:bg-sidebar-accent flex w-full flex-col gap-2 border-b p-4 text-left transition-colors duration-150 ease-in-out outline-none",v,e),"data-hook":r,"data-slot":"sidebar-inbox-item",type:"button",...d,children:[a.jsxs("div",{className:"flex w-full items-center justify-between text-sm",children:[a.jsx("span",{children:t}),n&&a.jsx("span",{children:n})]}),a.jsx("p",{className:"w-full text-sm font-medium",children:o}),s&&a.jsx("p",{className:"w-full truncate text-xs",children:s})]}));De.displayName="SidebarInboxItem";exports.Sidebar=re;exports.SidebarAccountDropdown=Ie;exports.SidebarCollapseIcon=xe;exports.SidebarCollapseIconType=ee;exports.SidebarCollapsible=$;exports.SidebarContent=ce;exports.SidebarDrawer=ke;exports.SidebarFooter=de;exports.SidebarGroup=ue;exports.SidebarGroupAction=pe;exports.SidebarGroupContent=fe;exports.SidebarGroupLabel=be;exports.SidebarGroupLabelSize=W;exports.SidebarGroupLabelVariant=X;exports.SidebarHeader=ie;exports.SidebarHeaderButton=Me;exports.SidebarInboxItem=De;exports.SidebarInput=ne;exports.SidebarInset=se;exports.SidebarMenu=me;exports.SidebarMenuAction=ge;exports.SidebarMenuBadge=he;exports.SidebarMenuButton=A;exports.SidebarMenuButtonSize=Z;exports.SidebarMenuButtonVariant=Y;exports.SidebarMenuCollapsible=je;exports.SidebarMenuCollapsibleContent=ye;exports.SidebarMenuCollapsibleTrigger=Ne;exports.SidebarMenuItem=z;exports.SidebarMenuSkeleton=ve;exports.SidebarMenuSub=B;exports.SidebarMenuSubButton=we;exports.SidebarMenuSubButtonSize=Q;exports.SidebarMenuSubItem=Se;exports.SidebarMenuSubVariant=J;exports.SidebarPopoverMenu=Ce;exports.SidebarPopoverMenuItem=D;exports.SidebarPopoverTrigger=L;exports.SidebarProvider=te;exports.SidebarRail=oe;exports.SidebarSeparator=le;exports.SidebarSide=K;exports.SidebarSwitcher=Re;exports.SidebarTrigger=P;exports.SidebarVariant=V;exports.useSidebar=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),_e=require("react"),Pe=require("react-dom"),y=require("@radix-ui/react-slot"),T=require("class-variance-authority"),g=require("@brightlocal/icons"),l=require("@brightlocal/ui-components/lib/utils"),U=require("../button.cjs"),Te=require("../input.cjs"),z=require("../separator.cjs"),N=require("../dropdown-menu.cjs"),_=require("../popover.cjs"),R=require("../sheet.cjs"),P=require("../accordion.cjs"),ze=require("@radix-ui/react-accordion"),Be=require("../scroll-area.cjs"),G=require("../skeleton.cjs"),I=require("../tooltip.cjs"),Le=require("../hooks/use-breakpoint.cjs");function K(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=K(_e),qe=K(ze),S="focus-visible:[box-shadow:0_0_0_1px_color-mix(in_srgb,var(--color-sidebar-ring)_50%,transparent),0_0_0_3px_rgba(0,0,0,0.1)]";var V=(e=>(e.LEFT="left",e))(V||{}),$=(e=>(e.SIDEBAR="sidebar",e))($||{}),W=(e=>(e.OFFCANVAS="offcanvas",e.ICON="icon",e.NONE="none",e))(W||{}),X=(e=>(e.DEFAULT="default",e.SM="sm",e.XS="xs",e))(X||{}),Y=(e=>(e.DEFAULT="default",e.COLLAPSIBLE="collapsible",e.ACTION="action",e))(Y||{}),Z=(e=>(e.SIMPLE="simple",e.COLLAPSIBLE="collapsible",e.DROPDOWN="dropdown",e.BADGE="badge",e.BIG_ICON="bigIcon",e.CHECKBOX="checkbox",e))(Z||{}),J=(e=>(e.DEFAULT="default",e.SM="sm",e.LG="lg",e))(J||{}),Q=(e=>(e.DEFAULT="default",e.BORDER="border",e.INDENT="indent",e))(Q||{}),ee=(e=>(e.SM="sm",e.MD="md",e))(ee||{}),ae=(e=>(e.CARET="caret",e.HORIZONTAL="horizontal",e.VERTICAL="vertical",e.UP_DOWN="upDown",e.PLUS_MINUS="plusMinus",e.DOTS="dots",e))(ae||{});const He="sidebar:state",Fe=3600*24*7,Ge="224px",Ue="336px",Ke="48px",Ve="b",te=i.createContext(null);function j(){const e=i.useContext(te);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}const re=i.forwardRef(({dataHook:e,trackingEl:r,trackingLabel:t,defaultOpen:o=!0,open:s,onOpenChange:n,className:d,style:c,children:f,...m},p)=>{const b=Le.useIsBelowBreakpoint("lg"),[u,h]=i.useState(!1),[x,O]=i.useState(null),[E,Oe]=i.useState(o),k=s??E,C=i.useCallback(v=>{const w=typeof v=="function"?v(k):v;n?n(w):Oe(w),document.cookie=`${He}=${w}; path=/; max-age=${Fe}`},[n,k]),M=i.useCallback(()=>b?h(v=>!v):C(v=>!v),[b,C,h]);i.useEffect(()=>{const v=w=>{w.key===Ve&&(w.metaKey||w.ctrlKey)&&(w.preventDefault(),M())};return window.addEventListener("keydown",v),()=>window.removeEventListener("keydown",v)},[M]);const F=k?"expanded":"collapsed",Ee=i.useMemo(()=>({state:F,open:k,setOpen:C,isMobile:b,openMobile:u,setOpenMobile:h,toggleSidebar:M,footerPortalEl:x,setFooterPortalEl:O}),[F,k,C,b,u,h,M,x]);return a.jsx(te.Provider,{value:Ee,children:a.jsx(I.TooltipProvider,{delayDuration:0,children:a.jsx("div",{ref:p,className:l.cn("group/sidebar-wrapper flex min-h-svh w-full",d),"data-hook":e,"data-slot":"sidebar-provider","data-tracking-el":r||"sidebar-provider","data-tracking-label":t,style:{"--sidebar-width":Ge,"--sidebar-width-icon":Ke,...c},...m,children:f})})})});re.displayName="SidebarProvider";const oe=i.forwardRef(({dataHook:e,trackingEl:r,trackingLabel:t,side:o="left",variant:s="sidebar",collapsible:n="offcanvas",embedded:d,mobileTitle:c,mobileDescription:f,className:m,children:p,...b},u)=>{const{isMobile:h,state:x,openMobile:O,setOpenMobile:E}=j();return n==="none"?a.jsx("div",{ref:u,className:l.cn("text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",m),"data-hook":e,"data-slot":"sidebar","data-tracking-el":r||"sidebar","data-tracking-label":t,...b,children:p}):h?a.jsx(R.Sheet,{open:O,onOpenChange:E,children:a.jsxs(R.SheetContent,{className:"bg-sidebar-background text-sidebar-foreground w-(--sidebar-width) p-6","data-hook":`${e}-mobile-content`,"data-mobile":"true","data-sidebar":"sidebar",side:"left",style:{"--sidebar-width":`min(${Ue}, calc(100vw - 40px))`},children:[a.jsx(R.SheetTitle,{className:"sr-only",children:c??"Navigation"}),a.jsx(R.SheetDescription,{className:"sr-only",children:f??"Main navigation menu"}),a.jsx("div",{className:"flex h-full w-full flex-col",children:p})]})}):a.jsx("div",{ref:u,className:l.cn("group text-sidebar-foreground flex h-full shrink-0 flex-col overflow-hidden transition-[width] duration-200 ease-linear",x==="expanded"&&"w-(--sidebar-width)",n==="icon"&&x==="collapsed"&&"w-(--sidebar-width-icon)",n==="offcanvas"&&x==="collapsed"&&"w-0",m),"data-collapsible":x==="collapsed"?n:"","data-hook":e,"data-side":o,"data-slot":"sidebar","data-state":x,"data-tracking-el":r||"sidebar","data-tracking-label":t,"data-variant":s,...b,children:p})});oe.displayName="Sidebar";const B=i.forwardRef(({className:e,onClick:r,dataHook:t="sidebar-trigger",toggleAriaLabel:o,children:s,...n},d)=>{const{toggleSidebar:c}=j(),f=o??"Toggle Sidebar";return a.jsxs(U.Button,{ref:d,iconOnly:!0,"aria-label":f,className:l.cn("h-7 w-7",e),"data-slot":"sidebar-trigger",dataHook:t,size:"sm",variant:"ghost",onClick:m=>{r?.(m),c()},...n,children:[s||a.jsx(g.PanelLeft,{}),a.jsx("span",{className:"sr-only",children:f})]})});B.displayName="SidebarTrigger";const se=i.forwardRef(({className:e,toggleAriaLabel:r,...t},o)=>{const{toggleSidebar:s}=j(),n=r??"Toggle Sidebar";return a.jsx("button",{ref:o,"aria-label":n,className:l.cn("hover:after:bg-sidebar-border absolute inset-y-0 -right-4 z-20 hidden w-4 -translate-x-1/2 transition-transform ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-0.5 sm:flex","cursor-w-resize","in-data-[state=collapsed]:cursor-e-resize","group-data-[collapsible=offcanvas]:hover:bg-sidebar-background group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","in-data-[collapsible=offcanvas]:-right-2",e),"data-slot":"sidebar-rail",tabIndex:-1,title:n,onClick:s,...t})});se.displayName="SidebarRail";const ne=i.forwardRef(({className:e,dataHook:r,trackingEl:t,trackingLabel:o,...s},n)=>a.jsx("main",{ref:n,className:l.cn("bg-background relative flex min-h-svh flex-1 flex-col",e),"data-hook":r,"data-slot":"sidebar-inset","data-tracking-el":t||"sidebar-inset","data-tracking-label":o,...s}));ne.displayName="SidebarInset";const ie=i.forwardRef(({className:e,...r},t)=>a.jsx(Te.Input,{ref:t,className:l.cn("bg-background h-8 w-full shadow-none",S,e),"data-slot":"sidebar-input",dataHook:"sidebar-input",...r}));ie.displayName="SidebarInput";const de=i.forwardRef(({className:e,dataHook:r,...t},o)=>a.jsx("header",{ref:o,className:l.cn("pr-section-xs flex shrink-0 flex-col gap-2 pt-2 pb-9 pl-8",e),"data-hook":r,"data-slot":"sidebar-header",...t}));de.displayName="SidebarHeader";const le=i.forwardRef(({className:e,dataHook:r,separator:t=!0,...o},s)=>{const{footerPortalEl:n}=j(),d=a.jsxs(a.Fragment,{children:[t&&a.jsx(z.Separator,{className:"group-data-[collapsible=icon]:mx-0","data-slot":"sidebar-footer-separator",spacing:"md"}),a.jsx("footer",{ref:s,className:l.cn("flex shrink-0 flex-col gap-1 p-1",e),"data-hook":r,"data-slot":"sidebar-footer",...o})]});return n?Pe.createPortal(d,n):d});le.displayName="SidebarFooter";const ce=i.forwardRef(({className:e,...r},t)=>a.jsx(z.Separator,{ref:t,className:l.cn("bg-sidebar-border mx-2 my-5 w-auto group-data-[collapsible=icon]:mx-0",e),"data-slot":"sidebar-separator",...r}));ce.displayName="SidebarSeparator";const ue=i.forwardRef(({className:e,dataHook:r,ariaLabel:t="Sidebar",children:o,...s},n)=>{const{isMobile:d,setFooterPortalEl:c}=j(),f=i.useRef(null),[m,p]=i.useState(!1),b=i.useCallback(u=>{const h=u?.querySelector('[data-slot="scroll-area-viewport"]');f.current=h??null,h&&(h.tabIndex=-1),typeof n=="function"?n(u):n&&(n.current=u)},[n]);return i.useEffect(()=>{const u=f.current;if(!u)return;const h=()=>p(u.scrollHeight>u.clientHeight),x=new ResizeObserver(h);return x.observe(u),u.firstElementChild&&x.observe(u.firstElementChild),()=>x.disconnect()},[]),a.jsxs(Be.ScrollArea,{ref:b,className:l.cn("min-h-0 flex-1 group-data-[collapsible=icon]:overflow-hidden **:data-[slot=scroll-area-scrollbar]:w-1.5 **:data-[slot=scroll-area-scrollbar]:border-l-0 **:data-[slot=scroll-area-scrollbar]:p-0 [&_[data-slot=scroll-area-viewport]>div]:flex! [&_[data-slot=scroll-area-viewport]>div]:min-h-full [&_[data-slot=scroll-area-viewport]>div]:flex-col",e),dataHook:r??"sidebar-content-scroll",scrollOrientation:d?"both":"vertical",...s,children:[a.jsx("nav",{"aria-label":t,className:l.cn("flex flex-col gap-2",m&&"pr-2"),"data-slot":"sidebar-content",children:o}),a.jsx("div",{ref:c,className:"mt-auto"})]})});ue.displayName="SidebarContent";const be=i.forwardRef(({className:e,dataHook:r,...t},o)=>a.jsx("div",{ref:o,className:l.cn("relative flex w-full min-w-0 flex-col p-2",e),"data-hook":r,"data-slot":"sidebar-group",...t}));be.displayName="SidebarGroup";const $e=T.cva(["flex h-8 shrink-0 items-center rounded-md px-2 font-medium text-sidebar-foreground/70 outline-none transition-[margin,opacity] duration-200 ease-linear [&>svg]:shrink-0 group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",S],{variants:{size:{default:"text-sm",sm:"text-sm",xs:"text-xs"},variant:{default:"",collapsible:"w-full justify-between cursor-pointer hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",action:"w-full justify-between cursor-pointer hover:bg-sidebar-accent hover:text-sidebar-accent-foreground"}},defaultVariants:{size:"sm",variant:"default"}}),pe=i.forwardRef(({className:e,dataHook:r,asChild:t=!1,size:o="sm",variant:s="default",isOpen:n=!1,onToggle:d,onAction:c,children:f,...m},p)=>{const b=t?y.Slot:"div",u=()=>{s==="collapsible"&&d?d():s==="action"&&c&&c()},h=x=>{(x.key==="Enter"||x.key===" ")&&(x.preventDefault(),u())};return a.jsxs(b,{ref:p,className:l.cn($e({size:o,variant:s}),e),"data-hook":r,"data-slot":"sidebar-group-label","data-variant":s,role:s!=="default"?"button":void 0,tabIndex:s!=="default"?0:void 0,onClick:s!=="default"?u:void 0,onKeyDown:s!=="default"?h:void 0,...m,children:[a.jsx("span",{children:f}),s==="collapsible"&&a.jsx(g.ChevronDown,{className:l.cn("shrink-0 transition-transform duration-200",n&&"rotate-180"),size:16}),s==="action"&&a.jsx(g.Plus,{className:"shrink-0",size:16})]})});pe.displayName="SidebarGroupLabel";const fe=i.forwardRef(({className:e,asChild:r=!1,...t},o)=>{const s=r?y.Slot:"button";return a.jsx(s,{ref:o,className:l.cn("text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform outline-none [&>svg]:shrink-0",S,"after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),"data-slot":"sidebar-group-action",...t})});fe.displayName="SidebarGroupAction";const me=i.forwardRef(({className:e,dataHook:r,...t},o)=>a.jsx("div",{ref:o,className:l.cn("w-full text-sm",e),"data-hook":r,"data-slot":"sidebar-group-content",...t}));me.displayName="SidebarGroupContent";const xe=i.forwardRef(({className:e,dataHook:r,...t},o)=>a.jsx("ul",{ref:o,className:l.cn("flex w-full min-w-0 flex-col gap-1",e),"data-hook":r,"data-slot":"sidebar-menu",...t}));xe.displayName="SidebarMenu";const L=i.forwardRef(({className:e,dataHook:r,...t},o)=>a.jsx("li",{ref:o,className:l.cn("group/menu-item relative",e),"data-hook":r,"data-slot":"sidebar-menu-item",...t}));L.displayName="SidebarMenuItem";const he=i.forwardRef(({type:e="caret",isActive:r=!1,className:t,...o},s)=>{const n={ref:s,className:l.cn("shrink-0 transition-transform",r&&e==="caret"&&"rotate-90",t),"data-slot":"sidebar-collapse-icon",...o};switch(e){case"horizontal":return a.jsx(g.ChevronRight,{...n});case"vertical":return a.jsx(g.ChevronDown,{...n});case"upDown":return a.jsx(g.ChevronsUpDown,{...n});case"plusMinus":return r?a.jsx(g.Minus,{...n}):a.jsx(g.Plus,{...n});case"dots":return a.jsx(g.Ellipsis,{...n});default:return a.jsx(g.ChevronRight,{...n})}});he.displayName="SidebarCollapseIcon";const We=T.cva(["peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-full px-6 py-2 text-left text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow,opacity,width,height,padding] duration-150 ease-in-out hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-semibold data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 group-data-[collapsible=icon]:rounded-md [&>span:last-of-type]:truncate [&>svg]:shrink-0 [&>svg]:opacity-70 data-[active=true]:[&>svg]:opacity-100 group-data-[collapsible=icon]:[&>span]:hidden group-data-[collapsible=icon]:[&>div]:hidden",S],{variants:{variant:{simple:"",collapsible:"[&>[data-collapse-icon]]:ml-auto [&>[data-collapse-icon]]:transition-transform data-[state=open]:[&>[data-collapse-icon]]:rotate-90",dropdown:"group-has-[[data-sidebar=menu-action]]/menu-item:pr-8",badge:"group-has-[[data-sidebar=menu-badge]]/menu-item:pr-16",bigIcon:"h-auto flex-col items-start gap-1 rounded-lg p-3 [&>svg]:size-6 [&>svg]:rounded-md [&>svg]:bg-sidebar-foreground [&>svg]:p-1 [&>svg]:text-sidebar-background [&>svg]:opacity-100 hover:[&>svg]:bg-sidebar-foreground hover:[&>svg]:text-sidebar-background group-data-[collapsible=icon]:!size-10 group-data-[collapsible=icon]:!p-2 group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:[&>svg]:size-6",checkbox:"px-3 [&>[data-checkbox]]:size-4 [&>[data-checkbox]]:shrink-0 [&>[data-checkbox]]:rounded [&>[data-checkbox]]:border [&>[data-checkbox]]:border-sidebar-foreground/30 data-[checked=true]:[&>[data-checkbox]]:bg-primary data-[checked=true]:[&>[data-checkbox]]:border-primary data-[checked=true]:[&>[data-checkbox]]:text-primary-foreground"},size:{default:"h-12 text-sm/4",sm:"h-7 text-xs/4",lg:"h-12 text-sm/4 group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"simple",size:"default"}}),A=i.forwardRef(({asChild:e=!1,isActive:r=!1,variant:t="simple",size:o="default",tooltip:s,className:n,dataHook:d,...c},f)=>{const m=e?y.Slot:"button",{isMobile:p,state:b}=j(),u=a.jsx(m,{ref:f,className:l.cn(We({variant:t,size:o}),n),"data-active":r,"data-hook":d,"data-size":o,"data-slot":"sidebar-menu-button","data-variant":t,...c});return s?(typeof s=="string"&&(s={children:s,dataHook:"sidebar-menu-button-tooltip"}),a.jsxs(I.Tooltip,{children:[a.jsx(I.TooltipTrigger,{asChild:!0,children:u}),a.jsx(I.TooltipContent,{hideArrow:!0,...s,align:"center",className:l.cn("bg-foreground text-background border-none",s.className),hidden:b!=="collapsed"||p,side:"right",sideOffset:8})]})):u});A.displayName="SidebarMenuButton";const ge=i.forwardRef(({className:e,asChild:r=!1,showOnHover:t=!1,...o},s)=>{const n=r?y.Slot:"button";return a.jsx(n,{ref:s,className:l.cn("text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 transition-transform outline-none [&>svg]:shrink-0",S,"after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","peer-data-[size=bigIcon]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",e),"data-slot":"sidebar-menu-action",...o})});ge.displayName="SidebarMenuAction";const ve=i.forwardRef(({className:e,...r},t)=>a.jsx("div",{ref:t,className:l.cn("text-sidebar-foreground pointer-events-none absolute inset-y-0 right-4 my-auto flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","group-data-[collapsible=icon]:hidden",e),"data-slot":"sidebar-menu-badge",...r}));ve.displayName="SidebarMenuBadge";const Se=i.forwardRef(({className:e,showIcon:r=!1,...t},o)=>{const s=i.useId(),n=i.useMemo(()=>{let d=0;for(let c=0;c<s.length;c++)d=(d<<5)-d+s.charCodeAt(c),d|=0;return`${Math.abs(d)%40+50}%`},[s]);return a.jsxs("div",{ref:o,className:l.cn("flex h-8 items-center gap-2 rounded-md px-2",e),"data-slot":"sidebar-menu-skeleton",...t,children:[r&&a.jsx(G.Skeleton,{className:"size-4 rounded-md","data-slot":"sidebar-menu-skeleton-icon"}),a.jsx(G.Skeleton,{className:"h-4 max-w-[--skeleton-width] flex-1","data-slot":"sidebar-menu-skeleton-text",style:{"--skeleton-width":n}})]})});Se.displayName="SidebarMenuSkeleton";const Xe=T.cva("flex min-w-0 flex-col items-start gap-1 py-1 group-data-[collapsible=icon]:hidden",{variants:{variant:{default:"px-10",border:"border-l border-sidebar-border ml-10 pl-1 pr-10",indent:"px-10"}},defaultVariants:{variant:"border"}}),q=i.forwardRef(({className:e,variant:r="border",dataHook:t,...o},s)=>a.jsx("ul",{ref:s,className:l.cn(Xe({variant:r}),e),"data-hook":t,"data-slot":"sidebar-menu-sub",...o}));q.displayName="SidebarMenuSub";const we=i.forwardRef(({dataHook:e,...r},t)=>a.jsx("li",{ref:t,"data-hook":e,"data-slot":"sidebar-menu-sub-item",...r}));we.displayName="SidebarMenuSubItem";const je=i.forwardRef(({asChild:e=!1,size:r="md",isActive:t,className:o,dataHook:s,...n},d)=>{const c=e?y.Slot:"a";return a.jsx(c,{ref:d,className:l.cn("text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-foreground flex h-7 min-w-0 items-center gap-2 overflow-hidden rounded-md px-2 transition-[color,background-color,box-shadow,opacity] duration-150 ease-in-out outline-none disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-of-type]:truncate [&>svg]:shrink-0",S,"data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",r==="sm"&&"text-xs",r==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),"data-active":t,"data-hook":s,"data-size":r,"data-slot":"sidebar-menu-sub-button",...n})});je.displayName="SidebarMenuSubButton";function Ne({dataHook:e,className:r,children:t,defaultOpen:o,open:s,onOpenChange:n}){return a.jsx(L,{children:a.jsx(P.Accordion,{collapsible:!0,className:r,dataHook:e??"sidebar-menu-collapsible",defaultValue:o?"item":void 0,type:"single",value:s!==void 0?s?"item":"":void 0,onValueChange:n?d=>n(d==="item"):void 0,children:a.jsx(P.AccordionItem,{className:"group/collapsible border-none",value:"item",children:t})})})}Ne.displayName="SidebarMenuCollapsible";const ke=i.forwardRef(({children:e,className:r,...t},o)=>a.jsx(qe.Trigger,{asChild:!0,children:a.jsxs(A,{ref:o,className:r,variant:"collapsible",...t,children:[e,a.jsx(g.ChevronRight,{"data-collapse-icon":!0,className:"opacity-100! transition-transform duration-200 ease-out group-data-[collapsible=icon]:hidden",size:12})]})}));ke.displayName="SidebarMenuCollapsibleTrigger";const ye=i.forwardRef(({dataHook:e,children:r,...t},o)=>a.jsx(P.AccordionContent,{className:"p-0",children:a.jsx(q,{ref:o,dataHook:e,...t,children:r})}));ye.displayName="SidebarMenuCollapsibleContent";const Ce=i.forwardRef(({className:e,dataHook:r="sidebar-drawer",trackingEl:t,trackingLabel:o,children:s,...n},d)=>a.jsx("div",{ref:d,className:e,"data-hook":r,"data-slot":"sidebar-drawer","data-tracking-el":t,"data-tracking-label":o,...n,children:a.jsx(B,{dataHook:`${r}-trigger`,children:a.jsx(g.Menu,{size:24})})}));Ce.displayName="SidebarDrawer";const Me=i.forwardRef(({className:e,dataHook:r="sidebar-header-button",children:t,...o},s)=>a.jsx(U.Button,{ref:s,...o,iconOnly:!0,className:l.cn("hover:bg-sidebar-accent hover:text-sidebar-accent-foreground size-7 rounded-md shadow-none",S,e),"data-slot":"sidebar-header-button",dataHook:r,size:"sm",variant:"ghost",children:t}));Me.displayName="SidebarHeaderButton";const H=i.forwardRef(({className:e,dataHook:r="sidebar-popover-trigger",icon:t,triggerAriaLabel:o,children:s,...n},d)=>a.jsxs("button",{ref:d,"aria-label":o??"Switch workspace",className:l.cn("text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground flex items-center gap-2 rounded-md px-1.5 py-2 text-sm font-semibold transition-colors duration-200 ease-out outline-none",S,e),"data-hook":r,"data-slot":"sidebar-popover-trigger",type:"button",...n,children:[t&&a.jsx("span",{className:"bg-sidebar-primary text-sidebar-primary-foreground flex size-5 shrink-0 items-center justify-center rounded-md",children:t}),a.jsx("span",{className:"truncate",children:s}),a.jsx(g.ChevronDown,{className:"shrink-0 opacity-50",size:16})]}));H.displayName="SidebarPopoverTrigger";const D=i.forwardRef(({className:e,dataHook:r,icon:t,shortcut:o,children:s,...n},d)=>a.jsxs("button",{ref:d,className:l.cn("text-popover-foreground hover:bg-accent hover:text-accent-foreground focus-visible:bg-accent focus-visible:text-accent-foreground flex h-10 w-full items-center gap-2 rounded-xs p-2 text-sm transition-colors duration-150 ease-in-out outline-none",S,e),"data-hook":r,"data-slot":"sidebar-popover-menu-item",type:"button",...n,children:[t&&a.jsx("span",{className:"border-border flex size-6 shrink-0 items-center justify-center rounded-xs border [&_svg]:size-4",children:t}),a.jsx("span",{className:"min-w-px flex-1 truncate text-left",children:s}),o&&a.jsx("span",{className:"text-popover-foreground/60 shrink-0 text-xs",children:o})]}));D.displayName="SidebarPopoverMenuItem";const Re=i.forwardRef(({className:e,dataHook:r="sidebar-popover-menu",groupTitle:t="Teams",items:o,addActionLabel:s,addActionIcon:n,onAddAction:d,children:c,...f},m)=>a.jsx("div",{ref:m,className:l.cn("flex flex-col",e),"data-hook":r,"data-slot":"sidebar-popover-menu",...f,children:c||a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"flex flex-col items-start p-1",children:[t&&a.jsx("div",{className:"flex w-full items-center px-2 py-1.5",children:a.jsx("span",{className:"text-muted-foreground flex-1 text-xs font-medium",children:t})}),o?.map((p,b)=>a.jsx(D,{icon:p.icon,shortcut:p.shortcut,onClick:p.onClick,children:p.label},b))]}),d&&a.jsxs(a.Fragment,{children:[a.jsx(z.Separator,{}),a.jsx("div",{className:"flex flex-col items-start p-1",children:a.jsx(D,{icon:n||a.jsx(g.Plus,{size:16}),onClick:d,children:s??"Add team"})})]})]})}));Re.displayName="SidebarPopoverMenu";function Ie({dataHook:e="sidebar-switcher",icon:r,label:t,triggerAriaLabel:o,triggerClassName:s,children:n}){return a.jsxs(_.Popover,{children:[a.jsx(_.PopoverTrigger,{asChild:!0,children:a.jsx(H,{className:s,dataHook:`${e}-trigger`,icon:r,triggerAriaLabel:o,children:t})}),a.jsx(_.PopoverContent,{align:"start",className:"w-[316px] p-0",dataHook:`${e}-content`,side:"bottom",sideOffset:4,children:n})]})}Ie.displayName="SidebarSwitcher";function De({dataHook:e="sidebar-account-dropdown",name:r,email:t,avatar:o,menuGroups:s,triggerAriaLabel:n,align:d="end",side:c="top",children:f}){return a.jsxs(N.DropdownMenu,{children:[a.jsx(N.DropdownMenuTrigger,{asChild:!0,children:a.jsxs(A,{"aria-label":n??"Account menu",className:"h-auto py-1.5",dataHook:`${e}-button`,size:"lg",children:[o,a.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5 leading-none",children:[a.jsx("span",{className:"truncate text-sm font-semibold",children:r}),a.jsx("span",{className:"truncate text-xs font-normal",children:t})]})]})}),a.jsx(N.DropdownMenuContent,{align:d,className:"w-56",dataHook:`${e}-content`,side:c,sideOffset:4,children:f||a.jsxs(a.Fragment,{children:[a.jsxs(N.DropdownMenuLabel,{className:"flex items-center gap-2 px-1 py-1.5",children:[o,a.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5 leading-none",children:[a.jsx("span",{className:"truncate text-sm font-semibold",children:r}),a.jsx("span",{className:"truncate text-xs font-normal",children:t})]})]}),s?.map((m,p)=>a.jsxs(i.Fragment,{children:[a.jsx(N.DropdownMenuSeparator,{}),m.map((b,u)=>a.jsxs(N.DropdownMenuItem,{onClick:b.onClick,children:[b.icon,b.label]},u))]},p))]})})]})}De.displayName="SidebarAccountDropdown";const Ae=i.forwardRef(({className:e,dataHook:r,senderName:t,title:o,description:s,timestamp:n,...d},c)=>a.jsxs("button",{ref:c,className:l.cn("border-sidebar-border text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:bg-sidebar-accent flex w-full flex-col gap-2 border-b p-4 text-left transition-colors duration-150 ease-in-out outline-none",S,e),"data-hook":r,"data-slot":"sidebar-inbox-item",type:"button",...d,children:[a.jsxs("div",{className:"flex w-full items-center justify-between text-sm",children:[a.jsx("span",{children:t}),n&&a.jsx("span",{children:n})]}),a.jsx("p",{className:"w-full text-sm font-medium",children:o}),s&&a.jsx("p",{className:"w-full truncate text-xs",children:s})]}));Ae.displayName="SidebarInboxItem";exports.Sidebar=oe;exports.SidebarAccountDropdown=De;exports.SidebarCollapseIcon=he;exports.SidebarCollapseIconType=ae;exports.SidebarCollapsible=W;exports.SidebarContent=ue;exports.SidebarDrawer=Ce;exports.SidebarFooter=le;exports.SidebarGroup=be;exports.SidebarGroupAction=fe;exports.SidebarGroupContent=me;exports.SidebarGroupLabel=pe;exports.SidebarGroupLabelSize=X;exports.SidebarGroupLabelVariant=Y;exports.SidebarHeader=de;exports.SidebarHeaderButton=Me;exports.SidebarInboxItem=Ae;exports.SidebarInput=ie;exports.SidebarInset=ne;exports.SidebarMenu=xe;exports.SidebarMenuAction=ge;exports.SidebarMenuBadge=ve;exports.SidebarMenuButton=A;exports.SidebarMenuButtonSize=J;exports.SidebarMenuButtonVariant=Z;exports.SidebarMenuCollapsible=Ne;exports.SidebarMenuCollapsibleContent=ye;exports.SidebarMenuCollapsibleTrigger=ke;exports.SidebarMenuItem=L;exports.SidebarMenuSkeleton=Se;exports.SidebarMenuSub=q;exports.SidebarMenuSubButton=je;exports.SidebarMenuSubButtonSize=ee;exports.SidebarMenuSubItem=we;exports.SidebarMenuSubVariant=Q;exports.SidebarPopoverMenu=Re;exports.SidebarPopoverMenuItem=D;exports.SidebarPopoverTrigger=H;exports.SidebarProvider=re;exports.SidebarRail=se;exports.SidebarSeparator=ce;exports.SidebarSide=V;exports.SidebarSwitcher=Ie;exports.SidebarTrigger=B;exports.SidebarVariant=$;exports.useSidebar=j;
@@ -124,6 +124,8 @@ type SidebarContext = {
124
124
  setOpenMobile: (open: boolean) => void;
125
125
  isMobile: boolean;
126
126
  toggleSidebar: () => void;
127
+ footerPortalEl: HTMLDivElement | null;
128
+ setFooterPortalEl: (el: HTMLDivElement | null) => void;
127
129
  };
128
130
  declare const SidebarContext: React.Context<SidebarContext | null>;
129
131
  declare function useSidebar(): SidebarContext;
@@ -276,12 +278,30 @@ declare const SidebarHeader: React.ForwardRefExoticComponent<Omit<SidebarHeaderP
276
278
  interface SidebarFooterProps extends React.ComponentProps<"footer"> {
277
279
  /** Data hook for automated testing */
278
280
  dataHook?: string;
281
+ /**
282
+ * Whether to render a separator at the top of the footer.
283
+ * @default true
284
+ */
285
+ separator?: boolean;
279
286
  }
280
287
  declare const SidebarFooter: React.ForwardRefExoticComponent<Omit<SidebarFooterProps, "ref"> & React.RefAttributes<HTMLElement>>;
281
288
  /**
282
289
  * Props for the SidebarSeparator component
290
+ * @deprecated Use `Separator` from `@brightlocal/ui-components/separator` with `spacing="md"` instead. SidebarSeparator will be removed in the next major version.
283
291
  */
284
292
  type SidebarSeparatorProps = React.ComponentProps<typeof Separator>;
293
+ /**
294
+ * @deprecated Use `Separator` from `@brightlocal/ui-components/separator` with `spacing="md"` instead.
295
+ *
296
+ * ```tsx
297
+ * // Before
298
+ * <SidebarSeparator />
299
+ *
300
+ * // After
301
+ * import { Separator } from "../separator";
302
+ * <Separator spacing="md" dataHook="sidebar-separator" />
303
+ * ```
304
+ */
285
305
  declare const SidebarSeparator: React.ForwardRefExoticComponent<Omit<import('..').SeparatorProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
286
306
  /**
287
307
  * Props for the SidebarContent component
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../src/blocks/sidebar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAalE,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAwBpD,OAAO,EAEL,cAAc,EAGf,MAAM,uBAAuB,CAAC;AAM/B;;GAEG;AACH,oBAAY,WAAW;IACrB,qCAAqC;IACrC,IAAI,SAAS;CACd;AAED;;GAEG;AACH,oBAAY,cAAc;IACxB,wCAAwC;IACxC,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,uCAAuC;IACvC,SAAS,cAAc;IACvB,kCAAkC;IAClC,IAAI,SAAS;IACb,8BAA8B;IAC9B,IAAI,SAAS;CACd;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,mBAAmB;IACnB,OAAO,YAAY;IACnB,iBAAiB;IACjB,EAAE,OAAO;IACT,uBAAuB;IACvB,EAAE,OAAO;CACV;AAED;;GAEG;AACH,oBA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EACxB,qBAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,sBAAsB,EACtB,2BAA2B,EAC3B,kCAAkC,EAClC,kCAAkC,EAClC,sBAAsB,EACtB,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAoB,GACrB,CAAC"}
1
+ {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../src/blocks/sidebar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAalE,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAwBpD,OAAO,EAEL,cAAc,EAGf,MAAM,uBAAuB,CAAC;AAM/B;;GAEG;AACH,oBAAY,WAAW;IACrB,qCAAqC;IACrC,IAAI,SAAS;CACd;AAED;;GAEG;AACH,oBAAY,cAAc;IACxB,wCAAwC;IACxC,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,uCAAuC;IACvC,SAAS,cAAc;IACvB,kCAAkC;IAClC,IAAI,SAAS;IACb,8BAA8B;IAC9B,IAAI,SAAS;CACd;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,mBAAmB;IACnB,OAAO,YAAY;IACnB,iBAAiB;IACjB,EAAE,OAAO;IACT,uBAAuB;IACvB,EAAE,OAAO;CACV;AAED;;GAEG;AACH,oBAAY,wBAAwB;IAClC,mBAAmB;IACnB,OAAO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