@redneckz/wildless-cms-uni-blocks 0.1.1 → 0.1.2
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { PageProps } from 'gatsby';
|
|
3
3
|
import type { BlockContent } from '../Blocks';
|
|
4
4
|
import type { ContentPageDef } from '../types';
|
|
5
|
-
import '@
|
|
5
|
+
import '@redneckz/wildless-cms-uni-blocks/dist/common.css';
|
|
6
6
|
declare type PageData<D extends string> = Record<D, ContentPageDef<BlockContent>>;
|
|
7
7
|
export declare const GatsbyPage: <D extends string>(discriminator: D) => ({ data }: PageProps<PageData<D>, object, unknown, object>) => JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -7,7 +7,7 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
7
7
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
8
8
|
const jsx_runtime_2 = __importDefault(require("react/jsx-runtime"));
|
|
9
9
|
const ContentPage_1 = require("../ContentPage");
|
|
10
|
-
require("@
|
|
10
|
+
require("@redneckz/wildless-cms-uni-blocks/dist/common.css");
|
|
11
11
|
const { jsx, jsxs } = jsx_runtime_2.default;
|
|
12
12
|
(0, uni_jsx_1.setup)(jsx, jsxs);
|
|
13
13
|
const GatsbyPage = (discriminator) => ({ data }) => (0, jsx_runtime_1.jsx)(ContentPage_1.ContentPage, { ...data[discriminator] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GatsbyPage.js","sourceRoot":"","sources":["../../src/gatsby/GatsbyPage.tsx"],"names":[],"mappings":";;;;;;AAAA,+CAA0C;AAE1C,oEAAwC;AAExC,gDAA6C;AAG7C,
|
|
1
|
+
{"version":3,"file":"GatsbyPage.js","sourceRoot":"","sources":["../../src/gatsby/GatsbyPage.tsx"],"names":[],"mappings":";;;;;;AAAA,+CAA0C;AAE1C,oEAAwC;AAExC,gDAA6C;AAG7C,6DAA2D;AAE3D,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,qBAAc,CAAC;AACrC,IAAA,eAAK,EAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAIV,MAAM,UAAU,GACrB,CAAmB,aAAgB,EAAE,EAAE,CACvC,CAAC,EAAE,IAAI,EAA0B,EAAE,EAAE,CACnC,uBAAC,yBAAW,OAAK,IAAI,CAAC,aAAa,CAAC,GAAI,CAAC;AAHhC,QAAA,UAAU,cAGsB"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { PageProps } from 'gatsby';
|
|
3
3
|
import type { BlockContent } from '../Blocks';
|
|
4
4
|
import type { ContentPageDef } from '../types';
|
|
5
|
-
import '@
|
|
5
|
+
import '@redneckz/wildless-cms-uni-blocks/dist/common.css';
|
|
6
6
|
declare type PageData<D extends string> = Record<D, ContentPageDef<BlockContent>>;
|
|
7
7
|
export declare const GatsbyPage: <D extends string>(discriminator: D) => ({ data }: PageProps<PageData<D>, object, unknown, object>) => JSX.Element;
|
|
8
8
|
export {};
|
package/lib/gatsby/GatsbyPage.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { setup } from '@redneckz/uni-jsx';
|
|
3
3
|
import runtime from 'react/jsx-runtime';
|
|
4
4
|
import { ContentPage } from '../ContentPage';
|
|
5
|
-
import '@
|
|
5
|
+
import '@redneckz/wildless-cms-uni-blocks/dist/common.css';
|
|
6
6
|
const { jsx, jsxs } = runtime;
|
|
7
7
|
setup(jsx, jsxs);
|
|
8
8
|
export const GatsbyPage = (discriminator) => ({ data }) => _jsx(ContentPage, { ...data[discriminator] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GatsbyPage.js","sourceRoot":"","sources":["../../src/gatsby/GatsbyPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,OAAO,
|
|
1
|
+
{"version":3,"file":"GatsbyPage.js","sourceRoot":"","sources":["../../src/gatsby/GatsbyPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,OAAO,mDAAmD,CAAC;AAE3D,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,OAAc,CAAC;AACrC,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAIjB,MAAM,CAAC,MAAM,UAAU,GACrB,CAAmB,aAAgB,EAAE,EAAE,CACvC,CAAC,EAAE,IAAI,EAA0B,EAAE,EAAE,CACnC,KAAC,WAAW,OAAK,IAAI,CAAC,aAAa,CAAC,GAAI,CAAC"}
|