@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.
Files changed (69) hide show
  1. package/dist/Button/index.cjs +2 -2
  2. package/dist/Button/index.d.cts +2 -2
  3. package/dist/Button/index.d.ts +2 -2
  4. package/dist/Button/index.js +1 -1
  5. package/dist/{Button-B0H0w1eR.d.cts → Button-BgDaXYKX.d.cts} +3 -1
  6. package/dist/{Button-B0H0w1eR.d.ts → Button-BgDaXYKX.d.ts} +3 -1
  7. package/dist/Card/index.cjs +2 -2
  8. package/dist/Card/index.d.cts +2 -2
  9. package/dist/Card/index.d.ts +2 -2
  10. package/dist/Card/index.js +1 -1
  11. package/dist/{Card-Cl_I4L8G.d.cts → Card-C3mjLa6d.d.cts} +1 -1
  12. package/dist/{Card-Cl_I4L8G.d.ts → Card-C3mjLa6d.d.ts} +1 -1
  13. package/dist/Json/index.cjs +3 -3
  14. package/dist/Json/index.js +2 -2
  15. package/dist/Menu/index.cjs +2 -2
  16. package/dist/Menu/index.js +1 -1
  17. package/dist/Modal/index.cjs +2 -2
  18. package/dist/Modal/index.d.cts +4 -2
  19. package/dist/Modal/index.d.ts +4 -2
  20. package/dist/Modal/index.js +3 -3
  21. package/dist/Modal-Ck13vTaf.d.cts +183 -0
  22. package/dist/Modal-Ck13vTaf.d.ts +183 -0
  23. package/dist/Popover/index.cjs +2 -2
  24. package/dist/Popover/index.js +1 -1
  25. package/dist/chunk-2BPC6HYE.js +74 -0
  26. package/dist/chunk-2BPC6HYE.js.map +1 -0
  27. package/dist/{chunk-2UJJIIMU.js → chunk-2Q6M4DC3.js} +5 -4
  28. package/dist/chunk-2Q6M4DC3.js.map +1 -0
  29. package/dist/{chunk-V2C3KFMP.js → chunk-6G5VTF6K.js} +1 -4
  30. package/dist/chunk-6G5VTF6K.js.map +1 -0
  31. package/dist/{chunk-YUOFNPJO.cjs → chunk-B35F4645.cjs} +1 -4
  32. package/dist/chunk-B35F4645.cjs.map +1 -0
  33. package/dist/{chunk-7ERBBFDC.js → chunk-CNELFUYE.js} +2 -2
  34. package/dist/{chunk-L5OZDDU7.cjs → chunk-HHTTNYDC.cjs} +1 -4
  35. package/dist/chunk-HHTTNYDC.cjs.map +1 -0
  36. package/dist/{chunk-I76NWOB3.cjs → chunk-IAE5EJ7Z.cjs} +5 -4
  37. package/dist/chunk-IAE5EJ7Z.cjs.map +1 -0
  38. package/dist/chunk-JUE6KCUN.js +82 -0
  39. package/dist/chunk-JUE6KCUN.js.map +1 -0
  40. package/dist/{chunk-PI7CBPUS.cjs → chunk-MBKSGWDJ.cjs} +3 -3
  41. package/dist/{chunk-VZW4TVTX.js → chunk-VOXYQARK.js} +1 -4
  42. package/dist/chunk-VOXYQARK.js.map +1 -0
  43. package/dist/chunk-WL6ENU44.cjs +74 -0
  44. package/dist/chunk-WL6ENU44.cjs.map +1 -0
  45. package/dist/chunk-XDXO225D.cjs +82 -0
  46. package/dist/chunk-XDXO225D.cjs.map +1 -0
  47. package/dist/index.cjs +7 -7
  48. package/dist/index.d.cts +3 -3
  49. package/dist/index.d.ts +3 -3
  50. package/dist/index.js +8 -8
  51. package/package.json +17 -18
  52. package/dist/Modal-DWZB1uTb.d.cts +0 -29
  53. package/dist/Modal-DWZB1uTb.d.ts +0 -29
  54. package/dist/chunk-2UJJIIMU.js.map +0 -1
  55. package/dist/chunk-BPJAPVB5.cjs +0 -62
  56. package/dist/chunk-BPJAPVB5.cjs.map +0 -1
  57. package/dist/chunk-CTP2PZYD.js +0 -62
  58. package/dist/chunk-CTP2PZYD.js.map +0 -1
  59. package/dist/chunk-I76NWOB3.cjs.map +0 -1
  60. package/dist/chunk-L5OZDDU7.cjs.map +0 -1
  61. package/dist/chunk-V2C3KFMP.js.map +0 -1
  62. package/dist/chunk-VQ5Q33MY.js +0 -111
  63. package/dist/chunk-VQ5Q33MY.js.map +0 -1
  64. package/dist/chunk-VZW4TVTX.js.map +0 -1
  65. package/dist/chunk-WTKZJFQV.cjs +0 -111
  66. package/dist/chunk-WTKZJFQV.cjs.map +0 -1
  67. package/dist/chunk-YUOFNPJO.cjs.map +0 -1
  68. /package/dist/{chunk-7ERBBFDC.js.map → chunk-CNELFUYE.js.map} +0 -0
  69. /package/dist/{chunk-PI7CBPUS.cjs.map → chunk-MBKSGWDJ.cjs.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkI76NWOB3cjs = require('../chunk-I76NWOB3.cjs');
4
+ var _chunkIAE5EJ7Zcjs = require('../chunk-IAE5EJ7Z.cjs');
5
5
 
6
6
 
7
7
 
8
- exports.Button = _chunkI76NWOB3cjs.Button_default; exports.default = _chunkI76NWOB3cjs.Button_default2;
8
+ exports.Button = _chunkIAE5EJ7Zcjs.Button_default; exports.default = _chunkIAE5EJ7Zcjs.Button_default2;
9
9
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- import { B as Button } from '../Button-B0H0w1eR.cjs';
2
- export { a as ButtonProps } from '../Button-B0H0w1eR.cjs';
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';
@@ -1,5 +1,5 @@
1
- import { B as Button } from '../Button-B0H0w1eR.js';
2
- export { a as ButtonProps } from '../Button-B0H0w1eR.js';
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';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Button_default,
3
3
  Button_default2
4
- } from "../chunk-2UJJIIMU.js";
4
+ } from "../chunk-2Q6M4DC3.js";
5
5
  export {
6
6
  Button_default as Button,
7
7
  Button_default2 as default
@@ -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, ...passthrouhProps }: ButtonProps) => react_jsx_runtime.JSX.Element;
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, ...passthrouhProps }: ButtonProps) => react_jsx_runtime.JSX.Element;
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 };
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkWTKZJFQVcjs = require('../chunk-WTKZJFQV.cjs');
4
+ var _chunkWL6ENU44cjs = require('../chunk-WL6ENU44.cjs');
5
5
 
