@szum-tech/design-system 3.9.0 → 3.10.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.
Files changed (73) hide show
  1. package/dist/chunk-2WQJ36RD.cjs +78 -0
  2. package/dist/chunk-D4QID7AI.cjs +607 -0
  3. package/dist/chunk-DGWBE2Y3.cjs +205 -0
  4. package/dist/{chunk-XTNS5QH5.cjs → chunk-EG374TED.cjs} +52 -86
  5. package/dist/chunk-EUH466AL.cjs +179 -0
  6. package/dist/chunk-F7N6WQV6.cjs +53 -0
  7. package/dist/chunk-GYXQUTWZ.cjs +59 -0
  8. package/dist/chunk-IWF52DDE.js +55 -0
  9. package/dist/{chunk-PHPJ54IC.js → chunk-JLKQ6WKK.js} +48 -82
  10. package/dist/chunk-K5AURCK5.js +183 -0
  11. package/dist/chunk-OCOCENE6.js +42 -0
  12. package/dist/chunk-R65CJGEQ.js +48 -0
  13. package/dist/chunk-TKZOB6C3.cjs +70 -0
  14. package/dist/chunk-WMGJCB7O.js +157 -0
  15. package/dist/chunk-YEFLGE3L.cjs +47 -0
  16. package/dist/chunk-YQ6J6VOI.js +48 -0
  17. package/dist/chunk-YSYZKK24.js +575 -0
  18. package/dist/chunk-YUMKV5TH.js +56 -0
  19. package/dist/components/accordion/index.cjs +23 -0
  20. package/dist/components/accordion/index.d.cts +17 -0
  21. package/dist/components/accordion/index.d.ts +17 -0
  22. package/dist/components/accordion/index.js +2 -0
  23. package/dist/components/button/index.cjs +17 -10
  24. package/dist/components/button/index.js +16 -9
  25. package/dist/components/counting-number/index.cjs +11 -0
  26. package/dist/components/counting-number/index.d.cts +18 -0
  27. package/dist/components/counting-number/index.d.ts +18 -0
  28. package/dist/components/counting-number/index.js +2 -0
  29. package/dist/components/index.cjs +214 -111
  30. package/dist/components/index.d.cts +11 -2
  31. package/dist/components/index.d.ts +11 -2
  32. package/dist/components/index.js +16 -9
  33. package/dist/components/marquee/index.cjs +11 -0
  34. package/dist/components/marquee/index.d.cts +48 -0
  35. package/dist/components/marquee/index.d.ts +48 -0
  36. package/dist/components/marquee/index.js +2 -0
  37. package/dist/components/status/index.cjs +19 -0
  38. package/dist/components/status/index.d.cts +25 -0
  39. package/dist/components/status/index.d.ts +25 -0
  40. package/dist/components/status/index.js +2 -0
  41. package/dist/components/stepper/index.cjs +35 -28
  42. package/dist/components/stepper/index.d.cts +5 -4
  43. package/dist/components/stepper/index.d.ts +5 -4
  44. package/dist/components/stepper/index.js +16 -9
  45. package/dist/components/tabs/index.cjs +23 -0
  46. package/dist/components/tabs/index.d.cts +17 -0
  47. package/dist/components/tabs/index.d.ts +17 -0
  48. package/dist/components/tabs/index.js +2 -0
  49. package/dist/components/timeline/index.cjs +44 -0
  50. package/dist/components/timeline/index.d.cts +62 -0
  51. package/dist/components/timeline/index.d.ts +62 -0
  52. package/dist/components/timeline/index.js +3 -0
  53. package/dist/components/toaster/index.cjs +18 -11
  54. package/dist/components/toaster/index.js +16 -9
  55. package/dist/components/typing-text/index.cjs +11 -0
  56. package/dist/components/typing-text/index.d.cts +40 -0
  57. package/dist/components/typing-text/index.d.ts +40 -0
  58. package/dist/components/typing-text/index.js +2 -0
  59. package/dist/components/word-rotate/index.cjs +11 -0
  60. package/dist/components/word-rotate/index.d.cts +29 -0
  61. package/dist/components/word-rotate/index.d.ts +29 -0
  62. package/dist/components/word-rotate/index.js +2 -0
  63. package/dist/direction-CUOPDLCj.d.cts +7 -0
  64. package/dist/direction-CUOPDLCj.d.ts +7 -0
  65. package/package.json +35 -44
  66. package/tailwind/animation.css +23 -1
  67. package/tailwind/palette.css +2 -2
  68. package/dist/chunk-EW6TE3N5.cjs +0 -38
  69. package/dist/chunk-H5O5L6XT.js +0 -14
  70. package/dist/contexts/index.cjs +0 -18
  71. package/dist/contexts/index.d.cts +0 -11
  72. package/dist/contexts/index.d.ts +0 -11
  73. package/dist/contexts/index.js +0 -1
