@sc-360-v2/storefront-cms-library 0.2.63 → 0.2.65

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/login.scss CHANGED
@@ -423,7 +423,7 @@
423
423
  font-weight: 600;
424
424
  cursor: pointer;
425
425
  font-size: 14px;
426
- padding: 8px 16px;
426
+ padding: 8px 0px;
427
427
  border-radius: 6px;
428
428
  &:hover {
429
429
  background-color: var(--_primary-25);
@@ -0,0 +1,27 @@
1
+ import { CMSHTMLAttributes } from "../../../global/attributes";
2
+ import { CommonStyleProperties } from "../../../global/style-properties";
3
+ import { AlignSelfValue, BoxSizingValue, GlobalImageAttributes, GridAreaValue, HeightValue, ImageBuilderAttributes, JustifySelfValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
4
+ import { BuilderAttributes, CMSElementInterface } from "../common";
5
+ export interface ItemStockStyleProperties 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: () => ItemStockStyleProperties;
18
+ export interface CMSItemStockInterface extends Omit<CMSElementInterface, "attributes"> {
19
+ attributes: {
20
+ HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
21
+ BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
22
+ CUSTOM: any;
23
+ };
24
+ styles: ItemStockStyleProperties;
25
+ childrenStyles?: CommonStyleProperties;
26
+ content: string;
27
+ }
@@ -0,0 +1,27 @@
1
+ import { CMSHTMLAttributes } from "../../../global/attributes";
2
+ import { CommonStyleProperties } from "../../../global/style-properties";
3
+ import { AlignSelfValue, BoxSizingValue, GlobalImageAttributes, GridAreaValue, HeightValue, ImageBuilderAttributes, JustifySelfValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
4
+ import { BuilderAttributes, CMSElementInterface } from "../common";
5
+ export interface SearchResultsHeadingStyleProperties 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: () => SearchResultsHeadingStyleProperties;
18
+ export interface CMSSearchResultsHeadingInterface extends Omit<CMSElementInterface, "attributes"> {
19
+ attributes: {
20
+ HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
21
+ BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
22
+ CUSTOM: any;
23
+ };
24
+ styles: SearchResultsHeadingStyleProperties;
25
+ childrenStyles?: CommonStyleProperties;
26
+ content: string;
27
+ }
@@ -13,6 +13,7 @@ export declare enum CMSToolIdTypes {
13
13
  iframeRoot = "cms-iframe-root",
14
14
  addElementTools = "cms-add-element-tools",
15
15
  contextMenu = "cms-context-menu",
16
+ pageSaveButton = "cms-page-save-button",
16
17
  elementPopertiesPopup = "cms-element-properties",
17
18
  addElementComponent = "cms-add-element-component",
18
19
  addElementCanvas = "cms-custom-canvas",
@@ -273,6 +274,9 @@ export declare const CMSElementsListEnum: {
273
274
  BREADCRUMBS: string;
274
275
  ICON_LIBRARY: string;
275
276
  FORM_PREVIEW: string;
277
+ SEARCH_RESULTS_HEADING: string;
278
+ ITEM_STOCK: string;
279
+ CART_DETAILS: string;
276
280
  };
277
281
  export declare enum CMSResponsiveModeEnums {
278
282
  DESKTOP = "desktop",
@@ -54,4 +54,6 @@ import * as contactUsSchema from "./elements/contact-us/index";
54
54
  import * as loginSchema from "./elements/login/index";
55
55
  import * as resetPasswordSchema from "./elements/reset-password/index";
56
56
  import * as categoryDetailsSchema from "./elements/category-details/index";
57
- 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, loginSchema, resetPasswordSchema, };
57
+ import * as searchResultsHeadingSchema from "./elements/search-results-heading/index";
58
+ import * as itemStockSchema from "./elements/item-stock/index";
59
+ 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, loginSchema, resetPasswordSchema, searchResultsHeadingSchema, itemStockSchema, };
@@ -0,0 +1,32 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
4
+ }
5
+ interface selfLayoutInterface {
6
+ selectorKey: string;
7
+ showTitle: CMSIBCommonInterface;
8
+ showNumberOfItems: CMSIBCommonInterface;
9
+ showActions: CMSIBCommonInterface;
10
+ showContinueShopping: CMSIBCommonInterface;
11
+ continueShoppingLinkTo: CMSIBCommonInterface;
12
+ continueShoppingLink: CMSIBCommonInterface;
13
+ showAddFromWishlist: CMSIBCommonInterface;
14
+ showCartGrouping: CMSIBCommonInterface;
15
+ showClearCart: CMSIBCommonInterface;
16
+ clearCartLinkTo: CMSIBCommonInterface;
17
+ clearCartLink: CMSIBCommonInterface;
18
+ showDownloadCart: CMSIBCommonInterface;
19
+ showShareCart: CMSIBCommonInterface;
20
+ showPrintCart: CMSIBCommonInterface;
21
+ maxNumberOfActionsToShow: CMSIBCommonInterface;
22
+ }
23
+ interface selfDesignInterface {
24
+ selectorKey: string;
25
+ }
26
+ export declare enum SelectorKeysEnum {
27
+ LAYOUT = "layout",
28
+ CONTENT = "content",
29
+ DESIGN = "design"
30
+ }
31
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
32
+ export {};
@@ -66,4 +66,7 @@ import * as login from "./login";
66
66
  import * as resetPassword from "./resetPassword";
67
67
  import * as breadcrumbs from "./breadcrumbs";
68
68
  import * as iconLibrary from "./iconLibrary";
69
- 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, };
69
+ import * as searchResultsHeading from "./searchResultsHeading";
70
+ import * as itemStock from "./itemStock";
71
+ import * as cartDetails from "./cartDetails";
72
+ 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, };
@@ -0,0 +1,32 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ itemStockText: CMSIBCommonInterface;
6
+ showItemStockText: CMSIBCommonInterface;
7
+ }
8
+ export interface selfDesignInterface {
9
+ selectorKey: string;
10
+ itemStockText: {
11
+ selectorKey: string;
12
+ theme: CMSIBCommonInterface;
13
+ font: CMSIBCommonInterface;
14
+ fontSize: CMSIBCommonInterface;
15
+ textColor: CMSIBCommonInterface;
16
+ bold: CMSIBCommonInterface;
17
+ italic: CMSIBCommonInterface;
18
+ linethrough: CMSIBCommonInterface;
19
+ underline: CMSIBCommonInterface;
20
+ textAlign: CMSIBCommonInterface;
21
+ characterSpacing: CMSIBCommonInterface;
22
+ lineHeight: CMSIBCommonInterface;
23
+ };
24
+ }
25
+ export declare enum itemStockSelectorKeysEnum {
26
+ LAYOUT = "layout",
27
+ DESIGN = "design",
28
+ DATA_CONNECTOR = "dataConnector",
29
+ ITEM_STOCK_TEXT = "itemStockText"
30
+ }
31
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
32
+ export {};
@@ -0,0 +1,76 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ searchResultsNumber: CMSIBCommonInterface;
6
+ searchKeyword: CMSIBCommonInterface;
7
+ otherText: CMSIBCommonInterface;
8
+ showSearchKeyword: CMSIBCommonInterface;
9
+ showNoOfResults: CMSIBCommonInterface;
10
+ }
11
+ export interface selfDesignInterface {
12
+ selectorKey: string;
13
+ searchResultsNumber: {
14
+ selectorKey: string;
15
+ backgroundColor?: CMSIBCommonInterface;
16
+ borderColor?: CMSIBCommonInterface;
17
+ borderStyle?: CMSIBCommonInterface;
18
+ borderPerSlide?: CMSIBCommonInterface;
19
+ showBorder?: CMSIBCommonInterface;
20
+ showShadow?: CMSIBCommonInterface;
21
+ shadowColor?: CMSIBCommonInterface;
22
+ blur?: CMSIBCommonInterface;
23
+ spread?: CMSIBCommonInterface;
24
+ angle?: CMSIBCommonInterface;
25
+ borderRadius?: CMSIBCommonInterface;
26
+ theme: CMSIBCommonInterface;
27
+ font: CMSIBCommonInterface;
28
+ fontSize: CMSIBCommonInterface;
29
+ textColor: CMSIBCommonInterface;
30
+ bold: CMSIBCommonInterface;
31
+ italic: CMSIBCommonInterface;
32
+ linethrough: CMSIBCommonInterface;
33
+ underline: CMSIBCommonInterface;
34
+ textAlign: CMSIBCommonInterface;
35
+ characterSpacing: CMSIBCommonInterface;
36
+ lineHeight: CMSIBCommonInterface;
37
+ };
38
+ searchKeyword: {
39
+ selectorKey: string;
40
+ theme: CMSIBCommonInterface;
41
+ font: CMSIBCommonInterface;
42
+ fontSize: CMSIBCommonInterface;
43
+ textColor: CMSIBCommonInterface;
44
+ bold: CMSIBCommonInterface;
45
+ italic: CMSIBCommonInterface;
46
+ linethrough: CMSIBCommonInterface;
47
+ underline: CMSIBCommonInterface;
48
+ textAlign: CMSIBCommonInterface;
49
+ characterSpacing: CMSIBCommonInterface;
50
+ lineHeight: CMSIBCommonInterface;
51
+ };
52
+ otherText: {
53
+ selectorKey: string;
54
+ theme: CMSIBCommonInterface;
55
+ font: CMSIBCommonInterface;
56
+ fontSize: CMSIBCommonInterface;
57
+ textColor: CMSIBCommonInterface;
58
+ bold: CMSIBCommonInterface;
59
+ italic: CMSIBCommonInterface;
60
+ linethrough: CMSIBCommonInterface;
61
+ underline: CMSIBCommonInterface;
62
+ textAlign: CMSIBCommonInterface;
63
+ characterSpacing: CMSIBCommonInterface;
64
+ lineHeight: CMSIBCommonInterface;
65
+ };
66
+ }
67
+ export declare enum searchResultsHeadingSelectorKeysEnum {
68
+ LAYOUT = "layout",
69
+ DESIGN = "design",
70
+ DATA_CONNECTOR = "dataConnector",
71
+ SEARCH_RESULTS_COUNT = "searchResultsNumber",
72
+ SEARCH_RESULTS_KEYWORD = "searchKeyword",
73
+ SEARCH_RESULTS_OTHER_TEXT = "otherText"
74
+ }
75
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
76
+ export {};
@@ -64,6 +64,7 @@ export interface SocialControlInterface {
64
64
  twitterIcon: CMSIBCommonInterface;
65
65
  amazonIcon: CMSIBCommonInterface;
66
66
  websiteIcon: CMSIBCommonInterface;
67
+ youtubeIcon: CMSIBCommonInterface;
67
68
  linkedinIcon: CMSIBCommonInterface;
68
69
  };
69
70
  }
@@ -237,6 +238,16 @@ export declare const getDefaultData: () => {
237
238
  property: string;
238
239
  propertyType: CMSElementEditTypes;
239
240
  };
241
+ youtubeIcon: {
242
+ value: string;
243
+ property: string;
244
+ propertyType: CMSElementEditTypes;
245
+ };
246
+ linkedinIcon: {
247
+ value: string;
248
+ property: string;
249
+ propertyType: CMSElementEditTypes;
250
+ };
240
251
  };
241
252
  };
242
253
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.2.63",
3
+ "version": "0.2.65",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {