@fuf-stack/pixels 0.43.4 → 0.43.6

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.
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkDDQIHJ3Ecjs = require('../chunk-DDQIHJ3E.cjs');
4
+ var _chunkXWKXRSNYcjs = require('../chunk-XWKXRSNY.cjs');
5
5
  require('../chunk-TX2VP4J7.cjs');
6
6
  require('../chunk-D4TLDLEX.cjs');
7
7
 
8
8
 
9
9
 
10
- exports.Tooltip = _chunkDDQIHJ3Ecjs.Tooltip_default; exports.default = _chunkDDQIHJ3Ecjs.Tooltip_default2;
10
+ exports.Tooltip = _chunkXWKXRSNYcjs.Tooltip_default; exports.default = _chunkXWKXRSNYcjs.Tooltip_default2;
11
11
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- import { T as Tooltip } from '../Tooltip-Cpmigwzs.cjs';
2
- export { b as TooltipPlacement, a as TooltipProps } from '../Tooltip-Cpmigwzs.cjs';
1
+ import { T as Tooltip } from '../Tooltip-DoygUcZl.cjs';
2
+ export { b as TooltipPlacement, a as TooltipProps } from '../Tooltip-DoygUcZl.cjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'tailwind-variants';
5
5
  import 'tailwind-variants/dist/config.js';
@@ -1,5 +1,5 @@
1
- import { T as Tooltip } from '../Tooltip-Cpmigwzs.js';
2
- export { b as TooltipPlacement, a as TooltipProps } from '../Tooltip-Cpmigwzs.js';
1
+ import { T as Tooltip } from '../Tooltip-DoygUcZl.js';
2
+ export { b as TooltipPlacement, a as TooltipProps } from '../Tooltip-DoygUcZl.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'tailwind-variants';
5
5
  import 'tailwind-variants/dist/config.js';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Tooltip_default,
3
3
  Tooltip_default2
4
- } from "../chunk-3BSRRSR3.js";
4
+ } from "../chunk-BEEDCTDZ.js";
5
5
  import "../chunk-EQVC4PJE.js";
6
6
  import "../chunk-J7N2552D.js";
