From 321b611db62c06ef4fbaa236bd331a3ddd7d5d75 Mon Sep 17 00:00:00 2001 From: Darren Cooney Date: Fri, 20 Oct 2023 13:22:50 -0400 Subject: [PATCH] Updated packages and localization build --- build/style-block-manager-admin.css | 2 +- class-admin.php | 2 +- composer.json | 4 +- lang/block-manager.pot | 176 ++++++++++------------------ package-lock.json | 7 +- package.json | 12 +- src/sass/_block-list.scss | 4 +- 7 files changed, 79 insertions(+), 128 deletions(-) diff --git a/build/style-block-manager-admin.css b/build/style-block-manager-admin.css index a2b820c..c72cb72 100644 --- a/build/style-block-manager-admin.css +++ b/build/style-block-manager-admin.css @@ -1 +1 @@ -h1.gbm-h1{display:none}.gbm-page-wrap--header{background-color:#fff;padding:20px;position:relative}@media screen and (min-width: 768px){.gbm-page-wrap--header{padding-right:200px}}.gbm-page-wrap--header-title{background:url(images/icon.2937822d.png) no-repeat 1px center;background-size:44px 44px;min-height:44px;padding:0 0 0 54px;display:flex;gap:5px;flex-wrap:wrap;align-items:center;width:100%}.gbm-page-wrap--header h2{margin:0;padding:0;font-size:22px;width:100%;color:#3d3e40;display:flex;align-items:center;gap:8px;font-weight:700;line-height:1}.gbm-page-wrap--header h2 span{font-size:12px;font-weight:400;border-radius:4px;background-color:rgba(133,104,193,.075);display:inline-block;line-height:1;padding:5px;color:#8568c1;position:relative;top:2px}.gbm-page-wrap--header p{margin:0;color:#999ea2;line-height:1;font-size:14px}.gbm-page-wrap--header button.gbm-other-button{all:unset;display:none;align-items:center;gap:3px;border-radius:4px;border:1px solid #999ea2;background-color:#f7f7f7;margin:10px 0 0;padding:8px 10px;line-height:1;color:#8568c1;cursor:pointer}.gbm-page-wrap--header button.gbm-other-button span{font-size:18px;width:18px;height:18px;transition:none}.gbm-page-wrap--header button.gbm-other-button:hover,.gbm-page-wrap--header button.gbm-other-button:focus{color:#fff;border-color:#8568c1;background-color:#8568c1}.gbm-page-wrap--header button.gbm-other-button:focus{outline:2px solid #8568c1;outline-offset:2px}@media screen and (min-width: 480px){.gbm-page-wrap--header button.gbm-other-button{display:flex}}@media screen and (min-width: 768px){.gbm-page-wrap--header button.gbm-other-button{margin-top:0;position:absolute;right:20px;top:50%;transform:translateY(-50%)}}.gbm-page-wrap .gbm-options{width:100%;padding:0 0 20px;gap:20px;justify-content:space-between;align-items:center}@media screen and (min-width: 1024px){.gbm-page-wrap .gbm-options{display:flex}}.gbm-page-wrap .gbm-options p.gbm-heading{margin:0 0 15px}@media screen and (min-width: 1024px){.gbm-page-wrap .gbm-options p.gbm-heading{margin:0}}.gbm-page-wrap .gbm-options p.gbm-heading span{display:inline-block;padding:1px 4px;background-color:#fff;border-radius:3px}.gbm-page-wrap .gbm-options div{display:flex;gap:5px;width:auto}.gbm-page-wrap .gbm-options button{border-radius:4px;border:1px solid #e2e5e7;background-color:#fff;margin:0;padding:10px 12px 10px 10px;display:flex;align-items:center;line-height:1;color:#858789}.gbm-page-wrap .gbm-options button:hover,.gbm-page-wrap .gbm-options button:focus{color:#fff;border-color:#8568c1;background-color:#8568c1}.gbm-page-wrap .gbm-options button:focus{outline:2px solid #8568c1;outline-offset:2px}.gbm-page-wrap .gbm-options button span{margin-right:5px;opacity:.75;transition:none}.gbm-page-wrap .gbm-options button span,.gbm-page-wrap .gbm-options button span::before{height:15px;width:15px;font-size:15px}.gbm-page-wrap .gbm-options button.hidden{display:none}.gbm-page-wrap .gbm-options button.spin .dashicons{animation-name:spin;animation-duration:1250ms;animation-iteration-count:infinite;animation-timing-function:linear}.gbm-page-wrap .gbm-options button[disabled]{pointer-events:none;opacity:.65}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.gbm-page-wrap .gbm-sidebar{align-self:flex-start;width:100%;margin-bottom:20px;padding:0;display:none}@media screen and (min-width: 768px){.gbm-page-wrap .gbm-sidebar{display:block;width:250px;position:sticky;top:50px;left:0}}@media screen and (min-width: 1300px){.gbm-page-wrap .gbm-sidebar{width:300px}}.gbm-page-wrap .gbm-sidebar .gbm-cta{background-color:#fff;border-radius:6px;border:1px solid #e2e5e7;box-shadow:0 5px 10px rgba(0,0,0,.035);margin-bottom:15px}.gbm-page-wrap .gbm-sidebar .gbm-cta h3{font-size:14px;border-bottom:1px solid rgba(226,229,231,.5);padding:15px;margin:0;color:#3d3e40}.gbm-page-wrap .gbm-sidebar .gbm-cta-wrap{padding:15px}.gbm-page-wrap .gbm-sidebar .gbm-cta-wrap button{background:none;border:none;outline:none;text-align:left;padding:0 0 5px;margin:0 0 5px;width:100%;display:block;font-size:13px;color:#3d3e40}.gbm-page-wrap .gbm-sidebar .gbm-cta-wrap button:hover,.gbm-page-wrap .gbm-sidebar .gbm-cta-wrap button:focus{border:none;background-color:rgba(0,0,0,0);text-decoration:underline;color:#8568c1}.gbm-page-wrap .gbm-sidebar .gbm-cta-wrap p{margin:0 0 15px}.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search{display:block;width:100%;position:relative;padding:0;margin-top:10px}.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search input{border-radius:4px;width:100%;margin:0;padding:10px;border-color:#e2e5e7;background-color:#f7f7f7;height:auto;font-size:13px;line-height:1}.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search input:focus{outline-offset:1px;outline:2px solid #8568c1;box-shadow:none}.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search button{margin:0;padding:0 5px;background:rgba(0,0,0,0);color:#e2e5e7;border:none;border-radius:0;height:32px;font-size:13px;position:absolute;top:50%;transform:translateY(-50%);width:auto;right:0}.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search button:focus,.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search button:hover{border:none;background-color:rgba(0,0,0,0);text-decoration:none;color:#8568c1}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend{overflow:hidden}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-cta-wrap{display:flex;width:100%;padding:0;overflow:hidden}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend{display:block;width:100%;text-align:center;border:none;border-right:1px solid rgba(226,229,231,.5);padding:0 0 10px;cursor:default}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend:last-of-type{border-right:none}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend:last-of-type{margin:0}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div{width:100%;height:60px;position:relative;margin-bottom:10px;border-bottom:1px solid rgba(226,229,231,.5)}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span{color:rgba(61,62,64,.9);display:flex;align-items:center;justify-content:center;width:100%;height:100%;position:relative;overflow:hidden}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong{position:relative;z-index:9;font-weight:800;transition:all .25s cubic-bezier(0.86, 0, 0.07, 1);line-height:1;font-size:22px;height:22px;opacity:.85;top:0}@media screen and (min-width: 1300px){.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong{font-size:24px;height:24px}}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-down,.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-up{opacity:0;filter:blur(1px)}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-down{top:15px}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-up{top:-15px}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-down-done,.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-up-done{transition:none;opacity:0;filter:blur(0.5px);top:-15px}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-up-done{top:15px}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend--disabled span{background-color:#f7f7f7}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend--filtered span{background-color:#fefdd9}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend--updated span{background-color:#f0faff}.gbm-loader{padding:40px 20px;display:flex;justify-content:center;width:100%;cursor:default;line-height:1.25;text-align:center;color:#999ea2}@media screen and (min-width: 768px){.gbm-loader{padding:80px 20px}}.gbm-loader-pulse{position:relative;left:-9999px;width:8px;height:8px;border-radius:5px;background-color:#8568c1;color:#8568c1;animation:dot-pulse 1.5s infinite linear;animation-delay:.15s}.gbm-loader-pulse-wrap{display:flex;width:100%;justify-content:center;align-items:center;padding:0 0 15px;position:relative}.gbm-loader-pulse::before,.gbm-loader-pulse::after{content:"";display:inline-block;position:absolute;top:0;width:8px;height:8px;border-radius:5px;background-color:#8568c1;color:#8568c1;left:0}.gbm-loader-pulse::before{box-shadow:9984px 0 0 -5px;animation:dot-pulse-before 1.5s infinite linear;animation-delay:0s}.gbm-loader-pulse::after{box-shadow:10014px 0 0 -5px;animation:dot-pulse-after 1.5s infinite linear;animation-delay:.5s}@keyframes dot-pulse-before{0%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}60%,100%{box-shadow:9984px 0 0 -5px}}@keyframes dot-pulse{0%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}60%,100%{box-shadow:9999px 0 0 -5px}}@keyframes dot-pulse-after{0%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}60%,100%{box-shadow:10014px 0 0 -5px}}.gbm-block-list{width:100%;width:100%;display:grid;grid-gap:5px;gap:5px;background-color:#ebedee;background-color:#fff;position:relative;padding:10px;text-align:left;grid-template-columns:repeat(2, minmax(0, 1fr))}@media screen and (min-width: 480px){.gbm-block-list{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media screen and (min-width: 768px){.gbm-block-list{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media screen and (min-width: 1024px){.gbm-block-list{grid-template-columns:repeat(5, minmax(0, 1fr))}}@media screen and (min-width: 1300px){.gbm-block-list{grid-template-columns:repeat(6, minmax(0, 1fr))}}@media screen and (min-width: 1500px){.gbm-block-list{grid-template-columns:repeat(8, minmax(0, 1fr))}}.gbm-block-list .item{padding:30px 10px;margin:0;display:flex;gap:5px;align-items:center;justify-content:center;flex-wrap:wrap;position:relative;width:100%;background-color:#fff;border:1px solid rgba(226,229,231,.5);cursor:pointer;overflow:hidden;border-radius:4px;transition:border-color .1s ease}.gbm-block-list .item>div{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;width:100%;gap:8px}.gbm-block-list .item .icon{width:28px;display:block;margin:0;opacity:.75;text-align:center}.gbm-block-list .item .icon svg{max-width:100%;height:28px;max-height:28px}.gbm-block-list .item p{color:#3d3e40;width:100%;text-align:center;padding:0;margin:0;font-weight:400;line-height:1.35;text-transform:capitalize;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gbm-block-list .item p span{display:block;color:#999ea2;text-transform:lowercase}.gbm-block-list .item p.block-desc{display:none}.gbm-block-list .item .gbm-block-switch,.gbm-block-list .item .block-desc,.gbm-block-list .item .block-id{display:none}.gbm-block-list .item:hover:not(.filtered),.gbm-block-list .item:focus:not(.filtered){border-color:#c3c4c7}.gbm-block-list .item:hover:not(.disabled):not(.filtered):not(.gbm-category),.gbm-block-list .item:focus:not(.disabled):not(.filtered):not(.gbm-category){background-color:#f0faff}.gbm-block-list .item:focus-visible:not(.filtered){outline:2px solid #8568c1;outline-offset:-2px}.gbm-block-list .item.disabled,.gbm-block-list .item.filtered{background-color:#f7f7f7}.gbm-block-list .item.disabled .icon,.gbm-block-list .item.filtered .icon{opacity:.5}.gbm-block-list .item.disabled p,.gbm-block-list .item.filtered p{opacity:.65}.gbm-block-list .item.filtered{background-color:#fefdd9;cursor:not-allowed}.gbm-block-list .item.loading>.gbm-block-group{opacity:.5}.gbm-block-list .item--wrap{display:flex;align-items:flex-start;flex-direction:column;flex-wrap:nowrap;width:100%;position:relative;padding-left:40px}.gbm-block-list .item--wrap .block-info{display:block;width:100%;height:auto;line-height:1.4}.gbm-block-list .item--wrap .block-info--wrap{flex:1;text-align:left}.gbm-block-list .item--wrap .block-info--id{font-size:12px;font-family:"consolas",Monaco,monospace;color:#999;display:none}.gbm-block-list .item[data-category=woocommerce] div.icon{color:#96588a;opacity:1}.gbm-block-list .item[data-category=woocommerce] div.icon svg{fill:currentcolor}.gbm-block-list.categories{grid-template-columns:repeat(1, minmax(0, 1fr))}@media screen and (min-width: 480px){.gbm-block-list.categories{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media screen and (min-width: 768px){.gbm-block-list.categories{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media screen and (min-width: 1024px){.gbm-block-list.categories{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media screen and (min-width: 1300px){.gbm-block-list.categories{grid-template-columns:repeat(4, minmax(0, 1fr))}}@media screen and (min-width: 1500px){.gbm-block-list.categories{grid-template-columns:repeat(6, minmax(0, 1fr))}}.gbm-block-list.categories .item{padding:0;cursor:default}.gbm-block-list.categories .item .gbm-category-wrap{padding:15px}.gbm-block-list.categories .item .category-switch{background-color:rgba(0,0,0,.035);border-top:1px solid rgba(226,229,231,.5);margin-top:auto}.gbm-block-list.categories .item .category-switch select{width:100%;border-color:#999ea2;color:#3d3e40}.gbm-block-list.categories .item .category-switch select:hover,.gbm-block-list.categories .item .category-switch select:focus{color:#8568c1;border-color:#8568c1;box-shadow:none !important}.gbm-block-list.categories .item .category-switch select:focus{outline:2px solid #8568c1;outline-offset:2px}.gbm-block-list.categories .item .category-switch select[disabled]{background-color:#fff;pointer-events:none;opacity:.75}.gbm-block-list.categories .item.updated{background-color:#f0faff}.gbm-block-list.categories .item.filtered{pointer-events:none}.gbm-block-list.categories .item p{font-size:13px;line-height:1.5}.gbm-block-list.categories .item p span{font-size:12px;font-family:Menlo,Consolas,Monaco,Lucida Console,monospace}.gbm-block-list.categories .item .gbm-cat-status{position:absolute;top:5px;right:5px;transition:all .15s ease;color:#fff;width:24px;height:24px;display:flex;align-items:center;justify-content:center;background-color:#8ddc77;border-radius:4px;font-size:12px;line-height:1;opacity:0;visibility:hidden}.gbm-block-list.categories .item .gbm-cat-status.active{opacity:.9;visibility:visible}.gbm-block-list-heading{display:flex;width:100%;align-items:center;flex-wrap:nowrap;margin:0;padding:10px 15px;border-bottom:1px solid rgba(226,229,231,.5);background-color:#fff;border-radius:3px 3px 0 0}.gbm-block-list-heading.no-border{border:none}.gbm-block-list-heading h3{flex:1;text-transform:capitalize;padding:0;margin:0;font-size:14px}.gbm-block-list-heading h3 span{font-weight:400;font-size:12px;position:relative;left:5px;color:#3d3e40;opacity:.65}.gbm-block-list-heading .gbm-block-switch{position:relative;top:-1px;width:30px;height:30px}.disabled-svg{z-index:0;visibility:hidden;opacity:0;display:block;width:100%;height:100%;position:absolute;left:0;top:0;right:0;bottom:0;transition:all .15s ease;padding:1px}.disabled-svg line{stroke:#d6dbdf;stroke-width:1}.disabled-svg.disabled{visibility:visible;opacity:.5}.disabled-svg.filtered{visibility:visible;opacity:.5}.disabled-svg.filtered line{stroke:#e1e0c8}.gbm-page-wrap .gbm-export-modal{position:fixed;left:0;top:0;right:0;bottom:0;background-color:rgba(255,255,255,.85);z-index:99999;display:flex;align-items:center;justify-content:center;width:100%;opacity:0;visibility:hidden;transition:all .35s ease-in-out .1s;transform:scale(1.1)}.gbm-page-wrap .gbm-export-modal.active{opacity:1;visibility:visible;transform:scale(1)}.gbm-page-wrap .gbm-export-modal--inner{max-width:680px;margin:0 auto;padding:20px;background-color:#fff;border-radius:10px;border:1px solid #e2e5e7;box-shadow:0 5px 10px rgba(0,0,0,.1)}.gbm-page-wrap .gbm-export-modal--inner>div{display:flex;width:100%;padding:0 0 10px 5px;justify-content:space-between;align-items:center}.gbm-page-wrap .gbm-export-modal--inner button{margin-left:5px !important;border-radius:4px}.gbm-page-wrap .gbm-export-modal--inner p{margin:0;padding:0;max-width:60%}.gbm-page-wrap .gbm-export-modal code{display:block;padding:20px;word-break:break-word;font-size:11px;border-radius:4px;font-family:"consolas",Monaco,monospace;border:1px solid #e2e5e7;max-height:300px;overflow:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.gbm-page-wrap .gbm-export-modal code:focus{outline:2px solid #8568c1;outline-offset:2px}.settings_page_block-manager #wpbody-content{background-color:#f1f1f1}.gbm{padding:0 20px}.gbm *,.gbm *::before,.gbm *::after{box-sizing:border-box}.gbm button[type=button]{cursor:pointer}.gbm-block-list-wrapper{padding:0;width:100%;max-width:1800px}@media screen and (min-width: 768px){.gbm-block-list-wrapper{display:flex;flex-direction:row-reverse}}.gbm-block-list-wrapper .gbm-block-group{margin:0 0 15px;background:#fff;border:1px solid #e2e5e7;border-radius:6px;overflow:hidden}.gbm-block-list-wrapper .gbm-search-results{padding:15px 10px 0;display:flex;align-items:center;width:100%;gap:5px}.gbm-block-list-wrapper .gbm-search-results p{margin:0;color:#3d3e40;padding:0 5px}.gbm-block-list-wrapper .gbm-search-results p strong{font-weight:600}.gbm-block-list-wrapper .gbm-search-results.blocks-render{padding:15px 0;border-top:1px solid #e2e5e7}.gbm-block-list-wrapper .gbm-search-results.blocks-render p{margin:0 !important;padding:0 !important}.gbm-block-list-wrapper .gbm-search-results button{all:unset;color:#8568c1;font-weight:500;cursor:pointer;display:inline-block;padding:5px 0}.gbm-block-list-wrapper .gbm-search-results button:hover,.gbm-block-list-wrapper .gbm-search-results button:focus{text-decoration:underline}.gbm-block-list-wrapper .gbm-blocks{flex:1}@media screen and (min-width: 768px){.gbm-block-list-wrapper .gbm-blocks{padding-right:25px}}.gbm-block-list-wrapper .gbm-blocks.gbm-view-list button.item{width:100% !important;margin:0 0 5px !important;border:none;background-color:rgba(0,0,0,0);padding:10px 35px 10px 10px}.gbm-block-list-wrapper .gbm-blocks.gbm-view-list button.item .gbm-block-switch{left:auto;bottom:auto;right:13px;top:15px}.gbm-block-switch{cursor:pointer;height:13px;width:22px;padding:0;margin:0;box-shadow:none;border:none;background-color:rgba(0,0,0,0)}.gbm-block-switch--wrap{position:relative;height:13px;width:26px;background-color:#a788e5;border-radius:100px;transition:all .15s ease}.gbm-block-switch span{border-radius:100px;width:9px;height:9px;background-color:#fff;display:block;transition:all .15s ease;margin-left:15px;position:relative;top:2px}.gbm-block-switch.disabled .gbm-block-switch--wrap{background-color:#ccc}.gbm-block-switch.disabled span{margin-left:2px}.gbm-block-categories{padding:0 20px;width:100%;max-width:1800px;display:flex;flex-wrap:wrap}.gbm-block-categories>div{width:100%}.gbm .offscreen{position:absolute !important;top:-9999px !important;left:-9999px !important}.settings_page_block-manager #wpcontent{padding-left:0}.settings_page_block-manager #gbm-container{padding:0;position:relative}.settings_page_block-manager #gbm-container *,.settings_page_block-manager #gbm-container *::before,.settings_page_block-manager #gbm-container *::after{box-sizing:border-box}.settings_page_block-manager #gbm-container .nav-tab-wrapper{padding:0 15px 0;margin:0 0 20px;background:#fff;display:flex;width:100%;align-items:center}.settings_page_block-manager #gbm-container .nav-tab-wrapper .nav-tab{padding:7px 16px;border-radius:4px 3px 0 0;float:none;margin-left:5px}.settings_page_block-manager #gbm-container .nav-tab-wrapper .nav-tab-active{cursor:default}.settings_page_block-manager #gbm-container .nav-tab-wrapper .nav-tab:hover,.settings_page_block-manager #gbm-container .nav-tab-wrapper .nav-tab:focus{background-color:#f0f0f1}.settings_page_block-manager #gbm-container .nav-tab-wrapper i{opacity:.35;margin:0 3px;font-size:12px}.settings_page_block-manager #gbm-container .nav-tab-wrapper span{padding:0 1px 0 12px;font-size:14px;font-weight:500;float:left;position:relative;top:-1px}#gbm-other-plugins{background:#fff;padding:25px 20px;border-top:1px solid rgba(226,229,231,.5);box-shadow:inset 0 75px 75px #f7f7f7;display:none}#gbm-other-plugins h2{padding:0;margin:0}#gbm-other-plugins section{max-width:1800px;position:relative}#gbm-other-plugins section>div{display:flex;width:100%;justify-content:space-between;align-items:center}#gbm-other-plugins section>div>h2{margin:0 0 20px;font-size:16px;font-weight:500}#gbm-other-plugins section>div>h2 a{color:#8568c1;font-weight:600}#gbm-other-plugins section>div>h2 a:hover,#gbm-other-plugins section>div>h2 a:focus{text-decoration:none}#gbm-other-plugins .gbm-close-wrap{display:flex;width:100%;justify-content:flex-end;padding-top:10px}#gbm-other-plugins .gbm-close-wrap>button{all:unset;cursor:pointer;display:inline-block;padding:5px 8px;font-weight:400;font-size:13px;border-radius:4px}#gbm-other-plugins .gbm-close-wrap>button:hover,#gbm-other-plugins .gbm-close-wrap>button:focus{color:#fff;border-color:#8568c1;background-color:#8568c1}#gbm-other-plugins .gbm-close-wrap>button:focus{outline:2px solid #8568c1;outline-offset:2px}#gbm-other-plugins .cnkt-plugin-installer{width:100%;margin:0;padding:0;display:grid;grid-gap:10px;gap:10px;grid-template-columns:repeat(1, minmax(0, 1fr));position:static}@media screen and (min-width: 768px){#gbm-other-plugins .cnkt-plugin-installer{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media screen and (min-width: 1024px){#gbm-other-plugins .cnkt-plugin-installer{grid-template-columns:repeat(3, minmax(0, 1fr))}}#gbm-other-plugins .cnkt-plugin-installer::after{display:none}#gbm-other-plugins .cnkt-plugin-installer .plugin{width:100%;margin:0;padding:0;border-radius:4px;overflow:hidden}body.settings_page_block-manager #wpfooter{padding-top:0;padding-bottom:0;line-height:40px;background:#f7f7f7;border-top:1px solid #efefef;position:fixed;bottom:0;z-index:1100}body.settings_page_block-manager #wpfooter p{line-height:40px} +h1.gbm-h1{display:none}.gbm-page-wrap--header{background-color:#fff;padding:20px;position:relative}@media screen and (min-width: 768px){.gbm-page-wrap--header{padding-right:200px}}.gbm-page-wrap--header-title{background:url(images/icon.2937822d.png) no-repeat 1px center;background-size:44px 44px;min-height:44px;padding:0 0 0 54px;display:flex;gap:5px;flex-wrap:wrap;align-items:center;width:100%}.gbm-page-wrap--header h2{margin:0;padding:0;font-size:22px;width:100%;color:#3d3e40;display:flex;align-items:center;gap:8px;font-weight:700;line-height:1}.gbm-page-wrap--header h2 span{font-size:12px;font-weight:400;border-radius:4px;background-color:rgba(133,104,193,.075);display:inline-block;line-height:1;padding:5px;color:#8568c1;position:relative;top:2px}.gbm-page-wrap--header p{margin:0;color:#999ea2;line-height:1;font-size:14px}.gbm-page-wrap--header button.gbm-other-button{all:unset;display:none;align-items:center;gap:3px;border-radius:4px;border:1px solid #999ea2;background-color:#f7f7f7;margin:10px 0 0;padding:8px 10px;line-height:1;color:#8568c1;cursor:pointer}.gbm-page-wrap--header button.gbm-other-button span{font-size:18px;width:18px;height:18px;transition:none}.gbm-page-wrap--header button.gbm-other-button:hover,.gbm-page-wrap--header button.gbm-other-button:focus{color:#fff;border-color:#8568c1;background-color:#8568c1}.gbm-page-wrap--header button.gbm-other-button:focus{outline:2px solid #8568c1;outline-offset:2px}@media screen and (min-width: 480px){.gbm-page-wrap--header button.gbm-other-button{display:flex}}@media screen and (min-width: 768px){.gbm-page-wrap--header button.gbm-other-button{margin-top:0;position:absolute;right:20px;top:50%;transform:translateY(-50%)}}.gbm-page-wrap .gbm-options{width:100%;padding:0 0 20px;gap:20px;justify-content:space-between;align-items:center}@media screen and (min-width: 1024px){.gbm-page-wrap .gbm-options{display:flex}}.gbm-page-wrap .gbm-options p.gbm-heading{margin:0 0 15px}@media screen and (min-width: 1024px){.gbm-page-wrap .gbm-options p.gbm-heading{margin:0}}.gbm-page-wrap .gbm-options p.gbm-heading span{display:inline-block;padding:1px 4px;background-color:#fff;border-radius:3px}.gbm-page-wrap .gbm-options div{display:flex;gap:5px;width:auto}.gbm-page-wrap .gbm-options button{border-radius:4px;border:1px solid #e2e5e7;background-color:#fff;margin:0;padding:10px 12px 10px 10px;display:flex;align-items:center;line-height:1;color:#858789}.gbm-page-wrap .gbm-options button:hover,.gbm-page-wrap .gbm-options button:focus{color:#fff;border-color:#8568c1;background-color:#8568c1}.gbm-page-wrap .gbm-options button:focus{outline:2px solid #8568c1;outline-offset:2px}.gbm-page-wrap .gbm-options button span{margin-right:5px;opacity:.75;transition:none}.gbm-page-wrap .gbm-options button span,.gbm-page-wrap .gbm-options button span::before{height:15px;width:15px;font-size:15px}.gbm-page-wrap .gbm-options button.hidden{display:none}.gbm-page-wrap .gbm-options button.spin .dashicons{animation-name:spin;animation-duration:1250ms;animation-iteration-count:infinite;animation-timing-function:linear}.gbm-page-wrap .gbm-options button[disabled]{pointer-events:none;opacity:.65}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.gbm-page-wrap .gbm-sidebar{align-self:flex-start;width:100%;margin-bottom:20px;padding:0;display:none}@media screen and (min-width: 768px){.gbm-page-wrap .gbm-sidebar{display:block;width:250px;position:sticky;top:50px;left:0}}@media screen and (min-width: 1300px){.gbm-page-wrap .gbm-sidebar{width:300px}}.gbm-page-wrap .gbm-sidebar .gbm-cta{background-color:#fff;border-radius:6px;border:1px solid #e2e5e7;box-shadow:0 5px 10px rgba(0,0,0,.035);margin-bottom:15px}.gbm-page-wrap .gbm-sidebar .gbm-cta h3{font-size:14px;border-bottom:1px solid rgba(226,229,231,.5);padding:15px;margin:0;color:#3d3e40}.gbm-page-wrap .gbm-sidebar .gbm-cta-wrap{padding:15px}.gbm-page-wrap .gbm-sidebar .gbm-cta-wrap button{background:none;border:none;outline:none;text-align:left;padding:0 0 5px;margin:0 0 5px;width:100%;display:block;font-size:13px;color:#3d3e40}.gbm-page-wrap .gbm-sidebar .gbm-cta-wrap button:hover,.gbm-page-wrap .gbm-sidebar .gbm-cta-wrap button:focus{border:none;background-color:rgba(0,0,0,0);text-decoration:underline;color:#8568c1}.gbm-page-wrap .gbm-sidebar .gbm-cta-wrap p{margin:0 0 15px}.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search{display:block;width:100%;position:relative;padding:0;margin-top:10px}.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search input{border-radius:4px;width:100%;margin:0;padding:10px;border-color:#e2e5e7;background-color:#f7f7f7;height:auto;font-size:13px;line-height:1}.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search input:focus{outline-offset:1px;outline:2px solid #8568c1;box-shadow:none}.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search button{margin:0;padding:0 5px;background:rgba(0,0,0,0);color:#e2e5e7;border:none;border-radius:0;height:32px;font-size:13px;position:absolute;top:50%;transform:translateY(-50%);width:auto;right:0}.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search button:focus,.gbm-page-wrap .gbm-sidebar .gbm-cta .gbm-search button:hover{border:none;background-color:rgba(0,0,0,0);text-decoration:none;color:#8568c1}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend{overflow:hidden}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-cta-wrap{display:flex;width:100%;padding:0;overflow:hidden}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend{display:block;width:100%;text-align:center;border:none;border-right:1px solid rgba(226,229,231,.5);padding:0 0 10px;cursor:default}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend:last-of-type{border-right:none}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend:last-of-type{margin:0}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div{width:100%;height:60px;position:relative;margin-bottom:10px;border-bottom:1px solid rgba(226,229,231,.5)}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span{color:rgba(61,62,64,.9);display:flex;align-items:center;justify-content:center;width:100%;height:100%;position:relative;overflow:hidden}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong{position:relative;z-index:9;font-weight:800;transition:all .25s cubic-bezier(0.86, 0, 0.07, 1);line-height:1;font-size:22px;height:22px;opacity:.85;top:0}@media screen and (min-width: 1300px){.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong{font-size:24px;height:24px}}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-down,.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-up{opacity:0;filter:blur(1px)}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-down{top:15px}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-up{top:-15px}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-down-done,.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-up-done{transition:none;opacity:0;filter:blur(0.5px);top:-15px}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend>div span strong.slide-up-done{top:15px}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend--disabled span{background-color:#f7f7f7}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend--filtered span{background-color:#fefdd9}.gbm-page-wrap .gbm-sidebar .gbm-cta-block-legend .gbm-legend--updated span{background-color:#f0faff}.gbm-loader{padding:40px 20px;display:flex;justify-content:center;width:100%;cursor:default;line-height:1.25;text-align:center;color:#999ea2}@media screen and (min-width: 768px){.gbm-loader{padding:80px 20px}}.gbm-loader-pulse{position:relative;left:-9999px;width:8px;height:8px;border-radius:5px;background-color:#8568c1;color:#8568c1;animation:dot-pulse 1.5s infinite linear;animation-delay:.15s}.gbm-loader-pulse-wrap{display:flex;width:100%;justify-content:center;align-items:center;padding:0 0 15px;position:relative}.gbm-loader-pulse::before,.gbm-loader-pulse::after{content:"";display:inline-block;position:absolute;top:0;width:8px;height:8px;border-radius:5px;background-color:#8568c1;color:#8568c1;left:0}.gbm-loader-pulse::before{box-shadow:9984px 0 0 -5px;animation:dot-pulse-before 1.5s infinite linear;animation-delay:0s}.gbm-loader-pulse::after{box-shadow:10014px 0 0 -5px;animation:dot-pulse-after 1.5s infinite linear;animation-delay:.5s}@keyframes dot-pulse-before{0%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}60%,100%{box-shadow:9984px 0 0 -5px}}@keyframes dot-pulse{0%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}60%,100%{box-shadow:9999px 0 0 -5px}}@keyframes dot-pulse-after{0%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}60%,100%{box-shadow:10014px 0 0 -5px}}.gbm-block-list{width:100%;width:100%;display:grid;grid-gap:5px;gap:5px;background-color:#ebedee;background-color:#fff;position:relative;padding:10px;text-align:left;grid-template-columns:repeat(2, minmax(0, 1fr))}@media screen and (min-width: 480px){.gbm-block-list{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media screen and (min-width: 768px){.gbm-block-list{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media screen and (min-width: 1024px){.gbm-block-list{grid-template-columns:repeat(5, minmax(0, 1fr))}}@media screen and (min-width: 1300px){.gbm-block-list{grid-template-columns:repeat(6, minmax(0, 1fr))}}@media screen and (min-width: 1500px){.gbm-block-list{grid-template-columns:repeat(8, minmax(0, 1fr))}}.gbm-block-list .item{padding:30px 10px;margin:0;display:flex;gap:5px;align-items:center;justify-content:center;flex-wrap:wrap;position:relative;width:100%;background-color:#fff;border:1px solid rgba(226,229,231,.5);cursor:pointer;overflow:hidden;border-radius:4px;transition:border-color .1s ease}.gbm-block-list .item>div{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;width:100%;gap:8px}.gbm-block-list .item .icon{width:28px;display:block;margin:0;opacity:.75;text-align:center}.gbm-block-list .item .icon svg{max-width:100%;height:28px;max-height:28px}.gbm-block-list .item p{color:#3d3e40;width:100%;text-align:center;padding:0;margin:0;font-weight:400;line-height:1.35;text-transform:capitalize;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gbm-block-list .item p span{display:block;color:#999ea2;text-transform:lowercase}.gbm-block-list .item p.block-desc{display:none}.gbm-block-list .item .gbm-block-switch,.gbm-block-list .item .block-desc,.gbm-block-list .item .block-id{display:none}.gbm-block-list .item:hover:not(.filtered),.gbm-block-list .item:focus:not(.filtered){border-color:#c3c4c7}.gbm-block-list .item:hover:not(.disabled):not(.filtered):not(.gbm-category),.gbm-block-list .item:focus:not(.disabled):not(.filtered):not(.gbm-category){background-color:#f0faff}.gbm-block-list .item:focus-visible:not(.filtered){outline:2px solid #8568c1;outline-offset:-2px}.gbm-block-list .item.disabled,.gbm-block-list .item.filtered{background-color:#f7f7f7}.gbm-block-list .item.disabled .icon,.gbm-block-list .item.filtered .icon{opacity:.4}.gbm-block-list .item.disabled p,.gbm-block-list .item.filtered p{opacity:.7}.gbm-block-list .item.filtered{background-color:#fefdd9;cursor:not-allowed}.gbm-block-list .item.loading>.gbm-block-group{opacity:.5}.gbm-block-list .item--wrap{display:flex;align-items:flex-start;flex-direction:column;flex-wrap:nowrap;width:100%;position:relative;padding-left:40px}.gbm-block-list .item--wrap .block-info{display:block;width:100%;height:auto;line-height:1.4}.gbm-block-list .item--wrap .block-info--wrap{flex:1;text-align:left}.gbm-block-list .item--wrap .block-info--id{font-size:12px;font-family:"consolas",Monaco,monospace;color:#999;display:none}.gbm-block-list .item[data-category=woocommerce] div.icon{color:#96588a;opacity:1}.gbm-block-list .item[data-category=woocommerce] div.icon svg{fill:currentcolor}.gbm-block-list.categories{grid-template-columns:repeat(1, minmax(0, 1fr))}@media screen and (min-width: 480px){.gbm-block-list.categories{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media screen and (min-width: 768px){.gbm-block-list.categories{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media screen and (min-width: 1024px){.gbm-block-list.categories{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media screen and (min-width: 1300px){.gbm-block-list.categories{grid-template-columns:repeat(4, minmax(0, 1fr))}}@media screen and (min-width: 1500px){.gbm-block-list.categories{grid-template-columns:repeat(6, minmax(0, 1fr))}}.gbm-block-list.categories .item{padding:0;cursor:default}.gbm-block-list.categories .item .gbm-category-wrap{padding:15px}.gbm-block-list.categories .item .category-switch{background-color:rgba(0,0,0,.035);border-top:1px solid rgba(226,229,231,.5);margin-top:auto}.gbm-block-list.categories .item .category-switch select{width:100%;border-color:#999ea2;color:#3d3e40}.gbm-block-list.categories .item .category-switch select:hover,.gbm-block-list.categories .item .category-switch select:focus{color:#8568c1;border-color:#8568c1;box-shadow:none !important}.gbm-block-list.categories .item .category-switch select:focus{outline:2px solid #8568c1;outline-offset:2px}.gbm-block-list.categories .item .category-switch select[disabled]{background-color:#fff;pointer-events:none;opacity:.75}.gbm-block-list.categories .item.updated{background-color:#f0faff}.gbm-block-list.categories .item.filtered{pointer-events:none}.gbm-block-list.categories .item p{font-size:13px;line-height:1.5}.gbm-block-list.categories .item p span{font-size:12px;font-family:Menlo,Consolas,Monaco,Lucida Console,monospace}.gbm-block-list.categories .item .gbm-cat-status{position:absolute;top:5px;right:5px;transition:all .15s ease;color:#fff;width:24px;height:24px;display:flex;align-items:center;justify-content:center;background-color:#8ddc77;border-radius:4px;font-size:12px;line-height:1;opacity:0;visibility:hidden}.gbm-block-list.categories .item .gbm-cat-status.active{opacity:.9;visibility:visible}.gbm-block-list-heading{display:flex;width:100%;align-items:center;flex-wrap:nowrap;margin:0;padding:10px 15px;border-bottom:1px solid rgba(226,229,231,.5);background-color:#fff;border-radius:3px 3px 0 0}.gbm-block-list-heading.no-border{border:none}.gbm-block-list-heading h3{flex:1;text-transform:capitalize;padding:0;margin:0;font-size:14px}.gbm-block-list-heading h3 span{font-weight:400;font-size:12px;position:relative;left:5px;color:#3d3e40;opacity:.65}.gbm-block-list-heading .gbm-block-switch{position:relative;top:-1px;width:30px;height:30px}.disabled-svg{z-index:0;visibility:hidden;opacity:0;display:block;width:100%;height:100%;position:absolute;left:0;top:0;right:0;bottom:0;transition:all .15s ease;padding:1px}.disabled-svg line{stroke:#d6dbdf;stroke-width:1}.disabled-svg.disabled{visibility:visible;opacity:.5}.disabled-svg.filtered{visibility:visible;opacity:.5}.disabled-svg.filtered line{stroke:#e1e0c8}.gbm-page-wrap .gbm-export-modal{position:fixed;left:0;top:0;right:0;bottom:0;background-color:rgba(255,255,255,.85);z-index:99999;display:flex;align-items:center;justify-content:center;width:100%;opacity:0;visibility:hidden;transition:all .35s ease-in-out .1s;transform:scale(1.1)}.gbm-page-wrap .gbm-export-modal.active{opacity:1;visibility:visible;transform:scale(1)}.gbm-page-wrap .gbm-export-modal--inner{max-width:680px;margin:0 auto;padding:20px;background-color:#fff;border-radius:10px;border:1px solid #e2e5e7;box-shadow:0 5px 10px rgba(0,0,0,.1)}.gbm-page-wrap .gbm-export-modal--inner>div{display:flex;width:100%;padding:0 0 10px 5px;justify-content:space-between;align-items:center}.gbm-page-wrap .gbm-export-modal--inner button{margin-left:5px !important;border-radius:4px}.gbm-page-wrap .gbm-export-modal--inner p{margin:0;padding:0;max-width:60%}.gbm-page-wrap .gbm-export-modal code{display:block;padding:20px;word-break:break-word;font-size:11px;border-radius:4px;font-family:"consolas",Monaco,monospace;border:1px solid #e2e5e7;max-height:300px;overflow:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.gbm-page-wrap .gbm-export-modal code:focus{outline:2px solid #8568c1;outline-offset:2px}.settings_page_block-manager #wpbody-content{background-color:#f1f1f1}.gbm{padding:0 20px}.gbm *,.gbm *::before,.gbm *::after{box-sizing:border-box}.gbm button[type=button]{cursor:pointer}.gbm-block-list-wrapper{padding:0;width:100%;max-width:1800px}@media screen and (min-width: 768px){.gbm-block-list-wrapper{display:flex;flex-direction:row-reverse}}.gbm-block-list-wrapper .gbm-block-group{margin:0 0 15px;background:#fff;border:1px solid #e2e5e7;border-radius:6px;overflow:hidden}.gbm-block-list-wrapper .gbm-search-results{padding:15px 10px 0;display:flex;align-items:center;width:100%;gap:5px}.gbm-block-list-wrapper .gbm-search-results p{margin:0;color:#3d3e40;padding:0 5px}.gbm-block-list-wrapper .gbm-search-results p strong{font-weight:600}.gbm-block-list-wrapper .gbm-search-results.blocks-render{padding:15px 0;border-top:1px solid #e2e5e7}.gbm-block-list-wrapper .gbm-search-results.blocks-render p{margin:0 !important;padding:0 !important}.gbm-block-list-wrapper .gbm-search-results button{all:unset;color:#8568c1;font-weight:500;cursor:pointer;display:inline-block;padding:5px 0}.gbm-block-list-wrapper .gbm-search-results button:hover,.gbm-block-list-wrapper .gbm-search-results button:focus{text-decoration:underline}.gbm-block-list-wrapper .gbm-blocks{flex:1}@media screen and (min-width: 768px){.gbm-block-list-wrapper .gbm-blocks{padding-right:25px}}.gbm-block-list-wrapper .gbm-blocks.gbm-view-list button.item{width:100% !important;margin:0 0 5px !important;border:none;background-color:rgba(0,0,0,0);padding:10px 35px 10px 10px}.gbm-block-list-wrapper .gbm-blocks.gbm-view-list button.item .gbm-block-switch{left:auto;bottom:auto;right:13px;top:15px}.gbm-block-switch{cursor:pointer;height:13px;width:22px;padding:0;margin:0;box-shadow:none;border:none;background-color:rgba(0,0,0,0)}.gbm-block-switch--wrap{position:relative;height:13px;width:26px;background-color:#a788e5;border-radius:100px;transition:all .15s ease}.gbm-block-switch span{border-radius:100px;width:9px;height:9px;background-color:#fff;display:block;transition:all .15s ease;margin-left:15px;position:relative;top:2px}.gbm-block-switch.disabled .gbm-block-switch--wrap{background-color:#ccc}.gbm-block-switch.disabled span{margin-left:2px}.gbm-block-categories{padding:0 20px;width:100%;max-width:1800px;display:flex;flex-wrap:wrap}.gbm-block-categories>div{width:100%}.gbm .offscreen{position:absolute !important;top:-9999px !important;left:-9999px !important}.settings_page_block-manager #wpcontent{padding-left:0}.settings_page_block-manager #gbm-container{padding:0;position:relative}.settings_page_block-manager #gbm-container *,.settings_page_block-manager #gbm-container *::before,.settings_page_block-manager #gbm-container *::after{box-sizing:border-box}.settings_page_block-manager #gbm-container .nav-tab-wrapper{padding:0 15px 0;margin:0 0 20px;background:#fff;display:flex;width:100%;align-items:center}.settings_page_block-manager #gbm-container .nav-tab-wrapper .nav-tab{padding:7px 16px;border-radius:4px 3px 0 0;float:none;margin-left:5px}.settings_page_block-manager #gbm-container .nav-tab-wrapper .nav-tab-active{cursor:default}.settings_page_block-manager #gbm-container .nav-tab-wrapper .nav-tab:hover,.settings_page_block-manager #gbm-container .nav-tab-wrapper .nav-tab:focus{background-color:#f0f0f1}.settings_page_block-manager #gbm-container .nav-tab-wrapper i{opacity:.35;margin:0 3px;font-size:12px}.settings_page_block-manager #gbm-container .nav-tab-wrapper span{padding:0 1px 0 12px;font-size:14px;font-weight:500;float:left;position:relative;top:-1px}#gbm-other-plugins{background:#fff;padding:25px 20px;border-top:1px solid rgba(226,229,231,.5);box-shadow:inset 0 75px 75px #f7f7f7;display:none}#gbm-other-plugins h2{padding:0;margin:0}#gbm-other-plugins section{max-width:1800px;position:relative}#gbm-other-plugins section>div{display:flex;width:100%;justify-content:space-between;align-items:center}#gbm-other-plugins section>div>h2{margin:0 0 20px;font-size:16px;font-weight:500}#gbm-other-plugins section>div>h2 a{color:#8568c1;font-weight:600}#gbm-other-plugins section>div>h2 a:hover,#gbm-other-plugins section>div>h2 a:focus{text-decoration:none}#gbm-other-plugins .gbm-close-wrap{display:flex;width:100%;justify-content:flex-end;padding-top:10px}#gbm-other-plugins .gbm-close-wrap>button{all:unset;cursor:pointer;display:inline-block;padding:5px 8px;font-weight:400;font-size:13px;border-radius:4px}#gbm-other-plugins .gbm-close-wrap>button:hover,#gbm-other-plugins .gbm-close-wrap>button:focus{color:#fff;border-color:#8568c1;background-color:#8568c1}#gbm-other-plugins .gbm-close-wrap>button:focus{outline:2px solid #8568c1;outline-offset:2px}#gbm-other-plugins .cnkt-plugin-installer{width:100%;margin:0;padding:0;display:grid;grid-gap:10px;gap:10px;grid-template-columns:repeat(1, minmax(0, 1fr));position:static}@media screen and (min-width: 768px){#gbm-other-plugins .cnkt-plugin-installer{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media screen and (min-width: 1024px){#gbm-other-plugins .cnkt-plugin-installer{grid-template-columns:repeat(3, minmax(0, 1fr))}}#gbm-other-plugins .cnkt-plugin-installer::after{display:none}#gbm-other-plugins .cnkt-plugin-installer .plugin{width:100%;margin:0;padding:0;border-radius:4px;overflow:hidden}body.settings_page_block-manager #wpfooter{padding-top:0;padding-bottom:0;line-height:40px;background:#f7f7f7;border-top:1px solid #efefef;position:fixed;bottom:0;z-index:1100}body.settings_page_block-manager #wpfooter p{line-height:40px} diff --git a/class-admin.php b/class-admin.php index acfb6d2..1ad6f87 100755 --- a/class-admin.php +++ b/class-admin.php @@ -72,7 +72,7 @@ public function gbm_admin_enqueue( $page ) { wp_enqueue_script( 'block-manager-admin', plugins_url( 'build/block-manager-admin.js', __FILE__ ), - [ 'jquery', 'wp-blocks', 'wp-element', 'wp-data', 'wp-components', 'wp-block-library' ], + [ 'wp-blocks', 'wp-element', 'wp-data', 'wp-components', 'wp-block-library' ], BLOCK_MANAGER_VERSION, true ); diff --git a/composer.json b/composer.json index 651cc1e..a00aaaa 100644 --- a/composer.json +++ b/composer.json @@ -27,6 +27,6 @@ "scripts": { "format": "./vendor/bin/phpcbf --standard=.phpcs.xml --report=summary,source", "lint": "./vendor/bin/phpcs --standard=.phpcs.xml --report=summary,source", - "pot": "./vendor/wp-cli/wp-cli/bin/wp i18n make-pot . lang/block-manager.pot --exclude=node_modules,vendor,src,dist,webpack --allow-root" + "pot": "./vendor/wp-cli/wp-cli/bin/wp i18n make-pot . lang/block-manager.pot --exclude=node_modules,vendor,build,dist --allow-root" } -} +} \ No newline at end of file diff --git a/lang/block-manager.pot b/lang/block-manager.pot index 908543c..2a14c12 100644 --- a/lang/block-manager.pot +++ b/lang/block-manager.pot @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-10-20T16:26:18+00:00\n" +"POT-Creation-Date: 2023-10-20T17:19:50+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.7.1\n" "X-Domain: block-manager\n" @@ -79,8 +79,7 @@ msgstr "" #: block-manager.php:205 #: class-admin.php:240 -#: build/block-manager-admin.js:1448 -#: build/block-manager-admin.js:1372 +#: src/js/components/Categories/components/Sidebar.js:89 msgid "Blocks" msgstr "" @@ -99,260 +98,209 @@ msgid "Other WordPress Plugins from %1$s Connekt %2$s" msgstr "" #: class-admin.php:229 -#: build/block-manager-admin.js:1581 -#: build/block-manager-admin.js:1536 +#: src/js/components/Global/ExportModal.js:66 msgid "Close" msgstr "" -#: build/block-manager-admin.js:250 -#: build/block-manager-admin.js:174 +#: src/js/components/Blocks/Blocks.js:126 msgid "No blocks found" msgstr "" -#: build/block-manager-admin.js:513 -#: build/block-manager-admin.js:442 +#: src/js/components/Blocks/Blocks.js:394 msgid "Select blocks below to globally remove them from the WordPress Block Inserter." msgstr "" -#: build/block-manager-admin.js:517 -#: build/block-manager-admin.js:452 +#: src/js/components/Blocks/Blocks.js:404 +#: src/js/components/Blocks/components/Reset.js:19 msgid "Are you sure you want to reset and activate all currently disabled blocks?" msgstr "" -#: build/block-manager-admin.js:518 -#: build/block-manager-admin.js:456 +#: src/js/components/Blocks/Blocks.js:408 +#: src/js/components/Blocks/components/Reset.js:34 msgid "Clear all disabled blocks" msgstr "" -#: build/block-manager-admin.js:523 -#: build/block-manager-admin.js:465 +#: src/js/components/Blocks/Blocks.js:417 msgid "Export an array of disabled blocks as a WordPress hook" msgstr "" -#: build/block-manager-admin.js:541 -#: build/block-manager-admin.js:497 +#: src/js/components/Blocks/Blocks.js:449 msgid "Add the the following code to your functions.php to remove blocks at the theme level." msgstr "" -#: build/block-manager-admin.js:606 -#: build/block-manager-admin.js:552 +#: src/js/components/Blocks/components/Block.js:45 msgid "This block has been disabled globally via the 'gbm_disabled_blocks' hook and cannot be activated using the Block Manager interface." msgstr "" -#: build/block-manager-admin.js:614 -#: build/block-manager-admin.js:566 +#: src/js/components/Blocks/components/Block.js:59 msgid "Toggle Block Activation" msgstr "" -#: build/block-manager-admin.js:715 -#: build/block-manager-admin.js:720 -#: build/block-manager-admin.js:653 -#: build/block-manager-admin.js:661 +#: src/js/components/Blocks/components/Category.js:65 +#: src/js/components/Blocks/components/Category.js:73 msgid "Toggle all blocks in this category" msgstr "" -#: build/block-manager-admin.js:900 -#: build/block-manager-admin.js:1442 -#: build/block-manager-admin.js:800 -#: build/block-manager-admin.js:1357 +#: src/js/components/Blocks/components/Reset.js:38 +#: src/js/components/Global/Reset.js:33 +msgid "Reset" +msgstr "" + +#: src/js/components/Blocks/components/Sidebar.js:97 +#: src/js/components/Categories/components/Sidebar.js:74 msgid "Current Block Status" msgstr "" -#: build/block-manager-admin.js:905 -#: build/block-manager-admin.js:805 +#: src/js/components/Blocks/components/Sidebar.js:102 msgid "Active Blocks & Block Variations" msgstr "" -#: build/block-manager-admin.js:909 -#: build/block-manager-admin.js:817 +#: src/js/components/Blocks/components/Sidebar.js:114 msgid "Active" msgstr "" -#: build/block-manager-admin.js:911 -#: build/block-manager-admin.js:823 +#: src/js/components/Blocks/components/Sidebar.js:120 msgid "Disabled Block" msgstr "" -#: build/block-manager-admin.js:911 -#: build/block-manager-admin.js:824 +#: src/js/components/Blocks/components/Sidebar.js:121 msgid "Disabled Blocks" msgstr "" -#: build/block-manager-admin.js:917 -#: build/block-manager-admin.js:841 +#: src/js/components/Blocks/components/Sidebar.js:138 msgid "Disabled" msgstr "" -#: build/block-manager-admin.js:919 -#: build/block-manager-admin.js:848 +#: src/js/components/Blocks/components/Sidebar.js:145 msgid "Filtered Block" msgstr "" -#: build/block-manager-admin.js:919 -#: build/block-manager-admin.js:852 +#: src/js/components/Blocks/components/Sidebar.js:149 msgid "Filtered Blocks" msgstr "" -#: build/block-manager-admin.js:922 -#: build/block-manager-admin.js:1457 -#: build/block-manager-admin.js:864 -#: build/block-manager-admin.js:1419 +#: src/js/components/Blocks/components/Sidebar.js:161 +#: src/js/components/Categories/components/Sidebar.js:136 msgid "Filtered" msgstr "" -#: build/block-manager-admin.js:924 -#: build/block-manager-admin.js:870 +#: src/js/components/Blocks/components/Sidebar.js:167 msgid "Categories" msgstr "" -#: build/block-manager-admin.js:1082 -#: build/block-manager-admin.js:978 +#: src/js/components/Categories/Categories.js:83 msgid "An unknown error has occurred and the block category could not be updated" msgstr "" #. translators: %s: The number of blocks. -#: build/block-manager-admin.js:1200 -#: build/block-manager-admin.js:1108 +#: src/js/components/Categories/Categories.js:213 msgid "Organize your %s WordPress blocks by modifying the assigned block category of each." msgstr "" -#: build/block-manager-admin.js:1206 -#: build/block-manager-admin.js:1121 +#: src/js/components/Categories/Categories.js:226 msgid "Are you sure you want to reset your modified block categories?" msgstr "" -#: build/block-manager-admin.js:1207 -#: build/block-manager-admin.js:1125 +#: src/js/components/Categories/Categories.js:230 msgid "Clear all modified block categories" msgstr "" -#: build/block-manager-admin.js:1212 -#: build/block-manager-admin.js:1134 +#: src/js/components/Categories/Categories.js:239 msgid "Export an array of updated blocks categories as a WordPress hook" msgstr "" -#: build/block-manager-admin.js:1232 -#: build/block-manager-admin.js:1175 +#: src/js/components/Categories/Categories.js:280 msgid "Add the the following code to your functions.php to update block categories at the theme level." msgstr "" -#: build/block-manager-admin.js:1324 -#: build/block-manager-admin.js:1244 +#: src/js/components/Categories/components/Block.js:59 msgid "Update block category" msgstr "" -#: build/block-manager-admin.js:1337 -#: build/block-manager-admin.js:1264 +#: src/js/components/Categories/components/Block.js:79 msgid "Default" msgstr "" -#: build/block-manager-admin.js:1345 -#: build/block-manager-admin.js:1277 +#: src/js/components/Categories/components/Block.js:92 msgid "Category Updated" msgstr "" -#: build/block-manager-admin.js:1447 -#: build/block-manager-admin.js:1362 +#: src/js/components/Categories/components/Sidebar.js:79 msgid "Total Blocks" msgstr "" -#: build/block-manager-admin.js:1450 -#: build/block-manager-admin.js:1378 +#: src/js/components/Categories/components/Sidebar.js:95 msgid "Updated Block Category" msgstr "" -#: build/block-manager-admin.js:1450 -#: build/block-manager-admin.js:1382 +#: src/js/components/Categories/components/Sidebar.js:99 msgid "Updated Block Categories" msgstr "" -#: build/block-manager-admin.js:1454 -#: build/block-manager-admin.js:1395 +#: src/js/components/Categories/components/Sidebar.js:112 msgid "Updated" msgstr "" -#: build/block-manager-admin.js:1456 -#: build/block-manager-admin.js:1402 +#: src/js/components/Categories/components/Sidebar.js:119 msgid "Filtered Block Category" msgstr "" -#: build/block-manager-admin.js:1456 -#: build/block-manager-admin.js:1406 +#: src/js/components/Categories/components/Sidebar.js:123 msgid "Filtered Block Categories" msgstr "" -#: build/block-manager-admin.js:1459 -#: build/block-manager-admin.js:1425 +#: src/js/components/Categories/components/Sidebar.js:142 msgid "Help" msgstr "" -#: build/block-manager-admin.js:1461 -#: build/block-manager-admin.js:1428 +#: src/js/components/Categories/components/Sidebar.js:145 msgid "The Block Manager Category Switcher provides functionality for updating the categories of WordPress blocks." msgstr "" -#: build/block-manager-admin.js:1461 -#: build/block-manager-admin.js:1434 +#: src/js/components/Categories/components/Sidebar.js:151 msgid "Modifying a category will update the blocks location in the Block Inserter while editing posts." msgstr "" -#: build/block-manager-admin.js:1503 -#: build/block-manager-admin.js:1465 +#: src/js/components/Global/Export.js:20 msgid "Export" msgstr "" -#: build/block-manager-admin.js:1575 -#: build/block-manager-admin.js:1529 +#: src/js/components/Global/ExportModal.js:59 msgid "Copy Code" msgstr "" -#: build/block-manager-admin.js:1678 -#: build/block-manager-admin.js:1610 +#: src/js/components/Global/Loader.js:24 msgid "Fetching Blocks and Categories" msgstr "" -#: build/block-manager-admin.js:1730 -#: build/block-manager-admin.js:1649 -msgid "Reset" -msgstr "" - -#: build/block-manager-admin.js:1769 -#: build/block-manager-admin.js:1772 -#: build/block-manager-admin.js:1671 -#: build/block-manager-admin.js:1676 +#: src/js/components/Global/Search.js:17 +#: src/js/components/Global/Search.js:22 msgid "Search Blocks" msgstr "" -#: build/block-manager-admin.js:1786 -#: build/block-manager-admin.js:1685 +#: src/js/components/Global/Search.js:31 msgid "Submit" msgstr "" #. translators: 1: The search term. 2: Total results. -#: build/block-manager-admin.js:1830 -#: build/block-manager-admin.js:1718 +#: src/js/components/Global/SearchResults.js:26 msgid "Your block search for %1$s returned %2$s result(s)" msgstr "" -#: build/block-manager-admin.js:1834 -#: build/block-manager-admin.js:1843 -#: build/block-manager-admin.js:1729 -#: build/block-manager-admin.js:1749 +#: src/js/components/Global/SearchResults.js:37 +#: src/js/components/Global/SearchResults.js:57 msgid "Clear Search" msgstr "" #. translators: The search term -#: build/block-manager-admin.js:1839 -#: build/block-manager-admin.js:1739 +#: src/js/components/Global/SearchResults.js:47 msgid "No blocks found for %s" msgstr "" -#: build/block-manager-admin.js:1985 -#: build/block-manager-admin.js:1854 +#: src/js/functions/copyToClipboard.js:22 msgid "Copied" msgstr "" -#: build/block-manager-admin.js:2061 -#: build/block-manager-admin.js:1919 +#: src/js/functions/export.js:59 msgid "There was an error fetching export data." msgstr "" diff --git a/package-lock.json b/package-lock.json index 2c9900c..d527641 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "block-manager", "version": "2.0.0", + "hasInstallScript": true, "license": "GPL-2.0-or-later", "dependencies": { "@wordpress/block-library": "^8.21.0", @@ -14,12 +15,12 @@ "@wordpress/dom-ready": "^3.44.0", "@wordpress/element": "^5.21.0", "@wordpress/hooks": "^3.44.0", - "@wordpress/i18n": "^4.44.0", - "axios": "^1.5.1", - "classnames": "^2.3.2" + "@wordpress/i18n": "^4.44.0" }, "devDependencies": { "@wordpress/scripts": "^26.15.0", + "axios": "^1.5.1", + "classnames": "^2.3.2", "eslint-webpack-plugin": "^4.0.1", "npm-run-all": "^4.1.5", "postcss-import": "^15.1.0", diff --git a/package.json b/package.json index ff5b537..530a4fe 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,9 @@ "dev": "wp-scripts start", "start": "webpack -w --mode development --config=webpack/dev.config.js", "build": "npm run build:pot && wp-scripts build", - "build:pot": "composer run pot" + "build:pot": "composer run pot", + "lint:php": "composer run lint", + "postinstall": "composer install" }, "dependencies": { "@wordpress/block-library": "^8.21.0", @@ -23,12 +25,12 @@ "@wordpress/dom-ready": "^3.44.0", "@wordpress/element": "^5.21.0", "@wordpress/hooks": "^3.44.0", - "@wordpress/i18n": "^4.44.0", - "axios": "^1.5.1", - "classnames": "^2.3.2" + "@wordpress/i18n": "^4.44.0" }, "devDependencies": { "@wordpress/scripts": "^26.15.0", + "axios": "^1.5.1", + "classnames": "^2.3.2", "eslint-webpack-plugin": "^4.0.1", "npm-run-all": "^4.1.5", "postcss-import": "^15.1.0", @@ -40,4 +42,4 @@ "webpack-cli": "^5.1.4", "webpack-merge": "^5.10.0" } -} +} \ No newline at end of file diff --git a/src/sass/_block-list.scss b/src/sass/_block-list.scss index e251308..81e1b92 100644 --- a/src/sass/_block-list.scss +++ b/src/sass/_block-list.scss @@ -111,10 +111,10 @@ &.filtered { background-color: $grey_light; .icon { - opacity: 0.5; + opacity: 0.4; } p { - opacity: 0.65; + opacity: 0.7; } }