@@ -0,0 +1,44 @@
1
+ 'use strict';
2
+
3
+ var chunkD4QID7AI_cjs = require('../../chunk-D4QID7AI.cjs');
4
+ require('../../chunk-7EYMOUWG.cjs');
5
+ require('../../chunk-H2BWO3SI.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "Timeline", {
10
+ enumerable: true,
11
+ get: function () { return chunkD4QID7AI_cjs.Timeline; }
12
+ });
13
+ Object.defineProperty(exports, "TimelineConnector", {
14
+ enumerable: true,
15
+ get: function () { return chunkD4QID7AI_cjs.TimelineConnector; }
16
+ });
17
+ Object.defineProperty(exports, "TimelineContent", {
18
+ enumerable: true,
19
+ get: function () { return chunkD4QID7AI_cjs.TimelineContent; }
20
+ });
21
+ Object.defineProperty(exports, "TimelineDescription", {
22
+ enumerable: true,
23
+ get: function () { return chunkD4QID7AI_cjs.TimelineDescription; }
24
+ });
25
+ Object.defineProperty(exports, "TimelineDot", {
26
+ enumerable: true,
27
+ get: function () { return chunkD4QID7AI_cjs.TimelineDot; }
28
+ });
29
+ Object.defineProperty(exports, "TimelineHeader", {
30
+ enumerable: true,
31
+ get: function () { return chunkD4QID7AI_cjs.TimelineHeader; }
32
+ });
33
+ Object.defineProperty(exports, "TimelineItem", {
34
+ enumerable: true,
35
+ get: function () { return chunkD4QID7AI_cjs.TimelineItem; }
36
+ });
37
+ Object.defineProperty(exports, "TimelineTime", {
38
+ enumerable: true,
39
+ get: function () { return chunkD4QID7AI_cjs.TimelineTime; }
40
+ });
41
+ Object.defineProperty(exports, "TimelineTitle", {
42
+ enumerable: true,
43
+ get: function () { return chunkD4QID7AI_cjs.TimelineTitle; }
44
+ });
@@ -0,0 +1,62 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import React__default from 'react';
4
+ import { D as Direction } from '../../direction-CUOPDLCj.cjs';
5
+
6
+ type TimelineProps = React.ComponentProps<"div"> & {
7
+ asChild?: boolean;
8
+ dir?: TimelineDirection;
9
+ orientation?: TimelineOrientation;
10
+ variant?: TimelineVariant;
11
+ activeIndex?: number;
12
+ };
13
+ declare function Timeline({ orientation, variant, dir: dirProp, activeIndex, asChild, className, ...props }: TimelineProps): react_jsx_runtime.JSX.Element;
14
+
15
+ type TimelineDirection = Direction;
16
+ type TimelineOrientation = "vertical" | "horizontal";
17
+ type TimelineVariant = "default" | "alternate";
18
+ type TimelineStatus = "completed" | "active" | "pending";
19
+ type TimelineItemElement = HTMLDivElement;
20
+
21
+ type TimelineItemProps = React.ComponentProps<"div"> & {
22
+ asChild?: boolean;
23
+ };
24
+ declare function TimelineItem({ asChild, className, id, ref, ...props }: TimelineItemProps): react_jsx_runtime.JSX.Element;
25
+
26
+ type TimelineContentProps = React__default.ComponentProps<"div"> & {
27
+ asChild?: boolean;
28
+ };
29
+ declare function TimelineContent({ asChild, className, ...props }: TimelineContentProps): react_jsx_runtime.JSX.Element;
30
+
31
+ type TimelineDotProps = React.ComponentProps<"div"> & {
32
+ asChild?: boolean;
33
+ };
34
+ declare function TimelineDot({ asChild, className, ...props }: TimelineDotProps): react_jsx_runtime.JSX.Element;
35
+
36
+ type TimelineConnectorProps = React.ComponentProps<"div"> & {
37
+ asChild?: boolean;
38
+ forceMount?: boolean;
39
+ };
40
+ declare function TimelineConnector({ asChild, forceMount, className, ...props }: TimelineConnectorProps): react_jsx_runtime.JSX.Element | null;
41
+
42
+ type TimelineHeaderProps = React.ComponentProps<"div"> & {
43
+ asChild?: boolean;
44
+ };
45
+ declare function TimelineHeader({ asChild, className, ...props }: TimelineHeaderProps): react_jsx_runtime.JSX.Element;
46
+
47
+ type TimelineTitleProps = React.ComponentProps<"div"> & {
48
+ asChild?: boolean;
49
+ };
50
+ declare function TimelineTitle({ asChild, className, ...props }: TimelineTitleProps): react_jsx_runtime.JSX.Element;
51
+
52
+ type TimelineDescriptionProps = React.ComponentProps<"div"> & {
53
+ asChild?: boolean;
54
+ };
55
+ declare function TimelineDescription({ asChild, className, ...props }: TimelineDescriptionProps): react_jsx_runtime.JSX.Element;
56
+
57
+ type TimelineTimeProps = React.ComponentProps<"time"> & {
58
+ asChild?: boolean;
59
+ };
60
+ declare function TimelineTime({ asChild, className, ...props }: TimelineTimeProps): react_jsx_runtime.JSX.Element;
61
+
62
+ export { Timeline, TimelineConnector, type TimelineConnectorProps, TimelineContent, type TimelineContentProps, TimelineDescription, type TimelineDescriptionProps, type TimelineDirection, TimelineDot, type TimelineDotProps, TimelineHeader, type TimelineHeaderProps, TimelineItem, type TimelineItemElement, type TimelineItemProps, type TimelineOrientation, type TimelineProps, type TimelineStatus, TimelineTime, type TimelineTimeProps, TimelineTitle, type TimelineTitleProps, type TimelineVariant };
@@ -0,0 +1,62 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import React__default from 'react';
4
+ import { D as Direction } from '../../direction-CUOPDLCj.js';
5
+
6
+ type TimelineProps = React.ComponentProps<"div"> & {
7
+ asChild?: boolean;
8
+ dir?: TimelineDirection;
9
+ orientation?: TimelineOrientation;
10
+ variant?: TimelineVariant;
11
+ activeIndex?: number;
12
+ };
13
+ declare function Timeline({ orientation, variant, dir: dirProp, activeIndex, asChild, className, ...props }: TimelineProps): react_jsx_runtime.JSX.Element;
14
+
15
+ type TimelineDirection = Direction;
16
+ type TimelineOrientation = "vertical" | "horizontal";
17
+ type TimelineVariant = "default" | "alternate";
18
+ type TimelineStatus = "completed" | "active" | "pending";
19
+ type TimelineItemElement = HTMLDivElement;
20
+
21
+ type TimelineItemProps = React.ComponentProps<"div"> & {
22
+ asChild?: boolean;
23
+ };
24
+ declare function TimelineItem({ asChild, className, id, ref, ...props }: TimelineItemProps): react_jsx_runtime.JSX.Element;
25
+
26
+ type TimelineContentProps = React__default.ComponentProps<"div"> & {
27
+ asChild?: boolean;
28
+ };
29
+ declare function TimelineContent({ asChild, className, ...props }: TimelineContentProps): react_jsx_runtime.JSX.Element;
30
+
31
+ type TimelineDotProps = React.ComponentProps<"div"> & {
32
+ asChild?: boolean;
33
+ };
34
+ declare function TimelineDot({ asChild, className, ...props }: TimelineDotProps): react_jsx_runtime.JSX.Element;
35
+
36
+ type TimelineConnectorProps = React.ComponentProps<"div"> & {
37
+ asChild?: boolean;
38
+ forceMount?: boolean;
39
+ };
40
+ declare function TimelineConnector({ asChild, forceMount, className, ...props }: TimelineConnectorProps): react_jsx_runtime.JSX.Element | null;
41
+
42
+ type TimelineHeaderProps = React.ComponentProps<"div"> & {
43
+ asChild?: boolean;
44
+ };
45
+ declare function TimelineHeader({ asChild, className, ...props }: TimelineHeaderProps): react_jsx_runtime.JSX.Element;
46
+
47
+ type TimelineTitleProps = React.ComponentProps<"div"> & {
48
+ asChild?: boolean;
49
+ };
50
+ declare function TimelineTitle({ asChild, className, ...props }: TimelineTitleProps): react_jsx_runtime.JSX.Element;
51
+
52
+ type TimelineDescriptionProps = React.ComponentProps<"div"> & {
53
+ asChild?: boolean;
54
+ };
55
+ declare function TimelineDescription({ asChild, className, ...props }: TimelineDescriptionProps): react_jsx_runtime.JSX.Element;
56
+
57
+ type TimelineTimeProps = React.ComponentProps<"time"> & {
58
+ asChild?: boolean;
59
+ };
60
+ declare function TimelineTime({ asChild, className, ...props }: TimelineTimeProps): react_jsx_runtime.JSX.Element;
61
+
62
+ export { Timeline, TimelineConnector, type TimelineConnectorProps, TimelineContent, type TimelineContentProps, TimelineDescription, type TimelineDescriptionProps, type TimelineDirection, TimelineDot, type TimelineDotProps, TimelineHeader, type TimelineHeaderProps, TimelineItem, type TimelineItemElement, type TimelineItemProps, type TimelineOrientation, type TimelineProps, type TimelineStatus, TimelineTime, type TimelineTimeProps, TimelineTitle, type TimelineTitleProps, type TimelineVariant };
@@ -0,0 +1,3 @@
1
+ export { Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, TimelineHeader, TimelineItem, TimelineTime, TimelineTitle } from '../../chunk-YSYZKK24.js';
2
+ import '../../chunk-DFD2WUOU.js';
3
+ import '../../chunk-ZD2QRAOX.js';
@@ -1,28 +1,35 @@
1
1
  'use strict';
