@popgrids/ui 0.0.20 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/banner-notification.cjs +54 -0
  2. package/dist/banner-notification.cjs.map +1 -0
  3. package/dist/banner-notification.d.cts +24 -0
  4. package/dist/banner-notification.d.ts +24 -0
  5. package/dist/banner-notification.js +52 -0
  6. package/dist/banner-notification.js.map +1 -0
  7. package/dist/button-link.cjs +35 -18
  8. package/dist/button-link.cjs.map +1 -1
  9. package/dist/button-link.d.cts +15 -3
  10. package/dist/button-link.d.ts +15 -3
  11. package/dist/button-link.js +36 -19
  12. package/dist/button-link.js.map +1 -1
  13. package/dist/button.cjs +1 -1
  14. package/dist/button.cjs.map +1 -1
  15. package/dist/button.js +1 -1
  16. package/dist/button.js.map +1 -1
  17. package/dist/dialog.cjs +439 -39
  18. package/dist/dialog.cjs.map +1 -1
  19. package/dist/dialog.d.cts +25 -11
  20. package/dist/dialog.d.ts +25 -11
  21. package/dist/dialog.js +439 -39
  22. package/dist/dialog.js.map +1 -1
  23. package/dist/dropdown-menu.cjs +126 -92
  24. package/dist/dropdown-menu.cjs.map +1 -1
  25. package/dist/dropdown-menu.d.cts +18 -20
  26. package/dist/dropdown-menu.d.ts +18 -20
  27. package/dist/dropdown-menu.js +127 -93
  28. package/dist/dropdown-menu.js.map +1 -1
  29. package/dist/index.cjs +329 -185
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.cts +5 -4
  32. package/dist/index.d.ts +5 -4
  33. package/dist/index.js +329 -186
  34. package/dist/index.js.map +1 -1
  35. package/dist/input.cjs +1 -1
  36. package/dist/input.cjs.map +1 -1
  37. package/dist/input.js +1 -1
  38. package/dist/input.js.map +1 -1
  39. package/dist/metafile-cjs.json +1 -1
  40. package/dist/metafile-esm.json +1 -1
  41. package/dist/section-header.cjs +30 -29
  42. package/dist/section-header.cjs.map +1 -1
  43. package/dist/section-header.js +30 -29
  44. package/dist/section-header.js.map +1 -1
  45. package/dist/tag.cjs +7 -5
  46. package/dist/tag.cjs.map +1 -1
  47. package/dist/tag.d.cts +5 -1
  48. package/dist/tag.d.ts +5 -1
  49. package/dist/tag.js +8 -6
  50. package/dist/tag.js.map +1 -1
  51. package/dist/theme.css +4 -4
  52. package/dist/tooltip.cjs +40 -18
  53. package/dist/tooltip.cjs.map +1 -1
  54. package/dist/tooltip.d.cts +1 -3
  55. package/dist/tooltip.d.ts +1 -3
  56. package/dist/tooltip.js +40 -18
  57. package/dist/tooltip.js.map +1 -1
  58. package/package.json +31 -21
package/dist/index.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var button = require('@base-ui/react/button');
4
3
  var classVarianceAuthority = require('class-variance-authority');
5
4
  var clsx = require('clsx');
6
5
  var tailwindMerge = require('tailwind-merge');
7
6
  var jsxRuntime = require('react/jsx-runtime');
7
+ var button = require('@base-ui/react/button');
8
8
  var dialog = require('@base-ui/react/dialog');
9
9
  var icons = require('@untitledui/icons');
10
10
  var menu = require('@base-ui/react/menu');
@@ -14,10 +14,49 @@ var useRender = require('@base-ui/react/use-render');
14
14
  var react = require('react');
15
15
  var tooltip = require('@base-ui/react/tooltip');
16
16
 
17
- // src/components/button/button.tsx
17
+ // src/components/banner-notification/banner-notification.tsx
18
18
  function cn(...inputs) {
19
19
  return tailwindMerge.twMerge(clsx.clsx(inputs));
20
20
  }
