@almadar/ui 5.2.0 → 5.3.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/avl/index.js CHANGED
@@ -4836,16 +4836,16 @@ var init_ModuleCard = __esm({
4836
4836
  children: [
4837
4837
  /* @__PURE__ */ jsx(Handle, { type: "target", position: Position.Left, className: "!w-2.5 !h-2.5 !bg-orange-400" }),
4838
4838
  /* @__PURE__ */ jsx(Handle, { type: "source", position: Position.Right, className: "!w-2.5 !h-2.5 !bg-orange-400" }),
4839
- /* @__PURE__ */ jsx("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: /* @__PURE__ */ jsx("span", { className: "text-[15px] font-bold text-[var(--color-foreground)]", children: orbitalName }) }),
4839
+ /* @__PURE__ */ jsx("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: /* @__PURE__ */ jsx("span", { className: "text-base font-bold text-[var(--color-foreground)]", children: orbitalName }) }),
4840
4840
  /* @__PURE__ */ jsxs("div", { className: `px-3 py-2 border-b border-[var(--color-border)] ${PERSISTENCE_BORDER[persistence] ?? ""}`, children: [
4841
4841
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 mb-1.5", children: [
4842
4842
  /* @__PURE__ */ jsx("svg", { width: 18, height: 18, viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx(AvlEntity, { x: 10, y: 10, r: 8, persistence }) }),
4843
- /* @__PURE__ */ jsx("span", { className: "text-[13px] font-semibold text-[var(--color-foreground)]", children: entityName }),
4844
- /* @__PURE__ */ jsx("span", { className: "ml-auto text-[10px] opacity-50", title: persistence, children: PERSISTENCE_ICON[persistence] ?? "" })
4843
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-semibold text-[var(--color-foreground)]", children: entityName }),
4844
+ /* @__PURE__ */ jsx("span", { className: "ml-auto text-xs opacity-50", title: persistence, children: PERSISTENCE_ICON[persistence] ?? "" })
4845
4845
  ] }),
4846
4846
  fields.length > 0 && /* @__PURE__ */ jsx("div", { className: `grid gap-x-3 gap-y-0.5`, style: { gridTemplateColumns: `repeat(${cols}, 1fr)` }, children: fields.map((f3) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
4847
4847
  /* @__PURE__ */ jsx("svg", { width: 14, height: 14, viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx(AvlFieldType, { x: 8, y: 8, kind: toFieldKind2(f3.type), size: 6 }) }),
4848
- /* @__PURE__ */ jsx("span", { className: "text-[10px] text-[var(--color-muted-foreground)] truncate", children: f3.name })
4848
+ /* @__PURE__ */ jsx("span", { className: "text-xs text-[var(--color-muted-foreground)] truncate", children: f3.name })
4849
4849
  ] }, f3.name)) })
4850
4850
  ] }),
