@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.cjs CHANGED
@@ -3489,7 +3489,7 @@ var TooltipContent = React.forwardRef((_a, ref) => {
3489
3489
  ref,
3490
3490
  sideOffset,
3491
3491
  className: cn(
3492
- "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",
3492
+ "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",
3493
3493
  className
3494
3494
  )
3495
3495
  }, props)
@@ -3586,7 +3586,14 @@ function BubbleMenuButton(item) {
3586
3586
  if (tooltip) {
3587
3587
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(Tooltip, { children: [
3588
3588
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(TooltipTrigger, { asChild: true, children: content }),
3589
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(TooltipContent, { sideOffset: 8, children: tooltip })
3589
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3590
+ TooltipContent,
3591
+ {
3592
+ sideOffset: 8,
3593
+ className: "tooltip-surface",
3594
+ children: tooltip
3595
+ }
3596
+ )
3590
3597
  ] });
3591
3598
  }
3592
3599
  return content;
@@ -3860,7 +3867,14 @@ function _ShowPopover(props) {
3860
3867
  children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react3.Eye, { className: "mly:h-3 mly:w-3 mly:stroke-[2.5]" })
3861
3868
  }
3862
3869
  ) }),
3863
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TooltipContent, { sideOffset: 8, children: "Show block conditionally" })
3870
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3871
+ TooltipContent,
3872
+ {
3873
+ sideOffset: 8,
3874
+ className: "tooltip-surface",
3875
+ children: "Show block conditionally"
3876
+ }
3877
+ )
3864
3878
  ] }),
3865
3879
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
3866
3880
  PopoverContent,
@@ -3889,7 +3903,7 @@ function _ShowPopover(props) {
3889
3903
  TooltipContent,
3890
3904
  {
3891
3905
  sideOffset: 14,
3892
- className: "mly:max-w-[285px]",
3906
+ className: "tooltip-surface mly:max-w-[285px]",
3893
3907
  align: "start",
3894
3908
  children: "Show the block if the selected variable is true."
3895
3909
  }
@@ -4114,7 +4128,14 @@ function Select(props) {
4114
4128
  }
4115
4129
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(Tooltip, { children: [
4116
4130
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TooltipTrigger, { asChild: true, children: content }),
4117
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TooltipContent, { sideOffset: 8, children: tooltip })
4131
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
4132
+ TooltipContent,
4133
+ {
4134
+ sideOffset: 8,
4135
+ className: "tooltip-surface",
4136
+ children: tooltip
4137
+ }
4138
+ )
4118
4139
  ] });
4119
4140
  }
4120
4141
 
@@ -4814,8 +4835,8 @@ function ContentMenu(props) {
4814
4835
  TooltipContent,
4815
4836
  {
4816
4837
  sideOffset: 8,
4817
- className: "mly:border-gray-300 mly:bg-transparent mly:p-0 mly:text-gray-700 mly:shadow-sm",
4818
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "mly:block mly:rounded-md mly:bg-soft-gray mly:!px-2 mly:!py-1.5", children: "Add new node" })
4838
+ className: "tooltip-surface",
4839
+ children: "Add new node"
4819
4840
  }
4820
4841
  )
4821
4842
  ] }),
@@ -4841,8 +4862,8 @@ function ContentMenu(props) {
4841
4862
  TooltipContent,
4842
4863
  {
4843
4864
  sideOffset: 8,
4844
- className: "mly:border-gray-300 mly:bg-transparent mly:p-0 mly:text-gray-700 mly:shadow-sm",
4845
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "mly:block mly:rounded-md mly:bg-soft-gray mly:!px-2 mly:!py-1.5", children: "Node actions" })
4865
+ className: "tooltip-surface",
4866
+ children: "Node actions"
4846
4867
  }
4847
4868
  )
4848
4869
  ] }),
@@ -6206,7 +6227,14 @@ function AlignmentSwitch(props) {
6206
6227
  children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(activeAlignment.icon, { className: "mly:h-3 mly:w-3 mly:stroke-[2.5]" })
6207
6228
  }
6208
6229
  ) }),
6209
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(TooltipContent, { sideOffset: 8, children: "Alignment" })
6230
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6231
+ TooltipContent,
6232
+ {
6233
+ sideOffset: 8,
6234
+ className: "tooltip-surface",
6235
+ children: "Alignment"
6236
+ }
6237
+ )
6210
6238
  ] }),
6211
6239
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6212
6240
  PopoverContent,
@@ -7640,7 +7668,14 @@ function LinkInputPopover(props) {
7640
7668
  children: [
7641
7669
  tooltip ? /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Tooltip, { children: [
7642
7670
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TooltipTrigger, { asChild: true, children: popoverButton }),
7643
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TooltipContent, { sideOffset: 8, children: tooltip })
7671
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
7672
+ TooltipContent,
7673
+ {
7674
+ sideOffset: 8,
7675
+ className: "tooltip-surface",
7676
+ children: tooltip
7677
+ }
7678
+ )
7644
7679
  ] }) : popoverButton,
7645
7680
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
7646
7681
  PopoverContent,
@@ -8274,7 +8309,7 @@ function RepeatBubbleMenu(props) {
8274
8309
  TooltipContent,
8275
8310
  {
8276
8311
  sideOffset: 14,
8277
- className: "mly:max-w-[260px]",
8312
+ className: "tooltip-surface mly:max-w-[260px]",
8278
8313
  align: "start",
8279
8314
  children: "Ensure the selected variable is iterable, such as an array of objects."
8280
8315
  }
@@ -8494,7 +8529,14 @@ function ColorPicker(props) {
8494
8529
  children: [
8495
8530
  tooltip ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Tooltip, { children: [
8496
8531
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TooltipTrigger, { asChild: true, children: popoverButton }),
8497
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TooltipContent, { sideOffset: 8, children: tooltip })
8532
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
8533
+ TooltipContent,
8534
+ {
8535
+ sideOffset: 8,
8536
+ className: "tooltip-surface",
8537
+ children: tooltip
8538
+ }
8539
+ )
8498
8540
  ] }) : popoverButton,
8499
8541
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
8500
8542
  PopoverContent,
@@ -11398,7 +11440,14 @@ function TurnIntoBlock(props) {
11398
11440
  ]
11399
11441
  }
11400
11442
  ) }),
11401
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(TooltipContent, { sideOffset: 8, children: "Turn into" })
11443
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
11444
+ TooltipContent,
11445
+ {
11446
+ sideOffset: 8,
11447
+ className: "tooltip-surface",
11448
+ children: "Turn into"
11449
+ }
11450
+ )
11402
11451
  ] }),
11403
11452
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
11404
11453
  PopoverContent,