Zum Inhalt springen
BirdAPI powered by SKYLITE.DESIGN
Kontakt

Stand: 09.06.2026 00:27

VelinStyle

CSS-Framework, Web Components und CLI für das Velin-Ökosystem.

v1.0.0 Aktuell
  • 2 Fixes
Bug melden
Änderungen anzeigen

Fixed

  • Search: Worker mode now requires an explicit workerUrl (prevents broken defaults in non-ESM/IIFE builds).
  • Build: IIFE bundle no longer emits import.meta warnings during build.

Changed

  • CI: runs on Linux, Windows, and macOS; Playwright full cross-browser only on Linux (Chromium smoke elsewhere).

Release ansehen

v0.9.0
  • 24 Features
  • 4 Fixes
  • 3 Breaking Changes
Bug melden
Änderungen anzeigen

Breaking

  • Component names: canonical tags are <velin-tooltip> and <velin-stepper>; source files components/velin-tooltip.js and components/velin-stepper.js. <velin-tooltip-wc> and <velin-stepper-wc> remain as deprecated aliases (console warning once).
  • Spacing: .velin-mb-* is margin-bottom only; use .velin-my-* for block-axis spacing.
  • Visual: default text/primary tokens are darker for AAA — use data-velin-contrast="aa" on <html> if you need the previous lighter palette without retuning tokens.

Migration

  • Replace <velin-tooltip-wc><velin-tooltip> and <velin-stepper-wc><velin-stepper> in HTML; legacy tags still work in 0.9.0.
  • Imports: VelinTooltip / VelinStepper from @birdapi/velinstyle (or component paths); VelinTooltipWC / VelinStepperWC re-exported as deprecated.

Fixed

  • Security: velin-secure-field no longer emits plaintext or AES keys; hardened sanitizeURL / sanitizeSearchUrl; DOMPurify SVG sanitization in velin-icon; search result URLs validated.
  • Runtime: auto-generated COMPONENT_LOADERS (38 tags); bootFromDOM scans all velin-* elements; stacked modal inert; velin-copy value/text unified; code-block copy fixed.
  • WCAG 2.2: corrected criterion comments; fixed wcag22-auth sample; new wcag22-dragging sample and wcag22-aaa-matrix.md.
  • Utilities: .velin-mb-* margin-bottom semantics corrected.

