@szum-tech/design-system 3.9.0 → 3.10.1
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-2WQJ36RD.cjs +78 -0
- package/dist/chunk-D4QID7AI.cjs +607 -0
- package/dist/chunk-DGWBE2Y3.cjs +205 -0
- package/dist/{chunk-XTNS5QH5.cjs → chunk-EG374TED.cjs} +52 -86
- package/dist/chunk-EUH466AL.cjs +179 -0
- package/dist/chunk-F7N6WQV6.cjs +53 -0
- package/dist/chunk-GYXQUTWZ.cjs +59 -0
- package/dist/chunk-IWF52DDE.js +55 -0
- package/dist/{chunk-PHPJ54IC.js → chunk-JLKQ6WKK.js} +48 -82
- package/dist/chunk-K5AURCK5.js +183 -0
- package/dist/chunk-OCOCENE6.js +42 -0
- package/dist/chunk-P4JIMFSL.js +51 -0
- package/dist/chunk-R65CJGEQ.js +48 -0
- package/dist/chunk-USIW3VT5.cjs +73 -0
- package/dist/chunk-WMGJCB7O.js +157 -0
- package/dist/chunk-YEFLGE3L.cjs +47 -0
- package/dist/chunk-YSYZKK24.js +575 -0
- package/dist/chunk-YUMKV5TH.js +56 -0
- package/dist/components/accordion/index.cjs +23 -0
- package/dist/components/accordion/index.d.cts +17 -0
- package/dist/components/accordion/index.d.ts +17 -0
- package/dist/components/accordion/index.js +2 -0
- package/dist/components/button/index.cjs +14 -7
- package/dist/components/button/index.js +13 -6
- package/dist/components/counting-number/index.cjs +11 -0
- package/dist/components/counting-number/index.d.cts +57 -0
- package/dist/components/counting-number/index.d.ts +57 -0
- package/dist/components/counting-number/index.js +2 -0
- package/dist/components/index.cjs +209 -106
- package/dist/components/index.d.cts +11 -2
- package/dist/components/index.d.ts +11 -2
- package/dist/components/index.js +13 -6
- package/dist/components/marquee/index.cjs +11 -0
- package/dist/components/marquee/index.d.cts +48 -0
- package/dist/components/marquee/index.d.ts +48 -0
- package/dist/components/marquee/index.js +2 -0
- package/dist/components/status/index.cjs +19 -0
- package/dist/components/status/index.d.cts +25 -0
- package/dist/components/status/index.d.ts +25 -0
- package/dist/components/status/index.js +2 -0
- package/dist/components/stepper/index.cjs +32 -25
- package/dist/components/stepper/index.d.cts +5 -4
- package/dist/components/stepper/index.d.ts +5 -4
- package/dist/components/stepper/index.js +13 -6
- package/dist/components/tabs/index.cjs +23 -0
- package/dist/components/tabs/index.d.cts +17 -0
- package/dist/components/tabs/index.d.ts +17 -0
- package/dist/components/tabs/index.js +2 -0
- package/dist/components/timeline/index.cjs +44 -0
- package/dist/components/timeline/index.d.cts +62 -0
- package/dist/components/timeline/index.d.ts +62 -0
- package/dist/components/timeline/index.js +3 -0
- package/dist/components/toaster/index.cjs +15 -8
- package/dist/components/toaster/index.js +13 -6
- package/dist/components/typing-text/index.cjs +11 -0
- package/dist/components/typing-text/index.d.cts +40 -0
- package/dist/components/typing-text/index.d.ts +40 -0
- package/dist/components/typing-text/index.js +2 -0
- package/dist/components/word-rotate/index.cjs +11 -0
- package/dist/components/word-rotate/index.d.cts +29 -0
- package/dist/components/word-rotate/index.d.ts +29 -0
- package/dist/components/word-rotate/index.js +2 -0
- package/dist/direction-CUOPDLCj.d.cts +7 -0
- package/dist/direction-CUOPDLCj.d.ts +7 -0
- package/package.json +35 -44
- package/tailwind/animation.css +23 -1
- package/tailwind/palette.css +2 -2
- package/dist/chunk-EW6TE3N5.cjs +0 -38
- package/dist/chunk-H5O5L6XT.js +0 -14
- package/dist/contexts/index.cjs +0 -18
- package/dist/contexts/index.d.cts +0 -11
- package/dist/contexts/index.d.ts +0 -11
- package/dist/contexts/index.js +0 -1
|
@@ -1,36 +1,43 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEG374TED_cjs = require('../../chunk-EG374TED.cjs');
|
|
4
|
+
require('../../chunk-D4QID7AI.cjs');
|
|
5
|
+
require('../../chunk-A7SBXO2Y.cjs');
|
|
6
|
+
require('../../chunk-EUH466AL.cjs');
|
|
7
|
+
require('../../chunk-DGWBE2Y3.cjs');
|
|
8
|
+
require('../../chunk-TMXVL5CV.cjs');
|
|
9
|
+
require('../../chunk-XJZOANXX.cjs');
|
|
4
10
|
require('../../chunk-GHV2TURY.cjs');
|
|
5
11
|
require('../../chunk-3WSQRFUY.cjs');
|
|
12
|
+
require('../../chunk-GYXQUTWZ.cjs');
|
|
13
|
+
require('../../chunk-YEFLGE3L.cjs');
|
|
6
14
|
require('../../chunk-NU5UQPBX.cjs');
|
|
7
|
-
require('../../chunk-A7SBXO2Y.cjs');
|
|
8
15
|
require('../../chunk-6X26XC6P.cjs');
|
|
9
16
|
require('../../chunk-5AA4IE2T.cjs');
|
|
10
17
|
require('../../chunk-CFJ44JVK.cjs');
|
|
18
|
+
require('../../chunk-2WQJ36RD.cjs');
|
|
11
19
|
require('../../chunk-TH44JYXB.cjs');
|
|
12
20
|
require('../../chunk-XENOUBSI.cjs');
|
|
13
21
|
require('../../chunk-UJX74PFK.cjs');
|
|
14
|
-
require('../../chunk-XJZOANXX.cjs');
|
|
15
|
-
require('../../chunk-ZVF7J4EI.cjs');
|
|
16
22
|
require('../../chunk-2Y2ZCPNV.cjs');
|
|
17
23
|
require('../../chunk-HCHVDUI6.cjs');
|
|
18
24
|
require('../../chunk-ULEEQ723.cjs');
|
|
25
|
+
require('../../chunk-USIW3VT5.cjs');
|
|
19
26
|
require('../../chunk-VK5EX3OG.cjs');
|
|
20
27
|
require('../../chunk-CXHDWIGF.cjs');
|
|
21
28
|
require('../../chunk-DTYX7CYN.cjs');
|
|
22
29
|
require('../../chunk-UIOBJSKZ.cjs');
|
|
23
30
|
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
|
-
require('../../chunk-TMXVL5CV.cjs');
|
|
28
34
|
require('../../chunk-I7AV5IQO.cjs');
|
|
35
|
+
require('../../chunk-ZVF7J4EI.cjs');
|
|
29
36
|
require('../../chunk-H2BWO3SI.cjs');
|
|
30
37
|
|
|
31
38
|
|
|
32
39
|
|
|
33
40
|
Object.defineProperty(exports, "Button", {
|
|
34
41
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkEG374TED_cjs.Button; }
|
|
36
43
|
});
|
|
@@ -1,27 +1,34 @@
|
|
|
1
|
-
export { Button } from '../../chunk-
|
|
1
|
+
export { Button } from '../../chunk-JLKQ6WKK.js';
|
|
2
|
+
import '../../chunk-YSYZKK24.js';
|
|
3
|
+
import '../../chunk-U7XZJQ4O.js';
|
|
4
|
+
import '../../chunk-WMGJCB7O.js';
|
|
5
|
+
import '../../chunk-K5AURCK5.js';
|
|
6
|
+
import '../../chunk-5MJPZUTO.js';
|
|
7
|
+
import '../../chunk-E5TYGWGE.js';
|
|
2
8
|
import '../../chunk-DTSFPOLX.js';
|
|
3
9
|
import '../../chunk-P5IUC7HJ.js';
|
|
10
|
+
import '../../chunk-IWF52DDE.js';
|
|
11
|
+
import '../../chunk-OCOCENE6.js';
|
|
4
12
|
import '../../chunk-OQCNPNPS.js';
|
|
5
|
-
import '../../chunk-U7XZJQ4O.js';
|
|
6
13
|
import '../../chunk-VT5GDGZJ.js';
|
|
7
14
|
import '../../chunk-UGSNASZM.js';
|
|
8
15
|
import '../../chunk-KGGCA634.js';
|
|
16
|
+
import '../../chunk-YUMKV5TH.js';
|
|
9
17
|
import '../../chunk-PBEZZMAB.js';
|
|
10
18
|
import '../../chunk-4TRADSTP.js';
|
|
11
19
|
import '../../chunk-M7NIRB3U.js';
|
|
12
|
-
import '../../chunk-E5TYGWGE.js';
|
|
13
|
-
import '../../chunk-U3QKV7I4.js';
|
|
14
20
|
import '../../chunk-6BSR3O2J.js';
|
|
15
21
|
import '../../chunk-5F2Y65JH.js';
|
|
16
22
|
import '../../chunk-3RK5PCIC.js';
|
|
23
|
+
import '../../chunk-P4JIMFSL.js';
|
|
17
24
|
import '../../chunk-BTSHACKG.js';
|
|
18
25
|
import '../../chunk-HNRVLRMN.js';
|
|
19
26
|
import '../../chunk-3MH6P44N.js';
|
|
20
27
|
import '../../chunk-XJIUGEPN.js';
|
|
21
28
|
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
|
-
import '../../chunk-5MJPZUTO.js';
|
|
26
32
|
import '../../chunk-NGVFYKAT.js';
|
|
33
|
+
import '../../chunk-U3QKV7I4.js';
|
|
27
34
|
import '../../chunk-ZD2QRAOX.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkUSIW3VT5_cjs = require('../../chunk-USIW3VT5.cjs');
|
|
4
|
+
require('../../chunk-H2BWO3SI.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "CountingNumber", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkUSIW3VT5_cjs.CountingNumber; }
|
|
11
|
+
});
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { UseInViewOptions } from 'motion/react';
|
|
3
|
+
|
|
4
|
+
type CountingNumberProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Starting number for the animation
|
|
7
|
+
* @default 0
|
|
8
|
+
*/
|
|
9
|
+
from?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Target number to animate to
|
|
12
|
+
* @default 100
|
|
13
|
+
*/
|
|
14
|
+
to?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Animation duration in seconds
|
|
17
|
+
* @default 2
|
|
18
|
+
*/
|
|
19
|
+
duration?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Delay before starting animation in milliseconds
|
|
22
|
+
* @default 0
|
|
23
|
+
*/
|
|
24
|
+
delay?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Custom className for styling
|
|
27
|
+
*/
|
|
28
|
+
className?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Whether to start animation when component enters viewport
|
|
31
|
+
* @default true
|
|
32
|
+
*/
|
|
33
|
+
startOnView?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to animate only once when entering viewport
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
once?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Margin for in-view detection (rootMargin)
|
|
41
|
+
*/
|
|
42
|
+
inViewMargin?: UseInViewOptions["margin"];
|
|
43
|
+
/**
|
|
44
|
+
* Callback fired when animation completes
|
|
45
|
+
*/
|
|
46
|
+
onComplete?: () => void;
|
|
47
|
+
/**
|
|
48
|
+
* Custom formatter function for the displayed value.
|
|
49
|
+
* If not provided, the value is rounded to the nearest integer.
|
|
50
|
+
* @example (value) => value.toFixed(2)
|
|
51
|
+
* @example (value) => `$${value.toLocaleString()}`
|
|
52
|
+
*/
|
|
53
|
+
format?: (value: number) => string;
|
|
54
|
+
};
|
|
55
|
+
declare function CountingNumber({ from, to, duration, delay, className, startOnView, once, inViewMargin, onComplete, format, ...props }: CountingNumberProps): react_jsx_runtime.JSX.Element;
|
|
56
|
+
|
|
57
|
+
export { CountingNumber, type CountingNumberProps };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { UseInViewOptions } from 'motion/react';
|
|
3
|
+
|
|
4
|
+
type CountingNumberProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Starting number for the animation
|
|
7
|
+
* @default 0
|
|
8
|
+
*/
|
|
9
|
+
from?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Target number to animate to
|
|
12
|
+
* @default 100
|
|
13
|
+
*/
|
|
14
|
+
to?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Animation duration in seconds
|
|
17
|
+
* @default 2
|
|
18
|
+
*/
|
|
19
|
+
duration?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Delay before starting animation in milliseconds
|
|
22
|
+
* @default 0
|
|
23
|
+
*/
|
|
24
|
+
delay?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Custom className for styling
|
|
27
|
+
*/
|
|
28
|
+
className?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Whether to start animation when component enters viewport
|
|
31
|
+
* @default true
|
|
32
|
+
*/
|
|
33
|
+
startOnView?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to animate only once when entering viewport
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
once?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Margin for in-view detection (rootMargin)
|
|
41
|
+
*/
|
|
42
|
+
inViewMargin?: UseInViewOptions["margin"];
|
|
43
|
+
/**
|
|
44
|
+
* Callback fired when animation completes
|
|
45
|
+
*/
|
|
46
|
+
onComplete?: () => void;
|
|
47
|
+
/**
|
|
48
|
+
* Custom formatter function for the displayed value.
|
|
49
|
+
* If not provided, the value is rounded to the nearest integer.
|
|
50
|
+
* @example (value) => value.toFixed(2)
|
|
51
|
+
* @example (value) => `$${value.toLocaleString()}`
|
|
52
|
+
*/
|
|
53
|
+
format?: (value: number) => string;
|
|
54
|
+
};
|
|
55
|
+
declare function CountingNumber({ from, to, duration, delay, className, startOnView, once, inViewMargin, onComplete, format, ...props }: CountingNumberProps): react_jsx_runtime.JSX.Element;
|
|
56
|
+
|
|
57
|
+
export { CountingNumber, type CountingNumberProps };
|