@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.
Files changed (79) 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-M6LWZWJB.js → chunk-3PIF22YM.js} +3 -2
  7. package/chunk-ACJI7SSR.mjs +7 -0
  8. package/chunk-BEZVY5QD.mjs +7 -0
  9. package/chunk-CBGYIR3X.mjs +36 -0
  10. package/chunk-D2YRORSD.mjs +3 -0
  11. package/chunk-DKDLYQOD.js +7 -0
  12. package/chunk-FA4FHRKJ.js +13 -0
  13. package/{chunk-MM2WP564.mjs → chunk-GETS73RC.mjs} +3 -2
  14. package/chunk-HDAV3F3Q.js +52 -0
  15. package/chunk-IGEGU67W.mjs +7 -0
  16. package/chunk-IN4WKCCQ.js +29 -0
  17. package/{chunk-2FD4IU55.mjs → chunk-KEPEPMEM.mjs} +3 -2
  18. package/{chunk-VJH5FTSI.mjs → chunk-LBRQSDEO.mjs} +3 -3
  19. package/{chunk-SW65ATAP.js → chunk-MGX5N7ZU.js} +3 -3
  20. package/chunk-PJRIZNPB.mjs +7 -0
  21. package/{chunk-JRSQX3DZ.js → chunk-V3HUNIZN.js} +4 -3
  22. package/chunk-YEKURALR.js +29 -0
  23. package/chunk-ZHWHVYOY.js +14 -0
  24. package/components/{Avatar → avatar}/index.d.ts +1 -1
  25. package/components/avatar/index.js +11 -0
  26. package/components/avatar/index.mjs +2 -0
  27. package/components/button/index.d.ts +5 -0
  28. package/components/button/index.js +12 -0
  29. package/components/button/index.mjs +3 -0
  30. package/components/index.d.ts +5 -4
  31. package/components/index.js +17 -11
  32. package/components/index.mjs +8 -6
  33. package/components/input/index.d.ts +3 -0
  34. package/components/input/index.js +11 -0
  35. package/components/input/index.mjs +2 -0
  36. package/components/textarea/index.d.ts +3 -0
  37. package/components/textarea/index.js +11 -0
  38. package/components/textarea/index.mjs +2 -0
  39. package/components/tooltip/index.d.ts +4 -0
  40. package/components/tooltip/index.js +15 -0
  41. package/components/tooltip/index.mjs +2 -0
  42. package/contexts/index.js +4 -3
  43. package/contexts/index.mjs +2 -1
  44. package/contexts/theme/index.js +4 -3
  45. package/contexts/theme/index.mjs +2 -1
  46. package/hooks/index.js +4 -3
  47. package/hooks/index.mjs +3 -2
  48. package/hooks/useTheme/index.js +4 -3
  49. package/hooks/useTheme/index.mjs +3 -2
  50. package/icons/index.d.ts +3 -5
  51. package/icons/index.js +26 -13
  52. package/icons/index.mjs +2 -1
  53. package/index.d.ts +5 -4
  54. package/index.js +25 -19
  55. package/index.mjs +10 -8
  56. package/package.json +8 -7
  57. package/theme/main-preset.js +3 -0
  58. package/Input.component-887e7975.d.ts +0 -12
  59. package/chunk-2OZE575J.js +0 -49
  60. package/chunk-5SE7P5YG.mjs +0 -6
  61. package/chunk-6UCEUWKV.js +0 -29
  62. package/chunk-CRJI67D5.mjs +0 -6
  63. package/chunk-OACRI5I5.mjs +0 -6
  64. package/chunk-S5MGYCU6.mjs +0 -7
  65. package/chunk-UJM6RAIA.js +0 -12
  66. package/chunk-X2QIG2W5.js +0 -13
  67. package/components/Avatar/index.js +0 -7
  68. package/components/Avatar/index.mjs +0 -1
  69. package/components/Button/index.d.ts +0 -5
  70. package/components/Button/index.js +0 -8
  71. package/components/Button/index.mjs +0 -2
  72. package/components/Input/index.d.ts +0 -3
  73. package/components/Input/index.js +0 -7
  74. package/components/Input/index.mjs +0 -1
  75. package/components/Tooltip/index.d.ts +0 -4
  76. package/components/Tooltip/index.js +0 -16
  77. package/components/Tooltip/index.mjs +0 -1
  78. /package/{chunk-BGWTSJD7.mjs → chunk-76WB4BRP.mjs} +0 -0
  79. /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