Added

  • Audit follow-up: velin-scroll-top declarative attribute; src/base/wc-placeholder.css CLS guards for all loader tags; velin-persist in component-contracts.json; Playwright cross-browser smoke (npm run test:e2e); shared docs theme picker assets (docs/assets/theme-picker.*).
  • Velin-Meta: velinstyle meta builds dist/velin-agent.json and dist/llms.txt for AI assistants; MIME application/vnd.velinstyle.meta+json; page-level <script id="velin-meta">; velinstyle meta page <file> --write; docs generate --scope meta; export @birdapi/velinstyle/meta.
  • WCAG 2.2 AAA defaults: OKLCH color tokens (:root, dark, 13 themes) validated at 7:1 via npm run test:contrast; data-velin-contrast="aa" opt-down to AA palette.
  • A11y runtime: @birdapi/velinstyle/a11y with initA11y() (live announcer, scroll padding); core/a11y/component-contracts.json; docs/generated/a11y/wcag22-aaa-matrix.md; npm run test:a11y:coverage.
  • Component a11y: a11y-utils.js, fixes for velin-icon, velin-search, velin-theme-toggle, velin-popover (aria-labelledby), dialogs, toasts, and more; scanner rules velin-icon-label, sparkline-label, skeleton-text.
  • VelinHighlight: core/highlight/ (velinSyntax, highlightElement, highlightAll, initHighlight, registerLanguage, lazyLoadLanguage); lexers for JS/TS, HTML, CSS, JSON, Markdown, Shell, SQL, PHP, Blade; highlight.css with OKLCH/P3 token colors and reduced-motion fade.
  • <velin-code-block> Web Component (copy, line numbers, line highlight, collapsible); velin-code attribute bridge with lazy in-view highlighting.
  • Export: @birdapi/velinstyle/highlight; bootFromDOM({ highlight: true }); sample samples/velin-code-block.html; guide docs/guides/syntax-highlight.html.
  • VelinSearch: core/search/ API (velinSearch, createSearch, registerSearchProvider), fuzzy offline search, highlight, category filters; optional Web Worker (core/search/worker.js).
  • <velin-search> Web Component with autocomplete, keyboard navigation, grouped results.
  • Search benchmark: tests/search-benchmark.test.js — fuzzy query over 10k entries (main thread under 400ms, worker under 500ms in CI); npm run test:search:bench.
  • Motion runtime: core/motion/ (initMotion, velinMotion, rAF scheduler, stagger, smooth scroll); unified .velin-in-view with scroll-animation CSS fallback.
  • Velin HTML attributes: core/attributes/ registry (20+ bridges); bootFromDOM({ attributes: true }).
  • CLI: velinstyle search index builds dist/search-index.json; docs generate emits docs/generated/ + attributes index.
  • PII scanner: hardcoded-email, hardcoded-secret, mailto-in-source, localstorage-pii rules; --only pii; --fix masks emails (cli/pii-scanner.js).
  • WCAG 2.2 CSS: authentication.css, consistent-help.css, dragging-alternatives.css, focus-appearance.css; scanner rules a11y/autocomplete-auth, a11y/invalid-describedby.
  • Font tokens: tokens/fonts.css, utilities .velin-font-display, .velin-tabular-nums, .velin-text-pretty; tokens build supports fonts and motion blocks.
  • JS runtime: components/runtime/ with register, lazyDefine, whenDefined, bootFromDOM; package exports ./runtime, ./sanitize, ./email, ./secure.
  • CLI velinstyle perf: audit, suggest, fix for images and scripts (cli/perf-audit.js).
  • CLI velinstyle tokens validate: JSON validation for OKLCH, themes, fonts (cli/tokens-validate.js, examples/tokens.schema.json).
  • Web Components: <velin-email> (reveal obfuscation), <velin-secure-field> (optional AES-GCM demo; subpath import).
  • Docs: guides/performance-audit.html, extend/javascript-api.html; security page PII section.
  • Auto-generated reference: velinstyle docs generate / npm run docs:generate writes Markdown to docs/generated/ (components, tokens, utilities, CLI, scanner rules, a11y modules). CI verifies committed snapshots.
  • Tokens JSON: zIndex block in schema/build/validate; deterministic key order in tokens build; examples/tokens.full.json.

Changed

  • Documentation and samples: landmark structure (<header role="banner">), AAA migration section, updated docs/a11y.html and token pages.
  • test:a11y enables color-contrast-enhanced; JSDOM canvas stub for axe in CI.
  • Package and CLI version 0.9.0; CI runs tokens:validate, test:security, test:perf, ci:checks (bundle budget, search-index drift, loader drift).
  • Package: . export → runtime-entry.js; full bundle at @birdapi/velinstyle/bundle; TypeScript dist/velinstyle.d.ts. Subpaths: /search, /motion, /attributes, /highlight, /sanitize. Distribution via velinstyle.info.
  • velin-reveal.js delegates to core/motion; attribute bridge uses <velin-tooltip> / lazy loaders from renamed component files.
  • Generated docs: velin-tooltip.md, velin-stepper.md (replaces *-wc.md filenames).
  • docs:sync-site uses velinstyle-site/tools/sync-0.9.0.py.

Release ansehen

v0.8.0
  • 16 Features
Bug melden
Änderungen anzeigen

Added

  • Motion tokens: five new easings (spring, elastic, expo-out, back-out, snappy) and two new durations (slowest 800ms, cinematic 1200ms) in tokens/motion.css.
  • Filter-effect utilities: new utilities/filter-effects.css with velin-saturate-*, velin-hue-rotate-*, velin-contrast-*, velin-invert, velin-sepia, velin-drop-shadow-*, extended velin-backdrop-*, and velin-glass / velin-glass-strong composites.
  • Chart-animation utilities: new utilities/chart-animation.css with velin-stroke-draw, velin-sparkline-glow, velin-value-bump, velin-live-pulse, velin-count-fade keyframes and matching velin-chart-line / velin-chart-area / velin-chart-glow / velin-spark-tick / velin-live-pulse classes &mdash; all reduced-motion safe.
  • Three new Web Components: <velin-sparkline> (animated draw-in + live update() API), <velin-counter> (rAF + Intl.NumberFormat count-up with currency/percent/locale), <velin-live-dot> (slotted realtime indicator).
  • Two motion helpers: velin-reveal.js (initReveal() plus [data-velin-reveal-auto] auto-init) and velin-flip.js (flipReorder(), filterList() plus [data-velin-flip] + [data-velin-filter-value] / [data-velin-filter-input] auto-wiring).
  • Demo upgrades: crypto dashboard uses sparkline tick + counters + live-dot; forum and shop chips/searches drive real FLIP-animated list filtering; grid/list view toggle on the shop animates layout changes via FLIP.
  • CLI velinstyle scaffold: prompt-based HTML from blueprint composition (cli/scaffold.js, scaffold-recipes.json); list-intents, -o, --json.
  • CLI velinstyle layout: audit, suggest, and fix for flex/grid/responsive issues (cli/layout-audit.js).
  • Docs: new pages docs/utilities/motion.html, docs/utilities/filter-effects.html, docs/utilities/chart-animation.html, docs/components/sparkline.html, docs/components/counter.html, docs/components/live-dot.html; docs/guides/prompt-scaffolding.html, docs/guides/responsive-layout.html; layout and getting-started sections for 0.8.0 CLI.

