@fuf-stack/pixels 0.3.2 → 0.5.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/Button/index.cjs +2 -2
- package/dist/Button/index.d.cts +2 -2
- package/dist/Button/index.d.ts +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/{Button-B0H0w1eR.d.cts → Button-BgDaXYKX.d.cts} +3 -1
- package/dist/{Button-B0H0w1eR.d.ts → Button-BgDaXYKX.d.ts} +3 -1
- package/dist/Card/index.cjs +2 -2
- package/dist/Card/index.d.cts +2 -2
- package/dist/Card/index.d.ts +2 -2
- package/dist/Card/index.js +1 -1
- package/dist/{Card-Cl_I4L8G.d.cts → Card-C3mjLa6d.d.cts} +1 -1
- package/dist/{Card-Cl_I4L8G.d.ts → Card-C3mjLa6d.d.ts} +1 -1
- package/dist/Json/index.cjs +3 -3
- package/dist/Json/index.js +2 -2
- package/dist/Menu/index.cjs +2 -2
- package/dist/Menu/index.js +1 -1
- package/dist/Modal/index.cjs +2 -2
- package/dist/Modal/index.d.cts +4 -2
- package/dist/Modal/index.d.ts +4 -2
- package/dist/Modal/index.js +3 -3
- package/dist/Modal-Ck13vTaf.d.cts +183 -0
- package/dist/Modal-Ck13vTaf.d.ts +183 -0
- package/dist/Popover/index.cjs +2 -2
- package/dist/Popover/index.js +1 -1
- package/dist/chunk-2BPC6HYE.js +74 -0
- package/dist/chunk-2BPC6HYE.js.map +1 -0
- package/dist/{chunk-2UJJIIMU.js → chunk-2Q6M4DC3.js} +5 -4
- package/dist/chunk-2Q6M4DC3.js.map +1 -0
- package/dist/{chunk-V2C3KFMP.js → chunk-6G5VTF6K.js} +1 -4
- package/dist/chunk-6G5VTF6K.js.map +1 -0
- package/dist/{chunk-YUOFNPJO.cjs → chunk-B35F4645.cjs} +1 -4
- package/dist/chunk-B35F4645.cjs.map +1 -0
- package/dist/{chunk-7ERBBFDC.js → chunk-CNELFUYE.js} +2 -2
- package/dist/{chunk-L5OZDDU7.cjs → chunk-HHTTNYDC.cjs} +1 -4
- package/dist/chunk-HHTTNYDC.cjs.map +1 -0
- package/dist/{chunk-I76NWOB3.cjs → chunk-IAE5EJ7Z.cjs} +5 -4
- package/dist/chunk-IAE5EJ7Z.cjs.map +1 -0
- package/dist/chunk-JUE6KCUN.js +82 -0
- package/dist/chunk-JUE6KCUN.js.map +1 -0
- package/dist/{chunk-PI7CBPUS.cjs → chunk-MBKSGWDJ.cjs} +3 -3
- package/dist/{chunk-VZW4TVTX.js → chunk-VOXYQARK.js} +1 -4
- package/dist/chunk-VOXYQARK.js.map +1 -0
- package/dist/chunk-WL6ENU44.cjs +74 -0
- package/dist/chunk-WL6ENU44.cjs.map +1 -0
- package/dist/chunk-XDXO225D.cjs +82 -0
- package/dist/chunk-XDXO225D.cjs.map +1 -0
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8 -8
- package/package.json +17 -18
- package/dist/Modal-DWZB1uTb.d.cts +0 -29
- package/dist/Modal-DWZB1uTb.d.ts +0 -29
- package/dist/chunk-2UJJIIMU.js.map +0 -1
- package/dist/chunk-BPJAPVB5.cjs +0 -62
- package/dist/chunk-BPJAPVB5.cjs.map +0 -1
- package/dist/chunk-CTP2PZYD.js +0 -62
- package/dist/chunk-CTP2PZYD.js.map +0 -1
- package/dist/chunk-I76NWOB3.cjs.map +0 -1
- package/dist/chunk-L5OZDDU7.cjs.map +0 -1
- package/dist/chunk-V2C3KFMP.js.map +0 -1
- package/dist/chunk-VQ5Q33MY.js +0 -111
- package/dist/chunk-VQ5Q33MY.js.map +0 -1
- package/dist/chunk-VZW4TVTX.js.map +0 -1
- package/dist/chunk-WTKZJFQV.cjs +0 -111
- package/dist/chunk-WTKZJFQV.cjs.map +0 -1
- package/dist/chunk-YUOFNPJO.cjs.map +0 -1
- /package/dist/{chunk-7ERBBFDC.js.map → chunk-CNELFUYE.js.map} +0 -0
- /package/dist/{chunk-PI7CBPUS.cjs.map → chunk-MBKSGWDJ.cjs.map} +0 -0
package/dist/Button/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkIAE5EJ7Zcjs = require('../chunk-IAE5EJ7Z.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Button =
|
|
8
|
+
exports.Button = _chunkIAE5EJ7Zcjs.Button_default; exports.default = _chunkIAE5EJ7Zcjs.Button_default2;
|
|
9
9
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Button/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as Button } from '../Button-
|
|
2
|
-
export { a as ButtonProps } from '../Button-
|
|
1
|
+
import { B as Button } from '../Button-BgDaXYKX.cjs';
|
|
2
|
+
export { a as ButtonProps } from '../Button-BgDaXYKX.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import '@nextui-org/button';
|
|
5
5
|
import 'react';
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as Button } from '../Button-
|
|
2
|
-
export { a as ButtonProps } from '../Button-
|
|
1
|
+
import { B as Button } from '../Button-BgDaXYKX.js';
|
|
2
|
+
export { a as ButtonProps } from '../Button-BgDaXYKX.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import '@nextui-org/button';
|
|
5
5
|
import 'react';
|
package/dist/Button/index.js
CHANGED
|
@@ -13,6 +13,8 @@ interface ButtonProps {
|
|
|
13
13
|
color?: ButtonProps$1['color'];
|
|
14
14
|
/** disables function of the button. */
|
|
15
15
|
disabled?: boolean;
|
|
16
|
+
/** disables all button animations */
|
|
17
|
+
disableAnimation?: boolean;
|
|
16
18
|
/** If set loading animation is shown */
|
|
17
19
|
loading?: boolean;
|
|
18
20
|
/** optional icon */
|
|
@@ -31,6 +33,6 @@ interface ButtonProps {
|
|
|
31
33
|
/**
|
|
32
34
|
* Button component based on [NextUI Button](https://nextui.org/docs/components/button)
|
|
33
35
|
*/
|
|
34
|
-
declare const Button: ({ ariaLabel, children, className, color, disabled, icon, loading, onClick, size, testId, type, variant,
|
|
36
|
+
declare const Button: ({ ariaLabel, children, className, color, disabled, disableAnimation, icon, loading, onClick, size, testId, type, variant, }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
35
37
|
|
|
36
38
|
export { Button as B, type ButtonProps as a };
|
|
@@ -13,6 +13,8 @@ interface ButtonProps {
|
|
|
13
13
|
color?: ButtonProps$1['color'];
|
|
14
14
|
/** disables function of the button. */
|
|
15
15
|
disabled?: boolean;
|
|
16
|
+
/** disables all button animations */
|
|
17
|
+
disableAnimation?: boolean;
|
|
16
18
|
/** If set loading animation is shown */
|
|
17
19
|
loading?: boolean;
|
|
18
20
|
/** optional icon */
|
|
@@ -31,6 +33,6 @@ interface ButtonProps {
|
|
|
31
33
|
/**
|
|
32
34
|
* Button component based on [NextUI Button](https://nextui.org/docs/components/button)
|
|
33
35
|
*/
|
|
34
|
-
declare const Button: ({ ariaLabel, children, className, color, disabled, icon, loading, onClick, size, testId, type, variant,
|
|
36
|
+
declare const Button: ({ ariaLabel, children, className, color, disabled, disableAnimation, icon, loading, onClick, size, testId, type, variant, }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
35
37
|
|
|
36
38
|
export { Button as B, type ButtonProps as a };
|
package/dist/Card/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWL6ENU44cjs = require('../chunk-WL6ENU44.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Card =
|
|
8
|
+
exports.Card = _chunkWL6ENU44cjs.Card_default; exports.default = _chunkWL6ENU44cjs.Card_default2;
|
|
9
9
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Card/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Card } from '../Card-
|
|
2
|
-
export { a as CardProps } from '../Card-
|
|
1
|
+
import { C as Card } from '../Card-C3mjLa6d.cjs';
|
|
2
|
+
export { a as CardProps } from '../Card-C3mjLa6d.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
package/dist/Card/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Card } from '../Card-
|
|
2
|
-
export { a as CardProps } from '../Card-
|
|
1
|
+
import { C as Card } from '../Card-C3mjLa6d.js';
|
|
2
|
+
export { a as CardProps } from '../Card-C3mjLa6d.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
package/dist/Card/index.js
CHANGED
|
@@ -76,7 +76,7 @@ declare const cardVariants: tailwind_variants.TVReturnType<{
|
|
|
76
76
|
type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
77
77
|
type CardVariantSlots = Partial<Record<keyof ReturnType<typeof cardVariants>, string>>;
|
|
78
78
|
interface CardProps extends CardVariantProps {
|
|
79
|
-
/**
|
|
79
|
+
/** card body content */
|
|
80
80
|
children?: ReactNode;
|
|
81
81
|
/** CSS class name */
|
|
82
82
|
className?: string | CardVariantSlots;
|
|
@@ -76,7 +76,7 @@ declare const cardVariants: tailwind_variants.TVReturnType<{
|
|
|
76
76
|
type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
77
77
|
type CardVariantSlots = Partial<Record<keyof ReturnType<typeof cardVariants>, string>>;
|
|
78
78
|
interface CardProps extends CardVariantProps {
|
|
79
|
-
/**
|
|
79
|
+
/** card body content */
|
|
80
80
|
children?: ReactNode;
|
|
81
81
|
/** CSS class name */
|
|
82
82
|
className?: string | CardVariantSlots;
|
package/dist/Json/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkMBKSGWDJcjs = require('../chunk-MBKSGWDJ.cjs');
|
|
5
|
+
require('../chunk-IAE5EJ7Z.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.Json =
|
|
9
|
+
exports.Json = _chunkMBKSGWDJcjs.Json_default; exports.default = _chunkMBKSGWDJcjs.Json_default2;
|
|
10
10
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Json/index.js
CHANGED
package/dist/Menu/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHHTTNYDCcjs = require('../chunk-HHTTNYDC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Menu =
|
|
8
|
+
exports.Menu = _chunkHHTTNYDCcjs.Menu_default; exports.default = _chunkHHTTNYDCcjs.Menu_default2;
|
|
9
9
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Menu/index.js
CHANGED
package/dist/Modal/index.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkXDXO225Dcjs = require('../chunk-XDXO225D.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Modal =
|
|
10
|
+
exports.Modal = _chunkXDXO225Dcjs.Modal_default; exports.default = _chunkXDXO225Dcjs.Modal_default2; exports.modalVariants = _chunkXDXO225Dcjs.modalVariants;
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Modal/index.d.cts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { M as Modal } from '../Modal-
|
|
2
|
-
export { a as ModalProps, m as
|
|
1
|
+
import { M as Modal } from '../Modal-Ck13vTaf.cjs';
|
|
2
|
+
export { a as ModalProps, m as modalVariants } from '../Modal-Ck13vTaf.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
+
import 'tailwind-variants';
|
|
5
|
+
import 'tailwind-variants/dist/config.js';
|
|
4
6
|
import 'react';
|
|
5
7
|
|
|
6
8
|
|
package/dist/Modal/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { M as Modal } from '../Modal-
|
|
2
|
-
export { a as ModalProps, m as
|
|
1
|
+
import { M as Modal } from '../Modal-Ck13vTaf.js';
|
|
2
|
+
export { a as ModalProps, m as modalVariants } from '../Modal-Ck13vTaf.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
+
import 'tailwind-variants';
|
|
5
|
+
import 'tailwind-variants/dist/config.js';
|
|
4
6
|
import 'react';
|
|
5
7
|
|
|
6
8
|
|
package/dist/Modal/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Modal_default,
|
|
3
3
|
Modal_default2,
|
|
4
|
-
|
|
5
|
-
} from "../chunk-
|
|
4
|
+
modalVariants
|
|
5
|
+
} from "../chunk-JUE6KCUN.js";
|
|
6
6
|
export {
|
|
7
7
|
Modal_default as Modal,
|
|
8
8
|
Modal_default2 as default,
|
|
9
|
-
|
|
9
|
+
modalVariants
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
+
import { VariantProps } from 'tailwind-variants';
|
|
4
|
+
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
|
+
|
|
7
|
+
declare const modalVariants: tailwind_variants.TVReturnType<{
|
|
8
|
+
size: {
|
|
9
|
+
sm: {
|
|
10
|
+
base: string;
|
|
11
|
+
};
|
|
12
|
+
md: {
|
|
13
|
+
base: string;
|
|
14
|
+
};
|
|
15
|
+
lg: {
|
|
16
|
+
base: string;
|
|
17
|
+
};
|
|
18
|
+
xl: {
|
|
19
|
+
base: string;
|
|
20
|
+
};
|
|
21
|
+
full: {
|
|
22
|
+
base: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
backdrop: string;
|
|
27
|
+
base: string;
|
|
28
|
+
body: string;
|
|
29
|
+
closeButton: string;
|
|
30
|
+
footer: string;
|
|
31
|
+
header: string;
|
|
32
|
+
wrapper: string;
|
|
33
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
34
|
+
size: {
|
|
35
|
+
sm: {
|
|
36
|
+
base: string;
|
|
37
|
+
};
|
|
38
|
+
md: {
|
|
39
|
+
base: string;
|
|
40
|
+
};
|
|
41
|
+
lg: {
|
|
42
|
+
base: string;
|
|
43
|
+
};
|
|
44
|
+
xl: {
|
|
45
|
+
base: string;
|
|
46
|
+
};
|
|
47
|
+
full: {
|
|
48
|
+
base: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
size: {
|
|
53
|
+
sm: {
|
|
54
|
+
base: string;
|
|
55
|
+
};
|
|
56
|
+
md: {
|
|
57
|
+
base: string;
|
|
58
|
+
};
|
|
59
|
+
lg: {
|
|
60
|
+
base: string;
|
|
61
|
+
};
|
|
62
|
+
xl: {
|
|
63
|
+
base: string;
|
|
64
|
+
};
|
|
65
|
+
full: {
|
|
66
|
+
base: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}>, {
|
|
70
|
+
size: {
|
|
71
|
+
sm: {
|
|
72
|
+
base: string;
|
|
73
|
+
};
|
|
74
|
+
md: {
|
|
75
|
+
base: string;
|
|
76
|
+
};
|
|
77
|
+
lg: {
|
|
78
|
+
base: string;
|
|
79
|
+
};
|
|
80
|
+
xl: {
|
|
81
|
+
base: string;
|
|
82
|
+
};
|
|
83
|
+
full: {
|
|
84
|
+
base: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
backdrop: string;
|
|
89
|
+
base: string;
|
|
90
|
+
body: string;
|
|
91
|
+
closeButton: string;
|
|
92
|
+
footer: string;
|
|
93
|
+
header: string;
|
|
94
|
+
wrapper: string;
|
|
95
|
+
}, tailwind_variants.TVReturnType<{
|
|
96
|
+
size: {
|
|
97
|
+
sm: {
|
|
98
|
+
base: string;
|
|
99
|
+
};
|
|
100
|
+
md: {
|
|
101
|
+
base: string;
|
|
102
|
+
};
|
|
103
|
+
lg: {
|
|
104
|
+
base: string;
|
|
105
|
+
};
|
|
106
|
+
xl: {
|
|
107
|
+
base: string;
|
|
108
|
+
};
|
|
109
|
+
full: {
|
|
110
|
+
base: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}, {
|
|
114
|
+
backdrop: string;
|
|
115
|
+
base: string;
|
|
116
|
+
body: string;
|
|
117
|
+
closeButton: string;
|
|
118
|
+
footer: string;
|
|
119
|
+
header: string;
|
|
120
|
+
wrapper: string;
|
|
121
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
122
|
+
size: {
|
|
123
|
+
sm: {
|
|
124
|
+
base: string;
|
|
125
|
+
};
|
|
126
|
+
md: {
|
|
127
|
+
base: string;
|
|
128
|
+
};
|
|
129
|
+
lg: {
|
|
130
|
+
base: string;
|
|
131
|
+
};
|
|
132
|
+
xl: {
|
|
133
|
+
base: string;
|
|
134
|
+
};
|
|
135
|
+
full: {
|
|
136
|
+
base: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}, {
|
|
140
|
+
size: {
|
|
141
|
+
sm: {
|
|
142
|
+
base: string;
|
|
143
|
+
};
|
|
144
|
+
md: {
|
|
145
|
+
base: string;
|
|
146
|
+
};
|
|
147
|
+
lg: {
|
|
148
|
+
base: string;
|
|
149
|
+
};
|
|
150
|
+
xl: {
|
|
151
|
+
base: string;
|
|
152
|
+
};
|
|
153
|
+
full: {
|
|
154
|
+
base: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
}>, unknown, unknown, undefined>>;
|
|
158
|
+
type ModalVariantProps = VariantProps<typeof modalVariants>;
|
|
159
|
+
type ModalVariantSlots = Partial<Record<keyof ReturnType<typeof modalVariants>, string>>;
|
|
160
|
+
interface ModalProps extends ModalVariantProps {
|
|
161
|
+
/** modal body content */
|
|
162
|
+
children?: ReactNode;
|
|
163
|
+
/** CSS class name */
|
|
164
|
+
className?: string | ModalVariantSlots;
|
|
165
|
+
/** modal footer */
|
|
166
|
+
footer?: ReactNode;
|
|
167
|
+
/** modal header */
|
|
168
|
+
header?: ReactNode;
|
|
169
|
+
/** open state (controlled) */
|
|
170
|
+
isOpen: boolean;
|
|
171
|
+
/** close event handler */
|
|
172
|
+
onClose: () => void;
|
|
173
|
+
/** modal size */
|
|
174
|
+
size?: ModalVariantProps['size'];
|
|
175
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
176
|
+
testId?: string;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Modal component based on [NextUI Modal](https://nextui.org/docs/components/modal)
|
|
180
|
+
*/
|
|
181
|
+
declare const Modal: ({ children, className, footer, header, isOpen, onClose, size, testId, }: ModalProps) => react_jsx_runtime.JSX.Element;
|
|
182
|
+
|
|
183
|
+
export { Modal as M, type ModalProps as a, modalVariants as m };
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
+
import { VariantProps } from 'tailwind-variants';
|
|
4
|
+
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
|
+
|
|
7
|
+
declare const modalVariants: tailwind_variants.TVReturnType<{
|
|
8
|
+
size: {
|
|
9
|
+
sm: {
|
|
10
|
+
base: string;
|
|
11
|
+
};
|
|
12
|
+
md: {
|
|
13
|
+
base: string;
|
|
14
|
+
};
|
|
15
|
+
lg: {
|
|
16
|
+
base: string;
|
|
17
|
+
};
|
|
18
|
+
xl: {
|
|
19
|
+
base: string;
|
|
20
|
+
};
|
|
21
|
+
full: {
|
|
22
|
+
base: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
backdrop: string;
|
|
27
|
+
base: string;
|
|
28
|
+
body: string;
|
|
29
|
+
closeButton: string;
|
|
30
|
+
footer: string;
|
|
31
|
+
header: string;
|
|
32
|
+
wrapper: string;
|
|
33
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
34
|
+
size: {
|
|
35
|
+
sm: {
|
|
36
|
+
base: string;
|
|
37
|
+
};
|
|
38
|
+
md: {
|
|
39
|
+
base: string;
|
|
40
|
+
};
|
|
41
|
+
lg: {
|
|
42
|
+
base: string;
|
|
43
|
+
};
|
|
44
|
+
xl: {
|
|
45
|
+
base: string;
|
|
46
|
+
};
|
|
47
|
+
full: {
|
|
48
|
+
base: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
size: {
|
|
53
|
+
sm: {
|
|
54
|
+
base: string;
|
|
55
|
+
};
|
|
56
|
+
md: {
|
|
57
|
+
base: string;
|
|
58
|
+
};
|
|
59
|
+
lg: {
|
|
60
|
+
base: string;
|
|
61
|
+
};
|
|
62
|
+
xl: {
|
|
63
|
+
base: string;
|
|
64
|
+
};
|
|
65
|
+
full: {
|
|
66
|
+
base: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}>, {
|
|
70
|
+
size: {
|
|
71
|
+
sm: {
|
|
72
|
+
base: string;
|
|
73
|
+
};
|
|
74
|
+
md: {
|
|
75
|
+
base: string;
|
|
76
|
+
};
|
|
77
|
+
lg: {
|
|
78
|
+
base: string;
|
|
79
|
+
};
|
|
80
|
+
xl: {
|
|
81
|
+
base: string;
|
|
82
|
+
};
|
|
83
|
+
full: {
|
|
84
|
+
base: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
backdrop: string;
|
|
89
|
+
base: string;
|
|
90
|
+
body: string;
|
|
91
|
+
closeButton: string;
|
|
92
|
+
footer: string;
|
|
93
|
+
header: string;
|
|
94
|
+
wrapper: string;
|
|
95
|
+
}, tailwind_variants.TVReturnType<{
|
|
96
|
+
size: {
|
|
97
|
+
sm: {
|
|
98
|
+
base: string;
|
|
99
|
+
};
|
|
100
|
+
md: {
|
|
101
|
+
base: string;
|
|
102
|
+
};
|
|
103
|
+
lg: {
|
|
104
|
+
base: string;
|
|
105
|
+
};
|
|
106
|
+
xl: {
|
|
107
|
+
base: string;
|
|
108
|
+
};
|
|
109
|
+
full: {
|
|
110
|
+
base: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}, {
|
|
114
|
+
backdrop: string;
|
|
115
|
+
base: string;
|
|
116
|
+
body: string;
|
|
117
|
+
closeButton: string;
|
|
118
|
+
footer: string;
|
|
119
|
+
header: string;
|
|
120
|
+
wrapper: string;
|
|
121
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
122
|
+
size: {
|
|
123
|
+
sm: {
|
|
124
|
+
base: string;
|
|
125
|
+
};
|
|
126
|
+
md: {
|
|
127
|
+
base: string;
|
|
128
|
+
};
|
|
129
|
+
lg: {
|
|
130
|
+
base: string;
|
|
131
|
+
};
|
|
132
|
+
xl: {
|
|
133
|
+
base: string;
|
|
134
|
+
};
|
|
135
|
+
full: {
|
|
136
|
+
base: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}, {
|
|
140
|
+
size: {
|
|
141
|
+
sm: {
|
|
142
|
+
base: string;
|
|
143
|
+
};
|
|
144
|
+
md: {
|
|
145
|
+
base: string;
|
|
146
|
+
};
|
|
147
|
+
lg: {
|
|
148
|
+
base: string;
|
|
149
|
+
};
|
|
150
|
+
xl: {
|
|
151
|
+
base: string;
|
|
152
|
+
};
|
|
153
|
+
full: {
|
|
154
|
+
base: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
}>, unknown, unknown, undefined>>;
|
|
158
|
+
type ModalVariantProps = VariantProps<typeof modalVariants>;
|
|
159
|
+
type ModalVariantSlots = Partial<Record<keyof ReturnType<typeof modalVariants>, string>>;
|
|
160
|
+
interface ModalProps extends ModalVariantProps {
|
|
161
|
+
/** modal body content */
|
|
162
|
+
children?: ReactNode;
|
|
163
|
+
/** CSS class name */
|
|
164
|
+
className?: string | ModalVariantSlots;
|
|
165
|
+
/** modal footer */
|
|
166
|
+
footer?: ReactNode;
|
|
167
|
+
/** modal header */
|
|
168
|
+
header?: ReactNode;
|
|
169
|
+
/** open state (controlled) */
|
|
170
|
+
isOpen: boolean;
|
|
171
|
+
/** close event handler */
|
|
172
|
+
onClose: () => void;
|
|
173
|
+
/** modal size */
|
|
174
|
+
size?: ModalVariantProps['size'];
|
|
175
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
176
|
+
testId?: string;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Modal component based on [NextUI Modal](https://nextui.org/docs/components/modal)
|
|
180
|
+
*/
|
|
181
|
+
declare const Modal: ({ children, className, footer, header, isOpen, onClose, size, testId, }: ModalProps) => react_jsx_runtime.JSX.Element;
|
|
182
|
+
|
|
183
|
+
export { Modal as M, type ModalProps as a, modalVariants as m };
|
package/dist/Popover/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkB35F4645cjs = require('../chunk-B35F4645.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Popover =
|
|
8
|
+
exports.Popover = _chunkB35F4645cjs.Popover_default; exports.default = _chunkB35F4645cjs.Popover_default2;
|
|
9
9
|
//# sourceMappingURL=index.cjs.map
|