@soma-vertical-web/multi-lib 0.0.58 → 0.0.60
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/index.js +9 -9
- package/index.mjs +1624 -1655
- package/package.json +1 -1
- package/types/constants.d.ts +21 -1
package/package.json
CHANGED
package/types/constants.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Size } from '@soma-vertical-web/core-components/src/lib/TextField/inter
|
|
|
2
2
|
import { EditorState } from 'draft-js';
|
|
3
3
|
import { CSSProperties } from 'react';
|
|
4
4
|
import { FACET_CROSS_SELLING_MAP, ObjectFitsDefault, PLP_FILTERS_SORT } from '../constants';
|
|
5
|
+
import { Sizes, VariantsExtended } from '@soma-vertical-web/core-components/src/lib/Button/interfaces';
|
|
5
6
|
|
|
6
7
|
export interface CrossSellingFacet {
|
|
7
8
|
key: keyof typeof FACET_CROSS_SELLING_MAP;
|
|
@@ -48,7 +49,26 @@ export type ITEMS_PER_PAGEType = number;
|
|
|
48
49
|
export type LEGAL_INFORMATION_TEXTType = string;
|
|
49
50
|
export type MAIN_IMAGEType = string;
|
|
50
51
|
export type MENU_MOB_BTN_SIDEType = 'left' | 'right';
|
|
51
|
-
export type MENU_INFOType =
|
|
52
|
+
export type MENU_INFOType = {
|
|
53
|
+
login: {
|
|
54
|
+
button_text: string;
|
|
55
|
+
button_icon: string;
|
|
56
|
+
};
|
|
57
|
+
navigation_bar: {
|
|
58
|
+
config: {
|
|
59
|
+
button_variant: VariantsExtended;
|
|
60
|
+
button_size: Sizes;
|
|
61
|
+
};
|
|
62
|
+
items: {
|
|
63
|
+
button_text: string;
|
|
64
|
+
button_icon: string;
|
|
65
|
+
href?: string;
|
|
66
|
+
openUserMenu?: boolean;
|
|
67
|
+
openCart?: boolean;
|
|
68
|
+
eventContent?: 'user_menu' | 'minicart' | 'store' | string;
|
|
69
|
+
}[];
|
|
70
|
+
};
|
|
71
|
+
};
|
|
52
72
|
export type MENU_NAVIGATION_BAR_ALLOWEDType = boolean;
|
|
53
73
|
export type MESSAGE_CASHBACKType = {
|
|
54
74
|
title: string;
|