+ });
@@ -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,31 +1,37 @@
1
1
  'use strict';
2
2
 
3
- require('../chunk-RNAYKFZ2.js');
4
- var chunkM6LWZWJB_js = require('../chunk-M6LWZWJB.js');
5
- var chunkSW65ATAP_js = require('../chunk-SW65ATAP.js');
6
- require('../chunk-2OZE575J.js');
7
- var chunk6UCEUWKV_js = require('../chunk-6UCEUWKV.js');
8
- var chunkJRSQX3DZ_js = require('../chunk-JRSQX3DZ.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');
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 chunkM6LWZWJB_js.a; }
16
+ get: function () { return chunk3PIF22YM_js.a; }
15
17
  });
16
18
  Object.defineProperty(exports, 'Button', {
17
19
  enumerable: true,
18
- get: function () { return chunkSW65ATAP_js.a; }
20
+ get: function () { return chunkMGX5N7ZU_js.a; }
19
21
  });
20
22
  Object.defineProperty(exports, 'Input', {
21
23
  enumerable: true,
22
- 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; }
23
29
  });
24
30
  Object.defineProperty(exports, 'Tooltip', {
25
31
  enumerable: true,
26
- get: function () { return chunkJRSQX3DZ_js.a; }
32
+ get: function () { return chunkV3HUNIZN_js.a; }
27
33
  });
28
34
  Object.defineProperty(exports, 'TooltipProvider', {
29
35
  enumerable: true,
30
- get: function () { return chunkJRSQX3DZ_js.b; }
36
+ get: function () { return chunkV3HUNIZN_js.b; }
31
37
  });
@@ -1,6 +1,8 @@
1
- import '../chunk-BGWTSJD7.mjs';
2
- export { a as Avatar } from '../chunk-MM2WP564.mjs';
3
- export { a as Button } from '../chunk-VJH5FTSI.mjs';
4
- import '../chunk-OACRI5I5.mjs';
5
- export { a as Input } from '../chunk-S5MGYCU6.mjs';
6
- export { a as Tooltip, b as TooltipProvider } from '../chunk-2FD4IU55.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';
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/contexts/index.js CHANGED
@@ -1,15 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-JQ4UTWMH.js');
4
- var chunkX2QIG2W5_js = require('../chunk-X2QIG2W5.js');
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 chunkX2QIG2W5_js.a; }
11
+ get: function () { return chunkZHWHVYOY_js.a; }
11
12
  });
12
13
  Object.defineProperty(exports, 'ThemeProvider', {
13
14
  enumerable: true,
14
- get: function () { return chunkX2QIG2W5_js.b; }
15
+ get: function () { return chunkZHWHVYOY_js.b; }
15
16
  });
@@ -1,2 +1,3 @@
1
1
  import '../chunk-WPEQQQCR.mjs';
2
- export { a as ThemeContext, b as ThemeProvider } from '../chunk-5SE7P5YG.mjs';
2
+ export { a as ThemeContext, b as ThemeProvider } from '../chunk-IGEGU67W.mjs';
3
+ import '../chunk-D2YRORSD.mjs';
@@ -1,14 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkX2QIG2W5_js = require('../../chunk-X2QIG2W5.js');
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 chunkX2QIG2W5_js.a; }
10
+ get: function () { return chunkZHWHVYOY_js.a; }
10
11
  });
11
12
  Object.defineProperty(exports, 'ThemeProvider', {
12
13
  enumerable: true,
13
- get: function () { return chunkX2QIG2W5_js.b; }
14
+ get: function () { return chunkZHWHVYOY_js.b; }
14
15
  });
