@producteca/producteca-ui-kit 1.76.4 → 1.76.5

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.
@@ -67721,19 +67721,19 @@ const PickChannelModalBase = ({
67721
67721
  onSelectChannel = () => {
67722
67722
  },
67723
67723
  titleProps = { title: locale("pickChannelModal.title") },
67724
- generalEditionTitle = locale("pickChannelModal.generalEditionTitle"),
67725
- channelEditionTitle = locale("pickChannelModal.channelEditionTitle")
67724
+ generalEditionTitle,
67725
+ channelEditionTitle
67726
67726
  }) => /* @__PURE__ */ jsxs(Modal2, { open, onClose, size: "md", fitContent: true, children: [
67727
67727
  /* @__PURE__ */ jsx$1(Modal2.Title, { ...titleProps }),
67728
67728
  /* @__PURE__ */ jsx$1(Modal2.Body, { children: /* @__PURE__ */ jsxs("div", { className: styles$g["sections"], children: [
67729
67729
  showGeneralEdition && /* @__PURE__ */ jsxs("section", { className: styles$g["section"], children: [
67730
- /* @__PURE__ */ jsx$1("h3", { className: styles$g["section__title"], children: generalEditionTitle }),
67731
- /* @__PURE__ */ jsx$1("p", { className: styles$g["section__description"], children: generalEditionDescription }),
67730
+ generalEditionTitle && /* @__PURE__ */ jsx$1("h3", { className: styles$g["section__title"], children: generalEditionTitle }),
67731
+ generalEditionDescription && /* @__PURE__ */ jsx$1("p", { className: styles$g["section__description"], children: generalEditionDescription }),
67732
67732
  /* @__PURE__ */ jsx$1("div", { className: styles$g["cards-grid"], children: /* @__PURE__ */ jsx$1(ChannelCard, { channel: productecaStrategy, onSelect: onSelectChannel }) })
67733
67733
  ] }),
67734
67734
  /* @__PURE__ */ jsxs("section", { className: styles$g["section"], children: [
67735
- /* @__PURE__ */ jsx$1("h3", { className: styles$g["section__title"], children: channelEditionTitle }),
67736
- /* @__PURE__ */ jsx$1("p", { className: styles$g["section__description"], children: channelEditionDescription }),
67735
+ channelEditionTitle && /* @__PURE__ */ jsx$1("h3", { className: styles$g["section__title"], children: channelEditionTitle }),
67736
+ channelEditionDescription && /* @__PURE__ */ jsx$1("p", { className: styles$g["section__description"], children: channelEditionDescription }),
67737
67737
  /* @__PURE__ */ jsx$1("div", { className: styles$g["cards-grid"], children: (channels || []).map((channel) => /* @__PURE__ */ jsx$1(ChannelCard, { channel, onSelect: onSelectChannel }, channel.clientId)) })
67738
67738
  ] })
67739
67739
  ] }) })