Changeset 2811130
- Timestamp:
- 11/03/2022 02:00:40 PM (3 years ago)
- Location:
- simple-tabs-block
- Files:
-
- 20 edited
- 1 copied
-
tags/1.3.0 (copied) (copied from simple-tabs-block/trunk)
-
tags/1.3.0/build/tab/block.json (modified) (1 diff)
-
tags/1.3.0/build/tabs/block.json (modified) (1 diff)
-
tags/1.3.0/build/tabs/index.asset.php (modified) (1 diff)
-
tags/1.3.0/build/tabs/index.css (modified) (1 diff)
-
tags/1.3.0/build/tabs/style-index.css (modified) (1 diff)
-
tags/1.3.0/build/tabs/view.asset.php (modified) (1 diff)
-
tags/1.3.0/build/tabs/view.js (modified) (1 diff)
-
tags/1.3.0/changelog.txt (modified) (1 diff)
-
tags/1.3.0/readme.txt (modified) (1 diff)
-
tags/1.3.0/simple-tabs-block.php (modified) (1 diff)
-
trunk/build/tab/block.json (modified) (1 diff)
-
trunk/build/tabs/block.json (modified) (1 diff)
-
trunk/build/tabs/index.asset.php (modified) (1 diff)
-
trunk/build/tabs/index.css (modified) (1 diff)
-
trunk/build/tabs/style-index.css (modified) (1 diff)
-
trunk/build/tabs/view.asset.php (modified) (1 diff)
-
trunk/build/tabs/view.js (modified) (1 diff)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/simple-tabs-block.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
simple-tabs-block/tags/1.3.0/build/tab/block.json
r2738796 r2811130 3 3 "apiVersion": 2, 4 4 "name": "cloudcatch/tab", 5 "version": "1. 2.1",5 "version": "1.3.0", 6 6 "title": "Tab", 7 7 "category": "design", -
simple-tabs-block/tags/1.3.0/build/tabs/block.json
r2738796 r2811130 3 3 "apiVersion": 2, 4 4 "name": "cloudcatch/tabs", 5 "version": "1. 2.1",5 "version": "1.3.0", 6 6 "title": "Tabs", 7 7 "category": "design", -
simple-tabs-block/tags/1.3.0/build/tabs/index.asset.php
r2738796 r2811130 1 <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => ' 4b534f78e13df5f2f5aa12d62768efa0');1 <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '85ff3de4c073b9930ac511e6cc039108'); -
simple-tabs-block/tags/1.3.0/build/tabs/index.css
r2738796 r2811130 1 .editor-styles-wrapper :root{--cloudcatch-tabs-row-gap:var(--wp--style--block-gap,2em);--cloudcatch-tabs-column-gap:var(--wp--style--block-gap,2em)}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper{align-items:normal;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;flex-direction:column;justify-content:normal;row-gap: var(--cloudcatch-tabs-row-gap)}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs{align-items:center;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;row-gap:var(--cloudcatch-tabs-row-gap)}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label{cursor:pointer;font-weight:inherit}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label.active{font-weight:700}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container{flex:1}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab{display:none;margin:0}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-right .wp-block-cloudcatch-tabs__tabs{justify-content:flex-end}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{justify-content:space-between}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-left .wp-block-cloudcatch-tabs__tabs{justify-content:flex-start}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-center .wp-block-cloudcatch-tabs__tabs{justify-content:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical{flex-direction:row}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__tabs{align-items:normal;flex-direction:column}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-right .wp-block-cloudcatch-tabs__tabs{align-items:flex-end}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{align-items:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-left .wp-block-cloudcatch-tabs__tabs{align-items:flex-start}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-center .wp-block-cloudcatch-tabs__tabs{align-items:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__container{flex-direction:column}.editor-styles-wrapper .wp-block-cloudcatch-tabs .wp-block-cloudcatch-tabs__tabs-wrapper{margin:0 0 3em}.editor-styles-wrapper .wp-block-cloudcatch-tabs .wp-block-cloudcatch-tabs__tabs .block-editor-button-block-appender{width:36px}1 .editor-styles-wrapper :root{--cloudcatch-tabs-row-gap:var(--wp--style--block-gap,2em);--cloudcatch-tabs-column-gap:var(--wp--style--block-gap,2em)}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper{align-items:normal;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;flex-direction:column;justify-content:normal;row-gap:0}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs{align-items:center;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;row-gap:var(--cloudcatch-tabs-row-gap)}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label{cursor:pointer;font-weight:inherit}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label.active{font-weight:700}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container{flex:1}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab{display:none;margin:0}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-right .wp-block-cloudcatch-tabs__tabs{justify-content:flex-end}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{justify-content:space-between}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-left .wp-block-cloudcatch-tabs__tabs{justify-content:flex-start}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-center .wp-block-cloudcatch-tabs__tabs{justify-content:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical{flex-direction:row}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__tabs{align-items:normal;flex-direction:column}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-right .wp-block-cloudcatch-tabs__tabs{align-items:flex-end}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{align-items:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-left .wp-block-cloudcatch-tabs__tabs{align-items:flex-start}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-center .wp-block-cloudcatch-tabs__tabs{align-items:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__container{flex-direction:column}.editor-styles-wrapper .wp-block-cloudcatch-tabs .wp-block-cloudcatch-tabs__tabs .block-editor-button-block-appender{width:36px} -
simple-tabs-block/tags/1.3.0/build/tabs/style-index.css
r2738796 r2811130 1 :root{--cloudcatch-tabs-row-gap:var(--wp--style--block-gap,2em);--cloudcatch-tabs-column-gap:var(--wp--style--block-gap,2em)}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper{align-items:normal;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;flex-direction:column;justify-content:normal;row-gap: var(--cloudcatch-tabs-row-gap)}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs{align-items:center;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;row-gap:var(--cloudcatch-tabs-row-gap)}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label{cursor:pointer;font-weight:inherit}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label.active{font-weight:700}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container{flex:1}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab{display:none;margin:0}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-right .wp-block-cloudcatch-tabs__tabs{justify-content:flex-end}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{justify-content:space-between}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-left .wp-block-cloudcatch-tabs__tabs{justify-content:flex-start}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-center .wp-block-cloudcatch-tabs__tabs{justify-content:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical{flex-direction:row}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__tabs{align-items:normal;flex-direction:column}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-right .wp-block-cloudcatch-tabs__tabs{align-items:flex-end}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{align-items:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-left .wp-block-cloudcatch-tabs__tabs{align-items:flex-start}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-center .wp-block-cloudcatch-tabs__tabs{align-items:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__container{flex-direction:column}1 :root{--cloudcatch-tabs-row-gap:var(--wp--style--block-gap,2em);--cloudcatch-tabs-column-gap:var(--wp--style--block-gap,2em)}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper{align-items:normal;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;flex-direction:column;justify-content:normal;row-gap:0}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs{align-items:center;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;row-gap:var(--cloudcatch-tabs-row-gap)}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label{cursor:pointer;font-weight:inherit}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label.active{font-weight:700}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container{flex:1}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab{display:none;margin:0}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-right .wp-block-cloudcatch-tabs__tabs{justify-content:flex-end}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{justify-content:space-between}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-left .wp-block-cloudcatch-tabs__tabs{justify-content:flex-start}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-center .wp-block-cloudcatch-tabs__tabs{justify-content:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical{flex-direction:row}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__tabs{align-items:normal;flex-direction:column}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-right .wp-block-cloudcatch-tabs__tabs{align-items:flex-end}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{align-items:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-left .wp-block-cloudcatch-tabs__tabs{align-items:flex-start}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-center .wp-block-cloudcatch-tabs__tabs{align-items:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__container{flex-direction:column} -
simple-tabs-block/tags/1.3.0/build/tabs/view.asset.php
r2722133 r2811130 1 <?php return array('dependencies' => array(), 'version' => ' d8c8a2e70c6f2ad76eb3c10d1fa58dda');1 <?php return array('dependencies' => array(), 'version' => '6689f175c67c7b65bd005eb5511c97fb'); -
simple-tabs-block/tags/1.3.0/build/tabs/view.js
r2722133 r2811130 1 document. querySelectorAll(".wp-block-cloudcatch-tabs").forEach((e=>{(e=>{const t=e.querySelector(".wp-block-cloudcatch-tabs__container"),c=e.querySelector(".wp-block-cloudcatch-tabs__tabs"),a=c.querySelectorAll('[role="tab"]'),o={37:-1,38:-1,39:1,40:1};let r=0;const s=e=>{t.querySelectorAll(":scope > *").forEach((e=>{e.style.display="none"})),a.forEach((e=>{e.classList.remove("active"),e.setAttribute("aria-selected","false")})),r=parseInt(e);const o=c.querySelector('[tabid="'+r+'"]');o.classList.add("active"),o.setAttribute("aria-selected","true"),t.querySelector('[tabid="'+r+'"]').style.display="block";const s=new Event("tabChanged");window.dispatchEvent(s)},i=e=>{var t=e.keyCode,s=!1;"vertical"==c.getAttribute("aria-orientation")?38!==t&&40!==t||(e.preventDefault(),s=!0):37!==t&&39!==t||(s=!0),s&&function(e){for(var t=e.keyCode,c=0;c<a.length;c++)a[c].addEventListener("focus",n);if(o[t]){var s=r+o[t];void 0!==a[s]?a[s].focus():37===t||38===t?a[a.length-1].focus():39!==t&&40!=t||a[0].focus()}}(e)};function n(e){var t=e.target;setTimeout(l,0,t)}function l(e){e===document.activeElement&&s(e.getAttribute("tabid"))}a.forEach((e=>{e.classList.contains("active")&&(r=e.getAttribute("tabid"))})),s(r),a.forEach((e=>{e.addEventListener("click",(t=>{s(e.getAttribute("tabid"))})),e.addEventListener("keydown",(e=>{switch(e.keyCode){case 38:case 40:i(e)}})),e.addEventListener("keyup",(e=>{switch(e.keyCode){case 37:case 39:i(e)}}))}))})(e)}));1 document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".wp-block-cloudcatch-tabs").forEach((e=>{(e=>{const t=e.querySelector(".wp-block-cloudcatch-tabs__container"),c=e.querySelector(".wp-block-cloudcatch-tabs__tabs"),a=c.querySelectorAll('[role="tab"]'),o={37:-1,38:-1,39:1,40:1};let r=0;const n=e=>{t.querySelectorAll(":scope > *").forEach((e=>{e.style.display="none"})),a.forEach((e=>{e.classList.remove("active"),e.setAttribute("aria-selected","false")})),r=parseInt(e);const o=c.querySelector('[tabid="'+r+'"]');o.classList.add("active"),o.setAttribute("aria-selected","true"),t.querySelector('[tabid="'+r+'"]').style.display="block";const n=new Event("tabChanged");window.dispatchEvent(n)},s=e=>{var t=e.keyCode,n=!1;"vertical"==c.getAttribute("aria-orientation")?38!==t&&40!==t||(e.preventDefault(),n=!0):37!==t&&39!==t||(n=!0),n&&function(e){for(var t=e.keyCode,c=0;c<a.length;c++)a[c].addEventListener("focus",i);if(o[t]){var n=r+o[t];void 0!==a[n]?a[n].focus():37===t||38===t?a[a.length-1].focus():39!==t&&40!=t||a[0].focus()}}(e)};function i(e){var t=e.target;setTimeout(d,0,t)}function d(e){e===document.activeElement&&n(e.getAttribute("tabid"))}a.forEach((e=>{e.classList.contains("active")&&(r=e.getAttribute("tabid"))})),n(r),a.forEach((e=>{e.addEventListener("click",(t=>{n(e.getAttribute("tabid"))})),e.addEventListener("keydown",(e=>{switch(e.keyCode){case 38:case 40:s(e)}})),e.addEventListener("keyup",(e=>{switch(e.keyCode){case 37:case 39:s(e)}}))}))})(e)}))})); -
simple-tabs-block/tags/1.3.0/changelog.txt
r2738796 r2811130 1 # [1.3.0](https://github.com/CloudCatch/simple-tabs-block/compare/1.2.1...1.3.0) (2022-11-03) 2 3 4 ### Bug Fixes 5 6 * compatibility with 6.1 ([c92d2b9](https://github.com/CloudCatch/simple-tabs-block/commit/c92d2b90daf6fb113c7a35107169d8d293d96d71)) 7 8 9 ### Features 10 11 * update block styles ([fa7deaa](https://github.com/CloudCatch/simple-tabs-block/commit/fa7deaae7c97d55cd4ec47a9ba10951cab00ed13)) 12 1 13 ## [1.2.1](https://github.com/CloudCatch/simple-tabs-block/compare/1.2.0...1.2.1) (2022-06-07) 2 14 -
simple-tabs-block/tags/1.3.0/readme.txt
r2738796 r2811130 1 1 === Simple Tabs Block === 2 2 Contributors: cloudcatch, dkjensen 3 Tags: tabs, block3 Tags: tabs, tab, block 4 4 Requires at least: 5.9 5 Tested up to: 6. 05 Tested up to: 6.1 6 6 Requires PHP: 7.0 7 Stable tag: 1. 2.17 Stable tag: 1.3.0 8 8 License: GPL-2.0-or-later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
simple-tabs-block/tags/1.3.0/simple-tabs-block.php
r2738796 r2811130 5 5 * Requires at least: 5.9 6 6 * Requires PHP: 7.0 7 * Version: 1. 2.17 * Version: 1.3.0 8 8 * Author: CloudCatch 9 9 * Author URI: https://cloudcatch.io -
simple-tabs-block/trunk/build/tab/block.json
r2738796 r2811130 3 3 "apiVersion": 2, 4 4 "name": "cloudcatch/tab", 5 "version": "1. 2.1",5 "version": "1.3.0", 6 6 "title": "Tab", 7 7 "category": "design", -
simple-tabs-block/trunk/build/tabs/block.json
r2738796 r2811130 3 3 "apiVersion": 2, 4 4 "name": "cloudcatch/tabs", 5 "version": "1. 2.1",5 "version": "1.3.0", 6 6 "title": "Tabs", 7 7 "category": "design", -
simple-tabs-block/trunk/build/tabs/index.asset.php
r2738796 r2811130 1 <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => ' 4b534f78e13df5f2f5aa12d62768efa0');1 <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '85ff3de4c073b9930ac511e6cc039108'); -
simple-tabs-block/trunk/build/tabs/index.css
r2738796 r2811130 1 .editor-styles-wrapper :root{--cloudcatch-tabs-row-gap:var(--wp--style--block-gap,2em);--cloudcatch-tabs-column-gap:var(--wp--style--block-gap,2em)}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper{align-items:normal;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;flex-direction:column;justify-content:normal;row-gap: var(--cloudcatch-tabs-row-gap)}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs{align-items:center;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;row-gap:var(--cloudcatch-tabs-row-gap)}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label{cursor:pointer;font-weight:inherit}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label.active{font-weight:700}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container{flex:1}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab{display:none;margin:0}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-right .wp-block-cloudcatch-tabs__tabs{justify-content:flex-end}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{justify-content:space-between}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-left .wp-block-cloudcatch-tabs__tabs{justify-content:flex-start}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-center .wp-block-cloudcatch-tabs__tabs{justify-content:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical{flex-direction:row}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__tabs{align-items:normal;flex-direction:column}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-right .wp-block-cloudcatch-tabs__tabs{align-items:flex-end}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{align-items:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-left .wp-block-cloudcatch-tabs__tabs{align-items:flex-start}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-center .wp-block-cloudcatch-tabs__tabs{align-items:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__container{flex-direction:column}.editor-styles-wrapper .wp-block-cloudcatch-tabs .wp-block-cloudcatch-tabs__tabs-wrapper{margin:0 0 3em}.editor-styles-wrapper .wp-block-cloudcatch-tabs .wp-block-cloudcatch-tabs__tabs .block-editor-button-block-appender{width:36px}1 .editor-styles-wrapper :root{--cloudcatch-tabs-row-gap:var(--wp--style--block-gap,2em);--cloudcatch-tabs-column-gap:var(--wp--style--block-gap,2em)}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper{align-items:normal;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;flex-direction:column;justify-content:normal;row-gap:0}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs{align-items:center;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;row-gap:var(--cloudcatch-tabs-row-gap)}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label{cursor:pointer;font-weight:inherit}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label.active{font-weight:700}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container{flex:1}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab{display:none;margin:0}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-right .wp-block-cloudcatch-tabs__tabs{justify-content:flex-end}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{justify-content:space-between}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-left .wp-block-cloudcatch-tabs__tabs{justify-content:flex-start}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-center .wp-block-cloudcatch-tabs__tabs{justify-content:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical{flex-direction:row}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__tabs{align-items:normal;flex-direction:column}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-right .wp-block-cloudcatch-tabs__tabs{align-items:flex-end}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{align-items:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-left .wp-block-cloudcatch-tabs__tabs{align-items:flex-start}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-center .wp-block-cloudcatch-tabs__tabs{align-items:center}.editor-styles-wrapper .wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__container{flex-direction:column}.editor-styles-wrapper .wp-block-cloudcatch-tabs .wp-block-cloudcatch-tabs__tabs .block-editor-button-block-appender{width:36px} -
simple-tabs-block/trunk/build/tabs/style-index.css
r2738796 r2811130 1 :root{--cloudcatch-tabs-row-gap:var(--wp--style--block-gap,2em);--cloudcatch-tabs-column-gap:var(--wp--style--block-gap,2em)}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper{align-items:normal;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;flex-direction:column;justify-content:normal;row-gap: var(--cloudcatch-tabs-row-gap)}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs{align-items:center;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;row-gap:var(--cloudcatch-tabs-row-gap)}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label{cursor:pointer;font-weight:inherit}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label.active{font-weight:700}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container{flex:1}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab{display:none;margin:0}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-right .wp-block-cloudcatch-tabs__tabs{justify-content:flex-end}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{justify-content:space-between}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-left .wp-block-cloudcatch-tabs__tabs{justify-content:flex-start}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-center .wp-block-cloudcatch-tabs__tabs{justify-content:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical{flex-direction:row}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__tabs{align-items:normal;flex-direction:column}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-right .wp-block-cloudcatch-tabs__tabs{align-items:flex-end}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{align-items:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-left .wp-block-cloudcatch-tabs__tabs{align-items:flex-start}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-center .wp-block-cloudcatch-tabs__tabs{align-items:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__container{flex-direction:column}1 :root{--cloudcatch-tabs-row-gap:var(--wp--style--block-gap,2em);--cloudcatch-tabs-column-gap:var(--wp--style--block-gap,2em)}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper{align-items:normal;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;flex-direction:column;justify-content:normal;row-gap:0}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs{align-items:center;-moz-column-gap:var(--cloudcatch-tabs-column-gap);column-gap:var(--cloudcatch-tabs-column-gap);display:flex;row-gap:var(--cloudcatch-tabs-row-gap)}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label{cursor:pointer;font-weight:inherit}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__tabs .wp-block-cloudcatch-tab__label.active{font-weight:700}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container{flex:1}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper .wp-block-cloudcatch-tabs__container .wp-block-cloudcatch-tab{display:none;margin:0}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-right .wp-block-cloudcatch-tabs__tabs{justify-content:flex-end}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{justify-content:space-between}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-left .wp-block-cloudcatch-tabs__tabs{justify-content:flex-start}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.items-justified-center .wp-block-cloudcatch-tabs__tabs{justify-content:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical{flex-direction:row}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__tabs{align-items:normal;flex-direction:column}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-right .wp-block-cloudcatch-tabs__tabs{align-items:flex-end}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-space-between .wp-block-cloudcatch-tabs__tabs{align-items:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-left .wp-block-cloudcatch-tabs__tabs{align-items:flex-start}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical.items-justified-center .wp-block-cloudcatch-tabs__tabs{align-items:center}.wp-block-cloudcatch-tabs.wp-block-cloudcatch-tabs__wrapper.is-vertical .wp-block-cloudcatch-tabs__container{flex-direction:column} -
simple-tabs-block/trunk/build/tabs/view.asset.php
r2722133 r2811130 1 <?php return array('dependencies' => array(), 'version' => ' d8c8a2e70c6f2ad76eb3c10d1fa58dda');1 <?php return array('dependencies' => array(), 'version' => '6689f175c67c7b65bd005eb5511c97fb'); -
simple-tabs-block/trunk/build/tabs/view.js
r2722133 r2811130 1 document. querySelectorAll(".wp-block-cloudcatch-tabs").forEach((e=>{(e=>{const t=e.querySelector(".wp-block-cloudcatch-tabs__container"),c=e.querySelector(".wp-block-cloudcatch-tabs__tabs"),a=c.querySelectorAll('[role="tab"]'),o={37:-1,38:-1,39:1,40:1};let r=0;const s=e=>{t.querySelectorAll(":scope > *").forEach((e=>{e.style.display="none"})),a.forEach((e=>{e.classList.remove("active"),e.setAttribute("aria-selected","false")})),r=parseInt(e);const o=c.querySelector('[tabid="'+r+'"]');o.classList.add("active"),o.setAttribute("aria-selected","true"),t.querySelector('[tabid="'+r+'"]').style.display="block";const s=new Event("tabChanged");window.dispatchEvent(s)},i=e=>{var t=e.keyCode,s=!1;"vertical"==c.getAttribute("aria-orientation")?38!==t&&40!==t||(e.preventDefault(),s=!0):37!==t&&39!==t||(s=!0),s&&function(e){for(var t=e.keyCode,c=0;c<a.length;c++)a[c].addEventListener("focus",n);if(o[t]){var s=r+o[t];void 0!==a[s]?a[s].focus():37===t||38===t?a[a.length-1].focus():39!==t&&40!=t||a[0].focus()}}(e)};function n(e){var t=e.target;setTimeout(l,0,t)}function l(e){e===document.activeElement&&s(e.getAttribute("tabid"))}a.forEach((e=>{e.classList.contains("active")&&(r=e.getAttribute("tabid"))})),s(r),a.forEach((e=>{e.addEventListener("click",(t=>{s(e.getAttribute("tabid"))})),e.addEventListener("keydown",(e=>{switch(e.keyCode){case 38:case 40:i(e)}})),e.addEventListener("keyup",(e=>{switch(e.keyCode){case 37:case 39:i(e)}}))}))})(e)}));1 document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".wp-block-cloudcatch-tabs").forEach((e=>{(e=>{const t=e.querySelector(".wp-block-cloudcatch-tabs__container"),c=e.querySelector(".wp-block-cloudcatch-tabs__tabs"),a=c.querySelectorAll('[role="tab"]'),o={37:-1,38:-1,39:1,40:1};let r=0;const n=e=>{t.querySelectorAll(":scope > *").forEach((e=>{e.style.display="none"})),a.forEach((e=>{e.classList.remove("active"),e.setAttribute("aria-selected","false")})),r=parseInt(e);const o=c.querySelector('[tabid="'+r+'"]');o.classList.add("active"),o.setAttribute("aria-selected","true"),t.querySelector('[tabid="'+r+'"]').style.display="block";const n=new Event("tabChanged");window.dispatchEvent(n)},s=e=>{var t=e.keyCode,n=!1;"vertical"==c.getAttribute("aria-orientation")?38!==t&&40!==t||(e.preventDefault(),n=!0):37!==t&&39!==t||(n=!0),n&&function(e){for(var t=e.keyCode,c=0;c<a.length;c++)a[c].addEventListener("focus",i);if(o[t]){var n=r+o[t];void 0!==a[n]?a[n].focus():37===t||38===t?a[a.length-1].focus():39!==t&&40!=t||a[0].focus()}}(e)};function i(e){var t=e.target;setTimeout(d,0,t)}function d(e){e===document.activeElement&&n(e.getAttribute("tabid"))}a.forEach((e=>{e.classList.contains("active")&&(r=e.getAttribute("tabid"))})),n(r),a.forEach((e=>{e.addEventListener("click",(t=>{n(e.getAttribute("tabid"))})),e.addEventListener("keydown",(e=>{switch(e.keyCode){case 38:case 40:s(e)}})),e.addEventListener("keyup",(e=>{switch(e.keyCode){case 37:case 39:s(e)}}))}))})(e)}))})); -
simple-tabs-block/trunk/changelog.txt
r2738796 r2811130 1 # [1.3.0](https://github.com/CloudCatch/simple-tabs-block/compare/1.2.1...1.3.0) (2022-11-03) 2 3 4 ### Bug Fixes 5 6 * compatibility with 6.1 ([c92d2b9](https://github.com/CloudCatch/simple-tabs-block/commit/c92d2b90daf6fb113c7a35107169d8d293d96d71)) 7 8 9 ### Features 10 11 * update block styles ([fa7deaa](https://github.com/CloudCatch/simple-tabs-block/commit/fa7deaae7c97d55cd4ec47a9ba10951cab00ed13)) 12 1 13 ## [1.2.1](https://github.com/CloudCatch/simple-tabs-block/compare/1.2.0...1.2.1) (2022-06-07) 2 14 -
simple-tabs-block/trunk/readme.txt
r2738796 r2811130 1 1 === Simple Tabs Block === 2 2 Contributors: cloudcatch, dkjensen 3 Tags: tabs, block3 Tags: tabs, tab, block 4 4 Requires at least: 5.9 5 Tested up to: 6. 05 Tested up to: 6.1 6 6 Requires PHP: 7.0 7 Stable tag: 1. 2.17 Stable tag: 1.3.0 8 8 License: GPL-2.0-or-later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
simple-tabs-block/trunk/simple-tabs-block.php
r2738796 r2811130 5 5 * Requires at least: 5.9 6 6 * Requires PHP: 7.0 7 * Version: 1. 2.17 * Version: 1.3.0 8 8 * Author: CloudCatch 9 9 * Author URI: https://cloudcatch.io
Note: See TracChangeset
for help on using the changeset viewer.