@l3mpire/ui 2.20.0 → 2.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -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,8 +667,8 @@ 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",
@@ -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
  ] });
@@ -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
  {
@@ -5077,13 +5080,13 @@ var FilterChipSegment = React36.forwardRef(
5077
5080
  "span",
5078
5081
  {
5079
5082
  className: cn(
5080
- "text-sm font-semibold leading-sm whitespace-nowrap",
5083
+ "text-sm font-medium leading-sm whitespace-nowrap",
5081
5084
  segmentType === "placeholder" ? "text-filter-chip-segment-placeholder" : "text-filter-chip-segment-text"
5082
5085
  ),
5083
5086
  children: label
5084
5087
  }
5085
5088
  ),
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 }) }),
5089
+ 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
5090
  children
5088
5091
  ]
5089
5092
  }
@@ -5487,7 +5490,7 @@ var SortButton = ({
5487
5490
  className: "shrink-0 text-[var(--color-foreground)]"
5488
5491
  }
5489
5492
  ),
5490
- !iconOnly && /* @__PURE__ */ jsxs34("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap", children: [
5493
+ !iconOnly && /* @__PURE__ */ jsxs34("span", { className: "text-sm font-medium leading-sm whitespace-nowrap", children: [
5491
5494
  /* @__PURE__ */ jsxs34("span", { className: "text-[var(--color-muted-foreground)]", children: [
5492
5495
  "Sort by",
5493
5496
  " "
@@ -5665,8 +5668,8 @@ var FilterBarButton = React40.forwardRef(({ className, count, iconOnly = false,
5665
5668
  className: "shrink-0 text-[var(--color-foreground)]"
5666
5669
  }
5667
5670
  ),
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 }) })
5671
+ !iconOnly && /* @__PURE__ */ jsx40("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: children ?? "Filters" }),
5672
+ 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
5673
  ]
5671
5674
  }
5672
5675
  ));
@@ -5704,7 +5707,7 @@ var SaveViewButton = React41.forwardRef(
5704
5707
  "rounded-l-md -mr-px"
5705
5708
  ),
5706
5709
  children: [
5707
- /* @__PURE__ */ jsx41("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-btn-solid-brand-text-default)]", children: label }),
5710
+ /* @__PURE__ */ jsx41("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-btn-solid-brand-text-default)]", children: label }),
5708
5711
  /* @__PURE__ */ jsx41("span", { className: "absolute inset-0 rounded-l-[11px] border border-[var(--color-btn-solid-brand-inner-border-default)] shadow-sm pointer-events-none" })
5709
5712
  ]
5710
5713
  }
