@epam/ai-dial-sidebar 1.1.0-dev.43 → 1.1.0-dev.45

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 +10 -5
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -82758,14 +82758,19 @@ S(({ tabs: e, activeTabId: t, onTabChange: n, styles: r }) => {
82758
82758
  let { tabClassName: i = "dial-tiny-semi-text" } = r?.typography ?? {};
82759
82759
  return /* @__PURE__ */ N("div", {
82760
82760
  className: "flex flex-nowrap gap-1",
82761
+ role: "tablist",
82761
82762
  children: e.map((e) => {
82762
82763
  let r = t === e.id;
82763
- return /* @__PURE__ */ N(kc, {
82764
- label: e.label,
82765
- selected: r,
82766
- onClick: () => n(e.id),
82764
+ return /* @__PURE__ */ N("div", {
82765
+ role: "tab",
82767
82766
  "aria-selected": r,
82768
- className: jK("box-border h-auto shrink-0 justify-center rounded-full p-2 text-center", i, $9.tabContainer, r && $9.tabActive)
82767
+ className: "contents",
82768
+ children: /* @__PURE__ */ N(kc, {
82769
+ label: e.label,
82770
+ selected: r,
82771
+ onClick: () => n(e.id),
82772
+ className: jK("box-border h-auto shrink-0 justify-center rounded-full p-2 text-center", i, $9.tabContainer, r && $9.tabActive)
82773
+ })
82769
82774
  }, e.id);
82770
82775
  })
82771
82776
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-sidebar",
3
3
  "description": "Resizable sidebar panel shell with header, search, and empty state components",
4
- "version": "1.1.0-dev.43",
4
+ "version": "1.1.0-dev.45",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -17,8 +17,8 @@
17
17
  }
18
18
  },
19
19
  "peerDependencies": {
20
- "@epam/ai-dial-chat-shared": "1.1.0-dev.43",
21
- "@epam/ai-dial-kit": "1.1.0-dev.43",
20
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.45",
21
+ "@epam/ai-dial-kit": "1.1.0-dev.45",
22
22
  "@tabler/icons-react": "^3.44.0",
23
23
  "react": "^19.0.0",
24
24
  "@epam/ai-dial-ui-kit": "^0.13.0-dev.12"