2
2
 
3
- var chunkXTNS5QH5_cjs = require('../../chunk-XTNS5QH5.cjs');
4
- require('../../chunk-GHV2TURY.cjs');
5
- require('../../chunk-3WSQRFUY.cjs');
3
+ var chunkEG374TED_cjs = require('../../chunk-EG374TED.cjs');
6
4
  require('../../chunk-NU5UQPBX.cjs');
5
+ require('../../chunk-D4QID7AI.cjs');
7
6
  require('../../chunk-A7SBXO2Y.cjs');
7
+ require('../../chunk-EUH466AL.cjs');
8
+ require('../../chunk-DGWBE2Y3.cjs');
9
+ require('../../chunk-UJX74PFK.cjs');
10
+ require('../../chunk-XJZOANXX.cjs');
11
+ require('../../chunk-GHV2TURY.cjs');
12
+ require('../../chunk-3WSQRFUY.cjs');
13
+ require('../../chunk-GYXQUTWZ.cjs');
14
+ require('../../chunk-YEFLGE3L.cjs');
15
+ require('../../chunk-DTYX7CYN.cjs');
8
16
  require('../../chunk-6X26XC6P.cjs');
9
17
  require('../../chunk-5AA4IE2T.cjs');
10
18
  require('../../chunk-CFJ44JVK.cjs');
