@js-smart/react-kit 5.10.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.
Files changed (136) hide show
  1. package/.editorconfig +13 -0
  2. package/.eslintignore +1 -0
  3. package/.eslintrc.json +41 -0
  4. package/.github/copilot-instructions.md +11 -0
  5. package/.github/workflows/build.yml +45 -0
  6. package/.github/workflows/release.yml +65 -0
  7. package/.prettierignore +5 -0
  8. package/.prettierrc +9 -0
  9. package/.vscode/extensions.json +7 -0
  10. package/CHANGELOG.md +24 -0
  11. package/CODE_OF_CONDUCT.md +128 -0
  12. package/FUNDING.yml +1 -0
  13. package/LICENSE +21 -0
  14. package/README.md +1 -0
  15. package/apps/react-kit-demo/.eslintrc.json +22 -0
  16. package/apps/react-kit-demo/index.html +16 -0
  17. package/apps/react-kit-demo/project.json +9 -0
  18. package/apps/react-kit-demo/public/favicon.ico +0 -0
  19. package/apps/react-kit-demo/src/app/Home.tsx +17 -0
  20. package/apps/react-kit-demo/src/app/all-books/AllBooks.tsx +68 -0
  21. package/apps/react-kit-demo/src/app/app.module.scss +1 -0
  22. package/apps/react-kit-demo/src/app/app.tsx +29 -0
  23. package/apps/react-kit-demo/src/app/buttons/ButtonsDemo.tsx +58 -0
  24. package/apps/react-kit-demo/src/app/dialog/DialogDemo.tsx +23 -0
  25. package/apps/react-kit-demo/src/app/links/LinksDemo.tsx +20 -0
  26. package/apps/react-kit-demo/src/app/progress-bar/CenterCircularProgressDemo.tsx +10 -0
  27. package/apps/react-kit-demo/src/app/react-if/ReactIfDemo.tsx +44 -0
  28. package/apps/react-kit-demo/src/app/snack-bar/SnackBarDemo.tsx +35 -0
  29. package/apps/react-kit-demo/src/assets/.gitkeep +0 -0
  30. package/apps/react-kit-demo/src/constants/ApiConstants.ts +7 -0
  31. package/apps/react-kit-demo/src/constants/DialogMode.ts +2 -0
  32. package/apps/react-kit-demo/src/constants/HttpConstants.ts +18 -0
  33. package/apps/react-kit-demo/src/constants/StateConstants.ts +2 -0
  34. package/apps/react-kit-demo/src/main.tsx +17 -0
  35. package/apps/react-kit-demo/src/routes/Routes.tsx +55 -0
  36. package/apps/react-kit-demo/src/services/BookService.ts +21 -0
  37. package/apps/react-kit-demo/src/styles.scss +36 -0
  38. package/apps/react-kit-demo/src/theme.ts +46 -0
  39. package/apps/react-kit-demo/src/types/Book.ts +8 -0
  40. package/{lib/utils/CssUtils.d.ts → apps/react-kit-demo/src/utils/CssUtils.ts} +3 -1
  41. package/apps/react-kit-demo/tsconfig.app.json +18 -0
  42. package/apps/react-kit-demo/tsconfig.json +21 -0
  43. package/apps/react-kit-demo/tsconfig.spec.json +28 -0
  44. package/apps/react-kit-demo/vite.config.ts +50 -0
  45. package/nx.json +52 -0
  46. package/package.json +99 -44
  47. package/react-kit/.babelrc +12 -0
  48. package/react-kit/.eslintrc.json +18 -0
  49. package/react-kit/README.md +7 -0
  50. package/react-kit/package-lock.json +1330 -0
  51. package/react-kit/package.json +45 -0
  52. package/react-kit/project.json +10 -0
  53. package/{index.d.ts → react-kit/src/index.ts} +9 -0
  54. package/react-kit/src/lib/components/CenteredCircularProgress.tsx +15 -0
  55. package/react-kit/src/lib/components/ConfirmationDialog.tsx +28 -0
  56. package/react-kit/src/lib/components/DismissibleAlert.tsx +60 -0
  57. package/react-kit/src/lib/components/NextLink.tsx +26 -0
  58. package/react-kit/src/lib/components/OpenInNewIconLink.tsx +42 -0
  59. package/react-kit/src/lib/components/ReactIf.tsx +53 -0
  60. package/react-kit/src/lib/components/buttons/CancelButton.tsx +45 -0
  61. package/react-kit/src/lib/components/buttons/DeleteButton.tsx +35 -0
  62. package/react-kit/src/lib/components/buttons/EditIconButton.tsx +23 -0
  63. package/react-kit/src/lib/components/buttons/ExcelButton.tsx +43 -0
  64. package/react-kit/src/lib/components/buttons/GoBackButton.tsx +22 -0
  65. package/react-kit/src/lib/components/buttons/HistoryButton.tsx +45 -0
  66. package/react-kit/src/lib/components/buttons/LoadingSuccessButton.tsx +53 -0
  67. package/react-kit/src/lib/components/buttons/ManageButton.tsx +31 -0
  68. package/react-kit/src/lib/components/buttons/SuccessButton.tsx +44 -0
  69. package/react-kit/src/lib/components/snack-bar/AppSnackBar.tsx +46 -0
  70. package/react-kit/src/lib/components/snack-bar/QuerySnackBar.tsx +62 -0
  71. package/react-kit/src/lib/components/table/TablePaginationActions.tsx +58 -0
  72. package/react-kit/src/lib/components/tabs/TabPanel.tsx +26 -0
  73. package/react-kit/src/lib/constants/AppConstants.ts +17 -0
  74. package/react-kit/src/lib/types/ProgressState.ts +7 -0
  75. package/react-kit/src/lib/utils/BooleanUtils.ts +13 -0
  76. package/react-kit/src/lib/utils/CssUtils.ts +13 -0
  77. package/react-kit/src/lib/utils/DateUtils.ts +43 -0
  78. package/react-kit/src/lib/utils/NumberUtils.ts +12 -0
  79. package/react-kit/src/lib/utils/ProgressStateUtils.ts +68 -0
  80. package/react-kit/src/lib/utils/StringUtils.ts +14 -0
  81. package/react-kit/src/lib/utils/UrlUtils.ts +19 -0
  82. package/react-kit/src/lib/utils/fetchClient.ts +64 -0
  83. package/react-kit/src/tests/buttons/CancelButton.test.tsx +69 -0
  84. package/react-kit/src/tests/buttons/DeleteButton.test.tsx +63 -0
  85. package/react-kit/src/tests/buttons/EditIconButton.test.tsx +34 -0
  86. package/react-kit/src/tests/buttons/HistoryButton.test.tsx +46 -0
  87. package/react-kit/src/tests/buttons/LoadingSuccessButton.test.tsx +53 -0
  88. package/react-kit/src/tests/buttons/ManageButton.test.tsx +49 -0
  89. package/react-kit/src/tests/buttons/SuccessButton.test.tsx +46 -0
  90. package/react-kit/src/tests/snack-bar/AppSnackBar.test.tsx +54 -0
  91. package/react-kit/src/tests/utils/BooleanUtils.test.ts +35 -0
  92. package/react-kit/src/tests/utils/CssUtils.test.ts +17 -0
  93. package/react-kit/src/tests/utils/DateUtils.test.ts +46 -0
  94. package/react-kit/src/tests/utils/NumberUtils.test.ts +19 -0
  95. package/react-kit/src/tests/utils/ProgressStateUtils.test.ts +131 -0
  96. package/react-kit/src/tests/utils/StringUtils.test.ts +33 -0
  97. package/react-kit/src/tests/utils/UrlUtils.test.ts +19 -0
  98. package/react-kit/tsconfig.json +22 -0
  99. package/react-kit/tsconfig.lib.json +24 -0
  100. package/react-kit/tsconfig.spec.json +27 -0
  101. package/react-kit/vite.config.ts +72 -0
  102. package/release.sh +28 -0
  103. package/tsconfig.base.json +22 -0
  104. package/vitest.workspace.js +3 -0
  105. package/vitest.workspace.ts +1 -0
  106. package/index.cjs +0 -74
  107. package/index.js +0 -4120
  108. package/index.mjs +0 -4108
  109. package/lib/components/CenteredCircularProgress.d.ts +0 -7
  110. package/lib/components/ConfirmationDialog.d.ts +0 -11
  111. package/lib/components/DismissibleAlert.d.ts +0 -17
  112. package/lib/components/NextLink.d.ts +0 -17
  113. package/lib/components/OpenInNewIconLink.d.ts +0 -17
  114. package/lib/components/ReactIf.d.ts +0 -36
  115. package/lib/components/buttons/CancelButton.d.ts +0 -28
  116. package/lib/components/buttons/DeleteButton.d.ts +0 -16
  117. package/lib/components/buttons/EditIconButton.d.ts +0 -8
  118. package/lib/components/buttons/ExcelButton.d.ts +0 -26
  119. package/lib/components/buttons/GoBackButton.d.ts +0 -10
  120. package/lib/components/buttons/HistoryButton.d.ts +0 -28
  121. package/lib/components/buttons/LoadingSuccessButton.d.ts +0 -28
  122. package/lib/components/buttons/ManageButton.d.ts +0 -14
  123. package/lib/components/buttons/SuccessButton.d.ts +0 -28
  124. package/lib/components/snack-bar/AppSnackBar.d.ts +0 -6
  125. package/lib/components/snack-bar/QuerySnackBar.d.ts +0 -18
  126. package/lib/components/table/TablePaginationActions.d.ts +0 -9
  127. package/lib/components/tabs/TabPanel.d.ts +0 -12
  128. package/lib/constants/AppConstants.d.ts +0 -15
  129. package/lib/types/ProgressState.d.ts +0 -7
  130. package/lib/utils/BooleanUtils.d.ts +0 -7
  131. package/lib/utils/DateUtils.d.ts +0 -22
  132. package/lib/utils/NumberUtils.d.ts +0 -7
  133. package/lib/utils/ProgressStateUtils.d.ts +0 -38
  134. package/lib/utils/StringUtils.d.ts +0 -7
  135. package/lib/utils/UrlUtils.d.ts +0 -11
  136. 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
+ }
@@ -0,0 +1,7 @@
1
+ # react-kit
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test react-kit` to execute the unit tests via [Vitest](https://vitest.dev/).