vviinn-widgets 2.18.21 → 2.19.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 (183) hide show
  1. package/dist/cjs/{index-cb410762.js → Campaign-a94a827a.js} +17 -1
  2. package/dist/cjs/cropper-handler_29.cjs.entry.js +1418 -0
  3. package/dist/cjs/{imageSearch.store-98824653.js → index-48c94264.js} +16016 -11171
  4. package/dist/cjs/{index-7f1325a7.js → index-a4becaff.js} +683 -303
  5. package/dist/cjs/loader.cjs.js +4 -3
  6. package/dist/cjs/{vviinn-carousel_3.cjs.entry.js → vviinn-carousel_2.cjs.entry.js} +150 -270
  7. package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +14 -8
  8. package/dist/cjs/vviinn-vpr-button.cjs.entry.js +12 -14
  9. package/dist/cjs/vviinn-widgets.cjs.js +10 -3
  10. package/dist/collection/Image/sizing.spec.js +66 -0
  11. package/dist/collection/collection-manifest.json +2 -2
  12. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.css +2 -16
  13. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.js +11 -7
  14. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.css +0 -1
  15. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.js +40 -37
  16. package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.js +73 -67
  17. package/dist/collection/components/image-search/search-filters/search-filters.css +4 -23
  18. package/dist/collection/components/image-search/search-filters/search-filters.js +97 -91
  19. package/dist/collection/components/vviinn-button/vviinn-button.js +34 -31
  20. package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +1 -2
  21. package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +161 -156
  22. package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +12 -14
  23. package/dist/collection/components/vviinn-error/vviinn-error.js +12 -12
  24. package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.js +35 -30
  25. package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.js +35 -30
  26. package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js +129 -121
  27. package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +75 -75
  28. package/dist/collection/components/vviinn-icons/index.js +10 -27
  29. package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +120 -67
  30. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +81 -69
  31. package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +0 -1
  32. package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +27 -28
  33. package/dist/collection/components/vviinn-modal/vviinn-modal.css +7 -36
  34. package/dist/collection/components/vviinn-modal/vviinn-modal.js +115 -93
  35. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +12 -14
  36. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +12 -14
  37. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +12 -14
  38. package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +12 -17
  39. package/dist/collection/components/vviinn-overlay/vviinn-overlay.css +1 -12
  40. package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +12 -9
  41. package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +107 -78
  42. package/dist/collection/components/vviinn-preloader/vviinn-preloader.css +1 -11
  43. package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +11 -7
  44. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.css +0 -1
  45. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +12 -16
  46. package/dist/collection/components/vviinn-product-card/render-helpers.js +6 -14
  47. package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +425 -415
  48. package/dist/collection/components/vviinn-slider/arrow.js +1 -2
  49. package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +12 -9
  50. package/dist/collection/components/vviinn-slider/vviinn-slider.css +0 -1
  51. package/dist/collection/components/vviinn-slider/vviinn-slider.js +87 -82
  52. package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +12 -18
  53. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.css +12 -64
  54. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +371 -360
  55. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +448 -444
  56. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +545 -542
  57. package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +2 -0
  58. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +368 -332
  59. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +0 -5
  60. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.e2e.js +26 -0
  61. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +502 -425
  62. package/dist/collection/geometry/Clip.spec.js +16 -0
  63. package/dist/collection/geometry/Rectangle.spec.js +66 -0
  64. package/dist/collection/geometry/Sized.spec.js +16 -0
  65. package/dist/collection/interfaces/generated.js +0 -4
  66. package/dist/collection/network/ion/Form.spec.js +43 -0
  67. package/dist/esm/{index-b31d86ce.js → Campaign-4aa53f29.js} +15 -2
  68. package/dist/esm/cropper-handler_29.entry.js +1386 -0
  69. package/dist/esm/{index-590cb67e.js → index-48ef9564.js} +683 -304
  70. package/dist/esm/{imageSearch.store-9dde5360.js → index-976acf7e.js} +16124 -11292
  71. package/dist/esm/loader.js +4 -3
  72. package/dist/esm/polyfills/css-shim.js +1 -1
  73. package/dist/esm/{vviinn-carousel_3.entry.js → vviinn-carousel_2.entry.js} +106 -225
  74. package/dist/esm/vviinn-recommendations-sidebar.entry.js +13 -7
  75. package/dist/esm/vviinn-vpr-button.entry.js +11 -13
  76. package/dist/esm/vviinn-widgets.js +7 -3
  77. package/dist/loader/index.d.ts +9 -0
  78. package/dist/loader/package.json +1 -0
  79. package/dist/types/Image/sizing.d.ts +4 -4
  80. package/dist/types/campaign/Campaign.d.ts +5 -5
  81. package/dist/types/campaign/VCSCampaignResponse.d.ts +1 -1
  82. package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +2 -2
  83. package/dist/types/components/vviinn-image-selector/vviinn-image-selector.d.ts +4 -0
  84. package/dist/types/components/vviinn-modal/vviinn-modal.d.ts +2 -0
  85. package/dist/types/components/vviinn-overlayed-modal/vviinn-overlayed-modal.d.ts +2 -0
  86. package/dist/types/components/vviinn-product-card/render-helpers.d.ts +3 -3
  87. package/dist/types/components/vviinn-slider/arrow.d.ts +2 -2
  88. package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +2 -2
  89. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +9 -4
  90. package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +8 -0
  91. package/dist/types/components.d.ts +154 -54
  92. package/dist/types/error.d.ts +1 -1
  93. package/dist/types/geometry/Point.d.ts +1 -1
  94. package/dist/types/geometry/Rectangle.d.ts +1 -1
  95. package/dist/types/geometry/Sized.d.ts +1 -1
  96. package/dist/types/interfaces/generated.d.ts +192 -371
  97. package/dist/types/network/ion/File.d.ts +2 -2
  98. package/dist/types/network/ion/Form.d.ts +5 -5
  99. package/dist/types/network/ion/Link.d.ts +1 -1
  100. package/dist/types/network/ion/ValueObject.d.ts +4 -4
  101. package/dist/types/network/utils.d.ts +3 -3
  102. package/dist/types/recommendation/events.d.ts +5 -5
  103. package/dist/types/recommendation/recommendation.d.ts +1 -1
  104. package/dist/types/searchSession/searchSession.d.ts +7 -7
  105. package/dist/types/slider/GridMode.d.ts +1 -1
  106. package/dist/types/stencil-public-runtime.d.ts +98 -23
  107. package/dist/types/store/imageSearch.store.d.ts +1 -1
  108. package/dist/types/tracking/models.d.ts +2 -2
  109. package/dist/types/utils/event/Events.d.ts +1 -1
  110. package/dist/vviinn-widgets/p-312b0eb7.entry.js +1 -0
  111. package/dist/vviinn-widgets/p-414b2291.js +1 -0
  112. package/dist/vviinn-widgets/p-5b50c7e5.entry.js +1 -0
  113. package/dist/vviinn-widgets/p-8deaa5da.entry.js +1 -0
  114. package/dist/vviinn-widgets/p-c6209bc1.entry.js +1 -0
  115. package/{www/build/p-2f9ee951.js → dist/vviinn-widgets/p-d08ce429.js} +1 -1
  116. package/dist/vviinn-widgets/p-fa17e81f.js +2 -0
  117. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  118. package/package.json +12 -12
  119. package/www/build/p-312b0eb7.entry.js +1 -0
  120. package/www/build/p-414b2291.js +1 -0
  121. package/www/build/p-5b50c7e5.entry.js +1 -0
  122. package/www/build/p-8deaa5da.entry.js +1 -0
  123. package/www/build/p-c6209bc1.entry.js +1 -0
  124. package/{dist/vviinn-widgets/p-2f9ee951.js → www/build/p-d08ce429.js} +1 -1
  125. package/www/build/p-d39b7d70.js +161 -0
  126. package/www/build/p-fa17e81f.js +2 -0
  127. package/www/build/vviinn-widgets.esm.js +1 -1
  128. package/www/index.html +2 -2
  129. package/dist/cjs/Campaign-13258569.js +0 -18
  130. package/dist/cjs/Handler-176539c8.js +0 -331
  131. package/dist/cjs/cropper-handler.cjs.entry.js +0 -27
  132. package/dist/cjs/customized-slots-6e56c354.js +0 -54
  133. package/dist/cjs/highlight-box_22.cjs.entry.js +0 -770
  134. package/dist/cjs/index-a99edb90.js +0 -3235
  135. package/dist/cjs/vviinn-button.cjs.entry.js +0 -21
  136. package/dist/cjs/vviinn-error.cjs.entry.js +0 -19
  137. package/dist/cjs/vviinn-preloader.cjs.entry.js +0 -26
  138. package/dist/cjs/vviinn-vps-button.cjs.entry.js +0 -65
  139. package/dist/cjs/vviinn-vps-widget.cjs.entry.js +0 -251
  140. package/dist/esm/Campaign-90ba7e06.js +0 -14
  141. package/dist/esm/Handler-f9b8735c.js +0 -309
  142. package/dist/esm/cropper-handler.entry.js +0 -23
  143. package/dist/esm/customized-slots-00afe247.js +0 -51
  144. package/dist/esm/highlight-box_22.entry.js +0 -745
  145. package/dist/esm/index-4d5b52ba.js +0 -3224
  146. package/dist/esm/vviinn-button.entry.js +0 -17
  147. package/dist/esm/vviinn-error.entry.js +0 -15
  148. package/dist/esm/vviinn-preloader.entry.js +0 -22
  149. package/dist/esm/vviinn-vps-button.entry.js +0 -61
  150. package/dist/esm/vviinn-vps-widget.entry.js +0 -247
  151. package/dist/vviinn-widgets/p-11f61564.js +0 -1
  152. package/dist/vviinn-widgets/p-12851e97.entry.js +0 -1
  153. package/dist/vviinn-widgets/p-18fd769b.js +0 -1
  154. package/dist/vviinn-widgets/p-339c6838.js +0 -1
  155. package/dist/vviinn-widgets/p-3b2c91c0.entry.js +0 -1
  156. package/dist/vviinn-widgets/p-45df9f28.entry.js +0 -1
  157. package/dist/vviinn-widgets/p-57ed5303.entry.js +0 -1
  158. package/dist/vviinn-widgets/p-69850e5b.js +0 -1
  159. package/dist/vviinn-widgets/p-7c2f762a.entry.js +0 -1
  160. package/dist/vviinn-widgets/p-7c3b7388.entry.js +0 -1
  161. package/dist/vviinn-widgets/p-85006f41.entry.js +0 -1
  162. package/dist/vviinn-widgets/p-8a3dd76d.entry.js +0 -1
  163. package/dist/vviinn-widgets/p-99e58be7.entry.js +0 -1
  164. package/dist/vviinn-widgets/p-a2b450b6.entry.js +0 -1
  165. package/dist/vviinn-widgets/p-bcc1ccf0.js +0 -1
  166. package/dist/vviinn-widgets/p-e6fee8d2.js +0 -1
  167. package/www/build/p-11f61564.js +0 -1
  168. package/www/build/p-12851e97.entry.js +0 -1
  169. package/www/build/p-18fd769b.js +0 -1
  170. package/www/build/p-339c6838.js +0 -1
  171. package/www/build/p-3b2c91c0.entry.js +0 -1
  172. package/www/build/p-45df9f28.entry.js +0 -1
  173. package/www/build/p-57ed5303.entry.js +0 -1
  174. package/www/build/p-69850e5b.js +0 -1
  175. package/www/build/p-7c2f762a.entry.js +0 -1
  176. package/www/build/p-7c3b7388.entry.js +0 -1
  177. package/www/build/p-85006f41.entry.js +0 -1
  178. package/www/build/p-8a3dd76d.entry.js +0 -1
  179. package/www/build/p-99e58be7.entry.js +0 -1
  180. package/www/build/p-9e2c131a.js +0 -125
  181. package/www/build/p-a2b450b6.entry.js +0 -1
  182. package/www/build/p-bcc1ccf0.js +0 -1
  183. package/www/build/p-e6fee8d2.js +0 -1