@@ -1 +1,2 @@
1
- export { a as ThemeContext, b as ThemeProvider } from '../../chunk-5SE7P5YG.mjs';
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 chunkUJM6RAIA_js = require('../chunk-UJM6RAIA.js');
4
+ var chunkFA4FHRKJ_js = require('../chunk-FA4FHRKJ.js');
5
5
  require('../chunk-JQ4UTWMH.js');
6
- require('../chunk-X2QIG2W5.js');
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 chunkUJM6RAIA_js.a; }
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-CRJI67D5.mjs';
2
+ export { a as useTheme } from '../chunk-BEZVY5QD.mjs';
3
3
  import '../chunk-WPEQQQCR.mjs';
4
- import '../chunk-5SE7P5YG.mjs';
4
+ import '../chunk-IGEGU67W.mjs';
5
+ import '../chunk-D2YRORSD.mjs';
@@ -1,12 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkUJM6RAIA_js = require('../../chunk-UJM6RAIA.js');
3
+ var chunkFA4FHRKJ_js = require('../../chunk-FA4FHRKJ.js');
4
4
  require('../../chunk-JQ4UTWMH.js');
5
- require('../../chunk-X2QIG2W5.js');
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 chunkUJM6RAIA_js.a; }
12
+ get: function () { return chunkFA4FHRKJ_js.a; }
12
13
  });
@@ -1,3 +1,4 @@
1
- export { a as useTheme } from '../../chunk-CRJI67D5.mjs';
1
+ export { a as useTheme } from '../../chunk-BEZVY5QD.mjs';
2
2
  import '../../chunk-WPEQQQCR.mjs';
3
- import '../../chunk-5SE7P5YG.mjs';
3
+ import '../../chunk-IGEGU67W.mjs';
4
+ 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,54 +1,67 @@
1
1
  'use strict';
2
2
 
3
- var chunk2OZE575J_js = require('../chunk-2OZE575J.js');
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 chunk2OZE575J_js.a; }
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 chunk2OZE575J_js.f; }
18
+ get: function () { return chunkHDAV3F3Q_js.b; }
14
19
  });
15
20
  Object.defineProperty(exports, 'IconBook', {
16
21
  enumerable: true,
17
- get: function () { return chunk2OZE575J_js.i; }
22
+ get: function () { return chunkHDAV3F3Q_js.c; }
18
23
  });
19
24
  Object.defineProperty(exports, 'IconBrandGithub', {
20
25
  enumerable: true,
21
- get: function () { return chunk2OZE575J_js.k; }
26
+ get: function () { return chunkHDAV3F3Q_js.d; }
22
27
  });
23
28
  Object.defineProperty(exports, 'IconBrandGoogle', {
24
29
  enumerable: true,
25
- get: function () { return chunk2OZE575J_js.e; }
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 chunk2OZE575J_js.j; }
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 chunk2OZE575J_js.d; }
46
+ get: function () { return chunkHDAV3F3Q_js.i; }
34
47
  });
35
48
  Object.defineProperty(exports, 'IconDownload', {
36
49
  enumerable: true,
37
- get: function () { return chunk2OZE575J_js.h; }
50
+ get: function () { return chunkHDAV3F3Q_js.j; }
38
51
  });
39
52
  Object.defineProperty(exports, 'IconMail', {
40
53
  enumerable: true,
41
- get: function () { return chunk2OZE575J_js.g; }
54
+ get: function () { return chunkHDAV3F3Q_js.k; }
42
55
  });
43
56
  Object.defineProperty(exports, 'IconRocket', {
44
57
  enumerable: true,
45
- get: function () { return chunk2OZE575J_js.l; }
58
+ get: function () { return chunkHDAV3F3Q_js.l; }
46
59
  });
47
60
  Object.defineProperty(exports, 'IconTrash', {
48
61
  enumerable: true,
49
- get: function () { return chunk2OZE575J_js.c; }
62
+ get: function () { return chunkHDAV3F3Q_js.m; }
50
63
  });
51
64
  Object.defineProperty(exports, 'LoadingIcon', {
52
65
  enumerable: true,
53
- get: function () { return chunk2OZE575J_js.b; }
66
+ get: function () { return chunkHDAV3F3Q_js.o; }
54
67
  });
