@l3mpire/ui 2.10.0 → 2.11.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 +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +84 -81
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +85 -82
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/styles/globals.css +10 -1
package/dist/index.mjs
CHANGED
|
@@ -27,7 +27,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
27
27
|
var badgeVariants = cva(
|
|
28
28
|
[
|
|
29
29
|
"inline-flex items-center justify-center whitespace-nowrap",
|
|
30
|
-
"font-
|
|
30
|
+
"font-semibold",
|
|
31
31
|
"border border-transparent"
|
|
32
32
|
],
|
|
33
33
|
{
|
|
@@ -116,7 +116,7 @@ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
|
116
116
|
var buttonVariants = cva2(
|
|
117
117
|
[
|
|
118
118
|
"inline-flex items-center justify-center whitespace-nowrap",
|
|
119
|
-
"font-
|
|
119
|
+
"font-semibold transition-colors",
|
|
120
120
|
"focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",
|
|
121
121
|
"disabled:pointer-events-none",
|
|
122
122
|
"border",
|
|
@@ -416,7 +416,7 @@ var BrowserTabItem = React3.forwardRef(
|
|
|
416
416
|
},
|
|
417
417
|
onClick: (e) => e.stopPropagation(),
|
|
418
418
|
className: cn(
|
|
419
|
-
"text-sm font-
|
|
419
|
+
"text-sm font-semibold leading-sm bg-transparent outline-none p-0 m-0",
|
|
420
420
|
"border-b border-browser-tab-item-border border-dashed border-t-0 border-l-0 border-r-0",
|
|
421
421
|
isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
422
422
|
),
|
|
@@ -426,7 +426,7 @@ var BrowserTabItem = React3.forwardRef(
|
|
|
426
426
|
"span",
|
|
427
427
|
{
|
|
428
428
|
className: cn(
|
|
429
|
-
"text-sm font-
|
|
429
|
+
"text-sm font-semibold leading-sm whitespace-nowrap",
|
|
430
430
|
isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
431
431
|
),
|
|
432
432
|
onDoubleClick: (e) => {
|
|
@@ -615,7 +615,7 @@ var BrowserTab = React3.forwardRef(
|
|
|
615
615
|
"span",
|
|
616
616
|
{
|
|
617
617
|
className: cn(
|
|
618
|
-
"text-sm font-
|
|
618
|
+
"text-sm font-semibold leading-sm whitespace-nowrap",
|
|
619
619
|
item.isActive ? "text-browser-tab-item-active-text" : "text-browser-tab-item-inactive-text"
|
|
620
620
|
),
|
|
621
621
|
children: item.label
|
|
@@ -718,7 +718,7 @@ import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
|
718
718
|
var linkVariants = cva4(
|
|
719
719
|
[
|
|
720
720
|
"inline-flex items-center",
|
|
721
|
-
"font-
|
|
721
|
+
"font-semibold",
|
|
722
722
|
"transition-colors cursor-pointer",
|
|
723
723
|
"disabled:pointer-events-none",
|
|
724
724
|
"[&_svg]:pointer-events-none [&_svg]:shrink-0"
|
|
@@ -850,7 +850,7 @@ var InputLabel = React6.forwardRef(({ className, type = "default", disabled, inf
|
|
|
850
850
|
className: cn(
|
|
851
851
|
"inline-flex items-center gap-xs",
|
|
852
852
|
"text-xs",
|
|
853
|
-
"font-
|
|
853
|
+
"font-semibold",
|
|
854
854
|
"leading-xs",
|
|
855
855
|
textColor2,
|
|
856
856
|
className
|
|
@@ -929,7 +929,7 @@ var typeIconMap = {
|
|
|
929
929
|
warning: { icon: faTriangleExclamationSolid, color: "text-info-message-warning-icon" },
|
|
930
930
|
empty: { icon: faCircleInfoSolid2, color: "text-info-message-empty-icon" }
|
|
931
931
|
};
|
|
932
|
-
var titleStyle = "text-sm font-
|
|
932
|
+
var titleStyle = "text-sm font-semibold leading-sm text-info-message-title";
|
|
933
933
|
var descriptionStyle = "text-xs font-regular leading-xs text-info-message-description";
|
|
934
934
|
var closeButtonStyle = "inline-flex shrink-0 items-center justify-center p-xs rounded-base text-info-message-close hover:bg-black/5 transition-colors";
|
|
935
935
|
var typeLinkIntentMap = {
|
|
@@ -1034,7 +1034,7 @@ var typeIconMap2 = {
|
|
|
1034
1034
|
alert: { icon: faCircleExclamationSolid2, color: "text-toast-alert-icon" },
|
|
1035
1035
|
warning: { icon: faTriangleExclamationSolid2, color: "text-toast-warning-icon" }
|
|
1036
1036
|
};
|
|
1037
|
-
var titleStyle2 = "text-sm font-
|
|
1037
|
+
var titleStyle2 = "text-sm font-semibold leading-sm text-toast-title";
|
|
1038
1038
|
var subtitleStyle = "text-sm font-regular leading-sm text-toast-subtitle";
|
|
1039
1039
|
var closeButtonStyle2 = "inline-flex shrink-0 items-center justify-center self-start p-sm rounded-md text-toast-close hover:bg-black/5 transition-colors";
|
|
1040
1040
|
var ToastProvider = ToastPrimitive.Provider;
|
|
@@ -1109,7 +1109,7 @@ var trackStyles = {
|
|
|
1109
1109
|
]
|
|
1110
1110
|
};
|
|
1111
1111
|
var thumbStyle = "pointer-events-none block rounded-full size-3 translate-x-0.5 bg-switch-thumb-bg shadow-md transition-transform data-[state=checked]:translate-x-[13px]";
|
|
1112
|
-
var labelBase = "cursor-pointer select-none text-sm font-
|
|
1112
|
+
var labelBase = "cursor-pointer select-none text-sm font-semibold leading-sm";
|
|
1113
1113
|
var labelColor = {
|
|
1114
1114
|
default: "text-switch-label-text",
|
|
1115
1115
|
disabled: "pointer-events-none text-switch-label-disabled"
|
|
@@ -1654,7 +1654,7 @@ var Avatar = React13.forwardRef(({ className, size = "xl", shape = "rounded", sr
|
|
|
1654
1654
|
{
|
|
1655
1655
|
delayMs: 0,
|
|
1656
1656
|
className: cn(
|
|
1657
|
-
"font-
|
|
1657
|
+
"font-semibold",
|
|
1658
1658
|
"text-avatar-fallback-text",
|
|
1659
1659
|
"select-none text-center",
|
|
1660
1660
|
initialsFontSize[size ?? "xl"]
|
|
@@ -1703,7 +1703,7 @@ var iconStyle = {
|
|
|
1703
1703
|
default: "text-checkbox-checked-icon",
|
|
1704
1704
|
disabled: "text-checkbox-disabled-icon"
|
|
1705
1705
|
};
|
|
1706
|
-
var labelBase2 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-
|
|
1706
|
+
var labelBase2 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold leading-sm";
|
|
1707
1707
|
var labelColor2 = {
|
|
1708
1708
|
default: "text-checkbox-label-default",
|
|
1709
1709
|
disabled: "pointer-events-none text-checkbox-label-disabled"
|
|
@@ -1791,7 +1791,7 @@ var dotStyle = {
|
|
|
1791
1791
|
default: "bg-radio-selected-dot",
|
|
1792
1792
|
disabled: "bg-radio-disabled-dot"
|
|
1793
1793
|
};
|
|
1794
|
-
var labelBase3 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-
|
|
1794
|
+
var labelBase3 = "cursor-pointer select-none overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold leading-sm";
|
|
1795
1795
|
var labelColor3 = {
|
|
1796
1796
|
default: "text-radio-label-default",
|
|
1797
1797
|
disabled: "pointer-events-none text-radio-label-disabled"
|
|
@@ -1852,8 +1852,8 @@ import { Icon as Icon11 } from "@l3mpire/icons";
|
|
|
1852
1852
|
import { jsx as jsx16, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1853
1853
|
var textSm = "text-sm font-regular leading-sm";
|
|
1854
1854
|
var textXs = "text-xs font-regular leading-xs";
|
|
1855
|
-
var textXsMedium = "text-xs font-
|
|
1856
|
-
var textSmMedium = "text-sm font-
|
|
1855
|
+
var textXsMedium = "text-xs font-semibold leading-xs";
|
|
1856
|
+
var textSmMedium = "text-sm font-semibold leading-sm";
|
|
1857
1857
|
var containerStyle = [
|
|
1858
1858
|
"flex flex-col gap-base overflow-clip",
|
|
1859
1859
|
"bg-dropdown-bg",
|
|
@@ -2054,7 +2054,7 @@ var SidebarHeadingItem = React17.forwardRef(
|
|
|
2054
2054
|
ref,
|
|
2055
2055
|
className: cn(
|
|
2056
2056
|
"flex items-center w-full",
|
|
2057
|
-
"text-xs leading-xs font-
|
|
2057
|
+
"text-xs leading-xs font-semibold text-sidebar-heading-text mb-base",
|
|
2058
2058
|
className
|
|
2059
2059
|
),
|
|
2060
2060
|
...props,
|
|
@@ -2144,7 +2144,7 @@ var SidebarItem = React18.forwardRef(
|
|
|
2144
2144
|
"span",
|
|
2145
2145
|
{
|
|
2146
2146
|
className: cn(
|
|
2147
|
-
"flex-1 min-w-0 truncate text-sm leading-sm font-
|
|
2147
|
+
"flex-1 min-w-0 truncate text-sm leading-sm font-semibold",
|
|
2148
2148
|
textColorClass
|
|
2149
2149
|
),
|
|
2150
2150
|
children: label
|
|
@@ -2238,7 +2238,7 @@ var iconColor = {
|
|
|
2238
2238
|
};
|
|
2239
2239
|
var errorGuidance = {
|
|
2240
2240
|
icon: "shrink-0 text-select-error-icon",
|
|
2241
|
-
text: "text-xs font-
|
|
2241
|
+
text: "text-xs font-semibold leading-xs text-select-error-text"
|
|
2242
2242
|
};
|
|
2243
2243
|
function SelectChips({ tags, onTagRemove, chipHeightPx }) {
|
|
2244
2244
|
const containerRef = React19.useRef(null);
|
|
@@ -2283,7 +2283,7 @@ function SelectChips({ tags, onTagRemove, chipHeightPx }) {
|
|
|
2283
2283
|
"inline-flex items-center gap-xs shrink-0",
|
|
2284
2284
|
"px-sm rounded-base",
|
|
2285
2285
|
"bg-tag-neutral-bg text-tag-neutral-text",
|
|
2286
|
-
"text-xs font-
|
|
2286
|
+
"text-xs font-semibold leading-xs",
|
|
2287
2287
|
"whitespace-nowrap"
|
|
2288
2288
|
);
|
|
2289
2289
|
return /* @__PURE__ */ jsxs17("div", { className: "flex flex-1 items-center gap-xs min-w-0 overflow-hidden relative", children: [
|
|
@@ -2533,7 +2533,7 @@ var TabTrigger = React20.forwardRef(({ className, badge, children, ...props }, r
|
|
|
2533
2533
|
"span",
|
|
2534
2534
|
{
|
|
2535
2535
|
className: cn(
|
|
2536
|
-
"text-sm font-
|
|
2536
|
+
"text-sm font-semibold leading-sm whitespace-nowrap",
|
|
2537
2537
|
"text-tab-item-default-text",
|
|
2538
2538
|
"group-data-[state=active]:text-tab-item-active-text"
|
|
2539
2539
|
),
|
|
@@ -2567,7 +2567,7 @@ var tagVariants = cva12(
|
|
|
2567
2567
|
"inline-flex items-center",
|
|
2568
2568
|
"gap-xs",
|
|
2569
2569
|
"rounded-base",
|
|
2570
|
-
"font-
|
|
2570
|
+
"font-semibold",
|
|
2571
2571
|
"whitespace-nowrap"
|
|
2572
2572
|
],
|
|
2573
2573
|
{
|
|
@@ -2672,7 +2672,7 @@ var fieldStates = {
|
|
|
2672
2672
|
};
|
|
2673
2673
|
var errorGuidance2 = {
|
|
2674
2674
|
icon: "shrink-0 text-textarea-error-icon",
|
|
2675
|
-
text: "text-xs font-
|
|
2675
|
+
text: "text-xs font-semibold leading-xs text-textarea-error-text"
|
|
2676
2676
|
};
|
|
2677
2677
|
var charLimitStyle = "shrink-0 text-right text-xs font-regular leading-xs text-textarea-char-limit";
|
|
2678
2678
|
function resolveState(error, success, disabled) {
|
|
@@ -2804,7 +2804,7 @@ var attachedButtonStyles = {
|
|
|
2804
2804
|
};
|
|
2805
2805
|
var errorGuidance3 = {
|
|
2806
2806
|
icon: "shrink-0 text-text-input-error-icon",
|
|
2807
|
-
text: "text-xs font-
|
|
2807
|
+
text: "text-xs font-semibold leading-xs text-text-input-error-text"
|
|
2808
2808
|
};
|
|
2809
2809
|
function resolveState2(error, success, disabled) {
|
|
2810
2810
|
if (disabled) return "disabled";
|
|
@@ -2972,12 +2972,12 @@ var chipStyle = [
|
|
|
2972
2972
|
"inline-flex items-center gap-xs shrink-0",
|
|
2973
2973
|
"h-6 px-sm rounded-base",
|
|
2974
2974
|
"bg-tag-neutral-bg text-tag-neutral-text",
|
|
2975
|
-
"text-xs font-
|
|
2975
|
+
"text-xs font-semibold leading-xs",
|
|
2976
2976
|
"whitespace-nowrap"
|
|
2977
2977
|
];
|
|
2978
2978
|
var errorGuidance4 = {
|
|
2979
2979
|
icon: "shrink-0 text-text-input-error-icon",
|
|
2980
|
-
text: "text-xs font-
|
|
2980
|
+
text: "text-xs font-semibold leading-xs text-text-input-error-text"
|
|
2981
2981
|
};
|
|
2982
2982
|
var ChipInput = React24.forwardRef(
|
|
2983
2983
|
({
|
|
@@ -3172,7 +3172,7 @@ var wrapperStates3 = {
|
|
|
3172
3172
|
};
|
|
3173
3173
|
var errorGuidance5 = {
|
|
3174
3174
|
icon: "shrink-0 text-text-input-error-icon",
|
|
3175
|
-
text: "text-xs font-
|
|
3175
|
+
text: "text-xs font-semibold leading-xs text-text-input-error-text"
|
|
3176
3176
|
};
|
|
3177
3177
|
var NumberInput = React25.forwardRef(
|
|
3178
3178
|
({
|
|
@@ -3353,7 +3353,7 @@ var typographyVariants = cva16("", {
|
|
|
3353
3353
|
},
|
|
3354
3354
|
weight: {
|
|
3355
3355
|
regular: "font-regular",
|
|
3356
|
-
|
|
3356
|
+
semibold: "font-semibold",
|
|
3357
3357
|
bold: "font-bold"
|
|
3358
3358
|
}
|
|
3359
3359
|
},
|
|
@@ -3419,7 +3419,7 @@ var UserMenuInfoRow = React27.forwardRef(
|
|
|
3419
3419
|
children: [
|
|
3420
3420
|
avatar,
|
|
3421
3421
|
/* @__PURE__ */ jsxs24("div", { className: "flex flex-1 flex-col min-w-0", children: [
|
|
3422
|
-
/* @__PURE__ */ jsx27("span", { className: "text-sm font-
|
|
3422
|
+
/* @__PURE__ */ jsx27("span", { className: "text-sm font-semibold leading-sm text-user-menu-name truncate", children: name }),
|
|
3423
3423
|
subtitle && /* @__PURE__ */ jsx27("span", { className: "text-xs font-regular leading-xs text-user-menu-subtitle truncate", children: subtitle })
|
|
3424
3424
|
] }),
|
|
3425
3425
|
action
|
|
@@ -3528,7 +3528,7 @@ var ModalTitle = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
3528
3528
|
DialogPrimitive.Title,
|
|
3529
3529
|
{
|
|
3530
3530
|
ref,
|
|
3531
|
-
className: cn("text-base font-
|
|
3531
|
+
className: cn("text-base font-semibold leading-base text-modal-header-title", className),
|
|
3532
3532
|
...props
|
|
3533
3533
|
}
|
|
3534
3534
|
));
|
|
@@ -3690,7 +3690,7 @@ var EmptyState = React30.forwardRef(
|
|
|
3690
3690
|
"p",
|
|
3691
3691
|
{
|
|
3692
3692
|
className: cn(
|
|
3693
|
-
"font-
|
|
3693
|
+
"font-semibold text-table-cell-text-primary",
|
|
3694
3694
|
isMd ? "text-base leading-base" : "text-sm leading-sm"
|
|
3695
3695
|
),
|
|
3696
3696
|
children: title
|
|
@@ -3759,7 +3759,7 @@ var AvatarCell = ({
|
|
|
3759
3759
|
}) => /* @__PURE__ */ jsxs28("div", { className: cn("flex items-center gap-md", className), children: [
|
|
3760
3760
|
/* @__PURE__ */ jsx31(Avatar, { initials: getInitials(name), src, alt: name, size: "lg", shape: "rounded" }),
|
|
3761
3761
|
/* @__PURE__ */ jsxs28("div", { className: "flex flex-col", children: [
|
|
3762
|
-
/* @__PURE__ */ jsx31("span", { className: "text-sm font-
|
|
3762
|
+
/* @__PURE__ */ jsx31("span", { className: "text-sm font-semibold text-table-cell-text-primary leading-sm", children: name }),
|
|
3763
3763
|
subtitle && /* @__PURE__ */ jsx31("span", { className: "text-xs font-regular text-table-cell-text-secondary leading-xs", children: subtitle })
|
|
3764
3764
|
] })
|
|
3765
3765
|
] });
|
|
@@ -3797,7 +3797,7 @@ var NumberCell = ({
|
|
|
3797
3797
|
className
|
|
3798
3798
|
),
|
|
3799
3799
|
children: [
|
|
3800
|
-
/* @__PURE__ */ jsx31("span", { className: "text-sm font-
|
|
3800
|
+
/* @__PURE__ */ jsx31("span", { className: "text-sm font-semibold text-table-cell-text-primary", children: formatted }),
|
|
3801
3801
|
secondaryStat && /* @__PURE__ */ jsx31(
|
|
3802
3802
|
"span",
|
|
3803
3803
|
{
|
|
@@ -3865,7 +3865,7 @@ var TextCell = ({
|
|
|
3865
3865
|
{
|
|
3866
3866
|
className: cn(
|
|
3867
3867
|
"text-sm",
|
|
3868
|
-
secondary ? "font-regular text-table-cell-text-secondary" : "font-
|
|
3868
|
+
secondary ? "font-regular text-table-cell-text-secondary" : "font-semibold text-table-cell-text-primary",
|
|
3869
3869
|
className
|
|
3870
3870
|
),
|
|
3871
3871
|
children: value
|
|
@@ -3914,7 +3914,7 @@ var EditableCell = ({
|
|
|
3914
3914
|
{
|
|
3915
3915
|
ref: inputRef,
|
|
3916
3916
|
className: cn(
|
|
3917
|
-
"w-full bg-transparent text-sm font-
|
|
3917
|
+
"w-full bg-transparent text-sm font-semibold text-table-cell-text-primary",
|
|
3918
3918
|
"outline-none border-b border-table-border py-0 h-[20px]",
|
|
3919
3919
|
className
|
|
3920
3920
|
),
|
|
@@ -3931,7 +3931,7 @@ var EditableCell = ({
|
|
|
3931
3931
|
role: "button",
|
|
3932
3932
|
tabIndex: 0,
|
|
3933
3933
|
className: cn(
|
|
3934
|
-
"text-sm font-
|
|
3934
|
+
"text-sm font-semibold text-table-cell-text-primary cursor-text leading-sm h-[20px] inline-block",
|
|
3935
3935
|
className
|
|
3936
3936
|
),
|
|
3937
3937
|
onDoubleClick: () => setIsEditing(true),
|
|
@@ -4027,7 +4027,7 @@ var TableFooter = React32.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
4027
4027
|
{
|
|
4028
4028
|
ref,
|
|
4029
4029
|
className: cn(
|
|
4030
|
-
"border-t border-table-border bg-table-bg font-
|
|
4030
|
+
"border-t border-table-border bg-table-bg font-semibold",
|
|
4031
4031
|
className
|
|
4032
4032
|
),
|
|
4033
4033
|
...props
|
|
@@ -4053,7 +4053,7 @@ var TableHead = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4053
4053
|
{
|
|
4054
4054
|
ref,
|
|
4055
4055
|
className: cn(
|
|
4056
|
-
"group/head h-10 px-md py-md text-left align-middle text-xs font-
|
|
4056
|
+
"group/head h-10 px-md py-md text-left align-middle text-xs font-semibold leading-xs",
|
|
4057
4057
|
"text-table-head-text bg-table-head-bg-default",
|
|
4058
4058
|
"hover:bg-table-head-bg-hover",
|
|
4059
4059
|
"border-b border-r border-table-border last:border-r-0",
|
|
@@ -4069,7 +4069,7 @@ var TableCell = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
4069
4069
|
{
|
|
4070
4070
|
ref,
|
|
4071
4071
|
className: cn(
|
|
4072
|
-
"px-md py-md align-middle text-sm font-
|
|
4072
|
+
"px-md py-md align-middle text-sm font-semibold max-h-[52px]",
|
|
4073
4073
|
"text-table-cell-text-primary",
|
|
4074
4074
|
"border-b border-r border-table-border last:border-r-0",
|
|
4075
4075
|
"[&:has([role=checkbox])]:pr-0",
|
|
@@ -4168,7 +4168,7 @@ function ColumnFilterPopover({
|
|
|
4168
4168
|
),
|
|
4169
4169
|
onClick: (e) => e.stopPropagation(),
|
|
4170
4170
|
children: /* @__PURE__ */ jsxs29("div", { className: "flex flex-col gap-sm", children: [
|
|
4171
|
-
/* @__PURE__ */ jsx33("span", { className: "text-xs font-
|
|
4171
|
+
/* @__PURE__ */ jsx33("span", { className: "text-xs font-semibold text-table-head-text", children: "Filter" }),
|
|
4172
4172
|
/* @__PURE__ */ jsx33(
|
|
4173
4173
|
"select",
|
|
4174
4174
|
{
|
|
@@ -4902,13 +4902,13 @@ var FilterChipSegment = React35.forwardRef(
|
|
|
4902
4902
|
"span",
|
|
4903
4903
|
{
|
|
4904
4904
|
className: cn(
|
|
4905
|
-
"text-sm font-
|
|
4905
|
+
"text-sm font-semibold leading-sm whitespace-nowrap",
|
|
4906
4906
|
segmentType === "placeholder" ? "text-filter-chip-segment-placeholder" : "text-filter-chip-segment-text"
|
|
4907
4907
|
),
|
|
4908
4908
|
children: label
|
|
4909
4909
|
}
|
|
4910
4910
|
),
|
|
4911
|
-
badgeCount != null && badgeCount > 0 && /* @__PURE__ */ jsx35("span", { className: "flex items-center gap-2xs p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx35("span", { className: "text-[10px] font-
|
|
4911
|
+
badgeCount != null && badgeCount > 0 && /* @__PURE__ */ jsx35("span", { className: "flex items-center gap-2xs p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx35("span", { className: "text-[10px] font-semibold leading-2xs text-filter-chip-badge-text", children: badgeCount }) }),
|
|
4912
4912
|
children
|
|
4913
4913
|
]
|
|
4914
4914
|
}
|
|
@@ -5162,7 +5162,7 @@ var SortButton = ({
|
|
|
5162
5162
|
className: "shrink-0 text-[var(--color-foreground)]"
|
|
5163
5163
|
}
|
|
5164
5164
|
),
|
|
5165
|
-
!iconOnly && /* @__PURE__ */ jsxs33("span", { className: "text-sm font-
|
|
5165
|
+
!iconOnly && /* @__PURE__ */ jsxs33("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap", children: [
|
|
5166
5166
|
/* @__PURE__ */ jsxs33("span", { className: "text-[var(--color-muted-foreground)]", children: [
|
|
5167
5167
|
"Sort by",
|
|
5168
5168
|
" "
|
|
@@ -5321,7 +5321,7 @@ var FilterBarButton = React39.forwardRef(({ className, count, iconOnly = false,
|
|
|
5321
5321
|
ref,
|
|
5322
5322
|
type: "button",
|
|
5323
5323
|
className: cn(
|
|
5324
|
-
"flex items-center gap-sm",
|
|
5324
|
+
"shrink-0 flex items-center gap-sm overflow-hidden",
|
|
5325
5325
|
"min-h-[32px] max-h-[32px]",
|
|
5326
5326
|
"bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
|
|
5327
5327
|
"border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm",
|
|
@@ -5340,8 +5340,8 @@ var FilterBarButton = React39.forwardRef(({ className, count, iconOnly = false,
|
|
|
5340
5340
|
className: "shrink-0 text-[var(--color-foreground)]"
|
|
5341
5341
|
}
|
|
5342
5342
|
),
|
|
5343
|
-
!iconOnly && /* @__PURE__ */ jsx39("span", { className: "text-sm font-
|
|
5344
|
-
count != null && count > 0 && /* @__PURE__ */ jsx39("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx39("span", { className: "text-[10px] font-
|
|
5343
|
+
!iconOnly && /* @__PURE__ */ jsx39("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: children ?? "Filters" }),
|
|
5344
|
+
count != null && count > 0 && /* @__PURE__ */ jsx39("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx39("span", { className: "text-[10px] font-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
|
|
5345
5345
|
]
|
|
5346
5346
|
}
|
|
5347
5347
|
));
|
|
@@ -5379,7 +5379,7 @@ var SaveViewButton = React40.forwardRef(
|
|
|
5379
5379
|
"rounded-l-md -mr-px"
|
|
5380
5380
|
),
|
|
5381
5381
|
children: [
|
|
5382
|
-
/* @__PURE__ */ jsx40("span", { className: "text-sm font-
|
|
5382
|
+
/* @__PURE__ */ jsx40("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-btn-solid-brand-text-default)]", children: label }),
|
|
5383
5383
|
/* @__PURE__ */ jsx40("span", { className: "absolute inset-0 rounded-l-[11px] border border-[var(--color-btn-solid-brand-inner-border-default)] shadow-sm pointer-events-none" })
|
|
5384
5384
|
]
|
|
5385
5385
|
}
|
|
@@ -5457,7 +5457,7 @@ var OperatorSelector = ({
|
|
|
5457
5457
|
{
|
|
5458
5458
|
className: cn(
|
|
5459
5459
|
"text-sm font-regular leading-sm",
|
|
5460
|
-
op === activeOperator ? "text-[var(--color-foreground)] font-
|
|
5460
|
+
op === activeOperator ? "text-[var(--color-foreground)] font-semibold" : "text-[var(--color-dropdown-item-text)]"
|
|
5461
5461
|
),
|
|
5462
5462
|
children: op
|
|
5463
5463
|
}
|
|
@@ -5493,7 +5493,7 @@ var OperatorList = ({
|
|
|
5493
5493
|
{
|
|
5494
5494
|
className: cn(
|
|
5495
5495
|
"text-sm font-regular leading-sm",
|
|
5496
|
-
op === activeOperator ? "text-[var(--color-foreground)] font-
|
|
5496
|
+
op === activeOperator ? "text-[var(--color-foreground)] font-semibold" : "text-[var(--color-dropdown-item-text)]"
|
|
5497
5497
|
),
|
|
5498
5498
|
children: op
|
|
5499
5499
|
}
|
|
@@ -5550,7 +5550,7 @@ var ValueInput = ({
|
|
|
5550
5550
|
{
|
|
5551
5551
|
type: "button",
|
|
5552
5552
|
onClick: onSubmit,
|
|
5553
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5553
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5554
5554
|
children: "Apply"
|
|
5555
5555
|
}
|
|
5556
5556
|
)
|
|
@@ -5579,7 +5579,7 @@ var ValueInput = ({
|
|
|
5579
5579
|
{
|
|
5580
5580
|
type: "button",
|
|
5581
5581
|
onClick: onSubmit,
|
|
5582
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5582
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5583
5583
|
children: "Apply"
|
|
5584
5584
|
}
|
|
5585
5585
|
)
|
|
@@ -5624,7 +5624,7 @@ var ValueInput = ({
|
|
|
5624
5624
|
{
|
|
5625
5625
|
type: "button",
|
|
5626
5626
|
onClick: onSubmit,
|
|
5627
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5627
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5628
5628
|
children: "Apply"
|
|
5629
5629
|
}
|
|
5630
5630
|
)
|
|
@@ -5632,7 +5632,7 @@ var ValueInput = ({
|
|
|
5632
5632
|
}
|
|
5633
5633
|
case "PresetTags":
|
|
5634
5634
|
return /* @__PURE__ */ jsx42("div", { className: cn("flex flex-col gap-base p-base max-w-[280px]", className), children: RELATIVE_DATE_PRESETS.map((group) => /* @__PURE__ */ jsxs37("div", { className: "flex flex-col gap-xs", children: [
|
|
5635
|
-
/* @__PURE__ */ jsx42("span", { className: "text-xs font-
|
|
5635
|
+
/* @__PURE__ */ jsx42("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)] uppercase px-xs", children: group.group }),
|
|
5636
5636
|
/* @__PURE__ */ jsx42("div", { className: "flex flex-wrap gap-xs", children: group.options.map((preset) => /* @__PURE__ */ jsx42(
|
|
5637
5637
|
"button",
|
|
5638
5638
|
{
|
|
@@ -5707,7 +5707,7 @@ var ValueInput = ({
|
|
|
5707
5707
|
{
|
|
5708
5708
|
type: "button",
|
|
5709
5709
|
onClick: onSubmit,
|
|
5710
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5710
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5711
5711
|
children: "Apply"
|
|
5712
5712
|
}
|
|
5713
5713
|
)
|
|
@@ -5736,7 +5736,7 @@ var ValueInput = ({
|
|
|
5736
5736
|
{
|
|
5737
5737
|
type: "button",
|
|
5738
5738
|
onClick: onSubmit,
|
|
5739
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5739
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5740
5740
|
children: "Apply"
|
|
5741
5741
|
}
|
|
5742
5742
|
)
|
|
@@ -5774,7 +5774,7 @@ var ValueInput = ({
|
|
|
5774
5774
|
{
|
|
5775
5775
|
type: "button",
|
|
5776
5776
|
onClick: onSubmit,
|
|
5777
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5777
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5778
5778
|
children: "Apply"
|
|
5779
5779
|
}
|
|
5780
5780
|
)
|
|
@@ -5804,7 +5804,7 @@ var ValueInput = ({
|
|
|
5804
5804
|
{
|
|
5805
5805
|
type: "button",
|
|
5806
5806
|
onClick: onSubmit,
|
|
5807
|
-
className: "self-end px-md py-sm text-sm font-
|
|
5807
|
+
className: "self-end px-md py-sm text-sm font-semibold leading-sm text-[var(--color-primary-foreground)] bg-[var(--color-primary)] rounded-base cursor-pointer hover:opacity-90 transition-opacity",
|
|
5808
5808
|
children: "Apply"
|
|
5809
5809
|
}
|
|
5810
5810
|
)
|
|
@@ -5893,7 +5893,7 @@ var PropertySelector = ({
|
|
|
5893
5893
|
}
|
|
5894
5894
|
),
|
|
5895
5895
|
/* @__PURE__ */ jsx43("span", { className: "flex-1 text-sm font-regular leading-sm text-[var(--color-dropdown-item-text)] text-left truncate", children: g.groupLabel }),
|
|
5896
|
-
/* @__PURE__ */ jsx43("span", { className: "text-xs font-
|
|
5896
|
+
/* @__PURE__ */ jsx43("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)]", children: g.count }),
|
|
5897
5897
|
/* @__PURE__ */ jsx43(
|
|
5898
5898
|
Icon26,
|
|
5899
5899
|
{
|
|
@@ -5927,7 +5927,7 @@ var PropertySelector = ({
|
|
|
5927
5927
|
className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
|
|
5928
5928
|
}
|
|
5929
5929
|
),
|
|
5930
|
-
/* @__PURE__ */ jsx43("span", { className: "flex-1 text-xs font-
|
|
5930
|
+
/* @__PURE__ */ jsx43("span", { className: "flex-1 text-xs font-semibold leading-xs text-[var(--color-muted-foreground)] text-left truncate", children: activeGroupInfo?.groupLabel })
|
|
5931
5931
|
]
|
|
5932
5932
|
}
|
|
5933
5933
|
),
|
|
@@ -6137,7 +6137,7 @@ var FilterEditor = ({
|
|
|
6137
6137
|
className: "shrink-0 text-[var(--color-dropdown-item-icon)]"
|
|
6138
6138
|
}
|
|
6139
6139
|
),
|
|
6140
|
-
/* @__PURE__ */ jsx45("span", { className: "text-sm font-
|
|
6140
|
+
/* @__PURE__ */ jsx45("span", { className: "text-sm font-semibold leading-sm text-[var(--color-foreground)]", children: propertyDef.label }),
|
|
6141
6141
|
localOperator && view === "value" && /* @__PURE__ */ jsxs40(
|
|
6142
6142
|
"button",
|
|
6143
6143
|
{
|
|
@@ -6404,7 +6404,7 @@ InteractiveFilterChip.displayName = "InteractiveFilterChip";
|
|
|
6404
6404
|
|
|
6405
6405
|
// src/components/ui/filter/filter-system.tsx
|
|
6406
6406
|
import * as React49 from "react";
|
|
6407
|
-
import { Icon as Icon33, faXmarkOutline as faXmarkOutline4 } from "@l3mpire/icons";
|
|
6407
|
+
import { Icon as Icon33, faXmarkOutline as faXmarkOutline4, faPlusOutline as faPlusOutline4 } from "@l3mpire/icons";
|
|
6408
6408
|
|
|
6409
6409
|
// src/components/ui/filter/advanced-chip.tsx
|
|
6410
6410
|
import * as React44 from "react";
|
|
@@ -6433,8 +6433,8 @@ var AdvancedChip = React44.forwardRef(
|
|
|
6433
6433
|
),
|
|
6434
6434
|
...props,
|
|
6435
6435
|
children: [
|
|
6436
|
-
/* @__PURE__ */ jsx47("span", { className: "text-sm font-
|
|
6437
|
-
/* @__PURE__ */ jsx47("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx47("span", { className: "text-[10px] font-
|
|
6436
|
+
/* @__PURE__ */ jsx47("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Advanced filters" }),
|
|
6437
|
+
/* @__PURE__ */ jsx47("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx47("span", { className: "text-[10px] font-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
|
|
6438
6438
|
]
|
|
6439
6439
|
}
|
|
6440
6440
|
),
|
|
@@ -6503,7 +6503,7 @@ var AdvancedRow = ({
|
|
|
6503
6503
|
};
|
|
6504
6504
|
const displayValue = condition.value == null ? "" : typeof condition.value === "string" ? condition.value : String(condition.value);
|
|
6505
6505
|
return /* @__PURE__ */ jsxs43("div", { className: "flex items-center gap-base w-full min-w-0", children: [
|
|
6506
|
-
connector === "Where" ? /* @__PURE__ */ jsx48("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx48("span", { className: "text-xs font-
|
|
6506
|
+
connector === "Where" ? /* @__PURE__ */ jsx48("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx48("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */ jsxs43(
|
|
6507
6507
|
"button",
|
|
6508
6508
|
{
|
|
6509
6509
|
type: "button",
|
|
@@ -6513,7 +6513,7 @@ var AdvancedRow = ({
|
|
|
6513
6513
|
"min-w-[64px] min-h-[24px] max-h-[24px] p-xs",
|
|
6514
6514
|
"bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
|
|
6515
6515
|
"border border-[var(--color-btn-outlined-neutral-border-default)] rounded-base shadow-sm",
|
|
6516
|
-
"cursor-pointer transition-colors text-xs font-
|
|
6516
|
+
"cursor-pointer transition-colors text-xs font-semibold leading-xs text-[var(--color-foreground)]",
|
|
6517
6517
|
"hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
|
|
6518
6518
|
),
|
|
6519
6519
|
children: [
|
|
@@ -6632,7 +6632,7 @@ var outlinedBtn = [
|
|
|
6632
6632
|
"min-h-[32px] max-h-[32px] min-w-[80px]",
|
|
6633
6633
|
"bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
|
|
6634
6634
|
"border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm",
|
|
6635
|
-
"cursor-pointer transition-colors text-sm font-
|
|
6635
|
+
"cursor-pointer transition-colors text-sm font-semibold leading-sm text-[var(--color-foreground)]",
|
|
6636
6636
|
"hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
|
|
6637
6637
|
];
|
|
6638
6638
|
var AdvancedPopover = ({
|
|
@@ -6730,7 +6730,7 @@ var AdvancedPopover = ({
|
|
|
6730
6730
|
{
|
|
6731
6731
|
type: "button",
|
|
6732
6732
|
onClick: handleClearAll,
|
|
6733
|
-
className: "text-sm font-
|
|
6733
|
+
className: "text-sm font-semibold leading-sm text-[var(--color-foreground)] cursor-pointer transition-colors hover:opacity-70 px-base py-sm",
|
|
6734
6734
|
children: "Clear all filters"
|
|
6735
6735
|
}
|
|
6736
6736
|
)
|
|
@@ -6753,6 +6753,7 @@ var SummaryChip = ({
|
|
|
6753
6753
|
properties,
|
|
6754
6754
|
onFiltersChange,
|
|
6755
6755
|
onClearAll,
|
|
6756
|
+
children,
|
|
6756
6757
|
className
|
|
6757
6758
|
}) => {
|
|
6758
6759
|
const [open, setOpen] = React47.useState(false);
|
|
@@ -6779,7 +6780,7 @@ var SummaryChip = ({
|
|
|
6779
6780
|
setAddSelectorOpen(false);
|
|
6780
6781
|
};
|
|
6781
6782
|
return /* @__PURE__ */ jsxs45(PopoverPrimitive11.Root, { open, onOpenChange: setOpen, children: [
|
|
6782
|
-
/* @__PURE__ */ jsx50(PopoverPrimitive11.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs45(
|
|
6783
|
+
/* @__PURE__ */ jsx50(PopoverPrimitive11.Trigger, { asChild: true, children: children ?? /* @__PURE__ */ jsxs45(
|
|
6783
6784
|
"button",
|
|
6784
6785
|
{
|
|
6785
6786
|
type: "button",
|
|
@@ -6801,8 +6802,8 @@ var SummaryChip = ({
|
|
|
6801
6802
|
className: "shrink-0 text-[var(--color-foreground)]"
|
|
6802
6803
|
}
|
|
6803
6804
|
),
|
|
6804
|
-
/* @__PURE__ */ jsx50("span", { className: "text-sm font-
|
|
6805
|
-
count > 0 && /* @__PURE__ */ jsx50("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx50("span", { className: "text-[10px] font-
|
|
6805
|
+
/* @__PURE__ */ jsx50("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Filters" }),
|
|
6806
|
+
count > 0 && /* @__PURE__ */ jsx50("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ jsx50("span", { className: "text-[10px] font-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
|
|
6806
6807
|
]
|
|
6807
6808
|
}
|
|
6808
6809
|
) }),
|
|
@@ -6859,7 +6860,7 @@ var SummaryChip = ({
|
|
|
6859
6860
|
"min-h-[32px] max-h-[32px] min-w-[80px]",
|
|
6860
6861
|
"bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
|
|
6861
6862
|
"border border-[var(--color-btn-outlined-neutral-border-default)] rounded-md shadow-sm",
|
|
6862
|
-
"cursor-pointer transition-colors text-sm font-
|
|
6863
|
+
"cursor-pointer transition-colors text-sm font-semibold leading-sm text-[var(--color-foreground)]",
|
|
6863
6864
|
"hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
|
|
6864
6865
|
),
|
|
6865
6866
|
children: [
|
|
@@ -6878,7 +6879,7 @@ var SummaryChip = ({
|
|
|
6878
6879
|
onClearAll();
|
|
6879
6880
|
setOpen(false);
|
|
6880
6881
|
},
|
|
6881
|
-
className: "text-sm font-
|
|
6882
|
+
className: "text-sm font-semibold leading-sm text-[var(--color-foreground)] cursor-pointer transition-colors hover:opacity-70 px-base py-sm",
|
|
6882
6883
|
children: "Clear all filters"
|
|
6883
6884
|
}
|
|
6884
6885
|
)
|
|
@@ -7000,7 +7001,7 @@ var FilterSystem = ({
|
|
|
7000
7001
|
const hasAdvanced = filterState.advancedFilters.length > 0;
|
|
7001
7002
|
const isMinimal = mode === "minimal";
|
|
7002
7003
|
return /* @__PURE__ */ jsxs46(FilterBar, { ref: containerRef, className, children: [
|
|
7003
|
-
/* @__PURE__ */ jsxs46(FilterBarLeft, { children: [
|
|
7004
|
+
/* @__PURE__ */ jsxs46(FilterBarLeft, { className: "flex-nowrap flex-1 min-w-0 overflow-x-auto scrollbar-none outline-none [&>*]:shrink-0", children: [
|
|
7004
7005
|
children,
|
|
7005
7006
|
sortFields && filterState.sort && /* @__PURE__ */ jsx51(
|
|
7006
7007
|
SortButton,
|
|
@@ -7089,12 +7090,14 @@ var FilterSystem = ({
|
|
|
7089
7090
|
onSelect: handleAddFilter,
|
|
7090
7091
|
open: propertySelectorOpen,
|
|
7091
7092
|
onOpenChange: setPropertySelectorOpen,
|
|
7092
|
-
children: /* @__PURE__ */ jsx51(
|
|
7093
|
-
|
|
7093
|
+
children: totalCount > 0 ? /* @__PURE__ */ jsx51(
|
|
7094
|
+
"button",
|
|
7094
7095
|
{
|
|
7095
|
-
|
|
7096
|
+
type: "button",
|
|
7097
|
+
className: "shrink-0 inline-flex items-center justify-center size-8 rounded-md border border-[var(--color-btn-outlined-neutral-border-default)] bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)] shadow-sm cursor-pointer transition-colors hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]",
|
|
7098
|
+
children: /* @__PURE__ */ jsx51(Icon33, { icon: faPlusOutline4, size: "sm", className: "text-[var(--color-foreground)]" })
|
|
7096
7099
|
}
|
|
7097
|
-
)
|
|
7100
|
+
) : /* @__PURE__ */ jsx51(FilterBarButton, {})
|
|
7098
7101
|
}
|
|
7099
7102
|
)
|
|
7100
7103
|
] })
|
|
@@ -7104,12 +7107,12 @@ var FilterSystem = ({
|
|
|
7104
7107
|
{
|
|
7105
7108
|
type: "button",
|
|
7106
7109
|
onClick: handleClearAll,
|
|
7107
|
-
className: "flex items-center gap-sm px-base py-sm min-h-[32px] max-h-[32px] rounded-md cursor-pointer transition-colors hover:bg-[var(--color-accent)]",
|
|
7108
|
-
children: isMinimal ? /* @__PURE__ */ jsx51(Icon33, { icon: faXmarkOutline4, size: "sm", className: "text-[var(--color-foreground)]" }) : /* @__PURE__ */ jsx51("span", { className: "text-sm font-
|
|
7110
|
+
className: "shrink-0 flex items-center gap-sm px-base py-sm min-h-[32px] max-h-[32px] rounded-md cursor-pointer transition-colors hover:bg-[var(--color-accent)]",
|
|
7111
|
+
children: isMinimal ? /* @__PURE__ */ jsx51(Icon33, { icon: faXmarkOutline4, size: "sm", className: "text-[var(--color-foreground)]" }) : /* @__PURE__ */ jsx51("span", { className: "text-sm font-semibold leading-sm text-[var(--color-foreground)]", children: "Clear" })
|
|
7109
7112
|
}
|
|
7110
7113
|
)
|
|
7111
7114
|
] }),
|
|
7112
|
-
actions && /* @__PURE__ */ jsx51(FilterBarRight, { children: actions })
|
|
7115
|
+
actions && /* @__PURE__ */ jsx51(FilterBarRight, { className: "shrink-0 -ml-2xl pl-2xl relative z-10 bg-[linear-gradient(to_right,transparent_0px,var(--filter-bar-bg,var(--color-background,#fff))_24px)]", children: actions })
|
|
7113
7116
|
] });
|
|
7114
7117
|
};
|
|
7115
7118
|
FilterSystem.displayName = "FilterSystem";
|
|
@@ -7329,7 +7332,7 @@ var DatePickerDay = ({ date, isOutside }) => {
|
|
|
7329
7332
|
disabled: isOutside,
|
|
7330
7333
|
className: cn(
|
|
7331
7334
|
"relative flex flex-col items-center justify-center w-9 rounded-full p-2 cursor-pointer transition-colors",
|
|
7332
|
-
"text-sm font-
|
|
7335
|
+
"text-sm font-semibold leading-sm text-center",
|
|
7333
7336
|
// Default
|
|
7334
7337
|
!isOutside && !isSelected && !isInRangeOrPreview && "text-datepicker-day-text-default hover:bg-datepicker-day-bg-hover",
|
|
7335
7338
|
// Outside month (disabled)
|
|
@@ -7400,7 +7403,7 @@ var DatePickerCalendar = React50.forwardRef(({ className, header, ...props }, re
|
|
|
7400
7403
|
header,
|
|
7401
7404
|
/* @__PURE__ */ jsxs47("div", { className: "flex flex-col gap-lg p-lg", children: [
|
|
7402
7405
|
/* @__PURE__ */ jsxs47("div", { className: "flex items-center justify-between", children: [
|
|
7403
|
-
/* @__PURE__ */ jsxs47("span", { className: "text-base font-
|
|
7406
|
+
/* @__PURE__ */ jsxs47("span", { className: "text-base font-semibold leading-base text-datepicker-header-text", children: [
|
|
7404
7407
|
MONTH_NAMES[month],
|
|
7405
7408
|
" ",
|
|
7406
7409
|
year
|
|
@@ -7487,7 +7490,7 @@ var DatePickerSuggestions = React50.forwardRef(
|
|
|
7487
7490
|
),
|
|
7488
7491
|
...props,
|
|
7489
7492
|
children: [
|
|
7490
|
-
/* @__PURE__ */ jsx52("div", { className: "pt-lg px-base", children: /* @__PURE__ */ jsx52("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ jsx52("span", { className: "flex-1 text-xs font-
|
|
7493
|
+
/* @__PURE__ */ jsx52("div", { className: "pt-lg px-base", children: /* @__PURE__ */ jsx52("div", { className: "flex items-center p-base rounded-base", children: /* @__PURE__ */ jsx52("span", { className: "flex-1 text-xs font-semibold leading-xs text-datepicker-suggestion-heading uppercase truncate", children: "Suggestions" }) }) }),
|
|
7491
7494
|
/* @__PURE__ */ jsx52("div", { className: "flex flex-1 flex-col p-base min-w-[222px]", children: suggestions.map((suggestion, i) => /* @__PURE__ */ jsxs47(
|
|
7492
7495
|
"button",
|
|
7493
7496
|
{
|