@sc-360-v2/storefront-cms-library 0.3.59 → 0.3.61

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.
@@ -32,6 +32,7 @@ $prefixList: (
32
32
  buyForWithTabs: buy,
33
33
  buyForTabsContainer: buyFo,
34
34
  spotlight: spo,
35
+ categoryGroups: catego,
35
36
  );
36
37
 
37
38
  $VariableTypes: (
@@ -60,6 +60,10 @@
60
60
  &[data-show-shadow="false"] {
61
61
  --_show-shadow: none;
62
62
  }
63
+ .product_image {
64
+ height: 100%;
65
+ object-fit: contain;
66
+ }
63
67
 
64
68
  .main-image {
65
69
  position: relative;
@@ -148,7 +152,8 @@
148
152
  // font-weight: 600;
149
153
  // color: rgba(75, 69, 70, 1);
150
154
  width: 100%;
151
- height: auto;
155
+ height: 100%;
156
+ object-fit: contain;
152
157
  }
153
158
  .gallery-slider-element {
154
159
  --text-high-contrast-rgb-value: 49, 49, 49;
@@ -1015,6 +1020,12 @@
1015
1020
  height: 100%;
1016
1021
  display: flex;
1017
1022
  flex: 0 0 auto;
1023
+ div {
1024
+ position: relative;
1025
+ overflow: hidden;
1026
+ width: 100%;
1027
+ height: 100%;
1028
+ }
1018
1029
 
1019
1030
  // flex-direction: column;
1020
1031
 
@@ -72,7 +72,8 @@ export declare enum CMSToolIdTypes {
72
72
  TEXTELEMENTDOBLECLICK = "data-cms-tt-ee-dbl-clkd",
73
73
  menuWrapperV2 = "cms-menu-v2-wrapper",
74
74
  menuItemWrapper = "cms-menu-item-wrapper",
75
- animation = "flex-animation-element"
75
+ animation = "flex-animation-element",
76
+ categoryGroupsWrapper = "cms-category-groups-wrapper"
76
77
  }
77
78
  export declare enum CMSElementSelectors {
78
79
  iframeSelector = "iframe[data-title='iframe__playground']",
@@ -121,12 +122,12 @@ export declare enum CMSElementSelectors {
121
122
  cmsElementFullView = "div[data-cms-tool='cms-element-full-view']",
122
123
  productElement = "div[data-element-type='product']",
123
124
  productDetailsElement = "div[data-element-type='productDetails']",
125
+ categoryGroupsElement = "div[data-element-type='categoryGroups']",
124
126
  categoryDetailsElement = "div[data-element-type='categoryDetails']",
125
127
  categoryElement = "div[data-element-type='category']",
126
128
  brandElement = "div[data-element-type='brand']",
127
129
  subCategoryElement = "div[data-element-type='subCategory']",
128
130
  categoryWidgetElement = "div[data-element-type='categoryWidget']",
129
- tabsElement = "div[data-element-type='tabs']",
130
131
  tabsV2Element = "div[data-element-type='tabs-v2']",
131
132
  buyForWithTabsElement = "div[data-element-type='buyForWithTabs']",
132
133
  imageHotspot = "div[data-element-type='imageHotspot']",
@@ -337,6 +338,7 @@ export declare const CMSElementsListEnum: {
337
338
  WAREHOUSE_SELECTOR: string;
338
339
  USER_GROUP_SELECTOR: string;
339
340
  SHIPPING_PAYMENT: string;
341
+ CATEGORY_GROUPS: string;
340
342
  };
341
343
  export declare enum CMSResponsiveModeEnums {
342
344
  DESKTOP = "desktop",
package/dist/widget.scss CHANGED
@@ -122,3 +122,4 @@
122
122
  @use "./theme-classes.scss";
123
123
  @use "./shipping-payments.scss";
124
124
  @use "./emtpy-templates.scss";
125
+ @use "./category-groups-element.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.3.59",
3
+ "version": "0.3.61",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {