@imperium/layout 8.1.1 → 10.0.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 (132) hide show
  1. package/dist/esm/commonItems.js +9 -0
  2. package/dist/esm/commonItems.js.map +1 -0
  3. package/dist/esm/content/components/ActionForm.js +62 -0
  4. package/dist/esm/content/components/ActionForm.js.map +1 -0
  5. package/dist/esm/content/components/ActionFormSidebarItemComponent.js +36 -0
  6. package/dist/esm/content/components/ActionFormSidebarItemComponent.js.map +1 -0
  7. package/dist/esm/content/components/ActionSidebarItemComponent.js +20 -0
  8. package/dist/esm/content/components/ActionSidebarItemComponent.js.map +1 -0
  9. package/dist/esm/content/components/ContentComponent.js +63 -0
  10. package/dist/esm/content/components/ContentComponent.js.map +1 -0
  11. package/dist/esm/content/components/CustomSidebarItemComponent.js +8 -0
  12. package/dist/esm/content/components/CustomSidebarItemComponent.js.map +1 -0
  13. package/dist/esm/content/components/Header.js +26 -0
  14. package/dist/esm/content/components/Header.js.map +1 -0
  15. package/dist/esm/content/components/PlainSidebarItem.js +20 -0
  16. package/dist/esm/content/components/PlainSidebarItem.js.map +1 -0
  17. package/dist/esm/content/components/SidebarItemWrapper.js +58 -0
  18. package/dist/esm/content/components/SidebarItemWrapper.js.map +1 -0
  19. package/dist/esm/content/components/styles.module.css.js +8 -0
  20. package/dist/esm/content/components/styles.module.css.js.map +1 -0
  21. package/dist/esm/content/createPages.js +32 -0
  22. package/dist/esm/content/createPages.js.map +1 -0
  23. package/dist/esm/content/dividerSidebarItem.js +7 -0
  24. package/dist/esm/content/dividerSidebarItem.js.map +1 -0
  25. package/dist/esm/content/hooks/useBuildContentData.js +18 -0
  26. package/dist/esm/content/hooks/useBuildContentData.js.map +1 -0
  27. package/dist/esm/content/types.js +18 -0
  28. package/dist/esm/content/types.js.map +1 -0
  29. package/dist/esm/content/utils.js +29 -0
  30. package/dist/esm/content/utils.js.map +1 -0
  31. package/dist/esm/datahooks/DataHooks.js +39 -0
  32. package/dist/esm/datahooks/DataHooks.js.map +1 -0
  33. package/dist/esm/datahooks/ExecuteDataHook.js +9 -0
  34. package/dist/esm/datahooks/ExecuteDataHook.js.map +1 -0
  35. package/dist/esm/datahooks/ExecutePermissionHook.js +17 -0
  36. package/dist/esm/datahooks/ExecutePermissionHook.js.map +1 -0
  37. package/dist/esm/datahooks/PermissionHooks.js +16 -0
  38. package/dist/esm/datahooks/PermissionHooks.js.map +1 -0
  39. package/dist/esm/external/style-inject/dist/style-inject.es.js +29 -0
  40. package/dist/esm/external/style-inject/dist/style-inject.es.js.map +1 -0
  41. package/dist/esm/hooks/useBuildData.js +28 -0
  42. package/dist/esm/hooks/useBuildData.js.map +1 -0
  43. package/dist/esm/hooks/useIsActiveRoute.js +22 -0
  44. package/dist/esm/hooks/useIsActiveRoute.js.map +1 -0
  45. package/dist/esm/hooks/useSelectPermission.js +12 -0
  46. package/dist/esm/hooks/useSelectPermission.js.map +1 -0
  47. package/dist/esm/hooks/useSelectState.js +12 -0
  48. package/dist/esm/hooks/useSelectState.js.map +1 -0
  49. package/dist/esm/index.js +21 -0
  50. package/dist/esm/index.js.map +1 -0
  51. package/dist/esm/layout/components/CustomLayoutItemComponent.js +8 -0
  52. package/dist/esm/layout/components/CustomLayoutItemComponent.js.map +1 -0
  53. package/dist/esm/layout/components/DropdownItem.js +40 -0
  54. package/dist/esm/layout/components/DropdownItem.js.map +1 -0
  55. package/dist/esm/layout/components/Layout.js +74 -0
  56. package/dist/esm/layout/components/Layout.js.map +1 -0
  57. package/dist/esm/layout/components/LayoutItemBar.js +29 -0
  58. package/dist/esm/layout/components/LayoutItemBar.js.map +1 -0
  59. package/dist/esm/layout/components/LayoutItemWrapper.js +72 -0
  60. package/dist/esm/layout/components/LayoutItemWrapper.js.map +1 -0
  61. package/dist/esm/layout/components/MenuItem.js +11 -0
  62. package/dist/esm/layout/components/MenuItem.js.map +1 -0
  63. package/dist/esm/layout/components/PlainItem.js +14 -0
  64. package/dist/esm/layout/components/PlainItem.js.map +1 -0
  65. package/dist/esm/layout/components/SecondaryMenuToggleItem.js +16 -0
  66. package/dist/esm/layout/components/SecondaryMenuToggleItem.js.map +1 -0
  67. package/dist/esm/layout/components/styles.module.css.js +8 -0
  68. package/dist/esm/layout/components/styles.module.css.js.map +1 -0
  69. package/dist/esm/layout/hooks/useMobileLayout.js +21 -0
  70. package/dist/esm/layout/hooks/useMobileLayout.js.map +1 -0
  71. package/dist/esm/layout/moveItems.js +65 -0
  72. package/dist/esm/layout/moveItems.js.map +1 -0
  73. package/dist/esm/layout/types.js +12 -0
  74. package/dist/esm/layout/types.js.map +1 -0
  75. package/dist/esm/layout/utils.js +41 -0
  76. package/dist/esm/layout/utils.js.map +1 -0
  77. package/dist/esm/layout/withLayout.js +52 -0
  78. package/dist/esm/layout/withLayout.js.map +1 -0
  79. package/dist/esm/state.js +25 -0
  80. package/dist/esm/state.js.map +1 -0
  81. package/dist/esm/types.js +7 -0
  82. package/dist/esm/types.js.map +1 -0
  83. package/dist/esm/utils.js +9 -0
  84. package/dist/esm/utils.js.map +1 -0
  85. package/dist/stats.html +2689 -0
  86. package/dist/stats.txt +92 -0
  87. package/dist/{commonItems.d.ts → types/commonItems.d.ts} +0 -0
  88. package/dist/{content → types/content}/components/ActionForm.d.ts +0 -0
  89. package/dist/{content → types/content}/components/ActionFormSidebarItemComponent.d.ts +0 -0
  90. package/dist/{content → types/content}/components/ActionSidebarItemComponent.d.ts +0 -0
  91. package/dist/{content → types/content}/components/ContentComponent.d.ts +0 -0
  92. package/dist/{content → types/content}/components/CustomSidebarItemComponent.d.ts +0 -0
  93. package/dist/{content → types/content}/components/Header.d.ts +0 -0
  94. package/dist/{content → types/content}/components/PlainSidebarItem.d.ts +0 -0
  95. package/dist/{content → types/content}/components/SidebarItemWrapper.d.ts +0 -0
  96. package/dist/{content → types/content}/createPages.d.ts +0 -0
  97. package/dist/{content → types/content}/dividerSidebarItem.d.ts +0 -0
  98. package/dist/{content → types/content}/hooks/useBuildContentData.d.ts +1 -1
  99. package/dist/{content → types/content}/types.d.ts +0 -0
  100. package/dist/{content → types/content}/utils.d.ts +0 -0
  101. package/dist/{datahooks → types/datahooks}/DataHooks.d.ts +0 -0
  102. package/dist/{datahooks → types/datahooks}/ExecuteDataHook.d.ts +0 -0
  103. package/dist/{datahooks → types/datahooks}/ExecutePermissionHook.d.ts +0 -0
  104. package/dist/{datahooks → types/datahooks}/PermissionHooks.d.ts +0 -0
  105. package/dist/{datahooks → types/datahooks}/types.d.ts +0 -0
  106. package/dist/{hooks → types/hooks}/useBuildData.d.ts +0 -0
  107. package/dist/{hooks → types/hooks}/useIsActiveRoute.d.ts +0 -0
  108. package/dist/{hooks → types/hooks}/useSelectPermission.d.ts +0 -0
  109. package/dist/{hooks → types/hooks}/useSelectState.d.ts +0 -0
  110. package/dist/{index.d.ts → types/index.d.ts} +0 -0
  111. package/dist/{layout → types/layout}/components/CustomLayoutItemComponent.d.ts +0 -0
  112. package/dist/{layout → types/layout}/components/DropdownItem.d.ts +0 -0
  113. package/dist/{layout → types/layout}/components/Layout.d.ts +0 -0
  114. package/dist/{layout → types/layout}/components/LayoutItemBar.d.ts +0 -0
  115. package/dist/{layout → types/layout}/components/LayoutItemWrapper.d.ts +2 -2
  116. package/dist/{layout → types/layout}/components/MenuItem.d.ts +0 -0
  117. package/dist/{layout → types/layout}/components/PlainItem.d.ts +2 -2
  118. package/dist/{layout → types/layout}/components/SecondaryMenuToggleItem.d.ts +0 -0
  119. package/dist/{layout → types/layout}/hooks/useMobileLayout.d.ts +0 -0
  120. package/dist/{layout → types/layout}/moveItems.d.ts +0 -0
  121. package/dist/{layout → types/layout}/types.d.ts +0 -0
  122. package/dist/{layout → types/layout}/utils.d.ts +0 -0
  123. package/dist/{layout → types/layout}/withLayout.d.ts +0 -0
  124. package/dist/{state.d.ts → types/state.d.ts} +0 -0
  125. package/dist/{types.d.ts → types/types.d.ts} +0 -0
  126. package/dist/types/utils.d.ts +3 -0
  127. package/package.json +19 -19
  128. package/client.js +0 -7
  129. package/dist/client.js +0 -3665
  130. package/dist/client.min.js +0 -2
  131. package/dist/client.min.js.map +0 -1
  132. package/dist/utils.d.ts +0 -6
