Plugin Directory

Changeset 3260132


Ignore:
Timestamp:
03/22/2025 07:00:02 PM (12 months ago)
Author:
rodrigoleon
Message:

Update to version 1.1.0 from GitHub

Location:
modal-builder-block
Files:
4 added
6 deleted
19 edited
1 copied

Legend:

Unmodified
Added
Removed
  • modal-builder-block/assets/banner-1544x500.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • modal-builder-block/assets/banner-772x250.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • modal-builder-block/assets/icon-256x256.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • modal-builder-block/assets/icon.svg

    • Property svn:mime-type set to image/svg+xml
  • modal-builder-block/assets/screenshot-1.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • modal-builder-block/assets/screenshot-2.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • modal-builder-block/assets/screenshot-3.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • modal-builder-block/tags/1.1.0/block.json

    r2589610 r3260132  
    22  "apiVersion": 2,
    33  "name": "htr-block/modal-builder-block",
    4   "version": "1.0.0",
     4  "version": "1.1.0",
    55  "title": "Modal Builder Block",
    66  "category": "widgets",
  • modal-builder-block/tags/1.1.0/build/index.asset.php

    r2589610 r3260132  
    1 <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '978fe2c101583f934d06340af91510cf');
     1<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n'), 'version' => 'b5fd57961aa970f38a1b');
  • modal-builder-block/tags/1.1.0/build/index.js

    r2589610 r3260132  
    1 (window.webpackJsonp_modal_builder_block=window.webpackJsonp_modal_builder_block||[]).push([[1],{5:function(e,t,n){}}]),function(e){function t(t){for(var l,a,c=t[0],i=t[1],d=t[2],b=0,s=[];b<c.length;b++)a=c[b],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(l in i)Object.prototype.hasOwnProperty.call(i,l)&&(e[l]=i[l]);for(u&&u(t);s.length;)s.shift()();return r.push.apply(r,d||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],l=!0,c=1;c<n.length;c++){var i=n[c];0!==o[i]&&(l=!1)}l&&(r.splice(t--,1),e=a(a.s=n[0]))}return e}var l={},o={0:0},r=[];function a(t){if(l[t])return l[t].exports;var n=l[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=l,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)a.d(n,l,function(t){return e[t]}.bind(null,l));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var c=window.webpackJsonp_modal_builder_block=window.webpackJsonp_modal_builder_block||[],i=c.push.bind(c);c.push=t,c=c.slice();for(var d=0;d<c.length;d++)t(c[d]);var u=i;r.push([6,1]),n()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.blocks},,function(e,t,n){"use strict";n.r(t);var l=n(4),o=(n(5),n(0)),r=n(2),a=n(1),c=n(3);Object(l.registerBlockType)("htr-block/modal-builder-block",{edit:({attributes:e,setAttributes:t})=>{const{mbModalID:n,mbModalContentType:l}=e;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(a.InspectorControls,null,Object(o.createElement)(c.PanelBody,{title:Object(r.__)("Modal Settings")},Object(o.createElement)(c.SelectControl,{label:Object(r.__)("Modal Content Type"),help:Object(r.__)("Select what you will like to create. Modal Trigger, or Modal Content."),value:l,options:[{label:"Trigger",value:"htr-modal-trigger"},{label:"Content",value:"htr-modal-content"}],onChange:e=>{t({mbModalContentType:e})}}),Object(o.createElement)(c.TextControl,{label:Object(r.__)("Content ID"),help:Object(r.__)("Match this ID with your Modal's trigger/content."),value:n,onChange:e=>{t({mbModalID:e})}}))),Object(o.createElement)("div",Object(a.useBlockProps)(),Object(o.createElement)("div",{className:"htr-modal-content"===l?l+"-edit":l},"htr-modal-trigger"===l?Object(o.createElement)("div",{className:"modal-builder-header"},Object(o.createElement)("p",null,Object(o.createElement)("strong",null,"Modal Trigger:")," Build your Modal"," ",Object(o.createElement)("strong",null,"trigger")," below (most commonly, triggers are buttons or images).",Object(o.createElement)("br",null),Object(o.createElement)("small",null,"Note: This text will not show on the front-end."))):Object(o.createElement)("div",{className:"modal-builder-header"},Object(o.createElement)("p",null,Object(o.createElement)("strong",null,"Modal Content:")," Build your Modal"," ",Object(o.createElement)("strong",null,"content")," below.",Object(o.createElement)("br",null),Object(o.createElement)("small",null,"Note: This text will not show on the front-end. The content below is also grayed out on the editor only. It will not be visible on the fron-tend until the trigger is clicked/tapped."),".")),Object(o.createElement)("div",null,Object(o.createElement)(a.InnerBlocks,null)))))},save:e=>{const{mbModalID:t,mbModalContentType:n}=e.attributes;return Object(o.createElement)("div",a.useBlockProps.save(),"htr-modal-trigger"==n?Object(o.createElement)("div",{className:"htr-modal-trigger","data-modal-id":t},Object(o.createElement)(a.InnerBlocks.Content,null)):Object(o.createElement)("dialog",{className:"htr-modal-content htr-modal-content-hide","data-modal-id":t},Object(o.createElement)("div",{className:"htr-modal-content-background"}),Object(o.createElement)("div",{className:"htr-modal-content-close-btn"},"X"),Object(o.createElement)("div",{className:"htr-modal-content-wrap"},Object(o.createElement)(a.InnerBlocks.Content,null))))}})}]);
     1(()=>{"use strict";var e,t={326:()=>{const e=window.wp.blocks,t=window.wp.i18n,o=window.wp.blockEditor,l=window.wp.components,r=window.ReactJSXRuntime;(0,e.registerBlockType)("htr-block/modal-builder-block",{edit:({attributes:e,setAttributes:n})=>{const{mbModalID:s,mbModalContentType:i}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.InspectorControls,{children:(0,r.jsxs)(l.PanelBody,{title:(0,t.__)("Modal Settings"),children:[(0,r.jsx)(l.SelectControl,{label:(0,t.__)("Modal Content Type"),help:(0,t.__)("Select what you will like to create. Modal Trigger, or Modal Content."),value:i,options:[{label:"Trigger",value:"htr-modal-trigger"},{label:"Content",value:"htr-modal-content"}],onChange:e=>{n({mbModalContentType:e})}}),(0,r.jsx)(l.TextControl,{label:(0,t.__)("Content ID"),help:(0,t.__)("Match this ID with your Modal's trigger/content."),value:s,onChange:e=>{n({mbModalID:e})}})]})}),(0,r.jsx)("div",{...(0,o.useBlockProps)(),children:(0,r.jsxs)("div",{className:"htr-modal-content"===i?`${i}-edit`:i,children:["htr-modal-trigger"===i?(0,r.jsx)("div",{className:"modal-builder-header",children:(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:"Modal Trigger:"})," Build your Modal"," ",(0,r.jsx)("strong",{children:"trigger"})," below (most commonly, triggers are buttons or images).",(0,r.jsx)("br",{}),(0,r.jsx)("small",{children:"Note: This text will not show on the front-end."})]})}):(0,r.jsx)("div",{className:"modal-builder-header",children:(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:"Modal Content:"})," Build your Modal"," ",(0,r.jsx)("strong",{children:"content"})," below.",(0,r.jsx)("br",{}),(0,r.jsx)("small",{children:"Note: This text will not show on the front-end. The content below is also grayed out on the editor only. It will not be visible on the fron-tend until the trigger is clicked/tapped."}),"."]})}),(0,r.jsx)("div",{children:(0,r.jsx)(o.InnerBlocks,{})})]})})]})},save:e=>{const{mbModalID:t,mbModalContentType:l}=e.attributes;return(0,r.jsx)("div",{...o.useBlockProps.save(),children:"htr-modal-trigger"==l?(0,r.jsx)("div",{className:"htr-modal-trigger","data-modal-id":t,children:(0,r.jsx)(o.InnerBlocks.Content,{})}):(0,r.jsxs)("dialog",{className:"htr-modal-content htr-modal-content-hide","data-modal-id":t,children:[(0,r.jsx)("div",{className:"htr-modal-content-background"}),(0,r.jsx)("div",{className:"htr-modal-content-close-btn",children:"X"}),(0,r.jsx)("div",{className:"htr-modal-content-wrap",children:(0,r.jsx)(o.InnerBlocks.Content,{})})]})})}})}},o={};function l(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,l),n.exports}l.m=t,e=[],l.O=(t,o,r,n)=>{if(!o){var s=1/0;for(c=0;c<e.length;c++){for(var[o,r,n]=e[c],i=!0,a=0;a<o.length;a++)(!1&n||s>=n)&&Object.keys(l.O).every((e=>l.O[e](o[a])))?o.splice(a--,1):(i=!1,n<s&&(s=n));if(i){e.splice(c--,1);var d=r();void 0!==d&&(t=d)}}return t}n=n||0;for(var c=e.length;c>0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[o,r,n]},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={57:0,350:0};l.O.j=t=>0===e[t];var t=(t,o)=>{var r,n,[s,i,a]=o,d=0;if(s.some((t=>0!==e[t]))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(a)var c=a(l)}for(t&&t(o);d<s.length;d++)n=s[d],l.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return l.O(c)},o=globalThis.webpackChunkmodal_builder_block=globalThis.webpackChunkmodal_builder_block||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var r=l.O(void 0,[350],(()=>l(326)));r=l.O(r)})();
  • modal-builder-block/tags/1.1.0/build/style-index.css

    r2589610 r3260132  
    1 .wp-block-htr-block-modal-builder-block{margin-top:0 !important;margin-bottom:0 !important}.htr-modal-content-hide{opacity:0;z-index:-999999999}.htr-modal-content-show{opacity:1;z-index:99999}.htr-modal-prevent-scroll{overflow:hidden}.htr-modal-content{position:fixed;width:100%;height:100%;top:0;left:0;bottom:0;right:0;padding:0;border:0;overflow:hidden;display:flex;justify-content:center;align-items:center;background-color:transparent}.htr-modal-content-wrap{max-height:80%;max-width:80%;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;position:relative;background-color:#fff}.htr-modal-content-wrap::-webkit-scrollbar{width:0px}.htr-modal-content-close-btn{position:absolute;top:2rem;right:2rem;width:38px;height:38px;z-index:9999;color:#fff;cursor:pointer;line-height:32px;font-size:1.6rem;text-align:center;border-radius:100%;background-color:#000;border:2px solid #fff}.htr-modal-content-background{background-color:rgba(0,0,0,.6);position:absolute;width:100%;height:100%;top:0;left:0;bottom:0;right:0}@media(min-width: 1280px){.htr-modal-content-wrap{max-width:1280px}}
     1.wp-block-htr-block-modal-builder-block{margin-bottom:0!important;margin-top:0!important}.htr-modal-content-hide{opacity:0;z-index:-999999999}.htr-modal-content-show{opacity:1;z-index:99999}.htr-modal-prevent-scroll{overflow:hidden}.htr-modal-content{align-items:center;background-color:transparent;border:0;bottom:0;display:flex;height:100%;justify-content:center;left:0;overflow:hidden;padding:0;position:fixed;right:0;top:0;width:100%}.htr-modal-content-wrap{max-height:80%;max-width:80%;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;background-color:#fff;position:relative}.htr-modal-content-wrap::-webkit-scrollbar{width:0}.htr-modal-content-close-btn{background-color:#000;border:2px solid #fff;border-radius:100%;color:#fff;cursor:pointer;font-size:1.6rem;height:38px;line-height:32px;position:absolute;right:2rem;text-align:center;top:2rem;width:38px;z-index:9999}.htr-modal-content-background{background-color:rgba(0,0,0,.6);bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}@media(min-width:1280px){.htr-modal-content-wrap{max-width:1280px}}
  • modal-builder-block/tags/1.1.0/modal-builder-block.php

    r2589610 r3260132  
    55 * Requires at least: 5.8
    66 * Requires PHP:      7.0
    7  * Version:           1.0.0
     7 * Version:           1.1.0
    88 * Author:            Rodrigo Leon
    99 * License:           GPL-2.0-or-later
  • modal-builder-block/tags/1.1.0/readme.txt

    r2589610 r3260132  
    44Tags:              modal, popup, window, lightbox, gutenberg, block
    55Requires at least: 5.8
    6 Tested up to:      5.8.0
    7 Stable tag:        1.0.0
     6Tested up to:      6.7.2
     7Stable tag:        1.1.0
    88Requires PHP:      7.0
    99License:           GPL-2.0-or-later
     
    4242
    4343Yes! You can create as many triggers with different inner blocks as you like.
     44
     45= The plugin does not work properly on auto loaded posts? =
     46
     47Plugins are tested with first party WordPress plugins and themes (Jetpack, Twitenty Twenty-Five). The plugin is not tested with third party plugins or themes. Please try turning those plugins off or switching themes. If you need more assistance, please reach out. Please do note that we won't have any plugin or theme you have purchased in order to test and troubleshoot with.
  • modal-builder-block/trunk/block.json

    r2589610 r3260132  
    22  "apiVersion": 2,
    33  "name": "htr-block/modal-builder-block",
    4   "version": "1.0.0",
     4  "version": "1.1.0",
    55  "title": "Modal Builder Block",
    66  "category": "widgets",
  • modal-builder-block/trunk/build/index.asset.php

    r2589610 r3260132  
    1 <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '978fe2c101583f934d06340af91510cf');
     1<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n'), 'version' => 'b5fd57961aa970f38a1b');
  • modal-builder-block/trunk/build/index.js

    r2589610 r3260132  
    1 (window.webpackJsonp_modal_builder_block=window.webpackJsonp_modal_builder_block||[]).push([[1],{5:function(e,t,n){}}]),function(e){function t(t){for(var l,a,c=t[0],i=t[1],d=t[2],b=0,s=[];b<c.length;b++)a=c[b],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(l in i)Object.prototype.hasOwnProperty.call(i,l)&&(e[l]=i[l]);for(u&&u(t);s.length;)s.shift()();return r.push.apply(r,d||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],l=!0,c=1;c<n.length;c++){var i=n[c];0!==o[i]&&(l=!1)}l&&(r.splice(t--,1),e=a(a.s=n[0]))}return e}var l={},o={0:0},r=[];function a(t){if(l[t])return l[t].exports;var n=l[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=l,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)a.d(n,l,function(t){return e[t]}.bind(null,l));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var c=window.webpackJsonp_modal_builder_block=window.webpackJsonp_modal_builder_block||[],i=c.push.bind(c);c.push=t,c=c.slice();for(var d=0;d<c.length;d++)t(c[d]);var u=i;r.push([6,1]),n()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.blocks},,function(e,t,n){"use strict";n.r(t);var l=n(4),o=(n(5),n(0)),r=n(2),a=n(1),c=n(3);Object(l.registerBlockType)("htr-block/modal-builder-block",{edit:({attributes:e,setAttributes:t})=>{const{mbModalID:n,mbModalContentType:l}=e;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(a.InspectorControls,null,Object(o.createElement)(c.PanelBody,{title:Object(r.__)("Modal Settings")},Object(o.createElement)(c.SelectControl,{label:Object(r.__)("Modal Content Type"),help:Object(r.__)("Select what you will like to create. Modal Trigger, or Modal Content."),value:l,options:[{label:"Trigger",value:"htr-modal-trigger"},{label:"Content",value:"htr-modal-content"}],onChange:e=>{t({mbModalContentType:e})}}),Object(o.createElement)(c.TextControl,{label:Object(r.__)("Content ID"),help:Object(r.__)("Match this ID with your Modal's trigger/content."),value:n,onChange:e=>{t({mbModalID:e})}}))),Object(o.createElement)("div",Object(a.useBlockProps)(),Object(o.createElement)("div",{className:"htr-modal-content"===l?l+"-edit":l},"htr-modal-trigger"===l?Object(o.createElement)("div",{className:"modal-builder-header"},Object(o.createElement)("p",null,Object(o.createElement)("strong",null,"Modal Trigger:")," Build your Modal"," ",Object(o.createElement)("strong",null,"trigger")," below (most commonly, triggers are buttons or images).",Object(o.createElement)("br",null),Object(o.createElement)("small",null,"Note: This text will not show on the front-end."))):Object(o.createElement)("div",{className:"modal-builder-header"},Object(o.createElement)("p",null,Object(o.createElement)("strong",null,"Modal Content:")," Build your Modal"," ",Object(o.createElement)("strong",null,"content")," below.",Object(o.createElement)("br",null),Object(o.createElement)("small",null,"Note: This text will not show on the front-end. The content below is also grayed out on the editor only. It will not be visible on the fron-tend until the trigger is clicked/tapped."),".")),Object(o.createElement)("div",null,Object(o.createElement)(a.InnerBlocks,null)))))},save:e=>{const{mbModalID:t,mbModalContentType:n}=e.attributes;return Object(o.createElement)("div",a.useBlockProps.save(),"htr-modal-trigger"==n?Object(o.createElement)("div",{className:"htr-modal-trigger","data-modal-id":t},Object(o.createElement)(a.InnerBlocks.Content,null)):Object(o.createElement)("dialog",{className:"htr-modal-content htr-modal-content-hide","data-modal-id":t},Object(o.createElement)("div",{className:"htr-modal-content-background"}),Object(o.createElement)("div",{className:"htr-modal-content-close-btn"},"X"),Object(o.createElement)("div",{className:"htr-modal-content-wrap"},Object(o.createElement)(a.InnerBlocks.Content,null))))}})}]);
     1(()=>{"use strict";var e,t={326:()=>{const e=window.wp.blocks,t=window.wp.i18n,o=window.wp.blockEditor,l=window.wp.components,r=window.ReactJSXRuntime;(0,e.registerBlockType)("htr-block/modal-builder-block",{edit:({attributes:e,setAttributes:n})=>{const{mbModalID:s,mbModalContentType:i}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.InspectorControls,{children:(0,r.jsxs)(l.PanelBody,{title:(0,t.__)("Modal Settings"),children:[(0,r.jsx)(l.SelectControl,{label:(0,t.__)("Modal Content Type"),help:(0,t.__)("Select what you will like to create. Modal Trigger, or Modal Content."),value:i,options:[{label:"Trigger",value:"htr-modal-trigger"},{label:"Content",value:"htr-modal-content"}],onChange:e=>{n({mbModalContentType:e})}}),(0,r.jsx)(l.TextControl,{label:(0,t.__)("Content ID"),help:(0,t.__)("Match this ID with your Modal's trigger/content."),value:s,onChange:e=>{n({mbModalID:e})}})]})}),(0,r.jsx)("div",{...(0,o.useBlockProps)(),children:(0,r.jsxs)("div",{className:"htr-modal-content"===i?`${i}-edit`:i,children:["htr-modal-trigger"===i?(0,r.jsx)("div",{className:"modal-builder-header",children:(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:"Modal Trigger:"})," Build your Modal"," ",(0,r.jsx)("strong",{children:"trigger"})," below (most commonly, triggers are buttons or images).",(0,r.jsx)("br",{}),(0,r.jsx)("small",{children:"Note: This text will not show on the front-end."})]})}):(0,r.jsx)("div",{className:"modal-builder-header",children:(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:"Modal Content:"})," Build your Modal"," ",(0,r.jsx)("strong",{children:"content"})," below.",(0,r.jsx)("br",{}),(0,r.jsx)("small",{children:"Note: This text will not show on the front-end. The content below is also grayed out on the editor only. It will not be visible on the fron-tend until the trigger is clicked/tapped."}),"."]})}),(0,r.jsx)("div",{children:(0,r.jsx)(o.InnerBlocks,{})})]})})]})},save:e=>{const{mbModalID:t,mbModalContentType:l}=e.attributes;return(0,r.jsx)("div",{...o.useBlockProps.save(),children:"htr-modal-trigger"==l?(0,r.jsx)("div",{className:"htr-modal-trigger","data-modal-id":t,children:(0,r.jsx)(o.InnerBlocks.Content,{})}):(0,r.jsxs)("dialog",{className:"htr-modal-content htr-modal-content-hide","data-modal-id":t,children:[(0,r.jsx)("div",{className:"htr-modal-content-background"}),(0,r.jsx)("div",{className:"htr-modal-content-close-btn",children:"X"}),(0,r.jsx)("div",{className:"htr-modal-content-wrap",children:(0,r.jsx)(o.InnerBlocks.Content,{})})]})})}})}},o={};function l(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,l),n.exports}l.m=t,e=[],l.O=(t,o,r,n)=>{if(!o){var s=1/0;for(c=0;c<e.length;c++){for(var[o,r,n]=e[c],i=!0,a=0;a<o.length;a++)(!1&n||s>=n)&&Object.keys(l.O).every((e=>l.O[e](o[a])))?o.splice(a--,1):(i=!1,n<s&&(s=n));if(i){e.splice(c--,1);var d=r();void 0!==d&&(t=d)}}return t}n=n||0;for(var c=e.length;c>0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[o,r,n]},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={57:0,350:0};l.O.j=t=>0===e[t];var t=(t,o)=>{var r,n,[s,i,a]=o,d=0;if(s.some((t=>0!==e[t]))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(a)var c=a(l)}for(t&&t(o);d<s.length;d++)n=s[d],l.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return l.O(c)},o=globalThis.webpackChunkmodal_builder_block=globalThis.webpackChunkmodal_builder_block||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var r=l.O(void 0,[350],(()=>l(326)));r=l.O(r)})();
  • modal-builder-block/trunk/build/style-index.css

    r2589610 r3260132  
    1 .wp-block-htr-block-modal-builder-block{margin-top:0 !important;margin-bottom:0 !important}.htr-modal-content-hide{opacity:0;z-index:-999999999}.htr-modal-content-show{opacity:1;z-index:99999}.htr-modal-prevent-scroll{overflow:hidden}.htr-modal-content{position:fixed;width:100%;height:100%;top:0;left:0;bottom:0;right:0;padding:0;border:0;overflow:hidden;display:flex;justify-content:center;align-items:center;background-color:transparent}.htr-modal-content-wrap{max-height:80%;max-width:80%;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;position:relative;background-color:#fff}.htr-modal-content-wrap::-webkit-scrollbar{width:0px}.htr-modal-content-close-btn{position:absolute;top:2rem;right:2rem;width:38px;height:38px;z-index:9999;color:#fff;cursor:pointer;line-height:32px;font-size:1.6rem;text-align:center;border-radius:100%;background-color:#000;border:2px solid #fff}.htr-modal-content-background{background-color:rgba(0,0,0,.6);position:absolute;width:100%;height:100%;top:0;left:0;bottom:0;right:0}@media(min-width: 1280px){.htr-modal-content-wrap{max-width:1280px}}
     1.wp-block-htr-block-modal-builder-block{margin-bottom:0!important;margin-top:0!important}.htr-modal-content-hide{opacity:0;z-index:-999999999}.htr-modal-content-show{opacity:1;z-index:99999}.htr-modal-prevent-scroll{overflow:hidden}.htr-modal-content{align-items:center;background-color:transparent;border:0;bottom:0;display:flex;height:100%;justify-content:center;left:0;overflow:hidden;padding:0;position:fixed;right:0;top:0;width:100%}.htr-modal-content-wrap{max-height:80%;max-width:80%;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;background-color:#fff;position:relative}.htr-modal-content-wrap::-webkit-scrollbar{width:0}.htr-modal-content-close-btn{background-color:#000;border:2px solid #fff;border-radius:100%;color:#fff;cursor:pointer;font-size:1.6rem;height:38px;line-height:32px;position:absolute;right:2rem;text-align:center;top:2rem;width:38px;z-index:9999}.htr-modal-content-background{background-color:rgba(0,0,0,.6);bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}@media(min-width:1280px){.htr-modal-content-wrap{max-width:1280px}}
  • modal-builder-block/trunk/modal-builder-block.php

    r2589610 r3260132  
    55 * Requires at least: 5.8
    66 * Requires PHP:      7.0
    7  * Version:           1.0.0
     7 * Version:           1.1.0
    88 * Author:            Rodrigo Leon
    99 * License:           GPL-2.0-or-later
  • modal-builder-block/trunk/readme.txt

    r2589610 r3260132  
    44Tags:              modal, popup, window, lightbox, gutenberg, block
    55Requires at least: 5.8
    6 Tested up to:      5.8.0
    7 Stable tag:        1.0.0
     6Tested up to:      6.7.2
     7Stable tag:        1.1.0
    88Requires PHP:      7.0
    99License:           GPL-2.0-or-later
     
    4242
    4343Yes! You can create as many triggers with different inner blocks as you like.
     44
     45= The plugin does not work properly on auto loaded posts? =
     46
     47Plugins are tested with first party WordPress plugins and themes (Jetpack, Twitenty Twenty-Five). The plugin is not tested with third party plugins or themes. Please try turning those plugins off or switching themes. If you need more assistance, please reach out. Please do note that we won't have any plugin or theme you have purchased in order to test and troubleshoot with.
Note: See TracChangeset for help on using the changeset viewer.