@daisychainapp/maily-to-core 0.4.1 → 0.4.3

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/index.mjs CHANGED
@@ -3456,7 +3456,7 @@ var TooltipContent = React.forwardRef((_a, ref) => {
3456
3456
  ref,
3457
3457
  sideOffset,
3458
3458
  className: cn(
3459
- "mly:z-50 mly:overflow-hidden mly:rounded-md mly:border mly:border-gray-200 mly:bg-white mly:px-2 mly:py-1 mly:text-xs mly:animate-in mly:fade-in-0 mly:zoom-in-95",
3459
+ "tooltip-surface mly:z-50 mly:overflow-hidden mly:rounded-md mly:border mly:border-gray-200 mly:bg-white mly:px-2 mly:py-1 mly:text-xs mly:animate-in mly:fade-in-0 mly:zoom-in-95",
3460
3460
  className
3461
3461
  )
3462
3462
  }, props)
@@ -3557,7 +3557,14 @@ function BubbleMenuButton(item) {
3557
3557
  if (tooltip) {
3558
3558
  return /* @__PURE__ */ jsxs(Tooltip, { children: [
3559
3559
  /* @__PURE__ */ jsx4(TooltipTrigger, { asChild: true, children: content }),
3560
- /* @__PURE__ */ jsx4(TooltipContent, { sideOffset: 8, children: tooltip })
3560
+ /* @__PURE__ */ jsx4(
3561
+ TooltipContent,
3562
+ {
3563
+ sideOffset: 8,
3564
+ className: "tooltip-surface",
3565
+ children: tooltip
3566
+ }
3567
+ )
3561
3568
  ] });
3562
3569
  }
3563
3570
  return content;
@@ -3831,7 +3838,14 @@ function _ShowPopover(props) {
3831
3838
  children: /* @__PURE__ */ jsx8(Eye, { className: "mly:h-3 mly:w-3 mly:stroke-[2.5]" })
3832
3839
  }
3833
3840
  ) }),
3834
- /* @__PURE__ */ jsx8(TooltipContent, { sideOffset: 8, children: "Show block conditionally" })
3841
+ /* @__PURE__ */ jsx8(
3842
+ TooltipContent,
3843
+ {
3844
+ sideOffset: 8,
3845
+ className: "tooltip-surface",
3846
+ children: "Show block conditionally"
3847
+ }
3848
+ )
3835
3849
  ] }),
3836
3850
  /* @__PURE__ */ jsxs3(
3837
3851
  PopoverContent,
@@ -3860,7 +3874,7 @@ function _ShowPopover(props) {
3860
3874
  TooltipContent,
3861
3875
  {
3862
3876
  sideOffset: 14,
3863
- className: "mly:max-w-[285px]",
3877
+ className: "tooltip-surface mly:max-w-[285px]",
3864
3878
  align: "start",
3865
3879
  children: "Show the block if the selected variable is true."
3866
3880
  }
@@ -4085,7 +4099,14 @@ function Select(props) {
4085
4099
  }
4086
4100
  return /* @__PURE__ */ jsxs5(Tooltip, { children: [
4087
4101
  /* @__PURE__ */ jsx10(TooltipTrigger, { asChild: true, children: content }),
4088
- /* @__PURE__ */ jsx10(TooltipContent, { sideOffset: 8, children: tooltip })
4102
+ /* @__PURE__ */ jsx10(
4103
+ TooltipContent,
4104
+ {
4105
+ sideOffset: 8,
4106
+ className: "tooltip-surface",
4107
+ children: tooltip
4108
+ }
4109
+ )
4089
4110
  ] });
4090
4111
  }
4091
4112
 
@@ -4793,8 +4814,8 @@ function ContentMenu(props) {
4793
4814
  TooltipContent,
4794
4815
  {
4795
4816
  sideOffset: 8,
4796
- className: "mly:border-gray-300 mly:bg-transparent mly:p-0 mly:text-gray-700 mly:shadow-sm",
4797
- children: /* @__PURE__ */ jsx14("span", { className: "mly:block mly:rounded-md mly:bg-soft-gray mly:!px-2 mly:!py-1.5", children: "Add new node" })
4817
+ className: "tooltip-surface",
4818
+ children: "Add new node"
4798
4819
  }
4799
4820
  )
4800
4821
  ] }),
