@szum-tech/design-system 1.11.3 → 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.
Files changed (59) hide show
  1. package/{Avatar-d6a17567.d.ts → Avatar-c6a2f50d.d.ts} +1 -1
  2. package/{Button-d3c2777e.d.ts → Button-ae5be036.d.ts} +1 -1
  3. package/Input-41362e55.d.ts +12 -0
  4. package/Textarea-7d32840f.d.ts +10 -0
  5. package/{Tooltip.provider-90345769.d.ts → Tooltip.provider-6de64d8b.d.ts} +1 -1
  6. package/{chunk-K6XKLHGZ.js → chunk-3PIF22YM.js} +2 -2
  7. package/chunk-ACJI7SSR.mjs +7 -0
  8. package/{chunk-TVVL3MG4.mjs → chunk-CBGYIR3X.mjs} +3 -3
  9. package/{chunk-C33NLJFI.mjs → chunk-GETS73RC.mjs} +2 -2
  10. package/{chunk-HDW3T44C.js → chunk-HDAV3F3Q.js} +7 -4
  11. package/chunk-IN4WKCCQ.js +29 -0
  12. package/{chunk-Z7QTQD5Y.mjs → chunk-KEPEPMEM.mjs} +2 -2
  13. package/{chunk-IMNFECDL.mjs → chunk-LBRQSDEO.mjs} +3 -3
  14. package/{chunk-WT23FBI3.js → chunk-MGX5N7ZU.js} +3 -3
  15. package/chunk-PJRIZNPB.mjs +7 -0
  16. package/{chunk-XZSDQC2V.js → chunk-V3HUNIZN.js} +2 -2
  17. package/chunk-YEKURALR.js +29 -0
  18. package/components/{Avatar → avatar}/index.d.ts +1 -1
  19. package/components/avatar/index.js +11 -0
  20. package/components/avatar/index.mjs +2 -0
  21. package/components/button/index.d.ts +5 -0
  22. package/components/button/index.js +12 -0
  23. package/components/button/index.mjs +3 -0
  24. package/components/index.d.ts +5 -4
  25. package/components/index.js +16 -11
  26. package/components/index.mjs +7 -6
  27. package/components/input/index.d.ts +3 -0
  28. package/components/input/index.js +11 -0
  29. package/components/input/index.mjs +2 -0
  30. package/components/textarea/index.d.ts +3 -0
  31. package/components/textarea/index.js +11 -0
  32. package/components/textarea/index.mjs +2 -0
  33. package/components/tooltip/index.d.ts +4 -0
  34. package/components/tooltip/index.js +15 -0
  35. package/components/tooltip/index.mjs +2 -0
  36. package/icons/index.d.ts +3 -5
  37. package/icons/index.js +25 -13
  38. package/icons/index.mjs +1 -1
  39. package/index.d.ts +5 -4
  40. package/index.js +20 -15
  41. package/index.mjs +7 -6
  42. package/package.json +7 -6
  43. package/theme/main-preset.js +3 -0
  44. package/Input.component-887e7975.d.ts +0 -12
  45. package/chunk-6UCEUWKV.js +0 -29
  46. package/chunk-S5MGYCU6.mjs +0 -7
  47. package/components/Avatar/index.js +0 -8
  48. package/components/Avatar/index.mjs +0 -2
  49. package/components/Button/index.d.ts +0 -5
  50. package/components/Button/index.js +0 -9
  51. package/components/Button/index.mjs +0 -3
  52. package/components/Input/index.d.ts +0 -3
  53. package/components/Input/index.js +0 -8
  54. package/components/Input/index.mjs +0 -2
  55. package/components/Tooltip/index.d.ts +0 -4
  56. package/components/Tooltip/index.js +0 -17
  57. package/components/Tooltip/index.mjs +0 -2
  58. /package/{chunk-BGWTSJD7.mjs → chunk-76WB4BRP.mjs} +0 -0
  59. /package/{chunk-RNAYKFZ2.js → chunk-PJ2GPHOZ.js} +0 -0
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunk3PIF22YM_js = require('../../chunk-3PIF22YM.js');
4
+ require('../../chunk-DKDLYQOD.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, 'Avatar', {
9
+ enumerable: true,
10
+ get: function () { return chunk3PIF22YM_js.a; }
11
+ });
@@ -0,0 +1,2 @@
1
+ export { a as Avatar } from '../../chunk-GETS73RC.mjs';
2
+ import '../../chunk-D2YRORSD.mjs';
@@ -0,0 +1,5 @@
1
+ export { a as Button, d as ButtonColorType, B as ButtonProps, b as ButtonSizeType, c as ButtonVariantType } from '../../Button-ae5be036.js';
2
+ import '../../utils.types-3df7903f.js';
3
+ import 'react';
4
+ import 'class-variance-authority';
5
+ import 'class-variance-authority/dist/types';
@@ -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
+ });
@@ -0,0 +1,3 @@
1
+ export { a as Button } from '../../chunk-LBRQSDEO.mjs';
2
+ import '../../chunk-CBGYIR3X.mjs';
3
+ import '../../chunk-D2YRORSD.mjs';
@@ -1,7 +1,8 @@
1
- export { A as Avatar, a as AvatarProps, b as AvatarSizeType } from '../Avatar-d6a17567.js';
2
- export { B as Button, d as ButtonColorType, a as ButtonProps, b as ButtonSizeType, c as ButtonVariantType } from '../Button-d3c2777e.js';
3
- export { I as Input, a as InputProps } from '../Input.component-887e7975.js';
4
- export { T as Tooltip, a as TooltipProps, c as TooltipProvider, b as TooltipProviderProps } from '../Tooltip.provider-90345769.js';
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';
@@ -1,32 +1,37 @@
1
1
  'use strict';
