Skip to content

Commit

Permalink
fix(ui-kit): Remove icons package dependency in ui-kit package (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoevanp authored Sep 1, 2023
1 parent 344deea commit 9b325a1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
10 changes: 0 additions & 10 deletions packages/ui-kit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@

<!--install-->

Firstly, install the peer dependencies (prerequisites):

```sh
npm i @rocket.chat/icons

# or, if you are using yarn:

yarn add @rocket.chat/icons
```

Add `@rocket.chat/ui-kit` as a dependency:

```sh
Expand Down
4 changes: 0 additions & 4 deletions packages/ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"@babel/plugin-transform-runtime": "~7.21.4",
"@babel/preset-env": "~7.21.4",
"@rocket.chat/eslint-config-alt": "workspace:~",
"@rocket.chat/icons": "workspace:~",
"@rocket.chat/prettier-config": "workspace:~",
"@types/jest": "~29.5.0",
"babel-loader": "~9.1.2",
Expand All @@ -60,8 +59,5 @@
"typescript": "~5.0.4",
"webpack": "~5.78.0",
"webpack-cli": "~5.0.1"
},
"peerDependencies": {
"@rocket.chat/icons": "*"
}
}
3 changes: 0 additions & 3 deletions packages/ui-kit/src/blocks/layout/CalloutBlock.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import type { Keys } from '@rocket.chat/icons';

import type { LayoutBlockish } from '../LayoutBlockish';
import type { TextObject } from '../TextObject';

export type CalloutBlock = LayoutBlockish<{
type: 'callout';
title?: TextObject;
icon?: Keys;
text: TextObject;
variant?: 'info' | 'danger' | 'warning' | 'success';
}>;

0 comments on commit 9b325a1

Please sign in to comment.