@yselimcan/ui 0.0.13 → 0.0.14
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/index.d.ts +34 -34
- package/dist/index.js +58 -41
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -437,19 +437,19 @@ export declare function KbdGroup({ className, ...props }: React.ComponentProps<"
|
|
|
437
437
|
|
|
438
438
|
export declare function Label({ className, ...props }: React_2.ComponentProps<"label">): JSX.Element;
|
|
439
439
|
|
|
440
|
-
export declare function Pagination({ className, ...props }: React_2.ComponentProps<
|
|
440
|
+
export declare function Pagination({ className, ...props }: React_2.ComponentProps<'nav'>): JSX.Element;
|
|
441
441
|
|
|
442
|
-
export declare function PaginationContent({ className, ...props }: React_2.ComponentProps<
|
|
442
|
+
export declare function PaginationContent({ className, ...props }: React_2.ComponentProps<'ul'>): JSX.Element;
|
|
443
443
|
|
|
444
|
-
export declare function PaginationEllipsis({ className, ...props }: React_2.ComponentProps<
|
|
444
|
+
export declare function PaginationEllipsis({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
|
|
445
445
|
|
|
446
|
-
export declare function PaginationItem({ ...props }: React_2.ComponentProps<
|
|
446
|
+
export declare function PaginationItem({ ...props }: React_2.ComponentProps<'li'>): JSX.Element;
|
|
447
447
|
|
|
448
|
-
export declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): JSX.Element;
|
|
448
|
+
export declare function PaginationLink({ className, isActive, size, isIcon, ...props }: PaginationLinkProps): JSX.Element;
|
|
449
449
|
|
|
450
450
|
declare type PaginationLinkProps = {
|
|
451
451
|
isActive?: boolean;
|
|
452
|
-
} & Pick<React_2.ComponentProps<typeof Button>,
|
|
452
|
+
} & Pick<React_2.ComponentProps<typeof Button>, 'size' | 'isIcon'> & React_2.ComponentProps<'a'>;
|
|
453
453
|
|
|
454
454
|
export declare function PaginationNext({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX.Element;
|
|
455
455
|
|
|
@@ -498,30 +498,30 @@ export declare function Sheet({ ...props }: Dialog_2.Root.Props): JSX.Element;
|
|
|
498
498
|
export declare function SheetClose({ ...props }: Dialog_2.Close.Props): JSX.Element;
|
|
499
499
|
|
|
500
500
|
export declare function SheetContent({ className, children, side, showCloseButton, ...props }: Dialog_2.Popup.Props & {
|
|
501
|
-
side?:
|
|
501
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
502
502
|
showCloseButton?: boolean;
|
|
503
503
|
}): JSX.Element;
|
|
504
504
|
|
|
505
505
|
export declare function SheetDescription({ className, ...props }: Dialog_2.Description.Props): JSX.Element;
|
|
506
506
|
|
|
507
|
-
export declare function SheetFooter({ className, ...props }: React_2.ComponentProps<
|
|
507
|
+
export declare function SheetFooter({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
508
508
|
|
|
509
|
-
export declare function SheetHeader({ className, ...props }: React_2.ComponentProps<
|
|
509
|
+
export declare function SheetHeader({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
510
510
|
|
|
511
511
|
export declare function SheetTitle({ className, ...props }: Dialog_2.Title.Props): JSX.Element;
|
|
512
512
|
|
|
513
513
|
export declare function SheetTrigger({ ...props }: Dialog_2.Trigger.Props): JSX.Element;
|
|
514
514
|
|
|
515
|
-
export declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React_2.ComponentProps<
|
|
516
|
-
side?:
|
|
517
|
-
variant?:
|
|
518
|
-
collapsible?:
|
|
515
|
+
export declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React_2.ComponentProps<'div'> & {
|
|
516
|
+
side?: 'left' | 'right';
|
|
517
|
+
variant?: 'sidebar' | 'floating' | 'inset';
|
|
518
|
+
collapsible?: 'offExamples' | 'icon' | 'none';
|
|
519
519
|
}): JSX.Element;
|
|
520
520
|
|
|
521
|
-
export declare function SidebarContent({ className, ...props }: React_2.ComponentProps<
|
|
521
|
+
export declare function SidebarContent({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
522
522
|
|
|
523
523
|
declare type SidebarContextProps = {
|
|
524
|
-
state:
|
|
524
|
+
state: 'expanded' | 'collapsed';
|
|
525
525
|
open: boolean;
|
|
526
526
|
setOpen: (open: boolean) => void;
|
|
527
527
|
openMobile: boolean;
|
|
@@ -530,31 +530,31 @@ declare type SidebarContextProps = {
|
|
|
530
530
|
toggleSidebar: () => void;
|
|
531
531
|
};
|
|
532
532
|
|
|
533
|
-
export declare function SidebarFooter({ className, ...props }: React_2.ComponentProps<
|
|
533
|
+
export declare function SidebarFooter({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
534
534
|
|
|
535
|
-
export declare function SidebarGroup({ className, ...props }: React_2.ComponentProps<
|
|
535
|
+
export declare function SidebarGroup({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
536
536
|
|
|
537
|
-
export declare function SidebarGroupAction({ className, render, ...props }: useRender.ComponentProps<
|
|
537
|
+
export declare function SidebarGroupAction({ className, render, ...props }: useRender.ComponentProps<'button'> & React_2.ComponentProps<'button'>): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
|
|
538
538
|
|
|
539
|
-
export declare function SidebarGroupContent({ className, ...props }: React_2.ComponentProps<
|
|
539
|
+
export declare function SidebarGroupContent({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
540
540
|
|
|
541
|
-
export declare function SidebarGroupLabel({ className, render, ...props }: useRender.ComponentProps<
|
|
541
|
+
export declare function SidebarGroupLabel({ className, render, ...props }: useRender.ComponentProps<'div'> & React_2.ComponentProps<'div'>): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
|
|
542
542
|
|
|
543
|
-
export declare function SidebarHeader({ className, ...props }: React_2.ComponentProps<
|
|
543
|
+
export declare function SidebarHeader({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
544
544
|
|
|
545
545
|
export declare function SidebarInput({ className, ...props }: React_2.ComponentProps<typeof Input>): JSX.Element;
|
|
546
546
|
|
|
547
|
-
export declare function SidebarInset({ className, ...props }: React_2.ComponentProps<
|
|
547
|
+
export declare function SidebarInset({ className, ...props }: React_2.ComponentProps<'main'>): JSX.Element;
|
|
548
548
|
|
|
549
|
-
export declare function SidebarMenu({ className, ...props }: React_2.ComponentProps<
|
|
549
|
+
export declare function SidebarMenu({ className, ...props }: React_2.ComponentProps<'ul'>): JSX.Element;
|
|
550
550
|
|
|
551
|
-
export declare function SidebarMenuAction({ className, render, showOnHover, ...props }: useRender.ComponentProps<
|
|
551
|
+
export declare function SidebarMenuAction({ className, render, showOnHover, ...props }: useRender.ComponentProps<'button'> & React_2.ComponentProps<'button'> & {
|
|
552
552
|
showOnHover?: boolean;
|
|
553
553
|
}): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
|
|
554
554
|
|
|
555
|
-
export declare function SidebarMenuBadge({ className, ...props }: React_2.ComponentProps<
|
|
555
|
+
export declare function SidebarMenuBadge({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
|
|
556
556
|
|
|
557
|
-
export declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, ...props }: useRender.ComponentProps<
|
|
557
|
+
export declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, ...props }: useRender.ComponentProps<'button'> & React_2.ComponentProps<'button'> & {
|
|
558
558
|
isActive?: boolean;
|
|
559
559
|
tooltip?: string | React_2.ComponentProps<typeof TooltipContent>;
|
|
560
560
|
} & VariantProps<typeof sidebarMenuButtonVariants>): JSX.Element;
|
|
@@ -564,28 +564,28 @@ declare const sidebarMenuButtonVariants: (props?: ({
|
|
|
564
564
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
565
565
|
} & ClassProp) | undefined) => string;
|
|
566
566
|
|
|
567
|
-
export declare function SidebarMenuItem({ className, ...props }: React_2.ComponentProps<
|
|
567
|
+
export declare function SidebarMenuItem({ className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
|
|
568
568
|
|
|
569
|
-
export declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React_2.ComponentProps<
|
|
569
|
+
export declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React_2.ComponentProps<'div'> & {
|
|
570
570
|
showIcon?: boolean;
|
|
571
571
|
}): JSX.Element;
|
|
572
572
|
|
|
573
|
-
export declare function SidebarMenuSub({ className, ...props }: React_2.ComponentProps<
|
|
573
|
+
export declare function SidebarMenuSub({ className, ...props }: React_2.ComponentProps<'ul'>): JSX.Element;
|
|
574
574
|
|
|
575
|
-
export declare function SidebarMenuSubButton({ render, size, isActive, className, ...props }: useRender.ComponentProps<
|
|
576
|
-
size?:
|
|
575
|
+
export declare function SidebarMenuSubButton({ render, size, isActive, className, ...props }: useRender.ComponentProps<'a'> & React_2.ComponentProps<'a'> & {
|
|
576
|
+
size?: 'sm' | 'md';
|
|
577
577
|
isActive?: boolean;
|
|
578
578
|
}): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
|
|
579
579
|
|
|
580
|
-
export declare function SidebarMenuSubItem({ className, ...props }: React_2.ComponentProps<
|
|
580
|
+
export declare function SidebarMenuSubItem({ className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
|
|
581
581
|
|
|
582
|
-
export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React_2.ComponentProps<
|
|
582
|
+
export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React_2.ComponentProps<'div'> & {
|
|
583
583
|
defaultOpen?: boolean;
|
|
584
584
|
open?: boolean;
|
|
585
585
|
onOpenChange?: (open: boolean) => void;
|
|
586
586
|
}): JSX.Element;
|
|
587
587
|
|
|
588
|
-
export declare function SidebarRail({ className, ...props }: React_2.ComponentProps<
|
|
588
|
+
export declare function SidebarRail({ className, ...props }: React_2.ComponentProps<'button'>): JSX.Element;
|
|
589
589
|
|
|
590
590
|
export declare function SidebarSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): JSX.Element;
|
|
591
591
|
|
package/dist/index.js
CHANGED
|
@@ -27907,10 +27907,7 @@ function pW({ className: e, ...t }) {
|
|
|
27907
27907
|
role: "navigation",
|
|
27908
27908
|
"aria-label": "pagination",
|
|
27909
27909
|
"data-slot": "pagination",
|
|
27910
|
-
className: B(
|
|
27911
|
-
"mx-auto flex w-full justify-center",
|
|
27912
|
-
e
|
|
27913
|
-
),
|
|
27910
|
+
className: B("mx-auto flex w-full justify-center", e),
|
|
27914
27911
|
...t
|
|
27915
27912
|
}
|
|
27916
27913
|
);
|
|
@@ -27923,7 +27920,7 @@ function mW({
|
|
|
27923
27920
|
"ul",
|
|
27924
27921
|
{
|
|
27925
27922
|
"data-slot": "pagination-content",
|
|
27926
|
-
className: B("gap-0.5
|
|
27923
|
+
className: B("flex items-center gap-0.5", e),
|
|
27927
27924
|
...t
|
|
27928
27925
|
}
|
|
27929
27926
|
);
|
|
@@ -27934,14 +27931,16 @@ function gW({ ...e }) {
|
|
|
27934
27931
|
function VS({
|
|
27935
27932
|
className: e,
|
|
27936
27933
|
isActive: t,
|
|
27937
|
-
size: n = "
|
|
27938
|
-
|
|
27934
|
+
size: n = "sm",
|
|
27935
|
+
isIcon: r = !0,
|
|
27936
|
+
...o
|
|
27939
27937
|
}) {
|
|
27940
27938
|
return /* @__PURE__ */ C(
|
|
27941
27939
|
Pn,
|
|
27942
27940
|
{
|
|
27943
27941
|
variant: t ? "outline" : "ghost",
|
|
27944
27942
|
size: n,
|
|
27943
|
+
isIcon: r,
|
|
27945
27944
|
className: B(e),
|
|
27946
27945
|
nativeButton: !1,
|
|
27947
27946
|
render: /* @__PURE__ */ C(
|
|
@@ -27950,7 +27949,7 @@ function VS({
|
|
|
27950
27949
|
"aria-current": t ? "page" : void 0,
|
|
27951
27950
|
"data-slot": "pagination-link",
|
|
27952
27951
|
"data-active": t,
|
|
27953
|
-
...
|
|
27952
|
+
...o
|
|
27954
27953
|
}
|
|
27955
27954
|
)
|
|
27956
27955
|
}
|
|
@@ -27965,6 +27964,7 @@ function hW({
|
|
|
27965
27964
|
{
|
|
27966
27965
|
"aria-label": "Go to previous page",
|
|
27967
27966
|
size: "default",
|
|
27967
|
+
isIcon: !1,
|
|
27968
27968
|
className: B("pl-1.5!", e),
|
|
27969
27969
|
...t,
|
|
27970
27970
|
children: [
|
|
@@ -27983,6 +27983,7 @@ function bW({
|
|
|
27983
27983
|
{
|
|
27984
27984
|
"aria-label": "Go to next page",
|
|
27985
27985
|
size: "default",
|
|
27986
|
+
isIcon: !1,
|
|
27986
27987
|
className: B("pr-1.5!", e),
|
|
27987
27988
|
...t,
|
|
27988
27989
|
children: [
|
|
@@ -28002,15 +28003,12 @@ function vW({
|
|
|
28002
28003
|
"aria-hidden": !0,
|
|
28003
28004
|
"data-slot": "pagination-ellipsis",
|
|
28004
28005
|
className: B(
|
|
28005
|
-
"size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4
|
|
28006
|
+
"flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4",
|
|
28006
28007
|
e
|
|
28007
28008
|
),
|
|
28008
28009
|
...t,
|
|
28009
28010
|
children: [
|
|
28010
|
-
/* @__PURE__ */ C(
|
|
28011
|
-
Qy,
|
|
28012
|
-
{}
|
|
28013
|
-
),
|
|
28011
|
+
/* @__PURE__ */ C(Qy, {}),
|
|
28014
28012
|
/* @__PURE__ */ C("span", { className: "sr-only", children: "More pages" })
|
|
28015
28013
|
]
|
|
28016
28014
|
}
|
|
@@ -28301,7 +28299,10 @@ function J2({ className: e, ...t }) {
|
|
|
28301
28299
|
ds,
|
|
28302
28300
|
{
|
|
28303
28301
|
"data-slot": "sheet-overlay",
|
|
28304
|
-
className: B(
|
|
28302
|
+
className: B(
|
|
28303
|
+
"data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 fixed inset-0 z-50 bg-black/10 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs",
|
|
28304
|
+
e
|
|
28305
|
+
),
|
|
28305
28306
|
...t
|
|
28306
28307
|
}
|
|
28307
28308
|
);
|
|
@@ -28320,7 +28321,10 @@ function ez({
|
|
|
28320
28321
|
{
|
|
28321
28322
|
"data-slot": "sheet-content",
|
|
28322
28323
|
"data-side": n,
|
|
28323
|
-
className: B(
|
|
28324
|
+
className: B(
|
|
28325
|
+
"bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col gap-4 bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",
|
|
28326
|
+
e
|
|
28327
|
+
),
|
|
28324
28328
|
...o,
|
|
28325
28329
|
children: [
|
|
28326
28330
|
t,
|
|
@@ -28333,14 +28337,12 @@ function ez({
|
|
|
28333
28337
|
{
|
|
28334
28338
|
variant: "ghost",
|
|
28335
28339
|
className: "absolute top-3 right-3",
|
|
28336
|
-
size: "
|
|
28340
|
+
size: "sm",
|
|
28341
|
+
isIcon: !0
|
|
28337
28342
|
}
|
|
28338
28343
|
),
|
|
28339
28344
|
children: [
|
|
28340
|
-
/* @__PURE__ */ C(
|
|
28341
|
-
Ji,
|
|
28342
|
-
{}
|
|
28343
|
-
),
|
|
28345
|
+
/* @__PURE__ */ C(Ji, {}),
|
|
28344
28346
|
/* @__PURE__ */ C("span", { className: "sr-only", children: "Close" })
|
|
28345
28347
|
]
|
|
28346
28348
|
}
|
|
@@ -28355,7 +28357,7 @@ function tz({ className: e, ...t }) {
|
|
|
28355
28357
|
"div",
|
|
28356
28358
|
{
|
|
28357
28359
|
"data-slot": "sheet-header",
|
|
28358
|
-
className: B("gap-0.5 p-4
|
|
28360
|
+
className: B("flex flex-col gap-0.5 p-4", e),
|
|
28359
28361
|
...t
|
|
28360
28362
|
}
|
|
28361
28363
|
);
|
|
@@ -28365,7 +28367,7 @@ function DW({ className: e, ...t }) {
|
|
|
28365
28367
|
"div",
|
|
28366
28368
|
{
|
|
28367
28369
|
"data-slot": "sheet-footer",
|
|
28368
|
-
className: B("
|
|
28370
|
+
className: B("mt-auto flex flex-col gap-2 p-4", e),
|
|
28369
28371
|
...t
|
|
28370
28372
|
}
|
|
28371
28373
|
);
|
|
@@ -28508,7 +28510,15 @@ function AW({
|
|
|
28508
28510
|
setOpenMobile: c,
|
|
28509
28511
|
toggleSidebar: y
|
|
28510
28512
|
}),
|
|
28511
|
-
[
|
|
28513
|
+
[
|
|
28514
|
+
g,
|
|
28515
|
+
p,
|
|
28516
|
+
m,
|
|
28517
|
+
s,
|
|
28518
|
+
l,
|
|
28519
|
+
c,
|
|
28520
|
+
y
|
|
28521
|
+
]
|
|
28512
28522
|
);
|
|
28513
28523
|
return /* @__PURE__ */ C(FS.Provider, { value: h, children: /* @__PURE__ */ C(
|
|
28514
28524
|
"div",
|
|
@@ -28582,7 +28592,7 @@ function VW({
|
|
|
28582
28592
|
{
|
|
28583
28593
|
"data-slot": "sidebar-gap",
|
|
28584
28594
|
className: B(
|
|
28585
|
-
"
|
|
28595
|
+
"relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
|
|
28586
28596
|
"group-data-[collapsible=offExamples]:w-0",
|
|
28587
28597
|
"group-data-[side=right]:rotate-180",
|
|
28588
28598
|
t === "floating" || t === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
|
|
@@ -28606,7 +28616,7 @@ function VW({
|
|
|
28606
28616
|
{
|
|
28607
28617
|
"data-sidebar": "sidebar",
|
|
28608
28618
|
"data-slot": "sidebar-inner",
|
|
28609
|
-
className: "bg-sidebar group-data-[variant=floating]:ring-sidebar-border group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1
|
|
28619
|
+
className: "bg-sidebar group-data-[variant=floating]:ring-sidebar-border flex size-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1",
|
|
28610
28620
|
children: o
|
|
28611
28621
|
}
|
|
28612
28622
|
)
|
|
@@ -28628,17 +28638,15 @@ function FW({
|
|
|
28628
28638
|
"data-sidebar": "trigger",
|
|
28629
28639
|
"data-slot": "sidebar-trigger",
|
|
28630
28640
|
variant: "ghost",
|
|
28631
|
-
size: "
|
|
28641
|
+
size: "sm",
|
|
28642
|
+
isIcon: !0,
|
|
28632
28643
|
className: B(e),
|
|
28633
28644
|
onClick: (o) => {
|
|
28634
28645
|
t?.(o), r();
|
|
28635
28646
|
},
|
|
28636
28647
|
...n,
|
|
28637
28648
|
children: [
|
|
28638
|
-
/* @__PURE__ */ C(
|
|
28639
|
-
dR,
|
|
28640
|
-
{}
|
|
28641
|
-
),
|
|
28649
|
+
/* @__PURE__ */ C(dR, {}),
|
|
28642
28650
|
/* @__PURE__ */ C("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
28643
28651
|
]
|
|
28644
28652
|
}
|
|
@@ -28674,7 +28682,7 @@ function LW({ className: e, ...t }) {
|
|
|
28674
28682
|
{
|
|
28675
28683
|
"data-slot": "sidebar-inset",
|
|
28676
28684
|
className: B(
|
|
28677
|
-
"bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2
|
|
28685
|
+
"bg-background relative flex w-full flex-1 flex-col md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
28678
28686
|
e
|
|
28679
28687
|
),
|
|
28680
28688
|
...t
|
|
@@ -28701,7 +28709,7 @@ function qW({ className: e, ...t }) {
|
|
|
28701
28709
|
{
|
|
28702
28710
|
"data-slot": "sidebar-header",
|
|
28703
28711
|
"data-sidebar": "header",
|
|
28704
|
-
className: B("gap-2 p-2
|
|
28712
|
+
className: B("flex flex-col gap-2 p-2", e),
|
|
28705
28713
|
...t
|
|
28706
28714
|
}
|
|
28707
28715
|
);
|
|
@@ -28712,7 +28720,7 @@ function $W({ className: e, ...t }) {
|
|
|
28712
28720
|
{
|
|
28713
28721
|
"data-slot": "sidebar-footer",
|
|
28714
28722
|
"data-sidebar": "footer",
|
|
28715
|
-
className: B("gap-2 p-2
|
|
28723
|
+
className: B("flex flex-col gap-2 p-2", e),
|
|
28716
28724
|
...t
|
|
28717
28725
|
}
|
|
28718
28726
|
);
|
|
@@ -28738,7 +28746,7 @@ function jW({ className: e, ...t }) {
|
|
|
28738
28746
|
"data-slot": "sidebar-content",
|
|
28739
28747
|
"data-sidebar": "content",
|
|
28740
28748
|
className: B(
|
|
28741
|
-
"no-scrollbar
|
|
28749
|
+
"no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
|
|
28742
28750
|
e
|
|
28743
28751
|
),
|
|
28744
28752
|
...t
|
|
@@ -28752,7 +28760,7 @@ function HW({ className: e, ...t }) {
|
|
|
28752
28760
|
"data-slot": "sidebar-group",
|
|
28753
28761
|
"data-sidebar": "group",
|
|
28754
28762
|
className: B(
|
|
28755
|
-
"
|
|
28763
|
+
"relative flex w-full min-w-0 flex-col p-2",
|
|
28756
28764
|
e
|
|
28757
28765
|
),
|
|
28758
28766
|
...t
|
|
@@ -28814,7 +28822,7 @@ function YW({
|
|
|
28814
28822
|
{
|
|
28815
28823
|
"data-slot": "sidebar-group-content",
|
|
28816
28824
|
"data-sidebar": "group-content",
|
|
28817
|
-
className: B("text-sm
|
|
28825
|
+
className: B("w-full text-sm", e),
|
|
28818
28826
|
...t
|
|
28819
28827
|
}
|
|
28820
28828
|
);
|
|
@@ -28825,7 +28833,7 @@ function KW({ className: e, ...t }) {
|
|
|
28825
28833
|
{
|
|
28826
28834
|
"data-slot": "sidebar-menu",
|
|
28827
28835
|
"data-sidebar": "menu",
|
|
28828
|
-
className: B("
|
|
28836
|
+
className: B("flex w-full min-w-0 flex-col gap-0", e),
|
|
28829
28837
|
...t
|
|
28830
28838
|
}
|
|
28831
28839
|
);
|
|
@@ -28874,7 +28882,10 @@ function ZW({
|
|
|
28874
28882
|
defaultTagName: "button",
|
|
28875
28883
|
props: Rt(
|
|
28876
28884
|
{
|
|
28877
|
-
className: B(
|
|
28885
|
+
className: B(
|
|
28886
|
+
gz({ variant: n, size: r }),
|
|
28887
|
+
a
|
|
28888
|
+
)
|
|
28878
28889
|
},
|
|
28879
28890
|
i
|
|
28880
28891
|
),
|
|
@@ -28936,7 +28947,7 @@ function JW({
|
|
|
28936
28947
|
"data-slot": "sidebar-menu-badge",
|
|
28937
28948
|
"data-sidebar": "menu-badge",
|
|
28938
28949
|
className: B(
|
|
28939
|
-
"text-sidebar-foreground peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-accent-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 rounded-md px-1 text-xs font-medium peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1
|
|
28950
|
+
"text-sidebar-foreground peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-accent-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none group-data-[collapsible=icon]:hidden peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1",
|
|
28940
28951
|
e
|
|
28941
28952
|
),
|
|
28942
28953
|
...t
|
|
@@ -28954,7 +28965,10 @@ function ej({
|
|
|
28954
28965
|
{
|
|
28955
28966
|
"data-slot": "sidebar-menu-skeleton",
|
|
28956
28967
|
"data-sidebar": "menu-skeleton",
|
|
28957
|
-
className: B(
|
|
28968
|
+
className: B(
|
|
28969
|
+
"flex h-8 items-center gap-2 rounded-md px-2",
|
|
28970
|
+
e
|
|
28971
|
+
),
|
|
28958
28972
|
...n,
|
|
28959
28973
|
children: [
|
|
28960
28974
|
t && /* @__PURE__ */ C(
|
|
@@ -28984,7 +28998,10 @@ function tj({ className: e, ...t }) {
|
|
|
28984
28998
|
{
|
|
28985
28999
|
"data-slot": "sidebar-menu-sub",
|
|
28986
29000
|
"data-sidebar": "menu-sub",
|
|
28987
|
-
className: B(
|
|
29001
|
+
className: B(
|
|
29002
|
+
"border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden",
|
|
29003
|
+
e
|
|
29004
|
+
),
|
|
28988
29005
|
...t
|
|
28989
29006
|
}
|
|
28990
29007
|
);
|