@epam/ai-dial-skill-editor 1.1.0-dev.184 → 1.1.0-dev.188

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":"AAoBA,OAAO,EAEL,EAAE,EASH,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,iCAAiC,CAAC;AAmBzC,qFAAqF;AACrF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA2b5C,CAAC"}
1
+ {"version":3,"file":"SkillEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SkillEditor/SkillEditor.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAEL,EAAE,EASH,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,iCAAiC,CAAC;AAmBzC,qFAAqF;AACrF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA6b5C,CAAC"}
package/index.js CHANGED
@@ -63,7 +63,7 @@ var b = "SKILL.md", x = /* @__PURE__ */ function(e) {
63
63
  }, ue = u(async () => {
64
64
  let { MarkdownEditor: e } = await s();
65
65
  return { default: e };
66
- }), T = ({ initialValues: n, files: s, selectedPath: u, onSelectedPathChange: S, expandedPaths: C, onExpandedPathsChange: T, isLoading: de = !1, hasLoadError: fe = !1, isSubmitting: E = !1, errors: D, submitError: O, conflict: k, onReloadLatest: pe, isNameReadOnly: me = !1, onDirtyChange: A, fileActions: j, headerContent: he, onSubmit: ge, onCancel: _e, onRetry: ve, labels: ye, styles: M, dir: be, instructionsEditorTheme: xe = "light" }) => {
66
+ }), T = ({ initialValues: n, files: s, selectedPath: u, onSelectedPathChange: S, expandedPaths: C, onExpandedPathsChange: T, isLoading: de = !1, hasLoadError: fe = !1, isSubmitting: E = !1, errors: D, submitError: O, conflict: k, onReloadLatest: pe, isNameReadOnly: me = !1, onDirtyChange: A, fileActions: j, headerContent: he, supportingFileContent: ge, onSubmit: _e, onCancel: ve, onRetry: ye, labels: be, styles: M, dir: xe, instructionsEditorTheme: Se = "light" }) => {
67
67
  let [N, P] = g({
68
68
  name: n?.name ?? "",
69
69
  description: n?.description ?? "",
@@ -90,26 +90,26 @@ var b = "SKILL.md", x = /* @__PURE__ */ function(e) {
90
90
  n,
91
91
  A
92
92
  ]);
93
- let [Se, Ce] = g(b), R = u ?? Se, z = d((e) => {
93
+ let [R, Ce] = g(b), z = u ?? R, B = d((e) => {
94
94
  Ce(e), S?.(e);
95
- }, [S]), [we, Te] = g([]), B = C ?? we, Ee = m(() => new Set(B), [B]), De = d((e) => {
95
+ }, [S]), [we, Te] = g([]), V = C ?? we, Ee = m(() => new Set(V), [V]), De = d((e) => {
96
96
  let t = [...e];
97
97
  Te(t), T?.(t);
98
- }, [T]), [V, H] = g(null), [U, W] = g(), G = h(null), [Oe, ke] = g(!0), K = ye ?? {}, q = M?.colors, J = M?.typography ?? {}, Y = J.titleClassName ?? "dial-body-semi-text", Ae = J.helperTextClassName ?? "dial-tiny-semi-text", je = e({
99
- "--se-title-color": q?.title,
100
- "--se-helper-text-color": q?.helperText,
101
- "--se-border-color": q?.border
98
+ }, [T]), [H, U] = g(null), [W, G] = g(), K = h(null), [Oe, ke] = g(!0), q = be ?? {}, J = M?.colors, Y = M?.typography ?? {}, X = Y.titleClassName ?? "dial-body-semi-text", Ae = Y.helperTextClassName ?? "dial-tiny-semi-text", je = e({
99
+ "--se-title-color": J?.title,
100
+ "--se-helper-text-color": J?.helperText,
101
+ "--se-border-color": J?.border
102
102
  }), Me = m(() => le([{
103
103
  path: b,
104
104
  name: b,
105
105
  kind: x.File
106
- }, ...s]), [s]), X = m(() => s.find((e) => e.path === R), [s, R]), Z = d((e) => {
107
- z(e.path);
108
- }, [z]), Ne = d((e) => e.path === "SKILL.md" ? [] : [{
106
+ }, ...s]), [s]), Z = m(() => s.find((e) => e.path === z), [s, z]), Ne = d((e) => {
107
+ B(e.path);
108
+ }, [B]), Pe = d((e) => e.path === "SKILL.md" ? [] : [{
109
109
  key: "remove",
110
110
  label: /* @__PURE__ */ v("span", {
111
111
  className: "text-error",
112
- children: K.removeLabel ?? "Remove"
112
+ children: q.removeLabel ?? "Remove"
113
113
  }),
114
114
  danger: !0,
115
115
  icon: /* @__PURE__ */ v(se, {
@@ -117,86 +117,86 @@ var b = "SKILL.md", x = /* @__PURE__ */ function(e) {
117
117
  className: "text-error",
118
118
  "aria-hidden": !0
119
119
  }),
120
- onClick: () => H(e.path)
121
- }], [K.removeLabel]), Pe = async (e) => {
120
+ onClick: () => U(e.path)
121
+ }], [q.removeLabel]), Fe = async (e) => {
122
122
  let t = e.target.files?.[0];
123
123
  if (e.target.value = "", !t) return;
124
124
  let n = j.validatePath(t.name);
125
125
  if (n) {
126
- W(n);
126
+ G(n);
127
127
  return;
128
128
  }
129
- W(void 0);
129
+ G(void 0);
130
130
  try {
131
131
  await j.onUploadFile(t, t.name);
132
132
  } catch (e) {
133
- W(e instanceof Error ? e.message : String(e));
133
+ G(e instanceof Error ? e.message : String(e));
134
134
  }
135
- }, Fe = p(), Ie = p(), Q = /* @__PURE__ */ y("div", {
135
+ }, Ie = p(), Le = p(), Q = /* @__PURE__ */ y("div", {
136
136
  className: "flex flex-col gap-2 desktop:gap-5",
137
137
  children: [
138
138
  /* @__PURE__ */ y("div", {
139
139
  className: "flex items-center justify-between",
140
140
  children: [/* @__PURE__ */ v("span", {
141
- className: t(w.title, Y),
142
- children: K.filesHeading ?? "Files"
141
+ className: t(w.title, X),
142
+ children: q.filesHeading ?? "Files"
143
143
  }), /* @__PURE__ */ v(ie, {
144
- label: K.addUploadLabel ?? "Upload from device",
144
+ label: q.addUploadLabel ?? "Upload from device",
145
145
  iconBefore: /* @__PURE__ */ v(oe, {
146
146
  size: 16,
147
147
  "aria-hidden": !0
148
148
  }),
149
- onClick: () => G.current?.click()
149
+ onClick: () => K.current?.click()
150
150
  })]
151
151
  }),
152
152
  /* @__PURE__ */ v("input", {
153
- ref: G,
153
+ ref: K,
154
154
  type: "file",
155
155
  className: "hidden",
156
- onChange: Pe
156
+ onChange: Fe
157
157
  }),
158
- U && /* @__PURE__ */ v(a, { text: U }),
158
+ W && /* @__PURE__ */ v(a, { text: W }),
159
159
  /* @__PURE__ */ v("div", {
160
- id: Fe,
160
+ id: Ie,
161
161
  role: "tree",
162
- "aria-label": K.filesTreeAriaLabel ?? "Skill files",
162
+ "aria-label": q.filesTreeAriaLabel ?? "Skill files",
163
163
  children: /* @__PURE__ */ v(r, {
164
164
  items: Me,
165
165
  showFiles: !0,
166
- selectedPath: R,
166
+ selectedPath: z,
167
167
  expandedPaths: Ee,
168
168
  onExpandedPathsChange: De,
169
- onItemClick: Z,
170
- getContextMenuItems: Ne,
169
+ onItemClick: Ne,
170
+ getContextMenuItems: Pe,
171
171
  rootItemPath: ""
172
172
  })
173
173
  })
174
174
  ]
175
- }), Le = E ? K.savingStatusLabel ?? "Saving" : "", $ = /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(o, {
176
- label: K.cancelLabel ?? "Cancel",
177
- onClick: _e,
175
+ }), Re = E ? q.savingStatusLabel ?? "Saving" : "", $ = /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(o, {
176
+ label: q.cancelLabel ?? "Cancel",
177
+ onClick: ve,
178
178
  disabled: E
179
179
  }), /* @__PURE__ */ v(c, {
180
- label: K.createLabel ?? "Create",
180
+ label: q.createLabel ?? "Create",
181
181
  iconBefore: E ? /* @__PURE__ */ v(l, {
182
182
  size: 16,
183
183
  ariaLabel: ""
184
184
  }) : void 0,
185
- onClick: () => ge(N),
185
+ onClick: () => _e(N),
186
186
  disabled: E
187
187
  })] });
