@resee-movies/nuxt-ux 0.19.0 → 0.20.0
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/runtime/components/Button.vue +1 -1
- package/dist/runtime/components/Button.vue.d.ts +1 -1
- package/dist/runtime/components/Image.vue +1 -1
- package/dist/runtime/components/InlineStatsListItem.vue +1 -1
- package/dist/runtime/components/InlineStatsListItem.vue.d.ts +1 -1
- package/dist/runtime/components/MotionArt.vue +4 -4
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -61,7 +61,7 @@ const props = defineProps({
|
|
|
61
61
|
tooltip: { type: String, required: false, default: void 0 },
|
|
62
62
|
disabledTooltip: { type: String, required: false, default: void 0 },
|
|
63
63
|
onClick: { type: [Function, Array], required: false },
|
|
64
|
-
type: { type: String, required: false, default: "button" },
|
|
64
|
+
type: { type: [String, null], required: false, default: "button" },
|
|
65
65
|
text: { type: String, required: false },
|
|
66
66
|
icon: { type: String, required: false },
|
|
67
67
|
trailingIcon: { type: String, required: false },
|
|
@@ -25,7 +25,7 @@ export interface ButtonProps extends IconTextPairProps {
|
|
|
25
25
|
tooltip?: string;
|
|
26
26
|
disabledTooltip?: string;
|
|
27
27
|
onClick?: ((evt: Event) => void | Promise<void>) | ((evt: Event) => void | Promise<void>)[];
|
|
28
|
-
type?: 'button' | 'submit' | 'reset';
|
|
28
|
+
type?: 'button' | 'submit' | 'reset' | null;
|
|
29
29
|
}
|
|
30
30
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
31
31
|
click: (evt: Event) => any;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
:loadStyle = "props.loadStyle"
|
|
35
35
|
class = "transition-opacity duration-300"
|
|
36
36
|
:class = "{ 'opacity-0': isImgLoading || props.loading || imgHasError }"
|
|
37
|
-
:aria-hidden = "imgHasError ? 'true' :
|
|
37
|
+
:aria-hidden = "imgHasError ? 'true' : void 0"
|
|
38
38
|
@loading = "handleLoading"
|
|
39
39
|
@load = "handleLoaded"
|
|
40
40
|
@error = "handleError"
|
|
@@ -28,7 +28,7 @@ defineOptions({
|
|
|
28
28
|
});
|
|
29
29
|
const props = defineProps({
|
|
30
30
|
label: { type: String, required: true },
|
|
31
|
-
description: { type: String, required:
|
|
31
|
+
description: { type: String, required: false },
|
|
32
32
|
icon: { type: String, required: false, default: void 0 }
|
|
33
33
|
});
|
|
34
34
|
const slots = useSlots();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface InlineStatsListItemProps {
|
|
2
2
|
label: string;
|
|
3
|
-
description
|
|
3
|
+
description?: string;
|
|
4
4
|
icon?: string;
|
|
5
5
|
}
|
|
6
6
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<InlineStatsListItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InlineStatsListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
|
|
13
13
|
<script setup>
|
|
14
14
|
defineProps({
|
|
15
|
-
primaryColor: { type: String, required: false, default: "var(--color-resee-
|
|
16
|
-
secondaryColor: { type: String, required: false, default: "
|
|
17
|
-
tertiaryColor: { type: String, required: false, default: "
|
|
15
|
+
primaryColor: { type: String, required: false, default: "var(--color-resee-indigo)" },
|
|
16
|
+
secondaryColor: { type: String, required: false, default: "initial" },
|
|
17
|
+
tertiaryColor: { type: String, required: false, default: "initial" }
|
|
18
18
|
});
|
|
19
19
|
</script>
|
|
20
20
|
|
|
21
21
|
<style scoped>
|
|
22
|
-
@reference "tailwindcss";.motion-art{container-type:size}.spotlight{animation:x var(--speed) linear infinite var(--direction);animation-delay:var(--delay-x);filter:blur(3px);position:absolute}.spotlight>div{animation:y calc(var(--speed)*.7) linear infinite var(--direction),c var(--speed) linear infinite var(--direction);animation-delay:var(--delay-y);background:var(--color);border-radius:100%;height:var(--size);opacity:.5;width:var(--size)}@variant motion-reduce{.spotlight,.spotlight>div{animation-play-state:paused}}@keyframes x{to{filter:blur(10px);transform:translateX(calc(100cqw - var(--size)))}}@keyframes y{to{opacity:.3;transform:translateY(calc(100cqh - var(--size)))}}@keyframes c{33%{background:var(--color-2)}66%{background:var(--color-3)}to{background:var(--color)}}.spotlight-1{--size:20vw;--speed:50s;--direction:alternate;--color:
|
|
22
|
+
@reference "tailwindcss";.motion-art{--motion-art-color-1:v-bind(primaryColor);--motion-art-color-2-bound:v-bind(secondaryColor);--motion-art-color-2:var(--motion-art-color-2-bound,oklch(from var(--motion-art-color-1) l c calc(h + 135)));--motion-art-color-3-bound:v-bind(tertiaryColor);--motion-art-color-3:var(--motion-art-color-3-bound,oklch(from var(--motion-art-color-1) l c calc(h + 270)));container-type:size}.spotlight{animation:x var(--speed) linear infinite var(--direction);animation-delay:var(--delay-x);filter:blur(3px);position:absolute}.spotlight>div{animation:y calc(var(--speed)*.7) linear infinite var(--direction),c var(--speed) linear infinite var(--direction);animation-delay:var(--delay-y);background:var(--color);border-radius:100%;height:var(--size);opacity:.5;width:var(--size)}@variant motion-reduce{.spotlight,.spotlight>div{animation-play-state:paused}}@keyframes x{to{filter:blur(10px);transform:translateX(calc(100cqw - var(--size)))}}@keyframes y{to{opacity:.3;transform:translateY(calc(100cqh - var(--size)))}}@keyframes c{33%{background:var(--color-2)}66%{background:var(--color-3)}to{background:var(--color)}}.spotlight-1{--size:20vw;--speed:50s;--direction:alternate;--color:var(--motion-art-color-1);--color-2:var(--motion-art-color-2);--color-3:var(--motion-art-color-3);--delay-x:-7s;--delay-y:-8s}.spotlight-2{--size:10vw;--speed:40s;--direction:alternate;--color:var(--motion-art-color-2);--color-2:var(--motion-art-color-1);--color-3:var(--motion-art-color-3);--delay-x:-30s;--delay-y:-1s}.spotlight-3{--size:30vw;--speed:60s;--direction:alternate-reverse;--color:var(--motion-art-color-3);--color-2:var(--motion-art-color-1);--color-3:var(--motion-art-color-2);--delay-x:-13s;--delay-y:0}
|
|
23
23
|
</style>
|
package/package.json
CHANGED