@sc-360-v2/storefront-cms-library 0.3.1 → 0.3.3

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.
@@ -50,8 +50,10 @@ export declare enum CMSToolIdTypes {
50
50
  containerElement = "div[data-element-type='container']",
51
51
  repeaterWrapper = "cms-repeater-wrapper",
52
52
  layouterWrapper = "cms-layouter-wrapper",
53
+ layouterProWrapper = "cms-layouter-pro-wrapper",
53
54
  repeaterItemWrapper = "cms-repeater-item-wrapper",
54
55
  layouterItemWrapper = "cms-layouter-item-wrapper",
56
+ layouterProItemWrapper = "cms-layouter-pro-item-wrapper",
55
57
  cmsElementFullView = "cms-element-full-view",
56
58
  productWrapper = "cms-product-wrapper",
57
59
  productDetailsWrapper = "cms-product-details-wrapper",
@@ -314,6 +316,7 @@ export declare const CMSElementsListEnum: {
314
316
  SIMPLE_LIST: string;
315
317
  SIMPLE_LIST_ITEM: string;
316
318
  LAYOUTER_PRO: string;
319
+ LAYOUTER_PRO_ITEM: string;
317
320
  };
318
321
  export declare enum CMSResponsiveModeEnums {
319
322
  DESKTOP = "desktop",
@@ -75,4 +75,6 @@ import * as productCustomizationsSchema from "./elements/product-customizations/
75
75
  import * as iconListSchema from "./elements/icon-list/index";
76
76
  import * as menuV2Schema from "./elements/menu-v2/index";
77
77
  import * as menuItemSchema from "./elements/menu-item/index";
78
- 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, bundleDetailsSchema, brandImageSchema, lightBoxV2Schema, searchSchema, layouterSchema, layouterItemSchema, categoryDetailsSchema, contactUsSchema, loginSchema, createFormSchema, resetPasswordSchema, searchResultsHeadingSchema, itemStockSchema, lineItemSchema, tabsV2Schema, tabsContainerSchema, marchandiserSetsSchema, formBuilder, quickLinksSchema, addOrderSchema, buyForTabsSchema, buyForTabsContainerSchema, checkoutSchema, toasterSchema, spotlightSchema, productCustomizationsSchema, iconListSchema, orderStatusSchema, menuV2Schema, menuItemSchema, };
78
+ import * as layouterProSchema from "./elements/layouter-pro/index";
79
+ import * as layouterProItemSchema from "./elements/layouter-pro-item/index";
80
+ 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, bundleDetailsSchema, brandImageSchema, lightBoxV2Schema, searchSchema, layouterSchema, layouterItemSchema, categoryDetailsSchema, contactUsSchema, loginSchema, createFormSchema, resetPasswordSchema, searchResultsHeadingSchema, itemStockSchema, lineItemSchema, tabsV2Schema, tabsContainerSchema, marchandiserSetsSchema, formBuilder, quickLinksSchema, addOrderSchema, buyForTabsSchema, buyForTabsContainerSchema, checkoutSchema, toasterSchema, spotlightSchema, productCustomizationsSchema, iconListSchema, orderStatusSchema, menuV2Schema, menuItemSchema, layouterProSchema, layouterProItemSchema, };
@@ -89,4 +89,6 @@ import * as productCustomizations from "./productCustomizations";
89
89
  import * as iconList from "./icon-list";
90
90
  import * as menuV2 from "./menu_v2";
91
91
  import * as menuItem from "./menu-item";
