@burdenoff/website-sdk 2026.925.2 → 2026.925.3
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/components/explore.d.mts +1 -1
- package/dist/components/explore.d.ts +1 -1
- package/dist/components/explore.js +1046 -500
- package/dist/components/explore.js.map +1 -1
- package/dist/components/explore.mjs +1048 -503
- package/dist/components/explore.mjs.map +1 -1
- package/dist/components/partners.js +3 -2
- package/dist/components/partners.js.map +1 -1
- package/dist/components/partners.mjs +3 -2
- package/dist/components/partners.mjs.map +1 -1
- package/dist/content/index.d.mts +1 -1
- package/dist/content/index.d.ts +1 -1
- package/dist/content/index.js +3 -2
- package/dist/content/index.js.map +1 -1
- package/dist/content/index.mjs +3 -2
- package/dist/content/index.mjs.map +1 -1
- package/dist/{explore-C0RFTKAi.d.ts → explore-Cam_ElSJ.d.ts} +70 -12
- package/dist/{explore-DzOf7n4m.d.mts → explore-hTQm-_SF.d.mts} +70 -12
- package/dist/hooks/index.js +21 -12
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +21 -12
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/{index-BMWQNZDX.d.mts → index-gm3pBCJT.d.mts} +8 -2
- package/dist/{index-BqHF-G-S.d.ts → index-ySbOLSD5.d.ts} +8 -2
- package/dist/index.d.mts +30 -9
- package/dist/index.d.ts +30 -9
- package/dist/index.js +827 -261
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +827 -263
- package/dist/index.mjs.map +1 -1
- package/dist/store/index.js +3 -2
- package/dist/store/index.js.map +1 -1
- package/dist/store/index.mjs +3 -2
- package/dist/store/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/hooks/index.mjs
CHANGED
|
@@ -2070,7 +2070,7 @@ function isHighSurrogate(code) {
|
|
|
2070
2070
|
}
|
|
2071
2071
|
function safeInlineEnd(line) {
|
|
2072
2072
|
let codeSpan = null;
|
|
2073
|
-
|
|
2073
|
+
const links = [];
|
|
2074
2074
|
const emphasis = [];
|
|
2075
2075
|
let at = 0;
|
|
2076
2076
|
while (at < line.length) {
|
|
@@ -2079,6 +2079,13 @@ function safeInlineEnd(line) {
|
|
|
2079
2079
|
at += 2;
|
|
2080
2080
|
continue;
|
|
2081
2081
|
}
|
|
2082
|
+
const innermost = links[links.length - 1];
|
|
2083
|
+
if (innermost !== void 0 && innermost.kind !== "label") {
|
|
2084
|
+
if (char === "(") links.push({ kind: "paren", start: innermost.start });
|
|
2085
|
+
else if (char === ")") links.pop();
|
|
2086
|
+
at += 1;
|
|
2087
|
+
continue;
|
|
2088
|
+
}
|
|
2082
2089
|
if (char === "`") {
|
|
2083
2090
|
let run = 1;
|
|
2084
2091
|
while (line[at + run] === "`") run += 1;
|
|
@@ -2091,17 +2098,17 @@ function safeInlineEnd(line) {
|
|
|
2091
2098
|
continue;
|
|
2092
2099
|
}
|
|
2093
2100
|
if (char === "[") {
|
|
2094
|
-
|
|
2101
|
+
links.push({ kind: "label", start: line[at - 1] === "!" ? at - 1 : at });
|
|
2095
2102
|
at += 1;
|
|
2096
2103
|
continue;
|
|
2097
2104
|
}
|
|
2098
|
-
if (char === "]") {
|
|
2099
|
-
|
|
2100
|
-
at
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
+
if (char === "]" && innermost !== void 0) {
|
|
2106
|
+
links.pop();
|
|
2107
|
+
if (line[at + 1] === "(") {
|
|
2108
|
+
links.push({ kind: "destination", start: innermost.start });
|
|
2109
|
+
at += 2;
|
|
2110
|
+
continue;
|
|
2111
|
+
}
|
|
2105
2112
|
at += 1;
|
|
2106
2113
|
continue;
|
|
2107
2114
|
}
|
|
@@ -2128,9 +2135,11 @@ function safeInlineEnd(line) {
|
|
|
2128
2135
|
}
|
|
2129
2136
|
at += 1;
|
|
2130
2137
|
}
|
|
2131
|
-
const open = [
|
|
2132
|
-
|
|
2133
|
-
|
|
2138
|
+
const open = [
|
|
2139
|
+
codeSpan,
|
|
2140
|
+
links[0]?.start ?? null,
|
|
2141
|
+
emphasis[0]?.start ?? null
|
|
2142
|
+
].filter((value) => value !== null);
|
|
2134
2143
|
return open.length === 0 ? line.length : Math.min(...open);
|
|
2135
2144
|
}
|
|
2136
2145
|
function revealBoundary(text, limit) {
|