@l3mpire/ui 2.21.0 → 2.21.1

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
@@ -674,7 +674,7 @@ var containerStyle = [
674
674
  "bg-dropdown-bg",
675
675
  "border border-dropdown-border",
676
676
  "rounded-md",
677
- "p-base",
677
+ "p-xs",
678
678
  "shadow-lg"
679
679
  ];
680
680
  var DropdownMenu = React4.forwardRef(
@@ -3946,7 +3946,7 @@ var StatusCell = ({
3946
3946
  label,
3947
3947
  variant = "light",
3948
3948
  type = "primary",
3949
- size = "sm",
3949
+ size = "md",
3950
3950
  className
3951
3951
  }) => /* @__PURE__ */ jsx32("div", { className: cn("flex items-center", className), children: /* @__PURE__ */ jsx32(Badge, { variant, type, size, children: label }) });
3952
3952
  StatusCell.displayName = "StatusCell";
@@ -4991,6 +4991,7 @@ SidePanelContent.displayName = "SidePanelContent";
4991
4991
 
4992
4992
  // src/components/ui/filter/filter-chip-segment.tsx
4993
4993
  import * as React36 from "react";
4994
+ import * as TooltipPrimitive3 from "@radix-ui/react-tooltip";
4994
4995
  import { cva as cva19 } from "class-variance-authority";
4995
4996
  import { Icon as Icon23 } from "@l3mpire/icons";
4996
4997
  import { jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
@@ -5016,6 +5017,43 @@ var filterChipSegmentVariants = cva19(
5016
5017
  }
5017
5018
  }
5018
5019
  );
