rimelight-components 2.1.27 → 2.1.29
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 +1 -0
- package/dist/runtime/components/app/Footer.vue +10 -2
- package/dist/runtime/components/app/Footer.vue.d.ts +1 -0
- package/dist/runtime/components/app/Header.d.vue.ts +1 -0
- package/dist/runtime/components/app/Header.vue +10 -2
- package/dist/runtime/components/app/Header.vue.d.ts +1 -0
- 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.29";
|
|
8
8
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
9
9
|
|
|
10
10
|
const defaultOptions = {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { tv } from "../../internal/tv";
|
|
3
3
|
import { useRC } from "../../composables/useRC";
|
|
4
|
-
const { rc: rcProp } = defineProps({
|
|
4
|
+
const { contain = true, rc: rcProp } = defineProps({
|
|
5
|
+
contain: { type: Boolean, required: false },
|
|
5
6
|
rc: { type: Object, required: false }
|
|
6
7
|
});
|
|
7
8
|
const emit = defineEmits([]);
|
|
@@ -14,9 +15,16 @@ const footerStyles = tv({
|
|
|
14
15
|
left: "order-last flex flex-col items-center justify-between gap-xl lg:order-1 lg:items-start",
|
|
15
16
|
center: "flex flex-col items-start lg:order-2",
|
|
16
17
|
right: "order-first flex flex-col items-center justify-between gap-xl lg:order-3 lg:flex-1 lg:items-end"
|
|
18
|
+
},
|
|
19
|
+
variants: {
|
|
20
|
+
contain: {
|
|
21
|
+
false: {
|
|
22
|
+
container: "max-w-none"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
17
25
|
}
|
|
18
26
|
});
|
|
19
|
-
const { root, container, left, center, right } = footerStyles();
|
|
27
|
+
const { root, container, left, center, right } = footerStyles({ contain });
|
|
20
28
|
</script>
|
|
21
29
|
|
|
22
30
|
<template>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { tv } from "../../internal/tv";
|
|
3
3
|
import { useRC } from "../../composables/useRC";
|
|
4
|
-
const { rc: rcProp } = defineProps({
|
|
4
|
+
const { contain = true, rc: rcProp } = defineProps({
|
|
5
|
+
contain: { type: Boolean, required: false },
|
|
5
6
|
rc: { type: Object, required: false }
|
|
6
7
|
});
|
|
7
8
|
const emit = defineEmits([]);
|
|
@@ -17,6 +18,13 @@ const headerStyles = tv({
|
|
|
17
18
|
collapsedLeft: "lg:hidden flex-1 justify-start",
|
|
18
19
|
collapsedCenter: "lg:hidden flex-none",
|
|
19
20
|
collapsedRight: "lg:hidden flex-1 justify-end"
|
|
21
|
+
},
|
|
22
|
+
variants: {
|
|
23
|
+
contain: {
|
|
24
|
+
false: {
|
|
25
|
+
container: "max-w-none"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
20
28
|
}
|
|
21
29
|
});
|
|
22
30
|
const {
|
|
@@ -28,7 +36,7 @@ const {
|
|
|
28
36
|
collapsedLeft,
|
|
29
37
|
collapsedCenter,
|
|
30
38
|
collapsedRight
|
|
31
|
-
} = headerStyles();
|
|
39
|
+
} = headerStyles({ contain });
|
|
32
40
|
</script>
|
|
33
41
|
|
|
34
42
|
<template>
|