vviinn-widgets 2.1.0 → 2.2.2

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 (307) hide show
  1. package/dist/cjs/Handler-d1a8a86a.js +329 -0
  2. package/dist/{vviinn-widgets/app-globals-e0943e34.js → cjs/app-globals-30781f30.js} +15 -925
  3. package/{www/build/cropper-handler.entry.js → dist/cjs/cropper-handler.cjs.entry.js} +11 -7
  4. package/dist/{vviinn-widgets/customized-slots-f3449695.js → cjs/customized-slots-5d904d8e.js} +6 -3
  5. package/dist/cjs/highlight-box_22.cjs.entry.js +737 -0
  6. package/{www/build/imageSearch.store-407f49f0.js → dist/cjs/imageSearch.store-128957a4.js} +11573 -11902
  7. package/dist/cjs/index-741a970d.js +1354 -0
  8. package/dist/cjs/index-c493804d.js +41 -0
  9. package/dist/cjs/index.cjs.js +2 -0
  10. package/dist/cjs/loader.cjs.js +23 -0
  11. package/dist/cjs/vviinn-carousel_5.cjs.entry.js +1232 -0
  12. package/dist/{vviinn-widgets/vviinn-error.entry.js → cjs/vviinn-error.cjs.entry.js} +8 -4
  13. package/{www/build/vviinn-preloader.entry.js → dist/cjs/vviinn-preloader.cjs.entry.js} +11 -10
  14. package/dist/cjs/vviinn-vps-button.cjs.entry.js +43 -0
  15. package/{www/build/vviinn-vps-widget.entry.js → dist/cjs/vviinn-vps-widget.cjs.entry.js} +31 -30
  16. package/dist/cjs/vviinn-widgets.cjs.js +21 -0
  17. package/dist/collection/Image/error.js +14 -0
  18. package/dist/collection/Image/form.js +5 -0
  19. package/dist/collection/Image/fromFile.js +18 -0
  20. package/dist/collection/Image/imageToB64.js +9 -0
  21. package/dist/collection/Image/index.js +0 -0
  22. package/dist/collection/Image/renderPromise.js +6 -0
  23. package/dist/collection/Image/resizeImage.js +28 -0
  24. package/dist/collection/Image/sizing.js +39 -0
  25. package/dist/collection/Image/toFile.js +17 -0
  26. package/dist/collection/analytics/GAnalytics.js +32 -0
  27. package/dist/collection/analytics/GeneralAnalytics.js +9 -0
  28. package/dist/collection/analytics/GtagAnalytics.js +35 -0
  29. package/dist/collection/analytics/ProductAnalytics.js +1 -0
  30. package/dist/collection/campaign/Campaign.js +8 -0
  31. package/dist/collection/campaign/CampaignService.js +5 -0
  32. package/dist/collection/campaign/VCSCampaign.js +1 -0
  33. package/dist/collection/campaign/VCSCampaignResponse.js +1 -0
  34. package/dist/collection/campaign/VCSCampaignService.js +5 -0
  35. package/dist/collection/campaign/VPRCampaignResponse.js +1 -0
  36. package/dist/collection/campaign/VPRCampaignService.js +5 -0
  37. package/dist/collection/collection-manifest.json +43 -0
  38. package/dist/collection/components/customized-slots.js +47 -0
  39. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.css +71 -0
  40. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.js +25 -0
  41. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.css +49 -0
  42. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.js +64 -0
  43. package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.css +33 -0
  44. package/dist/{vviinn-widgets/image-cropper.entry.js → collection/components/image-search/image-view/image-cropper/image-cropper.js} +54 -32
  45. package/dist/collection/components/image-search/search-filters/search-filters.css +120 -0
  46. package/dist/collection/components/image-search/search-filters/search-filters.js +102 -0
  47. package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +138 -0
  48. package/{www/build/vviinn-carousel.entry.js → dist/collection/components/vviinn-carousel/vviinn-carousel.js} +115 -18
  49. package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.css +7 -0
  50. package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +36 -0
  51. package/dist/collection/components/vviinn-error/vviinn-error.css +38 -0
  52. package/dist/collection/components/vviinn-error/vviinn-error.js +18 -0
  53. package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.css +3 -0
  54. package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.js +34 -0
  55. package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.css +3 -0
  56. package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.js +34 -0
  57. package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.css +34 -0
  58. package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js +129 -0
  59. package/dist/collection/components/vviinn-example-images/vviinn-example-images.css +19 -0
  60. package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +80 -0
  61. package/dist/{vviinn-widgets/index-c9483145.js → collection/components/vviinn-icons/index.js} +13 -12
  62. package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.css +25 -0
  63. package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +64 -0
  64. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.css +47 -0
  65. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +83 -0
  66. package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +31 -0
  67. package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +61 -0
  68. package/dist/collection/components/vviinn-modal/vviinn-modal.css +105 -0
  69. package/dist/collection/components/vviinn-modal/vviinn-modal.js +98 -0
  70. package/dist/collection/components/vviinn-onboarding/onboarding-cards/onboarding-card.css +41 -0
  71. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +26 -0
  72. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +26 -0
  73. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +26 -0
  74. package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.css +58 -0
  75. package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +28 -0
  76. package/dist/collection/components/vviinn-overlay/vviinn-overlay.css +33 -0
  77. package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +15 -0
  78. package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.css +29 -0
  79. package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +71 -0
  80. package/dist/collection/components/vviinn-preloader/vviinn-preloader.css +37 -0
  81. package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +20 -0
  82. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.css +19 -0
  83. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +27 -0
  84. package/dist/collection/components/vviinn-product-card/render-helpers.js +32 -0
  85. package/dist/collection/components/vviinn-product-card/vviinn-product-card.css +95 -0
  86. package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +425 -0
  87. package/dist/collection/components/vviinn-slider/arrow.js +11 -0
  88. package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.css +4 -0
  89. package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +15 -0
  90. package/dist/collection/components/vviinn-slider/vviinn-slider.css +109 -0
  91. package/dist/collection/components/vviinn-slider/vviinn-slider.js +181 -0
  92. package/dist/collection/components/vviinn-teaser/vviinn-teaser.css +14 -0
  93. package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +29 -0
  94. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.css +238 -0
  95. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +200 -0
  96. package/dist/collection/components/vviinn-vpr-button/stories/kek.stories.js +18 -0
  97. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.css +35 -0
  98. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +149 -0
  99. package/dist/collection/components/vviinn-vpr-widget/GridMode.js +1 -0
  100. package/dist/collection/components/vviinn-vpr-widget/token-helpers.js +11 -0
  101. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +441 -0
  102. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.css +74 -0
  103. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.css +0 -0
  104. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +177 -0
  105. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +350 -0
  106. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +247 -0
  107. package/dist/collection/cropper/Cropper.js +1 -0
  108. package/dist/collection/cropper/Handler.js +61 -0
  109. package/dist/collection/dom/index.js +3 -0
  110. package/dist/collection/error.js +14 -0
  111. package/dist/collection/file/index.js +4 -0
  112. package/dist/collection/geometry/Clip.js +14 -0
  113. package/dist/collection/geometry/Point.js +32 -0
  114. package/dist/collection/geometry/Rectangle.js +95 -0
  115. package/dist/collection/geometry/RectangleAlt.js +1 -0
  116. package/dist/collection/geometry/Sized.js +8 -0
  117. package/dist/collection/global.js +19 -0
  118. package/dist/collection/index.js +1 -0
  119. package/dist/collection/interfaces/generated.js +5 -0
  120. package/dist/collection/interfaces/recommendation.js +1 -0
  121. package/dist/collection/network/apiClient.js +9 -0
  122. package/dist/collection/network/ion/File.js +14 -0
  123. package/dist/collection/network/ion/Form.js +64 -0
  124. package/dist/collection/network/ion/Link.js +8 -0
  125. package/dist/collection/network/ion/ValueObject.js +23 -0
  126. package/dist/collection/network/request.js +19 -0
  127. package/dist/collection/network/utils.js +37 -0
  128. package/dist/collection/recommendation/recommendation.js +1 -0
  129. package/dist/collection/searchSession/searchSession.js +26 -0
  130. package/dist/collection/sentry.js +14 -0
  131. package/dist/collection/slider/GridMode.js +1 -0
  132. package/dist/collection/store/file-processing.js +13 -0
  133. package/dist/collection/store/imageSearch.store.js +138 -0
  134. package/dist/collection/store/store.js +11 -0
  135. package/dist/collection/stories/Button.js +21 -0
  136. package/dist/collection/stories/Button.stories.js +42 -0
  137. package/dist/collection/stories/Header.js +45 -0
  138. package/dist/collection/stories/Header.stories.js +15 -0
  139. package/dist/collection/stories/Page.js +61 -0
  140. package/dist/collection/stories/Page.stories.js +19 -0
  141. package/dist/collection/stories/assets/code-brackets.svg +1 -0
  142. package/dist/collection/stories/assets/colors.svg +1 -0
  143. package/dist/collection/stories/assets/comments.svg +1 -0
  144. package/dist/collection/stories/assets/direction.svg +1 -0
  145. package/dist/collection/stories/assets/flow.svg +1 -0
  146. package/dist/collection/stories/assets/plugin.svg +1 -0
  147. package/dist/collection/stories/assets/repo.svg +1 -0
  148. package/dist/collection/stories/assets/stackalt.svg +1 -0
  149. package/dist/collection/stories/image-selector.stories.js +6 -0
  150. package/dist/collection/stories/image-view.stories.js +6 -0
  151. package/dist/collection/stories/modal.stories.js +12 -0
  152. package/dist/collection/stories/onboarding.stories.js +11 -0
  153. package/dist/collection/stories/overlay.stories.js +5 -0
  154. package/dist/collection/stories/overlayedModal.stories.js +8 -0
  155. package/dist/collection/stories/privacy-badge.stories.js +11 -0
  156. package/dist/collection/stories/slider.stories.js +17 -0
  157. package/dist/collection/stories/teaser.stories.js +5 -0
  158. package/dist/collection/stories/vps-widget.stories.js +47 -0
  159. package/dist/collection/stories/vviinn-product.stories.js +19 -0
  160. package/dist/collection/utils/collections/collectionsUtils.js +5 -0
  161. package/dist/collection/utils/either.js +3 -0
  162. package/dist/collection/utils/enum/enumUtils.js +3 -0
  163. package/dist/collection/utils/event/Events.js +1 -0
  164. package/dist/collection/utils/number/index.js +4 -0
  165. package/dist/collection/utils/option/option.js +4 -0
  166. package/dist/collection/utils/semigroup/semigroupDiff.js +6 -0
  167. package/dist/collection/utils/token/tokenUtils.js +9 -0
  168. package/dist/esm/Handler-639a4cb3.js +308 -0
  169. package/{www/build/app-globals-e0943e34.js → dist/esm/app-globals-345e497d.js} +10 -922
  170. package/dist/{vviinn-widgets → esm}/cropper-handler.entry.js +2 -2
  171. package/{www/build/customized-slots-f3449695.js → dist/esm/customized-slots-a76a8d41.js} +1 -1
  172. package/dist/esm/highlight-box_22.entry.js +712 -0
  173. package/dist/{vviinn-widgets/imageSearch.store-407f49f0.js → esm/imageSearch.store-8eab0da1.js} +11510 -11872
  174. package/dist/esm/index-6fa21e24.js +1323 -0
  175. package/{www/build/index-c9483145.js → dist/esm/index-8cb063df.js} +6 -4
  176. package/dist/esm/index.js +1 -0
  177. package/dist/esm/loader.js +19 -0
  178. package/dist/esm/polyfills/core-js.js +11 -0
  179. package/dist/esm/polyfills/css-shim.js +1 -0
  180. package/dist/esm/polyfills/dom.js +79 -0
  181. package/dist/esm/polyfills/es5-html-element.js +1 -0
  182. package/dist/esm/polyfills/index.js +34 -0
  183. package/dist/esm/polyfills/system.js +6 -0
  184. package/dist/esm/vviinn-carousel_5.entry.js +1224 -0
  185. package/{www/build → dist/esm}/vviinn-error.entry.js +1 -1
  186. package/dist/{vviinn-widgets → esm}/vviinn-preloader.entry.js +3 -6
  187. package/dist/{vviinn-widgets → esm}/vviinn-vps-button.entry.js +3 -3
  188. package/dist/{vviinn-widgets → esm}/vviinn-vps-widget.entry.js +4 -7
  189. package/dist/esm/vviinn-widgets.js +19 -0
  190. package/dist/index.cjs.js +1 -0
  191. package/dist/index.js +1 -0
  192. package/dist/loader/cdn.js +3 -0
  193. package/dist/loader/index.cjs.js +3 -0
  194. package/dist/loader/index.d.ts +12 -0
  195. package/dist/loader/index.es2017.js +3 -0
  196. package/dist/loader/index.js +4 -0
  197. package/dist/loader/package.json +10 -0
  198. package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +1 -0
  199. package/dist/types/components/vviinn-icons/index.d.ts +2 -0
  200. package/dist/types/components/vviinn-product-card/render-helpers.d.ts +3 -2
  201. package/dist/types/components/vviinn-product-card/vviinn-product-card.d.ts +2 -0
  202. package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +25 -0
  203. package/dist/types/components/vviinn-vpr-button/stories/kek.stories.d.ts +7 -0
  204. package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +14 -0
  205. package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +13 -3
  206. package/dist/types/components.d.ts +54 -0
  207. package/dist/vviinn-widgets/index.esm.js +0 -1
  208. package/dist/vviinn-widgets/p-04b06ea9.entry.js +1 -0
  209. package/dist/vviinn-widgets/p-400eb62f.entry.js +1 -0
  210. package/dist/vviinn-widgets/p-56fc949a.js +1 -0
  211. package/dist/vviinn-widgets/p-59edfbe2.js +1 -0
  212. package/dist/vviinn-widgets/p-78ccc9eb.js +15 -0
  213. package/dist/vviinn-widgets/p-9d24f51e.entry.js +1 -0
  214. package/dist/vviinn-widgets/p-d085199d.entry.js +1 -0
  215. package/dist/vviinn-widgets/p-e1ba8626.js +1 -0
  216. package/dist/vviinn-widgets/p-e38f4aa2.entry.js +1 -0
  217. package/dist/vviinn-widgets/p-e67cae57.js +1 -0
  218. package/dist/vviinn-widgets/p-f47e82b2.entry.js +1 -0
  219. package/dist/vviinn-widgets/p-f582db5c.js +1 -0
  220. package/dist/vviinn-widgets/p-fb14e3cc.entry.js +1 -0
  221. package/dist/vviinn-widgets/vviinn-widgets.css +1 -6
  222. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -125
  223. package/package.json +3 -1
  224. package/www/build/index.esm.js +0 -1
  225. package/www/build/p-04b06ea9.entry.js +1 -0
  226. package/www/build/p-400eb62f.entry.js +1 -0
  227. package/www/build/p-56fc949a.js +1 -0
  228. package/www/build/p-59edfbe2.js +1 -0
  229. package/www/build/p-78ccc9eb.js +15 -0
  230. package/www/build/p-7e4978d5.js +1 -0
  231. package/www/build/p-9d24f51e.entry.js +1 -0
  232. package/www/build/p-a67898be.css +1 -0
  233. package/www/build/p-d085199d.entry.js +1 -0
  234. package/www/build/p-e1ba8626.js +1 -0
  235. package/www/build/p-e38f4aa2.entry.js +1 -0
  236. package/www/build/p-e67cae57.js +1 -0
  237. package/www/build/p-f47e82b2.entry.js +1 -0
  238. package/www/build/p-f582db5c.js +1 -0
  239. package/www/build/p-fb14e3cc.entry.js +1 -0
  240. package/www/build/vviinn-widgets.css +1 -6
  241. package/www/build/vviinn-widgets.esm.js +1 -125
  242. package/www/index.html +6 -13
  243. package/dist/vviinn-widgets/Array-4b9f84cf.js +0 -4295
  244. package/dist/vviinn-widgets/Handler-47db9890.js +0 -1428
  245. package/dist/vviinn-widgets/NonEmptyArray-6ef0d207.js +0 -4370
  246. package/dist/vviinn-widgets/css-shim-f0027935.js +0 -4
  247. package/dist/vviinn-widgets/dom-db0073f0.js +0 -73
  248. package/dist/vviinn-widgets/highlight-box.entry.js +0 -41
  249. package/dist/vviinn-widgets/index-b6d739a9.js +0 -3010
  250. package/dist/vviinn-widgets/number-98d54dd6.js +0 -1533
  251. package/dist/vviinn-widgets/search-filters.entry.js +0 -73
  252. package/dist/vviinn-widgets/shadow-css-c1fdfa9f.js +0 -389
  253. package/dist/vviinn-widgets/vviinn-carousel.entry.js +0 -205
  254. package/dist/vviinn-widgets/vviinn-detected-object.entry.js +0 -52
  255. package/dist/vviinn-widgets/vviinn-empty-results.entry.js +0 -16
  256. package/dist/vviinn-widgets/vviinn-example-image.entry.js +0 -38
  257. package/dist/vviinn-widgets/vviinn-example-images.entry.js +0 -28
  258. package/dist/vviinn-widgets/vviinn-image-selector.entry.js +0 -31
  259. package/dist/vviinn-widgets/vviinn-image-view.entry.js +0 -55
  260. package/dist/vviinn-widgets/vviinn-modal.entry.js +0 -30
  261. package/dist/vviinn-widgets/vviinn-onboarding-card-1.entry.js +0 -21
  262. package/dist/vviinn-widgets/vviinn-onboarding-card-2.entry.js +0 -21
  263. package/dist/vviinn-widgets/vviinn-onboarding-card-3.entry.js +0 -21
  264. package/dist/vviinn-widgets/vviinn-onboarding.entry.js +0 -20
  265. package/dist/vviinn-widgets/vviinn-overlay.entry.js +0 -15
  266. package/dist/vviinn-widgets/vviinn-overlayed-modal.entry.js +0 -18
  267. package/dist/vviinn-widgets/vviinn-privacy-badge.entry.js +0 -20
  268. package/dist/vviinn-widgets/vviinn-product-card.entry.js +0 -176
  269. package/dist/vviinn-widgets/vviinn-server-error.entry.js +0 -16
  270. package/dist/vviinn-widgets/vviinn-slide.entry.js +0 -15
  271. package/dist/vviinn-widgets/vviinn-slider.entry.js +0 -120
  272. package/dist/vviinn-widgets/vviinn-teaser.entry.js +0 -20
  273. package/dist/vviinn-widgets/vviinn-vpr-widget.entry.js +0 -128
  274. package/dist/vviinn-widgets/vviinn-wrong-format.entry.js +0 -16
  275. package/www/build/Array-4b9f84cf.js +0 -4295
  276. package/www/build/Handler-47db9890.js +0 -1428
  277. package/www/build/NonEmptyArray-6ef0d207.js +0 -4370
  278. package/www/build/css-shim-f0027935.js +0 -4
  279. package/www/build/dom-db0073f0.js +0 -73
  280. package/www/build/highlight-box.entry.js +0 -41
  281. package/www/build/image-cropper.entry.js +0 -113
  282. package/www/build/index-b6d739a9.js +0 -3010
  283. package/www/build/number-98d54dd6.js +0 -1533
  284. package/www/build/search-filters.entry.js +0 -73
  285. package/www/build/shadow-css-c1fdfa9f.js +0 -389
  286. package/www/build/vviinn-detected-object.entry.js +0 -52
  287. package/www/build/vviinn-empty-results.entry.js +0 -16
  288. package/www/build/vviinn-example-image.entry.js +0 -38
  289. package/www/build/vviinn-example-images.entry.js +0 -28
  290. package/www/build/vviinn-image-selector.entry.js +0 -31
  291. package/www/build/vviinn-image-view.entry.js +0 -55
  292. package/www/build/vviinn-modal.entry.js +0 -30
  293. package/www/build/vviinn-onboarding-card-1.entry.js +0 -21
  294. package/www/build/vviinn-onboarding-card-2.entry.js +0 -21
  295. package/www/build/vviinn-onboarding-card-3.entry.js +0 -21
  296. package/www/build/vviinn-onboarding.entry.js +0 -20
  297. package/www/build/vviinn-overlay.entry.js +0 -15
  298. package/www/build/vviinn-overlayed-modal.entry.js +0 -18
  299. package/www/build/vviinn-privacy-badge.entry.js +0 -20
  300. package/www/build/vviinn-product-card.entry.js +0 -176
  301. package/www/build/vviinn-server-error.entry.js +0 -16
  302. package/www/build/vviinn-slide.entry.js +0 -15
  303. package/www/build/vviinn-slider.entry.js +0 -120
  304. package/www/build/vviinn-teaser.entry.js +0 -20
  305. package/www/build/vviinn-vpr-widget.entry.js +0 -128
  306. package/www/build/vviinn-vps-button.entry.js +0 -39
  307. package/www/build/vviinn-wrong-format.entry.js +0 -16
