@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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@resee-movies/nuxt-ux",
3
3
  "configKey": "ux",
4
- "version": "0.19.0",
4
+ "version": "0.20.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.0"
@@ -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' : 'false'"
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: true },
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: string;
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-violet)" },
16
- secondaryColor: { type: String, required: false, default: "var(--color-resee-orange)" },
17
- tertiaryColor: { type: String, required: false, default: "var(--color-resee-aqua)" }
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:v-bind(primaryColor);--color-2:v-bind(secondaryColor);--color-3:v-bind(tertiaryColor);--delay-x:-7s;--delay-y:-8s}.spotlight-2{--size:10vw;--speed:40s;--direction:alternate;--color:v-bind(secondaryColor);--color-2:v-bind(primaryColor);--color-3:v-bind(tertiaryColor);--delay-x:-30s;--delay-y:-1s}.spotlight-3{--size:30vw;--speed:60s;--direction:alternate-reverse;--color:v-bind(tertiaryColor);--color-2:v-bind(primaryColor);--color-3:v-bind(secondaryColor);--delay-x:-13s;--delay-y:0}
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resee-movies/nuxt-ux",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "The next-gen user experience library for ReSee Movies - currently in development. ",
5
5
  "repository": {
6
6
  "url": "https://github.com/ReSee-Movies/nuxt-ux.git"