@js-smart/react-kit 5.12.0-beta.4 → 5.12.0

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 (138) hide show
  1. package/index.cjs +75 -0
  2. package/{react-kit/src/index.ts → index.d.ts} +9 -16
  3. package/index.js +6255 -0
  4. package/lib/components/CenteredCircularProgress.d.ts +7 -0
  5. package/lib/components/ConfirmationDialog.d.ts +11 -0
  6. package/lib/components/DismissibleAlert.d.ts +17 -0
  7. package/lib/components/NextLink.d.ts +17 -0
  8. package/lib/components/OpenInNewIconLink.d.ts +17 -0
  9. package/lib/components/ReactIf.d.ts +36 -0
  10. package/lib/components/buttons/CancelButton.d.ts +28 -0
  11. package/lib/components/buttons/DeleteButton.d.ts +16 -0
  12. package/lib/components/buttons/EditIconButton.d.ts +8 -0
  13. package/lib/components/buttons/ExcelButton.d.ts +26 -0
  14. package/lib/components/buttons/GoBackButton.d.ts +10 -0
  15. package/lib/components/buttons/HistoryButton.d.ts +28 -0
  16. package/lib/components/buttons/LoadingSuccessButton.d.ts +28 -0
  17. package/lib/components/buttons/ManageButton.d.ts +14 -0
  18. package/lib/components/buttons/SuccessButton.d.ts +28 -0
  19. package/lib/components/snack-bar/AppSnackBar.d.ts +6 -0
  20. package/lib/components/snack-bar/QuerySnackBar.d.ts +18 -0
  21. package/lib/components/table/TablePaginationActions.d.ts +9 -0
  22. package/lib/components/tabs/TabPanel.d.ts +12 -0
  23. package/lib/config/fetch/FetchClient.d.ts +58 -0
  24. package/lib/config/fetch/FetchClientTypes.d.ts +39 -0
  25. package/lib/config/fetch/FetchInterceptor.d.ts +21 -0
  26. package/lib/constants/AppConstants.d.ts +15 -0
  27. package/lib/constants/HttpConstants.d.ts +13 -0
  28. package/lib/types/ProgressState.d.ts +7 -0
  29. package/lib/utils/BooleanUtils.d.ts +7 -0
  30. package/{react-kit/src/lib/utils/CssUtils.ts → lib/utils/CssUtils.d.ts} +1 -3
  31. package/lib/utils/DateUtils.d.ts +22 -0
  32. package/lib/utils/NumberUtils.d.ts +7 -0
  33. package/lib/utils/ProgressStateUtils.d.ts +38 -0
  34. package/lib/utils/StringUtils.d.ts +7 -0
  35. package/lib/utils/UrlUtils.d.ts +11 -0
  36. package/package.json +44 -98
  37. package/.editorconfig +0 -13
  38. package/.eslintignore +0 -1
  39. package/.eslintrc.json +0 -41
  40. package/.github/copilot-instructions.md +0 -11
  41. package/.github/workflows/build.yml +0 -45
  42. package/.github/workflows/release.yml +0 -65
  43. package/.prettierignore +0 -5
  44. package/.prettierrc +0 -9
  45. package/.vscode/extensions.json +0 -7
  46. package/CHANGELOG.md +0 -24
  47. package/CODE_OF_CONDUCT.md +0 -128
  48. package/FUNDING.yml +0 -1
  49. package/LICENSE +0 -21
  50. package/README.md +0 -1
  51. package/apps/react-kit-demo/.eslintrc.json +0 -22
  52. package/apps/react-kit-demo/index.html +0 -16
  53. package/apps/react-kit-demo/project.json +0 -9
  54. package/apps/react-kit-demo/public/favicon.ico +0 -0
  55. package/apps/react-kit-demo/src/app/Home.tsx +0 -17
  56. package/apps/react-kit-demo/src/app/all-books/AllBooks.tsx +0 -68
  57. package/apps/react-kit-demo/src/app/app.module.scss +0 -1
  58. package/apps/react-kit-demo/src/app/app.tsx +0 -29
  59. package/apps/react-kit-demo/src/app/buttons/ButtonsDemo.tsx +0 -58
  60. package/apps/react-kit-demo/src/app/dialog/DialogDemo.tsx +0 -23
  61. package/apps/react-kit-demo/src/app/links/LinksDemo.tsx +0 -20
  62. package/apps/react-kit-demo/src/app/progress-bar/CenterCircularProgressDemo.tsx +0 -10
  63. package/apps/react-kit-demo/src/app/react-if/ReactIfDemo.tsx +0 -44
  64. package/apps/react-kit-demo/src/app/snack-bar/SnackBarDemo.tsx +0 -35
  65. package/apps/react-kit-demo/src/assets/.gitkeep +0 -0
  66. package/apps/react-kit-demo/src/constants/ApiConstants.ts +0 -7
  67. package/apps/react-kit-demo/src/constants/DialogMode.ts +0 -2
  68. package/apps/react-kit-demo/src/constants/HttpConstants.ts +0 -18
  69. package/apps/react-kit-demo/src/constants/StateConstants.ts +0 -2
  70. package/apps/react-kit-demo/src/main.tsx +0 -17
  71. package/apps/react-kit-demo/src/routes/Routes.tsx +0 -55
  72. package/apps/react-kit-demo/src/services/BookService.ts +0 -21
  73. package/apps/react-kit-demo/src/styles.scss +0 -36
  74. package/apps/react-kit-demo/src/theme.ts +0 -46
  75. package/apps/react-kit-demo/src/types/Book.ts +0 -8
  76. package/apps/react-kit-demo/src/utils/CssUtils.ts +0 -13
  77. package/apps/react-kit-demo/tsconfig.app.json +0 -18
  78. package/apps/react-kit-demo/tsconfig.json +0 -21
  79. package/apps/react-kit-demo/tsconfig.spec.json +0 -28
  80. package/apps/react-kit-demo/vite.config.ts +0 -50
  81. package/nx.json +0 -52
  82. package/react-kit/.babelrc +0 -12
  83. package/react-kit/.eslintrc.json +0 -18
  84. package/react-kit/README.md +0 -7
  85. package/react-kit/package-lock.json +0 -1330
  86. package/react-kit/package.json +0 -45
  87. package/react-kit/project.json +0 -10
  88. package/react-kit/src/lib/components/CenteredCircularProgress.tsx +0 -15
  89. package/react-kit/src/lib/components/ConfirmationDialog.tsx +0 -28
  90. package/react-kit/src/lib/components/DismissibleAlert.tsx +0 -60
  91. package/react-kit/src/lib/components/NextLink.tsx +0 -26
  92. package/react-kit/src/lib/components/OpenInNewIconLink.tsx +0 -42
  93. package/react-kit/src/lib/components/ReactIf.tsx +0 -53
  94. package/react-kit/src/lib/components/buttons/CancelButton.tsx +0 -45
  95. package/react-kit/src/lib/components/buttons/DeleteButton.tsx +0 -35
  96. package/react-kit/src/lib/components/buttons/EditIconButton.tsx +0 -23
  97. package/react-kit/src/lib/components/buttons/ExcelButton.tsx +0 -43
  98. package/react-kit/src/lib/components/buttons/GoBackButton.tsx +0 -22
  99. package/react-kit/src/lib/components/buttons/HistoryButton.tsx +0 -45
  100. package/react-kit/src/lib/components/buttons/LoadingSuccessButton.tsx +0 -53
  101. package/react-kit/src/lib/components/buttons/ManageButton.tsx +0 -31
  102. package/react-kit/src/lib/components/buttons/SuccessButton.tsx +0 -44
  103. package/react-kit/src/lib/components/snack-bar/AppSnackBar.tsx +0 -46
  104. package/react-kit/src/lib/components/snack-bar/QuerySnackBar.tsx +0 -62
  105. package/react-kit/src/lib/components/table/TablePaginationActions.tsx +0 -58
  106. package/react-kit/src/lib/components/tabs/TabPanel.tsx +0 -26
  107. package/react-kit/src/lib/constants/AppConstants.ts +0 -17
  108. package/react-kit/src/lib/types/ProgressState.ts +0 -7
  109. package/react-kit/src/lib/utils/BooleanUtils.ts +0 -13
  110. package/react-kit/src/lib/utils/DateUtils.ts +0 -43
  111. package/react-kit/src/lib/utils/NumberUtils.ts +0 -12
  112. package/react-kit/src/lib/utils/ProgressStateUtils.ts +0 -68
  113. package/react-kit/src/lib/utils/StringUtils.ts +0 -14
  114. package/react-kit/src/lib/utils/UrlUtils.ts +0 -19
  115. package/react-kit/src/lib/utils/fetchClient.ts +0 -64
  116. package/react-kit/src/tests/buttons/CancelButton.test.tsx +0 -69
  117. package/react-kit/src/tests/buttons/DeleteButton.test.tsx +0 -63
  118. package/react-kit/src/tests/buttons/EditIconButton.test.tsx +0 -34
  119. package/react-kit/src/tests/buttons/HistoryButton.test.tsx +0 -46
  120. package/react-kit/src/tests/buttons/LoadingSuccessButton.test.tsx +0 -53
  121. package/react-kit/src/tests/buttons/ManageButton.test.tsx +0 -49
  122. package/react-kit/src/tests/buttons/SuccessButton.test.tsx +0 -46
  123. package/react-kit/src/tests/snack-bar/AppSnackBar.test.tsx +0 -54
  124. package/react-kit/src/tests/utils/BooleanUtils.test.ts +0 -35
  125. package/react-kit/src/tests/utils/CssUtils.test.ts +0 -17
  126. package/react-kit/src/tests/utils/DateUtils.test.ts +0 -46
  127. package/react-kit/src/tests/utils/NumberUtils.test.ts +0 -19
  128. package/react-kit/src/tests/utils/ProgressStateUtils.test.ts +0 -131
  129. package/react-kit/src/tests/utils/StringUtils.test.ts +0 -33
  130. package/react-kit/src/tests/utils/UrlUtils.test.ts +0 -19
  131. package/react-kit/tsconfig.json +0 -21
  132. package/react-kit/tsconfig.lib.json +0 -18
  133. package/react-kit/tsconfig.spec.json +0 -27
  134. package/react-kit/vite.config.ts +0 -72
  135. package/release.sh +0 -28
  136. package/tsconfig.base.json +0 -22
  137. package/vitest.workspace.js +0 -3
  138. package/vitest.workspace.ts +0 -1
