@embedreach/components 0.2.7 → 0.2.8

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.
@@ -82009,36 +82009,24 @@ const AutomationsEditorHeader = ({ showBackButton, onDuplicationCreated, onBefor
82009
82009
  ] }),
82010
82010
  /* @__PURE__ */ jsxs("div", { className: "ml-auto flex gap-4 items-center", children: [
82011
82011
  /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 text-muted-foreground", children: automation2.triggerType === AutomationTriggerType.ONE_TIME && /* @__PURE__ */ jsxs(Fragment, { children: [
82012
- /* @__PURE__ */ jsx(
82013
- "div",
82012
+ /* @__PURE__ */ jsx("div", { className: "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-accent hover:text-accent-foreground h-10 w-10 cursor-pointer", children: /* @__PURE__ */ jsx(
82013
+ InfoTooltip,
82014
82014
  {
82015
- className: "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-accent hover:text-accent-foreground h-10 w-10 cursor-pointer",
82016
- onClick: () => setIsEditDialogOpen(true),
82017
- children: /* @__PURE__ */ jsx(
82018
- InfoTooltip,
82019
- {
82020
- title: "Edit",
82021
- Icon: IconDefinitions.EditIcon,
82022
- asChild: false
82023
- }
82024
- )
82015
+ title: "Edit",
82016
+ Icon: IconDefinitions.EditIcon,
82017
+ asChild: false,
82018
+ onClick: () => setIsEditDialogOpen(true)
82025
82019
  }
82026
- ),
82027
- /* @__PURE__ */ jsx(
82028
- "div",
82020
+ ) }),
82021
+ /* @__PURE__ */ jsx("div", { className: "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-accent hover:text-accent-foreground h-10 w-10 cursor-pointer", children: /* @__PURE__ */ jsx(
82022
+ InfoTooltip,
82029
82023
  {
82030
- className: "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:bg-accent hover:text-accent-foreground h-10 w-10 cursor-pointer",
82031
- onClick: () => setIsDuplicateDialogOpen(true),
82032
- children: /* @__PURE__ */ jsx(
82033
- InfoTooltip,
82034
- {
82035
- title: "Duplicate",
82036
- Icon: IconDefinitions.DuplicateIcon,
82037
- asChild: false
82038
- }
82039
- )
82024
+ title: "Duplicate",
82025
+ Icon: IconDefinitions.DuplicateIcon,
82026
+ asChild: false,
82027
+ onClick: () => setIsDuplicateDialogOpen(true)
82040
82028
  }
82041
- )
82029
+ ) })
82042
82030
  ] }) }),
82043
82031
  editingStatus ? /* @__PURE__ */ jsx("div", { className: "flex items-center text-muted-foreground pr-8", children: /* @__PURE__ */ jsx(BasicLoader, {}) }) : renderSwitch()
82044
82032
  ] }),