@sc-360-v2/storefront-cms-library 0.2.3 → 0.2.31

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.
@@ -2,9 +2,11 @@
2
2
  @use "sass:list";
3
3
 
4
4
  [data-div-type="element"] {
5
+ word-break: break-all;
5
6
  &[data-element-type="productName"],
6
7
  &[data-element-type="brandName"],
7
8
  &[data-element-type="categoryName"] {
9
+ word-break: break-all;
8
10
  // width: var(--_lt-wh);
9
11
  // height: var(--_lt-ht);
10
12
  // margin: var(--_lt-mn);
@@ -37,8 +39,10 @@
37
39
  font-weight: 600;
38
40
  color: rgba(75, 69, 70, 1);
39
41
  cursor: pointer;
42
+ word-break: break-all;
40
43
  }
41
44
  .text-element {
45
+ word-break: break-all;
42
46
  background-color: var(--_ctm-dn-bd-cr, var(--_tst-dn-bd-cr));
43
47
  padding: var(--_ctm-lt-pg, var(--_tst-lt-pg));
44
48
  display: flex;
@@ -66,4 +66,6 @@ export interface CMSSectionInterface {
66
66
  sort?: number;
67
67
  dataContentType?: string;
68
68
  currentVariation?: any;
69
+ sectionType?: string;
70
+ pageId?: string;
69
71
  }
@@ -52,7 +52,8 @@ export declare enum CMSToolIdTypes {
52
52
  categoryWrapper = "cms-category-wrapper",
53
53
  subCategoryWrapper = "cms-sub-category-wrapper",
54
54
  categoryWidgetWrapper = "cms-category-widget-wrapper",
55
- tabsWrapper = "cms-tabs-wrapper"
55
+ tabsWrapper = "cms-tabs-wrapper",
56
+ gridSwapBtn = "cms-grid-swap-btn"
56
57
  }
57
58
  export declare enum CMSElementSelectors {
58
59
  iframeSelector = "iframe[data-title='iframe__playground']",
@@ -106,7 +107,8 @@ export declare enum CMSElementSelectors {
106
107
  subCategoryElement = "div[data-element-type='subCategory']",
107
108
  categoryWidgetElement = "div[data-element-type='categoryWidget']",
108
109
  tabsElement = "div[data-element-type='tabs']",
109
- imageHotspot = "div[data-element-type='imageHotspot']"
110
+ imageHotspot = "div[data-element-type='imageHotspot']",
111
+ gridSwapBtn = "div[data-cms-tool='cms-grid-swap-btn']"
110
112
  }
111
113
  export declare enum CMSToolAttributes {
112
114
  id = "data-cms-tool",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.2.3",
3
+ "version": "0.2.31",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {