@burdenoff/website-sdk 2026.728.4 → 2026.730.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/content/index.js +185 -5
- package/dist/content/index.js.map +1 -1
- package/dist/content/index.mjs +185 -5
- package/dist/content/index.mjs.map +1 -1
- package/dist/index.js +187 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +187 -6
- package/dist/index.mjs.map +1 -1
- package/dist/store/index.js +178 -1
- package/dist/store/index.js.map +1 -1
- package/dist/store/index.mjs +178 -1
- package/dist/store/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/store/index.mjs
CHANGED
|
@@ -1752,6 +1752,182 @@ createContext({
|
|
|
1752
1752
|
refetch: () => {
|
|
1753
1753
|
}
|
|
1754
1754
|
});
|
|
1755
|
+
var PROSE_CSS = `
|
|
1756
|
+
.boff-prose {
|
|
1757
|
+
max-width: none;
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
.boff-prose h1 {
|
|
1761
|
+
font-size: 2.25rem;
|
|
1762
|
+
font-weight: 800;
|
|
1763
|
+
line-height: 1.2;
|
|
1764
|
+
margin-top: 0;
|
|
1765
|
+
margin-bottom: 1rem;
|
|
1766
|
+
color: hsl(var(--foreground));
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
.boff-prose h2 {
|
|
1770
|
+
font-size: 1.75rem;
|
|
1771
|
+
font-weight: 700;
|
|
1772
|
+
line-height: 1.3;
|
|
1773
|
+
margin-top: 2rem;
|
|
1774
|
+
margin-bottom: 1rem;
|
|
1775
|
+
color: hsl(var(--foreground));
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
.boff-prose h3 {
|
|
1779
|
+
font-size: 1.5rem;
|
|
1780
|
+
font-weight: 600;
|
|
1781
|
+
line-height: 1.4;
|
|
1782
|
+
margin-top: 1.5rem;
|
|
1783
|
+
margin-bottom: 0.75rem;
|
|
1784
|
+
color: hsl(var(--foreground));
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
.boff-prose h4 {
|
|
1788
|
+
font-size: 1.25rem;
|
|
1789
|
+
font-weight: 600;
|
|
1790
|
+
line-height: 1.5;
|
|
1791
|
+
margin-top: 1.25rem;
|
|
1792
|
+
margin-bottom: 0.5rem;
|
|
1793
|
+
color: hsl(var(--foreground));
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
.boff-prose p {
|
|
1797
|
+
margin-bottom: 1rem;
|
|
1798
|
+
line-height: 1.75;
|
|
1799
|
+
color: hsl(var(--foreground));
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
.boff-prose ul,
|
|
1803
|
+
.boff-prose ol {
|
|
1804
|
+
margin-bottom: 1rem;
|
|
1805
|
+
padding-left: 1.5rem;
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
.boff-prose ul {
|
|
1809
|
+
list-style-type: disc;
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
.boff-prose ol {
|
|
1813
|
+
list-style-type: decimal;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
.boff-prose li {
|
|
1817
|
+
margin-bottom: 0.25rem;
|
|
1818
|
+
line-height: 1.75;
|
|
1819
|
+
color: hsl(var(--foreground));
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
.boff-prose li > ul,
|
|
1823
|
+
.boff-prose li > ol {
|
|
1824
|
+
margin-top: 0.25rem;
|
|
1825
|
+
margin-bottom: 0.25rem;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
.boff-prose a {
|
|
1829
|
+
color: hsl(var(--primary));
|
|
1830
|
+
text-decoration: underline;
|
|
1831
|
+
text-underline-offset: 2px;
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
.boff-prose a:hover {
|
|
1835
|
+
opacity: 0.8;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
.boff-prose hr {
|
|
1839
|
+
border: none;
|
|
1840
|
+
height: 1px;
|
|
1841
|
+
background-color: hsl(var(--border));
|
|
1842
|
+
margin: 2rem 0;
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
.boff-prose blockquote {
|
|
1846
|
+
border-left: 4px solid hsl(var(--border));
|
|
1847
|
+
padding-left: 1rem;
|
|
1848
|
+
margin: 1.5rem 0;
|
|
1849
|
+
font-style: italic;
|
|
1850
|
+
color: hsl(var(--muted-foreground));
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
.boff-prose strong {
|
|
1854
|
+
font-weight: 700;
|
|
1855
|
+
color: hsl(var(--foreground));
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
.boff-prose code {
|
|
1859
|
+
background-color: hsl(var(--muted));
|
|
1860
|
+
padding: 0.125rem 0.25rem;
|
|
1861
|
+
border-radius: 0.25rem;
|
|
1862
|
+
font-size: 0.875em;
|
|
1863
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
.boff-prose pre {
|
|
1867
|
+
background-color: hsl(var(--muted));
|
|
1868
|
+
padding: 1rem;
|
|
1869
|
+
border-radius: 0.5rem;
|
|
1870
|
+
overflow-x: auto;
|
|
1871
|
+
margin-bottom: 1rem;
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
.boff-prose pre code {
|
|
1875
|
+
background-color: transparent;
|
|
1876
|
+
padding: 0;
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
.boff-prose img {
|
|
1880
|
+
max-width: 100%;
|
|
1881
|
+
height: auto;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
.boff-prose table {
|
|
1885
|
+
width: 100%;
|
|
1886
|
+
border-collapse: collapse;
|
|
1887
|
+
margin-bottom: 1rem;
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
.boff-prose th,
|
|
1891
|
+
.boff-prose td {
|
|
1892
|
+
border: 1px solid hsl(var(--border));
|
|
1893
|
+
padding: 0.5rem;
|
|
1894
|
+
text-align: left;
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
.boff-prose th {
|
|
1898
|
+
font-weight: 600;
|
|
1899
|
+
background-color: hsl(var(--muted));
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
/* Smaller variant used inside cards and compact panels */
|
|
1903
|
+
.boff-prose-sm {
|
|
1904
|
+
font-size: 0.875rem;
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
.boff-prose-sm h1 {
|
|
1908
|
+
font-size: 1.75rem;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
.boff-prose-sm h2 {
|
|
1912
|
+
font-size: 1.5rem;
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
.boff-prose-sm h3 {
|
|
1916
|
+
font-size: 1.25rem;
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
.boff-prose-sm h4 {
|
|
1920
|
+
font-size: 1.125rem;
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
.boff-prose-sm p,
|
|
1924
|
+
.boff-prose-sm li {
|
|
1925
|
+
line-height: 1.625;
|
|
1926
|
+
}
|
|
1927
|
+
`;
|
|
1928
|
+
function ProseStyles() {
|
|
1929
|
+
return /* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: PROSE_CSS } });
|
|
1930
|
+
}
|
|
1755
1931
|
function cn(...inputs) {
|
|
1756
1932
|
return twMerge(clsx(inputs));
|
|
1757
1933
|
}
|
|
@@ -2022,6 +2198,7 @@ function StoreProductDetailPage({
|
|
|
2022
2198
|
const totalRatings = ratingDistribution ? ratingDistribution.fiveStars + ratingDistribution.fourStars + ratingDistribution.threeStars + ratingDistribution.twoStars + ratingDistribution.oneStar : 0;
|
|
2023
2199
|
return /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
|
|
2024
2200
|
/* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: ANIM_STYLES } }),
|
|
2201
|
+
/* @__PURE__ */ jsx(ProseStyles, {}),
|
|
2025
2202
|
/* @__PURE__ */ jsx(
|
|
2026
2203
|
PageHead,
|
|
2027
2204
|
{
|
|
@@ -2189,7 +2366,7 @@ function StoreProductDetailPage({
|
|
|
2189
2366
|
] }),
|
|
2190
2367
|
product.longDescription && /* @__PURE__ */ jsxs("div", { className: "sd-fu sd-d4 mb-8", children: [
|
|
2191
2368
|
/* @__PURE__ */ jsx("h2", { className: "text-lg font-bold text-foreground mb-3", children: "About" }),
|
|
2192
|
-
/* @__PURE__ */ jsx(Markdown, { className: "prose prose-sm max-w-none text-muted-foreground leading-relaxed", children: product.longDescription })
|
|
2369
|
+
/* @__PURE__ */ jsx(Markdown, { className: "boff-prose boff-prose-sm max-w-none text-muted-foreground leading-relaxed", children: product.longDescription })
|
|
2193
2370
|
] }),
|
|
2194
2371
|
publisher && /* @__PURE__ */ jsxs("div", { className: "sd-fu sd-d5 mb-8 p-4 rounded-xl border border-border bg-card hover:border-primary/30 transition-colors duration-300", children: [
|
|
2195
2372
|
/* @__PURE__ */ jsx("h2", { className: "text-sm font-semibold text-foreground mb-3", children: "Publisher" }),
|