@js-smart/react-kit 5.11.0 → 5.12.0-beta.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.
- package/.editorconfig +13 -0
- package/.eslintignore +1 -0
- package/.eslintrc.json +41 -0
- package/.github/copilot-instructions.md +11 -0
- package/.github/workflows/build.yml +45 -0
- package/.github/workflows/release.yml +65 -0
- package/.prettierignore +5 -0
- package/.prettierrc +9 -0
- package/.vscode/extensions.json +7 -0
- package/CHANGELOG.md +24 -0
- package/CODE_OF_CONDUCT.md +128 -0
- package/FUNDING.yml +1 -0
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/apps/react-kit-demo/.eslintrc.json +22 -0
- package/apps/react-kit-demo/index.html +16 -0
- package/apps/react-kit-demo/project.json +9 -0
- package/apps/react-kit-demo/public/favicon.ico +0 -0
- package/apps/react-kit-demo/src/app/Home.tsx +17 -0
- package/apps/react-kit-demo/src/app/all-books/AllBooks.tsx +68 -0
- package/apps/react-kit-demo/src/app/app.module.scss +1 -0
- package/apps/react-kit-demo/src/app/app.tsx +29 -0
- package/apps/react-kit-demo/src/app/buttons/ButtonsDemo.tsx +58 -0
- package/apps/react-kit-demo/src/app/dialog/DialogDemo.tsx +23 -0
- package/apps/react-kit-demo/src/app/links/LinksDemo.tsx +20 -0
- package/apps/react-kit-demo/src/app/progress-bar/CenterCircularProgressDemo.tsx +10 -0
- package/apps/react-kit-demo/src/app/react-if/ReactIfDemo.tsx +44 -0
- package/apps/react-kit-demo/src/app/snack-bar/SnackBarDemo.tsx +35 -0
- package/apps/react-kit-demo/src/assets/.gitkeep +0 -0
- package/apps/react-kit-demo/src/constants/ApiConstants.ts +7 -0
- package/apps/react-kit-demo/src/constants/DialogMode.ts +2 -0
- package/apps/react-kit-demo/src/constants/HttpConstants.ts +18 -0
- package/apps/react-kit-demo/src/constants/StateConstants.ts +2 -0
- package/apps/react-kit-demo/src/main.tsx +17 -0
- package/apps/react-kit-demo/src/routes/Routes.tsx +55 -0
- package/apps/react-kit-demo/src/services/BookService.ts +21 -0
- package/apps/react-kit-demo/src/styles.scss +36 -0
- package/apps/react-kit-demo/src/theme.ts +46 -0
- package/apps/react-kit-demo/src/types/Book.ts +8 -0
- package/{lib/utils/CssUtils.d.ts → apps/react-kit-demo/src/utils/CssUtils.ts} +3 -1
- package/apps/react-kit-demo/tsconfig.app.json +18 -0
- package/apps/react-kit-demo/tsconfig.json +21 -0
- package/apps/react-kit-demo/tsconfig.spec.json +28 -0
- package/apps/react-kit-demo/vite.config.ts +50 -0
- package/nx.json +52 -0
- package/package.json +99 -44
- package/react-kit/.babelrc +12 -0
- package/react-kit/.eslintrc.json +18 -0
- package/react-kit/README.md +7 -0
- package/react-kit/package-lock.json +1330 -0
- package/react-kit/package.json +45 -0
- package/react-kit/project.json +10 -0
- package/{index.d.ts → react-kit/src/index.ts} +9 -0
- package/react-kit/src/lib/components/CenteredCircularProgress.tsx +15 -0
- package/react-kit/src/lib/components/ConfirmationDialog.tsx +28 -0
- package/react-kit/src/lib/components/DismissibleAlert.tsx +60 -0
- package/react-kit/src/lib/components/NextLink.tsx +26 -0
- package/react-kit/src/lib/components/OpenInNewIconLink.tsx +42 -0
- package/react-kit/src/lib/components/ReactIf.tsx +53 -0
- package/react-kit/src/lib/components/buttons/CancelButton.tsx +45 -0
- package/react-kit/src/lib/components/buttons/DeleteButton.tsx +35 -0
- package/react-kit/src/lib/components/buttons/EditIconButton.tsx +23 -0
- package/react-kit/src/lib/components/buttons/ExcelButton.tsx +43 -0
- package/react-kit/src/lib/components/buttons/GoBackButton.tsx +22 -0
- package/react-kit/src/lib/components/buttons/HistoryButton.tsx +45 -0
- package/react-kit/src/lib/components/buttons/LoadingSuccessButton.tsx +53 -0
- package/react-kit/src/lib/components/buttons/ManageButton.tsx +31 -0
- package/react-kit/src/lib/components/buttons/SuccessButton.tsx +44 -0
- package/react-kit/src/lib/components/snack-bar/AppSnackBar.tsx +46 -0
- package/react-kit/src/lib/components/snack-bar/QuerySnackBar.tsx +62 -0
- package/react-kit/src/lib/components/table/TablePaginationActions.tsx +58 -0
- package/react-kit/src/lib/components/tabs/TabPanel.tsx +26 -0
- package/react-kit/src/lib/constants/AppConstants.ts +17 -0
- package/react-kit/src/lib/types/ProgressState.ts +7 -0
- package/react-kit/src/lib/utils/BooleanUtils.ts +13 -0
- package/react-kit/src/lib/utils/CssUtils.ts +13 -0
- package/react-kit/src/lib/utils/DateUtils.ts +43 -0
- package/react-kit/src/lib/utils/NumberUtils.ts +12 -0
- package/react-kit/src/lib/utils/ProgressStateUtils.ts +68 -0
- package/react-kit/src/lib/utils/StringUtils.ts +14 -0
- package/react-kit/src/lib/utils/UrlUtils.ts +19 -0
- package/react-kit/src/lib/utils/fetchClient.ts +64 -0
- package/react-kit/src/tests/buttons/CancelButton.test.tsx +69 -0
- package/react-kit/src/tests/buttons/DeleteButton.test.tsx +63 -0
- package/react-kit/src/tests/buttons/EditIconButton.test.tsx +34 -0
- package/react-kit/src/tests/buttons/HistoryButton.test.tsx +46 -0
- package/react-kit/src/tests/buttons/LoadingSuccessButton.test.tsx +53 -0
- package/react-kit/src/tests/buttons/ManageButton.test.tsx +49 -0
- package/react-kit/src/tests/buttons/SuccessButton.test.tsx +46 -0
- package/react-kit/src/tests/snack-bar/AppSnackBar.test.tsx +54 -0
- package/react-kit/src/tests/utils/BooleanUtils.test.ts +35 -0
- package/react-kit/src/tests/utils/CssUtils.test.ts +17 -0
- package/react-kit/src/tests/utils/DateUtils.test.ts +46 -0
- package/react-kit/src/tests/utils/NumberUtils.test.ts +19 -0
- package/react-kit/src/tests/utils/ProgressStateUtils.test.ts +131 -0
- package/react-kit/src/tests/utils/StringUtils.test.ts +33 -0
- package/react-kit/src/tests/utils/UrlUtils.test.ts +19 -0
- package/react-kit/tsconfig.json +22 -0
- package/react-kit/tsconfig.lib.json +24 -0
- package/react-kit/tsconfig.spec.json +27 -0
- package/react-kit/vite.config.ts +72 -0
- package/release.sh +28 -0
- package/tsconfig.base.json +22 -0
- package/vitest.workspace.js +3 -0
- package/vitest.workspace.ts +1 -0
- package/index.cjs +0 -74
- package/index.js +0 -4120
- package/lib/components/CenteredCircularProgress.d.ts +0 -7
- package/lib/components/ConfirmationDialog.d.ts +0 -11
- package/lib/components/DismissibleAlert.d.ts +0 -17
- package/lib/components/NextLink.d.ts +0 -17
- package/lib/components/OpenInNewIconLink.d.ts +0 -17
- package/lib/components/ReactIf.d.ts +0 -36
- package/lib/components/buttons/CancelButton.d.ts +0 -28
- package/lib/components/buttons/DeleteButton.d.ts +0 -16
- package/lib/components/buttons/EditIconButton.d.ts +0 -8
- package/lib/components/buttons/ExcelButton.d.ts +0 -26
- package/lib/components/buttons/GoBackButton.d.ts +0 -10
- package/lib/components/buttons/HistoryButton.d.ts +0 -28
- package/lib/components/buttons/LoadingSuccessButton.d.ts +0 -28
- package/lib/components/buttons/ManageButton.d.ts +0 -14
- package/lib/components/buttons/SuccessButton.d.ts +0 -28
- package/lib/components/snack-bar/AppSnackBar.d.ts +0 -6
- package/lib/components/snack-bar/QuerySnackBar.d.ts +0 -18
- package/lib/components/table/TablePaginationActions.d.ts +0 -9
- package/lib/components/tabs/TabPanel.d.ts +0 -12
- package/lib/constants/AppConstants.d.ts +0 -15
- package/lib/types/ProgressState.d.ts +0 -7
- package/lib/utils/BooleanUtils.d.ts +0 -7
- package/lib/utils/DateUtils.d.ts +0 -22
- package/lib/utils/NumberUtils.d.ts +0 -7
- package/lib/utils/ProgressStateUtils.d.ts +0 -38
- package/lib/utils/StringUtils.d.ts +0 -7
- package/lib/utils/UrlUtils.d.ts +0 -11
- package/lib/utils/fetchClient.d.ts +0 -12
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": ["plugin:@nx/react", "../.eslintrc.json"],
|
|
3
|
+
"ignorePatterns": ["!**/*", "**/vite.config.*.timestamp*", "**/vitest.config.*.timestamp*"],
|
|
4
|
+
"overrides": [
|
|
5
|
+
{
|
|
6
|
+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
7
|
+
"rules": {}
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"files": ["*.ts", "*.tsx"],
|
|
11
|
+
"rules": {}
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"files": ["*.js", "*.jsx"],
|
|
15
|
+
"rules": {}
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|