loading-state-zoo 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +588 -0
- package/dist/index.cjs +291 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +90 -0
- package/dist/index.d.ts +90 -0
- package/dist/index.js +291 -0
- package/dist/index.js.map +1 -0
- package/dist/react.cjs +291 -0
- package/dist/react.cjs.map +1 -0
- package/dist/react.d.cts +276 -0
- package/dist/react.d.ts +276 -0
- package/dist/react.js +291 -0
- package/dist/react.js.map +1 -0
- package/dist/theme.css +525 -0
- package/docs/AI.md +69 -0
- package/docs/components.json +533 -0
- package/package.json +67 -0
package/dist/react.d.cts
ADDED
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { DetailedHTMLProps, HTMLAttributes, CSSProperties } from 'react';
|
|
3
|
+
|
|
4
|
+
declare const BOUNCING_DOTS_TAG = "lz-bouncing-dots";
|
|
5
|
+
|
|
6
|
+
declare const TYPING_DOTS_TAG = "lz-typing-dots";
|
|
7
|
+
|
|
8
|
+
declare const WAVE_DOTS_TAG = "lz-wave-dots";
|
|
9
|
+
|
|
10
|
+
declare const HELIX_DOTS_TAG = "lz-helix-dots";
|
|
11
|
+
|
|
12
|
+
declare const DOT_GRID_WAVE_TAG = "lz-dot-grid-wave";
|
|
13
|
+
|
|
14
|
+
declare const ARC_SPINNER_TAG = "lz-arc-spinner";
|
|
15
|
+
|
|
16
|
+
declare const MATERIAL_DOUBLE_ARC_TAG = "lz-material-double-arc";
|
|
17
|
+
|
|
18
|
+
declare const SCAN_SWEEP_TAG = "lz-scan-sweep";
|
|
19
|
+
|
|
20
|
+
declare const ORBIT_DOTS_TAG = "lz-orbit-dots";
|
|
21
|
+
|
|
22
|
+
declare const ORBIT_RING_DOTS_TAG = "lz-orbit-ring-dots";
|
|
23
|
+
|
|
24
|
+
declare const EYES_TAG = "lz-eyes";
|
|
25
|
+
|
|
26
|
+
declare const MORPHING_SQUARE_TAG = "lz-morphing-square";
|
|
27
|
+
|
|
28
|
+
declare const BREATHING_PULSE_TAG = "lz-breathing-pulse";
|
|
29
|
+
|
|
30
|
+
declare const EQUALIZER_TAG = "lz-equalizer";
|
|
31
|
+
|
|
32
|
+
declare const PROGRESS_RING_TAG = "lz-progress-ring";
|
|
33
|
+
|
|
34
|
+
declare const INDETERMINATE_PROGRESS_BAR_TAG = "lz-indeterminate-progress-bar";
|
|
35
|
+
|
|
36
|
+
declare const SKELETON_SHIMMER_TAG = "lz-skeleton-shimmer";
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Register every pattern as a custom element.
|
|
40
|
+
* Safe to call repeatedly; duplicates are skipped.
|
|
41
|
+
*/
|
|
42
|
+
declare function defineAll(): void;
|
|
43
|
+
|
|
44
|
+
declare const Base: {
|
|
45
|
+
new (): HTMLElement;
|
|
46
|
+
prototype: HTMLElement;
|
|
47
|
+
};
|
|
48
|
+
declare abstract class LZPattern extends Base {
|
|
49
|
+
#private;
|
|
50
|
+
static observedAttributes: string[];
|
|
51
|
+
/** Element-local CSS. Runs after SCOPED_CSS, keyframes are shared. */
|
|
52
|
+
abstract readonly css: string;
|
|
53
|
+
/** Markup for the pattern, rooted at nothing (inserted into .lz-root). */
|
|
54
|
+
abstract template(): string;
|
|
55
|
+
/** Set CSS variables / ARIA / dimensions from current attributes. */
|
|
56
|
+
abstract sync(): void;
|
|
57
|
+
connectedCallback(): void;
|
|
58
|
+
attributeChangedCallback(): void;
|
|
59
|
+
/** Re-sync vars/ARIA and rebuild the pattern's children. */
|
|
60
|
+
paint(): void;
|
|
61
|
+
/** Read an attribute as a number, returning `fallback` when absent/invalid. */
|
|
62
|
+
num(attr: string, fallback: number): number;
|
|
63
|
+
/** Bind a px-valued CSS variable to an attribute (length units). */
|
|
64
|
+
varPx(variable: string, attr: string, _fallback: number): void;
|
|
65
|
+
/** Bind a unitless CSS variable to an attribute. */
|
|
66
|
+
varNum(variable: string, attr: string, _fallback: number): void;
|
|
67
|
+
/** Bind an arbitrary CSS variable to an attribute value (or clear it). */
|
|
68
|
+
varRaw(variable: string, attr: string, _fallback?: string): void;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare module "react" {
|
|
72
|
+
namespace JSX {
|
|
73
|
+
interface IntrinsicElements {
|
|
74
|
+
[BOUNCING_DOTS_TAG]: LZElementAttrs;
|
|
75
|
+
[TYPING_DOTS_TAG]: LZElementAttrs;
|
|
76
|
+
[WAVE_DOTS_TAG]: LZElementAttrs;
|
|
77
|
+
[HELIX_DOTS_TAG]: LZElementAttrs;
|
|
78
|
+
[DOT_GRID_WAVE_TAG]: LZElementAttrs;
|
|
79
|
+
[ARC_SPINNER_TAG]: LZElementAttrs;
|
|
80
|
+
[MATERIAL_DOUBLE_ARC_TAG]: LZElementAttrs;
|
|
81
|
+
[SCAN_SWEEP_TAG]: LZElementAttrs;
|
|
82
|
+
[ORBIT_DOTS_TAG]: LZElementAttrs;
|
|
83
|
+
[ORBIT_RING_DOTS_TAG]: LZElementAttrs;
|
|
84
|
+
[EYES_TAG]: LZElementAttrs;
|
|
85
|
+
[MORPHING_SQUARE_TAG]: LZElementAttrs;
|
|
86
|
+
[BREATHING_PULSE_TAG]: LZElementAttrs;
|
|
87
|
+
[EQUALIZER_TAG]: LZElementAttrs;
|
|
88
|
+
[PROGRESS_RING_TAG]: LZElementAttrs;
|
|
89
|
+
[INDETERMINATE_PROGRESS_BAR_TAG]: LZElementAttrs;
|
|
90
|
+
[SKELETON_SHIMMER_TAG]: LZElementAttrs;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
interface LZElementAttrs extends DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
95
|
+
size?: number;
|
|
96
|
+
color?: string;
|
|
97
|
+
speed?: number;
|
|
98
|
+
accent?: string;
|
|
99
|
+
width?: number;
|
|
100
|
+
height?: number;
|
|
101
|
+
rows?: number;
|
|
102
|
+
cols?: number;
|
|
103
|
+
count?: number;
|
|
104
|
+
percent?: number;
|
|
105
|
+
gap?: number;
|
|
106
|
+
"stroke-width"?: number;
|
|
107
|
+
"dot-size"?: number;
|
|
108
|
+
"bar-width"?: number;
|
|
109
|
+
"track-color"?: string;
|
|
110
|
+
"color-weak"?: string;
|
|
111
|
+
"color-sweep"?: string;
|
|
112
|
+
}
|
|
113
|
+
interface LZCommonProps {
|
|
114
|
+
size?: number;
|
|
115
|
+
color?: string;
|
|
116
|
+
speed?: number;
|
|
117
|
+
className?: string;
|
|
118
|
+
style?: CSSProperties;
|
|
119
|
+
}
|
|
120
|
+
declare function BouncingDots(props: LZCommonProps): react.JSX.Element;
|
|
121
|
+
declare namespace BouncingDots {
|
|
122
|
+
var displayName: string;
|
|
123
|
+
}
|
|
124
|
+
declare function TypingDots(props: LZCommonProps): react.JSX.Element;
|
|
125
|
+
declare namespace TypingDots {
|
|
126
|
+
var displayName: string;
|
|
127
|
+
}
|
|
128
|
+
declare function WaveDots(props: LZCommonProps): react.JSX.Element;
|
|
129
|
+
declare namespace WaveDots {
|
|
130
|
+
var displayName: string;
|
|
131
|
+
}
|
|
132
|
+
interface HelixDotsProps extends LZCommonProps {
|
|
133
|
+
count?: number;
|
|
134
|
+
}
|
|
135
|
+
declare function HelixDots(props: HelixDotsProps): react.JSX.Element;
|
|
136
|
+
declare namespace HelixDots {
|
|
137
|
+
var displayName: string;
|
|
138
|
+
}
|
|
139
|
+
interface DotGridWaveProps extends LZCommonProps {
|
|
140
|
+
rows?: number;
|
|
141
|
+
cols?: number;
|
|
142
|
+
gap?: number;
|
|
143
|
+
}
|
|
144
|
+
declare function DotGridWave(props: DotGridWaveProps): react.JSX.Element;
|
|
145
|
+
declare namespace DotGridWave {
|
|
146
|
+
var displayName: string;
|
|
147
|
+
}
|
|
148
|
+
interface ArcSpinnerProps extends LZCommonProps {
|
|
149
|
+
strokeWidth?: number;
|
|
150
|
+
}
|
|
151
|
+
declare function ArcSpinner(props: ArcSpinnerProps): react.JSX.Element;
|
|
152
|
+
declare namespace ArcSpinner {
|
|
153
|
+
var displayName: string;
|
|
154
|
+
}
|
|
155
|
+
interface MaterialDoubleArcProps {
|
|
156
|
+
size?: number;
|
|
157
|
+
strokeWidth?: number;
|
|
158
|
+
color?: string;
|
|
159
|
+
colorWeak?: string;
|
|
160
|
+
speed?: number;
|
|
161
|
+
className?: string;
|
|
162
|
+
style?: CSSProperties;
|
|
163
|
+
}
|
|
164
|
+
declare function MaterialDoubleArc(props: MaterialDoubleArcProps): react.JSX.Element;
|
|
165
|
+
declare namespace MaterialDoubleArc {
|
|
166
|
+
var displayName: string;
|
|
167
|
+
}
|
|
168
|
+
interface ScanSweepProps extends LZCommonProps {
|
|
169
|
+
colorWeak?: string;
|
|
170
|
+
colorSweep?: string;
|
|
171
|
+
}
|
|
172
|
+
declare function ScanSweep(props: ScanSweepProps): react.JSX.Element;
|
|
173
|
+
declare namespace ScanSweep {
|
|
174
|
+
var displayName: string;
|
|
175
|
+
}
|
|
176
|
+
declare function OrbitDots(props: LZCommonProps): react.JSX.Element;
|
|
177
|
+
declare namespace OrbitDots {
|
|
178
|
+
var displayName: string;
|
|
179
|
+
}
|
|
180
|
+
interface OrbitRingDotsProps extends LZCommonProps {
|
|
181
|
+
dotSize?: number;
|
|
182
|
+
}
|
|
183
|
+
declare function OrbitRingDots(props: OrbitRingDotsProps): react.JSX.Element;
|
|
184
|
+
declare namespace OrbitRingDots {
|
|
185
|
+
var displayName: string;
|
|
186
|
+
}
|
|
187
|
+
declare function Eyes(props: LZCommonProps): react.JSX.Element;
|
|
188
|
+
declare namespace Eyes {
|
|
189
|
+
var displayName: string;
|
|
190
|
+
}
|
|
191
|
+
interface MorphingSquareProps {
|
|
192
|
+
size?: number;
|
|
193
|
+
accent?: string;
|
|
194
|
+
speed?: number;
|
|
195
|
+
className?: string;
|
|
196
|
+
style?: CSSProperties;
|
|
197
|
+
}
|
|
198
|
+
declare function MorphingSquare(props: MorphingSquareProps): react.JSX.Element;
|
|
199
|
+
declare namespace MorphingSquare {
|
|
200
|
+
var displayName: string;
|
|
201
|
+
}
|
|
202
|
+
declare function BreathingPulse(props: LZCommonProps): react.JSX.Element;
|
|
203
|
+
declare namespace BreathingPulse {
|
|
204
|
+
var displayName: string;
|
|
205
|
+
}
|
|
206
|
+
interface EqualizerProps extends LZCommonProps {
|
|
207
|
+
barWidth?: number;
|
|
208
|
+
gap?: number;
|
|
209
|
+
}
|
|
210
|
+
declare function Equalizer(props: EqualizerProps): react.JSX.Element;
|
|
211
|
+
declare namespace Equalizer {
|
|
212
|
+
var displayName: string;
|
|
213
|
+
}
|
|
214
|
+
interface ProgressRingProps {
|
|
215
|
+
size?: number;
|
|
216
|
+
strokeWidth?: number;
|
|
217
|
+
percent?: number;
|
|
218
|
+
color?: string;
|
|
219
|
+
trackColor?: string;
|
|
220
|
+
speed?: number;
|
|
221
|
+
className?: string;
|
|
222
|
+
style?: CSSProperties;
|
|
223
|
+
}
|
|
224
|
+
declare function ProgressRing(props: ProgressRingProps): react.JSX.Element;
|
|
225
|
+
declare namespace ProgressRing {
|
|
226
|
+
var displayName: string;
|
|
227
|
+
}
|
|
228
|
+
interface IndeterminateProgressBarProps {
|
|
229
|
+
width?: number;
|
|
230
|
+
height?: number;
|
|
231
|
+
accent?: string;
|
|
232
|
+
trackColor?: string;
|
|
233
|
+
speed?: number;
|
|
234
|
+
className?: string;
|
|
235
|
+
style?: CSSProperties;
|
|
236
|
+
}
|
|
237
|
+
declare function IndeterminateProgressBar(props: IndeterminateProgressBarProps): react.JSX.Element;
|
|
238
|
+
declare namespace IndeterminateProgressBar {
|
|
239
|
+
var displayName: string;
|
|
240
|
+
}
|
|
241
|
+
interface SkeletonShimmerProps {
|
|
242
|
+
width?: number;
|
|
243
|
+
height?: number;
|
|
244
|
+
trackColor?: string;
|
|
245
|
+
speed?: number;
|
|
246
|
+
className?: string;
|
|
247
|
+
style?: CSSProperties;
|
|
248
|
+
}
|
|
249
|
+
declare function SkeletonShimmer(props: SkeletonShimmerProps): react.JSX.Element;
|
|
250
|
+
declare namespace SkeletonShimmer {
|
|
251
|
+
var displayName: string;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
declare global {
|
|
255
|
+
interface HTMLElementTagNameMap {
|
|
256
|
+
[BOUNCING_DOTS_TAG]: HTMLElement;
|
|
257
|
+
[TYPING_DOTS_TAG]: HTMLElement;
|
|
258
|
+
[WAVE_DOTS_TAG]: HTMLElement;
|
|
259
|
+
[HELIX_DOTS_TAG]: HTMLElement;
|
|
260
|
+
[DOT_GRID_WAVE_TAG]: HTMLElement;
|
|
261
|
+
[ARC_SPINNER_TAG]: HTMLElement;
|
|
262
|
+
[MATERIAL_DOUBLE_ARC_TAG]: HTMLElement;
|
|
263
|
+
[SCAN_SWEEP_TAG]: HTMLElement;
|
|
264
|
+
[ORBIT_DOTS_TAG]: HTMLElement;
|
|
265
|
+
[ORBIT_RING_DOTS_TAG]: HTMLElement;
|
|
266
|
+
[EYES_TAG]: HTMLElement;
|
|
267
|
+
[MORPHING_SQUARE_TAG]: HTMLElement;
|
|
268
|
+
[BREATHING_PULSE_TAG]: HTMLElement;
|
|
269
|
+
[EQUALIZER_TAG]: HTMLElement;
|
|
270
|
+
[PROGRESS_RING_TAG]: HTMLElement;
|
|
271
|
+
[INDETERMINATE_PROGRESS_BAR_TAG]: HTMLElement;
|
|
272
|
+
[SKELETON_SHIMMER_TAG]: HTMLElement;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export { ArcSpinner, type ArcSpinnerProps, BouncingDots, BreathingPulse, DotGridWave, type DotGridWaveProps, Equalizer, type EqualizerProps, Eyes, HelixDots, type HelixDotsProps, IndeterminateProgressBar, type IndeterminateProgressBarProps, type LZCommonProps, LZPattern as LoadingPattern, MaterialDoubleArc, type MaterialDoubleArcProps, MorphingSquare, type MorphingSquareProps, OrbitDots, OrbitRingDots, type OrbitRingDotsProps, ProgressRing, type ProgressRingProps, ScanSweep, type ScanSweepProps, SkeletonShimmer, type SkeletonShimmerProps, TypingDots, WaveDots, defineAll };
|
package/dist/react.d.ts
ADDED
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { DetailedHTMLProps, HTMLAttributes, CSSProperties } from 'react';
|
|
3
|
+
|
|
4
|
+
declare const BOUNCING_DOTS_TAG = "lz-bouncing-dots";
|
|
5
|
+
|
|
6
|
+
declare const TYPING_DOTS_TAG = "lz-typing-dots";
|
|
7
|
+
|
|
8
|
+
declare const WAVE_DOTS_TAG = "lz-wave-dots";
|
|
9
|
+
|
|
10
|
+
declare const HELIX_DOTS_TAG = "lz-helix-dots";
|
|
11
|
+
|
|
12
|
+
declare const DOT_GRID_WAVE_TAG = "lz-dot-grid-wave";
|
|
13
|
+
|
|
14
|
+
declare const ARC_SPINNER_TAG = "lz-arc-spinner";
|
|
15
|
+
|
|
16
|
+
declare const MATERIAL_DOUBLE_ARC_TAG = "lz-material-double-arc";
|
|
17
|
+
|
|
18
|
+
declare const SCAN_SWEEP_TAG = "lz-scan-sweep";
|
|
19
|
+
|
|
20
|
+
declare const ORBIT_DOTS_TAG = "lz-orbit-dots";
|
|
21
|
+
|
|
22
|
+
declare const ORBIT_RING_DOTS_TAG = "lz-orbit-ring-dots";
|
|
23
|
+
|
|
24
|
+
declare const EYES_TAG = "lz-eyes";
|
|
25
|
+
|
|
26
|
+
declare const MORPHING_SQUARE_TAG = "lz-morphing-square";
|
|
27
|
+
|
|
28
|
+
declare const BREATHING_PULSE_TAG = "lz-breathing-pulse";
|
|
29
|
+
|
|
30
|
+
declare const EQUALIZER_TAG = "lz-equalizer";
|
|
31
|
+
|
|
32
|
+
declare const PROGRESS_RING_TAG = "lz-progress-ring";
|
|
33
|
+
|
|
34
|
+
declare const INDETERMINATE_PROGRESS_BAR_TAG = "lz-indeterminate-progress-bar";
|
|
35
|
+
|
|
36
|
+
declare const SKELETON_SHIMMER_TAG = "lz-skeleton-shimmer";
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Register every pattern as a custom element.
|
|
40
|
+
* Safe to call repeatedly; duplicates are skipped.
|
|
41
|
+
*/
|
|
42
|
+
declare function defineAll(): void;
|
|
43
|
+
|
|
44
|
+
declare const Base: {
|
|
45
|
+
new (): HTMLElement;
|
|
46
|
+
prototype: HTMLElement;
|
|
47
|
+
};
|
|
48
|
+
declare abstract class LZPattern extends Base {
|
|
49
|
+
#private;
|
|
50
|
+
static observedAttributes: string[];
|
|
51
|
+
/** Element-local CSS. Runs after SCOPED_CSS, keyframes are shared. */
|
|
52
|
+
abstract readonly css: string;
|
|
53
|
+
/** Markup for the pattern, rooted at nothing (inserted into .lz-root). */
|
|
54
|
+
abstract template(): string;
|
|
55
|
+
/** Set CSS variables / ARIA / dimensions from current attributes. */
|
|
56
|
+
abstract sync(): void;
|
|
57
|
+
connectedCallback(): void;
|
|
58
|
+
attributeChangedCallback(): void;
|
|
59
|
+
/** Re-sync vars/ARIA and rebuild the pattern's children. */
|
|
60
|
+
paint(): void;
|
|
61
|
+
/** Read an attribute as a number, returning `fallback` when absent/invalid. */
|
|
62
|
+
num(attr: string, fallback: number): number;
|
|
63
|
+
/** Bind a px-valued CSS variable to an attribute (length units). */
|
|
64
|
+
varPx(variable: string, attr: string, _fallback: number): void;
|
|
65
|
+
/** Bind a unitless CSS variable to an attribute. */
|
|
66
|
+
varNum(variable: string, attr: string, _fallback: number): void;
|
|
67
|
+
/** Bind an arbitrary CSS variable to an attribute value (or clear it). */
|
|
68
|
+
varRaw(variable: string, attr: string, _fallback?: string): void;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare module "react" {
|
|
72
|
+
namespace JSX {
|
|
73
|
+
interface IntrinsicElements {
|
|
74
|
+
[BOUNCING_DOTS_TAG]: LZElementAttrs;
|
|
75
|
+
[TYPING_DOTS_TAG]: LZElementAttrs;
|
|
76
|
+
[WAVE_DOTS_TAG]: LZElementAttrs;
|
|
77
|
+
[HELIX_DOTS_TAG]: LZElementAttrs;
|
|
78
|
+
[DOT_GRID_WAVE_TAG]: LZElementAttrs;
|
|
79
|
+
[ARC_SPINNER_TAG]: LZElementAttrs;
|
|
80
|
+
[MATERIAL_DOUBLE_ARC_TAG]: LZElementAttrs;
|
|
81
|
+
[SCAN_SWEEP_TAG]: LZElementAttrs;
|
|
82
|
+
[ORBIT_DOTS_TAG]: LZElementAttrs;
|
|
83
|
+
[ORBIT_RING_DOTS_TAG]: LZElementAttrs;
|
|
84
|
+
[EYES_TAG]: LZElementAttrs;
|
|
85
|
+
[MORPHING_SQUARE_TAG]: LZElementAttrs;
|
|
86
|
+
[BREATHING_PULSE_TAG]: LZElementAttrs;
|
|
87
|
+
[EQUALIZER_TAG]: LZElementAttrs;
|
|
88
|
+
[PROGRESS_RING_TAG]: LZElementAttrs;
|
|
89
|
+
[INDETERMINATE_PROGRESS_BAR_TAG]: LZElementAttrs;
|
|
90
|
+
[SKELETON_SHIMMER_TAG]: LZElementAttrs;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
interface LZElementAttrs extends DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
95
|
+
size?: number;
|
|
96
|
+
color?: string;
|
|
97
|
+
speed?: number;
|
|
98
|
+
accent?: string;
|
|
99
|
+
width?: number;
|
|
100
|
+
height?: number;
|
|
101
|
+
rows?: number;
|
|
102
|
+
cols?: number;
|
|
103
|
+
count?: number;
|
|
104
|
+
percent?: number;
|
|
105
|
+
gap?: number;
|
|
106
|
+
"stroke-width"?: number;
|
|
107
|
+
"dot-size"?: number;
|
|
108
|
+
"bar-width"?: number;
|
|
109
|
+
"track-color"?: string;
|
|
110
|
+
"color-weak"?: string;
|
|
111
|
+
"color-sweep"?: string;
|
|
112
|
+
}
|
|
113
|
+
interface LZCommonProps {
|
|
114
|
+
size?: number;
|
|
115
|
+
color?: string;
|
|
116
|
+
speed?: number;
|
|
117
|
+
className?: string;
|
|
118
|
+
style?: CSSProperties;
|
|
119
|
+
}
|
|
120
|
+
declare function BouncingDots(props: LZCommonProps): react.JSX.Element;
|
|
121
|
+
declare namespace BouncingDots {
|
|
122
|
+
var displayName: string;
|
|
123
|
+
}
|
|
124
|
+
declare function TypingDots(props: LZCommonProps): react.JSX.Element;
|
|
125
|
+
declare namespace TypingDots {
|
|
126
|
+
var displayName: string;
|
|
127
|
+
}
|
|
128
|
+
declare function WaveDots(props: LZCommonProps): react.JSX.Element;
|
|
129
|
+
declare namespace WaveDots {
|
|
130
|
+
var displayName: string;
|
|
131
|
+
}
|
|
132
|
+
interface HelixDotsProps extends LZCommonProps {
|
|
133
|
+
count?: number;
|
|
134
|
+
}
|
|
135
|
+
declare function HelixDots(props: HelixDotsProps): react.JSX.Element;
|
|
136
|
+
declare namespace HelixDots {
|
|
137
|
+
var displayName: string;
|
|
138
|
+
}
|
|
139
|
+
interface DotGridWaveProps extends LZCommonProps {
|
|
140
|
+
rows?: number;
|
|
141
|
+
cols?: number;
|
|
142
|
+
gap?: number;
|
|
143
|
+
}
|
|
144
|
+
declare function DotGridWave(props: DotGridWaveProps): react.JSX.Element;
|
|
145
|
+
declare namespace DotGridWave {
|
|
146
|
+
var displayName: string;
|
|
147
|
+
}
|
|
148
|
+
interface ArcSpinnerProps extends LZCommonProps {
|
|
149
|
+
strokeWidth?: number;
|
|
150
|
+
}
|
|
151
|
+
declare function ArcSpinner(props: ArcSpinnerProps): react.JSX.Element;
|
|
152
|
+
declare namespace ArcSpinner {
|
|
153
|
+
var displayName: string;
|
|
154
|
+
}
|
|
155
|
+
interface MaterialDoubleArcProps {
|
|
156
|
+
size?: number;
|
|
157
|
+
strokeWidth?: number;
|
|
158
|
+
color?: string;
|
|
159
|
+
colorWeak?: string;
|
|
160
|
+
speed?: number;
|
|
161
|
+
className?: string;
|
|
162
|
+
style?: CSSProperties;
|
|
163
|
+
}
|
|
164
|
+
declare function MaterialDoubleArc(props: MaterialDoubleArcProps): react.JSX.Element;
|
|
165
|
+
declare namespace MaterialDoubleArc {
|
|
166
|
+
var displayName: string;
|
|
167
|
+
}
|
|
168
|
+
interface ScanSweepProps extends LZCommonProps {
|
|
169
|
+
colorWeak?: string;
|
|
170
|
+
colorSweep?: string;
|
|
171
|
+
}
|
|
172
|
+
declare function ScanSweep(props: ScanSweepProps): react.JSX.Element;
|
|
173
|
+
declare namespace ScanSweep {
|
|
174
|
+
var displayName: string;
|
|
175
|
+
}
|
|
176
|
+
declare function OrbitDots(props: LZCommonProps): react.JSX.Element;
|
|
177
|
+
declare namespace OrbitDots {
|
|
178
|
+
var displayName: string;
|
|
179
|
+
}
|
|
180
|
+
interface OrbitRingDotsProps extends LZCommonProps {
|
|
181
|
+
dotSize?: number;
|
|
182
|
+
}
|
|
183
|
+
declare function OrbitRingDots(props: OrbitRingDotsProps): react.JSX.Element;
|
|
184
|
+
declare namespace OrbitRingDots {
|
|
185
|
+
var displayName: string;
|
|
186
|
+
}
|
|
187
|
+
declare function Eyes(props: LZCommonProps): react.JSX.Element;
|
|
188
|
+
declare namespace Eyes {
|
|
189
|
+
var displayName: string;
|
|
190
|
+
}
|
|
191
|
+
interface MorphingSquareProps {
|
|
192
|
+
size?: number;
|
|
193
|
+
accent?: string;
|
|
194
|
+
speed?: number;
|
|
195
|
+
className?: string;
|
|
196
|
+
style?: CSSProperties;
|
|
197
|
+
}
|
|
198
|
+
declare function MorphingSquare(props: MorphingSquareProps): react.JSX.Element;
|
|
199
|
+
declare namespace MorphingSquare {
|
|
200
|
+
var displayName: string;
|
|
201
|
+
}
|
|
202
|
+
declare function BreathingPulse(props: LZCommonProps): react.JSX.Element;
|
|
203
|
+
declare namespace BreathingPulse {
|
|
204
|
+
var displayName: string;
|
|
205
|
+
}
|
|
206
|
+
interface EqualizerProps extends LZCommonProps {
|
|
207
|
+
barWidth?: number;
|
|
208
|
+
gap?: number;
|
|
209
|
+
}
|
|
210
|
+
declare function Equalizer(props: EqualizerProps): react.JSX.Element;
|
|
211
|
+
declare namespace Equalizer {
|
|
212
|
+
var displayName: string;
|
|
213
|
+
}
|
|
214
|
+
interface ProgressRingProps {
|
|
215
|
+
size?: number;
|
|
216
|
+
strokeWidth?: number;
|
|
217
|
+
percent?: number;
|
|
218
|
+
color?: string;
|
|
219
|
+
trackColor?: string;
|
|
220
|
+
speed?: number;
|
|
221
|
+
className?: string;
|
|
222
|
+
style?: CSSProperties;
|
|
223
|
+
}
|
|
224
|
+
declare function ProgressRing(props: ProgressRingProps): react.JSX.Element;
|
|
225
|
+
declare namespace ProgressRing {
|
|
226
|
+
var displayName: string;
|
|
227
|
+
}
|
|
228
|
+
interface IndeterminateProgressBarProps {
|
|
229
|
+
width?: number;
|
|
230
|
+
height?: number;
|
|
231
|
+
accent?: string;
|
|
232
|
+
trackColor?: string;
|
|
233
|
+
speed?: number;
|
|
234
|
+
className?: string;
|
|
235
|
+
style?: CSSProperties;
|
|
236
|
+
}
|
|
237
|
+
declare function IndeterminateProgressBar(props: IndeterminateProgressBarProps): react.JSX.Element;
|
|
238
|
+
declare namespace IndeterminateProgressBar {
|
|
239
|
+
var displayName: string;
|
|
240
|
+
}
|
|
241
|
+
interface SkeletonShimmerProps {
|
|
242
|
+
width?: number;
|
|
243
|
+
height?: number;
|
|
244
|
+
trackColor?: string;
|
|
245
|
+
speed?: number;
|
|
246
|
+
className?: string;
|
|
247
|
+
style?: CSSProperties;
|
|
248
|
+
}
|
|
249
|
+
declare function SkeletonShimmer(props: SkeletonShimmerProps): react.JSX.Element;
|
|
250
|
+
declare namespace SkeletonShimmer {
|
|
251
|
+
var displayName: string;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
declare global {
|
|
255
|
+
interface HTMLElementTagNameMap {
|
|
256
|
+
[BOUNCING_DOTS_TAG]: HTMLElement;
|
|
257
|
+
[TYPING_DOTS_TAG]: HTMLElement;
|
|
258
|
+
[WAVE_DOTS_TAG]: HTMLElement;
|
|
259
|
+
[HELIX_DOTS_TAG]: HTMLElement;
|
|
260
|
+
[DOT_GRID_WAVE_TAG]: HTMLElement;
|
|
261
|
+
[ARC_SPINNER_TAG]: HTMLElement;
|
|
262
|
+
[MATERIAL_DOUBLE_ARC_TAG]: HTMLElement;
|
|
263
|
+
[SCAN_SWEEP_TAG]: HTMLElement;
|
|
264
|
+
[ORBIT_DOTS_TAG]: HTMLElement;
|
|
265
|
+
[ORBIT_RING_DOTS_TAG]: HTMLElement;
|
|
266
|
+
[EYES_TAG]: HTMLElement;
|
|
267
|
+
[MORPHING_SQUARE_TAG]: HTMLElement;
|
|
268
|
+
[BREATHING_PULSE_TAG]: HTMLElement;
|
|
269
|
+
[EQUALIZER_TAG]: HTMLElement;
|
|
270
|
+
[PROGRESS_RING_TAG]: HTMLElement;
|
|
271
|
+
[INDETERMINATE_PROGRESS_BAR_TAG]: HTMLElement;
|
|
272
|
+
[SKELETON_SHIMMER_TAG]: HTMLElement;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export { ArcSpinner, type ArcSpinnerProps, BouncingDots, BreathingPulse, DotGridWave, type DotGridWaveProps, Equalizer, type EqualizerProps, Eyes, HelixDots, type HelixDotsProps, IndeterminateProgressBar, type IndeterminateProgressBarProps, type LZCommonProps, LZPattern as LoadingPattern, MaterialDoubleArc, type MaterialDoubleArcProps, MorphingSquare, type MorphingSquareProps, OrbitDots, OrbitRingDots, type OrbitRingDotsProps, ProgressRing, type ProgressRingProps, ScanSweep, type ScanSweepProps, SkeletonShimmer, type SkeletonShimmerProps, TypingDots, WaveDots, defineAll };
|