@sc-360-v2/storefront-cms-library 0.2.52 → 0.2.54
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/builder.js +1 -1
- package/dist/types/builder/elements/contact-us/index.d.ts +27 -0
- package/dist/types/builder/enums/index.d.ts +1 -0
- package/dist/types/builder/index.d.ts +3 -2
- package/dist/types/builder/tools/element-edit/contactUs.d.ts +15 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
2
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
3
|
+
import { AlignSelfValue, BoxSizingValue, GridAreaValue, HeightValue, JustifySelfValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue, CommonBuilderAttributes, GlobalImageAttributes } from "../../../global/types";
|
|
4
|
+
import { BuilderAttributes, CMSElementInterface } from "../common";
|
|
5
|
+
export interface ContactUsStyleProperties extends CommonStyleProperties {
|
|
6
|
+
minHeight?: MinHeightValue;
|
|
7
|
+
height?: HeightValue;
|
|
8
|
+
minWidth?: MinWidthValue;
|
|
9
|
+
maxWidth?: MaxWidthValue;
|
|
10
|
+
maxHeight?: MaxHeightValue;
|
|
11
|
+
gridArea?: GridAreaValue;
|
|
12
|
+
boxSizing?: BoxSizingValue;
|
|
13
|
+
padding?: PaddingValue;
|
|
14
|
+
justifySelf?: JustifySelfValue;
|
|
15
|
+
alignSelf?: AlignSelfValue;
|
|
16
|
+
}
|
|
17
|
+
export declare const getDefaultStyles: () => ContactUsStyleProperties;
|
|
18
|
+
export interface CMSContactUsInterface extends Omit<CMSElementInterface, "attributes"> {
|
|
19
|
+
attributes: {
|
|
20
|
+
HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
|
|
21
|
+
BUILDER: Pick<BuilderAttributes, CommonBuilderAttributes>;
|
|
22
|
+
CUSTOM: any;
|
|
23
|
+
};
|
|
24
|
+
styles: ContactUsStyleProperties;
|
|
25
|
+
childrenStyles?: CommonStyleProperties;
|
|
26
|
+
content?: string;
|
|
27
|
+
}
|
|
@@ -49,6 +49,7 @@ import * as lightBoxV2Schema from "./elements/light-box-v2/index";
|
|
|
49
49
|
import * as searchSchema from "./elements/search/index";
|
|
50
50
|
import * as layouterSchema from "./elements/layouter/index";
|
|
51
51
|
import * as layouterItemSchema from "./elements/layouter-item/index";
|
|
52
|
-
import * as categoryDetailsSchema from "./elements/category-details/index";
|
|
53
52
|
import commonFunctions from "./utilities/global";
|
|
54
|
-
|
|
53
|
+
import * as contactUsSchema from "./elements/contact-us/index";
|
|
54
|
+
import * as categoryDetailsSchema from "./elements/category-details/index";
|
|
55
|
+
export { ElementEditSchema, amountEstimatorSchema, bulkVariantPickerSchema, buttonSchema, cmsTypes, codeSchema, commonFunctions, containerSchema, countdownSchema, embedSchema, enums, faqSchema, gallerySliderSchema, gridSchema, imageHotspotSchema, imageSchema, interfaces, mapSchema, paymentMethodsSchema, pickupLocationsSchema, priceSchema, productActionsSchema, productHighlightsSchema, productImageSchema, productInventorySchema, productPromotionsSchema, quantitySelectorSchema, scrollSchema, sectionSchema, shippingEstimatorSchema, socialIconsSchema, stackSchema, storeLocationsSchema, tabSchema, tableSchema, textSchema, uomSelectorSchema, variantPickerSchema, videoSChema, volumePricingSchema, lightboxSchema, cartSchema, profileSchema, productSchema, repeaterSchema, brandSchema, bundleSchema, brandImageSchema, lightBoxV2Schema, searchSchema, layouterSchema, layouterItemSchema, categoryDetailsSchema, contactUsSchema, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
2
|
+
export interface ContactUsEditPopupInterface extends CMSElementEditPopupInterface {
|
|
3
|
+
}
|
|
4
|
+
interface selfLayoutInterface {
|
|
5
|
+
selectorKey: string;
|
|
6
|
+
}
|
|
7
|
+
export interface selfDesignInterface {
|
|
8
|
+
selectorKey: string;
|
|
9
|
+
}
|
|
10
|
+
export declare enum contactUsSelectorKeysEnum {
|
|
11
|
+
LAYOUT = "layout",
|
|
12
|
+
DESIGN = "design"
|
|
13
|
+
}
|
|
14
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
15
|
+
export {};
|
|
@@ -61,4 +61,5 @@ import * as search from "./search";
|
|
|
61
61
|
import * as layouter from "./layouter";
|
|
62
62
|
import * as layouterItem from "./layouter-item";
|
|
63
63
|
import * as categoryDetails from "./categoryDetails";
|
|
64
|
-
|
|
64
|
+
import * as contactUs from "./contactUs";
|
|
65
|
+
export { amountEstimator, bulkVariantPicker, button, code, staticText, common, container, countdown, embed, faq, gallerySlider, grid, image, imageHotspot, map, paymentMethods, pickupLocations, price, productActions, productHighlights, productImage, productInventory, productPromotions, quantitySelector, scroll, section, shippingEstimator, slideShowLayouter, social, stack, storeLocations, table, tabs, text, uomSelector, variantPicker, video, volumePricing, lightbox, cart, profile, repeater, repeaterItem, product, menu, productOptions, productDetails, category, subCategory, brand, bundle, brandImage, filters, sort, pastOrders, quotes, rfqs, lightBoxV2, allocations, search, layouter, layouterItem, categoryDetails, contactUs, };
|