@epam/ai-dial-skill-editor 1.3.0-dev.35 → 1.3.0-dev.353

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 (36) hide show
  1. package/components/SkillCreateFolderDialog/SkillCreateFolderDialog.d.ts +5 -0
  2. package/components/SkillCreateFolderDialog/SkillCreateFolderDialog.d.ts.map +1 -0
  3. package/components/SkillEditor/SkillEditor.d.ts.map +1 -1
  4. package/components/SkillEditorDialog/SkillEditorDialog.d.ts +5 -0
  5. package/components/SkillEditorDialog/SkillEditorDialog.d.ts.map +1 -0
  6. package/components/SkillFileDropOverlay/SkillFileDropOverlay.d.ts +4 -0
  7. package/components/SkillFileDropOverlay/SkillFileDropOverlay.d.ts.map +1 -1
  8. package/components/SkillFileUploadDialog/SkillFileUploadDialog.d.ts +21 -1
  9. package/components/SkillFileUploadDialog/SkillFileUploadDialog.d.ts.map +1 -1
  10. package/components/SkillFilesSummary/SkillFilesSummary.d.ts +5 -0
  11. package/components/SkillFilesSummary/SkillFilesSummary.d.ts.map +1 -0
  12. package/components/SkillFolderPreview/SkillFolderPreview.d.ts +5 -0
  13. package/components/SkillFolderPreview/SkillFolderPreview.d.ts.map +1 -0
  14. package/hooks/useDraftFolder.d.ts +4 -0
  15. package/hooks/useDraftFolder.d.ts.map +1 -1
  16. package/index.css +3 -2
  17. package/index.js +1151 -777
  18. package/models/skill-create-folder-dialog-props.d.ts +27 -0
  19. package/models/skill-create-folder-dialog-props.d.ts.map +1 -0
  20. package/models/skill-editor-dialog-props.d.ts +36 -0
  21. package/models/skill-editor-dialog-props.d.ts.map +1 -0
  22. package/models/skill-editor-props.d.ts +83 -11
  23. package/models/skill-editor-props.d.ts.map +1 -1
  24. package/models/skill-files-summary-props.d.ts +19 -0
  25. package/models/skill-files-summary-props.d.ts.map +1 -0
  26. package/models/skill-folder-preview-props.d.ts +28 -0
  27. package/models/skill-folder-preview-props.d.ts.map +1 -0
  28. package/package.json +7 -7
  29. package/types/skill-add-source.d.ts +1 -3
  30. package/types/skill-add-source.d.ts.map +1 -1
  31. package/types/skill-file-conflict-resolution.d.ts +8 -0
  32. package/types/skill-file-conflict-resolution.d.ts.map +1 -0
  33. package/utils/file-tree.d.ts +22 -4
  34. package/utils/file-tree.d.ts.map +1 -1
  35. package/utils/icon.d.ts +2 -1
  36. package/utils/icon.d.ts.map +1 -1