7
7
  export {
@@ -0,0 +1,360 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as tailwind_variants from 'tailwind-variants';
3
+ import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
+ import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
5
+ import { TooltipPlacement as TooltipPlacement$1 } from '@heroui/tooltip';
6
+ import { ReactNode } from 'react';
7
+
8
+ declare const tooltipVariants: tailwind_variants.TVReturnType<{
9
+ size: {
10
+ xs: {
11
+ body: string;
12
+ footer: string;
13
+ header: string;
14
+ };
15
+ sm: {
16
+ body: string;
17
+ footer: string;
18
+ header: string;
19
+ };
20
+ md: {
21
+ body: string;
22
+ footer: string;
23
+ header: string;
24
+ };
25
+ lg: {
26
+ body: string;
27
+ footer: string;
28
+ header: string;
29
+ };
30
+ xl: {
31
+ body: string;
32
+ footer: string;
33
+ header: string;
34
+ };
35
+ '2xl': {
36
+ body: string;
37
+ footer: string;
38
+ header: string;
39
+ };
40
+ '3xl': {
41
+ body: string;
42
+ footer: string;
43
+ header: string;
44
+ };
45
+ full: {
46
+ base: string;
47
+ };
48
+ };
49
+ }, {
50
+ base: string;
51
+ body: string;
52
+ content: string;
53
+ divider: string;
54
+ footer: string;
55
+ footerWrapper: string;
56
+ header: string;
57
+ headerWrapper: string;
58
+ trigger: string;
59
+ }, undefined, tailwind_variants_dist_config_js.TVConfig<{
60
+ size: {
61
+ xs: {
62
+ body: string;
63
+ footer: string;
64
+ header: string;
65
+ };
66
+ sm: {
67
+ body: string;
68
+ footer: string;
69
+ header: string;
70
+ };
71
+ md: {
72
+ body: string;
73
+ footer: string;
74
+ header: string;
75
+ };
76
+ lg: {
77
+ body: string;
78
+ footer: string;
79
+ header: string;
80
+ };
81
+ xl: {
82
+ body: string;
83
+ footer: string;
84
+ header: string;
85
+ };
86
+ '2xl': {
87
+ body: string;
88
+ footer: string;
89
+ header: string;
90
+ };
91
+ '3xl': {
92
+ body: string;
93
+ footer: string;
94
+ header: string;
95
+ };
96
+ full: {
97
+ base: string;
98
+ };
99
+ };
100
+ }, {
101
+ size: {
102
+ xs: {
103
+ body: string;
104
+ footer: string;
105
+ header: string;
106
+ };
107
+ sm: {
108
+ body: string;
109
+ footer: string;
110
+ header: string;
111
+ };
112
+ md: {
113
+ body: string;
114
+ footer: string;
115
+ header: string;
116
+ };
117
+ lg: {
118
+ body: string;
119
+ footer: string;
120
+ header: string;
121
+ };
122
+ xl: {
123
+ body: string;
124
+ footer: string;
125
+ header: string;
126
+ };
127
+ '2xl': {
128
+ body: string;
129
+ footer: string;
130
+ header: string;
131
+ };
132
+ '3xl': {
133
+ body: string;
134
+ footer: string;
135
+ header: string;
136
+ };
137
+ full: {
138
+ base: string;
139
+ };
140
+ };
141
+ }>, {
142
+ size: {
143
+ xs: {
144
+ body: string;
145
+ footer: string;
146
+ header: string;
147
+ };
148
+ sm: {
149
+ body: string;
150
+ footer: string;
151
+ header: string;
152
+ };
153
+ md: {
154
+ body: string;
155
+ footer: string;
156
+ header: string;
157
+ };
158
+ lg: {
159
+ body: string;
160
+ footer: string;
161
+ header: string;
162
+ };
163
+ xl: {
164
+ body: string;
165
+ footer: string;
166
+ header: string;
167
+ };
168
+ '2xl': {
169
+ body: string;
170
+ footer: string;
171
+ header: string;
172
+ };
173
+ '3xl': {
174
+ body: string;
175
+ footer: string;
176
+ header: string;
177
+ };
178
+ full: {
179
+ base: string;
180
+ };
181
+ };
182
+ }, {
183
+ base: string;
184
+ body: string;
185
+ content: string;
186
+ divider: string;
187
+ footer: string;
188
+ footerWrapper: string;
189
+ header: string;
190
+ headerWrapper: string;
191
+ trigger: string;
192
+ }, tailwind_variants.TVReturnType<{
193
+ size: {
194
+ xs: {
195
+ body: string;
196
+ footer: string;
197
+ header: string;
198
+ };
199
+ sm: {
200
+ body: string;
201
+ footer: string;
202
+ header: string;
203
+ };
204
+ md: {
205
+ body: string;
206
+ footer: string;
207
+ header: string;
208
+ };
209
+ lg: {
210
+ body: string;
211
+ footer: string;
212
+ header: string;
213
+ };
214
+ xl: {
215
+ body: string;
216
+ footer: string;
217
+ header: string;
218
+ };
219
+ '2xl': {
220
+ body: string;
221
+ footer: string;
222
+ header: string;
223
+ };
224
+ '3xl': {
225
+ body: string;
226
+ footer: string;
227
+ header: string;
228
+ };
229
+ full: {
230
+ base: string;
231
+ };
232
+ };
233
+ }, {
234
+ base: string;
235
+ body: string;
236
+ content: string;
237
+ divider: string;
238
+ footer: string;
239
+ footerWrapper: string;
240
+ header: string;
241
+ headerWrapper: string;
242
+ trigger: string;
243
+ }, undefined, tailwind_variants_dist_config_js.TVConfig<{
244
+ size: {
245
+ xs: {
246
+ body: string;
247
+ footer: string;
248
+ header: string;
249
+ };
250
+ sm: {
251
+ body: string;
252
+ footer: string;
253
+ header: string;
254
+ };
255
+ md: {
256
+ body: string;
257
+ footer: string;
258
+ header: string;
259
+ };
260
+ lg: {
261
+ body: string;
262
+ footer: string;
263
+ header: string;
264
+ };
265
+ xl: {
266
+ body: string;
267
+ footer: string;
268
+ header: string;
269
+ };
270
+ '2xl': {
271
+ body: string;
272
+ footer: string;
273
+ header: string;
274
+ };
275
+ '3xl': {
276
+ body: string;
277
+ footer: string;
278
+ header: string;
279
+ };
280
+ full: {
281
+ base: string;
282
+ };
283
+ };
284
+ }, {
285
+ size: {
286
+ xs: {
287
+ body: string;
288
+ footer: string;
289
+ header: string;
290
+ };
291
+ sm: {
292
+ body: string;
293
+ footer: string;
294
+ header: string;
295
+ };
296
+ md: {
297
+ body: string;
298
+ footer: string;
299
+ header: string;
300
+ };
301
+ lg: {
302
+ body: string;
303
+ footer: string;
304
+ header: string;
305
+ };
306
+ xl: {
307
+ body: string;
308
+ footer: string;
309
+ header: string;
310
+ };
311
+ '2xl': {
312
+ body: string;
313
+ footer: string;
314
+ header: string;
315
+ };
316
+ '3xl': {
317
+ body: string;
318
+ footer: string;
319
+ header: string;
320
+ };
321
+ full: {
322
+ base: string;
323
+ };
324
+ };
325
+ }>, unknown, unknown, undefined>>;
326
+ type VariantProps = TVProps<typeof tooltipVariants>;
327
+ type ClassName = TVClassName<typeof tooltipVariants>;
328
+ type TooltipPlacement = TooltipPlacement$1;
329
+ interface TooltipProps extends VariantProps {
330
+ /** trigger child components */
331
+ children: ReactNode;
332
+ /** CSS class name */
333
+ className?: ClassName;
334
+ /** delay in milliseconds before the tooltip opens. */
335
+ closeDelay?: number;
336
+ /** placement padding in px */
337
+ containerPadding?: number;
338
+ /** content displayed in the tooltip */
339
+ content: ReactNode;
340
+ /** open overlay initially when uncontrolled */
341
+ defaultOpen?: boolean;
342
+ /** delay in milliseconds before the tooltip opens. */
343
+ delay?: number;
344
+ /** tooltip footer */
345
+ footer?: ReactNode;
346
+ /** tooltip header */
347
+ header?: ReactNode;
348
+ /** handler that is called when the overlay's open state changes */
349
+ onOpenChange?: (isOpen: boolean) => void;
350
+ /** placement if the tooltip */
351
+ placement?: TooltipPlacement;
352
+ /** size of the tooltip */
353
+ size?: VariantProps['size'];
354
+ }
355
+ /**
356
+ * Tooltip component based on [HeroUI Tooltip](https://www.heroui.com//docs/components/tooltip)
357
+ */
358
+ declare const Tooltip: ({ children, className: _className, closeDelay, containerPadding, content, defaultOpen, delay, footer, header, onOpenChange, placement, size, }: TooltipProps) => react_jsx_runtime.JSX.Element;
359
+
360
+ export { Tooltip as T, type TooltipProps as a, type TooltipPlacement as b };