@danxbot/ui 15.29.1 → 15.29.2

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.js CHANGED
@@ -30854,45 +30854,52 @@ function Xq({
30854
30854
  ],
30855
30855
  [e.sections, r, a]
30856
30856
  );
30857
- return /* @__PURE__ */ M("div", { "data-legal-document": "", className: B("lg:grid lg:grid-cols-[16rem_minmax(0,1fr)] lg:gap-12", o), children: [
30858
- /* @__PURE__ */ d(
30859
- "div",
30860
- {
30861
- "data-legal-screen-only": "",
30862
- className: "mb-6 lg:sticky lg:top-[var(--legal-document-toc-top,1rem)] lg:mb-0 lg:max-h-[calc(100dvh-var(--legal-document-toc-top,1rem)-1rem)] lg:self-start lg:overflow-y-auto",
30863
- children: /* @__PURE__ */ d(o3, { label: n, sections: c, activeId: i })
30864
- }
30865
- ),
30866
- /* @__PURE__ */ M("div", { className: "min-w-0", children: [
30867
- s > 0 ? /* @__PURE__ */ d("div", { "data-legal-screen-only": "", className: "mb-6 max-w-3xl", children: /* @__PURE__ */ d(
30868
- gn,
30869
- {
30870
- tone: "warning",
30871
- title: `${String(s)} ${s === 1 ? "value" : "values"} in this version not confirmed yet`,
30872
- children: "They are shown highlighted, in square brackets, exactly as the document writes them."
30873
- }
30874
- ) }) : null,
30875
- /* @__PURE__ */ M("article", { className: "max-w-3xl text-sm leading-7 text-primary", children: [
30876
- /* @__PURE__ */ M("header", { className: "mb-10 border-b border-border-subtle pb-8", children: [
30877
- /* @__PURE__ */ d(t, { className: "font-display text-2xl font-bold tracking-tight text-primary sm:text-3xl", children: e.title }),
30878
- /* @__PURE__ */ d("p", { className: "mt-2 font-display text-md font-semibold tracking-wide text-secondary", children: e.issuer }),
30879
- /* @__PURE__ */ M("p", { className: "mt-4 text-xs text-tertiary", children: [
30880
- "Effective Date: ",
30881
- /* @__PURE__ */ d(th, { text: e.effectiveDate })
30882
- ] }),
30883
- /* @__PURE__ */ M("p", { className: "text-xs text-tertiary", children: [
30884
- "Version: ",
30885
- e.version
30857
+ return /* @__PURE__ */ M(
30858
+ "div",
30859
+ {
30860
+ "data-legal-document": "",
30861
+ className: B("lg:grid lg:grid-cols-[16rem_minmax(0,1fr)] lg:gap-12 xl:grid-cols-[20rem_minmax(0,1fr)]", o),
30862
+ children: [
30863
+ /* @__PURE__ */ d(
30864
+ "div",
30865
+ {
30866
+ "data-legal-screen-only": "",
30867
+ className: "mb-6 lg:sticky lg:top-[var(--legal-document-toc-top,1rem)] lg:mb-0 lg:max-h-[calc(100dvh-var(--legal-document-toc-top,1rem)-1rem)] lg:self-start lg:overflow-y-auto",
30868
+ children: /* @__PURE__ */ d(o3, { label: n, sections: c, activeId: i })
30869
+ }
30870
+ ),
30871
+ /* @__PURE__ */ M("div", { className: "min-w-0", children: [
30872
+ s > 0 ? /* @__PURE__ */ d("div", { "data-legal-screen-only": "", className: "mb-6 max-w-3xl", children: /* @__PURE__ */ d(
30873
+ gn,
30874
+ {
30875
+ tone: "warning",
30876
+ title: `${String(s)} ${s === 1 ? "value" : "values"} in this version not confirmed yet`,
30877
+ children: "They are shown highlighted, in square brackets, exactly as the document writes them."
30878
+ }
30879
+ ) }) : null,
30880
+ /* @__PURE__ */ M("article", { className: "max-w-3xl text-sm leading-7 text-primary", children: [
30881
+ /* @__PURE__ */ M("header", { className: "mb-10 border-b border-border-subtle pb-8", children: [
30882
+ /* @__PURE__ */ d(t, { className: "font-display text-2xl font-bold tracking-tight text-primary sm:text-3xl", children: e.title }),
30883
+ /* @__PURE__ */ d("p", { className: "mt-2 font-display text-md font-semibold tracking-wide text-secondary", children: e.issuer }),
30884
+ /* @__PURE__ */ M("p", { className: "mt-4 text-xs text-tertiary", children: [
30885
+ "Effective Date: ",
30886
+ /* @__PURE__ */ d(th, { text: e.effectiveDate })
30887
+ ] }),
30888
+ /* @__PURE__ */ M("p", { className: "text-xs text-tertiary", children: [
30889
+ "Version: ",
30890
+ e.version
30891
+ ] })
30892
+ ] }),
30893
+ /* @__PURE__ */ d("div", { className: "flex flex-col gap-10", children: e.sections.map((l) => /* @__PURE__ */ d(l3, { section: l }, l.number)) })
30886
30894
  ] })
30887
- ] }),
30888
- /* @__PURE__ */ d("div", { className: "flex flex-col gap-10", children: e.sections.map((l) => /* @__PURE__ */ d(l3, { section: l }, l.number)) })
30889
- ] })
30890
- ] })
30891
- ] });
30895
+ ] })
30896
+ ]
30897
+ }
30898
+ );
30892
30899
  }
30893
30900
  function l3({ section: e }) {
30894
30901
  const t = ra(e.number);
30895
- return /* @__PURE__ */ M("section", { id: t, "aria-labelledby": `${t}-heading`, className: "scroll-mt-6", children: [
30902
+ return /* @__PURE__ */ M("section", { id: t, "aria-labelledby": `${t}-heading`, className: "scroll-mt-[var(--legal-document-toc-top,1.5rem)]", children: [
30896
30903
  /* @__PURE__ */ M("h2", { id: `${t}-heading`, className: "mb-4 font-display text-md font-bold tracking-wide text-primary", children: [
30897
30904
  /* @__PURE__ */ M("span", { className: "tabular-nums text-accent-text", children: [
30898
30905
  e.number,
@@ -30910,7 +30917,7 @@ function c3({ block: e }) {
30910
30917
  {
30911
30918
  id: e.clause ? ra(e.clause.number) : void 0,
30912
30919
  className: B(
30913
- "scroll-mt-6",
30920
+ "scroll-mt-[var(--legal-document-toc-top,1.5rem)]",
30914
30921
  a3(e.text) && "border-l-2 border-border-strong pl-4 text-xs leading-6 tracking-[0.02em] text-secondary"
30915
30922
  ),
30916
30923
  children: [