@szum-tech/design-system 1.12.3 → 1.13.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.
Files changed (71) hide show
  1. package/dist/index.d.ts +172 -0
  2. package/dist/index.js +44 -0
  3. package/dist/index.mjs +11 -0
  4. package/icons/index.d.ts +1 -1
  5. package/icons/index.js +29 -26
  6. package/icons/index.mjs +6 -1
  7. package/package.json +6 -11
  8. package/Avatar-c6a2f50d.d.ts +0 -37
  9. package/Button-ae5be036.d.ts +0 -63
  10. package/Input-41362e55.d.ts +0 -12
  11. package/Textarea-7d32840f.d.ts +0 -10
  12. package/ThemeProvider-cd78c94b.d.ts +0 -23
  13. package/Tooltip.provider-6de64d8b.d.ts +0 -20
  14. package/chunk-2TUZK2GH.mjs +0 -6
  15. package/chunk-3IVFYRHH.mjs +0 -6
  16. package/chunk-5SE7P5YG.mjs +0 -6
  17. package/chunk-76WB4BRP.mjs +0 -1
  18. package/chunk-7M2UD3MX.js +0 -2
  19. package/chunk-ACJI7SSR.mjs +0 -7
  20. package/chunk-CRJI67D5.mjs +0 -6
  21. package/chunk-EYJ7HW7L.mjs +0 -8
  22. package/chunk-IN4WKCCQ.js +0 -29
  23. package/chunk-JQ4UTWMH.js +0 -2
  24. package/chunk-MTBLOLPH.js +0 -73
  25. package/chunk-PB6J6XFF.js +0 -30
  26. package/chunk-PJ2GPHOZ.js +0 -2
  27. package/chunk-PJRIZNPB.mjs +0 -7
  28. package/chunk-R2DVA3Z4.mjs +0 -6
  29. package/chunk-RWCYTJDT.js +0 -8
  30. package/chunk-SNIGSJJK.js +0 -29
  31. package/chunk-TAA4AMBN.mjs +0 -1
  32. package/chunk-UJM6RAIA.js +0 -12
  33. package/chunk-WPEQQQCR.mjs +0 -1
  34. package/chunk-X2QIG2W5.js +0 -13
  35. package/chunk-YEKURALR.js +0 -29
  36. package/components/avatar/index.d.ts +0 -5
  37. package/components/avatar/index.js +0 -10
  38. package/components/avatar/index.mjs +0 -1
  39. package/components/button/index.d.ts +0 -5
  40. package/components/button/index.js +0 -11
  41. package/components/button/index.mjs +0 -2
  42. package/components/index.d.ts +0 -11
  43. package/components/index.js +0 -36
  44. package/components/index.mjs +0 -7
  45. package/components/input/index.d.ts +0 -3
  46. package/components/input/index.js +0 -10
  47. package/components/input/index.mjs +0 -1
  48. package/components/textarea/index.d.ts +0 -3
  49. package/components/textarea/index.js +0 -10
  50. package/components/textarea/index.mjs +0 -1
  51. package/components/tooltip/index.d.ts +0 -4
  52. package/components/tooltip/index.js +0 -14
  53. package/components/tooltip/index.mjs +0 -1
  54. package/contexts/index.d.ts +0 -4
  55. package/contexts/index.js +0 -15
  56. package/contexts/index.mjs +0 -2
  57. package/contexts/theme/index.d.ts +0 -4
  58. package/contexts/theme/index.js +0 -14
  59. package/contexts/theme/index.mjs +0 -1
  60. package/hooks/index.d.ts +0 -3
  61. package/hooks/index.js +0 -13
  62. package/hooks/index.mjs +0 -4
  63. package/hooks/useTheme/index.d.ts +0 -3
  64. package/hooks/useTheme/index.js +0 -12
  65. package/hooks/useTheme/index.mjs +0 -3
  66. package/index.d.ts +0 -14
  67. package/index.js +0 -52
  68. package/index.mjs +0 -11
  69. package/theme.types-a32f0702.d.ts +0 -9
  70. package/useTheme-01c9253b.d.ts +0 -5
  71. package/utils.types-3df7903f.d.ts +0 -13
