@bison-lab/ui 0.13.2 → 0.14.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/index.mjs CHANGED
@@ -5,14 +5,15 @@ import { defaultFontWeights, densityPresets, deriveDarkPalette, deriveLightPalet
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Separator as Separator$1, Slider as Slider$1, Slot, Switch as Switch$1, Tabs as Tabs$1, Tooltip as Tooltip$1, unstable_PasswordToggleField } from "radix-ui";
7
7
  import { cva } from "class-variance-authority";
8
- import { AlignCenter, AlignLeft, AlignRight, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpDown, Bold, CalendarIcon, Camera, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ChevronsLeft, ChevronsRight, ChevronsUpDown, Circle, Code, Eye, EyeOff, FileQuestion, Heading1, Heading2, Heading3, ImageIcon, Inbox, Italic, Link, Link2Off, List, ListOrdered, Loader2, LogOut, Mail, Menu, Minus, MoreHorizontal, PanelLeftIcon, Plus, Quote, Redo, Search, ServerCrash, SlidersHorizontal, Strikethrough, Underline, Undo, Wrench, X } from "lucide-react";
8
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
9
+ import { faAlignCenter, faAlignLeft, faAlignRight, faArrowDown, faArrowLeft, faArrowRight, faArrowUp, faArrowsUpDown, faBars, faBold, faCalendar, faCamera, faCheck, faChevronDown, faChevronLeft, faChevronRight, faChevronUp, faChevronsLeft, faChevronsRight, faCircle, faCode, faEllipsis, faEnvelope, faEye, faEyeSlash, faFileCircleQuestion, faH1, faH2, faH3, faImage, faInbox, faItalic, faLink, faLinkSlash, faList, faListOl, faMagnifyingGlass, faMinus, faPlus, faQuoteLeft, faRightFromBracket, faRotateLeft, faRotateRight, faServer, faSidebarFlip, faSlidersUp, faSpinnerThird, faStrikethrough, faUnderline, faUpDown, faWrench, faXmark } from "@fortawesome/pro-regular-svg-icons";
9
10
  import { DayPicker } from "react-day-picker";
10
11
  import { endOfMonth, endOfWeek, format, startOfMonth, startOfWeek, startOfYear, subDays, subMonths, subYears } from "date-fns";
11
12
  import { EditorContent, useEditor } from "@tiptap/react";
12
13
  import StarterKit from "@tiptap/starter-kit";
13
14
  import Placeholder from "@tiptap/extension-placeholder";
14
- import Link$1 from "@tiptap/extension-link";
15
- import Underline$1 from "@tiptap/extension-underline";
15
+ import Link from "@tiptap/extension-link";
16
+ import Underline from "@tiptap/extension-underline";
16
17
  import TextAlign from "@tiptap/extension-text-align";
17
18
  import { Toaster as Toaster$1, toast } from "sonner";
18
19
  import { flexRender, getCoreRowModel, getFilteredRowModel, getPaginationRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table";
@@ -398,18 +399,24 @@ const buttonVariants = cva("inline-flex items-center justify-center whitespace-n
398
399
  md: "h-[var(--density-height-md)] px-4 py-2",
399
400
  lg: "h-[var(--density-height-lg)] px-8 text-base rounded-lg",
400
401
  icon: "h-[var(--density-height-md)] w-[var(--density-height-md)]"
402
+ },
403
+ fullWidth: {
404
+ true: "w-full",
405
+ false: ""
401
406
  }
402
407
  },
403
408
  defaultVariants: {
404
409
  variant: "default",
405
- size: "md"
410
+ size: "md",
411
+ fullWidth: false
406
412
  }
407
413
  });
408
- const Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
414
+ const Button = React.forwardRef(({ className, variant, size, fullWidth, asChild = false, ...props }, ref) => {
409
415
  return /* @__PURE__ */ jsx(asChild ? Slot.Slot : "button", {
410
416
  className: cn(buttonVariants({
411
417
  variant,
412
418
  size,
419
+ fullWidth,
413
420
  className
414
421
  })),
415
422
  ref,
@@ -441,8 +448,14 @@ const PasswordInput = React.forwardRef(({ className, ...props }, ref) => {
441
448
  className: "absolute right-0 top-0 flex h-full w-10 items-center justify-center text-muted-foreground hover:text-foreground transition-colors disabled:pointer-events-none disabled:opacity-50",
442
449
  disabled: props.disabled,
443
450
  children: /* @__PURE__ */ jsx(unstable_PasswordToggleField.Icon, {
444
- visible: /* @__PURE__ */ jsx(EyeOff, { className: "h-4 w-4" }),
445
- hidden: /* @__PURE__ */ jsx(Eye, { className: "h-4 w-4" })
451
+ visible: /* @__PURE__ */ jsx(FontAwesomeIcon, {
452
+ icon: faEyeSlash,
453
+ className: "h-4 w-4"
454
+ }),
455
+ hidden: /* @__PURE__ */ jsx(FontAwesomeIcon, {
456
+ icon: faEye,
457
+ className: "h-4 w-4"
458
+ })
446
459
  })
447
460
  })]
448
461
  }) });
@@ -478,7 +491,10 @@ const SelectTrigger = React.forwardRef(({ className, children, ...props }, ref)
478
491
  ...props,
479
492
  children: [children, /* @__PURE__ */ jsx(Select$1.Icon, {
480
493
  asChild: true,
481
- children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 opacity-50" })
494
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
495
+ icon: faChevronDown,
496
+ className: "h-4 w-4 opacity-50"
497
+ })
482
498
  })]
483
499
  }));
484
500
  SelectTrigger.displayName = Select$1.Trigger.displayName;
@@ -486,14 +502,20 @@ const SelectScrollUpButton = React.forwardRef(({ className, ...props }, ref) =>
486
502
  ref,
487
503
  className: cn("flex cursor-default items-center justify-center py-1", className),
488
504
  ...props,
489
- children: /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4" })
505
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
506
+ icon: faChevronUp,
507
+ className: "h-4 w-4"
508
+ })
490
509
  }));
491
510
  SelectScrollUpButton.displayName = Select$1.ScrollUpButton.displayName;
492
511
  const SelectScrollDownButton = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Select$1.ScrollDownButton, {
493
512
  ref,
494
513
  className: cn("flex cursor-default items-center justify-center py-1", className),
495
514
  ...props,
496
- children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
515
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
516
+ icon: faChevronDown,
517
+ className: "h-4 w-4"
518
+ })
497
519
  }));
498
520
  SelectScrollDownButton.displayName = Select$1.ScrollDownButton.displayName;
