@teko-builder/types
Advanced tools
Comparing version 1.0.1-beta.14 to 1.0.1-beta.15
@@ -21,3 +21,4 @@ export * from './button'; | ||
export * from './ecommerce'; | ||
export * from './block'; | ||
export * from './header-v2'; | ||
export * from './global-block'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -10,2 +10,3 @@ import { CommonAttributesInterface } from '../interfaces'; | ||
districtId: string; | ||
dndId?: string; | ||
} | ||
@@ -12,0 +13,0 @@ export interface StoreListInterface extends CommonAttributesInterface { |
@@ -10,3 +10,3 @@ /// <reference types="node" /> | ||
import { UrlObject } from 'url'; | ||
import { ButtonV1Interface, ButtonV2Interface, InputInterface, ParagraphInterface, TabInterface, ProductListV1Interface, FormV3Interface, NumberCounterInterface, CategoryMenuInterface, RecommendCategoryInterface, CarouselSkuListInterface, SSROutputInterface, ProductListEcommerceInterface, BannerListInterface, SlideBannerInterface, HeroBannerInterface, BestSellingProductListInterface, FlashSaleInterface, ListingTabInterface, PopupBannerInterface, MixBannerInterface, RecommendBrandInterface, RightStickyBannerBaseInterface, LeftStickyBannerBaseInterface } from './components'; | ||
import { ButtonV1Interface, ButtonV2Interface, InputInterface, ParagraphInterface, TabInterface, ProductListV1Interface, FormV3Interface, NumberCounterInterface, CategoryMenuInterface, RecommendCategoryInterface, CarouselSkuListInterface, SSROutputInterface, ProductListEcommerceInterface, BannerListInterface, SlideBannerInterface, HeroBannerInterface, BestSellingProductListInterface, FlashSaleInterface, ListingTabInterface, PopupBannerInterface, MixBannerInterface, RecommendBrandInterface, RightStickyBannerBaseInterface, LeftStickyBannerBaseInterface, GlobalBlockInterface } from './components'; | ||
import { PopupV1Interface } from './components/popup'; | ||
@@ -80,3 +80,3 @@ import { MapInterface } from './components/map'; | ||
} | ||
export declare type EventType = 'link' | 'email' | 'phone' | 'inPage' | 'internal' | 'openPopup' | 'closePopup'; | ||
export declare type EventType = 'link' | 'email' | 'phone' | 'inPage' | 'internal' | 'openPopup' | 'closePopup' | 'openPageOfWebsite'; | ||
export interface LinkInterfaceV2 { | ||
@@ -100,6 +100,10 @@ openNewTab?: boolean; | ||
conversionValue?: string; | ||
openPageOfWebsite?: LinkInterfaceV2; | ||
} | ||
export interface CommonAttributesInterface { | ||
id?: string; | ||
commonStyle?: Style; | ||
commonStyle?: Style & { | ||
desktop?: Style; | ||
mobile?: Style; | ||
}; | ||
event?: EventInterface; | ||
@@ -116,2 +120,3 @@ } | ||
faviconUrl?: string | null; | ||
noIndex?: boolean; | ||
} | ||
@@ -225,2 +230,4 @@ interface Spacing { | ||
} | ||
export declare type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs'; | ||
export declare type Gutter = number | Partial<Record<Breakpoint, number>>; | ||
export interface Section { | ||
@@ -230,2 +237,3 @@ cols?: Col[]; | ||
widthType?: WidthTypeEnum; | ||
gutter?: Gutter | [Gutter, Gutter]; | ||
} | ||
@@ -550,3 +558,6 @@ export interface Col { | ||
resolvedName: string; | ||
style?: Style; | ||
style?: Style & { | ||
desktop?: Style; | ||
mobile?: Style; | ||
}; | ||
isActive: boolean; | ||
@@ -610,2 +621,6 @@ children: string[]; | ||
leftstickybanner?: LeftStickyBannerBaseInterface; | ||
globalblock?: GlobalBlockInterface & { | ||
desktop?: GlobalBlockInterface; | ||
mobile?: GlobalBlockInterface; | ||
}; | ||
}; | ||
@@ -612,0 +627,0 @@ } |
{ | ||
"name": "@teko-builder/types", | ||
"version": "1.0.1-beta.14", | ||
"version": "1.0.1-beta.15", | ||
"description": "Utility types", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -21,2 +21,3 @@ export * from './button'; | ||
export * from './ecommerce'; | ||
export * from './block'; | ||
export * from './header-v2'; | ||
export * from './global-block'; |
@@ -11,2 +11,3 @@ import { CommonAttributesInterface } from '../interfaces'; | ||
districtId: string; | ||
dndId?: string; | ||
} | ||
@@ -13,0 +14,0 @@ |
@@ -40,2 +40,3 @@ import { CountdownSkuListInterface } from './components/ecommerce/countdown-sku-list'; | ||
LeftStickyBannerBaseInterface, | ||
GlobalBlockInterface, | ||
} from './components'; | ||
@@ -145,3 +146,4 @@ import { PopupV1Interface } from './components/popup'; | ||
| 'openPopup' | ||
| 'closePopup'; | ||
| 'closePopup' | ||
| 'openPageOfWebsite'; | ||
@@ -167,2 +169,3 @@ export interface LinkInterfaceV2 { | ||
conversionValue?: string; | ||
openPageOfWebsite?: LinkInterfaceV2; | ||
} | ||
@@ -172,3 +175,6 @@ | ||
id?: string; | ||
commonStyle?: Style; | ||
commonStyle?: Style & { | ||
desktop?: Style; | ||
mobile?: Style; | ||
}; | ||
event?: EventInterface; | ||
@@ -187,2 +193,3 @@ } | ||
faviconUrl?: string | null; | ||
noIndex?: boolean; | ||
} | ||
@@ -351,2 +358,6 @@ | ||
export type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs'; | ||
export type Gutter = number | Partial<Record<Breakpoint, number>>; | ||
export interface Section { | ||
@@ -356,2 +367,3 @@ cols?: Col[]; | ||
widthType?: WidthTypeEnum; | ||
gutter?: Gutter | [Gutter, Gutter]; | ||
} | ||
@@ -736,3 +748,6 @@ | ||
resolvedName: string; | ||
style?: Style; | ||
style?: Style & { | ||
desktop?: Style; | ||
mobile?: Style; | ||
}; | ||
isActive: boolean; | ||
@@ -801,2 +816,7 @@ children: string[]; | ||
leftstickybanner?: LeftStickyBannerBaseInterface; | ||
globalblock?: GlobalBlockInterface & { | ||
desktop?: GlobalBlockInterface; | ||
mobile?: GlobalBlockInterface; | ||
}; | ||
}; | ||
@@ -803,0 +823,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1787444
180
23755