@shival99/z-ui 2.6.9 → 2.6.11
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/fesm2022/shival99-z-ui-components-z-code.mjs +11 -4
- package/fesm2022/shival99-z-ui-components-z-code.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-editor.mjs +50 -26
- package/fesm2022/shival99-z-ui-components-z-editor.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-gallery.mjs +2 -2
- package/fesm2022/shival99-z-ui-components-z-gallery.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-code.d.ts +2 -2
- package/types/shival99-z-ui-components-z-editor.d.ts +3 -4
- package/types/shival99-z-ui-components-z-gallery.d.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shival99/z-ui",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.11",
|
|
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",
|
|
@@ -20,8 +20,8 @@ declare class ZCodeComponent implements AfterViewInit {
|
|
|
20
20
|
/** 1-based line numbers to band. */
|
|
21
21
|
readonly zHighlightLines: _angular_core.InputSignal<readonly number[]>;
|
|
22
22
|
readonly zScrollable: _angular_core.InputSignal<boolean>;
|
|
23
|
-
/** Maximum body height in px; only applied when `zScrollable` is set. */
|
|
24
|
-
readonly zMaxHeight: _angular_core.InputSignal<number>;
|
|
23
|
+
/** Maximum body height in px or a CSS length; only applied when `zScrollable` is set. */
|
|
24
|
+
readonly zMaxHeight: _angular_core.InputSignal<string | number>;
|
|
25
25
|
protected readonly copied: _angular_core.WritableSignal<boolean>;
|
|
26
26
|
protected readonly highlightedCode: _angular_core.WritableSignal<SafeHtml>;
|
|
27
27
|
protected readonly isHighlighting: _angular_core.WritableSignal<boolean>;
|
|
@@ -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" | "
|
|
20
|
+
zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
|
|
21
21
|
zPlaceholderMode?: "firstLine" | "everyLine" | null | undefined;
|
|
22
22
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
23
23
|
|
|
@@ -295,10 +295,10 @@ declare class ZEditorComponent implements OnInit, ControlValueAccessor {
|
|
|
295
295
|
protected onLinkPopoverHide(): void;
|
|
296
296
|
protected onFloatingPopoverHide(): void;
|
|
297
297
|
protected setTextColor(color: string, closePopover?: () => void): void;
|
|
298
|
-
protected setTextColorFromEvent(event: Event
|
|
298
|
+
protected setTextColorFromEvent(event: Event): void;
|
|
299
299
|
protected unsetTextColor(closePopover?: () => void): void;
|
|
300
300
|
protected setBackgroundColor(color: string, closePopover?: () => void): void;
|
|
301
|
-
protected setBackgroundColorFromEvent(event: Event
|
|
301
|
+
protected setBackgroundColorFromEvent(event: Event): void;
|
|
302
302
|
protected unsetBackgroundColor(closePopover?: () => void): void;
|
|
303
303
|
private _closePopover;
|
|
304
304
|
private _handleSlashMenuKeyDown;
|
|
@@ -316,7 +316,6 @@ declare class ZEditorComponent implements OnInit, ControlValueAccessor {
|
|
|
316
316
|
protected closeLinkPopover(): void;
|
|
317
317
|
protected onLinkUrlChange(value: string | number | null): void;
|
|
318
318
|
protected applyLink(): void;
|
|
319
|
-
private _normalizeUrl;
|
|
320
319
|
protected removeLink(): void;
|
|
321
320
|
protected openActiveLink(): void;
|
|
322
321
|
private _handleEditorClick;
|
|
@@ -189,7 +189,7 @@ declare class ZGalleryComponent implements AfterViewInit {
|
|
|
189
189
|
protected readonly headerControlHeight: _angular_core.Signal<"1.75rem" | "2rem" | "2.5rem" | "2.25rem">;
|
|
190
190
|
protected readonly skeletonMediaHeight: _angular_core.Signal<"9rem" | "14rem" | "11rem">;
|
|
191
191
|
protected readonly toggleIconSize: _angular_core.Signal<"14" | "16" | "20" | "18">;
|
|
192
|
-
protected readonly searchInputSize: _angular_core.Signal<"
|
|
192
|
+
protected readonly searchInputSize: _angular_core.Signal<"default" | "sm" | "lg">;
|
|
193
193
|
protected readonly filteredFiles: _angular_core.Signal<ZGalleryFile[]>;
|
|
194
194
|
protected readonly selectedIds: _angular_core.Signal<Set<string>>;
|
|
195
195
|
protected readonly isAllSelected: _angular_core.Signal<boolean>;
|
|
@@ -415,16 +415,16 @@ declare const isPreviewable: (file: ZGalleryFile) => boolean;
|
|
|
415
415
|
declare const isImage: (file: ZGalleryFile) => boolean;
|
|
416
416
|
|
|
417
417
|
declare const zGalleryVariants: (props?: ({
|
|
418
|
-
zSize?: "
|
|
418
|
+
zSize?: "default" | "sm" | "lg" | null | undefined;
|
|
419
419
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
420
420
|
type ZGalleryVariants = VariantProps<typeof zGalleryVariants>;
|
|
421
421
|
declare const zGalleryItemVariants: (props?: ({
|
|
422
422
|
zMode?: "grid" | "list" | null | undefined;
|
|
423
|
-
zSize?: "
|
|
423
|
+
zSize?: "default" | "sm" | "lg" | null | undefined;
|
|
424
424
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
425
425
|
type ZGalleryItemVariants = VariantProps<typeof zGalleryItemVariants>;
|
|
426
426
|
declare const zGalleryFileIconVariants: (props?: ({
|
|
427
|
-
zSize?: "
|
|
427
|
+
zSize?: "default" | "sm" | "lg" | null | undefined;
|
|
428
428
|
zMode?: "grid" | "list" | null | undefined;
|
|
429
429
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
430
430
|
type ZGalleryFileIconVariants = VariantProps<typeof zGalleryFileIconVariants>;
|