@flux-ui/visuals 3.2.0-beta.10 → 3.2.0-beta.11
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/component/FluxVisualBorderBeam.vue.d.ts +1 -1
- package/dist/component/FluxVisualHighlighter.vue.d.ts +1 -1
- package/dist/component/FluxVisualHighlighterGroup.vue.d.ts +1 -1
- package/dist/composable/private/index.d.ts +2 -2
- package/dist/composable/private/useBorderBeamPulse.d.ts +1 -1
- package/dist/composable/private/useHighlighterGroup.d.ts +1 -11
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/src/component/FluxVisualBorderBeam.vue +2 -1
- package/src/component/FluxVisualHighlighter.vue +2 -1
- package/src/component/FluxVisualHighlighterGroup.vue +2 -1
- package/src/composable/private/index.ts +2 -2
- package/src/composable/private/useBorderBeamPulse.ts +1 -2
- package/src/composable/private/useHighlighterGroup.ts +1 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HighlighterVariant } from '
|
|
1
|
+
import { HighlighterVariant } from '@flux-ui/types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
readonly variant?: HighlighterVariant;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as useBorderBeamPulse
|
|
2
|
-
export { default as useHighlighterGroup, useHighlighterGroupInjection, type HighlighterGroupContext, type HighlighterGroupEntry
|
|
1
|
+
export { default as useBorderBeamPulse } from './useBorderBeamPulse';
|
|
2
|
+
export { default as useHighlighterGroup, useHighlighterGroupInjection, type HighlighterGroupContext, type HighlighterGroupEntry } from './useHighlighterGroup';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { BorderBeamVariant } from '@flux-ui/types';
|
|
1
2
|
import { Ref } from 'vue';
|
|
2
|
-
export type BorderBeamVariant = 'sm' | 'md' | 'line' | 'pulse-inner' | 'pulse-outside';
|
|
3
3
|
type UseBorderBeamPulseOptions = {
|
|
4
4
|
readonly duration: Ref<number>;
|
|
5
5
|
readonly elementRef: Ref<HTMLElement | null>;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { HighlighterGroupProps } from '@flux-ui/types';
|
|
1
2
|
import { annotationGroup } from 'rough-notation';
|
|
2
3
|
type Annotation = Parameters<typeof annotationGroup>[0][number];
|
|
3
|
-
export type HighlighterVariant = 'highlight' | 'box' | 'circle' | 'underline' | 'strike-through' | 'crossed-off' | 'bracket';
|
|
4
|
-
export type HighlighterGroupProps = {
|
|
5
|
-
readonly variant?: HighlighterVariant;
|
|
6
|
-
readonly color?: string;
|
|
7
|
-
readonly strokeWidth?: number;
|
|
8
|
-
readonly animationDuration?: number;
|
|
9
|
-
readonly iterations?: number;
|
|
10
|
-
readonly padding?: number;
|
|
11
|
-
readonly multiline?: boolean;
|
|
12
|
-
readonly whenInView?: boolean;
|
|
13
|
-
};
|
|
14
4
|
export type HighlighterGroupEntry = {
|
|
15
5
|
readonly element: HTMLElement;
|
|
16
6
|
getAnnotation(): Annotation | null;
|