@sc-360-v2/storefront-cms-library 0.3.13 → 0.3.14

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.
@@ -20,6 +20,7 @@ interface selfLayoutInterface {
20
20
  maxItemsToDisplay: CMSIBCommonInterface;
21
21
  overflowItems: CMSIBCommonInterface;
22
22
  swatchImageType: CMSIBCommonInterface;
23
+ itemSize: CMSIBCommonInterface;
23
24
  };
24
25
  singleSelectDisplayStyle: {
25
26
  selectorKey: string;
@@ -76,21 +77,7 @@ interface selfLayoutInterface {
76
77
  };
77
78
  matrixDisplayStyle: {
78
79
  selectorKey: string;
79
- header: CMSIBCommonInterface;
80
- headerHeight: CMSIBCommonInterface;
81
- rowHeight: CMSIBCommonInterface;
82
- headerDivider: CMSIBCommonInterface;
83
- rowDivider: CMSIBCommonInterface;
84
- columnDivider: CMSIBCommonInterface;
85
- alternativeRowColors: CMSIBCommonInterface;
86
- headerCellPadding: CMSIBCommonInterface;
87
- rowCellPadding: CMSIBCommonInterface;
88
- contentAlignment: CMSIBCommonInterface;
89
- rowsPerPage: CMSIBCommonInterface;
90
- overflowControl: CMSIBCommonInterface;
91
- paginationType: CMSIBCommonInterface;
92
- paginationAliginment: CMSIBCommonInterface;
93
- showMoreRows: CMSIBCommonInterface;
80
+ [key: string]: any;
94
81
  };
95
82
  groupedMatrixDisplayStyle: {
96
83
  selectorKey: string;
@@ -99,11 +86,13 @@ interface selfLayoutInterface {
99
86
  groupPadding: CMSIBCommonInterface;
100
87
  groupHeaderAndOptionSpacing: CMSIBCommonInterface;
101
88
  };
89
+ [key: string]: any;
102
90
  }
103
91
  interface selfDesignInterface {
104
92
  selectorKey: string;
93
+ [key: string]: any;
105
94
  }
106
- export declare enum BulkVariantPickerSelectorKeysEnum {
95
+ export declare enum SelfEnums {
107
96
  LAYOUT = "layout",
108
97
  CONTENT = "content",
109
98
  DESIGN = "design",
@@ -113,7 +102,55 @@ export declare enum BulkVariantPickerSelectorKeysEnum {
113
102
  GROUPED_OPTION_DISPLAY_STYLE = "groupedOptionsDisplayStyle",
114
103
  MATRIX_DISPLAY_STYLE = "matrixDisplayStyle",
115
104
  GROUPED_MATRIX_DISPLAY_STYLE = "groupedMatrixDisplayStyle",
116
- DATA_CONNECTOR = "dataConnector"
105
+ DATA_CONNECTOR = "dataConnector",
106
+ SHOW_MORE_ITEMS_BUTTON = "showMoreItemsButton",
107
+ OPTION_TITLE = "optionTitle",
108
+ NO_OF_OPTION_VALUES = "noOfOptionValues",
109
+ OPTION_PRICE = "optionPrice",
110
+ SELECTED_VARIENT_NAME = "selectedVarientName",
111
+ OPTION_VALUE_NAME = "optionValueName",
112
+ OPTION_VALUE_CODE = "optionValueCode",
113
+ NO_OF_VARIENTS_AVAILABLE = "noOfVariantsAvailable",
114
+ OPTION_VALUE_PRICE = "optionValuePrice",
115
+ AVAILABLE_INVENTORY = "availableInventory",
116
+ ADDED_ITEMS_TOTAL = "addedItemsTotal",
117
+ OPTION_STYLE = "optionStyle",
118
+ SWATCH_OPTION_VALUE_STYLE = "swatchOptionValueStyle",
119
+ DROPDOWN_OPTION_VALUE_STYLE = "dropdownOptionValueStyle",
120
+ SINGLE_SELECT_OPTION_VALUE_STYLE = "singleSelectOptionValueStyle",
121
+ GROUPED_OPTION_VALUE_STYLE = "groupedOptionValueStyle",
122
+ MATRIX_OPTION_VALUE_STYLE = "matrixOptionValueStyle",
123
+ GROUPED_MATRIX_OPTION_VALUE_STYLE = "groupedMatrixOptionValueStyle",
124
+ PRICE_FORMAT = "priceFormat",
125
+ HOVER_STATE = "hover",
126
+ DEFAULT_STATE = "default",
127
+ SELECTED_STATE = "selected",
128
+ COLLAPSED_STATE = "collapsed",
129
+ EXPANDED_STATE = "expanded",
130
+ SINGLE_OPTION_VALUE_STYLE = "singleOptionValueStyle",
131
+ TAB_ITEM_STYLE = "tabItemStyle",
132
+ ACCORDION_ITEM_STYLES = "accordionItemStyles",
133
+ ACCORDION_ITEM_STYLE = "accordionItemStyle",
134
+ GROUPED_UPFRONT_STYLE = "groupedUpfrontStyle",
135
+ DROPDOWN_STYLE = "dropdownStyle",
136
+ ARROWS = "arrows",
137
+ PAGINATION_DOTS = "paginationDots",
138
+ PAGINATION_LINE = "paginationLine",
139
+ TABLE_HEADER = "tableHeader",
140
+ HEADER_TEXT = "headerText",
141
+ TABLE_ROW = "tableRow",
142
+ SCROLL = "scroll",
143
+ ROW_DIVIDERS = "rowDividers",
144
+ PAGINATION = "pagination",
145
+ TABLE = "table",
146
+ TABLE_ROW_AND_HEADER_DIVIDERS = "tableRowAndHeaderDividers",
147
+ LOAD_MORE_BUTTON = "loadMoreButton",
148
+ TABLE_WIDGET = "tableWidget",
149
+ ROW_TEXT = "rowText",
150
+ SCROLL_BAR = "scrollBar",
151
+ ROW_AND_HEADER_DIVIDERS = "rowAndHeaderDividers",
152
+ ROW_AND_HEADER_DIVIDER = "rowAndHeaderDivider",
153
+ SEARCHBAR = "searchBar"
117
154
  }
118
155
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
119
156
  export {};
@@ -94,4 +94,5 @@ import * as layouterProItem from "./layouter-pro-item";
94
94
  import * as filterResults from "./filterResults";
95
95
  import * as productSizeChart from "./productSizeChart";
96
96
  import * as userElements from "./userElements";
97
- 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, };
97
+ import * as badge from "./badge";
98
+ 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, };
@@ -219,7 +219,7 @@ interface selfDesignInterface {
219
219
  [key: string]: any;
220
220
  };
221
221
  }