499
521
  const SelectContent = React.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(Select$1.Portal, { children: /* @__PURE__ */ jsxs(Select$1.Content, {
@@ -523,7 +545,10 @@ const SelectItem = React.forwardRef(({ className, children, ...props }, ref) =>
523
545
  ...props,
524
546
  children: [/* @__PURE__ */ jsx("span", {
525
547
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
526
- children: /* @__PURE__ */ jsx(Select$1.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) })
548
+ children: /* @__PURE__ */ jsx(Select$1.ItemIndicator, { children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
549
+ icon: faCheck,
550
+ className: "h-4 w-4"
551
+ }) })
527
552
  }), /* @__PURE__ */ jsx(Select$1.ItemText, { children })]
528
553
  }));
529
554
  SelectItem.displayName = Select$1.Item.displayName;
@@ -564,7 +589,10 @@ const Calendar = ({ className, classNames, showOutsideDays = true, ...props }) =
564
589
  ...classNames
565
590
  },
566
591
  components: { Chevron: ({ orientation }) => {
567
- return /* @__PURE__ */ jsx(orientation === "left" ? ChevronLeft : ChevronRight, { className: "h-4 w-4" });
592
+ return /* @__PURE__ */ jsx(FontAwesomeIcon, {
593
+ icon: orientation === "left" ? faChevronLeft : faChevronRight,
594
+ className: "h-4 w-4"
595
+ });
568
596
  } },
569
597
  ...props
570
598
  });
@@ -600,7 +628,10 @@ const DatePicker = React.forwardRef(({ value, onChange, placeholder = "Pick a da
600
628
  variant: "outline",
601
629
  disabled,
602
630
  className: cn("w-full justify-start text-left font-normal", !value && "text-muted-foreground", className),
603
- children: [/* @__PURE__ */ jsx(CalendarIcon, { className: "mr-2 h-4 w-4" }), value ? format(value, dateFormat) : /* @__PURE__ */ jsx("span", { children: placeholder })]
631
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
632
+ icon: faCalendar,
633
+ className: "mr-2 h-4 w-4"
634
+ }), value ? format(value, dateFormat) : /* @__PURE__ */ jsx("span", { children: placeholder })]
604
635
  })
605
636
  }), /* @__PURE__ */ jsx(PopoverContent, {
606
637
  className: "w-auto p-0",
@@ -737,7 +768,10 @@ const DateRangePicker = React.forwardRef(({ value, onChange, placeholder = "Pick
737
768
  variant: "outline",
738
769
  disabled,
739
770
  className: cn("w-full justify-start text-left font-normal", !value && "text-muted-foreground", className),
740
- children: [/* @__PURE__ */ jsx(CalendarIcon, { className: "mr-2 h-4 w-4" }), value?.from ? value.to ? /* @__PURE__ */ jsxs(Fragment, { children: [
771
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
772
+ icon: faCalendar,
773
+ className: "mr-2 h-4 w-4"
774
+ }), value?.from ? value.to ? /* @__PURE__ */ jsxs(Fragment, { children: [
741
775
  format(value.from, dateFormat),
742
776
  " – ",
743
777
  format(value.to, dateFormat)
@@ -852,31 +886,46 @@ const EditorToolbar = ({ editor, toolbar = defaultToolbar }) => {
852
886
  onClick: () => editor.chain().focus().toggleBold().run(),
853
887
  isActive: editor.isActive("bold"),
854
888
  tooltip: "Bold",
855
- children: /* @__PURE__ */ jsx(Bold, { className: "h-4 w-4" })
889
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
890
+ icon: faBold,
891
+ className: "h-4 w-4"
892
+ })
856
893
  }),
857
894
  has("italic") && /* @__PURE__ */ jsx(ToolbarButton, {
858
895
  onClick: () => editor.chain().focus().toggleItalic().run(),
859
896
  isActive: editor.isActive("italic"),
860
897
  tooltip: "Italic",
861
- children: /* @__PURE__ */ jsx(Italic, { className: "h-4 w-4" })
898
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
899
+ icon: faItalic,
900
+ className: "h-4 w-4"
901
+ })
862
902
  }),
863
903
  has("underline") && /* @__PURE__ */ jsx(ToolbarButton, {
864
904
  onClick: () => editor.chain().focus().toggleUnderline().run(),
865
905
  isActive: editor.isActive("underline"),
866
906
  tooltip: "Underline",
867
- children: /* @__PURE__ */ jsx(Underline, { className: "h-4 w-4" })
907
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
908
+ icon: faUnderline,
909
+ className: "h-4 w-4"
910
+ })
868
911
  }),
869
912
  has("strike") && /* @__PURE__ */ jsx(ToolbarButton, {
870
913
  onClick: () => editor.chain().focus().toggleStrike().run(),
871
914
  isActive: editor.isActive("strike"),
872
915
  tooltip: "Strikethrough",
873
- children: /* @__PURE__ */ jsx(Strikethrough, { className: "h-4 w-4" })
916
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
917
+ icon: faStrikethrough,
918
+ className: "h-4 w-4"
919
+ })
874
920
  }),
875
921
  has("code") && /* @__PURE__ */ jsx(ToolbarButton, {
876
922
  onClick: () => editor.chain().focus().toggleCode().run(),
877
923
  isActive: editor.isActive("code"),
878
924
  tooltip: "Code",
879
- children: /* @__PURE__ */ jsx(Code, { className: "h-4 w-4" })
925
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
926
+ icon: faCode,
927
+ className: "h-4 w-4"
928
+ })
880
929
  }),
881
930
  (has("bold") || has("italic") || has("underline") || has("strike") || has("code")) && (has("heading") || has("bulletList") || has("orderedList") || has("blockquote")) && /* @__PURE__ */ jsx(Separator, {
882
931
  orientation: "vertical",
@@ -887,43 +936,64 @@ const EditorToolbar = ({ editor, toolbar = defaultToolbar }) => {
887
936
  onClick: () => editor.chain().focus().toggleHeading({ level: 1 }).run(),
888
937
  isActive: editor.isActive("heading", { level: 1 }),
889
938
  tooltip: "Heading 1",
890
- children: /* @__PURE__ */ jsx(Heading1, { className: "h-4 w-4" })
939
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
940
+ icon: faH1,
941
+ className: "h-4 w-4"
942
+ })
891
943
  }),
892
944
  /* @__PURE__ */ jsx(ToolbarButton, {
893
945
  onClick: () => editor.chain().focus().toggleHeading({ level: 2 }).run(),
894
946
  isActive: editor.isActive("heading", { level: 2 }),
895
947
  tooltip: "Heading 2",
896
- children: /* @__PURE__ */ jsx(Heading2, { className: "h-4 w-4" })
948
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
949
+ icon: faH2,
950
+ className: "h-4 w-4"
951
+ })
897
952
  }),
898
953
  /* @__PURE__ */ jsx(ToolbarButton, {
899
954
  onClick: () => editor.chain().focus().toggleHeading({ level: 3 }).run(),
900
955
  isActive: editor.isActive("heading", { level: 3 }),
901
956
  tooltip: "Heading 3",
902
- children: /* @__PURE__ */ jsx(Heading3, { className: "h-4 w-4" })
957
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
958
+ icon: faH3,
959
+ className: "h-4 w-4"
960
+ })
903
961
  })
904
962
  ] }),
905
963
  has("bulletList") && /* @__PURE__ */ jsx(ToolbarButton, {
906
964
  onClick: () => editor.chain().focus().toggleBulletList().run(),
907
965
  isActive: editor.isActive("bulletList"),
908
966
  tooltip: "Bullet list",
909
- children: /* @__PURE__ */ jsx(List, { className: "h-4 w-4" })
967
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
968
+ icon: faList,
969
+ className: "h-4 w-4"
970
+ })
910
971
  }),
911
972
  has("orderedList") && /* @__PURE__ */ jsx(ToolbarButton, {
912
973
  onClick: () => editor.chain().focus().toggleOrderedList().run(),
913
974
  isActive: editor.isActive("orderedList"),
914
975
  tooltip: "Ordered list",
915
- children: /* @__PURE__ */ jsx(ListOrdered, { className: "h-4 w-4" })
976
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
977
+ icon: faListOl,
978
+ className: "h-4 w-4"
979
+ })
916
980
  }),
917
981
  has("blockquote") && /* @__PURE__ */ jsx(ToolbarButton, {
918
982
  onClick: () => editor.chain().focus().toggleBlockquote().run(),
919
983
  isActive: editor.isActive("blockquote"),
920
984
  tooltip: "Blockquote",
921
- children: /* @__PURE__ */ jsx(Quote, { className: "h-4 w-4" })
985
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
986
+ icon: faQuoteLeft,
987
+ className: "h-4 w-4"
988
+ })
922
989
  }),
923
990
  has("horizontalRule") && /* @__PURE__ */ jsx(ToolbarButton, {
924
991
  onClick: () => editor.chain().focus().setHorizontalRule().run(),
925
992
  tooltip: "Horizontal rule",
926
- children: /* @__PURE__ */ jsx(Minus, { className: "h-4 w-4" })
993
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
994
+ icon: faMinus,
995
+ className: "h-4 w-4"
996
+ })
927
997
  }),
928
998
  (has("heading") || has("bulletList") || has("orderedList") || has("blockquote")) && (has("link") || has("align")) && /* @__PURE__ */ jsx(Separator, {
929
999
  orientation: "vertical",
@@ -933,26 +1003,41 @@ const EditorToolbar = ({ editor, toolbar = defaultToolbar }) => {
933
1003
  onClick: handleLink,
934
1004
  isActive: editor.isActive("link"),
935
1005
  tooltip: editor.isActive("link") ? "Remove link" : "Add link",
936
- children: editor.isActive("link") ? /* @__PURE__ */ jsx(Link2Off, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(Link, { className: "h-4 w-4" })
1006
+ children: editor.isActive("link") ? /* @__PURE__ */ jsx(FontAwesomeIcon, {
1007
+ icon: faLinkSlash,
1008
+ className: "h-4 w-4"
1009
+ }) : /* @__PURE__ */ jsx(FontAwesomeIcon, {
1010
+ icon: faLink,
1011
+ className: "h-4 w-4"
1012
+ })
937
1013
  }),
938
1014
  has("align") && /* @__PURE__ */ jsxs(Fragment, { children: [
939
1015
  /* @__PURE__ */ jsx(ToolbarButton, {
940
1016
  onClick: () => editor.chain().focus().setTextAlign("left").run(),
941
1017
  isActive: editor.isActive({ textAlign: "left" }),
942
1018
  tooltip: "Align left",
943
- children: /* @__PURE__ */ jsx(AlignLeft, { className: "h-4 w-4" })
1019
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
1020
+ icon: faAlignLeft,
1021
+ className: "h-4 w-4"
1022
+ })
944
1023
  }),
945
1024
  /* @__PURE__ */ jsx(ToolbarButton, {
946
1025
  onClick: () => editor.chain().focus().setTextAlign("center").run(),
947
1026
  isActive: editor.isActive({ textAlign: "center" }),
948
1027
  tooltip: "Align center",
949
- children: /* @__PURE__ */ jsx(AlignCenter, { className: "h-4 w-4" })
1028
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
1029
+ icon: faAlignCenter,
1030
+ className: "h-4 w-4"
1031
+ })
950
1032
  }),
951
1033
  /* @__PURE__ */ jsx(ToolbarButton, {
952
1034
  onClick: () => editor.chain().focus().setTextAlign("right").run(),
953
1035
  isActive: editor.isActive({ textAlign: "right" }),
954
1036
  tooltip: "Align right",
955
- children: /* @__PURE__ */ jsx(AlignRight, { className: "h-4 w-4" })
1037
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
1038
+ icon: faAlignRight,
1039
+ className: "h-4 w-4"
1040
+ })
956
1041
  })
957
1042
  ] }),
958
1043
  (has("link") || has("align")) && (has("undo") || has("redo")) && /* @__PURE__ */ jsx(Separator, {
@@ -963,13 +1048,19 @@ const EditorToolbar = ({ editor, toolbar = defaultToolbar }) => {
963
1048
  onClick: () => editor.chain().focus().undo().run(),
964
1049
  disabled: !editor.can().undo(),
965
1050
  tooltip: "Undo",
966
- children: /* @__PURE__ */ jsx(Undo, { className: "h-4 w-4" })
1051
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
1052
+ icon: faRotateLeft,
1053
+ className: "h-4 w-4"
1054
+ })
967
1055
  }),
968
1056
  has("redo") && /* @__PURE__ */ jsx(ToolbarButton, {
969
1057
  onClick: () => editor.chain().focus().redo().run(),
970
1058
  disabled: !editor.can().redo(),
971
1059
  tooltip: "Redo",
972
- children: /* @__PURE__ */ jsx(Redo, { className: "h-4 w-4" })
1060
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
1061
+ icon: faRotateRight,
1062
+ className: "h-4 w-4"
1063
+ })
973
1064
  })
974
1065
  ]
975
1066
  })
@@ -985,8 +1076,8 @@ const TextEditor = React.forwardRef(({ value, onChange, placeholder = "Start wri
985
1076
  3
986
1077
  ] } }),
987
1078
  Placeholder.configure({ placeholder }),
988
- Underline$1,
989
- Link$1.configure({
1079
+ Underline,
1080
+ Link.configure({
990
1081
  openOnClick: false,
991
1082
  HTMLAttributes: { class: "text-primary underline underline-offset-4 cursor-pointer" }
992
1083
  }),
@@ -1041,7 +1132,10 @@ const Checkbox = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1041
1132
  ...props,
1042
1133
  children: /* @__PURE__ */ jsx(Checkbox$1.Indicator, {
1043
1134
  className: cn("flex items-center justify-center text-current"),
1044
- children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" })
1135
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
1136
+ icon: faCheck,
1137
+ className: "h-4 w-4"
1138
+ })
1045
1139
  })
