@epam/ai-dial-react-file-manager 0.3.0-dev.2 → 0.3.0-dev.3

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.
@@ -1,7 +1,7 @@
1
- import { TabModel } from '@epam/ai-dial-ui-kit';
1
+ import { FilterChipItem } from '@epam/ai-dial-ui-kit';
2
2
  import { DialFileManagerTabs } from '../../../types/file-manager';
3
3
  export declare const useDialFileManagerTabs: (tabLabels?: Record<DialFileManagerTabs, string>, initialTab?: DialFileManagerTabs) => {
4
4
  activeTab: DialFileManagerTabs;
5
5
  handleTabChange: (tab: DialFileManagerTabs) => void;
6
- tabs: TabModel[] | undefined;
6
+ tabs: FilterChipItem<DialFileManagerTabs>[] | undefined;
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-react-file-manager",
3
- "version": "0.3.0-dev.2",
3
+ "version": "0.3.0-dev.3",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "React file manager package for AI DIAL interfaces",
@@ -82,7 +82,7 @@
82
82
  "mime-types": "^3.0.2"
83
83
  },
84
84
  "peerDependencies": {
85
- "@epam/ai-dial-ui-kit": "^0.15.0-dev.0",
85
+ "@epam/ai-dial-ui-kit": "^0.15.0-dev.9",
86
86
  "ag-grid-community": "^35.2.1",
87
87
  "ag-grid-react": "^35.2.1",
88
88
  "react": "^19.2.5",
@@ -90,7 +90,7 @@
90
90
  },
91
91
  "devDependencies": {
92
92
  "@chromatic-com/storybook": "^5.1.2",
93
- "@epam/ai-dial-ui-kit": "^0.15.0-dev.3",
93
+ "@epam/ai-dial-ui-kit": "^0.15.0-dev.9",
94
94
  "@eslint/js": "^9.39.2",
95
95
  "@floating-ui/react": "^0.27.19",
96
96
  "@storybook/addon-a11y": "^10.3.6",
@@ -1,22 +0,0 @@
1
- import { ReactNode } from 'react';
2
- interface useTreeAdditionalButtonsOptions {
3
- additionalButtons?: ReactNode;
4
- expandedPathsLength: number;
5
- collapseAll: () => void;
6
- }
7
- /**
8
- * Provides additional action buttons for the tree component, including a
9
- * built-in "Collapse All" button. The hook memoizes the returned JSX to avoid
10
- * unnecessary re-renders and applies disabled state automatically based on
11
- * the number of expanded paths.
12
- *
13
- * @param {ReactNode} [additionalButtons] - Optional custom buttons rendered before the Collapse All button.
14
- * @param {number} expandedPathsLength - Number of currently expanded paths in the tree.
15
- * @param {() => void} collapseAll - Callback fired when the Collapse All button is clicked.
16
- *
17
- * @returns {{ additionalButtons: ReactNode }} - The rendered buttons fragment.
18
- */
19
- export declare const useTreeAdditionalButtons: ({ additionalButtons, expandedPathsLength, collapseAll, }: useTreeAdditionalButtonsOptions) => {
20
- additionalButtons: import("react/jsx-runtime").JSX.Element;
21
- };
22
- export {};