@snowpact/react-tanstack-query-table 1.2.0 → 1.3.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/dist/index.d.ts CHANGED
@@ -30,17 +30,6 @@ declare interface ActionCellProps<T, K> {
30
30
  */
31
31
  export declare type ActionConfirmContent = ReactNode | ((helpers: ConfirmCloseHelper) => ReactNode);
32
32
 
33
- /**
34
- * Action Hover Registry
35
- *
36
- * Allows consumers to provide custom tooltip behavior for action buttons.
37
- * The consumer handles all tooltip UI - SnowTable just notifies on hover/unhover.
38
- */
39
- export declare interface ActionHoverInfo {
40
- label: string;
41
- element: HTMLElement;
42
- }
43
-
44
33
  export declare type BaseAction = {
45
34
  icon: IconComponent;
46
35
  label: string;
@@ -253,6 +242,7 @@ declare interface LinkProps {
253
242
  target?: string;
254
243
  rel?: string;
255
244
  'aria-disabled'?: boolean;
245
+ onClick?: (e: MouseEvent_2<HTMLAnchorElement>) => void;
256
246
  onMouseEnter?: (e: MouseEvent_2<HTMLAnchorElement>) => void;
257
247
  onMouseLeave?: () => void;
258
248
  }
@@ -364,8 +354,6 @@ export declare interface SetupSnowTableOptions {
364
354
  LinkComponent: ComponentType<LinkProps>;
365
355
  useConfirm: () => UseConfirmReturn;
366
356
  styles?: DeepPartial<SnowTableStyles>;
367
- onActionHover?: (info: ActionHoverInfo) => void;
368
- onActionUnhover?: () => void;
369
357
  }
370
358
 
371
359
  export declare function SingleFilterDropdown<T extends object>({ filter, selectedValues, onFilterChange, }: SingleFilterDropdownProps<T>): JSX.Element | null;