rimelight-components 2.0.29 → 2.0.31
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/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/app/Header.vue +7 -7
- package/dist/runtime/components/renderers/TOC.d.vue.ts +1 -1
- package/dist/runtime/components/renderers/TOC.vue +2 -4
- package/dist/runtime/components/renderers/TOC.vue.d.ts +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { readdirSync } from 'node:fs';
|
|
|
4
4
|
import { basename } from 'node:path';
|
|
5
5
|
|
|
6
6
|
const name = "rimelight-components";
|
|
7
|
-
const version = "2.0.
|
|
7
|
+
const version = "2.0.31";
|
|
8
8
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
9
9
|
|
|
10
10
|
const defaultOptions = {
|
|
@@ -3,13 +3,13 @@ import { tv } from "tailwind-variants";
|
|
|
3
3
|
const header = tv({
|
|
4
4
|
slots: {
|
|
5
5
|
root: "sticky top-0 z-50 h-(--ui-header-height)",
|
|
6
|
-
container: "h-full flex flex-row items-center
|
|
7
|
-
left: "hidden lg:flex",
|
|
8
|
-
center: "hidden lg:flex",
|
|
9
|
-
right: "hidden lg:flex",
|
|
10
|
-
collapsedLeft: "lg:hidden",
|
|
11
|
-
collapsedCenter: "lg:hidden",
|
|
12
|
-
collapsedRight: "lg:hidden"
|
|
6
|
+
container: "h-full flex flex-row items-center p-sm",
|
|
7
|
+
left: "hidden lg:flex flex-1 justify-start",
|
|
8
|
+
center: "hidden lg:flex flex-none",
|
|
9
|
+
right: "hidden lg:flex flex-1 justify-end",
|
|
10
|
+
collapsedLeft: "lg:hidden flex-1 justify-start",
|
|
11
|
+
collapsedCenter: "lg:hidden flex-none",
|
|
12
|
+
collapsedRight: "lg:hidden flex-1 justify-end"
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
const {
|
|
@@ -8,7 +8,7 @@ const {
|
|
|
8
8
|
title = "table_of_contents",
|
|
9
9
|
levels = [2, 3, 4]
|
|
10
10
|
} = defineProps({
|
|
11
|
-
pageBlocks: { type: Array, required: true },
|
|
11
|
+
pageBlocks: { type: [Array, null], required: true },
|
|
12
12
|
title: { type: String, required: false },
|
|
13
13
|
levels: { type: Array, required: false }
|
|
14
14
|
});
|
|
@@ -54,9 +54,8 @@ const tocItems = computed(() => {
|
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
56
|
<template>
|
|
57
|
-
<div class="z-10 flex flex-col gap-md">
|
|
58
57
|
<nav
|
|
59
|
-
class="
|
|
58
|
+
class="flex flex-col gap-md pt-lg"
|
|
60
59
|
aria-label="Table of Contents"
|
|
61
60
|
>
|
|
62
61
|
<h5 class="text-highlighted">
|
|
@@ -92,5 +91,4 @@ const tocItems = computed(() => {
|
|
|
92
91
|
|
|
93
92
|
<slot name="bottom" />
|
|
94
93
|
</nav>
|
|
95
|
-
</div>
|
|
96
94
|
</template>
|