@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.js
CHANGED
|
@@ -1778,6 +1778,182 @@ React.createContext({
|
|
|
1778
1778
|
refetch: () => {
|
|
1779
1779
|
}
|
|
1780
1780
|
});
|
|
1781
|
+
var PROSE_CSS = `
|
|
1782
|
+
.boff-prose {
|
|
1783
|
+
max-width: none;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
.boff-prose h1 {
|
|
1787
|
+
font-size: 2.25rem;
|
|
1788
|
+
font-weight: 800;
|
|
1789
|
+
line-height: 1.2;
|
|
1790
|
+
margin-top: 0;
|
|
1791
|
+
margin-bottom: 1rem;
|
|
1792
|
+
color: hsl(var(--foreground));
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
.boff-prose h2 {
|
|
1796
|
+
font-size: 1.75rem;
|
|
1797
|
+
font-weight: 700;
|
|
1798
|
+
line-height: 1.3;
|
|
1799
|
+
margin-top: 2rem;
|
|
1800
|
+
margin-bottom: 1rem;
|
|
1801
|
+
color: hsl(var(--foreground));
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
.boff-prose h3 {
|
|
1805
|
+
font-size: 1.5rem;
|
|
1806
|
+
font-weight: 600;
|
|
1807
|
+
line-height: 1.4;
|
|
1808
|
+
margin-top: 1.5rem;
|
|
1809
|
+
margin-bottom: 0.75rem;
|
|
1810
|
+
color: hsl(var(--foreground));
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
.boff-prose h4 {
|
|
1814
|
+
font-size: 1.25rem;
|
|
1815
|
+
font-weight: 600;
|
|
1816
|
+
line-height: 1.5;
|
|
1817
|
+
margin-top: 1.25rem;
|
|
1818
|
+
margin-bottom: 0.5rem;
|
|
1819
|
+
color: hsl(var(--foreground));
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
.boff-prose p {
|
|
1823
|
+
margin-bottom: 1rem;
|
|
1824
|
+
line-height: 1.75;
|
|
1825
|
+
color: hsl(var(--foreground));
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
.boff-prose ul,
|
|
1829
|
+
.boff-prose ol {
|
|
1830
|
+
margin-bottom: 1rem;
|
|
1831
|
+
padding-left: 1.5rem;
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
.boff-prose ul {
|
|
1835
|
+
list-style-type: disc;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
.boff-prose ol {
|
|
1839
|
+
list-style-type: decimal;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
.boff-prose li {
|
|
1843
|
+
margin-bottom: 0.25rem;
|
|
1844
|
+
line-height: 1.75;
|
|
1845
|
+
color: hsl(var(--foreground));
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
.boff-prose li > ul,
|
|
1849
|
+
.boff-prose li > ol {
|
|
1850
|
+
margin-top: 0.25rem;
|
|
1851
|
+
margin-bottom: 0.25rem;
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
.boff-prose a {
|
|
1855
|
+
color: hsl(var(--primary));
|
|
1856
|
+
text-decoration: underline;
|
|
1857
|
+
text-underline-offset: 2px;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
.boff-prose a:hover {
|
|
1861
|
+
opacity: 0.8;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
.boff-prose hr {
|
|
1865
|
+
border: none;
|
|
1866
|
+
height: 1px;
|
|
1867
|
+
background-color: hsl(var(--border));
|
|
1868
|
+
margin: 2rem 0;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
.boff-prose blockquote {
|
|
1872
|
+
border-left: 4px solid hsl(var(--border));
|
|
1873
|
+
padding-left: 1rem;
|
|
1874
|
+
margin: 1.5rem 0;
|
|
1875
|
+
font-style: italic;
|
|
1876
|
+
color: hsl(var(--muted-foreground));
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
.boff-prose strong {
|
|
1880
|
+
font-weight: 700;
|
|
1881
|
+
color: hsl(var(--foreground));
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
.boff-prose code {
|
|
1885
|
+
background-color: hsl(var(--muted));
|
|
1886
|
+
padding: 0.125rem 0.25rem;
|
|
1887
|
+
border-radius: 0.25rem;
|
|
1888
|
+
font-size: 0.875em;
|
|
1889
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
.boff-prose pre {
|
|
1893
|
+
background-color: hsl(var(--muted));
|
|
1894
|
+
padding: 1rem;
|
|
1895
|
+
border-radius: 0.5rem;
|
|
1896
|
+
overflow-x: auto;
|
|
1897
|
+
margin-bottom: 1rem;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
.boff-prose pre code {
|
|
1901
|
+
background-color: transparent;
|
|
1902
|
+
padding: 0;
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
.boff-prose img {
|
|
1906
|
+
max-width: 100%;
|
|
1907
|
+
height: auto;
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
.boff-prose table {
|
|
1911
|
+
width: 100%;
|
|
1912
|
+
border-collapse: collapse;
|
|
1913
|
+
margin-bottom: 1rem;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
.boff-prose th,
|
|
1917
|
+
.boff-prose td {
|
|
1918
|
+
border: 1px solid hsl(var(--border));
|
|
1919
|
+
padding: 0.5rem;
|
|
1920
|
+
text-align: left;
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
.boff-prose th {
|
|
1924
|
+
font-weight: 600;
|
|
1925
|
+
background-color: hsl(var(--muted));
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
/* Smaller variant used inside cards and compact panels */
|
|
1929
|
+
.boff-prose-sm {
|
|
1930
|
+
font-size: 0.875rem;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
.boff-prose-sm h1 {
|
|
1934
|
+
font-size: 1.75rem;
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
.boff-prose-sm h2 {
|
|
1938
|
+
font-size: 1.5rem;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
.boff-prose-sm h3 {
|
|
1942
|
+
font-size: 1.25rem;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
.boff-prose-sm h4 {
|
|
1946
|
+
font-size: 1.125rem;
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
.boff-prose-sm p,
|
|
1950
|
+
.boff-prose-sm li {
|
|
1951
|
+
line-height: 1.625;
|
|
1952
|
+
}
|
|
1953
|
+
`;
|
|
1954
|
+
function ProseStyles() {
|
|
1955
|
+
return /* @__PURE__ */ jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: PROSE_CSS } });
|
|
1956
|
+
}
|
|
1781
1957
|
function cn(...inputs) {
|
|
1782
1958
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
1783
1959
|
}
|
|
@@ -2048,6 +2224,7 @@ function StoreProductDetailPage({
|
|
|
2048
2224
|
const totalRatings = ratingDistribution ? ratingDistribution.fiveStars + ratingDistribution.fourStars + ratingDistribution.threeStars + ratingDistribution.twoStars + ratingDistribution.oneStar : 0;
|
|
2049
2225
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
|
|
2050
2226
|
/* @__PURE__ */ jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: ANIM_STYLES } }),
|
|
2227
|
+
/* @__PURE__ */ jsxRuntime.jsx(ProseStyles, {}),
|
|
2051
2228
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2052
2229
|
PageHead,
|
|
2053
2230
|
{
|
|
@@ -2215,7 +2392,7 @@ function StoreProductDetailPage({
|
|
|
2215
2392
|
] }),
|
|
2216
2393
|
product.longDescription && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sd-fu sd-d4 mb-8", children: [
|
|
2217
2394
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg font-bold text-foreground mb-3", children: "About" }),
|
|
2218
|
-
/* @__PURE__ */ jsxRuntime.jsx(Markdown, { className: "prose prose-sm max-w-none text-muted-foreground leading-relaxed", children: product.longDescription })
|
|
2395
|
+
/* @__PURE__ */ jsxRuntime.jsx(Markdown, { className: "boff-prose boff-prose-sm max-w-none text-muted-foreground leading-relaxed", children: product.longDescription })
|
|
2219
2396
|
] }),
|
|
2220
2397
|
publisher && /* @__PURE__ */ jsxRuntime.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: [
|
|
2221
2398
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm font-semibold text-foreground mb-3", children: "Publisher" }),
|