@almadar/ui 5.2.0 → 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.
@@ -1861,7 +1861,7 @@ var init_Icon = __esm({
1861
1861
  sizeClasses = {
1862
1862
  xs: "w-3 h-3",
1863
1863
  sm: "w-4 h-4",
1864
- md: "w-5 h-5",
1864
+ md: "h-icon-default w-icon-default",
1865
1865
  lg: "w-6 h-6",
1866
1866
  xl: "w-8 h-8"
1867
1867
  };
@@ -2006,14 +2006,14 @@ var init_Button = __esm({
2006
2006
  };
2007
2007
  variantStyles.destructive = variantStyles.danger;
2008
2008
  sizeStyles = {
2009
- sm: "px-3 py-1.5 text-sm",
2010
- md: "px-4 py-2 text-sm",
2011
- lg: "px-6 py-3 text-base"
2009
+ sm: "h-button-sm px-3 text-sm",
2010
+ md: "h-button-md px-4 text-sm",
2011
+ lg: "h-button-lg px-6 text-base"
2012
2012
  };
2013
2013
  iconSizeStyles = {
2014
- sm: "h-3.5 w-3.5",
2014
+ sm: "h-icon-default w-icon-default",
2015
2015
  md: "h-icon-default w-icon-default",
2016
- lg: "h-5 w-5"
2016
+ lg: "h-icon-default w-icon-default"
2017
2017
  };
2018
2018
  exports.Button = React80__namespace.default.forwardRef(
2019
2019
  ({
@@ -2051,7 +2051,7 @@ var init_Button = __esm({
2051
2051
  disabled: disabled || isLoading,
2052
2052
  className: cn(
2053
2053
  "inline-flex items-center justify-center gap-2",
2054
- "font-[var(--font-weight-medium)]",
2054
+ "font-medium",
2055
2055
  "rounded-sm",
2056
2056
  "cursor-pointer",
2057
2057
  "transition-all duration-[var(--transition-normal)]",
@@ -2101,10 +2101,11 @@ var init_Input = __esm({
2101
2101
  const type = inputType || htmlType || "text";
2102
2102
  const resolvedLeftIcon = leftIcon || IconComponent && /* @__PURE__ */ jsxRuntime.jsx(IconComponent, { className: "h-icon-default w-icon-default" });
2103
2103
  const showClearButton = clearable && value && String(value).length > 0;
2104
+ const isMultiline = type === "textarea";
2104
2105
  const baseClassName = cn(
2105
2106
  "block w-full rounded-sm transition-all duration-[var(--transition-fast)]",
2106
2107
  "border-[length:var(--border-width-thin)] border-border",
2107
- "px-3 py-2 text-sm",
2108
+ isMultiline ? "px-3 py-2 text-sm" : "h-input-md px-3 text-sm",
2108
2109
  "bg-card hover:bg-muted focus:bg-card",
2109
2110
  "text-foreground placeholder:text-muted-foreground",
2110
2111
  "focus:outline-none focus:ring-1 focus:ring-ring focus:border-ring",
@@ -2156,7 +2157,7 @@ var init_Input = __esm({
2156
2157
  checked: props.checked,
2157
2158
  onChange,
2158
2159
  className: cn(
2159
- "h-4 w-4 rounded-sm",
2160
+ "h-icon-default w-icon-default rounded-sm",
2160
2161
  "border-border",
2161
2162
  "text-primary focus:ring-ring",
2162
2163
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -2238,7 +2239,7 @@ var init_Textarea = __esm({
2238
2239
  "placeholder:text-[var(--color-placeholder)]",
2239
2240
  "focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-ring",
2240
2241
  "disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed",
2241
- "resize-y min-h-[80px]",
2242
+ "resize-y min-h-20",
2242
2243
  error ? "border-error focus:border-error" : "border-border focus:border-primary",
2243
2244
  className
2244
2245
  ),
@@ -2341,21 +2342,21 @@ var init_Card = __esm({
2341
2342
  "border-[length:var(--border-width)] border-border",
2342
2343
  "shadow-elevation-card",
2343
2344
  "transition-all duration-[var(--transition-normal)]",
2344
- "hover:shadow-elevation-dialog hover:-translate-y-0.5"
2345
+ "hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
2345
2346
  ].join(" "),
2346
2347
  bordered: [
2347
2348
  "bg-card",
2348
2349
  "border-[length:var(--border-width)] border-border",
2349
2350
  "shadow-elevation-card",
2350
2351
  "transition-all duration-[var(--transition-normal)]",
2351
- "hover:shadow-elevation-dialog hover:-translate-y-0.5"
2352
+ "hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
2352
2353
  ].join(" "),
2353
2354
  elevated: [
2354
2355
  "bg-card",
2355
2356
  "border-[length:var(--border-width)] border-border",
2356
2357
  "shadow",
2357
2358
  "transition-all duration-[var(--transition-normal)]",
2358
- "hover:shadow-elevation-dialog hover:-translate-y-0.5"
2359
+ "hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
2359
2360
  ].join(" "),
2360
2361
  // Interactive variant with theme-specific hover effects
2361
2362
  interactive: [
@@ -2405,7 +2406,7 @@ var init_Card = __esm({
2405
2406
  ...props,
2406
2407
  children: [
2407
2408
  (title || subtitle) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4", children: [
2408
- title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg text-card-foreground font-[var(--font-weight-bold)]", children: title }),
2409
+ title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg text-card-foreground font-bold", children: title }),
2409
2410
  subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground mt-1", children: subtitle })
2410
2411
  ] }),
2411
2412
  children
@@ -2423,7 +2424,7 @@ var init_Card = __esm({
2423
2424
  ref,
2424
2425
  className: cn(
2425
2426
  "text-lg text-card-foreground",
2426
- "font-[var(--font-weight-bold)]",
2427
+ "font-bold",
2427
2428
  className
2428
2429
  ),
2429
2430
  ...props
@@ -2489,7 +2490,11 @@ var init_Badge = __esm({
2489
2490
  };
2490
2491
  exports.Badge = React80__namespace.default.forwardRef(
2491
2492
  ({ className, variant = "default", size = "sm", amount, label, icon, children, onRemove, removeLabel, ...props }, ref) => {
2492
- const iconSizes3 = { sm: "w-3 h-3", md: "w-3.5 h-3.5", lg: "w-4 h-4" };
2493
+ const iconSizes3 = {
2494
+ sm: "h-icon-default w-icon-default",
2495
+ md: "h-icon-default w-icon-default",
2496
+ lg: "h-icon-default w-icon-default"
2497
+ };
2493
2498
  const resolvedIcon = typeof icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: icon, className: iconSizes3[size] }) : icon;
2494
2499
  return /* @__PURE__ */ jsxRuntime.jsxs(
2495
2500
  "span",
@@ -2648,7 +2653,7 @@ var init_Spinner = __esm({
2648
2653
  init_Icon();
2649
2654
  sizeStyles4 = {
2650
2655
  xs: "h-3 w-3",
2651
- sm: "h-4 w-4",
2656
+ sm: "h-icon-default w-icon-default",
2652
2657
  md: "h-6 w-6",
2653
2658
  lg: "h-8 w-8"
2654
2659
  };
@@ -4471,10 +4476,9 @@ var init_LawReferenceTooltip = __esm({
4471
4476
  {
4472
4477
  padding: "sm",
4473
4478
  rounded: "lg",
4474
- shadow: "lg",
4475
4479
  position: "absolute",
4476
4480
  className: cn(
4477
- "z-50 w-64 bg-foreground text-background",
4481
+ "z-50 w-64 bg-foreground text-background shadow-elevation-popover",
4478
4482
  positionStyles2[position]
4479
4483
  ),
4480
4484
  role: "tooltip",
@@ -4485,7 +4489,7 @@ var init_LawReferenceTooltip = __esm({
4485
4489
  {
4486
4490
  variant: "label",
4487
4491
  weight: "semibold",
4488
- className: "text-amber-400",
4492
+ className: "text-warning",
4489
4493
  children: [
4490
4494
  reference.law,
4491
4495
  " ",
@@ -4517,7 +4521,7 @@ var init_LawReferenceTooltip = __esm({
4517
4521
  {
4518
4522
  as: "a",
4519
4523
  variant: "caption",
4520
- className: "text-blue-400 hover:text-blue-300 underline cursor-pointer",
4524
+ className: "text-info hover:text-info/80 underline cursor-pointer",
4521
4525
  href: reference.link,
4522
4526
  target: "_blank",
4523
4527
  rel: "noopener noreferrer",
@@ -4923,12 +4927,12 @@ var init_RangeSlider = __esm({
4923
4927
  "shadow-sm",
4924
4928
  "pointer-events-none",
4925
4929
  "transition-transform duration-100",
4926
- isDragging && "scale-110",
4930
+ isDragging && "scale-[var(--hover-scale)]",
4927
4931
  thumbSizes[size]
4928
4932
  ),
4929
4933
  style: {
4930
4934
  top: "50%",
4931
- transform: `translateY(-50%) translateX(-50%)${isDragging ? " scale(1.1)" : ""}`,
4935
+ transform: `translateY(-50%) translateX(-50%)${isDragging ? " scale(var(--hover-scale))" : ""}`,
4932
4936
  left: `${percentage}%`
4933
4937
  }
4934
4938
  }
@@ -9262,7 +9266,7 @@ var init_ActionButton = __esm({
9262
9266
  init_Icon();
9263
9267
  sizeMap = {
9264
9268
  sm: { button: "px-3 py-1.5 text-xs", hotkey: "text-[9px] px-1", icon: "text-xs" },
9265
- md: { button: "px-4 py-2 text-sm", hotkey: "text-[10px] px-1.5", icon: "text-sm" },
9269
+ md: { button: "px-4 py-2 text-sm", hotkey: "text-xs px-1.5", icon: "text-sm" },
9266
9270
  lg: { button: "px-5 py-2.5 text-base", hotkey: "text-xs px-2", icon: "text-base" }
9267
9271
  };
9268
9272
  variantStyles7 = {
@@ -20308,7 +20312,7 @@ var init_ComboCounter = __esm({
20308
20312
  "components/atoms/game/ComboCounter.tsx"() {
20309
20313
  init_cn();
20310
20314
  sizeMap4 = {
20311
- sm: { combo: "text-lg", label: "text-[10px]", multiplier: "text-xs" },
20315
+ sm: { combo: "text-lg", label: "text-xs", multiplier: "text-xs" },
20312
20316
  md: { combo: "text-2xl", label: "text-xs", multiplier: "text-sm" },
20313
20317
  lg: { combo: "text-4xl", label: "text-sm", multiplier: "text-base" }
20314
20318
  };
@@ -20729,7 +20733,7 @@ function ItemSlot({
20729
20733
  className: cn(
20730
20734
  "absolute -bottom-1 -right-1 flex items-center justify-center",
20731
20735
  "min-w-[18px] h-[18px] rounded-full px-1",
20732
- "bg-[var(--color-surface,#374151)] border border-gray-500 text-[10px] font-bold text-[var(--color-foreground)]"
20736
+ "bg-[var(--color-surface,#374151)] border border-gray-500 text-xs font-bold text-[var(--color-foreground)]"
20733
20737
  ),
20734
20738
  children: quantity
20735
20739
  }
@@ -21307,7 +21311,7 @@ var init_DashboardLayout = __esm({
21307
21311
  {
21308
21312
  as: "span",
21309
21313
  className: cn(
21310
- "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",
21314
+ "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",
21311
21315
  action.variant === "danger" ? "bg-error" : action.variant === "primary" ? "bg-primary" : "bg-foreground"
21312
21316
  ),
21313
21317
  children: action.badge
@@ -21330,7 +21334,7 @@ var init_DashboardLayout = __esm({
21330
21334
  exports.Box,
21331
21335
  {
21332
21336
  as: "span",
21333
- 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",
21337
+ 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",
21334
21338
  children: unreadCount > 99 ? "99+" : unreadCount
21335
21339
  }
21336
21340
  )
@@ -21532,14 +21536,14 @@ var init_DashboardLayout = __esm({
21532
21536
  {
21533
21537
  variant: "caption",
21534
21538
  className: cn(
21535
- "text-[10px] leading-tight truncate max-w-full",
21539
+ "text-xs leading-tight truncate max-w-full",
21536
21540
  isActive ? "text-primary font-medium" : "text-muted-foreground"
21537
21541
  ),
21538
21542
  as: "span",
21539
21543
  children: item.label
21540
21544
  }
21541
21545
  ),
21542
- item.badge && /* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: isActive ? "primary" : "default", size: "sm", className: "text-[8px] px-1 py-0 min-w-0", children: item.badge })
21546
+ item.badge && /* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: isActive ? "primary" : "default", size: "sm", className: "text-xs px-1 py-0 min-w-0", children: item.badge })
21543
21547
  ]
21544
21548
  }
21545
21549
  );
@@ -23129,7 +23133,7 @@ var init_FilterGroup = __esm({
23129
23133
  return /* @__PURE__ */ jsxRuntime.jsxs(exports.HStack, { gap: "md", align: "center", className: cn("flex-wrap", className), children: [
23130
23134
  showIcon && /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
23131
23135
  filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs(exports.HStack, { gap: "xs", align: "center", children: [
23132
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-[var(--font-weight-medium)] text-muted-foreground", children: [
23136
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-medium text-muted-foreground", children: [
23133
23137
  filter.label,
23134
23138
  ":"
23135
23139
  ] }),
@@ -23145,7 +23149,7 @@ var init_FilterGroup = __esm({
23145
23149
  type: "button",
23146
23150
  onClick: () => handleFilterSelect(filter.field, null),
23147
23151
  className: cn(
23148
- "px-3 py-1.5 text-sm font-[var(--font-weight-medium)] transition-all duration-[var(--transition-fast)]",
23152
+ "px-3 py-1.5 text-sm font-medium transition-all duration-[var(--transition-fast)]",
23149
23153
  !selectedValues[filter.field] ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
23150
23154
  ),
23151
23155
  children: "All"
@@ -23157,7 +23161,7 @@ var init_FilterGroup = __esm({
23157
23161
  type: "button",
23158
23162
  onClick: () => handleFilterSelect(filter.field, option),
23159
23163
  className: cn(
23160
- "px-3 py-1.5 text-sm font-[var(--font-weight-medium)] transition-all duration-[var(--transition-fast)]",
23164
+ "px-3 py-1.5 text-sm font-medium transition-all duration-[var(--transition-fast)]",
23161
23165
  "border-l-[length:var(--border-width)] border-border",
23162
23166
  selectedValues[filter.field] === option ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
23163
23167
  ),
@@ -23185,10 +23189,10 @@ var init_FilterGroup = __esm({
23185
23189
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4", className), children: [
23186
23190
  showIcon && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
23187
23191
  /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: "filter", className: "h-4 w-4" }),
23188
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-[var(--font-weight-bold)] uppercase tracking-wide", children: "Filters" })
23192
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
23189
23193
  ] }),
23190
23194
  filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
23191
- /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-[var(--font-weight-bold)] text-muted-foreground uppercase tracking-wide", children: filter.label }),
23195
+ /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-bold text-muted-foreground uppercase tracking-wide", children: filter.label }),
23192
23196
  resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
23193
23197
  exports.Input,
23194
23198
  {
@@ -23370,12 +23374,12 @@ var init_FilterGroup = __esm({
23370
23374
  className: "text-muted-foreground",
23371
23375
  children: [
23372
23376
  /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: "filter", className: "h-4 w-4" }),
23373
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-[var(--font-weight-bold)] uppercase tracking-wide", children: "Filters" })
23377
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
23374
23378
  ]
23375
23379
  }
23376
23380
  ),
23377
23381
  filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
23378
- /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-[var(--font-weight-bold)] text-muted-foreground uppercase tracking-wide", children: filter.label }),
23382
+ /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-bold text-muted-foreground uppercase tracking-wide", children: filter.label }),
23379
23383
  resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
23380
23384
  exports.Input,
23381
23385
  {
@@ -26038,7 +26042,7 @@ function EnemyPlate({
26038
26042
  exports.Typography,
26039
26043
  {
26040
26044
  variant: "caption",
26041
- className: "font-mono tabular-nums text-gray-400 text-[10px] shrink-0",
26045
+ className: "font-mono tabular-nums text-muted-foreground text-xs shrink-0",
26042
26046
  children: [
26043
26047
  health,
26044
26048
  "/",
@@ -26115,7 +26119,7 @@ function UnitCommandBar({
26115
26119
  exports.Typography,
26116
26120
  {
26117
26121
  variant: "caption",
26118
- className: "text-gray-500 text-[10px] font-mono",
26122
+ className: "text-muted-foreground text-xs font-mono",
26119
26123
  children: command.hotkey
26120
26124
  }
26121
26125
  )
@@ -33674,16 +33678,16 @@ var init_ModuleCard = __esm({
33674
33678
  children: [
33675
33679
  /* @__PURE__ */ jsxRuntime.jsx(react.Handle, { type: "target", position: react.Position.Left, className: "!w-2.5 !h-2.5 !bg-orange-400" }),
33676
33680
  /* @__PURE__ */ jsxRuntime.jsx(react.Handle, { type: "source", position: react.Position.Right, className: "!w-2.5 !h-2.5 !bg-orange-400" }),
33677
- /* @__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 }) }),
33681
+ /* @__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 }) }),
33678
33682
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `px-3 py-2 border-b border-[var(--color-border)] ${PERSISTENCE_BORDER[persistence] ?? ""}`, children: [
33679
33683
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 mb-1.5", children: [
33680
33684
  /* @__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 }) }),
33681
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[13px] font-semibold text-[var(--color-foreground)]", children: entityName }),
33682
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-auto text-[10px] opacity-50", title: persistence, children: PERSISTENCE_ICON[persistence] ?? "" })
33685
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold text-[var(--color-foreground)]", children: entityName }),
33686
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-auto text-xs opacity-50", title: persistence, children: PERSISTENCE_ICON[persistence] ?? "" })
33683
33687
  ] }),
33684
33688
  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: [
33685
33689
  /* @__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 }) }),
33686
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-[var(--color-muted-foreground)] truncate", children: f3.name })
33690
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-[var(--color-muted-foreground)] truncate", children: f3.name })
33687
33691
  ] }, f3.name)) })
33688
33692
  ] }),
33689
33693
  traits2.map((trait) => {
@@ -33691,7 +33695,7 @@ var init_ModuleCard = __esm({
33691
33695
  const traitEmits = externalLinks.filter((l) => l.direction === "out" && l.traitName === trait.name);
33692
33696
  const traitListens = externalLinks.filter((l) => l.direction === "in" && l.traitName === trait.name);
33693
33697
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: [
33694
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[12px] font-semibold text-[var(--color-foreground)] mb-1", children: trait.name }),
33698
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs font-semibold text-[var(--color-foreground)] mb-1", children: trait.name }),
33695
33699
  detail && /* @__PURE__ */ jsxRuntime.jsx(MiniStateMachine, { data: detail, className: "mb-1" }),
33696
33700
  (traitEmits.length > 0 || traitListens.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-[9px] mt-1", children: [
33697
33701
  traitListens.map((l) => /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { color: CONNECTION_COLORS.emitListen.color }, children: [
@@ -33710,7 +33714,7 @@ var init_ModuleCard = __esm({
33710
33714
  }),
33711
33715
  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: [
33712
33716
  /* @__PURE__ */ jsxRuntime.jsx("svg", { width: 10, height: 10, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsxRuntime.jsx(AvlPage, { x: 6, y: 6, size: 5 }) }),
33713
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-mono text-[var(--color-muted-foreground)]", children: p2.route })
33717
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-mono text-[var(--color-muted-foreground)]", children: p2.route })
33714
33718
  ] }, p2.name)) })
33715
33719
  ]
33716
33720
  }
@@ -38256,7 +38260,7 @@ var init_List = __esm({
38256
38260
  {
38257
38261
  as: "h3",
38258
38262
  className: cn(
38259
- "text-[15px] font-semibold text-foreground truncate flex-1",
38263
+ "text-base font-semibold text-foreground truncate flex-1",
38260
38264
  "tracking-tight leading-snug",
38261
38265
  item.completed && "line-through text-muted-foreground"
38262
38266
  ),
@@ -38280,7 +38284,7 @@ var init_List = __esm({
38280
38284
  )
38281
38285
  ] })
38282
38286
  ] }),
38283
- /* @__PURE__ */ jsxRuntime.jsxs(exports.HStack, { className: "flex items-center gap-6 text-[13px] font-medium text-muted-foreground", children: [
38287
+ /* @__PURE__ */ jsxRuntime.jsxs(exports.HStack, { className: "flex items-center gap-6 text-sm font-medium text-muted-foreground", children: [
38284
38288
  dateFields.slice(0, 1).map((field) => {
38285
38289
  const value = item._fields?.[field];
38286
38290
  if (!value) return null;
@@ -38676,7 +38680,7 @@ var init_MediaGallery = __esm({
38676
38680
  }
38677
38681
  ),
38678
38682
  item.caption && /* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "absolute bottom-0 left-0 right-0 p-2 bg-gradient-to-t from-black/60 to-transparent", children: /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "caption", className: "text-white truncate", children: item.caption }) }),
38679
- selectable && isSelected && /* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "absolute top-2 right-2 w-5 h-5 rounded-full bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "caption", className: "text-white text-[10px]", children: "\u2713" }) })
38683
+ selectable && isSelected && /* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "absolute top-2 right-2 w-5 h-5 rounded-full bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "caption", className: "text-white text-xs", children: "\u2713" }) })
38680
38684
  ]
38681
38685
  },
38682
38686
  item.id
@@ -40191,13 +40195,13 @@ function WalkMinimap() {
40191
40195
  })
40192
40196
  ] }) }),
40193
40197
  /* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "px-2 py-1 border-t border-border", children: /* @__PURE__ */ jsxRuntime.jsxs(exports.HStack, { gap: "sm", className: "items-center justify-between", children: [
40194
- /* @__PURE__ */ jsxRuntime.jsxs(exports.Typography, { variant: "caption", className: "text-[10px] font-mono text-green-500", children: [
40198
+ /* @__PURE__ */ jsxRuntime.jsxs(exports.Typography, { variant: "caption", className: "text-xs font-mono text-green-500", children: [
40195
40199
  "Engine: ",
40196
40200
  engineCount,
40197
40201
  "/",
40198
40202
  totalTransitions
40199
40203
  ] }),
40200
- domCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(exports.Typography, { variant: "caption", className: "text-[10px] font-mono text-cyan-500", children: [
40204
+ domCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(exports.Typography, { variant: "caption", className: "text-xs font-mono text-cyan-500", children: [
40201
40205
  "DOM: ",
40202
40206
  domCount
40203
40207
  ] }),
@@ -40711,7 +40715,7 @@ function VerificationTab({ checks, summary }) {
40711
40715
  /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "small", className: "break-words", children: check.label }),
40712
40716
  check.details && /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "small", className: "text-gray-500 break-words", children: check.details })
40713
40717
  ] }),
40714
- /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "small", className: "text-gray-400 font-mono text-[10px] shrink-0", children: new Date(check.updatedAt).toLocaleTimeString("en-US", {
40718
+ /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "small", className: "text-muted-foreground font-mono text-xs shrink-0", children: new Date(check.updatedAt).toLocaleTimeString("en-US", {
40715
40719
  hour12: false,
40716
40720
  hour: "2-digit",
40717
40721
  minute: "2-digit",
@@ -40744,7 +40748,7 @@ var init_VerificationTab = __esm({
40744
40748
  function EffectBadge({ effect }) {
40745
40749
  const variant = EFFECT_STATUS_VARIANT[effect.status] || "default";
40746
40750
  const icon = effect.status === "executed" ? "\u2713" : effect.status === "failed" ? "\u2717" : "-";
40747
- 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: [
40751
+ 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: [
40748
40752
  /* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant, size: "sm", className: "!text-[9px] !px-1 !py-0", children: icon }),
40749
40753
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-gray-600 dark:text-gray-400", children: effect.type }),
40750
40754
  effect.error && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-red-500 truncate max-w-[120px]", title: effect.error, children: effect.error })
@@ -40848,8 +40852,8 @@ function TransitionTimeline({ transitions }) {
40848
40852
  ] }),
40849
40853
  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: [
40850
40854
  /* @__PURE__ */ jsxRuntime.jsx(EffectBadge, { effect }),
40851
- effect.args.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "small", className: "text-gray-400 font-mono text-[10px] truncate max-w-[200px]", children: JSON.stringify(effect.args) }),
40852
- effect.durationMs !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs(exports.Typography, { variant: "small", className: "text-gray-400 text-[10px]", children: [
40855
+ effect.args.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "small", className: "text-muted-foreground font-mono text-xs truncate max-w-[200px]", children: JSON.stringify(effect.args) }),
40856
+ effect.durationMs !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs(exports.Typography, { variant: "small", className: "text-muted-foreground text-xs", children: [
40853
40857
  effect.durationMs,
40854
40858
  "ms"
40855
40859
  ] })
@@ -41136,7 +41140,7 @@ var init_RuntimeDebugger = __esm({
41136
41140
  });
41137
41141
  function ServerResponseRow({ sr }) {
41138
41142
  const entityEntries = Object.entries(sr.dataEntities);
41139
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4 pl-2 border-l border-purple-500/30 py-0.5 text-[10px] font-mono", children: [
41143
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4 pl-2 border-l border-purple-500/30 py-0.5 text-xs font-mono", children: [
41140
41144
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
41141
41145
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: sr.success ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400", children: [
41142
41146
  sr.success ? "\u2713" : "\u2717",
@@ -41193,7 +41197,7 @@ function TransitionRow({ trace }) {
41193
41197
  ] })
41194
41198
  ] }),
41195
41199
  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(
41196
- "px-1 rounded text-[10px]",
41200
+ "px-1 rounded text-xs",
41197
41201
  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"
41198
41202
  ), children: [
41199
41203
  eff.status === "executed" ? "\u2713" : eff.status === "failed" ? "\u2717" : "-",
@@ -44106,7 +44110,7 @@ function StatusEffect({
44106
44110
  children: stacks
44107
44111
  }
44108
44112
  ),
44109
- label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-gray-400 mt-0.5 text-center whitespace-nowrap", children: label })
44113
+ label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground mt-0.5 text-center whitespace-nowrap", children: label })
44110
44114
  ] });
44111
44115
  }
44112
44116
  var sizeMap16, variantStyles9;
@@ -44114,8 +44118,8 @@ var init_StatusEffect = __esm({
44114
44118
  "components/atoms/game/StatusEffect.tsx"() {
44115
44119
  init_cn();
44116
44120
  sizeMap16 = {
44117
- sm: { container: "w-8 h-8", icon: "text-sm", badge: "text-[10px] -top-1 -right-1 w-4 h-4", timer: "text-[9px]" },
44118
- md: { container: "w-10 h-10", icon: "text-base", badge: "text-xs -top-1 -right-1 w-5 h-5", timer: "text-[10px]" },
44121
+ sm: { container: "w-8 h-8", icon: "text-sm", badge: "text-xs -top-1 -right-1 w-4 h-4", timer: "text-[9px]" },
44122
+ md: { container: "w-10 h-10", icon: "text-base", badge: "text-xs -top-1 -right-1 w-5 h-5", timer: "text-xs" },
44119
44123
  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" }
44120
44124
  };
44121
44125
  variantStyles9 = {
@@ -45501,7 +45505,7 @@ var init_XPBar = __esm({
45501
45505
  "components/atoms/game/XPBar.tsx"() {
45502
45506
  init_cn();
45503
45507
  sizeMap18 = {
45504
- sm: { bar: "h-2", text: "text-[10px]", badge: "text-[10px] px-1.5 py-0.5" },
45508
+ sm: { bar: "h-2", text: "text-xs", badge: "text-xs px-1.5 py-0.5" },
45505
45509
  md: { bar: "h-3", text: "text-xs", badge: "text-xs px-2 py-0.5" },
45506
45510
  lg: { bar: "h-4", text: "text-sm", badge: "text-sm px-2.5 py-1" }
45507
45511
  };