@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.
- package/dist/index.d.ts +172 -0
- package/dist/index.js +44 -0
- package/dist/index.mjs +11 -0
- package/icons/index.d.ts +1 -1
- package/icons/index.js +29 -26
- package/icons/index.mjs +6 -1
- package/package.json +6 -11
- package/Avatar-c6a2f50d.d.ts +0 -37
- package/Button-ae5be036.d.ts +0 -63
- package/Input-41362e55.d.ts +0 -12
- package/Textarea-7d32840f.d.ts +0 -10
- package/ThemeProvider-cd78c94b.d.ts +0 -23
- package/Tooltip.provider-6de64d8b.d.ts +0 -20
- package/chunk-2TUZK2GH.mjs +0 -6
- package/chunk-3IVFYRHH.mjs +0 -6
- package/chunk-5SE7P5YG.mjs +0 -6
- package/chunk-76WB4BRP.mjs +0 -1
- package/chunk-7M2UD3MX.js +0 -2
- package/chunk-ACJI7SSR.mjs +0 -7
- package/chunk-CRJI67D5.mjs +0 -6
- package/chunk-EYJ7HW7L.mjs +0 -8
- package/chunk-IN4WKCCQ.js +0 -29
- package/chunk-JQ4UTWMH.js +0 -2
- package/chunk-MTBLOLPH.js +0 -73
- package/chunk-PB6J6XFF.js +0 -30
- package/chunk-PJ2GPHOZ.js +0 -2
- package/chunk-PJRIZNPB.mjs +0 -7
- package/chunk-R2DVA3Z4.mjs +0 -6
- package/chunk-RWCYTJDT.js +0 -8
- package/chunk-SNIGSJJK.js +0 -29
- package/chunk-TAA4AMBN.mjs +0 -1
- package/chunk-UJM6RAIA.js +0 -12
- package/chunk-WPEQQQCR.mjs +0 -1
- package/chunk-X2QIG2W5.js +0 -13
- package/chunk-YEKURALR.js +0 -29
- package/components/avatar/index.d.ts +0 -5
- package/components/avatar/index.js +0 -10
- package/components/avatar/index.mjs +0 -1
- package/components/button/index.d.ts +0 -5
- package/components/button/index.js +0 -11
- package/components/button/index.mjs +0 -2
- package/components/index.d.ts +0 -11
- package/components/index.js +0 -36
- package/components/index.mjs +0 -7
- package/components/input/index.d.ts +0 -3
- package/components/input/index.js +0 -10
- package/components/input/index.mjs +0 -1
- package/components/textarea/index.d.ts +0 -3
- package/components/textarea/index.js +0 -10
- package/components/textarea/index.mjs +0 -1
- package/components/tooltip/index.d.ts +0 -4
- package/components/tooltip/index.js +0 -14
- package/components/tooltip/index.mjs +0 -1
- package/contexts/index.d.ts +0 -4
- package/contexts/index.js +0 -15
- package/contexts/index.mjs +0 -2
- package/contexts/theme/index.d.ts +0 -4
- package/contexts/theme/index.js +0 -14
- package/contexts/theme/index.mjs +0 -1
- package/hooks/index.d.ts +0 -3
- package/hooks/index.js +0 -13
- package/hooks/index.mjs +0 -4
- package/hooks/useTheme/index.d.ts +0 -3
- package/hooks/useTheme/index.js +0 -12
- package/hooks/useTheme/index.mjs +0 -3
- package/index.d.ts +0 -14
- package/index.js +0 -52
- package/index.mjs +0 -11
- package/theme.types-a32f0702.d.ts +0 -9
- package/useTheme-01c9253b.d.ts +0 -5
- package/utils.types-3df7903f.d.ts +0 -13
package/hooks/useTheme/index.mjs
DELETED
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';
|
package/useTheme-01c9253b.d.ts
DELETED
|
@@ -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 };
|