@l3mpire/ui 2.20.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
@@ -27,7 +27,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
27
27
  var badgeVariants = cva(
28
28
  [
29
29
  "inline-flex items-center justify-center whitespace-nowrap",
30
- "font-semibold",
30
+ "font-medium",
31
31
  "border border-transparent"
32
32
  ],
33
33
  {
@@ -116,7 +116,7 @@ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
116
116
  var buttonVariants = cva2(
117
117
  [
118
118
  "inline-flex items-center justify-center whitespace-nowrap",
119
- "font-semibold transition-colors",
119
+ "font-medium transition-colors",
120
120
  "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",
121
121
  "disabled:pointer-events-none",
122
122
  "border",
@@ -420,7 +420,7 @@ var BrowserTabItem = React3.forwardRef(
420
420
  },
421
421
  onClick: (e) => e.stopPropagation(),
422
422
  className: cn(
423
- "text-sm font-semibold leading-sm bg-transparent outline-none p-0 m-0",
423
+ "text-sm font-medium leading-sm bg-transparent outline-none p-0 m-0",
424
424
  "border-b border-browser-tab-item-border border-dashed border-t-0 border-l-0 border-r-0",
425
425
  isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
426
426
  ),
@@ -430,7 +430,7 @@ var BrowserTabItem = React3.forwardRef(
430
430
  "span",
431
431
  {
432
432
  className: cn(
433
- "text-sm font-semibold leading-sm whitespace-nowrap",
433
+ "text-sm font-medium leading-sm whitespace-nowrap",
434
434
  isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
435
435
  ),
436
436
  onDoubleClick: (e) => {
@@ -619,7 +619,7 @@ var BrowserTab = React3.forwardRef(
619
619
  "span",
620
620
  {
621
621
  className: cn(
622
- "text-sm font-semibold leading-sm whitespace-nowrap",
622
+ "text-sm font-medium leading-sm whitespace-nowrap",
623
623
  item.isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
624
624
  ),
625
625
  children: item.label
@@ -667,14 +667,14 @@ import { Icon as Icon4 } from "@l3mpire/icons";
667
667
  import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
668
668
  var textSm = "text-sm font-regular leading-sm";
669
669
  var textXs = "text-xs font-regular leading-xs";
670
- var textXsMedium = "text-xs font-semibold leading-xs";
671
- var textSmMedium = "text-sm font-semibold leading-sm";
670
+ var textXsMedium = "text-xs font-medium leading-xs";
671
+ var textSmMedium = "text-sm font-medium leading-sm";
672
672
  var containerStyle = [
673
673
  "flex flex-col gap-base overflow-clip",
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(
@@ -1092,7 +1092,7 @@ import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
1092
1092
  var linkVariants = cva4(
1093
1093
  [
1094
1094
  "inline-flex items-center",
1095
- "font-semibold",
1095
+ "font-medium",
1096
1096
  "transition-colors cursor-pointer",
1097
1097
  "disabled:pointer-events-none",
1098
1098
  "[&_svg]:pointer-events-none [&_svg]:shrink-0"
@@ -1224,7 +1224,7 @@ var InputLabel = React8.forwardRef(({ className, type = "default", disabled, inf
1224
1224
  className: cn(
1225
1225
  "inline-flex items-center gap-xs",
1226
1226
  "text-xs",
1227
- "font-semibold",
1227
+ "font-medium",
1228
1228
  "leading-xs",
1229
1229
  textColor2,
1230
1230
  className
@@ -1303,7 +1303,7 @@ var typeIconMap = {
1303
1303
  warning: { icon: faTriangleExclamationSolid, color: "text-info-message-warning-icon" },
1304
1304
  empty: { icon: faCircleInfoSolid2, color: "text-info-message-empty-icon" }
1305
1305
  };
1306
- var titleStyle = "text-sm font-semibold leading-sm text-info-message-title";
1306
+ var titleStyle = "text-sm font-medium leading-sm text-info-message-title";
1307
1307
  var descriptionStyle = "text-xs font-regular leading-xs text-info-message-description";
1308
1308
  var closeButtonStyle = "inline-flex shrink-0 items-center justify-center p-xs rounded-base text-info-message-close hover:bg-black/5 transition-colors";
1309
1309
  var typeLinkIntentMap = {
@@ -1408,7 +1408,7 @@ var typeIconMap2 = {
1408
1408
  alert: { icon: faCircleExclamationSolid2, color: "text-toast-alert-icon" },
1409
1409
  warning: { icon: faTriangleExclamationSolid2, color: "text-toast-warning-icon" }
1410
1410
  };
1411
- var titleStyle2 = "text-sm font-semibold leading-sm text-toast-title";
1411
+ var titleStyle2 = "text-sm font-medium leading-sm text-toast-title";
1412
1412
  var subtitleStyle = "text-sm font-regular leading-sm text-toast-subtitle";
1413
1413
  var closeButtonStyle2 = "inline-flex shrink-0 items-center justify-center self-start p-sm rounded-md text-toast-close hover:bg-black/5 transition-colors";
1414
1414
  var ToastProvider = ToastPrimitive.Provider;
@@ -1483,7 +1483,7 @@ var trackStyles = {
1483
1483
  ]
1484
1484
  };
1485
1485
  var thumbStyle = "pointer-events-none block rounded-full size-3 translate-x-0.5 bg-switch-thumb-bg shadow-md transition-transform data-[state=checked]:translate-x-[13px]";
1486
- var labelBase = "cursor-pointer select-none text-sm font-semibold leading-sm";
1486
+ var labelBase = "cursor-pointer select-none text-sm font-medium leading-sm";
1487
1487
  var labelColor = {
1488
1488
  default: "text-switch-label-text",
1489
1489
  disabled: "pointer-events-none text-switch-label-disabled"
@@ -2028,7 +2028,7 @@ var Avatar = React15.forwardRef(({ className, size = "xl", shape = "rounded", sr
2028
2028
  {
2029
2029
  delayMs: 0,
2030
2030
  className: cn(
2031
- "font-semibold",
2031
+ "font-medium",
2032
2032
  "text-avatar-fallback-text",
2033
2033
  "select-none text-center",
2034
2034
  initialsFontSize[size ?? "xl"]
@@ -2077,7 +2077,7 @@ var iconStyle = {
2077
2077
  default: "text-checkbox-checked-icon",
2078
2078
  disabled: "text-checkbox-disabled-icon"
2079
2079
  };
2080
- var labelBase2 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold leading-sm";
2080
+ var labelBase2 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium leading-sm";
2081
2081
  var labelColor2 = {
2082
2082
  default: "text-checkbox-label-default",
2083
2083
  disabled: "pointer-events-none text-checkbox-label-disabled"
@@ -2165,7 +2165,7 @@ var dotStyle = {
2165
2165
  default: "bg-radio-selected-dot",
2166
2166
  disabled: "bg-radio-disabled-dot"
2167
2167
  };
2168
- var labelBase3 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold leading-sm";
2168
+ var labelBase3 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium leading-sm";
2169
2169
  var labelColor3 = {
2170
2170
  default: "text-radio-label-default",
2171
2171
  disabled: "pointer-events-none text-radio-label-disabled"
@@ -2234,7 +2234,7 @@ var SidebarHeadingItem = React18.forwardRef(
2234
2234
  ref,
2235
2235
  className: cn(
2236
2236
  "flex items-center w-full",
2237
- "text-xs leading-xs font-semibold text-sidebar-heading-text mb-base",
2237
+ "text-xs leading-xs font-medium text-sidebar-heading-text mb-base",
2238
2238
  className
2239
2239
  ),
2240
2240
  ...props,
@@ -2324,7 +2324,7 @@ var SidebarItem = React19.forwardRef(
2324
2324
  "span",
2325
2325
  {
2326
2326
  className: cn(
2327
- "flex-1 min-w-0 truncate text-sm leading-sm font-semibold",
2327
+ "flex-1 min-w-0 truncate text-sm leading-sm font-medium",
2328
2328
  textColorClass
2329
2329
  ),
2330
2330
  children: label
@@ -2418,7 +2418,7 @@ var iconColor = {
2418
2418
  };
2419
2419
  var errorGuidance = {
2420
2420
  icon: "shrink-0 text-select-error-icon",
2421
- text: "text-xs font-semibold leading-xs text-select-error-text"
2421
+ text: "text-xs font-medium leading-xs text-select-error-text"
2422
2422
  };
2423
2423
  function SelectChips({ tags, onTagRemove, chipHeightPx }) {
2424
2424
  const containerRef = React20.useRef(null);
@@ -2463,7 +2463,7 @@ function SelectChips({ tags, onTagRemove, chipHeightPx }) {
2463
2463
  "inline-flex items-center gap-xs shrink-0",
2464
2464
  "px-sm rounded-base",
2465
2465
  "bg-tag-neutral-bg text-tag-neutral-text",
2466
- "text-xs font-semibold leading-xs",
2466
+ "text-xs font-medium leading-xs",
2467
2467
  "whitespace-nowrap"
2468
2468
  );
2469
2469
  return /* @__PURE__ */ jsxs18("div", { className: "flex flex-1 items-center gap-xs min-w-0 overflow-hidden relative", children: [
@@ -2708,7 +2708,7 @@ var TabTrigger = React21.forwardRef(({ className, badge, children, ...props }, r
2708
2708
  "span",
2709
2709
  {
2710
2710
  className: cn(
2711
- "text-sm font-semibold leading-sm whitespace-nowrap",
2711
+ "text-sm font-medium leading-sm whitespace-nowrap",
2712
2712
  "text-tab-item-default-text",
2713
2713
  "group-data-[state=active]:text-tab-item-active-text"
2714
2714
  ),
@@ -2742,7 +2742,7 @@ var tagVariants = cva12(
2742
2742
  "inline-flex items-center",
2743
2743
  "gap-xs",
2744
2744
  "rounded-base",
2745
- "font-semibold",
2745
+ "font-medium",
2746
2746
  "whitespace-nowrap"
2747
2747
  ],
2748
2748
  {
@@ -2847,7 +2847,7 @@ var fieldStates = {
2847
2847
  };
2848
2848
  var errorGuidance2 = {
2849
2849
  icon: "shrink-0 text-textarea-error-icon",
2850
- text: "text-xs font-semibold leading-xs text-textarea-error-text"
2850
+ text: "text-xs font-medium leading-xs text-textarea-error-text"
2851
2851
  };
2852
2852
  var charLimitStyle = "shrink-0 text-right text-xs font-regular leading-xs text-textarea-char-limit";
2853
2853
  function resolveState(error, success, disabled) {
@@ -2979,7 +2979,7 @@ var attachedButtonStyles = {
2979
2979
  };
2980
2980
  var errorGuidance3 = {
2981
2981
  icon: "shrink-0 text-text-input-error-icon",
2982
- text: "text-xs font-semibold leading-xs text-text-input-error-text"
2982
+ text: "text-xs font-medium leading-xs text-text-input-error-text"
2983
2983
  };
2984
2984
  function resolveState2(error, success, disabled) {
2985
2985
  if (disabled) return "disabled";
@@ -3147,12 +3147,12 @@ var chipStyle = [
3147
3147
  "inline-flex items-center gap-xs shrink-0",
3148
3148
  "h-6 px-sm rounded-base",
3149
3149
  "bg-tag-neutral-bg text-tag-neutral-text",
3150
- "text-xs font-semibold leading-xs",
3150
+ "text-xs font-medium leading-xs",
3151
3151
  "whitespace-nowrap"
3152
3152
  ];
3153
3153
  var errorGuidance4 = {
3154
3154
  icon: "shrink-0 text-text-input-error-icon",
3155
- text: "text-xs font-semibold leading-xs text-text-input-error-text"
3155
+ text: "text-xs font-medium leading-xs text-text-input-error-text"
3156
3156
  };
3157
3157
  var ChipInput = React25.forwardRef(
3158
3158
  ({
@@ -3347,7 +3347,7 @@ var wrapperStates3 = {
3347
3347
  };
3348
3348
  var errorGuidance5 = {
3349
3349
  icon: "shrink-0 text-text-input-error-icon",
3350
- text: "text-xs font-semibold leading-xs text-text-input-error-text"
3350
+ text: "text-xs font-medium leading-xs text-text-input-error-text"
3351
3351
  };
3352
3352
  var NumberInput = React26.forwardRef(
3353
3353
  ({
@@ -3528,6 +3528,7 @@ var typographyVariants = cva16("", {
3528
3528
  },
3529
3529
  weight: {
3530
3530
  regular: "font-regular",
3531
+ medium: "font-medium",
3531
3532
  semibold: "font-semibold",
3532
3533
  bold: "font-bold"
3533
3534
  }
@@ -3548,12 +3549,14 @@ var defaultElementMap = {
3548
3549
  };
3549
3550
  var Typography = React27.forwardRef(
3550
3551
  ({ className, variant = "md", weight, as, asChild = false, ...props }, ref) => {
3552
+ const isHeading = variant === "h1" || variant === "h2" || variant === "h3";
3553
+ const resolvedWeight = weight ?? (isHeading ? "semibold" : "regular");
3551
3554
  const Comp = asChild ? Slot3 : as ?? defaultElementMap[variant ?? "md"] ?? "p";
3552
3555
  return /* @__PURE__ */ jsx27(
3553
3556
  Comp,
3554
3557
  {
3555
3558
  ref,
3556
- className: cn(typographyVariants({ variant, weight }), className),
3559
+ className: cn(typographyVariants({ variant, weight: resolvedWeight }), className),
3557
3560
  ...props
3558
3561
  }
3559
3562
  );
@@ -3594,7 +3597,7 @@ var UserMenuInfoRow = React28.forwardRef(
3594
3597
  children: [
3595
3598
  avatar,
3596
3599
  /* @__PURE__ */ jsxs25("div", { className: "flex flex-1 flex-col min-w-0", children: [
3597
- /* @__PURE__ */ jsx28("span", { className: "text-sm font-semibold leading-sm text-user-menu-name truncate", children: name }),
3600
+ /* @__PURE__ */ jsx28("span", { className: "text-sm font-medium leading-sm text-user-menu-name truncate", children: name }),
3598
3601
  subtitle && /* @__PURE__ */ jsx28("span", { className: "text-xs font-regular leading-xs text-user-menu-subtitle truncate", children: subtitle })
3599
3602
  ] }),
3600
3603
  action
@@ -3703,7 +3706,7 @@ var ModalTitle = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE
3703
3706
  DialogPrimitive.Title,
3704
3707
  {
3705
3708
  ref,
3706
- className: cn("text-base font-semibold leading-base text-modal-header-title", className),
3709
+ className: cn("text-base font-medium leading-base text-modal-header-title", className),
3707
3710
  ...props
3708
3711
  }
3709
3712
  ));
@@ -3865,7 +3868,7 @@ var EmptyState = React31.forwardRef(
3865
3868
  "p",
3866
3869
  {
3867
3870
  className: cn(
3868
- "font-semibold text-table-cell-text-primary",
3871
+ "font-medium text-table-cell-text-primary",
3869
3872
  isMd ? "text-base leading-base" : "text-sm leading-sm"
3870
3873
  ),
3871
3874
  children: title
@@ -3934,7 +3937,7 @@ var AvatarCell = ({
3934
3937
  }) => /* @__PURE__ */ jsxs29("div", { className: cn("flex items-center gap-md", className), children: [
3935
3938
  /* @__PURE__ */ jsx32(Avatar, { initials: getInitials(name), src, alt: name, size: "lg", shape: "rounded" }),
3936
3939
  /* @__PURE__ */ jsxs29("div", { className: "flex flex-col", children: [
3937
- /* @__PURE__ */ jsx32("span", { className: "text-sm font-semibold text-table-cell-text-primary leading-sm", children: name }),
3940
+ /* @__PURE__ */ jsx32("span", { className: "text-sm font-medium text-table-cell-text-primary leading-sm", children: name }),
3938
3941
  subtitle && /* @__PURE__ */ jsx32("span", { className: "text-xs font-regular text-table-cell-text-secondary leading-xs", children: subtitle })
3939
3942
  ] })
3940
3943
  ] });
@@ -3943,7 +3946,7 @@ var StatusCell = ({
3943
3946
  label,
3944
3947
  variant = "light",
3945
3948
  type = "primary",
3946
- size = "sm",
3949
+ size = "md",
3947
3950
  className
3948
3951
  }) => /* @__PURE__ */ jsx32("div", { className: cn("flex items-center", className), children: /* @__PURE__ */ jsx32(Badge, { variant, type, size, children: label }) });
3949
3952
  StatusCell.displayName = "StatusCell";
@@ -3972,7 +3975,7 @@ var NumberCell = ({
3972
3975
  className
3973
3976
  ),
3974
3977
  children: [
3975
- /* @__PURE__ */ jsx32("span", { className: "text-sm font-semibold text-table-cell-text-primary", children: formatted }),
3978
+ /* @__PURE__ */ jsx32("span", { className: "text-sm font-medium text-table-cell-text-primary", children: formatted }),
3976
3979
  secondaryStat && /* @__PURE__ */ jsx32(
3977
3980
  "span",
3978
3981
  {
@@ -4040,7 +4043,7 @@ var TextCell = ({
4040
4043
  {
4041
4044
  className: cn(
4042
4045
  "text-sm",
4043
- secondary ? "font-regular text-table-cell-text-secondary" : "font-semibold text-table-cell-text-primary",
4046
+ secondary ? "font-regular text-table-cell-text-secondary" : "font-medium text-table-cell-text-primary",
4044
4047
  className
4045
4048
  ),
4046
4049
  children: value
@@ -4089,7 +4092,7 @@ var EditableCell = ({
4089
4092
  {
4090
4093
  ref: inputRef,
4091
4094
  className: cn(
4092
- "w-full bg-transparent text-sm font-semibold text-table-cell-text-primary",
4095
+ "w-full bg-transparent text-sm font-medium text-table-cell-text-primary",
4093
4096
  "outline-none border-b border-table-border py-0 h-[20px]",
4094
4097
  className
4095
4098
  ),
@@ -4106,7 +4109,7 @@ var EditableCell = ({
4106
4109
  role: "button",
4107
4110
  tabIndex: 0,
4108
4111
  className: cn(
4109
- "text-sm font-semibold text-table-cell-text-primary cursor-text leading-sm h-[20px] inline-block",
4112
+ "text-sm font-medium text-table-cell-text-primary cursor-text leading-sm h-[20px] inline-block",
4110
4113
  className
4111
4114
  ),
4112
4115
  onDoubleClick: () => setIsEditing(true),
@@ -4202,7 +4205,7 @@ var TableFooter = React33.forwardRef(({ className, ...props }, ref) => /* @__PUR
4202
4205
  {
4203
4206
  ref,
4204
4207
  className: cn(
4205
- "border-t border-table-border bg-table-bg font-semibold",
4208
+ "border-t border-table-border bg-table-bg font-medium",
4206
4209
  className
4207
4210
  ),
4208
4211
  ...props
@@ -4228,7 +4231,7 @@ var TableHead = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE_
4228
4231
  {
4229
4232
  ref,
4230
4233
  className: cn(
4231
- "group/head h-10 px-md py-md text-left align-middle text-xs font-semibold leading-xs",
4234
+ "group/head h-10 px-md py-md text-left align-middle text-xs font-medium leading-xs",
4232
4235
  "text-table-head-text bg-table-head-bg-default",
4233
4236
  "hover:bg-table-head-bg-hover",
4234
4237
  "border-b border-r border-table-border last:border-r-0",
@@ -4244,7 +4247,7 @@ var TableCell = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE_
4244
4247
  {
4245
4248
  ref,
4246
4249
  className: cn(
4247
- "px-md py-md align-middle text-sm font-semibold max-h-[52px]",
4250
+ "px-md py-md align-middle text-sm font-medium max-h-[52px]",
4248
4251
  "text-table-cell-text-primary",
4249
4252
  "border-b border-r border-table-border last:border-r-0",
4250
4253
  "[&:has([role=checkbox])]:pr-0",
@@ -4343,7 +4346,7 @@ function ColumnFilterPopover({
4343
4346
  ),
4344
4347
  onClick: (e) => e.stopPropagation(),
4345
4348
  children: /* @__PURE__ */ jsxs30("div", { className: "flex flex-col gap-sm", children: [
4346
- /* @__PURE__ */ jsx34("span", { className: "text-xs font-semibold text-table-head-text", children: "Filter" }),
4349
+ /* @__PURE__ */ jsx34("span", { className: "text-xs font-medium text-table-head-text", children: "Filter" }),
4347
4350
  /* @__PURE__ */ jsx34(
4348
4351
  "select",
4349
4352
  {
@@ -4988,6 +4991,7 @@ SidePanelContent.displayName = "SidePanelContent";
4988
4991
 
4989
4992
  // src/components/ui/filter/filter-chip-segment.tsx
4990
4993
  import * as React36 from "react";
4994
+ import * as TooltipPrimitive3 from "@radix-ui/react-tooltip";
4991
4995
  import { cva as cva19 } from "class-variance-authority";
4992
4996
  import { Icon as Icon23 } from "@l3mpire/icons";
4993
4997
  import { jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
@@ -5013,6 +5017,43 @@ var filterChipSegmentVariants = cva19(
5013
5017
  }
5014
5018
  }
5015
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
+ }
5016
5057
  var FilterChipSegment = React36.forwardRef(
5017
5058
  ({
5018
5059
  className,
@@ -5074,16 +5115,17 @@ var FilterChipSegment = React36.forwardRef(
5074
5115
  }
5075
5116
  ),
5076
5117
  label && /* @__PURE__ */ jsx36(
5077
- "span",
5118
+ TruncatedLabel,
5078
5119
  {
5120
+ label,
5121
+ truncate: segmentType === "value",
5079
5122
  className: cn(
5080
- "text-sm font-semibold leading-sm whitespace-nowrap",
5123
+ "text-sm font-medium leading-sm whitespace-nowrap",
5081
5124
  segmentType === "placeholder" ? "text-filter-chip-segment-placeholder" : "text-filter-chip-segment-text"
5082
- ),
5083
- children: label
5125
+ )
5084
5126
  }
5085
5127
  ),
5086
- 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-semibold leading-2xs text-filter-chip-badge-text", children: badgeCount }) }),
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 }) }),
5087
5129
  children
5088
5130
  ]
5089
5131
  }
@@ -5471,10 +5513,10 @@ var SortButton = ({
5471
5513
  className: cn(
5472
5514
  "flex items-center gap-xs",
5473
5515
  "min-h-[32px] max-h-[32px]",
5474
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
5475
- "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",
5476
5518
  "cursor-pointer transition-colors",
5477
- "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",
5478
5520
  iconOnly ? "size-8 justify-center p-0" : "px-md py-sm min-w-[80px]",
5479
5521
  className
5480
5522
  ),
@@ -5484,15 +5526,15 @@ var SortButton = ({
5484
5526
  {
5485
5527
  icon: direction === "asc" ? faArrowUpSmallBigOutline : faArrowDownBigSmallOutline,
5486
5528
  size: "sm",
5487
- className: "shrink-0 text-[var(--color-foreground)]"
5529
+ className: "shrink-0 text-foreground"
5488
5530
  }
5489
5531
  ),
5490
- !iconOnly && /* @__PURE__ */ jsxs34("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap", children: [
5491
- /* @__PURE__ */ jsxs34("span", { className: "text-[var(--color-muted-foreground)]", children: [
5532
+ !iconOnly && /* @__PURE__ */ jsxs34("span", { className: "text-sm font-medium leading-sm whitespace-nowrap", children: [
5533
+ /* @__PURE__ */ jsxs34("span", { className: "text-muted-foreground", children: [
5492
5534
  "Sort by",
5493
5535
  " "
5494
5536
  ] }),
5495
- /* @__PURE__ */ jsx39("span", { className: "text-[var(--color-foreground)]", children: activeLabel })
5537
+ /* @__PURE__ */ jsx39("span", { className: "text-foreground", children: activeLabel })
5496
5538
  ] })
5497
5539
  ]
5498
5540
  }
@@ -5504,7 +5546,7 @@ var SortButton = ({
5504
5546
  align: "start",
5505
5547
  className: cn(
5506
5548
  "z-50 flex flex-col gap-xs overflow-clip p-xs",
5507
- "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",
5508
5550
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
5509
5551
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
5510
5552
  "data-[side=bottom]:slide-in-from-top-2",
@@ -5521,8 +5563,8 @@ var SortButton = ({
5521
5563
  },
5522
5564
  className: cn(
5523
5565
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors",
5524
- "hover:bg-[var(--color-dropdown-item-hover)]",
5525
- field.id === activeField ? "bg-[var(--color-dropdown-item-hover)]" : ""
5566
+ "hover:bg-dropdown-item-hover",
5567
+ field.id === activeField ? "bg-dropdown-item-hover" : ""
5526
5568
  ),
5527
5569
  children: [
5528
5570
  /* @__PURE__ */ jsx39(
@@ -5532,7 +5574,7 @@ var SortButton = ({
5532
5574
  size: "sm",
5533
5575
  className: cn(
5534
5576
  "shrink-0",
5535
- field.id === activeField ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5577
+ field.id === activeField ? "text-foreground" : "text-dropdown-item-icon"
5536
5578
  )
5537
5579
  }
5538
5580
  ),
@@ -5541,7 +5583,7 @@ var SortButton = ({
5541
5583
  {
5542
5584
  className: cn(
5543
5585
  "flex-1 text-sm font-regular leading-sm text-left truncate",
5544
- field.id === activeField ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5586
+ field.id === activeField ? "text-foreground" : "text-dropdown-item-icon"
5545
5587
  ),
5546
5588
  children: field.label
5547
5589
  }
@@ -5550,7 +5592,7 @@ var SortButton = ({
5550
5592
  },
5551
5593
  field.id
5552
5594
  )) }),
5553
- /* @__PURE__ */ jsx39("div", { className: "h-px bg-[var(--color-border)]" }),
5595
+ /* @__PURE__ */ jsx39("div", { className: "h-px bg-border" }),
5554
5596
  /* @__PURE__ */ jsxs34("div", { className: "flex flex-col", children: [
5555
5597
  /* @__PURE__ */ jsxs34(
5556
5598
  "button",
@@ -5562,8 +5604,8 @@ var SortButton = ({
5562
5604
  },
5563
5605
  className: cn(
5564
5606
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors",
5565
- "hover:bg-[var(--color-dropdown-item-hover)]",
5566
- direction === "asc" ? "bg-[var(--color-dropdown-item-hover)]" : ""
5607
+ "hover:bg-dropdown-item-hover",
5608
+ direction === "asc" ? "bg-dropdown-item-hover" : ""
5567
5609
  ),
5568
5610
  children: [
5569
5611
  /* @__PURE__ */ jsx39(
@@ -5573,7 +5615,7 @@ var SortButton = ({
5573
5615
  size: "sm",
5574
5616
  className: cn(
5575
5617
  "shrink-0",
5576
- direction === "asc" ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5618
+ direction === "asc" ? "text-foreground" : "text-dropdown-item-icon"
5577
5619
  )
5578
5620
  }
5579
5621
  ),
@@ -5582,7 +5624,7 @@ var SortButton = ({
5582
5624
  {
5583
5625
  className: cn(
5584
5626
  "flex-1 text-sm font-regular leading-sm text-left",
5585
- direction === "asc" ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5627
+ direction === "asc" ? "text-foreground" : "text-dropdown-item-icon"
5586
5628
  ),
5587
5629
  children: "Ascending"
5588
5630
  }
@@ -5600,8 +5642,8 @@ var SortButton = ({
5600
5642
  },
5601
5643
  className: cn(
5602
5644
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors",
5603
- "hover:bg-[var(--color-dropdown-item-hover)]",
5604
- direction === "desc" ? "bg-[var(--color-dropdown-item-hover)]" : ""
5645
+ "hover:bg-dropdown-item-hover",
5646
+ direction === "desc" ? "bg-dropdown-item-hover" : ""
5605
5647
  ),
5606
5648
  children: [
5607
5649
  /* @__PURE__ */ jsx39(
@@ -5611,7 +5653,7 @@ var SortButton = ({
5611
5653
  size: "sm",
5612
5654
  className: cn(
5613
5655
  "shrink-0",
5614
- direction === "desc" ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5656
+ direction === "desc" ? "text-foreground" : "text-dropdown-item-icon"
5615
5657
  )
5616
5658
  }
5617
5659
  ),
@@ -5620,7 +5662,7 @@ var SortButton = ({
5620
5662
  {
5621
5663
  className: cn(
5622
5664
  "flex-1 text-sm font-regular leading-sm text-left",
5623
- direction === "desc" ? "text-[var(--color-foreground)]" : "text-[var(--color-dropdown-item-icon)]"
5665
+ direction === "desc" ? "text-foreground" : "text-dropdown-item-icon"
5624
5666
  ),
5625
5667
  children: "Descending"
5626
5668
  }
@@ -5648,10 +5690,10 @@ var FilterBarButton = React40.forwardRef(({ className, count, iconOnly = false,
5648
5690
  className: cn(
5649
5691
  "shrink-0 flex items-center gap-sm overflow-hidden",
5650
5692
  "min-h-[32px] max-h-[32px]",
5651
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
5652
- "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",
5653
5695
  "cursor-pointer transition-colors",
5654
- "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",
5655
5697
  iconOnly ? count ? "px-sm justify-center" : "size-8 justify-center p-0" : "px-base py-sm min-w-[80px]",
5656
5698
  className
5657
5699
  ),
@@ -5662,11 +5704,11 @@ var FilterBarButton = React40.forwardRef(({ className, count, iconOnly = false,
5662
5704
  {
5663
5705
  icon: faFilterOutline2,
5664
5706
  size: "sm",
5665
- className: "shrink-0 text-[var(--color-foreground)]"
5707
+ className: "shrink-0 text-foreground"
5666
5708
  }
5667
5709
  ),
5668
- !iconOnly && /* @__PURE__ */ jsx40("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: children ?? "Filters" }),
5669
- 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-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
5710
+ !iconOnly && /* @__PURE__ */ jsx40("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-foreground", children: children ?? "Filters" }),
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 }) })
5670
5712
  ]
5671
5713
  }
5672
5714
  ));
@@ -5681,10 +5723,10 @@ var SaveViewButton = React41.forwardRef(
5681
5723
  const sharedStyle = [
5682
5724
  "relative flex items-center justify-center",
5683
5725
  "min-h-[32px] max-h-[32px]",
5684
- "bg-gradient-to-t from-[var(--color-btn-solid-brand-bg-default)] from-[10%] to-[var(--color-btn-solid-brand-bg-gradient-to-default)]",
5685
- "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",
5686
5728
  "shadow-sm cursor-pointer transition-colors",
5687
- "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"
5688
5730
  ];
5689
5731
  return /* @__PURE__ */ jsxs36(
5690
5732
  "div",
@@ -5704,8 +5746,8 @@ var SaveViewButton = React41.forwardRef(
5704
5746
  "rounded-l-md -mr-px"
5705
5747
  ),
5706
5748
  children: [
5707
- /* @__PURE__ */ jsx41("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-btn-solid-brand-text-default)]", children: label }),
5708
- /* @__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" })
5709
5751
  ]
5710
5752
  }
5711
5753
  ),
@@ -5725,10 +5767,10 @@ var SaveViewButton = React41.forwardRef(
5725
5767
  {
5726
5768
  icon: faChevronDownOutline,
5727
5769
  size: "sm",
5728
- className: "text-[var(--color-btn-solid-brand-text-default)]"
5770
+ className: "text-btn-solid-brand-text-default"
5729
5771
  }
5730
5772
  ),
5731
- /* @__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" })
5732
5774
  ]
5733
5775
  }
5734
5776
  )
@@ -5760,7 +5802,7 @@ var OperatorSelector = ({
5760
5802
  align: "start",
5761
5803
  className: cn(
5762
5804
  "z-50 flex flex-col p-xs overflow-clip",
5763
- "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",
5764
5806
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
5765
5807
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
5766
5808
  "data-[side=bottom]:slide-in-from-top-2",
@@ -5773,8 +5815,8 @@ var OperatorSelector = ({
5773
5815
  onClick: () => onSelect(op),
5774
5816
  className: cn(
5775
5817
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
5776
- "hover:bg-[var(--color-dropdown-item-hover)]",
5777
- op === activeOperator && "bg-[var(--color-dropdown-item-hover)]"
5818
+ "hover:bg-dropdown-item-hover",
5819
+ op === activeOperator && "bg-dropdown-item-hover"
5778
5820
  ),
5779
5821
  children: [
5780
5822
  /* @__PURE__ */ jsx42(
@@ -5782,12 +5824,12 @@ var OperatorSelector = ({
5782
5824
  {
5783
5825
  className: cn(
5784
5826
  "text-sm font-regular leading-sm",
5785
- op === activeOperator ? "text-[var(--color-foreground)] font-semibold" : "text-[var(--color-dropdown-item-text)]"
5827
+ op === activeOperator ? "text-foreground font-medium" : "text-dropdown-item-text"
5786
5828
  ),
5787
5829
  children: op
5788
5830
  }
5789
5831
  ),
5790
- 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" })
5791
5833
  ]
5792
5834
  },
5793
5835
  op
@@ -5810,15 +5852,15 @@ var OperatorList = ({
5810
5852
  onClick: () => onSelect(op),
5811
5853
  className: cn(
5812
5854
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
5813
- "hover:bg-[var(--color-dropdown-item-hover)]",
5814
- op === activeOperator && "bg-[var(--color-dropdown-item-hover)]"
5855
+ "hover:bg-dropdown-item-hover",
5856
+ op === activeOperator && "bg-dropdown-item-hover"
5815
5857
  ),
5816
5858
  children: /* @__PURE__ */ jsx42(
5817
5859
  "span",
5818
5860
  {
5819
5861
  className: cn(
5820
5862
  "text-sm font-regular leading-sm",
5821
- op === activeOperator ? "text-[var(--color-foreground)] font-semibold" : "text-[var(--color-dropdown-item-text)]"
5863
+ op === activeOperator ? "text-foreground font-medium" : "text-dropdown-item-text"
5822
5864
  ),
5823
5865
  children: op
5824
5866
  }
@@ -5831,17 +5873,16 @@ OperatorList.displayName = "OperatorList";
5831
5873
 
5832
5874
  // src/components/ui/filter/value-inputs/shared.ts
5833
5875
  var inputClasses = [
5834
- "w-full px-base py-sm rounded-base border border-[var(--color-input)]",
5835
- "bg-[var(--color-background)] text-sm font-regular leading-sm text-[var(--color-foreground)]",
5836
- "placeholder:text-[var(--color-muted-foreground)]",
5837
- "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"
5838
5880
  ].join(" ");
5839
5881
  var halfInputClasses = [
5840
- "flex-1 px-base py-sm rounded-base border border-[var(--color-input)]",
5841
- "bg-[var(--color-background)] text-sm font-regular leading-sm text-[var(--color-foreground)]",
5842
- "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"
5843
5885
  ].join(" ");
5844
- var applyBtnClasses = "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity";
5845
5886
 
5846
5887
  // src/components/ui/filter/value-inputs/text-value-input.tsx
5847
5888
  import { jsx as jsx43, jsxs as jsxs38 } from "react/jsx-runtime";
@@ -5854,7 +5895,7 @@ var TextValueInput = ({
5854
5895
  const handleKeyDown = (e) => {
5855
5896
  if (e.key === "Enter") onSubmit?.();
5856
5897
  };
5857
- 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: [
5858
5899
  /* @__PURE__ */ jsx43(
5859
5900
  "input",
5860
5901
  {
@@ -5867,7 +5908,7 @@ var TextValueInput = ({
5867
5908
  className: inputClasses
5868
5909
  }
5869
5910
  ),
5870
- /* @__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" })
5871
5912
  ] });
5872
5913
  };
5873
5914
  TextValueInput.displayName = "TextValueInput";
@@ -5883,7 +5924,7 @@ var NumberValueInput = ({
5883
5924
  const handleKeyDown = (e) => {
5884
5925
  if (e.key === "Enter") onSubmit?.();
5885
5926
  };
5886
- 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: [
5887
5928
  /* @__PURE__ */ jsx44(
5888
5929
  "input",
5889
5930
  {
@@ -5896,7 +5937,7 @@ var NumberValueInput = ({
5896
5937
  className: inputClasses
5897
5938
  }
5898
5939
  ),
5899
- /* @__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" })
5900
5941
  ] });
5901
5942
  };
5902
5943
  NumberValueInput.displayName = "NumberValueInput";
@@ -5907,7 +5948,7 @@ var NumberRangeValueInput = ({
5907
5948
  className
5908
5949
  }) => {
5909
5950
  const rangeVal = value ?? [0, 0];
5910
- 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: [
5911
5952
  /* @__PURE__ */ jsxs39("div", { className: "flex items-center gap-base", children: [
5912
5953
  /* @__PURE__ */ jsx44(
5913
5954
  "input",
@@ -5920,7 +5961,7 @@ var NumberRangeValueInput = ({
5920
5961
  className: halfInputClasses
5921
5962
  }
5922
5963
  ),
5923
- /* @__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" }),
5924
5965
  /* @__PURE__ */ jsx44(
5925
5966
  "input",
5926
5967
  {
@@ -5932,7 +5973,7 @@ var NumberRangeValueInput = ({
5932
5973
  }
5933
5974
  )
5934
5975
  ] }),
5935
- /* @__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" })
5936
5977
  ] });
5937
5978
  };
5938
5979
  NumberRangeValueInput.displayName = "NumberRangeValueInput";
@@ -6155,7 +6196,7 @@ var DatePickerDay = ({ date, isOutside }) => {
6155
6196
  disabled: isOutside,
6156
6197
  className: cn(
6157
6198
  "relative flex flex-col items-center justify-center w-9 rounded-full p-2 cursor-pointer transition-colors",
6158
- "text-sm font-semibold leading-sm text-center",
6199
+ "text-sm font-medium leading-sm text-center",
6159
6200
  // Default
6160
6201
  !isOutside && !isSelected && !isInRangeOrPreview && "text-datepicker-day-text-default hover:bg-datepicker-day-bg-hover",
6161
6202
  // Outside month (disabled)
@@ -6226,7 +6267,7 @@ var DatePickerCalendar = React42.forwardRef(({ className, header, ...props }, re
6226
6267
  header,
6227
6268
  /* @__PURE__ */ jsxs40("div", { className: "flex flex-col gap-lg p-lg", children: [
6228
6269
  /* @__PURE__ */ jsxs40("div", { className: "flex items-center justify-between", children: [
6229
- /* @__PURE__ */ jsxs40("span", { className: "text-base font-semibold leading-base text-datepicker-header-text", children: [
6270
+ /* @__PURE__ */ jsxs40("span", { className: "text-base font-medium leading-base text-datepicker-header-text", children: [
6230
6271
  MONTH_NAMES[month],
6231
6272
  " ",
6232
6273
  year
@@ -6313,7 +6354,7 @@ var DatePickerSuggestions = React42.forwardRef(
6313
6354
  ),
6314
6355
  ...props,
6315
6356
  children: [
6316
- /* @__PURE__ */ jsx45("div", { className: "pt-lg px-base", children: /* @__PURE__ */ jsx45("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ jsx45("span", { className: "flex-1 text-xs font-semibold leading-xs text-datepicker-suggestion-heading uppercase truncate", children: "Suggestions" }) }) }),
6357
+ /* @__PURE__ */ jsx45("div", { className: "pt-lg px-base", children: /* @__PURE__ */ jsx45("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ jsx45("span", { className: "flex-1 text-xs font-medium leading-xs text-datepicker-suggestion-heading uppercase truncate", children: "Suggestions" }) }) }),
6317
6358
  /* @__PURE__ */ jsx45("div", { className: "flex flex-1 flex-col p-base min-w-[222px]", children: suggestions.map((suggestion, i) => /* @__PURE__ */ jsxs40(
6318
6359
  "button",
6319
6360
  {
@@ -6494,7 +6535,7 @@ var DateCalendarValueInput = ({
6494
6535
  ] }) : /* @__PURE__ */ jsx46(DatePickerCalendar, {}),
6495
6536
  isRange && /* @__PURE__ */ jsxs41(DatePickerFooter, { children: [
6496
6537
  /* @__PURE__ */ jsx46("div", {}),
6497
- /* @__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" })
6498
6539
  ] })
6499
6540
  ]
6500
6541
  }
@@ -6506,8 +6547,8 @@ var PresetTagsValueInput = ({
6506
6547
  onChange,
6507
6548
  onSubmit,
6508
6549
  className
6509
- }) => /* @__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: [
6510
- /* @__PURE__ */ jsx46("span", { className: "text-xs font-semibold 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 }),
6511
6552
  /* @__PURE__ */ jsx46("div", { className: "flex flex-wrap gap-xs", children: group.options.map((preset) => /* @__PURE__ */ jsx46(
6512
6553
  "button",
6513
6554
  {
@@ -6518,7 +6559,7 @@ var PresetTagsValueInput = ({
6518
6559
  },
6519
6560
  className: cn(
6520
6561
  "px-base py-2xs rounded-base border cursor-pointer transition-colors text-sm font-regular leading-sm",
6521
- 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"
6522
6563
  ),
6523
6564
  children: preset
6524
6565
  },
@@ -6541,8 +6582,8 @@ var DynamicOptionRow = ({
6541
6582
  onClick,
6542
6583
  className: cn(
6543
6584
  "flex items-start gap-base p-base rounded-base cursor-pointer transition-colors text-left",
6544
- "hover:bg-[var(--color-dropdown-item-hover)]",
6545
- selected && "bg-[var(--color-dropdown-item-hover)]"
6585
+ "hover:bg-dropdown-item-hover",
6586
+ selected && "bg-dropdown-item-hover"
6546
6587
  ),
6547
6588
  children: [
6548
6589
  multi && /* @__PURE__ */ jsx47(
@@ -6550,7 +6591,7 @@ var DynamicOptionRow = ({
6550
6591
  {
6551
6592
  className: cn(
6552
6593
  "mt-[2px] flex items-center justify-center size-4 rounded-xs border transition-colors shrink-0",
6553
- 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"
6554
6595
  ),
6555
6596
  children: selected && /* @__PURE__ */ jsx47("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", children: /* @__PURE__ */ jsx47(
6556
6597
  "path",
@@ -6565,8 +6606,8 @@ var DynamicOptionRow = ({
6565
6606
  }
6566
6607
  ),
6567
6608
  /* @__PURE__ */ jsxs42("span", { className: "flex-1 flex flex-col gap-2xs min-w-0", children: [
6568
- /* @__PURE__ */ jsx47("span", { className: "text-sm font-regular leading-sm text-[var(--color-foreground)] truncate", children: option.label }),
6569
- 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 })
6570
6611
  ] })
6571
6612
  ]
6572
6613
  }
@@ -6587,7 +6628,7 @@ var SingleSelectValueInput = ({
6587
6628
  "div",
6588
6629
  {
6589
6630
  className: cn(
6590
- "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",
6591
6632
  className
6592
6633
  ),
6593
6634
  children: [
@@ -6608,10 +6649,10 @@ var SingleSelectValueInput = ({
6608
6649
  onClick: () => pick(opt),
6609
6650
  className: cn(
6610
6651
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
6611
- "hover:bg-[var(--color-dropdown-item-hover)]",
6612
- value === opt && "bg-[var(--color-dropdown-item-hover)]"
6652
+ "hover:bg-dropdown-item-hover",
6653
+ value === opt && "bg-dropdown-item-hover"
6613
6654
  ),
6614
- 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 })
6615
6656
  },
6616
6657
  opt
6617
6658
  ))
@@ -6633,7 +6674,7 @@ var MultiSelectValueInput = ({
6633
6674
  const next = selected.includes(v) ? selected.filter((s) => s !== v) : [...selected, v];
6634
6675
  onChange(next);
6635
6676
  };
6636
- 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: [
6637
6678
  /* @__PURE__ */ jsxs42("div", { className: "flex flex-col max-h-[240px] overflow-y-auto", children: [
6638
6679
  dynamicOptions?.map((opt) => /* @__PURE__ */ jsx47(
6639
6680
  DynamicOptionRow,
@@ -6654,7 +6695,7 @@ var MultiSelectValueInput = ({
6654
6695
  onClick: () => toggle(opt),
6655
6696
  className: cn(
6656
6697
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
6657
- "hover:bg-[var(--color-dropdown-item-hover)]"
6698
+ "hover:bg-dropdown-item-hover"
6658
6699
  ),
6659
6700
  children: [
6660
6701
  /* @__PURE__ */ jsx47(
@@ -6662,7 +6703,7 @@ var MultiSelectValueInput = ({
6662
6703
  {
6663
6704
  className: cn(
6664
6705
  "flex items-center justify-center size-4 rounded-xs border transition-colors",
6665
- 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"
6666
6707
  ),
6667
6708
  children: isSelected && /* @__PURE__ */ jsx47("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", children: /* @__PURE__ */ jsx47(
6668
6709
  "path",
@@ -6676,14 +6717,14 @@ var MultiSelectValueInput = ({
6676
6717
  ) })
6677
6718
  }
6678
6719
  ),
6679
- /* @__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 })
6680
6721
  ]
6681
6722
  },
6682
6723
  opt
6683
6724
  );
6684
6725
  })
6685
6726
  ] }),
6686
- /* @__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" })
6687
6728
  ] });
6688
6729
  };
6689
6730
  MultiSelectValueInput.displayName = "MultiSelectValueInput";
@@ -6699,7 +6740,7 @@ var RelationValueInput = ({
6699
6740
  const handleKeyDown = (e) => {
6700
6741
  if (e.key === "Enter") onSubmit?.();
6701
6742
  };
6702
- 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: [
6703
6744
  /* @__PURE__ */ jsx48(
6704
6745
  "input",
6705
6746
  {
@@ -6712,7 +6753,7 @@ var RelationValueInput = ({
6712
6753
  className: inputClasses
6713
6754
  }
6714
6755
  ),
6715
- /* @__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" })
6716
6757
  ] });
6717
6758
  };
6718
6759
  RelationValueInput.displayName = "RelationValueInput";
@@ -6795,25 +6836,25 @@ import {
6795
6836
  } from "@l3mpire/icons";
6796
6837
  import { Fragment as Fragment4, jsx as jsx50, jsxs as jsxs44 } from "react/jsx-runtime";
6797
6838
  var AdvancedFilterFooter = ({ onClick, count }) => /* @__PURE__ */ jsxs44(Fragment4, { children: [
6798
- /* @__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" }),
6799
6840
  /* @__PURE__ */ jsxs44(
6800
6841
  "button",
6801
6842
  {
6802
6843
  type: "button",
6803
6844
  onPointerDown: (e) => e.preventDefault(),
6804
6845
  onClick,
6805
- 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",
6806
6847
  children: [
6807
6848
  /* @__PURE__ */ jsx50(
6808
6849
  Icon28,
6809
6850
  {
6810
6851
  icon: faFilterOutline3,
6811
6852
  size: "sm",
6812
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
6853
+ className: "shrink-0 text-dropdown-item-icon"
6813
6854
  }
6814
6855
  ),
6815
- /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: "Advanced filter" }),
6816
- 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: [
6817
6858
  count,
6818
6859
  " ",
6819
6860
  count === 1 ? "rule" : "rules"
@@ -6895,7 +6936,7 @@ var PropertySelector = ({
6895
6936
  onCloseAutoFocus: (e) => e.preventDefault(),
6896
6937
  className: cn(
6897
6938
  "z-50 flex flex-col gap-xs overflow-clip p-xs",
6898
- "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",
6899
6940
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
6900
6941
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
6901
6942
  "data-[side=bottom]:slide-in-from-top-2",
@@ -6905,13 +6946,13 @@ var PropertySelector = ({
6905
6946
  activeGroup === null ? (
6906
6947
  /* ── Level 1: Search + Categories ───────────────────────── */
6907
6948
  /* @__PURE__ */ jsxs44("div", { className: "flex flex-col gap-xs", children: [
6908
- /* @__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: [
6909
6950
  /* @__PURE__ */ jsx50(
6910
6951
  Icon28,
6911
6952
  {
6912
6953
  icon: faMagnifyingGlassOutline,
6913
6954
  size: "sm",
6914
- className: "shrink-0 text-[var(--color-muted-foreground)]"
6955
+ className: "shrink-0 text-muted-foreground"
6915
6956
  }
6916
6957
  ),
6917
6958
  /* @__PURE__ */ jsx50(
@@ -6922,7 +6963,7 @@ var PropertySelector = ({
6922
6963
  onChange: (e) => setSearch(e.target.value),
6923
6964
  placeholder: "Search...",
6924
6965
  autoFocus: true,
6925
- 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"
6926
6967
  }
6927
6968
  )
6928
6969
  ] }),
@@ -6936,18 +6977,18 @@ var PropertySelector = ({
6936
6977
  onSelect(prop);
6937
6978
  onOpenChange?.(false);
6938
6979
  },
6939
- 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",
6940
6981
  children: [
6941
6982
  /* @__PURE__ */ jsx50(
6942
6983
  Icon28,
6943
6984
  {
6944
6985
  icon: prop.icon,
6945
6986
  size: "sm",
6946
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
6987
+ className: "shrink-0 text-dropdown-item-icon"
6947
6988
  }
6948
6989
  ),
6949
- /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: prop.label }),
6950
- /* @__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 })
6951
6992
  ]
6952
6993
  },
6953
6994
  prop.id
@@ -6963,31 +7004,31 @@ var PropertySelector = ({
6963
7004
  setActiveGroup(g.group);
6964
7005
  setSearch("");
6965
7006
  },
6966
- 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",
6967
7008
  children: [
6968
7009
  /* @__PURE__ */ jsx50(
6969
7010
  Icon28,
6970
7011
  {
6971
7012
  icon: g.groupIcon,
6972
7013
  size: "sm",
6973
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7014
+ className: "shrink-0 text-dropdown-item-icon"
6974
7015
  }
6975
7016
  ),
6976
- /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: g.groupLabel }),
6977
- /* @__PURE__ */ jsx50("span", { className: "text-xs font-semibold 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 }),
6978
7019
  /* @__PURE__ */ jsx50(
6979
7020
  Icon28,
6980
7021
  {
6981
7022
  icon: faChevronRightOutline3,
6982
7023
  size: "xs",
6983
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7024
+ className: "shrink-0 text-dropdown-item-icon"
6984
7025
  }
6985
7026
  )
6986
7027
  ]
6987
7028
  },
6988
7029
  g.group
6989
7030
  )),
6990
- 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" })
6991
7032
  ] })
6992
7033
  )
6993
7034
  ] })
@@ -7002,27 +7043,27 @@ var PropertySelector = ({
7002
7043
  setActiveGroup(null);
7003
7044
  setSearch("");
7004
7045
  },
7005
- 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",
7006
7047
  children: [
7007
7048
  /* @__PURE__ */ jsx50(
7008
7049
  Icon28,
7009
7050
  {
7010
7051
  icon: faChevronLeftOutline3,
7011
7052
  size: "sm",
7012
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7053
+ className: "shrink-0 text-dropdown-item-icon"
7013
7054
  }
7014
7055
  ),
7015
- /* @__PURE__ */ jsx50("span", { className: "flex-1 text-xs font-semibold 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 })
7016
7057
  ]
7017
7058
  }
7018
7059
  ),
7019
- /* @__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: [
7020
7061
  /* @__PURE__ */ jsx50(
7021
7062
  Icon28,
7022
7063
  {
7023
7064
  icon: faMagnifyingGlassOutline,
7024
7065
  size: "sm",
7025
- className: "shrink-0 text-[var(--color-muted-foreground)]"
7066
+ className: "shrink-0 text-muted-foreground"
7026
7067
  }
7027
7068
  ),
7028
7069
  /* @__PURE__ */ jsx50(
@@ -7033,7 +7074,7 @@ var PropertySelector = ({
7033
7074
  onChange: (e) => setSearch(e.target.value),
7034
7075
  placeholder: "Search...",
7035
7076
  autoFocus: true,
7036
- 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"
7037
7078
  }
7038
7079
  )
7039
7080
  ] }),
@@ -7046,22 +7087,22 @@ var PropertySelector = ({
7046
7087
  onSelect(prop);
7047
7088
  onOpenChange?.(false);
7048
7089
  },
7049
- 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",
7050
7091
  children: [
7051
7092
  /* @__PURE__ */ jsx50(
7052
7093
  Icon28,
7053
7094
  {
7054
7095
  icon: prop.icon,
7055
7096
  size: "sm",
7056
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7097
+ className: "shrink-0 text-dropdown-item-icon"
7057
7098
  }
7058
7099
  ),
7059
- /* @__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 })
7060
7101
  ]
7061
7102
  },
7062
7103
  prop.id
7063
7104
  )),
7064
- 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" })
7065
7106
  ] })
7066
7107
  ] })
7067
7108
  ),
@@ -7099,7 +7140,7 @@ var KebabMenu = ({
7099
7140
  align: "end",
7100
7141
  className: cn(
7101
7142
  "z-50 flex flex-col p-xs overflow-clip",
7102
- "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",
7103
7144
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7104
7145
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7105
7146
  "data-[side=bottom]:slide-in-from-top-2",
@@ -7114,21 +7155,21 @@ var KebabMenu = ({
7114
7155
  onConvertToAdvanced();
7115
7156
  onOpenChange?.(false);
7116
7157
  },
7117
- 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",
7118
7159
  children: [
7119
7160
  /* @__PURE__ */ jsx51(
7120
7161
  Icon29,
7121
7162
  {
7122
7163
  icon: faArrowRightOutline2,
7123
7164
  size: "sm",
7124
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7165
+ className: "shrink-0 text-dropdown-item-icon"
7125
7166
  }
7126
7167
  ),
7127
- /* @__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" })
7128
7169
  ]
7129
7170
  }
7130
7171
  ),
7131
- 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" }),
7132
7173
  onDelete && /* @__PURE__ */ jsxs45(
7133
7174
  "button",
7134
7175
  {
@@ -7137,17 +7178,17 @@ var KebabMenu = ({
7137
7178
  onDelete();
7138
7179
  onOpenChange?.(false);
7139
7180
  },
7140
- 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",
7141
7182
  children: [
7142
7183
  /* @__PURE__ */ jsx51(
7143
7184
  Icon29,
7144
7185
  {
7145
7186
  icon: faTrashOutline,
7146
7187
  size: "sm",
7147
- className: "shrink-0 text-[var(--color-destructive)]"
7188
+ className: "shrink-0 text-destructive"
7148
7189
  }
7149
7190
  ),
7150
- /* @__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" })
7151
7192
  ]
7152
7193
  }
7153
7194
  )
@@ -7215,29 +7256,29 @@ var FilterEditor = ({
7215
7256
  align: "start",
7216
7257
  className: cn(
7217
7258
  "z-50 flex flex-col overflow-clip",
7218
- "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",
7219
7260
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7220
7261
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7221
7262
  "data-[side=bottom]:slide-in-from-top-2",
7222
7263
  "min-w-[240px]"
7223
7264
  ),
7224
7265
  children: [
7225
- /* @__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: [
7226
7267
  /* @__PURE__ */ jsx52(
7227
7268
  Icon30,
7228
7269
  {
7229
7270
  icon: propertyDef.icon,
7230
7271
  size: "sm",
7231
- className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7272
+ className: "shrink-0 text-dropdown-item-icon"
7232
7273
  }
7233
7274
  ),
7234
- /* @__PURE__ */ jsx52("span", { className: "text-sm font-semibold 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 }),
7235
7276
  localOperator && view === "value" && /* @__PURE__ */ jsxs46(
7236
7277
  "button",
7237
7278
  {
7238
7279
  type: "button",
7239
7280
  onClick: () => setView("operator"),
7240
- 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",
7241
7282
  children: [
7242
7283
  localOperator,
7243
7284
  " \u25BE"
@@ -7291,7 +7332,7 @@ var SegmentPopover = ({
7291
7332
  align,
7292
7333
  className: cn(
7293
7334
  "z-50 flex flex-col overflow-clip",
7294
- "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",
7295
7336
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7296
7337
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7297
7338
  "data-[side=bottom]:slide-in-from-top-2"
@@ -7498,10 +7539,10 @@ import { jsx as jsx54, jsxs as jsxs48 } from "react/jsx-runtime";
7498
7539
  var btnBase = [
7499
7540
  "flex items-center justify-center",
7500
7541
  "min-h-[32px] max-h-[32px]",
7501
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
7502
- "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",
7503
7544
  "cursor-pointer transition-colors",
7504
- "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"
7505
7546
  ];
7506
7547
  var AdvancedChip = React47.forwardRef(
7507
7548
  ({ className, count, onClear, onClick, ...props }, ref) => /* @__PURE__ */ jsxs48("div", { className: cn("inline-flex items-center", className), children: [
@@ -7523,11 +7564,11 @@ var AdvancedChip = React47.forwardRef(
7523
7564
  {
7524
7565
  icon: faFilterOutline4,
7525
7566
  size: "sm",
7526
- className: "shrink-0 text-[var(--color-foreground)]"
7567
+ className: "shrink-0 text-foreground"
7527
7568
  }
7528
7569
  ),
7529
- /* @__PURE__ */ jsx54("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Advanced filters" }),
7530
- 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-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
7570
+ /* @__PURE__ */ jsx54("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-foreground", children: "Advanced filters" }),
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 }) })
7531
7572
  ]
7532
7573
  }
7533
7574
  ),
@@ -7545,7 +7586,7 @@ var AdvancedChip = React47.forwardRef(
7545
7586
  "rounded-r-md -ml-px"
7546
7587
  ),
7547
7588
  "aria-label": "Clear all advanced filters",
7548
- 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" })
7549
7590
  }
7550
7591
  )
7551
7592
  ] })
@@ -7560,7 +7601,7 @@ import { Icon as Icon35, faPlusOutline as faPlusOutline3, faChevronDownOutline a
7560
7601
  // src/components/ui/filter/advanced-row.tsx
7561
7602
  import * as React49 from "react";
7562
7603
  import * as PopoverPrimitive11 from "@radix-ui/react-popover";
7563
- import * as TooltipPrimitive3 from "@radix-ui/react-tooltip";
7604
+ import * as TooltipPrimitive4 from "@radix-ui/react-tooltip";
7564
7605
  import { Icon as Icon33, faChevronDownOutline as faChevronDownOutline2 } from "@l3mpire/icons";
7565
7606
 
7566
7607
  // src/components/ui/filter/filter-node-actions.tsx
@@ -7605,14 +7646,14 @@ var FilterNodeActions = ({
7605
7646
  "button",
7606
7647
  {
7607
7648
  type: "button",
7608
- 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",
7609
7650
  "aria-label": "More actions",
7610
7651
  children: /* @__PURE__ */ jsx55(
7611
7652
  Icon32,
7612
7653
  {
7613
7654
  icon: faEllipsisOutline2,
7614
7655
  size: "sm",
7615
- className: "text-[var(--color-foreground)]"
7656
+ className: "text-foreground"
7616
7657
  }
7617
7658
  )
7618
7659
  }
@@ -7624,7 +7665,7 @@ var FilterNodeActions = ({
7624
7665
  align: "end",
7625
7666
  className: cn(
7626
7667
  "z-50 flex flex-col p-xs overflow-clip",
7627
- "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",
7628
7669
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7629
7670
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7630
7671
  "min-w-[180px]"
@@ -7639,8 +7680,8 @@ var FilterNodeActions = ({
7639
7680
  },
7640
7681
  className: cn(
7641
7682
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
7642
- "hover:bg-[var(--color-dropdown-item-hover)]",
7643
- item.destructive && "text-[var(--color-destructive,#ef4444)]"
7683
+ "hover:bg-dropdown-item-hover",
7684
+ item.destructive && "text-destructive"
7644
7685
  ),
7645
7686
  children: [
7646
7687
  /* @__PURE__ */ jsx55(
@@ -7650,7 +7691,7 @@ var FilterNodeActions = ({
7650
7691
  size: "sm",
7651
7692
  className: cn(
7652
7693
  "shrink-0",
7653
- item.destructive ? "text-[var(--color-destructive,#ef4444)]" : "text-[var(--color-dropdown-item-icon)]"
7694
+ item.destructive ? "text-destructive" : "text-dropdown-item-icon"
7654
7695
  )
7655
7696
  }
7656
7697
  ),
@@ -7659,7 +7700,7 @@ var FilterNodeActions = ({
7659
7700
  {
7660
7701
  className: cn(
7661
7702
  "text-sm font-regular leading-sm",
7662
- item.destructive ? "text-[var(--color-destructive,#ef4444)]" : "text-[var(--color-dropdown-item-text)]"
7703
+ item.destructive ? "text-destructive" : "text-dropdown-item-text"
7663
7704
  ),
7664
7705
  children: item.label
7665
7706
  }
@@ -7679,10 +7720,10 @@ import { jsx as jsx56, jsxs as jsxs50 } from "react/jsx-runtime";
7679
7720
  var selectBtnStyle = [
7680
7721
  "flex items-center gap-base",
7681
7722
  "px-base py-sm",
7682
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
7683
- "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",
7684
7725
  "cursor-pointer transition-colors",
7685
- "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"
7686
7727
  ];
7687
7728
  var AdvancedRow = ({
7688
7729
  connector,
@@ -7715,25 +7756,25 @@ var AdvancedRow = ({
7715
7756
  const badgeCount = getBadgeCount(condition.value);
7716
7757
  const hasValue = displayValue != null;
7717
7758
  return /* @__PURE__ */ jsxs50("div", { className: "flex items-center gap-base w-full min-w-0", children: [
7718
- connector === "Where" ? /* @__PURE__ */ jsx56("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx56("span", { className: "text-xs font-semibold 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: [
7719
- /* @__PURE__ */ jsx56(TooltipPrimitive3.Trigger, { asChild: true, children: /* @__PURE__ */ jsx56("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)] cursor-default", children: connector }) }),
7720
- /* @__PURE__ */ jsx56(TooltipPrimitive3.Portal, { children: /* @__PURE__ */ jsxs50(
7721
- 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,
7722
7763
  {
7723
7764
  sideOffset: 4,
7724
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]",
7725
7766
  children: [
7726
7767
  '"Or" operator coming soon',
7727
- /* @__PURE__ */ jsx56(TooltipPrimitive3.Arrow, { className: "fill-tooltip-default-bg" })
7768
+ /* @__PURE__ */ jsx56(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
7728
7769
  ]
7729
7770
  }
7730
7771
  ) })
7731
7772
  ] }) }) }),
7732
7773
  /* @__PURE__ */ jsxs50(PopoverPrimitive11.Root, { open: propertyOpen, onOpenChange: setPropertyOpen, children: [
7733
7774
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs50("button", { type: "button", className: cn(selectBtnStyle, "min-w-0"), children: [
7734
- /* @__PURE__ */ jsx56(Icon33, { icon: propertyDef.icon, size: "sm", className: "shrink-0 text-[var(--color-muted-foreground)]" }),
7735
- /* @__PURE__ */ jsx56("span", { className: "text-sm font-regular leading-sm text-[var(--color-foreground)] whitespace-nowrap truncate", children: propertyDef.label }),
7736
- /* @__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" })
7737
7778
  ] }) }),
7738
7779
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Portal, { children: /* @__PURE__ */ jsx56(
7739
7780
  PopoverPrimitive11.Content,
@@ -7742,7 +7783,7 @@ var AdvancedRow = ({
7742
7783
  align: "start",
7743
7784
  className: cn(
7744
7785
  "z-50 flex flex-col p-xs overflow-clip max-h-[300px] overflow-y-auto",
7745
- "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",
7746
7787
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7747
7788
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
7748
7789
  "min-w-[200px]"
@@ -7757,12 +7798,12 @@ var AdvancedRow = ({
7757
7798
  },
7758
7799
  className: cn(
7759
7800
  "flex items-center gap-base p-base rounded-base cursor-pointer transition-colors text-left",
7760
- "hover:bg-[var(--color-dropdown-item-hover)]",
7761
- 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"
7762
7803
  ),
7763
7804
  children: [
7764
- /* @__PURE__ */ jsx56(Icon33, { icon: p.icon, size: "sm", className: "shrink-0 text-[var(--color-dropdown-item-icon)]" }),
7765
- /* @__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 })
7766
7807
  ]
7767
7808
  },
7768
7809
  p.id
@@ -7772,8 +7813,8 @@ var AdvancedRow = ({
7772
7813
  ] }),
7773
7814
  /* @__PURE__ */ jsxs50(PopoverPrimitive11.Root, { open: operatorOpen, onOpenChange: setOperatorOpen, children: [
7774
7815
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs50("button", { type: "button", className: cn(selectBtnStyle, "min-w-0"), children: [
7775
- /* @__PURE__ */ jsx56("span", { className: "text-sm font-regular leading-sm text-[var(--color-foreground)] whitespace-nowrap truncate text-left", children: condition.operator ?? "Select" }),
7776
- /* @__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" })
7777
7818
  ] }) }),
7778
7819
  /* @__PURE__ */ jsx56(PopoverPrimitive11.Portal, { children: /* @__PURE__ */ jsx56(
7779
7820
  PopoverPrimitive11.Content,
@@ -7782,7 +7823,7 @@ var AdvancedRow = ({
7782
7823
  align: "start",
7783
7824
  className: cn(
7784
7825
  "z-50 flex flex-col p-xs overflow-clip",
7785
- "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",
7786
7827
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7787
7828
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
7788
7829
  "min-w-[160px]"
@@ -7813,10 +7854,10 @@ var AdvancedRow = ({
7813
7854
  placeholder: "Enter value...",
7814
7855
  className: cn(
7815
7856
  "flex-1 min-w-[80px] px-base py-sm",
7816
- "bg-[var(--color-background)] border border-[var(--color-input)] rounded-base",
7817
- "text-sm font-regular leading-sm text-[var(--color-foreground)]",
7818
- "placeholder:text-[var(--color-muted-foreground)]",
7819
- "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"
7820
7861
  )
7821
7862
  }
7822
7863
  );
@@ -7839,7 +7880,7 @@ var AdvancedRow = ({
7839
7880
  {
7840
7881
  className: cn(
7841
7882
  "text-sm font-regular leading-sm whitespace-nowrap truncate text-left",
7842
- hasValue ? "text-[var(--color-foreground)]" : "text-[var(--color-muted-foreground)]"
7883
+ hasValue ? "text-foreground" : "text-muted-foreground"
7843
7884
  ),
7844
7885
  title: hasValue ? displayValue : void 0,
7845
7886
  children: hasValue ? displayValue : "Select a value"
@@ -7850,7 +7891,7 @@ var AdvancedRow = ({
7850
7891
  {
7851
7892
  icon: faChevronDownOutline2,
7852
7893
  size: "xs",
7853
- className: "shrink-0 text-[var(--color-foreground)]"
7894
+ className: "shrink-0 text-foreground"
7854
7895
  }
7855
7896
  )
7856
7897
  ]
@@ -7863,7 +7904,7 @@ var AdvancedRow = ({
7863
7904
  align: "start",
7864
7905
  className: cn(
7865
7906
  "z-50 flex flex-col overflow-clip",
7866
- "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",
7867
7908
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
7868
7909
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
7869
7910
  ),
@@ -7901,7 +7942,7 @@ AdvancedRow.displayName = "AdvancedRow";
7901
7942
  var tagChip = cn(
7902
7943
  "inline-flex items-center shrink-0 px-sm rounded-base",
7903
7944
  "bg-tag-neutral-bg text-tag-neutral-text",
7904
- "text-xs font-semibold leading-xs whitespace-nowrap",
7945
+ "text-xs font-medium leading-xs whitespace-nowrap",
7905
7946
  "h-5"
7906
7947
  );
7907
7948
  function ValueTagRow({ tags }) {
@@ -7953,19 +7994,19 @@ function ValueTagRow({ tags }) {
7953
7994
  ),
7954
7995
  /* @__PURE__ */ jsxs50("div", { ref: containerRef, className: "flex flex-1 items-center gap-xs overflow-hidden", children: [
7955
7996
  tags.slice(0, visibleCount).map((t) => /* @__PURE__ */ jsx56("span", { className: tagChip, children: t }, t)),
7956
- overflowCount > 0 && /* @__PURE__ */ jsx56(TooltipPrimitive3.Provider, { delayDuration: 200, children: /* @__PURE__ */ jsxs50(TooltipPrimitive3.Root, { children: [
7957
- /* @__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: [
7958
7999
  "+",
7959
8000
  overflowCount
7960
8001
  ] }) }),
7961
- /* @__PURE__ */ jsx56(TooltipPrimitive3.Portal, { children: /* @__PURE__ */ jsxs50(
7962
- TooltipPrimitive3.Content,
8002
+ /* @__PURE__ */ jsx56(TooltipPrimitive4.Portal, { children: /* @__PURE__ */ jsxs50(
8003
+ TooltipPrimitive4.Content,
7963
8004
  {
7964
8005
  sideOffset: 4,
7965
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]",
7966
8007
  children: [
7967
8008
  overflowTags.map((t) => /* @__PURE__ */ jsx56("span", { children: t }, t)),
7968
- /* @__PURE__ */ jsx56(TooltipPrimitive3.Arrow, { className: "fill-tooltip-default-bg" })
8009
+ /* @__PURE__ */ jsx56(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
7969
8010
  ]
7970
8011
  }
7971
8012
  ) })
@@ -7976,7 +8017,7 @@ function ValueTagRow({ tags }) {
7976
8017
 
7977
8018
  // src/components/ui/filter/advanced-group.tsx
7978
8019
  import * as React50 from "react";
7979
- import * as TooltipPrimitive4 from "@radix-ui/react-tooltip";
8020
+ import * as TooltipPrimitive5 from "@radix-ui/react-tooltip";
7980
8021
  import { Icon as Icon34, faPlusOutline as faPlusOutline2 } from "@l3mpire/icons";
7981
8022
  import { jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
7982
8023
  var AdvancedGroup = ({
@@ -7991,21 +8032,21 @@ var AdvancedGroup = ({
7991
8032
  }) => {
7992
8033
  const [addOpen, setAddOpen] = React50.useState(false);
7993
8034
  return /* @__PURE__ */ jsxs51("div", { className: "flex items-start gap-base w-full min-w-0", children: [
7994
- 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-semibold 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: [
7995
- /* @__PURE__ */ jsx57(TooltipPrimitive4.Trigger, { asChild: true, children: /* @__PURE__ */ jsx57("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)] cursor-default", children: connector }) }),
7996
- /* @__PURE__ */ jsx57(TooltipPrimitive4.Portal, { children: /* @__PURE__ */ jsxs51(
7997
- 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,
7998
8039
  {
7999
8040
  sideOffset: 4,
8000
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]",
8001
8042
  children: [
8002
8043
  '"Or" operator coming soon',
8003
- /* @__PURE__ */ jsx57(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
8044
+ /* @__PURE__ */ jsx57(TooltipPrimitive5.Arrow, { className: "fill-tooltip-default-bg" })
8004
8045
  ]
8005
8046
  }
8006
8047
  ) })
8007
8048
  ] }) }) }),
8008
- /* @__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: [
8009
8050
  children,
8010
8051
  onAddFilter && properties && /* @__PURE__ */ jsx57(
8011
8052
  PropertySelector,
@@ -8021,7 +8062,7 @@ var AdvancedGroup = ({
8021
8062
  "button",
8022
8063
  {
8023
8064
  type: "button",
8024
- className: "flex items-center gap-sm px-base py-sm text-sm font-semibold 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",
8025
8066
  children: [
8026
8067
  /* @__PURE__ */ jsx57(Icon34, { icon: faPlusOutline2, size: "sm" }),
8027
8068
  "Add filter"
@@ -8049,8 +8090,8 @@ import { jsx as jsx58, jsxs as jsxs52 } from "react/jsx-runtime";
8049
8090
  var ghostBtn = [
8050
8091
  "flex items-center gap-sm px-base py-sm",
8051
8092
  "min-h-[32px]",
8052
- "cursor-pointer transition-colors text-sm font-semibold leading-sm",
8053
- "rounded-md hover:bg-[var(--color-accent)]"
8093
+ "cursor-pointer transition-colors text-sm font-medium leading-sm",
8094
+ "rounded-md hover:bg-accent"
8054
8095
  ];
8055
8096
  var AdvancedPopover = ({
8056
8097
  filters,
@@ -8214,7 +8255,7 @@ var AdvancedPopover = ({
8214
8255
  onOpenAutoFocus: (e) => e.preventDefault(),
8215
8256
  className: cn(
8216
8257
  "z-50 flex flex-col",
8217
- "bg-[var(--color-background)] rounded-md shadow-lg",
8258
+ "bg-background rounded-md shadow-lg",
8218
8259
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
8219
8260
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
8220
8261
  "data-[side=bottom]:slide-in-from-top-2",
@@ -8230,7 +8271,7 @@ var AdvancedPopover = ({
8230
8271
  onOpenChange: setDraftPickerOpen
8231
8272
  }
8232
8273
  ) }),
8233
- /* @__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: [
8234
8275
  /* @__PURE__ */ jsxs52("div", { className: "flex items-center gap-sm", children: [
8235
8276
  /* @__PURE__ */ jsx58(
8236
8277
  PropertySelector,
@@ -8239,8 +8280,8 @@ var AdvancedPopover = ({
8239
8280
  onSelect: handleAddFilter,
8240
8281
  open: addSelectorOpen,
8241
8282
  onOpenChange: setAddSelectorOpen,
8242
- children: /* @__PURE__ */ jsxs52("button", { type: "button", className: cn(ghostBtn, "text-[var(--color-foreground)]"), children: [
8243
- /* @__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" }),
8244
8285
  "Add filter"
8245
8286
  ] })
8246
8287
  }
@@ -8250,9 +8291,9 @@ var AdvancedPopover = ({
8250
8291
  {
8251
8292
  type: "button",
8252
8293
  onClick: handleAddGroup,
8253
- className: cn(ghostBtn, "text-[var(--color-foreground)]"),
8294
+ className: cn(ghostBtn, "text-foreground"),
8254
8295
  children: [
8255
- /* @__PURE__ */ jsx58(Icon35, { icon: faPlusOutline3, size: "sm", className: "text-[var(--color-foreground)]" }),
8296
+ /* @__PURE__ */ jsx58(Icon35, { icon: faPlusOutline3, size: "sm", className: "text-foreground" }),
8256
8297
  "Add filters group"
8257
8298
  ]
8258
8299
  }
@@ -8263,9 +8304,9 @@ var AdvancedPopover = ({
8263
8304
  {
8264
8305
  type: "button",
8265
8306
  onClick: handleClearAll,
8266
- className: cn(ghostBtn, "text-[var(--color-destructive,#ef4444)]"),
8307
+ className: cn(ghostBtn, "text-destructive"),
8267
8308
  children: [
8268
- /* @__PURE__ */ jsx58(Icon35, { icon: faXmarkOutline4, size: "sm", className: "text-[var(--color-destructive,#ef4444)]" }),
8309
+ /* @__PURE__ */ jsx58(Icon35, { icon: faXmarkOutline4, size: "sm", className: "text-destructive" }),
8269
8310
  "Clear filters"
8270
8311
  ]
8271
8312
  }
@@ -8291,7 +8332,7 @@ var DraftRow = ({
8291
8332
  onOpenChange?.(v);
8292
8333
  };
8293
8334
  return /* @__PURE__ */ jsxs52("div", { className: "flex items-center gap-base w-full min-w-0", children: [
8294
- /* @__PURE__ */ jsx58("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx58("span", { className: "text-xs font-semibold 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" }) }),
8295
8336
  /* @__PURE__ */ jsx58(
8296
8337
  PropertySelector,
8297
8338
  {
@@ -8308,19 +8349,19 @@ var DraftRow = ({
8308
8349
  type: "button",
8309
8350
  className: cn(
8310
8351
  "flex items-center gap-base px-base py-sm min-w-0",
8311
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
8312
- "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",
8313
8354
  "cursor-pointer transition-colors",
8314
- "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"
8315
8356
  ),
8316
8357
  children: [
8317
- /* @__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" }),
8318
8359
  /* @__PURE__ */ jsx58(
8319
8360
  Icon35,
8320
8361
  {
8321
8362
  icon: faChevronDownOutline3,
8322
8363
  size: "xs",
8323
- className: "shrink-0 text-[var(--color-foreground)]"
8364
+ className: "shrink-0 text-foreground"
8324
8365
  }
8325
8366
  )
8326
8367
  ]
@@ -8334,14 +8375,14 @@ var DraftRow = ({
8334
8375
  // src/components/ui/filter/summary-chip.tsx
8335
8376
  import * as React52 from "react";
8336
8377
  import * as PopoverPrimitive13 from "@radix-ui/react-popover";
8337
- import * as TooltipPrimitive5 from "@radix-ui/react-tooltip";
8378
+ import * as TooltipPrimitive6 from "@radix-ui/react-tooltip";
8338
8379
  import { Icon as Icon36, faFilterOutline as faFilterOutline6, faPlusOutline as faPlusOutline4, faChevronDownOutline as faChevronDownOutline4, faXmarkOutline as faXmarkOutline5 } from "@l3mpire/icons";
8339
8380
  import { jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
8340
8381
  var ghostBtn2 = [
8341
8382
  "flex items-center gap-sm px-base py-sm",
8342
8383
  "min-h-[32px]",
8343
- "cursor-pointer transition-colors text-sm font-semibold leading-sm",
8344
- "rounded-md hover:bg-[var(--color-accent)]"
8384
+ "cursor-pointer transition-colors text-sm font-medium leading-sm",
8385
+ "rounded-md hover:bg-accent"
8345
8386
  ];
8346
8387
  var SummaryChip = ({
8347
8388
  count,
@@ -8502,30 +8543,30 @@ var SummaryChip = ({
8502
8543
  className: cn(
8503
8544
  "inline-flex items-center gap-sm px-base py-sm",
8504
8545
  "min-h-[32px] max-h-[32px]",
8505
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
8506
- "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",
8507
8548
  "cursor-pointer transition-colors",
8508
- "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",
8509
8550
  className
8510
8551
  ),
8511
8552
  children: [
8512
- /* @__PURE__ */ jsx59(Icon36, { icon: faFilterOutline6, size: "sm", className: "shrink-0 text-[var(--color-foreground)]" }),
8513
- /* @__PURE__ */ jsx59("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Filters" }),
8514
- 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-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
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" }),
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 }) })
8515
8556
  ]
8516
8557
  }
8517
8558
  );
8518
8559
  const hasTooltip = tooltipContent && !open;
8519
- 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: [
8520
- /* @__PURE__ */ jsx59(TooltipPrimitive5.Trigger, { asChild: true, children: /* @__PURE__ */ jsx59(PopoverPrimitive13.Trigger, { asChild: true, children: trigger }) }),
8521
- hasTooltip && /* @__PURE__ */ jsx59(TooltipPrimitive5.Portal, { children: /* @__PURE__ */ jsxs53(
8522
- 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,
8523
8564
  {
8524
8565
  sideOffset: 4,
8525
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]",
8526
8567
  children: [
8527
8568
  tooltipContent,
8528
- /* @__PURE__ */ jsx59(TooltipPrimitive5.Arrow, { className: "fill-tooltip-default-bg" })
8569
+ /* @__PURE__ */ jsx59(TooltipPrimitive6.Arrow, { className: "fill-tooltip-default-bg" })
8529
8570
  ]
8530
8571
  }
8531
8572
  ) }),
@@ -8539,7 +8580,7 @@ var SummaryChip = ({
8539
8580
  onOpenAutoFocus: (e) => e.preventDefault(),
8540
8581
  className: cn(
8541
8582
  "z-50 flex flex-col overflow-clip",
8542
- "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",
8543
8584
  "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
8544
8585
  "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
8545
8586
  "data-[side=bottom]:slide-in-from-top-2",
@@ -8555,7 +8596,7 @@ var SummaryChip = ({
8555
8596
  onOpenChange: setDraftPickerOpen
8556
8597
  }
8557
8598
  ) }),
8558
- /* @__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: [
8559
8600
  /* @__PURE__ */ jsxs53("div", { className: "flex items-center gap-sm", children: [
8560
8601
  /* @__PURE__ */ jsx59(
8561
8602
  PropertySelector,
@@ -8564,14 +8605,14 @@ var SummaryChip = ({
8564
8605
  onSelect: handleAddFilter,
8565
8606
  open: addSelectorOpen,
8566
8607
  onOpenChange: setAddSelectorOpen,
8567
- children: /* @__PURE__ */ jsxs53("button", { type: "button", className: cn(ghostBtn2, "text-[var(--color-foreground)]"), children: [
8568
- /* @__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" }),
8569
8610
  "Add filter"
8570
8611
  ] })
8571
8612
  }
8572
8613
  ),
8573
- /* @__PURE__ */ jsxs53("button", { type: "button", onClick: handleAddGroup, className: cn(ghostBtn2, "text-[var(--color-foreground)]"), children: [
8574
- /* @__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" }),
8575
8616
  "Add filters group"
8576
8617
  ] })
8577
8618
  ] }),
@@ -8583,9 +8624,9 @@ var SummaryChip = ({
8583
8624
  onClearAll();
8584
8625
  setOpen(false);
8585
8626
  },
8586
- className: cn(ghostBtn2, "text-[var(--color-destructive,#ef4444)]"),
8627
+ className: cn(ghostBtn2, "text-destructive"),
8587
8628
  children: [
8588
- /* @__PURE__ */ jsx59(Icon36, { icon: faXmarkOutline5, size: "sm", className: "text-[var(--color-destructive,#ef4444)]" }),
8629
+ /* @__PURE__ */ jsx59(Icon36, { icon: faXmarkOutline5, size: "sm", className: "text-destructive" }),
8589
8630
  "Clear filters"
8590
8631
  ]
8591
8632
  }
@@ -8606,7 +8647,7 @@ var DraftRow2 = ({ properties, onSelect, open: openProp, onOpenChange }) => {
8606
8647
  onOpenChange?.(v);
8607
8648
  };
8608
8649
  return /* @__PURE__ */ jsxs53("div", { className: "flex items-center gap-base w-full min-w-0", children: [
8609
- /* @__PURE__ */ jsx59("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx59("span", { className: "text-xs font-semibold 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" }) }),
8610
8651
  /* @__PURE__ */ jsx59(PropertySelector, { properties, onSelect: (p) => {
8611
8652
  onSelect(p);
8612
8653
  setOpen(false);
@@ -8616,13 +8657,13 @@ var DraftRow2 = ({ properties, onSelect, open: openProp, onOpenChange }) => {
8616
8657
  type: "button",
8617
8658
  className: cn(
8618
8659
  "flex items-center gap-base px-base py-sm min-w-0",
8619
- "bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
8620
- "border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm cursor-pointer transition-colors",
8621
- "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"
8622
8663
  ),
8623
8664
  children: [
8624
- /* @__PURE__ */ jsx59("span", { className: "text-sm font-regular leading-sm text-[var(--color-muted-foreground)] whitespace-nowrap", children: "Select property" }),
8625
- /* @__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" })
8626
8667
  ]
8627
8668
  }
8628
8669
  ) })
@@ -8849,8 +8890,8 @@ var FilterSystem = ({
8849
8890
  "button",
8850
8891
  {
8851
8892
  type: "button",
8852
- 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)]",
8853
- 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" })
8854
8895
  }
8855
8896
  ) : /* @__PURE__ */ jsx60(FilterBarButton, {})
8856
8897
  }
@@ -8863,7 +8904,7 @@ var FilterSystem = ({
8863
8904
  type: "button",
8864
8905
  onClick: handleClearAll,
8865
8906
  className: "shrink-0 flex items-center gap-sm px-base py-sm min-h-[32px] max-h-[32px] rounded-md cursor-pointer transition-colors text-btn-ghost-brand-text-default hover:bg-btn-ghost-brand-bg-hover hover:text-btn-ghost-brand-text-hover active:bg-btn-ghost-brand-bg-pressed active:text-btn-ghost-brand-text-pressed",
8866
- children: /* @__PURE__ */ jsx60("span", { className: "text-sm font-semibold leading-sm", children: "Clear" })
8907
+ children: /* @__PURE__ */ jsx60("span", { className: "text-sm font-medium leading-sm", children: "Clear" })
8867
8908
  }
8868
8909
  )
8869
8910
  ] }),
@@ -8895,7 +8936,7 @@ function buildFilterTooltip(nodes, properties) {
8895
8936
  connector,
8896
8937
  " "
8897
8938
  ] }),
8898
- /* @__PURE__ */ jsx60("span", { className: "font-semibold", children: prop.label }),
8939
+ /* @__PURE__ */ jsx60("span", { className: "font-medium", children: prop.label }),
8899
8940
  " ",
8900
8941
  /* @__PURE__ */ jsx60("span", { className: "opacity-60", children: f.operator }),
8901
8942
  " ",