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.
Files changed (50) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +119 -6
  3. package/assets/demo-button.gif +0 -0
  4. package/assets/demo-hero.gif +0 -0
  5. package/assets/demo-presets.gif +0 -0
  6. package/assets/demo-spinners.gif +0 -0
  7. package/dist/angular/index.cjs +5 -5
  8. package/dist/angular/index.cjs.map +1 -1
  9. package/dist/angular/index.d.cts +2 -2
  10. package/dist/angular/index.d.ts +2 -2
  11. package/dist/angular/index.js +5 -5
  12. package/dist/angular/index.js.map +1 -1
  13. package/dist/{controller-Ceub9kLC.d.ts → controller-Cmc3Hp1j.d.ts} +1 -1
  14. package/dist/{controller-B6kFsWzi.d.cts → controller-CzNTbEGd.d.cts} +1 -1
  15. package/dist/element/index.cjs +14 -14
  16. package/dist/element/index.cjs.map +1 -1
  17. package/dist/element/index.js +14 -14
  18. package/dist/element/index.js.map +1 -1
  19. package/dist/index.cjs +13 -5
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.cts +27 -4
  22. package/dist/index.d.ts +27 -4
  23. package/dist/index.js +13 -5
  24. package/dist/index.js.map +1 -1
  25. package/dist/native/index.d.cts +1 -1
  26. package/dist/native/index.d.ts +1 -1
  27. package/dist/react/index.cjs +14 -14
  28. package/dist/react/index.cjs.map +1 -1
  29. package/dist/react/index.d.cts +14 -2
  30. package/dist/react/index.d.ts +14 -2
  31. package/dist/react/index.js +14 -14
  32. package/dist/react/index.js.map +1 -1
  33. package/dist/svelte/index.cjs +4 -4
  34. package/dist/svelte/index.cjs.map +1 -1
  35. package/dist/svelte/index.d.cts +1 -1
  36. package/dist/svelte/index.d.ts +1 -1
  37. package/dist/svelte/index.js +4 -4
  38. package/dist/svelte/index.js.map +1 -1
  39. package/dist/themes/index.d.cts +1 -1
  40. package/dist/themes/index.d.ts +1 -1
  41. package/dist/{types-CnR-rU97.d.cts → types-D2ryMkLU.d.cts} +25 -2
  42. package/dist/{types-CnR-rU97.d.ts → types-D2ryMkLU.d.ts} +25 -2
  43. package/dist/veilkit.min.js +13 -5
  44. package/dist/vue/index.cjs +3 -3
  45. package/dist/vue/index.cjs.map +1 -1
  46. package/dist/vue/index.d.cts +1 -1
  47. package/dist/vue/index.d.ts +1 -1
  48. package/dist/vue/index.js +3 -3
  49. package/dist/vue/index.js.map +1 -1
  50. package/package.json +2 -1
@@ -1,4 +1,4 @@
1
- import { C as CustomThemeInput, p as VeilThemeTokens, V as VeilThemeName } from '../types-CnR-rU97.cjs';
1
+ import { C as CustomThemeInput, s as VeilThemeTokens, V as VeilThemeName } from '../types-D2ryMkLU.cjs';
2
2
 
3
3
  /**
4
4
  * Veilkit - Themes & Token Definitions
@@ -1,4 +1,4 @@
1
- import { C as CustomThemeInput, p as VeilThemeTokens, V as VeilThemeName } from '../types-CnR-rU97.js';
1
+ import { C as CustomThemeInput, s as VeilThemeTokens, V as VeilThemeName } from '../types-D2ryMkLU.js';
2
2
 
3
3
  /**
4
4
  * Veilkit - Themes & Token Definitions
@@ -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, VeilDirection as n, VeilRevealTransition as o, VeilThemeTokens as p };
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, VeilDirection as n, VeilRevealTransition as o, VeilThemeTokens as p };
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 };