@flux-ui/visuals 3.7.2 → 3.8.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flux-ui/visuals",
3
3
  "description": "Visual effect components for the Flux UI library.",
4
- "version": "3.7.2",
4
+ "version": "3.8.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/basmilius",
@@ -50,8 +50,8 @@
50
50
  "dependencies": {
51
51
  "@basmilius/common": "^3.55.0",
52
52
  "@basmilius/utils": "^3.55.0",
53
- "@flux-ui/internals": "3.7.2",
54
- "@flux-ui/types": "3.7.2",
53
+ "@flux-ui/internals": "3.8.0",
54
+ "@flux-ui/types": "3.8.0",
55
55
  "clsx": "^2.1.1",
56
56
  "rough-notation": "^0.5.1"
57
57
  },
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { flattenVNodeTree, prefersReducedMotion } from '@flux-ui/internals';
3
3
  import { clsx } from 'clsx';
4
- import { cloneVNode, defineComponent, Fragment, h, onBeforeUnmount, ref, watch, type PropType } from 'vue';
4
+ import { cloneVNode, defineComponent, Fragment, h, onBeforeUnmount, type PropType, ref, watch } from 'vue';
5
5
  import $style from '~flux/visuals/css/component/Attention.module.scss';
6
6
 
7
7
  type AttentionEffect = 'pulse' | 'shake' | 'bounce' | 'tada';
@@ -13,7 +13,7 @@
13
13
  import type { HighlighterVariant } from '@flux-ui/types';
14
14
  import { annotate } from 'rough-notation';
15
15
  import { computed, onBeforeUnmount, onMounted, shallowRef, useTemplateRef, watch } from 'vue';
16
- import { useHighlighterGroupInjection, type HighlighterGroupEntry } from '~flux/visuals/composable/private';
16
+ import { type HighlighterGroupEntry, useHighlighterGroupInjection } from '~flux/visuals/composable/private';
17
17
  import $style from '~flux/visuals/css/component/Highlighter.module.scss';
18
18
 
19
19
  const emit = defineEmits<{
@@ -1,6 +1,6 @@
1
1
  import { prefersReducedMotion } from '@flux-ui/internals';
2
2
  import type { BorderBeamVariant } from '@flux-ui/types';
3
- import { unref, watchEffect, type Ref } from 'vue';
3
+ import { type Ref, unref, watchEffect } from 'vue';
4
4
 
5
5
  type PulseOscillator = {
6
6
  readonly prop: string;
@@ -1,6 +1,6 @@
1
1
  import type { HighlighterGroupProps } from '@flux-ui/types';
2
2
  import { annotationGroup } from 'rough-notation';
3
- import { inject, onScopeDispose, provide, type InjectionKey } from 'vue';
3
+ import { inject, type InjectionKey, onScopeDispose, provide } from 'vue';
4
4
 
5
5
  type Annotation = Parameters<typeof annotationGroup>[0][number];
6
6