Changed

  • src/velinstyle.css imports the new filter-effects + chart-animation utilities.
  • components/index.js exports the three new WCs and two helpers.
  • index.html drops the inline scroll-reveal IIFE in favour of the shared velin-reveal helper via data-velin-reveal-auto.
  • CLI help version 0.8.0; package version 0.8.0.

Added

  • velinstyle prefix JSON maps: optional velinstyle-prefix-map.json next to the migrated tree (or --map <file>) supplies explicit tokenvelin-class replacements; merged after auto map, overrides catalog and --bootstrap-display. Keys _* / $* ignored. Sample: examples/velinstyle-prefix-map.sample.json. Documented in README, README.de, docs/migration.html, docs/guides/existing-project.html.

Added

  • Security: hardened sanitize.js (stripControlChars, escapeHTMLAttribute, createSafeHTML, stricter sanitizeURL); CLI scanner rules (no-meta-refresh, no-inline-style, no-data-html-uri, dangerous-target, integrity-missing, postmessage-wildcard) with --only filter; npm run test:security.
  • Mobile: safe-area.css utilities (.velin-pb-safe, .velin-mobile-only / .velin-desktop-only).
  • Animations: 10 utility classes in animation.css with prefers-reduced-motion and fine-pointer hover gating.
  • Web Components (8): velin-combobox, velin-bottom-nav, velin-sheet, velin-segmented-control, velin-rating, velin-menubar, velin-command, velin-announcer; shared shadow-a11y-styles.js.
  • CLI blueprints (8): bottom-nav-mobile, empty-state, cookie-consent, filter-bar, notification-center, settings-panel, onboarding, pricing-table (22 total).
  • Vite + React: templates/vite-react-velinstyle, expanded @velinstyle/react wrappers, docs/guides/react-vite-starter.html.

Changed

  • components/index.js: exports for new WCs and sanitize helpers.
  • reset.css: FOUC guard for new custom element tags.

Release ansehen

v0.7.0
  • 7 Features
  • 1 Fix
Bug melden
Änderungen anzeigen

Added

  • WCAG 2.2 CSS: focus-not-obscured.css, target-size.css, optional AAA contrast via data-velin-contrast="aaa".
  • Expanded forced-colors and preferences.css for switch, pagination, tables, stepper, nav.
  • Security layer: security.css moved to dedicated @layer security (no longer in a11y).
  • CLI scanner: rules a11y/heading-order, a11y/landmark-main, a11y/interactive-aria-hidden, a11y/iframe-title.
  • npm run test:contrast: OKLCH token pair verification script.
  • docs/assets/docs-a11y.js: nav toggle and theme panel without inline handlers.
  • A11y patterns: menu button, disclosure, data table, loading/busy sections.

Changed

  • Web Components: keyboard/ARIA improvements for collapse, popover, tooltip, carousel (pause control), dropdown (type-ahead), drawer (aria-labelledby), accordion, modal/drawer (inert background).
  • focus-manager.js: visibility-aware focusables, setBackgroundInert / clearBackgroundInert.
  • tests/a11y/run.js: recursive docs/ and samples/, WCAG 2.2 axe tags, IIFE hydration, matchMedia polyfill.

Fixed

  • Target size: alert/toast close, btn --sm, pagination ellipsis meet 44px minimum via target-size.css.

Release ansehen