2
2
 
3
- require('../chunk-RNAYKFZ2.js');
4
- var chunkK6XKLHGZ_js = require('../chunk-K6XKLHGZ.js');
5
- var chunkWT23FBI3_js = require('../chunk-WT23FBI3.js');
6
- require('../chunk-HDW3T44C.js');
7
- var chunk6UCEUWKV_js = require('../chunk-6UCEUWKV.js');
8
- var chunkXZSDQC2V_js = require('../chunk-XZSDQC2V.js');
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');
9
10
  require('../chunk-DKDLYQOD.js');
10
11
 
11
12
 
12
13
 
13
14
  Object.defineProperty(exports, 'Avatar', {
14
15
  enumerable: true,
15
- get: function () { return chunkK6XKLHGZ_js.a; }
16
+ get: function () { return chunk3PIF22YM_js.a; }
16
17
  });
17
18
  Object.defineProperty(exports, 'Button', {
18
19
  enumerable: true,
19
- get: function () { return chunkWT23FBI3_js.a; }
20
+ get: function () { return chunkMGX5N7ZU_js.a; }
20
21
  });
21
22
  Object.defineProperty(exports, 'Input', {
22
23
  enumerable: true,
23
- get: function () { return chunk6UCEUWKV_js.a; }
24
+ get: function () { return chunkYEKURALR_js.a; }
25
+ });
26
+ Object.defineProperty(exports, 'Textarea', {
27
+ enumerable: true,
28
+ get: function () { return chunkIN4WKCCQ_js.a; }
24
29
  });
25
30
  Object.defineProperty(exports, 'Tooltip', {
26
31
  enumerable: true,
27
- get: function () { return chunkXZSDQC2V_js.a; }
32
+ get: function () { return chunkV3HUNIZN_js.a; }
28
33
  });
29
34
  Object.defineProperty(exports, 'TooltipProvider', {
30
35
  enumerable: true,
31
- get: function () { return chunkXZSDQC2V_js.b; }
36
+ get: function () { return chunkV3HUNIZN_js.b; }
32
37
  });
@@ -1,7 +1,8 @@
1
- import '../chunk-BGWTSJD7.mjs';
2
- export { a as Avatar } from '../chunk-C33NLJFI.mjs';
3
- export { a as Button } from '../chunk-IMNFECDL.mjs';
4
- import '../chunk-TVVL3MG4.mjs';
5
- export { a as Input } from '../chunk-S5MGYCU6.mjs';
6
- export { a as Tooltip, b as TooltipProvider } from '../chunk-Z7QTQD5Y.mjs';
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';
7
8
  import '../chunk-D2YRORSD.mjs';
@@ -0,0 +1,3 @@
1
+ export { a as Input, I as InputProps } from '../../Input-41362e55.js';
2
+ import 'react';
3
+ import '../../utils.types-3df7903f.js';
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkYEKURALR_js = require('../../chunk-YEKURALR.js');
4
+ require('../../chunk-DKDLYQOD.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, 'Input', {
9
+ enumerable: true,
10
+ get: function () { return chunkYEKURALR_js.a; }
11
+ });
@@ -0,0 +1,2 @@
1
+ export { a as Input } from '../../chunk-PJRIZNPB.mjs';
2
+ import '../../chunk-D2YRORSD.mjs';
@@ -0,0 +1,3 @@
1
+ export { a as Textarea, T as TextareaProps } from '../../Textarea-7d32840f.js';
2
+ import 'react';
3
+ import '../../utils.types-3df7903f.js';
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkIN4WKCCQ_js = require('../../chunk-IN4WKCCQ.js');
4
+ require('../../chunk-DKDLYQOD.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, 'Textarea', {
9
+ enumerable: true,
10
+ get: function () { return chunkIN4WKCCQ_js.a; }
11
+ });
@@ -0,0 +1,2 @@
1
+ export { a as Textarea } from '../../chunk-ACJI7SSR.mjs';
2
+ import '../../chunk-D2YRORSD.mjs';
@@ -0,0 +1,4 @@
1
+ export { a as Tooltip, T as TooltipProps, c as TooltipProvider, b as TooltipProviderProps } from '../../Tooltip.provider-6de64d8b.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import '@radix-ui/react-tooltip';
@@ -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
+ });
@@ -0,0 +1,2 @@
1
+ export { a as Tooltip, b as TooltipProvider } from '../../chunk-KEPEPMEM.mjs';
2
+ import '../../chunk-D2YRORSD.mjs';
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
- type IconProps = React.SVGProps<SVGSVGElement>;
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, IconProps, LoadingIcon };
9
+ export { GoogleIcon, LoadingIcon };
package/icons/index.js CHANGED
@@ -1,55 +1,67 @@
1
1
  'use strict';
2
2
 
3
- var chunkHDW3T44C_js = require('../chunk-HDW3T44C.js');
3
+ var chunkHDAV3F3Q_js = require('../chunk-HDAV3F3Q.js');
4
4
  require('../chunk-DKDLYQOD.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, 'GoogleIcon', {
9
9
  enumerable: true,
10
- get: function () { return chunkHDW3T44C_js.k; }
10
+ get: function () { return chunkHDAV3F3Q_js.n; }
11
+ });
12
+ Object.defineProperty(exports, 'IconBadgeFilled', {
13
+ enumerable: true,
14
+ get: function () { return chunkHDAV3F3Q_js.a; }
11
15
  });
12
16
  Object.defineProperty(exports, 'IconBolt', {
13
17
  enumerable: true,
14
- get: function () { return chunkHDW3T44C_js.a; }
18
+ get: function () { return chunkHDAV3F3Q_js.b; }
15
19
  });
16
20
  Object.defineProperty(exports, 'IconBook', {
17
21
  enumerable: true,
18
- get: function () { return chunkHDW3T44C_js.b; }
22
+ get: function () { return chunkHDAV3F3Q_js.c; }
19
23
  });
20
24
  Object.defineProperty(exports, 'IconBrandGithub', {
21
25
  enumerable: true,
22
- get: function () { return chunkHDW3T44C_js.c; }
26
+ get: function () { return chunkHDAV3F3Q_js.d; }
23
27
  });
24
28
  Object.defineProperty(exports, 'IconBrandGoogle', {
25
29
  enumerable: true,
26
- get: function () { return chunkHDW3T44C_js.d; }
30
+ get: function () { return chunkHDAV3F3Q_js.e; }
31
+ });
32
+ Object.defineProperty(exports, 'IconBrandLinkedin', {
33
+ enumerable: true,
34
+ get: function () { return chunkHDAV3F3Q_js.f; }
27
35
  });
28
36
  Object.defineProperty(exports, 'IconBrandNpm', {
29
37
  enumerable: true,
30
- get: function () { return chunkHDW3T44C_js.e; }
38
+ get: function () { return chunkHDAV3F3Q_js.g; }
39
+ });
40
+ Object.defineProperty(exports, 'IconBrandTwitter', {
41
+ enumerable: true,
42
+ get: function () { return chunkHDAV3F3Q_js.h; }
31
43
  });
32
44
  Object.defineProperty(exports, 'IconCurrencyDollar', {
33
45
  enumerable: true,
34
- get: function () { return chunkHDW3T44C_js.f; }
46
+ get: function () { return chunkHDAV3F3Q_js.i; }
35
47
  });
36
48
  Object.defineProperty(exports, 'IconDownload', {
37
49
  enumerable: true,
38
- get: function () { return chunkHDW3T44C_js.g; }
50
+ get: function () { return chunkHDAV3F3Q_js.j; }
39
51
  });
