@shival99/z-ui 1.4.28 → 1.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shival99/z-ui",
3
- "version": "1.4.28",
3
+ "version": "1.5.0",
4
4
  "description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 20+, featuring 40+ customizable components with dark mode, accessibility, and enterprise-ready features.",
5
5
  "keywords": [
6
6
  "angular",
@@ -59,8 +59,10 @@ interface ZTableFilterConfig<T = unknown> {
59
59
  type ZTableEditSize = 'sm' | 'default' | 'lg';
60
60
  interface ZTableEditConfig<T = unknown> {
61
61
  enabled?: boolean;
62
- type?: ZTableEditType;
63
- options?: ZSelectOption[];
62
+ /** Edit type - can be static or dynamic per row */
63
+ type?: ZTableEditType | ((row: T) => ZTableEditType);
64
+ /** Select options - can be static or dynamic per row */
65
+ options?: ZSelectOption[] | ((row: T) => ZSelectOption[]);
64
66
  placeholder?: string;
65
67
  min?: number;
66
68
  max?: number;
@@ -607,7 +609,7 @@ declare class ZTableActionsComponent<T = unknown> {
607
609
  readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
608
610
  readonly zRow: _angular_core.InputSignal<T>;
609
611
  readonly zRowId: _angular_core.InputSignal<string>;
610
- readonly zDropdownButtonSize: _angular_core.InputSignal<"sm" | "default" | "lg" | "xs" | "xl" | null | undefined>;
612
+ readonly zDropdownButtonSize: _angular_core.InputSignal<"sm" | "default" | "xs" | "lg" | "xl" | null | undefined>;
611
613
  readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
612
614
  protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
613
615
  protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;