21
+ var bannerNotificationVariants = classVarianceAuthority.cva(
22
+ "flex items-start gap-3 rounded-[6px] px-4 py-3 w-full w-[360px] border-border border",
23
+ {
24
+ variants: {
25
+ variant: {
26
+ info: ""
27
+ },
28
+ theme: {
29
+ error: "bg-warning-100 dark:bg-warning-200/16",
30
+ highlight: "bg-success-50 dark:bg-white/0"
31
+ }
32
+ },
33
+ defaultVariants: {
34
+ variant: "info",
35
+ theme: "highlight"
36
+ }
37
+ }
38
+ );
39
+ function BannerNotification({
40
+ className,
41
+ children,
42
+ variant = "info",
43
+ theme = "highlight",
44
+ image,
45
+ ...props
46
+ }) {
47
+ return /* @__PURE__ */ jsxRuntime.jsxs(
48
+ "div",
49
+ {
50
+ "data-slot": "banner-notification",
51
+ className: cn(bannerNotificationVariants({ variant, theme }), className),
52
+ ...props,
53
+ children: [
54
+ image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-start [&>svg]:size-5", children: image }),
55
+ children != null && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1 text-sm", children })
56
+ ]
57
+ }
58
+ );
59
+ }
21
60
  var loaderVariants = classVarianceAuthority.cva("flex shrink-0 items-center justify-center", {
22
61
  variants: {
23
62
  theme: {
@@ -248,7 +287,7 @@ var buttonVariants = classVarianceAuthority.cva(
248
287
  variant: "primary",
249
288
  outline: true,
250
289
  theme: "base",
251
- class: "ring ring-foreground bg-background/0 text-foreground hover:ring-2 active:ring active:bg-background/1 disabled:outline-none disabled:bg-background/0 focus-visible:ring focus-visible:ring-ring focus-visible:outline-background focus-visible:bg-background/1"
290
+ class: "ring ring-foreground bg-background/0 text-foreground hover:ring-2 active:ring active:bg-background/1 disabled:outline-none disabled:bg-background/0 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-background focus-visible:bg-background/1"
252
291
  },
253
292
  {
254
293
  variant: "primary",
@@ -434,28 +473,45 @@ function ButtonLink({
434
473
  size = "md",
435
474
  theme = "default",
436
475
  trailing,
476
+ href,
437
477
  ...props
438
478
  }) {
439
- return /* @__PURE__ */ jsxRuntime.jsxs(
440
- "a",
479
+ const sharedClassName = cn(
480
+ buttonLinkVariants({
481
+ hasLeading: !!leading,
482
+ hasTrailing: !!trailing,
483
+ primary,
484
+ size,
485
+ theme
486
+ }),
487
+ className
488
+ );
489
+ const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
490
+ leading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center text-inherit [&_svg]:size-inherit", children: leading }),
491
+ children != null && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 truncate relative", children }),
492
+ trailing && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center text-inherit [&_svg]:size-inherit", children: trailing })
493
+ ] });
494
+ if (href != null) {
495
+ return /* @__PURE__ */ jsxRuntime.jsx(
496
+ "a",
497
+ {
498
+ "data-slot": "button-link",
499
+ className: sharedClassName,
500
+ href,
501
+ ...props,
502
+ children: content
503
+ }
504
+ );
505
+ }
506
+ const { type, ...buttonProps } = props;
507
+ return /* @__PURE__ */ jsxRuntime.jsx(
508
+ "button",
441
509
  {
442
510
  "data-slot": "button-link",
443
- className: cn(
444
- buttonLinkVariants({
445
- hasLeading: !!leading,
446
- hasTrailing: !!trailing,
447
- primary,
448
- size,
449
- theme
450
- }),
451
- className
452
- ),
453
- ...props,
454
- children: [
455
- leading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center text-inherit [&_svg]:size-inherit", children: leading }),
456
- children != null && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 truncate relative", children }),
457
- trailing && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center text-inherit [&_svg]:size-inherit", children: trailing })
458
- ]
511
+ className: sharedClassName,
512
+ type: type ?? "button",
513
+ ...buttonProps,
514
+ children: content
459
515
  }
460
516
  );
461
517
  }
@@ -472,24 +528,25 @@ function ContentBlock({ className, children, title, subhead, cta }) {
472
528
  ] });
473
529
  }
474
530
  function DialogRoot(props) {
475
- return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Root, { ...props });
531
+ return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Root, { "data-slot": "dialog", ...props });
476
532
  }
477
533
  function DialogPortal(props) {
478
- return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Portal, { ...props });
534
+ return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Portal, { "data-slot": "dialog-portal", ...props });
479
535
  }
480
536
  function DialogTrigger(props) {
481
- return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Trigger, { ...props });
537
+ return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Trigger, { "data-slot": "dialog-trigger", ...props });
482
538
  }
483
539
  function DialogClose(props) {
484
- return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Close, { ...props });
540
+ return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Close, { "data-slot": "dialog-close", ...props });
485
541
  }
486
- function DialogBackdrop({
542
+ function DialogOverlay({
487
543
  className,
488
544
  ...props
489
545
  }) {
490
546
  return /* @__PURE__ */ jsxRuntime.jsx(
491
547
  dialog.Dialog.Backdrop,
492
548
  {
549
+ "data-slot": "dialog-overlay",
493
550
  className: cn(
494
551
  "fixed inset-0 min-h-dvh bg-[rgb(0_0_32/0.01)] opacity-0 backdrop-blur-sm transition-[opacity,backdrop-filter] duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-[-webkit-touch-callout:none]:absolute dark:bg-[rgb(255_255_255/0.01)] dark:opacity-70",
495
552
  "data-closed:opacity-0 data-open:opacity-100",
@@ -506,6 +563,7 @@ function DialogViewport({
506
563
  return /* @__PURE__ */ jsxRuntime.jsx(
507
564
  dialog.Dialog.Viewport,
508
565
  {
566
+ "data-slot": "dialog-viewport",
509
567
  className: cn(
510
568
  "fixed inset-0 flex items-center justify-center overflow-hidden py-6 [@media(min-height:600px)]:pt-8 [@media(min-height:600px)]:pb-12",
511
569
  className
@@ -514,55 +572,87 @@ function DialogViewport({
514
572
  }
515
573
  );
516
574
  }
517
- function DialogPopup({
575
+ function DialogContent({
518
576
  className,
519
577
  children,
520
578
  bottom = false,
521
579
  showCloseButton = true,
580
+ closePosition = "top-left",
522
581
  ...props
523
582
  }) {
524
- return /* @__PURE__ */ jsxRuntime.jsxs(dialog.Dialog.Portal, { children: [
525
- /* @__PURE__ */ jsxRuntime.jsx(DialogBackdrop, {}),
526
- /* @__PURE__ */ jsxRuntime.jsxs(dialog.Dialog.Popup, { className: "group/popup pointer-events-none flex h-full max-h-full min-h-0 w-full max-w-full justify-center overflow-hidden transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0", children: [
527
- showCloseButton && /* @__PURE__ */ jsxRuntime.jsxs(
528
- DialogClose,
529
- {
530
- className: "pointer-events-auto fixed top-[15px] left-5 z-50",
531
- "aria-label": "Close",
532
- children: [
533
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" }),
534
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "before:bg-tint-700-reversed relative block before:absolute before:-inset-1.5 before:rounded-full before:backdrop-blur-sm", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "bg-primary-foreground text-background relative z-10 flex size-10 items-center justify-center rounded-full", children: /* @__PURE__ */ jsxRuntime.jsx(icons.XClose, { className: "size-[18px]" }) }) })
535
- ]
536
- }
537
- ),
538
- /* @__PURE__ */ jsxRuntime.jsx(
539
- "div",
540
- {
541
- className: cn(
542
- "bg-background pointer-events-auto fixed top-1/2 left-1/2 flex h-full max-h-[calc(100%-2rem)] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 flex-col rounded-xl shadow-2xl transition-all",
583
+ return /* @__PURE__ */ jsxRuntime.jsxs(dialog.Dialog.Portal, { "data-slot": "dialog-portal", children: [
584
+ /* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
585
+ /* @__PURE__ */ jsxRuntime.jsxs(
586
+ dialog.Dialog.Popup,
587
+ {
588
+ "data-slot": "dialog-content",
589
+ className: "group/popup pointer-events-none flex h-full max-h-full min-h-0 w-full max-w-full justify-center overflow-hidden transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0",
590
+ children: [
591
+ showCloseButton && /* @__PURE__ */ jsxRuntime.jsxs(
592
+ DialogClose,
543
593
  {
544
- "group-data-closed/popup:duration-pop-hover group-data-open/popup:duration-pop-hover group-data-open/popup:ease-pop-hover group-data-closed/popup:ease-out group-data-ending-style/popup:scale-[0.96] group-data-ending-style/popup:opacity-0 group-data-starting-style/popup:scale-[0.96] group-data-starting-style/popup:opacity-0": !bottom,
545
- "group-data-open/popup:slide-in-from-bottom group-data-closed/popup:slide-out-to-bottom group-data-starting-style/popup-scale-100 group-data-ending-style/popup-scale-100 group-data-open/popup:animate-in group-data-closed/popup:animate-out top-auto bottom-0 h-full translate-y-0 rounded-b-none group-data-closed/popup:duration-200 group-data-closed/popup:ease-[cubic-bezier(1,0,0.72,0.32)] group-data-ending-style/popup:translate-y-full group-data-open/popup:duration-300 group-data-open/popup:ease-[cubic-bezier(0.32,0.72,0,1)] group-data-starting-style/popup:translate-y-full": bottom
546
- },
547
- className
594
+ className: cn("pointer-events-auto fixed top-[7px] z-50 transition-all", { "left-4": closePosition === "top-left", "right-4": closePosition === "top-right", "group-data-closed/popup:duration-pop-hover group-data-open/popup:duration-pop-hover group-data-open/popup:ease-pop-hover group-data-closed/popup:ease-out group-data-ending-style/popup:scale-[0.96] group-data-ending-style/popup:opacity-0 group-data-starting-style/popup:scale-[0.96] group-data-starting-style/popup:opacity-0": !bottom, " group-data-starting-style/popup-scale-[0.96] group-data-ending-style/popup-scale-100 group-data-open/popup:animate-in group-data-closed/popup:animate-out group-data-closed/popup:duration-200 group-data-closed/popup:ease-[cubic-bezier(1,0,0.72,0.32)] group-data-ending-style/popup:translate-y-1/2 group-data-open/popup:duration-pop-hover group-data-open/popup:ease-[cubic-bezier(0.32,0.72,0,1)] group-data-starting-style/popup:translate-y-1/2": bottom }),
595
+ "aria-label": "Close",
596
+ children: [
597
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" }),
598
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "before:bg-tint-700-reversed relative block before:absolute before:-inset-1.5 before:rounded-full before:backdrop-blur-sm", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "bg-primary-foreground text-background relative z-10 flex size-10 items-center justify-center rounded-full", children: /* @__PURE__ */ jsxRuntime.jsx(icons.XClose, { className: "size-[18px]" }) }) })
599
+ ]
600
+ }
548
601
  ),
549
- ...props,
550
- children
551
- }
552
- )
553
- ] })
602
+ /* @__PURE__ */ jsxRuntime.jsx(
603
+ "div",
604
+ {
605
+ className: cn(
606
+ "bg-background pointer-events-auto fixed top-1/2 left-1/2 flex h-full max-h-[calc(100%-2rem)] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 flex-col rounded-xl shadow-2xl transition-all",
607
+ {
608
+ "group-data-closed/popup:duration-pop-hover group-data-open/popup:duration-pop-hover group-data-open/popup:ease-pop-hover group-data-closed/popup:ease-out group-data-ending-style/popup:scale-[0.96] group-data-ending-style/popup:opacity-0 group-data-starting-style/popup:scale-[0.96] group-data-starting-style/popup:opacity-0": !bottom,
609
+ "group-data-open/popup:slide-in-from-bottom group-data-closed/popup:slide-out-to-bottom group-data-starting-style/popup-scale-100 group-data-ending-style/popup-scale-100 group-data-open/popup:animate-in group-data-closed/popup:animate-out top-auto bottom-0 h-full translate-y-0 rounded-b-none group-data-closed/popup:duration-200 group-data-ending-style/popup:translate-y-full group-data-open/popup:duration-300 group-data-open/popup:ease-[cubic-bezier(0.32,0.72,0,1)] group-data-closed/popup:ease-[cubic-bezier(0.32,0.72,0,1)] group-data-starting-style/popup:translate-y-full": bottom
610
+ },
611
+ className
612
+ ),
613
+ ...props,
614
+ children
615
+ }
616
+ )
617
+ ]
618
+ }
619
+ )
554
620
  ] });
555
621
  }
556
622
  function DialogHeader({ className, ...props }) {
557
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-2 text-center sm:text-left", className), ...props });
623
+ return /* @__PURE__ */ jsxRuntime.jsx(
624
+ "div",
625
+ {
626
+ "data-slot": "dialog-header",
627
+ className: cn("flex flex-col gap-2 text-center sm:text-left", className),
628
+ ...props
629
+ }
630
+ );
558
631
  }
559
- function DialogFooter({ className, ...props }) {
560
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col-reverse gap-2 sm:flex-row", className), ...props });
632
+ function DialogFooter({
633
+ className,
634
+ showCloseButton = false,
635
+ children,
636
+ ...props
637
+ }) {
638
+ return /* @__PURE__ */ jsxRuntime.jsxs(
639
+ "div",
640
+ {
641
+ "data-slot": "dialog-footer",
642
+ className: cn("flex flex-col-reverse gap-2 sm:flex-row", className),
643
+ ...props,
644
+ children: [
645
+ children,
646
+ showCloseButton && /* @__PURE__ */ jsxRuntime.jsx(DialogClose, { render: /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "tertiary", theme: "base" }), children: "Close" })
647
+ ]
648
+ }
649
+ );
561
650
  }
562
651
  function DialogTitle({ className, ...props }) {
563
652
  return /* @__PURE__ */ jsxRuntime.jsx(
564
653
  dialog.Dialog.Title,
565
654
  {
655
+ "data-slot": "dialog-title",
566
656
  className: cn("text-lg leading-none font-semibold", className),
567
657
  ...props
568
658
  }
@@ -575,6 +665,7 @@ function DialogDescription({
575
665
  return /* @__PURE__ */ jsxRuntime.jsx(
576
666
  dialog.Dialog.Description,
577
667
  {
668
+ "data-slot": "dialog-description",
578
669
  className: cn("text-muted-foreground text-sm", className),
579
670
  ...props
580
671
  }
@@ -584,6 +675,7 @@ function DialogBody({ className, children, ...props }) {
584
675
  return /* @__PURE__ */ jsxRuntime.jsx(
585
676
  "div",
586
677
  {
678
+ "data-slot": "dialog-body",
587
679
  className: cn("flex shrink-0 grow basis-0 flex-col items-start self-stretch", className),
588
680
  ...props,
589
681
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 grow basis-0 flex-col items-start gap-10 self-stretch overflow-auto p-4", children })
@@ -600,28 +692,53 @@ function DropdownMenuTrigger({ ...props }) {
600
692
  return /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
601
693
  }
602
694
  function DropdownMenuContent({
603
- className,
695
+ align = "start",
696
+ alignOffset = 0,
697
+ side = "bottom",
604
698
  sideOffset = 4,
605
- positionerProps,
606
- children,
699
+ className,
607
700
  ...props
608
701
  }) {
609
- return /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.Positioner, { sideOffset, ...positionerProps, children: /* @__PURE__ */ jsxRuntime.jsx(
610
- menu.Menu.Popup,
702
+ return /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
703
+ menu.Menu.Positioner,
611
704
  {
612
- "data-slot": "dropdown-menu-content",
613
- className: cn(
614
- "bg-popover text-popover-foreground 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 border-border-border-edge-light z-50 max-h-(--available-height) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-2xl border p-1.5 shadow-xl",
615
- className
616
- ),
617
- ...props,
618
- children
705
+ className: "isolate z-50 outline-none",
706
+ align,
707
+ alignOffset,
708
+ side,
709
+ sideOffset,
710
+ children: /* @__PURE__ */ jsxRuntime.jsx(
711
+ menu.Menu.Popup,
712
+ {
713
+ "data-slot": "dropdown-menu-content",
714
+ className: cn("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 ring-white dark:ring-gray-700 bg-popover text-popover-foreground data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2 z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-xs p-1 shadow-xl ring-1 duration-100 outline-none data-closed:overflow-hidden", className),
715
+ ...props
716
+ }
717
+ )
619
718
  }
620
- ) }) });
719
+ ) });
621
720
  }
622
721
  function DropdownMenuGroup({ ...props }) {
623
722
  return /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.Group, { "data-slot": "dropdown-menu-group", ...props });
624
723
  }
724
+ function DropdownMenuLabel({
725
+ className,
726
+ inset,
727
+ ...props
728
+ }) {
729
+ return /* @__PURE__ */ jsxRuntime.jsx(
730
+ menu.Menu.GroupLabel,
731
+ {
732
+ "data-slot": "dropdown-menu-label",
733
+ "data-inset": inset,
734
+ className: cn(
735
+ "text-muted-foreground px-2 py-1.5 text-xs font-medium data-inset:pl-8",
736
+ className
737
+ ),
738
+ ...props
739
+ }
740
+ );
741
+ }
625
742
  function DropdownMenuItem({
626
743
  className,
627
744
  inset,
@@ -635,9 +752,59 @@ function DropdownMenuItem({
635
752
  "data-inset": inset,
636
753
  "data-variant": variant,
637
754
  className: cn(
638
- "data-highlighted:bg-accent data-highlighted:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:data-highlighted:bg-destructive/10 dark:data-[variant=destructive]:data-highlighted:bg-destructive/20 data-[variant=destructive]:data-highlighted:text-destructive data-[variant=destructive]:*:[svg]:text-destructive! [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-1.5 rounded-xs px-2 py-1.5 text-sm font-medium outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
755
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground group/dropdown-menu-item relative flex cursor-default items-center gap-2 rounded-xs px-2 py-1.5 text-sm font-medium outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
756
+ className
757
+ ),
758
+ ...props
759
+ }
760
+ );
761
+ }
762
+ function DropdownMenuSub({ ...props }) {
763
+ return /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
764
+ }
765
+ function DropdownMenuSubTrigger({
766
+ className,
767
+ inset,
768
+ children,
769
+ ...props
770
+ }) {
771
+ return /* @__PURE__ */ jsxRuntime.jsxs(
772
+ menu.Menu.SubmenuTrigger,
773
+ {
774
+ "data-slot": "dropdown-menu-sub-trigger",
775
+ "data-inset": inset,
776
+ className: cn(
777
+ "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-popup-open:bg-accent data-popup-open:text-accent-foreground flex cursor-default items-center gap-2 rounded-xs px-2 py-1.5 text-sm outline-hidden select-none data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
639
778
  className
640
779
  ),
780
+ ...props,
781
+ children: [
782
+ children,
783
+ /* @__PURE__ */ jsxRuntime.jsx(icons.ChevronRight, { className: "ml-auto" })
784
+ ]
785
+ }
786
+ );
787
+ }
788
+ function DropdownMenuSubContent({
789
+ align = "start",
790
+ alignOffset = -3,
791
+ side = "right",
792
+ sideOffset = 0,
793
+ className,
794
+ ...props
795
+ }) {
796
+ return /* @__PURE__ */ jsxRuntime.jsx(
797
+ DropdownMenuContent,
798
+ {
799
+ "data-slot": "dropdown-menu-sub-content",
800
+ className: cn(
801
+ "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 ring-white dark:ring-gray-700 bg-popover text-popover-foreground w-auto min-w-[96px] rounded-sm p-1 shadow-lg ring-1 duration-100",
802
+ className
803
+ ),
804
+ align,
805
+ alignOffset,
806
+ side,
807
+ sideOffset,
641
808
  ...props
642
809
  }
643
810
  );
@@ -646,80 +813,79 @@ function DropdownMenuCheckboxItem({
646
813
  className,
647
814
  children,
648
815
  checked,
816
+ inset,
649
817
  ...props
650
818
  }) {
651
819
  return /* @__PURE__ */ jsxRuntime.jsxs(
652
820
  menu.Menu.CheckboxItem,
653
821
  {
654
822
  "data-slot": "dropdown-menu-checkbox-item",
823
+ "data-inset": inset,
655
824
  className: cn(
656
- "data-highlighted:bg-accent data-highlighted:text-accent-foreground relative flex cursor-default items-center gap-1.5 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
825
+ "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
657
826
  className
658
827
  ),
659
828
  checked,
660
829
  ...props,
661
830
  children: [
662
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
663
- menu.Menu.CheckboxItemIndicator,
831
+ /* @__PURE__ */ jsxRuntime.jsx(
832
+ "span",
664
833
  {
665
- keepMounted: true,
666
- className: "transition data-checked:scale-100 data-checked:opacity-100 data-unchecked:scale-75 data-unchecked:opacity-0",
667
- children: /* @__PURE__ */ jsxRuntime.jsx(icons.CheckCircle, { className: "size-4" })
834
+ className: "pointer-events-none absolute right-2 flex items-center justify-center",
835
+ "data-slot": "dropdown-menu-checkbox-item-indicator",
836
+ children: /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(
837
+ icons.Check,
838
+ {}
839
+ ) })
668
840
  }
669
- ) }),
841
+ ),
670
842
  children
671
843
  ]
672
844
  }
673
845
  );
674
846
  }
675
847
  function DropdownMenuRadioGroup({ ...props }) {
676
- return /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.RadioGroup, { "data-slot": "dropdown-menu-radio-group", ...props });
848
+ return /* @__PURE__ */ jsxRuntime.jsx(
849
+ menu.Menu.RadioGroup,
850
+ {
851
+ "data-slot": "dropdown-menu-radio-group",
852
+ ...props
853
+ }
854
+ );
677
855
  }
678
856
  function DropdownMenuRadioItem({
679
857
  className,
680
858
  children,
859
+ inset,
681
860
  ...props
682
861
  }) {
683
862
  return /* @__PURE__ */ jsxRuntime.jsxs(
684
863
  menu.Menu.RadioItem,
685
864
  {
686
865
  "data-slot": "dropdown-menu-radio-item",
866
+ "data-inset": inset,
687
867
  className: cn(
688
- "data-highlighted:bg-accent data-highlighted:text-accent-foreground relative flex cursor-default items-center gap-1.5 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
868
+ "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
689
869
  className
690
870
  ),
691
871
  ...props,
692
872
  children: [
693
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
694
- menu.Menu.RadioItemIndicator,
873
+ /* @__PURE__ */ jsxRuntime.jsx(
874
+ "span",
695
875
  {
696
- keepMounted: true,
697
- className: "transition data-checked:scale-100 data-checked:opacity-100 data-unchecked:scale-75 data-unchecked:opacity-0",
698
- children: /* @__PURE__ */ jsxRuntime.jsx(icons.Circle, { className: "size-2 fill-current" })
876
+ className: "pointer-events-none absolute right-2 flex items-center justify-center",
877
+ "data-slot": "dropdown-menu-radio-item-indicator",
878
+ children: /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.RadioItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(
879
+ icons.Check,
880
+ {}
881
+ ) })
699
882
  }
700
- ) }),
883
+ ),
701
884
  children
702
885
  ]
703
886
  }
704
887
  );
705
888
  }
706
- function DropdownMenuLabel({
707
- className,
708
- inset,
709
- children,
710
- ...props
711
- }) {
712
- return /* @__PURE__ */ jsxRuntime.jsx(
713
- menu.Menu.GroupLabel,
714
- {
715
- "data-slot": "dropdown-menu-label",
716
- "data-inset": inset,
717
- className: cn("px-2 py-1.5 text-sm font-medium data-inset:pl-8", className),
718
- ...props,
719
- children
720
- }
721
- );
722
- }
723
889
  function DropdownMenuSeparator({
724
890
  className,
725
891
  ...props
@@ -733,62 +899,22 @@ function DropdownMenuSeparator({
733
899
  }
734
900
  );
735
901
  }
736
- function DropdownMenuShortcut({ className, ...props }) {
737
- return /* @__PURE__ */ jsxRuntime.jsx(
738
- "span",
739
- {
740
- "data-slot": "dropdown-menu-shortcut",
741
- className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
742
- ...props
743
- }
744
- );
745
- }
746
- function DropdownMenuSub({ ...props }) {
747
- return /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
748
- }
749
- function DropdownMenuSubTrigger({
902
+ function DropdownMenuShortcut({
750
903
  className,
751
- inset,
752
- children,
753
904
  ...props
754
905
  }) {
755
- return /* @__PURE__ */ jsxRuntime.jsxs(
756
- menu.Menu.SubmenuTrigger,
906
+ return /* @__PURE__ */ jsxRuntime.jsx(
907
+ "span",
757
908
  {
758
- "data-slot": "dropdown-menu-sub-trigger",
759
- "data-inset": inset,
909
+ "data-slot": "dropdown-menu-shortcut",
760
910
  className: cn(
761
- "data-highlighted:bg-accent data-highlighted:text-accent-foreground data-popup-open:bg-accent data-popup-open:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-1.5 rounded-xs px-2 py-1.5 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
911
+ "text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-xs tracking-widest",
762
912
  className
763
913
  ),
764
- ...props,
765
- children: [
766
- children,
767
- /* @__PURE__ */ jsxRuntime.jsx(icons.ChevronRight, { className: "ml-auto size-4" })
768
- ]
914
+ ...props
769
915
  }
770
916
  );
771
917
  }
772
- function DropdownMenuSubContent({
773
- className,
774
- sideOffset = 4,
775
- positionerProps,
776
- children,
777
- ...props
778
- }) {
779
- return /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.Positioner, { sideOffset, ...positionerProps, children: /* @__PURE__ */ jsxRuntime.jsx(
780
- menu.Menu.Popup,
781
- {
782
- "data-slot": "dropdown-menu-sub-content",
783
- className: cn(
784
- "bg-popover text-popover-foreground 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 z-50 min-w-32 origin-(--transform-origin) overflow-hidden rounded-2xl border p-1 shadow-lg",
785
- className
786
- ),
787
- ...props,
788
- children
789
- }
790
- ) }) });
791
- }
792
918
  function Footer({
793
919
  theme = "template",
794
920
  logo,
@@ -980,7 +1106,7 @@ function Input({ className, type, ...props }) {
980
1106
  "data-slot": "input",
981
1107
  className: cn(
982
1108
  "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
983
- "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
1109
+ "focus-visible:border-ring focus-visible:ring-ring focus-visible:ring-[3px]",
984
1110
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
985
1111
  className
986
1112
  ),
@@ -1052,37 +1178,59 @@ function NotificationBadge({
1052
1178
  });
1053
1179
  }
1054
1180
  var SectionFlourish = () => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center self-stretch py-8 text-xl", children: "\u2726" });
1055
- function TooltipProvider({ delay = 0, ...props }) {
1056
- return /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Provider, { "data-slot": "tooltip-provider", delay, ...props });
1181
+ function TooltipProvider({
1182
+ delay = 0,
1183
+ ...props
1184
+ }) {
1185
+ return /* @__PURE__ */ jsxRuntime.jsx(
1186
+ tooltip.Tooltip.Provider,
1187
+ {
1188
+ "data-slot": "tooltip-provider",
1189
+ delay,
1190
+ ...props
1191
+ }
1192
+ );
1057
1193
  }
1058
1194
  function Tooltip({ ...props }) {
1059
- return /* @__PURE__ */ jsxRuntime.jsx(TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Root, { "data-slot": "tooltip", ...props }) });
1195
+ return /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Root, { "data-slot": "tooltip", ...props });
1060
1196
  }
