@almadar/ui 5.1.6 → 5.2.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.
@@ -1498,7 +1498,7 @@ var init_Icon = __esm({
1498
1498
  sizeClasses = {
1499
1499
  xs: "w-3 h-3",
1500
1500
  sm: "w-4 h-4",
1501
- md: "w-5 h-5",
1501
+ md: "h-icon-default w-icon-default",
1502
1502
  lg: "w-6 h-6",
1503
1503
  xl: "w-8 h-8"
1504
1504
  };
@@ -1643,14 +1643,14 @@ var init_Button = __esm({
1643
1643
  };
1644
1644
  variantStyles.destructive = variantStyles.danger;
1645
1645
  sizeStyles = {
1646
- sm: "px-3 py-1.5 text-sm",
1647
- md: "px-4 py-2 text-sm",
1648
- lg: "px-6 py-3 text-base"
1646
+ sm: "h-button-sm px-3 text-sm",
1647
+ md: "h-button-md px-4 text-sm",
1648
+ lg: "h-button-lg px-6 text-base"
1649
1649
  };
1650
1650
  iconSizeStyles = {
1651
- sm: "h-3.5 w-3.5",
1651
+ sm: "h-icon-default w-icon-default",
1652
1652
  md: "h-icon-default w-icon-default",
1653
- lg: "h-5 w-5"
1653
+ lg: "h-icon-default w-icon-default"
1654
1654
  };
1655
1655
  Button = React86__namespace.default.forwardRef(
1656
1656
  ({
@@ -1688,7 +1688,7 @@ var init_Button = __esm({
1688
1688
  disabled: disabled || isLoading,
1689
1689
  className: cn(
1690
1690
  "inline-flex items-center justify-center gap-2",
1691
- "font-[var(--font-weight-medium)]",
1691
+ "font-medium",
1692
1692
  "rounded-sm",
1693
1693
  "cursor-pointer",
1694
1694
  "transition-all duration-[var(--transition-normal)]",
@@ -2365,7 +2365,11 @@ var init_Badge = __esm({
2365
2365
  };
2366
2366
  Badge = React86__namespace.default.forwardRef(
2367
2367
  ({ className, variant = "default", size = "sm", amount, label, icon, children, onRemove, removeLabel, ...props }, ref) => {
2368
- const iconSizes3 = { sm: "w-3 h-3", md: "w-3.5 h-3.5", lg: "w-4 h-4" };
2368
+ const iconSizes3 = {
2369
+ sm: "h-icon-default w-icon-default",
2370
+ md: "h-icon-default w-icon-default",
2371
+ lg: "h-icon-default w-icon-default"
2372
+ };
2369
2373
  const resolvedIcon = typeof icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: icon, className: iconSizes3[size] }) : icon;
2370
2374
  return /* @__PURE__ */ jsxRuntime.jsxs(
2371
2375
  "span",
@@ -3399,10 +3403,11 @@ var init_Input = __esm({
3399
3403
  const type = inputType || htmlType || "text";
3400
3404
  const resolvedLeftIcon = leftIcon || IconComponent && /* @__PURE__ */ jsxRuntime.jsx(IconComponent, { className: "h-icon-default w-icon-default" });
3401
3405
  const showClearButton = clearable && value && String(value).length > 0;
3406
+ const isMultiline = type === "textarea";
3402
3407
  const baseClassName = cn(
3403
3408
  "block w-full rounded-sm transition-all duration-[var(--transition-fast)]",
3404
3409
  "border-[length:var(--border-width-thin)] border-border",
3405
- "px-3 py-2 text-sm",
3410
+ isMultiline ? "px-3 py-2 text-sm" : "h-input-md px-3 text-sm",
3406
3411
  "bg-card hover:bg-muted focus:bg-card",
3407
3412
  "text-foreground placeholder:text-muted-foreground",
3408
3413
  "focus:outline-none focus:ring-1 focus:ring-ring focus:border-ring",
@@ -3454,7 +3459,7 @@ var init_Input = __esm({
3454
3459
  checked: props.checked,
3455
3460
  onChange,
3456
3461
  className: cn(
3457
- "h-4 w-4 rounded-sm",
3462
+ "h-icon-default w-icon-default rounded-sm",
3458
3463
  "border-border",
3459
3464
  "text-primary focus:ring-ring",
3460
3465
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -3536,7 +3541,7 @@ var init_Textarea = __esm({
3536
3541
  "placeholder:text-[var(--color-placeholder)]",
3537
3542
  "focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-ring",
3538
3543
  "disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed",
3539
- "resize-y min-h-[80px]",
3544
+ "resize-y min-h-20",
3540
3545
  error ? "border-error focus:border-error" : "border-border focus:border-primary",
3541
3546
  className
3542
3547
  ),
@@ -3639,21 +3644,21 @@ var init_Card = __esm({
3639
3644
  "border-[length:var(--border-width)] border-border",
3640
3645
  "shadow-elevation-card",
3641
3646
  "transition-all duration-[var(--transition-normal)]",
3642
- "hover:shadow-elevation-dialog hover:-translate-y-0.5"
3647
+ "hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
3643
3648
  ].join(" "),
3644
3649
  bordered: [
3645
3650
  "bg-card",
3646
3651
  "border-[length:var(--border-width)] border-border",
3647
3652
  "shadow-elevation-card",
3648
3653
  "transition-all duration-[var(--transition-normal)]",
3649
- "hover:shadow-elevation-dialog hover:-translate-y-0.5"
3654
+ "hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
3650
3655
  ].join(" "),
3651
3656
  elevated: [
3652
3657
  "bg-card",
3653
3658
  "border-[length:var(--border-width)] border-border",
3654
3659
  "shadow",
3655
3660
  "transition-all duration-[var(--transition-normal)]",
3656
- "hover:shadow-elevation-dialog hover:-translate-y-0.5"
3661
+ "hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
3657
3662
  ].join(" "),
3658
3663
  // Interactive variant with theme-specific hover effects
3659
3664
  interactive: [
@@ -3703,7 +3708,7 @@ var init_Card = __esm({
3703
3708
  ...props,
3704
3709
  children: [
3705
3710
  (title || subtitle) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4", children: [
3706
- title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg text-card-foreground font-[var(--font-weight-bold)]", children: title }),
3711
+ title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg text-card-foreground font-bold", children: title }),
3707
3712
  subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground mt-1", children: subtitle })
3708
3713
  ] }),
3709
3714
  children
@@ -3721,7 +3726,7 @@ var init_Card = __esm({
3721
3726
  ref,
3722
3727
  className: cn(
3723
3728
  "text-lg text-card-foreground",
3724
- "font-[var(--font-weight-bold)]",
3729
+ "font-bold",
3725
3730
  className
3726
3731
  ),
3727
3732
  ...props
@@ -3859,7 +3864,7 @@ var init_Spinner = __esm({
3859
3864
  init_Icon();
3860
3865
  sizeStyles5 = {
3861
3866
  xs: "h-3 w-3",
3862
- sm: "h-4 w-4",
3867
+ sm: "h-icon-default w-icon-default",
3863
3868
  md: "h-6 w-6",
3864
3869
  lg: "h-8 w-8"
3865
3870
  };
@@ -4965,10 +4970,9 @@ var init_LawReferenceTooltip = __esm({
4965
4970
  {
4966
4971
  padding: "sm",
4967
4972
  rounded: "lg",
4968
- shadow: "lg",
4969
4973
  position: "absolute",
4970
4974
  className: cn(
4971
- "z-50 w-64 bg-foreground text-background",
4975
+ "z-50 w-64 bg-foreground text-background shadow-elevation-popover",
4972
4976
  positionStyles2[position]
4973
4977
  ),
4974
4978
  role: "tooltip",
@@ -4979,7 +4983,7 @@ var init_LawReferenceTooltip = __esm({
4979
4983
  {
4980
4984
  variant: "label",
4981
4985
  weight: "semibold",
4982
- className: "text-amber-400",
4986
+ className: "text-warning",
4983
4987
  children: [
4984
4988
  reference.law,
4985
4989
  " ",
@@ -5011,7 +5015,7 @@ var init_LawReferenceTooltip = __esm({
5011
5015
  {
5012
5016
  as: "a",
5013
5017
  variant: "caption",
5014
- className: "text-blue-400 hover:text-blue-300 underline cursor-pointer",
5018
+ className: "text-info hover:text-info/80 underline cursor-pointer",
5015
5019
  href: reference.link,
5016
5020
  target: "_blank",
5017
5021
  rel: "noopener noreferrer",
@@ -5417,12 +5421,12 @@ var init_RangeSlider = __esm({
5417
5421
  "shadow-sm",
5418
5422
  "pointer-events-none",
5419
5423
  "transition-transform duration-100",
5420
- isDragging && "scale-110",
5424
+ isDragging && "scale-[var(--hover-scale)]",
5421
5425
  thumbSizes[size]
5422
5426
  ),
5423
5427
  style: {
5424
5428
  top: "50%",
5425
- transform: `translateY(-50%) translateX(-50%)${isDragging ? " scale(1.1)" : ""}`,
5429
+ transform: `translateY(-50%) translateX(-50%)${isDragging ? " scale(var(--hover-scale))" : ""}`,
5426
5430
  left: `${percentage}%`
5427
5431
  }
5428
5432
  }
@@ -7210,7 +7214,7 @@ function ItemSlot({
7210
7214
  className: cn(
7211
7215
  "absolute -bottom-1 -right-1 flex items-center justify-center",
7212
7216
  "min-w-[18px] h-[18px] rounded-full px-1",
7213
- "bg-[var(--color-surface,#374151)] border border-gray-500 text-[10px] font-bold text-[var(--color-foreground)]"
7217
+ "bg-[var(--color-surface,#374151)] border border-gray-500 text-xs font-bold text-[var(--color-foreground)]"
7214
7218
  ),
7215
7219
  children: quantity
7216
7220
  }
@@ -7348,7 +7352,7 @@ var init_ComboCounter = __esm({
7348
7352
  "components/atoms/game/ComboCounter.tsx"() {
7349
7353
  init_cn();
7350
7354
  sizeMap8 = {
7351
- sm: { combo: "text-lg", label: "text-[10px]", multiplier: "text-xs" },
7355
+ sm: { combo: "text-lg", label: "text-xs", multiplier: "text-xs" },
7352
7356
  md: { combo: "text-2xl", label: "text-xs", multiplier: "text-sm" },
7353
7357
  lg: { combo: "text-4xl", label: "text-sm", multiplier: "text-base" }
7354
7358
  };
@@ -7416,7 +7420,7 @@ var init_XPBar = __esm({
7416
7420
  "components/atoms/game/XPBar.tsx"() {
7417
7421
  init_cn();
7418
7422
  sizeMap9 = {
7419
- sm: { bar: "h-2", text: "text-[10px]", badge: "text-[10px] px-1.5 py-0.5" },
7423
+ sm: { bar: "h-2", text: "text-xs", badge: "text-xs px-1.5 py-0.5" },
7420
7424
  md: { bar: "h-3", text: "text-xs", badge: "text-xs px-2 py-0.5" },
7421
7425
  lg: { bar: "h-4", text: "text-sm", badge: "text-sm px-2.5 py-1" }
7422
7426
  };
@@ -7543,7 +7547,7 @@ function StatusEffect({
7543
7547
  children: stacks
7544
7548
  }
7545
7549
  ),
7546
- label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-gray-400 mt-0.5 text-center whitespace-nowrap", children: label })
7550
+ label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground mt-0.5 text-center whitespace-nowrap", children: label })
7547
7551
  ] });
7548
7552
  }
7549
7553
  var sizeMap11, variantStyles7;
@@ -7551,8 +7555,8 @@ var init_StatusEffect = __esm({
7551
7555
  "components/atoms/game/StatusEffect.tsx"() {
7552
7556
  init_cn();
7553
7557
  sizeMap11 = {
7554
- sm: { container: "w-8 h-8", icon: "text-sm", badge: "text-[10px] -top-1 -right-1 w-4 h-4", timer: "text-[9px]" },
7555
- md: { container: "w-10 h-10", icon: "text-base", badge: "text-xs -top-1 -right-1 w-5 h-5", timer: "text-[10px]" },
7558
+ sm: { container: "w-8 h-8", icon: "text-sm", badge: "text-xs -top-1 -right-1 w-4 h-4", timer: "text-[9px]" },
7559
+ md: { container: "w-10 h-10", icon: "text-base", badge: "text-xs -top-1 -right-1 w-5 h-5", timer: "text-xs" },
7556
7560
  lg: { container: "w-12 h-12", icon: "text-lg", badge: "text-sm -top-1.5 -right-1.5 w-6 h-6", timer: "text-xs" }
7557
7561
  };
7558
7562
  variantStyles7 = {
@@ -7762,7 +7766,7 @@ var init_ActionButton = __esm({
7762
7766
  init_Icon();
7763
7767
  sizeMap13 = {
7764
7768
  sm: { button: "px-3 py-1.5 text-xs", hotkey: "text-[9px] px-1", icon: "text-xs" },
7765
- md: { button: "px-4 py-2 text-sm", hotkey: "text-[10px] px-1.5", icon: "text-sm" },
7769
+ md: { button: "px-4 py-2 text-sm", hotkey: "text-xs px-1.5", icon: "text-sm" },
7766
7770
  lg: { button: "px-5 py-2.5 text-base", hotkey: "text-xs px-2", icon: "text-base" }
7767
7771
  };
7768
7772
  variantStyles8 = {
@@ -22552,7 +22556,7 @@ var init_DashboardLayout = __esm({
22552
22556
  {
22553
22557
  as: "span",
22554
22558
  className: cn(
22555
- "absolute -top-0.5 -right-0.5 min-w-[18px] h-[18px] px-1 rounded-full text-[10px] font-semibold text-white flex items-center justify-center",
22559
+ "absolute -top-0.5 -right-0.5 min-w-[18px] h-[18px] px-1 rounded-full text-xs font-semibold text-white flex items-center justify-center",
22556
22560
  action.variant === "danger" ? "bg-error" : action.variant === "primary" ? "bg-primary" : "bg-foreground"
22557
22561
  ),
22558
22562
  children: action.badge
@@ -22575,7 +22579,7 @@ var init_DashboardLayout = __esm({
22575
22579
  Box,
22576
22580
  {
22577
22581
  as: "span",
22578
- className: "absolute -top-0.5 -right-0.5 min-w-[18px] h-[18px] px-1 bg-error rounded-full text-[10px] font-semibold text-white flex items-center justify-center",
22582
+ className: "absolute -top-0.5 -right-0.5 min-w-[18px] h-[18px] px-1 bg-error rounded-full text-xs font-semibold text-white flex items-center justify-center",
22579
22583
  children: unreadCount > 99 ? "99+" : unreadCount
22580
22584
  }
22581
22585
  )
@@ -22777,14 +22781,14 @@ var init_DashboardLayout = __esm({
22777
22781
  {
22778
22782
  variant: "caption",
22779
22783
  className: cn(
22780
- "text-[10px] leading-tight truncate max-w-full",
22784
+ "text-xs leading-tight truncate max-w-full",
22781
22785
  isActive ? "text-primary font-medium" : "text-muted-foreground"
22782
22786
  ),
22783
22787
  as: "span",
22784
22788
  children: item.label
22785
22789
  }
22786
22790
  ),
22787
- item.badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", className: "text-[8px] px-1 py-0 min-w-0", children: item.badge })
22791
+ item.badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", className: "text-xs px-1 py-0 min-w-0", children: item.badge })
22788
22792
  ]
22789
22793
  }
22790
22794
  );
@@ -24366,7 +24370,7 @@ var init_FilterGroup = __esm({
24366
24370
  return /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", align: "center", className: cn("flex-wrap", className), children: [
24367
24371
  showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
24368
24372
  filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
24369
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-[var(--font-weight-medium)] text-muted-foreground", children: [
24373
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-medium text-muted-foreground", children: [
24370
24374
  filter.label,
24371
24375
  ":"
24372
24376
  ] }),
@@ -24382,7 +24386,7 @@ var init_FilterGroup = __esm({
24382
24386
  type: "button",
24383
24387
  onClick: () => handleFilterSelect(filter.field, null),
24384
24388
  className: cn(
24385
- "px-3 py-1.5 text-sm font-[var(--font-weight-medium)] transition-all duration-[var(--transition-fast)]",
24389
+ "px-3 py-1.5 text-sm font-medium transition-all duration-[var(--transition-fast)]",
24386
24390
  !selectedValues[filter.field] ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
24387
24391
  ),
24388
24392
  children: "All"
@@ -24394,7 +24398,7 @@ var init_FilterGroup = __esm({
24394
24398
  type: "button",
24395
24399
  onClick: () => handleFilterSelect(filter.field, option),
24396
24400
  className: cn(
24397
- "px-3 py-1.5 text-sm font-[var(--font-weight-medium)] transition-all duration-[var(--transition-fast)]",
24401
+ "px-3 py-1.5 text-sm font-medium transition-all duration-[var(--transition-fast)]",
24398
24402
  "border-l-[length:var(--border-width)] border-border",
24399
24403
  selectedValues[filter.field] === option ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
24400
24404
  ),
@@ -24422,10 +24426,10 @@ var init_FilterGroup = __esm({
24422
24426
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4", className), children: [
24423
24427
  showIcon && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
24424
24428
  /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4" }),
24425
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-[var(--font-weight-bold)] uppercase tracking-wide", children: "Filters" })
24429
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
24426
24430
  ] }),
24427
24431
  filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
24428
- /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-[var(--font-weight-bold)] text-muted-foreground uppercase tracking-wide", children: filter.label }),
24432
+ /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-bold text-muted-foreground uppercase tracking-wide", children: filter.label }),
24429
24433
  resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
24430
24434
  Input,
24431
24435
  {
@@ -24607,12 +24611,12 @@ var init_FilterGroup = __esm({
24607
24611
  className: "text-muted-foreground",
24608
24612
  children: [
24609
24613
  /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4" }),
24610
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-[var(--font-weight-bold)] uppercase tracking-wide", children: "Filters" })
24614
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
24611
24615
  ]
24612
24616
  }
24613
24617
  ),
24614
24618
  filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
24615
- /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-[var(--font-weight-bold)] text-muted-foreground uppercase tracking-wide", children: filter.label }),
24619
+ /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-bold text-muted-foreground uppercase tracking-wide", children: filter.label }),
24616
24620
  resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
24617
24621
  Input,
24618
24622
  {
@@ -27013,7 +27017,7 @@ function EnemyPlate({
27013
27017
  Typography,
27014
27018
  {
27015
27019
  variant: "caption",
27016
- className: "font-mono tabular-nums text-gray-400 text-[10px] shrink-0",
27020
+ className: "font-mono tabular-nums text-muted-foreground text-xs shrink-0",
27017
27021
  children: [
27018
27022
  health,
27019
27023
  "/",
@@ -27090,7 +27094,7 @@ function UnitCommandBar({
27090
27094
  Typography,
27091
27095
  {
27092
27096
  variant: "caption",
27093
- className: "text-gray-500 text-[10px] font-mono",
27097
+ className: "text-muted-foreground text-xs font-mono",
27094
27098
  children: command.hotkey
27095
27099
  }
27096
27100
  )
@@ -34627,16 +34631,16 @@ var init_ModuleCard = __esm({
34627
34631
  children: [
34628
34632
  /* @__PURE__ */ jsxRuntime.jsx(react.Handle, { type: "target", position: react.Position.Left, className: "!w-2.5 !h-2.5 !bg-orange-400" }),
34629
34633
  /* @__PURE__ */ jsxRuntime.jsx(react.Handle, { type: "source", position: react.Position.Right, className: "!w-2.5 !h-2.5 !bg-orange-400" }),
34630
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[15px] font-bold text-[var(--color-foreground)]", children: orbitalName }) }),
34634
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-base font-bold text-[var(--color-foreground)]", children: orbitalName }) }),
34631
34635
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `px-3 py-2 border-b border-[var(--color-border)] ${PERSISTENCE_BORDER[persistence] ?? ""}`, children: [
34632
34636
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 mb-1.5", children: [
34633
34637
  /* @__PURE__ */ jsxRuntime.jsx("svg", { width: 18, height: 18, viewBox: "0 0 20 20", children: /* @__PURE__ */ jsxRuntime.jsx(AvlEntity, { x: 10, y: 10, r: 8, persistence }) }),
34634
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[13px] font-semibold text-[var(--color-foreground)]", children: entityName }),
34635
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-auto text-[10px] opacity-50", title: persistence, children: PERSISTENCE_ICON[persistence] ?? "" })
34638
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold text-[var(--color-foreground)]", children: entityName }),
34639
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-auto text-xs opacity-50", title: persistence, children: PERSISTENCE_ICON[persistence] ?? "" })
34636
34640
  ] }),
34637
34641
  fields.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `grid gap-x-3 gap-y-0.5`, style: { gridTemplateColumns: `repeat(${cols}, 1fr)` }, children: fields.map((f3) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
34638
34642
  /* @__PURE__ */ jsxRuntime.jsx("svg", { width: 14, height: 14, viewBox: "0 0 16 16", children: /* @__PURE__ */ jsxRuntime.jsx(AvlFieldType, { x: 8, y: 8, kind: toFieldKind(f3.type), size: 6 }) }),
34639
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-[var(--color-muted-foreground)] truncate", children: f3.name })
34643
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-[var(--color-muted-foreground)] truncate", children: f3.name })
34640
34644
  ] }, f3.name)) })
34641
34645
  ] }),
34642
34646
  traits2.map((trait) => {
@@ -34644,7 +34648,7 @@ var init_ModuleCard = __esm({
34644
34648
  const traitEmits = externalLinks.filter((l) => l.direction === "out" && l.traitName === trait.name);
34645
34649
  const traitListens = externalLinks.filter((l) => l.direction === "in" && l.traitName === trait.name);
34646
34650
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: [
34647
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[12px] font-semibold text-[var(--color-foreground)] mb-1", children: trait.name }),
34651
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs font-semibold text-[var(--color-foreground)] mb-1", children: trait.name }),
34648
34652
  detail && /* @__PURE__ */ jsxRuntime.jsx(MiniStateMachine, { data: detail, className: "mb-1" }),
34649
34653
  (traitEmits.length > 0 || traitListens.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-[9px] mt-1", children: [
34650
34654
  traitListens.map((l) => /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { color: CONNECTION_COLORS.emitListen.color }, children: [
@@ -34663,7 +34667,7 @@ var init_ModuleCard = __esm({
34663
34667
  }),
34664
34668
  pages.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-1.5 flex items-center gap-2 flex-wrap", children: pages.map((p2) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-0.5", children: [
34665
34669
  /* @__PURE__ */ jsxRuntime.jsx("svg", { width: 10, height: 10, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsxRuntime.jsx(AvlPage, { x: 6, y: 6, size: 5 }) }),
34666
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-mono text-[var(--color-muted-foreground)]", children: p2.route })
34670
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-mono text-[var(--color-muted-foreground)]", children: p2.route })
34667
34671
  ] }, p2.name)) })
34668
34672
  ]
34669
34673
  }
@@ -39013,7 +39017,7 @@ var init_List = __esm({
39013
39017
  {
39014
39018
  as: "h3",
39015
39019
  className: cn(
39016
- "text-[15px] font-semibold text-foreground truncate flex-1",
39020
+ "text-base font-semibold text-foreground truncate flex-1",
39017
39021
  "tracking-tight leading-snug",
39018
39022
  item.completed && "line-through text-muted-foreground"
39019
39023
  ),
@@ -39037,7 +39041,7 @@ var init_List = __esm({
39037
39041
  )
39038
39042
  ] })
39039
39043
  ] }),
39040
- /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "flex items-center gap-6 text-[13px] font-medium text-muted-foreground", children: [
39044
+ /* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "flex items-center gap-6 text-sm font-medium text-muted-foreground", children: [
39041
39045
  dateFields.slice(0, 1).map((field) => {
39042
39046
  const value = item._fields?.[field];
39043
39047
  if (!value) return null;
@@ -39433,7 +39437,7 @@ var init_MediaGallery = __esm({
39433
39437
  }
39434
39438
  ),
39435
39439
  item.caption && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute bottom-0 left-0 right-0 p-2 bg-gradient-to-t from-black/60 to-transparent", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-white truncate", children: item.caption }) }),
39436
- selectable && isSelected && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute top-2 right-2 w-5 h-5 rounded-full bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-white text-[10px]", children: "\u2713" }) })
39440
+ selectable && isSelected && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute top-2 right-2 w-5 h-5 rounded-full bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-white text-xs", children: "\u2713" }) })
39437
39441
  ]
39438
39442
  },
39439
39443
  item.id
@@ -40810,13 +40814,13 @@ function WalkMinimap() {
40810
40814
  })
40811
40815
  ] }) }),
40812
40816
  /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "px-2 py-1 border-t border-border", children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", className: "items-center justify-between", children: [
40813
- /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-[10px] font-mono text-green-500", children: [
40817
+ /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-xs font-mono text-green-500", children: [
40814
40818
  "Engine: ",
40815
40819
  engineCount,
40816
40820
  "/",
40817
40821
  totalTransitions
40818
40822
  ] }),
40819
- domCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-[10px] font-mono text-cyan-500", children: [
40823
+ domCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-xs font-mono text-cyan-500", children: [
40820
40824
  "DOM: ",
40821
40825
  domCount
40822
40826
  ] }),
@@ -41330,7 +41334,7 @@ function VerificationTab({ checks, summary }) {
41330
41334
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "break-words", children: check.label }),
41331
41335
  check.details && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-gray-500 break-words", children: check.details })
41332
41336
  ] }),
41333
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-gray-400 font-mono text-[10px] shrink-0", children: new Date(check.updatedAt).toLocaleTimeString("en-US", {
41337
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-muted-foreground font-mono text-xs shrink-0", children: new Date(check.updatedAt).toLocaleTimeString("en-US", {
41334
41338
  hour12: false,
41335
41339
  hour: "2-digit",
41336
41340
  minute: "2-digit",
@@ -41363,7 +41367,7 @@ var init_VerificationTab = __esm({
41363
41367
  function EffectBadge({ effect }) {
41364
41368
  const variant = EFFECT_STATUS_VARIANT[effect.status] || "default";
41365
41369
  const icon = effect.status === "executed" ? "\u2713" : effect.status === "failed" ? "\u2717" : "-";
41366
- return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1 text-[10px] font-mono bg-gray-100 dark:bg-gray-700 rounded px-1.5 py-0.5", children: [
41370
+ return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1 text-xs font-mono bg-gray-100 dark:bg-gray-700 rounded px-1.5 py-0.5", children: [
41367
41371
  /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant, size: "sm", className: "!text-[9px] !px-1 !py-0", children: icon }),
41368
41372
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-gray-600 dark:text-gray-400", children: effect.type }),
41369
41373
  effect.error && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-red-500 truncate max-w-[120px]", title: effect.error, children: effect.error })
@@ -41467,8 +41471,8 @@ function TransitionTimeline({ transitions }) {
41467
41471
  ] }),
41468
41472
  isExpanded && trace.effects.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "ml-2 mt-1 mb-2 pl-2 border-l border-gray-200 dark:border-gray-700 space-y-1", children: trace.effects.map((effect, eIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
41469
41473
  /* @__PURE__ */ jsxRuntime.jsx(EffectBadge, { effect }),
41470
- effect.args.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-gray-400 font-mono text-[10px] truncate max-w-[200px]", children: JSON.stringify(effect.args) }),
41471
- effect.durationMs !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "small", className: "text-gray-400 text-[10px]", children: [
41474
+ effect.args.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-muted-foreground font-mono text-xs truncate max-w-[200px]", children: JSON.stringify(effect.args) }),
41475
+ effect.durationMs !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "small", className: "text-muted-foreground text-xs", children: [
41472
41476
  effect.durationMs,
41473
41477
  "ms"
41474
41478
  ] })
@@ -41755,7 +41759,7 @@ var init_RuntimeDebugger = __esm({
41755
41759
  });
41756
41760
  function ServerResponseRow({ sr }) {
41757
41761
  const entityEntries = Object.entries(sr.dataEntities);
41758
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4 pl-2 border-l border-purple-500/30 py-0.5 text-[10px] font-mono", children: [
41762
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4 pl-2 border-l border-purple-500/30 py-0.5 text-xs font-mono", children: [
41759
41763
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
41760
41764
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: sr.success ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400", children: [
41761
41765
  sr.success ? "\u2713" : "\u2717",
@@ -41812,7 +41816,7 @@ function TransitionRow({ trace }) {
41812
41816
  ] })
41813
41817
  ] }),
41814
41818
  trace.effects.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1 ml-6 mt-0.5", children: trace.effects.map((eff, i) => /* @__PURE__ */ jsxRuntime.jsxs("span", { className: cn(
41815
- "px-1 rounded text-[10px]",
41819
+ "px-1 rounded text-xs",
41816
41820
  eff.status === "executed" ? "bg-green-500/15 text-green-600 dark:text-green-400" : eff.status === "failed" ? "bg-red-500/15 text-red-600 dark:text-red-400" : "bg-yellow-500/15 text-yellow-600 dark:text-yellow-400"
41817
41821
  ), children: [
41818
41822
  eff.status === "executed" ? "\u2713" : eff.status === "failed" ? "\u2717" : "-",