vviinn-widgets 2.2.1 → 2.3.1

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 (100) hide show
  1. package/dist/cjs/{app-globals-d0251be8.js → app-globals-6b5da080.js} +1 -1
  2. package/dist/cjs/cropper-handler.cjs.entry.js +1 -1
  3. package/dist/cjs/{customized-slots-14b77e4a.js → customized-slots-8bc78ad4.js} +1 -1
  4. package/dist/cjs/highlight-box_22.cjs.entry.js +4 -4
  5. package/dist/cjs/{imageSearch.store-d9ed1a5b.js → imageSearch.store-042e9f45.js} +1 -1
  6. package/dist/cjs/{index-141137b2.js → index-553c2b4f.js} +1 -1
  7. package/dist/cjs/{index-a5e15a0c.js → index-5b9a60ac.js} +7 -9
  8. package/dist/cjs/loader.cjs.js +3 -3
  9. package/dist/cjs/{vviinn-carousel_5.cjs.entry.js → vviinn-carousel_3.cjs.entry.js} +6 -92
  10. package/dist/cjs/vviinn-error.cjs.entry.js +1 -1
  11. package/dist/cjs/vviinn-preloader.cjs.entry.js +2 -2
  12. package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +63 -0
  13. package/dist/cjs/vviinn-vpr-button.cjs.entry.js +44 -0
  14. package/dist/cjs/vviinn-vps-button.cjs.entry.js +4 -4
  15. package/dist/cjs/vviinn-vps-widget.cjs.entry.js +3 -3
  16. package/dist/cjs/vviinn-widgets.cjs.js +3 -3
  17. package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +4 -0
  18. package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +6 -3
  19. package/dist/collection/components/vviinn-icons/index.js +6 -8
  20. package/dist/collection/components/vviinn-product-card/stories/args.js +73 -0
  21. package/dist/collection/components/vviinn-product-card/stories/decorators.js +51 -0
  22. package/dist/collection/components/vviinn-product-card/stories/vviinn-product-card.stories.js +105 -0
  23. package/dist/collection/components/vviinn-vpr-button/stories/args.js +207 -0
  24. package/dist/collection/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.js +89 -0
  25. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +11 -4
  26. package/dist/collection/components/vviinn-vpr-widget/stories/args.js +190 -0
  27. package/dist/collection/components/vviinn-vpr-widget/stories/decorators.js +29 -0
  28. package/dist/collection/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.js +212 -0
  29. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +1 -0
  30. package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +31 -0
  31. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.css +3 -0
  32. package/dist/collection/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.js +33 -0
  33. package/dist/esm/{app-globals-b6113170.js → app-globals-90d99f95.js} +1 -1
  34. package/dist/esm/cropper-handler.entry.js +1 -1
  35. package/dist/esm/{customized-slots-a952fb80.js → customized-slots-65b2467d.js} +1 -1
  36. package/dist/esm/highlight-box_22.entry.js +4 -4
  37. package/dist/esm/{imageSearch.store-4ca31230.js → imageSearch.store-f35e14f8.js} +1 -1
  38. package/dist/esm/{index-017f18de.js → index-ac2e3b9d.js} +8 -10
  39. package/dist/esm/{index-3e85e294.js → index-d7c7df1c.js} +1 -1
  40. package/dist/esm/loader.js +3 -3
  41. package/dist/esm/{vviinn-carousel_5.entry.js → vviinn-carousel_3.entry.js} +7 -91
  42. package/dist/esm/vviinn-error.entry.js +1 -1
  43. package/dist/esm/vviinn-preloader.entry.js +2 -2
  44. package/dist/esm/vviinn-recommendations-sidebar.entry.js +59 -0
  45. package/dist/esm/vviinn-vpr-button.entry.js +40 -0
  46. package/dist/esm/vviinn-vps-button.entry.js +4 -4
  47. package/dist/esm/vviinn-vps-widget.entry.js +3 -3
  48. package/dist/esm/vviinn-widgets.js +3 -3
  49. package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +3 -0
  50. package/dist/types/components/vviinn-product-card/stories/args.d.ts +73 -0
  51. package/dist/types/components/vviinn-product-card/stories/decorators.d.ts +1 -0
  52. package/dist/types/components/vviinn-product-card/stories/vviinn-product-card.stories.d.ts +80 -0
  53. package/dist/types/components/vviinn-vpr-button/stories/args.d.ts +207 -0
  54. package/dist/types/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.d.ts +214 -0
  55. package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +3 -0
  56. package/dist/types/components/vviinn-vpr-widget/stories/args.d.ts +198 -0
  57. package/dist/types/components/vviinn-vpr-widget/stories/decorators.d.ts +2 -0
  58. package/dist/types/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.d.ts +141 -0
  59. package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +1 -0
  60. package/dist/types/components/vviinn-vps-button/stories/vviinn-vps-button.stories.d.ts +12 -0
  61. package/dist/types/components/{vviinn-vpr-button/stories/kek.stories.d.ts → vviinn-vps-widget/stories/vviinn-vps-widget.stories.d.ts} +5 -2
  62. package/{www/build/p-68900093.entry.js → dist/vviinn-widgets/p-1c141479.entry.js} +1 -1
  63. package/dist/vviinn-widgets/{p-62a1b042.entry.js → p-320844ea.entry.js} +1 -1
  64. package/dist/vviinn-widgets/p-4530ca32.entry.js +1 -0
  65. package/dist/vviinn-widgets/p-55491d9b.js +1 -0
  66. package/dist/vviinn-widgets/p-6239a782.entry.js +1 -0
  67. package/dist/vviinn-widgets/{p-d7894eaf.js → p-679ea2ce.js} +1 -1
  68. package/dist/vviinn-widgets/{p-95e53d99.entry.js → p-757849fd.entry.js} +1 -1
  69. package/{www/build/p-3da18d7f.js → dist/vviinn-widgets/p-80f0d4e0.js} +1 -1
  70. package/dist/vviinn-widgets/{p-6c4c240d.entry.js → p-935b4f49.entry.js} +1 -1
  71. package/dist/vviinn-widgets/p-a5b69a48.entry.js +1 -0
  72. package/dist/vviinn-widgets/{p-0ed1ef7e.entry.js → p-b0243e84.entry.js} +1 -1
  73. package/dist/vviinn-widgets/{p-db0be4cd.js → p-b4b46a70.js} +1 -1
  74. package/dist/vviinn-widgets/{p-9fee20e7.entry.js → p-e362fa80.entry.js} +1 -1
  75. package/dist/vviinn-widgets/{p-16e49514.js → p-e882fbeb.js} +1 -1
  76. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  77. package/package.json +1 -1
  78. package/{dist/vviinn-widgets/p-68900093.entry.js → www/build/p-1c141479.entry.js} +1 -1
  79. package/www/build/{p-62a1b042.entry.js → p-320844ea.entry.js} +1 -1
  80. package/www/build/p-4379b1c2.js +1 -0
  81. package/www/build/p-4530ca32.entry.js +1 -0
  82. package/www/build/p-55491d9b.js +1 -0
  83. package/www/build/p-6239a782.entry.js +1 -0
  84. package/www/build/{p-d7894eaf.js → p-679ea2ce.js} +1 -1
  85. package/www/build/{p-95e53d99.entry.js → p-757849fd.entry.js} +1 -1
  86. package/{dist/vviinn-widgets/p-3da18d7f.js → www/build/p-80f0d4e0.js} +1 -1
  87. package/www/build/{p-6c4c240d.entry.js → p-935b4f49.entry.js} +1 -1
  88. package/www/build/p-a5b69a48.entry.js +1 -0
  89. package/www/build/{p-0ed1ef7e.entry.js → p-b0243e84.entry.js} +1 -1
  90. package/www/build/{p-db0be4cd.js → p-b4b46a70.js} +1 -1
  91. package/www/build/{p-9fee20e7.entry.js → p-e362fa80.entry.js} +1 -1
  92. package/www/build/{p-16e49514.js → p-e882fbeb.js} +1 -1
  93. package/www/build/vviinn-widgets.esm.js +1 -1
  94. package/www/index.html +4 -74
  95. package/dist/collection/components/vviinn-vpr-button/stories/kek.stories.js +0 -18
  96. package/dist/vviinn-widgets/p-eb15116d.entry.js +0 -1
  97. package/dist/vviinn-widgets/p-f00fddbb.js +0 -1
  98. package/www/build/p-1cc0cdfd.js +0 -1
  99. package/www/build/p-eb15116d.entry.js +0 -1
  100. package/www/build/p-f00fddbb.js +0 -1
