@epam/ai-dial-skills 1.1.16 → 1.1.18

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 (2) hide show
  1. package/index.js +3 -4
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -4,7 +4,7 @@ import { Suspense as g, useCallback as _, useEffect as v, useLayoutEffect as y,
4
4
  import { IconBlocks as C, IconEye as w, IconStarFilled as T } from "@tabler/icons-react";
5
5
  import { jsx as E, jsxs as D } from "react/jsx-runtime";
6
6
  import { DetailsPanel as O } from "@epam/ai-dial-catalog";
7
- //#region src/components/SkillInfoTooltipContent/SkillInfoTooltipContent.tsx
7
+ // src/components/SkillInfoTooltipContent/SkillInfoTooltipContent.tsx
8
8
  var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View details", onViewDetails: r }) => t == null ? /* @__PURE__ */ D("div", {
9
9
  className: "flex flex-col gap-3",
10
10
  children: [e != null && e !== "" && /* @__PURE__ */ E("p", {
@@ -222,9 +222,9 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
222
222
  x,
223
223
  y
224
224
  ]), q = _((e) => e == null || e.length === 0 ? null : e.map((e) => {
225
- let t = P.get(e.url);
225
+ let t = P.get(e.url), n = t?.name ?? z(e.url);
226
226
  return /* @__PURE__ */ E(A, {
227
- name: t?.name ?? z(e.url),
227
+ name: n,
228
228
  path: e.url,
229
229
  labelClassName: u,
230
230
  description: t?.description,
@@ -336,5 +336,4 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
336
336
  renderHistorySkills: () => null
337
337
  };
338
338
  };
339
- //#endregion
340
339
  export { A as ChatSkill, F as FavoriteSkillsPanel, I as SkillCatalogModal, L as SkillDetailsSidePanel, k as SkillInfoTooltipContent, R as buildFavoriteSkillItem, B as useSkillSelectorOverlay };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-skills",
3
3
  "description": "Host-agnostic UI for picking a favorite skill to attach to a chat input",
4
- "version": "1.1.16",
4
+ "version": "1.1.18",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@tabler/icons-react": "^3.44.0",
21
- "@epam/ai-dial-catalog": "1.1.16",
22
- "@epam/ai-dial-conversation-input": "1.1.16"
21
+ "@epam/ai-dial-catalog": "1.1.18",
22
+ "@epam/ai-dial-conversation-input": "1.1.18"
23
23
  },
24
24
  "peerDependencies": {
25
- "@epam/ai-dial-chat-shared": "1.1.16",
25
+ "@epam/ai-dial-chat-shared": "1.1.18",
26
26
  "@epam/ai-dial-ui-kit": "^0.14.2",
27
27
  "react": "^19.2.8"
28
28
  },