nexus-shared 1.1.6 → 1.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-shared",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "Nexus shared React components for Next.js",
5
5
  "type": "module",
6
6
  "sideEffects": [ "**/*.css" ],
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  import { useEffect } from "react";
4
2
  import { RemoveElement } from "../../helpers/browser-helpers";
5
3
  import { IGlobalLayout, ROOT_LOADER_IDENTITY } from "../../interfaces/layout-interfaces";
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  import React, { JSX } from "react";
4
2
  import { EIconTypes } from "../../interfaces/icon-interfaces";
5
3
  import { EPositions, ESizes, IGlobalLayout } from "../../interfaces/layout-interfaces";
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  import { EAnimationClasses } from "../interfaces/layout-interfaces";
4
2
  import { NEXUS_INFO } from "../nexus.environments";
5
3
  import { EKeyModifier, EKeys } from "./../interfaces/browser-interfaces";
package/src/index.ts CHANGED
@@ -0,0 +1,67 @@
1
+ import "./load-env";
2
+
3
+ // API services
4
+ export * from "./api-services/preference-service";
5
+ export * from "./api-services/system-service";
6
+
7
+ // Components — documents
8
+ export * from "./components/documents/button";
9
+ export * from "./components/documents/icon-box";
10
+ export * from "./components/documents/page-title";
11
+ export * from "./components/documents/tab-button";
12
+
13
+ // Components — inputs
14
+ export * from "./components/inputs/checkbox-input";
15
+ export * from "./components/inputs/input";
16
+ export * from "./components/inputs/input-box";
17
+ export * from "./components/inputs/input-element";
18
+ export * from "./components/inputs/input-form";
19
+ export * from "./components/inputs/number-input";
20
+ export * from "./components/inputs/radiobox-input";
21
+ export * from "./components/inputs/textarea-input";
22
+ export * from "./components/inputs/textbox-input";
23
+
24
+
25
+ // Components — layouts
26
+ export * from "./components/layouts/global-layout";
27
+ export * from "./components/layouts/global-dialogbox";
28
+ export * from "./components/layouts/layout-helpers";
29
+ export * from "./components/layouts/utility-menu";
30
+
31
+ // Components — panels
32
+ export * from "./components/panels/theme-panel";
33
+
34
+ // Helpers
35
+ export * from "./helpers/bitwise-helpers";
36
+ export * from "./helpers/browser-helpers";
37
+ export * from "./helpers/datasource-helpers";
38
+ export * from "./helpers/element-helpers";
39
+ export * from "./helpers/input-helpers";
40
+ export * from "./helpers/string-helpers";
41
+ export * from "./helpers/utility-helpers";
42
+
43
+ // Interfaces
44
+ export * from "./interfaces/browser-interfaces";
45
+ export * from "./interfaces/button-interfaces";
46
+ export * from "./interfaces/datatable-interfaces";
47
+ export * from "./interfaces/datasource-interfaces";
48
+ export * from "./interfaces/dialogbox-interfaces";
49
+ export * from "./interfaces/http-interfaces";
50
+ export * from "./interfaces/icon-interfaces";
51
+ export * from "./interfaces/input-interfaces";
52
+ export * from "./interfaces/layout-interfaces";
53
+ export * from "./interfaces/menu-interfaces";
54
+ export * from "./interfaces/permission-interfaces";
55
+ export * from "./interfaces/storage-interfaces";
56
+ export * from "./interfaces/system-interfaces";
57
+ export * from "./interfaces/theme-interfaces";
58
+ export * from "./interfaces/type-interfaces";
59
+
60
+ // Services
61
+ export * from "./services/loader-service";
62
+ export * from "./services/localstorage-service";
63
+ export * from "./services/theme-service";
64
+
65
+ // Core
66
+ export * from "./nexus-client";
67
+ export * from "./nexus.environments";
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  import { IAccessAction } from "./interfaces/permission-interfaces";
4
2
  import { IThemeInformation } from "./interfaces/theme-interfaces";
5
3
 
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  import { CreateUpdatePreference } from "../api-services/preference-service";
4
2
  import { IsBrowser } from "../helpers/browser-helpers";
5
3
  import { Debounce } from "../helpers/utility-helpers";
@@ -1,5 +1,3 @@
1
- "use client";
2
-
3
1
  import { DEFAULT_SMALL_ICON_BOX_SIZE } from "../interfaces/icon-interfaces";
4
2
  import { DEFAULT_FONT_WEIGHTS } from "../interfaces/layout-interfaces";
5
3
  import { O } from "../nexus-client";