1046
1140
  }));
1047
1141
  Checkbox.displayName = Checkbox$1.Root.displayName;
@@ -1059,7 +1153,10 @@ const RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => /* @__
1059
1153
  ...props,
1060
1154
  children: /* @__PURE__ */ jsx(RadioGroup$1.Indicator, {
1061
1155
  className: "flex items-center justify-center",
1062
- children: /* @__PURE__ */ jsx(Circle, { className: "h-2.5 w-2.5 fill-current text-current" })
1156
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
1157
+ icon: faCircle,
1158
+ className: "h-2.5 w-2.5 fill-current text-current"
1159
+ })
1063
1160
  })
1064
1161
  }));
1065
1162
  RadioGroupItem.displayName = RadioGroup$1.Item.displayName;
@@ -1187,7 +1284,10 @@ const DialogContent = React.forwardRef(({ className, children, ...props }, ref)
1187
1284
  ...props,
1188
1285
  children: [children, /* @__PURE__ */ jsxs(Dialog$1.Close, {
1189
1286
  className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
1190
- children: [/* @__PURE__ */ jsx(X, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", {
1287
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
1288
+ icon: faXmark,
1289
+ className: "h-4 w-4"
1290
+ }), /* @__PURE__ */ jsx("span", {
1191
1291
  className: "sr-only",
1192
1292
  children: "Close"
1193
1293
  })]
@@ -1292,7 +1392,10 @@ const SheetContent = React.forwardRef(({ side = "right", className, children, ..
1292
1392
  ...props,
1293
1393
  children: [children, /* @__PURE__ */ jsxs(Dialog$1.Close, {
1294
1394
  className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",
1295
- children: [/* @__PURE__ */ jsx(X, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", {
1395
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
1396
+ icon: faXmark,
1397
+ className: "h-4 w-4"
1398
+ }), /* @__PURE__ */ jsx("span", {
1296
1399
  className: "sr-only",
1297
1400
  children: "Close"
1298
1401
  })]
@@ -1331,7 +1434,10 @@ const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, .
1331
1434
  ref,
1332
1435
  className: cn("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent", inset && "pl-8", className),
1333
1436
  ...props,
1334
- children: [children, /* @__PURE__ */ jsx(ChevronRight, { className: "ml-auto h-4 w-4" })]
1437
+ children: [children, /* @__PURE__ */ jsx(FontAwesomeIcon, {
1438
+ icon: faChevronRight,
1439
+ className: "ml-auto h-4 w-4"
1440
+ })]
1335
1441
  }));
1336
1442
  DropdownMenuSubTrigger.displayName = DropdownMenu$1.SubTrigger.displayName;
1337
1443
  const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenu$1.SubContent, {
@@ -1360,7 +1466,10 @@ const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checke
1360
1466
  ...props,
1361
1467
  children: [/* @__PURE__ */ jsx("span", {
1362
1468
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
1363
- children: /* @__PURE__ */ jsx(DropdownMenu$1.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) })
1469
+ children: /* @__PURE__ */ jsx(DropdownMenu$1.ItemIndicator, { children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
1470
+ icon: faCheck,
1471
+ className: "h-4 w-4"
1472
+ }) })
1364
1473
  }), children]
1365
1474
  }));
1366
1475
  DropdownMenuCheckboxItem.displayName = DropdownMenu$1.CheckboxItem.displayName;
@@ -1370,7 +1479,10 @@ const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props
1370
1479
  ...props,
1371
1480
  children: [/* @__PURE__ */ jsx("span", {
1372
1481
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
1373
- children: /* @__PURE__ */ jsx(DropdownMenu$1.ItemIndicator, { children: /* @__PURE__ */ jsx(Circle, { className: "h-2 w-2 fill-current" }) })
1482
+ children: /* @__PURE__ */ jsx(DropdownMenu$1.ItemIndicator, { children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
1483
+ icon: faCircle,
1484
+ className: "h-2 w-2 fill-current"
1485
+ }) })
1374
1486
  }), children]
1375
1487
  }));
1376
1488
  DropdownMenuRadioItem.displayName = DropdownMenu$1.RadioItem.displayName;
@@ -1442,7 +1554,10 @@ const AccordionTrigger = React.forwardRef(({ className, children, ...props }, re
1442
1554
  ref,
1443
1555
  className: cn("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", className),
1444
1556
  ...props,
1445
- children: [children, /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-normal" })]
1557
+ children: [children, /* @__PURE__ */ jsx(FontAwesomeIcon, {
1558
+ icon: faChevronDown,
1559
+ className: "h-4 w-4 shrink-0 transition-transform duration-normal"
1560
+ })]
1446
1561
  })
1447
1562
  }));
1448
1563
  AccordionTrigger.displayName = Accordion$1.Trigger.displayName;
@@ -1541,7 +1656,16 @@ function DataTableColumnHeader({ column, title, className }) {
1541
1656
  size: "sm",
1542
1657
  className: cn("-ml-3 h-8 data-[state=open]:bg-accent", className),
1543
1658
  onClick: () => column.toggleSorting(sorted === "asc"),
1544
- children: [title, sorted === "asc" ? /* @__PURE__ */ jsx(ArrowUp, { className: "ml-2 h-3.5 w-3.5" }) : sorted === "desc" ? /* @__PURE__ */ jsx(ArrowDown, { className: "ml-2 h-3.5 w-3.5" }) : /* @__PURE__ */ jsx(ArrowUpDown, { className: "ml-2 h-3.5 w-3.5 text-muted-foreground/50" })]
1659
+ children: [title, sorted === "asc" ? /* @__PURE__ */ jsx(FontAwesomeIcon, {
1660
+ icon: faArrowUp,
1661
+ className: "ml-2 h-3.5 w-3.5"
1662
+ }) : sorted === "desc" ? /* @__PURE__ */ jsx(FontAwesomeIcon, {
1663
+ icon: faArrowDown,
1664
+ className: "ml-2 h-3.5 w-3.5"
1665
+ }) : /* @__PURE__ */ jsx(FontAwesomeIcon, {
1666
+ icon: faArrowsUpDown,
1667
+ className: "ml-2 h-3.5 w-3.5 text-muted-foreground/50"
1668
+ })]
1545
1669
  });
1546
1670
  }
1547
1671
  DataTableColumnHeader.displayName = "DataTableColumnHeader";
@@ -1667,7 +1791,10 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
1667
1791
  variant: "outline",
1668
1792
  size: "sm",
1669
1793
  className: "ml-auto h-8",
1670
- children: [/* @__PURE__ */ jsx(SlidersHorizontal, { className: "mr-2 h-4 w-4" }), "Columns"]
1794
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
1795
+ icon: faSlidersUp,
1796
+ className: "mr-2 h-4 w-4"
1797
+ }), "Columns"]
1671
1798
  })
1672
1799
  }), /* @__PURE__ */ jsxs(DropdownMenuContent, {
1673
1800
  align: "end",
@@ -1758,7 +1885,10 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
1758
1885
  children: [/* @__PURE__ */ jsx("span", {
1759
1886
  className: "sr-only",
1760
1887
  children: "Go to first page"
1761
- }), /* @__PURE__ */ jsx(ChevronsLeft, { className: "h-4 w-4" })]
1888
+ }), /* @__PURE__ */ jsx(FontAwesomeIcon, {
1889
+ icon: faChevronsLeft,
1890
+ className: "h-4 w-4"
1891
+ })]
1762
1892
  }),
1763
1893
  /* @__PURE__ */ jsxs(Button, {
1764
1894
  variant: "outline",
@@ -1769,7 +1899,10 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
1769
1899
  children: [/* @__PURE__ */ jsx("span", {
1770
1900
  className: "sr-only",
1771
1901
  children: "Go to previous page"
1772
- }), /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })]
1902
+ }), /* @__PURE__ */ jsx(FontAwesomeIcon, {
1903
+ icon: faChevronLeft,
1904
+ className: "h-4 w-4"
1905
+ })]
1773
1906
  }),
1774
1907
  /* @__PURE__ */ jsxs(Button, {
1775
1908
  variant: "outline",
@@ -1780,7 +1913,10 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
1780
1913
  children: [/* @__PURE__ */ jsx("span", {
1781
1914
  className: "sr-only",
1782
1915
  children: "Go to next page"
1783
- }), /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" })]
1916
+ }), /* @__PURE__ */ jsx(FontAwesomeIcon, {
1917
+ icon: faChevronRight,
1918
+ className: "h-4 w-4"
1919
+ })]
1784
1920
  }),
1785
1921
  /* @__PURE__ */ jsxs(Button, {
1786
1922
  variant: "outline",
@@ -1791,7 +1927,10 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
1791
1927
  children: [/* @__PURE__ */ jsx("span", {
1792
1928
  className: "sr-only",
1793
1929
  children: "Go to last page"
1794
- }), /* @__PURE__ */ jsx(ChevronsRight, { className: "h-4 w-4" })]
1930
+ }), /* @__PURE__ */ jsx(FontAwesomeIcon, {
1931
+ icon: faChevronsRight,
1932
+ className: "h-4 w-4"
1933
+ })]
1795
1934
  })
1796
1935
  ]
1797
1936
  })
@@ -1810,7 +1949,7 @@ const Progress = React.forwardRef(({ className, value, ...props }, ref) => /* @_
1810
1949
  className: cn("relative h-4 w-full overflow-hidden rounded-full bg-secondary", className),
1811
1950
  ...props,
1812
1951
  children: /* @__PURE__ */ jsx(Progress$1.Indicator, {
1813
- className: "h-full w-full flex-1 bg-primary transition-all duration-normal ease-default",
1952
+ className: "h-full w-full flex-1 bg-secondary transition-all duration-normal ease-default",
1814
1953
  style: { transform: `translateX(-${100 - (value || 0)}%)` }
1815
1954
  })
1816
1955
  }));
@@ -1918,7 +2057,7 @@ function Skeleton({ className, ...props }) {
1918
2057
  }
1919
2058
  //#endregion
1920
2059
  //#region src/components/spinner.tsx
1921
- const spinnerVariants = cva("animate-spin text-muted-foreground", {
2060
+ const spinnerVariants = cva("text-muted-foreground", {
1922
2061
  variants: { size: {
1923
2062
  sm: "h-4 w-4",
1924
2063
  md: "h-6 w-6",
@@ -1927,9 +2066,14 @@ const spinnerVariants = cva("animate-spin text-muted-foreground", {
1927
2066
  defaultVariants: { size: "md" }
1928
2067
  });
1929
2068
  function Spinner({ className, size, ...props }) {
1930
- return /* @__PURE__ */ jsx(Loader2, {
2069
+ return /* @__PURE__ */ jsx("span", {
1931
2070
  className: cn(spinnerVariants({ size }), className),
1932
- ...props
2071
+ ...props,
2072
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
2073
+ icon: faSpinnerThird,
2074
+ spin: true,
2075
+ className: "h-full w-full"
2076
+ })
1933
2077
  });
1934
2078
  }
1935
2079
  //#endregion
@@ -1944,7 +2088,10 @@ const ContextMenuSubTrigger = React.forwardRef(({ className, inset, children, ..
1944
2088
  ref,
1945
2089
  className: cn("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground", inset && "pl-8", className),
1946
2090
  ...props,
1947
- children: [children, /* @__PURE__ */ jsx(ChevronRight, { className: "ml-auto h-4 w-4" })]
2091
+ children: [children, /* @__PURE__ */ jsx(FontAwesomeIcon, {
2092
+ icon: faChevronRight,
2093
+ className: "ml-auto h-4 w-4"
2094
+ })]
1948
2095
  }));
1949
2096
  ContextMenuSubTrigger.displayName = ContextMenu$1.SubTrigger.displayName;
1950
2097
  const ContextMenuSubContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ContextMenu$1.SubContent, {
@@ -1972,7 +2119,10 @@ const ContextMenuCheckboxItem = React.forwardRef(({ className, children, checked
1972
2119
  ...props,
1973
2120
  children: [/* @__PURE__ */ jsx("span", {
1974
2121
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
1975
- children: /* @__PURE__ */ jsx(ContextMenu$1.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) })
2122
+ children: /* @__PURE__ */ jsx(ContextMenu$1.ItemIndicator, { children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
2123
+ icon: faCheck,
2124
+ className: "h-4 w-4"
2125
+ }) })
1976
2126
  }), children]
1977
2127
  }));
1978
2128
  ContextMenuCheckboxItem.displayName = ContextMenu$1.CheckboxItem.displayName;
@@ -1982,7 +2132,10 @@ const ContextMenuRadioItem = React.forwardRef(({ className, children, ...props }
1982
2132
  ...props,
1983
2133
  children: [/* @__PURE__ */ jsx("span", {
1984
2134
  className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
1985
- children: /* @__PURE__ */ jsx(ContextMenu$1.ItemIndicator, { children: /* @__PURE__ */ jsx(Circle, { className: "h-2 w-2 fill-current" }) })
2135
+ children: /* @__PURE__ */ jsx(ContextMenu$1.ItemIndicator, { children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
2136
+ icon: faCircle,
2137
+ className: "h-2 w-2 fill-current"
2138
+ }) })
1986
2139
  }), children]
1987
2140
  }));
