@epam/ai-dial-starter-buttons 1.2.0-dev.99 → 1.2.0-rc.1

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":"StarterButtons.d.ts","sourceRoot":"","sources":["../../../src/components/StarterButtons/StarterButtons.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAMtE;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAuKlD,CAAC"}
1
+ {"version":3,"file":"StarterButtons.d.ts","sourceRoot":"","sources":["../../../src/components/StarterButtons/StarterButtons.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAMtE;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAsKlD,CAAC"}
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { BASE_MD_ICON_PROPS as e } from "@epam/ai-dial-chat-shared";
2
- import { ButtonAppearance as t, DIAL_KIT_ICON_STROKE as n, Dropdown as r, NeutralButton as i, NeutralIconButton as a, mergeClasses as o } from "@epam/ai-dial-ui-kit";
2
+ import { ButtonAppearance as t, DIAL_KIT_ICON_STROKE as n, Dropdown as r, NeutralIconButton as i, StarterButton as a, mergeClasses as o } from "@epam/ai-dial-ui-kit";
3
3
  import { IconDots as s, IconDotsVertical as c } from "@tabler/icons-react";
4
4
  import { useCallback as l, useEffect as u, useMemo as d, useRef as f, useState as p } from "react";
5
5
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
@@ -61,14 +61,13 @@ var g = {
61
61
  role: "list",
62
62
  "aria-label": C.list,
63
63
  className: o(S ? "flex flex-wrap justify-center gap-2" : "flex flex-col items-center gap-2", g.list),
64
- children: [M.map((e, n) => /* @__PURE__ */ m("div", {
64
+ children: [M.map((e, t) => /* @__PURE__ */ m("div", {
65
65
  role: "listitem",
66
66
  ref: (e) => {
67
- E.current[n] = e;
67
+ E.current[t] = e;
68
68
  },
69
- children: /* @__PURE__ */ m(i, {
69
+ children: /* @__PURE__ */ m(a, {
70
70
  label: e.title,
71
- appearance: t.Outlined,
72
71
  onClick: () => b(e)
73
72
  })
74
73
  }, e.const)), N.length > 0 && /* @__PURE__ */ m("div", {
@@ -77,7 +76,7 @@ var g = {
77
76
  items: P,
78
77
  placement: "bottom-end",
79
78
  matchReferenceWidth: !1,
80
- children: /* @__PURE__ */ m(a, {
79
+ children: /* @__PURE__ */ m(i, {
81
80
  appearance: t.Outlined,
82
81
  icon: m(x ? s : c, {
83
82
  ...j,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-starter-buttons",
3
3
  "description": "Responsive starter prompt buttons that overflow into a dropdown when space is limited",
4
- "version": "1.2.0-dev.99",
4
+ "version": "1.2.0-rc.1",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -20,9 +20,9 @@
20
20
  "@tabler/icons-react": "^3.44.0"
21
21
  },
22
22
  "peerDependencies": {
23
- "@epam/ai-dial-chat-shared": "1.2.0-dev.99",
23
+ "@epam/ai-dial-chat-shared": "1.2.0-rc.1",
24
24
  "react": "^19.2.8",
25
- "@epam/ai-dial-ui-kit": "^0.15.0-dev.12"
25
+ "@epam/ai-dial-ui-kit": "^0.15.0"
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",