@epam/ai-dial-skills 1.2.5 → 1.3.0-dev.102

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":"ChatSkill.d.ts","sourceRoot":"","sources":["../../../src/components/ChatSkill/ChatSkill.tsx"],"names":[],"mappings":"AAMA,OAAO,EAA6B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAGpE;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAyJxC,CAAC"}
1
+ {"version":3,"file":"ChatSkill.d.ts","sourceRoot":"","sources":["../../../src/components/ChatSkill/ChatSkill.tsx"],"names":[],"mappings":"AAMA,OAAO,EAA6B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAGpE;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAyJxC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FavoriteSkillsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/FavoriteSkillsPanel/FavoriteSkillsPanel.tsx"],"names":[],"mappings":"AAaA,OAAO,EAML,KAAK,EAAE,EAER,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AAYzF,sHAAsH;AACtH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAqT5D,CAAC"}
1
+ {"version":3,"file":"FavoriteSkillsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/FavoriteSkillsPanel/FavoriteSkillsPanel.tsx"],"names":[],"mappings":"AAaA,OAAO,EAML,KAAK,EAAE,EAER,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AAYzF,sHAAsH;AACtH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAsT5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SkillInfoTooltipContent.d.ts","sourceRoot":"","sources":["../../../src/components/SkillInfoTooltipContent/SkillInfoTooltipContent.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAGlG,qLAAqL;AACrL,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA4EpE,CAAC"}
1
+ {"version":3,"file":"SkillInfoTooltipContent.d.ts","sourceRoot":"","sources":["../../../src/components/SkillInfoTooltipContent/SkillInfoTooltipContent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAGlG,qLAAqL;AACrL,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAoFpE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const SKILL_INFO_TOOLTIP_CONTENT_CLASS_NAME = "max-h-[280px] max-w-[min(420px,calc(100vw-10px))] overflow-y-auto";
2
+ //# sourceMappingURL=skill-info-tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-info-tooltip.d.ts","sourceRoot":"","sources":["../../src/constants/skill-info-tooltip.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,qCAAqC,sEACmB,CAAC"}
@@ -7,5 +7,5 @@ import { UseSkillSelectorOverlayOptions, UseSkillSelectorOverlayResult } from '.
7
7
  * listing data, favorites state, labels, the deployment-support signal, and
8
8
  * the modal/panel components.
9
9
  */
10
- export declare const useSkillSelectorOverlay: ({ isSkillsSupported, skills, sharedWithMe, publicSkills, favoriteIds, viewerBucket, onToggleFavorite, labels, historyChipLabelClassName, activeMentionLabelClassName, activeMentionDetailsTrigger, historyDetailsTrigger, renderCatalogContent, detailsPanelComponent: DetailsPanelComponent, }: UseSkillSelectorOverlayOptions) => UseSkillSelectorOverlayResult;
10
+ export declare const useSkillSelectorOverlay: ({ isSkillsSupported, skills, sharedWithMe, publicSkills, favoriteIds, viewerBucket, onToggleFavorite, labels, historyChipLabelClassName, activeMentionLabelClassName, activeMentionDetailsTrigger, historyDetailsTrigger, isRowTooltipHidden, renderCatalogContent, detailsPanelComponent: DetailsPanelComponent, }: UseSkillSelectorOverlayOptions) => UseSkillSelectorOverlayResult;
11
11
  //# sourceMappingURL=useSkillSelectorOverlay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSkillSelectorOverlay.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSkillSelectorOverlay/useSkillSelectorOverlay.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,qCAAqC,CAAC;AAsB7C;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,GAAI,iSAerC,8BAA8B,KAAG,6BAgjBnC,CAAC"}
1
+ {"version":3,"file":"useSkillSelectorOverlay.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSkillSelectorOverlay/useSkillSelectorOverlay.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,qCAAqC,CAAC;AAsB7C;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,GAAI,qTAgBrC,8BAA8B,KAAG,6BAujBnC,CAAC"}
package/index.css CHANGED
@@ -1,2 +1,3 @@
1
1
  ._row_1v431_1:hover,._row_1v431_1:focus-visible,._row_1v431_1[aria-selected=true]{background:var(--fs-row-hover-bg,var(--bg-layer-sunken,#eef1f7))}._header_1v431_8{color:var(--fs-header-text,var(--text-tertiary,#848e9c))}._emptyHint_1v431_12{color:var(--fs-empty-hint-text,var(--text-icon-tertiary,#848e9c))}._star_1v431_16{color:var(--fs-star-color,var(--text-warning-icon,#eec840))}._footer_1v431_20{border-top-color:var(--fs-footer-border,var(--stroke-tertiary,#e0e6f0))}._rowEnter_1v431_28{animation:.2s ease-out _rowFadeIn_1v431_1}._rowLeaving_1v431_32{pointer-events:none;animation:.18s ease-out forwards _rowFadeOut_1v431_1}@keyframes _rowFadeIn_1v431_1{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes _rowFadeOut_1v431_1{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.96)}}._listContent_1v431_60{transition:max-height .2s}@media (prefers-reduced-motion:reduce){._rowEnter_1v431_28,._rowLeaving_1v431_32{animation:none}._listContent_1v431_60{transition:none}}._background_1ult0_1{background:var(--ssf-bg)}._border_1ult0_5{border-color:var(--ssf-border)}._value_1ult0_9{color:var(--ssf-text)}._clear_1ult0_13{margin-block:-.5rem}._invalid_1ult0_17{color:var(--ssf-error,var(--text-error,#ae2f2f));border-color:var(--ssf-error,var(--text-error,#ae2f2f))}._invalid_1ult0_17 input{color:var(--ssf-error,var(--text-error,#ae2f2f))}
2
- /*$vite$:1*/.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.top-0{top:0}.-me-1{margin-inline-end:-.25rem}.-ms-1{margin-inline-start:-.25rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-\[24px\]{height:24px}.h-\[min\(80vh\2c 840px\)\]{height:min(80vh,840px)}.h-\[min\(90vh\2c 860px\)\]{height:min(90vh,860px)}.max-h-72{max-height:18rem}.min-h-0{min-height:0}.w-\[min\(var\(--reference-width\)\2c calc\(100vw-2rem\)\)\]{width:min(var(--reference-width),calc(100vw - 2rem))}.w-full{width:100%}.min-w-0{min-width:0}.\!max-w-\[min\(95vw\2c 1200px\)\]{max-width:min(95vw,1200px)!important}.max-w-\[550px\]{max-width:550px}.max-w-\[min\(550px\2c calc\(100vw-10px\)\)\]{max-width:min(550px,calc(100vw - 10px))}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}.resize{resize:both}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.self-start{align-self:flex-start}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-transparent{border-color:transparent}.bg-error{background-color:var(--bg-error,#f3d6d8)}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pe-1{padding-inline-end:.25rem}.ps-1{padding-inline-start:.25rem}.pt-2{padding-top:.5rem}.text-start{text-align:start}.text-accent{color:var(--text-accent,#1d4ed8)}.text-error{color:var(--text-error,#ae2f2f)}.text-primary{color:var(--text-primary,#161b2d)}.text-secondary{color:var(--text-secondary,#57647a)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-info:hover{background-color:var(--bg-info,#e1eaf9)}.focus-visible\:bg-info:focus-visible{background-color:var(--bg-info,#e1eaf9)}.active\:bg-info:active{background-color:var(--bg-info,#e1eaf9)}@media (max-width:1279px){.mobile\:h-full{height:100%}.mobile\:\!max-w-full{max-width:100%!important}.mobile\:rounded-none{border-radius:0}.mobile\:p-0{padding:0}}@media (min-width:1280px){.desktop\:inline{display:inline}.desktop\:hidden{display:none}.desktop\:w-\[280px\]{width:280px}}
2
+ /*$vite$:1*//*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
3
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-0{top:0}.-ms-1{margin-inline-start:-.25rem}.-me-1{margin-inline-end:-.25rem}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.h-\[min\(80vh\,840px\)\]{height:min(80vh,840px)}.h-\[min\(90vh\,860px\)\]{height:min(90vh,860px)}.max-h-72{max-height:18rem}.max-h-\[280px\]{max-height:280px}.min-h-0{min-height:0}.w-\[min\(var\(--reference-width\)\,calc\(100vw-2rem\)\)\]{width:min(var(--reference-width), calc(100vw - 2rem))}.w-full{width:100%}.max-w-\[min\(95vw\,1200px\)\]\!{max-width:min(95vw,1200px)!important}.max-w-\[min\(420px\,calc\(100vw-10px\)\)\]{max-width:min(420px,100vw - 10px)}.max-w-full{max-width:100%}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:.5rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-transparent{border-color:#0000}.bg-error{background-color:var(--bg-error,#f3d6d8)}.px-1{padding-inline:.25rem}.px-2{padding-inline:.5rem}.px-3{padding-inline:.75rem}.px-4{padding-inline:1rem}.px-6{padding-inline:1.5rem}.py-1\.5{padding-block:.375rem}.py-3{padding-block:.75rem}.py-4{padding-block:1rem}.ps-1{padding-inline-start:.25rem}.pe-1{padding-inline-end:.25rem}.pt-2{padding-top:.5rem}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.text-start{text-align:start}.text-accent{color:var(--text-accent,#1d4ed8)}.text-error{color:var(--text-error,#ae2f2f)}.text-primary{color:var(--text-primary,#161b2d)}.text-secondary{color:var(--text-secondary,#57647a)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}@media (hover:hover){.hover\:bg-info:hover{background-color:var(--bg-info,#e1eaf9)}}.focus-visible\:bg-info:focus-visible,.active\:bg-info:active{background-color:var(--bg-info,#e1eaf9)}@media (max-width:1279px){.mobile\:h-full{height:100%}.mobile\:max-w-full\!{max-width:100%!important}.mobile\:rounded-none{border-radius:0}.mobile\:p-0{padding:0}}@media (min-width:1280px){.desktop\:hidden{display:none}.desktop\:inline{display:inline}.desktop\:w-\[280px\]{width:280px}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
package/index.js CHANGED
@@ -1,59 +1,60 @@
1
1
  import { DeploymentIcon as e, buildCssVars as t, isSkillSelectionUnsupported as n, mergeClasses as r } from "@epam/ai-dial-chat-shared";
2
- import { BASE_ICON_SIZE as i, Button as a, ButtonAppearance as o, ButtonVariant as s, DIAL_ICON_SIZE as c, DIAL_KIT_ICON_STROKE as l, FileDropzone as u, GhostButton as d, Highlight as f, InteractiveTooltip as p, InteractiveTooltipTrigger as m, Popup as h, PopupSize as g, Select as _, Spinner as v, ToggleIconButton as y, Tooltip as b, TooltipPlacement as x } from "@epam/ai-dial-ui-kit";
3
- import { Suspense as S, useCallback as C, useEffect as w, useId as T, useLayoutEffect as ee, useMemo as E, useRef as D, useState as O } from "react";
4
- import { IconBlocks as te, IconEye as k, IconLock as A, IconStarFilled as j, IconTrash as M } from "@tabler/icons-react";
5
- import { Fragment as N, jsx as P, jsxs as F } from "react/jsx-runtime";
6
- import { DialFileNodeType as I, DialFoldersTree as L } from "@epam/ai-dial-react-file-manager";
7
- import { CatalogContentNodeType as R, DetailsPanel as z } from "@epam/ai-dial-catalog";
2
+ import { BASE_ICON_SIZE as i, Button as a, ButtonAppearance as o, ButtonVariant as s, DIAL_ICON_SIZE as c, DIAL_KIT_ICON_STROKE as l, ElementSize as u, FileDropzone as d, GhostButton as f, Highlight as p, InteractiveTooltip as m, InteractiveTooltipTrigger as h, Popup as g, PopupSize as _, Select as v, Spinner as y, ToggleIconButton as b, Tooltip as x, TooltipPlacement as S } from "@epam/ai-dial-ui-kit";
3
+ import { Suspense as C, useCallback as w, useEffect as T, useId as E, useLayoutEffect as ee, useMemo as D, useRef as O, useState as k } from "react";
4
+ import { IconBlocks as A, IconEye as j, IconLock as M, IconStarFilled as N, IconTrash as te } from "@tabler/icons-react";
5
+ import { Fragment as P, jsx as F, jsxs as I } from "react/jsx-runtime";
6
+ import { DialFileNodeType as L, DialFoldersTree as R } from "@epam/ai-dial-react-file-manager";
7
+ import { CatalogContentNodeType as ne, DetailsPanel as z } from "@epam/ai-dial-catalog";
8
8
  //#region src/constants/public-class-names.ts
9
9
  var B = {
10
10
  selectorField: "dial-skills-selector-field",
11
11
  favoritesPanel: "dial-skills-favorites-panel",
12
12
  chip: "dial-skills-chip"
13
- }, V = /* @__PURE__ */ function(e) {
13
+ }, V = "max-h-[280px] max-w-[min(420px,calc(100vw-10px))] overflow-y-auto", H = /* @__PURE__ */ function(e) {
14
14
  return e.Deleted = "deleted", e.NotShared = "not-shared", e;
15
- }({}), H = ({ description: e, unsupportedMessage: t, unresolvedReason: n, deletedMessage: r, notSharedMessage: i, viewDetailsLabel: u = "View details", onViewDetails: d, viewDetailsTabIndex: f }) => {
15
+ }({}), U = ({ description: e, unsupportedMessage: t, unresolvedReason: n, deletedMessage: i, notSharedMessage: d, viewDetailsLabel: f = "View details", onViewDetails: p, viewDetailsTabIndex: m, textClassName: h = "dial-tiny-text" }) => {
16
16
  if (n != null) {
17
- let e = n === V.Deleted, t = e ? M : A, a = e ? r : i;
18
- return /* @__PURE__ */ F("div", {
17
+ let e = n === H.Deleted, t = e ? te : M, a = e ? i : d;
18
+ return /* @__PURE__ */ I("div", {
19
19
  className: "flex flex-row items-center gap-2",
20
- children: [/* @__PURE__ */ P(t, {
20
+ children: [/* @__PURE__ */ F(t, {
21
21
  size: c.MD,
22
22
  stroke: l,
23
23
  "aria-hidden": !0,
24
24
  className: "shrink-0 text-secondary"
25
- }), /* @__PURE__ */ P("p", {
26
- className: "dial-tiny-text text-start text-primary",
25
+ }), /* @__PURE__ */ F("p", {
26
+ className: r(h, "text-start text-primary"),
27
27
  children: a
28
28
  })]
29
29
  });
30
30
  }
31
- return t == null ? /* @__PURE__ */ F("div", {
31
+ return t == null ? /* @__PURE__ */ I("div", {
32
32
  className: "flex flex-col gap-3",
33
- children: [e != null && e !== "" && /* @__PURE__ */ P("p", {
34
- className: "text-start",
33
+ children: [e != null && e !== "" && /* @__PURE__ */ F("p", {
34
+ className: r(h, "text-start"),
35
35
  children: e
36
- }), /* @__PURE__ */ P(a, {
36
+ }), /* @__PURE__ */ F(a, {
37
37
  variant: s.Primary,
38
38
  appearance: o.Link,
39
- className: "h-[24px] self-start",
40
- label: u,
41
- iconBefore: /* @__PURE__ */ P(k, {
39
+ size: u.Small,
40
+ className: "self-start",
41
+ label: f,
42
+ iconBefore: /* @__PURE__ */ F(j, {
42
43
  size: c.SM,
43
44
  stroke: l,
44
45
  "aria-hidden": !0
45
46
  }),
46
- onClick: d,
47
- tabIndex: f
47
+ onClick: p,
48
+ tabIndex: m
48
49
  })]
49
- }) : /* @__PURE__ */ P("p", {
50
- className: "text-start",
50
+ }) : /* @__PURE__ */ F("p", {
51
+ className: r(h, "text-start"),
51
52
  children: t
52
53
  });
53
- }, U = ({ name: e, path: t, description: n, isUnsupported: i = !1, unresolvedReason: a, labelClassName: o = "dial-body-paragraph-text text-accent", unsupportedLabelClassName: s = "text-error", unsupportedClassName: c = "bg-error", detailsTrigger: l = "hover", onViewDetails: u, labels: d = {} }) => {
54
- let { viewDetailsLabel: f = "View details", unsupportedTooltipLabel: h = "Selected model does not support skills. Remove the skill or select different model to proceed.", deletedTooltipLabel: g = "This skill has been deleted. Its details are no longer available.", notSharedTooltipLabel: _ = "You don't have access to this skill, so its details aren't shown. Ask the chat owner to share it with you." } = d, [v, y] = O(0), b = l === "click", S = () => {
54
+ }, W = ({ name: e, path: t, description: n, isUnsupported: i = !1, unresolvedReason: a, labelClassName: o = "dial-body-paragraph-text text-accent", unsupportedLabelClassName: s = "text-error", unsupportedClassName: c = "bg-error", detailsTrigger: l = "hover", onViewDetails: u, labels: d = {} }) => {
55
+ let { viewDetailsLabel: f = "View details", unsupportedTooltipLabel: p = "Selected model does not support skills. Remove the skill or select different model to proceed.", deletedTooltipLabel: g = "This skill has been deleted. Its details are no longer available.", notSharedTooltipLabel: _ = "You don't have access to this skill, so its details aren't shown. Ask the chat owner to share it with you." } = d, [v, y] = k(0), b = l === "click", x = () => {
55
56
  y((e) => e + 1), u(t);
56
- }, [C, w] = O(null), [T, E] = O(null);
57
+ }, [C, w] = k(null), [T, E] = k(null);
57
58
  return ee(() => {
58
59
  if (!C) return;
59
60
  let e = () => {
@@ -62,30 +63,30 @@ var B = {
62
63
  if (e(), typeof ResizeObserver > "u") return;
63
64
  let t = new ResizeObserver(e);
64
65
  return t.observe(C), () => t.disconnect();
65
- }, [C, o]), /* @__PURE__ */ P(p, {
66
+ }, [C, o]), /* @__PURE__ */ F(m, {
66
67
  asChild: !0,
67
- placement: x.Top,
68
- trigger: b ? m.Click : m.Hover,
69
- contentClassName: "max-w-[min(550px,calc(100vw-10px))]",
70
- content: a == null ? i ? /* @__PURE__ */ P(H, { unsupportedMessage: h }) : /* @__PURE__ */ P(H, {
68
+ placement: S.Top,
69
+ trigger: b ? h.Click : h.Hover,
70
+ contentClassName: V,
71
+ content: a == null ? i ? /* @__PURE__ */ F(U, { unsupportedMessage: p }) : /* @__PURE__ */ F(U, {
71
72
  description: n,
72
73
  viewDetailsLabel: f,
73
- onViewDetails: S
74
- }) : /* @__PURE__ */ P(H, {
74
+ onViewDetails: x
75
+ }) : /* @__PURE__ */ F(U, {
75
76
  unresolvedReason: a,
76
77
  deletedMessage: g,
77
78
  notSharedMessage: _
78
79
  }),
79
- children: /* @__PURE__ */ F("span", {
80
+ children: /* @__PURE__ */ I("span", {
80
81
  tabIndex: 0,
81
- className: r("relative -me-1 -ms-1 inline cursor-pointer select-text rounded-full pe-1 ps-1", i ? c : "hover:bg-info focus-visible:bg-info active:bg-info", i ? r(o, s) : o, B.chip),
82
+ className: r("relative -ms-1 -me-1 inline cursor-pointer rounded-full ps-1 pe-1 select-text", i ? c : "hover:bg-info focus-visible:bg-info active:bg-info", i ? r(o, s) : o, B.chip),
82
83
  "aria-label": `/${e}`,
83
- children: [/* @__PURE__ */ P("span", {
84
+ children: [/* @__PURE__ */ F("span", {
84
85
  ref: w,
85
86
  "aria-hidden": !0,
86
87
  className: "inset-inline-start-0 pointer-events-none absolute select-none",
87
88
  children: "/"
88
- }), /* @__PURE__ */ P("span", {
89
+ }), /* @__PURE__ */ F("span", {
89
90
  "aria-hidden": !0,
90
91
  className: "select-none",
91
92
  style: { paddingInlineStart: T ?? void 0 },
@@ -93,7 +94,7 @@ var B = {
93
94
  })]
94
95
  })
95
96
  }, v);
96
- }, W = {
97
+ }, G = {
97
98
  row: "_row_1v431_1",
98
99
  header: "_header_1v431_8",
99
100
  emptyHint: "_emptyHint_1v431_12",
@@ -104,149 +105,149 @@ var B = {
104
105
  rowLeaving: "_rowLeaving_1v431_32",
105
106
  rowFadeOut: "_rowFadeOut_1v431_1",
106
107
  listContent: "_listContent_1v431_60"
107
- }, G = "px-3 pb-0.5 pt-2", ne = 180, re = 288, K = ({ favorites: n, onSelect: i, onToggleFavorite: a, onBrowse: o, onViewDetails: s, className: l, rowClassName: u, searchQuery: m, listboxId: h, activeOptionId: g, isMenu: _ = !1, labels: v = {}, colors: b, nameClassName: x = "dial-small-text", headerClassName: S = "dial-tiny-lead-semi-text", emptyHintClassName: C = "dial-small-text" }) => {
108
- let { myCollectionLabel: E = "My Collection", emptyHintLabel: te = "Star a skill to pin it here", browseLabel: k = "Browse", removeFromFavoritesLabel: A = "Remove from favorites", viewDetailsLabel: M = "View details", noMatchingSkillsLabel: N = "No matching skills" } = v, I = t({
109
- "--fs-row-hover-bg": b?.rowHoverBackground,
110
- "--fs-header-text": b?.headerText,
111
- "--fs-empty-hint-text": b?.emptyHintText,
112
- "--fs-star-color": b?.starColor,
113
- "--fs-footer-border": b?.footerBorder
114
- }), [L, R] = O(/* @__PURE__ */ new Set()), z = D(/* @__PURE__ */ new Map());
115
- w(() => {
108
+ }, re = "px-3 pb-0.5 pt-2", ie = 180, K = 288, q = ({ favorites: n, onSelect: i, onToggleFavorite: a, onBrowse: o, onViewDetails: s, isRowTooltipHidden: l = !1, className: u, rowClassName: d, searchQuery: h, listboxId: g, activeOptionId: _, isMenu: v = !1, labels: y = {}, colors: x, nameClassName: S = "dial-small-text", headerClassName: C = "dial-tiny-lead-semi-text", emptyHintClassName: w = "dial-small-text" }) => {
109
+ let { myCollectionLabel: D = "My Collection", emptyHintLabel: A = "Star a skill to pin it here", browseLabel: j = "Browse", removeFromFavoritesLabel: M = "Remove from favorites", viewDetailsLabel: te = "View details", noMatchingSkillsLabel: P = "No matching skills" } = y, L = t({
110
+ "--fs-row-hover-bg": x?.rowHoverBackground,
111
+ "--fs-header-text": x?.headerText,
112
+ "--fs-empty-hint-text": x?.emptyHintText,
113
+ "--fs-star-color": x?.starColor,
114
+ "--fs-footer-border": x?.footerBorder
115
+ }), [R, ne] = k(/* @__PURE__ */ new Set()), z = O(/* @__PURE__ */ new Map());
116
+ T(() => {
116
117
  let e = z.current;
117
118
  return () => {
118
119
  e.forEach((e) => clearTimeout(e)), e.clear();
119
120
  };
120
121
  }, []);
121
- let V = h != null, U = _ && !V, K = V || U ? "none" : void 0, q = "button";
122
- V ? q = "option" : U && (q = "menuitem");
123
- let J = T(), Y = m != null, X = m?.toLowerCase() ?? "", Z = Y ? n.filter((e) => e.name.toLowerCase().includes(X)) : n, Q = D(null), [$, ie] = O();
122
+ let H = g != null, W = v && !H, q = H || W ? "none" : void 0, J = "button";
123
+ H ? J = "option" : W && (J = "menuitem");
124
+ let Y = E(), ae = h != null, X = h?.toLowerCase() ?? "", Z = ae ? n.filter((e) => e.name.toLowerCase().includes(X)) : n, Q = O(null), [oe, se] = k();
124
125
  ee(() => {
125
- Q.current && ie(Math.min(Q.current.scrollHeight, re));
126
- }, [n, m]);
127
- let ae = (e, t) => {
126
+ Q.current && se(Math.min(Q.current.scrollHeight, K));
127
+ }, [n, h]);
128
+ let ce = (e, t) => {
128
129
  e.target === e.currentTarget && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), i(t));
129
- }, oe = (e) => {
130
- R((t) => new Set(t).add(e));
130
+ }, le = (e) => {
131
+ ne((t) => new Set(t).add(e));
131
132
  let t = setTimeout(() => {
132
- a?.(e), R((t) => {
133
+ a?.(e), ne((t) => {
133
134
  let n = new Set(t);
134
135
  return n.delete(e), n;
135
136
  }), z.current.delete(e);
136
- }, ne);
137
+ }, ie);
137
138
  z.current.set(e, t);
138
139
  };
139
- return /* @__PURE__ */ F("div", {
140
- className: r("flex w-full flex-col desktop:w-[280px]", l, B.favoritesPanel),
141
- style: I,
140
+ return /* @__PURE__ */ I("div", {
141
+ className: r("flex w-full flex-col desktop:w-[280px]", u, B.favoritesPanel),
142
+ style: L,
142
143
  children: [
143
- /* @__PURE__ */ P("p", {
144
- id: J,
145
- className: r(S, G, W.header),
146
- children: E
144
+ /* @__PURE__ */ F("p", {
145
+ id: Y,
146
+ className: r(C, re, G.header),
147
+ children: D
147
148
  }),
148
- /* @__PURE__ */ P("div", {
149
- className: r("max-h-72 min-h-0 flex-1 overflow-y-auto", W.listContent),
150
- style: { maxHeight: $ },
151
- children: /* @__PURE__ */ P("div", {
149
+ /* @__PURE__ */ F("div", {
150
+ className: r("max-h-72 min-h-0 flex-1 overflow-y-auto", G.listContent),
151
+ style: { maxHeight: oe },
152
+ children: /* @__PURE__ */ F("div", {
152
153
  ref: Q,
153
- children: Z.length > 0 ? /* @__PURE__ */ P("ul", {
154
- id: h,
155
- role: V ? "listbox" : K,
156
- "aria-labelledby": V ? J : void 0,
154
+ children: Z.length > 0 ? /* @__PURE__ */ F("ul", {
155
+ id: g,
156
+ role: H ? "listbox" : q,
157
+ "aria-labelledby": H ? Y : void 0,
157
158
  className: "flex flex-col gap-1 px-1 pb-1",
158
159
  children: Z.map((t) => {
159
- let n = V ? `${h}-${encodeURIComponent(t.id)}` : void 0, o = V ? -1 : void 0, l = /* @__PURE__ */ F("div", {
160
- role: q,
160
+ let n = H ? `${g}-${encodeURIComponent(t.id)}` : void 0, o = H ? -1 : void 0, u = /* @__PURE__ */ I("div", {
161
+ role: J,
161
162
  id: n,
162
- "aria-selected": V ? n === g : void 0,
163
+ "aria-selected": H ? n === _ : void 0,
163
164
  "aria-label": t.name,
164
165
  tabIndex: 0,
165
- className: r("flex cursor-pointer items-center gap-2 rounded-lg border border-transparent px-2 py-1.5 transition-colors", W.row, u),
166
+ className: r("flex cursor-pointer items-center gap-2 rounded-lg border border-transparent px-2 py-1.5 transition-colors", G.row, d),
166
167
  onClick: () => i(t),
167
- onKeyDown: (e) => ae(e, t),
168
+ onKeyDown: (e) => ce(e, t),
168
169
  children: [
169
- /* @__PURE__ */ P(e, {
170
+ /* @__PURE__ */ F(e, {
170
171
  size: c.MD,
171
172
  initialsName: t.name
172
173
  }),
173
- m == null ? /* @__PURE__ */ P("span", {
174
- className: r(x, "min-w-0 flex-1 truncate text-start"),
174
+ h == null ? /* @__PURE__ */ F("span", {
175
+ className: r(S, "min-w-0 flex-1 truncate text-start"),
175
176
  children: t.name
176
- }) : /* @__PURE__ */ P(f, {
177
+ }) : /* @__PURE__ */ F(p, {
177
178
  text: t.name,
178
- query: m,
179
+ query: h,
179
180
  maxLines: 1,
180
- className: r(x, "min-w-0 flex-1 text-start")
181
+ className: r(S, "min-w-0 flex-1 text-start")
181
182
  }),
182
- a && /* @__PURE__ */ P(y, {
183
- icon: /* @__PURE__ */ P(j, {
183
+ a && /* @__PURE__ */ F(b, {
184
+ icon: /* @__PURE__ */ F(N, {
184
185
  size: c.SM,
185
- className: W.star,
186
+ className: G.star,
186
187
  "aria-hidden": !0
187
188
  }),
188
- "aria-label": A,
189
+ "aria-label": M,
189
190
  isSelected: !0,
190
191
  tabIndex: o,
191
192
  onClick: (e) => {
192
- e.stopPropagation(), oe(t.id);
193
+ e.stopPropagation(), le(t.id);
193
194
  }
194
195
  })
195
196
  ]
196
197
  });
197
- return /* @__PURE__ */ P("li", {
198
- role: K,
199
- className: L.has(t.id) ? W.rowLeaving : W.rowEnter,
200
- children: s ? /* @__PURE__ */ P(p, {
198
+ return /* @__PURE__ */ F("li", {
199
+ role: q,
200
+ className: R.has(t.id) ? G.rowLeaving : G.rowEnter,
201
+ children: s && !l ? /* @__PURE__ */ F(m, {
201
202
  asChild: !0,
202
- contentClassName: "max-w-[550px]",
203
- content: /* @__PURE__ */ P(H, {
203
+ contentClassName: V,
204
+ content: /* @__PURE__ */ F(U, {
204
205
  description: t.description,
205
- viewDetailsLabel: M,
206
+ viewDetailsLabel: te,
206
207
  onViewDetails: () => s(t),
207
208
  viewDetailsTabIndex: o
208
209
  }),
209
- children: l
210
- }) : l
210
+ children: u
211
+ }) : u
211
212
  }, t.id);
212
213
  })
213
- }) : Y && X !== "" ? /* @__PURE__ */ P("p", {
214
+ }) : ae && X !== "" ? /* @__PURE__ */ F("p", {
214
215
  role: "status",
215
216
  "aria-live": "polite",
216
- className: r(C, "px-4 py-4 text-start", W.emptyHint),
217
- children: N
218
- }) : /* @__PURE__ */ P("p", {
219
- className: r(C, "px-4 py-4 text-start", W.emptyHint),
220
- children: te
217
+ className: r(w, "px-4 py-4 text-start", G.emptyHint),
218
+ children: P
219
+ }) : /* @__PURE__ */ F("p", {
220
+ className: r(w, "px-4 py-4 text-start", G.emptyHint),
221
+ children: A
221
222
  })
222
223
  })
223
224
  }),
224
- /* @__PURE__ */ P("div", {
225
- className: r("border-t px-2 py-3", W.footer),
226
- children: /* @__PURE__ */ P(d, {
227
- role: U ? "menuitem" : void 0,
228
- label: k,
225
+ /* @__PURE__ */ F("div", {
226
+ className: r("border-t px-2 py-3", G.footer),
227
+ children: /* @__PURE__ */ F(f, {
228
+ role: W ? "menuitem" : void 0,
229
+ label: j,
229
230
  className: "w-full justify-center",
230
231
  onClick: o
231
232
  })
232
233
  })
233
234
  ]
234
235
  });
235
- }, q = ".zip,.md", J = ({ isOpen: e, errorText: t, isUploading: n = !1, accept: r = q, labels: i, onClose: a, onFilesSelected: o, onFilesRejected: s }) => {
236
- let { dialogTitle: c = "Upload skill", dropZoneLabel: l = "Drag and drop it or click here to upload", dropZoneMobileLabel: d = "Click here to upload", formatsLabel: f = "File formats .zip and SKILL.md", fileInputAriaLabel: p = "Upload a skill ZIP archive or a SKILL.md file", closeAriaLabel: m = "Close", uploadingAriaLabel: _ = "Uploading skill" } = i ?? {};
237
- return /* @__PURE__ */ P(h, {
236
+ }, J = ".zip,.md", Y = ({ isOpen: e, errorText: t, isUploading: n = !1, accept: r = J, labels: i, onClose: a, onFilesSelected: o, onFilesRejected: s }) => {
237
+ let { dialogTitle: c = "Upload skill", dropZoneLabel: l = "Drag and drop it or click here to upload", dropZoneMobileLabel: u = "Click here to upload", formatsLabel: f = "File formats .zip and SKILL.md", fileInputAriaLabel: p = "Upload a skill ZIP archive or a SKILL.md file", closeAriaLabel: m = "Close", uploadingAriaLabel: h = "Uploading skill" } = i ?? {};
238
+ return /* @__PURE__ */ F(g, {
238
239
  open: e,
239
- size: g.Sm,
240
+ size: _.Sm,
240
241
  header: c,
241
242
  closeAriaLabel: m,
242
243
  onClose: a,
243
- children: /* @__PURE__ */ F("div", {
244
+ children: /* @__PURE__ */ I("div", {
244
245
  className: "flex flex-col gap-4 px-6 py-4",
245
- children: [/* @__PURE__ */ P(u, {
246
- label: /* @__PURE__ */ F(N, { children: [/* @__PURE__ */ P("span", {
246
+ children: [/* @__PURE__ */ F(d, {
247
+ label: /* @__PURE__ */ I(P, { children: [/* @__PURE__ */ F("span", {
247
248
  className: "desktop:hidden",
248
- children: d
249
- }), /* @__PURE__ */ P("span", {
249
+ children: u
250
+ }), /* @__PURE__ */ F("span", {
250
251
  className: "hidden desktop:inline",
251
252
  children: l
252
253
  })] }),
@@ -257,56 +258,56 @@ var B = {
257
258
  errorText: n ? void 0 : t,
258
259
  onChange: o,
259
260
  onReject: s
260
- }), n && /* @__PURE__ */ P(v, { ariaLabel: _ })]
261
+ }), n && /* @__PURE__ */ F(y, { ariaLabel: h })]
261
262
  })
262
263
  });
263
- }, Y = ({ isOpen: e, onClose: t, onSelect: n, title: r, renderContent: i }) => /* @__PURE__ */ P(h, {
264
+ }, ae = ({ isOpen: e, onClose: t, onSelect: n, title: r, renderContent: i }) => /* @__PURE__ */ F(g, {
264
265
  open: e,
265
266
  header: r,
266
- size: g.Lg,
267
- className: "h-[min(90vh,860px)] !max-w-[min(95vw,1200px)] overflow-hidden mobile:h-full mobile:!max-w-full mobile:rounded-none",
267
+ size: _.Lg,
268
+ className: "h-[min(90vh,860px)] max-w-[min(95vw,1200px)]! overflow-hidden mobile:h-full mobile:max-w-full! mobile:rounded-none",
268
269
  overlayClassName: "mobile:p-0",
269
270
  onClose: t,
270
- children: /* @__PURE__ */ P("div", {
271
+ children: /* @__PURE__ */ F("div", {
271
272
  className: "h-[min(80vh,840px)] overflow-auto mobile:h-full",
272
- children: /* @__PURE__ */ P(S, {
273
+ children: /* @__PURE__ */ F(C, {
273
274
  fallback: null,
274
275
  children: e && i(n, t)
275
276
  })
276
277
  })
277
- }), X = (e, t = null) => e.map((e) => e.type === R.Folder ? {
278
+ }), X = (e, t = null) => e.map((e) => e.type === ne.Folder ? {
278
279
  path: e.id,
279
280
  name: e.name,
280
- nodeType: I.FOLDER,
281
+ nodeType: L.FOLDER,
281
282
  parentPath: t,
282
283
  folderId: e.id,
283
284
  items: X(e.items, e.id)
284
285
  } : {
285
286
  path: e.id,
286
287
  name: e.name,
287
- nodeType: I.ITEM,
288
+ nodeType: L.ITEM,
288
289
  parentPath: t,
289
290
  folderId: t ?? ""
290
- }), Z = ({ nodes: e, selectedFileId: t, expandedFolderIds: n, onToggleFolder: r, onSelectFile: i, onClose: a, ariaLabel: o }) => /* @__PURE__ */ P(L, {
291
- items: E(() => X(e), [e]),
291
+ }), Z = ({ nodes: e, selectedFileId: t, expandedFolderIds: n, onToggleFolder: r, onSelectFile: i, onClose: a, ariaLabel: o }) => /* @__PURE__ */ F(R, {
292
+ items: D(() => X(e), [e]),
292
293
  showFiles: !0,
293
294
  areHiddenFilesVisible: !0,
294
295
  selectedPath: t,
295
- expandedPaths: E(() => new Set(n), [n]),
296
+ expandedPaths: D(() => new Set(n), [n]),
296
297
  onExpandedPathsChange: (e) => {
297
298
  for (let t of e) n.has(t) || r(t);
298
299
  for (let t of n) e.has(t) || r(t);
299
300
  },
300
301
  onItemClick: (e) => {
301
- e.nodeType === I.ITEM && i(e.path);
302
+ e.nodeType === L.ITEM && i(e.path);
302
303
  },
303
304
  ariaLabel: o,
304
305
  autoFocus: !0,
305
306
  onEscape: a
306
- }), Q = (e) => /* @__PURE__ */ P(z, {
307
+ }), Q = (e) => /* @__PURE__ */ F(z, {
307
308
  ...e,
308
- renderContentFileTree: (e) => /* @__PURE__ */ P(Z, { ...e })
309
- }), $ = (e) => e == null || /[\s/]/.test(e), ie = (e, t, n) => {
309
+ renderContentFileTree: (e) => /* @__PURE__ */ F(Z, { ...e })
310
+ }), oe = (e) => e == null || /[\s/]/.test(e), se = (e, t, n) => {
310
311
  let r = [], i = 0;
311
312
  return t.forEach((t, a) => {
312
313
  let o = `/${n(t.url)}`, s = i;
@@ -314,7 +315,7 @@ var B = {
314
315
  let t = e.indexOf(o, s);
315
316
  if (t === -1) return;
316
317
  let n = t + o.length;
317
- if ($(e[n])) {
318
+ if (oe(e[n])) {
318
319
  r.push({
319
320
  skillIndex: a,
320
321
  start: t,
@@ -325,14 +326,14 @@ var B = {
325
326
  s = t + 1;
326
327
  }
327
328
  }), r;
328
- }, ae = (e, t) => {
329
+ }, ce = (e, t) => {
329
330
  let n = /* @__PURE__ */ new Map();
330
331
  t.forEach((e) => {
331
332
  e.name !== "" && !n.has(e.name) && n.set(e.name, e.url);
332
333
  });
333
334
  let r = [...n.keys()].sort((e, t) => t.length - e.length), i = [], a = e.indexOf("/");
334
335
  for (; a !== -1;) {
335
- let t = a === 0 || /\s/.test(e[a - 1]), o = a + 1, s = t ? r.find((t) => e.startsWith(t, o) && $(e[o + t.length])) : void 0, c = s == null ? void 0 : n.get(s);
336
+ let t = a === 0 || /\s/.test(e[a - 1]), o = a + 1, s = t ? r.find((t) => e.startsWith(t, o) && oe(e[o + t.length])) : void 0, c = s == null ? void 0 : n.get(s);
336
337
  s != null && c != null ? (i.push({
337
338
  url: c,
338
339
  name: s,
@@ -341,7 +342,7 @@ var B = {
341
342
  }), a = e.indexOf("/", o + s.length)) : a = e.indexOf("/", o);
342
343
  }
343
344
  return i;
344
- }, oe = (e, t) => {
345
+ }, le = (e, t) => {
345
346
  let n = Math.min(e.length, t.length), r = 0;
346
347
  for (; r < n && e[r] === t[r];) r += 1;
347
348
  let i = n - r, a = 0;
@@ -351,13 +352,13 @@ var B = {
351
352
  deletedLength: e.length - r - a,
352
353
  insertedLength: t.length - r - a
353
354
  };
354
- }, se = (e, t) => {
355
+ }, ue = (e, t) => {
355
356
  let n = t.start + t.deletedLength, r = t.insertedLength - t.deletedLength;
356
357
  return e.reduce((e, i) => i.start + i.length <= t.start ? (e.push(i), e) : (i.start >= n && e.push({
357
358
  ...i,
358
359
  start: i.start + r
359
360
  }), e), []);
360
- }, ce = (e, t, n, r, i) => {
361
+ }, $ = (e, t, n, r, i) => {
361
362
  let a = r.length + 1, o = a + +!!i, s = e.map((e) => e.start >= t ? {
362
363
  ...e,
363
364
  start: e.start + o
@@ -368,7 +369,7 @@ var B = {
368
369
  length: a
369
370
  };
370
371
  return [...s, c].sort((e, t) => e.start - t.start);
371
- }, le = (e, t) => e.find((e) => e.start + e.length === t), ue = (e, t, n) => {
372
+ }, de = (e, t) => e.find((e) => e.start + e.length === t), fe = (e, t, n) => {
372
373
  let r = t;
373
374
  for (; r > 0 && !/\s/.test(e[r - 1]);) r--;
374
375
  let i = r;
@@ -378,21 +379,21 @@ var B = {
378
379
  start: r,
379
380
  end: i
380
381
  };
381
- }, de = (e, t, n) => {
382
+ }, pe = (e, t, n) => {
382
383
  if (n === "" || t.insertedLength < n.length) return;
383
384
  let r = e.indexOf(n, Math.max(0, t.start - n.length)), i = t.start + t.insertedLength - n.length;
384
385
  return r !== -1 && r <= i ? r : void 0;
385
- }, fe = () => {
386
- let [e, t] = O(""), [n, r] = O([]), i = D(e);
386
+ }, me = () => {
387
+ let [e, t] = k(""), [n, r] = k([]), i = O(e);
387
388
  i.current = e;
388
- let a = D(n);
389
+ let a = O(n);
389
390
  a.current = n;
390
- let o = D(null), s = C((e) => {
391
- let n = oe(i.current, e), a = o.current;
391
+ let o = O(null), s = w((e) => {
392
+ let n = le(i.current, e), a = o.current;
392
393
  o.current = null;
393
- let s = a == null ? void 0 : de(e, n, a.text);
394
+ let s = a == null ? void 0 : pe(e, n, a.text);
394
395
  r((t) => {
395
- let r = se(t, n);
396
+ let r = ue(t, n);
396
397
  if (a == null || s == null) return r;
397
398
  let i = a.mentions.map((e) => ({
398
399
  ...e,
@@ -400,23 +401,23 @@ var B = {
400
401
  })).filter((t) => e.startsWith(`/${t.name}`, t.start) && !r.some((e) => e.start < t.start + t.length && t.start < e.start + e.length));
401
402
  return [...r, ...i].sort((e, t) => e.start - t.start);
402
403
  }), i.current = e, t(e);
403
- }, []), c = C((e, n, a) => {
404
+ }, []), c = w((e, n, a) => {
404
405
  let o = i.current, s = !/^\s/.test(o.slice(a)), c = `/${n}${s ? " " : ""}`, l = o.slice(0, a) + c + o.slice(a);
405
- return i.current = l, t(l), r((t) => ce(t, a, e, n, s)), s;
406
- }, []), l = C((e, n, a) => {
406
+ return i.current = l, t(l), r((t) => $(t, a, e, n, s)), s;
407
+ }, []), l = w((e, n, a) => {
407
408
  let o = i.current, s = `/${n}`, c = o.slice(0, a) + s + o.slice(a);
408
- i.current = c, t(c), r((t) => ce(t, a, e, n, !1));
409
- }, []), u = C((e) => le(a.current, e), []), d = E(() => {
409
+ i.current = c, t(c), r((t) => $(t, a, e, n, !1));
410
+ }, []), u = w((e) => de(a.current, e), []), d = D(() => {
410
411
  if (n.length !== 0) return n.map((e) => ({ url: e.url }));
411
- }, [n]), f = C((e, t) => {
412
+ }, [n]), f = w((e, t) => {
412
413
  o.current = t.length > 0 ? {
413
414
  text: e,
414
415
  mentions: t
415
416
  } : null;
416
- }, []), p = C(() => {
417
+ }, []), p = w(() => {
417
418
  t(""), r([]);
418
- }, []), m = C((e, n, i) => {
419
- let a = n ?? [], o = ie(e, a, i);
419
+ }, []), m = w((e, n, i) => {
420
+ let a = n ?? [], o = se(e, a, i);
420
421
  t(e), r(o.map((e) => {
421
422
  let t = a[e.skillIndex];
422
423
  return {
@@ -427,7 +428,7 @@ var B = {
427
428
  };
428
429
  }));
429
430
  }, []);
430
- return E(() => ({
431
+ return D(() => ({
431
432
  draft: e,
432
433
  anchors: n,
433
434
  onDraftChange: s,
@@ -450,18 +451,18 @@ var B = {
450
451
  p,
451
452
  m
452
453
  ]);
453
- }, pe = (e) => ({
454
+ }, he = (e) => ({
454
455
  id: e.url,
455
456
  name: e.name,
456
457
  description: e.description
457
- }), me = (e) => {
458
+ }), ge = (e) => {
458
459
  let t = e.split("/").filter((e) => e.length > 0);
459
460
  return t[t.length - 1] ?? e;
460
- }, he = (e) => {
461
+ }, _e = (e) => {
461
462
  let t = e.split("/").filter((e) => e.length > 0);
462
463
  return t[0] !== "skills" || t.length < 3 ? null : t[1];
463
- }, ge = (e, t) => he(e) === t ? V.Deleted : V.NotShared, _e = "/", ve = ({ isSkillsSupported: e, skills: t, sharedWithMe: n, publicSkills: r, favoriteIds: a, viewerBucket: o, onToggleFavorite: s, labels: c, historyChipLabelClassName: u, activeMentionLabelClassName: d = "text-accent", activeMentionDetailsTrigger: f, historyDetailsTrigger: p, renderCatalogContent: m, detailsPanelComponent: h }) => {
464
- let { addMenuLabel: g = "Skills", backLabel: _ = "Back", catalogModalTitleLabel: v = "Use skill", emptyQueryHintLabel: y = "Type to filter", deletedTooltipLabel: b, notSharedTooltipLabel: x, unsupportedTooltipLabel: w, panelLabels: T } = c ?? {}, [ee, k] = O(!1), [A, j] = O(null), [M, N] = O(0), F = D(null), [I, L] = O(0), [R, z] = O(void 0), B = fe(), V = E(() => [
464
+ }, ve = (e, t) => _e(e) === t ? H.Deleted : H.NotShared, ye = "/", be = ({ isSkillsSupported: e, skills: t, sharedWithMe: n, publicSkills: r, favoriteIds: a, viewerBucket: o, onToggleFavorite: s, labels: c, historyChipLabelClassName: u, activeMentionLabelClassName: d = "text-accent", activeMentionDetailsTrigger: f, historyDetailsTrigger: p, isRowTooltipHidden: m = !1, renderCatalogContent: h, detailsPanelComponent: g }) => {
465
+ let { addMenuLabel: _ = "Skills", backLabel: v = "Back", catalogModalTitleLabel: y = "Use skill", emptyQueryHintLabel: b = "Type to filter", deletedTooltipLabel: x, notSharedTooltipLabel: S, unsupportedTooltipLabel: T, panelLabels: E } = c ?? {}, [ee, j] = k(!1), [M, N] = k(null), [te, P] = k(0), I = O(null), [L, R] = k(0), [ne, z] = k(void 0), B = me(), V = D(() => [
465
466
  ...t,
466
467
  ...n ?? [],
467
468
  ...r ?? []
@@ -469,21 +470,21 @@ var B = {
469
470
  t,
470
471
  n,
471
472
  r
472
- ]), H = E(() => new Map(V.map((e) => [e.url, e])), [V]), W = C((e) => H.get(e)?.name ?? me(e), [H]), G = E(() => V.filter((e) => a.has(e.url)).map((e) => pe(e)), [V, a]), ne = B.anchors.length > 0 && !e, re = E(() => B.anchors.map((t) => ({
473
+ ]), H = D(() => new Map(V.map((e) => [e.url, e])), [V]), U = w((e) => H.get(e)?.name ?? ge(e), [H]), G = D(() => V.filter((e) => a.has(e.url)).map((e) => he(e)), [V, a]), re = B.anchors.length > 0 && !e, ie = D(() => B.anchors.map((t) => ({
473
474
  start: t.start,
474
475
  length: t.length,
475
476
  isUnsupported: !e,
476
- render: () => /* @__PURE__ */ P(U, {
477
+ render: () => /* @__PURE__ */ F(W, {
477
478
  name: t.name,
478
479
  path: t.url,
479
480
  labelClassName: d,
480
481
  description: H.get(t.url)?.description,
481
482
  isUnsupported: !e,
482
483
  detailsTrigger: f,
483
- onViewDetails: j,
484
+ onViewDetails: N,
484
485
  labels: {
485
- viewDetailsLabel: T?.viewDetailsLabel,
486
- unsupportedTooltipLabel: w
486
+ viewDetailsLabel: E?.viewDetailsLabel,
487
+ unsupportedTooltipLabel: T
487
488
  }
488
489
  })
489
490
  })), [
@@ -492,16 +493,16 @@ var B = {
492
493
  H,
493
494
  d,
494
495
  f,
495
- T,
496
- w
497
- ]), q = C((e, t, n) => {
496
+ E,
497
+ T
498
+ ]), K = w((e, t, n) => {
498
499
  let r = B.insertMention(e, t, n);
499
- L((e) => e + 1), z(n + 1 + t.length + +!!r);
500
- }, [B]), J = C((e) => {
501
- let t = ue(B.draft, e, _e);
500
+ R((e) => e + 1), z(n + 1 + t.length + +!!r);
501
+ }, [B]), J = w((e) => {
502
+ let t = fe(B.draft, e, ye);
502
503
  return t == null ? e : (B.onDraftChange(B.draft.slice(0, t.start) + B.draft.slice(t.end)), t.start);
503
- }, [B]), X = C((e) => {
504
- let t = ue(B.draft, e, _e);
504
+ }, [B]), Y = w((e) => {
505
+ let t = fe(B.draft, e, ye);
505
506
  if (t == null) return;
506
507
  let n = B.anchors.find((e) => e.start === t.start && e.start + e.length === t.end);
507
508
  return {
@@ -509,213 +510,220 @@ var B = {
509
510
  text: B.draft.slice(t.start, t.end),
510
511
  mentionUrl: n?.url
511
512
  };
512
- }, [B]), Z = C(() => {
513
- B.reset(), L((e) => e + 1), z(void 0);
514
- }, [B]), { expectInsertion: Q } = B, $ = C((t) => {
515
- Q(t, e ? ae(t, V) : []);
513
+ }, [B]), X = w(() => {
514
+ B.reset(), R((e) => e + 1), z(void 0);
515
+ }, [B]), { expectInsertion: Z } = B, Q = w((t) => {
516
+ Z(t, e ? ce(t, V) : []);
516
517
  }, [
517
- Q,
518
+ Z,
518
519
  e,
519
520
  V
520
- ]), oe = C((e, t) => {
521
- B.seedFromMessage(e, t, W), L((e) => e + 1), z(void 0);
522
- }, [B, W]), se = C((e, t) => {
521
+ ]), oe = w((e, t) => {
522
+ B.seedFromMessage(e, t, U), R((e) => e + 1), z(void 0);
523
+ }, [B, U]), le = w((e, t) => {
523
524
  if (t == null || t.length === 0) return null;
524
- let n = ie(e, t, W), r = [], i = 0;
525
+ let n = se(e, t, U), r = [], i = 0;
525
526
  return n.forEach((n) => {
526
527
  n.start > i && r.push(e.slice(i, n.start));
527
- let a = t[n.skillIndex], s = H.get(a.url), c = s?.name ?? me(a.url), l = s == null ? ge(a.url, o) : void 0;
528
- r.push(/* @__PURE__ */ P(U, {
529
- name: c,
530
- path: a.url,
531
- labelClassName: u,
532
- description: s?.description,
533
- unresolvedReason: l,
534
- detailsTrigger: p,
535
- onViewDetails: j,
536
- labels: {
537
- viewDetailsLabel: T?.viewDetailsLabel,
538
- deletedTooltipLabel: b,
539
- notSharedTooltipLabel: x
540
- }
541
- }, `${a.url}-${n.start}`)), i = n.start + n.length;
528
+ let a = t[n.skillIndex], s = H.get(a.url), c = s?.name ?? ge(a.url), l = s == null ? ve(a.url, o) : void 0;
529
+ r.push({
530
+ text: e.slice(n.start, n.start + n.length),
531
+ node: /* @__PURE__ */ F(W, {
532
+ name: c,
533
+ path: a.url,
534
+ labelClassName: u,
535
+ description: s?.description,
536
+ unresolvedReason: l,
537
+ detailsTrigger: p,
538
+ onViewDetails: N,
539
+ labels: {
540
+ viewDetailsLabel: E?.viewDetailsLabel,
541
+ deletedTooltipLabel: x,
542
+ notSharedTooltipLabel: S
543
+ }
544
+ }, `${a.url}-${n.start}`)
545
+ }), i = n.start + n.length;
542
546
  }), i < e.length && r.push(e.slice(i)), r;
543
547
  }, [
544
- W,
548
+ U,
545
549
  H,
546
550
  u,
547
551
  p,
548
- T,
552
+ E,
549
553
  o,
550
- b,
551
- x
552
- ]), ce = C((e) => e == null || e.length === 0 ? null : e.map((e) => {
553
- let t = H.get(e.url), n = t?.name ?? me(e.url), r = t == null ? ge(e.url, o) : void 0;
554
- return /* @__PURE__ */ P(U, {
554
+ x,
555
+ S
556
+ ]), ue = w((e) => e == null || e.length === 0 ? null : e.map((e) => {
557
+ let t = H.get(e.url), n = t?.name ?? ge(e.url), r = t == null ? ve(e.url, o) : void 0;
558
+ return /* @__PURE__ */ F(W, {
555
559
  name: n,
556
560
  path: e.url,
557
561
  labelClassName: u,
558
562
  description: t?.description,
559
563
  unresolvedReason: r,
560
564
  detailsTrigger: p,
561
- onViewDetails: j,
565
+ onViewDetails: N,
562
566
  labels: {
563
- viewDetailsLabel: T?.viewDetailsLabel,
564
- deletedTooltipLabel: b,
565
- notSharedTooltipLabel: x
567
+ viewDetailsLabel: E?.viewDetailsLabel,
568
+ deletedTooltipLabel: x,
569
+ notSharedTooltipLabel: S
566
570
  }
567
571
  }, e.url);
568
572
  }), [
569
573
  H,
570
574
  u,
571
575
  p,
572
- T,
576
+ E,
573
577
  o,
574
- b,
575
- x
576
- ]), le = C((e, t) => /* @__PURE__ */ P(K, {
578
+ x,
579
+ S
580
+ ]), $ = w((e, t) => /* @__PURE__ */ F(q, {
577
581
  favorites: G,
578
582
  isMenu: !0,
579
583
  onSelect: (n) => {
580
- q(n.id, n.name, J(t)), e();
584
+ K(n.id, n.name, J(t)), e();
581
585
  },
582
586
  onToggleFavorite: s,
583
587
  onBrowse: () => {
584
- let n = X(t);
585
- N(J(t)), F.current = n ?? null, e(), k(!0);
588
+ let n = Y(t);
589
+ P(J(t)), I.current = n ?? null, e(), j(!0);
586
590
  },
587
591
  onViewDetails: (n) => {
588
- J(t), e(), j(n.id);
592
+ J(t), e(), N(n.id);
589
593
  },
590
- labels: T
594
+ isRowTooltipHidden: m,
595
+ labels: E
591
596
  }), [
592
597
  G,
593
- q,
598
+ K,
594
599
  J,
595
- X,
600
+ Y,
596
601
  s,
597
- T
602
+ m,
603
+ E
598
604
  ]);
599
605
  return {
600
- skillMenuOverlay: E(() => e ? {
606
+ skillMenuOverlay: D(() => e ? {
601
607
  key: "skills",
602
- title: g,
603
- icon: /* @__PURE__ */ P(te, {
608
+ title: _,
609
+ icon: /* @__PURE__ */ F(A, {
604
610
  size: i,
605
611
  "aria-hidden": !0,
606
612
  stroke: l
607
613
  }),
608
- renderOverlay: le,
609
- backLabel: _
614
+ renderOverlay: $,
615
+ backLabel: v
610
616
  } : void 0, [
611
617
  e,
612
- g,
613
618
  _,
614
- le
619
+ v,
620
+ $
615
621
  ]),
616
- commandMenu: E(() => e ? {
617
- triggerPrefix: _e,
618
- menuLabel: g,
619
- emptyQueryHint: y,
620
- onTextPaste: $,
621
- renderMenu: ({ query: e, caretPosition: t, close: n, listboxId: r, activeOptionId: i }) => /* @__PURE__ */ P(K, {
622
+ commandMenu: D(() => e ? {
623
+ triggerPrefix: ye,
624
+ menuLabel: _,
625
+ emptyQueryHint: b,
626
+ onTextPaste: Q,
627
+ renderMenu: ({ query: e, caretPosition: t, close: n, listboxId: r, activeOptionId: i }) => /* @__PURE__ */ F(q, {
622
628
  favorites: G,
623
629
  searchQuery: e,
624
630
  listboxId: r,
625
631
  activeOptionId: i,
626
632
  onSelect: (e) => {
627
- n({ consumeQuery: !0 }), q(e.id, e.name, t);
633
+ n({ consumeQuery: !0 }), K(e.id, e.name, t);
628
634
  },
629
635
  onToggleFavorite: s,
630
636
  onBrowse: () => {
631
- let r = `${_e}${e}`, i = B.anchors.find((e) => e.start === t && e.length === r.length);
637
+ let r = `${ye}${e}`, i = B.anchors.find((e) => e.start === t && e.length === r.length);
632
638
  n({
633
639
  consumeQuery: !0,
634
640
  returnFocus: !1
635
- }), N(t), F.current = {
641
+ }), P(t), I.current = {
636
642
  position: t,
637
643
  text: r,
638
644
  mentionUrl: i?.url
639
- }, k(!0);
645
+ }, j(!0);
640
646
  },
641
647
  onViewDetails: (e) => {
642
- n({ consumeQuery: !0 }), j(e.id);
648
+ n({ consumeQuery: !0 }), N(e.id);
643
649
  },
644
- labels: T
650
+ isRowTooltipHidden: m,
651
+ labels: E
645
652
  })
646
653
  } : void 0, [
647
654
  e,
648
- g,
649
- y,
655
+ _,
656
+ b,
650
657
  G,
651
- q,
658
+ K,
652
659
  B.anchors,
653
660
  s,
654
- T,
655
- $
661
+ m,
662
+ E,
663
+ Q
656
664
  ]),
657
- skillCatalogModal: /* @__PURE__ */ P(Y, {
665
+ skillCatalogModal: /* @__PURE__ */ F(ae, {
658
666
  isOpen: ee,
659
- onClose: C(() => {
660
- k(!1);
661
- let e = F.current;
662
- if (F.current = null, e == null) return;
667
+ onClose: w(() => {
668
+ j(!1);
669
+ let e = I.current;
670
+ if (I.current = null, e == null) return;
663
671
  let { position: t, text: n, mentionUrl: r } = e;
664
- r == null ? B.onDraftChange(B.draft.slice(0, t) + n + B.draft.slice(t)) : B.restoreMention(r, n.slice(1), t), L((e) => e + 1), z(t + n.length);
672
+ r == null ? B.onDraftChange(B.draft.slice(0, t) + n + B.draft.slice(t)) : B.restoreMention(r, n.slice(1), t), R((e) => e + 1), z(t + n.length);
665
673
  }, [B]),
666
674
  onSelect: (e) => {
667
- F.current = null, q(e, W(e), M), k(!1);
675
+ I.current = null, K(e, U(e), te), j(!1);
668
676
  },
669
- title: v,
670
- renderContent: m
677
+ title: y,
678
+ renderContent: h
671
679
  }),
672
- skillDetailsPanel: /* @__PURE__ */ P(S, {
680
+ skillDetailsPanel: /* @__PURE__ */ F(C, {
673
681
  fallback: null,
674
- children: /* @__PURE__ */ P(h, {
675
- skillId: A,
676
- onClose: () => j(null)
682
+ children: /* @__PURE__ */ F(g, {
683
+ skillId: M,
684
+ onClose: () => N(null)
677
685
  })
678
686
  }),
679
687
  message: B.draft,
680
- messageRevision: I,
681
- activeMentions: re,
688
+ messageRevision: L,
689
+ activeMentions: ie,
682
690
  onDraftChange: B.onDraftChange,
683
691
  onBackspaceAtCaret: B.onBackspaceAtCaret,
684
- caretPositionOverride: R,
685
- isSkillUnsupported: ne,
692
+ caretPositionOverride: ne,
693
+ isSkillUnsupported: re,
686
694
  selectedSkills: B.orderedSkills,
687
- resetSkillMentions: Z,
695
+ resetSkillMentions: X,
688
696
  seedSkillMentions: oe,
689
- recognizeMentionsInInsertion: $,
690
- renderHistorySkillSegments: se,
691
- renderHistorySkills: ce
697
+ recognizeMentionsInInsertion: Q,
698
+ renderHistorySkillSegments: le,
699
+ renderHistorySkills: ue
692
700
  };
693
- }, ye = {
701
+ }, xe = {
694
702
  background: "_background_1ult0_1",
695
703
  border: "_border_1ult0_5",
696
704
  value: "_value_1ult0_9",
697
705
  clear: "_clear_1ult0_13",
698
706
  invalid: "_invalid_1ult0_17"
699
- }, be = [], xe = "Selected model does not support skills. Select a different model to use a skill.", Se = ({ value: i, onChange: a, displayNames: o, skills: s = be, isSkillsSupported: l, isDisabled: u = !1, error: d, labels: p, className: m, styles: h }) => {
700
- let [g, v] = O(!1), [y, x] = O(""), S = D(null), C = T(), w = i.some((e) => n(e, l)), E = l && !u, te = g && E, k = i.length > 0 ? p.unsupportedTooltipLabel : p.unavailableTooltipLabel ?? xe, A = !l && i.length === 0, j = d ?? (A ? k : void 0), M = new Map(i.map((e) => [e, {
707
+ }, Se = [], Ce = "Selected model does not support skills. Select a different model to use a skill.", we = ({ value: i, onChange: a, displayNames: o, skills: s = Se, isSkillsSupported: l, isDisabled: u = !1, error: d, labels: f, className: m, styles: h }) => {
708
+ let [g, _] = k(!1), [y, b] = k(""), S = O(null), C = E(), w = i.some((e) => n(e, l)), T = l && !u, D = g && T, A = i.length > 0 ? f.unsupportedTooltipLabel : f.unavailableTooltipLabel ?? Ce, j = !l && i.length === 0, M = d ?? (j ? A : void 0), N = new Map(i.map((e) => [e, {
701
709
  id: e,
702
710
  name: o?.[e] || e
703
711
  }]));
704
- s.forEach((e) => M.set(e.id, e));
705
- let N = [...M.values()].map((t) => ({
712
+ s.forEach((e) => N.set(e.id, e));
713
+ let te = [...N.values()].map((t) => ({
706
714
  value: t.id,
707
715
  label: t.name,
708
- labelNode: y.trim() ? /* @__PURE__ */ P(f, {
716
+ labelNode: y.trim() ? /* @__PURE__ */ F(p, {
709
717
  text: t.name,
710
718
  query: y,
711
719
  maxLines: 1
712
720
  }) : void 0,
713
- icon: /* @__PURE__ */ P(e, {
721
+ icon: /* @__PURE__ */ F(e, {
714
722
  size: c.SM,
715
723
  initialsName: t.name
716
724
  }),
717
725
  disabled: !l
718
- })), I = {
726
+ })), P = {
719
727
  ...t({
720
728
  "--ssf-text": h?.colors?.text,
721
729
  "--ssf-bg": h?.colors?.background,
@@ -726,55 +734,55 @@ var B = {
726
734
  };
727
735
  return ee(() => {
728
736
  let e = S.current?.querySelector("[role=\"combobox\"]");
729
- e && (j ? e.setAttribute("aria-describedby", C) : e.removeAttribute("aria-describedby"), d || w ? e.setAttribute("aria-invalid", "true") : e.removeAttribute("aria-invalid"));
737
+ e && (M ? e.setAttribute("aria-describedby", C) : e.removeAttribute("aria-describedby"), d || w ? e.setAttribute("aria-invalid", "true") : e.removeAttribute("aria-invalid"));
730
738
  }, [
731
- j,
739
+ M,
732
740
  C,
733
741
  d,
734
742
  u,
735
743
  w
736
- ]), /* @__PURE__ */ F("div", {
744
+ ]), /* @__PURE__ */ I("div", {
737
745
  ref: S,
738
746
  className: r("min-w-0", m, B.selectorField),
739
- style: I,
740
- children: [/* @__PURE__ */ P(b, {
741
- tooltip: k,
747
+ style: P,
748
+ children: [/* @__PURE__ */ F(x, {
749
+ tooltip: A,
742
750
  hideTooltip: l,
743
751
  triggerClassName: "block w-full min-w-0",
744
- children: /* @__PURE__ */ P("div", {
752
+ children: /* @__PURE__ */ F("div", {
745
753
  inert: u ? !0 : void 0,
746
- children: /* @__PURE__ */ P(_, {
754
+ children: /* @__PURE__ */ F(v, {
747
755
  multiple: !0,
748
756
  searchable: !0,
749
- open: te,
757
+ open: D,
750
758
  onOpenChange: (e) => {
751
- e && !E || v(e);
759
+ e && !T || _(e);
752
760
  },
753
- onSearchQueryChange: x,
761
+ onSearchQueryChange: b,
754
762
  value: i,
755
763
  onChange: (e) => {
756
764
  u || a(Array.isArray(e) ? e : [e]);
757
765
  },
758
- options: N,
759
- placeholder: p.placeholder,
760
- labelProps: { label: p.fieldLabel },
766
+ options: te,
767
+ placeholder: f.placeholder,
768
+ labelProps: { label: f.fieldLabel },
761
769
  error: d,
762
- caption: A ? k : void 0,
763
- searchPlaceholder: p.searchPlaceholder ?? "Search skills",
764
- emptyStateTitle: y.trim() ? p.noMatchingSkillsLabel ?? "No matching skills" : p.emptyLabel ?? "No skills available",
765
- disabled: u || A,
770
+ caption: j ? A : void 0,
771
+ searchPlaceholder: f.searchPlaceholder ?? "Search skills",
772
+ emptyStateTitle: y.trim() ? f.noMatchingSkillsLabel ?? "No matching skills" : f.emptyLabel ?? "No skills available",
773
+ disabled: u || j,
766
774
  invalid: !!d || w,
767
775
  className: "w-full min-w-0",
768
- fieldClassName: r(E ? "cursor-pointer" : "cursor-not-allowed", "--ssf-bg" in I && ye.background, "--ssf-border" in I && ye.border, "--ssf-text" in I && ye.value, (d || w) && ye.invalid, h?.typography?.fontClassName ?? "dial-small-text", h?.triggerClassName),
776
+ fieldClassName: r(T ? "cursor-pointer" : "cursor-not-allowed", "--ssf-bg" in P && xe.background, "--ssf-border" in P && xe.border, "--ssf-text" in P && xe.value, (d || w) && xe.invalid, h?.typography?.fontClassName ?? "dial-small-text", h?.triggerClassName),
769
777
  listClassName: "w-[min(var(--reference-width),calc(100vw-2rem))] max-w-full"
770
778
  })
771
779
  })
772
- }), j && /* @__PURE__ */ P("span", {
780
+ }), M && /* @__PURE__ */ F("span", {
773
781
  id: C,
774
782
  className: "sr-only",
775
- children: j
783
+ children: M
776
784
  })]
777
785
  });
778
786
  };
779
787
  //#endregion
780
- export { U as ChatSkill, K as FavoriteSkillsPanel, B as SKILLS_CLASS, J as SkillArchiveUploadDialog, Y as SkillCatalogModal, Z as SkillContentFileTree, Q as SkillDetailsSidePanel, H as SkillInfoTooltipContent, Se as SkillSelectorField, V as SkillUnresolvedReason, pe as buildFavoriteSkillItem, oe as diffTextChange, le as findMentionAtCaret, me as getSkillFallbackName, ce as insertAnchor, ie as matchSkillMentions, se as reconcileAnchors, fe as useSkillMentions, ve as useSkillSelectorOverlay };
788
+ export { W as ChatSkill, q as FavoriteSkillsPanel, B as SKILLS_CLASS, Y as SkillArchiveUploadDialog, ae as SkillCatalogModal, Z as SkillContentFileTree, Q as SkillDetailsSidePanel, U as SkillInfoTooltipContent, we as SkillSelectorField, H as SkillUnresolvedReason, he as buildFavoriteSkillItem, le as diffTextChange, de as findMentionAtCaret, ge as getSkillFallbackName, $ as insertAnchor, se as matchSkillMentions, ue as reconcileAnchors, me as useSkillMentions, be as useSkillSelectorOverlay };
@@ -39,6 +39,8 @@ export interface FavoriteSkillsPanelProps {
39
39
  onBrowse: () => void;
40
40
  /** Opens skill details; omitted hides the details tooltip. */
41
41
  onViewDetails?: (item: FavoriteSkillItem) => void;
42
+ /** Whether rows render without the hover/focus details tooltip, even when `onViewDetails` is set. Defaults to `false`. */
43
+ isRowTooltipHidden?: boolean;
42
44
  /** Additional classes applied to the panel root. */
43
45
  className?: string;
44
46
  /** Additional classes applied to each favorite row. */
@@ -1 +1 @@
1
- {"version":3,"file":"favorite-skills-panel-props.d.ts","sourceRoot":"","sources":["../../src/models/favorite-skills-panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,kFAAkF;AAClF,MAAM,WAAW,yBAAyB;IACxC,sEAAsE;IACtE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2FAA2F;IAC3F,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6GAA6G;IAC7G,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,qFAAqF;IACrF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oGAAoG;IACpG,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,6DAA6D;AAC7D,MAAM,WAAW,yBAAyB;IACxC,2EAA2E;IAC3E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,+EAA+E;IAC/E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,+CAA+C;AAC/C,MAAM,WAAW,wBAAwB;IACvC,iEAAiE;IACjE,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,6IAA6I;IAC7I,QAAQ,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5C,+DAA+D;IAC/D,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,kDAAkD;IAClD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAClD,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,oCAAoC;IACpC,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,wDAAwD;IACxD,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oIAAoI;IACpI,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sFAAsF;IACtF,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
1
+ {"version":3,"file":"favorite-skills-panel-props.d.ts","sourceRoot":"","sources":["../../src/models/favorite-skills-panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,kFAAkF;A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AW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,oCAAoC;IACpC,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,wDAAwD;IACxD,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oIAAoI;IACpI,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sFAAsF;IACtF,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
@@ -30,5 +30,7 @@ export interface SkillInfoTooltipContentProps {
30
30
  * Tab should move from row to row. Unset keeps the button's default.
31
31
  */
32
32
  viewDetailsTabIndex?: number;
33
+ /** CSS class applied to the description and message paragraphs. Defaults to `'dial-tiny-text'`. */
34
+ textClassName?: string;
33
35
  }
34
36
  //# sourceMappingURL=skill-info-tooltip-content-props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skill-info-tooltip-content-props.d.ts","sourceRoot":"","sources":["../../src/models/skill-info-tooltip-content-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,iEAAiE;AACjE,MAAM,WAAW,4BAA4B;IAC3C,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;IACzC,+GAA+G;IAC/G,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4GAA4G;IAC5G,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kGAAkG;IAClG,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
1
+ {"version":3,"file":"skill-info-tooltip-content-props.d.ts","sourceRoot":"","sources":["../../src/models/skill-info-tooltip-content-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,iEAAiE;AACjE,MAAM,WAAW,4BAA4B;IAC3C,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;IACzC,+GAA+G;IAC/G,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4GAA4G;IAC5G,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kGAAkG;IAClG,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mGAAmG;IACnG,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1,4 +1,4 @@
1
- import { RequestSkill } from '@epam/ai-dial-chat-shared';
1
+ import { RequestSkill, TextSegment } from '@epam/ai-dial-chat-shared';
2
2
  import { CommandMenuConfig, HighlightedTextRange, MenuOverlayConfig } from '@epam/ai-dial-conversation-input';
3
3
  import { ComponentType, ReactNode } from 'react';
4
4
  import { ChatSkillDetailsTrigger } from './chat-skill-props';
@@ -111,6 +111,8 @@ export interface UseSkillSelectorOverlayOptions {
111
111
  * layouts, where hover never fires.
112
112
  */
113
113
  historyDetailsTrigger?: ChatSkillDetailsTrigger;
114
+ /** Forwarded to the Add-menu and slash-menu favorites panels' `isRowTooltipHidden`. Defaults to `false`. */
115
+ isRowTooltipHidden?: boolean;
114
116
  /**
115
117
  * Renders the browse modal's picker content (e.g. a host catalog view);
116
118
  * receives the selection and close callbacks to wire into it, and is
@@ -235,7 +237,7 @@ export interface UseSkillSelectorOverlayResult {
235
237
  recognizeMentionsInInsertion: (text: string) => void;
236
238
  /**
237
239
  * Renders a user message's `content` and `custom_content.skills` as an
238
- * ordered array interleaving plain-text runs and `ChatSkill` elements at
240
+ * ordered array interleaving markdown string runs and `ChatSkill` segments (each with its matched `/{name}` text) at
239
241
  * each mention's actual text position — for `UserMessageBubble`'s
240
242
  * `textSegments` prop. Resolves each entry's name from the listing pools
241
243
  * matched on its url, falling back to the url's last non-empty segment;
@@ -248,7 +250,7 @@ export interface UseSkillSelectorOverlayResult {
248
250
  * `matchSkillMentions` cannot locate in `content` is simply omitted from
249
251
  * the render (see `matchSkillMentions`'s own doc for that heuristic).
250
252
  */
251
- renderHistorySkillSegments: (content: string, skills: RequestSkill[] | undefined) => ReactNode[] | null;
253
+ renderHistorySkillSegments: (content: string, skills: RequestSkill[] | undefined) => TextSegment[] | null;
252
254
  /**
253
255
  * Renders every entry of `skills` as a flat list of `ChatSkill` elements,
254
256
  * ignoring text position — for `AssistantMessageBubble`'s `beforeContent`
@@ -1 +1 @@
1
- {"version":3,"file":"skill-selector-overlay.d.ts","sourceRoot":"","sources":["../../src/models/skill-selector-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,yBAAyB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AAE,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAAK,SAAS,CAAC;CACxE"}
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.2.5",
4
+ "version": "1.3.0-dev.102",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@tabler/icons-react": "^3.44.0",
21
- "@epam/ai-dial-catalog": "1.2.5",
22
- "@epam/ai-dial-conversation-input": "1.2.5"
21
+ "@epam/ai-dial-catalog": "1.3.0-dev.102",
22
+ "@epam/ai-dial-conversation-input": "1.3.0-dev.102"
23
23
  },
24
24
  "peerDependencies": {
25
- "@epam/ai-dial-chat-shared": "1.2.5",
26
- "@epam/ai-dial-react-file-manager": "^0.3.5",
27
- "@epam/ai-dial-ui-kit": "^0.15.4",
25
+ "@epam/ai-dial-chat-shared": "1.3.0-dev.102",
26
+ "@epam/ai-dial-react-file-manager": "^0.4.0-dev.9",
27
+ "@epam/ai-dial-ui-kit": "^0.16.0-dev.16",
28
28
  "react": "^19.2.8"
29
29
  },
30
30
  "repository": {