@krizaka/ui 3.60.0 → 3.61.0

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.
@@ -652,7 +652,7 @@ var familyLabels = {
652
652
  };
653
653
 
654
654
  // src/site-footer/site-footer.tsx
655
- import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
655
+ import { Fragment, jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
656
656
  var siteFooter = tv({
657
657
  slots: {
658
658
  root: "w-full border-t border-border-subtle bg-surface-0 text-fg",
@@ -709,7 +709,8 @@ function SiteFooter({
709
709
  version,
710
710
  env,
711
711
  path,
712
- legal,
712
+ legal: legalProp,
713
+ org,
713
714
  family: familyProp,
714
715
  products,
715
716
  variant = "site",
@@ -726,6 +727,7 @@ function SiteFooter({
726
727
  const own = React.Children.toArray(children).length > 0;
727
728
  const lang = labels.lang ?? "en";
728
729
  const company = labels.company ?? familyLabels.en.company;
730
+ const legal = legalProp ?? (org && /* @__PURE__ */ jsx12(Fragment, { children: org.footer.legal.map((l) => /* @__PURE__ */ jsx12(SiteFooterLink, { href: l.url[lang], children: l.label[lang] }, l.id)) }));
729
731
  const here = (href) => path !== void 0 && isThisPage(href, site2.url, path);
730
732
  const groups = sitesByGroup();
731
733
  const columns = [
@@ -767,7 +769,7 @@ function SiteFooter({
767
769
  /* @__PURE__ */ jsxs10("div", { className: s.bottom(), children: [
768
770
  /* @__PURE__ */ jsxs10("a", { href: krizaka.url, className: s.signature(), children: [
769
771
  /* @__PURE__ */ jsx12(KrizakaLogo, { size: 18, animated: false }),
770
- labels.signature[site2.kind]
772
+ org ? org.footer.line[lang] : labels.signature[site2.kind]
771
773
  ] }),
772
774
  tag && /* @__PURE__ */ jsxs10("span", { className: s.version(), children: [
773
775
  /* @__PURE__ */ jsxs10("span", { className: "sr-only", children: [
@@ -776,7 +778,7 @@ function SiteFooter({
776
778
  ] }),
777
779
  tag
778
780
  ] }),
779
- !slim && /* @__PURE__ */ jsx12("span", { children: labels.place }),
781
+ !slim && !org && /* @__PURE__ */ jsx12("span", { children: labels.place }),
780
782
  legal && /* @__PURE__ */ jsx12("div", { className: s.legal(), children: legal })
781
783
  ] })
782
784
  ] }) });