@hybr1d-tech/charizard 0.4.60 → 0.4.62

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.
Files changed (59) hide show
  1. package/dist/components/button/Button.d.ts +5 -3
  2. package/dist/components/button/actions-dropdown.stories.d.ts +2 -1
  3. package/dist/components/button/button.stories.d.ts +2 -1
  4. package/dist/components/button/menu-button.stories.d.ts +2 -1
  5. package/dist/components/drawer/Drawer.d.ts +1 -1
  6. package/dist/components/empty-state/empty-state.stories.d.ts +2 -1
  7. package/dist/components/index.d.ts +1 -1
  8. package/dist/components/input/Input.d.ts +2 -2
  9. package/dist/components/input/InputAddon.d.ts +1 -1
  10. package/dist/components/input/InputContainer.d.ts +1 -1
  11. package/dist/components/input/InputElement.d.ts +1 -1
  12. package/dist/components/input/InputGroup.d.ts +1 -1
  13. package/dist/components/input/InputLabel.d.ts +1 -1
  14. package/dist/components/input/input.stories.d.ts +2 -1
  15. package/dist/components/loader/loader.stories.d.ts +2 -1
  16. package/dist/components/modal/ModalFooter.d.ts +1 -1
  17. package/dist/components/popover/Popover.d.ts +1 -1
  18. package/dist/components/select/CreatableSelect.d.ts +2 -2
  19. package/dist/components/select/Select.d.ts +2 -2
  20. package/dist/components/select/SelectAsync.d.ts +2 -2
  21. package/dist/components/select/config.d.ts +1 -0
  22. package/dist/components/select/types.d.ts +2 -2
  23. package/dist/components/table/Table.d.ts +1 -1
  24. package/dist/components/table/store.d.ts +2 -1
  25. package/dist/components/table/table-actions/TableActions.d.ts +1 -0
  26. package/dist/components/table/table-columns/TableCheckbox.d.ts +1 -1
  27. package/dist/components/table/table-columns/TableRadio.d.ts +1 -1
  28. package/dist/components/table/table-empty/TableEmpty.d.ts +1 -0
  29. package/dist/components/table/table-filters/FilterCheckbox.d.ts +1 -0
  30. package/dist/components/table/table-filters/FilterTooltip.d.ts +1 -0
  31. package/dist/components/table/table-filters/TableFilter.d.ts +2 -1
  32. package/dist/components/table/table-filters/TableFilters.d.ts +2 -1
  33. package/dist/components/table/table-selected-actions/TableSelectedActions.d.ts +1 -0
  34. package/dist/components/table-v2/TableV2.d.ts +1 -3
  35. package/dist/components/table-v2/inventory/inventory.store.d.ts +1 -1
  36. package/dist/components/table-v2/store.d.ts +2 -1
  37. package/dist/components/table-v2/table-actions/TableActions.d.ts +3 -2
  38. package/dist/components/table-v2/table-columns/TableCheckbox.d.ts +1 -1
  39. package/dist/components/table-v2/table-columns/TableRadio.d.ts +1 -1
  40. package/dist/components/table-v2/table-custom-cols/CustomColCheckbox.d.ts +1 -0
  41. package/dist/components/table-v2/table-custom-cols/TableCustomCols.d.ts +2 -2
  42. package/dist/components/table-v2/table-custom-cols/sortable/SortableItem.d.ts +3 -2
  43. package/dist/components/table-v2/table-custom-cols/sortable/SortableList.d.ts +4 -4
  44. package/dist/components/table-v2/table-custom-cols/sortable/SortableOverlay.d.ts +2 -1
  45. package/dist/components/table-v2/table-custom-cols/utils.d.ts +1 -0
  46. package/dist/components/table-v2/table-empty/TableEmpty.d.ts +1 -0
  47. package/dist/components/table-v2/table-filters-drawer/TableFiltersDrawer.d.ts +1 -0
  48. package/dist/components/table-v2/table-filters-drawer/utils.d.ts +1 -0
  49. package/dist/components/table-v2/table-header-filters/FilterCheckbox.d.ts +1 -0
  50. package/dist/components/table-v2/table-header-filters/FilterTooltip.d.ts +1 -0
  51. package/dist/components/table-v2/table-header-filters/TableHeaderFilter.d.ts +2 -1
  52. package/dist/components/table-v2/table-header-filters/TableHeaderFilters.d.ts +2 -1
  53. package/dist/components/table-v2/table-meta-header/TableMetaHeader.d.ts +2 -2
  54. package/dist/components/table-v2/table-pagination/TablePagination.d.ts +1 -0
  55. package/dist/components/table-v2/table-selected-actions/TableSelectedActions.d.ts +1 -0
  56. package/dist/components/tooltip/Tooltip.d.ts +3 -3
  57. package/dist/hybr1d-ui.js +1640 -1621
  58. package/dist/hybr1d-ui.umd.cjs +10 -10
  59. package/package.json +14 -14
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { PositioningOptions } from '@zag-js/popper';
2
+ import * as React from 'react';
3
3
  export declare enum BUTTON_VARIANT {
4
4
  PRIMARY = "primary",
5
5
  SECONDARY = "secondary",
@@ -19,7 +19,7 @@ export type ButtonProps = {
19
19
  };
20
20
  export declare function Button({ children, variant, disabled, onClick, type, size, customStyles, }: ButtonProps): import("react/jsx-runtime").JSX.Element;
21
21
  export declare namespace Button {
22
- var MenuButton: ({ children, variant, disabled, menuItems, onClick, isCustomTrigger, isSingleBtnTrigger, customData, size, actionsDropdownOptions, positionerProps, }: MenuButtonProps) => import("react/jsx-runtime").JSX.Element;
22
+ var MenuButton: ({ children, variant, disabled, menuItems, onClick, isCustomTrigger, isSingleBtnTrigger, customData, size, actionsDropdownOptions, positionerProps, isTable, }: MenuButtonProps) => import("react/jsx-runtime").JSX.Element;
23
23
  var ActionsDropdown: typeof MenuActionsDropdown;
24
24
  }
25
25
  export type MenuItem = {
@@ -43,11 +43,13 @@ export interface MenuButtonProps {
43
43
  setIsActive: React.Dispatch<React.SetStateAction<boolean>>;
44
44
  };
45
45
  positionerProps?: PositioningOptions;
46
+ isTable?: boolean;
46
47
  }
47
48
  export type MenuActionsDropdownProps = {
48
49
  menuItems: MenuItem[];
49
50
  data?: any;
50
51
  variant?: 'regular' | 'small';
52
+ isTable?: boolean;
51
53
  };
52
- declare function MenuActionsDropdown({ menuItems, data, variant }: MenuActionsDropdownProps): import("react/jsx-runtime").JSX.Element;
54
+ declare function MenuActionsDropdown({ menuItems, data, variant, isTable, }: MenuActionsDropdownProps): import("react/jsx-runtime").JSX.Element;
53
55
  export {};
@@ -1,5 +1,6 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
1
  import { Button } from './Button';
2
+ import { Meta, StoryObj } from '@storybook/react';
3
+
3
4
  declare const meta: Meta<typeof Button.ActionsDropdown>;
4
5
  export default meta;
5
6
  type Story = StoryObj<typeof Button.ActionsDropdown>;
@@ -1,5 +1,6 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
1
  import { Button } from './Button';
2
+ import { Meta, StoryObj } from '@storybook/react';
3
+
3
4
  declare const meta: Meta<typeof Button>;
4
5
  export default meta;
5
6
  type Story = StoryObj<typeof Button>;
@@ -1,5 +1,6 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
1
  import { Button } from './Button';
2
+ import { Meta, StoryObj } from '@storybook/react';
3
+
3
4
  declare const meta: Meta<typeof Button.MenuButton>;
4
5
  export default meta;
5
6
  type Story = StoryObj<typeof Button.MenuButton>;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { FooterButtons } from '../modal/ModalFooter';
2
+ import * as React from 'react';
3
3
  interface DrawerProps {
4
4
  /**
5
5
  * Drawer footer className
@@ -1,5 +1,6 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
1
  import { EmptyState } from './EmptyState';
2
+ import { Meta, StoryObj } from '@storybook/react';
3
+
3
4
  declare const meta: Meta<typeof EmptyState>;
4
5
  export default meta;
5
6
  type Story = StoryObj<typeof EmptyState>;
@@ -1,4 +1,4 @@
1
- import './styles/global.css';
1
+
2
2
  export * from './button';
3
3
  export * from './empty-state';
4
4
  export * from './table';
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { HTMLInputTypeAttribute } from 'react';
3
1
  import { Inputs } from './types';
2
+ import { HTMLInputTypeAttribute } from 'react';
3
+ import * as React from 'react';
4
4
  interface InputProps {
5
5
  /**
6
6
  * Custom classes to be applied to the input
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Inputs } from './types';
2
+ import * as React from 'react';
3
3
  interface InputDirectionAddonProps {
4
4
  /**
5
5
  * Children of the input addon
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { Inputs } from './types';
2
+
3
3
  interface InputContainerProps {
4
4
  /**
5
5
  * Children of the input container
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { Inputs } from './types';
2
+
3
3
  interface InputDirectionElementProps {
4
4
  /**
5
5
  * Children of the input element
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Inputs } from './types';
2
+ import * as React from 'react';
3
3
  interface InputGroupProps {
4
4
  /**
5
5
  * Children of the input group
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import { Inputs } from './types';
2
+ import * as React from 'react';
3
3
  interface InputLabelProps {
4
4
  /**
5
5
  * Children of the input label
@@ -1,5 +1,6 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
1
  import { Input } from './Input';
2
+ import { Meta, StoryObj } from '@storybook/react';
3
+
3
4
  declare const meta: Meta<typeof Input>;
4
5
  export default meta;
5
6
  type Story = StoryObj<typeof Input>;
@@ -1,5 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
1
2
  import { Loader } from './Loader';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
+
3
4
  declare const meta: Meta<typeof Loader>;
4
5
  export default meta;
5
6
  type Story = StoryObj<typeof Loader>;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { BUTTON_VARIANT } from '../button';
2
+
3
3
  export type FooterButtons = Array<{
4
4
  variant: BUTTON_VARIANT;
5
5
  onClick: () => void;
@@ -1,5 +1,5 @@
1
+ import { Placement } from '@zag-js/popper';
1
2
  import * as React from 'react';
2
- import type { Placement } from '@zag-js/popper';
3
3
  type PopoverProps = {
4
4
  /**
5
5
  * Content of the trigger
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import type { MenuPlacement, StylesConfig } from 'react-select';
3
1
  import { SelectActionMeta } from './types';
2
+ import { MenuPlacement, StylesConfig } from 'react-select';
3
+ import * as React from 'react';
4
4
  interface CreatableSelectProps {
5
5
  /**
6
6
  * The options to be displayed in the select
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import type { MenuPlacement, StylesConfig } from 'react-select';
3
1
  import { SelectActionMeta } from './types';
2
+ import { MenuPlacement, StylesConfig } from 'react-select';
3
+ import * as React from 'react';
4
4
  interface SelectProps {
5
5
  /**
6
6
  * The options to be displayed in the select
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import type { MenuPlacement, StylesConfig } from 'react-select';
3
1
  import { SelectActionMeta } from './types';
2
+ import { MenuPlacement, StylesConfig } from 'react-select';
3
+ import * as React from 'react';
4
4
  interface SelectAsyncProps {
5
5
  /**
6
6
  * The options to be displayed in the select
@@ -1,3 +1,4 @@
1
1
  import { StylesConfig } from 'react-select';
2
+
2
3
  export declare const colourStyles: StylesConfig<any>;
3
4
  export declare const getControlStyles: (errorMsg: string | false | string[] | undefined) => StylesConfig<any>;
@@ -1,5 +1,5 @@
1
- import { MultiValue } from 'react-select';
2
- import type { SingleValue, ActionMeta } from 'react-select';
1
+ import { MultiValue, SingleValue, ActionMeta } from 'react-select';
2
+
3
3
  export type SelectMultiValue = MultiValue<{
4
4
  label: string;
5
5
  value: string;
@@ -1,5 +1,5 @@
1
+ import { FilterConfig } from './types';
1
2
  import * as React from 'react';
2
- import type { FilterConfig } from './types';
3
3
  export interface TableProps {
4
4
  data: any;
5
5
  columns: any;
@@ -1,4 +1,5 @@
1
1
  import { InternalTableFilters } from './types';
2
+
2
3
  export interface TableStore {
3
4
  filters: InternalTableFilters[];
4
5
  setDefaultFilters: (filters: InternalTableFilters[]) => void;
@@ -7,7 +8,7 @@ export interface TableStore {
7
8
  resetFilters: (filterKey: string, filterDispatch: any) => void;
8
9
  resetAllFilters: (filterReset?: any) => void;
9
10
  }
10
- export declare const useTableStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<TableStore>, "setState"> & {
11
+ export declare const useTableStore: import('zustand').UseBoundStore<Omit<import("zustand").StoreApi<TableStore>, "setState"> & {
11
12
  setState<A extends string | {
12
13
  type: string;
13
14
  }>(partial: TableStore | Partial<TableStore> | ((state: TableStore) => TableStore | Partial<TableStore>), replace?: boolean | undefined, action?: A | undefined): void;
@@ -1,4 +1,5 @@
1
1
  import { TableProps } from '../Table';
2
+
2
3
  type TableActionsProps = {
3
4
  actionsConfig: TableProps['actionsConfig'];
4
5
  data: any;
@@ -1,8 +1,8 @@
1
+ import { Row } from '@tanstack/react-table';
1
2
  /**
2
3
  * @author Soham Sarkar <soham@hybr1d.io>
3
4
  */
4
5
  import * as React from 'react';
5
- import type { Row } from '@tanstack/react-table';
6
6
  export declare function TableCheckbox({ indeterminate, row, isHeader, ...rest }: {
7
7
  indeterminate: boolean;
8
8
  row: Row<unknown>;
@@ -1,5 +1,5 @@
1
+ import { Row } from '@tanstack/react-table';
1
2
  import * as React from 'react';
2
- import type { Row } from '@tanstack/react-table';
3
3
  export declare function TableRadio({ indeterminate, row, ...rest }: {
4
4
  indeterminate: boolean;
5
5
  row: Row<unknown>;
@@ -1,4 +1,5 @@
1
1
  import { TableProps } from '../Table';
2
+
2
3
  export default function TableEmpty({ emptyStateConfig, search, }: {
3
4
  emptyStateConfig: TableProps['emptyStateConfig'];
4
5
  search?: string;
@@ -1,4 +1,5 @@
1
1
  import { TableStore } from '../store';
2
+
2
3
  export default function FilterCheckbox({ label, value, addFilters, removeFilters, checked, filterKey, filterDispatch, countryCode, customName, }: {
3
4
  label: string;
4
5
  value: string;
@@ -1,4 +1,5 @@
1
1
  import { FilterOptions, InternalTableFilters } from '../types';
2
+
2
3
  type FilterTooltipProps = {
3
4
  filter: FilterOptions;
4
5
  tableFilter: InternalTableFilters;
@@ -1,5 +1,6 @@
1
+ import { FilterOptions, InternalTableFilters } from '../types';
1
2
  import { TableStore } from '../store';
2
- import type { FilterOptions, InternalTableFilters } from '../types';
3
+
3
4
  interface TableFilterProps {
4
5
  filter: FilterOptions;
5
6
  tableFilters: TableStore['filters'];
@@ -1,4 +1,5 @@
1
- import type { FilterConfig } from '../types';
1
+ import { FilterConfig } from '../types';
2
+
2
3
  type TableFiltersProps = {
3
4
  filterConfig: FilterConfig;
4
5
  };
@@ -1,4 +1,5 @@
1
1
  import { TableProps } from '../Table';
2
+
2
3
  interface TableSelectedActionsProps {
3
4
  rowSelectionConfig: TableProps['rowSelectionConfig'];
4
5
  rowSelection: {};
@@ -1,5 +1,5 @@
1
+ import { FilterConfig } from './types';
1
2
  import * as React from 'react';
2
- import type { FilterConfig } from './types';
3
3
  export interface TableV2Props {
4
4
  data: any;
5
5
  columns: any;
@@ -15,8 +15,6 @@ export interface TableV2Props {
15
15
  filterFn?: any;
16
16
  disabled?: boolean | ((data: any) => boolean);
17
17
  }[];
18
- key?: string;
19
- customComp?: (data: any) => React.ReactNode | JSX.Element;
20
18
  };
21
19
  loaderConfig: {
22
20
  text?: string;
@@ -36,5 +36,5 @@ export declare const invQueryReducer: (query: any, { payload, type }: {
36
36
  payload: any;
37
37
  type: any;
38
38
  }) => any;
39
- export declare const useInventoryStore: import("zustand").UseBoundStore<import("zustand").StoreApi<InventoryStore>>;
39
+ export declare const useInventoryStore: import('zustand').UseBoundStore<import("zustand").StoreApi<InventoryStore>>;
40
40
  export {};
@@ -1,4 +1,5 @@
1
1
  import { InternalTableFilters } from './types';
2
+
2
3
  export interface TableStore {
3
4
  filters: InternalTableFilters[];
4
5
  setDefaultFilters: (filters: InternalTableFilters[]) => void;
@@ -8,7 +9,7 @@ export interface TableStore {
8
9
  resetFilters: (filterKey: string, filterDispatch: any) => void;
9
10
  resetAllFilters: (filterReset?: any) => void;
10
11
  }
11
- export declare const useTableStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<TableStore>, "setState"> & {
12
+ export declare const useTableStore: import('zustand').UseBoundStore<Omit<import("zustand").StoreApi<TableStore>, "setState"> & {
12
13
  setState<A extends string | {
13
14
  type: string;
14
15
  }>(partial: TableStore | Partial<TableStore> | ((state: TableStore) => TableStore | Partial<TableStore>), replace?: boolean | undefined, action?: A | undefined): void;
@@ -1,7 +1,8 @@
1
1
  import { TableV2Props } from '../TableV2';
2
- type TableActionsProps = {
2
+
3
+ interface TableActionsProps {
3
4
  actionsConfig: TableV2Props['actionsConfig'];
4
5
  data: any;
5
- };
6
+ }
6
7
  export default function TableActions({ actionsConfig, data }: TableActionsProps): import("react/jsx-runtime").JSX.Element | null;
7
8
  export {};
@@ -1,8 +1,8 @@
1
+ import { Row } from '@tanstack/react-table';
1
2
  /**
2
3
  * @author Soham Sarkar <soham@hybr1d.io>
3
4
  */
4
5
  import * as React from 'react';
5
- import type { Row } from '@tanstack/react-table';
6
6
  export declare function TableCheckbox({ indeterminate, row, isHeader, ...rest }: {
7
7
  indeterminate: boolean;
8
8
  row: Row<unknown>;
@@ -1,5 +1,5 @@
1
+ import { Row } from '@tanstack/react-table';
1
2
  import * as React from 'react';
2
- import type { Row } from '@tanstack/react-table';
3
3
  export declare function TableRadio({ indeterminate, row, ...rest }: {
4
4
  indeterminate: boolean;
5
5
  row: Row<unknown>;
@@ -1,4 +1,5 @@
1
1
  import { OptionsProp } from './TableCustomCols';
2
+
2
3
  type CustomColCheckboxProps = Pick<OptionsProp, 'setCheckedState'> & {
3
4
  id: string;
4
5
  label: string;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { Table } from '@tanstack/react-table';
3
1
  import { TableV2Props } from '../TableV2';
2
+ import { Table } from '@tanstack/react-table';
3
+ import * as React from 'react';
4
4
  interface TableCustomColsProps {
5
5
  customColumnConfig: TableV2Props['customColumnConfig'];
6
6
  table: Table<any>;
@@ -1,5 +1,6 @@
1
- import type { UniqueIdentifier } from '@dnd-kit/core';
2
- import type { PropsWithChildren } from 'react';
1
+ import { PropsWithChildren } from 'react';
2
+ import { UniqueIdentifier } from '@dnd-kit/core';
3
+
3
4
  interface Props {
4
5
  id: UniqueIdentifier;
5
6
  }
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
2
- import { SortableItem } from './SortableItem';
3
- import type { UniqueIdentifier } from '@dnd-kit/core';
4
1
  import { CheckedState } from '../TableCustomCols';
2
+ import { UniqueIdentifier } from '@dnd-kit/core';
3
+ import { SortableItem } from './SortableItem';
4
+ import * as React from 'react';
5
5
  interface BaseItem {
6
6
  id: UniqueIdentifier;
7
7
  }
@@ -13,6 +13,6 @@ interface Props<T extends BaseItem> {
13
13
  export declare function SortableList<T extends BaseItem>({ items: _items, onChange, renderItem }: Props<T>): import("react/jsx-runtime").JSX.Element;
14
14
  export declare namespace SortableList {
15
15
  var Item: typeof SortableItem;
16
- var DragHandle: typeof import("./SortableItem").DragHandle;
16
+ var DragHandle: typeof import('./SortableItem').DragHandle;
17
17
  }
18
18
  export {};
@@ -1,4 +1,5 @@
1
- import type { PropsWithChildren } from 'react';
1
+ import { PropsWithChildren } from 'react';
2
+
2
3
  interface Props {
3
4
  }
4
5
  export declare function SortableOverlay({ children }: PropsWithChildren<Props>): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { FilterOptions, InternalTableFilters } from '../types';
2
+
2
3
  type FilterItem = {
3
4
  label?: string;
4
5
  value?: string;
@@ -1,4 +1,5 @@
1
1
  import { TableV2Props } from '../TableV2';
2
+
2
3
  export default function TableEmpty({ emptyStateConfig, search, }: {
3
4
  emptyStateConfig: TableV2Props['emptyStateConfig'];
4
5
  search?: string;
@@ -1,4 +1,5 @@
1
1
  import { FilterConfig } from '../types';
2
+
2
3
  interface TableFiltersDrawerProps {
3
4
  filterConfig: FilterConfig;
4
5
  }
@@ -1,4 +1,5 @@
1
1
  import { FilterOptions, InternalTableFilters } from '../types';
2
+
2
3
  type FilterItem = {
3
4
  label?: string;
4
5
  value?: string;
@@ -1,4 +1,5 @@
1
1
  import { TableStore } from '../store';
2
+
2
3
  export default function FilterCheckbox({ label, value, addFilters, removeFilters, checked, filterKey, filterDispatch, countryCode, customName, }: {
3
4
  label: string;
4
5
  value: string;
@@ -1,4 +1,5 @@
1
1
  import { FilterOptions, InternalTableFilters } from '../types';
2
+
2
3
  type FilterTooltipProps = {
3
4
  filter: FilterOptions;
4
5
  tableFilter: InternalTableFilters;
@@ -1,5 +1,6 @@
1
+ import { FilterOptions, InternalTableFilters } from '../types';
1
2
  import { TableStore } from '../store';
2
- import type { FilterOptions, InternalTableFilters } from '../types';
3
+
3
4
  interface TableHeaderFilterProps {
4
5
  filter: FilterOptions;
5
6
  tableFilters: TableStore['filters'];
@@ -1,4 +1,5 @@
1
- import type { FilterConfig, FilterOptions } from '../types';
1
+ import { FilterConfig, FilterOptions } from '../types';
2
+
2
3
  interface TableHeaderFiltersProps {
3
4
  filterConfig: FilterConfig;
4
5
  filters: FilterOptions[];
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { TableV2Props } from '../TableV2';
3
1
  import { Table } from '@tanstack/react-table';
2
+ import { TableV2Props } from '../TableV2';
3
+ import * as React from 'react';
4
4
  interface TableMetaHeaderProps {
5
5
  rowSelectionConfig: TableV2Props['rowSelectionConfig'];
6
6
  totalText: TableV2Props['totalText'];
@@ -1,4 +1,5 @@
1
1
  import { TableV2Props } from '../TableV2';
2
+
2
3
  interface TablePaginationProps {
3
4
  paginationConfig: TableV2Props['paginationConfig'];
4
5
  }
@@ -1,4 +1,5 @@
1
1
  import { TableV2Props } from '../TableV2';
2
+
2
3
  interface TableSelectedActionsProps {
3
4
  rowSelectionConfig: TableV2Props['rowSelectionConfig'];
4
5
  rowSelection: {};
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
2
- import { TooltipTrigger } from './TooltipTrigger';
1
+ import { Placement } from '@zag-js/popper';
3
2
  import { TooltipContent } from './TooltipContent';
4
- import type { Placement } from '@zag-js/popper';
3
+ import { TooltipTrigger } from './TooltipTrigger';
4
+ import * as React from 'react';
5
5
  interface TooltipProps {
6
6
  /**
7
7
  * tooltip children