@epam/ai-dial-chat-shared 1.2.0-dev.276 → 1.2.0-dev.282

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.
@@ -126,11 +126,13 @@ var me = (e, t) => {
126
126
  }), [c.getSelectionLabel, q]), nt = i(() => ({
127
127
  cancelLabel: c.deleteCancelLabel,
128
128
  confirmLabel: c.deleteConfirmLabel,
129
+ closeLabel: c.deleteCloseLabel,
129
130
  titleRenderer: c.deleteConfirmTitle,
130
131
  contentRenderer: c.deleteConfirmBody
131
132
  }), [
132
133
  c.deleteCancelLabel,
133
134
  c.deleteConfirmLabel,
135
+ c.deleteCloseLabel,
134
136
  c.deleteConfirmTitle,
135
137
  c.deleteConfirmBody
136
138
  ]), rt = i(() => {
package/file-manager.d.ts CHANGED
@@ -116,14 +116,16 @@ declare interface DialFileManagerShellLabels {
116
116
  operationLoaderMoveTitle: string;
117
117
  /** Cancel-button label in the operation loader modal. */
118
118
  operationLoaderCancelLabel: string;
119
- /** Returns the delete confirmation dialog title for the given item names. */
120
- deleteConfirmTitle: (names: string[]) => ReactNode;
119
+ /** Returns the delete confirmation dialog title for the given item names and items; the items carry `nodeType`, so a folder and a file can be titled differently. */
120
+ deleteConfirmTitle: (names: string[], items: DialFile[]) => ReactNode;
121
121
  /** Returns the delete confirmation dialog body for the given item names. */
122
122
  deleteConfirmBody: (names: string[]) => ReactNode;
123
123
  /** Confirm-button label in the delete confirmation dialog. */
124
124
  deleteConfirmLabel: string;
125
125
  /** Cancel-button label in the delete confirmation dialog. */
126
126
  deleteCancelLabel: string;
127
+ /** Accessible name of the delete confirmation dialog's close control. Unset falls back to the file manager's English default. */
128
+ deleteCloseLabel?: string;
127
129
  /** Returns the upload queue heading for the number of files in it (e.g. "Uploading 5 files"). */
128
130
  getUploadQueueTitle: (count: number) => string;
129
131
  /** Translated strings for the upload `TransferQueue`; unset ones fall back to the kit's English defaults. */
package/index.d.ts CHANGED
@@ -966,14 +966,16 @@ export declare interface DialFileManagerShellLabels {
966
966
  operationLoaderMoveTitle: string;
967
967
  /** Cancel-button label in the operation loader modal. */
968
968
  operationLoaderCancelLabel: string;
969
- /** Returns the delete confirmation dialog title for the given item names. */
970
- deleteConfirmTitle: (names: string[]) => ReactNode;
969
+ /** Returns the delete confirmation dialog title for the given item names and items; the items carry `nodeType`, so a folder and a file can be titled differently. */
970
+ deleteConfirmTitle: (names: string[], items: DialFile[]) => ReactNode;
971
971
  /** Returns the delete confirmation dialog body for the given item names. */
972
972
  deleteConfirmBody: (names: string[]) => ReactNode;
973
973
  /** Confirm-button label in the delete confirmation dialog. */
974
974
  deleteConfirmLabel: string;
975
975
  /** Cancel-button label in the delete confirmation dialog. */
976
976
  deleteCancelLabel: string;
977
+ /** Accessible name of the delete confirmation dialog's close control. Unset falls back to the file manager's English default. */
978
+ deleteCloseLabel?: string;
977
979
  /** Returns the upload queue heading for the number of files in it (e.g. "Uploading 5 files"). */
978
980
  getUploadQueueTitle: (count: number) => string;
979
981
  /** Translated strings for the upload `TransferQueue`; unset ones fall back to the kit's English defaults. */
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.276",
4
+ "version": "1.2.0-dev.282",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "sideEffects": [
@@ -33,7 +33,7 @@
33
33
  "peerDependencies": {
34
34
  "react": "^19.2.8",
35
35
  "@epam/ai-dial-ui-kit": "^0.15.0-dev.36",
36
- "@epam/ai-dial-react-file-manager": "^0.3.0-dev.24",
36
+ "@epam/ai-dial-react-file-manager": "^0.3.0-dev.25",
37
37
  "ag-grid-community": "^35.3.0"
38
38
  },
39
39
  "peerDependenciesMeta": {