Skip to content

Commit

Permalink
build: update integration build
Browse files Browse the repository at this point in the history
  • Loading branch information
wtey-webmd committed Jun 6, 2024
1 parent c6a992e commit 27c2aae
Show file tree
Hide file tree
Showing 4 changed files with 338 additions and 291 deletions.
198 changes: 128 additions & 70 deletions integration_build/articleView.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Note: This file is auto-generated, see "gutenberg-blocks" repo */
[data-type="coliquio/cta"] {
clear: both; }

.wp-block-coliquio-cta {
background-color: var(--green-base);
border: 1px solid var(--green-base);
Expand All @@ -23,12 +26,17 @@
text-decoration: none; }
.wp-block-coliquio-cta--link {
background: none;
border: none;
color: var(--green-base); }
border: 1px solid var(--black-lighten-20);
color: var(--black-lighten-20); }
.wp-block-coliquio-cta--link:active, .wp-block-coliquio-cta--link:hover {
background: none;
border: none;
color: var(--green-darken-10); }
background: var(--black-lighten-70);
color: var(--black-lighten-20); }

.components-panel__body .components-base-control__field .components-radio-control__option {
display: flex; }

.components-panel__body .components-base-control__field .components-radio-control__input {
padding: 0; }
.wp-block-coliquio-accordion {
padding: 15px; }
.wp-block-coliquio-accordion .accordion-header {
Expand All @@ -40,26 +48,28 @@
padding: 5px; }
.accordion-component .accordion-component-header {
font-size: 26px; }
.block-editor-block-list__block .wp-block-coliquio-branding-box {
border: 1px solid #ccc;
border-radius: 4px;
margin: 15px 0;
min-height: 180px;
padding: 5px;
width: 100%; }
.block-editor-block-list__block .wp-block-coliquio-branding-box p.block-editor-block-list__block {
border: 1px solid #999;
border-radius: 4px; }
.block-editor-block-list__block .wp-block-coliquio-branding-box .wp-block-coliquio-image {
display: inline-block;
height: 2.5rem;
margin: 0;
max-height: 2.5rem;
padding: 0;
vertical-align: middle; }
.block-editor-block-list__block .wp-block-coliquio-branding-box .wp-block-coliquio-image img {
.block-editor-block-list__block[data-type="coliquio/branding-box"] {
clear: both; }
.block-editor-block-list__block[data-type="coliquio/branding-box"] .wp-block-coliquio-branding-box {
border: 1px solid #ccc;
border-radius: 4px;
margin: 15px 0;
min-height: 180px;
padding: 5px;
width: 100%; }
.block-editor-block-list__block[data-type="coliquio/branding-box"] .wp-block-coliquio-branding-box p.block-editor-block-list__block {
border: 1px solid #999;
border-radius: 4px; }
.block-editor-block-list__block[data-type="coliquio/branding-box"] .wp-block-coliquio-branding-box .wp-block-coliquio-image {
display: inline-block;
height: 2.5rem;
max-height: 2.5rem; }
margin: 0;
max-height: 2.5rem;
padding: 0;
vertical-align: middle; }
.block-editor-block-list__block[data-type="coliquio/branding-box"] .wp-block-coliquio-branding-box .wp-block-coliquio-image img {
height: 2.5rem;
max-height: 2.5rem; }

