@dac-software/base-ui
Advanced tools
Comparing version 2.0.0-Q2-2813-make-gallery-container-height-fi-release.0 to 2.0.0-Q2-3259-smarter-preloading-on-gallery-release.0
@@ -1,1 +0,1 @@ | ||
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=10)}({10:function(e,t,r){"use strict";r.r(t);r(11)},11:function(e,t,r){}}); | ||
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=11)}({11:function(e,t,r){"use strict";r.r(t);r(12)},12:function(e,t,r){}}); |
@@ -51,60 +51,62 @@ { | ||
"limited": "\\f131", | ||
"location-menu": "\\f132", | ||
"low-consumption": "\\f133", | ||
"low-cost": "\\f134", | ||
"mail": "\\f135", | ||
"meter": "\\f136", | ||
"miscellaneous": "\\f137", | ||
"offer": "\\f138", | ||
"offers-gallery-button-CD": "\\f139", | ||
"offers-gallery-button-FH": "\\f13a", | ||
"offers-gallery-button-FHD": "\\f13b", | ||
"offers-gallery-button-IP": "\\f13c", | ||
"offers-gallery-button-OD": "\\f13d", | ||
"parking-sensor": "\\f13e", | ||
"parking": "\\f13f", | ||
"pedal": "\\f140", | ||
"pen": "\\f141", | ||
"person-menu": "\\f142", | ||
"phone": "\\f143", | ||
"placeholder-black": "\\f144", | ||
"placeholder": "\\f145", | ||
"premium": "\\f146", | ||
"radar": "\\f147", | ||
"rainy": "\\f148", | ||
"right-arrow-short": "\\f149", | ||
"right-arrow": "\\f14a", | ||
"right-chevron": "\\f14b", | ||
"rocky-mountains": "\\f14c", | ||
"route": "\\f14d", | ||
"rubbish-bin": "\\f14e", | ||
"safe": "\\f14f", | ||
"search": "\\f150", | ||
"sedan": "\\f151", | ||
"sensor-1": "\\f152", | ||
"sensor": "\\f153", | ||
"shield": "\\f154", | ||
"shopping-basket": "\\f155", | ||
"sketch": "\\f156", | ||
"smartphone": "\\f157", | ||
"snowflake": "\\f158", | ||
"snowy": "\\f159", | ||
"sports-car": "\\f15a", | ||
"star-empty": "\\f15b", | ||
"star-full": "\\f15c", | ||
"star-half": "\\f15d", | ||
"star": "\\f15e", | ||
"sunny": "\\f15f", | ||
"suv": "\\f160", | ||
"tag-full": "\\f161", | ||
"time": "\\f162", | ||
"trophy": "\\f163", | ||
"trunk": "\\f164", | ||
"tyre": "\\f165", | ||
"vehicle": "\\f166", | ||
"warranty": "\\f167", | ||
"wrong": "\\f168", | ||
"xxl": "\\f169", | ||
"xxs": "\\f16a", | ||
"youtube": "\\f16b" | ||
"linkedin": "\\f132", | ||
"location-menu": "\\f133", | ||
"low-consumption": "\\f134", | ||
"low-cost": "\\f135", | ||
"mail": "\\f136", | ||
"meter": "\\f137", | ||
"miscellaneous": "\\f138", | ||
"offer": "\\f139", | ||
"offers-gallery-button-CD": "\\f13a", | ||
"offers-gallery-button-FH": "\\f13b", | ||
"offers-gallery-button-FHD": "\\f13c", | ||
"offers-gallery-button-IP": "\\f13d", | ||
"offers-gallery-button-OD": "\\f13e", | ||
"parking-sensor": "\\f13f", | ||
"parking": "\\f140", | ||
"pedal": "\\f141", | ||
"pen": "\\f142", | ||
"person-menu": "\\f143", | ||
"phone": "\\f144", | ||
"placeholder-black": "\\f145", | ||
"placeholder": "\\f146", | ||
"premium": "\\f147", | ||
"radar": "\\f148", | ||
"rainy": "\\f149", | ||
"right-arrow-short": "\\f14a", | ||
"right-arrow": "\\f14b", | ||
"right-chevron": "\\f14c", | ||
"rocky-mountains": "\\f14d", | ||
"route": "\\f14e", | ||
"rubbish-bin": "\\f14f", | ||
"safe": "\\f150", | ||
"search": "\\f151", | ||
"sedan": "\\f152", | ||
"sensor-1": "\\f153", | ||
"sensor": "\\f154", | ||
"shield": "\\f155", | ||
"shopping-basket": "\\f156", | ||
"sketch": "\\f157", | ||
"smartphone": "\\f158", | ||
"snowflake": "\\f159", | ||
"snowy": "\\f15a", | ||
"sports-car": "\\f15b", | ||
"star-empty": "\\f15c", | ||
"star-full": "\\f15d", | ||
"star-half": "\\f15e", | ||
"star": "\\f15f", | ||
"sunny": "\\f160", | ||
"suv": "\\f161", | ||
"tag-full": "\\f162", | ||
"time": "\\f163", | ||
"trophy": "\\f164", | ||
"trunk": "\\f165", | ||
"twitter": "\\f166", | ||
"tyre": "\\f167", | ||
"vehicle": "\\f168", | ||
"warranty": "\\f169", | ||
"wrong": "\\f16a", | ||
"xxl": "\\f16b", | ||
"xxs": "\\f16c", | ||
"youtube": "\\f16d" | ||
} |
@@ -7,4 +7,4 @@ import './app/sliders/hero-slider' | ||
import './app/tabs' | ||
import './app/sliders/delivery-place-slider.js' | ||
import './app/sliders/other-offers-slider.js' | ||
import './app/sliders/delivery-place-slider' | ||
import './app/sliders/other-offers-slider' | ||
import './app/sliders/avis-slider' | ||
@@ -17,1 +17,2 @@ import './app/sliders/offers-list-slider' | ||
import './app/sliders/cms-gallery-slider' | ||
import './app/landing-pages' |
import $ from 'jquery' | ||
import { analyticsEventBus } from '@dac-software/analytics-extensions' | ||
@@ -119,9 +120,8 @@ $(() => { | ||
const isLandscapeView = window.matchMedia('(orientation: landscape)').matches | ||
const actionContainerHeight = $(self._mainMenuActionContainer).outerHeight(true) | ||
const mainMenuOuterHeight = $(self._mainMenu).outerHeight(true) - ($(self._mainMenu).height()) | ||
const contentContainerPaddigns = $(self._mainMenuContainer).outerHeight(true) - ($(self._mainMenuContainer).height()) | ||
const formContainerHeight = $(self._mainMenuFormContainer).outerHeight(true) | ||
const formHeight = $(self._phoneForm).outerHeight(true) | ||
const totalMenuHeight = $(window).height() - actionContainerHeight - (formContainerHeight - formHeight) - (isLandscapeView ? mainMenuOuterHeight / 3 : mainMenuOuterHeight) | ||
const totalMenuHeight = $(window).height() - contentContainerPaddigns - actionContainerHeight - (formContainerHeight - formHeight) | ||
@@ -135,2 +135,3 @@ $(self._mainMenu).css({ height: totalMenuHeight }) | ||
$(self._toggleFormButton).click(function () { | ||
analyticsEventBus.publish('forms.page.phone-open') | ||
toggleFormActiveClasses() | ||
@@ -206,3 +207,3 @@ }) | ||
'.main-menu__form-container', | ||
'.phone-form', | ||
'.menu-popup', | ||
'.main-menu__form-overlay', | ||
@@ -209,0 +210,0 @@ '.main-menu__form-button' |
@@ -8,2 +8,3 @@ import Swiper from 'swiper' | ||
spaceBetween: 20, | ||
loop: true, | ||
navigation: { | ||
@@ -10,0 +11,0 @@ nextEl: '.segments-slider__button--next', |
{ | ||
"name": "@dac-software/base-ui", | ||
"version": "2.0.0-Q2-2813-make-gallery-container-height-fi-release.0", | ||
"version": "2.0.0-Q2-3259-smarter-preloading-on-gallery-release.0", | ||
"license": "UNLICENSED", | ||
@@ -38,3 +38,2 @@ "main": "dist/base-ui-main.js", | ||
"bootstrap": "4.1.3", | ||
"cpx": "^1.5.0", | ||
"jquery": "^3.3.1", | ||
@@ -44,3 +43,4 @@ "popper.js": "^1.16.0", | ||
"swiper": "5.3.0", | ||
"@dac-software/offers-perspective": "1.0.0-mvp2" | ||
"@dac-software/offers-perspective": "1.0.0-mvp2", | ||
"@dac-software/analytics-extensions": "1.0.0-mvp-release.0" | ||
}, | ||
@@ -50,3 +50,3 @@ "devDependencies": { | ||
"@babel/preset-env": "^7.2.3", | ||
"@dac-software/publish-tools": "1.0.0", | ||
"@dac-software/publish-tools": "1.1.7", | ||
"autoprefixer": "^9.1.3", | ||
@@ -57,2 +57,3 @@ "babel-core": "^7.0.0-bridge.0", | ||
"clean-webpack-plugin": "^0.1.19", | ||
"cpx": "^1.5.0", | ||
"css-loader": "^1.0.0", | ||
@@ -59,0 +60,0 @@ "file-loader": "^2.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
356
1940
32493931
30
+ Added@dac-software/analytics-extensions@1.0.0-mvp-release.0
+ Added@dac-software/analytics-extensions@1.0.0-mvp-release.0(transitive)
+ Addedlight-event-bus@1.0.1(transitive)
- Removedcpx@^1.5.0
- Removedanymatch@1.3.2(transitive)
- Removedarr-diff@2.0.04.0.0(transitive)
- Removedarr-flatten@1.1.0(transitive)
- Removedarr-union@3.1.0(transitive)
- Removedarray-unique@0.2.10.3.2(transitive)
- Removedassign-symbols@1.0.0(transitive)
- Removedasync-each@1.0.6(transitive)
- Removedatob@2.1.2(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbase@0.11.2(transitive)
- Removedbinary-extensions@1.13.1(transitive)
- Removedbindings@1.5.0(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbraces@1.8.52.3.2(transitive)
- Removedcache-base@1.0.1(transitive)
- Removedchokidar@1.7.0(transitive)
- Removedclass-utils@0.3.6(transitive)
- Removedcollection-visit@1.0.0(transitive)
- Removedcomponent-emitter@1.3.1(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcopy-descriptor@0.1.1(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedcpx@1.5.0(transitive)
- Removeddebug@2.6.9(transitive)
- Removeddecode-uri-component@0.2.2(transitive)
- Removeddefine-property@0.2.51.0.02.0.2(transitive)
- Removedduplexer@0.1.2(transitive)
- Removedexpand-brackets@0.1.52.1.4(transitive)
- Removedexpand-range@1.8.2(transitive)
- Removedextend-shallow@2.0.13.0.2(transitive)
- Removedextglob@0.3.22.0.4(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedfilename-regex@2.0.1(transitive)
- Removedfill-range@2.2.44.0.0(transitive)
- Removedfind-index@0.1.1(transitive)
- Removedfor-in@1.0.2(transitive)
- Removedfor-own@0.1.5(transitive)
- Removedfragment-cache@0.2.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfsevents@1.2.13(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-value@2.0.6(transitive)
- Removedglob@7.2.3(transitive)
- Removedglob-base@0.3.0(transitive)
- Removedglob-parent@2.0.0(transitive)
- Removedglob2base@0.0.12(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhas-value@0.3.11.0.0(transitive)
- Removedhas-values@0.1.41.0.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-accessor-descriptor@1.0.1(transitive)
- Removedis-binary-path@1.0.1(transitive)
- Removedis-buffer@1.1.6(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedis-data-descriptor@1.0.1(transitive)
- Removedis-descriptor@0.1.71.0.3(transitive)
- Removedis-dotfile@1.0.3(transitive)
- Removedis-equal-shallow@0.1.3(transitive)
- Removedis-extendable@0.1.11.0.1(transitive)
- Removedis-extglob@1.0.0(transitive)
- Removedis-glob@2.0.1(transitive)
- Removedis-number@2.1.03.0.04.0.0(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedis-posix-bracket@0.1.1(transitive)
- Removedis-primitive@2.0.0(transitive)
- Removedis-windows@1.0.2(transitive)
- Removedisarray@1.0.0(transitive)
- Removedisobject@2.1.03.0.1(transitive)
- Removedkind-of@3.2.24.0.06.0.3(transitive)
- Removedmap-cache@0.2.2(transitive)
- Removedmap-visit@1.0.0(transitive)
- Removedmath-random@1.0.4(transitive)
- Removedmicromatch@2.3.113.1.10(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmixin-deep@1.3.2(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedms@2.0.0(transitive)
- Removednan@2.20.0(transitive)
- Removednanomatch@1.2.13(transitive)
- Removednormalize-path@2.1.1(transitive)
- Removedobject-copy@0.1.0(transitive)
- Removedobject-visit@1.0.1(transitive)
- Removedobject.omit@2.0.1(transitive)
- Removedobject.pick@1.3.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedparse-glob@3.0.4(transitive)
- Removedpascalcase@0.1.1(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedposix-character-classes@0.1.1(transitive)
- Removedpreserve@0.2.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedrandomatic@3.1.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedreaddirp@2.2.1(transitive)
- Removedregenerator-runtime@0.11.1(transitive)
- Removedregex-cache@0.4.4(transitive)
- Removedregex-not@1.0.2(transitive)
- Removedremove-trailing-separator@1.1.0(transitive)
- Removedrepeat-element@1.1.4(transitive)
- Removedrepeat-string@1.6.1(transitive)
- Removedresolve@1.22.8(transitive)
- Removedresolve-url@0.2.1(transitive)
- Removedret@0.1.15(transitive)
- Removedsafe-buffer@5.1.25.2.1(transitive)
- Removedsafe-regex@1.1.0(transitive)
- Removedset-value@2.0.1(transitive)
- Removedshell-quote@1.8.1(transitive)
- Removedsnapdragon@0.8.2(transitive)
- Removedsnapdragon-node@2.1.1(transitive)
- Removedsnapdragon-util@3.0.1(transitive)
- Removedsource-map@0.5.7(transitive)
- Removedsource-map-resolve@0.5.3(transitive)
- Removedsource-map-url@0.4.1(transitive)
- Removedsplit-string@3.1.0(transitive)
- Removedstatic-extend@0.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedsubarg@1.0.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedto-object-path@0.3.0(transitive)
- Removedto-regex@3.0.2(transitive)
- Removedto-regex-range@2.1.1(transitive)
- Removedunion-value@1.0.1(transitive)
- Removedunset-value@1.0.0(transitive)
- Removedurix@0.1.0(transitive)
- Removeduse@3.1.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwrappy@1.0.2(transitive)