rimelight-components 2.1.17 → 2.1.18
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/Footer.d.vue.ts +5 -1
- package/dist/runtime/components/app/Footer.vue +20 -12
- package/dist/runtime/components/app/Footer.vue.d.ts +5 -1
- package/dist/runtime/components/app/Header.d.vue.ts +5 -1
- package/dist/runtime/components/app/Header.vue +4 -2
- package/dist/runtime/components/app/Header.vue.d.ts +5 -1
- package/dist/runtime/components/app/HeaderLayer.d.vue.ts +5 -3
- package/dist/runtime/components/app/HeaderLayer.vue +11 -2
- package/dist/runtime/components/app/HeaderLayer.vue.d.ts +5 -3
- package/dist/runtime/components/app/Image.d.vue.ts +6 -4
- package/dist/runtime/components/app/Image.vue +27 -12
- package/dist/runtime/components/app/Image.vue.d.ts +6 -4
- package/dist/runtime/components/app/Logo.d.vue.ts +5 -3
- package/dist/runtime/components/app/Logo.vue +9 -1
- package/dist/runtime/components/app/Logo.vue.d.ts +5 -3
- package/dist/runtime/components/app/NewsletterSignup.d.vue.ts +5 -3
- package/dist/runtime/components/app/NewsletterSignup.vue +9 -1
- package/dist/runtime/components/app/NewsletterSignup.vue.d.ts +5 -3
- package/dist/runtime/components/app/ScrollToTop.d.vue.ts +4 -2
- package/dist/runtime/components/app/ScrollToTop.vue +17 -9
- package/dist/runtime/components/app/ScrollToTop.vue.d.ts +4 -2
- package/dist/runtime/components/blocks/Block.d.vue.ts +5 -3
- package/dist/runtime/components/blocks/Block.vue +16 -7
- package/dist/runtime/components/blocks/Block.vue.d.ts +5 -3
- package/dist/runtime/components/blocks/BlockEditRenderer.d.vue.ts +5 -3
- package/dist/runtime/components/blocks/BlockEditRenderer.vue +9 -1
- package/dist/runtime/components/blocks/BlockEditRenderer.vue.d.ts +5 -3
- package/dist/runtime/components/blocks/BlockEditor.vue +4 -33
- package/dist/runtime/components/blocks/BlockViewRenderer.d.vue.ts +5 -3
- package/dist/runtime/components/blocks/BlockViewRenderer.vue +9 -1
- package/dist/runtime/components/blocks/BlockViewRenderer.vue.d.ts +5 -3
- package/dist/runtime/components/blocks/TextRenderer.d.vue.ts +5 -3
- package/dist/runtime/components/blocks/TextRenderer.vue +8 -0
- package/dist/runtime/components/blocks/TextRenderer.vue.d.ts +5 -3
- package/dist/runtime/components/blocks/editor/CalloutBlockEditor.d.vue.ts +5 -1
- package/dist/runtime/components/blocks/editor/CalloutBlockEditor.vue +8 -0
- package/dist/runtime/components/blocks/editor/CalloutBlockEditor.vue.d.ts +5 -1
- package/dist/runtime/components/blocks/editor/CardBlockEditor.d.vue.ts +5 -1
- package/dist/runtime/components/blocks/editor/CardBlockEditor.vue +9 -1
- package/dist/runtime/components/blocks/editor/CardBlockEditor.vue.d.ts +5 -1
- package/dist/runtime/components/blocks/editor/ImageBlockEditor.d.vue.ts +11 -3
- package/dist/runtime/components/blocks/editor/ImageBlockEditor.vue +21 -9
- package/dist/runtime/components/blocks/editor/ImageBlockEditor.vue.d.ts +11 -3
- package/dist/runtime/components/blocks/editor/ParagraphBlockEditor.d.vue.ts +5 -3
- package/dist/runtime/components/blocks/editor/ParagraphBlockEditor.vue +11 -7
- package/dist/runtime/components/blocks/editor/ParagraphBlockEditor.vue.d.ts +5 -3
- package/dist/runtime/components/blocks/editor/SectionBlockEditor.d.vue.ts +5 -3
- package/dist/runtime/components/blocks/editor/SectionBlockEditor.vue +15 -5
- package/dist/runtime/components/blocks/editor/SectionBlockEditor.vue.d.ts +5 -3
- package/dist/runtime/components/blocks/editor/TestBlockEditor.d.vue.ts +5 -3
- package/dist/runtime/components/blocks/editor/TestBlockEditor.vue +11 -3
- package/dist/runtime/components/blocks/editor/TestBlockEditor.vue.d.ts +5 -3
- package/dist/runtime/components/blocks/renderer/CalloutBlockRenderer.d.vue.ts +5 -1
- package/dist/runtime/components/blocks/renderer/CalloutBlockRenderer.vue +8 -0
- package/dist/runtime/components/blocks/renderer/CalloutBlockRenderer.vue.d.ts +5 -1
- package/dist/runtime/components/blocks/renderer/CardBlockRenderer.d.vue.ts +5 -1
- package/dist/runtime/components/blocks/renderer/CardBlockRenderer.vue +9 -1
- package/dist/runtime/components/blocks/renderer/CardBlockRenderer.vue.d.ts +5 -1
- package/dist/runtime/components/blocks/renderer/ImageBlockRenderer.d.vue.ts +5 -1
- package/dist/runtime/components/blocks/renderer/ImageBlockRenderer.vue +13 -3
- package/dist/runtime/components/blocks/renderer/ImageBlockRenderer.vue.d.ts +5 -1
- package/dist/runtime/components/blocks/renderer/ParagraphBlockRenderer.d.vue.ts +5 -1
- package/dist/runtime/components/blocks/renderer/ParagraphBlockRenderer.vue +8 -0
- package/dist/runtime/components/blocks/renderer/ParagraphBlockRenderer.vue.d.ts +5 -1
- package/dist/runtime/components/blocks/renderer/SectionBlockRenderer.d.vue.ts +5 -1
- package/dist/runtime/components/blocks/renderer/SectionBlockRenderer.vue +8 -0
- package/dist/runtime/components/blocks/renderer/SectionBlockRenderer.vue.d.ts +5 -1
- package/dist/runtime/components/blocks/renderer/TestBlockRenderer.d.vue.ts +5 -1
- package/dist/runtime/components/blocks/renderer/TestBlockRenderer.vue +8 -0
- package/dist/runtime/components/blocks/renderer/TestBlockRenderer.vue.d.ts +5 -1
- package/dist/runtime/components/cards/TeamCard.d.vue.ts +5 -3
- package/dist/runtime/components/cards/TeamCard.vue +24 -6
- package/dist/runtime/components/cards/TeamCard.vue.d.ts +5 -3
- package/dist/runtime/components/content/Callout.d.vue.ts +5 -3
- package/dist/runtime/components/content/Callout.vue +11 -2
- package/dist/runtime/components/content/Callout.vue.d.ts +5 -3
- package/dist/runtime/components/content/Section.d.vue.ts +5 -3
- package/dist/runtime/components/content/Section.vue +87 -86
- package/dist/runtime/components/content/Section.vue.d.ts +5 -3
- package/dist/runtime/components/content/Test.d.vue.ts +5 -3
- package/dist/runtime/components/content/Test.vue +9 -1
- package/dist/runtime/components/content/Test.vue.d.ts +5 -3
- package/dist/runtime/components/nodes/LinkNode.d.vue.ts +5 -3
- package/dist/runtime/components/nodes/LinkNode.vue +11 -1
- package/dist/runtime/components/nodes/LinkNode.vue.d.ts +5 -3
- package/dist/runtime/components/nodes/TextNode.d.vue.ts +5 -3
- package/dist/runtime/components/nodes/TextNode.vue +9 -1
- package/dist/runtime/components/nodes/TextNode.vue.d.ts +5 -3
- package/dist/runtime/components/page/PageEditor.d.vue.ts +4 -1
- package/dist/runtime/components/page/PageEditor.vue +65 -28
- package/dist/runtime/components/page/PageEditor.vue.d.ts +4 -1
- package/dist/runtime/components/page/PageMention.d.vue.ts +3 -1
- package/dist/runtime/components/page/PageMention.vue +15 -4
- package/dist/runtime/components/page/PageMention.vue.d.ts +3 -1
- package/dist/runtime/components/page/PagePropertiesEditor.d.vue.ts +8 -2
- package/dist/runtime/components/page/PagePropertiesEditor.vue +50 -17
- package/dist/runtime/components/page/PagePropertiesEditor.vue.d.ts +8 -2
- package/dist/runtime/components/page/PagePropertiesRenderer.d.vue.ts +8 -2
- package/dist/runtime/components/page/PagePropertiesRenderer.vue +67 -20
- package/dist/runtime/components/page/PagePropertiesRenderer.vue.d.ts +8 -2
- package/dist/runtime/components/page/PageRenderer.d.vue.ts +3 -1
- package/dist/runtime/components/page/PageRenderer.vue +50 -16
- package/dist/runtime/components/page/PageRenderer.vue.d.ts +3 -1
- package/dist/runtime/components/page/PageSurround.d.vue.ts +5 -3
- package/dist/runtime/components/page/PageSurround.vue +54 -24
- package/dist/runtime/components/page/PageSurround.vue.d.ts +5 -3
- package/dist/runtime/components/page/PageTOC.d.vue.ts +5 -3
- package/dist/runtime/components/page/PageTOC.vue +17 -7
- package/dist/runtime/components/page/PageTOC.vue.d.ts +5 -3
- package/dist/runtime/components/page/modals/CreatePageModal.vue +27 -21
- package/dist/runtime/components/page/modals/DeletePageModal.vue +23 -6
- package/dist/runtime/components/swatches/ColorSwatch.d.vue.ts +5 -3
- package/dist/runtime/components/swatches/ColorSwatch.vue +25 -11
- package/dist/runtime/components/swatches/ColorSwatch.vue.d.ts +5 -3
- package/dist/runtime/components/swatches/FontSwatch.d.vue.ts +5 -3
- package/dist/runtime/components/swatches/FontSwatch.vue +23 -10
- package/dist/runtime/components/swatches/FontSwatch.vue.d.ts +5 -3
- package/dist/runtime/components/swatches/ImageSwatch.d.vue.ts +5 -3
- package/dist/runtime/components/swatches/ImageSwatch.vue +23 -10
- package/dist/runtime/components/swatches/ImageSwatch.vue.d.ts +5 -3
- package/dist/runtime/components/utilities/Placeholder.d.vue.ts +5 -1
- package/dist/runtime/components/utilities/Placeholder.vue +14 -5
- package/dist/runtime/components/utilities/Placeholder.vue.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
export interface FontSwatchProps {
|
|
2
2
|
name?: string;
|
|
3
3
|
jpg?: string;
|
|
4
4
|
png?: string;
|
|
5
5
|
webp?: string;
|
|
6
6
|
svg?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
7
|
+
}
|
|
8
|
+
export interface FontSwatchEmits {
|
|
9
|
+
}
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<FontSwatchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FontSwatchProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
11
|
declare const _default: typeof __VLS_export;
|
|
10
12
|
export default _default;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
export interface ImageSwatchProps {
|
|
2
2
|
name?: string;
|
|
3
3
|
jpg?: string;
|
|
4
4
|
png?: string;
|
|
5
5
|
webp?: string;
|
|
6
6
|
svg?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
7
|
+
}
|
|
8
|
+
export interface ImageSwatchEmits {
|
|
9
|
+
}
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<ImageSwatchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageSwatchProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
11
|
declare const _default: typeof __VLS_export;
|
|
10
12
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed } from "
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import { tv } from "tailwind-variants";
|
|
3
4
|
const { name, jpg, png, webp, svg } = defineProps({
|
|
4
5
|
name: { type: String, required: false },
|
|
5
6
|
jpg: { type: String, required: false },
|
|
@@ -7,6 +8,18 @@ const { name, jpg, png, webp, svg } = defineProps({
|
|
|
7
8
|
webp: { type: String, required: false },
|
|
8
9
|
svg: { type: String, required: false }
|
|
9
10
|
});
|
|
11
|
+
const emit = defineEmits([]);
|
|
12
|
+
const imageSwatchStyles = tv({
|
|
13
|
+
slots: {
|
|
14
|
+
card: "w-full rounded-none xl:w-fit",
|
|
15
|
+
title: "text-lg font-bold",
|
|
16
|
+
content: "flex flex-col items-center gap-sm xl:flex-row xl:items-start",
|
|
17
|
+
image: "size-48",
|
|
18
|
+
buttonGroup: "flex w-full flex-col justify-center gap-sm",
|
|
19
|
+
button: "w-full xl:w-36"
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const { card, title: titleStyle, content, image: imageStyle, buttonGroup, button } = imageSwatchStyles();
|
|
10
23
|
const image = computed(() => {
|
|
11
24
|
if (webp) return webp;
|
|
12
25
|
if (png) return png;
|
|
@@ -17,20 +30,20 @@ const image = computed(() => {
|
|
|
17
30
|
</script>
|
|
18
31
|
|
|
19
32
|
<template>
|
|
20
|
-
<UCard variant="subtle" class="
|
|
33
|
+
<UCard variant="subtle" :class="card()">
|
|
21
34
|
<template #header v-if="name">
|
|
22
|
-
<h3 class="
|
|
35
|
+
<h3 :class="titleStyle()">{{ name }}</h3>
|
|
23
36
|
</template>
|
|
24
|
-
<div class="
|
|
25
|
-
<NuxtImg :src="image" class="
|
|
26
|
-
<div class="
|
|
37
|
+
<div :class="content()">
|
|
38
|
+
<NuxtImg :src="image" :class="imageStyle()" />
|
|
39
|
+
<div :class="buttonGroup()">
|
|
27
40
|
<UButton
|
|
28
41
|
v-if="jpg"
|
|
29
42
|
variant="outline"
|
|
30
43
|
size="sm"
|
|
31
44
|
icon="lucide:download"
|
|
32
45
|
label="Download JPG"
|
|
33
|
-
class="
|
|
46
|
+
:class="button()"
|
|
34
47
|
:to="jpg"
|
|
35
48
|
target="_blank"
|
|
36
49
|
/>
|
|
@@ -40,7 +53,7 @@ const image = computed(() => {
|
|
|
40
53
|
size="sm"
|
|
41
54
|
icon="lucide:download"
|
|
42
55
|
label="Download PNG"
|
|
43
|
-
class="
|
|
56
|
+
:class="button()"
|
|
44
57
|
:to="png"
|
|
45
58
|
target="_blank"
|
|
46
59
|
/>
|
|
@@ -50,7 +63,7 @@ const image = computed(() => {
|
|
|
50
63
|
size="sm"
|
|
51
64
|
icon="lucide:download"
|
|
52
65
|
label="Download WEBP"
|
|
53
|
-
class="
|
|
66
|
+
:class="button()"
|
|
54
67
|
:to="webp"
|
|
55
68
|
target="_blank"
|
|
56
69
|
/>
|
|
@@ -60,7 +73,7 @@ const image = computed(() => {
|
|
|
60
73
|
size="sm"
|
|
61
74
|
icon="lucide:download"
|
|
62
75
|
label="Download SVG"
|
|
63
|
-
class="
|
|
76
|
+
:class="button()"
|
|
64
77
|
:to="svg"
|
|
65
78
|
target="_blank"
|
|
66
79
|
/>
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
export interface ImageSwatchProps {
|
|
2
2
|
name?: string;
|
|
3
3
|
jpg?: string;
|
|
4
4
|
png?: string;
|
|
5
5
|
webp?: string;
|
|
6
6
|
svg?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
7
|
+
}
|
|
8
|
+
export interface ImageSwatchEmits {
|
|
9
|
+
}
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<ImageSwatchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageSwatchProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
11
|
declare const _default: typeof __VLS_export;
|
|
10
12
|
export default _default;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
export interface PlaceholderProps {
|
|
2
|
+
}
|
|
3
|
+
export interface PlaceholderEmits {
|
|
4
|
+
}
|
|
1
5
|
declare var __VLS_1: {};
|
|
2
6
|
type __VLS_Slots = {} & {
|
|
3
7
|
default?: (props: typeof __VLS_1) => any;
|
|
4
8
|
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<PlaceholderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PlaceholderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
11
|
declare const _default: typeof __VLS_export;
|
|
8
12
|
export default _default;
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
<script setup
|
|
1
|
+
<script setup>
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
const props = defineProps({});
|
|
4
|
+
const emit = defineEmits([]);
|
|
5
|
+
const placeholderStyles = tv({
|
|
6
|
+
slots: {
|
|
7
|
+
base: "relative flex items-center justify-center overflow-hidden rounded-sm border border-dashed border-accented px-4 opacity-75",
|
|
8
|
+
svg: "absolute inset-0 h-full w-full stroke-inverted/10"
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const { base, svg } = placeholderStyles();
|
|
12
|
+
</script>
|
|
2
13
|
|
|
3
14
|
<template>
|
|
4
|
-
<div
|
|
5
|
-
class="
|
|
6
|
-
>
|
|
7
|
-
<svg class="absolute inset-0 h-full w-full stroke-inverted/10">
|
|
15
|
+
<div :class="base()">
|
|
16
|
+
<svg :class="svg()">
|
|
8
17
|
<defs>
|
|
9
18
|
<pattern
|
|
10
19
|
id="pattern-5c1e4f0e-62d5-498b-8ff0-cf77bb448c8e"
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
export interface PlaceholderProps {
|
|
2
|
+
}
|
|
3
|
+
export interface PlaceholderEmits {
|
|
4
|
+
}
|
|
1
5
|
declare var __VLS_1: {};
|
|
2
6
|
type __VLS_Slots = {} & {
|
|
3
7
|
default?: (props: typeof __VLS_1) => any;
|
|
4
8
|
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<PlaceholderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PlaceholderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
11
|
declare const _default: typeof __VLS_export;
|
|
8
12
|
export default _default;
|