@l3mpire/ui 2.15.1 → 2.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1145,12 +1145,11 @@ var BulkAction = React5.forwardRef(
|
|
|
1145
1145
|
}
|
|
1146
1146
|
) }),
|
|
1147
1147
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(DropdownMenuContent, { align: "end", side: "top", sideOffset: 8, children: overflowItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
1148
|
-
|
|
1148
|
+
DropdownMenuItem,
|
|
1149
1149
|
{
|
|
1150
1150
|
icon: item.icon,
|
|
1151
1151
|
label: item.label,
|
|
1152
|
-
|
|
1153
|
-
onSelect: () => item.onClick?.()
|
|
1152
|
+
onClick: () => !item.disabled && item.onClick?.()
|
|
1154
1153
|
},
|
|
1155
1154
|
item.id
|
|
1156
1155
|
)) })
|
|
@@ -5747,7 +5746,7 @@ var FilterBarButton = React40.forwardRef(({ className, count, iconOnly = false,
|
|
|
5747
5746
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5748
5747
|
import_icons26.Icon,
|
|
5749
5748
|
{
|
|
5750
|
-
icon: import_icons26.
|
|
5749
|
+
icon: import_icons26.faFilterOutline,
|
|
5751
5750
|
size: "sm",
|
|
5752
5751
|
className: "shrink-0 text-[var(--color-foreground)]"
|
|
5753
5752
|
}
|
|
@@ -7600,6 +7599,14 @@ var AdvancedChip = React47.forwardRef(
|
|
|
7600
7599
|
),
|
|
7601
7600
|
...props,
|
|
7602
7601
|
children: [
|
|
7602
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
7603
|
+
import_icons33.Icon,
|
|
7604
|
+
{
|
|
7605
|
+
icon: import_icons33.faFilterOutline,
|
|
7606
|
+
size: "sm",
|
|
7607
|
+
className: "shrink-0 text-[var(--color-foreground)]"
|
|
7608
|
+
}
|
|
7609
|
+
),
|
|
7603
7610
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Advanced filters" }),
|
|
7604
7611
|
count > 0 && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "text-[10px] font-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
|
|
7605
7612
|
]
|
|
@@ -8200,7 +8207,7 @@ var AdvancedPopover = ({
|
|
|
8200
8207
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
8201
8208
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
8202
8209
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
8203
|
-
"w-[min(640px,calc(100vw-32px))]"
|
|
8210
|
+
"w-[min(640px,calc(100vw-32px))] min-w-[360px]"
|
|
8204
8211
|
),
|
|
8205
8212
|
children: [
|
|
8206
8213
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "flex flex-col gap-base p-base", children: filters.length > 0 ? filters.map((node, i) => renderNode(node, i)) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
@@ -8494,7 +8501,7 @@ var SummaryChip = ({
|
|
|
8494
8501
|
className
|
|
8495
8502
|
),
|
|
8496
8503
|
children: [
|
|
8497
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_icons38.Icon, { icon: import_icons38.
|
|
8504
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_icons38.Icon, { icon: import_icons38.faFilterOutline, size: "sm", className: "shrink-0 text-[var(--color-foreground)]" }),
|
|
8498
8505
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "text-sm font-semibold leading-sm whitespace-nowrap text-[var(--color-foreground)]", children: "Filters" }),
|
|
8499
8506
|
count > 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "flex items-center p-2xs rounded-xs bg-filter-chip-badge-bg", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "text-[10px] font-semibold leading-2xs text-filter-chip-badge-text", children: count }) })
|
|
8500
8507
|
]
|