@epam/ai-dial-conversation-messages 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
@@ -510,14 +510,19 @@ je(({ tabs: e, activeTabId: t, onTabChange: n, styles: r }) => {
510
510
  let { tabClassName: i = "dial-tiny-semi-text" } = r?.typography ?? {};
511
511
  return /* @__PURE__ */ q("div", {
512
512
  className: "flex flex-nowrap gap-1",
513
+ role: "tablist",
513
514
  children: e.map((e) => {
514
515
  let r = t === e.id;
515
- return /* @__PURE__ */ q(w, {
516
- label: e.label,
517
- selected: r,
518
- onClick: () => n(e.id),
516
+ return /* @__PURE__ */ q("div", {
517
+ role: "tab",
519
518
  "aria-selected": r,
520
- className: d("box-border h-auto shrink-0 justify-center rounded-full p-2 text-center", i, it.tabContainer, r && it.tabActive)
519
+ className: "contents",
520
+ children: /* @__PURE__ */ q(w, {
521
+ label: e.label,
522
+ selected: r,
523
+ onClick: () => n(e.id),
524
+ className: d("box-border h-auto shrink-0 justify-center rounded-full p-2 text-center", i, it.tabContainer, r && it.tabActive)
525
+ })
521
526
  }, e.id);
522
527
  })
523
528
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-conversation-messages",
3
3
  "description": "Message bubble components for rendering conversation history with actions and source citations",
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",
@@ -19,8 +19,8 @@
19
19
  "peerDependencies": {
20
20
  "react": "^19.0.0",
21
21
  "@tabler/icons-react": "^3.0.0",
22
- "@epam/ai-dial-chat-shared": "1.1.0-dev.43",
23
- "@epam/ai-dial-conversation-input": "1.1.0-dev.43",
22
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.45",
23
+ "@epam/ai-dial-conversation-input": "1.1.0-dev.45",
24
24
  "react-markdown": "^10.1.0",
25
25
  "@epam/ai-dial-ui-kit": "^0.13.0-dev.12"
26
26
  },