@epam/ai-dial-catalog 1.0.0-dev.486 → 1.0.0-dev.489
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.
- package/index.js +20 -18
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -25720,10 +25720,12 @@ var pb = 2e3, mb = (e, t = pb) => {
|
|
|
25720
25720
|
}, [e, t])
|
|
25721
25721
|
};
|
|
25722
25722
|
}, hb = {
|
|
25723
|
-
container: "
|
|
25724
|
-
containerLight: "
|
|
25725
|
-
header: "
|
|
25726
|
-
|
|
25723
|
+
container: "_container_1w6ki_1",
|
|
25724
|
+
containerLight: "_containerLight_1w6ki_6",
|
|
25725
|
+
header: "_header_1w6ki_10",
|
|
25726
|
+
languageLabel: "_languageLabel_1w6ki_15",
|
|
25727
|
+
copiedIcon: "_copiedIcon_1w6ki_19",
|
|
25728
|
+
scrollContainer: "_scrollContainer_1w6ki_23"
|
|
25727
25729
|
}, gb = { color: "var(--text-secondary, #575f73)" }, _b = { color: "var(--bg-accent-primary, #2764d9)" }, vb = { color: "var(--text-accent-tertiary, #7e39ec)" }, yb = { color: "var(--text-primary, #161b2d)" }, bb = {
|
|
25728
25730
|
"code[class*=\"language-\"]": {
|
|
25729
25731
|
color: "var(--text-primary, #161b2d)",
|
|
@@ -25794,14 +25796,14 @@ var pb = 2e3, mb = (e, t = pb) => {
|
|
|
25794
25796
|
}, xb = {
|
|
25795
25797
|
dark: bb,
|
|
25796
25798
|
light: bb
|
|
25797
|
-
}, Sb = i(({ language: e, value: t, isStreaming: n, theme: r = xt.Dark, copyLabel: i = "Copy code", copiedLabel: a = "Copied!", downloadLabel: o = "Download code", containerClassName: s, headerClassName: c, codeClassName: l = "dial-code-text" }) => {
|
|
25798
|
-
let { isCopied:
|
|
25799
|
+
}, Sb = i(({ language: e, value: t, isStreaming: n, theme: r = xt.Dark, copyLabel: i = "Copy code", copiedLabel: a = "Copied!", downloadLabel: o = "Download code", containerClassName: s, headerClassName: c, codeClassName: l = "dial-code-text", languageLabelClassName: u = "dial-tiny-semi-text uppercase" }) => {
|
|
25800
|
+
let { isCopied: d, copy: f } = mb(t), h = r === xt.Light;
|
|
25799
25801
|
return /* @__PURE__ */ R("div", {
|
|
25800
|
-
className: G("my-4 max-w-full overflow-hidden rounded-xl border", hb.container,
|
|
25802
|
+
className: G("my-4 max-w-full overflow-hidden rounded-xl border", hb.container, h && hb.containerLight, s),
|
|
25801
25803
|
children: [/* @__PURE__ */ R("div", {
|
|
25802
25804
|
className: G("flex min-h-10 items-center justify-between border-b px-3 py-2", hb.header, c),
|
|
25803
25805
|
children: [/* @__PURE__ */ L("span", {
|
|
25804
|
-
className:
|
|
25806
|
+
className: G(hb.languageLabel, u),
|
|
25805
25807
|
children: e
|
|
25806
25808
|
}), !n && /* @__PURE__ */ R("div", {
|
|
25807
25809
|
className: "flex items-center gap-1",
|
|
@@ -25814,12 +25816,12 @@ var pb = 2e3, mb = (e, t = pb) => {
|
|
|
25814
25816
|
nr(t, `code.${$n(e)}`);
|
|
25815
25817
|
}
|
|
25816
25818
|
}), /* @__PURE__ */ L(E, {
|
|
25817
|
-
icon: L(
|
|
25818
|
-
"aria-label":
|
|
25819
|
+
icon: L(d ? cp : lp, { size: m.SM }),
|
|
25820
|
+
"aria-label": d ? a : i,
|
|
25819
25821
|
variant: p.Primary,
|
|
25820
25822
|
size: ie.Small,
|
|
25821
|
-
className:
|
|
25822
|
-
onClick:
|
|
25823
|
+
className: d ? hb.copiedIcon : void 0,
|
|
25824
|
+
onClick: f
|
|
25823
25825
|
})]
|
|
25824
25826
|
})]
|
|
25825
25827
|
}), /* @__PURE__ */ L("div", {
|
|
@@ -25873,10 +25875,10 @@ var pb = 2e3, mb = (e, t = pb) => {
|
|
|
25873
25875
|
handleScroll: s
|
|
25874
25876
|
};
|
|
25875
25877
|
}, Eb = {
|
|
25876
|
-
scrollContainer: "
|
|
25877
|
-
tableScrollFadeEnd: "
|
|
25878
|
-
tableScrollFadeStart: "
|
|
25879
|
-
tableScrollFadeBoth: "
|
|
25878
|
+
scrollContainer: "_scrollContainer_1bv91_1",
|
|
25879
|
+
tableScrollFadeEnd: "_tableScrollFadeEnd_1bv91_17",
|
|
25880
|
+
tableScrollFadeStart: "_tableScrollFadeStart_1bv91_25",
|
|
25881
|
+
tableScrollFadeBoth: "_tableScrollFadeBoth_1bv91_33"
|
|
25880
25882
|
}, Db = i(({ children: e, classNames: t }) => {
|
|
25881
25883
|
let { scrollContainerRef: n, tableRef: r, hasContentBeyondStart: i, hasContentBeyondEnd: a, handleScroll: o } = Tb();
|
|
25882
25884
|
return /* @__PURE__ */ L("div", {
|
|
@@ -25991,11 +25993,11 @@ var pb = 2e3, mb = (e, t = pb) => {
|
|
|
25991
25993
|
children: t
|
|
25992
25994
|
}),
|
|
25993
25995
|
th: ({ children: t }) => /* @__PURE__ */ L("th", {
|
|
25994
|
-
className: G("max-w-96 whitespace-normal break-words border-b px-3 py-2.5 text-start text-secondary
|
|
25996
|
+
className: G("max-w-96 whitespace-normal break-words border-b px-3 py-2.5 text-start text-secondary", Cb.secondaryBorder, e.tableHeaderFont ?? "font-semibold", e.tableCell, e.tableHeader),
|
|
25995
25997
|
children: t
|
|
25996
25998
|
}),
|
|
25997
25999
|
td: ({ children: t }) => /* @__PURE__ */ L("td", {
|
|
25998
|
-
className: G("max-w-96 whitespace-normal break-words border-b px-3 py-2.5 align-top
|
|
26000
|
+
className: G("max-w-96 whitespace-normal break-words border-b px-3 py-2.5 align-top", Cb.secondaryBorder, e.tableBodyCell, e.tableCell),
|
|
25999
26001
|
children: t
|
|
26000
26002
|
})
|
|
26001
26003
|
}), Nb = i(({ content: e, isStreaming: t, streamCharactersPerSecond: n, classNames: r = Ab, components: i, thinkingLabel: a = "Thinking", codeBlockCopyLabel: o, codeBlockCopiedLabel: s, codeBlockTheme: c }) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-catalog",
|
|
3
3
|
"description": "Marketplace catalog component for browsing models, tools, and assistants with search, filter, and sort",
|
|
4
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.489",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"react": "^19.0.0",
|
|
21
21
|
"@tabler/icons-react": "^3.0.0",
|
|
22
22
|
"@epam/ai-dial-ui-kit": "0.12.0-dev.28",
|
|
23
|
-
"@epam/ai-dial-kit": "1.0.0-dev.
|
|
24
|
-
"@epam/ai-dial-sidebar": "1.0.0-dev.
|
|
25
|
-
"@epam/ai-dial-chat-shared": "1.0.0-dev.
|
|
23
|
+
"@epam/ai-dial-kit": "1.0.0-dev.489",
|
|
24
|
+
"@epam/ai-dial-sidebar": "1.0.0-dev.489",
|
|
25
|
+
"@epam/ai-dial-chat-shared": "1.0.0-dev.489",
|
|
26
26
|
"ag-grid-community": "35.3.0"
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|