@@ -0,0 +1,207 @@
1
+ export declare const argTypes: {
2
+ buttonSize: {
3
+ name: string;
4
+ options: string[];
5
+ mapping: {
6
+ Default: number;
7
+ Small: number;
8
+ Large: number;
9
+ };
10
+ control: {
11
+ type: string;
12
+ labels: {
13
+ Default: string;
14
+ Small: string;
15
+ Large: string;
16
+ };
17
+ };
18
+ defaultValue: string;
19
+ };
20
+ iconColor: {
21
+ name: string;
22
+ control: {
23
+ type: string;
24
+ };
25
+ defaultValue: string;
26
+ };
27
+ backgroundColor: {
28
+ name: string;
29
+ control: {
30
+ type: string;
31
+ };
32
+ defaultValue: string;
33
+ };
34
+ backgroundOpacity: {
35
+ name: string;
36
+ control: {
37
+ type: string;
38
+ };
39
+ defaultValue: number;
40
+ };
41
+ radius: {
42
+ name: string;
43
+ control: {
44
+ type: string;
45
+ };
46
+ defaultValue: number;
47
+ };
48
+ border: {
49
+ name: string;
50
+ control: {
51
+ type: string;
52
+ };
53
+ defaultValue: boolean;
54
+ };
55
+ borderColor: {
56
+ name: string;
57
+ control: {
58
+ type: string;
59
+ };
60
+ defaultValue: string;
61
+ };
62
+ shadow: {
63
+ name: string;
64
+ control: {
65
+ type: string;
66
+ };
67
+ defaultValue: boolean;
68
+ };
69
+ position: {
70
+ name: string;
71
+ options: string[];
72
+ control: {
73
+ type: string;
74
+ labels: {
75
+ bottom: string;
76
+ right: string;
77
+ };
78
+ };
79
+ defaultValue: string;
80
+ };
81
+ backdropOpacity: {
82
+ name: string;
83
+ control: {
84
+ type: string;
85
+ };
86
+ defaultValue: number;
87
+ };
88
+ sidebarBorderRadius: {
89
+ name: string;
90
+ control: {
91
+ type: string;
92
+ };
93
+ defaultValue: number;
94
+ };
95
+ showSourceImage: {
96
+ name: string;
97
+ control: {
98
+ type: string;
99
+ };
100
+ defaultValue: boolean;
101
+ };
102
+ sourceImageSize: {
103
+ name: string;
104
+ options: string[];
105
+ mapping: {
106
+ Default: number;
107
+ Small: number;
108
+ Large: number;
109
+ };
110
+ control: {
111
+ type: string;
112
+ labels: {
113
+ Default: string;
114
+ Small: string;
115
+ Large: string;
116
+ };
117
+ };
118
+ defaultValue: string;
119
+ };
120
+ sourceImageBorder: {
121
+ name: string;
122
+ control: {
123
+ type: string;
124
+ };
125
+ defaultValue: boolean;
126
+ };
127
+ sourceImageBorderColor: {
128
+ name: string;
129
+ control: {
130
+ type: string;
131
+ };
132
+ defaultValue: string;
133
+ };
134
+ sourceImageShadow: {
135
+ name: string;
136
+ control: {
137
+ type: string;
138
+ };
139
+ defaultValue: boolean;
140
+ };
141
+ font: {
142
+ name: string;
143
+ options: string[];
144
+ mapping: {
145
+ Inter: string;
146
+ System: string;
147
+ Arial: string;
148
+ };
149
+ control: {
150
+ type: string;
151
+ labels: {
152
+ Inter: string;
153
+ System: string;
154
+ Arial: string;
155
+ };
156
+ };
157
+ defaultValue: string;
158
+ };
159
+ primaryTextColor: {
160
+ name: string;
161
+ control: {
162
+ type: string;
163
+ };
164
+ defaultValue: string;
165
+ };
166
+ secondaryTextColor: {
167
+ name: string;
168
+ control: {
169
+ type: string;
170
+ };
171
+ defaultValue: string;
172
+ };
173
+ modalTitle: {
174
+ name: string;
175
+ control: {
176
+ type: string;
177
+ };
178
+ defaultValue: boolean;
179
+ };
180
+ sidebarTitle: {
181
+ name: string;
182
+ control: {
183
+ type: string;
184
+ };
185
+ defaultValue: string;
186
+ };
187
+ modalTitleFontSize: {
188
+ name: string;
189
+ control: {
190
+ type: string;
191
+ };
192
+ defaultValue: number;
193
+ };
194
+ modalScrollbar: {
195
+ name: string;
196
+ control: {
197
+ type: string;
198
+ };
199
+ defaultValue: boolean;
200
+ };
201
+ productId: {
202
+ name: string;
203
+ };
204
+ token: {
205
+ name: string;
206
+ };
207
+ };
@@ -0,0 +1,214 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: string;
4
+ decorators: ((...args: any) => any)[];
5
+ argTypes: {
6
+ buttonSize: {
7
+ name: string;
8
+ options: string[];
9
+ mapping: {
10
+ Default: number;
11
+ Small: number;
12
+ Large: number;
13
+ };
14
+ control: {
15
+ type: string;
16
+ labels: {
17
+ Default: string;
18
+ Small: string;
19
+ Large: string;
20
+ };
21
+ };
22
+ defaultValue: string;
23
+ };
24
+ iconColor: {
25
+ name: string;
26
+ control: {
27
+ type: string;
28
+ };
29
+ defaultValue: string;
30
+ };
31
+ backgroundColor: {
32
+ name: string;
33
+ control: {
34
+ type: string;
35
+ };
36
+ defaultValue: string;
37
+ };
38
+ backgroundOpacity: {
39
+ name: string;
40
+ control: {
41
+ type: string;
42
+ };
43
+ defaultValue: number;
44
+ };
45
+ radius: {
46
+ name: string;
47
+ control: {
48
+ type: string;
49
+ };
50
+ defaultValue: number;
51
+ };
52
+ border: {
53
+ name: string;
54
+ control: {
55
+ type: string;
56
+ };
57
+ defaultValue: boolean;
58
+ };
59
+ borderColor: {
60
+ name: string;
61
+ control: {
62
+ type: string;
63
+ };
64
+ defaultValue: string;
65
+ };
66
+ shadow: {
67
+ name: string;
68
+ control: {
69
+ type: string;
70
+ };
71
+ defaultValue: boolean;
72
+ };
73
+ position: {
74
+ name: string;
75
+ options: string[];
76
+ control: {
77
+ type: string;
78
+ labels: {
79
+ bottom: string;
80
+ right: string;
81
+ };
82
+ };
83
+ defaultValue: string;
84
+ };
85
+ backdropOpacity: {
86
+ name: string;
87
+ control: {
88
+ type: string;
89
+ };
90
+ defaultValue: number;
91
+ };
92
+ sidebarBorderRadius: {
93
+ name: string;
94
+ control: {
95
+ type: string;
96
+ };
97
+ defaultValue: number;
98
+ };
99
+ showSourceImage: {
100
+ name: string;
101
+ control: {
102
+ type: string;
103
+ };
104
+ defaultValue: boolean;
105
+ };
106
+ sourceImageSize: {
107
+ name: string;
108
+ options: string[];
109
+ mapping: {
110
+ Default: number;
111
+ Small: number;
112
+ Large: number;
113
+ };
114
+ control: {
115
+ type: string;
116
+ labels: {
117
+ Default: string;
118
+ Small: string;
119
+ Large: string;
120
+ };
121
+ };
122
+ defaultValue: string;
123
+ };
124
+ sourceImageBorder: {
125
+ name: string;
126
+ control: {
127
+ type: string;
128
+ };
129
+ defaultValue: boolean;
130
+ };
131
+ sourceImageBorderColor: {
132
+ name: string;
133
+ control: {
134
+ type: string;
135
+ };
136
+ defaultValue: string;
137
+ };
138
+ sourceImageShadow: {
139
+ name: string;
140
+ control: {
141
+ type: string;
142
+ };
143
+ defaultValue: boolean;
144
+ };
145
+ font: {
146
+ name: string;
147
+ options: string[];
148
+ mapping: {
149
+ Inter: string;
150
+ System: string;
151
+ Arial: string;
152
+ };
153
+ control: {
154
+ type: string;
155
+ labels: {
156
+ Inter: string;
157
+ System: string;
158
+ Arial: string;
159
+ };
160
+ };
161
+ defaultValue: string;
162
+ };
163
+ primaryTextColor: {
164
+ name: string;
165
+ control: {
166
+ type: string;
167
+ };
168
+ defaultValue: string;
169
+ };
170
+ secondaryTextColor: {
171
+ name: string;
172
+ control: {
173
+ type: string;
174
+ };
175
+ defaultValue: string;
176
+ };
177
+ modalTitle: {
178
+ name: string;
179
+ control: {
180
+ type: string;
181
+ };
182
+ defaultValue: boolean;
183
+ };
184
+ sidebarTitle: {
185
+ name: string;
186
+ control: {
187
+ type: string;
188
+ };
189
+ defaultValue: string;
190
+ };
191
+ modalTitleFontSize: {
192
+ name: string;
193
+ control: {
194
+ type: string;
195
+ };
196
+ defaultValue: number;
197
+ };
198
+ modalScrollbar: {
199
+ name: string;
200
+ control: {
201
+ type: string;
202
+ };
203
+ defaultValue: boolean;
204
+ };
205
+ productId: {
206
+ name: string;
207
+ };
208
+ token: {
209
+ name: string;
210
+ };
211
+ };
212
+ };
213
+ export default _default;
214
+ export declare const Default: any;
@@ -9,6 +9,9 @@ export declare class VviinnVprButton {
9
9
  sourceImage: string | null;
10
10
  sidebarTitle: string;
11
11
  modalScrollbar: boolean;
12
+ private sidebar;
13
+ private sidebarCloseListener;
12
14
  render(): any;
13
15
  handleClick(): void;
16
+ disconnectedCallback(): void;
14
17
  }