19
+ require('../../chunk-UIOBJSKZ.cjs');
20
+ require('../../chunk-S3ANEJJ7.cjs');
21
+ require('../../chunk-2WQJ36RD.cjs');
11
22
  require('../../chunk-TH44JYXB.cjs');
12
23
  require('../../chunk-XENOUBSI.cjs');
13
- require('../../chunk-UJX74PFK.cjs');
14
- require('../../chunk-XJZOANXX.cjs');
15
24
  require('../../chunk-ZVF7J4EI.cjs');
16
25
  require('../../chunk-2Y2ZCPNV.cjs');
17
26
  require('../../chunk-HCHVDUI6.cjs');
18
27
  require('../../chunk-ULEEQ723.cjs');
28
+ require('../../chunk-TKZOB6C3.cjs');
19
29
  require('../../chunk-VK5EX3OG.cjs');
20
30
  require('../../chunk-CXHDWIGF.cjs');
21
- require('../../chunk-DTYX7CYN.cjs');
22
- require('../../chunk-UIOBJSKZ.cjs');
23
- require('../../chunk-S3ANEJJ7.cjs');
24
- require('../../chunk-EW6TE3N5.cjs');
25
31
  require('../../chunk-7EYMOUWG.cjs');
32
+ require('../../chunk-F7N6WQV6.cjs');
26
33
  require('../../chunk-3GNVQFCK.cjs');
27
34
  require('../../chunk-TMXVL5CV.cjs');
28
35
  require('../../chunk-I7AV5IQO.cjs');
@@ -32,9 +39,9 @@ require('../../chunk-H2BWO3SI.cjs');
32
39
 
33
40
  Object.defineProperty(exports, "Toaster", {
34
41
  enumerable: true,
35
- get: function () { return chunkXTNS5QH5_cjs.Toaster; }
42
+ get: function () { return chunkEG374TED_cjs.Toaster; }
36
43
  });
37
44
  Object.defineProperty(exports, "toast", {
38
45
  enumerable: true,
39
- get: function () { return chunkXTNS5QH5_cjs.toast; }
46
+ get: function () { return chunkEG374TED_cjs.toast; }
40
47
  });
@@ -1,26 +1,33 @@
1
- export { Toaster, toast } from '../../chunk-PHPJ54IC.js';
2
- import '../../chunk-DTSFPOLX.js';
3
- import '../../chunk-P5IUC7HJ.js';
1
+ export { Toaster, toast } from '../../chunk-JLKQ6WKK.js';
4
2
  import '../../chunk-OQCNPNPS.js';
3
+ import '../../chunk-YSYZKK24.js';
5
4
  import '../../chunk-U7XZJQ4O.js';
5
+ import '../../chunk-WMGJCB7O.js';
6
+ import '../../chunk-K5AURCK5.js';
7
+ import '../../chunk-M7NIRB3U.js';
8
+ import '../../chunk-E5TYGWGE.js';
9
+ import '../../chunk-DTSFPOLX.js';
10
+ import '../../chunk-P5IUC7HJ.js';
11
+ import '../../chunk-IWF52DDE.js';
12
+ import '../../chunk-OCOCENE6.js';
13
+ import '../../chunk-3MH6P44N.js';
6
14
  import '../../chunk-VT5GDGZJ.js';
7
15
  import '../../chunk-UGSNASZM.js';
8
16
  import '../../chunk-KGGCA634.js';
17
+ import '../../chunk-XJIUGEPN.js';
18
+ import '../../chunk-I3RSTJP6.js';
19
+ import '../../chunk-YUMKV5TH.js';
9
20
  import '../../chunk-PBEZZMAB.js';
10
21
  import '../../chunk-4TRADSTP.js';
11
- import '../../chunk-M7NIRB3U.js';
12
- import '../../chunk-E5TYGWGE.js';
13
22
  import '../../chunk-U3QKV7I4.js';
14
23
  import '../../chunk-6BSR3O2J.js';
15
24
  import '../../chunk-5F2Y65JH.js';
16
25
  import '../../chunk-3RK5PCIC.js';
26
+ import '../../chunk-YQ6J6VOI.js';
17
27
  import '../../chunk-BTSHACKG.js';
18
28
  import '../../chunk-HNRVLRMN.js';
19
- import '../../chunk-3MH6P44N.js';
20
- import '../../chunk-XJIUGEPN.js';
21
- import '../../chunk-I3RSTJP6.js';
22
- import '../../chunk-H5O5L6XT.js';
23
29
  import '../../chunk-DFD2WUOU.js';
30
+ import '../../chunk-R65CJGEQ.js';
24
31
  import '../../chunk-5MV54MWS.js';
25
32
  import '../../chunk-5MJPZUTO.js';
