@shival99/z-ui 2.4.6 → 2.4.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shival99/z-ui",
3
- "version": "2.4.6",
3
+ "version": "2.4.9",
4
4
  "description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 22, featuring 45+ customizable components with dark mode, accessibility, and enterprise-ready features.",
5
5
  "keywords": [
6
6
  "angular",
@@ -17,7 +17,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
17
17
 
18
18
  declare const zEditorVariants: (props?: ({
19
19
  zSize?: "sm" | "default" | "lg" | null | undefined;
20
- zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
20
+ zStatus?: "default" | "error" | "disabled" | "readonly" | null | undefined;
21
21
  zPlaceholderMode?: "firstLine" | "everyLine" | null | undefined;
22
22
  } & class_variance_authority_types.ClassProp) | undefined) => string;
23
23
 
@@ -7,10 +7,9 @@ import { OnDestroy } from '@angular/core';
7
7
  * instead of each item toggling its own background — matches the "motion highlight" pattern from
8
8
  * animate-ui.
9
9
  *
10
- * The box's width/height are written once per move (a single layout op, same as any re-render) and
11
- * never transitioned only `transform` (translate + a briefly non-1 scale) animates via the Web
12
- * Animations API, so the glide runs on the compositor and never re-triggers layout on the frames in
13
- * between, which is what a CSS `transition` on width/height would otherwise do on every tick.
10
+ * The box's geometry is updated once per move. Pixel-aligned boxes use a compositor animation;
11
+ * fractional geometry (common at browser zoom levels) uses layout-property animation instead, so
12
+ * Chromium never has to rasterize a transformed text layer at a fractional device-pixel offset.
14
13
  *
15
14
  * Usage: put `[zHoverGlide]` on the scrollable/list container and give each hoverable item a
16
15
  * `data-glide-item` attribute (or pass a custom `[zHoverGlideSelector]`). Works with virtualized
@@ -44,6 +43,7 @@ declare class ZHoverGlideDirective implements OnDestroy {
44
43
  private _isNestedHostTarget;
45
44
  private _ensureHighlightEl;
46
45
  private _moveTo;
46
+ private _canUseTransformAnimation;
47
47
  private _fadeOut;
48
48
  private _cancelAnimations;
49
49
  private _removeHighlightElements;