Skip to content

Commit

Permalink
feat(ui)!: remove primereact dependency from ui package (#1316)
Browse files Browse the repository at this point in the history
* feat(ui): remove useManipulatedColumns hook

* feat(ui): remove primereact dependency from ui package
  • Loading branch information
shailesh896 authored Dec 31, 2024
1 parent 3f5ab4e commit a73ee55
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 89 deletions.
6 changes: 3 additions & 3 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"main": "dist//DzangolabReactUI.umd.js",
"module": "dist//DzangolabReactUI.es.js",
"types": "./dist/src/index.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"scripts": {
"build": "vite build && tsc --emitDeclarationOnly",
"lint": "eslint .",
Expand Down Expand Up @@ -58,7 +60,6 @@
"eslint-plugin-unicorn": "56.0.1",
"jsdom": "25.0.1",
"prettier": "3.3.3",
"primereact": "9.6.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.28.0",
Expand All @@ -67,7 +68,6 @@
"vitest": "2.1.8"
},
"peerDependencies": {
"primereact": ">=9.6",
"react": ">=18.2",
"react-dom": ">=18.2",
"react-router-dom": ">=6.9"
Expand Down
7 changes: 0 additions & 7 deletions packages/ui/src/assets/css/fileCard.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
.file-card,
.file-card > .p-card-body,
.file-card > .p-card-body > .p-card-content {
padding: 0rem !important;
}

.file-card {
box-shadow: -1px -1px 29px -14px rgba(0, 0, 0, 0.28);
max-width: 100%;
Expand All @@ -22,7 +16,6 @@
align-items: center;
display: flex;
justify-content: center;
align-items: center;
min-height: 6rem;
min-width: 6rem;
}
Expand Down
1 change: 0 additions & 1 deletion packages/ui/src/assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
@import "./loadingPage.css";
@import "./ssoBaseButton.css";
@import "./googleButton.css";
@import "./primereact-override/index.css";
@import "./pagination.css";
@import "./fileCard.css";
@import "./filelist.css";
Expand Down
37 changes: 0 additions & 37 deletions packages/ui/src/assets/css/primereact-override/datatable.css

This file was deleted.

3 changes: 0 additions & 3 deletions packages/ui/src/assets/css/primereact-override/index.css

This file was deleted.

8 changes: 0 additions & 8 deletions packages/ui/src/assets/css/primereact-override/menu.css

This file was deleted.

27 changes: 0 additions & 27 deletions packages/ui/src/assets/css/primereact-override/tag.css

This file was deleted.

3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a73ee55

Please sign in to comment.