veilkit 0.1.0 → 0.2.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/CHANGELOG.md +25 -0
- package/README.md +657 -101
- package/dist/angular/index.cjs +280 -14
- package/dist/angular/index.cjs.map +1 -1
- package/dist/angular/index.d.cts +39 -4
- package/dist/angular/index.d.ts +39 -4
- package/dist/angular/index.js +280 -14
- package/dist/angular/index.js.map +1 -1
- package/dist/{controller-5OzP0U8X.d.cts → controller-B6kFsWzi.d.cts} +5 -3
- package/dist/{controller-Co5bvnaB.d.ts → controller-Ceub9kLC.d.ts} +5 -3
- package/dist/element/index.cjs +285 -20
- package/dist/element/index.cjs.map +1 -1
- package/dist/element/index.d.cts +7 -1
- package/dist/element/index.d.ts +7 -1
- package/dist/element/index.js +285 -20
- package/dist/element/index.js.map +1 -1
- package/dist/index.cjs +280 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -11
- package/dist/index.d.ts +13 -11
- package/dist/index.js +280 -14
- package/dist/index.js.map +1 -1
- package/dist/native/index.cjs +1 -1
- package/dist/native/index.cjs.map +1 -1
- package/dist/native/index.d.cts +10 -4
- package/dist/native/index.d.ts +10 -4
- package/dist/native/index.js +1 -1
- package/dist/native/index.js.map +1 -1
- package/dist/react/index.cjs +271 -5
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +26 -4
- package/dist/react/index.d.ts +26 -4
- package/dist/react/index.js +271 -5
- package/dist/react/index.js.map +1 -1
- package/dist/styles.css +133 -1
- package/dist/svelte/index.cjs +286 -20
- package/dist/svelte/index.cjs.map +1 -1
- package/dist/svelte/index.d.cts +9 -2
- package/dist/svelte/index.d.ts +9 -2
- package/dist/svelte/index.js +286 -20
- package/dist/svelte/index.js.map +1 -1
- package/dist/themes/index.d.cts +1 -1
- package/dist/themes/index.d.ts +1 -1
- package/dist/{types-Ciu5e5xt.d.cts → types-CnR-rU97.d.cts} +22 -5
- package/dist/{types-Ciu5e5xt.d.ts → types-CnR-rU97.d.ts} +22 -5
- package/dist/veilkit.min.js +280 -14
- package/dist/vue/index.cjs +270 -4
- package/dist/vue/index.cjs.map +1 -1
- package/dist/vue/index.d.cts +148 -2
- package/dist/vue/index.d.ts +148 -2
- package/dist/vue/index.js +270 -4
- package/dist/vue/index.js.map +1 -1
- package/package.json +40 -24
package/dist/themes/index.d.cts
CHANGED
package/dist/themes/index.d.ts
CHANGED
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
* Complete Loading & Skeleton UI Toolkit
|
|
4
4
|
*/
|
|
5
5
|
type VeilThemeName = 'light' | 'dark' | 'auto' | 'glass' | 'ios' | 'material' | 'minimal' | 'mono' | 'neon' | 'sunset' | 'ocean';
|
|
6
|
-
type VeilAnimationName = 'shimmer' | 'wave' | 'pulse' | 'blink' | 'breathe' | 'glass-shine' | 'gradient-flow' | 'aurora' | 'scan-line' | 'sparkle' | 'neon-glow' | 'stagger' | 'none';
|
|
6
|
+
type VeilAnimationName = 'shimmer' | 'wave' | 'pulse' | 'blink' | 'breathe' | 'glass-shine' | 'gradient-flow' | 'aurora' | 'scan-line' | 'sparkle' | 'neon-glow' | 'stagger' | 'ripple' | 'ping-pong' | 'wipe' | 'cascade' | 'spotlight' | 'rainbow' | 'heartbeat' | 'liquid' | 'stripes' | 'halftone' | 'border-glow' | 'typewriter' | 'glitch' | 'pixelate' | 'tilt' | 'diagonal-sweep' | 'bounce-in' | 'fade-slide' | 'none';
|
|
7
7
|
type VeilDirection = 'ltr' | 'rtl' | 'ttb' | 'btt';
|
|
8
8
|
type VeilPrimitiveType = 'line' | 'paragraph' | 'heading' | 'circle' | 'rect' | 'image' | 'button' | 'badge' | 'icon' | 'input' | 'table-row' | 'divider';
|
|
9
|
-
type
|
|
10
|
-
type
|
|
9
|
+
type VeilShapeStyle = 'rounded' | 'pill' | 'square' | 'sharp' | 'glass';
|
|
10
|
+
type VeilPresetName = 'card' | 'product-card' | 'product-grid' | 'list' | 'list-item' | 'table' | 'profile' | 'profile-header' | 'feed-post' | 'article' | 'comment-thread' | 'chat' | 'dashboard' | 'form' | 'media-card' | 'navbar' | 'sidebar' | 'settings-page' | 'product-detail' | 'news-feed' | 'inbox-list' | 'notification-list' | 'order-list' | 'kpi-card' | 'chart-bar' | 'chart-line' | 'chart-pie' | 'search-results' | 'video-player' | 'music-player' | 'stories-row' | 'reels' | 'tabs' | 'calendar' | 'kanban' | 'timeline' | 'map-card' | 'pricing-card' | 'testimonial' | 'faq-accordion' | 'file-explorer' | 'code-block';
|
|
11
|
+
type VeilSpinnerType = 'ring' | 'dual-ring' | 'dots' | 'bars' | 'pulse' | 'orbit' | 'wave' | 'bounce' | 'ios-activity' | 'glass-orb' | 'morph' | 'progress-circle' | 'arc-gradient' | 'pulse-ring' | 'dots-circle' | 'grid-dots' | 'square-flip' | 'cube-fold' | 'hourglass' | 'infinity' | 'heartbeat-line' | 'equalizer' | 'chasing-dots' | 'typing' | 'liquid-fill' | 'atom' | 'clock' | 'radar' | 'ellipsis' | 'flower';
|
|
11
12
|
type VeilRevealTransition = 'fade' | 'blur-in' | 'slide-up' | 'scale' | 'stagger-children' | 'none';
|
|
12
13
|
interface VeilThemeTokens {
|
|
13
14
|
base: string;
|
|
@@ -65,6 +66,7 @@ interface PresetProps extends Omit<SkeletonProps, 'type'> {
|
|
|
65
66
|
name: VeilPresetName;
|
|
66
67
|
items?: number;
|
|
67
68
|
columns?: number;
|
|
69
|
+
shape?: VeilShapeStyle;
|
|
68
70
|
}
|
|
69
71
|
interface AutoMeasureOptions {
|
|
70
72
|
container?: HTMLElement;
|
|
@@ -94,6 +96,7 @@ interface SpinnerProps {
|
|
|
94
96
|
secondaryColor?: string;
|
|
95
97
|
speed?: number | string;
|
|
96
98
|
label?: string;
|
|
99
|
+
glass?: boolean;
|
|
97
100
|
className?: string;
|
|
98
101
|
style?: Record<string, string | number>;
|
|
99
102
|
}
|
|
@@ -123,15 +126,29 @@ interface OverlayProps {
|
|
|
123
126
|
className?: string;
|
|
124
127
|
zIndex?: number;
|
|
125
128
|
}
|
|
129
|
+
type ButtonStatus = 'idle' | 'loading' | 'success' | 'error';
|
|
130
|
+
type ButtonLoadingStyle = 'spinner-left' | 'spinner-right' | 'spinner-replace' | 'dots-after-text' | 'progress-fill' | 'shimmer-surface' | 'pulse-glow' | 'stripes-progress' | 'morph-circle' | 'slide-text' | 'border-trace' | 'liquid-fill' | 'bounce-dots' | 'glass-shine' | 'neon-pulse' | 'skeleton-button';
|
|
131
|
+
type ButtonPressFeedback = 'ripple' | 'press-scale' | 'glow-follow' | 'none';
|
|
132
|
+
type ButtonResultAnimation = 'checkmark' | 'cross' | 'shake' | 'success-burst' | 'none';
|
|
126
133
|
interface LoadingButtonProps {
|
|
134
|
+
status?: ButtonStatus;
|
|
127
135
|
loading?: boolean;
|
|
136
|
+
styleType?: ButtonLoadingStyle;
|
|
128
137
|
spinner?: VeilSpinnerType;
|
|
129
138
|
spinnerPlacement?: 'start' | 'end' | 'replace';
|
|
130
139
|
loadingText?: string;
|
|
140
|
+
successText?: string;
|
|
141
|
+
errorText?: string;
|
|
142
|
+
resetAfter?: number;
|
|
143
|
+
progress?: number;
|
|
144
|
+
pressFeedback?: ButtonPressFeedback;
|
|
145
|
+
resultAnimation?: ButtonResultAnimation;
|
|
146
|
+
haptics?: boolean;
|
|
131
147
|
disabled?: boolean;
|
|
132
148
|
className?: string;
|
|
133
149
|
children?: any;
|
|
134
|
-
|
|
150
|
+
onStatusChange?: (status: ButtonStatus) => void;
|
|
151
|
+
onClick?: (event: any) => Promise<any> | void;
|
|
135
152
|
}
|
|
136
153
|
interface LazyImageProps {
|
|
137
154
|
src: string;
|
|
@@ -156,4 +173,4 @@ interface TextLoaderProps {
|
|
|
156
173
|
className?: string;
|
|
157
174
|
}
|
|
158
175
|
|
|
159
|
-
export type { AutoMeasureOptions as A, CustomThemeInput as C, LoadingButtonProps as L, OverlayProps as O,
|
|
176
|
+
export type { AutoMeasureOptions as A, ButtonStatus as B, CustomThemeInput as C, LoadingButtonProps as L, OverlayProps as O, PresetProps as P, SkeletonProps as S, TextLoaderProps as T, VeilThemeName as V, VeilAnimationName as a, ProgressProps as b, SpinnerProps as c, VeilGlobalConfig as d, ButtonLoadingStyle as e, VeilSpinnerType as f, VeilPresetName as g, VeilShapeStyle as h, VeilPrimitiveType as i, ButtonPressFeedback as j, ButtonResultAnimation as k, SkeletonController as l, LazyImageProps as m, VeilDirection as n, VeilRevealTransition as o, VeilThemeTokens as p };
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
* Complete Loading & Skeleton UI Toolkit
|
|
4
4
|
*/
|
|
5
5
|
type VeilThemeName = 'light' | 'dark' | 'auto' | 'glass' | 'ios' | 'material' | 'minimal' | 'mono' | 'neon' | 'sunset' | 'ocean';
|
|
6
|
-
type VeilAnimationName = 'shimmer' | 'wave' | 'pulse' | 'blink' | 'breathe' | 'glass-shine' | 'gradient-flow' | 'aurora' | 'scan-line' | 'sparkle' | 'neon-glow' | 'stagger' | 'none';
|
|
6
|
+
type VeilAnimationName = 'shimmer' | 'wave' | 'pulse' | 'blink' | 'breathe' | 'glass-shine' | 'gradient-flow' | 'aurora' | 'scan-line' | 'sparkle' | 'neon-glow' | 'stagger' | 'ripple' | 'ping-pong' | 'wipe' | 'cascade' | 'spotlight' | 'rainbow' | 'heartbeat' | 'liquid' | 'stripes' | 'halftone' | 'border-glow' | 'typewriter' | 'glitch' | 'pixelate' | 'tilt' | 'diagonal-sweep' | 'bounce-in' | 'fade-slide' | 'none';
|
|
7
7
|
type VeilDirection = 'ltr' | 'rtl' | 'ttb' | 'btt';
|
|
8
8
|
type VeilPrimitiveType = 'line' | 'paragraph' | 'heading' | 'circle' | 'rect' | 'image' | 'button' | 'badge' | 'icon' | 'input' | 'table-row' | 'divider';
|
|
9
|
-
type
|
|
10
|
-
type
|
|
9
|
+
type VeilShapeStyle = 'rounded' | 'pill' | 'square' | 'sharp' | 'glass';
|
|
10
|
+
type VeilPresetName = 'card' | 'product-card' | 'product-grid' | 'list' | 'list-item' | 'table' | 'profile' | 'profile-header' | 'feed-post' | 'article' | 'comment-thread' | 'chat' | 'dashboard' | 'form' | 'media-card' | 'navbar' | 'sidebar' | 'settings-page' | 'product-detail' | 'news-feed' | 'inbox-list' | 'notification-list' | 'order-list' | 'kpi-card' | 'chart-bar' | 'chart-line' | 'chart-pie' | 'search-results' | 'video-player' | 'music-player' | 'stories-row' | 'reels' | 'tabs' | 'calendar' | 'kanban' | 'timeline' | 'map-card' | 'pricing-card' | 'testimonial' | 'faq-accordion' | 'file-explorer' | 'code-block';
|
|
11
|
+
type VeilSpinnerType = 'ring' | 'dual-ring' | 'dots' | 'bars' | 'pulse' | 'orbit' | 'wave' | 'bounce' | 'ios-activity' | 'glass-orb' | 'morph' | 'progress-circle' | 'arc-gradient' | 'pulse-ring' | 'dots-circle' | 'grid-dots' | 'square-flip' | 'cube-fold' | 'hourglass' | 'infinity' | 'heartbeat-line' | 'equalizer' | 'chasing-dots' | 'typing' | 'liquid-fill' | 'atom' | 'clock' | 'radar' | 'ellipsis' | 'flower';
|
|
11
12
|
type VeilRevealTransition = 'fade' | 'blur-in' | 'slide-up' | 'scale' | 'stagger-children' | 'none';
|
|
12
13
|
interface VeilThemeTokens {
|
|
13
14
|
base: string;
|
|
@@ -65,6 +66,7 @@ interface PresetProps extends Omit<SkeletonProps, 'type'> {
|
|
|
65
66
|
name: VeilPresetName;
|
|
66
67
|
items?: number;
|
|
67
68
|
columns?: number;
|
|
69
|
+
shape?: VeilShapeStyle;
|
|
68
70
|
}
|
|
69
71
|
interface AutoMeasureOptions {
|
|
70
72
|
container?: HTMLElement;
|
|
@@ -94,6 +96,7 @@ interface SpinnerProps {
|
|
|
94
96
|
secondaryColor?: string;
|
|
95
97
|
speed?: number | string;
|
|
96
98
|
label?: string;
|
|
99
|
+
glass?: boolean;
|
|
97
100
|
className?: string;
|
|
98
101
|
style?: Record<string, string | number>;
|
|
99
102
|
}
|
|
@@ -123,15 +126,29 @@ interface OverlayProps {
|
|
|
123
126
|
className?: string;
|
|
124
127
|
zIndex?: number;
|
|
125
128
|
}
|
|
129
|
+
type ButtonStatus = 'idle' | 'loading' | 'success' | 'error';
|
|
130
|
+
type ButtonLoadingStyle = 'spinner-left' | 'spinner-right' | 'spinner-replace' | 'dots-after-text' | 'progress-fill' | 'shimmer-surface' | 'pulse-glow' | 'stripes-progress' | 'morph-circle' | 'slide-text' | 'border-trace' | 'liquid-fill' | 'bounce-dots' | 'glass-shine' | 'neon-pulse' | 'skeleton-button';
|
|
131
|
+
type ButtonPressFeedback = 'ripple' | 'press-scale' | 'glow-follow' | 'none';
|
|
132
|
+
type ButtonResultAnimation = 'checkmark' | 'cross' | 'shake' | 'success-burst' | 'none';
|
|
126
133
|
interface LoadingButtonProps {
|
|
134
|
+
status?: ButtonStatus;
|
|
127
135
|
loading?: boolean;
|
|
136
|
+
styleType?: ButtonLoadingStyle;
|
|
128
137
|
spinner?: VeilSpinnerType;
|
|
129
138
|
spinnerPlacement?: 'start' | 'end' | 'replace';
|
|
130
139
|
loadingText?: string;
|
|
140
|
+
successText?: string;
|
|
141
|
+
errorText?: string;
|
|
142
|
+
resetAfter?: number;
|
|
143
|
+
progress?: number;
|
|
144
|
+
pressFeedback?: ButtonPressFeedback;
|
|
145
|
+
resultAnimation?: ButtonResultAnimation;
|
|
146
|
+
haptics?: boolean;
|
|
131
147
|
disabled?: boolean;
|
|
132
148
|
className?: string;
|
|
133
149
|
children?: any;
|
|
134
|
-
|
|
150
|
+
onStatusChange?: (status: ButtonStatus) => void;
|
|
151
|
+
onClick?: (event: any) => Promise<any> | void;
|
|
135
152
|
}
|
|
136
153
|
interface LazyImageProps {
|
|
137
154
|
src: string;
|
|
@@ -156,4 +173,4 @@ interface TextLoaderProps {
|
|
|
156
173
|
className?: string;
|
|
157
174
|
}
|
|
158
175
|
|
|
159
|
-
export type { AutoMeasureOptions as A, CustomThemeInput as C, LoadingButtonProps as L, OverlayProps as O,
|
|
176
|
+
export type { AutoMeasureOptions as A, ButtonStatus as B, CustomThemeInput as C, LoadingButtonProps as L, OverlayProps as O, PresetProps as P, SkeletonProps as S, TextLoaderProps as T, VeilThemeName as V, VeilAnimationName as a, ProgressProps as b, SpinnerProps as c, VeilGlobalConfig as d, ButtonLoadingStyle as e, VeilSpinnerType as f, VeilPresetName as g, VeilShapeStyle as h, VeilPrimitiveType as i, ButtonPressFeedback as j, ButtonResultAnimation as k, SkeletonController as l, LazyImageProps as m, VeilDirection as n, VeilRevealTransition as o, VeilThemeTokens as p };
|