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

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.
Files changed (30) hide show
  1. package/README.md +12 -12
  2. package/dist/builder.js +1 -1
  3. package/dist/form-preview.scss +112 -0
  4. package/dist/globals.scss +94 -94
  5. package/dist/login.scss +6 -5
  6. package/dist/product-highlights.scss +6 -3
  7. package/dist/types/builder/elements/category-details/index.d.ts +2 -0
  8. package/dist/types/builder/elements/code/index.d.ts +2 -0
  9. package/dist/types/builder/elements/common.d.ts +2 -0
  10. package/dist/types/builder/elements/container/index.d.ts +2 -0
  11. package/dist/types/builder/elements/embed/index.d.ts +2 -0
  12. package/dist/types/builder/elements/grid/index.d.ts +2 -0
  13. package/dist/types/builder/elements/layouter/index.d.ts +2 -0
  14. package/dist/types/builder/elements/layouter-item/index.d.ts +2 -0
  15. package/dist/types/builder/elements/light-box-v2/index.d.ts +2 -0
  16. package/dist/types/builder/elements/lightbox/index.d.ts +2 -0
  17. package/dist/types/builder/elements/productDetails/index.d.ts +2 -0
  18. package/dist/types/builder/elements/repeater/index.d.ts +4 -0
  19. package/dist/types/builder/elements/section/index.d.ts +1 -0
  20. package/dist/types/builder/elements/stack/index.d.ts +2 -0
  21. package/dist/types/builder/enums/index.d.ts +20 -0
  22. package/dist/types/builder/tools/element-edit/contactUs.d.ts +1 -0
  23. package/dist/types/builder/tools/element-edit/productOptions.d.ts +15 -1
  24. package/dist/types/builder/tools/element-edit/repeater.d.ts +3 -1
  25. package/dist/types/builder/tools/element-edit/search.d.ts +2 -1
  26. package/dist/uom-selector.scss +6 -3
  27. package/dist/variant-picker.scss +6 -3
  28. package/dist/volume-pricing.scss +6 -4
  29. package/dist/widget.scss +1 -0
  30. package/package.json +1 -1