@@ -7,5 +7,4 @@ const getStyleMap = (data) => {
7
7
  disabled: data.disabled,
8
8
  };
9
9
  };
10
- export const Arrow = ({ kind, tabindex, disabled, onClick, onKeyDown, }) => (h("div", { class: getStyleMap({ kind, disabled }), onClick: onClick, tabindex: tabindex, onKeyDown: onKeyDown },
11
- h(ArrowIcon, null)));
10
+ export const Arrow = ({ kind, tabindex, disabled, onClick, onKeyDown, }) => (h("div", { class: getStyleMap({ kind, disabled }), onClick: onClick, tabindex: tabindex, onKeyDown: onKeyDown }, h(ArrowIcon, null)));
@@ -1,15 +1,18 @@
1
- import { Component, Host, h } from "@stencil/core";
1
+ import { Host, h } from "@stencil/core";
2
2
  export class VviinnSlide {
3
3
  render() {
4
- return (h(Host, null,
5
- h("slot", null)));
4
+ return (h(Host, null, h("slot", null)));
6
5
  }
7
6
  static get is() { return "vviinn-slide"; }
8
7
  static get encapsulation() { return "shadow"; }
9
- static get originalStyleUrls() { return {
10
- "$": ["vviinn-slide.css"]
11
- }; }
12
- static get styleUrls() { return {
13
- "$": ["vviinn-slide.css"]
14
- }; }
8
+ static get originalStyleUrls() {
9
+ return {
10
+ "$": ["vviinn-slide.css"]
11
+ };
12
+ }
13
+ static get styleUrls() {
14
+ return {
15
+ "$": ["vviinn-slide.css"]
16
+ };
17
+ }
15
18
  }