6
6
 
7
7
 
8
- exports.Card = _chunkWTKZJFQVcjs.Card_default; exports.default = _chunkWTKZJFQVcjs.Card_default2;
8
+ exports.Card = _chunkWL6ENU44cjs.Card_default; exports.default = _chunkWL6ENU44cjs.Card_default2;
9
9
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- import { C as Card } from '../Card-Cl_I4L8G.cjs';
2
- export { a as CardProps } from '../Card-Cl_I4L8G.cjs';
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';
@@ -1,5 +1,5 @@
1
- import { C as Card } from '../Card-Cl_I4L8G.js';
2
- export { a as CardProps } from '../Card-Cl_I4L8G.js';
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';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Card_default,
3
3
  Card_default2
4
- } from "../chunk-VQ5Q33MY.js";
4
+ } from "../chunk-2BPC6HYE.js";
5
5
  export {
6
6
  Card_default as Card,
7
7
  Card_default2 as default
@@ -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
- /** child components */
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
- /** child components */
79
+ /** card body content */
80
80
  children?: ReactNode;
81
81
  /** CSS class name */
82
82
  className?: string | CardVariantSlots;
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkPI7CBPUScjs = require('../chunk-PI7CBPUS.cjs');
5
- require('../chunk-I76NWOB3.cjs');
4
+ var _chunkMBKSGWDJcjs = require('../chunk-MBKSGWDJ.cjs');
5
+ require('../chunk-IAE5EJ7Z.cjs');
6
6
 
7
7
 
8
8
 
9
- exports.Json = _chunkPI7CBPUScjs.Json_default; exports.default = _chunkPI7CBPUScjs.Json_default2;
9
+ exports.Json = _chunkMBKSGWDJcjs.Json_default; exports.default = _chunkMBKSGWDJcjs.Json_default2;
10
10
  //# sourceMappingURL=index.cjs.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Json_default,
3
3
  Json_default2
4
- } from "../chunk-7ERBBFDC.js";
5
- import "../chunk-2UJJIIMU.js";
4
+ } from "../chunk-CNELFUYE.js";
5
+ import "../chunk-2Q6M4DC3.js";
6
6
  export {
7
7
  Json_default as Json,
8
8
  Json_default2 as default
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkL5OZDDU7cjs = require('../chunk-L5OZDDU7.cjs');
4
+ var _chunkHHTTNYDCcjs = require('../chunk-HHTTNYDC.cjs');
5
5
 
6
6
 
7
7
 
8
- exports.Menu = _chunkL5OZDDU7cjs.Menu_default; exports.default = _chunkL5OZDDU7cjs.Menu_default2;
8
+ exports.Menu = _chunkHHTTNYDCcjs.Menu_default; exports.default = _chunkHHTTNYDCcjs.Menu_default2;
9
9
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Menu_default,
3
3
  Menu_default2
4
- } from "../chunk-VZW4TVTX.js";
4
+ } from "../chunk-VOXYQARK.js";
5
5
  export {
6
6
  Menu_default as Menu,
7
7
  Menu_default2 as default
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkBPJAPVB5cjs = require('../chunk-BPJAPVB5.cjs');
5
+ var _chunkXDXO225Dcjs = require('../chunk-XDXO225D.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
- exports.Modal = _chunkBPJAPVB5cjs.Modal_default; exports.default = _chunkBPJAPVB5cjs.Modal_default2; exports.modalSizeOptions = _chunkBPJAPVB5cjs.modalSizeOptions;
10
+ exports.Modal = _chunkXDXO225Dcjs.Modal_default; exports.default = _chunkXDXO225Dcjs.Modal_default2; exports.modalVariants = _chunkXDXO225Dcjs.modalVariants;
11
11
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,8 @@
1
- import { M as Modal } from '../Modal-DWZB1uTb.cjs';
2
- export { a as ModalProps, m as modalSizeOptions } from '../Modal-DWZB1uTb.cjs';
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
 
@@ -1,6 +1,8 @@
1
- import { M as Modal } from '../Modal-DWZB1uTb.js';
2
- export { a as ModalProps, m as modalSizeOptions } from '../Modal-DWZB1uTb.js';
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
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Modal_default,
3
3
  Modal_default2,
4
- modalSizeOptions
5
- } from "../chunk-CTP2PZYD.js";
4
+ modalVariants
5
+ } from "../chunk-JUE6KCUN.js";
6
6
  export {
7
7
  Modal_default as Modal,
8
8
  Modal_default2 as default,
9
- modalSizeOptions
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 };
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkYUOFNPJOcjs = require('../chunk-YUOFNPJO.cjs');
4
+ var _chunkB35F4645cjs = require('../chunk-B35F4645.cjs');
5
5
 
6
6
 
7
7
 
8
- exports.Popover = _chunkYUOFNPJOcjs.Popover_default; exports.default = _chunkYUOFNPJOcjs.Popover_default2;
8
+ exports.Popover = _chunkB35F4645cjs.Popover_default; exports.default = _chunkB35F4645cjs.Popover_default2;
9
9
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Popover_default,
3
3
  Popover_default2
4
- } from "../chunk-V2C3KFMP.js";
4
+ } from "../chunk-6G5VTF6K.js";
5
5
  export {
6
6
  Popover_default as Popover,
7
7
  Popover_default2 as default