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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
- "version": "2.1.23",
3
+ "version": "2.1.24",
4
4
  "docs": "https://rimelight.com/tools/rimelight-components",
5
5
  "configKey": "rimelightComponents",
6
6
  "compatibility": {
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.23";
7
+ const version = "2.1.24";
8
8
  const homepage = "https://rimelight.com/tools/rimelight-components";
9
9
 
10
10
  const defaultOptions = {
@@ -38,7 +38,6 @@ const imageStyles = tv({
38
38
  }
39
39
  });
40
40
  const { base } = imageStyles();
41
- const img = useImage();
42
41
  const isOpen = ref(false);
43
42
  const imgElement = useTemplateRef("imgRef");
44
43
  const metadata = reactive({
@@ -65,7 +65,8 @@ const durationInSeconds = computed(() => `${duration}s`);
65
65
  </script>
66
66
 
67
67
  <template>
68
- <Transition
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/useRC";
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/useRC";
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/useRC";
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/useRC";
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/useRC";
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 "~/src/runtime/composables";
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 "~/src/runtime/composables";
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 "~/src/runtime/composables";
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 "~/src/runtime/composables";
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 "~/src/runtime/composables";
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 "~/src/runtime/composables";
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 "~/src/runtime/composables";
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 "~/src/runtime/composables";
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 "~/src/runtime/composables";
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 "~/src/runtime/composables";
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 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
- "version": "2.1.23",
3
+ "version": "2.1.24",
4
4
  "description": "A component library by Rimelight Entertainment.",
5
5
  "keywords": [
6
6
  "nuxt",