@@ -32,7 +32,6 @@
32
32
  .controls {
33
33
  display: grid;
34
34
  grid-gap: 16px;
35
- grid-template-columns: repeat(var(--num-items), -webkit-min-content);
36
35
  grid-template-columns: repeat(var(--num-items), min-content);
37
36
  }
38
37
 
@@ -1,4 +1,4 @@
1
- import { Component, Host, h, Element, State, Prop, Watch } from "@stencil/core";
1
+ import { Host, h } from "@stencil/core";
2
2
  import { range } from "fp-ts/lib/NonEmptyArray";
3
3
  import { pipe } from "fp-ts/lib/function";
4
4
  import * as O from "fp-ts/lib/Option";
@@ -100,91 +100,96 @@ export class VviinnSlider {
100
100
  }));
101
101
  }
102
102
  render() {
103
- return (h(Host, null,
104
- h("div", { class: "items-wrapper" },
105
- h("div", { class: "items", onTouchStart: (e) => this.handleTouchStart(e), onTouchEnd: (e) => this.handleTouchEnd(e) },
106
- h("slot", null))),
107
- this.showArrows
108
- ? [
109
- h(Arrow, { kind: "prev", onClick: () => this.isRTL ? this.nextSlide() : this.prevSlide(), onKeyDown: (ev) => this.handleKeyDown(ev), tabindex: 1, disabled: false }),
110
- h(Arrow, { kind: "next", onClick: () => this.isRTL ? this.prevSlide() : this.nextSlide(), onKeyDown: (ev) => this.handleKeyDown(ev), tabindex: 0, disabled: false }),
111
- ]
112
- : null,
113
- this.renderBullets()));
103
+ return (h(Host, null, h("div", { class: "items-wrapper" }, h("div", { class: "items", onTouchStart: (e) => this.handleTouchStart(e), onTouchEnd: (e) => this.handleTouchEnd(e) }, h("slot", null))), this.showArrows
104
+ ? [
105
+ h(Arrow, { kind: "prev", onClick: () => this.isRTL ? this.nextSlide() : this.prevSlide(), onKeyDown: (ev) => this.handleKeyDown(ev), tabindex: 1, disabled: false }),
106
+ h(Arrow, { kind: "next", onClick: () => this.isRTL ? this.prevSlide() : this.nextSlide(), onKeyDown: (ev) => this.handleKeyDown(ev), tabindex: 0, disabled: false }),
107
+ ]
108
+ : null, this.renderBullets()));
114
109
  }
