@szum-tech/design-system 1.12.2 → 1.13.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/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 -27
- package/icons/index.mjs +6 -2
- package/package.json +7 -12
- 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-3PIF22YM.js +0 -9
- package/chunk-76WB4BRP.mjs +0 -1
- package/chunk-7M2UD3MX.js +0 -2
- package/chunk-ACJI7SSR.mjs +0 -7
- package/chunk-BEZVY5QD.mjs +0 -7
- package/chunk-BYGQEMVJ.js +0 -30
- package/chunk-D2YRORSD.mjs +0 -3
- package/chunk-DKDLYQOD.js +0 -7
- package/chunk-FA4FHRKJ.js +0 -13
- package/chunk-GETS73RC.mjs +0 -7
- package/chunk-IGEGU67W.mjs +0 -7
- package/chunk-IN4WKCCQ.js +0 -29
- package/chunk-IZJ75JZB.js +0 -55
- package/chunk-IZQ36CWU.mjs +0 -36
- package/chunk-JQ4UTWMH.js +0 -2
- package/chunk-KEPEPMEM.mjs +0 -7
- package/chunk-LXYPZK73.mjs +0 -8
- package/chunk-PJ2GPHOZ.js +0 -2
- package/chunk-PJRIZNPB.mjs +0 -7
- package/chunk-TAA4AMBN.mjs +0 -1
- package/chunk-V3HUNIZN.js +0 -30
- package/chunk-WPEQQQCR.mjs +0 -1
- package/chunk-YEKURALR.js +0 -29
- package/chunk-ZHWHVYOY.js +0 -14
- package/components/avatar/index.d.ts +0 -5
- package/components/avatar/index.js +0 -11
- package/components/avatar/index.mjs +0 -2
- package/components/button/index.d.ts +0 -5
- package/components/button/index.js +0 -12
- package/components/button/index.mjs +0 -3
- package/components/index.d.ts +0 -11
- package/components/index.js +0 -37
- package/components/index.mjs +0 -8
- package/components/input/index.d.ts +0 -3
- package/components/input/index.js +0 -11
- package/components/input/index.mjs +0 -2
- package/components/textarea/index.d.ts +0 -3
- package/components/textarea/index.js +0 -11
- package/components/textarea/index.mjs +0 -2
- package/components/tooltip/index.d.ts +0 -4
- package/components/tooltip/index.js +0 -15
- package/components/tooltip/index.mjs +0 -2
- package/contexts/index.d.ts +0 -4
- package/contexts/index.js +0 -16
- package/contexts/index.mjs +0 -3
- package/contexts/theme/index.d.ts +0 -4
- package/contexts/theme/index.js +0 -15
- package/contexts/theme/index.mjs +0 -2
- package/hooks/index.d.ts +0 -3
- package/hooks/index.js +0 -14
- package/hooks/index.mjs +0 -5
- package/hooks/useTheme/index.d.ts +0 -3
- package/hooks/useTheme/index.js +0 -13
- package/hooks/useTheme/index.mjs +0 -4
- package/index.d.ts +0 -14
- package/index.js +0 -53
- package/index.mjs +0 -12
- package/theme.types-a32f0702.d.ts +0 -9
- package/useTheme-01c9253b.d.ts +0 -5
- package/utils.types-3df7903f.d.ts +0 -13
package/components/index.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('../chunk-PJ2GPHOZ.js');
|
|
4
|
-
var chunk3PIF22YM_js = require('../chunk-3PIF22YM.js');
|
|
5
|
-
var chunkBYGQEMVJ_js = require('../chunk-BYGQEMVJ.js');
|
|
6
|
-
require('../chunk-IZJ75JZB.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');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Object.defineProperty(exports, 'Avatar', {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () { return chunk3PIF22YM_js.a; }
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, 'Button', {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () { return chunkBYGQEMVJ_js.a; }
|
|
21
|
-
});
|
|
22
|
-
Object.defineProperty(exports, 'Input', {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function () { return chunkYEKURALR_js.a; }
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(exports, 'Textarea', {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function () { return chunkIN4WKCCQ_js.a; }
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, 'Tooltip', {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () { return chunkV3HUNIZN_js.a; }
|
|
33
|
-
});
|
|
34
|
-
Object.defineProperty(exports, 'TooltipProvider', {
|
|
35
|
-
enumerable: true,
|
|
36
|
-
get: function () { return chunkV3HUNIZN_js.b; }
|
|
37
|
-
});
|
package/components/index.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import '../chunk-76WB4BRP.mjs';
|
|
2
|
-
export { a as Avatar } from '../chunk-GETS73RC.mjs';
|
|
3
|
-
export { a as Button } from '../chunk-LXYPZK73.mjs';
|
|
4
|
-
import '../chunk-IZQ36CWU.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';
|
|
@@ -1,15 +0,0 @@
|
|
|
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.d.ts
DELETED
package/contexts/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('../chunk-JQ4UTWMH.js');
|
|
4
|
-
var chunkZHWHVYOY_js = require('../chunk-ZHWHVYOY.js');
|
|
5
|
-
require('../chunk-DKDLYQOD.js');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, 'ThemeContext', {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunkZHWHVYOY_js.a; }
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, 'ThemeProvider', {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunkZHWHVYOY_js.b; }
|
|
16
|
-
});
|
package/contexts/index.mjs
DELETED
package/contexts/theme/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkZHWHVYOY_js = require('../../chunk-ZHWHVYOY.js');
|
|
4
|
-
require('../../chunk-DKDLYQOD.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, 'ThemeContext', {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkZHWHVYOY_js.a; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, 'ThemeProvider', {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkZHWHVYOY_js.b; }
|
|
15
|
-
});
|
package/contexts/theme/index.mjs
DELETED
package/hooks/index.d.ts
DELETED
package/hooks/index.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('../chunk-7M2UD3MX.js');
|
|
4
|
-
var chunkFA4FHRKJ_js = require('../chunk-FA4FHRKJ.js');
|
|
5
|
-
require('../chunk-JQ4UTWMH.js');
|
|
6
|
-
require('../chunk-ZHWHVYOY.js');
|
|
7
|
-
require('../chunk-DKDLYQOD.js');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports, 'useTheme', {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunkFA4FHRKJ_js.a; }
|
|
14
|
-
});
|
package/hooks/index.mjs
DELETED
package/hooks/useTheme/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkFA4FHRKJ_js = require('../../chunk-FA4FHRKJ.js');
|
|
4
|
-
require('../../chunk-JQ4UTWMH.js');
|
|
5
|
-
require('../../chunk-ZHWHVYOY.js');
|
|
6
|
-
require('../../chunk-DKDLYQOD.js');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports, 'useTheme', {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () { return chunkFA4FHRKJ_js.a; }
|
|
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,53 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('./chunk-7M2UD3MX.js');
|
|
4
|
-
var chunkFA4FHRKJ_js = require('./chunk-FA4FHRKJ.js');
|
|
5
|
-
require('./chunk-PJ2GPHOZ.js');
|
|
6
|
-
var chunk3PIF22YM_js = require('./chunk-3PIF22YM.js');
|
|
7
|
-
var chunkBYGQEMVJ_js = require('./chunk-BYGQEMVJ.js');
|
|
8
|
-
require('./chunk-IZJ75JZB.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');
|
|
12
|
-
require('./chunk-JQ4UTWMH.js');
|
|
13
|
-
var chunkZHWHVYOY_js = require('./chunk-ZHWHVYOY.js');
|
|
14
|
-
require('./chunk-DKDLYQOD.js');
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Object.defineProperty(exports, 'useTheme', {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () { return chunkFA4FHRKJ_js.a; }
|
|
21
|
-
});
|
|
22
|
-
Object.defineProperty(exports, 'Avatar', {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function () { return chunk3PIF22YM_js.a; }
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(exports, 'Button', {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function () { return chunkBYGQEMVJ_js.a; }
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, 'Input', {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () { return chunkYEKURALR_js.a; }
|
|
33
|
-
});
|
|
34
|
-
Object.defineProperty(exports, 'Textarea', {
|
|
35
|
-
enumerable: true,
|
|
36
|
-
get: function () { return chunkIN4WKCCQ_js.a; }
|
|
37
|
-
});
|
|
38
|
-
Object.defineProperty(exports, 'Tooltip', {
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: function () { return chunkV3HUNIZN_js.a; }
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, 'TooltipProvider', {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () { return chunkV3HUNIZN_js.b; }
|
|
45
|
-
});
|
|
46
|
-
Object.defineProperty(exports, 'ThemeContext', {
|
|
47
|
-
enumerable: true,
|
|
48
|
-
get: function () { return chunkZHWHVYOY_js.a; }
|
|
49
|
-
});
|
|
50
|
-
Object.defineProperty(exports, 'ThemeProvider', {
|
|
51
|
-
enumerable: true,
|
|
52
|
-
get: function () { return chunkZHWHVYOY_js.b; }
|
|
53
|
-
});
|
package/index.mjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import './chunk-TAA4AMBN.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-LXYPZK73.mjs';
|
|
6
|
-
import './chunk-IZQ36CWU.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';
|
|
10
|
-
import './chunk-WPEQQQCR.mjs';
|
|
11
|
-
export { a as ThemeContext, b as ThemeProvider } from './chunk-IGEGU67W.mjs';
|
|
12
|
-
import './chunk-D2YRORSD.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 };
|