@l3mpire/ui 2.25.2 → 2.26.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/USAGE.md +20 -12
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +131 -110
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +131 -110
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/styles/globals.css +2 -0
package/dist/index.mjs
CHANGED
|
@@ -149,19 +149,19 @@ var buttonVariants = cva2(
|
|
|
149
149
|
},
|
|
150
150
|
size: {
|
|
151
151
|
sm: [
|
|
152
|
-
"h-6 py-xs gap-
|
|
152
|
+
"h-6 px-sm py-xs gap-none",
|
|
153
153
|
"text-xs",
|
|
154
154
|
"min-w-16 rounded-base"
|
|
155
155
|
],
|
|
156
156
|
md: [
|
|
157
|
-
"h-8 px-base py-sm gap-
|
|
157
|
+
"h-8 px-base py-sm gap-2xs",
|
|
158
158
|
"text-sm",
|
|
159
159
|
"min-w-20 rounded-md"
|
|
160
160
|
],
|
|
161
161
|
lg: [
|
|
162
|
-
"h-10 px-
|
|
162
|
+
"h-10 px-lg py-md gap-2xs",
|
|
163
163
|
"text-sm",
|
|
164
|
-
"min-w-20 rounded-
|
|
164
|
+
"min-w-20 rounded-lg"
|
|
165
165
|
]
|
|
166
166
|
},
|
|
167
167
|
iconOnly: {
|
|
@@ -287,6 +287,25 @@ var iconSizeMap = {
|
|
|
287
287
|
lg: "sm"
|
|
288
288
|
// 14px
|
|
289
289
|
};
|
|
290
|
+
var textWrapperClass = (size) => cn(
|
|
291
|
+
"inline-flex items-center justify-center px-xs",
|
|
292
|
+
size === "lg" ? "gap-sm" : "gap-xs"
|
|
293
|
+
);
|
|
294
|
+
var ButtonBadge = ({ size, intent, children }) => {
|
|
295
|
+
const colors = intent === "alert" ? "bg-[var(--core-bg-functional-invert-critical)] text-[var(--core-text-functional-critical)]" : "bg-[var(--core-bg-functional-invert-info)] text-[var(--core-text-functional-info)]";
|
|
296
|
+
const shape = size === "lg" ? "gap-xs px-sm py-xs rounded-sm text-xs leading-xs" : "gap-2xs px-xs py-2xs rounded-xs text-xxs leading-2xs";
|
|
297
|
+
return /* @__PURE__ */ jsx2(
|
|
298
|
+
"span",
|
|
299
|
+
{
|
|
300
|
+
className: cn(
|
|
301
|
+
"inline-flex items-center font-medium whitespace-nowrap",
|
|
302
|
+
shape,
|
|
303
|
+
colors
|
|
304
|
+
),
|
|
305
|
+
children
|
|
306
|
+
}
|
|
307
|
+
);
|
|
308
|
+
};
|
|
290
309
|
var Button = React2.forwardRef(
|
|
291
310
|
({
|
|
292
311
|
className,
|
|
@@ -300,26 +319,28 @@ var Button = React2.forwardRef(
|
|
|
300
319
|
leftIcon,
|
|
301
320
|
rightIcon,
|
|
302
321
|
disabled,
|
|
322
|
+
badge,
|
|
303
323
|
children,
|
|
304
324
|
...props
|
|
305
325
|
}, ref) => {
|
|
306
326
|
const appearance = appearanceProp ?? "solid";
|
|
307
327
|
const intent = intentProp ?? "brand";
|
|
328
|
+
const resolvedSize = size ?? "md";
|
|
308
329
|
const isDisabled = disabled || loading;
|
|
309
330
|
const isIconOnly = iconOnlyProp ?? !children;
|
|
310
|
-
const iconSize = iconSizeMap[
|
|
311
|
-
const smPadding = size === "sm" && !isIconOnly ? cn(
|
|
312
|
-
leftIcon || loading ? "pl-xs" : "pl-sm",
|
|
313
|
-
rightIcon ? "pr-xs" : "pr-sm"
|
|
314
|
-
) : "";
|
|
331
|
+
const iconSize = iconSizeMap[resolvedSize];
|
|
315
332
|
const variantClasses = buttonVariants({
|
|
316
333
|
appearance,
|
|
317
334
|
intent,
|
|
318
|
-
size,
|
|
335
|
+
size: resolvedSize,
|
|
319
336
|
iconOnly: isIconOnly || void 0,
|
|
320
337
|
fullWidth,
|
|
321
|
-
className
|
|
338
|
+
className
|
|
322
339
|
});
|
|
340
|
+
const labelNode = !isIconOnly ? /* @__PURE__ */ jsxs2("span", { className: textWrapperClass(resolvedSize), children: [
|
|
341
|
+
children,
|
|
342
|
+
badge != null && /* @__PURE__ */ jsx2(ButtonBadge, { size: resolvedSize, intent, children: badge })
|
|
343
|
+
] }) : null;
|
|
323
344
|
if (asChild) {
|
|
324
345
|
return /* @__PURE__ */ jsx2(Slot, { ref, className: cn(variantClasses), ...props, children });
|
|
325
346
|
}
|
|
@@ -333,7 +354,7 @@ var Button = React2.forwardRef(
|
|
|
333
354
|
...props,
|
|
334
355
|
children: [
|
|
335
356
|
loading ? /* @__PURE__ */ jsx2(Icon2, { icon: faSpinnerSolid, size: iconSize, className: "animate-spin" }) : leftIcon ? /* @__PURE__ */ jsx2(Icon2, { icon: leftIcon, size: iconSize }) : null,
|
|
336
|
-
|
|
357
|
+
labelNode,
|
|
337
358
|
rightIcon && !loading && /* @__PURE__ */ jsx2(Icon2, { icon: rightIcon, size: iconSize })
|
|
338
359
|
]
|
|
339
360
|
}
|
|
@@ -563,7 +584,7 @@ var BrowserTab = React3.forwardRef(
|
|
|
563
584
|
{
|
|
564
585
|
ref,
|
|
565
586
|
className: cn(
|
|
566
|
-
"flex items-end w-full h-[44px] border-b border-browser-tab-border pl-base pr-
|
|
587
|
+
"flex items-end w-full h-[44px] border-b border-browser-tab-border pl-base pr-xl",
|
|
567
588
|
className
|
|
568
589
|
),
|
|
569
590
|
...props,
|
|
@@ -611,7 +632,7 @@ var BrowserTab = React3.forwardRef(
|
|
|
611
632
|
align: "end",
|
|
612
633
|
className: cn(
|
|
613
634
|
"z-50 flex flex-col gap-base overflow-clip",
|
|
614
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
635
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg p-base shadow-lg",
|
|
615
636
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
616
637
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
617
638
|
"data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2"
|
|
@@ -697,7 +718,7 @@ var containerStyle = [
|
|
|
697
718
|
"flex flex-col gap-base overflow-clip",
|
|
698
719
|
"bg-dropdown-bg",
|
|
699
720
|
"border border-dropdown-border",
|
|
700
|
-
"rounded-
|
|
721
|
+
"rounded-lg",
|
|
701
722
|
"p-xs",
|
|
702
723
|
"shadow-lg"
|
|
703
724
|
];
|
|
@@ -860,7 +881,7 @@ DropdownMenuHeading.displayName = "DropdownMenuHeading";
|
|
|
860
881
|
var clearStyle = [
|
|
861
882
|
"sticky bottom-0 -mx-base -mb-base",
|
|
862
883
|
"flex items-center justify-center",
|
|
863
|
-
"h-10 min-w-[80px] px-
|
|
884
|
+
"h-10 min-w-[80px] px-lg py-[10px]",
|
|
864
885
|
"bg-gradient-to-t from-dropdown-bg from-[10%] to-dropdown-bg",
|
|
865
886
|
"border border-dropdown-border",
|
|
866
887
|
"shadow-sm",
|
|
@@ -944,33 +965,19 @@ var BulkAction = React5.forwardRef(
|
|
|
944
965
|
role: "toolbar",
|
|
945
966
|
"aria-label": "Bulk actions",
|
|
946
967
|
className: cn(
|
|
947
|
-
"flex items-center gap-lg
|
|
968
|
+
"flex items-center gap-xl px-lg py-base w-full min-w-0",
|
|
948
969
|
"bg-bulk-action-bg border-l border-r border-t border-bulk-action-border",
|
|
949
|
-
"rounded-tl-
|
|
970
|
+
"rounded-tl-lg rounded-tr-lg",
|
|
950
971
|
"shadow-[0px_0px_6px_0px_rgba(0,0,0,0.02),0px_2px_4px_0px_rgba(0,0,0,0.08)]",
|
|
951
972
|
sticky && "sticky bottom-0 z-10",
|
|
952
973
|
className
|
|
953
974
|
),
|
|
954
975
|
...props,
|
|
955
976
|
children: [
|
|
956
|
-
/* @__PURE__ */ jsxs5("
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
type: "button",
|
|
961
|
-
appearance: "ghost",
|
|
962
|
-
intent: "alert",
|
|
963
|
-
size: "sm",
|
|
964
|
-
leftIcon: faXmarkOutline2,
|
|
965
|
-
onClick: onClear,
|
|
966
|
-
children: clearLabel
|
|
967
|
-
}
|
|
968
|
-
),
|
|
969
|
-
/* @__PURE__ */ jsxs5("span", { className: "text-sm font-regular leading-sm text-bulk-action-count whitespace-nowrap", children: [
|
|
970
|
-
count,
|
|
971
|
-
" ",
|
|
972
|
-
countLabel
|
|
973
|
-
] })
|
|
977
|
+
/* @__PURE__ */ jsxs5("span", { className: "text-sm font-regular leading-sm text-bulk-action-count whitespace-nowrap shrink-0", children: [
|
|
978
|
+
count,
|
|
979
|
+
" ",
|
|
980
|
+
countLabel
|
|
974
981
|
] }),
|
|
975
982
|
/* @__PURE__ */ jsxs5(
|
|
976
983
|
"div",
|
|
@@ -1023,6 +1030,20 @@ var BulkAction = React5.forwardRef(
|
|
|
1023
1030
|
)
|
|
1024
1031
|
]
|
|
1025
1032
|
}
|
|
1033
|
+
),
|
|
1034
|
+
/* @__PURE__ */ jsx5(
|
|
1035
|
+
Button,
|
|
1036
|
+
{
|
|
1037
|
+
type: "button",
|
|
1038
|
+
appearance: "ghost",
|
|
1039
|
+
intent: "brand",
|
|
1040
|
+
size: "md",
|
|
1041
|
+
iconOnly: true,
|
|
1042
|
+
leftIcon: faXmarkOutline2,
|
|
1043
|
+
onClick: onClear,
|
|
1044
|
+
"aria-label": clearLabel,
|
|
1045
|
+
className: "shrink-0"
|
|
1046
|
+
}
|
|
1026
1047
|
)
|
|
1027
1048
|
]
|
|
1028
1049
|
}
|
|
@@ -1056,7 +1077,7 @@ var tooltipContentVariants = cva3(
|
|
|
1056
1077
|
"inline-flex items-center z-50",
|
|
1057
1078
|
"gap-xs",
|
|
1058
1079
|
"px-base py-sm",
|
|
1059
|
-
"rounded-
|
|
1080
|
+
"rounded-lg",
|
|
1060
1081
|
"shadow-lg",
|
|
1061
1082
|
"text-sm",
|
|
1062
1083
|
"font-regular",
|
|
@@ -1306,7 +1327,7 @@ import {
|
|
|
1306
1327
|
} from "@l3mpire/icons";
|
|
1307
1328
|
import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1308
1329
|
var infoMessageVariants = cva5(
|
|
1309
|
-
"flex items-start gap-
|
|
1330
|
+
"flex items-start gap-lg px-xl py-base rounded-lg",
|
|
1310
1331
|
{
|
|
1311
1332
|
variants: {
|
|
1312
1333
|
type: {
|
|
@@ -1393,8 +1414,8 @@ import {
|
|
|
1393
1414
|
import { jsx as jsx10, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1394
1415
|
var toastVariants = cva6(
|
|
1395
1416
|
[
|
|
1396
|
-
"flex flex-col items-end w-[308px] gap-
|
|
1397
|
-
"rounded-
|
|
1417
|
+
"flex flex-col items-end w-[308px] gap-lg p-xl",
|
|
1418
|
+
"rounded-lg",
|
|
1398
1419
|
"border border-toast-border",
|
|
1399
1420
|
"bg-gradient-to-b to-background to-[60%]",
|
|
1400
1421
|
"[background-size:100%_calc(100%+120px)] [background-position:0_-120px]",
|
|
@@ -1434,14 +1455,14 @@ var typeIconMap2 = {
|
|
|
1434
1455
|
};
|
|
1435
1456
|
var titleStyle2 = "text-sm font-medium leading-sm text-toast-title";
|
|
1436
1457
|
var subtitleStyle = "text-sm font-regular leading-sm text-toast-subtitle";
|
|
1437
|
-
var closeButtonStyle2 = "inline-flex shrink-0 items-center justify-center self-start p-sm rounded-
|
|
1458
|
+
var closeButtonStyle2 = "inline-flex shrink-0 items-center justify-center self-start p-sm rounded-lg text-toast-close hover:bg-black/5 transition-colors";
|
|
1438
1459
|
var ToastProvider = ToastPrimitive.Provider;
|
|
1439
1460
|
var ToastViewport = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(
|
|
1440
1461
|
ToastPrimitive.Viewport,
|
|
1441
1462
|
{
|
|
1442
1463
|
ref,
|
|
1443
1464
|
className: cn(
|
|
1444
|
-
"fixed top-0 right-0 z-[100] flex max-h-screen w-full flex-col-reverse p-
|
|
1465
|
+
"fixed top-0 right-0 z-[100] flex max-h-screen w-full flex-col-reverse p-xl sm:flex-col md:max-w-[420px]",
|
|
1445
1466
|
className
|
|
1446
1467
|
),
|
|
1447
1468
|
...props
|
|
@@ -1463,7 +1484,7 @@ var Toast = React10.forwardRef(({ className, type = "info", title, subtitle, onC
|
|
|
1463
1484
|
className: cn(toastVariants({ type }), !actions && "min-h-[80px]", className),
|
|
1464
1485
|
...props,
|
|
1465
1486
|
children: [
|
|
1466
|
-
/* @__PURE__ */ jsxs10("div", { className: "flex w-full items-center gap-
|
|
1487
|
+
/* @__PURE__ */ jsxs10("div", { className: "flex w-full items-center gap-lg", children: [
|
|
1467
1488
|
/* @__PURE__ */ jsx10("div", { className: iconContainerVariants({ type }), children: /* @__PURE__ */ jsx10(Icon9, { icon, size: "lg", className: color }) }),
|
|
1468
1489
|
/* @__PURE__ */ jsxs10("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
1469
1490
|
/* @__PURE__ */ jsx10(ToastPrimitive.Title, { className: titleStyle2, children: title }),
|
|
@@ -1552,7 +1573,7 @@ import { Icon as Icon10 } from "@l3mpire/icons";
|
|
|
1552
1573
|
import { jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1553
1574
|
var cardStyles = {
|
|
1554
1575
|
base: [
|
|
1555
|
-
"group relative flex w-full items-center gap-base rounded-
|
|
1576
|
+
"group relative flex w-full items-center gap-base rounded-lg border border-solid p-lg text-left transition-colors",
|
|
1556
1577
|
"border-switch-card-border",
|
|
1557
1578
|
"focus-visible:outline-none focus-visible:shadow-focus-ring",
|
|
1558
1579
|
"disabled:pointer-events-none disabled:opacity-60",
|
|
@@ -1823,7 +1844,7 @@ var SidebarHeader = React14.forwardRef(
|
|
|
1823
1844
|
ref,
|
|
1824
1845
|
className: cn(
|
|
1825
1846
|
"flex items-center shrink-0 h-[44px] border-b border-sidebar-border",
|
|
1826
|
-
isCollapsed ? "justify-center px-
|
|
1847
|
+
isCollapsed ? "justify-center px-xl" : "justify-between px-xl",
|
|
1827
1848
|
className
|
|
1828
1849
|
),
|
|
1829
1850
|
...props,
|
|
@@ -1895,7 +1916,7 @@ var Sidebar = React14.forwardRef(
|
|
|
1895
1916
|
(child) => !(React14.isValidElement(child) && child.type?.displayName === "SidebarFooter")
|
|
1896
1917
|
);
|
|
1897
1918
|
return /* @__PURE__ */ jsxs13(Fragment2, { children: [
|
|
1898
|
-
/* @__PURE__ */ jsx14("div", { className: "flex flex-col gap-
|
|
1919
|
+
/* @__PURE__ */ jsx14("div", { className: "flex flex-col gap-xl p-xl flex-1 overflow-y-auto", children: rest }),
|
|
1899
1920
|
footer
|
|
1900
1921
|
] });
|
|
1901
1922
|
})()
|
|
@@ -1926,7 +1947,7 @@ var SidebarFooter = React14.forwardRef(
|
|
|
1926
1947
|
{
|
|
1927
1948
|
ref,
|
|
1928
1949
|
className: cn(
|
|
1929
|
-
"flex flex-col p-
|
|
1950
|
+
"flex flex-col p-xl bg-sidebar-footer-bg border-t border-sidebar-border mt-auto w-full",
|
|
1930
1951
|
className
|
|
1931
1952
|
),
|
|
1932
1953
|
...props,
|
|
@@ -1955,7 +1976,7 @@ var searchBarVariants = cva8(
|
|
|
1955
1976
|
},
|
|
1956
1977
|
size: {
|
|
1957
1978
|
sm: "gap-sm px-base py-sm",
|
|
1958
|
-
md: "gap-base px-
|
|
1979
|
+
md: "gap-base px-lg py-base"
|
|
1959
1980
|
}
|
|
1960
1981
|
},
|
|
1961
1982
|
defaultVariants: { variant: "white", size: "md" }
|
|
@@ -2296,7 +2317,7 @@ import { Icon as Icon14 } from "@l3mpire/icons";
|
|
|
2296
2317
|
import { jsx as jsx19, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2297
2318
|
var cardStyles2 = {
|
|
2298
2319
|
base: [
|
|
2299
|
-
"group relative flex w-full items-start gap-base rounded-
|
|
2320
|
+
"group relative flex w-full items-start gap-base rounded-lg border border-solid p-lg text-left transition-colors",
|
|
2300
2321
|
"focus-visible:outline-none focus-visible:shadow-focus-ring",
|
|
2301
2322
|
"disabled:pointer-events-none disabled:opacity-60",
|
|
2302
2323
|
"cursor-pointer"
|
|
@@ -2424,7 +2445,7 @@ var sidebarItemVariants = cva10(
|
|
|
2424
2445
|
active: "bg-sidebar-item-active-bg"
|
|
2425
2446
|
},
|
|
2426
2447
|
type: {
|
|
2427
|
-
default: "px-
|
|
2448
|
+
default: "px-xl py-base",
|
|
2428
2449
|
collapsed: "p-base justify-center"
|
|
2429
2450
|
}
|
|
2430
2451
|
},
|
|
@@ -2538,7 +2559,7 @@ var selectVariants = cva11(
|
|
|
2538
2559
|
variants: {
|
|
2539
2560
|
size: {
|
|
2540
2561
|
sm: "px-base gap-base rounded-base min-w-[80px]",
|
|
2541
|
-
md: "px-
|
|
2562
|
+
md: "px-lg gap-base rounded-md"
|
|
2542
2563
|
}
|
|
2543
2564
|
},
|
|
2544
2565
|
defaultVariants: { size: "md" }
|
|
@@ -2685,7 +2706,7 @@ function SelectChips({ tags, onTagRemove, chipHeightPx }) {
|
|
|
2685
2706
|
{
|
|
2686
2707
|
sideOffset: 4,
|
|
2687
2708
|
className: cn(
|
|
2688
|
-
"z-50 px-base py-sm rounded-
|
|
2709
|
+
"z-50 px-base py-sm rounded-lg shadow-lg",
|
|
2689
2710
|
"bg-tooltip-default-bg text-tooltip-default-text",
|
|
2690
2711
|
"text-xs font-regular leading-xs",
|
|
2691
2712
|
"flex flex-col gap-xs",
|
|
@@ -2839,7 +2860,7 @@ var TabList = React23.forwardRef(({ className, hasOffset = false, ...props }, re
|
|
|
2839
2860
|
ref,
|
|
2840
2861
|
className: cn(
|
|
2841
2862
|
"flex items-center gap-base pt-base border-b border-tab-border",
|
|
2842
|
-
hasOffset && "px-
|
|
2863
|
+
hasOffset && "px-xl",
|
|
2843
2864
|
className
|
|
2844
2865
|
),
|
|
2845
2866
|
...props
|
|
@@ -2960,7 +2981,7 @@ var Tag = React24.forwardRef(
|
|
|
2960
2981
|
"inline-flex shrink-0 items-center justify-center",
|
|
2961
2982
|
"rounded-base cursor-pointer",
|
|
2962
2983
|
"p-xs",
|
|
2963
|
-
size === "md" && "p-sm rounded-
|
|
2984
|
+
size === "md" && "p-sm rounded-lg"
|
|
2964
2985
|
),
|
|
2965
2986
|
"aria-label": "Remove",
|
|
2966
2987
|
children: /* @__PURE__ */ jsx24(Icon17, { icon: faXmarkSolid5, size: iconSize })
|
|
@@ -3046,7 +3067,7 @@ var TextArea = React25.forwardRef(
|
|
|
3046
3067
|
"aria-describedby": errorId,
|
|
3047
3068
|
className: cn(
|
|
3048
3069
|
"w-full min-h-[120px] resize-vertical",
|
|
3049
|
-
"px-
|
|
3070
|
+
"px-lg py-base",
|
|
3050
3071
|
"rounded-md border overflow-clip outline-none",
|
|
3051
3072
|
"text-sm",
|
|
3052
3073
|
"font-regular",
|
|
@@ -3090,7 +3111,7 @@ var textInputVariants = cva13(
|
|
|
3090
3111
|
variants: {
|
|
3091
3112
|
size: {
|
|
3092
3113
|
sm: "px-base py-sm gap-base rounded-base",
|
|
3093
|
-
md: "px-
|
|
3114
|
+
md: "px-lg py-[10px] gap-base rounded-md"
|
|
3094
3115
|
}
|
|
3095
3116
|
},
|
|
3096
3117
|
defaultVariants: { size: "md" }
|
|
@@ -3241,7 +3262,7 @@ var TextInput = React26.forwardRef(
|
|
|
3241
3262
|
onClick: onButtonClick,
|
|
3242
3263
|
className: cn(
|
|
3243
3264
|
"shrink-0 flex items-center justify-center border",
|
|
3244
|
-
size === "sm" ? "px-base rounded-r-base" : "px-
|
|
3265
|
+
size === "sm" ? "px-base rounded-r-base" : "px-lg rounded-r-md",
|
|
3245
3266
|
attachedButtonStyles[disabled ? "disabled" : "enabled"]
|
|
3246
3267
|
),
|
|
3247
3268
|
children: /* @__PURE__ */ jsx26(Icon19, { icon: buttonIcon ?? faPlusSolid2, size: "sm", className: icColor })
|
|
@@ -3278,7 +3299,7 @@ var chipInputVariants = cva14(
|
|
|
3278
3299
|
variants: {
|
|
3279
3300
|
size: {
|
|
3280
3301
|
sm: "px-base py-sm rounded-base",
|
|
3281
|
-
md: "px-
|
|
3302
|
+
md: "px-lg py-[10px] rounded-md"
|
|
3282
3303
|
}
|
|
3283
3304
|
},
|
|
3284
3305
|
defaultVariants: { size: "md" }
|
|
@@ -3489,7 +3510,7 @@ var inputVariants = cva15(
|
|
|
3489
3510
|
variants: {
|
|
3490
3511
|
size: {
|
|
3491
3512
|
sm: "px-base py-sm",
|
|
3492
|
-
md: "px-
|
|
3513
|
+
md: "px-lg py-[10px]"
|
|
3493
3514
|
}
|
|
3494
3515
|
},
|
|
3495
3516
|
defaultVariants: { size: "md" }
|
|
@@ -3738,7 +3759,7 @@ var UserMenu = React30.forwardRef(
|
|
|
3738
3759
|
"flex flex-col w-[260px] overflow-clip",
|
|
3739
3760
|
"bg-user-menu-bg",
|
|
3740
3761
|
"border border-user-menu-border",
|
|
3741
|
-
"rounded-
|
|
3762
|
+
"rounded-lg",
|
|
3742
3763
|
"shadow-lg",
|
|
3743
3764
|
"divide-y divide-user-menu-border",
|
|
3744
3765
|
className
|
|
@@ -3754,7 +3775,7 @@ var UserMenuInfoRow = React30.forwardRef(
|
|
|
3754
3775
|
"div",
|
|
3755
3776
|
{
|
|
3756
3777
|
ref,
|
|
3757
|
-
className: cn("flex items-center gap-base p-
|
|
3778
|
+
className: cn("flex items-center gap-base p-xl", className),
|
|
3758
3779
|
...props,
|
|
3759
3780
|
children: [
|
|
3760
3781
|
avatar,
|
|
@@ -3791,7 +3812,7 @@ var modalVariants = cva17(
|
|
|
3791
3812
|
[
|
|
3792
3813
|
"fixed top-[50%] left-[50%] -translate-x-1/2 -translate-y-1/2 z-50",
|
|
3793
3814
|
"flex flex-col",
|
|
3794
|
-
"bg-modal-bg border border-modal-border rounded-
|
|
3815
|
+
"bg-modal-bg border border-modal-border rounded-lg shadow-sm overflow-clip",
|
|
3795
3816
|
"outline-none",
|
|
3796
3817
|
"data-[state=open]:animate-modal-in data-[state=closed]:animate-modal-out"
|
|
3797
3818
|
],
|
|
@@ -3842,7 +3863,7 @@ var ModalHeader = React31.forwardRef(
|
|
|
3842
3863
|
{
|
|
3843
3864
|
ref,
|
|
3844
3865
|
className: cn(
|
|
3845
|
-
"flex items-start gap-
|
|
3866
|
+
"flex items-start gap-xl p-xl",
|
|
3846
3867
|
showBorder && "border-b border-modal-header-border",
|
|
3847
3868
|
className
|
|
3848
3869
|
),
|
|
@@ -3886,7 +3907,7 @@ var ModalBody = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
3886
3907
|
"div",
|
|
3887
3908
|
{
|
|
3888
3909
|
ref,
|
|
3889
|
-
className: cn("flex-1 overflow-y-auto p-
|
|
3910
|
+
className: cn("flex-1 overflow-y-auto p-xl", className),
|
|
3890
3911
|
...props
|
|
3891
3912
|
}
|
|
3892
3913
|
));
|
|
@@ -3897,7 +3918,7 @@ var ModalFooter = React31.forwardRef(
|
|
|
3897
3918
|
{
|
|
3898
3919
|
ref,
|
|
3899
3920
|
className: cn(
|
|
3900
|
-
"flex items-center justify-between gap-
|
|
3921
|
+
"flex items-center justify-between gap-lg p-xl",
|
|
3901
3922
|
showBorder && "border-t border-modal-footer-border",
|
|
3902
3923
|
className
|
|
3903
3924
|
),
|
|
@@ -3941,7 +3962,7 @@ var Dialog = React32.forwardRef(
|
|
|
3941
3962
|
] }),
|
|
3942
3963
|
/* @__PURE__ */ jsxs29(ModalFooter, { children: [
|
|
3943
3964
|
/* @__PURE__ */ jsx32(ModalClose, { asChild: true, children: /* @__PURE__ */ jsx32(Button, { appearance: "ghost", intent: "brand", size: "md", onClick: handleCancel, children: cancelLabel }) }),
|
|
3944
|
-
/* @__PURE__ */ jsxs29("div", { className: "flex items-center gap-
|
|
3965
|
+
/* @__PURE__ */ jsxs29("div", { className: "flex items-center gap-lg", children: [
|
|
3945
3966
|
secondaryLabel && /* @__PURE__ */ jsx32(Button, { appearance: "outlined", intent: "brand", size: "md", onClick: onSecondaryAction, children: secondaryLabel }),
|
|
3946
3967
|
/* @__PURE__ */ jsx32(
|
|
3947
3968
|
Button,
|
|
@@ -3971,8 +3992,8 @@ var emptyStateVariants = cva18(
|
|
|
3971
3992
|
{
|
|
3972
3993
|
variants: {
|
|
3973
3994
|
size: {
|
|
3974
|
-
md: "gap-
|
|
3975
|
-
sm: "gap-
|
|
3995
|
+
md: "gap-xl",
|
|
3996
|
+
sm: "gap-lg"
|
|
3976
3997
|
}
|
|
3977
3998
|
},
|
|
3978
3999
|
defaultVariants: {
|
|
@@ -4052,7 +4073,7 @@ var EmptyState = React33.forwardRef(
|
|
|
4052
4073
|
{
|
|
4053
4074
|
className: cn(
|
|
4054
4075
|
"flex items-center",
|
|
4055
|
-
isMd ? "gap-
|
|
4076
|
+
isMd ? "gap-xl" : "gap-base"
|
|
4056
4077
|
),
|
|
4057
4078
|
children: [
|
|
4058
4079
|
secondaryAction && /* @__PURE__ */ jsx33(
|
|
@@ -4096,7 +4117,7 @@ var AvatarCell = ({
|
|
|
4096
4117
|
subtitle,
|
|
4097
4118
|
src,
|
|
4098
4119
|
className
|
|
4099
|
-
}) => /* @__PURE__ */ jsxs31("div", { className: cn("flex items-center gap-
|
|
4120
|
+
}) => /* @__PURE__ */ jsxs31("div", { className: cn("flex items-center gap-lg", className), children: [
|
|
4100
4121
|
/* @__PURE__ */ jsx34(Avatar, { initials: getInitials(name), src, alt: name, size: "lg", shape: "rounded" }),
|
|
4101
4122
|
/* @__PURE__ */ jsxs31("div", { className: "flex flex-col", children: [
|
|
4102
4123
|
/* @__PURE__ */ jsx34("span", { className: "text-sm font-medium text-table-cell-text-primary leading-sm", children: name }),
|
|
@@ -4394,7 +4415,7 @@ var TableHead = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4394
4415
|
{
|
|
4395
4416
|
ref,
|
|
4396
4417
|
className: cn(
|
|
4397
|
-
"group/head h-10 px-
|
|
4418
|
+
"group/head h-10 px-lg py-lg text-left align-middle text-xs font-medium leading-xs",
|
|
4398
4419
|
"text-table-head-text bg-table-head-bg-default",
|
|
4399
4420
|
"hover:bg-table-head-bg-hover",
|
|
4400
4421
|
"border-b border-r border-table-border last:border-r-0",
|
|
@@ -4410,7 +4431,7 @@ var TableCell = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4410
4431
|
{
|
|
4411
4432
|
ref,
|
|
4412
4433
|
className: cn(
|
|
4413
|
-
"px-
|
|
4434
|
+
"px-lg py-lg align-middle text-sm font-medium max-h-[52px]",
|
|
4414
4435
|
"text-table-cell-text-primary",
|
|
4415
4436
|
"border-b border-r border-table-border last:border-r-0",
|
|
4416
4437
|
"[&:has([role=checkbox])]:pr-0",
|
|
@@ -4424,7 +4445,7 @@ var TableCaption = React35.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
4424
4445
|
"caption",
|
|
4425
4446
|
{
|
|
4426
4447
|
ref,
|
|
4427
|
-
className: cn("mt-
|
|
4448
|
+
className: cn("mt-lg text-sm text-table-cell-text-secondary", className),
|
|
4428
4449
|
...props
|
|
4429
4450
|
}
|
|
4430
4451
|
));
|
|
@@ -4502,7 +4523,7 @@ function DataTableSettingsModal({
|
|
|
4502
4523
|
};
|
|
4503
4524
|
return /* @__PURE__ */ jsx36(Modal, { open, onOpenChange, children: /* @__PURE__ */ jsxs32(ModalContent, { size: "sm", className, children: [
|
|
4504
4525
|
/* @__PURE__ */ jsx36(ModalHeader, { onClose: () => onOpenChange(false), children: /* @__PURE__ */ jsx36(ModalTitle, { children: title }) }),
|
|
4505
|
-
/* @__PURE__ */ jsx36(ModalBody, { children: /* @__PURE__ */ jsxs32("div", { className: "flex flex-col gap-
|
|
4526
|
+
/* @__PURE__ */ jsx36(ModalBody, { children: /* @__PURE__ */ jsxs32("div", { className: "flex flex-col gap-lg", children: [
|
|
4506
4527
|
/* @__PURE__ */ jsxs32("div", { className: "flex items-center justify-between gap-base", children: [
|
|
4507
4528
|
/* @__PURE__ */ jsxs32("span", { className: "text-sm font-medium text-table-cell-text-secondary", children: [
|
|
4508
4529
|
"Columns ",
|
|
@@ -4549,7 +4570,7 @@ function DataTableSettingsModal({
|
|
|
4549
4570
|
"flex flex-col max-h-[360px] overflow-auto rounded-base",
|
|
4550
4571
|
"border border-table-border"
|
|
4551
4572
|
),
|
|
4552
|
-
children: filtered.length === 0 ? /* @__PURE__ */ jsx36("div", { className: "py-
|
|
4573
|
+
children: filtered.length === 0 ? /* @__PURE__ */ jsx36("div", { className: "py-lg text-center text-sm text-table-cell-text-secondary", children: "No columns found" }) : filtered.map((c) => {
|
|
4553
4574
|
const key = getColKey(c);
|
|
4554
4575
|
const label = getColLabel(c);
|
|
4555
4576
|
const checked = draft[key] !== false;
|
|
@@ -4672,7 +4693,7 @@ function ColumnFilterPopover({
|
|
|
4672
4693
|
align: "start",
|
|
4673
4694
|
sideOffset: 4,
|
|
4674
4695
|
className: cn(
|
|
4675
|
-
"z-50 w-[240px] rounded-
|
|
4696
|
+
"z-50 w-[240px] rounded-lg border border-table-border bg-table-bg p-lg shadow-lg",
|
|
4676
4697
|
"animate-in fade-in-0 zoom-in-95"
|
|
4677
4698
|
),
|
|
4678
4699
|
onClick: (e) => e.stopPropagation(),
|
|
@@ -5264,7 +5285,7 @@ function DataTablePagination({
|
|
|
5264
5285
|
"div",
|
|
5265
5286
|
{
|
|
5266
5287
|
className: cn(
|
|
5267
|
-
"flex items-center justify-between px-
|
|
5288
|
+
"flex items-center justify-between px-xl py-lg",
|
|
5268
5289
|
className
|
|
5269
5290
|
),
|
|
5270
5291
|
children: [
|
|
@@ -5274,7 +5295,7 @@ function DataTablePagination({
|
|
|
5274
5295
|
totalCount,
|
|
5275
5296
|
" row(s) selected"
|
|
5276
5297
|
] }) }),
|
|
5277
|
-
/* @__PURE__ */ jsxs33("div", { className: "flex items-center gap-
|
|
5298
|
+
/* @__PURE__ */ jsxs33("div", { className: "flex items-center gap-xl", children: [
|
|
5278
5299
|
/* @__PURE__ */ jsxs33("div", { className: "flex items-center gap-sm", children: [
|
|
5279
5300
|
/* @__PURE__ */ jsx37("span", { className: "text-xs text-table-cell-text-secondary whitespace-nowrap", children: "Rows per page" }),
|
|
5280
5301
|
/* @__PURE__ */ jsx37(
|
|
@@ -5416,7 +5437,7 @@ function TruncatedLabel({
|
|
|
5416
5437
|
TooltipPrimitive3.Content,
|
|
5417
5438
|
{
|
|
5418
5439
|
sideOffset: 4,
|
|
5419
|
-
className: "z-50 px-base py-sm rounded-
|
|
5440
|
+
className: "z-50 px-base py-sm rounded-lg shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm max-w-[320px] data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
|
|
5420
5441
|
children: [
|
|
5421
5442
|
label,
|
|
5422
5443
|
/* @__PURE__ */ jsx39(TooltipPrimitive3.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -5906,7 +5927,7 @@ var SortButton = ({
|
|
|
5906
5927
|
"border border-btn-outlined-neutral-border-default rounded-md shadow-sm",
|
|
5907
5928
|
"cursor-pointer transition-colors",
|
|
5908
5929
|
"hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover",
|
|
5909
|
-
iconOnly ? "size-8 justify-center p-0" : "px-
|
|
5930
|
+
iconOnly ? "size-8 justify-center p-0" : "px-lg py-sm min-w-[80px]",
|
|
5910
5931
|
className
|
|
5911
5932
|
),
|
|
5912
5933
|
children: [
|
|
@@ -5935,7 +5956,7 @@ var SortButton = ({
|
|
|
5935
5956
|
align: "start",
|
|
5936
5957
|
className: cn(
|
|
5937
5958
|
"z-50 flex flex-col gap-xs overflow-clip p-xs",
|
|
5938
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
5959
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
5939
5960
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
5940
5961
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
5941
5962
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -6136,7 +6157,7 @@ var SaveViewButton = React44.forwardRef(
|
|
|
6136
6157
|
),
|
|
6137
6158
|
children: [
|
|
6138
6159
|
/* @__PURE__ */ jsx44("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-btn-solid-brand-text-default", children: label }),
|
|
6139
|
-
/* @__PURE__ */ jsx44("span", { className: "absolute inset-0 rounded-l-[
|
|
6160
|
+
/* @__PURE__ */ jsx44("span", { className: "absolute inset-0 rounded-l-[9px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
|
|
6140
6161
|
]
|
|
6141
6162
|
}
|
|
6142
6163
|
),
|
|
@@ -6159,7 +6180,7 @@ var SaveViewButton = React44.forwardRef(
|
|
|
6159
6180
|
className: "text-btn-solid-brand-text-default"
|
|
6160
6181
|
}
|
|
6161
6182
|
),
|
|
6162
|
-
/* @__PURE__ */ jsx44("span", { className: "absolute inset-0 rounded-r-[
|
|
6183
|
+
/* @__PURE__ */ jsx44("span", { className: "absolute inset-0 rounded-r-[9px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
|
|
6163
6184
|
]
|
|
6164
6185
|
}
|
|
6165
6186
|
)
|
|
@@ -6191,7 +6212,7 @@ var OperatorSelector = ({
|
|
|
6191
6212
|
align: "start",
|
|
6192
6213
|
className: cn(
|
|
6193
6214
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
6194
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
6215
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
6195
6216
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
6196
6217
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
6197
6218
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -6517,7 +6538,7 @@ var DatePicker = React45.forwardRef(
|
|
|
6517
6538
|
ref,
|
|
6518
6539
|
className: cn(
|
|
6519
6540
|
"flex flex-col overflow-clip",
|
|
6520
|
-
"bg-datepicker-bg border border-datepicker-border rounded-
|
|
6541
|
+
"bg-datepicker-bg border border-datepicker-border rounded-lg shadow-lg",
|
|
6521
6542
|
className
|
|
6522
6543
|
),
|
|
6523
6544
|
...props,
|
|
@@ -6542,7 +6563,7 @@ var DatePickerSelects = React45.forwardRef(({ className, formatDate = defaultFor
|
|
|
6542
6563
|
"div",
|
|
6543
6564
|
{
|
|
6544
6565
|
ref,
|
|
6545
|
-
className: cn("flex flex-col items-start pt-
|
|
6566
|
+
className: cn("flex flex-col items-start pt-xl px-xl", className),
|
|
6546
6567
|
...props,
|
|
6547
6568
|
children: /* @__PURE__ */ jsxs43("div", { className: "flex items-center gap-base w-full", children: [
|
|
6548
6569
|
/* @__PURE__ */ jsxs43("div", { className: "flex-1 flex items-center gap-base min-w-0 px-base py-sm bg-gradient-to-t from-[var(--color-select-bg-default)] to-[var(--color-select-bg-gradient-to)] border border-[var(--color-select-border-default)] rounded-base shadow-sm", children: [
|
|
@@ -6654,7 +6675,7 @@ var DatePickerCalendar = React45.forwardRef(({ className, header, ...props }, re
|
|
|
6654
6675
|
...props,
|
|
6655
6676
|
children: [
|
|
6656
6677
|
header,
|
|
6657
|
-
/* @__PURE__ */ jsxs43("div", { className: "flex flex-col gap-
|
|
6678
|
+
/* @__PURE__ */ jsxs43("div", { className: "flex flex-col gap-xl p-xl", children: [
|
|
6658
6679
|
/* @__PURE__ */ jsxs43("div", { className: "flex items-center justify-between", children: [
|
|
6659
6680
|
/* @__PURE__ */ jsxs43("span", { className: "text-base font-medium leading-base text-datepicker-header-text", children: [
|
|
6660
6681
|
MONTH_NAMES[month],
|
|
@@ -6743,7 +6764,7 @@ var DatePickerSuggestions = React45.forwardRef(
|
|
|
6743
6764
|
),
|
|
6744
6765
|
...props,
|
|
6745
6766
|
children: [
|
|
6746
|
-
/* @__PURE__ */ jsx48("div", { className: "pt-
|
|
6767
|
+
/* @__PURE__ */ jsx48("div", { className: "pt-xl px-base", children: /* @__PURE__ */ jsx48("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ jsx48("span", { className: "flex-1 text-xs font-medium leading-xs text-datepicker-suggestion-heading uppercase truncate", children: "Suggestions" }) }) }),
|
|
6747
6768
|
/* @__PURE__ */ jsx48("div", { className: "flex flex-1 flex-col p-base min-w-[222px]", children: suggestions.map((suggestion, i) => /* @__PURE__ */ jsxs43(
|
|
6748
6769
|
"button",
|
|
6749
6770
|
{
|
|
@@ -6769,7 +6790,7 @@ var DatePickerFooter = React45.forwardRef(
|
|
|
6769
6790
|
{
|
|
6770
6791
|
ref,
|
|
6771
6792
|
className: cn(
|
|
6772
|
-
"flex items-center justify-between p-
|
|
6793
|
+
"flex items-center justify-between p-xl",
|
|
6773
6794
|
"border-t border-datepicker-footer-border",
|
|
6774
6795
|
"bg-datepicker-bg",
|
|
6775
6796
|
className
|
|
@@ -7387,7 +7408,7 @@ var PropertySelector = ({
|
|
|
7387
7408
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
7388
7409
|
className: cn(
|
|
7389
7410
|
"z-50 flex flex-col gap-xs overflow-hidden p-xs",
|
|
7390
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7411
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7391
7412
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7392
7413
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7393
7414
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -7397,7 +7418,7 @@ var PropertySelector = ({
|
|
|
7397
7418
|
activeGroup === null ? (
|
|
7398
7419
|
/* ── Level 1: Search + (pinned props) + Categories ──────── */
|
|
7399
7420
|
/* @__PURE__ */ jsxs47("div", { className: "flex flex-col gap-xs flex-1 min-h-0", children: [
|
|
7400
|
-
/* @__PURE__ */ jsxs47("div", { className: "shrink-0 flex items-center gap-base px-
|
|
7421
|
+
/* @__PURE__ */ jsxs47("div", { className: "shrink-0 flex items-center gap-base px-lg py-base border border-input rounded-md", children: [
|
|
7401
7422
|
/* @__PURE__ */ jsx53(
|
|
7402
7423
|
Icon31,
|
|
7403
7424
|
{
|
|
@@ -7531,7 +7552,7 @@ var PropertySelector = ({
|
|
|
7531
7552
|
]
|
|
7532
7553
|
}
|
|
7533
7554
|
),
|
|
7534
|
-
/* @__PURE__ */ jsxs47("div", { className: "shrink-0 flex items-center gap-base px-
|
|
7555
|
+
/* @__PURE__ */ jsxs47("div", { className: "shrink-0 flex items-center gap-base px-lg py-base border border-input rounded-md", children: [
|
|
7535
7556
|
/* @__PURE__ */ jsx53(
|
|
7536
7557
|
Icon31,
|
|
7537
7558
|
{
|
|
@@ -7614,7 +7635,7 @@ var KebabMenu = ({
|
|
|
7614
7635
|
align: "end",
|
|
7615
7636
|
className: cn(
|
|
7616
7637
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
7617
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7638
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7618
7639
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7619
7640
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7620
7641
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -7730,7 +7751,7 @@ var FilterEditor = ({
|
|
|
7730
7751
|
align: "start",
|
|
7731
7752
|
className: cn(
|
|
7732
7753
|
"z-50 flex flex-col overflow-clip",
|
|
7733
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7754
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7734
7755
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7735
7756
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7736
7757
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -7807,7 +7828,7 @@ var SegmentPopover = ({
|
|
|
7807
7828
|
align,
|
|
7808
7829
|
className: cn(
|
|
7809
7830
|
"z-50 flex flex-col overflow-clip",
|
|
7810
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7831
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7811
7832
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7812
7833
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7813
7834
|
"data-[side=bottom]:slide-in-from-top-2"
|
|
@@ -7898,7 +7919,7 @@ var InteractiveFilterChip = ({
|
|
|
7898
7919
|
{
|
|
7899
7920
|
className: cn(
|
|
7900
7921
|
"inline-flex items-center overflow-clip",
|
|
7901
|
-
"bg-filter-chip-bg border border-filter-chip-border rounded-
|
|
7922
|
+
"bg-filter-chip-bg border border-filter-chip-border rounded-lg shadow-sm",
|
|
7902
7923
|
className
|
|
7903
7924
|
),
|
|
7904
7925
|
children: [
|
|
@@ -8144,7 +8165,7 @@ var FilterNodeActions = ({
|
|
|
8144
8165
|
"button",
|
|
8145
8166
|
{
|
|
8146
8167
|
type: "button",
|
|
8147
|
-
className: "shrink-0 flex items-center justify-center p-sm rounded-
|
|
8168
|
+
className: "shrink-0 flex items-center justify-center p-sm rounded-lg cursor-pointer transition-colors hover:bg-accent",
|
|
8148
8169
|
"aria-label": "More actions",
|
|
8149
8170
|
children: /* @__PURE__ */ jsx58(
|
|
8150
8171
|
Icon36,
|
|
@@ -8163,7 +8184,7 @@ var FilterNodeActions = ({
|
|
|
8163
8184
|
align: "end",
|
|
8164
8185
|
className: cn(
|
|
8165
8186
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
8166
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8187
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8167
8188
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8168
8189
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
8169
8190
|
"min-w-[180px]"
|
|
@@ -8219,7 +8240,7 @@ var selectBtnStyle = [
|
|
|
8219
8240
|
"flex items-center gap-base",
|
|
8220
8241
|
"px-base py-sm",
|
|
8221
8242
|
"bg-gradient-to-t from-btn-outlined-neutral-bg-default to-btn-outlined-neutral-bg-gradient-to-default",
|
|
8222
|
-
"border border-btn-outlined-neutral-border-default rounded-
|
|
8243
|
+
"border border-btn-outlined-neutral-border-default rounded-lg shadow-sm",
|
|
8223
8244
|
"cursor-pointer transition-colors",
|
|
8224
8245
|
"hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover"
|
|
8225
8246
|
];
|
|
@@ -8284,7 +8305,7 @@ var AdvancedRow = ({
|
|
|
8284
8305
|
TooltipPrimitive4.Content,
|
|
8285
8306
|
{
|
|
8286
8307
|
sideOffset: 4,
|
|
8287
|
-
className: "z-50 px-base py-sm rounded-
|
|
8308
|
+
className: "z-50 px-base py-sm rounded-lg shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
|
|
8288
8309
|
children: [
|
|
8289
8310
|
'"Or" operator coming soon',
|
|
8290
8311
|
/* @__PURE__ */ jsx59(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -8305,7 +8326,7 @@ var AdvancedRow = ({
|
|
|
8305
8326
|
align: "start",
|
|
8306
8327
|
className: cn(
|
|
8307
8328
|
"z-50 flex flex-col p-xs overflow-clip max-h-[300px] overflow-y-auto",
|
|
8308
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8329
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8309
8330
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8310
8331
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
8311
8332
|
"min-w-[200px]"
|
|
@@ -8368,7 +8389,7 @@ var AdvancedRow = ({
|
|
|
8368
8389
|
align: "start",
|
|
8369
8390
|
className: cn(
|
|
8370
8391
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
8371
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8392
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8372
8393
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8373
8394
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
8374
8395
|
"min-w-[160px]"
|
|
@@ -8459,7 +8480,7 @@ var AdvancedRow = ({
|
|
|
8459
8480
|
align: "start",
|
|
8460
8481
|
className: cn(
|
|
8461
8482
|
"z-50 flex flex-col overflow-clip",
|
|
8462
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8483
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8463
8484
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8464
8485
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
8465
8486
|
),
|
|
@@ -8558,7 +8579,7 @@ function ValueTagRow({ tags }) {
|
|
|
8558
8579
|
TooltipPrimitive4.Content,
|
|
8559
8580
|
{
|
|
8560
8581
|
sideOffset: 4,
|
|
8561
|
-
className: "z-50 px-base py-sm rounded-
|
|
8582
|
+
className: "z-50 px-base py-sm rounded-lg shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-xs font-regular leading-xs flex flex-col gap-xs data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
|
|
8562
8583
|
children: [
|
|
8563
8584
|
overflowTags.map((t) => /* @__PURE__ */ jsx59("span", { children: t }, t)),
|
|
8564
8585
|
/* @__PURE__ */ jsx59(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -8593,7 +8614,7 @@ var AdvancedGroup = ({
|
|
|
8593
8614
|
TooltipPrimitive5.Content,
|
|
8594
8615
|
{
|
|
8595
8616
|
sideOffset: 4,
|
|
8596
|
-
className: "z-50 px-base py-sm rounded-
|
|
8617
|
+
className: "z-50 px-base py-sm rounded-lg shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
|
|
8597
8618
|
children: [
|
|
8598
8619
|
'"Or" operator coming soon',
|
|
8599
8620
|
/* @__PURE__ */ jsx60(TooltipPrimitive5.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -8601,7 +8622,7 @@ var AdvancedGroup = ({
|
|
|
8601
8622
|
}
|
|
8602
8623
|
) })
|
|
8603
8624
|
] }) }) }),
|
|
8604
|
-
/* @__PURE__ */ jsxs54("div", { className: "flex-1 min-w-0 flex flex-col gap-base p-base border border-border rounded-
|
|
8625
|
+
/* @__PURE__ */ jsxs54("div", { className: "flex-1 min-w-0 flex flex-col gap-base p-base border border-border rounded-lg bg-secondary", children: [
|
|
8605
8626
|
children,
|
|
8606
8627
|
onAddFilter && properties && /* @__PURE__ */ jsx60(
|
|
8607
8628
|
PropertySelector,
|
|
@@ -8617,7 +8638,7 @@ var AdvancedGroup = ({
|
|
|
8617
8638
|
"button",
|
|
8618
8639
|
{
|
|
8619
8640
|
type: "button",
|
|
8620
|
-
className: "flex items-center gap-sm px-base py-sm text-sm font-medium leading-sm text-muted-foreground cursor-pointer transition-colors rounded-
|
|
8641
|
+
className: "flex items-center gap-sm px-base py-sm text-sm font-medium leading-sm text-muted-foreground cursor-pointer transition-colors rounded-lg hover:bg-accent hover:text-foreground w-fit",
|
|
8621
8642
|
children: [
|
|
8622
8643
|
/* @__PURE__ */ jsx60(Icon38, { icon: faPlusOutline2, size: "sm" }),
|
|
8623
8644
|
"Add filter"
|
|
@@ -8810,7 +8831,7 @@ var AdvancedPopover = ({
|
|
|
8810
8831
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
8811
8832
|
className: cn(
|
|
8812
8833
|
"z-50 flex flex-col",
|
|
8813
|
-
"bg-background rounded-
|
|
8834
|
+
"bg-background rounded-lg shadow-lg",
|
|
8814
8835
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8815
8836
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
8816
8837
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -9118,7 +9139,7 @@ var SummaryChip = ({
|
|
|
9118
9139
|
TooltipPrimitive6.Content,
|
|
9119
9140
|
{
|
|
9120
9141
|
sideOffset: 4,
|
|
9121
|
-
className: "z-50 px-base py-sm rounded-
|
|
9142
|
+
className: "z-50 px-base py-sm rounded-lg shadow-lg bg-tooltip-default-bg text-tooltip-default-text text-sm font-regular leading-sm max-w-[320px] data-[state=delayed-open]:animate-[tooltip-in_150ms_ease-out] data-[state=closed]:animate-[tooltip-out_100ms_ease-in]",
|
|
9122
9143
|
children: [
|
|
9123
9144
|
tooltipContent,
|
|
9124
9145
|
/* @__PURE__ */ jsx62(TooltipPrimitive6.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -9135,7 +9156,7 @@ var SummaryChip = ({
|
|
|
9135
9156
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
9136
9157
|
className: cn(
|
|
9137
9158
|
"z-50 flex flex-col overflow-clip",
|
|
9138
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
9159
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
9139
9160
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
9140
9161
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
9141
9162
|
"data-[side=bottom]:slide-in-from-top-2",
|