rimelight-components 2.1.23 → 2.1.24
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/Image.vue +0 -1
- package/dist/runtime/components/app/ScrollToTop.vue +3 -1
- package/dist/runtime/components/blocks/Block.vue +1 -1
- package/dist/runtime/components/blocks/BlockEditRenderer.vue +1 -1
- package/dist/runtime/components/blocks/BlockEditor.vue +1 -1
- package/dist/runtime/components/blocks/BlockViewRenderer.vue +1 -1
- package/dist/runtime/components/blocks/TextRenderer.vue +1 -1
- package/dist/runtime/components/blocks/editor/CalloutBlockEditor.vue +1 -1
- package/dist/runtime/components/blocks/editor/CardBlockEditor.vue +1 -1
- package/dist/runtime/components/blocks/editor/ImageBlockEditor.vue +1 -1
- package/dist/runtime/components/blocks/editor/ParagraphBlockEditor.vue +1 -1
- package/dist/runtime/components/blocks/editor/SectionBlockEditor.vue +1 -1
- package/dist/runtime/components/blocks/renderer/CalloutBlockRenderer.vue +1 -1
- package/dist/runtime/components/blocks/renderer/CardBlockRenderer.vue +1 -1
- package/dist/runtime/components/blocks/renderer/ImageBlockRenderer.vue +1 -1
- package/dist/runtime/components/blocks/renderer/ParagraphBlockRenderer.vue +1 -1
- package/dist/runtime/components/blocks/renderer/SectionBlockRenderer.vue +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.1.
|
|
7
|
+
const version = "2.1.24";
|
|
8
8
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
9
9
|
|
|
10
10
|
const defaultOptions = {
|
|
@@ -65,7 +65,8 @@ const durationInSeconds = computed(() => `${duration}s`);
|
|
|
65
65
|
</script>
|
|
66
66
|
|
|
67
67
|
<template>
|
|
68
|
-
<
|
|
68
|
+
<ClientOnly>
|
|
69
|
+
<Transition
|
|
69
70
|
name="fade"
|
|
70
71
|
enter-active-class="transition-opacity duration-500 ease-in"
|
|
71
72
|
leave-active-class="transition-opacity duration-500 ease-out"
|
|
@@ -104,6 +105,7 @@ const durationInSeconds = computed(() => `${duration}s`);
|
|
|
104
105
|
</UButton>
|
|
105
106
|
</div>
|
|
106
107
|
</Transition>
|
|
108
|
+
</ClientOnly>
|
|
107
109
|
</template>
|
|
108
110
|
|
|
109
111
|
<style scoped>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { inject, ref } from "vue";
|
|
3
3
|
import { tv } from "../../internal/tv";
|
|
4
|
-
import { useRC } from "../../composables
|
|
4
|
+
import { useRC } from "../../composables";
|
|
5
5
|
const { id, type, rc: rcProp } = defineProps({
|
|
6
6
|
id: { type: String, required: true },
|
|
7
7
|
type: { type: String, required: true },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {} from "vue";
|
|
3
3
|
import { getBlockEditorComponent } from "../../internal/blockMapper";
|
|
4
4
|
import { tv } from "../../internal/tv";
|
|
5
|
-
import { useRC } from "../../composables
|
|
5
|
+
import { useRC } from "../../composables";
|
|
6
6
|
const { blocks, rc: rcProp } = defineProps({
|
|
7
7
|
blocks: { type: Array, required: true },
|
|
8
8
|
rc: { type: Object, required: false }
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { provide } from "vue";
|
|
3
3
|
import { useBlockEditor } from "../../composables";
|
|
4
4
|
import { tv } from "../../internal/tv";
|
|
5
|
-
import { useRC } from "../../composables
|
|
5
|
+
import { useRC } from "../../composables";
|
|
6
6
|
const { historyLimit, rc: rcProp } = defineProps({
|
|
7
7
|
historyLimit: { type: Number, required: false },
|
|
8
8
|
rc: { type: Object, required: false }
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {} from "vue";
|
|
3
3
|
import { getBlockRendererComponent } from "../../internal/blockMapper";
|
|
4
4
|
import { tv } from "../../internal/tv";
|
|
5
|
-
import { useRC } from "../../composables
|
|
5
|
+
import { useRC } from "../../composables";
|
|
6
6
|
const { blocks, rc: rcProp } = defineProps({
|
|
7
7
|
blocks: { type: Array, required: true },
|
|
8
8
|
rc: { type: Object, required: false }
|
|
@@ -5,7 +5,7 @@ import TextNode from "../nodes/TextNode.vue";
|
|
|
5
5
|
import LinkNode from "../nodes/LinkNode.vue";
|
|
6
6
|
import PageMention from "../page/PageMention.vue";
|
|
7
7
|
import { tv } from "../../internal/tv";
|
|
8
|
-
import { useRC } from "../../composables
|
|
8
|
+
import { useRC } from "../../composables";
|
|
9
9
|
defineOptions({
|
|
10
10
|
name: "TextRenderer"
|
|
11
11
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { tv } from "../../../internal/tv";
|
|
3
|
-
import { useRC } from "
|
|
3
|
+
import { useRC } from "../../../composables";
|
|
4
4
|
const { variant, children, to, target, rc: rcProp } = defineProps({
|
|
5
5
|
rc: { type: Object, required: false },
|
|
6
6
|
variant: { type: String, required: true },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { tv } from "../../../internal/tv";
|
|
3
|
-
import { useRC } from "
|
|
3
|
+
import { useRC } from "../../../composables";
|
|
4
4
|
const { title, to, target, children, rc: rcProp } = defineProps({
|
|
5
5
|
rc: { type: Object, required: false },
|
|
6
6
|
title: { type: String, required: true },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { ref, watch, computed } from "vue";
|
|
3
3
|
import { tv } from "../../../internal/tv";
|
|
4
|
-
import { useRC } from "
|
|
4
|
+
import { useRC } from "../../../composables";
|
|
5
5
|
import {} from "../../../types";
|
|
6
6
|
import { useObjectUrl } from "@vueuse/core";
|
|
7
7
|
const { src, alt, caption, rc: rcProp } = defineProps({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { inject, ref, watch, onMounted, nextTick } from "vue";
|
|
3
3
|
import { tv } from "../../../internal/tv";
|
|
4
|
-
import { useRC } from "
|
|
4
|
+
import { useRC } from "../../../composables";
|
|
5
5
|
import { richTextToHtml, parseHtmlToRichText } from "../../../utils";
|
|
6
6
|
const { id, text, rc: rcProp } = defineProps({
|
|
7
7
|
id: { type: String, required: true },
|
|
@@ -3,7 +3,7 @@ import { inject, ref, computed, watch } from "vue";
|
|
|
3
3
|
import {} from "../../../types";
|
|
4
4
|
import {} from "@nuxt/ui/components/Select.vue";
|
|
5
5
|
import { tv } from "../../../internal/tv";
|
|
6
|
-
import { useRC } from "
|
|
6
|
+
import { useRC } from "../../../composables";
|
|
7
7
|
const { level, title, description, children, id, rc: rcProp } = defineProps({
|
|
8
8
|
id: { type: String, required: true },
|
|
9
9
|
rc: { type: Object, required: false },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { tv } from "../../../internal/tv";
|
|
3
|
-
import { useRC } from "
|
|
3
|
+
import { useRC } from "../../../composables";
|
|
4
4
|
const { variant, children, to, target, rc: rcProp } = defineProps({
|
|
5
5
|
rc: { type: Object, required: false },
|
|
6
6
|
variant: { type: String, required: true },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { tv } from "../../../internal/tv";
|
|
3
|
-
import { useRC } from "
|
|
3
|
+
import { useRC } from "../../../composables";
|
|
4
4
|
const { title, to, target, children, rc: rcProp } = defineProps({
|
|
5
5
|
rc: { type: Object, required: false },
|
|
6
6
|
title: { type: String, required: true },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { tv } from "../../../internal/tv";
|
|
3
|
-
import { useRC } from "
|
|
3
|
+
import { useRC } from "../../../composables";
|
|
4
4
|
const { src, alt, caption, rc: rcProp } = defineProps({
|
|
5
5
|
rc: { type: Object, required: false },
|
|
6
6
|
src: { type: String, required: true },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { tv } from "../../../internal/tv";
|
|
3
|
-
import { useRC } from "
|
|
3
|
+
import { useRC } from "../../../composables";
|
|
4
4
|
const { text, rc: rcProp } = defineProps({
|
|
5
5
|
rc: { type: Object, required: false },
|
|
6
6
|
text: { type: Array, required: true }
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { computed } from "vue";
|
|
3
3
|
import { slugify } from "../../../utils";
|
|
4
4
|
import { tv } from "../../../internal/tv";
|
|
5
|
-
import { useRC } from "
|
|
5
|
+
import { useRC } from "../../../composables";
|
|
6
6
|
const { level, title, description, children, rc: rcProp } = defineProps({
|
|
7
7
|
rc: { type: Object, required: false },
|
|
8
8
|
level: { type: Number, required: true },
|