@shival99/z-ui 1.3.25 → 1.3.27

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.3.25",
3
+ "version": "1.3.27",
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",
@@ -12,7 +12,7 @@ import { ZIcon, ZIconVariants } from '@shival99/z-ui/components/z-icon';
12
12
  import * as _shival99_z_ui_components_z_select from '@shival99/z-ui/components/z-select';
13
13
  import { ZSelectOption } from '@shival99/z-ui/components/z-select';
14
14
  import * as _shival99_z_ui_components_z_tooltip from '@shival99/z-ui/components/z-tooltip';
15
- import { ZTooltipConfig } from '@shival99/z-ui/components/z-tooltip';
15
+ import { ZTooltipConfig, ZTooltipContent } from '@shival99/z-ui/components/z-tooltip';
16
16
  import * as _shival99_z_ui_components_z_table from '@shival99/z-ui/components/z-table';
17
17
  import { ZDateRange } from '@shival99/z-ui/components/z-calendar';
18
18
  import { ZDropdownMenuItem } from '@shival99/z-ui/components/z-dropdown-menu';
@@ -195,7 +195,7 @@ interface ZTableActionItem<T = unknown> {
195
195
  label?: string;
196
196
  icon?: ZIcon;
197
197
  iconSize?: ZIconVariants['zSize'];
198
- tooltip?: string;
198
+ tooltip?: string | ZTooltipConfig;
199
199
  type?: ZButtonVariants['zType'];
200
200
  size?: ZButtonVariants['zSize'];
201
201
  class?: string;
@@ -554,6 +554,14 @@ declare class ZTableIconTextComponent {
554
554
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZTableIconTextComponent, "z-table-icon-text", never, { "zText": { "alias": "zText"; "required": false; "isSignal": true; }; "zTooltip": { "alias": "zTooltip"; "required": false; "isSignal": true; }; "zTriggerElement": { "alias": "zTriggerElement"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
555
555
  }
556
556
 
557
+ interface ActionTooltipState {
558
+ content: ZTooltipContent;
559
+ alwaysShow: boolean;
560
+ position?: string;
561
+ arrow?: boolean;
562
+ offset?: number;
563
+ maxWidth?: string;
564
+ }
557
565
  declare class ZTableActionsComponent<T = unknown> {
558
566
  readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
559
567
  readonly zRow: _angular_core.InputSignal<T>;
@@ -565,9 +573,10 @@ declare class ZTableActionsComponent<T = unknown> {
565
573
  protected readonly actionStates: _angular_core.Signal<Record<string, {
566
574
  visible: boolean;
567
575
  disabled: boolean;
568
- tooltip: string;
576
+ tooltipState: ActionTooltipState;
569
577
  }>>;
570
578
  protected readonly dropdownItems: _angular_core.Signal<ZDropdownMenuItem[]>;
579
+ private _getTooltipState;
571
580
  protected _onActionClick(action: ZTableActionItem<T>, event: Event): void;
572
581
  protected _onDropdownItemClick(item: ZDropdownMenuItem): void;
573
582
  private _emitActionClick;