veilkit 0.2.1 → 0.3.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/CHANGELOG.md +23 -0
- package/README.md +119 -6
- package/assets/demo-button.gif +0 -0
- package/assets/demo-hero.gif +0 -0
- package/assets/demo-presets.gif +0 -0
- package/assets/demo-spinners.gif +0 -0
- package/dist/angular/index.cjs +5 -5
- package/dist/angular/index.cjs.map +1 -1
- package/dist/angular/index.d.cts +2 -2
- package/dist/angular/index.d.ts +2 -2
- package/dist/angular/index.js +5 -5
- package/dist/angular/index.js.map +1 -1
- package/dist/{controller-Ceub9kLC.d.ts → controller-Cmc3Hp1j.d.ts} +1 -1
- package/dist/{controller-B6kFsWzi.d.cts → controller-CzNTbEGd.d.cts} +1 -1
- package/dist/element/index.cjs +14 -14
- package/dist/element/index.cjs.map +1 -1
- package/dist/element/index.js +14 -14
- package/dist/element/index.js.map +1 -1
- package/dist/index.cjs +13 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -4
- package/dist/index.d.ts +27 -4
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -1
- package/dist/native/index.d.cts +1 -1
- package/dist/native/index.d.ts +1 -1
- package/dist/react/index.cjs +14 -14
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +14 -2
- package/dist/react/index.d.ts +14 -2
- package/dist/react/index.js +14 -14
- package/dist/react/index.js.map +1 -1
- package/dist/svelte/index.cjs +4 -4
- package/dist/svelte/index.cjs.map +1 -1
- package/dist/svelte/index.d.cts +1 -1
- package/dist/svelte/index.d.ts +1 -1
- package/dist/svelte/index.js +4 -4
- 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-CnR-rU97.d.cts → types-D2ryMkLU.d.cts} +25 -2
- package/dist/{types-CnR-rU97.d.ts → types-D2ryMkLU.d.ts} +25 -2
- package/dist/veilkit.min.js +13 -5
- package/dist/vue/index.cjs +3 -3
- package/dist/vue/index.cjs.map +1 -1
- package/dist/vue/index.d.cts +1 -1
- package/dist/vue/index.d.ts +1 -1
- package/dist/vue/index.js +3 -3
- package/dist/vue/index.js.map +1 -1
- package/package.json +2 -1
package/dist/themes/index.d.cts
CHANGED
package/dist/themes/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ type VeilAnimationName = 'shimmer' | 'wave' | 'pulse' | 'blink' | 'breathe' | 'g
|
|
|
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
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';
|
|
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' | 'e-commerce-checkout' | 'social-story' | 'hero-banner';
|
|
11
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';
|
|
12
12
|
type VeilRevealTransition = 'fade' | 'blur-in' | 'slide-up' | 'scale' | 'stagger-children' | 'none';
|
|
13
13
|
interface VeilThemeTokens {
|
|
@@ -172,5 +172,28 @@ interface TextLoaderProps {
|
|
|
172
172
|
locale?: string;
|
|
173
173
|
className?: string;
|
|
174
174
|
}
|
|
175
|
+
type CustomSkeletonNodeType = 'row' | 'col' | 'card' | 'avatar' | 'heading' | 'line' | 'rect' | 'image' | 'button' | 'badge' | 'divider' | 'custom';
|
|
176
|
+
interface CustomSkeletonNode {
|
|
177
|
+
type: CustomSkeletonNodeType;
|
|
178
|
+
width?: string | number;
|
|
179
|
+
height?: string | number;
|
|
180
|
+
radius?: string | number;
|
|
181
|
+
count?: number;
|
|
182
|
+
gap?: string | number;
|
|
183
|
+
align?: 'start' | 'center' | 'end' | 'between';
|
|
184
|
+
children?: CustomSkeletonNode[];
|
|
185
|
+
className?: string;
|
|
186
|
+
style?: Record<string, string | number>;
|
|
187
|
+
}
|
|
188
|
+
interface CustomSkeletonConfig {
|
|
189
|
+
nodes: CustomSkeletonNode[];
|
|
190
|
+
animation?: VeilAnimationName;
|
|
191
|
+
theme?: VeilThemeName | CustomThemeInput;
|
|
192
|
+
direction?: VeilDirection;
|
|
193
|
+
shape?: VeilShapeStyle;
|
|
194
|
+
gap?: string | number;
|
|
195
|
+
className?: string;
|
|
196
|
+
style?: Record<string, string | number>;
|
|
197
|
+
}
|
|
175
198
|
|
|
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,
|
|
199
|
+
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, CustomSkeletonConfig as n, VeilDirection as o, VeilRevealTransition as p, CustomSkeletonNode as q, CustomSkeletonNodeType as r, VeilThemeTokens as s };
|
|
@@ -7,7 +7,7 @@ type VeilAnimationName = 'shimmer' | 'wave' | 'pulse' | 'blink' | 'breathe' | 'g
|
|
|
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
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';
|
|
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' | 'e-commerce-checkout' | 'social-story' | 'hero-banner';
|
|
11
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';
|
|
12
12
|
type VeilRevealTransition = 'fade' | 'blur-in' | 'slide-up' | 'scale' | 'stagger-children' | 'none';
|
|
13
13
|
interface VeilThemeTokens {
|
|
@@ -172,5 +172,28 @@ interface TextLoaderProps {
|
|
|
172
172
|
locale?: string;
|
|
173
173
|
className?: string;
|
|
174
174
|
}
|
|
175
|
+
type CustomSkeletonNodeType = 'row' | 'col' | 'card' | 'avatar' | 'heading' | 'line' | 'rect' | 'image' | 'button' | 'badge' | 'divider' | 'custom';
|
|
176
|
+
interface CustomSkeletonNode {
|
|
177
|
+
type: CustomSkeletonNodeType;
|
|
178
|
+
width?: string | number;
|
|
179
|
+
height?: string | number;
|
|
180
|
+
radius?: string | number;
|
|
181
|
+
count?: number;
|
|
182
|
+
gap?: string | number;
|
|
183
|
+
align?: 'start' | 'center' | 'end' | 'between';
|
|
184
|
+
children?: CustomSkeletonNode[];
|
|
185
|
+
className?: string;
|
|
186
|
+
style?: Record<string, string | number>;
|
|
187
|
+
}
|
|
188
|
+
interface CustomSkeletonConfig {
|
|
189
|
+
nodes: CustomSkeletonNode[];
|
|
190
|
+
animation?: VeilAnimationName;
|
|
191
|
+
theme?: VeilThemeName | CustomThemeInput;
|
|
192
|
+
direction?: VeilDirection;
|
|
193
|
+
shape?: VeilShapeStyle;
|
|
194
|
+
gap?: string | number;
|
|
195
|
+
className?: string;
|
|
196
|
+
style?: Record<string, string | number>;
|
|
197
|
+
}
|
|
175
198
|
|
|
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,
|
|
199
|
+
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, CustomSkeletonConfig as n, VeilDirection as o, VeilRevealTransition as p, CustomSkeletonNode as q, CustomSkeletonNodeType as r, VeilThemeTokens as s };
|