v0.6.1
  • 8 Features
  • 6 Fixes
Bug melden
Änderungen anzeigen

Fixed

  • Vitest / jsdom: tests/setup.js mocks window.matchMedia for velin-theme-toggle tests; velin-popover test now sets trigger="hover" so role="tooltip" is asserted correctly.
  • Drawer CSS: Fixed side="end" drawer showing content and not closing due to inset-inline-start: 0 leaking to all sides. Each side now explicitly resets opposing inset values.
  • FOUC Protection: Added :not(:defined) rule in reset.css hiding VelinStyle custom elements until they are registered, preventing flash of unstyled content.
  • CLI require() bug: Replaced CJS require('fs').unlinkSync with ESM unlinkSync import in cli/index.js.
  • CLI version: Updated help text to v0.6.1.
  • CLI a11y layer: security.css now included in the a11y layer file list.

Added

  • CLI blueprints: 11 additional static HTML snippets (navbar-header, footer-simple, hero-section, card-grid, form-contact, breadcrumb-bar, sidebar-layout, table-responsive, alert-stack, search-field, pagination-bar) — run velinstyle blueprint list.
  • Multi-Provider Icon System: <velin-icon> now supports a provider attribute for CDN-based icons from Lucide, Heroicons, Bootstrap Icons, Material Symbols, Font Awesome, and Tabler Icons.
  • VelinIcon.registerProvider(): Static method to register custom icon providers at runtime.
  • cli/icon-providers.js: Provider registry with CDN URL mappings, variant support, license info, and homepage links for 6 providers.
  • velinstyle icons CLI commands: list (show providers), add (download SVGs), remove (delete provider icons), build (rebuild sprite).
  • cli/scanner.js: Security, Accessibility, and CSS lint scanner engine with 20+ rules.
  • velinstyle scan CLI command: On-demand project scanning with colored terminal output, JSON format for CI/CD, --fix for auto-fixable issues, --severity filtering.
  • Build-integrated scanning: scan.enabled: true in velinstyle.config.js runs scanner after each build.

Release ansehen

v0.6.0
  • 7 Features
  • 3 Fixes
  • 7 Security-Fixes
Bug melden
Änderungen anzeigen

Security

  • XSS Protection: New components/sanitize.js with escapeHTML() and sanitizeURL() functions
  • 9 Web Components hardened: All dynamic content rendering now uses escapeHTML() (velin-toast, velin-dialog, velin-lightbox, velin-countdown, velin-stepper-wc, velin-tooltip-wc, velin-popover, velin-drawer, velin-modal)
  • Event listener leak fix: velin-lightbox.js no longer accumulates keydown listeners on repeated open() calls
  • CSS Security Utilities: New src/a11y/security.css with .velin-user-content (content sandboxing), .velin-secure-frame (clickjacking protection), autofill protection, external link indicators
  • velin-persist.js hardened: Storage key validation (regex), 64KB size limit, QuotaExceededError handling, storage="session" option for sessionStorage
  • Trusted Types support: Optional getTrustedPolicy() for CSP-enforced environments
  • URL validation: sanitizeURL() blocks JavaScript protocol URLs in lightbox

Added

  • docs/security.html: Dedicated security documentation page with CSP guide, XSS protection details, best practices
  • docs/css-components.html: New page with live demos for breadcrumb, chip, divider, input-group, list-group, pagination, spinner, stat, stepper (CSS), timeline, tooltip (CSS), drawer (CSS)
  • docs/components.html rewritten: All 22 Web Components now documented with live interactive demos, attribute/method/event/slot API tables
  • docs/utilities.html expanded: 10 new utility sections (anchor positioning, color-mix, container-style, divide, responsive, @scope, scroll, scroll-animation, state, view-transitions)
  • docs/tokens.html expanded: Aspect Ratio, Z-Index, and Motion token sections with previews
  • docs/themes.html expanded: All 13 themes now shown with live preview cards
  • IIFE build: dist/velinstyle-components.iife.js for file:// compatibility (no type="module" needed)

Fixed

  • docs/404.html: CSS path fixed (dist/ to ../dist/)
  • Version numbers: All docs pages unified to v0.6.0
  • Navigation: All docs pages now link to CSS Components and Security pages
v0.5.0
  • 15 Features
  • 2 Fixes
Bug melden
Änderungen anzeigen

