@embedreach/components 0.2.15 → 0.2.16
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/chunks/index.js +14 -14
- package/dist/index.umd.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/chunks/index.js
CHANGED
|
@@ -63661,7 +63661,7 @@ const EmailPreview = ({
|
|
|
63661
63661
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-6", children: [
|
|
63662
63662
|
/* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
63663
63663
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
63664
|
-
/* @__PURE__ */ jsx(Label$1, {
|
|
63664
|
+
/* @__PURE__ */ jsx(Label$1, { children: "From Email" }),
|
|
63665
63665
|
/* @__PURE__ */ jsxs(
|
|
63666
63666
|
Select,
|
|
63667
63667
|
{
|
|
@@ -63696,7 +63696,7 @@ const EmailPreview = ({
|
|
|
63696
63696
|
)
|
|
63697
63697
|
] }),
|
|
63698
63698
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
63699
|
-
/* @__PURE__ */ jsx(Label$1, { className: "
|
|
63699
|
+
/* @__PURE__ */ jsx(Label$1, { className: "", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 py-1", children: [
|
|
63700
63700
|
"From Name",
|
|
63701
63701
|
/* @__PURE__ */ jsx(
|
|
63702
63702
|
InfoTooltip,
|
|
@@ -63718,7 +63718,7 @@ const EmailPreview = ({
|
|
|
63718
63718
|
)
|
|
63719
63719
|
] }),
|
|
63720
63720
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
63721
|
-
/* @__PURE__ */ jsx(Label$1, { className: "
|
|
63721
|
+
/* @__PURE__ */ jsx(Label$1, { className: "", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 py-1", children: [
|
|
63722
63722
|
"Reply To Email",
|
|
63723
63723
|
/* @__PURE__ */ jsx(
|
|
63724
63724
|
InfoTooltip,
|
|
@@ -63747,7 +63747,7 @@ const EmailPreview = ({
|
|
|
63747
63747
|
replyToEmailError && /* @__PURE__ */ jsx("p", { className: "text-sm text-red-500 mt-1", children: replyToEmailError })
|
|
63748
63748
|
] }),
|
|
63749
63749
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
63750
|
-
/* @__PURE__ */ jsx(Label$1, {
|
|
63750
|
+
/* @__PURE__ */ jsx(Label$1, { children: "Subject" }),
|
|
63751
63751
|
/* @__PURE__ */ jsx(
|
|
63752
63752
|
Input,
|
|
63753
63753
|
{
|
|
@@ -63761,7 +63761,7 @@ const EmailPreview = ({
|
|
|
63761
63761
|
] }),
|
|
63762
63762
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
63763
63763
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 py-1", children: [
|
|
63764
|
-
/* @__PURE__ */ jsx(Label$1, {
|
|
63764
|
+
/* @__PURE__ */ jsx(Label$1, { children: "Preview Text" }),
|
|
63765
63765
|
/* @__PURE__ */ jsx(InfoTooltip, { title: "This text will be used for the preview text of the email in the inbox" })
|
|
63766
63766
|
] }),
|
|
63767
63767
|
/* @__PURE__ */ jsx(
|
|
@@ -63778,7 +63778,7 @@ const EmailPreview = ({
|
|
|
63778
63778
|
] }),
|
|
63779
63779
|
/* @__PURE__ */ jsxs("div", { className: "border rounded-lg p-4 h-full flex flex-col", children: [
|
|
63780
63780
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-4", children: [
|
|
63781
|
-
/* @__PURE__ */ jsx("h3", { className: "font-medium
|
|
63781
|
+
/* @__PURE__ */ jsx("h3", { className: "font-medium", children: "Preview" }),
|
|
63782
63782
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
63783
63783
|
/* @__PURE__ */ jsx(
|
|
63784
63784
|
Button$1,
|
|
@@ -64024,7 +64024,7 @@ const SelectEmailOrSMS = ({
|
|
|
64024
64024
|
];
|
|
64025
64025
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
64026
64026
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
64027
|
-
/* @__PURE__ */ jsx("h3", { className: "text-xl
|
|
64027
|
+
/* @__PURE__ */ jsx("h3", { className: "text-xl font-medium", children: "Message Types" }),
|
|
64028
64028
|
/* @__PURE__ */ jsx("p", { className: "text-gray-600 mb-2 text-sm", children: "Select the channels you want to use in this automation" })
|
|
64029
64029
|
] }),
|
|
64030
64030
|
/* @__PURE__ */ jsx("div", { className: "w-full grid grid-cols-2 gap-3", children: channelOptions.map((option) => /* @__PURE__ */ jsxs(
|
|
@@ -64038,7 +64038,7 @@ const SelectEmailOrSMS = ({
|
|
|
64038
64038
|
toggleSMS();
|
|
64039
64039
|
}
|
|
64040
64040
|
},
|
|
64041
|
-
className: "relative ring-[1px] ring-border rounded-lg px-4 py-3 text-start text-muted-foreground data-[state=checked]:ring-2 data-[state=checked]:ring-primary data-[state=checked]:
|
|
64041
|
+
className: "relative ring-[1px] ring-border rounded-lg px-4 py-3 text-start text-muted-foreground data-[state=checked]:ring-2 data-[state=checked]:ring-primary data-[state=checked]:font-medium",
|
|
64042
64042
|
children: [
|
|
64043
64043
|
/* @__PURE__ */ jsx(option.icon, { className: "mb-3", size: 20 }),
|
|
64044
64044
|
/* @__PURE__ */ jsx("span", { className: "font-medium tracking-tight", children: option.label }),
|
|
@@ -64316,7 +64316,7 @@ const SMSPreview = ({ mergeFieldsResponse, smsChannelSenders }) => {
|
|
|
64316
64316
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-6", children: [
|
|
64317
64317
|
/* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
64318
64318
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
64319
|
-
/* @__PURE__ */ jsx(Label$1, {
|
|
64319
|
+
/* @__PURE__ */ jsx(Label$1, { children: "From Number" }),
|
|
64320
64320
|
/* @__PURE__ */ jsxs(
|
|
64321
64321
|
Select,
|
|
64322
64322
|
{
|
|
@@ -64333,7 +64333,7 @@ const SMSPreview = ({ mergeFieldsResponse, smsChannelSenders }) => {
|
|
|
64333
64333
|
] }),
|
|
64334
64334
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
64335
64335
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 py-1", children: [
|
|
64336
|
-
/* @__PURE__ */ jsx(Label$1, {
|
|
64336
|
+
/* @__PURE__ */ jsx(Label$1, { children: "Company Name" }),
|
|
64337
64337
|
/* @__PURE__ */ jsx(InfoTooltip, { title: "Adding your company name can help customers identify who they are talking to" })
|
|
64338
64338
|
] }),
|
|
64339
64339
|
/* @__PURE__ */ jsx(
|
|
@@ -64352,7 +64352,7 @@ const SMSPreview = ({ mergeFieldsResponse, smsChannelSenders }) => {
|
|
|
64352
64352
|
] }),
|
|
64353
64353
|
/* @__PURE__ */ jsxs("div", { className: "border rounded-lg p-4", children: [
|
|
64354
64354
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-4", children: [
|
|
64355
|
-
/* @__PURE__ */ jsx("h3", { className: "font-medium
|
|
64355
|
+
/* @__PURE__ */ jsx("h3", { className: "font-medium", children: "Preview" }),
|
|
64356
64356
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
64357
64357
|
Button$1,
|
|
64358
64358
|
{
|
|
@@ -64438,7 +64438,7 @@ const TitleAndResetButton = ({ title: title2, type }) => {
|
|
|
64438
64438
|
};
|
|
64439
64439
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
64440
64440
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
64441
|
-
/* @__PURE__ */ jsx("h4", { className: "text-xl
|
|
64441
|
+
/* @__PURE__ */ jsx("h4", { className: "text-xl font-medium", children: title2 }),
|
|
64442
64442
|
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-2", children: showResetButton && /* @__PURE__ */ jsx(Fragment, { children: loading2 ? /* @__PURE__ */ jsx(BasicLoader, {}) : /* @__PURE__ */ jsx(
|
|
64443
64443
|
Button$1,
|
|
64444
64444
|
{
|
|
@@ -65801,8 +65801,8 @@ const PreviewButton = ({
|
|
|
65801
65801
|
className: "rounded-lg px-3 py-2 flex items-center gap-2 shadow-sm bg-white/80 hover:bg-zinc-100 border border-zinc-200",
|
|
65802
65802
|
onClick,
|
|
65803
65803
|
children: [
|
|
65804
|
-
/* @__PURE__ */ jsx(IconDefinitions.PreviewButton, { className: "w-4 h-4
|
|
65805
|
-
/* @__PURE__ */ jsx("span", { className: "font-medium text-sm
|
|
65804
|
+
/* @__PURE__ */ jsx(IconDefinitions.PreviewButton, { className: "w-4 h-4" }),
|
|
65805
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-sm", children: "Preview" })
|
|
65806
65806
|
]
|
|
65807
65807
|
}
|
|
65808
65808
|
);
|