@epam/ai-dial-chat-shared 1.2.0-dev.85 → 1.2.0-dev.89

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.
@@ -69,6 +69,9 @@ var l = (e, t) => {
69
69
  _
70
70
  ]), Je = a(() => ({
71
71
  header: u.treeHeaderByTab[d],
72
+ tabs: f,
73
+ activeTab: d,
74
+ onTabChange: p,
72
75
  expandedPaths: x,
73
76
  loadedPaths: S,
74
77
  loadingPaths: T,
@@ -76,16 +79,15 @@ var l = (e, t) => {
76
79
  actionLabels: G
77
80
  }), [
78
81
  u.treeHeaderByTab,
82
+ f,
79
83
  d,
84
+ p,
80
85
  x,
81
86
  S,
82
87
  T,
83
88
  C,
84
89
  G
85
90
  ]), Y = pe === t.Standalone && me === e.Full && d === ue.MyFiles && M, Ye = a(() => ({
86
- tabs: f,
87
- activeTab: d,
88
- onTabChange: p,
89
91
  showHiddenFilesToggle: !0,
90
92
  hiddenFilesSwitcherLabel: u.hiddenFilesLabel,
91
93
  showHiddenFilesLabel: u.showHiddenFilesLabel,
@@ -98,9 +100,6 @@ var l = (e, t) => {
98
100
  ...Y ? { uploadArchive: { label: u.uploadArchiveAction } } : {}
99
101
  }
100
102
  }), [
101
- f,
102
- d,
103
- p,
104
103
  u.hiddenFilesLabel,
105
104
  u.showHiddenFilesLabel,
106
105
  u.hideHiddenFilesLabel,
@@ -82,7 +82,7 @@ var d = a(({ isOpen: a, onClose: d, onAttach: f, onSkippedUnsupportedFiles: p, o
82
82
  })
83
83
  }),
84
84
  children: /* @__PURE__ */ c("div", {
85
- className: "flex min-h-0 flex-col",
85
+ className: "flex h-full min-h-0 flex-col",
86
86
  children: /* @__PURE__ */ c(t, {
87
87
  controller: h,
88
88
  labels: K,
package/file-manager.d.ts CHANGED
@@ -11,8 +11,8 @@ import { DialUploadFileItem } from '@epam/ai-dial-react-file-manager';
11
11
  import { FC } from 'react';
12
12
  import { FileManagerColumnKey } from '@epam/ai-dial-react-file-manager';
13
13
  import { FileManagerGridRow } from '@epam/ai-dial-react-file-manager';
14
+ import { FileTreeOptions } from '@epam/ai-dial-react-file-manager';
14
15
  import { ReactNode } from 'react';
15
- import { ToolbarOptions } from '@epam/ai-dial-react-file-manager';
16
16
 
17
17
  /** Result returned by the file-manager attach modal when the user confirms a selection. */
18
18
  declare interface AttachResult {
@@ -174,8 +174,8 @@ export declare interface DialFileManagerShellProps {
174
174
  labels: DialFileManagerShellLabels;
175
175
  /** Currently active tab. */
176
176
  activeTab: DialFileManagerTabs;
177
- /** Tab configuration for the toolbar. */
178
- tabs: ToolbarOptions['tabs'];
177
+ /** Filter chips scoping the tree and the grid, rendered above the folder tree. */
178
+ tabs: FileTreeOptions['tabs'];
179
179
  /** Called when the user switches tabs. */
180
180
  onTabChange: (tab: DialFileManagerTabs) => void;
181
181
  /** Set of currently selected file/folder virtual paths. */
@@ -263,8 +263,8 @@ export declare interface FileManagerAttachModalProps {
263
263
  isAnyOperationInProgress: boolean;
264
264
  /** Currently active tab. */
265
265
  activeTab: DialFileManagerTabs;
266
- /** Tab configuration for the toolbar. */
267
- tabs: ToolbarOptions['tabs'];
266
+ /** Filter chips scoping the tree and the grid, rendered above the folder tree. */
267
+ tabs: FileTreeOptions['tabs'];
268
268
  /**
269
269
  * Called when the user switches tabs.
270
270
  * The host is responsible for resetting `selectedPaths` to an empty set.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-chat-shared",
3
3
  "description": "Shared domain models, utilities, and UI components for AI DIAL Chat libraries",
4
- "version": "1.2.0-dev.85",
4
+ "version": "1.2.0-dev.89",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "sideEffects": [
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "^19.2.8",
35
- "@epam/ai-dial-ui-kit": "^0.15.0-dev.9",
36
- "@epam/ai-dial-react-file-manager": "^0.3.0-dev.2",
35
+ "@epam/ai-dial-ui-kit": "^0.15.0-dev.12",
36
+ "@epam/ai-dial-react-file-manager": "^0.3.0-dev.4",
37
37
  "ag-grid-community": "^35.3.0"
38
38
  },
39
39
  "peerDependenciesMeta": {