26
33
  import '../../chunk-NGVFYKAT.js';
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkEUH466AL_cjs = require('../../chunk-EUH466AL.cjs');
4
+ require('../../chunk-H2BWO3SI.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "TypingText", {
9
+ enumerable: true,
10
+ get: function () { return chunkEUH466AL_cjs.TypingText; }
11
+ });
@@ -0,0 +1,40 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { MotionProps, UseInViewOptions } from 'motion/react';
3
+
4
+ type TypingTextProps = Omit<MotionProps, "children"> & {
5
+ /** Text to animate */
6
+ text?: string;
7
+ /** Array of texts to cycle through */
8
+ texts?: string[];
9
+ /** Typing speed in milliseconds */
10
+ speed?: number;
11
+ /** Delay before starting animation */
12
+ delay?: number;
13
+ /** Whether to show cursor */
14
+ showCursor?: boolean;
15
+ /** Cursor character */
16
+ cursor?: string;
17
+ /** Cursor className */
18
+ cursorClassName?: string;
19
+ /** Whether to loop through texts */
20
+ loop?: boolean;
21
+ /** Pause duration between loops */
22
+ pauseDuration?: number;
23
+ /** Custom className */
24
+ className?: string;
25
+ /** Callback when typing completes */
26
+ onComplete?: () => void;
27
+ /** Whether to start animation when component enters viewport */
28
+ startOnView?: boolean;
29
+ /** Whether to animate only once */
30
+ once?: boolean;
31
+ /** The animation preset to use */
32
+ animation?: TypingTextAnimationVariant;
33
+ /** Margin for in-view detection (rootMargin) */
34
+ inViewMargin?: UseInViewOptions["margin"];
35
+ };
36
+ declare function TypingText({ text, texts, speed, delay, showCursor, cursorClassName, cursor, loop, pauseDuration, className, onComplete, startOnView, once, animation, inViewMargin, ...props }: TypingTextProps): react_jsx_runtime.JSX.Element;
37
+
38
+ type TypingTextAnimationVariant = "fadeIn" | "blurIn" | "blurInUp" | "blurInDown" | "slideUp" | "slideDown" | "slideLeft" | "slideRight" | "scaleUp" | "scaleDown";
39
+
40
+ export { TypingText, type TypingTextAnimationVariant, type TypingTextProps };
@@ -0,0 +1,40 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { MotionProps, UseInViewOptions } from 'motion/react';
3
+
4
+ type TypingTextProps = Omit<MotionProps, "children"> & {
5
+ /** Text to animate */
6
+ text?: string;
7
+ /** Array of texts to cycle through */
8
+ texts?: string[];
9
+ /** Typing speed in milliseconds */
10
+ speed?: number;
11
+ /** Delay before starting animation */
12
+ delay?: number;
13
+ /** Whether to show cursor */
14
+ showCursor?: boolean;
15
+ /** Cursor character */
16
+ cursor?: string;
17
+ /** Cursor className */
18
+ cursorClassName?: string;
19
+ /** Whether to loop through texts */
20
+ loop?: boolean;
21
+ /** Pause duration between loops */
22
+ pauseDuration?: number;
23
+ /** Custom className */
24
+ className?: string;
25
+ /** Callback when typing completes */
26
+ onComplete?: () => void;
27
+ /** Whether to start animation when component enters viewport */
28
+ startOnView?: boolean;
29
+ /** Whether to animate only once */
30
+ once?: boolean;
31
+ /** The animation preset to use */
32
+ animation?: TypingTextAnimationVariant;
33
+ /** Margin for in-view detection (rootMargin) */
34
+ inViewMargin?: UseInViewOptions["margin"];
35
+ };
36
+ declare function TypingText({ text, texts, speed, delay, showCursor, cursorClassName, cursor, loop, pauseDuration, className, onComplete, startOnView, once, animation, inViewMargin, ...props }: TypingTextProps): react_jsx_runtime.JSX.Element;
37
+
38
+ type TypingTextAnimationVariant = "fadeIn" | "blurIn" | "blurInUp" | "blurInDown" | "slideUp" | "slideDown" | "slideLeft" | "slideRight" | "scaleUp" | "scaleDown";
39
+
40
+ export { TypingText, type TypingTextAnimationVariant, type TypingTextProps };
@@ -0,0 +1,2 @@
1
+ export { TypingText } from '../../chunk-WMGJCB7O.js';
2
+ import '../../chunk-ZD2QRAOX.js';
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkDGWBE2Y3_cjs = require('../../chunk-DGWBE2Y3.cjs');
4
+ require('../../chunk-H2BWO3SI.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "WordRotate", {
9
+ enumerable: true,
10
+ get: function () { return chunkDGWBE2Y3_cjs.WordRotate; }
11
+ });
@@ -0,0 +1,29 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { MotionProps, UseInViewOptions } from 'motion/react';
3
+
4
+ type WordRotateProps = Omit<MotionProps, "children"> & {
5
+ words: string[];
6
+ /** Duration in ms each word is visible */
7
+ duration?: number;
8
+ /** Animation style for word transitions */
9
+ animationStyle?: WordRotateAnimationStyle;
10
+ /** Whether to loop through words */
11
+ loop?: boolean;
12
+ /** Duration in ms between word transitions */
13
+ pauseDuration?: number;
14
+ /** Custom className for the word */
15
+ className?: string;
16
+ /** Custom className for the container */
17
+ containerClassName?: string;
18
+ /** Whether to start animation when component enters viewport */
19
+ startOnView?: boolean;
20
+ /** Whether to animate only once */
21
+ once?: boolean;
22
+ /** Margin for in-view detection (rootMargin) */
23
+ inViewMargin?: UseInViewOptions["margin"];
24
+ };
25
+ declare function WordRotate({ words, duration, animationStyle, loop, className, containerClassName, pauseDuration, startOnView, once, inViewMargin, ...props }: WordRotateProps): react_jsx_runtime.JSX.Element;
26
+
27
+ type WordRotateAnimationStyle = "fade" | "slide-up" | "slide-down" | "scale" | "flip";
28
+
29
+ export { WordRotate, type WordRotateAnimationStyle, type WordRotateProps };
@@ -0,0 +1,29 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { MotionProps, UseInViewOptions } from 'motion/react';
3
+
4
+ type WordRotateProps = Omit<MotionProps, "children"> & {
5
+ words: string[];
6
+ /** Duration in ms each word is visible */
7
+ duration?: number;
8
+ /** Animation style for word transitions */
9
+ animationStyle?: WordRotateAnimationStyle;
10
+ /** Whether to loop through words */
11
+ loop?: boolean;
12
+ /** Duration in ms between word transitions */
13
+ pauseDuration?: number;
14
+ /** Custom className for the word */
15
+ className?: string;
16
+ /** Custom className for the container */
17
+ containerClassName?: string;
18
+ /** Whether to start animation when component enters viewport */
19
+ startOnView?: boolean;
20
+ /** Whether to animate only once */
21
+ once?: boolean;
22
+ /** Margin for in-view detection (rootMargin) */
23
+ inViewMargin?: UseInViewOptions["margin"];
24
+ };
25
+ declare function WordRotate({ words, duration, animationStyle, loop, className, containerClassName, pauseDuration, startOnView, once, inViewMargin, ...props }: WordRotateProps): react_jsx_runtime.JSX.Element;
26
+
27
+ type WordRotateAnimationStyle = "fade" | "slide-up" | "slide-down" | "scale" | "flip";
28
+
29
+ export { WordRotate, type WordRotateAnimationStyle, type WordRotateProps };
@@ -0,0 +1,2 @@
1
+ export { WordRotate } from '../../chunk-K5AURCK5.js';
2
+ import '../../chunk-ZD2QRAOX.js';
@@ -0,0 +1,7 @@
1
+ declare const Direction: {
2
+ readonly LTR: "ltr";
3
+ readonly RTL: "rtl";
4
+ };
5
+ type Direction = (typeof Direction)[keyof typeof Direction];
6
+
7
+ export { Direction as D };
@@ -0,0 +1,7 @@
1
+ declare const Direction: {
2
+ readonly LTR: "ltr";
3
+ readonly RTL: "rtl";
4
+ };
5
+ type Direction = (typeof Direction)[keyof typeof Direction];
6
+
7
+ export { Direction as D };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@szum-tech/design-system",
3
- "version": "3.9.0",
3
+ "version": "3.10.0",
4
4
  "description": "Szum-Tech design system with tailwindcss support",