40
52
  Object.defineProperty(exports, 'IconMail', {
41
53
  enumerable: true,
42
- get: function () { return chunkHDW3T44C_js.h; }
54
+ get: function () { return chunkHDAV3F3Q_js.k; }
43
55
  });
44
56
  Object.defineProperty(exports, 'IconRocket', {
45
57
  enumerable: true,
46
- get: function () { return chunkHDW3T44C_js.i; }
58
+ get: function () { return chunkHDAV3F3Q_js.l; }
47
59
  });
48
60
  Object.defineProperty(exports, 'IconTrash', {
49
61
  enumerable: true,
50
- get: function () { return chunkHDW3T44C_js.j; }
62
+ get: function () { return chunkHDAV3F3Q_js.m; }
51
63
  });
52
64
  Object.defineProperty(exports, 'LoadingIcon', {
53
65
  enumerable: true,
54
- get: function () { return chunkHDW3T44C_js.l; }
66
+ get: function () { return chunkHDAV3F3Q_js.o; }
55
67
  });
package/icons/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { k as GoogleIcon, a as IconBolt, b as IconBook, c as IconBrandGithub, d as IconBrandGoogle, e as IconBrandNpm, f as IconCurrencyDollar, g as IconDownload, h as IconMail, i as IconRocket, j as IconTrash, l as LoadingIcon } from '../chunk-TVVL3MG4.mjs';
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
2
  import '../chunk-D2YRORSD.mjs';
package/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- export { A as Avatar, a as AvatarProps, b as AvatarSizeType } from './Avatar-d6a17567.js';
2
- export { B as Button, d as ButtonColorType, a as ButtonProps, b as ButtonSizeType, c as ButtonVariantType } from './Button-d3c2777e.js';
3
- export { I as Input, a as InputProps } from './Input.component-887e7975.js';
4
- export { T as Tooltip, a as TooltipProps, c as TooltipProvider, b as TooltipProviderProps } from './Tooltip.provider-90345769.js';
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,42 +1,47 @@
1
1
  'use strict';
2
2
 
3
3
  require('./chunk-7M2UD3MX.js');
4
- require('./chunk-RNAYKFZ2.js');
5
- var chunkK6XKLHGZ_js = require('./chunk-K6XKLHGZ.js');
6
- var chunkWT23FBI3_js = require('./chunk-WT23FBI3.js');
7
- require('./chunk-HDW3T44C.js');
8
- var chunk6UCEUWKV_js = require('./chunk-6UCEUWKV.js');
9
- var chunkXZSDQC2V_js = require('./chunk-XZSDQC2V.js');
10
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
13
  var chunkZHWHVYOY_js = require('./chunk-ZHWHVYOY.js');
13
14
  require('./chunk-DKDLYQOD.js');
14
15
 
15
16
 
16
17
 
18
+ Object.defineProperty(exports, 'useTheme', {
19
+ enumerable: true,
20
+ get: function () { return chunkFA4FHRKJ_js.a; }
21
+ });
17
22
  Object.defineProperty(exports, 'Avatar', {
18
23
  enumerable: true,
19
- get: function () { return chunkK6XKLHGZ_js.a; }
24
+ get: function () { return chunk3PIF22YM_js.a; }
20
25
  });
21
26
  Object.defineProperty(exports, 'Button', {
22
27
  enumerable: true,
23
- get: function () { return chunkWT23FBI3_js.a; }
28
+ get: function () { return chunkMGX5N7ZU_js.a; }
24
29
  });
25
30
  Object.defineProperty(exports, 'Input', {
26
31
  enumerable: true,
27
- get: function () { return chunk6UCEUWKV_js.a; }
32
+ get: function () { return chunkYEKURALR_js.a; }
28
33
  });
