nexus-shared 1.0.6 → 1.0.8

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/dist/index.d.mts CHANGED
@@ -803,6 +803,11 @@ declare const CreateTextarea: (param: ITextarea, parentElement: HTMLElement | nu
803
803
 
804
804
  declare const CreateTextbox: (param: ITextbox, parentElement: HTMLElement | null, isTabular?: boolean) => IInputCreateResults;
805
805
 
806
+ declare const GlobalLayout: ({ children, globalLayout }: Readonly<{
807
+ children: React$1.ReactNode;
808
+ globalLayout: IGlobalLayout;
809
+ }>) => Promise<react_jsx_runtime.JSX.Element>;
810
+
806
811
  interface IDialogboxResults {
807
812
  visibility: (isVisible: boolean, isInitial?: boolean) => void;
808
813
  isValid: () => boolean;
@@ -842,11 +847,6 @@ interface IDialogboxProps {
842
847
  declare const GlobalDialogbox: ({ children, hoverEffectDelay, position, buttonIdentity, background, defaultWidth, defaultPadding, iggnoreChildClick, isFixedHeight, defaultClass, preferTopWhenEnoughSpace }: Readonly<IDialogboxProps>) => react_jsx_runtime.JSX.Element;
843
848
  declare const InitializeDialogbox: (triggerElement: HTMLElement, affectedElement: HTMLElement, hoverEffectDelay?: number | boolean, defaultHeight?: string, defaultPadding?: number, defaultWidth?: number, background?: EBackgrounds, onVisibilityChanged?: (isVisible: boolean) => void, onDisposed?: () => void, iggnoreChildClick?: boolean, position?: EPositions, defaultClass?: string, preferTopWhenEnoughSpace?: boolean, targetInput?: HTMLTextAreaElement | HTMLInputElement | UN, isAutoHideInInitialization?: boolean) => IDialogboxResults | null;
844
849
 
845
- declare const GlobalLayout: ({ children, globalLayout }: Readonly<{
846
- children: React$1.ReactNode;
847
- globalLayout: IGlobalLayout;
848
- }>) => Promise<react_jsx_runtime.JSX.Element>;
849
-
850
850
  declare const LayoutHelpers: ({ globalLayout }: Readonly<{
851
851
  globalLayout: IGlobalLayout;
852
852
  }>) => react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -803,6 +803,11 @@ declare const CreateTextarea: (param: ITextarea, parentElement: HTMLElement | nu
803
803
 
804
804
  declare const CreateTextbox: (param: ITextbox, parentElement: HTMLElement | null, isTabular?: boolean) => IInputCreateResults;
805
805
 
806
+ declare const GlobalLayout: ({ children, globalLayout }: Readonly<{
807
+ children: React$1.ReactNode;
808
+ globalLayout: IGlobalLayout;
809
+ }>) => Promise<react_jsx_runtime.JSX.Element>;
810
+
806
811
  interface IDialogboxResults {
807
812
  visibility: (isVisible: boolean, isInitial?: boolean) => void;
808
813
  isValid: () => boolean;
@@ -842,11 +847,6 @@ interface IDialogboxProps {
842
847
  declare const GlobalDialogbox: ({ children, hoverEffectDelay, position, buttonIdentity, background, defaultWidth, defaultPadding, iggnoreChildClick, isFixedHeight, defaultClass, preferTopWhenEnoughSpace }: Readonly<IDialogboxProps>) => react_jsx_runtime.JSX.Element;
843
848
  declare const InitializeDialogbox: (triggerElement: HTMLElement, affectedElement: HTMLElement, hoverEffectDelay?: number | boolean, defaultHeight?: string, defaultPadding?: number, defaultWidth?: number, background?: EBackgrounds, onVisibilityChanged?: (isVisible: boolean) => void, onDisposed?: () => void, iggnoreChildClick?: boolean, position?: EPositions, defaultClass?: string, preferTopWhenEnoughSpace?: boolean, targetInput?: HTMLTextAreaElement | HTMLInputElement | UN, isAutoHideInInitialization?: boolean) => IDialogboxResults | null;
844
849
 
845
- declare const GlobalLayout: ({ children, globalLayout }: Readonly<{
846
- children: React$1.ReactNode;
847
- globalLayout: IGlobalLayout;
848
- }>) => Promise<react_jsx_runtime.JSX.Element>;
849
-
850
850
  declare const LayoutHelpers: ({ globalLayout }: Readonly<{
851
851
  globalLayout: IGlobalLayout;
852
852
  }>) => react_jsx_runtime.JSX.Element;
package/dist/index.js CHANGED
@@ -2601,7 +2601,6 @@ var LayoutHelpers = ({ globalLayout }) => {
2601
2601
  }, []);
2602
2602
  return /* @__PURE__ */ jsx("div", { className: "nexus-popup-container" });
2603
2603
  };
2604
- var inter = Inter({ weight: ["300", "400", "500", "600", "700", "800"], subsets: ["latin"] });
2605
2604
  var GlobalLayout = async ({ children, globalLayout }) => {
2606
2605
  return /* @__PURE__ */ jsxs("html", { lang: "en", children: [
2607
2606
  /* @__PURE__ */ jsxs("head", { children: [
@@ -2612,7 +2611,7 @@ var GlobalLayout = async ({ children, globalLayout }) => {
2612
2611
  /* @__PURE__ */ jsx("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0" }),
2613
2612
  /* @__PURE__ */ jsx("style", { id: "nexus-styles" })
2614
2613
  ] }),
2615
- /* @__PURE__ */ jsxs("body", { className: inter.className, children: [
2614
+ /* @__PURE__ */ jsxs("body", { className: Inter({ weight: ["300", "400", "500", "600", "700", "800"], subsets: ["latin"] }).className, children: [
2616
2615
  /* @__PURE__ */ jsx(LayoutHelpers, { globalLayout }),
2617
2616
  /* @__PURE__ */ jsx(
2618
2617
  "div",