@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.js
CHANGED
|
@@ -333,19 +333,19 @@ var buttonVariants = (0, import_class_variance_authority2.cva)(
|
|
|
333
333
|
},
|
|
334
334
|
size: {
|
|
335
335
|
sm: [
|
|
336
|
-
"h-6 py-xs gap-
|
|
336
|
+
"h-6 px-sm py-xs gap-none",
|
|
337
337
|
"text-xs",
|
|
338
338
|
"min-w-16 rounded-base"
|
|
339
339
|
],
|
|
340
340
|
md: [
|
|
341
|
-
"h-8 px-base py-sm gap-
|
|
341
|
+
"h-8 px-base py-sm gap-2xs",
|
|
342
342
|
"text-sm",
|
|
343
343
|
"min-w-20 rounded-md"
|
|
344
344
|
],
|
|
345
345
|
lg: [
|
|
346
|
-
"h-10 px-
|
|
346
|
+
"h-10 px-lg py-md gap-2xs",
|
|
347
347
|
"text-sm",
|
|
348
|
-
"min-w-20 rounded-
|
|
348
|
+
"min-w-20 rounded-lg"
|
|
349
349
|
]
|
|
350
350
|
},
|
|
351
351
|
iconOnly: {
|
|
@@ -471,6 +471,25 @@ var iconSizeMap = {
|
|
|
471
471
|
lg: "sm"
|
|
472
472
|
// 14px
|
|
473
473
|
};
|
|
474
|
+
var textWrapperClass = (size) => cn(
|
|
475
|
+
"inline-flex items-center justify-center px-xs",
|
|
476
|
+
size === "lg" ? "gap-sm" : "gap-xs"
|
|
477
|
+
);
|
|
478
|
+
var ButtonBadge = ({ size, intent, children }) => {
|
|
479
|
+
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)]";
|
|
480
|
+
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";
|
|
481
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
482
|
+
"span",
|
|
483
|
+
{
|
|
484
|
+
className: cn(
|
|
485
|
+
"inline-flex items-center font-medium whitespace-nowrap",
|
|
486
|
+
shape,
|
|
487
|
+
colors
|
|
488
|
+
),
|
|
489
|
+
children
|
|
490
|
+
}
|
|
491
|
+
);
|
|
492
|
+
};
|
|
474
493
|
var Button = React2.forwardRef(
|
|
475
494
|
({
|
|
476
495
|
className,
|
|
@@ -484,26 +503,28 @@ var Button = React2.forwardRef(
|
|
|
484
503
|
leftIcon,
|
|
485
504
|
rightIcon,
|
|
486
505
|
disabled,
|
|
506
|
+
badge,
|
|
487
507
|
children,
|
|
488
508
|
...props
|
|
489
509
|
}, ref) => {
|
|
490
510
|
const appearance = appearanceProp ?? "solid";
|
|
491
511
|
const intent = intentProp ?? "brand";
|
|
512
|
+
const resolvedSize = size ?? "md";
|
|
492
513
|
const isDisabled = disabled || loading;
|
|
493
514
|
const isIconOnly = iconOnlyProp ?? !children;
|
|
494
|
-
const iconSize = iconSizeMap[
|
|
495
|
-
const smPadding = size === "sm" && !isIconOnly ? cn(
|
|
496
|
-
leftIcon || loading ? "pl-xs" : "pl-sm",
|
|
497
|
-
rightIcon ? "pr-xs" : "pr-sm"
|
|
498
|
-
) : "";
|
|
515
|
+
const iconSize = iconSizeMap[resolvedSize];
|
|
499
516
|
const variantClasses = buttonVariants({
|
|
500
517
|
appearance,
|
|
501
518
|
intent,
|
|
502
|
-
size,
|
|
519
|
+
size: resolvedSize,
|
|
503
520
|
iconOnly: isIconOnly || void 0,
|
|
504
521
|
fullWidth,
|
|
505
|
-
className
|
|
522
|
+
className
|
|
506
523
|
});
|
|
524
|
+
const labelNode = !isIconOnly ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { className: textWrapperClass(resolvedSize), children: [
|
|
525
|
+
children,
|
|
526
|
+
badge != null && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ButtonBadge, { size: resolvedSize, intent, children: badge })
|
|
527
|
+
] }) : null;
|
|
507
528
|
if (asChild) {
|
|
508
529
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_slot.Slot, { ref, className: cn(variantClasses), ...props, children });
|
|
509
530
|
}
|
|
@@ -517,7 +538,7 @@ var Button = React2.forwardRef(
|
|
|
517
538
|
...props,
|
|
518
539
|
children: [
|
|
519
540
|
loading ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_icons2.Icon, { icon: import_icons2.faSpinnerSolid, size: iconSize, className: "animate-spin" }) : leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_icons2.Icon, { icon: leftIcon, size: iconSize }) : null,
|
|
520
|
-
|
|
541
|
+
labelNode,
|
|
521
542
|
rightIcon && !loading && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_icons2.Icon, { icon: rightIcon, size: iconSize })
|
|
522
543
|
]
|
|
523
544
|
}
|
|
@@ -747,7 +768,7 @@ var BrowserTab = React3.forwardRef(
|
|
|
747
768
|
{
|
|
748
769
|
ref,
|
|
749
770
|
className: cn(
|
|
750
|
-
"flex items-end w-full h-[44px] border-b border-browser-tab-border pl-base pr-
|
|
771
|
+
"flex items-end w-full h-[44px] border-b border-browser-tab-border pl-base pr-xl",
|
|
751
772
|
className
|
|
752
773
|
),
|
|
753
774
|
...props,
|
|
@@ -795,7 +816,7 @@ var BrowserTab = React3.forwardRef(
|
|
|
795
816
|
align: "end",
|
|
796
817
|
className: cn(
|
|
797
818
|
"z-50 flex flex-col gap-base overflow-clip",
|
|
798
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
819
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg p-base shadow-lg",
|
|
799
820
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
800
821
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
801
822
|
"data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2"
|
|
@@ -877,7 +898,7 @@ var containerStyle = [
|
|
|
877
898
|
"flex flex-col gap-base overflow-clip",
|
|
878
899
|
"bg-dropdown-bg",
|
|
879
900
|
"border border-dropdown-border",
|
|
880
|
-
"rounded-
|
|
901
|
+
"rounded-lg",
|
|
881
902
|
"p-xs",
|
|
882
903
|
"shadow-lg"
|
|
883
904
|
];
|
|
@@ -1040,7 +1061,7 @@ DropdownMenuHeading.displayName = "DropdownMenuHeading";
|
|
|
1040
1061
|
var clearStyle = [
|
|
1041
1062
|
"sticky bottom-0 -mx-base -mb-base",
|
|
1042
1063
|
"flex items-center justify-center",
|
|
1043
|
-
"h-10 min-w-[80px] px-
|
|
1064
|
+
"h-10 min-w-[80px] px-lg py-[10px]",
|
|
1044
1065
|
"bg-gradient-to-t from-dropdown-bg from-[10%] to-dropdown-bg",
|
|
1045
1066
|
"border border-dropdown-border",
|
|
1046
1067
|
"shadow-sm",
|
|
@@ -1124,33 +1145,19 @@ var BulkAction = React5.forwardRef(
|
|
|
1124
1145
|
role: "toolbar",
|
|
1125
1146
|
"aria-label": "Bulk actions",
|
|
1126
1147
|
className: cn(
|
|
1127
|
-
"flex items-center gap-lg
|
|
1148
|
+
"flex items-center gap-xl px-lg py-base w-full min-w-0",
|
|
1128
1149
|
"bg-bulk-action-bg border-l border-r border-t border-bulk-action-border",
|
|
1129
|
-
"rounded-tl-
|
|
1150
|
+
"rounded-tl-lg rounded-tr-lg",
|
|
1130
1151
|
"shadow-[0px_0px_6px_0px_rgba(0,0,0,0.02),0px_2px_4px_0px_rgba(0,0,0,0.08)]",
|
|
1131
1152
|
sticky && "sticky bottom-0 z-10",
|
|
1132
1153
|
className
|
|
1133
1154
|
),
|
|
1134
1155
|
...props,
|
|
1135
1156
|
children: [
|
|
1136
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
type: "button",
|
|
1141
|
-
appearance: "ghost",
|
|
1142
|
-
intent: "alert",
|
|
1143
|
-
size: "sm",
|
|
1144
|
-
leftIcon: import_icons5.faXmarkOutline,
|
|
1145
|
-
onClick: onClear,
|
|
1146
|
-
children: clearLabel
|
|
1147
|
-
}
|
|
1148
|
-
),
|
|
1149
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "text-sm font-regular leading-sm text-bulk-action-count whitespace-nowrap", children: [
|
|
1150
|
-
count,
|
|
1151
|
-
" ",
|
|
1152
|
-
countLabel
|
|
1153
|
-
] })
|
|
1157
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "text-sm font-regular leading-sm text-bulk-action-count whitespace-nowrap shrink-0", children: [
|
|
1158
|
+
count,
|
|
1159
|
+
" ",
|
|
1160
|
+
countLabel
|
|
1154
1161
|
] }),
|
|
1155
1162
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
1156
1163
|
"div",
|
|
@@ -1203,6 +1210,20 @@ var BulkAction = React5.forwardRef(
|
|
|
1203
1210
|
)
|
|
1204
1211
|
]
|
|
1205
1212
|
}
|
|
1213
|
+
),
|
|
1214
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
1215
|
+
Button,
|
|
1216
|
+
{
|
|
1217
|
+
type: "button",
|
|
1218
|
+
appearance: "ghost",
|
|
1219
|
+
intent: "brand",
|
|
1220
|
+
size: "md",
|
|
1221
|
+
iconOnly: true,
|
|
1222
|
+
leftIcon: import_icons5.faXmarkOutline,
|
|
1223
|
+
onClick: onClear,
|
|
1224
|
+
"aria-label": clearLabel,
|
|
1225
|
+
className: "shrink-0"
|
|
1226
|
+
}
|
|
1206
1227
|
)
|
|
1207
1228
|
]
|
|
1208
1229
|
}
|
|
@@ -1236,7 +1257,7 @@ var tooltipContentVariants = (0, import_class_variance_authority3.cva)(
|
|
|
1236
1257
|
"inline-flex items-center z-50",
|
|
1237
1258
|
"gap-xs",
|
|
1238
1259
|
"px-base py-sm",
|
|
1239
|
-
"rounded-
|
|
1260
|
+
"rounded-lg",
|
|
1240
1261
|
"shadow-lg",
|
|
1241
1262
|
"text-sm",
|
|
1242
1263
|
"font-regular",
|
|
@@ -1479,7 +1500,7 @@ var import_class_variance_authority5 = require("class-variance-authority");
|
|
|
1479
1500
|
var import_icons8 = require("@l3mpire/icons");
|
|
1480
1501
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
1481
1502
|
var infoMessageVariants = (0, import_class_variance_authority5.cva)(
|
|
1482
|
-
"flex items-start gap-
|
|
1503
|
+
"flex items-start gap-lg px-xl py-base rounded-lg",
|
|
1483
1504
|
{
|
|
1484
1505
|
variants: {
|
|
1485
1506
|
type: {
|
|
@@ -1559,8 +1580,8 @@ var import_icons9 = require("@l3mpire/icons");
|
|
|
1559
1580
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
1560
1581
|
var toastVariants = (0, import_class_variance_authority6.cva)(
|
|
1561
1582
|
[
|
|
1562
|
-
"flex flex-col items-end w-[308px] gap-
|
|
1563
|
-
"rounded-
|
|
1583
|
+
"flex flex-col items-end w-[308px] gap-lg p-xl",
|
|
1584
|
+
"rounded-lg",
|
|
1564
1585
|
"border border-toast-border",
|
|
1565
1586
|
"bg-gradient-to-b to-background to-[60%]",
|
|
1566
1587
|
"[background-size:100%_calc(100%+120px)] [background-position:0_-120px]",
|
|
@@ -1600,14 +1621,14 @@ var typeIconMap2 = {
|
|
|
1600
1621
|
};
|
|
1601
1622
|
var titleStyle2 = "text-sm font-medium leading-sm text-toast-title";
|
|
1602
1623
|
var subtitleStyle = "text-sm font-regular leading-sm text-toast-subtitle";
|
|
1603
|
-
var closeButtonStyle2 = "inline-flex shrink-0 items-center justify-center self-start p-sm rounded-
|
|
1624
|
+
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";
|
|
1604
1625
|
var ToastProvider = ToastPrimitive.Provider;
|
|
1605
1626
|
var ToastViewport = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1606
1627
|
ToastPrimitive.Viewport,
|
|
1607
1628
|
{
|
|
1608
1629
|
ref,
|
|
1609
1630
|
className: cn(
|
|
1610
|
-
"fixed top-0 right-0 z-[100] flex max-h-screen w-full flex-col-reverse p-
|
|
1631
|
+
"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]",
|
|
1611
1632
|
className
|
|
1612
1633
|
),
|
|
1613
1634
|
...props
|
|
@@ -1629,7 +1650,7 @@ var Toast = React10.forwardRef(({ className, type = "info", title, subtitle, onC
|
|
|
1629
1650
|
className: cn(toastVariants({ type }), !actions && "min-h-[80px]", className),
|
|
1630
1651
|
...props,
|
|
1631
1652
|
children: [
|
|
1632
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex w-full items-center gap-
|
|
1653
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex w-full items-center gap-lg", children: [
|
|
1633
1654
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: iconContainerVariants({ type }), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_icons9.Icon, { icon, size: "lg", className: color }) }),
|
|
1634
1655
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
1635
1656
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ToastPrimitive.Title, { className: titleStyle2, children: title }),
|
|
@@ -1718,7 +1739,7 @@ var import_icons10 = require("@l3mpire/icons");
|
|
|
1718
1739
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1719
1740
|
var cardStyles = {
|
|
1720
1741
|
base: [
|
|
1721
|
-
"group relative flex w-full items-center gap-base rounded-
|
|
1742
|
+
"group relative flex w-full items-center gap-base rounded-lg border border-solid p-lg text-left transition-colors",
|
|
1722
1743
|
"border-switch-card-border",
|
|
1723
1744
|
"focus-visible:outline-none focus-visible:shadow-focus-ring",
|
|
1724
1745
|
"disabled:pointer-events-none disabled:opacity-60",
|
|
@@ -1989,7 +2010,7 @@ var SidebarHeader = React14.forwardRef(
|
|
|
1989
2010
|
ref,
|
|
1990
2011
|
className: cn(
|
|
1991
2012
|
"flex items-center shrink-0 h-[44px] border-b border-sidebar-border",
|
|
1992
|
-
isCollapsed ? "justify-center px-
|
|
2013
|
+
isCollapsed ? "justify-center px-xl" : "justify-between px-xl",
|
|
1993
2014
|
className
|
|
1994
2015
|
),
|
|
1995
2016
|
...props,
|
|
@@ -2061,7 +2082,7 @@ var Sidebar = React14.forwardRef(
|
|
|
2061
2082
|
(child) => !(React14.isValidElement(child) && child.type?.displayName === "SidebarFooter")
|
|
2062
2083
|
);
|
|
2063
2084
|
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
|
|
2064
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "flex flex-col gap-
|
|
2085
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "flex flex-col gap-xl p-xl flex-1 overflow-y-auto", children: rest }),
|
|
2065
2086
|
footer
|
|
2066
2087
|
] });
|
|
2067
2088
|
})()
|
|
@@ -2092,7 +2113,7 @@ var SidebarFooter = React14.forwardRef(
|
|
|
2092
2113
|
{
|
|
2093
2114
|
ref,
|
|
2094
2115
|
className: cn(
|
|
2095
|
-
"flex flex-col p-
|
|
2116
|
+
"flex flex-col p-xl bg-sidebar-footer-bg border-t border-sidebar-border mt-auto w-full",
|
|
2096
2117
|
className
|
|
2097
2118
|
),
|
|
2098
2119
|
...props,
|
|
@@ -2121,7 +2142,7 @@ var searchBarVariants = (0, import_class_variance_authority8.cva)(
|
|
|
2121
2142
|
},
|
|
2122
2143
|
size: {
|
|
2123
2144
|
sm: "gap-sm px-base py-sm",
|
|
2124
|
-
md: "gap-base px-
|
|
2145
|
+
md: "gap-base px-lg py-base"
|
|
2125
2146
|
}
|
|
2126
2147
|
},
|
|
2127
2148
|
defaultVariants: { variant: "white", size: "md" }
|
|
@@ -2462,7 +2483,7 @@ var import_icons14 = require("@l3mpire/icons");
|
|
|
2462
2483
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
2463
2484
|
var cardStyles2 = {
|
|
2464
2485
|
base: [
|
|
2465
|
-
"group relative flex w-full items-start gap-base rounded-
|
|
2486
|
+
"group relative flex w-full items-start gap-base rounded-lg border border-solid p-lg text-left transition-colors",
|
|
2466
2487
|
"focus-visible:outline-none focus-visible:shadow-focus-ring",
|
|
2467
2488
|
"disabled:pointer-events-none disabled:opacity-60",
|
|
2468
2489
|
"cursor-pointer"
|
|
@@ -2590,7 +2611,7 @@ var sidebarItemVariants = (0, import_class_variance_authority10.cva)(
|
|
|
2590
2611
|
active: "bg-sidebar-item-active-bg"
|
|
2591
2612
|
},
|
|
2592
2613
|
type: {
|
|
2593
|
-
default: "px-
|
|
2614
|
+
default: "px-xl py-base",
|
|
2594
2615
|
collapsed: "p-base justify-center"
|
|
2595
2616
|
}
|
|
2596
2617
|
},
|
|
@@ -2698,7 +2719,7 @@ var selectVariants = (0, import_class_variance_authority11.cva)(
|
|
|
2698
2719
|
variants: {
|
|
2699
2720
|
size: {
|
|
2700
2721
|
sm: "px-base gap-base rounded-base min-w-[80px]",
|
|
2701
|
-
md: "px-
|
|
2722
|
+
md: "px-lg gap-base rounded-md"
|
|
2702
2723
|
}
|
|
2703
2724
|
},
|
|
2704
2725
|
defaultVariants: { size: "md" }
|
|
@@ -2845,7 +2866,7 @@ function SelectChips({ tags, onTagRemove, chipHeightPx }) {
|
|
|
2845
2866
|
{
|
|
2846
2867
|
sideOffset: 4,
|
|
2847
2868
|
className: cn(
|
|
2848
|
-
"z-50 px-base py-sm rounded-
|
|
2869
|
+
"z-50 px-base py-sm rounded-lg shadow-lg",
|
|
2849
2870
|
"bg-tooltip-default-bg text-tooltip-default-text",
|
|
2850
2871
|
"text-xs font-regular leading-xs",
|
|
2851
2872
|
"flex flex-col gap-xs",
|
|
@@ -2999,7 +3020,7 @@ var TabList = React23.forwardRef(({ className, hasOffset = false, ...props }, re
|
|
|
2999
3020
|
ref,
|
|
3000
3021
|
className: cn(
|
|
3001
3022
|
"flex items-center gap-base pt-base border-b border-tab-border",
|
|
3002
|
-
hasOffset && "px-
|
|
3023
|
+
hasOffset && "px-xl",
|
|
3003
3024
|
className
|
|
3004
3025
|
),
|
|
3005
3026
|
...props
|
|
@@ -3120,7 +3141,7 @@ var Tag = React24.forwardRef(
|
|
|
3120
3141
|
"inline-flex shrink-0 items-center justify-center",
|
|
3121
3142
|
"rounded-base cursor-pointer",
|
|
3122
3143
|
"p-xs",
|
|
3123
|
-
size === "md" && "p-sm rounded-
|
|
3144
|
+
size === "md" && "p-sm rounded-lg"
|
|
3124
3145
|
),
|
|
3125
3146
|
"aria-label": "Remove",
|
|
3126
3147
|
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons17.Icon, { icon: import_icons17.faXmarkSolid, size: iconSize })
|
|
@@ -3206,7 +3227,7 @@ var TextArea = React25.forwardRef(
|
|
|
3206
3227
|
"aria-describedby": errorId,
|
|
3207
3228
|
className: cn(
|
|
3208
3229
|
"w-full min-h-[120px] resize-vertical",
|
|
3209
|
-
"px-
|
|
3230
|
+
"px-lg py-base",
|
|
3210
3231
|
"rounded-md border overflow-clip outline-none",
|
|
3211
3232
|
"text-sm",
|
|
3212
3233
|
"font-regular",
|
|
@@ -3245,7 +3266,7 @@ var textInputVariants = (0, import_class_variance_authority13.cva)(
|
|
|
3245
3266
|
variants: {
|
|
3246
3267
|
size: {
|
|
3247
3268
|
sm: "px-base py-sm gap-base rounded-base",
|
|
3248
|
-
md: "px-
|
|
3269
|
+
md: "px-lg py-[10px] gap-base rounded-md"
|
|
3249
3270
|
}
|
|
3250
3271
|
},
|
|
3251
3272
|
defaultVariants: { size: "md" }
|
|
@@ -3396,7 +3417,7 @@ var TextInput = React26.forwardRef(
|
|
|
3396
3417
|
onClick: onButtonClick,
|
|
3397
3418
|
className: cn(
|
|
3398
3419
|
"shrink-0 flex items-center justify-center border",
|
|
3399
|
-
size === "sm" ? "px-base rounded-r-base" : "px-
|
|
3420
|
+
size === "sm" ? "px-base rounded-r-base" : "px-lg rounded-r-md",
|
|
3400
3421
|
attachedButtonStyles[disabled ? "disabled" : "enabled"]
|
|
3401
3422
|
),
|
|
3402
3423
|
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_icons19.Icon, { icon: buttonIcon ?? import_icons19.faPlusSolid, size: "sm", className: icColor })
|
|
@@ -3429,7 +3450,7 @@ var chipInputVariants = (0, import_class_variance_authority14.cva)(
|
|
|
3429
3450
|
variants: {
|
|
3430
3451
|
size: {
|
|
3431
3452
|
sm: "px-base py-sm rounded-base",
|
|
3432
|
-
md: "px-
|
|
3453
|
+
md: "px-lg py-[10px] rounded-md"
|
|
3433
3454
|
}
|
|
3434
3455
|
},
|
|
3435
3456
|
defaultVariants: { size: "md" }
|
|
@@ -3635,7 +3656,7 @@ var inputVariants = (0, import_class_variance_authority15.cva)(
|
|
|
3635
3656
|
variants: {
|
|
3636
3657
|
size: {
|
|
3637
3658
|
sm: "px-base py-sm",
|
|
3638
|
-
md: "px-
|
|
3659
|
+
md: "px-lg py-[10px]"
|
|
3639
3660
|
}
|
|
3640
3661
|
},
|
|
3641
3662
|
defaultVariants: { size: "md" }
|
|
@@ -3884,7 +3905,7 @@ var UserMenu = React30.forwardRef(
|
|
|
3884
3905
|
"flex flex-col w-[260px] overflow-clip",
|
|
3885
3906
|
"bg-user-menu-bg",
|
|
3886
3907
|
"border border-user-menu-border",
|
|
3887
|
-
"rounded-
|
|
3908
|
+
"rounded-lg",
|
|
3888
3909
|
"shadow-lg",
|
|
3889
3910
|
"divide-y divide-user-menu-border",
|
|
3890
3911
|
className
|
|
@@ -3900,7 +3921,7 @@ var UserMenuInfoRow = React30.forwardRef(
|
|
|
3900
3921
|
"div",
|
|
3901
3922
|
{
|
|
3902
3923
|
ref,
|
|
3903
|
-
className: cn("flex items-center gap-base p-
|
|
3924
|
+
className: cn("flex items-center gap-base p-xl", className),
|
|
3904
3925
|
...props,
|
|
3905
3926
|
children: [
|
|
3906
3927
|
avatar,
|
|
@@ -3937,7 +3958,7 @@ var modalVariants = (0, import_class_variance_authority17.cva)(
|
|
|
3937
3958
|
[
|
|
3938
3959
|
"fixed top-[50%] left-[50%] -translate-x-1/2 -translate-y-1/2 z-50",
|
|
3939
3960
|
"flex flex-col",
|
|
3940
|
-
"bg-modal-bg border border-modal-border rounded-
|
|
3961
|
+
"bg-modal-bg border border-modal-border rounded-lg shadow-sm overflow-clip",
|
|
3941
3962
|
"outline-none",
|
|
3942
3963
|
"data-[state=open]:animate-modal-in data-[state=closed]:animate-modal-out"
|
|
3943
3964
|
],
|
|
@@ -3988,7 +4009,7 @@ var ModalHeader = React31.forwardRef(
|
|
|
3988
4009
|
{
|
|
3989
4010
|
ref,
|
|
3990
4011
|
className: cn(
|
|
3991
|
-
"flex items-start gap-
|
|
4012
|
+
"flex items-start gap-xl p-xl",
|
|
3992
4013
|
showBorder && "border-b border-modal-header-border",
|
|
3993
4014
|
className
|
|
3994
4015
|
),
|
|
@@ -4032,7 +4053,7 @@ var ModalBody = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4032
4053
|
"div",
|
|
4033
4054
|
{
|
|
4034
4055
|
ref,
|
|
4035
|
-
className: cn("flex-1 overflow-y-auto p-
|
|
4056
|
+
className: cn("flex-1 overflow-y-auto p-xl", className),
|
|
4036
4057
|
...props
|
|
4037
4058
|
}
|
|
4038
4059
|
));
|
|
@@ -4043,7 +4064,7 @@ var ModalFooter = React31.forwardRef(
|
|
|
4043
4064
|
{
|
|
4044
4065
|
ref,
|
|
4045
4066
|
className: cn(
|
|
4046
|
-
"flex items-center justify-between gap-
|
|
4067
|
+
"flex items-center justify-between gap-lg p-xl",
|
|
4047
4068
|
showBorder && "border-t border-modal-footer-border",
|
|
4048
4069
|
className
|
|
4049
4070
|
),
|
|
@@ -4087,7 +4108,7 @@ var Dialog = React32.forwardRef(
|
|
|
4087
4108
|
] }),
|
|
4088
4109
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(ModalFooter, { children: [
|
|
4089
4110
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ModalClose, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { appearance: "ghost", intent: "brand", size: "md", onClick: handleCancel, children: cancelLabel }) }),
|
|
4090
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-
|
|
4111
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-lg", children: [
|
|
4091
4112
|
secondaryLabel && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { appearance: "outlined", intent: "brand", size: "md", onClick: onSecondaryAction, children: secondaryLabel }),
|
|
4092
4113
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
4093
4114
|
Button,
|
|
@@ -4117,8 +4138,8 @@ var emptyStateVariants = (0, import_class_variance_authority18.cva)(
|
|
|
4117
4138
|
{
|
|
4118
4139
|
variants: {
|
|
4119
4140
|
size: {
|
|
4120
|
-
md: "gap-
|
|
4121
|
-
sm: "gap-
|
|
4141
|
+
md: "gap-xl",
|
|
4142
|
+
sm: "gap-lg"
|
|
4122
4143
|
}
|
|
4123
4144
|
},
|
|
4124
4145
|
defaultVariants: {
|
|
@@ -4198,7 +4219,7 @@ var EmptyState = React33.forwardRef(
|
|
|
4198
4219
|
{
|
|
4199
4220
|
className: cn(
|
|
4200
4221
|
"flex items-center",
|
|
4201
|
-
isMd ? "gap-
|
|
4222
|
+
isMd ? "gap-xl" : "gap-base"
|
|
4202
4223
|
),
|
|
4203
4224
|
children: [
|
|
4204
4225
|
secondaryAction && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
@@ -4242,7 +4263,7 @@ var AvatarCell = ({
|
|
|
4242
4263
|
subtitle,
|
|
4243
4264
|
src,
|
|
4244
4265
|
className
|
|
4245
|
-
}) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: cn("flex items-center gap-
|
|
4266
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: cn("flex items-center gap-lg", className), children: [
|
|
4246
4267
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Avatar, { initials: getInitials(name), src, alt: name, size: "lg", shape: "rounded" }),
|
|
4247
4268
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex flex-col", children: [
|
|
4248
4269
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-sm font-medium text-table-cell-text-primary leading-sm", children: name }),
|
|
@@ -4509,7 +4530,7 @@ var TableHead = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4509
4530
|
{
|
|
4510
4531
|
ref,
|
|
4511
4532
|
className: cn(
|
|
4512
|
-
"group/head h-10 px-
|
|
4533
|
+
"group/head h-10 px-lg py-lg text-left align-middle text-xs font-medium leading-xs",
|
|
4513
4534
|
"text-table-head-text bg-table-head-bg-default",
|
|
4514
4535
|
"hover:bg-table-head-bg-hover",
|
|
4515
4536
|
"border-b border-r border-table-border last:border-r-0",
|
|
@@ -4525,7 +4546,7 @@ var TableCell = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4525
4546
|
{
|
|
4526
4547
|
ref,
|
|
4527
4548
|
className: cn(
|
|
4528
|
-
"px-
|
|
4549
|
+
"px-lg py-lg align-middle text-sm font-medium max-h-[52px]",
|
|
4529
4550
|
"text-table-cell-text-primary",
|
|
4530
4551
|
"border-b border-r border-table-border last:border-r-0",
|
|
4531
4552
|
"[&:has([role=checkbox])]:pr-0",
|
|
@@ -4539,7 +4560,7 @@ var TableCaption = React35.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
4539
4560
|
"caption",
|
|
4540
4561
|
{
|
|
4541
4562
|
ref,
|
|
4542
|
-
className: cn("mt-
|
|
4563
|
+
className: cn("mt-lg text-sm text-table-cell-text-secondary", className),
|
|
4543
4564
|
...props
|
|
4544
4565
|
}
|
|
4545
4566
|
));
|
|
@@ -4617,7 +4638,7 @@ function DataTableSettingsModal({
|
|
|
4617
4638
|
};
|
|
4618
4639
|
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Modal, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(ModalContent, { size: "sm", className, children: [
|
|
4619
4640
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ModalHeader, { onClose: () => onOpenChange(false), children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ModalTitle, { children: title }) }),
|
|
4620
|
-
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ModalBody, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex flex-col gap-
|
|
4641
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ModalBody, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex flex-col gap-lg", children: [
|
|
4621
4642
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex items-center justify-between gap-base", children: [
|
|
4622
4643
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("span", { className: "text-sm font-medium text-table-cell-text-secondary", children: [
|
|
4623
4644
|
"Columns ",
|
|
@@ -4664,7 +4685,7 @@ function DataTableSettingsModal({
|
|
|
4664
4685
|
"flex flex-col max-h-[360px] overflow-auto rounded-base",
|
|
4665
4686
|
"border border-table-border"
|
|
4666
4687
|
),
|
|
4667
|
-
children: filtered.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "py-
|
|
4688
|
+
children: filtered.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "py-lg text-center text-sm text-table-cell-text-secondary", children: "No columns found" }) : filtered.map((c) => {
|
|
4668
4689
|
const key = getColKey(c);
|
|
4669
4690
|
const label = getColLabel(c);
|
|
4670
4691
|
const checked = draft[key] !== false;
|
|
@@ -4787,7 +4808,7 @@ function ColumnFilterPopover({
|
|
|
4787
4808
|
align: "start",
|
|
4788
4809
|
sideOffset: 4,
|
|
4789
4810
|
className: cn(
|
|
4790
|
-
"z-50 w-[240px] rounded-
|
|
4811
|
+
"z-50 w-[240px] rounded-lg border border-table-border bg-table-bg p-lg shadow-lg",
|
|
4791
4812
|
"animate-in fade-in-0 zoom-in-95"
|
|
4792
4813
|
),
|
|
4793
4814
|
onClick: (e) => e.stopPropagation(),
|
|
@@ -5379,7 +5400,7 @@ function DataTablePagination({
|
|
|
5379
5400
|
"div",
|
|
5380
5401
|
{
|
|
5381
5402
|
className: cn(
|
|
5382
|
-
"flex items-center justify-between px-
|
|
5403
|
+
"flex items-center justify-between px-xl py-lg",
|
|
5383
5404
|
className
|
|
5384
5405
|
),
|
|
5385
5406
|
children: [
|
|
@@ -5389,7 +5410,7 @@ function DataTablePagination({
|
|
|
5389
5410
|
totalCount,
|
|
5390
5411
|
" row(s) selected"
|
|
5391
5412
|
] }) }),
|
|
5392
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-
|
|
5413
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-xl", children: [
|
|
5393
5414
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-sm", children: [
|
|
5394
5415
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "text-xs text-table-cell-text-secondary whitespace-nowrap", children: "Rows per page" }),
|
|
5395
5416
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
@@ -5531,7 +5552,7 @@ function TruncatedLabel({
|
|
|
5531
5552
|
TooltipPrimitive3.Content,
|
|
5532
5553
|
{
|
|
5533
5554
|
sideOffset: 4,
|
|
5534
|
-
className: "z-50 px-base py-sm rounded-
|
|
5555
|
+
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]",
|
|
5535
5556
|
children: [
|
|
5536
5557
|
label,
|
|
5537
5558
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TooltipPrimitive3.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -6018,7 +6039,7 @@ var SortButton = ({
|
|
|
6018
6039
|
"border border-btn-outlined-neutral-border-default rounded-md shadow-sm",
|
|
6019
6040
|
"cursor-pointer transition-colors",
|
|
6020
6041
|
"hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover",
|
|
6021
|
-
iconOnly ? "size-8 justify-center p-0" : "px-
|
|
6042
|
+
iconOnly ? "size-8 justify-center p-0" : "px-lg py-sm min-w-[80px]",
|
|
6022
6043
|
className
|
|
6023
6044
|
),
|
|
6024
6045
|
children: [
|
|
@@ -6047,7 +6068,7 @@ var SortButton = ({
|
|
|
6047
6068
|
align: "start",
|
|
6048
6069
|
className: cn(
|
|
6049
6070
|
"z-50 flex flex-col gap-xs overflow-clip p-xs",
|
|
6050
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
6071
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
6051
6072
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
6052
6073
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
6053
6074
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -6248,7 +6269,7 @@ var SaveViewButton = React44.forwardRef(
|
|
|
6248
6269
|
),
|
|
6249
6270
|
children: [
|
|
6250
6271
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "text-sm font-medium leading-sm whitespace-nowrap text-btn-solid-brand-text-default", children: label }),
|
|
6251
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "absolute inset-0 rounded-l-[
|
|
6272
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "absolute inset-0 rounded-l-[9px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
|
|
6252
6273
|
]
|
|
6253
6274
|
}
|
|
6254
6275
|
),
|
|
@@ -6271,7 +6292,7 @@ var SaveViewButton = React44.forwardRef(
|
|
|
6271
6292
|
className: "text-btn-solid-brand-text-default"
|
|
6272
6293
|
}
|
|
6273
6294
|
),
|
|
6274
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "absolute inset-0 rounded-r-[
|
|
6295
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "absolute inset-0 rounded-r-[9px] border border-btn-solid-brand-inner-border-default shadow-sm pointer-events-none" })
|
|
6275
6296
|
]
|
|
6276
6297
|
}
|
|
6277
6298
|
)
|
|
@@ -6303,7 +6324,7 @@ var OperatorSelector = ({
|
|
|
6303
6324
|
align: "start",
|
|
6304
6325
|
className: cn(
|
|
6305
6326
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
6306
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
6327
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
6307
6328
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
6308
6329
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
6309
6330
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -6623,7 +6644,7 @@ var DatePicker = React45.forwardRef(
|
|
|
6623
6644
|
ref,
|
|
6624
6645
|
className: cn(
|
|
6625
6646
|
"flex flex-col overflow-clip",
|
|
6626
|
-
"bg-datepicker-bg border border-datepicker-border rounded-
|
|
6647
|
+
"bg-datepicker-bg border border-datepicker-border rounded-lg shadow-lg",
|
|
6627
6648
|
className
|
|
6628
6649
|
),
|
|
6629
6650
|
...props,
|
|
@@ -6648,7 +6669,7 @@ var DatePickerSelects = React45.forwardRef(({ className, formatDate = defaultFor
|
|
|
6648
6669
|
"div",
|
|
6649
6670
|
{
|
|
6650
6671
|
ref,
|
|
6651
|
-
className: cn("flex flex-col items-start pt-
|
|
6672
|
+
className: cn("flex flex-col items-start pt-xl px-xl", className),
|
|
6652
6673
|
...props,
|
|
6653
6674
|
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center gap-base w-full", children: [
|
|
6654
6675
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("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: [
|
|
@@ -6760,7 +6781,7 @@ var DatePickerCalendar = React45.forwardRef(({ className, header, ...props }, re
|
|
|
6760
6781
|
...props,
|
|
6761
6782
|
children: [
|
|
6762
6783
|
header,
|
|
6763
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-
|
|
6784
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col gap-xl p-xl", children: [
|
|
6764
6785
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
6765
6786
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("span", { className: "text-base font-medium leading-base text-datepicker-header-text", children: [
|
|
6766
6787
|
MONTH_NAMES[month],
|
|
@@ -6849,7 +6870,7 @@ var DatePickerSuggestions = React45.forwardRef(
|
|
|
6849
6870
|
),
|
|
6850
6871
|
...props,
|
|
6851
6872
|
children: [
|
|
6852
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "pt-
|
|
6873
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "pt-xl px-base", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "flex-1 text-xs font-medium leading-xs text-datepicker-suggestion-heading uppercase truncate", children: "Suggestions" }) }) }),
|
|
6853
6874
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex flex-1 flex-col p-base min-w-[222px]", children: suggestions.map((suggestion, i) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
6854
6875
|
"button",
|
|
6855
6876
|
{
|
|
@@ -6875,7 +6896,7 @@ var DatePickerFooter = React45.forwardRef(
|
|
|
6875
6896
|
{
|
|
6876
6897
|
ref,
|
|
6877
6898
|
className: cn(
|
|
6878
|
-
"flex items-center justify-between p-
|
|
6899
|
+
"flex items-center justify-between p-xl",
|
|
6879
6900
|
"border-t border-datepicker-footer-border",
|
|
6880
6901
|
"bg-datepicker-bg",
|
|
6881
6902
|
className
|
|
@@ -7487,7 +7508,7 @@ var PropertySelector = ({
|
|
|
7487
7508
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
7488
7509
|
className: cn(
|
|
7489
7510
|
"z-50 flex flex-col gap-xs overflow-hidden p-xs",
|
|
7490
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7511
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7491
7512
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7492
7513
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7493
7514
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -7497,7 +7518,7 @@ var PropertySelector = ({
|
|
|
7497
7518
|
activeGroup === null ? (
|
|
7498
7519
|
/* ── Level 1: Search + (pinned props) + Categories ──────── */
|
|
7499
7520
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex flex-col gap-xs flex-1 min-h-0", children: [
|
|
7500
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "shrink-0 flex items-center gap-base px-
|
|
7521
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "shrink-0 flex items-center gap-base px-lg py-base border border-input rounded-md", children: [
|
|
7501
7522
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
7502
7523
|
import_icons32.Icon,
|
|
7503
7524
|
{
|
|
@@ -7631,7 +7652,7 @@ var PropertySelector = ({
|
|
|
7631
7652
|
]
|
|
7632
7653
|
}
|
|
7633
7654
|
),
|
|
7634
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "shrink-0 flex items-center gap-base px-
|
|
7655
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "shrink-0 flex items-center gap-base px-lg py-base border border-input rounded-md", children: [
|
|
7635
7656
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
7636
7657
|
import_icons32.Icon,
|
|
7637
7658
|
{
|
|
@@ -7714,7 +7735,7 @@ var KebabMenu = ({
|
|
|
7714
7735
|
align: "end",
|
|
7715
7736
|
className: cn(
|
|
7716
7737
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
7717
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7738
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7718
7739
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7719
7740
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7720
7741
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -7830,7 +7851,7 @@ var FilterEditor = ({
|
|
|
7830
7851
|
align: "start",
|
|
7831
7852
|
className: cn(
|
|
7832
7853
|
"z-50 flex flex-col overflow-clip",
|
|
7833
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7854
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7834
7855
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7835
7856
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7836
7857
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -7907,7 +7928,7 @@ var SegmentPopover = ({
|
|
|
7907
7928
|
align,
|
|
7908
7929
|
className: cn(
|
|
7909
7930
|
"z-50 flex flex-col overflow-clip",
|
|
7910
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
7931
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
7911
7932
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
7912
7933
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
7913
7934
|
"data-[side=bottom]:slide-in-from-top-2"
|
|
@@ -7998,7 +8019,7 @@ var InteractiveFilterChip = ({
|
|
|
7998
8019
|
{
|
|
7999
8020
|
className: cn(
|
|
8000
8021
|
"inline-flex items-center overflow-clip",
|
|
8001
|
-
"bg-filter-chip-bg border border-filter-chip-border rounded-
|
|
8022
|
+
"bg-filter-chip-bg border border-filter-chip-border rounded-lg shadow-sm",
|
|
8002
8023
|
className
|
|
8003
8024
|
),
|
|
8004
8025
|
children: [
|
|
@@ -8237,7 +8258,7 @@ var FilterNodeActions = ({
|
|
|
8237
8258
|
"button",
|
|
8238
8259
|
{
|
|
8239
8260
|
type: "button",
|
|
8240
|
-
className: "shrink-0 flex items-center justify-center p-sm rounded-
|
|
8261
|
+
className: "shrink-0 flex items-center justify-center p-sm rounded-lg cursor-pointer transition-colors hover:bg-accent",
|
|
8241
8262
|
"aria-label": "More actions",
|
|
8242
8263
|
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
8243
8264
|
import_icons37.Icon,
|
|
@@ -8256,7 +8277,7 @@ var FilterNodeActions = ({
|
|
|
8256
8277
|
align: "end",
|
|
8257
8278
|
className: cn(
|
|
8258
8279
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
8259
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8280
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8260
8281
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8261
8282
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
8262
8283
|
"min-w-[180px]"
|
|
@@ -8312,7 +8333,7 @@ var selectBtnStyle = [
|
|
|
8312
8333
|
"flex items-center gap-base",
|
|
8313
8334
|
"px-base py-sm",
|
|
8314
8335
|
"bg-gradient-to-t from-btn-outlined-neutral-bg-default to-btn-outlined-neutral-bg-gradient-to-default",
|
|
8315
|
-
"border border-btn-outlined-neutral-border-default rounded-
|
|
8336
|
+
"border border-btn-outlined-neutral-border-default rounded-lg shadow-sm",
|
|
8316
8337
|
"cursor-pointer transition-colors",
|
|
8317
8338
|
"hover:from-btn-outlined-neutral-bg-hover hover:to-btn-outlined-neutral-bg-gradient-to-hover"
|
|
8318
8339
|
];
|
|
@@ -8377,7 +8398,7 @@ var AdvancedRow = ({
|
|
|
8377
8398
|
TooltipPrimitive4.Content,
|
|
8378
8399
|
{
|
|
8379
8400
|
sideOffset: 4,
|
|
8380
|
-
className: "z-50 px-base py-sm rounded-
|
|
8401
|
+
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]",
|
|
8381
8402
|
children: [
|
|
8382
8403
|
'"Or" operator coming soon',
|
|
8383
8404
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -8398,7 +8419,7 @@ var AdvancedRow = ({
|
|
|
8398
8419
|
align: "start",
|
|
8399
8420
|
className: cn(
|
|
8400
8421
|
"z-50 flex flex-col p-xs overflow-clip max-h-[300px] overflow-y-auto",
|
|
8401
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8422
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8402
8423
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8403
8424
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
8404
8425
|
"min-w-[200px]"
|
|
@@ -8461,7 +8482,7 @@ var AdvancedRow = ({
|
|
|
8461
8482
|
align: "start",
|
|
8462
8483
|
className: cn(
|
|
8463
8484
|
"z-50 flex flex-col p-xs overflow-clip",
|
|
8464
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8485
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8465
8486
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8466
8487
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
8467
8488
|
"min-w-[160px]"
|
|
@@ -8552,7 +8573,7 @@ var AdvancedRow = ({
|
|
|
8552
8573
|
align: "start",
|
|
8553
8574
|
className: cn(
|
|
8554
8575
|
"z-50 flex flex-col overflow-clip",
|
|
8555
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
8576
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
8556
8577
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8557
8578
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
8558
8579
|
),
|
|
@@ -8651,7 +8672,7 @@ function ValueTagRow({ tags }) {
|
|
|
8651
8672
|
TooltipPrimitive4.Content,
|
|
8652
8673
|
{
|
|
8653
8674
|
sideOffset: 4,
|
|
8654
|
-
className: "z-50 px-base py-sm rounded-
|
|
8675
|
+
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]",
|
|
8655
8676
|
children: [
|
|
8656
8677
|
overflowTags.map((t) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { children: t }, t)),
|
|
8657
8678
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TooltipPrimitive4.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -8686,7 +8707,7 @@ var AdvancedGroup = ({
|
|
|
8686
8707
|
TooltipPrimitive5.Content,
|
|
8687
8708
|
{
|
|
8688
8709
|
sideOffset: 4,
|
|
8689
|
-
className: "z-50 px-base py-sm rounded-
|
|
8710
|
+
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]",
|
|
8690
8711
|
children: [
|
|
8691
8712
|
'"Or" operator coming soon',
|
|
8692
8713
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(TooltipPrimitive5.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -8694,7 +8715,7 @@ var AdvancedGroup = ({
|
|
|
8694
8715
|
}
|
|
8695
8716
|
) })
|
|
8696
8717
|
] }) }) }),
|
|
8697
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex-1 min-w-0 flex flex-col gap-base p-base border border-border rounded-
|
|
8718
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex-1 min-w-0 flex flex-col gap-base p-base border border-border rounded-lg bg-secondary", children: [
|
|
8698
8719
|
children,
|
|
8699
8720
|
onAddFilter && properties && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
8700
8721
|
PropertySelector,
|
|
@@ -8710,7 +8731,7 @@ var AdvancedGroup = ({
|
|
|
8710
8731
|
"button",
|
|
8711
8732
|
{
|
|
8712
8733
|
type: "button",
|
|
8713
|
-
className: "flex items-center gap-sm px-base py-sm text-sm font-medium leading-sm text-muted-foreground cursor-pointer transition-colors rounded-
|
|
8734
|
+
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",
|
|
8714
8735
|
children: [
|
|
8715
8736
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_icons39.Icon, { icon: import_icons39.faPlusOutline, size: "sm" }),
|
|
8716
8737
|
"Add filter"
|
|
@@ -8903,7 +8924,7 @@ var AdvancedPopover = ({
|
|
|
8903
8924
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
8904
8925
|
className: cn(
|
|
8905
8926
|
"z-50 flex flex-col",
|
|
8906
|
-
"bg-background rounded-
|
|
8927
|
+
"bg-background rounded-lg shadow-lg",
|
|
8907
8928
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8908
8929
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
8909
8930
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
@@ -9211,7 +9232,7 @@ var SummaryChip = ({
|
|
|
9211
9232
|
TooltipPrimitive6.Content,
|
|
9212
9233
|
{
|
|
9213
9234
|
sideOffset: 4,
|
|
9214
|
-
className: "z-50 px-base py-sm rounded-
|
|
9235
|
+
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]",
|
|
9215
9236
|
children: [
|
|
9216
9237
|
tooltipContent,
|
|
9217
9238
|
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(TooltipPrimitive6.Arrow, { className: "fill-tooltip-default-bg" })
|
|
@@ -9228,7 +9249,7 @@ var SummaryChip = ({
|
|
|
9228
9249
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
9229
9250
|
className: cn(
|
|
9230
9251
|
"z-50 flex flex-col overflow-clip",
|
|
9231
|
-
"bg-dropdown-bg border border-dropdown-border rounded-
|
|
9252
|
+
"bg-dropdown-bg border border-dropdown-border rounded-lg shadow-lg",
|
|
9232
9253
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
9233
9254
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
9234
9255
|
"data-[side=bottom]:slide-in-from-top-2",
|