@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.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/bloomberg-dense.css +403 -0
- package/themes/index.css +3 -0
- package/themes/linear-clean.css +403 -0
- package/themes/notion-editorial.css +403 -0
package/dist/runtime/index.cjs
CHANGED
|
@@ -1751,7 +1751,7 @@ var init_Icon = __esm({
|
|
|
1751
1751
|
sizeClasses = {
|
|
1752
1752
|
xs: "w-3 h-3",
|
|
1753
1753
|
sm: "w-4 h-4",
|
|
1754
|
-
md: "
|
|
1754
|
+
md: "h-icon-default w-icon-default",
|
|
1755
1755
|
lg: "w-6 h-6",
|
|
1756
1756
|
xl: "w-8 h-8"
|
|
1757
1757
|
};
|
|
@@ -1896,14 +1896,14 @@ var init_Button = __esm({
|
|
|
1896
1896
|
};
|
|
1897
1897
|
variantStyles.destructive = variantStyles.danger;
|
|
1898
1898
|
sizeStyles = {
|
|
1899
|
-
sm: "px-3
|
|
1900
|
-
md: "px-4
|
|
1901
|
-
lg: "px-6
|
|
1899
|
+
sm: "h-button-sm px-3 text-sm",
|
|
1900
|
+
md: "h-button-md px-4 text-sm",
|
|
1901
|
+
lg: "h-button-lg px-6 text-base"
|
|
1902
1902
|
};
|
|
1903
1903
|
iconSizeStyles = {
|
|
1904
|
-
sm: "h-
|
|
1904
|
+
sm: "h-icon-default w-icon-default",
|
|
1905
1905
|
md: "h-icon-default w-icon-default",
|
|
1906
|
-
lg: "h-
|
|
1906
|
+
lg: "h-icon-default w-icon-default"
|
|
1907
1907
|
};
|
|
1908
1908
|
Button = React85__namespace.default.forwardRef(
|
|
1909
1909
|
({
|
|
@@ -1941,7 +1941,7 @@ var init_Button = __esm({
|
|
|
1941
1941
|
disabled: disabled || isLoading,
|
|
1942
1942
|
className: cn(
|
|
1943
1943
|
"inline-flex items-center justify-center gap-2",
|
|
1944
|
-
"font-
|
|
1944
|
+
"font-medium",
|
|
1945
1945
|
"rounded-sm",
|
|
1946
1946
|
"cursor-pointer",
|
|
1947
1947
|
"transition-all duration-[var(--transition-normal)]",
|
|
@@ -2618,7 +2618,11 @@ var init_Badge = __esm({
|
|
|
2618
2618
|
};
|
|
2619
2619
|
Badge = React85__namespace.default.forwardRef(
|
|
2620
2620
|
({ className, variant = "default", size = "sm", amount, label, icon, children, onRemove, removeLabel, ...props }, ref) => {
|
|
2621
|
-
const iconSizes3 = {
|
|
2621
|
+
const iconSizes3 = {
|
|
2622
|
+
sm: "h-icon-default w-icon-default",
|
|
2623
|
+
md: "h-icon-default w-icon-default",
|
|
2624
|
+
lg: "h-icon-default w-icon-default"
|
|
2625
|
+
};
|
|
2622
2626
|
const resolvedIcon = typeof icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: icon, className: iconSizes3[size] }) : icon;
|
|
2623
2627
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2624
2628
|
"span",
|
|
@@ -3652,10 +3656,11 @@ var init_Input = __esm({
|
|
|
3652
3656
|
const type = inputType || htmlType || "text";
|
|
3653
3657
|
const resolvedLeftIcon = leftIcon || IconComponent && /* @__PURE__ */ jsxRuntime.jsx(IconComponent, { className: "h-icon-default w-icon-default" });
|
|
3654
3658
|
const showClearButton = clearable && value && String(value).length > 0;
|
|
3659
|
+
const isMultiline = type === "textarea";
|
|
3655
3660
|
const baseClassName = cn(
|
|
3656
3661
|
"block w-full rounded-sm transition-all duration-[var(--transition-fast)]",
|
|
3657
3662
|
"border-[length:var(--border-width-thin)] border-border",
|
|
3658
|
-
"px-3 py-2 text-sm",
|
|
3663
|
+
isMultiline ? "px-3 py-2 text-sm" : "h-input-md px-3 text-sm",
|
|
3659
3664
|
"bg-card hover:bg-muted focus:bg-card",
|
|
3660
3665
|
"text-foreground placeholder:text-muted-foreground",
|
|
3661
3666
|
"focus:outline-none focus:ring-1 focus:ring-ring focus:border-ring",
|
|
@@ -3707,7 +3712,7 @@ var init_Input = __esm({
|
|
|
3707
3712
|
checked: props.checked,
|
|
3708
3713
|
onChange,
|
|
3709
3714
|
className: cn(
|
|
3710
|
-
"h-
|
|
3715
|
+
"h-icon-default w-icon-default rounded-sm",
|
|
3711
3716
|
"border-border",
|
|
3712
3717
|
"text-primary focus:ring-ring",
|
|
3713
3718
|
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
@@ -3789,7 +3794,7 @@ var init_Textarea = __esm({
|
|
|
3789
3794
|
"placeholder:text-[var(--color-placeholder)]",
|
|
3790
3795
|
"focus:outline-none focus:ring-2 focus:ring-offset-0 focus:ring-ring",
|
|
3791
3796
|
"disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed",
|
|
3792
|
-
"resize-y min-h-
|
|
3797
|
+
"resize-y min-h-20",
|
|
3793
3798
|
error ? "border-error focus:border-error" : "border-border focus:border-primary",
|
|
3794
3799
|
className
|
|
3795
3800
|
),
|
|
@@ -3892,21 +3897,21 @@ var init_Card = __esm({
|
|
|
3892
3897
|
"border-[length:var(--border-width)] border-border",
|
|
3893
3898
|
"shadow-elevation-card",
|
|
3894
3899
|
"transition-all duration-[var(--transition-normal)]",
|
|
3895
|
-
"hover:shadow-elevation-dialog hover
|
|
3900
|
+
"hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
|
|
3896
3901
|
].join(" "),
|
|
3897
3902
|
bordered: [
|
|
3898
3903
|
"bg-card",
|
|
3899
3904
|
"border-[length:var(--border-width)] border-border",
|
|
3900
3905
|
"shadow-elevation-card",
|
|
3901
3906
|
"transition-all duration-[var(--transition-normal)]",
|
|
3902
|
-
"hover:shadow-elevation-dialog hover
|
|
3907
|
+
"hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
|
|
3903
3908
|
].join(" "),
|
|
3904
3909
|
elevated: [
|
|
3905
3910
|
"bg-card",
|
|
3906
3911
|
"border-[length:var(--border-width)] border-border",
|
|
3907
3912
|
"shadow",
|
|
3908
3913
|
"transition-all duration-[var(--transition-normal)]",
|
|
3909
|
-
"hover:shadow-elevation-dialog hover
|
|
3914
|
+
"hover:shadow-elevation-dialog hover:translate-y-[var(--hover-translate-y)]"
|
|
3910
3915
|
].join(" "),
|
|
3911
3916
|
// Interactive variant with theme-specific hover effects
|
|
3912
3917
|
interactive: [
|
|
@@ -3956,7 +3961,7 @@ var init_Card = __esm({
|
|
|
3956
3961
|
...props,
|
|
3957
3962
|
children: [
|
|
3958
3963
|
(title || subtitle) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-4", children: [
|
|
3959
|
-
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg text-card-foreground font-
|
|
3964
|
+
title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg text-card-foreground font-bold", children: title }),
|
|
3960
3965
|
subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground mt-1", children: subtitle })
|
|
3961
3966
|
] }),
|
|
3962
3967
|
children
|
|
@@ -3974,7 +3979,7 @@ var init_Card = __esm({
|
|
|
3974
3979
|
ref,
|
|
3975
3980
|
className: cn(
|
|
3976
3981
|
"text-lg text-card-foreground",
|
|
3977
|
-
"font-
|
|
3982
|
+
"font-bold",
|
|
3978
3983
|
className
|
|
3979
3984
|
),
|
|
3980
3985
|
...props
|
|
@@ -4112,7 +4117,7 @@ var init_Spinner = __esm({
|
|
|
4112
4117
|
init_Icon();
|
|
4113
4118
|
sizeStyles5 = {
|
|
4114
4119
|
xs: "h-3 w-3",
|
|
4115
|
-
sm: "h-
|
|
4120
|
+
sm: "h-icon-default w-icon-default",
|
|
4116
4121
|
md: "h-6 w-6",
|
|
4117
4122
|
lg: "h-8 w-8"
|
|
4118
4123
|
};
|
|
@@ -5375,10 +5380,9 @@ var init_LawReferenceTooltip = __esm({
|
|
|
5375
5380
|
{
|
|
5376
5381
|
padding: "sm",
|
|
5377
5382
|
rounded: "lg",
|
|
5378
|
-
shadow: "lg",
|
|
5379
5383
|
position: "absolute",
|
|
5380
5384
|
className: cn(
|
|
5381
|
-
"z-50 w-64 bg-foreground text-background",
|
|
5385
|
+
"z-50 w-64 bg-foreground text-background shadow-elevation-popover",
|
|
5382
5386
|
positionStyles2[position]
|
|
5383
5387
|
),
|
|
5384
5388
|
role: "tooltip",
|
|
@@ -5389,7 +5393,7 @@ var init_LawReferenceTooltip = __esm({
|
|
|
5389
5393
|
{
|
|
5390
5394
|
variant: "label",
|
|
5391
5395
|
weight: "semibold",
|
|
5392
|
-
className: "text-
|
|
5396
|
+
className: "text-warning",
|
|
5393
5397
|
children: [
|
|
5394
5398
|
reference.law,
|
|
5395
5399
|
" ",
|
|
@@ -5421,7 +5425,7 @@ var init_LawReferenceTooltip = __esm({
|
|
|
5421
5425
|
{
|
|
5422
5426
|
as: "a",
|
|
5423
5427
|
variant: "caption",
|
|
5424
|
-
className: "text-
|
|
5428
|
+
className: "text-info hover:text-info/80 underline cursor-pointer",
|
|
5425
5429
|
href: reference.link,
|
|
5426
5430
|
target: "_blank",
|
|
5427
5431
|
rel: "noopener noreferrer",
|
|
@@ -5827,12 +5831,12 @@ var init_RangeSlider = __esm({
|
|
|
5827
5831
|
"shadow-sm",
|
|
5828
5832
|
"pointer-events-none",
|
|
5829
5833
|
"transition-transform duration-100",
|
|
5830
|
-
isDragging && "scale-
|
|
5834
|
+
isDragging && "scale-[var(--hover-scale)]",
|
|
5831
5835
|
thumbSizes[size]
|
|
5832
5836
|
),
|
|
5833
5837
|
style: {
|
|
5834
5838
|
top: "50%",
|
|
5835
|
-
transform: `translateY(-50%) translateX(-50%)${isDragging ? " scale(
|
|
5839
|
+
transform: `translateY(-50%) translateX(-50%)${isDragging ? " scale(var(--hover-scale))" : ""}`,
|
|
5836
5840
|
left: `${percentage}%`
|
|
5837
5841
|
}
|
|
5838
5842
|
}
|
|
@@ -7585,7 +7589,7 @@ function ItemSlot({
|
|
|
7585
7589
|
className: cn(
|
|
7586
7590
|
"absolute -bottom-1 -right-1 flex items-center justify-center",
|
|
7587
7591
|
"min-w-[18px] h-[18px] rounded-full px-1",
|
|
7588
|
-
"bg-[var(--color-surface,#374151)] border border-gray-500 text-
|
|
7592
|
+
"bg-[var(--color-surface,#374151)] border border-gray-500 text-xs font-bold text-[var(--color-foreground)]"
|
|
7589
7593
|
),
|
|
7590
7594
|
children: quantity
|
|
7591
7595
|
}
|
|
@@ -7723,7 +7727,7 @@ var init_ComboCounter = __esm({
|
|
|
7723
7727
|
"components/atoms/game/ComboCounter.tsx"() {
|
|
7724
7728
|
init_cn();
|
|
7725
7729
|
sizeMap8 = {
|
|
7726
|
-
sm: { combo: "text-lg", label: "text-
|
|
7730
|
+
sm: { combo: "text-lg", label: "text-xs", multiplier: "text-xs" },
|
|
7727
7731
|
md: { combo: "text-2xl", label: "text-xs", multiplier: "text-sm" },
|
|
7728
7732
|
lg: { combo: "text-4xl", label: "text-sm", multiplier: "text-base" }
|
|
7729
7733
|
};
|
|
@@ -7791,7 +7795,7 @@ var init_XPBar = __esm({
|
|
|
7791
7795
|
"components/atoms/game/XPBar.tsx"() {
|
|
7792
7796
|
init_cn();
|
|
7793
7797
|
sizeMap9 = {
|
|
7794
|
-
sm: { bar: "h-2", text: "text-
|
|
7798
|
+
sm: { bar: "h-2", text: "text-xs", badge: "text-xs px-1.5 py-0.5" },
|
|
7795
7799
|
md: { bar: "h-3", text: "text-xs", badge: "text-xs px-2 py-0.5" },
|
|
7796
7800
|
lg: { bar: "h-4", text: "text-sm", badge: "text-sm px-2.5 py-1" }
|
|
7797
7801
|
};
|
|
@@ -7918,7 +7922,7 @@ function StatusEffect({
|
|
|
7918
7922
|
children: stacks
|
|
7919
7923
|
}
|
|
7920
7924
|
),
|
|
7921
|
-
label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-
|
|
7925
|
+
label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground mt-0.5 text-center whitespace-nowrap", children: label })
|
|
7922
7926
|
] });
|
|
7923
7927
|
}
|
|
7924
7928
|
var sizeMap11, variantStyles7;
|
|
@@ -7926,8 +7930,8 @@ var init_StatusEffect = __esm({
|
|
|
7926
7930
|
"components/atoms/game/StatusEffect.tsx"() {
|
|
7927
7931
|
init_cn();
|
|
7928
7932
|
sizeMap11 = {
|
|
7929
|
-
sm: { container: "w-8 h-8", icon: "text-sm", badge: "text-
|
|
7930
|
-
md: { container: "w-10 h-10", icon: "text-base", badge: "text-xs -top-1 -right-1 w-5 h-5", timer: "text-
|
|
7933
|
+
sm: { container: "w-8 h-8", icon: "text-sm", badge: "text-xs -top-1 -right-1 w-4 h-4", timer: "text-[9px]" },
|
|
7934
|
+
md: { container: "w-10 h-10", icon: "text-base", badge: "text-xs -top-1 -right-1 w-5 h-5", timer: "text-xs" },
|
|
7931
7935
|
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" }
|
|
7932
7936
|
};
|
|
7933
7937
|
variantStyles7 = {
|
|
@@ -8137,7 +8141,7 @@ var init_ActionButton = __esm({
|
|
|
8137
8141
|
init_Icon();
|
|
8138
8142
|
sizeMap13 = {
|
|
8139
8143
|
sm: { button: "px-3 py-1.5 text-xs", hotkey: "text-[9px] px-1", icon: "text-xs" },
|
|
8140
|
-
md: { button: "px-4 py-2 text-sm", hotkey: "text-
|
|
8144
|
+
md: { button: "px-4 py-2 text-sm", hotkey: "text-xs px-1.5", icon: "text-sm" },
|
|
8141
8145
|
lg: { button: "px-5 py-2.5 text-base", hotkey: "text-xs px-2", icon: "text-base" }
|
|
8142
8146
|
};
|
|
8143
8147
|
variantStyles8 = {
|
|
@@ -22321,7 +22325,7 @@ var init_DashboardLayout = __esm({
|
|
|
22321
22325
|
{
|
|
22322
22326
|
as: "span",
|
|
22323
22327
|
className: cn(
|
|
22324
|
-
"absolute -top-0.5 -right-0.5 min-w-[18px] h-[18px] px-1 rounded-full text-
|
|
22328
|
+
"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",
|
|
22325
22329
|
action.variant === "danger" ? "bg-error" : action.variant === "primary" ? "bg-primary" : "bg-foreground"
|
|
22326
22330
|
),
|
|
22327
22331
|
children: action.badge
|
|
@@ -22344,7 +22348,7 @@ var init_DashboardLayout = __esm({
|
|
|
22344
22348
|
Box,
|
|
22345
22349
|
{
|
|
22346
22350
|
as: "span",
|
|
22347
|
-
className: "absolute -top-0.5 -right-0.5 min-w-[18px] h-[18px] px-1 bg-error rounded-full text-
|
|
22351
|
+
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",
|
|
22348
22352
|
children: unreadCount > 99 ? "99+" : unreadCount
|
|
22349
22353
|
}
|
|
22350
22354
|
)
|
|
@@ -22546,14 +22550,14 @@ var init_DashboardLayout = __esm({
|
|
|
22546
22550
|
{
|
|
22547
22551
|
variant: "caption",
|
|
22548
22552
|
className: cn(
|
|
22549
|
-
"text-
|
|
22553
|
+
"text-xs leading-tight truncate max-w-full",
|
|
22550
22554
|
isActive ? "text-primary font-medium" : "text-muted-foreground"
|
|
22551
22555
|
),
|
|
22552
22556
|
as: "span",
|
|
22553
22557
|
children: item.label
|
|
22554
22558
|
}
|
|
22555
22559
|
),
|
|
22556
|
-
item.badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", className: "text-
|
|
22560
|
+
item.badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: isActive ? "primary" : "default", size: "sm", className: "text-xs px-1 py-0 min-w-0", children: item.badge })
|
|
22557
22561
|
]
|
|
22558
22562
|
}
|
|
22559
22563
|
);
|
|
@@ -24071,7 +24075,7 @@ var init_FilterGroup = __esm({
|
|
|
24071
24075
|
return /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "md", align: "center", className: cn("flex-wrap", className), children: [
|
|
24072
24076
|
showIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4 text-muted-foreground" }),
|
|
24073
24077
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "xs", align: "center", children: [
|
|
24074
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-
|
|
24078
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-medium text-muted-foreground", children: [
|
|
24075
24079
|
filter.label,
|
|
24076
24080
|
":"
|
|
24077
24081
|
] }),
|
|
@@ -24087,7 +24091,7 @@ var init_FilterGroup = __esm({
|
|
|
24087
24091
|
type: "button",
|
|
24088
24092
|
onClick: () => handleFilterSelect(filter.field, null),
|
|
24089
24093
|
className: cn(
|
|
24090
|
-
"px-3 py-1.5 text-sm font-
|
|
24094
|
+
"px-3 py-1.5 text-sm font-medium transition-all duration-[var(--transition-fast)]",
|
|
24091
24095
|
!selectedValues[filter.field] ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
|
|
24092
24096
|
),
|
|
24093
24097
|
children: "All"
|
|
@@ -24099,7 +24103,7 @@ var init_FilterGroup = __esm({
|
|
|
24099
24103
|
type: "button",
|
|
24100
24104
|
onClick: () => handleFilterSelect(filter.field, option),
|
|
24101
24105
|
className: cn(
|
|
24102
|
-
"px-3 py-1.5 text-sm font-
|
|
24106
|
+
"px-3 py-1.5 text-sm font-medium transition-all duration-[var(--transition-fast)]",
|
|
24103
24107
|
"border-l-[length:var(--border-width)] border-border",
|
|
24104
24108
|
selectedValues[filter.field] === option ? "bg-primary text-primary-foreground" : "bg-card text-muted-foreground hover:bg-muted"
|
|
24105
24109
|
),
|
|
@@ -24127,10 +24131,10 @@ var init_FilterGroup = __esm({
|
|
|
24127
24131
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4", className), children: [
|
|
24128
24132
|
showIcon && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
24129
24133
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24130
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-
|
|
24134
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
24131
24135
|
] }),
|
|
24132
24136
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
24133
|
-
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-
|
|
24137
|
+
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-bold text-muted-foreground uppercase tracking-wide", children: filter.label }),
|
|
24134
24138
|
resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24135
24139
|
Input,
|
|
24136
24140
|
{
|
|
@@ -24312,12 +24316,12 @@ var init_FilterGroup = __esm({
|
|
|
24312
24316
|
className: "text-muted-foreground",
|
|
24313
24317
|
children: [
|
|
24314
24318
|
/* @__PURE__ */ jsxRuntime.jsx(Icon, { name: "filter", className: "h-4 w-4" }),
|
|
24315
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-
|
|
24319
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-bold uppercase tracking-wide", children: "Filters" })
|
|
24316
24320
|
]
|
|
24317
24321
|
}
|
|
24318
24322
|
),
|
|
24319
24323
|
filters.map((filter) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
24320
|
-
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-
|
|
24324
|
+
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-bold text-muted-foreground uppercase tracking-wide", children: filter.label }),
|
|
24321
24325
|
resolveFilterType(filter) === "date" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24322
24326
|
Input,
|
|
24323
24327
|
{
|
|
@@ -26718,7 +26722,7 @@ function EnemyPlate({
|
|
|
26718
26722
|
Typography,
|
|
26719
26723
|
{
|
|
26720
26724
|
variant: "caption",
|
|
26721
|
-
className: "font-mono tabular-nums text-
|
|
26725
|
+
className: "font-mono tabular-nums text-muted-foreground text-xs shrink-0",
|
|
26722
26726
|
children: [
|
|
26723
26727
|
health,
|
|
26724
26728
|
"/",
|
|
@@ -26795,7 +26799,7 @@ function UnitCommandBar({
|
|
|
26795
26799
|
Typography,
|
|
26796
26800
|
{
|
|
26797
26801
|
variant: "caption",
|
|
26798
|
-
className: "text-
|
|
26802
|
+
className: "text-muted-foreground text-xs font-mono",
|
|
26799
26803
|
children: command.hotkey
|
|
26800
26804
|
}
|
|
26801
26805
|
)
|
|
@@ -34194,16 +34198,16 @@ var init_ModuleCard = __esm({
|
|
|
34194
34198
|
children: [
|
|
34195
34199
|
/* @__PURE__ */ jsxRuntime.jsx(react.Handle, { type: "target", position: react.Position.Left, className: "!w-2.5 !h-2.5 !bg-orange-400" }),
|
|
34196
34200
|
/* @__PURE__ */ jsxRuntime.jsx(react.Handle, { type: "source", position: react.Position.Right, className: "!w-2.5 !h-2.5 !bg-orange-400" }),
|
|
34197
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-
|
|
34201
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-base font-bold text-[var(--color-foreground)]", children: orbitalName }) }),
|
|
34198
34202
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `px-3 py-2 border-b border-[var(--color-border)] ${PERSISTENCE_BORDER[persistence] ?? ""}`, children: [
|
|
34199
34203
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5 mb-1.5", children: [
|
|
34200
34204
|
/* @__PURE__ */ jsxRuntime.jsx("svg", { width: 18, height: 18, viewBox: "0 0 20 20", children: /* @__PURE__ */ jsxRuntime.jsx(AvlEntity, { x: 10, y: 10, r: 8, persistence }) }),
|
|
34201
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-
|
|
34202
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-auto text-
|
|
34205
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold text-[var(--color-foreground)]", children: entityName }),
|
|
34206
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-auto text-xs opacity-50", title: persistence, children: PERSISTENCE_ICON[persistence] ?? "" })
|
|
34203
34207
|
] }),
|
|
34204
34208
|
fields.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: `grid gap-x-3 gap-y-0.5`, style: { gridTemplateColumns: `repeat(${cols}, 1fr)` }, children: fields.map((f3) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
34205
34209
|
/* @__PURE__ */ jsxRuntime.jsx("svg", { width: 14, height: 14, viewBox: "0 0 16 16", children: /* @__PURE__ */ jsxRuntime.jsx(AvlFieldType, { x: 8, y: 8, kind: toFieldKind(f3.type), size: 6 }) }),
|
|
34206
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-
|
|
34210
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-[var(--color-muted-foreground)] truncate", children: f3.name })
|
|
34207
34211
|
] }, f3.name)) })
|
|
34208
34212
|
] }),
|
|
34209
34213
|
traits2.map((trait) => {
|
|
@@ -34211,7 +34215,7 @@ var init_ModuleCard = __esm({
|
|
|
34211
34215
|
const traitEmits = externalLinks.filter((l) => l.direction === "out" && l.traitName === trait.name);
|
|
34212
34216
|
const traitListens = externalLinks.filter((l) => l.direction === "in" && l.traitName === trait.name);
|
|
34213
34217
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-3 py-2 border-b border-[var(--color-border)]", children: [
|
|
34214
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
34218
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs font-semibold text-[var(--color-foreground)] mb-1", children: trait.name }),
|
|
34215
34219
|
detail && /* @__PURE__ */ jsxRuntime.jsx(MiniStateMachine, { data: detail, className: "mb-1" }),
|
|
34216
34220
|
(traitEmits.length > 0 || traitListens.length > 0) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-[9px] mt-1", children: [
|
|
34217
34221
|
traitListens.map((l) => /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { color: CONNECTION_COLORS.emitListen.color }, children: [
|
|
@@ -34230,7 +34234,7 @@ var init_ModuleCard = __esm({
|
|
|
34230
34234
|
}),
|
|
34231
34235
|
pages.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-1.5 flex items-center gap-2 flex-wrap", children: pages.map((p2) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-0.5", children: [
|
|
34232
34236
|
/* @__PURE__ */ jsxRuntime.jsx("svg", { width: 10, height: 10, viewBox: "0 0 12 12", children: /* @__PURE__ */ jsxRuntime.jsx(AvlPage, { x: 6, y: 6, size: 5 }) }),
|
|
34233
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-
|
|
34237
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-mono text-[var(--color-muted-foreground)]", children: p2.route })
|
|
34234
34238
|
] }, p2.name)) })
|
|
34235
34239
|
]
|
|
34236
34240
|
}
|
|
@@ -38580,7 +38584,7 @@ var init_List = __esm({
|
|
|
38580
38584
|
{
|
|
38581
38585
|
as: "h3",
|
|
38582
38586
|
className: cn(
|
|
38583
|
-
"text-
|
|
38587
|
+
"text-base font-semibold text-foreground truncate flex-1",
|
|
38584
38588
|
"tracking-tight leading-snug",
|
|
38585
38589
|
item.completed && "line-through text-muted-foreground"
|
|
38586
38590
|
),
|
|
@@ -38604,7 +38608,7 @@ var init_List = __esm({
|
|
|
38604
38608
|
)
|
|
38605
38609
|
] })
|
|
38606
38610
|
] }),
|
|
38607
|
-
/* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "flex items-center gap-6 text-
|
|
38611
|
+
/* @__PURE__ */ jsxRuntime.jsxs(HStack, { className: "flex items-center gap-6 text-sm font-medium text-muted-foreground", children: [
|
|
38608
38612
|
dateFields.slice(0, 1).map((field) => {
|
|
38609
38613
|
const value = item._fields?.[field];
|
|
38610
38614
|
if (!value) return null;
|
|
@@ -39000,7 +39004,7 @@ var init_MediaGallery = __esm({
|
|
|
39000
39004
|
}
|
|
39001
39005
|
),
|
|
39002
39006
|
item.caption && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute bottom-0 left-0 right-0 p-2 bg-gradient-to-t from-black/60 to-transparent", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-white truncate", children: item.caption }) }),
|
|
39003
|
-
selectable && isSelected && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute top-2 right-2 w-5 h-5 rounded-full bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-white text-
|
|
39007
|
+
selectable && isSelected && /* @__PURE__ */ jsxRuntime.jsx(Box, { className: "absolute top-2 right-2 w-5 h-5 rounded-full bg-primary flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "caption", className: "text-white text-xs", children: "\u2713" }) })
|
|
39004
39008
|
]
|
|
39005
39009
|
},
|
|
39006
39010
|
item.id
|
|
@@ -40396,13 +40400,13 @@ function WalkMinimap() {
|
|
|
40396
40400
|
})
|
|
40397
40401
|
] }) }),
|
|
40398
40402
|
/* @__PURE__ */ jsxRuntime.jsx(Box, { className: "px-2 py-1 border-t border-border", children: /* @__PURE__ */ jsxRuntime.jsxs(HStack, { gap: "sm", className: "items-center justify-between", children: [
|
|
40399
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-
|
|
40403
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-xs font-mono text-green-500", children: [
|
|
40400
40404
|
"Engine: ",
|
|
40401
40405
|
engineCount,
|
|
40402
40406
|
"/",
|
|
40403
40407
|
totalTransitions
|
|
40404
40408
|
] }),
|
|
40405
|
-
domCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-
|
|
40409
|
+
domCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "caption", className: "text-xs font-mono text-cyan-500", children: [
|
|
40406
40410
|
"DOM: ",
|
|
40407
40411
|
domCount
|
|
40408
40412
|
] }),
|
|
@@ -40916,7 +40920,7 @@ function VerificationTab({ checks, summary }) {
|
|
|
40916
40920
|
/* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "break-words", children: check.label }),
|
|
40917
40921
|
check.details && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-gray-500 break-words", children: check.details })
|
|
40918
40922
|
] }),
|
|
40919
|
-
/* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-
|
|
40923
|
+
/* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-muted-foreground font-mono text-xs shrink-0", children: new Date(check.updatedAt).toLocaleTimeString("en-US", {
|
|
40920
40924
|
hour12: false,
|
|
40921
40925
|
hour: "2-digit",
|
|
40922
40926
|
minute: "2-digit",
|
|
@@ -40949,7 +40953,7 @@ var init_VerificationTab = __esm({
|
|
|
40949
40953
|
function EffectBadge({ effect }) {
|
|
40950
40954
|
const variant = EFFECT_STATUS_VARIANT[effect.status] || "default";
|
|
40951
40955
|
const icon = effect.status === "executed" ? "\u2713" : effect.status === "failed" ? "\u2717" : "-";
|
|
40952
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1 text-
|
|
40956
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1 text-xs font-mono bg-gray-100 dark:bg-gray-700 rounded px-1.5 py-0.5", children: [
|
|
40953
40957
|
/* @__PURE__ */ jsxRuntime.jsx(Badge, { variant, size: "sm", className: "!text-[9px] !px-1 !py-0", children: icon }),
|
|
40954
40958
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-gray-600 dark:text-gray-400", children: effect.type }),
|
|
40955
40959
|
effect.error && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-red-500 truncate max-w-[120px]", title: effect.error, children: effect.error })
|
|
@@ -41053,8 +41057,8 @@ function TransitionTimeline({ transitions }) {
|
|
|
41053
41057
|
] }),
|
|
41054
41058
|
isExpanded && trace.effects.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "ml-2 mt-1 mb-2 pl-2 border-l border-gray-200 dark:border-gray-700 space-y-1", children: trace.effects.map((effect, eIdx) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
41055
41059
|
/* @__PURE__ */ jsxRuntime.jsx(EffectBadge, { effect }),
|
|
41056
|
-
effect.args.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-
|
|
41057
|
-
effect.durationMs !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "small", className: "text-
|
|
41060
|
+
effect.args.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "small", className: "text-muted-foreground font-mono text-xs truncate max-w-[200px]", children: JSON.stringify(effect.args) }),
|
|
41061
|
+
effect.durationMs !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs(Typography, { variant: "small", className: "text-muted-foreground text-xs", children: [
|
|
41058
41062
|
effect.durationMs,
|
|
41059
41063
|
"ms"
|
|
41060
41064
|
] })
|
|
@@ -41341,7 +41345,7 @@ var init_RuntimeDebugger = __esm({
|
|
|
41341
41345
|
});
|
|
41342
41346
|
function ServerResponseRow({ sr }) {
|
|
41343
41347
|
const entityEntries = Object.entries(sr.dataEntities);
|
|
41344
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4 pl-2 border-l border-purple-500/30 py-0.5 text-
|
|
41348
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ml-4 pl-2 border-l border-purple-500/30 py-0.5 text-xs font-mono", children: [
|
|
41345
41349
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
41346
41350
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: sr.success ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400", children: [
|
|
41347
41351
|
sr.success ? "\u2713" : "\u2717",
|
|
@@ -41398,7 +41402,7 @@ function TransitionRow({ trace }) {
|
|
|
41398
41402
|
] })
|
|
41399
41403
|
] }),
|
|
41400
41404
|
trace.effects.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1 ml-6 mt-0.5", children: trace.effects.map((eff, i) => /* @__PURE__ */ jsxRuntime.jsxs("span", { className: cn(
|
|
41401
|
-
"px-1 rounded text-
|
|
41405
|
+
"px-1 rounded text-xs",
|
|
41402
41406
|
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"
|
|
41403
41407
|
), children: [
|
|
41404
41408
|
eff.status === "executed" ? "\u2713" : eff.status === "failed" ? "\u2717" : "-",
|