4851
4851
  traits2.map((trait) => {
@@ -4853,7 +4853,7 @@ var init_ModuleCard = __esm({
4853
4853
  const traitEmits = externalLinks.filter((l) => l.direction === "out" && l.traitName === trait.name);
4854
4854
  const traitListens = externalLinks.filter((l) => l.direction === "in" && l.traitName === trait.name);
4855
4855
  return /* @__PURE__ */ jsxs("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: [
4856
- /* @__PURE__ */ jsx("div", { className: "text-[12px] font-semibold text-[var(--color-foreground)] mb-1", children: trait.name }),
4856
+ /* @__PURE__ */ jsx("div", { className: "text-xs font-semibold text-[var(--color-foreground)] mb-1", children: trait.name }),
4857
4857
  detail && /* @__PURE__ */ jsx(MiniStateMachine, { data: detail, className: "mb-1" }),
4858
4858
  (traitEmits.length > 0 || traitListens.length > 0) && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[9px] mt-1", children: [
4859
4859
  traitListens.map((l) => /* @__PURE__ */ jsxs("span", { style: { color: CONNECTION_COLORS.emitListen.color }, children: [
@@ -4872,7 +4872,7 @@ var init_ModuleCard = __esm({
4872
4872
  }),
4873
4873
  pages.length > 0 && /* @__PURE__ */ jsx("div", { className: "px-3 py-1.5 flex items-center gap-2 flex-wrap", children: pages.map((p2) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-0.5", children: [
4874
4874
  /* @__PURE__ */ jsx("svg", { width: 10, height: 10, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx(AvlPage, { x: 6, y: 6, size: 5 }) }),
4875
- /* @__PURE__ */ jsx("span", { className: "text-[10px] font-mono text-[var(--color-muted-foreground)]", children: p2.route })
4875
+ /* @__PURE__ */ jsx("span", { className: "text-xs font-mono text-[var(--color-muted-foreground)]", children: p2.route })
4876
4876
  ] }, p2.name)) })
4877
4877
  ]
4878
4878
  }
@@ -6425,7 +6425,7 @@ var init_Icon = __esm({
6425
6425
  sizeClasses = {
6426
6426
  xs: "w-3 h-3",
6427
6427
  sm: "w-4 h-4",
6428
- md: "w-5 h-5",
6428
+ md: "h-icon-default w-icon-default",
6429
6429
  lg: "w-6 h-6",
6430
6430
  xl: "w-8 h-8"
6431
6431
  };
@@ -6570,14 +6570,14 @@ var init_Button = __esm({
6570
6570
  };
6571
6571
  variantStyles2.destructive = variantStyles2.danger;
6572
6572
  sizeStyles2 = {
6573
- sm: "px-3 py-1.5 text-sm",
6574
- md: "px-4 py-2 text-sm",
6575
- lg: "px-6 py-3 text-base"
6573
+ sm: "h-button-sm px-3 text-sm",
6574
+ md: "h-button-md px-4 text-sm",
6575
+ lg: "h-button-lg px-6 text-base"
6576
6576
  };
6577
6577
  iconSizeStyles = {
6578
- sm: "h-3.5 w-3.5",
6578
+ sm: "h-icon-default w-icon-default",
6579
6579
  md: "h-icon-default w-icon-default",
6580
- lg: "h-5 w-5"
6580
+ lg: "h-icon-default w-icon-default"
6581
6581
  };
6582
6582
  Button = React98__default.forwardRef(
6583
6583
  ({
@@ -6615,7 +6615,7 @@ var init_Button = __esm({
6615
6615
  disabled: disabled || isLoading,
6616
6616
  className: cn(
6617
6617
  "inline-flex items-center justify-center gap-2",
6618
- "font-[var(--font-weight-medium)]",
6618
+ "font-medium",
6619
6619
  "rounded-sm",
6620
6620
  "cursor-pointer",
6621
6621
  "transition-all duration-[var(--transition-normal)]",
@@ -7131,7 +7131,11 @@ var init_Badge = __esm({
7131
7131
  };
7132
7132
  Badge = React98__default.forwardRef(
7133
7133
  ({ className, variant = "default", size = "sm", amount, label, icon, children, onRemove, removeLabel, ...props }, ref) => {
7134
- const iconSizes3 = { sm: "w-3 h-3", md: "w-3.5 h-3.5", lg: "w-4 h-4" };
7134
+ const iconSizes3 = {
7135
+ sm: "h-icon-default w-icon-default",
7136
+ md: "h-icon-default w-icon-default",
7137
+ lg: "h-icon-default w-icon-default"
7138
+ };
7135
7139
  const resolvedIcon = typeof icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: icon, className: iconSizes3[size] }) : icon;
7136
7140
  return /* @__PURE__ */ jsxs(
7137
7141
  "span",
@@ -8165,10 +8169,11 @@ var init_Input = __esm({
8165
8169
  const type = inputType || htmlType || "text";
8166
8170
  const resolvedLeftIcon = leftIcon || IconComponent && /* @__PURE__ */ jsx(IconComponent, { className: "h-icon-default w-icon-default" });
8167
8171
  const showClearButton = clearable && value && String(value).length > 0;
8172
+ const isMultiline = type === "textarea";
8168
8173
  const baseClassName = cn(
8169
8174
  "block w-full rounded-sm transition-all duration-[var(--transition-fast)]",
8170
8175
  "border-[length:var(--border-width-thin)] border-border",
8171
- "px-3 py-2 text-sm",
8176
+ isMultiline ? "px-3 py-2 text-sm" : "h-input-md px-3 text-sm",
8172
8177
  "bg-card hover:bg-muted focus:bg-card",
8173
8178
  "text-foreground placeholder:text-muted-foreground",
8174
8179
  "focus:outline-none focus:ring-1 focus:ring-ring focus:border-ring",
@@ -8220,7 +8225,7 @@ var init_Input = __esm({
8220
8225
  checked: props.checked,
8221
8226
  onChange,
8222
8227
  className: cn(
8223
- "h-4 w-4 rounded-sm",
8228
+ "h-icon-default w-icon-default rounded-sm",
8224
8229
  "border-border",
8225
8230
  "text-primary focus:ring-ring",
8226
8231
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -8302,7 +8307,7 @@ var init_Textarea = __esm({
8302
8307
  "placeholder:text-[var(--color-placeholder)]",
8303
8308
  "focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-ring",
8304
8309
  "disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed",
8305
- "resize-y min-h-[80px]",
8310
+ "resize-y min-h-20",
8306
8311
  error ? "border-error focus:border-error" : "border-border focus:border-primary",
8307
8312
  className
8308
8313
  ),
@@ -8405,21 +8410,21 @@ var init_Card = __esm({
8405
8410
  "border-[length:var(--border-width)] border-border",
8406
8411
  "shadow-elevation-card",
8407
8412
  "transition-all duration-[var(--transition-normal)]",
8408
- "hover:shadow-elevation-dialog hover:-translate-y-0.5"
8413
+ "hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
8409
8414
  ].join(" "),
8410
8415
  bordered: [
8411
8416
  "bg-card",
8412
8417
  "border-[length:var(--border-width)] border-border",
8413
8418
  "shadow-elevation-card",
8414
8419
  "transition-all duration-[var(--transition-normal)]",
8415
- "hover:shadow-elevation-dialog hover:-translate-y-0.5"
8420
+ "hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
8416
8421
  ].join(" "),
8417
8422
  elevated: [
8418
8423
  "bg-card",
8419
8424
  "border-[length:var(--border-width)] border-border",
8420
8425
  "shadow",
8421
8426
  "transition-all duration-[var(--transition-normal)]",
8422
- "hover:shadow-elevation-dialog hover:-translate-y-0.5"
8427
+ "hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
8423
8428
  ].join(" "),
8424
8429
  // Interactive variant with theme-specific hover effects
8425
8430
  interactive: [
@@ -8469,7 +8474,7 @@ var init_Card = __esm({
8469
8474
  ...props,
8470
8475
  children: [
8471
8476
  (title || subtitle) && /* @__PURE__ */ jsxs("div", { className: "mb-4", children: [
8472
- title && /* @__PURE__ */ jsx("h3", { className: "text-lg text-card-foreground font-[var(--font-weight-bold)]", children: title }),
8477
+ title && /* @__PURE__ */ jsx("h3", { className: "text-lg text-card-foreground font-bold", children: title }),
8473
8478
  subtitle && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mt-1", children: subtitle })
8474
8479
  ] }),
8475
8480
  children
@@ -8487,7 +8492,7 @@ var init_Card = __esm({
8487
8492
  ref,
8488
8493
  className: cn(
8489
8494
  "text-lg text-card-foreground",
8490
- "font-[var(--font-weight-bold)]",
8495
+ "font-bold",
8491
8496
  className
8492
8497
  ),
8493
8498
  ...props
@@ -8625,7 +8630,7 @@ var init_Spinner = __esm({
8625
8630
  init_Icon();
8626
8631
  sizeStyles5 = {
8627
8632
  xs: "h-3 w-3",
8628
- sm: "h-4 w-4",
8633
+ sm: "h-icon-default w-icon-default",
8629
8634
  md: "h-6 w-6",
8630
8635
  lg: "h-8 w-8"
8631
8636
  };
@@ -9645,10 +9650,9 @@ var init_LawReferenceTooltip = __esm({
9645
9650
  {
9646
9651
  padding: "sm",
9647
9652
  rounded: "lg",
9648
- shadow: "lg",
9649
9653
  position: "absolute",
9650
9654
  className: cn(
9651
- "z-50 w-64 bg-foreground text-background",
9655
+ "z-50 w-64 bg-foreground text-background shadow-elevation-popover",
9652
9656
  positionStyles2[position]
9653
9657
  ),
9654
9658
  role: "tooltip",
@@ -9659,7 +9663,7 @@ var init_LawReferenceTooltip = __esm({
9659
9663
  {
9660
9664
  variant: "label",
9661
9665
  weight: "semibold",
9662
- className: "text-amber-400",
9666
+ className: "text-warning",
9663
9667
  children: [
9664
9668
  reference.law,
9665
9669
  " ",
@@ -9691,7 +9695,7 @@ var init_LawReferenceTooltip = __esm({
9691
9695
  {
9692
9696
  as: "a",
9693
9697
  variant: "caption",
9694
- className: "text-blue-400 hover:text-blue-300 underline cursor-pointer",
9698
+ className: "text-info hover:text-info/80 underline cursor-pointer",
9695
9699
  href: reference.link,
9696
9700
  target: "_blank",
9697
9701
  rel: "noopener noreferrer",
@@ -10097,12 +10101,12 @@ var init_RangeSlider = __esm({
10097
10101
  "shadow-sm",
10098
10102
  "pointer-events-none",
10099
10103
  "transition-transform duration-100",
10100
- isDragging && "scale-110",
10104
+ isDragging && "scale-[var(--hover-scale)]",
10101
10105
  thumbSizes[size]
10102
10106
  ),
10103
10107
  style: {
10104
10108
  top: "50%",
10105
- transform: `translateY(-50%) translateX(-50%)${isDragging ? " scale(1.1)" : ""}`,
10109
+ transform: `translateY(-50%) translateX(-50%)${isDragging ? " scale(var(--hover-scale))" : ""}`,
10106
10110
  left: `${percentage}%`
10107
10111
  }
10108
10112
  }
@@ -11892,7 +11896,7 @@ function ItemSlot({
11892
11896
  className: cn(
11893
11897
  "absolute -bottom-1 -right-1 flex items-center justify-center",
11894
11898
  "min-w-[18px] h-[18px] rounded-full px-1",
11895
- "bg-[var(--color-surface,#374151)] border border-gray-500 text-[10px] font-bold text-[var(--color-foreground)]"
11899
+ "bg-[var(--color-surface,#374151)] border border-gray-500 text-xs font-bold text-[var(--color-foreground)]"
11896
11900
  ),
11897
11901
  children: quantity
11898
11902
  }
@@ -12030,7 +12034,7 @@ var init_ComboCounter = __esm({
12030
12034
  "components/atoms/game/ComboCounter.tsx"() {
12031
12035
  init_cn();
12032
12036
  sizeMap8 = {
12033
- sm: { combo: "text-lg", label: "text-[10px]", multiplier: "text-xs" },
12037
+ sm: { combo: "text-lg", label: "text-xs", multiplier: "text-xs" },
12034
12038
  md: { combo: "text-2xl", label: "text-xs", multiplier: "text-sm" },
12035
12039
  lg: { combo: "text-4xl", label: "text-sm", multiplier: "text-base" }
12036
12040
  };
@@ -12098,7 +12102,7 @@ var init_XPBar = __esm({
12098
12102
  "components/atoms/game/XPBar.tsx"() {
12099
12103
  init_cn();
12100
12104
  sizeMap9 = {
12101
- sm: { bar: "h-2", text: "text-[10px]", badge: "text-[10px] px-1.5 py-0.5" },
12105
+ sm: { bar: "h-2", text: "text-xs", badge: "text-xs px-1.5 py-0.5" },
12102
12106
  md: { bar: "h-3", text: "text-xs", badge: "text-xs px-2 py-0.5" },
12103
12107
  lg: { bar: "h-4", text: "text-sm", badge: "text-sm px-2.5 py-1" }
12104
12108
  };
@@ -12225,7 +12229,7 @@ function StatusEffect({
12225
12229
  children: stacks
12226
12230
  }
12227
12231
  ),
12228
- label && /* @__PURE__ */ jsx("span", { className: "text-[10px] text-gray-400 mt-0.5 text-center whitespace-nowrap", children: label })
12232
+ label && /* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground mt-0.5 text-center whitespace-nowrap", children: label })
12229
12233
  ] });
12230
12234
  }
12231
12235
  var sizeMap11, variantStyles7;
@@ -12233,8 +12237,8 @@ var init_StatusEffect = __esm({
12233
12237
  "components/atoms/game/StatusEffect.tsx"() {
12234
12238
  init_cn();
12235
12239
  sizeMap11 = {
12236
- sm: { container: "w-8 h-8", icon: "text-sm", badge: "text-[10px] -top-1 -right-1 w-4 h-4", timer: "text-[9px]" },
12237
- md: { container: "w-10 h-10", icon: "text-base", badge: "text-xs -top-1 -right-1 w-5 h-5", timer: "text-[10px]" },
12240
+ sm: { container: "w-8 h-8", icon: "text-sm", badge: "text-xs -top-1 -right-1 w-4 h-4", timer: "text-[9px]" },
12241
+ md: { container: "w-10 h-10", icon: "text-base", badge: "text-xs -top-1 -right-1 w-5 h-5", timer: "text-xs" },
12238
12242
  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" }
12239
12243
  };
12240
12244
  variantStyles7 = {
@@ -12444,7 +12448,7 @@ var init_ActionButton = __esm({
12444
12448
  init_Icon();
12445
12449
  sizeMap13 = {
12446
12450
  sm: { button: "px-3 py-1.5 text-xs", hotkey: "text-[9px] px-1", icon: "text-xs" },
12447
- md: { button: "px-4 py-2 text-sm", hotkey: "text-[10px] px-1.5", icon: "text-sm" },
12451
+ md: { button: "px-4 py-2 text-sm", hotkey: "text-xs px-1.5", icon: "text-sm" },
12448
12452
  lg: { button: "px-5 py-2.5 text-base", hotkey: "text-xs px-2", icon: "text-base" }
12449
12453
  };
12450
12454
  variantStyles8 = {
@@ -26091,7 +26095,7 @@ var init_DashboardLayout = __esm({
26091
26095
  {
26092
26096
  as: "span",
26093
26097
  className: cn(
26094
- "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",
26098
+ "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",
26095
26099
  action.variant === "danger" ? "bg-error" : action.variant === "primary" ? "bg-primary" : "bg-foreground"
26096
26100
  ),
26097
26101
  children: action.badge
@@ -26114,7 +26118,7 @@ var init_DashboardLayout = __esm({
26114
26118
  Box,
26115
26119
  {
26116
26120
  as: "span",
26117
- 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",
26121
+ 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",
26118
26122
  children: unreadCount > 99 ? "99+" : unreadCount
26119
26123
  }
26120
26124
  )
@@ -26316,14 +26320,14 @@ var init_DashboardLayout = __esm({
26316
26320
  {
26317
26321
  variant: "caption",
26318
26322
  className: cn(
26319
- "text-[10px] leading-tight truncate max-w-full",
26323
+ "text-xs leading-tight truncate max-w-full",
26320
26324
  isActive ? "text-primary font-medium" : "text-muted-foreground"
26321
26325
  ),
26322
26326
  as: "span",
26323
26327
  children: item.label
26324
26328
  }
26325
26329
  ),
26326
- item.badge && /* @__PURE__ */ jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", className: "text-[8px] px-1 py-0 min-w-0", children: item.badge })
26330
+ item.badge && /* @__PURE__ */ jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", className: "text-xs px-1 py-0 min-w-0", children: item.badge })
26327
26331
  ]
26328
26332
  }
26329
26333
  );
@@ -27905,7 +27909,7 @@ var init_FilterGroup = __esm({
27905
27909
  return /* @__PURE__ */ jsxs(HStack, { gap: "md", align: "center", className: cn("flex-wrap", className), children: [
27906
27910
  showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
27907
27911
  filters.map((filter) => /* @__PURE__ */ jsxs(HStack, { gap: "xs", align: "center", children: [
27908
- /* @__PURE__ */ jsxs("span", { className: "text-sm font-[var(--font-weight-medium)] text-muted-foreground", children: [
27912
+ /* @__PURE__ */ jsxs("span", { className: "text-sm font-medium text-muted-foreground", children: [
27909
27913
  filter.label,
27910
27914
  ":"
27911
27915
  ] }),
@@ -27921,7 +27925,7 @@ var init_FilterGroup = __esm({
27921
27925
  type: "button",
27922
27926
  onClick: () => handleFilterSelect(filter.field, null),
27923
27927
  className: cn(
27924
- "px-3 py-1.5 text-sm font-[var(--font-weight-medium)] transition-all duration-[var(--transition-fast)]",
27928
+ "px-3 py-1.5 text-sm font-medium transition-all duration-[var(--transition-fast)]",
27925
27929
  !selectedValues[filter.field] ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
27926
27930
  ),
27927
27931
  children: "All"
@@ -27933,7 +27937,7 @@ var init_FilterGroup = __esm({
27933
27937
  type: "button",
27934
27938
  onClick: () => handleFilterSelect(filter.field, option),
27935
27939
  className: cn(
27936
- "px-3 py-1.5 text-sm font-[var(--font-weight-medium)] transition-all duration-[var(--transition-fast)]",
27940
+ "px-3 py-1.5 text-sm font-medium transition-all duration-[var(--transition-fast)]",
27937
27941
  "border-l-[length:var(--border-width)] border-border",
27938
27942
  selectedValues[filter.field] === option ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
27939
27943
  ),
@@ -27961,10 +27965,10 @@ var init_FilterGroup = __esm({
27961
27965
  return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4", className), children: [
27962
27966
  showIcon && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
27963
27967
  /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4" }),
27964
- /* @__PURE__ */ jsx("span", { className: "text-sm font-[var(--font-weight-bold)] uppercase tracking-wide", children: "Filters" })
27968
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
27965
27969
  ] }),
27966
27970
  filters.map((filter) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
27967
- /* @__PURE__ */ jsx("label", { className: "text-xs font-[var(--font-weight-bold)] text-muted-foreground uppercase tracking-wide", children: filter.label }),
27971
+ /* @__PURE__ */ jsx("label", { className: "text-xs font-bold text-muted-foreground uppercase tracking-wide", children: filter.label }),
27968
27972
  resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsx(
27969
27973
  Input,
27970
27974
  {
@@ -28146,12 +28150,12 @@ var init_FilterGroup = __esm({
28146
28150
  className: "text-muted-foreground",
28147
28151
  children: [
28148
28152
  /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4" }),
28149
- /* @__PURE__ */ jsx("span", { className: "text-sm font-[var(--font-weight-bold)] uppercase tracking-wide", children: "Filters" })
28153
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
28150
28154
  ]
28151
28155
  }
28152
28156
  ),
28153
28157
  filters.map((filter) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
28154
- /* @__PURE__ */ jsx("label", { className: "text-xs font-[var(--font-weight-bold)] text-muted-foreground uppercase tracking-wide", children: filter.label }),
28158
+ /* @__PURE__ */ jsx("label", { className: "text-xs font-bold text-muted-foreground uppercase tracking-wide", children: filter.label }),
28155
28159
  resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsx(
28156
28160
  Input,
28157
28161
  {
@@ -30552,7 +30556,7 @@ function EnemyPlate({
30552
30556
  Typography,
30553
30557
  {
30554
30558
  variant: "caption",
30555
- className: "font-mono tabular-nums text-gray-400 text-[10px] shrink-0",
30559
+ className: "font-mono tabular-nums text-muted-foreground text-xs shrink-0",
30556
30560
  children: [
30557
30561
  health,
30558
30562
  "/",
@@ -30629,7 +30633,7 @@ function UnitCommandBar({
30629
30633
  Typography,
30630
30634
  {
30631
30635
  variant: "caption",
30632
- className: "text-gray-500 text-[10px] font-mono",
30636
+ className: "text-muted-foreground text-xs font-mono",
30633
30637
  children: command.hotkey
30634
30638
  }
30635
30639
  )
@@ -42149,7 +42153,7 @@ var init_List = __esm({
42149
42153
  {
42150
42154
  as: "h3",
42151
42155
  className: cn(
42152
- "text-[15px] font-semibold text-foreground truncate flex-1",
42156
+ "text-base font-semibold text-foreground truncate flex-1",
42153
42157
  "tracking-tight leading-snug",
42154
42158
  item.completed && "line-through text-muted-foreground"
42155
42159
  ),
@@ -42173,7 +42177,7 @@ var init_List = __esm({
42173
42177
  )
42174
42178
  ] })
42175
42179
  ] }),
42176
- /* @__PURE__ */ jsxs(HStack, { className: "flex items-center gap-6 text-[13px] font-medium text-muted-foreground", children: [
42180
+ /* @__PURE__ */ jsxs(HStack, { className: "flex items-center gap-6 text-sm font-medium text-muted-foreground", children: [
42177
42181
  dateFields.slice(0, 1).map((field) => {
42178
42182
  const value = item._fields?.[field];
42179
42183
  if (!value) return null;
@@ -42569,7 +42573,7 @@ var init_MediaGallery = __esm({
42569
42573
  }
42570
42574
  ),
42571
42575
  item.caption && /* @__PURE__ */ jsx(Box, { className: "absolute bottom-0 left-0 right-0 p-2 bg-gradient-to-t from-black/60 to-transparent", children: /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "text-white truncate", children: item.caption }) }),
42572
- selectable && isSelected && /* @__PURE__ */ jsx(Box, { className: "absolute top-2 right-2 w-5 h-5 rounded-full bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "text-white text-[10px]", children: "\u2713" }) })
42576
+ selectable && isSelected && /* @__PURE__ */ jsx(Box, { className: "absolute top-2 right-2 w-5 h-5 rounded-full bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "text-white text-xs", children: "\u2713" }) })
42573
42577
  ]
42574
42578
  },
42575
42579
  item.id
@@ -43965,13 +43969,13 @@ function WalkMinimap() {
43965
43969
  })
43966
43970
  ] }) }),
43967
43971
  /* @__PURE__ */ jsx(Box, { className: "px-2 py-1 border-t border-border", children: /* @__PURE__ */ jsxs(HStack, { gap: "sm", className: "items-center justify-between", children: [
43968
- /* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "text-[10px] font-mono text-green-500", children: [
43972
+ /* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "text-xs font-mono text-green-500", children: [
43969
43973
  "Engine: ",
43970
43974
  engineCount,
43971
43975
  "/",
43972
43976
  totalTransitions
43973
43977
  ] }),
43974
- domCount > 0 && /* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "text-[10px] font-mono text-cyan-500", children: [
43978
+ domCount > 0 && /* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "text-xs font-mono text-cyan-500", children: [
43975
43979
  "DOM: ",
43976
43980
  domCount
43977
43981
  ] }),
@@ -44485,7 +44489,7 @@ function VerificationTab({ checks, summary }) {
44485
44489
  /* @__PURE__ */ jsx(Typography, { variant: "small", className: "break-words", children: check.label }),
44486
44490
  check.details && /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-gray-500 break-words", children: check.details })
44487
44491
  ] }),
44488
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-gray-400 font-mono text-[10px] shrink-0", children: new Date(check.updatedAt).toLocaleTimeString("en-US", {
44492
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground font-mono text-xs shrink-0", children: new Date(check.updatedAt).toLocaleTimeString("en-US", {
44489
44493
  hour12: false,
44490
44494
  hour: "2-digit",
44491
44495
  minute: "2-digit",
@@ -44518,7 +44522,7 @@ var init_VerificationTab = __esm({
44518
44522
  function EffectBadge({ effect }) {
44519
44523
  const variant = EFFECT_STATUS_VARIANT[effect.status] || "default";
44520
44524
  const icon = effect.status === "executed" ? "\u2713" : effect.status === "failed" ? "\u2717" : "-";
44521
- return /* @__PURE__ */ 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: [
44525
+ return /* @__PURE__ */ 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: [
44522
44526
  /* @__PURE__ */ jsx(Badge, { variant, size: "sm", className: "!text-[9px] !px-1 !py-0", children: icon }),
44523
44527
  /* @__PURE__ */ jsx("span", { className: "text-gray-600 dark:text-gray-400", children: effect.type }),
44524
44528
  effect.error && /* @__PURE__ */ jsx("span", { className: "text-red-500 truncate max-w-[120px]", title: effect.error, children: effect.error })
@@ -44622,8 +44626,8 @@ function TransitionTimeline({ transitions }) {
44622
44626
  ] }),
44623
44627
  isExpanded && trace.effects.length > 0 && /* @__PURE__ */ 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__ */ jsxs("div", { className: "flex items-center gap-1", children: [
44624
44628
  /* @__PURE__ */ jsx(EffectBadge, { effect }),
44625
- effect.args.length > 0 && /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-gray-400 font-mono text-[10px] truncate max-w-[200px]", children: JSON.stringify(effect.args) }),
44626
- effect.durationMs !== void 0 && /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-gray-400 text-[10px]", children: [
44629
+ effect.args.length > 0 && /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground font-mono text-xs truncate max-w-[200px]", children: JSON.stringify(effect.args) }),
44630
+ effect.durationMs !== void 0 && /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-xs", children: [
44627
44631
  effect.durationMs,
44628
44632
  "ms"
44629
44633
  ] })
@@ -44910,7 +44914,7 @@ var init_RuntimeDebugger = __esm({
44910
44914
  });
44911
44915
  function ServerResponseRow({ sr }) {
44912
44916
  const entityEntries = Object.entries(sr.dataEntities);
44913
- return /* @__PURE__ */ jsxs("div", { className: "ml-4 pl-2 border-l border-purple-500/30 py-0.5 text-[10px] font-mono", children: [
44917
+ return /* @__PURE__ */ jsxs("div", { className: "ml-4 pl-2 border-l border-purple-500/30 py-0.5 text-xs font-mono", children: [
44914
44918
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
44915
44919
  /* @__PURE__ */ jsxs("span", { className: sr.success ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400", children: [
44916
44920
  sr.success ? "\u2713" : "\u2717",
@@ -44967,7 +44971,7 @@ function TransitionRow({ trace }) {
44967
44971
  ] })
44968
44972
  ] }),
44969
44973
  trace.effects.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-1 ml-6 mt-0.5", children: trace.effects.map((eff, i) => /* @__PURE__ */ jsxs("span", { className: cn(
44970
- "px-1 rounded text-[10px]",
44974
+ "px-1 rounded text-xs",
44971
44975
  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"
44972
44976
  ), children: [
44973
44977
  eff.status === "executed" ? "\u2713" : eff.status === "failed" ? "\u2717" : "-",
@@ -57973,7 +57977,7 @@ var SystemNode = ({ data }) => {
57973
57977
  /* @__PURE__ */ jsx(Handle, { type: "source", position: Position.Right, className: "!w-2 !h-2 !bg-orange-400" }),
57974
57978
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 mb-1", children: [
57975
57979
  /* @__PURE__ */ jsx("svg", { width: 14, height: 14, viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx(AvlEntity, { x: 10, y: 10, r: 8, persistence }) }),
57976
- /* @__PURE__ */ jsx("span", { className: "text-[11px] font-semibold text-[var(--color-foreground)] truncate flex-1", children: orbitalName })
57980
+ /* @__PURE__ */ jsx("span", { className: "text-xs font-semibold text-[var(--color-foreground)] truncate flex-1", children: orbitalName })
57977
57981
  ] }),
57978
57982
  fieldDots.length > 0 && /* @__PURE__ */ jsx("svg", { width: fieldDots.length * 10 + 2, height: 10, viewBox: `0 0 ${fieldDots.length * 10 + 2} 10`, className: "mb-1", children: fieldDots.map((f3, i) => /* @__PURE__ */ jsx(AvlFieldType, { x: i * 10 + 5, y: 5, kind: toFieldKind(f3.type), size: 4 }, f3.name)) }),
57979
57983
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
@@ -58027,28 +58031,28 @@ var DetailView = ({ data }) => {
58027
58031
  ] }) }),
58028
58032
  /* @__PURE__ */ jsxs("div", { className: "px-4 py-3 space-y-3", children: [
58029
58033
  /* @__PURE__ */ jsxs("div", { children: [
58030
- /* @__PURE__ */ jsx("div", { className: "text-[10px] uppercase tracking-wider text-[var(--color-muted-foreground)] mb-1", children: "Trigger" }),
58034
+ /* @__PURE__ */ jsx("div", { className: "text-xs uppercase tracking-wider text-[var(--color-muted-foreground)] mb-1", children: "Trigger" }),
58031
58035
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
58032
58036
  /* @__PURE__ */ jsx("svg", { width: 16, height: 16, viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx(AvlEvent, { x: 8, y: 8, size: 7 }) }),
58033
- /* @__PURE__ */ jsx("span", { className: "text-[14px] font-semibold text-[var(--color-foreground)]", children: transition.event })
58037
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-semibold text-[var(--color-foreground)]", children: transition.event })
58034
58038
  ] })
58035
58039
  ] }),
58036
58040
  hasGuard && /* @__PURE__ */ jsxs("div", { children: [
58037
- /* @__PURE__ */ jsx("div", { className: "text-[10px] uppercase tracking-wider text-[var(--color-muted-foreground)] mb-1", children: "Guard" }),
58041
+ /* @__PURE__ */ jsx("div", { className: "text-xs uppercase tracking-wider text-[var(--color-muted-foreground)] mb-1", children: "Guard" }),
58038
58042
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
58039
58043
  /* @__PURE__ */ jsx("svg", { width: 14, height: 14, viewBox: "0 0 14 14", children: /* @__PURE__ */ jsx(AvlGuard, { x: 7, y: 7, size: 6 }) }),
58040
- /* @__PURE__ */ jsx("span", { className: "text-[11px] font-mono text-[var(--color-muted-foreground)] opacity-60", children: typeof transition.guard === "string" ? transition.guard : JSON.stringify(transition.guard) })
58044
+ /* @__PURE__ */ jsx("span", { className: "text-xs font-mono text-[var(--color-muted-foreground)] opacity-60", children: typeof transition.guard === "string" ? transition.guard : JSON.stringify(transition.guard) })
58041
58045
  ] })
58042
58046
  ] }),
58043
58047
  transition.effects.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
58044
- /* @__PURE__ */ jsx("div", { className: "text-[10px] uppercase tracking-wider text-[var(--color-muted-foreground)] mb-1", children: "Effects" }),
58048
+ /* @__PURE__ */ jsx("div", { className: "text-xs uppercase tracking-wider text-[var(--color-muted-foreground)] mb-1", children: "Effects" }),
58045
58049
  /* @__PURE__ */ jsx("div", { className: "space-y-1.5", children: transition.effects.map((effect, i) => /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-1.5", children: [
58046
- /* @__PURE__ */ jsxs("span", { className: "text-[10px] text-[var(--color-muted-foreground)] w-3 text-right mt-0.5", children: [
58050
+ /* @__PURE__ */ jsxs("span", { className: "text-xs text-[var(--color-muted-foreground)] w-3 text-right mt-0.5", children: [
58047
58051
  i + 1,
58048
58052
  "."
58049
58053
  ] }),
58050
58054
  /* @__PURE__ */ jsx("svg", { width: 18, height: 18, viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx(AvlEffect, { x: 10, y: 10, effectType: effect.type, size: 8, showBackground: true }) }),
58051
- /* @__PURE__ */ jsx("span", { className: "text-[11px] text-[var(--color-foreground)]", children: effect.type })
58055
+ /* @__PURE__ */ jsx("span", { className: "text-xs text-[var(--color-foreground)]", children: effect.type })
58052
58056
  ] }, i)) })
58053
58057
  ] })
58054
58058
  ] })
@@ -58121,7 +58125,7 @@ var AvlTransitionEdge = ({
58121
58125
  style: { transform: `translate(-50%, -50%) translate(${labelX}px, ${labelY}px)` },
58122
58126
  children: [
58123
58127
  data?.hasGuard && /* @__PURE__ */ jsx("div", { className: "w-3 h-3 rotate-45 border border-amber-500 bg-amber-500/10 shrink-0", title: "Guard" }),
58124
- /* @__PURE__ */ jsx("div", { className: "px-2 py-0.5 text-[10px] font-medium rounded-full bg-[var(--color-card)] border border-[var(--color-border)] text-[var(--color-foreground)] truncate max-w-[160px]", children: data?.event ?? "" }),
58128
+ /* @__PURE__ */ jsx("div", { className: "px-2 py-0.5 text-xs font-medium rounded-full bg-[var(--color-card)] border border-[var(--color-border)] text-[var(--color-foreground)] truncate max-w-[160px]", children: data?.event ?? "" }),
58125
58129
  data?.hasEffects && /* @__PURE__ */ jsx("div", { className: "w-2.5 h-2.5 rounded-full bg-violet-500/80 shrink-0", title: "Effects" })
58126
58130
  ]
58127
58131
  }
@@ -58177,7 +58181,7 @@ var AvlEventWireEdge = ({
58177
58181
  children: /* @__PURE__ */ jsx(
58178
58182
  "div",
58179
58183
  {
58180
- className: "px-2 py-0.5 text-[10px] font-medium rounded-full border truncate max-w-[180px]",
58184
+ className: "px-2 py-0.5 text-xs font-medium rounded-full border truncate max-w-[180px]",
58181
58185
  style: {
58182
58186
  color: wireColor,
58183
58187
  borderColor: wireColor,
@@ -61925,7 +61929,7 @@ var OrbPreviewNodeInner = (props) => {
61925
61929
  /* @__PURE__ */ jsx(
61926
61930
  Box,
61927
61931
  {
61928
- className: "absolute top-1.5 right-1.5 rounded px-1 py-[1px] text-[8px] font-mono uppercase tracking-wider pointer-events-none",
61932
+ className: "absolute top-1.5 right-1.5 rounded px-1 py-[1px] text-xs font-mono uppercase tracking-wider pointer-events-none",
61929
61933
  style: {
61930
61934
  backgroundColor: "var(--color-muted)",
61931
61935
  color: "var(--color-muted-foreground)",
@@ -61945,7 +61949,7 @@ var OrbPreviewNodeInner = (props) => {
61945
61949
  children: /* @__PURE__ */ jsxs(
61946
61950
  Box,
61947
61951
  {
61948
- className: "rounded-md px-2 py-1 text-[11px] font-medium flex items-center gap-1",
61952
+ className: "rounded-md px-2 py-1 text-xs font-medium flex items-center gap-1",
61949
61953
  style: {
61950
61954
  backgroundColor: "var(--color-card)",
61951
61955
  color: "var(--color-foreground)",
@@ -61970,7 +61974,7 @@ var OrbPreviewNodeInner = (props) => {
61970
61974
  children: /* @__PURE__ */ jsx(
61971
61975
  Box,
61972
61976
  {
61973
- className: "rounded-md px-2 py-1 text-[11px] font-semibold",
61977
+ className: "rounded-md px-2 py-1 text-xs font-semibold",
61974
61978
  style: {
61975
61979
  backgroundColor: "var(--color-primary)",
61976
61980
  color: "var(--color-primary-foreground)",
@@ -62031,12 +62035,12 @@ var OrbPreviewNodeInner = (props) => {
62031
62035
  ),
62032
62036
  /* @__PURE__ */ jsxs(Box, { className: "flex flex-col min-w-0 flex-1", children: [
62033
62037
  /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-semibold truncate leading-tight", children: label }),
62034
- sublabel && /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground truncate text-[11px] leading-tight", children: sublabel })
62038
+ sublabel && /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground truncate text-xs leading-tight", children: sublabel })
62035
62039
  ] }),
62036
62040
  eventSources.length > 0 && /* @__PURE__ */ jsx(Box, { className: "flex gap-0.5 shrink-0", children: eventSources.slice(0, 3).map((src) => /* @__PURE__ */ jsx(
62037
62041
  Box,
62038
62042
  {
62039
- className: "rounded-full px-1 py-0 text-[8px] font-medium leading-tight",
62043
+ className: "rounded-full px-1 py-0 text-xs font-medium leading-tight",
62040
62044
  style: {
62041
62045
  backgroundColor: "#F9731615",
62042
62046
  color: "#F97316",
@@ -62261,8 +62265,8 @@ var BehaviorComposeNodeInner = (props) => {
62261
62265
  ),
62262
62266
  /* @__PURE__ */ jsxs(Box, { className: "flex items-center gap-2 px-3 py-1.5 border-b border-border/40 drag-handle cursor-grab", children: [
62263
62267
  /* @__PURE__ */ jsxs(Box, { className: "flex flex-col min-w-0 flex-1", children: [
62264
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-semibold truncate leading-tight text-[12px]", children: data.behaviorName }),
62265
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground truncate text-[10px] leading-tight", children: data.entityName })
62268
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-semibold truncate leading-tight text-xs", children: data.behaviorName }),
62269
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground truncate text-xs leading-tight", children: data.entityName })
62266
62270
  ] }),
62267
62271
  /* @__PURE__ */ jsx(Badge, { variant: "neutral", className: "shrink-0", children: /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "text-[9px] text-inherit", children: data.level }) })
62268
62272
  ] }),
@@ -62286,7 +62290,7 @@ var BehaviorComposeNodeInner = (props) => {
62286
62290
  connectableEvents.slice(0, 4).map((ev) => /* @__PURE__ */ jsx(
62287
62291
  Box,
62288
62292
  {
62289
- className: "rounded-full px-1.5 py-0 text-[8px] font-medium leading-tight",
62293
+ className: "rounded-full px-1.5 py-0 text-xs font-medium leading-tight",
62290
62294
  style: {
62291
62295
  backgroundColor: "#F9731615",
62292
62296
  color: "#F97316",
@@ -62300,7 +62304,7 @@ var BehaviorComposeNodeInner = (props) => {
62300
62304
  connectableEvents.length > 4 && /* @__PURE__ */ jsxs(
62301
62305
  Box,
62302
62306
  {
62303
- className: "rounded-full px-1.5 py-0 text-[8px] font-medium leading-tight",
62307
+ className: "rounded-full px-1.5 py-0 text-xs font-medium leading-tight",
62304
62308
  style: { color: "var(--color-muted-foreground)" },
62305
62309
  children: [
62306
62310
  "+",
@@ -62314,7 +62318,7 @@ var BehaviorComposeNodeInner = (props) => {
62314
62318
  data.stateCount,
62315
62319
  " states"
62316
62320
  ] }),
62317
- data.layer && /* @__PURE__ */ jsx(Badge, { variant: "neutral", className: "text-[8px]", children: /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "text-[8px] text-inherit", children: data.layer }) })
62321
+ data.layer && /* @__PURE__ */ jsx(Badge, { variant: "neutral", className: "text-xs", children: /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "text-xs text-inherit", children: data.layer }) })
62318
62322
  ] }),
62319
62323
  /* @__PURE__ */ jsx(
62320
62324
  Handle,
@@ -62664,7 +62668,7 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62664
62668
  /* @__PURE__ */ jsx(Box, { className: "flex items-center gap-2", children: selectedPattern ? /* @__PURE__ */ jsx(
62665
62669
  Box,
62666
62670
  {
62667
- className: "rounded px-2 py-0.5 text-[11px] font-mono font-semibold",
62671
+ className: "rounded px-2 py-0.5 text-xs font-mono font-semibold",
62668
62672
  style: { backgroundColor: "var(--color-primary)", color: "var(--color-primary-foreground)" },
62669
62673
  children: headerTitle
62670
62674
  }
@@ -62683,7 +62687,7 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62683
62687
  "button",
62684
62688
  {
62685
62689
  onClick: () => setActiveTab(tab),
62686
- className: `pb-2 text-[12px] font-medium border-b-2 cursor-pointer bg-transparent border-x-0 border-t-0 px-0 capitalize ${activeTab === tab ? "border-[var(--color-primary)] text-foreground" : "border-transparent text-muted-foreground hover:text-foreground"}`,
62690
+ className: `pb-2 text-xs font-medium border-b-2 cursor-pointer bg-transparent border-x-0 border-t-0 px-0 capitalize ${activeTab === tab ? "border-[var(--color-primary)] text-foreground" : "border-transparent text-muted-foreground hover:text-foreground"}`,
62687
62691
  children: tab
62688
62692
  },
62689
62693
  tab
@@ -62730,7 +62734,7 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62730
62734
  /* ── Inspector Tab ── */
62731
62735
  /* @__PURE__ */ jsxs(Fragment, { children: [
62732
62736
  selectedPattern && patternDef?.propsSchema && /* @__PURE__ */ jsxs(Box, { className: "px-4 py-3 border-b border-border/40", children: [
62733
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px] uppercase tracking-wider mb-2", children: t("Props") }),
62737
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs uppercase tracking-wider mb-2", children: t("Props") }),
62734
62738
  /* @__PURE__ */ jsx(Box, { className: "flex flex-col gap-1.5", children: Object.entries(patternDef.propsSchema).slice(0, 12).map(([propName, propSchema]) => {
62735
62739
  const ps = propSchema;
62736
62740
  const explicitValue = patternConfig ? patternConfig[propName] : void 0;
@@ -62747,16 +62751,16 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62747
62751
  isImplicit: String(isImplicit)
62748
62752
  }));
62749
62753
  return /* @__PURE__ */ jsxs(Box, { className: "flex items-center gap-2", children: [
62750
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[11px] w-20 shrink-0 font-mono", children: propName }),
62754
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs w-20 shrink-0 font-mono", children: propName }),
62751
62755
  editable ? /* @__PURE__ */ jsx(
62752
62756
  Input,
62753
62757
  {
62754
62758
  defaultValue: displayValue,
62755
62759
  placeholder: ps.types?.join(" | ") ?? "string",
62756
- className: "flex-1 text-[11px] h-6",
62760
+ className: "flex-1 text-xs h-6",
62757
62761
  onBlur: (e) => handlePropChange(propName, e.target.value)
62758
62762
  }
62759
- ) : /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-[11px] text-muted-foreground", children: [
62763
+ ) : /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-xs text-muted-foreground", children: [
62760
62764
  displayValue || "\u2014",
62761
62765
  ps.required ? " *" : ""
62762
62766
  ] })
@@ -62764,11 +62768,11 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62764
62768
  }) })
62765
62769
  ] }),
62766
62770
  userType === "architect" && (selectedPattern && isEntityPattern || !selectedPattern && !isExpanded) && entity && /* @__PURE__ */ jsxs(Box, { className: "px-4 py-3 border-b border-border/40", children: [
62767
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px] uppercase tracking-wider mb-2", children: t("Entity") }),
62771
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs uppercase tracking-wider mb-2", children: t("Entity") }),
62768
62772
  /* @__PURE__ */ jsxs(Box, { className: "flex items-center gap-2 mb-2", children: [
62769
62773
  /* @__PURE__ */ jsx("svg", { width: 14, height: 14, children: /* @__PURE__ */ jsx("circle", { cx: 7, cy: 7, r: 5, fill: "var(--color-primary)" }) }),
62770
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-semibold text-[12px]", children: entity.name }),
62771
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px]", children: entity.persistence })
62774
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-semibold text-xs", children: entity.name }),
62775
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs", children: entity.persistence })
62772
62776
  ] }),
62773
62777
  /* @__PURE__ */ jsx(Box, { className: "flex flex-col gap-1", children: entity.fields.map((f3) => /* @__PURE__ */ jsxs(HStack, { gap: "xs", className: "items-center", children: [
62774
62778
  /* @__PURE__ */ jsx("svg", { width: 12, height: 12, children: /* @__PURE__ */ jsx(AvlFieldType, { x: 6, y: 6, kind: FIELD_TYPE_MAP[f3.type] ?? "string", size: 4 }) }),
@@ -62777,7 +62781,7 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62777
62781
  Input,
62778
62782
  {
62779
62783
  defaultValue: f3.name,
62780
- className: "flex-1 text-[11px] font-mono h-6",
62784
+ className: "flex-1 text-xs font-mono h-6",
62781
62785
  onBlur: (e) => {
62782
62786
  if (e.target.value !== f3.name) {
62783
62787
  handleUpdateField(f3.name, { name: e.target.value });
@@ -62791,7 +62795,7 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62791
62795
  value: f3.type,
62792
62796
  options: FIELD_TYPE_OPTIONS,
62793
62797
  onChange: (e) => handleUpdateField(f3.name, { type: e.target.value }),
62794
- className: "w-20 text-[10px] h-6"
62798
+ className: "w-20 text-xs h-6"
62795
62799
  }
62796
62800
  ),
62797
62801
  /* @__PURE__ */ jsx(
@@ -62805,8 +62809,8 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62805
62809
  }
62806
62810
  )
62807
62811
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
62808
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-[11px] font-mono flex-1", children: f3.name }),
62809
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px]", children: f3.type }),
62812
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-xs font-mono flex-1", children: f3.name }),
62813
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs", children: f3.type }),
62810
62814
  f3.required && /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-primary text-[9px]", children: t("req") })
62811
62815
  ] })
62812
62816
  ] }, f3.name)) }),
@@ -62816,7 +62820,7 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62816
62820
  variant: "ghost",
62817
62821
  size: "sm",
62818
62822
  onClick: handleAddField,
62819
- className: "mt-2 text-[11px] w-full",
62823
+ className: "mt-2 text-xs w-full",
62820
62824
  children: [
62821
62825
  /* @__PURE__ */ jsx(Icon, { name: "plus", size: "xs", className: "mr-1" }),
62822
62826
  t("Add Field")
@@ -62825,14 +62829,14 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62825
62829
  )
62826
62830
  ] }),
62827
62831
  editable && !selectedPattern && !isExpanded && node.layer === "Services" && /* @__PURE__ */ jsxs(Box, { className: "px-4 py-3 border-b border-border/40", children: [
62828
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px] uppercase tracking-wider mb-2", children: t("Service Mode") }),
62832
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs uppercase tracking-wider mb-2", children: t("Service Mode") }),
62829
62833
  /* @__PURE__ */ jsxs(HStack, { gap: "sm", className: "items-center", children: [
62830
62834
  /* @__PURE__ */ jsxs(
62831
62835
  Button,
62832
62836
  {
62833
62837
  variant: hasRenderUi ? "primary" : "ghost",
62834
62838
  size: "sm",
62835
- className: "flex-1 text-[11px]",
62839
+ className: "flex-1 text-xs",
62836
62840
  onClick: () => {
62837
62841
  if (!hasRenderUi) eventBus.emit("UI:SERVICE_MODE_TOGGLE", { orbitalName: node.orbitalName, standalone: true });
62838
62842
  },
@@ -62847,7 +62851,7 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62847
62851
  {
62848
62852
  variant: hasRenderUi ? "ghost" : "primary",
62849
62853
  size: "sm",
62850
- className: "flex-1 text-[11px]",
62854
+ className: "flex-1 text-xs",
62851
62855
  onClick: () => {
62852
62856
  if (hasRenderUi) eventBus.emit("UI:SERVICE_MODE_TOGGLE", { orbitalName: node.orbitalName, standalone: false });
62853
62857
  },
@@ -62858,34 +62862,34 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62858
62862
  }
62859
62863
  )
62860
62864
  ] }),
62861
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px] mt-1", children: hasRenderUi ? t("Renders its own UI") : t("Headless, wired to other behaviors") })
62865
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs mt-1", children: hasRenderUi ? t("Renders its own UI") : t("Headless, wired to other behaviors") })
62862
62866
  ] }),
62863
62867
  !selectedPattern && !isExpanded && traits2.length > 0 && /* @__PURE__ */ jsxs(Box, { className: "px-4 py-3 border-b border-border/40", children: [
62864
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px] uppercase tracking-wider mb-2", children: "Traits" }),
62868
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs uppercase tracking-wider mb-2", children: "Traits" }),
62865
62869
  /* @__PURE__ */ jsx(Box, { className: "flex flex-col gap-1", children: traits2.map((t2) => /* @__PURE__ */ jsxs(Box, { className: "flex items-center gap-2", children: [
62866
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-[11px] font-semibold", children: t2.name }),
62867
- /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-[10px]", children: [
62870
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-xs font-semibold", children: t2.name }),
62871
+ /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-xs", children: [
62868
62872
  t2.stateCount,
62869
62873
  " states"
62870
62874
  ] })
62871
62875
  ] }, t2.name)) })
62872
62876
  ] }),
62873
62877
  isExpanded && fromState && toState && /* @__PURE__ */ jsxs(Box, { className: "px-4 py-3 border-b border-border/40", children: [
62874
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px] uppercase tracking-wider mb-2", children: "Transition" }),
62878
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs uppercase tracking-wider mb-2", children: "Transition" }),
62875
62879
  /* @__PURE__ */ jsxs("svg", { width: "100%", height: 44, viewBox: "0 0 280 44", children: [
62876
62880
  /* @__PURE__ */ jsx(AvlState, { x: 8, y: 8, name: fromState, role: getStateRole(fromState), width: 90, height: 26 }),
62877
62881
  /* @__PURE__ */ jsx("line", { x1: 104, y1: 21, x2: 158, y2: 21, stroke: "#1E293B", strokeWidth: 2, markerEnd: "url(#orb-arrow)" }),
62878
62882
  /* @__PURE__ */ jsx(AvlState, { x: 164, y: 8, name: toState, role: getStateRole(toState), width: 90, height: 26 }),
62879
62883
  /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("marker", { id: "orb-arrow", markerWidth: 8, markerHeight: 6, refX: 8, refY: 3, orient: "auto", children: /* @__PURE__ */ jsx("path", { d: "M0,0 L8,3 L0,6 Z", fill: "#1E293B" }) }) })
62880
62884
  ] }),
62881
- traitName && /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-[11px]", children: [
62885
+ traitName && /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-xs", children: [
62882
62886
  traitName,
62883
62887
  entityName ? ` on ${entityName}` : ""
62884
62888
  ] })
62885
62889
  ] }),
62886
62890
  isExpanded && transitionEvent && /* @__PURE__ */ jsx(Box, { className: "px-4 py-2 border-b border-border/40", children: /* @__PURE__ */ jsxs(Box, { className: "flex items-center gap-2", children: [
62887
62891
  /* @__PURE__ */ jsx("svg", { width: 16, height: 16, children: /* @__PURE__ */ jsx(AvlEvent, { x: 8, y: 8, size: 12 }) }),
62888
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-semibold text-[12px]", children: transitionEvent })
62892
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-semibold text-xs", children: transitionEvent })
62889
62893
  ] }) }),
62890
62894
  userType === "architect" && (transition?.guard ?? guard ?? editable) && isExpanded && /* @__PURE__ */ jsx(Box, { className: "px-4 py-2 border-b border-border/40", children: /* @__PURE__ */ jsxs(HStack, { gap: "xs", className: "items-center", children: [
62891
62895
  /* @__PURE__ */ jsx("svg", { width: 16, height: 16, children: /* @__PURE__ */ jsx(AvlGuard, { x: 8, y: 8, size: 12 }) }),
@@ -62894,13 +62898,13 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62894
62898
  {
62895
62899
  defaultValue: formatExpression(transition?.guard ?? guard),
62896
62900
  placeholder: t("Guard expression"),
62897
- className: "flex-1 text-[11px] font-mono h-6",
62901
+ className: "flex-1 text-xs font-mono h-6",
62898
62902
  onBlur: (e) => handleGuardChange(e.target.value)
62899
62903
  }
62900
- ) : /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-mono text-[11px] text-muted-foreground", children: formatExpression(transition?.guard ?? guard) })
62904
+ ) : /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-mono text-xs text-muted-foreground", children: formatExpression(transition?.guard ?? guard) })
62901
62905
  ] }) }),
62902
62906
  userType === "architect" && (effectTypes.length > 0 || editable) && isExpanded && /* @__PURE__ */ jsxs(Box, { className: "px-4 py-3 border-b border-border/40", children: [
62903
- /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-[10px] uppercase tracking-wider mb-2", children: [
62907
+ /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-xs uppercase tracking-wider mb-2", children: [
62904
62908
  t("Effects"),
62905
62909
  " (",
62906
62910
  effectTypes.length,
@@ -62911,12 +62915,12 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62911
62915
  const category = EFFECT_TYPE_TO_CATEGORY[type];
62912
62916
  const catColor = category ? EFFECT_CATEGORY_COLORS[category] : void 0;
62913
62917
  return /* @__PURE__ */ jsxs(HStack, { gap: "xs", className: "items-center", children: [
62914
- /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-[11px] w-4 text-right shrink-0", children: [
62918
+ /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-xs w-4 text-right shrink-0", children: [
62915
62919
  i + 1,
62916
62920
  "."
62917
62921
  ] }),
62918
62922
  isKnown && /* @__PURE__ */ jsx("svg", { width: 16, height: 16, children: /* @__PURE__ */ jsx(AvlEffect, { x: 8, y: 8, effectType: type, size: 6, showBackground: true }) }),
62919
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-[11px] flex-1", style: { color: catColor?.color }, children: effectSummary(type) }),
62923
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-xs flex-1", style: { color: catColor?.color }, children: effectSummary(type) }),
62920
62924
  editable && /* @__PURE__ */ jsx(
62921
62925
  Button,
62922
62926
  {
@@ -62932,9 +62936,9 @@ function OrbInspector({ node, schema, editable = false, userType = "builder", th
62932
62936
  editable && /* @__PURE__ */ jsx(AddEffectButton, { onAdd: handleAddEffect })
62933
62937
  ] }),
62934
62938
  userType === "architect" && patterns.length > 0 && !selectedPattern && /* @__PURE__ */ jsxs(Box, { className: "px-4 py-3", children: [
62935
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px] uppercase tracking-wider mb-2", children: "render-ui" }),
62936
- /* @__PURE__ */ jsx(Box, { className: "bg-muted/20 rounded-md p-3 font-mono text-[11px] leading-relaxed overflow-x-auto", children: patterns.map((entry, i) => /* @__PURE__ */ jsxs(Box, { children: [
62937
- /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-[10px]", children: [
62939
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs uppercase tracking-wider mb-2", children: "render-ui" }),
62940
+ /* @__PURE__ */ jsx(Box, { className: "bg-muted/20 rounded-md p-3 font-mono text-xs leading-relaxed overflow-x-auto", children: patterns.map((entry, i) => /* @__PURE__ */ jsxs(Box, { children: [
62941
+ /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-xs", children: [
62938
62942
  "slot: ",
62939
62943
  entry.slot
62940
62944
  ] }),
@@ -62955,7 +62959,7 @@ function AddEffectButton({ onAdd }) {
62955
62959
  variant: "ghost",
62956
62960
  size: "sm",
62957
62961
  onClick: () => setOpen((prev) => !prev),
62958
- className: "text-[11px] w-full",
62962
+ className: "text-xs w-full",
62959
62963
  children: [
62960
62964
  /* @__PURE__ */ jsx(Icon, { name: "plus", size: "xs", className: "mr-1" }),
62961
62965
  t("Add Effect")
@@ -62965,14 +62969,14 @@ function AddEffectButton({ onAdd }) {
62965
62969
  open && /* @__PURE__ */ jsx(Box, { className: "absolute z-20 top-full left-0 right-0 mt-1 bg-card border border-border rounded-md shadow-lg overflow-hidden", children: EFFECT_TYPE_OPTIONS.map((opt) => /* @__PURE__ */ jsxs(
62966
62970
  Box,
62967
62971
  {
62968
- className: "px-3 py-1.5 text-[11px] cursor-pointer hover:bg-muted/50 flex items-center gap-2",
62972
+ className: "px-3 py-1.5 text-xs cursor-pointer hover:bg-muted/50 flex items-center gap-2",
62969
62973
  onClick: () => {
62970
62974
  onAdd(opt.value);
62971
62975
  setOpen(false);
62972
62976
  },
62973
62977
  children: [
62974
62978
  KNOWN_EFFECTS.has(opt.value) && /* @__PURE__ */ jsx("svg", { width: 14, height: 14, children: /* @__PURE__ */ jsx(AvlEffect, { x: 7, y: 7, effectType: opt.value, size: 5, showBackground: true }) }),
62975
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-[11px]", children: opt.label })
62979
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-xs", children: opt.label })
62976
62980
  ]
62977
62981
  },
62978
62982
  opt.value
@@ -62985,14 +62989,14 @@ function OrbPatternTree({ config, depth }) {
62985
62989
  if (typeof type !== "string") return null;
62986
62990
  const propEntries = Object.entries(props).filter(([k]) => k !== "type");
62987
62991
  return /* @__PURE__ */ jsxs(Box, { style: { paddingLeft: depth * 12 }, children: [
62988
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-primary font-semibold text-[11px]", children: type }),
62992
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-primary font-semibold text-xs", children: type }),
62989
62993
  propEntries.slice(0, 5).map(([key, val]) => {
62990
62994
  const display = typeof val === "string" ? val.startsWith("@") ? /* @__PURE__ */ jsx("span", { className: "text-purple-500", children: val }) : `"${val}"` : Array.isArray(val) && typeof val[0] === "string" && val[0].includes("/") ? /* @__PURE__ */ jsxs("span", { className: "text-amber-600", children: [
62991
62995
  "(",
62992
62996
  val.join(" "),
62993
62997
  ")"
62994
62998
  ] }) : String(val);
62995
- return /* @__PURE__ */ jsxs(Box, { className: "flex gap-1 text-[10px]", children: [
62999
+ return /* @__PURE__ */ jsxs(Box, { className: "flex gap-1 text-xs", children: [
62996
63000
  /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
62997
63001
  key,
62998
63002
  ":"
@@ -63019,7 +63023,7 @@ var PHASE_2_TOKEN_FALLBACK = {
63019
63023
  function StylesTab({ patternType, patternDef, patternConfig, editable, onPropChange, themeManifest, isDesignSystem }) {
63020
63024
  const { t } = useTranslate();
63021
63025
  if (!patternType) {
63022
- return /* @__PURE__ */ jsx(Box, { className: "p-4", children: /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[11px]", children: t("Select a pattern to view its style tokens.") }) });
63026
+ return /* @__PURE__ */ jsx(Box, { className: "p-4", children: /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs", children: t("Select a pattern to view its style tokens.") }) });
63023
63027
  }
63024
63028
  const tier = patternDef?.category ?? "Pattern";
63025
63029
  const tokens = PHASE_2_TOKEN_FALLBACK[patternType] ?? [];
@@ -63029,7 +63033,7 @@ function StylesTab({ patternType, patternDef, patternConfig, editable, onPropCha
63029
63033
  const currentSize = patternConfig && typeof patternConfig.size === "string" ? patternConfig.size : void 0;
63030
63034
  return /* @__PURE__ */ jsxs(Box, { className: "px-4 py-3 flex flex-col gap-4", children: [
63031
63035
  /* @__PURE__ */ jsxs(Box, { className: "flex items-center gap-2", children: [
63032
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-semibold text-[12px]", children: patternType }),
63036
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-semibold text-xs", children: patternType }),
63033
63037
  /* @__PURE__ */ jsx(
63034
63038
  Box,
63035
63039
  {
@@ -63040,11 +63044,11 @@ function StylesTab({ patternType, patternDef, patternConfig, editable, onPropCha
63040
63044
  )
63041
63045
  ] }),
63042
63046
  /* @__PURE__ */ jsxs(Box, { children: [
63043
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px] uppercase tracking-wider mb-2", children: t("Tokens") }),
63044
- tokens.length === 0 ? /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[11px] italic", children: t("No token contract declared for this pattern.") }) : /* @__PURE__ */ jsx(Box, { className: "flex flex-col gap-1", children: tokens.map((token) => /* @__PURE__ */ jsx(Box, { className: "flex items-center gap-2", children: /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-mono text-[11px]", children: token }) }, token)) })
63047
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs uppercase tracking-wider mb-2", children: t("Tokens") }),
63048
+ tokens.length === 0 ? /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs italic", children: t("No token contract declared for this pattern.") }) : /* @__PURE__ */ jsx(Box, { className: "flex flex-col gap-1", children: tokens.map((token) => /* @__PURE__ */ jsx(Box, { className: "flex items-center gap-2", children: /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-mono text-xs", children: token }) }, token)) })
63045
63049
  ] }),
63046
63050
  variantEnum && variantEnum.length > 0 && /* @__PURE__ */ jsxs(Box, { children: [
63047
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px] uppercase tracking-wider mb-2", children: t("Variant") }),
63051
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs uppercase tracking-wider mb-2", children: t("Variant") }),
63048
63052
  /* @__PURE__ */ jsx(Box, { className: "flex flex-wrap gap-1", children: variantEnum.map((variant) => {
63049
63053
  const isActive = variant === currentVariant || !currentVariant && variant === "default";
63050
63054
  return /* @__PURE__ */ jsx(
@@ -63052,7 +63056,7 @@ function StylesTab({ patternType, patternDef, patternConfig, editable, onPropCha
63052
63056
  {
63053
63057
  as: editable ? "button" : "div",
63054
63058
  onClick: editable ? () => onPropChange("variant", variant) : void 0,
63055
- className: `rounded px-2 py-0.5 text-[11px] font-mono ${editable ? "cursor-pointer hover:opacity-80 transition-opacity" : ""}`,
63059
+ className: `rounded px-2 py-0.5 text-xs font-mono ${editable ? "cursor-pointer hover:opacity-80 transition-opacity" : ""}`,
63056
63060
  style: {
63057
63061
  backgroundColor: isActive ? "var(--color-primary)" : "var(--color-muted)",
63058
63062
  color: isActive ? "var(--color-primary-foreground)" : "var(--color-muted-foreground)"
@@ -63064,7 +63068,7 @@ function StylesTab({ patternType, patternDef, patternConfig, editable, onPropCha
63064
63068
  }) })
63065
63069
  ] }),
63066
63070
  sizeEnum && sizeEnum.length > 0 && /* @__PURE__ */ jsxs(Box, { children: [
63067
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-[10px] uppercase tracking-wider mb-2", children: t("Size") }),
63071
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground text-xs uppercase tracking-wider mb-2", children: t("Size") }),
63068
63072
  /* @__PURE__ */ jsx(Box, { className: "flex flex-wrap gap-1", children: sizeEnum.map((size) => {
63069
63073
  const isActive = size === currentSize || !currentSize && size === "md";
63070
63074
  return /* @__PURE__ */ jsx(
@@ -63072,7 +63076,7 @@ function StylesTab({ patternType, patternDef, patternConfig, editable, onPropCha
63072
63076
  {
63073
63077
  as: editable ? "button" : "div",
63074
63078
  onClick: editable ? () => onPropChange("size", size) : void 0,
63075
- className: `rounded px-2 py-0.5 text-[11px] font-mono ${editable ? "cursor-pointer hover:opacity-80 transition-opacity" : ""}`,
63079
+ className: `rounded px-2 py-0.5 text-xs font-mono ${editable ? "cursor-pointer hover:opacity-80 transition-opacity" : ""}`,
63076
63080
  style: {
63077
63081
  backgroundColor: isActive ? "var(--color-primary)" : "var(--color-muted)",
63078
63082
  color: isActive ? "var(--color-primary-foreground)" : "var(--color-muted-foreground)"
@@ -63095,12 +63099,12 @@ var TOKEN_GROUPS = [
63095
63099
  function TokenEditorSection({ themeManifest, onPropChange }) {
63096
63100
  const tokens = themeManifest.tokens ?? {};
63097
63101
  return /* @__PURE__ */ jsxs(Box, { className: "flex flex-col gap-3 pt-2 border-t border-border/40", children: [
63098
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-[10px] uppercase tracking-wider text-muted-foreground", children: "Project theme tokens" }),
63102
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-xs uppercase tracking-wider text-muted-foreground", children: "Project theme tokens" }),
63099
63103
  TOKEN_GROUPS.map(({ group, label }) => {
63100
63104
  const entries = Object.entries(tokens[group] ?? {});
63101
63105
  if (entries.length === 0) return null;
63102
63106
  return /* @__PURE__ */ jsxs(Box, { className: "flex flex-col gap-1.5", children: [
63103
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-[10px] font-mono text-muted-foreground", children: label }),
63107
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-xs font-mono text-muted-foreground", children: label }),
63104
63108
  entries.map(([key, value]) => /* @__PURE__ */ jsx(
63105
63109
  TokenRow,
63106
63110
  {
@@ -63125,13 +63129,13 @@ function TokenRow({ group, tokenKey, value, isColor, onPropChange }) {
63125
63129
  style: { backgroundColor: value }
63126
63130
  }
63127
63131
  ),
63128
- /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-mono text-[11px] text-muted-foreground w-24 shrink-0 truncate", children: tokenKey }),
63132
+ /* @__PURE__ */ jsx(Typography, { variant: "small", className: "font-mono text-xs text-muted-foreground w-24 shrink-0 truncate", children: tokenKey }),
63129
63133
  /* @__PURE__ */ jsx(
63130
63134
  Input,
63131
63135
  {
63132
63136
  value,
63133
63137
  onChange: (e) => onPropChange(`__token__.${group}.${tokenKey}`, e.target.value),
63134
- className: "flex-1 text-[11px] font-mono"
63138
+ className: "flex-1 text-xs font-mono"
63135
63139
  }
63136
63140
  )
63137
63141
  ] });
@@ -63736,7 +63740,7 @@ function FlowCanvasInner({
63736
63740
  reactFlow.fitView({ duration: 300, padding: 0.25 });
63737
63741
  });
63738
63742
  },
63739
- className: `px-2 py-1 text-[11px] font-medium rounded cursor-pointer border-none transition-colors ${active ? "bg-primary text-primary-foreground" : "bg-transparent text-muted-foreground hover:text-foreground hover:bg-muted/50"}`,
63743
+ className: `px-2 py-1 text-xs font-medium rounded cursor-pointer border-none transition-colors ${active ? "bg-primary text-primary-foreground" : "bg-transparent text-muted-foreground hover:text-foreground hover:bg-muted/50"}`,
63740
63744
  title: `${p2.label} (${p2.width}px)`,
63741
63745
  "aria-label": `Switch to ${p2.label} view`,
63742
63746
  children: p2.label
@@ -63814,7 +63818,7 @@ var ZoomBreadcrumb = ({
63814
63818
  if (eventName && band === "detail") {
63815
63819
  segments.push({ icon: "\u26A1", label: eventName });
63816
63820
  }
63817
- return /* @__PURE__ */ jsx("div", { className: "absolute top-2 left-2 z-10 flex items-center gap-1 px-2 py-1 rounded-md bg-card/90 border border-border text-[11px] text-muted-foreground backdrop-blur-sm", children: segments.map((seg, i) => /* @__PURE__ */ jsxs(React98__default.Fragment, { children: [
63821
+ return /* @__PURE__ */ jsx("div", { className: "absolute top-2 left-2 z-10 flex items-center gap-1 px-2 py-1 rounded-md bg-card/90 border border-border text-xs text-muted-foreground backdrop-blur-sm", children: segments.map((seg, i) => /* @__PURE__ */ jsxs(React98__default.Fragment, { children: [
63818
63822
  i > 0 && /* @__PURE__ */ jsx("span", { className: "opacity-40", children: ">" }),
63819
63823
  /* @__PURE__ */ jsx("span", { className: "opacity-60", children: seg.icon }),
63820
63824
  /* @__PURE__ */ jsx("span", { children: seg.label })
@@ -63866,11 +63870,11 @@ var ZoomLegend = ({ band }) => {
63866
63870
  "button",
63867
63871
  {
63868
63872
  onClick: () => setCollapsed(!collapsed),
63869
- className: "px-2 py-1 text-[10px] rounded-md bg-card/90 border border-border text-muted-foreground backdrop-blur-sm cursor-pointer hover:bg-card",
63873
+ className: "px-2 py-1 text-xs rounded-md bg-card/90 border border-border text-muted-foreground backdrop-blur-sm cursor-pointer hover:bg-card",
63870
63874
  children: collapsed ? "Legend" : "Hide"
63871
63875
  }
63872
63876
  ),
63873
- !collapsed && /* @__PURE__ */ jsx("div", { className: "mt-1 px-2 py-1.5 rounded-md bg-card/95 border border-border backdrop-blur-sm space-y-0.5", children: items.map((item, i) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-[10px] text-muted-foreground", children: [
63877
+ !collapsed && /* @__PURE__ */ jsx("div", { className: "mt-1 px-2 py-1.5 rounded-md bg-card/95 border border-border backdrop-blur-sm space-y-0.5", children: items.map((item, i) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-xs text-muted-foreground", children: [
63874
63878
  /* @__PURE__ */ jsx("span", { className: "opacity-70 w-6 text-center", children: item.icon }),
63875
63879
  /* @__PURE__ */ jsx("span", { children: item.label })
63876
63880
  ] }, i)) })