loading-state-zoo 0.3.0 → 0.4.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 +38 -71
- package/dist/index.cjs +233 -172
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -17
- package/dist/index.d.ts +11 -17
- package/dist/index.js +230 -169
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +230 -169
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +38 -48
- package/dist/react.d.ts +38 -48
- package/dist/react.js +230 -169
- package/dist/react.js.map +1 -1
- package/dist/theme.css +323 -226
- package/docs/AI.md +12 -10
- package/docs/components.json +69 -108
- package/package.json +2 -2
package/dist/react.d.cts
CHANGED
|
@@ -43,17 +43,13 @@ declare const SKELETON_CARD_TAG = "lz-skeleton-card";
|
|
|
43
43
|
|
|
44
44
|
declare const SKELETON_LIST_TAG = "lz-skeleton-list";
|
|
45
45
|
|
|
46
|
-
declare const
|
|
46
|
+
declare const IOS27_ORB_TAG = "lz-ios-27-orb";
|
|
47
47
|
|
|
48
|
-
declare const
|
|
48
|
+
declare const AI_ORB_TAG = "lz-ai-orb";
|
|
49
49
|
|
|
50
|
-
declare const
|
|
50
|
+
declare const AI_THINKING_TAG = "lz-ai-thinking";
|
|
51
51
|
|
|
52
|
-
declare const
|
|
53
|
-
|
|
54
|
-
declare const PLANET_ORB_TAG = "lz-planet-orb";
|
|
55
|
-
|
|
56
|
-
declare const AURA_ORB_TAG = "lz-aura-orb";
|
|
52
|
+
declare const AI_NEURAL_TAG = "lz-ai-neural";
|
|
57
53
|
|
|
58
54
|
declare const WAVEFORM_TAG = "lz-waveform";
|
|
59
55
|
|
|
@@ -122,12 +118,10 @@ declare module "react" {
|
|
|
122
118
|
[PROGRESS_BAR_TAG]: LZElementAttrs;
|
|
123
119
|
[SKELETON_CARD_TAG]: LZElementAttrs;
|
|
124
120
|
[SKELETON_LIST_TAG]: LZElementAttrs;
|
|
125
|
-
[
|
|
126
|
-
[
|
|
127
|
-
[
|
|
128
|
-
[
|
|
129
|
-
[PLANET_ORB_TAG]: LZElementAttrs;
|
|
130
|
-
[AURA_ORB_TAG]: LZElementAttrs;
|
|
121
|
+
[IOS27_ORB_TAG]: LZElementAttrs;
|
|
122
|
+
[AI_ORB_TAG]: LZElementAttrs;
|
|
123
|
+
[AI_THINKING_TAG]: LZElementAttrs;
|
|
124
|
+
[AI_NEURAL_TAG]: LZElementAttrs;
|
|
131
125
|
[WAVEFORM_TAG]: LZElementAttrs;
|
|
132
126
|
[VINYL_TAG]: LZElementAttrs;
|
|
133
127
|
[SONAR_TAG]: LZElementAttrs;
|
|
@@ -337,43 +331,41 @@ declare function SkeletonList(props: SkeletonListProps): react.JSX.Element;
|
|
|
337
331
|
declare namespace SkeletonList {
|
|
338
332
|
var displayName: string;
|
|
339
333
|
}
|
|
340
|
-
|
|
334
|
+
interface Ios27OrbProps {
|
|
335
|
+
size?: number;
|
|
341
336
|
accent?: string;
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
337
|
+
color?: string;
|
|
338
|
+
speed?: number;
|
|
339
|
+
className?: string;
|
|
340
|
+
style?: CSSProperties;
|
|
345
341
|
}
|
|
346
|
-
declare function
|
|
347
|
-
|
|
348
|
-
}): react.JSX.Element;
|
|
349
|
-
declare namespace MorphingOrb {
|
|
342
|
+
declare function Ios27Orb(props: Ios27OrbProps): react.JSX.Element;
|
|
343
|
+
declare namespace Ios27Orb {
|
|
350
344
|
var displayName: string;
|
|
351
345
|
}
|
|
352
|
-
|
|
346
|
+
interface AiOrbProps {
|
|
347
|
+
size?: number;
|
|
353
348
|
accent?: string;
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
interface DotOrbProps extends LZCommonProps {
|
|
359
|
-
count?: number;
|
|
349
|
+
color?: string;
|
|
350
|
+
speed?: number;
|
|
351
|
+
className?: string;
|
|
352
|
+
style?: CSSProperties;
|
|
360
353
|
}
|
|
361
|
-
declare function
|
|
362
|
-
declare namespace
|
|
354
|
+
declare function AiOrb(props: AiOrbProps): react.JSX.Element;
|
|
355
|
+
declare namespace AiOrb {
|
|
363
356
|
var displayName: string;
|
|
364
357
|
}
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
count?: number;
|
|
368
|
-
}
|
|
369
|
-
declare function PlanetOrb(props: PlanetOrbProps): react.JSX.Element;
|
|
370
|
-
declare namespace PlanetOrb {
|
|
358
|
+
declare function AiThinking(props: Ios27OrbProps): react.JSX.Element;
|
|
359
|
+
declare namespace AiThinking {
|
|
371
360
|
var displayName: string;
|
|
372
361
|
}
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
362
|
+
interface AiNeuralProps extends LZCommonProps {
|
|
363
|
+
rows?: number;
|
|
364
|
+
cols?: number;
|
|
365
|
+
gap?: number;
|
|
366
|
+
}
|
|
367
|
+
declare function AiNeural(props: AiNeuralProps): react.JSX.Element;
|
|
368
|
+
declare namespace AiNeural {
|
|
377
369
|
var displayName: string;
|
|
378
370
|
}
|
|
379
371
|
interface WaveformProps extends LZCommonProps {
|
|
@@ -439,12 +431,10 @@ declare global {
|
|
|
439
431
|
[PROGRESS_BAR_TAG]: HTMLElement;
|
|
440
432
|
[SKELETON_CARD_TAG]: HTMLElement;
|
|
441
433
|
[SKELETON_LIST_TAG]: HTMLElement;
|
|
442
|
-
[
|
|
443
|
-
[
|
|
444
|
-
[
|
|
445
|
-
[
|
|
446
|
-
[PLANET_ORB_TAG]: HTMLElement;
|
|
447
|
-
[AURA_ORB_TAG]: HTMLElement;
|
|
434
|
+
[IOS27_ORB_TAG]: HTMLElement;
|
|
435
|
+
[AI_ORB_TAG]: HTMLElement;
|
|
436
|
+
[AI_THINKING_TAG]: HTMLElement;
|
|
437
|
+
[AI_NEURAL_TAG]: HTMLElement;
|
|
448
438
|
[WAVEFORM_TAG]: HTMLElement;
|
|
449
439
|
[VINYL_TAG]: HTMLElement;
|
|
450
440
|
[SONAR_TAG]: HTMLElement;
|
|
@@ -453,4 +443,4 @@ declare global {
|
|
|
453
443
|
}
|
|
454
444
|
}
|
|
455
445
|
|
|
456
|
-
export { ActivityRings, type ActivityRingsProps,
|
|
446
|
+
export { ActivityRings, type ActivityRingsProps, AiNeural, type AiNeuralProps, AiOrb, type AiOrbProps, AiThinking, ArcSpinner, type ArcSpinnerProps, BouncingDots, BreathingPulse, DotGridWave, type DotGridWaveProps, Ellipsis, Equalizer, type EqualizerProps, Eyes, HelixDots, type HelixDotsProps, IndeterminateProgressBar, type IndeterminateProgressBarProps, Ios27Orb, type Ios27OrbProps, type LZCommonProps, LZPattern as LoadingPattern, MaterialDoubleArc, type MaterialDoubleArcProps, MorphingSquare, type MorphingSquareProps, MusicNote, type MusicNoteProps, OrbitDots, OrbitRingDots, type OrbitRingDotsProps, ProgressBar, type ProgressBarProps, ProgressRing, type ProgressRingProps, ScanSweep, type ScanSweepProps, SkeletonCard, type SkeletonCardProps, SkeletonList, type SkeletonListProps, SkeletonShimmer, type SkeletonShimmerProps, Sonar, type SonarProps, TypingDots, Vinyl, WaveDots, Waveform, type WaveformProps, defineAll };
|
package/dist/react.d.ts
CHANGED
|
@@ -43,17 +43,13 @@ declare const SKELETON_CARD_TAG = "lz-skeleton-card";
|
|
|
43
43
|
|
|
44
44
|
declare const SKELETON_LIST_TAG = "lz-skeleton-list";
|
|
45
45
|
|
|
46
|
-
declare const
|
|
46
|
+
declare const IOS27_ORB_TAG = "lz-ios-27-orb";
|
|
47
47
|
|
|
48
|
-
declare const
|
|
48
|
+
declare const AI_ORB_TAG = "lz-ai-orb";
|
|
49
49
|
|
|
50
|
-
declare const
|
|
50
|
+
declare const AI_THINKING_TAG = "lz-ai-thinking";
|
|
51
51
|
|
|
52
|
-
declare const
|
|
53
|
-
|
|
54
|
-
declare const PLANET_ORB_TAG = "lz-planet-orb";
|
|
55
|
-
|
|
56
|
-
declare const AURA_ORB_TAG = "lz-aura-orb";
|
|
52
|
+
declare const AI_NEURAL_TAG = "lz-ai-neural";
|
|
57
53
|
|
|
58
54
|
declare const WAVEFORM_TAG = "lz-waveform";
|
|
59
55
|
|
|
@@ -122,12 +118,10 @@ declare module "react" {
|
|
|
122
118
|
[PROGRESS_BAR_TAG]: LZElementAttrs;
|
|
123
119
|
[SKELETON_CARD_TAG]: LZElementAttrs;
|
|
124
120
|
[SKELETON_LIST_TAG]: LZElementAttrs;
|
|
125
|
-
[
|
|
126
|
-
[
|
|
127
|
-
[
|
|
128
|
-
[
|
|
129
|
-
[PLANET_ORB_TAG]: LZElementAttrs;
|
|
130
|
-
[AURA_ORB_TAG]: LZElementAttrs;
|
|
121
|
+
[IOS27_ORB_TAG]: LZElementAttrs;
|
|
122
|
+
[AI_ORB_TAG]: LZElementAttrs;
|
|
123
|
+
[AI_THINKING_TAG]: LZElementAttrs;
|
|
124
|
+
[AI_NEURAL_TAG]: LZElementAttrs;
|
|
131
125
|
[WAVEFORM_TAG]: LZElementAttrs;
|
|
132
126
|
[VINYL_TAG]: LZElementAttrs;
|
|
133
127
|
[SONAR_TAG]: LZElementAttrs;
|
|
@@ -337,43 +331,41 @@ declare function SkeletonList(props: SkeletonListProps): react.JSX.Element;
|
|
|
337
331
|
declare namespace SkeletonList {
|
|
338
332
|
var displayName: string;
|
|
339
333
|
}
|
|
340
|
-
|
|
334
|
+
interface Ios27OrbProps {
|
|
335
|
+
size?: number;
|
|
341
336
|
accent?: string;
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
337
|
+
color?: string;
|
|
338
|
+
speed?: number;
|
|
339
|
+
className?: string;
|
|
340
|
+
style?: CSSProperties;
|
|
345
341
|
}
|
|
346
|
-
declare function
|
|
347
|
-
|
|
348
|
-
}): react.JSX.Element;
|
|
349
|
-
declare namespace MorphingOrb {
|
|
342
|
+
declare function Ios27Orb(props: Ios27OrbProps): react.JSX.Element;
|
|
343
|
+
declare namespace Ios27Orb {
|
|
350
344
|
var displayName: string;
|
|
351
345
|
}
|
|
352
|
-
|
|
346
|
+
interface AiOrbProps {
|
|
347
|
+
size?: number;
|
|
353
348
|
accent?: string;
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
interface DotOrbProps extends LZCommonProps {
|
|
359
|
-
count?: number;
|
|
349
|
+
color?: string;
|
|
350
|
+
speed?: number;
|
|
351
|
+
className?: string;
|
|
352
|
+
style?: CSSProperties;
|
|
360
353
|
}
|
|
361
|
-
declare function
|
|
362
|
-
declare namespace
|
|
354
|
+
declare function AiOrb(props: AiOrbProps): react.JSX.Element;
|
|
355
|
+
declare namespace AiOrb {
|
|
363
356
|
var displayName: string;
|
|
364
357
|
}
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
count?: number;
|
|
368
|
-
}
|
|
369
|
-
declare function PlanetOrb(props: PlanetOrbProps): react.JSX.Element;
|
|
370
|
-
declare namespace PlanetOrb {
|
|
358
|
+
declare function AiThinking(props: Ios27OrbProps): react.JSX.Element;
|
|
359
|
+
declare namespace AiThinking {
|
|
371
360
|
var displayName: string;
|
|
372
361
|
}
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
362
|
+
interface AiNeuralProps extends LZCommonProps {
|
|
363
|
+
rows?: number;
|
|
364
|
+
cols?: number;
|
|
365
|
+
gap?: number;
|
|
366
|
+
}
|
|
367
|
+
declare function AiNeural(props: AiNeuralProps): react.JSX.Element;
|
|
368
|
+
declare namespace AiNeural {
|
|
377
369
|
var displayName: string;
|
|
378
370
|
}
|
|
379
371
|
interface WaveformProps extends LZCommonProps {
|
|
@@ -439,12 +431,10 @@ declare global {
|
|
|
439
431
|
[PROGRESS_BAR_TAG]: HTMLElement;
|
|
440
432
|
[SKELETON_CARD_TAG]: HTMLElement;
|
|
441
433
|
[SKELETON_LIST_TAG]: HTMLElement;
|
|
442
|
-
[
|
|
443
|
-
[
|
|
444
|
-
[
|
|
445
|
-
[
|
|
446
|
-
[PLANET_ORB_TAG]: HTMLElement;
|
|
447
|
-
[AURA_ORB_TAG]: HTMLElement;
|
|
434
|
+
[IOS27_ORB_TAG]: HTMLElement;
|
|
435
|
+
[AI_ORB_TAG]: HTMLElement;
|
|
436
|
+
[AI_THINKING_TAG]: HTMLElement;
|
|
437
|
+
[AI_NEURAL_TAG]: HTMLElement;
|
|
448
438
|
[WAVEFORM_TAG]: HTMLElement;
|
|
449
439
|
[VINYL_TAG]: HTMLElement;
|
|
450
440
|
[SONAR_TAG]: HTMLElement;
|
|
@@ -453,4 +443,4 @@ declare global {
|
|
|
453
443
|
}
|
|
454
444
|
}
|
|
455
445
|
|
|
456
|
-
export { ActivityRings, type ActivityRingsProps,
|
|
446
|
+
export { ActivityRings, type ActivityRingsProps, AiNeural, type AiNeuralProps, AiOrb, type AiOrbProps, AiThinking, ArcSpinner, type ArcSpinnerProps, BouncingDots, BreathingPulse, DotGridWave, type DotGridWaveProps, Ellipsis, Equalizer, type EqualizerProps, Eyes, HelixDots, type HelixDotsProps, IndeterminateProgressBar, type IndeterminateProgressBarProps, Ios27Orb, type Ios27OrbProps, type LZCommonProps, LZPattern as LoadingPattern, MaterialDoubleArc, type MaterialDoubleArcProps, MorphingSquare, type MorphingSquareProps, MusicNote, type MusicNoteProps, OrbitDots, OrbitRingDots, type OrbitRingDotsProps, ProgressBar, type ProgressBarProps, ProgressRing, type ProgressRingProps, ScanSweep, type ScanSweepProps, SkeletonCard, type SkeletonCardProps, SkeletonList, type SkeletonListProps, SkeletonShimmer, type SkeletonShimmerProps, Sonar, type SonarProps, TypingDots, Vinyl, WaveDots, Waveform, type WaveformProps, defineAll };
|