@wow-two-beta/ui 0.0.22 → 0.0.23
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/{chunk-6UJX6YAP.js → chunk-XLPFX4WK.js} +513 -3
- package/dist/chunk-XLPFX4WK.js.map +1 -0
- package/dist/display/animatedNumber/AnimatedNumber.d.ts +14 -0
- package/dist/display/animatedNumber/AnimatedNumber.d.ts.map +1 -0
- package/dist/display/animatedNumber/index.d.ts +2 -0
- package/dist/display/animatedNumber/index.d.ts.map +1 -0
- package/dist/display/confetti/Confetti.d.ts +31 -0
- package/dist/display/confetti/Confetti.d.ts.map +1 -0
- package/dist/display/confetti/index.d.ts +2 -0
- package/dist/display/confetti/index.d.ts.map +1 -0
- package/dist/display/countUp/CountUp.d.ts +17 -0
- package/dist/display/countUp/CountUp.d.ts.map +1 -0
- package/dist/display/countUp/index.d.ts +2 -0
- package/dist/display/countUp/index.d.ts.map +1 -0
- package/dist/display/gradientText/GradientText.d.ts +18 -0
- package/dist/display/gradientText/GradientText.d.ts.map +1 -0
- package/dist/display/gradientText/index.d.ts +2 -0
- package/dist/display/gradientText/index.d.ts.map +1 -0
- package/dist/display/index.d.ts +8 -0
- package/dist/display/index.d.ts.map +1 -1
- package/dist/display/index.js +1 -1
- package/dist/display/marquee/Marquee.d.ts +16 -0
- package/dist/display/marquee/Marquee.d.ts.map +1 -0
- package/dist/display/marquee/index.d.ts +2 -0
- package/dist/display/marquee/index.d.ts.map +1 -0
- package/dist/display/scrollReveal/ScrollReveal.d.ts +18 -0
- package/dist/display/scrollReveal/ScrollReveal.d.ts.map +1 -0
- package/dist/display/scrollReveal/index.d.ts +2 -0
- package/dist/display/scrollReveal/index.d.ts.map +1 -0
- package/dist/display/tilt/Tilt.d.ts +15 -0
- package/dist/display/tilt/Tilt.d.ts.map +1 -0
- package/dist/display/tilt/index.d.ts +2 -0
- package/dist/display/tilt/index.d.ts.map +1 -0
- package/dist/display/typewriter/Typewriter.d.ts +18 -0
- package/dist/display/typewriter/Typewriter.d.ts.map +1 -0
- package/dist/display/typewriter/index.d.ts +2 -0
- package/dist/display/typewriter/index.d.ts.map +1 -0
- package/dist/index.css +24 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-6UJX6YAP.js.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
export interface AnimatedNumberProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
|
|
3
|
+
value: number;
|
|
4
|
+
duration?: number;
|
|
5
|
+
easing?: (t: number) => number;
|
|
6
|
+
format?: (value: number) => ReactNode;
|
|
7
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Animates the displayed number whenever `value` changes. rAF tween between
|
|
11
|
+
* the previous and new value. Respects `prefers-reduced-motion`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const AnimatedNumber: import("react").ForwardRefExoticComponent<AnimatedNumberProps & import("react").RefAttributes<HTMLElement>>;
|
|
14
|
+
//# sourceMappingURL=AnimatedNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedNumber.d.ts","sourceRoot":"","sources":["../../../src/display/animatedNumber/AnimatedNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IACxF,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IACtC,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACrE;AAUD;;;GAGG;AACH,eAAO,MAAM,cAAc,6GAkD1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/animatedNumber/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface ConfettiOrigin {
|
|
2
|
+
x?: number;
|
|
3
|
+
y?: number;
|
|
4
|
+
}
|
|
5
|
+
export interface ConfettiFireOptions {
|
|
6
|
+
particleCount?: number;
|
|
7
|
+
colors?: string[];
|
|
8
|
+
spread?: number;
|
|
9
|
+
velocity?: number;
|
|
10
|
+
origin?: ConfettiOrigin;
|
|
11
|
+
}
|
|
12
|
+
export interface ConfettiProps {
|
|
13
|
+
particleCount?: number;
|
|
14
|
+
colors?: string[];
|
|
15
|
+
gravity?: number;
|
|
16
|
+
spread?: number;
|
|
17
|
+
velocity?: number;
|
|
18
|
+
lifetime?: number;
|
|
19
|
+
origin?: ConfettiOrigin;
|
|
20
|
+
/** Auto-fire on mount. Useful for one-shot confetti on a route landing. */
|
|
21
|
+
autoFire?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface ConfettiHandle {
|
|
24
|
+
fire: (opts?: ConfettiFireOptions) => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Confetti burst. Imperative `fire()` via ref or `autoFire` on mount. SVG
|
|
28
|
+
* particles animated by rAF. No-op under `prefers-reduced-motion`.
|
|
29
|
+
*/
|
|
30
|
+
export declare const Confetti: import("react").ForwardRefExoticComponent<ConfettiProps & import("react").RefAttributes<ConfettiHandle>>;
|
|
31
|
+
//# sourceMappingURL=Confetti.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Confetti.d.ts","sourceRoot":"","sources":["../../../src/display/confetti/Confetti.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,cAAc;IAC7B,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,mBAAmB;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,WAAW,aAAa;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,mBAAmB,KAAK,IAAI,CAAC;CAC5C;AAoBD;;;GAGG;AACH,eAAO,MAAM,QAAQ,0GAsHnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/confetti/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
export interface CountUpProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
|
|
3
|
+
to: number;
|
|
4
|
+
from?: number;
|
|
5
|
+
duration?: number;
|
|
6
|
+
easing?: (t: number) => number;
|
|
7
|
+
format?: (value: number) => ReactNode;
|
|
8
|
+
triggerOnView?: boolean;
|
|
9
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Number that animates up to `to` on mount (or on enter-viewport when
|
|
13
|
+
* `triggerOnView`). rAF tween; respects `prefers-reduced-motion` (jumps
|
|
14
|
+
* straight to `to`).
|
|
15
|
+
*/
|
|
16
|
+
export declare const CountUp: import("react").ForwardRefExoticComponent<CountUpProps & import("react").RefAttributes<HTMLElement>>;
|
|
17
|
+
//# sourceMappingURL=CountUp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CountUp.d.ts","sourceRoot":"","sources":["../../../src/display/countUp/CountUp.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IACjF,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IACtC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACrE;AAUD;;;;GAIG;AACH,eAAO,MAAM,OAAO,sGAoElB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/countUp/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
export type GradientTextDirection = 'r' | 'l' | 't' | 'b' | 'tr' | 'br' | 'tl' | 'bl';
|
|
3
|
+
export type GradientTextTag = 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
4
|
+
export interface GradientTextProps extends HTMLAttributes<HTMLElement> {
|
|
5
|
+
from?: string;
|
|
6
|
+
via?: string;
|
|
7
|
+
to?: string;
|
|
8
|
+
direction?: GradientTextDirection;
|
|
9
|
+
animated?: boolean;
|
|
10
|
+
as?: GradientTextTag;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Decorative gradient-filled text via `background-clip: text`. Optional
|
|
14
|
+
* `animated` pans the gradient on a 4s loop (skipped under
|
|
15
|
+
* `prefers-reduced-motion` via the global `motion-reduce:` CSS guard).
|
|
16
|
+
*/
|
|
17
|
+
export declare const GradientText: import("react").ForwardRefExoticComponent<GradientTextProps & import("react").RefAttributes<HTMLElement>>;
|
|
18
|
+
//# sourceMappingURL=GradientText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GradientText.d.ts","sourceRoot":"","sources":["../../../src/display/gradientText/GradientText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAG1E,MAAM,MAAM,qBAAqB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACtF,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,KAAK,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7F,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,eAAe,CAAC;CACtB;AAaD;;;;GAIG;AACH,eAAO,MAAM,YAAY,2GAqCxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/gradientText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB,MAAM,gBAAgB,CAAC"}
|
package/dist/display/index.d.ts
CHANGED
|
@@ -46,4 +46,12 @@ export * from './pdfViewer';
|
|
|
46
46
|
export * from './scheduleView';
|
|
47
47
|
export * from './gantt';
|
|
48
48
|
export * from './eventCalendar';
|
|
49
|
+
export * from './gradientText';
|
|
50
|
+
export * from './countUp';
|
|
51
|
+
export * from './animatedNumber';
|
|
52
|
+
export * from './scrollReveal';
|
|
53
|
+
export * from './tilt';
|
|
54
|
+
export * from './marquee';
|
|
55
|
+
export * from './typewriter';
|
|
56
|
+
export * from './confetti';
|
|
49
57
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/display/index.ts"],"names":[],"mappings":"AAAA,cAAc,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AAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
|
package/dist/display/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, CountBadge, DataGrid, DataTable, DescriptionList, DiffViewer, EmptyState, EventCalendar, Gantt, Heading, HeatmapCalendar, Highlight, Image, InfoRow, Kbd, KeyboardShortcut, List, ListItem, Mark, NodeEditor, NotificationDot, PDFViewer, Quote, ScheduleView, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from '../chunk-
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AnimatedNumber, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, Confetti, CountBadge, CountUp, DataGrid, DataTable, DescriptionList, DiffViewer, EmptyState, EventCalendar, Gantt, GradientText, Heading, HeatmapCalendar, Highlight, Image, InfoRow, Kbd, KeyboardShortcut, List, ListItem, Mark, Marquee, NodeEditor, NotificationDot, PDFViewer, Quote, ScheduleView, ScrollReveal, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, Tilt, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, Typewriter, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from '../chunk-XLPFX4WK.js';
|
|
2
2
|
export { Tag, tagVariants } from '../chunk-XAJKBU6P.js';
|
|
3
3
|
import '../chunk-BMBIZLO4.js';
|
|
4
4
|
import '../chunk-4P2TFUVW.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
export type MarqueeDirection = 'left' | 'right' | 'up' | 'down';
|
|
3
|
+
export interface MarqueeProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
direction?: MarqueeDirection;
|
|
5
|
+
/** Seconds for one full traversal of the inner content. */
|
|
6
|
+
speed?: number;
|
|
7
|
+
pauseOnHover?: boolean;
|
|
8
|
+
gap?: number;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Continuously scrolls children. Content is duplicated once for a seamless
|
|
13
|
+
* loop animated by `-50%`. Pause-on-hover toggles `animation-play-state`.
|
|
14
|
+
*/
|
|
15
|
+
export declare const Marquee: import("react").ForwardRefExoticComponent<MarqueeProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
+
//# sourceMappingURL=Marquee.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Marquee.d.ts","sourceRoot":"","sources":["../../../src/display/marquee/Marquee.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,CAAC;AAEhE,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAClE,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,yGA0ClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/marquee/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
export type ScrollRevealEffect = 'fade' | 'slide-up' | 'slide-down' | 'slide-left' | 'slide-right' | 'zoom';
|
|
3
|
+
export interface ScrollRevealProps extends HTMLAttributes<HTMLElement> {
|
|
4
|
+
effect?: ScrollRevealEffect;
|
|
5
|
+
duration?: number;
|
|
6
|
+
delay?: number;
|
|
7
|
+
threshold?: number;
|
|
8
|
+
once?: boolean;
|
|
9
|
+
as?: 'div' | 'section' | 'article' | 'span' | 'li';
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Reveal children on enter-viewport. CSS-driven (opacity + transform);
|
|
13
|
+
* IntersectionObserver toggles `data-revealed`. Honors
|
|
14
|
+
* `prefers-reduced-motion` (no transform / opacity at all — content visible
|
|
15
|
+
* from the start).
|
|
16
|
+
*/
|
|
17
|
+
export declare const ScrollReveal: import("react").ForwardRefExoticComponent<ScrollRevealProps & import("react").RefAttributes<HTMLElement>>;
|
|
18
|
+
//# sourceMappingURL=ScrollReveal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollReveal.d.ts","sourceRoot":"","sources":["../../../src/display/scrollReveal/ScrollReveal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AAGf,MAAM,MAAM,kBAAkB,GAC1B,MAAM,GACN,UAAU,GACV,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,MAAM,CAAC;AAEX,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACpE,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;CACpD;AAWD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,2GAuExB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/scrollReveal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,kBAAkB,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
export interface TiltProps extends HTMLAttributes<HTMLElement> {
|
|
3
|
+
maxAngle?: number;
|
|
4
|
+
perspective?: number;
|
|
5
|
+
glare?: boolean;
|
|
6
|
+
scale?: number;
|
|
7
|
+
as?: 'div' | 'section' | 'article' | 'span';
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* 3D card tilt — `rotateX`/`rotateY` from cursor position. Disabled under
|
|
11
|
+
* `prefers-reduced-motion`. Optional `glare` paints a soft highlight that
|
|
12
|
+
* follows the cursor.
|
|
13
|
+
*/
|
|
14
|
+
export declare const Tilt: import("react").ForwardRefExoticComponent<TiltProps & import("react").RefAttributes<HTMLElement>>;
|
|
15
|
+
//# sourceMappingURL=Tilt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tilt.d.ts","sourceRoot":"","sources":["../../../src/display/tilt/Tilt.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,WAAW,CAAC;IAC5D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;CAC7C;AAUD;;;;GAIG;AACH,eAAO,MAAM,IAAI,mGAiFf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/tilt/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
export interface TypewriterProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
|
|
3
|
+
text: string | string[];
|
|
4
|
+
typeSpeed?: number;
|
|
5
|
+
deleteSpeed?: number;
|
|
6
|
+
pauseBetween?: number;
|
|
7
|
+
loop?: boolean;
|
|
8
|
+
cursor?: boolean;
|
|
9
|
+
cursorChar?: string;
|
|
10
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Char-by-char typewriter. Single string types once; array of strings cycles
|
|
14
|
+
* through (type → pause → delete → next). `prefers-reduced-motion` short-
|
|
15
|
+
* circuits to the full string.
|
|
16
|
+
*/
|
|
17
|
+
export declare const Typewriter: import("react").ForwardRefExoticComponent<TypewriterProps & import("react").RefAttributes<HTMLElement>>;
|
|
18
|
+
//# sourceMappingURL=Typewriter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typewriter.d.ts","sourceRoot":"","sources":["../../../src/display/typewriter/Typewriter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IACpF,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACrE;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,yGAwErB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/display/typewriter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
package/dist/index.css
CHANGED
|
@@ -178,3 +178,27 @@ html, body {
|
|
|
178
178
|
transform: translateX(300%);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
+
|
|
182
|
+
@keyframes gradient-shift {
|
|
183
|
+
0%, 100% {
|
|
184
|
+
background-position: 0% 50%;
|
|
185
|
+
}
|
|
186
|
+
50% {
|
|
187
|
+
background-position: 100% 50%;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
@keyframes marquee-x {
|
|
192
|
+
from { transform: translateX(0); }
|
|
193
|
+
to { transform: translateX(-50%); }
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@keyframes marquee-y {
|
|
197
|
+
from { transform: translateY(0); }
|
|
198
|
+
to { transform: translateY(-50%); }
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
@keyframes blink-caret {
|
|
202
|
+
0%, 49% { opacity: 1; }
|
|
203
|
+
50%, 100% { opacity: 0; }
|
|
204
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, Draw
|
|
|
7
7
|
export { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './chunk-25CGSOXZ.js';
|
|
8
8
|
import './chunk-NTW7SDAP.js';
|
|
9
9
|
export { BackToTopButton, Button, ButtonGroup, CopyButton, DisclosureButton, FAB, IconButton, Link, OverlayButton, SegmentedControl, SpeedDial, SpeedDialAction, SpeedDialTrigger, ToggleButton, ToggleButtonGroup, Toolbar, ToolbarButton, ToolbarLink, ToolbarSeparator, buttonVariants, fabVariants, iconButtonVariants, linkVariants, overlayButtonVariants, toggleButtonVariants } from './chunk-GRJBIGUD.js';
|
|
10
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, CountBadge, DataGrid, DataTable, DescriptionList, DiffViewer, EmptyState, EventCalendar, Gantt, Heading, HeatmapCalendar, Highlight, Image, InfoRow, Kbd, KeyboardShortcut, List, ListItem, Mark, NodeEditor, NotificationDot, PDFViewer, Quote, ScheduleView, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from './chunk-
|
|
10
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AnimatedNumber, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, Confetti, CountBadge, CountUp, DataGrid, DataTable, DescriptionList, DiffViewer, EmptyState, EventCalendar, Gantt, GradientText, Heading, HeatmapCalendar, Highlight, Image, InfoRow, Kbd, KeyboardShortcut, List, ListItem, Mark, Marquee, NodeEditor, NotificationDot, PDFViewer, Quote, ScheduleView, ScrollReveal, SectionHeader, Separator, Snippet, Sparkline, Stat, Status, SwipeActions, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, Tilt, Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tooltip, Tree, TreeGroup, TreeItem, Typewriter, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants } from './chunk-XLPFX4WK.js';
|
|
11
11
|
export { Tag, tagVariants } from './chunk-XAJKBU6P.js';
|
|
12
12
|
export { Alert, AlertSimple, Banner, BannerSimple, Callout, InlineSpinner, LoadingOverlay, LoadingState, MeterBar, OnboardingChecklist, OnboardingChecklistTask, ProgressBar, ProgressCircle, ProgressSteps, Skeleton, StatusIndicator, Toast, ToastSimple, Toaster, Tour, TrendIndicator, UndoBar, alertSimpleVariants, bannerSimpleVariants, progressFillVariants, progressTrackVariants, skeletonVariants, toastSimpleVariants, toaster, useOnboardingChecklist, useToaster } from './chunk-45SFQEMP.js';
|
|
13
13
|
export { Spinner, spinnerVariants } from './chunk-NKADHZMX.js';
|