@flux-ui/visuals 4.0.0-beta.2 → 4.0.0-beta.3

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/README.md CHANGED
@@ -8,7 +8,7 @@ Decorative, animated building blocks (border beams, patterns, animated colors, s
8
8
 
9
9
  - Purely decorative, `aria-hidden` visual effects that respect `prefers-reduced-motion`.
10
10
  - Same CSS Modules and naming conventions as `@flux-ui/components`.
11
- - Relies on the Flux theme tokens (`--gray-*`, `--radius`), so load `@flux-ui/components` styles alongside it.
11
+ - Relies on the Flux theme tokens (`--foreground-subtle`, `--primary-solid`, `--radius`), so load `@flux-ui/components` styles alongside it.
12
12
 
13
13
  ## ⭐️ Prerequisites
14
14
 
@@ -1,4 +1,4 @@
1
- import { BorderBeamVariant } from '@flux-ui/types';
1
+ import { FluxVisualBorderBeamVariant } from '@flux-ui/types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = {
4
4
  readonly active?: boolean;
@@ -10,7 +10,7 @@ type __VLS_Props = {
10
10
  readonly saturation?: number;
11
11
  readonly staticColors?: boolean;
12
12
  readonly strength?: number;
13
- readonly variant?: BorderBeamVariant;
13
+ readonly variant?: FluxVisualBorderBeamVariant;
14
14
  };
15
15
  type __VLS_Slots = {
16
16
  default(): any;
@@ -1,7 +1,7 @@
1
- import { HighlighterVariant } from '@flux-ui/types';
1
+ import { FluxVisualHighlighterVariant } from '@flux-ui/types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = {
4
- readonly variant?: HighlighterVariant;
4
+ readonly variant?: FluxVisualHighlighterVariant;
5
5
  readonly color?: string;
6
6
  readonly strokeWidth?: number;
7
7
  readonly animationDuration?: number;
@@ -1,9 +1,9 @@
1
- import { HighlighterGroupProps } from '@flux-ui/types';
1
+ import { FluxVisualHighlighterGroupProps } from '@flux-ui/types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Slots = {
4
4
  default(): any;
5
5
  };
6
- declare const __VLS_base: DefineComponent<HighlighterGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<HighlighterGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_base: DefineComponent<FluxVisualHighlighterGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FluxVisualHighlighterGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
7
7
  declare const _default: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
8
  export default _default;
9
9
  type __VLS_WithSlots<T, S> = T & {
@@ -1,11 +1,11 @@
1
- import { BorderBeamVariant } from '@flux-ui/types';
1
+ import { FluxVisualBorderBeamVariant } from '@flux-ui/types';
2
2
  import { Ref } from 'vue';
3
3
  type UseBorderBeamPulseOptions = {
4
4
  readonly duration: Ref<number>;
5
5
  readonly elementRef: Ref<HTMLElement | null>;
6
6
  readonly enabled: Ref<boolean>;
7
7
  readonly staticColors: Ref<boolean>;
8
- readonly variant: Ref<BorderBeamVariant>;
8
+ readonly variant: Ref<FluxVisualBorderBeamVariant>;
9
9
  };
10
10
  /**
11
11
  * Drives the breathing of a pulse border beam from the shared, frame-rate-capped
@@ -1,4 +1,4 @@
1
- import { HighlighterGroupProps } from '@flux-ui/types';
1
+ import { FluxVisualHighlighterGroupProps } from '@flux-ui/types';
2
2
  import { annotationGroup } from 'rough-notation';
3
3
  type Annotation = Parameters<typeof annotationGroup>[0][number];
4
4
  export type HighlighterGroupEntry = {
@@ -6,7 +6,7 @@ export type HighlighterGroupEntry = {
6
6
  getAnnotation(): Annotation | null;
7
7
  };
8
8
  export type HighlighterGroupContext = {
9
- readonly defaults: HighlighterGroupProps;
9
+ readonly defaults: FluxVisualHighlighterGroupProps;
10
10
  add(entry: HighlighterGroupEntry): void;
11
11
  remove(entry: HighlighterGroupEntry): void;
12
12
  notify(): void;
@@ -37,5 +37,5 @@ export declare function useHighlighterGroupInjection(): HighlighterGroupContext
37
37
  * @author Bas Milius <bas@mili.us>
38
38
  * @since 1.0.0
39
39
  */
40
- export default function useHighlighterGroup(props: HighlighterGroupProps): void;
40
+ export default function useHighlighterGroup(props: FluxVisualHighlighterGroupProps): void;
41
41
  export {};