5
5
  "keywords": [
6
6
  "szum-tech",
@@ -78,16 +78,6 @@
78
78
  "require": "./dist/hooks/index.cjs"
79
79
  }
80
80
  },
81
- "./contexts": {
82
- "import": {
83
- "types": "./dist/contexts/index.d.ts",
84
- "import": "./dist/contexts/index.js"
85
- },
86
- "require": {
87
- "types": "./dist/contexts/index.d.cts",
88
- "require": "./dist/contexts/index.cjs"
89
- }
90
- },
91
81
  "./tailwind/*.css": "./tailwind/*.css",
92
82
  "./package.json": "./package.json"
93
83
  },
@@ -123,53 +113,54 @@
123
113
  "class-variance-authority": "^0.7.1",
124
114
  "clsx": "^2.1.1",
125
115
  "lucide-react": "^0.562.0",
116
+ "motion": "^12.27.1",
126
117
  "radix-ui": "^1.4.3",
127
118
  "sonner": "^2.0.7",
128
- "tailwind-merge": "^3.3.1",
119
+ "tailwind-merge": "^3.4.0",
129
120
  "tailwindcss-animate": "^1.0.7"
130
121
  },
131
122
  "devDependencies": {
132
- "@storybook-community/storybook-dark-mode": "^7.0.3",
133
- "@storybook/addon-a11y": "^10.1.4",
134
- "@storybook/addon-docs": "^10.1.4",
135
- "@storybook/addon-vitest": "^10.1.4",
136
- "@storybook/builder-vite": "^10.1.4",
137
- "@storybook/react-vite": "^10.1.4",
123
+ "@storybook-community/storybook-dark-mode": "^7.1.0",
124
+ "@storybook/addon-a11y": "^10.1.11",
125
+ "@storybook/addon-docs": "^10.1.11",
126
+ "@storybook/addon-vitest": "^10.1.11",
127
+ "@storybook/builder-vite": "^10.1.11",
128
+ "@storybook/react-vite": "^10.1.11",
138
129
  "@szum-tech/eslint-config": "^2.1.15",
139
- "@szum-tech/prettier-config": "^1.6.2",
140
- "@szum-tech/semantic-release-config": "^2.3.1",
141
- "@tailwindcss/vite": "^4.1.11",
130
+ "@szum-tech/prettier-config": "^1.6.5",
131
+ "@szum-tech/semantic-release-config": "^2.3.7",
132
+ "@tailwindcss/vite": "^4.1.18",
142
133
  "@testing-library/dom": "^10.4.1",
143
- "@testing-library/jest-dom": "^6.6.4",
144
- "@testing-library/react": "^16.3.0",
134
+ "@testing-library/jest-dom": "^6.9.1",
135
+ "@testing-library/react": "^16.3.2",
145
136
  "@testing-library/user-event": "^14.6.1",
146
- "@types/node": "^25.0.3",
147
- "@types/react": "^19.2.7",
137
+ "@types/node": "^25.0.9",
138
+ "@types/react": "^19.2.8",
148
139
  "@types/react-dom": "^19.2.3",
149
- "@vitejs/plugin-react": "^5.1.1",
150
- "@vitest/browser": "^4.0.13",
151
- "@vitest/browser-playwright": "^4.0.15",
152
- "@vitest/coverage-v8": "^4.0.15",
153
- "@vitest/ui": "^4.0.15",
140
+ "@vitejs/plugin-react": "^5.1.2",
141
+ "@vitest/browser": "^4.0.17",
142
+ "@vitest/browser-playwright": "^4.0.17",
143
+ "@vitest/coverage-v8": "^4.0.17",
144
+ "@vitest/ui": "^4.0.17",
154
145
  "cpy-cli": "^6.0.0",
155
- "eslint": "^9.39.1",
156
- "happy-dom": "^20.1.0",
157
- "playwright": "^1.56.1",
158
- "prettier": "^3.7.4",
159
- "react": "^19.2.1",
160
- "react-docgen": "^8.0.0",
146
+ "eslint": "^9.39.2",
147
+ "happy-dom": "^20.3.3",
148
+ "playwright": "^1.57.0",
149
+ "prettier": "^3.8.0",
150
+ "react": "^19.2.3",
151
+ "react-docgen": "^8.0.2",
161
152
  "react-docgen-typescript": "^2.4.0",
162
- "react-dom": "^19.2.1",
153
+ "react-dom": "^19.2.3",
163
154
  "semantic-release": "^25.0.2",
164
- "serve": "^14.2.4",
165
- "storybook": "^10.1.4",
166
- "storybook-addon-tag-badges": "^3.0.2",
167
- "tailwindcss": "^4.1.11",
155
+ "serve": "^14.2.5",
156
+ "storybook": "^10.1.11",
157
+ "storybook-addon-tag-badges": "^3.0.4",
158
+ "tailwindcss": "^4.1.18",
168
159
  "tsup": "^8.5.1",
169
160
  "typescript": "^5.9.3",
170
- "vite": "^7.2.4",
171
- "vite-tsconfig-paths": "^6.0.3",
172
- "vitest": "^4.0.15"
161
+ "vite": "^7.3.1",
162
+ "vite-tsconfig-paths": "^6.0.4",
163
+ "vitest": "^4.0.17"
173
164
  },