@@ -4820,8 +4841,8 @@ function ContentMenu(props) {
4820
4841
  TooltipContent,
4821
4842
  {
4822
4843
  sideOffset: 8,
4823
- className: "mly:border-gray-300 mly:bg-transparent mly:p-0 mly:text-gray-700 mly:shadow-sm",
4824
- children: /* @__PURE__ */ jsx14("span", { className: "mly:block mly:rounded-md mly:bg-soft-gray mly:!px-2 mly:!py-1.5", children: "Node actions" })
4844
+ className: "tooltip-surface",
4845
+ children: "Node actions"
4825
4846
  }
4826
4847
  )
4827
4848
  ] }),
@@ -6201,7 +6222,14 @@ function AlignmentSwitch(props) {
6201
6222
  children: /* @__PURE__ */ jsx18(activeAlignment.icon, { className: "mly:h-3 mly:w-3 mly:stroke-[2.5]" })
6202
6223
  }
6203
6224
  ) }),
6204
- /* @__PURE__ */ jsx18(TooltipContent, { sideOffset: 8, children: "Alignment" })
6225
+ /* @__PURE__ */ jsx18(
6226
+ TooltipContent,
6227
+ {
6228
+ sideOffset: 8,
6229
+ className: "tooltip-surface",
6230
+ children: "Alignment"
6231
+ }
6232
+ )
6205
6233
  ] }),
6206
6234
  /* @__PURE__ */ jsx18(
6207
6235
  PopoverContent,
@@ -7665,7 +7693,14 @@ function LinkInputPopover(props) {
7665
7693
  children: [
7666
7694
  tooltip ? /* @__PURE__ */ jsxs16(Tooltip, { children: [
7667
7695
  /* @__PURE__ */ jsx34(TooltipTrigger, { asChild: true, children: popoverButton }),
7668
- /* @__PURE__ */ jsx34(TooltipContent, { sideOffset: 8, children: tooltip })
7696
+ /* @__PURE__ */ jsx34(
7697
+ TooltipContent,
7698
+ {
7699
+ sideOffset: 8,
7700
+ className: "tooltip-surface",
7701
+ children: tooltip
7702
+ }
7703
+ )
7669
7704
  ] }) : popoverButton,
7670
7705
  /* @__PURE__ */ jsx34(
7671
7706
  PopoverContent,
@@ -8299,7 +8334,7 @@ function RepeatBubbleMenu(props) {
8299
8334
  TooltipContent,
8300
8335
  {
8301
8336
  sideOffset: 14,
8302
- className: "mly:max-w-[260px]",
8337
+ className: "tooltip-surface mly:max-w-[260px]",
8303
8338
  align: "start",
8304
8339
  children: "Ensure the selected variable is iterable, such as an array of objects."
8305
8340
  }
@@ -8519,7 +8554,14 @@ function ColorPicker(props) {
8519
8554
  children: [
8520
8555
  tooltip ? /* @__PURE__ */ jsxs22(Tooltip, { children: [
8521
8556
  /* @__PURE__ */ jsx42(TooltipTrigger, { asChild: true, children: popoverButton }),
8522
- /* @__PURE__ */ jsx42(TooltipContent, { sideOffset: 8, children: tooltip })
8557
+ /* @__PURE__ */ jsx42(
8558
+ TooltipContent,
8559
+ {
8560
+ sideOffset: 8,
8561
+ className: "tooltip-surface",
8562
+ children: tooltip
8563
+ }
8564
+ )
8523
8565
  ] }) : popoverButton,
8524
8566
  /* @__PURE__ */ jsx42(
8525
8567
  PopoverContent,
@@ -11442,7 +11484,14 @@ function TurnIntoBlock(props) {
11442
11484
  ]
11443
11485
  }
11444
11486
  ) }),
11445
- /* @__PURE__ */ jsx56(TooltipContent, { sideOffset: 8, children: "Turn into" })
11487
+ /* @__PURE__ */ jsx56(
11488
+ TooltipContent,
11489
+ {
11490
+ sideOffset: 8,
11491
+ className: "tooltip-surface",
11492
+ children: "Turn into"
11493
+ }
11494
+ )
11446
11495
  ] }),
11447
11496
  /* @__PURE__ */ jsx56(
11448
11497
  PopoverContent,