@@ -0,0 +1,138 @@
1
+ :host {
2
+ --vviinn-progressbar-width: 0;
3
+ --vviinn-carousel-item-width: 150px;
4
+ --vviinn-carousel-columns-internal: var(--vviinn-carousel-columns, 4);
5
+ --vviinn-carousel-image-width-system: 140px;
6
+ }
7
+
8
+ .body {
9
+ display: flex;
10
+ position: relative;
11
+ width: var(--vviinn-carousel-content-width);
12
+ flex-direction: column;
13
+ }
14
+
15
+ .content-wrapper * {
16
+ box-sizing: border-box;
17
+ }
18
+
19
+ .content-wrapper {
20
+ overflow-y: hidden;
21
+ overflow-x: auto;
22
+ flex-grow: 1;
23
+ }
24
+
25
+ .bullets {
26
+ margin-top: 16px;
27
+ display: flex;
28
+ flex-direction: row;
29
+ grid-gap: 24px;
30
+ justify-content: center;
31
+ }
32
+
33
+ .bullet {
34
+ width: 10px;
35
+ height: 10px;
36
+ background: #E0E0E0;
37
+ border-radius: 50%;
38
+ cursor: pointer;
39
+ }
40
+
41
+ .bullet.active {
42
+ background: #161616;
43
+ }
44
+
45
+ .content:not(.show-scrollbar),
46
+ .content.grid {
47
+ scrollbar-color: #fff0 #fff0;
48
+ }
49
+
50
+ .content:not(.show-scrollbar)::-webkit-scrollbar,
51
+ .content.grid::-webkit-scrollbar {
52
+ opacity: 0;
53
+ }
54
+
55
+ .content {
56
+ display: flex;
57
+ flex-direction: row;
58
+ grid-gap: 8px;
59
+ -ms-scroll-snap-type: x mandatory;
60
+ scroll-snap-type: x mandatory;
61
+ overflow-y: hidden;
62
+ overflow-x: auto;
63
+ flex-grow: 1;
64
+ padding-bottom: 16px;
65
+ }
66
+
67
+ .content.left > * {
68
+ scroll-snap-align: start;
69
+ }
70
+
71
+ .content.right > * {
72
+ scroll-snap-align: end;
73
+ }
74
+
75
+ :host(.continuity) button {
76
+ border-radius: 2px;
77
+ }
78
+
79
+ :host(.grid) button {
80
+ border-radius: 50%;
81
+ }
82
+
83
+ button {
84
+ align-items: center;
85
+ background-color: white;
86
+ border: none;
87
+ box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
88
+ cursor: pointer;
89
+ display: grid;
90
+ height: 40px;
91
+ justify-items: center;
92
+ position: absolute;
93
+ top: calc(50% - 20px);
94
+ width: 40px;
95
+ z-index: 1;
96
+ padding: 0;
97
+ margin: 0;
98
+ }
99
+
100
+ button.prev svg {
101
+ transform: rotate(180deg);
102
+ margin-left: -5px;
103
+ }
104
+
105
+ .prev {
106
+ left: 0;
107
+ }
108
+
109
+ .next {
110
+ right: 0;
111
+ }
112
+
113
+ .items-group {
114
+ display: grid;
115
+ grid-gap: 16px;
116
+ grid-template-columns: repeat(var(--vviinn-carousel-columns-internal), 1fr);
117
+ min-width: 100%;
118
+ }
119
+
120
+ vviinn-product-card::part(price-container) {
121
+ text-align: center;
122
+ }
123
+
124
+ :host(.classic) vviinn-product-card::part(title),
125
+ :host(.classic) vviinn-product-card::part(brand),
126
+ :host(.classic) vviinn-product-card::part(type) {
127
+ text-align: center;
128
+ }
129
+
130
+ @media(max-width: 480px) {
131
+ :host(.modern) button {
132
+ display: none;
133
+ }
134
+
135
+ .items-group {
136
+ grid-template-columns: repeat(2, 1fr);
137
+ }
138
+ }
@@ -1,17 +1,12 @@
1
- import { r as registerInstance, h, e as Host, g as getElement } from './index-b6d739a9.js';
2
- import { _ as _Array } from './Array-4b9f84cf.js';
3
- import { a as ChevronIcon } from './index-c9483145.js';
4
- import './NonEmptyArray-6ef0d207.js';
5
-
6
- const vviinnCarouselCss = ":host{--vviinn-progressbar-width:0;--vviinn-carousel-item-width:150px;--vviinn-carousel-columns-internal:var(--vviinn-carousel-columns, 4);--vviinn-carousel-image-width-system:140px}.body{display:flex;position:relative;width:var(--vviinn-carousel-content-width);flex-direction:column}.content-wrapper *{box-sizing:border-box}.content-wrapper{overflow-y:hidden;overflow-x:auto;flex-grow:1}.bullets{margin-top:16px;display:flex;flex-direction:row;grid-gap:24px;justify-content:center}.bullet{width:10px;height:10px;background:#E0E0E0;border-radius:50%;cursor:pointer}.bullet.active{background:#161616}.content:not(.show-scrollbar){scrollbar-color:#fff0 #fff0}.content:not(.show-scrollbar)::-webkit-scrollbar{opacity:0}.content{display:flex;flex-direction:row;grid-gap:8px;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-y:hidden;overflow-x:auto;flex-grow:1;padding-bottom:16px}.content.left>*{scroll-snap-align:start}.content.right>*{scroll-snap-align:end}:host(.continuity) button{border-radius:2px}:host(.grid) button{border-radius:50%}button{align-items:center;background-color:white;border:none;box-shadow:0px 2px 6px rgba(0, 0, 0, 0.15);cursor:pointer;display:grid;height:40px;justify-items:center;position:absolute;top:calc(50% - 20px);width:40px;z-index:1;padding:0;margin:0}button.prev svg{transform:rotate(180deg);margin-left:-5px}.prev{left:0}.next{right:0}.items-group{display:grid;grid-gap:16px;grid-template-columns:repeat(var(--vviinn-carousel-columns-internal), 1fr);min-width:100%}vviinn-product-card::part(price-container){text-align:center}:host(.classic) vviinn-product-card::part(title),:host(.classic) vviinn-product-card::part(brand),:host(.classic) vviinn-product-card::part(type){text-align:center}@media (max-width: 480px){:host(.modern) button{display:none}.items-group{grid-template-columns:repeat(2, 1fr)}}";
7
-
1
+ import { Component, Host, h, Element, State, Prop } from "@stencil/core";
2
+ import { chunksOf } from "fp-ts/lib/Array";
3
+ import { ChevronIcon } from "../vviinn-icons";
8
4
  const COLUMNS_NUMBER_CSS_VAR = "--vviinn-carousel-columns-internal";