1061
1197
  function TooltipTrigger({ ...props }) {
1062
1198
  return /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Trigger, { "data-slot": "tooltip-trigger", ...props });
1063
1199
  }
1064
1200
  function TooltipContent({
1065
1201
  className,
1202
+ side = "top",
1203
+ sideOffset = 4,
1204
+ align = "center",
1205
+ alignOffset = 0,
1066
1206
  children,
1067
- positionerProps,
1068
1207
  ...props
1069
1208
  }) {
1070
- return /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Positioner, { ...positionerProps, className: "isolate z-50", children: /* @__PURE__ */ jsxRuntime.jsxs(
1071
- tooltip.Tooltip.Popup,
1209
+ return /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
1210
+ tooltip.Tooltip.Positioner,
1072
1211
  {
1073
- "data-slot": "tooltip-content",
1074
- className: cn(
1075
- "bg-foreground text-background z-50 w-fit max-w-xs origin-(--transform-origin) rounded-[8px] px-3 py-2 text-xs font-medium",
1076
- className
1077
- ),
1078
- ...props,
1079
- children: [
1080
- /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Arrow, { className: "flex data-[side=bottom]:-top-[6px] data-[side=bottom]:-translate-x-1/2 data-[side=bottom]:rotate-0 data-[side=left]:right-[-13px] data-[side=left]:-translate-y-1/2 data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-translate-y-1/2 data-[side=right]:-rotate-90 data-[side=top]:-bottom-[6px] data-[side=top]:-translate-x-1/2 data-[side=top]:rotate-180", children: /* @__PURE__ */ jsxRuntime.jsx(TooltipArrow, {}) }),
1081
- children,
1082
- /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Arrow, { className: "cn-tooltip-arrow bg-foreground fill-foreground z-50 data-[side=bottom]:top-1 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })
1083
- ]
1212
+ align,
1213
+ alignOffset,
1214
+ side,
1215
+ sideOffset,
1216
+ className: "isolate z-50",
1217
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
1218
+ tooltip.Tooltip.Popup,
1219
+ {
1220
+ "data-slot": "tooltip-content",
1221
+ className: cn(
1222
+ "data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-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 data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2 bg-foreground text-background z-50 w-fit max-w-xs origin-(--transform-origin) rounded-md px-3 py-1.5 text-xs",
1223
+ className
1224
+ ),
1225
+ ...props,
1226
+ children: [
1227
+ children,
1228
+ /* @__PURE__ */ jsxRuntime.jsx(tooltip.Tooltip.Arrow, { className: "flex data-[side=bottom]:-top-[6px] data-[side=bottom]:rotate-0 data-[side=left]:right-[-13px] data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-rotate-90 data-[side=top]:-bottom-[6px] data-[side=top]:rotate-180", children: /* @__PURE__ */ jsxRuntime.jsx(TooltipArrow, {}) })
1229
+ ]
1230
+ }
1231
+ )
1084
1232
  }
1085
- ) }) });
1233
+ ) });
1086
1234
  }