1988
2141
  ContextMenuRadioItem.displayName = ContextMenu$1.RadioItem.displayName;
@@ -2026,7 +2179,8 @@ const NavigationMenuTrigger = React.forwardRef(({ className, children, ...props
2026
2179
  children: [
2027
2180
  children,
2028
2181
  " ",
2029
- /* @__PURE__ */ jsx(ChevronDown, {
2182
+ /* @__PURE__ */ jsx(FontAwesomeIcon, {
2183
+ icon: faChevronDown,
2030
2184
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
2031
2185
  "aria-hidden": "true"
2032
2186
  })
@@ -2098,7 +2252,7 @@ const BreadcrumbSeparator = ({ children, className, ...props }) => /* @__PURE__
2098
2252
  "aria-hidden": "true",
2099
2253
  className: cn("[&>svg]:h-3.5 [&>svg]:w-3.5", className),
2100
2254
  ...props,
2101
- children: children ?? /* @__PURE__ */ jsx(ChevronRight, {})
2255
+ children: children ?? /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faChevronRight })
2102
2256
  });
2103
2257
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
2104
2258
  const BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs("span", {
@@ -2106,7 +2260,10 @@ const BreadcrumbEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs("sp
2106
2260
  "aria-hidden": "true",
2107
2261
  className: cn("flex h-9 w-9 items-center justify-center", className),
2108
2262
  ...props,
2109
- children: [/* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", {
2263
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
2264
+ icon: faEllipsis,
2265
+ className: "h-4 w-4"
2266
+ }), /* @__PURE__ */ jsx("span", {
2110
2267
  className: "sr-only",
2111
2268
  children: "More"
2112
2269
  })]
@@ -2147,7 +2304,10 @@ const PaginationPrevious = ({ className, ...props }) => /* @__PURE__ */ jsxs(Pag
2147
2304
  size: "md",
2148
2305
  className: cn("gap-1 pl-2.5", className),
2149
2306
  ...props,
2150
- children: [/* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", { children: "Previous" })]
2307
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
2308
+ icon: faChevronLeft,
2309
+ className: "h-4 w-4"
2310
+ }), /* @__PURE__ */ jsx("span", { children: "Previous" })]
2151
2311
  });
2152
2312
  PaginationPrevious.displayName = "PaginationPrevious";
2153
2313
  const PaginationNext = ({ className, ...props }) => /* @__PURE__ */ jsxs(PaginationLink, {
@@ -2155,14 +2315,20 @@ const PaginationNext = ({ className, ...props }) => /* @__PURE__ */ jsxs(Paginat
2155
2315
  size: "md",
2156
2316
  className: cn("gap-1 pr-2.5", className),
2157
2317
  ...props,
2158
- children: [/* @__PURE__ */ jsx("span", { children: "Next" }), /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" })]
2318
+ children: [/* @__PURE__ */ jsx("span", { children: "Next" }), /* @__PURE__ */ jsx(FontAwesomeIcon, {
2319
+ icon: faChevronRight,
2320
+ className: "h-4 w-4"
2321
+ })]
2159
2322
  });
2160
2323
  PaginationNext.displayName = "PaginationNext";
2161
2324
  const PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs("span", {
2162
2325
  "aria-hidden": true,
2163
2326
  className: cn("flex h-9 w-9 items-center justify-center", className),
2164
2327
  ...props,
2165
- children: [/* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", {
2328
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
2329
+ icon: faEllipsis,
2330
+ className: "h-4 w-4"
2331
+ }), /* @__PURE__ */ jsx("span", {
2166
2332
  className: "sr-only",
2167
2333
  children: "More pages"
2168
2334
  })]
@@ -2189,7 +2355,10 @@ const CommandDialog = ({ children, ...props }) => /* @__PURE__ */ jsx(Dialog, {
2189
2355
  const CommandInput = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs("div", {
2190
2356
  className: "flex items-center border-b px-3",
2191
2357
  "cmdk-input-wrapper": "",
2192
- children: [/* @__PURE__ */ jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }), /* @__PURE__ */ jsx(Command$1.Input, {
2358
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
2359
+ icon: faMagnifyingGlass,
2360
+ className: "mr-2 h-4 w-4 shrink-0 opacity-50"
2361
+ }), /* @__PURE__ */ jsx(Command$1.Input, {
2193
2362
  ref,
2194
2363
  className: cn("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", className),
2195
2364
  ...props
@@ -2395,7 +2564,7 @@ function SidebarTrigger({ className, onClick, ...props }) {
2395
2564
  toggleSidebar();
2396
2565
  },
2397
2566
  ...props,
2398
- children: [/* @__PURE__ */ jsx(PanelLeftIcon, {}), /* @__PURE__ */ jsx("span", {
2567
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faSidebarFlip }), /* @__PURE__ */ jsx("span", {
2399
2568
  className: "sr-only",
2400
2569
  children: "Toggle Sidebar"
2401
2570
  })]
@@ -2984,7 +3153,10 @@ function ForgotPasswordBlock({ onSubmit, onBack, loading = false, error, disable
2984
3153
  children: success ? /* @__PURE__ */ jsxs(Fragment, { children: [
2985
3154
  /* @__PURE__ */ jsx("div", {
2986
3155
  className: "mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-primary/10",
2987
- children: /* @__PURE__ */ jsx(Mail, { className: "h-6 w-6 text-primary" })
3156
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
3157
+ icon: faEnvelope,
3158
+ className: "h-6 w-6 text-primary"
3159
+ })
2988
3160
  }),
2989
3161
  /* @__PURE__ */ jsx(CardTitle, { children: "Check your email" }),
2990
3162
  /* @__PURE__ */ jsx(CardDescription, { children: "We've sent a password reset link to your email address." })
@@ -3024,7 +3196,10 @@ function ForgotPasswordBlock({ onSubmit, onBack, loading = false, error, disable
3024
3196
  type: "button",
3025
3197
  onClick: onBack,
3026
3198
  className: "flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground mx-auto",
3027
- children: [/* @__PURE__ */ jsx(ArrowLeft, { className: "h-4 w-4" }), " Back to sign in"]
3199
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
3200
+ icon: faArrowLeft,
3201
+ className: "h-4 w-4"
3202
+ }), " Back to sign in"]
3028
3203
  })
3029
3204
  ]
3030
3205
  }) })]
@@ -3189,7 +3364,10 @@ function NotFoundBlock({ title = "Page not found", message = "Sorry, we couldn't
3189
3364
  children: [
3190
3365
  /* @__PURE__ */ jsx("div", {
3191
3366
  className: "mb-8 flex h-24 w-24 items-center justify-center rounded-full bg-muted",
3192
- children: /* @__PURE__ */ jsx(FileQuestion, { className: "h-12 w-12 text-muted-foreground" })
3367
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
3368
+ icon: faFileCircleQuestion,
3369
+ className: "h-12 w-12 text-muted-foreground"
3370
+ })
3193
3371
  }),
3194
3372
  /* @__PURE__ */ jsx("h1", {
3195
3373
  className: "text-4xl font-bold tracking-tight mb-2",
@@ -3224,7 +3402,10 @@ function ServerErrorBlock({ title = "Something went wrong", message = "An unexpe
3224
3402
  children: [
3225
3403
  /* @__PURE__ */ jsx("div", {
3226
3404
  className: "mb-8 flex h-24 w-24 items-center justify-center rounded-full bg-destructive/10",
3227
- children: /* @__PURE__ */ jsx(ServerCrash, { className: "h-12 w-12 text-destructive" })
3405
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
3406
+ icon: faServer,
3407
+ className: "h-12 w-12 text-destructive"
3408
+ })
3228
3409
  }),
3229
3410
  /* @__PURE__ */ jsx("h1", {
3230
3411
  className: "text-4xl font-bold tracking-tight mb-2",
@@ -3267,7 +3448,10 @@ function MaintenanceBlock({ title = "Under maintenance", message = "We're perfor
3267
3448
  children: [
3268
3449
  /* @__PURE__ */ jsx("div", {
3269
3450
  className: "mb-8 flex h-24 w-24 items-center justify-center rounded-full bg-muted",
3270
- children: /* @__PURE__ */ jsx(Wrench, { className: "h-12 w-12 text-muted-foreground" })
3451
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
3452
+ icon: faWrench,
3453
+ className: "h-12 w-12 text-muted-foreground"
3454
+ })
3271
3455
  }),
3272
3456
  /* @__PURE__ */ jsx("h2", {
3273
3457
  className: "text-xl font-semibold mb-2",
@@ -3289,7 +3473,7 @@ function MaintenanceBlock({ title = "Under maintenance", message = "We're perfor
3289
3473
  }
3290
3474
  //#endregion
3291
3475
  //#region src/blocks/error/empty-state-block.tsx
3292
- const EmptyStateBlock = React.forwardRef(({ icon: Icon = Inbox, title = "No results found", description = "There's nothing here yet. Get started by creating your first item.", actionLabel, onAction, className, ...props }, ref) => {
3476
+ const EmptyStateBlock = React.forwardRef(({ icon = faInbox, title = "No results found", description = "There's nothing here yet. Get started by creating your first item.", actionLabel, onAction, className, ...props }, ref) => {
3293
3477
  return /* @__PURE__ */ jsxs("div", {
3294
3478
  ref,
3295
3479
  className: cn("flex flex-col items-center justify-center text-center py-16 px-4", className),
@@ -3297,7 +3481,10 @@ const EmptyStateBlock = React.forwardRef(({ icon: Icon = Inbox, title = "No resu
3297
3481
  children: [
3298
3482
  /* @__PURE__ */ jsx("div", {
3299
3483
  className: "mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-muted",
3300
- children: /* @__PURE__ */ jsx(Icon, { className: "h-8 w-8 text-muted-foreground" })
3484
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
3485
+ icon,
3486
+ className: "h-8 w-8 text-muted-foreground"
3487
+ })
3301
3488
  }),
3302
3489
  /* @__PURE__ */ jsx("h3", {
3303
3490
  className: "text-lg font-semibold mb-1",
@@ -3348,7 +3535,10 @@ function HeaderBlock({ logo, nav, actions, onMenuToggle, sticky = true, classNam
3348
3535
  size: "icon",
3349
3536
  className: "md:hidden",
3350
3537
  onClick: onMenuToggle,
3351
- children: [/* @__PURE__ */ jsx(Menu, { className: "h-5 w-5" }), /* @__PURE__ */ jsx("span", {
3538
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, {
3539
+ icon: faBars,
3540
+ className: "h-5 w-5"
3541
+ }), /* @__PURE__ */ jsx("span", {
3352
3542
  className: "sr-only",
3353
3543
  children: "Toggle menu"
3354
3544
  })]
@@ -3460,7 +3650,10 @@ function TeamSwitcher({ teams, activeTeam: activeTeamProp, onTeamChange, onAddTe
3460
3650
  children: activeTeam.plan
3461
3651
  })]
3462
3652
  }),
3463
- /* @__PURE__ */ jsx(ChevronsUpDown, { className: "ml-auto" })
3653
+ /* @__PURE__ */ jsx(FontAwesomeIcon, {
3654
+ icon: faUpDown,
3655
+ className: "ml-auto"
3656
+ })
3464
3657
  ]
3465
3658
  })
3466
3659
  }), /* @__PURE__ */ jsxs(DropdownMenuContent, {
@@ -3493,7 +3686,10 @@ function TeamSwitcher({ teams, activeTeam: activeTeamProp, onTeamChange, onAddTe
3493
3686
  onClick: onAddTeam,
3494
3687
  children: [/* @__PURE__ */ jsx("div", {
3495
3688
  className: "flex size-6 items-center justify-center rounded-md border bg-transparent",
3496
- children: /* @__PURE__ */ jsx(Plus, { className: "size-4" })
3689
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
3690
+ icon: faPlus,
3691
+ className: "size-4"
3692
+ })
3497
3693
  }), /* @__PURE__ */ jsx("div", {
3498
3694
  className: "font-medium text-muted-foreground",
3499
3695
  children: "Add team"
@@ -3515,9 +3711,12 @@ function SidebarNav({ groups }) {
3515
3711
  children: /* @__PURE__ */ jsxs(SidebarMenuButton, {
3516
3712
  tooltip: item.title,
3517
3713
  children: [
3518
- item.icon && /* @__PURE__ */ jsx(item.icon, {}),
3714
+ item.icon && /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: item.icon }),
3519
3715
  /* @__PURE__ */ jsx("span", { children: item.title }),
3520
- /* @__PURE__ */ jsx(ChevronRight, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })
3716
+ /* @__PURE__ */ jsx(FontAwesomeIcon, {
3717
+ icon: faChevronRight,
3718
+ className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"
3719
+ })
3521
3720
  ]
3522
3721
  })
3523
3722
  }), /* @__PURE__ */ jsx(CollapsibleContent, { children: /* @__PURE__ */ jsx(SidebarMenuSub, { children: item.items.map((subItem) => /* @__PURE__ */ jsx(SidebarMenuSubItem, { children: /* @__PURE__ */ jsx(SidebarMenuSubButton, {
@@ -3547,7 +3746,7 @@ function SidebarNav({ groups }) {
3547
3746
  item.onClick();
3548
3747
  }
3549
3748
  },
3550
- children: [item.icon && /* @__PURE__ */ jsx(item.icon, {}), /* @__PURE__ */ jsx("span", { children: item.title })]
3749
+ children: [item.icon && /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: item.icon }), /* @__PURE__ */ jsx("span", { children: item.title })]
3551
3750
  })
3552
3751
  }) }, item.title);
3553
3752
  }) })] }, group.label ?? groupIdx)) });
@@ -3585,7 +3784,10 @@ function SidebarUserNav({ user, menuGroups, onLogout }) {
3585
3784
  children: user.email
3586
3785
  })]
3587
3786
  }),
3588
- /* @__PURE__ */ jsx(ChevronsUpDown, { className: "ml-auto size-4" })
3787
+ /* @__PURE__ */ jsx(FontAwesomeIcon, {
3788
+ icon: faUpDown,
3789
+ className: "ml-auto size-4"
3790
+ })
3589
3791
  ]
3590
3792
  })
3591
3793
  }), /* @__PURE__ */ jsxs(DropdownMenuContent, {
@@ -3621,12 +3823,12 @@ function SidebarUserNav({ user, menuGroups, onLogout }) {
3621
3823
  }),
3622
3824
  menuGroups?.map((group, groupIdx) => /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx(DropdownMenuSeparator, {}), /* @__PURE__ */ jsx(DropdownMenuGroup, { children: group.map((item) => /* @__PURE__ */ jsxs(DropdownMenuItem, {
3623
3825
  onClick: item.onClick,
3624
- children: [item.icon && /* @__PURE__ */ jsx(item.icon, {}), item.label]
3826
+ children: [item.icon && /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: item.icon }), item.label]
3625
3827
  }, item.label)) })] }, groupIdx)),