package/icons/index.mjs CHANGED
@@ -1 +1,2 @@
1
- export { a as GoogleIcon, f as IconBolt, i as IconBook, k as IconBrandGithub, e as IconBrandGoogle, j as IconBrandNpm, d as IconCurrencyDollar, h as IconDownload, g as IconMail, l as IconRocket, c as IconTrash, b as LoadingIcon } from '../chunk-OACRI5I5.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
+ 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,47 +1,53 @@
1
1
  'use strict';
2
2
 
3
3
  require('./chunk-7M2UD3MX.js');
4
- require('./chunk-RNAYKFZ2.js');
5
- var chunkM6LWZWJB_js = require('./chunk-M6LWZWJB.js');
6
- var chunkSW65ATAP_js = require('./chunk-SW65ATAP.js');
7
- require('./chunk-2OZE575J.js');
8
- var chunk6UCEUWKV_js = require('./chunk-6UCEUWKV.js');
9
- var chunkJRSQX3DZ_js = require('./chunk-JRSQX3DZ.js');
10
- var chunkUJM6RAIA_js = require('./chunk-UJM6RAIA.js');
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 chunkX2QIG2W5_js = require('./chunk-X2QIG2W5.js');
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 chunkM6LWZWJB_js.a; }
24
+ get: function () { return chunk3PIF22YM_js.a; }
19
25
  });
20
26
  Object.defineProperty(exports, 'Button', {
21
27
  enumerable: true,
22
- get: function () { return chunkSW65ATAP_js.a; }
28
+ get: function () { return chunkMGX5N7ZU_js.a; }
23
29
  });
24
30
  Object.defineProperty(exports, 'Input', {
25
31
  enumerable: true,
26
- get: function () { return chunk6UCEUWKV_js.a; }
32
+ get: function () { return chunkYEKURALR_js.a; }
27
33
  });
28
- Object.defineProperty(exports, 'Tooltip', {
34
+ Object.defineProperty(exports, 'Textarea', {
29
35
  enumerable: true,
30
- get: function () { return chunkJRSQX3DZ_js.a; }
36
+ get: function () { return chunkIN4WKCCQ_js.a; }
31
37
  });
32
- Object.defineProperty(exports, 'TooltipProvider', {
38
+ Object.defineProperty(exports, 'Tooltip', {
33
39
  enumerable: true,
34
- get: function () { return chunkJRSQX3DZ_js.b; }
40
+ get: function () { return chunkV3HUNIZN_js.a; }
35
41
  });
36
- Object.defineProperty(exports, 'useTheme', {
42
+ Object.defineProperty(exports, 'TooltipProvider', {
37
43
  enumerable: true,
38
- get: function () { return chunkUJM6RAIA_js.a; }
44
+ get: function () { return chunkV3HUNIZN_js.b; }
39
45
  });
40
46
  Object.defineProperty(exports, 'ThemeContext', {
41
47
  enumerable: true,
42
- get: function () { return chunkX2QIG2W5_js.a; }
48
+ get: function () { return chunkZHWHVYOY_js.a; }
43
49
  });
44
50
  Object.defineProperty(exports, 'ThemeProvider', {
45
51
  enumerable: true,
46
- get: function () { return chunkX2QIG2W5_js.b; }
52
+ get: function () { return chunkZHWHVYOY_js.b; }
47
53
  });
package/index.mjs CHANGED
@@ -1,10 +1,12 @@
1
1
  import './chunk-TAA4AMBN.mjs';
2
- import './chunk-BGWTSJD7.mjs';
3
- export { a as Avatar } from './chunk-MM2WP564.mjs';
4
- export { a as Button } from './chunk-VJH5FTSI.mjs';
5
- import './chunk-OACRI5I5.mjs';
6
- export { a as Input } from './chunk-S5MGYCU6.mjs';
7
- export { a as Tooltip, b as TooltipProvider } from './chunk-2FD4IU55.mjs';
8
- export { a as useTheme } from './chunk-CRJI67D5.mjs';
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-5SE7P5YG.mjs';
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.11.2",
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.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-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;
@@ -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 };