Skip to content

Commit

Permalink
chore: release v0.47.0 (#1112)
Browse files Browse the repository at this point in the history
* chore: release v0.47.0

* chore: update CHANGELOG
  • Loading branch information
suvashvishowkarma authored Aug 26, 2024
1 parent 7eb46d3 commit 417a661
Show file tree
Hide file tree
Showing 11 changed files with 107 additions and 70 deletions.
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
# [0.47.0](https://github.com/dzangolab/react/compare/v0.46.0...v0.47.0) (2024-08-26)


### Breaking Changes

#### 1. Removal of `@dzangolab/react-form` CSS from `@dzangolab/react-user` Package

- **Removed Form CSS from User Package**: The default import of `@dzangolab/react-form` CSS has been removed from the `@dzangolab/react-user` package. The `@dzangolab/react-form` package is now a peer dependency of the `@dzangolab/react-user` package.
- **Affected Component**: Applications using the `@dzangolab/react-user` package.
- **Migration Steps**:
1. Add `@dzangolab/react-form` as a dependency in your application.
2. Import the `@dzangolab/react-form` CSS into your application manually. Example:
```javascript
import "@dzangolab/react-form/dist/DzangolabReactForm.css";
```
#### 2. Make Table `Actions` Column's Visibility Configurable

- **Configurable Table `Actions` Column**: The `Actions` column in the `Table` component's visibility can now be configured using the `visibleColumns` prop. By default, the `Actions` column will be included in the table if the `dataActionsMenu` prop is provided. However, you must explicitly include it in the `visibleColumns` prop if you want it to appear.
- **Affected Component**: Applications using the `visibleColumns` prop in `Table` component.
- **Migration Steps**: If you are using the `visibleColumns` prop in the `Table` component and have actions defined, ensure that `"actions"` is included in the `visibleColumns` array. Example:
```javascript
<UsersTable
visibleColumns={["email", ..., "actions"]} // <-- include "actions" here
dataActionsMenu={dataActionsMenu}
/>
```

### Bug Fixes

* **invitations:** disabled resend action if invitation status is not… ([#1108](https://github.com/dzangolab/react/issues/1108)) ([021bc1d](https://github.com/dzangolab/react/commit/021bc1d31d12f80c40418eedab70565ff521e955))
* **table:** make actions column visibility configurable via visibleCo… ([#1109](https://github.com/dzangolab/react/issues/1109)) ([d116940](https://github.com/dzangolab/react/commit/d11694019cb4777508c06d1c275c798cbcfc347c))


### Features

* **file-upload:** display file rejection error ([#1110](https://github.com/dzangolab/react/issues/1110)) ([7eb46d3](https://github.com/dzangolab/react/commit/7eb46d38e528cf40e01f716b09d8b36f566473b1))



# [0.46.0](https://github.com/dzangolab/react/compare/v0.45.1...v0.46.0) (2024-08-19)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dzangolab/react",
"version": "0.46.0",
"version": "0.47.0",
"scripts": {
"build": "turbo run build",
"lint": "turbo run lint",
Expand Down
6 changes: 3 additions & 3 deletions packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dzangolab/react-config",
"version": "0.46.0",
"version": "0.47.0",
"description": "React config",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -32,11 +32,11 @@
"@vitejs/plugin-react": "4.2.1",
"@vitest/coverage-v8": "1.6.0",
"eslint": "8.57.0",
"eslint-config-custom": "0.46.0",
"eslint-config-custom": "0.47.0",
"jsdom": "24.0.0",
"prettier": "3.2.5",
"react": "18.3.1",
"tsconfig": "0.46.0",
"tsconfig": "0.47.0",
"typescript": "5.4.5",
"vite": "5.2.11",
"vitest": "1.6.0"
Expand Down
10 changes: 5 additions & 5 deletions packages/form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dzangolab/react-form",
"version": "0.46.0",
"version": "0.47.0",
"description": "React Form Component Library",
"exports": {
".": {
Expand Down Expand Up @@ -34,7 +34,7 @@
"zod": "3.23.6"
},
"devDependencies": {
"@dzangolab/react-ui": "0.46.0",
"@dzangolab/react-ui": "0.47.0",
"@testing-library/react": "14.3.1",
"@types/jsdom": "21.1.6",
"@types/node": "20.14.14",
Expand All @@ -44,20 +44,20 @@
"@vitejs/plugin-react": "4.2.1",
"@vitest/coverage-v8": "1.6.0",
"eslint": "8.57.0",
"eslint-config-custom": "0.46.0",
"eslint-config-custom": "0.47.0",
"eslint-plugin-react": "7.34.1",
"jsdom": "24.0.0",
"prettier": "3.2.5",
"primereact": "9.6.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"tsconfig": "0.46.0",
"tsconfig": "0.47.0",
"typescript": "5.4.5",
"vite": "5.2.11",
"vitest": "1.6.0"
},
"peerDependencies": {
"@dzangolab/react-ui": "0.46.0",
"@dzangolab/react-ui": "0.47.0",
"primereact": "9.6.1",
"react": ">=18.2",
"react-dom": ">=18.2",
Expand Down
12 changes: 6 additions & 6 deletions packages/i18n/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dzangolab/react-i18n",
"version": "0.46.0",
"version": "0.47.0",
"description": "React I18n Plugin",
"exports": {
".": {
Expand All @@ -26,15 +26,15 @@
"typecheck": "tsc --noEmit -p tsconfig.vitest.json --composite false"
},
"dependencies": {
"@dzangolab/react-ui": "0.46.0",
"@dzangolab/react-ui": "0.47.0",
"i18next": "23.11.3",
"i18next-browser-languagedetector": "7.2.1",
"i18next-chained-backend": "4.6.2",
"i18next-resources-to-backend": "1.2.1",
"react-i18next": "14.1.1"
},
"devDependencies": {
"@dzangolab/react-config": "0.46.0",
"@dzangolab/react-config": "0.47.0",
"@testing-library/react": "14.3.1",
"@types/jsdom": "21.1.6",
"@types/node": "20.14.14",
Expand All @@ -43,18 +43,18 @@
"@vitejs/plugin-react": "4.2.1",
"@vitest/coverage-v8": "1.6.0",
"eslint": "8.57.0",
"eslint-config-custom": "0.46.0",
"eslint-config-custom": "0.47.0",
"eslint-plugin-react": "7.34.1",
"prettier": "3.2.5",
"react": "18.3.1",
"react-dom": "18.3.1",
"tsconfig": "0.46.0",
"tsconfig": "0.47.0",
"typescript": "5.4.5",
"vite": "5.2.11",
"vitest": "1.6.0"
},
"peerDependencies": {
"@dzangolab/react-config": "0.46.0",
"@dzangolab/react-config": "0.47.0",
"react": ">=18.2",
"react-dom": ">=18.2"
},
Expand Down
18 changes: 9 additions & 9 deletions packages/layout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dzangolab/react-layout",
"version": "0.46.0",
"version": "0.47.0",
"description": "React Layout Component Library",
"exports": {
".": {
Expand All @@ -27,9 +27,9 @@
},
"dependencies": {},
"devDependencies": {
"@dzangolab/react-config": "0.46.0",
"@dzangolab/react-i18n": "0.46.0",
"@dzangolab/react-ui": "0.46.0",
"@dzangolab/react-config": "0.47.0",
"@dzangolab/react-i18n": "0.47.0",
"@dzangolab/react-ui": "0.47.0",
"@testing-library/react": "14.3.1",
"@types/jsdom": "21.1.6",
"@types/node": "20.14.14",
Expand All @@ -38,23 +38,23 @@
"@vitejs/plugin-react": "4.2.1",
"@vitest/coverage-v8": "1.6.0",
"eslint": "8.57.0",
"eslint-config-custom": "0.46.0",
"eslint-config-custom": "0.47.0",
"eslint-plugin-react": "7.34.1",
"jsdom": "24.0.0",
"prettier": "3.2.5",
"primeicons": "7.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.23.0",
"tsconfig": "0.46.0",
"tsconfig": "0.47.0",
"typescript": "5.4.5",
"vite": "5.2.11",
"vitest": "1.6.0"
},
"peerDependencies": {
"@dzangolab/react-config": "0.46.0",
"@dzangolab/react-i18n": "0.46.0",
"@dzangolab/react-ui": "0.46.0",
"@dzangolab/react-config": "0.47.0",
"@dzangolab/react-i18n": "0.47.0",
"@dzangolab/react-ui": "0.47.0",
"primeicons": ">=6.0.1",
"react": ">=18.2",
"react-dom": ">=18.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dzangolab/react-ui",
"version": "0.46.0",
"version": "0.47.0",
"description": "React UI Component Library",
"exports": {
".": {
Expand Down Expand Up @@ -34,7 +34,7 @@
"react-popper": "^2.3.0"
},
"devDependencies": {
"@dzangolab/react-config": "0.46.0",
"@dzangolab/react-config": "0.47.0",
"@testing-library/react": "14.3.1",
"@types/file-saver": "2.0.7",
"@types/jsdom": "21.1.6",
Expand All @@ -44,15 +44,15 @@
"@vitejs/plugin-react": "4.2.1",
"@vitest/coverage-v8": "1.6.0",
"eslint": "8.57.0",
"eslint-config-custom": "0.46.0",
"eslint-config-custom": "0.47.0",
"eslint-plugin-react": "7.34.1",
"jsdom": "24.0.0",
"prettier": "3.2.5",
"primereact": "9.6.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.23.0",
"tsconfig": "0.46.0",
"tsconfig": "0.47.0",
"typescript": "5.4.5",
"vite": "5.2.11",
"vitest": "1.6.0"
Expand Down
30 changes: 14 additions & 16 deletions packages/user/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dzangolab/react-user",
"version": "0.46.0",
"version": "0.47.0",
"description": "React User Plugin",
"exports": {
".": {
Expand All @@ -12,9 +12,7 @@
"main": "dist//DzangolabReactUser.umd.js",
"module": "dist//DzangolabReactUser.es.js",
"types": "./dist/src/index.d.ts",
"files": [
"dist"
],
"files": ["dist"],
"scripts": {
"build": "vite build && tsc --emitDeclarationOnly",
"lint": "eslint . --ext .react,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts",
Expand All @@ -32,11 +30,11 @@
"zod": "3.23.6"
},
"devDependencies": {
"@dzangolab/react-config": "0.46.0",
"@dzangolab/react-form": "0.46.0",
"@dzangolab/react-i18n": "0.46.0",
"@dzangolab/react-layout": "0.46.0",
"@dzangolab/react-ui": "0.46.0",
"@dzangolab/react-config": "0.47.0",
"@dzangolab/react-form": "0.47.0",
"@dzangolab/react-i18n": "0.47.0",
"@dzangolab/react-layout": "0.47.0",
"@dzangolab/react-ui": "0.47.0",
"@testing-library/dom": "9.3.4",
"@testing-library/react": "14.3.1",
"@testing-library/user-event": "14.5.2",
Expand All @@ -48,7 +46,7 @@
"@vitest/coverage-v8": "1.6.0",
"axios": "1.6.8",
"eslint": "8.57.0",
"eslint-config-custom": "0.46.0",
"eslint-config-custom": "0.47.0",
"eslint-plugin-react": "7.34.1",
"jsdom": "24.0.0",
"prettier": "3.2.5",
Expand All @@ -57,17 +55,17 @@
"react-dom": "18.3.1",
"react-router-dom": "6.23.0",
"react-toastify": "10.0.5",
"tsconfig": "0.46.0",
"tsconfig": "0.47.0",
"typescript": "5.4.5",
"vite": "5.2.11",
"vitest": "1.6.0"
},
"peerDependencies": {
"@dzangolab/react-config": "0.46.0",
"@dzangolab/react-form": "0.46.0",
"@dzangolab/react-i18n": "0.46.0",
"@dzangolab/react-layout": "0.46.0",
"@dzangolab/react-ui": "0.46.0",
"@dzangolab/react-config": "0.47.0",
"@dzangolab/react-form": "0.47.0",
"@dzangolab/react-i18n": "0.47.0",
"@dzangolab/react-layout": "0.47.0",
"@dzangolab/react-ui": "0.47.0",
"axios": "1.6.8",
"primeicons": "7.0.0",
"react": ">=18.2",
Expand Down
Loading

0 comments on commit 417a661

Please sign in to comment.