9
5
  const CAROUSEL_WIDTH_CSS_VAR = "--vviinn-carousel-content-width";
10
6
  const CAROUSEL_IMAGE_WIDTH_CSS_VAR = "--vviinn-carousel-image-width";
11
7
  const CONTENT_GROUP_CSS_CLASS = "items-group";
12
- let VviinnCarousel = class {
13
- constructor(hostRef) {
14
- registerInstance(this, hostRef);
8
+ export class VviinnCarousel {
9
+ constructor() {
15
10
  this.moveDirection = "right";
16
11
  this.contentGroups = [];
17
12
  this.activeContentGroup = 0;
@@ -84,6 +79,11 @@ let VviinnCarousel = class {
84
79
  parseInt(parentStyles["padding-left"]));
85
80
  this.el.style.setProperty(CAROUSEL_WIDTH_CSS_VAR, `${width}px`);
86
81
  }
82
+ getParent() {
83
+ const parentNode = this.el.parentNode;
84
+ const host = parentNode.host;
85
+ return host.parentElement;
86
+ }
87
87
  cloneSlottedContent() {
88
88
  this.setWidth();
89
89
  }
@@ -184,7 +184,7 @@ let VviinnCarousel = class {
184
184
  }
185
185
  renderGrid() {
186
186
  const recommendations = this.renderRecommendationsElements();
187
- const grouppedContent = _Array.chunksOf(this.getColumnsNumber())(recommendations);
187
+ const grouppedContent = chunksOf(this.getColumnsNumber())(recommendations);
188
188
  return this.renderRecommendationGroups(grouppedContent);
189
189
  }
190
190
  renderBullets() {
@@ -196,10 +196,107 @@ let VviinnCarousel = class {
196
196
  }, onClick: () => this.scroll(index) })));
