nexus-shared 1.0.8 → 1.0.9
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.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -803,9 +803,10 @@ 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<{
|
|
806
|
+
declare const GlobalLayout: ({ children, globalLayout, bodyClassName }: Readonly<{
|
|
807
807
|
children: React$1.ReactNode;
|
|
808
808
|
globalLayout: IGlobalLayout;
|
|
809
|
+
bodyClassName: string;
|
|
809
810
|
}>) => Promise<react_jsx_runtime.JSX.Element>;
|
|
810
811
|
|
|
811
812
|
interface IDialogboxResults {
|
package/dist/index.d.ts
CHANGED
|
@@ -803,9 +803,10 @@ 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<{
|
|
806
|
+
declare const GlobalLayout: ({ children, globalLayout, bodyClassName }: Readonly<{
|
|
807
807
|
children: React$1.ReactNode;
|
|
808
808
|
globalLayout: IGlobalLayout;
|
|
809
|
+
bodyClassName: string;
|
|
809
810
|
}>) => Promise<react_jsx_runtime.JSX.Element>;
|
|
810
811
|
|
|
811
812
|
interface IDialogboxResults {
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { config } from 'dotenv';
|
|
|
2
2
|
import Link from 'next/link';
|
|
3
3
|
import React, { useEffect, useState } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
|
-
import { Inter } from 'next/font/google';
|
|
6
5
|
import Script from 'next/script';
|
|
7
6
|
|
|
8
7
|
// src/load-env.ts
|
|
@@ -2601,7 +2600,7 @@ var LayoutHelpers = ({ globalLayout }) => {
|
|
|
2601
2600
|
}, []);
|
|
2602
2601
|
return /* @__PURE__ */ jsx("div", { className: "nexus-popup-container" });
|
|
2603
2602
|
};
|
|
2604
|
-
var GlobalLayout = async ({ children, globalLayout }) => {
|
|
2603
|
+
var GlobalLayout = async ({ children, globalLayout, bodyClassName }) => {
|
|
2605
2604
|
return /* @__PURE__ */ jsxs("html", { lang: "en", children: [
|
|
2606
2605
|
/* @__PURE__ */ jsxs("head", { children: [
|
|
2607
2606
|
/* @__PURE__ */ jsx("title", { children: globalLayout.defaultDocumentTitle }),
|
|
@@ -2611,7 +2610,7 @@ var GlobalLayout = async ({ children, globalLayout }) => {
|
|
|
2611
2610
|
/* @__PURE__ */ jsx("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0" }),
|
|
2612
2611
|
/* @__PURE__ */ jsx("style", { id: "nexus-styles" })
|
|
2613
2612
|
] }),
|
|
2614
|
-
/* @__PURE__ */ jsxs("body", { className:
|
|
2613
|
+
/* @__PURE__ */ jsxs("body", { className: bodyClassName, children: [
|
|
2615
2614
|
/* @__PURE__ */ jsx(LayoutHelpers, { globalLayout }),
|
|
2616
2615
|
/* @__PURE__ */ jsx(
|
|
2617
2616
|
"div",
|