@szum-tech/design-system 1.11.2 → 1.12.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.
- package/{Avatar-d6a17567.d.ts → Avatar-c6a2f50d.d.ts} +1 -1
- package/{Button-d3c2777e.d.ts → Button-ae5be036.d.ts} +1 -1
- package/Input-41362e55.d.ts +12 -0
- package/Textarea-7d32840f.d.ts +10 -0
- package/{Tooltip.provider-90345769.d.ts → Tooltip.provider-6de64d8b.d.ts} +1 -1
- package/{chunk-M6LWZWJB.js → chunk-3PIF22YM.js} +3 -2
- package/chunk-ACJI7SSR.mjs +7 -0
- package/chunk-BEZVY5QD.mjs +7 -0
- package/chunk-CBGYIR3X.mjs +36 -0
- package/chunk-D2YRORSD.mjs +3 -0
- package/chunk-DKDLYQOD.js +7 -0
- package/chunk-FA4FHRKJ.js +13 -0
- package/{chunk-MM2WP564.mjs → chunk-GETS73RC.mjs} +3 -2
- package/chunk-HDAV3F3Q.js +52 -0
- package/chunk-IGEGU67W.mjs +7 -0
- package/chunk-IN4WKCCQ.js +29 -0
- package/{chunk-2FD4IU55.mjs → chunk-KEPEPMEM.mjs} +3 -2
- package/{chunk-VJH5FTSI.mjs → chunk-LBRQSDEO.mjs} +3 -3
- package/{chunk-SW65ATAP.js → chunk-MGX5N7ZU.js} +3 -3
- package/chunk-PJRIZNPB.mjs +7 -0
- package/{chunk-JRSQX3DZ.js → chunk-V3HUNIZN.js} +4 -3
- package/chunk-YEKURALR.js +29 -0
- package/chunk-ZHWHVYOY.js +14 -0
- package/components/{Avatar → avatar}/index.d.ts +1 -1
- package/components/avatar/index.js +11 -0
- package/components/avatar/index.mjs +2 -0
- package/components/button/index.d.ts +5 -0
- package/components/button/index.js +12 -0
- package/components/button/index.mjs +3 -0
- package/components/index.d.ts +5 -4
- package/components/index.js +17 -11
- package/components/index.mjs +8 -6
- package/components/input/index.d.ts +3 -0
- package/components/input/index.js +11 -0
- package/components/input/index.mjs +2 -0
- package/components/textarea/index.d.ts +3 -0
- package/components/textarea/index.js +11 -0
- package/components/textarea/index.mjs +2 -0
- package/components/tooltip/index.d.ts +4 -0
- package/components/tooltip/index.js +15 -0
- package/components/tooltip/index.mjs +2 -0
- package/contexts/index.js +4 -3
- package/contexts/index.mjs +2 -1
- package/contexts/theme/index.js +4 -3
- package/contexts/theme/index.mjs +2 -1
- package/hooks/index.js +4 -3
- package/hooks/index.mjs +3 -2
- package/hooks/useTheme/index.js +4 -3
- package/hooks/useTheme/index.mjs +3 -2
- package/icons/index.d.ts +3 -5
- package/icons/index.js +26 -13
- package/icons/index.mjs +2 -1
- package/index.d.ts +5 -4
- package/index.js +25 -19
- package/index.mjs +10 -8
- package/package.json +8 -7
- package/theme/main-preset.js +3 -0
- package/Input.component-887e7975.d.ts +0 -12
- package/chunk-2OZE575J.js +0 -49
- package/chunk-5SE7P5YG.mjs +0 -6
- package/chunk-6UCEUWKV.js +0 -29
- package/chunk-CRJI67D5.mjs +0 -6
- package/chunk-OACRI5I5.mjs +0 -6
- package/chunk-S5MGYCU6.mjs +0 -7
- package/chunk-UJM6RAIA.js +0 -12
- package/chunk-X2QIG2W5.js +0 -13
- package/components/Avatar/index.js +0 -7
- package/components/Avatar/index.mjs +0 -1
- package/components/Button/index.d.ts +0 -5
- package/components/Button/index.js +0 -8
- package/components/Button/index.mjs +0 -2
- package/components/Input/index.d.ts +0 -3
- package/components/Input/index.js +0 -7
- package/components/Input/index.mjs +0 -1
- package/components/Tooltip/index.d.ts +0 -4
- package/components/Tooltip/index.js +0 -16
- package/components/Tooltip/index.mjs +0 -1
- /package/{chunk-BGWTSJD7.mjs → chunk-76WB4BRP.mjs} +0 -0
- /package/{chunk-RNAYKFZ2.js → chunk-PJ2GPHOZ.js} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkMGX5N7ZU_js = require('../../chunk-MGX5N7ZU.js');
|
|
4
|
+
require('../../chunk-HDAV3F3Q.js');
|
|
5
|
+
require('../../chunk-DKDLYQOD.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, 'Button', {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkMGX5N7ZU_js.a; }
|
|
12
|
+
});
|
package/components/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
1
|
+
export { a as Avatar, A as AvatarProps, b as AvatarSizeType } from '../Avatar-c6a2f50d.js';
|
|
2
|
+
export { a as Button, d as ButtonColorType, B as ButtonProps, b as ButtonSizeType, c as ButtonVariantType } from '../Button-ae5be036.js';
|
|
3
|
+
export { a as Input, I as InputProps } from '../Input-41362e55.js';
|
|
4
|
+
export { a as Tooltip, T as TooltipProps, c as TooltipProvider, b as TooltipProviderProps } from '../Tooltip.provider-6de64d8b.js';
|
|
5
|
+
export { a as Textarea, T as TextareaProps } from '../Textarea-7d32840f.js';
|
|
5
6
|
import 'react/jsx-runtime';
|
|
6
7
|
import 'react';
|
|
7
8
|
import 'class-variance-authority';
|
package/components/index.js
CHANGED
|
@@ -1,31 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../chunk-
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
7
|
-
var
|
|
8
|
-
var
|
|
3
|
+
require('../chunk-PJ2GPHOZ.js');
|
|
4
|
+
var chunk3PIF22YM_js = require('../chunk-3PIF22YM.js');
|
|
5
|
+
var chunkMGX5N7ZU_js = require('../chunk-MGX5N7ZU.js');
|
|
6
|
+
require('../chunk-HDAV3F3Q.js');
|
|
7
|
+
var chunkYEKURALR_js = require('../chunk-YEKURALR.js');
|
|
8
|
+
var chunkIN4WKCCQ_js = require('../chunk-IN4WKCCQ.js');
|
|
9
|
+
var chunkV3HUNIZN_js = require('../chunk-V3HUNIZN.js');
|
|
10
|
+
require('../chunk-DKDLYQOD.js');
|
|
9
11
|
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
Object.defineProperty(exports, 'Avatar', {
|
|
13
15
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk3PIF22YM_js.a; }
|
|
15
17
|
});
|
|
16
18
|
Object.defineProperty(exports, 'Button', {
|
|
17
19
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkMGX5N7ZU_js.a; }
|
|
19
21
|
});
|
|
20
22
|
Object.defineProperty(exports, 'Input', {
|
|
21
23
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkYEKURALR_js.a; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, 'Textarea', {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkIN4WKCCQ_js.a; }
|
|
23
29
|
});
|
|
24
30
|
Object.defineProperty(exports, 'Tooltip', {
|
|
25
31
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkV3HUNIZN_js.a; }
|
|
27
33
|
});
|
|
28
34
|
Object.defineProperty(exports, 'TooltipProvider', {
|
|
29
35
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkV3HUNIZN_js.b; }
|
|
31
37
|
});
|
package/components/index.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import '../chunk-
|
|
2
|
-
export { a as Avatar } from '../chunk-
|
|
3
|
-
export { a as Button } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
export { a as Input } from '../chunk-
|
|
6
|
-
export { a as
|
|
1
|
+
import '../chunk-76WB4BRP.mjs';
|
|
2
|
+
export { a as Avatar } from '../chunk-GETS73RC.mjs';
|
|
3
|
+
export { a as Button } from '../chunk-LBRQSDEO.mjs';
|
|
4
|
+
import '../chunk-CBGYIR3X.mjs';
|
|
5
|
+
export { a as Input } from '../chunk-PJRIZNPB.mjs';
|
|
6
|
+
export { a as Textarea } from '../chunk-ACJI7SSR.mjs';
|
|
7
|
+
export { a as Tooltip, b as TooltipProvider } from '../chunk-KEPEPMEM.mjs';
|
|
8
|
+
import '../chunk-D2YRORSD.mjs';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkV3HUNIZN_js = require('../../chunk-V3HUNIZN.js');
|
|
4
|
+
require('../../chunk-DKDLYQOD.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, 'Tooltip', {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkV3HUNIZN_js.a; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, 'TooltipProvider', {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkV3HUNIZN_js.b; }
|
|
15
|
+
});
|
package/contexts/index.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-JQ4UTWMH.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkZHWHVYOY_js = require('../chunk-ZHWHVYOY.js');
|
|
5
|
+
require('../chunk-DKDLYQOD.js');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, 'ThemeContext', {
|
|
9
10
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkZHWHVYOY_js.a; }
|
|
11
12
|
});
|
|
12
13
|
Object.defineProperty(exports, 'ThemeProvider', {
|
|
13
14
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkZHWHVYOY_js.b; }
|
|
15
16
|
});
|
package/contexts/index.mjs
CHANGED
package/contexts/theme/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZHWHVYOY_js = require('../../chunk-ZHWHVYOY.js');
|
|
4
|
+
require('../../chunk-DKDLYQOD.js');
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
Object.defineProperty(exports, 'ThemeContext', {
|
|
8
9
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkZHWHVYOY_js.a; }
|
|
10
11
|
});
|
|
11
12
|
Object.defineProperty(exports, 'ThemeProvider', {
|
|
12
13
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkZHWHVYOY_js.b; }
|
|
14
15
|
});
|
package/contexts/theme/index.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { a as ThemeContext, b as ThemeProvider } from '../../chunk-
|
|
1
|
+
export { a as ThemeContext, b as ThemeProvider } from '../../chunk-IGEGU67W.mjs';
|
|
2
|
+
import '../../chunk-D2YRORSD.mjs';
|
package/hooks/index.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-7M2UD3MX.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkFA4FHRKJ_js = require('../chunk-FA4FHRKJ.js');
|
|
5
5
|
require('../chunk-JQ4UTWMH.js');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-ZHWHVYOY.js');
|
|
7
|
+
require('../chunk-DKDLYQOD.js');
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
Object.defineProperty(exports, 'useTheme', {
|
|
11
12
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkFA4FHRKJ_js.a; }
|
|
13
14
|
});
|
package/hooks/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '../chunk-TAA4AMBN.mjs';
|
|
2
|
-
export { a as useTheme } from '../chunk-
|
|
2
|
+
export { a as useTheme } from '../chunk-BEZVY5QD.mjs';
|
|
3
3
|
import '../chunk-WPEQQQCR.mjs';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-IGEGU67W.mjs';
|
|
5
|
+
import '../chunk-D2YRORSD.mjs';
|
package/hooks/useTheme/index.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFA4FHRKJ_js = require('../../chunk-FA4FHRKJ.js');
|
|
4
4
|
require('../../chunk-JQ4UTWMH.js');
|
|
5
|
-
require('../../chunk-
|
|
5
|
+
require('../../chunk-ZHWHVYOY.js');
|
|
6
|
+
require('../../chunk-DKDLYQOD.js');
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
Object.defineProperty(exports, 'useTheme', {
|
|
10
11
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkFA4FHRKJ_js.a; }
|
|
12
13
|
});
|
package/hooks/useTheme/index.mjs
CHANGED
package/icons/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
export { IconBolt, IconBook, IconBrandGithub, IconBrandGoogle, IconBrandNpm, IconCurrencyDollar, IconDownload, IconMail, IconRocket, IconTrash } from '@tabler/icons-react';
|
|
1
|
+
export { IconBadgeFilled, IconBolt, IconBook, IconBrandGithub, IconBrandGoogle, IconBrandLinkedin, IconBrandNpm, IconBrandTwitter, IconCurrencyDollar, IconDownload, IconMail, IconRocket, IconTrash } from '@tabler/icons-react';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare function GoogleIcon(props: IconProps): react_jsx_runtime.JSX.Element;
|
|
5
|
+
declare function GoogleIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
8
6
|
|
|
9
7
|
declare function LoadingIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
10
8
|
|
|
11
|
-
export { GoogleIcon,
|
|
9
|
+
export { GoogleIcon, LoadingIcon };
|
package/icons/index.js
CHANGED
|
@@ -1,54 +1,67 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHDAV3F3Q_js = require('../chunk-HDAV3F3Q.js');
|
|
4
|
+
require('../chunk-DKDLYQOD.js');
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
Object.defineProperty(exports, 'GoogleIcon', {
|
|
8
9
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkHDAV3F3Q_js.n; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, 'IconBadgeFilled', {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkHDAV3F3Q_js.a; }
|
|
10
15
|
});
|
|
11
16
|
Object.defineProperty(exports, 'IconBolt', {
|
|
12
17
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkHDAV3F3Q_js.b; }
|
|
14
19
|
});
|
|
15
20
|
Object.defineProperty(exports, 'IconBook', {
|
|
16
21
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkHDAV3F3Q_js.c; }
|
|
18
23
|
});
|
|
19
24
|
Object.defineProperty(exports, 'IconBrandGithub', {
|
|
20
25
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkHDAV3F3Q_js.d; }
|
|
22
27
|
});
|
|
23
28
|
Object.defineProperty(exports, 'IconBrandGoogle', {
|
|
24
29
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkHDAV3F3Q_js.e; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, 'IconBrandLinkedin', {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkHDAV3F3Q_js.f; }
|
|
26
35
|
});
|
|
27
36
|
Object.defineProperty(exports, 'IconBrandNpm', {
|
|
28
37
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkHDAV3F3Q_js.g; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, 'IconBrandTwitter', {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkHDAV3F3Q_js.h; }
|
|
30
43
|
});
|
|
31
44
|
Object.defineProperty(exports, 'IconCurrencyDollar', {
|
|
32
45
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkHDAV3F3Q_js.i; }
|
|
34
47
|
});
|
|
35
48
|
Object.defineProperty(exports, 'IconDownload', {
|
|
36
49
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkHDAV3F3Q_js.j; }
|
|
38
51
|
});
|
|
39
52
|
Object.defineProperty(exports, 'IconMail', {
|
|
40
53
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkHDAV3F3Q_js.k; }
|
|
42
55
|
});
|
|
43
56
|
Object.defineProperty(exports, 'IconRocket', {
|
|
44
57
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkHDAV3F3Q_js.l; }
|
|
46
59
|
});
|
|
47
60
|
Object.defineProperty(exports, 'IconTrash', {
|
|
48
61
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkHDAV3F3Q_js.m; }
|
|
50
63
|
});
|
|
51
64
|
Object.defineProperty(exports, 'LoadingIcon', {
|
|
52
65
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkHDAV3F3Q_js.o; }
|
|
54
67
|
});
|
package/icons/index.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { n as GoogleIcon, a as IconBadgeFilled, b as IconBolt, c as IconBook, d as IconBrandGithub, e as IconBrandGoogle, f as IconBrandLinkedin, g as IconBrandNpm, h as IconBrandTwitter, i as IconCurrencyDollar, j as IconDownload, k as IconMail, l as IconRocket, m as IconTrash, o as LoadingIcon } from '../chunk-CBGYIR3X.mjs';
|
|
2
|
+
import '../chunk-D2YRORSD.mjs';
|
package/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
1
|
+
export { a as Avatar, A as AvatarProps, b as AvatarSizeType } from './Avatar-c6a2f50d.js';
|
|
2
|
+
export { a as Button, d as ButtonColorType, B as ButtonProps, b as ButtonSizeType, c as ButtonVariantType } from './Button-ae5be036.js';
|
|
3
|
+
export { a as Input, I as InputProps } from './Input-41362e55.js';
|
|
4
|
+
export { a as Tooltip, T as TooltipProps, c as TooltipProvider, b as TooltipProviderProps } from './Tooltip.provider-6de64d8b.js';
|
|
5
|
+
export { a as Textarea, T as TextareaProps } from './Textarea-7d32840f.js';
|
|
5
6
|
export { u as useTheme } from './useTheme-01c9253b.js';
|
|
6
7
|
export { T as ThemeContext, b as ThemeProvider, a as ThemeProviderProps } from './ThemeProvider-cd78c94b.js';
|
|
7
8
|
export { a as ThemeContextType, T as ThemeType } from './theme.types-a32f0702.js';
|
package/index.js
CHANGED
|
@@ -1,47 +1,53 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-7M2UD3MX.js');
|
|
4
|
-
require('./chunk-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
8
|
-
|
|
9
|
-
var
|
|
10
|
-
var
|
|
4
|
+
var chunkFA4FHRKJ_js = require('./chunk-FA4FHRKJ.js');
|
|
5
|
+
require('./chunk-PJ2GPHOZ.js');
|
|
6
|
+
var chunk3PIF22YM_js = require('./chunk-3PIF22YM.js');
|
|
7
|
+
var chunkMGX5N7ZU_js = require('./chunk-MGX5N7ZU.js');
|
|
8
|
+
require('./chunk-HDAV3F3Q.js');
|
|
9
|
+
var chunkYEKURALR_js = require('./chunk-YEKURALR.js');
|
|
10
|
+
var chunkIN4WKCCQ_js = require('./chunk-IN4WKCCQ.js');
|
|
11
|
+
var chunkV3HUNIZN_js = require('./chunk-V3HUNIZN.js');
|
|
11
12
|
require('./chunk-JQ4UTWMH.js');
|
|
12
|
-
var
|
|
13
|
+
var chunkZHWHVYOY_js = require('./chunk-ZHWHVYOY.js');
|
|
14
|
+
require('./chunk-DKDLYQOD.js');
|
|
13
15
|
|
|
14
16
|
|
|
15
17
|
|
|
18
|
+
Object.defineProperty(exports, 'useTheme', {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkFA4FHRKJ_js.a; }
|
|
21
|
+
});
|
|
16
22
|
Object.defineProperty(exports, 'Avatar', {
|
|
17
23
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk3PIF22YM_js.a; }
|
|
19
25
|
});
|
|
20
26
|
Object.defineProperty(exports, 'Button', {
|
|
21
27
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkMGX5N7ZU_js.a; }
|
|
23
29
|
});
|
|
24
30
|
Object.defineProperty(exports, 'Input', {
|
|
25
31
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkYEKURALR_js.a; }
|
|
27
33
|
});
|
|
28
|
-
Object.defineProperty(exports, '
|
|
34
|
+
Object.defineProperty(exports, 'Textarea', {
|
|
29
35
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkIN4WKCCQ_js.a; }
|
|
31
37
|
});
|
|
32
|
-
Object.defineProperty(exports, '
|
|
38
|
+
Object.defineProperty(exports, 'Tooltip', {
|
|
33
39
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkV3HUNIZN_js.a; }
|
|
35
41
|
});
|
|
36
|
-
Object.defineProperty(exports, '
|
|
42
|
+
Object.defineProperty(exports, 'TooltipProvider', {
|
|
37
43
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkV3HUNIZN_js.b; }
|
|
39
45
|
});
|
|
40
46
|
Object.defineProperty(exports, 'ThemeContext', {
|
|
41
47
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkZHWHVYOY_js.a; }
|
|
43
49
|
});
|
|
44
50
|
Object.defineProperty(exports, 'ThemeProvider', {
|
|
45
51
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkZHWHVYOY_js.b; }
|
|
47
53
|
});
|
package/index.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import './chunk-TAA4AMBN.mjs';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { a as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export { a as
|
|
8
|
-
export { a as
|
|
2
|
+
export { a as useTheme } from './chunk-BEZVY5QD.mjs';
|
|
3
|
+
import './chunk-76WB4BRP.mjs';
|
|
4
|
+
export { a as Avatar } from './chunk-GETS73RC.mjs';
|
|
5
|
+
export { a as Button } from './chunk-LBRQSDEO.mjs';
|
|
6
|
+
import './chunk-CBGYIR3X.mjs';
|
|
7
|
+
export { a as Input } from './chunk-PJRIZNPB.mjs';
|
|
8
|
+
export { a as Textarea } from './chunk-ACJI7SSR.mjs';
|
|
9
|
+
export { a as Tooltip, b as TooltipProvider } from './chunk-KEPEPMEM.mjs';
|
|
9
10
|
import './chunk-WPEQQQCR.mjs';
|
|
10
|
-
export { a as ThemeContext, b as ThemeProvider } from './chunk-
|
|
11
|
+
export { a as ThemeContext, b as ThemeProvider } from './chunk-IGEGU67W.mjs';
|
|
12
|
+
import './chunk-D2YRORSD.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@szum-tech/design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "Szum-Tech design system with tailwindcss support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"szum-tech",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"prettier:check": "prettier --check .",
|
|
52
52
|
"prettier:write": "prettier --write .",
|
|
53
53
|
"semantic-release": "semantic-release",
|
|
54
|
-
"storybook": "storybook dev -p 6006",
|
|
55
54
|
"storybook:build": "storybook build --docs",
|
|
55
|
+
"storybook:dev": "storybook dev -p 6006",
|
|
56
56
|
"storybook:serve": "serve storybook-static",
|
|
57
57
|
"test": "vitest",
|
|
58
58
|
"test:coverage": "vitest run --coverage",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@radix-ui/react-tooltip": "^1.0.6",
|
|
64
|
-
"@tabler/icons-react": "^2.20.0",
|
|
65
64
|
"@tailwindcss/container-queries": "^0.1.0",
|
|
66
65
|
"class-variance-authority": "^0.6.0",
|
|
67
66
|
"tailwind-scrollbar": "^3.0.4"
|
|
@@ -76,6 +75,7 @@
|
|
|
76
75
|
"@storybook/react-vite": "^7.0.18",
|
|
77
76
|
"@szum-tech/prettier-config": "^1.2.1",
|
|
78
77
|
"@szum-tech/semantic-release-preset": "^1.5.1",
|
|
78
|
+
"@tabler/icons-react": "^2.20.0",
|
|
79
79
|
"@testing-library/dom": "^9.3.0",
|
|
80
80
|
"@testing-library/jest-dom": "^5.16.5",
|
|
81
81
|
"@testing-library/react": "^14.0.0",
|
|
@@ -84,14 +84,15 @@
|
|
|
84
84
|
"@types/react-dom": "^18.2.4",
|
|
85
85
|
"@types/semantic-release": "^20.0.1",
|
|
86
86
|
"@vitejs/plugin-react": "^4.0.0",
|
|
87
|
+
"@vitest/coverage-c8": "^0.31.1",
|
|
87
88
|
"autoprefixer": "^10.4.14",
|
|
88
89
|
"babel-loader": "^9.1.2",
|
|
89
90
|
"concurrently": "^8.0.1",
|
|
90
91
|
"cpy-cli": "^4.2.0",
|
|
91
|
-
"happy-dom": "^9.
|
|
92
|
-
"postcss": "^8.4.
|
|
92
|
+
"happy-dom": "^9.20.3",
|
|
93
|
+
"postcss": "^8.4.24",
|
|
93
94
|
"prettier": "^2.8.8",
|
|
94
|
-
"prettier-plugin-tailwindcss": "^0.
|
|
95
|
+
"prettier-plugin-tailwindcss": "^0.3.0",
|
|
95
96
|
"react": "^18.2.0",
|
|
96
97
|
"react-docgen": "^5.4.3",
|
|
97
98
|
"react-docgen-typescript": "^2.2.2",
|
|
@@ -106,7 +107,7 @@
|
|
|
106
107
|
"typescript": "^5.0.4",
|
|
107
108
|
"vite": "^4.3.9",
|
|
108
109
|
"vite-tsconfig-paths": "^4.2.0",
|
|
109
|
-
"vitest": "^0.31.
|
|
110
|
+
"vitest": "^0.31.1"
|
|
110
111
|
},
|
|
111
112
|
"peerDependencies": {
|
|
112
113
|
"react": "^18.2.0",
|
package/theme/main-preset.js
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { O as OmitStylesProps } from './utils.types-3df7903f.js';
|
|
3
|
-
|
|
4
|
-
type Props = {
|
|
5
|
-
invalid?: boolean;
|
|
6
|
-
startIcon?: React.ReactElement | string;
|
|
7
|
-
endIcon?: React.ReactElement | string;
|
|
8
|
-
};
|
|
9
|
-
type InputProps = OmitStylesProps<React.ComponentPropsWithoutRef<"input">> & Props;
|
|
10
|
-
declare const InputComponent: (props: OmitStylesProps<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">> & Props & React.RefAttributes<HTMLInputElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
11
|
-
|
|
12
|
-
export { InputComponent as I, InputProps as a };
|
package/chunk-2OZE575J.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var iconsReact = require('@tabler/icons-react');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
|
|
6
|
-
function n(l){return jsxRuntime.jsxs("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...l,children:[jsxRuntime.jsx("path",{d:"M17.64 9.2c0-.637-.057-1.251-.164-1.84H9v3.481h4.844c-.209 1.125-.843 2.078-1.796 2.717v2.258h2.908c1.702-1.567 2.684-3.874 2.684-6.615z",fillRule:"evenodd",fillOpacity:"1",fill:"#4285f4",stroke:"none"}),jsxRuntime.jsx("path",{d:"M9.003 18c2.43 0 4.467-.806 5.956-2.18L12.05 13.56c-.806.54-1.836.86-3.047.86-2.344 0-4.328-1.584-5.036-3.711H.96v2.332C2.44 15.983 5.485 18 9.003 18z",fillRule:"evenodd",fillOpacity:"1",fill:"#34a853",stroke:"none"}),jsxRuntime.jsx("path",{d:"M3.964 10.712c-.18-.54-.282-1.117-.282-1.71 0-.593.102-1.17.282-1.71V4.96H.957C.347 6.175 0 7.55 0 9.002c0 1.452.348 2.827.957 4.042l3.007-2.332z",fillRule:"evenodd",fillOpacity:"1",fill:"#fbbc05",stroke:"none"}),jsxRuntime.jsx("path",{d:"M9.003 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C13.464.891 11.428 0 9.002 0 5.485 0 2.44 2.017.96 4.958L3.967 7.29c.708-2.127 2.692-3.71 5.036-3.71z",fillRule:"evenodd",fillOpacity:"1",fill:"#ea4335",stroke:"none"})]})}function p(l){return jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"currentColor",version:"1.1",viewBox:"0 0 26.349 26.35",xmlSpace:"preserve",...l,children:jsxRuntime.jsx("g",{children:jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("circle",{cx:"13.792",cy:"3.082",r:"3.082"}),jsxRuntime.jsx("circle",{cx:"13.792",cy:"24.501",r:"1.849"}),jsxRuntime.jsx("circle",{cx:"6.219",cy:"6.218",r:"2.774"}),jsxRuntime.jsx("circle",{cx:"21.365",cy:"21.363",r:"1.541"}),jsxRuntime.jsx("circle",{cx:"3.082",cy:"13.792",r:"2.465"}),jsxRuntime.jsx("circle",{cx:"24.501",cy:"13.791",r:"1.232"}),jsxRuntime.jsx("path",{d:"M4.694,19.84c-0.843,0.843-0.843,2.207,0,3.05c0.842,0.843,2.208,0.843,3.05,0c0.843-0.843,0.843-2.207,0-3.05 C6.902,18.996,5.537,18.988,4.694,19.84z"}),jsxRuntime.jsx("circle",{cx:"21.364",cy:"6.218",r:"0.924"})]})})})}
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, 'c', {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return iconsReact.IconTrash; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, 'd', {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return iconsReact.IconCurrencyDollar; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, 'e', {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return iconsReact.IconBrandGoogle; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, 'f', {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return iconsReact.IconBolt; }
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, 'g', {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () { return iconsReact.IconMail; }
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, 'h', {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return iconsReact.IconDownload; }
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(exports, 'i', {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () { return iconsReact.IconBook; }
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, 'j', {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () { return iconsReact.IconBrandNpm; }
|
|
39
|
-
});
|
|
40
|
-
Object.defineProperty(exports, 'k', {
|
|
41
|
-
enumerable: true,
|
|
42
|
-
get: function () { return iconsReact.IconBrandGithub; }
|
|
43
|
-
});
|
|
44
|
-
Object.defineProperty(exports, 'l', {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
get: function () { return iconsReact.IconRocket; }
|
|
47
|
-
});
|
|
48
|
-
exports.a = n;
|
|
49
|
-
exports.b = p;
|
package/chunk-5SE7P5YG.mjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import a from 'react';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
var n=a.createContext({});function T(t){if(typeof window<"u"&&window.localStorage){let e=window.localStorage.getItem("theme");if(e==="dark"||!e&&window.matchMedia("(prefers-color-scheme: dark)").matches)return "dark"}return t??"light"}function u({children:t,defaultTheme:e,theme:r}){let[o,i]=a.useState(r||T(e));function d(m){typeof window<"u"&&window.localStorage&&(m==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),localStorage.setItem("theme",m));}return a.useEffect(()=>{d(o);},[o]),jsx(n.Provider,{value:{theme:o,setTheme:i},children:t})}
|
|
5
|
-
|
|
6
|
-
export { n as a, u as b };
|