@@ -0,0 +1,112 @@
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+
4
+ /**************************************************************
5
+ * Preview Form Styles
6
+ **************************************************************/
7
+
8
+ $list: ("checkbox", "radio");
9
+
10
+ .preview-form-main {
11
+ --color-primary: #4f46e5;
12
+ --color-primary-hover: #4338ca;
13
+ --color-danger: #dc3545;
14
+ --color-danger-hover: #b02a37;
15
+ --color-success: #10b981;
16
+ --color-success-hover: #0c8a67;
17
+ --color-text: #111827;
18
+ --color-muted: #6b7280;
19
+ --color-border: #e5e7eb;
20
+ --font-family-base: "Inter", system-ui, -apple-system, sans-serif;
21
+ display: flex;
22
+ flex-direction: column;
23
+ gap: 1rem;
24
+ padding: 1.5rem;
25
+ background: #ffffff;
26
+ border: 1px solid var(--color-border);
27
+ border-radius: 6px;
28
+
29
+ input {
30
+ --_sp-vl: var(--_width-15);
31
+ @each $value in $list {
32
+ &:is([type="#{$value}"]) {
33
+ width: var(--_sp-vl);
34
+ height: var(--_sp-vl);
35
+ }
36
+ }
37
+ }
38
+
39
+ .preview-field {
40
+ display: flex;
41
+ flex-direction: column;
42
+ gap: 0.3rem;
43
+ }
44
+
45
+ .preview-label {
46
+ font-weight: 500;
47
+ }
48
+
49
+ .input {
50
+ background: #fff;
51
+ border: 1px solid var(--color-border);
52
+ border-radius: 4px;
53
+ padding: 0.4rem 0.6rem;
54
+ font-size: 0.95rem;
55
+ transition: border-color 0.2s ease;
56
+ color: var(--color-text);
57
+ width: 100%;
58
+ box-sizing: border-box;
59
+ }
60
+
61
+ .input:focus {
62
+ outline: none;
63
+ border-color: var(--color-primary);
64
+ }
65
+
66
+ .option {
67
+ display: flex;
68
+ gap: 5px;
69
+ align-items: center;
70
+ }
71
+ /* Select & Checkbox */
72
+ .select,
73
+ .radio,
74
+ .checkbox {
75
+ display: flex;
76
+ align-items: center;
77
+ gap: 1rem;
78
+ }
79
+
80
+ /* Error Messages */
81
+ .error {
82
+ color: var(--color-danger);
83
+ font-size: 0.85rem;
84
+ margin-top: 0.2rem;
85
+ }
86
+
87
+ /* Buttons */
88
+ .test-button {
89
+ background-color: var(--_primary-500);
90
+ color: #fff;
91
+ border: 1px solid vvar(--_primary-500);
92
+ border-radius: 4px;
93
+ padding: 0.5rem 1rem;
94
+ font-weight: 500;
95
+ cursor: pointer;
96
+ transition:
97
+ background-color 0.2s ease,
98
+ border-color 0.2s ease;
99
+ }
100
+
101
+ /* Animations */
102
+ @keyframes fadeIn {
103
+ from {
104
+ opacity: 0;
105
+ transform: translateY(-2%);
106
+ }
107
+ to {
108
+ opacity: 1;
109
+ transform: translateY(0);
110
+ }
111
+ }
112
+ }
package/dist/globals.scss CHANGED
@@ -1,94 +1,94 @@
1
- :root {
2
- --max-width: 1100px;
3
- --border-radius: 12px;
4
- --font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono",
5
- "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono",
6
- "Courier New", monospace;
7
-
8
- --foreground-rgb: 0, 0, 0;
9
- --background-start-rgb: 214, 219, 220;
10
- --background-end-rgb: 255, 255, 255;
11
-
12
- --primary-glow: conic-gradient(
13
- from 180deg at 50% 50%,
14
- #16abff33 0deg,
15
- #0885ff33 55deg,
16
- #54d6ff33 120deg,
17
- #0071ff33 160deg,
18
- transparent 360deg
19
- );
20
- --secondary-glow: radial-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
21
-
22
- --tile-start-rgb: 239, 245, 249;
23
- --tile-end-rgb: 228, 232, 233;
24
- --tile-border: conic-gradient(
25
- #00000080,
26
- #00000040,
27
- #00000030,
28
- #00000020,
29
- #00000010,
30
- #00000010,
31
- #00000080
32
- );
33
-
34
- --callout-rgb: 238, 240, 241;
35
- --callout-border-rgb: 172, 175, 176;
36
- --card-rgb: 180, 185, 188;
37
- --card-border-rgb: 131, 134, 135;
38
- }
39
-
40
- @media (prefers-color-scheme: dark) {
41
- :root {
42
- --foreground-rgb: 255, 255, 255;
43
- --background-start-rgb: 0, 0, 0;
44
- --background-end-rgb: 0, 0, 0;
45
-
46
- --primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0));
47
- --secondary-glow: linear-gradient(
48
- to bottom right,
49
- rgba(1, 65, 255, 0),
50
- rgba(1, 65, 255, 0),
51
- rgba(1, 65, 255, 0.3)
52
- );
53
-
54
- --tile-start-rgb: 2, 13, 46;
55
- --tile-end-rgb: 2, 5, 19;
56
- --tile-border: conic-gradient(
57
- #ffffff80,
58
- #ffffff40,
59
- #ffffff30,
60
- #ffffff20,
61
- #ffffff10,
62
- #ffffff10,
63
- #ffffff80
64
- );
65
-
66
- --callout-rgb: 20, 20, 20;
67
- --callout-border-rgb: 108, 108, 108;
68
- --card-rgb: 100, 100, 100;
69
- --card-border-rgb: 200, 200, 200;
70
- }
71
- }
72
-
73
- * {
74
- box-sizing: border-box;
75
- padding: 0;
76
- margin: 0;
77
- }
78
-
79
- html,
80
- body {
81
- max-width: 100vw;
82
- overflow-x: hidden;
83
- }
84
-
85
- a {
86
- color: inherit;
87
- text-decoration: none;
88
- }
89
-
90
- @media (prefers-color-scheme: dark) {
91
- html {
92
- color-scheme: dark;
93
- }
94
- }
1
+ :root {
2
+ --max-width: 1100px;
3
+ --border-radius: 12px;
4
+ --font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono",
5
+ "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono",
6
+ "Courier New", monospace;
7
+
8
+ --foreground-rgb: 0, 0, 0;
9
+ --background-start-rgb: 214, 219, 220;
10
+ --background-end-rgb: 255, 255, 255;
11
+
12
+ --primary-glow: conic-gradient(
13
+ from 180deg at 50% 50%,
14
+ #16abff33 0deg,
15
+ #0885ff33 55deg,
16
+ #54d6ff33 120deg,
17
+ #0071ff33 160deg,
18
+ transparent 360deg
19
+ );
20
+ --secondary-glow: radial-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
21
+
22
+ --tile-start-rgb: 239, 245, 249;
23
+ --tile-end-rgb: 228, 232, 233;
24
+ --tile-border: conic-gradient(
25
+ #00000080,
26
+ #00000040,
27
+ #00000030,
28
+ #00000020,
29
+ #00000010,
30
+ #00000010,
31
+ #00000080
32
+ );
33
+
34
+ --callout-rgb: 238, 240, 241;
35
+ --callout-border-rgb: 172, 175, 176;
36
+ --card-rgb: 180, 185, 188;
37
+ --card-border-rgb: 131, 134, 135;
38
+ }
39
+
40
+ @media (prefers-color-scheme: dark) {
41
+ :root {
42
+ --foreground-rgb: 255, 255, 255;
43
+ --background-start-rgb: 0, 0, 0;
44
+ --background-end-rgb: 0, 0, 0;
45
+
46
+ --primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0));
47
+ --secondary-glow: linear-gradient(
48
+ to bottom right,
49
+ rgba(1, 65, 255, 0),
50
+ rgba(1, 65, 255, 0),
51
+ rgba(1, 65, 255, 0.3)
52
+ );
53
+
54
+ --tile-start-rgb: 2, 13, 46;
55
+ --tile-end-rgb: 2, 5, 19;
56
+ --tile-border: conic-gradient(
57
+ #ffffff80,
58
+ #ffffff40,
59
+ #ffffff30,
60
+ #ffffff20,
61
+ #ffffff10,
62
+ #ffffff10,
63
+ #ffffff80
64
+ );
65
+
66
+ --callout-rgb: 20, 20, 20;
67
+ --callout-border-rgb: 108, 108, 108;
68
+ --card-rgb: 100, 100, 100;
69
+ --card-border-rgb: 200, 200, 200;
70
+ }
71
+ }
72
+
73
+ * {
74
+ box-sizing: border-box;
75
+ padding: 0;
76
+ margin: 0;
77
+ }
78
+
79
+ html,
80
+ body {
81
+ max-width: 100vw;
82
+ overflow-x: hidden;
83
+ }
84
+
85
+ a {
86
+ color: inherit;
87
+ text-decoration: none;
88
+ }
89
+
90
+ @media (prefers-color-scheme: dark) {
91
+ html {
92
+ color-scheme: dark;
93
+ }
94
+ }
package/dist/login.scss CHANGED
@@ -3,17 +3,18 @@
3
3
 