package/dist/stats.txt ADDED
@@ -0,0 +1,92 @@
1
+ -----------------------------
2
+ Rollup File Analysis
3
+ -----------------------------
4
+ bundle size: 30.43 KB
5
+ original size: 50.265 KB
6
+ code reduction: 39.46 %
7
+ module count: 42
8
+
9
+ /src/layout/components/styles.module.css
10
+ █████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 10.44 % (3.176 KB)
11
+ /src/layout/components/Layout.tsx
12
+ ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 8.64 % (2.629 KB)
13
+ /src/content/components/ContentComponent.tsx
14
+ ███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.47 % (1.97 KB)
15
+ /src/layout/withLayout.tsx
16
+ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.71 % (1.739 KB)
17
+ /src/content/components/ActionForm.tsx
18
+ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5.48 % (1.667 KB)
19
+ /src/layout/components/LayoutItemWrapper.tsx
20
+ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.94 % (1.503 KB)
21
+ /src/content/components/styles.module.css
22
+ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.83 % (1.469 KB)
23
+ /src/layout/moveItems.ts
24
+ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4.6 % (1.401 KB)
25
+ /src/content/components/SidebarItemWrapper.tsx
26
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.91 % (1.189 KB)
27
+ /src/layout/components/DropdownItem.tsx
28
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.87 % (1.179 KB)
29
+ /src/datahooks/DataHooks.tsx
30
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.28 % (997 Bytes)
31
+ /src/layout/utils.tsx
32
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3.01 % (915 Bytes)
33
+ /src/hooks/useBuildData.ts
34
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.58 % (785 Bytes)
35
+ /src/layout/components/LayoutItemBar.tsx
36
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.39 % (726 Bytes)
37
+ /src/content/components/ActionFormSidebarItemComponent.tsx
38
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.18 % (663 Bytes)
39
+ /src/content/createPages.tsx
40
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.14 % (650 Bytes)
41
+ /home/mike/dev/esm/imperium-esm/node_modules/style-inject/dist/style-inject.es.js
42
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.09 % (636 Bytes)
43
+ /src/content/utils.tsx
44
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2.06 % (628 Bytes)
45
+ /src/content/components/Header.tsx
46
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.83 % (556 Bytes)
47
+ /src/hooks/useIsActiveRoute.ts
48
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.69 % (514 Bytes)
49
+ /src/state.ts
50
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.61 % (489 Bytes)
51
+ /src/layout/hooks/useMobileLayout.ts
52
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.46 % (445 Bytes)
53
+ /src/content/components/ActionSidebarItemComponent.tsx
54
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.19 % (362 Bytes)
55
+ /src/datahooks/ExecutePermissionHook.tsx
56
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.13 % (345 Bytes)
57
+ /src/content/components/PlainSidebarItem.tsx
58
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.13 % (344 Bytes)
59
+ /src/datahooks/PermissionHooks.tsx
60
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.11 % (339 Bytes)
61
+ /src/layout/components/SecondaryMenuToggleItem.tsx
62
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.1 % (335 Bytes)
63
+ /src/content/types.ts
64
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1.04 % (315 Bytes)
65
+ /src/hooks/useSelectPermission.ts
66
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.97 % (294 Bytes)
67
+ /src/content/hooks/useBuildContentData.ts
68
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.84 % (257 Bytes)
69
+ /src/hooks/useSelectState.ts
70
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.83 % (254 Bytes)
71
+ /src/layout/components/MenuItem.tsx
72
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.83 % (252 Bytes)
73
+ /src/layout/components/PlainItem.tsx
74
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.8 % (244 Bytes)
75
+ /src/commonItems.ts
76
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.67 % (203 Bytes)
77
+ /src/layout/types.ts
78
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.63 % (191 Bytes)
79
+ /src/index.ts
80
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.6 % (184 Bytes)
81
+ /src/utils.ts
82
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.48 % (145 Bytes)
83
+ /src/types.ts
84
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.4 % (121 Bytes)
85
+ /src/datahooks/ExecuteDataHook.tsx
86
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.31 % (95 Bytes)
87
+ /src/content/components/CustomSidebarItemComponent.tsx
88
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.27 % (83 Bytes)
89
+ /src/layout/components/CustomLayoutItemComponent.tsx
90
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.27 % (82 Bytes)
91
+ /src/content/dividerSidebarItem.ts
92
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.19 % (59 Bytes)
File without changes
@@ -7,7 +7,7 @@ interface UseBuildContentDataParams<T extends DefineRouteOptions, K extends keyo
7
7
  }
