Skip to content

Commit 57bdec9

Browse files
fix: ship the icon set as a dependency, not a peer (Issue epam/ai-dial-chat#8719) (#39)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 3140a07 commit 57bdec9

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,16 @@ Install the package together with its peer dependencies:
2828

2929
```bash
3030
npm install @epam/ai-dial-react-file-manager @epam/ai-dial-ui-kit \
31-
@tabler/icons-react ag-grid-community ag-grid-react react react-dom
31+
ag-grid-community ag-grid-react react react-dom
3232
```
3333

34+
`@tabler/icons-react` is not in that list any more: this package imports the
35+
icon set itself, so it ships as a dependency and npm installs it for you (see
36+
[issue epam/ai-dial-chat#8719](https://github.com/epam/ai-dial-chat/issues/8719)).
37+
AG Grid stays a peer — the grid engine needs exactly one copy per host, or its
38+
module registration breaks — and so does the UI Kit, the design-system
39+
singleton a host renders with directly.
40+
3441
Import the UI Kit stylesheet first, followed by the file manager stylesheet:
3542

3643
```ts

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@
7777
]
7878
},
7979
"dependencies": {
80+
"@tabler/icons-react": "^3.41.1",
8081
"classnames": "^2.5.1",
8182
"mime-types": "^3.0.2"
8283
},
8384
"peerDependencies": {
8485
"@epam/ai-dial-ui-kit": "^0.14.0",
85-
"@tabler/icons-react": "^3.41.1",
8686
"ag-grid-community": "^35.2.1",
8787
"ag-grid-react": "^35.2.1",
8888
"react": "^19.2.5",

0 commit comments

Comments
 (0)