Added

  • CSS @scope Integration: Scoped styles fuer Card, Modal, Drawer, Nav + .velin-scope / .velin-scope-island Utilities
  • Auto-Contrast Utility: .velin-auto-text--* nutzt color-contrast() fuer automatische Textfarbe auf farbigen Hintergruenden (OKLCH)
  • Native Anchor Positioning: .velin-anchor / .velin-anchored--* fuer CSS-native Tooltip/Popover-Positionierung ohne JS
  • Fluid Typography: Alle --velin-text-* Tokens auf clamp() umgestellt -- stufenlose Skalierung 320px bis 1440px
  • Smart User-Preference Queries: prefers-contrast: more/less und prefers-reduced-transparency Support
  • CSS-only Filter: .velin-filter-group mit :has() fuer JS-freies Listen-Filtern ueber Checkboxen
  • Adaptive @container Style Queries: .velin-density-compact/normal/comfortable + .velin-style-professional/playful
  • Luminance-Aware P3 Gradients: .velin-gradient-p3-* mit color(display-p3) fuer Wide-Gamut Displays
  • State-driven Utilities: .velin-is-loading/empty/error/success/disabled mit automatischen Icons/Overlays
  • Morph Transitions: .velin-morph-source/target fuer View Transitions API-basierte Komponenten-Morphs
  • Haptics API: vibrate(), applyHaptic(), VelinHapticObserver -- Vibrationspatterns fuer mobile Interaktion
  • <velin-persist>: Zero-JS Form Persistence Web Component -- auto-save/restore via localStorage
  • A11y Dashboard: Interaktive Seite auf velinstyle.info mit ARIA Inspector, Keyboard Visualizer, Contrast Checker
  • 10 neue Themes: Neon, Earth, Ocean, Sunset, Nordic, Retro, Corporate, Pastel, Midnight, Forest (13 total)
  • VelinStyle CLI: velinstyle init/build/themes/add fuer CSS Tree-Shaking und Custom Builds

Fixed

  • 39 Accessibility Issues behoben:
  • 11 velinstyle-site Frontend Issues behoben:

Changed

  • components/index.js exportiert jetzt 22 Module (+ VelinPersist, VelinHapticObserver)
  • package.json: bin Eintrag fuer CLI, Version 0.5.0, cli/ in files
  • src/velinstyle.css: 6 neue CSS-Imports (scope, anchor, filter, container-style, state, preferences)
  • scripts/build-themes.js: Auto-Discovery statt hardcoded Array
  • Typography Tokens: Fixed values durch clamp() ersetzt

Release ansehen

v0.4.0
  • 10 Features
  • 1 Fix
Bug melden
Änderungen anzeigen

Added

  • Float Utilities: .velin-float-start, .velin-float-end, .velin-float-none, .velin-clearfix
  • Vertical-align Utilities: .velin-align-baseline/top/middle/bottom/text-top/text-bottom/sub/super
  • Helpers-Kategorie (src/helpers/helpers.css): Ratio Container, Stacks, Stretched Link, Vertical Rule, Colored Links, Focus Ring, Icon Link
  • 12-Column Flex Grid: .velin-row, .velin-col-1 bis -12, responsive sm/md/lg/xl Varianten, Offsets, Gutters, Row-Columns
  • Content-Styles (src/base/content.css): Typography (h1-h6, display-1-6, lead, blockquote), Images (fluid, thumbnail, rounded), Figures
  • Table-Erweiterungen: Zeilen-Farbvarianten, .velin-table--sm, .velin-table--borderless, Caption-Top
  • 7 neue Animationen: flip, drop-in, rubber-band, jello, heartbeat, swing, tada + Stagger + Hover-Trigger
  • 6 neue Web Components: <velin-tooltip-wc>, <velin-lightbox>, <velin-stepper-wc>, <velin-dialog>, <velin-countdown>, <velin-progress-ring>
  • 106 Dokumentationsseiten auf velinstyle.info nach Bootstrap-Vorbild (12 Kategorien)
  • Haupt-Repo Docs Banner mit Link zur vollstaendigen Dokumentation

Fixed

  • Fehlende @keyframes velin-spin Definition

Changed

  • components/index.js exportiert jetzt alle 20 Web Components
  • src/velinstyle.css importiert base/content.css und helpers/helpers.css
  • package.json Version 0.4.0
  • Alle Doc-Seiten auf v0.4.0

Release ansehen

