@redneckz/wildless-cms-uni-blocks 0.2.47 → 0.2.48
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/Blocks.d.ts +11 -0
- package/dist/Blocks.js.map +1 -1
- package/dist/Footer/Footer.d.ts +1 -2
- package/dist/Footer/Footer.js.map +1 -1
- package/dist/Footer/index.d.ts +1 -1
- package/dist/types.d.ts +2 -9
- package/lib/Blocks.d.ts +11 -0
- package/lib/Blocks.js.map +1 -1
- package/lib/Footer/Footer.d.ts +1 -2
- package/lib/Footer/Footer.js.map +1 -1
- package/lib/Footer/index.d.ts +1 -1
- package/lib/types.d.ts +2 -9
- package/package.json +1 -1
- package/src/Blocks.ts +22 -9
- package/src/Footer/Footer.tsx +2 -1
- package/src/Footer/index.ts +1 -1
- package/src/types.ts +2 -17
package/dist/Blocks.d.ts
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import { BenefitsBlockContent } from './BenefitsBlock';
|
|
2
|
+
import { ExchangeRateTileContent } from './ExchangeRateTile';
|
|
3
|
+
import { FooterContent } from './Footer/index';
|
|
4
|
+
import { HeaderContent } from './Header/index';
|
|
5
|
+
import { MobileAppTileContent } from './MobileAppTile';
|
|
6
|
+
import { PlaceholderContent } from './Placeholder';
|
|
7
|
+
import { ProductBlockInnerContent } from './ProductBlockInner';
|
|
8
|
+
import { ProductGalleryContent } from './ProductGallery';
|
|
9
|
+
import { StepsBlockContent } from './StepsBlock';
|
|
10
|
+
import { TileContent } from './Tile';
|
|
1
11
|
export declare const Blocks: {
|
|
2
12
|
Header: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Header/Header").HeaderProps, any>, context?: any) => any;
|
|
3
13
|
Footer: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Footer/Footer").FooterProps, any>, context?: any) => any;
|
|
@@ -10,3 +20,4 @@ export declare const Blocks: {
|
|
|
10
20
|
ExchangeRateTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ExchangeRateTile").ExchangeRateTileProps, any>, context?: any) => any;
|
|
11
21
|
MobileAppTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./MobileAppTile").MobileAppTileProps, any>, context?: any) => any;
|
|
12
22
|
};
|
|
23
|
+
export declare type BlockContent = HeaderContent | FooterContent | PlaceholderContent | TileContent | ProductBlockInnerContent | StepsBlockContent | BenefitsBlockContent | ProductGalleryContent | ExchangeRateTileContent | MobileAppTileContent;
|
package/dist/Blocks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../src/Blocks.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../src/Blocks.ts"],"names":[],"mappings":";;AAAA,mDAAsE;AACtE,yDAA+E;AAC/E,0CAAuD;AACvD,0CAAuD;AACvD,mDAAsE;AACtE,+CAAgE;AAChE,iDAA8C;AAE9C,qDAAyE;AACzE,6CAA6D;AAC7D,iCAA2C;AAE9B,QAAA,MAAM,GAAG;IACpB,MAAM,EAAN,cAAM;IACN,MAAM,EAAN,cAAM;IACN,WAAW,EAAX,yBAAW;IACX,IAAI,EAAJ,WAAI;IACJ,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,aAAa,EAAb,6BAAa;IACb,cAAc,EAAd,+BAAc;IACd,gBAAgB,EAAhB,mCAAgB;IAChB,aAAa,EAAb,6BAAa;CACd,CAAC"}
|
package/dist/Footer/Footer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LinkContent, UniBlockProps, ContactInfo, TopMenuItem } from '../types';
|
|
2
|
-
interface FooterContent {
|
|
2
|
+
export interface FooterContent {
|
|
3
3
|
documents?: LinkContent[];
|
|
4
4
|
relatedEnterprises?: LinkContent[];
|
|
5
5
|
contacts?: ContactInfo[];
|
|
@@ -9,4 +9,3 @@ interface FooterContent {
|
|
|
9
9
|
export interface FooterProps extends FooterContent, UniBlockProps {
|
|
10
10
|
}
|
|
11
11
|
export declare const Footer: (props: import("@redneckz/uni-jsx").PropsWithChildren<FooterProps, any>, context?: any) => any;
|
|
12
|
-
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../src/Footer/Footer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yCAAsC;AACtC,mDAAgD;AAChD,yCAAsC;AACtC,uCAAoC;AACpC,+CAA4C;AAC5C,iEAA8D;AAC9D,uDAAoD;AAGpD,MAAM,sBAAsB,GAAG,WAAW,CAAC;AAC3C,MAAM,4BAA4B,GAAG,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../src/Footer/Footer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yCAAsC;AACtC,mDAAgD;AAChD,yCAAsC;AACtC,uCAAoC;AACpC,+CAA4C;AAC5C,iEAA8D;AAC9D,uDAAoD;AAGpD,MAAM,sBAAsB,GAAG,WAAW,CAAC;AAC3C,MAAM,4BAA4B,GAAG,cAAc,CAAC;AAYvC,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,kBAAkB,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IACzF,OAAO,CACL,oCAAQ,SAAS,EAAE,GAAG,SAAS,mDAAmD,aAChF,iCAAK,SAAS,EAAC,yCAAyC,aACtD,uBAAC,WAAI,IAAC,SAAS,EAAE,GAAG,sBAAsB,IAAI,4BAA4B,EAAE,GAAI,EAChF,uBAAC,qBAAS,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,MAAM,GAAG,IAC5C,EACN,iCAAK,SAAS,EAAC,oCAAoC,aACjD,uBAAC,mBAAQ,IACP,SAAS,EAAE,GAAG,sBAAsB,6BAA6B,4BAA4B,EAAE,EAC/F,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,OAAO,EAChB,SAAS,SACT,EACF,uBAAC,iBAAO,IAAC,SAAS,EAAC,UAAU,EAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,GAAI,IAC/D,EACN,uBAAC,yBAAW,IAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAI,EACrD,uBAAC,2CAAoB,IAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAI,EACrE,uBAAC,iCAAe,IAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAI,IAChD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/dist/Footer/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Footer } from './Footer';
|
|
2
|
-
export type { FooterProps } from './Footer';
|
|
2
|
+
export type { FooterContent, FooterProps } from './Footer';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import type { AvifOptions, FormatEnum, GifOptions, HeifOptions, JpegOptions, PngOptions, ResizeOptions, TiffOptions, WebpOptions } from 'sharp';
|
|
2
|
-
import type {
|
|
2
|
+
import type { BlockContent } from './Blocks';
|
|
3
3
|
import type { ContentPageContext } from './ContentPageContext';
|
|
4
|
-
import type { HeaderContent } from './Header/index';
|
|
5
|
-
import type { PlaceholderContent } from './Placeholder';
|
|
6
|
-
import type { ProductBlockInnerContent } from './ProductBlockInner';
|
|
7
|
-
import type { ProductGalleryContent } from './ProductGallery';
|
|
8
|
-
import type { StepsBlockContent } from './StepsBlock';
|
|
9
|
-
import type { TileContent } from './Tile';
|
|
10
|
-
export declare type BlockVersion = 'primary' | 'secondary';
|
|
11
4
|
export declare type ColorPalette = 'pc' | 'bc' | 'eo';
|
|
12
|
-
export declare type
|
|
5
|
+
export declare type BlockVersion = 'primary' | 'secondary';
|
|
13
6
|
export interface BlockDef {
|
|
14
7
|
type: string;
|
|
15
8
|
style?: string[];
|
package/lib/Blocks.d.ts
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import { BenefitsBlockContent } from './BenefitsBlock';
|
|
2
|
+
import { ExchangeRateTileContent } from './ExchangeRateTile';
|
|
3
|
+
import { FooterContent } from './Footer/index';
|
|
4
|
+
import { HeaderContent } from './Header/index';
|
|
5
|
+
import { MobileAppTileContent } from './MobileAppTile';
|
|
6
|
+
import { PlaceholderContent } from './Placeholder';
|
|
7
|
+
import { ProductBlockInnerContent } from './ProductBlockInner';
|
|
8
|
+
import { ProductGalleryContent } from './ProductGallery';
|
|
9
|
+
import { StepsBlockContent } from './StepsBlock';
|
|
10
|
+
import { TileContent } from './Tile';
|
|
1
11
|
export declare const Blocks: {
|
|
2
12
|
Header: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Header/Header").HeaderProps, any>, context?: any) => any;
|
|
3
13
|
Footer: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Footer/Footer").FooterProps, any>, context?: any) => any;
|
|
@@ -10,3 +20,4 @@ export declare const Blocks: {
|
|
|
10
20
|
ExchangeRateTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ExchangeRateTile").ExchangeRateTileProps, any>, context?: any) => any;
|
|
11
21
|
MobileAppTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./MobileAppTile").MobileAppTileProps, any>, context?: any) => any;
|
|
12
22
|
};
|
|
23
|
+
export declare type BlockContent = HeaderContent | FooterContent | PlaceholderContent | TileContent | ProductBlockInnerContent | StepsBlockContent | BenefitsBlockContent | ProductGalleryContent | ExchangeRateTileContent | MobileAppTileContent;
|
package/lib/Blocks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../src/Blocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../src/Blocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAwB,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAA2B,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAiB,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAiB,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAwB,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAsB,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,UAAU,EAAqB,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAe,MAAM,QAAQ,CAAC;AAE3C,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM;IACN,MAAM;IACN,WAAW;IACX,IAAI;IACJ,YAAY;IACZ,UAAU;IACV,aAAa;IACb,cAAc;IACd,gBAAgB;IAChB,aAAa;CACd,CAAC"}
|
package/lib/Footer/Footer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LinkContent, UniBlockProps, ContactInfo, TopMenuItem } from '../types';
|
|
2
|
-
interface FooterContent {
|
|
2
|
+
export interface FooterContent {
|
|
3
3
|
documents?: LinkContent[];
|
|
4
4
|
relatedEnterprises?: LinkContent[];
|
|
5
5
|
contacts?: ContactInfo[];
|
|
@@ -9,4 +9,3 @@ interface FooterContent {
|
|
|
9
9
|
export interface FooterProps extends FooterContent, UniBlockProps {
|
|
10
10
|
}
|
|
11
11
|
export declare const Footer: (props: import("@redneckz/uni-jsx").PropsWithChildren<FooterProps, any>, context?: any) => any;
|
|
12
|
-
export {};
|
package/lib/Footer/Footer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../src/Footer/Footer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,MAAM,sBAAsB,GAAG,WAAW,CAAC;AAC3C,MAAM,4BAA4B,GAAG,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../src/Footer/Footer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,MAAM,sBAAsB,GAAG,WAAW,CAAC;AAC3C,MAAM,4BAA4B,GAAG,cAAc,CAAC;AAYpD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,kBAAkB,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IACzF,OAAO,CACL,kBAAQ,SAAS,EAAE,GAAG,SAAS,mDAAmD,aAChF,eAAK,SAAS,EAAC,yCAAyC,aACtD,KAAC,IAAI,IAAC,SAAS,EAAE,GAAG,sBAAsB,IAAI,4BAA4B,EAAE,GAAI,EAChF,KAAC,SAAS,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,MAAM,GAAG,IAC5C,EACN,eAAK,SAAS,EAAC,oCAAoC,aACjD,KAAC,QAAQ,IACP,SAAS,EAAE,GAAG,sBAAsB,6BAA6B,4BAA4B,EAAE,EAC/F,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,OAAO,EAChB,SAAS,SACT,EACF,KAAC,OAAO,IAAC,SAAS,EAAC,UAAU,EAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,GAAI,IAC/D,EACN,KAAC,WAAW,IAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAI,EACrD,KAAC,oBAAoB,IAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAI,EACrE,KAAC,eAAe,IAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAI,IAChD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/Footer/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Footer } from './Footer';
|
|
2
|
-
export type { FooterProps } from './Footer';
|
|
2
|
+
export type { FooterContent, FooterProps } from './Footer';
|
package/lib/types.d.ts
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import type { AvifOptions, FormatEnum, GifOptions, HeifOptions, JpegOptions, PngOptions, ResizeOptions, TiffOptions, WebpOptions } from 'sharp';
|
|
2
|
-
import type {
|
|
2
|
+
import type { BlockContent } from './Blocks';
|
|
3
3
|
import type { ContentPageContext } from './ContentPageContext';
|
|
4
|
-
import type { HeaderContent } from './Header/index';
|
|
5
|
-
import type { PlaceholderContent } from './Placeholder';
|
|
6
|
-
import type { ProductBlockInnerContent } from './ProductBlockInner';
|
|
7
|
-
import type { ProductGalleryContent } from './ProductGallery';
|
|
8
|
-
import type { StepsBlockContent } from './StepsBlock';
|
|
9
|
-
import type { TileContent } from './Tile';
|
|
10
|
-
export declare type BlockVersion = 'primary' | 'secondary';
|
|
11
4
|
export declare type ColorPalette = 'pc' | 'bc' | 'eo';
|
|
12
|
-
export declare type
|
|
5
|
+
export declare type BlockVersion = 'primary' | 'secondary';
|
|
13
6
|
export interface BlockDef {
|
|
14
7
|
type: string;
|
|
15
8
|
style?: string[];
|
package/package.json
CHANGED
package/src/Blocks.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { BenefitsBlock } from './BenefitsBlock';
|
|
2
|
-
import { ExchangeRateTile } from './ExchangeRateTile';
|
|
3
|
-
import { Footer } from './Footer/index';
|
|
4
|
-
import { Header } from './Header/index';
|
|
5
|
-
import { MobileAppTile } from './MobileAppTile';
|
|
6
|
-
import { Placeholder } from './Placeholder';
|
|
1
|
+
import { BenefitsBlock, BenefitsBlockContent } from './BenefitsBlock';
|
|
2
|
+
import { ExchangeRateTile, ExchangeRateTileContent } from './ExchangeRateTile';
|
|
3
|
+
import { Footer, FooterContent } from './Footer/index';
|
|
4
|
+
import { Header, HeaderContent } from './Header/index';
|
|
5
|
+
import { MobileAppTile, MobileAppTileContent } from './MobileAppTile';
|
|
6
|
+
import { Placeholder, PlaceholderContent } from './Placeholder';
|
|
7
7
|
import { ProductBlock } from './ProductBlock';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { ProductBlockInnerContent } from './ProductBlockInner';
|
|
9
|
+
import { ProductGallery, ProductGalleryContent } from './ProductGallery';
|
|
10
|
+
import { StepsBlock, StepsBlockContent } from './StepsBlock';
|
|
11
|
+
import { Tile, TileContent } from './Tile';
|
|
11
12
|
|
|
12
13
|
export const Blocks = {
|
|
13
14
|
Header,
|
|
@@ -21,3 +22,15 @@ export const Blocks = {
|
|
|
21
22
|
ExchangeRateTile,
|
|
22
23
|
MobileAppTile,
|
|
23
24
|
};
|
|
25
|
+
|
|
26
|
+
export type BlockContent =
|
|
27
|
+
| HeaderContent
|
|
28
|
+
| FooterContent
|
|
29
|
+
| PlaceholderContent
|
|
30
|
+
| TileContent
|
|
31
|
+
| ProductBlockInnerContent
|
|
32
|
+
| StepsBlockContent
|
|
33
|
+
| BenefitsBlockContent
|
|
34
|
+
| ProductGalleryContent
|
|
35
|
+
| ExchangeRateTileContent
|
|
36
|
+
| MobileAppTileContent;
|
package/src/Footer/Footer.tsx
CHANGED
|
@@ -11,13 +11,14 @@ import type { LinkContent, UniBlockProps, ContactInfo, TopMenuItem } from '../ty
|
|
|
11
11
|
const LEFT_COL_WIDTH_FULL_HD = 'w-[280px]';
|
|
12
12
|
const LEFT_COL_WIDTH_SMALL_DESKTOP = 'xl:w-[220px]';
|
|
13
13
|
|
|
14
|
-
interface FooterContent {
|
|
14
|
+
export interface FooterContent {
|
|
15
15
|
documents?: LinkContent[];
|
|
16
16
|
relatedEnterprises?: LinkContent[];
|
|
17
17
|
contacts?: ContactInfo[];
|
|
18
18
|
socialMedia?: Omit<LinkContent, 'text'>[];
|
|
19
19
|
topItems?: TopMenuItem[];
|
|
20
20
|
}
|
|
21
|
+
|
|
21
22
|
export interface FooterProps extends FooterContent, UniBlockProps {}
|
|
22
23
|
|
|
23
24
|
export const Footer = JSX<FooterProps>(
|
package/src/Footer/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Footer } from './Footer';
|
|
2
|
-
export type { FooterProps } from './Footer';
|
|
2
|
+
export type { FooterContent, FooterProps } from './Footer';
|
package/src/types.ts
CHANGED
|
@@ -9,27 +9,12 @@ import type {
|
|
|
9
9
|
TiffOptions,
|
|
10
10
|
WebpOptions,
|
|
11
11
|
} from 'sharp';
|
|
12
|
-
import type {
|
|
12
|
+
import type { BlockContent } from './Blocks';
|
|
13
13
|
import type { ContentPageContext } from './ContentPageContext';
|
|
14
|
-
import type { HeaderContent } from './Header/index';
|
|
15
|
-
import type { PlaceholderContent } from './Placeholder';
|
|
16
|
-
import type { ProductBlockInnerContent } from './ProductBlockInner';
|
|
17
|
-
import type { ProductGalleryContent } from './ProductGallery';
|
|
18
|
-
import type { StepsBlockContent } from './StepsBlock';
|
|
19
|
-
import type { TileContent } from './Tile';
|
|
20
|
-
|
|
21
|
-
export type BlockVersion = 'primary' | 'secondary';
|
|
22
14
|
|
|
23
15
|
export type ColorPalette = 'pc' | 'bc' | 'eo';
|
|
24
16
|
|
|
25
|
-
export type
|
|
26
|
-
| HeaderContent
|
|
27
|
-
| PlaceholderContent
|
|
28
|
-
| ProductBlockInnerContent
|
|
29
|
-
| TileContent
|
|
30
|
-
| StepsBlockContent
|
|
31
|
-
| BenefitsBlockContent
|
|
32
|
-
| ProductGalleryContent;
|
|
17
|
+
export type BlockVersion = 'primary' | 'secondary';
|
|
33
18
|
|
|
34
19
|
export interface BlockDef {
|
|
35
20
|
type: string;
|