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.
- package/dist/cjs/Handler-d1a8a86a.js +329 -0
- package/dist/{vviinn-widgets/app-globals-e0943e34.js → cjs/app-globals-30781f30.js} +15 -925
- package/{www/build/cropper-handler.entry.js → dist/cjs/cropper-handler.cjs.entry.js} +11 -7
- package/dist/{vviinn-widgets/customized-slots-f3449695.js → cjs/customized-slots-5d904d8e.js} +6 -3
- package/dist/cjs/highlight-box_22.cjs.entry.js +737 -0
- package/{www/build/imageSearch.store-407f49f0.js → dist/cjs/imageSearch.store-128957a4.js} +11573 -11902
- package/dist/cjs/index-741a970d.js +1354 -0
- package/dist/cjs/index-c493804d.js +41 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +23 -0
- package/dist/cjs/vviinn-carousel_5.cjs.entry.js +1232 -0
- package/dist/{vviinn-widgets/vviinn-error.entry.js → cjs/vviinn-error.cjs.entry.js} +8 -4
- package/{www/build/vviinn-preloader.entry.js → dist/cjs/vviinn-preloader.cjs.entry.js} +11 -10
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +43 -0
- package/{www/build/vviinn-vps-widget.entry.js → dist/cjs/vviinn-vps-widget.cjs.entry.js} +31 -30
- package/dist/cjs/vviinn-widgets.cjs.js +21 -0
- package/dist/collection/Image/error.js +14 -0
- package/dist/collection/Image/form.js +5 -0
- package/dist/collection/Image/fromFile.js +18 -0
- package/dist/collection/Image/imageToB64.js +9 -0
- package/dist/collection/Image/index.js +0 -0
- package/dist/collection/Image/renderPromise.js +6 -0
- package/dist/collection/Image/resizeImage.js +28 -0
- package/dist/collection/Image/sizing.js +39 -0
- package/dist/collection/Image/toFile.js +17 -0
- package/dist/collection/analytics/GAnalytics.js +32 -0
- package/dist/collection/analytics/GeneralAnalytics.js +9 -0
- package/dist/collection/analytics/GtagAnalytics.js +35 -0
- package/dist/collection/analytics/ProductAnalytics.js +1 -0
- package/dist/collection/campaign/Campaign.js +8 -0
- package/dist/collection/campaign/CampaignService.js +5 -0
- package/dist/collection/campaign/VCSCampaign.js +1 -0
- package/dist/collection/campaign/VCSCampaignResponse.js +1 -0
- package/dist/collection/campaign/VCSCampaignService.js +5 -0
- package/dist/collection/campaign/VPRCampaignResponse.js +1 -0
- package/dist/collection/campaign/VPRCampaignService.js +5 -0
- package/dist/collection/collection-manifest.json +43 -0
- package/dist/collection/components/customized-slots.js +47 -0
- package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.css +71 -0
- package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.js +25 -0
- package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.css +49 -0
- package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.js +64 -0
- package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.css +33 -0
- package/dist/{vviinn-widgets/image-cropper.entry.js → collection/components/image-search/image-view/image-cropper/image-cropper.js} +54 -32
- package/dist/collection/components/image-search/search-filters/search-filters.css +120 -0
- package/dist/collection/components/image-search/search-filters/search-filters.js +102 -0
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +138 -0
- package/{www/build/vviinn-carousel.entry.js → dist/collection/components/vviinn-carousel/vviinn-carousel.js} +115 -18
- package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.css +7 -0
- package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +36 -0
- package/dist/collection/components/vviinn-error/vviinn-error.css +38 -0
- package/dist/collection/components/vviinn-error/vviinn-error.js +18 -0
- package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.css +3 -0
- package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.js +34 -0
- package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.css +3 -0
- package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.js +34 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.css +34 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js +129 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-images.css +19 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +80 -0
- package/dist/{vviinn-widgets/index-c9483145.js → collection/components/vviinn-icons/index.js} +13 -12
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.css +25 -0
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +64 -0
- package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.css +47 -0
- package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +83 -0
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +31 -0
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +61 -0
- package/dist/collection/components/vviinn-modal/vviinn-modal.css +105 -0
- package/dist/collection/components/vviinn-modal/vviinn-modal.js +98 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/onboarding-card.css +41 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +26 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +26 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +26 -0
- package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.css +58 -0
- package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +28 -0
- package/dist/collection/components/vviinn-overlay/vviinn-overlay.css +33 -0
- package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +15 -0
- package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.css +29 -0
- package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +71 -0
- package/dist/collection/components/vviinn-preloader/vviinn-preloader.css +37 -0
- package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +20 -0
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.css +19 -0
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +27 -0
- package/dist/collection/components/vviinn-product-card/render-helpers.js +32 -0
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.css +95 -0
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +425 -0
- package/dist/collection/components/vviinn-slider/arrow.js +11 -0
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.css +4 -0
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +15 -0
- package/dist/collection/components/vviinn-slider/vviinn-slider.css +109 -0
- package/dist/collection/components/vviinn-slider/vviinn-slider.js +181 -0
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.css +14 -0
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +29 -0
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.css +238 -0
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +200 -0
- package/dist/collection/components/vviinn-vpr-button/stories/kek.stories.js +18 -0
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.css +35 -0
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +149 -0
- package/dist/collection/components/vviinn-vpr-widget/GridMode.js +1 -0
- package/dist/collection/components/vviinn-vpr-widget/token-helpers.js +11 -0
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +441 -0
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.css +74 -0
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.css +0 -0
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +177 -0
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +350 -0
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +247 -0
- package/dist/collection/cropper/Cropper.js +1 -0
- package/dist/collection/cropper/Handler.js +61 -0
- package/dist/collection/dom/index.js +3 -0
- package/dist/collection/error.js +14 -0
- package/dist/collection/file/index.js +4 -0
- package/dist/collection/geometry/Clip.js +14 -0
- package/dist/collection/geometry/Point.js +32 -0
- package/dist/collection/geometry/Rectangle.js +95 -0
- package/dist/collection/geometry/RectangleAlt.js +1 -0
- package/dist/collection/geometry/Sized.js +8 -0
- package/dist/collection/global.js +19 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/interfaces/generated.js +5 -0
- package/dist/collection/interfaces/recommendation.js +1 -0
- package/dist/collection/network/apiClient.js +9 -0
- package/dist/collection/network/ion/File.js +14 -0
- package/dist/collection/network/ion/Form.js +64 -0
- package/dist/collection/network/ion/Link.js +8 -0
- package/dist/collection/network/ion/ValueObject.js +23 -0
- package/dist/collection/network/request.js +19 -0
- package/dist/collection/network/utils.js +37 -0
- package/dist/collection/recommendation/recommendation.js +1 -0
- package/dist/collection/searchSession/searchSession.js +26 -0
- package/dist/collection/sentry.js +14 -0
- package/dist/collection/slider/GridMode.js +1 -0
- package/dist/collection/store/file-processing.js +13 -0
- package/dist/collection/store/imageSearch.store.js +138 -0
- package/dist/collection/store/store.js +11 -0
- package/dist/collection/stories/Button.js +21 -0
- package/dist/collection/stories/Button.stories.js +42 -0
- package/dist/collection/stories/Header.js +45 -0
- package/dist/collection/stories/Header.stories.js +15 -0
- package/dist/collection/stories/Page.js +61 -0
- package/dist/collection/stories/Page.stories.js +19 -0
- package/dist/collection/stories/assets/code-brackets.svg +1 -0
- package/dist/collection/stories/assets/colors.svg +1 -0
- package/dist/collection/stories/assets/comments.svg +1 -0
- package/dist/collection/stories/assets/direction.svg +1 -0
- package/dist/collection/stories/assets/flow.svg +1 -0
- package/dist/collection/stories/assets/plugin.svg +1 -0
- package/dist/collection/stories/assets/repo.svg +1 -0
- package/dist/collection/stories/assets/stackalt.svg +1 -0
- package/dist/collection/stories/image-selector.stories.js +6 -0
- package/dist/collection/stories/image-view.stories.js +6 -0
- package/dist/collection/stories/modal.stories.js +12 -0
- package/dist/collection/stories/onboarding.stories.js +11 -0
- package/dist/collection/stories/overlay.stories.js +5 -0
- package/dist/collection/stories/overlayedModal.stories.js +8 -0
- package/dist/collection/stories/privacy-badge.stories.js +11 -0
- package/dist/collection/stories/slider.stories.js +17 -0
- package/dist/collection/stories/teaser.stories.js +5 -0
- package/dist/collection/stories/vps-widget.stories.js +47 -0
- package/dist/collection/stories/vviinn-product.stories.js +19 -0
- package/dist/collection/utils/collections/collectionsUtils.js +5 -0
- package/dist/collection/utils/either.js +3 -0
- package/dist/collection/utils/enum/enumUtils.js +3 -0
- package/dist/collection/utils/event/Events.js +1 -0
- package/dist/collection/utils/number/index.js +4 -0
- package/dist/collection/utils/option/option.js +4 -0
- package/dist/collection/utils/semigroup/semigroupDiff.js +6 -0
- package/dist/collection/utils/token/tokenUtils.js +9 -0
- package/dist/esm/Handler-639a4cb3.js +308 -0
- package/{www/build/app-globals-e0943e34.js → dist/esm/app-globals-345e497d.js} +10 -922
- package/dist/{vviinn-widgets → esm}/cropper-handler.entry.js +2 -2
- package/{www/build/customized-slots-f3449695.js → dist/esm/customized-slots-a76a8d41.js} +1 -1
- package/dist/esm/highlight-box_22.entry.js +712 -0
- package/dist/{vviinn-widgets/imageSearch.store-407f49f0.js → esm/imageSearch.store-8eab0da1.js} +11510 -11872
- package/dist/esm/index-6fa21e24.js +1323 -0
- package/{www/build/index-c9483145.js → dist/esm/index-8cb063df.js} +6 -4
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +19 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/vviinn-carousel_5.entry.js +1224 -0
- package/{www/build → dist/esm}/vviinn-error.entry.js +1 -1
- package/dist/{vviinn-widgets → esm}/vviinn-preloader.entry.js +3 -6
- package/dist/{vviinn-widgets → esm}/vviinn-vps-button.entry.js +3 -3
- package/dist/{vviinn-widgets → esm}/vviinn-vps-widget.entry.js +4 -7
- package/dist/esm/vviinn-widgets.js +19 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +12 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +10 -0
- package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +1 -0
- package/dist/types/components/vviinn-icons/index.d.ts +2 -0
- package/dist/types/components/vviinn-product-card/render-helpers.d.ts +3 -2
- package/dist/types/components/vviinn-product-card/vviinn-product-card.d.ts +2 -0
- package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +25 -0
- package/dist/types/components/vviinn-vpr-button/stories/kek.stories.d.ts +7 -0
- package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +14 -0
- package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +13 -3
- package/dist/types/components.d.ts +54 -0
- package/dist/vviinn-widgets/index.esm.js +0 -1
- package/dist/vviinn-widgets/p-04b06ea9.entry.js +1 -0
- package/dist/vviinn-widgets/p-400eb62f.entry.js +1 -0
- package/dist/vviinn-widgets/p-56fc949a.js +1 -0
- package/dist/vviinn-widgets/p-59edfbe2.js +1 -0
- package/dist/vviinn-widgets/p-78ccc9eb.js +15 -0
- package/dist/vviinn-widgets/p-9d24f51e.entry.js +1 -0
- package/dist/vviinn-widgets/p-d085199d.entry.js +1 -0
- package/dist/vviinn-widgets/p-e1ba8626.js +1 -0
- package/dist/vviinn-widgets/p-e38f4aa2.entry.js +1 -0
- package/dist/vviinn-widgets/p-e67cae57.js +1 -0
- package/dist/vviinn-widgets/p-f47e82b2.entry.js +1 -0
- package/dist/vviinn-widgets/p-f582db5c.js +1 -0
- package/dist/vviinn-widgets/p-fb14e3cc.entry.js +1 -0
- package/dist/vviinn-widgets/vviinn-widgets.css +1 -6
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -125
- package/package.json +3 -1
- package/www/build/index.esm.js +0 -1
- package/www/build/p-04b06ea9.entry.js +1 -0
- package/www/build/p-400eb62f.entry.js +1 -0
- package/www/build/p-56fc949a.js +1 -0
- package/www/build/p-59edfbe2.js +1 -0
- package/www/build/p-78ccc9eb.js +15 -0
- package/www/build/p-7e4978d5.js +1 -0
- package/www/build/p-9d24f51e.entry.js +1 -0
- package/www/build/p-a67898be.css +1 -0
- package/www/build/p-d085199d.entry.js +1 -0
- package/www/build/p-e1ba8626.js +1 -0
- package/www/build/p-e38f4aa2.entry.js +1 -0
- package/www/build/p-e67cae57.js +1 -0
- package/www/build/p-f47e82b2.entry.js +1 -0
- package/www/build/p-f582db5c.js +1 -0
- package/www/build/p-fb14e3cc.entry.js +1 -0
- package/www/build/vviinn-widgets.css +1 -6
- package/www/build/vviinn-widgets.esm.js +1 -125
- package/www/index.html +6 -13
- package/dist/vviinn-widgets/Array-4b9f84cf.js +0 -4295
- package/dist/vviinn-widgets/Handler-47db9890.js +0 -1428
- package/dist/vviinn-widgets/NonEmptyArray-6ef0d207.js +0 -4370
- package/dist/vviinn-widgets/css-shim-f0027935.js +0 -4
- package/dist/vviinn-widgets/dom-db0073f0.js +0 -73
- package/dist/vviinn-widgets/highlight-box.entry.js +0 -41
- package/dist/vviinn-widgets/index-b6d739a9.js +0 -3010
- package/dist/vviinn-widgets/number-98d54dd6.js +0 -1533
- package/dist/vviinn-widgets/search-filters.entry.js +0 -73
- package/dist/vviinn-widgets/shadow-css-c1fdfa9f.js +0 -389
- package/dist/vviinn-widgets/vviinn-carousel.entry.js +0 -205
- package/dist/vviinn-widgets/vviinn-detected-object.entry.js +0 -52
- package/dist/vviinn-widgets/vviinn-empty-results.entry.js +0 -16
- package/dist/vviinn-widgets/vviinn-example-image.entry.js +0 -38
- package/dist/vviinn-widgets/vviinn-example-images.entry.js +0 -28
- package/dist/vviinn-widgets/vviinn-image-selector.entry.js +0 -31
- package/dist/vviinn-widgets/vviinn-image-view.entry.js +0 -55
- package/dist/vviinn-widgets/vviinn-modal.entry.js +0 -30
- package/dist/vviinn-widgets/vviinn-onboarding-card-1.entry.js +0 -21
- package/dist/vviinn-widgets/vviinn-onboarding-card-2.entry.js +0 -21
- package/dist/vviinn-widgets/vviinn-onboarding-card-3.entry.js +0 -21
- package/dist/vviinn-widgets/vviinn-onboarding.entry.js +0 -20
- package/dist/vviinn-widgets/vviinn-overlay.entry.js +0 -15
- package/dist/vviinn-widgets/vviinn-overlayed-modal.entry.js +0 -18
- package/dist/vviinn-widgets/vviinn-privacy-badge.entry.js +0 -20
- package/dist/vviinn-widgets/vviinn-product-card.entry.js +0 -176
- package/dist/vviinn-widgets/vviinn-server-error.entry.js +0 -16
- package/dist/vviinn-widgets/vviinn-slide.entry.js +0 -15
- package/dist/vviinn-widgets/vviinn-slider.entry.js +0 -120
- package/dist/vviinn-widgets/vviinn-teaser.entry.js +0 -20
- package/dist/vviinn-widgets/vviinn-vpr-widget.entry.js +0 -128
- package/dist/vviinn-widgets/vviinn-wrong-format.entry.js +0 -16
- package/www/build/Array-4b9f84cf.js +0 -4295
- package/www/build/Handler-47db9890.js +0 -1428
- package/www/build/NonEmptyArray-6ef0d207.js +0 -4370
- package/www/build/css-shim-f0027935.js +0 -4
- package/www/build/dom-db0073f0.js +0 -73
- package/www/build/highlight-box.entry.js +0 -41
- package/www/build/image-cropper.entry.js +0 -113
- package/www/build/index-b6d739a9.js +0 -3010
- package/www/build/number-98d54dd6.js +0 -1533
- package/www/build/search-filters.entry.js +0 -73
- package/www/build/shadow-css-c1fdfa9f.js +0 -389
- package/www/build/vviinn-detected-object.entry.js +0 -52
- package/www/build/vviinn-empty-results.entry.js +0 -16
- package/www/build/vviinn-example-image.entry.js +0 -38
- package/www/build/vviinn-example-images.entry.js +0 -28
- package/www/build/vviinn-image-selector.entry.js +0 -31
- package/www/build/vviinn-image-view.entry.js +0 -55
- package/www/build/vviinn-modal.entry.js +0 -30
- package/www/build/vviinn-onboarding-card-1.entry.js +0 -21
- package/www/build/vviinn-onboarding-card-2.entry.js +0 -21
- package/www/build/vviinn-onboarding-card-3.entry.js +0 -21
- package/www/build/vviinn-onboarding.entry.js +0 -20
- package/www/build/vviinn-overlay.entry.js +0 -15
- package/www/build/vviinn-overlayed-modal.entry.js +0 -18
- package/www/build/vviinn-privacy-badge.entry.js +0 -20
- package/www/build/vviinn-product-card.entry.js +0 -176
- package/www/build/vviinn-server-error.entry.js +0 -16
- package/www/build/vviinn-slide.entry.js +0 -15
- package/www/build/vviinn-slider.entry.js +0 -120
- package/www/build/vviinn-teaser.entry.js +0 -20
- package/www/build/vviinn-vpr-widget.entry.js +0 -128
- package/www/build/vviinn-vps-button.entry.js +0 -39
- package/www/build/vviinn-wrong-format.entry.js +0 -16
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-gap: 1rem;
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host(:not(.loaded)) {
|
|
8
|
+
position: absolute;
|
|
9
|
+
visibility: hidden;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host(.grid) vviinn-product-card::part(image) {
|
|
13
|
+
border: 1px solid #DDDDDD;
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
h2 {
|
|
18
|
+
margin: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
vviinn-product-card::part(price-container) {
|
|
22
|
+
align-self: flex-start;
|
|
23
|
+
text-align: left;
|
|
24
|
+
display: flex;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.results {
|
|
28
|
+
display: grid;
|
|
29
|
+
grid-gap: 1rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.visually-hidden {
|
|
33
|
+
position: absolute;
|
|
34
|
+
top: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
z-index: -1;
|
|
37
|
+
height: 0;
|
|
38
|
+
width: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
h2 {
|
|
42
|
+
margin: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:host(.grid) h2 {
|
|
46
|
+
justify-content: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:host(.grid) vviinn-product-card::part(image) {
|
|
50
|
+
min-width: 100%;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:host(.grid) vviinn-product-card::part(image-link) {
|
|
54
|
+
width: 100%;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:host(.grid) vviinn-product-card::part(title),
|
|
58
|
+
:host(.grid) vviinn-product-card::part(brand),
|
|
59
|
+
:host(.grid) vviinn-product-card::part(type) {
|
|
60
|
+
text-align: center;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:host(.grid) vviinn-product-card::part(price-container) {
|
|
64
|
+
align-self: center;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:host(.continuity) vviinn-product-card::part(title),
|
|
68
|
+
:host(.continuity) vviinn-product-card::part(brand),
|
|
69
|
+
:host(.continuity) vviinn-product-card::part(type),
|
|
70
|
+
:host(.continuity) vviinn-product-card::part(deeplink) {
|
|
71
|
+
text-align: left;
|
|
72
|
+
max-width: unset;
|
|
73
|
+
align-self: start;
|
|
74
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { Component, Host, h, Prop, State, Listen, Element, Event, } from "@stencil/core";
|
|
2
|
+
import { CameraIcon } from "../vviinn-icons";
|
|
3
|
+
import { SlotSkeleton } from "../customized-slots";
|
|
4
|
+
/**
|
|
5
|
+
* @slot vviinn-onboarding-title
|
|
6
|
+
* @slot vviinn-onboarding-card-1-icon
|
|
7
|
+
* @slot vviinn-onboarding-card-1-text
|
|
8
|
+
* @slot vviinn-onboarding-card-2-icon
|
|
9
|
+
* @slot vviinn-onboarding-card-2-text
|
|
10
|
+
* @slot vviinn-onboarding-card-3-icon
|
|
11
|
+
* @slot vviinn-onboarding-card-3-text
|
|
12
|
+
* @slot vviinn-example-images-title
|
|
13
|
+
* @slot vviinn-example-images-1
|
|
14
|
+
* @slot vviinn-example-images-2
|
|
15
|
+
* @slot vviinn-example-images-3
|
|
16
|
+
* @slot vviinn-example-images-4
|
|
17
|
+
* @slot vviinn-teaser-text
|
|
18
|
+
* @slot vviinn-image-upload-button-text
|
|
19
|
+
* @slot vviinn-privacy-badge-text
|
|
20
|
+
*
|
|
21
|
+
* @part brand - product brand.
|
|
22
|
+
* @part currency - currency sign. Renders after price-amount.
|
|
23
|
+
* @part deeplink - anchor element for title. Rendered only if "deeplink" property filled.
|
|
24
|
+
* @part image - product image.
|
|
25
|
+
* @part image-link - anchor element for image. Rendered only if "deeplink" property filled.
|
|
26
|
+
* @part price-amount - numeric part of price.
|
|
27
|
+
* @part price-container - block contains all prices.
|
|
28
|
+
* @part price-outdated - renders inside price-container when "sale-price" property filled. Contains regular price.
|
|
29
|
+
* @part price-prefix - renders before price-amount. Can be set with "price-prefix" property or inherited from parent component.
|
|
30
|
+
* @part price-regular - renders inside price-container when "sale-price" property is empty.
|
|
31
|
+
* @part price-sale - renders inside price-container when "sale-price" property filled. Contains sale price.
|
|
32
|
+
* @part title - product title
|
|
33
|
+
*/
|
|
34
|
+
export class VviinnVpsButton {
|
|
35
|
+
constructor() {
|
|
36
|
+
/** Currency sign will shown after price */
|
|
37
|
+
this.currencySign = "€";
|
|
38
|
+
/** Locale for currency formatting */
|
|
39
|
+
this.locale = "de-DE";
|
|
40
|
+
this.pressed = false;
|
|
41
|
+
}
|
|
42
|
+
handleModalClosed() {
|
|
43
|
+
this.pressed = false;
|
|
44
|
+
}
|
|
45
|
+
componentDidLoad() {
|
|
46
|
+
const slots = this.el.querySelectorAll("[slot]");
|
|
47
|
+
this.globalSlotsChanged.emit(Array.from(slots));
|
|
48
|
+
}
|
|
49
|
+
handleKeyDown(ev) {
|
|
50
|
+
if (ev.code !== "Enter" && ev.code !== "Space")
|
|
51
|
+
return;
|
|
52
|
+
this.pressed = true;
|
|
53
|
+
}
|
|
54
|
+
handleClick() {
|
|
55
|
+
this.pressed = true;
|
|
56
|
+
}
|
|
57
|
+
render() {
|
|
58
|
+
return (h(Host, { tabindex: "0", role: "button", pressed: this.pressed, onClick: () => this.handleClick(), onKeyDown: (ev) => this.handleKeyDown(ev) },
|
|
59
|
+
h("slot", null,
|
|
60
|
+
h(CameraIcon, null)),
|
|
61
|
+
h(SlotSkeleton, null),
|
|
62
|
+
h("vviinn-vps-widget", { active: this.pressed, "currency-sign": "\u20AC", token: this.token, locale: this.locale, apiPath: this.apiPath, exportparts: "brand, currency, deeplink, image, image-link, price-amount, price-container, price-outdated, price-prefix, price-regular, price-sale, title, product-card" })));
|
|
63
|
+
}
|
|
64
|
+
static get is() { return "vviinn-vps-button"; }
|
|
65
|
+
static get encapsulation() { return "shadow"; }
|
|
66
|
+
static get originalStyleUrls() { return {
|
|
67
|
+
"$": ["vviinn-vps-button.css"]
|
|
68
|
+
}; }
|
|
69
|
+
static get styleUrls() { return {
|
|
70
|
+
"$": ["vviinn-vps-button.css"]
|
|
71
|
+
}; }
|
|
72
|
+
static get properties() { return {
|
|
73
|
+
"token": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"mutable": false,
|
|
76
|
+
"complexType": {
|
|
77
|
+
"original": "string",
|
|
78
|
+
"resolved": "string",
|
|
79
|
+
"references": {}
|
|
80
|
+
},
|
|
81
|
+
"required": false,
|
|
82
|
+
"optional": false,
|
|
83
|
+
"docs": {
|
|
84
|
+
"tags": [],
|
|
85
|
+
"text": "vviinn customer token"
|
|
86
|
+
},
|
|
87
|
+
"attribute": "token",
|
|
88
|
+
"reflect": false
|
|
89
|
+
},
|
|
90
|
+
"currencySign": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "string",
|
|
95
|
+
"resolved": "string",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "Currency sign will shown after price"
|
|
103
|
+
},
|
|
104
|
+
"attribute": "currency-sign",
|
|
105
|
+
"reflect": false,
|
|
106
|
+
"defaultValue": "\"\u20AC\""
|
|
107
|
+
},
|
|
108
|
+
"locale": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"mutable": false,
|
|
111
|
+
"complexType": {
|
|
112
|
+
"original": "string",
|
|
113
|
+
"resolved": "string",
|
|
114
|
+
"references": {}
|
|
115
|
+
},
|
|
116
|
+
"required": false,
|
|
117
|
+
"optional": false,
|
|
118
|
+
"docs": {
|
|
119
|
+
"tags": [],
|
|
120
|
+
"text": "Locale for currency formatting"
|
|
121
|
+
},
|
|
122
|
+
"attribute": "locale",
|
|
123
|
+
"reflect": false,
|
|
124
|
+
"defaultValue": "\"de-DE\""
|
|
125
|
+
},
|
|
126
|
+
"apiPath": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "string | undefined",
|
|
131
|
+
"resolved": "string",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [{
|
|
138
|
+
"text": undefined,
|
|
139
|
+
"name": "internal"
|
|
140
|
+
}],
|
|
141
|
+
"text": ""
|
|
142
|
+
},
|
|
143
|
+
"attribute": "api-path",
|
|
144
|
+
"reflect": false
|
|
145
|
+
}
|
|
146
|
+
}; }
|
|
147
|
+
static get states() { return {
|
|
148
|
+
"pressed": {}
|
|
149
|
+
}; }
|
|
150
|
+
static get events() { return [{
|
|
151
|
+
"method": "globalSlotsChanged",
|
|
152
|
+
"name": "globalSlotsChanged",
|
|
153
|
+
"bubbles": true,
|
|
154
|
+
"cancelable": true,
|
|
155
|
+
"composed": true,
|
|
156
|
+
"docs": {
|
|
157
|
+
"tags": [{
|
|
158
|
+
"text": undefined,
|
|
159
|
+
"name": "internal"
|
|
160
|
+
}],
|
|
161
|
+
"text": ""
|
|
162
|
+
},
|
|
163
|
+
"complexType": {
|
|
164
|
+
"original": "any",
|
|
165
|
+
"resolved": "any",
|
|
166
|
+
"references": {}
|
|
167
|
+
}
|
|
168
|
+
}]; }
|
|
169
|
+
static get elementRef() { return "el"; }
|
|
170
|
+
static get listeners() { return [{
|
|
171
|
+
"name": "modalClosed",
|
|
172
|
+
"method": "handleModalClosed",
|
|
173
|
+
"target": undefined,
|
|
174
|
+
"capture": false,
|
|
175
|
+
"passive": false
|
|
176
|
+
}]; }
|
|
177
|
+
}
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
--color-primary-system: #0F62FE;
|
|
3
|
+
--color-primary-hover-system: #014CDA;
|
|
4
|
+
--color-icons-system: #2F8EDF;
|
|
5
|
+
--spacer: 8px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
:host {
|
|
10
|
+
display: block;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.hidden {
|
|
14
|
+
visibility: hidden;
|
|
15
|
+
height: 1px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
vviinn-overlayed-modal.first-screen::part(title),
|
|
19
|
+
vviinn-overlayed-modal.first-screen::part(secondary-action) {
|
|
20
|
+
visibility: hidden;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.start-page {
|
|
24
|
+
display: grid;
|
|
25
|
+
grid-template-columns: repeat(2, 1fr);
|
|
26
|
+
min-height: 580px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.start-page_block {
|
|
30
|
+
align-content: start;
|
|
31
|
+
border-right: 1px solid #F4F4F4;
|
|
32
|
+
display: grid;
|
|
33
|
+
padding: 48px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.start-page_block.error {
|
|
37
|
+
align-content: center;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
#onboarding-block {
|
|
42
|
+
border-right: unset;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
grid-gap: 24px;
|
|
45
|
+
overflow-y: auto;
|
|
46
|
+
position: relative;
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
vviinn-teaser {
|
|
51
|
+
margin-bottom: 32px;
|
|
52
|
+
margin-top: -24px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
vviinn-image-selector {
|
|
56
|
+
align-items: center;
|
|
57
|
+
background: var(--color-primary, var(--color-primary-system));
|
|
58
|
+
border-color: var(--color-primary, var(--color-primary-system));
|
|
59
|
+
border-radius: 2px;
|
|
60
|
+
color: white;
|
|
61
|
+
display: grid;
|
|
62
|
+
font-size: 16px;
|
|
63
|
+
font-weight: 600;
|
|
64
|
+
height: 56px;
|
|
65
|
+
justify-items: center;
|
|
66
|
+
margin-bottom: 16px;
|
|
67
|
+
transition: background 0.1s ease-in-out;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
vviinn-image-selector:hover {
|
|
71
|
+
background: var(--color-primary-hover, var(--color-primary-hover-system));
|
|
72
|
+
border-color: var(--color-primary-hover, var(--color-primary-hover-system));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
vviinn-image-selector:active {
|
|
76
|
+
border-color: black;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.upload-button-content {
|
|
80
|
+
display: grid;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-items: start;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
grid-template-columns: -webkit-max-content auto;
|
|
85
|
+
grid-template-columns: max-content auto;
|
|
86
|
+
grid-gap: 16px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.results-page {
|
|
90
|
+
display: grid;
|
|
91
|
+
grid-template-columns: 336px auto;
|
|
92
|
+
box-sizing: border-box;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.results-page > * {
|
|
96
|
+
padding: 24px;
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.products {
|
|
101
|
+
align-content: center;
|
|
102
|
+
align-items: start;
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
display: grid;
|
|
105
|
+
grid-gap: 32px 16px;
|
|
106
|
+
grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
|
|
107
|
+
justify-items: center;
|
|
108
|
+
padding: 24px;
|
|
109
|
+
padding-right: 0;
|
|
110
|
+
position: absolute;
|
|
111
|
+
width: calc(100% - 16px);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.products.hidden {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
vviinn-empty-results {
|
|
119
|
+
width: 280px;
|
|
120
|
+
align-self: center;
|
|
121
|
+
justify-self: center;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.products-wrapper {
|
|
125
|
+
display: grid;
|
|
126
|
+
overflow-y: auto;
|
|
127
|
+
overflow-x: hidden;
|
|
128
|
+
padding: unset;
|
|
129
|
+
position: relative;
|
|
130
|
+
width: 100%;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.image-wrapper {
|
|
134
|
+
border-right: 1px solid #F4F4F4;
|
|
135
|
+
display: grid;
|
|
136
|
+
grid-template-rows: -webkit-min-content 170px;
|
|
137
|
+
grid-template-rows: min-content 170px;
|
|
138
|
+
grid-gap: 24px;
|
|
139
|
+
min-width: 100%;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.onboarding-wrapper {
|
|
143
|
+
position: absolute;
|
|
144
|
+
width: 100%;
|
|
145
|
+
padding: 48px;
|
|
146
|
+
box-sizing: border-box;
|
|
147
|
+
display: grid;
|
|
148
|
+
grid-gap: 64px;
|
|
149
|
+
padding-bottom: 24px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
vviinn-product-card {
|
|
153
|
+
gap: 0;
|
|
154
|
+
width: 100%;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
vviinn-product-card::part(image) {
|
|
158
|
+
border: 1px solid #eaeaea;
|
|
159
|
+
margin-bottom: 8px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
vviinn-product-card::part(price-container),
|
|
163
|
+
vviinn-product-card::part(deeplink),
|
|
164
|
+
vviinn-product-card::part(title) {
|
|
165
|
+
align-self: start;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
search-filters span {
|
|
169
|
+
display: none;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
search-filters::part(filter) {
|
|
173
|
+
background: #F4F4F4;
|
|
174
|
+
border-radius: 4px;
|
|
175
|
+
border: 1px solid #F4F4F4;
|
|
176
|
+
box-sizing: border-box;
|
|
177
|
+
color: #161616;
|
|
178
|
+
font-size: 14px;
|
|
179
|
+
font-weight: 600;
|
|
180
|
+
line-height: 20px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
search-filters::part(show-more-filters) {
|
|
184
|
+
border: 1px solid #f4f4f4;
|
|
185
|
+
border-radius: 4px;
|
|
186
|
+
box-sizing: border-box;
|
|
187
|
+
color: #161616;
|
|
188
|
+
font-size: 14px;
|
|
189
|
+
font-weight: 600;
|
|
190
|
+
line-height: 20px;
|
|
191
|
+
padding: 6px 16px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
search-filters::part(show-more-filters):hover {
|
|
195
|
+
background: #EAEAEA;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
search-filters::part(filter):hover {
|
|
199
|
+
background: #EAEAEA;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
search-filters::part(filter):focus {
|
|
203
|
+
outline: none;
|
|
204
|
+
border: 1px solid var(--color-primary, var(--color-primary-system));
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
search-filters::part(filter active) {
|
|
208
|
+
background: rgba(15, 98, 254, 0.15);
|
|
209
|
+
color: var(--color-primary, var(--color-primary-system));
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.filters-wrapper {
|
|
213
|
+
overflow: auto;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.results-page:not(.active) {
|
|
217
|
+
display: none;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.nothing-found {
|
|
221
|
+
display: grid;
|
|
222
|
+
grid-gap: 64px;
|
|
223
|
+
justify-self: center;
|
|
224
|
+
padding-top: 64px;
|
|
225
|
+
padding-bottom: 16px;
|
|
226
|
+
position: absolute;
|
|
227
|
+
width: 60%;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@media (max-width: 768px) {
|
|
231
|
+
.start-page_block {
|
|
232
|
+
padding: 24px;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.onboarding-wrapper {
|
|
236
|
+
padding: 24px;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
@media (max-width: 640px) {
|
|
241
|
+
.start-page {
|
|
242
|
+
grid-template-rows: -webkit-min-content;
|
|
243
|
+
grid-template-rows: min-content;
|
|
244
|
+
grid-template-columns: unset;
|
|
245
|
+
grid-gap: 48px;
|
|
246
|
+
padding: 24px 0 48px 0;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
@media (max-width: 640px) and (min-width: 415px) {
|
|
251
|
+
.onboarding-wrapper {
|
|
252
|
+
position: unset;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
#onboarding-block {
|
|
256
|
+
overflow: unset;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.start-page.active {
|
|
260
|
+
height: 1px;
|
|
261
|
+
overflow: auto;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
@media (max-width: 415px) {
|
|
266
|
+
.results-page > * {
|
|
267
|
+
box-sizing: border-box;
|
|
268
|
+
padding: 24px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
vviinn-slide {
|
|
272
|
+
padding-bottom: 48px;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.start-page_block:last-of-type {
|
|
276
|
+
border-right: unset;
|
|
277
|
+
overflow-y: unset;
|
|
278
|
+
position: static;
|
|
279
|
+
box-sizing: border-box;
|
|
280
|
+
width: unset;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.start-page_block {
|
|
284
|
+
padding: 0 24px;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
vviinn-teaser {
|
|
288
|
+
margin-top: 24px;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.onboarding-wrapper {
|
|
292
|
+
position: static;
|
|
293
|
+
width: unset;
|
|
294
|
+
padding: unset;
|
|
295
|
+
box-sizing: border-box;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.results-page {
|
|
299
|
+
grid-template-columns: unset;
|
|
300
|
+
grid-template-rows: -webkit-min-content auto;
|
|
301
|
+
grid-template-rows: min-content auto;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.image {
|
|
305
|
+
margin-bottom: 8px;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.image-wrapper {
|
|
309
|
+
grid-template-rows: -webkit-min-content auto;
|
|
310
|
+
grid-template-rows: min-content auto;
|
|
311
|
+
width: 100%;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.products-wrapper {
|
|
315
|
+
align-content: start;
|
|
316
|
+
position: static;
|
|
317
|
+
overflow-y: unset;
|
|
318
|
+
width: 100%;
|
|
319
|
+
padding-top: 0;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.products {
|
|
323
|
+
position: static;
|
|
324
|
+
padding: 0;
|
|
325
|
+
width: unset;
|
|
326
|
+
grid-gap: 32px 16px;
|
|
327
|
+
justify-content: center;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.nothing-found {
|
|
331
|
+
position: static;
|
|
332
|
+
grid-gap: 64px;
|
|
333
|
+
padding: unset;
|
|
334
|
+
align-content: start;
|
|
335
|
+
width: unset;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
@media (max-width: 320px) {
|
|
340
|
+
.products {
|
|
341
|
+
grid-template-columns: unset;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
vviinn-wrong-format,
|
|
346
|
+
vviinn-server-error {
|
|
347
|
+
width: 280px;
|
|
348
|
+
align-self: center;
|
|
349
|
+
justify-self: center;
|
|
350
|
+
}
|