veilkit 0.0.0-stage → 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 +54 -0
- package/LICENSE +21 -0
- package/README.md +801 -2
- package/dist/angular/index.cjs +660 -0
- package/dist/angular/index.cjs.map +1 -0
- package/dist/angular/index.d.cts +113 -0
- package/dist/angular/index.d.ts +113 -0
- package/dist/angular/index.js +660 -0
- package/dist/angular/index.js.map +1 -0
- package/dist/cli/index.cjs +25 -0
- package/dist/cli/index.cjs.map +1 -0
- package/dist/cli/index.d.cts +1 -0
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/index.js +25 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/controller-B6kFsWzi.d.cts +195 -0
- package/dist/controller-Ceub9kLC.d.ts +195 -0
- package/dist/element/index.cjs +660 -0
- package/dist/element/index.cjs.map +1 -0
- package/dist/element/index.d.cts +48 -0
- package/dist/element/index.d.ts +48 -0
- package/dist/element/index.js +660 -0
- package/dist/element/index.js.map +1 -0
- package/dist/index.cjs +660 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +211 -0
- package/dist/index.d.ts +211 -0
- package/dist/index.js +660 -0
- package/dist/index.js.map +1 -0
- package/dist/native/index.cjs +2 -0
- package/dist/native/index.cjs.map +1 -0
- package/dist/native/index.d.cts +54 -0
- package/dist/native/index.d.ts +54 -0
- package/dist/native/index.js +2 -0
- package/dist/native/index.js.map +1 -0
- package/dist/react/index.cjs +660 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +121 -0
- package/dist/react/index.d.ts +121 -0
- package/dist/react/index.js +660 -0
- package/dist/react/index.js.map +1 -0
- package/dist/styles.css +509 -0
- package/dist/svelte/index.cjs +660 -0
- package/dist/svelte/index.cjs.map +1 -0
- package/dist/svelte/index.d.cts +48 -0
- package/dist/svelte/index.d.ts +48 -0
- package/dist/svelte/index.js +660 -0
- package/dist/svelte/index.js.map +1 -0
- package/dist/themes/index.cjs +2 -0
- package/dist/themes/index.cjs.map +1 -0
- package/dist/themes/index.d.cts +18 -0
- package/dist/themes/index.d.ts +18 -0
- package/dist/themes/index.js +2 -0
- package/dist/themes/index.js.map +1 -0
- package/dist/types-CnR-rU97.d.cts +176 -0
- package/dist/types-CnR-rU97.d.ts +176 -0
- package/dist/veilkit.min.js +659 -0
- package/dist/vue/index.cjs +660 -0
- package/dist/vue/index.cjs.map +1 -0
- package/dist/vue/index.d.cts +512 -0
- package/dist/vue/index.d.ts +512 -0
- package/dist/vue/index.js +660 -0
- package/dist/vue/index.js.map +1 -0
- package/package.json +254 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `veilkit` will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.2.0] - 2026-11-07
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **30 GPU-Accelerated Skeleton Animations** (expanded from 12):
|
|
12
|
+
- 18 new animations: `ripple`, `ping-pong`, `wipe`, `cascade`, `spotlight`, `rainbow`, `heartbeat`, `liquid`, `stripes`, `halftone`, `border-glow`, `typewriter`, `glitch`, `pixelate`, `tilt`, `diagonal-sweep`, `bounce-in`, `fade-slide`.
|
|
13
|
+
- All animations strictly use `transform` and `opacity` on the GPU compositor thread with synchronized timeline clock phases.
|
|
14
|
+
- **30 Spinner Loaders** (expanded from 12):
|
|
15
|
+
- 18 new spinners: `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`.
|
|
16
|
+
- Added support for `glass` frosted blur backdrop variant and custom `speed` multiplier on all 30 spinners.
|
|
17
|
+
- **40 Ready-Made Presets** (expanded from 18):
|
|
18
|
+
- 22 new presets: `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`.
|
|
19
|
+
- Support for 5 shape styles across all 40 presets: `rounded`, `pill`, `square`, `sharp`, `glass`.
|
|
20
|
+
- **Loading Button Full Catalog & State Machine**:
|
|
21
|
+
- Deterministic state machine: `idle → loading → success | error → idle` with configurable `resetAfter` timer.
|
|
22
|
+
- Automatic async promise tracking via `onClick={async () => ...}`.
|
|
23
|
+
- Double-click suppression while non-idle.
|
|
24
|
+
- 16 loading animation styles: `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`.
|
|
25
|
+
- Result animations: animated SVG `checkmark` draw, `cross` draw, error `shake`, and `success-burst`.
|
|
26
|
+
- Press feedback: `ripple`, `press-scale`, `glow-follow`.
|
|
27
|
+
- React Native / Expo: automatic haptic feedback via `expo-haptics` integration with graceful fallback.
|
|
28
|
+
- **Documentation Website & Playground**:
|
|
29
|
+
- Live interactive pickers for all 30 animations, 30 spinners, 16 button styles, 40 presets, and 5 shapes.
|
|
30
|
+
- Dedicated galleries for Presets, Animations, Spinners, and Loading Buttons with one-click simulation.
|
|
31
|
+
- Code generation tabs for 7 frameworks (React, Vue, Svelte, Angular, Web Components, React Native, CDN).
|
|
32
|
+
|
|
33
|
+
## [0.1.0] - 2026-11-07
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
- Core loading and skeleton engine with zero runtime dependencies.
|
|
37
|
+
- Synced animation timeline for all shimmers via global clock.
|
|
38
|
+
- 12 animations: `shimmer`, `wave`, `pulse`, `blink`, `breathe`, `glass-shine`, `gradient-flow`, `aurora`, `scan-line`, `sparkle`, `neon-glow`, `stagger`.
|
|
39
|
+
- 11 built-in themes: `light`, `dark`, `auto`, `glass`, `ios`, `material`, `minimal`, `mono`, `neon`, `sunset`, `ocean`, and `createTheme` factory.
|
|
40
|
+
- 12 spinner types: `ring`, `dual-ring`, `dots`, `bars`, `pulse`, `orbit`, `wave`, `bounce`, `ios-activity`, `glass-orb`, `morph`, `progress-circle`.
|
|
41
|
+
- Route progress and linear/circular determinate/indeterminate progress loaders.
|
|
42
|
+
- Anti-flicker timing controller (`delay` & `minVisible`).
|
|
43
|
+
- Auto-measure DOM skeleton generator with `ResizeObserver` and cached layouts.
|
|
44
|
+
- Reveal transitions: `fade`, `blur-in`, `slide-up`, `scale`, `stagger-children`.
|
|
45
|
+
- Overlay with backdrop blur and container/fullscreen mounting.
|
|
46
|
+
- LoadingButton and LazyImage with blur-up placeholder.
|
|
47
|
+
- Multi-framework adapters:
|
|
48
|
+
- React & Next.js (`veilkit/react`) with Suspense, App Router & Pages Router support.
|
|
49
|
+
- Vue 3 & Nuxt (`veilkit/vue`) with composables, plugin, directive `v-veil`.
|
|
50
|
+
- Svelte 5 & SvelteKit (`veilkit/svelte`) with runes, action `use:veil`.
|
|
51
|
+
- Angular (`veilkit/angular`) standalone components, directive, and `VeilService`.
|
|
52
|
+
- Web Components (`veilkit/element`) custom elements.
|
|
53
|
+
- React Native & Expo (`veilkit/native`) with Reanimated and Animated fallbacks.
|
|
54
|
+
- Standalone CLI `veilkit capture` for pre-rendering static `.veil.json` layout maps.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Veilkit Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|