29
- Object.defineProperty(exports, 'Tooltip', {
34
+ Object.defineProperty(exports, 'Textarea', {
30
35
  enumerable: true,
31
- get: function () { return chunkXZSDQC2V_js.a; }
36
+ get: function () { return chunkIN4WKCCQ_js.a; }
32
37
  });
33
- Object.defineProperty(exports, 'TooltipProvider', {
38
+ Object.defineProperty(exports, 'Tooltip', {
34
39
  enumerable: true,
35
- get: function () { return chunkXZSDQC2V_js.b; }
40
+ get: function () { return chunkV3HUNIZN_js.a; }
36
41
  });
37
- Object.defineProperty(exports, 'useTheme', {
42
+ Object.defineProperty(exports, 'TooltipProvider', {
38
43
  enumerable: true,
39
- get: function () { return chunkFA4FHRKJ_js.a; }
44
+ get: function () { return chunkV3HUNIZN_js.b; }
40
45
  });
41
46
  Object.defineProperty(exports, 'ThemeContext', {
42
47
  enumerable: true,
package/index.mjs CHANGED
@@ -1,11 +1,12 @@
1
1
  import './chunk-TAA4AMBN.mjs';
2
- import './chunk-BGWTSJD7.mjs';
3
- export { a as Avatar } from './chunk-C33NLJFI.mjs';
4
- export { a as Button } from './chunk-IMNFECDL.mjs';
5
- import './chunk-TVVL3MG4.mjs';
6
- export { a as Input } from './chunk-S5MGYCU6.mjs';
7
- export { a as Tooltip, b as TooltipProvider } from './chunk-Z7QTQD5Y.mjs';
8
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
11
  export { a as ThemeContext, b as ThemeProvider } from './chunk-IGEGU67W.mjs';
11
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.11.3",
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",
@@ -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.18.3",
92
- "postcss": "^8.4.23",
92
+ "happy-dom": "^9.20.3",
93
+ "postcss": "^8.4.24",
93
94
  "prettier": "^2.8.8",
94
- "prettier-plugin-tailwindcss": "^0.2.8",
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.0"
110
+ "vitest": "^0.31.1"
110
111
  },
111
112
  "peerDependencies": {
112
113
  "react": "^18.2.0",
@@ -201,6 +201,9 @@ module.exports = {
201
201
  128: "32.0rem",
202
202
  300: "75.0rem"
203
203
  },
204
+ minHeight: {
205
+ 10: "2.5rem"
206
+ },
204
207
  keyframes: {
205
208
  slideDownAndFade: {
206
209
  from: { opacity: 0, transform: "translateY(-2px)" },
@@ -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-6UCEUWKV.js DELETED
@@ -1,29 +0,0 @@
1
- 'use strict';
2
-
3
- var p = require('react');
4
- var classVarianceAuthority = require('class-variance-authority');
5
- var jsxRuntime = require('react/jsx-runtime');
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n.default = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var p__namespace = /*#__PURE__*/_interopNamespace(p);
26
-
27
- var l=classVarianceAuthority.cva(["h-10 w-full appearance-none border bg-white dark:bg-black py-2 font-poppins outline-0 transition-colors duration-300 ease-in-out","placeholder:select-none placeholder:text-gray-200","invalid:border-error-500 focus:border-primary-400 active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],false:["text-gray-100 border-gray-350 hover:border-primary-500"]},withStartIcon:{true:"pl-11",false:"pl-3"},withEndIcon:{true:"pr-11",false:"pr-3"}},defaultVariants:{invalid:!1,withStartIcon:!1,withEndIcon:!1}}),a=classVarianceAuthority.cva(["pointer-events-none absolute bottom-2 top-2 inline-flex w-10 content-center items-center justify-center text-center"],{variants:{disabled:{true:"text-gray-200"},site:{right:"right-0 border-l border-l-gray-400 pr-1",left:"left-0 border-r border-r-gray-400 pl-1"}},defaultVariants:{disabled:!1}});var m=p__namespace.forwardRef(function({invalid:n=!1,startIcon:t,endIcon:e,disabled:r=!1,...s},d){let c=l({withEndIcon:!!e,withStartIcon:!!t,invalid:n}),f=a({site:"left",disabled:r}),u=a({site:"right",disabled:r});return jsxRuntime.jsxs("div",{className:"relative text-gray-100 typography-body-2",children:[t?jsxRuntime.jsx("span",{className:f,children:t}):null,jsxRuntime.jsx("input",{"aria-invalid":n||void 0,disabled:r,className:c,ref:d,...s}),e?jsxRuntime.jsx("span",{"aria-hidden":!0,className:u,children:e}):null]})}),b=m;
28
-
29
- exports.a = b;
@@ -1,7 +0,0 @@
1
- import * as p from 'react';
2
- import { cva } from 'class-variance-authority';
3
- import { jsxs, jsx } from 'react/jsx-runtime';
4
-
5
- var l=cva(["h-10 w-full appearance-none border bg-white dark:bg-black py-2 font-poppins outline-0 transition-colors duration-300 ease-in-out","placeholder:select-none placeholder:text-gray-200","invalid:border-error-500 focus:border-primary-400 active:border-primary-400","disabled:border-gray-400 disabled:text-gray-200 disabled:placeholder:text-gray-300"],{variants:{invalid:{true:["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],false:["text-gray-100 border-gray-350 hover:border-primary-500"]},withStartIcon:{true:"pl-11",false:"pl-3"},withEndIcon:{true:"pr-11",false:"pr-3"}},defaultVariants:{invalid:!1,withStartIcon:!1,withEndIcon:!1}}),a=cva(["pointer-events-none absolute bottom-2 top-2 inline-flex w-10 content-center items-center justify-center text-center"],{variants:{disabled:{true:"text-gray-200"},site:{right:"right-0 border-l border-l-gray-400 pr-1",left:"left-0 border-r border-r-gray-400 pl-1"}},defaultVariants:{disabled:!1}});var m=p.forwardRef(function({invalid:n=!1,startIcon:t,endIcon:e,disabled:r=!1,...s},d){let c=l({withEndIcon:!!e,withStartIcon:!!t,invalid:n}),f=a({site:"left",disabled:r}),u=a({site:"right",disabled:r});return jsxs("div",{className:"relative text-gray-100 typography-body-2",children:[t?jsx("span",{className:f,children:t}):null,jsx("input",{"aria-invalid":n||void 0,disabled:r,className:c,ref:d,...s}),e?jsx("span",{"aria-hidden":!0,className:u,children:e}):null]})}),b=m;
6
-
7
- export { b as a };
@@ -1,8 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkK6XKLHGZ_js = require('../../chunk-K6XKLHGZ.js');
4
- require('../../chunk-DKDLYQOD.js');
5
-
6
-
7
-
8
- module.exports = chunkK6XKLHGZ_js.a;
@@ -1,2 +0,0 @@
1
- export { a as default } from '../../chunk-C33NLJFI.mjs';
2
- import '../../chunk-D2YRORSD.mjs';
@@ -1,5 +0,0 @@
1
- export { d as ButtonColorType, a as ButtonProps, b as ButtonSizeType, c as ButtonVariantType, B as default } from '../../Button-d3c2777e.js';
2
- import '../../utils.types-3df7903f.js';
3
- import 'react';
4
- import 'class-variance-authority';
5
- import 'class-variance-authority/dist/types';
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkWT23FBI3_js = require('../../chunk-WT23FBI3.js');
4
- require('../../chunk-HDW3T44C.js');
5
- require('../../chunk-DKDLYQOD.js');
6
-
7
-
8
-
9
- module.exports = chunkWT23FBI3_js.a;
@@ -1,3 +0,0 @@
1
- export { a as default } from '../../chunk-IMNFECDL.mjs';
2
- import '../../chunk-TVVL3MG4.mjs';
3
- import '../../chunk-D2YRORSD.mjs';
@@ -1,3 +0,0 @@
1
- export { a as InputProps, I as default } from '../../Input.component-887e7975.js';
2
- import 'react';
3
- import '../../utils.types-3df7903f.js';
@@ -1,8 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk6UCEUWKV_js = require('../../chunk-6UCEUWKV.js');
4
- require('../../chunk-DKDLYQOD.js');
5
-
6
-
7
-
8
- module.exports = chunk6UCEUWKV_js.a;
@@ -1,2 +0,0 @@
1
- export { a as default } from '../../chunk-S5MGYCU6.mjs';
2
- import '../../chunk-D2YRORSD.mjs';
@@ -1,4 +0,0 @@
1
- export { a as TooltipProps, c as TooltipProvider, b as TooltipProviderProps, T as default } from '../../Tooltip.provider-90345769.js';
2
- import 'react/jsx-runtime';
3
- import 'react';
4
- import '@radix-ui/react-tooltip';
@@ -1,17 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var chunkXZSDQC2V_js = require('../../chunk-XZSDQC2V.js');
6
- require('../../chunk-DKDLYQOD.js');
7
-
8
-
9
-
10
- Object.defineProperty(exports, 'TooltipProvider', {
11
- enumerable: true,
12
- get: function () { return chunkXZSDQC2V_js.b; }
13
- });
14
- Object.defineProperty(exports, 'default', {
15
- enumerable: true,
16
- get: function () { return chunkXZSDQC2V_js.a; }
17
- });
@@ -1,2 +0,0 @@
1
- export { b as TooltipProvider, a as default } from '../../chunk-Z7QTQD5Y.mjs';
2
- import '../../chunk-D2YRORSD.mjs';
File without changes
File without changes