197
197
  }
198
198
  render() {
199
- return (h(Host, { class: this.getClassMap() }, h("div", { class: Object.assign({ body: true }, this.getClassMap()) }, h("button", { class: "prev", onClick: () => this.showPrev() }, h(ChevronIcon, null)), h("div", { class: this.getContentClassMap(), onScroll: () => this.processScrollbarWidth() }, this.renderRecommendations()), h("button", { class: "next", onClick: () => this.showNext() }, h(ChevronIcon, null))), this.showBullets() ? (h("div", { class: "bullets" }, this.renderBullets())) : ("")));
200
- }
201
- get el() { return getElement(this); }
202
- };
203
- VviinnCarousel.style = vviinnCarouselCss;
204
-
205
- export { VviinnCarousel as vviinn_carousel };
199
+ return (h(Host, { class: this.getClassMap() },
200
+ h("div", { class: Object.assign({ body: true }, this.getClassMap()) },
201
+ h("button", { class: "prev", onClick: () => this.showPrev() },
202
+ h(ChevronIcon, null)),
203
+ h("div", { class: this.getContentClassMap(), onScroll: () => this.processScrollbarWidth() }, this.renderRecommendations()),
204
+ h("button", { class: "next", onClick: () => this.showNext() },
205
+ h(ChevronIcon, null))),
206
+ this.showBullets() ? (h("div", { class: "bullets" }, this.renderBullets())) : ("")));
207
+ }
208
+ static get is() { return "vviinn-carousel"; }
209
+ static get originalStyleUrls() { return {
210
+ "$": ["vviinn-carousel.css"]
211
+ }; }
212
+ static get styleUrls() { return {
213
+ "$": ["vviinn-carousel.css"]
214
+ }; }
215
+ static get properties() { return {
216
+ "mode": {
217
+ "type": "string",
218
+ "mutable": false,
219
+ "complexType": {
220
+ "original": "CarouselMode",
221
+ "resolved": "\"continuity\" | \"grid\"",
222
+ "references": {
223
+ "CarouselMode": {
224
+ "location": "local"
225
+ }
226
+ }
227
+ },
228
+ "required": false,
229
+ "optional": false,
230
+ "docs": {
231
+ "tags": [],
232
+ "text": ""
233
+ },
234
+ "attribute": "mode",
235
+ "reflect": false,
236
+ "defaultValue": "\"continuity\""
237
+ },
238
+ "imageWidth": {
239
+ "type": "number",
240
+ "mutable": false,
241
+ "complexType": {
242
+ "original": "number",
243
+ "resolved": "number",
244
+ "references": {}
245
+ },
246
+ "required": false,
247
+ "optional": false,
248
+ "docs": {
249
+ "tags": [],
250
+ "text": ""
251
+ },
252
+ "attribute": "image-width",
253
+ "reflect": false,
254
+ "defaultValue": "140"
255
+ },
256
+ "showScroll": {
257
+ "type": "boolean",
258
+ "mutable": false,
259
+ "complexType": {
260
+ "original": "boolean",
261
+ "resolved": "boolean",
262
+ "references": {}
263
+ },
264
+ "required": false,
265
+ "optional": false,
266
+ "docs": {
267
+ "tags": [],
268
+ "text": ""
269
+ },
270
+ "attribute": "show-scroll",
271
+ "reflect": false,
272
+ "defaultValue": "true"
273
+ },
274
+ "recommendations": {
275
+ "type": "unknown",
276
+ "mutable": false,
277
+ "complexType": {
278
+ "original": "Recommendation[]",
279
+ "resolved": "{ groupId?: string; productId?: string; title?: string; deeplink?: string; brand?: string; productType?: string; image?: { original?: string; thumbnail?: string; }; price?: { actual?: number; sale?: number; }; }[]",
280
+ "references": {
281
+ "Recommendation": {
282
+ "location": "import",
283
+ "path": "../../recommendation/recommendation"
284
+ }
285
+ }
286
+ },
287
+ "required": false,
288
+ "optional": false,
289
+ "docs": {
290
+ "tags": [],
291
+ "text": ""
292
+ },
293
+ "defaultValue": "[]"
294
+ }
295
+ }; }
296
+ static get states() { return {
297
+ "moveDirection": {},
298
+ "contentGroups": {},
299
+ "activeContentGroup": {}
300
+ }; }
301
+ static get elementRef() { return "el"; }
302
+ }
@@ -0,0 +1,7 @@
1
+ :host {
2
+ display: grid;
3
+ }
4
+
5
+ vviinn-error {
6
+ justify-items: center;
7
+ }
@@ -0,0 +1,36 @@
1
+ import { Component, Host, h, Event } from "@stencil/core";
2
+ export class VviinnEmptyResults {
3
+ render() {
4
+ return (h(Host, null,
5
+ h("vviinn-error", null,
6
+ h("svg", { slot: "icon", class: "icon", width: "32", height: "32", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
7
+ h("path", { d: "M16 2a14 14 0 1 0 0 28 14 14 0 0 0 0-28Zm0 26a12 12 0 1 1 0-24 12 12 0 0 1 0 24Z", fill: "#525252" }),
8
+ h("path", { d: "M17 8h-2v11h2V8Zm-1 14a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z", fill: "#525252" })),
9
+ h("h4", { slot: "title" }, "Leider nichts gefunden"),
10
+ h("span", { slot: "text" }, "Leider konnten wir keine passenden Produkte finden. Bitte versuche es mit einem anderen Bildausschnitt noch einmal."))));
11
+ }
12
+ static get is() { return "vviinn-empty-results"; }
13
+ static get encapsulation() { return "shadow"; }
14
+ static get originalStyleUrls() { return {
15
+ "$": ["vviinn-empty-results.css"]
16
+ }; }
17
+ static get styleUrls() { return {
18
+ "$": ["vviinn-empty-results.css"]
19
+ }; }
20
+ static get events() { return [{
21
+ "method": "actionClick",
22
+ "name": "actionClick",
23
+ "bubbles": true,
24
+ "cancelable": true,
25
+ "composed": true,
26
+ "docs": {
27
+ "tags": [],
28
+ "text": ""
29
+ },
30
+ "complexType": {
31
+ "original": "void",
32
+ "resolved": "void",
33
+ "references": {}
34
+ }
35
+ }]; }
36
+ }
@@ -0,0 +1,38 @@
1
+ :host {
2
+ background: #F4F4F4;
3
+ border-radius: 8px;
4
+ display: grid;
5
+ grid-gap: 20px;
6
+ padding: 24px;
7
+ text-align: center;
8
+ }
9
+
10
+ ::slotted(svg) {
11
+ display: grid;
12
+ align-self: center;
13
+ }
14
+
15
+ ::slotted(h4) {
16
+ margin: unset;
17
+ font-weight: 600;
18
+ font-size: 18px;
19
+ line-height: 24px;
20
+ }
21
+
22
+ ::slotted(span) {
23
+ font-size: 14px;
24
+ line-height: 20px;
25
+ }
26
+
27
+ ::slotted(button) {
28
+ -webkit-appearance: none;
29
+ -moz-appearance: none;
30
+ appearance: none;
31
+ border: none;
32
+ background: transparent;
33
+ color: var(--color-primary, var(--color-primary-system));
34
+ font-weight: 600;
35
+ font-size: 16px;
36
+ line-height: 20px;
37
+ cursor: pointer;
38
+ }
@@ -0,0 +1,18 @@
1
+ import { Component, Host, h } from "@stencil/core";
2
+ export class VviinnError {
3
+ render() {
4
+ return (h(Host, null,
5
+ h("slot", { name: "icon" }),
6
+ h("slot", { name: "title" }),
7
+ h("slot", { name: "text" }),
8
+ h("slot", { name: "action" })));
9
+ }
10
+ static get is() { return "vviinn-error"; }
11
+ static get encapsulation() { return "shadow"; }
12
+ static get originalStyleUrls() { return {
13
+ "$": ["vviinn-error.css"]
14
+ }; }
15
+ static get styleUrls() { return {
16
+ "$": ["vviinn-error.css"]
17
+ }; }
18
+ }
@@ -0,0 +1,34 @@
1
+ import { Component, Host, h, Event } from "@stencil/core";
2
+ export class VviinnServerError {
3
+ render() {
4
+ return (h(Host, null,
5
+ h("vviinn-error", null,
6
+ h("h4", { slot: "title" }, "Keine Verbindung"),
7
+ h("span", { slot: "text" }, "Etwas hat leider nicht funktioniert. Bitte pr\u00FCfen Sie Ihre Internetverbindung und laden Sie das Bild noch einmal hoch."),
8
+ h("button", { slot: "action", onClick: () => this.actionClick.emit() }, "Erneut versuchen"))));
9
+ }
10
+ static get is() { return "vviinn-server-error"; }
11
+ static get encapsulation() { return "shadow"; }
12
+ static get originalStyleUrls() { return {
13
+ "$": ["vviinn-server-error.css"]
14
+ }; }
15
+ static get styleUrls() { return {
16
+ "$": ["vviinn-server-error.css"]
17
+ }; }
18
+ static get events() { return [{
19
+ "method": "actionClick",
20
+ "name": "actionClick",
21
+ "bubbles": true,
22
+ "cancelable": true,
23
+ "composed": true,
24
+ "docs": {
25
+ "tags": [],
26
+ "text": ""
27
+ },
28
+ "complexType": {
29
+ "original": "void",
30
+ "resolved": "void",
31
+ "references": {}
32
+ }
33
+ }]; }
34
+ }
@@ -0,0 +1,34 @@
1
+ import { Component, Host, h, Event } from "@stencil/core";
2
+ export class VviinnWrongFormat {
3
+ render() {
4
+ return (h(Host, null,
5
+ h("vviinn-error", null,
6
+ h("h4", { slot: "title" }, "Dateityp wird nicht unterst\u00FCtzt"),
7
+ h("span", { slot: "text" }, "Leider unterst\u00FCtzen wir dieses Format nicht. Bitte laden Sie eine .jpg, .png oder .webp Bilddatei hoch."),
8
+ h("button", { slot: "action", onClick: () => this.actionClick.emit() }, "Neues Bild hochladen"))));
9
+ }
10
+ static get is() { return "vviinn-wrong-format"; }
11
+ static get encapsulation() { return "shadow"; }
12
+ static get originalStyleUrls() { return {
13
+ "$": ["vviinn-wrong-format.css"]
14
+ }; }
15
+ static get styleUrls() { return {
16
+ "$": ["vviinn-wrong-format.css"]
17
+ }; }
18
+ static get events() { return [{
19
+ "method": "actionClick",
20
+ "name": "actionClick",
21
+ "bubbles": true,
22
+ "cancelable": true,
23
+ "composed": true,
24
+ "docs": {
25
+ "tags": [],
26
+ "text": ""
27
+ },
28
+ "complexType": {
29
+ "original": "void",
30
+ "resolved": "void",
31
+ "references": {}
32
+ }
33
+ }]; }
34
+ }
@@ -0,0 +1,34 @@
1
+ :host {
2
+ display: block;
3
+ margin-bottom: 8px;
4
+ position: relative;
5
+ }
6
+
7
+ img {
8
+ width: 100%;
9
+ height: auto;
10
+ cursor: pointer;
11
+ }
12
+
13
+ .image-preloader {
14
+ background: rgba(0, 0, 0, 0.25);
15
+ border-radius: 4px;
16
+ bottom: 12px;
17
+ display: none;
18
+ padding: 4px 6px;
19
+ pointer-events: none;
20
+ position: absolute;
21
+ right: 12px;
22
+ z-index: 4;
23
+ }
24
+
25
+ vviinn-preloader {
26
+ --preloader-size: 12px;
27
+ }
28
+
29
+ @media (max-width: 640px) {
30
+ .image-preloader {
31
+ display: block;
32
+ }
33
+ }
34
+
@@ -0,0 +1,129 @@
1
+ import { Component, Host, h, Prop, Event, State, } from "@stencil/core";
2
+ import { pipe } from "fp-ts/lib/function";
3
+ import { toFile } from "../../../Image/toFile";
4
+ import { imageSearchState, processSelectedFile, } from "../../../store/imageSearch.store";
5
+ import * as E from "fp-ts/lib/Either";
6
+ export class VviinnExampleImage {
7
+ constructor() {
8
+ this.src = "";
9
+ this.width = 0;
10
+ this.height = 0;
11
+ this.selected = false;
12
+ }
13
+ async selectImage(_event) {
14
+ this.selected = true;
15
+ const file = await toFile(this.src);
16
+ const processResult = await processSelectedFile(file);
17
+ pipe(processResult, E.match(() => this.exampleImageError.emit(), () => this.exampleImageSelected.emit()));
18
+ this.selected = false;
19
+ }
20
+ showPreloader() {
21
+ return ((imageSearchState.objectDetectionInProgress ||
22
+ imageSearchState.loading) &&
23
+ this.selected);
24
+ }
25
+ render() {
26
+ return (h(Host, null,
27
+ this.showPreloader() ? (h("div", { class: "image-preloader" },
28
+ h("vviinn-preloader", null))) : null,
29
+ h("img", { onClick: (ev) => this.selectImage(ev), src: this.src, width: this.width, height: this.height })));
30
+ }
31
+ static get is() { return "vviinn-example-image"; }
32
+ static get encapsulation() { return "shadow"; }
33
+ static get originalStyleUrls() { return {
34
+ "$": ["vviinn-example-image.css"]
35
+ }; }
36
+ static get styleUrls() { return {
37
+ "$": ["vviinn-example-image.css"]
38
+ }; }
39
+ static get properties() { return {
40
+ "src": {
41
+ "type": "string",
42
+ "mutable": false,
43
+ "complexType": {
44
+ "original": "string",
45
+ "resolved": "string",
46
+ "references": {}
47
+ },
48
+ "required": false,
49
+ "optional": false,
50
+ "docs": {
51
+ "tags": [],
52
+ "text": ""
53
+ },
54
+ "attribute": "src",
55
+ "reflect": false,
56
+ "defaultValue": "\"\""
57
+ },
58
+ "width": {
59
+ "type": "number",
60
+ "mutable": false,
61
+ "complexType": {
62
+ "original": "number",
63
+ "resolved": "number",
64
+ "references": {}
65
+ },
66
+ "required": false,
67
+ "optional": false,
68
+ "docs": {
69
+ "tags": [],
70
+ "text": ""
71
+ },
72
+ "attribute": "width",
73
+ "reflect": false,
74
+ "defaultValue": "0"
75
+ },
76
+ "height": {
77
+ "type": "number",
78
+ "mutable": false,
79
+ "complexType": {
80
+ "original": "number",
81
+ "resolved": "number",
82
+ "references": {}
83
+ },
84
+ "required": false,
85
+ "optional": false,
86
+ "docs": {
87
+ "tags": [],
88
+ "text": ""
89
+ },
90
+ "attribute": "height",
91
+ "reflect": false,
92
+ "defaultValue": "0"
93
+ }
94
+ }; }
95
+ static get states() { return {
96
+ "selected": {}
97
+ }; }
98
+ static get events() { return [{
99
+ "method": "exampleImageSelected",
100
+ "name": "exampleImageSelected",
101
+ "bubbles": true,
102
+ "cancelable": true,
103
+ "composed": true,
104
+ "docs": {
105
+ "tags": [],
106
+ "text": ""
107
+ },
108
+ "complexType": {
109
+ "original": "void",
110
+ "resolved": "void",
111
+ "references": {}
112
+ }
113
+ }, {
114
+ "method": "exampleImageError",
115
+ "name": "exampleImageError",
116
+ "bubbles": true,
117
+ "cancelable": true,
118
+ "composed": true,
119
+ "docs": {
120
+ "tags": [],
121
+ "text": ""
122
+ },
123
+ "complexType": {
124
+ "original": "void",
125
+ "resolved": "void",
126
+ "references": {}
127
+ }
128
+ }]; }
129
+ }
@@ -0,0 +1,19 @@
1
+ :host {
2
+ }
3
+
4
+ h3 {
5
+ font-size: 22px;
6
+ font-weight: 600;
7
+ line-height: 32px;
8
+ margin: 0;
9
+ margin-bottom: 16px;
10
+ text-align: center;
11
+ }
12
+
13
+ .images {
14
+ display: block;
15
+ -moz-column-count: 2;
16
+ column-count: 2;
17
+ -moz-column-gap: 16px;
18
+ column-gap: 16px;
19
+ }