@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.
- package/{Avatar-d6a17567.d.ts → Avatar-c6a2f50d.d.ts} +1 -1
- package/{Button-d3c2777e.d.ts → Button-ae5be036.d.ts} +1 -1
- package/Input-41362e55.d.ts +12 -0
- package/Textarea-7d32840f.d.ts +10 -0
- package/{Tooltip.provider-90345769.d.ts → Tooltip.provider-6de64d8b.d.ts} +1 -1
- package/{chunk-K6XKLHGZ.js → chunk-3PIF22YM.js} +2 -2
- package/chunk-ACJI7SSR.mjs +7 -0
- package/{chunk-TVVL3MG4.mjs → chunk-CBGYIR3X.mjs} +3 -3
- package/{chunk-C33NLJFI.mjs → chunk-GETS73RC.mjs} +2 -2
- package/{chunk-HDW3T44C.js → chunk-HDAV3F3Q.js} +7 -4
- package/chunk-IN4WKCCQ.js +29 -0
- package/{chunk-Z7QTQD5Y.mjs → chunk-KEPEPMEM.mjs} +2 -2
- package/{chunk-IMNFECDL.mjs → chunk-LBRQSDEO.mjs} +3 -3
- package/{chunk-WT23FBI3.js → chunk-MGX5N7ZU.js} +3 -3
- package/chunk-PJRIZNPB.mjs +7 -0
- package/{chunk-XZSDQC2V.js → chunk-V3HUNIZN.js} +2 -2
- package/chunk-YEKURALR.js +29 -0
- package/components/{Avatar → avatar}/index.d.ts +1 -1
- package/components/avatar/index.js +11 -0
- package/components/avatar/index.mjs +2 -0
- package/components/button/index.d.ts +5 -0
- package/components/button/index.js +12 -0
- package/components/button/index.mjs +3 -0
- package/components/index.d.ts +5 -4
- package/components/index.js +16 -11
- package/components/index.mjs +7 -6
- package/components/input/index.d.ts +3 -0
- package/components/input/index.js +11 -0
- package/components/input/index.mjs +2 -0
- package/components/textarea/index.d.ts +3 -0
- package/components/textarea/index.js +11 -0
- package/components/textarea/index.mjs +2 -0
- package/components/tooltip/index.d.ts +4 -0
- package/components/tooltip/index.js +15 -0
- package/components/tooltip/index.mjs +2 -0
- package/icons/index.d.ts +3 -5
- package/icons/index.js +25 -13
- package/icons/index.mjs +1 -1
- package/index.d.ts +5 -4
- package/index.js +20 -15
- package/index.mjs +7 -6
- package/package.json +7 -6
- package/theme/main-preset.js +3 -0
- package/Input.component-887e7975.d.ts +0 -12
- package/chunk-6UCEUWKV.js +0 -29
- package/chunk-S5MGYCU6.mjs +0 -7
- package/components/Avatar/index.js +0 -8
- package/components/Avatar/index.mjs +0 -2
- package/components/Button/index.d.ts +0 -5
- package/components/Button/index.js +0 -9
- package/components/Button/index.mjs +0 -3
- package/components/Input/index.d.ts +0 -3
- package/components/Input/index.js +0 -8
- package/components/Input/index.mjs +0 -2
- package/components/Tooltip/index.d.ts +0 -4
- package/components/Tooltip/index.js +0 -17
- package/components/Tooltip/index.mjs +0 -2
- /package/{chunk-BGWTSJD7.mjs → chunk-76WB4BRP.mjs} +0 -0
- /package/{chunk-RNAYKFZ2.js → chunk-PJ2GPHOZ.js} +0 -0
|
@@ -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
|
+
});
|
package/components/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
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';
|
package/components/index.js
CHANGED
|
@@ -1,32 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../chunk-
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
7
|
-
var
|
|
8
|
-
var
|
|
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
|
|
16
|
+
get: function () { return chunk3PIF22YM_js.a; }
|
|
16
17
|
});
|
|
17
18
|
Object.defineProperty(exports, 'Button', {
|
|
18
19
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkMGX5N7ZU_js.a; }
|
|
20
21
|
});
|
|
21
22
|
Object.defineProperty(exports, 'Input', {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
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
|
|
32
|
+
get: function () { return chunkV3HUNIZN_js.a; }
|
|
28
33
|
});
|
|
29
34
|
Object.defineProperty(exports, 'TooltipProvider', {
|
|
30
35
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkV3HUNIZN_js.b; }
|
|
32
37
|
});
|
package/components/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import '../chunk-
|
|
2
|
-
export { a as Avatar } from '../chunk-
|
|
3
|
-
export { a as Button } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
export { a as Input } from '../chunk-
|
|
6
|
-
export { a as
|
|
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,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
|
+
});
|
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
|
-
|
|
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,
|
|
9
|
+
export { GoogleIcon, LoadingIcon };
|
package/icons/index.js
CHANGED
|
@@ -1,55 +1,67 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
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
|
|
18
|
+
get: function () { return chunkHDAV3F3Q_js.b; }
|
|
15
19
|
});
|
|
16
20
|
Object.defineProperty(exports, 'IconBook', {
|
|
17
21
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkHDAV3F3Q_js.c; }
|
|
19
23
|
});
|
|
20
24
|
Object.defineProperty(exports, 'IconBrandGithub', {
|
|
21
25
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkHDAV3F3Q_js.d; }
|
|
23
27
|
});
|
|
24
28
|
Object.defineProperty(exports, 'IconBrandGoogle', {
|
|
25
29
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
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
|
|
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
|
|
46
|
+
get: function () { return chunkHDAV3F3Q_js.i; }
|
|
35
47
|
});
|
|
36
48
|
Object.defineProperty(exports, 'IconDownload', {
|
|
37
49
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkHDAV3F3Q_js.j; }
|
|
39
51
|
});
|
|
40
52
|
Object.defineProperty(exports, 'IconMail', {
|
|
41
53
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkHDAV3F3Q_js.k; }
|
|
43
55
|
});
|
|
44
56
|
Object.defineProperty(exports, 'IconRocket', {
|
|
45
57
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkHDAV3F3Q_js.l; }
|
|
47
59
|
});
|
|
48
60
|
Object.defineProperty(exports, 'IconTrash', {
|
|
49
61
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkHDAV3F3Q_js.m; }
|
|
51
63
|
});
|
|
52
64
|
Object.defineProperty(exports, 'LoadingIcon', {
|
|
53
65
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkHDAV3F3Q_js.o; }
|
|
55
67
|
});
|
package/icons/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
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 {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
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
|
|
24
|
+
get: function () { return chunk3PIF22YM_js.a; }
|
|
20
25
|
});
|
|
21
26
|
Object.defineProperty(exports, 'Button', {
|
|
22
27
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkMGX5N7ZU_js.a; }
|
|
24
29
|
});
|
|
25
30
|
Object.defineProperty(exports, 'Input', {
|
|
26
31
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkYEKURALR_js.a; }
|
|
28
33
|
});
|
|
29
|
-
Object.defineProperty(exports, '
|
|
34
|
+
Object.defineProperty(exports, 'Textarea', {
|
|
30
35
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkIN4WKCCQ_js.a; }
|
|
32
37
|
});
|
|
33
|
-
Object.defineProperty(exports, '
|
|
38
|
+
Object.defineProperty(exports, 'Tooltip', {
|
|
34
39
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkV3HUNIZN_js.a; }
|
|
36
41
|
});
|
|
37
|
-
Object.defineProperty(exports, '
|
|
42
|
+
Object.defineProperty(exports, 'TooltipProvider', {
|
|
38
43
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
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.
|
|
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.
|
|
92
|
-
"postcss": "^8.4.
|
|
92
|
+
"happy-dom": "^9.20.3",
|
|
93
|
+
"postcss": "^8.4.24",
|
|
93
94
|
"prettier": "^2.8.8",
|
|
94
|
-
"prettier-plugin-tailwindcss": "^0.
|
|
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.
|
|
110
|
+
"vitest": "^0.31.1"
|
|
110
111
|
},
|
|
111
112
|
"peerDependencies": {
|
|
112
113
|
"react": "^18.2.0",
|
package/theme/main-preset.js
CHANGED
|
@@ -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;
|
package/chunk-S5MGYCU6.mjs
DELETED
|
@@ -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,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,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
|
-
});
|
|
File without changes
|
|
File without changes
|