@@ -0,0 +1,198 @@
1
+ export declare const apiPath: {
2
+ name: string;
3
+ control: {
4
+ type: string;
5
+ };
6
+ table: {
7
+ defaultValue: {
8
+ summary: string;
9
+ };
10
+ };
11
+ };
12
+ export declare const campaignType: {
13
+ name: string;
14
+ control: {
15
+ type: string;
16
+ labels: {
17
+ VPR: string;
18
+ VCS: string;
19
+ };
20
+ };
21
+ required: boolean;
22
+ };
23
+ export declare const argTypes: {
24
+ analyticsId: {
25
+ name: string;
26
+ description: string;
27
+ control: {
28
+ type: string;
29
+ };
30
+ required: boolean;
31
+ };
32
+ apiPath: {
33
+ name: string;
34
+ control: {
35
+ type: string;
36
+ };
37
+ table: {
38
+ defaultValue: {
39
+ summary: string;
40
+ };
41
+ };
42
+ };
43
+ campaignType: {
44
+ name: string;
45
+ control: {
46
+ type: string;
47
+ labels: {
48
+ VPR: string;
49
+ VCS: string;
50
+ };
51
+ };
52
+ required: boolean;
53
+ };
54
+ contentAlignment: {
55
+ name: string;
56
+ options: string[];
57
+ mapping: {
58
+ Left: number;
59
+ Centered: number;
60
+ Right: number;
61
+ };
62
+ control: {
63
+ type: string;
64
+ default: number;
65
+ };
66
+ };
67
+ cssUrl: {
68
+ name: string;
69
+ description: string;
70
+ control: {
71
+ type: string;
72
+ };
73
+ required: boolean;
74
+ };
75
+ imageWidth: {
76
+ name: string;
77
+ control: {
78
+ type: string;
79
+ };
80
+ };
81
+ primaryTextColor: {
82
+ name: string;
83
+ control: {
84
+ type: string;
85
+ };
86
+ description: string;
87
+ };
88
+ productId: {
89
+ name: string;
90
+ control: {
91
+ type: string;
92
+ };
93
+ };
94
+ secondaryTextColor: {
95
+ name: string;
96
+ description: string;
97
+ control: {
98
+ type: string;
99
+ };
100
+ };
101
+ showScrollbars: {
102
+ name: string;
103
+ description: string;
104
+ control: {
105
+ type: string;
106
+ };
107
+ required: boolean;
108
+ };
109
+ showTitle: {
110
+ name: string;
111
+ control: {
112
+ type: string;
113
+ };
114
+ table: {
115
+ defaultValue: {
116
+ summary: boolean;
117
+ };
118
+ };
119
+ required: boolean;
120
+ };
121
+ titleFontSize: {
122
+ name: string;
123
+ control: {
124
+ type: string;
125
+ };
126
+ required: boolean;
127
+ };
128
+ titleName: {
129
+ name: string;
130
+ control: {
131
+ type: string;
132
+ };
133
+ table: {
134
+ defaultValue: {
135
+ summary: string;
136
+ };
137
+ };
138
+ required: boolean;
139
+ };
140
+ token: {
141
+ name: string;
142
+ control: {
143
+ type: string;
144
+ };
145
+ };
146
+ };
147
+ export declare const gridLayoutArgs: {
148
+ recommendationsGridProductsDesktop: {
149
+ name: string;
150
+ description: string;
151
+ control: {
152
+ type: string;
153
+ };
154
+ required: boolean;
155
+ };
156
+ recommendationsGridProductsTablet: {
157
+ name: string;
158
+ description: string;
159
+ control: {
160
+ type: string;
161
+ };
162
+ required: boolean;
163
+ };
164
+ recommendationsGridProductsMobile: {
165
+ name: string;
166
+ description: string;
167
+ control: {
168
+ type: string;
169
+ };
170
+ required: boolean;
171
+ };
172
+ };
173
+ export declare const continuityLayoutArgs: {
174
+ recommendationsContinuityProductsDesktop: {
175
+ name: string;
176
+ description: string;
177
+ control: {
178
+ type: string;
179
+ };
180
+ required: boolean;
181
+ };
182
+ recommendationsContinuityProductsTablet: {
183
+ name: string;
184
+ description: string;
185
+ control: {
186
+ type: string;
187
+ };
188
+ required: boolean;
189
+ };
190
+ recommendationsContinuityProductsMobile: {
191
+ name: string;
192
+ description: string;
193
+ control: {
194
+ type: string;
195
+ };
196
+ required: boolean;
197
+ };
198
+ };
@@ -0,0 +1,2 @@
1
+ export declare const gridDecorator: (story: () => any) => string;
2
+ export declare const continuityDecorator: (story: () => any) => string;