@yoast/ai-insights-client 1.4.79 → 1.4.80

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.
@@ -7692,11 +7692,11 @@ var CitationTableRow = function CitationTableRow2(_ref) {
7692
7692
  var nrOfMentions = numberOfMentions === null || numberOfMentions === void 0 ? void 0 : numberOfMentions.value;
7693
7693
  var previousNrOfMentions = numberOfMentions === null || numberOfMentions === void 0 ? void 0 : numberOfMentions.previous;
7694
7694
  var nrOfMentionsDelta = typeof (previousNrOfMentions === null || previousNrOfMentions === void 0 ? void 0 : previousNrOfMentions.difference) === "number" ? previousNrOfMentions.difference : nrOfMentions;
7695
- return /* @__PURE__ */ jsxs("tr", { className: "yst-flex yst-flex-col md:yst-table-row", children: [
7695
+ return /* @__PURE__ */ jsxs("tr", { className: "yst-flex yst-flex-col yst-py-4 md:yst-table-row md:yst-py-0", children: [
7696
7696
  /* @__PURE__ */ jsxs(
7697
7697
  Table.Cell,
7698
7698
  {
7699
- className: "yst-ml-2 yst-py-1 md:yst-ml-0 md:yst-p-2",
7699
+ className: "yst-p-0 yst-py-1 md:yst-ml-0 md:yst-p-2",
7700
7700
  children: [
7701
7701
  /* @__PURE__ */ jsx(MobileOnly, { as: "span", children: "Rank:" }),
7702
7702
  showSkeleton ? /* @__PURE__ */ jsx(SkeletonLoader, { className: "yst-h-6 yst-w-24" }) : /* @__PURE__ */ jsx("span", { className: "yst-font-medium yst-text-slate-900", children: rank !== null && rank !== void 0 ? rank : "—" })
@@ -7706,28 +7706,27 @@ var CitationTableRow = function CitationTableRow2(_ref) {
7706
7706
  /* @__PURE__ */ jsx(
7707
7707
  Table.Cell,
7708
7708
  {
7709
- className: "yst-ml-2 yst-py-1 md:yst-ml-0 md:yst-p-2 yst-break-all",
7710
- children: showSkeleton ? /* @__PURE__ */ jsx(SkeletonLoader, { className: "yst-h-6 yst-w-full" }) : /* @__PURE__ */ jsx("div", { className: "yst-flex yst-items-center yst-gap-2", children: /* @__PURE__ */ jsxs(Link$1, { className: "yst-flex yst-items-center yst-gap-1 yst-font-medium", href: url || "#", rel: "nofollow noreferrer", target: "_blank", children: [
7711
- /* @__PURE__ */ jsx("span", { children: url !== null && url !== void 0 ? url : "—" }),
7712
- " ",
7713
- /* @__PURE__ */ jsx(ForwardRef$2, {})
7714
- ] }) })
7709
+ className: "yst-break-all yst-p-0 yst-py-1 md:yst-ml-0 md:yst-w-1/2 md:yst-p-2",
7710
+ children: showSkeleton ? /* @__PURE__ */ jsx(SkeletonLoader, { className: "yst-h-6 yst-w-full" }) : /* @__PURE__ */ jsxs(Link$1, { className: "yst-font-medium", href: url || "#", rel: "nofollow noreferrer", target: "_blank", children: [
7711
+ /* @__PURE__ */ jsx("span", { className: "yst-inline yst-break-all", children: url !== null && url !== void 0 ? url : "—" }),
7712
+ /* @__PURE__ */ jsx(ForwardRef$2, { className: "yst-ml-1 yst-inline-block yst-h-4 yst-w-4 yst-align-text-bottom" })
7713
+ ] })
7715
7714
  }
7716
7715
  ),
7717
7716
  /* @__PURE__ */ jsxs(
7718
7717
  Table.Cell,
7719
7718
  {
7720
- className: "yst-ml-2 yst-py-1 yst-font-medium md:yst-ml-0 md:yst-p-2",
7719
+ className: "yst-p-0 yst-py-1 yst-font-medium md:yst-ml-0 md:yst-p-2",
7721
7720
  children: [
7722
7721
  /* @__PURE__ */ jsx(MobileOnly, { as: "span", children: "Domain:" }),
7723
- showSkeleton ? /* @__PURE__ */ jsx(SkeletonLoader, { className: "yst-h-6 yst-w-24" }) : /* @__PURE__ */ jsx("span", { className: "yst-font-medium yst-text-slate-900", children: rootDomain !== null && rootDomain !== void 0 ? rootDomain : "—" })
7722
+ showSkeleton ? /* @__PURE__ */ jsx(SkeletonLoader, { className: "yst-h-6 yst-w-24" }) : /* @__PURE__ */ jsx("span", { className: "yst-inline yst-break-all yst-font-medium yst-text-slate-900", children: rootDomain !== null && rootDomain !== void 0 ? rootDomain : "—" })
7724
7723
  ]
7725
7724
  }
7726
7725
  ),
7727
7726
  enableCategories && /* @__PURE__ */ jsxs(
7728
7727
  Table.Cell,
7729
7728
  {
7730
- className: "yst-ml-2 yst-py-1 md:yst-ml-0 md:yst-p-2",
7729
+ className: "yst-p-0 yst-py-1 md:yst-ml-0 md:yst-p-2",
7731
7730
  children: [
7732
7731
  /* @__PURE__ */ jsx(MobileOnly, { as: "span", children: "Category:" }),
7733
7732
  showSkeleton ? /* @__PURE__ */ jsx(SkeletonLoader, { className: "yst-h-6 yst-w-16" }) : /* @__PURE__ */ jsx(Badge, { className: cx(getCategoryColor(category || "").bg, getCategoryColor(category || "").text), children: category !== null && category !== void 0 ? category : "—" })
@@ -7736,7 +7735,7 @@ var CitationTableRow = function CitationTableRow2(_ref) {
7736
7735
  ),
7737
7736
  /* @__PURE__ */ jsxs(Table.Cell, { className: cx(
7738
7737
  //mobile
7739
- "yst-ml-2 yst-py-0 md:yst-ml-0 md:yst-p-2",
7738
+ "yst-p-0 yst-py-0 md:yst-ml-0 md:yst-p-2",
7740
7739
  // etc
7741
7740
  "yst-font-medium",
7742
7741
  {
@@ -7751,18 +7750,18 @@ var CitationTableRow = function CitationTableRow2(_ref) {
7751
7750
  /* @__PURE__ */ jsxs(
7752
7751
  Table.Cell,
7753
7752
  {
7754
- className: "yst-ml-2 yst-pt-1 md:yst-ml-0 md:yst-p-2 md:yst-text-right",
7753
+ className: "yst-flex yst-p-0 yst-pt-1 md:yst-ml-0 md:yst-p-2 md:yst-text-right",
7755
7754
  children: [
7756
7755
  /* @__PURE__ */ jsx(MobileOnly, { as: "span", children: "Mentions:" }),
7757
- showSkeleton ? /* @__PURE__ */ jsx(SkeletonLoader, { className: "yst-h-6 yst-w-8" }) : nrOfMentions ? /* @__PURE__ */ jsxs("span", { className: "yst-flex yst-justify-end yst-gap-4", children: [
7756
+ showSkeleton ? /* @__PURE__ */ jsx(SkeletonLoader, { className: "yst-h-6 yst-w-8" }) : nrOfMentions ? /* @__PURE__ */ jsxs("span", { className: "yst-inline-flex yst-justify-start yst-gap-4 md:yst-justify-end", children: [
7758
7757
  /* @__PURE__ */ jsxs("span", { className: "yst-flex yst-flex-nowrap yst-gap-1 yst-font-medium", children: [
7759
- /* @__PURE__ */ jsx("span", { className: "yst-text-slate-500", children: nrOfMentions }),
7760
- /* @__PURE__ */ jsxs("span", { className: "yst-text-slate-900", children: [
7758
+ /* @__PURE__ */ jsx("span", { className: "yst-whitespace-nowrap yst-text-slate-500", children: nrOfMentions }),
7759
+ /* @__PURE__ */ jsxs("span", { className: "yst-whitespace-nowrap yst-text-slate-900", children: [
7761
7760
  "/ ",
7762
7761
  totalQueries
7763
7762
  ] })
7764
7763
  ] }),
7765
- !isFirstScan && /* @__PURE__ */ jsxs("span", { className: cx("yst-ml-auto", getDeltaTextClassNames(nrOfMentionsDelta)), children: [
7764
+ !isFirstScan && /* @__PURE__ */ jsxs("span", { className: cx(getDeltaTextClassNames(nrOfMentionsDelta)), children: [
7766
7765
  nrOfMentionsDelta > -1 && "+",
7767
7766
  nrOfMentionsDelta
7768
7767
  ] })