174
165
  "peerDependencies": {
175
166
  "react": ">=19",
@@ -1,6 +1,6 @@
1
1
  @import "tailwindcss";
2
2
 
3
- @theme {
3
+ @theme inline {
4
4
  /* Components */
5
5
  /* Tooltip */
6
6
  --animate-slideDownAndFade: slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
@@ -50,4 +50,26 @@
50
50
  transform: translateX(0);
51
51
  }
52
52
  }
53
+
54
+ /* Marquee */
55
+ --animate-marquee: marquee var(--duration) infinite linear;
56
+ --animate-marquee-vertical: marquee-vertical var(--duration) linear infinite;
57
+
58
+ @keyframes marquee {
59
+ from {
60
+ transform: translateX(0);
61
+ }
62
+ to {
63
+ transform: translateX(calc(-100% - var(--gap)));
64
+ }
65
+ }
66
+
67
+ @keyframes marquee-vertical {
68
+ from {
69
+ transform: translateY(0);
70
+ }
71
+ to {
72
+ transform: translateY(calc(-100% - var(--gap)));
73
+ }
74
+ }
53
75
  }
@@ -6,7 +6,7 @@
6
6
  --background: oklch(1 0 0);
7
7
  --foreground: oklch(0.145 0 0);
8
8
 
9
- --primary: var(--color-blue-700);
9
+ --primary: var(--color-blue-600);
10
10
  --primary-foreground: var(--color-blue-50);
11
11
 
12
12
  --secondary: oklch(0.97 0 0);
@@ -59,7 +59,7 @@
59
59
  --background: oklch(0.145 0 0);
60
60
  --foreground: oklch(0.985 0 0);
61
61
 
62
- --primary: var(--color-blue-700);
62
+ --primary: var(--color-blue-600);
63
63
  --primary-foreground: var(--color-blue-50);
64
64
 
65
65
  --secondary: oklch(0.269 0 0);