package/nx.json DELETED
@@ -1,52 +0,0 @@
1
- {
2
- "$schema": "./node_modules/nx/schemas/nx-schema.json",
3
- "defaultProject": "react-kit-demo",
4
- "namedInputs": {
5
- "default": ["{projectRoot}/**/*", "sharedGlobals"],
6
- "production": [
7
- "default",
8
- "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
9
- "!{projectRoot}/tsconfig.spec.json",
10
- "!{projectRoot}/.eslintrc.json",
11
- "!{projectRoot}/eslint.config.js"
12
- ],
13
- "sharedGlobals": []
14
- },
15
- "plugins": [
16
- {
17
- "plugin": "@nx/vite/plugin",
18
- "options": {
19
- "buildTargetName": "build",
20
- "testTargetName": "test",
21
- "serveTargetName": "serve",
22
- "previewTargetName": "preview",
23
- "serveStaticTargetName": "serve-static"
24
- }
25
- },
26
- {
27
- "plugin": "@nx/eslint/plugin",
28
- "options": {
29
- "targetName": "lint"
30
- }
31
- }
32
- ],
33
- "generators": {
34
- "@nx/react": {
35
- "application": {
36
- "babel": true,
37
- "style": "scss",
38
- "linter": "eslint",
39
- "bundler": "vite"
40
- },
41
- "component": {
42
- "style": "scss"
43
- },
44
- "library": {
45
- "style": "scss",
46
- "linter": "eslint",
47
- "unitTestRunner": "vitest"
48
- }
49
- }
50
- },
51
- "nxCloudId": "670ebadac0c313acbf9ee13c"
52
- }
@@ -1,12 +0,0 @@
1
- {
2
- "presets": [
3
- [
4
- "@nx/react/babel",
5
- {
6
- "runtime": "automatic",
7
- "useBuiltIns": "usage"
8
- }
9
- ]
10
- ],
11
- "plugins": []
12
- }
@@ -1,18 +0,0 @@
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
- }
@@ -1,7 +0,0 @@
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/).