@l3mpire/ui 2.19.0 → 2.19.1
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 +12 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -20
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7565,7 +7565,7 @@ import { Icon as Icon35, faPlusOutline as faPlusOutline3, faChevronDownOutline a
|
|
|
7565
7565
|
// src/components/ui/filter/advanced-row.tsx
|
|
7566
7566
|
import * as React49 from "react";
|
|
7567
7567
|
import * as PopoverPrimitive11 from "@radix-ui/react-popover";
|
|
7568
|
-
import { Icon as Icon33,
|
|
7568
|
+
import { Icon as Icon33, faChevronDownOutline as faChevronDownOutline2 } from "@l3mpire/icons";
|
|
7569
7569
|
|
|
7570
7570
|
// src/components/ui/filter/filter-node-actions.tsx
|
|
7571
7571
|
import * as React48 from "react";
|
|
@@ -7719,23 +7719,20 @@ var AdvancedRow = ({
|
|
|
7719
7719
|
const badgeCount = getBadgeCount(condition.value);
|
|
7720
7720
|
const hasValue = displayValue != null;
|
|
7721
7721
|
return /* @__PURE__ */ jsxs50("div", { className: "flex items-center gap-base w-full min-w-0", children: [
|
|
7722
|
-
connector === "Where" ? /* @__PURE__ */ jsx56("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx56("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */
|
|
7722
|
+
connector === "Where" ? /* @__PURE__ */ jsx56("div", { className: "shrink-0 w-[64px] flex items-center justify-end", children: /* @__PURE__ */ jsx56("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */ jsx56(
|
|
7723
7723
|
"button",
|
|
7724
7724
|
{
|
|
7725
7725
|
type: "button",
|
|
7726
|
-
|
|
7726
|
+
disabled: true,
|
|
7727
|
+
title: "Coming soon",
|
|
7727
7728
|
className: cn(
|
|
7728
|
-
"shrink-0 flex items-center justify-center
|
|
7729
|
+
"shrink-0 flex items-center justify-center",
|
|
7729
7730
|
"min-w-[64px] min-h-[32px] max-h-[32px] px-base py-sm",
|
|
7730
7731
|
"bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
|
|
7731
7732
|
"border border-[var(--color-btn-outlined-neutral-border-default)] rounded-base shadow-sm",
|
|
7732
|
-
"
|
|
7733
|
-
"hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
|
|
7733
|
+
"text-xs font-semibold leading-xs text-[var(--color-foreground)] opacity-60 cursor-not-allowed"
|
|
7734
7734
|
),
|
|
7735
|
-
children:
|
|
7736
|
-
connector,
|
|
7737
|
-
/* @__PURE__ */ jsx56(Icon33, { icon: faRefreshOutline, size: "xs", className: "text-[var(--color-foreground)]" })
|
|
7738
|
-
]
|
|
7735
|
+
children: connector
|
|
7739
7736
|
}
|
|
7740
7737
|
),
|
|
7741
7738
|
/* @__PURE__ */ jsxs50(PopoverPrimitive11.Root, { open: propertyOpen, onOpenChange: setPropertyOpen, children: [
|
|
@@ -7911,7 +7908,7 @@ AdvancedRow.displayName = "AdvancedRow";
|
|
|
7911
7908
|
|
|
7912
7909
|
// src/components/ui/filter/advanced-group.tsx
|
|
7913
7910
|
import * as React50 from "react";
|
|
7914
|
-
import { Icon as Icon34,
|
|
7911
|
+
import { Icon as Icon34, faPlusOutline as faPlusOutline2 } from "@l3mpire/icons";
|
|
7915
7912
|
import { jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7916
7913
|
var AdvancedGroup = ({
|
|
7917
7914
|
connector,
|
|
@@ -7925,23 +7922,20 @@ var AdvancedGroup = ({
|
|
|
7925
7922
|
}) => {
|
|
7926
7923
|
const [addOpen, setAddOpen] = React50.useState(false);
|
|
7927
7924
|
return /* @__PURE__ */ jsxs51("div", { className: "flex items-start gap-base w-full min-w-0", children: [
|
|
7928
|
-
connector === "Where" ? /* @__PURE__ */ jsx57("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ jsx57("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */ jsx57("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */
|
|
7925
|
+
connector === "Where" ? /* @__PURE__ */ jsx57("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ jsx57("span", { className: "text-xs font-semibold leading-xs text-[var(--color-muted-foreground)]", children: "Where" }) }) : /* @__PURE__ */ jsx57("div", { className: "shrink-0 w-[64px] flex items-center justify-end pt-base", children: /* @__PURE__ */ jsx57(
|
|
7929
7926
|
"button",
|
|
7930
7927
|
{
|
|
7931
7928
|
type: "button",
|
|
7932
|
-
|
|
7929
|
+
disabled: true,
|
|
7930
|
+
title: "Coming soon",
|
|
7933
7931
|
className: cn(
|
|
7934
|
-
"flex items-center justify-center
|
|
7932
|
+
"flex items-center justify-center",
|
|
7935
7933
|
"min-w-[64px] min-h-[32px] max-h-[32px] px-base py-sm",
|
|
7936
7934
|
"bg-gradient-to-t from-[var(--color-btn-outlined-neutral-bg-default)] from-[10%] to-[var(--color-btn-outlined-neutral-bg-gradient-to-default)]",
|
|
7937
7935
|
"border border-[var(--color-btn-outlined-neutral-border-default)] rounded-base shadow-sm",
|
|
7938
|
-
"
|
|
7939
|
-
"hover:from-[var(--color-btn-outlined-neutral-bg-hover)] hover:to-[var(--color-btn-outlined-neutral-bg-gradient-to-hover)]"
|
|
7936
|
+
"text-xs font-semibold leading-xs text-[var(--color-foreground)] opacity-60 cursor-not-allowed"
|
|
7940
7937
|
),
|
|
7941
|
-
children:
|
|
7942
|
-
connector,
|
|
7943
|
-
/* @__PURE__ */ jsx57(Icon34, { icon: faRefreshOutline2, size: "xs", className: "text-[var(--color-foreground)]" })
|
|
7944
|
-
]
|
|
7938
|
+
children: connector
|
|
7945
7939
|
}
|
|
7946
7940
|
) }),
|
|
7947
7941
|
/* @__PURE__ */ jsxs51("div", { className: "flex-1 min-w-0 flex flex-col gap-base p-base border border-[var(--color-border)] rounded-md bg-[var(--color-secondary,var(--color-accent))]", children: [
|