article .wp-block-coliquio-branding-box {
margin-bottom: 2rem;
Expand All @@ -86,6 +96,7 @@ article .wp-block-coliquio-branding-box {
.wp-block-coliquio-checklist[contenteditable] {
cursor: text; }
.wp-block-coliquio-checklist li {
display: flex;
list-style-type: none;
margin: 0 0 0.5rem 2rem;
position: relative; }
Expand Down Expand Up @@ -167,7 +178,6 @@ article summary {
width: 100%; }
.wp-block-coliquio-iframe.iframe, .wp-block-coliquio-iframe.iframe-survey {
border: 1px solid var(--black-lighten-40); }

.wp-block-coliquio-highlight {
margin: 15px 0; }
.wp-block-coliquio-highlight .title {
Expand All @@ -187,6 +197,7 @@ article summary {
color: var(--white-base); }
.wp-block-coliquio-highlight.card--secondary .content {
background-color: var(--blue-lighten-50); }

section.wp-block-coliquio-media-text {
display: flex;
flex-direction: row;
Expand Down Expand Up @@ -255,48 +266,6 @@ article h1.wp-block-coliquio-header {
margin-bottom: 0.25rem; }
article h1.wp-block-coliquio-header span.headline {
margin-bottom: 0; }
.block-editor-block-list__layout ol,
.block-editor-block-list__layout ul {
padding: 5px 0 0 40px; }
.block-editor-block-list__layout ol li,
.block-editor-block-list__layout ul li {
margin-bottom: 9px; }

.block-editor-block-list__layout ol.rich__list--enumerated,
.block-editor-block-list__layout ol.rich__list--enumerated ol {
counter-reset: item;
list-style-type: none;
padding: 5px 0 0 40px; }
.block-editor-block-list__layout ol.rich__list--enumerated > li,
.block-editor-block-list__layout ol.rich__list--enumerated ol > li {
counter-increment: item;
display: table;
margin-bottom: 0.6em; }
.block-editor-block-list__layout ol.rich__list--enumerated > li::before,
.block-editor-block-list__layout ol.rich__list--enumerated ol > li::before {
content: counters(item, ".") ". ";
display: table-cell;
padding-right: 0.6em; }
.block-editor-block-list__layout ol.rich__list--enumerated > li ol li,
.block-editor-block-list__layout ol.rich__list--enumerated ol > li ol li {
margin: 0; }
.block-editor-block-list__layout ol.rich__list--enumerated > li ol li::before,
.block-editor-block-list__layout ol.rich__list--enumerated ol > li ol li::before {
content: counters(item, ".") " "; }

.block-editor-block-list__layout ul.rich__list--checked {
list-style-type: none; }
.block-editor-block-list__layout ul.rich__list--checked li {
display: table; }
.block-editor-block-list__layout ul.rich__list--checked li::before {
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJFYmVuZV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDU2LjcgNTYuNyIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgNTYuNyA1Ni43IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cG9seWdvbiBmaWxsPSIjNjViMzJlIiBwb2ludHM9IjI0LjUsNDYuMyA2LjMsMjguMiAxMi40LDIyLjEgMzAsMzkuOCAgIi8+Cgk8cG9seWdvbiBmaWxsPSIjNjViMzJlIiBwb2ludHM9IjE5LDM5LjggNDQuNSwxMS4yIDUwLjgsMTYuOSAyNC41LDQ2LjQgICIvPgo8L2c+Cjwvc3ZnPg==);
background-position-x: center;
background-repeat: no-repeat;
content: "";
display: table-cell;
height: 16px;
padding-right: 0.6em;
width: 18px; }
.block-editor-block-list__layout .wp-block-coliquio-image {
margin: 15px 0; }
.block-editor-block-list__layout .wp-block-coliquio-image.align-left {
Expand Down Expand Up @@ -345,12 +314,18 @@ article h1.wp-block-coliquio-header {
box-shadow: none !important;
text-align: center; }

.block-editor-block-list__layout .custom-hidden {
display: none; }

.block-editor-block-list__layout .components-form-file-upload {
display: none; }

.block-editor-block-list__layout .wp-block[data-align="left"] > .wp-block-image {
margin-right: 2.5em; }

.block-editor-block-list__layout .wp-block[data-align="left"] {
clear: left; }

.block-editor-block-list__layout .wp-block[data-align="right"] {
clear: right; }

.block-editor-block-list__layout figure.wp-block-image.custom-size-extra-small {
width: 116px !important; }

Expand All @@ -377,6 +352,9 @@ article h1.wp-block-coliquio-header {
margin-left: 0;
margin-right: 196px; }

.components-panel__body .components-base-control .custom-hidden {
display: none !important; }

.block-editor-block-toolbar .media-replace-flow {
display: none !important; }

Expand Down Expand Up @@ -436,3 +414,83 @@ article .wp-block-image .alignright {
article .wp-block-image .alignleft {
display: block;
float: left; }
.wp-block-file {
background-color: var(--green-base);
border: 1px solid var(--green-base);
border-radius: 4px;
color: var(--white-base);
cursor: pointer;
display: inline-block;
font-size: 1.125rem;
font-weight: 400;
margin-bottom: 0.25rem;
outline: 0;
padding: 0.5rem 1rem;
text-align: center;
text-decoration: none;
vertical-align: middle;
cursor: text; }
.wp-block-file:active, .wp-block-file:hover {
background-color: var(--green-darken-10);
border: 1px solid var(--black-lighten-20);
color: var(--white-base);
text-decoration: none; }
.wp-block-file.is-style-link {
background: none;
border: 1px solid var(--black-lighten-20);
color: var(--black-lighten-20); }
.wp-block-file.is-style-link:active, .wp-block-file.is-style-link:hover {
background: var(--black-lighten-70);
color: var(--black-lighten-20); }
.wp-block-file .wp-block-file__copy-url-button,
.wp-block-file .wp-block-file__button-richtext-wrapper {
display: none; }
.block-editor-block-list__layout ol,
.block-editor-block-list__layout ul {
padding: 5px 0 0 40px; }
.block-editor-block-list__layout ol li,
.block-editor-block-list__layout ul li {
margin-bottom: 9px; }

.block-editor-block-list__layout ol.rich__list--enumerated,
.block-editor-block-list__layout ol.rich__list--enumerated ol {
counter-reset: item;
list-style-type: none;
padding: 5px 0 0 40px; }
.block-editor-block-list__layout ol.rich__list--enumerated > li,
.block-editor-block-list__layout ol.rich__list--enumerated ol > li {
counter-increment: item;
display: table;
margin-bottom: 0.6em; }
.block-editor-block-list__layout ol.rich__list--enumerated > li::before,
.block-editor-block-list__layout ol.rich__list--enumerated ol > li::before {
content: counters(item, ".") ". ";
display: table-cell;
padding-right: 0.6em; }
.block-editor-block-list__layout ol.rich__list--enumerated > li ol li,
.block-editor-block-list__layout ol.rich__list--enumerated ol > li ol li {
margin: 0; }
.block-editor-block-list__layout ol.rich__list--enumerated > li ol li::before,
.block-editor-block-list__layout ol.rich__list--enumerated ol > li ol li::before {
content: counters(item, ".") " "; }

.block-editor-block-list__layout ul.rich__list--checked {
list-style-type: none; }
.block-editor-block-list__layout ul.rich__list--checked li {
display: table; }
.block-editor-block-list__layout ul.rich__list--checked li::before {
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJFYmVuZV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDU2LjcgNTYuNyIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgNTYuNyA1Ni43IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cG9seWdvbiBmaWxsPSIjNjViMzJlIiBwb2ludHM9IjI0LjUsNDYuMyA2LjMsMjguMiAxMi40LDIyLjEgMzAsMzkuOCAgIi8+Cgk8cG9seWdvbiBmaWxsPSIjNjViMzJlIiBwb2ludHM9IjE5LDM5LjggNDQuNSwxMS4yIDUwLjgsMTYuOSAyNC41LDQ2LjQgICIvPgo8L2c+Cjwvc3ZnPg==);
background-position-x: center;
background-repeat: no-repeat;
content: "";
display: table-cell;
height: 16px;
padding-right: 0.6em;
width: 18px; }
.is-fullscreen-mode .ui-autocomplete {
z-index: 1000; }
/**
Use this for hover states
*/
.block-editor-block-list__block.wp-block[data-type="core/gallery"] {
clear: both; }
43 changes: 16 additions & 27 deletions integration_build/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion integration_build/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ return /******/ (function(modules) { // webpackBootstrap
/*! no static exports found */
/***/ (function(module, exports) {

eval("/**\n * Frontend script\n */\nconst gallery = document.getElementsByClassName('wp-block-coliquio-image-gallery');\nconst iFrame = document.getElementsByClassName('wp-block-coliquio-iframe');\n/**\n * Gallery Block\n */\n\nfunction onOpenGallery() {\n gallery[0].getElementsByClassName('image-gallery-overlay')[0].style.display = 'block';\n document.querySelectorAll('.btn-close-gallery').forEach(node => node.addEventListener('click', onCloseGallery));\n}\n\nfunction onCloseGallery() {\n gallery[0].getElementsByClassName('image-gallery-overlay')[0].style.display = 'none';\n document.querySelectorAll('.btn-close-gallery').forEach(node => node.removeEventListener('click', onCloseGallery));\n}\n\nif (gallery.length > 0) {\n gallery[0].getElementsByClassName('btn-open-gallery')[0].addEventListener('click', onOpenGallery);\n}\n/**\n * iFrame Block\n */\n\n\nif (iFrame.length > 0) {\n const iFrameNode = iFrame[0]; // Only run script if set to 'dynamic'\n\n if (iFrameNode.height === 0) {\n window.addEventListener('message', function (e) {\n const eventName = e.data[0];\n const height = e.data[1];\n\n switch (eventName) {\n case 'setHeight':\n // +2 to compensate for the border\n iFrameNode.height = height + 2;\n break;\n }\n }, false);\n }\n}\n\n//# sourceURL=webpack:///./src/scripts.js?");
eval("/**\n * Frontend script\n */\n\nconst gallery = document.getElementsByClassName('wp-block-coliquio-image-gallery');\nconst iFrame = document.getElementsByClassName('wp-block-coliquio-iframe');\n\n/**\n * Gallery Block\n */\nfunction onOpenGallery() {\n gallery[0].getElementsByClassName('image-gallery-overlay')[0].style.display = 'block';\n document.querySelectorAll('.btn-close-gallery').forEach(node => node.addEventListener('click', onCloseGallery));\n}\nfunction onCloseGallery() {\n gallery[0].getElementsByClassName('image-gallery-overlay')[0].style.display = 'none';\n document.querySelectorAll('.btn-close-gallery').forEach(node => node.removeEventListener('click', onCloseGallery));\n}\nif (gallery.length > 0) {\n gallery[0].getElementsByClassName('btn-open-gallery')[0].addEventListener('click', onOpenGallery);\n}\n\n/**\n * iFrame Block\n */\nif (iFrame.length > 0) {\n const iFrameNode = iFrame[0];\n\n // Only run script if set to 'dynamic'\n if (iFrameNode.height === 0) {\n window.addEventListener('message', function (e) {\n const eventName = e.data[0];\n const height = e.data[1];\n switch (eventName) {\n case 'setHeight':\n // +2 to compensate for the border\n iFrameNode.height = height + 2;\n break;\n }\n }, false);\n }\n}\n\n//# sourceURL=webpack:///./src/scripts.js?");

/***/ })

Expand Down
Loading

0 comments on commit 27c2aae

Please sign in to comment.