188
188
  return de ? /* @__PURE__ */ v("div", {
189
189
  className: "flex h-full items-center justify-center",
190
- children: /* @__PURE__ */ v(l, { ariaLabel: K.loadingAriaLabel ?? "Loading skill" })
190
+ children: /* @__PURE__ */ v(l, { ariaLabel: q.loadingAriaLabel ?? "Loading skill" })
191
191
  }) : fe ? /* @__PURE__ */ y("div", {
192
192
  role: "alert",
193
193
  className: "flex flex-col items-center gap-4 p-8",
194
- children: [/* @__PURE__ */ v(a, { text: K.loadErrorMessage ?? "Couldn't load this skill. Please try again." }), /* @__PURE__ */ v(c, {
195
- label: K.retryLabel ?? "Retry",
196
- onClick: ve
194
+ children: [/* @__PURE__ */ v(a, { text: q.loadErrorMessage ?? "Couldn't load this skill. Please try again." }), /* @__PURE__ */ v(c, {
195
+ label: q.retryLabel ?? "Retry",
196
+ onClick: ye
197
197
  })]
198
198
  }) : /* @__PURE__ */ y("div", {
199
- dir: be,
199
+ dir: xe,
200
200
  className: "flex h-full flex-col",
201
201
  style: je,
202
202
  children: [
@@ -204,8 +204,8 @@ var b = "SKILL.md", x = /* @__PURE__ */ function(e) {
204
204
  role: "status",
205
205
  "aria-live": "polite",
206
206
  className: "sr-only",
207
- id: Ie,
208
- children: Le
207
+ id: Le,
208
+ children: Re
209
209
  }),
210
210
  O && /* @__PURE__ */ v("div", {
211
211
  role: "alert",
@@ -216,7 +216,7 @@ var b = "SKILL.md", x = /* @__PURE__ */ function(e) {
216
216
  role: "alert",
217
217
  className: "flex items-center gap-2 px-4 pt-2",
218
218
  children: [/* @__PURE__ */ v(a, { text: k.message }), /* @__PURE__ */ v(o, {
219
- label: K.reloadLatestLabel ?? "Reload latest",
219
+ label: q.reloadLatestLabel ?? "Reload latest",
220
220
  onClick: pe
221
221
  })]
222
222
  }),
@@ -236,11 +236,11 @@ var b = "SKILL.md", x = /* @__PURE__ */ function(e) {
236
236
  /* @__PURE__ */ v("div", {
237
237
  className: "desktop:hidden",
238
238
  children: /* @__PURE__ */ v(i, {
239
- title: K.editingFileLabel ?? "Editing file",
240
- description: X?.name ?? "SKILL.md",
239
+ title: q.editingFileLabel ?? "Editing file",
240
+ description: Z?.name ?? "SKILL.md",
241
241
  expanded: Oe,
242
242
  onToggle: ke,
243
- ariaLabel: K.editingFileLabel ?? "Editing file",
243
+ ariaLabel: q.editingFileLabel ?? "Editing file",
244
244
  children: Q
245
245
  })
246
246
  }),
@@ -249,14 +249,14 @@ var b = "SKILL.md", x = /* @__PURE__ */ function(e) {
249
249
  children: Q
250
250
  }),
251
251
  /* @__PURE__ */ y("div", {
252
- className: "flex flex-1 flex-col gap-4 desktop:gap-5 desktop:px-8 desktop:py-6",
252
+ className: "flex min-w-0 flex-1 flex-col gap-4 desktop:gap-5 desktop:px-8 desktop:py-6",
253
253
  children: [/* @__PURE__ */ v("h2", {
254
- className: t(w.title, Y),
255
- children: R === "SKILL.md" ? b : K.selectedFileHeading?.(X?.name ?? R) ?? X?.name ?? R
256
- }), R === "SKILL.md" ? /* @__PURE__ */ y(_, { children: [
254
+ className: t(w.title, X),
255
+ children: z === "SKILL.md" ? b : q.selectedFileHeading?.(Z?.name ?? z) ?? Z?.name ?? z
256
+ }), z === "SKILL.md" ? /* @__PURE__ */ y(_, { children: [
257
257
  /* @__PURE__ */ v(re, {
258
258
  labelProps: {
259
- label: K.nameLabel ?? "Name",
259
+ label: q.nameLabel ?? "Name",
260
260
  required: !0
261
261
  },
262
262
  value: N.name,
@@ -264,19 +264,19 @@ var b = "SKILL.md", x = /* @__PURE__ */ function(e) {
264
264
  ...t,
265
265
  name: e ?? ""
266
266
  })),
267
- placeholder: K.namePlaceholder ?? "good-morning-breakfast",
268
- caption: D?.name ? void 0 : K.nameCaption ?? "Lowercase letters and hyphens only, no spaces. We'll reformat automatically if needed.",
267
+ placeholder: q.namePlaceholder ?? "good-morning-breakfast",
268
+ caption: D?.name ? void 0 : q.nameCaption ?? "Lowercase letters and hyphens only, no spaces. We'll reformat automatically if needed.",
269
269
  error: D?.name,
270
270
  invalid: !!D?.name,
271
271
  disabled: me
272
272
  }),
273
273
  /* @__PURE__ */ v(ae, {
274
274
  labelProps: {
275
- label: K.descriptionLabel ?? "Description",
275
+ label: q.descriptionLabel ?? "Description",
276
276
  required: !0
277
277
  },
278
278
  value: N.description,
279
- placeholder: K.descriptionPlaceholder ?? "What this skill does and when to use it",
279
+ placeholder: q.descriptionPlaceholder ?? "What this skill does and when to use it",
280
280
  onChange: (e) => P((t) => ({
281
281
  ...t,
282
282
  description: e
@@ -291,28 +291,28 @@ var b = "SKILL.md", x = /* @__PURE__ */ function(e) {
291
291
  className: "flex items-center gap-0.5",
292
292
  children: [/* @__PURE__ */ v("span", {
293
293
  className: t(w.helperText, Ae),
294
- children: K.instructionsLabel ?? "Instructions"
294
+ children: q.instructionsLabel ?? "Instructions"
295
295
  }), /* @__PURE__ */ v("span", {
296
296
  className: "dial-tiny-text text-error",
297
297
  children: "*"
298
298
  })]
299
299
  }),
300
300
  /* @__PURE__ */ v(ce, {
301
- fallback: /* @__PURE__ */ v(l, { ariaLabel: K.instructionsLoadingAriaLabel ?? "Loading" }),
301
+ fallback: /* @__PURE__ */ v(l, { ariaLabel: q.instructionsLoadingAriaLabel ?? "Loading" }),
302
302
  children: /* @__PURE__ */ v(ue, {
303
303
  value: N.instructions,
304
304
  onChange: (e) => P((t) => ({
305
305
  ...t,
306
306
  instructions: e
307
307
  })),
308
- theme: xe,
309
- placeholder: K.instructionsPlaceholder ?? "Write the skill instructions in Markdown"
308
+ theme: Se,
309
+ placeholder: q.instructionsPlaceholder ?? "Write the skill instructions in Markdown"
310
310
  })
311
311
  }),
312
312
  D?.instructions && /* @__PURE__ */ v(a, { text: D.instructions })
313
313
  ]
314
314
  })
315
- ] }) : X?.kind !== x.Folder && /* @__PURE__ */ v(ee, { text: K.supportingFileNote ?? "This supporting file is included in the skill package as-is. Remove it from the Files panel to replace its content." })]
315
+ ] }) : Z?.kind === x.File && (ge ?? /* @__PURE__ */ v(ee, { text: q.supportingFileNote ?? "This supporting file is included in the skill package as-is. Remove it from the Files panel to replace its content." }))]
316
316
  })
317
317
  ]
318
318
  }),
@@ -320,16 +320,16 @@ var b = "SKILL.md", x = /* @__PURE__ */ function(e) {
320
320
  className: t("fixed inset-x-0 bottom-0 flex items-center gap-2 border-t p-3 desktop:hidden", w.actionBarBorder),
321
321
  children: $
322
322
  }),
323
- V && /* @__PURE__ */ v(te, {
324
- header: K.removeConfirmTitle ?? "Remove file",
325
- description: K.removeConfirmMessage?.(V) ?? `Remove "${V}"? This cannot be undone.`,
326
- confirmLabel: K.removeConfirmLabel ?? "Remove",
327
- cancelLabel: K.removeCancelLabel ?? "Cancel",
323
+ H && /* @__PURE__ */ v(te, {
324
+ header: q.removeConfirmTitle ?? "Remove file",
325
+ description: q.removeConfirmMessage?.(H) ?? `Remove "${H}"? This cannot be undone.`,
326
+ confirmLabel: q.removeConfirmLabel ?? "Remove",
327
+ cancelLabel: q.removeCancelLabel ?? "Cancel",
328
328
  variant: ne.Danger,
329
329
  onConfirm: () => {
330
- j.onRemoveNode(V), R === V && z("SKILL.md"), H(null);
330
+ j.onRemoveNode(H), z === H && B("SKILL.md"), U(null);
331
331
  },
332
- onCancel: () => H(null)
332
+ onCancel: () => U(null)
333
333
  })
334
334
  ]
335
335
  });
@@ -203,6 +203,14 @@ export interface SkillEditorProps {
203
203
  * library renders it verbatim with no knowledge of what it contains.
204
204
  */
205
205
  headerContent?: ReactNode;
206
+ /**
207
+ * Host-rendered content shown in the main pane in place of `labels.supportingFileNote`
208
+ * whenever the currently selected node is a supporting file (not `SKILL.md`, not a
209
+ * folder). The library renders it verbatim with no knowledge of what it contains — it
210
+ * only decides *when* to show it, mirroring the `headerContent` pattern. Falls back to
211
+ * `labels.supportingFileNote` when omitted.
212
+ */
213
+ supportingFileContent?: ReactNode;
206
214
  /** Called with the current values when the form is submitted. */
207
215
  onSubmit: (values: SkillEditorValues) => void;
208
216
  /** Called when the form is dismissed without saving. */
@@ -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,SAAS,EAAE,MAAM,OAAO,C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,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,qCAAqC;IACrC,WAAW,EAAE,sBAAsB,CAAC;IACpC;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;;;;;OAMG;IACH,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,iEAAiE;IACjE,QAAQ,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C,wDAAwD;IACxD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,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,+HAA+H;IAC/H,uBAAuB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC5C"}
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.1.0-dev.184",
4
+ "version": "1.1.0-dev.188",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -16,7 +16,7 @@
16
16
  }
17
17
  },
18
18
  "peerDependencies": {
19
- "@epam/ai-dial-chat-shared": "1.1.0-dev.184",
19
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.188",
20
20
  "@epam/ai-dial-ui-kit": "^0.13.0-dev.26",
21
21
  "@epam/ai-dial-react-file-manager": "^0.1.0-dev.17",
22
22
  "@tabler/icons-react": "^3.0.0",