5020
+ function TruncatedLabel({
5021
+ label,
5022
+ truncate,
5023
+ className
5024
+ }) {
5025
+ const textRef = React36.useRef(null);
5026
+ const [isTruncated, setIsTruncated] = React36.useState(false);
5027
+ React36.useEffect(() => {
5028
+ const el = textRef.current;
5029
+ if (el && truncate) {
5030
+ setIsTruncated(el.scrollWidth > el.clientWidth);
5031
+ }
5032
+ }, [label, truncate]);
5033
+ const span = /* @__PURE__ */ jsx36(
5034
+ "span",
5035
+ {
5036
+ ref: textRef,
5037
+ className: cn(className, truncate && "max-w-[160px] truncate"),
5038
+ children: label
5039
+ }
5040
+ );
5041
+ if (!isTruncated) return span;
5042
+ return /* @__PURE__ */ jsx36(TooltipPrimitive3.Provider, { delayDuration: 300, children: /* @__PURE__ */ jsxs32(TooltipPrimitive3.Root, { children: [
5043
+ /* @__PURE__ */ jsx36(TooltipPrimitive3.Trigger, { asChild: true, children: span }),
5044
+ /* @__PURE__ */ jsx36(TooltipPrimitive3.Portal, { children: /* @__PURE__ */ jsxs32(
5045
+ TooltipPrimitive3.Content,
5046
+ {
5047
+ sideOffset: 4,
5048
+ className: "z-50 px-base py-sm rounded-md shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm max-w-[320px] data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
5049
+ children: [
5050
+ label,
5051
+ /* @__PURE__ */ jsx36(TooltipPrimitive3.Arrow, { className: "fill-tooltip-default-bg" })
5052
+ ]
5053
+ }
5054
+ ) })
5055
+ ] }) });
5056
+ }
5019
5057
  var FilterChipSegment = React36.forwardRef(
5020
5058
  ({
5021
5059
  className,
@@ -5077,13 +5115,14 @@ var FilterChipSegment = React36.forwardRef(
5077
5115
  }
5078
5116
  ),
5079
5117
  label && /* @__PURE__ */ jsx36(
5080
- "span",
5118
+ TruncatedLabel,
5081
5119
  {
5120
+ label,
5121
+ truncate: segmentType === "value",
5082
5122
  className: cn(
5083
5123
  "text-sm font-medium leading-sm whitespace-nowrap",
5084
5124
  segmentType === "placeholder" ? "text-filter-chip-segment-placeholder" : "text-filter-chip-segment-text"
5085
- ),
5086
- children: label
5125
+ )
5087
5126
  }
5088
5127
  ),
5089
5128
  badgeCount != null && badgeCount > 0 && /* @__PURE__ */ jsx36("span", { className: "flex items-center gap-2xs p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx36("span", { className: "text-[10px] font-medium leading-2xs text-filter-chip-badge-text", children: badgeCount }) }),
@@ -5474,10 +5513,10 @@ var SortButton = ({
5474
5513
  className: cn(
5475
5514
  "flex items-center gap-xs",
5476
5515
  "min-h-[32px] max-h-[32px]",
5477
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
5478
- "border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm",
5516
+ "bg-gradient-to-t from-btn-outlined-neutral-bg-default to-btn-outlined-neutral-bg-gradient-to-default",
5517
+ "border border-btn-outlined-neutral-border-default rounded-md shadow-sm",
5479
5518
  "cursor-pointer transition-colors",
5480
- "hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]",
5519
+ "hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover",
5481
5520
  iconOnly ? "size-8 justify-center p-0" : "px-md py-sm min-w-[80px]",
5482
5521
  className
5483
5522
  ),
@@ -5487,15 +5526,15 @@ var SortButton = ({
5487
5526
  {
5488
5527
  icon: direction === "asc" ? faArrowUpSmallBigOutline : faArrowDownBigSmallOutline,
5489
5528
  size: "sm",
5490
- className: "shrink-0 text-[var(--color-foreground)]"
5529
+ className: "shrink-0 text-foreground"
5491
5530
  }
5492
5531
  ),
5493
5532
  !iconOnly && /* @__PURE__ */ jsxs34("span", { className: "text-sm font-medium leading-sm whitespace-nowrap", children: [
5494
- /* @__PURE__ */ jsxs34("span", { className: "text-[var(--color-muted-foreground)]", children: [
5533
+ /* @__PURE__ */ jsxs34("span", { className: "text-muted-foreground", children: [
5495
5534
  "Sort by",
5496
5535
  " "
5497
5536
  ] }),
5498
- /* @__PURE__ */ jsx39("span", { className: "text-[var(--color-foreground)]", children: activeLabel })
5537
+ /* @__PURE__ */ jsx39("span", { className: "text-foreground", children: activeLabel })
5499
5538
  ] })
5500
5539
  ]
5501
5540
  }
@@ -5507,7 +5546,7 @@ var SortButton = ({
5507
5546
  align: "start",
5508
5547
  className: cn(
5509
5548
  "z-50 flex flex-col gap-xs overflow-clip p-xs",
5510
- "bg-[var(--color-dropdown-bg)] border border-[var(--color-dropdown-border)] rounded-md shadow-lg",
5549
+ "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
5511
5550
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
5512
5551
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
5513
5552
  "data-[side=bottom]:slide-in-from-top-2",
@@ -5524,8 +5563,8 @@ var SortButton = ({
5524
5563
  },
5525
5564
  className: cn(
5526
5565
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors",
5527
- "hover:bg-[var(--color-dropdown-item-hover)]",
5528
- field.id === activeField ? "bg-[var(--color-dropdown-item-hover)]" : ""
5566
+ "hover:bg-dropdown-item-hover",
5567
+ field.id === activeField ? "bg-dropdown-item-hover" : ""
5529
5568
  ),
5530
5569
  children: [
5531
5570
  /* @__PURE__ */ jsx39(
@@ -5535,7 +5574,7 @@ var SortButton = ({
5535
5574
  size: "sm",
5536
5575
  className: cn(
5537
5576
  "shrink-0",
5538
- field.id === activeField ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5577
+ field.id === activeField ? "text-foreground" : "text-dropdown-item-icon"
5539
5578
  )
5540
5579
  }
5541
5580
  ),
@@ -5544,7 +5583,7 @@ var SortButton = ({
5544
5583
  {
5545
5584
  className: cn(
5546
5585
  "flex-1 text-sm font-regular leading-sm text-left truncate",
5547
- field.id === activeField ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5586
+ field.id === activeField ? "text-foreground" : "text-dropdown-item-icon"
5548
5587
  ),
5549
5588
  children: field.label
5550
5589
  }
@@ -5553,7 +5592,7 @@ var SortButton = ({
5553
5592
  },
5554
5593
  field.id
5555
5594
  )) }),
5556
- /* @__PURE__ */ jsx39("div", { className: "h-px bg-[var(--color-border)]" }),
5595
+ /* @__PURE__ */ jsx39("div", { className: "h-px bg-border" }),
5557
5596
  /* @__PURE__ */ jsxs34("div", { className: "flex flex-col", children: [
5558
5597
  /* @__PURE__ */ jsxs34(
5559
5598
  "button",
@@ -5565,8 +5604,8 @@ var SortButton = ({
5565
5604
  },
5566
5605
  className: cn(
5567
5606
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors",
5568
- "hover:bg-[var(--color-dropdown-item-hover)]",
5569
- direction === "asc" ? "bg-[var(--color-dropdown-item-hover)]" : ""
5607
+ "hover:bg-dropdown-item-hover",
5608
+ direction === "asc" ? "bg-dropdown-item-hover" : ""
5570
5609
  ),
5571
5610
  children: [
5572
5611
  /* @__PURE__ */ jsx39(
@@ -5576,7 +5615,7 @@ var SortButton = ({
5576
5615
  size: "sm",
5577
5616
  className: cn(
5578
5617
  "shrink-0",
5579
- direction === "asc" ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5618
+ direction === "asc" ? "text-foreground" : "text-dropdown-item-icon"
5580
5619
  )
5581
5620
  }
5582
5621
  ),
@@ -5585,7 +5624,7 @@ var SortButton = ({
5585
5624
  {
5586
5625
  className: cn(
5587
5626
  "flex-1 text-sm font-regular leading-sm text-left",
5588
- direction === "asc" ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5627
+ direction === "asc" ? "text-foreground" : "text-dropdown-item-icon"
5589
5628
  ),
5590
5629
  children: "Ascending"
5591
5630
  }
@@ -5603,8 +5642,8 @@ var SortButton = ({
5603
5642
  },
5604
5643
  className: cn(
5605
5644
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors",
5606
- "hover:bg-[var(--color-dropdown-item-hover)]",
5607
- direction === "desc" ? "bg-[var(--color-dropdown-item-hover)]" : ""
5645
+ "hover:bg-dropdown-item-hover",
5646
+ direction === "desc" ? "bg-dropdown-item-hover" : ""
5608
5647
  ),
5609
5648
  children: [
5610
5649
  /* @__PURE__ */ jsx39(
@@ -5614,7 +5653,7 @@ var SortButton = ({
5614
5653
  size: "sm",
5615
5654
  className: cn(
5616
5655
  "shrink-0",
5617
- direction === "desc" ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5656
+ direction === "desc" ? "text-foreground" : "text-dropdown-item-icon"
5618
5657
  )
5619
5658
  }
5620
5659
  ),
@@ -5623,7 +5662,7 @@ var SortButton = ({
5623
5662
  {
5624
5663
  className: cn(
5625
5664
  "flex-1 text-sm font-regular leading-sm text-left",
5626
- direction === "desc" ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5665
+ direction === "desc" ? "text-foreground" : "text-dropdown-item-icon"
5627
5666
  ),
5628
5667
  children: "Descending"
5629
5668
  }
@@ -5651,10 +5690,10 @@ var FilterBarButton = React40.forwardRef(({ className, count, iconOnly = false,
5651
5690
  className: cn(
5652
5691
  "shrink-0 flex items-center gap-sm overflow-hidden",
5653
5692
  "min-h-[32px] max-h-[32px]",
5654
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
5655
- "border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm",
5693
+ "bg-gradient-to-t from-btn-outlined-neutral-bg-default to-btn-outlined-neutral-bg-gradient-to-default",
5694
+ "border border-btn-outlined-neutral-border-default rounded-md shadow-sm",
5656
5695
  "cursor-pointer transition-colors",
5657
- "hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]",
5696
+ "hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover",
5658
5697
  iconOnly ? count ? "px-sm justify-center" : "size-8 justify-center p-0" : "px-base py-sm min-w-[80px]",
5659
5698
  className
5660
5699
  ),
@@ -5665,10 +5704,10 @@ var FilterBarButton = React40.forwardRef(({ className, count, iconOnly = false,
5665
5704
  {
5666
5705
  icon: faFilterOutline2,
5667
5706
  size: "sm",
5668
- className: "shrink-0 text-[var(--color-foreground)]"
5707
+ className: "shrink-0 text-foreground"
5669
5708
  }
5670
5709
  ),
5671
- !iconOnly && /* @__PURE__ */ jsx40("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: children ?? "Filters" }),
5710
+ !iconOnly && /* @__PURE__ */ jsx40("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-foreground", children: children ?? "Filters" }),
5672
5711
  count != null && count > 0 && /* @__PURE__ */ jsx40("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx40("span", { className: "text-[10px] font-medium leading-2xs text-filter-chip-badge-text", children: count }) })
5673
5712
  ]
5674
5713
  }
@@ -5684,10 +5723,10 @@ var SaveViewButton = React41.forwardRef(
5684
5723
  const sharedStyle = [
5685
5724
  "relative flex items-center justify-center",
5686
5725
  "min-h-[32px] max-h-[32px]",
5687
- "bg-gradient-to-t from-[var(--color-btn-solid-brand-bg-default)] from-[10%] to-[var(--color-btn-solid-brand-bg-gradient-to-default)]",
5688
- "border border-[var(--color-btn-solid-brand-border-default)]",
5726
+ "bg-gradient-to-t from-btn-solid-brand-bg-default from-[10%] to-btn-solid-brand-bg-gradient-to-default",
5727
+ "border border-btn-solid-brand-border-default",
5689
5728
  "shadow-sm cursor-pointer transition-colors",
5690
- "hover:from-[var(--color-btn-solid-brand-bg-hover)] hover:to-[var(--color-btn-solid-brand-bg-gradient-to-hover)]"
5729
+ "hover:from-btn-solid-brand-bg-hover hover:to-btn-solid-brand-bg-gradient-to-hover"
5691
5730
  ];
5692
5731
  return /* @__PURE__ */ jsxs36(
5693
5732
  "div",
@@ -5707,8 +5746,8 @@ var SaveViewButton = React41.forwardRef(
5707
5746
  "rounded-l-md -mr-px"
5708
5747
  ),
5709
5748
  children: [
5710
- /* @__PURE__ */ jsx41("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-btn-solid-brand-text-default)]", children: label }),
5711
- /* @__PURE__ */ jsx41("span", { className: "absolute inset-0 rounded-l-[11px] border border-[var(--color-btn-solid-brand-inner-border-default)] shadow-sm pointer-events-none" })
5749
+ /* @__PURE__ */ jsx41("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-btn-solid-brand-text-default", children: label }),
5750
+ /* @__PURE__ */ jsx41("span", { className: "absolute inset-0 rounded-l-[11px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
5712
5751
  ]
5713
5752
  }
5714
5753
  ),
@@ -5728,10 +5767,10 @@ var SaveViewButton = React41.forwardRef(
5728
5767
  {
5729
5768
  icon: faChevronDownOutline,
5730
5769
  size: "sm",
5731
- className: "text-[var(--color-btn-solid-brand-text-default)]"
5770
+ className: "text-btn-solid-brand-text-default"
5732
5771
  }
5733
5772
  ),
5734
- /* @__PURE__ */ jsx41("span", { className: "absolute inset-0 rounded-r-[11px] border border-[var(--color-btn-solid-brand-inner-border-default)] shadow-sm pointer-events-none" })
5773
+ /* @__PURE__ */ jsx41("span", { className: "absolute inset-0 rounded-r-[11px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
5735
5774
  ]
5736
5775
  }
5737
5776
  )
@@ -5763,7 +5802,7 @@ var OperatorSelector = ({
5763
5802
  align: "start",
5764
5803
  className: cn(
5765
5804
  "z-50 flex flex-col p-xs overflow-clip",
5766
- "bg-[var(--color-dropdown-bg)] border border-[var(--color-dropdown-border)] rounded-md shadow-lg",
5805
+ "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
5767
5806
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
5768
5807
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
5769
5808
  "data-[side=bottom]:slide-in-from-top-2",
@@ -5776,8 +5815,8 @@ var OperatorSelector = ({
5776
5815
  onClick: () => onSelect(op),
5777
5816
  className: cn(
5778
5817
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
5779
- "hover:bg-[var(--color-dropdown-item-hover)]",
5780
- op === activeOperator && "bg-[var(--color-dropdown-item-hover)]"
5818
+ "hover:bg-dropdown-item-hover",
5819
+ op === activeOperator && "bg-dropdown-item-hover"
5781
5820
  ),
5782
5821
  children: [
5783
5822
  /* @__PURE__ */ jsx42(
@@ -5785,12 +5824,12 @@ var OperatorSelector = ({
5785
5824
  {
5786
5825
  className: cn(
5787
5826
  "text-sm font-regular leading-sm",
5788
- op === activeOperator ? "text-[var(--color-foreground)] font-medium" : "text-[var(--color-dropdown-item-text)]"
5827
+ op === activeOperator ? "text-foreground font-medium" : "text-dropdown-item-text"
5789
5828
  ),
5790
5829
  children: op
5791
5830
  }
5792
5831
  ),
5793
- isNoValueOperator(op) && /* @__PURE__ */ jsx42("span", { className: "ml-auto text-xs text-[var(--color-muted-foreground)]", children: "instant" })
5832
+ isNoValueOperator(op) && /* @__PURE__ */ jsx42("span", { className: "ml-auto text-xs text-muted-foreground", children: "instant" })
5794
5833
  ]
5795
5834
  },
5796
5835
  op
@@ -5813,15 +5852,15 @@ var OperatorList = ({
5813
5852
  onClick: () => onSelect(op),
5814
5853
  className: cn(
5815
5854
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
5816
- "hover:bg-[var(--color-dropdown-item-hover)]",
5817
- op === activeOperator && "bg-[var(--color-dropdown-item-hover)]"
5855
+ "hover:bg-dropdown-item-hover",
5856
+ op === activeOperator && "bg-dropdown-item-hover"
5818
5857
  ),
5819
5858
  children: /* @__PURE__ */ jsx42(
5820
5859
  "span",
5821
5860
  {
5822
5861
  className: cn(
5823
5862
  "text-sm font-regular leading-sm",
5824
- op === activeOperator ? "text-[var(--color-foreground)] font-medium" : "text-[var(--color-dropdown-item-text)]"
5863
+ op === activeOperator ? "text-foreground font-medium" : "text-dropdown-item-text"
5825
5864
  ),
5826
5865
  children: op
5827
5866
  }
@@ -5834,17 +5873,16 @@ OperatorList.displayName = "OperatorList";
5834
5873
 
5835
5874
  // src/components/ui/filter/value-inputs/shared.ts
5836
5875
  var inputClasses = [
5837
- "w-full px-base py-sm rounded-base border border-[var(--color-input)]",
5838
- "bg-[var(--color-background)] text-sm font-regular leading-sm text-[var(--color-foreground)]",
5839
- "placeholder:text-[var(--color-muted-foreground)]",
5840
- "focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)] focus:ring-offset-0"
5876
+ "w-full px-base py-sm rounded-base border border-input",
5877
+ "bg-background text-sm font-regular leading-sm text-foreground",
5878
+ "placeholder:text-muted-foreground",
5879
+ "focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-0"
5841
5880
  ].join(" ");
5842
5881
  var halfInputClasses = [
5843
- "flex-1 px-base py-sm rounded-base border border-[var(--color-input)]",
5844
- "bg-[var(--color-background)] text-sm font-regular leading-sm text-[var(--color-foreground)]",
5845
- "focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)]"
5882
+ "flex-1 px-base py-sm rounded-base border border-input",
5883
+ "bg-background text-sm font-regular leading-sm text-foreground",
5884
+ "focus:outline-none focus:ring-2 focus:ring-ring"
5846
5885
  ].join(" ");
5847
- var applyBtnClasses = "self-end px-md py-sm text-sm font-medium leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity";
5848
5886
 
5849
5887
  // src/components/ui/filter/value-inputs/text-value-input.tsx
5850
5888
  import { jsx as jsx43, jsxs as jsxs38 } from "react/jsx-runtime";
@@ -5857,7 +5895,7 @@ var TextValueInput = ({
5857
5895
  const handleKeyDown = (e) => {
5858
5896
  if (e.key === "Enter") onSubmit?.();
5859
5897
  };
5860
- return /* @__PURE__ */ jsxs38("div", { className: cn("flex flex-col gap-base p-base", className), children: [
5898
+ return /* @__PURE__ */ jsxs38("div", { className: cn("flex flex-col gap-base p-xs", className), children: [
5861
5899
  /* @__PURE__ */ jsx43(
5862
5900
  "input",
5863
5901
  {
@@ -5870,7 +5908,7 @@ var TextValueInput = ({
5870
5908
  className: inputClasses
5871
5909
  }
5872
5910
  ),
5873
- /* @__PURE__ */ jsx43("button", { type: "button", onClick: onSubmit, className: applyBtnClasses, children: "Apply" })
5911
+ /* @__PURE__ */ jsx43(Button, { appearance: "solid", intent: "brand", size: "sm", className: "self-end", onClick: onSubmit, children: "Apply" })
5874
5912
  ] });
5875
5913
  };
5876
5914
  TextValueInput.displayName = "TextValueInput";
@@ -5886,7 +5924,7 @@ var NumberValueInput = ({
5886
5924
  const handleKeyDown = (e) => {
5887
5925
  if (e.key === "Enter") onSubmit?.();
5888
5926
  };
5889
- return /* @__PURE__ */ jsxs39("div", { className: cn("flex flex-col gap-base p-base", className), children: [
5927
+ return /* @__PURE__ */ jsxs39("div", { className: cn("flex flex-col gap-base p-xs", className), children: [
5890
5928
  /* @__PURE__ */ jsx44(
5891
5929
  "input",
5892
5930
  {
@@ -5899,7 +5937,7 @@ var NumberValueInput = ({
5899
5937
  className: inputClasses
5900
5938
  }
5901
5939
  ),
5902
- /* @__PURE__ */ jsx44("button", { type: "button", onClick: onSubmit, className: applyBtnClasses, children: "Apply" })
5940
+ /* @__PURE__ */ jsx44(Button, { appearance: "solid", intent: "brand", size: "sm", className: "self-end", onClick: onSubmit, children: "Apply" })
5903
5941
  ] });
5904
5942
  };
5905
5943
  NumberValueInput.displayName = "NumberValueInput";
@@ -5910,7 +5948,7 @@ var NumberRangeValueInput = ({
5910
5948
  className
5911
5949
  }) => {
5912
5950
  const rangeVal = value ?? [0, 0];
5913
- return /* @__PURE__ */ jsxs39("div", { className: cn("flex flex-col gap-base p-base", className), children: [
5951
+ return /* @__PURE__ */ jsxs39("div", { className: cn("flex flex-col gap-base p-xs", className), children: [
5914
5952
  /* @__PURE__ */ jsxs39("div", { className: "flex items-center gap-base", children: [
5915
5953
  /* @__PURE__ */ jsx44(
5916
5954
  "input",
@@ -5923,7 +5961,7 @@ var NumberRangeValueInput = ({
5923
5961
  className: halfInputClasses
5924
5962
  }
5925
5963
  ),
5926
- /* @__PURE__ */ jsx44("span", { className: "text-sm text-[var(--color-muted-foreground)]", children: "and" }),
5964
+ /* @__PURE__ */ jsx44("span", { className: "text-sm text-muted-foreground", children: "and" }),
5927
5965
  /* @__PURE__ */ jsx44(
5928
5966
  "input",
5929
5967
  {
@@ -5935,7 +5973,7 @@ var NumberRangeValueInput = ({
5935
5973
  }
5936
5974
  )
5937
5975
  ] }),
5938
- /* @__PURE__ */ jsx44("button", { type: "button", onClick: onSubmit, className: applyBtnClasses, children: "Apply" })
5976
+ /* @__PURE__ */ jsx44(Button, { appearance: "solid", intent: "brand", size: "sm", className: "self-end", onClick: onSubmit, children: "Apply" })
5939
5977
  ] });
5940
5978
  };
5941
5979
  NumberRangeValueInput.displayName = "NumberRangeValueInput";
@@ -6497,7 +6535,7 @@ var DateCalendarValueInput = ({
6497
6535
  ] }) : /* @__PURE__ */ jsx46(DatePickerCalendar, {}),
6498
6536
  isRange && /* @__PURE__ */ jsxs41(DatePickerFooter, { children: [
6499
6537
  /* @__PURE__ */ jsx46("div", {}),
6500
- /* @__PURE__ */ jsx46("button", { type: "button", onClick: onSubmit, className: applyBtnClasses, children: "Apply" })
6538
+ /* @__PURE__ */ jsx46(Button, { appearance: "solid", intent: "brand", size: "sm", onClick: onSubmit, children: "Apply" })
6501
6539
  ] })
6502
6540
  ]
6503
6541
  }
@@ -6509,8 +6547,8 @@ var PresetTagsValueInput = ({
6509
6547
  onChange,
6510
6548
  onSubmit,
6511
6549
  className
6512
- }) => /* @__PURE__ */ jsx46("div", { className: cn("flex flex-col gap-base p-base max-w-[280px]", className), children: RELATIVE_DATE_PRESETS.map((group) => /* @__PURE__ */ jsxs41("div", { className: "flex flex-col gap-xs", children: [
6513
- /* @__PURE__ */ jsx46("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)] uppercase px-xs", children: group.group }),
6550
+ }) => /* @__PURE__ */ jsx46("div", { className: cn("flex flex-col gap-base p-xs max-w-[280px]", className), children: RELATIVE_DATE_PRESETS.map((group) => /* @__PURE__ */ jsxs41("div", { className: "flex flex-col gap-xs", children: [
6551
+ /* @__PURE__ */ jsx46("span", { className: "text-xs font-medium leading-xs text-muted-foreground uppercase px-xs", children: group.group }),
6514
6552
  /* @__PURE__ */ jsx46("div", { className: "flex flex-wrap gap-xs", children: group.options.map((preset) => /* @__PURE__ */ jsx46(
6515
6553
  "button",
6516
6554
  {
@@ -6521,7 +6559,7 @@ var PresetTagsValueInput = ({
6521
6559
  },
6522
6560
  className: cn(
6523
6561
  "px-base py-2xs rounded-base border cursor-pointer transition-colors text-sm font-regular leading-sm",
6524
- value === preset ? "border-[var(--color-ring)] bg-[var(--color-primary)] text-[var(--color-primary-foreground)]" : "border-[var(--color-input)] bg-[var(--color-background)] text-[var(--color-foreground)] hover:bg-[var(--color-accent)]"
6562
+ value === preset ? "border-ring bg-primary text-primary-foreground" : "border-input bg-background text-foreground hover:bg-accent"
6525
6563
  ),
6526
6564
  children: preset
6527
6565
  },
@@ -6544,8 +6582,8 @@ var DynamicOptionRow = ({
6544
6582
  onClick,
6545
6583
  className: cn(
6546
6584
  "flex items-start gap-base p-base rounded-base cursor-pointer transition-colors text-left",
6547
- "hover:bg-[var(--color-dropdown-item-hover)]",
6548
- selected && "bg-[var(--color-dropdown-item-hover)]"
6585
+ "hover:bg-dropdown-item-hover",
6586
+ selected && "bg-dropdown-item-hover"
6549
6587
  ),
6550
6588
  children: [
6551
6589
  multi && /* @__PURE__ */ jsx47(
@@ -6553,7 +6591,7 @@ var DynamicOptionRow = ({
6553
6591
  {
6554
6592
  className: cn(
6555
6593
  "mt-[2px] flex items-center justify-center size-4 rounded-xs border transition-colors shrink-0",
6556
- selected ? "bg-[var(--color-primary)] border-[var(--color-primary)]" : "border-[var(--color-input)] bg-[var(--color-background)]"
6594
+ selected ? "bg-primary border-primary" : "border-input bg-background"
6557
6595
  ),
6558
6596
  children: selected && /* @__PURE__ */ jsx47("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", children: /* @__PURE__ */ jsx47(
6559
6597
  "path",
@@ -6568,8 +6606,8 @@ var DynamicOptionRow = ({
6568
6606
  }
6569
6607
  ),
6570
6608
  /* @__PURE__ */ jsxs42("span", { className: "flex-1 flex flex-col gap-2xs min-w-0", children: [
6571
- /* @__PURE__ */ jsx47("span", { className: "text-sm font-regular leading-sm text-[var(--color-foreground)] truncate", children: option.label }),
6572
- option.description && /* @__PURE__ */ jsx47("span", { className: "text-xs font-regular leading-xs text-[var(--color-muted-foreground)]", children: option.description })
6609
+ /* @__PURE__ */ jsx47("span", { className: "text-sm font-regular leading-sm text-foreground truncate", children: option.label }),
6610
+ option.description && /* @__PURE__ */ jsx47("span", { className: "text-xs font-regular leading-xs text-muted-foreground", children: option.description })
6573
6611
  ] })
6574
6612
  ]
6575
6613
  }
@@ -6590,7 +6628,7 @@ var SingleSelectValueInput = ({
6590
6628
  "div",
6591
6629
  {
6592
6630
  className: cn(
6593
- "flex flex-col gap-xs p-base max-h-[280px] overflow-y-auto",
6631
+ "flex flex-col gap-xs p-xs max-h-[280px] overflow-y-auto",
6594
6632
  className
6595
6633
  ),
6596
6634
  children: [
@@ -6611,10 +6649,10 @@ var SingleSelectValueInput = ({
6611
6649
  onClick: () => pick(opt),
6612
6650
  className: cn(
6613
6651
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
6614
- "hover:bg-[var(--color-dropdown-item-hover)]",
6615
- value === opt && "bg-[var(--color-dropdown-item-hover)]"
6652
+ "hover:bg-dropdown-item-hover",
6653
+ value === opt && "bg-dropdown-item-hover"
6616
6654
  ),
6617
- children: /* @__PURE__ */ jsx47("span", { className: "text-sm font-regular leading-sm text-[var(--color-foreground)]", children: opt })
6655
+ children: /* @__PURE__ */ jsx47("span", { className: "text-sm font-regular leading-sm text-foreground", children: opt })
6618
6656
  },
6619
6657
  opt
6620
6658
  ))
@@ -6636,7 +6674,7 @@ var MultiSelectValueInput = ({
6636
6674
  const next = selected.includes(v) ? selected.filter((s) => s !== v) : [...selected, v];
6637
6675
  onChange(next);
6638
6676
  };
6639
- return /* @__PURE__ */ jsxs42("div", { className: cn("flex flex-col gap-xs p-base", className), children: [
6677
+ return /* @__PURE__ */ jsxs42("div", { className: cn("flex flex-col gap-xs p-xs", className), children: [
6640
6678
  /* @__PURE__ */ jsxs42("div", { className: "flex flex-col max-h-[240px] overflow-y-auto", children: [
6641
6679
  dynamicOptions?.map((opt) => /* @__PURE__ */ jsx47(
6642
6680
  DynamicOptionRow,
@@ -6657,7 +6695,7 @@ var MultiSelectValueInput = ({
6657
6695
  onClick: () => toggle(opt),
6658
6696
  className: cn(
6659
6697
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
6660
- "hover:bg-[var(--color-dropdown-item-hover)]"
6698
+ "hover:bg-dropdown-item-hover"
6661
6699
  ),
6662
6700
  children: [
6663
6701
  /* @__PURE__ */ jsx47(
@@ -6665,7 +6703,7 @@ var MultiSelectValueInput = ({
6665
6703
  {
6666
6704
  className: cn(
6667
6705
  "flex items-center justify-center size-4 rounded-xs border transition-colors",
6668
- isSelected ? "bg-[var(--color-primary)] border-[var(--color-primary)]" : "border-[var(--color-input)] bg-[var(--color-background)]"
6706
+ isSelected ? "bg-primary border-primary" : "border-input bg-background"
6669
6707
  ),
6670
6708
  children: isSelected && /* @__PURE__ */ jsx47("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", children: /* @__PURE__ */ jsx47(
6671
6709
  "path",
@@ -6679,14 +6717,14 @@ var MultiSelectValueInput = ({
6679
6717
  ) })
6680
6718
  }
6681
6719
  ),
6682
- /* @__PURE__ */ jsx47("span", { className: "text-sm font-regular leading-sm text-[var(--color-foreground)]", children: opt })
6720
+ /* @__PURE__ */ jsx47("span", { className: "text-sm font-regular leading-sm text-foreground", children: opt })
6683
6721
  ]
6684
6722
  },
6685
6723
  opt
6686
6724
  );
6687
6725
  })
6688
6726
  ] }),
6689
- /* @__PURE__ */ jsx47("button", { type: "button", onClick: onSubmit, className: applyBtnClasses, children: "Apply" })
6727
+ /* @__PURE__ */ jsx47(Button, { appearance: "solid", intent: "brand", size: "sm", className: "self-end", onClick: onSubmit, children: "Apply" })
6690
6728
  ] });
6691
6729
  };
6692
6730
  MultiSelectValueInput.displayName = "MultiSelectValueInput";
@@ -6702,7 +6740,7 @@ var RelationValueInput = ({
6702
6740
  const handleKeyDown = (e) => {
6703
6741
  if (e.key === "Enter") onSubmit?.();
6704
6742
  };
6705
- return /* @__PURE__ */ jsxs43("div", { className: cn("flex flex-col gap-base p-base", className), children: [
6743
+ return /* @__PURE__ */ jsxs43("div", { className: cn("flex flex-col gap-base p-xs", className), children: [
6706
6744
  /* @__PURE__ */ jsx48(
6707
6745
  "input",
6708
6746
  {
@@ -6715,7 +6753,7 @@ var RelationValueInput = ({
6715
6753
  className: inputClasses
6716
6754
  }
6717
6755
  ),
6718
- /* @__PURE__ */ jsx48("button", { type: "button", onClick: onSubmit, className: applyBtnClasses, children: "Apply" })
6756
+ /* @__PURE__ */ jsx48(Button, { appearance: "solid", intent: "brand", size: "sm", className: "self-end", onClick: onSubmit, children: "Apply" })
6719
6757
  ] });
6720
6758
  };
6721
6759
  RelationValueInput.displayName = "RelationValueInput";
@@ -6798,25 +6836,25 @@ import {
6798
6836
  } from "@l3mpire/icons";
6799
6837
  import { Fragment as Fragment4, jsx as jsx50, jsxs as jsxs44 } from "react/jsx-runtime";
6800
6838
  var AdvancedFilterFooter = ({ onClick, count }) => /* @__PURE__ */ jsxs44(Fragment4, { children: [
6801
- /* @__PURE__ */ jsx50("div", { className: "h-px bg-[var(--color-dropdown-border)] mx-xs" }),
6839
+ /* @__PURE__ */ jsx50("div", { className: "h-px bg-dropdown-border mx-xs" }),
6802
6840
  /* @__PURE__ */ jsxs44(
6803
6841
  "button",
6804
6842
  {
6805
6843
  type: "button",
6806
6844
  onPointerDown: (e) => e.preventDefault(),
6807
6845
  onClick,
6808
- className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
6846
+ className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-dropdown-item-hover",
6809
6847
  children: [
6810
6848
  /* @__PURE__ */ jsx50(
6811
6849
  Icon28,
6812
6850
  {
6813
6851
  icon: faFilterOutline3,
6814
6852
  size: "sm",
6815
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
6853
+ className: "shrink-0 text-dropdown-item-icon"
6816
6854
  }
6817
6855
  ),
6818
- /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: "Advanced filter" }),
6819
- count > 0 && /* @__PURE__ */ jsxs44("span", { className: "text-xs font-regular leading-xs text-[var(--color-muted-foreground)]", children: [
6856
+ /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-dropdown-item-text text-left truncate", children: "Advanced filter" }),
6857
+ count > 0 && /* @__PURE__ */ jsxs44("span", { className: "text-xs font-regular leading-xs text-muted-foreground", children: [
6820
6858
  count,
6821
6859
  " ",
6822
6860
  count === 1 ? "rule" : "rules"
@@ -6898,7 +6936,7 @@ var PropertySelector = ({
6898
6936
  onCloseAutoFocus: (e) => e.preventDefault(),
6899
6937
  className: cn(
6900
6938
  "z-50 flex flex-col gap-xs overflow-clip p-xs",
6901
- "bg-[var(--color-dropdown-bg)] border border-[var(--color-dropdown-border)] rounded-md shadow-lg",
6939
+ "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
6902
6940
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
6903
6941
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
6904
6942
  "data-[side=bottom]:slide-in-from-top-2",
@@ -6908,13 +6946,13 @@ var PropertySelector = ({
6908
6946
  activeGroup === null ? (
6909
6947
  /* ── Level 1: Search + Categories ───────────────────────── */
6910
6948
  /* @__PURE__ */ jsxs44("div", { className: "flex flex-col gap-xs", children: [
6911
- /* @__PURE__ */ jsxs44("div", { className: "flex items-center gap-base px-md py-base border border-[var(--color-input)] rounded-md", children: [
6949
+ /* @__PURE__ */ jsxs44("div", { className: "flex items-center gap-base px-md py-base border border-input rounded-md", children: [
6912
6950
  /* @__PURE__ */ jsx50(
6913
6951
  Icon28,
6914
6952
  {
6915
6953
  icon: faMagnifyingGlassOutline,
6916
6954
  size: "sm",
6917
- className: "shrink-0 text-[var(--color-muted-foreground)]"
6955
+ className: "shrink-0 text-muted-foreground"
6918
6956
  }
6919
6957
  ),
6920
6958
  /* @__PURE__ */ jsx50(
@@ -6925,7 +6963,7 @@ var PropertySelector = ({
6925
6963
  onChange: (e) => setSearch(e.target.value),
6926
6964
  placeholder: "Search...",
6927
6965
  autoFocus: true,
6928
- className: "flex-1 text-sm font-regular leading-sm text-[var(--color-foreground)] bg-transparent outline-none placeholder:text-[var(--color-muted-foreground)]"
6966
+ className: "flex-1 text-sm font-regular leading-sm text-foreground bg-transparent outline-none placeholder:text-muted-foreground"
6929
6967
  }
6930
6968
  )
6931
6969
  ] }),
@@ -6939,18 +6977,18 @@ var PropertySelector = ({
6939
6977
  onSelect(prop);
6940
6978
  onOpenChange?.(false);
6941
6979
  },
6942
- className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
6980
+ className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-dropdown-item-hover",
6943
6981
  children: [
6944
6982
  /* @__PURE__ */ jsx50(
6945
6983
  Icon28,
6946
6984
  {
6947
6985
  icon: prop.icon,
6948
6986
  size: "sm",
6949
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
6987
+ className: "shrink-0 text-dropdown-item-icon"
6950
6988
  }
6951
6989
  ),
6952
- /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: prop.label }),
6953
- /* @__PURE__ */ jsx50("span", { className: "text-xs font-regular leading-xs text-[var(--color-muted-foreground)]", children: prop.groupLabel })
6990
+ /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-dropdown-item-text text-left truncate", children: prop.label }),
6991
+ /* @__PURE__ */ jsx50("span", { className: "text-xs font-regular leading-xs text-muted-foreground", children: prop.groupLabel })
6954
6992
  ]
6955
6993
  },
6956
6994
  prop.id
@@ -6966,31 +7004,31 @@ var PropertySelector = ({
6966
7004
  setActiveGroup(g.group);
6967
7005
  setSearch("");
6968
7006
  },
6969
- className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
7007
+ className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-dropdown-item-hover",
6970
7008
  children: [
6971
7009
  /* @__PURE__ */ jsx50(
6972
7010
  Icon28,
6973
7011
  {
6974
7012
  icon: g.groupIcon,
6975
7013
  size: "sm",
6976
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7014
+ className: "shrink-0 text-dropdown-item-icon"
6977
7015
  }
6978
7016
  ),
6979
- /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: g.groupLabel }),
6980
- /* @__PURE__ */ jsx50("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: g.count }),
7017
+ /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-dropdown-item-text text-left truncate", children: g.groupLabel }),
7018
+ /* @__PURE__ */ jsx50("span", { className: "text-xs font-medium leading-xs text-muted-foreground", children: g.count }),
6981
7019
  /* @__PURE__ */ jsx50(
6982
7020
  Icon28,
6983
7021
  {
6984
7022
  icon: faChevronRightOutline3,
6985
7023
  size: "xs",
6986
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7024
+ className: "shrink-0 text-dropdown-item-icon"
6987
7025
  }
6988
7026
  )
6989
7027
  ]
6990
7028
  },
6991
7029
  g.group
6992
7030
  )),
6993
- filteredGroups.length === 0 && /* @__PURE__ */ jsx50("span", { className: "p-base text-sm text-[var(--color-muted-foreground)]", children: "No results" })
7031
+ filteredGroups.length === 0 && /* @__PURE__ */ jsx50("span", { className: "p-base text-sm text-muted-foreground", children: "No results" })
6994
7032
  ] })
6995
7033
  )
6996
7034
  ] })
@@ -7005,27 +7043,27 @@ var PropertySelector = ({
7005
7043
  setActiveGroup(null);
7006
7044
  setSearch("");
7007
7045
  },
7008
- className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
7046
+ className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-dropdown-item-hover",
7009
7047
  children: [
7010
7048
  /* @__PURE__ */ jsx50(
7011
7049
  Icon28,
7012
7050
  {
7013
7051
  icon: faChevronLeftOutline3,
7014
7052
  size: "sm",
7015
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7053
+ className: "shrink-0 text-dropdown-item-icon"
7016
7054
  }
7017
7055
  ),
7018
- /* @__PURE__ */ jsx50("span", { className: "flex-1 text-xs font-medium leading-xs text-[var(--color-muted-foreground)] text-left truncate", children: activeGroupInfo?.groupLabel })
7056
+ /* @__PURE__ */ jsx50("span", { className: "flex-1 text-xs font-medium leading-xs text-muted-foreground text-left truncate", children: activeGroupInfo?.groupLabel })
7019
7057
  ]
7020
7058
  }
7021
7059
  ),
7022
- /* @__PURE__ */ jsxs44("div", { className: "flex items-center gap-base px-md py-base border border-[var(--color-input)] rounded-md", children: [
7060
+ /* @__PURE__ */ jsxs44("div", { className: "flex items-center gap-base px-md py-base border border-input rounded-md", children: [
7023
7061
  /* @__PURE__ */ jsx50(
7024
7062
  Icon28,
7025
7063
  {
7026
7064
  icon: faMagnifyingGlassOutline,
7027
7065
  size: "sm",
7028
- className: "shrink-0 text-[var(--color-muted-foreground)]"
7066
+ className: "shrink-0 text-muted-foreground"
7029
7067
  }
7030
7068
  ),
7031
7069
  /* @__PURE__ */ jsx50(
@@ -7036,7 +7074,7 @@ var PropertySelector = ({
7036
7074
  onChange: (e) => setSearch(e.target.value),
7037
7075
  placeholder: "Search...",
7038
7076
  autoFocus: true,
7039
- className: "flex-1 text-sm font-regular leading-sm text-[var(--color-foreground)] bg-transparent outline-none placeholder:text-[var(--color-muted-foreground)]"
7077
+ className: "flex-1 text-sm font-regular leading-sm text-foreground bg-transparent outline-none placeholder:text-muted-foreground"
7040
7078
  }
7041
7079
  )
7042
7080
  ] }),
@@ -7049,22 +7087,22 @@ var PropertySelector = ({
7049
7087
  onSelect(prop);
7050
7088
  onOpenChange?.(false);
7051
7089
  },
7052
- className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
7090
+ className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-dropdown-item-hover",
7053
7091
  children: [
7054
7092
  /* @__PURE__ */ jsx50(
7055
7093
  Icon28,
7056
7094
  {
7057
7095
  icon: prop.icon,
7058
7096
  size: "sm",
7059
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7097
+ className: "shrink-0 text-dropdown-item-icon"
7060
7098
  }
7061
7099
  ),
7062
- /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: prop.label })
7100
+ /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-dropdown-item-text text-left truncate", children: prop.label })
7063
7101
  ]
7064
7102
  },
7065
7103
  prop.id
7066
7104
  )),
7067
- filteredProperties.length === 0 && /* @__PURE__ */ jsx50("span", { className: "p-base text-sm text-[var(--color-muted-foreground)]", children: "No results" })
7105
+ filteredProperties.length === 0 && /* @__PURE__ */ jsx50("span", { className: "p-base text-sm text-muted-foreground", children: "No results" })
7068
7106
  ] })
7069
7107
  ] })
7070
7108
  ),
@@ -7102,7 +7140,7 @@ var KebabMenu = ({
7102
7140
  align: "end",
7103
7141
  className: cn(
7104
7142
  "z-50 flex flex-col p-xs overflow-clip",
7105
- "bg-[var(--color-dropdown-bg)] border border-[var(--color-dropdown-border)] rounded-md shadow-lg",
7143
+ "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
7106
7144
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7107
7145
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7108
7146
  "data-[side=bottom]:slide-in-from-top-2",
@@ -7117,21 +7155,21 @@ var KebabMenu = ({
7117
7155
  onConvertToAdvanced();
7118
7156
  onOpenChange?.(false);
7119
7157
  },
7120
- className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
7158
+ className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-dropdown-item-hover",
7121
7159
  children: [
7122
7160
  /* @__PURE__ */ jsx51(
7123
7161
  Icon29,
7124
7162
  {
7125
7163
  icon: faArrowRightOutline2,
7126
7164
  size: "sm",
7127
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7165
+ className: "shrink-0 text-dropdown-item-icon"
7128
7166
  }
7129
7167
  ),
7130
- /* @__PURE__ */ jsx51("span", { className: "text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)]", children: hasAdvancedFilters ? "Add to advanced filters" : "Convert to advanced" })
7168
+ /* @__PURE__ */ jsx51("span", { className: "text-sm font-regular leading-sm text-dropdown-item-text", children: hasAdvancedFilters ? "Add to advanced filters" : "Convert to advanced" })
7131
7169
  ]
7132
7170
  }
7133
7171
  ),
7134
- onConvertToAdvanced && onDelete && /* @__PURE__ */ jsx51("div", { className: "h-px mx-base my-xs bg-[var(--color-border)]" }),
7172
+ onConvertToAdvanced && onDelete && /* @__PURE__ */ jsx51("div", { className: "h-px mx-base my-xs bg-border" }),
7135
7173
  onDelete && /* @__PURE__ */ jsxs45(
7136
7174
  "button",
7137
7175
  {
@@ -7140,17 +7178,17 @@ var KebabMenu = ({
7140
7178
  onDelete();
7141
7179
  onOpenChange?.(false);
7142
7180
  },
7143
- className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-[var(--color-dropdown-item-hover)]",
7181
+ className: "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors hover:bg-dropdown-item-hover",
7144
7182
  children: [
7145
7183
  /* @__PURE__ */ jsx51(
7146
7184
  Icon29,
7147
7185
  {
7148
7186
  icon: faTrashOutline,
7149
7187
  size: "sm",
7150
- className: "shrink-0 text-[var(--color-destructive)]"
7188
+ className: "shrink-0 text-destructive"
7151
7189
  }
7152
7190
  ),
7153
- /* @__PURE__ */ jsx51("span", { className: "text-sm font-regular leading-sm text-[var(--color-destructive)]", children: "Delete filter" })
7191
+ /* @__PURE__ */ jsx51("span", { className: "text-sm font-regular leading-sm text-destructive", children: "Delete filter" })
7154
7192
  ]
7155
7193
  }
7156
7194
  )
@@ -7218,29 +7256,29 @@ var FilterEditor = ({
7218
7256
  align: "start",
7219
7257
  className: cn(
7220
7258
  "z-50 flex flex-col overflow-clip",
7221
- "bg-[var(--color-dropdown-bg)] border border-[var(--color-dropdown-border)] rounded-md shadow-lg",
7259
+ "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
7222
7260
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7223
7261
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7224
7262
  "data-[side=bottom]:slide-in-from-top-2",
7225
7263
  "min-w-[240px]"
7226
7264
  ),
7227
7265
  children: [
7228
- /* @__PURE__ */ jsxs46("div", { className: "flex items-center gap-base px-base pt-base pb-xs border-b border-[var(--color-border)]", children: [
7266
+ /* @__PURE__ */ jsxs46("div", { className: "flex items-center gap-base px-base pt-base pb-xs border-b border-border", children: [
7229
7267
  /* @__PURE__ */ jsx52(
7230
7268
  Icon30,
7231
7269
  {
7232
7270
  icon: propertyDef.icon,
7233
7271
  size: "sm",
7234
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7272
+ className: "shrink-0 text-dropdown-item-icon"
7235
7273
  }
7236
7274
  ),
7237
- /* @__PURE__ */ jsx52("span", { className: "text-sm font-medium leading-sm text-[var(--color-foreground)]", children: propertyDef.label }),
7275
+ /* @__PURE__ */ jsx52("span", { className: "text-sm font-medium leading-sm text-foreground", children: propertyDef.label }),
7238
7276
  localOperator && view === "value" && /* @__PURE__ */ jsxs46(
7239
7277
  "button",
7240
7278
  {
7241
7279
  type: "button",
7242
7280
  onClick: () => setView("operator"),
7243
- className: "ml-auto text-xs font-regular text-[var(--color-muted-foreground)] hover:text-[var(--color-foreground)] cursor-pointer transition-colors",
7281
+ className: "ml-auto text-xs font-regular text-muted-foreground hover:text-foreground cursor-pointer transition-colors",
7244
7282
  children: [
7245
7283
  localOperator,
7246
7284
  " \u25BE"
@@ -7294,7 +7332,7 @@ var SegmentPopover = ({
7294
7332
  align,
7295
7333
  className: cn(
7296
7334
  "z-50 flex flex-col overflow-clip",
7297
- "bg-[var(--color-dropdown-bg)] border border-[var(--color-dropdown-border)] rounded-md shadow-lg",
7335
+ "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
7298
7336
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7299
7337
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7300
7338
  "data-[side=bottom]:slide-in-from-top-2"
@@ -7501,10 +7539,10 @@ import { jsx as jsx54, jsxs as jsxs48 } from "react/jsx-runtime";
7501
7539
  var btnBase = [
7502
7540
  "flex items-center justify-center",
7503
7541
  "min-h-[32px] max-h-[32px]",
7504
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
7505
- "border border-[var(--color-btn-outlined-neutral-border-default)] shadow-sm",
7542
+ "bg-gradient-to-t from-btn-outlined-neutral-bg-default from-[10%] to-btn-outlined-neutral-bg-gradient-to-default",
7543
+ "border border-btn-outlined-neutral-border-default shadow-sm",
7506
7544
  "cursor-pointer transition-colors",
7507
- "hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
7545
+ "hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover"
7508
7546
  ];
7509
7547
  var AdvancedChip = React47.forwardRef(
7510
7548
  ({ className, count, onClear, onClick, ...props }, ref) => /* @__PURE__ */ jsxs48("div", { className: cn("inline-flex items-center", className), children: [
@@ -7526,10 +7564,10 @@ var AdvancedChip = React47.forwardRef(
7526
7564
  {
7527
7565
  icon: faFilterOutline4,
7528
7566
  size: "sm",
7529
- className: "shrink-0 text-[var(--color-foreground)]"
7567
+ className: "shrink-0 text-foreground"
7530
7568
  }
7531
7569
  ),
7532
- /* @__PURE__ */ jsx54("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Advanced filters" }),
7570
+ /* @__PURE__ */ jsx54("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-foreground", children: "Advanced filters" }),
7533
7571
  count > 0 && /* @__PURE__ */ jsx54("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx54("span", { className: "text-[10px] font-medium leading-2xs text-filter-chip-badge-text", children: count }) })
7534
7572
  ]
7535
7573
  }
@@ -7548,7 +7586,7 @@ var AdvancedChip = React47.forwardRef(
7548
7586
  "rounded-r-md -ml-px"
7549
7587
  ),
7550
7588
  "aria-label": "Clear all advanced filters",
7551
- children: /* @__PURE__ */ jsx54(Icon31, { icon: faXmarkOutline3, size: "sm", className: "text-[var(--color-foreground)]" })
7589
+ children: /* @__PURE__ */ jsx54(Icon31, { icon: faXmarkOutline3, size: "sm", className: "text-foreground" })
7552
7590
  }
7553
7591
  )
7554
7592
  ] })
@@ -7563,7 +7601,7 @@ import { Icon as Icon35, faPlusOutline as faPlusOutline3, faChevronDownOutline a
7563
7601
  // src/components/ui/filter/advanced-row.tsx
7564
7602
  import * as React49 from "react";
7565
7603
  import * as PopoverPrimitive11 from "@radix-ui/react-popover";
7566
- import * as TooltipPrimitive3 from "@radix-ui/react-tooltip";
7604
+ import * as TooltipPrimitive4 from "@radix-ui/react-tooltip";
7567
7605
  import { Icon as Icon33, faChevronDownOutline as faChevronDownOutline2 } from "@l3mpire/icons";
7568
7606
 
7569
7607
  // src/components/ui/filter/filter-node-actions.tsx
@@ -7608,14 +7646,14 @@ var FilterNodeActions = ({
7608
7646
  "button",
7609
7647
  {
7610
7648
  type: "button",
7611
- className: "shrink-0 flex items-center justify-center p-sm rounded-md cursor-pointer transition-colors hover:bg-[var(--color-accent)]",
7649
+ className: "shrink-0 flex items-center justify-center p-sm rounded-md cursor-pointer transition-colors hover:bg-accent",
7612
7650
  "aria-label": "More actions",
7613
7651
  children: /* @__PURE__ */ jsx55(
7614
7652
  Icon32,
7615
7653
  {
7616
7654
  icon: faEllipsisOutline2,
7617
7655
  size: "sm",
7618
- className: "text-[var(--color-foreground)]"
7656
+ className: "text-foreground"
7619
7657
  }
7620
7658
  )
7621
7659
  }
@@ -7627,7 +7665,7 @@ var FilterNodeActions = ({
7627
7665
  align: "end",
7628
7666
  className: cn(
7629
7667
  "z-50 flex flex-col p-xs overflow-clip",
7630
- "bg-[var(--color-dropdown-bg)] border border-[var(--color-dropdown-border)] rounded-md shadow-lg",
7668
+ "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
7631
7669
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7632
7670
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7633
7671
  "min-w-[180px]"
@@ -7642,8 +7680,8 @@ var FilterNodeActions = ({
7642
7680
  },
7643
7681
  className: cn(
7644
7682
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
7645
- "hover:bg-[var(--color-dropdown-item-hover)]",
7646
- item.destructive && "text-[var(--color-destructive,#ef4444)]"
7683
+ "hover:bg-dropdown-item-hover",
7684
+ item.destructive && "text-destructive"
7647
7685
  ),
7648
7686
  children: [
7649
7687
  /* @__PURE__ */ jsx55(
@@ -7653,7 +7691,7 @@ var FilterNodeActions = ({
7653
7691
  size: "sm",
7654
7692
  className: cn(
7655
7693
  "shrink-0",
7656
- item.destructive ? "text-[var(--color-destructive,#ef4444)]" : "text-[var(--color-dropdown-item-icon)]"
7694
+ item.destructive ? "text-destructive" : "text-dropdown-item-icon"
7657
7695
  )
7658
7696
  }
7659
7697
  ),
@@ -7662,7 +7700,7 @@ var FilterNodeActions = ({
7662
7700
  {
7663
7701
  className: cn(
7664
7702
  "text-sm font-regular leading-sm",
7665
- item.destructive ? "text-[var(--color-destructive,#ef4444)]" : "text-[var(--color-dropdown-item-text)]"
7703
+ item.destructive ? "text-destructive" : "text-dropdown-item-text"
7666
7704
  ),
7667
7705
  children: item.label
7668
7706
  }
@@ -7682,10 +7720,10 @@ import { jsx as jsx56, jsxs as jsxs50 } from "react/jsx-runtime";
7682
7720
  var selectBtnStyle = [
7683
7721
  "flex items-center gap-base",
7684
7722
  "px-base py-sm",
7685
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
7686
- "border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm",
7723
+ "bg-gradient-to-t from-btn-outlined-neutral-bg-default to-btn-outlined-neutral-bg-gradient-to-default",
7724
+ "border border-btn-outlined-neutral-border-default rounded-md shadow-sm",
7687
7725
  "cursor-pointer transition-colors",
7688
- "hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
7726
+ "hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover"
7689
7727
  ];
7690
7728
  var AdvancedRow = ({
7691
7729
  connector,
@@ -7718,25 +7756,25 @@ var AdvancedRow = ({
7718
7756
  const badgeCount = getBadgeCount(condition.value);
7719
7757
  const hasValue = displayValue != null;
7720
7758
  return /* @__PURE__ */ jsxs50("div", { className: "flex items-center gap-base w-full min-w-0", children: [
7721
- connector === "Where" ? /* @__PURE__ */ jsx56("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx56("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */ jsx56("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx56(TooltipPrimitive3.Provider, { delayDuration: 200, children: /* @__PURE__ */ jsxs50(TooltipPrimitive3.Root, { children: [
7722
- /* @__PURE__ */ jsx56(TooltipPrimitive3.Trigger, { asChild: true, children: /* @__PURE__ */ jsx56("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)] cursor-default", children: connector }) }),
7723
- /* @__PURE__ */ jsx56(TooltipPrimitive3.Portal, { children: /* @__PURE__ */ jsxs50(
7724
- TooltipPrimitive3.Content,
7759
+ connector === "Where" ? /* @__PURE__ */ jsx56("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx56("span", { className: "text-xs font-medium leading-xs text-muted-foreground", children: "Where" }) }) : /* @__PURE__ */ jsx56("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx56(TooltipPrimitive4.Provider, { delayDuration: 200, children: /* @__PURE__ */ jsxs50(TooltipPrimitive4.Root, { children: [
7760
+ /* @__PURE__ */ jsx56(TooltipPrimitive4.Trigger, { asChild: true, children: /* @__PURE__ */ jsx56("span", { className: "text-xs font-medium leading-xs text-muted-foreground cursor-default", children: connector }) }),
7761
+ /* @__PURE__ */ jsx56(TooltipPrimitive4.Portal, { children: /* @__PURE__ */ jsxs50(
7762
+ TooltipPrimitive4.Content,
7725
7763
  {
7726
7764
  sideOffset: 4,
7727
7765
  className: "z-50 px-base py-sm rounded-md shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
7728
7766
  children: [
7729
7767
  '"Or" operator coming soon',
7730
- /* @__PURE__ */ jsx56(TooltipPrimitive3.Arrow, { className: "fill-tooltip-default-bg" })
7768
+ /* @__PURE__ */ jsx56(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
7731
7769
  ]
7732
7770
  }
7733
7771
  ) })
7734
7772
  ] }) }) }),
7735
7773
  /* @__PURE__ */ jsxs50(PopoverPrimitive11.Root, { open: propertyOpen, onOpenChange: setPropertyOpen, children: [
7736
7774
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs50("button", { type: "button", className: cn(selectBtnStyle, "min-w-0"), children: [
7737
- /* @__PURE__ */ jsx56(Icon33, { icon: propertyDef.icon, size: "sm", className: "shrink-0 text-[var(--color-muted-foreground)]" }),
7738
- /* @__PURE__ */ jsx56("span", { className: "text-sm font-regular leading-sm text-[var(--color-foreground)] whitespace-nowrap truncate", children: propertyDef.label }),
7739
- /* @__PURE__ */ jsx56(Icon33, { icon: faChevronDownOutline2, size: "xs", className: "shrink-0 text-[var(--color-foreground)]" })
7775
+ /* @__PURE__ */ jsx56(Icon33, { icon: propertyDef.icon, size: "sm", className: "shrink-0 text-muted-foreground" }),
7776
+ /* @__PURE__ */ jsx56("span", { className: "text-sm font-regular leading-sm text-foreground whitespace-nowrap truncate", children: propertyDef.label }),
7777
+ /* @__PURE__ */ jsx56(Icon33, { icon: faChevronDownOutline2, size: "xs", className: "shrink-0 text-foreground" })
7740
7778
  ] }) }),
7741
7779
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Portal, { children: /* @__PURE__ */ jsx56(
7742
7780
  PopoverPrimitive11.Content,
@@ -7745,7 +7783,7 @@ var AdvancedRow = ({
7745
7783
  align: "start",
7746
7784
  className: cn(
7747
7785
  "z-50 flex flex-col p-xs overflow-clip max-h-[300px] overflow-y-auto",
7748
- "bg-[var(--color-dropdown-bg)] border border-[var(--color-dropdown-border)] rounded-md shadow-lg",
7786
+ "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
7749
7787
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7750
7788
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
7751
7789
  "min-w-[200px]"
@@ -7760,12 +7798,12 @@ var AdvancedRow = ({
7760
7798
  },
7761
7799
  className: cn(
7762
7800
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
7763
- "hover:bg-[var(--color-dropdown-item-hover)]",
7764
- p.id === condition.propertyId && "bg-[var(--color-dropdown-item-hover)]"
7801
+ "hover:bg-dropdown-item-hover",
7802
+ p.id === condition.propertyId && "bg-dropdown-item-hover"
7765
7803
  ),
7766
7804
  children: [
7767
- /* @__PURE__ */ jsx56(Icon33, { icon: p.icon, size: "sm", className: "shrink-0 text-[var(--color-dropdown-item-icon)]" }),
7768
- /* @__PURE__ */ jsx56("span", { className: "text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] truncate", children: p.label })
7805
+ /* @__PURE__ */ jsx56(Icon33, { icon: p.icon, size: "sm", className: "shrink-0 text-dropdown-item-icon" }),
7806
+ /* @__PURE__ */ jsx56("span", { className: "text-sm font-regular leading-sm text-dropdown-item-text truncate", children: p.label })
7769
7807
  ]
7770
7808
  },
7771
7809
  p.id
@@ -7775,8 +7813,8 @@ var AdvancedRow = ({
7775
7813
  ] }),
7776
7814
  /* @__PURE__ */ jsxs50(PopoverPrimitive11.Root, { open: operatorOpen, onOpenChange: setOperatorOpen, children: [
7777
7815
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs50("button", { type: "button", className: cn(selectBtnStyle, "min-w-0"), children: [
7778
- /* @__PURE__ */ jsx56("span", { className: "text-sm font-regular leading-sm text-[var(--color-foreground)] whitespace-nowrap truncate text-left", children: condition.operator ?? "Select" }),
7779
- /* @__PURE__ */ jsx56(Icon33, { icon: faChevronDownOutline2, size: "xs", className: "shrink-0 text-[var(--color-foreground)]" })
7816
+ /* @__PURE__ */ jsx56("span", { className: "text-sm font-regular leading-sm text-foreground whitespace-nowrap truncate text-left", children: condition.operator ?? "Select" }),
7817
+ /* @__PURE__ */ jsx56(Icon33, { icon: faChevronDownOutline2, size: "xs", className: "shrink-0 text-foreground" })
7780
7818
  ] }) }),
7781
7819
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Portal, { children: /* @__PURE__ */ jsx56(
7782
7820
  PopoverPrimitive11.Content,
@@ -7785,7 +7823,7 @@ var AdvancedRow = ({
7785
7823
  align: "start",
7786
7824
  className: cn(
7787
7825
  "z-50 flex flex-col p-xs overflow-clip",
7788
- "bg-[var(--color-dropdown-bg)] border border-[var(--color-dropdown-border)] rounded-md shadow-lg",
7826
+ "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
7789
7827
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7790
7828
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
7791
7829
  "min-w-[160px]"
@@ -7816,10 +7854,10 @@ var AdvancedRow = ({
7816
7854
  placeholder: "Enter value...",
7817
7855
  className: cn(
7818
7856
  "flex-1 min-w-[80px] px-base py-sm",
7819
- "bg-[var(--color-background)] border border-[var(--color-input)] rounded-base",
7820
- "text-sm font-regular leading-sm text-[var(--color-foreground)]",
7821
- "placeholder:text-[var(--color-muted-foreground)]",
7822
- "focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)] focus:ring-offset-0"
7857
+ "bg-background border border-input rounded-base",
7858
+ "text-sm font-regular leading-sm text-foreground",
7859
+ "placeholder:text-muted-foreground",
7860
+ "focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-0"
7823
7861
  )
7824
7862
  }
7825
7863
  );
@@ -7842,7 +7880,7 @@ var AdvancedRow = ({
7842
7880
  {
7843
7881
  className: cn(
7844
7882
  "text-sm font-regular leading-sm whitespace-nowrap truncate text-left",
7845
- hasValue ? "text-[var(--color-foreground)]" : "text-[var(--color-muted-foreground)]"
7883
+ hasValue ? "text-foreground" : "text-muted-foreground"
7846
7884
  ),
7847
7885
  title: hasValue ? displayValue : void 0,
7848
7886
  children: hasValue ? displayValue : "Select a value"
@@ -7853,7 +7891,7 @@ var AdvancedRow = ({
7853
7891
  {
7854
7892
  icon: faChevronDownOutline2,
7855
7893
  size: "xs",
7856
- className: "shrink-0 text-[var(--color-foreground)]"
7894
+ className: "shrink-0 text-foreground"
7857
7895
  }
7858
7896
  )
7859
7897
  ]
@@ -7866,7 +7904,7 @@ var AdvancedRow = ({
7866
7904
  align: "start",
7867
7905
  className: cn(
7868
7906
  "z-50 flex flex-col overflow-clip",
7869
- "bg-[var(--color-dropdown-bg)] border border-[var(--color-dropdown-border)] rounded-md shadow-lg",
7907
+ "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
7870
7908
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7871
7909
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
7872
7910
  ),
@@ -7956,19 +7994,19 @@ function ValueTagRow({ tags }) {
7956
7994
  ),
7957
7995
  /* @__PURE__ */ jsxs50("div", { ref: containerRef, className: "flex flex-1 items-center gap-xs overflow-hidden", children: [
7958
7996
  tags.slice(0, visibleCount).map((t) => /* @__PURE__ */ jsx56("span", { className: tagChip, children: t }, t)),
7959
- overflowCount > 0 && /* @__PURE__ */ jsx56(TooltipPrimitive3.Provider, { delayDuration: 200, children: /* @__PURE__ */ jsxs50(TooltipPrimitive3.Root, { children: [
7960
- /* @__PURE__ */ jsx56(TooltipPrimitive3.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs50("span", { className: cn(tagChip, "cursor-default bg-filter-chip-badge-bg text-filter-chip-badge-text"), children: [
7997
+ overflowCount > 0 && /* @__PURE__ */ jsx56(TooltipPrimitive4.Provider, { delayDuration: 200, children: /* @__PURE__ */ jsxs50(TooltipPrimitive4.Root, { children: [
7998
+ /* @__PURE__ */ jsx56(TooltipPrimitive4.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs50("span", { className: cn(tagChip, "cursor-default bg-filter-chip-badge-bg text-filter-chip-badge-text"), children: [
7961
7999
  "+",
7962
8000
  overflowCount
7963
8001
  ] }) }),
7964
- /* @__PURE__ */ jsx56(TooltipPrimitive3.Portal, { children: /* @__PURE__ */ jsxs50(
7965
- TooltipPrimitive3.Content,
8002
+ /* @__PURE__ */ jsx56(TooltipPrimitive4.Portal, { children: /* @__PURE__ */ jsxs50(
8003
+ TooltipPrimitive4.Content,
7966
8004
  {
7967
8005
  sideOffset: 4,
7968
8006
  className: "z-50 px-base py-sm rounded-md shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-xs font-regular leading-xs flex flex-col gap-xs data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
7969
8007
  children: [
7970
8008
  overflowTags.map((t) => /* @__PURE__ */ jsx56("span", { children: t }, t)),
7971
- /* @__PURE__ */ jsx56(TooltipPrimitive3.Arrow, { className: "fill-tooltip-default-bg" })
8009
+ /* @__PURE__ */ jsx56(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
7972
8010
  ]
7973
8011
  }
7974
8012
  ) })
@@ -7979,7 +8017,7 @@ function ValueTagRow({ tags }) {
7979
8017
 
7980
8018
  // src/components/ui/filter/advanced-group.tsx
7981
8019
  import * as React50 from "react";
7982
- import * as TooltipPrimitive4 from "@radix-ui/react-tooltip";
8020
+ import * as TooltipPrimitive5 from "@radix-ui/react-tooltip";
7983
8021
  import { Icon as Icon34, faPlusOutline as faPlusOutline2 } from "@l3mpire/icons";
7984
8022
  import { jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
7985
8023
  var AdvancedGroup = ({
@@ -7994,21 +8032,21 @@ var AdvancedGroup = ({
7994
8032
  }) => {
7995
8033
  const [addOpen, setAddOpen] = React50.useState(false);
7996
8034
  return /* @__PURE__ */ jsxs51("div", { className: "flex items-start gap-base w-full min-w-0", children: [
7997
- connector === "Where" ? /* @__PURE__ */ jsx57("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ jsx57("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */ jsx57("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ jsx57(TooltipPrimitive4.Provider, { delayDuration: 200, children: /* @__PURE__ */ jsxs51(TooltipPrimitive4.Root, { children: [
7998
- /* @__PURE__ */ jsx57(TooltipPrimitive4.Trigger, { asChild: true, children: /* @__PURE__ */ jsx57("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)] cursor-default", children: connector }) }),
7999
- /* @__PURE__ */ jsx57(TooltipPrimitive4.Portal, { children: /* @__PURE__ */ jsxs51(
8000
- TooltipPrimitive4.Content,
8035
+ connector === "Where" ? /* @__PURE__ */ jsx57("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ jsx57("span", { className: "text-xs font-medium leading-xs text-muted-foreground", children: "Where" }) }) : /* @__PURE__ */ jsx57("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ jsx57(TooltipPrimitive5.Provider, { delayDuration: 200, children: /* @__PURE__ */ jsxs51(TooltipPrimitive5.Root, { children: [
8036
+ /* @__PURE__ */ jsx57(TooltipPrimitive5.Trigger, { asChild: true, children: /* @__PURE__ */ jsx57("span", { className: "text-xs font-medium leading-xs text-muted-foreground cursor-default", children: connector }) }),
8037
+ /* @__PURE__ */ jsx57(TooltipPrimitive5.Portal, { children: /* @__PURE__ */ jsxs51(
8038
+ TooltipPrimitive5.Content,
8001
8039
  {
8002
8040
  sideOffset: 4,
8003
8041
  className: "z-50 px-base py-sm rounded-md shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
8004
8042
  children: [
8005
8043
  '"Or" operator coming soon',
8006
- /* @__PURE__ */ jsx57(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
8044
+ /* @__PURE__ */ jsx57(TooltipPrimitive5.Arrow, { className: "fill-tooltip-default-bg" })
8007
8045
  ]
8008
8046
  }
8009
8047
  ) })
8010
8048
  ] }) }) }),
8011
- /* @__PURE__ */ jsxs51("div", { className: "flex-1 min-w-0 flex flex-col gap-base p-base border border-[var(--color-border)] rounded-md bg-[var(--color-secondary,var(--color-accent))]", children: [
8049
+ /* @__PURE__ */ jsxs51("div", { className: "flex-1 min-w-0 flex flex-col gap-base p-base border border-border rounded-md bg-secondary", children: [
8012
8050
  children,
8013
8051
  onAddFilter && properties && /* @__PURE__ */ jsx57(
8014
8052
  PropertySelector,
@@ -8024,7 +8062,7 @@ var AdvancedGroup = ({
8024
8062
  "button",
8025
8063
  {
8026
8064
  type: "button",
8027
- className: "flex items-center gap-sm px-base py-sm text-sm font-medium leading-sm text-[var(--color-muted-foreground)] cursor-pointer transition-colors rounded-md hover:bg-[var(--color-accent)] hover:text-[var(--color-foreground)] w-fit",
8065
+ className: "flex items-center gap-sm px-base py-sm text-sm font-medium leading-sm text-muted-foreground cursor-pointer transition-colors rounded-md hover:bg-accent hover:text-foreground w-fit",
8028
8066
  children: [
8029
8067
  /* @__PURE__ */ jsx57(Icon34, { icon: faPlusOutline2, size: "sm" }),
8030
8068
  "Add filter"
@@ -8053,7 +8091,7 @@ var ghostBtn = [
8053
8091
  "flex items-center gap-sm px-base py-sm",
8054
8092
  "min-h-[32px]",
8055
8093
  "cursor-pointer transition-colors text-sm font-medium leading-sm",
8056
- "rounded-md hover:bg-[var(--color-accent)]"
8094
+ "rounded-md hover:bg-accent"
8057
8095
  ];
8058
8096
  var AdvancedPopover = ({
8059
8097
  filters,
@@ -8217,7 +8255,7 @@ var AdvancedPopover = ({
8217
8255
  onOpenAutoFocus: (e) => e.preventDefault(),
8218
8256
  className: cn(
8219
8257
  "z-50 flex flex-col",
8220
- "bg-[var(--color-background)] rounded-md shadow-lg",
8258
+ "bg-background rounded-md shadow-lg",
8221
8259
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
8222
8260
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
8223
8261
  "data-[side=bottom]:slide-in-from-top-2",
@@ -8233,7 +8271,7 @@ var AdvancedPopover = ({
8233
8271
  onOpenChange: setDraftPickerOpen
8234
8272
  }
8235
8273
  ) }),
8236
- /* @__PURE__ */ jsxs52("div", { className: "flex items-center justify-between p-base border-t border-[var(--color-border)]", children: [
8274
+ /* @__PURE__ */ jsxs52("div", { className: "flex items-center justify-between p-base border-t border-border", children: [
8237
8275
  /* @__PURE__ */ jsxs52("div", { className: "flex items-center gap-sm", children: [
8238
8276
  /* @__PURE__ */ jsx58(
8239
8277
  PropertySelector,
@@ -8242,8 +8280,8 @@ var AdvancedPopover = ({
8242
8280
  onSelect: handleAddFilter,
8243
8281
  open: addSelectorOpen,
8244
8282
  onOpenChange: setAddSelectorOpen,
8245
- children: /* @__PURE__ */ jsxs52("button", { type: "button", className: cn(ghostBtn, "text-[var(--color-foreground)]"), children: [
8246
- /* @__PURE__ */ jsx58(Icon35, { icon: faPlusOutline3, size: "sm", className: "text-[var(--color-foreground)]" }),
8283
+ children: /* @__PURE__ */ jsxs52("button", { type: "button", className: cn(ghostBtn, "text-foreground"), children: [
8284
+ /* @__PURE__ */ jsx58(Icon35, { icon: faPlusOutline3, size: "sm", className: "text-foreground" }),
8247
8285
  "Add filter"
8248
8286
  ] })
8249
8287
  }
@@ -8253,9 +8291,9 @@ var AdvancedPopover = ({
8253
8291
  {
8254
8292
  type: "button",
8255
8293
  onClick: handleAddGroup,
8256
- className: cn(ghostBtn, "text-[var(--color-foreground)]"),
8294
+ className: cn(ghostBtn, "text-foreground"),
8257
8295
  children: [
8258
- /* @__PURE__ */ jsx58(Icon35, { icon: faPlusOutline3, size: "sm", className: "text-[var(--color-foreground)]" }),
8296
+ /* @__PURE__ */ jsx58(Icon35, { icon: faPlusOutline3, size: "sm", className: "text-foreground" }),
8259
8297
  "Add filters group"
8260
8298
  ]
8261
8299
  }
@@ -8266,9 +8304,9 @@ var AdvancedPopover = ({
8266
8304
  {
8267
8305
  type: "button",
8268
8306
  onClick: handleClearAll,
8269
- className: cn(ghostBtn, "text-[var(--color-destructive,#ef4444)]"),
8307
+ className: cn(ghostBtn, "text-destructive"),
8270
8308
  children: [
8271
- /* @__PURE__ */ jsx58(Icon35, { icon: faXmarkOutline4, size: "sm", className: "text-[var(--color-destructive,#ef4444)]" }),
8309
+ /* @__PURE__ */ jsx58(Icon35, { icon: faXmarkOutline4, size: "sm", className: "text-destructive" }),
8272
8310
  "Clear filters"
8273
8311
  ]
8274
8312
  }
@@ -8294,7 +8332,7 @@ var DraftRow = ({
8294
8332
  onOpenChange?.(v);
8295
8333
  };
8296
8334
  return /* @__PURE__ */ jsxs52("div", { className: "flex items-center gap-base w-full min-w-0", children: [
8297
- /* @__PURE__ */ jsx58("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx58("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }),
8335
+ /* @__PURE__ */ jsx58("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx58("span", { className: "text-xs font-medium leading-xs text-muted-foreground", children: "Where" }) }),
8298
8336
  /* @__PURE__ */ jsx58(
8299
8337
  PropertySelector,
8300
8338
  {
@@ -8311,19 +8349,19 @@ var DraftRow = ({
8311
8349
  type: "button",
8312
8350
  className: cn(
8313
8351
  "flex items-center gap-base px-base py-sm min-w-0",
8314
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
8315
- "border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm",
8352
+ "bg-gradient-to-t from-btn-outlined-neutral-bg-default to-btn-outlined-neutral-bg-gradient-to-default",
8353
+ "border border-btn-outlined-neutral-border-default rounded-md shadow-sm",
8316
8354
  "cursor-pointer transition-colors",
8317
- "hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
8355
+ "hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover"
8318
8356
  ),
8319
8357
  children: [
8320
- /* @__PURE__ */ jsx58("span", { className: "text-sm font-regular leading-sm text-[var(--color-muted-foreground)] whitespace-nowrap", children: "Select property" }),
8358
+ /* @__PURE__ */ jsx58("span", { className: "text-sm font-regular leading-sm text-muted-foreground whitespace-nowrap", children: "Select property" }),
8321
8359
  /* @__PURE__ */ jsx58(
8322
8360
  Icon35,
8323
8361
  {
8324
8362
  icon: faChevronDownOutline3,
8325
8363
  size: "xs",
8326
- className: "shrink-0 text-[var(--color-foreground)]"
8364
+ className: "shrink-0 text-foreground"
8327
8365
  }
8328
8366
  )
8329
8367
  ]
@@ -8337,14 +8375,14 @@ var DraftRow = ({
8337
8375
  // src/components/ui/filter/summary-chip.tsx
8338
8376
  import * as React52 from "react";
8339
8377
  import * as PopoverPrimitive13 from "@radix-ui/react-popover";
8340
- import * as TooltipPrimitive5 from "@radix-ui/react-tooltip";
8378
+ import * as TooltipPrimitive6 from "@radix-ui/react-tooltip";
8341
8379
  import { Icon as Icon36, faFilterOutline as faFilterOutline6, faPlusOutline as faPlusOutline4, faChevronDownOutline as faChevronDownOutline4, faXmarkOutline as faXmarkOutline5 } from "@l3mpire/icons";
8342
8380
  import { jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
8343
8381
  var ghostBtn2 = [
8344
8382
  "flex items-center gap-sm px-base py-sm",
8345
8383
  "min-h-[32px]",
8346
8384
  "cursor-pointer transition-colors text-sm font-medium leading-sm",
8347
- "rounded-md hover:bg-[var(--color-accent)]"
8385
+ "rounded-md hover:bg-accent"
8348
8386
  ];
8349
8387
  var SummaryChip = ({
8350
8388
  count,
@@ -8505,30 +8543,30 @@ var SummaryChip = ({
8505
8543
  className: cn(
8506
8544
  "inline-flex items-center gap-sm px-base py-sm",
8507
8545
  "min-h-[32px] max-h-[32px]",
8508
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
8509
- "border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm",
8546
+ "bg-gradient-to-t from-btn-outlined-neutral-bg-default from-[10%] to-btn-outlined-neutral-bg-gradient-to-default",
8547
+ "border border-btn-outlined-neutral-border-default rounded-md shadow-sm",
8510
8548
  "cursor-pointer transition-colors",
8511
- "hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]",
8549
+ "hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover",
8512
8550
  className
8513
8551
  ),
8514
8552
  children: [
8515
- /* @__PURE__ */ jsx59(Icon36, { icon: faFilterOutline6, size: "sm", className: "shrink-0 text-[var(--color-foreground)]" }),
8516
- /* @__PURE__ */ jsx59("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Filters" }),
8553
+ /* @__PURE__ */ jsx59(Icon36, { icon: faFilterOutline6, size: "sm", className: "shrink-0 text-foreground" }),
8554
+ /* @__PURE__ */ jsx59("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-foreground", children: "Filters" }),
8517
8555
  count > 0 && /* @__PURE__ */ jsx59("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx59("span", { className: "text-[10px] font-medium leading-2xs text-filter-chip-badge-text", children: count }) })
8518
8556
  ]
8519
8557
  }
8520
8558
  );
8521
8559
  const hasTooltip = tooltipContent && !open;
8522
- return /* @__PURE__ */ jsx59(TooltipPrimitive5.Provider, { delayDuration: 300, children: /* @__PURE__ */ jsx59(TooltipPrimitive5.Root, { open: hasTooltip ? void 0 : false, children: /* @__PURE__ */ jsxs53(PopoverPrimitive13.Root, { open, onOpenChange: setOpen, children: [
8523
- /* @__PURE__ */ jsx59(TooltipPrimitive5.Trigger, { asChild: true, children: /* @__PURE__ */ jsx59(PopoverPrimitive13.Trigger, { asChild: true, children: trigger }) }),
8524
- hasTooltip && /* @__PURE__ */ jsx59(TooltipPrimitive5.Portal, { children: /* @__PURE__ */ jsxs53(
8525
- TooltipPrimitive5.Content,
8560
+ return /* @__PURE__ */ jsx59(TooltipPrimitive6.Provider, { delayDuration: 300, children: /* @__PURE__ */ jsx59(TooltipPrimitive6.Root, { open: hasTooltip ? void 0 : false, children: /* @__PURE__ */ jsxs53(PopoverPrimitive13.Root, { open, onOpenChange: setOpen, children: [
8561
+ /* @__PURE__ */ jsx59(TooltipPrimitive6.Trigger, { asChild: true, children: /* @__PURE__ */ jsx59(PopoverPrimitive13.Trigger, { asChild: true, children: trigger }) }),
8562
+ hasTooltip && /* @__PURE__ */ jsx59(TooltipPrimitive6.Portal, { children: /* @__PURE__ */ jsxs53(
8563
+ TooltipPrimitive6.Content,
8526
8564
  {
8527
8565
  sideOffset: 4,
8528
8566
  className: "z-50 px-base py-sm rounded-md shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm max-w-[320px] data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
8529
8567
  children: [
8530
8568
  tooltipContent,
8531
- /* @__PURE__ */ jsx59(TooltipPrimitive5.Arrow, { className: "fill-tooltip-default-bg" })
8569
+ /* @__PURE__ */ jsx59(TooltipPrimitive6.Arrow, { className: "fill-tooltip-default-bg" })
8532
8570
  ]
8533
8571
  }
8534
8572
  ) }),
@@ -8542,7 +8580,7 @@ var SummaryChip = ({
8542
8580
  onOpenAutoFocus: (e) => e.preventDefault(),
8543
8581
  className: cn(
8544
8582
  "z-50 flex flex-col overflow-clip",
8545
- "bg-[var(--color-dropdown-bg)] border border-[var(--color-dropdown-border)] rounded-md shadow-lg",
8583
+ "bg-dropdown-bg border border-dropdown-border rounded-md shadow-lg",
8546
8584
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
8547
8585
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
8548
8586
  "data-[side=bottom]:slide-in-from-top-2",
@@ -8558,7 +8596,7 @@ var SummaryChip = ({
8558
8596
  onOpenChange: setDraftPickerOpen
8559
8597
  }
8560
8598
  ) }),
8561
- /* @__PURE__ */ jsxs53("div", { className: "flex items-center justify-between p-base border-t border-[var(--color-border)]", children: [
8599
+ /* @__PURE__ */ jsxs53("div", { className: "flex items-center justify-between p-base border-t border-border", children: [
8562
8600
  /* @__PURE__ */ jsxs53("div", { className: "flex items-center gap-sm", children: [
8563
8601
  /* @__PURE__ */ jsx59(
8564
8602
  PropertySelector,
@@ -8567,14 +8605,14 @@ var SummaryChip = ({
8567
8605
  onSelect: handleAddFilter,
8568
8606
  open: addSelectorOpen,
8569
8607
  onOpenChange: setAddSelectorOpen,
8570
- children: /* @__PURE__ */ jsxs53("button", { type: "button", className: cn(ghostBtn2, "text-[var(--color-foreground)]"), children: [
8571
- /* @__PURE__ */ jsx59(Icon36, { icon: faPlusOutline4, size: "sm", className: "text-[var(--color-foreground)]" }),
8608
+ children: /* @__PURE__ */ jsxs53("button", { type: "button", className: cn(ghostBtn2, "text-foreground"), children: [
8609
+ /* @__PURE__ */ jsx59(Icon36, { icon: faPlusOutline4, size: "sm", className: "text-foreground" }),
8572
8610
  "Add filter"
8573
8611
  ] })
8574
8612
  }
8575
8613
  ),
8576
- /* @__PURE__ */ jsxs53("button", { type: "button", onClick: handleAddGroup, className: cn(ghostBtn2, "text-[var(--color-foreground)]"), children: [
8577
- /* @__PURE__ */ jsx59(Icon36, { icon: faPlusOutline4, size: "sm", className: "text-[var(--color-foreground)]" }),
8614
+ /* @__PURE__ */ jsxs53("button", { type: "button", onClick: handleAddGroup, className: cn(ghostBtn2, "text-foreground"), children: [
8615
+ /* @__PURE__ */ jsx59(Icon36, { icon: faPlusOutline4, size: "sm", className: "text-foreground" }),
8578
8616
  "Add filters group"
8579
8617
  ] })
8580
8618
  ] }),
@@ -8586,9 +8624,9 @@ var SummaryChip = ({
8586
8624
  onClearAll();
8587
8625
  setOpen(false);
8588
8626
  },
8589
- className: cn(ghostBtn2, "text-[var(--color-destructive,#ef4444)]"),
8627
+ className: cn(ghostBtn2, "text-destructive"),
8590
8628
  children: [
8591
- /* @__PURE__ */ jsx59(Icon36, { icon: faXmarkOutline5, size: "sm", className: "text-[var(--color-destructive,#ef4444)]" }),
8629
+ /* @__PURE__ */ jsx59(Icon36, { icon: faXmarkOutline5, size: "sm", className: "text-destructive" }),
8592
8630
  "Clear filters"
8593
8631
  ]
8594
8632
  }
@@ -8609,7 +8647,7 @@ var DraftRow2 = ({ properties, onSelect, open: openProp, onOpenChange }) => {
8609
8647
  onOpenChange?.(v);
8610
8648
  };
8611
8649
  return /* @__PURE__ */ jsxs53("div", { className: "flex items-center gap-base w-full min-w-0", children: [
8612
- /* @__PURE__ */ jsx59("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx59("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }),
8650
+ /* @__PURE__ */ jsx59("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx59("span", { className: "text-xs font-medium leading-xs text-muted-foreground", children: "Where" }) }),
8613
8651
  /* @__PURE__ */ jsx59(PropertySelector, { properties, onSelect: (p) => {
8614
8652
  onSelect(p);
8615
8653
  setOpen(false);
@@ -8619,13 +8657,13 @@ var DraftRow2 = ({ properties, onSelect, open: openProp, onOpenChange }) => {
8619
8657
  type: "button",
8620
8658
  className: cn(
8621
8659
  "flex items-center gap-base px-base py-sm min-w-0",
8622
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
8623
- "border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm cursor-pointer transition-colors",
8624
- "hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
8660
+ "bg-gradient-to-t from-btn-outlined-neutral-bg-default to-btn-outlined-neutral-bg-gradient-to-default",
8661
+ "border border-btn-outlined-neutral-border-default rounded-md shadow-sm cursor-pointer transition-colors",
8662
+ "hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover"
8625
8663
  ),
8626
8664
  children: [
8627
- /* @__PURE__ */ jsx59("span", { className: "text-sm font-regular leading-sm text-[var(--color-muted-foreground)] whitespace-nowrap", children: "Select property" }),
8628
- /* @__PURE__ */ jsx59(Icon36, { icon: faChevronDownOutline4, size: "xs", className: "shrink-0 text-[var(--color-foreground)]" })
8665
+ /* @__PURE__ */ jsx59("span", { className: "text-sm font-regular leading-sm text-muted-foreground whitespace-nowrap", children: "Select property" }),
8666
+ /* @__PURE__ */ jsx59(Icon36, { icon: faChevronDownOutline4, size: "xs", className: "shrink-0 text-foreground" })
8629
8667
  ]
8630
8668
  }
8631
8669
  ) })
@@ -8852,8 +8890,8 @@ var FilterSystem = ({
8852
8890
  "button",
8853
8891
  {
8854
8892
  type: "button",
8855
- className: "shrink-0 inline-flex items-center justify-center size-8 rounded-md border border-[var(--color-btn-outlined-neutral-border-default)] bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)] shadow-sm cursor-pointer transition-colors hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]",
8856
- children: /* @__PURE__ */ jsx60(Icon37, { icon: faPlusOutline5, size: "sm", className: "text-[var(--color-foreground)]" })
8893
+ className: "shrink-0 inline-flex items-center justify-center size-8 rounded-md border border-btn-outlined-neutral-border-default bg-gradient-to-t from-btn-outlined-neutral-bg-default from-[10%] to-btn-outlined-neutral-bg-gradient-to-default shadow-sm cursor-pointer transition-colors hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover",
8894
+ children: /* @__PURE__ */ jsx60(Icon37, { icon: faPlusOutline5, size: "sm", className: "text-foreground" })
8857
8895
  }
8858
8896
  ) : /* @__PURE__ */ jsx60(FilterBarButton, {})
8859
8897
  }