From 15cfdcc53a15e9ad1e0c7213c7a58ac6fbab5c9b Mon Sep 17 00:00:00 2001 From: Bjorn Harvold Date: Mon, 16 May 2022 14:16:37 +0700 Subject: [PATCH 1/2] style(ITW-8): :lipstick: added square brand icon --- includes/elements/js/ikoaccount.js | 2 +- includes/elements/js/ikocontent.js | 2 +- includes/elements/js/ikoitinerary.js | 2 +- includes/elements/js/ikoitineraryform.js | 2 +- includes/elements/js/ikolookup.js | 2 +- includes/elements/js/ikosearch.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/elements/js/ikoaccount.js b/includes/elements/js/ikoaccount.js index 404bb56..fcbb89c 100644 --- a/includes/elements/js/ikoaccount.js +++ b/includes/elements/js/ikoaccount.js @@ -6,7 +6,7 @@ function initIkoAccount() { const ikoTextControl = wp.components.TextControl; //WordPress form inputs and server-side renderer const ikoServerSideRender = wp.components.ServerSideRender; //WordPress form inputs and server-side renderer const blockName = 'ikoaccount'; - const iconEl = ikoCreateElement('img', { width: 100, src: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iNDAwLjAwMDAwMHB0IiBoZWlnaHQ9IjEzNS4wMDAwMDBwdCIgdmlld0JveD0iMCAwIDQwMC4wMDAwMDAgMTM1LjAwMDAwMCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsMTM1LjAwMDAwMCkgc2Nhb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M0Ni4zMSwxNi4wODQsNDQuODcxLDE0LjIyNiw0Mi44MzcsMTMuOTZ6Ii8+CgkJCgkJCTxsaW5lYXJHcmFkaWVudCBpZD0iU1ZHSURfOF8iIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iLTIxMi45OTYxIiB5MT0iMTAwMC4xMjA2IiB4Mj0iLTYyNy44NDc3IiB5Mj0iMjgxLjU3NjYiIGdyYWRpZW50VHJhbnNmb3JtPSJtYXRyaXgoMC45ODI0IC0wLjE4NjcgMC4xODY3IDAuOTgyNCAxNzguMzUyNSAtODYxLjc2ODMpIj4KCQkJPHN0b3AgIG9mZnNldD0iMC4xMjgxIiBzdHlsZT0ic3RvcC1jb2xvcjojRkZGRkZGIi8+CgkJCTxzdG9wICBvZmZzZXQ9IjAuMzAwNSIgc3R5bGU9InN0b3AtY29sb3I6I0ZGRkZGRjtzdG9wLW9wYWNpdHk6MC45Ii8+CgkJPC9saW5lYXJHcmFkaWVudD4KCQk8cGF0aCBmaWxsPSJ1cmwoI1NWR0lEXzhfKSIgZD0iTTc4LjU1Niw2NS40NzdjLTIuOTE2LDAtNS4zODQsMi40NjYtNS4zODQsNS40NThjMCwyLjk5MiwyLjQ2OCw1LjQ1OCw1LjM4NCw1LjQ1OAoJCQljMi45ODksMCw1LjUzMi0yLjQ2Niw1LjUzMi01LjQ1OEM4NC4wODgsNjcuOTQzLDgxLjU0NSw2NS40NzcsNzguNTU2LDY1LjQ3N3oiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'}); ikoRegisterBlockType( 'ikotravel-blocks/'+blockName, { title: iko__( 'iko.travel Account Button' ), // Block title. category: ikoTravelData.blockCat, //category diff --git a/includes/elements/js/ikocontent.js b/includes/elements/js/ikocontent.js index b4d296d..31c6338 100644 --- a/includes/elements/js/ikocontent.js +++ b/includes/elements/js/ikocontent.js @@ -7,7 +7,7 @@ function initIkoContent() { const ikoSelectControl = wp.components.SelectControl; //WordPress form inputs and server-side renderer const ikoServerSideRender = wp.components.ServerSideRender; //WordPress form inputs and server-side renderer const blockName = 'ikocontent'; - const iconEl = ikoCreateElement('img', { width: 100, src: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iNDAwLjAwMDAwMHB0IiBoZWlnaHQ9IjEzNS4wMDAwMDBwdCIgdmlld0JveD0iMCAwIDQwMC4wMDAwMDAgMTM1LjAwMDAwMCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsMTM1LjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIKZmlsbD0iIzAwMDAwMCIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTYyMCAxMzM3IGMtMzcgLTE5IC01MiAtNTcgLTM5IC05NiAxOSAtNTUgODggLTcwIDEyNyAtMjggMzcgMzkgMjgKOTggLTE5IDEyMiAtMzQgMTggLTM3IDE4IC02OSAyeiIvPgo8cGF0aCBkPSJNMjU3IDEyNDIgYy0yMiAtMjUgLTIxIC03NSAxIC05NSA0MyAtMzkgMTEyIC04IDExMiA1MCAwIDUzIC03OCA4NAotMTEzIDQ1eiIvPgo8cGF0aCBkPSJNOTYyIDEyMzQgYy02NiAtNDYgLTM2IC0xNDMgNDMgLTE0NCA2NSAwIDEwMSA2MCA3MSAxMTggLTIzIDQ1IC03Mgo1NiAtMTE0IDI2eiIvPgo8cGF0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tY29sb3I6I0ZGRkZGRjtzdG9wLW9wYWNpdHk6MC45Ii8+CgkJPC9saW5lYXJHcmFkaWVudD4KCQk8cGF0aCBmaWxsPSJ1cmwoI1NWR0lEXzhfKSIgZD0iTTc4LjU1Niw2NS40NzdjLTIuOTE2LDAtNS4zODQsMi40NjYtNS4zODQsNS40NThjMCwyLjk5MiwyLjQ2OCw1LjQ1OCw1LjM4NCw1LjQ1OAoJCQljMi45ODksMCw1LjUzMi0yLjQ2Niw1LjUzMi01LjQ1OEM4NC4wODgsNjcuOTQzLDgxLjU0NSw2NS40NzcsNzguNTU2LDY1LjQ3N3oiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'}); var layoutData = [{ layout: 'ADD_ON_CARD', // now you know which “layout” to use for iko-content-loader id: '7d9189da-1a17-4632-a882-ac94b85be49d', // the identifier to inject into the web component diff --git a/includes/elements/js/ikoitinerary.js b/includes/elements/js/ikoitinerary.js index cc21060..d2340a4 100644 --- a/includes/elements/js/ikoitinerary.js +++ b/includes/elements/js/ikoitinerary.js @@ -6,7 +6,7 @@ function initIkoItinerary() { const ikoTextControl = wp.components.TextControl; //WordPress form inputs and server-side renderer const ikoServerSideRender = wp.components.ServerSideRender; //WordPress form inputs and server-side renderer const blockName = 'ikoitinerary'; - const iconEl = ikoCreateElement('img', { width: 100, src: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iNDAwLjAwMDAwMHB0IiBoZWlnaHQ9IjEzNS4wMDAwMDBwdCIgdm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blockCat, //category diff --git a/includes/elements/js/ikoitineraryform.js b/includes/elements/js/ikoitineraryform.js index 699ed23..5512f0b 100644 --- a/includes/elements/js/ikoitineraryform.js +++ b/includes/elements/js/ikoitineraryform.js @@ -6,7 +6,7 @@ function initIkoItinerary() { const ikoTextControl = wp.components.TextControl; //WordPress form inputs and server-side renderer const ikoServerSideRender = wp.components.ServerSideRender; //WordPress form inputs and server-side renderer const blockName = 'ikoitineraryform'; - const iconEl = ikoCreateElement('img', { width: 100, src: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iNDAwLjAwMDAwMHB0IiBoZWlnaHQ9IjEzNS4wMDAwMDBwdCIgdmlld0JveD0iMCAwIDQwMC4wMDAwMDAgMTM1LjAwMDAwMCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsMTM1LjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIKZmlsbD0iIzAwMDAwMCIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTYyMCAxMzM3IGMtMzcgLTE5IC01MiAtNTcgLTM5IC05NiAxOSAtNTUgODggLTcwIDEyNyAtMjggMzcgMzkgMjgKOTggLTE5IDEyMiAtMzQgMTggLTM3IDE4IC02OSAyeiIvPgo8cGF0aCBkPSJNMjU3IDEyNDIgYy0yMiAtMjUgLTIxIC03NSAxIC05NSA0My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0IC0wLjE4NjcgMC4xODY3IDAuOTgyNCAxNzguMzUyNSAtODYxLjc2ODMpIj4KCQkJPHN0b3AgIG9mZnNldD0iMC4xMjgxIiBzdHlsZT0ic3RvcC1jb2xvcjojRkZGRkZGIi8+CgkJCTxzdG9wICBvZmZzZXQ9IjAuMzAwNSIgc3R5bGU9InN0b3AtY29sb3I6I0ZGRkZGRjtzdG9wLW9wYWNpdHk6MC45Ii8+CgkJPC9saW5lYXJHcmFkaWVudD4KCQk8cGF0aCBmaWxsPSJ1cmwoI1NWR0lEXzhfKSIgZD0iTTc4LjU1Niw2NS40NzdjLTIuOTE2LDAtNS4zODQsMi40NjYtNS4zODQsNS40NThjMCwyLjk5MiwyLjQ2OCw1LjQ1OCw1LjM4NCw1LjQ1OAoJCQljMi45ODksMCw1LjUzMi0yLjQ2Niw1LjUzMi01LjQ1OEM4NC4wODgsNjcuOTQzLDgxLjU0NSw2NS40NzcsNzguNTU2LDY1LjQ3N3oiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'}); ikoRegisterBlockType( 'ikotravel-blocks/'+blockName, { title: iko__( 'iko.travel Itinerary Form' ), // Block title. category: ikoTravelData.blockCat, //category diff --git a/includes/elements/js/ikolookup.js b/includes/elements/js/ikolookup.js index 56afc94..864801b 100644 --- a/includes/elements/js/ikolookup.js +++ b/includes/elements/js/ikolookup.js @@ -6,7 +6,7 @@ function initIkoLookup() { const ikoTextControl = wp.components.TextControl; //WordPress form inputs and server-side renderer const ikoServerSideRender = wp.components.ServerSideRender; //WordPress form inputs and server-side renderer const blockName = 'ikolookup'; - const iconEl = ikoCreateElement('img', { width: 100, src: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwM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EM4NC4wODgsNjcuOTQzLDgxLjU0NSw2NS40NzcsNzguNTU2LDY1LjQ3N3oiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'}); ikoRegisterBlockType( 'ikotravel-blocks/'+blockName, { title: iko__( 'iko.travel Lookup' ), // Block title. category: ikoTravelData.blockCat, //category diff --git a/includes/elements/js/ikosearch.js b/includes/elements/js/ikosearch.js index a21eb6c..7bc836c 100644 --- a/includes/elements/js/ikosearch.js +++ b/includes/elements/js/ikosearch.js @@ -6,7 +6,7 @@ function initIkoSearch() { const ikoTextControl = wp.components.TextControl; //WordPress form inputs and server-side renderer const ikoServerSideRender = wp.components.ServerSideRender; //WordPress form inputs and server-side renderer const blockName = 'ikosearch'; - const iconEl = ikoCreateElement('img', { width: 100, src: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iNDAwLjAwMDAwMHB0IiBoZWlnaHQ9IjEzNS4wMDAwMDBwdCIgdmlld0JveD0iMCAwIDQwMC4wMDAwMDAgMTM1LjAwMDAwMCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsMTM1LjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIKZmlsbD0iIzAwMDAwMCIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTYyMCAxMzM3IGMtMzcgLTE5IC01MiAtNTcgLTM5IC05Ni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InVzZXJTcGFjZU9uVXNlIiB4MT0iLTIxMi45OTYxIiB5MT0iMTAwMC4xMjA2IiB4Mj0iLTYyNy44NDc3IiB5Mj0iMjgxLjU3NjYiIGdyYWRpZW50VHJhbnNmb3JtPSJtYXRyaXgoMC45ODI0IC0wLjE4NjcgMC4xODY3IDAuOTgyNCAxNzguMzUyNSAtODYxLjc2ODMpIj4KCQkJPHN0b3AgIG9mZnNldD0iMC4xMjgxIiBzdHlsZT0ic3RvcC1jb2xvcjojRkZGRkZGIi8+CgkJCTxzdG9wICBvZmZzZXQ9IjAuMzAwNSIgc3R5bGU9InN0b3AtY29sb3I6I0ZGRkZGRjtzdG9wLW9wYWNpdHk6MC45Ii8+CgkJPC9saW5lYXJHcmFkaWVudD4KCQk8cGF0aCBmaWxsPSJ1cmwoI1NWR0lEXzhfKSIgZD0iTTc4LjU1Niw2NS40NzdjLTIuOTE2LDAtNS4zODQsMi40NjYtNS4zODQsNS40NThjMCwyLjk5MiwyLjQ2OCw1LjQ1OCw1LjM4NCw1LjQ1OAoJCQljMi45ODksMCw1LjUzMi0yLjQ2Niw1LjUzMi01LjQ1OEM4NC4wODgsNjcuOTQzLDgxLjU0NSw2NS40NzcsNzguNTU2LDY1LjQ3N3oiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'}); ikoRegisterBlockType( 'ikotravel-blocks/'+blockName, { title: iko__( 'iko.travel Search Button' ), // Block title. category: ikoTravelData.blockCat, //category From 42ecba05dfe2a33b83dcd3863e016a1e5635f80a Mon Sep 17 00:00:00 2001 From: Bjorn Harvold Date: Mon, 16 May 2022 14:16:57 +0700 Subject: [PATCH 2/2] build: bookmark: merge to master Version bump to v1.2.12 registered Ops: crash --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdcc6eb..af75c0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ All notable changes to this project will be documented in this file. +## [1.2.12] - 2022-05-16 + +### Bug Fixes + +- :bug: fixed local development + +### Styling + +- :lipstick: added square brand icon + +### Build + +- Bookmark: merge to master +- Bookmark: merge to master +- :construction_worker: bumped version number correctly + ## [1.2.11] - 2022-05-16 ### Bug Fixes