115
110
  static get is() { return "vviinn-slider"; }
116
111
  static get encapsulation() { return "shadow"; }
117
- static get originalStyleUrls() { return {
118
- "$": ["vviinn-slider.css"]
119
- }; }
120
- static get styleUrls() { return {
121
- "$": ["vviinn-slider.css"]
122
- }; }
123
- static get properties() { return {
124
- "showBullets": {
125
- "type": "boolean",
126
- "mutable": false,
127
- "complexType": {
128
- "original": "boolean",
129
- "resolved": "boolean",
130
- "references": {}
112
+ static get originalStyleUrls() {
113
+ return {
114
+ "$": ["vviinn-slider.css"]
115
+ };
116
+ }
117
+ static get styleUrls() {
118
+ return {
119
+ "$": ["vviinn-slider.css"]
120
+ };
121
+ }
122
+ static get properties() {
123
+ return {
124
+ "showBullets": {
125
+ "type": "boolean",
126
+ "mutable": false,
127
+ "complexType": {
128
+ "original": "boolean",
129
+ "resolved": "boolean",
130
+ "references": {}
131
+ },
132
+ "required": false,
133
+ "optional": false,
134
+ "docs": {
135
+ "tags": [],
136
+ "text": ""
137
+ },
138
+ "attribute": "show-bullets",
139
+ "reflect": false,
140
+ "defaultValue": "true"
131
141
  },
132
- "required": false,
133
- "optional": false,
134
- "docs": {
135
- "tags": [],
136
- "text": ""
142
+ "position": {
143
+ "type": "number",
144
+ "mutable": false,
145
+ "complexType": {
146
+ "original": "number",
147
+ "resolved": "number",
148
+ "references": {}
149
+ },
150
+ "required": false,
151
+ "optional": false,
152
+ "docs": {
153
+ "tags": [],
154
+ "text": ""
155
+ },
156
+ "attribute": "position",
157
+ "reflect": true,
158
+ "defaultValue": "0"
137
159
  },
138
- "attribute": "show-bullets",
139
- "reflect": false,
140
- "defaultValue": "true"
141
- },
142
- "position": {
143
- "type": "number",
144
- "mutable": false,
145
- "complexType": {
146
- "original": "number",
147
- "resolved": "number",
148
- "references": {}
149
- },
150
- "required": false,
151
- "optional": false,
152
- "docs": {
153
- "tags": [],
154
- "text": ""
155
- },
156
- "attribute": "position",
157
- "reflect": true,
158
- "defaultValue": "0"
159
- },
160
- "showArrows": {
161
- "type": "boolean",
162
- "mutable": false,
163
- "complexType": {
164
- "original": "boolean",
165
- "resolved": "boolean",
166
- "references": {}
167
- },
168
- "required": false,
169
- "optional": false,
170
- "docs": {
171
- "tags": [],
172
- "text": ""
173
- },
174
- "attribute": "show-arrows",
175
- "reflect": false,
176
- "defaultValue": "false"
177
- }
178
- }; }
179
- static get states() { return {
180
- "elementsCount": {},
181
- "internalPosition": {},
182
- "swipeStartPosition": {},
183
- "isRTL": {}
184
- }; }
160
+ "showArrows": {
161
+ "type": "boolean",
162
+ "mutable": false,
163
+ "complexType": {
164
+ "original": "boolean",
165
+ "resolved": "boolean",
166
+ "references": {}
167
+ },
168
+ "required": false,
169
+ "optional": false,
170
+ "docs": {
171
+ "tags": [],
172
+ "text": ""
173
+ },
174
+ "attribute": "show-arrows",
175
+ "reflect": false,
176
+ "defaultValue": "false"
177
+ }
178
+ };
179
+ }
180
+ static get states() {
181
+ return {
182
+ "elementsCount": {},
183
+ "internalPosition": {},
184
+ "swipeStartPosition": {},
185
+ "isRTL": {}
186
+ };
187
+ }
185
188
  static get elementRef() { return "el"; }
186
- static get watchers() { return [{
187
- "propName": "position",
188
- "methodName": "positionWatchHandler"
189
- }]; }
189
+ static get watchers() {
190
+ return [{
191
+ "propName": "position",
192
+ "methodName": "positionWatchHandler"
193
+ }];
194
+ }
190
195
  }
@@ -1,29 +1,23 @@
1
- import { Component, Host, h, Element } from "@stencil/core";
1
+ import { Host, h } from "@stencil/core";
2
2
  import { slotChangeListener } from "../customized-slots";
3
3
  export class VviinnTeaser {
4
4
  componentWillLoad() {
5
5
  slotChangeListener(this, this.el);
6
6
  }
7
7
  render() {
8
- return (h(Host, null,
9
- h("slot", null,
10
- h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "64", height: "64", fill: "none" },
11
- h("defs", null),
12
- h("path", { fill: "#C6C6C6", d: "M48 28a11.98 11.98 0 00-9.77 18.942L28 57.172 30.828 60l10.23-10.23A11.994 11.994 0 1048 28zm0 20a8 8 0 118-8 8.009 8.009 0 01-8 8zM34 24a6 6 0 10-6-6 6.006 6.006 0 006 6zm0-8a2 2 0 110 4 2 2 0 010-4z" }),
13
- h("path", { fill: "#C6C6C6", d: "M24 48H8V35.993L18 26l11.172 11.172L32 34.336 20.828 23.165a4 4 0 00-5.656 0L8 30.336V8h40v12h4V8a4.004 4.004 0 00-4-4H8a4.004 4.004 0 00-4 4v40a4.005 4.005 0 004 4h16v-4z" })),
14
- h("span", { class: "vviinn-teaser-text" },
15
- h("slot", { name: "vviinn-teaser-text" },
16
- "Finde Produkte auf ",
17
- h("br", null),
18
- " einem Foto")))));
8
+ return (h(Host, null, h("slot", null, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "64", height: "64", fill: "none" }, h("defs", null), h("path", { fill: "#C6C6C6", d: "M48 28a11.98 11.98 0 00-9.77 18.942L28 57.172 30.828 60l10.23-10.23A11.994 11.994 0 1048 28zm0 20a8 8 0 118-8 8.009 8.009 0 01-8 8zM34 24a6 6 0 10-6-6 6.006 6.006 0 006 6zm0-8a2 2 0 110 4 2 2 0 010-4z" }), h("path", { fill: "#C6C6C6", d: "M24 48H8V35.993L18 26l11.172 11.172L32 34.336 20.828 23.165a4 4 0 00-5.656 0L8 30.336V8h40v12h4V8a4.004 4.004 0 00-4-4H8a4.004 4.004 0 00-4 4v40a4.005 4.005 0 004 4h16v-4z" })), h("span", { class: "vviinn-teaser-text" }, h("slot", { name: "vviinn-teaser-text" }, "Finde Produkte auf ", h("br", null), " einem Foto")))));
19
9
  }
