@almadar/ui 5.1.6 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avl/index.cjs +137 -133
- package/dist/avl/index.js +137 -133
- package/dist/components/index.cjs +64 -60
- package/dist/components/index.js +64 -60
- package/dist/docs/index.cjs +15 -14
- package/dist/docs/index.js +15 -14
- package/dist/marketing/index.cjs +17 -13
- package/dist/marketing/index.js +17 -13
- package/dist/providers/index.cjs +64 -60
- package/dist/providers/index.js +64 -60
- package/dist/runtime/index.cjs +64 -60
- package/dist/runtime/index.js +64 -60
- package/package.json +1 -1
- package/tailwind-preset.cjs +0 -11
- package/themes/_base.css +124 -0
- package/themes/almadar-website.css +0 -170
- package/themes/almadar.css +0 -172
- package/themes/arctic.css +0 -172
- package/themes/copper.css +0 -172
- package/themes/ember.css +0 -172
- package/themes/forest.css +0 -172
- package/themes/index.css +6 -0
- package/themes/lavender.css +0 -172
- package/themes/midnight.css +0 -172
- package/themes/ocean.css +0 -172
- package/themes/prism.css +0 -178
- package/themes/rose.css +0 -172
- package/themes/sand.css +0 -172
- package/themes/slate.css +0 -172
- package/themes/sunset.css +0 -172
package/dist/providers/index.js
CHANGED
|
@@ -1449,7 +1449,7 @@ var init_Icon = __esm({
|
|
|
1449
1449
|
sizeClasses = {
|
|
1450
1450
|
xs: "w-3 h-3",
|
|
1451
1451
|
sm: "w-4 h-4",
|
|
1452
|
-
md: "
|
|
1452
|
+
md: "h-icon-default w-icon-default",
|
|
1453
1453
|
lg: "w-6 h-6",
|
|
1454
1454
|
xl: "w-8 h-8"
|
|
1455
1455
|
};
|
|
@@ -1594,14 +1594,14 @@ var init_Button = __esm({
|
|
|
1594
1594
|
};
|
|
1595
1595
|
variantStyles.destructive = variantStyles.danger;
|
|
1596
1596
|
sizeStyles = {
|
|
1597
|
-
sm: "px-3
|
|
1598
|
-
md: "px-4
|
|
1599
|
-
lg: "px-6
|
|
1597
|
+
sm: "h-button-sm px-3 text-sm",
|
|
1598
|
+
md: "h-button-md px-4 text-sm",
|
|
1599
|
+
lg: "h-button-lg px-6 text-base"
|
|
1600
1600
|
};
|
|
1601
1601
|
iconSizeStyles = {
|
|
1602
|
-
sm: "h-
|
|
1602
|
+
sm: "h-icon-default w-icon-default",
|
|
1603
1603
|
md: "h-icon-default w-icon-default",
|
|
1604
|
-
lg: "h-
|
|
1604
|
+
lg: "h-icon-default w-icon-default"
|
|
1605
1605
|
};
|
|
1606
1606
|
Button = React86__default.forwardRef(
|
|
1607
1607
|
({
|
|
@@ -1639,7 +1639,7 @@ var init_Button = __esm({
|
|
|
1639
1639
|
disabled: disabled || isLoading,
|
|
1640
1640
|
className: cn(
|
|
1641
1641
|
"inline-flex items-center justify-center gap-2",
|
|
1642
|
-
"font-
|
|
1642
|
+
"font-medium",
|
|
1643
1643
|
"rounded-sm",
|
|
1644
1644
|
"cursor-pointer",
|
|
1645
1645
|
"transition-all duration-[var(--transition-normal)]",
|
|
@@ -2316,7 +2316,11 @@ var init_Badge = __esm({
|
|
|
2316
2316
|
};
|
|
2317
2317
|
Badge = React86__default.forwardRef(
|
|
2318
2318
|
({ className, variant = "default", size = "sm", amount, label, icon, children, onRemove, removeLabel, ...props }, ref) => {
|
|
2319
|
-
const iconSizes3 = {
|
|
2319
|
+
const iconSizes3 = {
|
|
2320
|
+
sm: "h-icon-default w-icon-default",
|
|
2321
|
+
md: "h-icon-default w-icon-default",
|
|
2322
|
+
lg: "h-icon-default w-icon-default"
|
|
2323
|
+
};
|
|
2320
2324
|
const resolvedIcon = typeof icon === "string" ? /* @__PURE__ */ jsx(Icon, { name: icon, className: iconSizes3[size] }) : icon;
|
|
2321
2325
|
return /* @__PURE__ */ jsxs(
|
|
2322
2326
|
"span",
|
|
@@ -3350,10 +3354,11 @@ var init_Input = __esm({
|
|
|
3350
3354
|
const type = inputType || htmlType || "text";
|
|
3351
3355
|
const resolvedLeftIcon = leftIcon || IconComponent && /* @__PURE__ */ jsx(IconComponent, { className: "h-icon-default w-icon-default" });
|
|
3352
3356
|
const showClearButton = clearable && value && String(value).length > 0;
|
|
3357
|
+
const isMultiline = type === "textarea";
|
|
3353
3358
|
const baseClassName = cn(
|
|
3354
3359
|
"block w-full rounded-sm transition-all duration-[var(--transition-fast)]",
|
|
3355
3360
|
"border-[length:var(--border-width-thin)] border-border",
|
|
3356
|
-
"px-3 py-2 text-sm",
|
|
3361
|
+
isMultiline ? "px-3 py-2 text-sm" : "h-input-md px-3 text-sm",
|
|
3357
3362
|
"bg-card hover:bg-muted focus:bg-card",
|
|
3358
3363
|
"text-foreground placeholder:text-muted-foreground",
|
|
3359
3364
|
"focus:outline-none focus:ring-1 focus:ring-ring focus:border-ring",
|
|
@@ -3405,7 +3410,7 @@ var init_Input = __esm({
|
|
|
3405
3410
|
checked: props.checked,
|
|
3406
3411
|
onChange,
|
|
3407
3412
|
className: cn(
|
|
3408
|
-
"h-
|
|
3413
|
+
"h-icon-default w-icon-default rounded-sm",
|
|
3409
3414
|
"border-border",
|
|
3410
3415
|
"text-primary focus:ring-ring",
|
|
3411
3416
|
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
@@ -3487,7 +3492,7 @@ var init_Textarea = __esm({
|
|
|
3487
3492
|
"placeholder:text-[var(--color-placeholder)]",
|
|
3488
3493
|
"focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-ring",
|
|
3489
3494
|
"disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed",
|
|
3490
|
-
"resize-y min-h-
|
|
3495
|
+
"resize-y min-h-20",
|
|
3491
3496
|
error ? "border-error focus:border-error" : "border-border focus:border-primary",
|
|
3492
3497
|
className
|
|
3493
3498
|
),
|
|
@@ -3590,21 +3595,21 @@ var init_Card = __esm({
|
|
|
3590
3595
|
"border-[length:var(--border-width)] border-border",
|
|
3591
3596
|
"shadow-elevation-card",
|
|
3592
3597
|
"transition-all duration-[var(--transition-normal)]",
|
|
3593
|
-
"hover:shadow-elevation-dialog hover
|
|
3598
|
+
"hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
|
|
3594
3599
|
].join(" "),
|
|
3595
3600
|
bordered: [
|
|
3596
3601
|
"bg-card",
|
|
3597
3602
|
"border-[length:var(--border-width)] border-border",
|
|
3598
3603
|
"shadow-elevation-card",
|
|
3599
3604
|
"transition-all duration-[var(--transition-normal)]",
|
|
3600
|
-
"hover:shadow-elevation-dialog hover
|
|
3605
|
+
"hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
|
|
3601
3606
|
].join(" "),
|
|
3602
3607
|
elevated: [
|
|
3603
3608
|
"bg-card",
|
|
3604
3609
|
"border-[length:var(--border-width)] border-border",
|
|
3605
3610
|
"shadow",
|
|
3606
3611
|
"transition-all duration-[var(--transition-normal)]",
|
|
3607
|
-
"hover:shadow-elevation-dialog hover
|
|
3612
|
+
"hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
|
|
3608
3613
|
].join(" "),
|
|
3609
3614
|
// Interactive variant with theme-specific hover effects
|
|
3610
3615
|
interactive: [
|
|
@@ -3654,7 +3659,7 @@ var init_Card = __esm({
|
|
|
3654
3659
|
...props,
|
|
3655
3660
|
children: [
|
|
3656
3661
|
(title || subtitle) && /* @__PURE__ */ jsxs("div", { className: "mb-4", children: [
|
|
3657
|
-
title && /* @__PURE__ */ jsx("h3", { className: "text-lg text-card-foreground font-
|
|
3662
|
+
title && /* @__PURE__ */ jsx("h3", { className: "text-lg text-card-foreground font-bold", children: title }),
|
|
3658
3663
|
subtitle && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mt-1", children: subtitle })
|
|
3659
3664
|
] }),
|
|
3660
3665
|
children
|
|
@@ -3672,7 +3677,7 @@ var init_Card = __esm({
|
|
|
3672
3677
|
ref,
|
|
3673
3678
|
className: cn(
|
|
3674
3679
|
"text-lg text-card-foreground",
|
|
3675
|
-
"font-
|
|
3680
|
+
"font-bold",
|
|
3676
3681
|
className
|
|
3677
3682
|
),
|
|
3678
3683
|
...props
|
|
@@ -3810,7 +3815,7 @@ var init_Spinner = __esm({
|
|
|
3810
3815
|
init_Icon();
|
|
3811
3816
|
sizeStyles5 = {
|
|
3812
3817
|
xs: "h-3 w-3",
|
|
3813
|
-
sm: "h-
|
|
3818
|
+
sm: "h-icon-default w-icon-default",
|
|
3814
3819
|
md: "h-6 w-6",
|
|
3815
3820
|
lg: "h-8 w-8"
|
|
3816
3821
|
};
|
|
@@ -4916,10 +4921,9 @@ var init_LawReferenceTooltip = __esm({
|
|
|
4916
4921
|
{
|
|
4917
4922
|
padding: "sm",
|
|
4918
4923
|
rounded: "lg",
|
|
4919
|
-
shadow: "lg",
|
|
4920
4924
|
position: "absolute",
|
|
4921
4925
|
className: cn(
|
|
4922
|
-
"z-50 w-64 bg-foreground text-background",
|
|
4926
|
+
"z-50 w-64 bg-foreground text-background shadow-elevation-popover",
|
|
4923
4927
|
positionStyles2[position]
|
|
4924
4928
|
),
|
|
4925
4929
|
role: "tooltip",
|
|
@@ -4930,7 +4934,7 @@ var init_LawReferenceTooltip = __esm({
|
|
|
4930
4934
|
{
|
|
4931
4935
|
variant: "label",
|
|
4932
4936
|
weight: "semibold",
|
|
4933
|
-
className: "text-
|
|
4937
|
+
className: "text-warning",
|
|
4934
4938
|
children: [
|
|
4935
4939
|
reference.law,
|
|
4936
4940
|
" ",
|
|
@@ -4962,7 +4966,7 @@ var init_LawReferenceTooltip = __esm({
|
|
|
4962
4966
|
{
|
|
4963
4967
|
as: "a",
|
|
4964
4968
|
variant: "caption",
|
|
4965
|
-
className: "text-
|
|
4969
|
+
className: "text-info hover:text-info/80 underline cursor-pointer",
|
|
4966
4970
|
href: reference.link,
|
|
4967
4971
|
target: "_blank",
|
|
4968
4972
|
rel: "noopener noreferrer",
|
|
@@ -5368,12 +5372,12 @@ var init_RangeSlider = __esm({
|
|
|
5368
5372
|
"shadow-sm",
|
|
5369
5373
|
"pointer-events-none",
|
|
5370
5374
|
"transition-transform duration-100",
|
|
5371
|
-
isDragging && "scale-
|
|
5375
|
+
isDragging && "scale-[var(--hover-scale)]",
|
|
5372
5376
|
thumbSizes[size]
|
|
5373
5377
|
),
|
|
5374
5378
|
style: {
|
|
5375
5379
|
top: "50%",
|
|
5376
|
-
transform: `translateY(-50%) translateX(-50%)${isDragging ? " scale(
|
|
5380
|
+
transform: `translateY(-50%) translateX(-50%)${isDragging ? " scale(var(--hover-scale))" : ""}`,
|
|
5377
5381
|
left: `${percentage}%`
|
|
5378
5382
|
}
|
|
5379
5383
|
}
|
|
@@ -7161,7 +7165,7 @@ function ItemSlot({
|
|
|
7161
7165
|
className: cn(
|
|
7162
7166
|
"absolute -bottom-1 -right-1 flex items-center justify-center",
|
|
7163
7167
|
"min-w-[18px] h-[18px] rounded-full px-1",
|
|
7164
|
-
"bg-[var(--color-surface,#374151)] border border-gray-500 text-
|
|
7168
|
+
"bg-[var(--color-surface,#374151)] border border-gray-500 text-xs font-bold text-[var(--color-foreground)]"
|
|
7165
7169
|
),
|
|
7166
7170
|
children: quantity
|
|
7167
7171
|
}
|
|
@@ -7299,7 +7303,7 @@ var init_ComboCounter = __esm({
|
|
|
7299
7303
|
"components/atoms/game/ComboCounter.tsx"() {
|
|
7300
7304
|
init_cn();
|
|
7301
7305
|
sizeMap8 = {
|
|
7302
|
-
sm: { combo: "text-lg", label: "text-
|
|
7306
|
+
sm: { combo: "text-lg", label: "text-xs", multiplier: "text-xs" },
|
|
7303
7307
|
md: { combo: "text-2xl", label: "text-xs", multiplier: "text-sm" },
|
|
7304
7308
|
lg: { combo: "text-4xl", label: "text-sm", multiplier: "text-base" }
|
|
7305
7309
|
};
|
|
@@ -7367,7 +7371,7 @@ var init_XPBar = __esm({
|
|
|
7367
7371
|
"components/atoms/game/XPBar.tsx"() {
|
|
7368
7372
|
init_cn();
|
|
7369
7373
|
sizeMap9 = {
|
|
7370
|
-
sm: { bar: "h-2", text: "text-
|
|
7374
|
+
sm: { bar: "h-2", text: "text-xs", badge: "text-xs px-1.5 py-0.5" },
|
|
7371
7375
|
md: { bar: "h-3", text: "text-xs", badge: "text-xs px-2 py-0.5" },
|
|
7372
7376
|
lg: { bar: "h-4", text: "text-sm", badge: "text-sm px-2.5 py-1" }
|
|
7373
7377
|
};
|
|
@@ -7494,7 +7498,7 @@ function StatusEffect({
|
|
|
7494
7498
|
children: stacks
|
|
7495
7499
|
}
|
|
7496
7500
|
),
|
|
7497
|
-
label && /* @__PURE__ */ jsx("span", { className: "text-
|
|
7501
|
+
label && /* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground mt-0.5 text-center whitespace-nowrap", children: label })
|
|
7498
7502
|
] });
|
|
7499
7503
|
}
|
|
7500
7504
|
var sizeMap11, variantStyles7;
|
|
@@ -7502,8 +7506,8 @@ var init_StatusEffect = __esm({
|
|
|
7502
7506
|
"components/atoms/game/StatusEffect.tsx"() {
|
|
7503
7507
|
init_cn();
|
|
7504
7508
|
sizeMap11 = {
|
|
7505
|
-
sm: { container: "w-8 h-8", icon: "text-sm", badge: "text-
|
|
7506
|
-
md: { container: "w-10 h-10", icon: "text-base", badge: "text-xs -top-1 -right-1 w-5 h-5", timer: "text-
|
|
7509
|
+
sm: { container: "w-8 h-8", icon: "text-sm", badge: "text-xs -top-1 -right-1 w-4 h-4", timer: "text-[9px]" },
|
|
7510
|
+
md: { container: "w-10 h-10", icon: "text-base", badge: "text-xs -top-1 -right-1 w-5 h-5", timer: "text-xs" },
|
|
7507
7511
|
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" }
|
|
7508
7512
|
};
|
|
7509
7513
|
variantStyles7 = {
|
|
@@ -7713,7 +7717,7 @@ var init_ActionButton = __esm({
|
|
|
7713
7717
|
init_Icon();
|
|
7714
7718
|
sizeMap13 = {
|
|
7715
7719
|
sm: { button: "px-3 py-1.5 text-xs", hotkey: "text-[9px] px-1", icon: "text-xs" },
|
|
7716
|
-
md: { button: "px-4 py-2 text-sm", hotkey: "text-
|
|
7720
|
+
md: { button: "px-4 py-2 text-sm", hotkey: "text-xs px-1.5", icon: "text-sm" },
|
|
7717
7721
|
lg: { button: "px-5 py-2.5 text-base", hotkey: "text-xs px-2", icon: "text-base" }
|
|
7718
7722
|
};
|
|
7719
7723
|
variantStyles8 = {
|
|
@@ -22503,7 +22507,7 @@ var init_DashboardLayout = __esm({
|
|
|
22503
22507
|
{
|
|
22504
22508
|
as: "span",
|
|
22505
22509
|
className: cn(
|
|
22506
|
-
"absolute -top-0.5 -right-0.5 min-w-[18px] h-[18px] px-1 rounded-full text-
|
|
22510
|
+
"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",
|
|
22507
22511
|
action.variant === "danger" ? "bg-error" : action.variant === "primary" ? "bg-primary" : "bg-foreground"
|
|
22508
22512
|
),
|
|
22509
22513
|
children: action.badge
|
|
@@ -22526,7 +22530,7 @@ var init_DashboardLayout = __esm({
|
|
|
22526
22530
|
Box,
|
|
22527
22531
|
{
|
|
22528
22532
|
as: "span",
|
|
22529
|
-
className: "absolute -top-0.5 -right-0.5 min-w-[18px] h-[18px] px-1 bg-error rounded-full text-
|
|
22533
|
+
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",
|
|
22530
22534
|
children: unreadCount > 99 ? "99+" : unreadCount
|
|
22531
22535
|
}
|
|
22532
22536
|
)
|
|
@@ -22728,14 +22732,14 @@ var init_DashboardLayout = __esm({
|
|
|
22728
22732
|
{
|
|
22729
22733
|
variant: "caption",
|
|
22730
22734
|
className: cn(
|
|
22731
|
-
"text-
|
|
22735
|
+
"text-xs leading-tight truncate max-w-full",
|
|
22732
22736
|
isActive ? "text-primary font-medium" : "text-muted-foreground"
|
|
22733
22737
|
),
|
|
22734
22738
|
as: "span",
|
|
22735
22739
|
children: item.label
|
|
22736
22740
|
}
|
|
22737
22741
|
),
|
|
22738
|
-
item.badge && /* @__PURE__ */ jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", className: "text-
|
|
22742
|
+
item.badge && /* @__PURE__ */ jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", className: "text-xs px-1 py-0 min-w-0", children: item.badge })
|
|
22739
22743
|
]
|
|
22740
22744
|
}
|
|
22741
22745
|
);
|
|
@@ -24317,7 +24321,7 @@ var init_FilterGroup = __esm({
|
|
|
24317
24321
|
return /* @__PURE__ */ jsxs(HStack, { gap: "md", align: "center", className: cn("flex-wrap", className), children: [
|
|
24318
24322
|
showIcon && /* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24319
24323
|
filters.map((filter) => /* @__PURE__ */ jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
24320
|
-
/* @__PURE__ */ jsxs("span", { className: "text-sm font-
|
|
24324
|
+
/* @__PURE__ */ jsxs("span", { className: "text-sm font-medium text-muted-foreground", children: [
|
|
24321
24325
|
filter.label,
|
|
24322
24326
|
":"
|
|
24323
24327
|
] }),
|
|
@@ -24333,7 +24337,7 @@ var init_FilterGroup = __esm({
|
|
|
24333
24337
|
type: "button",
|
|
24334
24338
|
onClick: () => handleFilterSelect(filter.field, null),
|
|
24335
24339
|
className: cn(
|
|
24336
|
-
"px-3 py-1.5 text-sm font-
|
|
24340
|
+
"px-3 py-1.5 text-sm font-medium transition-all duration-[var(--transition-fast)]",
|
|
24337
24341
|
!selectedValues[filter.field] ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
|
|
24338
24342
|
),
|
|
24339
24343
|
children: "All"
|
|
@@ -24345,7 +24349,7 @@ var init_FilterGroup = __esm({
|
|
|
24345
24349
|
type: "button",
|
|
24346
24350
|
onClick: () => handleFilterSelect(filter.field, option),
|
|
24347
24351
|
className: cn(
|
|
24348
|
-
"px-3 py-1.5 text-sm font-
|
|
24352
|
+
"px-3 py-1.5 text-sm font-medium transition-all duration-[var(--transition-fast)]",
|
|
24349
24353
|
"border-l-[length:var(--border-width)] border-border",
|
|
24350
24354
|
selectedValues[filter.field] === option ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
|
|
24351
24355
|
),
|
|
@@ -24373,10 +24377,10 @@ var init_FilterGroup = __esm({
|
|
|
24373
24377
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4", className), children: [
|
|
24374
24378
|
showIcon && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
24375
24379
|
/* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24376
|
-
/* @__PURE__ */ jsx("span", { className: "text-sm font-
|
|
24380
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
24377
24381
|
] }),
|
|
24378
24382
|
filters.map((filter) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
24379
|
-
/* @__PURE__ */ jsx("label", { className: "text-xs font-
|
|
24383
|
+
/* @__PURE__ */ jsx("label", { className: "text-xs font-bold text-muted-foreground uppercase tracking-wide", children: filter.label }),
|
|
24380
24384
|
resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsx(
|
|
24381
24385
|
Input,
|
|
24382
24386
|
{
|
|
@@ -24558,12 +24562,12 @@ var init_FilterGroup = __esm({
|
|
|
24558
24562
|
className: "text-muted-foreground",
|
|
24559
24563
|
children: [
|
|
24560
24564
|
/* @__PURE__ */ jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24561
|
-
/* @__PURE__ */ jsx("span", { className: "text-sm font-
|
|
24565
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
24562
24566
|
]
|
|
24563
24567
|
}
|
|
24564
24568
|
),
|
|
24565
24569
|
filters.map((filter) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
24566
|
-
/* @__PURE__ */ jsx("label", { className: "text-xs font-
|
|
24570
|
+
/* @__PURE__ */ jsx("label", { className: "text-xs font-bold text-muted-foreground uppercase tracking-wide", children: filter.label }),
|
|
24567
24571
|
resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsx(
|
|
24568
24572
|
Input,
|
|
24569
24573
|
{
|
|
@@ -26964,7 +26968,7 @@ function EnemyPlate({
|
|
|
26964
26968
|
Typography,
|
|
26965
26969
|
{
|
|
26966
26970
|
variant: "caption",
|
|
26967
|
-
className: "font-mono tabular-nums text-
|
|
26971
|
+
className: "font-mono tabular-nums text-muted-foreground text-xs shrink-0",
|
|
26968
26972
|
children: [
|
|
26969
26973
|
health,
|
|
26970
26974
|
"/",
|
|
@@ -27041,7 +27045,7 @@ function UnitCommandBar({
|
|
|
27041
27045
|
Typography,
|
|
27042
27046
|
{
|
|
27043
27047
|
variant: "caption",
|
|
27044
|
-
className: "text-
|
|
27048
|
+
className: "text-muted-foreground text-xs font-mono",
|
|
27045
27049
|
children: command.hotkey
|
|
27046
27050
|
}
|
|
27047
27051
|
)
|
|
@@ -34578,16 +34582,16 @@ var init_ModuleCard = __esm({
|
|
|
34578
34582
|
children: [
|
|
34579
34583
|
/* @__PURE__ */ jsx(Handle, { type: "target", position: Position.Left, className: "!w-2.5 !h-2.5 !bg-orange-400" }),
|
|
34580
34584
|
/* @__PURE__ */ jsx(Handle, { type: "source", position: Position.Right, className: "!w-2.5 !h-2.5 !bg-orange-400" }),
|
|
34581
|
-
/* @__PURE__ */ jsx("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: /* @__PURE__ */ jsx("span", { className: "text-
|
|
34585
|
+
/* @__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 }) }),
|
|
34582
34586
|
/* @__PURE__ */ jsxs("div", { className: `px-3 py-2 border-b border-[var(--color-border)] ${PERSISTENCE_BORDER[persistence] ?? ""}`, children: [
|
|
34583
34587
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 mb-1.5", children: [
|
|
34584
34588
|
/* @__PURE__ */ jsx("svg", { width: 18, height: 18, viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx(AvlEntity, { x: 10, y: 10, r: 8, persistence }) }),
|
|
34585
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
34586
|
-
/* @__PURE__ */ jsx("span", { className: "ml-auto text-
|
|
34589
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-semibold text-[var(--color-foreground)]", children: entityName }),
|
|
34590
|
+
/* @__PURE__ */ jsx("span", { className: "ml-auto text-xs opacity-50", title: persistence, children: PERSISTENCE_ICON[persistence] ?? "" })
|
|
34587
34591
|
] }),
|
|
34588
34592
|
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: [
|
|
34589
34593
|
/* @__PURE__ */ jsx("svg", { width: 14, height: 14, viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx(AvlFieldType, { x: 8, y: 8, kind: toFieldKind(f3.type), size: 6 }) }),
|
|
34590
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
34594
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs text-[var(--color-muted-foreground)] truncate", children: f3.name })
|
|
34591
34595
|
] }, f3.name)) })
|
|
34592
34596
|
] }),
|
|
34593
34597
|
traits2.map((trait) => {
|
|
@@ -34595,7 +34599,7 @@ var init_ModuleCard = __esm({
|
|
|
34595
34599
|
const traitEmits = externalLinks.filter((l) => l.direction === "out" && l.traitName === trait.name);
|
|
34596
34600
|
const traitListens = externalLinks.filter((l) => l.direction === "in" && l.traitName === trait.name);
|
|
34597
34601
|
return /* @__PURE__ */ jsxs("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: [
|
|
34598
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
34602
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs font-semibold text-[var(--color-foreground)] mb-1", children: trait.name }),
|
|
34599
34603
|
detail && /* @__PURE__ */ jsx(MiniStateMachine, { data: detail, className: "mb-1" }),
|
|
34600
34604
|
(traitEmits.length > 0 || traitListens.length > 0) && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[9px] mt-1", children: [
|
|
34601
34605
|
traitListens.map((l) => /* @__PURE__ */ jsxs("span", { style: { color: CONNECTION_COLORS.emitListen.color }, children: [
|
|
@@ -34614,7 +34618,7 @@ var init_ModuleCard = __esm({
|
|
|
34614
34618
|
}),
|
|
34615
34619
|
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: [
|
|
34616
34620
|
/* @__PURE__ */ jsx("svg", { width: 10, height: 10, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsx(AvlPage, { x: 6, y: 6, size: 5 }) }),
|
|
34617
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
34621
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-mono text-[var(--color-muted-foreground)]", children: p2.route })
|
|
34618
34622
|
] }, p2.name)) })
|
|
34619
34623
|
]
|
|
34620
34624
|
}
|
|
@@ -38964,7 +38968,7 @@ var init_List = __esm({
|
|
|
38964
38968
|
{
|
|
38965
38969
|
as: "h3",
|
|
38966
38970
|
className: cn(
|
|
38967
|
-
"text-
|
|
38971
|
+
"text-base font-semibold text-foreground truncate flex-1",
|
|
38968
38972
|
"tracking-tight leading-snug",
|
|
38969
38973
|
item.completed && "line-through text-muted-foreground"
|
|
38970
38974
|
),
|
|
@@ -38988,7 +38992,7 @@ var init_List = __esm({
|
|
|
38988
38992
|
)
|
|
38989
38993
|
] })
|
|
38990
38994
|
] }),
|
|
38991
|
-
/* @__PURE__ */ jsxs(HStack, { className: "flex items-center gap-6 text-
|
|
38995
|
+
/* @__PURE__ */ jsxs(HStack, { className: "flex items-center gap-6 text-sm font-medium text-muted-foreground", children: [
|
|
38992
38996
|
dateFields.slice(0, 1).map((field) => {
|
|
38993
38997
|
const value = item._fields?.[field];
|
|
38994
38998
|
if (!value) return null;
|
|
@@ -39384,7 +39388,7 @@ var init_MediaGallery = __esm({
|
|
|
39384
39388
|
}
|
|
39385
39389
|
),
|
|
39386
39390
|
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 }) }),
|
|
39387
|
-
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-
|
|
39391
|
+
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" }) })
|
|
39388
39392
|
]
|
|
39389
39393
|
},
|
|
39390
39394
|
item.id
|
|
@@ -40761,13 +40765,13 @@ function WalkMinimap() {
|
|
|
40761
40765
|
})
|
|
40762
40766
|
] }) }),
|
|
40763
40767
|
/* @__PURE__ */ jsx(Box, { className: "px-2 py-1 border-t border-border", children: /* @__PURE__ */ jsxs(HStack, { gap: "sm", className: "items-center justify-between", children: [
|
|
40764
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "text-
|
|
40768
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "text-xs font-mono text-green-500", children: [
|
|
40765
40769
|
"Engine: ",
|
|
40766
40770
|
engineCount,
|
|
40767
40771
|
"/",
|
|
40768
40772
|
totalTransitions
|
|
40769
40773
|
] }),
|
|
40770
|
-
domCount > 0 && /* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "text-
|
|
40774
|
+
domCount > 0 && /* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "text-xs font-mono text-cyan-500", children: [
|
|
40771
40775
|
"DOM: ",
|
|
40772
40776
|
domCount
|
|
40773
40777
|
] }),
|
|
@@ -41281,7 +41285,7 @@ function VerificationTab({ checks, summary }) {
|
|
|
41281
41285
|
/* @__PURE__ */ jsx(Typography, { variant: "small", className: "break-words", children: check.label }),
|
|
41282
41286
|
check.details && /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-gray-500 break-words", children: check.details })
|
|
41283
41287
|
] }),
|
|
41284
|
-
/* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-
|
|
41288
|
+
/* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-muted-foreground font-mono text-xs shrink-0", children: new Date(check.updatedAt).toLocaleTimeString("en-US", {
|
|
41285
41289
|
hour12: false,
|
|
41286
41290
|
hour: "2-digit",
|
|
41287
41291
|
minute: "2-digit",
|
|
@@ -41314,7 +41318,7 @@ var init_VerificationTab = __esm({
|
|
|
41314
41318
|
function EffectBadge({ effect }) {
|
|
41315
41319
|
const variant = EFFECT_STATUS_VARIANT[effect.status] || "default";
|
|
41316
41320
|
const icon = effect.status === "executed" ? "\u2713" : effect.status === "failed" ? "\u2717" : "-";
|
|
41317
|
-
return /* @__PURE__ */ jsxs("span", { className: "inline-flex items-center gap-1 text-
|
|
41321
|
+
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: [
|
|
41318
41322
|
/* @__PURE__ */ jsx(Badge, { variant, size: "sm", className: "!text-[9px] !px-1 !py-0", children: icon }),
|
|
41319
41323
|
/* @__PURE__ */ jsx("span", { className: "text-gray-600 dark:text-gray-400", children: effect.type }),
|
|
41320
41324
|
effect.error && /* @__PURE__ */ jsx("span", { className: "text-red-500 truncate max-w-[120px]", title: effect.error, children: effect.error })
|
|
@@ -41418,8 +41422,8 @@ function TransitionTimeline({ transitions }) {
|
|
|
41418
41422
|
] }),
|
|
41419
41423
|
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: [
|
|
41420
41424
|
/* @__PURE__ */ jsx(EffectBadge, { effect }),
|
|
41421
|
-
effect.args.length > 0 && /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-
|
|
41422
|
-
effect.durationMs !== void 0 && /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-
|
|
41425
|
+
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) }),
|
|
41426
|
+
effect.durationMs !== void 0 && /* @__PURE__ */ jsxs(Typography, { variant: "small", className: "text-muted-foreground text-xs", children: [
|
|
41423
41427
|
effect.durationMs,
|
|
41424
41428
|
"ms"
|
|
41425
41429
|
] })
|
|
@@ -41706,7 +41710,7 @@ var init_RuntimeDebugger = __esm({
|
|
|
41706
41710
|
});
|
|
41707
41711
|
function ServerResponseRow({ sr }) {
|
|
41708
41712
|
const entityEntries = Object.entries(sr.dataEntities);
|
|
41709
|
-
return /* @__PURE__ */ jsxs("div", { className: "ml-4 pl-2 border-l border-purple-500/30 py-0.5 text-
|
|
41713
|
+
return /* @__PURE__ */ jsxs("div", { className: "ml-4 pl-2 border-l border-purple-500/30 py-0.5 text-xs font-mono", children: [
|
|
41710
41714
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
41711
41715
|
/* @__PURE__ */ jsxs("span", { className: sr.success ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400", children: [
|
|
41712
41716
|
sr.success ? "\u2713" : "\u2717",
|
|
@@ -41763,7 +41767,7 @@ function TransitionRow({ trace }) {
|
|
|
41763
41767
|
] })
|
|
41764
41768
|
] }),
|
|
41765
41769
|
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(
|
|
41766
|
-
"px-1 rounded text-
|
|
41770
|
+
"px-1 rounded text-xs",
|
|
41767
41771
|
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"
|
|
41768
41772
|
), children: [
|
|
41769
41773
|
eff.status === "executed" ? "\u2713" : eff.status === "failed" ? "\u2717" : "-",
|