@@ -5782,7 +5785,7 @@ var OperatorSelector = ({
5782
5785
  {
5783
5786
  className: cn(
5784
5787
  "text-sm font-regular leading-sm",
5785
- op === activeOperator ? "text-[var(--color-foreground)] font-semibold" : "text-[var(--color-dropdown-item-text)]"
5788
+ op === activeOperator ? "text-[var(--color-foreground)] font-medium" : "text-[var(--color-dropdown-item-text)]"
5786
5789
  ),
5787
5790
  children: op
5788
5791
  }
@@ -5818,7 +5821,7 @@ var OperatorList = ({
5818
5821
  {
5819
5822
  className: cn(
5820
5823
  "text-sm font-regular leading-sm",
5821
- op === activeOperator ? "text-[var(--color-foreground)] font-semibold" : "text-[var(--color-dropdown-item-text)]"
5824
+ op === activeOperator ? "text-[var(--color-foreground)] font-medium" : "text-[var(--color-dropdown-item-text)]"
5822
5825
  ),
5823
5826
  children: op
5824
5827
  }
@@ -5841,7 +5844,7 @@ var halfInputClasses = [
5841
5844
  "bg-[var(--color-background)] text-sm font-regular leading-sm text-[var(--color-foreground)]",
5842
5845
  "focus:outline-none focus:ring-2 focus:ring-[var(--color-ring)]"
5843
5846
  ].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";
5847
+ var applyBtnClasses = "self-end px-md py-sm text-sm font-medium leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity";
5845
5848
 
5846
5849
  // src/components/ui/filter/value-inputs/text-value-input.tsx
5847
5850
  import { jsx as jsx43, jsxs as jsxs38 } from "react/jsx-runtime";
@@ -6155,7 +6158,7 @@ var DatePickerDay = ({ date, isOutside }) => {
6155
6158
  disabled: isOutside,
6156
6159
  className: cn(
6157
6160
  "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",
6161
+ "text-sm font-medium leading-sm text-center",
6159
6162
  // Default
6160
6163
  !isOutside && !isSelected && !isInRangeOrPreview && "text-datepicker-day-text-default hover:bg-datepicker-day-bg-hover",
6161
6164
  // Outside month (disabled)
@@ -6226,7 +6229,7 @@ var DatePickerCalendar = React42.forwardRef(({ className, header, ...props }, re
6226
6229
  header,
6227
6230
  /* @__PURE__ */ jsxs40("div", { className: "flex flex-col gap-lg p-lg", children: [
6228
6231
  /* @__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: [
6232
+ /* @__PURE__ */ jsxs40("span", { className: "text-base font-medium leading-base text-datepicker-header-text", children: [
6230
6233
  MONTH_NAMES[month],
6231
6234
  " ",
6232
6235
  year
@@ -6313,7 +6316,7 @@ var DatePickerSuggestions = React42.forwardRef(
6313
6316
  ),
6314
6317
  ...props,
6315
6318
  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" }) }) }),
6319
+ /* @__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
6320
  /* @__PURE__ */ jsx45("div", { className: "flex flex-1 flex-col p-base min-w-[222px]", children: suggestions.map((suggestion, i) => /* @__PURE__ */ jsxs40(
6318
6321
  "button",
6319
6322
  {
@@ -6507,7 +6510,7 @@ var PresetTagsValueInput = ({
6507
6510
  onSubmit,
6508
6511
  className
6509
6512
  }) => /* @__PURE__ */ jsx46("div", { className: cn("flex flex-col gap-base p-base max-w-[280px]", className), children: RELATIVE_DATE_PRESETS.map((group) => /* @__PURE__ */ jsxs41("div", { className: "flex flex-col gap-xs", children: [
6510
- /* @__PURE__ */ jsx46("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)] uppercase px-xs", children: group.group }),
6513
+ /* @__PURE__ */ jsx46("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)] uppercase px-xs", children: group.group }),
6511
6514
  /* @__PURE__ */ jsx46("div", { className: "flex flex-wrap gap-xs", children: group.options.map((preset) => /* @__PURE__ */ jsx46(
6512
6515
  "button",
6513
6516
  {
@@ -6974,7 +6977,7 @@ var PropertySelector = ({
6974
6977
  }
6975
6978
  ),
6976
6979
  /* @__PURE__ */ jsx50("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: g.groupLabel }),
6977
- /* @__PURE__ */ jsx50("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)]", children: g.count }),
6980
+ /* @__PURE__ */ jsx50("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: g.count }),
6978
6981
  /* @__PURE__ */ jsx50(
6979
6982
  Icon28,
6980
6983
  {
@@ -7012,7 +7015,7 @@ var PropertySelector = ({
7012
7015
  className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7013
7016
  }
7014
7017
  ),
7015
- /* @__PURE__ */ jsx50("span", { className: "flex-1 text-xs font-semibold leading-xs text-[var(--color-muted-foreground)] text-left truncate", children: activeGroupInfo?.groupLabel })
7018
+ /* @__PURE__ */ jsx50("span", { className: "flex-1 text-xs font-medium leading-xs text-[var(--color-muted-foreground)] text-left truncate", children: activeGroupInfo?.groupLabel })
7016
7019
  ]
7017
7020
  }
7018
7021
  ),
@@ -7231,7 +7234,7 @@ var FilterEditor = ({
7231
7234
  className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
7232
7235
  }
7233
7236
  ),
7234
- /* @__PURE__ */ jsx52("span", { className: "text-sm font-semibold leading-sm text-[var(--color-foreground)]", children: propertyDef.label }),
7237
+ /* @__PURE__ */ jsx52("span", { className: "text-sm font-medium leading-sm text-[var(--color-foreground)]", children: propertyDef.label }),
7235
7238
  localOperator && view === "value" && /* @__PURE__ */ jsxs46(
7236
7239
  "button",
7237
7240
  {
@@ -7526,8 +7529,8 @@ var AdvancedChip = React47.forwardRef(
7526
7529
  className: "shrink-0 text-[var(--color-foreground)]"
7527
7530
  }
7528
7531
  ),
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 }) })
7532
+ /* @__PURE__ */ jsx54("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Advanced filters" }),
7533
+ 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
7534
  ]
7532
7535
  }
7533
7536
  ),
@@ -7715,8 +7718,8 @@ var AdvancedRow = ({
7715
7718
  const badgeCount = getBadgeCount(condition.value);
7716
7719
  const hasValue = displayValue != null;
7717
7720
  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 }) }),
7721
+ connector === "Where" ? /* @__PURE__ */ jsx56("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx56("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */ jsx56("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx56(TooltipPrimitive3.Provider, { delayDuration: 200, children: /* @__PURE__ */ jsxs50(TooltipPrimitive3.Root, { children: [
7722
+ /* @__PURE__ */ jsx56(TooltipPrimitive3.Trigger, { asChild: true, children: /* @__PURE__ */ jsx56("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)] cursor-default", children: connector }) }),
7720
7723
  /* @__PURE__ */ jsx56(TooltipPrimitive3.Portal, { children: /* @__PURE__ */ jsxs50(
7721
7724
  TooltipPrimitive3.Content,
7722
7725
  {
@@ -7901,7 +7904,7 @@ AdvancedRow.displayName = "AdvancedRow";
7901
7904
  var tagChip = cn(
7902
7905
  "inline-flex items-center shrink-0 px-sm rounded-base",
7903
7906
  "bg-tag-neutral-bg text-tag-neutral-text",
7904
- "text-xs font-semibold leading-xs whitespace-nowrap",
7907
+ "text-xs font-medium leading-xs whitespace-nowrap",
7905
7908
  "h-5"
7906
7909
  );
7907
7910
  function ValueTagRow({ tags }) {
@@ -7991,8 +7994,8 @@ var AdvancedGroup = ({
7991
7994
  }) => {
7992
7995
  const [addOpen, setAddOpen] = React50.useState(false);
7993
7996
  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 }) }),
7997
+ connector === "Where" ? /* @__PURE__ */ jsx57("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ jsx57("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */ jsx57("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ jsx57(TooltipPrimitive4.Provider, { delayDuration: 200, children: /* @__PURE__ */ jsxs51(TooltipPrimitive4.Root, { children: [
7998
+ /* @__PURE__ */ jsx57(TooltipPrimitive4.Trigger, { asChild: true, children: /* @__PURE__ */ jsx57("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)] cursor-default", children: connector }) }),
7996
7999
  /* @__PURE__ */ jsx57(TooltipPrimitive4.Portal, { children: /* @__PURE__ */ jsxs51(
7997
8000
  TooltipPrimitive4.Content,
7998
8001
  {
@@ -8021,7 +8024,7 @@ var AdvancedGroup = ({
8021
8024
  "button",
8022
8025
  {
8023
8026
  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",
8027
+ className: "flex items-center gap-sm px-base py-sm text-sm font-medium leading-sm text-[var(--color-muted-foreground)] cursor-pointer transition-colors rounded-md hover:bg-[var(--color-accent)] hover:text-[var(--color-foreground)] w-fit",
8025
8028
  children: [
8026
8029
  /* @__PURE__ */ jsx57(Icon34, { icon: faPlusOutline2, size: "sm" }),
8027
8030
  "Add filter"
@@ -8049,7 +8052,7 @@ import { jsx as jsx58, jsxs as jsxs52 } from "react/jsx-runtime";
8049
8052
  var ghostBtn = [
8050
8053
  "flex items-center gap-sm px-base py-sm",
8051
8054
  "min-h-[32px]",
8052
- "cursor-pointer transition-colors text-sm font-semibold leading-sm",
8055
+ "cursor-pointer transition-colors text-sm font-medium leading-sm",
8053
8056
  "rounded-md hover:bg-[var(--color-accent)]"
8054
8057
  ];
8055
8058
  var AdvancedPopover = ({
@@ -8291,7 +8294,7 @@ var DraftRow = ({
8291
8294
  onOpenChange?.(v);
8292
8295
  };
8293
8296
  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" }) }),
8297
+ /* @__PURE__ */ jsx58("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx58("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }),
8295
8298
  /* @__PURE__ */ jsx58(
8296
8299
  PropertySelector,
8297
8300
  {
@@ -8340,7 +8343,7 @@ import { jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
8340
8343
  var ghostBtn2 = [
8341
8344
  "flex items-center gap-sm px-base py-sm",
8342
8345
  "min-h-[32px]",
8343
- "cursor-pointer transition-colors text-sm font-semibold leading-sm",
8346
+ "cursor-pointer transition-colors text-sm font-medium leading-sm",
8344
8347
  "rounded-md hover:bg-[var(--color-accent)]"
8345
8348
  ];
8346
8349
  var SummaryChip = ({
@@ -8510,8 +8513,8 @@ var SummaryChip = ({
8510
8513
  ),
8511
8514
  children: [
8512
8515
  /* @__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 }) })
8516
+ /* @__PURE__ */ jsx59("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Filters" }),
8517
+ 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
8518
  ]
8516
8519
  }
8517
8520
  );
@@ -8606,7 +8609,7 @@ var DraftRow2 = ({ properties, onSelect, open: openProp, onOpenChange }) => {
8606
8609
  onOpenChange?.(v);
8607
8610
  };
8608
8611
  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" }) }),
8612
+ /* @__PURE__ */ jsx59("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx59("span", { className: "text-xs font-medium leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }),
8610
8613
  /* @__PURE__ */ jsx59(PropertySelector, { properties, onSelect: (p) => {
8611
8614
  onSelect(p);
8612
8615
  setOpen(false);
@@ -8863,7 +8866,7 @@ var FilterSystem = ({
8863
8866
  type: "button",
8864
8867
  onClick: handleClearAll,
8865
8868
  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" })
8869
+ children: /* @__PURE__ */ jsx60("span", { className: "text-sm font-medium leading-sm", children: "Clear" })
8867
8870
  }
8868
8871
  )
8869
8872
  ] }),
@@ -8895,7 +8898,7 @@ function buildFilterTooltip(nodes, properties) {
8895
8898
  connector,
8896
8899
  " "
8897
8900
  ] }),
8898
- /* @__PURE__ */ jsx60("span", { className: "font-semibold", children: prop.label }),
8901
+ /* @__PURE__ */ jsx60("span", { className: "font-medium", children: prop.label }),
8899
8902
  " ",
8900
8903
  /* @__PURE__ */ jsx60("span", { className: "opacity-60", children: f.operator }),
8901
8904
  " ",