@kopexa/page-layout 3.0.9 → 4.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.
- package/dist/{chunk-2BLWNV43.mjs → chunk-2VYRLM2C.mjs} +3 -1
- package/dist/{chunk-FGP2EWNN.mjs → chunk-URSQ3AMR.mjs} +11 -1
- package/dist/index.js +10 -0
- package/dist/index.mjs +2 -2
- package/dist/namespace.d.mts +3 -3
- package/dist/namespace.d.ts +3 -3
- package/dist/namespace.js +11 -0
- package/dist/namespace.mjs +4 -2
- package/dist/page-layout.d.mts +3 -1
- package/dist/page-layout.d.ts +3 -1
- package/dist/page-layout.js +11 -0
- package/dist/page-layout.mjs +3 -1
- package/package.json +3 -3
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
+
PageLayoutBleed,
|
|
3
4
|
PageLayoutContent,
|
|
4
5
|
PageLayoutFooter,
|
|
5
6
|
PageLayoutHeader,
|
|
6
7
|
PageLayoutPane,
|
|
7
8
|
PageLayoutRoot,
|
|
8
9
|
__export
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-URSQ3AMR.mjs";
|
|
10
11
|
|
|
11
12
|
// src/namespace.ts
|
|
12
13
|
var namespace_exports = {};
|
|
13
14
|
__export(namespace_exports, {
|
|
15
|
+
Bleed: () => PageLayoutBleed,
|
|
14
16
|
Content: () => PageLayoutContent,
|
|
15
17
|
Footer: () => PageLayoutFooter,
|
|
16
18
|
Header: () => PageLayoutHeader,
|
|
@@ -175,6 +175,15 @@ function getDisplayName(el) {
|
|
|
175
175
|
var _a, _b, _c;
|
|
176
176
|
return (_c = (_a = el.type) == null ? void 0 : _a.displayName) != null ? _c : (_b = el.type) == null ? void 0 : _b.name;
|
|
177
177
|
}
|
|
178
|
+
function PageLayoutBleed({ className, ...rest }) {
|
|
179
|
+
return /* @__PURE__ */ jsx(
|
|
180
|
+
"div",
|
|
181
|
+
{
|
|
182
|
+
className: cn(className, "relative -mx-4 md:-mx-6 px-4 md:px-6"),
|
|
183
|
+
...rest
|
|
184
|
+
}
|
|
185
|
+
);
|
|
186
|
+
}
|
|
178
187
|
|
|
179
188
|
export {
|
|
180
189
|
__export,
|
|
@@ -182,5 +191,6 @@ export {
|
|
|
182
191
|
PageLayoutHeader,
|
|
183
192
|
PageLayoutFooter,
|
|
184
193
|
PageLayoutPane,
|
|
185
|
-
PageLayoutContent
|
|
194
|
+
PageLayoutContent,
|
|
195
|
+
PageLayoutBleed
|
|
186
196
|
};
|
package/dist/index.js
CHANGED
|
@@ -28,6 +28,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
28
28
|
// src/namespace.ts
|
|
29
29
|
var namespace_exports = {};
|
|
30
30
|
__export(namespace_exports, {
|
|
31
|
+
Bleed: () => PageLayoutBleed,
|
|
31
32
|
Content: () => PageLayoutContent,
|
|
32
33
|
Footer: () => PageLayoutFooter,
|
|
33
34
|
Header: () => PageLayoutHeader,
|
|
@@ -203,6 +204,15 @@ function getDisplayName(el) {
|
|
|
203
204
|
var _a, _b, _c;
|
|
204
205
|
return (_c = (_a = el.type) == null ? void 0 : _a.displayName) != null ? _c : (_b = el.type) == null ? void 0 : _b.name;
|
|
205
206
|
}
|
|
207
|
+
function PageLayoutBleed({ className, ...rest }) {
|
|
208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
209
|
+
"div",
|
|
210
|
+
{
|
|
211
|
+
className: (0, import_shared_utils.cn)(className, "relative -mx-4 md:-mx-6 px-4 md:px-6"),
|
|
212
|
+
...rest
|
|
213
|
+
}
|
|
214
|
+
);
|
|
215
|
+
}
|
|
206
216
|
// Annotate the CommonJS export names for ESM import in node:
|
|
207
217
|
0 && (module.exports = {
|
|
208
218
|
PageLayout
|
package/dist/index.mjs
CHANGED
package/dist/namespace.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PageLayoutContent, PageLayoutContentProps, PageLayoutFooter, PageLayoutFooterProps, PageLayoutHeader, PageLayoutHeaderProps, PageLayoutPane, PageLayoutPaneProps, PageLayoutRoot, PageLayoutRootProps } from './page-layout.mjs';
|
|
1
|
+
import { PageLayoutBleed, PageLayoutBleedProps, PageLayoutContent, PageLayoutContentProps, PageLayoutFooter, PageLayoutFooterProps, PageLayoutHeader, PageLayoutHeaderProps, PageLayoutPane, PageLayoutPaneProps, PageLayoutRoot, PageLayoutRootProps } from './page-layout.mjs';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import '@kopexa/theme';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
|
6
6
|
declare namespace namespace {
|
|
7
|
-
export { PageLayoutContent as Content, PageLayoutContentProps as ContentProps, PageLayoutFooter as Footer, PageLayoutFooterProps as FooterProps, PageLayoutHeader as Header, PageLayoutHeaderProps as HeaderProps, PageLayoutPane as Pane, PageLayoutPaneProps as PaneProps, PageLayoutRoot as Root, PageLayoutRootProps as RootProps };
|
|
7
|
+
export { PageLayoutBleed as Bleed, PageLayoutBleedProps as BleedProps, PageLayoutContent as Content, PageLayoutContentProps as ContentProps, PageLayoutFooter as Footer, PageLayoutFooterProps as FooterProps, PageLayoutHeader as Header, PageLayoutHeaderProps as HeaderProps, PageLayoutPane as Pane, PageLayoutPaneProps as PaneProps, PageLayoutRoot as Root, PageLayoutRootProps as RootProps };
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export { PageLayoutContent as Content, PageLayoutContentProps as ContentProps, PageLayoutFooter as Footer, PageLayoutFooterProps as FooterProps, PageLayoutHeader as Header, PageLayoutHeaderProps as HeaderProps, PageLayoutPane as Pane, PageLayoutPaneProps as PaneProps, PageLayoutRoot as Root, PageLayoutRootProps as RootProps, namespace as n };
|
|
10
|
+
export { PageLayoutBleed as Bleed, PageLayoutBleedProps as BleedProps, PageLayoutContent as Content, PageLayoutContentProps as ContentProps, PageLayoutFooter as Footer, PageLayoutFooterProps as FooterProps, PageLayoutHeader as Header, PageLayoutHeaderProps as HeaderProps, PageLayoutPane as Pane, PageLayoutPaneProps as PaneProps, PageLayoutRoot as Root, PageLayoutRootProps as RootProps, namespace as n };
|
package/dist/namespace.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PageLayoutContent, PageLayoutContentProps, PageLayoutFooter, PageLayoutFooterProps, PageLayoutHeader, PageLayoutHeaderProps, PageLayoutPane, PageLayoutPaneProps, PageLayoutRoot, PageLayoutRootProps } from './page-layout.js';
|
|
1
|
+
import { PageLayoutBleed, PageLayoutBleedProps, PageLayoutContent, PageLayoutContentProps, PageLayoutFooter, PageLayoutFooterProps, PageLayoutHeader, PageLayoutHeaderProps, PageLayoutPane, PageLayoutPaneProps, PageLayoutRoot, PageLayoutRootProps } from './page-layout.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import '@kopexa/theme';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
|
6
6
|
declare namespace namespace {
|
|
7
|
-
export { PageLayoutContent as Content, PageLayoutContentProps as ContentProps, PageLayoutFooter as Footer, PageLayoutFooterProps as FooterProps, PageLayoutHeader as Header, PageLayoutHeaderProps as HeaderProps, PageLayoutPane as Pane, PageLayoutPaneProps as PaneProps, PageLayoutRoot as Root, PageLayoutRootProps as RootProps };
|
|
7
|
+
export { PageLayoutBleed as Bleed, PageLayoutBleedProps as BleedProps, PageLayoutContent as Content, PageLayoutContentProps as ContentProps, PageLayoutFooter as Footer, PageLayoutFooterProps as FooterProps, PageLayoutHeader as Header, PageLayoutHeaderProps as HeaderProps, PageLayoutPane as Pane, PageLayoutPaneProps as PaneProps, PageLayoutRoot as Root, PageLayoutRootProps as RootProps };
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export { PageLayoutContent as Content, PageLayoutContentProps as ContentProps, PageLayoutFooter as Footer, PageLayoutFooterProps as FooterProps, PageLayoutHeader as Header, PageLayoutHeaderProps as HeaderProps, PageLayoutPane as Pane, PageLayoutPaneProps as PaneProps, PageLayoutRoot as Root, PageLayoutRootProps as RootProps, namespace as n };
|
|
10
|
+
export { PageLayoutBleed as Bleed, PageLayoutBleedProps as BleedProps, PageLayoutContent as Content, PageLayoutContentProps as ContentProps, PageLayoutFooter as Footer, PageLayoutFooterProps as FooterProps, PageLayoutHeader as Header, PageLayoutHeaderProps as HeaderProps, PageLayoutPane as Pane, PageLayoutPaneProps as PaneProps, PageLayoutRoot as Root, PageLayoutRootProps as RootProps, namespace as n };
|
package/dist/namespace.js
CHANGED
|
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
// src/namespace.ts
|
|
22
22
|
var namespace_exports = {};
|
|
23
23
|
__export(namespace_exports, {
|
|
24
|
+
Bleed: () => PageLayoutBleed,
|
|
24
25
|
Content: () => PageLayoutContent,
|
|
25
26
|
Footer: () => PageLayoutFooter,
|
|
26
27
|
Header: () => PageLayoutHeader,
|
|
@@ -197,8 +198,18 @@ function getDisplayName(el) {
|
|
|
197
198
|
var _a, _b, _c;
|
|
198
199
|
return (_c = (_a = el.type) == null ? void 0 : _a.displayName) != null ? _c : (_b = el.type) == null ? void 0 : _b.name;
|
|
199
200
|
}
|
|
201
|
+
function PageLayoutBleed({ className, ...rest }) {
|
|
202
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
203
|
+
"div",
|
|
204
|
+
{
|
|
205
|
+
className: (0, import_shared_utils.cn)(className, "relative -mx-4 md:-mx-6 px-4 md:px-6"),
|
|
206
|
+
...rest
|
|
207
|
+
}
|
|
208
|
+
);
|
|
209
|
+
}
|
|
200
210
|
// Annotate the CommonJS export names for ESM import in node:
|
|
201
211
|
0 && (module.exports = {
|
|
212
|
+
Bleed,
|
|
202
213
|
Content,
|
|
203
214
|
Footer,
|
|
204
215
|
Header,
|
package/dist/namespace.mjs
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-2VYRLM2C.mjs";
|
|
3
3
|
import {
|
|
4
|
+
PageLayoutBleed,
|
|
4
5
|
PageLayoutContent,
|
|
5
6
|
PageLayoutFooter,
|
|
6
7
|
PageLayoutHeader,
|
|
7
8
|
PageLayoutPane,
|
|
8
9
|
PageLayoutRoot
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-URSQ3AMR.mjs";
|
|
10
11
|
export {
|
|
12
|
+
PageLayoutBleed as Bleed,
|
|
11
13
|
PageLayoutContent as Content,
|
|
12
14
|
PageLayoutFooter as Footer,
|
|
13
15
|
PageLayoutHeader as Header,
|
package/dist/page-layout.d.mts
CHANGED
|
@@ -42,5 +42,7 @@ type PageLayoutContentProps = ComponentProps<"div"> & {
|
|
|
42
42
|
gap?: PageLayoutVariantProps["gap"];
|
|
43
43
|
};
|
|
44
44
|
declare function PageLayoutContent(props: PageLayoutContentProps): react_jsx_runtime.JSX.Element;
|
|
45
|
+
type PageLayoutBleedProps = ComponentProps<"div">;
|
|
46
|
+
declare function PageLayoutBleed({ className, ...rest }: PageLayoutBleedProps): react_jsx_runtime.JSX.Element;
|
|
45
47
|
|
|
46
|
-
export { PageLayoutContent, type PageLayoutContentProps, PageLayoutFooter, type PageLayoutFooterProps, PageLayoutHeader, type PageLayoutHeaderProps, PageLayoutPane, type PageLayoutPaneProps, PageLayoutRoot, type PageLayoutRootProps };
|
|
48
|
+
export { PageLayoutBleed, type PageLayoutBleedProps, PageLayoutContent, type PageLayoutContentProps, PageLayoutFooter, type PageLayoutFooterProps, PageLayoutHeader, type PageLayoutHeaderProps, PageLayoutPane, type PageLayoutPaneProps, PageLayoutRoot, type PageLayoutRootProps };
|
package/dist/page-layout.d.ts
CHANGED
|
@@ -42,5 +42,7 @@ type PageLayoutContentProps = ComponentProps<"div"> & {
|
|
|
42
42
|
gap?: PageLayoutVariantProps["gap"];
|
|
43
43
|
};
|
|
44
44
|
declare function PageLayoutContent(props: PageLayoutContentProps): react_jsx_runtime.JSX.Element;
|
|
45
|
+
type PageLayoutBleedProps = ComponentProps<"div">;
|
|
46
|
+
declare function PageLayoutBleed({ className, ...rest }: PageLayoutBleedProps): react_jsx_runtime.JSX.Element;
|
|
45
47
|
|
|
46
|
-
export { PageLayoutContent, type PageLayoutContentProps, PageLayoutFooter, type PageLayoutFooterProps, PageLayoutHeader, type PageLayoutHeaderProps, PageLayoutPane, type PageLayoutPaneProps, PageLayoutRoot, type PageLayoutRootProps };
|
|
48
|
+
export { PageLayoutBleed, type PageLayoutBleedProps, PageLayoutContent, type PageLayoutContentProps, PageLayoutFooter, type PageLayoutFooterProps, PageLayoutHeader, type PageLayoutHeaderProps, PageLayoutPane, type PageLayoutPaneProps, PageLayoutRoot, type PageLayoutRootProps };
|
package/dist/page-layout.js
CHANGED
|
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
// src/page-layout.tsx
|
|
22
22
|
var page_layout_exports = {};
|
|
23
23
|
__export(page_layout_exports, {
|
|
24
|
+
PageLayoutBleed: () => PageLayoutBleed,
|
|
24
25
|
PageLayoutContent: () => PageLayoutContent,
|
|
25
26
|
PageLayoutFooter: () => PageLayoutFooter,
|
|
26
27
|
PageLayoutHeader: () => PageLayoutHeader,
|
|
@@ -195,8 +196,18 @@ function getDisplayName(el) {
|
|
|
195
196
|
var _a, _b, _c;
|
|
196
197
|
return (_c = (_a = el.type) == null ? void 0 : _a.displayName) != null ? _c : (_b = el.type) == null ? void 0 : _b.name;
|
|
197
198
|
}
|
|
199
|
+
function PageLayoutBleed({ className, ...rest }) {
|
|
200
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
201
|
+
"div",
|
|
202
|
+
{
|
|
203
|
+
className: (0, import_shared_utils.cn)(className, "relative -mx-4 md:-mx-6 px-4 md:px-6"),
|
|
204
|
+
...rest
|
|
205
|
+
}
|
|
206
|
+
);
|
|
207
|
+
}
|
|
198
208
|
// Annotate the CommonJS export names for ESM import in node:
|
|
199
209
|
0 && (module.exports = {
|
|
210
|
+
PageLayoutBleed,
|
|
200
211
|
PageLayoutContent,
|
|
201
212
|
PageLayoutFooter,
|
|
202
213
|
PageLayoutHeader,
|
package/dist/page-layout.mjs
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
+
PageLayoutBleed,
|
|
3
4
|
PageLayoutContent,
|
|
4
5
|
PageLayoutFooter,
|
|
5
6
|
PageLayoutHeader,
|
|
6
7
|
PageLayoutPane,
|
|
7
8
|
PageLayoutRoot
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-URSQ3AMR.mjs";
|
|
9
10
|
export {
|
|
11
|
+
PageLayoutBleed,
|
|
10
12
|
PageLayoutContent,
|
|
11
13
|
PageLayoutFooter,
|
|
12
14
|
PageLayoutHeader,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/page-layout",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "The layout for our pages used within kopexa",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"page-layout"
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"react": ">=19.0.0-rc.0",
|
|
29
29
|
"react-dom": ">=19.0.0-rc.0",
|
|
30
30
|
"motion": ">=12.23.6",
|
|
31
|
-
"@kopexa/theme": "1.
|
|
31
|
+
"@kopexa/theme": "1.6.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@kopexa/shared-utils": "1.1.5",
|
|
35
|
-
"@kopexa/react-utils": "2.0.
|
|
35
|
+
"@kopexa/react-utils": "2.0.6"
|
|
36
36
|
},
|
|
37
37
|
"clean-package": "../../../clean-package.config.json",
|
|
38
38
|
"module": "dist/index.mjs",
|