4
4
  [data-div-type="element"] {
5
5
  &[data-element-type="login"],
6
- &[data-element-type="resetPassword"] {
6
+ &[data-element-type="resetPassword"],
7
+ &[data-element-type="forgotPassword"] {
7
8
  width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
8
- height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
9
+ //height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) !important;
9
10
  margin: var(--_ctm-lt-mn, --_tst-lt-mn);
10
11
  aspect-ratio: 1 / var(--_sf-aspect-ratio);
11
12
  position: relative;
12
13
 
13
14
  & > .wrapper {
14
- display: flex;
15
- align-items: center;
16
- justify-content: center;
15
+ // display: flex;
16
+ // align-items: center;
17
+ // justify-content: center;
17
18
  width: 100%;
18
19
  height: 100%;
19
20
  }
@@ -39,10 +39,13 @@
39
39
  }
40
40
  }
41
41
  .text-element {
42
- background: #6d96e4;
43
- padding: 10px;
42
+ color: var(--Gray-900, #101828);
43
+ font-family: "Hanken Grotesk";
44
+ font-size: 20px;
45
+ font-style: normal;
44
46
  font-weight: 600;
45
- color: rgba(75, 69, 70, 1);
47
+ line-height: 150%; /* 30px */
48
+ letter-spacing: -0.4px;
46
49
  }
47
50
  .highlights__container {
48
51
  padding: var(--_ctm-lt-pg);
@@ -65,4 +65,6 @@ export interface CMSCategoryDetailInterface {
65
65
  sort?: number;
66
66
  dataContentType?: string;
67
67
  isMaximized?: boolean;
68
+ parentKey?: any;
69
+ childIdsV2?: any[];
68
70
  }
@@ -56,4 +56,6 @@ export interface CMSCodeInterface {
56
56
  [key: string]: CodeVariationInterface;
57
57
  };
58
58
  styles?: CodeStyleProperties;
59
+ parentKey?: any;
60
+ childIdsV2?: any[];
59
61
  }
@@ -27,4 +27,6 @@ export interface CMSElementInterface {
27
27
  controls?: any;
28
28
  sort?: number;
29
29
  deviceVisibility?: CMSDeviceVisibilityOptionInterface;
30
+ parentKey?: any;
31
+ childIdsV2?: any[];
30
32
  }
@@ -40,4 +40,6 @@ export interface ContainerElementInterface {
40
40
  childIds: any[];
41
41
  previewImage?: string;
42
42
  isMaximized?: boolean;
43
+ parentKey?: any;
44
+ childIdsV2?: any[];
43
45
  }
@@ -56,4 +56,6 @@ export interface CMSEmbedInterface {
56
56
  [key: string]: EmbedVariationInterface;
57
57
  };
58
58
  styles?: EmbedStyleProperties;
59
+ parentKey?: any;
60
+ childIdsV2?: any[];
59
61
  }
@@ -56,6 +56,8 @@ export interface CMSGridInterface {
56
56
  gtrroworder?: number;
57
57
  type?: SizeTypeValue;
58
58
  uniqueKey?: string;
59
+ parentKey?: any;
60
+ childIdsV2?: any[];
59
61
  childIds: any[];
60
62
  }
61
63
  export interface CMSGridsContainer {
@@ -38,4 +38,6 @@ export interface LayouterInterface {
38
38
  uniqueKey?: any;
39
39
  previewImage?: string;
40
40
  isMaximized?: boolean;
41
+ parentKey?: any;
42
+ childIdsV2?: any[];
41
43
  }
@@ -36,4 +36,6 @@ export interface LayouterItemInterface {
36
36
  responsiveBehaviour: ResponsiveBehaviourTypes;
37
37
  childIds: any[];
38
38
  uniqueKey?: any;
39
+ parentKey?: any;
40
+ childIdsV2?: any[];
39
41
  }
@@ -42,4 +42,6 @@ export interface LightBoxV2ElementInterface {
42
42
  previewImage?: string;
43
43
  displayName: string;
44
44
  deviceVisibility?: CMSDeviceVisibilityOptionInterface;
45
+ parentKey?: any;
46
+ childIdsV2?: any[];
45
47
  }
@@ -40,4 +40,6 @@ export interface CMSLightboxInterface {
40
40
  childIds: any[];
41
41
  previewImage?: string;
42
42
  isMaximized?: boolean;
43
+ parentKey?: any;
44
+ childIdsV2?: any[];
43
45
  }
@@ -65,4 +65,6 @@ export interface CMSProductDetailInterface {
65
65
  sort?: number;
66
66
  dataContentType?: string;
67
67
  isMaximized?: boolean;
68
+ parentKey?: any;
69
+ childIdsV2?: any[];
68
70
  }
@@ -40,6 +40,8 @@ export interface RepeaterElementInterface {
40
40
  childIds: any[];
41
41
  previewImage?: string;
42
42
  isMaximized?: boolean;
43
+ parentKey?: any;
44
+ childIdsV2?: any[];
43
45
  }
44
46
  export interface RepeaterItemElementAttributes {
45
47
  id?: string | number;
@@ -55,6 +57,8 @@ export interface RepeaterItemElementAttributes {
55
57
  children: any;
56
58
  childIds: any[];
57
59
  previewImage?: string;
60
+ parentKey?: any;
61
+ childIdsV2?: any[];
58
62
  }
59
63
  export interface CMSRepeaterChildrenContainer {
60
64
  [key: string]: RepeaterItemElementAttributes;
@@ -54,6 +54,7 @@ export interface SectionVariationInterface {
54
54
  default?: boolean;
55
55
  uniqueKey?: any;
56
56
  selfKey?: any;
57
+ childIdsV2?: any[];
57
58
  }
58
59
  export interface CMSSectionInterface {
59
60
  id?: string | number;
@@ -34,4 +34,6 @@ export interface StackElementInterface {
34
34
  children: any;
35
35
  childIds: any[];
36
36
  previewImage?: string;
37
+ parentKey?: any;
38
+ childIdsV2?: any[];
37
39
  }
@@ -168,6 +168,20 @@ export declare enum CMSStackDisplayTypeEnum {
168
168
  HORIZONTAL = "horizontal",
169
169
  VERTICAL = "vertical"
170
170
  }
171
+ export declare enum FontWeightEnum {
172
+ THIN = 100,
173
+ EXTRA_LIGHT = 200,
174
+ LIGHT = 300,
175
+ REGULAR = 400,
176
+ MEDIUM = 500,
177
+ SEMI_BOLD = 600,
178
+ BOLD_NUMERIC = "bold",
179
+ EXTRA_BOLD = 800,
180
+ BLACK = 900,
181
+ NORMAL = "normal",
182
+ BOLDER = "bolder",
183
+ LIGHTER = "lighter"
184
+ }
171
185
  export declare const CMSElementsListEnum: {
172
186
  BUTTON: string;
173
187
  BUTTON_THEME: string;
@@ -255,8 +269,10 @@ export declare const CMSElementsListEnum: {
255
269
  CONTACTUS: string;
256
270
  LOGIN: string;
257
271
  RESET_PASSWORD: string;
272
+ FORGOT_PASSWORD: string;
258
273
  BREADCRUMBS: string;
259
274
  ICON_LIBRARY: string;
275
+ FORM_PREVIEW: string;
260
276
  };
261
277
  export declare enum CMSResponsiveModeEnums {
262
278
  DESKTOP = "desktop",
@@ -312,3 +328,7 @@ export declare enum CMSCustomEventsListEnums {
312
328
  UOMSELECTOR = "uomSelectorV1",
313
329
  TEXTELEMENTCODEVIEW = "textElementCodeView"
314
330
  }
331
+ export declare enum FlexAppVersionEnums {
332
+ NESTEDJSON = 1,
333
+ FLATJSON = 2
334
+ }
@@ -3,6 +3,7 @@ export interface ContactUsEditPopupInterface extends CMSElementEditPopupInterfac
3
3
  }
4
4
  interface selfLayoutInterface {
5
5
  selectorKey: string;
6
+ formData: any;
6
7
  }
7
8
  export interface selfDesignInterface {
8
9
  selectorKey: string;
@@ -19,6 +19,7 @@ interface selfLayoutInterface {
19
19
  optionItemPadding: CMSIBCommonInterface;
20
20
  swatchMaxItemsToDisplay: CMSIBCommonInterface;
21
21
  swatchOverflowItems: CMSIBCommonInterface;
22
+ swatchImageType: CMSIBCommonInterface;
22
23
  singleSelectDisplayValues: CMSIBCommonInterface;
23
24
  singleSelectItemSpacing: CMSIBCommonInterface;
24
25
  singleSelectItemPadding: CMSIBCommonInterface;
@@ -31,6 +32,18 @@ interface selfLayoutInterface {
31
32
  swatchDropdownListItemSpacing: CMSIBCommonInterface;
32
33
  swatchDropdownListItemPadding: CMSIBCommonInterface;
33
34
  swatchDividerBetweenLIstItems: CMSIBCommonInterface;
35
+ dropdownDisplayStyle: {
36
+ selectorKey: string;
37
+ dropdownOptionsSpacing: CMSIBCommonInterface;
38
+ dropdownOptionsPadding: CMSIBCommonInterface;
39
+ dropdownStyle: CMSIBCommonInterface;
40
+ optionAndListSpacing: CMSIBCommonInterface;
41
+ dropdownListItemSpacing: CMSIBCommonInterface;
42
+ dropdownListItemPadding: CMSIBCommonInterface;
43
+ dividerBetweenListItems: CMSIBCommonInterface;
44
+ maxItemsToDisplay: CMSIBCommonInterface;
45
+ overflowItems: CMSIBCommonInterface;
46
+ };
34
47
  }
35
48
  export interface selfDesignInterface {
36
49
  selectorKey: string;
@@ -63,7 +76,8 @@ export declare enum SelectorKeysEnum {
63
76
  DEFAULT_STATE = "default",
64
77
  SELECTED_STATE = "selected",
65
78
  SWATCH_OPTION_VALUE_STYLE = "swatchOptionValueStyle",
66
- SINGLE_OPTION_VALUE_STYLE = "singleOptionValueStyle"
79
+ SINGLE_OPTION_VALUE_STYLE = "singleOptionValueStyle",
80
+ DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle"
67
81
  }
68
82
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
69
83
  export {};
@@ -46,6 +46,7 @@ interface selfLayoutInterface {
46
46
  autoplayDuration: CMSIBSizeInterface;
47
47
  stopOnMouseEnter: CMSIBCommonInterface;
48
48
  stopOnInteraction: CMSIBCommonInterface;
49
+ displayAds: CMSIBCommonInterface;
49
50
  }
50
51
  export interface selfDesignInterface {
51
52
  selectorKey: string;
@@ -53,7 +54,8 @@ export interface selfDesignInterface {
53
54
  export declare enum selfSelectorKeysEnum {
54
55
  LAYOUT = "layout",
55
56
  DESIGN = "design",
56
- DATA_CONNECTOR = "dataConnector"
57
+ DATA_CONNECTOR = "dataConnector",
58
+ CONTENT = "content"
57
59
  }
58
60
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
59
61
  export {};
@@ -50,7 +50,8 @@ export declare enum searchSelectorKeysEnum {
50
50
  SEARCHBAR = "searchBar",
51
51
  PLACEHOLDER_TEXT = "placeholderText",
52
52
  SEARCH_ICON = "searchIcon",
53
- MINI_CART_TEXT = "miniSearchText"
53
+ MINI_CART_TEXT = "miniSearchText",
54
+ DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle"
54
55
  }
55
56
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
56
57
  export {};
@@ -44,10 +44,13 @@
44
44
  }
45
45
  }
46
46
  .text-element {
47
- background: #6d96e4;
48
- padding: 10px;
47
+ color: var(--Gray-900, #101828);
48
+ font-family: "Hanken Grotesk";
49
+ font-size: 20px;
50
+ font-style: normal;
49
51
  font-weight: 600;
50
- color: rgba(75, 69, 70, 1);
52
+ line-height: 150%; /* 30px */
53
+ letter-spacing: -0.4px;
51
54
  }
52
55
  .uom__container {
53
56
  padding: var(--_ctm-lt-pg);
@@ -29,10 +29,13 @@ $minWidth: 70px;
29
29
  --_show-shadow: none;
30
30
  }
31
31
  .text-element {
32
- background: #6d96e4;
33
- padding: 10px;
32
+ color: var(--Gray-900, #101828);
33
+ // font-family: "Hanken Grotesk";
34
+ font-size: 20px;
35
+ font-style: normal;
34
36
  font-weight: 600;
35
- color: rgba(75, 69, 70, 1);
37
+ line-height: 150%; /* 30px */
38
+ letter-spacing: -0.4px;
36
39
  }
37
40
  .is__combination_avail {
38
41
  color: red;
@@ -25,11 +25,13 @@
25
25
  --_show-shadow: none;
26
26
  }
27
27
  .text-element {
28
- background: #6d96e4;
29
- padding: 10px;
28
+ color: var(--Gray-900, #101828);
29
+ font-family: "Hanken Grotesk";
30
+ font-size: 20px;
31
+ font-style: normal;
30
32
  font-weight: 600;
31
- color: rgba(75, 69, 70, 1);
32
- // min-width: 250px;
33
+ line-height: 150%; /* 30px */
34
+ letter-spacing: -0.4px;
33
35
  }
34
36
  .volume__container {
35
37
  padding: var(--_ctm-lt-pg);
package/dist/widget.scss CHANGED
@@ -70,3 +70,4 @@
70
70
  @use "./login.scss";
71
71
  @use "./breadcrumbs.scss";
72
72
  @use "./icon-library.scss";
73
+ @use "./form-preview.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.2.61",
3
+ "version": "0.2.63",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {