@epam/ai-dial-navigation-panel 1.3.0-dev.118 → 1.3.0-dev.126
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 +6 -6
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -93,9 +93,9 @@ var L = {
|
|
|
93
93
|
}), /* @__PURE__ */ E("div", {
|
|
94
94
|
className: "flex flex-col items-center gap-2 p-2",
|
|
95
95
|
children: n.map((e) => {
|
|
96
|
-
let n = !!e.isActive && !!e.activeIcon;
|
|
96
|
+
let n = !!e.isActive && !!e.activeIcon, r = n && e.activeIcon || e.icon;
|
|
97
97
|
return /* @__PURE__ */ E(g, { children: c(e, /* @__PURE__ */ E(f, {
|
|
98
|
-
icon: /* @__PURE__ */ E(
|
|
98
|
+
icon: /* @__PURE__ */ E(r, {
|
|
99
99
|
size: a.LG,
|
|
100
100
|
stroke: o
|
|
101
101
|
}),
|
|
@@ -210,13 +210,13 @@ var L = {
|
|
|
210
210
|
className: "flex shrink-0 items-center justify-between ps-4 pe-2 pt-3 pb-2",
|
|
211
211
|
children: [X(), f && ce()]
|
|
212
212
|
}), Q = () => /* @__PURE__ */ D(T, { children: [!(P && c) && X(), c && se()] }), $ = (e) => {
|
|
213
|
-
let n = !!e.isActive && !!e.activeIcon, r = n && e.activeIcon || e.icon, i =
|
|
213
|
+
let n = !!e.isActive && !!e.activeIcon, r = n && e.activeIcon || e.icon, i = /* @__PURE__ */ E("span", {
|
|
214
214
|
className: t("flex size-6 shrink-0 items-center justify-center", U.itemIcon),
|
|
215
215
|
children: /* @__PURE__ */ E(r, {
|
|
216
216
|
size: a.LG,
|
|
217
217
|
stroke: o
|
|
218
218
|
})
|
|
219
|
-
}), /* @__PURE__ */ E("span", {
|
|
219
|
+
}), s = _(e, /* @__PURE__ */ D(T, { children: [i, /* @__PURE__ */ E("span", {
|
|
220
220
|
className: P ? "sr-only" : M,
|
|
221
221
|
children: e.label
|
|
222
222
|
})] }), {
|
|
@@ -226,8 +226,8 @@ var L = {
|
|
|
226
226
|
return /* @__PURE__ */ E("li", { children: P ? /* @__PURE__ */ E(h, {
|
|
227
227
|
tooltip: e.label,
|
|
228
228
|
asChild: !0,
|
|
229
|
-
children:
|
|
230
|
-
}) :
|
|
229
|
+
children: s
|
|
230
|
+
}) : s }, e.id);
|
|
231
231
|
}, le = P ? /* @__PURE__ */ D(g, { children: [b, y] }) : /* @__PURE__ */ D(g, { children: [y, b] });
|
|
232
232
|
return /* @__PURE__ */ D("nav", {
|
|
233
233
|
ref: B,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-navigation-panel",
|
|
3
3
|
"description": "Primary application navigation — desktop nav rail, user menu, and mobile navigation bottom sheet",
|
|
4
|
-
"version": "1.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.126",
|
|
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-conversation-input": "1.3.0-dev.
|
|
21
|
+
"@epam/ai-dial-conversation-input": "1.3.0-dev.126"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^19.2.8",
|
|
25
|
-
"@epam/ai-dial-chat-shared": "1.3.0-dev.
|
|
25
|
+
"@epam/ai-dial-chat-shared": "1.3.0-dev.126",
|
|
26
26
|
"@epam/ai-dial-ui-kit": "^0.16.0-dev.20"
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|