8
8
  export declare function useBuildContentData<T extends DefineRouteOptions, K extends keyof T>({ data, stateSelectorHook, permissionSelectorHook, routeItem, params, }: UseBuildContentDataParams<T, K>): {
9
9
  params: RouteParameters<T[K]["params"]>;
10
- loc: import("history").Location<import("history").State>;
10
+ loc: import("history").Location;
11
11
  route: {
12
12
  path: string[];
13
13
  hash: string;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,9 +1,9 @@
1
- import React from 'react';
1
+ import type { ComponentClass } from 'react';
2
2
  import type { Data } from '../../types';
3
3
  import type { LayoutItem } from '../types';
4
4
  interface ItemWrapperProps {
5
5
  item: LayoutItem;
6
- as?: React.ComponentClass;
6
+ as?: ComponentClass;
7
7
  vertical?: boolean;
8
8
  data?: Data;
9
9
  }
@@ -1,10 +1,10 @@
1
- import React from 'react';
1
+ import type { ComponentClass } from 'react';
2
2
  import type { Data } from '../../types';
3
3
  import type { CustomLayoutItem, DropdownLayoutItem, LayoutItem, MenuLayoutItem } from '../types';
4
4
  interface PlainItemProps {
5
5
  item: Exclude<LayoutItem, MenuLayoutItem | DropdownLayoutItem | CustomLayoutItem>;
6
6
  data: Data;
7
- as?: React.ComponentClass;
7
+ as?: ComponentClass;
8
8
  }
9
9
  export declare function PlainItem({ item, data, as }: PlainItemProps): JSX.Element;
10
10
  export {};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ import type { MemoizedFunction } from 'lodash';
2
+ import type { WeightedItem } from './commonItems';
3
+ export declare const sortWeightedItems: (<T extends WeightedItem>(items: T[]) => unknown[] | Array<T[][keyof T[]]>) & MemoizedFunction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imperium/layout",
3
- "version": "8.1.1",
3
+ "version": "10.0.0",
4
4
  "description": "Imperium Layout package",
5
5
  "bugs": {
6
6
  "url": "https://github.com/darkadept/imperium/issues"
@@ -8,20 +8,19 @@
8
8
  "repository": "darkadept/imperium",
9
9
  "license": "MIT",
10
10
  "author": "Mike Kornelson <darkadept@durbn.net>",
11
- "main": "client.js",
12
- "types": "./dist/index.d.ts",
11
+ "sideEffects": false,
12
+ "type": "module",
13
+ "main": "./dist/esm/index.js",
14
+ "types": "./dist/types/index.d.ts",
13
15
  "files": [
14
- "dist",
15
- "client.js"
16
+ "dist"
16
17
  ],
17
18
  "scripts": {
18
- "build": "thx build",
19
- "build:dev": "thx build:dev",
20
- "build:prod": "thx build:prod",
19
+ "build": "thx build.roll",
21
20
  "clean": "thx clean",
22
21
  "deps": "thx deps",
23
22
  "lint": "thx lint",
24
- "lint:fix": "thx lint:fix",
23
+ "lint.fix": "thx lint.fix",
25
24
  "sort": "thx sort",
26
25
  "start": "screen -c ./dev.screenrc",
27
26
  "ts": "thx ts"
@@ -32,31 +31,32 @@
32
31
  }
33
32
  },
34
33
  "dependencies": {
35
- "@imperium/auth-client": "^8.1.1",
36
- "@imperium/client": "^8.1.1",
37
- "@imperium/router": "^8.1.1",
38
- "@imperium/state": "^8.1.1",
39
- "@thx/controls": "^15.1.1",
40
- "debug": "^4.3.2",
34
+ "@imperium/auth-client": "^10.0.0",
35
+ "@imperium/client": "^10.0.0",
36
+ "@imperium/router": "^10.0.0",
37
+ "@imperium/state": "^10.0.0",
38
+ "@thx/controls": "^16.0.4",
39
+ "debug": "^4.3.3",
41
40
  "history": "^5.0.1",
42
41
  "lodash": "^4.17.21",
42
+ "lodash-es": "^4.17.21",
43
43
  "react-responsive": "^8.2.0",
44
44
  "react-router": "^5.2.1",
45
45
  "react-router-dom": "^5.3.0",
46
- "semantic-ui-react": "^2.0.4"
46
+ "semantic-ui-react": "^2.1.2"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@reduxjs/toolkit": "1.x",
50
- "mingo": "4.x",
50
+ "mingo": "5.x",
51
51
  "react": "17.x",
52
52
  "react-redux": "7.x",
53
53
  "react-router-dom": "5.x"
54
54
  },
55
55
  "engines": {
56
- "node": ">=14"
56
+ "node": ">=16"
57
57
  },
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "ee73ae7faa95fab0d6cc3475cac78b79957beaa6"
61
+ "gitHead": "ee91f982ec7ea3fd79829eb195923860aca82152"
62
62
  }
package/client.js DELETED
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- if (process.env.NODE_ENV === 'production') {
4
- module.exports = require('./dist/client.min.js');
5
- } else {
6
- module.exports = require('./dist/client.js');
7
- }