92
- 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, login, resetPassword, breadcrumbs, iconLibrary, searchResultsHeading, itemStock, cartDetails, cartSummary, checkout, allocationDetails, line, tabsV2, tabContainer, marchandiserSets, createForm, quickLinks, addOrder, buyForWithTabs, buyForTabsContainer, toaster, spotlight, bundleDetails, productCustomizations, iconList, orderStatus, menuV2, menuItem, };
92
+ import * as layouterPro from "./layouterPro";
93
+ import * as layouterProItem from "./layouter-pro-item";
94
+ 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, login, resetPassword, breadcrumbs, iconLibrary, searchResultsHeading, itemStock, cartDetails, cartSummary, checkout, allocationDetails, line, tabsV2, tabContainer, marchandiserSets, createForm, quickLinks, addOrder, buyForWithTabs, buyForTabsContainer, toaster, spotlight, bundleDetails, productCustomizations, iconList, orderStatus, menuV2, menuItem, layouterPro, layouterProItem, };
@@ -0,0 +1,9 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ export interface selfDesignInterface {
3
+ selectorKey: string;
4
+ }
5
+ export declare enum selfSelectorKeysEnum {
6
+ LAYOUT = "layout",
7
+ DESIGN = "design"
8
+ }
9
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
@@ -0,0 +1,39 @@
1
+ import { AlignItemsValue, JustifyContentValue, LayouterDisplayStyleType } from "../../../../components/global/types";
2
+ import { CMSCSSUnitTypesEnums } from "../../enums";
3
+ import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
4
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
5
+ interface selfLayoutInterface {
6
+ selectorKey: string;
7
+ displayStyle: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
8
+ value: LayouterDisplayStyleType;
9
+ };
10
+ itemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
11
+ justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
12
+ value: JustifyContentValue;
13
+ };
14
+ alignItems: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
15
+ value: AlignItemsValue;
16
+ };
17
+ setItemsPerRow: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
18
+ isShow: boolean;
19
+ value: string | number | any;
20
+ };
21
+ minColumnWidth: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
22
+ value: string | number | any;
23
+ unit: CMSCSSUnitTypesEnums;
24
+ };
25
+ minRowHeight: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
26
+ value: string | number | any;
27
+ unit: CMSCSSUnitTypesEnums;
28
+ };
29
+ }
30
+ export interface selfDesignInterface {
31
+ selectorKey: string;
32
+ }
33
+ export declare enum selfSelectorKeysEnum {
34
+ LAYOUT = "layout",
35
+ DESIGN = "design",
36
+ DATA_CONNECTOR = "dataConnector"
37
+ }
38
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
39
+ export {};
@@ -77,7 +77,8 @@ export declare enum SelectorKeysEnum {
77
77
  SELECTED_STATE = "selected",
78
78
  SWATCH_OPTION_VALUE_STYLE = "swatchOptionValueStyle",
79
79
  SINGLE_OPTION_VALUE_STYLE = "singleOptionValueStyle",
80
- DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle"
80
+ DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle",
81
+ OPTION_TITLE = "optionTitle"
81
82
  }
82
83
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
83
84
  export {};
@@ -21,6 +21,7 @@ interface selfLayoutInterface {
21
21
  maxItemsToDisplay: CMSIBCommonInterface;
22
22
  overflowItems: CMSIBCommonInterface;
23
23
  swatchImageType: CMSIBCommonInterface;
24
+ itemSize: CMSIBCommonInterface;
24
25
  };
25
26
  singleSelectDisplayStyle: {
26
27
  selectorKey: string;
@@ -33,6 +34,7 @@ interface selfLayoutInterface {
33
34
  itemsPerRow: CMSIBCommonInterface;
34
35
  itemContentAlignment: CMSIBCommonInterface;
35
36
  overflowDirection: CMSIBCommonInterface;
37
+ itemSize: CMSIBCommonInterface;
36
38
  };
37
39
  dropdownDisplayStyle: {
38
40
  selectorKey: string;
@@ -75,6 +75,8 @@
75
75
  height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
76
76
  .uom__container {
77
77
  padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
78
+ height: 100%;
79
+ width: 100%;
78
80
  // border: 1px solid rgba(75, 69, 70, 1);
79
81
  // border-radius: 20px;
80
82
  .stack {