20
10
  static get is() { return "vviinn-teaser"; }
21
11
  static get encapsulation() { return "shadow"; }
22
- static get originalStyleUrls() { return {
23
- "$": ["vviinn-teaser.css"]
24
- }; }
25
- static get styleUrls() { return {
26
- "$": ["vviinn-teaser.css"]
27
- }; }
12
+ static get originalStyleUrls() {
13
+ return {
14
+ "$": ["vviinn-teaser.css"]
15
+ };
16
+ }
17
+ static get styleUrls() {
18
+ return {
19
+ "$": ["vviinn-teaser.css"]
20
+ };
21
+ }
28
22
  static get elementRef() { return "el"; }
29
23
  }
@@ -73,21 +73,15 @@ main {
73
73
  }
74
74
 
75
75
  :host(.bottom.closed) .sidebar {
76
- -webkit-animation-name: slideOutFromBottom;
77
- animation-name: slideOutFromBottom;
78
- -webkit-animation-duration: 0.5s;
79
- animation-duration: 0.5s;
80
- -webkit-animation-fill-mode: forwards;
81
- animation-fill-mode: forwards;
76
+ animation-name: slideOutFromBottom;
77
+ animation-duration: 0.5s;
78
+ animation-fill-mode: forwards;
82
79
  }