@@ -0,0 +1,27 @@
1
+ import { SkillEditorDialogColors } from './skill-editor-dialog-props';
2
+ /** Props for `SkillCreateFolderDialog`. */
3
+ export interface SkillCreateFolderDialogProps {
4
+ /** Whether the dialog is shown. */
5
+ isOpen: boolean;
6
+ /** Called to close the dialog: Cancel, the close control, Escape, or a created folder. */
7
+ onClose: () => void;
8
+ /** Returns the error for a folder name, or `undefined` when it can be created. */
9
+ validateName: (name: string) => string | undefined;
10
+ /** Creates the folder with an already validated name. */
11
+ onCreate: (name: string) => void;
12
+ /** Dialog title. */
13
+ title: string;
14
+ /** Name field label. */
15
+ nameLabel: string;
16
+ /** Name field placeholder. */
17
+ namePlaceholder: string;
18
+ /** Create button label. */
19
+ createLabel: string;
20
+ /** Cancel button label. */
21
+ cancelLabel: string;
22
+ /** Accessible name of the close control. */
23
+ closeAriaLabel: string;
24
+ /** Color overrides for the mobile sheet footer. */
25
+ dialogColors?: SkillEditorDialogColors;
26
+ }
27
+ //# sourceMappingURL=skill-create-folder-dialog-props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-create-folder-dialog-props.d.ts","sourceRoot":"","sources":["../../src/models/skill-create-folder-dialog-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAE3E,2CAA2C;AAC3C,MAAM,WAAW,4BAA4B;IAC3C,mCAAmC;IACnC,MAAM,EAAE,OAAO,CAAC;IAChB,0FAA0F;IAC1F,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kFAAkF;IAClF,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IACnD,yDAAyD;IACzD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,8BAA8B;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,YAAY,CAAC,EAAE,uBAAuB,CAAC;CACxC"}
@@ -0,0 +1,36 @@
1
+ import { ReactNode } from 'react';
2
+ /** Color overrides for the mobile `BottomSheet` footer of `SkillEditorDialog`. */
3
+ export interface SkillEditorDialogColors {
4
+ /** Background of the sheet footer. Defaults to `--bg-layer-raised`. */
5
+ footerBackground?: string;
6
+ /** Top border color of the sheet footer. Defaults to `--stroke-tertiary`. */
7
+ footerBorder?: string;
8
+ }
9
+ /** Props for `SkillEditorDialog`. */
10
+ export interface SkillEditorDialogProps {
11
+ /** Whether the dialog is shown. */
12
+ isOpen: boolean;
13
+ /** Heading of the dialog, which also names it. */
14
+ title: string;
15
+ /** Accessible name of the close button. */
16
+ closeAriaLabel: string;
17
+ /** Called when the dialog asks to close: the close button, Escape, or a press outside it. */
18
+ onClose: () => void;
19
+ /** Label of the confirming button. */
20
+ confirmLabel: string;
21
+ /** Called when the confirming button is activated. */
22
+ onConfirm: () => void;
23
+ /** Label of the cancelling button. */
24
+ cancelLabel: string;
25
+ /** Called when the cancelling button is activated. */
26
+ onCancel: () => void;
27
+ /** Disables the confirming button. Defaults to `false`. */
28
+ isConfirmDisabled?: boolean;
29
+ /** Shows a spinner in the confirming button while its action runs. Defaults to `false`. */
30
+ isConfirming?: boolean;
31
+ /** Content of the dialog body, which brings its own padding. */
32
+ children: ReactNode;
33
+ /** Color overrides for the mobile sheet footer. */
34
+ colors?: SkillEditorDialogColors;
35
+ }
36
+ //# sourceMappingURL=skill-editor-dialog-props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-editor-dialog-props.d.ts","sourceRoot":"","sources":["../../src/models/skill-editor-dialog-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,kFAAkF;AAClF,MAAM,WAAW,uBAAuB;IACtC,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qCAAqC;AACrC,MAAM,WAAW,sBAAsB;IACrC,mCAAmC;IACnC,MAAM,EAAE,OAAO,CAAC;IAChB,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,cAAc,EAAE,MAAM,CAAC;IACvB,6FAA6F;IAC7F,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,sCAAsC;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,sCAAsC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,sDAAsD;IACtD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,2DAA2D;IAC3D,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,2FAA2F;IAC3F,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gEAAgE;IAChE,QAAQ,EAAE,SAAS,CAAC;IACpB,mDAAmD;IACnD,MAAM,CAAC,EAAE,uBAAuB,CAAC;CAClC"}
@@ -1,4 +1,4 @@
1
- import { TextRefinementLabels } from '../../../chat-shared/src/index.ts';
1
+ import { TextRefinementLabels } from '@epam/ai-dial-chat-shared';
2
2
  import { EditorThemes } from '@epam/ai-dial-ui-kit';
3
3
  import { ReactNode } from 'react';
4
4
  import { SkillFileNodeKind } from '../types/skill-file-node-kind';
@@ -58,6 +58,8 @@ export interface SkillFileUploadCandidate {
58
58
  file: File;
59
59
  /** Resolved relative path (`webkitRelativePath` falling back to `File.name`, `/`-normalized). */
60
60
  path: string;
61
+ /** Set when the user chose to replace the file already at `path`; the commit then overwrites it instead of adding a node. */
62
+ replacesExisting?: boolean;
61
63
  }
62
64
  /** Host validation outcome for one staged candidate. */