@@ -1,3 +0,0 @@
1
- export { a as useTheme } from '../../chunk-CRJI67D5.mjs';
2
- import '../../chunk-WPEQQQCR.mjs';
3
- import '../../chunk-5SE7P5YG.mjs';
package/index.d.ts DELETED
@@ -1,14 +0,0 @@
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';
6
- export { u as useTheme } from './useTheme-01c9253b.js';
7
- export { T as ThemeContext, b as ThemeProvider, a as ThemeProviderProps } from './ThemeProvider-cd78c94b.js';
8
- export { a as ThemeContextType, T as ThemeType } from './theme.types-a32f0702.js';
9
- import 'react/jsx-runtime';
10
- import 'react';
11
- import 'class-variance-authority';
12
- import 'class-variance-authority/dist/types';
13
- import './utils.types-3df7903f.js';
14
- import '@radix-ui/react-tooltip';
package/index.js DELETED
@@ -1,52 +0,0 @@
1
- 'use strict';
2
-
3
- require('./chunk-7M2UD3MX.js');
4
- var chunkUJM6RAIA_js = require('./chunk-UJM6RAIA.js');
5
- require('./chunk-PJ2GPHOZ.js');
6
- var chunkRWCYTJDT_js = require('./chunk-RWCYTJDT.js');
7
- var chunkPB6J6XFF_js = require('./chunk-PB6J6XFF.js');
8
- require('./chunk-MTBLOLPH.js');
9
- var chunkYEKURALR_js = require('./chunk-YEKURALR.js');
10
- var chunkIN4WKCCQ_js = require('./chunk-IN4WKCCQ.js');
11
- var chunkSNIGSJJK_js = require('./chunk-SNIGSJJK.js');
12
- require('./chunk-JQ4UTWMH.js');
13
- var chunkX2QIG2W5_js = require('./chunk-X2QIG2W5.js');
14
-
15
-
16
-
17
- Object.defineProperty(exports, 'useTheme', {
18
- enumerable: true,
19
- get: function () { return chunkUJM6RAIA_js.a; }
20
- });
21
- Object.defineProperty(exports, 'Avatar', {
22
- enumerable: true,
23
- get: function () { return chunkRWCYTJDT_js.a; }
24
- });
25
- Object.defineProperty(exports, 'Button', {
26
- enumerable: true,
27
- get: function () { return chunkPB6J6XFF_js.a; }
28
- });
29
- Object.defineProperty(exports, 'Input', {
30
- enumerable: true,
31
- get: function () { return chunkYEKURALR_js.a; }
32
- });
33
- Object.defineProperty(exports, 'Textarea', {
34
- enumerable: true,
35
- get: function () { return chunkIN4WKCCQ_js.a; }
36
- });
37
- Object.defineProperty(exports, 'Tooltip', {
38
- enumerable: true,
39
- get: function () { return chunkSNIGSJJK_js.a; }
40
- });
41
- Object.defineProperty(exports, 'TooltipProvider', {
42
- enumerable: true,
43
- get: function () { return chunkSNIGSJJK_js.b; }
44
- });
45
- Object.defineProperty(exports, 'ThemeContext', {
46
- enumerable: true,
47
- get: function () { return chunkX2QIG2W5_js.a; }
48
- });
49
- Object.defineProperty(exports, 'ThemeProvider', {
50
- enumerable: true,
51
- get: function () { return chunkX2QIG2W5_js.b; }
52
- });
package/index.mjs DELETED
@@ -1,11 +0,0 @@
1
- import './chunk-TAA4AMBN.mjs';
2
- export { a as useTheme } from './chunk-CRJI67D5.mjs';
3
- import './chunk-76WB4BRP.mjs';
4
- export { a as Avatar } from './chunk-2TUZK2GH.mjs';
5
- export { a as Button } from './chunk-EYJ7HW7L.mjs';
6
- import './chunk-3IVFYRHH.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-R2DVA3Z4.mjs';
10
- import './chunk-WPEQQQCR.mjs';
11
- export { a as ThemeContext, b as ThemeProvider } from './chunk-5SE7P5YG.mjs';
@@ -1,9 +0,0 @@
1
- import React__default from 'react';
2
-
3
- type ThemeType = "light" | "dark";
4
- interface ThemeContextType {
5
- theme: ThemeType;
6
- setTheme: React__default.Dispatch<React__default.SetStateAction<ThemeType>>;
7
- }
8
-
9
- export { ThemeType as T, ThemeContextType as a };
@@ -1,5 +0,0 @@
1
- import { a as ThemeContextType } from './theme.types-a32f0702.js';
2
-
3
- declare const useTheme: () => ThemeContextType;
4
-
5
- export { useTheme as u };
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
-
3
- type AsProp<C extends React.ElementType> = {
4
- /**
5
- * Defines HTML tag to be used for component
6
- */
7
- as?: C;
8
- };
9
- type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
10
- type PolymorphicComponentProp<C extends React.ElementType, Props = {}> = Props & AsProp<C> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
11
- type OmitStylesProps<T> = Omit<T, "className" | "style">;
12
-
13
- export { AsProp as A, OmitStylesProps as O, PolymorphicComponentProp as P };