@embedreach/components 0.1.28 → 0.1.30
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 +7 -6
- package/dist/index.umd.js +7 -6
- package/dist/styles.css +14 -18
- package/package.json +1 -1
package/dist/chunks/index.js
CHANGED
|
@@ -23941,7 +23941,7 @@ const createMotionComponent = /* @__PURE__ */ createMotionComponentFactory({
|
|
|
23941
23941
|
...layout
|
|
23942
23942
|
}, createDomVisualElement);
|
|
23943
23943
|
const motion = /* @__PURE__ */ createDOMMotionComponentProxy(createMotionComponent);
|
|
23944
|
-
const BlurDiv = ({ children: children2, className: className2
|
|
23944
|
+
const BlurDiv = ({ children: children2, className: className2 }) => {
|
|
23945
23945
|
return /* @__PURE__ */ jsx(
|
|
23946
23946
|
motion.div,
|
|
23947
23947
|
{
|
|
@@ -23951,8 +23951,7 @@ const BlurDiv = ({ children: children2, className: className2, key }) => {
|
|
|
23951
23951
|
transition: { duration: 0.3, ease: "easeInOut" },
|
|
23952
23952
|
className: className2,
|
|
23953
23953
|
children: children2
|
|
23954
|
-
}
|
|
23955
|
-
key
|
|
23954
|
+
}
|
|
23956
23955
|
);
|
|
23957
23956
|
};
|
|
23958
23957
|
const BUSINESS_SEGMENT_PATH = "/segments";
|
|
@@ -24278,6 +24277,7 @@ const ActionButtons$1 = ({
|
|
|
24278
24277
|
/* @__PURE__ */ jsx(
|
|
24279
24278
|
Button$1,
|
|
24280
24279
|
{
|
|
24280
|
+
variant: "secondary",
|
|
24281
24281
|
className: cn$1("px-4 py-2"),
|
|
24282
24282
|
onClick: () => {
|
|
24283
24283
|
if (currentStep === "choose-automation-type") {
|
|
@@ -24300,7 +24300,7 @@ const ActionButtons$1 = ({
|
|
|
24300
24300
|
{
|
|
24301
24301
|
className: cn$1("px-4 py-2"),
|
|
24302
24302
|
onClick: () => {
|
|
24303
|
-
if (!isDisabled) {
|
|
24303
|
+
if (!isDisabled && currentStep === "set-automation-name") {
|
|
24304
24304
|
createAutomation2();
|
|
24305
24305
|
}
|
|
24306
24306
|
},
|
|
@@ -36189,13 +36189,14 @@ const MultiSelect = React.forwardRef(
|
|
|
36189
36189
|
modal: modalPopover,
|
|
36190
36190
|
children: [
|
|
36191
36191
|
/* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
36192
|
-
|
|
36192
|
+
"button",
|
|
36193
36193
|
{
|
|
36194
|
+
type: "button",
|
|
36194
36195
|
ref,
|
|
36195
36196
|
...props,
|
|
36196
36197
|
onClick: handleTogglePopover,
|
|
36197
36198
|
className: cn$1(
|
|
36198
|
-
"flex w-full p-1 rounded-md border min-h-
|
|
36199
|
+
"flex w-full p-1 rounded-md border min-h-9 h-auto items-center justify-between bg-white hover:bg-gray-50 [&_svg]:pointer-events-auto data-[state=open]:bg-gray-50",
|
|
36199
36200
|
className2
|
|
36200
36201
|
),
|
|
36201
36202
|
children: selectedValues.length > 0 ? /* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center w-full", children: [
|
package/dist/index.umd.js
CHANGED
|
@@ -23958,7 +23958,7 @@
|
|
|
23958
23958
|
...layout
|
|
23959
23959
|
}, createDomVisualElement);
|
|
23960
23960
|
const motion = /* @__PURE__ */ createDOMMotionComponentProxy(createMotionComponent);
|
|
23961
|
-
const BlurDiv = ({ children: children2, className: className2
|
|
23961
|
+
const BlurDiv = ({ children: children2, className: className2 }) => {
|
|
23962
23962
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23963
23963
|
motion.div,
|
|
23964
23964
|
{
|
|
@@ -23968,8 +23968,7 @@
|
|
|
23968
23968
|
transition: { duration: 0.3, ease: "easeInOut" },
|
|
23969
23969
|
className: className2,
|
|
23970
23970
|
children: children2
|
|
23971
|
-
}
|
|
23972
|
-
key
|
|
23971
|
+
}
|
|
23973
23972
|
);
|
|
23974
23973
|
};
|
|
23975
23974
|
const BUSINESS_SEGMENT_PATH = "/segments";
|
|
@@ -24295,6 +24294,7 @@
|
|
|
24295
24294
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24296
24295
|
Button$2,
|
|
24297
24296
|
{
|
|
24297
|
+
variant: "secondary",
|
|
24298
24298
|
className: cn$1("px-4 py-2"),
|
|
24299
24299
|
onClick: () => {
|
|
24300
24300
|
if (currentStep === "choose-automation-type") {
|
|
@@ -24317,7 +24317,7 @@
|
|
|
24317
24317
|
{
|
|
24318
24318
|
className: cn$1("px-4 py-2"),
|
|
24319
24319
|
onClick: () => {
|
|
24320
|
-
if (!isDisabled) {
|
|
24320
|
+
if (!isDisabled && currentStep === "set-automation-name") {
|
|
24321
24321
|
createAutomation2();
|
|
24322
24322
|
}
|
|
24323
24323
|
},
|
|
@@ -36206,13 +36206,14 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
|
|
|
36206
36206
|
modal: modalPopover,
|
|
36207
36207
|
children: [
|
|
36208
36208
|
/* @__PURE__ */ jsxRuntime.jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
36209
|
-
|
|
36209
|
+
"button",
|
|
36210
36210
|
{
|
|
36211
|
+
type: "button",
|
|
36211
36212
|
ref,
|
|
36212
36213
|
...props,
|
|
36213
36214
|
onClick: handleTogglePopover,
|
|
36214
36215
|
className: cn$1(
|
|
36215
|
-
"flex w-full p-1 rounded-md border min-h-
|
|
36216
|
+
"flex w-full p-1 rounded-md border min-h-9 h-auto items-center justify-between bg-white hover:bg-gray-50 [&_svg]:pointer-events-auto data-[state=open]:bg-gray-50",
|
|
36216
36217
|
className2
|
|
36217
36218
|
),
|
|
36218
36219
|
children: selectedValues.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between items-center w-full", children: [
|
package/dist/styles.css
CHANGED
|
@@ -993,12 +993,12 @@ video {
|
|
|
993
993
|
.max-h-screen {
|
|
994
994
|
max-height: 100vh;
|
|
995
995
|
}
|
|
996
|
-
.min-h-10 {
|
|
997
|
-
min-height: 2.5rem;
|
|
998
|
-
}
|
|
999
996
|
.min-h-6 {
|
|
1000
997
|
min-height: 1.5rem;
|
|
1001
998
|
}
|
|
999
|
+
.min-h-9 {
|
|
1000
|
+
min-height: 2.25rem;
|
|
1001
|
+
}
|
|
1002
1002
|
.min-h-\[100vh\] {
|
|
1003
1003
|
min-height: 100vh;
|
|
1004
1004
|
}
|
|
@@ -1809,9 +1809,6 @@ video {
|
|
|
1809
1809
|
--tw-bg-opacity: 1;
|
|
1810
1810
|
background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
|
|
1811
1811
|
}
|
|
1812
|
-
.bg-inherit {
|
|
1813
|
-
background-color: inherit;
|
|
1814
|
-
}
|
|
1815
1812
|
.bg-muted {
|
|
1816
1813
|
background-color: hsl(var(--muted));
|
|
1817
1814
|
}
|
|
@@ -2751,9 +2748,6 @@ video {
|
|
|
2751
2748
|
--tw-bg-opacity: 1;
|
|
2752
2749
|
background-color: rgb(21 128 61 / var(--tw-bg-opacity, 1));
|
|
2753
2750
|
}
|
|
2754
|
-
.hover\:bg-inherit:hover {
|
|
2755
|
-
background-color: inherit;
|
|
2756
|
-
}
|
|
2757
2751
|
.hover\:bg-muted:hover {
|
|
2758
2752
|
background-color: hsl(var(--muted));
|
|
2759
2753
|
}
|
|
@@ -3071,6 +3065,10 @@ video {
|
|
|
3071
3065
|
.data-\[state\=open\]\:bg-accent\/50[data-state="open"] {
|
|
3072
3066
|
background-color: hsl(var(--accent) / 0.5);
|
|
3073
3067
|
}
|
|
3068
|
+
.data-\[state\=open\]\:bg-gray-50[data-state="open"] {
|
|
3069
|
+
--tw-bg-opacity: 1;
|
|
3070
|
+
background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
|
|
3071
|
+
}
|
|
3074
3072
|
.data-\[state\=open\]\:bg-secondary[data-state="open"] {
|
|
3075
3073
|
background-color: hsl(var(--secondary));
|
|
3076
3074
|
}
|
|
@@ -4722,12 +4720,12 @@ video {
|
|
|
4722
4720
|
.max-h-screen {
|
|
4723
4721
|
max-height: 100vh;
|
|
4724
4722
|
}
|
|
4725
|
-
.min-h-10 {
|
|
4726
|
-
min-height: 2.5rem;
|
|
4727
|
-
}
|
|
4728
4723
|
.min-h-6 {
|
|
4729
4724
|
min-height: 1.5rem;
|
|
4730
4725
|
}
|
|
4726
|
+
.min-h-9 {
|
|
4727
|
+
min-height: 2.25rem;
|
|
4728
|
+
}
|
|
4731
4729
|
.min-h-\[100vh\] {
|
|
4732
4730
|
min-height: 100vh;
|
|
4733
4731
|
}
|
|
@@ -5538,9 +5536,6 @@ video {
|
|
|
5538
5536
|
--tw-bg-opacity: 1;
|
|
5539
5537
|
background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
|
|
5540
5538
|
}
|
|
5541
|
-
.bg-inherit {
|
|
5542
|
-
background-color: inherit;
|
|
5543
|
-
}
|
|
5544
5539
|
.bg-muted {
|
|
5545
5540
|
background-color: hsl(var(--muted));
|
|
5546
5541
|
}
|
|
@@ -6480,9 +6475,6 @@ video {
|
|
|
6480
6475
|
--tw-bg-opacity: 1;
|
|
6481
6476
|
background-color: rgb(21 128 61 / var(--tw-bg-opacity, 1));
|
|
6482
6477
|
}
|
|
6483
|
-
.hover\:bg-inherit:hover {
|
|
6484
|
-
background-color: inherit;
|
|
6485
|
-
}
|
|
6486
6478
|
.hover\:bg-muted:hover {
|
|
6487
6479
|
background-color: hsl(var(--muted));
|
|
6488
6480
|
}
|
|
@@ -6800,6 +6792,10 @@ video {
|
|
|
6800
6792
|
.data-\[state\=open\]\:bg-accent\/50[data-state="open"] {
|
|
6801
6793
|
background-color: hsl(var(--accent) / 0.5);
|
|
6802
6794
|
}
|
|
6795
|
+
.data-\[state\=open\]\:bg-gray-50[data-state="open"] {
|
|
6796
|
+
--tw-bg-opacity: 1;
|
|
6797
|
+
background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
|
|
6798
|
+
}
|
|
6803
6799
|
.data-\[state\=open\]\:bg-secondary[data-state="open"] {
|
|
6804
6800
|
background-color: hsl(var(--secondary));
|
|
6805
6801
|
}
|