@sc-360-v2/storefront-cms-library 0.3.21 → 0.3.22

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.
@@ -14,7 +14,8 @@ export declare enum SelectorKeysEnum {
14
14
  PRODUCT_NAME_STYLES = "productNameStyles",
15
15
  PRODUCT_PRICE_STYLES = "productPriceStyles",
16
16
  PRODUCT_INFORMATION_STYLES = "productInformationStyles",
17
- PRODUCT_QUANTITY_STYLES = "productQuantityStyles"
17
+ PRODUCT_QUANTITY_STYLES = "productQuantityStyles",
18
+ PRODUCT_IMAGE_STYLES = "productImageStyles"
18
19
  }
19
20
  export declare const getDefaultData: () => {
20
21
  layout: {
@@ -139,7 +140,14 @@ export declare const getDefaultData: () => {
139
140
  angle: import("../../interfaces/global").CMSIBSizeInterface;
140
141
  };
141
142
  cartActionStyles: {
142
- selectorKey: SelectorKeysEnum;
143
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
144
+ itemGap: {
145
+ value: CMSCSSUnitTypesEnums;
146
+ unit: CMSCSSUnitTypesEnums;
147
+ property: string;
148
+ propertyType: CMSElementEditTypes;
149
+ };
150
+ theme: CMSIBCommonInterface;
143
151
  font: CMSIBCommonInterface;
144
152
  fontSize: import("../../interfaces/global").CMSIBSizeInterface;
145
153
  textColor: CMSIBCommonInterface;
@@ -149,6 +157,9 @@ export declare const getDefaultData: () => {
149
157
  underline: CMSIBCommonInterface;
150
158
  textAlign: CMSIBCommonInterface;
151
159
  characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
160
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
161
+ backgroundColor: CMSIBCommonInterface;
162
+ selectorKey: SelectorKeysEnum;
152
163
  };
153
164
  cartItemStyles: {
154
165
  selectorKey: SelectorKeysEnum;
@@ -292,6 +303,14 @@ export declare const getDefaultData: () => {
292
303
  shadows: import("../../interfaces/global").CMSIBSizeInterface;
293
304
  selectorKey: SelectorKeysEnum;
294
305
  };
306
+ productImageStyles: {
307
+ selectorKey: SelectorKeysEnum;
308
+ borderColor: CMSIBCommonInterface;
309
+ borderStyle: CMSIBCommonInterface;
310
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
311
+ showBorder: CMSIBCommonInterface;
312
+ showShadow: CMSIBCommonInterface;
313
+ };
295
314
  };
296
315
  content: {
297
316
  selectorKey: SelectorKeysEnum;
@@ -95,5 +95,6 @@ import * as filterResults from "./filterResults";
95
95
  import * as productSizeChart from "./productSizeChart";
96
96
  import * as userElements from "./userElements";
97
97
  import * as badge from "./badge";
98
+ import * as languageMenu from "./language-menu";
98
99
  import * as cartAttributes from "./cartAttributes";
99
- 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, filterResults, productSizeChart, userElements, badge, cartAttributes, };
100
+ 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, filterResults, productSizeChart, userElements, badge, cartAttributes, languageMenu, };
@@ -0,0 +1,31 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ whenClicked: CMSIBCommonInterface;
6
+ showSearchText: CMSIBCommonInterface;
7
+ searchText: CMSIBCommonInterface;
8
+ showNoOfItems: CMSIBCommonInterface;
9
+ searchPlaceholderText: CMSIBCommonInterface;
10
+ [key: string]: any;
11
+ }
12
+ export interface selfDesignInterface {
13
+ selectorKey: string;
14
+ [key: string]: any;
15
+ }
16
+ export declare enum selfEnums {
17
+ LAYOUT = "layout",
18
+ DESIGN = "design",
19
+ SEARCHBAR = "searchBar",
20
+ PLACEHOLDER_TEXT = "placeholderText",
21
+ SEARCH_ICON = "searchIcon",
22
+ MINI_CART_TEXT = "miniSearchText",
23
+ DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle",
24
+ WIDGET_STYLE = "widgetStyle",
25
+ OPTION_STYLE = "optionStyle",
26
+ HOVER_STATE = "hover",
27
+ SELECTED_STATE = "selected",
28
+ DEFAULT_STATE = "default"
29
+ }
30
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
31
+ export {};
package/dist/widget.scss CHANGED
@@ -115,3 +115,4 @@
115
115
  @use "./confirmationModal.scss";
116
116
  @use "./submit-quote.scss";
117
117
  @use "./cartAttributes.scss";
118
+ @use "./language-selector.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {