@embedreach/components 0.2.6 → 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,39 +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
- Button$1,
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
- variant: "ghost",
82016
- size: "icon",
82017
- className: "",
82018
- onClick: () => setIsEditDialogOpen(true),
82019
- children: /* @__PURE__ */ jsx(
82020
- InfoTooltip,
82021
- {
82022
- title: "Edit",
82023
- Icon: IconDefinitions.EditIcon,
82024
- asChild: false
82025
- }
82026
- )
82015
+ title: "Edit",
82016
+ Icon: IconDefinitions.EditIcon,
82017
+ asChild: false,
82018
+ onClick: () => setIsEditDialogOpen(true)
82027
82019
  }
82028
- ),
82029
- /* @__PURE__ */ jsx(
82030
- Button$1,
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,
82031
82023
  {
82032
- variant: "ghost",
82033
- size: "icon",
82034
- onClick: () => setIsDuplicateDialogOpen(true),
82035
- children: /* @__PURE__ */ jsx(
82036
- InfoTooltip,
82037
- {
82038
- title: "Duplicate",
82039
- Icon: IconDefinitions.DuplicateIcon,
82040
- asChild: false
82041
- }
82042
- )
82024
+ title: "Duplicate",
82025
+ Icon: IconDefinitions.DuplicateIcon,
82026
+ asChild: false,
82027
+ onClick: () => setIsDuplicateDialogOpen(true)
82043
82028
  }
82044
- )
82029
+ ) })
82045
82030
  ] }) }),
82046
82031
  editingStatus ? /* @__PURE__ */ jsx("div", { className: "flex items-center text-muted-foreground pr-8", children: /* @__PURE__ */ jsx(BasicLoader, {}) }) : renderSwitch()
82047
82032
  ] }),