1087
1235
  var TooltipArrow = (props) => {
1088
1236
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -1167,16 +1315,8 @@ function SectionHeader({
1167
1315
  /* @__PURE__ */ jsxRuntime.jsx(
1168
1316
  TooltipContent,
1169
1317
  {
1170
- positionerProps: {
1171
- sideOffset: 2,
1172
- alignOffset: 5,
1173
- collisionAvoidance: {
1174
- side: "shift",
1175
- align: "shift",
1176
- fallbackAxisSide: "none"
1177
- },
1178
- collisionPadding: 16
1179
- },
1318
+ sideOffset: 2,
1319
+ alignOffset: 5,
1180
1320
  children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: description })
1181
1321
  }
1182
1322
  )
@@ -1188,7 +1328,7 @@ function SectionHeader({
1188
1328
  }
1189
1329
  var tagVariants = classVarianceAuthority.cva(
1190
1330
  // Base styles
1191
- "inline-flex items-center justify-center rounded-full box-border relative transition-all duration-150 ease-in-out font-medium text-sm leading-5 text-center whitespace-nowrap appearance-none focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-[rgba(21,94,239,0.6)] focus-visible:ring-offset-0",
1331
+ "inline-flex items-center justify-center rounded-full box-border relative font-medium text-sm leading-5 text-center whitespace-nowrap appearance-none focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/60 focus-visible:ring-offset-0",
1192
1332
  {
1193
1333
  variants: {
1194
1334
  selected: {
@@ -1269,6 +1409,8 @@ function Tag({
1269
1409
  children,
1270
1410
  leading,
1271
1411
  trailing,
1412
+ interactive,
1413
+ type,
1272
1414
  onClick,
1273
1415
  className = ""
1274
1416
  }) {
@@ -1285,7 +1427,8 @@ function Tag({
1285
1427
  };
1286
1428
  const showLeading = leading && !collapsed;
1287
1429
  const showTrailing = trailing && !collapsed;
1288
- const TagElement = onClick ? "button" : "div";
1430
+ const isInteractive = interactive ?? typeof onClick === "function";
1431
+ const TagElement = isInteractive ? "button" : "div";
1289
1432
  return /* @__PURE__ */ jsxRuntime.jsxs(
1290
1433
  TagElement,
1291
1434
  {
@@ -1294,13 +1437,13 @@ function Tag({
1294
1437
  size,
1295
1438
  selected,
1296
1439
  collapsed,
1297
- interactive: !!onClick
1440
+ interactive: isInteractive
1298
1441
  }),
1299
1442
  className
1300
1443
  ),
1301
1444
  onClick: handleClick,
1302
1445
  onKeyDown: handleKeyDown,
1303
- type: onClick ? "button" : void 0,
1446
+ type: isInteractive ? type ?? "button" : void 0,
1304
1447
  children: [
1305
1448
  !collapsed && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1306
1449
  showLeading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden text-inherit", children: leading }),
@@ -1313,17 +1456,18 @@ function Tag({
1313
1456
  );
1314
1457
  }
1315
1458
 
1459
+ exports.BannerNotification = BannerNotification;
1316
1460
  exports.Button = Button;
1317
1461
  exports.ButtonLink = ButtonLink;
1318
1462
  exports.ContentBlock = ContentBlock;
1319
1463
  exports.Dialog = DialogRoot;
1320
- exports.DialogBackdrop = DialogBackdrop;
1321
1464
  exports.DialogBody = DialogBody;
1322
1465
  exports.DialogClose = DialogClose;
1466
+ exports.DialogContent = DialogContent;
1323
1467
  exports.DialogDescription = DialogDescription;
1324
1468
  exports.DialogFooter = DialogFooter;
1325
1469
  exports.DialogHeader = DialogHeader;
1326
- exports.DialogPopup = DialogPopup;
1470
+ exports.DialogOverlay = DialogOverlay;
1327
1471
  exports.DialogPortal = DialogPortal;
1328
1472
  exports.DialogTitle = DialogTitle;
1329
1473
  exports.DialogTrigger = DialogTrigger;