@acronis-platform/shadcn-uikit 0.32.3 → 0.33.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.
- package/dist/components/icons/dynamic-icons.js +15 -0
- package/dist/components/icons/dynamic-icons.js.map +1 -0
- package/dist/components/mode-toggle.js +14 -10
- package/dist/components/mode-toggle.js.map +1 -1
- package/dist/components/ui/accordion.js +4 -3
- package/dist/components/ui/accordion.js.map +1 -1
- package/dist/components/ui/breadcrumb.js +5 -4
- package/dist/components/ui/breadcrumb.js.map +1 -1
- package/dist/components/ui/calendar.js +11 -10
- package/dist/components/ui/calendar.js.map +1 -1
- package/dist/components/ui/carousel.js +14 -13
- package/dist/components/ui/carousel.js.map +1 -1
- package/dist/components/ui/checkbox.js +2 -1
- package/dist/components/ui/checkbox.js.map +1 -1
- package/dist/components/ui/chip.js +5 -4
- package/dist/components/ui/chip.js.map +1 -1
- package/dist/components/ui/combobox.js +10 -9
- package/dist/components/ui/combobox.js.map +1 -1
- package/dist/components/ui/command.d.ts +2 -2
- package/dist/components/ui/command.js +7 -6
- package/dist/components/ui/command.js.map +1 -1
- package/dist/components/ui/data-table/data-table-column-header.js +14 -13
- package/dist/components/ui/data-table/data-table-column-header.js.map +1 -1
- package/dist/components/ui/data-table/data-table-pagination.js +23 -22
- package/dist/components/ui/data-table/data-table-pagination.js.map +1 -1
- package/dist/components/ui/data-table/data-table-toolbar.js +13 -12
- package/dist/components/ui/data-table/data-table-toolbar.js.map +1 -1
- package/dist/components/ui/data-table/data-table-view-options.js +4 -3
- package/dist/components/ui/data-table/data-table-view-options.js.map +1 -1
- package/dist/components/ui/dialog.js +16 -15
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/dropdown-menu.js +9 -8
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/empty.js +1 -1
- package/dist/components/ui/empty.js.map +1 -1
- package/dist/components/ui/filter.js +5 -4
- package/dist/components/ui/filter.js.map +1 -1
- package/dist/components/ui/navigation-menu.js +11 -10
- package/dist/components/ui/navigation-menu.js.map +1 -1
- package/dist/components/ui/pagination.js +14 -13
- package/dist/components/ui/pagination.js.map +1 -1
- package/dist/components/ui/radio-group.js +12 -11
- package/dist/components/ui/radio-group.js.map +1 -1
- package/dist/components/ui/resizable.js +5 -4
- package/dist/components/ui/resizable.js.map +1 -1
- package/dist/components/ui/select.js +9 -8
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/sheet.js +12 -11
- package/dist/components/ui/sheet.js.map +1 -1
- package/dist/components/ui/sidebar.js +7 -6
- package/dist/components/ui/sidebar.js.map +1 -1
- package/dist/components/ui/stack.d.ts +2 -2
- package/dist/components/ui/tree.js +31 -30
- package/dist/components/ui/tree.js.map +1 -1
- package/dist/components.css +1 -1
- package/dist/shadcn-uikit-full.css +1 -1
- package/dist/shadcn-uikit.css +1 -1
- package/dist/utilities.css +1 -1
- package/package.json +1 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import * as i from "react";
|
|
3
|
-
import { ChevronRight as g, Check as w, Circle as b } from "lucide-react";
|
|
4
3
|
import { cn as a } from "../../lib/utils.js";
|
|
4
|
+
import "../icons/dynamic-icons.js";
|
|
5
|
+
import { ChevronRightIcon as g, CheckIcon as w, CircleIcon as b } from "../icons/auto-generated.js";
|
|
5
6
|
import { MenuSubmenuTrigger as h } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/menu/submenu-trigger/MenuSubmenuTrigger.js";
|
|
6
7
|
import { MenuPositioner as m } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/menu/positioner/MenuPositioner.js";
|
|
7
8
|
import { MenuPopup as l } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/menu/popup/MenuPopup.js";
|
|
@@ -16,7 +17,7 @@ import { MenuTrigger as R } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_
|
|
|
16
17
|
import { MenuGroup as I } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/menu/group/MenuGroup.js";
|
|
17
18
|
import { MenuSubmenuRoot as _ } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/menu/submenu-root/MenuSubmenuRoot.js";
|
|
18
19
|
import { MenuRadioGroup as C } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/menu/radio-group/MenuRadioGroup.js";
|
|
19
|
-
const
|
|
20
|
+
const te = N, ne = R, re = I, ae = c, ie = _, de = C, S = i.forwardRef(({ className: e, inset: o, children: n, ...r }, d) => /* @__PURE__ */ s(
|
|
20
21
|
h,
|
|
21
22
|
{
|
|
22
23
|
ref: d,
|
|
@@ -128,20 +129,20 @@ L.displayName = "DropdownMenuSeparator";
|
|
|
128
129
|
const q = ({ className: e, ...o }) => /* @__PURE__ */ t("span", { className: a("ml-auto text-xs tracking-widest opacity-60", e), ...o });
|
|
129
130
|
q.displayName = "DropdownMenuShortcut";
|
|
130
131
|
export {
|
|
131
|
-
|
|
132
|
+
te as DropdownMenu,
|
|
132
133
|
j as DropdownMenuCheckboxItem,
|
|
133
134
|
z as DropdownMenuContent,
|
|
134
|
-
|
|
135
|
+
re as DropdownMenuGroup,
|
|
135
136
|
T as DropdownMenuItem,
|
|
136
137
|
P as DropdownMenuLabel,
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
ae as DropdownMenuPortal,
|
|
139
|
+
de as DropdownMenuRadioGroup,
|
|
139
140
|
G as DropdownMenuRadioItem,
|
|
140
141
|
L as DropdownMenuSeparator,
|
|
141
142
|
q as DropdownMenuShortcut,
|
|
142
|
-
|
|
143
|
+
ie as DropdownMenuSub,
|
|
143
144
|
k as DropdownMenuSubContent,
|
|
144
145
|
S as DropdownMenuSubTrigger,
|
|
145
|
-
|
|
146
|
+
ne as DropdownMenuTrigger
|
|
146
147
|
};
|
|
147
148
|
//# sourceMappingURL=dropdown-menu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.js","sources":["../../../src/components/ui/dropdown-menu.tsx"],"sourcesContent":["import * as React from 'react'\nimport { Menu } from '@base-ui/react'\nimport { Check, ChevronRight, Circle } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\n\nconst DropdownMenu = Menu.Root\n\nconst DropdownMenuTrigger = Menu.Trigger\n\nconst DropdownMenuGroup = Menu.Group\n\nconst DropdownMenuPortal = Menu.Portal\n\n// Base UI uses Menu.SubmenuRoot instead of a flat Sub component.\n// SubmenuTrigger must be a direct child of the parent Menu.Popup,\n// and it must be wrapped in Menu.SubmenuRoot to establish the submenu context.\nconst DropdownMenuSub = Menu.SubmenuRoot\n\nconst DropdownMenuRadioGroup = Menu.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n HTMLElement,\n Omit<Menu.SubmenuTrigger.Props, 'ref'> & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n <Menu.SubmenuTrigger\n ref={ref}\n className={cn(\n 'flex cursor-default select-none items-center gap-4 px-4 py-2 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n inset && 'pl-8',\n className\n )}\n {...props}\n >\n {children}\n <ChevronRight className=\"ml-auto\" />\n </Menu.SubmenuTrigger>\n))\nDropdownMenuSubTrigger.displayName = 'DropdownMenuSubTrigger'\n\nconst DropdownMenuSubContent = React.forwardRef<\n HTMLDivElement,\n Omit<Menu.Popup.Props, 'ref'> & {\n sideOffset?: number\n }\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <Menu.Positioner sideOffset={sideOffset}>\n <Menu.Popup\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded bg-popover py-2 text-popover-foreground shadow-[0px_10px_20px_rgba(36,49,67,0.2)] data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95 data-[open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n </Menu.Positioner>\n))\nDropdownMenuSubContent.displayName = 'DropdownMenuSubContent'\n\nconst DropdownMenuContent = React.forwardRef<\n HTMLDivElement,\n Omit<Menu.Popup.Props, 'ref'> & {\n portal?: boolean\n sideOffset?: number\n align?: 'start' | 'center' | 'end'\n side?: 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'\n }\n>(({ className, portal = true, sideOffset = 4, align, side, ...props }, ref) => {\n const positioner = (\n <Menu.Positioner sideOffset={sideOffset} align={align} side={side}>\n <Menu.Popup\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-y-auto overflow-x-hidden rounded bg-popover py-2 text-popover-foreground shadow-[0px_10px_20px_rgba(36,49,67,0.2)] data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95 data-[open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n </Menu.Positioner>\n )\n\n return portal ? <Menu.Portal>{positioner}</Menu.Portal> : positioner\n})\nDropdownMenuContent.displayName = 'DropdownMenuContent'\n\nconst DropdownMenuItem = React.forwardRef<\n HTMLElement,\n Omit<Menu.Item.Props, 'ref'> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <Menu.Item\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center gap-4 px-4 py-2 text-sm leading-6 outline-none transition-colors hover:bg-primary/10 focus:bg-primary/10 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n inset && 'pl-8',\n className\n )}\n {...props}\n />\n))\nDropdownMenuItem.displayName = 'DropdownMenuItem'\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n HTMLElement,\n Omit<Menu.CheckboxItem.Props, 'ref'>\n>(({ className, children, checked, ...props }, ref) => (\n <Menu.CheckboxItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center py-2 pl-10 pr-4 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <Menu.CheckboxItemIndicator>\n <Check className=\"h-4 w-4\" />\n </Menu.CheckboxItemIndicator>\n </span>\n {children}\n </Menu.CheckboxItem>\n))\nDropdownMenuCheckboxItem.displayName = 'DropdownMenuCheckboxItem'\n\nconst DropdownMenuRadioItem = React.forwardRef<\n HTMLElement,\n Omit<Menu.RadioItem.Props, 'ref'>\n>(({ className, children, ...props }, ref) => (\n <Menu.RadioItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center py-2 pl-10 pr-4 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <Menu.RadioItemIndicator>\n <Circle className=\"h-2 w-2 fill-current\" />\n </Menu.RadioItemIndicator>\n </span>\n {children}\n </Menu.RadioItem>\n))\nDropdownMenuRadioItem.displayName = 'DropdownMenuRadioItem'\n\n// Menu.GroupLabel requires a Menu.Group parent (Base UI constraint), but shadcn's\n// DropdownMenuLabel is used standalone. Render a plain div to match the original API.\nconst DropdownMenuLabel = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('px-4 py-2 text-sm font-semibold leading-6', inset && 'pl-8', className)}\n {...props}\n />\n))\nDropdownMenuLabel.displayName = 'DropdownMenuLabel'\n\n// Base UI has no built-in Separator in Menu — render a plain div with role=\"separator\"\nconst DropdownMenuSeparator = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n role=\"separator\"\n className={cn('-mx-1 my-1 h-px bg-muted', className)}\n {...props}\n />\n))\nDropdownMenuSeparator.displayName = 'DropdownMenuSeparator'\n\nconst DropdownMenuShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {\n return <span className={cn('ml-auto text-xs tracking-widest opacity-60', className)} {...props} />\n}\nDropdownMenuShortcut.displayName = 'DropdownMenuShortcut'\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n"],"names":["DropdownMenu","Menu.Root","DropdownMenuTrigger","Menu.Trigger","DropdownMenuGroup","Menu.Group","DropdownMenuPortal","Menu.Portal","DropdownMenuSub","Menu.SubmenuRoot","DropdownMenuRadioGroup","Menu.RadioGroup","DropdownMenuSubTrigger","React","className","inset","children","props","ref","jsxs","Menu.SubmenuTrigger","cn","jsx","ChevronRight","DropdownMenuSubContent","sideOffset","Menu.Positioner","Menu.Popup","DropdownMenuContent","portal","align","side","positioner","DropdownMenuItem","Menu.Item","DropdownMenuCheckboxItem","checked","Menu.CheckboxItem","Menu.CheckboxItemIndicator","Check","DropdownMenuRadioItem","Menu.RadioItem","Menu.RadioItemIndicator","Circle","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut"],"mappings":";;;;;;;;;;;;;;;;;;AAMA,MAAMA,KAAeC,GAEfC,KAAsBC,GAEtBC,KAAoBC,GAEpBC,KAAqBC,GAKrBC,KAAkBC,GAElBC,KAAyBC,GAEzBC,IAAyBC,EAAM,WAKnC,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,UAAAC,GAAU,GAAGC,KAASC,MAC3C,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAN,KAAS;AAAA,MACTD;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,MACD,gBAAAM,EAACC,GAAA,EAAa,WAAU,UAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACpC,CACD;AACDX,EAAuB,cAAc;AAErC,MAAMY,IAAyBX,EAAM,WAKnC,CAAC,EAAE,WAAAC,GAAW,YAAAW,IAAa,GAAG,GAAGR,EAAA,GAASC,MAC1C,gBAAAI,EAACI,GAAA,EAAgB,YAAAD,GACf,UAAA,gBAAAH;AAAA,EAACK;AAAAA,EAAA;AAAA,IACC,KAAAT;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAP;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,EAAA;AACN,GACF,CACD;AACDO,EAAuB,cAAc;AAErC,MAAMI,IAAsBf,EAAM,WAQhC,CAAC,EAAE,WAAAC,GAAW,QAAAe,IAAS,IAAM,YAAAJ,IAAa,GA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AW,UAAAE,GAAU,GAAGC,KAASC,MACpC,gBAAAC;AAAA,EAACsB;AAAAA,EAAA;AAAA,IACC,KAAAvB;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAP;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAK,EAAC,QAAA,EAAK,WAAU,gEACd,UAAA,gBAAAA,EAACoB,GAAA,EACC,UAAA,gBAAApB,EAACqB,GAAA,EAAO,WAAU,uBAAA,CAAuB,EAAA,CAC3C,GACF;AAAA,MACC3B;AAAA,IAAA;AAAA,EAAA;AACH,CACD;AACDwB,EAAsB,cAAc;AAIpC,MAAMI,IAAoB/B,EAAM,WAK9B,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,GAAGE,KAASC,MACjC,gBAAAI;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAJ;AAAA,IACA,WAAWG,EAAG,6CAA6CN,KAAS,QAAQD,CAAS;AAAA,IACpF,GAAGG;AAAA,EAAA;AACN,CACD;AACD2B,EAAkB,cAAc;AAGhC,MAAMC,IAAwBhC,EAAM,WAGlC,CAAC,EAAE,WAAAC,GAAW,GAAGG,EAAA,GAASC,MAC1B,gBAAAI;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAJ;AAAA,IACA,MAAK;AAAA,IACL,WAAWG,EAAG,4BAA4BP,CAAS;AAAA,IAClD,GAAGG;AAAA,EAAA;AACN,CACD;AACD4B,EAAsB,cAAc;AAEpC,MAAMC,IAAuB,CAAC,EAAE,WAAAhC,GAAW,GAAGG,QACrC,gBAAAK,EAAC,UAAK,WAAWD,EAAG,8CAA8CP,CAAS,GAAI,GAAGG,GAAO;AAElG6B,EAAqB,cAAc;"}
|
|
1
|
+
{"version":3,"file":"dropdown-menu.js","sources":["../../../src/components/ui/dropdown-menu.tsx"],"sourcesContent":["import * as React from 'react'\nimport { Menu } from '@base-ui/react'\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from '@/components/icons'\n\nimport { cn } from '@/lib/utils'\n\nconst DropdownMenu = Menu.Root\n\nconst DropdownMenuTrigger = Menu.Trigger\n\nconst DropdownMenuGroup = Menu.Group\n\nconst DropdownMenuPortal = Menu.Portal\n\n// Base UI uses Menu.SubmenuRoot instead of a flat Sub component.\n// SubmenuTrigger must be a direct child of the parent Menu.Popup,\n// and it must be wrapped in Menu.SubmenuRoot to establish the submenu context.\nconst DropdownMenuSub = Menu.SubmenuRoot\n\nconst DropdownMenuRadioGroup = Menu.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n HTMLElement,\n Omit<Menu.SubmenuTrigger.Props, 'ref'> & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n <Menu.SubmenuTrigger\n ref={ref}\n className={cn(\n 'flex cursor-default select-none items-center gap-4 px-4 py-2 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n inset && 'pl-8',\n className\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto\" />\n </Menu.SubmenuTrigger>\n))\nDropdownMenuSubTrigger.displayName = 'DropdownMenuSubTrigger'\n\nconst DropdownMenuSubContent = React.forwardRef<\n HTMLDivElement,\n Omit<Menu.Popup.Props, 'ref'> & {\n sideOffset?: number\n }\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <Menu.Positioner sideOffset={sideOffset}>\n <Menu.Popup\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded bg-popover py-2 text-popover-foreground shadow-[0px_10px_20px_rgba(36,49,67,0.2)] data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95 data-[open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n </Menu.Positioner>\n))\nDropdownMenuSubContent.displayName = 'DropdownMenuSubContent'\n\nconst DropdownMenuContent = React.forwardRef<\n HTMLDivElement,\n Omit<Menu.Popup.Props, 'ref'> & {\n portal?: boolean\n sideOffset?: number\n align?: 'start' | 'center' | 'end'\n side?: 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'\n }\n>(({ className, portal = true, sideOffset = 4, align, side, ...props }, ref) => {\n const positioner = (\n <Menu.Positioner sideOffset={sideOffset} align={align} side={side}>\n <Menu.Popup\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-y-auto overflow-x-hidden rounded bg-popover py-2 text-popover-foreground shadow-[0px_10px_20px_rgba(36,49,67,0.2)] data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95 data-[open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n </Menu.Positioner>\n )\n\n return portal ? <Menu.Portal>{positioner}</Menu.Portal> : positioner\n})\nDropdownMenuContent.displayName = 'DropdownMenuContent'\n\nconst DropdownMenuItem = React.forwardRef<\n HTMLElement,\n Omit<Menu.Item.Props, 'ref'> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <Menu.Item\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center gap-4 px-4 py-2 text-sm leading-6 outline-none transition-colors hover:bg-primary/10 focus:bg-primary/10 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n inset && 'pl-8',\n className\n )}\n {...props}\n />\n))\nDropdownMenuItem.displayName = 'DropdownMenuItem'\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n HTMLElement,\n Omit<Menu.CheckboxItem.Props, 'ref'>\n>(({ className, children, checked, ...props }, ref) => (\n <Menu.CheckboxItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center py-2 pl-10 pr-4 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <Menu.CheckboxItemIndicator>\n <CheckIcon className=\"h-4 w-4\" />\n </Menu.CheckboxItemIndicator>\n </span>\n {children}\n </Menu.CheckboxItem>\n))\nDropdownMenuCheckboxItem.displayName = 'DropdownMenuCheckboxItem'\n\nconst DropdownMenuRadioItem = React.forwardRef<\n HTMLElement,\n Omit<Menu.RadioItem.Props, 'ref'>\n>(({ className, children, ...props }, ref) => (\n <Menu.RadioItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center py-2 pl-10 pr-4 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <Menu.RadioItemIndicator>\n <CircleIcon className=\"h-2 w-2 fill-current\" />\n </Menu.RadioItemIndicator>\n </span>\n {children}\n </Menu.RadioItem>\n))\nDropdownMenuRadioItem.displayName = 'DropdownMenuRadioItem'\n\n// Menu.GroupLabel requires a Menu.Group parent (Base UI constraint), but shadcn's\n// DropdownMenuLabel is used standalone. Render a plain div to match the original API.\nconst DropdownMenuLabel = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('px-4 py-2 text-sm font-semibold leading-6', inset && 'pl-8', className)}\n {...props}\n />\n))\nDropdownMenuLabel.displayName = 'DropdownMenuLabel'\n\n// Base UI has no built-in Separator in Menu — render a plain div with role=\"separator\"\nconst DropdownMenuSeparator = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n role=\"separator\"\n className={cn('-mx-1 my-1 h-px bg-muted', className)}\n {...props}\n />\n))\nDropdownMenuSeparator.displayName = 'DropdownMenuSeparator'\n\nconst DropdownMenuShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {\n return <span className={cn('ml-auto text-xs tracking-widest opacity-60', className)} {...props} />\n}\nDropdownMenuShortcut.displayName = 'DropdownMenuShortcut'\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n"],"names":["DropdownMenu","Menu.Root","DropdownMenuTrigger","Menu.Trigger","DropdownMenuGroup","Menu.Group","DropdownMenuPortal","Menu.Portal","DropdownMenuSub","Menu.SubmenuRoot","DropdownMenuRadioGroup","Menu.RadioGroup","DropdownMenuSubTrigger","React","className","inset","children","props","ref","jsxs","Menu.SubmenuTrigger","cn","jsx","ChevronRightIcon","DropdownMenuSubContent","sideOffset","Menu.Positioner","Menu.Popup","DropdownMenuContent","portal","align","side","positioner","DropdownMenuItem","Menu.Item","DropdownMenuCheckboxItem","checked","Menu.CheckboxItem","Menu.CheckboxItemIndicator","CheckIcon","DropdownMenuRadioItem","Menu.RadioItem","Menu.RadioItemIndicator","CircleIcon","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut"],"mappings":";;;;;;;;;;;;;;;;;;;AAMA,MAAMA,KAAeC,GAEfC,KAAsBC,GAEtBC,KAAoBC,GAEpBC,KAAqBC,GAKrBC,KAAkBC,GAElBC,KAAyBC,GAEzBC,IAAyBC,EAAM,WAKnC,CAAC,EA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C,GAAO,GAAGE,KAASC,MACjC,gBAAAI;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAJ;AAAA,IACA,WAAWG,EAAG,6CAA6CN,KAAS,QAAQD,CAAS;AAAA,IACpF,GAAGG;AAAA,EAAA;AACN,CACD;AACD2B,EAAkB,cAAc;AAGhC,MAAMC,IAAwBhC,EAAM,WAGlC,CAAC,EAAE,WAAAC,GAAW,GAAGG,EAAA,GAASC,MAC1B,gBAAAI;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAJ;AAAA,IACA,MAAK;AAAA,IACL,WAAWG,EAAG,4BAA4BP,CAAS;AAAA,IAClD,GAAGG;AAAA,EAAA;AACN,CACD;AACD4B,EAAsB,cAAc;AAEpC,MAAMC,IAAuB,CAAC,EAAE,WAAAhC,GAAW,GAAGG,QACrC,gBAAAK,EAAC,UAAK,WAAWD,EAAG,8CAA8CP,CAAS,GAAI,GAAGG,GAAO;AAElG6B,EAAqB,cAAc;"}
|
|
@@ -19,7 +19,7 @@ function m({ className: t, ...e }) {
|
|
|
19
19
|
{
|
|
20
20
|
"data-slot": "empty-icon",
|
|
21
21
|
className: l(
|
|
22
|
-
"mb-4 flex h-[var(--empty-icon-size)] w-[var(--empty-icon-size)] items-center justify-center [&_svg]:h-full [&_svg]:w-full",
|
|
22
|
+
"mb-4 flex h-[var(--empty-icon-size,72px)] w-[var(--empty-icon-size,72px)] items-center justify-center [&_svg]:h-full [&_svg]:w-full",
|
|
23
23
|
t
|
|
24
24
|
),
|
|
25
25
|
...e
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.js","sources":["../../../src/components/ui/empty.tsx"],"sourcesContent":["import { cn } from '@/lib/utils'\n\nfunction Empty({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty\"\n className={cn(\n 'flex w-full max-w-[448px] flex-col items-center justify-center text-center text-[hsl(var(--empty-foreground))]',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyIcon({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty-icon\"\n className={cn(\n 'mb-4 flex h-[var(--empty-icon-size)] w-[var(--empty-icon-size)] items-center justify-center [&_svg]:h-full [&_svg]:w-full',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty-header\"\n className={cn('flex w-full flex-col items-center gap-2 text-center', className)}\n {...props}\n />\n )\n}\n\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<'h3'>) {\n return (\n <h3\n data-slot=\"empty-title\"\n className={cn('text-lg font-normal leading-6', className)}\n {...props}\n />\n )\n}\n\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <p data-slot=\"empty-description\" className={cn('text-sm leading-6', className)} {...props} />\n )\n}\n\nfunction EmptyActions({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty-actions\"\n className={cn('mt-4 flex flex-col items-center gap-4', className)}\n {...props}\n />\n )\n}\n\nfunction EmptyLinks({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty-links\"\n className={cn('flex flex-col items-center gap-2', className)}\n {...props}\n />\n )\n}\n\nexport { Empty, EmptyIcon, EmptyHeader, EmptyTitle, EmptyDescription, EmptyActions, EmptyLinks }\n"],"names":["Empty","className","props","jsx","cn","EmptyIcon","EmptyHeader","EmptyTitle","EmptyDescription","EmptyActions","EmptyLinks"],"mappings":";;AAEA,SAASA,EAAM,EAAE,WAAAC,GAAW,GAAGC,KAAsC;AACnE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAU,EAAE,WAAAJ,GAAW,GAAGC,KAAsC;AACvE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAH;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASI,EAAY,EAAE,WAAAL,GAAW,GAAGC,KAAsC;AACzE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,uDAAuDH,CAAS;AAAA,MAC7E,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASK,EAAW,EAAE,WAAAN,GAAW,GAAGC,KAAqC;AACvE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,iCAAiCH,CAAS;AAAA,MACvD,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASM,EAAiB,EAAE,WAAAP,GAAW,GAAGC,KAAoC;AAC5E,SACE,gBAAAC,EAAC,KAAA,EAAE,aAAU,qBAAoB,WAAWC,EAAG,qBAAqBH,CAAS,GAAI,GAAGC,EAAA,CAAO;AAE/F;AAEA,SAASO,EAAa,EAAE,WAAAR,GAAW,GAAGC,KAAsC;AAC1E,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,yCAAyCH,CAAS;AAAA,MAC/D,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASQ,EAAW,EAAE,WAAAT,GAAW,GAAGC,KAAsC;AACxE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,oCAAoCH,CAAS;AAAA,MAC1D,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
|
1
|
+
{"version":3,"file":"empty.js","sources":["../../../src/components/ui/empty.tsx"],"sourcesContent":["import { cn } from '@/lib/utils'\n\nfunction Empty({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty\"\n className={cn(\n 'flex w-full max-w-[448px] flex-col items-center justify-center text-center text-[hsl(var(--empty-foreground))]',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyIcon({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty-icon\"\n className={cn(\n 'mb-4 flex h-[var(--empty-icon-size,72px)] w-[var(--empty-icon-size,72px)] items-center justify-center [&_svg]:h-full [&_svg]:w-full',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty-header\"\n className={cn('flex w-full flex-col items-center gap-2 text-center', className)}\n {...props}\n />\n )\n}\n\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<'h3'>) {\n return (\n <h3\n data-slot=\"empty-title\"\n className={cn('text-lg font-normal leading-6', className)}\n {...props}\n />\n )\n}\n\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <p data-slot=\"empty-description\" className={cn('text-sm leading-6', className)} {...props} />\n )\n}\n\nfunction EmptyActions({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty-actions\"\n className={cn('mt-4 flex flex-col items-center gap-4', className)}\n {...props}\n />\n )\n}\n\nfunction EmptyLinks({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty-links\"\n className={cn('flex flex-col items-center gap-2', className)}\n {...props}\n />\n )\n}\n\nexport { Empty, EmptyIcon, EmptyHeader, EmptyTitle, EmptyDescription, EmptyActions, EmptyLinks }\n"],"names":["Empty","className","props","jsx","cn","EmptyIcon","EmptyHeader","EmptyTitle","EmptyDescription","EmptyActions","EmptyLinks"],"mappings":";;AAEA,SAASA,EAAM,EAAE,WAAAC,GAAW,GAAGC,KAAsC;AACnE,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AA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D,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import * as n from "react";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
3
|
+
import { cn as f } from "../../lib/utils.js";
|
|
4
|
+
import "../icons/dynamic-icons.js";
|
|
5
|
+
import { FilterIcon as p } from "../icons/auto-generated.js";
|
|
5
6
|
import { Button as x } from "./button.js";
|
|
6
7
|
const c = n.forwardRef(
|
|
7
8
|
({ className: r, count: e, active: s = !1, variant: i = "ghost", children: l, ...a }, o) => /* @__PURE__ */ m(
|
|
@@ -9,7 +10,7 @@ const c = n.forwardRef(
|
|
|
9
10
|
{
|
|
10
11
|
ref: o,
|
|
11
12
|
variant: i,
|
|
12
|
-
className:
|
|
13
|
+
className: f(
|
|
13
14
|
"gap-2 text-[hsl(var(--filter-text))] hover:text-[hsl(var(--filter-text))] hover:bg-transparent",
|
|
14
15
|
s && "font-semibold",
|
|
15
16
|
r
|
|
@@ -17,7 +18,7 @@ const c = n.forwardRef(
|
|
|
17
18
|
...a,
|
|
18
19
|
children: [
|
|
19
20
|
e !== void 0 && e > 0 && /* @__PURE__ */ t("span", { className: "flex items-center justify-center px-1 min-w-[16px] h-4 text-[11px] font-bold leading-4 tracking-wider uppercase bg-[hsl(var(--filter-counter-bg))] text-[hsl(var(--filter-counter-text))] rounded-sm", children: e }),
|
|
20
|
-
!e && /* @__PURE__ */ t(
|
|
21
|
+
!e && /* @__PURE__ */ t(p, { className: "h-4 w-4 text-[hsl(var(--filter-icon))]" }),
|
|
21
22
|
/* @__PURE__ */ t("span", { className: "text-sm font-semibold leading-6", children: l || "Filter" })
|
|
22
23
|
]
|
|
23
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter.js","sources":["../../../src/components/ui/filter.tsx"],"sourcesContent":["import * as React from 'react'\nimport {
|
|
1
|
+
{"version":3,"file":"filter.js","sources":["../../../src/components/ui/filter.tsx"],"sourcesContent":["import * as React from 'react'\nimport { FilterIcon } from '@/components/icons'\nimport { cn } from '@/lib/utils'\nimport { Button } from '@/components/ui/button'\n\nexport interface FilterProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n count?: number\n active?: boolean\n variant?: 'default' | 'outline' | 'ghost'\n}\n\nconst Filter = React.forwardRef<HTMLButtonElement, FilterProps>(\n ({ className, count, active = false, variant = 'ghost', children, ...props }, ref) => {\n return (\n <Button\n ref={ref}\n variant={variant}\n className={cn(\n 'gap-2 text-[hsl(var(--filter-text))] hover:text-[hsl(var(--filter-text))] hover:bg-transparent',\n active && 'font-semibold',\n className\n )}\n {...props}\n >\n {count !== undefined && count > 0 && (\n <span className=\"flex items-center justify-center px-1 min-w-[16px] h-4 text-[11px] font-bold leading-4 tracking-wider uppercase bg-[hsl(var(--filter-counter-bg))] text-[hsl(var(--filter-counter-text))] rounded-sm\">\n {count}\n </span>\n )}\n {!count && <FilterIcon className=\"h-4 w-4 text-[hsl(var(--filter-icon))]\" />}\n <span className=\"text-sm font-semibold leading-6\">{children || 'Filter'}</span>\n </Button>\n )\n }\n)\nFilter.displayName = 'Filter'\n\nexport { Filter }\n"],"names":["Filter","React","className","count","active","variant","children","props","ref","jsxs","Button","cn","jsx","FilterIcon"],"mappings":";;;;;;AAWA,MAAMA,IAASC,EAAM;AAAA,EACnB,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,QAAAC,IAAS,IAAO,SAAAC,IAAU,SAAS,UAAAC,GAAU,GAAGC,EAAA,GAASC,MAE1E,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,SAAAH;AAAA,MACA,WAAWM;AAAA,QACT;AAAA,QACAP,KAAU;AAAA,QACVF;AAAA,MAAA;AAAA,MAED,GAAGK;AAAA,MAEH,UAAA;AAAA,QAAAJ,MAAU,UAAaA,IAAQ,uBAC7B,QAAA,EAAK,WAAU,wMACb,UAAAA,EAAA,CACH;AAAA,QAED,CAACA,KAAS,gBAAAS,EAACC,GAAA,EAAW,WAAU,yCAAA,CAAyC;AAAA,QAC1E,gBAAAD,EAAC,QAAA,EAAK,WAAU,mCAAmC,eAAY,SAAA,CAAS;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIhF;AACAZ,EAAO,cAAc;"}
|
|
@@ -2,8 +2,9 @@ import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import * as r from "react";
|
|
3
3
|
import * as t from "@radix-ui/react-navigation-menu";
|
|
4
4
|
import { cva as l } from "../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
|
|
5
|
-
import { ChevronDown as c } from "lucide-react";
|
|
6
5
|
import { cn as n } from "../../lib/utils.js";
|
|
6
|
+
import "../icons/dynamic-icons.js";
|
|
7
|
+
import { ChevronDownIcon as c } from "../icons/auto-generated.js";
|
|
7
8
|
const f = r.forwardRef(({ className: e, children: a, ...o }, d) => /* @__PURE__ */ s(
|
|
8
9
|
t.Root,
|
|
9
10
|
{
|
|
@@ -17,7 +18,7 @@ const f = r.forwardRef(({ className: e, children: a, ...o }, d) => /* @__PURE__
|
|
|
17
18
|
}
|
|
18
19
|
));
|
|
19
20
|
f.displayName = t.Root.displayName;
|
|
20
|
-
const
|
|
21
|
+
const p = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ i(
|
|
21
22
|
t.List,
|
|
22
23
|
{
|
|
23
24
|
ref: o,
|
|
@@ -25,14 +26,14 @@ const u = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ i(
|
|
|
25
26
|
...a
|
|
26
27
|
}
|
|
27
28
|
));
|
|
28
|
-
|
|
29
|
-
const
|
|
29
|
+
p.displayName = t.List.displayName;
|
|
30
|
+
const M = t.Item, u = l(
|
|
30
31
|
"group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
|
|
31
32
|
), g = r.forwardRef(({ className: e, children: a, ...o }, d) => /* @__PURE__ */ s(
|
|
32
33
|
t.Trigger,
|
|
33
34
|
{
|
|
34
35
|
ref: d,
|
|
35
|
-
className: n(
|
|
36
|
+
className: n(u(), "group", e),
|
|
36
37
|
...o,
|
|
37
38
|
children: [
|
|
38
39
|
a,
|
|
@@ -60,7 +61,7 @@ const v = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ i(
|
|
|
60
61
|
}
|
|
61
62
|
));
|
|
62
63
|
v.displayName = t.Content.displayName;
|
|
63
|
-
const
|
|
64
|
+
const R = t.Link, m = r.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ i("div", { className: n("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ i(
|
|
64
65
|
t.Viewport,
|
|
65
66
|
{
|
|
66
67
|
className: n(
|
|
@@ -89,11 +90,11 @@ export {
|
|
|
89
90
|
f as NavigationMenu,
|
|
90
91
|
v as NavigationMenuContent,
|
|
91
92
|
N as NavigationMenuIndicator,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
M as NavigationMenuItem,
|
|
94
|
+
R as NavigationMenuLink,
|
|
95
|
+
p as NavigationMenuList,
|
|
95
96
|
g as NavigationMenuTrigger,
|
|
96
97
|
m as NavigationMenuViewport,
|
|
97
|
-
|
|
98
|
+
u as navigationMenuTriggerStyle
|
|
98
99
|
};
|
|
99
100
|
//# sourceMappingURL=navigation-menu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-menu.js","sources":["../../../src/components/ui/navigation-menu.tsx"],"sourcesContent":["import * as React from 'react'\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport { cva } from 'class-variance-authority'\nimport {
|
|
1
|
+
{"version":3,"file":"navigation-menu.js","sources":["../../../src/components/ui/navigation-menu.tsx"],"sourcesContent":["import * as React from 'react'\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport { cva } from 'class-variance-authority'\nimport { ChevronDownIcon } from '@/components/icons'\n\nimport { cn } from '@/lib/utils'\n\nconst NavigationMenu = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Root\n ref={ref}\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n))\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName\n\nconst NavigationMenuList = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n />\n))\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item\n\nconst navigationMenuTriggerStyle = cva(\n 'group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent'\n)\n\nconst NavigationMenuTrigger = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Trigger\n ref={ref}\n className={cn(navigationMenuTriggerStyle(), 'group', className)}\n {...props}\n >\n {children}{' '}\n <ChevronDownIcon\n className=\"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n))\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName\n\nconst NavigationMenuContent = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Content\n ref={ref}\n className={cn(\n 'left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ',\n className\n )}\n {...props}\n />\n))\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link\n\nconst NavigationMenuViewport = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>\n>(({ className, ...props }, ref) => (\n <div className={cn('absolute left-0 top-full flex justify-center')}>\n <NavigationMenuPrimitive.Viewport\n className={cn(\n 'origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]',\n className\n )}\n ref={ref}\n {...props}\n />\n </div>\n))\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName\n\nconst NavigationMenuIndicator = React.forwardRef<\n React.ElementRef<typeof NavigationMenuPrimitive.Indicator>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Indicator\n ref={ref}\n className={cn(\n 'top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in',\n className\n )}\n {...props}\n >\n <div className=\"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md\" />\n </NavigationMenuPrimitive.Indicator>\n))\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName\n\nexport {\n navigationMenuTriggerStyle,\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n NavigationMenuIndicator,\n NavigationMenuViewport,\n}\n"],"names":["NavigationMenu","React","className","children","props","ref","jsxs","NavigationMenuPrimitive","cn","NavigationMenuViewport","NavigationMenuList","jsx","NavigationMenuItem","navigationMenuTriggerStyle","cva","NavigationMenuTrigger","ChevronDownIcon","NavigationMenuContent","NavigationMenuLink","NavigationMenuIndicator"],"mappings":";;;;;;;AAOA,MAAMA,IAAiBC,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAASC,MACpC,gBAAAC;AAAA,EAACC,EAAwB;AAAA,EAAxB;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG,EAAG,mEAAmEN,CAAS;AAAA,IACzF,GAAGE;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,wBACAM,GAAA,CAAA,CAAuB;AAAA,IAAA;AAAA,EAAA;AAC1B,CACD;AACDT,EAAe,cAAcO,EAAwB,KAAK;AAE1D,MAAMG,IAAqBT,EAAM,WAG/B,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAM;AAAA,EAACJ,EAAwB;AAAA,EAAx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EAAuB,cAAcF,EAAwB,SAAS;AAEtE,MAAMY,IAA0BlB,EAAM,WAGpC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAM;AAAA,EAACJ,EAAwB;AAAA,EAAxB;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,IAEJ,UAAA,gBAAAO,EAAC,OAAA,EAAI,WAAU,yEAAA,CAAyE;AAAA,EAAA;AAC1F,CACD;AACDQ,EAAwB,cAAcZ,EAAwB,UAAU;"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { jsx as i, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import { MoreHorizontal as m, ChevronRight as p, ChevronLeft as c } from "lucide-react";
|
|
2
|
+
import * as s from "react";
|
|
4
3
|
import { cn as n } from "../../lib/utils.js";
|
|
4
|
+
import "../icons/dynamic-icons.js";
|
|
5
|
+
import { EllipsisHIcon as m, ChevronRightIcon as p, ChevronLeftIcon as c } from "../icons/auto-generated.js";
|
|
5
6
|
import { buttonVariants as g } from "./button.js";
|
|
6
7
|
const f = ({ className: e, ...a }) => /* @__PURE__ */ i(
|
|
7
8
|
"nav",
|
|
@@ -13,37 +14,37 @@ const f = ({ className: e, ...a }) => /* @__PURE__ */ i(
|
|
|
13
14
|
}
|
|
14
15
|
);
|
|
15
16
|
f.displayName = "Pagination";
|
|
16
|
-
const d =
|
|
17
|
-
({ className: e, ...a },
|
|
17
|
+
const d = s.forwardRef(
|
|
18
|
+
({ className: e, ...a }, o) => /* @__PURE__ */ i("ul", { ref: o, className: n("flex flex-row items-center gap-1", e), ...a })
|
|
18
19
|
);
|
|
19
20
|
d.displayName = "PaginationContent";
|
|
20
|
-
const N =
|
|
21
|
-
({ className: e, ...a },
|
|
21
|
+
const N = s.forwardRef(
|
|
22
|
+
({ className: e, ...a }, o) => /* @__PURE__ */ i("li", { ref: o, className: n("", e), ...a })
|
|
22
23
|
);
|
|
23
24
|
N.displayName = "PaginationItem";
|
|
24
|
-
const
|
|
25
|
+
const t = ({ className: e, isActive: a, size: o = "icon", ...r }) => /* @__PURE__ */ i(
|
|
25
26
|
"a",
|
|
26
27
|
{
|
|
27
28
|
"aria-current": a ? "page" : void 0,
|
|
28
29
|
className: n(
|
|
29
30
|
g({
|
|
30
31
|
variant: a ? "default" : "ghost",
|
|
31
|
-
size:
|
|
32
|
+
size: o
|
|
32
33
|
}),
|
|
33
34
|
"h-8 w-8 p-0 font-semibold",
|
|
34
35
|
a && "bg-primary/20 text-foreground hover:bg-primary/20",
|
|
35
36
|
!a && "text-primary hover:bg-accent hover:text-primary",
|
|
36
37
|
e
|
|
37
38
|
),
|
|
38
|
-
...
|
|
39
|
+
...r
|
|
39
40
|
}
|
|
40
41
|
);
|
|
41
|
-
|
|
42
|
+
t.displayName = "PaginationLink";
|
|
42
43
|
const h = ({
|
|
43
44
|
className: e,
|
|
44
45
|
...a
|
|
45
46
|
}) => /* @__PURE__ */ i(
|
|
46
|
-
|
|
47
|
+
t,
|
|
47
48
|
{
|
|
48
49
|
"aria-label": "Go to previous page",
|
|
49
50
|
size: "default",
|
|
@@ -54,7 +55,7 @@ const h = ({
|
|
|
54
55
|
);
|
|
55
56
|
h.displayName = "PaginationPrevious";
|
|
56
57
|
const u = ({ className: e, ...a }) => /* @__PURE__ */ i(
|
|
57
|
-
|
|
58
|
+
t,
|
|
58
59
|
{
|
|
59
60
|
"aria-label": "Go to next page",
|
|
60
61
|
size: "default",
|
|
@@ -82,7 +83,7 @@ export {
|
|
|
82
83
|
d as PaginationContent,
|
|
83
84
|
P as PaginationEllipsis,
|
|
84
85
|
N as PaginationItem,
|
|
85
|
-
|
|
86
|
+
t as PaginationLink,
|
|
86
87
|
u as PaginationNext,
|
|
87
88
|
h as PaginationPrevious
|
|
88
89
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.js","sources":["../../../src/components/ui/pagination.tsx"],"sourcesContent":["import * as React from 'react'\nimport {
|
|
1
|
+
{"version":3,"file":"pagination.js","sources":["../../../src/components/ui/pagination.tsx"],"sourcesContent":["import * as React from 'react'\nimport { ChevronLeftIcon, ChevronRightIcon, EllipsisHIcon } from '@/components/icons'\nimport { cn } from '@/lib/utils'\nimport { ButtonProps, buttonVariants } from '@/components/ui/button'\n\nconst Pagination = ({ className, ...props }: React.ComponentProps<'nav'>) => (\n <nav\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n)\nPagination.displayName = 'Pagination'\n\nconst PaginationContent = React.forwardRef<HTMLUListElement, React.ComponentProps<'ul'>>(\n ({ className, ...props }, ref) => (\n <ul ref={ref} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n )\n)\nPaginationContent.displayName = 'PaginationContent'\n\nconst PaginationItem = React.forwardRef<HTMLLIElement, React.ComponentProps<'li'>>(\n ({ className, ...props }, ref) => <li ref={ref} className={cn('', className)} {...props} />\n)\nPaginationItem.displayName = 'PaginationItem'\n\ntype PaginationLinkProps = {\n isActive?: boolean\n} & Pick<ButtonProps, 'size'> &\n React.ComponentProps<'a'>\n\nconst PaginationLink = ({ className, isActive, size = 'icon', ...props }: PaginationLinkProps) => (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={cn(\n buttonVariants({\n variant: isActive ? 'default' : 'ghost',\n size,\n }),\n 'h-8 w-8 p-0 font-semibold',\n isActive && 'bg-primary/20 text-foreground hover:bg-primary/20',\n !isActive && 'text-primary hover:bg-accent hover:text-primary',\n className\n )}\n {...props}\n />\n)\nPaginationLink.displayName = 'PaginationLink'\n\nconst PaginationPrevious = ({\n className,\n ...props\n}: React.ComponentProps<typeof PaginationLink>) => (\n <PaginationLink\n aria-label=\"Go to previous page\"\n size=\"default\"\n className={cn('h-8 w-8 p-0', className)}\n {...props}\n >\n <ChevronLeftIcon className=\"h-4 w-4\" />\n </PaginationLink>\n)\nPaginationPrevious.displayName = 'PaginationPrevious'\n\nconst PaginationNext = ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => (\n <PaginationLink\n aria-label=\"Go to next page\"\n size=\"default\"\n className={cn('h-8 w-8 p-0', className)}\n {...props}\n >\n <ChevronRightIcon className=\"h-4 w-4\" />\n </PaginationLink>\n)\nPaginationNext.displayName = 'PaginationNext'\n\nconst PaginationEllipsis = ({ className, ...props }: React.ComponentProps<'span'>) => (\n <span\n aria-hidden\n className={cn('flex h-8 w-8 items-center justify-center font-semibold text-foreground/70', className)}\n {...props}\n >\n <EllipsisHIcon className=\"h-4 w-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n)\nPaginationEllipsis.displayName = 'PaginationEllipsis'\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n}\n"],"names":["Pagination","className","props","jsx","cn","PaginationContent","React","ref","PaginationItem","PaginationLink","isActive","size","buttonVariants","PaginationPrevious","ChevronLeftIcon","PaginationNext","ChevronRightIcon","PaginationEllipsis","jsxs","EllipsisHIcon"],"mappings":";;;;;;AAKA,MAAMA,IAAa,CAAC,EAAE,WAAAC,GAAW,GAAGC,QAClC,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,cAAW;AAAA,IACX,WAAWC,EAAG,sCAAsCH,CAAS;AAAA,IAC5D,GAAGC;AAAA,EAAA;AACN;AAEFF,EAAW,cAAc;AAEzB,MAAMK,IAAoBC,EAAM;AAAA,EAC9B,CAAC,EAAE,WAAAL,GAAW,GAAGC,EAAA,GAASK,MACxB,gBAAAJ,EAAC,MAAA,EAAG,KAAAI,GAAU,WAAWH,EAAG,oCAAoCH,CAAS,GAAI,GAAGC,EAAA,CAAO;AAE3F;AACAG,EAAkB,cAAc;AAEhC,MAAMG,IAAiBF,EAAM;AAAA,EAC3B,CAAC,EAAE,WAAAL,GAAW,GAAGC,EAAA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AAA,IACX,WAAWd,EAAG,6EAA6EH,CAAS;AAAA,IACnG,GAAGC;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAC,EAACgB,GAAA,EAAc,WAAU,UAAA,CAAU;AAAA,MACnC,gBAAAhB,EAAC,QAAA,EAAK,WAAU,WAAU,UAAA,aAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACtC;AAEFc,EAAmB,cAAc;"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import * as t from "react";
|
|
3
|
-
import { Circle as s } from "lucide-react";
|
|
4
3
|
import { cn as a } from "../../lib/utils.js";
|
|
4
|
+
import "../icons/dynamic-icons.js";
|
|
5
|
+
import { CircleIcon as s } from "../icons/auto-generated.js";
|
|
5
6
|
import { RadioGroup as c } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/radio-group/RadioGroup.js";
|
|
6
|
-
import { RadioRoot as
|
|
7
|
-
import { RadioIndicator as
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
const
|
|
11
|
-
|
|
7
|
+
import { RadioRoot as m } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/radio/root/RadioRoot.js";
|
|
8
|
+
import { RadioIndicator as d } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/radio/indicator/RadioIndicator.js";
|
|
9
|
+
const n = t.forwardRef(({ className: o, ...e }, i) => /* @__PURE__ */ r(c, { className: a("grid gap-2", o), ...e, ref: i }));
|
|
10
|
+
n.displayName = "RadioGroup";
|
|
11
|
+
const f = t.forwardRef(({ className: o, ...e }, i) => /* @__PURE__ */ r(
|
|
12
|
+
m,
|
|
12
13
|
{
|
|
13
14
|
ref: i,
|
|
14
15
|
className: a(
|
|
@@ -16,12 +17,12 @@ const n = t.forwardRef(({ className: o, ...e }, i) => /* @__PURE__ */ r(
|
|
|
16
17
|
o
|
|
17
18
|
),
|
|
18
19
|
...e,
|
|
19
|
-
children: /* @__PURE__ */ r(
|
|
20
|
+
children: /* @__PURE__ */ r(d, { className: "flex items-center justify-center", children: /* @__PURE__ */ r(s, { className: "h-2.5 w-2.5 fill-current text-current" }) })
|
|
20
21
|
}
|
|
21
22
|
));
|
|
22
|
-
|
|
23
|
+
f.displayName = "RadioGroupItem";
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
n as RadioGroup,
|
|
26
|
+
f as RadioGroupItem
|
|
26
27
|
};
|
|
27
28
|
//# sourceMappingURL=radio-group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.js","sources":["../../../src/components/ui/radio-group.tsx"],"sourcesContent":["import * as React from 'react'\nimport { RadioGroup as RadioGroupPrimitive } from '@base-ui/react/radio-group'\nimport { Radio } from '@base-ui/react/radio'\nimport {
|
|
1
|
+
{"version":3,"file":"radio-group.js","sources":["../../../src/components/ui/radio-group.tsx"],"sourcesContent":["import * as React from 'react'\nimport { RadioGroup as RadioGroupPrimitive } from '@base-ui/react/radio-group'\nimport { Radio } from '@base-ui/react/radio'\nimport { CircleIcon } from '@/components/icons'\n\nimport { cn } from '@/lib/utils'\n\nconst RadioGroup = React.forwardRef<\n React.ComponentRef<typeof RadioGroupPrimitive>,\n React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive>\n>(({ className, ...props }, ref) => {\n return <RadioGroupPrimitive className={cn('grid gap-2', className)} {...props} ref={ref} />\n})\nRadioGroup.displayName = 'RadioGroup'\n\nconst RadioGroupItem = React.forwardRef<\n React.ComponentRef<typeof Radio.Root>,\n React.ComponentPropsWithoutRef<typeof Radio.Root>\n>(({ className, ...props }, ref) => {\n return (\n <Radio.Root\n ref={ref}\n className={cn(\n 'aspect-square h-4 w-4 flex items-center justify-center rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n {...props}\n >\n <Radio.Indicator className=\"flex items-center justify-center\">\n <CircleIcon className=\"h-2.5 w-2.5 fill-current text-current\" />\n </Radio.Indicator>\n </Radio.Root>\n )\n})\nRadioGroupItem.displayName = 'RadioGroupItem'\n\nexport { RadioGroup, RadioGroupItem }"],"names":["RadioGroup","React","className","props","ref","jsx","RadioGroupPrimitive","cn","RadioGroupItem","Radio.Root","Radio.Indicator","CircleIcon"],"mappings":";;;;;;;;AAOA,MAAMA,IAAaC,EAAM,WAGvB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MACnB,gBAAAC,EAACC,KAAoB,WAAWC,EAAG,cAAcL,CAAS,GAAI,GAAGC,GAAO,KAAAC,GAAU,CAC1F;AACDJ,EAAW,cAAc;AAEzB,MAAMQ,IAAiBP,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAExB,gBAAAC;AAAA,EAACI;AAAAA,EAAA;AAAA,IACC,KAAAL;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,IAEJ,UAAA,gBAAAE,EAACK,GAAA,EAAgB,WAAU,oCACzB,UAAA,gBAAAL,EAACM,GAAA,EAAW,WAAU,wCAAA,CAAwC,EAAA,CAChE;AAAA,EAAA;AAAA,CAGL;AACDH,EAAe,cAAc;"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { GripVertical as l } from "lucide-react";
|
|
3
|
-
import { Panel as o, Group as n, Separator as c } from "../../node_modules/.pnpm/react-resizable-panels@4.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.js";
|
|
4
2
|
import { cn as t } from "../../lib/utils.js";
|
|
5
|
-
|
|
3
|
+
import "../icons/dynamic-icons.js";
|
|
4
|
+
import { GripDotsIcon as l } from "../icons/auto-generated.js";
|
|
5
|
+
import { Panel as o, Group as n, Separator as c } from "../../node_modules/.pnpm/react-resizable-panels@4.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.js";
|
|
6
|
+
const m = ({
|
|
6
7
|
className: a,
|
|
7
8
|
...r
|
|
8
9
|
}) => /* @__PURE__ */ e(
|
|
@@ -32,6 +33,6 @@ const u = ({
|
|
|
32
33
|
export {
|
|
33
34
|
g as ResizableHandle,
|
|
34
35
|
v as ResizablePanel,
|
|
35
|
-
|
|
36
|
+
m as ResizablePanelGroup
|
|
36
37
|
};
|
|
37
38
|
//# sourceMappingURL=resizable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable.js","sources":["../../../src/components/ui/resizable.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"resizable.js","sources":["../../../src/components/ui/resizable.tsx"],"sourcesContent":["import { GripDotsIcon } from \"@/components/icons\"\nimport { Group, Panel, Separator } from \"react-resizable-panels\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst ResizablePanelGroup = ({\n className,\n ...props\n}: React.ComponentProps<typeof Group>) => (\n <Group\n className={cn(\n \"flex h-full w-full data-[panel-group-direction=vertical]:flex-col\",\n className\n )}\n {...props}\n />\n)\n\nconst ResizablePanel = Panel\n\nconst ResizableHandle = ({\n withHandle,\n className,\n ...props\n}: React.ComponentProps<typeof Separator> & {\n withHandle?: boolean\n}) => (\n <Separator\n className={cn(\n \"relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90\",\n className\n )}\n {...props}\n >\n {withHandle && (\n <div className=\"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border\">\n <GripDotsIcon className=\"h-2.5 w-2.5\" />\n </div>\n )}\n </Separator>\n)\n\nexport { ResizablePanelGroup, ResizablePanel, ResizableHandle }\n"],"names":["ResizablePanelGroup","className","props","jsx","Group","cn","ResizablePanel","Panel","ResizableHandle","withHandle","Separator","GripDotsIcon"],"mappings":";;;;;AAKA,MAAMA,IAAsB,CAAC;AAAA,EAC3B,WAAAC;AAAA,EACA,GAAGC;AACL,MACE,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,WAAWC;AAAA,MACT;AAAA,MACAJ;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,GAGII,IAAiBC,GAEjBC,IAAkB,CAAC;AAAA,EACvB,YAAAC;AAAA,EACA,WAAAR;AAAA,EACA,GAAGC;AACL,MAGE,gBAAAC;AAAA,EAACO;AAAAA,EAAA;AAAA,IACC,WAAWL;AAAA,MACT;AAAA,MACAJ;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,IAEH,UAAAO,uBACE,OAAA,EAAI,WAAU,6EACb,UAAA,gBAAAN,EAACQ,GAAA,EAAa,WAAU,cAAA,CAAc,EAAA,CACxC;AAAA,EAAA;AAEJ;"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import * as a from "react";
|
|
3
|
-
import { ChevronDown as s, ChevronUp as b, Check as x } from "lucide-react";
|
|
4
3
|
import { cn as l } from "../../lib/utils.js";
|
|
4
|
+
import "../icons/dynamic-icons.js";
|
|
5
|
+
import { ChevronDownIcon as s, ChevronUpIcon as b, CheckIcon as x } from "../icons/auto-generated.js";
|
|
5
6
|
import { SelectTrigger as v } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/trigger/SelectTrigger.js";
|
|
6
7
|
import { SelectIcon as w } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/icon/SelectIcon.js";
|
|
7
8
|
import { SelectScrollUpArrow as y } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/scroll-up-arrow/SelectScrollUpArrow.js";
|
|
@@ -18,7 +19,7 @@ import { Separator as P } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@t
|
|
|
18
19
|
import { SelectRoot as k } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/root/SelectRoot.js";
|
|
19
20
|
import { SelectGroup as B } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/group/SelectGroup.js";
|
|
20
21
|
import { SelectValue as D } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/value/SelectValue.js";
|
|
21
|
-
const
|
|
22
|
+
const le = k, ce = B, ne = D, ie = d, G = a.forwardRef(({ className: t, children: o, ...r }, c) => /* @__PURE__ */ n(
|
|
22
23
|
v,
|
|
23
24
|
{
|
|
24
25
|
ref: c,
|
|
@@ -135,7 +136,7 @@ const z = a.forwardRef(({ className: t, children: o, ...r }, c) => /* @__PURE__
|
|
|
135
136
|
}
|
|
136
137
|
));
|
|
137
138
|
z.displayName = "SelectItem";
|
|
138
|
-
const
|
|
139
|
+
const se = m, V = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
|
|
139
140
|
P,
|
|
140
141
|
{
|
|
141
142
|
ref: r,
|
|
@@ -145,17 +146,17 @@ const ie = m, V = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
|
|
|
145
146
|
));
|
|
146
147
|
V.displayName = "SelectSeparator";
|
|
147
148
|
export {
|
|
148
|
-
|
|
149
|
+
le as Select,
|
|
149
150
|
L as SelectContent,
|
|
150
|
-
|
|
151
|
+
ce as SelectGroup,
|
|
151
152
|
z as SelectItem,
|
|
152
|
-
|
|
153
|
+
se as SelectItemText,
|
|
153
154
|
U as SelectLabel,
|
|
154
|
-
|
|
155
|
+
ie as SelectPortal,
|
|
155
156
|
p as SelectScrollDownButton,
|
|
156
157
|
f as SelectScrollUpButton,
|
|
157
158
|
V as SelectSeparator,
|
|
158
159
|
G as SelectTrigger,
|
|
159
|
-
|
|
160
|
+
ne as SelectValue
|
|
160
161
|
};
|
|
161
162
|
//# sourceMappingURL=select.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.js","sources":["../../../src/components/ui/select.tsx"],"sourcesContent":["import * as React from 'react'\nimport { Select as BaseSelect } from '@base-ui/react/select'\nimport { Check, ChevronDown, ChevronUp } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\n\nconst Select = BaseSelect.Root\n\nconst SelectGroup = BaseSelect.Group\nconst SelectValue = BaseSelect.Value\nconst SelectPortal = BaseSelect.Portal\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Trigger>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Trigger>\n>(({ className, children, ...props }, ref) => (\n <BaseSelect.Trigger\n ref={ref}\n className={cn(\n 'relative flex h-9 w-full items-center rounded-lg border border-border bg-background pl-3 pr-9 py-2 text-sm font-medium text-foreground shadow-xs transition-all',\n 'hover:bg-accent/5 hover:border-primary/30',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1',\n 'data-[placeholder]:text-muted-foreground',\n 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n '[&>span]:line-clamp-1 [&>span]:text-left',\n className\n )}\n {...props}\n >\n {children}\n <BaseSelect.Icon className=\"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground transition-transform data-[open]:rotate-180 pointer-events-none\">\n <ChevronDown className=\"h-4 w-4\" />\n </BaseSelect.Icon>\n </BaseSelect.Trigger>\n))\nSelectTrigger.displayName = 'SelectTrigger'\n\n// Base UI uses ScrollUpArrow/ScrollDownArrow instead of Radix's ScrollUpButton/ScrollDownButton\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef<typeof BaseSelect.ScrollUpArrow>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.ScrollUpArrow>\n>(({ className, ...props }, ref) => (\n <BaseSelect.ScrollUpArrow\n ref={ref}\n className={cn(\n 'flex cursor-default items-center justify-center py-1.5 text-muted-foreground',\n 'hover:bg-accent/10 hover:text-foreground transition-colors',\n className\n )}\n {...props}\n >\n <ChevronUp className=\"h-3.5 w-3.5\" />\n </BaseSelect.ScrollUpArrow>\n))\nSelectScrollUpButton.displayName = 'SelectScrollUpButton'\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef<typeof BaseSelect.ScrollDownArrow>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.ScrollDownArrow>\n>(({ className, ...props }, ref) => (\n <BaseSelect.ScrollDownArrow\n ref={ref}\n className={cn(\n 'flex cursor-default items-center justify-center py-1.5 text-muted-foreground',\n 'hover:bg-accent/10 hover:text-foreground transition-colors',\n className\n )}\n {...props}\n >\n <ChevronDown className=\"h-3.5 w-3.5\" />\n </BaseSelect.ScrollDownArrow>\n))\nSelectScrollDownButton.displayName = 'SelectScrollDownButton'\n\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Popup>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Popup> & {\n alignItemWithTrigger?: boolean\n side?: 'top' | 'bottom'\n sideOffset?: number\n portal?: boolean\n }\n>(({ className, children, alignItemWithTrigger = false, side, sideOffset = 4, portal = true, ...props }, ref) => {\n const element = (\n <BaseSelect.Positioner\n alignItemWithTrigger={alignItemWithTrigger}\n side={side}\n sideOffset={sideOffset}\n className=\"z-50\"\n >\n <BaseSelect.Popup\n ref={ref}\n className={cn(\n 'relative max-h-96 w-[var(--anchor-width)] overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-lg',\n 'data-[open]:animate-in data-[closed]:animate-out',\n 'data-[closed]:fade-out-0 data-[open]:fade-in-0',\n 'data-[closed]:zoom-out-95 data-[open]:zoom-in-95',\n 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2',\n 'data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n 'origin-[var(--transform-origin)]',\n className\n )}\n {...props}\n >\n <SelectScrollUpButton />\n <BaseSelect.List className=\"p-1.5 overflow-y-auto max-h-[inherit]\">\n {children}\n </BaseSelect.List>\n <SelectScrollDownButton />\n </BaseSelect.Popup>\n </BaseSelect.Positioner>\n )\n\n return portal ? <BaseSelect.Portal>{element}</BaseSelect.Portal> : element\n})\nSelectContent.displayName = 'SelectContent'\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef<typeof BaseSelect.GroupLabel>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.GroupLabel>\n>(({ className, ...props }, ref) => (\n <BaseSelect.GroupLabel\n ref={ref}\n className={cn(\n 'px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider',\n className\n )}\n {...props}\n />\n))\nSelectLabel.displayName = 'SelectLabel'\n\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Item>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Item>\n>(({ className, children, ...props }, ref) => (\n <BaseSelect.Item\n ref={ref}\n className={cn(\n 'relative flex w-full cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors',\n 'hover:bg-accent/50 hover:text-accent-foreground',\n 'focus-visible:bg-accent focus-visible:text-accent-foreground',\n 'data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground',\n 'data-[selected]:bg-primary/10 data-[selected]:text-primary data-[selected]:font-medium',\n 'data-[disabled]:pointer-events-none data-[disabled]:opacity-40',\n className\n )}\n {...props}\n >\n <BaseSelect.ItemIndicator className=\"inline-flex h-4 w-4 shrink-0 items-center justify-center\">\n <Check className=\"h-3.5 w-3.5\" />\n </BaseSelect.ItemIndicator>\n <BaseSelect.ItemText className=\"flex-1\">{children}</BaseSelect.ItemText>\n </BaseSelect.Item>\n))\nSelectItem.displayName = 'SelectItem'\n\nconst SelectItemText = BaseSelect.ItemText\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Separator>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Separator>\n>(({ className, ...props }, ref) => (\n <BaseSelect.Separator\n ref={ref}\n className={cn('my-1.5 h-px bg-border', className)}\n {...props}\n />\n))\nSelectSeparator.displayName = 'SelectSeparator'\n\nexport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectItemText,\n SelectLabel,\n SelectPortal,\n SelectScrollDownButton,\n SelectScrollUpButton,\n SelectSeparator,\n SelectTrigger,\n SelectValue,\n}\n"],"names":["Select","BaseSelect.Root","SelectGroup","BaseSelect.Group","SelectValue","BaseSelect.Value","SelectPortal","BaseSelect.Portal","SelectTrigger","React","className","children","props","ref","jsxs","BaseSelect.Trigger","cn","jsx","BaseSelect.Icon","ChevronDown","SelectScrollUpButton","BaseSelect.ScrollUpArrow","ChevronUp","SelectScrollDownButton","BaseSelect.ScrollDownArrow","SelectContent","alignItemWithTrigger","side","sideOffset","portal","element","BaseSelect.Positioner","BaseSelect.Popup","BaseSelect.List","SelectLabel","BaseSelect.GroupLabel","SelectItem","BaseSelect.Item","BaseSelect.ItemIndicator","Check","BaseSelect.ItemText","SelectItemText","SelectSeparator","BaseSelect.Separator"],"mappings":";;;;;;;;;;;;;;;;;;;;AAMA,MAAMA,KAASC,GAETC,KAAcC,GACdC,KAAcC,GACdC,KAAeC,GAEfC,IAAgBC,EAAM,WAG1B,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAASC,MACpC,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,MACD,gBAAAM,EAACC,GAAA,EAAgB,WAAU,mIACzB,UAAA,gBAAAD,EAACE,GAAA,EAAY,WAAU,UAAA,CAAU,EAAA,CACnC;AAAA,IAAA;AAAA,EAAA;AACF,CACD;AACDX,EAAc,cAAc;AAG5B,MAAMY,IAAuBX,EAAM,WAGjC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAI;AAAA,EAACI;AAAAA,EAAA;AAAA,IACC,KAAAR;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACA;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,IAEJ,UAAA,gBAAAK,EAACK,GAAA,EAAU,WAAU,cAAA,CAAc;AAAA,EAAA;AACrC,CACD;AACDF,EAAqB,cAAc;AAEnC,MAAMG,IAAyBd,EAAM,WAGnC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAI;AAAA,EAACO;AAAAA,EAAA;AAAA,IACC,KAAAX;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACA;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,IAE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AAC,GAAU,GAAGC,KAASC,MACpC,gBAAAC;AAAA,EAACuB;AAAAA,EAAA;AAAA,IACC,KAAAxB;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,IAEJ,UAAA;AAAA,MAAA,gBAAAK,EAACqB,GAAA,EAAyB,WAAU,4DAClC,UAAA,gBAAArB,EAACsB,GAAA,EAAM,WAAU,cAAA,CAAc,EAAA,CACjC;AAAA,wBACCC,GAAA,EAAoB,WAAU,UAAU,UAAA7B,EAAA,CAAS;AAAA,IAAA;AAAA,EAAA;AACpD,CACD;AACDyB,EAAW,cAAc;AAEzB,MAAMK,KAAiBD,GAEjBE,IAAkBjC,EAAM,WAG5B,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAI;AAAA,EAAC0B;AAAAA,EAAA;AAAA,IACC,KAAA9B;AAAA,IACA,WAAWG,EAAG,yBAAyBN,CAAS;AAAA,IAC/C,GAAGE;AAAA,EAAA;AACN,CACD;AACD8B,EAAgB,cAAc;"}
|
|
1
|
+
{"version":3,"file":"select.js","sources":["../../../src/components/ui/select.tsx"],"sourcesContent":["import * as React from 'react'\nimport { Select as BaseSelect } from '@base-ui/react/select'\nimport { CheckIcon, ChevronDownIcon, ChevronUpIcon } from '@/components/icons'\n\nimport { cn } from '@/lib/utils'\n\nconst Select = BaseSelect.Root\n\nconst SelectGroup = BaseSelect.Group\nconst SelectValue = BaseSelect.Value\nconst SelectPortal = BaseSelect.Portal\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Trigger>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Trigger>\n>(({ className, children, ...props }, ref) => (\n <BaseSelect.Trigger\n ref={ref}\n className={cn(\n 'relative flex h-9 w-full items-center rounded-lg border border-border bg-background pl-3 pr-9 py-2 text-sm font-medium text-foreground shadow-xs transition-all',\n 'hover:bg-accent/5 hover:border-primary/30',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1',\n 'data-[placeholder]:text-muted-foreground',\n 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n '[&>span]:line-clamp-1 [&>span]:text-left',\n className\n )}\n {...props}\n >\n {children}\n <BaseSelect.Icon className=\"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground transition-transform data-[open]:rotate-180 pointer-events-none\">\n <ChevronDownIcon className=\"h-4 w-4\" />\n </BaseSelect.Icon>\n </BaseSelect.Trigger>\n))\nSelectTrigger.displayName = 'SelectTrigger'\n\n// Base UI uses ScrollUpArrow/ScrollDownArrow instead of Radix's ScrollUpButton/ScrollDownButton\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef<typeof BaseSelect.ScrollUpArrow>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.ScrollUpArrow>\n>(({ className, ...props }, ref) => (\n <BaseSelect.ScrollUpArrow\n ref={ref}\n className={cn(\n 'flex cursor-default items-center justify-center py-1.5 text-muted-foreground',\n 'hover:bg-accent/10 hover:text-foreground transition-colors',\n className\n )}\n {...props}\n >\n <ChevronUpIcon className=\"h-3.5 w-3.5\" />\n </BaseSelect.ScrollUpArrow>\n))\nSelectScrollUpButton.displayName = 'SelectScrollUpButton'\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef<typeof BaseSelect.ScrollDownArrow>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.ScrollDownArrow>\n>(({ className, ...props }, ref) => (\n <BaseSelect.ScrollDownArrow\n ref={ref}\n className={cn(\n 'flex cursor-default items-center justify-center py-1.5 text-muted-foreground',\n 'hover:bg-accent/10 hover:text-foreground transition-colors',\n className\n )}\n {...props}\n >\n <ChevronDownIcon className=\"h-3.5 w-3.5\" />\n </BaseSelect.ScrollDownArrow>\n))\nSelectScrollDownButton.displayName = 'SelectScrollDownButton'\n\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Popup>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Popup> & {\n alignItemWithTrigger?: boolean\n side?: 'top' | 'bottom'\n sideOffset?: number\n portal?: boolean\n }\n>(({ className, children, alignItemWithTrigger = false, side, sideOffset = 4, portal = true, ...props }, ref) => {\n const element = (\n <BaseSelect.Positioner\n alignItemWithTrigger={alignItemWithTrigger}\n side={side}\n sideOffset={sideOffset}\n className=\"z-50\"\n >\n <BaseSelect.Popup\n ref={ref}\n className={cn(\n 'relative max-h-96 w-[var(--anchor-width)] overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-lg',\n 'data-[open]:animate-in data-[closed]:animate-out',\n 'data-[closed]:fade-out-0 data-[open]:fade-in-0',\n 'data-[closed]:zoom-out-95 data-[open]:zoom-in-95',\n 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2',\n 'data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n 'origin-[var(--transform-origin)]',\n className\n )}\n {...props}\n >\n <SelectScrollUpButton />\n <BaseSelect.List className=\"p-1.5 overflow-y-auto max-h-[inherit]\">\n {children}\n </BaseSelect.List>\n <SelectScrollDownButton />\n </BaseSelect.Popup>\n </BaseSelect.Positioner>\n )\n\n return portal ? <BaseSelect.Portal>{element}</BaseSelect.Portal> : element\n})\nSelectContent.displayName = 'SelectContent'\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef<typeof BaseSelect.GroupLabel>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.GroupLabel>\n>(({ className, ...props }, ref) => (\n <BaseSelect.GroupLabel\n ref={ref}\n className={cn(\n 'px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider',\n className\n )}\n {...props}\n />\n))\nSelectLabel.displayName = 'SelectLabel'\n\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Item>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Item>\n>(({ className, children, ...props }, ref) => (\n <BaseSelect.Item\n ref={ref}\n className={cn(\n 'relative flex w-full cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors',\n 'hover:bg-accent/50 hover:text-accent-foreground',\n 'focus-visible:bg-accent focus-visible:text-accent-foreground',\n 'data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground',\n 'data-[selected]:bg-primary/10 data-[selected]:text-primary data-[selected]:font-medium',\n 'data-[disabled]:pointer-events-none data-[disabled]:opacity-40',\n className\n )}\n {...props}\n >\n <BaseSelect.ItemIndicator className=\"inline-flex h-4 w-4 shrink-0 items-center justify-center\">\n <CheckIcon className=\"h-3.5 w-3.5\" />\n </BaseSelect.ItemIndicator>\n <BaseSelect.ItemText className=\"flex-1\">{children}</BaseSelect.ItemText>\n </BaseSelect.Item>\n))\nSelectItem.displayName = 'SelectItem'\n\nconst SelectItemText = BaseSelect.ItemText\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Separator>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Separator>\n>(({ className, ...props }, ref) => (\n <BaseSelect.Separator\n ref={ref}\n className={cn('my-1.5 h-px bg-border', className)}\n {...props}\n />\n))\nSelectSeparator.displayName = 'SelectSeparator'\n\nexport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectItemText,\n SelectLabel,\n SelectPortal,\n SelectScrollDownButton,\n SelectScrollUpButton,\n SelectSeparator,\n SelectTrigger,\n SelectValue,\n}\n"],"names":["Select","BaseSelect.Root","SelectGroup","BaseSelect.Group","SelectValue","BaseSelect.Value","SelectPortal","BaseSelect.Portal","SelectTrigger","React","className","children","props","ref","jsxs","BaseSelect.Trigger","cn","jsx","BaseSelect.Icon","ChevronDownIcon","SelectScrollUpButton","BaseSelect.ScrollUpArrow","ChevronUpIcon","SelectScrollDownButton","BaseSelect.ScrollDownArrow","SelectContent","alignItemWithTrigger","side","sideOffset","portal","element","BaseSelect.Positioner","BaseSelect.Popup","BaseSelect.List","SelectLabel","BaseSelect.GroupLabel","SelectItem","BaseSelect.Item","BaseSelect.ItemIndicator","CheckIcon","BaseSelect.ItemText","SelectItemText","SelectSeparator","BaseSelect.Separator"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAMA,MAAMA,KAASC,GAETC,KAAcC,GACdC,KAAcC,GACdC,KAAeC,GAEfC,IAAgBC,EAAM,WAG1B,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAASC,MACpC,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,MACD,gBAAAM,EAACC,GAAA,EAAgB,WAAU,mIACzB,UAAA,gBAAAD,EAACE,GAAA,EAAgB,WAAU,UAAA,CAAU,EAAA,CACvC;AAAA,IAAA;AAAA,EAAA;AACF,CACD;AACDX,EAAc,cAAc;AAG5B,MAAMY,IAAuBX,EAAM,WAGjC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAI;AAAA,EAACI;AAAAA,EAAA;AAAA,IACC,KAAAR;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACA;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,IAEJ,UAAA,gBAAAK,EAACK,GAAA,EAAc,WAAU,cAAA,CAAc;AAAA,EAAA;AACzC,CACD;AACDF,EAAqB,cAAc;AAEnC,MAAMG,IAAyBd,EAAM,WAGnC,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAI;AAAA,EAACO;AAAAA,EAAA;AAAA,IACC,KAAAX;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACA;AAAA,MACAN;AAAA,IAAA;AAAA,IAED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