222
- export declare enum VariantPickerSelectorKeysEnum {
222
+ export declare enum SelfEnums {
223
223
  LAYOUT = "layout",
224
224
  CONTENT = "content",
225
225
  DESIGN = "design",
@@ -32,7 +32,7 @@ export type CMSEditControlsTypes = "Slider" | "Settings" | string;
32
32
  export type GlobalVideoAttributes = "src" | "poster" | "controls" | "autoplay" | "loop" | "muted" | "preload" | "crossOrigin" | "playsInline";
33
33
  export type CommonBuilderAttributes = "dataDivType" | "dataType" | "dataElementType" | "dataWidgetType" | "dataElementSubChild";
34
34
  export type GlobalTableAttributes = "cellPadding" | "cellSpacing" | "border" | "width" | "height" | "align" | "bgColor" | "frame" | "headers" | "rows" | "rules";
35
- export type StackDirectionType = "horizontal" | "vertical";
35
+ export type StackDirectionType = "horizontal" | "vertical" | string;
36
36
  export type FlexSizeType = "none" | "shrink" | "grow" | string;
37
37
  export type ShowShubMenuType = "On Hover" | "On Click";
38
38
  export type ObjectFitValue = "fill" | "contain" | "cover" | "none" | "scale-down" | string;
@@ -1,6 +1,5 @@
1
1
  @use "sass:map";
2
2
  @use "sass:list";
3
- @use "./table-common.scss";
4
3
 
5
4
  [data-div-type="element"] {
6
5
  &[data-element-type="uomSelector"] {
package/dist/widget.scss CHANGED
@@ -109,6 +109,8 @@
109
109
  @use "./user-elements.scss";
110
110
  @use "./filter-results.scss";
111
111
  @use "./product-sizechart.scss";
112
+ @use "./badge.scss";
112
113
  @use "./toggle-button.scss";
113
114
  @use "./employee-bulk-order.scss";
114
115
  @use "./confirmationModal.scss";
116
+ @use "./submit-quote.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {