@grucloud/bau-ui 0.84.3 → 0.85.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.
|
@@ -224,8 +224,11 @@ export default function (context, options = {}) {
|
|
|
224
224
|
};
|
|
225
225
|
|
|
226
226
|
const pathFromHref = ({ target }) => {
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
let path = `${target
|
|
228
|
+
.closest("a")
|
|
229
|
+
.pathname.replace(".md", "")
|
|
230
|
+
.replace(baseUrl, "")}${target.hash}`;
|
|
231
|
+
|
|
229
232
|
if (!hashBased) {
|
|
230
233
|
path = path.replace(target.hash, "");
|
|
231
234
|
}
|
|
@@ -257,7 +260,6 @@ export default function (context, options = {}) {
|
|
|
257
260
|
const anchor = target.closest("a");
|
|
258
261
|
if (!anchor) return;
|
|
259
262
|
const href = anchor.getAttribute("href");
|
|
260
|
-
|
|
261
263
|
if (
|
|
262
264
|
href &&
|
|
263
265
|
!href.startsWith("http") &&
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grucloud/bau-ui",
|
|
3
3
|
"description": "Components library built with Bau",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.85.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "BSD",
|
|
7
7
|
"keywords": [
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"directory": "bau-ui"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@grucloud/bau": "^0.
|
|
24
|
-
"@grucloud/bau-css": "^0.
|
|
23
|
+
"@grucloud/bau": "^0.85.0",
|
|
24
|
+
"@grucloud/bau-css": "^0.85.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"typedoc": "0.24.8"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "0e9518003322f538ccca0bb465f7cec99351d8c7"
|
|
30
30
|
}
|