63
65
  export interface SkillFileValidationResult {
@@ -147,16 +149,22 @@ export interface SkillEditorLabels extends TextRefinementLabels {
147
149
  filesTreeAriaLabel?: string;
148
150
  /** Label of the Files pane's Add dropdown trigger. Defaults to `'Add'`. */
149
151
  addLabel?: string;
150
- /** Add-menu entry that creates a folder inline. Defaults to `'Create folder'`. */
152
+ /** Add-menu entry that creates a folder — inline on desktop, in a dialog of the same title below the `desktop` breakpoint. Defaults to `'Create folder'`. */
151
153
  createFolderLabel?: string;
154
+ /** Name field label of the mobile Create folder dialog. Defaults to `'Name'`. */
155
+ createFolderNameLabel?: string;
156
+ /** Name field placeholder of the mobile Create folder dialog. Defaults to `'Enter folder name'`. */
157
+ createFolderNamePlaceholder?: string;
158
+ /** Accessible label of the mobile Create folder dialog's close control. Defaults to `'Close'`. */
159
+ createFolderCloseAriaLabel?: string;
160
+ /** Confirm button label of the mobile Create folder dialog. Defaults to `'Create'`. */
161
+ createFolderConfirmLabel?: string;
152
162
  /** Add-menu entry that opens the upload dialog for device files. Defaults to `'Upload files from device'`. */
153
163
  uploadFilesLabel?: string;
154
164
  /** Add-menu entry that opens the upload dialog for a `.zip` archive. Defaults to `'Upload archive from device'`. */
155
165
  uploadArchiveLabel?: string;
156
166
  /** Add-menu entry that opens the host's file-system picker. Defaults to `'Open DIAL file system'`. */
157
167
  openFileSystemLabel?: string;
158
- /** Node context-menu submenu that adds next to the node. Defaults to `'Add sibling'`. */
159
- addSiblingLabel?: string;
160
168
  /** Node context-menu action that removes the node. Defaults to `'Delete'`. */
161
169
  deleteLabel?: string;
162
170
  /** Name prefilled in a folder being created inline. Defaults to `'New folder'`. */
@@ -187,6 +195,8 @@ export interface SkillEditorLabels extends TextRefinementLabels {
187
195
  nameLabel?: string;
188
196
  /** Name field placeholder. Defaults to `'good-morning-breakfast'`. */
189
197
  namePlaceholder?: string;
198
+ /** Tooltip over the Name field while it is read-only. Defaults to `"The skill name can't be changed after creation"`. */
199
+ nameReadOnlyTooltip?: string;
190
200
  /** Name field helper text. Defaults to `"Lowercase letters and hyphens only, no spaces. We'll reformat automatically if needed."`. */
191
201
  nameCaption?: string;
192
202
  /** Description field label. Defaults to `'Description'`. */
@@ -211,6 +221,20 @@ export interface SkillEditorLabels extends TextRefinementLabels {
211
221
  loadingAriaLabel?: string;
212
222
  /** Accessible label of the spinner shown while the Instructions Markdown editor's chunk is loading. Defaults to `'Loading'`. */
213
223
  instructionsLoadingAriaLabel?: string;
224
+ /** Label of the folder preview's root breadcrumb, which returns to `SKILL.md`. Defaults to `'Skill'`. */
225
+ folderPreviewRootLabel?: string;
226
+ /** Accessible name of the folder preview's breadcrumb trail. Defaults to `'Folder path'`. */
227
+ folderPreviewBreadcrumbAriaLabel?: string;
228
+ /** Accessible name of the folder preview's "show hidden path segments" button, which appears once the trail is long. Defaults to `'Show hidden path segments'`. */
229
+ folderPreviewOverflowAriaLabel?: string;
230
+ /** Accessible name of the folder preview's list of entries. Defaults to `'Folder content'`. */
231
+ folderPreviewListAriaLabel?: string;
232
+ /** Headline of the empty-folder state. Defaults to `'This folder is empty'`. */
233
+ folderEmptyTitle?: string;
234
+ /** Secondary line of the empty-folder state. Defaults to `'Use Add to upload files or create a subfolder.'`. */
235
+ folderEmptyDescription?: string;
236
+ /** Item count shown on a folder row in the preview, given the count. Defaults to `'1 item'` or `'n items'`. */
237
+ folderItemCountLabel?: (count: number) => string;
214
238
  /** Note shown in the main pane when a supporting file (not `SKILL.md` or a folder) is selected. Defaults to a sentence explaining content isn't editable here. */
215
239
  supportingFileNote?: string;
216
240
  /** Label of the "Reload latest" button rendered next to the host-supplied `conflict.message` in the conflict state. Defaults to `'Reload latest'`. */
@@ -225,6 +249,22 @@ export interface SkillEditorLabels extends TextRefinementLabels {
225
249
  uploadDropZoneMobileLabel?: string;
226
250
  /** Accessible label of the drop zone / native-picker trigger. Defaults to `'Upload files'`. */
227
251
  uploadDropZoneAriaLabel?: string;
252
+ /** Secondary drop-zone line, e.g. the accepted formats. Hidden by default. */
253
+ uploadDropZoneDescription?: string;
254
+ /** Secondary archive-mode drop-zone line, e.g. the accepted formats. Hidden by default. */
255
+ uploadArchiveDropZoneDescription?: string;
256
+ /** Title of the step that asks how to resolve an upload whose path already holds a file. Defaults to `'Replace or duplicate it?'`. */
257
+ uploadConflictTitle?: string;
258
+ /** Builds that step's message, given the conflicting path. Defaults to a sentence naming the path. */
259
+ uploadConflictMessage?: (path: string) => string;
260
+ /** Option that overwrites the existing file. Defaults to `'Replace'`. */
261
+ uploadConflictReplaceLabel?: string;
262
+ /** Option that keeps both files, staging the upload as `name (n).ext`. Defaults to `'Duplicate'`. */
263
+ uploadConflictDuplicateLabel?: string;
264
+ /** Confirm button label of that step. Defaults to `'Confirm'`. */
265
+ uploadConflictConfirmLabel?: string;
266
+ /** Note on a staged row that will overwrite an existing file. Defaults to `'Will replace the existing file'`. */
267
+ uploadReplaceRowNote?: string;
228
268
  /** Builds the accessible label of a staged row's remove control, given its path. Defaults to a sentence naming the path. */
229
269
  uploadRemoveCandidateLabel?: (path: string) => string;
230
270
  /** Explanatory copy on a manifest-kind staged row. Defaults to a sentence explaining it will populate/replace the Skill's metadata. */
@@ -233,7 +273,7 @@ export interface SkillEditorLabels extends TextRefinementLabels {
233
273
  uploadConfirmLabel?: string;
234
274
  /** Cancel button label in the upload dialog. Defaults to `'Cancel'`. */
235
275
  uploadCancelLabel?: string;
236
- /** Prefix announced in the `aria-live` region when a batch-level error appears. Defaults to `'Upload error: '`. */
276
+ /** Prefix announced in the `aria-live` region before each batch-level or staged-row error. Defaults to `'Upload error: '`. */
237
277
  uploadBatchErrorAriaPrefix?: string;
238
278
  /** Title shown in the full-surface overlay while a file-bearing drag is over the editor and the upload dialog isn't open yet. Defaults to `'Upload files'`. */
239
279
  dropOverlayTitle?: string;
@@ -256,12 +296,32 @@ export interface SkillEditorColors {
256
296
  refineActionText?: string;
257
297
  /** Refinement error color. Defaults to --text-error. */
258
298
  refineErrorText?: string;
259
- /** Color of the "Files" heading and of the Metadata and Setup section headings. Defaults to `--text-primary`. */
299
+ /** Color of the "Files" heading, the Metadata and Setup section headings, and the mobile "Editing file" file name. Defaults to `--text-primary`. */
260
300
  title?: string;
261
- /** Color of the hand-rendered Instructions field label. Defaults to `--text-secondary`. */
301
+ /** Color of the hand-rendered Instructions field label and of the mobile "Editing file" caption and caret. Defaults to `--text-secondary`. */
262
302
  helperText?: string;
303
+ /** Background of the mobile "Editing file" card. Defaults to `--bg-layer-sunken`. */
304
+ filesCardBackground?: string;
305
+ /** Border color of the mobile "Editing file" card. Defaults to `--stroke-tertiary`. */
306
+ filesCardBorder?: string;
307
+ /** Background of the mobile upload and create-folder sheet footer. Defaults to `--bg-layer-raised`. */
308
+ dialogFooterBackground?: string;
309
+ /** Top border color of the mobile upload and create-folder sheet footer. Defaults to `--stroke-tertiary`. */
310
+ dialogFooterBorder?: string;
263
311
  /** Border color of the layout header row and Files sidebar divider. Defaults to `--stroke-tertiary`. */
264
312
  border?: string;
313
+ /** Color of the upload icon on the file-drop overlay. Defaults to `--text-accent-primary`. */
314
+ dropOverlayIcon?: string;
315
+ /** Color of the file tree Add-menu entry icons. Defaults to `--text-secondary`. */
316
+ menuIcon?: string;
317
+ /** Border color of the upload dialog's drop zone while every staged file is invalid. Defaults to `--stroke-error`. */
318
+ uploadInvalidDropZoneBorder?: string;
319
+ /** Border color of each staged row in the upload dialog. Defaults to `--stroke-tertiary`. */
320
+ uploadRowBorder?: string;
321
+ /** Border color of the folder preview's list and rows. Defaults to `--stroke-tertiary`. */
322
+ folderRowBorder?: string;
323
+ /** Background of a folder preview row on hover and keyboard focus. Defaults to `--bg-layer-sunken`. */
324
+ folderRowHoverBackground?: string;
265
325
  }
266
326
  /** Typography class overrides for `SkillEditor`. */
267
327
  export interface SkillEditorTypography {
@@ -273,8 +333,20 @@ export interface SkillEditorTypography {
273
333
  helperTextClassName?: string;
274
334
  /** Color class applied to the file tree "Delete" context-menu icon. Unset by default, so the icon takes the item's danger color. */
275
335
  removeIconClassName?: string;
276
- /** Color class applied to the file tree Add-menu entry icons. Defaults to `'text-secondary'`. */
277
- menuIconClassName?: string;
336
+ /** Typography class applied to the mobile "Editing file" caption. Defaults to `'dial-tiny-lead-text'`. */
337
+ editingFileLabelClassName?: string;
338
+ /** Typography class applied to the mobile "Editing file" file name. Defaults to `'dial-small-text'`. */
339
+ editingFileNameClassName?: string;
340
+ /** Typography class applied to the upload dialog's Replace-or-duplicate message. Defaults to `'dial-small-text'`. */
341
+ uploadMessageClassName?: string;
342
+ /** Typography and color classes merged over a staged upload row's size and notes, which render `'dial-tiny-text text-secondary'` when unset. */
343
+ uploadRowCaptionClassName?: string;
344
+ /** Typography class applied to the file-drop overlay title. Defaults to `'dial-h3-text'`. */
345
+ dropOverlayTitleClassName?: string;
346
+ /** Typography class applied to the file-drop overlay subtitle. Defaults to `'dial-small-text'`. */
347
+ dropOverlaySubtitleClassName?: string;
348
+ /** Typography class applied to the item count on a folder preview row. Defaults to `'dial-tiny-text'`. */
349
+ folderItemCountClassName?: string;
278
350
  }
279
351
  /** Grouped style overrides for `SkillEditor`. */
280
352
  export interface SkillEditorStyles {
@@ -324,11 +396,11 @@ export interface SkillEditorProps {
324
396
  /** Called when the conflict state's "Reload latest" control is activated. Required when `conflict` can be set. */
325
397
  onReloadLatest?: () => void;
326
398
  /**
327
- * When `true`, the Name field renders read-only — its value is still
399
+ * When `true`, the Name field renders disabled — its value is still
328
400
  * included in submitted values unchanged. The host sets this in edit mode,
329
401
  * since DIAL Core has no rename/move operation for a skill; the library
330
402
  * itself has no notion of "edit mode" and infers no policy from this flag
331
- * beyond rendering the field read-only.
403
+ * beyond rendering the field disabled.
332
404
  */
333
405
  isNameReadOnly?: boolean;
334
406
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"skill-editor-props.d.ts","sourceRoot":"","sources":["../../src/models/skill-editor-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAEvE;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,+DAA+D;IAC/D,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,+CAA+C;IAC/C,IAAI,EAAE,iBAAiB,CAAC;CACzB;AAED,8CAA8C;AAC9C,MAAM,WAAW,iBAAiB;IAChC,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,8FAA8F;AAC9F,oBAAY,sBAAsB;IAChC,gEAAgE;IAChE,cAAc,oBAAoB;IAClC,uGAAuG;IACvG,QAAQ,aAAa;CACtB;AAED,yEAAyE;AACzE,oBAAY,yBAAyB;IACnC,iDAAiD;IACjD,KAAK,UAAU;IACf,sEAAsE;IACtE,OAAO,YAAY;CACpB;AAED,6EAA6E;AAC7E,MAAM,WAAW,wB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OAIG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,sBAAsB;IACtB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,uBAAuB;IACvB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,qFAAqF;IACrF,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IACpB,0IAA0I;IAC1I,uBAAuB,CAAC,EAAE,YAAY,CAAC;CACxC"}
@@ -0,0 +1,19 @@
1
+ import { ReactNode } from 'react';
2
+ /** Props for `SkillFilesSummary`. */
3
+ export interface SkillFilesSummaryProps {
4
+ /** Small caption above the file name, e.g. `'Editing file'`. */
5
+ label: string;
6
+ /** Name of the file being edited; its extension picks the file-type icon. */
7
+ fileName: string;
8
+ /** Whether the file tree is revealed. */
9
+ isExpanded: boolean;
10
+ /** Called with the next expanded state when the summary row is activated. */
11
+ onToggle: (isExpanded: boolean) => void;
12
+ /** Content revealed below the summary row — the Files pane. */
13
+ children: ReactNode;
14
+ /** Typography class applied to the caption. Defaults to `'dial-tiny-lead-text'`. */
15
+ labelClassName?: string;
16
+ /** Typography class applied to the file name. Defaults to `'dial-small-text'`. */
17
+ fileNameClassName?: string;
18
+ }
19
+ //# sourceMappingURL=skill-files-summary-props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-files-summary-props.d.ts","sourceRoot":"","sources":["../../src/models/skill-files-summary-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,qCAAqC;AACrC,MAAM,WAAW,sBAAsB;IACrC,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,QAAQ,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,UAAU,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,+DAA+D;IAC/D,QAAQ,EAAE,SAAS,CAAC;IACpB,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kFAAkF;IAClF,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B"}
@@ -0,0 +1,28 @@
1
+ import { SkillFileNodeKind } from '../types/skill-file-node-kind';
2
+ import { SkillFolderEntry } from '../utils/file-tree';
3
+ /** Props for `SkillFolderPreview`. */
4
+ export interface SkillFolderPreviewProps {
5
+ /** Path of the folder being previewed, relative to the skill root. */
6
+ folderPath: string;
7
+ /** Direct children of the folder, already ordered. */
8
+ entries: SkillFolderEntry[];
9
+ /** Called with the path and kind of the entry (or ancestor folder) the user opened; `''` is the skill root. */
10
+ onOpen: (path: string, kind: SkillFileNodeKind) => void;
11
+ /** Label of the root breadcrumb. Defaults to `'Skill'`. */
12
+ rootLabel?: string;
13
+ /** Accessible name of the breadcrumb trail. Defaults to `'Folder path'`. */
14
+ breadcrumbAriaLabel?: string;
15
+ /** Accessible name of the button that reveals collapsed breadcrumb segments. Defaults to `'Show hidden path segments'`. */
16
+ overflowAriaLabel?: string;
17
+ /** Accessible name of the list of entries. Defaults to `'Folder content'`. */
18
+ listAriaLabel?: string;
19
+ /** Headline of the empty state. Defaults to `'This folder is empty'`. */
20
+ emptyTitle?: string;
21
+ /** Secondary line of the empty state. Defaults to `'Use Add to upload files or create a subfolder.'`. */
22
+ emptyDescription?: string;
23
+ /** Item-count text of a folder row, given the count. Defaults to `'1 item'` / `'n items'`. */
24
+ itemCountLabel?: (count: number) => string;
25
+ /** Typography class of a row's item count. Defaults to `'dial-tiny-text'`. */
26
+ itemCountClassName?: string;
27
+ }
28
+ //# sourceMappingURL=skill-folder-preview-props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-folder-preview-props.d.ts","sourceRoot":"","sources":["../../src/models/skill-folder-preview-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,sCAAsC;AACtC,MAAM,WAAW,uBAAuB;IACtC,sEAAsE;IACtE,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,+GAA+G;IAC/G,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACxD,2DAA2D;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4EAA4E;IAC5E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,2HAA2H;IAC3H,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,8EAA8E;IAC9E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yGAAyG;IACzG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8FAA8F;IAC9F,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,8EAA8E;IAC9E,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-skill-editor",
3
3
  "description": "Host-agnostic form for authoring a DIAL Skill, with an inline supporting-file tree",
4
- "version": "1.3.0-dev.35",
4
+ "version": "1.3.0-dev.353",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -17,15 +17,15 @@
17
17
  }
18
18
  },
19
19
  "dependencies": {
20
- "@tabler/icons-react": "^3.44.0",
20
+ "@tabler/icons-react": "^3.50.0",
21
21
  "@uiw/react-markdown-preview": "^5.2.1",
22
- "@uiw/react-md-editor": "^4.1.1",
23
- "@epam/ai-dial-builder-form": "1.3.0-dev.35"
22
+ "@uiw/react-md-editor": "^4.2.2",
23
+ "@epam/ai-dial-builder-form": "1.3.0-dev.353"
24
24
  },
25
25
  "peerDependencies": {
26
- "@epam/ai-dial-chat-shared": "1.3.0-dev.35",
27
- "@epam/ai-dial-ui-kit": "^0.15.3",
28
- "@epam/ai-dial-react-file-manager": "^0.3.4",
26
+ "@epam/ai-dial-chat-shared": "1.3.0-dev.353",
27
+ "@epam/ai-dial-ui-kit": "^0.16.0",
28
+ "@epam/ai-dial-react-file-manager": "^0.4.0",
29
29
  "react": "^19.2.8"
30
30
  },
31
31
  "repository": {
@@ -3,8 +3,6 @@ export declare enum SkillAddSource {
3
3
  /** The Files pane header's Add dropdown: the selected folder, else the root. */
4
4
  Header = "header",
5
5
  /** The add entries listed directly in a folder's context menu: that folder. */
6
- Child = "child",
7
- /** A node's "Add sibling" submenu: the node's parent folder. */
8
- Sibling = "sibling"
6
+ Child = "child"
9
7
  }
10
8
  //# sourceMappingURL=skill-add-source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skill-add-source.d.ts","sourceRoot":"","sources":["../../src/types/skill-add-source.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,oBAAY,cAAc;IACxB,gFAAgF;IAChF,MAAM,WAAW;IACjB,+EAA+E;IAC/E,KAAK,UAAU;IACf,gEAAgE;IAChE,OAAO,YAAY;CACpB"}
1
+ {"version":3,"file":"skill-add-source.d.ts","sourceRoot":"","sources":["../../src/types/skill-add-source.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,oBAAY,cAAc;IACxB,gFAAgF;IAChF,MAAM,WAAW;IACjB,+EAA+E;IAC/E,KAAK,UAAU;CAChB"}
@@ -0,0 +1,8 @@
1
+ /** How a staged upload whose path already holds a file in the skill is resolved. */
2
+ export declare enum SkillFileConflictResolution {
3
+ /** The upload overwrites the existing file at the same path. */
4
+ Replace = "replace",
5
+ /** The upload is staged under a free `name (n).ext` path beside the existing file. */
6
+ Duplicate = "duplicate"
7
+ }
8
+ //# sourceMappingURL=skill-file-conflict-resolution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-file-conflict-resolution.d.ts","sourceRoot":"","sources":["../../src/types/skill-file-conflict-resolution.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oBAAY,2BAA2B;IACrC,gEAAgE;IAChE,OAAO,YAAY;IACnB,sFAAsF;IACtF,SAAS,cAAc;CACxB"}
@@ -1,6 +1,7 @@
1
1
  import { DialFile } from '@epam/ai-dial-react-file-manager';
2
2
  import { SkillFileTreeNode } from '../models/skill-editor-props';
3
3
  import { SkillAddSource } from '../types/skill-add-source';
4
+ import { SkillFileNodeKind } from '../types/skill-file-node-kind';
4
5
  /**
5
6
  * Builds the nested `DialFile[]` tree `DialFoldersTree` expects from the flat
6
7
  * `SkillFileTreeNode[]` list, synthesising any implicit intermediate folders
@@ -10,13 +11,15 @@ import { SkillAddSource } from '../types/skill-add-source';
10
11
  export declare const buildDialFileTree: (nodes: SkillFileTreeNode[]) => DialFile[];
11
12
  /** Joins a folder path (`''` for the skill root) and a relative path below it. */
12
13
  export declare const joinSkillPath: (folderPath: string, relativePath: string) => string;
13
- /** The folder containing `path`, or `''` for a top-level entry. */
14
- export declare const parentSkillPath: (path: string) => string;
14
+ /**
15
+ * Returns the first `name (n).ext` sibling of `path` that `takenPaths` does not
16
+ * hold, numbering from 1 the way the DIAL file manager names a duplicate.
17
+ */
18
+ export declare const buildDuplicatePath: (path: string, takenPaths: ReadonlySet<string>) => string;
15
19
  /**
16
20
  * Resolves the folder an add action targets (`''` is the skill root). The
17
21
  * header adds into the selected folder, or the root when a file (or nothing)
18
- * is selected; a folder's own menu entries add into it; "Add sibling" adds
19
- * next to the node.
22
+ * is selected; a folder's own menu entries add into it.
20
23
  */
21
24
  export declare const resolveAddTarget: (source: SkillAddSource, node: SkillFileTreeNode | undefined) => string;
22
25
  /**
@@ -39,4 +42,19 @@ export interface FolderNameMessages {
39
42
  * root `SKILL.md`). Returns the first failing message, or `undefined`.
40
43
  */
41
44
  export declare const validateFolderName: (rawName: string, siblingNames: Set<string>, messages: FolderNameMessages) => string | undefined;
45
+ /** One direct child of a folder, as listed in the folder preview. */
46
+ export interface SkillFolderEntry {
47
+ /** Relative path from the skill root. */
48
+ path: string;
49
+ /** Final path segment. */
50
+ name: string;
51
+ /** Whether the child is a file or a folder. */
52
+ kind: SkillFileNodeKind;
53
+ /** Number of direct children, for a folder; `0` for a file. */
54
+ childCount: number;
55
+ }
56
+ /** Lists the direct children of `folderPath`, folders first, each group sorted by name; implicit folders implied by deeper paths are included. */
57
+ export declare const listFolderEntries: (nodes: SkillFileTreeNode[], folderPath: string) => SkillFolderEntry[];
58
+ /** Returns every ancestor folder path of `path`, outermost first (`a/b/c.md` gives `a`, `a/b`). */
59
+ export declare const listAncestorPaths: (path: string) => string[];
42
60
  //# sourceMappingURL=file-tree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"file-tree.d.ts","sourceRoot":"","sources":["../../src/utils/file-tree.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAa3D;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAAI,OAAO,iBAAiB,EAAE,KAAG,QAAQ,EAuDtE,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,aAAa,GACxB,YAAY,MAAM,EAClB,cAAc,MAAM,KACnB,MAAuE,CAAC;AAE3E,mEAAmE;AACnE,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,MAClB,CAAC;AAE9B;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,cAAc,EACtB,MAAM,iBAAiB,GAAG,SAAS,KAClC,MAUF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,GACzB,OAAO,iBAAiB,EAAE,EAC1B,YAAY,MAAM,KAC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W,kBAAkB;IACjC,iCAAiC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,oDAAoD;IACpD,OAAO,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,MAAM,EACf,cAAc,GAAG,CAAC,MAAM,CAAC,EACzB,UAAU,kBAAkB,KAC3B,MAAM,GAAG,SAQX,CAAC;AAEF,qEAAqE;AACrE,MAAM,WAAW,gBAAgB;IAC/B,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,+CAA+C;IAC/C,IAAI,EAAE,iBAAiB,CAAC;IACxB,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,kJAAkJ;AAClJ,eAAO,MAAM,iBAAiB,GAC5B,OAAO,iBAAiB,EAAE,EAC1B,YAAY,MAAM,KACjB,gBAAgB,EAyClB,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,KAAG,MAAM,EAGtD,CAAC"}
package/utils/icon.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { TablerIcon } from '@tabler/icons-react';
2
+ import { CSSProperties } from 'react';
2
3
  /** Returns a decorative Tabler icon at the kit stroke, sized `DIAL_ICON_SIZE.MD` unless `size` is given. */
3
- export declare const renderIcon: (Icon: TablerIcon, className?: string, size?: number) => import("react").JSX.Element;
4
+ export declare const renderIcon: (Icon: TablerIcon, className?: string, size?: number, style?: CSSProperties) => import('react').JSX.Element;
4
5
  //# sourceMappingURL=icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/utils/icon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,4GAA4G;AAC5G,eAAO,MAAM,UAAU,GACrB,MAAM,UAAU,EAChB,YAAY,MAAM,EAClB,OAAM,MAA0B,gCAQjC,CAAC"}
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/utils/icon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,4GAA4G;AAC5G,eAAO,MAAM,UAAU,GACrB,MAAM,UAAU,EAChB,YAAY,MAAM,EAClB,OAAM,MAA0B,EAChC,QAAQ,aAAa,gCAStB,CAAC"}