diff --git a/build/accordion.js b/build/accordion.js index 4348c8c..ecc0689 100644 --- a/build/accordion.js +++ b/build/accordion.js @@ -1 +1 @@ -!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=24)}([,,,,,,function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '436bdb2481a9e4dbe3e29c98d55f57bd'), 'accordion.js' => array('dependencies' => array('wp-polyfill'), 'version' => '954a5ccf99e04153addabfadf70be9cd')); \ No newline at end of file +<<<<<<< HEAD + array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '436bdb2481a9e4dbe3e29c98d55f57bd'), 'accordion.js' => array('dependencies' => array('wp-polyfill'), 'version' => '954a5ccf99e04153addabfadf70be9cd')); +======= + array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '0f087f7516e8a6262ed4945eef8aea01'), 'accordion.js' => array('dependencies' => array('wp-polyfill'), 'version' => '667f7b37f3c5299d2fe9a3111cca5cee')); +>>>>>>> 748fc5c28efc5ed9f991a9eb3463d39c40f8649f diff --git a/build/index.css b/build/index.css index 07fe663..149a4fd 100644 --- a/build/index.css +++ b/build/index.css @@ -1,2 +1,2 @@ -.has-icon-arrow-right-alt .wp-block-button__link:after,.has-icon-arrow-right-alt .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-right-alt.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt:hover .wp-block-button__link:after{right:-6px}.has-icon-arrow-right-alt2 .wp-block-button__link:after,.has-icon-arrow-right-alt2 .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt2.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-right-alt2.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt2:hover .wp-block-button__link:after{right:-6px}.has-icon-arrow-left-alt .wp-block-button__link:after,.has-icon-arrow-left-alt .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-left-alt.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt:hover .wp-block-button__link:after{right:-6px}.has-icon-arrow-left-alt2 .wp-block-button__link:after,.has-icon-arrow-left-alt2 .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt2.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-left-alt2.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt2:hover .wp-block-button__link:after{right:-6px}.has-icon-clock .wp-block-button__link:after,.has-icon-clock .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-clock.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-clock.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-clock:hover .wp-block-button__link:after{right:-6px}.has-icon-location .wp-block-button__link:after,.has-icon-location .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-location.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-location.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-location:hover .wp-block-button__link:after{right:-6px}.noor-block-bullet-point{display:flex;width:100%}.noor-block-bullet-point.has-align-center{justify-content:center}.noor-block-bullet-point.has-align-right{justify-content:flex-end}.noor-block-bullet-point.has-align-left{justify-content:flex-start}.noor-block-bullet-point__point{display:flex;flex-direction:column;justify-content:center;align-items:center;width:87px;height:87px;border-radius:50%;overflow:hidden}.noor-block-bullet-point__text-content{margin:0!important}.noor-block-google-map{position:relative;height:0;overflow:hidden}.noor-block-google-map iframe{position:absolute;top:0;left:0;width:100%!important;height:100%!important;border:0!important}.noor-block-accordion__content{display:none;height:auto;max-height:100%}.noor-block-accordion[aria-expanded=true]+.noor-block-accordion__content{display:block}.components-responsive-wrapper__content{width:auto} +.has-icon-arrow-right-alt .wp-block-button__link:after,.has-icon-arrow-right-alt .wp-block-button__link:before,.has-icon-arrow-right-alt:after,.has-icon-arrow-right-alt:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt.has-left-icon .wp-block-button__link:before,.has-icon-arrow-right-alt.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-right-alt.has-right-icon .wp-block-button__link:after,.has-icon-arrow-right-alt.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt:hover .wp-block-button__link:after,.has-icon-arrow-right-alt:hover:after{right:-6px}.has-icon-arrow-right-alt2 .wp-block-button__link:after,.has-icon-arrow-right-alt2 .wp-block-button__link:before,.has-icon-arrow-right-alt2:after,.has-icon-arrow-right-alt2:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt2.has-left-icon .wp-block-button__link:before,.has-icon-arrow-right-alt2.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-right-alt2.has-right-icon .wp-block-button__link:after,.has-icon-arrow-right-alt2.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt2:hover .wp-block-button__link:after,.has-icon-arrow-right-alt2:hover:after{right:-6px}.has-icon-arrow-left-alt .wp-block-button__link:after,.has-icon-arrow-left-alt .wp-block-button__link:before,.has-icon-arrow-left-alt:after,.has-icon-arrow-left-alt:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt.has-left-icon .wp-block-button__link:before,.has-icon-arrow-left-alt.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-left-alt.has-right-icon .wp-block-button__link:after,.has-icon-arrow-left-alt.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt:hover .wp-block-button__link:after,.has-icon-arrow-left-alt:hover:after{right:-6px}.has-icon-arrow-left-alt2 .wp-block-button__link:after,.has-icon-arrow-left-alt2 .wp-block-button__link:before,.has-icon-arrow-left-alt2:after,.has-icon-arrow-left-alt2:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt2.has-left-icon .wp-block-button__link:before,.has-icon-arrow-left-alt2.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-left-alt2.has-right-icon .wp-block-button__link:after,.has-icon-arrow-left-alt2.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt2:hover .wp-block-button__link:after,.has-icon-arrow-left-alt2:hover:after{right:-6px}.has-icon-clock .wp-block-button__link:after,.has-icon-clock .wp-block-button__link:before,.has-icon-clock:after,.has-icon-clock:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-clock.has-left-icon .wp-block-button__link:before,.has-icon-clock.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-clock.has-right-icon .wp-block-button__link:after,.has-icon-clock.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-clock:hover .wp-block-button__link:after,.has-icon-clock:hover:after{right:-6px}.has-icon-location .wp-block-button__link:after,.has-icon-location .wp-block-button__link:before,.has-icon-location:after,.has-icon-location:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-location.has-left-icon .wp-block-button__link:before,.has-icon-location.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-location.has-right-icon .wp-block-button__link:after,.has-icon-location.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-location:hover .wp-block-button__link:after,.has-icon-location:hover:after{right:-6px}.noor-block-bullet-point{display:flex;width:100%}.noor-block-bullet-point.has-align-center{justify-content:center}.noor-block-bullet-point.has-align-right{justify-content:flex-end}.noor-block-bullet-point.has-align-left{justify-content:flex-start}.noor-block-bullet-point__point{display:flex;flex-direction:column;justify-content:center;align-items:center;width:87px;height:87px;border-radius:50%;overflow:hidden}.noor-block-bullet-point__text-content{margin:0!important}.noor-block-google-map{position:relative;height:0;overflow:hidden}.noor-block-google-map iframe{position:absolute;top:0;left:0;width:100%!important;height:100%!important;border:0!important}.noor-block-accordion__content{display:none;height:auto;max-height:100%}.noor-block-accordion[aria-expanded=true]+.noor-block-accordion__content{display:block}.components-responsive-wrapper__content{width:auto} /*# sourceMappingURL=index.css.map */ \ No newline at end of file diff --git a/build/index.css.map b/build/index.css.map index 345196f..011bf49 100644 --- a/build/index.css.map +++ b/build/index.css.map @@ -1 +1 @@ -{"version":3,"sources":["css ./node_modules/css-loader/dist/cjs.js??ref--7-1!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/dist/cjs.js??ref--7-3!./src/styles/editor.scss"],"names":[],"mappings":"AAAA,+GAAiH,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,sEAAuE,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,sEAAuE,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,6DAA8D,UAAA,CAAW,iHAAmH,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,uEAAwE,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,uEAAwE,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,8DAA+D,UAAA,CAAW,6GAA+G,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,qEAAsE,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,qEAAsE,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,4DAA6D,UAAA,CAAW,+GAAiH,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,sEAAuE,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,sEAAuE,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,6DAA8D,UAAA,CAAW,2FAA6F,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,4DAA6D,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,4DAA6D,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,mDAAoD,UAAA,CAAW,iGAAmG,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,+DAAgE,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,+DAAgE,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,sDAAuD,UAAA,CAAW,yBAAyB,YAAA,CAAa,UAAA,CAAW,0CAA0C,sBAAA,CAAuB,yCAAyC,wBAAA,CAAyB,wCAAwC,0BAAA,CAA2B,gCAAgC,YAAA,CAAa,qBAAA,CAAsB,sBAAA,CAAuB,kBAAA,CAAmB,UAAA,CAAW,WAAA,CAAY,iBAAA,CAAkB,eAAA,CAAgB,uCAAuC,kBAAA,CAAoB,uBAAuB,iBAAA,CAAkB,QAAA,CAAS,eAAA,CAAgB,8BAA8B,iBAAA,CAAkB,KAAA,CAAM,MAAA,CAAO,oBAAA,CAAsB,qBAAA,CAAuB,kBAAA,CAAoB,+BAA+B,YAAA,CAAa,WAAA,CAAY,eAAA,CAAgB,yEAA2E,aAAA,CAAc,wCAAwC,UAAA","file":"index.css","sourcesContent":[".has-icon-arrow-right-alt .wp-block-button__link::before,.has-icon-arrow-right-alt .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-right-alt.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-right-alt2 .wp-block-button__link::before,.has-icon-arrow-right-alt2 .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt2.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-right-alt2.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt2:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-left-alt .wp-block-button__link::before,.has-icon-arrow-left-alt .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-left-alt.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-left-alt2 .wp-block-button__link::before,.has-icon-arrow-left-alt2 .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt2.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-left-alt2.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt2:hover .wp-block-button__link::after{right:-6px}.has-icon-clock .wp-block-button__link::before,.has-icon-clock .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-clock.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-clock.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-clock:hover .wp-block-button__link::after{right:-6px}.has-icon-location .wp-block-button__link::before,.has-icon-location .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-location.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-location.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-location:hover .wp-block-button__link::after{right:-6px}.noor-block-bullet-point{display:flex;width:100%}.noor-block-bullet-point.has-align-center{justify-content:center}.noor-block-bullet-point.has-align-right{justify-content:flex-end}.noor-block-bullet-point.has-align-left{justify-content:flex-start}.noor-block-bullet-point__point{display:flex;flex-direction:column;justify-content:center;align-items:center;width:87px;height:87px;border-radius:50%;overflow:hidden}.noor-block-bullet-point__text-content{margin:0 !important}.noor-block-google-map{position:relative;height:0;overflow:hidden}.noor-block-google-map iframe{position:absolute;top:0;left:0;width:100% !important;height:100% !important;border:0 !important}.noor-block-accordion__content{display:none;height:auto;max-height:100%}.noor-block-accordion[aria-expanded=\"true\"]+.noor-block-accordion__content{display:block}.components-responsive-wrapper__content{width:auto}\n"]} \ No newline at end of file +{"version":3,"sources":["css ./node_modules/css-loader/dist/cjs.js??ref--7-1!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/dist/cjs.js??ref--7-3!./src/styles/editor.scss"],"names":[],"mappings":"AAAA,gLAAoL,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,qHAAuH,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,qHAAuH,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,mGAAqG,UAAA,CAAW,oLAAwL,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,uHAAyH,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,uHAAyH,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,qGAAuG,UAAA,CAAW,4KAAgL,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,mHAAqH,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,mHAAqH,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,iGAAmG,UAAA,CAAW,gLAAoL,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,qHAAuH,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,qHAAuH,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,mGAAqG,UAAA,CAAW,wIAA4I,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,iGAAmG,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,iGAAmG,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,+EAAiF,UAAA,CAAW,oJAAwJ,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,uGAAyG,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,uGAAyG,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,qFAAuF,UAAA,CAAW,yBAAyB,YAAA,CAAa,UAAA,CAAW,0CAA0C,sBAAA,CAAuB,yCAAyC,wBAAA,CAAyB,wCAAwC,0BAAA,CAA2B,gCAAgC,YAAA,CAAa,qBAAA,CAAsB,sBAAA,CAAuB,kBAAA,CAAmB,UAAA,CAAW,WAAA,CAAY,iBAAA,CAAkB,eAAA,CAAgB,uCAAuC,kBAAA,CAAoB,uBAAuB,iBAAA,CAAkB,QAAA,CAAS,eAAA,CAAgB,8BAA8B,iBAAA,CAAkB,KAAA,CAAM,MAAA,CAAO,oBAAA,CAAsB,qBAAA,CAAuB,kBAAA,CAAoB,+BAA+B,YAAA,CAAa,WAAA,CAAY,eAAA,CAAgB,yEAA2E,aAAA,CAAc,wCAAwC,UAAA","file":"index.css","sourcesContent":[".has-icon-arrow-right-alt::before,.has-icon-arrow-right-alt::after,.has-icon-arrow-right-alt .wp-block-button__link::before,.has-icon-arrow-right-alt .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt.has-left-icon::before,.has-icon-arrow-right-alt.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-right-alt.has-right-icon::after,.has-icon-arrow-right-alt.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt:hover::after,.has-icon-arrow-right-alt:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-right-alt2::before,.has-icon-arrow-right-alt2::after,.has-icon-arrow-right-alt2 .wp-block-button__link::before,.has-icon-arrow-right-alt2 .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt2.has-left-icon::before,.has-icon-arrow-right-alt2.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-right-alt2.has-right-icon::after,.has-icon-arrow-right-alt2.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt2:hover::after,.has-icon-arrow-right-alt2:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-left-alt::before,.has-icon-arrow-left-alt::after,.has-icon-arrow-left-alt .wp-block-button__link::before,.has-icon-arrow-left-alt .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt.has-left-icon::before,.has-icon-arrow-left-alt.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-left-alt.has-right-icon::after,.has-icon-arrow-left-alt.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt:hover::after,.has-icon-arrow-left-alt:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-left-alt2::before,.has-icon-arrow-left-alt2::after,.has-icon-arrow-left-alt2 .wp-block-button__link::before,.has-icon-arrow-left-alt2 .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt2.has-left-icon::before,.has-icon-arrow-left-alt2.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-left-alt2.has-right-icon::after,.has-icon-arrow-left-alt2.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt2:hover::after,.has-icon-arrow-left-alt2:hover .wp-block-button__link::after{right:-6px}.has-icon-clock::before,.has-icon-clock::after,.has-icon-clock .wp-block-button__link::before,.has-icon-clock .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-clock.has-left-icon::before,.has-icon-clock.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-clock.has-right-icon::after,.has-icon-clock.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-clock:hover::after,.has-icon-clock:hover .wp-block-button__link::after{right:-6px}.has-icon-location::before,.has-icon-location::after,.has-icon-location .wp-block-button__link::before,.has-icon-location .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-location.has-left-icon::before,.has-icon-location.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-location.has-right-icon::after,.has-icon-location.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-location:hover::after,.has-icon-location:hover .wp-block-button__link::after{right:-6px}.noor-block-bullet-point{display:flex;width:100%}.noor-block-bullet-point.has-align-center{justify-content:center}.noor-block-bullet-point.has-align-right{justify-content:flex-end}.noor-block-bullet-point.has-align-left{justify-content:flex-start}.noor-block-bullet-point__point{display:flex;flex-direction:column;justify-content:center;align-items:center;width:87px;height:87px;border-radius:50%;overflow:hidden}.noor-block-bullet-point__text-content{margin:0 !important}.noor-block-google-map{position:relative;height:0;overflow:hidden}.noor-block-google-map iframe{position:absolute;top:0;left:0;width:100% !important;height:100% !important;border:0 !important}.noor-block-accordion__content{display:none;height:auto;max-height:100%}.noor-block-accordion[aria-expanded=\"true\"]+.noor-block-accordion__content{display:block}.components-responsive-wrapper__content{width:auto}\n"]} \ No newline at end of file diff --git a/build/index.js b/build/index.js index e84d800..1f29de4 100644 --- a/build/index.js +++ b/build/index.js @@ -1 +1,5 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{18:function(e,t,n){}}]),function(e){function t(t){for(var o,a,l=t[0],i=t[1],s=t[2],b=0,d=[];be.length)&&(t=e.length);for(var n=0,o=new Array(t);ne.length)&&(t=e.length);for(var n=0,o=new Array(t);ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n>>>>>> 748fc5c28efc5ed9f991a9eb3463d39c40f8649f diff --git a/build/style-index.css b/build/style-index.css index 1f03a99..dd9a39b 100644 --- a/build/style-index.css +++ b/build/style-index.css @@ -1,2 +1,2 @@ -.has-icon-arrow-right-alt .wp-block-button__link:after,.has-icon-arrow-right-alt .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-right-alt.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt:hover .wp-block-button__link:after{right:-6px}.has-icon-arrow-right-alt2 .wp-block-button__link:after,.has-icon-arrow-right-alt2 .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt2.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-right-alt2.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt2:hover .wp-block-button__link:after{right:-6px}.has-icon-arrow-left-alt .wp-block-button__link:after,.has-icon-arrow-left-alt .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-left-alt.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt:hover .wp-block-button__link:after{right:-6px}.has-icon-arrow-left-alt2 .wp-block-button__link:after,.has-icon-arrow-left-alt2 .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt2.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-left-alt2.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt2:hover .wp-block-button__link:after{right:-6px}.has-icon-clock .wp-block-button__link:after,.has-icon-clock .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-clock.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-clock.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-clock:hover .wp-block-button__link:after{right:-6px}.has-icon-location .wp-block-button__link:after,.has-icon-location .wp-block-button__link:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-location.has-left-icon .wp-block-button__link:before{display:inline-block;content:"";padding-right:8px}.has-icon-location.has-right-icon .wp-block-button__link:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-location:hover .wp-block-button__link:after{right:-6px}.noor-block-bullet-point{display:flex;width:100%}.noor-block-bullet-point.has-align-center{justify-content:center}.noor-block-bullet-point.has-align-right{justify-content:flex-end}.noor-block-bullet-point.has-align-left{justify-content:flex-start}.noor-block-bullet-point__point{display:flex;flex-direction:column;justify-content:center;align-items:center;width:87px;height:87px;border-radius:50%;overflow:hidden}.noor-block-bullet-point__text-content{margin:0!important}.noor-block-google-map{position:relative;height:0;overflow:hidden}.noor-block-google-map iframe{position:absolute;top:0;left:0;width:100%!important;height:100%!important;border:0!important}.noor-block-accordion{display:flex;align-items:center;padding:0 2rem;margin:1rem auto 0!important}.noor-block-accordion__title{width:100%;margin:.5rem 0!important}.noor-block-accordion__icon[data-state=true]{display:block}.noor-block-accordion__icon[data-state=false]{display:none}.noor-block-accordion__content{height:0;padding:0 2rem;overflow:hidden}.noor-block-accordion[aria-expanded=true]+.noor-block-accordion__content{height:auto} +.has-icon-arrow-right-alt .wp-block-button__link:after,.has-icon-arrow-right-alt .wp-block-button__link:before,.has-icon-arrow-right-alt:after,.has-icon-arrow-right-alt:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt.has-left-icon .wp-block-button__link:before,.has-icon-arrow-right-alt.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-right-alt.has-right-icon .wp-block-button__link:after,.has-icon-arrow-right-alt.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt:hover .wp-block-button__link:after,.has-icon-arrow-right-alt:hover:after{right:-6px}.has-icon-arrow-right-alt2 .wp-block-button__link:after,.has-icon-arrow-right-alt2 .wp-block-button__link:before,.has-icon-arrow-right-alt2:after,.has-icon-arrow-right-alt2:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt2.has-left-icon .wp-block-button__link:before,.has-icon-arrow-right-alt2.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-right-alt2.has-right-icon .wp-block-button__link:after,.has-icon-arrow-right-alt2.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt2:hover .wp-block-button__link:after,.has-icon-arrow-right-alt2:hover:after{right:-6px}.has-icon-arrow-left-alt .wp-block-button__link:after,.has-icon-arrow-left-alt .wp-block-button__link:before,.has-icon-arrow-left-alt:after,.has-icon-arrow-left-alt:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt.has-left-icon .wp-block-button__link:before,.has-icon-arrow-left-alt.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-left-alt.has-right-icon .wp-block-button__link:after,.has-icon-arrow-left-alt.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt:hover .wp-block-button__link:after,.has-icon-arrow-left-alt:hover:after{right:-6px}.has-icon-arrow-left-alt2 .wp-block-button__link:after,.has-icon-arrow-left-alt2 .wp-block-button__link:before,.has-icon-arrow-left-alt2:after,.has-icon-arrow-left-alt2:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt2.has-left-icon .wp-block-button__link:before,.has-icon-arrow-left-alt2.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-arrow-left-alt2.has-right-icon .wp-block-button__link:after,.has-icon-arrow-left-alt2.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt2:hover .wp-block-button__link:after,.has-icon-arrow-left-alt2:hover:after{right:-6px}.has-icon-clock .wp-block-button__link:after,.has-icon-clock .wp-block-button__link:before,.has-icon-clock:after,.has-icon-clock:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-clock.has-left-icon .wp-block-button__link:before,.has-icon-clock.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-clock.has-right-icon .wp-block-button__link:after,.has-icon-clock.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-clock:hover .wp-block-button__link:after,.has-icon-clock:hover:after{right:-6px}.has-icon-location .wp-block-button__link:after,.has-icon-location .wp-block-button__link:before,.has-icon-location:after,.has-icon-location:before{display:none;font-family:dashicons;font-size:20px;vertical-align:middle}.has-icon-location.has-left-icon .wp-block-button__link:before,.has-icon-location.has-left-icon:before{display:inline-block;content:"";padding-right:8px}.has-icon-location.has-right-icon .wp-block-button__link:after,.has-icon-location.has-right-icon:after{position:relative;display:inline-block;content:"";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-location:hover .wp-block-button__link:after,.has-icon-location:hover:after{right:-6px}.noor-block-bullet-point{display:flex;width:100%}.noor-block-bullet-point.has-align-center{justify-content:center}.noor-block-bullet-point.has-align-right{justify-content:flex-end}.noor-block-bullet-point.has-align-left{justify-content:flex-start}.noor-block-bullet-point__point{display:flex;flex-direction:column;justify-content:center;align-items:center;width:87px;height:87px;border-radius:50%;overflow:hidden}.noor-block-bullet-point__text-content{margin:0!important}.noor-block-google-map{position:relative;height:0;overflow:hidden}.noor-block-google-map iframe{position:absolute;top:0;left:0;width:100%!important;height:100%!important;border:0!important}.noor-block-accordion{display:flex;align-items:center;padding:0 2rem;margin:1rem auto 0!important}.noor-block-accordion__title{width:100%;margin:.5rem 0!important}.noor-block-accordion__icon[data-state=true]{display:block}.noor-block-accordion__icon[data-state=false]{display:none}.noor-block-accordion__content{height:0;padding:0 2rem;overflow:hidden}.noor-block-accordion[aria-expanded=true]+.noor-block-accordion__content{height:auto} /*# sourceMappingURL=style-index.css.map */ \ No newline at end of file diff --git a/build/style-index.css.map b/build/style-index.css.map index fd58bf0..dd0551b 100644 --- a/build/style-index.css.map +++ b/build/style-index.css.map @@ -1 +1 @@ -{"version":3,"sources":["css ./node_modules/css-loader/dist/cjs.js??ref--7-1!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/dist/cjs.js??ref--7-3!./src/styles/style.scss"],"names":[],"mappings":"AAAA,+GAAiH,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,sEAAuE,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,sEAAuE,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,6DAA8D,UAAA,CAAW,iHAAmH,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,uEAAwE,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,uEAAwE,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,8DAA+D,UAAA,CAAW,6GAA+G,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,qEAAsE,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,qEAAsE,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,4DAA6D,UAAA,CAAW,+GAAiH,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,sEAAuE,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,sEAAuE,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,6DAA8D,UAAA,CAAW,2FAA6F,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,4DAA6D,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,4DAA6D,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,mDAAoD,UAAA,CAAW,iGAAmG,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,+DAAgE,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,+DAAgE,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,sDAAuD,UAAA,CAAW,yBAAyB,YAAA,CAAa,UAAA,CAAW,0CAA0C,sBAAA,CAAuB,yCAAyC,wBAAA,CAAyB,wCAAwC,0BAAA,CAA2B,gCAAgC,YAAA,CAAa,qBAAA,CAAsB,sBAAA,CAAuB,kBAAA,CAAmB,UAAA,CAAW,WAAA,CAAY,iBAAA,CAAkB,eAAA,CAAgB,uCAAuC,kBAAA,CAAoB,uBAAuB,iBAAA,CAAkB,QAAA,CAAS,eAAA,CAAgB,8BAA8B,iBAAA,CAAkB,KAAA,CAAM,MAAA,CAAO,oBAAA,CAAsB,qBAAA,CAAuB,kBAAA,CAAoB,sBAAsB,YAAA,CAAa,kBAAA,CAAmB,cAAA,CAAe,4BAAA,CAA8B,6BAA6B,UAAA,CAAW,wBAAA,CAA2B,6CAAgD,aAAA,CAAc,8CAAgD,YAAA,CAAa,+BAA+B,QAAA,CAAS,cAAA,CAAe,eAAA,CAAgB,yEAA2E,WAAA","file":"style-index.css","sourcesContent":[".has-icon-arrow-right-alt .wp-block-button__link::before,.has-icon-arrow-right-alt .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-right-alt.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-right-alt2 .wp-block-button__link::before,.has-icon-arrow-right-alt2 .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt2.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-right-alt2.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt2:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-left-alt .wp-block-button__link::before,.has-icon-arrow-left-alt .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-left-alt.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-left-alt2 .wp-block-button__link::before,.has-icon-arrow-left-alt2 .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt2.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-left-alt2.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt2:hover .wp-block-button__link::after{right:-6px}.has-icon-clock .wp-block-button__link::before,.has-icon-clock .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-clock.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-clock.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-clock:hover .wp-block-button__link::after{right:-6px}.has-icon-location .wp-block-button__link::before,.has-icon-location .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-location.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-location.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-location:hover .wp-block-button__link::after{right:-6px}.noor-block-bullet-point{display:flex;width:100%}.noor-block-bullet-point.has-align-center{justify-content:center}.noor-block-bullet-point.has-align-right{justify-content:flex-end}.noor-block-bullet-point.has-align-left{justify-content:flex-start}.noor-block-bullet-point__point{display:flex;flex-direction:column;justify-content:center;align-items:center;width:87px;height:87px;border-radius:50%;overflow:hidden}.noor-block-bullet-point__text-content{margin:0 !important}.noor-block-google-map{position:relative;height:0;overflow:hidden}.noor-block-google-map iframe{position:absolute;top:0;left:0;width:100% !important;height:100% !important;border:0 !important}.noor-block-accordion{display:flex;align-items:center;padding:0 2rem;margin:1rem auto 0 !important}.noor-block-accordion__title{width:100%;margin:0.5rem 0 !important}.noor-block-accordion__icon[data-state=\"true\"] {display:block}.noor-block-accordion__icon[data-state=\"false\"]{display:none}.noor-block-accordion__content{height:0;padding:0 2rem;overflow:hidden}.noor-block-accordion[aria-expanded=\"true\"]+.noor-block-accordion__content{height:auto}\n"]} \ No newline at end of file +{"version":3,"sources":["css ./node_modules/css-loader/dist/cjs.js??ref--7-1!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/dist/cjs.js??ref--7-3!./src/styles/style.scss"],"names":[],"mappings":"AAAA,gLAAoL,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,qHAAuH,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,qHAAuH,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,mGAAqG,UAAA,CAAW,oLAAwL,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,uHAAyH,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,uHAAyH,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,qGAAuG,UAAA,CAAW,4KAAgL,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,mHAAqH,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,mHAAqH,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,iGAAmG,UAAA,CAAW,gLAAoL,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,qHAAuH,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,qHAAuH,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,mGAAqG,UAAA,CAAW,wIAA4I,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,iGAAmG,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,iGAAmG,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,+EAAiF,UAAA,CAAW,oJAAwJ,YAAA,CAAa,qBAAA,CAAwB,cAAA,CAAe,qBAAA,CAAsB,uGAAyG,oBAAA,CAAqB,WAAA,CAAY,iBAAA,CAAkB,uGAAyG,iBAAA,CAAkB,oBAAA,CAAqB,WAAA,CAAY,OAAA,CAAQ,gBAAA,CAAiB,iCAAA,CAAkC,qFAAuF,UAAA,CAAW,yBAAyB,YAAA,CAAa,UAAA,CAAW,0CAA0C,sBAAA,CAAuB,yCAAyC,wBAAA,CAAyB,wCAAwC,0BAAA,CAA2B,gCAAgC,YAAA,CAAa,qBAAA,CAAsB,sBAAA,CAAuB,kBAAA,CAAmB,UAAA,CAAW,WAAA,CAAY,iBAAA,CAAkB,eAAA,CAAgB,uCAAuC,kBAAA,CAAoB,uBAAuB,iBAAA,CAAkB,QAAA,CAAS,eAAA,CAAgB,8BAA8B,iBAAA,CAAkB,KAAA,CAAM,MAAA,CAAO,oBAAA,CAAsB,qBAAA,CAAuB,kBAAA,CAAoB,sBAAsB,YAAA,CAAa,kBAAA,CAAmB,cAAA,CAAe,4BAAA,CAA8B,6BAA6B,UAAA,CAAW,wBAAA,CAA2B,6CAAgD,aAAA,CAAc,8CAAgD,YAAA,CAAa,+BAA+B,QAAA,CAAS,cAAA,CAAe,eAAA,CAAgB,yEAA2E,WAAA","file":"style-index.css","sourcesContent":[".has-icon-arrow-right-alt::before,.has-icon-arrow-right-alt::after,.has-icon-arrow-right-alt .wp-block-button__link::before,.has-icon-arrow-right-alt .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt.has-left-icon::before,.has-icon-arrow-right-alt.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-right-alt.has-right-icon::after,.has-icon-arrow-right-alt.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt:hover::after,.has-icon-arrow-right-alt:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-right-alt2::before,.has-icon-arrow-right-alt2::after,.has-icon-arrow-right-alt2 .wp-block-button__link::before,.has-icon-arrow-right-alt2 .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-right-alt2.has-left-icon::before,.has-icon-arrow-right-alt2.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-right-alt2.has-right-icon::after,.has-icon-arrow-right-alt2.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-right-alt2:hover::after,.has-icon-arrow-right-alt2:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-left-alt::before,.has-icon-arrow-left-alt::after,.has-icon-arrow-left-alt .wp-block-button__link::before,.has-icon-arrow-left-alt .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt.has-left-icon::before,.has-icon-arrow-left-alt.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-left-alt.has-right-icon::after,.has-icon-arrow-left-alt.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt:hover::after,.has-icon-arrow-left-alt:hover .wp-block-button__link::after{right:-6px}.has-icon-arrow-left-alt2::before,.has-icon-arrow-left-alt2::after,.has-icon-arrow-left-alt2 .wp-block-button__link::before,.has-icon-arrow-left-alt2 .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-arrow-left-alt2.has-left-icon::before,.has-icon-arrow-left-alt2.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-arrow-left-alt2.has-right-icon::after,.has-icon-arrow-left-alt2.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-arrow-left-alt2:hover::after,.has-icon-arrow-left-alt2:hover .wp-block-button__link::after{right:-6px}.has-icon-clock::before,.has-icon-clock::after,.has-icon-clock .wp-block-button__link::before,.has-icon-clock .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-clock.has-left-icon::before,.has-icon-clock.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-clock.has-right-icon::after,.has-icon-clock.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-clock:hover::after,.has-icon-clock:hover .wp-block-button__link::after{right:-6px}.has-icon-location::before,.has-icon-location::after,.has-icon-location .wp-block-button__link::before,.has-icon-location .wp-block-button__link::after{display:none;font-family:'dashicons';font-size:20px;vertical-align:middle}.has-icon-location.has-left-icon::before,.has-icon-location.has-left-icon .wp-block-button__link::before{display:inline-block;content:\"\";padding-right:8px}.has-icon-location.has-right-icon::after,.has-icon-location.has-right-icon .wp-block-button__link::after{position:relative;display:inline-block;content:\"\";right:0;padding-left:8px;transition:right .25s ease-in-out}.has-icon-location:hover::after,.has-icon-location:hover .wp-block-button__link::after{right:-6px}.noor-block-bullet-point{display:flex;width:100%}.noor-block-bullet-point.has-align-center{justify-content:center}.noor-block-bullet-point.has-align-right{justify-content:flex-end}.noor-block-bullet-point.has-align-left{justify-content:flex-start}.noor-block-bullet-point__point{display:flex;flex-direction:column;justify-content:center;align-items:center;width:87px;height:87px;border-radius:50%;overflow:hidden}.noor-block-bullet-point__text-content{margin:0 !important}.noor-block-google-map{position:relative;height:0;overflow:hidden}.noor-block-google-map iframe{position:absolute;top:0;left:0;width:100% !important;height:100% !important;border:0 !important}.noor-block-accordion{display:flex;align-items:center;padding:0 2rem;margin:1rem auto 0 !important}.noor-block-accordion__title{width:100%;margin:0.5rem 0 !important}.noor-block-accordion__icon[data-state=\"true\"] {display:block}.noor-block-accordion__icon[data-state=\"false\"]{display:none}.noor-block-accordion__content{height:0;padding:0 2rem;overflow:hidden}.noor-block-accordion[aria-expanded=\"true\"]+.noor-block-accordion__content{height:auto}\n"]} \ No newline at end of file diff --git a/src/components/controls.js b/src/components/controls.js new file mode 100644 index 0000000..2e9d9c4 --- /dev/null +++ b/src/components/controls.js @@ -0,0 +1,145 @@ +import { __ } from '@wordpress/i18n' +import { PanelBody, ToggleControl } from '@wordpress/components' +import { PanelColorSettings } from '@wordpress/block-editor' +import { RadioGroup } from '../components/radio-group' +import { Fragment } from '@wordpress/element' + +export const SmallScreenControl = ({ setAttributes, attributes: { mediaControl }}) => ( + + setAttributes({ mediaControl })} + /> + ); + +export const ColumnBackgrounControl = ({ backgroundColor, setBackgroundColor, setAttributes }) => { + + setAttributes({ className: backgroundColor.class != undefined ? backgroundColor.class + ' has-background' : '' }); + + return ( + + ); +} + +export const ButtonIconControl = ({ attributes: {useIcon, alignIcon, icon}, setAttributes }) => { + + const iconControlOptions = [ + 'arrow-right-alt', + 'arrow-left-alt', + 'arrow-right-alt2', + 'arrow-left-alt2', + 'clock', + 'location' + ]; + + const setIconClassList = () => { + + const align = alignIcon ? 'has-left-icon' : 'has-right-icon'; + + const iconName = useIcon && icon !== '' ? `has-icon-${icon}` : ''; + + const className = align + ' ' + iconName; + + setAttributes({ className }); + } + + const setUseIcon = useIcon => { + + setAttributes({ useIcon }); + + if ( ! useIcon ) { + + setIcon( '' ); + } + } + + const setIcon = (value, event) => { + + if ( event ) { + + event.preventDefault(); + } + + setAttributes({ icon: value }); + + setIconClassList(); + } + + setIcon( icon ); + + return ( + + + + setAttributes({ alignIcon: ! alignIcon })} + /> + + {useIcon && { + event.preventDefault(); + setAttributes({ icon: event.currentTarget.value, event }); + }} + options={iconControlOptions} + initialChecked={icon} + showIcons={true} + />} + + ); +} + +export const ButtonAllControls = (props) => { + + const { color, setColor, backgroundColor, setBackgroundColor, setAttributes } = props; + + setAttributes({ className: color.class != undefined ? color.class + ' has-color' : '' }); + + setAttributes({ className: backgroundColor.class != undefined ? backgroundColor.class + ' has-background' : '' }); + + return ( + + + + + + ) +} \ No newline at end of file diff --git a/src/core-blocks/core-button.js b/src/core-blocks/core-button.js deleted file mode 100644 index dce0854..0000000 --- a/src/core-blocks/core-button.js +++ /dev/null @@ -1,123 +0,0 @@ -import { __ } from '@wordpress/i18n' -import { createHigherOrderComponent } from '@wordpress/compose' -import { Fragment } from '@wordpress/element' -import { InspectorControls } from '@wordpress/block-editor' -import { PanelBody, ToggleControl } from '@wordpress/components' -import { RadioGroup } from '../components/radio-group' - -const iconControlOptions = [ - 'arrow-right-alt', - 'arrow-left-alt', - 'arrow-right-alt2', - 'arrow-left-alt2', - 'clock', - 'location' -]; - -export const addInlineIconAttribute = ( settings, name ) => { - - if ( 'core/button' !== name ) { - - return settings; - } - - Object.assign(settings.attributes, { - useIcon: { - type: 'boolean', - default: true - }, - alignIcon: { - type: 'boolean', - default: false - }, - icon: { - type: 'string', - default: 'arrow-right-alt' - } - }); - - return settings; -}; - -export const withIcon = createHigherOrderComponent( BlockEdit => props => { - - if ( 'core/button' !== props.name ) { - - return ( ); - } - - const {attributes, setAttributes} = props; - - const {useIcon, alignIcon, icon} = props.attributes; - - const setIconClassList = () => { - - const align = alignIcon ? 'has-left-icon' : 'has-right-icon'; - - const iconName = useIcon && icon !== '' ? `has-icon-${icon}` : undefined; - - const className = align + ' ' + iconName; - - setAttributes({ className }); - } - - const setUseIcon = useIcon => { - - setAttributes({ useIcon }); - - if ( ! useIcon ) { - - setIcon( '' ); - } - } - - const setIcon = (value, event) => { - - if ( event ) { - - event.preventDefault(); - } - - setAttributes({ icon: value }); - - setIconClassList(); - } - - setIcon( icon ); - - return ( - - - - - - - - setAttributes({ alignIcon: ! alignIcon })} - /> - - {useIcon && { - event.preventDefault(); - setAttributes({ icon: event.currentTarget.value, event }); - }} - options={iconControlOptions} - initialChecked={props.attributes.icon} - showIcons={true} - />} - - - - ); -}, 'withIcon' ); diff --git a/src/core-blocks/core-column.js b/src/core-blocks/core-column.js deleted file mode 100644 index d69b60b..0000000 --- a/src/core-blocks/core-column.js +++ /dev/null @@ -1,54 +0,0 @@ -import { __ } from '@wordpress/i18n' -import { createHigherOrderComponent } from '@wordpress/compose' -import { Fragment } from '@wordpress/element' -import { withColors, InspectorControls, PanelColorSettings, getColorClassName } from '@wordpress/block-editor' -import { compose } from '@wordpress/compose' - -export const addBackgroundColor = (settings, name) => { - - if ( name != 'core/column' ) { - - return settings; - } - - Object.assign(settings.attributes, { - backgroundColor: { - type: 'string', - } - }) - - return settings; -} - -export const withBackgroundColor = compose( - withColors({ backgroundColor: 'background-color' }), - createHigherOrderComponent( BlockEdit => props => { - - if ( props.name != 'core/column' ) { - - return - } - - const {backgroundColor, setBackgroundColor} = props; - - props.setAttributes({ className: backgroundColor.class != undefined ? backgroundColor.class + ' has-background' : '' }); - - return ( - - - - - - - ); -}, 'withBackgroundColor')); diff --git a/src/filters/attributes.js b/src/filters/attributes.js new file mode 100644 index 0000000..fb33a75 --- /dev/null +++ b/src/filters/attributes.js @@ -0,0 +1,59 @@ +const inlineIconAttributes = { + useIcon: { + type: 'boolean', + default: true + }, + alignIcon: { + type: 'boolean', + default: false + }, + icon: { + type: 'string', + default: 'arrow-right-alt' + } +} + +export const attributes = (settings, name) => { + + if ( ! name.includes( 'noor' ) ) { + + Object.assign(settings.attributes, { + mediaControl: { + type: 'boolean', + default: true + } + }); + } + + if ( 'core/button' === name ) { + + Object.assign(settings.attributes, { + ...inlineIconAttributes + }); + } + + // wp-bootstrap-blocks plugin + if ( 'wp-bootstrap-blocks/button' === name ) { + + Object.assign(settings.attributes, { + ...inlineIconAttributes, + backgroundColor: { + type: 'string' + }, + color: { + type: 'string' + } + }) + } + + if ( 'core/column' === name ) { + + Object.assign(settings.attributes, { + backgroundColor: { + type: 'string', + } + }) + } + + return settings; +} \ No newline at end of file diff --git a/src/filters/blockEdit.js b/src/filters/blockEdit.js new file mode 100644 index 0000000..bae7ab1 --- /dev/null +++ b/src/filters/blockEdit.js @@ -0,0 +1,59 @@ +import { __ } from '@wordpress/i18n' +import { createHigherOrderComponent } from '@wordpress/compose' +import { Fragment } from '@wordpress/element' +import { withColors, InspectorControls } from '@wordpress/block-editor' +import { compose } from '@wordpress/compose' + +import { + SmallScreenControl, + ColumnBackgrounControl, + ButtonIconControl, + ButtonAllControls +} from '../components/controls' + +export const blockEdit = compose( + withColors({ backgroundColor: 'background-color', color: 'color' }), + createHigherOrderComponent( BlockEdit => props => { + + if ( ! props.name.includes( 'noor' ) ) { + + return ( + + + + + {props.name === 'core/column' && } + {props.name === 'core/button' && } + {props.name === 'wp-bootstrap-blocks/button' && } + + + ) + } + + // if ( props.name === 'core/column' ) { + + // return ( + // + // + // + // + // + // + // ); + // } + + // if ( props.name === 'core/button' ) { + + // return ( + // + // + + // + // + // + // + // ); + // } + + return +}, 'blockEdit')); \ No newline at end of file diff --git a/src/filters/extraProps.js b/src/filters/extraProps.js new file mode 100644 index 0000000..b6452eb --- /dev/null +++ b/src/filters/extraProps.js @@ -0,0 +1,9 @@ +export const extraProps = ( props, blockType, attributes ) => { + + if ( ! attributes.mediaControl && ! blockType.name.includes('noor') ) { + + props.className = props.className + ' on-media-hide'; + } + + return props; +} \ No newline at end of file diff --git a/src/filters/index.js b/src/filters/index.js new file mode 100644 index 0000000..30aad0f --- /dev/null +++ b/src/filters/index.js @@ -0,0 +1,11 @@ +import { attributes } from './attributes' + +import { blockEdit } from './blockEdit' + +import { extraProps } from './extraProps' + +export const filters = { + attributes, + blockEdit, + extraProps +} diff --git a/src/index.js b/src/index.js index 8dae670..e2b5dd1 100644 --- a/src/index.js +++ b/src/index.js @@ -8,21 +8,7 @@ import * as googleMap from './blocks/google-map/index' import { addFilter } from '@wordpress/hooks' -import { __ } from '@wordpress/i18n' -import { createHigherOrderComponent } from '@wordpress/compose' -import { Fragment } from '@wordpress/element' -import { InspectorControls } from '@wordpress/block-editor' -import { PanelBody, ToggleControl } from '@wordpress/components' - -import { - addInlineIconAttribute, - withIcon -} from './core-blocks/core-button' - -import { - addBackgroundColor, - withBackgroundColor, -} from './core-blocks/core-column' +import { filters } from './filters/index' const prefix = 'noor/'; @@ -39,6 +25,7 @@ const registerNoorBlocks = () => [ googleMap ].forEach( block => registerBlock( block ) ); +<<<<<<< HEAD registerNoorBlocks(); const mediaQueryControl = (settings, name) => { @@ -86,46 +73,24 @@ const mediaExtraProps = ( props, blockType, attributes ) => { } // MEDIA DISPLAY SWITCH +======= +>>>>>>> 748fc5c28efc5ed9f991a9eb3463d39c40f8649f addFilter( 'blocks.registerBlockType', 'noor/gutenberg-blocks/custom-attributes', - mediaQueryControl + filters.attributes ); addFilter( 'editor.BlockEdit', 'noor/gutenberg-blocks/custom-control', - mediaControl + filters.blockEdit ); addFilter( 'blocks.getSaveContent.extraProps', 'noor/gutenberg-blocks/extraProps', - mediaExtraProps + filters.extraProps ); -// CORE/BUTTON -addFilter( - 'blocks.registerBlockType', - 'noor/gutenberg-blocks/custom-attributes', - addInlineIconAttribute -); - -addFilter( - 'editor.BlockEdit', - 'noor/gutenberg-blocks/custom-control', - withIcon -); - -// CORE/COLUMN -addFilter( - 'blocks.registerBlockType', - 'noor/gutenberg-blocks/custom-attributes', - addBackgroundColor -); - -addFilter( - 'editor.BlockEdit', - 'noor/gutenberg-blocks/custom-control', - withBackgroundColor -); \ No newline at end of file +registerNoorBlocks(); \ No newline at end of file diff --git a/src/styles/_common.scss b/src/styles/_common.scss index d251850..76b333b 100644 --- a/src/styles/_common.scss +++ b/src/styles/_common.scss @@ -17,6 +17,8 @@ $icons: ( .has-icon-#{$name} { + &::before, + &::after, .wp-block-button__link::before, .wp-block-button__link::after { @@ -28,6 +30,7 @@ $icons: ( &.has-left-icon { + &::before, .wp-block-button__link::before { display: inline-block; @@ -38,6 +41,7 @@ $icons: ( &.has-right-icon { + &::after, .wp-block-button__link::after { position: relative; @@ -51,6 +55,7 @@ $icons: ( &:hover { + &::after, .wp-block-button__link::after { right: -6px;