dce-reactkit 2.0.8 → 2.0.11

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 (44) hide show
  1. package/lib/components/AppWrapper.d.ts +16 -1
  2. package/lib/components/AppWrapper.js +156 -12
  3. package/lib/components/AppWrapper.js.map +1 -1
  4. package/lib/components/Modal.d.ts +2 -0
  5. package/lib/components/Modal.js +9 -3
  6. package/lib/components/Modal.js.map +1 -1
  7. package/lib/components/TabBox.d.ts +11 -0
  8. package/lib/components/TabBox.js +42 -0
  9. package/lib/components/TabBox.js.map +1 -0
  10. package/lib/helpers/alert.d.ts +2 -0
  11. package/lib/helpers/alert.js +5 -0
  12. package/lib/helpers/alert.js.map +1 -0
  13. package/lib/helpers/confirm.d.ts +2 -0
  14. package/lib/helpers/confirm.js +5 -0
  15. package/lib/helpers/confirm.js.map +1 -0
  16. package/package.json +1 -1
  17. package/src/components/AppWrapper.tsx +191 -11
  18. package/src/components/Modal.tsx +16 -2
  19. package/src/components/TabBox.tsx +136 -0
  20. package/src/helpers/alert.tsx +3 -0
  21. package/src/helpers/confirm.tsx +3 -0
  22. package/lib/components/AppWrapper.tsx +0 -181
  23. package/lib/components/ErrorBox.tsx +0 -124
  24. package/lib/components/LoadingSpinner.tsx +0 -105
  25. package/lib/components/Modal.tsx +0 -447
  26. package/lib/errors/ErrorWithCode.tsx +0 -15
  27. package/lib/helpers/abbreviate.tsx +0 -23
  28. package/lib/helpers/avg.tsx +0 -22
  29. package/lib/helpers/ceilToNumDecimals.tsx +0 -13
  30. package/lib/helpers/floorToNumDecimals.tsx +0 -13
  31. package/lib/helpers/forceNumIntoBounds.tsx +0 -19
  32. package/lib/helpers/handleError.ts +0 -65
  33. package/lib/helpers/handleSuccess.ts +0 -18
  34. package/lib/helpers/padDecimalZeros.tsx +0 -32
  35. package/lib/helpers/padZerosLeft.tsx +0 -21
  36. package/lib/helpers/parseRequest.ts +0 -299
  37. package/lib/helpers/roundToNumDecimals.tsx +0 -13
  38. package/lib/helpers/showFatalError.tsx +0 -3
  39. package/lib/helpers/sum.tsx +0 -16
  40. package/lib/helpers/visitServerEndpoint.tsx +0 -110
  41. package/lib/helpers/waitMs.tsx +0 -12
  42. package/lib/types/ParamType.ts +0 -18
  43. package/lib/types/ReactKitErrorCode.tsx +0 -16
  44. package/lib/types/Variant.tsx +0 -16
@@ -1,16 +0,0 @@
1
- // Highest error code = DRK2
2
-
3
- /**
4
- * List of error codes built into the react kit
5
- * @author Gabe Abrams
6
- */
7
- enum ReactKitErrorCode {
8
- NoResponse = 'DRK1',
9
- NoCode = 'DRK2',
10
- SessionExpired = 'DRK3',
11
- MissingParameter = 'DRK4',
12
- InvalidParameter = 'DRK5',
13
- WrongCourse = 'DRK6',
14
- }
15
-
16
- export default ReactKitErrorCode;
@@ -1,16 +0,0 @@
1
- /**
2
- * Bootstrap variants
3
- * @author Gabe Abrams
4
- */
5
- enum Variant {
6
- Primary = 'primary',
7
- Secondary = 'secondary',
8
- Success = 'success',
9
- Warning = 'warning',
10
- Info = 'info',
11
- Danger = 'danger',
12
- Light = 'light',
13
- Dark = 'dark',
14
- }
15
-
16
- export default Variant;