@embedreach/components 0.1.59 → 0.1.61
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/chunks/index.js +22 -11
- package/dist/index.d.ts +0 -6
- package/dist/index.es.js +3 -4
- package/dist/index.umd.js +2 -2
- package/dist/styles.css +2 -2
- package/package.json +1 -1
package/dist/chunks/index.js
CHANGED
|
@@ -35046,7 +35046,7 @@ const Command = React.forwardRef(({ className: className2, ...props }, ref) => /
|
|
|
35046
35046
|
));
|
|
35047
35047
|
Command.displayName = Ve.displayName;
|
|
35048
35048
|
const CommandInput = React.forwardRef(({ className: className2, searchIcon, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", children: [
|
|
35049
|
-
searchIcon || /* @__PURE__ */ jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
35049
|
+
searchIcon || /* @__PURE__ */ jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50 " }),
|
|
35050
35050
|
/* @__PURE__ */ jsx(
|
|
35051
35051
|
Ve.Input,
|
|
35052
35052
|
{
|
|
@@ -39027,7 +39027,7 @@ const MultiSelect = React.forwardRef(
|
|
|
39027
39027
|
searchPlaceholder = "Search...",
|
|
39028
39028
|
handleSearchInput,
|
|
39029
39029
|
emptyMessage = "No results found.",
|
|
39030
|
-
searchIcon = /* @__PURE__ */ jsx(Search, { className: "h-4 w-4" }),
|
|
39030
|
+
searchIcon = /* @__PURE__ */ jsx(Search, { className: "h-4 w-4 mr-2" }),
|
|
39031
39031
|
selectedValues,
|
|
39032
39032
|
setSelectedValues,
|
|
39033
39033
|
...props
|
|
@@ -39890,7 +39890,7 @@ function SegmentBuilder({
|
|
|
39890
39890
|
});
|
|
39891
39891
|
};
|
|
39892
39892
|
return /* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
|
|
39893
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col overflow-hidden px-8", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col gap-4 overflow-
|
|
39893
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col overflow-hidden px-8", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col gap-4 overflow-visible", children: [
|
|
39894
39894
|
/* @__PURE__ */ jsxs("div", { className: "mb-6 grid grid-cols-2 gap-2", children: [
|
|
39895
39895
|
/* @__PURE__ */ jsxs("div", { className: "grid gap-2", children: [
|
|
39896
39896
|
/* @__PURE__ */ jsx(Label$2, { className: "text-muted-foreground text-xs", children: "Name" }),
|
|
@@ -40075,6 +40075,14 @@ const AllSegmentList = () => {
|
|
|
40075
40075
|
return /* @__PURE__ */ jsx(Badge, { variant: "outline", className: `${config.className} font-medium`, children: config.label });
|
|
40076
40076
|
};
|
|
40077
40077
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
40078
|
+
/* @__PURE__ */ jsx(
|
|
40079
|
+
SegmentBuilderDialog,
|
|
40080
|
+
{
|
|
40081
|
+
open: createNewSegmentDialogOpen,
|
|
40082
|
+
setOpen: setCreateNewSegmentDialogOpen,
|
|
40083
|
+
segmentId: selectedSegment ?? void 0
|
|
40084
|
+
}
|
|
40085
|
+
),
|
|
40078
40086
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
40079
40087
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
40080
40088
|
/* @__PURE__ */ jsx(Search, { className: "absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground" }),
|
|
@@ -40088,12 +40096,16 @@ const AllSegmentList = () => {
|
|
|
40088
40096
|
}
|
|
40089
40097
|
)
|
|
40090
40098
|
] }),
|
|
40091
|
-
/* @__PURE__ */ jsx("div", { className: "ml-auto flex items-center gap-2",
|
|
40092
|
-
|
|
40099
|
+
/* @__PURE__ */ jsx("div", { className: "ml-auto flex items-center gap-2" }),
|
|
40100
|
+
/* @__PURE__ */ jsx("div", { className: "ml-auto flex items-center gap-2", children: /* @__PURE__ */ jsxs(
|
|
40101
|
+
Button$1,
|
|
40093
40102
|
{
|
|
40094
|
-
|
|
40095
|
-
|
|
40096
|
-
|
|
40103
|
+
variant: "outline",
|
|
40104
|
+
onClick: () => setCreateNewSegmentDialogOpen(true),
|
|
40105
|
+
children: [
|
|
40106
|
+
/* @__PURE__ */ jsx(Plus, {}),
|
|
40107
|
+
"Create New Segment"
|
|
40108
|
+
]
|
|
40097
40109
|
}
|
|
40098
40110
|
) })
|
|
40099
40111
|
] }),
|
|
@@ -46934,10 +46946,9 @@ export {
|
|
|
46934
46946
|
ReachProvider as W,
|
|
46935
46947
|
CreateAutomationModal as X,
|
|
46936
46948
|
Engage as Y,
|
|
46937
|
-
|
|
46938
|
-
|
|
46949
|
+
SegmentBuilderDialog as Z,
|
|
46950
|
+
ViewAutomationModal as _,
|
|
46939
46951
|
createComponent as a,
|
|
46940
|
-
ViewAutomationModal as a0,
|
|
46941
46952
|
createSignal as b,
|
|
46942
46953
|
createMemo as c,
|
|
46943
46954
|
delegateEvents as d,
|
package/dist/index.d.ts
CHANGED
|
@@ -106,12 +106,6 @@ declare interface SDKCallbacks {
|
|
|
106
106
|
onTenantInformationRequested?: () => void;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export declare function SegmentBuilder({ segmentId, setOpen, onSegmentUpdated, }: {
|
|
110
|
-
segmentId?: string;
|
|
111
|
-
setOpen: (open: boolean) => void;
|
|
112
|
-
onSegmentUpdated?: SegmentBuilderDialogProps['onSegmentUpdated'];
|
|
113
|
-
}): JSX_2.Element;
|
|
114
|
-
|
|
115
109
|
export declare function SegmentBuilderDialog({ open, setOpen, segmentId, onSegmentUpdated, }: SegmentBuilderDialogProps): JSX_2.Element;
|
|
116
110
|
|
|
117
111
|
declare interface SegmentBuilderDialogProps {
|
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { X, Y, W, Z, _
|
|
1
|
+
import { X, Y, W, Z, _ } from "./chunks/index.js";
|
|
2
2
|
export {
|
|
3
3
|
X as CreateAutomationModal,
|
|
4
4
|
Y as Engage,
|
|
5
5
|
W as ReachProvider,
|
|
6
|
-
Z as
|
|
7
|
-
_ as
|
|
8
|
-
a0 as ViewAutomationModal
|
|
6
|
+
Z as SegmentBuilderDialog,
|
|
7
|
+
_ as ViewAutomationModal
|
|
9
8
|
};
|