@embedreach/components 0.1.26 → 0.1.29

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.
@@ -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, key }) => {
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
  },
@@ -36195,7 +36195,7 @@ const MultiSelect = React.forwardRef(
36195
36195
  ...props,
36196
36196
  onClick: handleTogglePopover,
36197
36197
  className: cn$1(
36198
- "flex w-full p-1 rounded-md border min-h-10 h-auto items-center justify-between bg-inherit hover:bg-inherit [&_svg]:pointer-events-auto ",
36198
+ "flex w-full p-1 rounded-md border min-h-10 h-auto items-center justify-between bg-white hover:bg-gray-50 [&_svg]:pointer-events-auto data-[state=open]:bg-gray-50",
36199
36199
  className2
36200
36200
  ),
36201
36201
  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, key }) => {
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
  },
@@ -36212,7 +36212,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
36212
36212
  ...props,
36213
36213
  onClick: handleTogglePopover,
36214
36214
  className: cn$1(
36215
- "flex w-full p-1 rounded-md border min-h-10 h-auto items-center justify-between bg-inherit hover:bg-inherit [&_svg]:pointer-events-auto ",
36215
+ "flex w-full p-1 rounded-md border min-h-10 h-auto items-center justify-between bg-white hover:bg-gray-50 [&_svg]:pointer-events-auto data-[state=open]:bg-gray-50",
36216
36216
  className2
36217
36217
  ),
36218
36218
  children: selectedValues.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between items-center w-full", children: [