83
80
 
84
81
  :host(.bottom.open) .sidebar {
85
- -webkit-animation-name: slideInFromBottom;
86
- animation-name: slideInFromBottom;
87
- -webkit-animation-duration: 0.5s;
88
- animation-duration: 0.5s;
89
- -webkit-animation-fill-mode: forwards;
90
- animation-fill-mode: forwards;
82
+ animation-name: slideInFromBottom;
83
+ animation-duration: 0.5s;
84
+ animation-fill-mode: forwards;
91
85
  }
92
86
 
93
87
  :host(.right.idle) .sidebar {
@@ -95,21 +89,15 @@ main {
95
89
  }
96
90
 
97
91
  :host(.right.closed) .sidebar {
98
- -webkit-animation-name: slideOutFromRight;
99
- animation-name: slideOutFromRight;
100
- -webkit-animation-duration: 0.5s;
101
- animation-duration: 0.5s;
102
- -webkit-animation-fill-mode: forwards;
103
- animation-fill-mode: forwards;
92
+ animation-name: slideOutFromRight;
93
+ animation-duration: 0.5s;
94
+ animation-fill-mode: forwards;
104
95
  }
105
96
 
106
97
  :host(.right.open) .sidebar {
107
- -webkit-animation-name: slideInFromRight;
108
- animation-name: slideInFromRight;
109
- -webkit-animation-duration: 0.5s;
110
- animation-duration: 0.5s;
111
- -webkit-animation-fill-mode: forwards;
112
- animation-fill-mode: forwards;
98
+ animation-name: slideInFromRight;
99
+ animation-duration: 0.5s;
100
+ animation-fill-mode: forwards;
113
101
  }
114
102
 
115
103
  :host(.right) .sidebar {
@@ -160,16 +148,6 @@ vviinn-vpr-widget::part(price-container) {
160
148
  top: 24px;
161
149
  }
162
150
 
163
- @-webkit-keyframes slideInFromBottom {
164
- from {
165
- transform: translateY(100%);
166
- }
167
-
168
- to {
169
- transform: translateY(0);
170
- }
171
- }
172
-
173
151
  @keyframes slideInFromBottom {
174
152
  from {
175
153
  transform: translateY(100%);
@@ -180,16 +158,6 @@ vviinn-vpr-widget::part(price-container) {
180
158
  }
181
159
  }
182
160
 
183
- @-webkit-keyframes slideOutFromBottom {
184
- from {
185
- transform: translateY(0);
186
- }
187
-
188
- to {
189
- transform: translateY(100%);
190
- }
191
- }
192
-
193
161
  @keyframes slideOutFromBottom {
194
162
  from {
195
163
  transform: translateY(0);
@@ -200,16 +168,6 @@ vviinn-vpr-widget::part(price-container) {
200
168
  }
201
169
  }
202
170
 
203
- @-webkit-keyframes slideInFromRight {
204
- from {
205
- transform: translateX(100%);
206
- }
207
-
208
- to {
209
- transform: translateX(0);
210
- }
211
- }
212
-
213
171
  @keyframes slideInFromRight {
214
172
  from {
215
173
  transform: translateX(100%);
@@ -220,16 +178,6 @@ vviinn-vpr-widget::part(price-container) {
220
178
  }
221
179
  }
222
180
 
223
- @-webkit-keyframes slideOutFromRight {
224
- from {
225
- transform: translateX(0);
226
- }
227
-
228
- to {
229
- transform: translateX(100%);
230
- }
231
- }
232
-
233
181
  @keyframes slideOutFromRight {
234
182
  from {
235
183
  transform: translateX(0);