v0.3.0
  • 28 Features
Bug melden
Änderungen anzeigen

Added

  • Responsive Utility-Varianten: Vollstaendige sm/md/lg/xl Varianten fuer Spacing, Text, Flex, Sizing, Display, Visibility (~300 neue Klassen)
  • Input Group Komponente: .velin-input-group mit Text/Icon Prepend/Append und Groessen-Varianten
  • Floating Labels: .velin-float-label mit animierter Transition fuer Inputs, Selects und Textareas
  • Collapse Komponente: Standalone Content-Toggle mit CSS-only smooth height Animation
  • Button Toolbar: .velin-btn-toolbar fuer gruppierte Button-Gruppen
  • Navbar Mega-Menu: .velin-nav__mega Multi-Column Dropdown in Navigation
  • Form Validation: .velin-form--validated mit :valid/:invalid Pseudo-Klassen und visuellem Feedback
  • color-mix() Utilities: Dynamische Farb-Abstufungen (5%-90%) fuer Primary, Secondary, Success, Danger, Warning, Info -- einzigartig gegenueber Bootstrap/Tailwind
  • Scroll-driven Animations: .velin-animate-on-scroll, .velin-scroll-progress, .velin-parallax ohne JS
  • View Transitions API: .velin-vt-* Utilities fuer view-transition-name, Morph-Uebergaenge, Cross-Fade und Slide Pseudo-Element-Styles
  • Subgrid Support: .velin-subgrid und .velin-subgrid-rows in Grid-System
  • Ring Utilities: .velin-ring-* mit Varianten fuer Farben (primary, secondary, success, danger) und Groessen (1-4px, inset)
  • Divide Utilities: .velin-divide-y, .velin-divide-x fuer Kind-Element-Trenner
  • Columns Utilities: .velin-columns-1/2/3/4 fuer Multi-Column-Layout
  • Order Utilities: .velin-order-first/last/none/1-12 fuer Flex/Grid-Reihenfolge
  • Object-position Utilities: .velin-object-center/top/bottom/left/right fuer Bilder
  • Flex-basis Utilities: .velin-basis-* mit Bruch-Varianten (1/2, 1/3, 2/3, 1/4, 3/4, 1/5)
  • Scroll-snap Utilities: .velin-snap-x/y, .velin-snap-start/center/end, Scroll-Padding fuer fixe Header
  • Text-wrap Utilities: .velin-text-balance, .velin-text-pretty, .velin-text-nowrap
  • Isolation/Blend Utilities: .velin-isolate, .velin-blend-multiply/screen/overlay/difference
  • Touch-action Utilities: .velin-touch-none/pan-x/pan-y/manipulation
  • Overscroll Utilities: .velin-overscroll-contain/none/auto
  • Will-change Utilities: .velin-will-change-transform/opacity/scroll
  • Hyphens Utilities: .velin-hyphens-auto/none
  • 3 neue Web Components: <velin-carousel> (Touch-Swipe, Auto-Play, Indikatoren, aria-roledescription), <velin-collapse> (grid-row Animation), <velin-scrollspy> (IntersectionObserver)
  • 8 neue Sample-Seiten: Login, Signup (Multi-Step), E-Commerce (Sharp), Settings, Pricing (Soft), Chat, Email (Sharp), Kanban
  • Docs-Homepage: Komplett neue Marketing-Landingpage mit Feature-Grid, Vergleichstabelle, Quick-Start, Component-Showcase
  • velinstyle.info: Separates Marketing-Repository mit Live-Playground, Theme-Showcase, interaktiven Code-Beispielen

Changed

  • Alle Doc-Seiten haben jetzt einheitliche Navigation mit 10 Links
  • Alle Versionsangaben auf v0.3.0 aktualisiert
  • components/index.js exportiert jetzt alle 14 Web Components
  • src/velinstyle.css importiert 6 neue Utility-Dateien und 2 neue Komponenten
  • package.json Version auf 0.3.0

Release ansehen

v0.2.0
  • 16 Features
Bug melden
Änderungen anzeigen

Added

  • 15 neue CSS-Komponenten: Breadcrumb, Pagination, Progress, Spinner, List Group, Avatar (mit Status/Gruppe), Switch/Toggle, Divider, Chip/Tag, Timeline, Stepper, Stat Card, Range Input, File Upload Dropzone, Close Button
  • 5 neue Web Components: <velin-drawer> (Offcanvas), <velin-theme-toggle> (Dark/Light mit localStorage), <velin-popover> (Rich-Content Tooltips), <velin-copy> (Click-to-Copy), <velin-scroll-top> (Scroll-to-Top)
  • CSS-Animationsbibliothek: 7 Entrance (fade-in, slide-up/down/left/right, scale-in, zoom-in), 5 Attention (bounce, pulse, shake, wiggle, ping), 2 Exit Animationen mit Duration/Delay/Infinite Modifiern, voll prefers-reduced-motion-konform
  • Gradient Utilities: 6 fertige Gradienten (primary, secondary, surface, hero, sunset, ocean), Gradient-Text, Richtungsmodifier
  • Transform Utilities: rotate, scale, translate-y mit negativen Varianten
  • Filter/Backdrop Utilities: blur, backdrop-blur, brightness, grayscale
  • Print Utilities: print-only, no-print, break-before/after/avoid, automatische Druckoptimierung
  • Layout Patterns: sidebar, holy-grail, sticky-footer, center, pancake, aside-main
  • Button Erweiterungen: Success-Variante, Loading-State mit Spinner
  • Docs-Infrastruktur: Shared docs.css mit Sidebar-Layout, Code-Block-Styling, API-Tabellen, Swatch-Komponenten, NEW-Badges
  • 5 neue Doc-Seiten: Getting Started, Layout, Utilities, Forms (alle Controls), Migration Guide (Bootstrap + Tailwind)
  • RTL-Demo: Vollstaendige arabische Sample-Seite mit gespiegelten Layouts
  • TypeScript-Definitionen: Vollstaendige .d.ts fuer alle 11 Web Components mit HTMLElementTagNameMap
  • GitHub Pages Deployment: Automatisches Deployment bei Push auf main
  • Custom 404-Seite: Styled VelinStyle 404 fuer GitHub Pages
  • Testing: axe-core A11y-Tests, Vitest Web Component Unit-Tests, CI-Integration

Changed

  • components/index.js exportiert jetzt alle 11 Web Components
  • src/velinstyle.css importiert alle neuen Komponenten, Utilities und Layout-Patterns
  • package.json Version auf 0.2.0, TypeScript-Definitionen als types Feld
  • CI-Workflow fuehrt jetzt auch Unit-Tests aus

Release ansehen

v0.1.0
  • 16 Features
Bug melden
Änderungen anzeigen

Added

  • Design Tokens: OKLCH color palette, spacing scale (4px base), typography scale (1.25x Major Third), border-radius, shadows, motion, z-index, and aspect-ratio tokens
  • Dark Mode: Automatic via prefers-color-scheme and explicit via data-velin-theme="dark" attribute
  • Modern CSS Reset: box-sizing: border-box, scroll behavior, motion reduction, min font-size for mobile inputs
  • Accessibility Layer: .velin-sr-only, .velin-skip-link, :focus-visible outlines, prefers-reduced-motion support, forced-colors (Windows High Contrast) support, skeleton loading with CLS protection
  • Layout System: Responsive container with Container Queries, CSS Grid with auto-fit/auto-fill, Flexbox utilities, stack and cluster patterns
  • BEM Components: Button (6 variants + 4 sizes), Card, Form inputs, Navigation, Alert, Badge, Table, Tooltip, Modal (CSS)
  • Utility Classes: Flex, spacing, text alignment, display, visibility, color utilities
  • Web Components: <velin-modal>, <velin-tabs>, <velin-accordion>, <velin-dropdown>, <velin-toast>, <velin-icon> with full keyboard and screen reader support
  • Focus Manager: Shared module with trapFocus(), rovingTabindex(), saveFocus(), restoreFocus()
  • Icon System: 51 essential SVG icons with sprite builder and <velin-icon> component
  • Theme Presets: Sharp (angular, editorial), Soft (rounded, warm), Brutalist (raw, bold)
  • Documentation: Token reference, component demos, accessibility guide, theme showcase, icon gallery
  • Sample Pages: Landing page (default), Dashboard (sharp), Blog (soft), Portfolio (brutalist)
  • Build Tooling: Lightning CSS for CSS bundling/minification, ESBuild for JS bundling
  • CI/CD: GitHub Actions workflow for build and a11y tests
  • Linting: Stylelint configuration enforcing velin- prefix convention

Release ansehen