3626
3828
  /* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
3627
3829
  /* @__PURE__ */ jsxs(DropdownMenuItem, {
3628
3830
  onClick: onLogout,
3629
- children: [/* @__PURE__ */ jsx(LogOut, {}), "Log out"]
3831
+ children: [/* @__PURE__ */ jsx(FontAwesomeIcon, { icon: faRightFromBracket }), "Log out"]
3630
3832
  })
3631
3833
  ]
3632
3834
  })] }) }) });
@@ -3656,7 +3858,7 @@ function AppSidebarBlock({ teams, activeTeam, onTeamChange, onAddTeam, navGroups
3656
3858
  }
3657
3859
  //#endregion
3658
3860
  //#region src/blocks/data-display/media-card.tsx
3659
- const MediaCard = React.forwardRef(({ image, fallbackIcon: FallbackIcon = ImageIcon, badge, title, description, meta, footer, href, onAction, loading, disabled, className, ...props }, ref) => {
3861
+ const MediaCard = React.forwardRef(({ image, fallbackIcon = faImage, badge, title, description, meta, footer, href, onAction, loading, disabled, className, ...props }, ref) => {
3660
3862
  return /* @__PURE__ */ jsx(href ? "a" : "div", {
3661
3863
  ...href ? {
3662
3864
  href,
@@ -3677,7 +3879,10 @@ const MediaCard = React.forwardRef(({ image, fallbackIcon: FallbackIcon = ImageI
3677
3879
  className: "h-full w-full object-cover"
3678
3880
  }) : /* @__PURE__ */ jsx("div", {
3679
3881
  className: "flex h-full w-full items-center justify-center bg-muted",
3680
- children: /* @__PURE__ */ jsx(FallbackIcon, { className: "h-10 w-10 text-muted-foreground" })
3882
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
3883
+ icon: fallbackIcon,
3884
+ className: "h-10 w-10 text-muted-foreground"
3885
+ })
3681
3886
  })
3682
3887
  }), badge && /* @__PURE__ */ jsx("div", {
3683
3888
  className: "absolute top-2 right-2",
@@ -3695,19 +3900,28 @@ const MediaCard = React.forwardRef(({ image, fallbackIcon: FallbackIcon = ImageI
3695
3900
  className: "flex flex-wrap gap-x-4 gap-y-1 text-sm text-muted-foreground",
3696
3901
  children: meta.map((item, i) => /* @__PURE__ */ jsxs("span", {
3697
3902
  className: "inline-flex items-center gap-1.5",
3698
- children: [item.icon && /* @__PURE__ */ jsx(item.icon, { className: "h-3.5 w-3.5" }), item.label]
3903
+ children: [item.icon && /* @__PURE__ */ jsx(FontAwesomeIcon, {
3904
+ icon: item.icon,
3905
+ className: "h-3.5 w-3.5"
3906
+ }), item.label]
3699
3907
  }, i))
3700
3908
  }) }),
3701
3909
  footer && /* @__PURE__ */ jsx(CardFooter, { children: href ? /* @__PURE__ */ jsxs("span", {
3702
3910
  className: "inline-flex items-center gap-1.5 text-sm font-medium text-primary",
3703
- children: [footer, /* @__PURE__ */ jsx(ArrowRight, { className: "h-3.5 w-3.5" })]
3911
+ children: [footer, /* @__PURE__ */ jsx(FontAwesomeIcon, {
3912
+ icon: faArrowRight,
3913
+ className: "h-3.5 w-3.5"
3914
+ })]
3704
3915
  }) : /* @__PURE__ */ jsxs(Button, {
3705
3916
  variant: "ghost",
3706
3917
  size: "sm",
3707
3918
  onClick: onAction,
3708
3919
  disabled: disabled || loading,
3709
3920
  className: "gap-1.5 px-0 text-primary hover:text-primary/80",
3710
- children: [footer, /* @__PURE__ */ jsx(ArrowRight, { className: "h-3.5 w-3.5" })]
3921
+ children: [footer, /* @__PURE__ */ jsx(FontAwesomeIcon, {
3922
+ icon: faArrowRight,
3923
+ className: "h-3.5 w-3.5"
3924
+ })]
3711
3925
  }) })
3712
3926
  ]
3713
3927
  })
@@ -3762,7 +3976,10 @@ function ProfileSettingsBlock({ initialData, onSave, onAvatarChange, loading = f
3762
3976
  onClick: handleAvatarClick,
3763
3977
  disabled: loading || disabled,
3764
3978
  className: "absolute inset-0 flex items-center justify-center rounded-full bg-black/50 opacity-0 group-hover:opacity-100 transition-opacity",
3765
- children: /* @__PURE__ */ jsx(Camera, { className: "h-5 w-5 text-white" })
3979
+ children: /* @__PURE__ */ jsx(FontAwesomeIcon, {
3980
+ icon: faCamera,
3981
+ className: "h-5 w-5 text-white"
3982
+ })
3766
3983
  }),
3767
3984
  /* @__PURE__ */ jsx("input", {
3768
3985
  ref: fileInputRef,