@epam/ai-dial-skill-editor 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.
@@ -1 +1 @@
1
- {"version":3,"file":"SkillEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SkillEditor/SkillEditor.tsx"],"names":[],"mappings":"AAiCA,OAAO,0CAA0C,CAAC;AAClD,OAAO,0CAA0C,CAAC;AAClD,OAAO,EAEL,EAAE,EAQH,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,iCAAiC,CAAC;AAsBzC,qFAAqF;AACrF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA8e5C,CAAC"}
1
+ {"version":3,"file":"SkillEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SkillEditor/SkillEditor.tsx"],"names":[],"mappings":"AAiCA,OAAO,0CAA0C,CAAC;AAClD,OAAO,0CAA0C,CAAC;AAClD,OAAO,EAEL,EAAE,EAQH,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,iCAAiC,CAAC;AAsBzC,qFAAqF;AACrF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAmf5C,CAAC"}
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as e, MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as t, buildCssVars as n, formatFileSize as r, mergeClasses as i, useAvailableHeightCap as a } from "@epam/ai-dial-chat-shared";
2
- import { Accordion as o, CaptionText as s, DIAL_ICON_SIZE as c, DIAL_KIT_ICON_STROKE as l, EditorThemes as u, ErrorText as d, FileDropzone as f, GhostButton as ee, GhostIconButton as p, Input as m, NeutralButton as h, Popup as g, PopupSize as te, PrimaryButton as ne, Spinner as _, Textarea as v } from "@epam/ai-dial-ui-kit";
2
+ import { Accordion as o, CaptionText as s, DIAL_ICON_SIZE as c, DIAL_KIT_ICON_STROKE as l, EditorThemes as u, ErrorText as d, FileDropzone as f, GhostButton as p, GhostIconButton as ee, Input as m, NeutralButton as h, Popup as g, PopupSize as te, PrimaryButton as ne, Spinner as _, Textarea as v } from "@epam/ai-dial-ui-kit";
3
3
  import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
4
4
  import { IconArrowNarrowLeft as S, IconFileText as re, IconPlus as ie, IconTrashX as ae, IconUpload as C } from "@tabler/icons-react";
5
5
  import { Suspense as w, lazy as T, useCallback as E, useEffect as D, useId as O, useMemo as k, useRef as A, useState as j } from "react";
@@ -13,13 +13,13 @@ var se = {
13
13
  headerBorder: "_headerBorder_1kidu_1",
14
14
  footerBorder: "_footerBorder_1kidu_5",
15
15
  sidebarBorder: "_sidebarBorder_1kidu_9"
16
- }, ce = ({ title: e, onBack: t, backAriaLabel: r = "Back", actions: a, leftContent: o, rightContent: s, isSaving: u = !1, labels: d, styles: f, dir: ee }) => {
16
+ }, ce = ({ title: e, onBack: t, backAriaLabel: r = "Back", actions: a, leftContent: o, rightContent: s, isSaving: u = !1, labels: d, styles: f, dir: p }) => {
17
17
  let m = O(), h = u ? d?.savingStatusLabel ?? "Saving" : "", g = n({
18
18
  "--el-header-border-color": f?.colors?.headerBorderColor,
19
19
  "--el-sidebar-border-color": f?.colors?.sidebarBorderColor
20
20
  });
21
21
  return /* @__PURE__ */ x("div", {
22
- dir: ee,
22
+ dir: p,
23
23
  className: i("flex min-h-0 flex-1 flex-col", se.layout),
24
24
  style: g,
25
25
  children: [
@@ -34,7 +34,7 @@ var se = {
34
34
  className: i("flex items-center justify-between gap-2 border-b px-4 py-2 desktop:px-8 desktop:pb-3 desktop:pt-3", P.headerBorder),
35
35
  children: [/* @__PURE__ */ x("div", {
36
36
  className: "flex min-w-0 flex-1 items-center gap-2",
37
- children: [/* @__PURE__ */ b(p, {
37
+ children: [/* @__PURE__ */ b(ee, {
38
38
  icon: /* @__PURE__ */ b(S, {
39
39
  size: c.LG,
40
40
  stroke: l,
@@ -95,16 +95,16 @@ var se = {
95
95
  }({}), R = (e) => {
96
96
  let t = e.lastIndexOf("/");
97
97
  return t === -1 ? null : e.slice(0, t);
98
- }, de = (e) => {
98
+ }, z = (e) => {
99
99
  let t = e.lastIndexOf("/");
100
100
  return t === -1 ? e : e.slice(t + 1);
101
- }, fe = (e) => {
101
+ }, de = (e) => {
102
102
  let t = /* @__PURE__ */ new Map(), n = (e) => {
103
103
  let n = t.get(e);
104
104
  if (n) return n;
105
105
  let r = {
106
106
  path: e,
107
- name: de(e),
107
+ name: z(e),
108
108
  nodeType: M.FOLDER,
109
109
  parentPath: R(e),
110
110
  folderId: e,
@@ -139,7 +139,7 @@ var se = {
139
139
  n ? n.items = [...n.items ?? [], e] : r.push(e);
140
140
  }
141
141
  return r;
142
- }, pe = ({ isVisible: e, labels: t }) => {
142
+ }, fe = ({ isVisible: e, labels: t }) => {
143
143
  if (!e) return null;
144
144
  let n = t ?? {};
145
145
  return /* @__PURE__ */ b("div", {
@@ -166,16 +166,16 @@ var se = {
166
166
  ]
167
167
  })
168
168
  });
169
- }, z = /* @__PURE__ */ function(e) {
169
+ }, B = /* @__PURE__ */ function(e) {
170
170
  return e.SupportingFile = "supporting-file", e.Manifest = "manifest", e;
171
- }({}), B = /* @__PURE__ */ function(e) {
171
+ }({}), V = /* @__PURE__ */ function(e) {
172
172
  return e.Valid = "valid", e.Invalid = "invalid", e;
173
- }({}), V = (e) => (e.webkitRelativePath || e.name).replace(/\\/g, "/"), H = 0, U = () => `skill-file-candidate-${++H}`, me = ({ isOpen: e, onClose: t, fileActions: n, initialFiles: i, labels: a }) => {
173
+ }({}), H = (e) => (e.webkitRelativePath || e.name).replace(/\\/g, "/"), U = 0, W = () => `skill-file-candidate-${++U}`, pe = ({ isOpen: e, onClose: t, fileActions: n, initialFiles: i, labels: a }) => {
174
174
  let o = a ?? {}, [s, c] = j([]), [u, m] = j(/* @__PURE__ */ new Map()), [h, v] = j([]), [S, ie] = j(!1), [C, w] = j(), [T, E] = j(!1), k = O(), A = (e) => {
175
175
  let t = e.map((e) => ({
176
- id: U(),
176
+ id: W(),
177
177
  file: e,
178
- path: V(e)
178
+ path: H(e)
179
179
  }));
180
180
  w(void 0), c((e) => [...e, ...t]);
181
181
  }, M = (e) => {
@@ -183,9 +183,9 @@ var se = {
183
183
  };
184
184
  D(() => {
185
185
  e && (c((i ?? []).map((e) => ({
186
- id: U(),
186
+ id: W(),
187
187
  file: e,
188
- path: V(e)
188
+ path: H(e)
189
189
  }))), m(/* @__PURE__ */ new Map()), v([]), w(void 0));
190
190
  }, [e]), D(() => {
191
191
  if (!e) return;
@@ -202,11 +202,11 @@ var se = {
202
202
  t = !0;
203
203
  };
204
204
  }, [s, e]);
205
- let oe = s.some((e) => u.get(e.id)?.status === B.Invalid), N = s.length > 0 && s.every((e) => u.get(e.id)?.status === B.Invalid), se = s.length > 0 && !oe && h.length === 0 && !S && !T, P = async () => {
205
+ let oe = s.some((e) => u.get(e.id)?.status === V.Invalid), N = s.length > 0 && s.every((e) => u.get(e.id)?.status === V.Invalid), se = s.length > 0 && !oe && h.length === 0 && !S && !T, P = async () => {
206
206
  E(!0), w(void 0);
207
207
  try {
208
208
  let { results: e, batchErrors: r } = await n.validateBatch(s), i = new Map(e.map((e) => [e.candidateId, e]));
209
- if (m(i), v(r.map((e) => e.message)), s.some((e) => i.get(e.id)?.status === B.Invalid) || r.length > 0) return;
209
+ if (m(i), v(r.map((e) => e.message)), s.some((e) => i.get(e.id)?.status === V.Invalid) || r.length > 0) return;
210
210
  let a = await n.commitBatch(s);
211
211
  if (a.error) {
212
212
  w(a.error);
@@ -225,7 +225,7 @@ var se = {
225
225
  onClose: t,
226
226
  footer: /* @__PURE__ */ x("div", {
227
227
  className: "flex min-h-[44px] items-center justify-end gap-2 px-6 py-4",
228
- children: [/* @__PURE__ */ b(ee, {
228
+ children: [/* @__PURE__ */ b(p, {
229
229
  label: o.uploadCancelLabel ?? "Cancel",
230
230
  onClick: t
231
231
  }), /* @__PURE__ */ b(ne, {
@@ -265,7 +265,7 @@ var se = {
265
265
  s.length > 0 && /* @__PURE__ */ b("ul", {
266
266
  className: "flex flex-col gap-2",
267
267
  children: s.map((e) => {
268
- let t = u.get(e.id), n = t?.kind === z.Manifest, i = t?.status === B.Invalid;
268
+ let t = u.get(e.id), n = t?.kind === B.Manifest, i = t?.status === V.Invalid;
269
269
  return /* @__PURE__ */ x("li", {
270
270
  className: "flex items-center gap-2 rounded-lg border border-tertiary p-2",
271
271
  children: [
@@ -292,7 +292,7 @@ var se = {
292
292
  })
293
293
  ]
294
294
  }),
295
- /* @__PURE__ */ b(p, {
295
+ /* @__PURE__ */ b(ee, {
296
296
  icon: /* @__PURE__ */ b(ae, {
297
297
  size: 16,
298
298
  "aria-hidden": !0,
@@ -309,20 +309,26 @@ var se = {
309
309
  ]
310
310
  })
311
311
  });
312
- }, he = {
312
+ }, G = {
313
313
  title: "_title_65glc_1",
314
314
  helperText: "_helperText_65glc_5"
315
- }, ge = T(async () => {
315
+ }, me = T(async () => {
316
316
  let { MarkdownEditor: e } = await N();
317
317
  return { default: e };
318
- }), _e = ({ initialValues: r, files: f, selectedPath: p, onSelectedPathChange: g, expandedPaths: te, onExpandedPathsChange: S, isLoading: re = !1, hasLoadError: C = !1, isSubmitting: T = !1, errors: O, submitError: M, conflict: N, onReloadLatest: se, isNameReadOnly: P = !1, onDirtyChange: F, fileActions: R, supportingFileContent: de, onSubmit: z, onCancel: B, onBack: V, backAriaLabel: H, title: U, onRetry: _e, labels: ve, styles: ye, dir: be, instructionsEditorTheme: xe = u.light }) => {
319
- let [W, G] = j({
318
+ }), K = ({ initialValues: r, files: f, selectedPath: ee, onSelectedPathChange: g, expandedPaths: te, onExpandedPathsChange: S, isLoading: re = !1, hasLoadError: C = !1, isSubmitting: T = !1, errors: O, submitError: M, conflict: N, onReloadLatest: se, isNameReadOnly: P = !1, onDirtyChange: F, onValuesChange: R, fileActions: z, supportingFileContent: B, onSubmit: V, onCancel: H, onBack: U, backAriaLabel: W, title: K, onRetry: he, labels: ge, styles: _e, dir: ve, instructionsEditorTheme: ye = u.light }) => {
319
+ let [q, be] = j({
320
320
  name: r?.name ?? "",
321
321
  description: r?.description ?? "",
322
322
  instructions: r?.instructions ?? ""
323
- }), Se = a(), Ce = A(r), we = Ce.current !== r, Te = A(f);
323
+ }), xe = a(), Se = (e) => {
324
+ let t = {
325
+ ...q,
326
+ ...e
327
+ };
328
+ be(t), R?.(t);
329
+ }, Ce = A(r), we = Ce.current !== r, Te = A(f);
324
330
  D(() => {
325
- Ce.current = r, G({
331
+ Ce.current = r, be({
326
332
  name: r?.name ?? "",
327
333
  description: r?.description ?? "",
328
334
  instructions: r?.instructions ?? ""
@@ -335,63 +341,63 @@ var se = {
335
341
  name: r?.name ?? "",
336
342
  description: r?.description ?? "",
337
343
  instructions: r?.instructions ?? ""
338
- }, t = JSON.stringify(W) !== JSON.stringify(e) || Ee(f) !== Ee(Te.current);
344
+ }, t = JSON.stringify(q) !== JSON.stringify(e) || Ee(f) !== Ee(Te.current);
339
345
  t !== De.current && (De.current = t, F?.(t));
340
346
  }, [
341
- W,
347
+ q,
342
348
  f,
343
349
  r,
344
350
  we,
345
351
  F
346
352
  ]);
347
- let [Oe, ke] = j(I), K = p ?? Oe, q = E((e) => {
353
+ let [Oe, ke] = j(I), J = ee ?? Oe, Y = E((e) => {
348
354
  ke(e), g?.(e);
349
355
  }, [g]), [Ae, je] = j([]), Me = te ?? Ae, Ne = k(() => new Set(Me), [Me]), Pe = E((e) => {
350
356
  let t = [...e];
351
357
  je(t), S?.(t);
352
- }, [S]), [J, Fe] = j(!1), [Ie, Le] = j(), [Re, ze] = j(!1), { isDragActive: Be, dropZoneHandlers: Ve } = ue(E((e) => {
353
- J || (Le(e), Fe(!0));
354
- }, [J])), Y = ve ?? {}, X = ye?.colors, He = ye?.typography ?? {}, Ue = He.titleClassName ?? "dial-body-semi-text", We = He.helperTextClassName ?? "dial-tiny-semi-text", Ge = He.removeIconClassName ?? "text-secondary", Ke = n({
355
- "--se-title-color": X?.title,
356
- "--se-helper-text-color": X?.helperText
357
- }), Z = X?.border ? { colors: {
358
- headerBorderColor: X.border,
359
- sidebarBorderColor: X.border
360
- } } : void 0, qe = k(() => fe([{
358
+ }, [S]), [X, Fe] = j(!1), [Ie, Le] = j(), [Re, ze] = j(!1), { isDragActive: Be, dropZoneHandlers: Ve } = ue(E((e) => {
359
+ X || (Le(e), Fe(!0));
360
+ }, [X])), Z = ge ?? {}, Q = _e?.colors, He = _e?.typography ?? {}, Ue = He.titleClassName ?? "dial-body-semi-text", We = He.helperTextClassName ?? "dial-tiny-semi-text", Ge = He.removeIconClassName ?? "text-secondary", Ke = n({
361
+ "--se-title-color": Q?.title,
362
+ "--se-helper-text-color": Q?.helperText
363
+ }), qe = Q?.border ? { colors: {
364
+ headerBorderColor: Q.border,
365
+ sidebarBorderColor: Q.border
366
+ } } : void 0, Je = k(() => de([{
361
367
  path: I,
362
368
  name: I,
363
369
  kind: L.File
364
- }, ...f]), [f]), Q = k(() => f.find((e) => e.path === K), [f, K]), Je = E((e) => {
365
- q(e.path);
366
- }, [q]), Ye = E((e) => {
367
- R.onRemoveNode(e), K === e && q(I);
370
+ }, ...f]), [f]), $ = k(() => f.find((e) => e.path === J), [f, J]), Ye = E((e) => {
371
+ Y(e.path);
372
+ }, [Y]), Xe = E((e) => {
373
+ z.onRemoveNode(e), J === e && Y(I);
368
374
  }, [
369
- R,
370
- K,
371
- q
372
- ]), Xe = E((e) => e.path === "SKILL.md" ? [] : [{
375
+ z,
376
+ J,
377
+ Y
378
+ ]), Ze = E((e) => e.path === "SKILL.md" ? [] : [{
373
379
  key: "remove",
374
- label: Y.removeLabel ?? "Remove",
380
+ label: Z.removeLabel ?? "Remove",
375
381
  icon: /* @__PURE__ */ b(ae, {
376
382
  size: c.SM,
377
383
  className: Ge,
378
384
  "aria-hidden": !0,
379
385
  stroke: l
380
386
  }),
381
- onClick: () => Ye(e.path)
387
+ onClick: () => Xe(e.path)
382
388
  }], [
383
- Y.removeLabel,
389
+ Z.removeLabel,
384
390
  Ge,
385
- Ye
386
- ]), Ze = /* @__PURE__ */ x("div", {
391
+ Xe
392
+ ]), Qe = /* @__PURE__ */ x("div", {
387
393
  className: "flex flex-col gap-2 desktop:gap-5",
388
394
  children: [/* @__PURE__ */ x("div", {
389
395
  className: "flex items-center justify-between",
390
396
  children: [/* @__PURE__ */ b("span", {
391
- className: i(he.title, Ue),
392
- children: Y.filesHeading ?? "Files"
397
+ className: i(G.title, Ue),
398
+ children: Z.filesHeading ?? "Files"
393
399
  }), /* @__PURE__ */ b(h, {
394
- label: Y.addUploadLabel ?? "Upload from device",
400
+ label: Z.addUploadLabel ?? "Upload from device",
395
401
  iconBefore: /* @__PURE__ */ b(ie, {
396
402
  size: 16,
397
403
  "aria-hidden": !0,
@@ -403,100 +409,100 @@ var se = {
403
409
  })]
404
410
  }), /* @__PURE__ */ b("div", {
405
411
  role: "tree",
406
- "aria-label": Y.filesTreeAriaLabel ?? "Skill files",
412
+ "aria-label": Z.filesTreeAriaLabel ?? "Skill files",
407
413
  children: /* @__PURE__ */ b(oe, {
408
- items: qe,
414
+ items: Je,
409
415
  showFiles: !0,
410
- selectedPath: K,
416
+ selectedPath: J,
411
417
  expandedPaths: Ne,
412
418
  onExpandedPathsChange: Pe,
413
- onItemClick: Je,
414
- getContextMenuItems: Xe,
419
+ onItemClick: Ye,
420
+ getContextMenuItems: Ze,
415
421
  rootItemPath: ""
416
422
  })
417
423
  })]
418
- }), $ = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(h, {
419
- label: Y.cancelLabel ?? "Cancel",
420
- onClick: B,
424
+ }), $e = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(h, {
425
+ label: Z.cancelLabel ?? "Cancel",
426
+ onClick: H,
421
427
  disabled: T
422
428
  }), /* @__PURE__ */ b(ne, {
423
- label: Y.createLabel ?? "Create",
429
+ label: Z.createLabel ?? "Create",
424
430
  iconBefore: T ? /* @__PURE__ */ b(_, {
425
431
  size: 16,
426
432
  ariaLabel: ""
427
433
  }) : void 0,
428
- onClick: () => z(W),
434
+ onClick: () => V(q),
429
435
  disabled: T
430
436
  })] });
431
437
  return re ? /* @__PURE__ */ b("div", {
432
- dir: be,
438
+ dir: ve,
433
439
  className: "relative flex min-h-0 flex-1 flex-col",
434
440
  children: /* @__PURE__ */ b(ce, {
435
- title: U,
436
- onBack: V,
437
- backAriaLabel: H,
438
- actions: $,
441
+ title: K,
442
+ onBack: U,
443
+ backAriaLabel: W,
444
+ actions: $e,
439
445
  isSaving: !1,
440
- labels: { savingStatusLabel: Y.savingStatusLabel },
441
- styles: Z,
446
+ labels: { savingStatusLabel: Z.savingStatusLabel },
447
+ styles: qe,
442
448
  leftContent: /* @__PURE__ */ b("div", {
443
449
  role: "status",
444
- "aria-label": Y.loadingAriaLabel ?? "Loading skill",
450
+ "aria-label": Z.loadingAriaLabel ?? "Loading skill",
445
451
  className: "flex flex-1 items-center justify-center p-8",
446
452
  children: /* @__PURE__ */ b(_, {})
447
453
  })
448
454
  })
449
455
  }) : C ? /* @__PURE__ */ b("div", {
450
- dir: be,
456
+ dir: ve,
451
457
  className: "relative flex min-h-0 flex-1 flex-col",
452
458
  children: /* @__PURE__ */ b(ce, {
453
- title: U,
454
- onBack: V,
455
- backAriaLabel: H,
456
- actions: $,
459
+ title: K,
460
+ onBack: U,
461
+ backAriaLabel: W,
462
+ actions: $e,
457
463
  isSaving: !1,
458
- labels: { savingStatusLabel: Y.savingStatusLabel },
459
- styles: Z,
464
+ labels: { savingStatusLabel: Z.savingStatusLabel },
465
+ styles: qe,
460
466
  leftContent: /* @__PURE__ */ x("div", {
461
467
  role: "alert",
462
468
  className: "flex flex-col items-center gap-4 p-8",
463
- children: [/* @__PURE__ */ b(d, { text: Y.loadErrorMessage ?? "Couldn't load this skill. Please try again." }), /* @__PURE__ */ b(ne, {
464
- label: Y.retryLabel ?? "Retry",
465
- onClick: _e
469
+ children: [/* @__PURE__ */ b(d, { text: Z.loadErrorMessage ?? "Couldn't load this skill. Please try again." }), /* @__PURE__ */ b(ne, {
470
+ label: Z.retryLabel ?? "Retry",
471
+ onClick: he
466
472
  })]
467
473
  })
468
474
  })
469
475
  }) : /* @__PURE__ */ x("div", {
470
- dir: be,
476
+ dir: ve,
471
477
  className: i("relative flex min-h-0 flex-1 flex-col", le.root),
472
478
  style: Ke,
473
479
  ...Ve,
474
480
  children: [
475
- /* @__PURE__ */ b(pe, {
476
- isVisible: Be && !J,
477
- labels: ve
481
+ /* @__PURE__ */ b(fe, {
482
+ isVisible: Be && !X,
483
+ labels: ge
478
484
  }),
479
485
  /* @__PURE__ */ b(ce, {
480
- title: U,
481
- onBack: V,
482
- backAriaLabel: H,
483
- actions: $,
486
+ title: K,
487
+ onBack: U,
488
+ backAriaLabel: W,
489
+ actions: $e,
484
490
  isSaving: T,
485
- labels: { savingStatusLabel: Y.savingStatusLabel },
486
- styles: Z,
491
+ labels: { savingStatusLabel: Z.savingStatusLabel },
492
+ styles: qe,
487
493
  leftContent: /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
488
494
  className: "px-4 py-4 desktop:hidden",
489
495
  children: /* @__PURE__ */ b(o, {
490
- title: Y.editingFileLabel ?? "Editing file",
491
- description: Q?.name ?? "SKILL.md",
496
+ title: Z.editingFileLabel ?? "Editing file",
497
+ description: $?.name ?? "SKILL.md",
492
498
  expanded: Re,
493
499
  onToggle: ze,
494
- ariaLabel: Y.editingFileLabel ?? "Editing file",
495
- children: Ze
500
+ ariaLabel: Z.editingFileLabel ?? "Editing file",
501
+ children: Qe
496
502
  })
497
503
  }), /* @__PURE__ */ b("div", {
498
504
  className: "hidden px-8 py-6 desktop:block",
499
- children: Ze
505
+ children: Qe
500
506
  })] }),
501
507
  rightContent: /* @__PURE__ */ x("div", {
502
508
  className: "flex flex-1 flex-col gap-4 px-4 py-6 desktop:gap-5 desktop:px-8",
@@ -508,43 +514,37 @@ var se = {
508
514
  N != null && /* @__PURE__ */ x("div", {
509
515
  role: "alert",
510
516
  className: "flex items-center gap-2",
511
- children: [/* @__PURE__ */ b(d, { text: N.message }), /* @__PURE__ */ b(ee, {
512
- label: Y.reloadLatestLabel ?? "Reload latest",
517
+ children: [/* @__PURE__ */ b(d, { text: N.message }), /* @__PURE__ */ b(p, {
518
+ label: Z.reloadLatestLabel ?? "Reload latest",
513
519
  onClick: se
514
520
  })]
515
521
  }),
516
522
  /* @__PURE__ */ b("h2", {
517
- className: i(he.title, Ue),
518
- children: K === "SKILL.md" ? I : Y.selectedFileHeading?.(Q?.name ?? K) ?? Q?.name ?? K
523
+ className: i(G.title, Ue),
524
+ children: J === "SKILL.md" ? I : Z.selectedFileHeading?.($?.name ?? J) ?? $?.name ?? J
519
525
  }),
520
- K === "SKILL.md" ? /* @__PURE__ */ x(y, { children: [
526
+ J === "SKILL.md" ? /* @__PURE__ */ x(y, { children: [
521
527
  /* @__PURE__ */ b(m, {
522
528
  labelProps: {
523
- label: Y.nameLabel ?? "Name",
529
+ label: Z.nameLabel ?? "Name",
524
530
  required: !0
525
531
  },
526
- value: W.name,
527
- onChange: (e) => G((t) => ({
528
- ...t,
529
- name: e ?? ""
530
- })),
531
- placeholder: Y.namePlaceholder ?? "good-morning-breakfast",
532
- caption: O?.name ? void 0 : Y.nameCaption ?? "Lowercase letters and hyphens only, no spaces. We'll reformat automatically if needed.",
532
+ value: q.name,
533
+ onChange: (e) => Se({ name: e ?? "" }),
534
+ placeholder: Z.namePlaceholder ?? "good-morning-breakfast",
535
+ caption: O?.name ? void 0 : Z.nameCaption ?? "Lowercase letters and hyphens only, no spaces. We'll reformat automatically if needed.",
533
536
  error: O?.name,
534
537
  invalid: !!O?.name,
535
538
  disabled: P
536
539
  }),
537
540
  /* @__PURE__ */ b(v, {
538
541
  labelProps: {
539
- label: Y.descriptionLabel ?? "Description",
542
+ label: Z.descriptionLabel ?? "Description",
540
543
  required: !0
541
544
  },
542
- value: W.description,
543
- placeholder: Y.descriptionPlaceholder ?? "What this skill does and when to use it",
544
- onChange: (e) => G((t) => ({
545
- ...t,
546
- description: e
547
- })),
545
+ value: q.description,
546
+ placeholder: Z.descriptionPlaceholder ?? "What this skill does and when to use it",
547
+ onChange: (e) => Se({ description: e }),
548
548
  error: O?.description,
549
549
  invalid: !!O?.description
550
550
  }),
@@ -554,47 +554,44 @@ var se = {
554
554
  /* @__PURE__ */ x("span", {
555
555
  className: "flex items-center gap-0.5",
556
556
  children: [/* @__PURE__ */ b("span", {
557
- className: i(he.helperText, We),
558
- children: Y.instructionsLabel ?? "Instructions"
557
+ className: i(G.helperText, We),
558
+ children: Z.instructionsLabel ?? "Instructions"
559
559
  }), /* @__PURE__ */ b("span", {
560
560
  className: "dial-tiny-text text-error",
561
561
  children: "*"
562
562
  })]
563
563
  }),
564
564
  /* @__PURE__ */ b("div", {
565
- ref: Se,
565
+ ref: xe,
566
566
  className: i(e, t),
567
567
  children: /* @__PURE__ */ b(w, {
568
- fallback: /* @__PURE__ */ b(_, { ariaLabel: Y.instructionsLoadingAriaLabel ?? "Loading" }),
569
- children: /* @__PURE__ */ b(ge, {
570
- value: W.instructions,
571
- onChange: (e) => G((t) => ({
572
- ...t,
573
- instructions: e
574
- })),
575
- theme: xe,
576
- placeholder: Y.instructionsPlaceholder ?? "Write the skill instructions in Markdown"
568
+ fallback: /* @__PURE__ */ b(_, { ariaLabel: Z.instructionsLoadingAriaLabel ?? "Loading" }),
569
+ children: /* @__PURE__ */ b(me, {
570
+ value: q.instructions,
571
+ onChange: (e) => Se({ instructions: e }),
572
+ theme: ye,
573
+ placeholder: Z.instructionsPlaceholder ?? "Write the skill instructions in Markdown"
577
574
  })
578
575
  })
579
576
  }),
580
577
  O?.instructions != null && /* @__PURE__ */ b(d, { text: O.instructions })
581
578
  ]
582
579
  })
583
- ] }) : Q?.kind === L.File && (de ?? /* @__PURE__ */ b(s, { text: Y.supportingFileNote ?? "This supporting file is included in the skill package as-is. Remove it from the Files panel to replace its content." }))
580
+ ] }) : $?.kind === L.File && (B ?? /* @__PURE__ */ b(s, { text: Z.supportingFileNote ?? "This supporting file is included in the skill package as-is. Remove it from the Files panel to replace its content." }))
584
581
  ]
585
582
  })
586
583
  }),
587
- /* @__PURE__ */ b(me, {
588
- isOpen: J,
584
+ /* @__PURE__ */ b(pe, {
585
+ isOpen: X,
589
586
  onClose: () => {
590
587
  Fe(!1), Le(void 0);
591
588
  },
592
- fileActions: R,
589
+ fileActions: z,
593
590
  initialFiles: Ie,
594
- labels: ve
591
+ labels: ge
595
592
  })
596
593
  ]
597
594
  });
598
595
  };
599
596
  //#endregion
600
- export { le as SKILL_EDITOR_CLASS, _e as SkillEditor, z as SkillFileCandidateKind, L as SkillFileNodeKind, B as SkillFileValidationStatus };
597
+ export { le as SKILL_EDITOR_CLASS, K as SkillEditor, B as SkillFileCandidateKind, L as SkillFileNodeKind, V as SkillFileValidationStatus };
@@ -264,6 +264,16 @@ export interface SkillEditorProps {
264
264
  * returns to exactly that seeded state (`false`).
265
265
  */
266
266
  onDirtyChange?: (isDirty: boolean) => void;
267
+ /**
268
+ * Called with the complete current values whenever the user edits `name`,
269
+ * `description`, or `instructions` — including a paste into the Instructions
270
+ * editor. Not called for file-tree changes (reported through `fileActions`
271
+ * and `onDirtyChange`) and not called while seeding from `initialValues`,
272
+ * since seeding is not a user edit. The component derives no meaning from
273
+ * the values it reports; a host validating them feeds the result back
274
+ * through `errors`.
275
+ */
276
+ onValuesChange?: (values: SkillEditorValues) => void;
267
277
  /** File-tree mutation operations. */
268
278
  fileActions: SkillEditorFileActions;
269
279
  /** Called when the header back button is activated. */
@@ -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,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAA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AqF;IACrF,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IACpB,0IAA0I;IAC1I,uBAAuB,CAAC,EAAE,YAAY,CAAC;CACxC"}
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.2.0-dev.85",
4
+ "version": "1.2.0-dev.89",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -20,12 +20,12 @@
20
20
  "@tabler/icons-react": "^3.44.0",
21
21
  "@uiw/react-markdown-preview": "^5.2.1",
22
22
  "@uiw/react-md-editor": "^4.1.1",
23
- "@epam/ai-dial-builder-form": "1.2.0-dev.85"
23
+ "@epam/ai-dial-builder-form": "1.2.0-dev.89"
24
24
  },
25
25
  "peerDependencies": {
26
- "@epam/ai-dial-chat-shared": "1.2.0-dev.85",
27
- "@epam/ai-dial-ui-kit": "^0.15.0-dev.9",
28
- "@epam/ai-dial-react-file-manager": "^0.3.0-dev.2",
26
+ "@epam/ai-dial-chat-shared": "1.2.0-dev.89",
27
+ "@epam/ai-dial-ui-kit": "^0.15.0-dev.12",
28
+ "@epam/ai-dial-react-file-manager": "^0.3.0-dev.4",
29
29
  "react": "^19.2.8"
30
30
  },
31
31
  "repository": {