@tarsis/toolkit 0.3.2 → 0.4.1
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/gl-BytuN41l.cjs +380 -0
- package/dist/gl-D_Ly48gx.js +357 -0
- package/dist/index.cjs +30797 -342
- package/dist/index.css +5473 -4969
- package/dist/index.d.ts +628 -465
- package/dist/index.js +30421 -1
- package/package.json +53 -55
- package/dist/gl-BcR7cLlG.js +0 -3252
- package/dist/gl-XUihVa4v.cjs +0 -3256
- package/dist/index-i2jVzgE-.cjs +0 -79398
- package/dist/index-rpRDiyNC.js +0 -79046
package/dist/index.d.ts
CHANGED
|
@@ -1,97 +1,122 @@
|
|
|
1
|
+
import { AnchorHTMLAttributes } from 'react';
|
|
2
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
+
import { CSSProperties } from 'react';
|
|
1
4
|
import { default as default_2 } from 'react';
|
|
5
|
+
import { DetailedHTMLProps } from 'react';
|
|
2
6
|
import { FC } from 'react';
|
|
7
|
+
import { InputHTMLAttributes } from 'react';
|
|
3
8
|
import { JSX } from 'react/jsx-runtime';
|
|
4
9
|
import { JSX as JSX_2 } from 'react';
|
|
5
10
|
import { JSXElementConstructor } from 'react';
|
|
6
11
|
import { MotionValue } from 'framer-motion';
|
|
7
12
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
8
|
-
import { MutableRefObject } from 'react';
|
|
9
13
|
import { ReactElement } from 'react';
|
|
10
14
|
import { ReactNode } from 'react';
|
|
15
|
+
import { Ref } from 'react';
|
|
11
16
|
import { RefObject } from 'react';
|
|
12
|
-
import { TouchEvent as TouchEvent_2 } from 'react';
|
|
13
17
|
|
|
14
|
-
export declare const AccentShardCard:
|
|
18
|
+
export declare const AccentShardCard: FC;
|
|
15
19
|
|
|
16
|
-
export declare const AcrobaticPreloader:
|
|
20
|
+
export declare const AcrobaticPreloader: FC;
|
|
17
21
|
|
|
18
|
-
export declare const ActivateButton:
|
|
22
|
+
export declare const ActivateButton: FC;
|
|
19
23
|
|
|
20
|
-
export declare const AdjoinedFilters:
|
|
24
|
+
export declare const AdjoinedFilters: FC;
|
|
21
25
|
|
|
22
|
-
export declare const AirplaneAnimation:
|
|
26
|
+
export declare const AirplaneAnimation: FC;
|
|
23
27
|
|
|
24
|
-
export declare const AlienSkeuomorphicLoaders:
|
|
28
|
+
export declare const AlienSkeuomorphicLoaders: FC;
|
|
25
29
|
|
|
26
|
-
export declare const AnimatedBlendedCard:
|
|
30
|
+
export declare const AnimatedBlendedCard: FC;
|
|
27
31
|
|
|
28
|
-
export declare const AnimatedHeroTitle:
|
|
32
|
+
export declare const AnimatedHeroTitle: FC;
|
|
29
33
|
|
|
30
|
-
export declare const AnimatedHoverButton:
|
|
34
|
+
export declare const AnimatedHoverButton: FC<Props_14>;
|
|
31
35
|
|
|
32
|
-
export declare const AnimatedHoverGlowButton:
|
|
36
|
+
export declare const AnimatedHoverGlowButton: FC;
|
|
33
37
|
|
|
34
|
-
export declare const AnimatedIconsNav:
|
|
38
|
+
export declare const AnimatedIconsNav: FC;
|
|
35
39
|
|
|
36
|
-
export declare const AnimatedShareMenu:
|
|
40
|
+
export declare const AnimatedShareMenu: FC;
|
|
37
41
|
|
|
38
|
-
export declare const
|
|
42
|
+
export declare const animationLogger: BaseLogger;
|
|
39
43
|
|
|
40
|
-
export declare const
|
|
44
|
+
export declare const ApertureVideo: FC;
|
|
41
45
|
|
|
42
|
-
export declare const
|
|
46
|
+
export declare const apiLogger: BaseLogger;
|
|
43
47
|
|
|
44
|
-
export declare const
|
|
48
|
+
export declare const Appearance: FC<Props_7>;
|
|
45
49
|
|
|
46
|
-
export declare const
|
|
50
|
+
export declare const AreaLight: FC;
|
|
47
51
|
|
|
48
|
-
export declare const
|
|
52
|
+
export declare const AuroraButton: FC;
|
|
49
53
|
|
|
50
|
-
export declare const
|
|
54
|
+
export declare const AutoMasonryGrid: FC;
|
|
51
55
|
|
|
52
|
-
export declare const
|
|
56
|
+
export declare const AvatarHover: FC;
|
|
53
57
|
|
|
54
|
-
export declare const
|
|
58
|
+
export declare const BackgroundCircles: FC;
|
|
55
59
|
|
|
56
|
-
export declare const
|
|
60
|
+
export declare const BackgroundSlider: FC;
|
|
57
61
|
|
|
58
|
-
export declare
|
|
62
|
+
export declare class BaseLogger {
|
|
63
|
+
protected prefix: string;
|
|
64
|
+
protected emoji: string;
|
|
65
|
+
constructor(prefix: string, emoji: string);
|
|
66
|
+
private log;
|
|
67
|
+
info(msg: string, data?: unknown): void;
|
|
68
|
+
debug(msg: string, data?: unknown): void;
|
|
69
|
+
success(msg: string, data?: unknown): void;
|
|
70
|
+
warn(msg: string, data?: unknown): void;
|
|
71
|
+
error(msg: string, detail?: unknown): void;
|
|
72
|
+
scope(msg: string, data?: unknown): void;
|
|
73
|
+
dir<T>(data: T): void;
|
|
74
|
+
time(label: string): {
|
|
75
|
+
end: (data?: unknown) => void;
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export declare const BlurredBackground: FC;
|
|
80
|
+
|
|
81
|
+
export declare const BlurVignette: FC<Props_11>;
|
|
82
|
+
|
|
83
|
+
export declare const BoldHamburger: FC;
|
|
59
84
|
|
|
60
|
-
export declare const BorderGradient:
|
|
85
|
+
export declare const BorderGradient: FC;
|
|
61
86
|
|
|
62
|
-
export declare const BorderLink:
|
|
87
|
+
export declare const BorderLink: FC<Props_44>;
|
|
63
88
|
|
|
64
|
-
export declare const BouncyClock:
|
|
89
|
+
export declare const BouncyClock: FC;
|
|
65
90
|
|
|
66
|
-
export declare const BrandCard:
|
|
91
|
+
export declare const BrandCard: FC<Props_28>;
|
|
67
92
|
|
|
68
|
-
export declare const BreakingProgress:
|
|
93
|
+
export declare const BreakingProgress: FC<Props_8>;
|
|
69
94
|
|
|
70
|
-
export declare const BubblyParticlesButton:
|
|
95
|
+
export declare const BubblyParticlesButton: FC;
|
|
71
96
|
|
|
72
|
-
export declare const BulletsCarousel:
|
|
97
|
+
export declare const BulletsCarousel: FC;
|
|
73
98
|
|
|
74
|
-
export declare const BurningButton:
|
|
99
|
+
export declare const BurningButton: FC;
|
|
75
100
|
|
|
76
|
-
export declare const ButtonHoverFill:
|
|
101
|
+
export declare const ButtonHoverFill: FC;
|
|
77
102
|
|
|
78
|
-
export declare const ButtonShimmer:
|
|
103
|
+
export declare const ButtonShimmer: FC;
|
|
79
104
|
|
|
80
|
-
export declare const ButtonWithDot:
|
|
105
|
+
export declare const ButtonWithDot: FC;
|
|
81
106
|
|
|
82
|
-
export declare const CanOfDigits:
|
|
107
|
+
export declare const CanOfDigits: FC<Props_48>;
|
|
83
108
|
|
|
84
|
-
export declare const CaptionCard:
|
|
109
|
+
export declare const CaptionCard: FC<Props_29>;
|
|
85
110
|
|
|
86
|
-
export declare const CardCarousel:
|
|
111
|
+
export declare const CardCarousel: FC<Props_34>;
|
|
87
112
|
|
|
88
|
-
export declare const CardDetails:
|
|
113
|
+
export declare const CardDetails: FC;
|
|
89
114
|
|
|
90
|
-
export declare const CardGlow:
|
|
115
|
+
export declare const CardGlow: FC;
|
|
91
116
|
|
|
92
|
-
export declare const CardMarquee:
|
|
117
|
+
export declare const CardMarquee: FC;
|
|
93
118
|
|
|
94
|
-
export declare const CardTile:
|
|
119
|
+
export declare const CardTile: FC<Props_30>;
|
|
95
120
|
|
|
96
121
|
declare interface CarouselItem {
|
|
97
122
|
id: string;
|
|
@@ -105,95 +130,95 @@ declare interface CarouselItem {
|
|
|
105
130
|
|
|
106
131
|
export declare const chain: (...elements: ReactNode[]) => JSX.Element[];
|
|
107
132
|
|
|
108
|
-
export declare const ChaseLoader:
|
|
133
|
+
export declare const ChaseLoader: FC;
|
|
109
134
|
|
|
110
135
|
export declare const Checkbox: {
|
|
111
|
-
({ rootClassName, className, inputClassName, ref, }:
|
|
136
|
+
({ rootClassName, className, inputClassName, ref, }: Props_36): JSX.Element;
|
|
112
137
|
displayName: string;
|
|
113
138
|
};
|
|
114
139
|
|
|
115
|
-
declare
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
onChange?: (checked: boolean) => void;
|
|
119
|
-
}
|
|
140
|
+
export declare const ChequeredCard: FC;
|
|
141
|
+
|
|
142
|
+
export declare const Chips: FC;
|
|
120
143
|
|
|
121
|
-
export declare const
|
|
144
|
+
export declare const ChromaticAberration: FC;
|
|
122
145
|
|
|
123
|
-
export declare const
|
|
146
|
+
export declare const CircleDotsLoader: FC<Props_49>;
|
|
124
147
|
|
|
125
|
-
export declare const
|
|
148
|
+
export declare const CircleLinesAnimation: FC;
|
|
126
149
|
|
|
127
|
-
export declare const
|
|
150
|
+
export declare const CircleLink: FC<Props_45>;
|
|
128
151
|
|
|
129
|
-
export declare const
|
|
152
|
+
export declare const CircleParticles: FC;
|
|
130
153
|
|
|
131
|
-
export declare const
|
|
154
|
+
export declare const CircleTextHover: FC;
|
|
132
155
|
|
|
133
|
-
export declare const
|
|
156
|
+
export declare const ClaymorphicHeart: FC<Props_15>;
|
|
134
157
|
|
|
135
|
-
export declare const
|
|
158
|
+
export declare const ClearInput: FC;
|
|
136
159
|
|
|
137
|
-
export declare const
|
|
160
|
+
export declare const clearSession: () => void;
|
|
138
161
|
|
|
139
|
-
export declare const
|
|
162
|
+
export declare const ClickButtonParticles: FC;
|
|
140
163
|
|
|
141
|
-
export declare const
|
|
164
|
+
export declare const ClickSpark: FC;
|
|
142
165
|
|
|
143
|
-
export declare const
|
|
166
|
+
export declare const CollapseAnimation: FC;
|
|
144
167
|
|
|
145
|
-
export declare const
|
|
168
|
+
export declare const ColorfulButtons: FC;
|
|
146
169
|
|
|
147
|
-
export declare const
|
|
170
|
+
export declare const ComingSoonBadge: FC;
|
|
148
171
|
|
|
149
|
-
export declare const
|
|
172
|
+
export declare const ComplexGradient: FC;
|
|
150
173
|
|
|
151
|
-
export declare const
|
|
174
|
+
export declare const componentLogger: BaseLogger;
|
|
152
175
|
|
|
153
|
-
export declare const ConfettiButton:
|
|
176
|
+
export declare const ConfettiButton: FC<Props_16>;
|
|
154
177
|
|
|
155
178
|
declare type Constructor<T> = new (...args: any[]) => T;
|
|
156
179
|
|
|
157
|
-
export declare const ContrastBackgroundText:
|
|
180
|
+
export declare const ContrastBackgroundText: FC;
|
|
181
|
+
|
|
182
|
+
export declare const Counter: FC;
|
|
158
183
|
|
|
159
|
-
export declare const CoverFlowGallery:
|
|
184
|
+
export declare const CoverFlowGallery: FC;
|
|
160
185
|
|
|
161
|
-
export declare const CronRedirectPage:
|
|
186
|
+
export declare const CronRedirectPage: FC;
|
|
162
187
|
|
|
163
|
-
export declare const CubeLoader:
|
|
188
|
+
export declare const CubeLoader: FC;
|
|
164
189
|
|
|
165
|
-
export declare const CurtainRevealMenu:
|
|
190
|
+
export declare const CurtainRevealMenu: FC;
|
|
166
191
|
|
|
167
|
-
export declare const DailClock:
|
|
192
|
+
export declare const DailClock: FC;
|
|
168
193
|
|
|
169
|
-
export declare const DarkMatterButton:
|
|
194
|
+
export declare const DarkMatterButton: FC;
|
|
170
195
|
|
|
171
|
-
export declare const DarkMatterMouseEffect:
|
|
196
|
+
export declare const DarkMatterMouseEffect: FC;
|
|
172
197
|
|
|
173
|
-
export declare const DaySwitch:
|
|
198
|
+
export declare const DaySwitch: FC;
|
|
174
199
|
|
|
175
|
-
export declare const DDDButton:
|
|
200
|
+
export declare const DDDButton: FC<Props_17>;
|
|
176
201
|
|
|
177
|
-
export declare const DDDHoverCard:
|
|
202
|
+
export declare const DDDHoverCard: FC;
|
|
178
203
|
|
|
179
|
-
export declare const DDDRangeSlider:
|
|
204
|
+
export declare const DDDRangeSlider: FC;
|
|
180
205
|
|
|
181
|
-
export declare const DenseGrid:
|
|
206
|
+
export declare const DenseGrid: FC;
|
|
182
207
|
|
|
183
|
-
export declare const DetachedMenu:
|
|
208
|
+
export declare const DetachedMenu: FC;
|
|
184
209
|
|
|
185
|
-
export declare const DialControl:
|
|
210
|
+
export declare const DialControl: FC<Props_40>;
|
|
186
211
|
|
|
187
|
-
export declare const DialFuturistic:
|
|
212
|
+
export declare const DialFuturistic: FC;
|
|
188
213
|
|
|
189
|
-
export declare const Dock:
|
|
214
|
+
export declare const Dock: FC;
|
|
190
215
|
|
|
191
216
|
export declare const DockButton: {
|
|
192
|
-
({ children, className, ref, ...rest }:
|
|
217
|
+
({ children, className, ref, ...rest }: Props_18): JSX.Element;
|
|
193
218
|
displayName: string;
|
|
194
219
|
};
|
|
195
220
|
|
|
196
|
-
export declare const DockHas:
|
|
221
|
+
export declare const DockHas: FC;
|
|
197
222
|
|
|
198
223
|
export declare const DockMotion: FC< {
|
|
199
224
|
children: (ReactElement<any, string | JSXElementConstructor<any>> | null) | (ReactElement<any, string | JSXElementConstructor<any>> | null)[];
|
|
@@ -202,56 +227,53 @@ onMouseEnter?: () => void;
|
|
|
202
227
|
onMouseLeave?: () => void;
|
|
203
228
|
}> & {
|
|
204
229
|
Item: ExternalDockMotionItemSignature;
|
|
205
|
-
Divider: FC
|
|
230
|
+
Divider: FC;
|
|
206
231
|
Embedded: FC< {
|
|
207
|
-
children:
|
|
232
|
+
children: ReactNode;
|
|
208
233
|
}>;
|
|
209
234
|
};
|
|
210
235
|
|
|
211
|
-
export declare const DockY:
|
|
236
|
+
export declare const DockY: FC;
|
|
212
237
|
|
|
213
|
-
export declare const DoubleArrowButton:
|
|
238
|
+
export declare const DoubleArrowButton: FC;
|
|
214
239
|
|
|
215
|
-
export declare const DoubleArrowCollabButton:
|
|
240
|
+
export declare const DoubleArrowCollabButton: FC<Props_19>;
|
|
216
241
|
|
|
217
|
-
export declare const DoubleStateButton:
|
|
242
|
+
export declare const DoubleStateButton: FC<Props_20>;
|
|
218
243
|
|
|
219
|
-
export declare const DropdownMenu: FC<
|
|
244
|
+
export declare const DropdownMenu: FC<Props_53>;
|
|
220
245
|
|
|
221
|
-
export declare const Duck:
|
|
246
|
+
export declare const Duck: FC;
|
|
222
247
|
|
|
223
|
-
export declare const DynamicIconButton:
|
|
248
|
+
export declare const DynamicIconButton: FC;
|
|
224
249
|
|
|
225
|
-
export declare const DynamicIsland:
|
|
250
|
+
export declare const DynamicIsland: FC<Props_2>;
|
|
226
251
|
|
|
227
|
-
export declare const EchoClickButton:
|
|
252
|
+
export declare const EchoClickButton: FC;
|
|
228
253
|
|
|
229
|
-
export declare const ElasticCards:
|
|
254
|
+
export declare const ElasticCards: FC;
|
|
230
255
|
|
|
231
|
-
export declare const ElasticCursor:
|
|
256
|
+
export declare const ElasticCursor: FC;
|
|
232
257
|
|
|
233
|
-
export declare const ElectrifiedButton:
|
|
258
|
+
export declare const ElectrifiedButton: FC;
|
|
234
259
|
|
|
235
|
-
export declare const ElectrifiedButtonGS:
|
|
260
|
+
export declare const ElectrifiedButtonGS: FC;
|
|
236
261
|
|
|
237
|
-
export declare const EmailInput:
|
|
262
|
+
export declare const EmailInput: FC;
|
|
238
263
|
|
|
239
|
-
declare
|
|
240
|
-
className: string;
|
|
241
|
-
depth: number;
|
|
242
|
-
}
|
|
264
|
+
export declare const EmojiLayer: FC<Props_55>;
|
|
243
265
|
|
|
244
|
-
export declare const
|
|
266
|
+
export declare const EndlessLoader: FC;
|
|
245
267
|
|
|
246
|
-
export declare const
|
|
268
|
+
export declare const EnlightenedText: FC<Props_59>;
|
|
247
269
|
|
|
248
|
-
export declare const
|
|
270
|
+
export declare const EnvelopeTile: FC<Props_31>;
|
|
249
271
|
|
|
250
|
-
export declare const
|
|
272
|
+
export declare const eventLogger: BaseLogger;
|
|
251
273
|
|
|
252
|
-
export declare const Expand:
|
|
274
|
+
export declare const Expand: FC<Props_12>;
|
|
253
275
|
|
|
254
|
-
declare type ExternalDockMotionItemSignature = (props: Omit<
|
|
276
|
+
declare type ExternalDockMotionItemSignature = (props: Omit<Props_41, 'mouseX'> & Use) => JSX_2.Element;
|
|
255
277
|
|
|
256
278
|
export declare const FadeUp: ({ children, delay, duration, once, }: {
|
|
257
279
|
children: ReactNode;
|
|
@@ -260,123 +282,129 @@ export declare const FadeUp: ({ children, delay, duration, once, }: {
|
|
|
260
282
|
once?: boolean;
|
|
261
283
|
}) => JSX.Element;
|
|
262
284
|
|
|
263
|
-
export declare const FailedDownloadButton:
|
|
285
|
+
export declare const FailedDownloadButton: FC;
|
|
264
286
|
|
|
265
|
-
export declare const FeedbackReactions:
|
|
287
|
+
export declare const FeedbackReactions: FC;
|
|
266
288
|
|
|
267
|
-
export declare const FigmaLogo:
|
|
289
|
+
export declare const FigmaLogo: FC;
|
|
268
290
|
|
|
269
|
-
export declare const FileIcons:
|
|
291
|
+
export declare const FileIcons: FC;
|
|
270
292
|
|
|
271
|
-
export declare const Fingerprint:
|
|
293
|
+
export declare const Fingerprint: FC<Props_3>;
|
|
272
294
|
|
|
273
295
|
export declare const FlipChips: () => JSX.Element;
|
|
274
296
|
|
|
275
|
-
export declare const FloatingLabelInput:
|
|
297
|
+
export declare const FloatingLabelInput: FC;
|
|
298
|
+
|
|
299
|
+
export declare const FluidGooeyTextBackground: FC;
|
|
276
300
|
|
|
277
|
-
export declare const
|
|
301
|
+
export declare const FootprintButton: FC;
|
|
278
302
|
|
|
279
|
-
export declare const
|
|
303
|
+
export declare const ForwardArrowLink: FC;
|
|
280
304
|
|
|
281
|
-
export declare const
|
|
305
|
+
export declare const FullScreenImageCarousel: FC;
|
|
282
306
|
|
|
283
|
-
export declare const
|
|
307
|
+
export declare const Futuristic3DHoverMenu: FC;
|
|
284
308
|
|
|
285
|
-
export declare const
|
|
309
|
+
export declare const GalaxyButton: FC;
|
|
286
310
|
|
|
287
|
-
export declare const
|
|
311
|
+
export declare const GalleryReverseScroll: FC;
|
|
288
312
|
|
|
289
|
-
export declare const
|
|
313
|
+
export declare const getCurrentLogLevel: () => LogLevel;
|
|
290
314
|
|
|
291
315
|
export declare const getDockTooltipPosition: (triggerRect?: any | null, tooltipRect?: any | null) => {
|
|
292
316
|
left: number;
|
|
293
317
|
top: number;
|
|
294
318
|
};
|
|
295
319
|
|
|
296
|
-
export declare const GlassIcon:
|
|
320
|
+
export declare const GlassIcon: FC;
|
|
321
|
+
|
|
322
|
+
export declare const GlassSwitch: FC;
|
|
297
323
|
|
|
298
|
-
export declare const
|
|
324
|
+
export declare const GlideImageGallery: FC;
|
|
299
325
|
|
|
300
|
-
export declare const
|
|
326
|
+
export declare const GlidingReveal: FC;
|
|
301
327
|
|
|
302
|
-
export declare const
|
|
328
|
+
export declare const GlitterCard: FC;
|
|
303
329
|
|
|
304
|
-
export declare const
|
|
330
|
+
export declare const GlowButton: FC<Props_21>;
|
|
305
331
|
|
|
306
|
-
export declare const
|
|
332
|
+
export declare const GlowingDropdown: FC;
|
|
307
333
|
|
|
308
|
-
export declare const
|
|
334
|
+
export declare const GlowingInput: FC;
|
|
309
335
|
|
|
310
|
-
export declare const
|
|
336
|
+
export declare const GlowingShadows: FC;
|
|
311
337
|
|
|
312
|
-
export declare const
|
|
338
|
+
export declare const GlowingTabs: FC;
|
|
313
339
|
|
|
314
|
-
export declare const
|
|
340
|
+
export declare const GlowingTabs2: FC;
|
|
315
341
|
|
|
316
|
-
export declare const
|
|
342
|
+
export declare const GlowingText: FC;
|
|
317
343
|
|
|
318
|
-
export declare const
|
|
344
|
+
export declare const GlowingTile: FC;
|
|
319
345
|
|
|
320
|
-
export declare const
|
|
346
|
+
export declare const GlowSlider: FC;
|
|
321
347
|
|
|
322
|
-
export declare const
|
|
348
|
+
export declare const GodRaysButton: FC;
|
|
323
349
|
|
|
324
|
-
export declare const
|
|
350
|
+
export declare const GoHoverButton: FC;
|
|
325
351
|
|
|
326
|
-
export declare const
|
|
352
|
+
export declare const GooeyButton: FC;
|
|
327
353
|
|
|
328
|
-
export declare const
|
|
354
|
+
export declare const GradientBorder: FC;
|
|
329
355
|
|
|
330
|
-
export declare const
|
|
356
|
+
export declare const GradientGlowingTile: FC;
|
|
331
357
|
|
|
332
|
-
export declare const
|
|
358
|
+
export declare const GrainyGradientText: FC;
|
|
333
359
|
|
|
334
|
-
export declare const
|
|
360
|
+
export declare const GravityButton: FC;
|
|
335
361
|
|
|
336
|
-
export declare const
|
|
362
|
+
export declare const Grid3DCards: FC;
|
|
337
363
|
|
|
338
|
-
export declare const
|
|
364
|
+
export declare const GridAccordion: FC;
|
|
339
365
|
|
|
340
|
-
export declare const
|
|
366
|
+
export declare const GridHover: FC;
|
|
341
367
|
|
|
342
|
-
export declare const
|
|
368
|
+
export declare const GridViewTransition: FC;
|
|
343
369
|
|
|
344
|
-
export declare const
|
|
370
|
+
export declare const HamburgerMusic: FC;
|
|
345
371
|
|
|
346
|
-
export declare const
|
|
372
|
+
export declare const HamburgerX: FC<Props_42>;
|
|
347
373
|
|
|
348
|
-
export declare const
|
|
374
|
+
export declare const Header: FC<Props_43>;
|
|
349
375
|
|
|
350
|
-
export declare const
|
|
376
|
+
export declare const HeartFoldButton: FC;
|
|
351
377
|
|
|
352
|
-
export declare const
|
|
378
|
+
export declare const HoldSubmitButton: FC;
|
|
353
379
|
|
|
354
|
-
export declare const
|
|
380
|
+
export declare const hookLogger: BaseLogger;
|
|
355
381
|
|
|
356
|
-
export declare const Hoverable3DCard:
|
|
382
|
+
export declare const Hoverable3DCard: FC;
|
|
357
383
|
|
|
358
|
-
export declare const HoverGlowButton:
|
|
384
|
+
export declare const HoverGlowButton: FC<Props_22>;
|
|
359
385
|
|
|
360
|
-
export declare const HoverTile:
|
|
386
|
+
export declare const HoverTile: FC<Props_32>;
|
|
361
387
|
|
|
362
|
-
export declare const Illumination:
|
|
388
|
+
export declare const Illumination: FC;
|
|
363
389
|
|
|
364
|
-
export declare const ImageCard:
|
|
390
|
+
export declare const ImageCard: FC;
|
|
365
391
|
|
|
366
|
-
export declare const ImageClipping:
|
|
392
|
+
export declare const ImageClipping: FC;
|
|
367
393
|
|
|
368
|
-
export declare const IndeterminateCheckboxes:
|
|
394
|
+
export declare const IndeterminateCheckboxes: FC;
|
|
369
395
|
|
|
370
|
-
export declare const InfiniteLoader:
|
|
396
|
+
export declare const InfiniteLoader: FC;
|
|
371
397
|
|
|
372
|
-
export declare const InputFirework:
|
|
398
|
+
export declare const InputFirework: FC;
|
|
373
399
|
|
|
374
|
-
export declare const Ios15Button:
|
|
400
|
+
export declare const Ios15Button: FC;
|
|
375
401
|
|
|
376
|
-
export declare const IosSwitch:
|
|
402
|
+
export declare const IosSwitch: FC<Props_56>;
|
|
377
403
|
|
|
378
404
|
export declare const is: <T>(type: Constructor<T>) => (x: T) => boolean;
|
|
379
405
|
|
|
406
|
+
export declare const isDebugEnabled: () => boolean;
|
|
407
|
+
|
|
380
408
|
export declare const isNonNullable: <T>(value: T) => value is NonNullable<T>;
|
|
381
409
|
|
|
382
410
|
declare interface Item {
|
|
@@ -398,140 +426,144 @@ export declare const ITEMS: {
|
|
|
398
426
|
url: string;
|
|
399
427
|
}[];
|
|
400
428
|
|
|
401
|
-
export declare const JellyText: FC<
|
|
429
|
+
export declare const JellyText: FC<Props_60>;
|
|
402
430
|
|
|
403
431
|
export declare const keys: <T extends Record<string | number | symbol, any>>(value: T) => Array<`${keyof T & (string | number | boolean)}` | (keyof T & symbol)>;
|
|
404
432
|
|
|
405
|
-
export declare const LandingXYScroll:
|
|
433
|
+
export declare const LandingXYScroll: FC;
|
|
406
434
|
|
|
407
|
-
export declare const LayeredComponents:
|
|
435
|
+
export declare const LayeredComponents: FC;
|
|
408
436
|
|
|
409
|
-
export declare const LeaningCards:
|
|
437
|
+
export declare const LeaningCards: FC;
|
|
410
438
|
|
|
411
|
-
export declare const ListItemHover:
|
|
439
|
+
export declare const ListItemHover: FC;
|
|
412
440
|
|
|
413
|
-
export declare const LoaderGenerator:
|
|
441
|
+
export declare const LoaderGenerator: FC;
|
|
414
442
|
|
|
415
|
-
export declare const LoadingBook:
|
|
443
|
+
export declare const LoadingBook: FC;
|
|
416
444
|
|
|
417
445
|
export declare const LoadingWave: () => JSX.Element;
|
|
418
446
|
|
|
419
|
-
declare const Lock_2:
|
|
447
|
+
declare const Lock_2: FC;
|
|
420
448
|
export { Lock_2 as Lock }
|
|
421
449
|
|
|
422
|
-
export declare const
|
|
450
|
+
export declare const logger: BaseLogger;
|
|
423
451
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
452
|
+
/**
|
|
453
|
+
* Advanced logger utility for the toolkit
|
|
454
|
+
* Provides consistent logging interface across components with emojis, session tracking, and performance timing
|
|
455
|
+
*/
|
|
456
|
+
export declare type LogLevel = 'silent' | 'error' | 'warn' | 'info' | 'debug';
|
|
457
|
+
|
|
458
|
+
export declare const LoveGlow: FC;
|
|
427
459
|
|
|
428
|
-
export declare const MagicalText:
|
|
460
|
+
export declare const MagicalText: FC<Props_61>;
|
|
429
461
|
|
|
430
|
-
export declare const MagicMouseEffect:
|
|
462
|
+
export declare const MagicMouseEffect: FC;
|
|
431
463
|
|
|
432
|
-
export declare const MagneticButton:
|
|
464
|
+
export declare const MagneticButton: FC;
|
|
433
465
|
|
|
434
|
-
export declare const MagnifiedNavItems:
|
|
466
|
+
export declare const MagnifiedNavItems: FC;
|
|
435
467
|
|
|
436
|
-
export declare const MetalCircleController:
|
|
468
|
+
export declare const MetalCircleController: FC;
|
|
437
469
|
|
|
438
|
-
export declare const MinimalisticGlassButton:
|
|
470
|
+
export declare const MinimalisticGlassButton: FC;
|
|
439
471
|
|
|
440
|
-
export declare const MobileNavBar:
|
|
472
|
+
export declare const MobileNavBar: FC;
|
|
441
473
|
|
|
442
|
-
export declare const MorphingSubmitButton:
|
|
474
|
+
export declare const MorphingSubmitButton: FC;
|
|
443
475
|
|
|
444
|
-
export declare const MotionClock:
|
|
476
|
+
export declare const MotionClock: FC;
|
|
445
477
|
|
|
446
|
-
export declare const MotionDigits:
|
|
478
|
+
export declare const MotionDigits: FC;
|
|
447
479
|
|
|
448
|
-
export declare const MouseMoveGallery:
|
|
480
|
+
export declare const MouseMoveGallery: FC;
|
|
449
481
|
|
|
450
482
|
export declare const move: <T>(source: T[], start: number, end: number) => T[];
|
|
451
483
|
|
|
452
|
-
export declare const MultiGradientBackground:
|
|
484
|
+
export declare const MultiGradientBackground: FC;
|
|
453
485
|
|
|
454
|
-
export declare const MultipathSvgAnimation:
|
|
486
|
+
export declare const MultipathSvgAnimation: FC;
|
|
455
487
|
|
|
456
|
-
export declare const MultiStageButton:
|
|
488
|
+
export declare const MultiStageButton: FC;
|
|
457
489
|
|
|
458
|
-
export declare const NamedPointer:
|
|
490
|
+
export declare const NamedPointer: FC<Props_4>;
|
|
459
491
|
|
|
460
|
-
export declare const NavigationMenu:
|
|
492
|
+
export declare const NavigationMenu: FC;
|
|
461
493
|
|
|
462
|
-
export declare const NeonButton:
|
|
494
|
+
export declare const NeonButton: FC<Props_23>;
|
|
463
495
|
|
|
464
|
-
export declare const NeonToggleSwitch:
|
|
496
|
+
export declare const NeonToggleSwitch: FC;
|
|
465
497
|
|
|
466
|
-
export declare const NeumorphicAnalogClock:
|
|
498
|
+
export declare const NeumorphicAnalogClock: FC<Props_38>;
|
|
467
499
|
|
|
468
|
-
export declare const NeumorphicLogo:
|
|
500
|
+
export declare const NeumorphicLogo: FC;
|
|
469
501
|
|
|
470
|
-
export declare const NeumorphicSlider:
|
|
502
|
+
export declare const NeumorphicSlider: FC;
|
|
471
503
|
|
|
472
|
-
export declare const NeuromorphicToggle:
|
|
504
|
+
export declare const NeuromorphicToggle: FC<Props_57>;
|
|
473
505
|
|
|
474
|
-
export declare const NewsletterInput:
|
|
506
|
+
export declare const NewsletterInput: FC;
|
|
475
507
|
|
|
476
|
-
export declare const NoisyButton:
|
|
508
|
+
export declare const NoisyButton: FC;
|
|
477
509
|
|
|
478
510
|
export declare const noop: (..._args: unknown[]) => void;
|
|
479
511
|
|
|
480
|
-
export declare const NotificationBell:
|
|
512
|
+
export declare const NotificationBell: FC;
|
|
481
513
|
|
|
482
514
|
export declare const notReachable: (arg: never) => never;
|
|
483
515
|
|
|
484
|
-
export declare const OffTrackPreloader:
|
|
516
|
+
export declare const OffTrackPreloader: FC;
|
|
485
517
|
|
|
486
|
-
export declare const OrbitalSubmitButton:
|
|
518
|
+
export declare const OrbitalSubmitButton: FC;
|
|
487
519
|
|
|
488
|
-
export declare const PaintedLink:
|
|
520
|
+
export declare const PaintedLink: FC;
|
|
489
521
|
|
|
490
|
-
export declare const PaperPlanButton:
|
|
522
|
+
export declare const PaperPlanButton: FC;
|
|
491
523
|
|
|
492
|
-
export declare const ParallaxEmoji:
|
|
524
|
+
export declare const ParallaxEmoji: FC;
|
|
493
525
|
|
|
494
|
-
export declare const ParallaxMenu:
|
|
526
|
+
export declare const ParallaxMenu: FC;
|
|
495
527
|
|
|
496
|
-
export declare const PasswordInput:
|
|
528
|
+
export declare const PasswordInput: FC;
|
|
497
529
|
|
|
498
|
-
export declare const PhotoCard:
|
|
530
|
+
export declare const PhotoCard: FC;
|
|
499
531
|
|
|
500
|
-
export declare const PhotoZoom:
|
|
532
|
+
export declare const PhotoZoom: FC;
|
|
501
533
|
|
|
502
|
-
export declare const PianoNav:
|
|
534
|
+
export declare const PianoNav: FC;
|
|
503
535
|
|
|
504
|
-
export declare const PieLoader:
|
|
536
|
+
export declare const PieLoader: FC;
|
|
505
537
|
|
|
506
|
-
export declare const PinDropdown:
|
|
538
|
+
export declare const PinDropdown: FC;
|
|
507
539
|
|
|
508
|
-
export declare const PlayPauseButton:
|
|
540
|
+
export declare const PlayPauseButton: FC;
|
|
509
541
|
|
|
510
|
-
export declare const PlayPauseMusicButton:
|
|
542
|
+
export declare const PlayPauseMusicButton: FC;
|
|
511
543
|
|
|
512
|
-
export declare const PolaroidStack:
|
|
544
|
+
export declare const PolaroidStack: FC;
|
|
513
545
|
|
|
514
|
-
export declare const PositionHover:
|
|
546
|
+
export declare const PositionHover: FC;
|
|
515
547
|
|
|
516
|
-
export declare const PredictionButton:
|
|
548
|
+
export declare const PredictionButton: FC;
|
|
517
549
|
|
|
518
|
-
export declare const ProductTile:
|
|
550
|
+
export declare const ProductTile: FC<Props_33>;
|
|
519
551
|
|
|
520
|
-
export declare const ProfileCard:
|
|
552
|
+
export declare const ProfileCard: FC;
|
|
521
553
|
|
|
522
|
-
export declare const ProgressButton:
|
|
554
|
+
export declare const ProgressButton: FC<Props_24>;
|
|
523
555
|
|
|
524
|
-
declare
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
activeId: string;
|
|
530
|
-
onChange: (value: string) => void;
|
|
531
|
-
isVertical?: boolean;
|
|
532
|
-
}
|
|
556
|
+
export declare type Props = {
|
|
557
|
+
children?: ReactNode;
|
|
558
|
+
className?: string;
|
|
559
|
+
style?: CSSProperties;
|
|
560
|
+
};
|
|
533
561
|
|
|
534
562
|
declare type Props_10 = {
|
|
563
|
+
children: string;
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
declare type Props_11 = {
|
|
535
567
|
radius?: number;
|
|
536
568
|
inset?: number;
|
|
537
569
|
transitionLength?: number;
|
|
@@ -540,149 +572,159 @@ declare type Props_10 = {
|
|
|
540
572
|
className?: string;
|
|
541
573
|
};
|
|
542
574
|
|
|
543
|
-
declare
|
|
575
|
+
declare type Props_12 = {
|
|
544
576
|
isExpanded: boolean;
|
|
545
|
-
children:
|
|
577
|
+
children: ReactNode;
|
|
546
578
|
className?: string;
|
|
547
|
-
}
|
|
579
|
+
};
|
|
548
580
|
|
|
549
|
-
declare type
|
|
581
|
+
declare type Props_13 = {
|
|
550
582
|
className?: string;
|
|
551
583
|
};
|
|
552
584
|
|
|
553
|
-
declare type
|
|
585
|
+
declare type Props_14 = DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
554
586
|
|
|
555
|
-
declare
|
|
587
|
+
declare type Props_15 = {
|
|
556
588
|
className?: string;
|
|
557
|
-
}
|
|
589
|
+
};
|
|
558
590
|
|
|
559
|
-
declare type
|
|
591
|
+
declare type Props_16 = DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
560
592
|
|
|
561
|
-
declare
|
|
593
|
+
declare type Props_17 = {
|
|
562
594
|
className?: string;
|
|
563
595
|
onClick?: () => void;
|
|
564
|
-
children?:
|
|
565
|
-
}
|
|
596
|
+
children?: ReactNode;
|
|
597
|
+
};
|
|
566
598
|
|
|
567
|
-
declare interface
|
|
568
|
-
children?:
|
|
599
|
+
declare interface Props_18 extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
600
|
+
children?: ReactNode;
|
|
569
601
|
className?: string;
|
|
570
602
|
}
|
|
571
603
|
|
|
572
|
-
declare
|
|
604
|
+
declare type Props_19 = {
|
|
573
605
|
onClick?: () => void;
|
|
574
|
-
children?:
|
|
575
|
-
}
|
|
606
|
+
children?: ReactNode;
|
|
607
|
+
};
|
|
576
608
|
|
|
577
|
-
declare
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
className?: string;
|
|
581
|
-
}
|
|
609
|
+
declare type Props_2 = {
|
|
610
|
+
position?: 'static' | 'fixed';
|
|
611
|
+
};
|
|
582
612
|
|
|
583
|
-
declare interface
|
|
584
|
-
children
|
|
613
|
+
declare interface Props_20 extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
614
|
+
children?: ReactNode;
|
|
615
|
+
alternativeChildren?: ReactNode;
|
|
616
|
+
className?: string;
|
|
585
617
|
}
|
|
586
618
|
|
|
587
|
-
declare type
|
|
619
|
+
declare type Props_21 = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
588
620
|
|
|
589
|
-
declare type
|
|
621
|
+
declare type Props_22 = DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
590
622
|
|
|
591
|
-
declare type
|
|
623
|
+
declare type Props_23 = DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
592
624
|
|
|
593
|
-
declare type
|
|
625
|
+
declare type Props_24 = DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & {
|
|
594
626
|
className?: string;
|
|
595
627
|
};
|
|
596
628
|
|
|
597
|
-
declare
|
|
629
|
+
declare type Props_25 = {
|
|
598
630
|
variant: 'wavy' | 'linear' | 'glance';
|
|
599
|
-
}
|
|
631
|
+
};
|
|
600
632
|
|
|
601
|
-
declare type
|
|
633
|
+
declare type Props_26 = DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
602
634
|
|
|
603
|
-
declare type
|
|
604
|
-
onClick?: (e:
|
|
635
|
+
declare type Props_27 = {
|
|
636
|
+
onClick?: (e: MouseEvent_2<HTMLButtonElement>) => void;
|
|
605
637
|
disabled?: boolean;
|
|
606
638
|
onSuccess?: () => void;
|
|
607
|
-
children?:
|
|
639
|
+
children?: ReactNode;
|
|
608
640
|
className?: string;
|
|
609
641
|
};
|
|
610
642
|
|
|
611
|
-
declare
|
|
612
|
-
children?:
|
|
643
|
+
declare type Props_28 = {
|
|
644
|
+
children?: ReactNode;
|
|
613
645
|
className?: string;
|
|
614
646
|
contentClassName?: string;
|
|
615
647
|
hoverColor?: string;
|
|
616
|
-
label?:
|
|
617
|
-
}
|
|
648
|
+
label?: ReactNode;
|
|
649
|
+
};
|
|
618
650
|
|
|
619
|
-
declare type
|
|
651
|
+
declare type Props_29 = {
|
|
620
652
|
imageSrc?: string;
|
|
621
653
|
title?: string;
|
|
622
654
|
thumbSrc?: string;
|
|
623
|
-
description?:
|
|
655
|
+
description?: ReactNode;
|
|
624
656
|
className?: string;
|
|
625
657
|
};
|
|
626
658
|
|
|
627
|
-
declare
|
|
628
|
-
children: default_2.ReactNode;
|
|
659
|
+
declare type Props_3 = {
|
|
629
660
|
className?: string;
|
|
630
|
-
|
|
631
|
-
}
|
|
661
|
+
};
|
|
632
662
|
|
|
633
|
-
declare
|
|
634
|
-
children:
|
|
635
|
-
|
|
663
|
+
declare type Props_30 = {
|
|
664
|
+
children: ReactNode;
|
|
665
|
+
className?: string;
|
|
666
|
+
onClick?: () => void;
|
|
667
|
+
};
|
|
636
668
|
|
|
637
|
-
declare
|
|
638
|
-
header:
|
|
639
|
-
children:
|
|
669
|
+
declare type Props_31 = {
|
|
670
|
+
header: ReactNode;
|
|
671
|
+
children: ReactNode;
|
|
640
672
|
className?: string;
|
|
641
|
-
}
|
|
673
|
+
};
|
|
642
674
|
|
|
643
|
-
declare
|
|
644
|
-
children?:
|
|
675
|
+
declare type Props_32 = {
|
|
676
|
+
children?: ReactNode;
|
|
645
677
|
global?: boolean;
|
|
646
678
|
color?: string;
|
|
647
|
-
}
|
|
679
|
+
};
|
|
648
680
|
|
|
649
|
-
declare
|
|
650
|
-
children:
|
|
681
|
+
declare type Props_33 = {
|
|
682
|
+
children: ReactNode;
|
|
651
683
|
className?: string;
|
|
652
684
|
onClick?: () => void;
|
|
653
|
-
}
|
|
685
|
+
};
|
|
654
686
|
|
|
655
|
-
declare
|
|
687
|
+
declare type Props_34 = {
|
|
656
688
|
items?: CarouselItem[];
|
|
657
|
-
}
|
|
689
|
+
};
|
|
658
690
|
|
|
659
|
-
declare type
|
|
660
|
-
headline?:
|
|
691
|
+
declare type Props_35 = {
|
|
692
|
+
headline?: ReactNode;
|
|
661
693
|
description?: string;
|
|
662
694
|
withArrows?: boolean;
|
|
663
|
-
children?:
|
|
695
|
+
children?: ReactElement<any> | ReactElement<any>[];
|
|
664
696
|
};
|
|
665
697
|
|
|
666
|
-
declare type
|
|
698
|
+
declare type Props_36 = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
667
699
|
rootClassName?: string;
|
|
668
700
|
className?: string;
|
|
669
701
|
inputClassName?: string;
|
|
670
|
-
ref?:
|
|
702
|
+
ref?: Ref<HTMLSpanElement>;
|
|
703
|
+
};
|
|
704
|
+
|
|
705
|
+
declare type Props_37 = {
|
|
706
|
+
children: ReactNode;
|
|
707
|
+
defaultChecked?: boolean;
|
|
708
|
+
onChange?: (checked: boolean) => void;
|
|
671
709
|
};
|
|
672
710
|
|
|
673
|
-
declare
|
|
711
|
+
declare type Props_38 = {
|
|
674
712
|
className?: string;
|
|
675
|
-
}
|
|
713
|
+
};
|
|
676
714
|
|
|
677
|
-
declare
|
|
715
|
+
declare type Props_39 = {
|
|
678
716
|
onClick?: () => void;
|
|
679
|
-
}
|
|
717
|
+
};
|
|
680
718
|
|
|
681
|
-
declare
|
|
719
|
+
declare type Props_4 = {
|
|
720
|
+
children: ReactNode;
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
declare type Props_40 = {
|
|
682
724
|
limit?: boolean;
|
|
683
|
-
}
|
|
725
|
+
};
|
|
684
726
|
|
|
685
|
-
declare type
|
|
727
|
+
declare type Props_41 = default_2.HTMLAttributes<HTMLElement> & {
|
|
686
728
|
children: default_2.ReactNode;
|
|
687
729
|
key: string;
|
|
688
730
|
tooltip?: default_2.ReactNode;
|
|
@@ -693,69 +735,71 @@ declare type Props_39 = default_2.HTMLAttributes<HTMLElement> & {
|
|
|
693
735
|
onClick?: (e: default_2.MouseEvent<HTMLElement>) => void;
|
|
694
736
|
} & Use;
|
|
695
737
|
|
|
696
|
-
declare
|
|
697
|
-
position?: 'static' | 'fixed';
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
declare interface Props_40 {
|
|
738
|
+
declare type Props_42 = {
|
|
701
739
|
isOpen: boolean;
|
|
702
740
|
onClick?: () => void;
|
|
703
741
|
className?: string;
|
|
704
|
-
}
|
|
742
|
+
};
|
|
705
743
|
|
|
706
|
-
declare
|
|
744
|
+
declare type Props_43 = {
|
|
707
745
|
className?: string;
|
|
708
746
|
contentClassName?: string;
|
|
709
|
-
children:
|
|
710
|
-
}
|
|
747
|
+
children: ReactNode;
|
|
748
|
+
};
|
|
711
749
|
|
|
712
|
-
declare type
|
|
750
|
+
declare type Props_44 = DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
|
|
713
751
|
|
|
714
|
-
declare type
|
|
752
|
+
declare type Props_45 = DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
|
|
715
753
|
|
|
716
|
-
declare interface
|
|
754
|
+
declare interface Props_46 extends DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> {
|
|
717
755
|
href: string;
|
|
718
756
|
}
|
|
719
757
|
|
|
720
|
-
declare interface
|
|
758
|
+
declare interface Props_47 extends DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> {
|
|
721
759
|
href: string;
|
|
722
760
|
}
|
|
723
761
|
|
|
724
|
-
declare
|
|
762
|
+
declare type Props_48 = {
|
|
725
763
|
className?: string;
|
|
726
764
|
controls?: boolean;
|
|
727
765
|
initialValue?: number;
|
|
728
|
-
}
|
|
766
|
+
};
|
|
729
767
|
|
|
730
|
-
declare
|
|
768
|
+
declare type Props_49 = {
|
|
731
769
|
type?: 'fade' | 'scale';
|
|
732
|
-
}
|
|
770
|
+
};
|
|
733
771
|
|
|
734
|
-
declare type
|
|
772
|
+
declare type Props_5 = {
|
|
773
|
+
options: {
|
|
774
|
+
id: string;
|
|
775
|
+
title: ReactNode;
|
|
776
|
+
}[];
|
|
777
|
+
activeId: string;
|
|
778
|
+
onChange: (value: string) => void;
|
|
779
|
+
isVertical?: boolean;
|
|
780
|
+
};
|
|
781
|
+
|
|
782
|
+
declare type Props_50 = {
|
|
735
783
|
className?: string;
|
|
736
784
|
children?: string;
|
|
737
785
|
};
|
|
738
786
|
|
|
739
|
-
declare
|
|
787
|
+
declare type Props_51 = {
|
|
740
788
|
className?: string;
|
|
741
789
|
onClick?: () => void;
|
|
742
|
-
children?:
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
declare type Props_5 = {
|
|
746
|
-
className?: string;
|
|
790
|
+
children?: ReactNode;
|
|
747
791
|
};
|
|
748
792
|
|
|
749
|
-
declare type
|
|
793
|
+
declare type Props_52 = {
|
|
750
794
|
status: 'success' | 'loading' | 'pending';
|
|
751
795
|
};
|
|
752
796
|
|
|
753
|
-
declare
|
|
797
|
+
declare type Props_53 = {
|
|
754
798
|
items?: Item[];
|
|
755
799
|
value?: Item['id'];
|
|
756
|
-
}
|
|
800
|
+
};
|
|
757
801
|
|
|
758
|
-
declare
|
|
802
|
+
declare type Props_54 = {
|
|
759
803
|
items: Item_2[];
|
|
760
804
|
onClick?: (id: string) => void;
|
|
761
805
|
direction?: 'left' | 'right';
|
|
@@ -763,159 +807,186 @@ declare interface Props_52 {
|
|
|
763
807
|
isMobile?: boolean;
|
|
764
808
|
position?: 'static' | 'fixed';
|
|
765
809
|
activeId?: string;
|
|
766
|
-
}
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
declare type Props_55 = {
|
|
813
|
+
className: string;
|
|
814
|
+
depth: number;
|
|
815
|
+
};
|
|
767
816
|
|
|
768
|
-
declare type
|
|
817
|
+
declare type Props_56 = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
769
818
|
className?: string;
|
|
770
819
|
};
|
|
771
820
|
|
|
772
|
-
declare
|
|
821
|
+
declare type Props_57 = {
|
|
773
822
|
dark?: boolean;
|
|
774
|
-
}
|
|
823
|
+
};
|
|
775
824
|
|
|
776
|
-
declare type
|
|
825
|
+
declare type Props_58 = {
|
|
777
826
|
withText?: boolean;
|
|
778
827
|
};
|
|
779
828
|
|
|
780
|
-
declare
|
|
781
|
-
children:
|
|
782
|
-
}
|
|
829
|
+
declare type Props_59 = {
|
|
830
|
+
children: ReactNode;
|
|
831
|
+
};
|
|
832
|
+
|
|
833
|
+
declare type Props_6 = {
|
|
834
|
+
children: ReactNode;
|
|
835
|
+
};
|
|
783
836
|
|
|
784
|
-
declare
|
|
837
|
+
declare type Props_60 = {
|
|
785
838
|
children: string;
|
|
786
839
|
className?: string;
|
|
787
|
-
}
|
|
840
|
+
};
|
|
788
841
|
|
|
789
|
-
declare
|
|
842
|
+
declare type Props_61 = {
|
|
790
843
|
children: string;
|
|
791
|
-
|
|
792
|
-
}
|
|
844
|
+
};
|
|
793
845
|
|
|
794
|
-
declare
|
|
846
|
+
declare type Props_62 = {
|
|
795
847
|
children: string;
|
|
796
|
-
|
|
848
|
+
reveal?: boolean;
|
|
849
|
+
};
|
|
797
850
|
|
|
798
|
-
declare
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
children: ReactNode;
|
|
802
|
-
}
|
|
851
|
+
declare type Props_63 = {
|
|
852
|
+
children: string;
|
|
853
|
+
};
|
|
803
854
|
|
|
804
|
-
declare
|
|
855
|
+
declare type Props_64 = {
|
|
805
856
|
children: string;
|
|
806
857
|
className?: string;
|
|
807
|
-
}
|
|
858
|
+
};
|
|
808
859
|
|
|
809
|
-
declare
|
|
860
|
+
declare type Props_65 = {
|
|
810
861
|
children: string;
|
|
811
|
-
}
|
|
862
|
+
};
|
|
812
863
|
|
|
813
|
-
declare
|
|
814
|
-
|
|
815
|
-
}
|
|
864
|
+
declare type Props_7 = {
|
|
865
|
+
type?: 'reveal' | 'fade-in' | 'glow';
|
|
866
|
+
};
|
|
816
867
|
|
|
817
|
-
declare
|
|
868
|
+
declare type Props_8 = {
|
|
818
869
|
loop?: boolean;
|
|
819
|
-
}
|
|
870
|
+
};
|
|
820
871
|
|
|
821
|
-
declare
|
|
822
|
-
|
|
823
|
-
|
|
872
|
+
declare type Props_9 = {
|
|
873
|
+
direction: SlideDirection;
|
|
874
|
+
delay?: number;
|
|
875
|
+
children: ReactNode;
|
|
876
|
+
};
|
|
824
877
|
|
|
825
|
-
export declare const PsychedelicButton:
|
|
878
|
+
export declare const PsychedelicButton: FC<Props_25>;
|
|
826
879
|
|
|
827
|
-
export declare const PulseInLoader:
|
|
880
|
+
export declare const PulseInLoader: FC;
|
|
828
881
|
|
|
829
|
-
export declare const PulseOutLoader:
|
|
882
|
+
export declare const PulseOutLoader: FC;
|
|
830
883
|
|
|
831
|
-
export declare const QuickTimeClock:
|
|
884
|
+
export declare const QuickTimeClock: FC;
|
|
832
885
|
|
|
833
|
-
export declare const RadialMenu:
|
|
886
|
+
export declare const RadialMenu: FC;
|
|
834
887
|
|
|
835
|
-
export declare const RadialNavigation:
|
|
888
|
+
export declare const RadialNavigation: FC<Props_54>;
|
|
836
889
|
|
|
837
890
|
export declare const RadioHopping: FC;
|
|
838
891
|
|
|
839
|
-
export declare const RadioParticles:
|
|
892
|
+
export declare const RadioParticles: FC;
|
|
840
893
|
|
|
841
|
-
export declare const RadioRolling:
|
|
894
|
+
export declare const RadioRolling: FC;
|
|
842
895
|
|
|
843
|
-
export declare const RaysBackground:
|
|
896
|
+
export declare const RaysBackground: FC;
|
|
844
897
|
|
|
845
|
-
export declare const RealisticSmoke:
|
|
898
|
+
export declare const RealisticSmoke: FC;
|
|
846
899
|
|
|
847
900
|
export declare const RegularLink: {
|
|
848
|
-
({ children, href, className, target, rel, ref, ...rest }:
|
|
901
|
+
({ children, href, className, target, rel, ref, ...rest }: Props_46): JSX.Element;
|
|
849
902
|
displayName: string;
|
|
850
903
|
};
|
|
851
904
|
|
|
852
|
-
export declare const RepostButton:
|
|
905
|
+
export declare const RepostButton: FC;
|
|
906
|
+
|
|
907
|
+
export declare const RevealImageAnimation: FC;
|
|
853
908
|
|
|
854
|
-
export declare const
|
|
909
|
+
export declare const RhombusGallery: FC;
|
|
855
910
|
|
|
856
|
-
export declare const
|
|
911
|
+
export declare const RingLoader: FC<Props_50>;
|
|
857
912
|
|
|
858
|
-
export declare const
|
|
913
|
+
export declare const RotatedCardsCarousel: FC;
|
|
859
914
|
|
|
860
|
-
export declare const
|
|
915
|
+
export declare const RoundScaleLoader: FC;
|
|
861
916
|
|
|
862
|
-
export declare const
|
|
917
|
+
export declare const RubberButton: FC;
|
|
863
918
|
|
|
864
|
-
export declare const
|
|
919
|
+
export declare const RunningButton: FC;
|
|
865
920
|
|
|
866
|
-
export declare const
|
|
921
|
+
export declare const SchrodingerFormControls: FC;
|
|
867
922
|
|
|
868
|
-
export declare const
|
|
923
|
+
export declare const ScrambledText: FC<Props_62>;
|
|
869
924
|
|
|
870
|
-
export declare const
|
|
925
|
+
export declare const ScramblingLetters: FC;
|
|
871
926
|
|
|
872
|
-
export declare const
|
|
927
|
+
export declare const ScrollCountdown: FC;
|
|
873
928
|
|
|
874
|
-
export declare const
|
|
929
|
+
export declare const ScrollDrivenTextBlowOut: FC;
|
|
875
930
|
|
|
876
|
-
export declare const
|
|
931
|
+
export declare const Scroller: FC<Props_35>;
|
|
877
932
|
|
|
878
|
-
export declare const
|
|
933
|
+
export declare const ScrollingTextReveal: FC;
|
|
879
934
|
|
|
880
|
-
export declare const
|
|
935
|
+
export declare const ScrollTextHighlight: FC;
|
|
881
936
|
|
|
882
|
-
export declare const
|
|
937
|
+
export declare const ScrollTimeline: FC;
|
|
883
938
|
|
|
884
|
-
export declare const
|
|
939
|
+
export declare const ScrollWithLight: FC;
|
|
885
940
|
|
|
886
|
-
export declare const
|
|
941
|
+
export declare const SearchInput: FC;
|
|
887
942
|
|
|
888
|
-
export declare const
|
|
943
|
+
export declare const SegmentedControls: FC<Props_5>;
|
|
889
944
|
|
|
890
|
-
export declare const
|
|
945
|
+
export declare const SegmentedToggle: FC;
|
|
891
946
|
|
|
892
|
-
export declare const
|
|
947
|
+
export declare const setLogLevel: (level: LogLevel) => void;
|
|
893
948
|
|
|
894
|
-
export declare const
|
|
949
|
+
export declare const setRequestId: (id: string) => void;
|
|
895
950
|
|
|
896
|
-
export declare const
|
|
951
|
+
export declare const setSessionId: (id: string) => void;
|
|
897
952
|
|
|
898
|
-
export declare const
|
|
953
|
+
export declare const ShadowedCardsList: FC;
|
|
899
954
|
|
|
900
|
-
export declare const
|
|
955
|
+
export declare const ShadowedClick: FC;
|
|
901
956
|
|
|
902
|
-
export declare const
|
|
957
|
+
export declare const ShakingText: FC<Props_63>;
|
|
903
958
|
|
|
904
|
-
export declare const
|
|
959
|
+
export declare const ShakyLine: FC;
|
|
905
960
|
|
|
906
|
-
export declare const
|
|
961
|
+
export declare const ShapeSelection: FC<Props_6>;
|
|
907
962
|
|
|
908
|
-
export declare const
|
|
963
|
+
export declare const ShimmerButton: FC;
|
|
909
964
|
|
|
910
|
-
export declare const
|
|
965
|
+
export declare const ShimmeringBorderGradient: FC;
|
|
911
966
|
|
|
912
|
-
export declare const
|
|
967
|
+
export declare const ShineAnimation: FC;
|
|
913
968
|
|
|
914
|
-
|
|
969
|
+
/**
|
|
970
|
+
* A card component with scroll-timeline shine effects that animate based on scroll position.
|
|
971
|
+
*
|
|
972
|
+
* The component uses CSS `animation-timeline: view()` to create smooth animations that respond
|
|
973
|
+
* to the card's visibility in the viewport. It's completely agnostic - whatever content you
|
|
974
|
+
* put inside will be rendered with the shine animation effects.
|
|
975
|
+
*
|
|
976
|
+
* @param props - The component props
|
|
977
|
+
* @returns A React functional component
|
|
978
|
+
*/
|
|
979
|
+
export declare const ShineCard: FC<Props>;
|
|
980
|
+
|
|
981
|
+
export declare const ShiningText: FC<Props_64>;
|
|
915
982
|
|
|
916
|
-
export declare const
|
|
983
|
+
export declare const ShinyButton: FC;
|
|
917
984
|
|
|
918
|
-
export declare const
|
|
985
|
+
export declare const SinglePopoverMenu: FC;
|
|
986
|
+
|
|
987
|
+
export declare const SkateboardPreloader: FC;
|
|
988
|
+
|
|
989
|
+
export declare const SkeuomorphicLikeButton: FC;
|
|
919
990
|
|
|
920
991
|
declare enum SlideDirection {
|
|
921
992
|
TOP = "top",
|
|
@@ -928,116 +999,118 @@ declare enum SlideDirection {
|
|
|
928
999
|
RIGHT = "right"
|
|
929
1000
|
}
|
|
930
1001
|
|
|
931
|
-
export declare const SlideIn: FC<
|
|
1002
|
+
export declare const SlideIn: FC<Props_9>;
|
|
932
1003
|
|
|
933
|
-
export declare const SlidingButton:
|
|
1004
|
+
export declare const SlidingButton: FC;
|
|
934
1005
|
|
|
935
|
-
export declare const SlidingIcon:
|
|
1006
|
+
export declare const SlidingIcon: FC;
|
|
936
1007
|
|
|
937
|
-
export declare const SlidingImages:
|
|
1008
|
+
export declare const SlidingImages: FC;
|
|
938
1009
|
|
|
939
|
-
export declare const SlidingStepper:
|
|
1010
|
+
export declare const SlidingStepper: FC;
|
|
940
1011
|
|
|
941
|
-
export declare const SmileyPreloader:
|
|
1012
|
+
export declare const SmileyPreloader: FC;
|
|
942
1013
|
|
|
943
|
-
export declare const SmokeTextDisappearance:
|
|
1014
|
+
export declare const SmokeTextDisappearance: FC<Props_10>;
|
|
944
1015
|
|
|
945
|
-
export declare const SmoothScroll:
|
|
1016
|
+
export declare const SmoothScroll: FC;
|
|
946
1017
|
|
|
947
|
-
export declare const SnowballPreloader:
|
|
1018
|
+
export declare const SnowballPreloader: FC;
|
|
948
1019
|
|
|
949
1020
|
export declare const SolarEclipse: () => JSX.Element;
|
|
950
1021
|
|
|
951
|
-
export declare const SparkleButton:
|
|
1022
|
+
export declare const SparkleButton: FC;
|
|
1023
|
+
|
|
1024
|
+
export declare const SparklyButton: FC;
|
|
952
1025
|
|
|
953
|
-
export declare const
|
|
1026
|
+
export declare const SpeechToText: FC;
|
|
954
1027
|
|
|
955
|
-
export declare const
|
|
1028
|
+
export declare const SpinningClickAnimation: FC<Props_51>;
|
|
956
1029
|
|
|
957
|
-
export declare const
|
|
1030
|
+
export declare const SplashCursor: FC<Props_39>;
|
|
958
1031
|
|
|
959
|
-
export declare const
|
|
1032
|
+
export declare const SquircleAvatar: FC;
|
|
960
1033
|
|
|
961
|
-
export declare const
|
|
1034
|
+
export declare const SquishButton: FC<Props_26>;
|
|
962
1035
|
|
|
963
|
-
export declare const
|
|
1036
|
+
export declare const StackingCards: FC;
|
|
964
1037
|
|
|
965
|
-
export declare const
|
|
1038
|
+
export declare const StaticSolarEclipse: FC;
|
|
966
1039
|
|
|
967
|
-
export declare const
|
|
1040
|
+
export declare const StickyHeader: FC;
|
|
968
1041
|
|
|
969
|
-
export declare const
|
|
1042
|
+
export declare const StickyList: FC;
|
|
970
1043
|
|
|
971
|
-
export declare const
|
|
1044
|
+
export declare const storageLogger: BaseLogger;
|
|
972
1045
|
|
|
973
|
-
export declare const StretchToggle:
|
|
1046
|
+
export declare const StretchToggle: FC;
|
|
974
1047
|
|
|
975
|
-
export declare const StretchyLoader:
|
|
1048
|
+
export declare const StretchyLoader: FC;
|
|
976
1049
|
|
|
977
|
-
export declare const StrikethroughCheckbox:
|
|
1050
|
+
export declare const StrikethroughCheckbox: FC<Props_37>;
|
|
978
1051
|
|
|
979
|
-
export declare const StrikethroughCheckboxes:
|
|
1052
|
+
export declare const StrikethroughCheckboxes: FC;
|
|
980
1053
|
|
|
981
|
-
export declare const StuntPreloader:
|
|
1054
|
+
export declare const StuntPreloader: FC;
|
|
982
1055
|
|
|
983
|
-
export declare const SubtleBorderAnimation:
|
|
1056
|
+
export declare const SubtleBorderAnimation: FC;
|
|
984
1057
|
|
|
985
|
-
export declare const SuccessLoader:
|
|
1058
|
+
export declare const SuccessLoader: FC<Props_52>;
|
|
986
1059
|
|
|
987
|
-
export declare const SuccessLoadingButton:
|
|
1060
|
+
export declare const SuccessLoadingButton: FC<Props_27>;
|
|
988
1061
|
|
|
989
|
-
export declare const TabBarAnimation:
|
|
1062
|
+
export declare const TabBarAnimation: FC;
|
|
990
1063
|
|
|
991
1064
|
export declare const TextImageHover: () => JSX.Element;
|
|
992
1065
|
|
|
993
|
-
export declare const TextMorphing:
|
|
1066
|
+
export declare const TextMorphing: FC;
|
|
994
1067
|
|
|
995
|
-
export declare const TextOutline:
|
|
1068
|
+
export declare const TextOutline: FC;
|
|
996
1069
|
|
|
997
|
-
export declare const TextShadow:
|
|
1070
|
+
export declare const TextShadow: FC;
|
|
998
1071
|
|
|
999
|
-
export declare const Texture:
|
|
1072
|
+
export declare const Texture: FC<Props_13>;
|
|
1000
1073
|
|
|
1001
|
-
export declare const ThanosDisappearEffect:
|
|
1074
|
+
export declare const ThanosDisappearEffect: FC;
|
|
1002
1075
|
|
|
1003
|
-
export declare const ThanosDisappearEffectList:
|
|
1076
|
+
export declare const ThanosDisappearEffectList: FC;
|
|
1004
1077
|
|
|
1005
|
-
export declare const ThreadsLikeButton:
|
|
1078
|
+
export declare const ThreadsLikeButton: FC;
|
|
1006
1079
|
|
|
1007
|
-
export declare const ThreeDotsLoader:
|
|
1080
|
+
export declare const ThreeDotsLoader: FC;
|
|
1008
1081
|
|
|
1009
|
-
export declare const ThumbsUpButton:
|
|
1082
|
+
export declare const ThumbsUpButton: FC;
|
|
1010
1083
|
|
|
1011
|
-
export declare const Ticker:
|
|
1084
|
+
export declare const Ticker: FC;
|
|
1012
1085
|
|
|
1013
|
-
export declare const TicklishButton:
|
|
1086
|
+
export declare const TicklishButton: FC;
|
|
1014
1087
|
|
|
1015
|
-
export declare const TimeCirclesLoader:
|
|
1088
|
+
export declare const TimeCirclesLoader: FC;
|
|
1016
1089
|
|
|
1017
1090
|
export declare const times: <T>(fn: (index: number) => T, size: number) => T[];
|
|
1018
1091
|
|
|
1019
|
-
export declare const TippingSwitch:
|
|
1092
|
+
export declare const TippingSwitch: FC<Props_58>;
|
|
1020
1093
|
|
|
1021
|
-
export declare const Toasts:
|
|
1094
|
+
export declare const Toasts: FC;
|
|
1022
1095
|
|
|
1023
|
-
export declare const ToggleBubble:
|
|
1096
|
+
export declare const ToggleBubble: FC;
|
|
1024
1097
|
|
|
1025
|
-
export declare const ToggleClipPath:
|
|
1098
|
+
export declare const ToggleClipPath: FC;
|
|
1026
1099
|
|
|
1027
|
-
export declare const TooltipRangeSlider:
|
|
1100
|
+
export declare const TooltipRangeSlider: FC;
|
|
1028
1101
|
|
|
1029
|
-
export declare const TranslucentBackdrop:
|
|
1102
|
+
export declare const TranslucentBackdrop: FC;
|
|
1030
1103
|
|
|
1031
|
-
export declare const TrickButton:
|
|
1104
|
+
export declare const TrickButton: FC;
|
|
1032
1105
|
|
|
1033
|
-
export declare const TurbulenceFilter:
|
|
1106
|
+
export declare const TurbulenceFilter: FC;
|
|
1034
1107
|
|
|
1035
1108
|
export declare const UnderlinedLink: {
|
|
1036
|
-
({ children, href, className, target, rel, ref, ...rest }:
|
|
1109
|
+
({ children, href, className, target, rel, ref, ...rest }: Props_47): JSX.Element;
|
|
1037
1110
|
displayName: string;
|
|
1038
1111
|
};
|
|
1039
1112
|
|
|
1040
|
-
export declare const UnderlinedLink2:
|
|
1113
|
+
export declare const UnderlinedLink2: FC;
|
|
1041
1114
|
|
|
1042
1115
|
declare type Use = {
|
|
1043
1116
|
use?: 'div';
|
|
@@ -1066,6 +1139,28 @@ declare interface UseBowserResult {
|
|
|
1066
1139
|
isChrome: boolean;
|
|
1067
1140
|
}
|
|
1068
1141
|
|
|
1142
|
+
/**
|
|
1143
|
+
* Custom hook that debounces a callback function to delay its execution until after
|
|
1144
|
+
* a specified wait time has elapsed since the last time it was invoked.
|
|
1145
|
+
*
|
|
1146
|
+
* Debouncing ensures that the callback is only executed once after a series of rapid calls,
|
|
1147
|
+
* waiting for a pause in the calls before executing.
|
|
1148
|
+
*
|
|
1149
|
+
* @param callback - The function to debounce
|
|
1150
|
+
* @param delay - The delay time (in milliseconds) to wait before executing the callback
|
|
1151
|
+
* @returns A debounced version of the callback function
|
|
1152
|
+
*
|
|
1153
|
+
* @example
|
|
1154
|
+
* ```tsx
|
|
1155
|
+
* const debouncedSearch = useDebounce((query: string) => {
|
|
1156
|
+
* console.log('Searching for:', query)
|
|
1157
|
+
* }, 300)
|
|
1158
|
+
*
|
|
1159
|
+
* return <input onChange={(e) => debouncedSearch(e.target.value)} />
|
|
1160
|
+
* ```
|
|
1161
|
+
*/
|
|
1162
|
+
export declare const useDebounce: <T extends (...args: any[]) => any>(callback: T, delay: number) => T;
|
|
1163
|
+
|
|
1069
1164
|
/**
|
|
1070
1165
|
* A React hook that implements the useEffectEvent pattern from React RFC.
|
|
1071
1166
|
* This hook allows you to define an event handler that can access the latest props/state
|
|
@@ -1085,12 +1180,78 @@ export declare const useMatchMedia: (query: string) => boolean | null;
|
|
|
1085
1180
|
|
|
1086
1181
|
export declare const useOklch: () => void;
|
|
1087
1182
|
|
|
1088
|
-
|
|
1183
|
+
/**
|
|
1184
|
+
* Custom hook that detects clicks outside of a specified element and triggers a callback.
|
|
1185
|
+
*
|
|
1186
|
+
* Useful for implementing dropdown menus, modals, or any component that should close
|
|
1187
|
+
* when the user clicks outside of it.
|
|
1188
|
+
*
|
|
1189
|
+
* @param ref - React ref object pointing to the element to monitor
|
|
1190
|
+
* @param callback - Function to call when a click occurs outside the element
|
|
1191
|
+
* @param isActive - Whether the outside click detection should be active (default: true)
|
|
1192
|
+
*
|
|
1193
|
+
* @example
|
|
1194
|
+
* ```tsx
|
|
1195
|
+
* const ref = useRef<HTMLDivElement>(null)
|
|
1196
|
+
* const [isOpen, setIsOpen] = useState(false)
|
|
1197
|
+
*
|
|
1198
|
+
* useOutsideClick(ref, () => setIsOpen(false), isOpen)
|
|
1199
|
+
*
|
|
1200
|
+
* return <div ref={ref}>...</div>
|
|
1201
|
+
* ```
|
|
1202
|
+
*/
|
|
1203
|
+
export declare const useOutsideClick: <T extends HTMLElement = HTMLElement>(ref: RefObject<T | null>, callback: () => void, isActive?: boolean) => void;
|
|
1089
1204
|
|
|
1090
1205
|
export declare const usePrevious: <T>(value: T) => T | undefined;
|
|
1091
1206
|
|
|
1092
1207
|
export declare const usePreviousRender: <T>(value: T) => T | undefined;
|
|
1093
1208
|
|
|
1209
|
+
/**
|
|
1210
|
+
* Custom hook that provides a requestAnimationFrame-based callback execution.
|
|
1211
|
+
* Useful for performance-critical animations and continuous updates that should
|
|
1212
|
+
* be synchronized with the browser's refresh rate.
|
|
1213
|
+
*
|
|
1214
|
+
* The callback will be executed on the next animation frame, and can be
|
|
1215
|
+
* controlled with an enabled flag for conditional execution.
|
|
1216
|
+
*
|
|
1217
|
+
* @param callback - The function to execute on each animation frame
|
|
1218
|
+
* @param enabled - Whether the animation loop should be active (default: true)
|
|
1219
|
+
* @returns A function to manually trigger the animation frame callback
|
|
1220
|
+
*
|
|
1221
|
+
* @example
|
|
1222
|
+
* ```tsx
|
|
1223
|
+
* const animate = useRaf(() => {
|
|
1224
|
+
* // Animation logic here
|
|
1225
|
+
* console.log('Animation frame')
|
|
1226
|
+
* }, isAnimating)
|
|
1227
|
+
*
|
|
1228
|
+
* // Manually trigger
|
|
1229
|
+
* animate()
|
|
1230
|
+
* ```
|
|
1231
|
+
*/
|
|
1232
|
+
export declare const useRaf: (callback: () => void, enabled?: boolean) => (() => void);
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* Custom hook that throttles a callback function to limit how often it can be invoked.
|
|
1236
|
+
*
|
|
1237
|
+
* Throttling ensures that the callback is executed at most once per specified time interval,
|
|
1238
|
+
* regardless of how many times the throttled function is called.
|
|
1239
|
+
*
|
|
1240
|
+
* @param callback - The function to throttle
|
|
1241
|
+
* @param delay - The minimum time interval (in milliseconds) between executions
|
|
1242
|
+
* @returns A throttled version of the callback function
|
|
1243
|
+
*
|
|
1244
|
+
* @example
|
|
1245
|
+
* ```tsx
|
|
1246
|
+
* const throttledClick = useThrottle(() => {
|
|
1247
|
+
* console.log('Button clicked')
|
|
1248
|
+
* }, 500)
|
|
1249
|
+
*
|
|
1250
|
+
* return <button onClick={throttledClick}>Click me</button>
|
|
1251
|
+
* ```
|
|
1252
|
+
*/
|
|
1253
|
+
export declare const useThrottle: <T extends (...args: any[]) => any>(callback: T, delay: number) => T;
|
|
1254
|
+
|
|
1094
1255
|
/**
|
|
1095
1256
|
* Universal layout effect that uses useLayoutEffect in browser environments
|
|
1096
1257
|
* and falls back to useEffect in SSR environments
|
|
@@ -1099,20 +1260,22 @@ export declare const useUniversalLayoutEffect: typeof default_2.useEffect;
|
|
|
1099
1260
|
|
|
1100
1261
|
export declare const useWindowReady: () => boolean;
|
|
1101
1262
|
|
|
1263
|
+
export declare const utilsLogger: BaseLogger;
|
|
1264
|
+
|
|
1102
1265
|
export declare const values: <T extends Record<string | number | symbol, any>>(input: T) => Array<T[keyof T]>;
|
|
1103
1266
|
|
|
1104
|
-
export declare const ViewTransitionAddToCard:
|
|
1267
|
+
export declare const ViewTransitionAddToCard: FC;
|
|
1105
1268
|
|
|
1106
|
-
export declare const ViewTransitionImageGallery:
|
|
1269
|
+
export declare const ViewTransitionImageGallery: FC;
|
|
1107
1270
|
|
|
1108
|
-
export declare const VoiceAnimation:
|
|
1271
|
+
export declare const VoiceAnimation: FC;
|
|
1109
1272
|
|
|
1110
1273
|
export declare const wait: (ms: number) => Promise<unknown>;
|
|
1111
1274
|
|
|
1112
|
-
export declare const WavyMenu:
|
|
1275
|
+
export declare const WavyMenu: FC;
|
|
1113
1276
|
|
|
1114
|
-
export declare const WebGLSmoke:
|
|
1277
|
+
export declare const WebGLSmoke: FC;
|
|
1115
1278
|
|
|
1116
|
-
export declare const WeightText: FC<
|
|
1279
|
+
export declare const WeightText: FC<Props_65>;
|
|
1117
1280
|
|
|
1118
1281
|
export { }
|